.system-voice { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--bg, #f8faff); color: var(--text, #182342); }
.system-voice::backdrop { background: #f8faff; }
.system-voice-screen { height: 100%; width: min(100%, 720px); margin: auto; display: flex; flex-direction: column; }
.system-voice header { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); border-bottom: 1px solid #879bcc40; flex-shrink: 0; }
.system-voice header b { font-size: 22px; }
.system-voice header small { display: block; font-size: 11px; margin-top: 3px; opacity: .7; }
.system-voice header button { flex-shrink: 0; font-size: 12px; }
.system-voice button { min-height: 44px; white-space: normal; color: inherit; background: transparent; border: 1px solid #879bcc70; }
.system-voice button.primary { color: #fff; background: #15349b; border-color: #15349b; }
.system-voice-body { padding: 12px max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); overflow-y: auto; overflow-wrap: anywhere; overscroll-behavior: contain; min-height: 0; }
.system-voice-robot { display: block; width: min(26dvh, 150px); height: auto; margin: 0 auto; }
.system-voice h2 { text-align: center; font-size: clamp(20px, 5vw, 26px); margin: 4px 0 6px; }
.system-voice-hint { text-align: center; opacity: .75; font-size: 14px; margin: 0 0 16px; }
.system-voice textarea { width: 100%; box-sizing: border-box; min-height: 88px; max-height: 35dvh; padding: 12px; margin: 6px 0; border: 1px solid #879bcc70; border-radius: 16px; font: inherit; font-size: 16px; resize: vertical; color: inherit; background: transparent; }
.system-voice-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.system-voice-actions > button { flex: 1 1 110px; }
.system-voice-option { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.system-voice-option input { width: 20px; height: 20px; accent-color: #15349b; }
.system-voice-reply { line-height: 1.75; overflow-wrap: anywhere; }
.system-voice-reply:not(:empty) { border-top: 1px solid #879bcc40; padding-top: 12px; margin-top: 10px; }
.system-voice-reply pre { overflow-x: auto; max-width: 100%; }
.system-voice .notice { font-size: 12px; line-height: 1.6; }
[data-theme="dark"] .system-voice { background: #10182c; color: #f1f4ff; }
[data-theme="dark"] .system-voice button { color: #f1f4ff; background: #19243d; border-color: #63769e; }
[data-theme="dark"] .system-voice button.primary { color: #fff; background: #4666db; border-color: #4666db; }
@media (max-height: 620px) { .system-voice-robot { width: 80px; } .system-voice-hint { margin-bottom: 10px; } }
