/* 双向语音视图，沿用主站主题变量。 */
.voice-dialog { position: fixed; inset: 0; z-index: 12000; display: flex; flex-direction: column; background: var(--bg-base); color: var(--text-main); padding: max(24px, var(--app-top-inset)) 32px max(24px, env(safe-area-inset-bottom)); overflow: hidden; }
.voice-dialog header { display: flex; align-items: center; justify-content: space-between; }
.voice-dialog h2 { margin: 8px 0 0; font-size: 23px; font-weight: 600; }
.voice-eyebrow { color: var(--text-muted); font-size: 13px; letter-spacing: .12em; }
.voice-dialog button { border: 1px solid var(--border-light); border-radius: 24px; padding: 12px 20px; background: var(--bg-surface); color: var(--text-main); cursor: pointer; font: inherit; }
.voice-dialog button:disabled { opacity: .45; cursor: default; }
.voice-dialog button:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; }
.voice-close { font-size: 24px !important; }
.voice-center { text-align: center; padding: 28px 0 10px; }
.voice-orb { margin: 0 auto 24px; width: 150px; height: 150px; border-radius: 50%; background: var(--bg-surface); border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; gap: 7px; }
.voice-orb span { display: block; width: 7px; height: 30px; border-radius: 8px; background: var(--brand-primary); }
.voice-orb span:nth-child(2), .voice-orb span:nth-child(4) { height: 48px; }
.voice-orb span:nth-child(3) { height: 70px; }
.voice-status { font-size: 22px; margin: 0 0 10px; }
.voice-task { color: var(--text-muted); font-size: 14px; }
.voice-captions { flex: 1; overflow-y: auto; width: min(680px, 100%); margin: 12px auto; padding: 8px; min-height: 60px; }
.voice-captions p { padding: 12px 16px; border-radius: 16px; background: var(--bg-surface); line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0; }
.voice-captions [data-role="user"] { margin-left: 15%; border: 1px solid var(--border-light); }
.voice-captions [data-role="assistant"] { margin-right: 15%; }
.voice-error { color: var(--text-muted); text-align: center; font-size: 13px; min-height: 20px; }
.voice-dialog footer { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.voice-dialog .voice-hangup { background: var(--brand-primary); color: var(--bg-base); border-color: var(--brand-primary); }
#btn-voice-conversation { white-space: nowrap; width: auto; padding: 0 12px; font-size: 13px; }
@media (max-width: 600px) { .voice-dialog { padding-left: 18px; padding-right: 18px; } .voice-center { padding-top: 18px; } .voice-orb { width: 110px; height: 110px; margin-bottom: 16px; } .voice-dialog button { padding: 11px 14px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .voice-dialog * { animation: none !important; transition: none !important; } }
