.voice-conversation { --voice-blue: #15349b; --voice-bg: #f8faff; --voice-text: #182342; --voice-soft: #66728e; position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; color: var(--voice-text); background: var(--voice-bg); }
.voice-conversation::backdrop { background: #f8faff; }
[data-theme="dark"] .voice-conversation { --voice-bg: #10182c; --voice-text: #f1f4ff; --voice-soft: #aab6d1; }
.voice-screen { position: relative; width: min(100%, 760px); height: 100%; margin: auto; display: flex; flex-direction: column; padding: max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); box-sizing: border-box; gap: 14px; }
.voice-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; }
.voice-top-actions { display: flex; gap: 8px; flex-shrink: 0; }
.voice-top-actions button { font-size: 12px; padding: 10px 11px; min-height: 44px; white-space: nowrap; }
.voice-brand { min-width: 0; font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.voice-model { display: block; color: var(--voice-soft); font-size: 11px; font-weight: 400; margin-top: 4px; overflow-wrap: anywhere; }
.voice-text-button { border: 1px solid #879bcc40; border-radius: 24px; background: transparent; color: inherit; padding: 11px 16px; cursor: pointer; font-size: 14px; }
.voice-hero { flex: 1; min-height: 100px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; }
.voice-robot { position: relative; width: min(37dvh, 300px); aspect-ratio: 1; flex-shrink: 1; max-height: 100%; }
.voice-robot:before { content: ''; position: absolute; inset: 18%; background: radial-gradient(circle, #cee4ff70, transparent 68%); border-radius: 50%; }
.voice-robot .mxv-mascot, .voice-robot .mxv-motion-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.voice-robot[data-rig-ready="true"] .mxv-mascot { opacity: 0; }
.voice-conversation .voice-status { font-size: clamp(20px, 4vw, 26px); text-align: center; margin: 0; font-weight: 650; flex-shrink: 0; }
.voice-hint { color: var(--voice-soft); text-align: center; font-size: 14px; margin: -5px 0 0; flex-shrink: 0; }
.voice-captions { max-height: min(24dvh, 200px); overflow: auto; padding: 14px 18px; border: 1px solid #8b9bc52e; border-radius: 22px; background: #ffffff80; flex-shrink: 0; overscroll-behavior: contain; }
[data-theme="dark"] .voice-captions { background: #ffffff08; }
.voice-captions b { font-size: 12px; color: var(--voice-soft); font-weight: 500; }
.voice-captions p { font-size: 16px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; margin: 4px 0 10px; }
.voice-captions p:last-child { margin-bottom: 0; }
.voice-bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
.voice-start { background: var(--voice-blue); color: white; border: 0; border-radius: 30px; padding: 13px 24px; font-size: 16px; cursor: pointer; }
.voice-conversation .voice-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.voice-conversation .voice-controls button { border: 1px solid #889dcb40; border-radius: 24px; background: #15349b08; padding: 13px 16px; color: inherit; font-size: 14px; cursor: pointer; min-height: 48px; }
.voice-conversation .voice-controls button[aria-pressed="true"] { background: #15349b; color: white; }
.voice-conversation .voice-controls button:disabled { opacity: .45; cursor: default; }
.voice-conversation .voice-controls .voice-end { background: #fce7eb; color: #aa2748; border-color: #efcbd5; }
.voice-notice { font-size: 11px; line-height: 1.55; color: var(--voice-soft); text-align: center; margin: 0; max-width: 600px; }
.voice-error { color: #b5244e; background: #fff0f4; padding: 12px 16px; border-radius: 16px; font-size: 14px; margin: 0; flex-shrink: 0; }
.voice-proposal { border: 1px solid #a5b8e2; background: var(--voice-bg); border-radius: 18px; padding: 12px; flex-shrink: 0; max-height: 23dvh; overflow: auto; }
.voice-proposal p { margin: 0 0 8px; font-size: 13px; }
.voice-proposal [data-voice="proposal-text"] { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.voice-proposal button { min-height: 40px; }
.voice-conversation button:focus-visible { outline: 3px solid #769aff; outline-offset: 3px; }
.voice-conversation [hidden] { display: none !important; }
.voice-readiness { position: absolute; inset: 0; z-index: 5; padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); overflow: auto; overscroll-behavior: contain; background: var(--voice-bg); }
.voice-conversation[data-checks-open="true"], .voice-conversation[data-checks-open="true"] .voice-screen { overflow: hidden; }
.voice-readiness h2 { font-size: 21px; margin: 0; }
.voice-readiness h3 { font-size: 16px; margin: 0 0 8px; }
.voice-check-help, .voice-check-model { color: var(--voice-soft); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.voice-check-list { display: grid; gap: 14px; margin: 20px 0; }
.voice-check-list > section { border: 1px solid #8b9bc540; border-radius: 18px; padding: 16px; }
.voice-check-list p { font-size: 14px; line-height: 1.65; margin: 0 0 12px; overflow-wrap: anywhere; }
.voice-check-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.voice-level-label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; color: var(--voice-soft); font-size: 12px; }
.voice-level-label meter { width: 100%; height: 14px; accent-color: #15349b; }
.voice-readiness button { min-height: 44px; }
.voice-conversation button:disabled { opacity: .45; cursor: default; }
@media (max-height: 700px) { .voice-screen { gap: 9px; } .voice-robot { width: min(28dvh, 240px); } .voice-captions { max-height: 19dvh; padding: 10px 14px; } .voice-status { font-size: 20px; } .voice-controls button { padding: 10px 13px; } }
@media (max-height: 450px) { .voice-hero { display: none; } .voice-captions { max-height: 25dvh; } .voice-notice { font-size: 10px; } .voice-screen { overflow: auto; } }
