.voice-heading { margin-bottom: 28px; }
.voice-heading h1 { font: 800 32px Manrope, sans-serif; margin: 8px 0; }
.voice-heading p, .voice-hint { color: #777180; line-height: 1.6; }
.voice-layout { display: grid; grid-template-columns: minmax(280px, 350px) minmax(0, 1fr); gap: 24px; align-items: start; }
.voice-panel { border: 1px solid #e5dfea; border-radius: 20px; padding: 24px; background: #fff; box-shadow: 0 8px 30px #26184005; }
.voice-panel h2 { margin: 0 0 20px; font-size: 18px; }
.voice-panel label { display: block; margin: 16px 0 7px; font-size: 13px; font-weight: 700; }
.voice-panel input:not([type=checkbox]), .voice-panel select { width: 100%; min-width: 0; padding: 11px; border: 1px solid #ddd5e4; border-radius: 9px; font: inherit; background: #fff; color: #2b2434; }
.voice-panel input[type=checkbox] { width: auto; margin-right: 6px; }
.voice-panel label.voice-check { display: flex; align-items: center; gap: 6px; }
.voice-panel label.voice-check input { margin: 0; }
.voice-panel .logout-button { color: #503575; background: #f4f0f8; border: 1px solid #e2d8ec; border-radius: 9px; padding: 10px 14px; }
.voice-panel #voice-model { font-size: 11px; }
.voice-hint { font-size: 12px; margin: 8px 0 12px; }
.voice-persona-preview { border-left: 3px solid #9a77c2; border-radius: 6px; background: #f5f0fa; color: #503575; padding: 12px; font-size: 13px; line-height: 1.6; }
.voice-actions { display: flex; gap: 12px; margin: 20px 0 12px; }
.voice-actions .primary-button { flex: 1; justify-content: center; }
.voice-conversation { display: flex; flex-direction: column; height: min(740px, 85vh); min-height: 480px; }
.voice-session-header { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.voice-stats { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 14px 0; font-size: 11px; color: #80798b; border-bottom: 1px solid #ede9f1; }
.voice-diagnostics { border-bottom: 1px solid #ede9f1; padding: 10px 0; color: #5c5068; font-size: 12px; }
.voice-diagnostics summary { cursor: pointer; font-weight: 700; }
.voice-diagnostics > p { margin: 8px 0; color: #80798b; line-height: 1.45; }
.voice-diagnostics-log { max-height: 180px; overflow-y: auto; border-radius: 9px; background: #f8f5fa; padding: 7px 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.voice-diagnostic-line { display: grid; grid-template-columns: 74px minmax(190px, 1fr) minmax(180px, auto); gap: 9px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid #ede9f1; }
.voice-diagnostic-line:last-child { border-bottom: 0; }
.voice-diagnostic-line time { color: #7955a5; font-weight: 700; }
.voice-diagnostic-line small { color: #8a8291; overflow-wrap: anywhere; }
.voice-transcript { flex: 1; overflow-y: auto; padding: 20px 0; }
.voice-bubble { width: fit-content; max-width: 90%; padding: 14px 18px; border-radius: 16px; margin: 0 0 16px; background: #f2edf7; }
.voice-bubble strong { font-size: 11px; color: #796488; }
.voice-bubble p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 5px 0 0; line-height: 1.6; font-size: 14px; }
.voice-user { margin-left: auto; background: #5e36a4; color: white; }
.voice-user strong { color: #ddd0f3; }
.voice-text-form { display: flex; gap: 10px; padding-top: 18px; border-top: 1px solid #ede9f1; }
.voice-panel button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 1000px) { .voice-layout { grid-template-columns: 1fr; } .voice-conversation { height: 600px; } .voice-diagnostic-line { grid-template-columns: 68px 1fr; } .voice-diagnostic-line small { grid-column: 2; } }
