.sa-workspace{--sa-bg: #0b0c0d;--sa-panel: #111315;--sa-panel-raised: #17191b;--sa-hover: #1b1e20;--sa-border: #2b2f32;--sa-border-strong: #50565b;--sa-text: #f1f2f0;--sa-muted: #989da2;--sa-subtle: #6f757b;--sa-accent: #e5e7e2;--sa-accent-ink: #121415;--sa-danger: #d19a96;display:grid;grid-template-rows:72px minmax(0,1fr);min-width:0;min-height:100vh;color:var(--sa-text);background:var(--sa-bg)}.sa-workspace[data-mode=embedded],.sa-workspace[data-mode=studio]{grid-template-rows:minmax(0,1fr);min-height:0;height:100%;background:transparent}.sa-workspace[data-mode=studio] .sa-layout{grid-template-columns:196px minmax(0,1fr)}.sa-workspace[data-mode=studio] .sa-tabs{padding-top:18px}.sa-workspace[data-mode=studio] .sa-content{padding-top:24px;padding-bottom:32px}.sa-workspace *,.sa-workspace *:before,.sa-workspace *:after{box-sizing:border-box}:where(.sa-workspace) button,:where(.sa-workspace) input,:where(.sa-workspace) select,:where(.sa-workspace) textarea{color:inherit;font:inherit;letter-spacing:0}:where(.sa-workspace) button{cursor:pointer}:where(.sa-workspace) button:focus-visible,:where(.sa-workspace) a:focus-visible{outline:none;box-shadow:inset 0 0 0 1px #777d80}:where(.sa-workspace) input:focus,:where(.sa-workspace) select:focus,:where(.sa-workspace) textarea:focus,:where(.sa-workspace) input:focus-visible,:where(.sa-workspace) select:focus-visible,:where(.sa-workspace) textarea:focus-visible{outline:none;box-shadow:none}.sa-header{position:relative;z-index:5;display:grid;grid-template-columns:36px minmax(180px,1fr) auto minmax(180px,1fr);align-items:center;gap:12px;min-width:0;padding:0 24px;background:#0d0e0f;border-bottom:1px solid var(--sa-border)}.sa-context{display:grid;min-width:0;gap:2px}.sa-context span,.sa-context strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sa-context span{color:var(--sa-muted);font-size:11px}.sa-context strong{font-size:14px;font-weight:650}.sa-header-title{display:flex;align-items:baseline;gap:9px;color:#d7d9d6}.sa-header-title span{font-size:14px;font-weight:650}.sa-header-title small{color:var(--sa-subtle);font-size:11px}.sa-create-button{justify-self:end}.sa-icon-button{display:inline-grid;flex:0 0 34px;width:34px;height:34px;padding:0;place-items:center;color:#aeb2b4;background:transparent;border:1px solid transparent;border-radius:4px}.sa-icon-button:hover:not(:disabled){color:#fff;background:var(--sa-hover);border-color:var(--sa-border)}.sa-icon-button:disabled{cursor:default;opacity:.38}.sa-icon-button svg{width:17px;height:17px}.sa-icon-button-danger:hover:not(:disabled){color:var(--sa-danger);background:#211919;border-color:#4b3030}.sa-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;gap:8px;padding:0 14px;color:#d7d9d6;background:var(--sa-panel-raised);border:1px solid var(--sa-border);border-radius:4px;font-size:13px;font-weight:600}.sa-button:hover:not(:disabled){color:#fff;background:#202326;border-color:var(--sa-border-strong)}.sa-button:disabled{cursor:default;opacity:.42}.sa-button svg{width:16px;height:16px}.sa-button-primary{color:var(--sa-accent-ink);background:var(--sa-accent);border-color:var(--sa-accent)}.sa-button-primary:hover:not(:disabled){color:#0b0c0d;background:#fff;border-color:#fff}.sa-button-primary:disabled{color:#777d79;background:#292c2a;border-color:#393d3a;opacity:1}.sa-button-danger{color:#e2b6b2;background:#261b1b;border-color:#5b3737}.sa-button-danger:hover:not(:disabled){color:#f0cecb;background:#302020;border-color:#795050}.sa-layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-width:0;min-height:0}.sa-tabs{min-width:0;padding:24px 14px;background:#0e1011;border-right:1px solid var(--sa-border)}.sa-tabs-heading{display:grid;gap:3px;padding:0 10px 16px}.sa-tabs-heading strong{font-size:13px}.sa-tabs-heading span{color:var(--sa-subtle);font-size:11px}.sa-tabs-list{display:grid;gap:4px}.sa-tabs-list button{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;min-height:42px;gap:10px;padding:0 10px;color:var(--sa-muted);text-align:left;background:transparent;border:1px solid transparent;border-radius:4px}.sa-tabs-list button:hover{color:#d5d8d5;background:#151719}.sa-tabs-list button.is-current{color:#fff;background:#1c1f21;border-color:#303438}.sa-tabs-list svg{width:17px;height:17px}.sa-tabs-list span{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.sa-tabs-list small{min-width:20px;color:var(--sa-subtle);font-size:11px;text-align:right;font-variant-numeric:tabular-nums}.sa-tabs-list button.is-current small{color:#b7bbbd}.sa-content{min-width:0;min-height:0;padding:32px clamp(24px,5vw,72px) 56px;overflow:auto}.sa-content-header{display:flex;align-items:end;justify-content:space-between;max-width:1120px;gap:24px;margin:0 auto 22px;padding-bottom:18px;border-bottom:1px solid var(--sa-border)}.sa-content-header h1{margin:0 0 6px;font-size:22px;font-weight:680}.sa-content-header p{margin:0;color:var(--sa-muted);font-size:13px}.sa-content-actions{display:flex;align-items:center;flex:0 0 auto;gap:12px}.sa-count{flex:0 0 auto;color:var(--sa-subtle);font-size:12px;font-variant-numeric:tabular-nums}.sa-assets-list{display:grid;max-width:1120px;margin:0 auto;border-top:1px solid var(--sa-border)}.sa-asset-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;min-height:96px;gap:16px;padding:14px 12px;background:transparent;border-bottom:1px solid var(--sa-border)}.sa-asset-row:hover{background:#0f1112}.sa-asset-glyph{display:grid;width:52px;height:52px;place-items:center;color:#c9ccca;background:var(--sa-panel-raised);border:1px solid #33373a;border-radius:5px}.sa-asset-glyph svg{width:22px;height:22px;stroke-width:1.7}.sa-asset-copy{display:grid;min-width:0;gap:6px}.sa-asset-name{display:flex;align-items:center;min-width:0;gap:9px}.sa-asset-name h2{min-width:0;margin:0;overflow:hidden;font-size:14px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.sa-asset-name span{flex:0 0 auto;padding:2px 6px;color:#aeb3b0;background:#1a1d1f;border:1px solid #303437;border-radius:3px;font-size:10px}.sa-asset-name span[data-status=ACTIVE]{color:#a9c5a6;border-color:#3b4d3b}.sa-asset-name .sa-episode-selection{display:inline-flex;align-items:center;flex:0 0 auto;gap:6px;min-height:28px;margin-left:3px;padding:0 8px;color:#c8ccca;background:#151719;border:1px solid #34383b;border-radius:4px;cursor:pointer;font-size:11px}.sa-asset-name .sa-episode-selection:hover{color:#fff;border-color:#555b5f}.sa-episode-selection input{width:14px;height:14px;margin:0;accent-color:#e5e7e2}.sa-asset-name .sa-episode-selection span{padding:0;color:inherit;background:transparent;border:0;font-size:inherit}.sa-asset-copy p{min-width:0;margin:0;overflow:hidden;color:var(--sa-muted);font-size:12px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.sa-asset-copy small{color:var(--sa-subtle);font-size:10px}.sa-row-actions{display:flex;gap:4px}.sa-loading,.sa-state-panel{display:grid;justify-items:center;width:min(100%,620px);min-height:320px;margin:32px auto 0;padding:64px 24px;align-content:center;color:var(--sa-muted);text-align:center;background:var(--sa-panel);border:1px solid var(--sa-border);border-radius:5px}.sa-loading>svg,.sa-state-panel>svg{width:24px;height:24px;margin-bottom:16px;color:#aeb2b4}.sa-state-panel .sa-asset-glyph{margin-bottom:18px}.sa-loading strong,.sa-state-panel h2{margin:0 0 8px;color:#dedfdd;font-size:15px}.sa-loading span,.sa-state-panel p{max-width:420px;margin:0 0 20px;color:var(--sa-muted);font-size:12px;line-height:1.65}.sa-modal-layer{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#000000ad}.sa-editor{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(100%,600px);max-height:min(780px,calc(100vh - 48px));overflow:hidden;color:var(--sa-text);background:#121416;border:1px solid #3a3e41;border-radius:6px;box-shadow:0 24px 70px #0000006b}.sa-editor-header{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:12px 18px 12px 22px;border-bottom:1px solid var(--sa-border)}.sa-editor-header>div{display:grid;gap:3px}.sa-editor-header span{color:var(--sa-subtle);font-size:10px}.sa-editor-header h2{margin:0;font-size:16px}.sa-form{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0}.sa-form-body{display:grid;gap:18px;min-height:0;padding:22px;overflow:auto}.sa-field{display:grid;gap:8px}.sa-field>span{color:#c9ccca;font-size:12px;font-weight:600}.sa-field em{margin-left:4px;color:var(--sa-subtle);font-size:10px;font-style:normal;font-weight:400}.sa-field input,.sa-field select,.sa-field textarea{width:100%;min-width:0;padding:10px 11px;color:#e5e6e4;background:#0d0f10;border:0;border-radius:4px;font-size:13px;line-height:1.5}.sa-field input,.sa-field select{height:40px}.sa-field textarea{min-height:84px;resize:vertical}.sa-field input::placeholder,.sa-field textarea::placeholder{color:#858b8f}.sa-field input:disabled,.sa-field select:disabled,.sa-field textarea:disabled{opacity:.62}.sa-inline-error{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;padding:10px 12px;color:#dfb0ac;background:#211919;border:1px solid #503434;border-radius:4px;font-size:12px;line-height:1.5}.sa-inline-error svg{width:17px;height:17px;margin-top:1px}.sa-editor-footer{display:flex;justify-content:flex-end;gap:9px;min-height:66px;padding:14px 22px;background:#101214;border-top:1px solid var(--sa-border)}.sa-confirm{display:grid;grid-template-columns:42px minmax(0,1fr);width:min(100%,460px);gap:14px;padding:22px;color:var(--sa-text);background:#121416;border:1px solid #3a3e41;border-radius:6px;box-shadow:0 24px 70px #0000006b}.sa-confirm-icon{display:grid;width:42px;height:42px;place-items:center;color:#d4aaa7;background:#241b1b;border:1px solid #513737;border-radius:5px}.sa-confirm-icon svg{width:19px;height:19px}.sa-confirm h2{margin:1px 0 8px;font-size:16px}.sa-confirm p{margin:0;color:var(--sa-muted);font-size:12px;line-height:1.65}.sa-confirm-error{margin-top:10px;color:#dfb0ac;font-size:11px}.sa-confirm footer{display:flex;grid-column:1 / -1;justify-content:flex-end;gap:9px;margin-top:8px}.sa-media-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(100%,1040px);max-height:min(820px,calc(100vh - 48px));overflow:hidden;color:var(--sa-text);background:#101214;border:1px solid #3a3e41;border-radius:6px;box-shadow:0 24px 70px #0000006b}.sa-media-header{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:12px 18px 12px 22px;border-bottom:1px solid var(--sa-border)}.sa-media-header>div{display:grid;gap:3px}.sa-media-header span{color:var(--sa-subtle);font-size:10px}.sa-media-header h2{margin:0;font-size:16px}.sa-media-header small{color:#a8aca9;font-size:10px}.sa-media-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);min-height:0}.sa-media-stage{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:440px;padding:22px;background:#0b0d0e;border-right:1px solid var(--sa-border)}.sa-media-stage>img,.sa-media-stage>video,.sa-media-stage>audio{align-self:center;justify-self:center;max-width:100%;max-height:500px}.sa-media-stage>img,.sa-media-stage>video{width:100%;height:100%;object-fit:contain}.sa-media-stage>audio{width:min(100%,520px)}.sa-media-placeholder{display:grid;align-content:center;justify-items:center;min-height:320px;gap:9px;color:var(--sa-subtle);text-align:center;background:#0f1112;border:1px dashed #34383b;border-radius:5px}.sa-media-placeholder svg{width:28px;height:28px;margin-bottom:5px}.sa-media-placeholder strong{color:#d5d7d4;font-size:14px}.sa-media-placeholder span{max-width:340px;padding:0 20px;font-size:11px;line-height:1.6}.sa-media-stage-meta{display:flex;align-items:center;justify-content:space-between;min-height:46px;gap:16px;padding-top:14px}.sa-media-stage-meta>div{display:grid;gap:3px}.sa-media-stage-meta strong{font-size:12px}.sa-media-stage-meta span{color:var(--sa-subtle);font-size:10px}.sa-media-stage-meta a{display:grid;width:32px;height:32px;place-items:center;color:#aeb2b4;border:1px solid var(--sa-border);border-radius:4px}.sa-media-stage-meta a:hover{color:#fff;background:var(--sa-hover)}.sa-media-stage-meta svg{width:15px;height:15px}.sa-media-history{min-width:0;min-height:0;padding:18px;overflow:auto;background:#121416}.sa-media-history-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.sa-media-history-title>div{display:grid;margin-right:auto;gap:2px}.sa-media-history-title strong{font-size:13px}.sa-media-history-title span{color:var(--sa-subtle);font-size:10px}.sa-media-history-title .sa-button{min-height:32px;padding:0 10px;font-size:11px}.sa-media-add-form{display:grid;gap:12px;margin-bottom:14px;padding:14px;background:#0e1011;border:1px solid var(--sa-border);border-radius:4px}.sa-media-add-form>div{display:flex;justify-content:flex-end;gap:8px}.sa-media-add-form .sa-button{min-height:32px;font-size:11px}.sa-generation-form textarea{min-height:98px}.sa-media-add-form>.sa-generation-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px}.sa-generation-options .sa-field{gap:6px}.sa-generation-options .sa-field>span{color:var(--sa-subtle);font-size:10px}.sa-generation-options .sa-field select{height:36px;padding:7px 8px;font-size:11px}.sa-reference-options{display:flex;flex-wrap:wrap;gap:7px 12px;min-width:0;margin:0;padding:10px 0 2px;border:0;border-top:1px solid var(--sa-border)}.sa-reference-options legend{width:100%;padding:0 0 7px;color:var(--sa-subtle);font-size:10px}.sa-reference-options label{display:inline-flex;align-items:center;gap:6px;color:#b8bcba;font-size:11px}.sa-reference-options input{width:14px;height:14px;margin:0;accent-color:#d7d9d6}.sa-generation-status{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;margin-bottom:14px;padding:11px 12px;color:#b9bdba;background:#0e1011;border-top:1px solid var(--sa-border);border-bottom:1px solid var(--sa-border)}.sa-generation-status>svg{width:16px;height:16px;margin-top:1px}.sa-generation-status>span{display:grid;gap:3px}.sa-generation-status strong{font-size:11px}.sa-generation-status small{color:var(--sa-subtle);font-size:10px;line-height:1.5}.sa-generation-status.is-failed{color:#dfb0ac;border-color:#4b3030}.sa-media-empty{display:grid;justify-items:center;gap:14px;padding:46px 14px;color:var(--sa-subtle);text-align:center;border-top:1px solid var(--sa-border)}.sa-media-empty span{font-size:11px}.sa-version-list{display:grid;gap:7px}.sa-version-item{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;min-width:0;min-height:62px;gap:10px;padding:5px;color:var(--sa-muted);text-align:left;background:#0e1011;border:1px solid var(--sa-border);border-radius:4px}.sa-version-item:hover,.sa-version-item.is-selected{color:#fff;background:#191c1e;border-color:var(--sa-border-strong)}.sa-version-thumb{display:grid;width:54px;height:50px;overflow:hidden;place-items:center;background:#1c1f21;border-radius:3px}.sa-version-thumb img{width:100%;height:100%;object-fit:cover}.sa-version-thumb svg{width:18px;height:18px}.sa-version-copy{display:grid;min-width:0;gap:4px}.sa-version-copy strong{font-size:12px}.sa-version-copy small{color:var(--sa-subtle);font-size:9px}.sa-version-current{display:inline-flex;align-items:center;gap:3px;padding-right:6px;color:#a9c5a6;font-size:9px;white-space:nowrap}.sa-version-current svg{width:12px;height:12px}.sa-media-footer{display:flex;align-items:center;justify-content:space-between;min-height:68px;gap:18px;padding:14px 22px;background:#101214;border-top:1px solid var(--sa-border)}.sa-media-footer>span{color:var(--sa-muted);font-size:11px}.sa-spin{animation:sa-spin .85s linear infinite}@keyframes sa-spin{to{transform:rotate(360deg)}}@media(max-width:720px){.sa-workspace{grid-template-rows:auto minmax(0,1fr)}.sa-header{grid-template-columns:34px minmax(0,1fr) auto;min-height:68px;gap:8px;padding:10px 12px}.sa-header-title{display:none}.sa-context span{max-width:100%}.sa-workspace .sa-create-button{width:36px;min-width:36px;padding:0;font-size:0}.sa-create-button svg{width:17px;height:17px}.sa-layout{display:block;min-height:0;overflow:auto}.sa-tabs,.sa-workspace[data-mode=studio] .sa-tabs{position:sticky;z-index:4;top:0;padding:8px 12px;overflow:hidden;background:#0e1011;border-right:0;border-bottom:1px solid var(--sa-border)}.sa-tabs-heading{display:none}.sa-tabs-list{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}.sa-tabs-list::-webkit-scrollbar{display:none}.sa-tabs-list button{grid-template-columns:17px auto;flex:0 0 auto;min-height:38px;gap:7px;padding:0 10px}.sa-tabs-list small{display:none}.sa-content,.sa-workspace[data-mode=studio] .sa-content{min-height:auto;padding:22px 14px 40px;overflow:visible}.sa-content-header{align-items:start;gap:12px;margin-bottom:14px;padding:0 2px 14px}.sa-content-header h1{font-size:19px}.sa-content-header p{max-width:255px;line-height:1.5}.sa-count{padding-top:6px}.sa-asset-row{grid-template-columns:44px minmax(0,1fr) auto;min-height:88px;gap:10px;padding:12px 2px}.sa-asset-glyph{width:42px;height:42px}.sa-asset-glyph svg{width:19px;height:19px}.sa-asset-name{align-items:start;flex-direction:column;gap:4px}.sa-asset-name .sa-episode-selection{margin-left:0}.sa-asset-name h2{max-width:100%}.sa-asset-copy p{display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sa-row-actions{align-self:center;flex-direction:column;gap:0}.sa-row-actions .sa-icon-button{width:32px;height:32px;flex-basis:32px}.sa-loading,.sa-state-panel{min-height:300px;margin-top:20px;padding:48px 18px}.sa-modal-layer{align-items:end;padding:0}.sa-editor{width:100%;max-height:94vh;border-right:0;border-bottom:0;border-left:0;border-radius:6px 6px 0 0}.sa-form-body{padding:18px 16px}.sa-editor-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.sa-editor-footer .sa-button{flex:1 1 0}.sa-confirm{grid-template-columns:36px minmax(0,1fr);width:100%;padding:20px 16px max(20px,env(safe-area-inset-bottom));border-right:0;border-bottom:0;border-left:0;border-radius:6px 6px 0 0}.sa-confirm-icon{width:36px;height:36px}.sa-confirm footer .sa-button{flex:1 1 0}.sa-media-panel{width:100%;max-height:96vh;border-right:0;border-bottom:0;border-left:0;border-radius:6px 6px 0 0}.sa-media-body{display:block;overflow:auto}.sa-media-stage{min-height:240px;padding:14px;border-right:0;border-bottom:1px solid var(--sa-border)}.sa-media-stage>img,.sa-media-stage>video{max-height:280px}.sa-media-placeholder{min-height:220px}.sa-media-history{overflow:visible}.sa-media-add-form>.sa-generation-options{grid-template-columns:1fr}.sa-media-footer{align-items:stretch;flex-direction:column;gap:10px;padding:12px 16px max(12px,env(safe-area-inset-bottom))}.sa-media-footer .sa-button{width:100%}}@media(max-width:390px){.sa-header{grid-template-columns:34px minmax(0,1fr) 36px}.sa-context strong{font-size:13px}.sa-content{padding-right:12px;padding-left:12px}.sa-asset-row{grid-template-columns:40px minmax(0,1fr) 32px;gap:8px}.sa-asset-glyph{width:40px;height:40px}}@media(prefers-reduced-motion:reduce){.sa-spin{animation-duration:1.8s}}.sa-workspace[data-mode=studio]{display:block;min-height:0;height:100%;background:#070808}.sa-studio-shell{min-height:100%;height:100%;padding:14px 24px 36px;overflow:auto}.sa-studio-toolbar{display:grid;grid-template-columns:164px auto minmax(0,1fr);align-items:center;gap:24px}.sa-scene-filter,.sa-tool-button,.sa-mode-switch{min-height:36px;color:#d1d4d0;background:#1d1f1e;border:1px solid #343735;border-radius:5px}.sa-scene-filter{padding:0 14px;text-align:left;font-size:13px}.sa-scene-filter:after{float:right;color:#858a86;content:"⌄"}.sa-studio-tabs{display:flex;align-items:center;gap:18px}.sa-studio-tabs button{min-height:36px;padding:0;color:#c5c8c4;background:transparent;border:0;font-size:14px;font-weight:650;white-space:nowrap}.sa-studio-tabs button.is-current{color:#e8eae5}.sa-studio-tools{display:flex;align-items:center;justify-content:flex-end;min-width:0;gap:8px}.sa-mode-switch{display:flex;align-items:center;flex:0 0 auto;padding:0 10px}.sa-mode-switch button{min-height:34px;padding:0 4px;color:#aeb2ae;background:transparent;border:0;font-size:12px}.sa-mode-switch button.is-current{color:#e8eae5;font-weight:650}.sa-mode-switch>span{color:#606561;font-size:11px}.sa-tool-button{display:inline-flex;align-items:center;justify-content:center;min-width:100px;gap:7px;padding:0 11px;font-size:12px;font-weight:600;white-space:nowrap}.sa-tool-button:hover:not(:disabled),.sa-scene-filter:hover:not(:disabled){color:#fff;background:#272a28;border-color:#4b504c}.sa-tool-button:disabled{cursor:default;color:#6f746f;background:#171918;border-color:#2b2e2c}.sa-tool-button svg{width:15px;height:15px}.sa-style-line{display:flex;align-items:center;min-height:42px;gap:8px;color:#aeb2ae;font-size:12px}.sa-style-line>i{width:7px;height:7px;background:#d9dcd6;border-radius:50%}.sa-style-line>span{margin-left:auto;color:#9ca19c}.sa-studio-content{min-height:300px}.sa-studio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}.sa-studio-card{position:relative;min-width:0}.sa-studio-preview{position:relative;width:100%;aspect-ratio:1.7;overflow:hidden;background:#202221;border:1px solid #2f3230;border-radius:7px}.sa-studio-card.is-selected .sa-studio-preview{border-color:#8f958f;box-shadow:inset 0 0 0 1px #8f958f}.sa-studio-preview>img,.sa-checkerboard{display:block;width:100%;height:100%}.sa-studio-preview>img{object-fit:cover}.sa-checkerboard{background-color:#222423;background-image:linear-gradient(45deg,#2c2e2d 25%,transparent 25%),linear-gradient(-45deg,#2c2e2d 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2c2e2d 75%),linear-gradient(-45deg,transparent 75%,#2c2e2d 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px}.sa-preview-actions{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:10px;background:#0809081a}.sa-preview-actions button{display:grid;width:38px;height:38px;padding:0;place-items:center;color:#f0f1ee;background:#373a38e0;border:1px solid rgb(255 255 255 / 8%);border-radius:7px;box-shadow:0 8px 20px #00000038}.sa-preview-actions button:hover{background:#515551}.sa-preview-actions svg{width:17px;height:17px}.sa-card-generation-status{position:absolute;z-index:3;right:10px;bottom:10px;display:inline-flex;min-height:28px;padding:0 9px;align-items:center;gap:6px;color:#eceeeb;background:#111312e0;border-radius:4px;font-size:10px}.sa-card-generation-status svg{width:13px;height:13px}.sa-studio-card-meta{display:flex;align-items:center;min-height:44px;gap:7px;padding:7px 4px 0}.sa-studio-kind{flex:0 0 auto;padding:3px 7px;color:#c4c7c3;background:#292c2a;border-radius:4px;font-size:10px}.sa-studio-name{display:inline-flex;align-items:center;min-width:0;gap:5px;padding:0;color:#eceeeb;background:transparent;border:0}.sa-studio-name strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.sa-studio-name svg{flex:0 0 auto;width:13px;color:#a1a6a1}.sa-voice-button{display:inline-flex;align-items:center;min-height:30px;margin-left:auto;gap:5px;padding:0 9px;color:#d0d3cf;background:#242625;border:1px solid #383b39;border-radius:5px;font-size:10px;white-space:nowrap}.sa-voice-button svg{width:13px}.sa-card-selection{position:absolute;z-index:2;top:9px;left:9px;display:inline-flex;align-items:center;min-height:27px;gap:5px;padding:0 8px;color:#e3e5e1;background:#181a19e0;border:1px solid #444844;border-radius:4px;cursor:pointer;font-size:10px}.sa-card-selection input{width:13px;height:13px;margin:0;accent-color:#e4e6e1}.sa-studio-add-card{display:grid;aspect-ratio:1.7;place-items:center;align-content:center;gap:8px;color:#c5c9c5;background:#202221;border:1px dashed #454945;border-radius:7px}.sa-studio-add-card:hover{color:#fff;background:#282b29;border-color:#666c67}.sa-studio-add-card svg{width:26px;height:26px}.sa-studio-add-card span{font-size:12px}.sa-studio-loading,.sa-studio-error{display:grid;min-height:280px;place-items:center;align-content:center;gap:9px;color:#9ca19c;text-align:center}.sa-studio-loading svg,.sa-studio-error>svg{width:23px}.sa-studio-error strong{color:#e0e2df}.sa-studio-error button{display:inline-flex;align-items:center;min-height:34px;margin-top:5px;gap:6px;padding:0 11px;color:#d8dad7;background:#1c1e1d;border:1px solid #393c3a;border-radius:5px}@media(max-width:1120px){.sa-studio-toolbar{grid-template-columns:150px minmax(0,1fr)}.sa-studio-tools{grid-column:1 / -1;justify-content:flex-start;flex-wrap:wrap}.sa-studio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.sa-studio-shell{padding:12px 14px 28px}.sa-studio-toolbar{display:flex;align-items:stretch;flex-direction:column;gap:8px}.sa-studio-tabs,.sa-studio-tools{overflow-x:auto}.sa-studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.sa-studio-grid{grid-template-columns:1fr}}.sa-workspace[data-mode=studio]{min-width:1440px}.sa-workspace[data-mode=studio] .sa-studio-shell{padding:14px 24px 36px}.sa-workspace[data-mode=studio] .sa-studio-toolbar{display:grid;grid-template-columns:164px auto minmax(0,1fr);align-items:center;gap:24px}.sa-workspace[data-mode=studio] .sa-studio-tools{grid-column:auto;justify-content:flex-end;flex-wrap:nowrap;overflow:visible}.sa-workspace[data-mode=studio] .sa-studio-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sg-panel{position:relative;min-width:0;height:100%;overflow:hidden;color:#eceeeb;background:#080909}.sg-panel *,.sg-panel *:before,.sg-panel *:after{box-sizing:border-box}.sg-panel>header{display:none}.sg-scroll{position:relative;display:grid;height:100%;min-height:0;padding:42px 54px 28px;align-content:center;justify-items:center;overflow:hidden}.sg-media-tabs{position:absolute;z-index:3;top:18px;left:50%;display:inline-flex;padding:3px;transform:translate(-50%);background:#141617;border-radius:4px}.sg-media-tabs button{display:inline-flex;min-width:86px;height:32px;padding:0 12px;align-items:center;justify-content:center;gap:7px;color:#777d80;background:transparent;border:0;border-radius:3px;font-size:11px;font-weight:620}.sg-media-tabs button.is-active{color:#eceeeb;background:#242728}.sg-media-tabs svg{width:14px;height:14px}.sg-import-toggle{position:absolute;z-index:3;top:20px;right:28px;display:inline-flex;min-height:30px;padding:0 10px;align-items:center;gap:6px;color:#9da2a4;background:transparent;border:0;border-radius:4px;font-size:10px}.sg-import-toggle:hover:not(:disabled){color:#fff;background:#181a1b}.sg-import-toggle svg{width:14px;height:14px}.sg-import-form{position:absolute;z-index:8;top:58px;right:28px;display:grid;width:320px;padding:16px;gap:12px;background:#17191a;border-radius:6px;box-shadow:0 18px 54px #00000085}.sg-import-form label{display:grid;gap:6px}.sg-import-form label span{color:#858a8d;font-size:10px}.sg-import-form input{width:100%;height:36px;padding:0 10px;color:#e3e5e2;background:#0f1112;border:0;border-radius:4px;font-size:11px}.sg-import-form>div{display:flex;justify-content:flex-end;gap:8px}.sg-import-form button{min-height:32px;padding:0 11px;color:#c5c9c6;background:#252829;border:0;border-radius:4px;font-size:10px}.sg-import-form button.is-primary{color:#111314;background:#e8eae5}.sg-preview{display:grid;width:min(720px,100%);overflow:hidden;background:#17191a;border-radius:6px;box-shadow:0 18px 48px #00000038}.sg-preview>img,.sg-preview>video,.sg-preview>div{display:grid;width:100%;aspect-ratio:16 / 9;max-height:500px;object-fit:contain;place-items:center;background:#17191a}.sg-preview>div{align-content:center;gap:10px;color:#5f6568}.sg-preview>div svg{width:34px;height:34px}.sg-preview>div span{font-size:11px}.sg-preview>footer{display:flex;min-height:42px;padding:7px 10px;align-items:center;justify-content:space-between;background:#121415}.sg-preview>footer>div{display:grid;gap:2px}.sg-preview>footer strong{font-size:10px}.sg-preview>footer span{color:#73797c;font-size:9px}.sg-preview>footer>span{padding:3px 6px;background:#202324;border-radius:3px}.sg-versions{display:flex;width:min(720px,100%);margin-top:10px;gap:7px;overflow-x:auto}.sg-versions button{position:relative;display:grid;width:74px;min-width:74px;padding:0;overflow:hidden;color:#93989a;background:#111314;border:0;border-radius:4px}.sg-versions button.is-selected{box-shadow:inset 0 0 0 1px #919799}.sg-versions img,.sg-versions button>svg:not(:last-child){width:100%;height:46px;object-fit:cover}.sg-versions button>span{padding:4px;font-size:8px}.sg-versions button>svg:last-child{position:absolute;top:3px;right:3px;width:13px;height:13px;color:#fff}.sg-adopt{width:min(220px,100%);min-height:34px;margin-top:10px;color:#111314;background:#e8eae5;border:0;border-radius:4px;font-size:10px;font-weight:650}.sg-generate,.sg-history{display:none}.sg-notice,.sg-error{position:absolute;z-index:4;right:28px;bottom:24px;max-width:420px;margin:0;padding:8px 10px;color:#afb4b1;background:#1a1d1e;border-radius:4px;font-size:9px}.sg-error{color:#e0a6a1;background:#251b1a}.sg-panel-state{display:grid;height:100%;place-items:center;align-content:center;gap:10px;color:#7e8487;text-align:center}.sg-panel-state svg{width:26px;height:26px}.sg-panel-state strong{color:#dfe1de;font-size:12px}.sg-panel-state span{font-size:10px}.sg-panel-state button{min-height:34px;padding:0 12px;color:#111314;background:#e8eae5;border:0;border-radius:4px}.sg-panel :is(button,input,select){cursor:pointer}.sg-panel :is(button,input,select):disabled{cursor:default;opacity:.42}.sg-panel :is(button,input,select):focus,.sg-panel :is(button,input,select):focus-visible{outline:none;box-shadow:none}.sg-workbench-controls{position:relative;display:grid;grid-template-columns:minmax(170px,auto) minmax(0,1fr) 34px auto;width:100%;align-items:center;gap:10px}.sg-workbench-controls>button{min-width:0;height:34px;padding:0 8px;color:#c0c4c1;background:transparent;border:0;border-radius:3px;font-size:10px}.sg-workbench-model{overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.sg-workbench-spec{overflow:hidden;color:#82878a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.sg-workbench-controls .sg-workbench-settings{display:grid;width:34px;padding:0;place-items:center}.sg-workbench-settings:hover{background:#202324}.sg-workbench-settings svg{width:15px;height:15px}.sg-workbench-controls .sg-workbench-submit{display:inline-flex;min-width:84px;padding:0 4px 0 12px;align-items:center;justify-content:space-between;gap:10px;color:#111314;background:#eceee9;border-radius:18px;font-weight:700}.sg-workbench-submit svg{width:26px;height:26px;padding:6px;color:#eceee9;background:#111314;border-radius:50%}.sg-workbench-options{position:absolute;z-index:40;right:0;bottom:48px;display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));width:430px;padding:14px;gap:10px;color:#dfe1de;background:#191b1c;border-radius:6px;box-shadow:0 18px 54px #00000085}.sg-workbench-options label{display:grid;gap:6px}.sg-workbench-options label>span{color:#858a8d;font-size:9px}.sg-workbench-options :is(select,input[type=number]){width:100%;height:34px;padding:0 9px;color:#e3e5e2;background:#101213;border:0;border-radius:3px;font-size:10px}.sg-workbench-options .sg-option-check{display:flex;min-height:34px;align-items:center;gap:7px}.sg-option-check input{width:14px;height:14px;margin:0;accent-color:#dfe1de}.sg-confirm-backdrop{position:fixed;z-index:80;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#000000b8}.sg-confirm-dialog{width:420px;overflow:hidden;color:#e6e7e5;background:#141617;border-radius:6px;box-shadow:0 24px 68px #00000094}.sg-confirm-dialog>header{display:flex;min-height:62px;padding:15px 18px;align-items:center;gap:12px;background:#17191a}.sg-confirm-dialog>header>svg{width:20px;height:20px}.sg-confirm-dialog>header>div{display:grid;gap:3px}.sg-confirm-dialog>header strong{font-size:14px}.sg-confirm-dialog>header span{color:#7d8285;font-size:10px}.sg-confirm-dialog>p{margin:0;padding:18px;color:#afb3b0;font-size:12px;line-height:1.65}.sg-confirm-dialog dl{display:grid;margin:0;padding:0 18px 18px;gap:8px}.sg-confirm-dialog dl>div{display:flex;min-height:28px;align-items:center;justify-content:space-between}.sg-confirm-dialog dt,.sg-confirm-dialog dd{margin:0;font-size:10px}.sg-confirm-dialog dt{color:#72777a}.sg-confirm-dialog dd{color:#d4d6d3}.sg-confirm-dialog>footer{display:flex;padding:12px 18px;justify-content:flex-end;gap:8px;background:#101213}.sg-confirm-dialog>footer button{min-width:82px;min-height:34px;padding:0 14px;color:#c8cbc8;background:#252829;border:0;border-radius:4px;font-size:11px;font-weight:650}.sg-confirm-dialog>footer button.is-primary{color:#111314;background:#e8eae5}.sg-spin{animation:sg-spin .9s linear infinite}@keyframes sg-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.sg-spin{animation:none}}.fm-stage,.fm-state{--fm-bg: var(--es-bg, #0b0c0d);--fm-panel: var(--es-panel, #111315);--fm-raised: var(--es-panel-raised, #17191b);--fm-border: var(--es-border, #2b2f32);--fm-text: var(--es-text, #f1f2f0);--fm-muted: var(--es-muted, #989da2);color:var(--fm-text);background:var(--fm-bg)}.fm-stage{min-width:0;min-height:calc(100vh - 76px);padding:18px}.fm-stage :is(button,input,select),.fm-state button{color:inherit;font:inherit}.fm-stage button,.fm-state button{cursor:pointer}.fm-stage :is(button,input,select):disabled,.fm-state button:disabled{cursor:default;opacity:.48}.fm-stage :is(button,input,select):focus-visible,.fm-state button:focus-visible{outline:0;box-shadow:inset 0 0 0 1px #73797c}.fm-toolbar{display:flex;min-height:48px;margin-bottom:12px;padding:0 4px;align-items:center;justify-content:space-between;gap:14px}.fm-toolbar>div:first-child{display:grid;min-width:0;gap:4px}.fm-toolbar strong{font-size:14px}.fm-toolbar span{color:var(--fm-muted);font-size:10px}.fm-toolbar>div:last-child{display:flex;gap:8px}.fm-toolbar button,.fm-state button{display:inline-flex;min-height:35px;padding:0 12px;align-items:center;justify-content:center;gap:7px;color:#111314;background:#e4e6e2;border:1px solid #e4e6e2;border-radius:4px;font-size:11px;font-weight:650}.fm-toolbar button.is-secondary{color:#d5d8d5;background:#17191b;border-color:#3a3e41}.fm-toolbar button:not(.is-secondary):disabled{color:#777d79;background:#292c2a;border-color:#393d3a;opacity:1}.fm-toolbar button svg,.fm-state button svg{width:15px;height:15px}.fm-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,310px);gap:14px;min-width:0}.fm-clips,.fm-side>section{min-width:0;background:var(--fm-panel);border:1px solid var(--fm-border);border-radius:5px}.fm-clips>header,.fm-side section>header{display:flex;min-height:54px;padding:10px 14px;box-sizing:border-box;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--fm-border)}.fm-clips>header>div{display:grid;gap:3px}.fm-clips>header strong,.fm-side header strong{font-size:12px}.fm-clips>header span,.fm-side header span{color:var(--fm-muted);font-size:9px}.fm-add-source{position:relative}.fm-add-source summary{display:inline-flex;min-height:30px;padding:0 9px;align-items:center;gap:6px;color:#cdd0cd;background:#191b1d;border:1px solid #383c3f;border-radius:3px;cursor:pointer;font-size:10px;list-style:none}.fm-add-source summary::-webkit-details-marker{display:none}.fm-add-source summary svg{width:13px;height:13px}.fm-add-source>div{position:absolute;z-index:3;top:35px;right:0;display:grid;width:min(280px,80vw);max-height:260px;padding:5px;overflow-y:auto;background:#17191b;border:1px solid #414548;border-radius:4px;box-shadow:0 12px 30px #0006}.fm-add-source>div button{display:flex;min-width:0;padding:9px;align-items:center;justify-content:space-between;gap:12px;color:#d1d4d1;background:transparent;border:0;border-radius:2px;font-size:10px;text-align:left}.fm-add-source>div button:hover{background:#232629}.fm-add-source small{color:#858b8f;white-space:nowrap}.fm-clip-list{display:grid;gap:1px;max-height:calc(100vh - 210px);overflow-y:auto;background:#292c2f}.fm-clips-empty{display:grid;min-height:140px;padding:24px;place-items:center;color:var(--fm-muted);background:var(--fm-panel);font-size:10px;text-align:center}.fm-clip{display:grid;grid-template-columns:58px minmax(150px,1.5fr) repeat(4,minmax(105px,.7fr)) 34px;gap:10px;min-width:0;padding:11px 12px;align-items:start;background:var(--fm-panel)}.fm-clip.is-selected{background:#181b1d;box-shadow:inset 2px 0 #aeb3b0}.fm-clip-order{display:flex;align-items:center;gap:6px}.fm-clip-order>strong{color:#767c80;font-size:10px;font-variant-numeric:tabular-nums}.fm-clip-order>div{display:grid;gap:2px}.fm-clip-order button,.fm-remove{display:grid;width:24px;height:22px;padding:0;place-items:center;color:#979c9f;background:transparent;border:1px solid transparent;border-radius:3px}.fm-clip-order button:hover:not(:disabled),.fm-remove:hover:not(:disabled){color:#e0e2df;background:#202326;border-color:#3c4144}.fm-clip-order svg,.fm-remove svg{width:13px;height:13px}.fm-clip-title{display:flex;width:100%;min-width:0;min-height:37px;padding:0;align-items:center;gap:9px;color:inherit;background:transparent;border:0;text-align:left}.fm-clip-title>svg{width:22px;height:22px;flex:0 0 auto;color:#777d81}.fm-clip-title>div{display:grid;min-width:0;gap:4px}.fm-clip-title strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.fm-clip-title span{color:#7e8488;font-size:9px}.fm-clip label{display:grid;min-width:0;gap:5px}.fm-clip label>span{color:#7e8488;font-size:9px}.fm-clip :is(input,select){width:100%;min-width:0;height:32px;padding:0 8px;box-sizing:border-box;color:#dfe1de;background:#0d0f10;border:1px solid #34383b;border-radius:3px;font-size:10px}.fm-clip [aria-invalid=true]{border-color:#81504b}.fm-clip label small{color:#d09b95;font-size:8px;line-height:1.35}.fm-remove{margin-top:17px}.fm-validation{margin:0;padding:10px 14px;color:#d09b95;border-top:1px solid #513532;font-size:10px}.fm-side{display:grid;align-content:start;gap:14px;min-width:0}.fm-preview-empty{display:grid;min-height:190px;padding:24px;place-items:center;align-content:center;gap:8px;text-align:center}.fm-preview{display:grid;min-width:0;background:#060708}.fm-preview video{display:block;width:100%;aspect-ratio:16 / 9;object-fit:contain;background:#000}.fm-preview>div{display:flex;min-width:0;padding:10px 12px;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--fm-border)}.fm-preview strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.fm-preview span{flex:0 0 auto;color:var(--fm-muted);font-size:9px;font-variant-numeric:tabular-nums}.fm-preview-empty svg{width:30px;height:30px;color:#72787c}.fm-preview-empty strong{font-size:12px}.fm-preview-empty span,.fm-export-history>p{margin:0;color:var(--fm-muted);font-size:9px;line-height:1.55}.fm-export-history>p{padding:20px 14px}.fm-export-history ul{margin:0;padding:0;list-style:none}.fm-export-history li{display:flex;min-width:0;padding:10px 14px;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #25292b}.fm-export-history li:first-child{border-top:0}.fm-export-history li>div{display:grid;min-width:0;gap:3px}.fm-export-history li strong{font-size:10px}.fm-export-history li span,.fm-export-history code{color:#858b8f;font-size:8px}.fm-export-history code{overflow:hidden;color:#c89892;text-overflow:ellipsis;white-space:nowrap}.fm-alert{display:flex;gap:9px;margin-bottom:12px;padding:10px 12px;align-items:center;color:#d8dcda;background:#171a1c;border:1px solid #3b4043;border-radius:4px;font-size:10px}.fm-alert.is-unavailable,.fm-alert[role=alert]{color:#d9c2bd;background:#211817;border-color:#62423f}.fm-alert>svg{width:17px;height:17px;flex:0 0 auto}.fm-alert>div{display:flex;min-width:0;align-items:baseline;gap:9px}.fm-alert code,.fm-alert span{color:#aa918d;font-size:9px;overflow-wrap:anywhere}.fm-state{display:grid;width:min(520px,calc(100% - 32px));min-height:310px;margin:40px auto;padding:36px;box-sizing:border-box;place-items:center;align-content:center;gap:13px;border:1px solid var(--fm-border);border-radius:5px;text-align:center}.fm-state>svg{width:28px;height:28px;color:#767d81}.fm-state strong{font-size:15px}.fm-state p{max-width:400px;margin:-4px 0 5px;color:var(--fm-muted);font-size:11px;line-height:1.65}.fm-spin{animation:fm-spin .9s linear infinite}@keyframes fm-spin{to{transform:rotate(360deg)}}.fm-toolbar-context{display:flex!important;align-items:center;gap:16px!important}.fm-scene-filter{min-width:118px;height:34px;padding:0 12px;color:#d9dcda;background:#151719;border:1px solid #363a3d;border-radius:4px;font-size:10px;text-align:left}.fm-toolbar-actions{align-items:center}.fm-completion{padding-right:4px;color:#858b8f!important;font-variant-numeric:tabular-nums}.fm-toolbar button.is-active{color:#f0f2ef;background:#25282a;border-color:#666c70}.fm-viewer{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;min-height:clamp(340px,calc(100vh - 365px),660px);background:#050606;border:1px solid var(--fm-border);border-radius:5px;overflow:hidden}.fm-viewer.is-editing{grid-template-columns:minmax(0,1fr) 278px}.fm-player{display:grid;min-width:0;min-height:0;padding:0;place-items:center;background:#000}.fm-player video{display:block;width:min(100%,1180px);height:100%;max-height:clamp(340px,calc(100vh - 365px),660px);object-fit:contain;background:#000}.fm-edit-panel{display:grid;min-width:0;padding:0 14px 14px;align-content:start;background:#111315;border-left:1px solid var(--fm-border)}.fm-edit-panel>header{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #292d30}.fm-edit-panel>header>div:first-child{display:grid;min-width:0;gap:4px}.fm-edit-panel>header strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.fm-edit-panel>header span{color:var(--fm-muted);font-size:9px}.fm-edit-panel>header>div:last-child{display:flex;gap:4px}.fm-edit-panel>header button,.fm-remove-clip{display:inline-grid;width:28px;height:28px;padding:0;place-items:center;color:#a2a7aa;background:#191b1d;border:1px solid #34383b;border-radius:3px}.fm-edit-panel>header svg,.fm-remove-clip svg{width:13px;height:13px}.fm-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;padding:16px 0}.fm-edit-fields label{display:grid;min-width:0;gap:6px}.fm-edit-fields label>span{color:#8f9599;font-size:9px}.fm-edit-fields :is(input,select){width:100%;min-width:0;height:34px;padding:0 8px;box-sizing:border-box;color:#e1e3e0;background:#090a0b;border:1px solid #34383b;border-radius:3px;font-size:10px}.fm-edit-fields [aria-invalid=true]{border-color:#81504b}.fm-remove-clip{display:inline-flex;width:100%;margin-top:2px;justify-content:center;gap:7px;color:#c0a29e;background:#1b1515;border-color:#4a3331;font-size:9px}.fm-timeline{min-width:0;margin-top:10px;padding:10px 12px 12px;background:#101214;border:1px solid var(--fm-border);border-radius:5px}.fm-timeline>header{display:flex;min-width:0;height:24px;align-items:flex-start;justify-content:space-between;color:#6f7579;font-size:8px;font-variant-numeric:tabular-nums}.fm-timeline>header strong{color:#8f9599;font-size:9px;font-weight:500}.fm-timeline-track{display:flex;min-width:0;min-height:105px;gap:6px;overflow-x:auto;scrollbar-color:#3a3e41 #17191b}.fm-timeline-clip{position:relative;display:grid;width:190px;min-width:190px;height:104px;padding:0;overflow:hidden;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:76px 28px;align-items:center;color:#d7dad7;background:#080909;border:1px solid #313538;border-radius:4px;text-align:left}.fm-timeline-clip.is-active{border-color:#cfd3cf;box-shadow:inset 0 0 0 1px #cfd3cf}.fm-timeline-clip video,.fm-timeline-placeholder{display:block;width:100%;height:76px;grid-column:1 / -1;object-fit:cover;background:#202326}.fm-timeline-placeholder{display:grid;place-items:center}.fm-timeline-placeholder svg{width:22px;color:#6f7579}.fm-timeline-clip>span:not(.fm-timeline-placeholder){overflow:hidden;padding:0 8px;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.fm-timeline-clip small{padding-right:8px;color:#858b8f;font-size:8px}.fm-timeline .fm-add-source{min-width:74px;height:104px;flex:0 0 74px}.fm-timeline .fm-add-source summary{display:grid;width:100%;height:100%;box-sizing:border-box;place-items:center;border-style:dashed}.fm-timeline .fm-add-source summary svg{width:19px;height:19px}.fm-history{width:fit-content;margin:8px 0 0 auto;color:#8f9599;font-size:9px}.fm-history summary{padding:7px 10px;cursor:pointer}.fm-history p,.fm-history ul{margin:0;padding:8px 10px;background:#111315;border:1px solid var(--fm-border);border-radius:3px;list-style:none}.fm-history li{display:flex;gap:10px}.fm-history code{color:#c89892}.fm-history a,.fm-alert a{display:inline-flex;align-items:center;gap:5px;color:#d8dcda;font-size:9px;text-decoration:none}.fm-history a svg,.fm-alert a svg{width:12px;height:12px}@media(max-width:1120px){.fm-workspace{grid-template-columns:minmax(0,1fr)}.fm-side{grid-template-columns:repeat(2,minmax(0,1fr))}.fm-viewer.is-editing{grid-template-columns:minmax(0,1fr) 250px}}@media(max-width:900px){.fm-clip-list{max-height:none;overflow:visible}.fm-clip{grid-template-columns:50px minmax(150px,1fr) repeat(2,minmax(100px,.8fr)) 34px}.fm-clip label:nth-of-type(3),.fm-clip label:nth-of-type(4){grid-row:2}.fm-clip label:nth-of-type(3){grid-column:3}.fm-clip label:nth-of-type(4){grid-column:4}}@media(max-width:650px){.fm-stage{min-height:auto;padding:9px}.fm-toolbar{align-items:stretch;flex-direction:column}.fm-toolbar>div:last-child,.fm-toolbar button{width:100%}.fm-clip{grid-template-columns:44px minmax(0,1fr) 30px}.fm-clip-title{grid-column:2}.fm-clip label,.fm-clip label:nth-of-type(3),.fm-clip label:nth-of-type(4){grid-column:2;grid-row:auto}.fm-remove{grid-column:3;grid-row:1}.fm-side{grid-template-columns:minmax(0,1fr)}.fm-alert>div{align-items:flex-start;flex-direction:column;gap:4px}.fm-state{width:calc(100% - 18px);min-height:260px;margin:10px auto;padding:24px 18px}.fm-toolbar-context,.fm-toolbar-actions{width:100%;flex-wrap:wrap}.fm-toolbar-actions .fm-completion{width:auto;margin-right:auto}.fm-viewer,.fm-viewer.is-editing{min-height:auto;grid-template-columns:minmax(0,1fr)}.fm-player video,.fm-player .fm-preview-empty{width:100%;height:auto;min-height:220px;aspect-ratio:16 / 9}.fm-edit-panel{border-top:1px solid var(--fm-border);border-left:0}.fm-timeline-clip{width:150px;min-width:150px}}@media(prefers-reduced-motion:reduce){.fm-spin{animation:none}}.es-script-stage,.es-script-stage-state{--es-script-bg: #000;--es-script-panel: #101012;--es-script-border: #18181b;--es-script-text: #fff;--es-script-muted: #a1a1aa;--es-script-subtle: #71717a;--es-script-active: #b7ed25;color:var(--es-script-text);background:var(--es-script-bg)}.es-script-stage{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;width:100%;height:calc(100dvh - 72px);min-width:0;min-height:620px;padding:0 16px;box-sizing:border-box}:where(.es-script-stage) button,:where(.es-script-stage) textarea,:where(.es-script-stage-state) button{color:inherit;font:inherit}:where(.es-script-stage) button,:where(.es-script-stage-state) button{cursor:pointer}:where(.es-script-stage) button:disabled,:where(.es-script-stage) textarea:disabled{cursor:default;opacity:.48}:where(.es-script-stage) button:focus-visible,:where(.es-script-stage-state) button:focus-visible{outline:0;box-shadow:inset 0 0 0 1px #73797c}:where(.es-script-stage) textarea:focus-visible{outline:0;box-shadow:none}.es-script-stage-scenes,.es-script-stage-editor{display:grid;min-width:0;min-height:0;overflow:hidden;box-sizing:border-box;background:#000}.es-script-stage-scenes{grid-template-rows:38px minmax(0,1fr) 48px;padding:20px 0 40px}.es-script-stage-editor{grid-template-rows:38px minmax(0,1fr) 55px;padding:20px 20px 40px}.es-script-stage-scenes>header,.es-script-stage-editor>header,.es-script-stage-editor>footer{display:flex;align-items:center;justify-content:space-between;min-width:0}.es-script-stage-scenes>header strong,.es-script-stage-editor>header h2{margin:0;color:#fff;font-size:16px;font-weight:700;letter-spacing:0;line-height:22px}.es-script-stage-scene-list{display:flex;min-width:0;min-height:0;padding:18px 18px 0;flex-direction:column;gap:6px;overflow-y:auto;background:#030303;border:1px solid var(--es-script-border);border-bottom:0;border-radius:16px 16px 0 0;scrollbar-color:#555 transparent;scrollbar-width:thin}.es-script-stage-scene-list>button{display:block;flex:0 0 52px;width:100%;height:52px;padding:0 16px;overflow:hidden;color:#a1a1aa;background:#18181b;border:1px solid #2b2b2f;border-radius:10px;font-size:14px;font-weight:500;letter-spacing:0;line-height:50px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.es-script-stage-scene-list>button:hover:not(:disabled){color:#e4e4e7;border-color:#44444a}.es-script-stage-scene-list>button.is-active{color:var(--es-script-active);border-color:#769900}.es-script-stage-scene-list>button.has-error{border-color:#81504b}.es-script-stage-scenes>footer{display:flex;justify-content:space-between;min-width:0;padding:0 18px 16px;align-items:end;color:var(--es-script-subtle);background:#030303;border:1px solid var(--es-script-border);border-top:0;border-radius:0 0 16px 16px;font-size:12px}.es-script-stage-editor-card{min-width:0;min-height:0;padding:20px;overflow:hidden;background:var(--es-script-panel);border:1px solid rgb(255 255 255 / 8%);border-radius:16px}.es-script-stage-editor-card textarea{display:block;width:100%;height:100%;min-height:0;padding:0 12px 0 0;box-sizing:border-box;overflow-y:auto;color:var(--es-script-muted);background:transparent;border:0;border-radius:0;resize:none;font-family:inherit;font-size:14px;font-weight:400;letter-spacing:0;line-height:1.85;white-space:pre-wrap;scrollbar-color:#555 transparent;scrollbar-width:thin}.es-script-stage-editor-card textarea:focus{outline:0}.es-script-stage-no-scene{display:grid;width:100%;height:100%;place-items:center;color:var(--es-script-muted);font-size:14px}.es-script-stage-editor>footer{align-items:flex-end;gap:16px}.es-script-stage-editor>footer>div:first-child{display:grid;min-width:0;gap:4px;padding-bottom:13px;color:var(--es-script-subtle);font-size:14px}.es-script-stage-editor>footer strong{overflow:hidden;color:#d2a8a3;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.es-script-stage-actions{display:flex;flex:0 0 auto;gap:16px}.es-script-stage-button{display:inline-flex;width:130px;height:36px;padding:0 12px;align-items:center;justify-content:center;color:#fff;background:#161616;border:.5px solid rgb(217 217 217 / 20%);border-radius:11px;font-size:14px;font-weight:650;letter-spacing:0;white-space:nowrap}.es-script-stage-button:hover:not(:disabled){background:#202020;border-color:#d9d9d959}.es-script-stage-button-primary{color:#000;background:#ececff;border-color:transparent}.es-script-stage-button-primary:hover:not(:disabled){color:#000;background:#fff;border-color:transparent}.es-script-stage-button-primary:disabled{color:#777d79;background:#292c2a;border-color:#393d3a;opacity:1}.es-script-stage-state{display:grid;width:min(520px,calc(100% - 40px));min-height:320px;margin:48px auto;padding:44px;box-sizing:border-box;place-items:center;align-content:center;gap:14px;border:1px solid var(--es-script-border);border-radius:16px;text-align:center}.es-script-stage-state:empty{min-height:0;border:0}.es-script-stage-state>svg{width:28px;height:28px;color:#747a7f}.es-script-stage-state strong{font-size:15px}.es-script-stage-state p{margin:-4px 0 6px;color:var(--es-script-muted);font-size:12px;line-height:1.6}.es-script-stage-spinning{animation:es-script-spin .9s linear infinite}@keyframes es-script-spin{to{transform:rotate(360deg)}}@media(max-width:900px){.es-script-stage{grid-template-columns:260px minmax(0,1fr);height:calc(100dvh - 116px)}.es-script-stage-editor{padding-right:0}}@media(max-width:760px){.es-script-stage{grid-template-columns:minmax(0,1fr);height:auto;min-height:auto;padding:0 8px 16px}.es-script-stage-scenes{grid-template-rows:38px auto 42px;padding:16px 0 0}.es-script-stage-scene-list{display:grid;grid-auto-columns:minmax(250px,82vw);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden}.es-script-stage-scenes>footer{padding-bottom:12px}.es-script-stage-editor{grid-template-rows:38px minmax(480px,62vh) auto;padding:20px 0 0}.es-script-stage-editor-card{padding:16px}.es-script-stage-editor>footer{align-items:stretch;flex-direction:column;padding-top:12px}.es-script-stage-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.es-script-stage-button{width:100%}}@media(max-width:420px){.es-script-stage-actions{grid-template-columns:minmax(0,1fr)}.es-script-stage-state{width:calc(100% - 16px);min-height:260px;margin:12px auto;padding:24px}}@media(prefers-reduced-motion:reduce){.es-script-stage-spinning{animation:none}}.ss-stage{--ss-bg: #0b0c0d;--ss-panel: #111315;--ss-border: #2b2f32;--ss-text: #f1f2f0;--ss-muted: #989da2;--ss-subtle: #6f757b;display:grid;grid-template-rows:minmax(0,1fr) 66px;min-width:0;min-height:0;height:calc(100vh - 76px);height:calc(100dvh - 76px);color:var(--ss-text);background:var(--ss-bg)}.ss-stage *,.ss-stage *:before,.ss-stage *:after{box-sizing:border-box}.ss-status{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:start;gap:11px;min-width:0;padding:13px 20px;color:#c9ccca;background:#101213;border-bottom:1px solid var(--ss-border)}.ss-status>svg{width:17px;height:17px;margin-top:1px}.ss-status>div{display:grid;min-width:0;gap:3px}.ss-status strong{font-size:12px}.ss-status span{color:var(--ss-muted);font-size:11px}.ss-status ul{display:flex;flex-wrap:wrap;gap:4px 12px;margin:5px 0 0;padding:0;color:#b6bab7;font-size:10px;list-style:none}.ss-status li:before{margin-right:5px;color:#777d81;content:"·"}.ss-status button,.ss-footer button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;gap:7px;padding:0 13px;color:#d7d9d6;background:#181a1c;border:1px solid #34383b;border-radius:4px;font:inherit;font-size:12px;font-weight:650}.ss-status button:hover,.ss-footer button:hover:not(:disabled){color:#fff;background:#202326;border-color:#50565b}.ss-status button svg,.ss-footer button svg{width:15px;height:15px}.ss-assets{min-width:0;min-height:0;overflow:hidden}.ss-footer{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;padding:0 20px;background:#070808;border-top:0}.ss-footer>span{position:absolute;left:20px;display:grid;gap:3px;color:var(--ss-subtle);font-size:11px}.ss-footer>span strong{color:#a8aca8;font-size:11px}.ss-footer>span small{color:var(--ss-subtle);font-size:10px}.ss-footer>span[data-error=true] strong,.ss-footer>span[data-error=true] small{color:#d0a29e}.ss-footer-actions{display:flex;align-items:center;gap:8px}.ss-footer button{min-width:112px;color:#121415;background:#e5e7e2;border-color:#e5e7e2}.ss-footer .ss-retry-button{position:absolute;right:20px;min-width:auto;color:#d7d9d6;background:#181a1c;border-color:#34383b}.ss-footer button:disabled{cursor:default;color:#777d79;background:#292c2a;border-color:#393d3a;opacity:1}.ss-footer button:not(.ss-save-button):disabled{color:#777d79;background:#292c2a;border-color:#393d3a;opacity:1}.ss-spin{animation:ss-spin .8s linear infinite}@keyframes ss-spin{to{transform:rotate(360deg)}}@media(max-width:900px){.ss-stage{height:calc(100vh - 116px);height:calc(100dvh - 116px)}}@media(max-width:760px){.ss-stage{grid-template-rows:minmax(0,1fr) auto}.ss-status{grid-template-columns:20px minmax(0,1fr)}.ss-status>button{grid-column:2;justify-self:start}.ss-footer{align-items:stretch;min-height:84px;padding:12px 16px;flex-direction:column}.ss-footer>span,.ss-footer .ss-retry-button{position:static}.ss-footer-actions{width:100%}.ss-footer-actions button{flex:1 1 0}}@media(max-width:420px){.ss-footer-actions{align-items:stretch;flex-direction:column}}.sb-stage,.sb-state{--sb-bg: #080909;--sb-surface: #101112;--sb-surface-raised: #151718;--sb-hover: #1b1d1e;--sb-line: #242728;--sb-text: #f0f1ee;--sb-muted: #8b9093;--sb-subtle: #62676a;--sb-left-width: 376px;--sb-toolbar-height: 64px;--sb-timeline-height: 148px;color:var(--sb-text);background:var(--sb-bg)}.sb-stage{min-width:1200px;height:calc(100dvh - 72px);min-height:720px;overflow:hidden}.sb-stage *,.sb-stage *:before,.sb-stage *:after,.sb-state *,.sb-state *:before,.sb-state *:after{box-sizing:border-box}.sb-stage :is(button,input,select,textarea),.sb-state :is(button,input,select,textarea){color:inherit;font:inherit;letter-spacing:0}.sb-stage button,.sb-state button{cursor:pointer}.sb-stage :is(button,input,select,textarea):disabled,.sb-state :is(button,input,select,textarea):disabled{cursor:default;opacity:.42}.sb-stage button:focus-visible,.sb-state button:focus-visible{outline:none;box-shadow:inset 0 0 0 1px #777d80}.sb-stage :is(input,select,textarea):focus,.sb-stage :is(input,select,textarea):focus-visible{outline:none;box-shadow:none}.sb-toolbar{display:flex;height:var(--sb-toolbar-height);padding:0 24px;align-items:center;justify-content:space-between;background:#0a0b0b;border-bottom:1px solid #1c1e1f}.sb-toolbar-summary,.sb-toolbar-actions{display:flex;align-items:center}.sb-toolbar-summary{gap:20px}.sb-toolbar-summary select{width:164px;height:36px;padding:0 34px 0 12px;color:#e1e3df;background:#151617;border:1px solid #303334;border-radius:4px;font-size:12px}.sb-toolbar-summary>span{color:#6d7275;font-size:11px}.sb-toolbar-actions{gap:8px}.sb-toolbar-actions button,.sb-conflict button,.sb-state>button{display:inline-flex;min-height:36px;padding:0 14px;align-items:center;justify-content:center;gap:7px;color:#c9ccca;background:#1a1c1d;border:1px solid #343738;border-radius:4px;font-size:11px;font-weight:620}.sb-toolbar-actions button:hover:not(:disabled),.sb-conflict button:hover:not(:disabled),.sb-state>button:hover:not(:disabled){color:#fff;background:#222526;border-color:#4b5052}.sb-toolbar-actions svg,.sb-conflict button svg,.sb-state>button svg{width:15px;height:15px}.sb-action-message{position:fixed;z-index:20;top:80px;left:50%;max-width:680px;margin:0;padding:8px 12px;transform:translate(-50%);color:#d6d8d5;background:#202324;border-radius:4px;box-shadow:0 8px 24px #00000052;font-size:11px}.sb-action-message.is-error,.sb-action-error{color:#e1aaa5}.sb-workspace,.sb-workspace.has-media{display:grid;grid-template-columns:var(--sb-left-width) minmax(0,1fr) minmax(0,1fr);height:calc(100% - var(--sb-toolbar-height) - var(--sb-timeline-height));min-height:508px;background:#090a0a}.sb-shot-assets{min-width:0;overflow:hidden;background:#090a0a}.sb-shot-assets>header{display:flex;height:58px;padding:0 32px;align-items:center;justify-content:space-between}.sb-shot-assets>header>strong{font-size:14px}.sb-shot-assets>header label{display:inline-flex;align-items:center;gap:9px;color:var(--sb-muted);font-size:11px}.sb-shot-assets>header input{width:50px;height:31px;padding:0 8px;color:#e7e8e5;background:#191b1c;border:1px solid #313536;border-radius:4px;text-align:center}.sb-asset-groups{height:calc(100% - 58px);padding:12px 32px 28px;overflow-y:auto}.sb-asset-group,.sb-frame-refs,.sb-previs{margin-bottom:26px}.sb-asset-group>header,.sb-frame-refs>header,.sb-previs>header{display:flex;min-height:28px;align-items:center;justify-content:space-between}.sb-asset-group>header>span,.sb-frame-refs>header>span,.sb-previs>header>span{display:inline-flex;align-items:center;gap:8px;color:#8d9295;font-size:11px}.sb-asset-group>header svg{width:14px;height:14px}.sb-asset-group>header>button{display:grid;width:27px;height:27px;padding:0;place-items:center;color:#8e9497;background:transparent;border:0;border-radius:4px}.sb-asset-group>header>button:hover{color:#fff;background:#1b1d1e}.sb-asset-group>header>button svg{width:16px;height:16px}.sb-asset-group>div:not(.sb-asset-picker){display:flex;flex-wrap:wrap;min-height:34px;margin-top:8px;gap:7px}.sb-asset-group>div>small,.sb-frame-refs small,.sb-previs small{color:#5f6467;font-size:10px}.sb-asset-chip{display:inline-flex;min-height:34px;padding:3px 5px 3px 4px;align-items:center;gap:7px;color:#cbd0cc;background:#17191a;border-radius:4px;font-size:10px}.sb-asset-chip.is-linked{background:#1b1d1e}.sb-asset-chip>img,.sb-asset-chip>svg{width:26px;height:26px;object-fit:cover;border-radius:3px}.sb-asset-chip>svg{padding:5px;color:#73797c;background:#242728}.sb-asset-chip>button{display:grid;width:22px;height:22px;padding:0;place-items:center;color:#666c6f;background:transparent;border:0;border-radius:3px}.sb-asset-chip>button:hover:not(:disabled){color:#e7e8e5;background:#2a2d2e}.sb-asset-chip>button svg{width:12px;height:12px}.sb-asset-picker{display:flex;flex-wrap:wrap;margin-top:8px;padding:8px;gap:5px;background:#121415;border-radius:4px;box-shadow:0 10px 26px #00000047}.sb-asset-picker button{min-height:28px;padding:0 9px;color:#a8adaf;background:#1a1c1d;border:0;border-radius:3px;font-size:10px}.sb-asset-picker button[data-selected=true]{color:#f0f1ee;background:#303435}.sb-asset-picker>small{width:100%;padding:5px 3px;color:#686e71;font-size:10px}.sb-frame-refs>div,.sb-previs>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px;gap:8px}.sb-frame-refs button,.sb-previs button{display:grid;min-height:68px;padding:10px;place-items:center;align-content:center;gap:7px;color:#73797c;background:#121415;border:0;border-radius:4px;font-size:10px}.sb-frame-refs button:hover:not(:disabled),.sb-previs button:hover:not(:disabled){color:#dfe1de;background:#191b1c}.sb-frame-refs button svg,.sb-previs button svg{width:18px;height:18px}.sb-frame-refs button img{width:100%;height:42px;object-fit:cover;border-radius:3px}.sb-frame-refs button[data-selected=true]{color:#e5e7e3;background:#1b1e1f;box-shadow:inset 0 0 0 1px #343839}.sb-previs p{margin:3px 0 0;color:#62676a;font-size:10px;line-height:1.55}.sb-previs button{min-height:42px;grid-auto-flow:column}.sb-editor{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;height:calc(100% - 32px);margin:16px 24px;overflow:hidden;background:#141617;border:1px solid #292c2d;border-radius:6px;box-shadow:0 10px 36px #0000002e}.sb-editor>header{display:flex;min-height:54px;padding:10px 18px;align-items:center;justify-content:space-between}.sb-editor>header>div{display:grid;min-width:0;gap:3px}.sb-editor>header span{color:#7e8386;font-size:10px}.sb-editor>header strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.sb-editor>header>span{padding:3px 7px;color:#969b9d;background:#1d1f20;border-radius:3px;font-size:9px}.sb-editor-scroll{min-height:0;padding:0 18px 14px;overflow-y:auto}.sb-prompt-field{display:grid;height:100%;min-height:0;grid-template-rows:auto minmax(300px,1fr) auto}.sb-prompt-label{padding-bottom:8px;color:#717679;font-size:10px}.sb-editor textarea{width:100%;min-height:300px;padding:4px 0 20px;resize:none;color:#dedfdd;background:transparent;border:0;border-radius:0;font-family:inherit;font-size:13px;line-height:1.9;caret-color:#fff}.sb-prompt-field>small{justify-self:end;color:#666b6e;font-size:9px}.sb-shot-order{display:none}.sb-editor>footer{position:relative;display:flex;min-height:62px;padding:9px 14px;align-items:center;gap:12px;background:#111314}.sb-editor>footer>div:first-child{display:none}.sb-generation-controls{min-width:0;width:100%}.sb-no-selection{display:grid;min-width:0;place-items:center;color:var(--sb-muted);background:#0d0f10}.sb-timeline{display:grid;grid-template-columns:var(--sb-left-width) minmax(0,1fr);height:var(--sb-timeline-height);background:#101213}.sb-timeline-spacer{background:#080909}.sb-timeline-body{display:flex;min-width:0;padding:18px 24px;align-items:center;gap:24px;border-radius:16px 0 0;background:#111314;box-shadow:0 -12px 36px #0000002e}.sb-timeline-track{display:flex;min-width:0;flex:1;gap:8px;overflow-x:auto}.sb-timeline-track>button{display:grid;width:126px;min-width:126px;padding:0;overflow:hidden;color:#8c9294;background:#0e1011;border:0;border-radius:4px;text-align:left}.sb-timeline-track>button.is-active{color:#f0f1ee;box-shadow:inset 0 0 0 2px #e6e8e3}.sb-timeline-track>button>span{display:grid;height:68px;place-items:center;color:#555b5e;background:#242627}.sb-timeline-track>button svg{width:22px;height:22px}.sb-timeline-track>button small{padding:8px;overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.sb-stage .sb-continue{min-width:108px;min-height:40px;padding:0 16px;color:#151718;background:#eeefeb;border:0;border-radius:5px;font-size:11px;font-weight:700}.sb-stage .sb-continue:disabled{color:#8f9491;background:#292c2d;opacity:1}.sb-state{display:grid;width:520px;min-height:310px;margin:40px auto;padding:36px;place-items:center;align-content:center;gap:13px;color:var(--sb-text);background:#111314;border-radius:6px;text-align:center}.sb-state>svg{width:28px;height:28px;color:#767c7f}.sb-state p{max-width:400px;margin:0;color:var(--sb-muted);font-size:11px;line-height:1.65}.sb-conflict{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:12px;margin:24px;padding:16px;align-items:center;color:#d9c2bd;background:#211817;border-radius:5px}.sb-conflict p{margin:4px 0 0;color:#aa918d;font-size:10px}.sb-conflict-actions{display:flex;gap:8px}.sb-readonly-summary{display:flex;margin:24px;padding:14px;gap:12px;color:var(--sb-muted);background:#111314;border-radius:5px;font-size:11px}.sb-spin{animation:sb-spin .9s linear infinite}@keyframes sb-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.sb-spin{animation:none}}.es-studio{--es-bg: #0b0c0d;--es-panel: #111315;--es-panel-raised: #17191b;--es-hover: #1b1e20;--es-border: #2b2f32;--es-border-strong: #50565b;--es-text: #f1f2f0;--es-muted: #989da2;--es-subtle: #858b8f;--es-accent: #e5e7e2;--es-accent-ink: #121415;--es-success: #8eb78c;--es-warning: #c9a96e;display:grid;grid-template-rows:72px minmax(0,1fr);min-width:1200px;min-height:100vh;color:var(--es-text);background:var(--es-bg)}:where(.es-studio) button,:where(.es-studio) input,:where(.es-studio) select,:where(.es-studio) textarea{color:inherit;font:inherit}:where(.es-studio) button{cursor:pointer}:where(.es-studio) button:disabled{cursor:default}:where(.es-studio) button:focus-visible,:where(.es-studio) select:focus-visible{outline:0;box-shadow:inset 0 0 0 1px #73797c}:where(.es-studio) input:focus-visible,:where(.es-studio) textarea:focus-visible{outline:0;box-shadow:none}.es-studio-header{position:relative;z-index:5;display:grid;grid-template-columns:minmax(300px,1fr) auto minmax(180px,1fr);align-items:center;min-width:0;padding:0 24px;background:#000c;border-bottom:0}.es-project-context,.es-header-actions,.es-toolbar-actions,.es-editor-footer>div{display:flex;align-items:center}.es-project-context{min-width:0;gap:16px}.es-project-context>div{display:block;min-width:0}.es-project-context strong,.es-project-context>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.es-project-context strong{font-size:18px;font-weight:600;line-height:24px}.es-project-context>div span{display:none}.es-project-context>.es-icon-button{flex-basis:16px;width:16px;height:24px;border:0}.es-episode-select{display:inline-flex;align-items:center;flex:0 0 auto;gap:8px;width:150px;height:42px;margin-left:6px;padding:0 16px;color:#c7cac8;background:#dedede26;border:0;border-radius:8px;font-size:14px}.es-episode-select svg{width:14px;height:14px}.es-step-nav{display:flex;height:42px;align-self:center;align-items:center;gap:34px}.es-step-nav button{position:relative;display:grid;grid-template-columns:22px auto;width:82px;height:42px;align-items:center;justify-content:center;gap:6px;padding:0 10px;color:#9ca0a3;background:#dedede26;border:0;border-radius:13px}.es-step-nav button:not(:last-child):after{position:absolute;top:50%;left:calc(100% + 7px);width:20px;height:2px;background:#242424;content:"";transform:translateY(-50%)}.es-step-nav button:hover:not(:disabled){color:#d7d9d6;background:#dedede3b}.es-step-nav button:disabled{opacity:1}.es-step-nav button.is-current{color:#fff;background:#dedede66}.es-step-nav button>span{display:grid;width:22px;height:22px;place-items:center}.es-step-nav svg{width:17px;height:17px}.es-step-nav strong{font-size:14px}.es-header-actions{justify-content:flex-end;gap:12px}.es-save-state{display:none}.es-icon-button{display:inline-grid;flex:0 0 34px;width:34px;height:34px;padding:0;place-items:center;color:#aeb2b4;background:transparent;border:1px solid transparent;border-radius:4px}.es-icon-button:hover:not(:disabled){color:#fff;background:var(--es-hover);border-color:var(--es-border)}.es-icon-button:disabled{cursor:default;opacity:.35}.es-icon-button svg{width:18px;height:18px}.es-stage{min-width:0;min-height:0;overflow:auto}.es-panel{min-width:0;background:var(--es-panel);border:1px solid var(--es-border);border-radius:5px}.es-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:0 16px;border-bottom:1px solid var(--es-border)}.es-panel-heading>div{display:grid;min-width:0;gap:3px}.es-panel-heading strong{font-size:13px}.es-panel-heading span{overflow:hidden;color:var(--es-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.es-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 12px;color:#d0d3d1;background:#181a1c;border:1px solid #34383b;border-radius:4px;font-size:12px;font-weight:650}.es-button:hover:not(:disabled){color:#fff;background:#202326;border-color:#4a5054}.es-button:disabled{cursor:default;opacity:.38}.es-button svg{width:15px;height:15px}.es-button-primary{color:var(--es-accent-ink);background:var(--es-accent);border-color:var(--es-accent)}.es-button-primary:hover:not(:disabled){color:#0b0d0e;background:#fff;border-color:#fff}.es-button-primary:disabled{color:#777d79;background:#292c2a;border-color:#393d3a;opacity:1}.es-script-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:16px;min-height:calc(100vh - 72px);padding:20px}.es-scene-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100vh - 116px);overflow:hidden}.es-scene-list{overflow:auto;padding:8px}.es-scene-list>button{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:start;gap:10px;width:100%;min-height:68px;padding:12px 10px;color:#c9ccca;background:transparent;border:1px solid transparent;border-bottom-color:#222527;text-align:left}.es-scene-list>button:hover:not(:disabled){background:#151719}.es-scene-list>button.is-selected{background:#1b1d1f;border-color:#4c5256}.es-scene-list>button>span:first-child{color:#7f858a;font-size:11px;font-variant-numeric:tabular-nums}.es-scene-list>button>span:nth-child(2){display:grid;min-width:0;gap:6px}.es-scene-list strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.es-scene-list small{color:var(--es-subtle);font-size:10px;white-space:nowrap}.es-scene-panel>footer{display:flex;justify-content:space-between;min-height:42px;padding:14px;color:var(--es-subtle);border-top:1px solid var(--es-border);font-size:10px}.es-script-editor{display:grid;grid-template-rows:auto minmax(320px,1fr) auto;max-height:calc(100vh - 116px);overflow:hidden}.es-script-editor>header{display:flex;align-items:start;justify-content:space-between;min-height:104px;padding:20px 24px;border-bottom:1px solid var(--es-border)}.es-script-editor>header span,.es-script-editor>header p{color:var(--es-muted);font-size:11px}.es-script-editor>header h2{margin:6px 0;font-size:20px}.es-script-editor>header p{margin:0}.es-script-editor textarea,.es-shot-editor textarea{width:100%;resize:none;color:#d7dad7;background:transparent;border:0;outline:0;line-height:2}.es-script-editor textarea{min-height:360px;padding:28px clamp(28px,6vw,82px);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px}.es-editor-footer,.es-stage-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:66px;padding:0 18px;border-top:1px solid var(--es-border)}.es-editor-footer>span,.es-stage-footer>span{color:var(--es-subtle);font-size:11px}.es-editor-footer>div,.es-toolbar-actions{gap:8px}.es-stage-column,.es-storyboard-stage,.es-film-stage{display:flex;min-height:calc(100vh - 72px);flex-direction:column}.es-stage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:64px;padding:0 24px;background:#0e0f10;border-bottom:1px solid var(--es-border)}.es-stage-toolbar>p{margin:0;color:var(--es-muted);font-size:12px}.es-tab-list{display:flex;align-self:stretch}.es-tab-list button{display:inline-flex;align-items:center;gap:8px;min-width:104px;padding:0 16px;color:#898f94;background:transparent;border:0;border-bottom:2px solid transparent}.es-tab-list button:hover:not(:disabled){color:#e4e6e3}.es-tab-list button.is-selected{color:#fff;border-bottom-color:#a5aaad}.es-tab-list button svg{width:16px;height:16px}.es-tab-list button span{color:#70767b;font-size:10px}.es-asset-list{width:min(1420px,calc(100% - 48px));margin:22px auto 18px;overflow:hidden;background:var(--es-panel);border:1px solid var(--es-border);border-radius:5px}.es-asset-list>header,.es-asset-list>article{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(240px,1.5fr) 120px 150px 38px;align-items:center;gap:20px;min-width:900px}.es-asset-list>header{min-height:42px;padding:0 14px;color:var(--es-subtle);background:#0f1112;border-bottom:1px solid var(--es-border);font-size:10px}.es-asset-list>article{min-height:88px;padding:10px 14px;border-bottom:1px solid #24272a}.es-asset-list>article:hover{background:#151719}.es-asset-identity{display:flex;align-items:center;min-width:0;gap:12px}.es-asset-identity strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.es-asset-thumb{display:grid;flex:0 0 60px;width:60px;height:60px;overflow:hidden;place-items:center;color:#858b8f;background:#202326;border:1px solid #34383b;border-radius:3px}.es-asset-thumb img{width:100%;height:100%;object-fit:cover}.es-asset-thumb svg{width:20px}.es-asset-list article>p{overflow:hidden;margin:0;color:var(--es-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.es-state{display:inline-flex;align-items:center;width:max-content;min-height:24px;padding:0 8px;color:#b8bcbe;background:#1b1e20;border:1px solid #383d41;border-radius:3px;font-size:10px}.es-state-approved,.es-state-ready{color:#b7cdb5;border-color:#465946}.es-state-missing{color:#d3bb91;border-color:#5f523c}.es-voice-label{color:#b9bdc0;font-size:11px}.es-add-row{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:54px;color:#9ea3a6;background:#101213;border:0}.es-add-row:hover:not(:disabled){color:#fff;background:#17191b}.es-add-row svg{width:15px}.es-stage-footer{margin-top:auto;background:#0e0f10}.es-empty{display:grid;width:min(520px,calc(100% - 40px));min-height:320px;margin:auto;padding:52px;place-items:center;align-content:center;text-align:center}.es-empty>svg{width:28px;height:28px;margin-bottom:18px;color:#686e73}.es-empty strong{font-size:15px}.es-empty p{max-width:360px;margin:8px 0 22px;color:var(--es-muted);font-size:12px;line-height:1.7}.es-storyboard-workspace{display:grid;grid-template-columns:250px minmax(420px,1fr) minmax(300px,.8fr);gap:12px;min-height:0;padding:16px 16px 0}.es-shot-assets dl{margin:0;padding:6px 16px 12px}.es-shot-assets dl>div{padding:14px 0;border-bottom:1px solid #26292b}.es-shot-assets dt{margin-bottom:7px;color:var(--es-subtle);font-size:10px}.es-shot-assets dd{margin:0;color:#d1d4d1;font-size:12px;line-height:1.55}.es-add-reference{display:flex;align-items:center;gap:7px;margin:0 16px 16px;padding:0;color:#aeb2b4;background:transparent;border:0;font-size:11px}.es-add-reference:hover:not(:disabled){color:#fff}.es-add-reference svg{width:14px}.es-shot-editor{display:grid;grid-template-rows:auto minmax(190px,1fr) auto auto;overflow:hidden}.es-shot-editor textarea{min-height:210px;padding:20px;border-bottom:1px solid var(--es-border);font-size:13px}.es-generation-settings{display:grid;grid-template-columns:minmax(160px,1fr) minmax(100px,.5fr) 34px;align-items:end;gap:10px;padding:14px 16px;border-bottom:1px solid var(--es-border)}.es-generation-settings label{display:grid;gap:6px}.es-generation-settings label>span{color:var(--es-subtle);font-size:10px}.es-generation-settings select{width:100%;height:34px;padding:0 9px;color:#d3d6d4;background:#0d0f10;border:1px solid #34383b;border-radius:3px;font-size:11px}.es-shot-editor>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px;padding:0 16px}.es-shot-editor>footer>span{color:var(--es-subtle);font-size:10px}.es-shot-preview{overflow:hidden}.es-preview-frame{display:grid;min-height:220px;aspect-ratio:16 / 10;place-items:center;overflow:hidden;background:#090a0b}.es-preview-frame img,.es-film-frame img{width:100%;height:100%;object-fit:cover}.es-preview-empty{display:grid;place-items:center;align-content:center;gap:10px;color:#858b8f;font-size:11px}.es-preview-empty svg{width:30px;height:30px}.es-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:66px;padding:0 14px;border-top:1px solid var(--es-border)}.es-preview-meta>div{display:grid;gap:4px}.es-preview-meta strong{font-size:11px}.es-preview-meta span{color:var(--es-subtle);font-size:10px}.es-shot-strip{display:flex;align-items:stretch;gap:6px;min-height:108px;margin-top:auto;padding:12px 16px 16px;overflow-x:auto;background:#0e0f10;border-top:1px solid var(--es-border)}.es-shot-strip>button:not(.es-shot-add){position:relative;display:grid;grid-template-columns:104px auto;flex:0 0 186px;align-items:center;gap:9px;padding:6px;color:#c4c7c5;background:#151719;border:1px solid #303438;border-radius:3px;text-align:left}.es-shot-strip>button:not(.es-shot-add):hover:not(:disabled){border-color:#4c5256}.es-shot-strip>button.is-selected{background:#1b1e20;border-color:#8b9296}.es-shot-thumb{display:grid;width:104px;height:66px;overflow:hidden;place-items:center;color:#5e6469;background:#222527}.es-shot-thumb img{width:100%;height:100%;object-fit:cover}.es-shot-thumb svg{width:20px}.es-shot-strip button>span:nth-child(2){display:grid;gap:6px}.es-shot-strip strong{font-size:11px}.es-shot-strip small{color:var(--es-subtle);font-size:10px}.es-shot-dot{position:absolute;top:7px;right:7px;width:6px;height:6px;background:#70767a;border-radius:50%}.es-shot-dot-ready{background:var(--es-success)}.es-shot-dot-generating{background:var(--es-warning)}.es-shot-add{display:grid;flex:0 0 74px;place-items:center;color:#777d82;background:transparent;border:1px dashed #383d40;border-radius:3px}.es-shot-add:hover:not(:disabled){color:#fff;border-color:#5c6266}.es-shot-add svg{width:20px}.es-film-stage{padding-bottom:18px}.es-film-viewer{width:min(1240px,calc(100% - 48px));margin:18px auto 0;overflow:hidden;background:#080909;border:1px solid var(--es-border);border-radius:5px}.es-film-frame{display:grid;width:100%;max-height:58vh;aspect-ratio:16 / 8.5;place-items:center;overflow:hidden;background:#050606}.es-film-frame img{object-fit:contain}.es-playback-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:58px;padding:0 14px;background:#111314;border-top:1px solid var(--es-border)}.es-playback-bar>span{color:#a7acae;font-size:11px;font-variant-numeric:tabular-nums}.es-playback-bar>div{display:flex;align-items:center;gap:10px}.es-playback-bar>button:last-child{justify-self:end}.es-play-button{display:grid;width:40px;height:40px;padding:0;place-items:center;color:#111314;background:#eceeeb;border:0;border-radius:50%}.es-play-button:hover:not(:disabled){background:#fff}.es-play-button svg{width:19px;height:19px}.es-timeline{width:min(1440px,calc(100% - 48px));margin:14px auto 0;padding:12px 14px 14px;overflow-x:auto;overflow-y:hidden;background:#111314;border:1px solid var(--es-border);border-radius:5px}.es-timeline>header{display:flex;justify-content:space-between;height:24px;padding:0 4px;min-width:680px;color:#858b8f;font-size:9px;font-variant-numeric:tabular-nums}.es-timeline-track{display:flex;gap:3px;min-width:680px}.es-timeline-track button{position:relative;display:grid;flex-basis:0;min-width:100px;height:88px;padding:0;overflow:hidden;place-items:center;color:#777d82;background:#202326;border:1px solid #313538}.es-timeline-track button.is-selected{border-color:#9aa0a3}.es-timeline-track button img{width:100%;height:100%;object-fit:cover}.es-timeline-track button>svg{width:22px}.es-timeline-track button>span{position:absolute;right:0;bottom:0;left:0;display:flex;justify-content:space-between;padding:7px 8px;color:#e2e4e1;background:#0a0b0ce0;font-size:10px}.es-timeline-track button small{color:#a2a7aa}@media(max-width:1180px){.es-studio-header{grid-template-columns:minmax(240px,1fr) auto 70px;padding:0 14px}.es-step-nav{grid-template-columns:repeat(4,86px)}.es-step-nav button{grid-template-columns:20px auto;padding:0 8px}.es-step-nav small,.es-save-state{display:none}.es-storyboard-workspace{grid-template-columns:220px minmax(390px,1fr)}.es-shot-preview{grid-column:1 / -1}.es-preview-frame{aspect-ratio:16 / 7}}@media(max-width:900px){.es-studio{grid-template-rows:auto minmax(0,1fr)}.es-studio-header{grid-template-columns:1fr auto;min-height:116px;padding:12px 14px 0}.es-project-context{align-self:start}.es-project-context>div span,.es-episode-select{display:none}.es-header-actions{align-self:start}.es-step-nav{grid-column:1 / -1;grid-row:2;width:100%;height:54px;justify-content:space-between;gap:8px}.es-step-nav button{flex:1 1 0;grid-template-columns:20px auto;width:auto;max-width:82px}.es-step-nav button:not(:last-child):after{display:none}.es-script-layout{grid-template-columns:1fr}.es-scene-panel{max-height:290px}.es-script-editor{max-height:none}.es-stage-toolbar{align-items:stretch;flex-direction:column;padding-block:12px}.es-toolbar-actions{overflow-x:auto}.es-storyboard-workspace{grid-template-columns:1fr}.es-asset-list{overflow-x:auto}}@media(max-width:620px){.es-project-context>div{max-width:175px}.es-step-nav button{grid-template-columns:1fr;gap:2px}.es-step-nav button>span{display:none}.es-script-layout{padding:10px}.es-generation-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.es-generation-settings>.es-icon-button{grid-column:1 / -1;justify-self:end}.es-script-editor textarea{padding:20px}.es-editor-footer,.es-stage-footer{align-items:stretch;height:auto;padding-block:12px;flex-direction:column}.es-editor-footer>div,.es-editor-footer .es-button,.es-stage-footer .es-button{width:100%}.es-tab-list{width:100%}.es-tab-list button{min-width:0;flex:1;justify-content:center;padding:0 8px}.es-tab-list button svg{display:none}.es-film-viewer,.es-timeline{width:calc(100% - 20px)}}:root{color-scheme:dark;color:#ededeb;background:#070808;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--accent: #9aa097;--surface: #111212;--surface-raised: #181919;--surface-active: #242625;--border: #292b2a;--border-strong: #3b3e3c;--muted: #939793;--subtle: #838884}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.library-shell{min-height:100vh;background:#111212}.library-header{position:sticky;z-index:10;top:0;display:flex;align-items:center;height:72px;padding:0 max(32px,calc((100vw - 1216px)/2));background:#070808;border-bottom:1px solid #202221}.library-brand{display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:0;color:#f1f2ef;background:transparent;border:0}.library-brand strong{font-size:18px;font-weight:680}.library-brand-mark{display:grid;width:32px;height:32px;place-items:center;color:#0c0d0c;background:#e9eae5;border-radius:5px}.library-brand-mark svg{width:19px}.library-navigation{align-self:stretch;display:flex;align-items:center;margin-left:34px}.library-navigation button{position:relative;align-self:stretch;min-width:84px;padding:0 14px;color:#a1a5a1;background:transparent;border:0;font-size:13px}.library-navigation button.is-active{color:#f4f5f2}.library-navigation button.is-active:after{position:absolute;right:14px;bottom:0;left:14px;height:2px;content:"";background:#d9dbd5}.library-account{display:inline-flex;align-items:center;gap:7px;margin-left:auto;color:#bfc2be;font-size:12px}.library-account svg{width:19px}.library-main{min-width:0}.projects-workspace,.project-detail-workspace{width:min(1216px,100%);padding-top:36px}.project-toolbar,.project-toolbar-actions,.project-management-tabs,.project-type-tabs,.project-section-tabs,.project-detail-actions,.project-title-row{display:flex;align-items:center}.project-toolbar{justify-content:space-between;gap:22px}.project-toolbar-actions{gap:12px;margin-left:auto}.project-management-tabs,.project-type-tabs,.project-section-tabs{gap:6px}.project-management-tabs button,.project-type-tabs button,.project-section-tabs button{min-height:38px;padding:0 16px;color:#a5a9a5;background:transparent;border:1px solid transparent;border-radius:5px;font-size:13px}.project-management-tabs button.is-active,.project-type-tabs button.is-active,.project-section-tabs button.is-active{color:#f3f4f1;background:#363837;border-color:#3b3d3c}.projects-workspace .search-field{width:218px;height:42px;background:#181919;border-color:#3a3d3a}.project-sort-field{display:grid;grid-template-columns:auto auto;align-items:center;height:42px;overflow:hidden;color:#8f938f;background:#181919;border:1px solid #343634;border-radius:5px}.project-sort-field>span{padding:0 10px;border-right:1px solid #343634;font-size:12px}.project-sort-field select{height:40px;padding:0 30px 0 10px;color:#d5d7d3;background:#181919;border:0;outline:0;font-size:12px}.project-toolbar .primary-action{min-height:42px}.project-type-tabs{margin-top:14px}.project-type-tabs button{min-height:34px;padding-inline:15px}.projects-workspace .project-grid{grid-template-columns:repeat(auto-fill,minmax(260px,280px));gap:20px;margin-top:12px}.projects-workspace .project-card{background:#282a29;border:0;border-radius:7px}.projects-workspace .project-cover{border-bottom:0}.projects-workspace .cover-placeholder{background:#181a19}.projects-workspace .project-meta{min-height:70px;padding:13px 13px 7px}.projects-workspace .project-title{flex:1}.projects-workspace .project-title strong{font-size:14px}.projects-workspace .project-title span{display:block;max-width:220px;margin-top:7px;color:#b1b4b0}.projects-workspace .project-foot{justify-content:space-between;padding-top:0}.projects-workspace .project-foot>span:last-child{margin-left:0}.project-detail-actions{justify-content:space-between;margin-bottom:20px}.back-action{display:inline-flex;align-items:center;gap:3px;padding:0;color:#b1b5b1;background:transparent;border:0;font-size:13px}.back-action svg{width:17px}.project-title-row{gap:7px;margin-bottom:14px}.project-title-row h1{margin:0;font-size:25px;font-weight:670}.project-overview{display:grid;grid-template-columns:200px minmax(0,1fr) auto;align-items:start;gap:14px;min-height:138px;padding:12px;background:#151716;border:1px solid #343634;border-radius:7px}.project-detail-cover{display:grid;height:112px;place-items:center;color:#6f7470;background:#202221;border-radius:5px}.project-detail-cover svg{width:34px}.project-overview strong{font-size:14px}.project-overview p{margin:14px 0 0;color:#b0b4b0;font-size:13px;line-height:1.7}.project-overview .secondary-action{min-height:32px}.project-section-tabs{margin:28px 0 24px}.project-section-tabs button{display:inline-flex;align-items:center;gap:6px;background:#151716}.project-section-tabs button svg{width:15px}.project-section-tabs button span{color:#858a86;font-size:11px}.episode-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,280px));gap:20px}.episode-card{overflow:hidden;background:#282a29;border:1px solid #2f3230;border-radius:7px}.episode-card-cover{position:relative;display:block;width:100%;aspect-ratio:16 / 9;padding:0;overflow:hidden;background:#1a1c1b;border:0}.episode-stage{position:absolute;z-index:1;top:10px;left:10px;padding:5px 8px;color:#e0e2df;background:#131413db;border-radius:4px;font-size:11px}.episode-cover-placeholder{display:grid;width:100%;height:100%;place-items:center;color:#626763}.episode-cover-placeholder svg{width:32px}.episode-card-footer{display:flex;align-items:center;gap:12px;padding:11px 12px}.episode-card-title{display:grid;min-width:0;flex:1;gap:5px}.episode-card-title strong,.episode-card-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.episode-card-title strong{font-size:13px}.episode-card-title small{color:#8b908c;font-size:11px}.episode-card-footer .secondary-action{min-height:30px;padding-inline:10px;font-size:11px}.project-empty-state{border:1px dashed #343735}.dialog-fields textarea{width:100%;min-height:104px;padding:10px 11px;resize:vertical;color:inherit;background:#0d0f0e;border:1px solid #343734;border-radius:4px;outline:0;line-height:1.6}.dialog-fields textarea:focus{border-color:#60645f}.field-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.field-heading small{color:#7f8480;font-size:10px;font-variant-numeric:tabular-nums}@media(max-width:900px){.library-header{padding:0 20px}.project-toolbar{align-items:stretch;flex-direction:column}.project-toolbar-actions{width:100%;margin-left:0}.project-toolbar-actions .search-field{flex:1;width:auto}.project-overview{grid-template-columns:150px minmax(0,1fr) auto}.project-section-tabs{flex-wrap:wrap}}@media(max-width:620px){.library-header{height:60px;padding:0 14px}.library-brand strong,.library-account span{display:none}.library-navigation{margin-left:12px}.projects-workspace,.project-detail-workspace{padding:20px 14px 36px}.project-toolbar-actions{display:grid;grid-template-columns:minmax(0,1fr) auto}.project-toolbar-actions .search-field,.project-toolbar-actions .primary-action{grid-column:1 / -1;width:100%}.project-sort-field{grid-column:2;grid-row:1}.projects-workspace .project-grid,.episode-grid{grid-template-columns:1fr}.project-overview{grid-template-columns:1fr auto}.project-detail-cover{grid-column:1 / -1;height:auto;aspect-ratio:16 / 7}}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#070808}button,input,select,textarea{color:inherit;font:inherit;letter-spacing:0}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,select:focus-visible{outline:0;box-shadow:inset 0 0 0 1px #737875}input:focus-visible,textarea:focus-visible{outline:0;box-shadow:none}.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:18px 12px 14px;background:#0b0c0c;border-right:1px solid var(--border)}.brand{display:flex;align-items:center;gap:11px;width:100%;min-height:48px;padding:0 10px 16px;color:inherit;background:transparent;border:0;text-align:left}.brand-mark{display:grid;flex:0 0 32px;width:32px;height:32px;place-items:center;color:#0d0e0d;background:#e8e9e4;border-radius:5px}.brand-mark svg{width:19px}.brand>span:last-child,.account-row>span:nth-child(2){display:grid;min-width:0}.brand strong{font-size:16px;line-height:1.25}.brand small,.account-row small{margin-top:2px;color:var(--muted);font-size:11px}.sidebar nav{display:grid;gap:3px;padding-top:14px;border-top:1px solid #202221}.sidebar nav button,.sidebar-settings{display:flex;align-items:center;gap:11px;width:100%;min-height:40px;padding:0 11px;color:#a7aba7;background:transparent;border:1px solid transparent;border-radius:5px;text-align:left}.sidebar nav button svg,.sidebar-settings svg{width:18px;height:18px}.sidebar nav button:hover:not(:disabled),.sidebar-settings:hover:not(:disabled){color:#f1f2ef;background:#171918}.sidebar nav button.is-active{color:#fff;background:var(--surface-active);border-color:#303331}.sidebar-spacer{flex:1}.account-row{display:grid;grid-template-columns:32px minmax(0,1fr) 16px;align-items:center;gap:9px;width:100%;margin-top:10px;padding:12px 7px 0;color:inherit;background:transparent;border:0;border-top:1px solid #202221;text-align:left}.account-row>svg{width:15px;color:#747975}.account-row strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.avatar{display:grid;width:32px;height:32px;place-items:center;color:#e7e9e5;background:#303331;border:1px solid #444744;border-radius:50%;font-size:11px;font-weight:700}.main-column{min-width:0}.topbar{position:sticky;z-index:5;top:0;display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:14px clamp(24px,3vw,48px);background:#070808fa;border-bottom:1px solid var(--border)}.topbar>h1,.title-with-back,.title-with-back>div{min-width:0}.topbar h1{margin:0;font-size:20px;font-weight:650}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 15px;border-radius:5px;font-size:13px;font-weight:650;white-space:nowrap}.primary-action{color:#11120f;background:#eeefe9;border:1px solid #eeefe9}.primary-action:hover:not(:disabled){background:#fff}.primary-action:disabled{color:#777c78;background:#252826;border-color:#383b39}.primary-action svg,.secondary-action svg{width:16px}.secondary-action{color:#d8dad6;background:#181a19;border:1px solid #343735}.secondary-action:hover:not(:disabled){background:#222422;border-color:#494d49}.secondary-action:disabled{opacity:.4}.workspace{width:min(1440px,100%);margin:0 auto;padding:28px clamp(24px,3vw,48px) 56px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.search-field{display:flex;align-items:center;width:min(420px,55vw);height:38px;padding:0 11px;background:#111312;border:1px solid var(--border);border-radius:5px}.search-field:focus-within,.dialog-fields input:focus,.dialog-fields select:focus{border-color:#60645f;outline:0}.search-field svg{width:16px;color:var(--muted)}.search-field input{flex:1;min-width:0;height:100%;padding:0 9px;background:transparent;border:0;outline:0}.scope-field{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.scope-field select,.dialog-fields select{min-width:116px;height:38px;padding:0 10px;background:#111312;border:1px solid var(--border);border-radius:5px}.scope-field select:disabled{color:#a2a6a2;opacity:1}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:34px 0 14px}.section-heading h2{margin:0;font-size:15px;font-weight:650}.section-heading>span{color:var(--subtle);font-size:12px}.section-heading>button{padding:2px 0;color:#c5c8c4;background:transparent;border:0;font-size:12px}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,294px),1fr));gap:18px}.project-card{min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:6px}.project-card:has(.project-cover:not(:disabled)):hover{border-color:#4b4f4b}.project-cover{position:relative;display:block;width:100%;aspect-ratio:16 / 9;padding:0;overflow:hidden;background:#171918;border:0;border-bottom:1px solid var(--border)}.project-cover img{width:100%;height:100%;object-fit:cover}.cover-placeholder{display:grid;width:100%;height:100%;place-items:center;background-color:#151716}.cover-placeholder svg{width:34px;height:34px;color:#737974}.project-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:65px;padding:13px 13px 8px}.project-title{display:grid;min-width:0;padding:0;background:transparent;border:0;text-align:left}.project-title strong,.project-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-title strong{font-size:14px}.project-title span{margin-top:5px;color:var(--muted);font-size:11px}.icon-button{display:grid;flex:0 0 32px;width:32px;height:32px;padding:0;place-items:center;color:#a8aca8;background:transparent;border:1px solid transparent;border-radius:4px}.icon-button:hover:not(:disabled){color:#fff;background:#252725;border-color:#393c39}.icon-button:disabled{opacity:.4}.icon-button svg{width:17px}.project-foot{display:flex;align-items:center;gap:12px;padding:0 13px 13px;color:var(--subtle);font-size:11px}.project-foot>span:last-child{margin-left:auto}.status-text{display:inline-flex;align-items:center;gap:6px;color:#b9bdb9}.status-text i{width:6px;height:6px;background:var(--accent);border-radius:50%}.empty-state{display:grid;min-height:260px;place-items:center;align-content:center;color:var(--muted)}.empty-state svg{width:32px;margin-bottom:13px}.empty-state button{margin-top:11px;color:#d2d5d1;background:transparent;border:0}.page-status,.full-page-status{display:grid;place-items:center;align-content:center;color:var(--muted)}.page-status{min-height:260px;gap:11px}.page-status>svg{width:24px}.page-status>button{display:inline-flex;align-items:center;gap:6px;margin-top:3px;padding:7px 10px;color:#d9dbd8;background:#171918;border:1px solid var(--border-strong);border-radius:4px}.page-status>button svg{width:14px}.full-page-status{min-height:100vh;background:#070808}.full-page-status .page-status{min-height:auto}.full-page-status>.secondary-action{margin-top:18px}.is-spinning{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.series-topbar{min-height:78px}.title-with-back{display:flex;align-items:center;gap:10px}.title-with-back>div{display:grid;gap:3px}.title-with-back h1,.title-with-back span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title-with-back span{color:var(--muted);font-size:11px}.series-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:25px;border-bottom:1px solid var(--border)}.series-summary h2{margin:0;font-size:22px;overflow-wrap:anywhere}.series-summary p{margin:8px 0 0;color:var(--muted);font-size:12px}.series-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:34px}.episode-list,.asset-list{border-top:1px solid var(--border)}.inline-empty{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:0 10px;color:var(--muted);border-top:1px solid var(--border);border-bottom:1px solid var(--border);font-size:12px}.inline-empty button{padding:7px 10px;color:#e2e4e1;background:#181a19;border:1px solid #353835;border-radius:4px}.episode-row{display:grid;grid-template-columns:44px minmax(150px,1fr) 76px minmax(90px,160px) 38px 20px;align-items:center;gap:14px;width:100%;min-height:64px;padding:8px 10px;color:#dfe1de;background:transparent;border:0;border-bottom:1px solid var(--border);text-align:left}.episode-row:hover:not(:disabled),.asset-list>button:hover:not(:disabled){background:#111312}.episode-row>svg{width:15px;color:var(--subtle)}.episode-number{color:var(--subtle);font-variant-numeric:tabular-nums}.episode-name{display:grid;min-width:0;gap:4px}.episode-name strong,.episode-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.episode-name strong{font-size:13px}.episode-name small,.episode-step,.episode-row>span:nth-last-of-type(1){color:var(--muted);font-size:11px}.episode-progress{height:3px;overflow:hidden;background:#272a28;border-radius:2px}.episode-progress i{display:block;height:100%;background:#9aa097}.asset-list>button{display:grid;grid-template-columns:24px minmax(0,1fr) auto 16px;align-items:center;gap:9px;width:100%;min-height:52px;padding:0 8px;color:#d5d7d4;background:transparent;border:0;border-bottom:1px solid var(--border);text-align:left}.asset-list svg{width:16px;color:var(--muted)}.asset-list strong{color:var(--muted);font-size:12px}.approval-summary{display:flex;gap:10px;margin-top:18px;padding:13px;background:#111312;border:1px solid var(--border);border-radius:5px}.approval-summary>svg{width:17px;color:#a8aca7}.approval-summary>span{display:grid;gap:4px}.approval-summary strong{font-size:12px}.approval-summary small{color:var(--muted);font-size:11px}.modal-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;padding:20px;overflow-y:auto;place-items:center;background:#000000c2}.create-dialog{width:min(500px,100%);max-height:calc(100dvh - 40px);padding:21px;overflow-y:auto;background:#151716;border:1px solid #383b38;border-radius:6px;box-shadow:0 24px 70px #00000075}.create-dialog header,.create-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:14px}.create-dialog h2{margin:0;font-size:18px}.dialog-fields{display:grid;gap:18px;margin:24px 0 28px}.dialog-fields label{display:grid;gap:7px;color:#c4c7c3;font-size:12px}.dialog-fields input{width:100%;height:40px;padding:0 11px;background:#0d0f0e;border:1px solid #343734;border-radius:4px;outline:0}.field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dialog-fields select{width:100%}.create-dialog footer{justify-content:flex-end}.compact-dialog{width:min(420px,100%)}.form-error{margin:0;padding:9px 10px;color:#e0b4b4;background:#211516;border:1px solid #57383a;border-radius:4px;font-size:12px}@media(max-width:980px){.app-shell{grid-template-columns:68px minmax(0,1fr)}.sidebar{padding-inline:9px}.brand{justify-content:center;padding-inline:0}.brand>span:last-child,.sidebar nav button span,.sidebar-settings span,.account-row>span:nth-child(2),.account-row>svg{display:none}.sidebar nav button,.sidebar-settings{justify-content:center;padding:0}.account-row{display:flex;justify-content:center;padding-inline:0}.series-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:680px){.app-shell{display:block}.sidebar{position:fixed;z-index:10;top:auto;bottom:0;display:grid;grid-template-columns:1fr;width:100%;height:62px;padding:5px 9px;border-top:1px solid var(--border);border-right:0}.brand,.sidebar-spacer,.account-row{display:none}.sidebar nav{display:contents;border:0}.sidebar nav button,.sidebar-settings{display:grid;min-height:50px;place-items:center;align-content:center;gap:2px;padding:0}.sidebar nav button span,.sidebar-settings span{display:block;font-size:10px}.sidebar nav button.is-active{background:#252725;border-color:transparent}.main-column{padding-bottom:66px}.topbar{min-height:68px;padding:12px 16px}.topbar>h1,.title-with-back{flex:1 1 auto}.topbar>.primary-action{flex:0 0 auto}.topbar h1{font-size:18px}.primary-action,.secondary-action{min-height:36px;padding:0 11px}.workspace{padding:20px 16px 36px}.toolbar{align-items:stretch;flex-direction:column}.search-field{width:100%}.scope-field{justify-content:space-between}.scope-field select{flex:1}.section-heading{margin-top:27px}.project-grid{grid-template-columns:1fr}.series-summary{align-items:stretch;flex-direction:column}.series-summary .secondary-action{align-self:flex-start}.episode-row{grid-template-columns:34px minmax(0,1fr) 52px 18px;gap:8px}.episode-progress,.episode-row>span:nth-last-of-type(1){display:none}.field-grid{grid-template-columns:1fr}.modal-backdrop{align-items:end;padding:12px}.create-dialog{max-height:calc(100dvh - 24px)}}.library-main>.workspace.projects-workspace,.library-main>.workspace.project-detail-workspace{width:min(1280px,100%);padding:36px clamp(32px,4vw,52px) 56px}@media(max-width:620px){.library-main>.workspace.projects-workspace,.library-main>.workspace.project-detail-workspace{padding:20px 14px 36px}}
