/* Voice Studio — shared blue palette, local assets, native accessible controls. */
.sim-mode-switch{display:inline-flex;gap:5px;padding:5px;background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;margin:8px 0 16px}
.sim-mode-switch button{border:0;background:transparent;color:var(--body);min-height:42px;padding:10px 20px;border-radius:8px;font-weight:650}
.sim-mode-switch button[aria-pressed=true]{background:var(--surface);color:var(--accent);box-shadow:0 3px 12px #0a2a5510}
#voiceStatus:empty{display:none}#voiceStatus{padding:12px 15px;border:1px solid var(--border);background:var(--surface);border-radius:10px;font-size:13px}
#voiceContent{padding-bottom:40px}#voiceSessionTitle{scroll-margin-top:100px}#voiceContent>h2{font-size:29px;letter-spacing:-.8px;margin:24px 0}
.voice-hero{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:30px;overflow:hidden;background:linear-gradient(115deg,#103769,#1e55a7);border:1px solid #4777ba;color:#fff;padding:38px;margin-top:2px;border-radius:20px;position:relative}
.voice-hero h2{font-size:clamp(26px,2.8vw,37px);font-weight:650;letter-spacing:-1.2px;line-height:1.2;white-space:pre-line;color:#fff;margin:16px 0}
.voice-hero p{color:#cfdef5;font-size:14px;max-width:420px;line-height:1.8}.voice-hero .eyebrow{color:#c0d6f8;font-size:9px;letter-spacing:1.6px}
.voice-motif{display:flex;flex-direction:column;align-items:center;gap:23px;padding:28px 15px;border:1px solid #82acf73b;background:#326bb82b;border-radius:50% 50% 20px 20px;position:relative}
.voice-motif>span{font-size:9px;letter-spacing:2px;color:#c1d9ff}.voice-bars{height:96px;display:flex;align-items:center;gap:8px}.voice-bars i{display:block;width:7px;height:var(--bar-height);border-radius:8px;background:#c0dcff;box-shadow:0 0 20px #9dccff27}
.voice-how{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:27px 4px 32px}.voice-how>div{display:grid;grid-template-columns:32px 1fr;column-gap:10px;align-items:center}.voice-how span{grid-row:span 2;color:var(--accent);font-size:11px;font-weight:700;border-left:2px solid var(--accent);padding-left:9px}.voice-how strong{font-size:12px}.voice-how p{font-size:11px;color:var(--muted);margin:4px 0 0;line-height:1.5}
.voice-resume{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 24px;background:var(--accent-soft);border:1px solid var(--border);margin-bottom:26px;font-size:14px;font-weight:600}
.voice-setup fieldset{border:0;padding:0;margin:0}.voice-setup legend{font-size:22px;font-weight:650;letter-spacing:-.5px;margin:0 0 18px}.voice-setup .sim-scenarios{margin:0 0 22px}.voice-setup .scenario-art{height:145px}.voice-setup .scenario-copy{min-height:160px}.voice-setup .scenario-copy>strong{font-size:18px;line-height:1.35}
.voice-setup-row{display:flex;align-items:end;gap:20px;justify-content:space-between;margin:24px 0}.voice-setup-row label{width:320px;max-width:100%;display:grid;gap:8px;font-size:12px;font-weight:600}.voice-setup-row select{margin:0}.voice-setup-row>.primary{min-height:48px;padding:12px 24px}
.voice-settings{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:15px 20px;margin:22px 0}.voice-settings>summary{font-weight:600;font-size:13px;cursor:pointer}.voice-settings-grid{display:grid;grid-template-columns:minmax(0,1.5fr) 1fr 1fr;gap:18px;margin:20px 0}.voice-settings label{display:grid;gap:6px;font-size:12px}.voice-settings select{width:100%;max-width:100%;margin:0;min-width:0}.voice-settings .voice-check{display:flex;gap:10px;align-items:center}.voice-check input{width:17px;height:17px;flex:none}.voice-settings p{font-size:12px;margin-bottom:0}
.voice-disclosure{font-size:11px;color:var(--muted);line-height:1.7;max-width:830px}.voice-setup>.muted{font-size:12px;line-height:1.7}.voice-history{margin-top:36px;padding-top:28px;border-top:1px solid var(--border)}.voice-history h2{font-size:24px}.voice-history>.muted{font-size:12px}.voice-empty{border:1px dashed var(--border);background:var(--surface);padding:25px;border-radius:12px;color:var(--muted);font-size:13px}
.voice-rail{display:flex;justify-content:space-between;gap:8px;list-style:none;padding:0;margin:22px 0 26px}.voice-rail li{flex:1;border-top:3px solid var(--border);padding-top:12px;font-size:11px;color:var(--muted);line-height:1.5}.voice-rail li[aria-current=step]{border-color:var(--accent);color:var(--accent);font-weight:700}.voice-rail .saved{border-color:#74a2e7;color:var(--body)}
.voice-call-layout{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(0,1.25fr);gap:22px;align-items:start}.voice-buyer{background:linear-gradient(150deg,#153d76,#0e2b55);border:1px solid #4a6d9e;color:#fff;padding:30px;border-radius:18px;position:sticky;top:24px;overflow:hidden}.voice-buyer>.eyebrow{font-size:9px;letter-spacing:1.2px;color:#b9d3f5;margin:0 0 28px}.voice-avatar{display:grid;place-items:center;width:76px;height:76px;font-size:23px;border:1px solid #749ed4;border-radius:50%;background:#2f5e9f;box-shadow:0 0 0 8px #77a9e60f,0 0 0 16px #77a9e608;margin:18px 0 23px;font-weight:500;color:#e4f0ff}.voice-buyer h3{font-size:23px;color:#fff;margin:0 0 8px;letter-spacing:-.5px}.voice-buyer-role{font-size:12px;white-space:pre-line;line-height:1.7;color:#b9cfef;margin:0}.voice-question{font-size:19px;line-height:1.65;letter-spacing:-.25px;padding:25px 0 24px;border-top:1px solid #466895;margin:26px 0 0;color:#fff}.voice-buyer .button{background:#244d84;border-color:#6b8eb9;color:#fff;box-shadow:none;font-size:11px;padding:10px 12px}.voice-buyer .button:hover{background:#315e99}.voice-brief{border-top:1px solid #42658f;margin-top:24px;padding-top:18px;font-size:12px;line-height:1.8;color:#c0d5f2}.voice-brief summary{cursor:pointer;color:#dceaff;font-weight:600}
.voice-response{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:28px;min-width:0}.voice-response>.eyebrow{color:var(--accent);margin:0 0 10px}.voice-response>h3{font-size:24px;letter-spacing:-.65px;margin:0 0 22px}.voice-response>label,.voice-review>label{display:grid;gap:10px;font-size:12px;font-weight:600}.voice-response textarea,.voice-review textarea{resize:vertical;width:100%;box-sizing:border-box;line-height:1.7;font-size:14px;background:var(--canvas);min-height:160px;margin:0;border-color:var(--border)}.voice-review textarea{min-height:100px}
.voice-mic-row{display:flex;align-items:center;gap:15px;padding:16px 0 22px;border-top:1px solid var(--border);margin-top:20px}.voice-mic{flex:none;background:var(--accent-soft);border-color:var(--border);color:var(--accent)}.voice-mic::before{content:'●';margin-right:8px;font-size:10px}.voice-media-status{color:var(--muted);font-size:11px;line-height:1.6;margin:0}.voice-response>.muted{font-size:10px;margin:8px 0 18px}.voice-interim{font-style:italic;font-size:12px;color:var(--muted);margin:8px 0;min-height:0}.voice-interim:empty{display:none}
[data-media=listening] .voice-mic{background:var(--accent);color:var(--surface)}[data-media=listening] .voice-mic::before{animation:voicePulse 1s infinite alternate}[data-media=speaking] .voice-avatar{box-shadow:0 0 0 8px #77a9e628,0 0 0 16px #77a9e618}
@keyframes voicePulse{to{opacity:.3}}@media(prefers-reduced-motion:reduce){[data-media=listening] .voice-mic::before{animation:none}}
.voice-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.voice-actions .primary{padding:12px 22px}.voice-hints{margin:24px 0 18px;border-top:1px solid var(--border);padding-top:17px}.voice-hints>summary,.voice-previous summary{font-size:12px;font-weight:600;cursor:pointer;color:var(--body)}.voice-previous{background:var(--surface-alt);padding:13px 16px;border-radius:10px;font-size:12px;line-height:1.7}.voice-previous p{margin-bottom:0;color:var(--body)}
.voice-cues{list-style:none;padding:0;margin:16px 0;display:grid;gap:13px}.voice-cues li{display:grid;grid-template-columns:20px 1fr;gap:3px 8px;font-size:12px}.voice-cues li>span{grid-row:span 2;color:var(--muted);font-weight:700}.voice-cues li.matched>span{color:var(--accent)}.voice-cues small{grid-column:2;font-size:11px;font-weight:400;line-height:1.6;color:var(--muted)}.voice-notice{background:var(--accent-soft);border:1px solid var(--border);padding:14px;border-radius:9px;line-height:1.7;font-size:12px;color:var(--body)}
.voice-transcript{border-top:1px solid var(--border);padding-top:25px;margin-top:30px}.voice-transcript h2{font-size:24px}.voice-transcript>.muted{font-size:12px;line-height:1.7}.voice-saved-turn{background:var(--surface);border:1px solid var(--border);border-radius:13px;margin:12px 0;overflow:hidden}.voice-saved-turn>summary{font-size:13px;font-weight:600;padding:20px;cursor:pointer}.voice-saved-turn[open]>summary{border-bottom:1px solid var(--border);margin-bottom:10px}.voice-bubble{padding:16px 20px;font-size:13px;line-height:1.8;margin:0 15px}.voice-bubble strong{font-size:10px;letter-spacing:.4px;color:var(--muted)}.voice-bubble p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.voice-bubble.seller{background:var(--accent-soft);border-radius:12px}.voice-coaching{border-top:1px solid var(--border);padding:22px 30px;background:var(--canvas);margin-top:12px}.voice-coaching h3{font-size:16px;margin:0}.voice-coaching>.muted{font-size:11px;line-height:1.7}.voice-coaching details{font-size:12px;line-height:1.8}.voice-coaching summary{cursor:pointer;color:var(--accent);font-weight:600}
.voice-review{background:var(--surface);border:1px solid var(--border);padding:32px;border-radius:18px}.voice-review .eyebrow{color:var(--accent)}.voice-review h3{font-size:27px;letter-spacing:-.8px;margin:12px 0}.voice-review p{font-size:13px;line-height:1.8}.voice-review>.muted{font-size:11px}.voice-review-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.voice-review-stats>div{border-radius:12px;background:var(--accent-soft);padding:22px 18px}.voice-review-stats strong{display:block;font-size:32px;font-weight:600;letter-spacing:-1px;color:var(--accent)}.voice-review-stats span{display:block;font-size:11px;color:var(--body);margin-top:6px}.voice-review>.voice-actions{margin:20px 0 28px}.voice-review>label{border-top:1px solid var(--border);padding-top:24px}.voice-review>button{margin-top:12px}
@media(max-width:1100px){.voice-call-layout{grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr)}.voice-buyer,.voice-response{padding:22px}.voice-mic-row{align-items:start;flex-direction:column;gap:10px}.voice-hero{padding:28px}.voice-bars{gap:6px}.voice-motif>span{font-size:8px;letter-spacing:1px}}
@media(max-width:850px){.voice-call-layout{grid-template-columns:1fr}.voice-buyer{position:static}.voice-hero{grid-template-columns:1fr}.voice-motif{display:none}.voice-settings-grid{grid-template-columns:1fr}.voice-mic-row{flex-direction:row;align-items:center}.voice-question{font-size:18px}.voice-setup .scenario-copy{min-height:0}}
@media(max-width:600px){.sim-mode-switch{display:flex}.sim-mode-switch button{flex:1;padding:9px 10px;font-size:12px}.voice-hero{padding:25px}.voice-hero h2{font-size:28px}.voice-how{grid-template-columns:1fr;gap:18px}.voice-how p{font-size:12px}.voice-resume,.voice-setup-row{flex-direction:column;align-items:stretch}.voice-setup-row label{width:auto}.voice-settings{padding:15px}.voice-rail{gap:6px}.voice-rail li{font-size:9px;padding-top:8px;word-break:normal}.voice-buyer,.voice-response,.voice-review{padding:22px}.voice-mic-row{flex-direction:column;align-items:start}.voice-review-stats{gap:8px}.voice-review-stats>div{padding:14px 10px}.voice-review-stats strong{font-size:25px}.voice-review-stats span{font-size:10px;line-height:1.6}.voice-coaching{padding:20px}.voice-bubble{margin:0 8px;padding:12px}.voice-saved-turn>summary{font-size:12px;padding:16px}.voice-setup .scenario-art{height:120px}}
