@layer navigation-visibility{html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library{--asset-surface:#111218;--asset-raised:#191b23;--asset-line:#30333e;--asset-muted:#a4a8b6;--asset-text:#f2f3f7;display:flex!important;gap:0!important;min-width:0!important;padding:24px!important;border:1px solid var(--asset-line)!important;border-radius:16px!important;background:var(--asset-surface)!important;color:var(--asset-text)!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library *,html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library :after,html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library :before{box-sizing:border-box}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library button{box-shadow:none!important;transform:none!important;text-shadow:none!important;transition:background-color .16s ease,border-color .16s ease!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library button:after,html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library button:before,html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library button>[class^=star-]{display:none!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library :is(button,summary,input):focus-visible{outline:2px solid #b8a7ff!important;outline-offset:3px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library button:disabled{opacity:.45!important;cursor:not-allowed!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library ::selection{background:#51437a;color:#fff}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-heading>div{display:flex;align-items:baseline;gap:12px}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-heading h2{margin:0!important;font-size:22px!important;line-height:1.4!important;font-weight:650!important;color:var(--asset-text)!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-heading span{font-size:13px;color:var(--asset-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-add{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:40px!important;padding:0 14px!important;border:1px solid var(--asset-line)!important;border-radius:8px!important;background:var(--asset-raised)!important;color:var(--asset-text)!important;font-size:13px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-add:hover{background:#242733!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-tabs{display:flex;align-items:stretch;gap:24px;min-width:0;border-bottom:1px solid var(--asset-line)}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-category{position:relative;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;min-height:44px!important;padding:0 2px 12px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--asset-muted)!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-category b{font-size:14px!important;font-weight:500!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-category small{min-width:20px!important;padding:2px 5px!important;border-radius:4px!important;background:#252731!important;color:#b9bdca!important;font-size:11px!important;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-category.active{color:#d3c9ff!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-category.active:after{display:block!important;content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#ad96ff!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-category:hover{color:var(--asset-text)!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-library-commandbar{position:relative!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:20px 0 16px!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .library-search{display:flex!important;align-items:center!important;flex:0 1 320px!important;gap:8px!important;min-width:160px!important;min-height:40px!important;height:40px!important;padding:0 12px!important;border:1px solid var(--asset-line)!important;border-radius:8px!important;background:var(--asset-raised)!important;color:var(--asset-muted)!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .library-search:focus-within{border-color:#ad96ff!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .library-search input{width:100%!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--asset-text)!important;font-size:13px!important;caret-color:#c6b7ff}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .library-search input::placeholder{color:var(--asset-muted)!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-batch-controls{display:flex;align-items:center;gap:8px;margin-left:auto}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-select,html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-settings-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:40px!important;height:40px!important;padding:0 12px!important;border:1px solid var(--asset-line)!important;border-radius:8px!important;background:transparent!important;color:var(--asset-text)!important;font-size:13px!important;white-space:nowrap!important;flex-shrink:0!important;cursor:pointer}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-settings{min-width:0!important;margin:0!important;flex-shrink:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-select:hover,html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-settings-toggle:hover{background:#242733!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-settings-panel{background:#1b1d26!important;border-color:var(--asset-line)!important;z-index:30!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-generation-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:40px!important;height:40px!important;margin:0!important;padding:0 16px!important;border:0!important;border-radius:8px!important;background:#e6deff!important;color:#211832!important;font-size:13px!important;font-weight:600!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-generation-action:not(:disabled):hover{background:#f2edff!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-selected-number{display:inline-flex;justify-content:center;min-width:22px;padding:2px 5px;border-radius:4px;background:#cec1ed;font-size:11px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-generation-meta{display:flex;justify-content:flex-end;align-items:center;gap:12px;width:100%;min-width:0}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-generation-meta :is(.generation-price-note,.selected-count){margin:0!important;color:var(--asset-muted)!important;font-size:12px!important;line-height:1.5!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-generation-meta .is-generating{color:#c8b7ff!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-library-shell{display:block!important;flex:1 1 auto!important;height:auto!important;min-height:280px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .library-content{display:block!important;width:100%!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;align-content:start!important;height:auto!important;max-height:none!important;grid-gap:20px!important;gap:20px!important;margin:0!important;padding:0!important;overflow:visible!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article{position:relative!important;display:flex!important;flex-direction:column!important;gap:0!important;min-width:0!important;min-height:0!important;padding:12px!important;border:1px solid var(--asset-line)!important;border-radius:12px!important;background:#161820!important;cursor:pointer!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article:hover{border-color:#535766!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article.selected{border-color:#776592!important;background:#1c1b27!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article.is-generating{border-color:#9a82cf!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article.is-failed{border-color:#a0646c!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>.asset-preview{display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;padding:0!important;border:0!important;border-radius:8px!important;background:#20232d!important;overflow:hidden!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .asset-preview :is(img,.sa5-asset-ph){width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .sa5-asset-ph{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:12px!important;background:#20232d!important;color:#9ca2b5!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .sa5-asset-ph.failed{color:#ffb6ba!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .sa5-asset-ph.generating{color:#cfbcff!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .sa5-asset-ph span{font-size:12px!important;color:inherit!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>strong{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0!important;margin:16px 0 0!important;overflow:hidden!important;white-space:normal!important;overflow-wrap:anywhere;color:var(--asset-text)!important;font-size:15px!important;font-weight:600!important;line-height:1.5!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>small{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px;margin:8px 0 16px!important;color:var(--asset-muted)!important;font-size:12px!important;line-height:1.5!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-status{display:inline-flex;align-items:center;gap:5px}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-status:before{content:"";width:5px;height:5px;border-radius:50%;background:#8f94a3}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-status.is-ready:before{background:#91c4ab}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .is-failed .sa5-asset-status{color:#ffb6ba}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .is-failed .sa5-asset-status:before{background:#ffb6ba}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>footer{display:flex!important;align-items:center!important;gap:4px!important;margin:auto 0 0!important;padding:8px 0 0!important;border-top:1px solid var(--asset-line)!important;background:transparent!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>footer button{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 1 auto!important;min-width:0!important;min-height:36px!important;height:36px!important;padding:0 10px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--asset-muted)!important;font-size:12px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>footer button:hover{color:var(--asset-text)!important;background:#272936!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>footer .sa5-asset-primary{margin-left:auto!important;background:#30283f!important;color:#d9cbf6!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .asset-check{display:block!important;top:20px!important;left:20px!important;width:28px!important;height:28px!important;border:0!important;border-radius:5px!important;background:#252632!important;cursor:pointer}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .asset-check input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .asset-check i{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:100%!important;border:1px solid #626575!important;border-radius:5px;color:transparent!important;font-size:14px!important;font-style:normal}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .asset-check input:checked+i{border-color:#b9a3ed!important;background:#b9a3ed!important;color:#211832!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .asset-check:has(input:focus-visible){outline:2px solid #d0bfff!important;outline-offset:3px}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-unbound{margin:24px 0 0!important;padding:20px 0 0!important;border-top:1px solid var(--asset-line)!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-unbound h3{margin:0 0 16px!important;padding:0!important;font-size:14px!important;color:var(--asset-text)!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:300px;color:var(--asset-muted);text-align:center}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-empty p{margin:0;color:var(--asset-text);font-size:16px}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-empty span{font-size:13px}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-empty button{display:inline-flex;align-items:center;gap:6px;min-height:40px!important;margin-top:4px;padding:0 14px!important;border:1px solid var(--asset-line)!important;border-radius:8px!important;background:var(--asset-raised)!important;color:var(--asset-text)!important}@media (max-width:700px){html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library{padding:16px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-heading h2{font-size:20px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-tabs{gap:12px}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-category{gap:5px!important;flex:1 1}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-asset-category>svg{display:none!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-library-commandbar{gap:12px!important;padding:16px 0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .library-search{flex:1 1 100%!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-batch-controls{width:100%}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-settings{position:static!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-settings-panel{right:0!important;left:0!important;top:calc(100% + 4px)!important;width:100%!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-generation-action{flex:1 1}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-assets-generation-meta{justify-content:space-between;gap:8px;flex-wrap:wrap}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article{padding:8px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>strong{margin-top:12px!important;font-size:14px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>small{flex-wrap:wrap;margin-bottom:12px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>footer{gap:0!important;flex-wrap:wrap}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid>article>footer button{min-height:40px!important;height:40px!important;padding:0 6px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .sa5-script-asset-grid .asset-check{top:14px!important;left:14px!important}}@media (prefers-reduced-motion:reduce){html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .sa5-script-library .asset-preview:after{animation:none!important}}}@layer navigation-visibility{html[data-ui] body #script-agent-overlays .sa5-task-list-dialog{width:min(1080px,100%)!important;height:min(760px,calc(100dvh - 48px))!important;color:#f3efff!important;background:#171320!important;border:0!important;border-radius:16px!important}#script-agent-overlays .sa5-task-list-head{flex:0 0 auto!important;padding:16px 20px!important}html[data-ui] body #script-agent-overlays .sa5-task-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:80px!important;height:40px!important;min-height:40px!important;padding:0 12px!important;flex:0 0 auto!important;color:#f3efff!important}html[data-ui] body #script-agent-overlays .sa5-task-close>span{margin:0!important;color:inherit!important;font-size:13px!important}html[data-ui] body #script-agent-overlays .sa5-task-close>svg{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important}#script-agent-overlays .sa5-task-list-content{padding:16px 20px!important;overflow:hidden!important}html[data-ui] body #script-agent-overlays .script-task-list-only,html[data-ui] body #script-agent-overlays .script-task-list-only .task-wall{display:block!important;height:100%!important;min-height:0!important;max-height:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;overflow:hidden!important}#script-agent-overlays .script-task-list-only .wall-inner{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;gap:16px!important}#script-agent-overlays .wall-head{position:static!important;margin:0!important;flex:0 0 auto!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 16px!important;padding:0!important;background:transparent!important;border:0!important}#script-agent-overlays .wall-title{display:flex!important;align-items:center!important;gap:8px!important;color:#f3efff!important;font-size:14px!important}#script-agent-overlays .wall-title b{color:#f3efff!important}#script-agent-overlays .wall-title .counter{color:#c2b9d1!important;font-feature-settings:"tnum"!important;font-variant-numeric:tabular-nums!important}#script-agent-overlays .wall-head>small{color:#c2b9d1!important;font-size:12px!important;overflow-wrap:anywhere!important}#script-agent-overlays .wall-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-left:auto!important}html[data-ui] body #script-agent-overlays .wall-actions button{min-width:0!important;min-height:36px!important;height:auto!important;padding:8px 12px!important;font-size:12px!important}#script-agent-overlays .task-filter-bar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important}#script-agent-overlays .task-filter-bar .radio-container{display:flex!important;position:relative!important;gap:4px!important;padding:4px!important;border-radius:10px!important;background:#211c2d!important}#script-agent-overlays .task-filter-bar input[type=radio]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important}#script-agent-overlays .task-filter-bar label{display:grid!important;place-items:center!important;min-height:36px!important;padding:0 16px!important;border-radius:8px!important;color:#c2b9d1!important;font-size:13px!important;cursor:pointer!important}#script-agent-overlays .task-filter-bar input:checked+label{background:#46385c!important;color:#fff!important}#script-agent-overlays .task-filter-bar input:focus-visible+label{outline:2px solid #bfa9f0!important;outline-offset:2px!important}#script-agent-overlays .task-filter-bar .glider-container{display:none!important}#script-agent-overlays .task-filter-bar>input{flex:1 1 160px!important;width:auto!important;min-width:0!important;max-width:300px!important;margin-left:auto!important;height:40px!important;padding:8px 12px!important;border:1px solid #51465f!important;border-radius:10px!important;background:#211c2d!important;color:#f3efff!important;font:inherit!important;font-size:13px!important}#script-agent-overlays .task-filter-bar>input::placeholder{color:#b9afc9!important}html[data-ui] body #script-agent-overlays .task-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))!important;grid-auto-rows:max-content!important;flex:1 1!important;min-height:0!important;align-content:start!important;align-items:start!important;grid-gap:16px!important;gap:16px!important;padding:0 4px 4px 0!important;overflow-y:auto!important;overscroll-behavior:contain!important}html[data-ui] body #script-agent-overlays .task-grid .wall-card{display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;content-visibility:visible!important;contain:none!important;max-height:none!important;box-shadow:none!important;min-width:0!important;min-height:0!important;height:auto!important;padding:0!important;border:1px solid #44384f!important;border-radius:12px!important;background:#211b2c!important;overflow:hidden!important}html[data-ui] body #script-agent-overlays .task-grid .wall-card.selected{border-color:#bfa9f0!important}html[data-ui] body #script-agent-overlays .task-grid .card-media{position:relative!important;display:grid!important;place-items:center!important;width:100%!important;height:144px!important;min-height:144px!important;border-radius:0!important;background:#110e19!important}#script-agent-overlays .card-state{display:grid!important;grid-gap:8px!important;gap:8px!important;text-align:center!important;color:#c2b9d1!important;font-size:12px!important}#script-agent-overlays .card-state b{color:#f3efff!important;font-size:20px!important}#script-agent-overlays .card-state span{color:#c2b9d1!important}#script-agent-overlays .card-state.failed b{color:#ffb6ba!important}#script-agent-overlays .card-progress{box-shadow:none!important;position:absolute!important;bottom:0!important;left:0!important;height:3px!important;background:#bfa9f0!important}html[data-ui] body #script-agent-overlays .task-grid .card-body{flex:none!important;position:static!important;display:flex!important;flex-direction:column!important;gap:12px!important;padding:12px!important}#script-agent-overlays .task-row{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}#script-agent-overlays .task-check{position:static!important;width:auto!important;height:auto!important;border:0!important;background:transparent!important;display:flex!important;align-items:center!important;flex-shrink:0!important}#script-agent-overlays .task-check input{position:static!important;opacity:1!important;width:18px!important;height:18px!important;accent-color:#bfa9f0!important}#script-agent-overlays .task-check i{display:none!important}#script-agent-overlays .card-title{flex:1 1!important;min-width:0!important}#script-agent-overlays .card-title b{font-size:13px!important}#script-agent-overlays .task-shot-label{width:100%!important;min-width:0!important;height:28px!important;padding:0!important;border:0!important;background:transparent!important;color:#c2b9d1!important;font:inherit!important;font-size:12px!important}#script-agent-overlays .status{flex-shrink:0!important;font-size:12px!important;color:#cbb9ed!important}#script-agent-overlays .status.FAILED{color:#ffb6ba!important}#script-agent-overlays .task-prompt-marquee{color:#c2b9d1!important;font-size:13px!important;line-height:1.6!important;overflow:hidden!important}#script-agent-overlays .task-prompt-track{width:100%!important;display:block!important;animation:none!important;transform:none!important;white-space:normal!important}#script-agent-overlays .task-prompt-track>span:first-child{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;overflow-wrap:anywhere!important}#script-agent-overlays .task-prompt-track>span[aria-hidden]{display:none!important}#script-agent-overlays .task-meta{color:#c2b9d1!important;font-size:12px!important}#script-agent-overlays .task-meta span{padding:2px 6px!important;background:#30263d!important;border-radius:4px!important}#script-agent-overlays .task-elapsed{color:#b9afc9!important;font-size:12px!important}#script-agent-overlays .card-body>em{max-height:none!important;color:#ffb6ba!important;font-size:12px!important;font-style:normal!important;line-height:1.5!important}html[data-ui] body #script-agent-overlays .task-grid .card-body footer.actions{display:flex!important;flex-wrap:nowrap!important;gap:6px!important}html[data-ui] body #script-agent-overlays .task-grid .card-body footer.actions button{flex:1 1 auto!important;width:auto!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:0 8px!important;font-size:12px!important;white-space:nowrap!important;box-shadow:none!important}html[data-ui] body #script-agent-overlays .task-grid .card-body footer.actions button:disabled{opacity:.45!important;cursor:not-allowed!important}#script-agent-overlays .script-task-notice{flex:0 0 auto!important;color:#e4d6fb!important;font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere!important}#script-agent-overlays .empty-wall{min-height:0!important;height:auto!important;display:flex!important;flex:1 1!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;padding:32px 16px!important;text-align:center!important;color:#b9afc9!important;font-size:13px!important}#script-agent-overlays .empty-wall b{color:#f3efff!important;font-size:18px!important}#script-agent-overlays :focus-visible{outline:2px solid #bfa9f0!important;outline-offset:2px!important}#script-agent-overlays .task-grid{scrollbar-width:thin!important;scrollbar-color:#695979 transparent!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench{.script-reference-panel{min-height:min-content!important;height:auto!important;flex-shrink:0!important;max-height:none!important;overflow:visible!important}.script-reference-panel:empty{display:none!important}.script-reference-status{line-height:1.6!important;padding:8px 12px!important}.prompt-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-gap:8px!important;gap:8px!important}.prompt-actions{display:contents!important}.prompt-actions>button,.script-advanced-trigger{width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:8px!important;font-size:13px!important}.script-advanced-trigger{grid-column:2!important;grid-row:2!important}.composer-parameters{overflow:visible!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.composer-parameters>.model-picker{grid-column:1/-1!important}.composer-main.controls{grid-template-rows:auto 1fr auto!important}}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench .composer-main.controls.script-generation-controls{display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0!important;height:100%!important;overflow:visible!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .prompt-toolbar{order:0!important;flex:0 0 auto!important;gap:8px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .prompt-toolbar button{background:#241e30!important;border:1px solid #51445f!important;border-radius:8px!important;color:#e9e0f6!important;box-shadow:none!important;font-weight:500!important;min-height:36px!important;height:36px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .prompt-toolbar button:hover{background:#332840!important;border-color:#ac91cc!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .prompt-toolbar button[aria-pressed=true]{background:#49365e!important;border-color:#bfa9f0!important;color:#fff!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .composer-parameters{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-gap:12px 8px!important;gap:12px 8px!important;order:1!important;flex:0 0 auto!important;overflow:visible!important;padding:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .composer-parameters>label{gap:4px!important;margin:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .composer-parameters>.model-picker{grid-column:1/-1!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .composer-parameters>label>span{color:#c2b9d1!important;font-size:12px!important;line-height:16px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .composer-parameters summary{display:flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;height:auto!important;padding:8px!important;font-size:13px!important;line-height:18px!important;background:#211b2c!important;border:1px solid #51445f!important;border-radius:8px!important;box-shadow:none!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .model-picker summary{justify-content:flex-start!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:8px 12px!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .is-disabled{opacity:1!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls summary[aria-disabled=true]{color:#c2b9d1!important;background:#1b1624!important;border-color:#3c3348!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .composer-submit-row{order:2!important;flex:0 0 auto!important;width:100%!important;margin-top:auto!important;padding-top:0!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .composer-submit-row>button{width:100%!important;height:48px!important;min-height:48px!important;border-radius:10px!important;box-shadow:none!important;background:#745091!important;border:1px solid #bc9cdc!important;color:#fff!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .composer-submit-row>button:hover:not(:disabled){background:#865ea4!important}html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-generation-controls .composer-submit-row>button:disabled{opacity:.5!important}html[data-ui] body dialog.script-advanced-dialog{box-sizing:border-box!important;position:fixed!important;inset:0!important;width:min(560px,calc(100vw - 32px))!important;max-width:none!important;height:-moz-fit-content!important;height:fit-content!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;padding:24px!important;overflow-y:auto!important;color:#f3efff!important;background:#211b2c!important;border:0!important;border-radius:16px!important;box-shadow:0 24px 80px #0008!important}html[data-ui] body dialog.script-advanced-dialog:not([open]){display:none!important}html[data-ui] body dialog.script-advanced-dialog[open]{display:block!important}html[data-ui] body dialog.script-advanced-dialog::-webkit-backdrop{background:rgb(5 4 12/72%)!important}html[data-ui] body dialog.script-advanced-dialog::backdrop{background:rgb(5 4 12/72%)!important}html[data-ui] body dialog.script-advanced-dialog>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-bottom:24px!important}html[data-ui] body dialog.script-advanced-dialog>header strong{color:#f3efff!important;font-size:20px!important}html[data-ui] body dialog.script-advanced-dialog button{min-height:40px!important;padding:8px 12px!important;color:#e9e0f6!important;background:#30263d!important;border:1px solid #655474!important;border-radius:8px!important;box-shadow:none!important;font-size:13px!important;cursor:pointer!important}html[data-ui] body dialog.script-advanced-dialog button:hover{background:#49365e!important}html[data-ui] body dialog.script-advanced-dialog button:disabled{opacity:.5!important}html[data-ui] body dialog.script-advanced-dialog .script-advanced-content{display:grid!important;grid-gap:24px!important;gap:24px!important}html[data-ui] body dialog.script-advanced-dialog .prompt-constraint-field{display:grid!important;grid-gap:12px!important;gap:12px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;opacity:1!important}html[data-ui] body dialog.script-advanced-dialog .constraint-heading{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important}html[data-ui] body dialog.script-advanced-dialog .constraint-heading>strong{flex-basis:100%!important;color:#f3efff!important;font-size:15px!important}html[data-ui] body dialog.script-advanced-dialog .constraint-heading>span{flex:1 1 100%!important;color:#c2b9d1!important;font-size:13px!important}html[data-ui] body dialog.script-advanced-dialog .constraint-heading-actions{display:flex!important;gap:8px!important;margin-top:4px!important}html[data-ui] body dialog.script-advanced-dialog textarea{box-sizing:border-box!important;display:block!important;width:100%!important;min-height:180px!important;padding:12px!important;color:#f3efff!important;background:#171320!important;border:1px solid #655474!important;border-radius:10px!important;font-size:14px!important;line-height:1.7!important;resize:vertical!important}html[data-ui] body dialog.script-advanced-dialog .material-policy{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:8px!important;margin:0!important;padding:16px 0 0!important;border:0!important;border-top:1px solid #44384f!important;background:transparent!important;box-shadow:none!important;color:#c2b9d1!important;font-size:13px!important}html[data-ui] body dialog.script-advanced-dialog :focus-visible{outline:2px solid #bfa9f0!important;outline-offset:2px!important}@media (min-width:1001px){html[data-ui] body .app-shell.shell.tab-script-workshop #script-agent-module .script-video-workbench{.composer-dock{grid-template-columns:minmax(200px,28%) minmax(0,1fr) minmax(300px,26%)!important;grid-template-rows:max-content max-content minmax(300px,1fr) max-content!important}.prompt-composer,.rich-prompt{min-height:200px!important}}}@media (max-width:720px){html[data-ui] body #script-agent-overlays .sa5-task-list-dialog{height:calc(100dvh - 20px)!important}#script-agent-overlays .sa5-task-list-content,#script-agent-overlays .sa5-task-list-head{padding:12px!important}#script-agent-overlays .wall-actions{width:100%!important;margin-left:0!important}#script-agent-overlays .task-filter-bar>input{max-width:none!important}}}@layer navigation-visibility{html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench{--sa5-menu-surface:#171420;--sa5-menu-hover:#262030;--sa5-menu-current:#332642;--sa5-menu-text:#f3effa;--sa5-menu-muted:#bdb3cc;--sa5-menu-accent:#d1b7f1;--sa5-menu-line:#43384e}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-work-head{height:auto!important;min-height:76px!important;padding:16px 20px!important;gap:16px 24px!important;grid-template-columns:minmax(0,1fr) minmax(180px,320px) minmax(0,1fr)!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-title-input{width:100%!important;max-width:320px!important;font-size:14px!important;font-weight:600!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-create-toolbar-actions{flex-wrap:nowrap!important;gap:12px!important;max-width:none!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-stats{color:var(--sa5-menu-muted)!important;font-size:12px!important;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;margin:0 4px 0 0!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-picker>.sa5-project-trigger{gap:8px!important;min-width:132px!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-picker[open]>.sa5-project-trigger{border-color:var(--sa5-menu-accent)!important;background:var(--sa5-menu-current)!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-menu{display:flex!important;flex-direction:column!important;position:absolute!important;top:calc(100% + 8px)!important;right:0!important;left:auto!important;width:min(380px,calc(100vw - 64px))!important;max-height:min(440px,calc(100dvh - var(--sa5-menu-top, 160px) - 16px))!important;box-sizing:border-box!important;padding:0!important;overflow:hidden!important;background:var(--sa5-menu-surface)!important;color:var(--sa5-menu-text)!important;border:0!important;border-radius:12px!important;box-shadow:0 16px 40px rgba(0,0,0,.48)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-menu-head{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 auto!important;gap:16px!important;padding:16px!important;border-bottom:1px solid var(--sa5-menu-line)!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-menu-head strong{font-size:14px!important;font-weight:600!important;color:var(--sa5-menu-text)!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-menu-head>span{font-size:12px!important;color:var(--sa5-menu-muted)!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-list{display:grid!important;grid-gap:4px!important;gap:4px!important;min-height:0!important;padding:8px!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#786885 var(--sa5-menu-surface)}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-row{display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;align-items:center!important;grid-gap:8px!important;gap:8px!important;min-width:0!important;padding:0 8px 0 0!important;border-radius:8px!important;background:transparent!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-row:hover{background:var(--sa5-menu-hover)!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-row.is-current{background:var(--sa5-menu-current)!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-menu .sa5-project-open{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:stretch!important;align-content:center!important;grid-gap:4px!important;gap:4px!important;width:100%!important;min-width:0!important;min-height:64px!important;height:auto!important;padding:12px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:var(--sa5-menu-text)!important;font-size:14px!important;font-weight:500!important;text-align:left!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-open>span{display:block!important;width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;line-height:20px!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-open>small{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;font-size:12px!important;line-height:16px!important;color:var(--sa5-menu-muted)!important;font-weight:400!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-current{display:inline-flex!important;align-items:center!important;gap:4px!important;color:var(--sa5-menu-accent)!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-delete{display:grid!important;place-items:center!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:var(--sa5-menu-muted)!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-delete:hover:not(:disabled){color:#ffc0c8!important;background:#3c2430!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-delete svg{display:block!important;width:16px!important;height:16px!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-row button:focus-visible{outline:2px solid var(--sa5-menu-accent)!important;outline-offset:-2px!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-empty{display:grid!important;grid-gap:8px!important;gap:8px!important;margin:0!important;padding:24px 12px!important;color:var(--sa5-menu-text)!important;font-size:14px!important;text-align:center!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-empty>span{color:var(--sa5-menu-muted)!important;font-size:12px!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-list ::selection{background:#604678;color:#fff}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-shot-navigation{display:flex!important;flex-direction:column!important;gap:8px!important;flex:0 0 164px!important;height:164px!important;min-height:164px!important;min-width:0!important;order:2!important;margin-top:auto!important;padding:4px 0 8px!important;box-sizing:border-box!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-shot-navigation>.sa5-shot-rail{flex:0 0 120px!important;height:120px!important;min-height:120px!important;width:100%!important;padding:2px!important;margin:0!important;box-sizing:border-box!important;border-top:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-shot-navigation>.sa5-shot-rail::-webkit-scrollbar{display:none!important;height:0!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-shot-scroll-track{position:relative!important;display:block!important;flex:0 0 24px!important;height:24px!important;min-height:24px!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important;visibility:hidden;cursor:pointer;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-shot-scroll-track.is-scrollable{visibility:visible}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-shot-scroll-track:before{content:"";position:absolute;inset:8px 0;border-radius:8px;background:#302739}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-shot-scroll-thumb{position:absolute!important;top:8px!important;left:0!important;height:8px!important;border-radius:8px!important;background:#b7a3ce!important;cursor:-webkit-grab;cursor:grab}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-shot-scroll-track:active .sa5-shot-scroll-thumb{cursor:-webkit-grabbing;cursor:grabbing;background:#d1b7f1!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-shot-scroll-track:focus-visible{outline:2px solid #d1b7f1!important;outline-offset:-2px;border-radius:8px}@media (max-width:1400px){html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-work-head{grid-template-columns:minmax(0,1fr) auto!important;gap:12px 20px!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-work-title{justify-content:flex-start!important}}@media (min-width:1001px){html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .script-video-workbench .composer-dock{padding:16px!important;gap:12px 16px!important}}@media (max-width:800px){html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-work-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;padding:12px!important;grid-gap:12px 8px!important;gap:12px 8px!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-stage-switch{grid-column:1/-1!important;grid-row:1!important;order:0!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-work-title{grid-column:1!important;grid-row:2!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-create-toolbar-actions{grid-column:2!important;grid-row:2!important;margin:0!important;gap:8px!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-picker>.sa5-project-trigger,html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-toolbar-action{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-label,html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-trigger>svg:last-child,html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module.sa5-workbench .sa5-toolbar-label{display:none!important}html[data-ui] :is(#workspace-consistency,body) .app-shell #script-agent-module .sa5-project-menu{right:-52px!important;width:min(380px,calc(100vw - 64px))!important}}}.sa-asset-backdrop{position:fixed;z-index:2147483000;inset:0;display:grid;place-items:center;padding:20px;background:#080610b3;pointer-events:auto}.sa-asset-modal{position:relative!important;inset:auto!important;width:min(800px,100%);height:auto!important;max-height:calc(100dvh - 40px);margin:0!important;padding:20px;overflow:auto;box-sizing:border-box;border:1px solid #665a78;border-radius:16px;background:#191522;color:#eee8f6;color-scheme:dark;pointer-events:auto!important;box-shadow:0 22px 80px #000b}.sa-asset-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 16px}.sa-asset-modal h2{margin:0;font-size:20px}.sa-asset-modal header p{margin:6px 0 0;color:#c3b8d2;font-size:13px}.sa-asset-metadata{display:grid;grid-template-columns:2fr 1fr;grid-gap:16px;gap:16px}.sa-asset-modal label{display:grid;grid-gap:8px;gap:8px;min-width:0;font-size:14px}.sa-asset-modal :is(input:not([type=file]),select,textarea){width:100%;min-width:0;box-sizing:border-box;padding:10px 12px;border:1px solid #554962;border-radius:8px;background:#292234;color:#f1eaf8;font:inherit}.sa-asset-modal .sa-asset-target{margin-bottom:16px}.sa-asset-modes{display:flex;gap:8px;margin:16px 0}.sa-asset-modes [aria-selected=true]{border-color:#bb9bef;background:#49355e}.sa-asset-upload-panel:not([hidden]){display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-gap:16px;gap:16px;align-items:start}.sa-asset-preview{display:grid;place-items:center;min-height:0;height:280px;overflow:hidden;border:1px solid #493f55;border-radius:12px;background:#100e17;color:#c3b8d2}.sa-asset-preview img{width:100%;max-height:278px;object-fit:contain}.sa-asset-upload-panel form{display:grid;align-content:start;grid-gap:12px;gap:12px}.sa-asset-upload-panel textarea{min-height:96px;height:96px;resize:vertical}.sa-asset-file{position:relative;border:1px dashed #8b76a4;border-radius:10px;padding:10px 12px;cursor:pointer}.sa-asset-file>span{display:flex;gap:8px;align-items:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sa-asset-file input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.sa-asset-file:focus-within{outline:2px solid #bea0ff;outline-offset:2px}.sa-asset-modal :focus-visible{outline:2px solid #bea0ff;outline-offset:3px}.sa-asset-modal .form-error{color:#ffb7c5}@layer ui-source-controls{html[data-ui] body .sa-asset-modal .image-workbench{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr)!important;grid-gap:20px!important;gap:20px!important;height:auto!important;min-height:0!important}html[data-ui] body .sa-asset-modal :is(.composer-dock,.task-wall,.wall-inner){position:static!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;padding:12px!important;overflow:visible!important}html[data-ui] body .sa-asset-modal :is(.image-composer,.dock-prompt){display:grid!important;grid-gap:12px!important;gap:12px!important;height:auto!important;min-height:0!important}html[data-ui] body .sa-asset-modal .rich-prompt{position:static!important;height:200px!important;min-height:200px!important;max-height:400px!important;padding:12px!important}html[data-ui] body .sa-asset-modal .composer-parameters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-gap:12px!important;gap:12px!important;padding:0!important;border:0!important}html[data-ui] body .sa-asset-modal :is(.composer-footer,.image-output-actions){display:flex!important;flex-wrap:wrap!important;gap:8px!important}html[data-ui] body .sa-asset-modal button{min-height:40px!important;height:auto!important;padding:8px 12px!important;width:auto!important;min-width:0!important}html[data-ui] body .sa-asset-modal .task-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;height:auto!important;max-height:none!important}html[data-ui] body .sa-asset-modal .image-result-preview img{width:100%;max-height:360px;object-fit:contain}html[data-ui] body .sa-asset-modal .image-reference-preview{display:flex;gap:8px}html[data-ui] body .sa-asset-modal .image-reference-preview img{width:80px;height:80px;object-fit:contain}@media(max-width:760px){html[data-ui] body .sa-asset-modal .image-workbench{grid-template-columns:minmax(0,1fr)!important}}}@media(max-width:600px){.sa-asset-backdrop{padding:12px}.sa-asset-modal{width:100%;max-height:calc(100dvh - 24px);padding:16px}.sa-asset-metadata,.sa-asset-upload-panel:not([hidden]){grid-template-columns:minmax(0,1fr)}.sa-asset-preview{height:160px}.sa-asset-preview img{max-height:158px}}.sa-asset-window-actions{display:flex;gap:8px}.sa-asset-window-actions button{min-width:40px;min-height:40px}.sa-asset-minimized{position:fixed;right:20px;bottom:20px;z-index:2147483001;display:flex;align-items:center;gap:16px;max-width:calc(100vw - 32px);padding:12px 16px;border:1px solid #4bcbd5;border-radius:12px;background:#1b2025;color:#f3f6f8;box-shadow:0 8px 24px #0005}.sa-asset-minimized>div{display:grid;grid-gap:4px;gap:4px;min-width:0}.sa-asset-minimized strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sa-asset-minimized span{font-size:12px;color:#bccbd0}.sa-asset-minimized button{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 12px;border:1px solid #4bcbd5;border-radius:8px;background:#243239;color:inherit;flex-shrink:0}@layer script-canvas{@media(max-height:800px) and (min-width:681px){#script-agent-module .sa-direct-import-page .sa-direct-import-head p{display:none!important}#script-agent-module .sa-direct-import-page .sa-direct-import-editor>.sa-direct-import-hint{margin:4px 0 6px!important}}@media(max-width:680px){#script-agent-module .sa-direct-import-page .sa-direct-import-editor>.sa-direct-import-hint{display:none!important}}#script-agent-module .sa-smart-cards>li>header{min-height:44px!important;flex:none!important;margin:0!important;padding:0!important}#script-agent-module .sa-smart-tools{display:flex!important;flex-direction:column!important;gap:10px!important;margin-bottom:12px!important}#script-agent-module .sa-direct-import-preview>p,#script-agent-module .sa-smart-tools p{font-size:13px!important;line-height:1.65!important;margin:4px 0!important;color:var(--sa-muted)!important}#script-agent-module .sa-smart-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}#script-agent-module .sa-smart-actions button{min-height:44px!important;padding:8px 12px!important}#script-agent-module .sa-smart-tools select{margin-left:10px!important;min-height:44px!important;max-width:100%!important}#script-agent-module .sa-smart-notice{padding:8px 10px!important;background:var(--sa-surface)!important;border-left:2px solid var(--sa-accent,#53cddc)!important;white-space:pre-wrap!important}#script-agent-module .sa-smart-consent{padding:14px!important;border:1px solid var(--sa-accent,#53cddc)!important;border-radius:8px!important}#script-agent-module .sa-smart-cards>li>header,#script-agent-module .sa-smart-preview-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}#script-agent-module .sa-smart-cards{overflow:auto!important;list-style:none!important;margin:12px 0!important;padding:0!important}#script-agent-module .sa-smart-cards>li{display:flex!important;flex-direction:column!important;gap:10px!important;padding:12px!important;border:1px solid var(--sa-line)!important;border-radius:8px!important;margin-bottom:12px!important}#script-agent-module .sa-smart-cards label{display:flex!important;flex-direction:column!important;gap:6px!important}#script-agent-module .sa-smart-cards input{width:100%!important;box-sizing:border-box!important;min-height:44px!important}#script-agent-module .sa-direct-import-page .sa-smart-cards textarea{width:100%!important;box-sizing:border-box!important;min-height:150px!important;height:180px!important;font-size:14px!important;line-height:1.65!important}#script-agent-module .sa-direct-import-preview pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important;max-height:260px!important;overflow:auto!important;font-size:13px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-left{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important}#script-agent-module .sa-direct-import-page .sa-direct-import-left .sa-direct-import-editor{flex:1 0 220px!important}@media(min-width:1001px){#script-agent-module .sa-direct-import-page .sa-direct-import-body{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important;gap:24px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-preview{padding:20px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-preview :is(strong,li p){font-size:14px!important;line-height:1.8!important}#script-agent-module .sa-direct-import-page .sa-direct-import-preview li p{-webkit-line-clamp:5!important}}@media(min-width:681px) and (max-width:1000px){#script-agent-module .sa-direct-import-page .sa-direct-import-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:16px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-tools{grid-template-columns:minmax(0,1fr)!important}#script-agent-module .sa-direct-import-page .sa-import-reference-actions{justify-content:flex-start!important}}#script-agent-module .sa-direct-import-page .sa-direct-import-footer{flex-wrap:wrap!important}#script-agent-module .sa-direct-import-page .sa-direct-import-footer>.sa-direct-import-error,#script-agent-module .sa-direct-import-page .sa-direct-import-footer>.sa-direct-import-progress{flex:1 0 100%!important;margin:0!important;padding:8px 10px!important;min-width:0!important}#script-agent-module .sa-direct-import-page .sa-direct-import-footer>div:last-child{margin-left:auto!important}#script-agent-module .sa-direct-import-feed{display:flex!important;flex-direction:column!important;padding:12px!important;min-height:0!important;overflow:hidden!important}#script-agent-module .sa-direct-import-dialog.sa-direct-import-page{width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0 auto!important;border:1px solid var(--sa-line)!important;border-radius:12px!important;padding:20px!important;box-sizing:border-box!important;box-shadow:none!important;background:var(--sa-surface,#111517)!important}#script-agent-module .sa-direct-import-page .sa-direct-import-head{padding:0 0 16px!important;margin:0!important}#script-agent-module .sa-direct-import-page .sa-direct-import-scroll{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;padding:20px 0!important}#script-agent-module .sa-direct-import-page .sa-direct-import-name{max-width:640px!important;flex:none!important}#script-agent-module .sa-direct-import-page .sa-direct-import-tools{flex:none!important;margin-bottom:20px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-body{flex:1 0 320px!important;min-height:0!important}#script-agent-module .sa-direct-import-page textarea{height:auto!important;min-height:220px!important;max-height:none!important}#script-agent-module .sa-direct-import-page .sa-direct-import-preview{border:1px solid var(--sa-line)!important;border-radius:8px!important;padding:16px!important;background:var(--sa-bg,#0f1214)!important;display:flex!important;flex-direction:column!important;min-height:0!important}#script-agent-module .sa-direct-import-page .sa-direct-import-preview ol{flex:1 1!important;min-height:0!important;max-height:none!important}#script-agent-module .sa-direct-import-page .sa-direct-import-empty{flex:1 1!important}#script-agent-module .sa-direct-import-page .sa-direct-import-footer{padding:16px 0 0!important}@media(max-height:800px) and (min-width:681px){#script-agent-module .sa-direct-import-dialog.sa-direct-import-page{padding:12px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-head{padding-bottom:8px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-scroll{padding:10px 0!important}#script-agent-module .sa-direct-import-feed{padding:16px 24px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-name,#script-agent-module .sa-direct-import-page .sa-direct-import-tools{margin-bottom:12px!important}#script-agent-module .sa-direct-import-page .sa-import-reference-list{max-height:64px!important}#script-agent-module .sa-direct-import-page .sa-import-references>p{display:none!important}}@media(max-width:680px){#script-agent-module .sa-direct-import-dialog.sa-direct-import-page{padding:10px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-scroll{padding:8px 0!important}#script-agent-module .sa-direct-import-page .sa-import-reference-list{max-height:100px!important;overflow-y:auto!important}#script-agent-module .sa-direct-import-feed{padding:16px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-body{flex:none!important}#script-agent-module .sa-direct-import-page textarea{height:300px!important;min-height:240px!important;flex:none!important}#script-agent-module .sa-direct-import-page .sa-direct-import-preview ol{flex:none!important;max-height:260px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-head{padding-bottom:16px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-head p{display:none!important}#script-agent-module .sa-direct-import-page .sa-direct-import-footer{gap:8px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-name{margin-bottom:12px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-tools{gap:10px!important;margin-bottom:12px!important}#script-agent-module .sa-direct-import-page .sa-direct-import-target legend{font-size:12px!important;margin-bottom:6px!important}#script-agent-module .sa-direct-import-page .sa-import-references>header{margin-bottom:6px!important}#script-agent-module .sa-direct-import-page .sa-import-references>p{display:none!important}#script-agent-module .sa-direct-import-page .sa-import-reference-list{max-height:76px!important}}#script-agent-module .sa-direct-import-trigger{margin-left:0!important;margin-right:auto!important;flex:none!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-backdrop{position:fixed!important;inset:0!important;z-index:2147483400!important;display:grid!important;place-items:center!important;padding:24px!important;background:rgb(7 13 16/78%)!important;pointer-events:auto!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-dialog{display:flex!important;flex-direction:column!important;width:min(960px,100%)!important;max-height:calc(100dvh - 48px)!important;min-height:0!important;padding:0!important;border:0!important;border-radius:14px!important;background:var(--sa-surface)!important;box-shadow:0 22px 80px #0008!important;color:var(--sa-text)!important;overflow:hidden!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:20px!important;flex:none!important;padding:24px 24px 20px!important;background:transparent!important;border-bottom:1px solid var(--sa-line)!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-head h2{margin:0!important;font-size:18px!important;font-weight:500!important;line-height:26px!important;text-align:left!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-head p{margin:6px 0 0!important;color:var(--sa-muted)!important;font-size:13px!important;line-height:1.6!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-head>button{min-width:36px!important;padding:7px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-scroll{padding:20px 24px 24px!important;min-height:0!important;overflow:auto!important;scrollbar-width:thin;scrollbar-color:var(--sa-line) transparent}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-name{display:flex!important;flex-direction:column!important;gap:8px!important;margin-bottom:20px!important;font-size:13px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-tools{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;grid-gap:16px 24px!important;gap:16px 24px!important;margin-bottom:24px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-tools .sa-direct-import-target{margin:0!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-actions{display:flex!important;gap:10px!important;justify-content:flex-end!important;flex-wrap:wrap!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:44px!important;padding:10px 12px!important;font-size:13px!important;white-space:nowrap!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-tools :is(.sa-import-references,.sa-import-library){grid-column:1/-1!important;min-width:0!important;border-top:1px solid var(--sa-line)!important;padding-top:16px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-references>header{display:flex!important;align-items:baseline!important;gap:12px!important;margin-bottom:12px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-references strong{font-weight:500!important;font-size:13px!important;color:var(--sa-text)!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-references :is(header span,p,.sa-import-reference-info span){color:var(--sa-muted)!important;font-size:12px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-references>p{margin:10px 0 0!important;line-height:1.7!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-list{display:flex!important;flex-direction:column!important;max-height:184px!important;overflow:auto!important;gap:8px!important;padding:3px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-row{display:grid!important;grid-template-columns:48px minmax(0,1fr) minmax(200px,280px) 36px!important;align-items:center!important;grid-gap:12px!important;gap:12px!important;min-width:0!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-thumb{display:grid!important;place-items:center!important;height:48px!important;width:48px!important;overflow:hidden!important;border-radius:6px!important;background:var(--sa-bg)!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-thumb img{height:100%!important;width:100%!important;object-fit:cover!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-thumb span{font-size:10px!important;color:var(--sa-muted)!important;text-align:center!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-info{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-info strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-row>button{width:36px!important;height:36px!important;padding:8px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-dialog select{width:100%!important;min-width:0!important;max-width:100%!important;border:1px solid var(--sa-line)!important;border-radius:6px!important;color:var(--sa-text)!important;background:var(--sa-raised)!important;padding:9px 10px!important;font:inherit!important;font-size:12px!important;min-height:38px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-dialog select:focus-visible{outline:2px solid var(--sa-accent)!important;outline-offset:2px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library>header{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;margin-bottom:12px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library>header strong{font-size:14px!important;font-weight:500!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library>header span{margin-left:auto!important;color:var(--sa-muted)!important;font-size:12px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library>header button{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:7px 10px!important;font-size:12px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-filters{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(130px,200px)!important;grid-gap:12px!important;gap:12px!important;margin-bottom:12px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-filters label{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;min-width:0!important;background:var(--sa-bg)!important;border:1px solid var(--sa-line)!important;border-radius:6px!important;padding-left:12px!important;color:var(--sa-muted)!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-filters label input{border:0!important;min-height:38px!important;padding:8px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:start!important;align-content:start!important;grid-gap:12px!important;gap:12px!important;max-height:264px!important;overflow:auto!important;padding:3px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-grid>button{display:flex!important;flex-direction:column!important;gap:7px!important;justify-content:flex-start!important;align-items:stretch!important;min-width:0!important;padding:6px!important;text-align:left!important;border:1px solid var(--sa-line)!important;border-radius:8px!important;background:var(--sa-raised)!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-grid>button.is-selected{border-color:var(--sa-accent)!important;background:var(--sa-accent-soft)!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-grid>button>div:not([class^=star-]){position:relative!important;display:grid!important;place-items:center!important;aspect-ratio:4/3!important;overflow:hidden!important;background:var(--sa-bg)!important;border-radius:4px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-grid img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-grid svg{position:absolute!important;top:6px!important;right:6px!important;background:var(--sa-accent)!important;color:var(--sa-accent-ink)!important;border-radius:4px!important;padding:2px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-grid :is(span,small){font-size:12px!important;color:var(--sa-text)!important;overflow-wrap:anywhere!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-grid>p{grid-column:1/-1!important;margin:12px 0!important;color:var(--sa-muted)!important;font-size:13px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-top:14px!important;padding:0!important;border:0!important;background:transparent!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library footer span{font-size:12px!important;color:var(--sa-muted)!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library footer button{min-height:40px!important;padding:9px 12px!important;font-size:12px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-error{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;color:var(--sa-danger)!important;font-size:13px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-target{display:flex!important;gap:10px!important;margin:0 0 24px!important;padding:0!important;border:0!important;min-width:0!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-target legend{font-size:13px!important;margin-bottom:10px!important;padding:0!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-target label{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:10px 14px!important;min-height:42px!important;width:160px!important;margin:0!important;background:var(--sa-raised)!important;border:1px solid var(--sa-line)!important;border-radius:7px!important;font-size:13px!important;cursor:pointer!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-target input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-target label>svg:last-child{margin-left:auto!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-target .is-selected{border-color:var(--sa-accent)!important;background:var(--sa-accent-soft)!important;color:var(--sa-accent)!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-target label:hover{border-color:var(--sa-muted)!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-target label:has(input:focus-visible){outline:2px solid var(--sa-accent)!important;outline-offset:3px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-target:disabled{opacity:.5!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-body{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)!important;grid-gap:24px!important;gap:24px!important;align-items:stretch!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-editor{display:flex!important;flex-direction:column!important;min-width:0!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-label{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:36px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-label label{font-size:14px!important;margin:0!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-label button{padding:4px 8px!important;min-height:30px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-hint{color:var(--sa-muted)!important;font-size:12px!important;line-height:1.7!important;margin:8px 0 12px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-dialog :is(input:not([type]),textarea){background:var(--sa-bg)!important;color:var(--sa-text)!important;caret-color:var(--sa-accent);width:100%!important;max-width:100%!important;min-width:0!important;border:1px solid var(--sa-line)!important;border-radius:6px!important;padding:12px!important;font:inherit!important;font-size:13px!important;line-height:1.8!important;box-sizing:border-box!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-dialog textarea{display:block!important;height:320px!important;min-height:220px!important;max-height:42dvh!important;flex:1 1!important;resize:none!important;overflow:auto!important;scrollbar-width:thin;scrollbar-color:var(--sa-line) transparent}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-dialog :is(input,textarea)::placeholder{color:var(--sa-muted)!important;opacity:1!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-dialog :is(input,textarea,button,summary):focus-visible{outline:2px solid var(--sa-accent)!important;outline-offset:2px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-dialog ::selection{background:var(--sa-accent-soft);color:var(--sa-text)}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-input-meta{display:flex!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:6px!important;margin-top:8px!important;font-size:11px!important;color:var(--sa-muted)!important;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-help{margin-top:12px!important;font-size:12px!important;color:var(--sa-muted)!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-help summary{display:list-item!important;min-height:24px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--sa-muted)!important;cursor:pointer!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-help p{line-height:1.7!important;margin:8px 0 0!important;overflow-wrap:anywhere!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-preview{min-width:0!important;padding-left:24px!important;border-left:1px solid var(--sa-line)!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-preview h3{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 14px!important;min-height:36px!important;font-size:14px!important;font-weight:500!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-preview h3>span{color:var(--sa-muted)!important;font-size:12px!important;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-preview ol{margin:0!important;padding:0!important;list-style:none!important;max-height:360px!important;overflow:auto!important;scrollbar-width:thin;scrollbar-color:var(--sa-line) transparent}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-preview li{padding:14px 0!important;border-bottom:1px solid var(--sa-line)!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-preview li:first-child{padding-top:0!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-preview li>div{display:flex!important;align-items:baseline!important;gap:8px!important;min-width:0!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-preview strong{font-size:13px!important;font-weight:500!important;overflow-wrap:anywhere!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-index{color:var(--sa-muted)!important;font-size:12px!important;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;flex:none!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-kind{margin-left:auto!important;color:var(--sa-muted)!important;font-size:11px!important;white-space:nowrap!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-preview li p{margin:6px 0 0 20px!important;color:var(--sa-muted)!important;font-size:12px!important;line-height:1.7!important;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden!important;overflow-wrap:anywhere!important;white-space:pre-wrap!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-empty{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:260px!important;color:var(--sa-muted)!important;text-align:center!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-empty p{margin:16px 0 6px!important;font-size:13px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-empty span{font-size:12px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-note{color:var(--sa-muted)!important;font-size:12px!important;line-height:1.7!important;margin:12px 0 0!important;overflow-wrap:anywhere!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-error{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;margin-top:16px!important;color:var(--sa-danger)!important;font-size:13px!important;line-height:1.7!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-error>span{flex:1 1!important;min-width:0!important;overflow-wrap:anywhere!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-footer{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;padding:18px 24px!important;border-top:1px solid var(--sa-line)!important;background:transparent!important;flex:none!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-footer p{display:flex!important;flex-direction:column!important;gap:4px!important;margin:0!important;font-size:13px!important;min-width:0!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-footer small{color:var(--sa-muted)!important;font-size:12px!important;overflow-wrap:anywhere!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-footer>div{display:flex!important;gap:10px!important;flex:none!important}:is(#script-agent-overlays,#script-agent-module) button.sa-direct-import-submit{background:var(--sa-accent)!important;color:var(--sa-accent-ink)!important;border-color:var(--sa-accent)!important;min-width:138px!important}:is(#script-agent-overlays,#script-agent-module) button.sa-direct-import-submit:hover:not(:disabled){background:color-mix(in srgb,var(--sa-accent) 85%,white)!important}@media(max-width:680px){:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-tools{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-actions{justify-content:flex-start!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-actions button{flex:1 1!important;font-size:12px!important;padding:9px 8px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-references>header{flex-wrap:wrap!important;gap:6px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-row{grid-template-columns:42px minmax(0,1fr) 36px!important;gap:8px!important;padding-bottom:8px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-row select{grid-column:2/3!important;grid-row:2!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-row>button{grid-column:3!important;grid-row:1/3!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-reference-thumb{width:42px!important;height:42px!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library-filters{grid-template-columns:minmax(0,1fr)!important}:is(#script-agent-overlays,#script-agent-module) .sa-import-library footer{align-items:flex-start!important;flex-direction:column!important}#script-agent-module .sa-canvas-stages{flex-wrap:wrap!important;height:auto!important;min-height:52px!important;padding-top:8px!important;padding-bottom:8px!important;gap:10px!important}#script-agent-module .sa-canvas-stages .sa5-stage-switch{height:42px!important}#script-agent-module .sa-direct-import-trigger{margin-left:4px!important;padding:8px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-backdrop{padding:12px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-dialog{max-height:calc(100dvh - 24px)!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-head,:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-scroll{padding:18px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-body{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-preview{padding:16px 0 0!important;border-left:0!important;border-top:1px solid var(--sa-line)!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-empty{min-height:120px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-footer{align-items:stretch!important;flex-direction:column!important;gap:12px!important;padding:16px 18px!important}:is(#script-agent-overlays,#script-agent-module) .sa-direct-import-footer>div{justify-content:flex-end!important}}}