.voice-monitor{--voice-ink:#203328;--voice-muted:#68756b;--voice-rule:#dce2d9;--voice-paper:#fbfcf9;position:relative;border:1px solid var(--voice-rule);border-radius:12px;background:var(--voice-paper);color:var(--voice-ink);overflow:hidden;margin:0 0 26px}.voice-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 24px;border-bottom:1px solid var(--voice-rule)}.voice-header>div,.voice-tools{display:flex;align-items:center;gap:12px}.voice-header h2{font-size:13px;letter-spacing:.01em}.voice-indicator{width:7px;height:7px;border-radius:50%;background:#6d874c;box-shadow:0 0 0 4px #748e4714;flex-shrink:0}.voice-monitor[data-mode=offline] .voice-indicator,.voice-monitor[data-mode=paused] .voice-indicator{background:#89918a;box-shadow:none}.voice-monitor[data-mode=stale] .voice-indicator{background:#b37b31;box-shadow:none}.voice-link{appearance:none;background:transparent;border:0;color:var(--voice-ink);font:inherit;font-size:12px;font-weight:550;text-decoration:none;padding:7px 3px;cursor:pointer;min-height:36px}.voice-link:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:3px}.voice-body{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr)}.voice-instrument{position:relative;display:grid;place-items:center;min-height:400px;border-right:1px solid var(--voice-rule);background-image:radial-gradient(#61714d24 .6px,transparent .6px);background-size:18px 18px;overflow:hidden}.voice-instrument canvas{display:block;width:min(100%,360px);height:auto;aspect-ratio:1}.voice-instrument-label{position:absolute;inset:auto 24px 20px;display:flex;justify-content:space-between;gap:12px;font:9px/1.5 ui-monospace,SFMono-Regular,monospace;letter-spacing:.13em;color:var(--voice-muted)}.voice-content{padding:26px 30px;min-width:0}.voice-kicker{font-size:10px;letter-spacing:.12em;font-weight:600;text-transform:uppercase;color:var(--voice-muted)}.voice-state h3{font-size:34px;line-height:1.12;font-weight:550;letter-spacing:-1.3px;margin:9px 0 10px}.voice-state p{font-size:13px;line-height:1.6;color:var(--voice-muted);max-width:42ch}.voice-readiness,.voice-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:20px 0;font-size:11px;color:var(--voice-muted)}.voice-readiness span:first-child{display:flex;gap:7px;align-items:center}.voice-readiness i{width:4px;height:4px;border-radius:50%;background:currentColor}.voice-booked{color:#42632f;font-weight:600}.voice-conversation{border-top:1px solid var(--voice-rule);padding-top:14px;margin-top:20px;max-height:220px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.voice-conversation-head{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--voice-muted);margin-bottom:14px}.voice-conversation-head span:first-child{font-weight:600;color:var(--voice-ink)}.voice-idle-copy{font-size:13px;line-height:1.7;color:var(--voice-muted);max-width:40ch;padding:8px 0 16px}.voice-turn{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:11px 0;border-top:1px solid var(--voice-rule)}.voice-turn>span{font-size:10px;font-weight:550;color:var(--voice-muted);padding-top:3px}.voice-turn p{font-size:13px;line-height:1.6;margin:0;overflow-wrap:anywhere}.voice-turn.assistant>span{color:var(--voice-ink)}.voice-caption{margin-top:18px;border-left:2px solid #809a57;padding:2px 0 2px 13px}.voice-caption>span{font-size:9px;letter-spacing:.1em;color:var(--voice-muted)}.voice-caption p{font-size:14px;line-height:1.65;margin:8px 0 0;max-height:100px;overflow:auto;overflow-wrap:anywhere}.voice-details{margin-top:10px;text-decoration:underline;text-underline-offset:4px}.voice-footer{padding:12px 24px;border-top:1px solid var(--voice-rule);display:flex;justify-content:space-between;gap:14px;color:var(--voice-muted);font-size:10px;line-height:1.5}.voice-compact .voice-body{grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr)}.voice-compact .voice-instrument{min-height:310px}.voice-compact .voice-instrument canvas{width:min(100%,290px)}.voice-compact .voice-content{padding:24px 28px}.voice-compact .voice-state h3{font-size:30px}.voice-compact .voice-conversation{max-height:140px}.voice-compact .voice-caption{display:none}:root[data-theme=dark] .voice-monitor{--voice-ink:#e4eadc;--voice-muted:#9aa596;--voice-rule:#333c30;--voice-paper:#181d17}:root[data-theme=dark] .voice-booked{color:#c0d998}
@media(hover:hover) and (pointer:fine){.voice-link:hover{color:#63853f;text-decoration:underline;text-underline-offset:4px}}
@media(max-width:760px){.voice-header{padding:14px 16px;gap:8px;align-items:flex-start}.voice-header>div{gap:8px}.voice-tools{flex-wrap:wrap;justify-content:flex-end;gap:0 8px!important}.voice-link{font-size:11px}.voice-header h2{line-height:1.5;font-size:12px;max-width:130px}.voice-header .voice-indicator{margin-top:5px}.voice-body,.voice-compact .voice-body{grid-template-columns:1fr}.voice-instrument,.voice-compact .voice-instrument{min-height:190px;height:210px;border-right:0;border-bottom:1px solid var(--voice-rule)}.voice-instrument canvas,.voice-compact .voice-instrument canvas{width:220px}.voice-instrument-label{inset:auto 16px 12px;font-size:8px}.voice-content,.voice-compact .voice-content{padding:22px 20px}.voice-state h3,.voice-compact .voice-state h3{font-size:29px}.voice-conversation{max-height:230px}.voice-turn{grid-template-columns:62px minmax(0,1fr);gap:9px}.voice-turn p{font-size:12px}.voice-footer{padding:12px 16px;flex-wrap:wrap;font-size:9px}.voice-footer span:last-child{display:none}.voice-compact .voice-conversation{max-height:170px}.voice-readiness,.voice-context{gap:10px;margin:14px 0}}
@media(prefers-reduced-motion:reduce){.voice-monitor *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Equal line boxes for the native button and navigation link. */
.voice-tools .voice-link{display:inline-flex;align-items:center;justify-content:center;height:36px;min-height:36px;line-height:16px;padding:0 3px;margin:0;white-space:nowrap}.voice-tools{align-items:center;flex-wrap:nowrap!important}.voice-header>div:first-child{min-width:0}@media(max-width:760px){.voice-header{align-items:center}.voice-header h2{max-width:110px}.voice-header .voice-indicator{margin-top:0}}
@media(max-width:360px){.voice-header{flex-wrap:wrap;gap:4px}.voice-header h2{max-width:none}.voice-tools{width:100%;justify-content:flex-start!important;gap:14px!important}}

/* Reserve each live region so partial captions never resize the instrument or page. */
.voice-header{min-height:66px;box-sizing:border-box}.voice-content{height:596px;box-sizing:border-box;display:grid;grid-template-rows:126px 44px 118px minmax(0,1fr) 36px;overflow:hidden}.voice-state{grid-row:1;min-height:0;overflow:auto;scrollbar-width:thin}.voice-readiness,.voice-context{grid-row:2;margin:0;min-height:0;overflow:auto;align-content:center}.voice-caption{grid-row:3;margin:8px 0 12px;min-height:0;overflow:hidden;display:flex;flex-direction:column}.voice-caption.is-empty{visibility:hidden}.voice-caption p{min-height:0;max-height:none;overflow:auto;scrollbar-width:thin}.voice-conversation{grid-row:4;min-height:0;max-height:none;height:100%;box-sizing:border-box;margin:0;scrollbar-gutter:stable}.voice-details-slot{grid-row:5;min-height:0;align-self:end}.voice-details{margin:0}.voice-compact .voice-content{height:414px;grid-template-rows:116px 42px 0 minmax(0,1fr) 36px}.voice-compact .voice-conversation{max-height:none}.voice-footer{min-height:40px;box-sizing:border-box}
@media(max-width:760px){.voice-content{height:610px;grid-template-rows:132px 52px 118px minmax(0,1fr) 36px}.voice-compact .voice-content{height:450px;grid-template-rows:132px 52px 0 minmax(0,1fr) 36px}.voice-conversation,.voice-compact .voice-conversation{max-height:none}.voice-readiness,.voice-context{margin:0}.voice-footer{flex-wrap:nowrap}}
