.elsapia-chat{position:fixed;inset:auto 22px 22px auto;margin:0;padding:0;width:min(470px,calc(100vw - 44px));height:min(770px,calc(100dvh - 44px));max-height:none;max-width:none;border:1px solid #8f355f;border-radius:22px;background:#100c11;color:#f6f4f5;box-shadow:0 22px 90px #000b;overflow:hidden}
.elsapia-chat::backdrop{background:#0008;backdrop-filter:blur(3px)}
.chat-shell{height:100%;display:flex;flex-direction:column;min-height:0}.chat-header{display:flex;align-items:center;gap:13px;padding:22px 22px 18px;border-bottom:1px solid #502139;background:linear-gradient(115deg,#29121f,#100c11)}.chat-header h2{font-size:22px;letter-spacing:-.7px;line-height:1.2;margin:0}.chat-header h2 span{color:#ff67a6}.chat-header p{font-size:14px;color:#d8c4ce;margin:5px 0 0}.chat-mark{color:#ff398a;font-size:36px}.chat-close{margin-left:auto;border:0;background:transparent;font-size:31px;width:40px;height:40px;line-height:1;border-radius:50%}.chat-close:hover{background:#ffffff12}
.chat-scroll{padding:22px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:80px;scrollbar-color:#714057 #100c11}.chat-disclosure{color:#bdb0b8;font-size:13px;line-height:1.5;margin-bottom:22px}.chat-message{max-width:94%;margin:0 0 18px}.chat-message>span{display:block;font-size:11px;letter-spacing:1.3px;color:#e19ab9;margin-bottom:8px}.chat-message p{margin:0;padding:15px 17px;border:1px solid #3f2b38;border-radius:4px 16px 16px;background:#1a141c;font-size:16px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message[data-role=user]{margin-left:auto}.chat-message[data-role=user]>span{text-align:right;color:#cdb9c4}.chat-message[data-role=user] p{background:#3c172c;border-color:#753252;border-radius:16px 4px 16px 16px}.chat-suggestions{display:flex;flex-wrap:wrap;gap:9px}.chat-suggestions button{background:transparent;color:#ffd5e7;border:1px solid #793450;border-radius:22px;padding:10px 13px;text-align:left;font-size:14px;line-height:1.25}.chat-suggestions button:hover{background:#361827}.chat-suggestions[hidden],.elsapia-chat [hidden]{display:none!important}
.chat-bottom{padding:16px 22px 20px;border-top:1px solid #382331;flex-shrink:0}.chat-compose{display:flex;align-items:center;border:1px solid #725063;border-radius:13px;padding:6px;background:#080608;gap:5px}.chat-compose:focus-within{border-color:#ff67a6}.chat-compose textarea{background:transparent;color:white;border:0;resize:none;min-width:0;flex:1;padding:9px;font-size:16px;line-height:1.4;max-height:110px}.chat-compose textarea:focus-visible{outline:none}.chat-compose textarea::placeholder{color:#b1a3ad}.chat-compose button{border:0;border-radius:9px;padding:12px 10px;background:#ff398a;color:#14060d;font-weight:700;font-size:14px}.elsapia-chat button:disabled{opacity:.45;cursor:default}.chat-privacy{font-size:12px;line-height:1.45;color:#b9abb4;margin:11px 0 14px}.chat-links{display:flex;gap:18px;align-items:center;font-size:13px;flex-wrap:wrap}.chat-links a{text-decoration:underline;text-underline-offset:4px}.chat-reset{border:0;padding:0;background:none;color:#c5b4bf;margin-left:auto;font-size:12px;text-decoration:underline;text-underline-offset:4px}.chat-state{font-size:14px;line-height:1.5;color:#f5b3d0;margin:8px 0 14px}.chat-retry{padding:10px 14px;background:#311525;border:1px solid #83415f;border-radius:9px;font-size:14px}.chat-handoff{width:100%;padding:12px 15px;border:1px solid #ff398a;background:#321226;color:#ffdce9;border-radius:10px;font-weight:700;margin-bottom:12px;font-size:15px}
body:has(.elsapia-chat[open]){overflow:hidden}
@media(max-width:520px){.elsapia-chat{inset:0;width:100%;height:100dvh;border:0;border-radius:0}.chat-header{padding:16px 17px}.chat-scroll{padding:19px 17px}.chat-bottom{padding:13px 17px max(14px,env(safe-area-inset-bottom))}.chat-header h2{font-size:21px}.chat-links{gap:14px}.chat-privacy{margin-bottom:12px}}
@media(max-height:560px){.chat-header{padding:10px 16px}.chat-scroll{padding:12px 16px}.chat-bottom{padding:10px 16px}.chat-privacy{margin:6px 0}.chat-disclosure{margin-bottom:12px}.chat-mark{font-size:25px}.chat-header p{display:none}}
