.qoqai-chat-launcher{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:30;display:inline-flex;align-items:center;gap:10px;padding:15px 21px;min-height:50px;border:1px solid #ffffff60;border-radius:99px;background:linear-gradient(125deg,#4c56d2,#7654c4);box-shadow:0 9px 32px #4941a733;color:#fff;font-size:14px;font-weight:600;letter-spacing:-.02em;transition:transform .2s,box-shadow .2s}.qoqai-chat-launcher>span{font-size:23px;line-height:1}.qoqai-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 12px 36px #4941a747}
.qoqai-chat-panel{position:fixed;inset:auto 24px 24px auto;margin:0;padding:0;width:430px;max-width:calc(100vw - 32px);height:min(760px,calc(100vh - 48px));height:min(760px,calc(100dvh - 48px));max-height:none;border:1px solid #ffffffb3;border-radius:25px;overflow:hidden;background:#fbfbfe;color:#222330;box-shadow:0 28px 100px #22204f38;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}.qoqai-chat-panel[open]{display:flex;flex-direction:column}.qoqai-chat-panel:not([open]){display:none}.qoqai-chat-panel::backdrop{background:#14132c38;backdrop-filter:blur(3px)}body.qoqai-chat-open{overflow:hidden}.qoqai-chat-panel button:focus-visible,.qoqai-chat-panel textarea:focus-visible,.qoqai-chat-panel summary:focus-visible{outline:3px solid #6455d9;outline-offset:3px}.qoqai-chat-panel button:disabled{cursor:default;opacity:.48}
.qoqai-chat-header{display:flex;align-items:center;gap:10px;flex:none;padding:12px 18px;background:linear-gradient(120deg,#ffffffed,#efecfbed);border-bottom:1px solid #e4e1ef}.qoqai-chat-header>img{width:48px;height:32px;object-fit:contain}.qoqai-chat-header>div{flex:1;min-width:0}.qoqai-chat-header h2{font-size:18px;line-height:1.2;letter-spacing:-.035em;font-weight:650}.qoqai-chat-header p{font-size:12px;line-height:1.4;color:#655f75;margin-top:3px;max-width:250px}.qoqai-chat-icon-button{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;font-size:26px;font-weight:300;line-height:1;background:#ffffff9c;color:#6b667d}.qoqai-chat-icon-button:hover{background:#e8e4f5}.qoqai-chat-toolbar{display:flex;align-items:center;gap:14px;flex:none;padding:3px 21px;border-bottom:1px solid #eeecf4;background:#ffffff96}.qoqai-chat-toolbar button{background:none;padding:5px 0;min-height:32px;font-size:12px;color:#645b96}.qoqai-chat-toolbar button:hover{text-decoration:underline;text-underline-offset:3px}.qoqai-chat-toolbar>span{margin-left:auto;font-size:12px;color:#6e687e;white-space:nowrap}
.qoqai-chat-connection{flex:none;display:flex;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid #e3ddec;background:#f0edf7;color:#62556f;font-size:12px;line-height:1.5}.qoqai-chat-connection p{flex:1;min-width:0}.qoqai-chat-connection button{flex:none;padding:8px 3px;background:none;color:#6151aa;text-decoration:underline;text-underline-offset:3px;font-size:12px;white-space:nowrap}.qoqai-chat-connection[hidden]{display:none}
.qoqai-chat-scroll{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:22px 21px;scrollbar-width:thin;scrollbar-color:#d7d2e7 transparent}.qoqai-chat-welcome{padding:3px 0 2px}.qoqai-chat-kicker{font-size:12px;letter-spacing:.07em;font-weight:600;color:#79679f;margin-bottom:13px}.qoqai-chat-welcome h3{font-size:30px;letter-spacing:-.045em;line-height:1.05;color:#38304f}.qoqai-chat-welcome>p:not(.qoqai-chat-kicker){font-size:13px;color:#6b637c;line-height:1.6;margin-top:12px}.qoqai-chat-starters{display:grid;gap:9px;margin-top:19px}.qoqai-chat-starters button{display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:left;width:100%;border:1px solid #e4dff1;border-radius:12px;padding:12px 13px;background:#fff;color:#6b5a96;font-size:13px;line-height:1.4;min-height:43px}.qoqai-chat-starters button:hover:not(:disabled){background:#f0ebfc;border-color:#d5caed}.qoqai-chat-starters span{font-size:15px;color:#8f72ba}
.qoqai-chat-log{display:flex;flex-direction:column;gap:17px}.qoqai-chat-message{max-width:94%;align-self:flex-start;min-width:0}.qoqai-chat-message.is-user{align-self:flex-end}.qoqai-chat-message>p:first-child{font-size:12px;color:#756b81;margin:0 3px 5px}.qoqai-chat-message.is-user>p:first-child{text-align:right}.qoqai-chat-message-body{font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;padding:13px 15px;border:1px solid #e6e1ef;border-radius:15px 15px 15px 5px;background:white;color:#494258}.is-user .qoqai-chat-message-body{border-color:#ddd3f5;border-radius:15px 15px 5px 15px;background:linear-gradient(120deg,#ece6fa,#e8eafa);color:#514571}.qoqai-chat-status{font-size:12px;line-height:1.55;color:#72637d;margin-top:15px;white-space:pre-wrap;overflow-wrap:anywhere}.qoqai-chat-status:empty{display:none}.qoqai-chat-status.is-error{padding:12px 13px;border-radius:10px;background:#fff1f4;color:#8f455e}.qoqai-chat-error-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.qoqai-chat-error-actions button{font-size:12px;padding:9px 12px;border-radius:9px;background:#eee8fa;color:#66508e}.qoqai-chat-error-actions button:last-child{background:transparent}
.qoqai-chat-bottom{flex:none;max-height:55%;overflow:auto;padding:10px 18px 12px;border-top:1px solid #e6e1ef;background:linear-gradient(180deg,#ffffffef,#f8f6fdf5)}.qoqai-chat-caution{font-size:12px;line-height:1.5;color:#71637d;margin-bottom:8px}.qoqai-chat-panel fieldset{border:0;min-width:0;padding:0;margin:0;display:flex;align-items:flex-end;gap:9px}.qoqai-chat-panel textarea{min-width:0;flex:1;min-height:58px;max-height:100px;resize:vertical;padding:9px 12px;border:1px solid #d9d2e8;border-radius:13px;background:#fff;color:#3f354e;font:inherit;font-size:14px;line-height:1.4}.qoqai-chat-panel textarea::placeholder{color:#7c708a}.qoqai-chat-panel textarea:disabled{background:#f4f1f8}.qoqai-chat-panel button[type=submit]{flex:none;display:flex;align-items:center;gap:6px;justify-content:center;height:44px;padding:0 15px;border-radius:13px;background:linear-gradient(135deg,#6156ce,#8656ad);color:white;font-size:12px;font-weight:550}.qoqai-chat-panel button[type=submit] span{font-size:17px}.qoqai-chat-input-help{display:flex;justify-content:space-between;gap:8px;font-size:12px;line-height:1.4;color:#766a83;margin-top:5px}.qoqai-chat-input-help>span:last-child{flex:none}.qoqai-chat-footer-actions{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:8px 12px;margin-top:8px}.qoqai-chat-privacy{font-size:12px;line-height:1.5;color:#6c5d79}.qoqai-chat-privacy summary{cursor:pointer;padding:9px 0;color:#64558a;white-space:nowrap}.qoqai-chat-privacy summary:hover{text-decoration:underline;text-underline-offset:3px}.qoqai-chat-privacy[open]{grid-column:1/-1}.qoqai-chat-privacy-copy{padding:0 0 4px;overflow-wrap:anywhere}.qoqai-chat-privacy-copy p+p{margin-top:8px}.qoqai-chat-handoff{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;padding:9px 12px;min-height:38px;border:1px solid #dcd4eb;border-radius:12px;background:#f1ecf8;color:#695282;font-size:12px;font-weight:550}.qoqai-chat-privacy[open]+.qoqai-chat-handoff{grid-column:1/-1}.qoqai-chat-handoff:hover{background:#e8e0f3}.qoqai-chat-review-note{font-size:12px;line-height:1.5;color:#776a84;text-align:center;margin-top:5px}.qoqai-chat-handoff-notice{padding:14px 16px;background:#eeebfa;color:#655781;border-radius:12px;font-size:13px;line-height:1.55;margin-bottom:22px;overflow-wrap:anywhere}
@media(max-width:600px){.qoqai-chat-launcher{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));padding:13px 18px;font-size:13px;min-height:48px}.qoqai-chat-panel{inset:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;border:0;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.qoqai-chat-header{padding:11px 16px}.qoqai-chat-scroll{padding:20px 18px}.qoqai-chat-toolbar{padding-inline:18px}.qoqai-chat-connection{padding-inline:16px}.qoqai-chat-bottom{padding:10px 16px 12px}.qoqai-chat-panel textarea{font-size:16px;min-height:62px}.qoqai-chat-input-help>span:first-child{max-width:225px}.qoqai-chat-icon-button{width:44px;height:44px}.qoqai-chat-handoff{min-height:40px}}
@media(max-width:380px){.qoqai-chat-header{gap:8px}.qoqai-chat-header>img{width:40px}.qoqai-chat-header p{max-width:210px}.qoqai-chat-toolbar{gap:12px}.qoqai-chat-input-help>span:first-child{font-size:12px;max-width:180px}.qoqai-chat-footer-actions{gap:8px}.qoqai-chat-handoff{padding-inline:8px}}
@media(max-height:650px){.qoqai-chat-panel{inset:8px 16px 8px auto;height:calc(100vh - 16px);height:calc(100dvh - 16px)}.qoqai-chat-header{padding-block:8px}.qoqai-chat-bottom{padding-top:8px;padding-bottom:8px}.qoqai-chat-caution{margin-bottom:6px}.qoqai-chat-scroll{padding-top:15px;padding-bottom:15px}.qoqai-chat-review-note{display:none}}
@media(max-width:600px) and (max-height:650px){.qoqai-chat-panel{inset:0;height:100vh;height:100dvh}.qoqai-chat-header p{display:none}.qoqai-chat-header>img{width:39px;height:26px}.qoqai-chat-toolbar{padding-block:1px}.qoqai-chat-panel textarea{min-height:48px}.qoqai-chat-input-help>span:first-child{display:none}.qoqai-chat-input-help{justify-content:flex-end}}
@media(max-height:500px){.qoqai-chat-panel{overflow-y:auto}.qoqai-chat-scroll{flex:1 0 160px;min-height:160px}.qoqai-chat-bottom{max-height:none;overflow:visible}.qoqai-chat-header p{display:none}}
@media(prefers-reduced-motion:reduce){.qoqai-chat-launcher{transition:none}.qoqai-chat-launcher:hover{transform:none}}

/* Match the midnight / lime website identity. */
.qoqai-chat-launcher,.qoqai-chat-panel button[type=submit]{background:#c4ff48;color:#142006;box-shadow:0 8px 35px #a5ee3520;border-color:#d5ff85}.qoqai-chat-panel{background:#0c1108;color:#edf4e6;border-color:#425331}.qoqai-chat-header,.qoqai-chat-toolbar,.qoqai-chat-bottom{background:#151d0f;border-color:#354329}.qoqai-chat-panel h2,.qoqai-chat-welcome h3,.qoqai-chat-kicker{color:#c4ff48}.qoqai-chat-header p,.qoqai-chat-toolbar>span,.qoqai-chat-welcome>p:not(.qoqai-chat-kicker),.qoqai-chat-message>p:first-child,.qoqai-chat-caution,.qoqai-chat-input-help,.qoqai-chat-privacy,.qoqai-chat-review-note,.qoqai-chat-status{color:#b1bfa4}.qoqai-chat-toolbar button,.qoqai-chat-privacy summary,.qoqai-chat-starters span{color:#c4ff48}.qoqai-chat-icon-button,.qoqai-chat-starters button,.qoqai-chat-message-body,.qoqai-chat-panel textarea,.qoqai-chat-panel textarea:disabled{background:#11190b;color:#e1edcf;border-color:#41532e}.qoqai-chat-starters button:hover:not(:disabled),.qoqai-chat-icon-button:hover{background:#243719;border-color:#c4ff48}.is-user .qoqai-chat-message-body,.qoqai-chat-handoff,.qoqai-chat-handoff:hover,.qoqai-chat-handoff-notice,.qoqai-chat-error-actions button,.qoqai-chat-connection{background:#263b16;color:#d8f2b6;border-color:#4c6531}.qoqai-chat-connection button{color:#c4ff48}.qoqai-chat-status.is-error{background:#361a1c;color:#ffb7bd}.qoqai-chat-panel textarea::placeholder{color:#9ba88c}.qoqai-chat-header>img{background:#fafbf7;border-radius:6px}.qoqai-chat-panel::backdrop{background:#0009}.qoqai-chat-scroll{scrollbar-color:#567c31 transparent}

@media(max-width:600px){.qoqai-chat-launcher{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));padding:12px;max-width:50vw;font-size:12px}}

.qoqai-chat-saving{font-size:11px;line-height:1.5;color:#b1bfa4;margin:9px 0 12px}.qoqai-chat-saving label{display:flex;gap:9px;align-items:flex-start;cursor:pointer}.qoqai-chat-saving input{width:15px;height:15px;min-width:15px;margin:2px 0 0;accent-color:#c4ff48}.qoqai-chat-saving p{margin:5px 0}.qoqai-chat-saving a{color:#c4ff48}.qoqai-chat-saving label:has(input:disabled){cursor:default;opacity:.75}
