#script-agent-module.sa5-workbench{position:relative;isolation:isolate;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden;box-sizing:border-box;background:transparent}:is(#script-agent-module,#script-agent-overlays) .sa5-loading-screen{position:absolute;z-index:500;inset:0;display:grid;place-items:center;grid-gap:8px;gap:8px;align-content:center;background:rgba(5,6,13,.96);color:var(--sa-muted,#9299aa);font-size:12px}#script-agent-module.is-loading>:not(.sa5-loading-screen){visibility:hidden}:is(#script-agent-module,#script-agent-overlays) .sa5-work-head{position:relative;z-index:200;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,28vw) minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;flex-shrink:0;min-height:48px;padding:7px 20px;box-sizing:border-box;border-bottom:1px solid var(--sa-soft,rgba(255,255,255,.06));background:rgba(5,6,13,.85);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}:is(#script-agent-module,#script-agent-overlays) .sa5-work-title{display:flex;align-items:center;grid-column:2;grid-row:1;justify-content:center;gap:6px;min-width:0;max-width:100%}:is(#script-agent-module,#script-agent-overlays) .sa5-title-input{padding:4px 6px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--sa-text,#f4f5fa);font-size:15px;font-weight:650;min-width:0;max-width:280px;transition:border-color .15s,background .15s}:is(#script-agent-module,#script-agent-overlays) .sa5-title-input:hover{border-color:var(--sa-line,rgba(255,255,255,.1))}:is(#script-agent-module,#script-agent-overlays) .sa5-title-input:focus{border-color:rgba(143,124,255,.5);background:var(--sa-soft,rgba(255,255,255,.04));outline:none}:is(#script-agent-module,#script-agent-overlays) .sa5-status-pill{flex-shrink:0;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:500}:is(#script-agent-module,#script-agent-overlays) .sa5-status-pill.draft{background:rgba(255,255,255,.08);color:var(--sa-muted,#9299aa)}:is(#script-agent-module,#script-agent-overlays) .sa5-status-pill.analyzing{background:rgba(143,124,255,.14);color:#8f7cff}:is(#script-agent-module,#script-agent-overlays) .sa5-status-pill.review{background:rgba(240,192,96,.14);color:#f0c060}:is(#script-agent-module,#script-agent-overlays) .sa5-status-pill.confirmed{background:rgba(111,224,181,.14);color:#6fe0b5}:is(#script-agent-module,#script-agent-overlays) .sa5-status-pill.failed{background:rgba(255,138,138,.14);color:#ff8a8a}:is(#script-agent-module,#script-agent-overlays) .sa5-version-tag{flex-shrink:0;padding:2px 7px;border-radius:4px;background:var(--sa-soft,rgba(255,255,255,.04));color:var(--sa-faint,#646b7d);font-size:10px;font-family:SF Mono,Consolas,monospace}:is(#script-agent-module,#script-agent-overlays) .sa5-stats{color:var(--sa-faint,#646b7d);font-size:11px;white-space:nowrap;margin-right:4px}:is(#script-agent-module,#script-agent-overlays) .sa5-project-picker{position:relative;z-index:220}:is(#script-agent-module,#script-agent-overlays) .sa5-project-picker>summary{display:inline-flex;align-items:center;gap:6px;min-width:132px;min-height:36px;padding:6px 10px;border:1px solid var(--source-line,rgba(255,255,255,.14));border-radius:8px;background:var(--source-surface,rgba(255,255,255,.05));color:var(--source-text,#eeeaf6);font-size:12px;justify-content:center;cursor:pointer}:is(#script-agent-module,#script-agent-overlays) .sa5-project-picker>summary:hover{background:var(--source-hover,rgba(255,255,255,.09));border-color:var(--source-muted,#b8afc8)}:is(#script-agent-module,#script-agent-overlays) .sa5-project-picker>summary:focus-visible{outline:2px solid var(--source-accent,#b9a6ff);outline-offset:4px}:is(#script-agent-module,#script-agent-overlays) .sa5-project-picker>summary:active{transform:translateY(1px) scale(.98)}:is(#script-agent-module,#script-agent-overlays) .sa5-project-picker[open]>summary{border-color:var(--source-accent,#b9a6ff);background:#352b4d}:is(#script-agent-module,#script-agent-overlays) .sa5-project-picker>summary::-webkit-details-marker{display:none}:is(#script-agent-module,#script-agent-overlays) .sa5-project-menu{position:absolute;z-index:240;top:calc(100% + 6px);right:0;width:min(320px,calc(100vw - 24px));max-height:min(360px,calc(100vh - 88px));overflow-y:auto;padding:7px;border:1px solid rgba(143,124,255,.35);border-radius:12px;background:rgba(20,19,32,.98);box-shadow:0 20px 48px rgba(0,0,0,.52);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}:is(#script-agent-module,#script-agent-overlays) .sa5-project-menu .sa5-project-open{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;width:100%!important;min-width:0!important;min-height:38px!important;align-items:center!important;grid-gap:10px!important;gap:10px!important;padding:7px 10px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:var(--sa-text,#f4f5fa)!important;text-align:left!important;font-size:12px!important;cursor:pointer}:is(#script-agent-module,#script-agent-overlays) .sa5-project-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:stretch;grid-gap:4px;gap:4px}:is(#script-agent-module,#script-agent-overlays) .sa5-project-row:hover{background:var(--sa-soft,rgba(255,255,255,.04));border-radius:8px}:is(#script-agent-module,#script-agent-overlays) .sa5-project-menu .sa5-project-open:hover:not(:disabled){border-color:var(--source-muted,#b8afc8)!important;background:var(--source-hover,rgba(255,255,255,.09))!important}:is(#script-agent-module,#script-agent-overlays) .sa5-project-menu .sa5-project-open[aria-current=page]{border-color:var(--source-accent,#b9a6ff)!important;background:#352b4d!important}:is(#script-agent-module,#script-agent-overlays) .sa5-project-delete{display:grid!important;place-items:center!important;width:32px!important;min-width:32px!important;min-height:32px!important;height:32px!important;padding:0!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:var(--sa-muted,#9299aa)!important}:is(#script-agent-module,#script-agent-overlays) .sa5-project-delete:hover:not(:disabled){border-color:var(--source-danger,#ffa8b6)!important;background:#3c2430!important;color:var(--source-danger,#ffa8b6)!important}:is(#script-agent-module,#script-agent-overlays) .sa5-project-menu .sa5-project-open>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-project-menu small{color:var(--sa-muted,#9299aa);font-size:10px;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-project-menu>span{display:block;padding:10px;color:var(--sa-muted,#9299aa);font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-stage-switch{flex-shrink:0;grid-column:1;grid-row:1;justify-self:start;display:flex;min-width:0;width:100%;padding:0;border:0;background:transparent;justify-content:flex-start!important;flex-wrap:nowrap;overflow:hidden;scrollbar-width:none;margin:0;gap:0}:is(#script-agent-module,#script-agent-overlays) .sa5-work-head .sa5-stage-switch::-webkit-scrollbar{display:none}:is(#script-agent-module,#script-agent-overlays) .sa5-stage-switch>button{flex:0 0 auto!important;min-width:0!important;min-height:38px!important;height:38px!important;padding:7px 14px!important;border-radius:0!important;border:0!important;border-bottom:2px solid transparent!important;background:transparent!important;color:var(--sa-faint,#646b7d)!important;font-size:12px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-work-head .sa5-stage-switch>button{white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-stage-switch>button:hover:not(:disabled){background:var(--source-hover,rgba(255,255,255,.09))!important;color:var(--source-text,#eeeaf6)!important}:is(#script-agent-module,#script-agent-overlays) .sa5-stage-switch>button.active{color:var(--source-accent,#b9a6ff)!important;border-bottom-color:var(--source-accent,#b9a6ff)!important}:is(#script-agent-module,#script-agent-overlays) .sa5-tab-badge{margin-left:5px;padding:1px 6px;border-radius:999px;background:var(--sa-soft,rgba(255,255,255,.04));color:var(--sa-faint,#646b7d);font-size:10px}:is(#script-agent-module,#script-agent-overlays) .sa5-stage-switch>button.active .sa5-tab-badge{background:rgba(143,124,255,.14);color:#8f7cff}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-toggle{margin-left:auto!important;align-self:center;display:inline-flex!important;align-items:center;gap:5px;min-height:34px!important;height:34px!important;padding:4px 10px!important;font-size:11px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-work-head .sa5-create-toolbar-actions{display:flex;align-items:center;grid-column:3;grid-row:1;justify-self:end;gap:8px;min-width:0;flex-wrap:nowrap;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-toolbar-action{min-height:36px!important;height:36px!important;padding:6px 10px!important;font-size:12px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-feed{flex:1 1;min-height:0;overflow-y:auto;padding:14px 20px;scrollbar-width:thin;scrollbar-color:rgba(143,124,255,.35) transparent}:is(#script-agent-module,#script-agent-overlays) .sa5-feed::-webkit-scrollbar{width:6px}:is(#script-agent-module,#script-agent-overlays) .sa5-feed::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(143,124,255,.3)}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar{position:relative;z-index:40;isolation:isolate;display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-height:34px;padding:0 0 4px;gap:7px;overflow:visible}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .sa4-generation-settings{position:relative;z-index:80;overflow:visible}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .sa4-generation-settings-panel{position:absolute;z-index:100;left:0;top:calc(100% + 8px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px;width:min(700px,calc(100vw - 40px));padding:14px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:10px;background:rgba(17,21,34,.98);box-shadow:0 18px 45px rgba(0,0,0,.42);overflow:visible}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .sa4-generation-settings-panel .sa4-param{display:grid;align-content:start;grid-gap:6px;gap:6px;min-width:0}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .sa4-generation-settings-panel .sa4-param>span{color:var(--sa-muted,#9299aa);font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel{position:relative;z-index:1000;isolation:isolate;background:#111421!important}:is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .sa5-param{position:relative;z-index:1}:is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .sa5-param:has(.glass-radio-group[open]){z-index:2000}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .sa5-settings{position:relative!important;z-index:400!important;overflow:visible!important}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .sa5-settings[open]{z-index:1000!important}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .sa5-settings-panel{z-index:2000!important;overflow:visible!important}:is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .glass-radio-group,:is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .radio-select-shell{position:relative!important;z-index:10!important;overflow:visible!important}:is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .glass-radio-group[open],:is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .radio-select-shell:has(.radio-select-popover[open]){z-index:3000!important}:is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .glass-radio-options,:is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .radio-select-options{z-index:4000!important;background:#1a1826!important;opacity:1!important;isolation:isolate}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .glass-radio-group,:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .radio-select-shell{position:relative;z-index:90;width:100%;min-width:0;overflow:visible}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .glass-radio-group[open],:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .radio-select-shell:has(.radio-select-popover[open]){z-index:200}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .radio-select-popover{position:relative;z-index:200;overflow:visible}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .glass-radio-options,:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .radio-select-options{position:absolute;z-index:300!important;top:calc(100% + 6px)!important;right:0!important;left:0!important;width:100%!important;min-width:0!important;max-width:360px!important;max-height:min(240px,calc(100vh - 120px))!important;padding:6px!important;gap:3px!important;overflow-x:hidden!important;overflow-y:auto!important}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .glass-radio-group.opens-up .glass-radio-options,:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .radio-select-popover.opens-up .radio-select-options{top:auto!important;bottom:calc(100% + 6px)!important}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .glass-radio-group>summary,:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .radio-select-popover>summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-card,:is(#script-agent-module,#script-agent-overlays) .sa5-shot-card{position:relative;min-width:0;overflow:hidden;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:10px;background:rgba(255,255,255,.035);transition:border-color .15s,background .15s,transform .15s}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-card:hover,:is(#script-agent-module,#script-agent-overlays) .sa5-shot-card:hover{border-color:rgba(143,124,255,.45);background:rgba(255,255,255,.06);transform:translateY(-1px)}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-card.selected,:is(#script-agent-module,#script-agent-overlays) .sa5-shot-card.selected{border-color:rgba(143,124,255,.8);background:rgba(143,124,255,.1)}:is(#script-agent-module,#script-agent-overlays) .sa5-card-open{display:block!important;width:100%!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--sa-text,#f4f5fa)!important;text-align:left!important;white-space:normal!important}:is(#script-agent-module,#script-agent-overlays) .sa5-card-open:hover:not(:disabled){background:transparent!important}:is(#script-agent-module,#script-agent-overlays) .sa5-card-check{position:absolute;z-index:2;top:8px;right:8px;display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:rgba(5,6,13,.78)}:is(#script-agent-module,#script-agent-overlays) .sa5-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px 9px}:is(#script-agent-module,#script-agent-overlays) .sa5-card-regenerate{display:grid!important;place-items:center!important;width:27px!important;min-width:27px!important;height:27px!important;min-height:27px!important;padding:0!important;border-radius:7px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-card img{display:block;width:100%;height:120px;object-fit:cover}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-card .sa4-asset-placeholder{display:grid;height:120px;place-items:center;background:rgba(255,255,255,.05);color:var(--sa-muted,#9299aa)}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-card b{display:block;padding:9px 10px 0;font-size:12px}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-card .sa4-shot-preview{position:relative;aspect-ratio:16/9;overflow:hidden;background:#111522}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-card .sa4-shot-preview img{display:block;width:100%;height:100%;object-fit:cover}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-card .sa4-shot-placeholder{display:grid;height:100%;place-items:center;color:var(--sa-faint,#646b7d);background:linear-gradient(135deg,rgba(143,124,255,.16),rgba(255,255,255,.035))}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-card .sa4-shot-body{display:grid;grid-gap:6px;gap:6px;padding:10px 11px 11px}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-card .sa4-shot-body h3{margin:0;overflow:hidden;color:var(--sa-text,#f4f5fa);font-size:12px;text-overflow:ellipsis;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-card .sa4-shot-meta{display:flex;justify-content:space-between;gap:8px;color:var(--sa-muted,#9299aa);font-size:10px}:is(#script-agent-module,#script-agent-overlays) .sa5-input-view{position:relative;z-index:1;max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:16px}:is(#script-agent-module,#script-agent-overlays) .sa5-compose{position:relative;z-index:2;padding:18px;background:rgba(14,17,30,.96)}:is(#script-agent-module,#script-agent-overlays) .sa5-compose textarea{width:100%;min-height:180px;margin-top:8px;padding:12px 14px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:9px;background:rgba(14,17,30,.65);color:var(--sa-text,#f4f5fa);font-size:13px;line-height:1.7;resize:vertical;font-family:inherit}:is(#script-agent-module,#script-agent-overlays) .sa5-compose textarea:focus{border-color:rgba(143,124,255,.5);outline:none}:is(#script-agent-module,#script-agent-overlays) .sa5-compose textarea::placeholder{color:#72798c}:is(#script-agent-module,#script-agent-overlays) .sa5-filename{color:var(--sa-faint,#646b7d);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}:is(#script-agent-module,#script-agent-overlays) .sa5-char-count{margin-left:auto;color:var(--sa-faint,#646b7d);font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-analyze-btn{margin-left:8px;min-height:48px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-analyzing-msg{display:flex;align-items:center;gap:12px;padding:14px 16px}:is(#script-agent-module,#script-agent-overlays) .sa5-analyzing-msg>svg{flex-shrink:0;color:#8f7cff}:is(#script-agent-module,#script-agent-overlays) .sa5-analyzing-msg strong{display:block;color:var(--sa-text,#f4f5fa);font-size:13px;margin-bottom:2px}:is(#script-agent-module,#script-agent-overlays) .sa5-analyzing-msg strong time{margin-left:8px;color:#b9a6ff;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:500}:is(#script-agent-module,#script-agent-overlays) .sa5-analyzing-msg p{color:var(--sa-muted,#9299aa);font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-subtabs{display:flex;gap:4px;padding:3px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:8px;background:var(--sa-soft,rgba(255,255,255,.04))}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-subtabs button{min-height:36px!important;height:36px!important;padding:6px 14px!important;border:1px solid transparent!important;border-radius:6px!important;background:transparent!important;color:var(--sa-muted,#9299aa)!important;font-size:12px!important;line-height:1.35!important}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-subtabs button:hover:not(:disabled){background:var(--source-hover,rgba(255,255,255,.09))!important;border-color:var(--source-muted,#b8afc8)!important}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-subtabs button.active{border-color:var(--source-accent,#b9a6ff)!important;background:#352b4d!important;color:var(--source-text,#eeeaf6)!important}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-ph{flex-direction:column;gap:6px;font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-ph.generating{color:#8f7cff;background:rgba(143,124,255,.1)}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-ph.failed{color:#ff8a8a;background:rgba(255,138,138,.08)}:is(#script-agent-module,#script-agent-overlays) .sa5-script-library-commandbar .selected-count.is-generating{color:#bba9ff}:is(#script-agent-module,#script-agent-overlays) .sa5-script-asset-grid>article.is-generating{border-color:rgba(143,124,255,.78);box-shadow:0 0 0 1px rgba(143,124,255,.16),0 10px 28px rgba(38,24,86,.18)}:is(#script-agent-module,#script-agent-overlays) .sa5-script-asset-grid>article.is-failed{border-color:rgba(255,138,138,.62)}:is(#script-agent-module,#script-agent-overlays) .sa5-script-asset-grid>article.is-generating .asset-preview{position:relative;overflow:hidden}:is(#script-agent-module,#script-agent-overlays) .sa5-script-asset-grid>article.is-generating .asset-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 18%,rgba(255,255,255,.08) 42%,transparent 64%);transform:translateX(-110%);animation:sa5-asset-scan 1.6s ease-in-out infinite;pointer-events:none}@keyframes sa5-asset-scan{to{transform:translateX(110%)}}:is(#script-agent-module,#script-agent-overlays) .sa5-video-model{width:min(240px,28vw);min-width:160px}:is(#script-agent-module,#script-agent-overlays) .sa5-batch-progress{display:inline-flex;align-items:center;gap:5px;color:#8f7cff;font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-list{display:flex;flex-direction:column;gap:18px}:is(#script-agent-module,#script-agent-overlays) .sa5-chapter-block{border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:12px;background:var(--sa-panel,#0d101b);overflow:hidden}:is(#script-agent-module,#script-agent-overlays) .sa5-chapter-head{display:flex;align-items:baseline;gap:12px;padding:11px 16px;border-bottom:1px solid var(--sa-soft,rgba(255,255,255,.06));background:var(--sa-soft,rgba(255,255,255,.04))}:is(#script-agent-module,#script-agent-overlays) .sa5-chapter-head strong{font-size:13px;font-weight:600;white-space:nowrap;color:var(--sa-text,#f4f5fa)}:is(#script-agent-module,#script-agent-overlays) .sa5-chapter-head span{color:var(--sa-muted,#9299aa);font-size:11px;flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-scene-block{padding:12px 16px}:is(#script-agent-module,#script-agent-overlays) .sa5-scene-block+.sa5-scene-block{border-top:1px solid var(--sa-soft,rgba(255,255,255,.06))}:is(#script-agent-module,#script-agent-overlays) .sa5-scene-head{display:flex;align-items:center;gap:6px;margin-bottom:10px;color:var(--sa-muted,#9299aa);font-size:12px}:is(#script-agent-module,#script-agent-overlays) .sa5-scene-head svg{color:#8f7cff;flex-shrink:0}:is(#script-agent-module,#script-agent-overlays) .sa5-scene-head span{font-weight:500}:is(#script-agent-module,#script-agent-overlays) .sa5-scene-head small{margin-left:auto;color:var(--sa-faint,#646b7d);font-size:10px}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));grid-gap:10px;gap:10px}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-ph{gap:0}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-ph.generating{color:#8f7cff}:is(#script-agent-module,#script-agent-overlays) .sa5-vid-status{color:var(--sa-faint,#646b7d)}:is(#script-agent-module,#script-agent-overlays) .sa5-vid-status.success{color:#6fe0b5}:is(#script-agent-module,#script-agent-overlays) .sa5-vid-status.generating,:is(#script-agent-module,#script-agent-overlays) .sa5-vid-status.queued{color:#8f7cff}:is(#script-agent-module,#script-agent-overlays) .sa5-vid-status.failed{color:#ff8a8a}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-bar{position:fixed;z-index:100;right:20px;bottom:20px;width:min(560px,calc(100vw - 32px));max-height:min(620px,calc(100vh - 80px));border:1px solid rgba(143,124,255,.34);border-radius:14px;background:rgba(8,10,20,.97);box-shadow:0 18px 60px rgba(0,0,0,.46);display:flex;flex-direction:column;overflow:hidden}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-chat{flex:1 1;min-height:120px;max-height:360px;overflow-y:auto;padding:14px 16px;display:flex;flex-direction:column;gap:7px;scrollbar-width:thin;scrollbar-color:rgba(143,124,255,.3) transparent}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-chat::-webkit-scrollbar{width:4px}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-chat::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(143,124,255,.25)}:is(#script-agent-module,#script-agent-overlays) .sa5-msg{display:flex;align-items:flex-start;gap:8px;max-width:78%}:is(#script-agent-module,#script-agent-overlays) .sa5-msg.user{align-self:flex-end;flex-direction:row-reverse}:is(#script-agent-module,#script-agent-overlays) .sa5-msg-avatar{display:grid;place-items:center;flex-shrink:0;width:20px;height:20px;border-radius:6px;font-size:10px;margin-top:2px}:is(#script-agent-module,#script-agent-overlays) .sa5-msg.agent .sa5-msg-avatar{background:rgba(143,124,255,.14);color:#8f7cff}:is(#script-agent-module,#script-agent-overlays) .sa5-msg.user .sa5-msg-avatar{background:var(--sa-soft,rgba(255,255,255,.04));color:var(--sa-muted,#9299aa)}:is(#script-agent-module,#script-agent-overlays) .sa5-msg p{padding:6px 10px;border-radius:8px;font-size:12px;line-height:1.55;word-break:break-word}:is(#script-agent-module,#script-agent-overlays) .sa5-msg.agent p{border:1px solid var(--sa-line,rgba(255,255,255,.1));border-top-left-radius:3px;background:var(--sa-panel,#0d101b);color:#e0e2ec}:is(#script-agent-module,#script-agent-overlays) .sa5-msg.user p{border:1px solid rgba(143,124,255,.35);border-top-right-radius:3px;background:rgba(143,124,255,.14);color:var(--sa-text,#f4f5fa)}:is(#script-agent-module,#script-agent-overlays) .sa5-typing{display:inline-flex!important;align-items:center;gap:4px;padding:9px 12px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-typing span{width:5px;height:5px;border-radius:50%;background:#8f7cff;animation:sa5-typing-anim 1.2s infinite}:is(#script-agent-module,#script-agent-overlays) .sa5-typing span:nth-child(2){animation-delay:.2s}:is(#script-agent-module,#script-agent-overlays) .sa5-typing span:nth-child(3){animation-delay:.4s}@keyframes sa5-typing-anim{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-3px);opacity:1}}html body .app-shell.tab-script-workshop{position:fixed!important;inset:0!important;z-index:900!important;display:block!important;width:100vw!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;background:transparent!important}html body .app-shell.tab-script-workshop>.app-rail,html body .app-shell.tab-script-workshop>.topbar{display:none!important}html body .app-shell.tab-script-workshop>.content{position:absolute!important;inset:0!important;display:block!important;width:100vw!important;max-width:none!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}html body .app-shell.tab-script-workshop #script-agent-module.sa5-workbench{width:100%!important;height:100%!important;min-height:0!important}html body .app-shell.tab-script-workshop #script-agent-module .sa5-exit-action{display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:36px!important;padding:7px 11px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:8px!important;background:rgba(255,255,255,.05)!important;color:#d6d0e3!important;white-space:nowrap!important}html body .app-shell.tab-script-workshop #script-agent-module .sa5-exit-action:hover:not(:disabled){border-color:rgba(185,166,255,.7)!important;background:rgba(143,124,255,.16)!important;color:#fff!important}html[data-ui] body .app-shell.tab-script-workshop{position:fixed!important;inset:0!important;display:block!important;width:100vw!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop>.app-rail,html[data-ui] body .app-shell.tab-script-workshop>.topbar{display:none!important;pointer-events:none!important}html[data-ui] body .app-shell.tab-script-workshop>.content{position:absolute!important;inset:0!important;grid-column:1/-1!important;grid-row:1/-1!important;width:100vw!important;max-width:none!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-work-head{min-height:56px!important;height:56px!important;padding:5px 16px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed{grid-template-rows:42px minmax(0,1fr) 112px!important;gap:8px!important;overflow:hidden!important;scrollbar-width:none!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-dock::-webkit-scrollbar,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .rich-prompt::-webkit-scrollbar,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed::-webkit-scrollbar,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid::-webkit-scrollbar,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall::-webkit-scrollbar{display:none!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module :is(.task-grid,.composer-dock,.task-wall,.rich-prompt){scrollbar-width:none!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench{gap:8px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-dock{gap:7px!important;padding:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-heading{min-height:30px!important;gap:6px 10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-heading h2{font-size:15px!important;line-height:1.35!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-heading>span{font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .current-shot-actions button,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .prompt-section-heading button,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-heading>button{min-height:32px!important;height:32px!important;padding:5px 10px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-heading{gap:6px 10px!important;min-height:34px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-heading :is(.shot-label-field,.composer-script,.composer-save-status){font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-heading :is(input,.source-save-script){min-height:30px!important;height:30px!important;padding:4px 8px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-reference>header{margin:0 0 4px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-reference>header b{font-size:13px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .reference-strip{min-height:32px!important;gap:6px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .reference-add{min-height:32px!important;height:32px!important;padding:5px 10px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .reference-attachment{min-height:32px!important;height:32px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .reference-file-thumb{width:28px!important;height:28px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .dock-prompt{flex:1 1 auto!important;min-height:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .prompt-section-heading{min-height:30px!important;margin-bottom:4px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .rich-prompt{min-height:118px!important;max-height:172px!important;padding:10px 12px!important;font-size:13px!important;line-height:1.65!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .prompt-caption{min-height:28px!important;padding:5px 10px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .prompt-toolbar{gap:6px!important;min-height:32px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .compact-settings>summary,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .prompt-toolbar button{min-height:32px!important;height:32px!important;padding:5px 9px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-main.controls,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-parameters{gap:6px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-parameters>label>span{margin-bottom:3px!important;font-size:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-parameters :is(summary,.radio-select-trigger){min-height:34px!important;height:34px!important;padding:6px 9px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-submit-row>button{min-height:36px!important;height:36px!important;padding:0 14px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .task-wall{padding:8px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall .wall-head{margin:-8px -8px 8px!important;padding:8px 10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall .wall-head b{font-size:15px!important;line-height:1.3!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall .wall-head small{font-size:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall .wall-actions{gap:5px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall .wall-actions button{min-height:30px!important;height:30px!important;padding:4px 7px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-filter-bar{gap:6px!important;margin-bottom:6px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-filter-bar label{min-height:28px!important;padding:5px 7px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-filter-bar>input{min-height:30px!important;height:30px!important;padding:5px 8px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid{grid-template-columns:1fr!important;gap:6px!important;overflow-y:auto!important;overscroll-behavior:contain!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .wall-card{display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;min-height:108px!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-media{width:132px!important;height:100%!important;min-height:108px!important;aspect-ratio:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-body{min-width:0!important;padding:7px 8px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-body :is(.task-row,.task-meta){gap:4px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-title b{max-width:120px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .task-shot-label{min-height:24px!important;height:24px!important;padding:2px 4px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .task-prompt-marquee{height:28px!important;margin:4px 0!important;font-size:10px!important;line-height:1.4!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .task-elapsed,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .task-meta{font-size:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-body footer.actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-gap:4px!important;gap:4px!important;margin-top:4px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-body footer.actions button{min-width:0!important;min-height:28px!important;height:28px!important;padding:3px 4px!important;font-size:10px!important;white-space:nowrap!important}@media (max-width:1000px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed{grid-template-rows:42px minmax(0,1fr) 136px!important;overflow-y:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .task-wall{overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .wall-card{grid-template-columns:104px minmax(0,1fr)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-media{width:104px!important;min-height:96px!important}}@media (max-width:600px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-work-head{height:52px!important;min-height:52px!important;padding-inline:8px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed{grid-template-rows:42px auto 136px!important;overflow-y:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .wall-card{grid-template-columns:1fr!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-media{width:100%!important;height:110px!important;min-height:110px!important}}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-view{width:min(1200px,calc(100vw - 64px))!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-compose{width:100%!important;max-width:none!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-compose>textarea{min-height:280px!important;max-height:48vh!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-gap:10px!important;gap:10px!important;margin-top:14px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>label{grid-template-rows:auto 44px!important;grid-gap:6px!important;gap:6px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>label>span{font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings :is(summary,.radio-select-trigger){min-height:44px!important;height:44px!important;padding:9px 12px!important;font-size:13px!important;justify-content:space-between!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{min-height:44px!important;height:44px!important;justify-content:center!important;gap:6px!important;border-radius:9px!important;font-size:13px!important;white-space:nowrap!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-actions{display:flex!important;align-items:center!important;gap:9px!important;min-height:44px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-actions .sa5-attachment-summary{flex:1 1 auto!important;min-width:0!important}@media (max-width:900px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-view{width:min(100%,calc(100vw - 32px))!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{grid-column:1/-1!important}}@media (max-width:600px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-view{width:100%!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-compose>textarea{min-height:220px!important;max-height:42vh!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{grid-template-columns:1fr 1fr!important;gap:9px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{grid-column:1/-1!important}}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-input{flex-shrink:0;padding:9px 12px 11px;border-top:1px solid var(--sa-soft,rgba(255,255,255,.06))}:is(#script-agent-module,#script-agent-overlays) .sa5-quick-row{display:flex;gap:4px;margin-bottom:4px;flex-wrap:wrap}:is(#script-agent-module,#script-agent-overlays) .sa5-quick{padding:3px 8px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:999px;color:var(--sa-muted,#9299aa);font-size:10px;transition:border-color .15s,color .15s,background .15s}:is(#script-agent-module,#script-agent-overlays) .sa5-quick:hover{border-color:rgba(143,124,255,.4);color:#8f7cff;background:rgba(143,124,255,.1)}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-input-box{display:flex;align-items:flex-end;gap:8px;padding:5px 8px}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-input-box textarea{flex:1 1;min-height:20px;max-height:96px;resize:none;border:none;outline:none;background:transparent;color:var(--sa-text,#f4f5fa);font-size:12px;line-height:1.5;font-family:inherit}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-input-box textarea::placeholder{color:var(--sa-faint,#646b7d)}:is(#script-agent-module,#script-agent-overlays) .sa5-send-btn{flex-shrink:0;width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;display:grid!important;place-items:center;border-radius:8px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-box{width:min(920px,94vw);max-height:min(760px,90vh);overflow:auto;border:1px solid rgba(143,124,255,.38);border-radius:14px;background:#111522;box-shadow:0 28px 90px rgba(0,0,0,.58)}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-layout{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(340px,1.1fr);grid-gap:18px;gap:18px;padding:18px}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-preview{min-width:0;min-height:260px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:10px;background:#080a14;overflow:hidden}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-image-button{position:relative!important;display:block!important;width:100%!important;height:100%!important;min-height:260px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#f4f5fa!important;cursor:zoom-in!important;white-space:normal!important}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-image-button:hover:not(:disabled){background:transparent!important}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-image-button img{display:block;width:100%;height:100%;min-height:260px;max-height:480px;object-fit:contain}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-image-button>span{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid rgba(255,255,255,.14);border-radius:6px;background:rgba(6,8,16,.78);color:#dfe1eb;font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-empty-media{display:grid;min-height:260px;place-items:center;align-content:center;grid-gap:8px;gap:8px;color:var(--sa-muted,#9299aa);font-size:12px}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-form{display:grid;align-content:start;grid-gap:9px;gap:9px;min-width:0}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-form>label{color:var(--sa-muted,#9299aa);font-size:12px}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-bindings{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:var(--sa-muted,#9299aa);font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-bindings code{padding:3px 6px;border:1px solid rgba(143,124,255,.28);border-radius:5px;background:rgba(143,124,255,.1);color:#c4bbff;font:inherit}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-bindings em{color:#f0c060;font-style:normal}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-form textarea{width:100%;min-height:300px;box-sizing:border-box;padding:12px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:8px;background:rgba(14,17,30,.85);color:var(--sa-text,#f4f5fa);font:inherit;font-size:12px;line-height:1.65;resize:vertical}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-form textarea:focus{border-color:rgba(143,124,255,.75);outline:none;box-shadow:0 0 0 3px rgba(143,124,255,.12)}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-upload{display:inline-flex;align-items:center;gap:6px;width:-moz-fit-content;width:fit-content;padding:7px 9px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:7px;color:var(--sa-muted,#9299aa);font-size:11px;cursor:pointer}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-upload:hover{border-color:rgba(143,124,255,.55);color:#f4f5fa}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}:is(#script-agent-module,#script-agent-overlays) .sa5-image-lightbox{position:fixed;z-index:140;inset:0;display:grid;place-items:center;padding:30px;background:rgba(0,0,0,.9)}:is(#script-agent-module,#script-agent-overlays) .sa5-image-lightbox>img{display:block;max-width:92vw;max-height:88vh;object-fit:contain}:is(#script-agent-module,#script-agent-overlays) .sa5-lightbox-close{position:absolute!important;top:18px!important;right:20px!important;display:grid!important;place-items:center!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-color:rgba(255,255,255,.22)!important;border-radius:8px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-lightbox-close:hover:not(:disabled){background:var(--source-hover,rgba(255,255,255,.09))!important}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-dialog{position:fixed;z-index:110;inset:0;display:grid;place-items:center;padding:24px;background:rgba(3,4,10,.78);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--sa-soft,rgba(255,255,255,.06))}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-head>div{display:grid;grid-gap:4px;gap:4px;min-width:0}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-head strong{overflow:hidden;color:var(--sa-text,#f4f5fa);font-size:15px;text-overflow:ellipsis;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-head span{color:var(--sa-muted,#9299aa);font-size:10px}:is(#script-agent-module,#script-agent-overlays) .sa5-icon-button{display:grid!important;place-items:center!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-copy{display:flex;flex-direction:column;gap:12px}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-desc{padding:9px 12px;border-radius:0 6px 6px 0;background:rgba(143,124,255,.06);color:var(--sa-muted,#9299aa);font-size:12px;line-height:1.6}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-prompt{padding:9px 11px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:7px;background:rgba(14,17,30,.65);color:var(--sa-muted,#9299aa);font-size:11px;line-height:1.65;font-family:SF Mono,Consolas,monospace;word-break:break-word}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-prompts{display:flex;flex-direction:column;gap:7px;padding-top:4px;border-top:1px solid var(--sa-soft,rgba(255,255,255,.06))}:is(#script-agent-module,#script-agent-overlays) .sa5-sp-row{display:flex;gap:8px;align-items:flex-start}:is(#script-agent-module,#script-agent-overlays) .sa5-sp-label{flex-shrink:0;width:40px;text-align:center;padding:2px 0;border-radius:4px;font-size:10px;font-weight:600}:is(#script-agent-module,#script-agent-overlays) .sa5-sp-label.action{background:rgba(111,224,181,.12);color:#6fe0b5}:is(#script-agent-module,#script-agent-overlays) .sa5-sp-label.camera{background:rgba(240,192,96,.12);color:#f0c060}:is(#script-agent-module,#script-agent-overlays) .sa5-sp-label.sound{background:rgba(255,138,138,.12);color:#ff8a8a}:is(#script-agent-module,#script-agent-overlays) .sa5-sp-row p{flex:1 1;color:var(--sa-muted,#9299aa);font-size:11px;line-height:1.55;word-break:break-word}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-actions{display:flex;justify-content:flex-end;gap:8px}:is(#script-agent-module,#script-agent-overlays) .sa5-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:60px 20px;text-align:center;color:var(--sa-faint,#646b7d)}:is(#script-agent-module,#script-agent-overlays) .sa5-empty-state svg{opacity:.4;margin-bottom:4px}:is(#script-agent-module,#script-agent-overlays) .sa5-empty-state p{font-size:15px;font-weight:600;color:var(--sa-muted,#9299aa);margin:0}:is(#script-agent-module,#script-agent-overlays) .sa5-empty-state span{font-size:12px;max-width:320px;line-height:1.6}:is(#script-agent-module,#script-agent-overlays) .sa5-empty-inline{padding:24px 16px;text-align:center;color:var(--sa-faint,#646b7d);font-size:12px}@media (max-width:900px){:is(#script-agent-module,#script-agent-overlays) .sa5-stats{display:none}:is(#script-agent-module,#script-agent-overlays) .sa5-feed{padding:12px 14px}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-chat,:is(#script-agent-module,#script-agent-overlays) .sa5-agent-input{padding-inline:14px}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-cards{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}:is(#script-agent-module,#script-agent-overlays) .sa5-work-head{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(38px,auto) auto;gap:4px 8px;padding:7px 14px}:is(#script-agent-module,#script-agent-overlays) .sa5-work-head .sa5-work-title{grid-column:1;grid-row:1;justify-self:center;min-width:0}:is(#script-agent-module,#script-agent-overlays) .sa5-work-head .sa5-stage-switch{grid-column:1/-1;grid-row:2;justify-self:stretch;width:100%;padding:0;overflow-x:auto}:is(#script-agent-module,#script-agent-overlays) .sa5-work-head .sa5-create-toolbar-actions{grid-column:2;grid-row:1;gap:4px}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-layout{grid-template-columns:1fr}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-preview{min-height:190px}:is(#script-agent-module,#script-agent-overlays) .sa5-detail-image-button,:is(#script-agent-module,#script-agent-overlays) .sa5-detail-image-button img{min-height:190px}}@media (max-width:600px){:is(#script-agent-module,#script-agent-overlays) .sa5-work-head{padding:7px 10px}:is(#script-agent-module,#script-agent-overlays) .sa5-title-input{max-width:150px;font-size:14px;text-overflow:ellipsis}:is(#script-agent-module,#script-agent-overlays) .sa5-stage-switch>button{min-height:34px!important;height:34px!important;padding:6px 8px!important;font-size:11px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-toggle{width:44px;min-width:44px!important;padding-inline:5px!important;justify-content:center}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-toggle-label,:is(#script-agent-module,#script-agent-overlays) .sa5-project-label,:is(#script-agent-module,#script-agent-overlays) .sa5-toolbar-label{display:none}:is(#script-agent-module,#script-agent-overlays) .sa5-project-picker>.sa5-project-trigger,:is(#script-agent-module,#script-agent-overlays) .sa5-toolbar-action{width:36px!important;min-width:36px!important;padding:0!important}:is(#script-agent-module,#script-agent-overlays) .sa5-project-picker>.sa5-project-trigger{gap:3px}:is(#script-agent-module,#script-agent-overlays) .sa5-video-model{width:100%;order:3}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-cards{grid-template-columns:1fr}:is(#script-agent-module,#script-agent-overlays) .sa5-chapter-head{flex-wrap:wrap;gap:4px}:is(#script-agent-module,#script-agent-overlays) .sa5-chapter-head span{width:100%;white-space:normal}:is(#script-agent-module,#script-agent-overlays) .sa5-char-count{margin-left:0;width:100%}:is(#script-agent-module,#script-agent-overlays) .sa5-msg{max-width:90%}}@media (prefers-reduced-motion:reduce){:is(#script-agent-module,#script-agent-overlays) .sa5-typing span{animation:none}:is(#script-agent-module,#script-agent-overlays) *{transition-duration:.01ms!important}}:is(#script-agent-module,#script-agent-overlays) .sa5-asset-grid{gap:10px}:is(#script-agent-module,#script-agent-overlays) .sa5-card-actions{display:inline-flex;align-items:center;gap:5px}:is(#script-agent-module,#script-agent-overlays) .sa5-upload-btn{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:7px;color:var(--sa-muted,#9299aa);cursor:pointer}:is(#script-agent-module,#script-agent-overlays) .sa5-upload-btn:hover{border-color:rgba(143,124,255,.5);color:var(--sa-text,#f4f5fa)}:is(#script-agent-module,#script-agent-overlays) .sa5-upload-btn input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}:is(#script-agent-module,#script-agent-overlays) .sa5-inline-editor{display:grid;grid-gap:7px;gap:7px;padding:10px;border-top:1px solid var(--sa-line,rgba(255,255,255,.1));background:rgba(10,12,23,.92)}:is(#script-agent-module,#script-agent-overlays) .sa5-inline-editor label{color:var(--sa-muted,#9299aa);font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-inline-editor textarea{width:100%;min-height:86px;box-sizing:border-box;padding:8px 9px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:7px;background:rgba(14,17,30,.9);color:var(--sa-text,#f4f5fa);font:inherit;font-size:12px;line-height:1.55;resize:vertical}:is(#script-agent-module,#script-agent-overlays) .sa5-inline-editor textarea:focus{border-color:rgba(143,124,255,.65);outline:none}:is(#script-agent-module,#script-agent-overlays) .sa5-inline-actions{display:flex;justify-content:flex-end;gap:6px}:is(#script-agent-module,#script-agent-overlays) .sa5-inline-actions button{min-height:28px!important;padding:4px 10px!important;font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-image-loading{display:grid;height:120px;place-items:center;color:var(--sa-muted,#9299aa)}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-card .sa5-inline-editor{margin:0}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-head{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 12px;border-bottom:1px solid var(--sa-soft,rgba(255,255,255,.06));background:rgba(16,18,32,.98);cursor:-webkit-grab;cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-head:active{cursor:-webkit-grabbing;cursor:grabbing}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-title{display:inline-flex;align-items:center;gap:7px;color:var(--sa-text,#f4f5fa);font-size:12px;font-weight:650}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-title svg{color:#8f7cff}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-drag-hint{color:var(--sa-faint,#646b7d);font-size:10px}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-collapse{display:grid!important;place-items:center!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;margin-left:auto!important;padding:0!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-bar.is-collapsed{max-height:none}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:7px}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attachment{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 7px;border:1px solid var(--sa-line,rgba(255,255,255,.1));border-radius:7px;background:rgba(255,255,255,.045);color:var(--sa-muted,#9299aa);font-size:10px}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attachment>svg{flex-shrink:0;color:#8f7cff}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attachment>button{display:grid!important;place-items:center!important;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;padding:0!important;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--sa-faint,#646b7d)!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attachment>button:hover:not(:disabled){background:var(--source-hover,rgba(255,255,255,.09))!important;color:var(--source-text,#eeeaf6)!important}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar :is(.radio-select-options,.glass-radio-options){width:100%!important;min-width:0!important;max-width:360px!important;max-height:min(240px,calc(100vh - 120px))!important;padding:6px!important;gap:3px!important;overflow-x:hidden!important;overflow-y:auto!important}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar :is(.radio-select-options,.glass-radio-options)>button{width:100%!important;min-width:0!important;min-height:34px!important;padding:7px 10px!important;border-radius:6px!important;font-size:12px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important}@media (max-width:560px){:is(#script-agent-module,#script-agent-overlays) .sa5-generation-toolbar .sa4-generation-settings-panel{grid-template-columns:1fr!important;width:min(360px,calc(100vw - 28px))}}@media (max-width:600px){:is(#script-agent-module,#script-agent-overlays) .sa5-agent-bar{right:10px;bottom:10px;width:calc(100vw - 20px);max-height:min(620px,calc(100vh - 36px))}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-drag-hint{display:none}}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-prompt-bottom{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;margin-top:8px!important;min-height:42px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attach{position:relative!important;display:grid!important;flex:0 0 42px!important;place-items:center!important;width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:10px!important;background:rgba(255,255,255,.05)!important;color:#e8ddff!important;cursor:pointer!important;transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attach:hover{border-color:#a67dff!important;background:rgba(166,125,255,.15)!important;color:#fff!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attach:active{transform:translateY(1px)}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attach:focus-within{outline:2px solid #a67dff;outline-offset:3px}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attach:has(input:disabled){cursor:not-allowed!important;opacity:.55}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attach input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-attach input:disabled{cursor:not-allowed!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-create-options{display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;margin:0!important;gap:8px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-model{display:block!important;flex:0 1 190px!important;width:190px!important;max-width:42%!important;min-width:120px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-model .glass-radio-group{display:block!important;width:100%!important;min-width:0!important;overflow:visible!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-model .glass-radio-group>summary{display:flex!important;align-items:center!important;width:100%!important;min-height:48px!important;height:48px!important;box-sizing:border-box!important;padding:10px 40px 10px 16px!important;border-radius:10px!important;font-size:15px!important;font-weight:600!important;line-height:1.5!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-model .glass-radio-options{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 8px)!important;z-index:500!important;max-height:min(260px,calc(100vh - 32px))!important;overflow-y:auto!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-model .glass-radio-group.opens-up .glass-radio-options{top:auto!important;bottom:calc(100% + 8px)!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-model .glass-radio-options button{min-height:44px!important;padding:10px 16px!important;border-radius:8px!important;text-align:left!important;font-size:15px!important;line-height:1.5!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-model .glass-radio-options button:disabled{cursor:not-allowed!important;opacity:.45!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-submit{display:inline-grid!important;flex:0 0 44px!important;place-items:center!important;width:44px!important;height:42px!important;min-height:42px!important;margin-left:auto!important;padding:6px!important}:is(#script-agent-module,#script-agent-overlays) .sa5-agent-submit[aria-busy=true] svg{animation:sa5-agent-spin .9s linear infinite}@keyframes sa5-agent-spin{to{transform:rotate(1turn)}}:is(#script-agent-module,#script-agent-overlays) .sa5-source-upload{position:relative;display:grid;flex:0 0 42px;place-items:center;width:42px;height:42px;border:1px solid var(--source-line,rgba(255,255,255,.15));border-radius:10px;background:var(--source-surface,rgba(255,255,255,.05));color:var(--source-text,#eeeaf6);cursor:pointer;transition:background-color .16s ease,border-color .16s ease,transform .1s ease,color .16s ease}:is(#script-agent-module,#script-agent-overlays) .sa5-source-upload:hover{background:var(--source-hover,rgba(255,255,255,.09));border-color:var(--source-muted,#b8afc8)}:is(#script-agent-module,#script-agent-overlays) .sa5-source-upload:focus-within{outline:2px solid var(--source-accent,#b9a6ff);outline-offset:4px}:is(#script-agent-module,#script-agent-overlays) .sa5-source-upload:has(input:disabled){cursor:not-allowed;opacity:.55}:is(#script-agent-module,#script-agent-overlays) .sa5-source-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}@media (max-width:600px){:is(#script-agent-module,#script-agent-overlays) .sa5-agent-model{flex:1 1 auto!important;width:auto!important;max-width:none!important}}#script-agent-overlays{--sa-bg:#05060d;--sa-rail:#070912;--sa-panel:#0d101b;--sa-line:rgba(255,255,255,.1);--sa-soft:rgba(255,255,255,.06);--sa-text:#f4f5fa;--sa-muted:#9299aa;--sa-faint:#646b7d;--sa-violet:#8f7cff;--sa-violet-soft:rgba(143,124,255,.14);--sa-green:#6fe0b5;position:fixed;z-index:1200;inset:0;color:var(--sa-text);font-family:Inter Display,Microsoft YaHei UI,sans-serif;pointer-events:none}#script-agent-overlays .sa5-agent-bar,#script-agent-overlays .sa5-detail-dialog,#script-agent-overlays .sa5-image-lightbox{pointer-events:auto}:is(#script-agent-module,#script-agent-overlays) .sa5-settings-toggle{display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:48px!important;height:48px!important;padding:0 14px!important;border:1px solid rgba(205,196,243,.33)!important;border-radius:10px!important;background:rgba(255,255,255,.06)!important;color:#eee9ff!important;font-size:15px!important;font-weight:600!important;cursor:pointer!important;transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease}:is(#script-agent-module,#script-agent-overlays) .sa5-settings[open]>.sa5-settings-toggle{border-color:#a67dff!important;background:rgba(166,125,255,.15)!important;color:#fff!important}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;white-space:nowrap!important}:is(#script-agent-module,#script-agent-overlays) .sa5-generation-action[aria-busy=true] svg{animation:sa5-agent-spin .9s linear infinite}:is(#script-agent-module,#script-agent-overlays) .sa5-select-all{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:42px!important;padding:0 11px!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:10px!important;background:rgba(255,255,255,.05)!important;color:#ded5f3!important;cursor:pointer!important;transition:border-color .15s ease,background .15s ease,color .15s ease}:is(#script-agent-module,#script-agent-overlays) .sa5-select-all:hover{border-color:#a67dff!important;background:rgba(166,125,255,.12)!important;color:#fff!important}:is(#script-agent-module,#script-agent-overlays) .sa5-select-all input{accent-color:#8f7cff}:is(#script-agent-module,#script-agent-overlays) .sa5-upload-btn:focus-within{outline:2px solid #cdc4f3;outline-offset:3px}@media (max-width:600px){:is(#script-agent-module,#script-agent-overlays) .sa5-settings-toggle{flex:1 1 auto;justify-content:center}}html[data-ui] body :is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .glass-radio-group,html[data-ui] body :is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .radio-select-shell{isolation:auto!important;overflow:visible!important;z-index:10!important}html[data-ui] body :is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .glass-radio-group[open],html[data-ui] body :is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .radio-select-shell:has(.radio-select-popover[open]){z-index:3000!important}html[data-ui] body :is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .glass-radio-options,html[data-ui] body :is(#script-agent-module,#script-agent-overlays) .sa5-settings-panel .radio-select-options{z-index:4000!important;opacity:1!important;background:#1a1826!important;overflow-y:auto!important}:is(#script-agent-module,#script-agent-overlays) .sa5-compose .sa4-prompt-bottom{position:relative;z-index:3;padding:10px 0 0;background:#0e111e}:is(#script-agent-module,#script-agent-overlays) .sa5-upload-ref-list{display:flex;flex-wrap:wrap;gap:6px;min-width:0;padding:8px 0 2px}:is(#script-agent-module,#script-agent-overlays) .sa5-upload-ref-count{flex:0 0 100%;color:#b9a6ff;font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-upload-ref-chip{display:inline-flex;align-items:center;gap:6px;max-width:min(260px,100%);min-height:30px;padding:3px 5px 3px 9px;border:1px solid var(--sa-line,rgba(255,255,255,.12));border-radius:7px;background:rgba(255,255,255,.04);color:var(--sa-muted,#a7adbb);font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-upload-ref-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-upload-ref-chip>button{display:grid!important;place-items:center!important;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;padding:0!important}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 12px;overflow:hidden;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.05);color:#e8ddff;font-size:13px;cursor:pointer}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-upload:hover{border-color:#a67dff;background:rgba(166,125,255,.12);color:#fff}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-upload:focus-within{outline:2px solid #a67dff;outline-offset:3px}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-upload:has(input:disabled){opacity:.55;cursor:not-allowed}:is(#script-agent-module,#script-agent-overlays) .sa5-upload-saved{display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:8px 10px;border:1px solid rgba(111,224,181,.24);border-radius:7px;background:rgba(111,224,181,.07);color:#74d7ad;font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review{display:grid;grid-gap:10px;gap:10px;margin:2px 0 14px;padding:12px;border:1px solid var(--sa-line,rgba(255,255,255,.12));border-radius:9px;background:rgba(255,255,255,.025)}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review>header,:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review>header>div{display:flex;align-items:center;gap:9px;min-width:0}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review>header{justify-content:space-between}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review>header strong{color:var(--sa-text,#f4f5fa);font-size:13px}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review>header small,:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review>header span{color:var(--sa-muted,#a7adbb);font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:8px;gap:8px;padding-bottom:2px}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review-item{display:grid;grid-template-columns:62px minmax(100px,1fr);align-items:center;grid-gap:8px;gap:8px;min-width:0;padding:7px;border:1px solid var(--sa-line,rgba(255,255,255,.12));border-radius:8px;background:rgba(6,9,20,.52)}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review-item.is-unlinked{grid-template-columns:62px minmax(100px,.75fr) minmax(150px,1fr)}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-thumb{display:grid;place-items:center;width:62px;aspect-ratio:1;overflow:hidden;border-radius:5px;background:rgba(255,255,255,.06);color:var(--sa-muted,#a7adbb)}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-thumb img{width:100%;height:100%;object-fit:cover}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-info{display:grid;grid-gap:4px;gap:4px;min-width:0}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-info strong{overflow:hidden;color:var(--sa-text,#f4f5fa);font-size:11px;text-overflow:ellipsis;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-info small{overflow:hidden;color:var(--sa-muted,#a7adbb);font-size:10px;text-overflow:ellipsis;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-state{display:inline-flex;align-items:center;gap:4px;color:#74d7ad;font-size:10px;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-bind{display:flex;align-items:center;gap:6px;min-width:0}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-bind>:first-child{min-width:0;flex:1 1 auto}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-bind-button{min-height:34px!important;padding:5px 10px!important;white-space:nowrap}:is(#script-agent-module,#script-agent-overlays) .sa5-missing-assets-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:9px 2px;color:var(--sa-muted,#a7adbb);font-size:12px}:is(#script-agent-module,#script-agent-overlays) .sa5-missing-assets-note>button{display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:36px!important;padding:6px 11px!important;white-space:nowrap}#script-agent-module .sa5-feed:has(.sa5-shot-workspace){display:grid;grid-template-rows:auto minmax(650px,1fr) 146px;grid-gap:14px;gap:14px;overflow-y:auto}#script-agent-module .sa5-shot-workspace{display:block;min-width:0;min-height:0}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(290px,30%)!important;grid-template-rows:minmax(0,1fr)!important;height:100%!important;min-height:0!important;grid-gap:12px!important;gap:12px!important;overflow:hidden!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock{overflow-y:auto!important;padding:14px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .task-wall{grid-column:2!important;grid-row:1!important;height:100%!important;min-height:0!important;max-height:none!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-prompt{flex:1 0 240px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .prompt-composer{min-height:140px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .rich-prompt{min-height:140px!important;max-height:240px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-main.controls{display:flex!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters{display:grid!important;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))!important}#script-agent-module .script-video-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}#script-agent-module .script-video-heading h2{margin:0;font-size:18px;color:var(--ui-text);overflow-wrap:anywhere}#script-agent-module .script-video-heading>span{color:var(--ui-muted);font-size:13px}#script-agent-module .script-video-heading>button{margin-left:auto}#script-agent-module .script-reference-status{margin:0;color:var(--ui-text);font-size:13px;overflow-wrap:anywhere}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-rail{display:flex;align-items:stretch;gap:8px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:2px 1px 7px;border-top:1px solid var(--sa-line,rgba(255,255,255,.1))}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-rail .sa5-scene-block{flex:0 0 auto;width:max-content;padding:0}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-rail .sa5-shot-cards{display:flex;gap:8px;width:max-content}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-rail .sa5-shot-card{flex:0 0 192px;width:192px}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-rail .sa5-shot-card.is-active{border-color:#a58aff;box-shadow:0 0 0 1px rgba(165,138,255,.3)}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-rail .sa4-shot-body{padding:7px 8px}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-rail .sa4-shot-body h3{font-size:11px}:is(#script-agent-module,#script-agent-overlays) .sa5-shot-rail .sa5-shot-edit{width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important}@media (max-width:1000px){#script-agent-module .sa5-feed:has(.sa5-shot-workspace){display:flex;flex-direction:column;overflow-y:auto;padding-bottom:64px}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-workspace{flex:none;height:auto!important;width:100%!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench{display:flex!important;flex-direction:column!important;height:auto!important;overflow:visible!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock{height:auto!important;min-height:560px!important;overflow:visible!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .task-wall{height:360px!important;min-height:0!important;order:1!important}#script-agent-module .sa5-shot-rail{flex:none;min-height:136px}}@media (max-width:600px){html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters{grid-template-columns:repeat(2,minmax(0,1fr))!important}#script-agent-module .sa5-shot-rail .sa5-shot-card{flex-basis:176px;width:176px}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review>header{align-items:flex-start;flex-direction:column;gap:4px}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review-item,:is(#script-agent-module,#script-agent-overlays) .sa5-reference-review-item.is-unlinked{grid-template-columns:50px minmax(0,1fr);min-width:0}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-thumb{width:50px}:is(#script-agent-module,#script-agent-overlays) .sa5-reference-bind{grid-column:1/-1}:is(#script-agent-module,#script-agent-overlays) .sa5-missing-assets-note{align-items:flex-start;flex-direction:column}}@media (max-width:600px){#script-agent-overlays .sa5-agent-bar.is-collapsed{left:auto!important;top:auto!important;right:12px!important;bottom:calc(env(safe-area-inset-bottom, 0px) + 12px)!important;width:44px!important;min-width:44px!important;height:44px!important;max-height:44px!important;border-radius:50%}#script-agent-overlays .sa5-agent-bar.is-collapsed .sa5-agent-head{justify-content:center;width:44px;min-height:44px;padding:0;border-bottom:0;background:transparent}#script-agent-overlays .sa5-agent-bar.is-collapsed .sa5-agent-title{display:none}#script-agent-overlays .sa5-agent-bar.is-collapsed .sa5-agent-collapse{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;border:0!important;border-radius:50%!important;background:transparent!important}}#script-agent-module .sa5-review-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;color:var(--sa-text,#fff);background:var(--sa-soft,rgba(255,255,255,.04))}#script-agent-module .sa5-review-bar span{flex:1 1 240px}#script-agent-module .sa5-review-bar button{min-height:44px;padding:8px 16px}#script-agent-module .sa5-workflow-choice{display:flex;align-items:flex-start;gap:8px;padding:10px 0;color:var(--sa-text,#fff);font-size:13px;line-height:1.6}#script-agent-module .sa5-analysis-model{display:flex;align-items:center;gap:8px;min-width:0;max-width:260px;font-size:12px;color:var(--sa-text,#fff)}#script-agent-module .sa5-analysis-model>span{white-space:nowrap}#script-agent-module .sa5-analysis-model>:last-child{min-width:0}#script-agent-module .sa5-asset-add-bar,#script-agent-module .sa5-missing-asset-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 0;color:var(--sa-text,#fff)}#script-agent-module .sa5-asset-add-bar button{display:inline-flex;align-items:center;gap:6px;min-height:44px}#script-agent-module .sa5-add-asset-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px;padding:16px 0 24px}#script-agent-module .sa5-add-asset-form label{display:grid;grid-gap:8px;gap:8px;min-width:0;color:var(--sa-text,#fff);font-size:13px}#script-agent-module .sa5-add-asset-form :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid var(--sa-line,rgba(255,255,255,.2));border-radius:8px;background:var(--sa-soft,rgba(255,255,255,.04));color:inherit;font:inherit}#script-agent-module .sa5-add-asset-form textarea{min-height:96px;resize:vertical}#script-agent-module .sa5-add-asset-prompt{grid-column:1/-1}#script-agent-module .sa5-add-asset-form button{justify-self:start;min-height:44px}#script-agent-module .sa5-missing-asset-row label{max-width:100%;display:flex;align-items:center;gap:8px;flex-wrap:wrap}#script-agent-module .sa5-missing-asset-row input{max-width:100%}#script-agent-module .sa5-reference-review-item.is-linked .sa5-reference-bind{grid-column:1/-1}@media (max-width:600px){#script-agent-module .sa5-add-asset-form{grid-template-columns:minmax(0,1fr)}}@layer ui-source-controls{html[data-ui] body .app-shell.shell #script-agent-module{gap:0!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-compose{width:min(100%,1040px)!important;max-width:1040px!important;border:1px solid #494056!important;border-radius:16px!important;padding:18px!important;background:#221d30!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-compose>textarea{background:#332d43!important;border:1px solid #51485f!important;border-radius:8px!important;font-size:15px!important;line-height:1.7!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-story-settings{display:grid!important;grid-template-columns:1fr 1fr 2fr!important;grid-gap:14px!important;gap:14px!important;margin:14px 0 0!important;padding:0!important;border:0!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-story-settings>label{display:grid!important;grid-gap:7px!important;gap:7px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-story-settings :is(.radio-select-shell,.radio-select-popover){width:100%!important;min-width:0!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-story-settings summary{min-height:44px!important;text-align:left!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-format-help{margin:10px 0!important;line-height:1.5}html[data-ui] body .app-shell.shell #script-agent-module .sa5-input-actions{display:flex!important;align-items:center!important;gap:10px!important;min-height:44px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-source-upload{display:grid!important;place-items:center!important;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;border:1px solid #655b77!important;border-radius:10px!important;background:#352e45!important;cursor:pointer}html[data-ui] body .app-shell.shell #script-agent-module .sa5-attachment-summary{flex:1 1;min-width:0;overflow-wrap:anywhere;color:#c8bfd6;font-size:12px}html[data-ui] body .app-shell.shell #script-agent-module .sa5-analyze-btn{flex:0 0 auto!important;width:auto!important;min-width:116px!important;height:44px!important;min-height:44px!important;padding:0 16px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-work-head{margin-bottom:0!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-generation-toolbar{min-height:50px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-feed{padding:12px 20px 18px!important;margin:0!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-asset-add-bar{padding:0 0 10px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-missing-assets-note{padding:4px 0!important;margin:0 0 12px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-asset-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:16px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-asset-card{border-radius:12px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-asset-card .sa5-card-open{display:block!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;text-align:left!important;box-shadow:none!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-asset-card :is(img,.sa4-asset-placeholder,.sa5-image-loading){display:grid!important;place-items:center;width:100%!important;height:200px!important;object-fit:contain!important;border-radius:0!important;background:#201d2c}html[data-ui] body .app-shell.shell #script-agent-module .sa5-asset-card b{display:block!important;padding:12px 12px 4px!important;font-size:15px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere;overflow:visible!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-card-footer{padding:6px 12px 12px!important}html[data-ui] body .app-shell.shell #script-agent-module :is(.sa5-card-regenerate,.sa5-upload-btn){display:grid!important;place-items:center!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock{display:flex!important;flex-direction:column!important;padding:16px!important;gap:12px!important;overflow-y:auto!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .script-video-heading{flex-shrink:0!important;margin:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-reference>header{margin:0 0 8px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-prompt{flex:1 0 auto!important;min-height:310px!important;height:auto!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .prompt-composer{flex:1 0 184px!important;min-height:184px!important;height:auto!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .rich-prompt{flex:1 0 auto!important;min-height:180px!important;height:auto!important;max-height:320px!important;padding:14px!important;font-size:14px!important;line-height:1.75!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-main.controls{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex-shrink:0!important;gap:12px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters{display:grid!important;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(88px,1fr))!important;grid-gap:8px!important;gap:8px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters>label>span{display:block!important;font-size:12px!important;color:#c2b9d1!important;margin-bottom:6px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-submit-row{display:flex!important;justify-content:flex-end!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-submit-row>button{width:auto!important;min-width:180px!important;max-width:100%!important;flex:0 0 auto!important;min-height:42px!important;height:42px!important;padding:0 18px!important;box-shadow:none!important;font-size:14px!important;border-radius:9px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .task-filter-bar{display:flex!important;flex-wrap:wrap!important;gap:8px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .task-filter-bar .radio-container{display:flex!important;flex-direction:row!important;flex:1 1 auto!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .task-filter-bar .radio-container label{flex:1 1 auto!important;padding:8px!important;font-size:13px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .task-filter-bar>input{width:100%!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .wall-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .wall-actions button{min-width:0!important;padding:8px 10px!important;font-size:13px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .task-wall{border:1px solid var(--ui-line)!important;border-radius:12px!important;background:var(--ui-panel)!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa5-card-open{display:block!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;text-align:left!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa4-shot-preview{position:relative!important;height:62px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa4-shot-placeholder{height:62px!important;min-height:0!important;display:grid!important;place-items:center!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa4-shot-number{position:absolute!important;top:6px!important;left:8px!important;font-size:11px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa5-shot-card{width:236px!important;flex:0 0 236px!important;border-radius:12px!important;background:#17131f!important;border:1px solid #41374e!important;box-shadow:none!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa5-shot-card.is-active{border-color:#c1a3f2!important;background:#31253f!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-caption{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:12px 44px 6px 12px!important;font-size:12px!important;color:#c5b8d8!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa4-shot-body{padding:4px 12px 12px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa4-shot-body h3{font-size:14px!important;line-height:1.5!important;margin:0 0 8px!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa4-shot-meta{display:flex!important;gap:8px!important;justify-content:space-between!important;font-size:12px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa4-shot-meta>span{min-width:0;overflow:hidden;text-overflow:ellipsis}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa4-shot-meta>small{flex-shrink:0}html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail .sa5-shot-edit{display:none!important}@media (max-width:1000px){html[data-ui] body .app-shell.shell #script-agent-module .sa5-shot-rail{order:-1;height:158px}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .rich-prompt{flex:0 0 auto!important;height:220px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .prompt-composer{flex:0 0 224px!important;min-height:224px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-prompt{flex:none!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .task-wall{height:360px!important;min-height:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock{height:auto!important;overflow:visible!important}}@media (max-width:600px){html[data-ui] body .app-shell.shell #script-agent-module .sa5-story-settings{grid-template-columns:1fr 1fr!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-story-settings>label:last-child{grid-column:1/-1}html[data-ui] body .app-shell.shell #script-agent-module .sa5-input-actions .sa5-char-count{display:none}html[data-ui] body .app-shell.shell #script-agent-module .sa5-feed{padding:12px!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-asset-grid{grid-template-columns:minmax(0,1fr)!important}html[data-ui] body .app-shell.shell #script-agent-module .sa5-asset-card :is(img,.sa4-asset-placeholder,.sa5-image-loading){height:210px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock{padding:12px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters{grid-template-columns:repeat(3,minmax(0,1fr))!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .model-picker{grid-column:1/-1!important}}}#script-agent-module .sa5-story-settings{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:12px 0;padding:14px 0;border-top:1px solid var(--sa-line,#ffffff24)}#script-agent-module .sa5-story-settings>label{display:flex;align-items:center;gap:10px;min-width:0;font-size:13px;color:#e7e0f1}#script-agent-module .sa5-story-settings>label>span{white-space:nowrap}#script-agent-module .sa5-format-help{font-size:12px;color:#c2b9d1}@layer ui-source-controls{:is(#script-agent-module,#script-agent-overlays) .sa4-loading-icon{animation:sa5-analysis-spin .9s linear infinite!important;transform-origin:center}@keyframes sa5-analysis-spin{to{transform:rotate(1turn)}}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed{grid-template-rows:42px minmax(0,1fr) 112px!important;gap:8px!important;overflow:hidden!important;scrollbar-width:none!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-dock::-webkit-scrollbar,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .rich-prompt::-webkit-scrollbar,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed::-webkit-scrollbar,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid::-webkit-scrollbar,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall::-webkit-scrollbar{display:none!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module :is(.task-grid,.composer-dock,.task-wall,.rich-prompt){scrollbar-width:none!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench{gap:8px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-dock{gap:7px!important;padding:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-heading{min-height:30px!important;gap:6px 10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-heading h2{font-size:15px!important;line-height:1.35!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-heading>span{font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .current-shot-actions button,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .prompt-section-heading button,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-heading>button{min-height:32px!important;height:32px!important;padding:5px 10px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-heading{gap:6px 10px!important;min-height:34px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-heading :is(input,.source-save-script){min-height:30px!important;height:30px!important;padding:4px 8px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-reference>header{margin:0 0 4px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .reference-strip{min-height:32px!important;gap:6px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .reference-add{min-height:32px!important;height:32px!important;padding:5px 10px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .reference-attachment{min-height:32px!important;height:32px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .reference-file-thumb{width:28px!important;height:28px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .dock-prompt{flex:1 1 auto!important;min-height:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .prompt-section-heading{min-height:30px!important;margin-bottom:4px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .rich-prompt{min-height:118px!important;max-height:172px!important;padding:10px 12px!important;font-size:13px!important;line-height:1.65!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .prompt-caption{min-height:28px!important;padding:5px 10px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .prompt-toolbar{gap:6px!important;min-height:32px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .compact-settings>summary,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .prompt-toolbar button{min-height:32px!important;height:32px!important;padding:5px 9px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-main.controls,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-parameters{gap:6px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-parameters>label>span{margin-bottom:3px!important;font-size:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-parameters :is(summary,.radio-select-trigger){min-height:34px!important;height:34px!important;padding:6px 9px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .composer-submit-row>button{min-height:36px!important;height:36px!important;padding:0 14px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .task-wall{padding:8px!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall .wall-head{margin:-8px -8px 8px!important;padding:8px 10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall .wall-head b{font-size:15px!important;line-height:1.3!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall .wall-head small{font-size:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall .wall-actions{gap:5px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-wall .wall-actions button{min-height:30px!important;height:30px!important;padding:4px 7px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-filter-bar{gap:6px!important;margin-bottom:6px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-filter-bar label{min-height:28px!important;padding:5px 7px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-filter-bar>input{min-height:30px!important;height:30px!important;padding:5px 8px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid{grid-template-columns:1fr!important;gap:6px!important;overflow-y:auto!important;overscroll-behavior:contain!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .wall-card{display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;min-height:108px!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-media{width:132px!important;height:100%!important;min-height:108px!important;aspect-ratio:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-body{min-width:0!important;padding:7px 8px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-title b{max-width:120px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .task-shot-label{min-height:24px!important;height:24px!important;padding:2px 4px!important;font-size:11px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .task-prompt-marquee{height:28px!important;margin:4px 0!important;font-size:10px!important;line-height:1.4!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .task-elapsed,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .task-meta{font-size:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-body footer.actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-gap:4px!important;gap:4px!important;margin-top:4px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-body footer.actions button{min-width:0!important;min-height:28px!important;height:28px!important;padding:3px 4px!important;font-size:10px!important;white-space:nowrap!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-view{width:min(1200px,calc(100vw - 64px))!important;max-width:1200px!important;margin:clamp(24px,4vh,40px) auto 0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-compose{width:100%!important;max-width:none!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-compose>textarea{min-height:280px!important;max-height:48vh!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end!important;grid-gap:10px!important;gap:10px!important;margin-top:14px!important;padding:0!important;border-top:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>label{display:grid!important;grid-template-rows:auto 44px!important;align-items:end!important;grid-gap:6px!important;gap:6px!important;min-width:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>label>span{font-size:12px!important;line-height:1.2!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings :is(.radio-select-shell,.radio-select-popover,.glass-radio-group){width:100%!important;min-width:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings :is(summary,.radio-select-trigger){width:100%!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:9px 12px!important;font-size:13px!important;justify-content:space-between!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{min-height:44px!important;height:44px!important;padding:0 12px!important;justify-content:center!important;gap:6px!important;border-radius:9px!important;font-size:13px!important;white-space:nowrap!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{grid-template-columns:repeat(4,minmax(0,1fr)) 42px minmax(136px,.75fr)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>.sa5-upload-slot{display:grid!important;grid-template-rows:44px!important;place-items:center!important;width:44px!important;min-width:44px!important;height:44px!important;margin:0 auto!important;padding:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>.sa5-upload-slot input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>.sa5-upload-slot svg{pointer-events:none!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{width:100%!important;min-width:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-actions{display:flex!important;align-items:center!important;gap:9px!important;min-height:0!important;height:0!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}@media (max-width:1000px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed{grid-template-rows:42px minmax(0,1fr) 136px!important;overflow-y:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .wall-card{grid-template-columns:104px minmax(0,1fr)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-media{width:104px!important;min-height:96px!important}}@media (max-width:900px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-view{width:min(100%,calc(100vw - 32px))!important;margin-top:24px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{grid-column:1/-1!important;width:100%!important;min-width:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>.sa5-upload-slot{width:44px!important}}@media (max-width:600px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed{grid-template-rows:42px auto 136px!important;overflow-y:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-view{width:100%!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-compose>textarea{min-height:220px!important;max-height:42vh!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{grid-template-columns:1fr 1fr!important;gap:9px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{grid-column:1/-1!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .wall-card{grid-template-columns:1fr!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .task-grid .card-media{width:100%!important;height:110px!important;min-height:110px!important}}}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed:has(.sa5-shot-workspace){grid-template-rows:42px minmax(0,1fr) 174px!important;gap:8px!important;min-height:0!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-workspace{min-height:0!important;height:100%!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench{height:100%!important;min-height:0!important;grid-template-columns:minmax(0,1fr) minmax(320px,30%)!important;gap:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-dock{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .task-wall{min-height:0!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .task-wall>.wall-inner{height:100%!important;min-height:0!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .task-grid{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .rich-prompt{min-height:180px!important;max-height:240px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-workspace.generate-tab .script-video-workbench .rich-prompt{min-height:180px!important;height:180px!important;max-height:240px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-rail{box-sizing:border-box!important;height:174px!important;min-height:174px!important;overflow-x:auto!important;overflow-y:hidden!important;align-items:stretch!important;padding:4px 2px 10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-rail .sa5-shot-card{height:154px!important;min-height:154px!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-submit-row>button{width:min(220px,100%)!important;min-width:160px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-reference-status{display:flex!important;align-items:center!important;min-height:30px!important;margin:0!important;padding:6px 10px!important;border:1px solid rgba(255,141,141,.3)!important;border-radius:8px!important;background:rgba(255,141,141,.08)!important;color:#ffd8d8!important;font-size:12px!important}@media (max-width:1000px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed:has(.sa5-shot-workspace){display:flex!important;flex-direction:column!important;overflow-y:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-workspace{height:auto!important;overflow:visible!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .script-video-workbench{height:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-rail{flex:0 0 174px!important}}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed.sa5-shot-feed{grid-template-rows:42px minmax(0,1fr) 174px!important}@media (max-width:1000px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed.sa5-shot-feed{display:flex!important;flex-direction:column!important}}@layer ui-source-controls{html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed.sa5-shot-feed{grid-template-rows:42px minmax(0,1fr) 174px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-workspace.generate-tab .script-video-workbench .rich-prompt{min-height:180px!important;height:180px!important;max-height:240px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed:not(.sa5-shot-feed){overflow-y:auto!important;overflow-x:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-feed.sa5-shot-feed{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-feed>.sa5-shot-workspace{flex:1 1 auto!important;height:auto!important;min-height:0!important;order:1!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-feed>.sa5-shot-rail{flex:0 0 174px!important;margin-top:auto!important;order:2!important}}@layer ui-source-controls{}@layer ui-source-controls{html[data-ui] body .app-shell.tab-script-workshop #script-agent-module :is(.sa5-feed,.sa5-shot-workspace,.script-video-workbench,.composer-dock):has(.glass-radio-group[open]),html[data-ui] body .app-shell.tab-script-workshop #script-agent-module :is(.sa5-feed,.sa5-shot-workspace,.script-video-workbench,.composer-dock):has(.radio-select-popover[open]){overflow:visible!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module :is(.script-video-workbench,.sa5-generation-toolbar):has(.glass-radio-group[open]),html[data-ui] body .app-shell.tab-script-workshop #script-agent-module :is(.script-video-workbench,.sa5-generation-toolbar):has(.radio-select-popover[open]){position:relative!important;z-index:1000!important}}@media (max-width:1000px){@layer ui-source-controls{html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-feed>.sa5-shot-workspace{flex:0 0 auto!important;height:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-shot-feed>.sa5-shot-rail{flex:0 0 174px!important}}}@layer navigation-visibility{html[data-ui] body .app-shell.shell.tab-script-workshop>.content{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .prompt-actions{min-height:36px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .composer-parameters>label>span{margin-bottom:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-studio{position:fixed!important;inset:12px!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module{height:100%!important;min-height:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-feed{padding:8px 12px 0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-generation-toolbar{min-height:42px!important;flex:0 0 auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail{height:136px!important;min-height:136px!important;flex:0 0 136px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail .sa5-shot-card{height:116px!important;min-height:116px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-dock{gap:8px!important;padding:10px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-reference{flex:0 0 auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .dock-prompt{flex:1 1!important;min-height:190px!important;gap:4px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-composer{flex:1 1!important;min-height:80px!important;height:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .rich-prompt{flex:1 1!important;min-height:80px!important;height:auto!important;max-height:none!important;overflow-y:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-section-heading{height:36px!important;min-height:36px!important;margin:0!important;flex:0 0 auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-caption{height:24px!important;min-height:24px!important;padding:2px 8px!important;flex:0 0 auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-toolbar{height:auto!important;min-height:36px!important;padding:0!important;margin:0!important;flex:0 0 auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-main.controls{flex:0 0 auto!important;padding-top:8px!important;gap:6px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-parameters :is(summary,.radio-select-trigger){height:34px!important;min-height:34px!important;padding:6px 9px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-parameters>label{gap:4px!important;margin:0!important;padding:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-submit-row>button{height:36px!important;min-height:36px!important}@media (max-width:1000px){html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-studio{inset:8px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-feed.sa5-shot-feed{overflow-y:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .dock-prompt{flex:0 0 auto!important;min-height:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-composer{flex:0 0 180px!important}}}@media (min-width:1001px){html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(238px,27%)!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;align-content:stretch!important;grid-gap:10px 12px!important;gap:10px 12px!important;min-width:0!important;min-height:0!important;overflow-y:auto!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.composer-heading,html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.composer-reference,html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.script-reference-status,html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.script-video-heading{grid-column:1/-1!important;min-width:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.dock-prompt{grid-column:1!important;grid-row:3!important;display:flex!important;flex-direction:column!important;min-width:0!important;min-height:280px!important;height:100%!important;overflow:hidden!important;padding:12px!important;border:1px solid rgba(194,180,236,.18)!important;border-radius:13px!important;background:rgba(255,255,255,.025)!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-prompt .prompt-composer,html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-prompt .rich-prompt{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-prompt .rich-prompt{overflow-y:auto!important;font-size:14px!important;line-height:1.75!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-main.controls{grid-column:2!important;grid-row:3!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;align-self:stretch!important;min-width:0!important;min-height:280px!important;gap:12px!important;padding:12px!important;border:1px solid rgba(194,180,236,.18)!important;border-radius:13px!important;background:rgba(255,255,255,.025)!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-gap:10px!important;gap:10px!important;min-width:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters>label{min-width:0!important;margin:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters>label>span{display:block!important;margin:0 0 5px!important;font-size:12px!important;color:#bdb4cd!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters :is(summary,.radio-select-trigger){width:100%!important;min-width:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-submit-row,html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-submit-row>button{width:100%!important;min-width:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-submit-row{margin-top:auto!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-notice{grid-column:1/-1!important;min-width:0!important}}.sa5-shot-video-backdrop,.sa5-shot-video-dialog,.sa5-shot-video-dialog .sa5-icon-button,.sa5-task-list-backdrop,.sa5-task-list-dialog,.sa5-task-list-dialog .sa5-icon-button{pointer-events:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-view{width:min(1200px,calc(100vw - 48px))!important;max-width:1200px!important;margin:clamp(42px,7vh,76px) auto 0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-compose>textarea{height:clamp(220px,36dvh,360px)!important;min-height:220px!important;max-height:calc(100dvh - 390px)!important;resize:vertical!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{margin-top:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>label{display:grid!important;grid-template-rows:auto 40px!important;align-items:end!important;grid-gap:4px!important;gap:4px!important;min-width:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>label>span{font-size:11px!important;line-height:1.2!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings :is(.radio-select-shell,.radio-select-popover,.glass-radio-group){width:100%!important;min-width:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings :is(summary,.radio-select-trigger){width:100%!important;min-width:0!important;min-height:40px!important;height:40px!important;padding:7px 10px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>.sa5-upload-slot{display:grid!important;place-items:center!important;margin:0!important;padding:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>.sa5-upload-slot input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{padding:0 12px!important;border-radius:8px!important;font-size:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard]{position:relative!important;z-index:5000!important;overflow:visible!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .radio-select-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-gap:8px!important;gap:8px!important;width:min(520px,calc(100vw - 32px))!important;min-width:min(420px,calc(100vw - 32px))!important;max-width:min(520px,calc(100vw - 32px))!important;max-height:var(--select-max-height,min(280px,calc(100dvh - 32px)))!important;overflow:auto!important;padding:8px!important;left:auto!important;right:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-content:start!important;grid-gap:5px!important;gap:5px!important;min-width:0!important;min-height:116px!important;padding:6px!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:9px!important;background:rgba(255,255,255,.035)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option>button[role=option]{display:flex!important;align-items:center!important;min-width:0!important;min-height:38px!important;padding:8px 9px!important;border-radius:7px!important;font-size:13px!important;font-weight:650!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option>.model-info-trigger{align-self:center!important;min-width:34px!important;width:34px!important;height:30px!important;min-height:30px!important;padding:3px!important;justify-content:center!important;font-size:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .select-example-preview{display:block!important;grid-column:1/-1!important;min-width:0!important;padding:6px 7px!important;border-top:1px solid rgba(255,255,255,.08)!important;color:#c7bfd5!important;font-size:10px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option:focus-within,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option:hover{border-color:rgba(171,145,255,.8)!important;background:rgba(143,124,255,.13)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option:has(>button[aria-selected=true]){border-color:rgba(171,145,255,.9)!important;background:rgba(143,124,255,.18)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard].opens-up .radio-select-options{top:auto!important;bottom:calc(100% + 6px)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-view:has(.radio-select-popover[open]),html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings:has(.radio-select-popover[open]){overflow:visible!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .radio-select-popover[open]{z-index:6000!important}@media (max-width:760px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-input-view{width:min(100%,calc(100vw - 24px))!important;margin-top:28px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>.sa5-upload-slot{width:42px!important;min-width:42px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{grid-column:1/-1!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .radio-select-options{min-width:calc(100vw - 24px)!important;width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;grid-template-columns:1fr!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}}@layer navigation-visibility{html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail{height:146px!important;min-height:146px!important;flex-basis:146px!important;scrollbar-width:auto!important;scrollbar-color:#a898bf #211b2b!important;overscroll-behavior-x:contain;scroll-padding-inline:8px}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail::-webkit-scrollbar{display:block!important;height:12px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail::-webkit-scrollbar-thumb{background:#a898bf;border:2px solid #211b2b;border-radius:8px}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail::-webkit-scrollbar-track{background:#211b2b}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail:focus-visible{outline:2px solid #b9a6ff;outline-offset:-2px}}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option{min-height:52px!important;grid-template-rows:1fr!important;align-items:center!important;padding:4px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option>button[role=option]{min-height:40px!important;height:40px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover[data-select-kind=storyboard-standard] .radio-select-options{box-sizing:border-box!important;width:calc(100vw - 24px)!important;min-width:0!important;max-width:520px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library{display:flex!important;flex-direction:column!important;min-height:0!important;gap:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;min-height:58px!important;padding:9px 10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .library-search{flex:1 1 260px!important;min-width:180px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar>select{width:150px!important;min-width:130px!important;min-height:38px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .sa5-settings{position:relative!important;z-index:20!important;width:auto!important;min-width:74px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .sa5-generation-action{min-height:38px!important;height:38px!important;padding:0 12px!important;font-size:12px!important;white-space:nowrap!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-shell{flex:1 1 auto!important;min-height:360px!important;height:auto!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-sidebar{width:176px!important;min-width:176px!important;max-height:none!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-sidebar>button{min-height:42px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-sidebar footer{margin-top:auto!important;padding:12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-sidebar footer small{line-height:1.6!important;color:var(--sa-muted,#9299aa)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-shell .library-content{min-width:0!important;min-height:0!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-shell .library-content-head{min-height:54px!important;padding:9px 12px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid{min-height:0!important;height:100%!important;align-content:start!important;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important;gap:12px!important;padding:12px!important;overflow-y:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article{position:relative!important;min-width:0!important;min-height:252px!important;padding:7px!important;border:1px solid var(--sa-line,rgba(255,255,255,.1))!important;border-radius:10px!important;background:rgba(255,255,255,.035)!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid:has(.sa5-library-empty){height:auto!important;min-height:0!important;align-items:start!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid .sa5-library-empty{min-height:210px!important;height:auto!important;padding:34px 20px!important;margin:0!important}@layer navigation-visibility{#script-agent-module .sa5-script-library-commandbar{position:relative!important;top:auto!important}#script-agent-module .sa5-script-library-shell{grid-template-columns:184px minmax(0,1fr)!important;border:1px solid #302b3d!important;border-radius:12px!important;background:#121019!important}#script-agent-module .sa5-script-library-sidebar{width:100%!important;min-width:0!important;flex-direction:column!important;gap:6px!important;padding:10px!important;border:0!important;border-right:1px solid #302b3d!important;background:#121019!important}#script-agent-module .sa5-script-library-sidebar header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0 0 8px!important;padding:2px 2px 10px!important;border:0!important;border-bottom:1px solid #302b3d!important}#script-agent-module .sa5-script-library-sidebar header b{color:#eeebf7!important;font-size:12px!important;letter-spacing:0!important}#script-agent-module .sa5-script-library-sidebar header button{display:grid!important;place-items:center!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border:1px solid #40384f!important;border-radius:8px!important;background:#211c2b!important;color:#ddd6f5!important}#script-agent-module .sa5-script-library-sidebar .sa5-asset-category{display:grid!important;grid-template-columns:16px minmax(0,1fr) auto!important;align-items:center!important;justify-content:stretch!important;grid-gap:10px!important;gap:10px!important;width:100%!important;min-width:0!important;min-height:42px!important;padding:9px 10px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:#b4acc6!important;text-align:left!important;box-shadow:none!important;transform:none!important}#script-agent-module .sa5-script-library-sidebar .sa5-asset-category b{font-size:12px!important;font-weight:500!important;color:inherit!important;justify-self:start!important;text-align:left!important}#script-agent-module .sa5-script-library-sidebar .sa5-asset-category small{min-width:22px!important;padding:2px 5px!important;border-radius:5px!important;background:#25202e!important;color:#bfb5d5!important;font-size:11px!important;font-feature-settings:"tnum"!important;font-variant-numeric:tabular-nums!important;line-height:16px!important;text-align:center!important}#script-agent-module .sa5-script-library-sidebar .sa5-asset-category:hover{background:#201b2b!important;color:#ede8fa!important}#script-agent-module .sa5-script-library-sidebar .sa5-asset-category.active{border-color:#6e599e!important;background:#302542!important;color:#e7ddff!important}#script-agent-module .sa5-script-library-sidebar .sa5-asset-category.active small{background:#44335e!important;color:#ece2ff!important}#script-agent-module .sa5-script-library-sidebar footer{margin-top:auto!important;padding:14px 2px 2px!important;border-top:1px solid #302b3d!important}#script-agent-module .sa5-script-library-sidebar footer small{color:#a69cb9!important;font-size:11px!important;line-height:1.7!important}#script-agent-module .sa5-script-library-shell .library-content{border:0!important;border-radius:0!important;background:#121019!important}#script-agent-module .sa5-script-library-commandbar .library-search{gap:8px!important;padding-left:12px!important;border-color:#40384f!important;border-radius:8px!important;background:#211c2b!important;color:#bfb2de!important}#script-agent-module .sa5-script-library-commandbar .selected-count{color:#b4acc6!important}#script-agent-module .sa5-library-empty{grid-column:1/-1!important;display:grid!important;place-content:center!important;justify-items:center!important;min-height:290px!important;padding:36px 20px!important;color:#b4acc6!important;text-align:center!important}#script-agent-module .sa5-library-empty-icon{display:grid!important;place-items:center!important;width:64px!important;height:64px!important;margin-bottom:20px!important;border-radius:16px!important;background:#261f35!important;color:#c5b4ee!important}#script-agent-module .sa5-library-empty>b{color:#eeebf7!important;font-size:17px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:0!important}#script-agent-module .sa5-library-empty>p{margin:8px 0 22px!important;color:#b4acc6!important;font-size:12px!important;line-height:1.7!important}#script-agent-module .sa5-library-add{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:38px!important;padding:0 14px!important;border:1px solid #766394!important;border-radius:8px!important;background:#55416f!important;color:#f3edff!important;font-size:12px!important}#script-agent-module .sa5-library-add:hover:not(:disabled){background:#675085!important}#script-agent-module .sa5-script-library :is(button,input):focus-visible{outline:2px solid #b8a0e7!important;outline-offset:3px!important}#script-agent-module .sa5-script-library :is(.sa5-asset-category,header button,.sa5-library-add,.library-search,.sa5-library-empty-icon)>svg{display:block!important;flex-shrink:0!important;color:inherit!important;stroke:currentColor!important}#script-agent-module .sa5-script-library .library-scroll{scrollbar-color:#67577d #121019!important}#script-agent-module .sa5-script-library .library-scroll::-webkit-scrollbar-thumb{background:#67577d!important;border:2px solid #121019!important}#script-agent-module .sa5-script-library .library-scroll::-webkit-scrollbar-track{background:#121019!important;border:0!important}#script-agent-module .sa5-script-asset-grid>article{box-shadow:none!important;transform:none!important}#script-agent-module .sa5-script-asset-grid>article:hover{border-color:#766394!important;box-shadow:none!important}#script-agent-module .sa5-script-asset-grid .asset-preview{background:#100d17!important}#script-agent-module .sa5-script-asset-grid .asset-check{border:1px solid #8c7aa4!important;border-radius:5px!important;background:#17121f!important}#script-agent-module .sa5-script-asset-grid .asset-check:has(input:checked){border-color:#b79bdc!important;background:#655080!important}#script-agent-module .sa5-script-asset-grid .asset-check input:checked+i{color:#f3edff!important}#script-agent-module .sa5-script-asset-grid .asset-check:has(input:focus-visible){outline:2px solid #b8a0e7!important;outline-offset:3px!important}@media (max-width:900px){#script-agent-module .sa5-script-library-sidebar{border-right:0!important;border-bottom:1px solid #302b3d!important}}}@layer navigation-visibility{#script-agent-module .sa5-script-library-shell .library-content{display:flex!important;flex-direction:column!important;justify-content:flex-start!important}#script-agent-module .sa5-script-library-shell .library-content-head{flex:0 0 auto!important}#script-agent-module .sa5-script-library-shell .sa5-script-asset-grid{flex:0 0 auto!important;height:auto!important}#script-agent-module .sa5-script-unbound{margin:0!important;padding:14px 0 0!important;border:0!important}#script-agent-module .sa5-bound-asset-grid+.sa5-script-unbound{border-top:1px solid #302b3d!important}#script-agent-module .sa5-script-unbound h3{margin:0!important;padding:0 12px 2px!important;color:#b4acc6!important;font-size:12px!important;font-weight:500!important}#script-agent-module .sa5-script-asset-grid>article{cursor:pointer!important}#script-agent-module .sa5-script-unbound article>footer{grid-template-columns:repeat(2,minmax(0,1fr))!important}#script-agent-module .sa5-library-no-results{margin:0!important;padding:20px 14px!important;color:#b4acc6!important;font-size:12px!important}#script-agent-overlays .sa5-asset-preview-box{width:min(780px,calc(100vw - 32px))!important;max-height:calc(100dvh - 48px)!important;background:#17121f!important;gap:0!important}#script-agent-overlays .sa5-asset-preview-dialog{pointer-events:auto!important}#script-agent-overlays :is(.sa5-asset-preview-box .sa5-icon-button,.sa5-asset-lightbox .sa5-lightbox-close)>svg{display:block!important;width:18px!important;height:18px!important;color:#eee8fa!important;stroke:currentColor!important;flex-shrink:0!important}#script-agent-overlays :is(.sa5-asset-preview-box .sa5-icon-button,.sa5-asset-lightbox .sa5-lightbox-close){display:grid!important;place-items:center!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;grid-gap:0!important;gap:0!important}#script-agent-overlays .sa5-asset-lightbox .sa5-lightbox-close{position:absolute!important;top:16px!important;right:16px!important;left:auto!important;bottom:auto!important;z-index:1!important}#script-agent-overlays .sa5-asset-preview-box>header{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 auto!important;padding:16px!important;border-bottom:1px solid #352b43!important}#script-agent-overlays .sa5-asset-preview-media{display:block!important;min-height:0!important;padding:0!important;flex:0 1 auto!important;background:#0e0b13!important}#script-agent-overlays .sa5-asset-zoom-button{position:relative!important;display:block!important;width:100%!important;height:min(52dvh,480px)!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;cursor:zoom-in!important}#script-agent-overlays .sa5-asset-zoom-button>span{position:absolute!important;bottom:12px!important;right:12px!important;display:flex!important;align-items:center!important;gap:6px!important;padding:7px 10px!important;border-radius:6px!important;background:#221a30!important;color:#e4d8f6!important;font-size:12px!important}#script-agent-overlays .sa5-asset-preview-meta{display:grid!important;grid-gap:16px!important;gap:16px!important;min-height:0!important;max-height:220px!important;padding:16px!important;overflow:auto!important;color:#bfb3d3!important}#script-agent-overlays .sa5-asset-preview-meta b{color:#e4d8f6!important;font-size:12px!important}#script-agent-overlays .sa5-asset-preview-meta p{margin:6px 0 0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}#script-agent-overlays .sa5-asset-lightbox{position:fixed!important;inset:0!important;z-index:11000!important;display:grid!important;place-items:center!important;padding:48px 20px!important;background:#08050df2!important;pointer-events:auto!important}#script-agent-overlays .sa5-asset-lightbox>img{width:100%!important;height:100%!important;max-width:calc(100vw - 40px)!important;max-height:calc(100dvh - 96px)!important;object-fit:contain!important}}html[data-ui] body #script-agent-overlays .sa5-asset-preview-dialog{position:fixed!important;inset:0!important;z-index:10050!important;display:grid!important;place-items:center!important;padding:24px!important;background:rgba(1,3,12,.76)!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important}html[data-ui] body #script-agent-overlays .sa5-asset-preview-box{width:min(720px,calc(100vw - 48px))!important;max-height:min(820px,calc(100vh - 48px))!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:16px!important;background:#0b1020!important;box-shadow:0 24px 80px rgba(0,0,0,.58)!important}html[data-ui] body #script-agent-overlays .sa5-asset-preview-media{min-height:260px!important;max-height:min(620px,calc(100vh - 190px))!important;display:grid!important;place-items:center!important;overflow:hidden!important;background:rgba(0,0,0,.28)!important}html[data-ui] body #script-agent-overlays .sa5-asset-preview-media img{display:block!important;width:100%!important;height:100%!important;max-height:min(620px,calc(100vh - 190px))!important;object-fit:contain!important}html[data-ui] body #script-agent-overlays .sa5-asset-preview-meta{padding:12px 16px 16px!important;color:var(--sa-muted,#9299aa)!important;font-size:13px!important;line-height:1.55!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .sa5-settings[open]{z-index:1200!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .sa5-settings-panel{position:absolute!important;top:calc(100% + 8px)!important;right:0!important;left:auto!important;width:min(560px,calc(100vw - 32px))!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:end!important;grid-gap:12px!important;gap:12px!important;padding:14px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:12px!important;background:#111421!important;box-shadow:0 18px 48px rgba(0,0,0,.48)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .sa5-settings-panel .sa5-param{display:grid!important;grid-gap:6px!important;gap:6px!important;min-width:0!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .sa5-settings-panel .sa5-param>span{color:var(--sa-muted,#9299aa)!important;font-size:11px!important;font-weight:600!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .sa5-settings-panel .glass-radio-group,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .sa5-settings-panel .radio-select-shell{min-width:0!important;width:100%!important}@media (max-width:720px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .sa5-settings-panel{grid-template-columns:1fr!important;width:min(320px,calc(100vw - 32px))!important}}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module
.radio-select-popover[data-select-kind=storyboard-standard] .radio-select-options{display:flex!important;flex-direction:column!important;gap:6px!important;width:min(360px,calc(100vw - 24px))!important;min-width:0!important;max-width:360px!important;padding:8px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module
.radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:1fr!important;align-items:center!important;min-height:44px!important;height:44px!important;padding:4px!important;grid-gap:6px!important;gap:6px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module
.radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option>button[role=option]{min-height:36px!important;height:36px!important;justify-content:flex-start!important;padding:0 10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module
.radio-select-popover[data-select-kind=storyboard-standard] .model-rich-option>.model-info-trigger{width:auto!important;min-width:56px!important;height:32px!important;min-height:32px!important;padding:0 8px!important;font-size:12px!important}@layer navigation-visibility{html[data-ui] body .app-shell.shell.tab-script-workshop{box-sizing:border-box!important;position:relative!important;inset:auto!important;z-index:auto!important;display:grid!important;grid-template-columns:212px minmax(0,1fr)!important;grid-template-rows:68px minmax(0,1fr)!important;width:100%!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;background:transparent!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.app-rail{flex-direction:column!important;grid-column:1!important;grid-row:1/-1!important;height:100%!important;overflow:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.app-rail,html[data-ui] body .app-shell.shell.tab-script-workshop>.topbar{position:relative!important;inset:auto!important;display:flex!important;width:100%!important;min-height:0!important;pointer-events:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.topbar{grid-column:2!important;grid-row:1!important;height:68px!important;margin:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.content{inset:auto!important;display:flex!important;flex-direction:column!important;grid-column:2!important;grid-row:2!important;max-height:none!important;padding:0 12px 12px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-studio,html[data-ui] body .app-shell.shell.tab-script-workshop>.content{box-sizing:border-box!important;position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;overflow:hidden!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-studio{flex:1 1!important;padding:0!important;border:1px solid var(--ui-line,rgba(255,255,255,.13))!important;border-radius:14px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module{background:transparent!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;container-type:inline-size}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-studio{background:transparent!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-input-view{width:min(1040px,100%)!important;max-width:100%!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-hide-task-wall{display:block!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;padding:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-hide-task-wall>.task-wall{display:none!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-hide-task-wall>.composer-dock{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;box-sizing:border-box!important}}@container (max-width: 1200px){@layer navigation-visibility{html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-work-head{display:flex!important;flex-wrap:wrap!important;height:auto!important;min-height:52px!important;padding:10px 12px!important;gap:8px 12px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-work-title{flex:1 1 160px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-stage-switch{order:3!important;width:100%!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-create-toolbar-actions{margin-left:auto!important;flex-wrap:wrap!important}}}@media (max-width:760px){@layer navigation-visibility{html[data-ui] body .app-shell.shell.tab-script-workshop{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:60px 64px minmax(0,1fr)!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.topbar{grid-column:1!important;grid-row:1!important;height:60px!important;padding:0 12px!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.app-rail{grid-column:1!important;grid-row:2!important;padding:4px 8px!important;border:0!important;border-bottom:1px solid var(--ui-line)!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.app-rail>:not(.nav){display:none!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.app-rail>.nav{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;height:100%!important;width:100%!important;overflow-x:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.app-rail>.nav>button{flex:0 0 auto!important;width:auto!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0 14px!important;white-space:nowrap!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.app-rail>.nav>button:before{display:none!important}html[data-ui] body .app-shell.shell.tab-script-workshop>.content{grid-column:1!important;grid-row:3!important;padding:8px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-feed{overflow-y:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-feed>.sa5-shot-workspace{flex:0 0 auto!important;height:auto!important;overflow:visible!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-hide-task-wall,html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-hide-task-wall>.composer-dock{height:auto!important}}}#script-agent-module details[data-select-kind=storyboard-standard]>.radio-select-options{display:flex!important;flex-direction:column!important;align-items:stretch!important;grid-template-columns:none!important;width:min(360px,calc(100vw - 24px))!important;min-width:0!important;max-width:360px!important}#script-agent-module details[data-select-kind=storyboard-standard]>.radio-select-options>.model-rich-option{display:flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;width:100%!important;min-width:0!important;min-height:44px!important;height:44px!important;box-sizing:border-box!important}#script-agent-module details[data-select-kind=storyboard-standard]>.radio-select-options>.model-rich-option>button[role=option]{flex:1 1 auto!important;width:auto!important;min-width:0!important}#script-agent-module details[data-select-kind=storyboard-standard]>.radio-select-options>.model-rich-option>.model-info-trigger{flex:0 0 auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>.asset-preview{display:block!important;width:100%!important;height:142px!important;min-height:142px!important;padding:0!important;border-radius:7px!important;overflow:hidden!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>.asset-preview .sa4-asset-placeholder,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>.asset-preview img{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>small,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>strong{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>strong{margin-top:8px!important;color:var(--sa-text,#f4f5fa)!important;font-size:13px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>small{margin-top:4px!important;color:var(--sa-muted,#9299aa)!important;font-size:10px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>small i{display:inline-block!important;width:3px!important;height:3px!important;margin:0 5px!important;border-radius:50%!important;background:currentColor!important;vertical-align:middle!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>footer{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-gap:5px!important;gap:5px!important;margin-top:9px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>footer button{min-width:0!important;min-height:30px!important;height:30px!important;padding:4px 3px!important;font-size:10px!important;white-space:nowrap!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article.selected{border-color:rgba(143,124,255,.8)!important;background:rgba(143,124,255,.1)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>.asset-check{position:absolute!important;z-index:2!important;top:13px!important;left:13px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-unbound{margin:0 12px 12px!important;padding-top:10px!important;border-top:1px solid var(--sa-line,rgba(255,255,255,.1))!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-unbound h3{margin:0 0 2px!important;padding:0 0 0 12px!important;font-size:12px!important;color:var(--sa-text,#f4f5fa)!important}@media (max-width:900px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-shell{display:block!important;overflow:auto!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-sidebar{width:100%!important;min-width:0!important;max-height:none!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-sidebar footer,html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-sidebar header{grid-column:1/-1!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-shell .library-content{overflow:visible!important}}@media (max-width:560px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar .library-search{flex-basis:100%!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-commandbar>select{flex:1 1 120px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-library-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:8px!important;gap:8px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article{min-height:230px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>.asset-preview{height:110px!important;min-height:110px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-script-asset-grid>article>footer button{font-size:9px!important}}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr)) 42px minmax(136px,.75fr)!important;grid-auto-flow:row!important;align-items:end!important;grid-gap:8px!important;gap:8px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings>.sa5-upload-slot{width:42px!important;min-width:42px!important;height:40px!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important}@media (max-width:1100px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{grid-template-columns:repeat(3,minmax(0,1fr)) 42px minmax(136px,.8fr)!important}}@media (max-width:760px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings .sa5-analyze-btn{grid-column:1/-1!important}}@media (min-width:761px){html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .sa5-story-settings{grid-template-columns:repeat(4,minmax(0,1fr)) 42px minmax(136px,.75fr)!important}}@layer navigation-visibility{html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover .radio-select-options{box-sizing:border-box!important;max-height:var(--select-max-height,min(280px,calc(100dvh - 32px)))!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module .radio-select-popover.opens-up .radio-select-options{top:auto!important;bottom:calc(100% + 6px)!important}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module [data-select-kind=analysis-model]>.radio-select-options{display:flex!important;flex-direction:column!important;gap:4px!important;padding:6px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}html[data-ui] body .app-shell.tab-script-workshop #script-agent-module [data-select-kind=analysis-model]>.radio-select-options>button{flex:0 0 auto!important;min-height:40px!important;margin:0!important}@media (max-width:760px){html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-feed:has(.sa5-input-view){overflow-y:auto!important;overflow-x:hidden!important}}}#script-agent-module .sa5-task-list-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 14px;border:1px solid rgba(165,138,255,.42);border-radius:10px;background:rgba(143,124,255,.1);color:#eee9ff;white-space:nowrap}#script-agent-module .sa5-task-list-button:hover{border-color:rgba(190,171,255,.78);background:rgba(143,124,255,.2)}#script-agent-module .sa5-analysis-segments{margin:12px 0;padding:16px;border:1px solid var(--sa-line,#51445e);border-radius:12px;background:var(--sa-panel,#211b2b);color:var(--sa-text,#f3efff)}#script-agent-module .sa5-input-view>.sa5-analysis-segments{margin:24px 0 0;flex:0 0 auto;min-width:0}#script-agent-module .sa5-analysis-segments>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}#script-agent-module .sa5-analysis-segments h2{margin:0;font-size:16px;line-height:1.5}#script-agent-module .sa5-analysis-segments header p{margin:4px 0 0;color:#d0c4df;font-size:13px}#script-agent-module .sa5-analysis-segment-list{max-height:420px;overflow-y:auto;scrollbar-color:#a898bf #211b2b;scrollbar-width:thin}#script-agent-module .sa5-analysis-segment+.sa5-analysis-segment{border-top:1px solid var(--sa-line,#51445e)}#script-agent-module .sa5-analysis-segment summary{display:flex;align-items:center;gap:12px;padding:12px 4px;cursor:pointer;list-style:none}html[data-ui] body .app-shell #script-agent-module .sa5-analysis-segment>summary{border:0!important;border-radius:4px!important;box-shadow:none!important;background:transparent!important}html[data-ui] body .app-shell #script-agent-module .sa5-analysis-segment>summary:hover{background:rgba(185,166,255,.08)!important}html[data-ui] body .app-shell #script-agent-module .sa5-analysis-segment[open]>summary{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:#171320!important}#script-agent-module .sa5-analysis-segment summary::-webkit-details-marker{display:none}#script-agent-module .sa5-analysis-segment summary:hover{background:rgba(185,166,255,.08)}#script-agent-module .sa5-analysis-segment summary:focus-visible{outline:2px solid #b9a6ff;outline-offset:-2px;border-radius:4px}#script-agent-module .sa5-analysis-segment-number{flex:0 0 28px;color:#d8c4ff;text-align:center;font-size:16px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}#script-agent-module .sa5-analysis-segment summary>div{flex:1 1;min-width:0;display:grid;grid-gap:3px;gap:3px}#script-agent-module .sa5-analysis-segment summary strong{font-size:14px}#script-agent-module .sa5-analysis-segment summary>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#d0c4df}#script-agent-module .sa5-analysis-segment-state{flex-shrink:0;color:#d8c4ff;font-size:13px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}#script-agent-module .sa5-analysis-segment[open] summary>svg{transform:rotate(180deg)}#script-agent-module .sa5-analysis-preview-list{padding:0 8px 12px 44px}#script-agent-module .sa5-analysis-segment-wait{padding:0 8px 12px 44px;margin:0;color:#d0c4df;font-size:13px;line-height:1.7}#script-agent-module .sa5-analysis-preview-list article+article{margin-top:16px;padding-top:16px;border-top:1px solid var(--sa-line,#51445e)}#script-agent-module .sa5-analysis-preview-list article>header{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:baseline}#script-agent-module .sa5-analysis-preview-list article strong{font-size:14px}#script-agent-module .sa5-analysis-preview-list article header span{font-size:12px;color:#d0c4df}#script-agent-module .sa5-analysis-preview-list article>p{margin:8px 0 0;max-width:75ch;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;color:#eee6f9}#script-agent-module .sa5-shot-card{overflow:hidden}#script-agent-module .sa5-shot-card .sa5-card-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left}#script-agent-module .sa5-shot-media{position:relative;display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,rgba(143,124,255,.18),rgba(255,255,255,.035));color:#a6a0b5}#script-agent-module .sa5-shot-media>.sa5-shot-media-empty,#script-agent-module .sa5-shot-media>.task-video-surface,#script-agent-module .sa5-shot-media>img{width:100%;height:100%}#script-agent-module .sa5-shot-media>img{display:block;object-fit:cover}#script-agent-module .sa5-shot-media .task-video-surface{min-height:0!important;background:#0c0b12}#script-agent-module .sa5-shot-media .task-video-surface video{width:100%;height:100%;object-fit:cover}#script-agent-module .sa5-shot-media-empty{display:grid;place-items:center;align-content:center;grid-gap:7px;gap:7px;font-size:11px}#script-agent-module .sa5-shot-media-empty.generating{color:#bba9ff}#script-agent-module .sa5-shot-media-empty.queued{color:#b8b0c8}#script-agent-module .sa5-shot-play{position:absolute;inset:50% auto auto 50%;display:grid;place-items:center;width:38px;height:38px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(15,12,25,.65);color:#fff;opacity:.95;pointer-events:none}#script-agent-module .sa5-shot-caption{position:absolute;top:0;left:0;right:0;z-index:1;display:flex;justify-content:space-between;gap:8px;padding:9px 10px;background:linear-gradient(180deg,rgba(9,8,14,.82),transparent);color:#e8e3f5;font-size:11px}#script-agent-module .sa5-shot-card .sa4-shot-body{padding:11px 12px 12px}#script-agent-module .sa5-shot-card .sa4-shot-body h3{font-size:14px;line-height:1.45}@layer navigation-visibility{html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail .sa5-shot-card{position:relative!important;padding:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail .sa5-card-open{position:relative!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail .sa5-shot-media{position:relative!important;display:grid!important;width:100%!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail .sa5-shot-media-empty{display:grid!important;place-items:center!important;align-content:center!important;width:100%!important;height:100%!important;grid-gap:7px!important;gap:7px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail .sa5-shot-caption{position:absolute!important;inset:0 0 auto!important;display:flex!important;justify-content:space-between!important;padding:9px 44px 9px 10px!important;pointer-events:none}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-shot-rail :is(.sa4-shot-body,.sa5-shot-edit){display:none!important}}.sa5-shot-video-backdrop,.sa5-task-list-backdrop{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;padding:24px;background:rgba(5,4,12,.72);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.sa5-task-list-dialog{display:flex;flex-direction:column;width:min(1120px,100%);height:min(780px,calc(100dvh - 48px));overflow:hidden;border:1px solid rgba(194,180,236,.28);border-radius:18px;background:#12101b;box-shadow:0 28px 100px rgba(0,0,0,.58)}.sa5-shot-video-dialog>header,.sa5-task-list-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.1)}.sa5-shot-video-dialog>header strong,.sa5-task-list-head strong{display:block;color:#f3efff;font-size:17px}.sa5-shot-video-dialog>header span,.sa5-task-list-head span{display:block;margin-top:4px;color:#9992ad;font-size:12px}.sa5-shot-video-dialog>header .sa5-icon-button,.sa5-task-list-head .sa5-icon-button{display:grid!important;place-items:center!important;flex:0 0 38px;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border:1px solid rgba(211,200,244,.3)!important;border-radius:10px!important;background:rgba(255,255,255,.06)!important;color:#fff!important}.sa5-shot-video-dialog>header .sa5-icon-button svg,.sa5-task-list-head .sa5-icon-button svg{display:block!important;width:18px!important;height:18px!important;stroke:currentColor!important}.sa5-task-list-content{flex:1 1;min-height:0;padding:12px}.sa5-task-list-content .script-task-list-only{height:100%;min-height:0;display:block}.sa5-task-list-content .script-task-list-only .composer-dock{display:none!important}.sa5-task-list-content .script-task-list-only .task-wall{width:100%;height:100%;min-height:0;max-height:none;border:0;background:transparent}.sa5-task-list-content .script-task-list-only .task-wall>.wall-inner{height:100%;min-height:0}.sa5-task-list-content .script-task-list-only .task-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start;width:100%!important;min-height:0;overflow:auto;grid-gap:12px!important;gap:12px!important;padding:12px 6px 18px 0!important}.sa5-task-list-content .script-task-list-only .task-grid .wall-card{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;width:100%!important;min-width:0!important;min-height:178px!important;height:auto!important;padding:12px!important;grid-gap:14px!important;gap:14px!important;border:1px solid rgba(194,180,236,.18)!important;border-radius:13px!important;background:rgba(255,255,255,.035)!important}.sa5-task-list-content .script-task-list-only .task-grid .card-media{width:180px!important;height:154px!important;min-height:154px!important;border-radius:9px!important;overflow:hidden!important}.sa5-task-list-content .script-task-list-only .task-grid .card-media .lazy-video-preview,.sa5-task-list-content .script-task-list-only .task-grid .card-media video{width:100%!important;height:100%!important;object-fit:cover!important}.sa5-task-list-content .script-task-list-only .task-grid .card-body{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;padding:2px 0!important;gap:9px!important}.sa5-task-list-content .script-task-list-only .task-grid .card-title{min-width:0!important}.sa5-task-list-content .script-task-list-only .task-grid .card-title b{display:block;max-width:100%!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sa5-task-list-content .script-task-list-only .task-grid .task-prompt-marquee{width:100%!important;min-height:0!important;height:auto!important;max-height:48px!important}.sa5-task-list-content .script-task-list-only .task-grid .task-meta{display:flex!important;flex-wrap:wrap!important;gap:6px!important}.sa5-task-list-content .script-task-list-only .task-grid .card-body footer.actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(82px,1fr))!important;grid-gap:7px!important;gap:7px!important;margin-top:auto!important}.sa5-task-list-content .script-task-list-only .task-grid .card-body footer.actions button{width:100%!important;min-width:0!important;min-height:34px!important;height:34px!important;padding:6px 8px!important;font-size:12px!important}.sa5-shot-workspace .script-hide-task-wall .task-wall{display:none!important}.sa5-shot-workspace .script-hide-task-wall .composer-dock{grid-column:1/-1!important;width:100%}.sa5-shot-workspace .script-hide-task-wall{display:block!important;height:100%;min-height:0}.sa5-shot-video-dialog{width:min(980px,100%);overflow:hidden;border:1px solid rgba(194,180,236,.3);border-radius:16px;background:#12101b;box-shadow:0 28px 100px rgba(0,0,0,.6)}.sa5-shot-video-player{display:grid;place-items:center;min-height:300px;max-height:calc(100dvh - 180px);padding:16px;background:#08070d}.sa5-shot-video-player .task-video-surface{width:100%;max-height:calc(100dvh - 220px);min-height:280px}.sa5-shot-video-player .task-video-surface video{width:100%;max-height:calc(100dvh - 220px);object-fit:contain}@media (max-width:720px){.sa5-shot-video-backdrop,.sa5-task-list-backdrop{padding:10px}.sa5-task-list-dialog{height:calc(100dvh - 20px);border-radius:14px}.sa5-task-list-content{padding:6px}.sa5-task-list-content .script-task-list-only .task-grid .wall-card{grid-template-columns:112px minmax(0,1fr)!important;min-height:132px!important;padding:9px!important;gap:10px!important}.sa5-task-list-content .script-task-list-only .task-grid .card-media{width:112px!important;height:112px!important;min-height:112px!important}#script-agent-module .sa5-task-list-button{flex:1 1 132px}#script-agent-module .sa5-shot-card .sa4-shot-body h3{font-size:13px}}@layer navigation-visibility{#script-agent-module details[data-select-kind=storyboard-standard]>.radio-select-options{box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-gap:6px!important;gap:6px!important;width:320px!important;min-width:0!important;max-width:calc(100vw - 64px)!important;max-height:var(--select-max-height,280px)!important;margin:0!important;padding:8px!important;top:calc(100% + 8px)!important;bottom:auto!important;left:auto!important;right:0!important;transform:none!important;border:1px solid #4d405f!important;border-radius:12px!important;background:#1c1726!important;box-shadow:0 16px 40px #0006!important;overflow-x:hidden!important;overflow-y:auto!important}#script-agent-module details[data-select-kind=storyboard-standard].opens-up>.radio-select-options{top:auto!important;bottom:calc(100% + 8px)!important}#script-agent-module details[data-select-kind=storyboard-standard] .model-rich-option{box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) 68px!important;grid-template-rows:1fr!important;align-items:center!important;grid-gap:8px!important;gap:8px!important;width:100%!important;min-width:0!important;min-height:48px!important;height:48px!important;padding:4px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important}#script-agent-module details[data-select-kind=storyboard-standard] .model-rich-option:has(>button[aria-selected=true]){border-color:#7e64a5!important;background:#382a4c!important}#script-agent-module details[data-select-kind=storyboard-standard] .model-rich-option:hover{background:#30253f!important}#script-agent-module details[data-select-kind=storyboard-standard] .model-rich-option>button{box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;height:38px!important;min-height:38px!important;margin:0!important;padding:0 10px!important;white-space:nowrap!important;flex-wrap:nowrap!important;font-size:13px!important;line-height:20px!important;color:#eee8fa!important}#script-agent-module details[data-select-kind=storyboard-standard] .model-rich-option>button[role=option]{width:100%!important;justify-content:flex-start!important;text-align:left!important;border:0!important;background:transparent!important}#script-agent-module details[data-select-kind=storyboard-standard] .model-rich-option>.model-info-trigger{width:68px!important;justify-content:center!important;padding:0 6px!important;border:1px solid #5b4b70!important;border-radius:6px!important;background:#282033!important;color:#cfc0e5!important;font-size:12px!important}#script-agent-module details[data-select-kind=storyboard-standard] .model-info-trigger svg{display:block!important;flex-shrink:0!important}@media (max-width:760px){#script-agent-module details[data-select-kind=storyboard-standard]>.radio-select-options{left:0!important;right:auto!important;max-width:calc(100vw - 80px)!important}}}@media (min-width:1001px){html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(238px,27%)!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;align-content:stretch!important;grid-gap:10px 12px!important;gap:10px 12px!important;min-width:0!important;min-height:0!important;overflow-y:auto!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>:is(.script-video-heading,.composer-heading,.composer-reference,.script-reference-status,.dock-notice){grid-column:1/-1!important;min-width:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.dock-prompt{grid-column:1!important;grid-row:auto!important;display:flex!important;flex-direction:column!important;min-width:0!important;min-height:280px!important;height:100%!important;overflow:hidden!important;padding:12px!important;border:1px solid rgba(194,180,236,.18)!important;border-radius:13px!important;background:rgba(255,255,255,.025)!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-prompt .prompt-composer,html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-prompt .rich-prompt{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-prompt .rich-prompt{overflow-y:auto!important;font-size:14px!important;line-height:1.75!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-main.controls{grid-column:2!important;grid-row:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;align-self:stretch!important;min-width:0!important;min-height:280px!important;gap:12px!important;padding:12px!important;border:1px solid rgba(194,180,236,.18)!important;border-radius:13px!important;background:rgba(255,255,255,.025)!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-gap:10px!important;gap:10px!important;min-width:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters>label{min-width:0!important;margin:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters>label>span{display:block!important;margin:0 0 5px!important;font-size:12px!important;color:#bdb4cd!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-parameters :is(summary,.radio-select-trigger),html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-submit-row,html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-submit-row>button{width:100%!important;min-width:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-submit-row{margin-top:auto!important}}@media (max-width:1000px){html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock{display:flex!important;flex-direction:column!important;min-height:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-main.controls,html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .dock-prompt{width:100%!important;min-width:0!important}}.sa5-shot-video-backdrop,.sa5-shot-video-dialog,.sa5-shot-video-dialog .sa5-icon-button,.sa5-task-list-backdrop,.sa5-task-list-dialog,.sa5-task-list-dialog .sa5-icon-button{pointer-events:auto!important}@media (min-width:1001px){html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock{grid-template-columns:minmax(0,1fr) minmax(252px,28%)!important;grid-template-rows:auto auto minmax(300px,1fr) auto!important;align-items:stretch!important;overflow-y:auto!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.script-video-heading{grid-column:1!important;grid-row:1!important;min-width:0!important;min-height:42px!important;padding:6px 0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.composer-reference{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:5px 0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.composer-reference>header{flex:0 0 auto!important;margin:0!important;white-space:nowrap!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.composer-reference .reference-strip{flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.composer-heading{display:none!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.script-reference-status{grid-column:1/-1!important;grid-row:2!important;min-width:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.dock-prompt{grid-column:1!important;grid-row:3!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.composer-main.controls{grid-column:2!important;grid-row:3!important}}@media (max-width:1000px){html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.composer-reference{display:flex!important;align-items:center!important;gap:8px!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.composer-reference>header{flex:0 0 auto!important;margin:0!important}html[data-ui] body .app-shell.shell #script-agent-module .script-video-workbench .composer-dock>.composer-reference .reference-strip{flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important}}@layer navigation-visibility{html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-asset-progress-overlay{position:absolute!important;inset:0!important;background:rgba(8,7,14,.8)!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .asset-preview{position:relative!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-asset-error{margin:0!important;font-size:12px!important;line-height:1.5!important;color:#ffb6ba!important;overflow-wrap:anywhere!important;display:block!important;-webkit-line-clamp:unset;white-space:pre-wrap!important;overflow:visible!important}@media (min-width:1001px){html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-dock{display:grid!important;grid-template-columns:minmax(200px,28%) minmax(0,1fr) minmax(260px,26%)!important;grid-template-rows:auto auto minmax(340px,1fr) auto!important;grid-gap:8px 16px!important;gap:8px 16px!important;align-content:stretch!important;align-items:stretch!important;padding:12px!important;overflow-y:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .script-video-heading{grid-column:1!important;grid-row:1!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;align-self:center!important;gap:6px 10px!important;min-width:0!important;padding:0!important;min-height:40px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .script-video-heading h2{font-size:14px!important;line-height:1.5!important;min-width:0!important;overflow-wrap:anywhere!important;margin:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .script-video-heading>span{display:none!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .script-video-heading>button{margin:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-reference{grid-column:2/-1!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;margin:0!important;padding:0!important;min-height:40px!important;border:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-reference>header{flex:0 0 auto!important;margin:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-reference>header>div{display:grid!important;grid-gap:2px!important;gap:2px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-reference .reference-strip{display:flex!important;flex:1 1 auto!important;gap:8px!important;min-width:0!important;overflow-x:auto!important;margin:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .reference-add{flex-shrink:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-heading{display:none!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .script-reference-status{grid-column:1/-1!important;grid-row:2!important;margin:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .dock-prompt{grid-column:1/3!important;grid-row:3!important;display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;padding:0!important;border:0!important;background:transparent!important;gap:8px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-section-heading{width:100%!important;align-self:stretch!important;justify-content:space-between!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-composer{grid-column:1/3!important;grid-row:4!important;display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;min-height:260px!important;height:auto!important;flex:1 1!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .rich-prompt{flex:1 1!important;min-height:260px!important;height:100%!important;max-height:none!important;padding:14px!important;font-size:14px!important;line-height:1.8!important;overflow-y:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-caption{grid-column:1/3!important;grid-row:5!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-toolbar{grid-column:1!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;grid-gap:8px!important;gap:8px!important;padding:0!important;min-width:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-actions{display:contents!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .prompt-actions>button{flex:1 1 auto!important;min-width:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .at-switch{grid-column:1!important;grid-row:1!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .constraint-switch{grid-column:2!important;grid-row:1!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .match-assets{grid-column:1!important;grid-row:2!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .compact-settings{grid-column:2!important;grid-row:2!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .compact-settings summary{justify-content:center!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .compact-settings summary>span{display:none!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-main.controls{grid-column:3!important;grid-row:3!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important;align-items:stretch!important;grid-gap:12px!important;gap:12px!important;height:100%!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-parameters{grid-column:1!important;grid-row:2!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-gap:12px!important;gap:12px!important;min-height:0!important;align-content:start!important;overflow-y:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-parameters>label{display:grid!important;grid-column:auto!important;grid-gap:4px!important;gap:4px!important;min-width:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-parameters>label>span{text-align:left!important;font-size:12px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-parameters :is(summary,.radio-select-trigger){width:100%!important;min-height:40px!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-submit-row{grid-column:1!important;grid-row:3!important;width:100%!important;margin-top:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-submit-row>button{width:100%!important;min-height:44px!important;height:44px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .dock-notice{grid-column:1/-1!important;grid-row:4!important}}}#script-agent-module .script-reference-picker{width:100%;min-width:0;color:var(--ui-text);font-size:13px}#script-agent-module .script-reference-picker summary{cursor:pointer;padding:8px 0}#script-agent-module .script-reference-picker p{margin:4px 0 12px;line-height:1.5}#script-agent-module .script-reference-picker label{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);align-items:center;grid-gap:8px;gap:8px;margin:8px 0}#script-agent-module .script-reference-picker label span{overflow-wrap:anywhere}#script-agent-module .script-reference-picker select{width:100%;min-width:0;min-height:40px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-bg);color:var(--ui-text);padding:8px}#script-agent-module .script-reference-picker :is(summary,select):focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}@layer navigation-visibility{html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .script-reference-panel{grid-column:1/-1!important;grid-row:2!important;min-width:0!important;max-height:240px!important;overflow-y:auto!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .script-reference-panel:has(details[open]){min-height:220px!important}}.sa-duration-assessment{display:flex;flex-direction:column;gap:8px;width:100%;min-width:0;padding:12px 0;color:#a4aeb6;font-size:12px;line-height:1.6}.sa-duration-assessment>label{color:#eef2f4;font-size:13px}.sa-duration-assessment p{margin:4px 0;overflow-wrap:anywhere}.sa-duration-input{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sa-duration-input input{width:90px;font:inherit;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.sa-duration-assessment button,.sa-duration-input input{min-height:36px;padding:6px 10px;border:1px solid #32383e;border-radius:6px;background:#22262b;color:#eef2f4}.sa-duration-assessment button{cursor:pointer}.sa-duration-assessment button:hover:not(:disabled){background:#32383e}.sa-duration-assessment :is(button,input):focus-visible{outline:2px solid #4ed5e8;outline-offset:2px}.sa-duration-assessment :disabled{opacity:.55;cursor:not-allowed}.sa-duration-assessment [aria-invalid=true]{border-color:#eda19c}.sa-duration-assessment [role=alert]{color:#eda19c}.sa-duration-assessment summary{cursor:pointer;padding:4px 0;color:#a4aeb6}.sa-duration-assessment summary:focus-visible{outline:2px solid #4ed5e8;outline-offset:2px}