.voice-editor-dialog{box-sizing:border-box;width:85vw;max-width:1600px;height:80vh;max-height:calc(100dvh - 24px);padding:0;border:1px solid #677993;border-radius:14px;background:#141e2c;color:#f4f7fc;overflow:hidden}
.voice-editor-dialog[open]{display:flex;flex-direction:column}.voice-editor-dialog::backdrop{background:#000a;backdrop-filter:blur(2px)}
.voice-editor-header{display:flex;gap:12px;padding:16px 20px;border-bottom:1px solid #36465c;flex-shrink:0}.voice-editor-header>div{flex:1;min-width:0}.voice-editor-header h2{font-size:18px;margin:0}.voice-editor-header p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:6px 0;font-size:13px}.voice-editor-header small{color:#b1c3da}.voice-editor-header button{font-size:26px;align-self:start}
.voice-editor-tabs{display:flex;gap:6px;padding:8px 20px;background:#1b283a;flex-shrink:0}.voice-editor-tabs button{padding:8px 16px;border:1px solid #4c627e;border-radius:6px;color:#e7edfa;background:#202e43}.voice-editor-tabs button[aria-selected=true]{background:#6853ba;border-color:#b9a6ff;color:#fff;font-weight:700}
.voice-editor-body{padding:8px 20px 18px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}.voice-origin-help{font-size:12px;color:#afc0d9;margin:3px 0 10px}
.voice-editor-dialog #voiceSegmentInspector,.voice-editor-dialog [data-editor-panel=clips],.voice-editor-dialog [data-editor-panel=candidates]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;align-items:start}
.voice-editor-dialog #voiceVersionControls{display:contents}.voice-editor-dialog [data-editor-panel][hidden]{display:none!important}
.voice-editor-dialog .voice-field{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:8px;padding:6px 0;margin:0;border-bottom:1px solid #344155;min-height:42px;box-sizing:border-box;font-size:13px}
.voice-editor-dialog .voice-field>span{margin:0;color:#c6d4e7}.voice-editor-dialog input,.voice-editor-dialog select{box-sizing:border-box;width:100%;min-height:30px;height:32px;padding:4px 8px;font-size:13px;border:1px solid #455773;border-radius:5px;background:#101826;color:#f5f7fb}.voice-editor-dialog input[type=number]{max-width:120px}.voice-editor-dialog textarea{width:100%;box-sizing:border-box;min-height:54px;line-height:1.5;padding:6px 8px;background:#101826;color:#f5f7fb;border:1px solid #455773;border-radius:5px}
.voice-editor-dialog .voice-field:has([data-direction=delivery]),.voice-editor-dialog .voice-field:has([data-direction=continuityNote]),.voice-editor-dialog .voice-field:has([data-direction=finalInstructions]),.voice-editor-dialog .voice-doc-edit-field,.voice-editor-dialog .voice-source-metadata,.voice-editor-dialog .button-row,.voice-editor-dialog .voice-note,.voice-editor-dialog h3{grid-column:1/-1}
.voice-editor-dialog .button-row{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0}.voice-editor-dialog button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.voice-timeline-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:8px}.voice-timeline-header h2{margin:0}.voice-timeline-header>div{display:flex;gap:8px}.voice-timeline-header button{padding:7px 12px;border:1px solid #9883e1;background:#584393;color:#fff;border-radius:6px}.voice-timeline-header button:disabled{opacity:.4;cursor:not-allowed}
.voice-document-editor,.voice-timeline,.voice-audio-comparison{margin-bottom:8px;padding:10px}.voice-document-viewport{height:clamp(190px,32vh,380px)}.voice-document-page{min-height:0;padding:12px 18px}.voice-document-speech{min-height:0}.voice-document-page header{margin-bottom:8px}.voice-doc-utterance{margin-bottom:4px;padding:5px 8px}.voice-document-status:empty{display:none}.voice-document-editor>.voice-note{font-size:11px;margin:6px 0}.voice-heading{margin-bottom:8px}.voice-heading h1{font-size:18px}
.voice-mode-switch{display:flex;gap:4px;padding:4px;border:1px solid #637793;background:#17263b;border-radius:9px}.voice-mode-switch .seg{font-size:14px;font-weight:700;padding:8px 12px;border:1px solid transparent;border-radius:6px}.voice-mode-switch .seg.active{background:#5e50bd;color:#fff;border-color:#c6b5ff;box-shadow:0 0 0 1px #9c87ed}.voice-mode-switch .seg[data-format=voice].active{background:#936315;border-color:#ffd380}
@media(max-width:800px){.voice-editor-dialog{width:96vw;height:88dvh}.voice-editor-dialog #voiceSegmentInspector,.voice-editor-dialog [data-editor-panel=clips],.voice-editor-dialog [data-editor-panel=candidates]{grid-template-columns:1fr}.voice-editor-header,.voice-editor-body{padding:10px}.voice-editor-tabs{padding:8px;gap:4px}.voice-editor-tabs button{padding:7px 10px}.voice-editor-dialog .voice-field{grid-template-columns:110px minmax(0,1fr)}}
@media(max-height:700px){.voice-editor-dialog{height:90dvh}.voice-document-viewport{height:200px}.voice-editor-header{padding:8px 14px}.voice-editor-header p{margin:3px 0}}
.voice-result-actions{display:flex;gap:8px;margin-left:auto;align-items:center}.voice-step-toolbar{position:relative}.voice-step-toolbar .voice-work-actions:empty,.voice-generation-bar:empty{display:none}.voice-compact-dialog dl{display:grid;grid-template-columns:110px 1fr;gap:10px}.voice-compact-dialog dd{margin:0;overflow-wrap:anywhere}.voice-compact-dialog [data-result-close]{float:right}.voice-candidate-summary{margin:8px 0;color:#bbc6dc;font-size:12px}.voice-range-advanced{margin-top:16px}.member-usage-table{width:100%;border-collapse:collapse;font-size:12px}.member-usage-table th,.member-usage-table td{padding:7px;border-bottom:1px solid #3a4459;text-align:right}.member-usage-scroll{overflow:auto;max-height:380px}.member-usage{margin:16px 0}.member-usage label{display:flex!important;align-items:center}.member-usage select{width:110px!important}
.voice-step-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px}.voice-step-sequence{flex:1 1 auto}.voice-step-toolbar .voice-result-actions{order:1;flex:0 0 auto}.voice-step-toolbar .voice-step-extras{order:2;flex-basis:100%;margin-top:0}.voice-step-toolbar .voice-errors,.voice-step-toolbar .voice-workflow-impact,.voice-step-toolbar .voice-work-actions{order:3;flex-basis:100%;margin:0}.voice-step-toolbar .voice-errors:empty{display:none}
@media(max-width:780px){body.voice-mode .app-shell{min-width:0;width:100%;height:100dvh;min-height:0}body.voice-mode .brand{min-width:0}body.voice-mode .topbar:after{display:none}body.voice-mode #voiceWorkspace{padding:10px;min-width:0}body.voice-mode .voice-studio-shell{grid-template-columns:1fr;gap:8px}body.voice-mode .voice-sidebar{position:static}body.voice-mode .voice-sidebar [role=tablist]{flex-direction:row;gap:3px}body.voice-mode .voice-sidebar [role=tab]{flex:1;justify-content:center;min-width:0;padding:7px 3px}.voice-step-slot button{padding:7px 8px}.voice-step-sequence{gap:5px}.voice-timeline-header>div{flex-wrap:wrap}.voice-document-page{padding:8px}.voice-time-scroll{max-width:100%}}
