/* Existing dubbing and collection workflows, styled without changing their DOM. */
body.studio-shell,body.voice-admin-shell{background:var(--bg);color:var(--ink);font-family:var(--sans)}
body.studio-shell{display:flex}body.studio-shell>aside{width:235px;min-height:100svh;padding:30px 20px;background:var(--surface);border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;overflow:auto}body.studio-shell>main{margin-left:235px;padding:32px 38px 50px;width:calc(100% - 235px);min-width:0;max-width:1700px}body.studio-shell .brand{font-size:24px;font-weight:750;letter-spacing:-.05em;color:var(--green);display:block;text-decoration:none;line-height:1.3;margin-bottom:24px}body.studio-shell .brand span{color:var(--muted);font-size:10px;letter-spacing:.2em;margin:6px 0}body.studio-shell aside>.btn{margin:8px 0;display:flex}body.studio-shell aside>button{width:100%;margin:14px 0}body.studio-shell aside>nav{display:grid;gap:9px}body.studio-shell .muted,body.voice-admin-shell .muted,body.studio-shell .hint,body.voice-admin-shell .hint{color:var(--muted);line-height:1.7}body.studio-shell .status{color:var(--muted);font-size:11px;padding-top:20px;border-top:1px solid var(--line);line-height:1.8}body.studio-shell #projects button{color:var(--muted);background:transparent;text-align:left;border-radius:7px}body.studio-shell #projects button:hover{color:var(--green);background:var(--green-soft)}body.studio-shell>main>header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:12px}body.studio-shell h1{font:400 36px/1.15 var(--serif);color:var(--ink);letter-spacing:-.04em;margin:8px 0 18px}body.studio-shell h2{color:var(--ink);font:600 18px/1.4 var(--sans);letter-spacing:-.025em}body.studio-shell h3{color:var(--ink);font:600 13px/1.4 var(--sans)}body.studio-shell small{color:var(--muted);font-size:10px;letter-spacing:.08em}body.studio-shell #language{width:130px;flex:none}
body.studio-shell button,body.voice-admin-shell button,body.studio-shell .download{border:1px solid transparent;border-radius:99px;background:#108a00;color:white;padding:10px 17px;font:600 12px/1.5 var(--sans);text-decoration:none;filter:none;min-height:39px}body.studio-shell button:hover,body.voice-admin-shell button:hover{filter:none;opacity:.9}body.studio-shell button.secondary,body.voice-admin-shell button.secondary,body.studio-shell .download.secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}body.studio-shell button.danger,body.voice-admin-shell button.danger{background:var(--danger-bg);color:var(--danger);border-color:var(--danger)}body.studio-shell input:not([type=checkbox]):not([type=radio]),body.studio-shell select,body.studio-shell textarea,body.voice-admin-shell input:not([type=checkbox]):not([type=radio]),body.voice-admin-shell select,body.voice-admin-shell textarea{background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:8px;padding:11px 12px;min-width:0;max-width:100%;font-family:var(--sans)}body.studio-shell input[type=checkbox],body.studio-shell input[type=radio],body.voice-admin-shell input[type=checkbox]{accent-color:#108a00;width:17px;height:17px}body.studio-shell #notice,body.voice-admin-shell #notice{background:var(--green-soft);color:var(--ink);border:1px solid var(--line);padding:13px 16px;border-radius:9px;font-size:12px}body.studio-shell #notice:empty,body.voice-admin-shell #notice:empty{display:none}body.studio-shell .workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:22px}body.studio-shell .preview,body.studio-shell .pipeline,body.studio-shell .editor,body.studio-shell .cast-panel,body.studio-shell .result,body.studio-shell .statistics-panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px;min-width:0}body.studio-shell .cast-panel,body.studio-shell .result,body.studio-shell .statistics-panel,body.studio-shell .editor{margin-top:22px}body.studio-shell video{max-width:100%;background:#0a120d;border-radius:9px}body.studio-shell .preview-label{color:var(--muted);font-size:10px;letter-spacing:.08em}body.studio-shell .step{border-bottom:1px solid var(--line);border-top:0;display:flex;padding:16px 0;gap:15px}body.studio-shell .step b{color:var(--green)}body.studio-shell .step span{color:var(--ink);font-size:12px;margin:0;letter-spacing:normal}body.studio-shell .step p{color:var(--muted);font-size:11px;margin:5px 0 0}body.studio-shell .toolbar{margin-bottom:14px}body.studio-shell .segment{border-color:var(--line);min-width:0;gap:13px}body.studio-shell .segment>div{min-width:0}body.studio-shell .segment label{color:var(--muted);font-size:10px}body.studio-shell .segment textarea{min-height:100px}body.studio-shell .voice-controls{border-color:var(--line)}body.studio-shell .empty{color:var(--muted)}body.studio-shell .target-language-bar{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:17px;display:flex;flex-wrap:wrap;gap:14px;margin-block:20px}body.studio-shell .target-language-bar>label{display:grid;flex:1;gap:7px;min-width:180px;font-size:12px;color:var(--ink)}body.studio-shell .target-language-bar p{margin:0;flex-basis:100%}body.studio-shell .speaker-card,body.studio-shell .model-card{background:var(--bg);border:1px solid var(--line);border-radius:10px;color:var(--ink);padding:17px;min-width:0}body.studio-shell .speaker-card strong,body.studio-shell .model-card strong{color:var(--ink)}body.studio-shell .speaker-card small{color:var(--muted);letter-spacing:normal}body.studio-shell .voice-metrics,body.studio-shell .voice-metrics td{border-color:var(--line);color:var(--muted);font-size:11px}body.studio-shell #progress-panel{background:var(--green-soft);border:1px solid var(--line);border-radius:11px;color:var(--ink)}body.studio-shell #progress-warning{color:var(--muted)}body.studio-shell #error-panel{border-color:var(--danger);background:var(--danger-bg);color:var(--danger)}body.studio-shell .statistics-row{color:var(--muted);border-color:var(--line);background:transparent}body.studio-shell .statistics-row.is-active{color:var(--green);background:var(--green-soft)}body.studio-shell .badge{background:var(--green-soft);color:var(--green);border-color:var(--line)}body.studio-shell dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:18px;max-width:min(700px,calc(100vw - 30px))}body.studio-shell dialog label{color:var(--ink)}body.studio-shell .dialog-notice{color:var(--muted)}body.studio-shell .settings-grid{gap:15px}body.studio-shell .choice{border-color:var(--line);background:var(--bg);color:var(--ink)}
body.voice-admin-shell{display:block}body.voice-admin-shell>header{padding:23px max(25px,calc((100vw - 1240px)/2));background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px}body.voice-admin-shell>header .brand{color:var(--green);font-size:24px;letter-spacing:-.05em}body.voice-admin-shell>header .brand span{color:var(--muted);font-size:10px;letter-spacing:.12em}body.voice-admin-shell .admin-tag{color:var(--green);background:var(--green-soft);border:1px solid var(--line);font-size:10px;letter-spacing:.08em}body.voice-admin-shell #logout{margin-left:auto}body.voice-admin-shell>main{width:min(1240px,calc(100% - 50px));padding:35px 0 60px;margin:auto}body.voice-admin-shell h1{font:400 44px/1.1 var(--serif);color:var(--ink);letter-spacing:-.045em}body.voice-admin-shell h2{font:600 19px/1.4 var(--sans);color:var(--ink)}body.voice-admin-shell h3{color:var(--ink)}body.voice-admin-shell .heading>p{color:var(--muted)}body.voice-admin-shell .heading>.eyebrow{color:var(--green)}body.voice-admin-shell .panel,body.voice-admin-shell .profile-card{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:24px;min-width:0}body.voice-admin-shell label{color:var(--ink);font-size:12px}body.voice-admin-shell .top-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}body.voice-admin-shell .profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}body.voice-admin-shell .section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}body.voice-admin-shell .badge{border-color:var(--line);background:var(--green-soft);color:var(--green)}body.voice-admin-shell .health span{background:var(--green-soft);border-color:var(--line);color:var(--green)}body.voice-admin-shell .health .missing{background:var(--warning-bg);color:var(--warning)}body.voice-admin-shell .source,body.voice-admin-shell .job{border-color:var(--line);background:var(--bg);color:var(--ink);border-radius:9px}body.voice-admin-shell .source a,body.voice-admin-shell .job a{color:var(--green)}body.voice-admin-shell .error{color:var(--danger)}body.voice-admin-shell .pipeline li{color:var(--muted);border-color:var(--line)}body.voice-admin-shell .profile-card table{width:100%;color:var(--muted);font-size:11px}body.voice-admin-shell .profile-card td{border-color:var(--line)}body.voice-admin-shell summary{color:var(--ink)}body.voice-admin-shell .transcript{background:var(--soft);border-color:var(--line);color:var(--muted)}body.voice-admin-shell .narrow{max-width:480px}body.voice-admin-shell #profile-filter,body.voice-admin-shell #category-filter{max-width:220px}
@media(max-width:1100px){body.studio-shell>aside{width:210px;padding:25px 16px}body.studio-shell>main{margin-left:210px;width:calc(100% - 210px);padding:28px 25px}body.studio-shell .workspace{grid-template-columns:1fr}body.studio-shell .pipeline{display:none}body.studio-shell #cast{grid-template-columns:1fr}body.voice-admin-shell .profile-grid{grid-template-columns:1fr}}
@media(max-width:760px){body.studio-shell{display:block}body.studio-shell>aside{position:static;width:100%;min-height:0;padding:18px;border-right:0;border-bottom:1px solid var(--line);display:flex;align-items:center;flex-wrap:wrap;gap:10px}body.studio-shell .brand{margin:0 auto 0 0;font-size:20px}body.studio-shell .brand span,body.studio-shell aside>.muted,body.studio-shell aside .status,body.studio-shell #projects{display:none}body.studio-shell aside>.btn,body.studio-shell aside>button{width:auto;margin:0;font-size:10px;min-height:34px;padding:8px 12px}body.studio-shell aside>nav{flex-basis:100%;display:flex;gap:8px;flex-wrap:wrap;padding-top:6px}body.studio-shell aside>nav button{font-size:10px;padding:8px 13px;min-height:34px}body.studio-shell>main{margin-left:0;width:100%;padding:24px 18px}body.studio-shell h1{font-size:30px}body.studio-shell .segment{display:grid;grid-template-columns:1fr}body.studio-shell .segment>div{grid-column:1!important}body.studio-shell .segment>.voice-controls{flex-wrap:wrap}body.studio-shell .segment>button{justify-self:end}body.studio-shell .preview,body.studio-shell .editor,body.studio-shell .cast-panel,body.studio-shell .result,body.studio-shell .statistics-panel{padding:17px}body.studio-shell video{height:auto;min-height:160px;max-height:300px}body.studio-shell .target-language-bar>label{min-width:0;flex-basis:100%}body.studio-shell .settings-grid{grid-template-columns:1fr}body.studio-shell .toolbar>div{gap:7px}body.studio-shell .toolbar button{font-size:10px;min-height:34px;padding:8px 12px}body.voice-admin-shell>header{padding:18px;gap:12px}body.voice-admin-shell>header .brand{font-size:20px}body.voice-admin-shell>main{width:calc(100% - 36px);padding-top:28px}body.voice-admin-shell h1{font-size:35px}body.voice-admin-shell .top-grid{grid-template-columns:1fr;gap:0}body.voice-admin-shell .panel,body.voice-admin-shell .profile-card{padding:18px}body.voice-admin-shell .form-grid{grid-template-columns:1fr}body.voice-admin-shell .section-head select{max-width:100%;width:100%}body.voice-admin-shell .job-head{flex-wrap:wrap;gap:10px}body.voice-admin-shell .pager{flex-wrap:wrap}}
