/* Loaded only on explicitly selected NetShow ALIVE doors. */
[data-door-voice-first] [hidden]{display:none!important}
.ns-door-voice-controls{position:relative;z-index:10;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:16px auto;max-width:100%;padding:8px;color:inherit}
.ns-door-voice-menu{position:relative;font:14px/1.5 system-ui;color:inherit}
.ns-door-voice-menu summary{min-height:44px;display:flex;align-items:center;cursor:pointer;padding:8px 12px}
.ns-door-voice-menu[open]{border:1px solid #64748b;border-radius:12px;background:#111b2d;color:#f8fafc}
.ns-door-voice-menu button{display:block;min-height:44px;min-width:110px;border:0;background:transparent;color:inherit;text-align:left;padding:10px 16px;cursor:pointer}
.ns-door-voice-menu :focus-visible{outline:3px solid #e8b45d;outline-offset:3px}
[data-door-voice-caption]{display:block;width:100%;max-width:640px;margin:8px auto;padding:0 16px;text-align:center;font:clamp(16px,2vw,20px)/1.6 system-ui;overflow-wrap:anywhere}
/* Line 1761: the browser's own voice is a labelled last resort; the label shows beside the caption only while it speaks. */
.ns-door-voice-backup{display:inline-block;padding:2px 10px;border:1px solid #64748b;border-radius:999px;font:12px/1.4 system-ui;letter-spacing:.02em;opacity:.85}
.ns-door-voice-talk{min-height:44px;padding:8px 18px;border:1px solid #d4a847;border-radius:999px;background:#1b2940;color:#fff;font:600 14px/1.4 system-ui;cursor:pointer}
.ns-door-voice-talk:focus-visible{outline:3px solid #e8b45d;outline-offset:3px}
[data-door-voice-drawer]{max-width:100%;margin:12px auto}
[data-door-voice-first] #ns-chat-root{position:relative!important;inset:auto!important;width:100%;max-width:620px;margin:auto;z-index:1!important}
[data-door-voice-first] #ns-chat-root .ns-bbl,[data-door-voice-first] #ns-chat-root .ns-tip,[data-door-voice-first] #ns-chat-root .ns-greet{display:none!important}
[data-door-voice-first] #ns-chat-root .ns-pnl{position:relative!important;inset:auto!important;width:100%;max-width:100%;transform:none!important}
body[data-door-voice-first].pv>.ns-door-voice-controls{position:fixed;z-index:2147483002;left:12px;right:12px;bottom:16%;pointer-events:auto;background:rgba(9,15,24,.88);color:#f8fafc;border-radius:16px}
[data-door-voice-first] .pv-voice,[data-door-voice-first] #aes-tap-to-talk{display:none!important}
body[data-door-voice-first].pv #pv-caption{display:none!important}
[data-door-voice-first] [data-ns-door-caption]{display:none}
.alive-dock.alive-dock--voice-first[data-alive-dock-state]{width:min(360px,calc(100vw - 24px));max-height:90dvh;overflow:auto}
.alive-dock--voice-first [data-ns-door-face]{display:flex;justify-content:center;margin:8px auto;position:relative;width:168px;height:168px}
.ns-door-voice-dock-face{width:168px;height:168px;object-fit:contain;border-radius:50%}
.alive-dock--voice-first .ns-alive-card-mount{position:absolute;inset:0}
@media(max-width:480px){.ns-door-voice-controls{gap:4px;margin:8px auto}[data-door-voice-first] #ns-chat-root .ns-pnl{max-height:60vh}}
@media(prefers-reduced-motion:reduce){[data-door-voice-first] *,[data-door-voice-first] *::before,[data-door-voice-first] *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
[data-door-neutral-face]{display:block;max-width:100%;max-height:100%;border-radius:inherit;flex-shrink:0}
[data-door-neutral-face] .door-neutral-eye{transform-box:fill-box;transform-origin:center;animation:door-eye-blink 4s infinite}
[data-door-voice-state="speaking"] .door-neutral-mouth,[data-door-voice-state="greeting"] .door-neutral-mouth{transform-box:fill-box;transform-origin:center;transform:scaleY(calc(.6 + var(--door-mouth,0) * 2))}
@keyframes door-eye-blink{0%,42%,48%,100%{transform:scaleY(1)}45%{transform:scaleY(.12)}}
@media(prefers-reduced-motion:reduce){[data-door-neutral-face] .door-neutral-eye,[data-door-neutral-face] .door-neutral-mouth{animation:none!important;transform:none!important}}

[data-door-voice-first] #pv-turn-mic{display:none!important}
/* The profile's companion section is a sibling of its hero root. */
[data-door-voice-drawer][hidden]{display:none!important}
.alive-dock.alive-dock--voice-first[data-alive-dock-state]{border-radius:22px;padding:12px}
/* Line 942: the NetShow Communicator is the voice-first root, docked or in its act position. */
.ns-communicator-voice{position:fixed;bottom:16px;right:16px;z-index:2147483000;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:12px;border:1px solid rgba(212,168,71,.5);border-radius:22px;background:#0b1220;color:#f8fafc;box-shadow:0 18px 48px rgba(0,0,0,.45);font:15px/1.5 system-ui}
.ns-communicator-voice--left{right:auto;left:16px}
.ns-communicator-voice__name{margin:0 0 4px;text-align:center;font-weight:600}
.ns-communicator-voice__name span{display:block;font-size:12px;font-weight:500;letter-spacing:.04em;color:#d4a847}
.ns-communicator-voice__face{display:flex;justify-content:center;margin:4px auto;width:132px;height:132px}
.ns-communicator-voice__face img,.ns-communicator-voice__face svg{width:132px;height:132px;object-fit:cover;border-radius:50%;transform:scale(calc(1 + var(--door-mouth,0) * .04))}
.ns-communicator-voice .ns-door-voice-controls{margin:4px auto;padding:4px}
.ns-communicator-voice[data-communicator-position="act"]{inset:0;width:auto;max-height:none;border-radius:0;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}
.ns-communicator-voice[data-communicator-position="act"] .ns-communicator-voice__face,.ns-communicator-voice[data-communicator-position="act"] .ns-communicator-voice__face img,.ns-communicator-voice[data-communicator-position="act"] .ns-communicator-voice__face svg{width:min(320px,60vw);height:min(320px,60vw)}
@media(max-width:480px){.ns-communicator-voice{right:12px;left:12px;bottom:12px;width:auto}.ns-communicator-voice__face,.ns-communicator-voice__face img,.ns-communicator-voice__face svg{width:96px;height:96px}}
@media(prefers-reduced-motion:reduce){.ns-communicator-voice__face img,.ns-communicator-voice__face svg{transform:none}}
/* Line 1278: while the chat panel is open (the widget root lives in the card's drawer) the card folds to a slim header:
   small moving face, name, menu with mute and stop. The panel's face stage is the one face; captions arrive there as chat text. */
.ns-communicator-voice[data-door-voice-chat-open='1']{display:flex;flex-flow:row wrap;align-items:center;justify-content:flex-start;gap:4px 8px;inset:auto 16px 16px auto;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:6px 8px;border:1px solid rgba(212,168,71,.5);border-radius:18px}
.ns-communicator-voice[data-door-voice-chat-open='1'].ns-communicator-voice--left{inset:auto auto 16px 16px}
.ns-communicator-voice[data-door-voice-chat-open='1'] .ns-communicator-voice__face{order:1;flex:0 0 36px;width:36px;height:36px;margin:0}
.ns-communicator-voice[data-door-voice-chat-open='1'] .ns-communicator-voice__face img,.ns-communicator-voice[data-door-voice-chat-open='1'] .ns-communicator-voice__face svg{width:36px;height:36px}
.ns-communicator-voice[data-door-voice-chat-open='1'] .ns-communicator-voice__name{order:2;flex:1 1 auto;min-width:0;margin:0;text-align:left;font-size:14px;line-height:1.25}
.ns-communicator-voice[data-door-voice-chat-open='1'] .ns-communicator-voice__name span{font-size:11px}
.ns-communicator-voice[data-door-voice-chat-open='1'] .ns-door-voice-controls{order:3;flex:0 0 auto;margin:0;padding:0}
.ns-communicator-voice[data-door-voice-chat-open='1'] [data-door-voice-caption]{display:none}
.ns-communicator-voice[data-door-voice-chat-open='1'] [data-door-voice-drawer]{order:4;flex:1 0 100%;margin:2px 0 0}
@media(max-width:480px){.ns-communicator-voice[data-door-voice-chat-open='1'],.ns-communicator-voice[data-door-voice-chat-open='1'].ns-communicator-voice--left{box-sizing:border-box;inset:auto 16px 12px 16px;width:auto;max-height:calc(70dvh - 12px)}.ns-communicator-voice[data-door-voice-chat-open='1'] #ns-chat-root .ns-pnl{height:calc(70dvh - 96px);max-height:calc(70dvh - 96px)}}
/* Line 8493: on an agent's own page the resting card paints collapsed to a 56 px face chip (AI mark, Talk glyph) in the
   corner; one tap opens the card as above and its 44 px Minimize folds it back. Only a card carrying the attribute changes. */
.ns-communicator-voice__chip,.ns-communicator-voice__minimize{display:none}
.ns-communicator-voice[data-communicator-chip="collapsed"]{display:block;inset:auto 16px calc(16px + env(safe-area-inset-bottom)) auto;width:56px;height:56px;max-height:56px;padding:0;overflow:visible;border:0;border-radius:50%;background:transparent;box-shadow:none}
.ns-communicator-voice.ns-communicator-voice--left[data-communicator-chip="collapsed"]{inset:auto auto calc(16px + env(safe-area-inset-bottom)) 16px}
.ns-communicator-voice[data-communicator-chip="collapsed"]>:not(.ns-communicator-voice__chip){display:none!important}
.ns-communicator-voice[data-communicator-chip="collapsed"] .ns-communicator-voice__chip{display:block;position:relative;box-sizing:border-box;width:56px;height:56px;margin:0;padding:0;border:2px solid #d4a847;border-radius:50%;background:#0b1220;color:#f8fafc;box-shadow:0 8px 24px rgba(0,0,0,.4);cursor:pointer}
.ns-communicator-voice__chip .ns-communicator-voice__chip-face{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.ns-communicator-voice__chip-mark{position:absolute;top:0;left:0;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#d4a847;color:#0b1220;font:700 10px/18px system-ui;letter-spacing:.02em}
.ns-communicator-voice__chip-talk{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:20px;height:20px;border:1px solid #d4a847;border-radius:50%;background:#1b2940;color:#fff}
.ns-communicator-voice[data-communicator-chip="open"] .ns-communicator-voice__minimize{display:grid;place-items:center;position:absolute;top:6px;right:6px;z-index:1;box-sizing:border-box;min-width:44px;min-height:44px;padding:0;border:1px solid #52717a;border-radius:50%;background:transparent;color:inherit;font:600 20px/1 system-ui;cursor:pointer}
.ns-communicator-voice[data-communicator-chip="open"] .ns-communicator-voice__name{padding:0 48px}
.ns-communicator-voice[data-communicator-chip="open"][data-door-voice-chat-open='1'] .ns-communicator-voice__minimize{position:static;order:3;flex:0 0 44px}
.ns-communicator-voice[data-communicator-chip="open"][data-door-voice-chat-open='1'] .ns-communicator-voice__name{padding:0}
.ns-communicator-voice__chip:focus-visible,.ns-communicator-voice__minimize:focus-visible{outline:3px solid #e8b45d;outline-offset:3px}
@media (max-width:767.98px){body:has(.ns-communicator-voice[data-communicator-chip]){padding-bottom:calc(88px + env(safe-area-inset-bottom))}}
/* Line 1461: the voice-first dock's Minimize and pill name exist only on phones; wider screens never paint them. */
.alive-dock--voice-first [data-alive-dock-minimize],.alive-dock--voice-first [data-alive-dock-name]{display:none}
.alive-dock--voice-first [data-door-voice-chat-offer]{display:none}
/* Line 1461: under 768 px the voice-first dock is a bottom sheet that leaves the page readable: at most 40dvh at arrival
   (the no-mic fallback's chat shows inside it), at most 60dvh when the visitor chooses Chat, and Minimize folds it to a
   one-line pill (face, name, caption) without stopping the voice. The page keeps room below its last content. */
@media(max-width:767.98px){
.alive-dock.alive-dock--voice-first[data-alive-dock-state]{inset:auto 16px calc(16px + env(safe-area-inset-bottom)) 16px;width:auto;max-width:none;max-height:40dvh;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:72px minmax(0,1fr) auto auto;grid-template-areas:"face caption caption caption" "face . menu minimize" "drawer drawer drawer drawer" "body body body body";align-items:center;gap:4px 10px;padding:10px 12px;border-radius:18px}
.alive-dock--voice-first>.ns-door-voice-controls{display:contents}
.alive-dock--voice-first [data-door-voice-caption]{grid-area:caption;align-self:end;width:auto;max-width:none;margin:0;padding:0;text-align:left;font:15px/1.4 system-ui}
.alive-dock--voice-first .ns-door-voice-menu{grid-area:menu;justify-self:end}
.alive-dock--voice-first [data-door-voice-backup]{grid-column:2;grid-row:2;justify-self:start}
.alive-dock--voice-first [data-ns-door-face]{grid-area:face;width:72px;height:72px;margin:0}
.alive-dock--voice-first .ns-door-voice-dock-face{width:72px;height:72px}
.alive-dock--voice-first [data-alive-dock-minimize]{display:block;grid-area:minimize;min-height:44px;padding:8px 12px;border:1px solid #52717a;border-radius:999px;background:transparent;color:inherit;font:14px/1.2 system-ui;cursor:pointer}
.alive-dock--voice-first [data-door-voice-drawer]{grid-area:drawer;margin:0;font-size:13px}
.alive-dock--voice-first .alive-dock__body{grid-area:body;max-height:none;overflow:visible}
.alive-dock--voice-first .alive-dock__frame{height:max(160px,calc(40dvh - 150px));border-radius:12px}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="chat"]{max-height:60dvh}
.alive-dock--voice-first[data-alive-dock-sheet="chat"] .alive-dock__frame{height:max(200px,calc(60dvh - 170px))}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"]{max-height:none;overflow:hidden;grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"face name minimize" "face caption minimize";gap:0 10px;padding:6px 6px 6px 8px;border-radius:999px}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] [data-ns-door-face],.alive-dock--voice-first[data-alive-dock-sheet="pill"] .ns-door-voice-dock-face{width:44px;height:44px}
.alive-dock--voice-first[data-alive-dock-sheet="pill"] [data-alive-dock-name]{display:block;grid-area:name;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:600 14px/1.3 system-ui}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] [data-door-voice-caption]{align-self:start;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:1.3}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] [data-door-voice-backup],.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] .ns-door-voice-menu,.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] [data-door-voice-drawer],.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] .alive-dock__body{display:none!important}
body:has(.alive-dock--voice-first){padding-bottom:calc(var(--alive-dock-room,40dvh) + 16px)}
}
/* Line 1584: from 768 px up the voice-first dock is a compact card that leaves the page readable: the 96 px face beside
   two caption lines (the rest scrolls) and one row of controls, at most 45vh. A missing microphone shows the highlighted
   Chat button (door-voice-first.js offerChat) instead of opening the frame; the frame opens on the stranger's tap, and
   Minimize returns the compact card, then folds it to the pill. The chat the stranger chose keeps its room. */
@media(min-width:768px){
.alive-dock.alive-dock--voice-first[data-alive-dock-state]{width:min(420px,calc(100vw - 32px));max-width:none;max-height:45vh;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:96px minmax(0,1fr) auto auto;grid-template-areas:"face caption caption caption" "face backup backup backup" "face offer menu minimize" "drawer drawer drawer drawer" "body body body body";align-items:center;gap:0 10px}
.alive-dock--voice-first>.ns-door-voice-controls{display:contents}
.alive-dock--voice-first [data-door-voice-caption]{grid-area:caption;align-self:end;width:auto;max-width:none;max-height:2.8em;overflow-y:auto;margin:0 0 6px;padding:0;text-align:left;font:15px/1.4 system-ui}
.alive-dock--voice-first [data-door-voice-backup]{grid-area:backup;justify-self:start}
.alive-dock--voice-first .ns-door-voice-talk{grid-area:offer;justify-self:start;padding:8px 14px}
.alive-dock--voice-first .ns-door-voice-menu{grid-area:menu;justify-self:end}
.alive-dock--voice-first [data-ns-door-face]{grid-area:face;width:96px;height:96px;margin:0}
.alive-dock--voice-first .ns-door-voice-dock-face{width:96px;height:96px}
.alive-dock.alive-dock--voice-first[data-alive-dock-state] [data-alive-dock-minimize]{display:block;grid-area:minimize;min-height:44px;padding:8px 12px;border:1px solid #52717a;border-radius:999px;background:transparent;color:inherit;font:14px/1.2 system-ui;cursor:pointer}
.alive-dock.alive-dock--voice-first[data-alive-dock-state] [data-door-voice-chat-offer]:not([hidden]){display:block;grid-area:offer;justify-self:start;min-height:44px;padding:8px 20px;border:0;border-radius:999px;background:#d4a847;color:#111b2d;font:700 14px/1.2 system-ui;cursor:pointer;box-shadow:0 0 0 3px rgba(212,168,71,.35)}
.alive-dock.alive-dock--voice-first[data-alive-dock-state] [data-door-voice-chat-offer]:focus-visible{outline:3px solid #f8fafc;outline-offset:3px}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-door-voice-chat-offered] .ns-door-voice-talk{display:none}
.alive-dock--voice-first [data-door-voice-drawer]{grid-area:drawer;margin:0;font-size:13px}
.alive-dock--voice-first .alive-dock__body{grid-area:body;max-height:none;overflow:visible}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="chat"]{max-height:90dvh}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="chat"] [data-door-voice-chat-offer]{display:none!important}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="sheet"] [data-door-voice-drawer],.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="sheet"] .alive-dock__body{display:none!important}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"]{width:min(320px,calc(100vw - 32px));max-height:none;overflow:hidden;grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"face name minimize" "face caption minimize";gap:0 10px;padding:6px 6px 6px 8px;border-radius:999px}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] [data-ns-door-face],.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] .ns-door-voice-dock-face{width:44px;height:44px}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] [data-alive-dock-name]{display:block;grid-area:name;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:600 14px/1.3 system-ui}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] [data-door-voice-caption]{align-self:start;max-height:none;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:1.3}
.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] [data-door-voice-backup],.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] .ns-door-voice-talk,.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] .ns-door-voice-menu,.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] [data-door-voice-chat-offer],.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] [data-door-voice-drawer],.alive-dock.alive-dock--voice-first[data-alive-dock-state][data-alive-dock-sheet="pill"] .alive-dock__body{display:none!important}
}
