.nxo-chat-shell{position:fixed;inset:0;z-index:500;opacity:0;visibility:hidden;pointer-events:none;transition:.22s;background:#080a13}.nxo-chat-shell.is-open{opacity:1;visibility:visible;pointer-events:auto}.nxo-chat-panel{height:100dvh;width:100%;display:grid;grid-template-rows:auto 1fr auto;background:#080a13;color:#f6f7fb}.nxo-chat-header{min-height:76px;display:flex;align-items:center;justify-content:space-between;padding:10px max(18px,calc((100vw - 1000px)/2));border-bottom:1px solid rgba(255,255,255,.07);background:#0a0d18}.nxo-chat-identity{display:flex;align-items:center;gap:12px}.nxo-chat-identity>span:last-child{display:flex;flex-direction:column}.nxo-chat-identity small{color:#777f92}.nxo-chat-logo,.nxo-chat-welcome-logo{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#11152a}.nxo-chat-logo img,.nxo-chat-welcome-logo img{width:38px}.nxo-chat-close{width:42px;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#111522;color:white}.nxo-chat-close svg{width:19px;fill:none;stroke:currentColor;stroke-width:1.8}.nxo-chat-body{overflow:auto;padding:35px max(18px,calc((100vw - 900px)/2))}.nxo-chat-welcome{text-align:center;max-width:650px;margin:5vh auto}.nxo-chat-welcome-logo{margin:0 auto 15px}.nxo-chat-welcome h2{font-size:32px;margin:0 0 8px}.nxo-chat-welcome p{color:#8f98ac;line-height:1.9}.nxo-chat-test-questions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}.nxo-chat-test-question,.nxo-chat-faq-button{border:1px solid rgba(255,255,255,.08);background:#0d1120;color:#aeb6c9;border-radius:99px;padding:9px 12px;cursor:pointer}.nxo-chat-message{display:flex;margin:12px 0}.nxo-chat-message--user{justify-content:flex-start}.nxo-chat-message--assistant{justify-content:flex-end}.nxo-chat-bubble{max-width:72%;padding:13px 15px;border-radius:18px;line-height:1.9;font-size:13px}.nxo-chat-message--user .nxo-chat-bubble{background:linear-gradient(135deg,#7540ee,#5a2dd0);color:#fff;border-bottom-right-radius:5px}.nxo-chat-message--assistant .nxo-chat-bubble{background:#111626;border:1px solid rgba(255,255,255,.07);color:#dce1ee;border-bottom-left-radius:5px}.nxo-chat-bubble--typing span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9b78ff;margin:0 2px;animation:typing 1s infinite}.nxo-chat-bubble--typing span:nth-child(2){animation-delay:.15s}.nxo-chat-bubble--typing span:nth-child(3){animation-delay:.3s}@keyframes typing{50%{opacity:.25;transform:translateY(-3px)}}.nxo-chat-compose{padding:12px max(18px,calc((100vw - 900px)/2)) 18px;border-top:1px solid rgba(255,255,255,.07);background:#090c16}.nxo-chat-compose__box{display:flex;gap:9px;border:1px solid rgba(139,91,255,.25);background:#0d1120;border-radius:18px;padding:8px}.nxo-chat-compose textarea{flex:1;resize:none;background:none;border:0;outline:0;color:white;min-height:46px;padding:12px}.nxo-chat-compose button{width:46px;height:46px;border:0;border-radius:12px;background:linear-gradient(135deg,#8f4cff,#6330e7);color:white}.nxo-chat-compose button svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.8}.nxo-chat-note{display:block;text-align:center;color:#596176;font-size:9px;margin-top:7px}.nxo-chat-launcher{position:fixed;z-index:300;right:18px;bottom:18px;width:56px;height:56px;border:0;border-radius:50%;background:linear-gradient(135deg,#8f4cff,#6230e7);color:#fff;display:grid;place-items:center;opacity:0;visibility:hidden;transform:translateY(12px);transition:.2s;box-shadow:0 12px 35px rgba(89,44,205,.35)}.nxo-chat-launcher.is-visible{opacity:1;visibility:visible;transform:none}.nxo-chat-launcher svg{width:26px;fill:none;stroke:currentColor;stroke-width:1.7}.nxo-chat-launcher__ring{position:absolute;inset:-5px;border:1px solid rgba(148,100,255,.3);border-radius:50%}body.nxo-chat-open{overflow:hidden!important}.nxo-chat-source-badge{font-size:8px;color:#687086;margin-top:5px}
.nxo-chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere}.nxo-chat-body{min-height:0}.nxo-chat-auth-button{padding:12px 18px;background:var(--primary);color:white;border-radius:12px;margin:12px}.nxo-chat-compose textarea{min-width:0;font:inherit}.nxo-chat-compose button:disabled{opacity:.5}.nxo-chat-source-badge{display:none}@media(max-width:680px){.nxo-chat-bubble{max-width:87%}}
/* Optical alignment and a scrollbar that belongs to the dark chat surface. */
.nxo-chat-close,.nxo-chat-compose button,.nxo-chat-launcher{display:grid;place-items:center;padding:0;line-height:1;flex-shrink:0}
.nxo-chat-close svg,.nxo-chat-compose button svg,.nxo-chat-launcher svg{display:block;height:20px;width:20px;margin:0}
.nxo-chat-launcher svg{width:26px;height:26px}
.nxo-chat-compose__box{align-items:center}
.nxo-chat-body{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#624494 #0b0e19;scrollbar-gutter:stable}
.nxo-chat-body::-webkit-scrollbar{width:8px}
.nxo-chat-body::-webkit-scrollbar-track{background:#0b0e19}
.nxo-chat-body::-webkit-scrollbar-thumb{background:#624494;border:2px solid #0b0e19;border-radius:8px}
.nxo-chat-body::-webkit-scrollbar-thumb:hover{background:#9964ee}
.nxo-chat-compose textarea{scrollbar-width:thin;scrollbar-color:#624494 #0b0e19}
.nxo-chat-body{scroll-behavior:auto}

.nxo-chat-restart{margin-inline-start:auto;margin-inline-end:12px;border:1px solid #43315f;border-radius:10px;background:#141023;color:#c8aaff;padding:9px 12px;font:inherit;font-size:12px;min-height:40px}.nxo-chat-restart:focus-visible{outline:2px solid #9964ee;outline-offset:3px}
.nxo-chat-body>.nxo-chat-auth-button,.nxo-chat-body>[data-real-resend]{display:flex;width:fit-content;align-items:center;justify-content:center;min-height:44px;margin:16px 0;padding:10px 20px;text-decoration:none;line-height:1.6;clear:both}.nxo-chat-body>.nxo-chat-test-questions{justify-content:flex-start;gap:10px;margin:16px 0 24px}.nxo-chat-body>.nxo-chat-message{clear:both}.nxo-chat-test-questions>button,.nxo-chat-test-questions>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;line-height:1.6;text-decoration:none}.nxo-chat-header{gap:12px}.nxo-chat-restart{margin-inline-start:auto;margin-inline-end:0}.nxo-chat-close{flex-shrink:0}
.nxo-chat-body>.nxo-chat-auth-button,.nxo-chat-body>[data-real-resend]{margin-inline-start:auto;margin-inline-end:0}.nxo-chat-body>.nxo-chat-test-questions{justify-content:flex-end}.nxo-chat-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:16px 0 24px}.nxo-chat-actions .nxo-chat-auth-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 20px;text-decoration:none;line-height:1.6}.nxo-chat-actions button{min-height:44px}

.nxo-chat-shell{bottom:auto;height:100dvh;transition:opacity .22s,visibility .22s}.nxo-chat-panel{height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr) auto}.nxo-chat-body{min-height:0;overscroll-behavior:contain}
