@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Inter Variable,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e9eae8;background:#141617;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #141617;--panel: #1b1d1f;--raised: #232629;--hover: #2b2f32;--line: #34383b;--text: #e9eae8;--muted: #a7adb0;--subtle: #929da3;--amber: #f0bb75;--on-amber: #231c13;--amber-hover: #f5ca91;--amber-bg: #3c3123;--good: #8bccb0;--danger: #ef958d;--editor: #1d2022;--radius: 10px;--shadow: 0 14px 50px rgba(0, 0, 0, .35)}:root[data-theme=light]{--bg: #f0f0eb;--panel: #fafaf6;--raised: #e8e9e3;--hover: #dfe2db;--line: #cdd1c8;--text: #202723;--muted: #58655d;--subtle: #58665d;--amber: #7b4b13;--on-amber: #fffaf2;--amber-hover: #714311;--amber-bg: #f1e3cc;--good: #27704c;--danger: #ab3935;--editor: #ffffff;--shadow: 0 14px 50px rgba(30, 40, 30, .14);color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[contenteditable]:focus-visible{outline:2px solid var(--amber)}button{color:inherit}button svg{flex-shrink:0}button{transition:background-color .15s,color .15s}input,select,textarea{color:var(--text);background:var(--raised);border:1px solid var(--line);border-radius:6px;caret-color:var(--amber)}input::placeholder,textarea::placeholder{color:var(--subtle)}input[type=range]{accent-color:var(--amber);cursor:pointer;border:0;border-radius:0;padding:0;min-height:20px}input[type=checkbox]{accent-color:var(--amber);width:17px;height:17px;flex-shrink:0}input[type=color]{border:0;width:28px;height:28px;padding:0;background:none;cursor:pointer}input[type=number]{font-variant-numeric:tabular-nums}::selection{background:#765432;color:#fff8ec}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:var(--line);border-radius:6px}::-webkit-scrollbar-track{background:transparent}h1,h2,h3,h4,p{margin:0}h2{font-size:15px;font-weight:600}h3{font-size:18px;font-weight:600;letter-spacing:-.025em}h4{font-size:13px;font-weight:600}small{font-size:11px}code,kbd{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}kbd{border:1px solid var(--line);padding:2px 5px;border-radius:4px;font-weight:400;color:var(--muted)}.studio-shell{display:grid;grid-template-columns:230px minmax(0,1fr);grid-template-rows:66px minmax(0,1fr);min-height:100dvh;height:100dvh;background:var(--bg);color:var(--text);font-size:13px;overflow:hidden}.app-header{grid-column:1/-1;display:flex;align-items:center;gap:30px;padding:0 24px;border-bottom:1px solid var(--line);background:var(--panel)}.brand{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:650;letter-spacing:-.035em}.brand svg{color:var(--amber)}.brand-weight{font-weight:400}.header-session{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:12px;padding-left:36px}.header-actions{margin-left:auto;display:flex;gap:8px;align-items:center}.local-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin-right:12px}.status-dot{display:inline-block;width:6px;height:6px;background:var(--good);border-radius:50%;flex-shrink:0}.status-dot.live{background:var(--amber)}.status-dot.disconnected{background:var(--subtle)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;border:0;background:transparent;border-radius:6px;color:var(--muted);padding:0}.icon-button:hover{background:var(--hover);color:var(--text)}.icon-button.selected{background:var(--amber-bg);color:var(--amber)}.icon-button.danger{color:var(--danger)}.primary-button,.subtle-button,.danger-button{display:inline-flex;gap:7px;align-items:center;justify-content:center;padding:9px 12px;min-height:34px;border-radius:6px;font-size:12px;font-weight:550;white-space:nowrap}.primary-button{background:var(--amber);color:var(--on-amber);border:0}.primary-button:hover{background:var(--amber-hover)}.subtle-button{background:var(--raised);border:1px solid var(--line);color:var(--text)}.subtle-button:hover,.subtle-button.active{background:var(--hover)}.danger-button{background:#66382f;color:#ffe5df;border:0}.full-width{width:100%}.library{grid-row:2;grid-column:1;display:flex;flex-direction:column;border-right:1px solid var(--line);padding:22px 12px 0;background:var(--panel);min-height:0}.library-heading{display:flex;align-items:center;justify-content:space-between;padding:0 7px 16px}.library-heading h2{font-size:13px}.library-heading .icon-button{width:24px}.library-switch{display:flex;flex-direction:column;gap:3px;margin-bottom:18px}.library-switch button{display:flex;gap:9px;padding:10px 11px;border:0;border-radius:6px;text-align:left;background:none;color:var(--muted);font-size:12px}.library-switch button.active{background:var(--raised);color:var(--text)}.library-switch button span{margin-left:auto;font-size:11px;color:var(--subtle);font-variant-numeric:tabular-nums}.new-script{width:100%;display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--panel);border-radius:6px;padding:9px;color:var(--text);font-size:12px}.new-script:hover{background:var(--hover)}.new-script span{margin-left:auto;color:var(--subtle);font-size:11px}.library-search{display:flex;align-items:center;gap:6px;margin:18px 4px 14px;color:var(--subtle)}.library-search input{border:0;background:none;min-width:0;width:100%;padding:5px 0;font-size:11px}.library-list{flex:1;overflow:auto;margin:0 -2px}.script-item{position:relative;border-radius:7px;margin-bottom:4px;padding-bottom:3px}.script-item.active{background:var(--amber-bg)}.script-select{display:flex;gap:10px;width:100%;text-align:left;padding:12px 10px 8px;background:none;border:0;align-items:flex-start;color:var(--muted)}.script-select svg{margin-top:2px;flex-shrink:0}.script-item.active .script-select{color:var(--amber)}.script-select span{min-width:0}.script-select strong{display:block;font-weight:500;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.script-select small{display:block;color:var(--muted);margin-top:4px;font-size:10px}.script-actions{display:flex;padding-left:34px;gap:3px}.script-actions .icon-button{width:25px;height:24px;opacity:1}.script-item:hover .script-actions .icon-button,.script-item.active .script-actions .icon-button{opacity:1}.library-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 15px;color:var(--muted);font-size:12px;line-height:1.7;gap:9px}.library-empty strong{font-size:13px;color:var(--text)}.library-empty p{font-size:11px}.library-bottom{border-top:1px solid var(--line);margin:15px 0 0;padding:12px 0 18px;display:flex;flex-direction:column;gap:2px}.library-bottom button{display:flex;gap:8px;align-items:center;border:0;padding:8px 7px;background:none;color:var(--muted);font-size:11px;text-align:left;border-radius:5px}.library-bottom button:hover{background:var(--hover);color:var(--text)}.library-bottom p{font-size:10px;color:var(--subtle);line-height:1.6;margin:12px 7px 0}.rundown-item{display:flex;align-items:center;gap:8px;padding:10px 7px;border-bottom:1px solid var(--line)}.rundown-item.active{background:var(--amber-bg)}.rundown-number{color:var(--subtle);font-variant-numeric:tabular-nums}.rundown-item>button{border:0;background:none;font-size:12px;text-align:left;flex:1}.rundown-item>div{display:flex;flex-direction:column}.rundown-item .icon-button{height:20px;width:22px}.main-workspace{min-width:0;min-height:0;display:flex;flex-direction:column}.workspace-bar{display:flex;gap:12px;align-items:center;padding:16px 24px;border-bottom:1px solid var(--line);flex-shrink:0}.workspace-context{display:flex;align-items:center;gap:8px;color:var(--subtle);font-size:11px;min-width:0;flex:1}.workspace-context strong{font-weight:500;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.peer-count{font-size:10px;background:var(--panel);padding:2px 5px;border-radius:3px;color:var(--muted)}.desk-content{display:grid;grid-template-columns:minmax(300px,1.15fr) minmax(300px,1fr);gap:24px;padding:24px;min-height:0;flex:1;overflow:auto}.script-desk{display:flex;flex-direction:column;min-width:0;min-height:460px}.script-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.script-title-row>input{border:0;background:none;border-radius:0;padding:0;width:100%;min-width:0;font-size:25px;font-weight:600;letter-spacing:-.035em;color:var(--text)}.saved-label{display:flex;gap:4px;align-items:center;white-space:nowrap;color:var(--subtle);font-size:10px}.script-details{display:flex;align-items:center;gap:12px;margin-top:11px;color:var(--subtle);font-size:10px;flex-wrap:wrap}.script-details>span+span{padding-left:12px;border-left:1px solid var(--line)}.script-details label{flex:1;min-width:100px}.script-details input{border:0;border-bottom:1px solid transparent;background:none;border-radius:0;padding:2px 0;width:100%;font-size:10px;text-align:right}.script-details input:focus{border-color:var(--line)}.script-tabs{display:flex;align-items:center;justify-content:space-between;margin-top:27px;border-bottom:1px solid var(--line);flex-shrink:0}.script-tabs>div{display:flex;gap:18px}.script-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:0 0 12px;color:var(--muted);font-size:12px}.script-tabs button.active{color:var(--text);border-bottom-color:var(--amber)}.script-tabs select{border:0;font-size:10px;background:none;max-width:120px;margin-bottom:10px;color:var(--subtle);padding:3px}.rich-editor{background:var(--editor);border:1px solid var(--line);border-radius:8px;margin-top:16px;flex:1;display:flex;flex-direction:column;min-height:320px;overflow:hidden}.editor-toolbar{display:flex;align-items:center;gap:1px;padding:7px 9px;border-bottom:1px solid var(--line);flex-shrink:0;flex-wrap:wrap;row-gap:5px}.editor-toolbar .icon-button{width:28px;height:28px}.toolbar-divider{width:1px;height:15px;background:var(--line);margin:0 5px}.toolbar-spacer{flex:1}.color-control{position:relative;display:flex;align-items:center;justify-content:center;width:28px;height:28px}.color-letter{font-family:inherit;font-size:17px;border-bottom:3px solid var(--amber);line-height:18px}.color-control input{position:absolute;inset:0;opacity:0;width:100%;height:100%}.rich-editor>div:has(>.tiptap){flex:1;min-height:0;overflow:auto}.script-content{padding:24px 26px;min-height:100%;font-size:17px;line-height:1.8;outline:none;color:var(--text);overflow-wrap:anywhere}.script-content p{margin-bottom:1.1em}.script-content h1{font-size:1.5em;line-height:1.35;margin:1.3em 0 .5em}.script-content h2{font-size:1.25em;margin:1.3em 0 .5em}.script-content ul,.script-content ol{padding-left:1.4em}.script-content blockquote{margin:1em 0;border-left:1px solid var(--amber);padding-left:18px;color:var(--muted)}.script-content .is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--subtle);pointer-events:none;height:0}.editor-footnote{padding:10px 14px;border-top:1px solid var(--line);font-size:10px;line-height:1.6;color:var(--subtle)}.editor-footnote code{font-size:10px;color:var(--muted)}.notes-editor{flex:1;margin-top:16px;display:flex;flex-direction:column;gap:12px;padding:22px;background:var(--editor);border:1px solid var(--line);border-radius:8px}.notes-editor label{font-size:13px;color:var(--muted)}.notes-editor textarea{flex:1;resize:vertical;min-height:230px;padding:14px;line-height:1.7}.notes-editor p{font-size:11px;line-height:1.6;color:var(--subtle)}.script-navigator{padding:12px 16px;border-bottom:1px solid var(--line);background:var(--panel);flex-shrink:0}.feature-recovery{padding:16px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:8px;font-size:12px;line-height:1.6}.feature-recovery p{margin:0 0 10px}.script-navigator[hidden]{display:none}.script-find-row{display:flex;align-items:center;gap:6px}.script-find-row input{min-width:0;flex:1;padding:9px 10px;background:var(--raised);border:1px solid var(--line);border-radius:6px}.script-find-result{color:var(--muted);font-size:11px;margin:8px 0}.script-find-excerpt{color:var(--text);font-size:12px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.script-navigation-actions{display:flex;flex-wrap:wrap;gap:6px}.script-navigation-actions .subtle-button{font-size:11px;padding:7px 8px}.script-tabs .icon-button{padding:0;align-self:center;flex-shrink:0;border:0}.script-title-row input[readonly],.script-details input[readonly],.notes-editor textarea[readonly]{color:var(--muted)}.cue-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 0 0}.cue-strip>div{display:flex;gap:5px;align-items:center;color:var(--subtle);font-size:10px;margin-right:3px}.cue-strip button{background:var(--raised);color:var(--muted);border:0;padding:6px 8px;border-radius:4px;font-size:10px}.cue-strip button:hover{background:var(--amber-bg);color:var(--amber)}.cue-strip button small{margin-left:8px;opacity:1;font-variant-numeric:tabular-nums}.cue-strip p{font-size:10px;color:var(--subtle)}.preview-desk{display:flex;flex-direction:column;gap:16px;min-width:0;min-height:0}.preview-heading{display:flex;align-items:center;gap:10px;height:24px}.preview-heading h2{font-size:12px}.preview-heading>span{font-size:10px;color:var(--subtle);margin-left:auto}.preview-heading .icon-button{width:24px;height:24px}.preview-screen{position:relative;width:100%;max-width:100%;min-width:0;background:#000;border:1px solid var(--line);border-radius:8px;min-height:230px;aspect-ratio:1.65;overflow:hidden;flex-shrink:0}.prompt-surface{position:relative;height:100%;width:100%;overflow:hidden;container-type:size}.prompt-transform{position:absolute}.prompt-optical{position:absolute;inset:0}.prompt-viewport{height:100%;overflow:auto;scrollbar-width:none;position:relative;overscroll-behavior:contain;touch-action:none}.prompt-viewport::-webkit-scrollbar{display:none}.prompt-content{position:relative;margin:0;overflow-wrap:anywhere}.prompt-content p{margin:0 0 .9em}.prompt-content h1,.prompt-content h2,.prompt-content h3{font-size:1em;font-weight:700;line-height:inherit;margin:.7em 0}.prompt-content p,.prompt-content div,.prompt-content li,.prompt-content blockquote,.prompt-content h1,.prompt-content h2,.prompt-content h3{text-align:inherit!important}.prompt-word{cursor:pointer}.talent-surface .prompt-word{cursor:default}.active-word{background:#f0bb7538;border-radius:2px;box-shadow:0 1px #f0bb75}.hide-past .past-word{opacity:.28}.cue-word{font-size:.7em;opacity:.55}.reading-guide{position:absolute;left:0;right:0;display:flex;justify-content:space-between;z-index:2;pointer-events:none}.reading-guide span{width:10px;height:15px;background:#f0bb75;clip-path:polygon(0 0,100% 50%,0 100%)}.reading-guide span:last-child{transform:rotate(180deg)}.preview-screen-label{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;gap:6px;padding:8px 11px;background:#121415f2;font-size:8px;color:#a7adb0;letter-spacing:.055em}.preview-screen-label>span:last-child{margin-left:auto;font-variant-numeric:tabular-nums;letter-spacing:0}.preview-screen-label .status-dot{width:4px;height:4px}.blackout-overlay{position:absolute;inset:0;background:#000;z-index:5}.emergency-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:8%;background:#24120e;color:#ffe6db;font-size:clamp(26px,6vw,90px);font-weight:650;z-index:6;overflow-wrap:anywhere}.countdown-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#f0bb75;font-size:clamp(50px,10vw,150px);background:#000c;font-variant-numeric:tabular-nums;z-index:4}.empty-prompt{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:18px;color:#a7adb0;pointer-events:none}.preview-progress{display:flex;flex-direction:column;gap:7px}.preview-progress label{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.preview-progress strong{color:var(--amber);font-size:10px;font-weight:500;font-variant-numeric:tabular-nums}.preview-progress input{width:100%;margin:0}.preview-progress>span{font-size:9px;color:var(--subtle)}.preview-metrics{display:flex;justify-content:space-between;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:15px}.preview-metrics>div{display:flex;flex-direction:column;gap:7px}.preview-metrics>div>span{font-size:10px;color:var(--subtle)}.preview-metrics strong{font-size:23px;font-weight:450;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.preview-metrics small{font-size:10px;letter-spacing:0;font-weight:400;color:var(--subtle);margin-left:5px}.speech-console{padding:17px;background:var(--panel);border:1px solid var(--line);border-radius:8px}.speech-heading{display:flex;align-items:center;gap:8px}.speech-heading>svg{color:var(--amber)}.speech-heading strong{font-size:12px;font-weight:500}.speech-heading>span{font-size:9px;margin-left:auto;color:var(--subtle);max-width:140px;overflow-wrap:anywhere;text-align:right}.speech-heading>span.listening{color:var(--good)}.speech-console p{font-size:11px;color:var(--muted);line-height:1.6;margin:10px 0 14px}.speech-actions{display:flex;align-items:center;gap:10px}.speech-actions>span{font-size:9px;color:var(--subtle)}.heard-transcript{font-size:11px;color:var(--muted);margin-top:12px;border-top:1px solid var(--line);padding-top:10px;line-height:1.5;max-height:80px;overflow:auto}.heard-transcript>span{display:block;font-size:9px;color:var(--subtle);margin-bottom:4px}.preview-desk:fullscreen{background:var(--bg);padding:35px;max-width:none;justify-content:center}.preview-desk:fullscreen .preview-screen{aspect-ratio:auto;flex:1}.preview-desk:fullscreen .speech-console,.preview-desk:fullscreen .preview-metrics{display:none}.transport-bar{display:flex;align-items:center;gap:22px;padding:15px 24px;border-top:1px solid var(--line);background:var(--panel);flex-shrink:0}.transport-main{display:flex;align-items:center;gap:5px}.transport-main>.icon-button{width:32px;height:38px}.play-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:9px 16px;border:0;border-radius:6px;background:var(--amber);color:var(--on-amber);font-weight:600;font-size:12px;white-space:nowrap}.play-button.playing{background:var(--amber-bg);color:var(--amber)}.play-button kbd{color:inherit;opacity:1;border-color:currentColor;margin-left:6px;font-size:9px}.transport-mode{display:flex;flex-direction:column;gap:3px}.transport-mode>span,.transport-speed>span:first-child{font-size:9px;color:var(--subtle)}.transport-mode select{border:0;background:none;font-size:11px;max-width:140px;padding:0;color:var(--text)}.transport-speed{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.transport-speed input{width:54px;border:0;background:var(--raised);font-size:12px;padding:7px}.transport-safety{display:flex;align-items:center;gap:8px;margin-left:auto}.blackout-active{background:#66382f!important;color:#ffe5df!important;border-color:#66382f!important}.desk-status{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 24px;background:var(--panel);border-top:1px solid var(--line);color:var(--subtle);font-size:9px;flex-shrink:0;flex-wrap:wrap}.information-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:11px}.information-links a{color:var(--muted);text-decoration:underline;text-underline-offset:3px;padding-block:3px}.information-links a:hover{color:var(--amber)}.information-links a:focus-visible{outline:2px solid var(--amber);outline-offset:3px;border-radius:2px}.help-panel .information-links{margin-block:12px 24px}.desk-status>span{display:flex;gap:6px;align-items:center}.desk-status .status-dot{width:4px;height:4px}.utility-panel{position:fixed;top:66px;right:0;bottom:0;width:390px;background:var(--panel);box-shadow:var(--shadow);border-left:1px solid var(--line);z-index:20;overflow:auto;animation:panel-in .22s cubic-bezier(.16,1,.3,1)}@keyframes panel-in{0%{transform:translate(30px);opacity:.6}to{transform:translate(0);opacity:1}}.utility-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}.utility-heading h2{font-size:17px}.settings-tabs{display:flex;justify-content:space-between;padding:15px 10px 0;gap:2px}.settings-tabs button{display:flex;flex-direction:column;align-items:center;gap:7px;background:none;border:0;color:var(--muted);padding:10px 7px;font-size:10px;border-bottom:2px solid transparent}.settings-tabs button.active{color:var(--amber);border-bottom-color:var(--amber)}.settings-body{padding:24px 22px;display:flex;flex-direction:column;gap:23px}.settings-body h3{margin-bottom:2px}.setting-range{display:flex;flex-direction:column;gap:9px}.setting-range>span{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.setting-range output{color:var(--text);font-size:11px;font-variant-numeric:tabular-nums}.setting-range input{width:100%;margin:0}.setting-check{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;cursor:pointer}.setting-check small{display:block;color:var(--subtle);line-height:1.5;font-size:10px;margin-top:5px}.setting-field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted)}.setting-field select,.setting-field>input{padding:10px;width:100%;font-size:12px}.setting-colors{display:flex;justify-content:space-between;gap:25px}.setting-colors label{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;flex:1;color:var(--muted)}.segmented{display:flex;background:var(--raised);padding:3px;border-radius:6px;gap:3px}.segmented button{display:flex;gap:7px;align-items:center;justify-content:center;flex:1;background:none;border:0;padding:9px 8px;font-size:11px;color:var(--muted);border-radius:4px}.segmented button[aria-pressed=true]{background:var(--panel);color:var(--amber)}.alignment{max-width:170px}.setting-help{font-size:11px;line-height:1.7;color:var(--subtle);overflow-wrap:anywhere}.display-presets{display:flex;flex-direction:column;gap:6px}.display-presets button{display:flex;align-items:center;justify-content:space-between;padding:12px;background:var(--raised);border:0;border-radius:6px;font-size:12px;text-align:left}.display-presets button:hover{background:var(--hover)}.display-presets small{font-size:10px;color:var(--subtle)}.keyboard-reference{display:flex;flex-direction:column;gap:13px;margin-top:10px}.keyboard-reference h4{margin-bottom:3px}.keyboard-reference span{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.connections-panel,.help-panel{display:flex;flex-direction:column;gap:19px;padding:24px 22px}.connections-panel>p,.help-panel>p,.help-panel li{font-size:12px;line-height:1.7;color:var(--muted)}.connection-state{display:flex;gap:12px;align-items:center;background:var(--raised);padding:14px;border-radius:6px}.connection-state>svg{color:var(--good)}.connection-state strong{font-size:12px;font-weight:550}.connection-state small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.connection-qr{width:190px;height:190px;margin:0 auto;border-radius:6px}.connections-panel .setting-help{font-size:10px}.connections-panel h4{margin-top:6px}.peer-row{display:flex;align-items:center;gap:10px;font-size:12px}.peer-row small{display:block;font-size:10px;color:var(--subtle);margin-top:3px}.peer-row>.status-dot{margin-left:auto}.error-text{color:var(--danger)!important;font-size:11px;line-height:1.6}.help-panel h3{margin-top:9px}.help-panel h3:first-child{margin-top:0}.help-panel ol{padding-left:20px;margin:0;display:flex;flex-direction:column;gap:12px}.help-panel dl{display:grid;grid-template-columns:70px 1fr;gap:14px;margin:0;font-size:12px}.help-panel dt{font-family:ui-monospace,SFMono-Regular,monospace;color:var(--amber)}.help-panel dd{margin:0;color:var(--muted)}.emergency-editor{position:fixed;bottom:65px;left:254px;right:24px;background:var(--panel);box-shadow:var(--shadow);border:1px solid #71473a;border-radius:8px;padding:15px;z-index:25;display:flex;align-items:center;gap:15px}.emergency-editor>svg{color:var(--danger)}.emergency-editor label{display:flex;flex-direction:column;gap:6px;flex:1;font-size:10px;color:var(--muted)}.emergency-editor input{padding:8px;font-size:13px;width:100%}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:var(--text);color:var(--bg);padding:13px 16px;border-radius:7px;box-shadow:var(--shadow);display:flex;align-items:center;gap:10px;max-width:90%;z-index:50;font-size:12px;line-height:1.4}.toast>button{background:none;border:0;display:flex;color:inherit;margin-left:10px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.library-hidden{grid-template-columns:0 minmax(0,1fr)}.library-hidden .library{display:none}.layout-compact .desk-content{gap:18px;padding:18px;grid-template-columns:minmax(320px,1.45fr) minmax(280px,1fr)}.layout-compact .script-content{font-size:15px;padding:18px 22px}.layout-compact .speech-console{padding:12px}.layout-compact .preview-desk{gap:12px}.layout-focus .script-desk{display:none}.layout-focus .desk-content{display:block;padding:24px 50px}.layout-focus .preview-desk{max-width:900px;margin:auto;display:grid;grid-template-columns:1fr 1fr}.layout-focus .preview-heading,.layout-focus .preview-screen,.layout-focus .preview-progress{grid-column:1/-1}.layout-focus .preview-screen{aspect-ratio:2.5}.layout-focus .preview-metrics,.layout-focus .speech-console{align-self:start}.talent-page{height:100dvh;width:100vw;overflow:hidden;background:#000}.talent-chrome{position:fixed;top:18px;left:18px;right:18px;display:flex;align-items:center;gap:10px;background:#191c1ef2;color:#ddd;padding:10px 14px;border-radius:6px;font-size:12px;z-index:15}.talent-chrome>span{display:flex;align-items:center;gap:8px;flex:1}.talent-chrome button{display:flex;align-items:center;gap:7px;padding:9px;border:0;background:#353b3f;color:#fff;border-radius:5px}.remote-page{max-width:580px;margin:auto;padding:20px 20px 35px;min-height:100dvh;background:var(--bg);font-size:14px;color:var(--text)}.remote-page>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.remote-page .brand{font-size:20px}.remote-status{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--good)}.remote-status.offline{color:var(--subtle)}.remote-script>span{font-size:12px;color:var(--muted)}.remote-script h1{font-size:25px;font-weight:550;letter-spacing:-.03em;margin:8px 0 14px}.remote-script>div{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--subtle)}.remote-script strong{font-size:17px;color:var(--text);font-variant-numeric:tabular-nums;font-weight:450}.remote-preview{height:230px;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:18px 0 15px}.remote-position{width:100%;margin:0 0 18px}.remote-transport{display:flex;gap:12px}.remote-transport>button{display:flex;align-items:center;justify-content:center;min-height:68px;width:68px;background:var(--raised);border:0;border-radius:8px}.remote-transport>.play-button{flex:1;background:var(--amber);font-size:18px}.remote-speed{display:flex;align-items:center;justify-content:space-between;margin:22px 0}.remote-speed button{background:var(--raised);border:1px solid var(--line);padding:13px 19px;border-radius:6px;font-size:15px}.remote-speed>span{text-align:center;display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--muted)}.remote-speed strong{font-size:28px;color:var(--text);font-weight:500;font-variant-numeric:tabular-nums}.remote-safety{display:flex;gap:12px}.remote-safety button{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--line);background:var(--panel);border-radius:6px;padding:16px;font-size:13px}.remote-cues{margin:26px 0;display:flex;flex-wrap:wrap;gap:8px}.remote-cues h2{width:100%;margin-bottom:6px}.remote-cues button{display:flex;align-items:center;gap:7px;border:0;background:var(--raised);padding:12px;border-radius:6px;font-size:12px}.remote-emergency{margin:26px 0;color:var(--danger);font-size:12px}.remote-emergency summary{cursor:pointer;padding:12px 0}.remote-emergency input{width:100%;padding:12px;margin:10px 0}.remote-emergency button{margin:0 6px 8px 0;padding:10px;border-radius:6px;border:0}.remote-footer{font-size:11px;line-height:1.7;color:var(--subtle);text-align:center;margin-top:25px}@media(min-width:1600px){.desk-content{padding:32px;gap:32px}.script-content{font-size:19px;padding:30px}.preview-screen{max-height:410px}.preview-desk{gap:22px}.studio-shell{grid-template-columns:250px minmax(0,1fr)}.library-hidden{grid-template-columns:0 minmax(0,1fr)}.script-title-row>input{font-size:29px}}@media(max-width:1200px){.studio-shell{grid-template-columns:210px minmax(0,1fr)}.desk-content{gap:16px;padding:18px;grid-template-columns:minmax(280px,1.1fr) minmax(250px,1fr)}.workspace-bar{padding:14px 18px}.workspace-context{display:none}.workspace-actions{width:100%;justify-content:flex-end}.transport-bar{gap:12px;padding:14px 18px}.transport-main{gap:0}.play-button{padding:9px 13px}.play-button kbd{display:none}.transport-speed>span:first-child{display:none}.transport-safety .subtle-button{padding:8px}.header-session{padding-left:15px}.script-details{gap:8px}.preview-metrics strong{font-size:20px}.saved-label{display:none}.script-title-row>input{font-size:23px}}@media(max-width:1000px){.studio-shell{grid-template-columns:190px minmax(0,1fr)}.desk-content{grid-template-columns:minmax(240px,1fr) minmax(230px,.95fr);gap:14px;padding:16px}.editor-toolbar .icon-button{width:25px}.editor-toolbar{padding:6px}.toolbar-divider{margin:0 3px}.script-content{padding:20px;font-size:15px}.transport-mode{display:none}.transport-speed input{width:46px}.transport-main>.icon-button{width:28px}.transport-safety .subtle-button{font-size:10px}.desk-status>span:last-child{display:none}.header-session{font-size:10px}.app-header{gap:18px;padding:0 18px}.local-label{display:none}.script-details label{flex-basis:100%}.script-details input{text-align:left}.speech-actions{flex-wrap:wrap}.preview-screen{min-height:200px;aspect-ratio:1.35}.preview-metrics{gap:10px}.preview-metrics>div>span{font-size:9px}.preview-metrics strong{font-size:18px}.layout-compact .desk-content{grid-template-columns:minmax(250px,1.2fr) minmax(230px,1fr)}.emergency-editor{left:206px}.library-hidden{grid-template-columns:0 minmax(0,1fr)}}@media(max-width:800px){.studio-shell{grid-template-columns:1fr;grid-template-rows:58px minmax(0,1fr);height:auto;min-height:100dvh;overflow:visible}.app-header{height:58px;position:sticky;top:0;z-index:10}.brand{font-size:19px}.header-session,.library{display:none}.main-workspace{grid-column:1}.workspace-bar{padding:12px 16px}.workspace-actions{gap:6px}.workspace-actions .subtle-button,.workspace-actions .primary-button{font-size:10px;padding:8px}.peer-count{display:none}.desk-content,.layout-compact .desk-content{display:flex;flex-direction:column;padding:20px 16px;gap:28px;overflow:visible}.script-desk{min-height:490px}.script-content{min-height:350px;max-height:520px;font-size:16px}.script-details label{flex-basis:auto}.preview-screen{min-height:250px;aspect-ratio:1.6}.preview-desk{gap:16px}.preview-metrics strong{font-size:24px}.preview-metrics>div>span{font-size:11px}.transport-bar{position:sticky;bottom:0;z-index:10;gap:8px;padding:12px 16px;flex-wrap:wrap}.transport-main{flex:1;gap:3px}.transport-safety{gap:5px}.transport-speed{margin-left:auto}.transport-speed input{width:50px}.transport-safety .subtle-button{font-size:0;gap:0;width:34px;height:34px;padding:8px}.desk-status{padding:10px 16px;font-size:8px}.utility-panel{top:58px;width:min(100%,420px)}.emergency-editor{left:12px;right:12px;bottom:80px;flex-wrap:wrap}.emergency-editor label{min-width:200px}.emergency-editor>svg{display:none}.emergency-editor .danger-button,.emergency-editor .subtle-button{flex:1}.layout-focus .desk-content{padding:20px 16px}.layout-focus .preview-desk{display:flex;max-width:none}.layout-focus .preview-screen{min-height:330px;aspect-ratio:1.6}.library-hidden{grid-template-columns:1fr}.library-hidden .workspace-context{display:flex;flex:0}.library-hidden .workspace-context>span,.library-hidden .workspace-context>strong,.library-hidden .workspace-context>svg{display:none}.library-hidden .workspace-actions{flex:1}.library:not(.library-hidden .library){position:fixed;top:58px;left:0;bottom:0;z-index:18;width:240px;box-shadow:var(--shadow)}.studio-shell:not(.library-hidden) .library{display:flex}.script-title-row>input{font-size:25px}}@media(max-width:460px){.workspace-actions .subtle-button{font-size:0;gap:0;padding:9px}.workspace-actions .subtle-button svg{width:17px;height:17px}.workspace-actions .primary-button{margin-left:auto;font-size:11px}.script-details{font-size:9px}.script-tabs select{font-size:9px;max-width:100px}.script-tabs>div{gap:15px}.script-tabs button{font-size:11px}.transport-main .icon-button{width:25px}.play-button{font-size:11px;padding:10px 12px;gap:6px}.play-button svg{width:16px}.transport-speed{gap:4px}.transport-speed input{width:43px;font-size:11px}.transport-speed>span{font-size:8px}.transport-safety .icon-button{width:27px}.preview-heading>span{font-size:9px}.toast{bottom:88px;font-size:11px}.talent-chrome>span{font-size:10px}.talent-chrome button{font-size:10px}.remote-page{padding:18px 16px 30px}.remote-transport>.play-button svg{width:26px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.setting-dimensions{display:flex;gap:12px}.setting-dimensions>label{flex:1;min-width:0}.model-progress{margin-top:14px;font-size:10px;color:var(--muted)}.model-progress label{display:flex;justify-content:space-between;margin-bottom:7px}.model-progress progress{width:100%;height:5px;accent-color:var(--amber)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}@media(max-width:800px){.library-hidden .workspace-context{flex:0 0 28px;width:28px}.library-hidden .workspace-context .icon-button{width:28px}.library-hidden .workspace-actions{width:auto}.workspace-bar{gap:6px}.transport-speed input{padding:7px 5px;text-align:center}.utility-panel .icon-button{min-width:40px;min-height:40px}.settings-tabs button{padding:12px 9px}.library .script-actions .icon-button{width:36px;height:34px}}.tools-tabs{display:flex;padding:15px 15px 0;gap:5px;border-bottom:1px solid var(--line)}.tools-tabs button{display:flex;align-items:center;gap:6px;flex:1;justify-content:center;border:0;background:none;padding:12px 4px;font-size:10px;color:var(--muted);border-bottom:2px solid transparent}.tools-tabs button[aria-pressed=true]{color:var(--amber);border-bottom-color:var(--amber)}.tools-body{display:flex;flex-direction:column;gap:19px;padding:25px 22px}.tool-copy{font-size:12px;line-height:1.7;color:var(--muted)}.tool-divider{height:1px;background:var(--line);margin:9px 0}.tool-filename{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.transcript-result,.external-transcript{padding:12px;min-height:120px;resize:vertical;font-size:12px;line-height:1.6}.tools-actions{display:flex;gap:8px;flex-wrap:wrap}.rehearsal-excerpt{font-size:13px;line-height:1.8;padding:16px;background:var(--raised);color:var(--muted);border-radius:6px}.recording-clock{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:20px 0}.recording-clock strong{font-size:38px;font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:-.03em}.recording-clock>span:last-child{font-size:11px;color:var(--muted);margin-left:auto}.recording-clock .status-dot{background:var(--subtle)}.recording-clock.is-recording .status-dot{background:var(--danger)}.take-playback{width:100%;height:45px}.model-progress>.subtle-button{margin-top:12px}.waiting-page{display:flex;min-height:100dvh;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:40px;text-align:center;background:var(--bg);color:var(--text)}.waiting-page>svg{color:var(--amber)}.waiting-page h1{font-size:28px;font-weight:500;letter-spacing:-.03em}.waiting-page p{max-width:400px;font-size:14px;line-height:1.7;color:var(--muted)}.waiting-page>span{font-size:12px;color:var(--subtle)}.prompt-viewport:focus-visible{outline:2px solid var(--amber);outline-offset:-4px}@media(max-width:360px){.workspace-bar{padding-left:10px;padding-right:10px}.workspace-actions{gap:4px}.workspace-actions .primary-button{padding:8px 7px;font-size:10px}.transport-bar{padding-left:10px;padding-right:10px}.transport-main{gap:0}.transport-speed input{width:40px}}.recovery-panel{display:flex;flex-direction:column;gap:18px}.recovery-sections{margin-bottom:8px}.recovery-sections button{gap:5px;font-size:11px}.recovery-list{display:flex;flex-direction:column}.recovery-list article{display:flex;align-items:center;gap:10px;padding:17px 0;border-bottom:1px solid var(--line)}.recovery-list article>div{flex:1;min-width:0}.recovery-list strong,.take-list strong{font-size:12px;display:block;overflow-wrap:anywhere}.recovery-list time,.take-list time{display:block;font-size:10px;color:var(--muted);margin-top:6px}.recovery-list p,.recovery-list small{font-size:11px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.recovery-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 0;gap:14px;color:var(--muted)}.recovery-empty p{font-size:12px}.take-list article{padding:20px 0;border-bottom:1px solid var(--line)}.take-list article>p{font-size:10px;color:var(--muted);line-height:1.7;margin:12px 0}.take-list textarea{width:100%;padding:10px;font-size:12px;line-height:1.6;min-height:80px;resize:vertical}.tools-tabs{flex-wrap:wrap}.tools-tabs button{min-width:65px}@media(max-width:360px){.tools-tabs button{flex-basis:40%;font-size:11px}.recovery-sections button{font-size:10px;padding:10px 5px}}.model-ready-status{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.app-update-notice{display:flex;flex-direction:column;gap:12px;padding-bottom:22px;border-bottom:1px solid var(--line)}.app-update-notice strong{font-size:13px}.app-update-notice p{font-size:12px;line-height:1.7;color:var(--muted)}.talent-connection-warning{position:fixed;bottom:20px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);width:max-content;padding:13px 18px;background:#302515;color:#ffda9d;border:1px solid #71552c;border-radius:8px;z-index:16;font-size:13px;box-shadow:0 3px 18px #0006}.talent-connection-warning strong{display:block;font-weight:600}.talent-connection-warning small{display:block;margin-top:4px;font-size:11px;color:#ead6b5;line-height:1.4}.remote-connection-warning{padding:12px;background:var(--raised);border:1px solid var(--line);border-radius:6px;color:var(--text);font-size:12px;line-height:1.6;margin-bottom:18px}.editor-validation{padding:12px 14px;background:var(--amber-bg);color:var(--text);font-size:12px;line-height:1.6;border-bottom:1px solid var(--line)}.editor-validation button{display:block;border:0;background:none;color:var(--amber);font-weight:600;padding:6px 0 0}:root[data-theme=light] .script-content span[style*="color: rgb(245, 187, 99)"],:root[data-theme=light] .script-content span[style*="color: #f5bb63"]{color:#895719!important}:root[data-theme=light] .script-content span[style*="color: rgb(143, 225, 181)"],:root[data-theme=light] .script-content span[style*="color: #8fe1b5"]{color:#267148!important}@media(min-width:1101px)and (max-height:950px){.preview-desk{gap:12px}.preview-screen{aspect-ratio:auto;height:clamp(210px,calc(100dvh - 650px),300px);min-height:210px}.preview-metrics{padding:10px 0}.speech-console{padding:13px}.speech-console p{margin:8px 0 10px}}@media(min-width:801px)and (max-height:800px){.desk-content,.layout-compact .desk-content,.layout-focus .desk-content{padding-top:16px;padding-bottom:16px}.preview-desk,.layout-compact .preview-desk{gap:8px}.preview-heading{flex-shrink:0}.preview-screen{aspect-ratio:auto;height:clamp(144px,calc(100dvh - 560px),230px);min-height:144px}.preview-metrics{padding:8px 0}.preview-metrics>div{gap:4px}.preview-metrics strong{font-size:18px}.speech-console{padding:12px;flex-shrink:0}.speech-console p{margin:7px 0 9px}}
