.vertical-storyboard-editor{gap:12px;display:grid}.storyboard-stage-shell{width:100%;min-width:0}.storyboard-toolbar{background:#0e131cd1;border:1px solid #93c5fd38;border-radius:8px;grid-template-columns:minmax(240px,1fr) max-content;align-items:end;gap:12px;padding:12px;display:grid}.storyboard-toolbar h3,.storyboard-container-head h3{margin-top:2px;font-size:17px;line-height:1.25}.storyboard-toolbar-actions,.storyboard-container-actions{flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:8px;display:flex}.storyboard-control{gap:4px;min-width:104px;display:grid}.storyboard-control select{border:1px solid var(--line);background:var(--field);min-height:34px;color:var(--ink);border-radius:7px;padding:6px 8px}.storyboard-final-output-history{border:1px solid var(--line);border-radius:6px;gap:12px;padding:14px;display:grid}.storyboard-project-render-progress{border:1px solid var(--accent);border-radius:6px;grid-template-columns:minmax(220px,1fr) minmax(180px,2fr) auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.storyboard-project-render-progress>div{flex-direction:column;display:flex}.storyboard-project-render-progress-actions{align-items:flex-end;gap:6px}.storyboard-vace-preflight-summary{flex-wrap:wrap;gap:.45rem;display:flex}.storyboard-vace-preflight-summary span{background:color-mix(in srgb, var(--panel-accent,#5f7cff) 12%, transparent);border:1px solid color-mix(in srgb, var(--panel-accent,#5f7cff) 28%, transparent);border-radius:999px;padding:.2rem .5rem}.storyboard-project-render-progress progress{width:100%}.storyboard-final-output-history-head,.storyboard-final-output-history-head>div,.storyboard-final-output-card>div,.storyboard-final-output-badges{gap:8px;display:flex}.storyboard-final-output-history-head{justify-content:space-between;align-items:center}.storyboard-final-output-history-controls{justify-content:flex-end;align-items:center;gap:10px;display:flex}.storyboard-final-output-delete{color:#fecaca;border-color:#f8717194}.storyboard-final-output-delete:hover:not(:disabled),.storyboard-final-output-delete:focus-visible{background:#7f1d1d57;border-color:#f87171e6}.storyboard-final-output-history-head>div,.storyboard-final-output-card>div{flex-direction:column;align-items:flex-start}.storyboard-final-output-history-list{gap:12px;display:grid}.storyboard-final-output-group{border-top:1px solid var(--line);gap:8px;padding-top:10px;display:grid}.storyboard-final-output-group>header{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.storyboard-final-output-group-stages{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px;display:grid}.storyboard-final-output-card{background:var(--panel);border:1px solid var(--line);border-radius:6px;grid-template-columns:96px minmax(0,1fr);gap:10px;padding:10px;display:grid}.storyboard-final-output-card.active{border-color:var(--accent)}.storyboard-final-output-preview,.storyboard-final-output-card .storyboard-video-manifest-preview{aspect-ratio:1;object-fit:cover;border-radius:4px;width:96px;height:auto}.storyboard-final-output-preview{cursor:zoom-in;background:#05070a;border:0;padding:0;overflow:hidden}.storyboard-final-output-preview:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.storyboard-final-output-badges{flex-wrap:wrap;align-items:center}.parallel-timing-spine{background:#080d12ad;border:1px solid #2dd4bf42;border-radius:8px;gap:7px;min-width:0;padding:10px;display:grid}.parallel-timing-spine-head,.parallel-timing-ruler{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.parallel-timing-spine-head strong{min-width:0;color:var(--ink-strong);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.parallel-timing-spine-head span,.parallel-timing-ruler span{color:var(--muted);font-size:11px;font-weight:800}.parallel-timing-ruler{border-top:1px solid #94a3b829;padding-top:5px}.parallel-timing-row{grid-template-columns:52px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.parallel-timing-row-label{color:var(--muted-strong);text-transform:uppercase;font-size:11px;font-weight:900}.parallel-timing-track{background:#0f172ab8;border:1px solid #94a3b82e;border-radius:999px;min-width:0;height:24px;position:relative;overflow:hidden}.parallel-timing-segment{min-width:18px;color:var(--ink-strong);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;place-items:center;font-size:10px;font-weight:900;line-height:1;display:grid;position:absolute;top:3px;bottom:3px;overflow:hidden}.parallel-timing-segment.audio{background:linear-gradient(90deg,#2dd4bfb8,#60a5fa9e)}.parallel-timing-segment.video{background:linear-gradient(90deg,#fbbf24b8,#f8717194)}.parallel-timing-segment.invalidated{outline-offset:1px;outline:2px dashed #fbbf24cc}.parallel-timing-empty{height:100%;color:var(--muted);place-items:center;font-size:11px;font-weight:800;display:grid}.audio-overlay-strip{background:#0f172ad9;border:1px solid #2dd4bf52;border-radius:999px;align-items:stretch;gap:2px;min-width:min(420px,100%);max-width:100%;height:18px;display:flex;overflow:hidden}.audio-overlay-segment{min-width:18px;color:var(--ink-strong);background:linear-gradient(90deg,#2dd4bf59,#60a5fa59);place-items:center;font-size:10px;font-weight:800;display:grid}.timing-source-badge,.timing-warning-badge{border-radius:999px;align-items:center;min-height:24px;padding:3px 8px;font-size:11px;font-weight:800;line-height:1;display:inline-flex}.timing-source-badge{color:var(--accent);background:#2dd4bf1a;border:1px solid #2dd4bf6b}.timing-warning-badge{color:#fbbf24;background:#fbbf241a;border:1px solid #fbbf246b}.timing-warning-badge.error{color:#fca5a5;background:#f871711f;border-color:#f8717180}.storyboard-timing-source-marker{width:max-content;max-width:100%;color:var(--accent);background:#2dd4bf1a;border:1px solid #2dd4bf61;border-radius:999px;align-items:center;padding:3px 8px;font-size:11px;font-weight:850;display:inline-flex}.storyboard-empty-state{border:1px dashed var(--line-strong);background:#11151cb3;border-radius:8px;gap:5px;padding:18px;display:grid}.storyboard-container-stack,.storyboard-timeline-run{gap:14px;display:grid}.storyboard-timeline-run{position:relative}.storyboard-timeline-run:before{display:none}.storyboard-timeline-run.dragging:before{box-shadow:0 0 0 4px #2dd4bf1a}.storyboard-container-card{background:0 0;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;display:grid;position:relative}.storyboard-container-panel{border:1px solid var(--line);background:#10151d;border-radius:8px;overflow:visible;box-shadow:0 10px 24px #0003}.storyboard-timeline-span{display:none}.storyboard-span-body,.storyboard-span-handle{z-index:3;color:#0000;cursor:grab;width:28px;font:inherit;background:0 0;border:0;padding:0;position:absolute;left:34px}.storyboard-span-body:disabled,.storyboard-span-handle:disabled{cursor:not-allowed}.storyboard-span-handle{cursor:ns-resize;height:24px}.storyboard-span-handle.top{top:-4px}.storyboard-span-handle.bottom{bottom:-4px}.storyboard-span-body{cursor:grab;top:14px;bottom:14px}.storyboard-span-register{z-index:2;background:linear-gradient(180deg, var(--accent), var(--amber));pointer-events:none;border-radius:999px;width:12px;position:absolute;top:12px;bottom:12px;left:42px;box-shadow:0 0 0 2px #080a0eb8}.storyboard-span-register:before,.storyboard-span-register:after{background:var(--ink-strong);content:"";border-radius:999px;width:22px;height:4px;position:absolute;left:50%;transform:translate(-50%)}.storyboard-span-register:before{top:0}.storyboard-span-register:after{bottom:0}.storyboard-span-time,.storyboard-span-duration{z-index:2;color:var(--muted-strong);pointer-events:none;white-space:nowrap;font-size:11px;font-weight:800;position:absolute;left:61px}.storyboard-span-time.start{top:6px}.storyboard-span-time.end{bottom:6px}.storyboard-span-duration{color:var(--accent);top:50%;transform:translateY(-50%)}.storyboard-container-head{border-bottom:1px solid var(--line);background:#151a23e0;grid-template-columns:minmax(220px,1fr) max-content;align-items:start;gap:12px;padding:12px;display:grid}.storyboard-container-head small{color:var(--muted);margin-top:4px;display:block}.storyboard-container-warning-list{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.storyboard-container-warning-list.compact{margin-top:4px}.storyboard-composition-render-plan{flex-wrap:wrap;align-items:center;gap:5px;max-width:220px;display:flex}.storyboard-composition-render-plan small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.storyboard-composition-render-plan-status{color:#99f6e4;background:#14b8a61f;border:1px solid #2dd4bf6b;border-radius:999px;align-items:center;width:max-content;padding:2px 7px;font-size:11px;font-weight:850;display:inline-flex}.storyboard-composition-render-plan-status.blocked{color:#fecaca;background:#7f1d1d38;border-color:#f871717a}.storyboard-file-button{background:var(--field);min-height:34px;color:var(--blue);cursor:grab;border:1px solid #93c5fd57;border-radius:8px;place-items:center;padding:7px 10px;font-size:13px;font-weight:800;display:inline-grid;position:relative}.storyboard-file-button.disabled{border-color:var(--line);color:var(--muted);cursor:not-allowed}.storyboard-file-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.storyboard-file-button.disabled input{cursor:not-allowed}.storyboard-container-body{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:12px;padding:12px;display:grid;position:relative}.storyboard-frame-progress{background:#080d12b8;border:1px solid #2dd4bf3d;border-radius:8px;gap:7px;padding:10px;display:grid}.storyboard-frame-progress.failed{border-color:#f871716b}.storyboard-frame-progress.completed{border-color:#4ade805c}.storyboard-frame-progress-head{color:var(--ink);justify-content:space-between;gap:12px;font-size:12px;display:flex}.storyboard-frame-progress-track{background:#1f2937e0;border-radius:999px;height:7px;overflow:hidden}.storyboard-frame-progress-track span{border-radius:inherit;background:linear-gradient(90deg,#2dd4bf,#f59e0b);height:100%;transition:width .18s;display:block}.storyboard-frame-progress.failed .storyboard-frame-progress-track span{background:#f87171}.storyboard-frame-progress.completed .storyboard-frame-progress-track span{background:#4ade80}.storyboard-frame-progress small{color:var(--muted);overflow-wrap:anywhere;font-size:11px;line-height:1.35}.audio-extraction-toast-stack{z-index:70;pointer-events:none;gap:10px;width:min(430px,100vw - 36px);display:grid;position:fixed;top:18px;right:18px}.audio-extraction-toast{border:1px solid #2dd4bf61;border-left:4px solid var(--accent);pointer-events:auto;background:#050a10f7;border-radius:8px;gap:8px;padding:12px;display:grid;box-shadow:0 18px 48px #00000061}.audio-extraction-toast.completed{border-left-color:#4ade80}.audio-extraction-toast.failed{border-left-color:#f87171}.audio-extraction-toast-head{justify-content:space-between;align-items:start;gap:10px;min-width:0;display:flex}.audio-extraction-toast-head div{gap:2px;min-width:0;display:grid}.audio-extraction-toast-head span{color:var(--accent);text-transform:uppercase;font-size:11px;font-weight:900}.audio-extraction-toast.completed .audio-extraction-toast-head span{color:#86efac}.audio-extraction-toast.failed .audio-extraction-toast-head span{color:#fca5a5}.audio-extraction-toast-head strong{color:var(--ink-strong);text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.25;overflow:hidden}.audio-extraction-toast-head button{width:26px;height:26px;color:var(--muted-strong);cursor:pointer;background:#0f172ab8;border:1px solid #94a3b852;border-radius:999px;flex:none;place-items:center;font-size:13px;font-weight:900;line-height:1;display:grid}.audio-extraction-toast p{color:var(--ink);margin:0;font-size:12px;line-height:1.35}.audio-extraction-toast-progress{background:#2c3545b8;border-radius:999px;height:6px;overflow:hidden}.audio-extraction-toast-progress span{border-radius:inherit;background:linear-gradient(90deg,#2dd4bf,#60a5fa);height:100%;transition:width .18s;display:block}.audio-extraction-toast.completed .audio-extraction-toast-progress span{background:#4ade80}.audio-extraction-toast.failed .audio-extraction-toast-progress span{background:#f87171}.audio-extraction-toast-log{gap:4px;margin:0;padding:0;list-style:none;display:grid}.audio-extraction-toast-log li{min-width:0;color:var(--muted);grid-template-columns:max-content minmax(0,1fr);gap:6px;font-size:11px;line-height:1.25;display:grid}.audio-extraction-toast-log li.error{color:#fca5a5}.audio-extraction-toast-log time{color:var(--muted-strong);font-weight:800}.audio-extraction-toast-log span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.debug-log-drawer{z-index:45;pointer-events:none;display:grid;position:fixed;bottom:0;left:18px;right:18px}.debug-log-tab,.debug-log-panel{pointer-events:auto}.debug-log-tab{width:min(620px,100%);min-height:38px;color:var(--ink);cursor:pointer;text-align:left;background:#050a10f5;border:1px solid #2dd4bf47;border-bottom:0;border-radius:8px 8px 0 0;grid-template-columns:max-content max-content minmax(0,1fr);justify-self:end;align-items:center;gap:10px;padding:8px 12px;display:grid;box-shadow:0 -10px 28px #00000047}.debug-log-tab span{color:var(--ink-strong);font-size:12px;font-weight:900}.debug-log-tab strong{min-width:24px;height:22px;color:var(--accent);background:#2dd4bf24;border-radius:999px;place-items:center;font-size:11px;display:grid}.debug-log-tab small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:750;overflow:hidden}.debug-log-panel{background:#050a10fa;border:1px solid #2dd4bf47;border-bottom:0;border-radius:8px 8px 0 0;max-height:min(44vh,420px);display:none;box-shadow:0 -18px 48px #00000061}.debug-log-drawer.open .debug-log-tab{display:none}.debug-log-drawer.open .debug-log-panel{grid-template-rows:auto auto minmax(0,1fr);display:grid}.debug-log-head{border-bottom:1px solid #2c3545db;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.debug-log-head h3{color:var(--ink-strong);margin:2px 0 0;font-size:15px}.debug-log-actions{gap:8px;display:flex}.debug-log-filters{border-bottom:1px solid #2c3545b8;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;display:flex}.debug-log-filter{min-height:28px;color:var(--muted);cursor:pointer;text-transform:uppercase;background:#0f172a85;border:1px solid #2c3545e6;border-radius:999px;align-items:center;gap:7px;padding:4px 9px;font-size:11px;font-weight:850;display:inline-flex}.debug-log-filter.active{color:var(--ink-strong);background:#2dd4bf1f}.debug-log-filter.error.active{border-color:#f87171c2}.debug-log-filter.warn.active{border-color:#fbbf24c2}.debug-log-filter.info.active{border-color:#2dd4bfc2}.debug-log-filter.debug.active{border-color:#94a3b8c2}.debug-log-filter strong{min-width:20px;height:20px;color:inherit;background:#02061794;border-radius:999px;place-items:center;font-size:10px;display:grid}.debug-log-list{align-content:start;gap:4px;padding:8px 12px 12px;display:grid;overflow:auto}.debug-log-entry{background:#0f172aa3;border:1px solid #2c3545db;border-left:3px solid #94a3b8b8;border-radius:6px;grid-template-columns:max-content max-content max-content minmax(180px,1fr) minmax(160px,.65fr);align-items:center;gap:8px;min-height:28px;padding:4px 8px;display:grid}.debug-log-entry.info{border-left-color:var(--accent)}.debug-log-entry.warn{border-left-color:var(--amber)}.debug-log-entry.error{border-left-color:#f87171}.debug-log-entry time,.debug-log-entry strong,.debug-log-entry em,.debug-log-entry p,.debug-log-entry code{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.debug-log-entry time{color:var(--muted);font-size:11px;font-weight:820}.debug-log-entry strong{color:var(--ink-strong);text-transform:capitalize}.debug-log-entry em{color:var(--muted);text-transform:uppercase;font-style:normal}.debug-log-entry p{color:var(--ink);margin:0;font-size:12px;line-height:1}.debug-log-entry code{color:var(--muted-strong);background:#020617b8;border-radius:6px;margin:0;padding:3px 6px;font-size:11px;line-height:1}.debug-log-empty{color:var(--muted);border:1px dashed #2c3545e6;border-radius:8px;margin:0;padding:14px;font-size:12px}.storyboard-sentence-list{align-content:start;gap:6px;min-width:0;display:grid}.storyboard-sentence-row{background:#080a0e70;border:1px solid #2c3545ad;border-radius:7px;grid-template-columns:58px minmax(0,1fr);align-items:start;gap:8px;padding:7px 8px;display:grid}.storyboard-sentence-row span{color:var(--accent);font-size:12px;font-weight:800}.storyboard-sentence-row p{color:var(--muted-strong);font-size:13px;line-height:1.35}.storyboard-media-track-wrap,.storyboard-inclusion-area,.storyboard-transcript-area,.storyboard-container-parallel-timing,.storyboard-frame-area{gap:8px;min-width:0;display:grid}.storyboard-transcript-area{z-index:12;background:#10151d;border:1px solid #2c3545db;border-radius:8px;align-self:start;width:min(100vw,100%);max-width:100vw;padding:8px;position:sticky;left:0;box-shadow:10px 0 20px #0000003d}.storyboard-frame-area,.storyboard-transcript-area,.storyboard-inclusion-area{align-content:start}.storyboard-inclusion-form{grid-template-columns:minmax(120px,1fr) 104px minmax(220px,2fr) minmax(180px,1.4fr) auto;align-items:stretch;gap:8px;display:grid}.storyboard-inclusion-form input,.storyboard-inclusion-form select,.storyboard-inclusion-form textarea,.storyboard-inclusion-card textarea{min-width:0;color:var(--ink);font:inherit;background:#05070ac7;border:1px solid #2c3545f2;border-radius:6px;padding:8px;font-size:12px}.storyboard-inclusion-form textarea,.storyboard-inclusion-card textarea{resize:vertical}.storyboard-inclusion-sequence{background:#080a0e6b;border:1px solid #2c3545e6;border-radius:8px;gap:10px;min-width:520px;padding:10px;display:flex;overflow-x:auto}.storyboard-inclusion-card{background:#0d121cf0;border:1px solid #93c5fd57;border-radius:8px;flex:0 0 220px;grid-template-rows:84px auto auto minmax(76px,auto) auto;gap:7px;min-width:200px;padding:7px;display:grid}.storyboard-inclusion-card strong,.storyboard-inclusion-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.storyboard-inclusion-card strong{color:var(--ink-strong);font-size:12px}.storyboard-inclusion-card small{color:var(--muted);font-size:11px}.storyboard-ref-toggle{color:var(--muted-strong);align-items:center;gap:6px;font-size:11px;display:inline-flex}.storyboard-empty-hint{color:var(--muted);background:#080a0e5c;border:1px dashed #2c3545e6;border-radius:8px;padding:12px;font-size:12px}.storyboard-transcript-list{background:#080a0e6b;border:1px solid #2c3545db;border-radius:8px;max-height:220px;display:grid;overflow:auto}.storyboard-container-audio-strip{background:#080a0e6b;border:1px solid #2c3545db;border-radius:8px;grid-template-columns:minmax(180px,1fr) minmax(260px,auto);align-items:center;gap:10px;padding:9px;display:grid}.storyboard-container-audio-strip.available{border-color:#2dd4bf61}.storyboard-container-audio-strip.stale{border-color:#fbbf247a}.storyboard-container-audio-strip.handoff-stale{box-shadow:inset 0 0 0 1px #fb923c47}.storyboard-container-audio-strip strong,.storyboard-container-audio-strip small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.storyboard-container-audio-strip strong{color:var(--ink-strong);font-size:12px}.storyboard-container-audio-strip small{color:var(--muted);font-size:11px;font-weight:760}.storyboard-container-audio-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;min-width:0;display:flex}.storyboard-container-audio-actions audio{width:180px;max-width:100%;height:32px}.storyboard-audio-redetection-review{background:#14b8a614;border:1px solid #2dd4bf57;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;display:grid}.storyboard-audio-redetection-review strong,.storyboard-audio-redetection-review small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.storyboard-audio-redetection-review strong{color:var(--ink-strong);font-size:12px}.storyboard-audio-redetection-review small{color:var(--muted);font-size:11px;font-weight:740}.storyboard-audio-redetection-error{color:#fecaca;background:#7f1d1d47;border:1px solid #f871716b;border-radius:8px;margin:0;padding:8px 10px;font-size:12px;font-weight:760}.storyboard-transcript-row{grid-template-columns:58px minmax(0,1fr);align-items:start;gap:10px;padding:8px 10px;display:grid}.storyboard-transcript-row+.storyboard-transcript-row{border-top:1px solid #2c3545b8}.storyboard-transcript-row span{color:var(--accent);font-size:11px;font-weight:900;line-height:1.35}.storyboard-transcript-row p{color:var(--muted-strong);margin:0;font-size:12px;line-height:1.42}.storyboard-transcript-row.transcript-colored{background:color-mix(in srgb, var(--transcript-segment-color) 12%, transparent)}.storyboard-transcript-row.transcript-colored span,.storyboard-transcript-row.transcript-colored p{color:var(--transcript-segment-color,var(--accent))}.storyboard-frame-area-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:8px;min-width:0;padding-bottom:7px;display:flex}.storyboard-frame-area-head strong{color:var(--muted-strong);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.storyboard-frame-area-head-meta{justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.storyboard-selected-composition-badge{border:1px solid color-mix(in srgb, var(--composition-color) 62%, #94a3b85c);background:color-mix(in srgb, var(--composition-color) 16%, #080a0edb);min-width:0;max-width:min(360px,48vw);color:var(--ink-strong);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:4px 9px;font-size:11px;font-weight:850;display:inline-flex;overflow:hidden}.storyboard-selected-composition-badge span{background:var(--composition-color);width:8px;height:8px;box-shadow:0 0 0 2px color-mix(in srgb, var(--composition-color) 24%, transparent);border-radius:50%;flex:none}.storyboard-sequence-visual-segment{z-index:2;text-overflow:ellipsis;white-space:nowrap;background:var(--storyboard-sequence-segment-color,var(--accent));color:#f8fafcd1;min-width:10px;height:10px;box-shadow:0 0 0 2px #080a0e9e, 0 0 16px color-mix(in srgb, var(--storyboard-sequence-segment-color,var(--accent)) 42%, transparent);border-radius:999px;place-items:center;font-size:9px;font-weight:900;display:grid;position:absolute;top:11px;overflow:hidden}.storyboard-sequence-visual-segment.invalidated{outline-offset:2px;outline:2px dashed #fbbf24d9}.storyboard-sequence-frame-pin{z-index:3;box-sizing:border-box;background:#ccfbf1f5;border:3px solid #080a0ee0;border-radius:50%;width:16px;height:16px;position:absolute;top:16px;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #2dd4bfc7}.storyboard-sequence-frame-pin.video{background:#fdba74f2;border-radius:999px}.storyboard-sequence-guide{z-index:1;pointer-events:none;background:#94a3b857;width:1px;position:absolute;top:0;bottom:0}.storyboard-sequence-guide.frame-marker{background:#cbd5e16b}.storyboard-container-time-rail{background:#080a0e7a;border:1px solid #2c3545db;border-radius:8px;min-width:520px;height:88px;position:relative}.storyboard-container-time-rail.order-only{height:74px}.storyboard-container-time-rail:before{content:"";background:#93c5fd9e;border-radius:999px;height:2px;position:absolute;top:20px;left:42px;right:42px}.storyboard-container-time-rail.order-only:before{background:#93c5fd6b;top:22px}.storyboard-media-span-segment{z-index:1;background:var(--storyboard-segment-color,var(--accent));min-width:10px;height:12px;box-shadow:0 0 0 2px #080a0e9e, 0 0 16px color-mix(in srgb, var(--storyboard-segment-color,var(--accent)) 46%, transparent);opacity:.84;pointer-events:none;border-radius:999px;position:absolute;top:15px}.storyboard-container-time-rail.order-only .storyboard-media-span-segment{top:17px}.storyboard-media-span-label{color:var(--ink-strong);text-shadow:0 1px 6px #000000b8;white-space:nowrap;flex-direction:column;align-items:center;gap:3px;font-size:10px;font-weight:900;line-height:1;display:flex;position:absolute;top:16px;left:50%;transform:translate(-50%)}.storyboard-media-span-duration{color:var(--ink-muted);font-size:9px;font-weight:800;line-height:1}.storyboard-frame-timing-marker{z-index:2;cursor:default;border:0;padding:0;display:block;position:absolute;top:21px;transform:translate(-50%)}.storyboard-frame-timing-marker:disabled{cursor:default}.storyboard-frame-timing-marker.dragging{z-index:3}.storyboard-frame-timing-marker.image{background:var(--accent);border-radius:999px;width:2px;height:30px;box-shadow:0 0 0 2px #080a0eb3}.storyboard-frame-timing-marker.image:before{box-sizing:border-box;width:var(--marker-dot-size,12px);height:var(--marker-dot-size,12px);background:var(--accent);content:"";border:2px solid #080a0ee6;border-radius:50%;position:absolute;top:0;left:50%;transform:translate(-50%,-50%)}.storyboard-frame-timing-marker.video{background:var(--amber);border-radius:999px;min-width:18px;height:12px;top:17px;transform:none;box-shadow:0 0 0 2px #080a0eb8}.storyboard-frame-timing-marker.video:before{box-sizing:border-box;background:var(--amber);content:"";border:2px solid #080a0ee6;border-radius:999px;width:12px;height:18px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.storyboard-frame-marker-number{top:calc(12px + var(--marker-label-lane,0) * 16px);background:var(--panel-soft);width:18px;height:18px;color:var(--ink-strong);border-radius:50%;place-items:center;font-size:10px;font-weight:900;display:grid;position:absolute;left:50%;transform:translate(-50%)}.storyboard-frame-timing-marker.video .storyboard-frame-marker-number{top:calc(18px + var(--marker-label-lane,0) * 16px)}.storyboard-tick-rail,.storyboard-media-track,.storyboard-frame-sequence{min-width:520px;position:relative}.storyboard-tick-rail{border-bottom:1px solid var(--line)}.storyboard-tick-rail span{color:var(--muted);white-space:nowrap;gap:2px;font-size:10px;font-weight:800;display:grid;position:absolute;bottom:0;transform:translate(-50%)}.storyboard-tick-rail span:before{background:var(--line-strong);content:"";width:1px;height:8px;margin:0 auto;display:block}.storyboard-media-track,.storyboard-frame-sequence{background:#080a0e80;border:1px solid #2c3545e6;border-radius:8px;min-height:246px;overflow-x:auto}.storyboard-frame-sequence{align-items:stretch;gap:14px;padding:14px;display:flex}.storyboard-frame-sequence-grid{align-items:stretch;gap:0;display:grid;overflow:visible}.storyboard-frame-sequence-grid .storyboard-placement-card,.storyboard-frame-sequence-grid .storyboard-placement-add-card,.storyboard-frame-sequence-grid .storyboard-placement-add-stack{min-width:0}.storyboard-frame-sequence-grid .storyboard-placement-card{isolation:isolate}.storyboard-frame-sequence-grid .storyboard-placement-card[draggable=true]{cursor:grab}.storyboard-frame-sequence-grid .storyboard-placement-card.dragging{opacity:.58;cursor:grabbing;outline:2px solid #2dd4bfb8}.storyboard-flf-pair-row{background:#080a0e66;border:1px solid #2c3545db;border-radius:8px;gap:0;min-width:520px;padding:12px 14px;display:grid;overflow:visible}.storyboard-flf-pair-slot{align-content:start;gap:8px;min-width:0;margin:0;display:grid}.storyboard-flf-pair-slot.mixed{gap:10px}.storyboard-flf-pair-slot.empty{min-height:132px}.storyboard-flf-pair-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.storyboard-flf-pair-head .primary-action,.storyboard-flf-pair-head .secondary-action{min-height:30px;padding:6px 10px;font-size:11px}.storyboard-flf-pair-card{background:#111827e6;border:1px solid #fbbf245c;border-radius:8px;justify-self:stretch;gap:8px;width:100%;min-width:0;max-width:220px;padding:8px;display:grid;position:relative}.storyboard-flf-pair-card.mixed{background:#0c121eeb;border-color:#60a5fa57}.storyboard-flf-pair-card.resolving{background:#0d1a20eb;border-color:#2dd4bf94;min-height:126px}.storyboard-flf-pair-card.invalidated{background:#1a140feb;border-color:#fb923cb8}.storyboard-flf-pair-card.active{border-color:#2dd4bfc7;box-shadow:0 0 0 1px #2dd4bf3d}.storyboard-flf-pair-card.collapsed{gap:6px}.storyboard-active-marker{color:#99f6e4;background:#14b8a633;border:1px solid #2dd4bf80;border-radius:999px;align-items:center;width:max-content;padding:2px 7px;display:inline-flex}.storyboard-format-mismatch-marker{color:#f9a8d4;background:#9d174d38;border:1px solid #f472b680;border-radius:999px;align-items:center;width:max-content;padding:2px 7px;display:inline-flex}.storyboard-invalidated-marker{color:#fed7aa;background:#9a341247;border:1px solid #fb923c80;border-radius:999px;align-items:center;width:max-content;padding:2px 7px;display:inline-flex}.storyboard-flf-pair-card .storyboard-attachment-preview{width:100%;max-width:100%}.storyboard-flf-pair-card .storyboard-attachment-preview img,.storyboard-flf-pair-card .storyboard-attachment-preview video{object-fit:contain;width:100%;min-width:0;height:100%;display:block}.storyboard-transition-kind-label{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:700}.storyboard-flf-pair-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.storyboard-flf-pair-actions .tiny-action.active{color:#99f6e4;background:#14b8a62e;border-color:#2dd4bfb8}.storyboard-section-head{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.storyboard-section-head.compact{border-bottom:1px solid #2c3545c7;padding-bottom:7px}.storyboard-section-head strong,.storyboard-section-head small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.storyboard-section-head strong{color:var(--ink-strong);font-size:13px}.storyboard-section-head small{color:var(--muted);font-size:11px;font-weight:760}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.storyboard-composition-version-controls{flex:auto;justify-content:flex-end;align-items:center;gap:7px;min-width:220px;display:flex;position:relative}.storyboard-composition-version-controls select{min-width:180px;max-width:320px;color:var(--ink);font:inherit;background:#03070cd6;border:1px solid #2c3545f0;border-radius:6px;padding:6px 8px;font-size:12px;font-weight:780}.storyboard-composition-version-mode{appearance:none;color:var(--muted-strong);text-transform:uppercase;border:1px solid #2c3545e0;border-radius:999px;padding:4px 8px;font-family:inherit;font-size:11px;font-weight:860}button.storyboard-composition-version-mode{cursor:pointer}button.storyboard-composition-version-mode:disabled{cursor:default}.storyboard-composition-version-mode.frozen{color:#d8b4fe;background:#581c872e;border-color:#a855f79e}.storyboard-composition-version-mode.working{color:#99f6e4;background:#14b8a61f;border-color:#2dd4bf80}.storyboard-composition-version-artifacts{color:#cbd5e1;white-space:nowrap;background:#0f172ab8;border:1px solid #94a3b859;border-radius:8px;align-items:center;min-height:28px;padding:0 .65rem;font-size:11px;font-weight:780;display:inline-flex}.storyboard-artifact-inventory{background:var(--surface-raised,#111827);border:1px solid var(--accent-cyan,#2dd4bf);z-index:12;border-radius:8px;gap:10px;width:min(760px,90vw);max-width:min(760px,90vw);max-height:420px;padding:12px;display:grid;position:absolute;top:52px;right:12px;overflow:auto}.storyboard-artifact-inventory-head,.storyboard-artifact-inventory-summary,.storyboard-artifact-inventory-item{align-items:center;gap:10px;display:flex}.storyboard-artifact-inventory-head{justify-content:space-between}.storyboard-artifact-inventory-summary{flex-wrap:wrap;font-size:.75rem}.storyboard-artifact-inventory-list{gap:6px;display:grid}.storyboard-artifact-inventory-item{border-left:3px solid var(--accent-cyan,#2dd4bf);flex-direction:column;align-items:flex-start;gap:2px;padding:6px 8px}.storyboard-artifact-inventory-item.missing{border-left-color:#fb7185}.storyboard-artifact-inventory-item small{color:var(--text-muted,#94a3b8);text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.storyboard-composition-version-artifacts.complete{color:#99f6e4;border-color:#2dd4bf73}.storyboard-composition-version-artifacts.partial{color:#fde68a;border-color:#facc158c}.storyboard-composition-version-artifacts.degraded{color:#fca5a5;border-color:#f871719e}.storyboard-vace-cache-badge{color:#cbd5e1;white-space:nowrap;background:#0f172ab8;border:1px solid #94a3b859;border-radius:8px;align-items:center;min-height:28px;padding:0 .65rem;font-size:11px;font-weight:860;display:inline-flex}.storyboard-vace-cache-state{align-items:center;gap:.4rem;min-width:0;display:inline-flex}.storyboard-vace-cache-details{scrollbar-width:thin;align-items:center;gap:.25rem;max-width:min(34vw,420px);display:inline-flex;overflow-x:auto}.storyboard-vace-cache-pill{color:#cbd5e1;white-space:nowrap;background:#0f172a85;border:1px solid #94a3b847;border-radius:7px;align-items:center;min-height:24px;padding:0 .45rem;font-size:10px;font-weight:820;display:inline-flex}.storyboard-vace-cache-badge.ready{color:#bbf7d0;border-color:#22c55e8c}.storyboard-vace-cache-pill.ready{color:#bbf7d0;border-color:#22c55e80}.storyboard-vace-cache-badge.missing,.storyboard-vace-cache-badge.processing{color:#fde68a;border-color:#eab3088c}.storyboard-vace-cache-pill.missing,.storyboard-vace-cache-pill.processing{color:#fde68a;border-color:#eab30873}.storyboard-vace-cache-badge.stale,.storyboard-vace-cache-badge.failed{color:#fecdd3;border-color:#f43f5e99}.storyboard-vace-cache-pill.stale,.storyboard-vace-cache-pill.failed{color:#fecdd3;border-color:#f43f5e80}.secondary-action.compact{min-height:28px;padding:5px 9px;font-size:12px}.storyboard-composition-section{background:0 0;border:0;border-radius:0;grid-column:1/-1;gap:10px;min-width:max-content;padding:0;display:grid;overflow:visible}.storyboard-composition-section>.storyboard-section-head.compact{border-bottom:0;padding-bottom:0}.storyboard-composition-grid{grid-template-columns:minmax(0,1fr);gap:10px;min-width:max-content;display:grid}.storyboard-timeline-scale-row{grid-column:1/-1;justify-content:flex-start;width:100%;min-width:0;display:flex}.storyboard-timeline-scale-control{background:#080a0e80;border:1px solid #2c3545e0;border-radius:8px;grid-template-columns:18px minmax(120px,220px) 24px minmax(42px,auto);align-items:center;gap:8px;width:min(348px,100%);max-width:100%;padding:7px 9px;display:inline-grid}.storyboard-timeline-scale-control input[type=range]{width:100%;accent-color:var(--accent)}.storyboard-timeline-scale-control output{color:var(--muted);text-align:right;white-space:nowrap;font-size:11px;font-weight:800}.storyboard-timeline-scale-icon{height:16px;display:inline-block;position:relative}.storyboard-timeline-scale-icon.compact:before,.storyboard-timeline-scale-icon.compact:after{content:"";border-bottom:6px solid #94a3b8bf;border-left:5px solid #0000;border-right:5px solid #0000;width:0;height:0;position:absolute;bottom:3px}.storyboard-timeline-scale-icon.compact:before{left:1px;transform:scale(.65)}.storyboard-timeline-scale-icon.compact:after{right:1px}.storyboard-timeline-scale-icon.expanded:before,.storyboard-timeline-scale-icon.expanded:after{content:"";border-bottom:10px solid #94a3b8c7;border-left:7px solid #0000;border-right:7px solid #0000;width:0;height:0;position:absolute;bottom:2px}.storyboard-timeline-scale-icon.expanded:before{left:0;transform:translate(-1px)scale(.78)}.storyboard-timeline-scale-icon.expanded:after{right:0}.storyboard-composition-timeline{background:#080a0e61;border:1px solid #2c3545c7;border-radius:8px;gap:6px;width:max-content;min-width:100%;padding:8px;display:grid;overflow-x:visible}.storyboard-composition-ruler{width:max(var(--composition-timeline-track-width,0px), calc(100% - 150px));border-bottom:1px solid #94a3b838;height:22px;margin-left:150px;position:relative}.storyboard-composition-ruler span{color:var(--muted);white-space:nowrap;font-size:10px;font-weight:850;position:absolute;top:0;transform:translate(-50%)}.storyboard-composition-ruler span:after{content:"";background:#94a3b885;width:1px;height:8px;margin:4px auto 0;display:block}.storyboard-composition-transcript-row,.storyboard-composition-audio-row,.storyboard-composition-vace-row,.storyboard-composition-overview-row,.storyboard-composition-layer-row{grid-template-columns:140px minmax(var(--composition-timeline-track-width,0px), 1fr);gap:10px;min-width:0;display:grid}.storyboard-composition-row-label{min-width:0;color:var(--muted-strong);text-transform:uppercase;align-items:center;font-size:11px;font-weight:900;display:flex}.storyboard-composition-row-label.audio{color:var(--accent)}.storyboard-composition-row-label.transcript{color:var(--muted-strong)}.storyboard-composition-row-label.vace-joins{color:#d8b4fe}.storyboard-composition-row-track{isolation:isolate;background:#080a0e6b;border:1px solid #2c3545e6;border-radius:8px;min-width:0;min-height:42px;position:relative;overflow:hidden}.storyboard-composition-row-track.audio{min-height:70px;padding-right:48px}.storyboard-composition-row-track.transcript{min-height:64px}.storyboard-composition-row-track.vace-joins{background:#080a0e52;min-height:34px}.storyboard-composition-visual-timing-overlay{z-index:3;pointer-events:none;position:absolute;inset:0;overflow:hidden}.storyboard-composition-visual-timing-overlay .storyboard-sequence-visual-segment{z-index:4;opacity:.96;cursor:help;pointer-events:auto;transition:box-shadow .12s ease-out,filter .12s ease-out,transform .12s ease-out;top:50%;transform:translateY(-50%)}.storyboard-composition-visual-timing-overlay .storyboard-sequence-visual-segment:hover,.storyboard-composition-visual-timing-overlay .storyboard-sequence-visual-segment:focus-visible{z-index:7;filter:brightness(1.22)saturate(1.16);outline-offset:3px;box-shadow:0 0 0 3px #080a0edb, 0 0 20px color-mix(in srgb, var(--storyboard-sequence-segment-color,var(--accent)) 86%, transparent), 0 0 34px color-mix(in srgb, var(--storyboard-sequence-segment-color,var(--accent)) 48%, transparent);outline:2px solid #f8fafceb;transform:translateY(-50%)scaleY(1.45)}.storyboard-composition-visual-timing-overlay .storyboard-sequence-frame-pin{z-index:5;top:50%}.storyboard-composition-visual-timing-overlay .storyboard-sequence-guide{z-index:1}.storyboard-visual-segment-tooltip{z-index:100;color:#f8fafc;pointer-events:none;background:#040b12f5;border:1px solid #5eead49e;border-radius:7px;gap:2px;min-width:180px;max-width:min(300px,100vw - 24px);padding:8px 10px;font-size:11px;line-height:1.25;display:grid;position:fixed;transform:translate(14px,calc(-100% - 12px));box-shadow:0 8px 22px #00000070}.storyboard-visual-segment-tooltip strong{font-size:12px;font-weight:900}.storyboard-visual-segment-tooltip span{color:#99f6e4;font-weight:750}.storyboard-visual-segment-tooltip small{color:#e2e8f0cc;font-size:10px}.storyboard-sequence-diagnostic-badge{z-index:8;color:#fecaca;text-align:center;background:#450a0af0;border:1px solid #fb7185d9;border-radius:999px;min-width:18px;height:18px;padding:0 5px;font-size:10px;font-weight:900;line-height:16px;position:absolute;top:3px;right:3px}.storyboard-composition-vace-line{z-index:1;pointer-events:none;background:#94a3b857;border-radius:999px;height:2px;position:absolute;top:50%;left:10px;right:10px;transform:translateY(-50%)}.storyboard-composition-vace-dot{z-index:2;border:2px solid #080a0ef2;border-radius:999px;width:13px;height:13px;position:absolute;top:50%;transform:translate(-50%,-50%)}.storyboard-composition-vace-dot.ready{background:#22c55e;box-shadow:0 0 0 1px #22c55e85,0 0 12px #22c55e5c}.storyboard-composition-vace-dot.missing{background:#64748b;box-shadow:0 0 0 1px #94a3b86b,0 0 10px #94a3b82e}.storyboard-composition-vace-dot.stale{background:#eab308;box-shadow:0 0 0 1px #eab3088f,0 0 12px #eab30852}.storyboard-composition-sentence-band{z-index:1;background:linear-gradient(180deg, color-mix(in srgb, var(--transcript-segment-color) 18%, transparent), color-mix(in srgb, var(--transcript-segment-color) 10%, transparent)), #0f172a14;pointer-events:none;border-radius:6px;min-width:2px;position:absolute;top:5px;bottom:5px}.storyboard-composition-sentence-boundary,.storyboard-composition-transcript-boundary{z-index:4;background-image:repeating-linear-gradient(to bottom, color-mix(in srgb, var(--transcript-segment-color) 88%, white 8%) 0 4px, transparent 4px 8px);pointer-events:none;border-radius:999px;width:2px;position:absolute;top:6px;bottom:6px;transform:translate(-1px);box-shadow:0 0 0 1px #080a0e7a}.storyboard-composition-flf-snap-guide{z-index:5;pointer-events:none;background:repeating-linear-gradient(#fbbf24eb 0 3px,#0000 3px 6px);width:1px;position:absolute;top:3px;bottom:3px;transform:translate(-.5px);box-shadow:0 0 10px #fbbf243d}.storyboard-composition-transcript-segment{z-index:2;border:1px solid color-mix(in srgb, var(--transcript-segment-color) 82%, white 10%);background:linear-gradient(180deg, color-mix(in srgb, var(--transcript-segment-color) 26%, transparent), color-mix(in srgb, var(--transcript-segment-color) 16%, transparent)), #0f172a6b;min-width:54px;color:var(--ink-strong);box-shadow:inset 0 -2px 0 color-mix(in srgb, var(--transcript-segment-color) 50%, transparent), inset 0 0 0 999px color-mix(in srgb, var(--transcript-segment-color) 9%, transparent);border-radius:6px;align-content:center;padding:6px 10px;display:grid;position:absolute;top:7px;bottom:7px;overflow:hidden}.storyboard-composition-transcript-segment strong,.storyboard-composition-transcript-segment small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.storyboard-composition-transcript-segment strong{color:#f8fafcf0;font-size:11px;font-weight:900}.storyboard-composition-transcript-segment small{color:#e2e8f0d6;font-size:11px;font-weight:750}.storyboard-composition-audio-segment{z-index:2;color:#e0f2fef5;text-overflow:ellipsis;white-space:nowrap;background:#14b8a657;border:1px solid #2dd4bfb8;border-radius:6px;justify-content:center;align-items:center;min-width:26px;font-size:12px;font-weight:850;display:flex;position:absolute;top:7px;bottom:7px;overflow:hidden}.storyboard-composition-audio-segment-waveform{z-index:1;opacity:.72;pointer-events:none;justify-content:center;align-items:center;gap:2px;min-width:0;display:flex;position:absolute;inset:8px}.storyboard-composition-audio-segment-waveform span{background:#2dd4bfb8;border-radius:999px;flex:1 1 0;min-width:1px;max-width:8px;box-shadow:0 0 8px #2dd4bf33}.storyboard-composition-audio-segment-label{z-index:2;text-overflow:ellipsis;white-space:nowrap;background:#080d1447;border-radius:999px;max-width:calc(100% - 14px);padding:0 7px;position:relative;overflow:hidden}.storyboard-composition-audio-segment.composition-audio{cursor:context-menu;background:#0ea5e95c;border-color:#f8fafcd1;box-shadow:inset 0 -2px #2dd4bfb8}.storyboard-file-button.storyboard-composition-audio-add{z-index:6;color:#f0fdfafa;border-radius:50%;justify-content:center;width:30px;min-width:30px;height:30px;padding:0;font-size:22px;line-height:1;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.storyboard-composition-audio-error{z-index:6;max-width:min(360px,58%);color:var(--danger);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;position:absolute;bottom:5px;right:45px;overflow:hidden}.storyboard-composition-guide{z-index:1;pointer-events:none;background:#94a3b857;width:1px;position:absolute;top:0;bottom:0}.storyboard-composition-guide.frame-marker{background:#cbd5e16b}.storyboard-composition-guide.time-tick{z-index:0;background:#94a3b829}.storyboard-composition-overview-span,.storyboard-composition-block{z-index:2;box-sizing:border-box;border:1px solid color-mix(in srgb, var(--composition-color) 86%, white 8%);background:color-mix(in srgb, var(--composition-color) 36%, #0f172af5);min-width:42px;color:var(--ink-strong);cursor:pointer;font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;border-radius:6px;align-items:center;font-size:11px;font-weight:900;display:flex;position:absolute;top:8px;bottom:8px;overflow:hidden}.storyboard-composition-overview-span{justify-content:center;min-width:0;padding:0 8px}.storyboard-composition-block.resolved-visible,.storyboard-composition-block-ghost{min-width:0}.storyboard-composition-overview-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.storyboard-composition-overview-span.generated-layer{padding:0 3px}.storyboard-composition-overview-span.compact{padding:0 2px}.storyboard-composition-overview-span.compact .storyboard-composition-overview-label{display:none}.storyboard-composition-overview-span.generated-layer:before{content:"↔";color:var(--ink-strong);text-align:center;font-size:13px;font-weight:950;line-height:1;display:block;overflow:hidden}.storyboard-composition-overview-span.resolved{box-shadow:inset 0 -2px 0 color-mix(in srgb, var(--composition-color) 68%, transparent)}.storyboard-composition-overview-span.selected,.storyboard-composition-block.selected{box-shadow:0 0 0 2px #2dd4bf6b, 0 0 18px color-mix(in srgb, var(--composition-color) 42%, transparent)}.storyboard-composition-overview-span.selected{box-shadow:inset 0 0 0 2px #e2e8f0c7, inset 0 -2px 0 color-mix(in srgb, var(--composition-color) 68%, transparent)}.storyboard-composition-layer-list{gap:4px;display:grid}.storyboard-composition-layer-label{min-width:0;color:var(--muted);cursor:grab;font:inherit;text-align:left;background:#0f172ab8;border:1px solid #2c3545e6;border-radius:8px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:2px 8px;padding:7px;display:grid}.storyboard-composition-layer-label:active{cursor:grabbing}.storyboard-composition-layer-label.editing{cursor:default}.storyboard-composition-layer-row.add-layer{align-items:center}.storyboard-composition-add-layer-button{color:#ccfbf1f5;cursor:pointer;width:36px;height:36px;font:inherit;background:#0f172ab8;border:1px solid #2dd4bf7a;border-radius:8px;place-items:center;font-size:20px;font-weight:900;line-height:1;display:grid}.storyboard-composition-add-layer-button:hover:not(:disabled),.storyboard-composition-add-layer-button:focus-visible{background:#14b8a629;border-color:#5eead4d1;outline:none;box-shadow:0 0 0 2px #2dd4bf29}.storyboard-composition-add-layer-button:disabled{color:#94a3b88a;cursor:not-allowed;border-color:#47556985}.storyboard-composition-row-track.add-layer{background:0 0;border-color:#0000;min-height:36px}.storyboard-composition-layer-row.dragging-layer{opacity:.72}.storyboard-composition-layer-label span:not(.storyboard-composition-drag-grip),.storyboard-composition-layer-label strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.storyboard-composition-layer-label strong{grid-column:2;font-size:12px}.storyboard-composition-layer-name-input{width:100%;min-width:0;color:var(--ink-strong);font:inherit;background:#020617d1;border:1px solid #2dd4bfad;border-radius:6px;grid-column:2;padding:4px 6px;font-size:12px;font-weight:850}.storyboard-composition-layer-name-input:focus{border-color:#5eead4e6;outline:none;box-shadow:0 0 0 2px #2dd4bf2e}.storyboard-composition-context-menu{z-index:80;background:#080d16fa;border:1px solid #2dd4bf57;border-radius:8px;min-width:178px;padding:5px;display:grid;position:fixed;overflow:hidden;box-shadow:0 18px 48px #0000006b}.storyboard-composition-context-menu button{min-height:34px;color:var(--ink-strong);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;padding:8px 10px;font-size:12px;font-weight:850;display:flex}.storyboard-composition-context-menu button:hover:not(:disabled),.storyboard-composition-context-menu button:focus-visible{background:#2dd4bf1f;outline:none}.storyboard-composition-context-menu button.danger{color:#fecaca}.storyboard-composition-context-menu button.danger:hover:not(:disabled),.storyboard-composition-context-menu button.danger:focus-visible{background:#7f1d1d52}.storyboard-composition-context-menu button:disabled{color:#94a3b88f;cursor:not-allowed}.storyboard-composition-drag-grip{color:#94a3b8b8;letter-spacing:1px;grid-row:1/span 2;font-size:14px;font-weight:900}.storyboard-composition-block{z-index:2;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;grid-template-columns:minmax(0,1fr);align-content:center;gap:4px;padding:6px 12px;display:grid;top:5px;bottom:5px}.storyboard-composition-layer-label.generated-layer,.storyboard-composition-block.generated-layer{cursor:default}.storyboard-composition-layer-row.generated-layer .storyboard-composition-drag-grip{opacity:.36}.storyboard-composition-block.generated-layer:active{cursor:default}.storyboard-composition-generated-clip{z-index:3;border:1px solid color-mix(in srgb, var(--composition-color) 86%, white 8%);background:color-mix(in srgb, var(--composition-color) 42%, #0f172afa);min-width:0;color:var(--ink-strong);cursor:pointer;font:inherit;text-align:left;box-shadow:inset 0 -2px 0 color-mix(in srgb, var(--composition-color) 58%, transparent);border-radius:6px;grid-template-columns:minmax(0,1fr);align-content:center;padding:5px 10px;display:grid;position:absolute;top:5px;bottom:5px;overflow:hidden}.storyboard-composition-generated-clip.stale{opacity:.72;border-style:dashed}.storyboard-composition-generated-clip span,.storyboard-composition-generated-clip small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.storyboard-composition-generated-clip span{font-size:11px;font-weight:900}.storyboard-composition-generated-clip small{color:#e2e8f0c7;font-size:9px;font-weight:800}.storyboard-composition-planned-transition{z-index:3;border:1px dashed color-mix(in srgb, var(--composition-color) 78%, white 12%);background:repeating-linear-gradient(-45deg, color-mix(in srgb, var(--composition-color) 20%, transparent) 0 8px, #0f172a85 8px 16px), #0f172ac7;min-width:0;color:var(--ink-strong);cursor:grab;font:inherit;text-align:left;touch-action:none;box-shadow:inset 0 -2px 0 color-mix(in srgb, var(--composition-color) 54%, transparent);border-radius:6px;grid-template-columns:minmax(0,1fr);align-content:center;padding:4px 9px;display:grid;position:absolute;top:7px;bottom:7px;overflow:hidden}.storyboard-composition-planned-transition.dragging{z-index:6;cursor:grabbing;box-shadow:0 0 0 2px color-mix(in srgb, var(--composition-color) 36%, transparent), inset 0 -2px 0 color-mix(in srgb, var(--composition-color) 54%, transparent);border-style:solid}.storyboard-composition-planned-transition.compact{justify-items:center;padding:0 2px}.storyboard-composition-planned-transition.compact span:not(.storyboard-composition-transition-handle),.storyboard-composition-planned-transition.compact small{display:none}.storyboard-composition-planned-transition.compact:before{content:"↔";color:var(--ink-strong);font-size:12px;font-weight:950;line-height:1}.storyboard-composition-transition-handle{z-index:2;cursor:ew-resize;background:#f8fafce6;border-radius:999px;width:3px;position:absolute;top:7px;bottom:7px;box-shadow:0 0 0 1px #0f172ad1}.storyboard-composition-transition-handle.left{left:2px}.storyboard-composition-transition-handle.right{right:2px}.storyboard-composition-planned-transition.processing{opacity:.82;border-style:solid}.storyboard-composition-planned-transition.failed,.storyboard-composition-planned-transition.stale{border-color:#f87171c7}.storyboard-composition-planned-transition span,.storyboard-composition-planned-transition small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.storyboard-composition-planned-transition span{text-transform:uppercase;font-size:10px;font-weight:920}.storyboard-composition-planned-transition small{color:#e2e8f0c7;font-size:9px;font-weight:800}.storyboard-composition-block-ghost{z-index:1;border:1px dashed color-mix(in srgb, var(--composition-color) 62%, transparent);background:repeating-linear-gradient(135deg, color-mix(in srgb, var(--composition-color) 16%, transparent) 0 6px, transparent 6px 12px), color-mix(in srgb, var(--composition-color) 10%, transparent);opacity:.82;pointer-events:none;border-radius:6px;min-width:42px;position:absolute;top:5px;bottom:5px}.storyboard-composition-block:active,.storyboard-composition-block.dragging{cursor:grabbing}.storyboard-composition-block.dragging{box-shadow:0 0 0 2px #2dd4bf94, 0 0 22px color-mix(in srgb, var(--composition-color) 48%, transparent)}.storyboard-composition-trim-handle{cursor:ew-resize;touch-action:none;background:#f8fafceb;border-radius:999px;width:6px;position:absolute;top:7px;bottom:7px;box-shadow:0 0 0 1px #080a0ed1}.storyboard-composition-trim-handle.left{left:3px}.storyboard-composition-trim-handle.right{right:3px}.storyboard-composition-block-time{color:#f8fafceb;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.storyboard-composition-chip-list{gap:4px;min-width:0;display:flex;overflow:hidden}.storyboard-composition-item-chip{background:#080a0e73;border:1px solid #f8fafc2e;border-radius:5px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 4px;min-width:58px;max-width:118px;padding:2px 4px;display:inline-grid}.storyboard-composition-item-chip img,.storyboard-composition-item-chip video{object-fit:cover;border-radius:3px;grid-row:1/span 2;width:28px;height:18px}.storyboard-composition-item-chip strong,.storyboard-composition-item-chip small{color:var(--ink-strong);text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.1;overflow:hidden}.storyboard-composition-item-chip small{color:var(--muted)}.storyboard-composition-item-chip.more{color:var(--ink-strong);justify-content:center;display:inline-flex}.storyboard-composition-empty{height:100%;color:var(--muted);place-items:center;font-size:11px;font-weight:800;display:grid}.storyboard-attachment-preview{aspect-ratio:16/9;min-width:0;color:var(--ink);cursor:zoom-in;background:#05070a;border:1px solid #fbbf2438;border-radius:6px;place-items:center;padding:0;display:grid;overflow:hidden}.storyboard-attachment-preview.resolving{cursor:progress;border-color:#2dd4bf57}.storyboard-resolving-media{background:linear-gradient(135deg,#2dd4bf33,#93c5fd14),#05070a;place-items:center;width:100%;height:100%;display:grid}.storyboard-resolving-media span{border:3px solid #2dd4bf3d;border-top-color:#2dd4bff2;border-radius:50%;width:34px;height:34px;animation:.85s linear infinite storyboard-resolving-spin}@keyframes storyboard-resolving-spin{to{transform:rotate(360deg)}}.storyboard-attachment-preview:disabled{cursor:default;opacity:.72}.storyboard-attachment-preview:focus-visible{outline:2px solid var(--amber);outline-offset:2px}.storyboard-attachment-preview .storyboard-asset-thumbnail{background:#05070a;width:100%;height:100%}.storyboard-asset-thumbnail{background:#05070a;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.storyboard-asset-thumbnail>img{object-fit:contain;width:100%;min-width:0;height:100%;min-height:0;display:block}.storyboard-asset-thumbnail.preparing,.storyboard-asset-thumbnail.unavailable{color:var(--muted);text-align:center;background:linear-gradient(135deg,#1e293bb8,#02060ceb);padding:8px;font-size:11px;font-weight:800}.storyboard-asset-thumbnail.preparing{color:var(--teal)}.storyboard-thumbnail-video-badge{color:#99f6e4;letter-spacing:.04em;text-transform:uppercase;background:#02060cd6;border:1px solid #5eead47a;border-radius:999px;padding:2px 6px;font-size:9px;font-weight:900;position:absolute;bottom:6px;right:6px}.storyboard-attachment-meta{gap:4px;min-width:0;display:grid}.storyboard-attachment-meta strong,.storyboard-attachment-meta small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.storyboard-attachment-meta strong{color:var(--ink-strong);font-size:12px}.storyboard-attachment-meta small{color:var(--muted);font-size:11px}.storyboard-attachment-delete{z-index:4;color:#fecaca;cursor:pointer;opacity:0;background:#080a0edb;border:1px solid #f871717a;border-radius:50%;place-items:center;width:24px;height:24px;font-size:14px;font-weight:900;line-height:1;transition:opacity .14s,transform .14s,background .14s,border-color .14s;display:grid;position:absolute;top:6px;right:6px;transform:scale(.92)}.storyboard-flf-pair-card:hover .storyboard-attachment-delete,.storyboard-flf-pair-card:focus-within .storyboard-attachment-delete{opacity:1;transform:scale(1)}.storyboard-attachment-delete:hover,.storyboard-attachment-delete:focus-visible{background:#7f1d1deb;border-color:#f87171db;outline:none}.storyboard-attachment-delete:disabled{cursor:default;opacity:0}.storyboard-placement-card{background:#111827f0;border:1px solid #5eead459;border-radius:8px;flex:0 0 clamp(280px,34vw,380px);grid-template-rows:auto auto auto auto;gap:8px;min-width:260px;padding:9px;display:grid;position:relative;box-shadow:0 8px 16px #00000042}.storyboard-placement-add-stack{grid-template-rows:minmax(0,1fr) auto;gap:8px;min-width:180px;min-height:100%;display:grid}.storyboard-placement-add-card{color:#5eead4eb;cursor:pointer;background:#080a0e61;border:2px dashed #5eead47a;border-radius:8px;flex:0 0 clamp(180px,22vw,240px);align-self:stretch;place-items:center;min-width:180px;min-height:100%;transition:border-color .14s,background .14s,color .14s;display:grid;position:relative}.storyboard-placement-add-card:hover,.storyboard-placement-add-card:focus-within{color:var(--ink-strong);background:#0d94881f;border-color:#5eead4d1}.storyboard-placement-add-card.disabled{color:#94a3b894;cursor:not-allowed;border-color:#64748b6b}.storyboard-placement-add-card input{opacity:0;cursor:inherit;position:absolute;inset:0}.storyboard-placement-add-card span{border:1px solid;border-radius:50%;place-items:center;width:54px;height:54px;font-size:38px;font-weight:500;line-height:1;display:grid}.storyboard-placement-import-card{color:#ccfbf1f0;cursor:pointer;font:inherit;background:#0d948824;border:1px solid #5eead473;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:700}.storyboard-placement-import-card:hover:not(:disabled),.storyboard-placement-import-card:focus-visible{background:#0d94883d;border-color:#5eead4cc}.storyboard-placement-import-card:disabled{color:#94a3b894;cursor:not-allowed;border-color:#64748b61}.storyboard-source-badge{color:#bae6fdf5;background:#0e74902e;border:1px solid #7dd3fc8c;border-radius:999px;width:fit-content;padding:2px 8px;display:inline-flex}.cross-product-import-modal{background:#080d16fa;border:1px solid #5eead452;border-radius:8px;width:min(860px,100vw - 32px);max-height:min(760px,100vh - 48px);padding:18px;overflow:auto;box-shadow:0 24px 80px #00000073}.cross-product-import-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:14px 0;display:grid}.cross-product-import-search{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:12px;display:grid}.cross-product-import-search label{gap:5px;min-width:0;display:grid}.cross-product-import-search span{color:var(--ink-muted);text-transform:uppercase;font-size:12px;font-weight:800}.cross-product-import-search input{width:100%;color:var(--ink-strong);background:#020617c7;border:1px solid #475569e6;border-radius:8px;padding:9px 10px}.cross-product-import-option{color:var(--ink-strong);text-align:left;cursor:pointer;background:#0f172aeb;border:1px solid #475569d6;border-radius:8px;gap:8px;padding:8px;display:grid}.cross-product-import-option:hover,.cross-product-import-option:focus-visible{border-color:#5eead4d1;outline:none}.cross-product-import-option img{aspect-ratio:16/9;object-fit:contain;background:#020617e0;border-radius:6px;width:100%}.cross-product-import-option span{gap:3px;display:grid}.storyboard-placement-card.video{border-color:#fbbf2473}.storyboard-placement-card.rendering{border-color:#2dd4bfb8;box-shadow:0 0 0 1px #2dd4bf2e,0 10px 22px #00000052}.storyboard-placement-card.failed{border-color:#f87171a3}.storyboard-placement-delete,.storyboard-placement-copy{z-index:4;cursor:pointer;opacity:0;background:#080a0edb;border-radius:50%;place-items:center;width:28px;height:28px;line-height:1;transition:opacity .14s,transform .14s,background .14s,border-color .14s;display:grid;position:absolute;top:14px;transform:scale(.92)}.storyboard-placement-delete{color:#fecaca;border:1px solid #f8717180;font-size:17px;font-weight:900;right:14px}.storyboard-placement-copy{color:#dbeafe;border:1px solid #94a3b880;right:50px}.storyboard-placement-copy span,.storyboard-placement-copy span:before{content:"";border:1.6px solid;border-radius:3px;width:11px;height:13px;display:block}.storyboard-placement-copy span{position:relative;transform:translate(2px,1px)}.storyboard-placement-copy span:before{background:#080a0edb;position:absolute;top:-5px;left:-5px}.storyboard-placement-card:hover .storyboard-placement-delete,.storyboard-placement-card:hover .storyboard-placement-copy,.storyboard-placement-card:focus-within .storyboard-placement-delete,.storyboard-placement-card:focus-within .storyboard-placement-copy{opacity:1;transform:scale(1)}.storyboard-placement-delete:hover,.storyboard-placement-delete:focus-visible{background:#7f1d1deb;border-color:#f87171db;outline:none}.storyboard-placement-copy:hover,.storyboard-placement-copy:focus-visible{background:#1e293bf0;border-color:#bfdbfedb;outline:none}.storyboard-placement-delete:disabled,.storyboard-placement-copy:disabled{cursor:default;opacity:0}.storyboard-placement-generate-next{z-index:3;min-height:30px;color:var(--ink-strong);cursor:pointer;background:#0b121ce0;border:1px solid #5eead48c;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:850;line-height:1;position:absolute;top:14px;left:14px;box-shadow:0 8px 18px #00000052}.storyboard-placement-generate-next:hover,.storyboard-placement-generate-next:focus-visible{background:#0f766ee6;border-color:#5eead4e0;outline:none}.storyboard-placement-generate-next:disabled{cursor:default;opacity:.72}.storyboard-next-prompt-backdrop{z-index:78;background:#01060ac7;padding:18px}.storyboard-next-prompt-modal{background:#080c12;border:1px solid #5eead45c;border-radius:8px;gap:14px;width:min(100%,640px);padding:14px;display:grid;box-shadow:0 24px 80px #0000008c}.storyboard-next-prompt-head{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.storyboard-next-prompt-head strong{color:var(--ink-strong);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.storyboard-flf-modal-player{background:#02060ceb;border:1px solid #5eead457;border-radius:8px;gap:8px;padding:8px;display:grid;overflow:hidden}.storyboard-flf-modal-tabs{background:#02060cb8;border:1px solid #5eead43d;border-radius:7px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.storyboard-flf-modal-tabs button{color:var(--muted-strong);cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;border-radius:5px;padding:7px 10px;font-size:11px;font-weight:850}.storyboard-flf-modal-tabs button.active{color:var(--ink-strong);background:#0d948833;border-color:#5eead480}.storyboard-flf-modal-tabs button:hover,.storyboard-flf-modal-tabs button:focus-visible{color:var(--ink-strong);outline:none}.storyboard-flf-modal-player video{object-fit:contain;background:#000;border-radius:5px;width:100%;max-height:min(42vh,420px);display:block}.storyboard-flf-modal-player>div{justify-content:space-between;align-items:baseline;gap:10px;min-width:0;display:flex}.storyboard-flf-modal-player strong,.storyboard-flf-modal-player small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.storyboard-flf-modal-player strong{color:var(--ink-strong);font-size:12px}.storyboard-flf-modal-player small{color:var(--teal);font-size:10px}.storyboard-next-prompt-modal>.storyboard-video-player{max-height:min(56vh,520px)}.storyboard-next-prompt-modal>.storyboard-video-player video{max-height:min(42vh,420px)}.storyboard-next-prompt-close{width:28px;height:28px;color:var(--muted-strong);cursor:pointer;background:#0f172adb;border:1px solid #94a3b852;border-radius:50%;place-items:center;font-size:16px;font-weight:900;line-height:1;display:grid}.storyboard-next-prompt-close:hover,.storyboard-next-prompt-close:focus-visible{color:var(--ink-strong);border-color:#5eead4c7;outline:none}.storyboard-next-prompt-modal label{gap:7px;min-width:0;display:grid}.storyboard-next-prompt-modal textarea,.storyboard-next-prompt-modal input,.storyboard-next-prompt-modal select{min-width:0;color:var(--ink);font:inherit;resize:vertical;background:#05070ad1;border:1px solid #2c3545f2;border-radius:6px;padding:9px;font-size:13px}.storyboard-next-prompt-modal .storyboard-finishing-toggle{flex-direction:row;align-items:center;gap:10px;display:flex}.storyboard-next-prompt-modal .storyboard-finishing-toggle input{flex:none;width:18px;height:18px;margin:0}.storyboard-next-prompt-modal input,.storyboard-next-prompt-modal select{resize:none;width:100%}.storyboard-vace-upscale-source{color:var(--muted);margin:0;font-size:12px;line-height:1.4}.storyboard-vace-upscale-measurements{color:var(--muted-strong);background:#080d12ad;border:1px solid #2dd4bf47;border-radius:6px;gap:4px;padding:9px 10px;display:grid}.storyboard-video-preparation-controls{gap:6px;min-width:0;margin-top:4px;display:grid}.storyboard-video-preparation-controls label{color:var(--muted);gap:3px;font-size:11px;font-weight:800;display:grid}.storyboard-video-preparation-controls select{border:1px solid var(--line);background:var(--field);width:100%;min-width:0;color:var(--ink);font:inherit;border-radius:6px;padding:6px 7px}.storyboard-video-assessment,.storyboard-video-derivative-status{border:1px solid var(--line);width:max-content;max-width:100%;color:var(--muted-strong);border-radius:999px;padding:3px 7px;font-weight:850}.storyboard-video-assessment.ready{color:#86efac;border-color:#4ade8073}.storyboard-video-assessment.enhance{color:#fcd34d;border-color:#fbbf2480}.storyboard-vace-upscale-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.storyboard-active-marker{color:#86efac;font-weight:900}.storyboard-flf-lora-editor{gap:8px;min-width:0;display:grid}.storyboard-generation-mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;display:grid}.storyboard-generation-mode button{min-height:34px;color:var(--muted-strong);cursor:pointer;font:inherit;background:#0f172ac7;border:1px solid #475569e6;border-radius:6px;font-size:12px;font-weight:850}.storyboard-generation-mode button.active{color:#ccfbf1fa;background:#0d948847;border-color:#2dd4bfe0}.storyboard-static-hold-settings{background:#0812188f;border:1px solid #2dd4bf47;border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;padding:10px;display:grid}.storyboard-static-hold-settings .notice{grid-column:1/-1;margin:0}.storyboard-flf-lora-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.storyboard-flf-lora-list{gap:8px;min-width:0;display:grid}.storyboard-flf-lora-group{background:#08121894;border:1px solid #5eead447;border-radius:8px;gap:8px;min-width:0;padding:8px;display:grid}.storyboard-flf-lora-group legend{color:var(--ink-strong);padding:0 6px;font-size:12px;font-weight:900}.storyboard-flf-lora-add-row{grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:8px;min-width:0;display:grid}.storyboard-flf-lora-row{grid-template-columns:minmax(0,1fr) 104px 92px 28px;align-items:end;gap:8px;min-width:0;display:grid}.storyboard-flf-lora-row.missing input{color:var(--muted);border-style:dashed}.storyboard-next-prompt-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.storyboard-placement-preview{aspect-ratio:16/9;background:#05070a;border-radius:6px;place-items:center;display:grid;overflow:hidden}.storyboard-placement-preview.clickable{cursor:zoom-in}.storyboard-placement-preview.clickable:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.storyboard-placement-preview-crop{background:#05070a;width:100%;height:100%;position:relative;overflow:hidden}.storyboard-placement-preview-crop img{object-fit:fill;display:block;position:absolute}.storyboard-placement-preview img,.storyboard-placement-preview video{object-fit:contain;background:#05070a;width:100%;height:100%}.storyboard-video-manifest-preview{width:100%;height:100%;color:var(--text);text-align:center;background:#100c06b8;border:1px solid #fbbf245c;place-items:center;gap:4px;padding:10px;display:grid}.storyboard-video-manifest-preview strong{max-width:100%;color:var(--amber);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.storyboard-fullscreen-backdrop{z-index:80;background:#01060ae0;padding:18px}.storyboard-video-player-backdrop{z-index:90;background:#01060ae6;padding:18px}.storyboard-video-player-modal{background:#05070a;border:1px solid #5eead461;border-radius:8px;grid-template-rows:auto minmax(0,1fr);gap:12px;width:min(100%,1080px);max-height:calc(100vh - 36px);padding:12px;display:grid;box-shadow:0 26px 90px #000000a3}.storyboard-video-player{background:#020406;border:1px solid #5eead447;border-radius:7px;grid-template-rows:minmax(0,1fr) auto;gap:8px;min-width:0;min-height:0;padding:8px;display:grid;overflow:hidden}.storyboard-video-player video{object-fit:contain;background:#000;border-radius:5px;width:100%;max-width:100%;min-height:0;max-height:calc(100vh - 150px);display:block}.storyboard-video-player-meta{justify-content:space-between;align-items:baseline;gap:10px;min-width:0;display:flex}.storyboard-video-player-meta strong,.storyboard-video-player-meta small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.storyboard-video-player-meta strong{color:var(--ink-strong);font-size:12px}.storyboard-video-player-meta small{color:var(--teal);font-size:10px}.storyboard-fullscreen-viewer{background:#05070a;border:1px solid #94a3b857;border-radius:8px;grid-template-rows:auto minmax(0,1fr);gap:12px;width:min(100%,1180px);height:min(860px,100vh - 36px);max-height:calc(100vh - 36px);padding:12px;display:grid;box-shadow:0 26px 90px #0009}.storyboard-fullscreen-head{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.storyboard-fullscreen-actions{align-items:center;gap:8px;display:flex}.storyboard-fullscreen-head strong{color:var(--ink-strong);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.storyboard-fullscreen-content{grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:12px;min-height:0;display:grid}.storyboard-fullscreen-media-pane,.storyboard-fullscreen-sidebar{min-height:0}.storyboard-fullscreen-sidebar{align-content:start;gap:12px;display:grid;overflow:auto}.storyboard-fullscreen-media{background:#020406;border-radius:6px;place-items:center;min-height:0;display:grid;overflow:auto}.storyboard-fullscreen-media img,.storyboard-fullscreen-media video{object-fit:contain;max-width:100%;max-height:calc(100vh - 126px);display:block}.storyboard-fullscreen-media>.storyboard-crop-editor{width:100%;height:100%}.storyboard-fullscreen-image-stack{gap:12px;width:100%;display:grid}.storyboard-crop-derived-preview{background:#0f172a66;border-top:1px solid #94a3b829;gap:8px;padding:10px;display:grid}.storyboard-crop-derived-preview img{object-fit:contain;width:100%;max-height:260px}.storyboard-prompt-review{background:#02060bb8;border:1px solid #94a3b83d;border-radius:8px;min-width:0}.storyboard-prompt-review.compact{background:#0f172a8a;border-color:#94a3b82e}.storyboard-prompt-review summary{cursor:pointer;min-width:0;min-height:32px;color:var(--ink-strong);justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;font-size:12px;font-weight:850;display:flex}.storyboard-prompt-review summary small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.storyboard-prompt-review-grid{gap:8px;max-height:calc(100vh - 190px);padding:0 9px 9px;display:grid;overflow:auto}.storyboard-prompt-review.compact .storyboard-prompt-review-grid{max-height:210px}.storyboard-prompt-review section{gap:3px;display:grid}.storyboard-prompt-review section strong{color:var(--ink-strong);text-transform:uppercase;font-size:10px}.storyboard-prompt-review section p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:11px;line-height:1.45}.storyboard-prompt-review-tags{flex-wrap:wrap;gap:5px;display:flex}.storyboard-focus-regenerate{background:#082f492e;border:1px solid #2dd4bf47;border-radius:8px;gap:9px;min-width:0;padding:10px;display:grid}.storyboard-focus-regenerate label{gap:6px;display:grid}.storyboard-focus-regenerate textarea{min-width:0;color:var(--ink);font:inherit;resize:vertical;background:#05070ad1;border:1px solid #2c3545f2;border-radius:6px;padding:9px;font-size:12px;line-height:1.45}.storyboard-focus-regenerate .primary-action{justify-content:center}.storyboard-focus-panel{background:#02060bb8;border:1px solid #94a3b83d;border-radius:8px;gap:10px;min-width:0;padding:10px;display:grid}.storyboard-focus-panel.seedvr2{border-color:#a78bfa42}.storyboard-focus-panel-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.storyboard-focus-panel-head small{color:var(--muted);font-size:11px;font-weight:700}.storyboard-focus-panel label{gap:6px;display:grid}.storyboard-focus-panel select{min-width:0;color:var(--ink);font:inherit;background:#05070ad1;border:1px solid #2c3545f2;border-radius:6px;padding:9px;font-size:12px}.storyboard-focus-actions{flex-wrap:wrap;gap:8px;display:flex}.storyboard-crop-editor{gap:8px;min-height:0;display:grid}.storyboard-crop-canvas{cursor:crosshair;touch-action:none;background:#010409eb;border:1px solid #94a3b829;border-radius:8px;flex:auto;place-items:center;min-width:0;min-height:0;padding:12px;display:grid;overflow:auto}.storyboard-crop-canvas.disabled{cursor:default}.storyboard-crop-image-stage{max-width:100%;max-height:calc(100vh - 180px);display:inline-block;position:relative}.storyboard-crop-image-stage img{max-width:100%;max-height:calc(100vh - 180px);display:block}.storyboard-crop-region{cursor:move;border:2px solid #2dd4bff2;border-radius:4px;position:absolute;box-shadow:0 0 0 9999px #01060a94}.storyboard-crop-handle{background:var(--teal);border:2px solid #021217;border-radius:999px;width:12px;height:12px;position:absolute}.storyboard-crop-handle.nw{cursor:nwse-resize;top:-7px;left:-7px}.storyboard-crop-handle.ne{cursor:nesw-resize;top:-7px;right:-7px}.storyboard-crop-handle.sw{cursor:nesw-resize;bottom:-7px;left:-7px}.storyboard-crop-handle.se{cursor:nwse-resize;bottom:-7px;right:-7px}.storyboard-crop-placeholder{color:var(--muted);text-align:center;background:#02060bb8;border-radius:6px;padding:8px 10px;font-size:11px;position:absolute;bottom:12px;left:12px;right:12px}.storyboard-crop-metrics{flex-wrap:wrap;gap:8px;display:flex}.storyboard-crop-metrics small{color:var(--muted);font-size:11px}.storyboard-crop-metrics.inline{gap:4px;display:grid}.storyboard-crop-indicator{color:var(--teal);font-size:10px;font-weight:800}.storyboard-prompt-review-tags span{max-width:100%;color:var(--teal);text-overflow:ellipsis;white-space:nowrap;border:1px solid #5eead43d;border-radius:999px;padding:3px 6px;font-size:10px;font-weight:850;overflow:hidden}.storyboard-video-manifest-preview span{color:var(--muted);font-size:11px;font-weight:850}.storyboard-placement-preview span{color:var(--muted);font-size:12px}.storyboard-placement-meta{gap:2px;min-width:0;display:grid}.storyboard-placement-meta strong,.storyboard-placement-meta small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.storyboard-placement-meta strong{color:var(--ink-strong);font-size:12px}.storyboard-placement-meta small{color:var(--muted);font-size:11px}.storyboard-placement-time{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:5px;display:grid}.storyboard-placement-time input{border:1px solid var(--line);background:var(--field);width:100%;min-height:28px;color:var(--ink);border-radius:6px;padding:4px 5px;font-size:12px}.storyboard-placement-time .secondary-action{min-height:28px;padding:4px 7px;font-size:12px}.storyboard-empty-track{min-height:172px;color:var(--muted);text-align:center;place-items:center;font-size:13px;display:grid}.storyboard-empty-track.compact{background:#080a0e57;border:1px dashed #2c3545b8;border-radius:8px;min-height:58px;padding:10px}.storyboard-join-queue{border:1px solid var(--line);background:#050a109e;border-radius:8px;gap:10px;margin:12px 0;padding:12px;display:grid}.storyboard-join-queue-head,.storyboard-join-queue-row,.storyboard-join-queue-actions{align-items:center;display:flex}.storyboard-join-queue-head{justify-content:space-between;gap:12px}.storyboard-join-queue-head>div,.storyboard-join-queue-row>div:first-child{gap:3px;min-width:0;display:grid}.storyboard-join-queue-list{gap:6px;display:grid}.storyboard-join-queue-row{background:#0b121ca8;border:1px solid #2c3545b8;border-radius:6px;justify-content:space-between;gap:10px;padding:8px}.storyboard-join-queue-row strong,.storyboard-join-queue-row small,.storyboard-join-queue-row p{text-overflow:ellipsis;overflow:hidden}.storyboard-join-queue-row small,.storyboard-join-queue-row p{color:var(--muted);margin:0;font-size:11px}.storyboard-join-queue-actions{flex-shrink:0;gap:8px}.storyboard-join-queue-actions a{color:var(--teal);border:1px solid #5eead452;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:850;text-decoration:none}.storyboard-join-status{color:var(--muted);text-transform:uppercase;border:1px solid #94a3b857;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:850}.storyboard-join-status.completed{color:var(--teal);border-color:#5eead470}.storyboard-join-status.queued,.storyboard-join-status.running{color:#bfdbfe;border-color:#60a5fa85}.storyboard-join-status.missing{color:#f8e7a3;border-color:#f4c4307a}.storyboard-join-status.stale,.storyboard-join-status.failed{color:#fecaca;border-color:#f8717194}.storyboard-join-queue-note{color:var(--muted);margin:0;font-size:12px}.storyboard-composition-boundary-transition-control{z-index:7;width:24px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.storyboard-composition-entry-transition,.storyboard-composition-exit-transition{border:1px solid var(--composition-color,#2dd4bf);min-width:62px;color:var(--composition-color,#2dd4bf);opacity:0;pointer-events:none;white-space:nowrap;background:#070d14eb;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:700;transition:opacity .12s ease-out,background-color .12s ease-out,color .12s ease-out;position:absolute;top:50%}.storyboard-composition-boundary-transition-control:hover .storyboard-composition-entry-transition,.storyboard-composition-boundary-transition-control:hover .storyboard-composition-exit-transition,.storyboard-composition-boundary-transition-control:focus-within .storyboard-composition-entry-transition,.storyboard-composition-boundary-transition-control:focus-within .storyboard-composition-exit-transition{opacity:1;pointer-events:auto}.storyboard-composition-entry-transition{right:50%;transform:translateY(-50%)}.storyboard-composition-exit-transition{left:50%;transform:translateY(-50%)}.storyboard-composition-entry-transition:focus-visible,.storyboard-composition-exit-transition:focus-visible{opacity:1;pointer-events:auto}.storyboard-composition-entry-transition:hover,.storyboard-composition-entry-transition:focus-visible,.storyboard-composition-exit-transition:hover,.storyboard-composition-exit-transition:focus-visible{background:var(--composition-color,#2dd4bf);color:#071018}.storyboard-composition-entry-transition.stale,.storyboard-composition-exit-transition.stale{color:#fbbf24;border-color:#f59e0b}.storyboard-composition-boundary-flf-overlay{--flf-accent:#5eead4;z-index:6;box-sizing:border-box;border:1px solid color-mix(in srgb, var(--flf-accent) 82%, white 8%);background:color-mix(in srgb, var(--flf-accent) 45%, #040b12e0);min-width:0;box-shadow:0 0 8px color-mix(in srgb, var(--flf-accent) 28%, transparent);color:#f8fafc;cursor:pointer;font:inherit;white-space:nowrap;border-radius:4px;align-items:center;gap:3px;padding:0 4px;font-size:9px;line-height:1;display:flex;position:absolute;top:8px;bottom:8px;overflow:hidden}.storyboard-composition-boundary-flf-overlay.exit{--flf-accent:#fbbf24}.storyboard-composition-boundary-flf-overlay strong,.storyboard-composition-boundary-flf-overlay small{text-overflow:ellipsis;overflow:hidden}.storyboard-composition-boundary-flf-progress-track{background:#0206178c;border-radius:99px;height:2px;position:absolute;bottom:2px;left:3px;right:3px;overflow:hidden}.storyboard-composition-boundary-flf-progress-track span{border-radius:inherit;background:#f8fafc;height:100%;transition:width .18s ease-out;display:block}.storyboard-composition-boundary-flf-overlay strong{text-transform:uppercase;font-size:9px;font-weight:900}.storyboard-composition-boundary-flf-overlay small{color:#f8fafcd1;font-size:8px;font-weight:750}.storyboard-composition-boundary-flf-overlay em{color:#fff;background:#020617b8;border-radius:999px;flex:none;place-items:center;min-width:13px;height:13px;font-size:8px;font-style:normal;font-weight:900;display:grid}.storyboard-composition-boundary-flf-overlay.queued,.storyboard-composition-boundary-flf-overlay.running,.storyboard-composition-boundary-flf-overlay.optimistic{background-image:repeating-linear-gradient(-45deg, color-mix(in srgb, var(--flf-accent) 48%, #040b12e0) 0, color-mix(in srgb, var(--flf-accent) 48%, #040b12e0) 6px, color-mix(in srgb, var(--flf-accent) 24%, #040b12eb) 6px, color-mix(in srgb, var(--flf-accent) 24%, #040b12eb) 12px);background-size:17px 17px;animation:.8s linear infinite storyboard-boundary-flf-progress}.storyboard-composition-boundary-flf-overlay.stale{--flf-accent:#f59e0b}.storyboard-composition-boundary-flf-overlay.failed{--flf-accent:#f87171}.storyboard-composition-boundary-flf-overlay:hover,.storyboard-composition-boundary-flf-overlay:focus-visible{filter:brightness(1.2);outline-offset:1px;outline:1px solid #f8fafcd1}@keyframes storyboard-boundary-flf-progress{to{background-position:17px 0}}
@media (max-width:1100px){.page-header,.workbench-body,.project-browser-layout,.analysis-stage,.analysis-transcript-panel,.stage-config-layout{grid-template-columns:1fr}.analysis-layer-panel{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.analysis-layer-panel strong{grid-column:1/-1}.analysis-chunk-nav{border-right:0;border-bottom:1px solid var(--line);grid-template-columns:repeat(auto-fit,minmax(138px,1fr))}.analysis-chunk-nav strong{grid-column:1/-1}.voice-config-grid,.import-project-audio-panel,.voice-lock-actions,.manual-chunk-upload-row,.strategy-analysis-grid,.annotation-chunk-meta,.storyboard-toolbar,.storyboard-container-head,.storyboard-container-body{grid-template-columns:1fr 1fr}.storyboard-toolbar,.storyboard-container-head{align-items:start}.storyboard-toolbar-actions,.storyboard-container-actions{justify-content:flex-start}.storyboard-container-card{grid-template-columns:minmax(0,1fr)}.storyboard-fullscreen-content{grid-template-columns:1fr}.storyboard-timeline-run:before{left:43px}.storyboard-span-body,.storyboard-span-handle{left:30px}.storyboard-span-register{left:38px}.storyboard-span-time,.storyboard-span-duration{left:56px}}@media (max-width:640px){.app-shell{padding:14px}.app-shell:has(.stage-menu){padding-top:70px}.stage-menu{top:10px;left:14px;right:14px}.status-strip,.decision-grid,.runtime-grid,.candidate-row,.import-project-audio-actions,.manual-chunk-upload-actions,.manual-chunk-upload-row,.voice-reference-row,.section-audio-attachment,.analysis-tagged-line,.form-row{grid-template-columns:1fr}.autosave-status{margin-right:0}.generate-audio-footer{flex-direction:column;align-items:stretch}.voice-config-grid,.voice-lock-actions,.voice-upload-row,.manual-chunk-upload-row,.strategy-analysis-grid,.annotation-chunk-meta,.storyboard-toolbar,.storyboard-container-head,.storyboard-container-body,.stage-config-custom-grid{grid-template-columns:1fr}.stage-step{grid-template-columns:24px minmax(0,1fr);padding:7px}.storyboard-container-card{grid-template-columns:minmax(0,1fr);gap:8px}.storyboard-timeline-run:before{left:31px}.storyboard-span-body,.storyboard-span-handle{left:18px}.storyboard-span-register{left:26px}.storyboard-span-time,.storyboard-span-duration{font-size:10px;left:42px}.storyboard-media-track-wrap,.storyboard-transcript-area,.storyboard-frame-area{overflow-x:auto}.storyboard-placement-time{grid-template-columns:1fr}.voice-save-row{flex-direction:column;align-items:stretch}.generation-progress-meta,.generation-event-row{flex-direction:column;align-items:flex-start}.generation-event-row strong{text-align:left;white-space:normal}.analysis-console{padding:10px}.analysis-console-header,.analysis-scale-row{justify-content:stretch;display:grid}.analysis-console-header dl{grid-template-columns:1fr}.analysis-console-header dl div+div{border-top:1px solid #2c3545cc;border-left:0}.analysis-tick-scale{justify-content:start;margin-left:0}.analysis-window-scale{justify-content:start}.analysis-player{grid-template-columns:max-content max-content max-content 1fr}.analysis-player input,.analysis-player strong{grid-column:1/-1}.analysis-transcript-copy p{font-size:15px}}

