.production-stage-flow.m3-stage{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px 16px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--surface);box-shadow:none}.production-stage-flow.m3-stage>.production-stage-flow-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;min-height:0;gap:8px 16px;padding:0;background:transparent}.m3-stage-context{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;min-width:0}.m3-stage .production-stage-flow-title{position:static;margin:0;padding:0;font-size:18px;font-weight:600;line-height:1.4}.m3-stage .production-stage-flow-status{font-size:11px;font-weight:500;border:0;background:var(--subtle)}.m3-stage .production-stage-flow-status:is(.needs_review,.blocked){color:var(--ink)}.m3-stage .production-stage-flow-status:is(.needs_review,.blocked)>span{background:var(--amber)}.m3-stage-workbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;min-width:0}.m3-stage-summary{flex:1 1 220px;margin:0;font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}.production-stage-flow.m3-stage .production-stage-flow-tools{display:flex;flex-wrap:wrap;min-width:0;gap:6px}.production-stage-flow.m3-stage .production-stage-flow-tools .script-context-toggle span{display:inline}.production-stage-flow.m3-stage .production-stage-action-buttons{position:static;inset:auto;padding:0;width:auto;min-width:0;flex:0 1 auto;pointer-events:auto;background:transparent;box-shadow:none}.production-stage-flow.m3-stage .production-stage-primary-action{min-height:44px!important;min-width:0;max-width:100%;padding:8px 12px;white-space:normal;text-align:start;font-size:12px;font-weight:600;box-shadow:none!important;border-radius:var(--radius-sm)!important}.m3-stage-progress{min-width:0;color:var(--muted);font-size:11px}.m3-stage-progress>summary{cursor:pointer;width:-moz-fit-content;width:fit-content;min-height:28px;padding-block:4px}.m3-stage-progress>summary bdi{-webkit-margin-start:8px;margin-inline-start:8px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.production-stage-flow.m3-stage .production-stage-flow-steps{display:flex;gap:4px;max-width:100%;overflow-x:auto;padding:4px 0;border:0;border-radius:0;background:transparent;scrollbar-width:thin}.production-stage-flow.m3-stage .production-stage-flow-steps button{flex:0 0 auto;display:flex;gap:6px;min-height:36px;padding:6px 10px;font-size:12px}.production-stage-flow.m3-stage .production-stage-flow-steps button b{display:none}.production-stage-flow.m3-stage .production-stage-flow-steps button small{font-size:10px}.production-stage-flow.m3-stage .production-stage-flow-steps button span{overflow:visible;white-space:nowrap}.m3-stage .production-stage-flow-progress{width:160px;margin-block:8px}.production-stage-flow.m3-stage .production-experience-toggle{align-self:flex-start;box-shadow:none;background:var(--surface);border:0;padding:0}.m3-stage .production-experience-toggle button{font-size:12px;font-weight:500;min-height:36px}.production-stage-flow.m3-stage .production-experience-toggle button.active{background:var(--accent-soft);color:var(--accent-strong);box-shadow:none}.production-stage-flow.m3-stage .production-stage-flow-alert{padding:0;border:0;background:transparent}.m3-stage :is(button,summary,a):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.m3-production-brief{padding:16px 20px;border-bottom:1px solid var(--line);min-width:0}.m3-production-brief header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}.m3-production-brief h2{margin:0;font-size:16px;font-weight:600}.m3-production-brief header>span,.m3-production-brief>p{font-size:12px;color:var(--muted)}.m3-production-brief dl{display:grid;grid-template-columns:2fr 1fr 2fr 1fr 1fr;grid-gap:16px;gap:16px;margin-block:16px 8px}.m3-production-brief dl>div{min-width:0}.m3-production-brief dt{font-size:11px;color:var(--muted)}.m3-production-brief dt small{display:block;font-size:10px;margin-top:4px}.m3-production-brief dd{margin:6px 0 0;font-size:13px;overflow-wrap:anywhere}dialog.production-setup-dialog{position:fixed;inset:0;margin:auto;padding:0;color:var(--ink);border:1px solid var(--line);max-height:calc(100dvh - 32px)}dialog.production-setup-dialog::-webkit-backdrop{background:rgb(0 0 0/.48)}dialog.production-setup-dialog::backdrop{background:rgb(0 0 0/.48)}.m3-clip-confirmation{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;padding:20px;border:1px solid var(--line);border-radius:var(--radius-lg);color:var(--ink);background:var(--surface)}.m3-clip-confirmation::-webkit-backdrop{background:rgb(0 0 0/.48)}.m3-clip-confirmation::backdrop{background:rgb(0 0 0/.48)}.m3-clip-confirmation h2{font-size:18px;margin:0 0 12px}.m3-clip-confirmation dl,.m3-clip-confirmation p{font-size:13px;line-height:1.6}.m3-clip-confirmation dl>div{padding-block:8px;border-bottom:1px solid var(--line)}.m3-clip-confirmation dt{color:var(--muted)}.m3-clip-confirmation dd{margin:0}.m3-clip-confirmation footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:16px}.m3-clip-confirmation footer button{min-height:44px;white-space:normal}.m3-clip-confirmation [role=alert]{color:var(--danger)}@media(max-width:620px){.production-stage-flow.m3-stage{padding:10px 12px;gap:6px}.m3-stage .production-stage-flow-title{font-size:17px}.production-stage-flow.m3-stage .production-stage-action-buttons{flex:1 0 100%;justify-content:stretch}.production-stage-flow.m3-stage .production-stage-primary-action{width:100%;justify-content:space-between}.m3-stage-workbar{gap:6px}.production-stage-flow.m3-stage .production-stage-flow-tools{justify-content:flex-start}.m3-stage .production-stage-flow-tools :is(input,select,textarea){font-size:16px}.m3-production-brief{padding:12px}.m3-production-brief dl{grid-template-columns:1fr 1fr;gap:12px}.m3-production-brief dl>div:first-child{grid-column:1/-1}dialog.production-setup-dialog{max-height:calc(100dvh - 16px);max-width:calc(100vw - 16px)}}.m3-unsaved-sequence{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;padding:8px 16px;background:var(--accent-soft);color:var(--ink);font-size:13px}.studio-workspace .m3-context-inspector{position:static;inset:auto;margin:0;width:auto;max-width:none;max-height:none;color:var(--ink);font:inherit}.studio-workspace .m3-context-inspector:not([open]){display:none!important}.m3-context-inspector::-webkit-backdrop{background:rgb(0 0 0/.48)}.m3-context-inspector::backdrop{background:rgb(0 0 0/.48)}.m3-inspector-toolbar,.m3-inspector-trigger{display:none}.studio-workspace.assets-workspace .production-refresh-assets .asset-production-layout[data-has-inspector=false]{grid-template-columns:minmax(0,1fr)}.asset-production-layout[data-has-inspector=false] .asset-continuity-inspector{display:none!important}.m3-voice-step-hint{margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.6}.production-refresh-script .script-editorial-rail>header{padding-block:12px}.production-refresh-script .script-editorial-rail nav button{min-height:44px}.m3-context-inspector :is(input,textarea,select){max-width:100%}@media(max-width:939px){.studio-workspace.assets-workspace .production-refresh-assets .asset-production-layout,.studio-workspace.storyboard-workspace .storyboard-production-grid.production-refresh-storyboard .production-refresh-storyboard-body{grid-template-columns:minmax(0,1fr)}.studio-workspace .m3-context-inspector[open]{position:fixed!important;inset:12px!important;margin:auto!important;width:min(560px,calc(100vw - 24px))!important;height:-moz-fit-content;height:fit-content;max-height:calc(100dvh - 24px)!important;overflow:auto!important;display:block!important;padding:16px!important;border:1px solid var(--line)!important;border-radius:var(--radius-lg)!important;background:var(--surface)!important;overscroll-behavior:contain}.m3-inspector-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;font-size:13px}.m3-inspector-toolbar button{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink)}.m3-inspector-trigger{display:inline-flex;min-height:44px}.m3-context-inspector :is(input,textarea,select){font-size:16px}}.m3-overview-focus{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.8fr);grid-gap:20px;gap:20px;align-items:start}.m3-overview-focus>*{min-width:0}.production-refresh-overview .m3-overview-focus .production-next-action{padding:16px;border-radius:var(--radius-sm)}.production-refresh-overview .m3-overview-focus .production-next-action h2{font-size:21px;letter-spacing:normal;margin-block:8px}.m3-overview-focus .m3-production-brief{padding:0 0 12px}.m3-overview-focus .m3-production-brief dl{grid-template-columns:1fr 1fr 1fr;gap:12px}.m3-overview-focus .m3-production-brief dl>div:first-child{grid-column:1/-1}.production-refresh-overview .production-next-actions>button{min-height:44px}@media(max-width:939px){.m3-overview-focus{grid-template-columns:minmax(0,1fr)}.m3-overview-focus .m3-production-brief dl{grid-template-columns:1fr 1fr}}.m3-writing-sections{display:flex;flex-wrap:nowrap;min-width:0;max-width:100%;padding:8px 0 12px;overflow-x:auto;scrollbar-width:thin}.m3-writing-sections>button{display:flex;flex:0 0 auto;align-items:center;gap:6px;min-height:44px;padding:8px 10px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--muted);font-size:12px}.m3-writing-sections>button.active{background:var(--accent-soft);color:var(--ink)}.m3-writing-sections>button:disabled{opacity:.55}.m3-writing-sections>button strong{font-size:12px;font-weight:500;white-space:nowrap}.m3-writing-sections>button small{display:none}.m3-writing-sections .script-editorial-stage-node{display:inline-flex;align-items:center;font-size:11px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.m3-overview-focus>.production-overview-inspector{grid-area:auto}.m3-overview-focus .production-spec-autopilot-summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.m3-overview-focus .production-spec-autopilot-facts{flex:1 1 200px;min-width:0}.m3-overview-focus .production-spec-autopilot-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}@media(max-width:939px){.studio-workspace .m3-context-inspector[open] .script-panel-body{overflow:visible;max-height:none}}.studio-shell .production-refresh-overview .m3-overview-focus>.production-overview-inspector{grid-area:auto}.studio-shell .production-refresh-overview .production-overview-grid{display:block}.studio-shell .production-refresh-overview .production-overview-sequence{padding:12px 0 0;border:0;border-top:1px solid var(--line);border-radius:0}.studio-shell .production-refresh-overview .production-stage-list{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:620px){.studio-shell .production-refresh-overview .production-stage-list{grid-template-columns:minmax(0,1fr)}}.studio-workspace.animatic-workspace .frontend-animatic-refresh>.animatic-player-panel{order:0}.production-stage-flow.m3-stage .production-experience-toggle button{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;width:auto}.production-stage-flow.m3-stage .production-experience-toggle button span{white-space:nowrap}.production-stage-flow.m3-stage .script-context-toggle{min-height:36px;padding:6px 10px}.production-panel-layout{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;min-height:0;overflow:hidden}.production-panel-layout[data-inspector-visible=true]{grid-template-columns:minmax(0,1fr) 8px var(--production-inspector-width,320px)}.production-panel-divider{cursor:col-resize;touch-action:none;display:flex;align-items:center;justify-content:center;min-height:0;background:var(--surface)}.production-panel-divider span{width:2px;height:32px;border-radius:2px;background:var(--line)}.production-panel-divider:focus-visible span,.production-panel-divider:hover span{background:var(--accent)}.production-panel-divider:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.studio-workspace .production-panel-layout>.m3-context-inspector[data-compact=false][open]{min-height:0;height:100%;max-height:100%;overflow-y:auto;overscroll-behavior:contain;padding:16px;border:0;-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line);border-radius:0;background:var(--surface);box-sizing:border-box}.studio-workspace .m3-context-inspector[data-compact=true][open]{position:fixed!important;inset:12px!important;margin:auto!important;width:min(560px,calc(100vw - 24px))!important;height:-moz-fit-content;height:fit-content;max-height:calc(100dvh - 24px)!important;overflow:auto!important;display:block!important;padding:16px!important;border:1px solid var(--line)!important;border-radius:var(--radius-lg)!important;background:var(--surface)!important;overscroll-behavior:contain}.m3-context-inspector[data-compact=true] .m3-inspector-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;font-size:14px}.m3-context-inspector[data-compact=true] .m3-inspector-toolbar button{min-height:44px;padding:8px 12px}@media(max-width:939px){.production-panel-layout{height:auto!important;overflow:visible}.m3-context-inspector[data-compact=true] :is(input,textarea,select){font-size:16px}}.production-stage-flow.m3-stage{padding:6px 16px;gap:4px;position:relative;z-index:3}.production-stage-flow.m3-stage .production-stage-flow-head{min-height:44px;flex-wrap:nowrap;gap:12px}.m3-stage-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.m3-stage-tools-menu{position:relative;flex:none}.m3-stage-tools-menu[open]{z-index:2}.m3-stage-tools-menu>summary{display:flex;align-items:center;min-height:44px;padding:8px 10px;cursor:pointer;font-size:14px;color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);list-style:none}.m3-stage-tools-menu>summary::-webkit-details-marker{display:none}.m3-stage-tools-content{position:absolute;inset-inline-end:0;top:calc(100% + 6px);width:min(560px,calc(100vw - 64px));max-height:min(520px,calc(100dvh - 190px));overflow:auto;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);box-shadow:0 8px 24px rgb(0 0 0/.12)}.m3-stage-tools-content>*+*{-webkit-margin-before:16px;margin-block-start:16px}.m3-stage .production-experience-toggle button,.m3-stage-summary,.production-stage-flow.m3-stage .production-stage-flow-steps button,.production-stage-flow.m3-stage .production-stage-primary-action{font-size:14px}.m3-stage .production-stage-flow-status{font-size:13px}.m3-stage-progress,.production-stage-flow.m3-stage .production-stage-flow-tools :is(button,summary,select){font-size:14px}.m3-stage .production-stage-run-state{margin:0;font-size:13px}.studio-workspace.script-workspace .production-refresh-script .script-stage-body{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0}.studio-workspace.script-workspace .production-refresh-script .script-editorial-layout.production-panel-layout{display:grid;grid-template-columns:minmax(0,1fr);flex:1 1;min-height:0;height:100%;grid-gap:0;gap:0;overflow:hidden}.studio-workspace.script-workspace .production-refresh-script .script-editorial-layout.production-panel-layout[data-inspector-visible=true]{grid-template-columns:minmax(0,1fr) 8px var(--production-inspector-width)}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas{min-height:0;height:100%;overflow-y:auto;padding:20px 24px;background:var(--bg)}.studio-workspace .production-refresh-script .script-editorial-inspector[open][data-compact=false]{display:block;grid-column:auto;grid-row:auto}.m3-writing-sections{flex:none;padding:4px 16px;margin:0;border-bottom:1px solid var(--line);gap:4px;background:var(--surface)}.m3-writing-sections>button,.m3-writing-sections>button strong{font-size:14px}.studio-workspace.script-workspace .script-editorial-canvas :is(textarea,pre){font-size:16px;line-height:1.8}.studio-workspace.script-workspace .script-editorial-canvas textarea{min-height:280px}.studio-workspace.script-workspace .script-editorial-canvas .script-review-tabs{position:static;margin:0;padding:8px 0;background:var(--surface)}.studio-workspace.script-workspace .script-editorial-canvas .script-review-tabs button{font-size:14px;min-height:44px}.studio-workspace.script-workspace .script-editorial-canvas .script-final-summary{padding:8px 0;gap:12px}.studio-workspace.script-workspace .script-editorial-canvas .script-final-summary p{display:none}.studio-workspace.script-workspace .script-editorial-canvas .script-final-summary h3{font-size:19px}.studio-workspace.script-workspace .script-editorial-canvas .script-final-metrics{padding:8px 0;margin-bottom:12px}.studio-workspace.assets-workspace .production-refresh-assets .asset-production-layout.production-panel-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-gap:0;gap:0;padding:0;overflow:hidden;align-items:stretch}.studio-workspace.assets-workspace .production-refresh-assets .asset-production-layout.production-panel-layout[data-inspector-visible=true]{grid-template-columns:minmax(0,1fr) 8px var(--production-inspector-width)}.studio-workspace.assets-workspace .production-refresh-assets .asset-library-shell{grid-column:auto;grid-row:auto;overflow-y:auto;padding:16px;min-height:0}.studio-workspace.assets-workspace .production-refresh-assets .asset-continuity-inspector[data-compact=false][open]{grid-column:auto;grid-row:auto;display:flex;padding:16px;gap:16px}.studio-workspace.assets-workspace .production-refresh-assets .asset-continuity-inspector[data-compact=false]>*{flex-shrink:0}.production-refresh-assets .asset-library-shell>.asset-workflow-rail{margin-bottom:12px}.production-refresh-assets :is(.production-refresh-asset-search input,.asset-filter-strip button,.secondary-action,.asset-card-inspect,.asset-library-view-controls>span,.production-refresh-asset-versions h3,.production-refresh-asset-versions button,.production-refresh-asset-usage h3,.production-refresh-asset-usage button){font-size:14px}.production-refresh-assets .asset-filter-strip{padding:8px 0 12px;gap:6px}.production-refresh-assets .asset-filter-strip button{min-height:40px}.production-refresh-assets .storyboard-asset-main h3{font-size:16px}.production-refresh-assets .storyboard-asset-main :is(p,.storyboard-asset-meta){font-size:14px;line-height:1.6}.production-refresh-assets .asset-inspector-preview{max-height:220px}.production-refresh-assets :is(.asset-inspector-notes p,.asset-inspector-identity p,.asset-details-editor label){font-size:14px;line-height:1.6}@media(max-width:939px){.studio-workspace.assets-workspace .production-refresh-assets .asset-library-shell,.studio-workspace.assets-workspace .production-refresh-assets .asset-production-layout.production-panel-layout,.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas,.studio-workspace.script-workspace .production-refresh-script .script-editorial-layout.production-panel-layout,.studio-workspace.script-workspace .production-refresh-script .script-stage-body{height:auto;overflow:visible}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas{padding:16px}.production-refresh-assets .production-refresh-asset-search input{font-size:16px}.m3-writing-sections{padding-inline:12px}}@media(max-width:620px){.production-stage-flow-head[data-script] .production-stage-flow-status{display:none}.production-stage-flow.m3-stage{padding:8px 12px}.production-stage-flow.m3-stage .production-stage-flow-head{flex-wrap:wrap}.m3-stage-header-actions{width:100%;justify-content:space-between;gap:8px}.production-stage-flow.m3-stage .production-stage-action-buttons{flex:1 1 auto}.m3-stage-tools-content{inset-inline-start:0;inset-inline-end:auto;width:min(480px,calc(100vw - 56px))}.m3-stage-tools-menu>summary{font-size:14px}}.studio-workspace .production-panel-layout .script-editorial-inspector :is(small,dt,label,p,.script-editorial-status span,.script-editorial-readiness span){font-size:14px;line-height:1.5}.studio-workspace .production-panel-layout .script-editorial-inspector :is(header strong,dd){font-size:16px}.studio-workspace .production-panel-layout .asset-continuity-inspector :is(label,dt,p,button,input,select,textarea){font-size:14px}@media(max-width:939px){.studio-workspace .production-panel-layout .asset-continuity-inspector :is(input,select,textarea){font-size:16px}}.language-voice-load-error{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);background:var(--surface);font-size:14px;line-height:1.5}.language-voice-load-error strong{flex-basis:100%}.language-voice-load-error .secondary-action{min-height:44px;font-size:14px}.production-refresh-script{container-type:inline-size}.production-stage-flow.m3-stage>.production-stage-flow-head.has-writing-sections{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-gap:10px;gap:10px}.production-stage-flow-head .m3-writing-sections{min-width:0;padding:0;border:0;align-self:center}.production-stage-flow-head .m3-writing-sections>button{min-height:36px;padding:6px 10px;border:1px solid transparent;border-radius:999px}.production-stage-flow-head .m3-writing-sections>button.active{border-color:var(--line);background:var(--accent-soft)}.production-stage-flow-head .script-editorial-stage-node{display:none}.m3-autopilot-toggle{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:14px;white-space:nowrap}.m3-autopilot-toggle .m3-script-mode{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.m3-autopilot-toggle>i{display:block;position:relative;width:34px;height:20px;border-radius:12px;background:var(--muted);pointer-events:none}.m3-autopilot-toggle>i:after{content:"";position:absolute;inset-inline-start:3px;top:3px;width:14px;height:14px;background:var(--surface);border-radius:50%}.m3-autopilot-toggle input:checked+i{background:var(--accent)}.m3-autopilot-toggle input:checked+i:after{inset-inline-start:17px}.m3-autopilot-toggle input:focus-visible+i{outline:2px solid var(--ink);outline-offset:3px}.m3-autopilot-toggle input:disabled+i{opacity:.5}.studio-workspace.script-workspace .production-refresh-script .m3-sidebar-layout[data-inspector-visible=false]{grid-template-columns:minmax(0,1fr) 44px}.m3-inspector-rail{-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line);background:var(--surface);display:flex;align-items:flex-start;justify-content:center}.m3-context-inspector[data-sidebar] .m3-inspector-toolbar button,.m3-inspector-mobile-toggle,.m3-inspector-rail button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;min-height:44px;padding:8px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--ink);cursor:pointer}.m3-inspector-mobile-toggle:hover,.m3-inspector-rail button:hover{background:var(--subtle)}.m3-inspector-mobile-toggle{display:none}.m3-inspector-mobile-toggle[data-inspector-compact=true]{display:inline-flex}.studio-workspace.script-workspace .production-refresh-script .m3-sidebar-layout[data-inspector-visible=false][data-inspector-compact=true]{grid-template-columns:minmax(0,1fr)}.m3-context-inspector[data-sidebar] .m3-inspector-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px}.m3-context-inspector[data-sidebar] .m3-inspector-toolbar strong{font-size:14px;font-weight:600}.m3-inspector-document-title{font-size:16px;font-weight:600;margin:8px 0}.m3-inspector-progress{padding-block:8px 16px;border-bottom:1px solid var(--line);font-size:14px}.m3-inspector-progress p{margin:8px 0}.m3-inspector-progress .production-stage-flow-progress{width:100%}.m3-alternative-notice{padding:10px 12px;margin:0 0 12px;background:var(--accent-soft);font-size:14px}.production-stage-flow-head[data-script] .m3-stage-tools-content{width:min(310px,calc(100vw - 48px))}.production-stage-flow-head[data-script] .script-stage-tools{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:4px}.production-stage-flow-head[data-script] .production-stage-flow-tools{width:100%}.production-stage-flow-head[data-script] .script-stage-tools>button{display:flex;justify-content:flex-start;gap:8px;min-height:44px;border:0;border-radius:var(--radius-sm);background:transparent;padding:8px 10px;font-size:14px}.production-stage-flow-head[data-script] .script-stage-tools>button:hover{background:var(--subtle)}.m3-script-export-tools{display:flex;flex-direction:column;border-top:1px solid var(--line);margin-top:6px;padding-top:10px;font-size:14px}.m3-script-export-tools>strong{display:flex;align-items:center;gap:8px;padding:4px 10px;color:var(--muted);font-size:13px}.m3-script-export-tools a{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;color:var(--ink);text-decoration:none;border-radius:var(--radius-sm)}.m3-script-export-tools a:hover{background:var(--subtle)}@container(max-width:1160px){.production-stage-flow.m3-stage>.production-stage-flow-head.has-writing-sections{grid-template-columns:auto minmax(0,1fr)}.has-writing-sections>.m3-writing-sections{grid-column:1/-1;grid-row:2}}@media(max-width:939px){.m3-inspector-mobile-toggle{display:inline-flex}.studio-workspace.script-workspace .production-refresh-script .m3-sidebar-layout[data-inspector-visible=false]{grid-template-columns:minmax(0,1fr)}.production-stage-flow-head .m3-writing-sections>button{min-height:44px}}@media(max-width:620px){.production-stage-flow.m3-stage>.production-stage-flow-head.has-writing-sections{grid-template-columns:minmax(0,1fr);gap:4px}.has-writing-sections>.m3-stage-context{grid-row:1}.has-writing-sections>.m3-stage-header-actions{grid-row:2}.has-writing-sections>.m3-writing-sections{grid-row:3}}.production-refresh-script{--paper:var(--surface);--paper-muted:var(--subtle);--m3-active-stage:var(--accent)}html[data-theme=dark] .production-refresh-script{--m3-active-stage:color-mix(in srgb,var(--accent) 80%,#000)}.production-stage-flow.m3-stage>.production-stage-flow-head.has-writing-sections{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.production-stage-flow-head .m3-writing-sections{justify-self:center;justify-content:safe center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--subtle)}.production-stage-flow-head .m3-writing-sections>button{gap:7px;border-radius:9px;padding:6px 9px;color:var(--ink-soft)}.production-stage-flow-head .m3-writing-sections .script-editorial-stage-node{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid var(--line);border-radius:50%;font-size:11px;font-weight:600}.production-stage-flow-head .m3-writing-sections>button.active{background:var(--m3-active-stage,var(--accent));border-color:var(--m3-active-stage,var(--accent));color:#fff}.production-stage-flow-head .m3-writing-sections>button.active .script-editorial-stage-node{border-color:currentColor;background:transparent;color:inherit}.production-stage-flow-head .m3-writing-sections>button.active strong{color:inherit;font-weight:600}.m3-guided-label,.m3-mode-label{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.m3-mode-label>svg{color:var(--accent)}.m3-guided-label{padding:3px 7px;border:1px solid color-mix(in srgb,#4e7894 25%,var(--line));border-radius:6px;background:color-mix(in srgb,#4e7894 9%,var(--surface));color:var(--ink);font-size:12px;font-weight:600}.m3-guided-label>svg{color:#3c617b}html[data-theme=dark] .m3-guided-label>svg{color:#a4c8e0}.production-stage-flow-head[data-script] .m3-stage-tools-menu>summary{gap:7px;border-color:color-mix(in srgb,var(--accent) 35%,var(--line));background:var(--accent-soft);color:var(--ink);font-weight:600}.production-stage-flow-head[data-script] .m3-stage-tools-menu>summary>svg:first-child{color:var(--accent)}.production-stage-flow-head[data-script] .m3-stage-tools-menu[open]>summary{border-color:var(--accent)}.studio-workspace.script-workspace .production-refresh-script .m3-sidebar-layout[data-inspector-visible=false]{grid-template-columns:minmax(0,1fr) 60px}.m3-inspector-rail{flex-direction:column;align-items:center;justify-content:flex-start;gap:16px;overflow-y:auto}.m3-rail-facts{display:grid;grid-gap:22px;gap:22px;margin:0;padding:0 4px;text-align:center;color:var(--muted)}.m3-rail-facts dt{display:flex;justify-content:center;margin-bottom:4px}.m3-rail-facts .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.m3-rail-facts dd{margin:0;color:var(--ink);font-size:14px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.m3-rail-facts small{font-size:10px;font-weight:400}.studio-workspace .production-panel-layout .script-editorial-inspector .m3-inspector-toolbar{padding-bottom:8px;border-bottom:1px solid var(--line)}.studio-workspace .production-panel-layout .script-editorial-inspector .m3-inspector-document{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px 0 12px;border:0}.m3-inspector-document h2{font-size:18px;line-height:1.4;font-weight:600;margin:0;overflow-wrap:anywhere}.m3-inspector-stage-label{font-size:12px;color:var(--muted)}.m3-inspector-package-status{padding:4px 8px;border-radius:6px;background:var(--subtle);font-size:12px;font-weight:600}.studio-workspace .production-panel-layout .script-editorial-inspector .m3-inspector-progress{padding:0 0 16px}.studio-workspace .production-panel-layout .script-editorial-inspector .m3-inspector-progress p{font-size:14px;margin:4px 0 12px;color:var(--ink-soft)}.studio-workspace .production-panel-layout .script-editorial-inspector .script-editorial-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 0;margin:0;grid-gap:16px;gap:16px;border-bottom:1px solid var(--line)}.studio-workspace .production-panel-layout .script-editorial-inspector .script-editorial-metrics>div{padding:0;border:0;display:flex;flex-direction:column;gap:4px}.studio-workspace .production-panel-layout .script-editorial-inspector .script-editorial-metrics dt{font-size:13px;color:var(--muted)}.studio-workspace .production-panel-layout .script-editorial-inspector .script-editorial-metrics dd{font-size:21px;font-weight:600;margin:0}.studio-workspace .production-panel-layout .script-editorial-inspector .script-editorial-readiness{padding:18px 0;border:0}.studio-workspace .production-panel-layout .script-editorial-inspector .script-editorial-readiness>strong{font-size:14px;font-weight:600}.studio-workspace .production-panel-layout .script-editorial-inspector .script-editorial-readiness>div{display:grid;grid-gap:10px;gap:10px;margin-top:12px}.studio-workspace .production-panel-layout .script-editorial-inspector .m3-inspector-updated{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-review-tabs{display:inline-flex;width:-moz-fit-content;width:fit-content;max-width:100%;align-self:flex-start;padding:4px;gap:4px;border:1px solid var(--line);border-radius:10px;background:var(--subtle)}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-review-tabs button{flex:none;border:0;border-radius:7px;padding:8px 12px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-review-tabs button.active{background:var(--m3-active-stage);color:#fff}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-card{background:var(--surface);border-radius:var(--radius)}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(textarea,input,select){background:var(--control);box-shadow:none}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas textarea{border:1px solid var(--line);border-radius:10px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas textarea:focus{outline:2px solid var(--accent);outline-offset:-2px;box-shadow:none}.studio-workspace.script-workspace .production-refresh-script .script-edit-action{display:inline-flex;align-items:center;gap:6px;width:auto;min-width:0;min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:13px}.studio-workspace.script-workspace .production-refresh-script .script-edit-action span{font-size:13px;font-weight:500;color:inherit;text-transform:none;letter-spacing:normal}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-brief-panel,.script-brief-manual-panel,.script-stage-outline>.script-card,.script-stage-screenplay>.script-card,.script-shot-section,.script-scenes-panel){display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-gap:0;gap:0;min-height:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:14px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-brief-panel-head,.script-meta-form>.script-card-title-row,.script-shot-section>.script-card-title-row,.script-scenes-panel>.script-card-title-row){margin:0;padding:12px 16px;border-bottom:1px solid var(--line)}.studio-workspace.script-workspace .production-refresh-script .script-brief-panel-head{min-height:58px;box-sizing:border-box;align-items:center}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .m3-writing-panel-body{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .m3-writing-panel-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin:0;padding:12px 16px;border-top:1px solid var(--line);background:var(--surface);min-height:68px;flex:none}.studio-workspace.script-workspace .production-refresh-script .m3-writing-panel-footer .primary-action{width:auto;max-width:100%;margin:0;min-height:44px}.studio-workspace.script-workspace .production-refresh-script .script-brief-tools small{font-size:12px;text-align:start;order:-1}.studio-workspace.script-workspace .production-refresh-script .script-brief-layout{min-height:0;gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:stretch}.studio-workspace.script-workspace .production-refresh-script .script-brief-layout.single{grid-template-columns:minmax(0,1fr)}.studio-workspace.script-workspace .production-refresh-script .script-brief-direction-pane .m3-writing-panel-body{display:flex;flex-direction:column;gap:16px}.studio-workspace.script-workspace .production-refresh-script .script-direction-field{display:flex;flex:1 0 auto;flex-direction:column;gap:8px;min-height:200px}.studio-workspace.script-workspace .production-refresh-script .script-brief-direction-pane textarea{flex:1 1;min-height:160px;height:auto;resize:none}.studio-workspace.script-workspace .production-refresh-script .script-brief-fields textarea{min-height:100px;height:auto}.studio-workspace.script-workspace .production-refresh-script .m3-outline-body{display:grid;grid-template-rows:minmax(180px,1fr) auto;grid-gap:12px;gap:12px}.studio-workspace.script-workspace .production-refresh-script .script-outline-history{font-size:13px}.studio-workspace.script-workspace .production-refresh-script .m3-outline-body .script-unlabeled-field{min-height:0;display:flex}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-stage-outline,.script-stage-screenplay) textarea{width:100%;height:100%;min-height:0;padding:16px;border:0;box-shadow:none}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scenes-scroll,.script-shot-scroll){min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px}.studio-workspace.script-workspace .production-refresh-script .script-shot-proposal{min-height:0}@container(max-width:1340px){.production-stage-flow.m3-stage>.production-stage-flow-head.has-writing-sections{grid-template-columns:auto minmax(0,1fr)}.has-writing-sections>.m3-writing-sections{grid-column:1/-1;grid-row:2}}@container(max-width:740px){.production-stage-flow.m3-stage>.production-stage-flow-head.has-writing-sections{grid-template-columns:minmax(0,1fr)}.has-writing-sections>.m3-stage-context{grid-row:1}.has-writing-sections>.m3-stage-header-actions{grid-row:2;justify-content:flex-end}.has-writing-sections>.m3-writing-sections{grid-row:3}}@media(min-width:940px){.studio-workspace.script-workspace .production-refresh-script .script-editorial-layout.production-panel-layout{grid-template-rows:minmax(0,1fr)}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas:is([data-writing-stage=brief],[data-writing-stage=outline],[data-writing-stage=screenplay],[data-writing-stage=scenes],[data-writing-stage=shots]){overflow:hidden;display:flex;flex-direction:column;padding:16px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas:is([data-writing-stage=brief],[data-writing-stage=outline],[data-writing-stage=screenplay],[data-writing-stage=scenes],[data-writing-stage=shots])>.script-stage-section{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr);grid-gap:12px;gap:12px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas[data-writing-stage=shots]>.script-stage-shots{grid-template-rows:minmax(0,1fr) auto;gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-stage-shots>.script-shot-section{border:0;border-radius:0}.studio-workspace.script-workspace .production-refresh-script .script-brief-layout{height:100%}}@media(max-width:939px){.studio-workspace.script-workspace .production-refresh-script .m3-sidebar-layout[data-inspector-visible=false]{grid-template-columns:minmax(0,1fr)}.studio-workspace.script-workspace .production-refresh-script .script-brief-layout{height:auto;grid-template-columns:minmax(0,1fr)}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-stage-section{height:auto;min-height:0}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .m3-writing-panel-body{max-height:52dvh}.studio-workspace.script-workspace .production-refresh-script .script-stage-screenplay textarea{min-height:240px}.production-stage-flow-head .m3-writing-sections>button,.studio-workspace.script-workspace .production-refresh-script .script-edit-action{min-height:44px}}@media(max-width:620px){.production-stage-flow.m3-stage>.production-stage-flow-head.has-writing-sections{grid-template-columns:minmax(0,1fr)}.has-writing-sections>.m3-writing-sections{grid-row:3;justify-self:stretch;justify-content:safe center}.m3-guided-label{font-size:11px;padding:3px 5px}.production-stage-flow[data-production-experience=guided] .m3-mode-label{display:none}.production-stage-flow[data-production-experience=guided] .m3-guided-label{order:-1}}@container(max-width:620px){.has-writing-sections>.m3-stage-header-actions{flex-wrap:nowrap;position:relative}.production-stage-flow.m3-stage .has-writing-sections .production-stage-action-buttons{flex:1 1;min-width:0}.production-stage-flow.m3-stage .has-writing-sections .production-stage-primary-action{flex:1 1}.production-stage-flow-head.has-writing-sections[data-script] .m3-stage-tools-menu>summary{padding-inline:7px;gap:4px}.production-stage-flow-head.has-writing-sections[data-script] .m3-stage-tools-menu>summary>svg:last-child{display:none}.production-stage-flow-head.has-writing-sections[data-script] .m3-stage-tools-menu{position:static}.production-stage-flow-head[data-script] .m3-stage-tools-content{inset-inline-start:auto;inset-inline-end:0}}.m3-writing-mode-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 16px;margin:0;border-bottom:1px solid var(--line);background:var(--surface);color:var(--ink-soft);font-size:13px;line-height:1.5}.m3-writing-mode-notice button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:0;background:transparent;color:var(--muted)}.production-stage-flow-head[data-script] .m3-stage-tools-menu>summary{padding-inline:13px;border-radius:10px;background:var(--surface);box-shadow:0 1px 2px rgb(0 0 0/.04)}.production-stage-flow-head[data-script] .m3-stage-tools-menu>summary:hover,.production-stage-flow-head[data-script] .m3-stage-tools-menu[open]>summary{background:var(--accent-soft)}.production-stage-flow-head[data-script] .m3-stage-tools-menu[open]>summary>svg:last-child{transform:rotate(180deg)}.production-stage-flow-head[data-script] .m3-stage-tools-content{width:min(320px,calc(100vw - 48px));padding:8px;border-radius:14px;box-shadow:0 12px 36px rgb(0 0 0/.14)}.production-stage-flow-head[data-script] .m3-stage-workbar{gap:0}.production-stage-flow-head[data-script] .script-stage-tools{gap:2px}.production-stage-flow-head[data-script] .script-stage-tools>button{color:var(--ink);font-weight:500;box-shadow:none}.production-stage-flow-head[data-script] .script-stage-tools>button svg{flex:none;color:var(--muted)}.m3-tools-group-label{display:block;padding:10px 10px 5px;color:var(--muted);font-size:12px;font-weight:500}.m3-tools-group-divider{border-top:1px solid var(--line);margin-top:6px}.m3-script-export-tools{display:grid;grid-template-columns:1fr 1fr;padding:8px 4px 4px;grid-gap:4px;gap:4px}.m3-script-export-tools>strong{grid-column:1/-1;font-size:12px;font-weight:500;padding:2px 6px}.m3-script-export-tools a{justify-content:center;padding:8px;border:1px solid var(--line);background:var(--control);font-size:13px}.m3-continuity-tool{border-top:1px solid var(--line);padding:12px 0 0;margin-top:12px}.m3-continuity-tool>summary{cursor:pointer;min-height:44px;align-content:center;font-size:14px;font-weight:600}.m3-continuity-tool-body{display:grid;grid-gap:12px;gap:12px;padding:0 0 12px}.m3-continuity-tool-body p{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}.m3-continuity-tool-body .script-card-actions{display:flex;flex-direction:column;align-items:stretch;margin:0;gap:8px}.m3-continuity-tool-body button{min-height:44px;white-space:normal}.studio-workspace.script-workspace .production-refresh-script .script-brief-fields{display:grid;grid-gap:24px;gap:24px}.studio-workspace.script-workspace .production-refresh-script .m3-brief-group{min-width:0;margin:0;padding:0;border:0}.m3-brief-group>legend{width:100%;padding:0 0 10px;border-bottom:1px solid var(--line);margin-bottom:18px;color:var(--ink);font-size:15px;font-weight:600;line-height:1.5}.m3-brief-group-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;align-items:start}.studio-workspace.script-workspace .production-refresh-script .m3-brief-group-fields label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:14px;font-weight:500;line-height:1.5;color:var(--ink-soft)}.studio-workspace.script-workspace .production-refresh-script .m3-brief-group-fields :is(input,select,textarea){min-width:0;width:100%;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:10px 12px;color:var(--ink);font-size:15px;font-weight:400;line-height:1.7}.studio-workspace.script-workspace .production-refresh-script .m3-brief-group-fields :is(input,select){min-height:44px}.studio-workspace.script-workspace .production-refresh-script .script-brief-complete{margin:0;padding:0;border:0;background:transparent;color:var(--muted);font-size:12px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .final-review-stage{display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-gap:12px;gap:12px;min-height:0}.m3-review-toolbar{min-width:0;background:var(--bg)}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-review-panel{min-height:0;margin:0;overflow-y:auto;overscroll-behavior:contain;padding:20px;border-radius:14px}@media(min-width:940px){.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas[data-writing-stage=review]{padding:16px;overflow:hidden}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .final-review-stage{height:100%}}@media(max-width:939px){.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scenes-scroll,.script-shot-scroll,.script-review-panel){max-height:65dvh}.studio-workspace.script-workspace .production-refresh-script .m3-brief-group-fields :is(input,select,textarea){font-size:16px}}@media(max-width:620px){.m3-brief-group-fields{grid-template-columns:minmax(0,1fr)}}.production-stage-flow-head[data-script] .script-stage-tools>.m3-tools-continuity-action{margin-top:8px;border-top:1px solid var(--line);border-radius:0;padding-top:12px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-brief-panel-head,.script-card-title-row,.script-review-panel-head) h3{margin:0;color:var(--ink);font-size:16px;font-weight:600;line-height:1.5;letter-spacing:normal}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-direction-field{color:var(--ink-soft);font-size:14px;font-weight:500;line-height:1.5}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-brief-direction-pane textarea{color:var(--ink);font-size:16px;font-weight:400;line-height:1.8}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-review-panel pre,.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-stage-outline,.script-stage-screenplay) textarea{display:block;max-inline-size:88ch;margin-inline:auto;color:var(--ink);font-family:inherit;font-size:16px;font-weight:400;line-height:1.85;letter-spacing:normal;-moz-tab-size:4;tab-size:4}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-review-panel pre{white-space:pre-wrap;overflow-wrap:anywhere}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-card,.script-shot-card){padding:20px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-card,.script-shot-card)>header{align-items:flex-start;gap:16px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-card,.script-shot-card)>header>div:first-child{min-width:0}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-card,.script-shot-card)>header>div>span{display:block;color:var(--muted);font-size:12px;font-weight:500;line-height:1.5;letter-spacing:normal;text-transform:none}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-card,.script-shot-card) h3{margin:4px 0 6px;color:var(--ink);font-size:17px;font-weight:600;line-height:1.5;letter-spacing:normal;overflow-wrap:anywhere}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-card,.script-shot-card)>header small{display:block;color:var(--muted);font-size:13px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-card,.script-shot-card)>p{margin:16px 0;color:var(--ink);font-size:15px;font-weight:400;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.studio-workspace.script-workspace .script-scene-notes{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line);gap:12px}.studio-workspace.script-workspace .script-scene-notes:empty{display:none}.studio-workspace.script-workspace .script-scene-notes>div{display:grid;grid-template-columns:minmax(100px,120px) minmax(0,1fr);grid-gap:4px 16px;gap:4px 16px;align-items:baseline}.studio-workspace.script-workspace .script-scene-notes dt{color:var(--muted);font-size:13px;font-weight:500;line-height:1.7;overflow-wrap:anywhere}.studio-workspace.script-workspace .script-scene-notes dd{margin:0;color:var(--ink-soft);font-size:15px;font-weight:400;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-review-list,.script-shot-proposal-list) article{padding:18px;gap:8px}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas .script-proposal-block h4,.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-review-list,.script-shot-proposal-list) strong{color:var(--ink);font-size:16px;font-weight:600;line-height:1.5}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-review-list,.script-shot-proposal-list) article>span{color:var(--muted);font-size:13px;font-weight:400;line-height:1.6}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-review-list,.script-shot-proposal-list,.script-proposal-block) p{color:var(--ink);font-size:15px;font-weight:400;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-fields,.script-proposal-edit-grid) label{color:var(--ink-soft);font-size:14px;font-weight:500;line-height:1.5}.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-fields,.script-proposal-edit-grid) :is(input,select,textarea){color:var(--ink);font-size:15px;font-weight:400;line-height:1.7}@media(max-width:939px){.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-fields,.script-proposal-edit-grid) :is(input,select,textarea){font-size:16px}}@media(max-width:620px){.studio-workspace.script-workspace .production-refresh-script .script-editorial-canvas :is(.script-scene-card,.script-shot-card){padding:16px}.studio-workspace.script-workspace .script-scene-notes>div{grid-template-columns:minmax(0,1fr)}}.studio-workspace.production-overview-workspace:has(.m3-overview){min-height:0;overflow:hidden;scrollbar-gutter:auto}.studio-shell .production-overview.m3-overview{--overview-canvas:#f4f4f2;--overview-panel:#fff;flex:1 1 auto;min-height:0;min-width:0;margin:0;padding:0;gap:12px;overflow:hidden;border:0;border-radius:0;background:var(--overview-canvas)}html[data-theme=dark] .studio-shell .production-overview.m3-overview{--overview-canvas:var(--bg);--overview-panel:var(--surface)}.studio-shell .m3-overview .production-overview-header{min-height:60px;flex:none;flex-direction:row;padding:8px 16px;gap:16px;border:0;border-radius:12px;background:var(--overview-panel)}.studio-shell .m3-overview .production-overview-identity{gap:10px;min-width:0}.studio-shell .m3-overview .production-overview-identity>svg{flex:none;color:var(--accent)}.studio-shell .m3-overview .production-overview-identity>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;min-width:0}.studio-shell .m3-overview .production-overview-header h1{margin:0;font-size:18px;font-weight:600;line-height:1.4;letter-spacing:normal}.studio-shell .m3-overview .production-overview-meta{display:block;margin:0;font-size:14px;font-weight:400;overflow-wrap:anywhere}.studio-shell .m3-overview .production-overview-header>time{font-size:12px;color:var(--muted);flex:none}.m3-overview-panels{display:grid;grid-template-columns:minmax(0,1fr) 8px var(--production-inspector-width,440px);flex:1 1 auto;min-width:0;min-height:0;overflow:hidden}.m3-overview-panels>:is(.m3-overview-progress-panel,.m3-overview-actions-panel){min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--line);border-radius:12px;background:var(--overview-panel);padding:20px}.studio-shell .m3-overview .production-overview-sequence{display:block;min-height:0;grid-area:auto;margin-top:24px;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}.studio-shell .m3-overview .production-overview-sequence>header{padding:0;min-height:0;gap:12px;flex-wrap:wrap;background:transparent;border:0}.studio-shell .m3-overview .production-overview-sequence>header h2{margin:0;font-size:16px;font-weight:600;color:var(--ink)}.studio-shell .m3-overview .production-overview-sequence>header>span{padding:0;border:0;border-radius:0;background:transparent;font-size:13px;font-weight:400;color:var(--muted)}.studio-shell .m3-overview .production-stage-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;overflow:visible;padding:14px 0 0}.m3-stage-status{display:flex;flex-direction:column;gap:14px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--overview-panel)}.m3-stage-status-title{display:flex;align-items:center;gap:9px;min-width:0}.m3-stage-status-title strong{font-size:15px;font-weight:600;overflow-wrap:anywhere}.m3-stage-status-title>svg{flex:none;color:var(--muted)}.m3-stage-status.complete .m3-stage-status-title>svg:last-child{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--success)}.m3-stage-status-detail{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 8px}.studio-shell .m3-overview .production-stage-state{font-size:13px;font-weight:400;white-space:normal;color:var(--muted)}.studio-shell .m3-overview .production-stage-count{font-size:14px;line-height:1.5;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--ink)}.m3-stage-status.next{border-color:color-mix(in srgb,var(--accent) 40%,var(--line));background:color-mix(in srgb,var(--accent) 3%,var(--overview-panel))}.m3-production-snapshot{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1fr);grid-gap:24px;gap:24px;align-items:center}.m3-overview-artwork{position:relative;margin:0;min-width:0;overflow:hidden;border-radius:10px;background:var(--overview-canvas)}.m3-overview-artwork>img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain}.m3-overview-artwork>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;height:260px;padding:24px;text-align:center;color:var(--muted);font-size:14px;line-height:1.6}.m3-overview-artwork figcaption{padding:8px 12px;text-align:center;font-size:12px;color:var(--muted)}.m3-snapshot-content{min-width:0}.m3-snapshot-content h2{margin:0;font-size:24px;font-weight:600;line-height:1.25;letter-spacing:-.02em;overflow-wrap:anywhere}.m3-snapshot-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:12px 0 0;font-size:14px;line-height:1.65;color:var(--muted)}.m3-snapshot-progress{display:flex;align-items:center;gap:14px;margin:24px 0}.m3-snapshot-ring{display:grid;place-items:center;position:relative;width:68px;height:68px;flex:none}.m3-snapshot-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke-width:4;stroke:var(--line)}.m3-snapshot-ring circle:last-child{stroke:var(--accent);stroke-linecap:round}.m3-snapshot-ring>strong{font-size:23px;font-weight:600}.m3-snapshot-ring small{font-size:13px;font-weight:400;color:var(--muted)}.m3-snapshot-progress>span:last-child{display:flex;flex-direction:column;gap:5px}.m3-snapshot-progress>span:last-child strong{font-size:15px;font-weight:500}.m3-snapshot-progress>span:last-child small{font-size:12px;line-height:1.5;color:var(--muted)}.m3-snapshot-facts{display:flex;flex-wrap:wrap;gap:18px 24px;margin:0}.m3-snapshot-facts>div{display:flex;flex-direction:column-reverse;gap:5px}.m3-snapshot-facts dt{font-size:12px;color:var(--muted)}.m3-snapshot-facts dd{margin:0;font-size:22px;line-height:1.4;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.m3-snapshot-facts .m3-snapshot-delivery{font-size:15px;line-height:2}@container (max-width:580px){.m3-production-snapshot{grid-template-columns:minmax(120px,.55fr) minmax(0,1fr);gap:16px}.m3-overview-artwork>img{max-height:260px}.m3-snapshot-content h2{font-size:21px}.m3-snapshot-facts{gap:12px}}@container (min-width:760px){.studio-shell .m3-overview .production-stage-list{grid-template-columns:repeat(3,minmax(0,1fr))}}.m3-overview-progress-panel{container-type:inline-size}.studio-shell .m3-overview .production-next-action{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.studio-shell .m3-overview .production-stage-inspector-heading{gap:10px;flex-wrap:wrap}.studio-shell .m3-overview .production-stage-inspector-heading>span{font-size:13px;font-weight:500;letter-spacing:normal;text-transform:none;color:var(--muted)}.studio-shell .m3-overview .production-stage-inspector-heading>strong{font-size:12px;font-weight:500;background:var(--subtle);color:var(--ink-soft)}.studio-shell .m3-overview .production-next-action h2{margin:6px 0 0;font-size:22px;font-weight:600;line-height:1.4;letter-spacing:normal}.studio-shell .m3-overview .production-next-action>p{font-size:15px;line-height:1.7;color:var(--ink-soft)}.studio-shell .m3-overview .production-next-actions{margin-top:16px}.studio-shell .m3-overview .production-next-actions>button{min-height:44px;padding:10px 14px;font-size:14px;font-weight:500;background:var(--accent);color:#fff;border:1px solid var(--accent)}.studio-shell .m3-overview .production-next-actions>button.secondary{background:var(--overview-panel);border-color:var(--line);color:var(--ink)}.studio-shell .m3-overview .production-blockers{margin:20px 0 0;padding:16px 0 0;border-radius:0;background:transparent}.studio-shell .m3-overview .production-blockers>h3{margin:0 0 8px;font-size:14px;font-weight:600}.m3-overview-attention-item{padding:12px 0;border-bottom:1px solid var(--line)}.m3-overview-attention-item:last-child{border-bottom:0;padding-bottom:0}.studio-shell .m3-overview .m3-overview-attention-item p{margin:0 0 8px;font-size:14px;line-height:1.6;color:var(--ink-soft)}.studio-shell .m3-overview .m3-overview-attention-item button{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--overview-panel);color:var(--ink);font-size:14px;font-weight:500}.studio-shell .m3-overview .m3-overview-attention-item button:hover{border-color:var(--line-strong);background:var(--subtle)}.studio-shell .m3-overview .production-blockers.clear{font-size:14px}.studio-shell .m3-overview .production-contract-workspace{margin:20px 0 0;gap:0}.studio-shell .m3-overview .production-spec-autopilot-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:12px 0;border:0;border-top:1px solid var(--line)}.studio-shell .m3-overview .production-setup-summary-icon{display:none}.studio-shell .m3-overview .production-spec-autopilot-facts{min-width:0;gap:5px}.studio-shell .m3-overview .production-spec-autopilot-facts small{font-size:14px;font-weight:600;color:var(--ink)}.studio-shell .m3-overview .production-spec-autopilot-facts strong{font-size:14px;line-height:1.6;font-weight:400;color:var(--muted)}.studio-shell .m3-overview .production-spec-autopilot-decision{justify-content:flex-start;gap:8px}.studio-shell .m3-overview .production-spec-autopilot-decision strong{font-size:14px;font-weight:500}.studio-shell .m3-overview .production-spec-autopilot-decision small{font-size:13px;line-height:1.5}.studio-shell .m3-overview .production-spec-autopilot-actions{display:flex;flex-wrap:wrap}.studio-shell .m3-overview :is(.production-spec-autopilot-actions,.production-director-actions) button{min-height:44px;max-width:100%;padding:8px 12px;font-size:14px;font-weight:500;white-space:normal}.m3-production-brief>summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-height:44px;cursor:pointer;list-style:none;color:var(--muted);font-size:12px}.m3-production-brief>summary::-webkit-details-marker{display:none}.m3-production-brief>summary .m3-brief-title{-webkit-margin-end:auto;margin-inline-end:auto;color:var(--ink);font-size:14px;font-weight:600}.m3-production-brief>summary svg{flex:none}.m3-production-brief[open]>summary svg,.production-recent-outputs[open]>summary svg{transform:rotate(180deg)}.studio-shell .m3-overview .m3-production-brief{padding:8px 0;border-top:1px solid var(--line)}.studio-shell .m3-overview .m3-production-brief dl{grid-template-columns:minmax(0,1fr);gap:18px;padding:14px 0;margin:0}.studio-shell .m3-overview .m3-production-brief dt{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:14px;font-weight:500}.studio-shell .m3-overview .m3-production-brief dt small{font-size:12px;font-weight:400}.studio-shell .m3-overview .m3-production-brief dd{margin:6px 0 0;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.studio-shell .m3-overview .m3-production-brief>p{font-size:13px;line-height:1.6}.studio-shell .m3-overview .production-director-strip{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin:0;padding:12px 0;border:0;border-radius:0;background:transparent}.studio-shell .m3-overview .production-director-icon{display:none}.studio-shell .m3-overview .production-director-copy{gap:6px}.studio-shell .m3-overview .production-director-copy small{font-size:13px;font-weight:500;letter-spacing:normal;text-transform:none;color:var(--muted)}.studio-shell .m3-overview .production-director-copy strong{font-size:15px;font-weight:600;line-height:1.5}.studio-shell .m3-overview .production-director-copy>span{font-size:13px;line-height:1.6}.studio-shell .m3-overview .production-director-actions{justify-content:flex-start;gap:8px}.studio-shell .m3-overview .production-director-mode{flex-basis:100%;width:-moz-fit-content;width:fit-content}.studio-shell .m3-overview .production-director-actions>button{background:var(--overview-panel);border:1px solid var(--line);color:var(--ink)}.studio-shell .m3-overview .production-credit-forecast{max-width:100%;font-size:13px}.studio-shell .m3-overview .production-credit-forecast>summary{min-height:44px;flex-wrap:wrap;font-size:13px}.studio-shell .m3-overview .production-decision-history{margin-top:20px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}.studio-shell .m3-overview .production-decision-history summary{min-height:44px;font-size:14px}.studio-shell .m3-overview .production-recent-outputs{display:block;margin:20px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}.studio-shell .m3-overview .production-recent-outputs>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:14px;font-weight:600;cursor:pointer;list-style:none}.studio-shell .m3-overview .production-recent-outputs>summary::-webkit-details-marker{display:none}.studio-shell .m3-overview .production-recent-outputs .m3-output-link{display:flex;align-items:center;gap:6px;min-height:44px;-webkit-margin-start:auto;margin-inline-start:auto;border:0;background:transparent;color:var(--accent);font-size:14px}.studio-shell .m3-overview .production-recent-outputs>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.studio-shell .m3-overview .production-recent-outputs article img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.studio-shell .m3-overview .production-recent-outputs article strong{font-size:13px;font-weight:500}.m3-overview-panels[data-compact=true]{display:flex;flex-direction:column;overflow:visible;gap:12px}.studio-workspace.production-overview-workspace:has(.m3-overview-panels[data-compact=true]){overflow-y:auto}.studio-shell .m3-overview:has(.m3-overview-panels[data-compact=true]){flex:none;overflow:visible}.m3-overview-panels[data-compact=true]>:is(.m3-overview-progress-panel,.m3-overview-actions-panel){overflow:visible;scrollbar-gutter:auto}@media(max-width:939px){.studio-workspace.production-overview-workspace:has(.m3-overview){overflow-y:auto}.studio-shell .production-overview.m3-overview{flex:none;overflow:visible}.m3-overview-panels{display:flex;flex-direction:column;overflow:visible;gap:12px}.m3-overview-panels>:is(.m3-overview-progress-panel,.m3-overview-actions-panel){padding:16px;overflow:visible;scrollbar-gutter:auto}.studio-shell .m3-overview .production-overview-header{flex-wrap:wrap;gap:4px 12px}.studio-shell .m3-overview .production-overview-header>time{-webkit-margin-start:32px;margin-inline-start:32px}.studio-shell .m3-overview .production-stage-list>button{grid-template-columns:minmax(0,1fr) auto 16px;grid-template-rows:auto auto;gap:5px 8px;padding:12px 0}.studio-shell .m3-overview .production-stage-state-wrap{grid-column:1;grid-row:2;align-items:start;-webkit-padding-start:28px;padding-inline-start:28px;min-width:0}.studio-shell .m3-overview .production-stage-count{grid-column:2;grid-row:1/3}.studio-shell .m3-overview .production-stage-chevron{grid-row:1/3;grid-column:3}.studio-shell .m3-overview .production-stage-list>button.next{padding-inline:8px}}.studio-shell .m3-overview .m3-overview-mode{display:flex;align-items:center;gap:8px;flex:none}.studio-shell .m3-overview .production-overview-header>time{-webkit-margin-start:auto;margin-inline-start:auto}@media(max-width:620px){.studio-shell .m3-overview .production-overview-header>time{display:none}.studio-shell .m3-overview .m3-overview-mode{-webkit-margin-start:32px;margin-inline-start:32px}}.studio-shell .m3-overview .production-stage-list>button:after{display:none}.studio-shell .m3-overview .production-next-action .production-next-actions>button:first-child{border-color:var(--brand-red)!important;background:var(--brand-red)!important}.studio-shell .m3-overview .production-next-action .production-next-actions>button:first-child:hover:not(:disabled){border-color:var(--accent-strong)!important;background:var(--accent-strong)!important}.studio-shell .m3-overview .complete .production-stage-state{color:var(--success)}.studio-shell .m3-overview .production-director-copy>:is(strong,span,em){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.studio-shell .m3-overview .production-credit-forecast summary span{font-size:13px;font-weight:400;line-height:1.5}.studio-shell .m3-overview .production-credit-forecast :is(.production-credit-measures,.production-credit-stages){grid-template-columns:repeat(2,minmax(0,1fr))}.studio-shell .m3-overview .production-credit-forecast :is(small,b){font-size:13px}.studio-shell .m3-overview .m3-production-brief{border-bottom:0}.studio-shell .m3-overview .production-spec-panel{margin-top:20px;padding:16px 0;border:0;border-top:1px solid var(--line);border-radius:0;font-size:14px}.production-spec-panel.load-error{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.production-spec-panel.load-error button{min-height:44px;padding:8px 12px;font-size:14px}.studio-shell .m3-overview .m3-overview-run-controls{border-top:1px solid var(--line);padding:8px 0}.studio-shell .m3-overview .m3-overview-run-controls>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;list-style:none;cursor:pointer;font-size:14px;font-weight:600}.studio-shell .m3-overview .m3-overview-run-controls>summary::-webkit-details-marker{display:none}.studio-shell .m3-overview .m3-overview-run-controls[open]>summary>svg{transform:rotate(180deg)}.studio-shell .m3-overview .m3-production-brief>.production-spec-autopilot-facts{padding-top:12px}@container (max-width:420px){.m3-production-snapshot{grid-template-columns:minmax(0,1fr);gap:16px}.m3-overview-artwork>img{height:220px}.m3-overview-artwork.is-empty{display:none}.m3-snapshot-progress{margin:16px 0}.m3-snapshot-facts{gap:20px}.m3-stage-status{padding:12px}.m3-stage-status-title{gap:6px}.m3-stage-status-title>svg:first-child{display:none}}.identity-dialog{width:min(800px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:min(860px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;margin:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);overflow:hidden}.identity-dialog[open]{display:flex;flex-direction:column}.identity-dialog::-webkit-backdrop{background:#0008}.identity-dialog::backdrop{background:#0008}.identity-dialog>footer,.identity-dialog>header{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px 18px;flex:none}.identity-dialog>header{border-bottom:1px solid var(--line)}.identity-dialog>footer{border-top:1px solid var(--line);flex-wrap:wrap}.identity-dialog>header>div{min-width:0}.identity-dialog h2{font-size:18px;margin:0}.identity-dialog h3{font-size:15px;margin:16px 0 10px}.identity-dialog header p{font-size:12px;margin:5px 0 0;color:var(--muted)}.identity-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px;flex:1 1}.identity-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.identity-dialog fieldset:disabled{opacity:.7}.identity-dialog label{display:flex;flex-direction:column;gap:6px;font-size:12px;margin-bottom:12px;min-width:0}.identity-dialog input,.identity-dialog select,.identity-dialog textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:6px;padding:10px;background:var(--subtle);color:var(--ink);font:inherit;min-height:44px}.identity-dialog textarea{resize:vertical}.identity-dialog input[type=file]{overflow:hidden}.identity-dialog button,.identity-dialog summary,.identity-summary button,.identity-summary summary,.identity-view-row a{min-height:44px}.identity-dialog button{border:1px solid var(--line);border-radius:6px;padding:8px 12px;background:var(--subtle);color:var(--ink);cursor:pointer;font-size:12px}.identity-dialog button:disabled{opacity:.45;cursor:default}.identity-dialog footer>span{flex:1 1;font-size:12px;min-width:100px}.identity-form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:0 14px;gap:0 14px}.identity-dialog summary,.identity-summary summary{display:flex;align-items:center;cursor:pointer;font-size:13px;font-weight:600}.identity-dialog details,.identity-summary details{border-top:1px solid var(--line);padding:6px 0}.identity-notice{padding:10px 12px;-webkit-border-start:3px solid var(--accent);border-inline-start:3px solid var(--accent);background:var(--subtle);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.identity-notice button{display:block;margin-top:8px}.identity-view-list{display:flex;flex-direction:column;gap:10px}.identity-view-row{display:grid;grid-template-columns:112px minmax(0,1fr);grid-gap:12px;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.identity-view-row img{width:112px;height:112px;object-fit:contain;background:var(--subtle);border-radius:6px}.identity-view-row .identity-check{flex-direction:row;align-items:center;min-height:44px}.identity-check input[type=checkbox]{width:20px;min-height:20px;flex:none}.identity-view-row a{overflow-wrap:anywhere;color:var(--ink)}.identity-history,.identity-view-row a{display:flex;align-items:center;font-size:12px}.identity-history{justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:6px 0}.identity-summary{min-width:0;font-size:12px}.identity-summary-heading{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.identity-summary-heading>span{color:var(--muted)}.identity-originals{display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));grid-gap:8px;gap:8px}.identity-originals a{min-width:0;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}.identity-originals img{width:100%;height:100px;object-fit:contain;background:var(--subtle);border-radius:6px}.identity-originals span{display:block;margin:5px 0;font-size:11px}.identity-summary dl{margin:12px 0}.identity-summary dl>div{padding:6px 0;border-bottom:1px solid var(--line)}.identity-summary dt{color:var(--muted)}.identity-summary dd{margin:4px 0 0;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.identity-shot-link{display:block;text-align:start;width:100%;padding:8px}.identity-summary p{line-height:1.6;overflow-wrap:anywhere}.identity-fidelity-review{border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.identity-fidelity-review>summary{min-height:44px;cursor:pointer}.identity-fidelity-review .identity-summary{margin-bottom:16px}.storyboard-reference-details .identity-original-reference{display:block}.identity-original-reference img{width:72px;height:72px;object-fit:contain}.identity-original-reference p{white-space:pre-wrap;line-height:1.5}@media(max-width:500px){.identity-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.identity-dialog>footer,.identity-dialog>header{padding:10px 12px;gap:8px}.identity-dialog-body{padding:12px}.identity-form-grid{grid-template-columns:1fr}.identity-dialog footer>span{flex-basis:100%}.identity-dialog footer>button{flex:1 1}.identity-view-row{grid-template-columns:80px minmax(0,1fr)}.identity-view-row img{width:80px;height:90px}.identity-dialog h2{font-size:16px}}.identity-generated-history{min-width:0;border-top:1px solid var(--line);font-size:12px}.identity-generated-history summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600}.identity-generated-history .identity-history{flex-wrap:wrap}.identity-generated-history button{min-height:44px;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:start;flex:1 1}.identity-generated-history a{min-height:44px;display:flex;align-items:center;color:var(--ink)}.studio-shell :is(.m3-project-library,.workspace-team.m3-team){--directory-canvas:#f4f4f2;--directory-panel:#fff;display:flex;flex-direction:column;flex:1 1 auto;min-width:0;min-height:0;padding:0;gap:12px;border:0;border-radius:0;background:var(--directory-canvas);overflow:hidden;scrollbar-gutter:auto;box-shadow:none}html[data-theme=dark] .studio-shell :is(.m3-project-library,.workspace-team.m3-team){--directory-canvas:var(--bg);--directory-panel:var(--surface)}.studio-shell .m3-project-library .project-manager-controls{flex:none;padding:12px 16px;gap:12px;border:0;border-radius:12px;background:var(--directory-panel)}.studio-shell .m3-project-library .project-title-group h2{font-size:20px;font-weight:600;letter-spacing:normal}.studio-shell .m3-project-library .project-title-group>span{font-size:13px;padding:3px 8px;color:var(--ink-soft)}.studio-shell .m3-project-library .project-controls-topline{min-height:44px}.studio-shell .m3-project-library .project-hub-create{font-size:14px;padding-inline:14px}.studio-shell .m3-project-library .project-production-row{padding:3px;border-radius:9px;background:var(--directory-canvas);gap:2px}.studio-shell .m3-project-library .project-production-row button{font-size:14px;padding-inline:14px;min-height:38px}.studio-shell .m3-project-library .project-production-row button.active{background:var(--directory-panel);color:var(--accent);box-shadow:0 1px 3px #0000000d}.studio-shell .m3-project-library :is(.project-library-search input,.project-layout-toggle>select,.project-filter-trigger){font-size:14px}.studio-shell .m3-project-library .project-library-search{width:240px;background:var(--directory-panel)}.studio-shell .m3-project-library>.project-board{flex:1 1 auto;min-height:0;grid-auto-rows:max-content;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 2px 16px;gap:16px}.studio-shell:has(:is(.m3-project-library,.m3-team)) .studio-nav-button.active .studio-nav-label{color:var(--accent-strong)}.studio-shell:has(:is(.m3-project-library,.m3-team)) .production-sidebar-stage{min-height:28px}html[data-theme=dark] .studio-shell :is(.m3-project-library .project-hub-create,.m3-team .workspace-team-primary){background:color-mix(in srgb,var(--accent) 75%,#000);color:#fff}.studio-shell .m3-project-library>.show-series-library{flex:1 1 auto;min-height:0;overflow-y:auto}.studio-shell .m3-project-library .project-board-card{cursor:default;border-radius:12px;background:var(--directory-panel);overflow:hidden;transform:none;box-shadow:none}.studio-shell .m3-project-library .project-board-card:is(:hover,.active){transform:none;box-shadow:none;background:var(--directory-panel);border-color:var(--line-strong)}.studio-shell .m3-project-library .project-board:not(.list-view) .project-board-card{display:flex;flex-direction:column;height:auto;align-self:stretch;align-items:stretch}.studio-shell .m3-project-library .project-board:not(.list-view) .project-board-cover{aspect-ratio:16/9;flex:none}.studio-shell .m3-project-library .project-board:not(.list-view) .project-board-card-footer{display:flex;flex:1 1;flex-direction:column;gap:10px;padding:16px}.project-board-identity{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}.project-board-identity h3{margin:0;font-size:17px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.project-board-identity time{flex:none;font-size:12px;color:var(--muted)}.studio-shell .project-hub.m3-project-library .project-board .project-board-list-detail{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;font-size:14px;font-weight:400;line-height:1.6;color:var(--muted)}.studio-shell .m3-project-library .project-board-card-meta{gap:12px;margin:0;font-size:12px;line-height:1.5}.studio-shell .m3-project-library .project-board-card-meta span{font-size:12px}.studio-shell .m3-project-library .project-board-next-action{display:block;margin:auto 0 0;padding-top:12px;font-size:14px;line-height:1.5;font-weight:500;color:var(--ink-soft)}.project-board-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px}.project-board-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--ink);font-size:14px;font-weight:500;text-align:start}.project-board-actions .project-board-open-production{border-color:transparent;background:var(--subtle)}.project-board-actions button:hover{border-color:var(--line-strong);background:var(--subtle)}.project-board-actions .project-board-details{border-color:transparent;color:var(--muted)}.project-board-actions .project-board-open-production svg{flex:none;color:var(--accent)}[dir=rtl] .project-board-open-production svg{transform:rotate(180deg)}.studio-shell .m3-project-library .project-board.list-view .project-board-card{grid-template-columns:140px minmax(0,1fr);border-radius:12px;min-height:120px}.studio-shell .m3-project-library .project-board.list-view .project-board-cover{grid-column:1;border-radius:0;-webkit-clip-path:none;clip-path:none;min-height:120px}.studio-shell .m3-project-library .project-board.list-view .project-board-card-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:6px 20px;gap:6px 20px;padding:14px 18px}.m3-project-library .project-board.list-view .project-board-identity{grid-column:1}.studio-shell .m3-project-library .project-board.list-view .project-board-list-detail{grid-column:1;-webkit-line-clamp:1}.studio-shell .m3-project-library .project-board.list-view .project-board-card-meta{grid-column:1}.studio-shell .m3-project-library .project-board.list-view .project-board-next-action{grid-column:1;border:0;padding:0;margin:0}.m3-project-library .project-board.list-view .project-board-actions{grid-column:2;grid-row:1/5;align-content:center;flex-direction:column;align-items:stretch}.m3-project-library .project-board:is(.cards-5,.cards-6) .project-board-identity{flex-wrap:wrap;gap:4px}.m3-project-library .project-board:is(.cards-5,.cards-6) .project-board-actions{align-items:stretch;flex-direction:column}.workspace-team-invite-dialog{overflow:hidden}.workspace-team-invite-dialog>:is(header,ol,footer){flex:none}.workspace-team-invite-dialog>.workspace-team-invite-stage{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.studio-shell .m3-team .workspace-team-header{flex:none;min-height:60px;padding:8px 16px;border:0;border-radius:12px;background:var(--directory-panel);gap:16px}.m3-team .workspace-team-heading{display:flex;align-items:center;gap:10px}.m3-team .workspace-team-heading>svg{color:var(--accent);flex:none}.studio-shell .m3-team .workspace-team-header h1{margin:0;font-size:20px;font-weight:600;line-height:1.4;letter-spacing:normal}.m3-team .workspace-team-heading>span{padding:3px 8px;border-radius:5px;font-size:13px;background:var(--directory-canvas);color:var(--muted)}.m3-team .workspace-team-primary{min-height:44px;font-size:14px;font-weight:500;white-space:normal}.m3-team-capacity-details{min-width:0;margin:16px 20px 0;border-top:1px solid var(--line);background:var(--directory-panel)}.m3-team-capacity-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:8px 0;list-style:none;cursor:pointer;font-size:14px}.m3-team-capacity-details>summary>span{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;color:var(--muted)}.m3-team-capacity-details>summary b{color:var(--ink);font-weight:500}.m3-team-capacity-details>summary::-webkit-details-marker,.m3-team-role-details>summary::-webkit-details-marker{display:none}.m3-team-capacity-details[open]>summary>span:last-child>svg,.m3-team-role-details[open]>summary>svg:last-child{transform:rotate(180deg)}.studio-shell .m3-team .workspace-team-capacity{margin:0;padding:12px 16px 16px;border:0;border-radius:0;background:transparent;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:16px}.m3-team .workspace-team-capacity-facts dt,.m3-team .workspace-team-capacity-main small,.m3-team .workspace-team-capacity-meter span{font-size:12px;letter-spacing:normal;text-transform:none}.m3-team .workspace-team-capacity-main strong{font-size:18px}.m3-team .workspace-team-plan-note{margin:0 16px 16px;padding:12px;border-radius:8px}.m3-team .workspace-team-plan-note :is(strong,span,a){font-size:13px;line-height:1.6}.studio-shell .m3-team .workspace-team-directory{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0;margin:0;border:1px solid var(--line);border-radius:12px;background:var(--directory-panel);overflow:hidden}.m3-team .workspace-team-directory-header{flex:none;min-height:64px;padding:10px 16px;border:0;gap:12px;background:transparent}.m3-team .workspace-team-tabs{gap:2px;padding:3px;border-radius:9px;background:var(--directory-canvas)}.m3-team .workspace-team-tabs button{min-height:38px;padding:8px 14px;border:0;border-radius:7px;font-size:14px;font-weight:500}.m3-team .workspace-team-tabs button.active{background:var(--directory-panel);color:var(--accent);box-shadow:0 1px 3px #0000000d}.m3-team .workspace-team-tabs button:after{display:none}.m3-team .workspace-team-tabs b{font-size:12px}.m3-team .workspace-team-directory-count{font-size:13px}.m3-team .workspace-team-toolbar{flex:none;gap:8px;padding:2px 16px 16px;min-height:60px;flex-wrap:wrap}.m3-team .workspace-team-toolbar>label{min-height:44px;background:var(--directory-panel);border-radius:8px}.m3-team .workspace-team-toolbar :is(input,select){font-size:14px;font-weight:400}.m3-team .workspace-team-toolbar .workspace-team-search{flex:1 1;min-width:200px}.m3-team .workspace-team-clear{font-size:13px;min-height:44px}.m3-team .workspace-team-directory-layout{display:block;flex:1 1 auto;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.m3-team .workspace-team-list{overflow:visible;min-width:0}.m3-team :is(.workspace-team-table-head,.workspace-team-member){grid-template-columns:minmax(200px,1.35fr) minmax(120px,1fr) minmax(160px,1fr) minmax(100px,.7fr) 100px;min-width:0;gap:16px;padding:16px 20px}.m3-team .workspace-team-table-head{position:-webkit-sticky;position:sticky;top:0;z-index:1;min-height:44px;padding-block:12px;background:var(--directory-canvas);font-size:12px;font-weight:500;text-transform:none;letter-spacing:normal}.m3-team .workspace-team-member{min-height:98px}.m3-team .workspace-team-person strong{font-size:15px;font-weight:600;line-height:1.5}.m3-team .workspace-team-person small{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.m3-team .workspace-team-person em{font-size:11px}.m3-team .workspace-team-avatar{width:40px;height:40px;font-size:15px}.m3-team .workspace-team-access-summary strong{font-size:14px;font-weight:500}.m3-team .workspace-team-access-summary small,.m3-team .workspace-team-credit-summary small{font-size:12px;line-height:1.6}.m3-team .workspace-team-credit-summary>span{font-size:14px;font-weight:500}.m3-team .workspace-team-status{font-size:12px}.m3-team .workspace-team-manage{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-size:14px;font-weight:500}.m3-team-role-details{margin:0 20px 16px;border-top:1px solid var(--line)}.m3-team-role-details>summary{display:flex;align-items:center;gap:10px;min-height:48px;list-style:none;cursor:pointer;font-size:14px;color:var(--muted)}.m3-team-role-details>summary>svg:last-child{-webkit-margin-start:auto;margin-inline-start:auto}.studio-shell .m3-team .workspace-team-role-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px;margin:0;padding:8px 0 16px;border:0;background:transparent}.m3-team .workspace-team-role-guide>p{grid-column:1/-1;font-size:14px;margin:0}.m3-team .workspace-team-role-guide>div{margin:0;padding:12px 0;border:0}.m3-team .workspace-team-role-guide strong{font-size:14px}.m3-team .workspace-team-role-guide p{font-size:13px;line-height:1.65}.m3-team .workspace-team-activity-list{padding:8px 20px}.m3-team .workspace-team-activity-list :is(strong,span){font-size:14px}.m3-team .workspace-team-activity-list small{font-size:12px}@media(max-width:1200px){.m3-team :is(.workspace-team-table-head,.workspace-team-member){grid-template-columns:minmax(190px,1.2fr) minmax(100px,.8fr) minmax(140px,1fr) 90px;gap:12px}.m3-team .workspace-team-status,.m3-team .workspace-team-table-head>span:nth-child(4){display:none}.studio-shell .m3-team .workspace-team-capacity{grid-template-columns:1fr 1fr}.m3-team .workspace-team-capacity-facts{grid-column:1/-1}}@media(max-width:939px){.studio-workspace.team-workspace:has(.m3-team),.studio-workspace:has(>.m3-project-library){overflow-y:auto}.studio-shell :is(.m3-project-library,.workspace-team.m3-team){flex:none;overflow:visible}.m3-team .workspace-team-directory-layout,.studio-shell .m3-project-library>.project-board,.studio-shell .m3-team .workspace-team-directory{flex:none;overflow:visible;scrollbar-gutter:auto}.m3-team-capacity-details{max-height:none;overflow:visible}.m3-team :is(.workspace-team-table-head,.workspace-team-member){grid-template-columns:minmax(150px,1fr) minmax(100px,1fr) 90px}.m3-team .workspace-team-table-head>span:nth-child(3){display:none}.m3-team .workspace-team-credit-summary{grid-column:2}.m3-team .workspace-team-manage{grid-column:3;grid-row:1/3;align-self:center}.m3-team .workspace-team-person{grid-row:1/3}.m3-team .workspace-team-member{row-gap:8px}}@media(max-width:620px){.studio-shell .m3-project-library>.project-board{-webkit-padding-after:calc(var(--mobile-navigation-height) + 16px + env(safe-area-inset-bottom));padding-block-end:calc(var(--mobile-navigation-height) + 16px + env(safe-area-inset-bottom))}.studio-shell .m3-project-library .project-manager-controls{padding:10px 12px}.studio-shell .m3-project-library .project-controls-utilities{grid-template-columns:1fr 1fr}.studio-shell .m3-project-library .project-library-search{width:100%}.studio-shell .m3-project-library :is(.project-library-search input,.project-layout-toggle>select){font-size:16px}.studio-shell .m3-project-library .project-board:not(.list-view){grid-template-columns:minmax(0,1fr)}.studio-shell .m3-project-library .project-board.list-view .project-board-card{grid-template-columns:84px minmax(0,1fr)}.studio-shell .m3-project-library .project-board.list-view .project-board-card-footer{display:flex;flex-direction:column;align-items:stretch;padding:12px;gap:8px}.m3-project-library .project-board.list-view .project-board-actions{flex-direction:row}.project-board-identity{flex-wrap:wrap;gap:4px}.studio-shell .m3-team .workspace-team-header{flex-direction:row;flex-wrap:wrap;padding:8px 12px}.m3-team .workspace-team-primary{width:auto}.m3-team-capacity-details{margin-inline:12px}.m3-team-capacity-details>summary{font-size:13px}.studio-shell .m3-team .workspace-team-capacity{grid-template-columns:1fr}.m3-team .workspace-team-directory-header{padding:10px 12px;flex-wrap:wrap}.m3-team .workspace-team-tabs{max-width:100%;gap:0}.m3-team .workspace-team-tabs button{padding:8px;font-size:13px;gap:5px}.m3-team .workspace-team-tabs button>svg{display:none}.m3-team .workspace-team-directory-count{-webkit-margin-start:auto;margin-inline-start:auto}.m3-team .workspace-team-toolbar{display:grid;grid-template-columns:1fr 1fr;padding:0 12px 12px;grid-gap:8px;gap:8px}.m3-team .workspace-team-toolbar>label{min-width:0;width:auto}.m3-team .workspace-team-toolbar .workspace-team-search{grid-column:1/-1;min-width:0}.m3-team .workspace-team-toolbar :is(input,select){font-size:16px;min-width:0;max-width:100%}.m3-team .workspace-team-table-head{display:none}.m3-team .workspace-team-member{grid-template-columns:minmax(0,1fr) auto;padding:16px 12px;gap:12px}.m3-team .workspace-team-person{grid-column:1/-1;grid-row:auto}.m3-team .workspace-team-access-summary,.m3-team .workspace-team-credit-summary{grid-column:1}.m3-team .workspace-team-manage{grid-column:2;grid-row:2/4}.m3-team-role-details{margin-inline:12px}.studio-shell .m3-team .workspace-team-role-guide{grid-template-columns:1fr;gap:4px}}