:root{color-scheme:dark;--bg:#111217;--panel:#191b22;--border:#2b2d36;--text:#f5f3ee;--muted:#9295a2;--accent:#ffb66b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,select,summary{cursor:pointer}button{border:1px solid transparent;border-radius:8px;padding:12px 18px;color:var(--text);font-weight:600;background:var(--panel)}button:hover{filter:brightness(1.12)}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,textarea,select{width:100%;background:#13151b;border:1px solid var(--border);border-radius:7px;padding:12px 13px;color:var(--text);outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent)}textarea{resize:vertical;line-height:1.6}label{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:550;color:#d9dae1}small{font-size:12px;color:var(--muted);font-weight:400}h1,h2,p{margin:0}h1{font-size:clamp(34px,3.7vw,58px);line-height:1.12;font-weight:650;letter-spacing:-2px}h2{font-size:21px;letter-spacing:-.4px}.muted,.help{color:var(--muted);font-size:13px;line-height:1.6}.error{color:#ff9292}.primary{background:var(--accent);color:#242023;display:flex;gap:25px;align-items:center;justify-content:space-between}.secondary{border-color:var(--border);background:transparent}.small{font-size:12px;padding:8px 11px}.topbar{height:80px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:40px;padding:0 35px}.brand{font-size:32px;font-weight:800;letter-spacing:-2px}.brand span{font-size:11px;letter-spacing:2px;font-weight:600;vertical-align:middle;margin-left:18px;color:#c4c5cb}.header-note{font-size:12px;color:var(--muted)}.connection{margin-left:auto;color:#a5b5a7;font-size:11px}.workspace{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 80px)}.sidebar{border-right:1px solid var(--border);padding:30px 20px;display:flex;flex-direction:column;gap:25px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sidebar .section-heading>span{font-size:10px;letter-spacing:1.7px;color:var(--muted)}.project-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 10px;margin-bottom:8px;background:transparent}.project-item.selected{background:#25252c}.project-item strong{font-size:13px;display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis}.project-item small{display:block;font-size:11px;margin-top:5px}.track-icon{font-size:23px;color:var(--accent)}.status-dot{width:6px;height:6px;border-radius:100%;background:#808291;margin-left:auto;flex-shrink:0}.status-dot.ready,.orange-dot{background:var(--accent)}.status-dot.failed{background:#ff9292}.sidebar-footer{margin-top:auto;padding-top:50px;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.orange-dot{width:5px;height:5px;border-radius:100%}.main-panel{padding:46px clamp(24px,4vw,75px) 70px;min-width:0}.eyebrow{font-size:10px;letter-spacing:2.3px;color:var(--accent);font-weight:600;margin-bottom:18px}.intro{color:var(--muted);font-size:14px;line-height:1.7;max-width:540px;margin-top:20px}.create-form{display:flex;flex-direction:column;gap:24px;max-width:820px;margin-top:35px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.upload-box{background:linear-gradient(135deg,#29241f40,#191b22);border:1px dashed #5c4c3b;border-radius:10px;padding:22px;gap:14px}.upload-box>span,.field-heading{font-size:10px;letter-spacing:1.6px;color:var(--accent)}.upload-box strong{font-size:17px}.upload-box input{background:transparent;padding:0;border:0;font-size:12px}input::file-selector-button{background:#303139;color:var(--text);border:0;border-radius:4px;padding:9px 12px;margin-right:14px;cursor:pointer}.form-note{font-size:12px;line-height:1.7;color:var(--muted);align-self:end;padding:10px}.extra-options{border-bottom:1px solid var(--border);padding-bottom:20px}.extra-options summary,details summary{font-size:12px;color:#bfc1cd}.extra-grid{display:grid;gap:20px;padding-top:20px}.create-form>.primary{align-self:start;min-width:220px;padding:15px 20px}.notice{background:#252a28;border-bottom:1px solid #424a42;padding:14px 35px;font-size:13px;overflow-wrap:anywhere}.error-notice{background:#362328;border-color:#6b3b44;color:#ffb2b2}.auth-panel{padding:20px 35px;display:flex;gap:12px;align-items:end}.auth-panel label{max-width:450px;flex:1}.project-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.project-heading h1{font-size:38px;overflow-wrap:anywhere}.project-heading .muted{margin-top:8px}.badge{font-size:10px;letter-spacing:1px;text-transform:uppercase;background:#282a32;border:1px solid var(--border);padding:7px 10px;border-radius:99px}.badge.ready{color:var(--accent);border-color:#6b5337}.badge.failed{color:#ff9292}.job-panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:30px;display:flex;flex-direction:column;gap:20px}.job-panel .error{overflow-wrap:anywhere;white-space:pre-wrap}progress{width:100%;height:5px;appearance:none;border:0;border-radius:5px;overflow:hidden;background:#30323a}progress::-webkit-progress-bar{background:#30323a}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}.stage{background:#0b0c0f;border:1px solid var(--border);border-radius:12px;overflow:hidden;aspect-ratio:16/10}.stage iframe{border:0;width:100%;height:100%;display:block}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 0 28px}.preview-toolbar>div{display:flex;gap:8px}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px}.editor-panel,.export-panel{border:1px solid var(--border);border-radius:12px;padding:22px;min-width:0}.editor-panel h2{font-size:18px}.editor-panel .help{margin:14px 0}.editor-panel #edit-status{font-size:10px;white-space:nowrap}#json-editor{height:430px;min-height:200px;font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2;white-space:pre;overflow:auto;border-color:#30323b}.validation{font-size:11px;color:#a5b5a7;min-height:28px;line-height:1.5;padding-top:7px;overflow-wrap:anywhere}.validation.error{color:#ff9292}.editor-actions{display:flex;gap:8px;flex-wrap:wrap}.editor-actions .primary{margin-left:auto}.export-panel .eyebrow{font-size:8px;letter-spacing:1.5px}.export-panel h2{font-size:27px}.export-panel .help{margin:12px 0 22px}.export-panel form{display:flex;flex-direction:column;gap:18px}.export-panel label{font-size:11px}.export-panel details label{margin-top:12px}.export-panel button{font-size:12px}.render-card{border-top:1px solid var(--border);padding-top:18px;margin-top:22px;overflow-wrap:anywhere}.render-card strong{display:block;font-size:12px}.render-card small{display:block;margin-top:6px;font-size:10px}.render-card p{font-size:11px;line-height:1.6;margin:12px 0}.download-link{font-size:12px;color:var(--accent);font-weight:600}.embed-panel{background:var(--panel);padding:18px;border:1px solid var(--border);border-radius:8px;margin-bottom:24px}.embed-panel textarea{font:11px/1.6 monospace}.embed-panel button{margin-top:10px}.preview-page{background:#101117;width:100vw;height:100vh;overflow:hidden}.preview-page #preview-root{width:100%;height:100%;display:flex;flex-direction:column}.canvas-wrap{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.canvas-wrap canvas{display:block;width:100%;height:100%;object-fit:contain}.player-controls{display:flex;align-items:center;gap:12px;padding:10px 15px;background:#14161d;border-top:1px solid #2b2d36}.player-controls audio{height:36px;width:100%;min-width:100px}.player-controls select{width:150px;flex-shrink:0;font-size:11px;padding:8px}.preview-error{padding:30px;color:#ff9292;font-size:14px}@media(min-width:1600px){.main-panel{max-width:1450px;width:100%}}@media(max-width:1100px){.workspace{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:25px 12px}.main-panel{padding:30px 24px}.studio-grid{grid-template-columns:1fr}.export-panel form{display:grid;grid-template-columns:1fr 1fr;align-items:end}.export-panel form button{align-self:end}.export-panel form details{grid-column:1/-1}.header-note{display:none}.preview-toolbar{align-items:start;flex-direction:column;gap:12px}}@media(max-width:700px){.topbar{height:65px;padding:0 18px}.brand{font-size:27px}.brand span{font-size:9px;margin-left:10px}.connection{font-size:9px}.workspace{grid-template-columns:1fr;min-height:calc(100vh - 65px)}.sidebar{border-right:0;border-bottom:1px solid var(--border);padding:15px 18px;gap:12px}.sidebar-footer{display:none}.sidebar nav{display:flex;gap:8px;overflow:auto}.project-item{min-width:170px;max-width:220px;margin:0}.main-panel{padding:30px 18px}.two-columns{grid-template-columns:1fr}.form-note{padding:0}.project-heading h1{font-size:30px}.stage{border-radius:7px}.editor-panel,.export-panel{padding:16px}.editor-panel .section-heading{align-items:start;flex-direction:column}.editor-actions .primary{margin-left:0}.notice{padding:12px 18px}.player-controls{padding:8px}.player-controls select{width:100px}}
.diagnostics-panel{border:1px solid var(--border);border-radius:10px;padding:16px 20px;margin:18px 0;min-width:0}.diagnostics-content{display:flex;flex-direction:column;gap:15px;margin-top:18px;min-width:0}.diagnostics-content .help{overflow-wrap:anywhere}.diagnostics-content #whisper-notices{white-space:pre-wrap}.diagnostics-content textarea{height:310px;min-height:160px;font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;overflow:auto;tab-size:2}.diagnostics-content label{min-width:0}.diagnostics-actions{display:flex;gap:10px;flex-wrap:wrap}#whisper-alignment-details label{margin-top:15px}
.diagnostics-content pre{white-space:pre-wrap;overflow-wrap:anywhere}

.timeline-panel{border:1px solid var(--border);border-radius:12px;background:linear-gradient(145deg,#1b1b24,#14161c);padding:22px;margin:0 0 24px;min-width:0}
.timeline-heading,.timeline-transport,.timeline-history,.timeline-zoom,.timeline-navigation,.timeline-footnote{display:flex;align-items:center;gap:10px}
.timeline-heading{justify-content:space-between;margin-bottom:20px}.timeline-heading .eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:8px}.timeline-heading h2{font-size:22px}
.timeline-history{flex-wrap:wrap}.timeline-history .primary{gap:0}.timeline-transport{flex-wrap:wrap;margin-bottom:12px}.timeline-transport label{gap:4px;font-size:9px;color:var(--muted)}.timeline-transport select{width:auto;min-width:85px;font-size:11px;padding:6px 9px}.timeline-transport output{font:13px ui-monospace,monospace;color:var(--accent);min-width:78px}.timeline-zoom{margin-left:auto;gap:7px}.timeline-zoom span{font-size:10px;white-space:nowrap;color:var(--muted);min-width:48px;text-align:center}
#tl-status{font-size:10px;margin-bottom:12px;min-height:16px}.timeline-viewport{display:grid;grid-template-columns:100px minmax(0,1fr);border:1px solid var(--border);border-radius:8px;overflow:hidden;touch-action:pan-y;outline:none}.timeline-viewport:focus-visible{outline:1px solid var(--accent);outline-offset:3px}
.timeline-track-label{background:#1c1e27;border-bottom:1px solid var(--border);padding:12px 10px;font-size:11px;color:var(--track-color,#c0c2cd);display:flex;flex-direction:column;justify-content:center;gap:4px;user-select:none}.timeline-track-label small{font-size:9px}.timeline-ruler-label{font-size:8px;letter-spacing:1.2px;padding:7px 10px}
.timeline-time-area{position:relative;min-width:0;overflow:hidden;border-bottom:1px solid var(--border);background-color:#101218;background-image:linear-gradient(to right,#ffffff09 1px,transparent 1px);background-size:var(--tick-width,100px) 100%;background-position-x:var(--tick-offset,0px);touch-action:none}.timeline-time-area.has-playhead:after{content:"";position:absolute;left:var(--playhead);top:0;bottom:0;width:1px;background:#ffb66b;box-shadow:0 0 5px #ffb66b50;z-index:8;pointer-events:none}
.timeline-ruler{height:28px;background:#171a22}.timeline-ruler span{position:absolute;top:7px;transform:translateX(3px);font:9px ui-monospace,monospace;color:#b1b4c2;white-space:nowrap}.timeline-wave{height:70px;cursor:crosshair}.timeline-wave img{width:100%;height:70px;display:block;user-select:none;pointer-events:none}.timeline-wave-message{position:absolute;left:14px;top:25px;font-size:10px;color:#686c7d}.timeline-annotations{min-height:44px}.timeline-word-annotations{background-color:#151821}
.timeline-region{position:absolute;height:25px;min-width:2px;background:#e4a76720;border:1px solid #bc905571;border-radius:4px;cursor:grab;user-select:none;touch-action:none;color:#efd9ba;overflow:hidden;font-size:10px;display:flex;align-items:center;isolation:isolate}.timeline-region:active{cursor:grabbing}.timeline-region[data-word]{background:#8edcc321;border-color:#8edcc35e;color:#c7eadf}.timeline-region[data-source=estimated]{border-style:dashed;border-color:#ffb66b90;background:#ffb66b16;color:#ffcc93}.timeline-region[data-source=manual]{border-color:#80b8ed80}.timeline-region.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px #ffb66b50;background:#ffb66b30;color:#fff0dc;z-index:4}.timeline-region.is-playing{background:#ffb66b40;color:#fff4e9}.timeline-region-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 8px;pointer-events:none}.timeline-handle{position:absolute;top:0;bottom:0;width:7px;background:#d4c5a62b;cursor:ew-resize;z-index:5}.timeline-handle:hover,.timeline-handle:focus-visible{background:var(--accent)}.timeline-handle.start{left:0}.timeline-handle.end{right:0}.timeline-region:focus-visible{outline:1px solid #fff;outline-offset:1px}
.timeline-navigation{margin:10px 0 6px;gap:7px}.timeline-navigation input[type=range]{height:20px;padding:0;border:0;min-width:40px;accent-color:var(--accent);cursor:ew-resize}.timeline-navigation button{padding:4px 9px}.timeline-check{flex-direction:row;align-items:center;gap:6px;font-size:10px;white-space:nowrap;font-weight:400;color:var(--muted)}.timeline-check input[type=checkbox]{width:13px;height:13px;margin:0;accent-color:var(--accent)}.timeline-overview{height:34px;position:relative;margin-left:100px;border:1px solid #333642;border-radius:4px;background:#101218;overflow:hidden;cursor:crosshair}.timeline-overview img{width:100%;height:32px;pointer-events:none;opacity:.5}.timeline-overview>span{position:absolute;top:0;bottom:0;background:#ffb66b16;border:1px solid #ffb66b90;min-width:2px;pointer-events:none}.timeline-overview>i{position:absolute;top:0;bottom:0;width:1px;background:var(--accent);pointer-events:none}
.timeline-inspector{display:grid;grid-template-columns:minmax(130px,2fr) minmax(100px,1fr) 90px 90px auto;gap:10px;margin:18px 0 13px;align-items:end}.timeline-inspector label{font-size:10px;gap:5px}.timeline-inspector input,.timeline-inspector select{padding:8px;font-size:11px;min-width:0}.timeline-inspector input{font-family:ui-monospace,monospace}.timeline-inspector .small{height:33px;white-space:nowrap}.timeline-footnote{justify-content:space-between;gap:15px;align-items:start}.timeline-footnote>span{font-size:10px;line-height:1.6;color:#858998;max-width:540px}
.timeline-context{position:fixed;z-index:1000;min-width:220px;padding:5px;border:1px solid #4d4850;border-radius:8px;background:#24252e;box-shadow:0 12px 45px #0008}.timeline-context button{display:block;width:100%;border:0;border-radius:4px;text-align:left;padding:10px 12px;font-size:12px;background:transparent}.timeline-context button:hover{background:#343039}.timeline-context button:disabled{cursor:default}
.lyric-panel{border:1px solid var(--border);border-radius:12px;padding:20px;margin-top:20px;min-width:0}.lyric-panel>.help{margin:10px 0}.lyric-sheet{position:relative;max-height:330px;overflow:auto;padding:8px 0;scrollbar-gutter:stable;border:1px solid var(--border);border-radius:7px;background:#13151b}.lyric-line{font-size:15px;line-height:2.1;padding:3px 14px 3px 45px;position:relative;cursor:pointer;overflow-wrap:anywhere;border-left:2px solid transparent}.lyric-line>small{position:absolute;left:12px;top:7px;font:10px/2 ui-monospace,monospace;color:#676c7b;pointer-events:none}.lyric-line.selected{background:#ffb66b0b;border-left-color:var(--accent)}.lyric-word{border-radius:3px;padding:3px 0;cursor:pointer}.lyric-word.selected{background:#ffb66b35;color:#ffe0b9;outline:1px solid #ffb66b70}.lyric-word:hover,.lyric-word.is-hovered{background:#8edcc333;outline:1px solid #8edcc390}.lyric-line.is-hovered{background:#8edcc30e}.lyric-line:focus-visible,.lyric-word:focus-visible{outline:1px solid var(--accent)}.lyric-stanza-gap{height:14px}.lyric-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px;flex-wrap:wrap}.lyric-toolbar label{font-size:11px}.lyric-panel details{margin-top:12px}.lyric-panel pre{font:11px/1.5 ui-monospace,monospace;max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:0}.lyric-panel #lyrics-editor{min-height:240px;font-size:14px}.timeline-region.is-hovered{outline:2px solid #8edcc3;outline-offset:1px;z-index:6}.canvas-wrap{position:relative}.preview-hit-layer{position:absolute;inset:0;pointer-events:none}.preview-hit{position:absolute;display:block;padding:0;border:0;border-radius:3px;background:transparent;pointer-events:auto;cursor:pointer;min-width:0;min-height:0;outline:none}.preview-hit:hover,.preview-hit.is-hovered,.preview-hit:focus-visible{background:#8edcc31a;outline:1px solid #8edcc3;outline-offset:1px;filter:none}.preview-hit.selected{background:#ffb66b18;box-shadow:0 0 0 1px #ffb66b90}.preview-hit:not([data-word]){border-radius:5px}.timeline-split-dialog .timeline-check{display:flex;flex-direction:row;align-items:center}.timeline-split-dialog .timeline-check input{width:auto}.timeline-split-dialog textarea{min-height:90px}.lyric-panel .section-heading{flex-wrap:wrap}
.timeline-split-dialog{background:#191c24;color:var(--text);border:1px solid #5d4a3e;border-radius:12px;padding:26px;width:min(440px,calc(100vw - 32px));max-height:90vh;box-shadow:0 20px 100px #0009}.timeline-split-dialog::backdrop{background:#08090dc9}.timeline-split-dialog form{display:flex;flex-direction:column;gap:18px}.timeline-split-dialog h2{font-size:22px}.timeline-split-dialog .help{font-size:12px}.timeline-split-dialog label{font-size:12px}.timeline-split-dialog select{font-family:ui-monospace,monospace}.timeline-split-dialog .error{font-size:11px}
@media(max-width:1100px){.timeline-panel{padding:16px}.timeline-heading{align-items:start}.timeline-zoom{margin-left:0}.timeline-transport{gap:8px}.timeline-inspector{grid-template-columns:minmax(120px,2fr) minmax(100px,1fr) 75px 75px}.timeline-inspector>button{grid-column:4}.timeline-footnote{flex-wrap:wrap}.timeline-navigation .timeline-check{font-size:9px}.timeline-viewport{grid-template-columns:86px minmax(0,1fr)}.timeline-overview{margin-left:86px}.timeline-track-label{font-size:10px;padding:10px 8px}}
@media(max-width:700px){.timeline-panel{padding:13px}.timeline-heading{gap:12px}.timeline-heading h2{font-size:19px}.timeline-heading .eyebrow{font-size:7px}.timeline-history{justify-content:end;gap:5px;max-width:170px}.timeline-history button{font-size:10px;padding:6px 8px}.timeline-transport>button{font-size:10px;padding:7px}.timeline-transport output{font-size:11px;min-width:70px}.timeline-zoom{width:100%;justify-content:end}.timeline-viewport{grid-template-columns:65px minmax(0,1fr)}.timeline-overview{margin-left:65px}.timeline-track-label{font-size:9px;padding:8px 5px}.timeline-wave,.timeline-wave img{height:56px}.timeline-inspector{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.timeline-inspector>button{grid-column:auto}.timeline-inspector label{min-width:0}.timeline-navigation .timeline-check{display:none}.timeline-footnote>span{font-size:9px}.timeline-region{font-size:9px}.timeline-region-text{padding:0 5px}}

/* Compact editing workspace. The timeline is the studio's playback transport. */
.stage{position:relative;width:100%}.stage iframe{position:absolute;inset:0}
.topbar{height:56px;padding:0 24px}.brand{font-size:27px}.workspace{min-height:calc(100vh - 56px);grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:22px 14px}.main-panel:has(#project-view:not([hidden])){padding:18px 24px 36px}.project-heading{margin-bottom:12px;gap:12px}.project-heading .eyebrow{display:none}.project-heading h1{font-size:26px;letter-spacing:-.7px}.project-heading .muted{margin-top:4px;font-size:12px}.stage{height:min(45vh,510px);aspect-ratio:16/9;border:0;border-radius:5px;background:#101117}.stage iframe{height:100%}.timeline-panel{margin:8px 0 0;padding:10px 0 0;border:0;border-radius:0;background:none}.timeline-heading{margin-bottom:8px}.timeline-heading h2{font-size:16px}.timeline-history{gap:7px}.timeline-history #edit-status{font-size:10px;margin-right:4px}.timeline-transport{gap:8px;margin-bottom:8px}.timeline-transport .small{padding:6px 9px}.timeline-speed{flex-direction:row;align-items:center}.timeline-transport select{min-width:60px;padding:5px 7px}.timeline-zoom{margin-left:auto}.timeline-viewport{grid-template-columns:136px minmax(0,1fr);border-radius:4px;border-color:#292c35}.timeline-ruler{height:24px}.timeline-ruler span{top:5px}.timeline-track-label{padding:6px 8px;background:#171920;font-size:10px}.audio-track-label{flex-direction:row;align-items:center;justify-content:start;gap:4px}.audio-track-label>span{flex:1;min-width:0;font-size:10px}.audio-track-label button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:23px;height:25px;padding:3px;border-radius:4px;background:transparent;color:var(--track-color)}.audio-track-label .track-actions{width:19px;font-size:18px;color:#9fa4b4}.track-listen svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.audio-track-label.is-listening{background:#ffb66b0c}.track-listen[aria-pressed=true]{color:var(--accent);background:#ffb66b20;box-shadow:inset 0 0 0 1px #ffb66b65}.audio-track-label button:disabled{cursor:default;opacity:.25}.timeline-wave,.timeline-wave img{height:46px}.timeline-wave-message{top:16px}.timeline-navigation{margin:6px 0;gap:6px}.timeline-navigation .timeline-check{margin-left:auto}.timeline-overview{margin-left:136px;height:25px;border-color:#292c35}.timeline-overview img{height:23px}.timeline-inspector{margin:9px 0 7px;gap:7px;grid-template-columns:minmax(140px,2fr) minmax(100px,1fr) 82px 82px auto}.timeline-inspector input,.timeline-inspector select{padding:6px 7px;font-size:11px}.timeline-inspector label{gap:3px}.timeline-inspector .small{height:29px}.timeline-footnote>span{font-size:9px}.timeline-panel[data-ready=true] #tl-status:not(.error){display:none}.timeline-context strong{display:block;font-size:11px;color:var(--muted);padding:7px 12px}.preview-toolbar{padding:10px 0;gap:10px}.preview-toolbar>div{flex-wrap:wrap}.preview-toolbar .small{padding:6px 9px}.preview-toolbar>span{font-size:11px}.studio-grid{gap:18px;grid-template-columns:minmax(0,1fr) 250px}.lyric-workbench{min-width:0}.lyric-panel{margin:0;padding:12px 0;border:0;border-top:1px solid var(--border);border-radius:0}.lyric-panel h2{font-size:16px}.lyric-panel>.help{font-size:11px;margin:7px 0}.lyric-sheet{max-height:270px;border-radius:4px}.lyric-line{font-size:13px;line-height:1.9;padding-top:2px;padding-bottom:2px}.lyric-toolbar{gap:8px;margin-top:8px}.lyric-toolbar label{font-size:10px}.lyric-panel #ly-status{font-size:11px}.editor-panel{padding:12px 0;border:0;border-top:1px solid var(--border);border-radius:0;margin-top:5px}.editor-panel>summary{font-size:12px;color:#b8bbc8}.editor-panel .help{font-size:11px;margin:10px 0}.export-panel{border:0;border-left:1px solid var(--border);border-radius:0;padding:12px 0 12px 18px}.export-panel .eyebrow{display:none}.export-panel h2{font-size:20px}.export-panel .help{margin:8px 0 12px;font-size:11px}.export-panel form{gap:11px}.export-panel select,.export-panel input{padding:8px;font-size:12px}.export-panel label{gap:5px}.diagnostics-panel{margin-top:14px;border:0;border-top:1px solid var(--border);border-radius:0;padding:12px 0}.timeline-split-dialog{padding:22px;border-radius:8px}.timeline-split-dialog form{gap:14px}
@media(max-width:1100px){.workspace{grid-template-columns:175px minmax(0,1fr)}.main-panel:has(#project-view:not([hidden])){padding:16px}.studio-grid{grid-template-columns:1fr}.export-panel{border-left:0;border-top:1px solid var(--border);padding:12px 0}.timeline-viewport{grid-template-columns:125px minmax(0,1fr)}.timeline-overview{margin-left:125px}.timeline-inspector{grid-template-columns:minmax(100px,2fr) minmax(85px,1fr) 75px 75px auto}.timeline-inspector>button{grid-column:auto}.timeline-heading{align-items:center}.timeline-zoom{margin-left:auto}.preview-toolbar{flex-direction:column;align-items:start;gap:7px}.project-item strong{max-width:95px}}
@media(max-width:700px){.topbar{height:50px;padding:0 16px}.workspace{grid-template-columns:1fr}.sidebar{padding:8px 12px;gap:6px}.sidebar .section-heading{gap:5px}.sidebar nav{max-height:57px}.project-item{padding:8px;min-width:155px}.sidebar .small{padding:5px 8px}.main-panel:has(#project-view:not([hidden])){padding:12px}.project-heading h1{font-size:23px}.stage{height:auto;aspect-ratio:16/9;min-height:0}.timeline-heading{gap:6px;align-items:center}.timeline-history{max-width:none;gap:4px}.timeline-history #edit-status{max-width:85px;font-size:9px}.timeline-history button{padding:5px 6px;font-size:9px}.timeline-heading h2{font-size:14px}.timeline-transport{gap:6px}.timeline-zoom{width:auto;gap:4px;margin-left:auto}.timeline-zoom span{min-width:35px;font-size:9px}.timeline-transport .small{padding:5px 6px;font-size:10px}.timeline-transport output{font-size:11px;min-width:64px}.timeline-speed{margin-left:auto}.timeline-viewport{grid-template-columns:110px minmax(0,1fr)}.timeline-overview{margin-left:110px}.audio-track-label{padding:4px;gap:2px}.audio-track-label>span{font-size:9px}.audio-track-label button{width:21px}.audio-track-label .track-actions{width:17px}.timeline-wave,.timeline-wave img{height:40px}.timeline-inspector{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.timeline-navigation .timeline-check{display:flex;font-size:9px}.timeline-footnote>span{display:none}.timeline-footnote{gap:8px}.lyric-sheet{max-height:240px}.lyric-toolbar{align-items:start;flex-direction:column}.lyric-toolbar label{white-space:normal}.export-panel form{grid-template-columns:1fr 1fr}.lyric-panel .small{font-size:10px;padding:6px 8px}}
.accuracy-warning{padding:14px;border:1px solid #80603b;border-radius:9px;background:#ffb66b0a;color:#f1d5b4;font-size:12px;line-height:1.6}
.accuracy-warning h2{font-size:18px;margin-bottom:10px}.accuracy-warning p+p,.accuracy-warning ul+p{margin-top:10px}.accuracy-warning ul{padding-left:20px;margin:12px 0}.accuracy-warning li+li{margin-top:7px}.accuracy-warning strong{color:#ffcb91}.draft-acknowledgement{display:flex;flex-direction:row;align-items:flex-start;gap:10px;margin-top:16px;color:#f1d5b4;line-height:1.5}.draft-acknowledgement input{width:auto;margin-top:4px;flex:none}.lyrics-import #provided-lyrics{display:flex;flex:1;min-height:220px;flex-direction:column;gap:10px}.lyrics-import #provided-lyrics>label{flex:1;min-height:180px}.lyrics-import #provided-lyrics textarea{flex:1;min-height:180px}.lyrics-import #automatic-lyrics-warning{overflow:auto;min-height:0}.generated-lyrics-note{margin-bottom:12px}#inferred-section-list{font-size:12px;line-height:1.8;color:var(--muted);padding-left:22px}
.lyrics-import>label{flex:none}

/* Audio loading is visible without blocking editing. */
.preview-audio-status{white-space:normal;overflow-wrap:anywhere;min-width:0}@media(max-width:700px){.workflow-nav .audio-playback-status{flex:0 0 16px;width:16px;min-width:16px;max-width:16px;font-size:0;gap:0}}
.preview-audio-status{position:absolute;z-index:5;left:12px;bottom:12px;max-width:calc(100% - 24px);padding:10px 14px 10px 38px;border:1px solid #ffb66b55;border-radius:9px;background:#14151deb;box-shadow:0 4px 20px #0005;pointer-events:auto;font:12px/1.45 ui-sans-serif,system-ui,sans-serif;color:#f5f3ee}.preview-audio-status:before,.audio-playback-status:before{content:"";width:13px;height:13px;border:2px solid #ffb66b44;border-top-color:#ffb66b;border-radius:50%;animation:audio-buffer-spin .9s linear infinite}.preview-audio-status:before{position:absolute;left:13px;top:13px}.preview-audio-status strong,.preview-audio-status span{display:block}.preview-audio-status span{font-size:11px;color:#b7b9c5;margin-top:2px}.preview-audio-status button{margin-top:7px;padding:5px 9px;font-size:11px;background:#ffb66b22;border:1px solid #ffb66b55}.preview-audio-status[data-phase=error]{border-color:#ff8b8b88}.preview-audio-status[data-phase=error]:before,.audio-playback-status[data-phase=error]:before{animation:none;border-color:#ff8b8b;background:#ff8b8b}.audio-playback-status{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:230px;font-size:11px;color:#ffc98c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:1}.audio-playback-status:before{flex-shrink:0}.audio-playback-status[data-phase=error]{color:#ffaaaa}@keyframes audio-buffer-spin{to{transform:rotate(360deg)}}@media(max-width:700px){.audio-playback-status{max-width:120px;font-size:10px}.preview-audio-status{left:8px;bottom:8px;font-size:11px;padding-top:8px;padding-bottom:8px}.preview-audio-status span{font-size:10px}}@media(prefers-reduced-motion:reduce){.preview-audio-status:before,.audio-playback-status:before{animation:none}}
