.storyboard-shell{position:relative;display:grid;height:100%;min-height:0;grid-template-columns:minmax(0,1fr);overflow:hidden;background:var(--bg)}[data-structure-disabled] .production-grid-scene-status,[data-structure-disabled] .production-scene-status-control,[data-structure-disabled] .storyboard-add-scene-button,[data-structure-disabled] .storyboard-video-payload-panel{opacity:.4;pointer-events:none}[data-structure-disabled] .storyboard-timeline-shell .storyboard-board-scroll,[data-structure-disabled] .storyboard-timeline-shell .storyboard-timeline-collapsed-preview{opacity:.4}[data-structure-disabled] .storyboard-timeline-shell .storyboard-timeline-strip-controls{opacity:1}.storyboard-context-panel,.storyboard-rail,.storyboard-rail-collapsed{min-height:0;overflow:auto;background:var(--panel);color:var(--ink);font-size:var(--font-ui-small);line-height:1.35;padding:12px}.storyboard-rail{border-right:1px solid var(--line-ui)}.storyboard-context-panel{display:grid;align-content:start;gap:12px;border-left:1px solid var(--line-ui)}.storyboard-rail-collapsed{padding:7px 6px}.storyboard-rail-collapsed.left{border-right:1px solid var(--line-ui)}.storyboard-rail-collapsed.right{border-left:1px solid var(--line-ui)}.storyboard-rail-collapsed button{display:inline-grid;width:28px;height:28px;place-items:center;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink)}.storyboard-rail-collapsed button:hover{background:var(--ink);color:var(--bg)}.storyboard-inspector-section label{display:grid;gap:6px}.storyboard-inspector-section label span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-context-panel .section-heading-row,.storyboard-rail .section-heading-row{margin-bottom:12px}.storyboard-rail>.section-heading-row{position:sticky;z-index:2;top:0;background:var(--panel);padding-bottom:8px}.storyboard-context-panel .section-heading-row h3,.storyboard-rail .section-heading-row h2{color:var(--ink);font-size:var(--font-ui-small);font-weight:500}.storyboard-context-panel .section-heading-row span,.storyboard-rail .section-heading-row span{color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-context-panel .ui-button{font-family:var(--sans)}.storyboard-board,.storyboard-board-scroll,.storyboard-inspector-section,.storyboard-linked-assets,.storyboard-scene-list,.storyboard-shots{display:grid;gap:8px}.storyboard-scene-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:stretch}.storyboard-scene-list-item>button:first-child{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;border:0;border-radius:0;background:transparent;color:var(--ink);padding:8px 9px;text-align:left}.storyboard-scene-list-item+.storyboard-scene-list-item>button:first-child{border-top:1px solid var(--line-soft)}.storyboard-scene-list-item.active>button:first-child{background:var(--select-fill);outline:none}.storyboard-scene-list-item b,.storyboard-scene-list-item em,.storyboard-scene-list-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-scene-list-item em,.storyboard-scene-list-item small{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500;font-style:normal}.storyboard-scene-list-item b{font-size:var(--font-ui-small);font-weight:500}.storyboard-scene-list-item em{font-family:var(--mono)}.storyboard-episode-rail-group{display:grid;gap:6px}.storyboard-episode-rail-title{display:grid;width:100%;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);padding:8px 9px;text-align:left}.storyboard-episode-rail-title button{min-width:0;border:0;background:transparent;color:inherit;padding:0;text-align:left}.storyboard-episode-rail-title button:first-child{display:inline-grid;place-items:center}.storyboard-episode-rail-group.active .storyboard-episode-rail-title{background:var(--highlight-on-panel);border-color:var(--line-ui)}.storyboard-episode-rail-title b{overflow:hidden;font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-episode-rail-title span{color:var(--muted);font-family:var(--mono);font-size:var(--font-ui-micro);font-weight:500}.storyboard-episode-rail-group>.storyboard-scene-list-item{margin-left:12px;border-left:1px solid var(--line-soft);padding-left:8px}.storyboard-scene-list-item{grid-template-columns:minmax(0,1fr)}.storyboard-rail-sequence-group,.storyboard-rail-shot-list,.storyboard-scene-children{display:grid;gap:5px}.storyboard-scene-children{margin-left:12px;border-left:1px solid var(--line-soft);padding-left:8px}.storyboard-rail-sequence-row,.storyboard-rail-shot-row{display:grid;width:100%;min-width:0;align-items:center;gap:7px;border:1px solid transparent;border-radius:var(--ui-radius);background:transparent;color:var(--ink);padding:6px 7px;text-align:left}.storyboard-rail-sequence-row{grid-template-columns:16px minmax(0,1fr)}.storyboard-rail-shot-row{grid-template-columns:15px minmax(0,1fr);color:var(--muted);font-size:var(--font-ui-small);font-weight:500;padding-left:16px}.storyboard-rail-shot-row.add{color:var(--ink)}.storyboard-rail-sequence-row.active,.storyboard-rail-sequence-row:hover,.storyboard-rail-shot-row.active,.storyboard-rail-shot-row:hover{border-color:var(--line-soft);background:var(--highlight-on-panel)}.storyboard-rail-sequence-row b,.storyboard-rail-sequence-row small,.storyboard-rail-shot-row span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-rail-sequence-row b{font-size:var(--font-ui-small);font-weight:500}.storyboard-rail-sequence-row small{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-rail-heading-actions{display:inline-flex;align-items:center;gap:6px}.storyboard-main{display:grid;height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.storyboard-shell.has-timeline .storyboard-main{grid-template-rows:auto minmax(0,1fr) auto}.storyboard-shell.has-timeline{background:var(--bg)}.storyboard-shell.has-timeline.timeline-history-detail{background:var(--panel)}.storyboard-main.detail-owns-header{grid-template-rows:minmax(0,1fr)}.storyboard-shell.has-timeline .storyboard-main.detail-owns-header{grid-template-rows:auto minmax(0,1fr)}.storyboard-shell.has-timeline .storyboard-main-content{grid-row:2}.storyboard-shell.has-timeline .storyboard-timeline-shell{grid-row:1}.storyboard-shell.timeline-only{height:auto;flex:0 0 auto;overflow:visible}.workspace-root[data-active-surface=assets] .storyboard-shell.has-timeline{background:var(--canvas-surface)}.storyboard-shell.timeline-only .storyboard-main{display:block;height:auto;overflow:visible}.storyboard-main-content,.storyboard-view-transition{display:grid;grid-template-rows:minmax(0,1fr);height:100%;min-height:0;overflow:hidden}.storyboard-canvas-view,.storyboard-detail-view{display:grid;height:100%;min-height:0;grid-template-rows:minmax(0,1fr);background:var(--bg)}.storyboard-canvas-workspace{display:grid;min-height:0;grid-template-columns:minmax(0,1fr);overflow:hidden}.storyboard-canvas-shell.canvas-shell{position:relative;height:100%;grid-template-columns:minmax(0,1fr);border-top:0}.storyboard-canvas-shell.canvas-shell .canvas-main{grid-column:1}.storyboard-canvas-shell .canvas-node img{-o-object-fit:contain;object-fit:contain}.storyboard-detail-header{align-items:flex-start;padding:10px 12px}.storyboard-detail-header,.storyboard-surface-header{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line-ui);background:var(--panel)}.storyboard-surface-header{height:44px;min-height:44px;align-items:center;overflow:hidden;padding:7px 10px}.storyboard-surface-header>div{display:grid;min-width:0;gap:2px}.storyboard-detail-header p,.storyboard-surface-header p{margin:0;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-board-toolbar h2,.storyboard-detail-header h2,.storyboard-surface-header h2{overflow:hidden;margin:0;color:var(--ink);font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-surface-header span{overflow:hidden;color:var(--muted);font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-route-path{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%}.storyboard-route-path span{display:inline-flex;min-width:0;align-items:center;flex-shrink:1;gap:6px}.storyboard-route-path span:first-child{flex-shrink:0}.storyboard-route-path b,.storyboard-route-path button{overflow:hidden;min-width:0;border:0;background:transparent;color:var(--ink);font:inherit;font-weight:500;padding:0;text-overflow:ellipsis;white-space:nowrap}.storyboard-route-path button{cursor:pointer}.storyboard-route-path button:hover{color:var(--ink)}.storyboard-route-path em{color:var(--muted);font-style:normal;font-weight:500}.storyboard-board-toolbar span,.storyboard-detail-header span{color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-detail-back{display:inline-flex;align-items:center;gap:5px;margin-bottom:5px;border:0;background:transparent;color:var(--ink);font-size:var(--font-ui-small);font-weight:500;padding:0}.storyboard-detail-scroll{display:grid;align-content:start;gap:12px;min-height:0;overflow:auto;padding:12px}.storyboard-generation-layout{--storyboard-right-rail-effective-width:clamp(240px,var(--storyboard-right-rail-width,300px),min(420px,28vw));grid-template-columns:minmax(0,1fr) var(--storyboard-right-rail-effective-width);align-items:stretch;height:100%;overflow:hidden;transition:grid-template-columns .18s var(--view-transition-ease)}.storyboard-generation-layout.history-collapsed{grid-template-columns:minmax(0,1fr) var(--workspace-left-rail-collapsed-width)}.storyboard-episode-workspace{display:grid;align-content:stretch;align-items:stretch;grid-template-columns:minmax(0,1fr);height:100%;min-height:0;overflow:hidden;padding:0}.storyboard-episode-rail-summary{display:grid;gap:4px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);padding:10px}.storyboard-episode-rail-scenes em,.storyboard-episode-rail-summary p{margin:0;color:var(--muted);font-size:var(--font-ui-micro);font-style:normal;font-weight:500}.storyboard-episode-rail-summary h2{overflow:hidden;margin:0;font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-episode-rail-summary span{color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-episode-rail-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.storyboard-episode-rail-stats span{display:grid;gap:2px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--muted);font-size:var(--font-ui-micro);font-weight:500;padding:8px}.storyboard-episode-rail-stats b{color:var(--ink);font-size:var(--font-ui-base);font-weight:500}.storyboard-episode-rail-scenes{display:grid;gap:7px}.storyboard-episode-rail-scenes button{display:grid;min-width:0;gap:3px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);padding:8px;text-align:left}.storyboard-episode-rail-scenes button:hover{background:var(--highlight-on-panel)}.storyboard-episode-rail-scenes b,.storyboard-episode-rail-scenes span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-episode-rail-scenes b,.storyboard-episode-rail-scenes span{font-size:var(--font-ui-small);font-weight:500}.storyboard-episode-rail-scenes span{color:var(--muted)}.storyboard-sequence-workspace{align-content:stretch;align-items:stretch;height:100%;overflow:hidden;padding:0}.storyboard-sequence-workspace>.storyboard-video-payload-panel{height:calc(100% - 12px);margin-top:12px;overflow:auto;padding-bottom:12px}.storyboard-sequence-workspace>.storyboard-video-payload-panel:after{display:none}.storyboard-shot-workspace{grid-template-columns:var(--workspace-left-rail-width) minmax(0,1fr);align-items:stretch;align-content:stretch;height:100%;overflow:hidden;padding:0}.storyboard-shot-workspace.assets-collapsed{grid-template-columns:var(--workspace-left-rail-collapsed-width) minmax(0,1fr)}.storyboard-shot-asset-rail{border-right:1px solid var(--line-ui)}.storyboard-shot-asset-rail,.storyboard-shot-payload-column{display:grid;align-content:start;gap:12px;height:100%;min-width:0;overflow:auto;padding:12px}.storyboard-sequence-workspace>.storyboard-video-payload-panel,.storyboard-shot-asset-rail,.storyboard-shot-payload-column,.storyboard-video-history-rail{scrollbar-color:var(--scrollbar-thumb) transparent;scrollbar-width:thin}.workspace-universal-video-history.storyboard-video-history-rail{height:auto;overflow:visible;border-left:0;background:transparent;padding:0}.storyboard-sequence-workspace>.storyboard-video-payload-panel::-webkit-scrollbar,.storyboard-shot-asset-rail::-webkit-scrollbar,.storyboard-shot-payload-column::-webkit-scrollbar,.storyboard-video-history-rail::-webkit-scrollbar{width:5px;height:5px}.storyboard-sequence-workspace>.storyboard-video-payload-panel::-webkit-scrollbar-track,.storyboard-shot-asset-rail::-webkit-scrollbar-track,.storyboard-shot-payload-column::-webkit-scrollbar-track,.storyboard-video-history-rail::-webkit-scrollbar-track{background:transparent}.storyboard-sequence-workspace>.storyboard-video-payload-panel::-webkit-scrollbar-thumb,.storyboard-shot-asset-rail::-webkit-scrollbar-thumb,.storyboard-shot-payload-column::-webkit-scrollbar-thumb,.storyboard-video-history-rail::-webkit-scrollbar-thumb{border-radius:var(--ui-radius);background:var(--scrollbar-thumb)}.storyboard-sequence-workspace>.storyboard-video-payload-panel:hover::-webkit-scrollbar-thumb,.storyboard-shot-asset-rail:hover::-webkit-scrollbar-thumb,.storyboard-shot-payload-column:hover::-webkit-scrollbar-thumb,.storyboard-video-history-rail:hover::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb-hover)}.storyboard-scope-assets-section,.storyboard-video-payload-panel{min-width:0}.storyboard-video-payload-heading-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px}.storyboard-video-payload-heading-actions span{overflow:hidden;max-width:220px;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-video-payload-panel>.section-heading-row{justify-content:flex-start}.storyboard-video-composer-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;min-width:0}.storyboard-video-composer-heading>div{display:grid;gap:2px;min-width:0}.storyboard-video-composer-heading>div>span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-video-composer-heading h3{overflow:hidden;margin:0;font-size:var(--font-ui-base);font-weight:500;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.storyboard-video-payload-panel .storyboard-video-set-badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);font-size:var(--font-ui-micro);font-weight:500;line-height:1;padding:4px 6px;white-space:nowrap}.storyboard-scope-assets-dropzone{outline:1px dashed transparent;outline-offset:-4px}.storyboard-scope-assets-dropzone:hover{outline-color:var(--line-soft)}.storyboard-scope-assets-dropzone[data-canvas-drop-active=true]{outline-color:var(--line-sheet);background:var(--select-fill)}.storyboard-scope-drop-status{margin:0;color:var(--muted);font-size:var(--font-ui-micro);line-height:1.35}.storyboard-detail-section{display:grid;gap:10px;width:100%;max-width:100%;min-width:0;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);overflow:hidden;padding:12px}.storyboard-detail-section label,.storyboard-generation-prompt-field{display:grid;gap:5px}.storyboard-detail-section label span,.storyboard-generation-prompt-field>span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-section-subtitle{margin:3px 0 0;color:var(--muted);font-size:var(--font-ui-small);line-height:1.35;text-transform:none}.storyboard-danger-section{border-color:color-mix(in srgb,var(--danger) 38%,var(--line-soft))}.storyboard-danger-section>.ui-button{justify-self:start;text-transform:none}.storyboard-delete-copy{margin:0;color:var(--ink);font-size:var(--font-ui-small);line-height:1.45}.storyboard-detail-section .storyboard-detail-select,.storyboard-detail-section input,.storyboard-detail-section select,.storyboard-detail-section textarea{min-width:0;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);font-size:var(--font-ui-small);line-height:1.35;outline:none;padding:7px 8px}.storyboard-detail-section .storyboard-detail-select:focus-visible,.storyboard-detail-section .storyboard-detail-select[data-state=open],.storyboard-detail-section input:focus,.storyboard-detail-section select:focus,.storyboard-detail-section textarea:focus{border-color:var(--line-ui)}.storyboard-detail-section textarea{min-height:82px;resize:vertical}.storyboard-detail-section .prompt-expansion-textarea:not(.prompt-expansion-textarea-with-header) .prompt-expansion-textarea-input{padding-right:40px}.storyboard-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.storyboard-video-payload-panel .generation-model-description{margin:-3px 2px 1px;color:var(--muted);font-size:var(--font-ui-small);line-height:1.35}.storyboard-video-autofill-row{display:flex;justify-content:flex-start;margin-top:-3px}.storyboard-video-autofill-control{display:flex;max-width:min(100%,560px);flex-direction:column;align-items:flex-start;gap:4px}.storyboard-video-autofill-notice{margin:0;color:var(--muted);font-size:var(--font-ui-small);line-height:1.35;text-align:left}.storyboard-video-mode-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.storyboard-video-type-pills{display:inline-flex;flex:1 1 300px;min-width:min(100%,240px);overflow-x:auto;border:1px solid var(--line-ui);border-radius:999px;background:var(--panel);padding:3px;scrollbar-width:none}.storyboard-video-type-pills::-webkit-scrollbar{display:none}.storyboard-video-type-pills button{flex:1 0 auto;min-height:30px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:var(--font-ui-small);font-weight:500;padding:5px 12px;white-space:nowrap}.storyboard-video-type-pills button:hover{color:var(--ink)}.storyboard-video-type-pills button.active{background:var(--ink);color:var(--bg)}.storyboard-video-control-pill{display:inline-flex;min-width:0;min-height:34px;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line-ui);border-radius:999px;background:var(--paper);color:var(--ink);font-size:var(--font-ui-small);line-height:1;padding:7px 10px;white-space:nowrap}.storyboard-video-control-pill:hover,.storyboard-video-control-pill[aria-expanded=true]{background:var(--highlight-on-paper)}.storyboard-video-control-pill>svg{flex:0 0 auto;color:var(--muted)}.storyboard-video-control-pill>.storyboard-video-selected-ratio-icon{display:inline-grid;flex:0 0 18px;width:18px;height:16px;place-items:center;color:var(--muted)}.storyboard-video-selected-ratio-icon>span{display:block;border:1px solid;border-radius:2px;background:transparent}.storyboard-video-control-pill>span{color:var(--muted);font-weight:500}.storyboard-video-control-pill>strong{overflow:hidden;max-width:138px;font-weight:500;text-overflow:ellipsis}.storyboard-video-control-pill.model{max-width:min(100%,260px);justify-content:flex-start}.storyboard-video-control-pill.passive{border-style:dashed;cursor:default}.storyboard-video-control-pill:disabled{cursor:not-allowed;opacity:.45}.storyboard-video-control-popover{display:grid;width:min(330px,calc(100vw - 24px));gap:10px;border-color:var(--line-ui);background:var(--paper);color:var(--ink);padding:10px}.storyboard-video-control-popover.model{width:min(430px,calc(100vw - 24px))}.storyboard-video-model-browser{display:grid;grid-template-rows:auto auto minmax(0,1fr);width:min(470px,calc(100vw - 24px));max-height:min(620px,var(--radix-popover-content-available-height,calc(100vh - 32px)));gap:10px;overflow:hidden;border-color:var(--line-ui);background:var(--paper);color:var(--ink);padding:10px}.storyboard-video-model-search{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--panel);padding:0 9px}.storyboard-video-model-search>svg{color:var(--muted)}.storyboard-video-model-search input{height:36px;border:0;background:transparent;box-shadow:none;padding:0}.storyboard-video-model-brands{display:flex;gap:5px;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}.storyboard-video-model-brands::-webkit-scrollbar{display:none}.storyboard-video-model-brands button{flex:0 0 auto;min-height:28px;border:1px solid var(--line-soft);border-radius:999px;background:var(--paper);color:var(--muted);font-size:var(--font-ui-small);font-weight:500;padding:5px 10px;white-space:nowrap}.storyboard-video-model-brands button.active,.storyboard-video-model-brands button:hover{border-color:var(--line-ui);background:var(--ink);color:var(--bg)}.storyboard-video-model-results{display:grid;gap:6px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.storyboard-video-model-results>button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);padding:9px;text-align:left}.storyboard-video-model-results>button:hover:not(.selected){border-color:var(--line-ui);background:var(--highlight-on-panel)}.storyboard-video-model-results>button:focus-visible{border-color:var(--focus);outline:2px solid var(--focus);outline-offset:-2px}.storyboard-video-model-results>button.selected{border-color:var(--ink);background:var(--highlight-on-panel);box-shadow:inset 3px 0 0 var(--ink)}.storyboard-video-model-results>button.selected>svg{color:var(--ink)}.storyboard-video-model-results>button>span{display:grid;gap:2px;min-width:0}.storyboard-video-model-results strong{font-size:var(--font-ui-small)}.storyboard-video-model-results em,.storyboard-video-model-results small,.storyboard-video-model-results>p{margin:0;color:var(--muted);font-size:var(--font-ui-micro);font-style:normal;line-height:1.35}.storyboard-video-model-results em{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.storyboard-video-control-popover.duration{width:min(310px,calc(100vw - 24px));padding:14px}.storyboard-video-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.storyboard-video-popover-heading>span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-video-popover-heading>output,.storyboard-video-popover-heading>strong{overflow:hidden;margin:0;border:1px solid var(--line-ui);border-radius:999px;background:var(--panel);color:var(--ink);font-size:var(--font-ui-small);font-weight:500;padding:5px 9px;text-overflow:ellipsis;white-space:nowrap}.storyboard-video-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.storyboard-video-control-popover.model .storyboard-video-option-grid{grid-template-columns:1fr}.storyboard-video-option-grid>button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);padding:9px;text-align:left}.storyboard-video-option-grid>button.selected,.storyboard-video-option-grid>button:hover{border-color:var(--line-ui);background:var(--highlight-on-paper)}.storyboard-video-option-grid>button>span:not(.storyboard-video-ratio-preview){display:grid;gap:2px;min-width:0}.storyboard-video-option-grid>button strong{font-size:var(--font-ui-small);line-height:1.2}.storyboard-video-option-grid>button small{color:var(--muted);font-size:var(--font-ui-micro);line-height:1.3}.storyboard-video-option-grid>button>svg{color:var(--ink)}.storyboard-video-ratio-preview{display:grid;grid-column:1/-1;height:38px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel)}.storyboard-video-ratio-preview>span{display:block;border:1px solid var(--ink);border-radius:2px;background:var(--paper)}.storyboard-video-duration-slider{width:100%;accent-color:var(--ink)}.storyboard-video-duration-range{display:flex;justify-content:space-between;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-video-prompt-card{gap:8px;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--panel);padding:10px}.storyboard-video-prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.storyboard-video-prompt-heading>span{color:var(--ink);font-size:var(--font-ui-small);font-weight:500;text-transform:none}.storyboard-video-prompt-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.storyboard-video-prompt-heading-actions small{color:var(--muted);font-size:var(--font-ui-micro)}.storyboard-video-header-icon-button{width:28px;min-width:28px;height:28px;min-height:28px;padding:0}.storyboard-video-header-icon-button svg{pointer-events:none}.storyboard-video-prompt-card textarea{min-height:138px;border-color:transparent;background:var(--paper);font-size:var(--font-ui-small);line-height:1.5}.storyboard-video-prompt-card textarea:focus{border-color:var(--line-ui)}.storyboard-video-mention-composer{position:relative;display:grid;gap:6px;min-width:0}.storyboard-video-prompt-editor,.storyboard-video-prompt-editor-loading{min-height:138px;border-radius:var(--ui-radius);background:var(--paper);color:var(--ink)}.storyboard-video-prompt-editor-loading{display:flex;align-items:center;padding:10px;color:var(--muted);font-size:var(--font-ui-small)}.storyboard-video-prompt-editor .cm-editor{min-height:138px;min-width:0;border:1px solid transparent;border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);font-size:var(--font-ui-small);line-height:1.5;outline:none}.storyboard-video-prompt-editor .cm-editor.cm-focused{border-color:var(--line-ui)}.storyboard-video-prompt-editor .cm-scroller{min-height:136px;max-height:320px;overflow:auto;font-family:var(--sans);line-height:1.5}.storyboard-video-prompt-editor .cm-content{min-height:136px;padding:8px;caret-color:var(--ink)}.storyboard-video-prompt-editor .cm-line{padding:0}.storyboard-video-prompt-editor ::-moz-selection{background:var(--selection-bg)}.storyboard-video-prompt-editor .cm-focused .cm-selectionBackground,.storyboard-video-prompt-editor .cm-selectionBackground,.storyboard-video-prompt-editor ::selection{background:var(--selection-bg)}.storyboard-video-prompt-editor .cm-gutters{display:none}.storyboard-video-prompt-editor .cm-video-image-mention-thumb{display:inline-flex;width:18px;height:18px;overflow:hidden;align-items:center;justify-content:center;border-radius:calc(var(--ui-radius) - 1px) 0 0 calc(var(--ui-radius) - 1px);background:var(--highlight-on-paper);vertical-align:-4px}.storyboard-video-prompt-editor .cm-video-image-mention-thumb img{display:block;width:18px;height:18px;-o-object-fit:cover;object-fit:cover}.storyboard-video-prompt-editor .cm-video-image-mention{display:inline-block;min-height:18px;border-radius:0 calc(var(--ui-radius) - 1px) calc(var(--ui-radius) - 1px) 0;background:var(--highlight-on-paper);color:var(--ink);font-weight:500;line-height:18px;padding:0 5px 0 3px}.storyboard-video-prompt-editor .cm-tooltip-autocomplete{z-index:20;overflow:hidden;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);box-shadow:4px 4px 0 color-mix(in srgb,var(--ink) 16%,transparent);color:var(--ink);padding:4px}.storyboard-video-prompt-editor .cm-tooltip-autocomplete>ul{max-height:292px;font-family:var(--sans)}.storyboard-video-prompt-editor .cm-tooltip-autocomplete>ul>li{display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:2px 8px;min-width:0;border:1px solid transparent;border-radius:var(--ui-radius);background:transparent;color:var(--ink);padding:5px}.storyboard-video-prompt-editor .cm-tooltip-autocomplete>ul>li[aria-selected]{border-color:var(--line-ui);background:var(--panel);color:var(--ink)}.storyboard-video-prompt-editor .cm-completionLabel{grid-column:2;grid-row:1;overflow:hidden;font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-video-prompt-editor .cm-completionDetail{grid-column:2;grid-row:2;overflow:hidden;margin-left:0;color:var(--muted);font-size:var(--font-ui-micro);font-style:normal;text-overflow:ellipsis;white-space:nowrap}.storyboard-video-prompt-editor .cm-tooltip-autocomplete .storyboard-video-mention-thumb{grid-column:1;grid-row:1/span 2}.storyboard-video-prompt-editor .cm-tooltip-autocomplete em{grid-column:3;grid-row:1/span 2;color:var(--muted);font-size:var(--font-ui-micro);font-style:normal;font-weight:500}.storyboard-video-mention-thumb,.storyboard-video-mention-thumb img{width:42px;height:34px}.storyboard-video-mention-thumb{display:block;overflow:hidden;border:1px solid var(--line-soft);background:var(--panel)}.storyboard-video-mention-thumb img{display:block;-o-object-fit:cover;object-fit:cover}.storyboard-video-prompt-editor .cm-tooltip-hover:has(.storyboard-video-mention-preview){border:0;background:transparent}.storyboard-video-mention-preview{max-width:calc(100vw - 32px);overflow:hidden;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);box-shadow:var(--shadow-pill);padding:8px}.storyboard-video-mention-preview img{display:block;width:auto;max-width:min(420px,calc(100vw - 50px));height:auto;max-height:min(320px,calc(100vh - 80px));-o-object-fit:contain;object-fit:contain}.storyboard-video-mention-message{margin:0;color:var(--muted);font-size:var(--font-ui-small);line-height:1.35;padding:7px}.storyboard-video-mention-message.error{color:var(--danger);padding:0}.storyboard-video-control-dock{position:sticky;z-index:4;bottom:-12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:2px -12px -12px;border-top:1px solid var(--line-ui);background:color-mix(in srgb,var(--paper) 96%,transparent);padding:10px 12px 12px}.storyboard-video-control-pills{display:flex;grid-column:1;grid-row:1;flex-wrap:nowrap;gap:6px;min-width:0;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}.storyboard-video-control-pills::-webkit-scrollbar{display:none}.storyboard-video-control-pills .storyboard-video-control-pill{flex:0 0 auto}.storyboard-video-control-pills .storyboard-video-control-pill>span:not(.storyboard-video-selected-ratio-icon){display:none}.storyboard-video-control-dock>.storyboard-start-frame-error{grid-column:1/-1;grid-row:2;margin:0}.storyboard-video-submit-row{display:flex;grid-column:2;grid-row:1;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.storyboard-video-submit-row .storyboard-video-generate-button{min-width:132px;justify-content:center;border-radius:999px;text-transform:none}.storyboard-shot-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}.storyboard-shot-card{display:grid;min-height:150px;align-content:start;gap:5px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);color:var(--ink);padding:9px;text-align:left}.storyboard-shot-card:hover{border-color:var(--line-ui);background:var(--highlight-on-panel)}.storyboard-shot-card span{display:inline-grid;width:24px;height:24px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);font-family:var(--mono);font-size:var(--font-ui-small);font-weight:500}.storyboard-shot-card b,.storyboard-shot-card p,.storyboard-shot-card small{overflow:hidden;margin:0;text-overflow:ellipsis}.storyboard-shot-card b{font-size:var(--font-ui-small);font-weight:500;white-space:nowrap}.storyboard-shot-card p,.storyboard-shot-card small{color:var(--muted);font-size:var(--font-ui-small);line-height:1.35}.storyboard-shot-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.storyboard-shot-card div,.storyboard-shot-detail-actions{display:flex;flex-wrap:wrap;gap:5px}.storyboard-shot-card em{max-width:100%;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);color:var(--muted);font-size:var(--font-ui-micro);font-style:normal;font-weight:500;padding:2px 6px;text-overflow:ellipsis;white-space:nowrap}.storyboard-shot-reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}.storyboard-shot-reference-card{position:relative;display:grid;gap:5px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);padding:7px}.storyboard-shot-reference-thumb{position:relative;display:block;overflow:hidden;border-radius:var(--ui-radius)}.storyboard-shot-reference-card small,.storyboard-shot-reference-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-shot-reference-card span{color:var(--ink);font-size:var(--font-ui-small);font-weight:500}.storyboard-shot-reference-card small{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-shot-reference-card button{position:absolute;top:10px;right:10px;display:inline-grid;width:24px;height:24px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--danger)}.storyboard-scope-assets-section{align-content:start;overflow:visible}.storyboard-scope-assets-section .section-heading-row{min-width:0}.storyboard-scope-section-actions,.storyboard-start-frame-compact{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;min-width:0}.storyboard-scope-section-actions>span{color:var(--muted);font-size:var(--font-ui-small);font-weight:500;white-space:nowrap}.storyboard-scope-open-asset,.storyboard-scope-upload-media{display:inline-grid;width:24px;height:24px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);cursor:pointer;padding:0}.storyboard-scope-open-asset:focus-visible,.storyboard-scope-open-asset:hover,.storyboard-scope-upload-media:focus-visible,.storyboard-scope-upload-media:hover{border-color:var(--line-ui);background:var(--highlight-on-paper)}.storyboard-scope-collapse-toggle{display:inline-flex;flex:1 1 auto;min-width:0;align-items:center;gap:5px;border:0;background:transparent;color:var(--ink);padding:0;text-align:left}.storyboard-scope-collapse-toggle span{overflow:hidden;color:var(--ink);font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-scope-collapse-toggle.wrap-title{align-items:flex-start}.storyboard-scope-collapse-toggle.wrap-title svg{flex:0 0 auto;margin-top:1px}.storyboard-scope-collapse-toggle.wrap-title span{overflow:visible;line-height:1.25;overflow-wrap:anywhere;text-overflow:clip;white-space:normal}.storyboard-scope-image-grid{-moz-column-width:118px;column-width:118px;-moz-column-gap:8px;column-gap:8px;width:100%;max-width:100%;min-width:0}.storyboard-scope-image-grid.empty-add-dropzone{display:block}.storyboard-scope-empty-add-button{display:grid;width:100%;min-height:112px;place-items:center;gap:8px;border:1px dashed var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);color:var(--muted);font-size:var(--font-ui-small);font-weight:500;padding:12px;text-align:center}.storyboard-scope-empty-add-button:hover{border-color:var(--line-ui);background:var(--highlight-on-panel);color:var(--ink)}.storyboard-scope-image-card{position:relative;display:grid;gap:0;width:100%;max-width:100%;min-width:0;align-content:start;-moz-column-break-inside:avoid;break-inside:avoid;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);color:var(--ink);margin:0 0 10px;overflow:visible;padding:0;text-align:left}.storyboard-scope-image-card:hover{border-color:var(--line-ui);background:var(--highlight-on-panel)}.storyboard-scope-image-card.wide-full-row{-moz-column-span:all;column-span:all}.storyboard-scope-image-card.audio-card,.storyboard-scope-image-card.video-card{cursor:default}.storyboard-scope-image-lightbox{display:block;width:min(calc(100vw - 48px),calc((100vh - 48px) * var(--storyboard-scope-image-aspect, 1)));height:auto;max-width:none;max-height:calc(100vh - 48px);aspect-ratio:var(--storyboard-scope-image-aspect,1);overflow:hidden;border:0;border-radius:var(--ui-radius);background:transparent}.storyboard-scope-image-lightbox-stage{width:100%;height:100%;overflow:hidden;border-radius:inherit}.storyboard-scope-image-lightbox-stage img{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.storyboard-scope-image-lightbox-download{position:absolute;top:12px;right:48px;z-index:2;display:inline-grid;width:28px;height:28px;place-items:center;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink)}.storyboard-scope-image-lightbox-download:hover{background:var(--ink);color:var(--paper)}.storyboard-scope-add-image-card{cursor:pointer}.storyboard-scope-image-thumb{position:relative;display:block;width:100%;max-width:100%;max-height:150px;min-width:0;aspect-ratio:var(--workspace-natural-image-aspect,1/1);overflow:hidden;border-radius:var(--ui-radius)}.storyboard-scope-add-image-card .storyboard-scope-image-thumb{display:grid;width:min(100%,96px);aspect-ratio:9/16;place-items:center;background:var(--paper);color:var(--muted)}.storyboard-scope-image-thumb img{-o-object-fit:contain;object-fit:contain}.storyboard-scope-image-card span{display:block;min-width:0;max-width:100%;overflow:hidden;color:var(--ink);font-size:var(--font-ui-micro);font-weight:500;padding:7px 8px;text-overflow:ellipsis;white-space:nowrap}.storyboard-scope-image-card .storyboard-scope-media-title-row{display:flex;align-items:center;gap:4px;padding:0 0 0 8px}.storyboard-scope-image-card.audio-card .storyboard-scope-media-title-row{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.storyboard-scope-image-card.audio-card .storyboard-scope-media-title-row:active{cursor:grabbing}.storyboard-scope-image-card .storyboard-scope-media-title-row>span:first-child{flex:1 1 auto;padding:7px 0}.storyboard-scope-image-card .storyboard-scope-media-drag-handle{display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;overflow:visible;color:var(--muted);cursor:grab;padding:0}.storyboard-scope-image-card .storyboard-scope-media-drag-handle:active{cursor:grabbing}.storyboard-scope-video-thumb{display:block;width:100%;max-height:230px;aspect-ratio:16/9;border:0;border-bottom:1px solid var(--line-soft);border-radius:var(--ui-radius) var(--ui-radius) 0 0;background:hsl(var(--palette-light-ink-hsl));-o-object-fit:contain;object-fit:contain}.storyboard-scope-video-thumb>.workspace-video-poster-button,.storyboard-scope-video-thumb>video{width:100%;height:100%}.storyboard-scope-image-remove{position:absolute;top:4px;right:4px;display:inline-grid;width:20px;height:20px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);color:var(--danger);opacity:.78;padding:0;line-height:1}.storyboard-scope-image-card .storyboard-scope-image-remove{display:inline-grid;padding:0}.storyboard-scope-image-card:focus-within .storyboard-scope-image-remove,.storyboard-scope-image-card:hover .storyboard-scope-image-remove,.storyboard-scope-image-remove:focus-visible{opacity:1}.storyboard-scope-image-context-menu{position:absolute;right:6px;bottom:32px;z-index:10;display:grid;width:-moz-max-content;width:max-content;min-width:220px;max-width:calc(100vw - 32px);overflow:hidden;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);box-shadow:var(--shadow-float);padding:3px}.storyboard-scope-image-context-menu span{max-width:none;border-radius:var(--ui-radius);color:var(--ink);cursor:pointer;font-size:var(--font-ui-small);font-weight:500;padding:7px 8px;text-transform:none;white-space:nowrap}.storyboard-scope-image-context-menu span:hover{background:var(--highlight-on-panel)}.storyboard-dialog-copy{margin:0;color:var(--muted);font-size:var(--font-ui-small);line-height:1.45}.storyboard-dialog-record-list{display:grid;gap:8px;margin-top:12px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);padding:10px}.storyboard-dialog-record-list>b{color:var(--ink);font-size:var(--font-ui-small);font-weight:500}.storyboard-dialog-record-list ul{display:grid;max-height:220px;gap:7px;margin:0;overflow:auto;padding:0;list-style:none}.storyboard-dialog-record-list li{display:grid;min-width:0;gap:2px;border-top:1px solid var(--line-soft);padding-top:7px}.storyboard-dialog-record-list li:first-child{border-top:0;padding-top:0}.storyboard-dialog-record-list em,.storyboard-dialog-record-list small,.storyboard-dialog-record-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-dialog-record-list span{color:var(--ink);font-size:var(--font-ui-small);font-weight:500}.storyboard-dialog-record-list em,.storyboard-dialog-record-list small{color:var(--muted);font-size:var(--font-ui-small);font-style:normal;line-height:1.3}.storyboard-script-context-section{gap:8px;align-content:start;overflow:visible}.storyboard-script-lines-action{flex:0 0 auto;border:0;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:var(--font-ui-small);font-weight:500;padding:0;white-space:nowrap}.storyboard-script-lines-action:focus-visible,.storyboard-script-lines-action:hover{color:var(--ink)}.storyboard-script-lines-action:focus-visible{outline:1px solid var(--focus);outline-offset:2px}.storyboard-script-context-page{display:grid;gap:7px;overflow:visible;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);font-family:var(--mono);font-size:var(--font-ui-small);line-height:1.35;padding:10px}.storyboard-script-context-page p{margin:0}.storyboard-script-scene-heading{font-weight:500;text-transform:uppercase}.storyboard-script-action{cursor:grab;white-space:pre-wrap}.storyboard-script-dialogue{display:grid;gap:2px;cursor:grab;padding-left:22px}.storyboard-script-action:active,.storyboard-script-dialogue:active{cursor:grabbing}.storyboard-script-character{font-weight:500;text-transform:uppercase}.storyboard-video-payload-panel{min-height:auto;border:0;border-radius:0;background:transparent}.storyboard-video-payload-empty{align-content:start}.storyboard-video-payload-empty p{margin:0;color:var(--muted);font-size:var(--font-ui-small);line-height:1.35}.storyboard-shot-payload-column .storyboard-video-payload-panel{min-height:auto}.storyboard-video-reference-dropzone,.storyboard-video-reference-section,.storyboard-video-reference-source-list{display:grid;gap:8px}.storyboard-video-reference-section.reference-mode{gap:4px}.storyboard-video-reference-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.storyboard-video-reference-section .storyboard-video-reference-heading-actions>span.over-limit{color:var(--danger)}.storyboard-video-frame-slots{display:grid;grid-template-columns:minmax(132px,180px);gap:8px}.storyboard-video-frame-slots.two-up{grid-template-columns:repeat(2,minmax(132px,180px))}.storyboard-video-frame-slot{display:grid;gap:7px;min-width:0;border:1px dashed var(--line-ui);border-radius:var(--ui-radius);background:var(--panel);padding:8px}.storyboard-video-frame-slot.filled{border-style:solid}.storyboard-video-frame-slot-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.storyboard-video-frame-slot-heading strong{font-size:var(--font-ui-small)}.storyboard-video-frame-slot-heading small{color:var(--muted);font-size:var(--font-ui-micro)}.storyboard-video-frame-slot-media{position:relative;display:grid;justify-self:center;justify-items:center;min-height:0;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel)}.storyboard-video-frame-slot-media>.workspace-natural-image{width:100%;height:100%;max-height:180px}.storyboard-video-frame-slot-media>.workspace-natural-image img{-o-object-fit:contain;object-fit:contain}.storyboard-video-frame-slot-title{display:block;min-width:0;overflow:hidden;color:var(--ink);font-size:var(--font-ui-micro);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-video-frame-slot-media>button{position:absolute;top:6px;right:6px;display:inline-grid;width:26px;height:26px;place-items:center;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--danger)}.storyboard-video-frame-slot-empty{display:grid;min-height:150px;place-items:center;align-content:center;gap:6px;border:1px dashed var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-video-reference-dropzone{min-height:112px;border:1px dashed var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);padding:8px}.storyboard-video-reference-dropzone.frame-card-grid{grid-template-columns:repeat(auto-fill,minmax(132px,180px));justify-content:start;align-items:start}.storyboard-video-reference-dropzone.frame-card-grid>.storyboard-empty{grid-column:1/-1;width:100%;white-space:normal}.storyboard-video-reference-card{position:relative;display:grid;gap:6px;align-items:start;min-width:0;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);cursor:grab;padding:6px}.storyboard-video-reference-card.frame-image-card{grid-template-columns:minmax(0,1fr) 24px;width:100%}.storyboard-video-reference-index{grid-column:1/-1}.storyboard-video-reference-media{grid-column:1/-1;display:grid;justify-self:center;min-height:0;justify-items:center;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel)}.storyboard-video-reference-media .storyboard-shot-reference-thumb{width:100%;height:100%;max-height:180px}.storyboard-video-reference-media .storyboard-shot-reference-thumb img{-o-object-fit:contain;object-fit:contain}.storyboard-video-reference-title{grid-column:1;align-self:center;color:var(--muted)!important;font-size:var(--font-ui-micro)!important}.storyboard-video-reference-order-controls{display:inline-flex;grid-column:1/-1;gap:4px}.storyboard-video-reference-order-controls button{display:inline-grid;width:26px;height:24px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink)}.storyboard-video-reference-order-controls button:disabled{opacity:.35}.storyboard-video-reference-card.frame-image-card .storyboard-video-reference-remove{position:absolute;top:1px;right:1px;z-index:2;grid-column:auto}.storyboard-video-reference-card:active{cursor:grabbing}.storyboard-video-reference-card span{overflow:hidden;color:var(--ink);font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-video-reference-add-slot{display:grid;min-height:150px;place-items:center;align-content:center;gap:5px;border:1px dashed var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--muted);padding:10px;text-align:center}.storyboard-video-reference-add-slot strong{color:var(--ink);font-size:var(--font-ui-small)}.storyboard-video-reference-add-slot small{font-size:var(--font-ui-micro);line-height:1.3}.storyboard-video-reference-warning{margin:0;color:var(--danger);font-size:var(--font-ui-small)}.storyboard-video-reference-remove{display:inline-grid;width:24px;height:24px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--danger)}.storyboard-video-reference-source-list{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.storyboard-video-reference-source-list button{overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);font-size:var(--font-ui-small);font-weight:500;padding:6px 7px;text-align:left;text-overflow:ellipsis;white-space:nowrap}@media (max-width:900px){.storyboard-video-reference-card{grid-template-columns:52px minmax(0,1fr) 26px}}@media (max-width:720px){.storyboard-video-frame-slots.two-up{grid-template-columns:minmax(132px,180px)}.storyboard-video-mode-bar{align-items:stretch}.storyboard-video-control-pill.model,.storyboard-video-type-pills{max-width:none;width:100%}.storyboard-video-prompt-heading,.storyboard-video-submit-row{align-items:stretch;flex-direction:column}.storyboard-video-control-dock{grid-template-columns:minmax(0,1fr)}.storyboard-video-control-pills,.storyboard-video-submit-row{grid-column:1}.storyboard-video-submit-row{grid-row:2}.storyboard-video-control-dock>.storyboard-start-frame-error{grid-row:3}.storyboard-video-submit-row .storyboard-video-generate-button{width:100%}}@media (max-width:1180px){.storyboard-shot-workspace{grid-template-columns:minmax(0,1fr);align-content:start;overflow:auto;padding:12px}.storyboard-shot-asset-rail{height:auto;overflow:visible;border-right:0;border-bottom:1px solid var(--line-ui);padding-bottom:12px}.storyboard-shot-payload-column{height:auto;overflow:visible;padding:0}.storyboard-video-payload-panel{min-height:auto}}@media (max-width:640px){.storyboard-generation-layout{grid-template-columns:minmax(0,1fr);align-content:start;overflow:auto;padding:12px}.storyboard-sequence-workspace{height:auto}.storyboard-sequence-workspace>.storyboard-video-payload-panel,.storyboard-video-history-rail{height:auto;overflow:visible;padding:0}.storyboard-video-history-rail{border-left:0;border-top:1px solid var(--line-ui);padding-top:12px}.workspace-rail-resize-handle{display:none}}@media (min-width:641px) and (max-width:860px){.workspace-root[data-active-surface=storyboard]{height:100vh;min-height:0;overflow:hidden}.workspace-root[data-active-surface=storyboard] .workspace-surface-stage,.workspace-root[data-active-surface=storyboard] .workspace-surface-transition{height:calc(100vh - var(--workspace-header-height) - var(--workspace-admin-banner-height, 0px));min-height:0;overflow:hidden}}.storyboard-detail-start-frame-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.storyboard-detail-start-frame-option{display:grid;gap:7px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);padding:7px}.storyboard-detail-start-frame-option.active{border-color:var(--line-sheet);background:var(--select-fill)}.storyboard-detail-start-frame-image-wrap{position:relative;display:grid;align-items:start;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel)}.storyboard-detail-start-frame-image{display:block;width:100%;height:auto;max-height:420px;-o-object-fit:contain;object-fit:contain}.storyboard-detail-start-frame-image-delete{position:absolute;top:7px;right:7px;display:inline-grid;width:26px;height:26px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--danger)}.storyboard-detail-start-frame-option b,.storyboard-detail-start-frame-option p{margin:0}.storyboard-detail-start-frame-option b{color:var(--ink);font-size:var(--font-ui-small);font-weight:500}.storyboard-detail-start-frame-option p{margin-top:5px;color:var(--muted);font-size:var(--font-ui-small);line-height:1.4}.storyboard-detail-start-frame-option span{display:inline-block;margin-top:7px;color:var(--ink);font-size:var(--font-ui-small);font-weight:500}.storyboard-detail-start-frame-use-button{justify-self:start;margin-top:7px;min-height:28px;font-size:var(--font-ui-small);text-transform:none}.storyboard-detail-start-frame-actions{display:inline-flex;align-items:center;gap:6px}.storyboard-detail-start-frame-icon-button{display:inline-grid;width:28px;height:28px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink)}.storyboard-detail-start-frame-icon-button.delete{color:var(--danger)}.storyboard-detail-start-frame-icon-button.generate{color:var(--ink)}.storyboard-detail-start-frame-actions .storyboard-detail-start-frame-add-button{min-height:28px;min-width:0;font-size:var(--font-ui-small);line-height:1;padding:4px 7px;text-transform:none}.storyboard-episode-index-section .section-heading-row{margin-bottom:0}.storyboard-episode-index-section[role=button]{cursor:pointer;transition:background-color var(--view-transition-duration) var(--view-transition-ease),border-color var(--view-transition-duration) var(--view-transition-ease)}.storyboard-episode-index-section[role=button]:focus-visible,.storyboard-episode-index-section[role=button]:hover{border-color:var(--line-ui);background:var(--highlight-on-panel)}.storyboard-episode-index-section[role=button]:has(.storyboard-overview-sequence-card:focus-visible),.storyboard-episode-index-section[role=button]:has(.storyboard-overview-sequence-card:hover),.storyboard-episode-index-section[role=button]:has(.storyboard-project-sequence-row:focus-visible),.storyboard-episode-index-section[role=button]:has(.storyboard-project-sequence-row:hover){background:transparent}.storyboard-episode-scene-list{display:grid;gap:8px}.storyboard-episode-scene-row{display:grid;grid-template-columns:minmax(180px,.45fr) minmax(0,1fr);gap:8px;align-items:start;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);padding:8px}.storyboard-episode-scene-row>button{display:grid;gap:3px;border:0;background:transparent;color:var(--ink);padding:0;text-align:left}.storyboard-episode-scene-row>button b,.storyboard-episode-scene-row>button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-episode-scene-row>button b,.storyboard-episode-scene-row>button span{font-size:var(--font-ui-small);font-weight:500}.storyboard-episode-scene-row>button span{color:var(--muted)}.storyboard-episode-scene-row>div{display:flex;flex-wrap:wrap;gap:6px}.storyboard-episode-scene-row>div button{max-width:260px;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);font-size:var(--font-ui-small);font-weight:500;padding:5px 7px;text-overflow:ellipsis;white-space:nowrap}.storyboard-project-sequence-list,.storyboard-project-sequence-rows{display:grid;gap:8px}.storyboard-project-scene-group{display:grid;gap:6px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);padding:8px}.storyboard-project-scene-heading{display:flex;min-width:0;align-items:baseline;justify-content:space-between;gap:10px;border:0;background:transparent;color:var(--ink);padding:0;text-align:left}.storyboard-project-scene-heading b,.storyboard-project-scene-heading span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-project-scene-heading b,.storyboard-project-scene-heading span{font-size:var(--font-ui-small);font-weight:500}.storyboard-project-scene-heading span{color:var(--muted)}.storyboard-project-sequence-row{display:grid;min-width:0;grid-template-columns:46px minmax(0,1fr) 120px 150px;align-items:center;gap:8px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);padding:7px 8px;text-align:left;transition:background-color var(--view-transition-duration) var(--view-transition-ease),border-color var(--view-transition-duration) var(--view-transition-ease)}.storyboard-project-sequence-row:focus-visible,.storyboard-project-sequence-row:hover{border-color:var(--line-ui);background:var(--highlight-on-panel)}.storyboard-project-sequence-row em,.storyboard-project-sequence-row small,.storyboard-project-sequence-row span{color:var(--muted);font-size:var(--font-ui-micro);font-style:normal;font-weight:500}.storyboard-project-sequence-row b,.storyboard-project-sequence-row em,.storyboard-project-sequence-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-project-sequence-row b{font-size:var(--font-ui-small);font-weight:500}.storyboard-board{height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr)}.storyboard-timeline-shell{position:relative;display:grid;grid-template-rows:minmax(0,1fr);width:calc(100% - 20px);height:var(--storyboard-timeline-height,108px);min-height:0;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:transparent;margin:8px 10px;overflow:hidden;will-change:height;transition:height .26s var(--view-transition-ease),min-height .26s var(--view-transition-ease),border-color .18s var(--view-transition-ease),border-radius .18s var(--view-transition-ease),margin .26s var(--view-transition-ease)}.storyboard-timeline-resizing .storyboard-timeline-shell{transition:none}.storyboard-timeline-shell.storyboard-timeline-loading{place-items:center;color:var(--muted);font-size:var(--font-ui-small);transition:none}.storyboard-timeline-shell.collapsed{height:44px;min-height:44px;background:transparent;border-width:0;border-radius:0;margin-bottom:8px;overflow:visible}.storyboard-timeline-collapsed-preview{position:relative;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;animation:storyboard-timeline-collapsed-enter .22s var(--view-transition-ease) both}.storyboard-timeline-collapsed-preview::-webkit-scrollbar{display:none;width:0;height:0}@keyframes storyboard-timeline-collapsed-enter{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.storyboard-timeline-collapsed-throughline{position:absolute;z-index:0;top:21px;right:0;left:0;height:1px;background:var(--line-ui);pointer-events:none}.storyboard-timeline-collapsed-preview-strip{position:relative;z-index:1;display:flex;min-width:-moz-max-content;min-width:max-content;align-items:flex-start;gap:38px;padding:10px 58px 8px 16px}.storyboard-timeline-shell.collapsed .storyboard-timeline-collapsed-scene-card{--storyboard-timeline-scene-base-width:142px;width:142px;min-width:142px;height:20px;border-radius:var(--ui-radius)}.storyboard-timeline-shell.collapsed .storyboard-timeline-collapsed-scene-card .storyboard-timeline-scene-card-header{border-bottom:0}.storyboard-timeline-shell.collapsed .storyboard-timeline-collapsed-scene-card+.storyboard-timeline-collapsed-scene-card{margin-left:0}.storyboard-timeline-shell.collapsed .storyboard-timeline-collapsed-scene-card+.storyboard-timeline-collapsed-scene-card:before{display:none}.storyboard-timeline-resize-handle{position:absolute;bottom:-5px;right:0;left:0;z-index:8;height:10px;border:0;border-radius:var(--ui-radius);background:transparent;color:transparent;cursor:ns-resize;padding:0}@media (prefers-reduced-motion:reduce){.storyboard-timeline-collapsed-preview,.storyboard-timeline-generation-progress svg,.storyboard-timeline-shell,.storyboard-timeline-shell:not(.collapsed) .storyboard-board-scroll{transition:none;animation:none}}.storyboard-timeline-resize-handle:after{position:absolute;bottom:5px;right:0;left:0;height:1px;background:transparent;content:""}.storyboard-timeline-resize-handle:focus-visible:after,.storyboard-timeline-resize-handle:hover:after{background:var(--focus)}.storyboard-timeline-resize-handle:focus-visible{outline:1px solid var(--focus);outline-offset:-1px}.storyboard-timeline-strip-controls{position:absolute;top:10px;right:10px;z-index:12;display:inline-flex;align-items:center;justify-content:flex-end;border:0;background:transparent;padding:0}.storyboard-timeline-toggle-button{display:inline-grid;width:34px;min-width:34px;height:34px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:transparent;color:var(--ink);padding:0;transition:width .18s var(--view-transition-ease),min-width .18s var(--view-transition-ease),height .18s var(--view-transition-ease),background-color .14s ease,color .14s ease}.storyboard-timeline-toggle-button:focus-visible,.storyboard-timeline-toggle-button:hover{background:var(--ink);color:var(--bg);outline:none}.storyboard-timeline-shell.collapsed .storyboard-timeline-strip-controls{top:4px;right:7px;bottom:auto;transform:none}.storyboard-timeline-shell.collapsed .storyboard-timeline-toggle-button{width:28px;min-width:28px;height:28px;background:var(--bg)}.storyboard-timeline-shell.surface-aware-timeline{--surface-timeline-bg:var(--bg);--surface-timeline-card-width:84px;--surface-timeline-card-height:62px;--surface-timeline-shot-width:var(--surface-timeline-card-width);--surface-timeline-shot-height:var(--surface-timeline-card-height);width:100%;border:0;border-radius:0;background:var(--surface-timeline-bg);margin:0}.surface-aware-timeline .storyboard-board-scroll{width:calc(100% - 52px);background:var(--surface-timeline-bg)}.workspace-root[data-active-surface=editor] .surface-aware-timeline{--surface-timeline-bg:var(--paper)}.workspace-root[data-active-surface=assets] .surface-aware-timeline{--surface-timeline-bg:var(--canvas-surface)}.workspace-root[data-active-surface=storyboard] .surface-aware-timeline{--surface-timeline-bg:var(--bg)}.storyboard-shell.timeline-history-detail .surface-aware-timeline{--surface-timeline-bg:var(--panel)}.surface-timeline-strip{position:relative;display:flex;flex:0 0 auto;box-sizing:border-box;width:-moz-max-content;width:max-content;min-width:100%;height:100%;align-items:center;gap:10px;overflow:visible;padding:6px 102px 6px 16px}.storyboard-timeline-shell:not(.collapsed) .storyboard-board-scroll{animation:storyboard-timeline-expanded-enter .26s var(--view-transition-ease) both}@keyframes storyboard-timeline-expanded-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.surface-timeline-expanded-throughline{position:absolute;z-index:0;top:var(--surface-timeline-throughline-top,61px);right:0;left:0;height:1px;background:var(--line-ui);pointer-events:none}.surface-timeline-empty-state{position:absolute;z-index:3;top:var(--surface-timeline-throughline-top,61px);left:16px;display:inline-flex;max-width:calc(100% - 134px);align-items:center;gap:8px;border-radius:var(--ui-radius);background:var(--surface-timeline-bg);padding:6px 8px 6px 0;transform:translateY(-50%)}.surface-timeline-collapsed-empty-label,.surface-timeline-empty-state p{margin:0;color:var(--muted);font-size:var(--font-ui-small);line-height:1.3}.surface-timeline-collapsed-empty-label{display:inline-flex;min-height:20px;align-items:center;background:var(--surface-timeline-bg);opacity:.72;padding:0 4px}.surface-timeline-empty-state .surface-timeline-empty-add-scene{align-self:center;margin-left:0;width:28px;min-width:28px;height:28px;grid-template-columns:1fr 0}.surface-timeline-empty-state .surface-timeline-empty-add-scene:focus-visible,.surface-timeline-empty-state .surface-timeline-empty-add-scene:hover{width:104px;grid-template-columns:18px auto}.is-spinning,.surface-timeline-move-pending svg{animation:storyboard-loading-spin .7s linear infinite}@keyframes storyboard-loading-spin{to{transform:rotate(1turn)}}.surface-timeline-move-pending{width:16px;height:16px}.surface-timeline-move-pending,.surface-timeline-unassigned-drop.is-pending{display:inline-flex;min-width:16px;align-items:center;justify-content:center;color:var(--muted)}.surface-timeline-scene-label{position:relative;z-index:2;display:inline-flex;flex:0 0 auto;max-width:224px;align-items:center;gap:4px;border:0;background:var(--surface-timeline-bg);color:var(--ink);padding:2px 4px;text-align:left;white-space:nowrap}.surface-timeline-scene-label span,.surface-timeline-scene-label strong{display:inline-flex;align-items:center;overflow:hidden;color:inherit;font-family:var(--sans);font-size:var(--font-ui-small);font-weight:500;line-height:1.15;text-overflow:ellipsis}.surface-timeline-scene-label.active,.surface-timeline-scene-label:focus-visible,.surface-timeline-scene-label:hover{color:var(--focus)}.surface-timeline-scene-label:focus-visible{outline:1px solid var(--focus);outline-offset:1px}.surface-aware-timeline .storyboard-timeline-add-scene{position:relative;z-index:3;background:var(--paper)}.surface-timeline-scene{position:relative;z-index:1;display:grid;flex:0 0 auto;grid-template-rows:18px minmax(0,1fr);align-self:stretch;min-width:0}.surface-timeline-peer-activity{position:absolute;top:1px;right:2px;z-index:4;display:inline-flex;align-items:center;gap:3px;pointer-events:none}.surface-timeline-peer-dot{width:7px;height:7px;border:1px solid var(--paper);border-radius:999px;box-shadow:0 0 0 1px color-mix(in srgb,currentColor 16%,transparent)}.surface-aware-timeline .surface-timeline-scene+.surface-timeline-scene{margin-left:18px;padding-left:20px}.surface-timeline-scene>.surface-timeline-scene-label{align-self:start;justify-self:start;max-width:100%;padding-left:0}.surface-timeline-scene-content{display:flex;min-width:-moz-max-content;min-width:max-content;align-items:stretch;gap:8px}.surface-aware-timeline .surface-timeline-scene{align-self:flex-start;grid-template-rows:18px auto;row-gap:6px}.surface-aware-timeline .surface-timeline-scene-content,.surface-aware-timeline .surface-timeline-sequence{align-items:flex-start}.surface-timeline-sequence{position:relative;display:flex;flex:0 0 auto;min-width:calc(var(--surface-timeline-card-width) + 10px);align-items:stretch;gap:5px;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);padding:4px}.surface-timeline-sequence:focus-within,.surface-timeline-sequence:hover{border-color:var(--line-ui-strong)}.surface-timeline-sequence.selected{border-color:var(--line-sheet);background:var(--select-fill);outline:none}.surface-timeline-sequence.is-remote-drop-target{border-color:var(--line-sheet);box-shadow:none}.surface-timeline-shot-slot{display:flex;flex:0 0 auto;align-items:center}.surface-aware-timeline.is-shot-dragging .surface-timeline-shot-slot.is-drop-after:before,.surface-aware-timeline.is-shot-dragging .surface-timeline-shot-slot.is-drop-before:before{position:absolute;z-index:9;top:-5px;bottom:-5px;width:2px;border-radius:999px;background:var(--ink);content:"";pointer-events:none}.surface-aware-timeline.is-shot-dragging .surface-timeline-shot-slot.is-drop-before:before{left:-4px}.surface-aware-timeline.is-shot-dragging .surface-timeline-shot-slot.is-drop-after:before{left:calc(var(--surface-timeline-shot-width) + 2px)}.surface-timeline-shot-slot.is-remote-drop-before:before{position:absolute;z-index:9;top:-5px;bottom:-5px;left:-4px;width:2px;border-radius:999px;background:var(--ink);content:"";pointer-events:none}.surface-timeline-shot-card.is-remote-dragging{border-color:var(--line-sheet);opacity:.58;transform:translateY(-2px)}.surface-timeline-media-card{position:relative;display:grid;flex:0 0 auto;width:var(--surface-timeline-card-width);min-width:var(--surface-timeline-card-width);height:100%;min-height:62px;grid-template-rows:minmax(0,1fr) 18px;overflow:hidden;border:1px solid var(--line-soft);border-radius:calc(var(--ui-radius) - 1px);background:var(--paper);color:var(--ink);padding:0}.surface-timeline-shot-card{width:var(--surface-timeline-shot-width);min-width:var(--surface-timeline-shot-width);height:var(--surface-timeline-shot-height);min-height:var(--surface-timeline-shot-height);max-height:var(--surface-timeline-shot-height);align-self:center;grid-template-rows:auto 14px;cursor:pointer}.surface-timeline-shot-card:active{cursor:pointer}.surface-timeline-media-card.selected,.surface-timeline-media-card:focus-visible,.surface-timeline-media-card:hover{border-color:var(--focus);outline:0}.surface-timeline-shot-card.selected{border-color:var(--line-sheet)}.surface-timeline-shot-card.is-canvas-media-drop-target,.surface-timeline-shot-card.merge-selected{border-color:var(--line-sheet);background:var(--select-fill)}.surface-timeline-merge-select{position:absolute;z-index:5;top:4px;right:4px;display:grid;width:18px;height:18px;place-items:center;border:1px solid var(--line-ui);border-radius:calc(var(--ui-radius) - 1px);background:color-mix(in srgb,var(--paper) 92%,transparent);color:var(--muted);padding:0}.surface-timeline-merge-select:focus-visible,.surface-timeline-merge-select:hover,.surface-timeline-merge-select[aria-pressed=true]{border-color:var(--focus);color:var(--focus);outline:0}.surface-timeline-scene.active .surface-timeline-sequence{background:var(--select-fill)}.surface-timeline-card-media{position:relative;display:block;min-height:0;overflow:hidden;background:var(--highlight-on-panel)}.surface-timeline-shot-card .surface-timeline-card-media{width:100%;aspect-ratio:16/9;background:var(--paper)}.surface-timeline-card-media .workspace-natural-image,.surface-timeline-card-media .workspace-video-poster,.surface-timeline-card-media video,.surface-timeline-card-media>img,.surface-timeline-video-poster{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.surface-timeline-shot-card .surface-timeline-card-media .workspace-natural-image img{-o-object-fit:contain;object-fit:contain}.surface-timeline-media-card footer{display:flex;align-items:center;justify-content:center;border-top:1px solid var(--line-soft);background:var(--paper);color:var(--ink);font-size:var(--storyboard-timeline-label-size,var(--font-ui-micro));font-weight:500;line-height:1}.surface-timeline-shot-actions{position:relative;z-index:6;display:grid;flex:0 0 auto;align-self:center;justify-items:start;gap:3px}.surface-timeline-combine-shots{position:relative;display:grid;width:18px;min-width:18px;height:16px;grid-template-columns:14px auto;align-items:center;border:1px solid var(--line-ui);border-radius:calc(var(--ui-radius) - 1px);background:var(--paper);color:var(--ink);padding:0;overflow:hidden}.surface-timeline-combine-shots span{width:0;overflow:hidden;font-size:var(--font-ui-micro);white-space:nowrap}.surface-timeline-shot-actions.has-merge-action{margin-left:3px}.surface-timeline-combine-shots:is(:hover,:focus-visible){width:96px;min-width:96px;background:var(--ink);color:var(--paper)}.surface-timeline-combine-shots:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.surface-timeline-combine-shots:is(:hover,:focus-visible) span{width:auto;padding-right:5px}.surface-timeline-sequence-loading{display:flex;width:var(--surface-timeline-card-width);min-width:var(--surface-timeline-card-width);height:100%;min-height:62px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:calc(var(--ui-radius) - 1px);background:var(--highlight-on-panel);color:var(--muted);font-size:var(--font-ui-micro);line-height:1.2;text-align:center}.surface-aware-timeline .surface-timeline-sequence{min-width:calc(var(--surface-timeline-shot-width) + 10px);margin-top:-5px}.surface-aware-timeline .surface-timeline-sequence-loading{width:var(--surface-timeline-shot-width);min-width:var(--surface-timeline-shot-width);height:var(--surface-timeline-shot-height);min-height:var(--surface-timeline-shot-height)}.surface-aware-timeline .surface-timeline-scene[data-canonical-state=unavailable] .surface-timeline-sequence-loading{width:280px;min-width:280px;flex-direction:row;gap:8px;padding:8px;text-align:start}.surface-timeline-scene[data-canonical-state=unavailable] .surface-timeline-sequence-loading button{flex-shrink:0}.surface-timeline-sequence-empty{display:flex;width:var(--surface-timeline-shot-width);min-width:var(--surface-timeline-shot-width);height:var(--surface-timeline-shot-height);align-items:center;justify-content:center;padding:8px;color:var(--muted);font-size:var(--font-ui-micro);line-height:1.25;text-align:center}.storyboard-inline-error{display:flex;min-height:32px;align-items:center;justify-content:space-between;gap:8px;margin:6px 8px;padding:4px 8px;border:1px solid color-mix(in srgb,var(--warning) 45%,var(--line-ui));border-radius:var(--ui-radius);background:color-mix(in srgb,var(--paper) 94%,var(--warning) 6%);color:var(--ink);font-size:var(--font-ui-small)}.storyboard-inline-error>div{display:flex;flex:0 0 auto;gap:4px}@media (max-width:640px){.storyboard-inline-error{align-items:flex-start;flex-direction:column}}.surface-timeline-unassigned-drop{position:relative;display:block;flex:0 0 0;width:0;border-radius:2px;transition:width .1s ease}.surface-timeline-unassigned-drop:after{position:absolute;top:0;bottom:0;left:50%;width:3px;transform:translateX(-50%);border-radius:999px;background:var(--ink);content:"";opacity:0;pointer-events:none}.surface-aware-timeline.has-remote-shot-drag .surface-timeline-unassigned-drop,.surface-aware-timeline.is-shot-dragging .surface-timeline-unassigned-drop.is-drop-enabled{flex-basis:8px;width:8px;min-width:8px;margin-right:-8px;min-height:calc(var(--surface-timeline-shot-height) + 10px);align-self:flex-start}.surface-aware-timeline.has-remote-shot-drag .surface-timeline-unassigned-drop.is-remote-drop-target:after,.surface-aware-timeline.is-shot-dragging .surface-timeline-unassigned-drop.is-drop-enabled.is-drop-target:after{opacity:1}.surface-timeline-mode-toggle{width:auto;min-width:68px;margin-right:6px;background:var(--paper)}.surface-timeline-creation-toggle{display:inline-grid;width:30px;min-width:30px;height:28px;margin-right:6px;place-items:center;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);padding:0}.surface-timeline-creation-toggle.active,.surface-timeline-creation-toggle:focus-visible,.surface-timeline-creation-toggle:hover{border-color:var(--ink);background:var(--ink);color:var(--paper);outline:0}.surface-timeline-mode-toggle button{display:grid;width:30px;height:28px;place-items:center;padding:0}.surface-aware-timeline .storyboard-timeline-strip-controls{top:auto;right:10px;bottom:8px;flex-direction:column;gap:4px;transform:none}.surface-aware-timeline .surface-timeline-creation-toggle{margin-right:0}.surface-timeline-shot-menu{position:fixed;z-index:200;min-width:174px;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);padding:4px}.surface-timeline-shot-menu button{width:100%;border:0;border-radius:calc(var(--ui-radius) - 1px);background:transparent;color:var(--ink);padding:7px 9px;text-align:left}.surface-timeline-shot-menu button:focus-visible,.surface-timeline-shot-menu button:hover:not(:disabled){background:var(--highlight-on-paper);outline:0}.surface-timeline-shot-menu button:disabled{color:var(--muted)}.surface-aware-timeline.collapsed .storyboard-timeline-strip-controls{top:auto;right:7px;bottom:4px;transform:none}.surface-aware-timeline.collapsed .storyboard-timeline-collapsed-preview-strip{padding-right:58px}.surface-aware-timeline.collapsed .storyboard-timeline-collapsed-preview{width:calc(100% - 43px)}.surface-aware-timeline.collapsed .surface-timeline-scene-label{width:-moz-max-content;width:max-content;max-width:none}.surface-aware-timeline.collapsed .surface-timeline-scene-label span,.surface-aware-timeline.collapsed .surface-timeline-scene-label strong{overflow:visible;text-overflow:clip}.storyboard-board-toolbar,.storyboard-context-panel>header,.storyboard-scene-group>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.storyboard-board-toolbar{border-bottom:1px solid var(--line-ui);background:var(--panel);padding:10px 12px}.storyboard-context-panel>header{border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);padding:10px 11px}.storyboard-board-toolbar p,.storyboard-context-panel header p,.storyboard-scene-group header small{margin:0;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-context-panel header h2{overflow:hidden;margin:0;font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-context-panel header span{color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-scene-nav{display:inline-flex;gap:4px}.storyboard-scene-nav button{display:inline-grid;width:30px;height:30px;place-items:center;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink)}.storyboard-board-scroll{display:flex;min-height:0;align-items:start;overflow:auto;background:transparent;gap:0;padding:6px 18px;scroll-snap-type:x proximity}.storyboard-timeline-shell .storyboard-board-scroll{align-items:stretch;height:100%;overflow-x:auto;overflow-y:hidden;padding:0;scrollbar-gutter:auto;scrollbar-width:none;-ms-overflow-style:none}.storyboard-timeline-shell .storyboard-board-scroll::-webkit-scrollbar{display:none;width:0;height:0}.storyboard-board-overview{display:grid;align-content:start;justify-items:start;gap:14px;height:100%;overflow:auto;background:var(--bg);padding:18px}.storyboard-project-board-overview{display:grid;min-width:0;align-content:start;align-items:stretch;gap:14px;overflow:auto}.storyboard-project-board-overview .storyboard-project-episode-section{width:100%;max-width:none}.storyboard-project-board-overview .storyboard-overview-sequence-grid{display:flex;align-items:stretch;gap:10px;overflow-x:auto;padding-bottom:2px}.storyboard-project-board-overview .storyboard-overview-sequence-card{flex:0 0 240px}.storyboard-project-episode-actions{display:flex;align-items:center;gap:8px}.storyboard-project-episode-actions>span{color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-project-episode-section>header>.production-episode-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}.storyboard-project-episode-section .production-episode-heading h3,.storyboard-project-episode-section .production-episode-heading span{color:var(--ink);font-size:var(--font-ui-title);font-weight:500}.storyboard-board-overview-header{display:flex;width:100%;min-width:0;align-items:start;justify-content:space-between;gap:16px}.storyboard-board-overview-header>.production-view-switcher{order:-1;margin-right:auto}.storyboard-board-overview-title{display:flex;flex-wrap:wrap;min-width:0;gap:6px;align-items:baseline}.storyboard-board-overview-title .storyboard-board-overview-back{flex-basis:100%}.storyboard-board-overview-back{display:inline-flex;height:28px;align-items:center;gap:6px;justify-self:start;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);font-size:var(--font-ui-small);font-weight:500;padding:0 9px}.storyboard-board-overview-back:hover{border-color:var(--line-ui);background:var(--highlight-on-panel)}.storyboard-board-overview p{margin:0;color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-episode-video-history-section{display:grid;gap:10px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);padding:12px}.storyboard-episode-video-history-section header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}.storyboard-episode-video-history-section header h3,.storyboard-episode-video-history-section header p{margin:0}.storyboard-episode-video-history-section header p,.storyboard-episode-video-history-section header span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-episode-video-history-section header h3{font-size:var(--font-ui-small);font-weight:500}.storyboard-episode-video-history-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));align-items:start;gap:8px;min-width:0}.storyboard-episode-video-history-card{display:grid;min-width:0;gap:5px;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);color:var(--ink);padding:7px;text-align:left}.storyboard-episode-video-history-card:hover{border-color:var(--line-ui);background:var(--highlight-on-panel)}.storyboard-episode-video-history-card video,.storyboard-episode-video-history-card>span{display:grid;width:100%;max-height:96px;min-height:72px;place-items:center;overflow:hidden;border-radius:var(--ui-radius);background:var(--paper);color:var(--muted);font-size:var(--font-ui-micro);font-weight:500;-o-object-fit:contain;object-fit:contain}.storyboard-episode-video-history-card b,.storyboard-episode-video-history-card em,.storyboard-episode-video-history-card small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-episode-video-history-card b{font-size:var(--font-ui-small);font-weight:500}.storyboard-episode-video-history-card em,.storyboard-episode-video-history-card small{color:var(--muted);font-size:var(--font-ui-micro);font-style:normal;font-weight:500}.storyboard-board-overview h2{margin:0}.storyboard-board-overview h2,.storyboard-board-overview-title>span{color:var(--ink);font-size:var(--font-ui-title);font-weight:500}.storyboard-board-overview-title>span:before{content:"•";margin-right:6px}.storyboard-overview-stats{display:flex;flex-wrap:wrap;gap:8px}.storyboard-overview-stats span{display:grid;min-width:116px;gap:3px;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--muted);font-size:var(--font-ui-small);font-weight:500;padding:10px}.storyboard-overview-stats b{color:var(--ink);font-size:var(--font-ui-display);font-weight:500}.storyboard-overview-scene-list{display:grid;width:100%;gap:12px}.storyboard-overview-scene-section{display:grid;gap:10px}.storyboard-overview-scene-section>header{display:flex;min-width:0;align-items:start;justify-content:space-between;gap:12px}.storyboard-overview-scene-section>header>div{display:grid;min-width:0;gap:3px}.storyboard-overview-scene-section h3{overflow:hidden;margin:0;color:var(--ink);font-size:var(--font-ui-base);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-overview-scene-section>header>span{max-width:36%;overflow:hidden;color:var(--muted);font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-overview-sequence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.storyboard-overview-sequence-card{position:relative;display:grid;min-height:116px;overflow:hidden;border:0;border-radius:0;background:transparent;color:var(--ink);text-align:left;transition:border-color .12s ease,background-color .12s ease}.storyboard-overview-sequence-card:has(.storyboard-overview-sequence-card-open:focus-visible),.storyboard-overview-sequence-card:hover{background:var(--highlight-on-paper)}.storyboard-overview-sequence-card-open{display:grid;align-content:start;gap:9px;width:100%;border:0;background:transparent;color:inherit;padding:10px;text-align:left}.storyboard-overview-sequence-card:has(.storyboard-overview-scene-order-controls) .storyboard-overview-sequence-card-open{padding-right:68px}.storyboard-overview-sequence-card-open:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.storyboard-overview-sequence-card small,.storyboard-overview-sequence-card-open>span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-overview-sequence-card b{display:-webkit-box;overflow:hidden;font-size:var(--font-ui-base);font-weight:500;line-height:1.16;-webkit-box-orient:vertical;-webkit-line-clamp:2}.storyboard-overview-scene-order-controls{position:absolute;z-index:2;top:6px;right:6px;display:flex;gap:3px}.storyboard-scene-order-button{display:inline-grid;width:26px;height:24px;place-items:center;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--muted);padding:0}.storyboard-scene-order-button:not(:disabled){cursor:pointer}.storyboard-scene-order-button:not(:disabled):focus-visible,.storyboard-scene-order-button:not(:disabled):hover{background:var(--highlight-on-panel);color:var(--ink);outline:2px solid var(--focus);outline-offset:1px}.storyboard-scene-order-button:disabled{cursor:default;opacity:.32}.storyboard-overview-sequence-card p{display:-webkit-box;overflow:hidden;color:var(--muted);font-size:var(--font-ui-small);font-weight:500;line-height:1.28;-webkit-box-orient:vertical;-webkit-line-clamp:3}.storyboard-overview-sequence-meta,.storyboard-overview-sequence-video-meta{display:flex;flex-wrap:wrap;gap:6px}.storyboard-overview-sequence-meta em{border:1px solid var(--line-soft);border-radius:var(--ui-radius);color:var(--muted);font-size:var(--font-ui-micro);font-style:normal;font-weight:500;padding:3px 5px}.storyboard-overview-sequence-video-meta em{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--panel);color:var(--ink);font-size:var(--font-ui-micro);font-style:normal;font-weight:500;padding:3px 5px}.storyboard-overview-sequence-video-meta em.complete{border-color:var(--ink)}.storyboard-overview-sequence-video-meta svg{flex:0 0 auto}.storyboard-scene-group{display:grid;flex:0 0 auto;gap:6px;min-width:210px;border-right:1px solid var(--line-soft);background:transparent;padding:0 12px 0 0;scroll-snap-align:start}.storyboard-scene-group+.storyboard-scene-group{padding-left:12px}.storyboard-scene-group:last-child{border-right:0;padding-right:2px}.storyboard-scene-group>header{align-items:center;padding:0 0 2px}.storyboard-scene-timeline-title{display:block;min-width:0;color:var(--ink)}.storyboard-scene-timeline-title b{display:block;line-height:1.15}.storyboard-scene-timeline-title b,.storyboard-scene-timeline-title small{overflow:hidden;font-size:var(--font-ui-micro);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-scene-timeline-title small{color:var(--muted);text-transform:none}.storyboard-timeline-row,.storyboard-timeline-strip{--storyboard-timeline-thumb-height:clamp(54px,calc(var(--storyboard-timeline-height, 148px) - 86px),210px);--storyboard-timeline-thumb-width:clamp(30px,calc(var(--storyboard-timeline-height, 148px) - 112px),118px);--storyboard-timeline-empty-width:clamp(36px,calc(var(--storyboard-timeline-height, 148px) - 104px),128px);--storyboard-timeline-add-size:clamp(24px,calc(var(--storyboard-timeline-height, 148px) / 8),34px)}.storyboard-timeline-strip{--storyboard-timeline-thumb-height:clamp(44px,calc(var(--storyboard-timeline-height, 148px) - 94px),124px);--storyboard-timeline-thumb-width:clamp(30px,calc(var(--storyboard-timeline-height, 148px) - 116px),76px);--storyboard-timeline-empty-width:var(--storyboard-timeline-thumb-width);display:flex;box-sizing:border-box;height:100%;min-width:-moz-max-content;min-width:max-content;align-items:flex-start;gap:8px;overflow:visible;padding:10px 92px 10px 10px}.storyboard-timeline-strip .storyboard-timeline-scene-card{grid-template-rows:auto minmax(0,1fr);align-self:stretch}.storyboard-timeline-episode-divider{flex:0 0 1px;width:1px;height:calc(100% - 16px);min-height:54px;align-self:center;background:var(--line-ui-strong);margin:0 4px}.storyboard-timeline-row{display:flex;min-width:0;align-items:stretch;gap:9px;overflow:visible;padding:0 2px 5px}.storyboard-timeline-sequence-stack{position:relative;display:block;flex:0 0 auto;width:auto;min-width:46px;padding-top:calc(var(--storyboard-timeline-label-size, var(--font-ui-micro)) + 5px)}.storyboard-timeline-scene-filmstrip .storyboard-timeline-sequence-stack{min-width:0;padding-top:0}.storyboard-timeline-sequence-stack.starts-scene{margin-left:7px}.storyboard-timeline-sequence-stack.starts-scene:before{position:absolute;top:calc(var(--storyboard-timeline-label-size, var(--font-ui-micro)) + 5px);bottom:5px;left:-8px;display:block;border-left:1px solid var(--line-ui);content:""}.storyboard-timeline-sequence-label{position:absolute;top:0;left:0;right:0;overflow:hidden;width:auto;min-width:0;max-width:100%;border:0;background:transparent;color:var(--muted);font-size:var(--storyboard-timeline-label-size,var(--font-ui-micro));font-weight:500;line-height:1.1;padding:0 1px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.storyboard-timeline-sequence-label:hover{color:var(--ink)}.storyboard-timeline-scene-card{--storyboard-timeline-scene-base-width:clamp(172px,calc(var(--storyboard-timeline-height, 148px) * 1.22),252px);--storyboard-timeline-scene-width:max(var(--storyboard-timeline-scene-base-width),var(--storyboard-timeline-scene-content-width,0px));display:grid;grid-template-rows:auto auto;align-self:center;box-sizing:border-box;flex:0 0 auto;height:auto;width:-moz-max-content;width:max-content;min-width:var(--storyboard-timeline-scene-base-width);overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);transition:width .12s ease,min-width .12s ease,border-color .12s ease,background-color .12s ease,box-shadow .12s ease}.storyboard-timeline-scene-card:has(.storyboard-generation-set-add:focus-visible),.storyboard-timeline-scene-card:has(.storyboard-generation-set-add:hover){--storyboard-timeline-scene-width:max(var(--storyboard-timeline-scene-base-width),var(--storyboard-timeline-scene-hover-width,var(--storyboard-timeline-scene-content-width,0px)))}.storyboard-timeline-scene-card.active{border-color:var(--ink);background:var(--select-fill)}.storyboard-timeline-scene-card+.storyboard-timeline-scene-card{position:relative;margin-left:8px}.storyboard-timeline-scene-card+.storyboard-timeline-scene-card:before{position:absolute;top:5px;bottom:5px;left:-9px;border-left:1px solid var(--line-ui);content:""}.storyboard-timeline-scene-card-header{display:grid;box-sizing:border-box;width:100%;max-width:100%;grid-template-columns:minmax(0,1fr);align-items:center;gap:6px;min-width:0;border-bottom:1px solid var(--line-soft);background:var(--panel);padding:3px 6px}.storyboard-timeline-scene-card-header:has(.storyboard-timeline-scene-order-controls){grid-template-columns:minmax(0,1fr) 51px;gap:4px;padding-right:8px}.storyboard-timeline-scene-order-controls{display:flex;align-items:center;gap:3px}.storyboard-timeline-scene-card-header .storyboard-timeline-scene-order-controls .storyboard-timeline-scene-order-button{width:24px;min-width:24px;height:20px;min-height:20px;aspect-ratio:auto}.storyboard-timeline-scene-card.active .storyboard-timeline-scene-card-header{border-bottom-color:var(--ink);background:var(--select-fill)}.storyboard-timeline-scene-title{display:grid;width:100%;min-width:0;max-width:100%;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:6px;overflow:hidden;border:0;background:transparent;color:var(--ink);padding:0;text-align:left}.storyboard-timeline-scene-title:disabled{color:var(--muted);cursor:default}.storyboard-timeline-scene-title b,.storyboard-timeline-scene-title span{font-family:inherit;font-size:var(--font-ui-small);font-weight:400;line-height:1.2}.storyboard-timeline-scene-title span{color:var(--muted)}.storyboard-timeline-scene-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-timeline-scene-title:not(:disabled):focus-visible b,.storyboard-timeline-scene-title:not(:disabled):hover b{color:var(--focus)}.storyboard-timeline-scene-title:focus-visible{outline:1px solid var(--line-ui);outline-offset:2px}.storyboard-timeline-scene-filmstrip{display:flex;align-items:center;gap:8px;min-width:-moz-max-content;min-width:max-content;min-height:var(--storyboard-timeline-thumb-height);overflow:visible;padding:8px 12px 8px 7px}.storyboard-timeline-scene-empty{margin:0;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-timeline-sequence-group{display:flex;flex:0 0 auto;gap:4px;width:auto;min-width:0;min-height:calc(var(--storyboard-timeline-thumb-height) + 10px);border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);align-items:center;padding:4px}.storyboard-timeline-scene-filmstrip .storyboard-timeline-sequence-group{gap:8px;flex-wrap:nowrap;min-height:var(--storyboard-timeline-thumb-height);border:0;background:transparent;padding:0}.storyboard-timeline-sequence-group.active{background:var(--highlight-on-panel);border-color:var(--line-ui)}.storyboard-timeline-scene-filmstrip .storyboard-timeline-sequence-group.active{background:transparent}.storyboard-sequence-preview{display:flex;align-items:center;justify-content:space-evenly;gap:8px;width:100%;max-width:128px;min-height:62px;border:0;background:transparent;color:var(--ink);padding:4px;text-align:left}.storyboard-generation-set-add,.storyboard-generation-set-empty,.storyboard-generation-set-preview{position:relative;display:grid;flex:0 0 auto;width:calc(var(--storyboard-timeline-thumb-width) + 10px);min-width:calc(var(--storyboard-timeline-thumb-width) + 10px);gap:2px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:color-mix(in srgb,var(--paper) 88%,var(--ink));color:var(--ink);padding:3px}.storyboard-generation-set-preview.has-video{width:auto;min-width:calc(var(--storyboard-timeline-thumb-width) + 10px)}.storyboard-timeline-sequence-group{cursor:pointer}.storyboard-generation-set-preview.active,.storyboard-generation-set-preview:hover{border-color:var(--line-ui);background:var(--paper)}.storyboard-generation-set-preview.canvas-target-emphasis{outline:1px solid var(--accent,var(--line-sheet));outline-offset:2px}.storyboard-generation-set-preview.canvas-video-drop-target-emphasis{border-color:var(--line-sheet);background:var(--select-fill);outline:none;outline-offset:2px}.storyboard-timeline-generation-progress{position:absolute;z-index:5;top:4px;right:4px;display:grid;width:22px;height:22px;place-items:center;overflow:hidden;border:1px solid var(--line-ui);background:color-mix(in srgb,var(--paper) 92%,transparent);color:var(--ink);border-radius:999px}.storyboard-timeline-generation-progress svg{animation:storyboard-timeline-generation-spin .8s linear infinite}.storyboard-sequence-preview-thumb.is-generating{isolation:isolate}@keyframes storyboard-timeline-generation-spin{to{transform:rotate(1turn)}}.storyboard-generation-set-preview.active{border-width:1px;border-color:var(--line-sheet);background:var(--select-fill);padding:2px}.storyboard-generation-set-preview.dragging{opacity:.48}.storyboard-generation-set-preview.drag-over-after:after,.storyboard-generation-set-preview.drag-over-before:before{position:absolute;z-index:7;top:-4px;bottom:-4px;display:block;width:3px;background:var(--ink);box-shadow:0 0 0 1px var(--paper);content:"";pointer-events:none}.storyboard-generation-set-preview.drag-over-before:before{left:-5px}.storyboard-generation-set-preview.drag-over-after:after{right:-5px}.storyboard-generation-set-empty{width:var(--storyboard-timeline-empty-width);min-width:var(--storyboard-timeline-empty-width);height:var(--storyboard-timeline-thumb-height);place-items:center;border-color:var(--line-soft);border-style:dashed;background:var(--highlight-on-paper);color:var(--muted)}.storyboard-generation-set-empty span{display:none;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500;line-height:1}.storyboard-generation-set-add{align-self:center;position:relative;display:inline-grid;grid-template-columns:var(--storyboard-timeline-add-size) auto;grid-template-rows:1fr;align-items:center;justify-items:center;-moz-column-gap:4px;column-gap:4px;row-gap:0;width:var(--storyboard-timeline-add-size);min-width:var(--storyboard-timeline-add-size);height:var(--storyboard-timeline-add-size);overflow:hidden;border-color:var(--line-soft);background:var(--paper);color:var(--ink);padding:0;transition:width .12s ease}.storyboard-generation-set-add-icon{grid-column:1;grid-row:1;align-self:center;justify-self:center;pointer-events:none}.storyboard-generation-set-add-label{display:block;grid-column:2;grid-row:1;width:0;overflow:hidden;color:var(--ink);font-size:var(--font-ui-micro);font-weight:500;line-height:1;white-space:nowrap}.storyboard-generation-set-add:focus-visible,.storyboard-generation-set-add:hover{width:calc(var(--storyboard-timeline-add-size) + 72px);border-color:var(--line-ui);background:var(--paper);color:var(--ink);outline:none;padding:0}.storyboard-generation-set-add:focus-visible .storyboard-generation-set-add-label,.storyboard-generation-set-add:hover .storyboard-generation-set-add-label{width:auto;padding-right:8px}.storyboard-add-scene-button{display:inline-grid;grid-template-columns:26px auto;align-items:center;justify-items:center;width:28px;min-width:28px;height:28px;overflow:hidden;border:1px dashed var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);padding:0;transition:width .12s ease,border-color .12s ease,background-color .12s ease}.storyboard-add-scene-button span{width:0;overflow:hidden;font-size:var(--font-ui-micro);font-weight:500;line-height:1;white-space:nowrap}.storyboard-add-scene-button:focus-visible,.storyboard-add-scene-button:hover{width:92px;border-color:var(--line-ui);background:var(--highlight-on-paper);outline:none}.storyboard-add-scene-button:focus-visible span,.storyboard-add-scene-button:hover span{width:auto;padding-right:9px}.storyboard-add-scene-icon{grid-column:1}.storyboard-overview-add-scene{width:100%;min-width:0;height:auto;min-height:116px;grid-template-columns:24px auto;align-content:center;justify-content:center;border-style:dashed;background:color-mix(in srgb,var(--paper) 76%,transparent)}.storyboard-overview-add-scene span{width:auto;padding-right:7px}.storyboard-overview-add-scene:focus-visible,.storyboard-overview-add-scene:hover{width:100%}.storyboard-project-board-overview .storyboard-overview-add-scene{flex:0 0 116px;width:116px}.storyboard-project-board-overview .storyboard-overview-add-scene:focus-visible,.storyboard-project-board-overview .storyboard-overview-add-scene:hover{width:116px}.storyboard-timeline-add-scene{flex:0 0 auto;align-self:center;margin-left:4px;width:20px;min-width:20px;height:20px;grid-template-columns:18px auto;border-radius:calc(var(--ui-radius) - 1px)}.storyboard-timeline-add-scene .storyboard-add-scene-icon{width:10px;height:10px}.storyboard-timeline-add-scene:focus-visible,.storyboard-timeline-add-scene:hover{width:104px}.storyboard-timeline-add-scene:focus-visible span,.storyboard-timeline-add-scene:hover span{padding-right:10px;padding-left:2px}.storyboard-reorder-warning-preference,.storyboard-video-delete-warning-preference{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:var(--font-ui-small);font-weight:500}.storyboard-generation-set-preview .storyboard-sequence-preview-thumb{width:var(--storyboard-timeline-thumb-width);height:var(--storyboard-timeline-thumb-height)}.storyboard-timeline-scene-filmstrip .storyboard-generation-set-preview{width:calc(var(--storyboard-timeline-thumb-width) + 6px);min-width:calc(var(--storyboard-timeline-thumb-width) + 6px);padding:2px}.storyboard-timeline-scene-filmstrip .storyboard-generation-set-preview.has-video{width:auto;min-width:calc(var(--storyboard-timeline-thumb-width) + 6px)}.storyboard-generation-set-preview .storyboard-sequence-preview-thumb.has-image{width:var(--storyboard-timeline-thumb-width)}.storyboard-generation-set-preview .storyboard-sequence-preview-thumb.has-video{width:clamp(var(--storyboard-timeline-thumb-width),calc(var(--storyboard-timeline-thumb-height) * var(--storyboard-timeline-video-ratio, .5625)),calc(var(--storyboard-timeline-thumb-height) * 1.7778));overflow:hidden;background:var(--paper)}.storyboard-generation-set-preview>span:not(.storyboard-generation-set-delete){overflow:hidden;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500;line-height:1;text-align:center;text-overflow:ellipsis;white-space:nowrap}.storyboard-generation-set-preview>.storyboard-generation-set-coverage{border-radius:999px;background:var(--highlight-on-paper);padding:3px 5px}.storyboard-generation-set-preview>.storyboard-generation-set-coverage.has-coverage{background:var(--select-fill);color:var(--ink)}.storyboard-generation-set-delete{position:absolute;z-index:6;top:-6px;right:-6px;display:none;width:clamp(18px,calc(var(--storyboard-timeline-thumb-width) - 18px),26px);height:clamp(18px,calc(var(--storyboard-timeline-thumb-width) - 18px),26px);place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:color-mix(in srgb,var(--paper) 92%,transparent);color:var(--danger)}.storyboard-generation-set-preview:focus-visible .storyboard-generation-set-delete,.storyboard-generation-set-preview:focus-within .storyboard-generation-set-delete,.storyboard-generation-set-preview:hover .storyboard-generation-set-delete{display:grid}.storyboard-sequence-preview-thumb{position:relative;flex:0 0 auto;display:block;width:var(--storyboard-timeline-thumb-width);height:var(--storyboard-timeline-thumb-height);overflow:visible;justify-self:center;border-radius:var(--ui-radius);background:transparent}.storyboard-sequence-preview-complete-status{position:absolute;z-index:5;top:50%;left:50%;display:block;color:var(--ink);transform:translate(-50%,-50%)}.storyboard-sequence-preview-complete-check{display:grid;width:22px;height:22px;place-items:center;border:1px solid var(--line-ui);border-radius:999px;background:color-mix(in srgb,var(--paper) 92%,transparent);color:var(--ink)}.storyboard-sequence-preview-complete-check svg{width:14px;height:14px;stroke-width:2.4}.storyboard-video-set-context-menu{position:fixed;z-index:120;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;justify-items:stretch;width:min(244px,calc(100vw - 16px));max-height:calc(100vh - 16px);overflow:auto;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--panel);padding:5px}.storyboard-video-set-context-menu-button{display:grid;box-sizing:border-box;grid-template-columns:22px minmax(0,1fr);width:100%;min-width:0;min-height:34px;align-items:center;gap:8px;border:1px solid transparent;border-radius:var(--ui-radius);background:transparent;color:var(--ink);font-size:var(--font-ui-small);font-weight:500;line-height:1.25;padding:7px 9px;text-align:left;white-space:nowrap}.storyboard-video-set-history-popover{position:fixed;z-index:15020;display:grid;width:-moz-max-content;width:max-content;max-width:calc(100vw - 16px);max-height:min(400px,calc(100vh - 16px));gap:1px;overflow-x:hidden;overflow-y:auto;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--panel);padding:4px}.storyboard-video-set-history-popover>button{display:grid;grid-template-columns:64px auto;align-items:center;min-width:0;gap:3px;border:1px solid transparent;border-radius:var(--ui-radius);background:transparent;color:var(--ink);padding:4px;text-align:left}.storyboard-video-set-history-popover>button:focus-visible,.storyboard-video-set-history-popover>button:hover{border-color:var(--line-ui);background:var(--highlight-on-panel);outline:none}.storyboard-video-set-history-thumb{position:relative;display:grid;width:64px;height:40px;place-items:center;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-video-set-history-thumb .workspace-video-poster,.storyboard-video-set-history-thumb video{width:100%;height:100%}.storyboard-video-set-history-thumb .workspace-video-poster{background:var(--paper)}.storyboard-video-set-history-thumb .workspace-video-poster>.workspace-video-frame-fallback,.storyboard-video-set-history-thumb .workspace-video-poster>img,.storyboard-video-set-history-thumb>video{-o-object-fit:contain;object-fit:contain}.storyboard-video-set-history-thumb>.storyboard-video-review-status-dot{position:absolute;z-index:2;bottom:4px;left:4px;width:7px;height:7px;border-width:1px;box-shadow:0 0 0 2px color-mix(in srgb,var(--paper) 86%,transparent)}.storyboard-video-set-history-label{overflow:hidden;font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-video-set-context-menu-button-icon{display:inline-grid;width:22px;height:20px;place-items:center}.storyboard-video-set-context-menu-button-icon svg{display:block;width:16px;height:16px}.storyboard-video-set-context-menu-button-label{min-width:0;overflow:hidden;justify-self:start;text-overflow:ellipsis}.storyboard-video-set-context-menu-button:hover{border-color:var(--line-ui);background:var(--highlight-on-panel)}.storyboard-video-set-context-menu-button:disabled{cursor:not-allowed;opacity:.48}.storyboard-video-set-context-menu-button:disabled:hover{border-color:transparent;background:transparent}.storyboard-scene-delete-confirmation{display:grid;gap:10px;padding-top:2px}.storyboard-scene-delete-confirmation p{margin:0;color:var(--ink);font-size:var(--font-ui-small);line-height:1.45;overflow-wrap:anywhere}.storyboard-scene-delete-confirmation .storyboard-scene-delete-blocked{border:1px solid color-mix(in srgb,var(--danger) 34%,var(--line-ui));border-radius:var(--ui-radius);background:color-mix(in srgb,var(--danger) 8%,var(--paper));color:var(--danger);padding:8px 9px}.storyboard-scene-delete-reference-list{display:grid;gap:8px;min-width:0}.storyboard-scene-delete-reference-list section{display:grid;gap:6px;min-width:0;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);padding:8px}.storyboard-scene-delete-reference-list h4{margin:0;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500;line-height:1.1}.storyboard-scene-delete-reference-list article{display:grid;gap:2px;min-width:0}.storyboard-scene-delete-reference-list article b,.storyboard-scene-delete-reference-list article span{min-width:0;overflow:hidden;font-size:var(--font-ui-small);line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.storyboard-scene-delete-reference-list article span{color:var(--muted)}.storyboard-sequence-preview-thumb.has-image{width:var(--storyboard-timeline-thumb-width);background:transparent}.storyboard-sequence-preview-mark{display:inline-flex;min-width:0;flex:1 1 auto;align-items:center;justify-content:space-evenly;gap:8px;color:var(--ink)}.storyboard-sequence-preview-connector{display:block;flex:1 1 26px;min-width:22px;max-width:34px;border-top:1px dashed var(--line-ui)}.storyboard-sequence-preview-target{display:block;flex:0 0 auto;width:30px;aspect-ratio:9/16;border:1px dashed var(--line-ui);border-radius:var(--ui-radius);background:transparent}.storyboard-sequence-preview-mark.multi svg,.storyboard-sequence-preview-mark.references svg{width:52px;height:52px;stroke-width:1}.storyboard-sequence-preview-mark.first-frame,.storyboard-sequence-preview-mark.first-last{flex:1 1 auto}.storyboard-sequence-preview-mark.first-last .storyboard-sequence-preview-thumb{width:var(--storyboard-timeline-thumb-width)}.storyboard-sequence-preview.markless{justify-content:space-evenly}.storyboard-timeline-sequence-title{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-width:0;border:0;background:transparent;color:var(--ink);padding:0;text-align:left}.storyboard-timeline-sequence-title span{color:var(--muted);font-family:var(--mono);font-size:var(--font-ui-micro);font-weight:500}.storyboard-timeline-sequence-title b{overflow:hidden;font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-timeline-image,.storyboard-timeline-video{position:relative;display:block;width:100%;height:100%;aspect-ratio:var(--workspace-natural-image-aspect,9/16);overflow:hidden;border-radius:var(--ui-radius)}.storyboard-timeline-video>.workspace-video-poster-placeholder,.storyboard-timeline-video>img{width:100%;height:100%}.storyboard-timeline-image img,.storyboard-timeline-video{-o-object-fit:contain;object-fit:contain}.storyboard-timeline-video{background:var(--paper);-o-object-position:center;object-position:center}.storyboard-timeline-placeholder{display:grid;width:100%;height:100%;place-items:center;background:var(--panel);color:var(--muted);font-family:var(--mono);font-size:var(--font-ui-small);font-weight:500}.storyboard-timeline-scene-card.active .storyboard-timeline-placeholder{background:var(--paper)}.storyboard-generation-set-empty svg,.storyboard-sequence-preview-thumb .storyboard-timeline-placeholder svg{width:clamp(15px,calc(var(--storyboard-timeline-thumb-width) - 18px),34px);height:clamp(15px,calc(var(--storyboard-timeline-thumb-width) - 18px),34px)}.storyboard-generation-set-add .storyboard-generation-set-add-icon{width:clamp(16px,calc(var(--storyboard-timeline-add-size) - 8px),26px);height:clamp(16px,calc(var(--storyboard-timeline-add-size) - 8px),26px)}.storyboard-sequence-preview-thumb.has-video .storyboard-timeline-video{position:relative;z-index:2}.storyboard-timeline-shell.density-compact .storyboard-timeline-scene-card-header{padding:2px 5px}.storyboard-timeline-shell.density-compact .storyboard-timeline-scene-card-header:has(.storyboard-timeline-scene-order-controls){grid-template-columns:minmax(0,1fr) 51px;padding-right:7px}.storyboard-timeline-shell.density-compact .storyboard-timeline-scene-filmstrip{padding:0 6px 0 4px}.storyboard-timeline-shell.density-expanded .storyboard-generation-set-empty{gap:5px}.storyboard-timeline-shell.density-expanded .storyboard-generation-set-empty span{display:block}.storyboard-empty-action{display:grid;justify-items:start;gap:8px;border:1px dashed var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);padding:14px}.storyboard-empty-action p{margin:0;color:var(--muted);font-size:var(--font-ui-small)}.storyboard-empty-action button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--ink);color:var(--bg);font-size:var(--font-ui-small);font-weight:500;padding:7px 10px}.storyboard-inspector-section{border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:color-mix(in srgb,var(--paper) 78%,transparent);padding:11px}.storyboard-scene-section{display:grid;gap:14px;min-height:0}.storyboard-scene-section>header,.storyboard-sequence-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.storyboard-scene-section>header{border-bottom:1px solid var(--line-soft);padding-bottom:10px}.storyboard-scene-section>header p,.storyboard-sequence-card>header p{margin:0 0 3px;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-scene-section>header h2{margin:0;font-size:var(--font-ui-title);line-height:1.15}.storyboard-scene-section>header span{color:var(--muted);font-size:var(--font-ui-small)}.storyboard-suggested-assets{display:grid;gap:8px}.storyboard-suggested-assets>div:not(.section-heading-row){display:flex;flex-wrap:wrap;gap:6px}.storyboard-suggested-assets button{display:inline-grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:5px;max-width:230px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);padding:6px 8px;text-align:left}.storyboard-linked-asset-list small,.storyboard-suggested-assets button span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-linked-asset-list span,.storyboard-suggested-assets button b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-sequence-list{display:grid;gap:14px}.storyboard-sequence-card{display:grid;gap:12px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);padding:12px}.storyboard-sequence-card.active{border-color:var(--line-sheet);background:var(--select-fill)}.storyboard-sequence-card>header input{width:100%;min-width:0;border:0;border-bottom:1px solid var(--line-soft);background:transparent;color:var(--ink);font-size:var(--font-ui-base);font-weight:500;outline:none;padding:0 0 4px}.storyboard-sequence-card>header input:focus{border-bottom-color:var(--line-ui)}.storyboard-sequence-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);gap:14px;align-items:start}.storyboard-sequence-grid>section:first-child{display:grid;gap:9px}.storyboard-sequence-grid label{display:grid;gap:5px}.storyboard-sequence-grid label span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-sequence-grid input,.storyboard-sequence-grid textarea{min-width:0;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);outline:none;padding:7px 8px}.storyboard-sequence-grid input:focus,.storyboard-sequence-grid textarea:focus,.storyboard-shot-row input:focus,.storyboard-shot-row select:focus,.storyboard-shot-row textarea:focus{border-color:var(--line-ui)}.storyboard-sequence-grid textarea{min-height:72px;resize:vertical}.storyboard-start-frame-section{display:grid;gap:10px}.storyboard-start-frame-layout{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;align-items:start}.storyboard-start-frame-preview{aspect-ratio:9/16;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel)}.storyboard-start-frame-preview>div,.storyboard-start-frame-thumb{position:relative;display:block;width:100%;height:100%}.storyboard-start-frame-preview>div{display:grid;place-items:center;color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-start-frame-thumb img{-o-object-fit:contain;object-fit:contain}.storyboard-start-frame-controls{display:grid;gap:9px;min-width:0}.storyboard-start-frame-controls label,.storyboard-start-frame-reference-dropzone,.storyboard-start-frame-references{display:grid;gap:5px}.storyboard-start-frame-controls label span,.storyboard-start-frame-reference-heading>span,.storyboard-start-frame-references>span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-start-frame-controls textarea{min-height:78px;resize:vertical}.storyboard-start-frame-reference-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.storyboard-start-frame-reference-heading .ui-button{min-height:26px;font-size:var(--font-ui-small);padding:3px 7px}.storyboard-start-frame-reference-dropzone{border:1px dashed var(--line-soft);border-radius:var(--ui-radius);padding:5px}.storyboard-start-frame-reference-dropzone>div{display:grid;grid-template-columns:34px minmax(0,1fr) 24px;align-items:center;gap:7px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);padding:5px}.storyboard-start-frame-reference-thumb{position:relative;display:block;width:34px}.storyboard-start-frame-reference-thumb img{-o-object-fit:contain;object-fit:contain}.storyboard-start-frame-error,.storyboard-start-frame-reference-dropzone>div>span,.storyboard-start-frame-references p,.storyboard-start-frame-warning-copy{margin:0;color:var(--muted);font-size:var(--font-ui-small);line-height:1.35}.storyboard-start-frame-reference-dropzone>div>span{overflow:hidden;color:var(--ink);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-start-frame-reference-dropzone button{display:inline-grid;width:22px;height:22px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:transparent;color:var(--danger)}.storyboard-start-frame-error{color:var(--danger);font-weight:500}.storyboard-start-frame-missing-list{display:grid;gap:6px;margin-top:10px}.storyboard-start-frame-missing-list span{border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);font-size:var(--font-ui-small);font-weight:500;padding:7px 8px}.storyboard-inspector-section h3,.storyboard-linked-assets h3{margin:0;font-size:var(--font-ui-small);font-weight:500}.storyboard-inspector-section input,.storyboard-inspector-section select,.storyboard-inspector-section textarea,.storyboard-shot-row input,.storyboard-shot-row select,.storyboard-shot-row textarea{min-width:0;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);font-size:var(--font-ui-small);line-height:1.35;outline:none;padding:7px 8px}.storyboard-inspector-section input:focus,.storyboard-inspector-section select:focus,.storyboard-inspector-section textarea:focus{border-color:var(--line-ui)}.storyboard-inspector-section textarea{min-height:74px;resize:vertical}.storyboard-context-panel .storyboard-video-generate-button{font-size:var(--font-ui-small);font-weight:500;text-transform:none}.storyboard-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.storyboard-asset-picks{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px}.storyboard-asset-picks button{display:grid;gap:2px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);padding:7px;text-align:left}.storyboard-asset-picks button.linked,.storyboard-asset-picks button:disabled{background:color-mix(in srgb,var(--paper) 70%,transparent);color:var(--muted)}.storyboard-asset-picks span{font-size:var(--font-ui-micro);font-weight:500}.storyboard-asset-picks b{overflow:hidden;font-size:var(--font-ui-small);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.storyboard-linked-assets{display:grid;align-content:start;gap:8px}.storyboard-linked-assets .section-heading-row{margin-bottom:0}.storyboard-linked-asset-list{display:flex;flex-wrap:wrap;gap:6px}.storyboard-linked-asset-list>button,.storyboard-linked-asset-static{display:inline-grid;grid-template-columns:auto minmax(0,1fr);background:transparent}.storyboard-linked-asset-item,.storyboard-linked-asset-list>button,.storyboard-linked-asset-static{align-items:center;gap:6px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);color:var(--ink);font-size:var(--font-ui-small);padding:5px 7px}.storyboard-linked-asset-item{display:grid;grid-template-columns:110px minmax(0,1fr);background:var(--paper)}.storyboard-linked-asset-item-static{grid-template-columns:auto minmax(0,1fr)}.storyboard-linked-asset-item select,.storyboard-linked-asset-item-static small{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-linked-asset-item select{min-width:0;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);padding:3px}.storyboard-linked-asset-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-empty,.storyboard-linked-assets p{margin:0;color:var(--muted);font-size:var(--font-ui-small);line-height:1.4}.storyboard-shot-row{display:grid;grid-template-columns:26px minmax(120px,1fr) minmax(110px,.65fr) 70px minmax(120px,.8fr) auto;gap:7px;align-items:start;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);padding:7px}.storyboard-shot-row input,.storyboard-shot-row select,.storyboard-shot-row textarea{background:transparent}.storyboard-shot-row textarea{min-height:54px;resize:vertical}.storyboard-shot-row label{display:grid;gap:4px}.storyboard-shot-row label span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-shot-row label:nth-of-type(5),.storyboard-shot-row label:nth-of-type(6),.storyboard-shot-row label:nth-of-type(7),.storyboard-shot-row label:nth-of-type(8){grid-column:1/-1}.storyboard-shot-index{display:inline-grid;height:28px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);font-family:var(--mono);font-size:var(--font-ui-small);font-weight:500}.storyboard-shot-actions{display:inline-flex;gap:4px}.storyboard-shot-actions button{display:inline-grid;width:28px;height:28px;place-items:center;background:transparent;color:var(--danger)}.storyboard-delete-sequence,.storyboard-shot-actions button{border:1px solid var(--line-soft);border-radius:var(--ui-radius)}.storyboard-delete-sequence{display:inline-flex;align-items:center;gap:6px;background:var(--paper);color:var(--ink);font-size:var(--font-ui-small);font-weight:500;padding:7px 8px;text-align:left}.storyboard-video-history-rail{position:relative;display:grid;align-content:start;gap:12px;height:100%;min-width:0;overflow-x:hidden;overflow-y:auto;border-left:1px solid var(--line-ui);background:transparent;padding:12px}.storyboard-video-history-rail header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}.storyboard-video-history-rail header>div{min-width:0}.storyboard-video-history-rail header h2,.storyboard-video-history-rail header p{margin:0}.storyboard-video-history-rail header p{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-video-history-rail header h2{font-size:var(--font-ui-small);font-weight:500;line-height:1.15}.storyboard-video-history-header-actions{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;min-width:0}.storyboard-video-history-header-actions span{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-video-history-collapsed button,.storyboard-video-history-header-actions button{display:inline-grid;width:28px;height:28px;place-items:center;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink)}.storyboard-video-history-collapsed{display:grid;align-content:start;justify-items:center;gap:8px;height:100%;min-width:0;overflow:hidden;border-left:1px solid var(--line-ui);background:var(--panel);padding:12px 7px}.storyboard-video-history-collapsed span{writing-mode:vertical-rl;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500;letter-spacing:0}.storyboard-video-history-list{display:grid;min-width:0;gap:8px}.storyboard-video-history-card{display:grid;align-content:start;justify-items:center;min-width:0;max-width:100%;gap:7px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);overflow:hidden;padding:8px}.storyboard-video-history-card.draggable-output{cursor:grab}.storyboard-video-history-card.draggable-output:active{cursor:grabbing}.storyboard-video-history-card>div{justify-self:stretch;min-width:0;max-width:100%}.storyboard-video-history-card.review-approved{border-color:var(--review-approved-border);background:color-mix(in srgb,var(--review-approved-border) 7%,var(--paper))}.storyboard-video-history-card.review-pending{border-color:var(--review-pending-border)}.storyboard-video-history-card.review-rejected{border-color:var(--review-rejected-border)}.storyboard-video-history-media{position:relative;display:grid}.storyboard-video-history-placeholder{position:relative;display:grid;min-height:110px;place-items:center;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-video-review-status-trigger{display:inline-grid;width:28px;height:28px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink)}.storyboard-video-review-status-dot{display:inline-block;flex:0 0 auto;width:13px;height:13px;border:1.5px solid var(--line-ui);border-radius:999px;background:transparent}.storyboard-video-review-status-dot.approved{border-color:var(--review-approved-border);background:var(--review-approved)}.storyboard-video-review-status-dot.pending{border-color:var(--review-pending-border);background:var(--review-pending)}.storyboard-video-review-status-dot.rejected{border-color:var(--review-rejected-border);background:var(--review-rejected)}.storyboard-video-review-status-dot.none{border-color:var(--line-ui);background:var(--paper)}.storyboard-video-review-status-menu{display:grid;width:172px;gap:3px;padding:6px}.storyboard-video-review-status-menu>p{margin:2px 5px 4px;color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-video-review-status-menu>button{display:grid;grid-template-columns:16px minmax(0,1fr) 14px;align-items:center;gap:6px;border:0;border-radius:var(--ui-radius);background:transparent;color:var(--ink);cursor:pointer;font:inherit;padding:7px 6px;text-align:left}.storyboard-video-review-status-menu>button.active,.storyboard-video-review-status-menu>button:hover{background:var(--highlight-on-panel)}.storyboard-video-history-thumb{position:relative;display:block;justify-self:center;width:100%;max-width:min(100%,232px);min-height:132px;max-height:232px;-o-object-fit:contain;object-fit:contain;overflow:hidden;border-radius:var(--ui-radius)}.storyboard-video-history-thumb>.workspace-video-poster-button,.storyboard-video-history-thumb>video{width:100%;height:100%}.storyboard-video-history-thumb.portrait{width:min(100%,260px);height:292px;min-height:168px;max-height:292px}.storyboard-video-history-meta{display:grid;gap:4px}.storyboard-video-history-meta b,.storyboard-video-history-meta p,.storyboard-video-history-meta small,.storyboard-video-history-meta span{overflow:hidden;margin:0;text-overflow:ellipsis}.storyboard-video-history-meta b{color:var(--ink);font-size:var(--font-ui-small);font-weight:500;white-space:nowrap}.storyboard-video-history-meta span{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500;line-height:1.2;white-space:nowrap}.storyboard-video-history-card .storyboard-video-history-elapsed,.storyboard-video-history-card .storyboard-video-history-timestamp{font-weight:400;text-transform:none}.storyboard-video-history-card .storyboard-video-status{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);color:var(--ink);font-size:var(--font-ui-micro);font-weight:500;line-height:1;padding:3px 5px}.storyboard-video-status.processing,.storyboard-video-status.queued{color:var(--focus)}.storyboard-video-status.canceled,.storyboard-video-status.failed{color:var(--danger)}.storyboard-video-history-meta p{display:-webkit-box;color:var(--muted);font-size:var(--font-ui-small);line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.storyboard-video-history-prompt{color:var(--ink)!important;font-weight:400}.storyboard-video-history-parameter-pills,.storyboard-video-history-timing{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:4px 8px}.storyboard-video-history-card .storyboard-video-history-model{color:var(--ink);font-weight:500;text-transform:none}.storyboard-video-history-parameter-pills>button,.storyboard-video-history-parameter-pills>span{display:inline-flex;min-height:21px;align-items:center;border:1px solid var(--line-soft);border-radius:999px;background:var(--paper);color:var(--ink);font:inherit;font-size:var(--font-ui-micro);font-weight:500;line-height:1;padding:3px 11px;text-transform:none;white-space:nowrap}.storyboard-video-history-parameter-pills>button:focus-visible,.storyboard-video-history-parameter-pills>button:hover{border-color:var(--focus);outline:0}.storyboard-video-history-parameter-popover{width:250px;padding:10px}.storyboard-video-history-parameter-popover dl{display:grid;gap:6px;margin:0}.storyboard-video-history-parameter-popover dl>div{display:grid;grid-template-columns:minmax(90px,1fr) auto;gap:10px}.storyboard-video-history-parameter-popover dd,.storyboard-video-history-parameter-popover dt{margin:0;font-size:var(--font-ui-small)}.storyboard-video-history-parameter-popover dt{color:var(--muted)}.storyboard-video-history-meta small{display:-webkit-box;color:var(--danger);font-size:var(--font-ui-micro);font-weight:500;line-height:1.35;overflow-wrap:anywhere;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:4}.storyboard-video-shot-evidence{min-width:0;margin-block:3px;padding-block:7px;border-block:1px solid var(--line-soft)}.storyboard-video-shot-evidence-content,.storyboard-video-shot-evidence-summary{display:grid;min-width:0;gap:5px}.storyboard-video-shot-evidence-facts,.storyboard-video-shot-evidence-pills,.storyboard-video-shot-evidence-title{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:5px 7px}.storyboard-video-shot-evidence-title{color:var(--ink)}.storyboard-video-shot-evidence-shot strong,.storyboard-video-shot-evidence-title strong{color:var(--ink);font-size:var(--font-ui-small);font-weight:500}.storyboard-video-history-card .storyboard-video-shot-evidence p,.storyboard-video-history-card .storyboard-video-shot-evidence span{overflow:visible;text-overflow:clip;text-transform:none;white-space:normal}.storyboard-video-shot-evidence-facts>span,.storyboard-video-shot-evidence-pills>button,.storyboard-video-shot-evidence-pills>span{display:inline-flex;align-items:center;border:1px solid var(--line-soft);border-radius:999px;background:var(--panel);color:var(--ink);font-size:var(--font-ui-micro);font-weight:500;line-height:1.2;padding:3px 6px}.storyboard-video-shot-evidence-pills>button,.storyboard-video-shot-evidence-shot>header>button{cursor:pointer;font-family:inherit}.storyboard-video-shot-evidence-pills>button:focus-visible,.storyboard-video-shot-evidence-pills>button:hover{border-color:var(--line-ui-strong);background:var(--highlight-on-paper)}.storyboard-video-shot-evidence-shot>header>button{color:var(--ink);font-size:var(--font-ui-small);font-weight:500;text-align:left}.storyboard-video-shot-evidence-shot>header>button:focus-visible,.storyboard-video-shot-evidence-shot>header>button:hover{text-decoration:underline}.storyboard-video-history-card .storyboard-video-shot-evidence-duration{font-weight:400}.storyboard-video-shot-evidence-trigger{display:inline-flex;width:-moz-max-content;width:max-content;max-width:100%;align-items:center;gap:4px;border:0;border-radius:var(--ui-radius);background:transparent;color:var(--ink);cursor:pointer;font:inherit;font-size:var(--font-ui-micro);font-weight:500;padding:3px 4px}.storyboard-video-shot-evidence-trigger:hover{background:var(--highlight-on-panel)}.storyboard-video-shot-evidence-trigger svg{flex:0 0 auto;transition:transform .14s ease}.storyboard-video-shot-evidence-trigger svg.open{transform:rotate(180deg)}.storyboard-video-shot-evidence-content{padding-top:8px}.storyboard-video-shot-evidence-shot{display:grid;min-width:0;gap:6px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);padding:9px}.storyboard-video-shot-tabs+.storyboard-video-shot-evidence-shot{margin-top:7px;border:0;background:transparent;padding:0}.storyboard-video-shot-evidence-shot>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.storyboard-video-shot-evidence-copy,.storyboard-video-shot-evidence-generation{display:grid;min-width:0;gap:2px}.storyboard-video-history-card .storyboard-video-shot-evidence-copy p{display:block;color:var(--ink);font-size:var(--font-ui-small);line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap;-webkit-line-clamp:unset}.storyboard-video-shot-evidence-generation dl{display:grid;min-width:0;gap:3px;margin:0}.storyboard-video-shot-evidence-generation dl>div{display:grid;grid-template-columns:minmax(72px,.45fr) minmax(0,1fr);gap:7px}.storyboard-video-shot-evidence-generation dd,.storyboard-video-shot-evidence-generation dt{min-width:0;margin:0;color:var(--muted);font-size:var(--font-ui-micro);line-height:1.35;overflow-wrap:anywhere}.storyboard-video-shot-evidence-generation dt{font-weight:500}.storyboard-video-history-actions{display:flex;width:100%;min-width:0;flex-wrap:wrap;gap:5px}.storyboard-video-history-actions>button:not(.artifact-review-comments-button),.storyboard-video-history-drag-handle{display:inline-grid;flex:0 0 auto;width:28px;height:28px;place-items:center;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink)}.storyboard-video-history-drag-handle{cursor:inherit}.storyboard-video-history-actions>button:disabled{cursor:not-allowed;opacity:.45}.storyboard-history-detail,.storyboard-history-main{min-width:0;min-height:0}.storyboard-history-main{display:grid;align-content:start;gap:0;overflow:auto;background:var(--panel);padding:16px}.production-detail-summary-controls+.storyboard-history-context-heading{margin-top:14px}.storyboard-history-context-heading{display:flex;align-items:baseline;gap:8px}.storyboard-history-context-heading h1{margin:0;font-size:var(--font-ui-base);font-weight:500}.storyboard-history-context-heading+.storyboard-history-sequence-toolbar{margin-top:6px}.storyboard-history-context-heading span{color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-history-sequence-toolbar{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:10px}.storyboard-history-sequence-toolbar+.storyboard-empty,.storyboard-history-sequence-toolbar+.storyboard-video-history-wide{margin-top:20px}.storyboard-video-history-filter-trigger{position:relative;display:inline-grid;width:30px;height:30px;flex:0 0 auto;place-items:center;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink)}.storyboard-video-history-filter-trigger.active,.storyboard-video-history-filter-trigger:focus-visible,.storyboard-video-history-filter-trigger:hover{border-color:var(--line-ui-strong);background:var(--highlight-on-panel);outline:0}.storyboard-video-history-filter-trigger>.storyboard-video-review-status-dot{position:absolute;right:2px;bottom:2px;width:7px;height:7px;border-width:1px}.storyboard-video-history-filter-menu{min-width:180px}.storyboard-video-history-filter-option{display:flex;min-width:120px;align-items:center;justify-content:space-between;gap:10px}.storyboard-video-history-filter-all{display:inline-block;width:13px;height:13px;border:1.5px solid var(--line-ui);border-radius:3px}.storyboard-video-history-wide{display:grid;min-width:0;align-content:start;gap:0;border:0;border-radius:0;background:transparent;padding:0}.storyboard-video-history-wide>header{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:10px}.storyboard-video-history-wide>header h2,.storyboard-video-history-wide>header p{margin:0}.storyboard-video-history-wide>header p{color:var(--muted);font-size:var(--font-ui-micro);font-weight:500}.storyboard-video-history-wide>header h2{font-size:var(--font-ui-base);font-weight:500}.storyboard-video-history-wide .storyboard-video-history-tabs{width:min(680px,100%);grid-auto-columns:max-content}.storyboard-video-history-card.route-selected{animation:storyboard-video-route-highlight 1.4s ease-out}@keyframes storyboard-video-route-highlight{0%,35%{box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 55%,transparent)}to{box-shadow:0 0 0 0 transparent}}.storyboard-video-history-wide .storyboard-video-history-card{grid-template-columns:auto minmax(0,1fr) 34px;align-items:stretch;justify-items:stretch;gap:16px;min-height:270px;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:transparent;padding:10px}.storyboard-video-history-wide .storyboard-video-history-card.review-approved,.storyboard-video-history-wide .storyboard-video-history-card.review-pending,.storyboard-video-history-wide .storyboard-video-history-card.review-rejected{border:1px solid var(--line-soft);background:transparent}.storyboard-video-history-wide .storyboard-video-history-media{display:flex;min-height:0;align-items:flex-start;justify-content:flex-start}.storyboard-video-history-wide .storyboard-video-history-natural-frame,.storyboard-video-history-wide .storyboard-video-history-placeholder{width:min(42vw,calc(250px * var(--storyboard-video-history-aspect, 1.7778)));max-width:100%;aspect-ratio:var(--storyboard-video-history-aspect,1.7778)}.storyboard-video-history-wide .storyboard-video-history-placeholder{width:min(42vw,444px);min-height:250px}.storyboard-video-history-wide .storyboard-video-history-thumb,.storyboard-video-history-wide .storyboard-video-history-thumb.portrait{width:100%;height:100%;min-height:0;max-width:none;max-height:none;background:transparent}.storyboard-video-history-wide .storyboard-video-history-thumb img,.storyboard-video-history-wide .storyboard-video-history-thumb video{-o-object-fit:contain;object-fit:contain}.storyboard-video-history-wide .storyboard-video-history-meta{display:flex;flex-direction:column;align-content:unset;justify-content:flex-start;gap:7px;padding:4px 0 0}.storyboard-video-history-wide .storyboard-video-history-prompt{display:-webkit-box;font-size:var(--font-ui-small);line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:3}@media (max-width:900px){.storyboard-video-history-wide .storyboard-video-history-card{grid-template-columns:minmax(150px,42%) minmax(0,1fr)}}.storyboard-delete-sequence{justify-content:center;color:var(--danger)}.storyboard-context-panel pre{max-height:460px;overflow:auto;margin:0;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--paper);font-size:var(--font-ui-small);padding:8px;white-space:pre-wrap}.storyboard-episode-video-history-card,.storyboard-episode-video-history-card video,.storyboard-generation-set-preview,.storyboard-scope-image-thumb,.storyboard-sequence-preview-thumb,.storyboard-shot-reference-thumb,.storyboard-start-frame-preview,.storyboard-start-frame-reference-thumb,.storyboard-start-frame-thumb,.storyboard-timeline-video,.storyboard-video-history-placeholder,.storyboard-video-history-thumb{border-radius:0}@media (max-width:1180px){.storyboard-shell{grid-template-columns:minmax(0,1fr)}.storyboard-context-panel,.storyboard-rail-collapsed.right{display:none}}@media (max-width:640px){.storyboard-shell:not(.timeline-only){height:auto;min-height:calc(100vh - var(--workspace-header-height) - var(--workspace-admin-banner-height, 0px));grid-template-columns:minmax(0,1fr);overflow:visible}.storyboard-rail{max-height:300px}.storyboard-rail,.storyboard-rail-collapsed.left{border-right:0;border-bottom:1px solid var(--line-ui)}.storyboard-board-toolbar,.storyboard-scene-group>header{display:grid}.storyboard-timeline-row{padding-bottom:12px}}.storyboard-scope-image-card .storyboard-scope-audio-thumb{position:relative;display:grid;width:100%;min-height:82px;max-width:none;aspect-ratio:13/3;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;overflow:hidden;border:0;border-bottom:1px solid var(--line-soft);border-radius:var(--ui-radius) var(--ui-radius) 0 0;background:var(--panel);color:var(--ink);padding:10px 10px 20px;white-space:normal}.storyboard-scope-audio-play{display:grid;width:32px;height:32px;place-items:center;border:1px solid var(--line-ui);border-radius:999px;background:var(--paper);color:var(--ink);cursor:pointer;padding:0}.storyboard-scope-audio-play:focus-visible,.storyboard-scope-audio-play:hover{background:var(--highlight-on-paper);outline:0}.storyboard-scope-image-card .storyboard-scope-audio-waveform{display:flex;min-width:0;max-width:none;height:42px;align-items:center;gap:2px;overflow:hidden;color:var(--muted);padding:0;white-space:normal}.storyboard-scope-audio-waveform i{display:block;min-width:2px;max-width:5px;min-height:3px;flex:1 1 3px;background:currentColor}.storyboard-scope-audio-waveform i.played{color:var(--ink)}.storyboard-scope-image-card .storyboard-scope-audio-time{max-width:none;overflow:visible;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums;font-weight:500;padding:0;text-overflow:clip;white-space:nowrap}.storyboard-scope-audio-scrubber{position:absolute;right:10px;bottom:5px;left:52px;width:calc(100% - 114px);height:10px;opacity:.72;accent-color:var(--ink);cursor:pointer}.storyboard-scope-audio-thumb audio{display:none}.storyboard-scope-image-lightbox-stage audio,.storyboard-scope-image-lightbox-stage video{min-width:min(520px,75vw)}.storyboard-scope-image-lightbox-stage video{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.production-project-overview-header{align-items:center}.production-overview-layout{display:grid;gap:10px}.production-overview-layout.layout-grid{grid-template-columns:minmax(0,1fr)}.production-overview-grid{display:grid;gap:36px}.production-overview-layout.layout-grid>.storyboard-empty{grid-column:1/-1}.production-overview-layout.layout-grid>.storyboard-overview-add-scene,.storyboard-project-board-overview .production-overview-layout.layout-grid>.storyboard-overview-add-scene{width:100%;min-width:0;height:100%;min-height:116px}.production-overview-layout.layout-grid>.storyboard-overview-add-scene:focus-visible,.production-overview-layout.layout-grid>.storyboard-overview-add-scene:hover,.storyboard-project-board-overview .production-overview-layout.layout-grid>.storyboard-overview-add-scene:focus-visible,.storyboard-project-board-overview .production-overview-layout.layout-grid>.storyboard-overview-add-scene:hover{width:100%}.production-grid-sequences{display:grid;gap:4px;border-top:1px solid var(--line-ui);padding:7px}.production-grid-scene-row{display:grid;min-width:0;gap:9px}.production-grid-scene-heading{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px;padding:0}.production-grid-scene-heading>button:first-child{display:inline-flex;min-width:0;gap:4px;align-items:baseline;border:0;background:transparent;color:var(--ink);padding:0;text-align:left}.production-grid-scene-heading>button:first-child span{color:var(--ink);font-size:var(--font-ui-base);font-weight:500}.production-grid-scene-heading>button:first-child strong{overflow:hidden;font-size:var(--font-ui-base);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.production-grid-scene-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.production-grid-scene-actions .storyboard-overview-scene-order-controls{position:static}.production-grid-sequence-row{display:flex;flex-wrap:wrap;gap:28px 30px;align-items:stretch;border:0;border-radius:var(--ui-radius);padding:0}.production-grid-sequence-item{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;width:min(380px,100%);flex:0 1 380px;gap:6px}.production-grid-sequence-title{width:-moz-max-content;width:max-content;max-width:100%;overflow:hidden;border:0;background:transparent;color:var(--ink);font-size:var(--font-ui-small);font-weight:500;line-height:1.2;padding:0;text-align:left;text-overflow:ellipsis;white-space:nowrap}.production-grid-sequence-title:focus-visible,.production-grid-sequence-title:hover{color:var(--focus);outline:0;text-decoration:underline;text-underline-offset:2px}.production-grid-sequence,.production-sequence-card{position:relative;display:grid;align-content:start;min-width:0;overflow:hidden;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--panel)}.production-grid-sequence-item>.production-sequence-card,.production-sequence-card>.production-video-status-empty,.production-sequence-card>.production-video-status-list{box-sizing:border-box;width:100%}.production-grid-sequence-item>.production-sequence-card{height:100%}.production-sequence-card.with-preview{padding:18px;background:var(--paper);gap:12px}.production-take-carousel>.production-sequence-preview{position:relative;z-index:2;display:grid;width:100%;min-height:136px;overflow:hidden;place-items:center;justify-content:center;border-bottom:1px solid var(--line-ui);border-radius:0;background:color-mix(in srgb,var(--paper) 88%,var(--ink));color:var(--muted);padding:0;text-align:center;pointer-events:none}.production-take-carousel>.production-sequence-preview .workspace-video-preview{pointer-events:auto}.production-take-carousel>.production-sequence-preview>span{display:grid;width:100%;min-height:136px;place-items:center;gap:6px;font-size:var(--font-ui-small);text-align:center}.production-take-carousel>.production-sequence-preview>.production-sequence-preview-poster{display:grid;width:100%;height:136px;place-items:center;background:transparent;margin-inline:auto}.production-take-carousel>.production-sequence-preview>.production-sequence-preview-poster img,.production-take-carousel>.production-sequence-preview>.production-sequence-preview-poster video{display:block;width:100%;height:136px;margin-inline:auto;-o-object-fit:contain;object-fit:contain;-o-object-position:center center;object-position:center center}.production-sequence-card>.production-sequence-card-metadata{position:relative;z-index:2;border-bottom:0;pointer-events:none}.production-grid-sequence>button,.production-sequence-card>.production-sequence-card-metadata,.production-sequence-card>button{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:7px;color:var(--ink);padding:7px 8px;text-align:left}.production-grid-sequence>button,.production-sequence-card>button{border:0;background:transparent}.production-grid-sequence:focus-within,.production-grid-sequence:hover,.production-sequence-card:focus-within,.production-sequence-card:hover{border-color:var(--line-ui-strong);background:var(--highlight-on-panel);outline:0}.production-grid-sequence>button span,.production-sequence-card-metadata>span,.production-sequence-card>button>span{display:inline-flex;min-width:0;align-items:center;gap:5px}.production-grid-sequence>button b,.production-sequence-card-metadata>span,.production-sequence-card>button>span{min-width:0;overflow:hidden;font-size:var(--font-ui-small);font-style:normal;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.production-grid-sequence>button em,.production-sequence-card-metadata>em,.production-sequence-card>button em{flex:0 0 auto;color:var(--muted);font-size:var(--font-ui-micro);font-style:normal}.production-scene-status-control{display:inline-flex;box-sizing:border-box;width:-moz-max-content;width:max-content;height:28px;min-height:28px;max-height:28px;align-self:start;align-items:center;justify-self:start;gap:5px;border:1px solid var(--line-ui);border-radius:999px;background:var(--paper);color:var(--muted);padding:3px 8px;font-size:var(--font-ui-micro);font-weight:500;line-height:1;white-space:nowrap}.production-scene-status-control svg{opacity:.4}.production-scene-status-control:focus-visible,.production-scene-status-control:hover{border-color:var(--focus);color:var(--ink);outline:2px solid color-mix(in srgb,var(--focus) 18%,transparent);outline-offset:1px}.production-scene-status-control.status-complete{border-color:var(--line-ui-strong);background:var(--ink);color:var(--paper)}.production-scene-status-control.status-complete svg{opacity:1}.production-grid-scene-status{margin:0 10px 9px}.production-detail-status-select{flex:0 0 auto;align-self:center;margin-left:auto}.production-video-status-list{position:relative;z-index:2;display:grid;align-content:start;grid-auto-rows:max-content;gap:3px;margin:0;border-top:1px solid var(--line-ui);padding:4px 7px 5px;list-style:none;pointer-events:none}.production-video-status-list button{pointer-events:auto}.production-video-status-list li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-width:0;color:var(--muted);font-size:var(--font-ui-micro)}.production-video-status-copy{display:grid;min-width:0;gap:1px}.production-video-status-copy>strong{font-weight:500}.production-video-status-copy>small,.production-video-status-copy>strong{overflow:hidden;color:var(--ink);font-size:var(--font-ui-micro);text-overflow:ellipsis;white-space:nowrap}.production-video-status-copy>small{font-weight:400;line-height:1.15}.production-video-status-copy em,.production-video-status-list i{display:inline-flex;align-items:center;gap:3px;font-style:normal;white-space:nowrap}.production-video-status-list em.run-canceled,.production-video-status-list em.run-failed,.production-video-status-list i.review-rejected{color:var(--danger)}.production-video-status-list em.run-processing,.production-video-status-list em.run-queued,.production-video-status-list i.review-pending{color:color-mix(in srgb,var(--warning) 75%,var(--ink))}.production-video-status-list i>.storyboard-video-review-status-dot{width:7px;height:7px}.production-video-status-empty{min-height:38px;border-top:1px solid var(--line-ui)}.production-status-badge{width:-moz-max-content;width:max-content;border:1px solid var(--line-ui);border-radius:999px;background:var(--panel);color:var(--muted);padding:2px 6px;font-size:var(--font-ui-micro);font-weight:500}.production-status-badge.status-complete{border-color:var(--line-ui-strong);background:var(--ink);color:var(--paper)}.production-kanban{display:grid;gap:10px}.production-kanban-hint{margin:0;color:var(--muted);font-size:var(--font-ui-small)}.production-kanban-columns{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:28px;min-width:0;overflow:hidden}.production-video-kanban .production-kanban-columns{overflow-x:auto}.production-kanban-column{position:relative;min-width:0;min-height:220px;background:transparent}.production-kanban-column:not(:first-child){border-left:1px solid var(--line-soft);padding-left:14px;margin-left:-14px}.production-kanban-column.is-drag-target>div{background:var(--select-fill)}.production-kanban-column>header{display:flex;align-items:center;justify-content:space-between;color:var(--muted);padding:0 2px 12px;font-size:var(--font-ui-small);font-weight:500}.production-kanban-column>header em{font-style:normal}.production-kanban-column>div{display:grid;align-content:start;gap:8px;min-height:160px;padding:8px;background:var(--panel);border-radius:var(--ui-radius)}.production-kanban-video-card{width:60%;display:grid;min-width:0;overflow:hidden;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper)}.production-kanban-video-card[draggable=true]{cursor:grab}.production-kanban-video-card[draggable=true]:active{cursor:grabbing}.production-kanban-video-open{display:grid;min-width:0;border:0;background:transparent;color:var(--ink);padding:0;text-align:left}.production-kanban-video-preview{display:grid;overflow:hidden;place-items:center;border-bottom:1px solid var(--line-ui);background:color-mix(in srgb,var(--paper) 88%,var(--ink));color:var(--muted)}.production-kanban-video-preview .workspace-video-preview,.production-kanban-video-preview img,.production-kanban-video-preview video{width:100%;-o-object-fit:cover;object-fit:cover}.production-kanban-video-copy{display:grid;min-width:0;gap:3px;padding:8px}.production-kanban-video-copy small,.production-kanban-video-copy span,.production-kanban-video-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-kanban-video-copy em,.production-kanban-video-copy small{color:var(--muted);font-size:var(--font-ui-micro);font-style:normal}.production-kanban-video-copy strong,.production-kanban-video-copy>span{font-size:var(--font-ui-small)}.production-kanban-video-parameters{display:flex;flex-wrap:wrap;gap:4px;white-space:normal}.production-kanban-video-parameters>span{max-width:100%;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);color:var(--muted);padding:2px 4px;font-size:var(--font-ui-micro);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.production-video-review-status-trigger{width:16px;height:16px;border:0;background:transparent;padding:0}.production-video-review-status-trigger:focus-visible,.production-video-review-status-trigger:hover{background:transparent}.production-kanban-empty{margin:0;color:var(--muted);font-size:var(--font-ui-small)}.production-detail-summary-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.production-detail-summary-controls .storyboard-detail-back{margin:0}@media (max-width:760px){.production-detail-summary-controls,.production-project-overview-header,.storyboard-board-overview-header{display:grid}.production-view-switcher button{justify-content:center}.production-kanban-columns{overflow-x:auto}}.storyboard-video-review-status-menu [data-walkthrough-highlighted=true],.storyboard-video-review-status-trigger[data-walkthrough-highlighted=true]{box-shadow:inset 0 0 0 3px var(--focus),0 0 0 3px color-mix(in srgb,var(--focus) 28%,transparent)}.storyboard-timeline-scene-card[data-walkthrough-highlighted=true]{box-shadow:inset 0 0 0 3px var(--focus),0 0 0 4px color-mix(in srgb,var(--focus) 28%,transparent),0 0 18px 3px color-mix(in srgb,var(--focus) 30%,transparent)}.production-view-switcher{width:-moz-fit-content;width:fit-content;max-width:100%;grid-auto-columns:max-content;overflow-x:auto}.storyboard-video-history-tabs>button{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:var(--font-ui-micro);padding:6px 7px}.storyboard-video-shot-tabs>button{min-height:30px;padding:5px 11px}.storyboard-history-video-set-tabs>button{min-height:30px;padding:6px 10px}.production-video-status-open{width:100%;border:0;border-radius:0;padding:3px 0;background:transparent;text-align:left;cursor:pointer}.production-video-status-open:hover,button.production-video-status-empty:hover{background:var(--highlight-on-panel)}.production-video-status-open:focus-visible,button.production-video-status-empty:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}button.production-video-status-empty{border:0;border-top:1px solid var(--line-ui);border-radius:0;background:transparent;color:var(--ink);padding:8px;font-size:var(--font-ui-small);text-align:left;cursor:pointer}.storyboard-video-history-output-header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;min-width:0;padding-bottom:10px;border-bottom:1px solid var(--line-soft)}.storyboard-video-history-output-header .production-review-status-control{min-width:0;flex-wrap:wrap}.production-video-review-status-trigger.is-labeled{display:inline-flex;align-items:center;gap:6px;width:auto;padding:0 9px;font:400 var(--font-ui-small)/1.4 var(--sans);white-space:nowrap}.production-video-review-status-trigger.is-labeled .storyboard-video-review-status-dot{width:9px;height:9px}.storyboard-video-history-output-header>.storyboard-video-history-actions{width:auto;margin-left:auto;align-items:center;justify-content:flex-end;gap:6px}.storyboard-video-history-actions>button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.storyboard-video-history-content{display:grid;align-content:start;gap:12px;min-width:0}.storyboard-video-history-card.with-comment-rail,.storyboard-video-history-wide .storyboard-video-history-card.with-comment-rail{grid-template-columns:minmax(0,1fr) 300px;align-items:start;justify-items:stretch}.storyboard-video-history-card>.artifact-review-comments{width:100%;height:460px;max-height:calc(100dvh - 160px)}.storyboard-video-history-wide .storyboard-video-history-card{grid-template-columns:minmax(0,1fr)}.storyboard-video-history-wide .storyboard-video-history-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.storyboard-video-history-card.with-comment-rail .storyboard-video-history-content{grid-template-columns:minmax(0,1fr)}@media (max-width:900px){.storyboard-video-history-card.with-comment-rail,.storyboard-video-history-wide .storyboard-video-history-card.with-comment-rail,.storyboard-video-history-wide .storyboard-video-history-content{grid-template-columns:minmax(0,1fr)}.storyboard-video-history-card>.artifact-review-comments{height:360px;max-height:60dvh;border-left:0;border-top:1px solid var(--line-sheet)}}.storyboard-history-main{background:var(--paper);padding:0 20px 28px}.production-take-media-column{min-width:0}.storyboard-video-history-wide .production-take-detail.with-comment-rail,.storyboard-video-history-wide .storyboard-video-history-card.production-take-detail{display:grid;grid-template-columns:minmax(0,1fr) 0;align-items:stretch;gap:0;border:0;border-radius:0;padding:0;animation:none}.storyboard-video-history-wide .production-take-detail[data-rail-open]{grid-template-columns:minmax(0,1fr) 300px}.storyboard-video-history-wide .production-take-detail[hidden]{display:none}.production-take-main{container-type:inline-size;flex:1 1 480px;min-width:0;padding:0 24px 40px}.production-take-filmstrip{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin-top:18px;padding:3px 3px 4px}.production-take-filmstrip::-webkit-scrollbar{display:none}.production-take-filmstrip>button{position:relative;flex:0 0 64px;width:64px;border:0;background:transparent;padding:0;text-align:left;color:var(--muted)}.production-take-thumbnail{display:grid;place-items:center;width:64px;height:36px;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--ui-radius);background:var(--panel);font-size:var(--font-ui-micro)}.production-take-filmstrip>button[aria-pressed=true] .production-take-thumbnail{border-color:var(--ink);background:var(--select-fill)}.production-take-poster{width:100%;height:100%;pointer-events:none}.production-take-poster img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.production-take-caption{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:var(--font-ui-micro)}.production-take-caption .storyboard-video-review-status-dot{width:7px;height:7px}.production-take-main>.storyboard-video-history-output-header{min-height:52px;margin:0 -24px;padding:8px 24px;border-bottom:1px solid var(--line-ui);justify-content:flex-end;flex-wrap:wrap}.production-take-main>.storyboard-video-history-output-header>.workspace-card-identity{margin-right:auto;flex:1 1 320px}.production-take-main h1{margin:0 auto 0 0;font-size:var(--font-ui-title);font-weight:500}.production-take-main .artifact-review-comments-button{border:1px solid var(--line-ui);border-radius:var(--ui-radius);padding:6px 12px}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-content{display:flex;flex-wrap:wrap;gap:24px;margin-top:20px}.production-take-detail .production-take-media-column{flex:1 1 480px}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-meta{flex:0 1 260px;max-width:none;min-width:0;padding:0 0 0 24px;border-left:1px solid var(--line-ui);gap:0}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-natural-frame,.storyboard-video-history-wide .production-take-detail .storyboard-video-history-placeholder{width:100%;min-height:0}.production-take-media-column>.storyboard-video-history-actions{display:flex;justify-content:flex-end;flex-direction:row;width:auto;gap:6px;margin-top:10px}.production-take-media-column>.storyboard-video-history-actions>button{width:30px;height:30px;border:1px solid var(--line-ui);border-radius:var(--ui-radius)}.production-take-context,.production-take-section+.production-take-section{border-top:1px solid var(--line-soft);padding-top:18px;margin-top:22px}.production-take-section h2{display:flex;justify-content:space-between;margin:0 0 6px;color:var(--muted);font-size:var(--font-ui-small);font-weight:500}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-prompt{display:block;overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.55;-webkit-line-clamp:unset}.production-take-references{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.production-take-references>div{width:72px;height:72px;overflow:hidden;border-radius:var(--ui-radius);background:var(--panel)}.production-take-references img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.production-take-section dl{display:grid;gap:10px;margin:10px 0;font-size:var(--font-ui-small)}.production-take-section dl>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px}.production-take-section dt{color:var(--muted)}.production-take-section dd{margin:0;overflow-wrap:anywhere}.production-take-context summary{cursor:pointer;color:var(--muted);font-size:var(--font-ui-small)}.production-take-detail>.artifact-review-comments{grid-column:2;grid-row:1;width:100%;min-width:0;overflow:hidden;height:min(800px,calc(100dvh - 160px));max-height:none;border:0}.production-take-detail>.artifact-review-comments>.artifact-review-comments-body{width:300px}.production-take-context summary:focus-visible,.production-take-filmstrip>button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}@media (max-width:760px){.production-take-main{padding:20px 20px 40px;flex-basis:100%}.storyboard-video-history-wide .production-take-detail,.storyboard-video-history-wide .production-take-detail.with-comment-rail,.storyboard-video-history-wide .production-take-detail[data-rail-open]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 0}.storyboard-video-history-wide .production-take-detail[data-rail-open]{grid-template-rows:auto 360px}.production-take-detail>.artifact-review-comments{grid-column:1;grid-row:2;height:100%;max-height:none;border:0}.production-take-detail>.artifact-review-comments>.artifact-review-comments-body{width:100%;height:360px}.production-take-detail>.artifact-review-comments>[data-rail-edge]{top:0;bottom:auto;width:100%;height:1px;transform-origin:left center}}.production-take-detail .production-video-review-status-trigger.is-labeled{height:30px;border:1px solid var(--line-ui);border-radius:var(--ui-radius);padding:0 12px}.production-review-caret{display:block;flex:0 0 12px;align-self:center}.production-take-detail .storyboard-video-history-placeholder,.production-take-detail .storyboard-video-history-thumb{background:var(--panel);border-radius:var(--ui-radius)}.production-take-detail .storyboard-video-history-meta{white-space:normal}.production-sequence-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:var(--font-ui-small)}.production-sequence-card-heading button{border:0;background:transparent;color:var(--ink);text-align:left;font-weight:500;padding:0}.production-sequence-card-heading>span{color:var(--muted);white-space:nowrap}.production-take-carousel{position:relative;min-width:0}.production-take-carousel>.production-sequence-preview{aspect-ratio:16/9;grid-template-columns:minmax(0,1fr);justify-content:stretch;min-height:0;border:0;border-radius:var(--ui-radius);background:var(--panel)}.production-take-carousel>.production-sequence-preview>.production-sequence-preview-poster,.production-take-carousel>.production-sequence-preview>.production-sequence-preview-poster img,.production-take-carousel>.production-sequence-preview>.production-sequence-preview-poster video{width:100%;height:100%;min-height:0}.production-media-chip{position:absolute;z-index:3;background:var(--media-overlay);color:var(--script-paper);padding:2px 6px;border-radius:var(--ui-radius);font-size:var(--font-ui-micro);line-height:1.4;pointer-events:none}.production-media-duration{bottom:8px;left:8px}.production-media-counter{top:8px;right:8px}.production-take-carousel>button{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:26px;height:26px;display:grid;place-items:center;border:1px solid var(--line-ui);border-radius:var(--radius-pill);background:var(--paper);color:var(--ink)}.production-take-previous{left:8px}.production-take-next{right:8px}.production-grid-filmstrip{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;min-width:0;padding:3px}.production-grid-filmstrip::-webkit-scrollbar{display:none}.production-grid-filmstrip.is-empty{min-height:calc(33px * var(--project-media-scale, 1) + 6px)}.production-grid-filmstrip>button{position:relative;display:grid;place-items:center;flex:0 0 58px;height:33px;padding:0;overflow:hidden;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--panel);color:var(--ink)}.production-grid-filmstrip img,.production-grid-filmstrip>button>.workspace-video-poster{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.production-grid-filmstrip .storyboard-video-review-status-dot{position:absolute;bottom:2px;right:2px;width:7px;height:7px}.production-grid-filmstrip>button[aria-pressed=true]{border-color:var(--ink);outline:1px solid var(--ink);outline-offset:-2px}.production-take-filmstrip>button[aria-pressed=true] .production-take-thumbnail{outline:1px solid var(--ink);outline-offset:-2px}.production-take-caption{font-size:0;margin:0}.production-take-caption .storyboard-video-review-status-dot{position:absolute;bottom:3px;right:3px}.production-grid-filmstrip>button:focus-visible,.production-sequence-card-heading button:focus-visible,.production-take-carousel>button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.production-kanban-video-preview{position:relative;background:var(--panel)}.production-kanban-video-preview .workspace-video-preview,.production-kanban-video-preview img,.production-kanban-video-preview video{height:100%}.production-sequence-card>.production-video-status-list{border-top:1px solid var(--line-soft)}@container (max-width: 790px){.storyboard-video-history-wide .production-take-detail .storyboard-video-history-meta{flex-basis:100%;border-left:0;border-top:1px solid var(--line-ui);padding:20px 0 0}}.production-take-detail .storyboard-video-history-media{position:relative}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-media{justify-content:center}.production-kanban-video-preview:has(.workspace-video-preview.active)>.production-media-duration,.production-take-carousel:has(.workspace-video-preview.active)>.production-media-duration,.production-take-detail .storyboard-video-history-media:has(.workspace-video-preview.active)>.production-media-duration{display:none}.production-kanban-video-preview .workspace-video-poster-placeholder,.production-take-carousel .workspace-video-poster-placeholder{width:100%;height:100%;background:var(--panel)}.production-kanban-video-preview .workspace-video-preview{background:var(--panel)}.production-grid-filmstrip .storyboard-video-review-status-dot{z-index:2}.production-kanban-column>header>span{display:inline-flex;align-items:center;gap:6px;color:var(--ink)}.production-kanban-column>header .storyboard-video-review-status-dot{width:8px;height:8px;border-width:1px}.production-kanban-video-copy{padding:8px 10px}.production-kanban-video-copy>span{font-size:var(--font-ui-micro);color:var(--muted)}.production-kanban-video-preview .workspace-video-poster-play{width:24px;height:24px;background:transparent;border:0;color:var(--muted)}.production-kanban-video-preview .workspace-video-poster-play svg{fill:none}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-natural-frame{position:relative;flex:none;width:min(100%,calc(min(65dvh, 640px) * var(--storyboard-video-history-aspect, 1.7778)));aspect-ratio:var(--storyboard-video-history-aspect,1.7778);overflow:hidden;border-radius:var(--ui-radius)}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-natural-frame>.workspace-video-preview{position:absolute;inset:0;width:100%;height:100%}.production-take-detail .storyboard-video-history-natural-frame .workspace-video-poster-button>img,.production-take-detail .storyboard-video-history-natural-frame .workspace-video-poster-placeholder{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.production-take-detail .storyboard-video-history-natural-frame .workspace-video-poster-placeholder{display:grid}.production-take-detail .storyboard-video-history-natural-frame:has(.workspace-video-preview.active)>.production-media-duration{display:none}.production-preview-open{position:relative;display:grid;place-items:center;width:100%;height:100%;border:0;padding:0;background:var(--panel);color:var(--muted);pointer-events:auto}.production-preview-open>.workspace-video-poster{position:absolute;inset:0;width:100%;height:100%}.production-kanban-video-open .workspace-video-poster,.production-preview-open .workspace-video-poster{pointer-events:none}.production-overview-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;color:var(--muted);pointer-events:none}.production-kanban-video-open:focus-visible,.production-preview-open:focus-visible{outline:2px solid var(--focus);outline-offset:-3px}.production-take-detail .storyboard-video-history-meta>.production-take-identity{margin:0 0 16px;font:400 var(--font-ui-small)/1.4 var(--sans);color:var(--ink)}.production-breadcrumb-label{overflow-wrap:anywhere}.surface-aware-timeline .surface-timeline-expanded-throughline{display:none}.surface-aware-timeline .surface-timeline-scene:has(.has-bracket){row-gap:3px}.surface-timeline-scene:has(.has-bracket)>.surface-timeline-scene-label{justify-self:stretch;border-bottom:1px solid var(--line-ui-strong);border-radius:0;background:transparent;color:var(--muted);padding-bottom:3px}.surface-timeline-scene:has(.has-bracket):is(:hover,:focus-within,.active,:has(.history-open),:has(.has-bracket.selected))>.surface-timeline-scene-label{color:var(--ink);border-bottom-color:var(--ink)}.surface-timeline-scene:has(.has-bracket):is(:hover,:focus-within,.active,:has(.history-open),:has(.has-bracket.selected))>.surface-timeline-scene-label :is(span,strong){font-weight:700}.surface-aware-timeline .surface-timeline-sequence.has-bracket{display:flex;flex-direction:column;align-items:stretch;border:0;background:transparent;margin:-2px -4px 0;padding:3px 4px 0;gap:4px}.surface-timeline-scene:has(.has-bracket)>.surface-timeline-scene-content{gap:0}.surface-timeline-scene:has(.has-bracket)>.surface-timeline-scene-content>.surface-timeline-unassigned-drop:not(:first-child)+*{margin-left:10px}.surface-timeline-sequence-shots{display:flex;align-items:flex-start;gap:5px}.surface-timeline-sequence-bracket{display:flex;align-items:center;gap:6px;height:12px;color:var(--muted);font-size:var(--font-ui-micro);line-height:1;white-space:nowrap}.surface-timeline-bracket-arm{flex:1;min-width:6px;height:6px;transform:translateY(-3px);border-bottom:1px solid var(--line-ui-strong)}.surface-timeline-sequence.has-bracket:is(:hover,:focus-within,.selected,.history-open) .surface-timeline-sequence-bracket{color:var(--ink);font-weight:700}.surface-timeline-sequence.has-bracket:is(:hover,:focus-within,.selected,.history-open) .surface-timeline-bracket-arm{border-color:var(--ink)}.surface-timeline-sequence.has-bracket:is(:hover,:focus-within,.selected,.history-open) .surface-timeline-bracket-arm.left{border-left:1px solid var(--ink)}.surface-timeline-sequence.has-bracket:is(:hover,:focus-within,.selected,.history-open) .surface-timeline-bracket-arm.right{border-right:1px solid var(--ink)}.surface-aware-timeline .surface-timeline-sequence.has-bracket:is(:hover,:focus-within){background:var(--highlight-group)}.surface-timeline-sequence.has-bracket:focus-visible{outline:1px solid var(--ink);outline-offset:2px}.surface-timeline-shot-card footer{justify-content:space-between;padding:0 4px;color:var(--muted);font-weight:400}.surface-timeline-shot-card.selected footer{color:var(--ink)}.surface-timeline-shot-card:hover{border-color:var(--ink)}.surface-timeline-sequence.has-bracket.is-remote-drop-target{outline:1px solid var(--line-sheet)}.storyboard-video-set-history-popover>button.selected{background:var(--select-fill)}.storyboard-video-set-history-popover--sequence{transform:translateX(-50%);display:flex;flex-direction:column;border:1px solid var(--ink);border-top:0;border-radius:8px;background:var(--float-fill);box-shadow:var(--shadow-pill),inset 0 2px 0 var(--ink)}.storyboard-video-set-history-popover--sequence.storyboard-video-set-history-popover--start{transform:none}.storyboard-video-set-history-popover--sequence>button{display:flex;align-items:center;gap:6px;padding:3px 5px;border-radius:5px}.storyboard-video-set-history-popover--sequence>button.selected{background:var(--panel)}.storyboard-video-set-history-popover--sequence .storyboard-video-set-history-thumb{border-radius:3px}.storyboard-video-set-history-popover--sequence .storyboard-video-set-history-thumb>.storyboard-video-review-status-dot{top:3px;right:3px;bottom:auto;left:auto;width:6px;height:6px;box-shadow:none}.storyboard-video-set-history-popover--sequence .storyboard-video-set-history-thumb>.storyboard-video-review-status-dot.approved,.storyboard-video-set-history-popover--sequence .storyboard-video-set-history-thumb>.storyboard-video-review-status-dot.none,.storyboard-video-set-history-popover--sequence .storyboard-video-set-history-thumb>.storyboard-video-review-status-dot.pending,.storyboard-video-set-history-popover--sequence .storyboard-video-set-history-thumb>.storyboard-video-review-status-dot.rejected{border-color:var(--paper)}.storyboard-video-set-history-popover--sequence .storyboard-video-set-history-label{font-size:11px}.storyboard-timeline-shell.surface-aware-timeline{--timeline-motion-duration:500ms;--timeline-motion-ease:var(--view-transition-ease);--timeline-collapse-ease:cubic-bezier(1,0,0.8,1);--timeline-stagger-max:0ms;--timeline-fold-lead:0ms;transition:height var(--timeline-motion-duration) var(--timeline-motion-ease),min-height var(--timeline-motion-duration) var(--timeline-motion-ease)}.storyboard-timeline-shell.surface-aware-timeline.collapsed{height:36px;min-height:36px;overflow:hidden;transition:height var(--timeline-motion-duration) var(--timeline-collapse-ease) calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .2),min-height var(--timeline-motion-duration) var(--timeline-collapse-ease) calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .2)}.surface-aware-timeline .storyboard-timeline-collapsed-preview,.surface-aware-timeline:not(.collapsed) .storyboard-board-scroll{animation:none}.surface-aware-timeline .surface-timeline-scene{--scene-stagger:0ms}.surface-aware-timeline section.surface-timeline-scene:nth-of-type(2){--scene-stagger:60ms}.surface-aware-timeline section.surface-timeline-scene:nth-of-type(3){--scene-stagger:120ms}.surface-aware-timeline section.surface-timeline-scene:nth-of-type(4){--scene-stagger:180ms}.surface-aware-timeline section.surface-timeline-scene:nth-of-type(5){--scene-stagger:240ms}.surface-aware-timeline section.surface-timeline-scene:nth-of-type(n+6){--scene-stagger:300ms}.surface-aware-timeline:has(.surface-timeline-strip>section.surface-timeline-scene:nth-of-type(n+2)){--timeline-stagger-max:60ms}.surface-aware-timeline:has(.surface-timeline-strip>section.surface-timeline-scene:nth-of-type(n+3)){--timeline-stagger-max:120ms}.surface-aware-timeline:has(.surface-timeline-strip>section.surface-timeline-scene:nth-of-type(n+4)){--timeline-stagger-max:180ms}.surface-aware-timeline:has(.surface-timeline-strip>section.surface-timeline-scene:nth-of-type(n+5)){--timeline-stagger-max:240ms}.surface-aware-timeline:has(.surface-timeline-strip>section.surface-timeline-scene:nth-of-type(n+6)){--timeline-stagger-max:300ms}.surface-aware-timeline .surface-timeline-scene{--scene-reverse-stagger:calc(var(--timeline-stagger-max) - var(--scene-stagger))}.surface-aware-timeline .surface-timeline-scene-content{transform-origin:top left;transition:transform var(--timeline-motion-duration) var(--timeline-motion-ease) calc(var(--scene-stagger) + 60ms),opacity calc(var(--timeline-motion-duration) * .55) var(--timeline-motion-ease) calc(var(--scene-stagger) + 60ms),visibility 0s linear 0s}.surface-aware-timeline.collapsed .surface-timeline-scene-content{opacity:0;transform:translateY(-12px) scaleY(.7);visibility:hidden;pointer-events:none;transition:transform var(--timeline-motion-duration) var(--timeline-collapse-ease) calc(var(--timeline-fold-lead) + var(--scene-reverse-stagger) + var(--timeline-motion-duration) * .08),opacity calc(var(--timeline-motion-duration) * .55) var(--timeline-collapse-ease) calc(var(--timeline-fold-lead) + var(--scene-reverse-stagger) + var(--timeline-motion-duration) * .53),visibility 0s linear calc(var(--timeline-fold-lead) + var(--scene-reverse-stagger) + var(--timeline-motion-duration) * 1.08)}.surface-aware-timeline .surface-timeline-sequence-bracket{transform-origin:center;transition:transform calc(var(--timeline-motion-duration) * .8) var(--timeline-motion-ease) calc(var(--scene-stagger) + var(--timeline-motion-duration) * .4),opacity calc(var(--timeline-motion-duration) * .4) var(--timeline-motion-ease) calc(var(--scene-stagger) + var(--timeline-motion-duration) * .4)}.surface-aware-timeline.collapsed .surface-timeline-sequence-bracket{opacity:0;transform:scaleX(.6);transition:transform calc(var(--timeline-motion-duration) * .8) var(--timeline-collapse-ease) calc(var(--timeline-fold-lead) + var(--scene-reverse-stagger)),opacity calc(var(--timeline-motion-duration) * .4) var(--timeline-collapse-ease) calc(var(--timeline-fold-lead) + var(--scene-reverse-stagger) + var(--timeline-motion-duration) * .4)}.surface-aware-timeline .surface-timeline-scene:has(.has-bracket)>.surface-timeline-scene-label{box-sizing:border-box;height:18px;padding-top:0;padding-bottom:0}.surface-aware-timeline .surface-timeline-expanded-throughline{display:block;top:23px;transform:scaleX(0);transform-origin:left center;background:var(--ink);transition:transform calc(var(--timeline-motion-duration) * .4) var(--timeline-collapse-ease) calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .7)}.surface-aware-timeline.collapsed .surface-timeline-expanded-throughline{transform:scaleX(1);transition:transform calc(var(--timeline-motion-duration) * .4) var(--timeline-motion-ease)}.surface-aware-timeline .surface-timeline-scene-label{transition:width allow-discrete 1ms linear}.surface-aware-timeline.collapsed .surface-timeline-scene-label{border-bottom-color:var(--ink);transition-delay:calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .7)}.surface-aware-timeline .storyboard-timeline-strip-controls{transition:bottom var(--timeline-motion-duration) var(--timeline-motion-ease),right var(--timeline-motion-duration) var(--timeline-motion-ease),gap calc(var(--timeline-motion-duration) * .6) var(--timeline-motion-ease)}.surface-aware-timeline.collapsed .storyboard-timeline-strip-controls{gap:0;transition-timing-function:var(--timeline-collapse-ease);transition-delay:calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .2),calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .2),calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .6)}.surface-aware-timeline .surface-timeline-creation-toggle{overflow:hidden;transition:height calc(var(--timeline-motion-duration) * .6) var(--timeline-motion-ease),opacity calc(var(--timeline-motion-duration) * .4) var(--timeline-motion-ease),border-color calc(var(--timeline-motion-duration) * .3) var(--timeline-motion-ease)}.surface-aware-timeline.collapsed .surface-timeline-creation-toggle{height:0;opacity:0;border-color:transparent;pointer-events:none;transition-timing-function:var(--timeline-collapse-ease);transition-delay:calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .6),calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .8),calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .9)}.surface-aware-timeline .storyboard-timeline-toggle-button{transition:width calc(var(--timeline-motion-duration) * .5) var(--timeline-motion-ease),min-width calc(var(--timeline-motion-duration) * .5) var(--timeline-motion-ease),height calc(var(--timeline-motion-duration) * .5) var(--timeline-motion-ease),background-color .14s ease,color .14s ease}.surface-aware-timeline .storyboard-timeline-toggle-button svg{transition:transform var(--timeline-motion-duration) var(--timeline-motion-ease)}.surface-aware-timeline.collapsed .storyboard-timeline-toggle-button svg{transform:rotate(180deg);transition-timing-function:var(--timeline-collapse-ease);transition-delay:calc(var(--timeline-fold-lead) + var(--timeline-stagger-max) + var(--timeline-motion-duration) * .2)}@media (prefers-reduced-motion:reduce){.surface-aware-timeline,.surface-aware-timeline .storyboard-timeline-strip-controls,.surface-aware-timeline .storyboard-timeline-toggle-button,.surface-aware-timeline .storyboard-timeline-toggle-button svg,.surface-aware-timeline .surface-timeline-creation-toggle,.surface-aware-timeline .surface-timeline-expanded-throughline,.surface-aware-timeline .surface-timeline-scene-content,.surface-aware-timeline .surface-timeline-scene-label,.surface-aware-timeline .surface-timeline-sequence-bracket{transition-duration:1ms!important;transition-delay:0ms!important;animation-duration:1ms!important;animation-delay:0ms!important}}.surface-aware-timeline .storyboard-timeline-add-scene{display:inline-flex;align-items:center;align-self:flex-start;gap:4px;width:auto;min-width:0;height:18px;padding:0 4px;border:0;color:var(--muted);font:500 var(--font-ui-small)/1.15 var(--sans);white-space:nowrap;overflow:visible;transition:opacity .24s var(--view-transition-ease),transform .24s var(--view-transition-ease);transition-delay:.8s}.surface-aware-timeline .storyboard-timeline-add-scene span{opacity:1;width:auto;padding:0;color:inherit;font:inherit}.surface-aware-timeline .storyboard-timeline-add-scene:is(:hover,:focus-visible){color:var(--ink);font-weight:500}.surface-aware-timeline .storyboard-timeline-add-scene:focus-visible{outline:1px solid var(--focus);outline-offset:1px}.surface-aware-timeline .storyboard-timeline-add-scene[data-creation-hidden]{opacity:0;transform:translateX(-8px);pointer-events:none;transition-duration:.12s;transition-delay:0ms}.surface-timeline-sequence-layout{display:flex;flex-direction:column;gap:4px}.surface-timeline-shot-slot{position:relative;--shot-entry-delay:0ms;--shot-exit-delay:0ms}.surface-aware-timeline .surface-timeline-shot-card{position:relative;height:var(--surface-timeline-shot-height);min-height:0;max-height:none;grid-template-rows:0 minmax(0,1fr) 14px;transition:height .32s cubic-bezier(.2,.8,.2,1) var(--shot-exit-delay),grid-template-rows .32s cubic-bezier(.2,.8,.2,1) var(--shot-exit-delay),border-color .2s}.surface-aware-timeline.is-creating .surface-timeline-shot-card{height:calc(var(--surface-timeline-shot-height) + 14px);grid-template-rows:14px minmax(0,1fr) 14px;transition-delay:var(--shot-entry-delay),var(--shot-entry-delay),0ms}.timeline-shot-drag-handle{display:grid;place-items:center;min-height:0;overflow:hidden;color:var(--muted);border-bottom:1px solid transparent;cursor:grab;opacity:0;transition:opacity .2s var(--shot-exit-delay),border-color .2s var(--shot-exit-delay)}.timeline-shot-drag-handle:hover{background:var(--highlight-on-paper)}.timeline-shot-drag-handle>span{display:grid;grid-template-columns:repeat(4,2.5px);grid-template-rows:repeat(2,2.5px);gap:3px;transform:translateY(-6px);transition:transform .32s cubic-bezier(.2,.8,.2,1) var(--shot-exit-delay)}.timeline-shot-drag-handle i{border-radius:2px;background:currentColor}.is-creating .timeline-shot-drag-handle{opacity:1;border-bottom-color:var(--line-soft);transition-delay:var(--shot-entry-delay)}.is-creating .timeline-shot-drag-handle>span{transform:translateY(0);transition-delay:var(--shot-entry-delay)}.surface-aware-timeline:not(.collapsed) .surface-timeline-sequence-bracket{position:relative;height:12px}.surface-aware-timeline .surface-timeline-scene{padding-right:38px}.surface-aware-timeline .surface-timeline-scene+.surface-timeline-scene{margin-left:0;padding-left:0}.surface-timeline-scene:has(.has-bracket)>.surface-timeline-scene-content>.surface-timeline-unassigned-drop:not(:first-child)+*{margin-left:14px;transition:margin-left .32s cubic-bezier(.2,.8,.2,1)}.surface-aware-timeline.is-creating .surface-timeline-scene{padding-right:36px}.is-creating .surface-timeline-scene:has(.has-bracket)>.surface-timeline-scene-content>.surface-timeline-unassigned-drop:not(:first-child)+*{margin-left:10px}.surface-aware-timeline .edit-insertion-button.is-compact.is-shot{height:var(--surface-timeline-shot-height);--edit-add-width:var(--surface-timeline-shot-width);margin-left:-5px}.surface-aware-timeline.is-creating .edit-insertion-button.is-compact.is-shot{height:calc(var(--surface-timeline-shot-height) + 14px);margin-left:0}.surface-aware-timeline .edit-insertion-button.is-compact.is-sequence{--edit-add-width:150px;height:var(--surface-timeline-shot-height);margin-top:0}.surface-aware-timeline.is-creating .edit-insertion-button.is-compact.is-sequence{margin-top:14px}.surface-aware-timeline:not(.is-creating) .surface-timeline-scene-content>.edit-insertion-button.is-sequence{margin-left:0}.surface-aware-timeline.is-creating .surface-timeline-sequence-shots{gap:5px}.surface-aware-timeline{--timeline-sequence-gutter:14px}.surface-aware-timeline.is-creating{--timeline-sequence-gutter:10px}.surface-aware-timeline:is(.is-shot-dragging,.has-remote-shot-drag) .surface-timeline-scene:has(.has-bracket)>.surface-timeline-scene-content>.surface-timeline-unassigned-drop:not(:first-child):not(:last-child){margin-left:4px;flex-basis:calc(var(--timeline-sequence-gutter) - 4px);width:calc(var(--timeline-sequence-gutter) - 4px);min-width:calc(var(--timeline-sequence-gutter) - 4px);margin-right:calc(-1 * var(--timeline-sequence-gutter));transition:none}.surface-aware-timeline .storyboard-timeline-toggle-button,.surface-aware-timeline .surface-timeline-creation-toggle{--icon-button-size:24px;min-width:24px;min-height:24px;width:24px;height:24px}.surface-aware-timeline .surface-timeline-creation-toggle{display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);transition:background .16s,color .16s,border-color .16s}.surface-aware-timeline .surface-timeline-creation-toggle.active{border-color:var(--ink);background:var(--ink);color:var(--paper)}.storyboard-timeline-shell.surface-aware-timeline.is-creating:not(.collapsed){height:calc(var(--storyboard-timeline-height, 108px) + 16px)}:is(.is-shot-dragging,.has-remote-shot-drag,.surface-aware-timeline.collapsed) :is(.edit-insertion-button,.timeline-shot-drag-handle){visibility:hidden;pointer-events:none}.surface-aware-timeline.is-shot-dragging:not(.collapsed) .surface-timeline-shot-card.is-local-dragging .timeline-shot-drag-handle{visibility:visible;pointer-events:auto;cursor:grabbing}.surface-aware-timeline.collapsed .storyboard-timeline-add-scene{visibility:hidden;pointer-events:none}.surface-aware-timeline .storyboard-timeline-add-scene{justify-content:center;flex:0 0 150px;width:150px;height:var(--surface-timeline-shot-height);margin-top:21px;padding:0;border:1px dashed var(--line-ui-strong);border-radius:4px;background:transparent;color:var(--ink);font:400 var(--font-ui-small)/1 var(--sans);transition:margin-top .32s cubic-bezier(.2,.8,.2,1)}.surface-aware-timeline.is-creating .storyboard-timeline-add-scene{margin-top:35px}.surface-aware-timeline .storyboard-timeline-add-scene:hover{background:var(--highlight-on-paper);border-color:var(--ink);font-weight:400}@media (prefers-reduced-motion:reduce){.surface-aware-timeline,.surface-aware-timeline *{animation-duration:1ms!important;animation-delay:0ms!important;transition-duration:1ms!important;transition-delay:0ms!important}}.storyboard-history-main.is-empty{align-content:stretch;grid-template-rows:minmax(0,1fr)}.production-sequence-empty-layout{display:grid;grid-template-areas:"heading" "empty";grid-template-rows:60px minmax(min-content,1fr);min-width:0;min-height:100%}.production-sequence-empty{grid-area:empty;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:48px 24px;text-align:center}.production-sequence-empty>svg{color:var(--muted);margin-bottom:4px;flex-shrink:0}.production-sequence-empty h2{margin:0;color:var(--ink);font-size:var(--font-ui-title);font-weight:500}.production-sequence-empty p{max-width:360px;margin:0;color:var(--muted);font-size:var(--font-ui-small);line-height:1.6}.production-sequence-empty>button{margin-top:8px;max-width:100%;height:auto;min-height:36px;white-space:normal}.surface-aware-timeline .surface-timeline-creation-toggle:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.storyboard-video-set-history-thumb{height:calc(40px * var(--project-media-scale, 1));width:calc(40px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778));flex:0 0 calc(40px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778))}.production-grid-sequence-item{width:min(calc(192.375px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778) + 38px),100%);flex-basis:calc(192.375px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778) + 38px)}.production-take-carousel>.production-sequence-preview{aspect-ratio:var(--project-media-aspect,1.777777778)}.production-kanban-video-preview{width:100%;height:auto;aspect-ratio:var(--project-media-aspect,16/9)}.production-grid-filmstrip>button{height:calc(33px * var(--project-media-scale, 1));flex-basis:calc(33px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778))}.production-take-thumbnail{height:calc(36px * var(--project-media-scale, 1));width:calc(36px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778))}.production-grid-filmstrip img,.production-kanban-video-preview img,.production-take-carousel img,.production-take-thumbnail img,.storyboard-video-set-history-thumb img,.surface-timeline-card-media img,.surface-timeline-card-media video{-o-object-fit:contain;object-fit:contain}.surface-timeline-shot-card .surface-timeline-card-media{aspect-ratio:var(--project-media-aspect,1.777777778)}.storyboard-video-history-wide .storyboard-video-history-placeholder{width:min(42vw,calc(250px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778)));min-height:0;aspect-ratio:var(--project-media-aspect,1.777777778)}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-placeholder{width:min(100%,calc(min(65dvh, 640px) * var(--project-media-aspect, 1.777777778)))}.production-kanban-video-preview .workspace-video-poster-placeholder,.production-sequence-card .workspace-video-poster-placeholder,.production-take-thumbnail .workspace-video-poster-placeholder{display:grid;place-items:center}.production-take-prompt-toggle{color:var(--muted);font-size:var(--font-ui-small);text-decoration:underline;text-underline-offset:3px}.production-take-prompt-toggle:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.production-sequence-card.workspace-media-card{grid-template-columns:minmax(0,1fr);padding:0;gap:0;cursor:pointer}.production-grid-card-meta{display:flex;align-items:center;justify-content:space-between;min-height:24px;margin:6px 10px 0;gap:8px;color:var(--ink);font-size:var(--font-ui-micro)}.production-grid-card-meta .workspace-card-more{background:transparent;color:var(--ink)}.guest-project-surface .production-sequence-card.workspace-media-card .production-grid-card-meta>button{width:24px;height:24px;min-width:24px;padding:0}.production-grid-card-meta .workspace-card-more svg{stroke-width:2.5}.production-sequence-card-heading>button:first-child,.production-sequence-card.workspace-media-card .production-sequence-card-heading>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-grid-takes{margin-top:6px;border-top:1px solid var(--line-soft)}.production-sequence-card.workspace-media-card .production-sequence-card-heading{min-height:36px;padding:8px 10px;margin:0}.production-sequence-card.workspace-media-card .production-sequence-card-heading>button,.production-sequence-card.workspace-media-card .production-sequence-card-heading>span:first-child{font:400 var(--font-ui-small)/1.5 var(--sans);color:var(--card-identity-ink)}.production-sequence-card.workspace-media-card .production-take-carousel{margin:0 10px;border:1px solid var(--line-ui);border-radius:calc(var(--ui-radius) - 1px);overflow:hidden}.production-sequence-card.workspace-media-card .production-take-carousel>.production-sequence-preview{border-radius:0}.production-sequence-card.workspace-media-card .production-video-review-status-trigger{margin-right:-5px;width:20px;height:20px;padding:0;border:0;border-radius:var(--radius-pill)}.production-sequence-card.workspace-media-card .production-video-review-status-trigger .storyboard-video-review-status-dot{width:18px;height:18px;border:1px solid var(--status-ring)}.production-sequence-card.workspace-media-card .production-grid-filmstrip{height:34px;min-height:34px;margin:auto 10px 10px;padding-top:8px}.production-sequence-card.workspace-media-card .production-grid-filmstrip .storyboard-video-review-status-dot{border-color:var(--status-ring)}.storyboard-video-history-wide .production-take-detail{overflow:hidden}.production-take-detail .production-take-main{padding:0 20px 20px}.production-take-main>.storyboard-video-history-output-header{margin:0 -20px;padding:12px 20px;border-bottom-color:var(--line-soft);gap:10px}.production-take-main .workspace-card-identity h1{color:var(--card-identity-ink);font:400 var(--font-ui-title)/1.3 var(--sans)}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-content{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-meta{padding:0;border-left:0}.production-take-detail .workspace-card-meta-row{margin-top:12px}.production-take-detail .workspace-card-meta-row>.storyboard-video-history-actions{display:flex;flex-direction:row;flex:0 0 auto;margin-left:auto;gap:6px}.production-take-detail .workspace-card-meta-row .storyboard-video-history-actions>button{width:28px;height:28px;border:1px solid var(--line-ui);border-radius:var(--ui-radius)}.production-take-detail .production-take-filmstrip{margin-top:12px;padding:12px 0 3px;border-top:1px solid var(--line-soft);scrollbar-width:thin}.production-take-detail .production-take-filmstrip>button{flex-basis:calc(72px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778));width:calc(72px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778));aspect-ratio:var(--project-media-aspect,1.777777778);border:1px solid var(--line-ui);border-radius:calc(var(--ui-radius) - 2px);overflow:hidden}.production-take-detail .production-take-filmstrip>button[aria-pressed=true]{border-color:var(--line-sheet)}.production-take-detail .production-take-thumbnail{width:100%;height:100%;border:0;border-radius:0}.production-take-detail .production-take-filmstrip>button>.storyboard-video-review-status-dot{position:absolute;top:5px;right:5px;width:9px;height:9px;border:1px solid var(--status-ring)}.production-take-detail .production-take-caption{position:absolute;bottom:4px;left:4px;padding:1px 4px;background:var(--media-overlay);color:var(--media-overlay-ink);border-radius:calc(var(--ui-radius) - 2px);font-size:var(--font-ui-micro)}.production-take-detail .production-take-section{margin-top:12px;padding-top:12px;border-top:1px solid var(--line-soft)}.production-take-detail .production-take-section:first-child{margin-top:0;padding-top:0;border-top:0}.production-take-detail .production-take-section h2{font-weight:400}.production-take-detail .production-take-references{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.production-take-detail .production-take-references>div{width:100%;aspect-ratio:1}.production-take-detail .storyboard-video-history-output-header .storyboard-video-review-status-dot{border-color:var(--status-ring)}.production-take-detail .production-video-review-status-trigger.is-labeled,.production-take-main .artifact-review-comments-button{height:28px;padding:0 10px}@media (max-width:1100px){.storyboard-video-history-wide .production-take-detail .storyboard-video-history-content{grid-template-columns:minmax(0,1fr) 280px}}@media (max-width:860px){.storyboard-video-history-wide .production-take-detail .storyboard-video-history-content{grid-template-columns:minmax(0,1fr)}.production-take-detail .production-take-main{padding:0 12px 12px}.production-take-main>.storyboard-video-history-output-header{margin:0 -12px;padding:12px}}.production-take-detail .workspace-card-meta-row>.storyboard-video-history-actions{width:auto}.production-take-detail .workspace-card-meta-row>span:first-child{flex:1 1 auto}.storyboard-video-history-wide .production-take-detail .storyboard-video-history-natural-frame{width:min(100%,calc(min(65dvh, 640px) * var(--project-media-aspect, 1.777777778)));aspect-ratio:var(--project-media-aspect,1.777777778);border:1px solid var(--line-ui);background:var(--panel)}.production-take-detail .storyboard-video-history-natural-frame .workspace-video-poster-play{width:44px;height:44px}.production-take-detail .production-take-section dl>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid var(--line-soft)}.production-take-detail .production-take-section dd{text-align:right}@media (max-width:500px){.production-take-detail .workspace-card-meta-row{flex-wrap:wrap}.production-take-detail .workspace-card-meta-row>span:first-child{flex-basis:100%}}.production-grid-sequence-item{width:min(calc(147.375px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778) + 22px),100%);flex:0 1 calc(147.375px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778) + 22px)}.production-sequence-card.workspace-media-card .production-grid-filmstrip{height:calc(45px * var(--project-media-scale, 1) + 6px);min-height:calc(45px * var(--project-media-scale, 1) + 6px);margin-top:12px;padding:3px;gap:8px}.production-sequence-card.workspace-media-card .production-grid-filmstrip>button{flex:0 0 calc(45px * var(--project-media-scale, 1) * var(--project-media-aspect, 1.777777778));height:calc(45px * var(--project-media-scale, 1));border-radius:calc(var(--ui-radius) - 2px)}.production-sequence-card.workspace-media-card .production-grid-filmstrip .storyboard-video-review-status-dot{top:4px;bottom:auto;right:4px;width:9.6px;height:9.6px}.production-sequence-card.workspace-media-card .production-media-duration{bottom:6px;right:6px;left:auto}.production-sequence-card.workspace-media-card .production-sequence-card-heading>.storyboard-video-review-status-dot{width:18px;height:18px;margin-right:-5px;border:1px solid var(--status-ring)}.production-take-media-column>.production-take-section{border-bottom:1px solid var(--line-soft);padding-bottom:12px}.production-grid-filmstrip-shell{position:relative;min-width:0;flex-shrink:0;margin:12px 10px 10px}.production-sequence-card.workspace-media-card .production-grid-filmstrip-shell .production-grid-filmstrip{margin:0}.production-grid-scroll{position:absolute;z-index:3;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:24px;height:28px;padding:0;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--paper);color:var(--ink);opacity:0;pointer-events:none}.production-grid-scroll[hidden]{display:none}.production-grid-scroll.is-left{left:0}.production-grid-scroll.is-right{right:0}.production-grid-filmstrip-shell:focus-within .production-grid-scroll,.production-grid-filmstrip-shell:hover .production-grid-scroll{opacity:1;pointer-events:auto}.production-grid-scroll:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}@media (hover:none){.production-grid-filmstrip-shell .production-grid-scroll{opacity:1;pointer-events:auto}}.storyboard-video-history-wide .production-take-detail .media-detail-media>.storyboard-video-history-natural-frame{width:100%;height:100%;border:0;border-radius:inherit;overflow:hidden}.storyboard-video-history-wide .production-take-detail .media-detail-media>.storyboard-video-history-placeholder{width:100%;height:100%;aspect-ratio:inherit}.media-detail-sheet .media-detail-actions-row>.storyboard-video-history-actions{display:flex;flex-direction:row;flex-wrap:wrap;width:auto;gap:6px;margin:0}.media-detail-sheet .media-detail-actions-row .storyboard-video-history-actions>button{width:28px;height:28px;padding:0;border:1px solid var(--line-ui);border-radius:var(--ui-radius);background:var(--bg)}.media-detail-sheet .production-video-review-status-trigger.is-labeled{height:28px;padding:0 10px}.media-detail-inputs>span{color:var(--muted)}.media-detail-sheet .production-take-filmstrip{margin:0;padding:12px 2px 3px}.media-detail-sheet .production-take-filmstrip>button{flex:0 0 auto;height:72px;width:calc(72px * var(--project-media-aspect, 1.777777778))}[data-project-aspect-ratio="9:16"] .media-detail-sheet .production-take-filmstrip>button{height:96px;width:54px}.media-detail-sheet .production-take-thumbnail{height:100%}.media-detail-sheet .production-take-caption{line-height:1.3;border-radius:calc(var(--ui-radius) - 3px)}.media-detail-sheet .production-take-section{margin:0;padding:12px 0 0;border-top:1px solid var(--line-soft)}.media-detail-sheet .production-take-section h2{color:var(--ink)}.media-detail-sheet .media-detail-prompt h2{font-weight:600}.media-detail-sheet .production-take-section dl{margin:6px 0 0;gap:0}.media-detail-sheet .production-take-references{margin-top:6px}.media-detail-sheet .production-take-references>div{height:auto;border:0;border-radius:0;background:transparent}.media-detail-sheet .production-take-references>div>.workspace-natural-image{width:100%;height:100%;aspect-ratio:1}.media-detail-sheet .production-take-references img{-o-object-fit:contain;object-fit:contain}.media-detail-inputs{margin-top:8px}.media-detail-sheet .workspace-card-text p{font-size:var(--font-ui-small);line-height:1.4}.media-detail-sheet .media-detail-rail>.storyboard-script-context-section{border-width:1px 0 0;border-radius:0;background:transparent}.media-detail-sheet .storyboard-script-context-page{border:0;border-radius:0;padding:0;background:transparent}.media-detail-sheet .storyboard-script-dialogue{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}.media-detail-sheet .storyboard-script-character{text-align:center}.media-detail-sheet .storyboard-script-context-section .section-heading-row{flex-wrap:wrap}.media-detail-sheet .production-media-duration{pointer-events:none;left:auto;right:8px;color:var(--media-overlay-ink)}.storyboard-history-main{background:var(--bg);padding:0}.production-grid-take-label{bottom:3px;left:3px;padding:1px 4px}.storyboard-video-review-status-menu.is-media-detail>button{font:400 12px/1.4 var(--sans)}.production-grid-preview-take{top:6px;left:6px}.timeline-scene-label-action{display:inline-flex;align-items:center;gap:4px;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left}.timeline-scene-label-action:focus-visible{outline:1px solid var(--focus);outline-offset:1px}.timeline-selection-peers{display:inline-flex;align-items:center;gap:3px;position:relative}.timeline-shot-number-with-peers{display:inline-flex;align-items:center;gap:4px}.timeline-selection-peer-icon{display:block;flex:none}.timeline-selection-peer{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:10px;min-height:12px;font-size:9px;border-radius:6px;color:var(--ink)}.timeline-selection-peer:focus-visible{outline:1px solid var(--ink);outline-offset:2px}.surface-timeline-scene-label .timeline-selection-peer,.surface-timeline-scene-label .timeline-selection-peers{overflow:visible}.media-detail-sheet .media-detail-strip .production-take-filmstrip{border-top:0;padding:4px 20px 3px}.media-detail-sheet .media-detail-strip .production-take-filmstrip>button{height:var(--media-detail-thumbnail-height,72px);width:calc(var(--media-detail-thumbnail-height, 72px) * var(--project-media-aspect, 1.777777778))}@container (max-width: 859px){.media-detail-sheet .media-detail-strip .production-take-filmstrip{padding-inline:12px}}@media (prefers-reduced-motion:reduce){.surface-aware-timeline .edit-insertion-button,.surface-aware-timeline .surface-timeline-shot-card,.surface-aware-timeline .timeline-shot-drag-handle,.surface-aware-timeline .timeline-shot-drag-handle>span{transition-duration:0ms!important;transition-delay:0ms!important}}.production-rough-cut-view{min-width:0;overflow:auto}.production-overview-content,.production-rough-cut-view{display:flex;flex-direction:column}.production-overview-content>.storyboard-view-transition{flex:1;height:auto}.production-overview-toolbar{flex:0 0 auto;padding:18px 18px 0}.production-rough-cut{flex:1;min-height:0;width:100%;box-sizing:border-box}.production-rough-cut-preview{cursor:default}.production-rough-cut-preview video{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.production-rough-cut-placeholder{display:flex;width:100%;height:100%;box-sizing:border-box;align-items:center;justify-content:center;gap:6px;padding:12px;background:var(--panel);color:var(--ink);text-align:center;white-space:pre-wrap;overflow:auto;font:400 12px/1.5 var(--sans)}.production-rough-cut-notice{display:flex;align-items:center;gap:12px;padding:12px;font-size:12px}.production-rough-cut .shot-planning-view-controls{flex-wrap:wrap}.production-rough-cut .shot-planning-view-controls>.production-rough-cut-volume{flex:0 0 72px;width:72px}.production-rough-cut .shot-planning-animatic-segment .production-rough-cut-placeholder{padding:2px;font-size:10px;overflow:hidden}.production-rough-cut .shot-planning-animatic-segment .workspace-video-poster{width:100%;height:100%}.production-rough-cut-layout{flex:1;min-height:0}.production-rough-cut .shot-planning-animatic-segment[data-kind=shot] .shot-planning-view-image>*{opacity:.45}