.nxs-chat-form>div{grid-template-columns:minmax(0,1fr)!important;transition:grid-template-columns .2s ease}
.nxs-chat-form>div.has-voice{grid-template-columns:40px minmax(0,1fr)!important}
.nxs-chat-form>div.has-text{grid-template-columns:minmax(0,1fr) 40px!important}
.nxs-chat-form>div.has-voice.has-text{grid-template-columns:40px minmax(0,1fr) 40px!important}
.nxs-chat-form button[hidden],.nxs-voice-button[hidden]{display:none!important}
.nxs-chat-form button svg{width:19px;height:19px;display:block;margin:auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nxs-voice-button{display:grid!important;place-items:center;width:36px!important;height:36px!important;border-radius:12px!important;color:#82d7eb!important;background:linear-gradient(145deg,rgba(35,119,173,.18),rgba(22,75,121,.15))!important;border:1px solid rgba(100,190,231,.25)!important;transition:.2s!important}
.nxs-voice-button:hover{color:#dffaff!important;border-color:rgba(83,208,226,.5)!important;transform:translateY(-1px)!important}
.nxs-voice-button:before{display:none!important}
.nxs-voice-button.recording{color:#fff!important;background:linear-gradient(145deg,#e34f68,#a72542)!important;border-color:rgba(255,122,143,.7)!important;border-radius:50%!important}
.nxs-chat-form button[type="submit"]{display:grid;place-items:center;color:#fff!important;background:linear-gradient(145deg,#3d9ce5,#205ca5)!important;border:1px solid rgba(116,191,244,.28)!important}
@media(max-width:680px){.nxs-chat-form>div{gap:6px!important}.nxs-voice-button,.nxs-chat-form button[type="submit"]{width:38px!important;height:38px!important}.nxs-chat-form button svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.nxs-chat-form>div,.nxs-voice-button{transition:none!important}}
.nxs-recording-bar[hidden]{display:none!important}
.nxs-recording-bar{align-items:center!important;grid-template-columns:26px 7px 42px minmax(45px,1fr) auto!important;gap:7px!important;width:100%;min-height:40px;padding:4px 5px!important;border:1px solid rgba(31,181,255,.22);border-radius:14px;background:#0b1b2b;box-shadow:none!important}
.nxs-recording-bar:not([hidden]){display:grid!important}.nxs-recording-bar button{border:0}.nxs-recording-bar>button:first-child{width:26px!important;height:26px!important;min-width:26px!important;border-radius:50%;padding:0!important;background:rgba(255,255,255,.07);color:#aebfd0;font-size:18px;line-height:1}.nxs-recording-dot{width:7px;height:7px;border-radius:50%;background:#ff405d;box-shadow:0 0 0 3px rgba(255,64,93,.12);animation:nxs-recording-pulse 1.15s ease-in-out infinite}.nxs-recording-bar strong{direction:ltr;color:#f5f9fc;font-size:12px;font-variant-numeric:tabular-nums}.nxs-recording-bar small{display:none}.nxs-recording-wave{display:flex;align-items:center;justify-content:center;gap:2px;height:20px;overflow:hidden}.nxs-recording-wave i{width:2px;height:5px;border-radius:9px;background:#25bcd2;animation:nxs-wave .8s ease-in-out infinite alternate}.nxs-recording-wave i:nth-child(2n){animation-delay:-.35s;height:11px}.nxs-recording-wave i:nth-child(3n){animation-delay:-.6s;height:16px}.nxs-recording-send{min-width:48px!important;width:auto!important;height:28px!important;padding:0 10px!important;border-radius:9px!important;background:#1677ff!important;color:#fff!important;font-size:11px!important;font-weight:700}.nxs-chat-form.is-recording>div:not(.nxs-recording-bar),.nxs-chat-form.is-recording>small{display:none!important}@keyframes nxs-wave{to{height:18px;opacity:.65}}@keyframes nxs-recording-pulse{50%{opacity:.45;transform:scale(.82)}}
@media(max-width:680px){.nxs-recording-bar{grid-template-columns:26px 7px 38px minmax(34px,1fr) auto!important;gap:6px!important;min-height:38px;padding:3px 4px!important}.nxs-recording-wave i:nth-child(n+7){display:none}.nxs-recording-send{min-width:46px!important}}

/* Keep the composer anchored; only the conversation timeline scrolls. */
.nxs-chat{display:flex!important;flex-direction:column!important;min-height:0!important}
.nxs-chat-head,.nxs-live-support,.nxs-peer-typing,.nxs-suggestions,.nxs-handoff,.nxs-chat-form{flex:0 0 auto!important}
.nxs-chat-body{flex:1 1 auto!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
.nxs-chat-form{position:relative!important;z-index:8!important;bottom:auto!important;margin-top:auto!important}
body.nxs-embedded{height:100dvh!important;overflow:hidden!important}
body.nxs-embedded .nxs-page-shell,body.nxs-embedded .nxs-product-layout,body.nxs-embedded .nxs-chat{height:100dvh!important;max-height:100dvh!important;overflow:hidden!important}
@media(max-width:680px){.nxs-page .nxs-chat{height:calc(100dvh - 86px)!important;max-height:calc(100dvh - 86px)!important;min-height:0!important}.nxs-chat-form{padding-bottom:max(10px,env(safe-area-inset-bottom))!important}.nxs-chat-body{-webkit-overflow-scrolling:touch}}

/* Customer-service handoff: compact overlay, never pushes the composer. */
.nxs-handoff{position:absolute!important;z-index:30!important;inset-inline:14px!important;bottom:82px!important;max-height:calc(100% - 105px)!important;margin:0!important;padding:16px!important;overflow-y:auto!important;border:1px solid rgba(82,174,232,.28)!important;border-radius:19px!important;background:linear-gradient(155deg,rgba(12,34,55,.985),rgba(6,20,35,.99))!important;box-shadow:0 24px 70px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.04)!important;backdrop-filter:blur(22px)}
.nxs-handoff[hidden],.nxs-handoff-details[hidden]{display:none!important}.nxs-handoff>strong{display:block;color:#f1f8ff!important;font-size:.82rem!important;margin-bottom:3px}.nxs-handoff>small{display:block;color:#86a1b8!important;font-size:.62rem!important;line-height:1.75}.nxs-handoff>div:not(.nxs-handoff-actions){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:12px 0 0!important}.nxs-handoff>[data-department]{display:none}
.nxs-handoff button[data-department]{position:relative;min-height:58px!important;padding:28px 8px 8px!important;border:1px solid rgba(91,163,218,.18)!important;border-radius:13px!important;background:rgba(20,53,80,.52)!important;color:#a9c1d5!important;font-size:.6rem!important;box-shadow:none!important}.nxs-handoff button[data-department]:before{position:absolute;top:8px;left:50%;transform:translateX(-50%);font-size:15px;line-height:1}.nxs-handoff button[data-department="sales"]:before{content:"↗"}.nxs-handoff button[data-department="support"]:before{content:"⌁"}.nxs-handoff button[data-department="inquiries"]:before{content:"?"}.nxs-handoff button[data-department].selected{border-color:rgba(61,198,211,.62)!important;background:rgba(30,125,146,.2)!important;color:#e9fbff!important;box-shadow:inset 0 0 0 1px rgba(61,198,211,.13)!important}
.nxs-handoff-details{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-top:13px!important;padding-top:13px!important;border-top:1px solid rgba(101,166,214,.13)}.nxs-handoff-details label{display:grid!important;gap:5px!important;color:#9bb3c7!important;font-size:.58rem!important}.nxs-handoff-details label:nth-child(3){grid-column:1/-1}.nxs-handoff-details input{width:100%!important;height:39px!important;padding:0 11px!important;border:1px solid rgba(99,159,207,.2)!important;border-radius:11px!important;outline:0!important;background:rgba(3,14,25,.72)!important;color:#edf7ff!important;box-shadow:none!important}.nxs-handoff-details input:focus{border-color:#35c4d6!important;box-shadow:0 0 0 3px rgba(53,196,214,.09)!important}.nxs-handoff-details>small,.nxs-handoff-details>p{grid-column:1/-1}.nxs-handoff-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 76px!important;gap:7px!important}.nxs-handoff-actions button{height:38px!important;border-radius:11px!important}.nxs-handoff-actions button[type="submit"]{background:linear-gradient(135deg,#1677ff,#079c9a)!important;color:#fff!important}.nxs-handoff-actions .nxs-handoff-cancel{min-width:0!important;background:rgba(111,135,158,.1)!important;color:#b3c2d0!important}.nxs-handoff-status{grid-column:1/-1;margin:0!important;font-size:.58rem!important}
@media(max-width:680px){.nxs-handoff{inset-inline:8px!important;bottom:73px!important;max-height:calc(100% - 88px)!important;padding:13px!important;border-radius:16px!important}.nxs-handoff>div:not(.nxs-handoff-actions){grid-template-columns:repeat(3,minmax(0,1fr))!important}.nxs-handoff button[data-department]{padding-inline:3px!important;font-size:10px!important}.nxs-handoff-details{grid-template-columns:1fr!important}.nxs-handoff-details label:nth-child(3){grid-column:auto}.nxs-handoff-details input{font-size:16px!important}.nxs-handoff-actions{grid-template-columns:1fr 68px!important}}

/* NXS behaves as a fixed application shell, not a scrolling landing page. */
body.nxs-page:not(.nxs-embedded){height:100dvh!important;min-height:0!important;overflow:hidden!important}
body.nxs-page:not(.nxs-embedded) .nxs-page-shell{height:100dvh!important;min-height:0!important;padding:82px 20px 14px!important;align-items:center!important;overflow:hidden!important}
body.nxs-page:not(.nxs-embedded) .nxs-product-layout{height:min(650px,calc(100dvh - 96px))!important;max-width:1160px!important;grid-template-columns:minmax(270px,340px) minmax(0,760px)!important;gap:26px!important;align-items:stretch!important}
body.nxs-page:not(.nxs-embedded) .nxs-product-intro{min-height:0!important;height:100%!important;padding:24px 4px 12px!important;justify-content:center!important}
body.nxs-page:not(.nxs-embedded) .nxs-seo-title{margin:16px 0 10px!important;font-size:clamp(1.75rem,2.7vw,3rem)!important}
body.nxs-page:not(.nxs-embedded) .nxs-product-intro>p{font-size:.75rem!important;line-height:1.85!important}
body.nxs-page:not(.nxs-embedded) .nxs-intro-capabilities{margin-top:18px!important}
body.nxs-page:not(.nxs-embedded) .nxs-intro-capabilities article{padding:9px 2px!important}
body.nxs-page:not(.nxs-embedded) .nxs-ai-visual{height:130px!important;margin-top:13px!important;transform:scale(.82)}
body.nxs-page:not(.nxs-embedded) .nxs-chat{height:100%!important;max-height:650px!important;min-height:0!important;border-radius:23px!important}
body.nxs-page:not(.nxs-embedded) .nxs-product-footer{display:none!important}
@media(max-width:980px){body.nxs-page:not(.nxs-embedded) .nxs-page-shell{padding:76px 10px 10px!important}body.nxs-page:not(.nxs-embedded) .nxs-product-layout{display:block!important;height:calc(100dvh - 86px)!important;max-width:780px!important}body.nxs-page:not(.nxs-embedded) .nxs-product-intro{display:none!important}body.nxs-page:not(.nxs-embedded) .nxs-chat{height:100%!important;max-height:none!important;min-height:0!important}}
@media(max-width:680px){body.nxs-page:not(.nxs-embedded) .nxs-page-shell{padding:70px 6px 6px!important}body.nxs-page:not(.nxs-embedded) .nxs-product-layout{height:calc(100dvh - 76px)!important}body.nxs-page:not(.nxs-embedded) .nxs-chat{height:100%!important;max-height:100%!important;border-radius:17px!important}.nxs-chat-head{height:64px!important;padding-block:8px!important}}
