:root{--bg:#0b0b0b;--bg-soft:#101010;--panel:#141516;--panel-2:#191a1b;--panel-3:#1f2021;--line:#292b2c;--line-strong:#37393b;--text:#f6f6f7;--muted:#98a2ab;--muted-2:#68737d;--lime:#f2f3f3;--lime-2:#fff;--lime-soft:#f2f3f317;--blue:#a6aeb2;--purple:#a3a5a8;--amber:#d2c0a4;--red:#ff7272;--sidebar:232px;--topbar:72px;--radius:14px;--radius-sm:9px;--topbar-bg:rgb(var(--accent-rgb) / .9);--panel-translucent:rgb(var(--accent-rgb) / .84);--on-accent:#111214;--accent-rgb:242 243 243;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=light]{--bg:#f5f5f5;--bg-soft:#f7f8fa;--panel:#fff;--panel-2:#f8f9fb;--panel-3:#f0f0f0;--line:#e5e5e5;--line-strong:#cccdce;--text:#2a2b2c;--muted:#5e6164;--muted-2:#626f7c;--lime:#1b1f21;--lime-2:#000;--lime-soft:#f0f1f1;--on-accent:#fff;--accent:var(--lime);--accent-soft:var(--lime-soft);--blue:#4a5053;--purple:#5a5f60;--amber:#7c6a52;--red:#b3383a;--topbar-bg:#fff;--panel-translucent:#fff;--accent-rgb:25 28 30;--floating-shadow:0 16px 48px rgb(var(--accent-rgb) / .14);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{min-height:100%}html{background:var(--bg)}body{background:radial-gradient(circle at 72% -20%, rgb(var(--accent-rgb) / .05), transparent 34%), var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}button,input,textarea,select{color:inherit;font:inherit}button{border:0}button,select{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--lime);outline-offset:2px}[data-file-dragging=true]{outline:2px dashed var(--lime);outline-offset:-2px;background-color:var(--lime-soft)}svg{flex:none;width:20px;height:20px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#3a3c3d padding-box padding-box;border:2px solid #0000;border-radius:99px}html[data-theme=light] ::-webkit-scrollbar-thumb{background:#c2c4c4 padding-box padding-box}::selection{background:rgb(var(--accent-rgb) / .28);color:var(--on-accent)}html[data-theme=light] ::selection{background:rgb(var(--accent-rgb) / .12);color:var(--text)}.studio-shell{grid-template-columns:var(--sidebar) minmax(0, 1fr);min-height:100vh;display:grid}.sidebar{z-index:40;width:var(--sidebar);border-right:1px solid var(--line);background:rgb(var(--accent-rgb) / .96);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.brand{height:var(--topbar);border-bottom:1px solid var(--line);text-align:left;background:0 0;align-items:center;gap:12px;padding:0 18px;display:flex}.brand-mark{border:1px solid rgb(var(--accent-rgb) / .38);background:linear-gradient(145deg, rgb(var(--accent-rgb) / .2), transparent 58%), #171819;width:38px;height:38px;box-shadow:inset 0 0 18px rgb(var(--accent-rgb) / .08);border-radius:11px;place-items:center;display:grid;position:relative;overflow:hidden}.brand-mark img{object-fit:contain;width:100%;height:100%}.brand-copy{flex-direction:column;display:flex}.brand-copy strong{letter-spacing:-.01em;font-size:17px;font-weight:740}.brand-copy em{color:var(--muted);letter-spacing:.16em;text-transform:uppercase;font-size:15px;font-style:normal}.sidebar-create-button{border:1px solid rgb(var(--accent-rgb) / .36);background:var(--lime);height:44px;color:var(--on-accent);box-shadow:0 10px 26px rgb(var(--accent-rgb) / .12);border-radius:11px;flex:none;justify-content:center;align-items:center;gap:8px;margin:16px 12px 0;font-size:15px;font-weight:760;display:flex}.sidebar-create-button:hover{background:#bcbdbe;transform:translateY(-1px)}.sidebar-create-button svg{width:16px}.primary-nav{flex-direction:column;flex:1;gap:4px;padding:22px 12px;display:flex}.nav-section-label{color:#525d65;letter-spacing:.18em;text-transform:uppercase;margin:0 10px 9px;font-size:14px;font-weight:800}.nav-item{width:100%;height:42px;color:var(--muted);text-align:left;background:0 0;border-radius:9px;align-items:center;gap:12px;padding:0 11px;font-size:17px;transition:all .16s;display:flex;position:relative}.nav-item svg{width:19px;height:19px}.nav-item:hover{color:#dcdcdd;background:#191a1a}.nav-item.is-active{background:var(--lime-soft);color:var(--lime)}.nav-item.is-active:before{background:var(--lime);width:3px;height:24px;box-shadow:0 0 15px rgb(var(--accent-rgb) / .45);content:"";border-radius:0 4px 4px 0;position:absolute;left:-12px}.nav-item span{flex:1}.nav-item b{color:#7f8a93;text-align:center;background:#242627;border-radius:20px;min-width:20px;padding:2px 5px;font-size:14px}.nav-item.is-active b{background:rgb(var(--accent-rgb) / .13);color:var(--lime)}.sidebar-bottom{border-top:1px solid var(--line);padding:12px}.sidebar-service{border:1px solid var(--line);background:#101011;border-radius:10px;align-items:center;gap:10px;margin-top:9px;padding:13px 12px;display:flex}.service-dot{background:var(--lime-2);width:8px;height:8px;box-shadow:0 0 0 4px rgb(var(--accent-rgb) / .1), 0 0 12px rgb(var(--accent-rgb) / .42);border-radius:50%}.sidebar-service div{flex-direction:column;gap:2px;display:flex}.sidebar-service strong{font-size:15px;font-weight:650}.sidebar-service span:last-child{color:var(--muted-2);font-size:13px}.sidebar-service.status-checking .service-dot{box-shadow:0 0 10px rgb(var(--accent-rgb) / .45);background:#8f9295}.sidebar-service.status-down .service-dot{background:#ef746f;box-shadow:0 0 10px #ef746f73}.workspace{grid-column:2;min-width:0}.topbar{z-index:35;height:var(--topbar);border-bottom:1px solid var(--line);background:var(--topbar-bg);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);justify-content:space-between;align-items:center;padding:0 28px;display:flex;position:sticky;top:0}.compact-brand{align-items:center;gap:8px;display:none}.compact-brand span{border:1px solid rgb(var(--accent-rgb) / .35);background:#171819;border-radius:8px;place-items:center;width:30px;height:30px;display:grid;overflow:hidden}.compact-brand span img{object-fit:contain;width:100%;height:100%}.compact-brand strong{white-space:nowrap;font-size:15px}.compact-brand em{color:var(--muted);white-space:nowrap;font-size:11px;font-style:normal;display:inline}.project-switcher{text-align:left;background:0 0;border-radius:9px;align-items:center;gap:10px;padding:6px 9px 6px 6px;display:flex}.project-switcher-wrap{position:relative}.project-menu{z-index:30;overscroll-behavior:contain;border:1px solid var(--border);background:linear-gradient(180deg, #ffffff0d, #fff0 46%), var(--surface);scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;border-radius:14px;flex-direction:column;gap:3px;width:320px;max-height:min(72vh,560px);padding:10px;animation:.16s cubic-bezier(.16,1,.3,1) project-menu-in;display:flex;position:absolute;top:calc(100% + 6px);left:-4px;overflow-y:auto;box-shadow:inset 0 1px #ffffff0f,0 24px 56px -18px #000000b3,0 6px 18px -8px #00000080}@keyframes project-menu-in{0%{opacity:0;transform:translateY(-6px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.project-menu{animation:none}}.project-menu::-webkit-scrollbar{width:6px}.project-menu::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:3px}.project-menu>strong{color:var(--muted-2);letter-spacing:.06em;padding:6px 8px 8px;font-size:11px;font-weight:600}.project-menu>button{text-align:left;background:0 0;border-radius:10px;grid-template-columns:30px minmax(0,1fr) 16px;align-items:center;gap:10px;width:100%;padding:6px 8px;transition:background .14s,box-shadow .14s;display:grid;position:relative}.project-menu>button:hover{background:#ffffff0f}.project-menu>button.active{background:var(--surface-selected);box-shadow:inset 0 0 0 1px #ffffff1a}.project-menu>button>span{background:var(--accent-subtle);width:30px;height:30px;color:var(--accent);border-radius:8px;place-items:center;font-size:13px;font-weight:800;display:grid;box-shadow:inset 0 0 0 1px #ffffff12}.project-menu>button:hover>span{box-shadow:inset 0 0 0 1px #ffffff29}.project-menu>button.active>span{background:var(--accent);box-shadow:none;color:var(--on-accent)}.project-menu>button>div{flex-direction:column;gap:2px;min-width:0;display:flex}.project-menu>button b{color:var(--text-1);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.project-menu>button small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;line-height:1.25;overflow:hidden}.project-menu>button>svg{width:14px;color:var(--accent)}.project-menu>.create-project-menu{border:1px solid color-mix(in srgb, var(--accent) 26%, transparent);background:color-mix(in srgb, var(--accent) 10%, transparent);color:var(--accent);border-radius:9px;grid-template-columns:none;justify-content:center;gap:6px;margin:8px 0 0;padding:9px 10px;font-size:12.5px;font-weight:600;display:flex}.project-menu>.create-project-menu:hover{border-color:color-mix(in srgb, var(--accent) 46%, transparent);background:color-mix(in srgb, var(--accent) 20%, transparent)}.project-menu>.create-project-menu svg{width:13px}.project-switcher:hover{background:var(--panel-2)}.project-switcher-wrap:has(.project-menu) .project-switcher{background:var(--panel-2)}.project-avatar{width:36px;height:36px;color:var(--lime);background:linear-gradient(135deg,#333537,#191d19);border:1px solid #3f4042;border-radius:9px;place-items:center;font-size:17px;font-weight:800;display:grid}.project-switcher>span:nth-child(2){flex-direction:column;min-width:120px;display:flex}.project-switcher small,.user-button small{color:var(--muted-2);font-size:13px}.project-switcher strong,.user-button strong{font-size:16px}.project-switcher>svg,.user-button>svg{width:16px;color:var(--muted-2)}.topbar-actions{align-items:center;gap:10px;display:flex}.mobile-nav{display:none}.balance-pill{border:1px solid rgb(var(--accent-rgb) / .17);background:rgb(var(--accent-rgb) / .05);border-radius:9px;align-items:center;gap:7px;height:38px;padding:0 12px;display:flex}.balance-pill span{color:var(--muted);font-size:14px}.balance-pill strong{color:var(--lime);font-variant-numeric:tabular-nums;font-size:16px}.icon-button{border:1px solid var(--line);width:38px;height:38px;color:var(--muted);background:#111212;border-radius:9px;place-items:center;display:grid;position:relative}.icon-button:hover{border-color:var(--line-strong);color:#fff}.icon-button.small{width:30px;height:30px}.icon-button.small svg{width:16px}.icon-button>i{background:var(--lime);width:5px;height:5px;box-shadow:0 0 7px var(--lime);border-radius:50%;position:absolute;top:8px;right:8px}.notification-wrap{position:relative}.notification-popover{border:1px solid var(--line-strong);background:#181819;border-radius:12px;width:340px;padding:9px;position:absolute;top:48px;right:-70px;box-shadow:0 24px 60px #0000007a}.popover-heading{justify-content:space-between;align-items:center;padding:8px 9px 12px;display:flex}.popover-heading strong{font-size:17px}.popover-heading span{color:var(--lime);font-size:14px}.notification-popover>button{text-align:left;background:0 0;border-radius:8px;align-items:center;gap:11px;width:100%;padding:11px 9px;display:flex}.notification-popover>button:hover{background:#202021}.notice-icon{border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.notice-icon svg{width:15px}.notice-icon.success{background:var(--lime-soft);color:var(--lime)}.notice-icon.running{background:rgb(var(--accent-rgb) / .12);color:var(--blue)}.notification-popover>button>span:last-child{flex-direction:column;gap:3px;display:flex}.notification-popover>button strong{font-size:15px}.notification-popover>button small{color:var(--muted-2);font-size:13px}.notification-empty{min-height:130px;color:var(--muted-2);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:16px;display:flex}.notification-empty svg{color:#5c676e;width:24px}.notification-empty strong{color:#c0c8cc;font-size:14px}.notification-empty small{max-width:220px;font-size:12px;line-height:1.6}.user-button{text-align:left;background:0 0;border-radius:9px;align-items:center;gap:8px;height:42px;padding:0 7px;display:flex}.user-button:hover{background:var(--panel-2)}.user-button>span{background:linear-gradient(145deg,#9a9da0,#46484a);border-radius:9px;place-items:center;width:30px;height:30px;font-size:14px;font-weight:800;display:grid}.user-button div{flex-direction:column;min-width:52px;display:flex}.main-stage{min-width:0;min-height:calc(100vh - var(--topbar))}.workflow-route-bar{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;align-items:center;gap:14px;width:calc(100% - 68px);max-width:1720px;margin:12px auto 0;padding:7px 9px 7px 14px;display:flex}.workflow-route-head{min-width:108px;color:var(--text);text-align:left;background:0 0;flex:none;align-items:center;gap:7px;padding:0;display:flex}.workflow-route-head>span{gap:1px;min-width:0;display:grid}.workflow-route-head strong{font-size:11.5px}.workflow-route-head small{max-width:150px;color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.workflow-route-head em{border:1px solid color-mix(in srgb, var(--lime-2) 32%, var(--line));color:var(--lime-2);white-space:nowrap;border-radius:6px;padding:2px 6px;font-size:9px;font-style:normal}.workflow-route-head:hover em{background:var(--lime-soft)}.workflow-route-stages{scrollbar-width:none;flex:1;gap:3px;min-width:0;display:flex;overflow-x:auto}.workflow-route-stages::-webkit-scrollbar{display:none}.workflow-route-stage{min-width:64px;color:var(--muted);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:5px;padding:6px 9px;font-size:11px;display:inline-flex}.workflow-route-stage i{border:1px solid var(--line-strong);width:16px;height:16px;color:var(--muted-2);border-radius:50%;place-items:center;font-size:9px;font-style:normal;display:grid}.workflow-route-stage.is-complete i{border-color:color-mix(in srgb, var(--lime-2) 45%, var(--line));background:var(--lime-soft);color:var(--lime-2)}.workflow-route-stage.is-action_required{color:var(--text)}.workflow-route-stage.is-blocked{color:var(--red)}.workflow-route-stage.is-blocked i{border-color:var(--red);color:var(--red)}.workflow-route-stage.is-waiting{opacity:.58}.workflow-route-stage.is-current{border-color:color-mix(in srgb, var(--lime-2) 42%, var(--line));background:var(--lime-soft);color:var(--lime-2)}.workflow-route-attention{border:1px solid color-mix(in srgb, var(--red) 38%, var(--line));background:color-mix(in srgb, var(--red) 7%, var(--panel));color:var(--red);white-space:nowrap;border-radius:8px;flex:none;align-items:center;gap:5px;padding:6px 9px;font-size:10.5px;display:inline-flex}.workflow-route-attention svg{width:13px}.workflow-route-next{border:1px solid color-mix(in srgb, var(--lime-2) 35%, var(--line));background:var(--lime-soft);min-width:0;max-width:260px;color:var(--lime-2);text-align:left;border-radius:9px;flex:none;align-items:center;gap:8px;padding:7px 10px;display:flex}.workflow-route-next>span{gap:1px;min-width:0;display:grid}.workflow-route-next small{color:var(--muted);font-size:9px}.workflow-route-next strong{text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;overflow:hidden}.workflow-route-next svg{flex:none;width:14px}.workflow-route-next.is-blocked{border-color:color-mix(in srgb, var(--red) 40%, var(--line));background:color-mix(in srgb, var(--red) 8%, var(--panel));color:var(--red)}.workflow-route-complete{color:var(--lime-2);flex:none;align-items:center;gap:5px;font-size:11px;display:inline-flex}.workflow-route-complete svg{width:14px}@media (width<=1180px){.workflow-route-bar{width:calc(100% - 48px)}}@media (width<=860px){.workflow-route-bar{flex-wrap:wrap;gap:6px;width:calc(100% - 28px);margin-top:8px}.workflow-route-head{min-width:100%}.workflow-route-next{margin-left:auto}}@media (width<=640px){.workflow-route-head{order:1}.workflow-route-stages{flex:100%;order:2}.workflow-route-stage{gap:4px;min-width:54px;padding:6px 7px}.workflow-route-attention{order:3}.workflow-route-next{order:4}}.production-wizard{max-width:1120px}.wizard-heading{gap:6px;margin-bottom:18px;display:grid}.wizard-heading h1{margin:0;font-size:30px}.wizard-heading p{color:var(--muted);margin:0;font-size:14px;line-height:1.7}.wizard-heading-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;display:flex}.wizard-attention{border:1px solid color-mix(in srgb, var(--red) 35%, var(--line));background:color-mix(in srgb, var(--red) 7%, var(--panel));color:var(--red);border-radius:9px;align-items:center;gap:6px;padding:9px 12px;font-size:12px;display:inline-flex}.wizard-attention svg{width:15px}.wizard-complete{color:var(--lime-2);align-items:center;gap:6px;font-size:13px;display:inline-flex}.wizard-complete svg{width:16px}.wizard-note{border:1px solid var(--line);background:var(--panel-2);color:var(--muted);border-radius:12px;align-items:flex-start;gap:10px;margin-bottom:14px;padding:12px 14px;display:flex}.wizard-note>svg{width:17px;color:var(--lime-2);flex:none}.wizard-note>span{gap:2px;display:grid}.wizard-note strong{color:var(--text);font-size:12.5px}.wizard-note small{font-size:11.5px;line-height:1.6}.wizard-steps{gap:10px;display:grid}.wizard-step{border:1px solid var(--line);background:var(--panel);border-radius:14px;grid-template-columns:40px minmax(0,1fr) auto;align-items:start;gap:14px;padding:16px;display:grid}.wizard-step.is-action_required{border-color:color-mix(in srgb, var(--lime-2) 40%, var(--line))}.wizard-step.is-blocked{border-color:color-mix(in srgb, var(--red) 40%, var(--line))}.wizard-step.is-waiting{opacity:.64}.wizard-step-index{border:1px solid var(--line-strong);background:var(--panel-2);width:34px;height:34px;color:var(--muted);border-radius:50%;place-items:center;font-size:12px;font-weight:800;display:grid}.wizard-step.is-complete .wizard-step-index{border-color:color-mix(in srgb, var(--lime-2) 45%, var(--line));background:var(--lime-soft);color:var(--lime-2)}.wizard-step.is-action_required .wizard-step-index{border-color:var(--lime-2);color:var(--lime-2)}.wizard-step.is-blocked .wizard-step-index{border-color:var(--red);color:var(--red)}.wizard-step-copy{gap:5px;min-width:0;display:grid}.wizard-step-copy header{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.wizard-step-copy header strong{font-size:15px}.wizard-step-copy header b{background:var(--panel-3);color:var(--muted);border-radius:999px;padding:2px 7px;font-size:10.5px;font-weight:650}.wizard-step.is-complete .wizard-step-copy header b,.wizard-step.is-action_required .wizard-step-copy header b{background:var(--lime-soft);color:var(--lime-2)}.wizard-step.is-blocked .wizard-step-copy header b{background:color-mix(in srgb, var(--red) 12%, var(--panel));color:var(--red)}.wizard-step-copy p{color:var(--text);margin:0;font-size:12.5px;line-height:1.6}.wizard-step-copy>small{color:var(--muted-2);font-size:11px}.wizard-step-issues,.wizard-step-warnings{gap:2px;margin:3px 0 0;padding-left:17px;font-size:11.5px;line-height:1.6;display:grid}.wizard-step-issues{color:var(--red)}.wizard-step-warnings{color:var(--amber)}.wizard-step>button{white-space:nowrap;align-self:center}.wizard-next{border:1px solid color-mix(in srgb, var(--lime-2) 32%, var(--line));background:var(--lime-soft);border-radius:14px;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding:16px;display:flex}.wizard-next>div{gap:2px;min-width:0;display:grid}.wizard-next small{color:var(--muted);font-size:10.5px}.wizard-next strong{font-size:14px}.wizard-next span{color:var(--muted);font-size:11.5px;line-height:1.6}.wizard-quality{border:1px solid var(--line);background:var(--panel);border-radius:14px;margin-top:18px;padding:16px}.wizard-quality.has-warnings{border-color:color-mix(in srgb, var(--amber) 35%, var(--line))}.wizard-quality>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.wizard-quality>header>div{gap:3px;min-width:0;display:grid}.wizard-quality>header strong{font-size:14px}.wizard-quality>header small{color:var(--muted);font-size:11.5px;line-height:1.6}.wizard-quality>header b{background:color-mix(in srgb, var(--amber) 12%, var(--panel));color:var(--amber);border-radius:999px;flex:none;padding:3px 8px;font-size:10.5px;font-weight:650}.wizard-quality>header b.is-ok{background:var(--lime-soft);color:var(--lime-2)}.wizard-quality>ul{margin:10px 0 0;padding:0;list-style:none;display:grid}.wizard-quality li{border-top:1px solid var(--line);grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:10px;padding:9px 0;display:grid}.wizard-quality li>span{border:1px solid var(--line-strong);width:22px;height:22px;color:var(--muted);border-radius:50%;place-items:center;font-size:11px;font-weight:800;display:grid}.wizard-quality li.is-pass>span{border-color:color-mix(in srgb, var(--lime-2) 40%, var(--line));background:var(--lime-soft);color:var(--lime-2)}.wizard-quality li.is-warn>span{border-color:color-mix(in srgb, var(--amber) 45%, var(--line));background:color-mix(in srgb, var(--amber) 10%, var(--panel));color:var(--amber)}.wizard-quality li>div{gap:2px;min-width:0;display:grid}.wizard-quality li strong{font-size:12.5px}.wizard-quality li small{color:var(--muted);font-size:11.5px;line-height:1.6}.wizard-quality li>button{white-space:nowrap;align-self:center}.wizard-quality-shots{flex-wrap:wrap;align-items:center;gap:5px;margin-top:5px;display:flex}.wizard-quality-shot{border:1px solid color-mix(in srgb, var(--amber) 35%, var(--line));color:var(--text);background:0 0;border-radius:999px;padding:3px 7px;font-size:10.5px}.wizard-quality-shot:hover{background:color-mix(in srgb, var(--amber) 10%, var(--panel))}.wizard-quality-shots small{color:var(--muted-2);font-size:10.5px}.wizard-quality>p{color:var(--muted);margin:10px 0 0;font-size:11.5px;line-height:1.6}@media (width<=720px){.wizard-step{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px}.wizard-step>button{grid-column:2;justify-self:start}.wizard-next{flex-direction:column;align-items:stretch}.wizard-next>button{align-self:flex-start}.wizard-heading-actions>button{flex:1;justify-content:center}.wizard-quality li{grid-template-columns:24px minmax(0,1fr)}.wizard-quality li>button{grid-column:2;justify-self:start}}.page-content{width:min(100%,1720px);margin:0 auto;padding:34px 34px 48px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel-translucent);box-shadow:0 10px 35px #00000014}.eyebrow{color:var(--lime-2);letter-spacing:.2em;text-transform:uppercase;align-items:center;gap:7px;font-size:13px;font-weight:800;display:inline-flex}.primary-button,.outline-button{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 16px;font-size:16px;font-weight:700;transition:all .15s;display:inline-flex}.primary-button{background:var(--lime);color:var(--on-accent);box-shadow:0 8px 22px rgb(var(--accent-rgb) / .12)}.primary-button:hover{background:var(--lime-2);transform:translateY(-1px)}.outline-button{border:1px solid var(--line-strong);color:#dbdcdc;background:#181819}.outline-button:hover{background:#1f2020;border-color:#465159}button:disabled,.primary-button:disabled,.outline-button:disabled{cursor:not-allowed;opacity:.48;transform:none}.primary-button:disabled:hover,.outline-button:disabled:hover{transform:none}.data-banner{border:1px solid var(--line-strong);background:#191a1a;border-radius:11px;align-items:center;gap:11px;min-height:54px;padding:11px 13px;display:flex}.main-stage>.data-banner{margin:14px 30px 0}.page-content>.data-banner{margin-bottom:16px}.data-banner>span{background:rgb(var(--accent-rgb) / .1);width:29px;height:29px;color:var(--blue);border-radius:8px;flex:none;place-items:center;font-size:17px;font-weight:900;display:grid}.data-banner>span svg{width:15px}.data-banner>div{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.data-banner strong{font-size:13px}.data-banner small{color:var(--muted-2);font-size:12px;line-height:1.5}.data-banner.tone-warning{border-color:rgb(var(--accent-rgb) / .2);background:rgb(var(--accent-rgb) / .045)}.data-banner.tone-warning>span{background:rgb(var(--accent-rgb) / .1);color:var(--amber)}.data-banner.tone-error{background:#ff72720b;border-color:#ff727238}.data-banner.tone-error>span{color:var(--red);background:#ff72721a}.data-banner.tone-loading>span svg{animation:.9s linear infinite service-spin}.data-banner>button{border:1px solid var(--line-strong);color:#d6d6d7;background:#212224;border-radius:7px;padding:7px 10px;font-size:12px}.primary-button svg,.outline-button svg{width:16px;height:16px}.outline-button.compact{height:34px;padding:0 11px;font-size:15px}.text-button{color:var(--muted);background:0 0;align-items:center;gap:6px;font-size:14px;display:inline-flex}.text-button:hover{color:var(--lime)}.text-button svg{width:13px}.sidebar-advanced{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.sidebar-advanced summary{min-height:42px;color:var(--muted);cursor:pointer;align-items:center;gap:10px;padding:0 13px;list-style:none;display:flex}.sidebar-advanced summary::-webkit-details-marker{display:none}.sidebar-advanced summary svg{width:18px}.sidebar-advanced[open] summary{color:var(--text)}.sidebar-advanced>div{padding:0 4px 8px 16px;display:grid}.sidebar-advanced>div .nav-item{min-height:40px}.welcome-row{justify-content:space-between;align-items:flex-end;margin-bottom:28px;display:flex}.welcome-row h1,.page-header h1{letter-spacing:-.035em;margin:7px 0 5px;font-size:36px;font-weight:720}.welcome-row p,.page-header p{color:var(--muted);margin:0;font-size:16px}.welcome-actions,.page-header-actions,.toolbar-actions{align-items:center;gap:9px;display:flex}.page-header-actions{flex-wrap:wrap;justify-content:flex-end}.page-header-actions>button,.view-switch,.view-switch button{white-space:nowrap;flex:none}.status-chip{border-radius:30px;align-items:center;gap:6px;padding:4px 8px;font-size:13px;font-weight:650;display:inline-flex}.status-chip.active{background:var(--lime-soft);color:var(--lime)}.status-chip i{background:currentColor;border-radius:50%;width:5px;height:5px}.hero-heading h2{letter-spacing:-.025em;margin:6px 0 3px;font-size:32px}.hero-heading p,.project-description{color:var(--muted);margin:0;font-size:15px}.project-description{color:#aab4b5;max-width:660px;margin-top:20px;line-height:1.75}.member-stack{align-items:center;margin-top:21px;display:flex}.member{letter-spacing:-.08em;white-space:nowrap;border:2px solid #1a201e;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;margin-right:-6px;font-size:11px;font-weight:800;display:grid}.member.purple{background:#696c6f}.member.blue{background:#56585b}.member.orange{background:#8a553c}.member-count{color:#b6c0b7;background:#202722;border:1px solid #3a443d;border-radius:50%;place-items:center;width:27px;height:27px;margin-left:4px;font-size:12px;display:grid}.member-stack small{color:var(--muted-2);margin-left:12px;font-size:13px}.jobs-heading{justify-content:space-between;align-items:center;display:flex}.panel-heading h3,.section-title h3,.jobs-heading h3{margin:4px 0 0;font-size:18px;font-weight:680}.panel-heading.simple h3{margin:0}.panel-heading.simple>div>span,.panel-heading.simple>span{color:var(--muted-2);font-size:13px}.empty-project-state,.work-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:300px;padding:32px;display:flex}.empty-project-state>span,.work-empty-state>span{background:var(--lime-soft);width:50px;height:50px;color:var(--lime);border-radius:13px;place-items:center;display:grid}.empty-project-state svg,.work-empty-state svg{width:23px}.empty-project-state h2,.work-empty-state h2{margin:7px 0 0;font-size:21px}.empty-project-state p,.work-empty-state p{max-width:460px;color:var(--muted);margin:0 0 8px;font-size:13px;line-height:1.65}.compact-empty{color:var(--muted-2);text-align:center;padding:18px 8px;font-size:12px;line-height:1.6}.cost-summary div{flex-direction:column;gap:2px;display:flex}.cost-summary small{color:var(--muted-2);font-size:12px}.cost-summary strong{font-variant-numeric:tabular-nums;font-size:15px}.cost-summary button{color:var(--lime);background:0 0;font-size:13px}.pipeline-bar{z-index:30;top:var(--topbar);border-bottom:1px solid var(--line);background:rgb(var(--accent-rgb) / .94);-webkit-backdrop-filter:blur(17px);backdrop-filter:blur(17px);grid-template-columns:176px minmax(0,1fr) 36px;align-items:center;gap:18px;min-height:68px;padding:9px 28px;display:grid;position:sticky}.pipeline-context{flex-direction:column;gap:1px;display:flex}.pipeline-context span{color:var(--muted-2);font-size:12px}.pipeline-context strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.pipeline-context b{color:var(--lime);align-self:flex-start;margin-top:2px;font-size:12px;font-weight:600}.pipeline-steps{grid-template-columns:repeat(5,1fr);max-width:900px;display:grid}.pipeline-steps>button{text-align:left;background:0 0;align-items:center;gap:8px;min-width:0;padding:6px 12px;display:flex;position:relative}.pipeline-steps>button:not(:last-child):after{content:"";border-top:1px solid #3b444a;border-right:1px solid #3b444a;width:8px;height:8px;position:absolute;top:50%;right:-3px;transform:translateY(-50%)rotate(45deg)}.pipeline-steps>button>span{color:#68737c;border:1px solid #353739;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:12px;display:grid}.pipeline-steps>button>span svg{width:12px}.pipeline-steps>button>div{flex-direction:column;gap:2px;min-width:0;display:flex}.pipeline-steps strong{color:#76818a;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.pipeline-steps small{color:#4f5a62;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.pipeline-steps .is-done>span{border-color:rgb(var(--accent-rgb) / .24);background:var(--lime-soft);color:var(--lime)}.pipeline-steps .is-done strong{color:#9ba7a0}.pipeline-steps .is-current{background:var(--lime-soft);border-radius:8px}.pipeline-steps .is-current>span{border-color:var(--lime);background:var(--lime);color:var(--on-accent)}.pipeline-steps .is-current strong{color:var(--lime)}.pipeline-steps .is-current small{color:#83868a}.pipeline-steps .state-blocked>span{border-color:rgb(var(--accent-rgb) / .45);color:var(--amber)}.pipeline-steps .state-blocked strong{color:#b1b2b4}.work-page{padding-top:28px}.page-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.page-header h1{font-size:32px}.script-layout{grid-template-columns:minmax(0,1.7fr) minmax(270px,.55fr);gap:16px;display:grid}.script-editor-panel{min-height:640px;overflow:hidden}.script-draft-banner{border:1px solid var(--lime-soft);color:var(--text);background:#a7c95714;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:10px 14px;font-size:13px;display:flex}.script-draft-banner span{flex:1;min-width:220px}.script-import-button{min-height:44px}.editor-toolbar{border-bottom:1px solid var(--line);background:#151617;flex-wrap:wrap;align-items:center;gap:10px 16px;min-height:58px;padding:10px 16px;display:flex}.editor-toolbar>*{flex-shrink:0}.version-badge{align-items:center;gap:6px;display:flex}.version-badge svg{width:13px;color:var(--lime)}.version-badge span{color:var(--muted);font-size:13px}.version-badge strong{background:var(--lime-soft);color:var(--lime);border-radius:5px;padding:3px 6px;font-size:13px}.editor-meta{flex-wrap:wrap;flex:1;align-items:center;gap:6px 14px;min-width:180px;display:flex}.editor-meta span{color:var(--muted-2);white-space:nowrap;font-size:12px;position:relative}.editor-meta span:not(:last-child):after{content:"";background:#424447;border-radius:50%;width:2px;height:2px;position:absolute;top:3px;right:-9px}.script-editor-panel>textarea{resize:none;color:#d9dee1;width:100%;min-height:530px;caret-color:var(--lime);background:#121213;border:0;outline:0;padding:28px 32px;font-family:Source Han Serif SC,Songti SC,Georgia,serif;font-size:17px;line-height:2.05;display:block}.editor-footer{border-top:1px solid var(--line);min-height:48px;color:var(--muted-2);background:#141516;justify-content:space-between;align-items:center;padding:0 20px;font-size:12px;display:flex}.editor-footer span:first-child{align-items:center;gap:6px;display:flex}.editor-footer i{background:var(--lime-2);border-radius:50%;width:5px;height:5px}.script-aside{flex-direction:column;gap:14px;display:flex}.episodes-panel,.version-panel{padding:16px}.episode-list{flex-direction:column;gap:7px;max-height:310px;margin-top:10px;display:flex;overflow-y:auto}.episode-item{text-align:left;background:#121213;border:1px solid #0000;border-radius:9px;grid-template-columns:minmax(0,1fr) 30px;align-items:center;width:100%;display:grid;overflow:hidden}.episode-item.active{border-color:rgb(var(--accent-rgb) / .22);background:var(--lime-soft)}.episode-select{text-align:left;background:0 0;grid-template-columns:32px 1fr;align-items:center;gap:10px;min-width:0;padding:10px;display:grid}.episode-select>span{width:28px;height:28px;color:var(--muted);background:#262728;border-radius:7px;place-items:center;font:9px ui-monospace,monospace;display:grid}.episode-item.active .episode-select>span{background:var(--lime);color:var(--on-accent)}.episode-select>div{flex-direction:column;gap:3px;min-width:0;display:flex}.episode-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.episode-item small{color:var(--muted-2);font-size:11px}.episode-edit{width:28px;height:28px;color:var(--muted-2);background:0 0;border-radius:6px;place-items:center;display:grid}.episode-edit:hover:not(:disabled){color:var(--lime);background:#ffffff0d}.episode-edit svg{width:12px}.episode-inline-editor{border:1px solid var(--line-strong);background:#111212;border-radius:9px;flex-direction:column;gap:8px;margin-top:10px;padding:10px;display:flex}.episode-inline-editor label{flex-direction:column;gap:6px;display:flex}.episode-inline-editor label span{color:var(--muted-2);font-size:11px}.episode-inline-editor input{border:1px solid var(--line-strong);background:#191a1a;border-radius:7px;width:100%;height:32px;padding:0 9px;font-size:12px}.episode-inline-editor>div{justify-content:flex-end;gap:7px;display:flex}.episode-inline-editor>div button{min-height:28px;color:var(--muted);background:#252627;border-radius:6px;padding:0 10px;font-size:11px}.episode-inline-editor>div .primary-button{background:var(--lime);color:var(--on-accent)}.episode-editor-error{color:var(--red);font-size:11px}.version-timeline{flex-direction:column;margin-top:12px;display:flex;position:relative}.version-timeline:before{background:var(--line-strong);content:"";width:1px;position:absolute;top:12px;bottom:12px;left:5px}.version-timeline button{text-align:left;background:0 0;grid-template-columns:13px 1fr auto;align-items:start;gap:10px;min-height:48px;padding:7px 0;display:grid;position:relative}.version-timeline i{z-index:1;background:#465159;border:3px solid #141516;border-radius:50%;width:11px;height:11px;margin-top:2px;position:relative}.version-timeline .current i{background:var(--lime);box-shadow:0 0 0 3px rgb(var(--accent-rgb) / .12)}.version-timeline{max-height:310px;overflow-y:auto}.version-timeline button>div{flex-direction:column;gap:3px;min-width:0;display:flex}.version-timeline strong{font-size:13px}.version-timeline small{color:var(--muted-2);font-size:11px}.version-timeline em{color:#69777f;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-style:normal;overflow:hidden}.version-timeline button>span{background:var(--lime-soft);color:var(--lime);border-radius:5px;padding:2px 5px;font-size:11px}.version-timeline button:disabled:not(.current){opacity:.55}.version-history-error{color:var(--red);margin-top:8px;font-size:11px;line-height:1.5;display:block}.insight-card{border:1px solid rgb(var(--accent-rgb) / .16);background:rgb(var(--accent-rgb) / .05);border-radius:12px;gap:11px;padding:15px;display:flex}.insight-card>span{background:rgb(var(--accent-rgb) / .12);width:29px;height:29px;color:var(--blue);border-radius:8px;flex:none;place-items:center;display:grid}.insight-card svg{width:15px}.insight-card div{flex-direction:column;gap:5px;display:flex}.insight-card strong{font-size:13px}.insight-card p{color:#83919d;margin:0;font-size:12px;line-height:1.65}.analysis-active-banner{z-index:24;top:calc(var(--topbar) + 78px);border:1px solid rgb(var(--accent-rgb) / .4);background:radial-gradient(circle at 4% 15%, rgb(var(--accent-rgb) / .16), transparent 31%), linear-gradient(115deg, rgb(var(--accent-rgb) / .98), rgb(var(--accent-rgb) / .98));box-shadow:0 18px 48px #0000004d, 0 0 0 1px rgb(var(--accent-rgb) / .06) inset;border-radius:15px;grid-template-columns:54px minmax(0,1fr) 180px;align-items:center;gap:17px;margin:-4px 0 18px;padding:18px 20px;display:grid;position:sticky;overflow:hidden}.analysis-active-banner:before{background:linear-gradient(90deg, var(--lime), var(--blue), transparent 88%);content:"";height:3px;position:absolute;top:0;left:0;right:0}.analysis-active-icon{border:1px solid rgb(var(--accent-rgb) / .35);background:rgb(var(--accent-rgb) / .12);width:52px;height:52px;color:var(--lime);border-radius:15px;place-items:center;display:grid;position:relative}.analysis-active-icon svg{width:23px}.analysis-active-icon i{background:var(--lime);width:12px;height:12px;box-shadow:0 0 0 4px rgb(var(--accent-rgb) / .13);border:3px solid #1b1c1c;border-radius:50%;animation:1.5s ease-in-out infinite analysis-running-pulse;position:absolute;top:-4px;right:-4px}.analysis-active-copy{min-width:0}.analysis-active-copy h2{margin:4px 0 3px;font-size:21px;line-height:1.25}.analysis-active-copy p{color:var(--muted);margin:0;font-size:14px;line-height:1.55}.analysis-active-jobs{align-items:center;gap:7px;margin-top:9px;display:flex;overflow:hidden}.analysis-active-jobs>span,.analysis-active-jobs>button{border:1px solid rgb(var(--accent-rgb) / .18);background:rgb(var(--accent-rgb) / .08);color:#c5c6c7;text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:12px;overflow:hidden}.analysis-active-jobs>button{cursor:pointer}.analysis-active-jobs>button:hover{border-color:rgb(var(--accent-rgb) / .46);background:rgb(var(--accent-rgb) / .14)}.analysis-active-progress{gap:8px;min-width:0;display:grid}.analysis-active-progress>div{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.analysis-active-progress strong{color:var(--lime);font-variant-numeric:tabular-nums;font-size:28px;line-height:1}.analysis-active-progress small{color:var(--muted);font-size:12px}.analysis-active-track{background:#ffffff17;border-radius:999px;height:7px;display:block;overflow:hidden}.analysis-active-track i{border-radius:inherit;background:linear-gradient(90deg, var(--blue), var(--lime));min-width:5px;height:100%;box-shadow:0 0 12px rgb(var(--accent-rgb) / .34);transition:width .26s;display:block}.analysis-active-progress>button{min-height:30px;color:var(--lime);background:0 0;justify-content:flex-end;align-items:center;gap:6px;font-size:12px;font-weight:700;display:inline-flex}.analysis-active-progress>button svg{width:13px}@keyframes analysis-running-pulse{50%{opacity:.45;transform:scale(.72)}}@media (prefers-reduced-motion:reduce){.analysis-active-icon i{animation:none}}.asset-creation-flow{grid-template-columns:minmax(0,1.25fr) 24px minmax(0,1fr) 24px minmax(0,1fr);align-items:stretch;gap:8px;margin-bottom:18px;padding:12px;display:grid}.asset-creation-flow>article{border:1px solid var(--line);background:var(--panel-2);border-radius:13px;grid-template-columns:42px minmax(0,1fr);align-content:start;gap:11px;min-width:0;padding:15px;display:grid}.asset-creation-flow>article.is-active{border-color:color-mix(in srgb, var(--blue) 36%, var(--line));background:color-mix(in srgb, var(--blue) 6%, var(--panel-2))}.asset-creation-flow>article.is-complete,.asset-creation-flow>article.is-ready{border-color:color-mix(in srgb, var(--lime) 35%, var(--line));background:color-mix(in srgb, var(--lime) 7%, var(--panel-2))}.asset-creation-flow>article.is-blocked{border-color:color-mix(in srgb, var(--amber) 26%, var(--line))}.asset-flow-index{border:1px solid var(--line-strong);background:var(--panel);width:40px;height:40px;color:var(--muted);border-radius:12px;place-items:center;font-size:17px;font-weight:800;display:grid}.is-active .asset-flow-index{border-color:color-mix(in srgb, var(--blue) 50%, var(--line));color:var(--blue)}.is-complete .asset-flow-index,.is-ready .asset-flow-index{border-color:color-mix(in srgb, var(--lime) 45%, var(--line));background:var(--lime-soft);color:var(--lime)}.asset-flow-copy{gap:3px;min-width:0;display:grid}.asset-flow-copy small{color:var(--lime);letter-spacing:.13em;font-size:11px;font-weight:800}.asset-flow-copy strong{font-size:17px;line-height:1.35}.asset-flow-copy p{color:var(--muted);margin:1px 0 0;font-size:14px;line-height:1.55}.asset-model-picker{color:var(--muted);grid-column:1/-1;gap:6px;margin-top:3px;font-size:13px;display:grid}.asset-model-picker select{border:1px solid var(--line-strong);background:var(--panel);width:100%;min-height:42px;color:var(--text);font:inherit;border-radius:9px;outline:0;padding:0 11px}.asset-flow-actions{grid-column:1/-1;grid-template-columns:auto minmax(0,1fr);gap:8px;display:grid}.asset-flow-actions button,.asset-flow-main-action{justify-content:center;min-height:42px}.asset-flow-main-action{grid-column:1/-1;align-self:end;margin-top:auto}.asset-flow-arrow{color:var(--muted-2);place-items:center;display:grid}.asset-flow-arrow svg{width:17px}.analysis-review{scroll-margin-top:calc(var(--topbar) + 170px);margin-bottom:18px;overflow:hidden}.analysis-review-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:17px 18px 14px;display:flex}.analysis-review-heading h3{margin:4px 0 2px;font-size:18px}.analysis-review-heading p{color:var(--muted-2);margin:0;font-size:12px}.analysis-job-status{background:rgb(var(--accent-rgb) / .1);min-width:52px;color:var(--blue);text-align:center;border-radius:8px;padding:8px 10px;font-size:14px;font-weight:800}.analysis-job-status.status-succeeded{background:var(--lime-soft);color:var(--lime)}.analysis-job-status.status-failed,.analysis-job-status.status-unknown{color:var(--red);background:#ff72721a}.analysis-warning{border:1px solid rgb(var(--accent-rgb) / .12);background:rgb(var(--accent-rgb) / .05);color:#9ea1a4;border-radius:8px;align-items:flex-start;gap:7px;margin:12px 18px 0;padding:9px 11px;font-size:12px;line-height:1.55;display:flex}.analysis-warning svg{flex:none;width:13px}.analysis-candidate-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:14px 18px;display:grid}.analysis-candidate{border:1px solid var(--line);background:#121213;border-radius:12px;justify-content:space-between;align-items:flex-start;gap:14px;min-width:0;padding:16px;display:flex}.analysis-candidate.candidate-accepted,.analysis-candidate.candidate-merged{border-color:rgb(var(--accent-rgb) / .14);opacity:.74}.analysis-candidate.candidate-rejected{opacity:.5}.candidate-copy{grid-template-columns:auto 1fr;align-items:center;gap:3px 7px;min-width:0;display:grid}.candidate-copy>span{background:rgb(var(--accent-rgb) / .1);color:var(--purple);border-radius:5px;padding:3px 6px;font-size:11px}.candidate-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.candidate-copy p,.candidate-copy small{color:var(--muted-2);grid-column:1/-1;margin:5px 0 0;font-size:14px;line-height:1.55}.candidate-copy small{color:#71808a}.candidate-copy .candidate-duplicate{color:var(--amber);font-weight:650}.candidate-copy details{grid-column:1/-1;margin-top:8px}.candidate-copy summary{cursor:pointer;width:max-content;color:var(--blue);font-size:14px;font-weight:650}.candidate-evidence-list{border:1px solid var(--line);background:var(--panel-2);color:var(--muted);border-radius:10px;gap:8px;margin-top:10px;padding:12px;font-size:14px;line-height:1.55;display:grid}.candidate-evidence-list strong{white-space:normal;font-size:14px}.candidate-evidence-list p,.candidate-evidence-list blockquote{white-space:normal;margin:0}.candidate-evidence-list blockquote{border-left:3px solid var(--lime);color:var(--text);padding-left:10px}.candidate-evidence-list ul{gap:5px;margin:0;padding-left:20px;display:grid}.candidate-actions{flex:none;align-items:center;gap:6px;display:flex}.candidate-actions button{border:1px solid var(--line);height:30px;color:var(--muted);background:#1b1c1c;border-radius:7px;padding:0 10px;font-size:12px}.candidate-actions button.accept{border-color:rgb(var(--accent-rgb) / .18);background:var(--lime-soft);color:var(--lime)}.candidate-actions>span{color:var(--lime);font-size:12px}.analysis-candidate-empty{min-height:80px;color:var(--muted-2);grid-column:1/-1;justify-content:center;align-items:center;gap:8px;font-size:13px;display:flex}.analysis-candidate-empty svg{width:16px}.analysis-review-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding:10px 18px;font-size:12px;display:flex}.analysis-review-footer small{color:var(--muted-2)}.asset-bulk-history{margin-bottom:18px;overflow:hidden}.asset-bulk-history-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.asset-bulk-history-heading h3{margin:4px 0 2px;font-size:18px}.asset-bulk-history-heading p{color:var(--muted-2);margin:0;font-size:14px}.asset-bulk-history-heading>span{color:var(--muted-2);font-size:13px}.asset-bulk-history-error{color:var(--red);margin:12px 18px 0;font-size:14px}.asset-bulk-run-list{gap:8px;padding:12px 18px 16px;display:grid}.asset-bulk-run{border:1px solid var(--line);background:var(--panel-2);border-radius:11px;overflow:hidden}.asset-bulk-run[open]{border-color:var(--line-strong)}.asset-bulk-run>summary{cursor:pointer;grid-template-columns:34px minmax(220px,1fr) 54px 54px 150px;align-items:center;gap:12px;min-height:66px;padding:10px 13px;list-style:none;display:grid}.asset-bulk-run>summary::-webkit-details-marker{display:none}.asset-bulk-run-icon{background:rgb(var(--accent-rgb) / .1);width:32px;height:32px;color:var(--blue);border-radius:9px;place-items:center;display:grid}.asset-bulk-run.status-succeeded .asset-bulk-run-icon{background:var(--lime-soft);color:var(--lime)}.asset-bulk-run.status-failed .asset-bulk-run-icon,.asset-bulk-run.status-partial .asset-bulk-run-icon{color:var(--red);background:#ff72721a}.asset-bulk-run-icon svg{width:15px}.asset-bulk-run-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.asset-bulk-run-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.asset-bulk-run-copy small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.asset-bulk-run-count{flex-direction:column;align-items:center;display:flex}.asset-bulk-run-count strong{color:var(--lime);font-size:18px}.asset-bulk-run-count.failed strong{color:var(--red)}.asset-bulk-run-count small{color:var(--muted-2);font-size:11px}.asset-bulk-run-progress{background:var(--line);border-radius:999px;height:7px;position:relative;overflow:visible}.asset-bulk-run-progress i{border-radius:inherit;background:var(--lime);position:absolute;inset:0 auto 0 0}.asset-bulk-run-progress small{color:var(--muted-2);font-size:11px;position:absolute;bottom:10px;right:0}.asset-bulk-run-detail{border-top:1px solid var(--line);gap:10px;padding:12px 13px 13px 59px;display:grid}.asset-bulk-run-detail>p{color:var(--muted-2);flex-wrap:wrap;gap:6px 16px;margin:0;font-size:12px;display:flex}.asset-bulk-unknown{border:1px solid rgb(var(--accent-rgb) / .22);background:rgb(var(--accent-rgb) / .07);color:var(--amber);border-radius:8px;align-items:center;gap:7px;padding:9px 10px;font-size:13px;display:flex}.asset-bulk-unknown svg{width:14px}.asset-bulk-batches{gap:6px;display:grid}.asset-bulk-batches>div{border:1px solid var(--line);border-radius:8px;grid-template-columns:34px minmax(140px,1fr) minmax(180px,1fr) auto;align-items:center;gap:8px;min-height:38px;padding:6px 9px;display:grid}.asset-bulk-batches>div>span{color:var(--muted-2);font-size:12px}.asset-bulk-batches>div>strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.asset-bulk-batches>div>small{color:var(--muted-2);font-size:12px}.asset-bulk-batches>div>b{color:var(--muted);font-size:12px;font-weight:650}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.asset-library-page{width:100%;max-width:1540px;margin:0 auto;padding-top:34px}.asset-library-toolbar{justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px;display:flex}.asset-library-tabs{scrollbar-width:none;align-items:center;gap:24px;min-width:0;display:flex;overflow-x:auto}.asset-library-tabs::-webkit-scrollbar{display:none}.asset-library-tabs button{min-height:48px;color:var(--muted);white-space:nowrap;background:0 0;flex:none;align-items:center;gap:7px;padding:0 4px;font-size:16px;font-weight:650;display:flex;position:relative}.asset-library-tabs button:after{content:"";background:0 0;border-radius:2px;height:2px;position:absolute;bottom:0;left:0;right:0}.asset-library-tabs button.active{color:var(--text)}.asset-library-tabs button.active:after{background:var(--text)}.asset-library-tabs button span{background:var(--panel-3);min-width:22px;height:22px;color:var(--muted-2);border-radius:999px;place-items:center;padding:0 5px;font-size:12px;display:grid}.asset-library-actions{flex:none;align-items:center;gap:9px;display:flex}.asset-library-actions>button,.asset-library-more>summary{border:1px solid var(--line);background:var(--panel);min-height:42px;color:var(--text);border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:0 15px;font-size:14px;font-weight:700;display:inline-flex}.asset-library-actions svg{width:16px}.asset-review-launch.has-pending{border-color:color-mix(in srgb, var(--amber) 34%, var(--line));color:var(--amber)}.asset-review-launch.is-running{border-color:color-mix(in srgb, var(--lime) 48%, var(--line));background:var(--lime-soft);color:var(--lime)}.asset-generate-button{border-color:color-mix(in srgb, var(--lime) 56%, var(--line))!important;background:var(--lime)!important;color:#121314!important}.asset-generate-button:disabled{opacity:.46}.asset-storyboard-button{color:#fff!important;background:#18191a!important;border-color:#18191a!important}.asset-library-more{position:relative}.asset-library-more>summary{cursor:pointer;width:42px;padding:0;list-style:none}.asset-library-more>summary::-webkit-details-marker{display:none}.asset-library-more[open]>summary{border-color:var(--line-strong)}@media (width<=1340px){.asset-library-toolbar{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:18px}.asset-library-tabs{gap:18px}.asset-library-actions{flex-wrap:wrap;width:100%}.asset-library-actions>button{flex:1}}.asset-library-more>div{z-index:45;border:1px solid var(--line);background:var(--panel);border-radius:13px;gap:4px;width:190px;padding:7px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 50px #0003}.asset-library-more>div button{min-height:38px;color:var(--muted);text-align:left;background:0 0;border-radius:8px;align-items:center;gap:9px;padding:0 11px;display:flex}.asset-library-more>div button:hover{background:var(--panel-3);color:var(--text)}.asset-library-running{border:1px solid color-mix(in srgb, var(--lime) 40%, var(--line));background:color-mix(in srgb, var(--lime) 7%, var(--panel));width:100%;min-height:58px;color:var(--text);text-align:left;box-shadow:0 12px 34px rgb(var(--accent-rgb) / .08);border-radius:13px;grid-template-columns:34px auto minmax(160px,1fr) auto 140px 18px;align-items:center;gap:11px;margin:-8px 0 24px;padding:10px 14px;display:grid}.asset-library-running>span{background:var(--lime-soft);width:32px;height:32px;color:var(--lime);border-radius:10px;place-items:center;display:grid;position:relative}.asset-library-running>span svg{width:16px}.asset-library-running>span i{border:2px solid var(--panel);background:var(--lime);border-radius:50%;width:9px;height:9px;animation:1.5s ease-in-out infinite analysis-running-pulse;position:absolute;top:-3px;right:-3px}.asset-library-running strong{font-size:15px}.asset-library-running small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.asset-library-running>b{color:var(--lime);font-size:17px}.asset-library-running>em{background:var(--line);border-radius:999px;height:6px;position:relative;overflow:hidden}.asset-library-running>em i{border-radius:inherit;background:linear-gradient(90deg, var(--blue), var(--lime));position:absolute;inset:0 auto 0 0}.asset-library-running>svg{width:16px;color:var(--muted)}.asset-library-running.is-unknown{border-color:color-mix(in srgb, var(--amber) 55%, var(--line));background:color-mix(in srgb, var(--amber) 9%, var(--panel))}.asset-library-running.is-unknown>span{background:color-mix(in srgb, var(--amber) 16%, var(--panel));color:var(--amber)}.asset-library-running.is-unknown>b{color:var(--amber)}.asset-library-running.is-unknown>em i{background:var(--amber)}.asset-review-backdrop{padding:3vh 24px}.modal.asset-review-modal{flex-direction:column;width:min(1280px,100%);max-height:94vh;padding:0;display:flex;overflow:hidden}.asset-review-modal .asset-review-modal-heading{border-bottom:1px solid var(--line);flex:none;margin:0;padding:22px 24px 17px}.asset-review-controls{border-bottom:1px solid var(--line);background:var(--panel-2);flex:none;justify-content:space-between;align-items:end;gap:14px;padding:14px 24px;display:flex}.asset-review-controls>label{min-width:min(520px,54vw);color:var(--muted);gap:6px;font-size:13px;display:grid}.asset-review-controls select{border:1px solid var(--line-strong);background:var(--panel);width:100%;min-height:42px;color:var(--text);font:inherit;border-radius:9px;outline:0;padding:0 11px}.asset-review-controls>div{gap:8px;display:flex}.asset-review-controls button{min-height:42px}.asset-review-model{align-content:end;gap:3px;min-width:min(520px,54vw);display:grid}.asset-review-model>span{color:var(--muted);font-size:13px}.asset-review-model>strong{color:var(--text);overflow-wrap:anywhere;font-size:15px;font-weight:650;line-height:1.35}.asset-review-model>small{color:var(--muted-2);font-size:12px;line-height:1.5}.asset-review-running{border:1px solid color-mix(in srgb, var(--lime) 36%, var(--line));background:color-mix(in srgb, var(--lime) 7%, var(--panel));border-radius:11px;flex:none;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:11px;margin:12px 24px 0;padding:11px 13px;display:grid}.asset-review-running>span{background:var(--lime-soft);width:32px;height:32px;color:var(--lime);border-radius:9px;place-items:center;display:grid}.asset-review-running svg{width:16px}.asset-review-running>div{gap:2px;display:grid}.asset-review-running small{color:var(--muted);font-size:12px}.asset-review-running>b{color:var(--lime);font-size:18px}.asset-review-running>button{border:1px solid var(--line);background:var(--panel);min-height:32px;color:var(--text);border-radius:8px;padding:0 10px}.analysis-unknown-resolution{border:1px solid color-mix(in srgb, var(--amber) 42%, var(--line));background:color-mix(in srgb, var(--amber) 7%, var(--panel));border-radius:11px;flex:none;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;margin:12px 24px 0;padding:12px 14px;display:grid}.analysis-unknown-resolution>span{background:color-mix(in srgb, var(--amber) 16%, var(--panel));width:32px;height:32px;color:var(--amber);border-radius:9px;place-items:center;display:grid}.analysis-unknown-resolution svg{width:16px}.analysis-unknown-resolution>div:nth-child(2){gap:3px;display:grid}.analysis-unknown-resolution p{color:var(--text);margin:0;font-size:13px}.analysis-unknown-resolution small{color:var(--muted);font-size:12px;line-height:1.5}.analysis-unknown-resolution>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.analysis-unknown-resolution button{min-height:36px;padding:0 11px}.asset-review-modal-body{flex:1;min-height:0;padding:16px 24px 4px;overflow-y:auto}.asset-review-modal-body>.analysis-review,.asset-review-modal-body>.asset-bulk-history{box-shadow:none;margin-bottom:14px}.asset-review-modal .asset-review-modal-actions{background:var(--panel-2);flex:none;justify-content:space-between;align-items:center;margin:0;padding:14px 24px}.asset-review-modal-actions>span{color:var(--muted);font-size:13px}.asset-summary-row{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px;display:grid}.summary-card{border:1px solid var(--line);background:var(--panel);border-radius:11px;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;padding:14px;display:grid}.summary-icon{border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.summary-icon svg{width:17px}.summary-icon.lime{background:var(--lime-soft);color:var(--lime)}.summary-icon.blue{background:rgb(var(--accent-rgb) / .1);color:var(--blue)}.summary-icon.amber{background:rgb(var(--accent-rgb) / .1);color:var(--amber)}.summary-icon.purple{background:rgb(var(--accent-rgb) / .1);color:var(--purple)}.summary-card>div{flex-direction:column;display:flex}.summary-card small{color:var(--muted-2);font-size:12px}.summary-card strong{margin-top:2px;font-size:20px}.summary-card>b{color:#718078;font-size:11px;font-weight:500}.asset-toolbar{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.segmented-tabs{border:1px solid var(--line);background:#121213;border-radius:10px;gap:3px;padding:3px;display:flex}.segmented-tabs button{height:31px;color:var(--muted);background:0 0;border-radius:7px;align-items:center;gap:6px;padding:0 12px;font-size:13px;display:flex}.segmented-tabs button.active{color:#fff;background:#292b2c}.segmented-tabs span{color:var(--muted-2);font-size:11px}.segmented-tabs .active span{color:var(--lime)}.asset-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.asset-empty-state{min-height:320px;color:var(--muted-2);text-align:center;border:1px dashed #3d3f41;border-radius:8px;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:7px;display:flex}.asset-empty-state>span{background:#1e1f20;border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.asset-empty-state svg{width:17px}.asset-empty-state strong{color:#bbc3c7;font-size:14px}.asset-empty-state small{font-size:12px}.asset-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;min-width:0;transition:border-color .16s,box-shadow .16s,transform .16s;position:relative;overflow:hidden}.asset-card:hover{border-color:var(--line-strong);transform:translateY(-2px);box-shadow:0 14px 30px #00000021}.asset-card-interactive{cursor:pointer}.asset-card-interactive:focus-visible{z-index:21;outline:3px solid color-mix(in srgb, var(--lime) 38%, transparent);outline-offset:3px}.asset-visual{aspect-ratio:16/9;background:#151616;height:auto;position:relative;overflow:hidden}.asset-card>.asset-visual{border-radius:7px 7px 0 0}.asset-visual:before{z-index:1;content:"";background:linear-gradient(#0000 55%,#050708a6);position:absolute;inset:0}.asset-approved-image{object-fit:cover;object-position:center;background:var(--panel-3);opacity:1;width:100%;height:100%;transition:opacity .16s;display:block;position:absolute;inset:0}.asset-approved-image.is-loading,.asset-approved-image.is-hidden{opacity:0}.asset-preview-placeholder{background:var(--panel-3);position:absolute;inset:0;overflow:hidden}.asset-preview-placeholder>span{background:linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--text) 7%, transparent) 48%, transparent 66%);animation:1.25s ease-in-out infinite asset-preview-shimmer;position:absolute;inset:0;transform:translate(-100%)}@keyframes asset-preview-shimmer{to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.asset-preview-placeholder>span{animation:none;transform:none}}.asset-preview-recovery{z-index:2;color:#dddede;text-align:center;background:linear-gradient(145deg,#191a1a,#111213);align-content:center;justify-items:center;gap:5px;padding:18px;display:grid;position:absolute;inset:0}.asset-preview-recovery>span{border:2px solid #ffffff2e;border-top-color:var(--lime);border-radius:50%;width:24px;height:24px;animation:.8s linear infinite asset-preview-spin}@keyframes asset-preview-spin{to{transform:rotate(360deg)}}.asset-preview-recovery svg{width:22px;color:var(--amber)}.asset-preview-recovery strong{font-size:13px}.asset-preview-recovery small{color:#899397;font-size:11px}.asset-preview-recovery button{border:1px solid var(--line-strong);background:var(--panel-3);color:var(--text);cursor:pointer;border-radius:7px;margin-top:4px;padding:5px 9px;font-size:11px}.asset-preview-recovery button:hover{border-color:var(--lime);color:var(--lime)}.asset-approved-image~.visual-subject{display:none}.asset-kind{z-index:3;background:rgb(var(--accent-rgb) / .7);color:#e0e0e0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid #ffffff14;border-radius:5px;padding:4px 7px;font-size:11px;position:absolute;top:10px;left:10px}.asset-more{z-index:3;background:rgb(var(--accent-rgb) / .68);color:#b7c0c5;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:7px;place-items:center;width:26px;height:26px;display:grid;position:absolute;top:8px;right:8px}.asset-more svg{width:14px}.visual-subject{position:absolute;inset:0}.portrait-one{background:radial-gradient(circle at 48% 25%,#8b9695 0 8%,#0000 8.5%),linear-gradient(135deg,#607075,#222324 70%)}.portrait-two{background:radial-gradient(circle at 52% 24%,#8f9295 0 8%,#0000 8.5%),linear-gradient(135deg,#776e64,#21262a 68%)}.portrait-three{background:radial-gradient(circle at 48% 25%,#888c8f 0 8%,#0000 8.5%),linear-gradient(145deg,#6a7b80,#2d2e2f 65%)}.asset-visual[class*=portrait] .visual-subject span{background:linear-gradient(90deg,#171819,#2e3031 48%,#131414);border-radius:42px 42px 12px 12px;width:76px;height:151px;position:absolute;bottom:-16px;left:50%;transform:translate(-50%)}.asset-visual[class*=portrait] .visual-subject span:before{content:"";background:linear-gradient(160deg,#a4a6a9,#795e52);border-radius:45% 45% 48% 48%;width:41px;height:51px;position:absolute;top:-34px;left:18px;box-shadow:inset 0 12px 0 -4px #191a1a}.portrait-two .visual-subject span{background:linear-gradient(90deg,#70808b,#a2a5a8 45%,#5c5f62)!important}.portrait-three .visual-subject span{background:linear-gradient(90deg,#38393b,#909397 45%,#353738)!important}.scene-one{background:linear-gradient(170deg,#b7c0c2 0 28%,#727e80 28% 31%,#a8adab 31% 55%,#454f52 55%)}.scene-two{background:linear-gradient(110deg,#9ba5a6 0 17%,#38393b 17% 22%,#c1c7c6 22% 58%,#536165 58% 63%,#9da5a4 63%)}.asset-visual[class*=scene] .visual-subject:before{content:"";perspective:100px;background:repeating-linear-gradient(90deg,#2c2d2e 0 36px,#647075 36px 39px);height:36px;position:absolute;bottom:18%;left:9%;right:9%;transform:skew(-7deg);box-shadow:0 26px 0 -9px #30393d}.prop-one{background:radial-gradient(circle,#dde0de 0 40%,#8a9292 40.5%,#454c4d)}.prop-two{background:radial-gradient(circle,#e2e5e3 0 40%,#909798 40.5%,#43494a)}.asset-visual[class*=prop] .visual-subject span{background:linear-gradient(100deg,#171a1b,#323738 55%,#111314);border-radius:17px 17px 10px 10px;width:70px;height:112px;position:absolute;top:38px;left:50%;transform:translate(-50%);box-shadow:15px 5px 22px #00000047}.asset-visual.prop-one .visual-subject span:after{content:"";border:5px solid #151818;border-bottom:0;border-radius:18px 18px 0 0;width:33px;height:23px;position:absolute;top:-15px;left:18px}.asset-visual.prop-two .visual-subject span{border:3px solid #0e1011;border-radius:9px;width:55px;height:117px;background:linear-gradient(140deg,#1c1d1e,#010203)!important}.wardrobe-one{background:linear-gradient(145deg,#6f7a78,#252d2f)}.wardrobe-one .visual-subject span{clip-path:polygon(25% 0,44% 10%,56% 10%,75% 0,100% 25%,82% 44%,75% 100%,25% 100%,18% 44%,0 25%);background:linear-gradient(90deg,#1a1e20,#394044,#171a1c);border-radius:38px 38px 12px 12px;width:86px;height:151px;position:absolute;top:27px;left:50%;transform:translate(-50%)}.asset-copy{align-content:center;gap:3px;min-width:0;min-height:60px;padding:10px 12px 11px;display:grid}.asset-copy>div:first-child{justify-content:space-between;align-items:center;gap:8px;display:flex}.asset-copy h3{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:14px;overflow:hidden}.asset-status{border-radius:5px;flex:none;padding:3px 6px;font-size:11px}.asset-status-overlay{z-index:4;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid #ffffff1f;position:absolute;top:10px;right:10px}.status-已确认{background:var(--lime-soft);color:var(--lime)}.status-待确认{background:rgb(var(--accent-rgb) / .1);color:var(--amber)}.status-需修改{color:var(--red);background:#ff72721a}.asset-copy p{min-width:0;color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;overflow:hidden}.asset-card-entry{border-top:1px solid var(--line);min-height:34px;color:var(--muted);align-items:center;gap:7px;padding-top:9px;font-size:13px;font-weight:650;display:flex}.asset-card-entry svg{width:14px}.asset-card-entry svg:last-child{width:13px;margin-left:auto;transition:transform .15s}.asset-card:hover .asset-card-entry{color:var(--lime)}.asset-card:hover .asset-card-entry svg:last-child{transform:translate(3px)}.asset-add-card{background:rgb(var(--accent-rgb) / .5);min-height:273px;color:var(--muted-2);border:1px dashed #3d3f41;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.asset-add-card:hover{border-color:rgb(var(--accent-rgb) / .4);background:rgb(var(--accent-rgb) / .025);color:var(--lime)}.asset-add-card>span{border:1px solid #3d3f41;border-radius:50%;place-items:center;width:37px;height:37px;display:grid}.asset-add-card svg{width:16px}.asset-add-card strong{color:#b6bec3;margin-top:6px;font-size:14px}.asset-add-card small{font-size:12px}.episode-video-page{max-width:1460px;margin:0 auto}.episode-video-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px;display:grid}.episode-video-summary>div{border:1px solid var(--line);background:var(--panel);border-radius:13px;flex-direction:column;justify-content:center;gap:3px;min-height:76px;padding:13px 16px;display:flex}.episode-video-summary strong{font-size:24px;line-height:1}.episode-video-summary span{color:var(--muted);font-size:13px}.episode-video-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.episode-video-card{border:1px solid var(--line);background:var(--panel);min-height:260px;box-shadow:0 16px 40px rgb(var(--accent-rgb) / .045);border-radius:18px;grid-template-columns:minmax(170px,.72fr) minmax(0,1.45fr);display:grid;overflow:hidden}.episode-video-card.current{border-color:rgb(var(--accent-rgb) / .48);box-shadow:0 18px 45px rgb(var(--accent-rgb) / .1)}.episode-video-cover{background:var(--panel-3);place-items:center;min-height:100%;display:grid;position:relative;overflow:hidden}.episode-video-cover>img{object-fit:cover;width:100%;height:100%;min-height:260px}.episode-video-cover>span{color:var(--muted);text-align:center;place-items:center;gap:8px;display:grid}.episode-video-cover>span svg{width:30px}.episode-video-cover>span small{font-size:12px}.episode-video-cover>b,.episode-video-cover>em{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#131813c7;border-radius:7px;padding:5px 8px;font-size:12px;font-style:normal;position:absolute}.episode-video-cover>b{top:11px;left:11px}.episode-video-cover>em{bottom:11px;right:11px}.episode-video-copy{flex-direction:column;min-width:0;padding:17px;display:flex}.episode-video-copy>header{align-items:center;gap:7px;display:flex}.episode-video-copy>header>b{color:var(--lime);font-size:12px}.episode-video-status{background:var(--panel-3);color:var(--muted);border-radius:999px;padding:4px 7px;font-size:12px}.episode-video-status.status-complete{background:var(--lime-soft);color:var(--lime)}.episode-video-status.status-review{background:rgb(var(--accent-rgb) / .09);color:var(--amber)}.episode-video-copy h2{text-overflow:ellipsis;white-space:nowrap;margin:10px 0 5px;font-size:20px;overflow:hidden}.episode-video-copy>p{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.episode-video-progress{background:var(--panel-3);border-radius:999px;height:7px;margin-top:15px;position:relative;overflow:hidden}.episode-video-progress>i{border-radius:inherit;background:var(--lime);position:absolute;inset:0 auto 0 0}.episode-video-progress>span{color:var(--muted-2);font-size:11px;position:absolute;top:10px;left:0}.episode-video-next{width:100%;color:inherit;text-align:left;background:0 0;align-items:center;gap:8px;margin-top:25px;padding:0;display:flex}.episode-video-next>svg{width:16px;color:var(--lime);flex:none}.episode-video-next>span{gap:1px;display:grid}.episode-video-next small{color:var(--muted-2);font-size:11px}.episode-video-next strong{font-size:13px}.episode-video-next:hover strong{color:var(--lime-2)}.episode-video-alerts{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.episode-video-alerts span{background:rgb(var(--accent-rgb) / .08);color:var(--amber);border-radius:6px;padding:4px 7px;font-size:11px}.episode-video-alerts span.error{color:var(--red);background:#c4404014}.episode-video-copy>footer{gap:8px;margin-top:auto;padding-top:15px;display:flex}.episode-video-copy>footer button{min-height:38px}.episode-video-empty{text-align:center;grid-column:1/-1;align-content:center;place-items:center;gap:10px;min-height:280px;padding:30px;display:grid}.episode-video-empty>svg{width:34px;color:var(--muted)}.episode-video-empty p{color:var(--muted);margin:0 0 6px}.view-switch{border:1px solid var(--line);background:#121213;border-radius:9px;min-width:130px;padding:3px;display:flex}.view-switch button{min-width:61px;height:32px;color:var(--muted);background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:13px;display:flex}.view-switch button.active{color:#fff;background:#2d2e2f}.view-switch svg{width:14px}.storyboard-version-strip{border:1px solid var(--line);background:rgb(var(--accent-rgb) / .72);border-radius:12px;margin-bottom:14px;padding:13px}.storyboard-version-heading{justify-content:space-between;align-items:end;gap:14px;margin-bottom:10px;display:flex}.storyboard-version-heading>div{align-items:baseline;gap:9px;display:flex}.storyboard-version-heading strong{font-size:15px}.storyboard-version-heading small{color:var(--muted-2);font-size:11px}.storyboard-version-list{gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.storyboard-version-list button{border:1px solid var(--line);min-width:154px;color:var(--muted);text-align:left;background:#151616;border-radius:9px;flex-direction:column;gap:5px;padding:10px;display:flex}.storyboard-version-list button:hover:not(:disabled){border-color:rgb(var(--accent-rgb) / .36);color:#fff}.storyboard-version-list button.current{border-color:rgb(var(--accent-rgb) / .38);background:var(--lime-soft);color:#fff}.storyboard-version-list button>span{justify-content:space-between;align-items:center;display:flex}.storyboard-version-list button strong{font-size:15px}.storyboard-version-list button b{color:var(--muted-2);background:#2c2d2e;border-radius:4px;padding:2px 5px;font-size:10px;font-weight:600}.storyboard-version-list button.current b{background:rgb(var(--accent-rgb) / .13);color:var(--lime)}.storyboard-version-list button small{font-size:11px}.storyboard-version-list button em{color:var(--muted-2);font-size:10px;font-style:normal}.storyboard-draft-warning{border:1px solid rgb(var(--accent-rgb) / .12);background:rgb(var(--accent-rgb) / .055);color:var(--amber);border-radius:8px;align-items:center;gap:7px;margin:-4px 0 12px;padding:9px 11px;font-size:12px;display:flex}.storyboard-draft-warning svg{width:13px}.empty-storyboard-actions{gap:8px;display:flex}.storyboard-mode-cards>.page-header{align-items:center;margin-bottom:12px}.storyboard-mode-cards>.page-header .eyebrow,.storyboard-mode-cards>.page-header p{display:none}.storyboard-mode-cards>.page-header h1{margin:0;font-size:27px}.storyboard-mode-cards>.storyboard-version-strip{align-items:center;gap:12px;margin-bottom:10px;padding:8px 10px;display:flex}.page-content.storyboard-mode-cards{max-width:1760px;padding-left:22px;padding-right:22px}.storyboard-mode-cards .storyboard-version-heading{min-width:118px;margin:0}.storyboard-mode-cards .storyboard-version-heading>div{gap:1px;display:grid}.storyboard-mode-cards .storyboard-version-heading>div .eyebrow,.storyboard-mode-cards .storyboard-version-heading>small{display:none}.storyboard-mode-cards .storyboard-version-list{flex:1;padding:0}.storyboard-mode-cards .storyboard-version-list button{gap:2px;min-width:138px;padding:6px 8px}.storyboard-mode-cards .storyboard-version-list button em{display:none}.storyboard-workspace{grid-template-columns:minmax(0,1fr) 330px;gap:14px;display:grid}.shot-list{flex-direction:column;gap:9px;min-width:0;display:flex}.shot-list-toolbar{justify-content:space-between;align-items:center;padding:8px 2px;display:flex}.shot-list-toolbar>div{align-items:center;gap:10px;display:flex}.shot-list-toolbar strong{font-size:15px}.shot-list-toolbar span{color:var(--muted-2);font-size:12px}.shot-list-toolbar>button,.append-shot{color:var(--lime);background:0 0;align-items:center;gap:5px;font-size:13px;display:flex}.shot-list-toolbar svg,.append-shot svg{width:13px}.shot-card{border:1px solid var(--line);background:var(--panel);text-align:left;border-radius:11px;grid-template-columns:20px 145px minmax(0,1fr) 25px;align-items:center;gap:13px;min-width:0;padding:10px;transition:all .15s;display:grid}.shot-card:hover{border-color:#404243}.shot-card.selected{border-color:rgb(var(--accent-rgb) / .45);background:linear-gradient(90deg, rgb(var(--accent-rgb) / .055), var(--panel) 42%);box-shadow:inset 3px 0 var(--lime)}.drag-handle{color:#4c555c;letter-spacing:-3px;font-size:16px}.shot-thumbnail{background:#2f3032;border-radius:8px;height:81px;display:block;position:relative;overflow:hidden}.shot-thumbnail:before,.node-preview:before,.inspector-preview:before{content:"";background:linear-gradient(145deg,#778385,#303132 58%,#171818);position:absolute;inset:0}.shot-thumbnail:after,.node-preview:after,.inspector-preview:after{content:"";background:#131415;border-radius:18px 18px 4px 4px;width:31px;height:63px;position:absolute;bottom:-4px;right:18%;box-shadow:-55px 13px 0 -5px #2e3031}.shot-thumbnail.has-frame:before,.shot-thumbnail.has-frame:after,.node-preview.has-frame:before,.node-preview.has-frame:after,.inspector-preview.has-frame:before,.inspector-preview.has-frame:after{display:none}.shot-thumbnail>img,.node-preview>img,.inspector-preview>img{z-index:1;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.shot-two:before{background:linear-gradient(125deg,#667374,#384447 55%,#1e1e1f)}.shot-three:before{background:linear-gradient(105deg,#3f4a4e 0 36%,#9da5a4 36% 39%,#424f52 39% 64%,#7c8788 64%)}.shot-four:before{background:linear-gradient(120deg,#8d9899,#3b474a 42%,#212224)}.shot-empty:before{background:repeating-linear-gradient(135deg,#252627 0 9px,#202021 9px 18px)}.shot-empty:after{display:none}.shot-thumbnail.shot-empty>span{opacity:1}.shot-thumbnail.shot-empty>span small,.inspector-preview.shot-empty>span b{background:rgb(var(--accent-rgb) / .72);color:#9ba6ac;border:1px solid #414446;border-radius:6px;padding:6px 9px;font-size:11px;font-weight:600}.shot-thumbnail>i{z-index:3;background:rgb(var(--accent-rgb) / .72);border-radius:5px;place-items:center;width:20px;height:20px;font-size:12px;font-style:normal;display:grid;position:absolute;top:6px;left:6px}.shot-thumbnail>b{z-index:3;background:rgb(var(--accent-rgb) / .72);border-radius:5px;padding:4px 6px;font-size:11px;position:absolute;top:6px;right:6px}.shot-thumbnail>span{z-index:3;opacity:0;place-items:center;transition:all .15s;display:grid;position:absolute;inset:0}.shot-thumbnail>span svg{background:rgb(var(--accent-rgb) / .7);border-radius:50%;width:26px;padding:6px}.shot-card:hover .shot-thumbnail>span{opacity:1}.shot-card-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.shot-card-copy>span{justify-content:space-between;align-items:center;gap:10px;display:flex}.shot-card-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.shot-status{border-radius:5px;flex:none;padding:3px 6px;font-size:11px;font-style:normal}.status-已出图{background:var(--lime-soft);color:var(--lime)}.status-待出图{background:rgb(var(--accent-rgb) / .1);color:var(--blue)}.status-草稿{color:var(--muted);background:#292b2c}.status-状态异常{color:var(--red);background:#ff72721a}.shot-card-copy small{color:var(--muted-2);font-size:11px}.shot-card-copy p{color:#9ba5aa;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:1px 0;font-size:12px;line-height:1.55;display:-webkit-box;overflow:hidden}.shot-card-copy>b{color:#718078;font-size:11px;font-weight:500}.shot-actions{color:var(--muted-2)}.shot-actions svg{width:15px}.append-shot{border:1px dashed #3a3c3e;border-radius:10px;justify-content:center;min-height:45px}.append-shot:hover{border-color:rgb(var(--accent-rgb) / .4);background:rgb(var(--accent-rgb) / .025)}.storyboard-workspace.mode-cards{display:block}.episode-shot-editor{grid-template-columns:210px minmax(430px,1fr) 300px;grid-template-areas:"assets main preview""timeline timeline timeline";align-items:start;gap:12px;display:grid}.shot-editor-assets,.shot-editor-main,.shot-editor-preview-panel,.shot-editor-timeline{border:1px solid var(--line);background:var(--panel);border-radius:14px}.shot-editor-assets{grid-area:assets;height:min(720px,100vh - 250px);overflow:hidden}.shot-editor-assets>header,.shot-editor-preview-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:13px;display:flex}.shot-editor-assets>header strong{font-size:15px}.shot-editor-assets>header span{color:var(--muted);font-size:12px}.shot-editor-asset-kinds{border-bottom:1px solid var(--line);gap:5px;padding:9px;display:flex;overflow-x:auto}.shot-editor-asset-kinds span{background:var(--panel-2);color:var(--muted);border-radius:999px;flex:none;padding:4px 7px;font-size:11px}.shot-editor-asset-list{gap:6px;max-height:calc(100% - 94px);padding:8px;display:grid;overflow-y:auto}.shot-editor-asset-list article{background:var(--panel-2);border:1px solid #0000;border-radius:10px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:6px;display:grid}.shot-editor-asset-list article.linked{border-color:rgb(var(--accent-rgb) / .34);background:var(--lime-soft)}.shot-editor-asset-list img,.shot-editor-asset-list article>i{background:var(--panel-3);width:48px;height:54px;color:var(--muted);border-radius:8px;place-items:center;display:grid;overflow:hidden}.shot-editor-asset-list img{object-fit:cover}.shot-editor-asset-list article>i svg{width:18px}.shot-editor-asset-list article>span{gap:3px;min-width:0;display:grid}.shot-editor-asset-list strong,.shot-editor-asset-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shot-editor-asset-list strong{font-size:13px}.shot-editor-asset-list small{color:var(--muted);font-size:11px}.shot-editor-assets>p{color:var(--muted);margin:18px 12px;font-size:13px;line-height:1.6}.shot-editor-main{grid-area:main;height:min(720px,100vh - 250px);overflow-y:auto}.shot-editor-title{z-index:4;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--panel) 94%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;display:flex;position:sticky;top:0}.shot-editor-title>span{align-items:center;gap:9px;display:flex}.shot-editor-title b{background:var(--lime-soft);color:var(--lime);border-radius:6px;padding:4px 7px;font-size:11px}.shot-editor-title strong{font-size:16px}.shot-editor-title small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.episode-shot-editor .shot-inspector{background:0 0;border:0;border-radius:0;display:block;position:static;overflow:visible}.episode-shot-editor .shot-inspector .inspector-header,.episode-shot-editor .shot-inspector .inspector-preview,.episode-shot-editor .shot-inspector>.shot-frame-entry{display:none}.episode-shot-editor .shot-inspector>label,.episode-shot-editor .shot-inspector .field-grid,.episode-shot-editor .shot-source-evidence,.episode-shot-editor .linked-assets,.episode-shot-editor .inspector-actions{margin-left:15px;margin-right:15px}.episode-shot-editor .shot-structured-prompts,.episode-shot-editor .prompt-editor-loading,.episode-shot-editor .prompt-load-fallback{margin:12px 15px 0}.shot-editor-preview-panel{flex-direction:column;grid-area:preview;height:min(720px,100vh - 250px);display:flex;overflow:hidden}.shot-editor-preview-panel>header>span{gap:2px;display:grid}.shot-editor-preview-panel>header small{color:var(--lime);font-size:11px}.shot-editor-preview-panel>header strong{font-size:15px}.shot-editor-preview-panel>header>b{background:var(--panel-3);color:var(--muted);border-radius:6px;padding:4px 7px;font-size:11px}.shot-editor-stage{background:#e8e8e8;place-items:center;min-height:310px;display:grid;position:relative;overflow:hidden}.shot-editor-stage>img{object-fit:contain;width:100%;height:100%;min-height:310px}.shot-editor-stage>span{color:var(--muted);text-align:center;place-items:center;gap:7px;display:grid}.shot-editor-stage>span svg{width:30px}.shot-editor-stage>span strong{font-size:14px}.shot-editor-stage>span small{font-size:11px}.shot-editor-stage>em{background:rgb(var(--accent-rgb) / .76);color:#fff;border-radius:6px;padding:4px 7px;font-size:11px;font-style:normal;position:absolute;bottom:10px;right:10px}.shot-editor-production-state{grid-template-columns:1fr 1fr;gap:7px;padding:12px;display:grid}.shot-editor-production-state>div{background:var(--panel-2);border-radius:9px;gap:3px;padding:9px;display:grid}.shot-editor-production-state span{color:var(--muted);font-size:11px}.shot-editor-production-state strong{font-size:12px}.shot-editor-preview-panel>button{margin:0 12px 8px}.shot-editor-preview-panel>p{background:var(--panel-2);color:var(--muted);border-radius:8px;align-items:flex-start;gap:7px;margin:auto 12px 12px;padding:9px;font-size:11px;line-height:1.5;display:flex}.shot-editor-preview-panel>p svg{flex:none;width:13px}.shot-editor-timeline{z-index:8;box-shadow:0 16px 45px rgb(var(--accent-rgb) / .12);grid-area:timeline;padding:10px;position:sticky;bottom:10px}.shot-editor-timeline-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.shot-editor-timeline-heading>span{align-items:baseline;gap:8px;display:flex}.shot-editor-timeline-heading strong{font-size:13px}.shot-editor-timeline-heading small{color:var(--muted);font-size:11px}.timeline-reorder-hint{color:var(--lime);white-space:nowrap;font-size:10px;font-style:normal}.shot-editor-timeline-heading button{color:var(--lime);align-items:center;gap:5px;font-size:12px;display:flex}.shot-editor-timeline-heading svg{width:13px}.shot-editor-timeline>div:last-child{gap:8px;padding-bottom:2px;display:flex;position:relative;overflow-x:auto}.shot-editor-timeline>div:last-child>article{background:var(--panel-2);text-align:left;touch-action:pan-y;border:1px solid #0000;border-radius:9px;flex:none;gap:4px;width:130px;padding:5px;transition:transform .16s;display:grid}.shot-editor-timeline>div:last-child.timeline-editable>article{cursor:grab}.shot-editor-timeline>div:last-child.timeline-editable>article:active{cursor:grabbing}.shot-editor-timeline>div:last-child>article.selected{border-color:var(--lime);background:var(--lime-soft)}.shot-editor-timeline>div:last-child>article.timeline-dragging-card{z-index:6;opacity:.92;cursor:grabbing;border-color:var(--lime);box-shadow:0 10px 26px rgb(var(--accent-rgb) / .22);transition:none}.shot-editor-timeline>div:last-child>article>button{width:100%;min-width:0;color:inherit;text-align:left;background:0 0;border:0;gap:4px;padding:0;display:grid}.timeline-dragging{-webkit-user-select:none;user-select:none}.shot-editor-timeline>div:last-child>button.timeline-add-shot{border:1px dashed var(--line);width:74px;min-height:106px;color:var(--muted);cursor:pointer;background:0 0;border-radius:9px;flex:none;justify-content:center;align-self:stretch;align-items:center;gap:5px;font-size:11px;display:flex}.shot-editor-timeline>div:last-child>button.timeline-add-shot:hover{border-color:var(--lime);color:var(--lime);background:var(--lime-soft)}.shot-editor-timeline>div:last-child>button.timeline-add-shot:disabled{opacity:.5;cursor:not-allowed}.shot-editor-timeline>div:last-child>button.timeline-add-shot svg{width:14px}.shot-editor-timeline img{-webkit-user-drag:none}.timeline-drop-marker{z-index:5;background:var(--lime);width:3px;box-shadow:0 0 0 1px rgb(var(--accent-rgb) / .35);pointer-events:none;border-radius:2px;transition:left .12s;position:absolute;top:5px;bottom:5px}.shot-editor-timeline button>span{background:var(--panel-3);height:68px;color:var(--muted);border-radius:7px;place-items:center;display:grid;position:relative;overflow:hidden}.shot-editor-timeline button>span img{object-fit:cover;width:100%;height:100%}.shot-editor-timeline button>span svg{width:17px}.shot-editor-timeline button>span b,.shot-editor-timeline button>span em{background:rgb(var(--accent-rgb) / .74);color:#fff;border-radius:5px;padding:3px 5px;font-size:10px;font-style:normal;position:absolute}.shot-editor-timeline button>span b{top:5px;left:5px}.shot-editor-timeline button>span em{bottom:5px;right:5px}.shot-editor-timeline button>strong,.shot-editor-timeline button>small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shot-editor-timeline button>strong{font-size:11px}.shot-editor-timeline button>small{color:var(--muted);font-size:10px}.shot-inspector{border:1px solid var(--line);background:var(--panel);border-radius:13px;align-self:start;position:sticky;top:158px;overflow:hidden}.inspector-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 15px;display:flex}.inspector-header span{color:var(--lime);font-size:11px}.inspector-header h3{margin:3px 0 0;font-size:17px}.inspector-preview{background:#2f3032;height:178px;position:relative;overflow:hidden}.inspector-preview>span{z-index:3;color:#fff;place-items:center;display:grid;position:absolute;inset:0}.inspector-preview>span svg{background:rgb(var(--accent-rgb) / .55);border-radius:50%;width:33px;height:33px;padding:8px}.inspector-preview>small{z-index:3;background:rgb(var(--accent-rgb) / .62);border-radius:5px;padding:3px 6px;font-size:12px;position:absolute;bottom:9px;right:9px}.shot-frame-entry{border:1px solid rgb(var(--accent-rgb) / .16);background:rgb(var(--accent-rgb) / .045);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin:12px 15px 0;padding:10px;display:flex}.shot-frame-entry>div{flex-direction:column;gap:3px;min-width:0;display:flex}.shot-frame-entry strong{font-size:12px}.shot-frame-entry small{color:var(--muted-2);font-size:10px;line-height:1.45}.shot-frame-entry button{border:1px solid rgb(var(--accent-rgb) / .2);background:var(--lime-soft);height:29px;color:var(--lime);border-radius:6px;flex:none;align-items:center;gap:5px;padding:0 8px;font-size:11px;display:flex}.shot-frame-entry svg{width:11px}.shot-video-entry{border-color:rgb(var(--accent-rgb) / .18);background:rgb(var(--accent-rgb) / .045);margin-top:7px}.shot-video-entry button{border-color:rgb(var(--accent-rgb) / .22);background:rgb(var(--accent-rgb) / .08);color:#bebfc0}.shot-source-evidence{border:1px solid rgb(var(--accent-rgb) / .16);background:rgb(var(--accent-rgb) / .055);border-radius:8px;margin:12px 15px 0;padding:10px}.shot-source-evidence>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.shot-source-evidence span{color:var(--blue);font-size:11px;font-weight:600}.shot-source-evidence b{color:#9eabb2;font-size:11px;font-weight:500}.shot-source-evidence p{color:#c5cdd1;margin:7px 0 5px;font-size:12px;line-height:1.6}.shot-source-evidence small{color:var(--muted-2);font-size:10px}.shot-inspector>label,.modal>label,.modal>.new-project-file-field{flex-direction:column;gap:7px;margin:14px 15px 0;display:flex}.shot-inspector label>span,.modal label>span,.new-project-file-field>span{color:#aeb7bc;justify-content:space-between;align-items:center;font-size:12px;display:flex}.shot-inspector label>span b{color:var(--lime);font-size:11px;font-weight:500}.shot-inspector input,.shot-inspector select,.shot-inspector textarea,.modal input,.modal select,.modal textarea{border:1px solid var(--line-strong);color:#dcdcdd;background:#101011;border-radius:8px;outline:0;width:100%;font-size:13px}.shot-inspector input,.shot-inspector select,.modal input,.modal select{height:35px;padding:0 10px}.shot-inspector textarea{resize:vertical;min-height:112px;padding:10px;line-height:1.6}.field-grid{grid-template-columns:1fr 1fr;gap:9px;margin:14px 15px 0;display:grid}.field-grid label{flex-direction:column;gap:7px;min-width:0;display:flex}.linked-assets{margin:14px 15px 0}.linked-assets>span{color:#aeb7bc;font-size:12px}.linked-assets>small{color:var(--muted-2);margin-top:6px;font-size:11px;line-height:1.55;display:block}.linked-assets>div{gap:5px;margin-top:8px;display:flex}.linked-assets button{border:1px solid var(--line);height:27px;color:var(--muted);background:#1b1c1c;border-radius:6px;align-items:center;gap:5px;padding:0 7px;font-size:11px;display:flex}.linked-assets button i{border-radius:4px;width:16px;height:16px;display:block}.linked-assets button svg{width:11px}.linked-assets .asset-link-picker{flex-wrap:wrap}.linked-assets .asset-link-picker button{max-width:100%}.linked-assets .asset-link-picker button.selected{border-color:rgb(var(--accent-rgb) / .45);background:var(--lime-soft);color:var(--lime)}.linked-assets .asset-link-picker button:disabled:not(.selected){opacity:.42}.linked-assets .asset-link-picker button small{color:var(--muted-2);font-size:10px}.linked-assets .save-asset-links{border-color:rgb(var(--accent-rgb) / .2);width:100%;height:31px;color:var(--lime);justify-content:center;margin-top:8px}.linked-assets .asset-link-warning{color:var(--amber)}.inspector-actions{grid-template-columns:1fr 1fr;gap:8px;margin:16px 15px;display:grid}.inspector-actions button{padding:0 8px}.inspector-note{background:rgb(var(--accent-rgb) / .07);color:var(--amber);border-radius:8px;align-items:center;gap:7px;margin:14px 15px 0;padding:9px;font-size:11px;line-height:1.5;display:flex}.inspector-note svg{flex:none;width:13px}.inspector-error{margin-left:15px;margin-right:15px}.canvas-board{border:1px solid var(--line);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background-color:#101011;background-image:radial-gradient(#2f3031 1px,#0000 1px);background-size:20px 20px;border-radius:13px;min-height:640px;position:relative;overflow:auto}.canvas-board.is-panning{cursor:grabbing}.canvas-toolbar{z-index:5;border:1px solid var(--line-strong);background:#191a1a;border-radius:8px;align-items:center;height:32px;display:flex;position:absolute;top:12px;left:12px;overflow:hidden}.canvas-toolbar button{height:100%;color:var(--muted);background:0 0;padding:0 9px;font-size:13px}.canvas-toolbar button:hover{color:#fff}.canvas-toolbar button:disabled{color:#3d464c}.canvas-toolbar span{color:#aab3b8;padding:0 7px;font-size:12px}.canvas-toolbar i{background:var(--line-strong);width:1px;height:15px}.canvas-node-toolbar{z-index:6;scrollbar-width:thin;align-items:center;gap:6px;height:36px;display:flex;position:absolute;top:12px;left:228px;right:190px;overflow-x:auto}.canvas-node-toolbar>button,.canvas-node-toolbar>span{border:1px solid var(--line-strong);background:rgb(var(--accent-rgb) / .94);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);border-radius:8px;flex:none;align-items:center;height:34px;display:flex;overflow:hidden;box-shadow:0 5px 16px #00000029}.canvas-node-toolbar>button{color:#cdcece;white-space:nowrap;gap:6px;padding:0 10px;font-size:12px;font-weight:650}.canvas-node-toolbar>button svg{width:13px}.canvas-node-toolbar>button:hover:not(:disabled),.canvas-node-toolbar>button.active{border-color:rgb(var(--accent-rgb) / .4);background:rgb(var(--accent-rgb) / .11);color:var(--lime)}.canvas-node-toolbar button:disabled{cursor:not-allowed;opacity:.42}.canvas-node-toolbar>span select{border:0;border-right:1px solid var(--line);color:#b9c3c8;background:0 0;outline:0;width:132px;height:100%;padding:0 7px;font-size:12px}.canvas-node-toolbar>span button{height:100%;color:var(--lime);white-space:nowrap;background:0 0;padding:0 9px;font-size:12px;font-weight:650}.canvas-node-toolbar>span button:hover:not(:disabled){background:var(--lime-soft)}.canvas-inline-error,.canvas-link-hint{z-index:8;color:#ff9b9b;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#2a1516f0;border:1px solid #ff72724d;border-radius:8px;align-items:center;gap:10px;max-width:min(660px,100% - 190px);min-height:34px;padding:7px 10px;font-size:12px;line-height:1.45;display:flex;position:absolute;top:58px;left:12px;box-shadow:0 8px 24px #00000038}.canvas-inline-error button{color:inherit;background:#ffffff12;border-radius:5px;margin-left:auto;padding:1px 5px;font-size:16px}.canvas-link-hint{border-color:rgb(var(--accent-rgb) / .3);background:rgb(var(--accent-rgb) / .94);color:#c7c8c9;pointer-events:none}.canvas-edge-list{z-index:7;border:1px solid var(--line-strong);background:rgb(var(--accent-rgb) / .94);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);border-radius:8px;align-items:center;gap:5px;max-width:min(420px,46%);min-height:32px;padding:5px 6px;display:flex;position:absolute;top:58px;right:12px;overflow-x:auto;box-shadow:0 7px 20px #0000002b}.canvas-edge-list strong{color:var(--muted);flex:none;padding:0 5px;font-size:11px}.canvas-edge-list button{color:#e89898;background:#ff727212;border-radius:5px;flex:none;height:23px;padding:0 7px;font-size:10px}.canvas-edge-list button:hover:not(:disabled){background:#ff727224}.canvas-layout-status{z-index:5;background:rgb(var(--accent-rgb) / .88);color:var(--muted-2);pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid #5d6b7342;border-radius:7px;padding:5px 8px;font-size:11px;position:absolute;top:17px;right:14px}.canvas-layout-status.state-saving{color:var(--amber)}.canvas-layout-status.state-saved{border-color:rgb(var(--accent-rgb) / .2);color:var(--lime)}.canvas-layout-status.state-error{color:#ff8a8a;border-color:#ff6a6a38}.canvas-surface-viewport{min-width:100%;min-height:100%;position:relative}.canvas-surface{transform-origin:0 0;position:absolute;top:0;left:0}.canvas-scene-label{pointer-events:none;align-items:center;gap:9px;display:flex;position:absolute;top:70px;left:40px}.canvas-scene-label span{background:var(--lime-soft);color:var(--lime);border-radius:5px;padding:4px 7px;font-size:11px}.canvas-scene-label strong{font-size:14px}.canvas-scene-label small{color:var(--muted-2);font-size:11px}.canvas-lines{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.canvas-lines path{fill:none;stroke:#526059;stroke-width:1.4px;vector-effect:non-scaling-stroke}.canvas-lines path.sequence-edge{stroke-dasharray:4 4;opacity:.78}.canvas-lines path.manual-edge{stroke:#afb1b3;stroke-width:2px;filter:drop-shadow(0 0 3px rgb(var(--accent-rgb) / .22))}.canvas-node{z-index:3;text-align:left;touch-action:none;will-change:left, top;background:#191a1a;border:1px solid #37383a;border-radius:10px;flex-direction:column;width:155px;display:flex;position:absolute;overflow:hidden;box-shadow:0 10px 24px #00000040}.canvas-node.editable{cursor:grab}.canvas-node.read-only{cursor:default}.canvas-node.dragging{z-index:7;cursor:grabbing;box-shadow:0 18px 45px #00000080}.canvas-node.selected{border-color:var(--lime);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / .09), 0 12px 30px #00000059}.node-preview{background:#2c2e2f;height:88px;display:block;position:relative;overflow:hidden}.node-preview i{z-index:3;background:rgb(var(--accent-rgb) / .7);border-radius:5px;place-items:center;width:18px;height:18px;font-size:11px;font-style:normal;display:grid;position:absolute;top:6px;left:6px}.canvas-node>span:last-child{flex-direction:column;gap:3px;min-height:62px;padding:9px;display:flex;position:relative}.canvas-node strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.canvas-node small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.canvas-node b{color:var(--lime);font-size:11px;position:absolute;bottom:7px;right:7px}.canvas-support-node{z-index:3;background:rgb(var(--accent-rgb) / .97);color:#dcddde;text-align:left;cursor:grab;touch-action:none;will-change:left, top;border:1px solid #404243;border-radius:11px;outline:0;flex-direction:column;gap:8px;width:190px;min-height:126px;padding:13px;display:flex;position:absolute;overflow:hidden;box-shadow:0 11px 27px #00000042}.canvas-support-node:after{content:"";background:#849198;width:3px;position:absolute;top:0;bottom:0;left:0}.canvas-support-node.type-asset:after{background:var(--lime)}.canvas-support-node.type-reference:after{background:var(--blue)}.canvas-support-node.type-note:after{background:var(--amber)}.canvas-support-node>span{color:var(--muted);align-items:center;gap:6px;font-size:11px;font-weight:750;display:flex}.canvas-support-node>span svg{width:13px}.canvas-support-node>strong{color:#f0f0f1;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.canvas-support-node>small{color:#939fa5;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:11px;font-weight:450;line-height:1.55;display:-webkit-box;overflow:hidden}.canvas-support-node.selected{border-color:var(--lime);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / .1), 0 13px 32px #00000052}.canvas-support-node.dragging{z-index:8;cursor:grabbing;box-shadow:0 19px 48px #00000080}.canvas-add{z-index:4;width:32px;height:32px;color:var(--lime);background:#181819;border:1px dashed #4a575e;border-radius:50%;place-items:center;display:grid;position:absolute}.canvas-add svg{width:14px}.canvas-node-inspector .inspector-heading{border-bottom:1px solid var(--line);padding:14px 15px}.canvas-node-inspector .inspector-heading span{color:var(--lime);font-size:11px;display:block}.canvas-node-inspector .inspector-heading strong{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:17px;display:block;overflow:hidden}.canvas-node-source{border:1px solid rgb(var(--accent-rgb) / .18);background:rgb(var(--accent-rgb) / .06);border-radius:8px;align-items:center;gap:9px;margin:13px 15px 0;padding:10px;display:flex}.canvas-node-source>svg{width:14px;color:var(--blue)}.canvas-node-source>span{gap:3px;min-width:0;display:grid}.canvas-node-source strong{color:#d7d8d9;font-size:11px}.canvas-node-source small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.canvas-node-coordinate{color:var(--muted-2);margin:11px 15px 0;font-size:10px;line-height:1.55;display:block}.canvas-node-inspector .inspector-actions{grid-template-columns:1fr 1fr}.canvas-node-inspector .inspector-actions .primary-button{grid-column:1/-1}.generation-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:15px;display:grid}.shot-production-panel{overflow:hidden}.shot-production-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:15px;display:flex}.shot-production-heading>div{align-items:center;gap:10px;min-width:0;display:flex}.shot-production-heading>div>span:last-child{flex-direction:column;gap:4px;min-width:0;display:flex}.shot-production-heading strong{font-size:14px}.shot-production-heading small{color:var(--muted-2);font-size:11px;line-height:1.5}.production-stage{color:var(--muted);background:#89959e1a;border-radius:6px;flex:none;padding:4px 7px;font-size:11px;font-weight:600}.production-stage.state-complete{background:var(--lime-soft);color:var(--lime)}.production-stage.state-action_required{background:rgb(var(--accent-rgb) / .1);color:var(--amber)}.production-stage.state-blocked{color:var(--red);background:#ff72721a}.shot-production-summary{border-bottom:1px solid var(--line);background:var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;display:grid}.shot-production-summary>div{background:#141516;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:11px 15px;display:grid}.shot-production-summary span{color:var(--muted);font-size:11px}.shot-production-summary strong{color:#dedede;font-variant-numeric:tabular-nums;grid-area:1/2/3;align-self:center;font-size:18px}.shot-production-summary small{color:var(--muted-2);font-size:11px}.shot-production-gate{border:1px solid rgb(var(--accent-rgb) / .16);background:rgb(var(--accent-rgb) / .06);color:var(--amber);border-radius:8px;align-items:flex-start;gap:9px;margin:12px 15px 0;padding:10px 11px;display:flex}.shot-production-gate.blocked{color:var(--red);background:#ff72720f;border-color:#ff727233}.shot-production-gate>svg{flex:none;width:14px}.shot-production-gate span{flex-direction:column;gap:3px;min-width:0;display:flex}.shot-production-gate strong{font-size:12px}.shot-production-gate small{color:#95989b;font-size:11px;line-height:1.5}.shot-production-gate.blocked small{color:#bd8e8e}.shot-production-list{flex-direction:column;padding:3px 15px 15px;display:flex}.shot-production-list article{border-bottom:1px solid var(--line);grid-template-columns:36px minmax(170px,1fr) auto minmax(205px,auto);align-items:center;gap:12px;padding:12px 0;display:grid}.shot-production-list article:last-child{border-bottom:0}.production-shot-index{border:1px solid var(--line-strong);width:34px;height:34px;color:var(--muted);font-variant-numeric:tabular-nums;background:#131415;border-radius:9px;place-items:center;font-size:12px;font-weight:700;display:grid}.production-shot-index.state-approved{border-color:rgb(var(--accent-rgb) / .25);color:var(--amber)}.production-shot-index.state-frame{border-color:rgb(var(--accent-rgb) / .28);background:rgb(var(--accent-rgb) / .07);color:var(--blue)}.production-shot-index.state-video{border-color:rgb(var(--accent-rgb) / .28);background:var(--lime-soft);color:var(--lime)}.production-shot-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.production-shot-copy>div{align-items:center;gap:7px;min-width:0;display:flex}.production-shot-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.production-shot-copy b{color:#aab4ba;background:#252627;border-radius:4px;flex:none;padding:2px 5px;font-size:10px;font-weight:500}.production-shot-copy p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;overflow:hidden}.production-shot-copy small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.production-shot-copy small.invalid{color:var(--amber)}.production-shot-evidence{color:var(--muted-2);white-space:nowrap;align-items:center;gap:9px;font-size:11px;display:flex}.production-shot-evidence span{align-items:center;gap:4px;display:flex}.production-shot-evidence i{background:#3f4042;border-radius:50%;width:5px;height:5px}.production-shot-evidence span.ready{color:#b8c0c4}.production-shot-evidence span.ready i{background:var(--lime);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / .08)}.production-shot-actions{justify-content:flex-end;gap:7px;display:flex}.production-shot-actions button{justify-content:center;min-width:92px}.shot-production-empty{min-height:150px;color:var(--muted-2);text-align:left;justify-content:center;align-items:center;gap:12px;display:flex}.shot-production-empty>svg{width:23px;color:var(--lime)}.shot-production-empty>span{flex-direction:column;gap:4px;display:flex}.shot-production-empty strong{color:#c4ccd0;font-size:13px}.shot-production-empty small{font-size:11px;line-height:1.5}.jobs-heading{margin:22px 2px 11px}.jobs-heading>div{align-items:baseline;gap:9px;display:flex}.jobs-heading h3{margin:0}.jobs-heading span{color:var(--muted-2);font-size:12px}.jobs-heading>button{color:var(--muted);background:0 0;align-items:center;gap:5px;font-size:12px;display:flex}.jobs-heading svg{width:12px}.job-list{flex-direction:column;gap:9px;display:flex}.real-job-card{grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;display:grid}.real-job-icon{background:rgb(var(--accent-rgb) / .1);width:36px;height:36px;color:var(--blue);border-radius:9px;place-items:center;display:grid}.real-job-icon.status-succeeded{background:var(--lime-soft);color:var(--lime)}.real-job-icon.status-failed,.real-job-icon.status-unknown{color:var(--red);background:#ff72721a}.real-job-icon svg{width:16px}.real-job-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.real-job-copy>div{align-items:center;gap:8px;display:flex}.real-job-copy strong{font-size:14px}.real-job-copy>div span{color:#aab4ba;background:#252627;border-radius:4px;padding:2px 5px;font-size:11px}.real-job-copy p{color:var(--muted);margin:0;font-size:12px}.real-job-copy small{color:var(--muted-2);font-size:12px}.real-job-copy em{color:var(--red);font-size:12px;font-style:normal}.operation-link{color:var(--lime);background:0 0;align-self:flex-start;margin-top:3px;padding:0;font-size:11px}.operation-link:hover{text-decoration:underline}.real-job-meta{flex-direction:column;align-items:flex-end;gap:3px;min-width:118px;display:flex}.real-job-meta strong{color:var(--lime);font-size:16px}.real-job-meta span,.real-job-meta time{color:var(--muted-2);font-size:11px}.generation-empty{min-height:220px;color:var(--muted-2);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:28px;display:flex}.generation-empty>span{background:var(--lime-soft);width:46px;height:46px;color:var(--lime);border-radius:12px;place-items:center;display:grid}.generation-empty svg{width:21px}.generation-empty strong{color:#c4ccd0;font-size:15px}.generation-empty small{max-width:430px;font-size:12px;line-height:1.65}.job-card{grid-template-columns:100px minmax(0,1fr) auto;gap:14px;padding:10px;display:grid}.job-preview{background:linear-gradient(145deg,#48565b,#202223);border-radius:8px;place-items:center;height:92px;display:grid;overflow:hidden}.job-preview>span{background:rgb(var(--accent-rgb) / .48);border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.job-preview svg{width:15px}.job-running{color:var(--blue)}.job-queued{color:var(--amber);background:linear-gradient(145deg,#383c46,#212223)}.job-done{color:var(--lime);background:linear-gradient(145deg,#46484a,#202021)}.job-content{flex-direction:column;justify-content:center;min-width:0;display:flex}.job-title{justify-content:space-between;align-items:center;display:flex}.job-title>div{align-items:center;gap:8px;display:flex}.job-title strong{font-size:14px}.job-status{border-radius:5px;padding:3px 6px;font-size:11px}.job-status.生成中{background:rgb(var(--accent-rgb) / .1);color:var(--blue)}.job-status.排队中{background:rgb(var(--accent-rgb) / .1);color:var(--amber)}.job-status.已完成{background:var(--lime-soft);color:var(--lime)}.job-content>p{color:var(--muted-2);align-items:center;gap:7px;margin:6px 0 9px;font-size:11px;display:flex}.job-content>p i{background:#4b565e;border-radius:50%;width:2px;height:2px}.job-progress{align-items:center;gap:9px;display:flex}.job-progress>span{background:#2e2f30;border-radius:3px;flex:1;height:3px;overflow:hidden}.job-progress i{background:linear-gradient(90deg, var(--blue), var(--lime));height:100%;display:block}.job-progress strong{color:#839097;text-align:right;width:29px;font-size:11px}.job-meta{justify-content:space-between;margin-top:6px;display:flex}.job-meta span{color:var(--muted-2);font-size:11px}.job-meta b{color:#a9b1b5;font-size:11px;font-weight:500}.review-button{background:var(--lime-soft);color:var(--lime);border-radius:7px;align-self:center;align-items:center;gap:6px;padding:7px 9px;font-size:12px;display:flex}.review-button svg{width:12px}.billing-panel{padding:17px;position:sticky;top:12px}.wallet-balance{border:1px solid rgb(var(--accent-rgb) / .13);background:linear-gradient(145deg, rgb(var(--accent-rgb) / .08), rgb(var(--accent-rgb) / .02));border-radius:11px;margin:17px 0;padding:17px}.wallet-balance small{color:#8d9b8d;font-size:12px}.wallet-balance strong{color:var(--lime);letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:6px 0 2px;font-size:34px;display:block}.wallet-balance strong span{margin-right:3px;font-size:16px}.wallet-balance p{color:var(--muted-2);margin:0;font-size:11px}.operations-finance-summary{border:1px solid var(--line);background:var(--line);border-radius:9px;grid-template-columns:1fr;gap:1px;margin-bottom:13px;display:grid;overflow:hidden}.operations-finance-summary>div{background:var(--panel-2);justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.operations-finance-summary span{color:var(--muted);font-size:11px}.operations-finance-summary strong{font-variant-numeric:tabular-nums;font-size:13px}.billing-reconcile-alert{color:var(--red);background:#ff72720f;border:1px solid #ff727233;border-radius:8px;gap:8px;margin-bottom:13px;padding:10px;display:flex}.billing-reconcile-alert>svg{flex:none;width:14px}.billing-reconcile-alert p{flex-direction:column;gap:3px;margin:0;display:flex}.billing-reconcile-alert strong{font-size:12px}.billing-reconcile-alert small{color:#bd8e8e;font-size:11px;line-height:1.5}.ledger-list{border:1px solid var(--line);background:var(--line);border-radius:9px;flex-direction:column;gap:1px;max-height:360px;margin-bottom:13px;display:flex;overflow-y:auto}.ledger-entry{background:#131415;justify-content:space-between;gap:10px;padding:9px 10px;display:flex}.ledger-entry>div{flex-direction:column;gap:3px;min-width:0;display:flex}.ledger-entry>div:last-child{text-align:right;flex:none;align-items:flex-end}.ledger-entry strong{font-size:12px}.ledger-entry span,.ledger-entry small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4;overflow:hidden}.ledger-entry strong.positive{color:var(--lime)}.ledger-entry strong.negative{color:var(--amber)}.billing-bars{flex-direction:column;gap:14px;display:flex}.billing-empty{min-height:120px;color:var(--muted-2);text-align:center;border:1px dashed #3c3e3f;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:14px;display:flex}.billing-empty svg{width:20px;color:var(--lime)}.billing-empty strong{color:#c3cbcf;font-size:13px}.billing-empty small{font-size:11px;line-height:1.55}.billing-bars>div>span{justify-content:space-between;display:flex}.billing-bars span b{color:#a9b2b7;font-size:12px;font-weight:500}.billing-bars span strong{font-size:12px}.billing-bars>div>i{background:#2f3031;border-radius:3px;height:3px;margin-top:7px;display:block;overflow:hidden}.billing-bars>div>i b{background:var(--lime-2);height:100%;display:block}.billing-bars>div:nth-child(2)>i b{background:var(--blue)}.billing-bars>div:nth-child(3)>i b{background:var(--purple)}.billing-total{border-top:1px solid var(--line);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:17px;padding:13px 0;display:flex}.billing-total span{color:var(--muted);font-size:12px}.billing-total strong{font-size:17px}.billing-note{color:var(--muted-2);background:#101011;border-radius:8px;gap:8px;margin-top:13px;padding:10px;display:flex}.billing-note svg{width:13px;color:var(--lime)}.billing-note p{margin:0;font-size:11px;line-height:1.55}.episode-render-panel{margin-bottom:14px;padding:16px}.episode-render-controls{grid-template-columns:150px 120px minmax(240px,1fr) auto;align-items:end;gap:10px;margin-top:14px;display:grid}.episode-render-controls>label,.episode-render-controls>div{flex-direction:column;gap:6px;min-width:0;display:flex}.episode-render-controls span{color:var(--muted-2);font-size:11px}.episode-render-controls select{border:1px solid var(--line-strong);color:#d9dadb;background:#0f1010;border-radius:7px;outline:0;width:100%;height:36px;padding:0 10px;font-size:12px}.episode-render-controls>div strong{border:1px solid var(--line);color:#aeb8bc;text-overflow:ellipsis;white-space:nowrap;background:#111212;border-radius:7px;align-items:center;min-height:36px;padding:0 11px;font-size:12px;display:flex;overflow:hidden}.episode-render-controls>button{min-height:36px}.episode-render-note{background:var(--lime-soft);color:#a7aaad;border-radius:8px;align-items:center;gap:8px;margin-top:11px;padding:9px 11px;font-size:11px;line-height:1.5;display:flex}.episode-render-note svg{width:13px;color:var(--lime);flex:none}.episode-render-error{color:#e9a2a2;background:#ff72720f;border:1px solid #ff727238;border-radius:8px;margin-top:10px;padding:9px 11px;font-size:12px}.episode-render-content{grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);gap:12px;margin-top:13px;display:grid}.episode-render-list{flex-direction:column;gap:5px;max-height:360px;display:flex;overflow-y:auto}.episode-render-list>button{border:1px solid var(--line);text-align:left;background:#111212;border-radius:8px;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:9px;padding:10px;display:grid}.episode-render-list>button.active{border-color:rgb(var(--accent-rgb) / .55);background:var(--lime-soft)}.episode-render-list>button>span:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.episode-render-list strong{font-size:12px}.episode-render-list small,.episode-render-list em{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-style:normal;overflow:hidden}.render-status{background:rgb(var(--accent-rgb) / .1);width:27px;height:27px;color:var(--blue);border-radius:7px;place-items:center;display:grid}.render-status svg{width:13px}.render-status.status-succeeded{background:var(--lime-soft);color:var(--lime)}.render-status.status-failed,.render-status.status-cancelled{color:var(--red);background:#ff727214}.episode-render-preview{border:1px solid var(--line);background:#0a0a0b;border-radius:10px;flex-direction:column;justify-content:center;align-items:stretch;min-height:310px;padding:10px;display:flex;overflow:hidden}.episode-render-preview video{object-fit:contain;background:#030405;border-radius:7px;width:100%;max-height:410px}.episode-render-result-meta{color:var(--muted-2);flex-wrap:wrap;align-items:center;gap:8px;padding:9px 2px 0;font-size:11px;display:flex}.episode-render-result-meta strong{color:var(--lime);margin-left:auto;font-size:11px}.episode-render-result-meta strong:first-of-type:last-child{color:var(--lime)}.episode-render-download{align-self:flex-end;margin-top:9px;text-decoration:none}.episode-render-placeholder,.episode-render-empty{min-height:100px;color:var(--muted-2);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.episode-render-placeholder{min-height:260px}.episode-render-placeholder svg,.episode-render-empty svg{width:22px;color:var(--lime)}.episode-render-placeholder strong{color:#c5cdd0;font-size:13px}.episode-render-placeholder small,.episode-render-empty span{max-width:420px;font-size:11px;line-height:1.55}.preview-layout{grid-template-columns:minmax(0,1fr) 365px;gap:14px;display:grid}.preview-media-empty{min-height:250px;color:var(--muted-2);justify-content:center;align-items:center;gap:14px;padding:28px;display:flex}.preview-media-empty>span{background:var(--lime-soft);width:48px;height:48px;color:var(--lime);border-radius:13px;flex:none;place-items:center;display:grid}.preview-media-empty>span svg{width:21px}.preview-media-empty>div{flex-direction:column;flex:1;gap:5px;max-width:520px;display:flex}.preview-media-empty strong{color:#c9d1d4;font-size:14px}.preview-media-empty small{font-size:12px;line-height:1.6}.clip-library{min-height:690px;padding:16px}.clip-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px;display:grid}.clip-card{border:1px solid var(--line);text-align:left;background:#151617;border-radius:10px;min-width:0;overflow:hidden}.clip-card:hover{border-color:#444649}.clip-card.active{border-color:var(--lime);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / .07)}.clip-art{background:linear-gradient(145deg,#687578,#252728);height:174px;display:block;position:relative;overflow:hidden}.clip-art:before{background:linear-gradient(115deg, transparent 0 60%, rgb(var(--accent-rgb) / .2) 60% 64%, transparent 64%), linear-gradient(180deg, #58676b, #222425);content:"";position:absolute;inset:0}.clip-2:before{background:linear-gradient(100deg,#2f3031 0 35%,#96a1a0 35% 39%,#424447 39% 65%,#7f898a 65%)}.clip-3:before{background:linear-gradient(145deg,#879193,#36383a 55%,#1b1c1c)}.clip-4:before{background:linear-gradient(120deg,#a0aaa8 0 24%,#445155 24% 63%,#242627 63%)}.clip-5:before{background:linear-gradient(130deg,#647175,#2d2e2f 45%,#141516)}.clip-art>i{z-index:3;background:rgb(var(--accent-rgb) / .68);border-radius:5px;place-items:center;width:20px;height:20px;font-size:12px;font-style:normal;display:grid;position:absolute;top:7px;left:7px}.clip-art>b{z-index:3;background:rgb(var(--accent-rgb) / .68);border-radius:5px;align-items:center;gap:4px;padding:4px 6px;font-size:11px;display:flex;position:absolute;top:7px;right:7px}.clip-art>b svg{width:10px}.clip-art>em{z-index:3;background:var(--lime);color:var(--on-accent);border-radius:5px;align-items:center;gap:3px;padding:4px 6px;font-size:11px;font-style:normal;font-weight:800;display:flex;position:absolute;bottom:7px;right:7px}.clip-art>em svg{width:9px}.clip-person{z-index:2;position:absolute;inset:0}.clip-person>i{background:#131415;border-radius:25px 25px 5px 5px;width:46px;height:115px;position:absolute;bottom:-10px;left:37%}.clip-person>i:before{content:"";background:linear-gradient(160deg,#95989b,#75564a);border-radius:48%;width:31px;height:38px;position:absolute;top:-25px;left:8px;box-shadow:inset 0 9px 0 -2px #151617}.clip-person>b{background:#4c4e50;border-radius:22px 22px 4px 4px;width:40px;height:100px;position:absolute;bottom:-6px;right:12%}.clip-card>span:last-child{flex-direction:column;gap:3px;padding:10px;display:flex}.clip-card>span:last-child strong{font-size:13px}.clip-card>span:last-child small{color:var(--muted-2);font-size:11px}.real-clip-thumbnail{aspect-ratio:16/9;color:var(--muted);background:#090a0a;place-items:center;display:grid;position:relative;overflow:hidden}.real-clip-thumbnail>img{object-fit:cover;width:100%;height:100%}.real-clip-thumbnail>svg{width:22px}.real-clip-thumbnail>i,.real-clip-thumbnail>b,.real-clip-thumbnail>em{z-index:1;color:#e5e5e5;background:#050809cc;border-radius:5px;padding:4px 6px;font-size:11px;font-style:normal;position:absolute}.real-clip-thumbnail>i{top:7px;left:7px}.real-clip-thumbnail>b{align-items:center;gap:4px;display:flex;bottom:7px;left:7px}.real-clip-thumbnail>em{background:rgb(var(--accent-rgb) / .88);color:var(--on-accent);align-items:center;gap:4px;display:flex;top:7px;right:7px}.real-clip-thumbnail svg{width:9px}.real-preview-notice{border:1px solid rgb(var(--accent-rgb) / .13);background:var(--lime-soft);color:var(--lime);border-radius:8px;align-items:center;gap:9px;margin-top:14px;padding:10px;display:flex}.real-preview-notice>svg{flex:none;width:14px}.real-preview-notice>span{flex-direction:column;gap:3px;display:flex}.real-preview-notice strong{font-size:12px}.real-preview-notice small{color:#a7aaac;font-size:11px}.timeline{border-top:1px solid var(--line);margin-top:35px;padding-top:18px}.timeline-ruler{color:var(--muted-2);justify-content:space-between;font-size:11px;display:flex}.timeline-track{gap:4px;height:74px;margin-top:9px;padding:6px 0;display:flex;position:relative}.timeline-clip{text-align:left;background:linear-gradient(145deg,#3e4041,#212224);border-radius:7px;flex-direction:column;justify-content:space-between;align-items:flex-start;min-width:0;padding:8px;display:flex}.timeline-clip.tone-2{background:linear-gradient(145deg,#4a4340,#2a2422)}.timeline-clip.tone-3{background:linear-gradient(145deg,#414345,#242627)}.timeline-clip.tone-4{background:linear-gradient(145deg,#424447,#28292a)}.timeline-clip.tone-5{background:linear-gradient(145deg,#414244,#232425)}.timeline-clip span{font-size:11px}.timeline-clip b{color:#aeb8b7;font-size:11px}.playhead{z-index:5;background:var(--lime);pointer-events:none;width:1px;position:absolute;top:0;bottom:0}.playhead:before{background:var(--lime);content:"";border-radius:2px;width:9px;height:7px;position:absolute;top:-2px;left:-4px}.player-panel{padding:15px}.real-video-player{background:#050708;border-radius:12px;place-items:center;width:100%;min-height:360px;margin:16px auto;display:grid;overflow:hidden;box-shadow:0 20px 50px #00000057}.real-video-player video{object-fit:contain;background:#050708;width:100%;max-height:560px}.vertical-player{background:linear-gradient(145deg,#687679,#28292a);border-radius:12px;width:238px;height:423px;margin:16px auto;position:relative;overflow:hidden;box-shadow:0 20px 50px #00000057}.vertical-player:before{background:linear-gradient(110deg, transparent 0 58%, rgb(var(--accent-rgb) / .2) 58% 61%, transparent 61%), linear-gradient(180deg, #667579 0 28%, #414244 28% 65%, #202021);content:"";position:absolute;inset:0}.vertical-player.clip-2:before{background:linear-gradient(110deg,#363839 0 36%,#a1aaa9 36% 40%,#444648 40% 67%,#748084 67%)}.vertical-player.clip-3:before{background:linear-gradient(150deg,#8b9596,#3a4549 55%,#1d1e1e)}.vertical-player.clip-4:before{background:linear-gradient(120deg,#a4adab 0 26%,#465458 26% 65%,#242627 65%)}.vertical-player.clip-5:before{background:linear-gradient(135deg,#6a777a,#313334 45%,#161718)}.player-person{position:absolute;inset:0}.player-person i{background:linear-gradient(90deg,#131414,#2d3538,#131414);border-radius:43px 43px 10px 10px;width:77px;height:260px;position:absolute;bottom:-21px;left:35%}.player-person i:before{content:"";background:linear-gradient(150deg,#9b9ea1,#77584c);border-radius:48%;width:51px;height:65px;position:absolute;top:-45px;left:13px;box-shadow:inset 0 16px 0 -3px #141616}.player-person b{opacity:.72;background:#4f5153;border-radius:45px 45px 8px 8px;width:78px;height:210px;position:absolute;bottom:-20px;right:-12px}.player-badge{z-index:3;background:rgb(var(--accent-rgb) / .6);border-radius:5px;padding:4px 6px;font-size:11px;position:absolute;top:10px;right:10px}.player-controls{z-index:4;background:linear-gradient(#0000,#040506d1);grid-template-columns:auto 1fr auto;align-items:end;gap:6px;height:52px;padding:0 10px 10px;font-size:11px;display:grid;position:absolute;bottom:0;left:0;right:0}.player-controls>i{background:#ffffff4d;height:2px;margin-bottom:3px}.player-controls>i b{background:var(--lime);width:18%;height:100%;display:block}.player-controls button{background:rgb(var(--accent-rgb) / .66);color:#fff;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:0;left:50%;transform:translate(-50%,-60%)}.player-controls button svg{width:16px}.clip-info{border:1px solid var(--line);background:#111212;border-radius:9px;grid-template-columns:1fr 1fr;gap:12px;padding:13px;display:grid}.clip-info div{flex-direction:column;gap:4px;display:flex}.clip-info span{color:var(--muted-2);font-size:11px}.clip-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.player-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.preview-media-count{border:1px solid var(--line);min-height:38px;color:var(--muted);border-radius:8px;align-items:center;gap:7px;padding:0 12px;font-size:12px;display:flex}.preview-media-count.ready{border-color:rgb(var(--accent-rgb) / .2);background:var(--lime-soft);color:var(--lime)}.preview-media-count svg{width:13px}.current-media-state{border:1px solid rgb(var(--accent-rgb) / .15);background:var(--lime-soft);color:var(--lime);border-radius:8px;align-items:center;gap:9px;margin-top:12px;padding:10px;display:flex}.current-media-state>svg{flex:none;width:15px}.current-media-state>span{flex-direction:column;gap:3px;display:flex}.current-media-state strong{font-size:12px}.current-media-state small{color:#9da0a3;font-size:11px;line-height:1.5}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#030506b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{border:1px solid var(--line-strong);background:var(--panel-translucent);border-radius:16px;width:min(100%,520px);max-height:calc(100dvh - 40px);padding:22px;overflow-y:auto;box-shadow:0 35px 90px #00000094}html[data-theme=light] .modal{box-shadow:0 35px 90px rgb(var(--accent-rgb) / .2);background:#fff;border-color:#d4d4d5}html[data-theme=light] .modal label>span,html[data-theme=light] .new-project-file-field>span{color:var(--muted)}html[data-theme=light] .modal input,html[data-theme=light] .modal select,html[data-theme=light] .modal textarea{border-color:var(--line-strong);background:var(--panel-2);color:var(--text)}html[data-theme=light] .modal-security{border:1px solid var(--line);background:var(--panel-2)}html[data-theme=light] .modal .new-project-file-drop{border-color:var(--line-strong);background:var(--panel-2)}html[data-theme=light] .modal .new-project-file-drop:hover{border-color:var(--text);background:var(--panel-3)}.modal-heading{justify-content:space-between;align-items:flex-start;margin-bottom:18px;display:flex}.modal-heading h2{margin:6px 0 4px;font-size:27px}.modal-heading p{color:var(--muted);margin:0;font-size:13px}.modal-heading .icon-button{background:0 0;border:0;font-size:28px}.modal>label,.modal>.new-project-file-field,.modal .field-grid{margin:13px 0 0}.modal textarea{resize:vertical;min-height:86px;padding:10px}.modal label small,.new-project-file-field>span>small{color:var(--muted-2);font-size:11px}.modal-security{color:var(--muted);background:#111212;border-radius:9px;align-items:center;gap:10px;margin-top:15px;padding:11px;display:flex}.modal-security svg{width:16px;color:var(--lime)}.modal-security span{flex-direction:column;gap:3px;display:flex}.modal-security strong{color:#c4cbcf;font-size:12px}.modal-security small{font-size:11px}.modal-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;margin-top:19px;padding-top:17px;display:flex}.modal.project-invite-dialog{width:min(100%,440px)}.project-invite-dialog .modal-heading{gap:12px}.project-invite-dialog .modal-heading h2{font-size:22px}.project-invite-dialog .modal-heading p{overflow-wrap:anywhere}.project-invite-dialog .modal-heading .icon-button{flex:none;width:44px;height:44px}.project-invite-roles{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.project-invite-roles legend{color:var(--text);margin-bottom:8px;padding:0;font-size:13px;font-weight:600}.project-invite-role{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--panel);cursor:pointer;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:54px;padding:9px 12px;display:grid}.project-invite-dialog .project-invite-role input{width:16px;height:16px;accent-color:var(--accent);cursor:inherit;margin:0;padding:0}.project-invite-dialog .project-invite-role>span{color:var(--text);gap:2px;font-size:13px;line-height:1.35;display:grid}.project-invite-dialog .project-invite-role small{color:var(--muted);font-size:12px}@media (hover:hover){.project-invite-role:hover:not(:has(input:disabled)){border-color:var(--accent);background:var(--panel-2)}}.project-invite-role:has(input:checked){border-color:var(--accent);background:var(--accent-subtle)}.project-invite-role:active:not(:has(input:disabled)){border-color:var(--accent);background:var(--accent-subtle)}.project-invite-dialog button[aria-disabled=true]{opacity:.5;cursor:not-allowed;transform:none}.project-invite-role:has(input:disabled){opacity:.5;cursor:not-allowed;transform:none}.project-invite-dialog .project-invite-role:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.modal.project-invite-dialog .project-invite-role input:focus-visible{outline:none}.project-invite-hint{color:var(--muted);margin:12px 0 0;font-size:12px;line-height:1.55}.project-invite-dialog .invite-link{grid-template-columns:minmax(0,1fr) auto}.project-invite-dialog .invite-link input,.project-invite-dialog .invite-link button,.project-invite-dialog .modal-actions button{height:44px}.project-invite-dialog .invite-link button{min-width:108px;font-size:14px}.project-invite-dialog .project-invite-submit{min-width:144px}.project-invite-dialog .modal-error{color:var(--danger)}.production-guide-modal{width:min(100%,620px)}.production-guide-list{flex-direction:column;gap:7px;display:flex}.production-guide-list>div{border:1px solid var(--line);background:#111213;border-radius:9px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.production-guide-list>div>span{background:var(--lime-soft);width:30px;height:30px;color:var(--lime);border-radius:8px;place-items:center;font-size:12px;font-weight:700;display:grid}.production-guide-list p{flex-direction:column;gap:3px;margin:0;display:flex}.production-guide-list strong{font-size:13px}.production-guide-list small{color:var(--muted-2);font-size:11px;line-height:1.5}.modal-error{color:#ff9a9a;background:#ff72720d;border:1px solid #ff727233;border-radius:8px;margin:12px 0 0;padding:9px 11px;font-size:12px;line-height:1.5}.project-archive-modal{width:min(100%,680px)}.project-archive-list{flex-direction:column;gap:8px;max-height:min(430px,55vh);margin-top:15px;padding-right:4px;display:flex;overflow-y:auto}.project-archive-list article{border:1px solid var(--line);background:#111213;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px;display:grid}.project-archive-list article>div{flex-direction:column;gap:4px;min-width:0;display:flex}.project-archive-list article strong{color:#d5ddda;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.project-archive-list article small{color:var(--muted);font-size:11px}.project-archive-list article em{color:var(--muted-2);font-size:11px;font-style:normal}.project-archive-list article .outline-button{justify-content:center;min-width:104px}.project-archive-list article .status-chip{margin:0}.project-archive-empty{border:1px dashed var(--line-strong);min-height:170px;color:var(--muted-2);text-align:center;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.project-archive-empty>svg{color:#6d7975;width:24px}.project-archive-empty strong{color:#c6ceca;font-size:14px}.project-archive-empty small{max-width:360px;font-size:11px;line-height:1.6}.legacy-import-modal{width:min(100%,880px);max-height:calc(100vh - 40px);overflow-y:auto}.desktop-import-modal{width:min(100%,560px)}.desktop-import-modal .modal-heading{gap:12px}.desktop-import-modal .modal-heading h2{margin-top:0}.desktop-import-modal .modal-heading p{overflow-wrap:anywhere;line-height:1.6}.desktop-import-modal .modal-heading .icon-button{flex:none}.desktop-import-file{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;align-items:center;gap:12px;padding:12px;display:flex}.desktop-import-file>svg{width:20px;height:20px;color:var(--muted);flex:none}.desktop-import-file-text{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.desktop-import-file-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.desktop-import-file-text span{color:var(--muted);font-size:12px}.desktop-import-file>button{white-space:nowrap;flex:none}.desktop-import-summary{margin-top:16px}.desktop-import-summary h3{align-items:center;gap:6px;margin:0 0 8px;font-size:14px;display:flex}.desktop-import-summary h3 svg{width:16px;color:var(--lime)}.desktop-import-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px;display:grid}.desktop-import-metrics>div{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;padding:8px 12px}.desktop-import-metrics dt{color:var(--muted);font-size:12px}.desktop-import-metrics dd{color:var(--text);font-variant-numeric:tabular-nums;margin:2px 0 0;font-size:18px;font-weight:650}.desktop-import-projects{gap:8px;max-height:150px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.desktop-import-projects li{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:baseline;column-gap:12px;min-width:0;padding:8px 0;display:flex}.desktop-import-projects strong{overflow-wrap:anywhere;min-width:0;font-size:13px}.desktop-import-projects span,.desktop-import-note{color:var(--muted);font-size:12px}.desktop-import-note{margin:8px 0 0;line-height:1.5}.desktop-import-progress{color:var(--muted);gap:8px;margin-top:16px;font-size:13px;display:grid}.desktop-import-progress>div{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;display:flex}.desktop-import-progress progress{width:100%;height:6px;accent-color:var(--lime)}.desktop-import-modal .modal-actions{flex-wrap:wrap}:is(.desktop-project-drop-overlay,.script-page-drop-overlay){z-index:90;pointer-events:none;border:2px dashed var(--lime);background:rgb(var(--accent-rgb) / .1);border-radius:16px;place-items:center;padding:12px;display:grid;position:fixed;inset:12px}:is(.desktop-project-drop-overlay,.script-page-drop-overlay)>div{border:1px solid var(--line);background:var(--panel);color:var(--text);text-align:center;border-radius:12px;justify-items:center;gap:8px;padding:20px 24px;display:grid}:is(.desktop-project-drop-overlay,.script-page-drop-overlay) svg{width:24px;height:24px;color:var(--lime)}:is(.desktop-project-drop-overlay,.script-page-drop-overlay) span{color:var(--muted);font-size:13px}html[data-theme=light] .desktop-import-modal .modal-error{color:var(--red)}@media (width<=400px){.desktop-import-modal{padding:16px}.desktop-import-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-import-file{gap:8px}}.legacy-import-guide{border:1px solid var(--line);background:#111213;border-radius:11px;flex-direction:column;gap:7px;padding:13px;display:flex}.legacy-import-guide strong{color:#cdcecf;font-size:13px}.legacy-import-guide code{color:#a7aaad;white-space:nowrap;background:#0a0a0b;border:1px solid #2f3032;border-radius:7px;padding:9px 11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;overflow-x:auto}.legacy-import-guide small{color:var(--muted-2);font-size:11px;line-height:1.6}.legacy-file-field{margin-top:13px!important}.legacy-file-field input{height:auto!important;padding:9px!important}.legacy-selected-file{border:1px solid rgb(var(--accent-rgb) / .18);background:var(--lime-soft);color:var(--lime);border-radius:9px;align-items:center;gap:9px;margin-top:10px;padding:10px 12px;display:flex}.legacy-selected-file>svg{flex:none;width:15px}.legacy-selected-file span{flex-direction:column;gap:3px;min-width:0;display:flex}.legacy-selected-file strong{color:#d7d8d9;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.legacy-selected-file small{color:#9fa2a4;font-size:11px}.legacy-report{border:1px solid var(--line-strong);background:#131415;border-radius:12px;flex-direction:column;gap:11px;margin-top:14px;padding:14px;display:flex}.legacy-report-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.legacy-report-heading small{color:var(--muted-2);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.legacy-count-grid{grid-template-columns:repeat(6,1fr);gap:7px;display:grid}.legacy-count-grid>div{border:1px solid var(--line);background:#101010;border-radius:8px;flex-direction:column;gap:4px;padding:9px;display:flex}.legacy-count-grid span{color:var(--muted-2);font-size:11px}.legacy-count-grid strong{color:#dadbdc;font-size:17px}.legacy-project-list{flex-direction:column;gap:6px;display:flex}.legacy-project-list>div{border:1px solid var(--line);background:#101112;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.legacy-project-list span{flex-direction:column;gap:3px;min-width:0;display:flex}.legacy-project-list strong{color:#cbd2d6;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.legacy-project-list small{color:var(--muted-2);font-size:11px}.legacy-project-list b{border-radius:4px;padding:3px 6px;font-size:11px}.legacy-project-list b.ok{background:var(--lime-soft);color:var(--lime)}.legacy-project-list b.warning{background:rgb(var(--accent-rgb) / .08);color:var(--amber)}.legacy-issue-list{flex-direction:column;gap:6px;max-height:220px;display:flex;overflow-y:auto}.legacy-issue{border:1px solid var(--line);background:#101010;border-radius:8px;grid-template-columns:42px 1fr;align-items:start;gap:8px;padding:9px 10px;display:grid}.legacy-issue>b{color:#b6c0c5;background:#242627;border-radius:4px;width:fit-content;padding:3px 5px;font-size:11px}.legacy-issue.blocking>b{color:#f99;background:#ff72721a}.legacy-issue.warning>b{background:rgb(var(--accent-rgb) / .1);color:var(--amber)}.legacy-issue.info>b{background:var(--lime-soft);color:var(--lime)}.legacy-issue span{flex-direction:column;gap:4px;display:flex}.legacy-issue strong{color:#bcc6ca;font-size:12px;font-weight:500;line-height:1.55}.legacy-issue small{color:var(--muted-2);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.legacy-report .modal-security{margin-top:0}.legacy-commit-panel{border:1px solid rgb(var(--accent-rgb) / .22);background:linear-gradient(135deg, rgb(var(--accent-rgb) / .045), transparent 45%), #131415;border-radius:12px;flex-direction:column;gap:10px;margin-top:14px;padding:14px;display:flex}.legacy-commit-panel .legacy-file-field{margin-top:0!important}.legacy-commit-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.legacy-commit-heading span{flex-direction:column;gap:4px;display:flex}.legacy-commit-heading strong{color:#dcdcdd;font-size:14px}.legacy-commit-heading small{color:var(--muted-2);font-size:11px;line-height:1.5}.legacy-commit-heading>b{background:var(--lime-soft);color:var(--lime);border-radius:5px;flex:none;padding:4px 7px;font-size:11px}.legacy-decision-list{flex-direction:column;gap:7px;display:flex}.legacy-decision-list>div{border:1px solid var(--line);background:#101010;border-radius:8px;grid-template-columns:minmax(150px,1fr) 110px minmax(180px,1fr);align-items:center;gap:8px;padding:9px 10px;display:grid}.legacy-decision-list span{flex-direction:column;gap:3px;min-width:0;display:flex}.legacy-decision-list strong{color:#cbd4d0;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.legacy-decision-list small{color:var(--muted-2);font-size:11px}.legacy-decision-list select,.legacy-decision-list input{border:1px solid var(--line-strong);color:#c9d2ce;background:#151616;border-radius:7px;width:100%;min-width:0;height:32px;font-size:12px}.legacy-decision-list input{padding:0 9px}.legacy-decision-list input:disabled,.legacy-decision-list select:disabled{color:#64706b;opacity:.6}.legacy-gpt-target{border:1px solid var(--line);background:#101010;border-radius:8px;grid-template-columns:minmax(210px,1fr) minmax(220px,1.15fr);align-items:center;gap:12px;padding:10px;display:grid}.legacy-gpt-target>span{color:#cbd4d0;flex-direction:column;gap:4px;font-size:12px;display:flex}.legacy-gpt-target small{color:var(--muted-2);font-size:11px;font-weight:400;line-height:1.5}.legacy-gpt-target select{border:1px solid var(--line-strong);color:#c9d2ce;background:#151616;border-radius:7px;width:100%;min-width:0;height:34px;padding:0 8px;font-size:12px}.legacy-asset-decision-list{max-height:min(430px,50vh);padding-right:4px;overflow-y:auto}.legacy-asset-decision-list>div{grid-template-columns:minmax(170px,1fr) 92px 112px minmax(150px,1fr)}.legacy-commit-warning{border-left:2px solid var(--amber);background:rgb(var(--accent-rgb) / .05);color:#9fa2a5;margin:0;padding:9px 10px;font-size:11px;line-height:1.6}.legacy-recent{flex-direction:column;gap:7px;margin-top:14px;display:flex}.legacy-recent>span{color:#aeb7bc;font-size:12px}.legacy-recent>div{grid-template-columns:repeat(2,1fr);gap:7px;display:grid}.legacy-recent button{border:1px solid var(--line);min-width:0;color:inherit;text-align:left;background:#101112;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;display:flex}.legacy-recent button:hover{border-color:var(--line-strong)}.legacy-recent button span{flex-direction:column;gap:3px;min-width:0;display:flex}.legacy-recent button strong{color:#cdcece;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.legacy-recent button small{color:var(--muted-2);font-size:11px}.legacy-recent button b{color:var(--lime);flex:none;font-size:11px}.editorial-modal{width:min(100%,640px)}.asset-media-modal{width:min(100%,1160px);max-height:calc(100vh - 40px);overflow-y:auto}.asset-workspace-overview{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:14px;padding:13px;display:grid}.asset-workspace-cover{background:var(--panel-3);border-radius:9px;place-items:center;width:96px;height:82px;display:grid;position:relative;overflow:hidden}.asset-workspace-cover img{object-fit:cover;width:100%;height:100%}.asset-workspace-cover.no-preview{border:1px dashed var(--line-strong);background:var(--panel-2)}.asset-workspace-placeholder{color:var(--muted);text-align:center;place-items:center;gap:3px;display:grid}.asset-workspace-placeholder svg{width:20px}.asset-workspace-placeholder strong{font-size:10px;font-weight:700}.asset-workspace-summary{gap:4px;min-width:0;display:grid}.asset-workspace-summary>span{color:var(--lime);font-size:12px;font-weight:700}.asset-workspace-summary>strong{text-overflow:ellipsis;white-space:nowrap;font-size:20px;overflow:hidden}.asset-workspace-summary>p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;line-height:1.55;overflow:hidden}.asset-workspace-review{justify-content:flex-end;align-items:center;gap:8px;display:flex}.asset-workspace-review>button{min-height:38px;padding:0 12px}.asset-workspace-review>button svg{width:14px}.asset-workspace-tabs{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px;padding:5px;display:grid}.asset-workspace-tabs>button{min-height:58px;color:var(--muted);text-align:left;background:0 0;border:1px solid #0000;border-radius:9px;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;padding:8px 11px;display:grid}.asset-workspace-tabs>button:hover{background:var(--panel-3);color:var(--text)}.asset-workspace-tabs>button.active{border-color:color-mix(in srgb, var(--lime) 38%, var(--line));background:var(--lime-soft);color:var(--lime)}.asset-workspace-tabs svg{width:18px}.asset-workspace-tabs span{gap:3px;min-width:0;font-size:14px;font-weight:750;display:grid}.asset-workspace-tabs small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;overflow:hidden}.asset-workspace-settings,.asset-workspace-semantic{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;margin-bottom:12px;padding:16px}.asset-workspace-start-grid{grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);align-items:stretch;gap:12px;margin-bottom:12px;display:grid}.asset-workspace-start-grid>.asset-workspace-settings{height:100%;margin-bottom:0}.asset-workspace-start-grid>.asset-direct-upload{align-self:start;height:auto;margin-bottom:0}.asset-workspace-section-heading{margin-bottom:14px}.asset-workspace-section-heading h3{margin:4px 0 3px;font-size:20px}.asset-workspace-section-heading p{color:var(--muted);margin:0;font-size:14px;line-height:1.55}.asset-workspace-settings>label{color:var(--muted);gap:7px;margin-top:12px;font-size:14px;display:grid}.asset-workspace-settings textarea{border:1px solid var(--line-strong);background:var(--panel);width:100%;min-height:140px;color:var(--text);font:inherit;resize:vertical;border-radius:9px;outline:0;padding:11px 12px;line-height:1.65}.asset-workspace-settings textarea:focus{border-color:color-mix(in srgb, var(--lime) 58%, var(--line));box-shadow:0 0 0 3px var(--lime-soft)}.asset-workspace-quick-settings .asset-workspace-section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.asset-workspace-quick-settings .asset-workspace-section-heading>button{min-width:128px;min-height:42px}.asset-workspace-quick-settings textarea{min-height:88px}.asset-workspace-quick-settings .asset-image-prompt-editor{min-height:220px}.asset-visual-prompt-field{min-width:0;color:var(--muted);gap:7px;margin-top:12px;font-size:14px;display:grid}.asset-visual-prompt-field>label{color:var(--text);justify-content:space-between;align-items:baseline;gap:12px;font-weight:650;display:flex}.asset-visual-prompt-field>label>small{color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:12px;font-weight:400}.asset-prompt-presets{gap:6px;min-width:0;max-width:100%;padding-bottom:4px;display:flex;overflow-x:auto}.asset-prompt-presets>button{white-space:nowrap;flex:none;min-height:40px;padding:8px 10px;font-size:13px}.asset-visual-prompt-help{color:var(--muted);font-size:12px;font-weight:400;line-height:1.6}.asset-prompt-tools{margin-top:10px}.asset-prompt-tools>p{color:var(--muted);margin:0 0 10px;font-size:13px;line-height:1.6}.asset-prompt-ai-controls{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.asset-prompt-ai-controls>label{min-width:0;color:var(--muted);flex:220px;gap:6px;font-size:13px;display:grid}.asset-prompt-ai-controls select{width:100%;min-width:0}.asset-prompt-ai-controls>button{min-height:42px}.asset-prompt-job{color:var(--muted);gap:8px;margin-top:12px;font-size:13px;line-height:1.6;display:grid}.asset-prompt-job>p{color:var(--danger);margin:0}.asset-prompt-job summary{cursor:pointer;color:var(--text)}.asset-prompt-job pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;font:inherit;overflow:auto}.asset-workspace-settings-note{color:var(--muted);align-items:center;gap:7px;margin-top:10px;font-size:13px;line-height:1.5;display:flex}.asset-workspace-settings-note svg{width:15px;color:var(--lime);flex:none}.asset-direct-upload{border:1px solid color-mix(in srgb, var(--blue) 34%, var(--line));background:linear-gradient(135deg, color-mix(in srgb, var(--blue) 7%, var(--panel-2)), var(--panel-2));border-radius:12px;align-content:center;gap:12px;margin-bottom:12px;padding:14px 16px;display:grid}.asset-direct-upload-heading{align-items:center;gap:10px;min-width:0;display:flex}.asset-direct-upload-heading>span{background:rgb(var(--accent-rgb) / .12);width:34px;height:34px;color:var(--blue);border-radius:9px;flex:none;place-items:center;display:grid}.asset-direct-upload-heading svg{width:17px}.asset-direct-upload-heading>div{gap:3px;display:grid}.asset-direct-upload-heading strong{font-size:15px}.asset-direct-upload-heading small{color:var(--muted);font-size:12px;line-height:1.45}.asset-direct-upload input[type=file]{border:1px solid var(--line-strong);background:var(--panel);width:100%;min-width:0;color:var(--muted);border-radius:9px;padding:7px}.asset-direct-upload>button{white-space:nowrap;min-height:40px}.asset-direct-upload>small{color:var(--muted-2);font-size:11px}.asset-workspace-semantic .production-tool-scroll{max-height:none;padding-right:0;overflow:visible}.asset-workspace-semantic .semantic-form-card{background:var(--panel)}.modal-actions.embedded-actions{margin-top:14px;padding-top:14px}.asset-bulk-modal{width:min(100%,1060px);max-height:calc(100vh - 40px);overflow-y:auto}.asset-bulk-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.asset-bulk-summary>div{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;gap:3px;padding:12px 14px;display:grid}.asset-bulk-summary small{color:var(--muted);font-size:14px}.asset-bulk-summary strong{font-size:22px}.asset-bulk-summary .limit-error{color:var(--red);background:#eb5e5e12;border-color:#eb5e5e6b}.asset-bulk-selection-tools{align-items:center;gap:8px;margin-bottom:11px;display:flex}.asset-bulk-selection-tools>span{color:var(--muted);font-size:13px;font-weight:700}.asset-bulk-selection-tools>button{border:1px solid var(--line);background:var(--panel-2);min-height:32px;color:var(--text);border-radius:999px;padding:0 11px;font-size:12px}.asset-bulk-selection-tools>button:hover:not(:disabled){border-color:color-mix(in srgb, var(--lime) 45%, var(--line));color:var(--lime)}.asset-bulk-selection-tools>small{color:var(--muted-2);margin-left:auto;font-size:12px}.asset-bulk-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:310px;margin-bottom:14px;padding:3px;display:grid;overflow-y:auto}.asset-bulk-grid>label{border:1px solid var(--line);background:var(--panel-2);cursor:pointer;border-radius:11px;grid-template-columns:auto 58px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:9px;display:grid}.asset-bulk-grid>label.selected{border-color:color-mix(in srgb, var(--lime) 58%, var(--line));background:var(--lime-soft);box-shadow:0 0 0 2px color-mix(in srgb, var(--lime) 10%, transparent)}.asset-bulk-grid input[type=checkbox]{width:18px;height:18px;accent-color:var(--lime)}.asset-bulk-grid img,.asset-bulk-placeholder{background:var(--panel-3);object-fit:cover;border-radius:8px;place-items:center;width:58px;height:58px;display:grid}.asset-bulk-placeholder svg{width:20px;color:var(--muted)}.asset-bulk-grid>label>span:last-child{gap:4px;min-width:0;display:grid}.asset-bulk-grid strong{text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.asset-bulk-grid small{color:var(--muted);font-size:13px}.asset-bulk-controls{margin-bottom:12px}.asset-bulk-controls label,.asset-bulk-custom-size label,.asset-bulk-compression,.asset-bulk-instruction{min-width:0;color:var(--muted);gap:6px;font-size:14px;display:grid}.asset-bulk-controls select,.asset-bulk-custom-size input,.asset-bulk-instruction textarea{border:1px solid var(--line-strong);background:var(--panel-2);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:9px;outline:0}.asset-bulk-controls select,.asset-bulk-custom-size input{min-height:42px;padding:0 10px}.asset-bulk-custom-size{max-width:410px;margin-bottom:12px}.asset-bulk-compression{margin-bottom:12px}.asset-bulk-preflight{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:12px;padding:12px 14px;display:flex}.asset-bulk-preflight>svg{width:17px;color:var(--lime);flex:none;margin-top:2px}.asset-bulk-preflight>div{gap:4px;display:grid}.asset-bulk-preflight strong{font-size:15px}.asset-bulk-preflight p{color:var(--muted);margin:0;font-size:14px;line-height:1.6}.asset-bulk-preflight small{color:var(--muted-2);font-size:13px;line-height:1.5}.media-storage-warning,.media-storage-ok{border:1px solid rgb(var(--accent-rgb) / .2);background:rgb(var(--accent-rgb) / .055);color:var(--amber);border-radius:9px;align-items:center;gap:10px;margin-bottom:13px;padding:11px 13px;display:flex}.media-storage-warning svg,.media-storage-ok svg{flex:none;width:16px}.media-storage-warning span{flex-direction:column;gap:3px;display:flex}.media-storage-warning strong{font-size:13px}.media-storage-warning small{color:#9fa2a5;font-size:11px}.media-storage-ok{border-color:rgb(var(--accent-rgb) / .18);background:var(--lime-soft);color:var(--lime);font-size:12px}.asset-generation-box{border:1px solid rgb(var(--accent-rgb) / .18);background:linear-gradient(135deg, rgb(var(--accent-rgb) / .045), transparent 42%), #131415;border-radius:11px;flex-direction:column;gap:12px;margin-bottom:11px;padding:14px;display:flex}.asset-generation-heading{align-items:center;gap:10px;display:flex}.asset-generation-heading>span{background:var(--lime-soft);width:30px;height:30px;color:var(--lime);border-radius:8px;flex:none;place-items:center;display:grid}.asset-generation-heading svg{width:15px}.asset-generation-heading>div{flex-direction:column;gap:4px;display:flex}.asset-generation-heading strong{font-size:14px}.asset-generation-heading small{color:var(--muted-2);font-size:11px;line-height:1.5}.asset-generation-controls{grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px;display:grid}.asset-generation-box label{flex-direction:column;gap:6px;min-width:0;display:flex}.asset-generation-box label>span{color:#abb5ba;font-size:12px}.asset-generation-box select,.asset-generation-box textarea,.asset-generation-box input{border:1px solid var(--line-strong);color:#d7d8d8;background:#0e0e0e;border-radius:8px;outline:0;width:100%;min-width:0;font-size:14px}.asset-generation-box select,.asset-generation-box input[type=number]{height:40px;padding:0 10px}.asset-generation-box input[type=range]{border:0;height:40px;padding:0}.asset-generation-box textarea{resize:vertical;min-height:66px;padding:9px;line-height:1.55}.custom-image-size{grid-template-columns:1fr auto 1fr;align-items:end;gap:8px;display:grid}.custom-image-size>b{color:var(--muted-2);padding-bottom:10px}.image-model-constraint{color:var(--muted-2);margin:0;font-size:14px;line-height:1.55}.asset-reference-picker{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;gap:10px;padding:12px;display:grid}.asset-reference-picker>div:first-child{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.asset-reference-picker>div:first-child strong{font-size:15px}.asset-reference-picker>div:first-child small{color:var(--muted-2);font-size:14px}.asset-reference-picker>div:last-child{gap:10px;padding-bottom:3px;display:flex;overflow-x:auto}.asset-reference-picker label{border:1px solid var(--line);cursor:pointer;border-radius:9px;flex:0 0 112px;grid-template-columns:auto 1fr;gap:5px;width:112px;padding:7px;display:grid;position:relative}.asset-reference-picker label.selected{border-color:var(--lime);box-shadow:0 0 0 2px var(--lime-soft)}.asset-reference-picker label>input{width:18px;height:18px;accent-color:var(--lime);position:absolute;top:10px;left:10px}.asset-reference-picker label>img,.asset-reference-picker label>span{object-fit:cover;background:var(--panel-3);border-radius:6px;grid-column:1/-1;width:96px;height:76px}.asset-reference-picker label>span{place-items:center;display:grid}.asset-reference-picker label>b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.asset-reference-picker label>a{color:var(--blue);font-size:13px;text-decoration:none}.asset-generation-submit{justify-content:space-between;align-items:center;gap:12px;display:flex}.asset-generation-submit>div{flex-direction:column;gap:2px;display:flex}.asset-generation-submit small{color:var(--muted-2);font-size:11px}.asset-generation-submit strong{color:var(--lime);font-size:17px}.asset-generation-submit button{min-width:170px}.asset-generation-jobs{border-top:1px solid var(--line);flex-direction:column;gap:6px;padding-top:10px;display:flex}.asset-generation-job{background:#00000029;border-radius:7px;grid-template-columns:26px minmax(0,1fr);align-items:start;gap:8px;padding:8px;display:grid}.asset-generation-job>span{width:24px;height:24px;color:var(--muted);background:#262829;border-radius:6px;place-items:center;display:grid}.asset-generation-job.status-succeeded>span{background:var(--lime-soft);color:var(--lime)}.asset-generation-job.status-failed>span,.asset-generation-job.status-unknown>span{background:rgb(var(--accent-rgb) / .08);color:var(--amber)}.asset-generation-job svg{width:12px}.asset-generation-job>div{flex-direction:column;gap:3px;min-width:0;display:flex}.asset-generation-job strong{font-size:12px}.asset-generation-job small{color:var(--muted-2);font-size:11px}.asset-generation-job em{color:#a4a6a9;font-size:11px;font-style:normal;line-height:1.45}.frame-generation-gate{color:var(--amber);margin:-2px 0 0;font-size:11px;line-height:1.5}.asset-upload-box{border:1px solid var(--line);background:#131415;border-radius:11px;grid-template-columns:1fr 1.45fr auto;align-items:end;gap:10px;padding:13px;display:grid}.asset-upload-box label{flex-direction:column;gap:6px;min-width:0;display:flex}.asset-upload-box label>span{color:#abb5ba;font-size:12px}.asset-upload-box input{min-width:0}.asset-upload-box input[type=file]{padding:6px}.asset-upload-box>button{white-space:nowrap;height:35px}.asset-upload-box>small{color:var(--muted-2);grid-column:1/-1;font-size:11px}.variant-heading{justify-content:space-between;align-items:center;margin:18px 1px 10px;display:flex}.variant-heading>div{align-items:baseline;gap:8px;display:flex}.variant-heading strong{font-size:15px}.variant-heading span{color:var(--muted-2);font-size:12px}.variant-heading button{align-items:center;gap:5px;display:flex}.variant-heading svg{width:12px}.media-loading,.media-empty{min-height:150px;color:var(--muted-2);border:1px dashed #3c3e40;border-radius:11px;justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.media-loading svg{width:15px;animation:1s linear infinite spin}.media-empty{flex-direction:column}.media-empty svg{width:21px;color:var(--lime)}.media-empty strong{color:#c6ced2;font-size:14px}.media-empty small{font-size:11px}.asset-variant-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;display:grid}.asset-variant-card{border:1px solid var(--line);background:#131415;border-radius:11px;overflow:hidden}.asset-variant-card.variant-approved{border-color:rgb(var(--accent-rgb) / .45);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / .05)}.asset-variant-card.variant-rejected{opacity:.66}.variant-preview{height:185px;color:var(--muted-2);background:#272829;place-items:center;display:grid;position:relative;overflow:hidden}.variant-preview img{object-fit:cover;width:100%;height:100%}.variant-preview>span{align-items:center;gap:6px;font-size:12px;display:flex}.variant-preview>span svg{width:14px}.variant-preview b{background:rgb(var(--accent-rgb) / .76);color:#d9dadb;border-radius:5px;padding:4px 7px;font-size:11px;position:absolute;top:8px;right:8px}.variant-approved .variant-preview b{background:var(--lime);color:var(--on-accent)}.variant-copy{flex-direction:column;gap:4px;min-width:0;padding:11px;display:flex}.variant-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.variant-copy small{color:var(--muted-2);font-size:11px}.variant-copy p{min-height:28px;color:var(--muted);margin:3px 0 0;font-size:11px;line-height:1.55;overflow:hidden}.variant-actions{grid-template-columns:1fr .7fr;gap:7px;padding:0 11px 11px;display:grid}.variant-actions button{border:1px solid var(--line-strong);color:#adb7bc;background:#1b1c1d;border-radius:7px;justify-content:center;align-items:center;gap:5px;height:30px;font-size:12px;display:flex}.variant-actions button:first-child{border-color:rgb(var(--accent-rgb) / .2);background:var(--lime-soft);color:var(--lime)}.variant-actions svg{width:11px}.shot-modal{max-height:calc(100vh - 40px)}.modal-scroll-body{max-height:calc(100vh - 270px);padding-right:5px;overflow-y:auto}.access-shell{background:radial-gradient(circle at 50% -15%, rgb(var(--accent-rgb) / .08), transparent 34%), radial-gradient(circle at 92% 86%, rgb(var(--accent-rgb) / .06), transparent 30%), #0b0b0b;place-items:center;min-height:100vh;padding:28px;display:grid}.access-card{border:1px solid var(--line-strong);background:rgb(var(--accent-rgb) / .96);border-radius:20px;width:min(100%,470px);padding:30px;box-shadow:0 40px 100px #00000080}.access-loading{align-items:center;gap:16px;width:auto;padding:20px 24px;display:flex}.access-loading>div{flex-direction:column;gap:4px;display:flex}.access-loading strong{font-size:17px}.access-loading p{color:var(--muted);margin:0;font-size:14px}.access-brand{border-bottom:1px solid var(--line);align-items:center;gap:13px;padding-bottom:22px;display:flex}.access-brand>div{flex-direction:column;gap:3px;display:flex}.access-brand strong{font-size:17px}.access-brand small{color:var(--muted);font-size:13px}.access-heading{margin:28px 0 22px}.access-heading h1{letter-spacing:-.035em;margin:8px 0 7px;font-size:33px}.access-heading p{color:var(--muted);margin:0;font-size:14px;line-height:1.7}.access-form{flex-direction:column;gap:14px;display:flex}.access-form label{flex-direction:column;gap:7px;display:flex}.access-form label>span{color:#bdc5ca;justify-content:space-between;font-size:13px;display:flex}.access-form label small{color:var(--muted-2)}.access-form input{border:1px solid var(--line-strong);width:100%;height:43px;color:var(--text);background:#101011;border-radius:9px;outline:0;padding:0 12px;font-size:15px}.access-submit{justify-content:center;align-items:center;gap:8px;width:100%;height:43px;margin-top:4px;display:flex}.access-submit svg{width:15px}.access-security,.security-warning{color:var(--muted);background:#101011;border-radius:9px;align-items:center;gap:10px;margin-top:18px;padding:11px 12px;display:flex}.access-security svg,.security-warning svg{width:16px;color:var(--lime)}.access-security span,.security-warning span{flex-direction:column;gap:3px;display:flex}.access-security strong,.security-warning strong{color:#c5cdd1;font-size:12px}.access-security small,.security-warning small{font-size:11px;line-height:1.5}.invitation-card{width:min(100%,540px)}.invitation-loading{min-height:180px;color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:13px;display:flex}.invitation-loading svg{width:15px;animation:1s linear infinite spin}.invite-summary{grid-template-columns:1fr 1fr;gap:10px;margin:-6px 0 20px;display:grid}.invite-summary>span{border:1px solid var(--line);background:#111212;border-radius:9px;flex-direction:column;gap:5px;min-width:0;padding:11px;display:flex}.invite-summary small{color:var(--muted-2);font-size:11px}.invite-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.signed-in-note{border:1px solid rgb(var(--accent-rgb) / .18);background:var(--lime-soft);color:#c8c8c9;border-radius:9px;align-items:center;gap:8px;margin:0;padding:11px 12px;font-size:12px;display:flex}.signed-in-note svg{width:14px;color:var(--lime)}.access-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;margin-top:6px;padding-top:16px;display:flex}.access-actions button{align-items:center;gap:6px;display:flex}.access-actions svg{width:13px}.account-modal{width:min(100%,820px);max-height:calc(100vh - 40px)}.account-scroll{flex-direction:column;gap:14px;max-height:calc(100vh - 240px);padding-right:5px;display:flex;overflow-y:auto}.security-warning{border:1px solid rgb(var(--accent-rgb) / .22);background:rgb(var(--accent-rgb) / .06);margin:0}.security-warning svg{color:var(--amber)}.security-warning strong{color:#c4c5c6}.account-section{border:1px solid var(--line);background:#121213;border-radius:11px;padding:14px}.account-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.account-section-heading>div{flex-direction:column;gap:4px;display:flex}.account-section-heading strong{font-size:14px}.account-section-heading small{color:var(--muted-2);font-size:11px}.account-section-heading>b{background:var(--panel-3);color:var(--muted);border-radius:99px;padding:4px 7px;font-size:11px}.media-quota{flex-direction:column;gap:10px;display:flex}.media-quota-track{background:#2a2c2d;border-radius:99px;height:7px;overflow:hidden}.media-quota-track i{border-radius:inherit;background:linear-gradient(90deg, #808488, var(--lime));min-width:2px;height:100%;display:block}.media-quota-values{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.media-quota-values span{background:#171819;border-radius:8px;flex-direction:column;gap:4px;padding:9px;display:flex}.media-quota-values small{color:var(--muted-2);font-size:11px}.media-quota-values strong{color:#dbdcdd;font-variant-numeric:tabular-nums;font-size:13px}.media-quota>p{color:var(--muted-2);margin:0;font-size:11px;line-height:1.6}.inline-account-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:8px;display:grid}.inline-account-form label{flex-direction:column;gap:6px;min-width:0;display:flex}.inline-account-form label span{color:var(--muted);font-size:11px}.inline-account-form input,.invite-form input,.invite-form select,.invite-link input,.member-row select{border:1px solid var(--line-strong);color:#d9dadb;background:#0e0e0e;border-radius:7px;outline:0;min-width:0;height:34px;padding:0 9px;font-size:12px}.inline-account-form button{white-space:nowrap;height:34px}.member-list{flex-direction:column;gap:6px;display:flex}.member-row{background:#171819;border-radius:8px;grid-template-columns:32px minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:8px;display:grid}.member-row>span{color:#dfe0e0;background:#2a2c2d;border-radius:8px;place-items:center;width:30px;height:30px;font-size:12px;font-weight:800;display:grid}.member-row>div{flex-direction:column;gap:3px;min-width:0;display:flex}.member-row>div strong{font-size:12px}.member-row>div small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.member-row>b{color:var(--muted);font-size:11px}.member-row select{width:82px}.member-remove{color:#d98787;background:0 0;padding:5px;font-size:11px}.session-list{flex-direction:column;gap:6px;display:flex}.session-row{background:#171819;border-radius:8px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px;display:grid}.session-row>span{width:30px;height:30px;color:var(--muted);background:#2a2c2d;border-radius:8px;place-items:center;display:grid}.session-row>span.current{background:rgb(var(--accent-rgb) / .1);color:var(--lime)}.session-row>span svg{width:13px}.session-row>div{flex-direction:column;gap:3px;min-width:0;display:flex}.session-row>div strong{font-size:12px}.session-row>div small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.account-empty{color:var(--muted-2);text-align:center;margin:0;padding:12px;font-size:12px}.invite-form{grid-template-columns:minmax(150px,1fr) minmax(175px,1fr) auto;gap:8px;display:grid}.invite-form button{white-space:nowrap}.invite-link{grid-template-columns:1fr auto auto;gap:8px;margin-top:9px;display:grid}.invite-link input{color:#b7c1c6}.invite-role-hint{color:var(--muted-2);margin:8px 0 0;font-size:11px;line-height:1.6}.pending-invites{border-top:1px solid var(--line);flex-direction:column;gap:6px;margin-top:14px;padding-top:12px;display:flex}.pending-invites>strong{color:var(--muted);font-size:12px}.pending-invites>div{background:#171819;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:8px;display:flex}.pending-invites span{flex-direction:column;gap:3px;min-width:0;display:flex}.pending-invites b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.pending-invites small{color:var(--muted-2);font-size:11px}.pending-invites button{color:#df9999;background:0 0;font-size:11px}.modal-message{border:1px solid rgb(var(--accent-rgb) / .18);background:var(--lime-soft);color:#c7c8c8;border-radius:8px;margin:12px 0 0;padding:9px 11px;font-size:12px;line-height:1.5}.danger-button{margin-right:auto;color:#eb9696!important;border-color:#ff727238!important}.credential-settings{gap:14px;display:grid}.credential-note{border:1px solid rgb(var(--accent-rgb) / .24);background:rgb(var(--accent-rgb) / .06);border-radius:11px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.credential-note>svg{color:#b9bbbc;flex:none;width:18px}.credential-note>span{gap:4px;display:grid}.credential-note strong{font-size:14px}.credential-note small{color:var(--muted);font-size:13px;line-height:1.55}.credential-list{gap:10px;display:grid}.credential-list article{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;gap:11px;padding:14px;display:grid}.credential-list article.is-valid{border-color:rgb(var(--accent-rgb) / .35)}.credential-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.credential-heading>span{gap:4px;display:grid}.credential-heading strong{font-size:15px}.credential-heading small{color:var(--muted);font-size:13px}.credential-heading>b{background:var(--panel-3);color:var(--muted);border-radius:999px;flex:none;padding:4px 8px;font-size:12px}.credential-current{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.credential-current code{border:1px solid var(--line);color:var(--text);border-radius:7px;padding:6px 9px;font-size:13px}.credential-current-grouped{gap:8px;display:grid}.credential-current-grouped .credential-current span{flex:1}.credential-balance{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.credential-balance>span{gap:4px;display:grid}.credential-balance small{color:var(--muted);font-size:11px}.credential-balance strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:18px;font-weight:600}.script-batch-review{gap:12px;display:grid}.script-batch-review .script-batch-actions{justify-content:flex-end;display:flex}.script-batch-item-error{color:var(--danger,#d24444);font-size:13px}.episode-breakdown-live{gap:8px;margin-top:10px;padding:0 16px;display:grid}.episode-breakdown-live-text pre{border:1px solid var(--line);white-space:pre-wrap;word-break:break-word;border-radius:8px;max-height:240px;margin:8px 0 0;padding:10px;font-size:12px;overflow:auto}.credential-actions{align-items:center;gap:8px;display:flex}.credential-actions input{border:1px solid var(--line-strong);background:var(--panel);min-width:200px;min-height:42px;color:var(--text);border-radius:9px;outline:0;flex:1;padding:0 12px;font-size:14px}.credential-actions input:focus{border-color:var(--lime);box-shadow:0 0 0 3px var(--lime-soft)}.gemini-model-discovery{border-top:1px solid var(--line);gap:9px;padding-top:11px;display:grid}.gemini-model-discovery-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.gemini-model-discovery-heading>span{align-items:baseline;gap:7px;min-width:0;display:flex}.gemini-model-discovery-heading strong{font-size:13px}.gemini-model-discovery-heading small{color:var(--muted-2);font-size:11px}.gemini-model-discovery-heading button{align-items:center;gap:6px;min-height:34px;display:inline-flex}.gemini-model-discovery-heading button svg{width:13px}.gemini-model-limit{border:1px solid rgb(var(--accent-rgb) / .22);background:rgb(var(--accent-rgb) / .06);color:var(--muted);border-radius:7px;margin:0;padding:8px 10px;font-size:11px}.gemini-model-candidates{border:1px solid var(--line);border-radius:8px;max-height:320px;display:grid;overflow-y:auto}.gemini-model-candidate{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;min-height:58px;padding:9px 10px;display:grid}.gemini-model-candidate:last-child{border-bottom:0}.gemini-model-candidate>span{gap:4px;min-width:0;display:grid}.gemini-model-candidate>span strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.gemini-model-candidate>span small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.gemini-model-candidate code{color:var(--muted);font-family:var(--font-mono,monospace)}.gemini-model-candidate>b{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:650}.gemini-model-candidate.is-verified>b{color:var(--lime)}.gemini-model-candidate>button{min-width:58px;min-height:32px}.protocol-test-panel{gap:10px;padding-top:2px;display:grid}.protocol-test-heading{border-top:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding-top:12px;display:flex}.protocol-test-heading>span{gap:4px;display:grid}.protocol-test-heading strong{font-size:15px}.protocol-test-heading small{color:var(--muted);font-size:13px;line-height:1.55}.protocol-test-heading>b{background:var(--panel-3);color:var(--muted);border-radius:999px;flex:none;padding:4px 8px;font-size:12px}.protocol-model-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.protocol-model{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:11px;display:grid}.protocol-model.is-verified{border-color:color-mix(in srgb, var(--lime) 35%, var(--line))}.protocol-model>span:first-child{gap:3px;min-width:0;display:grid}.protocol-model>span:first-child strong{overflow-wrap:anywhere;font-size:13px}.protocol-model>span:first-child small{color:var(--muted);font-size:12px}.protocol-model>b{color:var(--muted);white-space:nowrap;align-self:start;font-size:11px;font-weight:650}.protocol-model>button,.protocol-check{grid-column:1/-1;justify-self:end}.protocol-model>button{min-height:36px}.protocol-check{color:var(--lime);align-items:center;gap:5px;font-size:12px;font-weight:750;display:inline-flex}.protocol-check svg{width:13px}.protocol-confirmation{border:1px solid rgb(var(--accent-rgb) / .25);background:rgb(var(--accent-rgb) / .07);border-radius:11px;gap:12px;padding:14px;display:grid}.protocol-confirmation>div:first-child{gap:5px;display:grid}.protocol-confirmation>div:first-child>strong{font-size:16px}.protocol-confirmation p{color:var(--text);margin:0;font-size:13px;line-height:1.6}.protocol-confirmation small{color:var(--muted);font-size:12px;line-height:1.55}.protocol-confirmation>label{color:var(--text);grid-template-columns:20px minmax(0,1fr);align-items:start;gap:8px;font-size:13px;line-height:1.55;display:grid}.protocol-confirmation>label input{width:18px;height:18px;accent-color:var(--lime);margin-top:1px}.protocol-confirmation>div:last-child{justify-content:flex-end;gap:8px;display:flex}@media (width<=760px){.access-shell{padding:16px}.access-card{padding:22px}.invite-summary{grid-template-columns:1fr}.account-modal{max-height:calc(100vh - 20px);padding:16px}.account-scroll{max-height:calc(100vh - 220px)}.inline-account-form,.invite-form,.invite-link{grid-template-columns:1fr}.credential-actions{flex-direction:column;align-items:stretch}.credential-actions input{width:100%;min-width:0}.gemini-model-candidate{grid-template-columns:minmax(0,1fr) auto}.gemini-model-candidate>button{grid-column:1/-1;justify-self:end}.protocol-model-list{grid-template-columns:1fr}.member-row{grid-template-columns:32px minmax(0,1fr) auto}.member-row .member-remove{grid-column:2/-1;justify-self:end}}body{font-size:16px}.page-content{width:100%;max-width:1440px;margin-left:auto;margin-right:auto}.main-stage :where(p,li,label,input,textarea,select,button),.modal :where(p,li,label,input,textarea,select,button){font-size:max(14px,.875rem)}.main-stage small,.modal small,.sidebar small{font-size:14px;line-height:1.5}.primary-button{min-height:44px}.outline-button,.text-button{min-height:40px}.script-import-modal{width:min(1080px,100%);min-width:0}html[data-theme=light] .script-import-modal .modal-error{color:var(--danger)}.script-import-tabs{border:1px solid var(--line);background:var(--panel-2);border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:5px;display:grid}.script-import-tabs button{min-height:44px;color:var(--muted);background:0 0;border-radius:10px;justify-content:center;align-items:center;gap:8px;font-weight:650;display:flex}.script-import-tabs button.active{background:var(--text);color:var(--bg);box-shadow:0 5px 16px #0000001f}.script-import-tabs svg{width:18px}.script-drop-zone{border:1px dashed var(--line-strong);background:var(--panel-2);text-align:center;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:320px;margin-top:14px;padding:32px;transition:border-color .16s,background .16s,transform .16s;display:flex}.script-drop-zone.dragging{border-color:var(--lime);background:var(--lime-soft);transform:scale(1.005)}.script-drop-zone strong{font-size:21px}.script-drop-zone p{min-width:0;color:var(--muted);overflow-wrap:anywhere;margin:0}.script-drop-zone small{max-width:630px;color:var(--muted-2)}.script-drop-zone .primary-button{min-width:150px;margin-top:10px}.script-drop-icon{border:1px solid var(--line);background:var(--panel);width:58px;height:58px;color:var(--lime);border-radius:18px;place-items:center;display:grid}.script-drop-icon svg{width:26px;height:26px}.script-paste-zone{gap:14px;margin-top:14px;display:grid}.script-paste-zone label,.script-import-editor{color:var(--muted);gap:8px;font-weight:650;display:grid}.script-paste-zone textarea{min-height:300px}.script-paste-zone textarea,.script-import-editor textarea{border:1px solid var(--line-strong);background:var(--panel-2);width:100%;color:var(--text);resize:vertical;border-radius:14px;outline:0;padding:18px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:16px;line-height:1.8}.script-paste-zone textarea:focus,.script-import-editor textarea:focus{border-color:var(--lime);box-shadow:0 0 0 3px var(--lime-soft)}.script-paste-zone>div{justify-content:space-between;align-items:center;gap:14px;display:flex}.script-paste-zone small{color:var(--muted)}.script-import-preview{gap:14px;margin-top:14px;display:grid}.script-import-file-meta{border:1px solid var(--line);background:var(--panel-2);border-radius:13px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;display:grid}.script-import-file-meta>span{background:var(--lime-soft);width:42px;height:42px;color:var(--lime);border-radius:11px;place-items:center;display:grid}.script-import-file-meta>div{gap:3px;min-width:0;display:grid}.script-import-file-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.script-import-file-meta small{color:var(--muted)}.script-import-file-meta button{border:1px solid var(--line);background:var(--panel);min-height:38px;color:var(--muted);border-radius:9px;padding:0 13px}.script-import-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.script-import-stats span{border:1px solid var(--line);background:var(--panel-2);border-radius:11px;gap:4px;padding:12px 14px;display:grid}.script-import-stats small{color:var(--muted)}.script-import-stats strong{font-size:19px}.script-import-warnings{border:1px solid rgb(var(--accent-rgb) / .28);background:rgb(var(--accent-rgb) / .08);color:var(--amber);border-radius:12px;gap:7px;padding:13px 15px;display:grid}.script-import-warnings p{color:var(--text);align-items:flex-start;gap:7px;margin:0;line-height:1.55;display:flex}.script-import-warnings svg{width:16px;color:var(--amber);margin-top:2px}.script-import-editor textarea{min-height:360px;max-height:48vh}.script-import-confirm-note{border:1px solid rgb(var(--accent-rgb) / .2);background:rgb(var(--accent-rgb) / .07);color:var(--blue);border-radius:11px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.script-import-confirm-note>span{gap:3px;display:grid}.script-import-confirm-note small{color:var(--muted)}.script-import-next-step{z-index:2;border:1px solid var(--line);background:var(--panel);border-radius:13px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px;display:grid;position:sticky;top:0}.script-import-next-step>div{gap:4px;display:grid}.script-import-next-step small{color:var(--muted);line-height:1.5}.script-import-next-step>.script-import-preview-actions{align-items:center;gap:8px;display:flex}.script-import-preview-actions button{white-space:nowrap;min-width:96px;min-height:44px}.script-direct-import{color:var(--muted);text-underline-offset:3px;text-decoration:underline}.script-split-heading{border:1px solid var(--line);background:var(--panel-2);border-radius:13px;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.script-split-heading>div{gap:4px;display:grid}.script-split-heading strong{font-size:18px}.script-split-heading small{color:var(--muted)}.script-split-heading>button{border:1px solid var(--line);background:var(--panel);min-height:40px;color:var(--text);border-radius:9px;padding:0 13px}.script-split-list{gap:10px;max-height:min(58vh,680px);padding-right:4px;display:grid;overflow-y:auto}.script-split-card{border:1px solid var(--line);background:var(--panel-2);border-radius:14px;grid-template-columns:48px minmax(0,1fr) auto;align-items:start;gap:13px;padding:14px;display:grid}.script-split-number{background:var(--lime-soft);width:42px;height:42px;color:var(--lime);border-radius:12px;place-items:center;font-weight:800;display:grid}.script-split-fields{gap:9px;display:grid}.script-split-fields p{color:var(--muted);margin:0;line-height:1.55}.script-split-fields p strong{color:var(--text)}.script-split-fields>small{color:var(--muted)}.ai-script-workspace{gap:16px;margin-bottom:18px;padding:20px;display:grid}.ai-script-header,.ai-script-actions,.ai-outline-editor>header,.ai-episode-generator>header{justify-content:space-between;align-items:center;gap:14px;display:flex}.ai-script-header>div,.ai-outline-editor>header>div,.ai-episode-generator>header>div{gap:4px;display:grid}.ai-script-header h2,.ai-outline-editor h3,.ai-episode-generator h3{margin:0}.ai-script-header p,.ai-script-header small,.ai-outline-editor header small,.ai-episode-generator header small{color:var(--muted);margin:0}.ai-script-header select{border:1px solid var(--line-strong);background:var(--panel-2);min-width:290px;min-height:44px;color:var(--text);border-radius:10px;padding:0 12px}.ai-brief-panel,.ai-outline-editor,.ai-episode-generator{border:1px solid var(--line);background:var(--panel-2);border-radius:14px;gap:14px;padding:16px;display:grid}.ai-brief-panel>summary{min-height:32px;color:var(--text);cursor:pointer;font-size:17px;font-weight:750}.ai-brief-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.ai-brief-grid label,.ai-outline-editor>label,.ai-outline-episodes label{color:var(--muted);gap:6px;display:grid}.ai-brief-grid label.wide{grid-column:1/-1}.ai-brief-grid input,.ai-brief-grid textarea,.ai-outline-editor input,.ai-outline-editor textarea{border:1px solid var(--line-strong);background:var(--panel);width:100%;min-height:44px;color:var(--text);border-radius:9px;padding:10px 12px}.ai-brief-grid textarea,.ai-outline-editor>label textarea{resize:vertical;min-height:96px}.ai-script-actions{justify-content:flex-end}.ai-script-actions>small{color:var(--muted);flex:1}.ai-job-banner{border:1px solid var(--line);background:var(--panel-2);border-radius:11px;grid-template-columns:1fr auto;gap:4px 12px;padding:12px 14px;display:grid}.ai-job-banner small{color:var(--muted);grid-column:1/-1}.ai-job-banner.status-failed,.ai-job-banner.status-unknown{border-color:#ff727259}.ai-outline-episodes{gap:10px;display:grid}.ai-outline-episodes article{border:1px solid var(--line);background:var(--panel);border-radius:11px;grid-template-columns:44px minmax(0,1fr);align-items:start;gap:11px;padding:12px;display:grid}.ai-outline-episodes article>b{background:var(--lime-soft);width:40px;height:40px;color:var(--lime);border-radius:10px;place-items:center;display:grid}.ai-outline-episodes article>div{gap:8px;display:grid}.ai-outline-episodes article>div>input{font-size:16px;font-weight:750}.ai-outline-episodes article textarea{resize:vertical;min-height:78px}.ai-outline-episodes article>div>div{grid-template-columns:1fr 1fr;gap:8px;display:grid}.ai-episode-list{gap:9px;display:grid}.ai-episode-list>article{border:1px solid var(--line);background:var(--panel);border-radius:11px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px;display:grid}.ai-episode-list>article.has-candidate{border-color:color-mix(in srgb, var(--lime) 42%, var(--line))}.ai-episode-list>article>label{align-items:center;gap:8px;display:flex}.ai-episode-list>article>label input{width:18px;height:18px;accent-color:var(--lime)}.ai-episode-list>article>label span{color:var(--muted);font-weight:750}.ai-episode-list>article>div:nth-child(2){gap:3px;display:grid}.ai-episode-list small{color:var(--muted)}.ai-episode-list em{color:var(--red);font-size:13px;font-style:normal}.ai-candidate-actions{gap:7px;display:flex}.ai-candidate-actions>button{border:1px solid var(--line);background:var(--panel-2);min-height:40px;color:var(--text);border-radius:9px;padding:0 12px}.ai-episode-list details{grid-column:2/-1}.ai-episode-list details summary{color:var(--lime);cursor:pointer}.ai-episode-list pre{background:var(--panel-2);max-height:380px;color:var(--text);white-space:pre-wrap;border-radius:10px;padding:14px;font-family:inherit;font-size:15px;line-height:1.75;overflow:auto}.video-send-summary{border:1px solid rgb(var(--accent-rgb) / .23);background:rgb(var(--accent-rgb) / .07);border-radius:11px;gap:5px;padding:12px 14px;display:grid}.video-send-summary strong{color:var(--blue)}.video-send-summary span{color:var(--text);font-weight:650}.video-send-summary small{color:var(--muted)}.shot-structured-prompts{gap:14px;display:grid}.asset-prompt-editor{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;gap:9px;padding:12px;display:grid}.asset-prompt-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.asset-prompt-heading>span{gap:3px;display:grid}.asset-prompt-heading strong{font-size:15px}.asset-prompt-heading small{color:var(--muted);font-size:13px}.asset-prompt-heading-actions{flex:none;align-items:center;gap:7px;display:flex}.asset-prompt-heading-actions>button{border:1px solid var(--line-strong);background:var(--panel);min-height:36px;color:var(--text);white-space:nowrap;border-radius:8px;padding:0 12px;font-size:13px;font-weight:700}.asset-prompt-heading-actions>.asset-mention-trigger{border-color:rgb(var(--accent-rgb) / .38);background:rgb(var(--accent-rgb) / .08);color:var(--blue)}.asset-prompt-heading-actions>.asset-prompt-save:not(:disabled){border-color:rgb(var(--accent-rgb) / .4);background:var(--lime-soft);color:var(--lime)}.asset-prompt-editor.field-video_prompt{border-color:rgb(var(--accent-rgb) / .34);background:linear-gradient(145deg, rgb(var(--accent-rgb) / .075), var(--panel-2) 58%);box-shadow:0 10px 26px rgb(var(--accent-rgb) / .07)}.asset-prompt-editor.field-video_prompt .asset-prompt-heading strong{color:var(--blue)}.asset-generation-prompt-editor{border-color:rgb(var(--accent-rgb) / .28);background:linear-gradient(145deg, rgb(var(--accent-rgb) / .07), var(--panel-2) 58%);margin-top:12px}.asset-generation-prompt-editor .asset-prompt-heading strong{color:var(--lime)}.asset-generation-prosemirror{min-height:58px;max-height:150px;font-size:14px}.asset-generation-reference-summary{border:1px solid rgb(var(--accent-rgb) / .22);background:rgb(var(--accent-rgb) / .06);border-radius:10px;flex-wrap:wrap;align-items:center;gap:5px 14px;padding:10px 12px;display:flex}.asset-generation-reference-summary strong{color:var(--text);font-size:13px}.asset-generation-reference-summary span{color:var(--lime);font-size:13px;font-weight:700}.asset-generation-reference-summary small{width:100%;color:var(--muted);font-size:12px}.asset-generation-reference-summary.limit-error{background:#c4404012;border-color:#c4404059}.asset-generation-reference-summary.limit-error span{color:var(--red)}.prompt-reference-strip{gap:7px;display:grid}.prompt-reference-strip article{border:1px solid var(--line);background:var(--panel);border-radius:9px;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:6px;display:grid}.prompt-reference-strip article.stale{border-color:rgb(var(--accent-rgb) / .45)}.prompt-reference-strip article.unavailable{border-color:#ff72727a}.reference-preview{background:var(--panel-3);width:38px;height:38px;color:var(--muted);border-radius:7px;place-items:center;padding:0;display:grid;overflow:hidden}.reference-preview img{object-fit:cover;width:100%;height:100%}.prompt-reference-strip article>span{grid-column:2/4;gap:2px;min-width:0;display:grid}.prompt-reference-strip article>span strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.prompt-reference-strip article>span small{color:var(--muted);font-size:12px}.prompt-reference-strip select{border:1px solid var(--line);background:var(--panel-2);border-radius:7px;grid-area:2/1/auto/3;min-width:0;height:32px;padding:0 6px;font-size:12px}.reference-update,.reference-replace,.reference-remove{background:var(--panel-3);min-height:30px;color:var(--muted);border-radius:7px;padding:0 7px;font-size:12px}.reference-update{border:1px solid rgb(var(--accent-rgb) / .32);color:var(--amber);white-space:nowrap;grid-area:2/3}.reference-replace{white-space:nowrap;grid-area:2/4}.reference-remove{width:30px;color:var(--red);grid-area:1/4;padding:0;font-size:17px}.prompt-reference-empty{border:1px dashed var(--line-strong);color:var(--muted);border-radius:8px;padding:9px 10px;font-size:13px;line-height:1.55}.prompt-reference-empty kbd,.mention-picker-help kbd{border:1px solid var(--line-strong);background:var(--panel);border-radius:5px;padding:2px 5px;font-family:inherit;font-size:12px}.asset-prompt-surface{border:1px solid var(--line-strong);background:var(--panel);border-radius:9px;overflow:hidden}.asset-prompt-prosemirror{min-height:116px;max-height:300px;color:var(--text);white-space:pre-wrap;outline:0;padding:11px;font-size:14px;line-height:1.7;overflow-y:auto}.asset-prompt-prosemirror p{margin:0 0 8px}.asset-prompt-prosemirror p:last-child{margin-bottom:0}.asset-mention-node{border:1px solid rgb(var(--accent-rgb) / .32);background:var(--lime-soft);color:var(--lime);white-space:nowrap;cursor:pointer;border-radius:999px;margin:1px 2px;padding:2px 7px;font-weight:750;display:inline-flex}.asset-mention-node.ProseMirror-selectednode{outline:2px solid var(--lime);outline-offset:1px}.asset-mention-hover-card{z-index:230;border:1px solid var(--line-strong);background:var(--panel);width:300px;max-height:min(430px,100vh - 24px);box-shadow:0 20px 60px rgb(var(--accent-rgb) / .2);pointer-events:none;border-radius:14px;animation:.12s ease-out mention-hover-in;display:grid;position:fixed;overflow:hidden}.asset-mention-hover-card>img,.asset-mention-hover-placeholder{background:var(--bg-soft);width:100%;height:210px}.asset-mention-hover-card>img{object-fit:contain}.asset-mention-hover-placeholder{color:var(--muted);text-align:center;place-content:center;gap:7px;display:grid}.asset-mention-hover-placeholder span{font-size:30px;font-weight:800}.asset-mention-hover-card>div:last-child{gap:4px;padding:11px 12px 13px;display:grid}.asset-mention-hover-card strong{overflow-wrap:anywhere;font-size:14px}.asset-mention-hover-card small{color:var(--muted);font-size:11px}.asset-mention-hover-card p{color:var(--text);margin:3px 0;font-size:12px;line-height:1.5}.asset-mention-hover-card em{color:var(--lime);font-size:11px;font-style:normal}@keyframes mention-hover-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.asset-prompt-footer{color:var(--muted);flex-wrap:wrap;align-items:center;gap:5px 12px;font-size:12px;display:flex}.asset-prompt-footer strong{color:var(--amber);font-weight:600}.asset-prompt-error{color:var(--red);margin:0;font-size:13px;line-height:1.5}.prompt-editor-loading,.prompt-load-fallback>p{border:1px solid var(--line);color:var(--muted);border-radius:9px;padding:12px;font-size:13px}.asset-mention-picker{z-index:180;border:1px solid var(--line-strong);background:var(--panel);border-radius:13px;width:min(410px,100vw - 24px);max-height:380px;display:grid;position:fixed;overflow:hidden;box-shadow:0 24px 70px #00000052}.mention-search{border-bottom:1px solid var(--line);grid-template-columns:28px minmax(0,1fr) 30px;align-items:center;gap:4px;padding:8px;display:grid}.mention-search>span{color:var(--lime);text-align:center;font-size:19px;font-weight:850}.mention-search input{background:0 0;border:0;outline:0;width:100%;min-width:0;height:38px;padding:0 9px;font-size:14px}.mention-search button{background:var(--panel-2);height:30px;color:var(--muted);border-radius:7px}.mention-kind-filter{border-bottom:1px solid var(--line);gap:5px;padding:7px 8px;display:flex;overflow-x:auto}.mention-kind-filter button{background:var(--panel-2);min-height:29px;color:var(--muted);border-radius:999px;flex:none;padding:0 8px;font-size:12px}.mention-kind-filter button.active{background:var(--text);color:var(--bg)}.mention-results{min-height:120px;padding:6px;overflow-y:auto}.mention-results>button{width:100%;color:inherit;text-align:left;background:0 0;border-radius:9px;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px;display:grid}.mention-results>button.active{background:var(--lime-soft)}.mention-result-image{background:var(--panel-3);width:46px;height:42px;color:var(--muted);border-radius:7px;place-items:center;display:grid;overflow:hidden}.mention-result-image img{object-fit:cover;width:100%;height:100%}.mention-results>button>span:nth-child(2){gap:3px;min-width:0;display:grid}.mention-results strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.mention-results small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.mention-results em{color:var(--muted);font-size:11px;font-style:normal}.mention-results>p{color:var(--muted);text-align:center;margin:18px;font-size:13px}.mention-picker-help{border-top:1px solid var(--line);color:var(--muted);padding:7px 10px;font-size:11px}.prompt-reference-lightbox{z-index:210;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.prompt-reference-lightbox section{border:1px solid var(--line-strong);background:var(--panel);border-radius:16px;gap:12px;width:min(760px,96vw);max-height:92vh;padding:14px;display:grid;position:relative;overflow:auto}.prompt-reference-lightbox section>button{z-index:2;color:#fff;background:#000000ad;border-radius:50%;width:36px;height:36px;font-size:20px;position:absolute;top:20px;right:20px}.prompt-reference-lightbox img{object-fit:contain;background:var(--bg);border-radius:11px;width:100%;max-height:72vh}.prompt-reference-lightbox section>div:last-child{gap:3px;display:grid}.prompt-reference-lightbox small{color:var(--muted)}.reference-no-image{background:var(--panel-2);min-height:320px;color:var(--muted);border-radius:11px;place-items:center;display:grid}.prompt-reference-update-modal{z-index:214;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#10141194;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.prompt-reference-update-modal>section{border:1px solid var(--line-strong);background:var(--panel);width:min(900px,96vw);max-height:92vh;box-shadow:0 28px 90px rgb(var(--accent-rgb) / .22);border-radius:18px;padding:22px;overflow:auto}.prompt-reference-update-modal header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.prompt-reference-update-modal header h3{margin:5px 0 4px;font-size:23px}.prompt-reference-update-modal header p{color:var(--muted);margin:0;font-size:14px}.prompt-reference-update-modal header>button{background:var(--panel-2);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;font-size:21px}.reference-update-reasons{flex-wrap:wrap;gap:7px;margin:16px 0 12px;display:flex}.reference-update-reasons span{background:rgb(var(--accent-rgb) / .11);color:var(--amber);border-radius:999px;padding:5px 9px;font-size:12px}.reference-update-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.reference-update-grid article{border:1px solid var(--line);background:var(--panel-2);border-radius:13px;align-content:start;gap:9px;padding:12px;display:grid}.reference-update-grid article>b{color:var(--muted);font-size:13px}.reference-update-grid article>img,.reference-update-grid article>div{background:var(--panel-3);object-fit:contain;border-radius:10px;width:100%;height:250px}.reference-update-grid article>div{color:var(--muted);place-items:center;font-size:14px;display:grid}.reference-update-grid article>strong{font-size:16px}.reference-update-grid article>p{min-height:42px;color:var(--muted);margin:0;font-size:14px;line-height:1.6}.reference-update-grid article>small{color:var(--muted-2);font-size:12px}.reference-update-blocked,.reference-update-impact{border-radius:9px;margin:12px 0 0;padding:10px 12px;font-size:13px;line-height:1.55}.reference-update-blocked{color:var(--red);background:#c4404012;border:1px solid #c4404033}.reference-update-impact{border:1px solid rgb(var(--accent-rgb) / .18);background:rgb(var(--accent-rgb) / .06);color:var(--amber)}.prompt-reference-update-modal footer{justify-content:flex-end;gap:9px;margin-top:16px;display:flex}@media (width<=760px){.script-import-modal{padding:16px}.script-import-tabs{grid-template-columns:1fr 1fr}.script-drop-zone{min-height:260px;padding:22px 14px}.script-import-file-meta{grid-template-columns:38px minmax(0,1fr)}.script-import-file-meta>button{grid-column:1/-1}.script-paste-zone>div{flex-direction:column;align-items:stretch}.script-import-editor textarea{min-height:180px}.script-import-modal .modal-actions{flex-wrap:wrap}.script-import-next-step{grid-template-columns:minmax(0,1fr)}.script-import-next-step>.script-import-preview-actions{justify-content:flex-end}.script-split-card{grid-template-columns:1fr}.script-split-heading,.ai-script-header,.ai-script-actions,.ai-outline-editor>header,.ai-episode-generator>header,.asset-prompt-heading{flex-direction:column;align-items:stretch}.asset-prompt-heading-actions{grid-template-columns:1fr 1fr;display:grid}.ai-script-header select{width:100%;min-width:0}.ai-brief-grid,.ai-outline-episodes article>div>div{grid-template-columns:1fr}.ai-episode-list>article{grid-template-columns:auto minmax(0,1fr)}.ai-candidate-actions,.ai-episode-list details{grid-column:1/-1}.asset-mention-picker{border-radius:18px;width:calc(100vw - 16px);max-height:min(70vh,540px);inset:auto 8px 8px!important}.reference-update-grid{grid-template-columns:1fr}.reference-update-grid article>img,.reference-update-grid article>div{height:210px}.prompt-reference-update-modal{align-items:end;padding:8px}.prompt-reference-update-modal>section{border-radius:18px 18px 8px 8px;width:100%;max-height:88vh;padding:16px}.prompt-reference-update-modal footer{flex-direction:column-reverse;align-items:stretch}.episode-video-card{grid-template-columns:132px minmax(0,1fr)}.episode-video-cover>img{min-height:280px}.episode-video-copy>footer{flex-direction:column;align-items:stretch}}.modal-scroll-body>label{flex-direction:column;gap:7px;margin-top:13px;display:flex}.modal-scroll-body .field-grid{margin-left:0;margin-right:0}.modal-scroll-body .three-fields{grid-template-columns:repeat(3,1fr)}.toast{--toast-tone:var(--brand-accent);z-index:600;top:max(20px, env(safe-area-inset-top));border:1px solid color-mix(in srgb, var(--toast-tone) 24%, var(--panel));background:color-mix(in srgb, var(--toast-tone) 7%, var(--panel));width:max-content;min-width:240px;max-width:min(560px,100vw - 32px);box-shadow:var(--floating-shadow);color:var(--toast-tone);border-radius:8px;align-items:center;gap:10px;padding:12px 16px;font-size:14px;animation:.18s ease-out both toast-in;display:flex;position:fixed;left:50%;transform:translate(-50%)}.toast-error{--toast-tone:var(--danger)}.toast-warning{--toast-tone:var(--warning)}.toast>span{background:var(--toast-tone);width:18px;height:18px;color:var(--panel);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;line-height:1;display:grid}.toast-content{overflow-wrap:anywhere;min-width:0;line-height:1.5}.toast-content .text-button{color:inherit;margin-top:4px;text-decoration:underline;display:block}.toast-dismiss{width:24px;height:24px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;align-self:flex-start;place-items:center;margin-left:6px;padding:0;font-size:20px;line-height:1;display:grid}.toast-dismiss:hover{background:color-mix(in srgb, var(--toast-tone) 12%, transparent)}.toast-dismiss:focus-visible{outline-offset:2px;outline:2px solid}.toast svg{stroke-width:2.5px;width:12px;height:12px}@media (width<=600px){.toast{top:max(16px, env(safe-area-inset-top));min-width:0}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-8px)}}@media (width>=1481px){.episode-shot-editor{grid-template-columns:240px minmax(520px,1fr) 340px;gap:14px}.shot-editor-assets,.shot-editor-main,.shot-editor-preview-panel{height:min(780px,100vh - 230px)}}@media (width<=1480px){:root{--sidebar:210px}.page-content{padding-left:24px;padding-right:24px}.asset-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.shot-production-list article{grid-template-columns:36px minmax(160px,1fr) auto}.production-shot-actions{grid-column:2/-1}.clip-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=1190px){:root{--sidebar:78px}.brand{justify-content:center;padding:0}.sidebar-create-button{width:46px;margin-left:auto;margin-right:auto;padding:0}.sidebar-create-button span,.brand-copy,.nav-section-label,.nav-item span,.nav-item b,.sidebar-service div{display:none}.nav-item{justify-content:center;padding:0}.nav-item.is-active:before{left:-12px}.sidebar-service{justify-content:center;padding:13px 0}.episode-shot-editor{grid-template-columns:190px minmax(0,1fr);grid-template-areas:"assets main""preview preview""timeline timeline"}.shot-editor-preview-panel{height:auto;min-height:480px}.user-button div,.user-button>svg{display:none}.asset-creation-flow{grid-template-columns:1fr}.asset-flow-arrow{min-height:18px;transform:rotate(90deg)}.asset-summary-row{grid-template-columns:repeat(2,1fr)}.asset-bulk-run>summary{grid-template-columns:34px minmax(180px,1fr) 48px 48px 110px}.asset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.storyboard-workspace,.generation-layout,.preview-layout{grid-template-columns:1fr}.episode-render-controls{grid-template-columns:1fr 1fr}.episode-render-controls>div{grid-column:1/-1}.episode-render-content{grid-template-columns:1fr}.shot-inspector,.billing-panel{position:static}.shot-inspector{grid-template-columns:250px 1fr 1fr;display:grid}.inspector-header{grid-column:1/-1}.inspector-preview{grid-row:2/6;height:100%;min-height:230px}.shot-inspector>label,.shot-inspector .field-grid,.shot-source-evidence,.shot-frame-entry,.linked-assets{margin-left:0;margin-right:15px}.shot-source-evidence{grid-column:2/-1}.inspector-actions{grid-column:2/-1;margin-left:0}.billing-panel{grid-template-columns:1fr 1fr;gap:14px;display:grid}.billing-panel .panel-heading{grid-column:1/-1}.billing-total,.billing-note{align-self:end}.player-panel{grid-template-columns:290px 1fr;align-items:start;gap:14px;display:grid}.player-panel>.panel-heading{grid-column:1/-1}.vertical-player{grid-row:2/5}.real-video-player{grid-row:2/5;min-height:320px}}@media (width<=860px){:root{--sidebar:0px}.sidebar{display:none}.workspace{grid-column:1}.studio-shell{display:block}.topbar{padding:0 14px}.mobile-nav{z-index:18;border-bottom:1px solid var(--line);background:rgb(var(--accent-rgb) / .95);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);gap:3px;padding:7px 12px;display:flex;position:sticky;top:68px;overflow-x:auto}.mobile-nav button{height:34px;color:var(--muted);white-space:nowrap;background:0 0;border-radius:7px;flex:none;align-items:center;gap:6px;padding:0 10px;font-size:12px;display:flex}.mobile-nav button.is-active{background:var(--lime-soft);color:var(--lime)}.mobile-nav svg{width:13px}.compact-brand{display:flex}.project-switcher>span:nth-child(2){min-width:0}.project-switcher small,.balance-pill{display:none}.pipeline-bar{grid-template-columns:1fr;padding:10px 14px;position:relative;top:0}.pipeline-context,.pipeline-bar>.outline-button{display:none}.pipeline-steps{grid-template-columns:repeat(5,minmax(130px,1fr));overflow-x:auto}.page-content{padding:22px 14px 36px}.analysis-active-banner{grid-template-columns:48px minmax(0,1fr);gap:13px;padding:16px;position:static}.analysis-active-icon{border-radius:13px;width:46px;height:46px}.analysis-active-progress{grid-column:1/-1;padding-left:61px}.analysis-active-progress>button{justify-content:flex-start}.analysis-active-jobs{flex-wrap:wrap}.welcome-row,.page-header{flex-direction:column;align-items:flex-start}.episode-video-list{grid-template-columns:1fr}.asset-bulk-history-heading{flex-direction:column;align-items:flex-start}.asset-bulk-run>summary{grid-template-columns:34px minmax(0,1fr) 48px 48px}.asset-bulk-run-progress{grid-column:2/-1;height:6px;margin:3px 0 5px}.asset-bulk-run-detail{padding-left:13px}.asset-bulk-batches>div{grid-template-columns:28px minmax(100px,1fr) auto}.asset-bulk-batches>div>small{grid-column:2/-1}.episode-video-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.episode-shot-editor{grid-template-columns:1fr;grid-template-areas:"assets""main""preview""timeline"}.shot-editor-assets{height:280px}.shot-editor-main{height:auto;max-height:none}.shot-editor-preview-panel{min-height:520px}.script-layout,.analysis-candidate-list{grid-template-columns:1fr}.storyboard-version-heading{flex-direction:column;align-items:flex-start;gap:5px}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.asset-summary-row{grid-template-columns:1fr}.asset-toolbar{flex-direction:column;align-items:flex-start;gap:10px}.segmented-tabs{width:100%;overflow-x:auto}.asset-library-page{padding-top:22px}.asset-library-toolbar{flex-direction:column;align-items:stretch;gap:12px;min-width:0;max-width:100%;margin-bottom:18px}.asset-library-tabs{gap:18px}.asset-library-actions{flex-wrap:wrap;width:100%;min-width:0;max-width:100%}.asset-library-actions>button{flex:1}.asset-library-more{margin-left:auto}.asset-library-running{grid-template-columns:34px minmax(0,1fr) auto 18px}.asset-library-running small,.asset-library-running>em{display:none}.asset-review-backdrop{align-items:end;padding:8px}.asset-review-modal{border-radius:20px 20px 8px 8px;max-height:94vh}.asset-review-controls{flex-direction:column;align-items:stretch}.asset-review-controls>label{min-width:0}.asset-review-controls>div{grid-template-columns:1fr 1fr;display:grid}.asset-review-modal-body{padding-left:14px;padding-right:14px}.asset-review-modal-heading,.asset-review-controls,.asset-review-modal-actions{padding-left:16px;padding-right:16px}.shot-card{grid-template-columns:15px 105px minmax(0,1fr)}.shot-actions{display:none}.shot-inspector{display:block}.inspector-preview{min-height:210px}.shot-inspector>label,.shot-inspector .field-grid,.shot-source-evidence,.shot-frame-entry,.linked-assets,.inspector-actions{margin-left:15px;margin-right:15px}.shot-source-evidence{grid-column:auto}.shot-production-list article{grid-template-columns:36px minmax(0,1fr)}.production-shot-evidence,.production-shot-actions{grid-column:2;justify-content:flex-start}.job-card{grid-template-columns:80px 1fr}.review-button{grid-column:2;justify-self:start}.billing-panel,.player-panel{display:block}.legacy-count-grid{grid-template-columns:repeat(3,1fr)}.legacy-recent>div{grid-template-columns:1fr}.legacy-asset-decision-list>div{grid-template-columns:minmax(0,1fr) 92px 112px}.legacy-asset-decision-list>div>input{grid-column:1/-1}.asset-generation-controls,.asset-upload-box{grid-template-columns:1fr}.asset-workspace-overview{grid-template-columns:78px minmax(0,1fr)}.asset-workspace-cover{width:78px;height:72px}.asset-workspace-review{grid-column:1/-1;justify-content:flex-start}.asset-workspace-tabs{grid-template-columns:1fr}.asset-workspace-tabs>button{min-height:50px}.asset-workspace-quick-settings .asset-workspace-section-heading{flex-direction:column;align-items:stretch}.asset-workspace-quick-settings .asset-workspace-section-heading>button{width:100%}.asset-workspace-start-grid,.asset-direct-upload{grid-template-columns:1fr}.asset-direct-upload>small{grid-column:auto}.asset-bulk-selection-tools{flex-wrap:wrap;align-items:stretch}.asset-bulk-selection-tools>small{width:100%;margin-left:0}.asset-bulk-grid,.asset-bulk-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-upload-box>small{grid-column:auto}.clip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-popover{width:auto;position:fixed;top:68px;left:12px;right:12px}.canvas-node-toolbar{top:52px;left:12px;right:12px}.canvas-inline-error,.canvas-link-hint{max-width:calc(100% - 24px);top:96px}.canvas-edge-list{max-width:calc(100% - 24px);top:138px;left:12px;right:auto}.canvas-scene-label{top:178px}}@media (width<=560px){.compact-brand strong,.project-switcher>span:nth-child(2),.project-switcher>svg{display:none}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.asset-library-actions{flex-wrap:wrap;gap:8px;display:flex}.asset-library-actions>button{white-space:nowrap;flex:calc(50% - 4px);min-width:0;padding-left:9px;padding-right:9px;overflow:hidden}.asset-library-actions>.asset-library-more{flex:0 0 42px}.asset-library-actions>.asset-storyboard-button{flex-basis:100%;width:100%}.asset-copy{min-height:56px;padding:9px 10px 10px}.asset-copy h3{font-size:13px}.asset-copy p{font-size:11px}.asset-kind{top:7px;left:7px}.asset-status-overlay{top:7px;right:7px}}html[data-theme=light] :where(.icon-button,.sidebar-service,.outline-button,.data-banner,.episode-item,.episode-inline-editor,.analysis-candidate,.segmented-tabs,.asset-add-card,.view-switch,.storyboard-version-list button,.canvas-toolbar,.canvas-node,.clip-card,.clip-info,.billing-note,.episode-render-list>button,.production-guide-list>div,.project-archive-list article,.legacy-import-guide,.legacy-count-grid>div,.legacy-project-list>div,.legacy-issue,.legacy-decision-list>div,.legacy-gpt-target,.asset-generation-box,.frame-reference-summary,.frame-generation-jobs,.frame-candidate-card,.asset-upload-box,.asset-variant-card,.security-warning,.account-section,.media-quota-values span,.member-row,.session-row,.pending-invites>div,.semantic-form-card,.reference-suggestion-list article,.director-mode-switch button,.recycle-list article,.rough-cut-timeline>article,.production-tool-modal>.modal-actions,.prompt-template-layout>aside){background:#f7f7f7}html[data-theme=light] :where(.notification-popover>button:hover){background:#eee}html[data-theme=light] .project-menu{border-color:var(--border);box-shadow:0 20px 44px -18px #10182833,0 4px 12px -4px #10182814}html[data-theme=light] .project-menu>button:hover{background:var(--surface-sunken)}html[data-theme=light] .project-menu>button.active{box-shadow:inset 0 0 0 1px #10182817}html[data-theme=light] .project-menu>button>span{box-shadow:inset 0 0 0 1px #1018280f}html[data-theme=light] .project-menu>button:hover>span{box-shadow:inset 0 0 0 1px #10182824}html[data-theme=light] .project-menu>button.active>span{box-shadow:none}html[data-theme=light] .pipeline-steps>button:not(:last-child):after{border-color:#b7c2b3}html[data-theme=light] .pipeline-steps>button>span{color:#718077;border-color:#cdcece}html[data-theme=light] .pipeline-steps strong,html[data-theme=light] .pipeline-steps .is-done strong{color:#5e6d63}html[data-theme=light] .pipeline-steps small{color:#859188}html[data-theme=light] .pipeline-steps .is-current strong,html[data-theme=light] .pipeline-context b,html[data-theme=light] .balance-pill strong,html[data-theme=light] .eyebrow,html[data-theme=light] .version-badge strong{color:#454749}html[data-theme=light] .primary-button,html[data-theme=light] .sidebar-create-button{border-color:var(--lime);background:var(--lime);color:var(--on-accent);box-shadow:none}html[data-theme=light] .primary-button:hover:not(:disabled),html[data-theme=light] .sidebar-create-button:hover:not(:disabled){background:var(--lime-2)}html[data-theme=light] :where(.pipeline-steps .is-current>span,.episode-item.active .episode-select>span,.project-card-art>i,.clip-art>em,.candidate-approved .frame-candidate-preview b,.variant-approved .variant-preview b,.director-stage>button i){background:var(--lime-soft);color:var(--lime-2)}html[data-theme=light] .outline-button,html[data-theme=light] .data-banner>button,html[data-theme=light] .episode-inline-editor>div button,html[data-theme=light] .asset-card-actions button,html[data-theme=light] .candidate-actions button,html[data-theme=light] .frame-candidate-actions button,html[data-theme=light] .variant-actions button,html[data-theme=light] .rough-cut-history button,html[data-theme=light] .director-stage-toolbar button{color:#344138;background:#f3f3f4;border-color:#cbcccc}html[data-theme=light] .outline-button:hover,html[data-theme=light] .icon-button:hover{color:#1b1c1c;background:#ebebeb;border-color:#abb9a6}html[data-theme=light] .theme-toggle{color:#5b5e60}html[data-theme=light] .balance-pill{border-color:rgb(var(--accent-rgb) / .23);background:#f0f0f1}html[data-theme=light] .project-switcher,html[data-theme=light] .user-button{color:var(--text);background:0 0}html[data-theme=light] :where(.real-empty-state strong,.asset-empty-state strong,.asset-add-card strong,.media-empty strong,.billing-empty strong,.preview-media-empty strong,.episode-render-placeholder strong,.modal-security strong,.project-archive-list article strong,.legacy-import-guide strong,.legacy-selected-file strong,.legacy-count-grid strong,.legacy-project-list strong,.legacy-issue strong,.legacy-commit-heading strong,.legacy-decision-list strong,.prompt-fields label>span){color:#2b362e}html[data-theme=light] .editor-toolbar,html[data-theme=light] .editor-footer{background:#f7f7f7}html[data-theme=light] .notification-popover{box-shadow:0 24px 60px rgb(var(--accent-rgb) / .16);background:#fff}html[data-theme=light] .script-editor-panel>textarea{color:#222a23;caret-color:#4f5254;background:#fff}html[data-theme=light] .storyboard-version-strip{box-shadow:0 12px 34px rgb(var(--accent-rgb) / .07);background:#ffffffeb;border-color:#cecfd0}html[data-theme=light] .storyboard-version-heading strong{color:#2d382f}html[data-theme=light] .storyboard-version-heading small{color:#78847b}html[data-theme=light] .storyboard-version-list button{color:#566258;background:#f7f7f7;border-color:#d2d2d3}html[data-theme=light] .storyboard-version-list button.current{color:#2d2f30;background:#eee;border-color:#9ea0a3}html[data-theme=light] .storyboard-version-list button.current b{color:#454749;background:#dedede}html[data-theme=light] :where(.shot-inspector input,.shot-inspector textarea,.shot-inspector select,.modal input,.modal textarea,.modal select,.episode-inline-editor input,.episode-render-controls select,.legacy-decision-list input,.legacy-decision-list select,.legacy-gpt-target select,.asset-generation-box textarea,.video-audio-toggle button,.access-form input,.member-row select,.prompt-fields input,.prompt-fields textarea,.prompt-fields select,.rough-cut-range input){color:#242526;background:#fff;border-color:#cacbcc}html[data-theme=light] .version-timeline i{background:#a8b4aa;border-color:#fff}html[data-theme=light] .canvas-board{background-color:#f4f4f4;background-image:radial-gradient(#cdcece 1px,#0000 1px)}html[data-theme=light] .canvas-node{box-shadow:0 10px 24px rgb(var(--accent-rgb) / .1);background:#fff;border-color:#cdcecf}html[data-theme=light] .canvas-toolbar,html[data-theme=light] .canvas-node-toolbar>button,html[data-theme=light] .canvas-node-toolbar>span,html[data-theme=light] .canvas-edge-list,html[data-theme=light] .canvas-layout-status{box-shadow:0 6px 18px rgb(var(--accent-rgb) / .1);background:#fffffff0;border-color:#cdcecf}html[data-theme=light] .canvas-toolbar button:hover,html[data-theme=light] .canvas-node-toolbar>button,html[data-theme=light] .canvas-node-toolbar>span select{color:#3b483d}html[data-theme=light] .canvas-support-node{color:#263028;box-shadow:0 11px 27px rgb(var(--accent-rgb) / .11);background:#fffffff7;border-color:#c8c9ca}html[data-theme=light] .canvas-support-node>strong{color:#232426}html[data-theme=light] .canvas-support-node>small{color:#667168}html[data-theme=light] .canvas-inline-error{color:#ac4545;background:#fff7f7f5;border-color:#e9b9b9}html[data-theme=light] .canvas-link-hint{color:#676a6e;background:#f6fafff5;border-color:#d0d1d2}html[data-theme=light] .canvas-node-source{background:#f4f8fd;border-color:#dadbdb}html[data-theme=light] .canvas-node-source strong{color:#676a6e}html[data-theme=light] .canvas-add{background:#fff;border-color:#9eae99}html[data-theme=light] .canvas-connector{stroke:#9baa96}html[data-theme=light] .director-stage-wrap{background:#f6f6f6}html[data-theme=light] .director-stage{background-image:linear-gradient(rgb(var(--accent-rgb) / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--accent-rgb) / .07) 1px, transparent 1px)}html[data-theme=light] .director-stage>button{background:#eee}html[data-theme=light] .line-art-preview{background:repeating-linear-gradient(135deg,#f7f7f7 0 10px,#eee 10px 20px)}html[data-theme=light] .line-art-preview>span{border-color:rgb(var(--accent-rgb) / .46);color:#3d4a40}html[data-theme=light] .template-history>div{background:#fff}html[data-theme=light] .template-variables code{color:#5f6265}html[data-theme=light] .modal-backdrop{background:rgb(var(--accent-rgb) / .34)}html[data-theme=light] .access-shell{background:radial-gradient(circle at 50% -15%, rgb(var(--accent-rgb) / .13), transparent 34%), radial-gradient(circle at 92% 86%, rgb(var(--accent-rgb) / .08), transparent 30%), #f4f4f4}html[data-theme=light] :where(.frame-candidate-preview,.video-candidate-preview video,.variant-preview,.real-clip-thumbnail,.episode-render-preview,.episode-render-preview video,.real-video-player,.real-video-player video,.vertical-player,.rough-cut-preview){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.shot-reference-panel{border:1px solid var(--line);background:var(--panel-2);border-radius:14px;outline:none;gap:12px;padding:14px;display:grid;position:relative}.shot-reference-panel:focus-visible,.shot-reference-panel.is-dragging{border-color:var(--lime-2);box-shadow:0 0 0 3px color-mix(in srgb, var(--lime-2) 18%, transparent)}.shot-reference-panel>header,.shot-reference-meter,.shot-reference-uploading,.shot-reference-grid article footer,.reference-transfer-dialog header,.reference-transfer-dialog footer,.reference-transfer-tabs{align-items:center;gap:10px;display:flex}.shot-reference-panel>header>span{flex:1;gap:3px;display:grid}.shot-reference-panel>header small,.shot-reference-meter small,.shot-reference-grid small,.reference-transfer-dialog small{color:var(--muted);font-size:14px}.shot-reference-panel button{min-height:40px}.shot-reference-meter{color:var(--muted);flex-wrap:wrap}.shot-reference-meter span{background:var(--panel);font-variant-numeric:tabular-nums;border-radius:999px;padding:4px 8px}.shot-reference-meter small{flex:260px}.shot-reference-uploading{border:1px solid var(--lime-2);background:var(--panel);border-radius:12px;padding:10px}.shot-reference-uploading img{object-fit:cover;border-radius:9px;width:64px;height:64px}.shot-reference-uploading>span{flex:1;gap:5px;display:grid}.shot-reference-uploading progress{width:100%;accent-color:var(--lime-2)}.shot-reference-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;display:grid}.shot-reference-grid article{border:1px solid var(--line);background:var(--panel);border-radius:12px;gap:7px;min-width:0;padding:8px;display:grid}.shot-reference-preview{aspect-ratio:4/3;background:var(--bg-soft);border:0;border-radius:9px;width:100%;padding:0;overflow:hidden}.shot-reference-preview img{object-fit:cover;width:100%;height:100%}.shot-reference-grid article>div{gap:3px;min-width:0;display:grid}.shot-reference-grid article strong,.shot-reference-grid article small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shot-reference-grid article footer{align-items:stretch}.shot-reference-grid article footer button{flex:1;padding:5px 7px;font-size:13px}.shot-reference-empty{border:1px dashed var(--line-strong);color:var(--muted);text-align:center;border-radius:12px;padding:20px 14px}.reference-transfer-dialog{z-index:96;background:rgb(var(--accent-rgb) / .54);place-items:center;padding:20px;display:grid;position:fixed;inset:0}.reference-transfer-dialog>section{border:1px solid var(--line);background:var(--panel);border-radius:18px;gap:14px;width:min(520px,100%);max-height:min(760px,90vh);padding:20px;display:grid;overflow:auto;box-shadow:0 28px 90px #00000040}.reference-transfer-dialog header>div{flex:1;gap:4px;display:grid}.reference-transfer-dialog label{gap:7px;display:grid}.reference-transfer-dialog input,.reference-transfer-dialog select{min-height:44px}.reference-transfer-tabs button{flex:1}.reference-transfer-tabs button.active{border-color:var(--lime-2);color:var(--lime-2);background:var(--lime-soft)}.reference-transfer-dialog footer{justify-content:flex-end}html[data-theme=light] .shot-reference-panel,html[data-theme=light] .shot-reference-grid article,html[data-theme=light] .shot-reference-uploading,html[data-theme=light] .reference-transfer-dialog>section{background:#fff}@media (width<=760px){.shot-reference-panel>header{flex-direction:column;align-items:stretch}.shot-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.frame-preflight-button{justify-self:start}.generation-preflight{border:1px solid var(--blue);background:color-mix(in srgb, var(--blue) 5%, var(--panel));border-radius:14px;gap:12px;padding:14px;display:grid}.generation-preflight>header,.generation-preflight>header>div,.preflight-text-only,.preflight-seedance-note{gap:8px;display:flex}.generation-preflight>header{justify-content:space-between;align-items:center}.generation-preflight>header>div,.preflight-text-only{flex-direction:column}.generation-preflight details{border:1px solid var(--line);background:var(--panel);border-radius:10px;overflow:hidden}.generation-preflight summary{cursor:pointer;padding:10px 12px;font-weight:700}.generation-preflight pre{border-top:1px solid var(--line);max-height:260px;color:var(--muted);white-space:pre-wrap;word-break:break-word;margin:0;padding:12px;font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.preflight-reference-list{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:9px;display:grid}.preflight-reference-list article{border:1px solid var(--line);background:var(--panel);border-radius:10px;align-items:center;gap:9px;min-width:0;padding:8px;display:flex}.preflight-reference-list img,.preflight-reference-list article>span{object-fit:cover;background:var(--bg-soft);border-radius:8px;flex:none;width:58px;height:58px}.preflight-reference-list article>div{gap:4px;min-width:0;display:grid}.preflight-reference-list strong,.preflight-reference-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.preflight-text-only,.preflight-seedance-note{background:var(--panel);border-radius:10px;padding:10px}.preflight-text-only span,.preflight-seedance-note span{color:var(--muted)}html[data-theme=light] .generation-preflight{background:#f4f9ff}html[data-theme=light] .generation-preflight details,html[data-theme=light] .preflight-reference-list article,html[data-theme=light] .preflight-text-only,html[data-theme=light] .preflight-seedance-note{background:#fff}.studio-shell.episode-editor-shell{background:var(--bg);min-height:100dvh;display:block}.episode-editor{--editor-toolbar:66px;--editor-taskstrip:auto;--editor-timeline:132px;z-index:70;grid-template-rows:var(--editor-toolbar) var(--editor-taskstrip) minmax(0, 1fr) var(--editor-timeline);background:var(--bg);color:var(--text);display:grid;position:fixed;inset:0;overflow:hidden}.episode-editor button,.episode-editor select,.episode-editor input{font:inherit}.episode-editor-toolbar{border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--panel) 96%, transparent);min-width:0;box-shadow:0 7px 24px rgb(var(--accent-rgb) / .04);grid-template-columns:minmax(220px,.8fr) minmax(620px,2.5fr) auto;align-items:center;gap:16px;padding:9px 14px;display:grid}.episode-editor-identity,.episode-editor-actions,.episode-editor-settings,.episode-editor-settings label,.pane-heading,.timeline-heading,.prompt-workspace-heading,.preview-tabs{align-items:center;display:flex}.episode-editor-identity{gap:10px;min-width:0}.episode-editor-identity>div{gap:2px;min-width:0;display:grid}.episode-editor-identity strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.episode-editor-identity small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.episode-editor-identity .save-dirty,.episode-editor-identity .save-local,.episode-editor-identity .save-error{color:#717477}.episode-editor-identity .save-saved{color:#535659}.episode-editor-back,.episode-editor-more,.collapsed-pane-button{border:1px solid var(--line);background:var(--panel);color:var(--text)}.episode-editor-back{border-radius:50%;flex:none;width:38px;height:38px;font-size:20px}.episode-editor-settings{scrollbar-width:none;gap:7px;min-width:0;overflow-x:auto}.episode-editor-settings::-webkit-scrollbar{display:none}.episode-editor-settings label{border:1px solid var(--line);background:var(--panel);border-radius:10px;gap:5px;min-width:0;padding:5px 8px}.episode-editor-settings label>span{color:var(--muted);white-space:nowrap;font-size:11px}.episode-editor-settings select{min-width:78px;height:28px;color:var(--text);background:0 0;border:0;outline:0;font-size:12px;font-weight:700}.episode-editor-settings .template-setting{flex:150px}.episode-editor-settings .template-setting select{width:100%}.episode-editor-settings .audio-setting{min-width:auto}.episode-editor-settings .audio-setting input{width:15px;height:15px;accent-color:var(--lime)}.episode-editor-actions{white-space:nowrap;justify-content:flex-end;gap:7px}.byok-badge{background:color-mix(in srgb, var(--lime) 14%, transparent);color:#525558;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:700}.episode-editor-more{border-radius:10px;height:38px;padding:0 12px}.episode-editor-primary{background:var(--lime);color:#151617;min-width:136px;height:42px;box-shadow:0 8px 22px rgb(var(--accent-rgb) / .18);border:0;border-radius:11px;padding:0 16px;font-weight:800}.episode-editor-primary:disabled{cursor:not-allowed;opacity:.48;box-shadow:none}.episode-editor-body{background:var(--bg-soft);grid-template-columns:280px minmax(460px,1fr) minmax(380px,430px);min-width:0;min-height:0;display:grid}.episode-editor.left-collapsed .episode-editor-body{grid-template-columns:0 minmax(500px,1fr) minmax(380px,430px)}.episode-editor.right-collapsed .episode-editor-body{grid-template-columns:280px minmax(540px,1fr) 0}.episode-editor.left-collapsed.right-collapsed .episode-editor-body{grid-template-columns:0 minmax(600px,1fr) 0}.episode-editor-assets,.episode-editor-preview{min-width:0;min-height:0;overflow-y:auto}.episode-editor-prompt{min-width:0;min-height:0;overflow:hidden}.episode-editor-assets{z-index:3;border-right:1px solid var(--line);background:var(--panel);position:relative}.episode-editor-preview{z-index:3;border-left:1px solid var(--line);background:var(--panel);position:relative}.left-collapsed .episode-editor-assets,.right-collapsed .episode-editor-preview{visibility:hidden;overflow:hidden}.pane-heading{z-index:5;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--panel) 96%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);justify-content:space-between;gap:8px;min-height:54px;padding:10px 13px;position:sticky;top:0}.pane-heading>div{gap:1px;display:grid}.pane-heading strong{font-size:15px}.pane-heading small{color:var(--muted);font-size:11px}.pane-heading>button{border:1px solid var(--line);width:30px;height:30px;color:var(--muted);background:0 0;border-radius:8px;font-size:20px}.asset-scope-tabs,.asset-kind-tabs{gap:5px;padding:8px 10px 0;display:flex;overflow-x:auto}.asset-scope-tabs button,.asset-kind-tabs button,.preview-tabs button{background:var(--bg-soft);min-height:32px;color:var(--muted);white-space:nowrap;border:0;border-radius:8px;padding:0 10px;font-size:12px}.asset-scope-tabs button.active,.asset-kind-tabs button.active,.preview-tabs button.active{color:#fff;background:#151a18}.preview-tabs .frame-generate-inline{background:var(--accent-soft,rgb(var(--accent-rgb) / .14));color:var(--accent,#64676a);margin-left:8px}.preview-tabs .frame-generate-inline:hover{background:rgb(var(--accent-rgb) / .22)}.video-omit-frame-toggle{align-items:center;gap:8px;margin-top:8px;display:flex}.video-omit-frame-toggle button{border:1px solid var(--line);background:var(--bg-soft);min-height:30px;color:var(--muted);border-radius:8px;padding:0 10px;font-size:12px}.video-omit-frame-toggle button[aria-pressed=true]{color:#fff;background:#151a18}.video-omit-frame-toggle small{color:var(--muted);font-size:11px}.episode-asset-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;display:grid}.episode-asset-card{min-width:0;position:relative}.episode-asset-menu{z-index:8;position:absolute;top:6px;right:6px}.episode-asset-menu>summary{background:rgb(var(--accent-rgb) / .72);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid #ffffff47;border-radius:8px;place-content:center;width:29px;height:26px;font-size:11px;list-style:none;display:grid}.episode-asset-menu>summary::-webkit-details-marker{display:none}.episode-asset-menu>div{border:1px solid var(--line);background:var(--panel);width:164px;box-shadow:0 14px 35px rgb(var(--accent-rgb) / .2);border-radius:10px;padding:5px;display:grid;position:absolute;top:31px;right:0}.episode-asset-menu button{min-height:32px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:7px;padding:0 9px;font-size:11px}.episode-asset-menu button:hover{background:var(--bg-soft)}.episode-asset-insert{border:1px solid var(--line);background:var(--bg-soft);width:100%;min-width:0;color:var(--text);text-align:left;border-radius:12px;padding:0;display:grid;overflow:hidden}.episode-asset-insert>img,.asset-no-image{object-fit:cover;background:linear-gradient(145deg,#e2e2e2,#cbd4c9);width:100%;height:118px}.asset-no-image{color:#657065;text-align:center;place-content:center;gap:4px;display:grid}.asset-no-image small{font-size:10px}.episode-asset-insert>span:last-child{gap:2px;min-width:0;padding:8px;display:grid}.episode-asset-insert strong,.episode-asset-insert small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.episode-asset-insert strong{font-size:13px}.episode-asset-insert small{color:var(--muted);font-size:10px}.episode-asset-hover{z-index:220;border:1px solid var(--line);background:var(--panel);width:270px;box-shadow:0 18px 55px rgb(var(--accent-rgb) / .18);pointer-events:none;border-radius:14px;padding:10px;display:none;position:fixed}.episode-asset-card:hover .episode-asset-hover{gap:8px;display:grid;transform:translate(150px,-135px)}.episode-asset-hover img{object-fit:contain;background:var(--bg-soft);border-radius:10px;width:100%;max-height:240px}.episode-asset-hover p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.episode-assets-empty{color:var(--muted);text-align:center;grid-column:1/-1;padding:28px 12px}.episode-assets-empty p{font-size:12px;line-height:1.6}.episode-editor-prompt{background:var(--bg-soft);flex-direction:column;gap:10px;padding:14px 16px 20px;display:flex}.prompt-workspace-heading{justify-content:space-between;gap:14px;margin:0 0 10px}.prompt-workspace-heading>div{align-items:center;gap:8px;min-width:0;display:flex}.prompt-workspace-heading span{background:color-mix(in srgb, var(--lime) 16%, transparent);color:#515355;border-radius:6px;padding:4px 7px;font-size:11px;font-weight:800}.prompt-workspace-heading strong{text-overflow:ellipsis;white-space:nowrap;font-size:18px;overflow:hidden}.prompt-workspace-heading small{color:var(--muted);font-size:12px}.episode-editor-prompt .asset-prompt-editor{border:1px solid var(--line);background:var(--panel);width:100%;min-height:0;box-shadow:0 10px 35px rgb(var(--accent-rgb) / .04);border-radius:16px;flex-direction:column;flex:1 1 0;display:flex;overflow:hidden}.episode-editor-prompt .asset-prompt-heading{padding:13px 14px}.episode-editor-prompt .asset-prompt-heading>span strong{font-size:19px}.episode-editor-prompt .asset-prompt-heading>span small{font-size:12px}.episode-editor-prompt .asset-prompt-surface{background:var(--panel);border-radius:12px;flex-direction:column;flex:1 1 0;min-height:0;display:flex;overflow:hidden}.episode-editor-prompt .asset-prompt-surface>div{flex:1 1 0;min-height:0;display:flex}.episode-editor-prompt .asset-prompt-prosemirror{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1 1 0;width:100%;min-height:0;max-height:none;padding:20px;font-size:17px;line-height:1.8;overflow-y:auto}.episode-editor-prompt .prompt-reference-strip{max-height:114px;overflow:auto hidden}.prompt-workspace-loading{border:1px solid var(--line);background:var(--panel);width:100%;min-height:430px;color:var(--muted);border-radius:16px;flex:auto;place-content:center;margin:0;display:grid}.legacy-prompt-notice{color:#4e5052;background:#f5f5f5;border:1px solid #c4c4c5;border-radius:10px;width:100%;margin:0;padding:9px 12px;font-size:12px}.generation-send-summary{border:1px solid var(--line);background:var(--panel);border-radius:13px;width:100%;margin:0}.generation-send-summary>summary{cursor:pointer;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:11px 13px;list-style:none;display:grid}.generation-send-summary>summary::-webkit-details-marker{display:none}.generation-send-summary>summary span{color:var(--muted);font-size:12px}.generation-send-summary>summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.generation-send-summary>summary strong.send-summary-over-limit{color:#eb9696}.generation-send-summary>summary em{color:#56595c;font-size:11px;font-style:normal}.generation-send-details{grid-template-columns:repeat(3,1fr);gap:8px;padding:0 12px 12px;display:grid}.generation-send-details>div{background:var(--bg-soft);border-radius:10px;padding:10px}.generation-send-details p{color:var(--muted);margin:4px 0 0;font-size:11px;line-height:1.55}.generation-send-details .send-preflight-images{grid-column:1/-1}.send-preflight-images>div{gap:7px;margin-top:8px;display:flex;overflow-x:auto}.send-preflight-images span{flex:0 0 74px;gap:3px;display:grid}.send-preflight-images img{object-fit:cover;border-radius:7px;width:74px;height:60px}.send-preflight-images small{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.episode-editor-inline-error{color:#a43d32;background:#fff3f1;border:1px solid #f0b8b2;border-radius:11px;align-items:center;gap:9px;width:100%;margin:0;padding:10px 12px;display:flex}.episode-editor-inline-error>span{color:#fff;background:#d95349;border-radius:50%;place-content:center;width:24px;height:24px;font-weight:800;display:grid}.episode-editor-inline-error p{flex:1;margin:0;font-size:12px}.preview-tabs{gap:5px;padding:9px 12px}.preview-tabs button{flex:1}.episode-main-preview{color:#cbd4cc;background:#151a18;border-radius:14px;place-content:center;min-height:290px;margin:0 12px;display:grid;position:relative;overflow:hidden}.episode-main-preview.aspect-9-16{aspect-ratio:9/12;max-height:47vh}.episode-main-preview.aspect-16-9{aspect-ratio:16/9;min-height:230px}.episode-main-preview.aspect-1-1{aspect-ratio:1}.episode-main-preview img,.episode-main-preview video{object-fit:contain;width:100%;height:100%}.episode-main-preview>div{text-align:center;place-items:center;gap:7px;padding:20px;display:grid}.episode-main-preview>div span{opacity:.65;font-size:30px}.episode-main-preview>div small{opacity:.7;font-size:11px}.open-preview-lightbox{z-index:2;background:rgb(var(--accent-rgb) / .72);color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #ffffff47;border-radius:8px;min-height:32px;padding:0 10px;font-size:11px;font-weight:700;position:absolute;top:10px;right:10px}.download-preview-video{z-index:2;background:rgb(var(--accent-rgb) / .78);color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #ffffff4d;border-radius:8px;align-items:center;min-height:34px;padding:0 11px;font-size:11px;font-weight:800;text-decoration:none;display:inline-flex;position:absolute;bottom:10px;right:10px}.episode-task-progress{color:#434547;background:#f2f2f3;border:1px solid #bfc0c1;border-radius:11px;gap:4px;margin:10px 12px;padding:10px;display:grid}.episode-task-progress>div{background:#d7d8d8;border-radius:4px;height:4px;overflow:hidden}.episode-task-progress>div span{border-radius:inherit;background:#707477;width:34%;height:100%;animation:1.25s ease-in-out infinite episode-task-indeterminate;display:block}.episode-task-progress small{font-size:10px}@keyframes episode-task-indeterminate{0%{transform:translate(-110%)}to{transform:translate(310%)}}.task-diagnostic-alert{color:#494c4e;text-align:left;background:#f3f3f3;border:1px solid #aeb0b3;border-radius:10px;gap:4px;width:calc(100% - 24px);margin:10px 12px;padding:11px;display:grid}.task-diagnostic-alert strong{font-size:12px}.task-diagnostic-alert span{font-size:11px}.task-auto-query-alert{color:#444649;background:#f4f4f4;border-color:#bebebf}.task-auto-query-alert .task-provider-status{color:#303234;font-weight:800}.task-failed-alert{color:#9f3b32;background:#fff3f1;border:1px solid #efb4ae;border-radius:10px;gap:5px;margin:10px 12px;padding:11px;display:grid}.task-failed-alert strong{font-size:12px;line-height:1.45}.task-failed-alert span{color:#a75e57;font-size:10px;line-height:1.5}@media (prefers-reduced-motion:reduce){.episode-task-progress>div span{opacity:.72;width:100%;animation:none}}.episode-candidate-strip{gap:8px;padding:10px 12px;display:flex;overflow-x:auto}.episode-candidate-strip article{border:1px solid var(--line);background:var(--bg-soft);border-radius:11px;flex:0 0 112px;padding:5px}.episode-candidate-strip article.active{box-shadow:0 0 0 2px rgb(var(--accent-rgb) / .12);border-color:#707376}.candidate-preview-button{width:100%;color:var(--text);background:0 0;border:0;gap:4px;padding:0;display:grid}.candidate-preview-button img,.candidate-preview-button video,.candidate-preview-button>span{object-fit:cover;background:#202621;border-radius:7px;width:100%;height:82px}.candidate-preview-button small{font-size:10px}.episode-candidate-strip article>div{gap:4px;margin-top:5px;display:flex}.episode-candidate-strip article>div button{border:1px solid var(--line);background:var(--panel);border-radius:6px;flex:1;min-height:27px;font-size:10px}.episode-candidate-strip article>.candidate-manual-adoption button{color:#fff;background:#6e7275;border-color:#636669;font-weight:800}.episode-candidate-strip article>.candidate-manual-adoption button:disabled{cursor:not-allowed;opacity:.55}.collapsed-pane-button{z-index:12;border-radius:0 9px 9px 0;height:38px;padding:0 10px;position:absolute;top:78px}.collapsed-pane-button.left{left:0}.collapsed-pane-button.right{border-radius:9px 0 0 9px;right:0}.episode-editor-timeline{border-top:1px solid var(--line);background:var(--panel);grid-template-columns:145px minmax(0,1fr);gap:10px;min-width:0;padding:9px 12px;display:grid}.timeline-heading{flex-direction:column;justify-content:space-between;align-items:flex-start;padding:3px 2px}.timeline-heading>div{gap:2px;display:grid}.timeline-heading strong{font-size:14px}.timeline-heading small{color:var(--muted);font-size:11px}.timeline-heading button{border:1px solid var(--line);background:var(--bg-soft);min-height:32px;color:var(--text);border-radius:8px;padding:0 10px;font-size:11px}.timeline-cards{align-items:stretch;gap:7px;min-width:0;display:flex;position:relative;overflow-x:auto}.timeline-cards article{border:1px solid var(--line);background:var(--bg-soft);touch-action:pan-y;border-radius:10px;flex:0 0 156px;min-width:0;transition:transform .16s;position:relative;overflow:hidden}.timeline-cards.timeline-editable>article{cursor:grab}.timeline-cards.timeline-editable>article:active{cursor:grabbing}.timeline-cards article.timeline-dragging-card{z-index:6;opacity:.92;box-shadow:0 10px 26px rgb(var(--accent-rgb) / .22);border-color:#6c6f72;transition:none}.timeline-cards.timeline-dragging{-webkit-user-select:none;user-select:none}.timeline-cards img{-webkit-user-drag:none}.timeline-cards>button.timeline-add-shot{border:1px dashed var(--line);width:84px;color:var(--muted);cursor:pointer;background:0 0;border-radius:10px;flex:none;justify-content:center;align-items:center;gap:5px;font-size:11px;display:flex}.timeline-cards>button.timeline-add-shot:hover{color:#6c6f72;background:var(--lime-soft);border-color:#6c6f72}.timeline-cards>button.timeline-add-shot:disabled{opacity:.5;cursor:not-allowed}.timeline-cards article.active{box-shadow:0 0 0 2px rgb(var(--accent-rgb) / .12);border-color:#6c6f72}.timeline-cards article.tone-running{border-color:#b8babb}.timeline-cards article.tone-failed,.timeline-cards article.tone-unknown{border-color:#e6968e}.timeline-cards article.tone-unsynced{box-shadow:inset 0 0 0 1px rgb(var(--accent-rgb) / .18);border-color:#919497}.timeline-cards article>button{width:100%;height:100%;color:var(--text);text-align:left;background:0 0;border:0;grid-template-columns:58px minmax(0,1fr);padding:5px;display:grid}.timeline-cards img,.timeline-cards video,.timeline-placeholder{object-fit:cover;background:#e1e1e1;border-radius:7px;width:58px;height:76px}.timeline-placeholder{color:#7d8a7e;place-content:center;display:grid}.timeline-cards article>button>span:last-child{align-content:start;gap:4px;min-width:0;padding:3px 5px;display:grid}.timeline-cards b{color:#fff;background:#313932;border-radius:4px;width:max-content;padding:2px 4px;font-size:9px}.timeline-cards strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.timeline-cards small{color:var(--muted);font-size:9px}.timeline-card-menu{opacity:0;gap:2px;transition:opacity .15s;display:flex;position:absolute;bottom:4px;right:4px}.timeline-cards article:hover .timeline-card-menu,.timeline-cards article:focus-within .timeline-card-menu{opacity:1}.timeline-card-menu button{border:1px solid var(--line);background:var(--panel);width:24px;height:24px;color:var(--muted);border-radius:6px}.episode-advanced-backdrop{z-index:400;background:rgb(var(--accent-rgb) / .42);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);position:fixed;inset:0}.episode-advanced-drawer{background:var(--panel);width:min(620px,92vw);height:100%;box-shadow:-20px 0 70px rgb(var(--accent-rgb) / .2);padding:18px;position:absolute;top:0;right:0;overflow-y:auto}.episode-advanced-drawer>header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.episode-advanced-drawer>header>div{gap:3px;display:grid}.episode-advanced-drawer>header span{color:#5a5d60;letter-spacing:.16em;font-size:10px;font-weight:900}.episode-advanced-drawer>header strong{font-size:25px}.episode-advanced-drawer>header small{color:var(--muted)}.episode-advanced-drawer>header button{background:var(--bg-soft);width:38px;height:38px;color:var(--text);border:0;border-radius:50%;font-size:22px}.advanced-tool-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.advanced-tool-grid button{border:1px solid var(--line);background:var(--bg-soft);min-height:76px;color:var(--text);text-align:left;border-radius:12px;gap:4px;padding:12px;display:grid}.advanced-tool-grid small{color:var(--muted);font-size:11px}.advanced-legacy-fields{border:1px solid var(--line);background:var(--bg-soft);border-radius:12px;gap:8px;margin:14px 0;padding:13px;display:grid}.advanced-legacy-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.advanced-legacy-heading>span{gap:2px;display:grid}.advanced-legacy-heading small,.advanced-legacy-disabled{color:var(--muted);font-size:10px;line-height:1.5}.advanced-legacy-heading b{background:var(--panel);color:var(--muted);border-radius:6px;padding:3px 6px;font-size:10px}.advanced-legacy-fields label{color:var(--muted);gap:4px;font-size:11px;display:grid}.advanced-legacy-fields input,.advanced-legacy-fields textarea{border:1px solid var(--line);background:var(--panel);width:100%;color:var(--text);border-radius:8px}.advanced-legacy-fields input{height:38px;padding:0 10px}.advanced-legacy-fields textarea{resize:vertical;min-height:76px;padding:9px 10px}.advanced-legacy-grid{grid-template-columns:1fr 150px;gap:8px;display:grid}.advanced-legacy-grid.three{grid-template-columns:repeat(3,1fr)}.advanced-legacy-actions{justify-content:flex-end;padding-top:3px;display:flex}.episode-preview-lightbox{z-index:520;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#040705e0;place-items:center;padding:42px;display:grid;position:fixed;inset:0}.episode-preview-lightbox>button{color:#fff;background:#ffffff1a;border:1px solid #ffffff3d;border-radius:50%;width:42px;height:42px;font-size:25px;position:absolute;top:18px;right:22px}.episode-preview-lightbox>img,.episode-preview-lightbox>video{object-fit:contain;background:#030504;border-radius:14px;width:min(92vw,1480px);height:min(88vh,980px);box-shadow:0 28px 90px #0000007a}.episode-editor-empty{background:var(--bg);color:var(--text);text-align:center;place-content:center;display:grid;position:fixed;inset:0}.episode-editor-empty>button{position:absolute;top:18px;left:18px}.episode-editor-empty>div{gap:10px;display:grid}html[data-theme=dark] .legacy-prompt-notice{color:#a8aaad;background:#1e1e1f;border-color:#4e5052}html[data-theme=dark] .episode-editor-inline-error{color:#ed9b93;background:#2b1918;border-color:#713d39}html[data-theme=dark] .episode-task-progress{color:#9ea0a3;background:#1d1e1f;border-color:#46484a}html[data-theme=dark] .task-diagnostic-alert{color:#9ea1a4;background:#1f2020;border-color:#47494b}html[data-theme=dark] .task-auto-query-alert{color:#adb0b2;background:#1e1e1f;border-color:#45484a}html[data-theme=dark] .task-auto-query-alert .task-provider-status{color:#cacbcc}html[data-theme=dark] .task-failed-alert{color:#ed9b93;background:#2b1918;border-color:#713d39}@media (width<=1450px){.episode-editor-toolbar{grid-template-columns:215px minmax(500px,1fr) auto;gap:9px}.byok-badge{display:none}.episode-editor-body{grid-template-columns:245px minmax(430px,1fr) 370px}.episode-asset-list{grid-template-columns:1fr}.episode-asset-insert{grid-template-columns:64px 1fr;align-items:center}.episode-asset-insert>img,.asset-no-image{width:64px;height:64px}}@media (width<=1439px){.episode-editor{--editor-toolbar:112px}.episode-editor-toolbar{grid-template-rows:47px 47px;grid-template-columns:minmax(220px,1fr) auto}.episode-editor-settings{grid-area:2/1/auto/-1}.episode-editor-actions{grid-area:1/2}}@media (width<=1199px){.episode-editor{--editor-toolbar:112px}.episode-editor-toolbar{grid-template-rows:47px 47px;grid-template-columns:minmax(220px,1fr) auto}.episode-editor-settings{grid-area:2/1/auto/-1}.episode-editor-actions{grid-area:1/2}.episode-editor-body,.episode-editor.left-collapsed .episode-editor-body{grid-template-columns:minmax(470px,1fr) 390px}.episode-editor.right-collapsed .episode-editor-body,.episode-editor.left-collapsed.right-collapsed .episode-editor-body{grid-template-columns:minmax(470px,1fr) 0}.episode-editor-assets{top:var(--editor-toolbar);bottom:var(--editor-timeline);z-index:40;width:300px;box-shadow:16px 0 45px rgb(var(--accent-rgb) / .18);visibility:visible;transition:transform .2s;position:fixed;left:0;transform:translate(-100%)}.episode-editor:not(.left-collapsed) .episode-editor-assets{transform:translate(0)}.episode-editor:not(.left-collapsed):after{inset:var(--editor-toolbar) 0 var(--editor-timeline);z-index:35;background:rgb(var(--accent-rgb) / .22);content:"";position:fixed}.collapsed-pane-button.left{display:block}}@media (width<=899px){.episode-editor{--editor-toolbar:116px;--editor-timeline:120px}.episode-editor-toolbar{grid-template-columns:minmax(0,1fr) auto;padding:7px 9px}.episode-editor-identity small{max-width:50vw}.episode-editor-more{display:none}.episode-editor-more.episode-editor-advanced{display:inline-flex}.episode-editor-primary{min-width:122px;padding:0 10px}.episode-editor-body,.episode-editor.left-collapsed .episode-editor-body,.episode-editor.right-collapsed .episode-editor-body,.episode-editor.left-collapsed.right-collapsed .episode-editor-body{grid-template-columns:minmax(0,1fr)}.episode-editor-preview{top:var(--editor-toolbar);right:0;bottom:var(--editor-timeline);z-index:45;width:min(430px,92vw);box-shadow:-16px 0 45px rgb(var(--accent-rgb) / .18);visibility:visible;transition:transform .2s;position:fixed;transform:translate(100%)}.episode-editor:not(.right-collapsed) .episode-editor-preview{transform:translate(0)}.episode-editor-prompt{padding:10px}.episode-editor-prompt .asset-prompt-prosemirror{font-size:16px}.generation-send-details{grid-template-columns:1fr}.generation-send-details .send-preflight-images{grid-column:1}.episode-editor-timeline{grid-template-columns:1fr;padding:7px}.timeline-heading{display:none}.timeline-cards article{flex-basis:146px}}.skill-kind-tabs{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.skill-kind-tabs button{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:10px;padding:6px 12px;font-size:13px}.skill-kind-tabs button.active{border-color:var(--blue);color:var(--blue);background:rgb(var(--accent-rgb) / .08)}.skill-scope-note{color:var(--ink-soft);margin:6px 0 10px;font-size:11px;line-height:1.5;display:block}.skill-template-editor,.skill-json-editor{min-height:220px;font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);white-space:pre-wrap;font-size:12px;line-height:1.6}.skill-json-editor{min-height:300px}.skill-json-note{color:var(--ink-soft);margin-top:8px;font-size:12px;line-height:1.6}.skill-actions{gap:10px;margin-top:12px;display:flex}.skill-picker{align-items:center;gap:6px;display:inline-flex}.skill-picker select{max-width:220px}.skill-picker-error{color:var(--red);font-size:11px}.asset-library-more-button{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:9px;padding:6px 10px;font-size:12px}.asset-library-more-button:hover{border-color:var(--blue);color:var(--blue)}.shot-select-check{z-index:3;cursor:pointer;background:#ffffffd9;border-radius:5px;place-items:center;width:18px;height:18px;display:grid;position:absolute;top:6px;left:6px}.shot-select-check input{width:14px;height:14px;accent-color:var(--blue);cursor:pointer}.episode-editor-batch{border:1px solid var(--blue);color:var(--blue);background:rgb(var(--accent-rgb) / .08);cursor:pointer;border-radius:9px;padding:7px 10px;font-size:12px}.episode-editor-batch:disabled{opacity:.45;cursor:not-allowed}.batch-video-result{top:calc(var(--editor-toolbar) + 12px);z-index:45;border:1px solid var(--line);background:var(--panel);width:min(560px,100vw - 40px);box-shadow:0 14px 40px rgb(var(--accent-rgb) / .18);border-radius:12px;padding:10px 12px;position:absolute;left:50%;transform:translate(-50%)}.batch-video-result header{align-items:center;gap:10px;margin-bottom:6px;display:flex}.batch-video-result header strong{font-size:13px}.batch-video-result header span{color:var(--ink-soft);flex:1;font-size:12px}.batch-video-result header button{color:var(--ink-soft);cursor:pointer;background:0 0;border:0;font-size:14px}.batch-queue-explanation{background:rgb(var(--accent-rgb) / .08);color:var(--ink-soft);border-radius:8px;margin:0 0 8px;padding:7px 9px;font-size:11px;line-height:1.55}.batch-queue-explanation.worker-offline{background:rgb(var(--accent-rgb) / .12);color:var(--amber,#595c5f)}.batch-skipped-heading{color:var(--ink-soft);margin:9px 2px 5px;font-size:11px}.batch-video-result ul{flex-direction:column;gap:4px;max-height:160px;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.batch-video-result li{border-radius:8px;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:8px;padding:4px 6px;font-size:12px;display:grid}.batch-video-result li b{font-weight:600}.batch-video-result li span{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.batch-video-result li em{color:var(--lime);font-style:normal}.batch-video-result .batch-video-skipped li em{color:var(--amber,#85888c)}.batch-video-result header em.batch-live-hint{color:var(--blue);font-size:11px;font-style:normal}.batch-video-result ul{max-height:240px}.batch-video-result .batch-video-submitted li{grid-template-columns:72px minmax(0,1fr) auto;align-items:center}.batch-video-result li small{color:var(--muted);grid-column:2/-1;font-size:11px;line-height:1.5}.batch-video-result li small.batch-job-error{color:var(--red)}.batch-video-result li small.batch-job-hint{color:var(--amber,#85888c)}.batch-job-status{font-style:normal;font-weight:700}.batch-job-status-queued .batch-job-status,.batch-job-status-running .batch-job-status,.batch-job-status-awaiting_provider .batch-job-status{color:var(--blue)}.batch-job-status-succeeded .batch-job-status{color:var(--lime)}.batch-job-status-failed .batch-job-status,.batch-job-status-cancelled .batch-job-status{color:var(--red)}.batch-job-status-unknown .batch-job-status{color:var(--amber,#85888c)}.batch-job-open{border:1px solid var(--line);background:var(--panel);color:var(--blue);cursor:pointer;border-radius:7px;padding:3px 8px;font-size:11px}.batch-task-reopen{border:1px solid rgb(var(--accent-rgb) / .5);background:rgb(var(--accent-rgb) / .08);min-height:30px;color:var(--blue);cursor:pointer;border-radius:8px;flex:none;padding:0 10px;font-size:11px;font-weight:700}.episode-task-progress.worker-offline{border-color:rgb(var(--accent-rgb) / .55);background:rgb(var(--accent-rgb) / .1);color:var(--amber,#595c5f)}.ai-breakdown-form{flex-direction:column;gap:10px;margin:14px 0;display:flex}.ai-breakdown-form label{color:var(--text-secondary,#667);flex-direction:column;gap:6px;font-size:13px;display:flex}.ai-breakdown-form select,.ai-breakdown-form input{background:var(--bg,#fff);color:var(--text,#1c1c1c);border:1px solid #7f7f7f59;border-radius:8px;padding:8px 10px}.ai-breakdown-note{color:var(--text-secondary,#667);align-items:flex-start;gap:8px;font-size:12px;line-height:1.5;display:flex}.ai-breakdown-note svg{flex:none;margin-top:1px}.breakdown-module-details{background:#7f7f7f0d;border:1px solid #7f7f7f40;border-radius:10px;margin:10px 0}.breakdown-module-details>summary{cursor:pointer;align-items:center;gap:8px;padding:10px 12px;font-size:13px;font-weight:600;list-style:none;display:flex}.breakdown-module-details>summary::-webkit-details-marker{display:none}.breakdown-timeline{color:var(--text-secondary,#667);font-variant-numeric:tabular-nums;margin-left:auto;font-size:11px;font-weight:500}.breakdown-module-body{padding:0 12px 12px}.breakdown-kv{grid-template-columns:1fr 1fr;gap:6px 10px;margin:0 0 8px;display:grid}.breakdown-kv div{flex-direction:column;gap:2px;display:flex}.breakdown-kv dt{color:var(--text-secondary,#667);font-size:11px}.breakdown-kv dd{word-break:break-word;margin:0;font-size:12px;line-height:1.45}.breakdown-sub-details{border-top:1px dashed #7f7f7f40;margin-top:6px;padding-top:6px}.breakdown-sub-details>summary{cursor:pointer;padding:4px 0;font-size:12px;font-weight:600}.breakdown-sub-details p{margin:4px 0;font-size:12px;line-height:1.5}.breakdown-sub-details ul{margin:4px 0 0;padding-left:18px;font-size:12px}.breakdown-subshot{background:#7f7f7f0a;border:1px solid #7f7f7f33;border-radius:8px;margin-top:6px;padding:8px}.breakdown-subshot b{font-size:12px}.breakdown-subshot p{margin:3px 0;font-size:12px;line-height:1.5}.ai-stream-panel{border:1px solid rgb(var(--accent-rgb) / .4);background:rgb(var(--accent-rgb) / .04);border-radius:10px;margin:10px 0;overflow:hidden}.ai-stream-head{background:rgb(var(--accent-rgb) / .08);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex}.ai-stream-head strong{font-size:12px}.ai-stream-head span{color:var(--text-secondary,#667);font-size:11px}.ai-stream-panel pre{white-space:pre-wrap;word-break:break-word;max-height:220px;margin:0;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.55;overflow:auto}.ai-breakdown-live{width:100%}.ai-batch-progress{border:1px solid rgb(var(--accent-rgb) / .35);background:rgb(var(--accent-rgb) / .06);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 4px;padding:8px 12px;font-size:12px;display:flex}.ai-batch-progress span{font-weight:600}.ai-batch-progress small{color:var(--text-secondary,#667)}.ai-episode-job-progress{align-items:center;gap:8px;width:120px;display:flex}.ai-episode-job-progress progress{flex:1;height:6px}.ai-episode-job-progress span{color:var(--text-secondary,#667);font-variant-numeric:tabular-nums;font-size:11px}.ai-batch-controls{flex-wrap:wrap;align-items:flex-end;gap:10px;margin:8px 0;display:flex}.ai-batch-controls label{color:var(--text-secondary,#667);flex-direction:column;gap:4px;font-size:12px;display:flex}.ai-batch-controls select{background:var(--bg,#fff);min-width:220px;color:var(--text,#1c1c1c);border:1px solid #7f7f7f59;border-radius:8px;padding:8px 10px}.ai-storyboard-batch-list{flex-direction:column;gap:6px;margin-top:8px;display:flex}.ai-select-all{align-items:center;font-size:12px;display:flex}.ai-select-all label{cursor:pointer;color:var(--text-secondary,#667);align-items:center;gap:6px;display:flex}.ai-select-all input{accent-color:var(--accent,#4a4c4f)}.ai-brief-outline-module>summary{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:baseline;gap:10px;padding:12px 4px 8px;font-size:14px;list-style:none;display:flex}.ai-brief-outline-module>summary::-webkit-details-marker{display:none}.ai-brief-outline-module>summary:before{content:"▸";color:var(--muted,#889);font-size:12px;transition:transform .15s}.ai-brief-outline-module[open]>summary:before{transform:rotate(90deg)}.ai-brief-outline-module>summary h3{margin:0;font-size:14px}.ai-brief-outline-module>summary small{color:var(--text-secondary,#667);font-size:12px}.ai-episode-list-wrap>summary{padding:10px 4px 6px}.ai-storyboard-tasks{border:1px solid rgb(var(--accent-rgb) / .3);background:rgb(var(--accent-rgb) / .04);border-radius:10px;flex-direction:column;gap:8px;margin-bottom:12px;padding:12px;display:flex}.ai-storyboard-tasks header{justify-content:space-between;align-items:baseline;display:flex}.ai-storyboard-tasks header h3{margin:0;font-size:14px}.ai-storyboard-tasks header small{color:var(--text-secondary,#667);font-size:12px}.ai-storyboard-tasks .ai-job-banner{justify-content:space-between}.ai-job-progress-line{background:#7f7f7f2e;border-radius:999px;height:4px;margin-top:2px;overflow:hidden}.ai-progress-indeterminate{background:linear-gradient(90deg, rgb(var(--accent-rgb) / .2), #6c6f72, rgb(var(--accent-rgb) / .2));border-radius:999px;width:40%;height:100%;animation:1.2s ease-in-out infinite ai-progress-slide;display:block}@keyframes ai-progress-slide{0%{transform:translate(-120%)}to{transform:translate(320%)}}.ai-job-banner.is-active{border-color:rgb(var(--accent-rgb) / .55)}.ai-job-error{color:var(--red,#c0392b)}.ai-stream-snippet{margin-top:4px}.ai-stream-snippet>summary{cursor:pointer;color:var(--text-secondary,#667);font-size:11px}.ai-stream-snippet pre{white-space:pre-wrap;word-break:break-word;background:#7f7f7f0f;border-radius:6px;max-height:120px;margin:4px 0 0;padding:6px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;line-height:1.5;overflow:auto}.shot-list-page{flex-direction:column;gap:14px;padding:18px;display:flex}.shot-list-episodes{flex-direction:column;gap:14px;display:flex}.shot-list-episode{background:var(--panel,#fff);border:1px solid #7f7f7f38;border-radius:12px;overflow:hidden}.shot-list-episode>header{border-bottom:1px solid #7f7f7f1f;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;display:flex}.shot-list-episode>header h3{margin:0;font-size:14px}.shot-list-episode-meta{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:2px 6px;font-size:12px;display:flex}.shot-list-episode-duration{font-variant-numeric:tabular-nums;white-space:nowrap}.shot-list-episode-duration strong{color:var(--text);font-weight:600}.shot-list-actions{flex-wrap:wrap;gap:8px;display:flex}.shot-list-actions button{padding:5px 10px;font-size:12px}.shot-list-actions .shot-view-toggle{gap:5px}.shot-list-actions .shot-view-toggle svg{width:14px;height:14px}.shot-list-project-presets{flex-wrap:wrap;align-items:end;gap:8px 12px;min-width:0;display:flex}.shot-list-project-presets fieldset{border:0;min-width:0;margin:0;padding:0}.shot-list-project-presets legend{color:var(--muted);margin-block-end:4px;padding:0;font-size:11px;line-height:1.4}.shot-list-project-presets fieldset>div{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel-2);grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:2px;display:grid}.shot-list-project-presets fieldset button{border-radius:calc(var(--radius-sm) - 2px);min-width:52px;min-height:32px;color:var(--muted);white-space:nowrap;background:0 0;border:1px solid #0000;padding:4px 8px;font-size:12px;line-height:1.3}.shot-list-project-presets fieldset button[aria-pressed=true]{border-color:var(--line);background:var(--panel);color:var(--text);font-weight:600}.shot-list-project-presets fieldset button:active:not(:disabled){background:var(--panel-3)}.shot-list-project-presets button:focus-visible{outline:2px solid var(--lime);outline-offset:1px}.shot-list-project-presets button:disabled{cursor:not-allowed;opacity:.55}.shot-list-preset-feedback{color:var(--red);flex-wrap:wrap;flex:100%;align-items:center;gap:4px 8px;font-size:12px;display:flex}.shot-list-preset-feedback>button.outline-button{min-height:32px;padding:4px 8px;font-size:12px}@media (hover:hover){.shot-list-project-presets fieldset button:not(:disabled):not([aria-pressed=true]):hover{background:var(--panel-3);color:var(--text)}}@media (width<=600px),(pointer:coarse){.shot-list-project-presets fieldset button,.shot-list-preset-feedback>button.outline-button{min-height:44px}}@media (width<=600px){.shot-list-actions>button.outline-button{min-height:44px}}.shot-list-empty{color:var(--text-secondary,#667);margin:0;padding:14px;font-size:12px}.shot-list-timeline{z-index:2;border-bottom:1px solid var(--line);background:var(--panel);position:sticky;inset-block-start:0}.shot-list-timeline-track{scrollbar-width:thin;gap:4px;padding:8px 12px;scroll-padding-inline:12px;display:flex;overflow-x:auto}.shot-list-timeline button{border:1px solid var(--line);background:var(--panel-2);min-width:max-content;min-height:40px;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:6px;flex:1 0 0;padding:4px 8px;font-size:12px;font-weight:600}.shot-list-timeline button:hover{border-color:var(--line-strong);background:var(--panel-3)}.shot-list-timeline button[aria-current=true]{border-color:var(--action-bg);background:var(--action-bg);color:var(--action-text)}.shot-list-rows{flex-direction:column;padding:4px 14px 12px;display:flex}.shot-list-row{border-bottom:1px dashed #7f7f7f26}.shot-list-row:last-child{border-bottom:none}.shot-row-header{align-items:center;gap:10px;padding:8px 0;display:flex}.shot-row-main{min-width:0;color:inherit;flex:1;align-items:center;gap:10px;display:flex}.shot-row-edit{border:1px solid rgb(var(--accent-rgb) / .4);background:rgb(var(--accent-rgb) / .06);color:#4a4c4f;cursor:pointer;border-radius:6px;flex:none;padding:3px 8px;font-size:11px}.shot-row-main b{color:var(--text-secondary,#667);width:20px;font-size:12px}.shot-row-time{color:var(--text-secondary,#667);font-variant-numeric:tabular-nums;min-width:96px;font-size:11px}.shot-row-main strong{font-size:13px}.shot-row-main small{color:var(--text-secondary,#667);font-size:11px}.shot-row-open{color:#4a4c4f;white-space:nowrap;font-size:11px}.shot-row-simple{color:var(--text-secondary,#667);padding:4px 0 10px 30px;font-size:12px}.shot-module-detail{padding:6px 0 10px 30px}.shot-module-detail dl{grid-template-columns:1fr 1fr;gap:6px 12px;margin:0 0 6px;display:grid}.shot-module-detail dl div{flex-direction:column;gap:2px;display:flex}.shot-module-detail dt{color:var(--text-secondary,#667);font-size:11px}.shot-module-detail dd{margin:0;font-size:12px;line-height:1.5}.template-center-tabs{border-bottom:1px solid #7f7f7f26;flex-wrap:wrap;gap:6px;padding:12px 14px 0;display:flex}.template-center-tabs button{color:var(--text-secondary,#667);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px 8px 0 0;padding:7px 12px;font-size:12px}.template-center-tabs button.active{border-color:#7f7f7f33;border-bottom-color:var(--panel,#fff);background:rgb(var(--accent-rgb) / .08);color:var(--text,#1c1c1c);font-weight:600}.template-center-section{padding:12px 2px}.template-center-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.template-center-head strong{font-size:14px}.template-center-head small{color:var(--text-secondary,#667);font-size:12px}.skill-kind-list{flex-direction:column;gap:6px;display:flex}.skill-kind-item{background:var(--panel,#fff);text-align:left;cursor:pointer;border:1px solid #7f7f7f33;border-radius:8px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.skill-kind-item:hover{border-color:rgb(var(--accent-rgb) / .5)}.skill-kind-item strong{font-size:13px}.skill-kind-item small{color:var(--text-secondary,#667);font-size:11px}.skill-editor{flex-direction:column;gap:8px;display:flex}.skill-editor label{color:var(--text-secondary,#667);flex-direction:column;gap:4px;font-size:12px;display:flex}.skill-editor input,.skill-editor select{background:var(--bg,#fff);color:var(--text,#1c1c1c);border:1px solid #7f7f7f4d;border-radius:7px;padding:7px 9px}.skill-rules-textarea{background:var(--bg,#fff);min-height:260px;color:var(--text,#1c1c1c);border:1px solid #7f7f7f4d;border-radius:7px;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.6}.template-center-actions{justify-content:flex-end;gap:8px;display:flex}.episode-editor-prompt{overscroll-behavior:contain}.shot-row-prompt{padding:4px 0 8px 30px}.shot-row-prompt-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:4px;display:flex}.shot-row-prompt-head strong{color:var(--text-secondary,#667);font-size:12px}.shot-row-prompt-head button{border:1px solid rgb(var(--accent-rgb) / .45);background:rgb(var(--accent-rgb) / .08);color:#4a4c4f;cursor:pointer;border-radius:6px;padding:4px 10px;font-size:11px}.shot-row-prompt pre{white-space:pre-wrap;word-break:break-word;background:#7f7f7f0d;border:1px solid #7f7f7f2e;border-radius:8px;max-height:260px;margin:0;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.6;overflow-y:auto}.shot-list-episode{transition:border-color .2s,background .2s}.shot-list-header-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.shot-list-rule-select{color:var(--text-secondary,#667);align-items:center;gap:6px;font-size:12px;display:flex}.shot-list-rule-select select{background:var(--bg,#fff);color:var(--text,#1c1c1c);border:1px solid #7f7f7f4d;border-radius:7px;max-width:220px;padding:5px 8px;font-size:12px}.shot-list-rule-select button{border:1px solid rgb(var(--accent-rgb) / .45);background:rgb(var(--accent-rgb) / .07);color:#4a4c4f;cursor:pointer;border-radius:6px;width:24px;height:24px;line-height:1}.episode-task-strip{border-bottom:0;align-items:center;gap:12px;min-height:0;padding:0;display:flex}.episode-task-strip.has-tasks{border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--panel) 90%, transparent);padding:6px 14px}.episode-task-strip-title{flex:none;gap:1px;min-width:160px;display:grid}.episode-task-strip-title strong{color:var(--text);font-size:12px}.episode-task-strip-title small{color:var(--muted);font-size:10px;font-weight:500}.episode-task-chips{flex:1;gap:6px;padding:2px 0;display:flex;overflow-x:auto}.episode-task-chip{border:1px solid var(--line);background:var(--panel);color:var(--text);cursor:pointer;border-radius:9px;flex:none;align-items:center;gap:6px;padding:5px 9px;font-size:11px;display:inline-flex}.episode-task-chip b{white-space:nowrap;font-weight:750}.episode-task-chip small{background:color-mix(in srgb, var(--text) 6%, transparent);color:var(--muted);border-radius:5px;padding:2px 5px;font-size:10px}.episode-task-chip span{color:var(--muted)}.episode-task-chip em{color:var(--accent,#64676a);font-variant-numeric:tabular-nums;font-style:normal}.episode-task-chip.status-succeeded{border-color:rgb(var(--accent-rgb) / .5);background:rgb(var(--accent-rgb) / .08)}.episode-task-chip.status-failed{background:#c0392b12;border-color:#c0392b80}.episode-task-chip.status-unknown{border-color:rgb(var(--accent-rgb) / .55);background:rgb(var(--accent-rgb) / .09)}.episode-task-chip.status-awaiting_provider,.episode-task-chip.status-running,.episode-task-chip.status-queued{border-color:rgb(var(--accent-rgb) / .5);background:rgb(var(--accent-rgb) / .08)}.studio-shell,.studio-shell.episode-editor-shell{background:var(--bg);min-height:100dvh;display:block}.workspace{min-width:0}.topbar{height:var(--topbar);grid-template-columns:auto minmax(150px,210px) minmax(440px,1fr) auto;gap:14px;padding:0 20px;display:grid}.compact-brand{min-width:0;color:var(--text);background:0 0;align-items:center;gap:9px;padding:0;display:flex}.compact-brand strong{font-size:14px}.project-switcher{width:100%;min-width:0}.project-switcher>span:nth-child(2){min-width:0}.project-switcher>span:nth-child(2) strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-top-nav{justify-content:center;align-items:stretch;gap:3px;min-width:0;height:100%;display:flex}.workspace-top-nav button{min-width:86px;color:var(--muted);white-space:nowrap;background:0 0;flex:none;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-size:14px;font-weight:680;display:flex;position:relative}.workspace-top-nav button svg{width:17px;height:17px}.workspace-top-nav button:after{content:"";background:0 0;border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:0;left:14px;right:14px}.workspace-top-nav button:hover{color:var(--text)}.workspace-top-nav button.is-active{color:var(--lime)}.workspace-top-nav button.is-active:after{background:var(--lime)}.topbar-actions{gap:10px;min-width:0}.user-avatar-button{border:1px solid color-mix(in srgb, var(--purple) 38%, var(--line));background:color-mix(in srgb, var(--purple) 18%, var(--panel));width:38px;height:38px;color:var(--text);border-radius:12px;flex:none;place-items:center;font-size:12px;font-weight:850;display:grid;position:relative}.user-avatar-button i{border:2px solid var(--panel);background:var(--lime);border-radius:50%;width:9px;height:9px;position:absolute;top:-2px;right:-2px}.user-avatar-button .avatar-task-badge{border:2px solid var(--bg);background:var(--lime);color:#151617;text-align:center;border-radius:999px;min-width:18px;padding:1px 5px;font-size:10px;font-weight:800;line-height:1.3;position:absolute;top:-7px;right:-9px}.production-layout{height:calc(100dvh - var(--topbar));grid-template-columns:236px minmax(0,1fr);min-height:0;display:grid}.episode-rail{border-right:1px solid var(--line);background:color-mix(in srgb, var(--panel) 94%, transparent);flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.episode-rail>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:68px;padding:11px 13px 10px 16px;display:flex}.episode-rail>header>div{gap:2px;display:grid}.episode-rail>header span{color:var(--muted);letter-spacing:.12em;font-size:10px;font-weight:800}.episode-rail>header strong{font-size:16px}.episode-rail>header button{border:1px solid var(--line);background:var(--bg-soft);width:32px;height:32px;color:var(--muted);border-radius:9px;place-items:center;display:grid}.episode-rail>header button:hover{border-color:var(--lime);color:var(--lime)}.episode-rail>header button svg{width:15px}.episode-rail-project,.episode-rail-list>.episode-rail-item>button{width:calc(100% - 16px);min-width:0;color:var(--text);text-align:left;background:0 0;border-radius:10px;grid-template-columns:32px minmax(0,1fr) 6px;align-items:center;gap:9px;margin:0 8px;padding:10px 9px;display:grid;position:relative}.episode-rail-project{border:1px solid var(--line);margin-top:8px}.episode-rail-project>span,.episode-rail-list>.episode-rail-item>button>span{background:var(--bg-soft);width:32px;height:32px;color:var(--muted);font-variant-numeric:tabular-nums;border-radius:8px;place-items:center;font-size:11px;font-weight:800;display:grid}.episode-rail-project svg{width:15px}.episode-rail-project>div,.episode-rail-list>.episode-rail-item>button>div{gap:3px;min-width:0;display:grid}.episode-rail-project strong,.episode-rail-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.episode-rail-project small,.episode-rail-list small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.episode-rail-list{flex:1;min-height:0;padding:8px 0 18px;overflow-y:auto}.episode-rail-list>.episode-rail-item>button:hover,.episode-rail-project:hover{background:var(--bg-soft)}.episode-rail-list>.episode-rail-item>button.is-active,.episode-rail-project.is-active{background:var(--lime-soft)}.episode-rail-list>.episode-rail-item>button.is-active>span,.episode-rail-project.is-active>span{background:var(--lime);color:#151617}.episode-rail-list>.episode-rail-item>button>i{background:var(--line-strong);border-radius:50%;width:6px;height:6px}.episode-rail-list>.episode-rail-item>button.is-active>i{background:var(--lime);box-shadow:0 0 0 4px color-mix(in srgb, var(--lime) 15%, transparent)}.episode-rail-empty{color:var(--muted);text-align:center;gap:4px;padding:30px 16px;display:grid}.episode-rail-empty strong{color:var(--text);font-size:13px}.episode-rail-empty small{font-size:11px}.production-workspace{scrollbar-gutter:stable;min-width:0;min-height:0;overflow:auto}.module-episode-editor .production-workspace{overflow:hidden}.production-workspace>.soundtrack-module-toolbar{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:18px;padding:18px 24px 0;display:flex}.soundtrack-module-toolbar>.soundtrack-tabs{flex:1}.soundtrack-model-picker{color:var(--muted);flex:none;align-items:center;gap:8px;font-size:11px;display:flex}.soundtrack-model-picker select{border:1px solid var(--line);background:var(--panel);width:min(240px,36vw);height:34px;color:var(--text);border-radius:6px;padding:0 30px 0 10px;font-size:12px}.soundtrack-model-picker select:disabled{cursor:not-allowed;opacity:.55}.soundtrack-model-load-error{border:1px solid color-mix(in srgb, var(--danger) 40%, var(--line));background:color-mix(in srgb, var(--danger) 7%, var(--panel));min-height:34px;color:var(--danger);border-radius:6px;align-items:center;gap:8px;padding-left:10px;font-size:11px;display:inline-flex}.soundtrack-model-load-error button{border-left:1px solid color-mix(in srgb, var(--danger) 25%, var(--line));color:var(--text);background:0 0;border-radius:0;align-self:stretch;align-items:center;gap:5px;padding:0 9px;font-size:11px;display:inline-flex}.soundtrack-model-load-error button svg{width:12px}.audio-upload-panel{flex-direction:column;gap:10px;margin-bottom:16px;display:flex}.audio-upload-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.audio-type-toggle{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;padding:3px;display:inline-flex}.audio-type-toggle button{color:var(--muted);background:0 0;border-radius:7px;padding:6px 14px;font-size:13px}.audio-type-toggle button.active{background:var(--panel-3);color:var(--text)}.audio-name-input{border:1px solid var(--line);background:var(--panel-2);min-width:0;height:36px;color:var(--text);border-radius:9px;flex:220px;padding:0 12px;font-size:13px}.audio-file-label{cursor:pointer;align-items:center;gap:8px;max-width:320px;display:inline-flex;overflow:hidden}.audio-file-label input[type=file]{display:none}.audio-upload-status{color:var(--muted);margin:0;font-size:12px}.audio-upload-failure{color:var(--text);background:#dc50501a;border:1px solid #dc505073;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;font-size:13px;display:flex}.audio-list-status{color:var(--muted);font-size:13px}.audio-list-skeleton{flex-direction:column;gap:10px;display:flex}.audio-skeleton-row{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;align-items:center;gap:12px;padding:14px 16px;display:flex}.audio-skeleton-index,.audio-skeleton-meta{background:var(--panel-3);border-radius:6px;flex:none;width:28px;height:12px;animation:1.2s ease-in-out infinite audio-skeleton-pulse}.audio-skeleton-meta{width:72px}.audio-skeleton-play{background:var(--panel-3);border-radius:999px;flex:none;width:38px;height:38px;animation:1.2s ease-in-out infinite audio-skeleton-pulse}.audio-skeleton-wave{flex:1;align-items:center;gap:3px;min-width:0;height:32px;display:flex;overflow:hidden}.audio-skeleton-bar{background:var(--panel-3);border-radius:2px;flex:none;width:3px;animation:1.1s ease-in-out infinite audio-skeleton-bar}@keyframes audio-skeleton-pulse{0%,to{opacity:1}50%{opacity:.45}}@keyframes audio-skeleton-bar{0%,to{opacity:.7;height:8px}50%{opacity:1;height:26px}}.audio-asset-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.audio-play-button{border:1px solid var(--line);background:var(--panel-3);width:38px;height:38px;color:var(--text);border-radius:999px;flex:none;place-items:center;font-size:12px;display:grid}.audio-play-button:hover{border-color:var(--text)}.audio-asset-main{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.audio-asset-title{align-items:center;gap:8px;min-width:0;display:flex}.audio-asset-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.audio-type-badge{background:var(--panel-3);color:var(--muted);border-radius:999px;flex:none;padding:1px 8px;font-size:11px}.audio-type-badge.bgm{color:var(--text);font-weight:600}.audio-type-badge.sfx{color:#707477}.audio-waveform{width:100%;height:32px;display:block;overflow:visible}.audio-waveform rect{fill:var(--muted-2);opacity:.42;transition:fill .16s,opacity .16s}.audio-waveform.active rect{fill:var(--text);opacity:.72}.audio-delete-button{flex:none}.production-workspace>.page-content,.production-workspace>.shot-list-page{width:100%;max-width:none;padding:22px 24px 32px}.production-workspace .page-header{align-items:center;margin-bottom:16px}.production-workspace .page-header h1{font-size:25px}.production-workspace .page-header p{margin-top:4px}.production-workspace .eyebrow{font-size:10px}.production-workspace>.script-page{flex-direction:column;min-height:100%;display:flex}.production-workspace>.script-page>.page-header,.production-workspace>.script-page>.ai-script-workspace{flex:none}.production-workspace .script-layout{flex:1;grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:stretch;min-height:370px}.production-workspace .script-editor-panel{grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0;display:grid}.production-workspace .script-editor-panel>textarea{width:100%;height:100%;min-height:0;overflow-y:auto}.production-workspace .script-aside{height:100%;min-height:0}.production-workspace .script-aside .version-panel{flex-direction:column;flex:1;min-height:0;display:flex}.production-workspace .script-aside .version-timeline{flex:1;min-height:0;max-height:none}.ai-script-workspace{padding:0;overflow:hidden}.ai-script-workspace-summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:10px 15px;list-style:none;display:flex}.ai-script-workspace-summary::-webkit-details-marker{display:none}.ai-script-workspace-summary>span{gap:2px;display:grid}.ai-script-workspace-summary strong{font-size:14px}.ai-script-workspace-summary small{color:var(--muted);font-size:11px}.ai-script-workspace-summary em{color:var(--lime);font-size:11px;font-style:normal}.ai-script-workspace-summary:after{color:var(--muted);content:"⌄";transition:transform .16s}.ai-script-workspace[open] .ai-script-workspace-summary:after{transform:rotate(180deg)}.ai-script-workspace-body{border-top:1px solid var(--line);gap:16px;padding:0 16px 16px;display:grid}.ai-script-workspace-body>.ai-script-header{padding-top:16px}.asset-scope-heading{border-right:1px solid var(--line);gap:1px;min-width:126px;padding-right:12px;display:grid}.asset-scope-heading small{color:var(--muted);font-size:10px}.asset-scope-heading strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.asset-card.no-preview .asset-visual{aspect-ratio:16/9;border-bottom:1px dashed var(--line-strong);background:color-mix(in srgb, var(--panel-2) 72%, var(--bg));height:auto}.asset-card.no-preview .asset-visual:before{display:none}.asset-unrendered-state{color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:5px;padding:48px 16px 24px;display:grid;position:absolute;inset:0}.asset-unrendered-state svg{width:20px;color:var(--line-strong)}.asset-unrendered-state strong{color:var(--text);font-size:13px}.asset-unrendered-state small{color:var(--muted);font-size:10px}.asset-card.no-preview .asset-copy{min-height:60px}.production-workspace>.shot-list-page{min-height:100%}.shot-list-page .shot-list-episode{overflow:visible}.shot-list-page .shot-list-rows{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;padding:14px;display:grid}.shot-list-page .shot-list-rows.is-card-view{grid-template-columns:repeat(auto-fill,minmax(min(100%,288px),1fr))}.shot-list-page .shot-list-row{border:1px solid var(--line);background:var(--panel-2);border-radius:11px;overflow:hidden}.shot-list-page .shot-list-row:last-child{border-bottom:1px solid var(--line)}.shot-list-page .shot-row-header{background:color-mix(in srgb, var(--panel) 78%, transparent);border-bottom:1px solid var(--line);align-items:flex-start;min-height:68px;padding:12px}.shot-list-page .shot-list-row.is-timeline-target{border-color:var(--accent)}.shot-list-page .shot-list-row.is-timeline-target .shot-row-header{background:var(--accent-subtle)}.shot-list-page .shot-list-row:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shot-list-page .shot-row-main{grid-template-columns:28px 108px minmax(0,1fr);align-items:center;gap:4px 8px;display:grid}.shot-list-page .shot-row-main>b{background:var(--lime-soft);width:auto;color:var(--lime);border-radius:7px;grid-row:1/3;align-self:stretch;place-items:center;display:grid}.shot-list-page .shot-row-main>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.shot-list-page .shot-row-main>small{text-overflow:ellipsis;white-space:nowrap;grid-column:2/4;min-width:0;overflow:hidden}.shot-list-page .shot-row-edit{margin-top:1px}.shot-list-page .shot-row-prompt{padding:12px}.shot-list-page .shot-row-prompt-head{margin-bottom:8px}.shot-list-page .shot-row-prompt pre{overflow-wrap:anywhere;max-height:none;padding:12px;font-size:12px;line-height:1.7;overflow:visible}.shot-list-page .shot-module-detail,.shot-list-page .shot-row-simple{padding:0 12px 12px}.shot-list-page .shot-module-detail dl{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:9px 12px;padding:10px}.shot-list-page .breakdown-sub-details{overflow-wrap:anywhere}.shot-list-page .breakdown-sub-details>h4{margin:0;padding:4px 0;font-size:12px;font-weight:600}.shot-list-page .is-card-view .shot-row-main{grid-template-columns:28px minmax(0,1fr)}.shot-list-page .is-card-view .shot-row-main>b{grid-row:1/4;align-self:center;min-height:34px}.shot-list-page .is-card-view .shot-row-main>strong{grid-row:1}.shot-list-page .is-card-view .shot-row-main>:is(strong,small){white-space:normal;overflow-wrap:anywhere;grid-column:2}.shot-list-page .is-card-view .shot-row-time{grid-area:2/2;min-width:0}.shot-card-prompt-preview{max-height:4lh;display:block;overflow:hidden}.shot-card-expand{min-height:32px;color:var(--accent);background:0 0;border-radius:4px;align-items:center;gap:4px;margin-bottom:6px;padding:0 4px;font-size:12px;font-weight:600;display:inline-flex}.shot-card-expand:hover{background:var(--accent-subtle)}.shot-card-expand svg{width:14px;height:14px}.shot-card-expand[aria-expanded=true] svg{transform:rotate(180deg)}@media (width<=600px){.shot-list-timeline button,.shot-card-expand{min-height:44px}.shot-list-page .shot-row-main{grid-template-columns:28px minmax(0,1fr)}.shot-list-page .shot-row-main>b{grid-row:1/4}.shot-list-page .shot-row-main>strong,.shot-list-page .shot-row-main>small{white-space:normal;overflow-wrap:anywhere;grid-column:2}.shot-list-page .shot-module-detail dl{overflow-wrap:anywhere;grid-template-columns:minmax(0,1fr)}}.account-drawer-backdrop{justify-content:flex-end;align-items:stretch;padding:0;display:flex}.account-drawer-backdrop .account-modal{width:min(640px,96vw);height:100dvh;max-height:none;box-shadow:-24px 0 80px rgb(var(--accent-rgb) / .22);border-radius:18px 0 0 18px;flex-direction:column;padding:18px;display:flex}.account-drawer-heading>div{align-items:center;gap:11px;min-width:0;display:flex}.account-drawer-heading>div>span:last-child{gap:3px;min-width:0;display:grid}.account-drawer-heading h2{font-size:20px}.account-drawer-heading p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-drawer-avatar{background:color-mix(in srgb, var(--purple) 20%, var(--panel-2));border-radius:13px;flex:none;place-items:center;width:44px;height:44px;font-size:13px;font-weight:850;display:grid}.account-drawer-summary{grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0 8px;display:grid}.account-drawer-summary>div{border:1px solid var(--line);background:var(--bg-soft);border-radius:11px;gap:3px;padding:11px;display:grid}.account-drawer-summary small,.account-drawer-summary span{color:var(--muted);font-size:10px}.account-drawer-summary strong{font-size:18px}.account-drawer-summary strong.service-warning{color:#d87810;font-size:14px}.account-drawer-actions{grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:10px;display:grid}.account-drawer-actions button{border:1px solid var(--line);background:var(--panel-2);min-width:0;min-height:58px;color:var(--muted);border-radius:10px;place-items:center;gap:3px;padding:7px 4px;font-size:10px;display:grid}.account-drawer-actions button:hover{border-color:var(--line-strong);color:var(--text)}.account-drawer-actions svg{width:17px}.account-drawer-backdrop .account-scroll{flex:1;max-height:none}.production-workspace>.episode-editor{z-index:1;grid-template-rows:var(--editor-toolbar) var(--editor-taskstrip) auto minmax(0, 1fr) var(--editor-timeline);width:100%;height:100%;position:relative;inset:auto}.production-workspace>.episode-editor:has(>.episode-advanced-backdrop){z-index:40}.production-workspace>.episode-editor-empty{width:100%;height:100%;min-height:520px;position:relative;inset:auto}.episode-editor-assets{z-index:8;border-right:0;border-bottom:1px solid var(--line);background:var(--panel);grid-template-columns:190px auto auto minmax(240px,1fr);align-items:center;min-width:0;min-height:0;display:grid;position:relative;overflow:visible}.episode-editor-assets .pane-heading{border-bottom:0;min-height:76px;position:static}.episode-editor-assets .pane-heading>button{font-size:16px}.episode-editor-assets .asset-scope-tabs,.episode-editor-assets .asset-kind-tabs{align-items:center;padding:0 8px 0 0}.episode-editor-assets .episode-asset-list{gap:7px;min-width:0;max-height:98px;padding:7px 12px 7px 3px;display:flex;overflow:auto hidden}.episode-editor-assets .episode-asset-card{flex:0 0 176px}.episode-editor-assets .episode-asset-insert{grid-template-columns:64px minmax(0,1fr);align-items:center}.episode-editor-assets .episode-asset-insert>img,.episode-editor-assets .asset-no-image{width:64px;height:64px}.episode-editor-assets .episode-asset-insert>span:last-child{padding:7px}.episode-editor-assets .episode-assets-empty{text-align:left;min-width:260px;padding:18px}.episode-editor.left-collapsed .episode-editor-assets{display:none}.asset-shelf-toggle{border-bottom:1px solid var(--line);background:var(--panel);min-height:34px;color:var(--lime);font-size:11px;font-weight:700}.episode-editor-body,.episode-editor.left-collapsed .episode-editor-body{grid-template-columns:minmax(500px,1fr) minmax(350px,420px)}.episode-editor.right-collapsed .episode-editor-body,.episode-editor.left-collapsed.right-collapsed .episode-editor-body{grid-template-columns:minmax(600px,1fr) 0}.episode-editor-assets .episode-asset-card:hover .episode-asset-hover{transform:translate(90px,36px)}@media (width<=1500px){.topbar{grid-template-columns:auto minmax(140px,190px) minmax(400px,1fr) auto;gap:10px;padding:0 14px}.compact-brand strong{display:none}.workspace-top-nav button{min-width:0;padding:0 10px}.production-layout{grid-template-columns:218px minmax(0,1fr)}.episode-editor-assets{grid-template-columns:170px auto minmax(230px,1fr)}.episode-editor-assets .asset-kind-tabs{display:none}.episode-editor-toolbar{grid-template-columns:minmax(190px,.7fr) minmax(500px,2.3fr) auto;gap:8px}}@media (width<=1550px){.workspace-top-nav button svg{display:none}}@media (width<=1180px){.topbar{grid-template-columns:auto minmax(0,1fr) auto}.project-switcher-wrap{display:none}.workspace-top-nav button{min-width:0;padding:0 8px}.workspace-top-nav button svg{display:none}.production-layout{grid-template-columns:194px minmax(0,1fr)}.episode-editor{--editor-toolbar:112px}.episode-editor-assets{visibility:visible;width:auto;box-shadow:none;position:relative;inset:auto;transform:none}.episode-editor:not(.left-collapsed) .episode-editor-assets{transform:none}.episode-editor:not(.left-collapsed):after{display:none}.episode-editor-body,.episode-editor.left-collapsed .episode-editor-body{grid-template-columns:minmax(470px,1fr) minmax(320px,370px)}}@media (width<=820px){:root{--topbar:62px}.topbar{padding:0 10px;display:flex}.compact-brand{display:flex}.workspace-top-nav{display:none}.topbar-actions{margin-left:auto}.mobile-nav{display:flex}.production-layout{height:calc(100dvh - var(--topbar) - 54px);grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.episode-rail{border-right:0;border-bottom:1px solid var(--line);max-height:110px}.episode-rail>header{display:none}.episode-rail-project{float:left;width:180px;margin-top:7px}.episode-rail-list{padding:7px;display:flex;overflow:auto hidden}.episode-rail-list>.episode-rail-item>button{flex:0 0 178px;margin:0 3px}.production-workspace>.page-content,.production-workspace>.shot-list-page{padding:16px 12px 24px}.production-workspace .script-layout{grid-template-columns:1fr}.production-workspace .script-aside{display:none}.account-drawer-summary{grid-template-columns:1fr}.account-drawer-actions{grid-template-columns:repeat(2,1fr)}.episode-editor-assets{grid-template-columns:145px minmax(220px,1fr)}.episode-editor-assets .asset-scope-tabs{display:none}.episode-editor-body,.episode-editor.left-collapsed .episode-editor-body,.episode-editor.right-collapsed .episode-editor-body,.episode-editor.left-collapsed.right-collapsed .episode-editor-body{grid-template-columns:minmax(0,1fr)}}.login-page{grid-template-columns:1fr 1fr;width:100vw;min-width:100vw;min-height:100vh;max-height:100vh;font-family:Avenir Next,PingFang SC,Microsoft YaHei,sans-serif;display:grid;overflow:hidden}.login-left{color:#fff;background:linear-gradient(to bottom right,#9ca3af,#6b7280,#54575a);flex-direction:column;justify-content:space-between;min-width:0;padding:3rem;display:flex;position:relative}.login-logo{z-index:20;align-items:center;gap:.5rem;font-size:1.125rem;font-weight:600;display:flex;position:relative}.login-logo-mark{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff1a;border-radius:.5rem;place-items:center;width:32px;height:32px;padding:.25rem;display:grid}.login-logo-mark img{object-fit:contain;width:100%;height:100%}.login-slogan{z-index:20;letter-spacing:.32em;opacity:.72;margin:.35rem 0 0;padding-left:.25rem;font-size:.8rem;position:relative}.login-characters{z-index:20;justify-content:center;align-items:flex-end;height:500px;display:flex;position:relative}.login-grid-overlay{background-image:linear-gradient(#ffffff0d 1px,#0000 1px),linear-gradient(90deg,#ffffff0d 1px,#0000 1px);background-size:20px 20px;position:absolute;inset:0}.login-blur{filter:blur(96px);border-radius:50%;position:absolute}.login-blur-1{background:#9ca3af33;width:16rem;height:16rem;top:25%;right:25%}.login-blur-2{background:rgb(var(--accent-rgb) / .2);width:24rem;height:24rem;bottom:25%;left:25%}.login-right{border-left:1px solid rgb(var(--accent-rgb) / .6);background:#fff;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:2rem 2.25rem;display:flex;overflow-y:auto}.login-form-wrap{width:100%;max-width:420px;margin:auto 0}.login-icp-footer{text-align:center;color:#6b7280;flex-shrink:0;width:100%;padding-top:1rem;font-size:.75rem}.login-icp-footer a{color:inherit;text-decoration:none}.login-icp-footer a:hover{text-decoration:underline}.login-form-head{text-align:center;margin-bottom:2rem}.login-form-title{letter-spacing:-.025em;color:#1b1c1d;margin:0 0 .5rem;font-size:1.875rem;font-weight:700}.login-form-subtitle{color:#6b7280;margin:0;font-size:.875rem}.login-form{flex-direction:column;gap:1.25rem;display:flex}.login-form-group{text-align:left;flex-direction:column;gap:.5rem;display:flex}.login-form-label{color:#424446;font-size:.875rem;font-weight:500}.login-form-input{border:1.5px solid rgb(var(--accent-rgb) / .6);color:#1b1c1d;background:#fff;border-radius:.5rem;outline:none;width:100%;height:3rem;padding:0 1rem;font-size:1rem;transition:all .2s}.login-form-input:focus{border-color:#a7aaad}.login-password-wrap{position:relative}.login-password-wrap .login-form-input{padding-right:2.5rem}.login-password-toggle{color:#9ca3af;cursor:pointer;background:0 0;border:none;align-items:center;padding:0;transition:color .2s;display:flex;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.login-password-toggle:hover{color:#1b1c1d}.login-password-toggle svg{width:20px;height:20px}.login-field-error{color:#dc2626;margin:0;font-size:.875rem}.login-error-alert{color:#dc2626;background:#dc26261a;border:1px solid #dc26264d;border-radius:.5rem;padding:.75rem;font-size:.875rem}.login-form-note{color:#5a5c5f;background:rgb(var(--accent-rgb) / .08);border:1px solid rgb(var(--accent-rgb) / .25);word-break:break-all;border-radius:.5rem;padding:.75rem;font-size:.875rem}.login-form-note code{color:#5a5c5f;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem}.login-forgot{text-align:center;width:100%;color:var(--muted);cursor:pointer;background:0 0;border:none;margin-top:.75rem;padding:.5rem;font-size:.85rem}.login-forgot:hover{color:var(--lime);text-decoration:underline}.login-submit{cursor:pointer;color:#fff;background:#1b1c1d;border:none;border-radius:.5rem;justify-content:center;align-items:center;gap:.5rem;width:100%;height:3rem;font-size:1rem;font-weight:500;transition:all .3s;display:flex;position:relative;overflow:hidden}.login-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px #0003}.login-submit:disabled{opacity:.6;cursor:not-allowed}.login-submit-text{transition:transform .3s}.login-submit-icon{width:20px;height:20px;transition:transform .3s}.login-submit:hover:not(:disabled) .login-submit-text{transform:translate(-8px)}.login-submit:hover:not(:disabled) .login-submit-icon{transform:translate(8px)}.login-footer-note{text-align:center;color:#9ca3af;margin-top:1.25rem;font-size:.75rem}.login-hint{color:#9ca3af;font-weight:400}.login-invite-loading{text-align:center;color:#6b7280;margin:0;padding:2rem 0;font-size:.875rem}.login-invite-meta{grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1.25rem;display:grid}.login-invite-meta>span{border:1px solid rgb(var(--accent-rgb) / .8);background:#f9fafb;border-radius:.5rem;flex-direction:column;gap:.3rem;min-width:0;padding:.75rem;display:flex}.login-invite-meta small{color:#9ca3af;font-size:.75rem}.login-invite-meta b{color:#424446;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.login-signed-in{border:1px solid rgb(var(--accent-rgb) / .3);background:rgb(var(--accent-rgb) / .06);color:#929699;border-radius:.5rem;margin:0;padding:.75rem;font-size:.875rem}.login-actions .login-submit{width:auto;padding:0 1.5rem}.login-actions{align-items:center}.login-outline{color:#424446;border:1.5px solid rgb(var(--accent-rgb) / .6);cursor:pointer;background:#fff;border-radius:.5rem;align-items:center;gap:.5rem;height:3rem;padding:0 1.25rem;font-size:.875rem;font-weight:500;transition:all .2s;display:inline-flex}.login-outline:hover{background:#f9fafb;border-color:#d5d6d7}.login-actions{justify-content:flex-end;gap:.75rem;margin-top:1rem;display:flex}@media (width<=1024px){.login-page{grid-template-columns:1fr}.login-left{display:none}}@media (width<=640px){.login-right{padding:1.25rem}}.lc-container{width:550px;height:400px;position:relative}.lc-character{transform-origin:bottom;will-change:transform;transition:all .7s cubic-bezier(.4,0,.2,1);position:absolute;bottom:0}.lc-purple{animation:1.2s cubic-bezier(.34,1.56,.64,1) forwards lc-purple-entrance}.lc-black{animation:1s cubic-bezier(.34,1.56,.64,1) .2s backwards lc-black-entrance}.lc-orange{animation:1.1s cubic-bezier(.34,1.56,.64,1) .1s backwards lc-orange-entrance}.lc-yellow{animation:1s cubic-bezier(.34,1.56,.64,1) .3s backwards lc-yellow-entrance}.lc-character.lc-entered{animation:none}@keyframes lc-purple-entrance{0%{opacity:0;transform:translate(-150px)translateY(50px)rotate(-15deg)scale(.3)}60%{transform:translate(10px)translateY(-10px)rotate(3deg)scale(1.05)}to{opacity:1;transform:translate(0)translateY(0)rotate(0)scale(1)}}@keyframes lc-black-entrance{0%{opacity:0;transform:translateY(-100px)scale(.5)}70%{transform:translateY(10px)scale(1.08)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes lc-orange-entrance{0%{opacity:0;transform:translate(-200px)translateY(80px)rotate(-25deg)scale(.2)}65%{transform:translate(15px)translateY(-8px)rotate(5deg)scale(1.1)}to{opacity:1;transform:translate(0)translateY(0)rotate(0)scale(1)}}@keyframes lc-yellow-entrance{0%{opacity:0;transform:translate(200px)translateY(60px)rotate(20deg)scale(.3)}65%{transform:translate(-12px)translateY(-5px)rotate(-4deg)scale(1.06)}to{opacity:1;transform:translate(0)translateY(0)rotate(0)scale(1)}}.lc-eyes{will-change:left, top;transition:all .7s cubic-bezier(.4,0,.2,1);display:flex;position:absolute}.lc-eyes-wide{gap:32px}.lc-eyes-narrow{gap:24px}.lc-orange .lc-eyes,.lc-yellow .lc-eyes{transition:all .2s cubic-bezier(0,0,.2,1)}.lc-eyeball{will-change:height, border-radius, transform;justify-content:center;align-items:center;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden}.lc-pupil{will-change:transform, height;border-radius:50%;transition:transform .1s ease-out,height .15s ease-out}.lc-mouth{background-color:#2d2d2d;position:absolute}.lc-purple-mouth{border-radius:0 0 12px 12px;width:24px;height:8px;transition:left .7s cubic-bezier(.4,0,.2,1),top .7s cubic-bezier(.4,0,.2,1),width .5s cubic-bezier(.4,0,.2,1),height .5s cubic-bezier(.4,0,.2,1),border-radius .5s cubic-bezier(.4,0,.2,1),transform .5s cubic-bezier(.4,0,.2,1)}.lc-purple-mouth.lc-mouth--typing{width:7px;height:32px;transform:translateX(13.5px) translateY(-28px) var(--counter-skew,skewX(0deg));border-radius:0}.lc-purple-mouth.lc-mouth--sad{border-radius:12px 12px 0 0;width:24px;height:8px}.lc-purple-mouth.lc-mouth--happy{border-radius:0 0 15px 15px;width:30px;height:16px}.lc-orange-mouth{border-radius:0 0 13px 13px;width:26px;height:13px;transition:left .2s cubic-bezier(0,0,.2,1),top .2s cubic-bezier(0,0,.2,1),width .5s cubic-bezier(.4,0,.2,1),height .5s cubic-bezier(.4,0,.2,1),border-radius .5s cubic-bezier(.4,0,.2,1),transform .5s cubic-bezier(.4,0,.2,1)}.lc-orange-mouth.lc-mouth--typing{border-radius:50%;width:14px;height:14px;transform:translate(6px)}.lc-orange-mouth.lc-mouth--sad{border-radius:13px 13px 0 0;width:26px;height:13px}.lc-orange-mouth.lc-mouth--happy{border-radius:0 0 16px 16px;width:32px;height:18px}.lc-mouth-svg{transition:all .2s cubic-bezier(0,0,.2,1);position:absolute}.lc-mouth-svg path{transition:d .5s cubic-bezier(.4,0,.2,1)}.lc-confetti{pointer-events:none;z-index:10;position:fixed;inset:0;overflow:visible}.lc-confetti-piece{border-radius:2px;animation:linear forwards lc-confetti-fall;position:absolute}@keyframes lc-confetti-fall{0%{opacity:1;translate:0}to{opacity:1;translate:30px 200vh;rotate:720deg}}@media (width<=640px){.lc-container{transform-origin:bottom;width:360px;height:280px;transform:scale(.76)}}.episode-rail-outline{border:1px solid var(--line);width:calc(100% - 16px);min-width:0;color:var(--text);text-align:left;background:0 0;border-radius:10px;grid-template-columns:32px minmax(0,1fr) 6px;align-items:center;gap:9px;margin:8px 8px 0;padding:10px 9px;display:grid;position:relative}.episode-rail-outline>span{background:var(--bg-soft);width:32px;height:32px;color:var(--lime);border-radius:8px;place-items:center;display:grid}.episode-rail-outline svg{width:15px}.episode-rail-outline>div{gap:3px;min-width:0;display:grid}.episode-rail-outline strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.episode-rail-outline small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.episode-rail-outline>i{background:var(--line-strong);border-radius:50%;width:6px;height:6px}.episode-rail-outline:hover{background:var(--bg-soft)}.episode-rail-outline.is-active{background:var(--lime-soft)}.episode-rail-outline.is-active>span{background:var(--lime);color:#151617}.episode-rail-outline.is-active>i{background:var(--lime);box-shadow:0 0 0 4px color-mix(in srgb, var(--lime) 15%, transparent)}.script-outline-view{gap:14px;display:grid}.script-outline-synopsis{color:var(--text);margin:0;font-size:14px;line-height:1.7}.script-outline-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.script-outline-grid>div{border:1px solid var(--line);background:var(--panel-2);border-radius:9px;gap:4px;min-width:0;padding:11px;display:grid}.script-outline-grid>div.wide{grid-column:1/-1}.script-outline-grid small{color:var(--muted-2);font-size:11px}.script-outline-grid strong{color:var(--text);font-size:13px;line-height:1.5}.script-outline-body{gap:12px;display:grid}.script-outline-body>div{gap:6px;display:grid}.script-outline-body>div>small{color:var(--muted-2);font-size:11px}.script-outline-body p{color:var(--text);margin:0;font-size:13px;line-height:1.7}.script-outline-body ul{color:var(--text);gap:4px;margin:0;padding-left:18px;font-size:13px;display:grid}.script-outline-episodes{gap:8px;display:grid}.script-outline-episodes article{border:1px solid var(--line);background:var(--panel-2);border-radius:9px;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:11px;display:grid}.script-outline-episodes b{background:var(--bg-soft);width:30px;height:30px;color:var(--lime);border-radius:8px;place-items:center;font-size:12px;display:grid}.script-outline-episodes article>div{gap:5px;min-width:0;display:grid}.script-outline-episodes strong{font-size:13px}.script-outline-episodes p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.script-outline-episodes small{color:var(--muted-2);font-size:11px}.overview-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:320px;padding:32px;display:flex}.overview-empty-icon{background:var(--lime-soft);width:52px;height:52px;color:var(--lime);border-radius:14px;place-items:center;display:grid}.overview-empty-icon svg{width:24px}.overview-empty h2{margin:7px 0 0;font-size:22px}.overview-empty p{max-width:480px;color:var(--muted);margin:0 0 10px;font-size:13px;line-height:1.65}.overview-empty-actions{flex-wrap:wrap;justify-content:center;gap:9px;display:flex}.page-content.projects-page{max-width:none}.projects-head{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.projects-head h1{letter-spacing:-.035em;margin:7px 0 0;font-size:32px;font-weight:720}.projects-head h1 small{color:var(--muted-2);font-size:15px;font-weight:600}.projects-head-actions{gap:9px;display:flex}.projects-head-actions>button{flex:none}.projects-search{border:1px solid var(--line);background:var(--panel-2);border-radius:9px;align-items:center;gap:7px;width:250px;min-width:0;min-height:36px;padding:0 11px;display:flex}.projects-search svg{width:14px;color:var(--muted-2);flex:none}.projects-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-size:13px}.projects-search input::placeholder{color:var(--muted-2)}.projects-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,400px),1fr));gap:16px;display:grid}.project-card-large{cursor:pointer;border:1px solid var(--line);background:var(--panel);min-width:0;box-shadow:0 16px 40px rgb(var(--accent-rgb) / .045);border-radius:18px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);transition:all .16s;display:grid;overflow:hidden}.project-card-large:hover{border-color:#39443e}.project-card-large.current{border-color:rgb(var(--accent-rgb) / .48);box-shadow:0 18px 45px rgb(var(--accent-rgb) / .1)}.project-card-cover{aspect-ratio:16/9;background:var(--panel-3);text-align:left;width:100%;padding:0;display:block;position:relative;overflow:hidden}.project-card-cover>img{background:var(--panel-3);object-fit:contain;width:100%;height:100%;display:block;position:absolute;inset:0}.project-card-current-badge,.project-card-mode,.project-cover-placeholder{position:absolute}.project-card-current-badge{background:var(--lime);color:#101112;border-radius:7px;padding:4px 8px;font-size:11px;font-style:normal;font-weight:800;top:10px;left:10px;box-shadow:0 4px 14px #00000059}.project-card-mode{color:#fff;letter-spacing:.01em;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#13181399;border-radius:6px;padding:3px 7px;font-size:10.5px;font-style:normal;font-weight:600;bottom:8px;right:8px}.project-cover-placeholder{background:radial-gradient(circle at 24% 18%, rgb(var(--accent-rgb) / .16), transparent 46%), var(--panel-3);place-items:center;width:100%;height:100%;display:grid;inset:0}.project-cover-placeholder b{color:var(--muted);letter-spacing:.06em;opacity:.55;font-size:36px;font-weight:700}.project-cover-placeholder.mode-ai_script{background:radial-gradient(circle at 24% 18%, rgb(var(--accent-rgb) / .2), transparent 46%), linear-gradient(160deg, #232425, #161718 70%)}.project-cover-placeholder.mode-ai_script b{color:#d8d9da}.project-cover-placeholder.mode-free_canvas{background:radial-gradient(circle at 24% 18%, rgb(var(--accent-rgb) / .18), transparent 46%), linear-gradient(160deg, #1e1e1f, #121314 70%)}.project-cover-placeholder.mode-free_canvas b{color:#b7b8ba}.project-cover-placeholder.mode-scripted{background:radial-gradient(circle at 24% 18%, rgb(var(--accent-rgb) / .16), transparent 46%), linear-gradient(160deg, #1d1e1e, #131415 70%)}.project-cover-placeholder.mode-scripted b{color:#bcbcbd}.project-card-body{flex-direction:column;min-width:0;padding:16px;display:flex}.project-card-body>header{justify-content:space-between;align-items:center;gap:10px;display:flex}.project-card-updated{color:var(--muted-2);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px}.project-card-body>header>b{color:var(--lime);font-size:12px}.project-card-body h2{text-overflow:ellipsis;white-space:nowrap;margin:8px 0 4px;font-size:18px;overflow:hidden}.project-card-body>p{color:var(--muted);margin:0;font-size:12.5px;line-height:1.55}.project-card-body>:is(.project-card-meta,.project-card-metrics){color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:12px;line-height:1.5;overflow:hidden}.video-consumption{min-width:0;max-width:100%;color:var(--text-2);flex-wrap:wrap;align-items:baseline;gap:2px 6px;font-size:12px;line-height:1.5;display:inline-flex}.video-consumption-label,.video-consumption-amount{white-space:nowrap}.video-consumption-amount{color:var(--text-1);font-variant-numeric:tabular-nums;font-size:13px;font-weight:600}.video-consumption-state{color:var(--text-3);font-size:11px}.project-card-body>.video-consumption{margin-top:8px}.video-consumption.is-project .video-consumption-amount{font-size:18px}.project-card-body .episode-video-next{margin-top:12px}.project-card-body .episode-video-next>span{align-items:baseline;gap:6px;display:flex}.project-card-body .episode-video-next small{flex:none;font-size:11px}.project-card-body .episode-video-next strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-card-body .episode-video-alerts{margin-top:8px}.project-card-body>footer{flex-wrap:wrap;align-items:center;gap:6px;margin-top:auto;padding-top:12px;display:flex}.project-card-body>footer button{min-height:34px}.project-card-body>footer .project-card-secondary{border-color:var(--line);min-height:32px;color:var(--muted);background:0 0;padding-inline:10px;font-size:12px}.project-card-body>footer .project-card-secondary:hover{border-color:var(--line-strong);color:var(--text)}.episode-video-status.status-working{background:var(--lime-soft);color:var(--lime)}.episode-video-status.status-draft{background:rgb(var(--accent-rgb) / .09);color:var(--amber)}.project-menu>.manage-projects-menu{border-top:1px solid var(--border);color:var(--muted);border-radius:0 0 10px 10px;justify-content:center;align-items:center;gap:6px;margin-top:7px;padding-top:10px;font-size:12px;display:flex}.project-menu>.manage-projects-menu:hover{color:var(--lime)}.project-menu>.manage-projects-menu svg{width:13px}.cover-modal{width:min(460px,100vw - 32px)}.cover-modal-tabs{border:1px solid var(--line);background:#121213;border-radius:9px;gap:6px;margin-bottom:14px;padding:3px;display:flex}.cover-modal-tabs button{height:32px;color:var(--muted);background:0 0;border-radius:6px;flex:1;font-size:13px}.cover-modal-tabs button.active{color:#fff;background:#2d2e2f}.cover-modal-current{justify-items:center;gap:13px;display:grid}.cover-modal-current>img{border:1px solid var(--line);object-fit:contain;background:var(--panel-3);border-radius:12px;width:100%;max-height:380px}.cover-modal-actions{gap:9px;display:flex}.cover-modal-empty{border:1px dashed var(--line-strong);min-height:180px;color:var(--muted);text-align:center;border-radius:12px;align-content:center;place-items:center;gap:9px;font-size:13px;display:grid}.cover-modal-empty svg{width:26px;color:var(--muted-2)}.cover-modal-upload{gap:12px;display:grid}.cover-upload-drop{border:1px dashed var(--line-strong);background:rgb(var(--accent-rgb) / .55);min-height:168px;color:var(--muted);cursor:pointer;text-align:center;border-radius:12px;align-content:center;place-items:center;gap:7px;transition:all .15s;display:grid}.cover-upload-drop:hover{border-color:rgb(var(--accent-rgb) / .4);background:rgb(var(--accent-rgb) / .05)}.cover-upload-drop svg{width:24px;color:var(--lime)}.cover-upload-drop strong{font-size:14px}.cover-upload-drop small{color:var(--muted-2);font-size:11.5px}.cover-upload-drop:has(input:focus-visible){outline:2px solid var(--lime);outline-offset:2px}.cover-modal-progress{background:var(--panel-3);border-radius:999px;height:6px;overflow:hidden}.cover-modal-progress>i{border-radius:inherit;background:var(--lime);height:100%;transition:width .2s;display:block}.cover-modal-progress>span{color:var(--muted-2);margin-bottom:6px;font-size:11.5px;display:block}@media (width<=720px){.projects-head{flex-direction:column;align-items:flex-start}.projects-head-actions{width:100%}.projects-search{flex:1}.project-card-body{padding:12px}.project-card-body>footer .primary-button{flex:auto}}.project-card-progress{margin-top:12px}.project-card-progress-head{justify-content:space-between;align-items:center;display:flex}.project-card-progress-head small{color:var(--muted-2);align-items:center;gap:6px;font-size:11px;display:inline-flex}.project-card-progress-head small em{color:var(--text);font-style:normal;font-weight:600}.project-card-progress-head strong{font-variant-numeric:tabular-nums;font-size:13px}.project-card-stage-bar{grid-template-columns:repeat(5,1fr);gap:4px;margin-top:6px;display:grid}.project-card-stage-bar i{background:var(--panel-3);border-radius:999px;height:6px;position:relative;overflow:hidden}.project-card-stage-bar i:after{width:var(--fill,0%);border-radius:inherit;background:var(--lime);content:"";position:absolute;inset:0 auto 0 0}.project-card-stage-bar i.done:after{background:var(--lime);opacity:1}.project-card-stage-bar i.partial:after{background:rgb(var(--accent-rgb) / .65)}.project-card-stage-labels{grid-template-columns:repeat(5,1fr);gap:4px;margin-top:4px;display:grid}.project-card-stage-labels span{color:var(--muted-2);text-align:center;font-size:10px}.new-project-file-drop{border:1px dashed var(--line-strong);background:rgb(var(--accent-rgb) / .5);min-height:92px;color:var(--muted);cursor:pointer;text-align:center;border-radius:10px;align-content:center;place-items:center;gap:5px;transition:all .15s;display:grid;position:relative}.new-project-file-drop:hover{border-color:rgb(var(--accent-rgb) / .4);background:rgb(var(--accent-rgb) / .05)}.new-project-file-drop svg{width:20px;color:var(--lime)}.new-project-file-drop strong{font-size:13px}.new-project-file-drop small{color:var(--muted-2);font-size:11px}.new-project-file-drop:has(input:focus-visible){outline:2px solid var(--lime);outline-offset:2px}.new-project-file-picked{border:1px solid rgb(var(--accent-rgb) / .3);background:rgb(var(--accent-rgb) / .05);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;display:flex}.new-project-file-picked>span{align-items:center;gap:9px;min-width:0;display:flex}.new-project-file-picked svg{width:15px;color:var(--lime);flex:none}.new-project-file-picked strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.new-project-file-picked small{color:var(--muted-2);font-size:11px;display:block}.new-project-file-picked button{color:var(--muted-2);background:0 0;font-size:12px}.new-project-file-picked button:hover{color:var(--red)}.new-project-file-error{color:var(--red);margin-top:6px;font-size:12px;font-style:normal;display:block}.new-project-ai-options{gap:8px;display:grid}.new-project-ai-hint{color:var(--muted-2);margin:0;font-size:12px;line-height:1.6}.app-dialog-backdrop{z-index:200;place-items:center;padding:24px;display:grid}.app-dialog{width:min(440px,100vw - 48px);padding:22px 22px 18px}.app-dialog-head h3{margin:0;font-size:15px}.app-dialog.is-danger .app-dialog-head h3{color:var(--red)}.app-dialog-message{max-height:46vh;color:var(--text);white-space:pre-line;margin:12px 0 18px;font-size:13px;line-height:1.75;overflow-y:auto}.app-dialog-actions{justify-content:flex-end;gap:10px;display:flex}.app-dialog-actions .outline-button,.app-dialog-actions .primary-button{min-width:88px}html[data-theme] .app-dialog .app-dialog-confirm-danger{background:var(--danger);color:var(--panel);border-color:#0000}html[data-theme] .app-dialog .app-dialog-confirm-danger:hover{background:color-mix(in srgb, var(--danger) 88%, var(--text));color:var(--panel)}.episode-rail-item{position:relative}.script-import-restored{border:1px solid color-mix(in srgb, var(--lime) 30%, var(--line));background:var(--lime-soft);color:var(--text);border-radius:9px;align-items:center;gap:8px;margin:10px 0;padding:9px 12px;font-size:12px;display:flex}.script-import-restored svg{width:14px;color:var(--lime-2);flex:none}.production-tool-modal{flex-direction:column;width:min(1180px,100vw - 48px);max-height:calc(100dvh - 48px);display:flex;overflow:hidden}.production-tool-modal .modal-heading,.production-tool-modal .template-center-tabs{flex:none}.production-tool-modal .production-tool-scroll{flex:1;min-height:0;padding-right:8px;overflow-y:auto}.production-tool-modal>.modal-actions{flex:none;margin-top:14px}.prompt-template-layout{grid-template-columns:280px minmax(0,1fr);align-items:start;gap:20px;padding:16px 14px 20px;display:grid}.prompt-template-layout>aside{flex-direction:column;gap:8px;max-height:calc(100dvh - 300px);padding-right:2px;display:flex;overflow-y:auto}.prompt-template-layout>aside>button,.skill-navigation-list>button{border:1px solid var(--line);background:var(--panel-2);min-height:52px;color:var(--text);text-align:left;cursor:pointer;border-radius:10px;gap:4px;padding:10px 12px;display:grid}.prompt-template-layout>aside:not(.skill-navigation)>button:first-child{border-style:dashed;border-color:var(--lime-2);min-height:44px;color:var(--lime-2);place-items:center;font-weight:650}.prompt-template-layout>aside:not(.skill-navigation)>button:hover{border-color:var(--lime-2)}.prompt-template-layout>aside:not(.skill-navigation)>button.active{border-color:var(--lime-2);background:var(--lime-soft);box-shadow:inset 3px 0 0 var(--lime-2)}.prompt-template-layout>aside button strong{font-size:13px;line-height:1.4}.prompt-template-layout>aside button small{color:var(--muted);font-size:11px}.prompt-template-layout>section{gap:12px;min-width:0;display:grid}.skill-editor{gap:12px;display:grid}.skill-editor label{gap:6px;display:grid}.skill-editor label>span{color:var(--muted);font-size:12px}.skill-editor input,.skill-editor select{border:1px solid var(--line-strong);background:var(--bg-soft);min-height:40px;color:var(--text);border-radius:9px;padding:8px 11px;font-size:13px}.skill-editor textarea,.prompt-fields textarea{border:1px solid var(--line-strong);background:var(--bg-soft);min-height:320px;color:var(--text);resize:vertical;border-radius:10px;padding:14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;line-height:1.8}.skill-template-textarea{min-height:120px!important}.skill-template-field>span{color:var(--blue)!important}.skill-template-heading{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-top:6px;padding-top:14px;display:flex}.skill-template-heading strong{font-size:13px}.skill-template-note{color:var(--muted-2);margin:0;font-size:11.5px;line-height:1.7}.template-variables{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.template-variables span{color:var(--muted-2);font-size:11px}.template-variables code,.template-variables button{border:1px solid var(--line-strong);background:var(--panel-3);color:var(--blue);border-radius:6px;padding:3px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.template-variables button{cursor:pointer}.template-variables button:hover{border-color:var(--blue);color:var(--blue)}.template-history{border-top:1px dashed var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding-top:12px;display:flex}.template-history>strong{color:var(--muted);font-size:12px}.template-history>div{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;align-items:center;gap:8px;padding:6px 10px;font-size:12px;display:flex}.template-history>div span{font-weight:650}.template-history>div small{color:var(--muted-2)}.template-history button{border:1px solid var(--line-strong);background:var(--panel-3);min-height:30px;color:var(--muted);cursor:pointer;border-radius:7px;padding:0 10px;font-size:11px}.template-history button:hover{border-color:var(--lime-2);color:var(--lime-2)}.production-tool-modal .template-center-tabs{padding:14px 16px 0}.production-tool-modal .template-center-tabs button{min-height:40px;padding:8px 16px;font-size:13.5px}@media (width<=900px){.prompt-template-layout{grid-template-columns:1fr}.prompt-template-layout>aside{max-height:240px}}.script-header-breakdown{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.script-header-breakdown .shot-list-rule-select{align-content:center;gap:3px;display:grid}.script-header-breakdown .shot-list-rule-select>span{white-space:nowrap}.script-header-breakdown .shot-list-rule-select select{max-width:220px}.script-header-breakdown>button{white-space:nowrap;flex:none}.script-breakdown-live{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;max-height:150px;padding:10px 14px;overflow-y:auto}.script-breakdown-live pre{color:var(--muted);white-space:pre-wrap;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;line-height:1.7}.task-center-scope{border:1px solid var(--line);color:var(--muted);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:9px;align-items:center;gap:7px;padding:9px 13px;font-size:12.5px;display:flex}.task-center-scope input{width:15px;height:15px;accent-color:var(--lime-2)}.task-center-type-filter{border:1px solid var(--line);color:var(--muted);border-radius:9px;align-items:center;gap:7px;padding:7px 10px;font-size:12px;display:flex}.task-center-type-filter select{max-width:170px;height:28px;color:var(--text);background:0 0;border:0;outline:0;font-size:12px;font-weight:650}.task-section{gap:10px;margin-bottom:20px;display:grid}.task-section-head{align-items:baseline;gap:10px;padding:0 2px;display:flex}.task-section-head h3{margin:0;font-size:15px}.task-section-head small{color:var(--muted-2);font-size:11.5px}.task-section-head.attention h3{color:var(--red)}.task-section-head.attention small{color:var(--red);opacity:.75}.task-card-list{gap:10px;display:grid}.task-history-toggle{justify-self:start}.task-section.is-audit .task-section-head{align-items:center}.task-section.is-audit .task-section-head .outline-button{margin-left:auto}.task-audit-hint{color:var(--muted-2);font-size:11.5px}.task-audit-list{gap:6px;display:grid}.task-audit-row{border:1px solid var(--line);background:var(--panel);border-radius:10px;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 12px;display:grid}.task-audit-decision{background:var(--panel-3);color:var(--muted);text-align:center;border-radius:999px;justify-self:start;padding:3px 7px;font-size:10.5px;font-weight:700}.task-audit-decision.is-charged{background:color-mix(in srgb, var(--amber) 14%, var(--panel));color:var(--amber)}.task-audit-row>div{gap:2px;min-width:0;display:grid}.task-audit-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.task-audit-row small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.task-audit-row>div:last-child{text-align:right}.task-history-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.task-history-status-filter{border:1px solid var(--line);background:var(--panel-2);border-radius:9px;gap:4px;padding:3px;display:inline-flex}.task-history-status-filter button{min-height:30px;color:var(--muted);background:0 0;border-radius:6px;align-items:center;gap:6px;padding:0 10px;font-size:11.5px;display:inline-flex}.task-history-status-filter button.active{background:var(--panel);color:var(--text);box-shadow:0 1px 4px #00000014}.task-history-status-filter em{background:var(--panel-3);color:var(--muted-2);border-radius:999px;padding:1px 5px;font-size:10px;font-style:normal}.task-history-group{border:1px solid var(--line);background:var(--panel);border-radius:13px;overflow:hidden}.task-history-group>summary{cursor:pointer;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 14px;list-style:none;display:grid}.task-history-group>summary::-webkit-details-marker{display:none}.task-history-group>summary:after{color:var(--muted-2);content:"展开明细";grid-column:1/-1;font-size:10px}.task-history-group[open]>summary:after{content:"收起明细"}.task-history-group-icon{border:1px solid var(--line);background:var(--panel-2);width:32px;height:32px;color:var(--muted);border-radius:9px;place-items:center;display:grid}.task-history-group-icon svg{width:15px}.task-history-group-icon.status-failed,.task-history-group-icon.status-unknown{color:var(--red);border-color:color-mix(in srgb, var(--red) 35%, var(--line))}.task-history-group-copy{gap:2px;min-width:0;display:grid}.task-history-group-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.task-history-group-copy small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.task-history-group>summary>b{background:var(--panel-3);color:var(--muted);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:650}.task-history-group>summary>b.state-failed,.task-history-group>summary>b.state-unknown{background:color-mix(in srgb, var(--red) 14%, var(--panel));color:var(--red)}.task-history-group>.task-card-list{padding:0 10px 10px}.task-card{grid-template-columns:40px minmax(0,1fr) auto;align-items:start;gap:12px;padding:14px;display:grid}.task-card-icon{border:1px solid var(--line-strong);background:var(--panel-2);width:40px;height:40px;color:var(--muted);border-radius:11px;place-items:center;display:grid}.task-card-icon.status-failed,.task-card-icon.status-unknown{border-color:color-mix(in srgb, var(--red) 45%, var(--line));background:color-mix(in srgb, var(--red) 10%, var(--panel));color:var(--red)}.task-card-icon.status-succeeded{border-color:color-mix(in srgb, var(--lime-2) 45%, var(--line));background:var(--lime-soft);color:var(--lime-2)}.task-card-icon svg{width:17px}.task-card.attention{border-color:color-mix(in srgb, var(--red) 35%, var(--line))}.task-card-body{gap:5px;min-width:0;display:grid}.task-card-title{align-items:center;gap:9px;display:flex}.task-card-title strong{font-size:13.5px}.task-card-title b{background:var(--panel-3);color:var(--muted);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:650}.task-card-title b.state-failed,.task-card-title b.state-unknown{background:color-mix(in srgb, var(--red) 14%, var(--panel));color:var(--red)}.task-card-title b.state-succeeded{background:var(--lime-soft);color:var(--lime-2)}.task-card-body p{color:var(--text);margin:0;font-size:12.5px}.task-card-error{color:var(--red);margin:0;font-size:12px;font-style:normal;line-height:1.6}.task-card-progress{align-items:center;gap:9px;display:flex}.task-card-progress-track{background:var(--panel-3);border-radius:99px;flex:1;height:6px;position:relative;overflow:hidden}.task-card-progress-track i{border-radius:inherit;background:var(--lime-2);min-width:6px;height:100%;transition:width .9s cubic-bezier(.22,.61,.36,1);display:block;position:relative;overflow:hidden}.task-card-progress-track i:after{content:"";background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--bg) 65%, transparent) 50%, transparent);animation:1.6s ease-in-out infinite task-progress-sheen;position:absolute;inset:0;transform:translate(-100%)}.task-card-progress-track i.indeterminate{background:color-mix(in srgb, var(--lime-2) 30%, var(--panel-3));width:100%;animation:none}.task-card-progress-track i.indeterminate:after{content:"";border-radius:inherit;background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--lime-2) 85%, transparent), transparent);width:34%;animation:1.3s ease-in-out infinite task-progress-slide;inset:0 auto 0 0}@keyframes task-progress-sheen{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes task-progress-slide{0%{transform:translate(-110%)}to{transform:translate(280%)}}@media (prefers-reduced-motion:reduce){.task-card-progress-track i{transition:none}.task-card-progress-track i:after,.task-card-progress-track i.indeterminate:after{opacity:0;animation:none}.task-card-progress-track i.indeterminate{opacity:.55;width:100%;animation:none}}.task-card-progress small{color:var(--muted-2);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px}.task-card-meta{color:var(--muted-2);font-size:11px}.task-card-actions{flex-direction:column;align-items:flex-end;gap:7px;display:flex}.task-card-hint{color:var(--muted-2);font-size:11px}.task-cost-field{width:180px;color:var(--muted);gap:4px;font-size:11px;display:grid}.task-cost-field input{border:1px solid var(--line-strong);background:var(--bg-soft);width:100%;height:32px;color:var(--text);font-variant-numeric:tabular-nums;border-radius:7px;outline:0;padding:0 9px}.task-cost-field input[aria-invalid=true]{border-color:var(--red)}.task-cost-field small{color:var(--muted-2);font-size:10.5px}.task-cost-field em{color:var(--red);font-size:10.5px;font-style:normal}.task-card.done{padding:10px 14px}.task-card.done .task-card-icon{border-radius:9px;width:30px;height:30px}@media (width<=720px){.task-card{grid-template-columns:34px minmax(0,1fr)}.task-card-icon{width:34px;height:34px}.task-card-actions{grid-column:2;align-items:stretch;width:100%}.task-cost-field{width:100%}.task-section-head{flex-wrap:wrap;gap:2px 10px}.task-section-head>small{flex:100%}.task-audit-row{grid-template-columns:1fr;align-items:start}.task-audit-row>div:last-child{text-align:left}}.task-center-bell{border:1px solid var(--line-strong);background:var(--panel-2);width:38px;height:38px;color:var(--muted);cursor:pointer;border-radius:12px;flex:none;place-items:center;display:grid;position:relative}.task-center-bell:hover{border-color:var(--lime-2);color:var(--lime-2)}.task-center-bell.has-alert{border-color:color-mix(in srgb, var(--red) 55%, var(--line));color:var(--red)}.task-center-bell svg{width:16px}.bell-badge{border:2px solid var(--bg);text-align:center;border-radius:999px;min-width:17px;padding:1px 4px;font-size:10px;font-weight:800;line-height:1.3;position:absolute;top:-7px}.bell-badge.active-count{background:var(--lime);color:#151617;right:-7px}.bell-badge.alert-count{background:var(--red);color:#fff;right:-7px}.task-center-bell.has-alert .bell-badge.active-count{right:10px}.task-card-error{gap:3px;display:grid}.task-card-error em{color:var(--red);font-size:12.5px;font-style:normal;font-weight:650;line-height:1.55}.task-card-error small{color:var(--muted);font-size:11.5px;line-height:1.6}.task-error-code{color:var(--muted-2);opacity:.8;font-size:10.5px;font-style:normal}.task-error-details{color:var(--muted-2);font-size:10.5px}.task-error-details summary{cursor:pointer;width:fit-content}.task-error-details code{background:var(--panel-3);color:var(--muted);border-radius:5px;margin-top:3px;padding:2px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-block}.task-error-details span{word-break:break-all;margin-top:3px;line-height:1.6;display:block}.task-card-history-error{padding-top:2px}.task-verification-guide{border:1px dashed var(--line-strong);background:var(--panel-2);color:var(--muted);border-radius:9px;margin-top:3px;padding:8px 10px;font-size:11.5px}.task-verification-guide summary{cursor:pointer;color:var(--text);font-weight:650}.task-verification-guide ol{gap:4px;margin:7px 0;padding-left:18px;line-height:1.6;display:grid}.task-verification-guide .text-button{padding:0;font-size:11.5px}.candidate-image-prompt{gap:4px;margin:6px 0;display:grid}.candidate-image-prompt>span{color:var(--muted);font-size:12px}.candidate-image-prompt pre{border:1px solid var(--line);background:var(--panel);white-space:pre-wrap;word-break:break-word;border-radius:8px;margin:0;padding:8px 10px;font-size:12px;line-height:1.6}.audio-search-input{flex:0 260px}.audio-select{border:1px solid var(--line);background:var(--panel-2);height:36px;color:var(--text);border-radius:9px;padding:0 10px;font-size:13px}.audio-fav-button{width:30px;height:30px;color:var(--muted-2);cursor:pointer;background:0 0;border:none;flex:none;place-items:center;font-size:16px;display:grid}.audio-fav-button:hover{color:#898c8f}.audio-waveform-hit{cursor:pointer;display:block;position:relative}.audio-waveform-playhead{background:rgb(var(--accent-rgb) / .25);pointer-events:none;position:absolute;top:0;bottom:0;left:0}.audio-analysis-badge{background:var(--panel-3);color:var(--muted-2);border-radius:999px;flex:none;padding:1px 8px;font-size:11px}.audio-pagination{color:var(--muted);align-items:center;gap:10px;margin-top:14px;font-size:12px;display:flex}.mw-layout{grid-template-columns:212px minmax(0,1fr) 288px;align-items:start;gap:18px;display:grid}.mw-sidebar{flex-direction:column;gap:18px;display:flex;position:sticky;top:22px}.mw-upload-toggle{width:100%}.mw-side-group{flex-direction:column;gap:2px;display:flex}.mw-side-title{color:var(--muted-2);letter-spacing:.08em;margin:0 0 6px;padding:0 10px;font-size:11px;font-weight:700}.mw-side-item{width:100%;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;font-size:13px;display:flex}.mw-side-item:hover{background:var(--panel-2);color:var(--text)}.mw-side-item.active{background:var(--lime-soft);color:var(--text);font-weight:650}.mw-side-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mw-side-count{color:var(--muted-2);font-variant-numeric:tabular-nums;flex:none;font-size:11px}.mw-side-item.active .mw-side-count{color:var(--lime)}.mw-side-tags{max-height:320px;overflow-y:auto}.mw-page-header{margin-bottom:12px}.mw-mobile-source-bar{display:none}.mw-source-segment{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;min-width:0;padding:3px;display:inline-flex}.mw-source-segment button{min-height:30px;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:5px;align-items:center;gap:7px;padding:4px 10px;font-size:12px;display:inline-flex}.mw-source-segment button.active{background:var(--panel);color:var(--text);box-shadow:0 1px 3px rgb(var(--accent-rgb) / .1)}.mw-source-segment button span{color:var(--muted-2);font-variant-numeric:tabular-nums;font-size:10px}.mw-toolbar{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;padding:10px 12px;display:flex}.mw-search{flex:200px}.mw-toolbar-tag-select{display:none}.mw-volume{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:inline-flex}.mw-volume input[type=range]{width:110px;accent-color:var(--lime)}.mw-volume-value{min-width:36px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}.mw-select-all{color:var(--muted);white-space:nowrap;cursor:pointer;align-items:center;gap:6px;font-size:12.5px;display:inline-flex}.mw-select-all input,.mw-row-check input{width:15px;height:15px;accent-color:var(--lime);cursor:pointer}.mw-toolbar-right{align-items:center;gap:10px;margin-left:auto;display:inline-flex}.mw-batch-delete{color:var(--red);border-color:#d6454580}.mw-view-toggle{border:1px solid var(--line);background:var(--panel-2);border-radius:9px;padding:3px;display:inline-flex}.mw-view-toggle button{width:30px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border-radius:6px;place-items:center;font-size:13px;display:grid}.mw-view-toggle button.active{background:var(--panel-3);color:var(--text)}.mw-table{flex-direction:column;gap:8px;display:flex}.mw-list-head,.mw-row{grid-template-columns:24px 28px 28px 38px minmax(180px,1fr) minmax(96px,150px) 48px 46px minmax(132px,172px);align-items:center;gap:10px;display:grid}.mw-list-head{color:var(--muted-2);padding:0 14px;font-size:11.5px}.mw-row{cursor:pointer;padding:10px 14px;transition:border-color .15s,background .15s}.mw-row:hover{border-color:var(--line-strong)}.mw-row.selected{border-color:var(--lime);background:var(--lime-soft)}.mw-row.playing{border-color:var(--text)}.mw-row-check{place-items:center;display:grid}.mw-row-index{color:var(--muted-2);font-variant-numeric:tabular-nums;text-align:center;font-size:12px}.mw-row-tags{min-width:0}.mw-row-format,.mw-row-duration{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.mw-row-duration{text-align:right}.mw-row .audio-delete-button{padding:5px 10px;font-size:12px}.mw-row-actions{justify-content:flex-end;align-items:center;gap:4px;display:flex}.mw-project-link-button{white-space:nowrap}.mw-project-link-button.compact{padding:5px 7px;font-size:11px}.mw-project-link-button.linked{border-color:color-mix(in srgb, var(--lime) 50%, var(--line));background:var(--lime-soft);color:var(--text)}.mw-tag-chips{flex-wrap:wrap;gap:4px;display:inline-flex}.mw-tag-chip{background:var(--panel-3);color:var(--muted);white-space:nowrap;border-radius:999px;padding:1px 8px;font-size:11px}.mw-tag-more{color:var(--muted-2)}.mw-tag-empty{color:var(--muted-2);font-size:11.5px}.mw-grid{grid-template-columns:repeat(auto-fill,minmax(216px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.mw-card{cursor:pointer;flex-direction:column;gap:8px;padding:12px;transition:border-color .15s,background .15s;display:flex;position:relative}.mw-card:hover{border-color:var(--line-strong)}.mw-card.selected{border-color:var(--lime);background:var(--lime-soft)}.mw-card.playing{border-color:var(--text)}.mw-card>.mw-row-check{position:absolute;top:10px;right:10px}.mw-card-fav{position:absolute;top:7px;left:7px}.mw-card-play{width:42px;height:42px;margin-left:32px}.mw-card-name{text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:13.5px;overflow:hidden}.mw-card-meta{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.mw-card-actions{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding-top:4px;display:flex}.mw-card-actions .audio-delete-button{flex:none;padding:5px 10px;font-size:11px}.mw-detail{flex-direction:column;gap:10px;display:flex;position:sticky;top:22px}.mw-detail-title{color:var(--muted-2);letter-spacing:.08em;margin:0;font-size:11px;font-weight:700}.mw-detail-body{flex-direction:column;gap:10px;display:flex}.mw-detail-wave{align-items:center;gap:12px;padding:14px;display:flex}.mw-detail-wave .audio-waveform-hit{flex:1;min-width:0}.mw-detail-wave .audio-waveform{height:56px}.mw-detail-name{text-overflow:ellipsis;white-space:nowrap;font-size:14.5px;overflow:hidden}.mw-detail-origin{min-width:0;color:var(--muted-2);align-items:center;gap:8px;font-size:11px;display:flex}.mw-detail-origin>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mw-source-badge{border-radius:5px;flex:none;padding:2px 7px;font-weight:650}.mw-source-badge.platform{color:#2b734f;background:#e3f7ed}.mw-source-badge.personal{color:#28618a;background:#e5f1fa}.mw-detail-meta{color:var(--muted);margin:0;font-size:12.5px}.mw-detail-actions{flex-wrap:wrap;gap:8px;display:flex}.mw-detail-empty{border:1px dashed var(--line-strong);color:var(--muted);border-radius:12px;margin:0;padding:18px 16px;font-size:12.5px;line-height:1.7}.mw-ai-card{border:1px solid color-mix(in srgb, var(--lime) 35%, var(--line));background:var(--lime-soft);border-radius:12px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.mw-ai-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.mw-ai-head strong{font-size:13px}.mw-ai-badge{background:var(--panel-3);color:var(--muted);border-radius:999px;flex:none;padding:1px 8px;font-size:11px}.mw-ai-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.7}.mw-row .audio-play-button,.mw-card .audio-play-button,.mw-detail-body .audio-play-button{background:hsl(var(--asset-hue,150) 68% 56%);color:#fff;box-shadow:0 4px 10px hsl(var(--asset-hue,150) 68% 56% / .35);border:none;transition:background .15s,transform .15s}.mw-row .audio-play-button:hover,.mw-card .audio-play-button:hover,.mw-detail-body .audio-play-button:hover{background:hsl(var(--asset-hue,150) 72% 48%);transform:scale(1.06)}.mw-row .audio-waveform rect,.mw-card .audio-waveform rect,.mw-detail-body .audio-waveform rect{fill:hsl(var(--asset-hue,150) 42% 64%);opacity:.4}.mw-row .audio-waveform.active rect,.mw-card .audio-waveform.active rect,.mw-detail-body .audio-waveform.active rect{fill:hsl(var(--asset-hue,150) 58% 46%);opacity:.78}.mw-row .audio-waveform-playhead,.mw-detail-body .audio-waveform-playhead{background:hsl(var(--asset-hue,150) 68% 56% / .22)}.mw-row{border-left:3px solid #0000}.mw-row:hover,.mw-card:hover{border-color:hsl(var(--asset-hue,150) 60% 78%);background:hsl(var(--asset-hue,150) 70% 98%)}.mw-row.selected,.mw-card.selected{border-color:hsl(var(--asset-hue,150) 65% 76%);background:hsl(var(--asset-hue,150) 72% 96.5%)}.mw-row.playing,.mw-card.playing{border-color:hsl(var(--asset-hue,150) 62% 58%);border-left-color:hsl(var(--asset-hue,150) 62% 58%)}.mw-row.playing .mw-row-index,.mw-row.playing .audio-asset-title strong{color:hsl(var(--asset-hue,150) 60% 38%)}.mw-tag-chip{background:hsl(var(--tag-hue,150) 70% 95%);color:hsl(var(--tag-hue,150) 45% 38%);font-weight:550}.mw-row-format{letter-spacing:.02em;border-radius:999px;justify-content:center;padding:2px 8px;font-size:11px;font-weight:650;display:inline-flex}.mw-format-mp3{color:#a5561d;background:#fdeee3}.mw-format-wav{color:#1f6393;background:#e3f2fc}.mw-format-m4a{color:#6339ac;background:#f0e9fb}.mw-format-other{background:var(--panel-3);color:var(--muted)}.mw-side-item{gap:7px}.mw-side-item:before{content:"";background:var(--line-strong);border-radius:3px;flex:none;width:7px;height:7px}.mw-side-item[data-tone=all]:before,.mw-side-item[data-tone=platform]:before{background:#31c47a}.mw-side-item[data-tone=mine]:before{background:#2f93da}.mw-side-item[data-tone=fav]:before{background:#e75592}.mw-side-item[data-tone=bgm]:before{background:#9368df}.mw-side-item[data-tone=sfx]:before{background:#ef8539}.mw-side-tags .mw-side-item:before{background:var(--line-strong)}.mw-side-item.active:before{outline:2px solid hsl(var(--tone-hue,150) 60% 80%);outline-offset:1px}@media (width<=1420px){.mw-layout{grid-template-columns:196px minmax(0,1fr) 264px}}@media (width<=1280px){.mw-layout{grid-template-columns:196px minmax(0,1fr)}.mw-detail{display:none}.mw-list-head,.mw-row{grid-template-columns:24px 28px 28px 38px minmax(180px,1fr) 48px 46px minmax(132px,172px)}.mw-row-tags,.mw-col-tags{display:none}}@media (width<=1024px){.mw-layout{grid-template-columns:minmax(0,1fr)}.mw-sidebar{display:none}.mw-mobile-source-bar{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.mw-toolbar-tag-select{display:block}}@media (width<=640px){.mw-mobile-source-bar{align-items:stretch}.mw-source-segment{flex:1}.mw-source-segment button{flex:1;justify-content:center}.mw-mobile-upload{flex:none}.mw-list-head,.mw-row{grid-template-columns:18px 24px 30px minmax(76px,1fr) minmax(80px,92px);gap:4px}.mw-list-head{padding:0 6px}.mw-row{padding:8px 6px}.mw-row .audio-fav-button{width:24px;height:28px}.mw-row .audio-play-button{width:30px;height:30px}.mw-col-index,.mw-row-index,.mw-col-format,.mw-row-format,.mw-col-duration,.mw-row-duration,.mw-row .audio-analysis-badge{display:none}.mw-row-actions{flex-wrap:wrap;gap:3px}}.rough-cut-coverage-warning{border:1px solid rgb(var(--accent-rgb) / .5);background:rgb(var(--accent-rgb) / .1);border-radius:10px;flex-direction:column;gap:4px;margin-bottom:12px;padding:10px 14px;font-size:13px;display:flex}.rough-cut-coverage-warning strong{font-size:13px}.rough-cut-coverage-warning span{color:var(--muted);font-size:12px}.rough-cut-coverage-warning.provisional{border-color:rgb(var(--accent-rgb) / .4);background:rgb(var(--accent-rgb) / .08)}.rough-cut-resync-summary{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;align-items:center;gap:10px;margin-bottom:12px;padding:8px 14px;font-size:12px;display:flex}.rough-cut-resync-summary span{color:var(--muted)}.rough-cut-shot-picker{flex-direction:column;gap:8px;margin-bottom:14px;display:flex}.rough-cut-shot-row{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;align-items:center;gap:12px;padding:8px 12px;display:flex}.rough-cut-shot-head{flex-direction:column;flex:none;gap:2px;min-width:220px;display:flex}.rough-cut-shot-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.rough-cut-shot-head span{color:var(--muted);font-size:11px}.rough-cut-candidates{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.rough-cut-candidates small{color:var(--muted-2);font-size:11px}.rough-cut-candidate-chip{border:1px solid var(--line);color:var(--muted);background:0 0;border-radius:999px;padding:5px 12px;font-size:12px}.rough-cut-candidate-chip:hover:not(:disabled){border-color:var(--text);color:var(--text)}.rough-cut-candidate-chip.active{border-color:var(--text);background:var(--panel-3);color:var(--text)}.sound-design-panel{flex-direction:column;gap:14px;margin-bottom:16px;display:flex}.sound-track{flex-direction:column;gap:8px;display:flex}.sound-track-head{align-items:center;gap:12px;display:flex}.sound-track-head strong{font-size:13px}.sound-track-head>span{color:var(--muted);font-size:11px}.sound-track-body{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.sound-gain-field{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.sound-gain-field input[type=range]{flex:1}.clip-override-list{flex-direction:column;gap:6px;display:flex}.clip-override-row{border:1px solid var(--line);background:var(--panel-3);border-radius:8px;align-items:center;gap:10px;padding:6px 10px;font-size:12px;display:flex}.clip-override-row.muted{opacity:.6}.clip-override-row strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.clip-override-row>span{color:var(--muted);flex:none}.clip-override-actions{flex:none;align-items:center;gap:6px;display:flex}.clip-override-actions input[type=range]{width:120px}.clip-override-actions button,.sound-item-row button{border:1px solid var(--line);color:var(--muted);background:0 0;border-radius:7px;padding:4px 10px;font-size:11px}.sound-item-row{border:1px solid var(--line);background:var(--panel-3);border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 10px;font-size:12px;display:flex}.sound-item-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:120px;overflow:hidden}.sound-item-row label{color:var(--muted);align-items:center;gap:4px;font-size:11px;display:flex}.sound-item-row input[type=number]{border:1px solid var(--line);background:var(--panel-2);width:76px;height:28px;color:var(--text);border-radius:6px;padding:0 6px;font-size:12px}.sound-item-row input[type=range]{width:110px}.sound-item-add select{border:1px dashed var(--line);height:32px;color:var(--muted);background:0 0;border-radius:8px;padding:0 10px;font-size:12px}.sound-history{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;flex-direction:column;gap:6px;padding:10px 12px;font-size:12px;display:flex}.sound-history-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.sound-history-row span{color:var(--muted)}.sound-design-panel input[type=range],.sound-preview input[type=range]{accent-color:var(--lime-2);height:4px}.rough-cut-history button.primary-button,html[data-theme=light] .rough-cut-history button.primary-button{background:var(--lime);color:var(--on-accent);box-shadow:0 6px 18px rgb(var(--accent-rgb) / .16);border:none}.rough-cut-history button.primary-button:disabled,html[data-theme=light] .rough-cut-history button.primary-button:disabled{background:var(--panel-3);color:var(--muted-2);box-shadow:none}.sound-design-panel{gap:16px}.sound-design-panel .panel-heading.simple h3{font-size:16px}.sound-track{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:12px 14px}.sound-track-head{margin-bottom:8px}.sound-track-head strong{align-items:center;gap:8px;font-size:14px;display:inline-flex}.track-dot{border-radius:999px;width:8px;height:8px;display:inline-block}.dot-original{background:#b6b7b8}.dot-bgm{background:var(--lime-2)}.dot-sfx{background:#8c9093}.clip-override-row{background:var(--panel-2);border-radius:8px;gap:12px;padding:7px 12px}.clip-override-row strong{flex:auto;max-width:46%;font-weight:550}.clip-override-state{background:var(--panel-3);color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;flex:none;padding:2px 9px;font-size:11px}.clip-override-state.off{color:#d98f8f}.clip-override-actions{gap:8px}.clip-override-actions button{padding:4px 10px}.sound-preview-main{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.sound-preview-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.sound-preview-controls .secondary-button{padding:6px 12px;font-size:12px}.sound-preview-time{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto;font-size:12px}.sound-preview-timeline{cursor:pointer;background:var(--panel-3);border-radius:8px;gap:2px;height:24px;padding:3px;display:flex;position:relative;overflow:hidden}.sound-preview-segment{background:var(--panel);border:1px solid var(--line);border-radius:4px}.sound-preview-segment.active{border-color:var(--lime-2)}.sound-preview-playhead{background:rgb(var(--accent-rgb) / .22);border-right:2px solid var(--lime-2);pointer-events:none;position:absolute;top:0;bottom:0;left:0}.sound-preview-marker{pointer-events:none;border-radius:2px;width:3px;position:absolute;top:2px;bottom:2px}.sound-preview-marker.bgm{background:var(--lime-2)}.sound-preview-marker.sfx{background:#8c9093}.sound-preview-note{color:var(--muted-2);font-size:11px}.sound-preview-video{aspect-ratio:9/16;object-fit:cover;border:1px solid var(--line);background:#000;border-radius:10px;flex:none;width:108px}.sound-stop-button{white-space:nowrap}.sound-item-row{gap:12px;padding:8px 12px}.sound-item-row input[type=number]{text-align:right;font-variant-numeric:tabular-nums}.sound-item-row label span{color:var(--muted-2);font-variant-numeric:tabular-nums}.sound-studio,.sound-studio-main{flex-direction:column;gap:14px;display:flex}.sound-timeline-card{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-direction:column;gap:12px;padding:14px 16px;display:flex}.sound-timeline-head{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.sound-ready-badge{border-radius:999px;padding:3px 10px;font-size:11px;font-weight:600}.sound-ready-badge.ready{background:var(--lime);color:var(--on-accent)}.sound-ready-badge.pending{background:rgb(var(--accent-rgb) / .14);color:#878b8e}.sound-timeline-stats{gap:16px;margin-left:auto;display:flex}.sound-timeline-stats span{color:var(--muted);flex-direction:column;align-items:center;gap:1px;font-size:10px;display:flex}.sound-timeline-stats b{color:var(--text);font-variant-numeric:tabular-nums;font-size:13px}.sound-preview{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;align-items:stretch;gap:14px;padding:12px;display:flex}.sound-preview-video-wrap{flex:none;width:96px;position:relative}.sound-preview-shot-badge{z-index:1;color:#fff;background:#000000a6;border-radius:6px;padding:2px 8px;font-size:10px;position:absolute;top:6px;left:6px}.sound-preview-video{aspect-ratio:9/16;object-fit:cover;background:#000;border-radius:8px;width:96px;display:block}.sound-preview-side{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.sound-preview-controls{align-items:center;gap:10px;display:flex}.sound-play-button{border:1px solid var(--line);background:var(--lime);width:40px;height:40px;color:var(--on-accent);border-radius:999px;place-items:center;font-size:14px;display:grid}.sound-play-button:disabled{opacity:.45}.sound-preview-time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.sound-preview-modes{color:var(--muted);align-items:center;gap:10px;font-size:11px;display:flex}.sound-shot-strip{scrollbar-width:thin;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.sound-shot-card{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;flex-direction:column;flex:none;gap:8px;width:172px;padding:10px 12px;display:flex}.sound-shot-card.covered{border-color:rgb(var(--accent-rgb) / .35)}.sound-shot-card-head{align-items:center;gap:7px;font-size:12px;display:flex}.sound-shot-card-head b{background:var(--panel-3);width:20px;height:20px;color:var(--text);border-radius:6px;place-items:center;font-size:11px;display:grid}.sound-shot-card-head span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.sound-shot-card-head em{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px;font-style:normal}.sound-arranged{flex-direction:column;gap:12px;display:flex}.sound-arranged-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.sound-arranged-head strong{font-size:14px}.sound-arranged-head>div:first-child{align-items:baseline;gap:10px;display:flex}.sound-arranged-head span{color:var(--muted);font-size:11px}.sound-studio-actions{align-items:center;gap:8px;display:flex}.sound-studio-actions button{border:1px solid var(--line);color:var(--muted);background:0 0;border-radius:8px;padding:6px 14px;font-size:12px}.sound-studio-actions .primary-button{border-color:var(--lime);background:var(--lime);color:var(--on-accent)}.sound-studio-actions .primary-button:hover{background:var(--lime-2);color:var(--on-accent)}.sound-group{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.sound-group-head{align-items:center;gap:10px;display:flex}.sound-group-head strong{font-size:13px}.sound-group-head>span,.sound-group-head-copy>span{color:var(--muted);font-size:11px}.sound-row{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;padding:9px 12px;display:flex}.sound-kind-badge{border-radius:6px;flex:none;padding:3px 9px;font-size:11px;font-weight:600}.sound-kind-badge.bgm{background:rgb(var(--accent-rgb) / .16);color:var(--text);font-weight:700}.sound-kind-badge.sfx{background:rgb(var(--accent-rgb) / .16);color:#8c9093}.sound-kind-badge.original{background:rgb(var(--accent-rgb) / .16);color:#b6b7b8}.sound-row-copy{flex-direction:column;flex:none;gap:2px;width:220px;min-width:0;display:flex}.sound-row-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.sound-row-copy small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11px;overflow:hidden}.sound-row-wave{flex:1;align-items:center;min-width:160px;display:flex}.asset-waveform{width:100%;height:30px;display:block}.asset-waveform .used{fill:var(--lime-2);opacity:.85}.sound-row-time{color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:11px}.sound-row-actions{flex:none;align-items:center;gap:6px;display:flex}.sound-row-actions select{border:1px solid var(--line);background:var(--panel);max-width:130px;height:30px;color:var(--text);border-radius:7px;padding:0 8px;font-size:11px}.sound-row-actions .secondary-button{padding:5px 12px;font-size:11px}.sound-row-editor{border-top:1px dashed var(--line);flex-wrap:wrap;gap:12px;width:100%;padding:8px 10px;display:flex}.sound-row-editor label{color:var(--muted);align-items:center;gap:5px;font-size:11px;display:flex}.sound-row-editor input[type=number]{border:1px solid var(--line);background:var(--panel);width:76px;height:28px;color:var(--text);text-align:right;border-radius:6px;padding:0 6px;font-size:12px}.sound-row-editor input[type=range]{width:110px}.sound-row-gain span{color:var(--text);font-variant-numeric:tabular-nums}.sound-row.sound-row-original{background:var(--panel-2)}.sound-original-actions{flex:1;gap:12px}.sound-original-actions input[type=range]{flex:1;max-width:320px}.sound-gain-readout{color:var(--text);font-variant-numeric:tabular-nums;font-size:12px}.advanced-cut-details{margin-bottom:16px}.advanced-cut-details>summary{border:1px dashed var(--line);background:var(--panel-2);color:var(--muted);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px;padding:10px 14px;font-size:12px}.advanced-cut-details>summary:hover{color:var(--text)}.advanced-cut-details[open]>summary{border-bottom-right-radius:0;border-bottom-left-radius:0}.advanced-cut-details .rough-cut-panel{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}.ai-edit-button{margin-right:8px}.sound-draft-banner{border:1px solid rgb(var(--accent-rgb) / .4);background:rgb(var(--accent-rgb) / .08);border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;padding:10px 14px;font-size:13px;display:flex}.sound-draft-banner span{color:var(--muted);font-size:12px}.mw-card-analyze{color:var(--muted-2);cursor:pointer;background:0 0;border:none;font-size:13px}.mw-card-analyze:hover{color:#85888c}.mw-card-analyzed{color:#85888c;font-size:12px}.mw-card>.mw-card-analyze,.mw-card-analyzed-badge{color:#5f6265;font-size:12px;position:absolute;top:9px;right:38px}.preview-page{flex-direction:column;gap:12px;display:flex}.soundtrack-command-bar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:0 0 12px;display:flex}.soundtrack-command-context{flex-direction:column;gap:4px;min-width:0;display:flex}.soundtrack-command-context>span{color:var(--lime-2);font-size:11px;font-weight:700}.soundtrack-command-context>strong{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;overflow:hidden}.soundtrack-command-actions{flex:none;align-items:center;gap:8px;display:flex}.soundtrack-command-actions>button{min-height:34px}.soundtrack-command-actions svg{width:14px;height:14px}.soundtrack-history-button{width:34px;min-width:34px;padding:0}.ai-edit-progress{border:1px solid color-mix(in srgb, var(--lime-2) 36%, var(--line));background:color-mix(in srgb, var(--lime-2) 5%, var(--panel));border-radius:8px;flex-direction:column;gap:10px;padding:12px 14px;display:flex}.ai-edit-progress.has-error{border-color:color-mix(in srgb, #d85d57 50%, var(--line));background:color-mix(in srgb, #d85d57 5%, var(--panel))}.ai-edit-progress-head{align-items:center;gap:10px;display:flex}.ai-edit-progress-head>div{flex:1;align-items:center;gap:7px;display:flex}.ai-edit-progress-head svg{width:15px;height:15px;color:var(--lime-2)}.ai-edit-progress-head>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.ai-edit-progress-head>button{width:24px;height:24px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;font-size:18px;display:grid}.ai-edit-progress-track{background:var(--panel-3);height:3px;overflow:hidden}.ai-edit-progress-track>span{background:var(--lime-2);height:100%;transition:width .18s;display:block}.ai-edit-progress-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.ai-edit-progress-steps>div{border-left:2px solid var(--line);align-items:center;gap:8px;min-width:0;padding:7px 8px;display:flex}.ai-edit-progress-steps b{background:var(--panel-3);width:20px;height:20px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:10px;display:grid}.ai-edit-progress-steps span{flex-direction:column;gap:1px;min-width:0;display:flex}.ai-edit-progress-steps strong,.ai-edit-progress-steps small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-edit-progress-steps strong{font-size:11px}.ai-edit-progress-steps small{color:var(--muted);font-size:10px}.ai-edit-progress-steps .status-complete,.ai-edit-progress-steps .status-running{border-color:var(--lime-2)}.ai-edit-progress-steps .status-complete b{background:var(--lime);color:var(--on-accent)}.ai-edit-progress-steps .status-error{border-color:#d85d57}.ai-edit-progress-steps .status-error b{color:#fff;background:#d85d57}.ai-edit-progress>p{color:#d85d57;margin:0;font-size:11px}.sound-studio-layout{grid-template-columns:minmax(0,1fr) clamp(340px,21vw,400px);align-items:start;gap:20px;display:grid}.sound-studio-main{gap:14px;min-width:0}.sound-studio .rough-cut-coverage-warning{border-radius:8px;margin-bottom:0}.sound-timeline-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:12px;padding:14px 16px}.sound-timeline-head{gap:12px;min-height:30px}.sound-timeline-head strong{font-size:14px}.sound-ready-badge{border-radius:5px;padding:3px 9px}.sound-timeline-transport{grid-template-columns:38px minmax(120px,1fr) auto;align-items:center;gap:12px;display:grid}.sound-timeline-play{border:1px solid color-mix(in srgb, var(--lime-2) 72%, var(--line));background:color-mix(in srgb, var(--lime-2) 10%, var(--panel));width:36px;height:36px;color:var(--lime-2);cursor:pointer;border-radius:8px;place-items:center;display:grid}.sound-timeline-play:disabled{cursor:default;opacity:.4}.sound-timeline-wave{cursor:pointer;border:1px solid var(--line);background:color-mix(in srgb, var(--panel-2) 88%, transparent);border-radius:8px;height:38px;position:relative;overflow:hidden}.sound-timeline-wave:focus-visible{outline:2px solid var(--lime-2);outline-offset:2px}.sound-timeline-wave svg{width:100%;height:100%;position:absolute;inset:0}.sound-timeline-wave rect.used{fill:color-mix(in srgb, var(--text) 58%, var(--muted));opacity:.58}.sound-timeline-wave rect.idle{fill:var(--muted-2);opacity:.2}.sound-timeline-wave-progress{border-right:1px solid var(--lime-2);background:color-mix(in srgb, var(--lime-2) 9%, transparent);pointer-events:none;position:absolute;inset:0 auto 0 0}.sound-timeline-clock{min-width:88px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right;font-size:11px}.clip-synced-strip{flex-direction:column;gap:9px;display:flex}.clip-synced-head{align-items:center;gap:10px;padding:0 2px;display:flex}.clip-synced-head strong{font-size:11px}.clip-synced-head span{color:var(--muted);font-size:10px}.sound-shot-strip{gap:4px;padding-bottom:3px}.sound-shot-card{border-radius:6px;gap:2px;width:150px;padding:8px 10px}.sound-shot-card:first-child,.sound-shot-card:last-child{border-radius:6px}.sound-shot-card+.sound-shot-card{border-left:1px solid var(--line)}.sound-shot-card.covered{border-color:color-mix(in srgb, var(--lime-2) 28%, var(--line));background:color-mix(in srgb, var(--lime-2) 4%, var(--panel-2))}.sound-shot-card.provisional{border-color:rgb(var(--accent-rgb) / .35);background:rgb(var(--accent-rgb) / .07)}.sound-arranged{gap:14px}.sound-arranged-head{border-bottom:1px solid var(--line);min-height:48px;padding:0 2px}.sound-group{--track-accent:var(--muted);border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;gap:0;padding:0 0 8px}.sound-group-original{--track-accent:#979a9d}.sound-group-bgm{--track-accent:#616467}.sound-group-sfx{--track-accent:#d47752}.sound-group-head{border-left:3px solid var(--track-accent);border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--track-accent) 6%, transparent);border-radius:6px;min-height:42px;padding:0 10px}.sound-group-head-copy{flex:1;align-items:baseline;gap:10px;min-width:0;display:flex}.sound-group-head-copy>strong{flex:none}.sound-group-head-copy>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sound-group-add-button{border:1px solid color-mix(in srgb, var(--track-accent) 58%, var(--line));background:color-mix(in srgb, var(--track-accent) 8%, transparent);min-height:32px;color:var(--track-accent);cursor:pointer;border-radius:6px;flex:none;align-items:center;gap:6px;margin-left:auto;padding:0 11px;font-size:11px;font-weight:650;transition:border-color .15s,background .15s,color .15s;display:inline-flex}.sound-group-add-button:hover:not(:disabled){border-color:var(--track-accent);background:color-mix(in srgb, var(--track-accent) 15%, transparent)}.sound-group-add-button:focus-visible{outline:2px solid var(--track-accent);outline-offset:2px}.sound-group-add-button:disabled{border-color:var(--line);color:var(--muted-2);cursor:not-allowed;opacity:.62;background:0 0}.sound-group-add-button>span{color:inherit;font-size:inherit}.sound-group-add-icon{font-weight:400;line-height:1;font-size:18px!important}.sound-row{border:0;border-bottom:1px solid color-mix(in srgb, var(--line) 82%, transparent);background:0 0;border-radius:0;grid-template-columns:48px minmax(210px,260px) minmax(180px,1fr) minmax(124px,auto) minmax(180px,auto);align-items:center;gap:12px;padding:12px 10px;display:grid}.sound-row-copy{gap:3px;width:auto}.sound-row-copy strong{font-size:13px;line-height:1.35}.sound-row-copy small{color:var(--muted);line-height:1.45}.sound-row-desc{color:var(--muted-2);-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;font-size:10.5px;line-height:1.45;display:-webkit-box;overflow:hidden}.sound-kind-badge.row-kind-bgm{color:#fff;background:#585b5e}.sound-kind-badge.row-kind-sfx{color:#fff;background:#cc6f50}.sound-row.sound-row-original{background:0 0;grid-template-columns:48px minmax(0,1fr)}.sound-row-wave{background:color-mix(in srgb, var(--panel-2) 72%, transparent);border-radius:6px;min-height:38px;padding:2px 6px}.asset-waveform-shell{width:100%;display:block;position:relative}.asset-waveform{height:34px}.asset-waveform .used{opacity:.74}.asset-waveform .unused{fill:var(--muted-2);opacity:.22}.asset-waveform.waveform-bgm .used{fill:#606366}.asset-waveform.waveform-sfx .used{fill:#d27655}.asset-playhead{background:var(--lime-2);width:1px;box-shadow:0 0 0 1px color-mix(in srgb, var(--panel) 66%, transparent);pointer-events:none;position:absolute;top:2px;bottom:2px}.sound-overview-wave{pointer-events:none;width:calc(100% - 6px);height:calc(100% - 4px);position:absolute;inset:2px 3px}.sound-overview-wave .used{fill:var(--muted);opacity:.46}.sound-overview-wave .idle{fill:var(--muted-2);opacity:.18}.sound-row-editor{grid-column:2/-1}.sound-row-time{text-align:right;white-space:nowrap;min-width:0}.sound-row-actions{justify-content:flex-end;min-width:0}.sound-row-actions select{width:112px}.sound-row-actions .secondary-button{min-height:30px}.sound-delete-button{color:color-mix(in srgb, #d85d57 78%, var(--text))}.sound-original-actions{min-width:0}.clip-override-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;display:grid}.clip-override-row{flex-wrap:wrap;min-width:0}.clip-override-actions{min-width:0;margin-left:auto}.sound-asset-picker-backdrop{z-index:140}.modal.sound-asset-picker-modal{background:color-mix(in srgb, var(--panel) 96%, transparent);border-radius:8px;grid-template-rows:auto auto auto minmax(0,1fr);width:min(720px,100vw - 32px);height:min(720px,100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;display:grid;overflow:hidden}.sound-asset-picker-modal .modal-heading{border-bottom:1px solid var(--line);align-items:center;min-width:0;margin:0;padding:18px 20px 14px}.sound-asset-picker-modal .modal-heading>div{min-width:0}.sound-asset-picker-modal .modal-heading h2{text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:19px;line-height:1.3;overflow:hidden}.sound-asset-picker-modal .modal-heading .icon-button{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex:none;place-items:center;padding:0;font-size:24px;display:grid}.sound-asset-picker-modal .modal-heading .icon-button:hover{border-color:var(--line);background:var(--panel-2);color:var(--text)}.sound-asset-picker-modal>.sound-asset-picker-search{margin:14px 20px 10px;display:block;position:relative}.sound-asset-picker-search input{border-color:var(--line);background:var(--panel-2);width:100%;height:40px;padding:0 42px 0 12px}.sound-asset-picker-search input:focus{border-color:color-mix(in srgb, var(--track-accent,var(--lime-2)) 64%, var(--line));box-shadow:0 0 0 2px color-mix(in srgb, var(--track-accent,var(--lime-2)) 13%, transparent)}.sound-asset-picker-modal.picker-bgm{--track-accent:#616467}.sound-asset-picker-modal.picker-sfx{--track-accent:#d47752}.sound-asset-picker-search>button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;padding:0;font-size:18px;display:grid;position:absolute;top:6px;right:6px}.sound-asset-picker-search>button:hover{background:var(--panel-3);color:var(--text)}.sound-asset-picker-summary{color:var(--muted);font-variant-numeric:tabular-nums;align-items:baseline;gap:4px;padding:0 20px 10px;font-size:11px;display:flex}.sound-asset-picker-summary strong{color:var(--text);font-size:12px}.sound-asset-picker-list{overscroll-behavior:contain;border-top:1px solid var(--line);scrollbar-gutter:stable;min-height:0;overflow-y:auto}.sound-asset-picker-row{--picker-accent:var(--muted);border:0;border-bottom:1px solid color-mix(in srgb, var(--line) 82%, transparent);width:100%;min-height:68px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;grid-template-columns:minmax(180px,1fr) minmax(180px,.9fr) 56px 28px;align-items:center;gap:14px;padding:10px 18px;transition:background .14s;display:grid}.sound-asset-picker-row.bgm{--picker-accent:#616467}.sound-asset-picker-row.sfx{--picker-accent:#d47752}.sound-asset-picker-row:hover{background:color-mix(in srgb, var(--picker-accent) 7%, var(--panel))}.sound-asset-picker-row:focus-visible{z-index:1;outline:2px solid var(--picker-accent);outline-offset:-2px;position:relative}.sound-asset-picker-copy{flex-direction:column;gap:6px;min-width:0;display:flex}.sound-asset-picker-copy>strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35;overflow:hidden}.sound-asset-picker-meta{min-width:0;color:var(--muted-2);white-space:nowrap;align-items:center;gap:4px;display:flex;overflow:hidden}.sound-asset-picker-meta>span{background:var(--panel-3);text-overflow:ellipsis;border-radius:4px;max-width:84px;padding:2px 6px;font-size:9px;line-height:1.3;overflow:hidden}.sound-asset-picker-meta>.sound-asset-picker-source{flex:none;max-width:none}.sound-asset-picker-source.platform{background:color-mix(in srgb, #979a9d 13%, var(--panel-3));color:#abaeb0}.sound-asset-picker-source.personal{background:color-mix(in srgb, var(--lime-2) 12%, var(--panel-3));color:var(--lime-2)}.sound-asset-picker-wave{background:color-mix(in srgb, var(--panel-2) 78%, transparent);pointer-events:none;border-radius:6px;min-width:0;padding:4px 7px}.sound-asset-picker-wave .asset-waveform{height:28px}.sound-asset-picker-wave .asset-waveform .used{opacity:.62}.sound-asset-picker-duration{color:var(--muted);font-variant-numeric:tabular-nums;text-align:right;font-size:11px}.sound-asset-picker-add{border:1px solid color-mix(in srgb, var(--picker-accent) 48%, var(--line));width:28px;height:28px;color:var(--picker-accent);border-radius:50%;place-items:center;font-size:18px;font-weight:400;line-height:1;transition:background .14s,color .14s;display:grid}.sound-asset-picker-row:hover .sound-asset-picker-add{background:var(--picker-accent);color:#fff}.sound-asset-picker-empty{min-height:180px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:24px;display:flex}.sound-asset-picker-empty strong{color:var(--text);font-size:13px}.sound-asset-picker-empty span{max-width:360px;font-size:11px;line-height:1.5}.sound-float-preview{border:1px solid var(--line);background:var(--panel);border-radius:8px;flex-direction:column;gap:12px;width:100%;max-height:calc(100vh - 92px);padding:12px;display:flex;position:sticky;top:12px;overflow:auto;box-shadow:0 10px 28px #0000001a}.sound-float-preview-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding-bottom:8px;display:flex}.sound-float-preview-head>div{flex-direction:column;gap:2px;min-width:0;display:flex}.sound-float-preview-head strong{font-size:12px}.sound-float-preview-head span{color:var(--muted);font-size:10px}.sound-float-preview-head>b{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px}.sound-float-preview .sound-preview{background:0 0;border:0;border-radius:0;flex-direction:column;gap:10px;padding:0}.sound-float-preview .sound-preview-video-wrap,.sound-float-preview .sound-preview-video{width:100%}.sound-float-preview .sound-preview-video{object-fit:contain;max-height:min(68vh,600px)}.sound-float-preview .sound-preview-video.portrait{aspect-ratio:9/16}.sound-float-preview .sound-preview-video.landscape{aspect-ratio:16/9}.sound-float-preview .sound-preview-video.square{aspect-ratio:1}.sound-float-preview .sound-preview-side{gap:10px}.sound-float-preview .sound-preview-timeline{height:8px;padding:0}.sound-float-preview .sound-overview-wave,.sound-float-preview .sound-preview-marker,.sound-float-preview .sound-preview-note{display:none}.sound-float-preview .sound-play-button{width:32px;height:32px}.sound-float-preview .sound-preview-time{margin-left:0}.render-history-details{scroll-margin-top:12px}.render-history-details>summary{border:1px solid var(--line);background:var(--panel-2);min-height:40px;color:var(--text);cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;padding:0 12px;font-size:12px;display:flex}.render-history-details>summary small{color:var(--muted)}.render-history-details[open]>summary{border-radius:8px 8px 0 0}.render-history-details .episode-render-panel{border-radius:0 0 8px 8px;margin-top:-1px}@media (width<=1600px){.sound-row{grid-template-columns:48px minmax(170px,220px) minmax(120px,1fr) minmax(124px,auto) minmax(168px,auto);gap:8px}.sound-row-actions{gap:4px}.sound-row-actions select{width:88px}.sound-row-actions .secondary-button{padding-inline:9px}}@media (width<=1360px){.sound-studio-layout{flex-direction:column;display:flex}.sound-studio-main{width:100%}.sound-float-preview{order:-1;align-self:center;width:min(100%,360px);max-height:none;position:static}.sound-float-preview .sound-preview-video-wrap{justify-content:center;display:flex}.sound-float-preview .sound-preview-video{max-height:440px}.sound-float-preview .sound-preview-video.portrait{width:min(100%,248px)}}@media (width<=900px){.production-workspace>.soundtrack-module-toolbar{flex-direction:column;align-items:stretch;gap:8px}.soundtrack-model-picker{justify-content:space-between;min-width:0;padding-bottom:10px}.soundtrack-model-picker select{flex:1;width:auto;min-width:0;max-width:320px}.soundtrack-command-bar{flex-direction:column;align-items:flex-start}.soundtrack-command-actions{flex-wrap:wrap;width:100%}.ai-edit-progress-steps{grid-template-columns:1fr}.sound-row{grid-template-columns:46px minmax(0,1fr) auto}.sound-kind-badge{grid-area:1/1}.sound-row-copy{grid-area:1/2}.sound-row-time{grid-area:1/3}.sound-row-wave{grid-area:2/2/auto/-1;width:100%}.sound-row-actions{grid-area:3/2/auto/-1;justify-self:end}.sound-row-editor{grid-area:4/1/auto/-1}.sound-row.sound-row-original{grid-template-columns:46px minmax(0,1fr)}.sound-row-original .sound-original-actions{grid-area:1/2;justify-self:stretch}.clip-override-list{grid-template-columns:minmax(0,1fr)}}@media (width<=560px){.soundtrack-model-picker{flex-direction:column;align-items:stretch}.soundtrack-model-picker select{flex:none;width:100%;max-width:none}.soundtrack-command-actions .primary-button,.soundtrack-command-actions .outline-button{flex:150px}.sound-timeline-stats{justify-content:space-between;width:100%;margin-left:0}.sound-timeline-transport{grid-template-columns:34px minmax(0,1fr)}.sound-timeline-clock{text-align:left;grid-column:2}.sound-arranged-head{flex-direction:column;align-items:flex-start;padding:8px 0}.sound-arranged-head>div:first-child{flex-direction:column;align-items:flex-start;gap:2px}.sound-studio-actions{flex-wrap:wrap;width:100%}.sound-row{grid-template-columns:42px minmax(0,1fr)}.sound-row-wave{grid-area:2/1/auto/-1}.sound-row-time{text-align:left;grid-area:3/2;display:block}.sound-row-actions{flex-wrap:wrap;grid-area:4/1/auto/-1;justify-content:flex-start;justify-self:stretch;width:100%}.sound-row-editor{grid-area:5/1/auto/-1}.sound-row.sound-row-original{grid-template-columns:42px minmax(0,1fr)}.sound-row-original .sound-original-actions{grid-area:2/1/auto/-1}.sound-original-actions{flex-wrap:wrap}.sound-original-actions input[type=range]{flex:140px;min-width:100px;max-width:none}.sound-group-head{gap:8px;min-height:0;padding-block:8px}.sound-group-original .sound-group-head{flex-direction:column;align-items:flex-start;gap:3px}.sound-group-head-copy{flex-direction:column;align-items:flex-start;gap:2px}.sound-group-add-button{min-height:38px;padding-inline:10px}.sound-timeline-card{padding:12px}.clip-override-row{flex-direction:column;align-items:flex-start}.clip-override-row strong{max-width:100%}.clip-override-actions{flex-wrap:wrap;width:100%;margin-left:0}.sound-asset-picker-backdrop{align-items:end;padding:8px}.modal.sound-asset-picker-modal{border-radius:8px;width:100%;height:min(680px,100dvh - 16px);max-height:calc(100dvh - 16px)}.sound-asset-picker-modal .modal-heading{padding:14px 14px 11px}.sound-asset-picker-modal .modal-heading h2{font-size:17px}.sound-asset-picker-modal>.sound-asset-picker-search{margin:10px 12px 8px}.sound-asset-picker-summary{padding:0 12px 8px}.sound-asset-picker-row{grid-template-columns:minmax(0,1fr) auto 28px;gap:9px;min-height:84px;padding:10px 12px}.sound-asset-picker-copy{grid-area:1/1}.sound-asset-picker-duration{grid-area:1/2}.sound-asset-picker-add{grid-area:1/3}.sound-asset-picker-wave{grid-area:2/1/auto/-1}}.epx-modal{width:min(100%,720px);max-height:calc(100vh - 40px);overflow-y:auto}.epx-formats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.epx-format{border:1px solid var(--line);background:var(--panel-2);color:var(--text);text-align:left;cursor:pointer;border-radius:12px;flex-direction:column;gap:6px;padding:12px;transition:border-color .15s,background .15s;display:flex}.epx-format:hover:not(:disabled){border-color:var(--line-strong)}.epx-format.active{border-color:var(--lime);background:var(--lime-soft)}.epx-format strong{font-size:13.5px}.epx-format>span{color:var(--lime);font-size:11.5px;font-weight:650}.epx-format small{color:var(--muted);font-size:11.5px;line-height:1.55}.epx-structure{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;margin-top:14px;padding:12px 14px}.epx-structure-title{color:var(--muted-2);letter-spacing:.08em;margin:0 0 8px;font-size:11px;font-weight:700}.epx-structure pre{color:var(--text);white-space:pre;margin:0;font-size:12px;line-height:1.7;overflow-x:auto}.epx-structure small{color:var(--muted-2);margin-top:8px;font-size:11.5px;display:block}.epx-warnings{border:1px solid rgb(var(--accent-rgb) / .5);background:rgb(var(--accent-rgb) / .1);color:var(--text);border-radius:10px;flex-direction:column;gap:6px;margin:12px 0 0;padding:10px 14px 10px 28px;font-size:12.5px;line-height:1.6;display:flex}.epx-progress{flex-direction:column;gap:6px;margin-top:14px;display:flex}.epx-progress-track{background:var(--panel-3);border-radius:999px;height:6px;overflow:hidden}.epx-progress-track span{background:var(--lime);border-radius:999px;height:100%;transition:width .2s;display:block}.epx-progress small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.epx-done{border:1px solid color-mix(in srgb, var(--lime) 35%, var(--line));background:var(--lime-soft);border-radius:10px;margin:12px 0 0;padding:10px 14px;font-size:12.5px}.epx-error{background:#dc50501a;border:1px solid #dc505073;border-radius:10px;margin:12px 0 0;padding:10px 14px;font-size:12.5px;line-height:1.6}.epx-footnote{color:var(--muted-2);text-align:right;margin:10px 0 0;font-size:11.5px}@media (width<=760px){.epx-formats{grid-template-columns:minmax(0,1fr)}}html[data-theme=light] body{background:var(--bg);font-size:14px}html[data-theme=light] :is(.topbar,.mobile-nav,.episode-rail){background:var(--panel);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}html[data-theme=light] :is(.mobile-nav button,.workspace-top-nav button){color:var(--muted);font-weight:550}html[data-theme=light] .mobile-nav button.is-active{background:var(--lime-soft);color:var(--lime-2)}html[data-theme=light] .workspace-top-nav button.is-active{color:var(--lime)}html[data-theme=light] .workspace-top-nav button.is-active:after{height:2px}html[data-theme=light] :is(.user-avatar-button,.account-drawer-avatar){border-color:var(--line);background:var(--panel-3);color:var(--text)}html[data-theme=light] .projects-search{border-color:var(--line);background:var(--panel-2);box-shadow:none;border-radius:8px}html[data-theme=light] .notification-popover{border-color:var(--line);background:var(--panel);box-shadow:var(--floating-shadow)}html[data-theme=light] :where(.panel),html[data-theme=light] :is(.project-card-large,.episode-video-card,.asset-card){border-color:var(--line);background:var(--panel);box-shadow:none;border-radius:12px}html[data-theme=light] :is(.project-card-large.current,.episode-video-card.current){border-color:color-mix(in srgb, var(--lime) 48%, var(--line));box-shadow:none}html[data-theme=light] :is(.primary-button,.outline-button){border-radius:8px;gap:8px;min-height:40px;font-size:14px;font-weight:600;transition:background-color .14s ease-out,border-color .14s ease-out,color .14s ease-out}html[data-theme=light] :is(.outline-button,.icon-button){border-color:var(--line-strong);background:var(--panel);color:var(--text);box-shadow:none}html[data-theme=light] :is(.outline-button,.icon-button):hover:not(:disabled){border-color:var(--line-strong);background:var(--panel-3);color:var(--text)}html[data-theme=light] :is(.primary-button,.episode-editor-primary,.sidebar-create-button):disabled,html[data-theme=light] :is(.outline-button,.episode-editor-batch,.asset-prompt-save):disabled{border-color:var(--line);background:var(--panel-3);color:var(--muted);box-shadow:none;opacity:1}html[data-theme=light] :is(button,input,textarea,select):focus-visible{outline:2px solid var(--lime);outline-offset:3px}html[data-theme=light] :is(.modal input,.modal textarea,.modal select,.editor-toolbar,.editor-footer){border-color:var(--line-strong);background:var(--panel-2);color:var(--text)}html[data-theme=light] :is(.modal label>span,.modal label small,.field-grid label>span,.editor-meta,.editor-footer){color:var(--muted)}html[data-theme=light] .modal{background:var(--panel);box-shadow:var(--floating-shadow)}html[data-theme=light] .modal:not(.account-modal):not(.sound-asset-picker-modal):not(.asset-review-modal){max-height:calc(100dvh - 40px);overflow-y:auto}html[data-theme=light] .modal-backdrop{background:rgb(var(--accent-rgb) / .3);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}html[data-theme=light] .modal-security{background:var(--panel-2);color:var(--muted)}html[data-theme=light] .modal-security strong{color:var(--text)}html[data-theme=light] .new-project-file-field .new-project-file-drop{border-color:var(--line-strong);background:var(--panel-2);color:var(--text);justify-content:center;padding:16px;display:grid}html[data-theme=light] .new-project-file-drop small{max-width:38ch;color:var(--muted);text-align:center;font-size:12px;line-height:1.6}html[data-theme=light] .eyebrow{color:var(--muted);letter-spacing:.12em}html[data-theme=light] .page-header h1{letter-spacing:-.025em}html[data-theme=light] .page-header p{color:var(--muted);line-height:1.6}html[data-theme=light] .project-card-body{padding:16px 18px}html[data-theme=light] .project-card-body h2{margin-block:8px 4px;font-size:18px;font-weight:650}html[data-theme=light] .project-card-body>p{font-size:12.5px;line-height:1.6}html[data-theme=light] .project-card-body>footer button{white-space:nowrap;min-height:40px}html[data-theme=light] .project-card-stage-bar i.partial:after{background:color-mix(in srgb, var(--lime) 48%, var(--panel))}html[data-theme=light] .project-cover-placeholder{background:var(--panel-3)}html[data-theme=light] .project-cover-placeholder b{color:var(--muted);letter-spacing:-.03em}html[data-theme=light] .project-card-current-badge{background:var(--lime);color:var(--on-accent);box-shadow:none}html[data-theme=light] .project-card-mode{background:var(--text)}html[data-theme=light] .asset-copy p{color:var(--muted)}html[data-theme=light] .asset-status-overlay{border-color:var(--line);background:var(--panel);color:var(--muted);-webkit-backdrop-filter:none;backdrop-filter:none}html[data-theme=light] .asset-status-overlay.status-已确认{background:var(--lime-soft);color:var(--lime-2)}html[data-theme=light] .asset-status-overlay.status-待确认{color:var(--amber);background:#f1f1f1}html[data-theme=light] .asset-status-overlay.status-需修改{color:var(--red);background:#fceded}html[data-theme=light] :is(.asset-library-actions>button,.asset-library-more>summary){border-radius:8px;font-weight:600}html[data-theme=light] .asset-generate-button{color:var(--on-accent)!important}html[data-theme=light] .asset-generate-button:disabled{opacity:1;background:var(--panel-3)!important;color:var(--muted)!important}html[data-theme=light] .asset-storyboard-button{border-color:var(--line-strong)!important;background:var(--panel)!important;color:var(--text)!important}html[data-theme=light] .asset-storyboard-button:hover:not(:disabled){background:var(--panel-3)!important}html[data-theme=light] .rough-cut-history button.primary-button{background:var(--lime);color:var(--on-accent)}html[data-theme=light] .rough-cut-history button.primary-button:disabled{background:var(--panel-3);color:var(--muted);opacity:1}html[data-theme=light] .project-avatar{background:var(--lime-soft);color:var(--lime-2)}html[data-theme=light] .user-avatar-button .avatar-task-badge,html[data-theme=light] :is(.bell-badge.active-count,.sound-play-button,.ai-edit-progress-steps .status-complete b){color:var(--on-accent)}html[data-theme=light] :is(.episode-inline-editor>div .primary-button,.sound-studio-actions .primary-button){background:var(--lime);color:var(--on-accent)}html[data-theme=light] .sound-studio-actions .primary-button:hover:not(:disabled){background:var(--lime-2);color:var(--on-accent)}html[data-theme=light] :is(.episode-inline-editor>div .primary-button,.sound-studio-actions .primary-button):disabled{background:var(--panel-3);color:var(--muted);opacity:1}html[data-theme=light] :is(.episode-rail-list>.episode-rail-item>button.is-active>span,.episode-rail-project.is-active>span,.episode-rail-outline.is-active>span){background:var(--lime);color:var(--on-accent)}html[data-theme=light] .episode-rail-list>.episode-rail-item>button.is-active>i{box-shadow:none}html[data-theme=light] :is(.episode-rail-list small,.episode-rail-project small,.episode-rail-outline small){font-size:12px}html[data-theme=light] :is(.shot-list-episode,.shot-list-page .shot-list-row,.shot-list-page .shot-row-header){background:var(--panel)}html[data-theme=light] .shot-list-page .shot-row-prompt pre{border-color:var(--line);background:var(--panel-2);color:var(--text);font-size:13px;line-height:1.8}html[data-theme=light] .production-workspace .script-editor-panel>textarea{font-size:17px;line-height:1.9}html[data-theme] .script-editor-panel{container:script-editor/inline-size}html[data-theme] .script-editor-panel .editor-toolbar{grid-template-columns:auto minmax(0,1fr) auto;gap:10px 12px;height:auto;min-height:58px;padding:12px 16px;display:grid}html[data-theme] .script-editor-panel :is(.version-badge,.editor-toolbar>button){white-space:nowrap;flex-shrink:0}html[data-theme] .script-editor-panel .version-badge{min-width:max-content}html[data-theme] .script-editor-panel .editor-meta{flex-wrap:wrap;grid-column:2/-1;gap:6px 12px;min-width:0}html[data-theme] .script-editor-panel .editor-meta span{min-width:0;max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}html[data-theme] .script-editor-panel .editor-meta span:after{content:none}html[data-theme] .script-editor-panel .editor-toolbar>button{grid-area:2/3;place-self:end;min-height:36px}@container script-editor (width<=560px){html[data-theme] .script-editor-panel .editor-toolbar{grid-template-columns:auto minmax(0,1fr)}html[data-theme] .script-editor-panel .editor-meta{grid-area:1/2}html[data-theme] .script-editor-panel .editor-toolbar>button{grid-area:3/1/auto/-1}}html[data-theme=light] .version-timeline button.current:disabled{opacity:1;cursor:default}html[data-theme=light] :is(.episode-editor-toolbar,.episode-editor-assets,.episode-editor-timeline){border-color:var(--line);background:var(--panel);box-shadow:none}html[data-theme=light] .episode-editor{--editor-toolbar:125px;--editor-timeline:124px;--editor-control-size:14px;--editor-caption-size:13px;--editor-reading-size:16px;font-size:var(--editor-control-size);line-height:1.5}html[data-theme=light] .episode-editor-toolbar{grid-template-rows:44px 48px;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding:12px 20px}html[data-theme=light] .episode-editor-identity{grid-area:1/1}html[data-theme=light] .episode-editor-identity strong{font-size:16px;font-weight:600;line-height:1.25}html[data-theme=light] .episode-editor-identity small{font-size:var(--editor-caption-size);line-height:1.4}html[data-theme=light] .episode-editor-actions{grid-area:1/2;gap:8px}html[data-theme=light] .episode-editor-actions .byok-badge{color:var(--muted);font-size:var(--editor-caption-size);background:0 0;padding:0 8px;font-weight:400}html[data-theme=light] .episode-editor-settings{scrollbar-width:thin;grid-area:2/1/auto/-1;gap:10px}html[data-theme=light] .episode-editor-settings::-webkit-scrollbar{height:4px;display:block}html[data-theme=light] .episode-editor-settings label{background:var(--panel-2);border-color:#0000;border-radius:6px;flex:none;min-height:44px;padding:4px 8px}html[data-theme=light] .episode-editor-settings label>span{font-size:var(--editor-caption-size)}html[data-theme=light] .episode-editor-settings select{min-width:56px;height:32px;font-size:var(--editor-control-size);font-weight:500}html[data-theme=light] .episode-editor-settings>label:nth-child(2) select,html[data-theme=light] .episode-editor-settings>label:nth-child(4) select{width:64px}html[data-theme=light] .episode-editor-settings>label:nth-child(3) select{width:56px}html[data-theme=light] .episode-editor-settings>label:first-child{width:240px}html[data-theme=light] .episode-editor-settings>label:first-child select{width:100%;min-width:0;max-width:none}html[data-theme=light] .episode-editor-settings .template-setting{flex:0 156px}html[data-theme=light] .episode-editor-primary{background:var(--lime);height:44px;color:var(--on-accent);font-size:var(--editor-control-size);box-shadow:none;border-radius:8px;font-weight:600}html[data-theme=light] .episode-editor-primary:hover:not(:disabled){background:var(--lime-2)}html[data-theme=light] .episode-editor-primary:disabled{background:var(--panel-3);color:var(--muted)}html[data-theme=light] .episode-editor-more{border-color:var(--line);background:var(--panel);height:44px;color:var(--text);border-radius:8px;font-weight:500}html[data-theme=light] .episode-editor-batch{min-height:44px;color:var(--text);background:0 0;border-color:#0000;font-weight:500}html[data-theme=light] .episode-editor-batch:disabled{color:var(--muted);opacity:.55;background:0 0;border-color:#0000}html[data-theme=light] :is(.episode-editor-more,.episode-editor-batch):hover:not(:disabled){background:var(--panel-3);color:var(--text)}html[data-theme=light] .episode-editor-assets{grid-template-rows:auto auto;grid-template-columns:minmax(240px,auto) auto minmax(0,1fr);gap:8px 16px;padding:10px 20px}html[data-theme=light] .episode-editor-assets .pane-heading{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;grid-area:1/1;gap:12px;min-height:28px;padding:0}html[data-theme=light] .episode-editor-assets .pane-heading>div{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}html[data-theme=light] .episode-editor-assets .pane-heading strong{font-size:var(--editor-control-size);font-weight:600}html[data-theme=light] .episode-editor-assets .pane-heading small{font-size:var(--editor-caption-size)}html[data-theme=light] .episode-editor-assets .pane-heading>button{border-color:#0000;flex:none;width:28px;height:28px;font-size:16px}html[data-theme=light] .episode-editor-assets .asset-scope-tabs{grid-area:1/2;padding:0}html[data-theme=light] .episode-editor-assets .asset-kind-tabs{border-left:1px solid var(--line);grid-area:1/3;gap:4px;padding:0 0 0 16px}html[data-theme=light] .episode-editor-assets :is(.asset-scope-tabs,.asset-kind-tabs) button{min-height:32px;font-size:var(--editor-caption-size);background:0 0;padding-inline:10px}html[data-theme=light] .episode-editor-assets :is(.asset-scope-tabs,.asset-kind-tabs) button.active{background:var(--lime-soft);color:var(--lime-2)}html[data-theme=light] .episode-editor-assets .episode-asset-list{grid-area:2/1/auto/-1;gap:8px;max-height:none;padding:0 0 4px}html[data-theme=light] .episode-editor-assets .episode-asset-card{flex-basis:264px}html[data-theme=light] .episode-editor-assets .episode-asset-insert{background:var(--panel);border-radius:8px;grid-template-columns:64px minmax(0,1fr);min-height:80px}html[data-theme=light] .episode-editor-assets :is(.episode-asset-insert>img,.asset-no-image){width:64px;height:80px}html[data-theme=light] .episode-editor-assets .asset-no-image{background:var(--panel-2);gap:4px;font-size:12px}html[data-theme=light] .episode-editor-assets .episode-asset-insert .asset-no-image small{white-space:normal;font-size:12px}html[data-theme=light] .episode-editor-assets .episode-asset-insert>span:last-child{gap:4px;padding:8px 12px}html[data-theme=light] .episode-editor-assets .episode-asset-insert strong{white-space:normal;padding-right:32px;font-size:15px;font-weight:600;line-height:1.4}html[data-theme=light] .episode-editor-assets .episode-asset-insert small{font-size:var(--editor-caption-size);white-space:normal;text-wrap:balance;line-height:1.45}html[data-theme=light] .episode-editor-assets .episode-asset-menu{top:4px;right:4px}html[data-theme=light] .episode-editor-assets .episode-asset-menu>summary{width:32px;height:32px;color:var(--muted);-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-color:#0000;border-radius:4px}html[data-theme=light] .episode-editor-assets .episode-asset-menu>summary:hover{background:var(--panel-3);color:var(--text)}html[data-theme=light] .episode-editor-assets .episode-asset-menu>div{margin-top:4px;position:fixed;top:auto;right:auto;transform:translate(calc(32px - 100%))}html[data-theme=light] .episode-editor-assets .episode-asset-menu button{min-height:40px;font-size:var(--editor-caption-size)}html[data-theme=light] .episode-editor-assets .episode-asset-card:has(.episode-asset-menu[open]) .episode-asset-hover{display:none}html[data-theme=light] .asset-shelf-toggle{background:var(--panel-2);min-height:44px;color:var(--lime-2);font-size:13px}html[data-theme=light] :is(.asset-scope-tabs button.active,.asset-kind-tabs button.active,.preview-tabs button.active,.video-omit-frame-toggle button[aria-pressed=true]),html[data-theme=light] .preview-tabs .frame-generate-inline{background:var(--lime-soft);color:var(--lime-2)}html[data-theme=light] .episode-asset-insert{background:var(--panel);border-radius:8px}html[data-theme=light] .asset-no-image{background:var(--panel-3);color:var(--muted)}html[data-theme=light] :is(.episode-asset-insert small,.pane-heading small){font-size:12px}html[data-theme=light] .episode-editor-body{position:relative}html[data-theme=light] .episode-editor:not(.right-collapsed) .episode-editor-body{grid-template-columns:minmax(0,1fr) 352px}html[data-theme=light] .episode-editor.right-collapsed .episode-editor-body{grid-template-columns:minmax(0,1fr) 0}html[data-theme=light] .episode-editor .collapsed-pane-button.right{top:16px}html[data-theme=light] .episode-editor-prompt{background:var(--panel);gap:0;padding:20px 24px 12px;overflow-y:auto}html[data-theme=light] .episode-editor-prompt .prompt-workspace-heading{flex:none;gap:16px;margin-bottom:20px}html[data-theme=light] .prompt-workspace-heading span{background:var(--lime-soft);color:var(--lime-2)}html[data-theme=light] .prompt-workspace-heading strong{font-size:18px;font-weight:600}html[data-theme=light] .episode-editor-prompt .prompt-workspace-heading span{font-size:12px;font-weight:600}html[data-theme=light] .episode-editor-prompt .prompt-workspace-heading small{font-size:var(--editor-caption-size)}html[data-theme=light] .episode-editor-prompt .asset-prompt-editor{background:var(--panel);min-height:180px;box-shadow:none;border:0;border-radius:0;gap:0;padding:0}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading{flex:none;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:0 0 16px;display:grid}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading>span{gap:6px;min-width:0}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading>span small{font-size:var(--editor-caption-size);line-height:1.6}html[data-theme=light] .asset-prompt-editor.field-video_prompt .asset-prompt-heading strong{color:var(--text)}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading>span strong{font-size:16px;font-weight:600}html[data-theme=light] .asset-prompt-heading-actions>button{border-color:var(--line-strong);background:var(--panel);color:var(--text);font-weight:550}html[data-theme=light] .asset-prompt-heading-actions>.asset-mention-trigger{border-color:var(--line-strong);background:var(--panel);color:var(--lime-2)}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading-actions>button{min-height:40px;color:var(--text);font-size:var(--editor-control-size);background:0 0;border-color:#0000;font-weight:500}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading-actions>.asset-mention-trigger{border-color:var(--line);background:var(--panel);color:var(--lime-2)}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading-actions>.asset-prompt-save:disabled{color:var(--muted);background:0 0;border-color:#0000}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading-actions>.asset-prompt-save:not(:disabled){border-color:var(--lime);background:var(--lime);color:var(--on-accent)}html[data-theme=light] .episode-editor-prompt .asset-prompt-surface{background:var(--panel);border:0;border-radius:0}html[data-theme=light] .episode-editor-prompt .asset-prompt-prosemirror{max-width:none;color:var(--text);font-size:var(--editor-reading-size);padding:16px 0;line-height:1.8}html[data-theme=light] .episode-editor-prompt .asset-prompt-editor:focus-within{outline:2px solid var(--lime);outline-offset:4px}html[data-theme=light] .episode-editor-prompt .asset-prompt-footer{border-top:1px solid var(--line);font-size:var(--editor-caption-size);padding:12px 0 4px}html[data-theme=light] .episode-editor-prompt .generation-send-summary{background:var(--panel);border:0;border-radius:0;flex:none}html[data-theme=light] .episode-editor-prompt .generation-send-summary>summary{min-height:44px;padding:8px 0}html[data-theme=light] .episode-editor-prompt .generation-send-summary>summary :is(span,strong,em){font-size:var(--editor-caption-size)}html[data-theme=light] .generation-send-summary>summary em{color:var(--lime-2);font-size:13px}html[data-theme=light] .generation-send-summary>summary strong{font-weight:550}html[data-theme=light] .episode-editor-prompt .generation-send-summary>summary strong:not(.send-summary-over-limit){color:var(--muted);font-weight:400}html[data-theme=light] .episode-editor-prompt .generation-send-summary>summary .send-summary-over-limit{color:var(--red)}html[data-theme=light] .episode-editor-prompt .generation-send-details p{font-size:var(--editor-caption-size);line-height:1.6}html[data-theme=light] .episode-editor summary:focus-visible{outline:2px solid var(--lime);outline-offset:3px}html[data-theme=light] .episode-editor .episode-editor-preview{background:var(--panel-2)}html[data-theme=light] .episode-editor-preview .pane-heading{background:var(--panel-2);-webkit-backdrop-filter:none;backdrop-filter:none;min-height:58px;padding:12px 16px}html[data-theme=light] .episode-editor-preview .pane-heading strong{font-size:16px;font-weight:600}html[data-theme=light] .episode-editor-preview .pane-heading small{font-size:var(--editor-caption-size)}html[data-theme=light] .episode-editor-preview .preview-tabs{padding:8px 16px}html[data-theme=light] .episode-editor-preview .preview-tabs button{min-height:40px;font-size:var(--editor-control-size)}html[data-theme=light] .episode-main-preview{color:#e7e8e8;background:#1c1c1d;border-radius:8px}html[data-theme=light] .episode-editor .episode-main-preview{width:calc(100% - 32px);min-height:0;margin:12px auto}html[data-theme=light] .episode-editor .episode-main-preview.aspect-9-16{aspect-ratio:9/16;width:min(100% - 32px,260px);max-height:none}html[data-theme=light] .episode-editor .episode-main-preview.aspect-9-16:has(>div){max-width:180px}html[data-theme=light] .episode-main-preview>div small{color:#bbbcbd;opacity:1;text-wrap:balance;font-size:13px;line-height:1.6}html[data-theme=light] .episode-editor .episode-candidate-strip:empty{padding:0}html[data-theme=light] .episode-editor :is(.episode-task-progress small,.task-diagnostic-alert span,.task-failed-alert span,.task-failed-alert small){font-size:var(--editor-caption-size);line-height:1.5}html[data-theme=light] .timeline-cards article{background:var(--panel-2);border-radius:8px}html[data-theme=light] .timeline-cards article.active{border-color:var(--lime);background:var(--panel);box-shadow:none}html[data-theme=light] :is(.timeline-placeholder,.timeline-cards b){background:var(--panel-3);color:var(--muted)}html[data-theme=light] .timeline-cards article.active b{background:var(--lime);color:var(--on-accent)}html[data-theme=light] .episode-editor .timeline-cards article{flex-basis:204px}html[data-theme=light] .episode-editor .timeline-cards b{font-size:12px;font-weight:600}html[data-theme=light] .timeline-cards strong{font-size:14px;font-weight:600}html[data-theme=light] .timeline-cards small{font-size:13px}html[data-theme=light] .episode-editor .timeline-heading small{font-size:var(--editor-caption-size)}html[data-theme=light] .episode-advanced-drawer{width:min(700px,100vw);height:100dvh;padding:24px 28px 32px}html[data-theme=light] .episode-advanced-drawer>header{z-index:3;border-bottom:1px solid var(--line);background:var(--panel);align-items:center;margin-bottom:24px;padding:12px 0 16px;position:sticky;top:0}html[data-theme=light] .episode-advanced-drawer>header>div{gap:6px;min-width:0}html[data-theme=light] .episode-advanced-drawer>header strong{font-size:24px;font-weight:600;line-height:1.3}html[data-theme=light] .episode-advanced-drawer>header small{font-size:var(--editor-caption-size);line-height:1.6}html[data-theme=light] .episode-advanced-drawer>header button{background:var(--panel-2);border-radius:8px;flex:none;width:44px;height:44px}html[data-theme=light] .episode-advanced-drawer .advanced-tool-grid{border:1px solid var(--line);border-radius:10px;gap:0;overflow:hidden}html[data-theme=light] .episode-advanced-drawer .advanced-tool-grid button{background:var(--panel);border:0;border-radius:0;gap:6px;min-height:80px;padding:14px 16px}html[data-theme=light] .episode-advanced-drawer .advanced-tool-grid button:nth-child(odd){border-right:1px solid var(--line)}html[data-theme=light] .episode-advanced-drawer .advanced-tool-grid button:nth-child(-n+2){border-bottom:1px solid var(--line)}html[data-theme=light] .episode-advanced-drawer .advanced-tool-grid button:hover{background:var(--panel-2)}html[data-theme=light] .episode-advanced-drawer .advanced-tool-grid button:focus-visible{outline-offset:-3px}html[data-theme=light] .episode-advanced-drawer .advanced-tool-grid strong{font-size:15px;font-weight:600}html[data-theme=light] .episode-advanced-drawer .advanced-tool-grid small{font-size:var(--editor-caption-size);line-height:1.5}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-fields{background:0 0;border:0;border-radius:0;gap:16px;margin:32px 0 0;padding:0}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-heading>span{gap:6px;min-width:0}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-heading strong{font-size:16px;font-weight:600}html[data-theme=light] .episode-advanced-drawer :is(.advanced-legacy-heading small,.advanced-legacy-disabled){font-size:var(--editor-caption-size);line-height:1.6}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-heading b{background:var(--panel-2);flex:none;font-size:12px;font-weight:500}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-fields label{min-width:0;color:var(--text);font-size:var(--editor-caption-size);gap:8px;font-weight:500}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-fields :is(input,textarea){border-color:var(--line-strong);background:var(--panel-2);min-width:0;font-size:15px;font-weight:400}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-fields input{height:44px;padding-inline:12px}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-fields textarea{min-height:112px;padding:12px;line-height:1.75}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-grid{grid-template-columns:minmax(0,1fr) 160px;gap:16px}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-actions{border-top:1px solid var(--line);padding-top:16px}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-actions button{min-height:44px;font-size:var(--editor-control-size);font-weight:600}html[data-theme=light] .episode-advanced-drawer .shot-reference-panel{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;gap:16px;margin-top:28px;padding:24px 0 0}html[data-theme=light] .episode-advanced-drawer .shot-reference-panel:is(:focus-visible,.is-dragging){outline:2px solid var(--lime);outline-offset:4px;box-shadow:none}html[data-theme=light] .episode-advanced-drawer .shot-reference-panel>header strong{font-size:16px;font-weight:600}html[data-theme=light] .episode-advanced-drawer :is(.shot-reference-panel>header small,.shot-reference-meter,.shot-reference-meter small,.shot-reference-grid small,.shot-reference-empty){font-size:var(--editor-caption-size);line-height:1.6}html[data-theme=light] .episode-advanced-drawer .shot-reference-panel button{min-height:44px;font-size:var(--editor-control-size)}html[data-theme=light] .episode-advanced-drawer .shot-reference-grid article footer{flex-wrap:wrap;gap:8px}html[data-theme=light] .episode-advanced-drawer .shot-reference-grid article footer button{flex:100%}html[data-theme=light] .episode-advanced-drawer .shot-reference-uploading>span{min-width:0}@media (width<=1280px){html[data-theme=light] .episode-editor-settings{gap:6px}html[data-theme=light] .episode-editor-settings>label:first-child{width:188px}html[data-theme=light] .episode-editor-settings .template-setting{flex:0 0 124px}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading{grid-template-columns:minmax(0,1fr)}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading-actions{justify-self:start;max-width:100%}}@media (width>=821px){html[data-theme=light] .production-layout:has(.episode-editor){grid-template-columns:200px minmax(0,1fr)}html[data-theme=light] .episode-editor-assets .asset-kind-tabs{display:flex}html[data-theme=light] .production-layout:has(.episode-editor) .episode-rail-list strong{font-size:15px;font-weight:600}html[data-theme=light] .production-layout:has(.episode-editor) .episode-rail-list small{font-size:13px}}@media (width<=899px){html[data-theme=light] .episode-editor:not(.right-collapsed) .episode-editor-body,html[data-theme=light] .episode-editor.right-collapsed .episode-editor-body{grid-template-columns:minmax(0,1fr)}html[data-theme=light] .episode-editor .episode-editor-preview{width:min(352px,92vw);position:absolute;top:0;bottom:0}}@media (width<=820px){html[data-theme=light] .script-page>.page-header{align-items:stretch}html[data-theme=light] .script-page>.page-header>div{width:100%;min-width:0}html[data-theme=light] .script-page .page-header-actions{grid-template-columns:minmax(0,1fr);justify-content:stretch;display:grid}html[data-theme=light] .script-page .page-header-actions>button{width:100%}html[data-theme=light] .script-page .script-header-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}html[data-theme=light] .script-page .shot-list-rule-select{flex-direction:column;align-items:stretch;gap:6px;min-width:0}html[data-theme=light] .script-page .shot-list-rule-select select{width:100%;min-width:0;max-width:none;min-height:40px}html[data-theme=light] .script-page .script-header-breakdown>button{grid-column:1/-1;width:100%}html[data-theme=light] .mobile-nav{top:var(--topbar)}html[data-theme=light] .mobile-nav button{height:40px}html[data-theme=light] .production-layout{height:calc(100dvh - var(--topbar) - 54px)}html[data-theme=light] .episode-editor{--editor-toolbar:169px;--editor-timeline:124px}html[data-theme=light] .episode-editor-toolbar{grid-template-rows:44px 44px 48px;grid-template-columns:minmax(0,1fr);gap:8px;padding:8px 12px}html[data-theme=light] .episode-editor-identity{grid-area:1/1}html[data-theme=light] .episode-editor-actions{grid-area:2/1;justify-content:flex-start;min-width:0}html[data-theme=light] .episode-editor-settings{grid-area:3/1}html[data-theme=light] .episode-editor-primary{min-width:0;height:44px}html[data-theme=light] .episode-editor-batch{min-height:44px}html[data-theme=light] .episode-editor-settings{gap:8px}html[data-theme=light] .episode-editor-settings .template-setting{flex:none}html[data-theme=light] .episode-editor-assets{grid-template-columns:minmax(0,1fr);gap:8px;padding:8px 12px}html[data-theme=light] .episode-editor-assets .pane-heading{grid-column:1}html[data-theme=light] .episode-editor-assets .pane-heading>div{flex-wrap:wrap}html[data-theme=light] .episode-editor-assets .episode-asset-list{grid-column:1}html[data-theme=light] .episode-editor-assets .episode-asset-card{flex-basis:272px}html[data-theme=light] .episode-editor-assets .episode-asset-menu>summary{width:44px;height:44px}html[data-theme=light] .episode-editor-assets .episode-asset-menu button{min-height:44px}html[data-theme=light] .episode-editor-assets .episode-asset-menu>div{transform:translate(calc(44px - 100%))}html[data-theme=light] .episode-editor-assets .episode-asset-insert>span:last-child small{padding-right:32px}html[data-theme=light] .episode-editor-prompt{padding:12px 16px 8px}html[data-theme=light] .episode-editor-prompt .prompt-workspace-heading{flex-wrap:wrap;gap:4px;margin-bottom:16px}html[data-theme=light] .episode-editor-prompt .asset-prompt-editor{flex:none;min-height:260px}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading{gap:12px;padding:0 0 8px}html[data-theme=light] .episode-editor-prompt .asset-prompt-prosemirror{font-size:var(--editor-reading-size);padding:12px 0}html[data-theme=light] .episode-editor-prompt .asset-prompt-heading-actions>button{min-height:44px;font-size:var(--editor-control-size);padding-inline:8px}html[data-theme=light] .episode-editor-prompt .generation-send-details{grid-template-columns:minmax(0,1fr)}html[data-theme=light] .asset-prompt-heading-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}html[data-theme=light] .asset-prompt-heading-actions>button{min-width:0;padding-inline:6px;font-size:12px}html[data-theme=light] .prompt-workspace-heading{flex-wrap:wrap;gap:4px}html[data-theme=light] .modal-backdrop{padding:12px}html[data-theme=light] .modal:not(.account-modal):not(.sound-asset-picker-modal):not(.asset-review-modal){max-height:calc(100dvh - 24px)}html[data-theme=light] :is(.primary-button,.outline-button,.task-center-bell,.user-avatar-button){min-height:44px}}@media (width<=560px){html[data-theme=light] .episode-advanced-drawer{padding:12px 20px 24px}html[data-theme=light] .episode-advanced-drawer>header{margin-bottom:20px}html[data-theme=light] .episode-advanced-drawer>header strong{font-size:22px}html[data-theme=light] .episode-advanced-drawer .advanced-tool-grid button{padding:12px}html[data-theme=light] .episode-advanced-drawer .advanced-legacy-grid,html[data-theme=light] .episode-advanced-drawer .advanced-legacy-grid.three{grid-template-columns:minmax(0,1fr)}html[data-theme=light] .projects-head{flex-wrap:wrap;align-items:flex-start}html[data-theme=light] .projects-head-actions{width:100%}html[data-theme=light] .project-card-body{padding:14px}html[data-theme=light] .project-card-body h2{font-size:18px}html[data-theme=light] .project-card-body>footer{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}html[data-theme=light] .project-card-body>footer .primary-button{grid-column:1/-1}html[data-theme=light] .project-card-body>footer:has(.project-card-automation+.project-card-secondary+.project-card-secondary) .project-card-automation{grid-column:1/-1}html[data-theme=light] .project-card-body>footer button{width:100%;min-height:40px;padding-inline:8px;font-size:13px}}.delivery-status{color:var(--text-muted,#9295a8);margin:8px 0 16px;font-size:13px}.soundtrack-command-actions{flex-wrap:wrap}.task-history-search{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.task-history-search input{flex:1;min-width:180px}.sound-time-overview{border:1px solid var(--border,#454858);border-radius:10px;margin:12px 0;padding:16px}.sound-time-overview p{color:var(--text-muted,#9295a8);font-size:12px}.sound-time-scroll{overflow-x:auto}.sound-time-grid{min-width:480px;padding:10px 8px}.sound-time-ruler{justify-content:space-between;margin-bottom:8px;font-size:11px;display:flex}.sound-time-lanes>strong{margin:10px 0 4px;font-size:12px;display:block}.sound-time-lane{background:repeating-linear-gradient(90deg,#0000,#0000 calc(25% - 1px),#7774 calc(25% - 1px) 25%);border-left:1px solid #7778;height:27px;position:relative}.sound-time-lane button{white-space:nowrap;text-overflow:ellipsis;text-align:left;color:#fff;background:#6b55ba;border-radius:4px;height:22px;padding:2px 5px;font-size:11px;position:absolute;top:2px;overflow:hidden}.kind-sfx .sound-time-lane button{background:#287777}.sound-time-lane button.selected{outline-offset:1px;outline:2px solid #efb047}.sound-row-time small{font-size:11px;display:block}.import-source-history{width:100%}.import-source-history button{display:block}.asset-comparison{width:min(1000px,100vw - 32px)}.asset-comparison-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.asset-comparison-columns img{object-fit:contain;background:#7771;width:100%;height:200px}.asset-comparison-columns select{width:100%}.asset-comparison-columns p,.asset-comparison-columns li{overflow-wrap:anywhere}@media (width<=600px){.asset-comparison-columns{grid-template-columns:1fr}}@media (width<=640px){.episode-editor:not(.generation-workbench){--editor-toolbar:176px}.episode-editor:not(.generation-workbench) .episode-editor-toolbar{grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr);gap:6px;padding:8px 10px}.episode-editor:not(.generation-workbench) .episode-editor-identity{grid-area:1/1}.episode-editor:not(.generation-workbench) .episode-editor-settings{grid-area:2/1}.episode-editor:not(.generation-workbench) .episode-editor-actions{white-space:normal;flex-wrap:wrap;grid-area:3/1;justify-content:flex-start}.episode-editor:not(.generation-workbench) .episode-editor-actions .byok-badge{display:none}.episode-editor:not(.generation-workbench) .episode-editor-primary{flex:150px;min-width:0}}.prompt-template-layout>.skill-navigation{background:0 0;max-height:none;padding:0;overflow:visible}.skill-navigation-list{align-content:start;gap:6px;max-height:max(132px,100dvh - 430px);display:grid;overflow:auto}.skill-navigation button:focus-visible{outline-offset:-3px}.skill-navigation button:disabled{cursor:not-allowed}.prompt-template-layout>.skill-navigation>.skill-aside-default{border-color:var(--line-strong);background:var(--panel);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:62px}.skill-default-icon{border-radius:var(--radius-sm);background:var(--panel-3);width:34px;height:34px;color:var(--muted);place-items:center;display:grid}.skill-default-label{gap:2px;display:grid}.prompt-template-layout .skill-default-label strong{font-size:14px}.skill-aside-default svg,.skill-navigation-create svg{width:16px;height:16px}.skill-aside-default>svg{color:var(--muted)}.prompt-template-layout>.skill-navigation>.skill-aside-default[aria-current=true]{border-color:rgb(var(--accent-rgb) / .45);background:var(--lime-soft)}.skill-aside-default[aria-current=true] .skill-default-icon{background:var(--lime);color:var(--on-accent)}.skill-aside-default[aria-current=true]>svg{color:var(--lime-2)}.prompt-template-layout>.skill-navigation>.skill-navigation-create{border-color:var(--line);background:var(--panel);min-height:44px;color:var(--lime-2);align-items:center;gap:6px;font-size:13px;font-weight:650;display:flex}.skill-navigation-list>button{overflow-wrap:anywhere;gap:2px;padding-block:8px}.skill-navigation-list>button[aria-current=true],.prompt-template-layout>.skill-navigation>.skill-navigation-create.active{border-color:rgb(var(--accent-rgb) / .45);background:var(--lime-soft)}@media (hover:hover){.prompt-template-layout>.skill-navigation>button:hover:not(:disabled),.skill-navigation-list>button:hover:not(:disabled){border-color:var(--lime-2)}}.prompt-template-layout>.skill-navigation>button:active:not(:disabled),.skill-navigation-list>button:active:not(:disabled){background:var(--panel-3)}.skill-readonly-card{border:1px dashed var(--line-strong);background:var(--panel);border-radius:12px;align-content:start;gap:10px;padding:18px;display:grid}.skill-readonly-card>strong{font-size:15px}.skill-readonly-card>p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.skill-scope-badge{border:1px solid var(--line-strong);color:var(--muted);letter-spacing:.04em;border-radius:999px;justify-self:start;padding:2px 8px;font-size:11px}.skill-default-card{border-style:solid;border-color:var(--line);gap:14px;min-width:0}.skill-default-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.skill-default-header>div{flex:108px;min-width:0}.skill-default-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.skill-default-title h3{margin:0;font-size:16px;line-height:1.4}.skill-default-header p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.5}.skill-default-header .primary-button,.skill-default-error .outline-button{min-height:44px;padding-inline:12px;font-size:13px}.skill-default-preview{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel-2);min-width:0;max-height:360px;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:14px;font-size:13px;line-height:1.75;overflow:auto}.skill-default-preview:focus-visible{outline:2px solid var(--lime);outline-offset:2px}.skill-default-error{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.skill-default-error .modal-error{margin:0}.template-tab-label-short{display:none}@media (width<=900px){.skill-navigation-list{max-height:122px}.skill-default-preview{max-height:36dvh}}@media (width<=640px){.production-tool-modal:has(>.template-center-tabs){width:min(100%,100vw - 24px);padding:14px}.production-tool-backdrop:has(.template-center-tabs){padding:12px}.production-tool-modal:has(>.template-center-tabs) .modal-heading{margin-bottom:10px}.production-tool-modal:has(>.template-center-tabs) .modal-heading .eyebrow{display:none}.production-tool-modal:has(>.template-center-tabs) .production-tool-scroll{padding-right:0}.production-tool-modal .template-center-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:0;display:grid}.production-tool-modal .template-center-tabs button{white-space:nowrap;min-height:44px;padding-inline:2px;font-size:12px}.template-tab-label{display:none}.template-tab-label-short{display:inline}.template-center-section.skill-kind-panel{padding:0}.skill-kind-panel .prompt-template-layout{gap:12px;padding:12px 2px}.skill-default-card{gap:12px;padding:12px}}html[data-theme=dark] .studio-shell:has(.generation-workbench){--bg:#0b0c0d;--bg-soft:#101213;--panel:#141617;--panel-2:#17191b;--panel-3:#202426;--line:#2b3033;--line-strong:#465057;--text:#f2f2f3;--muted:#abb4b9;--muted-2:#98a3aa;--lime:#f2f3f3;--lime-2:#fff;--lime-soft:#f2f3f317;--on-accent:#fff;--generation-button-hover:#3d3f41;--accent:var(--lime);--accent-soft:var(--lime-soft)}html[data-theme=light] .studio-shell:has(.generation-workbench){--bg:#f3f3f4;--bg-soft:#f3f3f3;--panel:#fff;--panel-2:#f8fafb;--panel-3:#f0f0f0;--line:#e0e0e1;--line-strong:#c2c2c3;--text:#1e1e1f;--muted:#5d6062;--muted-2:#65747c;--lime:#1b1f21;--lime-2:#000;--lime-soft:#f0f1f1;--on-accent:#fff;--generation-button-hover:#363839;--accent:var(--lime);--accent-soft:var(--lime-soft)}html[data-theme] .production-layout:has(.generation-workbench) .production-workspace{scrollbar-gutter:auto;padding-block:8px;overflow:hidden}html[data-theme] .generation-workbench.episode-editor{--editor-toolbar:0px;--editor-timeline:188px;--editor-control-size:14px;--editor-caption-size:13px;--editor-reading-size:15px;background:var(--bg);min-width:0;height:100%;min-height:0;color:var(--text);flex-direction:column;gap:12px;font-size:14px;line-height:1.5;display:flex;position:relative;inset:auto;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .episode-breakdown-live{flex:none;max-height:180px;margin:0;overflow:auto}html[data-theme] .generation-workbench.episode-editor .episode-task-strip{flex:none}html[data-theme] .generation-workbench.episode-editor .episode-task-strip:empty{display:none}html[data-theme] .generation-workbench.episode-editor .episode-task-strip.has-tasks{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:10px 14px}html[data-theme] .generation-workbench.episode-editor .batch-video-result{max-height:calc(100% - 24px);top:12px;overflow:auto}html[data-theme] .generation-workbench.episode-editor .episode-editor-body{background:0 0;flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-width:0;min-height:0;display:grid;position:relative}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-prompt,.episode-editor-preview){visibility:visible;border:1px solid var(--line);background:var(--panel);width:auto;min-width:0;min-height:0;box-shadow:none;border-radius:10px;flex-direction:column;gap:0;padding:0;display:flex;position:relative;inset:auto;overflow:hidden;transform:none}html[data-theme] .generation-workbench.episode-editor.right-collapsed .episode-editor-preview{display:none}html[data-theme] .generation-workbench.episode-editor .generation-panel-heading{border-bottom:1px solid var(--line);background:var(--panel);min-height:56px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex;position:static}html[data-theme] .generation-workbench.episode-editor .generation-panel-title{flex-wrap:wrap;flex:1 1 0;align-items:center;gap:3px 12px;min-width:0;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-panel-title h2{color:var(--text);margin:0;font-size:16px;font-weight:600;line-height:1.4}html[data-theme] .generation-workbench.episode-editor .generation-panel-actions{flex:none;align-items:center;gap:8px;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-identity{grid-area:auto;gap:8px;min-width:0}html[data-theme] .generation-workbench.episode-editor .episode-editor-identity>div{flex-wrap:wrap;gap:2px 8px;min-width:0;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-identity strong{color:var(--muted);font-size:12px;font-weight:400;line-height:1.5}html[data-theme] .generation-workbench.episode-editor .generation-panel-heading>div>strong{font-size:17px;font-weight:600}html[data-theme] .generation-workbench.episode-editor .generation-result-count{color:var(--muted);margin-left:8px;font-size:12px;font-weight:400}html[data-theme] .generation-workbench.episode-editor .generation-panel-heading small{color:var(--muted);font-size:12px;line-height:1.5}html[data-theme] .generation-workbench.episode-editor .episode-editor-actions{grid-area:auto;gap:10px;min-width:0}html[data-theme] .generation-workbench.episode-editor .generation-save-status{color:var(--muted);white-space:nowrap;font-size:12px}html[data-theme] .generation-workbench.episode-editor :is(.save-dirty,.save-saving,.save-local,.save-error){color:var(--amber)}html[data-theme] .generation-workbench.episode-editor .save-error{color:var(--red)}html[data-theme] .generation-workbench.episode-editor .episode-editor-more{border:1px solid var(--line);background:var(--panel-2);height:36px;color:var(--text);border-radius:6px;align-items:center;padding-inline:10px;font-size:13px;display:inline-flex}html[data-theme] .generation-workbench.episode-editor .generation-panel-heading>button{border-color:var(--line);background:var(--panel-2);width:32px;height:32px;color:var(--muted);flex:none}html[data-theme] .generation-workbench.episode-editor .collapsed-pane-button.right{border-radius:6px;height:36px;font-size:13px;position:static}html[data-theme] .generation-workbench.episode-editor .generation-prompt-content{scrollbar-gutter:stable;flex-direction:column;flex:1;gap:12px;min-height:0;padding:12px 16px;display:flex;overflow:hidden auto}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading{flex:none;align-items:baseline;gap:12px;margin:0}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading>div{min-width:0}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading strong{font-size:14px;font-weight:600}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading span{background:var(--panel-3);color:var(--muted);padding:2px 6px;font-size:11px;font-weight:500}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading small{min-width:0;color:var(--muted);text-align:right;font-size:12px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-editor-workbench{min-width:0;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;flex:1 0 auto;gap:10px;padding:0;display:flex;overflow:visible}html[data-theme] .generation-workbench.episode-editor .asset-prompt-editor-workbench:focus-within{outline:none}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading{flex-flow:wrap;flex:none;align-items:center;gap:8px;padding:0;display:flex}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading>span{flex:auto;gap:4px;min-width:0}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading>span strong{color:var(--text);font-size:14px;font-weight:600}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading>span small{font-size:12px;line-height:1.5}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading-actions{flex:none;gap:6px;max-width:100%;display:flex}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading-actions>button{border:1px solid var(--line);background:var(--panel-2);min-height:34px;color:var(--text);border-radius:6px;padding-inline:10px;font-size:12px;font-weight:500}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading-actions>.asset-prompt-save:disabled{color:var(--muted);background:0 0;border-color:#0000}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading-actions>.asset-prompt-save:not(:disabled){border-color:var(--lime);background:var(--lime);color:var(--on-accent)}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;flex:1 0 176px;min-height:176px;overflow:visible}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface:focus-within{outline:2px solid var(--lime);outline-offset:2px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-prosemirror{width:100%;max-width:none;min-height:176px;max-height:420px;color:var(--text);padding:12px;font-size:15px;line-height:1.8;position:relative;overflow-y:auto}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface[data-empty=true] .asset-prompt-prosemirror:before{color:var(--muted);white-space:normal;pointer-events:none;content:attr(data-placeholder);position:absolute;inset:12px}html[data-theme] .generation-workbench.episode-editor .asset-mention-node{border-color:var(--line-strong);color:var(--lime-2)}html[data-theme] .generation-workbench.episode-editor .asset-prompt-footer{color:var(--muted);border:0;flex:none;gap:4px 12px;padding:0;font-size:12px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-footer>span{display:none}html[data-theme] .generation-workbench.episode-editor .asset-prompt-footer:not(:has(>strong)){display:none}html[data-theme] .generation-workbench.episode-editor .generation-reference-materials{border-top:1px solid var(--line);flex:none;padding-top:10px}html[data-theme] .generation-workbench.episode-editor .generation-reference-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-reference-heading>div{flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-reference-heading strong{font-size:14px;font-weight:600}html[data-theme] .generation-workbench.episode-editor .generation-reference-heading>button{border:1px solid var(--line-strong);background:var(--panel-2);min-height:36px;color:var(--lime-2);border-radius:6px;padding:0 12px;font-size:13px}html[data-theme] .generation-workbench.episode-editor .prompt-reference-strip{gap:8px;max-height:none;padding:2px 0 8px;display:flex;overflow:auto}html[data-theme] .generation-workbench.episode-editor .prompt-reference-strip article{background:var(--panel-2);border-color:#0000;border-radius:6px;flex:0 0 196px;min-width:196px}html[data-theme] .generation-workbench.episode-editor .prompt-reference-strip article.stale{border-color:var(--amber)}html[data-theme] .generation-workbench.episode-editor .prompt-reference-strip article.unavailable{border-color:var(--red)}html[data-theme] .generation-workbench.episode-editor .prompt-reference-empty{min-height:0;color:var(--muted);background:0 0;border:0;border-radius:0;padding:0;font-size:12px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets{visibility:visible;border:0;border-top:1px solid var(--line);width:auto;box-shadow:none;background:0 0;border-radius:0;flex:none;grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 0 0;display:grid;position:relative;inset:auto;overflow:visible;transform:none}html[data-theme] .generation-workbench.episode-editor.left-collapsed .episode-editor-assets{display:none}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .pane-heading{background:0 0;border:0;grid-area:1/1;gap:8px;min-height:32px;padding:0;position:static}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .pane-heading>div{gap:2px;display:grid}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .pane-heading strong{font-size:13px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .pane-heading small{font-size:12px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .asset-scope-tabs{grid-area:1/2;padding:0;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .asset-kind-tabs{border:0;grid-area:2/1/auto/-1;padding:0;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets :is(.asset-scope-tabs,.asset-kind-tabs) button{min-height:30px;padding-inline:8px;font-size:12px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-list{grid-area:3/1/auto/-1;gap:8px;padding:0 0 4px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert{background:var(--panel);grid-template-columns:52px minmax(0,1fr);min-height:64px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets :is(.asset-no-image,.episode-asset-insert>img){background:var(--panel-3);width:52px;height:64px;color:var(--muted)}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert>span:last-child{padding:8px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert strong{padding-right:26px;font-size:13px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert small{padding-right:0;font-size:12px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-menu>summary{background:var(--panel);width:30px;height:30px;color:var(--muted)}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-menu>div{transform:translate(calc(30px - 100%))}html[data-theme] .generation-workbench.episode-editor .asset-shelf-toggle{min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:4px;flex:none;padding:6px 0;font-size:12px}html[data-theme] .generation-workbench.episode-editor .generation-context-tools{flex-wrap:wrap;flex:none;justify-content:space-between;align-items:flex-start;gap:4px 16px;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-send-summary{background:0 0;border:0;flex:0 auto;width:auto;margin:0}html[data-theme] .generation-workbench.episode-editor .generation-send-summary[open]{flex-basis:100%}html[data-theme] .generation-workbench.episode-editor .generation-send-summary>summary{gap:8px;min-height:36px;padding:6px 0}html[data-theme] .generation-workbench.episode-editor .generation-send-summary:not([open])>summary:not(:has(.send-summary-over-limit)){grid-template-columns:auto auto}html[data-theme] .generation-workbench.episode-editor .generation-send-summary:not([open])>summary>strong:not(.send-summary-over-limit){display:none}html[data-theme] .generation-workbench.episode-editor .generation-send-summary>summary em{color:var(--muted)}html[data-theme] .generation-workbench.episode-editor .generation-send-details{grid-template-columns:minmax(0,1fr);padding-inline:0}html[data-theme] .generation-workbench.episode-editor .generation-controls{border-top:1px solid var(--line);background:var(--panel);flex:none;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;min-width:0;padding:14px 18px;display:grid}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings{grid-area:auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 8px;min-width:0;display:grid;overflow:visible}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings label{background:0 0;border:0;flex-direction:column;align-items:stretch;gap:5px;width:auto;min-width:0;min-height:0;padding:0;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings label>span{color:var(--muted);white-space:nowrap;font-size:12px}html[data-theme] .generation-workbench.episode-editor .generation-format-trigger{border:1px solid var(--line);background:var(--panel-2);width:100%;min-width:0;height:40px;min-height:40px;color:var(--text);text-align:left;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:0 12px 0 10px;font-size:13px;font-weight:500;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-format-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .generation-format-trigger>svg{width:14px;height:14px;color:var(--muted);flex:none}html[data-theme] .generation-workbench.episode-editor .generation-format-trigger:is(:hover,[aria-expanded=true]):not(:disabled){border-color:var(--line-strong);background:var(--panel-3)}html[data-theme] .generation-workbench.episode-editor .generation-format-trigger:disabled{opacity:.55;cursor:not-allowed}html[data-theme] .generation-workbench.episode-editor .generation-format-popover{overscroll-behavior:contain;visibility:hidden;border:1px solid var(--line-strong);background:var(--panel);width:288px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);color:var(--text);border-radius:10px;margin:0;padding:12px;position:fixed;inset:auto;overflow:auto;box-shadow:0 12px 32px #00000038}html[data-theme] .generation-workbench.episode-editor .generation-format-popover[data-positioned=true]{visibility:visible}html[data-theme] .generation-workbench.episode-editor .generation-format-popover-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:10px;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-format-popover-heading strong{font-size:14px;font-weight:600}html[data-theme] .generation-workbench.episode-editor .generation-format-popover-heading button{background:var(--panel-2);width:32px;height:32px;color:var(--muted);border:0;border-radius:5px;flex:none;place-items:center;padding:0;display:grid}html[data-theme] .generation-workbench.episode-editor .generation-format-popover-heading button:hover{background:var(--panel-3);color:var(--text)}html[data-theme] .generation-workbench.episode-editor .generation-format-popover-heading svg{width:14px;height:14px}html[data-theme] .generation-workbench.episode-editor .generation-controls .episode-editor-actions{white-space:normal;flex-direction:column;justify-content:space-between;align-self:stretch;align-items:stretch;gap:12px;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-controls .byok-badge{max-width:132px;color:var(--muted);white-space:normal;background:0 0;padding:0;font-size:12px;font-weight:400;display:block}html[data-theme] .generation-workbench.episode-editor .episode-editor-primary{border:1px solid var(--lime);background:var(--lime);min-width:132px;height:44px;min-height:44px;color:var(--on-accent);box-shadow:none;border-radius:8px;padding-inline:12px;font-size:14px;font-weight:600}html[data-theme] .generation-workbench.episode-editor .episode-editor-primary:hover:not(:disabled){border-color:var(--generation-button-hover);background:var(--generation-button-hover)}html[data-theme] .generation-workbench.episode-editor .episode-editor-primary:disabled{border-color:var(--line);background:var(--panel-3);color:var(--muted);opacity:.65}html[data-theme] .generation-workbench.episode-editor .primary-button:not(:disabled){border-color:var(--lime);background:var(--lime);color:var(--on-accent)}html[data-theme] .generation-workbench.episode-editor .primary-button:hover:not(:disabled){border-color:var(--generation-button-hover);background:var(--generation-button-hover)}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview{background:var(--bg-soft);overflow-y:auto}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .generation-panel-heading{z-index:5;background:var(--panel);position:sticky;top:0}html[data-theme] .generation-workbench.episode-editor .generation-history-bar{border-bottom:1px solid var(--line);background:var(--panel);min-height:44px;color:var(--muted);flex:none;align-items:center;gap:10px;padding:10px 18px;font-size:13px;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-history-bar b{background:var(--panel-3);min-width:24px;color:var(--text);text-align:center;border-radius:4px;padding:1px 6px;font-size:12px}html[data-theme] .generation-workbench.episode-editor .preview-tabs{flex:none;gap:6px;min-width:0;padding:12px 18px}html[data-theme] .generation-workbench.episode-editor .preview-tabs button{background:var(--panel);min-height:34px;color:var(--muted);flex:0 140px;font-size:13px}html[data-theme] .generation-workbench.episode-editor .preview-tabs button.active{background:var(--lime-soft);color:var(--lime-2)}html[data-theme] .generation-workbench.episode-editor .preview-tabs .frame-generate-inline{color:var(--lime-2);margin-left:auto}html[data-theme] .generation-workbench.episode-editor .episode-main-preview{width:calc(100% - 36px);min-height:180px;max-height:none;color:var(--text);background:#0b0c0c;border:0;border-radius:8px;flex:1 0 240px;margin:0 auto 16px}html[data-theme] .generation-workbench.episode-editor .episode-main-preview.aspect-9-16{aspect-ratio:9/16;flex:none;width:min(100% - 36px,300px);max-width:none;min-height:240px}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview:has(>div){aspect-ratio:auto;background:0 0;flex:1 0 200px;width:calc(100% - 36px);max-width:none;min-height:180px}html[data-theme] .generation-workbench.episode-editor .episode-main-preview>div{gap:10px;padding:24px}html[data-theme] .generation-workbench.episode-editor .episode-main-preview>div span{color:var(--muted-2);font-size:28px}html[data-theme] .generation-workbench.episode-editor .episode-main-preview>div strong{color:var(--text);font-size:15px;font-weight:500}html[data-theme] .generation-workbench.episode-editor .episode-main-preview>div small{max-width:30ch;color:var(--muted);font-size:13px;line-height:1.6}html[data-theme] .generation-workbench.episode-editor .episode-candidate-strip{border-top:1px solid var(--line);flex:none;padding:12px 18px}html[data-theme] .generation-workbench.episode-editor .episode-candidate-strip:empty{border:0;padding:0}html[data-theme] .generation-workbench.episode-editor .episode-candidate-strip article{background:var(--panel)}html[data-theme] .generation-workbench.episode-editor .episode-candidate-strip article.active{border-color:var(--lime);box-shadow:none}html[data-theme] .generation-workbench.episode-editor .episode-editor-timeline{min-width:0;height:var(--editor-timeline);min-height:var(--editor-timeline);border:1px solid var(--line);background:var(--panel);border-radius:10px;flex-direction:column;flex:none;gap:0;padding:0;display:flex;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .generation-timeline-toolbar{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 14px;display:flex}html[data-theme] .generation-workbench.episode-editor .timeline-heading{flex-direction:row;align-items:center;min-width:0;padding:0;display:flex}html[data-theme] .generation-workbench.episode-editor .timeline-heading>div{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}html[data-theme] .generation-workbench.episode-editor .timeline-heading strong{font-size:14px;font-weight:600}html[data-theme] .generation-workbench.episode-editor .timeline-heading small,html[data-theme] .generation-workbench.episode-editor .timeline-reorder-hint{color:var(--muted);font-size:12px}html[data-theme] .generation-workbench.episode-editor .generation-timeline-actions{flex:none;align-items:center;gap:8px;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-timeline-actions>button{border:1px solid var(--line-strong);background:var(--panel-2);min-height:34px;color:var(--text);border-radius:6px;padding:0 12px;font-size:13px}html[data-theme] .generation-workbench.episode-editor .generation-timeline-actions>.episode-editor-batch{border-color:var(--lime);background:var(--lime);color:var(--on-accent)}html[data-theme] .generation-workbench.episode-editor .generation-timeline-actions>button:disabled{border-color:var(--line);background:var(--panel-3);color:var(--muted);opacity:.55}html[data-theme] .generation-workbench.episode-editor .timeline-cards{flex:1;align-items:stretch;gap:10px;min-height:0;padding:10px 14px}html[data-theme] .generation-workbench.episode-editor .timeline-cards article{border-color:var(--line);background:var(--panel-2);box-shadow:none;border-radius:7px;flex:0 0 152px}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.tone-running:not(.active){border-color:var(--blue)}html[data-theme] .generation-workbench.episode-editor .timeline-cards article:is(.tone-failed,.tone-unknown):not(.active){border-color:var(--red)}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.tone-unsynced:not(.active){border-color:var(--amber)}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.timeline-dragging-card{z-index:6;border-color:var(--lime);box-shadow:var(--floating-shadow)}html[data-theme] .generation-workbench.episode-editor .generation-shot-card-button{flex-direction:column;gap:0;height:100%;min-height:0;padding:0;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-shot-label{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:6px;min-height:32px;padding:6px 8px 6px 28px;display:flex}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.active .generation-shot-label{background:var(--lime-soft);border-bottom-color:#0000}html[data-theme] .generation-workbench.episode-editor .generation-shot-card-button:focus-visible{outline:none}html[data-theme] .generation-workbench.episode-editor .timeline-cards article:has(>.generation-shot-card-button:focus-visible){outline:2px solid var(--lime-2);outline-offset:2px}html[data-theme] .generation-workbench.episode-editor .generation-shot-label b{color:var(--muted);background:0 0;flex:none;padding:0;font-size:12px}html[data-theme] .generation-workbench.episode-editor .generation-shot-label strong{min-width:0;font-size:12px;font-weight:600}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail{background:var(--bg-soft);flex:1;place-items:center;width:100%;min-height:0;padding:0;display:grid;position:relative;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail img{object-fit:cover;border-radius:0;width:100%;height:100%;min-height:0}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail .timeline-placeholder{background:var(--bg-soft);width:100%;height:100%;min-height:0;color:var(--muted-2);border-radius:0}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail>small{color:#f2f2f3;background:#101213;border-radius:4px;padding:1px 5px;font-size:12px;position:absolute;bottom:6px;right:6px}html[data-theme] .generation-workbench.episode-editor .generation-shot-state{border:1px solid var(--line);background:var(--panel);max-width:calc(100% - 48px);color:var(--muted);text-align:left;text-overflow:ellipsis;white-space:nowrap;border-radius:4px;padding:2px 6px;font-size:12px;display:block;position:absolute;bottom:5px;left:5px;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.tone-running .generation-shot-state{border-color:color-mix(in srgb, var(--blue) 45%, var(--line));color:var(--blue)}html[data-theme] .generation-workbench.episode-editor .timeline-cards article:is(.tone-failed,.tone-unknown) .generation-shot-state{border-color:color-mix(in srgb, var(--red) 45%, var(--line));color:var(--red)}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.tone-unsynced .generation-shot-state{border-color:color-mix(in srgb, var(--amber) 45%, var(--line));color:var(--amber)}html[data-theme] .generation-workbench.episode-editor .shot-select-check{background:0 0;width:24px;height:24px;top:3px;left:3px}html[data-theme] .generation-workbench.episode-editor .generation-setting-audio{cursor:pointer}html[data-theme] .generation-workbench.episode-editor :is(.shot-select-check,.generation-setting-audio) input{appearance:none;border:1px solid var(--muted-2);background:var(--panel);width:16px;height:16px;box-shadow:none;accent-color:var(--lime);cursor:pointer;border-radius:4px;margin:0;padding:0}html[data-theme] .generation-workbench.episode-editor :is(.shot-select-check,.generation-setting-audio):hover input:not(:disabled){border-color:var(--lime-2)}html[data-theme] .generation-workbench.episode-editor :is(.shot-select-check,.generation-setting-audio) input:checked{border-color:var(--lime);background-color:var(--lime);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8 2.5 2.5 L12 5'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:14px 14px}html[data-theme] .generation-workbench.episode-editor :is(.shot-select-check,.generation-setting-audio) input:disabled{opacity:.45;cursor:not-allowed}html[data-theme] .generation-workbench.episode-editor :is(.shot-select-check,.generation-setting-audio):has(input:disabled){cursor:not-allowed}html[data-theme] .generation-workbench.episode-editor .timeline-card-menu{top:36px;bottom:auto;right:4px}html[data-theme] .generation-workbench.episode-editor .timeline-cards>.timeline-add-shot{border-color:var(--line-strong);width:124px;color:var(--muted);flex-direction:column;gap:8px;font-size:13px}html[data-theme] .generation-workbench.episode-editor :is(button,input,select,textarea,summary):focus-visible{outline:2px solid var(--lime);outline-offset:3px}html[data-theme] .generation-workbench.episode-editor :is(.shot-select-check,.generation-setting-audio) input:focus-visible{outline-color:var(--lime-2);outline-offset:2px}html[data-theme] .generation-workbench.episode-editor button:hover:not(:disabled){filter:none}@media (forced-colors:active){html[data-theme] .generation-workbench.episode-editor :is(.shot-select-check,.generation-setting-audio) input{appearance:auto;accent-color:auto;background:canvas;border-color:buttontext}html[data-theme] .generation-workbench.episode-editor :is(.shot-select-check,.generation-setting-audio) input:checked{background:canvas;border-color:buttontext}html[data-theme] .generation-workbench.episode-editor :is(.shot-select-check,.generation-setting-audio) input:disabled{opacity:1}}@media (width<=1280px){html[data-theme] .generation-workbench.episode-editor .generation-controls{flex-direction:column;align-items:stretch;gap:12px;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-controls .episode-editor-actions{flex-direction:row;align-items:center}html[data-theme] .generation-workbench.episode-editor .generation-controls .byok-badge{max-width:none}html[data-theme] .generation-workbench.episode-editor .episode-editor-primary{margin-left:auto}}@media (width<=1180px){html[data-theme] .production-layout:has(.generation-workbench) .production-workspace{padding:0}}@media (width>=901px) and (height<=850px){html[data-theme] .production-layout:has(.generation-workbench) .production-workspace{overflow-y:auto}html[data-theme] .generation-workbench.episode-editor{min-height:820px}}@media (width<=900px){html[data-theme] .production-layout:has(.generation-workbench) .production-workspace{overflow-y:auto}html[data-theme] .generation-workbench.episode-editor{height:auto;min-height:100%;overflow:visible}html[data-theme] .generation-workbench.episode-editor .episode-editor-body{flex-direction:column;flex:none;min-height:0;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-prompt{min-height:0;overflow:visible}html[data-theme] .generation-workbench.episode-editor .generation-prompt-content{flex:none;min-height:0;overflow:visible}html[data-theme] .generation-workbench.episode-editor .asset-prompt-editor-workbench{flex:none}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview{min-height:380px;overflow:visible}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .generation-panel-heading{position:static}html[data-theme] .generation-workbench.episode-editor .episode-editor-timeline{height:188px;min-height:188px}html[data-theme] .generation-workbench.episode-editor .timeline-cards{flex-basis:120px}}@media (width>=601px) and (width<=900px) and (height<=850px){html[data-theme] .generation-workbench.episode-editor .generation-prompt-content{gap:8px;padding-block:8px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-editor-workbench{gap:8px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface{flex-basis:144px;min-height:144px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-prosemirror{min-height:144px}html[data-theme] .generation-workbench.episode-editor .generation-controls{gap:8px;padding-block:8px}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings{row-gap:8px}}@media (width<=700px){html[data-theme] .generation-workbench.episode-editor .timeline-reorder-hint{display:none}}@media (width<=600px){html[data-theme] .generation-workbench.episode-editor{gap:12px}html[data-theme] .generation-workbench.episode-editor .generation-panel-heading{flex-wrap:wrap;align-items:center;min-height:52px;padding:6px 12px}html[data-theme] .generation-workbench.episode-editor .generation-panel-heading .episode-editor-actions{gap:6px}html[data-theme] .generation-workbench.episode-editor .generation-save-status{font-size:12px}html[data-theme] .generation-workbench.episode-editor .episode-editor-more{min-height:40px}html[data-theme] .generation-workbench.episode-editor .generation-prompt-content{gap:8px;padding:8px 12px}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading{flex-wrap:wrap}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading small{text-align:left}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading-actions>button{min-height:40px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-editor-workbench{gap:6px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface{flex-basis:144px;min-height:144px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-prosemirror{min-height:144px;padding:12px}html[data-theme] .generation-workbench.episode-editor .generation-controls{gap:8px;padding:8px 12px}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings{row-gap:8px}html[data-theme] .generation-workbench.episode-editor .generation-format-trigger{height:44px;min-height:44px;font-size:14px}html[data-theme] .generation-workbench.episode-editor .generation-controls .episode-editor-actions{align-items:flex-end}html[data-theme] .generation-workbench.episode-editor .generation-controls .byok-badge{max-width:42%;font-size:12px}html[data-theme] .generation-workbench.episode-editor .generation-reference-heading>button{min-height:44px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .asset-kind-tabs{overflow-x:auto}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-menu>summary{width:36px;height:36px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-menu>div{transform:translate(calc(36px - 100%))}html[data-theme] .generation-workbench.episode-editor .generation-timeline-toolbar{flex-wrap:wrap}html[data-theme] .generation-workbench.episode-editor .generation-timeline-actions>button{min-height:40px}}@media (width<=479px){html[data-theme] .generation-workbench.episode-editor .generation-timeline-actions{justify-content:flex-end;width:100%}html[data-theme] .generation-workbench.episode-editor .episode-editor-timeline{height:220px;min-height:220px}}html[data-theme] .studio-shell{--topbar:52px}html[data-theme=dark] .studio-shell :is(.topbar,.episode-rail){--bg:#0b0c0d;--bg-soft:#101213;--panel:#141617;--panel-2:#17191b;--panel-3:#202426;--line:#2b3033;--line-strong:#465057;--text:#f2f2f3;--muted:#abb4b9;--muted-2:#98a3aa;--lime:#f2f3f3;--lime-2:#fff;--lime-soft:#f2f3f317;--on-accent:#111214}html[data-theme=light] .studio-shell :is(.topbar,.episode-rail){--bg:#fff;--bg-soft:#f3f3f3;--panel:#fff;--panel-2:#f8fafb;--panel-3:#f0f0f0;--line:#e0e0e1;--line-strong:#c2c2c3;--text:#1e1e1f;--muted:#5d6062;--muted-2:#65747c;--lime:#1b1f21;--lime-2:#000;--lime-soft:#f0f1f1;--on-accent:#fff}html[data-theme] .studio-shell .topbar{height:var(--topbar);border-bottom-color:var(--line);background:var(--bg);color:var(--text);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;padding-inline:12px}html[data-theme] .studio-shell .topbar .compact-brand{min-height:44px}html[data-theme] .studio-shell .topbar .compact-brand>span{width:28px;height:28px}html[data-theme] .studio-shell .topbar-actions{gap:6px}html[data-theme] .studio-shell .workspace-top-nav button{min-width:0;min-height:44px;padding-inline:10px;font-size:13px;font-weight:600}html[data-theme] .studio-shell .workspace-top-nav button.is-active{color:var(--lime-2)}html[data-theme] .studio-shell .workspace-top-nav button:focus-visible{outline:2px solid var(--lime-2);outline-offset:-3px}html[data-theme] .studio-shell .workspace-top-nav{scrollbar-width:thin;overflow-x:auto}html[data-theme] .studio-shell .mobile-nav{display:none}html[data-theme] .studio-shell .production-layout{height:calc(100dvh - var(--topbar))}@media (width<=860px){html[data-theme] .studio-shell .topbar{grid-template-columns:36px minmax(0,1fr) auto;gap:6px;padding-inline:8px;display:grid}html[data-theme] .studio-shell .topbar .compact-brand{justify-content:center}html[data-theme] .studio-shell .topbar .compact-brand>span{flex-shrink:0}html[data-theme] .studio-shell .topbar .compact-brand :is(strong,em){display:none}html[data-theme] .studio-shell .workspace-top-nav{scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;justify-content:flex-start;align-items:center;gap:0;min-width:0;display:flex;overflow-x:auto}html[data-theme] .studio-shell .workspace-top-nav button{flex:none;height:44px;padding-inline:8px}html[data-theme] .studio-shell .workspace-top-nav::-webkit-scrollbar{height:3px}html[data-theme] .studio-shell .topbar-actions{gap:4px;margin-left:0}}@media (width<=479px){html[data-theme] .studio-shell .workspace-top-nav button{padding-inline:6px;font-size:12px}}html[data-theme] .production-studio-shell{--workspace-viewport-height:calc((100dvh - var(--topbar)) / var(--studio-zoom,1))}html[data-theme] .production-studio-shell .main-stage{min-height:var(--workspace-viewport-height);zoom:var(--studio-zoom,1)}.production-studio-shell .main-stage :is(.modal-backdrop,.asset-mention-picker,.asset-mention-hover-card,.generation-format-popover,.asset-analysis-document-backdrop,.asset-identity-preview-backdrop,.asset-character-rename-backdrop,.asset-image-preview-backdrop,.video-detail-backdrop,.asset-library-backdrop,.prompt-reference-lightbox,.prompt-reference-update-modal,.episode-advanced-backdrop,.episode-preview-lightbox){zoom:calc(1 / var(--workspace-layer-zoom,var(--studio-zoom,1)))}.production-studio-shell .main-stage :is(.modal-backdrop,.asset-mention-picker,.asset-mention-hover-card,.generation-format-popover,.asset-analysis-document-backdrop,.asset-identity-preview-backdrop,.asset-character-rename-backdrop,.asset-image-preview-backdrop,.video-detail-backdrop,.asset-library-backdrop,.prompt-reference-lightbox,.prompt-reference-update-modal,.episode-advanced-backdrop,.episode-preview-lightbox)>*{--workspace-layer-zoom:1}html[data-theme] .studio-shell.production-studio-shell .production-layout{height:var(--workspace-viewport-height)}html[data-theme] .studio-shell.production-studio-shell .topbar{grid-template-columns:minmax(max-content,1fr) minmax(0,max-content) minmax(max-content,1fr)}html[data-theme] .production-studio-shell .compact-brand{justify-self:start}html[data-theme] .production-studio-shell .workspace-top-nav{justify-content:safe center}html[data-theme] .production-studio-shell .topbar-actions{--topbar-control-height:34px;justify-self:end;max-width:100%}.production-studio-shell .topbar-control,.production-studio-shell .topbar-zoom{height:var(--topbar-control-height);border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:6px;align-items:center;display:inline-flex}.production-studio-shell .topbar-theme{width:var(--topbar-control-height);flex:none;justify-content:center;padding:0}.production-studio-shell .topbar-actions :is(.topbar-control,.topbar-zoom button):hover:not(:disabled){background:var(--panel-2);color:var(--text)}.production-studio-shell .topbar-actions :is(.topbar-control,.topbar-zoom button):focus-visible{outline-offset:-2px}.production-studio-shell .topbar-actions :is(.topbar-control,.topbar-zoom button)>svg{width:16px;height:16px}.production-studio-shell .topbar-zoom{font-variant-numeric:tabular-nums;flex:none;font-size:12px}.production-studio-shell .topbar-zoom button{min-width:30px;height:100%;color:var(--text);background:0 0;border-radius:5px;place-items:center;padding:0 5px;display:grid}.production-studio-shell .topbar-zoom button:nth-child(2){min-width:43px}.production-studio-shell .topbar-zoom button:disabled{opacity:.45;cursor:default}.production-studio-shell .topbar-balance{white-space:nowrap;gap:5px;min-width:0;max-width:140px;padding:0 9px;font-size:12px}.production-studio-shell .topbar-balance>span{color:var(--muted)}.production-studio-shell .topbar-balance>strong{font-variant-numeric:tabular-nums;text-overflow:ellipsis;font-weight:600;overflow:hidden}.production-studio-shell .topbar-balance.has-relay-balances,.production-studio-shell .topbar-balance.has-wallet-balance{flex-direction:column;justify-content:center;align-items:stretch;gap:2px;line-height:1.2}.production-studio-shell .topbar-balance>.topbar-wallet-label{font-size:10px;display:block}.production-studio-shell .topbar-balance>.topbar-relay-balance{justify-content:space-between;gap:8px;font-size:11px;display:flex}.production-studio-shell .topbar-relay-balance strong{color:var(--text);font-variant-numeric:tabular-nums;text-overflow:ellipsis;font-weight:600;overflow:hidden}@media (861px<=width<=1250px){html[data-theme] .studio-shell.production-studio-shell .workspace-top-nav{gap:1px}html[data-theme] .studio-shell.production-studio-shell .workspace-top-nav button{padding-inline:5px;font-size:13px}html[data-theme] .studio-shell.production-studio-shell .workspace-top-nav button.is-active:after{inset-inline:5px}}@media (861px<=width<=1100px){html[data-theme] .studio-shell.production-studio-shell .topbar{grid-template-columns:auto minmax(0,1fr) auto}}@media (981px<=width<=1500px){html[data-theme] .production-studio-shell .compact-brand.is-project-list strong{display:block}}@media (861px<=width<=980px){html[data-theme] .studio-shell.production-studio-shell .compact-brand{justify-content:center;width:36px}html[data-theme] .studio-shell.production-studio-shell .compact-brand em{display:none}.production-studio-shell .topbar-balance{max-width:112px}html[data-theme] .studio-shell.production-studio-shell .workspace-top-nav button{padding-inline:4px}html[data-theme] .studio-shell.production-studio-shell .workspace-top-nav button.is-active:after{inset-inline:4px}}@media (width<=860px){html[data-theme] .studio-shell.production-studio-shell .topbar{grid-template-columns:36px minmax(0,1fr) auto}html[data-theme] .studio-shell.production-studio-shell .compact-brand{justify-self:stretch}html[data-theme] .studio-shell.production-studio-shell .topbar-actions{--topbar-control-height:44px}html[data-theme] .studio-shell.production-studio-shell .topbar :is(.task-center-bell,.topbar-theme,.topbar-prompt-settings){width:40px}.production-studio-shell .topbar-nav-trigger{justify-self:start;gap:3px;min-width:0;max-width:100%;height:44px;padding:0 7px;font-size:13px;font-weight:600}.topbar-nav-trigger>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar-nav-trigger>svg{flex:none;width:14px}.topbar-nav-trigger>.topbar-nav-icon{display:none}.production-studio-shell .topbar-zoom-trigger{font-variant-numeric:tabular-nums;justify-content:center;min-width:44px;padding:0 6px;font-size:12px}html[data-theme] .production-studio-shell .topbar :is(.workspace-top-nav,.topbar-zoom)[popover]{inset:calc(var(--topbar) + 4px) auto auto 8px;border:1px solid var(--line);background:var(--panel);height:auto;color:var(--text);border-radius:8px;margin:0;padding:4px;position:fixed}html[data-theme] .production-studio-shell .topbar :is(.workspace-top-nav,.topbar-zoom)[popover]:not(:popover-open){display:none}html[data-theme] .production-studio-shell .topbar .workspace-top-nav[popover]{width:min(200px,100vw - 16px);max-height:calc(100dvh - var(--topbar) - 12px);flex-direction:column;justify-content:flex-start;align-items:stretch;overflow:auto}html[data-theme] .production-studio-shell .topbar .workspace-top-nav[popover] button{justify-content:flex-start;gap:8px;padding-inline:10px}html[data-theme] .production-studio-shell .topbar .workspace-top-nav[popover] button svg{display:block}html[data-theme] .production-studio-shell .topbar .workspace-top-nav[popover] button.is-active{background:var(--panel-2)}html[data-theme] .production-studio-shell .topbar .workspace-top-nav[popover] button.is-active:after{display:none}html[data-theme] .production-studio-shell .topbar .topbar-zoom[popover]{inset-inline:auto 8px}.production-studio-shell .topbar-zoom[popover] button{min-width:44px;height:44px}}@media (width<=460px){.production-studio-shell .topbar-balance{max-width:clamp(76px,22vw,100px);padding-inline:6px}.production-studio-shell .topbar-balance>span{display:none}.production-studio-shell .topbar-balance.has-relay-balances{min-width:104px;max-width:112px}}@media (width<=420px){html[data-theme] .studio-shell.production-studio-shell .topbar{gap:4px;padding-inline:6px}html[data-theme] .studio-shell.production-studio-shell .topbar-actions{gap:3px}html[data-theme] .studio-shell.production-studio-shell .topbar :is(.task-center-bell,.topbar-theme,.topbar-prompt-settings){width:36px}}@media (width<=359px){html[data-theme] .studio-shell.production-studio-shell .topbar{grid-template-columns:32px minmax(0,1fr) auto;padding-inline:4px}html[data-theme] .studio-shell.production-studio-shell .topbar :is(.task-center-bell,.topbar-theme,.topbar-prompt-settings){width:34px}.production-studio-shell .topbar-nav-trigger{justify-content:center;min-width:36px;padding-inline:4px}.topbar-nav-trigger>:first-child{display:none}.topbar-nav-trigger>.topbar-nav-icon{order:-1;place-items:center;display:grid}.topbar-nav-icon>svg{width:16px;height:16px}html[data-theme] .studio-shell.production-studio-shell .topbar-actions{gap:2px}.production-studio-shell .topbar-zoom-trigger{min-width:36px;padding-inline:2px;font-size:11px}.production-studio-shell .topbar-balance{padding-inline:4px}.production-studio-shell .topbar-balance.has-relay-balances{min-width:88px;max-width:92px}.production-studio-shell .topbar-balance>.topbar-relay-balance{gap:4px;font-size:10px}}html[data-theme] .studio-shell .production-layout.module-workflow{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.shot-list-rule-select output,.ai-batch-controls output{max-width:240px;color:var(--text);overflow-wrap:anywhere;padding:5px 0;font-size:12px;line-height:1.5;display:block}html[data-theme] .studio-shell .production-layout{grid-template-columns:184px minmax(0,1fr);gap:8px;padding-right:8px}html[data-theme] .studio-shell .production-layout .episode-rail{border:1px solid var(--line);background:var(--panel);min-width:0;min-height:0;max-height:none;color:var(--text);border-radius:10px;flex-direction:column;margin:8px 0 8px 8px;display:flex;overflow:hidden}html[data-theme] .studio-shell .episode-rail>header{border-bottom:1px solid var(--line);flex:none;min-height:48px;padding:8px 10px;display:flex}html[data-theme] .studio-shell .episode-rail>header>div>span{display:none}html[data-theme] .studio-shell .episode-rail-list{flex-direction:column;flex:1;gap:6px;min-width:0;min-height:0;padding:8px;display:flex;overflow:auto}html[data-theme] .studio-shell .episode-rail-item{flex:none;min-width:0}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button,html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline){min-width:0;height:56px;min-height:56px;color:var(--text);background:0 0;border:1px solid #0000;border-radius:6px;grid-template-columns:28px minmax(0,1fr) 6px;gap:7px;padding:8px;line-height:1.35;display:grid}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button{width:100%;margin:0}html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline){border-color:var(--line);float:none;flex:none;width:calc(100% - 16px);margin:8px 8px 0}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button>span,html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline)>span{background:var(--bg-soft);width:28px;height:28px;color:var(--muted);border-radius:6px}html[data-theme] .studio-shell .production-layout .episode-rail strong{min-width:0;font-size:14px;font-weight:600;line-height:1.35}html[data-theme] .studio-shell .production-layout .episode-rail small{color:var(--muted);font-size:12px;line-height:1.35}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button>div,html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline)>div{gap:2px}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button:hover,html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline):hover{background:var(--bg-soft)}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button.is-active,html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline).is-active{background:var(--lime-soft)}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button.is-active>span,html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline).is-active>span{background:var(--lime);color:var(--on-accent)}html[data-theme] .studio-shell .episode-rail button:focus-visible{outline:2px solid var(--lime-2);outline-offset:-3px}@media (width<=1180px){html[data-theme] .studio-shell .production-layout{grid-template-rows:48px minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:6px;padding:0 8px 8px}html[data-theme] .studio-shell .production-layout .episode-rail{scrollbar-width:none;flex-direction:row;align-items:center;gap:6px;margin:4px 0 0;scroll-padding-inline-start:124px;overflow:auto hidden}html[data-theme] .studio-shell .episode-rail::-webkit-scrollbar{display:none}html[data-theme] .studio-shell .episode-rail>header{z-index:3;border:0;border-right:1px solid var(--line);background:var(--panel);align-self:stretch;gap:8px;width:116px;min-width:116px;min-height:0;padding:4px 8px;position:sticky;left:0}html[data-theme] .studio-shell .episode-rail-list{flex-direction:row;flex:none;align-items:center;width:max-content;min-width:max-content;padding:0 4px;overflow:visible}html[data-theme] .studio-shell .episode-rail-item{flex:0 0 252px;min-width:252px}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button,html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline){grid-template-columns:24px minmax(0,1fr) 6px;height:40px;min-height:40px;padding:4px 8px}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button>span,html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline)>span{border-radius:5px;width:24px;height:24px}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button>div{align-items:center;gap:8px;min-width:0;display:flex}html[data-theme] .studio-shell .production-layout .episode-rail strong{flex:1;min-width:0;font-size:13px}html[data-theme] .studio-shell .episode-rail-list small{flex:none}html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline){flex:0 0 220px;width:220px;margin:0}html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline)>div{gap:0}html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline) strong{line-height:1.2}html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline) small{font-size:11px;line-height:1.2}html[data-theme] .studio-shell .episode-rail-empty{min-width:252px;padding:4px 12px}}@media (width<=600px){html[data-theme] .studio-shell .episode-rail>header{display:none}html[data-theme] .studio-shell .production-layout .episode-rail{scroll-padding-inline-start:4px}}html[data-theme=dark]{--form-select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23abb4b9' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}html[data-theme=light]{--form-select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353636c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}html[data-theme] .studio-shell select:not([multiple]):not([size]){appearance:none;background-image:var(--form-select-chevron);background-position:right 12px center;background-repeat:no-repeat;background-size:14px 14px;padding-inline-end:36px}html[data-theme] .studio-shell .member-row select{width:96px}@media (forced-colors:active){html[data-theme] .studio-shell select:not([multiple]):not([size]){appearance:auto;background-image:none}}html[data-theme=light]{--canvas:#f6f7f9;--surface:#fff;--surface-sunken:#f2f4f7;--surface-editor:#fafbfc;--border:#e9ecf1;--border-strong:#d5dae2;--text-1:#101828;--text-2:#475467;--text-3:#667085;--text-4:#98a2b3;--brand-accent:#2563eb;--brand-hover:#1d4ed8;--brand-subtle:#eff4ff;--brand-foreground:#fff;--brand-rgb:37 99 235;--success:#067647;--warning:#b54708;--danger:#b42318;--surface-selected:#e9edf3;--surface-selected-hover:#e0e5ed;--floating-shadow:0 12px 32px #10182824;--workspace-card-shadow:0 1px 2px #1018280d}html[data-theme=dark]{--canvas:#191c22;--surface:#242830;--surface-sunken:#1f232b;--surface-editor:#20242c;--border:#343a46;--border-strong:#667085;--text-1:#f2f4f7;--text-2:#c6cedb;--text-3:#a4afc0;--text-4:#7d899d;--brand-accent:#8bb4ff;--brand-hover:#a8c7ff;--brand-subtle:#293c5b;--brand-foreground:#142440;--brand-rgb:139 180 255;--success:#75e0a7;--warning:#fec84b;--danger:#fda29b;--surface-selected:#353d4a;--surface-selected-hover:#414b5a;--floating-shadow:0 12px 32px #00000052;--workspace-card-shadow:0 1px 2px #00000029, inset 0 1px 0 #ffffff06}html[data-theme],html[data-theme] .studio-shell,html[data-theme] .studio-shell :is(.topbar,.episode-rail){--accent:var(--brand-accent);--accent-hover:var(--brand-hover);--accent-subtle:var(--brand-subtle);--accent-soft:var(--accent-subtle);--bg:var(--canvas);--bg-soft:var(--surface-sunken);--panel:var(--surface);--panel-2:var(--surface-sunken);--panel-3:var(--surface-selected);--line:var(--border);--line-strong:var(--border-strong);--chrome:var(--canvas);--editor-field:var(--surface-editor);--tool-surface:var(--surface-sunken);--surface-shadow:none;--text:var(--text-1);--muted:var(--text-2);--muted-2:var(--text-3);--lime:var(--accent);--lime-2:var(--accent-hover);--lime-soft:var(--accent-subtle);--on-accent:var(--brand-foreground);--accent-rgb:var(--brand-rgb);--action-bg:var(--accent);--action-text:var(--on-accent);--action-hover:var(--accent-hover);--selected-bg:var(--surface-selected);--selected-border:var(--border-strong);--selected-hover:var(--surface-selected-hover);--blue:var(--text-2);--purple:var(--text-2);--amber:var(--warning);--red:var(--danger);--topbar-bg:var(--surface);--panel-translucent:var(--surface)}html[data-theme] .studio-shell:has(.generation-workbench){--accent:var(--brand-accent);--accent-hover:var(--brand-hover);--accent-subtle:var(--brand-subtle);--accent-soft:var(--accent-subtle);--bg:var(--canvas);--bg-soft:var(--surface-sunken);--panel:var(--surface);--panel-2:var(--surface-sunken);--panel-3:var(--surface-selected);--line:var(--border);--line-strong:var(--border-strong);--chrome:var(--canvas);--editor-field:var(--surface-editor);--tool-surface:var(--surface-sunken);--surface-shadow:none;--text:var(--text-1);--muted:var(--text-2);--muted-2:var(--text-3);--lime:var(--accent);--lime-2:var(--accent-hover);--lime-soft:var(--accent-subtle);--on-accent:var(--brand-foreground);--accent-rgb:var(--brand-rgb);--action-bg:var(--accent);--action-text:var(--on-accent);--action-hover:var(--accent-hover);--selected-bg:var(--surface-selected);--selected-border:var(--border-strong);--selected-hover:var(--surface-selected-hover);--blue:var(--text-2);--purple:var(--text-2);--amber:var(--warning);--red:var(--danger);--topbar-bg:var(--surface);--panel-translucent:var(--surface)}html[data-theme] .studio-shell{--topbar:56px;--radius:10px;--radius-sm:6px;--font-ui:-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;background:var(--bg);color:var(--text);font-family:var(--font-ui);font-size:14px}html[data-theme] .studio-shell ::selection{background:var(--action-bg);color:var(--action-text)}html[data-theme] .studio-shell :is(input,textarea)::placeholder{color:var(--muted-2);opacity:1}html[data-theme] .studio-shell :is(button,input,textarea,select,summary):focus-visible{outline:2px solid var(--lime);outline-offset:3px}html[data-theme] .studio-shell :is(.primary-button,.outline-button){height:36px;min-height:36px;box-shadow:none;border-radius:6px;gap:7px;padding-inline:12px;font-size:14px;font-weight:600;transition:background-color .14s ease-out,border-color .14s ease-out,color .14s ease-out;transform:none}html[data-theme] .studio-shell .primary-button{background:var(--action-bg);color:var(--action-text);border:1px solid #0000}html[data-theme] .studio-shell .primary-button:hover:not(:disabled){background:var(--action-hover);transform:none}html[data-theme] .studio-shell .outline-button{border:1px solid var(--line);background:var(--panel);color:var(--text)}html[data-theme] .studio-shell .outline-button:hover:not(:disabled){border-color:var(--line-strong);background:var(--panel-2);transform:none}html[data-theme] .studio-shell :is(.primary-button,.outline-button):disabled{border-color:var(--line);background:var(--panel-2);color:var(--muted);opacity:1;box-shadow:none}html[data-theme] .studio-shell .outline-button:is(.danger,.danger-button){color:var(--red)}html[data-theme] .studio-shell .panel{background-color:var(--panel);box-shadow:none;border-radius:10px}html[data-theme] .studio-shell :is(.production-workspace,.episode-rail-list,.version-timeline){scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}html[data-theme] .studio-shell .script-editor-panel>textarea{caret-color:var(--lime)}html[data-theme] .studio-shell .topbar{border-bottom-color:var(--line);background:var(--panel);gap:16px;padding-inline:20px}html[data-theme] .studio-shell .workspace-top-nav{align-items:center;gap:3px}html[data-theme] .studio-shell .workspace-top-nav button{height:40px;min-height:40px;color:var(--muted);border-radius:6px;padding-inline:11px;font-size:14px;font-weight:500}html[data-theme] .studio-shell .workspace-top-nav button svg{width:16px;height:16px}html[data-theme] .studio-shell .workspace-top-nav button.is-active{color:var(--lime);background:0 0;font-weight:600}html[data-theme] .studio-shell .workspace-top-nav button.is-active:focus-visible{outline-color:var(--lime)}html[data-theme] .studio-shell .workspace-top-nav button:after{display:none}html[data-theme] .studio-shell .workspace-top-nav button.is-active:after{background:var(--lime);border-radius:1px;height:2px;display:block;bottom:0;left:11px;right:11px}html[data-theme] .studio-shell .workspace-top-nav button:hover:not(.is-active){background:var(--panel-2);color:var(--text)}html[data-theme] .studio-shell .topbar :is(.task-center-bell,.user-avatar-button){border-color:var(--line);background-color:var(--panel);color:var(--text);box-shadow:none;border-radius:6px}html[data-theme] .studio-shell .topbar .task-center-bell.has-alert{border-color:color-mix(in srgb, var(--red) 55%, var(--line));color:var(--red)}html[data-theme] .studio-shell .topbar :is(.task-center-bell,.user-avatar-button){width:34px;height:34px;min-height:34px}html[data-theme] .studio-shell .topbar .user-avatar-button{white-space:nowrap;border-color:var(--line);background-color:var(--panel-3);color:var(--text);padding:0;font-size:12px}html[data-theme] .studio-shell .project-avatar{border-color:var(--line);background:var(--panel-3);color:var(--text);font-weight:600}html[data-theme] .studio-shell .project-switcher{border-radius:6px}html[data-theme] .studio-shell .project-switcher:hover{background:var(--panel-2)}html[data-theme] .studio-shell .episode-rail>header button{color:var(--muted);background:0 0;border-color:#0000;border-radius:6px}html[data-theme] .studio-shell .production-layout{background:var(--bg);grid-template-columns:216px minmax(0,1fr);gap:0;padding-right:0}html[data-theme] .studio-shell .production-layout .episode-rail{border:1px solid var(--border);background:var(--surface);box-shadow:var(--workspace-card-shadow);border-radius:16px;margin:12px 0 12px 12px}html[data-theme] .studio-shell .episode-rail>header{background:0 0;border-bottom:0;min-height:54px;padding:12px}html[data-theme] .studio-shell .production-layout .episode-rail>header strong{font-size:14px}html[data-theme] .studio-shell .episode-rail-list{gap:6px;padding:8px 8px 12px}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button{border-radius:10px;gap:8px;height:auto;min-height:68px;padding:10px}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button>div>strong{-webkit-line-clamp:2;white-space:normal;text-wrap:pretty;-webkit-box-orient:vertical;font-size:14px;font-weight:500;line-height:1.5;display:-webkit-box;overflow:hidden}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button>div>small{color:var(--text-2);font-size:13px;line-height:1.5}html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline){background:var(--panel-2);border-color:#0000;width:calc(100% - 24px);margin:4px 12px 8px}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button>i{box-shadow:none}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button.is-active,html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline).is-active{background:var(--selected-bg);color:var(--text);box-shadow:none;border-color:#0000}html[data-theme] .studio-shell .episode-rail button.is-active strong{color:var(--text-1);font-weight:600}html[data-theme] .studio-shell .episode-rail button.is-active small{color:var(--muted)}html[data-theme] .studio-shell .episode-rail button.is-active:focus-visible{outline-color:var(--lime)}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button.is-active>span,html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline).is-active>span{background:var(--surface);color:var(--text-1);font-weight:600}html[data-theme] .studio-shell .episode-rail-item:has(.episode-reorder-grip)>button{grid-template-columns:28px minmax(0,1fr) 24px;gap:8px}html[data-theme] .studio-shell .episode-rail-item:has(.episode-reorder-grip)>button>i{visibility:hidden}html[data-theme] .studio-shell .episode-reorder-grip{z-index:3;position:absolute;top:50%;right:5px;transform:translateY(-50%)}html[data-theme] .studio-shell .episode-reorder-handle{width:28px;height:36px;color:var(--muted-2);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}html[data-theme] .studio-shell .episode-reorder-handle svg{pointer-events:none;width:16px;height:20px}html[data-theme] .studio-shell .episode-reorder-handle:hover:not(:disabled){background:var(--panel-3);color:var(--text)}html[data-theme] .studio-shell .episode-reorder-handle:active:not(:disabled),html[data-theme] .studio-shell .episode-reorder-handle[aria-pressed=true]{background:var(--panel-3);color:var(--text);cursor:grabbing}html[data-theme] .studio-shell .episode-rail-item:has(>button.is-active) .episode-reorder-handle{color:var(--muted)}html[data-theme] .studio-shell .episode-rail-item:has(>button.is-active) .episode-reorder-handle:is(:hover,:active,[aria-pressed=true]):not(:disabled){background:var(--selected-hover);color:var(--text)}html[data-theme] .studio-shell .episode-rail-item:has(>button.is-active) .episode-reorder-handle:focus-visible{outline-color:var(--text)}html[data-theme] .studio-shell .episode-reorder-handle:disabled{opacity:.35;cursor:default}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item{border-radius:10px;align-items:center;gap:2px;min-width:0;transition:background-color .12s,box-shadow .12s;display:flex}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button{flex:auto;width:auto;min-width:0;margin:0}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item:hover{background:var(--surface-sunken)}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item:has(>button.is-active){background:var(--brand-subtle);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--brand-accent) 24%, transparent)}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item:has(>button.is-active):hover{background:color-mix(in srgb, var(--brand-accent) 10%, var(--brand-subtle))}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button,html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button:hover,html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button.is-active{background:0 0}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item:has(>button.is-active)>button>span{background:var(--brand-accent);color:var(--brand-foreground);font-weight:700}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button>i{display:none}html[data-theme] .studio-shell .episode-rail-check{cursor:pointer;flex:none;place-items:center;width:24px;display:grid}html[data-theme] .studio-shell .episode-rail-check input{width:15px;height:15px;accent-color:var(--lime);cursor:pointer;margin:0}html[data-theme] .studio-shell .episode-rail-check input:disabled{cursor:default;opacity:.45}html[data-theme] .studio-shell .episode-rail-bulk{border-bottom:1px solid var(--line);max-width:100%;min-height:40px;color:var(--muted);flex:none;align-items:center;gap:8px;padding:6px 10px 7px 12px;font-size:12px;display:flex}html[data-theme] .studio-shell .episode-rail-select-all{cursor:pointer;align-items:center;gap:6px;display:flex}html[data-theme] .studio-shell .episode-rail-select-all input{width:15px;height:15px;accent-color:var(--lime);cursor:pointer;margin:0}html[data-theme] .studio-shell .episode-rail-select-all input:disabled{cursor:default;opacity:.45}html[data-theme] .studio-shell .episode-rail-picked{color:var(--text-2,var(--muted));font-variant-numeric:tabular-nums;margin-left:auto}html[data-theme] .studio-shell .episode-rail-batch-delete{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;flex:none;place-items:center;font-size:12px;display:grid}html[data-theme] .studio-shell .episode-rail-batch-delete svg{width:15px;height:15px}html[data-theme] .studio-shell .episode-rail-batch-delete:hover:not(:disabled){border-color:color-mix(in srgb, var(--red) 45%, transparent);background:color-mix(in srgb, var(--red) 12%, transparent);color:var(--red)}html[data-theme] .studio-shell .episode-rail-batch-delete:disabled{opacity:.35;cursor:default}html[data-theme] .studio-shell .episode-rail-list.is-reordering{--episode-reorder-transition:transform .18s cubic-bezier(.23, 1, .32, 1);cursor:grabbing;-webkit-user-select:none;user-select:none}html[data-theme] .studio-shell .episode-rail-list.is-reordering .episode-rail-item{transition:var(--episode-reorder-transition)}html[data-theme] .studio-shell .episode-rail-list.is-keyboard-reordering{--episode-reorder-transition:none}html[data-theme] .studio-shell .episode-rail-list.is-settling{cursor:progress}html[data-theme] .studio-shell .episode-rail-list.is-reordering .episode-rail-item.is-dragging{z-index:4;background:var(--surface);outline:1px solid var(--line-strong);border-radius:10px;transition:none;box-shadow:0 4px 14px #00000029}html[data-theme] .studio-shell .episode-rail-list.is-settling .episode-rail-item.is-dragging{transition:var(--episode-reorder-transition)}html[data-theme] .studio-shell :is(.episode-reorder-instructions,.episode-reorder-status){clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1180px){html[data-theme] .studio-shell .episode-rail-list{padding:0 6px}html[data-theme] .studio-shell .episode-rail-bulk{border-right:1px solid var(--line);border-bottom:0;align-self:stretch;width:116px;min-height:0;padding:0 8px}html[data-theme] .studio-shell .episode-rail-picked{display:none}}@media (width<=600px),(pointer:coarse){html[data-theme] .studio-shell .episode-reorder-grip{right:0}html[data-theme] .studio-shell .episode-reorder-handle{width:44px;height:44px}html[data-theme] .studio-shell .episode-rail-item:has(.episode-reorder-grip)>button{grid-template-columns:24px minmax(0,1fr) 36px}html[data-theme] .studio-shell .episode-rail-check{width:34px}html[data-theme] .studio-shell .episode-rail-check input,html[data-theme] .studio-shell .episode-rail-select-all input{width:20px;height:20px}html[data-theme] .studio-shell .episode-rail-bulk{min-height:48px}html[data-theme] .studio-shell .episode-rail-batch-delete{width:40px;height:40px}}html[data-theme] .studio-shell .production-workspace{scrollbar-gutter:auto}html[data-theme] .studio-shell .production-workspace>:is(.page-content,.shot-list-page):not(.script-page){padding:12px 16px}html[data-theme] .studio-shell .workspace-skeleton{background:color-mix(in srgb, var(--line) 64%, var(--panel));border-radius:3px;height:10px;display:block}html[data-theme] .studio-shell .workspace-loading-episodes{flex-direction:column;gap:5px;min-width:0;padding:0 10px 16px;display:flex}html[data-theme] .studio-shell .workspace-loading-episode{flex:none;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px;min-width:0;height:62px;padding:10px;display:grid}html[data-theme] .studio-shell .workspace-loading-episode .episode-loading-index{border-radius:6px;width:28px;height:28px}html[data-theme] .studio-shell .workspace-loading-episode>span{gap:8px;min-width:0;display:grid}html[data-theme] .studio-shell .workspace-loading-episode>span>i:first-child{width:84%}html[data-theme] .studio-shell .workspace-loading-episode>span>i:last-child{opacity:.65;width:54%;height:7px}html[data-theme] .studio-shell .workspace-loading-content{width:100%;max-width:1600px;margin-inline:auto;padding:12px 16px}html[data-theme] .studio-shell :is(.workspace-loading-status,.workspace-sync-status){min-width:0;color:var(--muted);align-items:center;gap:8px;font-size:12px;line-height:20px;display:flex}html[data-theme] .studio-shell :is(.workspace-loading-status,.workspace-sync-status)>svg{flex:none;width:14px;height:14px;animation:1.4s linear infinite workspace-loading-turn}html[data-theme] .studio-shell .workspace-loading-status{min-height:24px;margin-bottom:24px}html[data-theme] .studio-shell .workspace-loading-surface{border:1px solid color-mix(in srgb, var(--line) 60%, var(--panel));background:var(--panel);border-radius:8px;align-content:start;gap:36px;min-width:0;height:min(48vh,440px);min-height:320px;padding:28px;display:grid}html[data-theme] .studio-shell .workspace-loading-heading{gap:12px;display:grid}html[data-theme] .studio-shell .workspace-loading-heading>i:first-child{width:min(200px,54%);height:18px}html[data-theme] .studio-shell .workspace-loading-heading>i:last-child{opacity:.65;width:min(320px,72%);height:9px}html[data-theme] .studio-shell .workspace-loading-body{grid-template-columns:minmax(0,1fr) minmax(160px,.46fr);align-items:start;gap:40px;min-width:0;display:grid}html[data-theme] .studio-shell .workspace-loading-copy{gap:16px;min-width:0;padding-block:4px;display:grid}html[data-theme] .studio-shell .workspace-loading-copy>i{opacity:.7;height:9px}html[data-theme] .studio-shell .workspace-loading-copy>i:nth-child(2){width:93%}html[data-theme] .studio-shell .workspace-loading-copy>i:nth-child(3){width:78%}html[data-theme] .studio-shell .workspace-loading-copy>i:nth-child(4){width:88%;margin-top:12px}html[data-theme] .studio-shell .workspace-loading-copy>i:last-child{width:64%}html[data-theme] .studio-shell .workspace-loading-preview{aspect-ratio:16/10;border:1px solid color-mix(in srgb, var(--line) 48%, var(--panel));background:var(--panel-2);border-radius:6px;width:100%;max-height:200px}@keyframes workspace-loading-turn{to{transform:rotate(360deg)}}html[data-theme] .studio-shell :is(.page-header,.projects-head) .eyebrow{display:none}html[data-theme] .studio-shell .page-header{gap:12px;min-width:0;margin-bottom:12px}html[data-theme] .studio-shell .page-header>div{min-width:0}html[data-theme] .studio-shell .page-header h1{color:var(--text);letter-spacing:-.02em;margin:0;font-size:22px;font-weight:650;line-height:1.35}html[data-theme] .studio-shell .page-header p{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.6}html[data-theme] .studio-shell .page-header-actions{flex-wrap:wrap;gap:12px;min-width:0}html[data-theme] .studio-shell :is(.panel-heading.simple h3,.task-section-head h3,.asset-library-title h1){color:var(--text);font-size:16px;font-weight:600}html[data-theme] .studio-shell :is(.panel-heading.simple>span,.task-section-head small){color:var(--muted);font-size:12px}html[data-theme] .studio-shell .module-script>.production-workspace{padding:12px 16px}html[data-theme] .studio-shell .production-workspace>.script-page{max-width:1600px;box-shadow:none;--script-focus:var(--accent);background:0 0;border:0;border-radius:0;gap:12px;margin-inline:auto;padding:0}html[data-theme] .studio-shell .production-workspace>.script-page-wide{max-width:none}html[data-theme] .studio-shell .script-page>.page-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:56px;margin:0;padding:0 4px;display:grid}html[data-theme] .studio-shell .script-page>.page-header>div:first-child{gap:4px;min-width:0;display:grid}html[data-theme] .studio-shell .script-page>.page-header h1{margin:0;font-size:22px;font-weight:650;line-height:30px}html[data-theme] .studio-shell .script-page>.page-header p{min-width:0;max-width:none;color:var(--text-2);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:20px}html[data-theme] .studio-shell .script-page .page-header-actions{flex:none;width:auto;min-width:0}html[data-theme] .studio-shell .production-workspace .script-layout{min-height:480px;box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) 280px;align-items:stretch;gap:12px;overflow:visible}html[data-theme] .studio-shell .script-layout>.script-draft-banner{border-color:var(--border);background:var(--surface);grid-column:1/-1}html[data-theme] .studio-shell .production-workspace .script-editor-panel{border:1px solid var(--border);background:var(--surface);min-width:0;height:auto;min-height:480px;box-shadow:var(--workspace-card-shadow);border-radius:16px;flex-direction:column;display:flex;overflow:hidden}html[data-theme] .studio-shell .script-editor-panel .editor-toolbar{background:0 0;border:0;flex:none;grid-template:"heading actions""meta meta"/minmax(0,1fr) auto;align-items:center;gap:4px 12px;min-width:0;min-height:0;padding:16px 16px 0;display:grid}html[data-theme] .studio-shell .script-document-heading{flex-wrap:wrap;grid-area:heading;align-items:center;gap:8px 12px;min-width:0;display:flex}html[data-theme] .studio-shell .script-document-title{color:var(--text-1);font-size:16px;font-weight:600;line-height:24px}html[data-theme] .studio-shell .script-editor-panel .version-badge{min-width:0;color:var(--text-3);gap:6px}html[data-theme] .studio-shell .script-editor-panel .version-badge :is(svg,span){color:var(--text-3);font-size:12px}html[data-theme] .studio-shell .script-editor-panel .version-badge strong{background:var(--surface-sunken);color:var(--text-2);font-variant-numeric:tabular-nums;padding:2px 6px;font-size:12px;font-weight:500}html[data-theme] .studio-shell .script-editor-panel .editor-meta{grid-area:meta;gap:4px 12px;min-width:0}html[data-theme] .studio-shell .script-editor-panel .editor-meta span{min-width:0;max-width:100%;color:var(--text-3);font-variant-numeric:tabular-nums;text-overflow:ellipsis;font-size:13px;line-height:20px;overflow:hidden}html[data-theme] .studio-shell .script-editor-actions{flex-wrap:wrap;grid-area:actions;justify-content:flex-end;gap:8px;display:flex}html[data-theme] .studio-shell .script-editor-actions>button{white-space:nowrap;min-height:36px;padding-inline:12px;font-size:13px}html[data-theme] .studio-shell .script-editor-actions .script-export-button:active:not(:disabled){background:var(--surface-sunken)}html[data-theme] .studio-shell .script-editor-actions .script-export-button:disabled{opacity:.48}@container script-editor (width<=450px){html[data-theme] .studio-shell .script-editor-panel .editor-toolbar{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading""meta""actions"}html[data-theme] .studio-shell .script-editor-actions{margin-top:4px}}html[data-theme] .studio-shell .production-workspace .script-editor-panel>textarea{field-sizing:content;background:var(--surface);width:100%;height:auto;min-height:320px;color:var(--text-1);font-family:var(--font-ui);tab-size:2;resize:none;caret-color:var(--accent);border:0;border-radius:0;flex:1 0 auto;padding:20px 16px;font-size:16px;line-height:1.75;overflow:hidden}html[data-theme] .studio-shell .script-editor-panel>textarea::placeholder{color:var(--text-3)}html[data-theme] .studio-shell .script-editor-panel>textarea::selection{background:var(--accent-subtle);color:var(--text-1)}html[data-theme] .studio-shell .script-page .script-editor-panel>textarea:focus-visible{box-shadow:inset 0 0 0 1px var(--script-focus);outline:none}html[data-theme] .studio-shell .script-page :is(button,input,select,summary):focus-visible{outline:2px solid var(--script-focus);outline-offset:2px}html[data-theme] .studio-shell .script-editor-panel>.editor-footer{flex:none}html[data-theme] .studio-shell .script-page .editor-footer{background:var(--surface-editor);min-height:36px;color:var(--text-3);border:0;flex-wrap:wrap;gap:4px 16px;padding:8px 16px;font-size:12px;line-height:20px}html[data-theme] .studio-shell .script-page .editor-footer i{background:var(--text-3);width:5px;height:5px}html[data-theme] .studio-shell .production-workspace .script-aside{background:0 0;border:0;gap:12px;min-width:0;height:auto;padding:0;display:flex}html[data-theme] .studio-shell .script-page :is(.script-breakdown-panel,.version-panel,.script-file-actions){border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:var(--workspace-card-shadow);border-radius:16px;flex:none;padding:16px}html[data-theme] .studio-shell .script-page .panel-heading.simple{justify-content:space-between;align-items:center;gap:8px;margin:0;display:flex}html[data-theme] .studio-shell .script-page .panel-heading.simple h3{font-size:15px;font-weight:600}html[data-theme] .studio-shell .script-page .panel-heading.simple>span{color:var(--text-3);white-space:nowrap;font-size:12px}html[data-theme] .studio-shell .script-breakdown-description{color:var(--text-3);margin:8px 0 12px;font-size:13px;line-height:1.65}html[data-theme] .studio-shell .script-breakdown-hint{color:var(--text-3);grid-column:1/-1;margin:0;font-size:12px;line-height:1.6}html[data-theme] .studio-shell .script-page .script-header-breakdown{grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;display:grid}html[data-theme] .studio-shell .script-header-breakdown .shot-list-rule-select{grid-template-columns:minmax(0,1fr);gap:6px;min-width:0;display:grid}html[data-theme] .studio-shell .script-header-breakdown .shot-list-rule-select>span{color:var(--text-2);white-space:nowrap;font-size:13px}html[data-theme] .studio-shell .script-header-breakdown select{border-color:var(--border-strong);background-color:var(--surface-editor);width:100%;min-width:0;max-width:none;height:36px;min-height:36px;color:var(--text-1);border-radius:6px;font-size:13px}html[data-theme] .studio-shell .script-header-breakdown>button{width:100%;min-height:36px;padding:8px 12px;font-size:13px}html[data-theme] .studio-shell .script-header-breakdown>.primary-button:not(:disabled){border-color:var(--border-strong);background:var(--surface);color:var(--text-1)}html[data-theme] .studio-shell .script-header-breakdown>.primary-button:hover:not(:disabled){background:var(--surface-sunken)}html[data-theme] .studio-shell .script-breakdown-standalone .script-header-breakdown{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end}html[data-theme] .studio-shell .production-workspace .script-aside .version-timeline{flex:none;gap:8px;min-height:0;max-height:320px;margin-top:16px}html[data-theme] .studio-shell .script-page .version-timeline:before{content:none}html[data-theme] .studio-shell .script-page .version-timeline button{text-align:left;background:0 0;border:0;border-radius:6px;flex:none;grid-template-columns:6px minmax(0,1fr);gap:10px;min-height:0;padding:12px 0;transition:background-color .14s ease-out}html[data-theme] .studio-shell .script-page .script-aside .version-timeline button:hover:not(:disabled){background:var(--surface-editor)}html[data-theme] .studio-shell .script-page .version-timeline button.current:disabled{color:var(--text-1);opacity:1;cursor:default;background:0 0}html[data-theme] .studio-shell .script-page .version-timeline i{background:var(--text-3);width:5px;height:5px;box-shadow:none;border:0;margin-top:8px}html[data-theme] .studio-shell .script-page .version-timeline .current i{background:var(--text-1)}html[data-theme] .studio-shell .script-page .script-revision-copy{gap:8px}html[data-theme] .studio-shell .script-page .script-revision-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;display:flex}html[data-theme] .studio-shell .script-page .script-revision-heading strong{font-size:14px;font-weight:600}html[data-theme] .studio-shell .script-page .script-revision-heading>span{color:var(--text-2);font-size:12px}html[data-theme] .studio-shell .script-page .version-timeline .reusing i{background:var(--brand-accent)}html[data-theme] .studio-shell .script-page .script-revision-heading>.script-revision-reuse{background:var(--brand-subtle);color:var(--brand-accent);white-space:nowrap;border-radius:4px;padding:2px 8px;font-weight:600}html[data-theme] .studio-shell .script-page .script-revision-meta{flex-wrap:wrap;gap:4px 8px;display:flex}html[data-theme] .studio-shell .script-page .version-timeline :is(small,time,em,.script-revision-meta>span){color:var(--text-3);font-variant-numeric:tabular-nums;font-size:12px;line-height:1.6}html[data-theme] .studio-shell .script-page .version-timeline em{overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}html[data-theme] .studio-shell .script-page .version-timeline .compact-empty{text-align:left;min-height:96px;color:var(--text-3);background:0 0;border:0;align-content:center;gap:6px;padding:8px 0;font-size:13px;line-height:1.6;display:grid}html[data-theme] .studio-shell .script-page .version-timeline .compact-empty strong{color:var(--text-2);font-size:14px;font-weight:500}html[data-theme] .studio-shell .production-workspace .script-layout-stacked{flex-direction:column;min-width:0;min-height:0;display:flex}html[data-theme] .studio-shell .script-layout-stacked>.script-draft-banner{flex:none}html[data-theme] .studio-shell .script-layout-stacked .script-draft-banner span{min-width:min(100%,220px)}html[data-theme] .studio-shell .production-workspace .script-layout-stacked>.script-editor-panel{flex:1 0 auto;min-height:0}html[data-theme] .studio-shell .script-history-row{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:12px;display:grid}html[data-theme] .studio-shell .script-page .script-history-row>:is(.script-history-strip,.script-file-actions){padding:8px 12px}html[data-theme] .studio-shell .script-file-actions{align-content:center;gap:6px;display:grid}html[data-theme] .studio-shell .script-file-actions>button{min-height:44px}html[data-theme] .studio-shell .script-page .script-history-row>.script-file-actions{flex-wrap:wrap;place-content:center flex-end;align-items:center;gap:8px;padding:6px 10px;display:flex}html[data-theme] .studio-shell .script-page .script-history-row>.script-file-actions>button{height:44px;min-height:44px;padding:0 12px;font-size:13px;font-weight:500;line-height:16px}html[data-theme] .studio-shell .script-page .script-history-row>.script-file-actions>button>svg{width:15px;height:15px}html[data-theme] .studio-shell .script-page .script-history-row>.script-history-strip{flex-wrap:wrap;align-content:center;align-items:center;gap:4px 10px;padding:6px 10px;display:flex}html[data-theme] .studio-shell .script-history-strip .panel-heading.simple{flex-wrap:nowrap;flex:none;justify-content:flex-start;gap:6px}html[data-theme] .studio-shell .script-history-strip .panel-heading.simple h3{font-size:13px;line-height:16px}html[data-theme] .studio-shell .script-history-strip .panel-heading.simple>span{font-size:11px;line-height:16px}html[data-theme] .studio-shell .script-history-strip .version-timeline{overscroll-behavior-inline:contain;flex-direction:row;flex:200px;gap:6px;min-width:0;max-height:none;margin-top:0;overflow:auto hidden}html[data-theme] .studio-shell .script-history-strip .version-timeline:focus-visible{outline:2px solid var(--script-focus);outline-offset:2px;border-radius:8px}html[data-theme] .studio-shell .script-history-strip .version-timeline>button{border:1px solid var(--border);background:var(--surface-editor);min-width:0;min-height:44px;color:var(--text-1);border-radius:8px;flex-direction:column;flex:0 0 min(224px,100%);justify-content:center;align-items:stretch;gap:0;padding:4px 8px;display:flex}html[data-theme] .studio-shell .script-history-strip .version-timeline>button:focus-visible{outline-offset:-2px}@media (hover:hover){html[data-theme] .studio-shell .script-history-strip .version-timeline>button:hover:not(:disabled,.reusing){border-color:var(--border-strong);background:var(--surface-sunken)}}html[data-theme] .studio-shell .script-history-strip .version-timeline>button.current:disabled{border-color:var(--border-strong);background:var(--surface-editor)}html[data-theme] .studio-shell .script-history-strip .version-timeline>button.reusing{border-color:color-mix(in srgb, var(--accent) 36%, var(--border));background:var(--accent-subtle)}html[data-theme] .studio-shell .script-history-strip .version-timeline>button:active:not(:disabled){border-color:var(--accent)}html[data-theme] .studio-shell .script-history-strip .version-timeline>button:disabled:not(.current){cursor:not-allowed}html[data-theme] .studio-shell .script-history-strip .script-revision-copy{flex-direction:column;gap:1px;min-width:0;display:flex}html[data-theme] .studio-shell .script-history-strip .script-revision-heading{line-height:16px}html[data-theme] .studio-shell .script-history-strip .script-revision-heading strong{font-size:13px}html[data-theme] .studio-shell .script-history-strip .script-revision-heading>span{white-space:nowrap;padding-block:0;font-size:11px}html[data-theme] .studio-shell .script-history-strip .script-revision-meta{white-space:nowrap;flex-wrap:nowrap;align-items:baseline;gap:0 5px;min-width:0;line-height:15px;display:flex;overflow:hidden}html[data-theme] .studio-shell .script-history-strip .version-timeline .script-revision-meta>:is(time,em,small){min-width:0;color:var(--text-3);font-variant-numeric:tabular-nums;font-size:11px;line-height:15px}html[data-theme] .studio-shell .script-history-strip .script-revision-meta>time{flex:none}html[data-theme] .studio-shell .script-history-strip .script-revision-meta>em{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-style:normal;display:block;overflow:hidden}html[data-theme] .studio-shell .script-history-strip .script-revision-meta>small{text-overflow:ellipsis;white-space:nowrap;flex:none;max-width:46%;display:block;overflow:hidden}html[data-theme] .studio-shell .script-history-strip .script-revision-meta>*+:before{color:var(--text-3);content:"·";margin-right:5px}html[data-theme] .studio-shell .script-history-strip .version-history-error{flex:1 0 100%}html[data-theme] .studio-shell .script-history-strip .version-timeline .compact-empty{gap:3px;min-height:36px;margin:0;padding:2px 0}@media (width>=961px) and (width<=1360px){html[data-theme] .studio-shell .production-workspace .script-layout{grid-template-columns:minmax(0,1fr) 248px}html[data-theme] .studio-shell .script-page :is(.script-breakdown-panel,.version-panel){padding:16px}}@media (width<=960px){html[data-theme] .studio-shell .production-workspace .script-layout{grid-template-columns:minmax(0,1fr)}html[data-theme] .studio-shell .production-workspace .script-aside{grid-template-columns:minmax(0,1fr);align-items:start;display:grid}}@media (width<=600px){html[data-theme] .studio-shell .module-script>.production-workspace{padding:12px}html[data-theme] .studio-shell .script-page>.page-header{gap:12px}html[data-theme] .studio-shell .script-page>.page-header h1{font-size:20px}html[data-theme] .studio-shell .script-page .page-header-actions>button{max-width:144px;padding:8px;font-size:12px}html[data-theme] .studio-shell .script-page .page-header-actions>.script-import-button{max-width:none}html[data-theme] .studio-shell .script-history-row{grid-template-columns:minmax(0,1fr)}html[data-theme] .studio-shell .script-file-actions>button{padding-inline:8px;font-size:12px}html[data-theme] .studio-shell .script-editor-panel .editor-toolbar{padding:16px 12px 0}html[data-theme] .studio-shell .script-document-heading{gap:4px 8px}html[data-theme] .studio-shell .script-editor-panel .version-badge :is(svg,span){display:none}html[data-theme] .studio-shell .script-page .script-header-breakdown select{height:44px;min-height:44px;font-size:16px}html[data-theme] .studio-shell .script-editor-actions>button{height:44px;min-height:44px;padding-inline:10px}html[data-theme] .studio-shell .production-workspace .script-editor-panel>textarea{min-height:380px;padding:16px 12px;font-size:16px}html[data-theme] .studio-shell .script-page .editor-footer{padding:8px 12px}html[data-theme] .studio-shell .production-workspace .script-aside{grid-template-columns:minmax(0,1fr)}html[data-theme] .studio-shell .script-page :is(.script-breakdown-panel,.version-panel){padding:16px}html[data-theme] .studio-shell .script-breakdown-standalone .script-header-breakdown{grid-template-columns:minmax(0,1fr)}}html[data-theme] .studio-shell .projects-page{padding:20px 24px}html[data-theme] .studio-shell :is(.projects-grid,.generation-layout,.mw-layout,.mw-sidebar),html[data-theme] .studio-shell .shot-list-page{gap:12px}html[data-theme] .studio-shell .shot-list-rows{padding:12px}html[data-theme] .studio-shell .task-section{margin-bottom:16px}html[data-theme] .studio-shell .soundtrack-module-toolbar{gap:12px;padding:12px 16px 0}@media (width<=600px){html[data-theme] .studio-shell .projects-page{padding:12px}html[data-theme] .studio-shell .soundtrack-module-toolbar{padding-inline:12px}}html[data-theme] .studio-shell :is(.project-card-large,.asset-card,.shot-list-row){box-shadow:none;border-radius:10px}html[data-theme] .studio-shell .asset-library-toolbar{gap:20px}html[data-theme] .studio-shell :is(.asset-library-actions>button,.asset-library-more>summary){border-radius:6px;min-height:36px;font-weight:600}html[data-theme] .studio-shell .asset-storyboard-button{border-color:var(--line)!important;background:var(--panel-2)!important;color:var(--text)!important}html[data-theme] .studio-shell .asset-kind{background:var(--panel-3);color:var(--text)}html[data-theme] .studio-shell .asset-copy{padding:14px 16px}html[data-theme] .studio-shell .asset-copy h3{color:var(--text);font-size:15px}html[data-theme] .studio-shell .asset-copy p{color:var(--muted);font-size:13px;line-height:1.6}html[data-theme] .studio-shell :is(.asset-card,.project-card-large){box-shadow:var(--surface-shadow)}html[data-theme] .studio-shell .asset-card:hover{border-color:var(--line-strong);box-shadow:var(--surface-shadow);transform:none}html[data-theme] .studio-shell .asset-card.no-preview .asset-visual{aspect-ratio:auto;background:var(--panel-2);border-bottom:0;height:88px}html[data-theme] .studio-shell .asset-card.no-preview .asset-unrendered-state{padding:36px 12px 12px}html[data-theme] .studio-shell .asset-card.no-preview .asset-unrendered-state :is(strong,small){display:none}html[data-theme] .studio-shell .asset-card .asset-copy h3{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;min-height:42px;font-size:14px;line-height:1.5;display:-webkit-box;overflow:hidden}html[data-theme] .studio-shell .asset-card-entry{border-top-color:var(--line);font-size:12px}html[data-theme] .studio-shell .asset-generate-button{color:var(--on-accent)!important}html[data-theme] .studio-shell .asset-generate-button:disabled{opacity:1;background:var(--panel-2)!important;color:var(--muted)!important}html[data-theme] .studio-shell .project-cover-placeholder{background:radial-gradient(circle at 24% 18%, rgb(var(--accent-rgb) / .07), transparent 58%), var(--panel-2)}html[data-theme] .studio-shell .project-cover-placeholder b{color:var(--muted);letter-spacing:.06em;opacity:.55;font-size:36px}html[data-theme] .studio-shell .project-card-body{padding:16px 18px}html[data-theme] .studio-shell .project-card-updated{color:var(--muted-2)}html[data-theme] .studio-shell .project-card-body h2{margin-block:8px 4px;font-size:18px;font-weight:600}html[data-theme] .studio-shell .task-card{padding:16px}html[data-theme] .studio-shell .task-card-title strong{font-size:14px}html[data-theme] .studio-shell .task-card-actions{flex-wrap:wrap}html[data-theme] .studio-shell .billing-panel .eyebrow{display:none}html[data-theme] .studio-shell :is(.generation-empty strong,.billing-empty strong){color:var(--text)}html[data-theme] .studio-shell :is(.wallet-balance,.billing-note,.operations-finance-summary>div,.ledger-entry){background:var(--panel-2)}html[data-theme] .studio-shell .operations-finance-summary>div{color:var(--text)}html[data-theme] .studio-shell .wallet-balance small{color:var(--muted)}html[data-theme] .studio-shell .billing-empty{border:1px solid var(--line)}html[data-theme] .studio-shell :is(.billing-empty small,.billing-note p,.operations-finance-summary span){color:var(--muted);font-size:12px;line-height:1.6}html[data-theme] .studio-shell .shot-list-page .shot-row-prompt pre{font-family:var(--font-ui);font-size:14px;line-height:1.8}@media (width<=1350px) and (width>=861px){html[data-theme] .studio-shell .topbar{gap:10px;padding-inline:12px}html[data-theme] .studio-shell .workspace-top-nav button{padding-inline:8px}}@media (width<=1180px){html[data-theme] .studio-shell .production-layout{grid-template-rows:64px minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:0;padding:0}html[data-theme] .studio-shell .production-layout .episode-rail{border:1px solid var(--border);border-radius:12px;gap:6px;margin:8px 16px 4px;padding-block:4px;scroll-padding-inline-start:136px}html[data-theme] .studio-shell .episode-rail>header{border-right:1px solid var(--line);background:var(--panel);width:128px;min-width:128px;min-height:0;padding:4px 12px}html[data-theme] .studio-shell .episode-rail>header strong{white-space:nowrap}html[data-theme] .studio-shell .episode-rail-list{padding:0 8px}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button{gap:8px;height:40px;min-height:40px;padding:4px 8px}html[data-theme] .studio-shell .episode-rail-list>.episode-rail-item>button>div>strong{white-space:nowrap;text-wrap:nowrap;display:block}html[data-theme] .studio-shell .episode-rail>:is(.episode-rail-project,.episode-rail-outline){width:220px;margin:0}html[data-theme] .studio-shell .workspace-loading-episodes{flex-direction:row;flex:none;gap:5px;width:max-content;padding:0 8px}html[data-theme] .studio-shell .workspace-loading-episode{grid-template-columns:24px minmax(0,1fr);gap:8px;width:220px;height:40px;padding:4px 8px}html[data-theme] .studio-shell .workspace-loading-episode .episode-loading-index{border-radius:5px;width:24px;height:24px}html[data-theme] .studio-shell .workspace-loading-episode>span{gap:6px}}@media (width<=860px){html[data-theme] .studio-shell{--topbar:52px}html[data-theme] .studio-shell .topbar{gap:6px;padding-inline:8px}html[data-theme] .studio-shell .workspace-top-nav button{height:44px;min-height:44px;padding-inline:8px;font-size:13px}html[data-theme] .studio-shell .topbar :is(.task-center-bell,.user-avatar-button){width:40px;height:44px;min-height:44px}html[data-theme] .studio-shell .production-workspace>:is(.page-content,.shot-list-page):not(.script-page),html[data-theme] .studio-shell .workspace-loading-content{padding:12px 16px}}@media (width<=600px){html[data-theme] .studio-shell .production-layout .episode-rail{margin-inline:12px;scroll-padding-inline-start:4px}html[data-theme] .studio-shell .workspace-top-nav button{padding-inline:7px}html[data-theme] .studio-shell .production-workspace>:is(.page-content,.shot-list-page):not(.script-page),html[data-theme] .studio-shell .workspace-loading-content{padding:12px}html[data-theme] .studio-shell .workspace-loading-status{margin-bottom:20px}html[data-theme] .studio-shell .workspace-loading-surface{gap:32px;min-height:300px;padding:20px}html[data-theme] .studio-shell .workspace-loading-body{grid-template-columns:minmax(0,1fr)}html[data-theme] .studio-shell .workspace-loading-preview{display:none}html[data-theme] .studio-shell .page-header h1{font-size:22px}html[data-theme] .studio-shell :is(.primary-button,.outline-button){height:auto;min-height:44px;padding-block:10px}html[data-theme] .studio-shell :is(.asset-library-actions>button,.asset-library-more>summary){min-height:44px}html[data-theme] .studio-shell .task-card{padding:16px}}@media (prefers-reduced-motion:reduce){html[data-theme] .studio-shell :is(.workspace-loading-status,.workspace-sync-status)>svg{animation:none}html[data-theme] .studio-shell .episode-rail-list.is-reordering{--episode-reorder-transition:none}html[data-theme] .studio-shell :is(.primary-button,.outline-button,.version-timeline button,.script-layout){transition:none}}html[data-theme] .studio-shell .production-layout.script-assets-layout{grid-template-rows:auto minmax(0,1fr)}.script-assets-header{border-bottom:1px solid var(--line);background:var(--panel);grid-column:1/-1;grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr);align-items:center;gap:20px;min-width:0;padding:18px 24px;display:grid}.script-assets-project{min-width:0}.script-assets-project strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:650;line-height:1.4;display:block;overflow:hidden}.script-assets-project p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:12px;line-height:1.5;overflow:hidden}.script-assets-steps{align-items:center;gap:8px;display:flex}.script-assets-steps button{min-height:44px;color:var(--muted);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:10px 14px;font-size:14px;font-weight:600;line-height:1.4;transition:background-color .14s ease-out,color .14s ease-out;display:inline-flex}.script-assets-steps button:not(:disabled):hover{background:var(--panel-2);color:var(--text)}.script-assets-steps button[aria-current=step]{border-color:color-mix(in srgb, var(--accent) 22%, var(--line));background:var(--accent-subtle);color:var(--accent)}.script-assets-steps svg{flex:none;width:18px;height:18px}.script-assets-step-number{font-variant-numeric:tabular-nums}.script-assets-next{white-space:nowrap;justify-self:end}.script-assets-synopsis-hint{color:var(--muted);grid-column:1/-1;margin:-4px 0 0;font-size:13px;line-height:1.5}.script-assets-synopsis-hint>.text-button{min-height:auto;font-size:inherit;text-underline-offset:3px;padding:0 2px;text-decoration:underline}@media (width>1180px){html[data-theme] .production-studio-shell .production-layout:is(.module-script,.module-storyboard,.module-assets){grid-template-columns:172px minmax(0,1fr)}html[data-theme] .studio-shell .script-assets-layout .episode-rail>header{padding-inline:8px}html[data-theme] .studio-shell .script-assets-layout .episode-rail-bulk{white-space:nowrap;gap:4px;padding-inline:8px}html[data-theme] .studio-shell .script-assets-layout .episode-rail-list{padding-inline:4px}html[data-theme] .studio-shell .script-assets-layout .episode-rail-list>.episode-rail-item{gap:0}html[data-theme] .studio-shell .script-assets-layout .episode-rail-check{width:22px}html[data-theme] .studio-shell .script-assets-layout .episode-rail-list>.episode-rail-item>button{grid-template-columns:24px minmax(0,1fr);gap:5px;padding-inline:4px 6px}html[data-theme] .studio-shell .script-assets-layout .episode-rail-item:has(.episode-reorder-grip)>button{padding-inline-end:35px}html[data-theme] .studio-shell .script-assets-layout .episode-rail-list>.episode-rail-item>button>span{width:24px;height:24px}html[data-theme] .studio-shell .script-assets-layout .episode-rail-list>.episode-rail-item>button small{white-space:normal;font-size:12px}html[data-theme] .studio-shell .script-assets-layout .episode-rail>:is(.episode-rail-project,.episode-rail-outline){grid-template-columns:24px minmax(0,1fr) 6px;gap:5px;width:calc(100% - 16px);margin-inline:8px;padding-inline:6px}html[data-theme] .studio-shell .script-assets-layout .episode-rail>:is(.episode-rail-project,.episode-rail-outline)>span{width:24px;height:24px}}@media (width>1180px) and (pointer:coarse){html[data-theme] .production-studio-shell .production-layout:is(.module-script,.module-storyboard,.module-assets){grid-template-columns:188px minmax(0,1fr)}html[data-theme] .studio-shell .script-assets-layout .episode-rail-bulk{grid-template-columns:minmax(0,1fr) auto;gap:2px 4px;display:grid}html[data-theme] .studio-shell .script-assets-layout .episode-rail-batch-delete{grid-area:1/2/3/3}html[data-theme] .studio-shell .script-assets-layout .episode-rail-picked{margin-inline-start:0}html[data-theme] .studio-shell .script-assets-layout .episode-rail-check{width:34px}html[data-theme] .studio-shell .script-assets-layout .episode-rail-item:has(.episode-reorder-grip)>button{padding-inline-end:46px}}.shot-list-page .shot-list-episode>header{flex-wrap:wrap;justify-content:flex-start;gap:10px 16px}.shot-list-episode-heading{overflow-wrap:anywhere;flex:13rem;min-width:0}.shot-list-episode>header>.shot-list-project-presets{flex:0 auto;max-width:18rem}.shot-list-episode>header>.shot-list-actions{flex:100%;justify-content:flex-end}.script-assets-generation{text-align:end;flex:0 29rem;min-width:min(100%,25rem);margin-inline-start:auto}.script-assets-generation .script-header-breakdown{grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:4px 8px;display:grid}.script-assets-generation .shot-list-rule-select{gap:4px}html[data-theme] .studio-shell .script-assets-generation .shot-list-rule-select>span{color:var(--muted);text-align:start;font-size:11px;line-height:1.4}html[data-theme] .studio-shell .script-assets-generation .shot-list-rule-select select{text-overflow:ellipsis;width:100%;max-width:none;min-height:36px}html[data-theme] .studio-shell .script-assets-generation .script-header-breakdown>button{white-space:nowrap;width:auto}html[data-theme] .studio-shell .script-assets-generation .primary-button:not(:disabled){background:var(--action-bg);color:var(--action-text);border-color:#0000}html[data-theme] .studio-shell .script-assets-generation .primary-button:hover:not(:disabled){background:var(--action-hover)}.storyboard-generation-notice{color:var(--muted);text-align:start;grid-column:1/-1;margin:0;font-size:12px;line-height:1.5}@media (width<=720px){.shot-list-episode>header>:is(.shot-list-episode-heading,.shot-list-project-presets,.script-assets-generation){flex-basis:100%}.shot-list-episode>header>.shot-list-project-presets{max-width:none}.shot-list-episode>header>.shot-list-actions{justify-content:flex-start}.script-assets-generation{text-align:start;margin-inline-start:0}}@media (width<=1180px){html[data-theme] .studio-shell .production-layout.script-assets-layout{grid-template-rows:auto 48px minmax(0,1fr)}html[data-theme] .studio-shell .script-assets-layout .episode-rail{margin:4px 16px 0;padding-block:0}.script-assets-header{grid-template-columns:minmax(0,1fr) auto auto;gap:16px;padding:14px 16px}}@media (width<=860px){.script-assets-header{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.script-assets-steps{grid-area:2/1/3/-1}html[data-theme] .studio-shell .script-assets-header>.script-assets-next{grid-area:1/2;gap:5px;min-height:44px;padding-inline:8px;font-size:12px}}@media (width<=600px){.script-assets-header{column-gap:8px;padding:12px}.script-assets-project strong{font-size:16px}.script-assets-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.script-assets-steps button{gap:4px;padding:8px 4px;font-size:12px}.script-assets-steps svg{display:none}.script-assets-generation .script-header-breakdown{grid-template-columns:auto minmax(0,1fr);gap:8px}.script-assets-generation .shot-list-rule-select{grid-column:1/-1}.script-assets-generation .primary-button svg{display:none}html[data-theme] .studio-shell .script-assets-generation .shot-list-rule-select select{height:44px;min-height:44px;font-size:16px}html[data-theme] .studio-shell .script-assets-generation button{min-height:44px}html[data-theme] .studio-shell .script-assets-layout .episode-rail{margin-inline:12px}}@media (prefers-reduced-motion:reduce){.script-assets-steps button{transition:none}}.ai-storyboard-tasks.storyboard-progress-panel{border-color:var(--line);background:var(--panel-2);gap:12px;margin-bottom:0;padding:12px}.storyboard-progress-panel>header small{color:var(--muted);margin-top:4px;display:block}.storyboard-progress-task{border:1px solid var(--line);background:var(--panel);border-radius:8px;min-width:0;padding:12px}.storyboard-progress-task-head,.storyboard-progress-batch{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;display:flex}.storyboard-progress-task-head>strong{overflow-wrap:anywhere;min-width:0;font-size:14px;font-weight:600;line-height:1.5}.storyboard-progress-stage{color:var(--text);font-size:13px;font-weight:600;line-height:1.5}.storyboard-progress-metrics{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:4px 16px;margin-top:8px;font-size:12px;line-height:1.5;display:flex}.storyboard-progress-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 0;padding:0;list-style:none;display:grid}.storyboard-progress-steps li{min-width:0;color:var(--muted);font-size:11px;line-height:1.5}.storyboard-progress-steps i{background:var(--line);border-radius:2px;height:3px;margin-bottom:4px;display:block}.storyboard-progress-steps .is-complete i{background:var(--muted)}.storyboard-progress-steps .is-current{color:var(--text);font-weight:600}.storyboard-progress-steps .is-current i{background:var(--text);animation:1.6s ease-in-out infinite storyboard-stage-pulse}.storyboard-progress-task.status-succeeded .storyboard-progress-stage{color:var(--lime)}.storyboard-progress-task.status-failed .storyboard-progress-stage{color:var(--red)}.storyboard-progress-task.status-unknown .storyboard-progress-stage{color:var(--amber)}.storyboard-progress-task.status-cancelled .storyboard-progress-stage{color:var(--muted)}.storyboard-progress-batch{color:var(--muted);font-variant-numeric:tabular-nums;padding:0 4px;font-size:12px;line-height:1.5}.storyboard-progress-batch strong{color:var(--text);font-weight:600}.storyboard-progress-hint{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.5}@keyframes storyboard-stage-pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.storyboard-progress-steps .is-current i{animation:none}}@media (width<=600px){.storyboard-progress-task-head{gap:4px 12px}.storyboard-progress-task-head>strong{flex-basis:100%}.storyboard-progress-batch{gap:4px}.storyboard-progress-batch>strong{flex-basis:100%}}html[data-theme] .episode-ai-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a70}html[data-theme] .episode-ai-modal{border:1px solid var(--border-strong);background:var(--surface);width:min(100%,1360px);min-width:0;height:min(940px,100dvh - 40px);max-height:calc(100dvh - 40px);color:var(--text-1);box-shadow:var(--floating-shadow);border-radius:14px;flex-direction:column;padding:0;display:flex;overflow:hidden}.episode-ai-heading{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 20px 13px;display:flex}.episode-ai-heading>div{min-width:0}.episode-ai-heading p{color:var(--accent);letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap;margin:0 0 3px;font-size:11px;font-weight:700;overflow:hidden}.episode-ai-heading h2{margin:0;font-size:19px;font-weight:650;line-height:1.35}.episode-ai-heading .icon-button{border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--text-2);border-radius:8px;flex:none;font-size:20px;line-height:1}.episode-ai-heading .icon-button:hover:not(:disabled){border-color:var(--border-strong);background:var(--surface-sunken);color:var(--text-1)}.episode-ai-body{flex-direction:column;flex:1;gap:11px;min-height:0;padding:13px 20px;display:flex;overflow:hidden}.episode-ai-scope{border:1px solid color-mix(in srgb, var(--accent) 30%, var(--border));background:color-mix(in srgb, var(--accent-subtle) 62%, var(--surface));border-radius:8px;flex:none;align-items:center;gap:11px;padding:9px 12px;display:flex}.episode-ai-scope-icon{background:color-mix(in srgb, var(--accent) 13%, var(--surface));width:29px;height:29px;color:var(--accent);border-radius:7px;flex:0 0 29px;place-items:center;font-size:14px;display:grid}.episode-ai-scope>div{gap:2px;min-width:0;display:grid}.episode-ai-scope>div>span{color:var(--text-1);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:700;overflow:hidden}.episode-ai-scope small{color:var(--text-3);font-size:11.5px;line-height:1.4}.episode-ai-scope b{color:var(--accent);font-variant-numeric:tabular-nums}.episode-ai-views{border:1px solid var(--border);background:var(--surface-sunken);border-radius:8px;flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;width:min(340px,100%);padding:2px;display:grid}.episode-ai-views button{min-height:32px;color:var(--text-3);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 10px;font-size:12.5px;font-weight:600}.episode-ai-views button:hover:not(:disabled){color:var(--text-1)}.episode-ai-views button[aria-selected=true]{background:var(--surface);color:var(--accent);box-shadow:0 1px 3px #1018281f}.episode-ai-views button:disabled{opacity:.45;cursor:default}.episode-ai-modal :is(button,select,textarea,pre,input):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.episode-ai-edit{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.episode-ai-run{border:1px solid color-mix(in srgb, var(--accent) 28%, var(--border));background:color-mix(in srgb, var(--accent-subtle) 38%, var(--surface));border-radius:8px;flex:none;justify-content:space-between;align-items:center;gap:16px;padding:9px 11px;display:flex}.episode-ai-run-copy{flex:auto;gap:3px;min-width:140px;display:grid}.episode-ai-run-copy strong{font-size:12.5px;font-weight:650}.episode-ai-run-copy small{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4;overflow:hidden}.episode-ai-run-controls{flex:0 560px;grid-template-columns:132px minmax(180px,1fr) auto;align-items:end;gap:8px;width:min(560px,100%);display:grid}.episode-ai-run-controls label{gap:4px;min-width:0;display:grid}.episode-ai-run-controls label>span{color:var(--text-3);font-size:10.5px;font-weight:600}.episode-ai-run-controls select{border:1px solid var(--border-strong);background:var(--surface);width:100%;min-width:0;min-height:34px;color:var(--text-1);border-radius:7px;padding:0 8px;font-size:12.5px}.episode-ai-run-controls select:disabled{opacity:.6}.episode-ai-run-controls .primary-button{white-space:nowrap;border:1px solid #0000;border-radius:7px;align-items:center;gap:6px;min-height:34px;padding:0 13px;font-size:12.5px;font-weight:650;display:inline-flex}.episode-ai-run-controls .primary-button svg{width:15px;height:15px}.episode-ai-run-controls .primary-button:not(:disabled){background:var(--accent);color:var(--brand-foreground)}.episode-ai-run-controls .primary-button:not(:disabled):hover{background:var(--brand-hover)}.episode-ai-run-controls .primary-button:disabled{border-color:var(--border);background:var(--surface-sunken);color:var(--text-4);cursor:default}.episode-ai-run-controls .primary-button[aria-busy=true] svg{animation:1s ease-in-out infinite episode-ai-pulse}@keyframes episode-ai-pulse{0%,to{opacity:.42;transform:scale(.86)}50%{opacity:1;transform:scale(1.06)}}.episode-ai-lock{border:1px solid var(--border);background:var(--surface-sunken);border-radius:8px;flex:none;align-items:center;gap:10px;padding:9px 12px;display:flex}.episode-ai-lock-icon{background:var(--surface);width:28px;height:28px;color:var(--text-2);border-radius:7px;flex:0 0 28px;place-items:center;display:grid}.episode-ai-lock-icon svg{width:16px;height:16px}.episode-ai-lock>div{gap:2px;min-width:0;display:grid}.episode-ai-lock strong{font-size:12px;font-weight:650}.episode-ai-lock div span{color:var(--text-3);font-size:11px;line-height:1.5}.episode-ai-grid{flex:1;grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);gap:12px;min-height:0;display:grid}.episode-ai-source{border:1px solid var(--border);background:var(--surface-editor);border-radius:9px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.episode-ai-source>header{border-bottom:1px solid var(--border);background:var(--surface-sunken);flex:none;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;display:flex}.episode-ai-source>header strong{font-size:12.5px;font-weight:650}.episode-ai-source>header span{color:var(--text-3);font-size:10.5px}.episode-ai-source pre{white-space:pre-wrap;overflow-wrap:anywhere;min-height:0;color:var(--text-1);font:inherit;scrollbar-gutter:stable;flex:1;margin:0;padding:11px 13px 14px;font-size:13.5px;line-height:1.75;overflow:auto}.episode-ai-instruction{flex-direction:column;gap:8px;min-width:0;min-height:0;display:flex}.episode-ai-instruction label{flex-direction:column;flex:1;gap:7px;min-height:0;display:flex}.episode-ai-instruction label>span{color:var(--text-2);font-size:12.5px;font-weight:650}.episode-ai-instruction textarea{resize:none;border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:120px;color:var(--text-1);font:inherit;border-radius:9px;flex:1;padding:11px 12px;font-size:13px;line-height:1.65}.episode-ai-instruction textarea::placeholder{color:var(--text-4)}.episode-ai-instruction textarea:disabled{opacity:.66}.episode-ai-count{color:var(--text-3);font-variant-numeric:tabular-nums;align-self:flex-end;margin-top:-2px;font-size:11px}.episode-ai-safety{border:1px dashed var(--border-strong);background:var(--surface-sunken);color:var(--text-3);border-radius:8px;flex:none;margin:0;padding:9px 11px;font-size:11px;line-height:1.55}.episode-ai-note{color:var(--text-2);overflow-wrap:anywhere;flex:none;gap:4px;margin:0;font-size:12.5px;line-height:1.5;display:grid}.episode-ai-note strong{color:var(--text-1)}.episode-ai-body .modal-error{color:var(--danger);flex:none;margin:0}.episode-ai-compare{flex-direction:column;flex:1;gap:10px;min-height:0;padding-right:2px;display:flex;overflow:auto}.episode-ai-footer{border-top:1px solid var(--border);background:color-mix(in srgb, var(--surface-sunken) 72%, var(--surface));flex:none;justify-content:space-between;align-items:center;gap:10px 16px;padding:11px 20px;display:flex}.episode-ai-footer p{min-width:0;color:var(--text-3);margin:0;font-size:11.5px;line-height:1.45}.episode-ai-footer>div{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:8px;display:flex}.episode-ai-footer :is(.primary-button,.outline-button){border-radius:7px;min-height:34px;padding:0 13px;font-size:12.5px;font-weight:650}.episode-ai-footer .outline-button{border:1px solid var(--border-strong);background:var(--surface);color:var(--text-1)}.episode-ai-footer .outline-button:hover:not(:disabled){background:var(--surface-sunken)}.episode-ai-footer .primary-button:not(:disabled){background:var(--accent);color:var(--brand-foreground);border:1px solid #0000}.episode-ai-footer .primary-button:not(:disabled):hover{background:var(--brand-hover)}.episode-ai-footer :is(.primary-button,.outline-button):disabled{border-color:var(--border);background:var(--surface-sunken);color:var(--text-4);cursor:default}html[data-theme] .studio-shell .script-editor-actions .episode-ai-trigger:not(:disabled){border-color:color-mix(in srgb, var(--accent) 24%, var(--border));background:var(--accent-subtle);color:var(--accent)}html[data-theme] .studio-shell .script-editor-actions .episode-ai-trigger:not(:disabled):hover{border-color:var(--accent)}.episode-ai-trigger small{font-size:11px;font-weight:500}@media (width<=900px){.episode-ai-run{flex-direction:column;align-items:stretch;gap:8px}.episode-ai-run-copy small{white-space:normal}.episode-ai-run-controls{flex:none;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;width:100%}.episode-ai-body{overflow-y:auto}.episode-ai-edit{flex:none}.episode-ai-grid{flex:none;grid-template-columns:minmax(0,1fr);display:grid;overflow:visible}.episode-ai-source{height:260px}.episode-ai-instruction{min-height:0}.episode-ai-instruction label{flex:none}.episode-ai-instruction textarea{flex:none;height:180px}.episode-ai-compare{flex:none;overflow:visible}}@media (width<=600px){html[data-theme] .episode-ai-backdrop{padding:8px}html[data-theme] .episode-ai-modal{border-radius:12px;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.episode-ai-heading,.episode-ai-body,.episode-ai-footer{padding-inline:13px}.episode-ai-heading h2{font-size:17px}.episode-ai-run-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.episode-ai-run-controls .primary-button{grid-column:1/-1;justify-content:center;min-height:40px}.episode-ai-run-controls select{min-height:40px;font-size:16px}.episode-ai-views{width:100%}.episode-ai-views button{min-height:38px}.episode-ai-footer{flex-wrap:wrap}.episode-ai-footer>div{width:100%}.episode-ai-footer :is(.primary-button,.outline-button){flex:1;min-height:40px}.episode-ai-instruction textarea{font-size:16px}}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading-actions{flex-wrap:wrap}.shot-prompt-revision-trigger{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.shot-prompt-revision-trigger svg{flex:none;width:15px;height:15px}html[data-theme] .shot-prompt-revision-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a70}html[data-theme] .modal.shot-prompt-revision-modal{border:1px solid var(--border-strong);background:var(--surface);width:min(100%,940px);max-height:calc(100dvh - 40px);color:var(--text-1);box-shadow:var(--floating-shadow);border-radius:14px;grid-template-rows:auto minmax(0,1fr) auto;padding:0;display:grid;overflow:hidden}.shot-prompt-revision-header,.shot-prompt-revision-footer{justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.shot-prompt-revision-header{border-bottom:1px solid var(--border)}.shot-prompt-revision-header>div{min-width:0}.shot-prompt-revision-header span{overflow-wrap:anywhere;color:var(--text-2);font-size:12px;line-height:1.5;display:block}.shot-prompt-revision-header h2{margin:2px 0 0;font-size:20px;line-height:1.35}.shot-prompt-revision-header .icon-button{flex:none;min-width:40px;min-height:40px;font-size:20px}.shot-prompt-revision-body{overscroll-behavior:contain;align-content:start;gap:12px;min-height:0;padding:16px 20px;display:grid;overflow:auto}.shot-prompt-revision-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;min-width:0;display:grid}.shot-prompt-revision-text,.shot-prompt-revision-instruction{gap:7px;min-width:0;display:grid}.shot-prompt-revision-text :is(h3,h4),.shot-prompt-revision-instruction>label:first-child{margin:0;font-size:14px;font-weight:650;line-height:1.4}.shot-prompt-revision-preview-title{width:fit-content;margin:0;font-size:16px}.shot-prompt-revision-text.is-result h4{color:var(--accent)}.shot-prompt-revision-text pre{overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface-sunken);min-width:0;min-height:178px;max-height:min(340px,44dvh);color:var(--text-1);font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin:0;padding:11px 12px;font-size:14px;line-height:1.65;overflow:auto}.shot-prompt-revision-modal .shot-prompt-revision-instruction textarea{resize:vertical;border-color:var(--border);background:var(--surface-sunken);min-height:150px;color:var(--text-1);font-size:14px;line-height:1.6}.shot-prompt-revision-instruction .prompt-shortcut-strip{margin-block:0 4px}.shot-prompt-revision-model{min-width:0;color:var(--text-2);gap:5px;font-size:12px;display:grid}.shot-prompt-revision-modal .shot-prompt-revision-model select{min-height:36px;color:var(--text-1)}.shot-prompt-revision-note{color:var(--text-2);margin:0;font-size:13px;line-height:1.5}.shot-prompt-revision-body .modal-error{margin:0}.shot-prompt-revision-footer{border-top:1px solid var(--border)}.shot-prompt-revision-footer>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-inline-start:auto;display:flex}.shot-prompt-revision-modal :is(button,textarea,select,pre):focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=680px){html[data-theme] .shot-prompt-revision-backdrop{padding:12px}html[data-theme] .modal.shot-prompt-revision-modal{max-height:calc(100dvh - 24px)}.shot-prompt-revision-header,.shot-prompt-revision-body,.shot-prompt-revision-footer{padding-inline:14px}.shot-prompt-revision-grid{grid-template-columns:minmax(0,1fr)}.shot-prompt-revision-text pre{min-height:84px;max-height:154px}.shot-prompt-revision-footer{flex-wrap:wrap}.shot-prompt-revision-modal :is(.icon-button,.shot-prompt-revision-model select,.shot-prompt-revision-footer button,.asset-card-preset-chips button){min-height:44px}}.episode-revision-compare{gap:8px;width:100%;min-width:0;display:grid;container:episode-revision-comparison/inline-size}.episode-revision-compare-toolbar,.episode-revision-compare-counts,.episode-revision-compare-filter{align-items:center;display:flex}.episode-revision-compare-toolbar{color:var(--text-2);flex-wrap:wrap;justify-content:space-between;column-gap:12px;font-size:13px}.episode-revision-compare-counts{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:6px 12px}.episode-revision-compare-counts [data-tone=success]{color:var(--success)}.episode-revision-compare-counts [data-tone=danger]{color:var(--danger)}.episode-revision-compare-filter{cursor:pointer;white-space:nowrap;gap:6px;min-height:40px}.episode-revision-compare-filter input{width:16px;height:16px;accent-color:var(--brand-accent);margin:0}.episode-revision-compare-frame{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:0;overflow:hidden}.episode-revision-compare-pair{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.episode-revision-compare-pair+.episode-revision-compare-pair{border-top:1px solid var(--border)}.episode-revision-compare-pair>:nth-child(2){border-inline-start:1px solid var(--border)}.episode-revision-compare-head{background:var(--surface-sunken);color:var(--text-2);font-size:13px}.episode-revision-compare-head>strong{padding:10px 12px}.episode-revision-compare-cell{overflow-wrap:anywhere;min-width:0;padding:8px 12px 10px}.episode-revision-compare-cell[data-changed][data-side=before]{background:color-mix(in srgb, var(--danger) 9%, var(--surface));--revision-change-ink:var(--danger)}.episode-revision-compare-cell[data-changed][data-side=after]{background:color-mix(in srgb, var(--success) 9%, var(--surface));--revision-change-ink:var(--success)}.episode-revision-compare-cell pre{color:var(--revision-change-ink,var(--text-1));font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.6}.episode-revision-compare-line,.episode-revision-compare-empty-cell,.episode-revision-compare-note{color:var(--text-3);font-size:12px;line-height:1.5}.episode-revision-compare-line{font-variant-numeric:tabular-nums;margin-bottom:4px;display:block}.episode-revision-compare-side{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.episode-revision-compare-note{margin:0}.episode-revision-compare-empty{padding:14px 12px}.episode-revision-compare-more{justify-self:start}@container episode-revision-comparison (width<=520px){.episode-revision-compare-head{display:none}.episode-revision-compare-pair{grid-template-columns:minmax(0,1fr)}.episode-revision-compare-pair>:nth-child(2){border-inline-start:0;border-top:1px solid var(--border)}.episode-revision-compare-side{clip-path:none;width:auto;height:auto;color:var(--text-2);font-size:12px;font-weight:600;position:static}.episode-revision-compare-full .episode-revision-compare-side{margin-bottom:4px;display:block}}html[data-theme] .studio-shell:has(.generation-workbench){--generation-button-hover:var(--accent-hover)}html[data-theme] .production-layout:has(.generation-workbench) .production-workspace{padding:12px 16px}html[data-theme] .generation-workbench.episode-editor{--media-stage:#080808;--media-text:#f5f5f5;--media-muted:#b3b3b3;--media-line:#3d3d3d;--preview-surround:var(--surface);--editor-timeline:156px;--prompt-reading-height:clamp(280px, calc(100dvh - 540px), 420px);--workbench-gutter:8px;--workbench-inset:20px;--workbench-outline:var(--border);--workbench-divider:color-mix(in srgb, var(--border) 65%, var(--surface));--workbench-panel-radius:16px;--workbench-panel-shadow:0 1px 2px #1018280d;--workbench-field-outline:color-mix(in srgb, var(--border) 55%, var(--editor-field));--generation-control-height:36px;--empty-media-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8' cy='9' r='1.5'/%3E%3Cpath d='m3 16 5-5 4 4 3-3 6 6'/%3E%3C/svg%3E");gap:var(--workbench-gutter);box-shadow:none;border-radius:0}html[data-theme] .generation-workbench.episode-editor:has(>.episode-editor-body){padding:2px}html[data-theme=dark] .generation-workbench.episode-editor{--workbench-panel-shadow:0 1px 2px #00000029, inset 0 1px 0 #ffffff06}html[data-theme] .generation-workbench.episode-editor .episode-editor-body{gap:var(--workbench-gutter);background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) clamp(300px,30%,380px)}html[data-theme] .generation-workbench.episode-editor.right-collapsed .episode-editor-body{grid-template-columns:minmax(0,1fr)}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-prompt,.episode-editor-preview){border:1px solid var(--workbench-outline);border-radius:var(--workbench-panel-radius);background:var(--surface);box-shadow:var(--workbench-panel-shadow)}html[data-theme] .generation-workbench.episode-editor .episode-editor-prompt{container:generation-editor/inline-size}html[data-theme] .generation-workbench.episode-editor .generation-panel-heading{border-radius:calc(var(--workbench-panel-radius) - 1px) calc(var(--workbench-panel-radius) - 1px) 0 0;background:0 0;border-bottom:1px solid #0000;min-height:56px;padding:8px 20px;position:relative}html[data-theme] .generation-workbench.episode-editor .episode-editor-prompt>.generation-panel-heading:after{inset-inline:var(--workbench-inset);background:var(--workbench-divider);pointer-events:none;content:"";height:1px;position:absolute;bottom:0}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview>.generation-panel-heading{flex-wrap:nowrap}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview>.generation-panel-heading>div{flex-wrap:wrap;flex:1;align-items:baseline;gap:2px 12px;min-width:0;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview>.generation-panel-heading strong{line-height:1.25}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview>.generation-panel-heading small{flex-basis:100%;font-size:13px;line-height:1.4}html[data-theme] .generation-workbench.episode-editor .generation-panel-title{gap:4px 8px}html[data-theme] .generation-workbench.episode-editor :is(.generation-panel-title h2,.generation-panel-heading>div>strong){letter-spacing:0;font-size:18px;font-weight:600;line-height:1.3}html[data-theme] .generation-workbench.episode-editor .generation-duration-recommendation{background:color-mix(in srgb, var(--warning) 9%, var(--surface));color:var(--warning);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:5px;flex:none;padding:2px 7px;font-size:12px;font-weight:600;line-height:1.5}html[data-theme] .generation-workbench.episode-editor .generation-mobile-shot-picker{display:none}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-identity strong,.generation-result-count,.generation-panel-heading small){font-size:13px}html[data-theme] .generation-workbench.episode-editor .episode-editor-identity{max-width:100%}html[data-theme] .generation-workbench.episode-editor .episode-editor-identity strong{text-overflow:ellipsis;white-space:nowrap;max-width:28ch;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .generation-save-status{--save-state-color:var(--text-3);color:var(--text-2);align-items:center;gap:5px;font-size:13px;display:inline-flex}html[data-theme] .generation-workbench.episode-editor .generation-save-status:before{background:var(--save-state-color);content:"";border-radius:50%;flex:none;width:5px;height:5px}html[data-theme] .generation-workbench.episode-editor .generation-save-status.save-saved{--save-state-color:var(--success)}html[data-theme] .generation-workbench.episode-editor .generation-save-status:is(.save-dirty,.save-local){--save-state-color:var(--warning)}html[data-theme] .generation-workbench.episode-editor .generation-save-status.save-error{--save-state-color:var(--danger)}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-more,.asset-prompt-heading-actions>button,.generation-reference-heading>button,.generation-timeline-actions>button){border-radius:6px;min-height:32px;font-size:13px;font-weight:500;transition:background-color .14s ease-out,border-color .14s ease-out,color .14s ease-out}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-more,.asset-prompt-heading-actions>button:not(.asset-prompt-save),.generation-reference-heading>button){border-color:var(--border);background:var(--surface);color:var(--text-1)}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-more,.asset-prompt-heading-actions>button:not(.asset-prompt-save),.generation-reference-heading>button):hover:not(:disabled){border-color:var(--border-strong);background:var(--surface-sunken)}html[data-theme] .generation-workbench.episode-editor .generation-panel-actions>.episode-editor-more{background:0 0;border-color:#0000}html[data-theme] .generation-workbench.episode-editor .generation-prompt-content{isolation:isolate;padding:8px var(--workbench-inset) 12px;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;gap:6px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-editor-workbench{flex:none;gap:8px}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading{align-items:flex-start;gap:8px 16px}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading>div{flex:1 1 0;min-width:0;max-width:100%}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading strong{-webkit-line-clamp:2;overflow-wrap:anywhere;white-space:normal;text-overflow:clip;-webkit-box-orient:vertical;max-width:100%;font-size:15px;font-weight:600;line-height:1.6;display:-webkit-box;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading small{flex:0 34%;padding-top:2px;font-size:13px;line-height:1.6}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading>.asset-prompt-heading-label{flex:200px;align-items:baseline;gap:8px;min-width:0;display:flex}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading>.asset-prompt-heading-label>strong{flex:none;font-size:15px}html[data-theme] .generation-workbench.episode-editor .prompt-shot-context{min-width:0;color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.5;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading-actions{margin-left:auto}html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading-actions>button{padding-inline:9px;font-size:13px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface{height:var(--prompt-reading-height);min-height:var(--prompt-reading-height);flex:0 0 var(--prompt-reading-height);border-color:var(--workbench-field-outline);background:var(--editor-field);caret-color:var(--accent);border-radius:10px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface:hover{border-color:color-mix(in srgb, var(--border) 60%, var(--border-strong))}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface:focus-within{border-color:var(--accent);outline:none}html[data-theme] .generation-workbench.episode-editor .asset-prompt-prosemirror{min-height:calc(var(--prompt-reading-height) - 2px);max-height:calc(var(--prompt-reading-height) - 2px);color:var(--text-1);text-align:left;overflow-wrap:break-word;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;border-radius:9px;padding:16px;font-size:15px;line-height:1.8}html[data-theme] .generation-workbench.episode-editor .asset-prompt-prosemirror>p{margin-inline:0;max-width:none;margin-bottom:10px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-prosemirror>p:last-child{margin-bottom:0}html[data-theme] .generation-workbench.episode-editor .asset-prompt-prosemirror:focus-visible{outline:none}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface[data-empty=true] .asset-prompt-prosemirror:before{color:var(--text-2);inset:16px}html[data-theme] .generation-workbench.episode-editor .asset-mention-node{background:var(--surface-sunken);color:var(--text-2);border-color:#0000;border-radius:4px;padding:1px 5px;font-size:13px;font-weight:500}html[data-theme] .generation-workbench.episode-editor .generation-reference-materials{border-top:0;padding-top:6px}html[data-theme] .generation-workbench.episode-editor .generation-reference-heading{margin-bottom:4px}html[data-theme] .generation-workbench.episode-editor .generation-reference-heading strong{font-size:15px}html[data-theme] .generation-workbench.episode-editor .generation-reference-heading small{color:var(--text-2);font-size:13px}html[data-theme] .generation-workbench.episode-editor .generation-reference-heading>button{color:var(--text-1)}html[data-theme] .generation-workbench.episode-editor .prompt-reference-strip{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;gap:8px;padding-bottom:4px}html[data-theme] .generation-workbench.episode-editor .prompt-reference-strip article{background:var(--surface-sunken);border-color:#0000;border-radius:10px;flex-basis:184px;min-width:184px}html[data-theme] .generation-workbench.episode-editor .prompt-reference-strip :is(.reference-preview,.reference-replace,.reference-remove){background:0 0;border-color:#0000}html[data-theme] .generation-workbench.episode-editor .prompt-reference-strip :is(.reference-preview,.reference-replace,.reference-remove):hover:not(:disabled){background:var(--surface-sunken)}html[data-theme] .generation-workbench.episode-editor .prompt-reference-empty{color:var(--text-2);padding:2px 0;font-size:13px;line-height:1.7}html[data-theme] .generation-workbench.episode-editor :is(.asset-shelf-toggle,.generation-send-summary>summary){min-height:24px;padding-block:2px;font-size:13px}html[data-theme] .generation-workbench.episode-editor .generation-send-summary>summary :is(span,strong,em){font-size:13px}html[data-theme] .generation-workbench.episode-editor .generation-context-tools{align-items:center;gap:4px 16px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets{border-top:0;padding-top:8px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert{background:var(--surface-sunken);border-color:#0000;border-radius:10px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets :is(.asset-scope-tabs,.asset-kind-tabs) button{color:var(--text-2);background:0 0;border-radius:6px;font-size:13px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets :is(.asset-scope-tabs,.asset-kind-tabs) button.active{background:var(--surface-sunken);color:var(--text-1);font-weight:500}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .pane-heading small{color:var(--text-2);font-size:13px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert>.asset-no-image{background:0 0}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert:hover:not(:disabled){border-color:var(--border);background:var(--surface-sunken)}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-menu>summary{background:0 0;border-color:#0000}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-menu>summary:hover{background:var(--surface-sunken)}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-card{flex-basis:244px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert{grid-template-columns:64px minmax(0,1fr);align-items:center;height:64px;min-height:64px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert>.asset-no-image,html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert>img{width:64px;height:64px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert>.asset-no-image{white-space:nowrap;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:2px;font-size:13px;line-height:1.4;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert>.asset-no-image small{white-space:nowrap;text-wrap:nowrap;padding:0;font-size:12px;line-height:1.4}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert>span:last-child{gap:2px;padding:3px 8px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert>span:last-child>strong{-webkit-line-clamp:2;white-space:normal;overflow-wrap:break-word;-webkit-box-orient:vertical;max-height:2.8em;padding-right:22px;font-size:13px;font-weight:600;line-height:1.4;display:-webkit-box;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-insert>span:last-child>small{text-overflow:ellipsis;white-space:nowrap;text-wrap:nowrap;padding-right:0;font-size:13px;line-height:1.4;display:block;overflow:hidden}@container generation-editor (width>=680px){html[data-theme] .generation-workbench.episode-editor .generation-reference-materials:has(>.prompt-reference-empty){grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px 12px;display:grid}html[data-theme] .generation-workbench.episode-editor .generation-reference-materials:has(>.prompt-reference-empty)>.generation-reference-heading{display:contents}html[data-theme] .generation-workbench.episode-editor .generation-reference-materials:has(>.prompt-reference-empty) .generation-reference-heading>div{grid-area:1/1}html[data-theme] .generation-workbench.episode-editor .generation-reference-materials:has(>.prompt-reference-empty) .generation-reference-heading>button{grid-area:1/3}html[data-theme] .generation-workbench.episode-editor .generation-reference-materials>.prompt-reference-empty{grid-area:1/2;padding:0}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto auto;gap:8px 12px}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .asset-kind-tabs{grid-area:1/3;align-self:center}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .asset-scope-tabs{grid-area:1/2;align-self:center}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .episode-asset-list{grid-row:2}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .pane-heading>div{align-items:baseline;gap:8px;min-width:0;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .pane-heading strong{flex:none}html[data-theme] .generation-workbench.episode-editor .episode-editor-assets .pane-heading small{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:24ch;overflow:hidden}}html[data-theme] .generation-workbench.episode-editor .generation-controls{padding:8px var(--workbench-inset);border-top-color:var(--workbench-divider);border-radius:0 0 calc(var(--workbench-panel-radius) - 1px) calc(var(--workbench-panel-radius) - 1px);background:var(--tool-surface);flex-direction:column;align-items:stretch;gap:6px;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings{grid-template-columns:minmax(100px,1.2fr) minmax(152px,1fr) minmax(108px,.7fr) minmax(80px,.45fr);align-items:end;gap:8px 10px}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings>label{grid-column:auto;gap:4px;position:relative}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings>fieldset{border:0;min-width:0;margin:0;padding:0}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings>label>span,html[data-theme] .generation-workbench.episode-editor .episode-editor-settings legend{color:var(--text-2);white-space:nowrap;padding:0;font-size:12px;line-height:16px}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings legend{margin-bottom:4px}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-settings>label,.generation-mobile-shot-picker)>select{width:100%;min-width:0;min-height:var(--generation-control-height);height:var(--generation-control-height);border:1px solid var(--border-strong);background-color:var(--surface);color:var(--text-1);text-overflow:ellipsis;border-radius:6px;padding-inline-start:8px;font-size:13px;font-weight:500}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings>label>select{background-position:right 6px center;padding-inline-end:26px}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings>.generation-setting-duration>select{padding-inline-start:28px}html[data-theme] .generation-workbench.episode-editor .generation-duration-icon{width:15px;height:15px;color:var(--text-2);pointer-events:none;position:absolute;inset-block-end:calc((var(--generation-control-height) - 15px) / 2);inset-inline-start:8px}html[data-theme] .generation-workbench.episode-editor .generation-option-list{gap:4px;display:flex}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings label.generation-option{cursor:pointer;flex:1 1 0;position:relative}html[data-theme] .generation-workbench.episode-editor .generation-option>input{opacity:0;width:100%;height:100%;cursor:inherit;margin:0;position:absolute;inset:0}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings .generation-option>span{min-height:var(--generation-control-height);border:1px solid var(--border-strong);background:var(--surface);color:var(--text-1);font-variant-numeric:tabular-nums;border-radius:6px;place-items:center;font-size:13px;display:grid}html[data-theme] .generation-workbench.episode-editor .generation-option>input:not(:disabled):hover+span,html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-settings>label,.generation-mobile-shot-picker)>select:hover:not(:disabled){background-color:var(--surface-sunken)}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings .generation-option>input:checked+span{border-color:var(--accent);background:var(--accent-subtle);color:var(--accent);font-weight:600}html[data-theme] .generation-workbench.episode-editor .generation-option>input:focus-visible+span,html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-settings>label,.generation-mobile-shot-picker)>select:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-settings>label,.generation-mobile-shot-picker)>select:disabled{cursor:not-allowed}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings label.generation-option:has(input:disabled){cursor:not-allowed}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings .generation-option>input:disabled+span,html[data-theme] .generation-workbench.episode-editor .episode-editor-settings>label>select:disabled{color:var(--text-3)}html[data-theme] .generation-workbench.episode-editor .episode-editor-settings .generation-option>input:disabled:not(:checked)+span,html[data-theme] .generation-workbench.episode-editor .episode-editor-settings>label>select:disabled{border-color:var(--border);background-color:var(--surface-sunken)}@media (forced-colors:active){html[data-theme] .generation-workbench.episode-editor .episode-editor-settings .generation-option>input:checked+span{forced-color-adjust:none;color:highlighttext;background:highlight;border-color:highlight}html[data-theme] .generation-workbench.episode-editor .generation-option>input:focus-visible+span{outline-offset:1px;outline:2px solid highlight}}html[data-theme] .generation-workbench.episode-editor .video-model-change-notice{min-width:0;color:var(--text-2);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.5}html[data-theme] .generation-workbench.episode-editor .generation-controls-footer{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-secondary-settings{flex:1 1 0;align-items:center;gap:8px;min-width:0;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-more-trigger{width:auto;height:36px;min-height:36px;color:var(--text-1);background:0 0;border-color:#0000;border-radius:6px;flex:none;justify-content:flex-start;gap:6px;padding:0 6px;font-size:13px;font-weight:500}html[data-theme] .generation-workbench.episode-editor .generation-more-trigger>span{align-items:center;gap:6px;display:inline-flex}html[data-theme] .generation-workbench.episode-editor .generation-more-trigger svg{flex:none;width:14px;height:14px}html[data-theme] .generation-workbench.episode-editor .generation-more-trigger:is(:hover,[aria-expanded=true]):not(:disabled){background:var(--surface-sunken);border-color:#0000}html[data-theme] .generation-workbench.episode-editor .generation-more-trigger:focus-visible{outline:2px solid var(--border-strong);outline-offset:-2px}html[data-theme] .generation-workbench.episode-editor .generation-settings-summary{min-width:0;color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.4;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .generation-controls .generation-primary-actions{flex-direction:row;flex:none;justify-content:flex-end;align-items:center;gap:12px;min-width:0}html[data-theme] .generation-workbench.episode-editor .generation-controls .byok-badge{max-width:none;color:var(--text-2);white-space:nowrap;font-size:13px;line-height:1.4}html[data-theme] .generation-workbench.episode-editor .generation-controls .byok-badge>span{white-space:nowrap}html[data-theme] .generation-workbench.episode-editor .episode-editor-primary{border-color:var(--action-bg);background:var(--action-bg);min-width:124px;height:36px;min-height:36px;color:var(--action-text);border-radius:6px;padding-inline:12px;transition:background-color .14s ease-out,border-color .14s ease-out}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-primary,.generation-timeline-actions>button):disabled{border-color:var(--border);background:var(--surface-sunken);color:var(--text-4);opacity:1}html[data-theme] .generation-workbench.episode-editor :is(.primary-button,.generation-timeline-actions>.episode-editor-batch):not(:disabled){border-color:var(--border-strong);background:var(--surface);color:var(--text-1)}html[data-theme] .generation-workbench.episode-editor :is(.primary-button,.generation-timeline-actions>.episode-editor-batch):hover:not(:disabled){border-color:var(--border-strong);background:var(--surface-sunken);color:var(--text-1)}html[data-theme] .generation-workbench.episode-editor .episode-editor-primary:hover:not(:disabled){border-color:var(--generation-button-hover);background:var(--generation-button-hover);color:var(--action-text)}html[data-theme] .generation-workbench.episode-editor .generation-format-popover{border-color:var(--border-strong);background:var(--surface);box-shadow:var(--floating-shadow);border-radius:10px;padding:14px}html[data-theme] .generation-workbench.episode-editor .generation-more-popover{width:320px}html[data-theme] .generation-workbench.episode-editor .generation-extra-options{gap:14px;display:grid}html[data-theme] .generation-workbench.episode-editor .generation-extra-options>label{background:0 0;border:0;flex-direction:column;align-items:stretch;gap:6px;min-width:0;margin:0;padding:0;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-extra-options>label>span:first-child{color:var(--text-2);font-size:13px;line-height:1.4}html[data-theme] .generation-workbench.episode-editor .generation-extra-options .skill-picker{flex-direction:column;align-items:stretch;gap:6px;min-width:0;display:flex}html[data-theme] .generation-workbench.episode-editor .generation-extra-options select{border:1px solid var(--border);background-color:var(--surface-sunken);width:100%;min-width:0;max-width:none;height:40px;min-height:40px;color:var(--text-1);border-radius:6px;padding-left:10px;font-size:13px;font-weight:400}html[data-theme] .generation-workbench.episode-editor .generation-extra-options select:hover:not(:disabled){border-color:var(--border-strong)}html[data-theme] .generation-workbench.episode-editor .generation-extra-options select:focus-visible{outline:2px solid var(--border-strong);outline-offset:2px}html[data-theme] .generation-workbench.episode-editor .generation-extra-options select:disabled{opacity:.55;cursor:not-allowed}html[data-theme] .generation-workbench.episode-editor .generation-extra-options>.generation-setting-audio{border-top:1px solid var(--workbench-divider);flex-direction:row;align-items:center;gap:8px;min-height:36px;padding-top:10px}html[data-theme] .generation-workbench.episode-editor .generation-setting-audio>span{color:var(--text-1);font-size:13px}@container generation-editor (width<=560px){html[data-theme] .generation-workbench.episode-editor .generation-controls-footer{gap:6px}html[data-theme] .generation-workbench.episode-editor .generation-secondary-settings{gap:4px}html[data-theme] .generation-workbench.episode-editor .generation-controls .generation-primary-actions{gap:8px}html[data-theme] .generation-workbench.episode-editor .generation-controls .byok-badge{white-space:normal;max-width:120px}}@container generation-editor (width<=510px){html[data-theme] .generation-workbench.episode-editor .episode-editor-settings{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}}@container generation-editor (width<=420px){html[data-theme] .generation-workbench.episode-editor .generation-controls-footer{flex-direction:column;align-items:stretch;gap:2px}html[data-theme] .generation-workbench.episode-editor .generation-secondary-settings{flex:none;gap:8px}html[data-theme] .generation-workbench.episode-editor .generation-controls .generation-primary-actions{justify-content:space-between;gap:8px}}html[data-theme] .generation-workbench.episode-editor .episode-advanced-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0c0e105c}html[data-theme=dark] .generation-workbench.episode-editor .episode-advanced-backdrop{background:#0c0e109e}html[data-theme] .generation-workbench.episode-editor .episode-advanced-drawer{box-shadow:-16px 0 48px #0c0e102e}html[data-theme=dark] .generation-workbench.episode-editor .episode-advanced-drawer{box-shadow:-16px 0 48px #0006}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview{background:var(--preview-surround)}html[data-theme] .generation-workbench.episode-editor .generation-history-bar{background:0 0;border-bottom:0;order:1;gap:8px;min-height:28px;padding:4px 20px;font-size:13px}html[data-theme] .generation-workbench.episode-editor .episode-candidate-strip{order:2}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview:has(>.episode-candidate-strip:empty) .generation-history-bar{display:none}html[data-theme] .generation-workbench.episode-editor .generation-history-bar strong{font-weight:500}html[data-theme] .generation-workbench.episode-editor .preview-tabs{flex-wrap:wrap;align-items:center;gap:8px 16px;min-height:48px;padding:8px 20px}html[data-theme] .generation-workbench.episode-editor .preview-tabs button{background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:0 auto;min-height:32px;padding-inline:2px;font-size:13px}html[data-theme] .generation-workbench.episode-editor .preview-tabs button.active{border-bottom-color:var(--accent);color:var(--text-1);background:0 0;font-weight:600}html[data-theme] .generation-workbench.episode-editor .preview-tabs button:hover:not(:disabled):not(.active){color:var(--text-1);background:0 0}html[data-theme] .generation-workbench.episode-editor .preview-tabs .frame-generate-inline{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text-1);white-space:nowrap;border-radius:6px;padding:6px 10px;font-size:13px;font-weight:500}html[data-theme] .generation-workbench.episode-editor .preview-tabs button.frame-generate-inline:hover:not(:disabled){border-color:var(--border-strong);background:var(--surface-sunken);color:var(--text-1)}html[data-theme] .generation-workbench.episode-editor .preview-tabs .frame-generate-inline:disabled{border-color:var(--border);background:var(--surface-sunken);color:var(--text-4)}html[data-theme] .generation-workbench.episode-editor .frame-model-select{min-width:0;color:var(--text-3);flex:1 0 100%;align-items:center;gap:8px;font-size:12px;display:flex}html[data-theme] .generation-workbench.episode-editor .frame-model-select>span{flex:none}html[data-theme] .generation-workbench.episode-editor .frame-model-select select{border:1px solid var(--border);background:var(--surface);min-width:0;max-width:100%;min-height:36px;color:var(--text-1);font:inherit;border-radius:6px;flex:1;padding:6px 8px}html[data-theme] .generation-workbench.episode-editor .frame-model-select select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}html[data-theme] .generation-workbench.episode-editor .frame-model-select select:disabled{background:var(--surface-sunken);color:var(--text-4)}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview{--preview-width:calc(100% - 40px);--preview-aspect:16 / 9;width:var(--preview-width);background:var(--media-stage);min-height:0;max-height:none;color:var(--media-text);border-radius:3px;flex:none;margin:auto auto 20px}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview:has(>div){width:var(--preview-width);max-width:none;min-height:0;aspect-ratio:var(--preview-aspect);border:1px solid var(--workbench-field-outline);background:var(--editor-field);color:var(--text-1);border-radius:10px;flex:none;margin-block:auto}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-9-16{--preview-width:min(calc(100% - 40px), clamp(150px, calc((100dvh - 410px) * .5625), 236px));--preview-aspect:9 / 16;width:var(--preview-width);aspect-ratio:var(--preview-aspect)}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-16-9{--preview-aspect:16 / 9;aspect-ratio:var(--preview-aspect)}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-1-1{--preview-width:min(calc(100% - 40px), 360px);--preview-aspect:1;width:var(--preview-width);aspect-ratio:var(--preview-aspect)}html[data-theme] .generation-workbench.episode-editor .episode-main-preview>div{gap:10px;min-width:0;padding:18px 12px}html[data-theme] .generation-workbench.episode-editor .episode-main-preview>div>span{width:40px;height:40px;color:var(--text-3);opacity:1;background:0 0;border:0;place-items:center;margin-bottom:4px;font-size:0;display:grid}html[data-theme] .generation-workbench.episode-editor .episode-main-preview>div strong{color:var(--text-1);font-size:15px;font-weight:600;line-height:1.5}html[data-theme] .generation-workbench.episode-editor .episode-main-preview>div small{max-width:22ch;color:var(--text-2);opacity:1;font-size:13px;line-height:1.7}html[data-theme] .generation-workbench.episode-editor :is(.episode-main-preview>div>span,.timeline-placeholder):before{width:24px;height:24px;-webkit-mask:var(--empty-media-icon) center / contain no-repeat;-webkit-mask:var(--empty-media-icon) center / contain no-repeat;mask:var(--empty-media-icon) center / contain no-repeat;content:"";background-color:currentColor;display:block}html[data-theme] .generation-workbench.episode-editor .timeline-placeholder{place-items:center;font-size:0;display:grid}html[data-theme] .generation-workbench.episode-editor .timeline-placeholder:before{width:20px;height:20px}html[data-theme] .generation-workbench.episode-editor :is(.task-diagnostic-alert span,.episode-task-progress small){font-size:13px}html[data-theme] .generation-workbench.episode-editor .episode-editor-timeline{border:1px solid var(--workbench-outline);border-radius:var(--workbench-panel-radius);background:var(--surface);box-shadow:var(--workbench-panel-shadow)}html[data-theme] .generation-workbench.episode-editor .generation-timeline-toolbar{border-radius:calc(var(--workbench-panel-radius) - 1px) calc(var(--workbench-panel-radius) - 1px) 0 0;background:0 0;border-bottom:0;min-height:40px;padding:4px 16px}html[data-theme] .generation-workbench.episode-editor :is(.timeline-heading small,.timeline-reorder-hint){font-variant-numeric:tabular-nums;font-size:13px}html[data-theme] .generation-workbench.episode-editor .timeline-cards{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;gap:10px;padding:0 16px 10px}html[data-theme] .generation-workbench.episode-editor .timeline-cards article{--shot-state-color:var(--text-3);background:var(--surface);border-color:#0000;border-radius:10px;flex-basis:220px;transition:transform .16s,border-color .14s ease-out,background-color .14s ease-out}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.timeline-dragging-card{transition:none}html[data-theme] .generation-workbench.episode-editor .timeline-cards article:not(.active):not(.tone-running):not(.tone-failed):not(.tone-unknown):not(.tone-unsynced):hover{border-color:var(--border);background:var(--surface-sunken)}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.active{border-color:var(--selected-border);background:var(--selected-bg);box-shadow:none}html[data-theme] .generation-workbench.episode-editor .timeline-cards article:is(.tone-running,.tone-failed,.tone-unknown,.tone-unsynced):not(.active){border-color:#0000}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.tone-approved{--shot-state-color:var(--success)}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.tone-failed{--shot-state-color:var(--danger)}html[data-theme] .generation-workbench.episode-editor .timeline-cards article:is(.tone-unknown,.tone-unsynced){--shot-state-color:var(--warning)}html[data-theme] .generation-workbench.episode-editor .generation-shot-label{background:0 0;border-bottom-color:#0000;align-items:flex-start;gap:5px;min-height:48px;padding-block:5px}html[data-theme] .generation-workbench.episode-editor .generation-shot-label b{font-variant-numeric:tabular-nums;padding-top:1px;font-size:13px;line-height:1.5}html[data-theme] .generation-workbench.episode-editor .generation-shot-label strong{-webkit-line-clamp:2;white-space:normal;overflow-wrap:break-word;-webkit-box-orient:vertical;font-size:13px;line-height:1.4;display:-webkit-box;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .timeline-card-menu{top:49px}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.active .generation-shot-label{color:var(--text-1);background:0 0}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.active .generation-shot-label b{color:var(--text-2)}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail,html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail .timeline-placeholder{background:var(--media-stage);color:var(--media-muted)}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail>.timeline-placeholder{background:var(--surface-sunken);color:var(--text-2)}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail:has(>.timeline-placeholder){background:var(--surface-sunken);color:var(--text-2)}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail>.timeline-placeholder:before{display:none}html[data-theme] .generation-workbench.episode-editor .timeline-cards article:has(.timeline-placeholder){--shot-state-background:transparent}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail:has(>.timeline-placeholder)>small{background:0 0}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail :is(img,video){object-fit:cover;border-radius:0;width:100%;height:100%;min-height:0}html[data-theme] .generation-workbench.episode-editor .generation-shot-thumbnail>small{background:var(--surface);color:var(--text-2);font-variant-numeric:tabular-nums;font-size:13px}html[data-theme] .generation-workbench.episode-editor .timeline-cards article .generation-shot-card-button .generation-shot-state{background:var(--shot-state-background,var(--surface));color:var(--text-2);border-color:#0000;padding:1px 3px;font-size:13px;line-height:1.5}html[data-theme] .generation-workbench.episode-editor .generation-shot-state:before{background:var(--shot-state-color);vertical-align:2px;content:"";border-radius:50%;width:5px;height:5px;margin-right:5px;display:inline-block}html[data-theme] .generation-workbench.episode-editor .timeline-cards>.timeline-add-shot{background:0 0;border-color:#0000;border-radius:10px}html[data-theme] .generation-workbench.episode-editor .timeline-cards>.timeline-add-shot:hover:not(:disabled){background:var(--surface-sunken);color:var(--text-1)}html[data-theme] .generation-workbench.episode-editor .generation-timeline-actions>.generation-duplicate-shot{background:0 0;border-color:#0000}html[data-theme] .generation-workbench.episode-editor .generation-timeline-actions>.generation-duplicate-shot:hover:not(:disabled){border-color:var(--border);background:var(--surface-sunken)}@media (forced-colors:none){html[data-theme] .generation-workbench.episode-editor .timeline-cards article.active .shot-select-check input{border-color:var(--text-3)}html[data-theme] .generation-workbench.episode-editor .timeline-cards article.active .shot-select-check input:focus-visible{outline-color:var(--text-1)}html[data-theme=dark] .generation-workbench.episode-editor :is(.shot-select-check,.generation-setting-audio) input:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23191b1d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8 2.5 2.5 L12 5'/%3E%3C/svg%3E")}}@media (width>=901px){html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-16-9{--preview-width:min(calc(100% - 40px), calc(clamp(240px, calc(100dvh - 410px), 420px) * 16 / 9))}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-1-1{--preview-width:min(calc(100% - 40px), clamp(240px, calc(100dvh - 410px), 420px))}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-9-16:has(>div){--preview-width:min(calc(100% - 40px), 192px)}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-1-1:has(>div){--preview-width:min(calc(100% - 40px), 196px)}}@media (width>=901px) and (height<=850px){html[data-theme] .production-layout:has(.generation-workbench) .production-workspace{overflow-y:hidden}html[data-theme] .generation-workbench.episode-editor{min-height:0}}@media (width>=901px) and (height<=600px){html[data-theme] .production-layout:has(.generation-workbench) .production-workspace{overflow-y:auto}html[data-theme] .generation-workbench.episode-editor{min-height:640px}}@media (width<=1180px){html[data-theme] .production-layout:has(.generation-workbench) .production-workspace{padding:12px 16px}html[data-theme] .generation-workbench.episode-editor{--workbench-inset:16px}html[data-theme] .generation-workbench.episode-editor .generation-panel-heading{padding-inline:16px}}@media (width>=901px){html[data-theme] .generation-workbench.episode-editor .episode-editor-prompt{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;overflow-y:auto}html[data-theme] .generation-workbench.episode-editor .generation-prompt-content{min-height:148px}}@media (width>=901px) and (height<=800px){html[data-theme] .production-layout:has(.generation-workbench) .production-workspace{padding-block:8px}html[data-theme] .generation-workbench.episode-editor{--editor-timeline:152px;--prompt-reading-height:280px}html[data-theme] .generation-workbench.episode-editor .generation-panel-heading{min-height:44px;padding-block:3px}html[data-theme] .generation-workbench.episode-editor .generation-panel-actions>.episode-editor-more{height:32px}html[data-theme] .generation-workbench.episode-editor .generation-prompt-content{gap:4px;padding-block:4px 8px}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}html[data-theme] .generation-workbench.episode-editor .asset-prompt-editor-workbench{gap:4px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-prosemirror{padding:10px 12px;line-height:1.8}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface[data-empty=true] .asset-prompt-prosemirror:before{inset:10px 12px}html[data-theme] .generation-workbench.episode-editor .generation-reference-materials{padding-top:0}html[data-theme] .generation-workbench.episode-editor .generation-reference-heading{margin-bottom:4px}html[data-theme] .generation-workbench.episode-editor .prompt-reference-empty{padding-block:2px;line-height:1.55}html[data-theme] .generation-workbench.episode-editor .generation-controls{gap:4px;padding-block:6px}html[data-theme] .generation-workbench.episode-editor .generation-timeline-toolbar{min-height:40px;padding-block:4px}html[data-theme] .generation-workbench.episode-editor .timeline-cards{padding-top:0;padding-bottom:8px}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-9-16:has(>div){--preview-width:min(calc(100% - 40px), clamp(132px, calc((100dvh - 480px) * .5625), 190px))}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-1-1:has(>div){--preview-width:min(calc(100% - 40px), clamp(180px, calc(100dvh - 480px), 196px))}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-16-9:has(>div){--preview-width:min(calc(100% - 40px), calc(clamp(180px, calc(100dvh - 480px), 320px) * 16 / 9))}}@media (width<=900px){html[data-theme] .generation-workbench.episode-editor .episode-editor-body{grid-template-columns:minmax(0,1fr)}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview{min-height:420px}html[data-theme] .generation-workbench.episode-editor .episode-editor-timeline{height:160px;min-height:160px}}@media (width<=600px){html[data-theme] .production-layout:has(.generation-workbench) .production-workspace{padding:12px}html[data-theme] .generation-workbench.episode-editor{--workbench-inset:12px;--generation-control-height:44px}html[data-theme] .generation-workbench.episode-editor .generation-panel-heading{gap:8px;min-height:56px;padding:12px}html[data-theme] .generation-workbench.episode-editor .generation-mobile-shot-picker{min-width:0;padding:8px var(--workbench-inset) 0;color:var(--text-2);flex:none;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;font-size:13px;display:grid}html[data-theme] .generation-workbench.episode-editor .generation-prompt-content{gap:12px;padding-block:12px}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading{flex-direction:column;gap:3px}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading>div{flex:none;width:100%}html[data-theme] .generation-workbench.episode-editor .prompt-workspace-heading small{text-align:left;flex-basis:auto}html[data-theme] .generation-workbench.episode-editor .generation-controls{gap:6px;padding:10px 12px}html[data-theme] .generation-workbench.episode-editor .generation-extra-options select,html[data-theme] .generation-workbench.episode-editor .generation-more-trigger{height:44px;min-height:44px}html[data-theme] .generation-workbench.episode-editor .generation-extra-options>.generation-setting-audio{min-height:44px}html[data-theme] .generation-workbench.episode-editor .generation-more-popover .generation-format-popover-heading button{width:44px;height:44px}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-more,.asset-prompt-heading-actions>button,.generation-reference-heading>button,.generation-timeline-actions>button,.episode-editor-primary,.generation-setting-audio,.asset-shelf-toggle,.generation-send-summary>summary,.preview-tabs button){min-height:44px}html[data-theme] .generation-workbench.episode-editor .episode-editor-primary{height:44px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-prosemirror{padding-inline:12px;font-size:16px}html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-settings>label,.generation-mobile-shot-picker)>select,html[data-theme] .generation-workbench.episode-editor .generation-extra-options select{font-size:16px}html[data-theme] .generation-workbench.episode-editor .asset-prompt-surface[data-empty=true] .asset-prompt-prosemirror:before{inset-inline:12px}html[data-theme] .generation-workbench.episode-editor .generation-controls .byok-badge{max-width:48%}html[data-theme] .generation-workbench.episode-editor .generation-timeline-toolbar{gap:8px;padding:10px 12px}html[data-theme] .generation-workbench.episode-editor .preview-tabs{padding-inline:12px}html[data-theme] .generation-workbench.episode-editor .preview-tabs .frame-generate-inline,html[data-theme] .generation-workbench.episode-editor .frame-model-select select{min-height:44px}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-9-16{--preview-width:min(calc(100% - 24px), 202px)}html[data-theme] .generation-workbench.episode-editor .episode-editor-preview .episode-main-preview.aspect-16-9{--preview-width:calc(100% - 24px)}}@container generation-editor (width<=520px){html[data-theme] .generation-workbench.episode-editor .episode-editor-toolbar.generation-panel-heading{flex-wrap:wrap}html[data-theme] .generation-workbench.episode-editor .generation-panel-title{flex:100%}html[data-theme] .generation-workbench.episode-editor .generation-panel-actions{flex-wrap:wrap;justify-content:flex-end;width:100%}}@container generation-editor (width<=480px){html[data-theme] .generation-workbench.episode-editor .asset-prompt-heading>.asset-prompt-heading-label{flex-basis:100%}}@media (width<=479px){html[data-theme] .generation-workbench.episode-editor .episode-editor-timeline{height:204px;min-height:204px}}@media (prefers-reduced-motion:reduce){html[data-theme] .generation-workbench.episode-editor :is(.episode-editor-more,.asset-prompt-heading-actions>button,.generation-reference-heading>button,.generation-timeline-actions>button,.episode-editor-primary,.timeline-cards article){transition:none}}html[data-theme] .module-assets .asset-extraction-panel{margin-bottom:14px}html[data-theme] .module-assets .asset-library-toolbar{border:1px solid var(--line);background:var(--panel);border-radius:10px;grid-template-columns:minmax(200px,1fr) auto;align-items:center;gap:12px;margin-bottom:12px;padding:16px;display:grid}html[data-theme] .module-assets .asset-scope-heading{border-right:0;grid-area:1/1;gap:4px;min-width:0;padding-right:0}html[data-theme] .module-assets .asset-scope-heading small{font-size:11px;line-height:16px}html[data-theme] .module-assets .asset-scope-heading strong{font-size:16px;font-weight:650;line-height:1.5}html[data-theme] .module-assets .asset-library-actions{grid-area:1/2;gap:8px}html[data-theme] .module-assets .asset-library-tabs{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;grid-area:2/1/auto/-1;justify-self:center;gap:4px;max-width:100%;padding:4px}html[data-theme] .module-assets .asset-library-tabs button{border-radius:6px;gap:8px;min-height:40px;padding:8px 16px;font-size:14px;font-weight:600}html[data-theme] .module-assets .asset-library-tabs button.active{background:var(--accent);color:var(--accent-contrast,#fff)}html[data-theme] .module-assets .asset-library-tabs button:after{display:none}html[data-theme] .module-assets .asset-library-tabs button.active span{color:inherit;background:#fff3}html[data-theme] .module-assets .asset-library-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}html[data-theme] .module-assets .asset-library-tabs button span{font-variant-numeric:tabular-nums;min-width:20px;height:20px;font-size:11px}html[data-theme] .module-assets .asset-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));align-items:start;gap:12px}html[data-theme] .module-assets .asset-card .asset-copy{align-content:start;gap:8px;padding:12px}html[data-theme] .module-assets .asset-card .asset-copy h3{overflow-wrap:anywhere;min-height:45px;font-size:15px;font-weight:600;line-height:1.5}html[data-theme] .module-assets .asset-card .asset-copy p{font-size:12px;line-height:18px}html[data-theme] .module-assets .asset-card.no-preview .asset-visual{background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:8px;height:auto;min-height:0;padding:12px 12px 0;display:flex;overflow:visible}html[data-theme] .module-assets .asset-card.no-preview .asset-unrendered-state{display:none}html[data-theme] .module-assets .asset-card.no-preview :is(.asset-kind,.asset-status-overlay){-webkit-backdrop-filter:none;backdrop-filter:none;flex:none;max-width:100%;padding:3px 6px;font-size:11px;line-height:16px;position:static}html[data-theme] .module-assets .asset-card.no-preview .asset-copy,html[data-theme] .module-assets .asset-card.has-preview .asset-copy{padding-top:12px}html[data-theme] .module-assets .asset-empty-state{border-color:var(--line);gap:10px;min-height:260px;padding:32px 20px}html[data-theme] .module-assets .asset-empty-state>span{background:var(--panel-2);width:40px;height:40px}html[data-theme] .module-assets .asset-empty-state strong{color:var(--text);font-size:18px;font-weight:600}html[data-theme] .module-assets .asset-empty-state small{max-width:52ch;font-size:13px;line-height:1.7}@media (width<=1200px){html[data-theme] .module-assets .asset-library-toolbar{grid-template-columns:minmax(0,1fr);gap:12px}html[data-theme] .module-assets .asset-library-actions{flex-wrap:wrap;grid-area:2/1;justify-content:flex-start;width:100%}html[data-theme] .module-assets .asset-library-actions>button{flex:0 auto}html[data-theme] .module-assets .asset-library-tabs{grid-row:3}}@media (width>=1700px){html[data-theme] .module-assets .asset-library-toolbar{grid-template-columns:minmax(200px,1fr) auto minmax(200px,1fr)}html[data-theme] .module-assets .asset-library-tabs{grid-area:1/2}html[data-theme] .module-assets .asset-library-actions{grid-column:3;justify-content:flex-end}}@media (width<=600px){html[data-theme] .module-assets .asset-library-toolbar{margin-bottom:12px}html[data-theme] .module-assets .asset-scope-heading strong{font-size:18px}html[data-theme] .module-assets .asset-library-actions{gap:8px}html[data-theme] .module-assets .asset-library-actions>button{flex:calc(50% - 4px);min-height:44px}html[data-theme] .module-assets .asset-library-more>summary{min-width:44px;min-height:44px}html[data-theme] .module-assets .asset-library-tabs{gap:2px;width:100%}html[data-theme] .module-assets .asset-library-tabs button{flex:1;gap:4px;min-height:44px;padding:8px;font-size:13px}html[data-theme] .module-assets .asset-grid{gap:12px}html[data-theme] .module-assets .asset-card .asset-copy h3{min-height:0}}html[data-theme] .module-assets .desktop-asset-extraction{color:var(--text);border:1px solid var(--line);background:var(--panel);border-radius:12px;grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;padding:12px 16px;display:grid;container:asset-extraction/inline-size}.desktop-asset-extraction :is(h2,h3,p){margin:0}.desktop-asset-extraction :is(button,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.extraction-panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;min-width:0;display:flex}.extraction-heading-copy,.extraction-current-source,.extraction-heading-tools{flex-wrap:wrap;gap:4px 8px;min-width:0;display:flex}.extraction-heading-copy{align-items:baseline;column-gap:12px}.extraction-panel-heading h2{font-size:18px;font-weight:650;line-height:24px}.extraction-heading-tools{align-items:center}.extraction-toolbar{grid-template-columns:minmax(0,1fr);align-items:end;gap:12px 16px;display:grid}.extraction-models{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.extraction-model-picker{min-width:0;color:var(--muted);gap:6px;font-size:12px;font-weight:600;line-height:1.4;display:grid}.extraction-model-picker select{border:1px solid var(--line-strong);background:var(--panel-2);width:100%;min-width:0;min-height:40px;color:var(--text);font:inherit;text-overflow:ellipsis;border-radius:8px;padding:0 12px;font-size:13px;font-weight:500}.extraction-model-picker select:disabled{color:var(--muted);cursor:not-allowed}.extraction-current-source{overflow-wrap:anywhere;align-items:baseline}.extraction-current-source strong{overflow-wrap:anywhere;font-size:13px;font-weight:600}.extraction-current-source span{color:var(--muted);font-size:12px}.extraction-submit-actions{flex-wrap:wrap;justify-self:end;gap:8px;display:flex}html[data-theme] .module-assets .desktop-asset-extraction :is(.outline-button,.primary-button,.text-button){height:auto;min-height:40px;padding:6px 12px;font-size:13px;line-height:1.4}.desktop-asset-extraction button:disabled{cursor:not-allowed}.desktop-asset-extraction .extraction-help{color:var(--muted);font-size:12px;line-height:1.6}.extraction-task-state{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:4px 12px;padding-top:8px;display:flex}.extraction-task-title{overflow-wrap:anywhere;align-items:baseline;gap:8px;min-width:0;font-size:13px;display:flex}.extraction-task-title strong{font-weight:600}.extraction-task-title>span{font-variant-numeric:tabular-nums;color:var(--muted)}.extraction-task-state>p,.extraction-unknown p{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.6}.extraction-task-state progress{appearance:none;background:var(--panel-3);width:100%;height:5px;accent-color:var(--accent);border:0;border-radius:4px;overflow:hidden}.extraction-task-state progress::-webkit-progress-bar{background:var(--panel-3);border-radius:4px}.extraction-task-state progress::-webkit-progress-value{background:var(--accent);border-radius:4px}.extraction-task-state progress::-moz-progress-bar{background:var(--accent);border-radius:4px}.extraction-unknown{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;display:flex}.extraction-result-summary{font-variant-numeric:tabular-nums}.desktop-asset-extraction .extraction-error{color:var(--red);overflow-wrap:anywhere;font-size:12px;line-height:1.6}.extraction-recovery{border-top:1px solid var(--line);min-width:0;padding-top:8px}.extraction-recovery-heading{gap:4px;display:grid}.extraction-recovery-heading h3{align-items:baseline;gap:8px;font-size:14px;font-weight:600;line-height:1.5;display:flex}.extraction-recovery-heading h3 span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;font-weight:500}.extraction-recovery-heading p{color:var(--muted);font-size:12px;line-height:1.6}.extraction-recovery-list{margin:8px 0 0;padding:0;list-style:none}.extraction-recovery-list>li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:8px 0;display:flex}.extraction-entry-copy{gap:4px;min-width:0;display:grid}.extraction-entry-copy>div{flex-wrap:wrap;align-items:baseline;gap:6px 8px;display:flex}.extraction-entry-copy strong{overflow-wrap:anywhere;font-size:13px;font-weight:600}.extraction-entry-copy :is(span,em,p){color:var(--muted);overflow-wrap:anywhere;font-size:12px;font-style:normal;line-height:1.6}.extraction-entry-actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.extraction-retry{flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:8px;display:flex}.extraction-retry>span{color:var(--muted);font-size:12px;line-height:1.6}@container asset-extraction (width>=820px){.extraction-toolbar{grid-template-columns:minmax(0,1fr) auto}}@container asset-extraction (width<=520px){.extraction-models{grid-template-columns:minmax(0,1fr)}}@media (width<=600px){html[data-theme] .module-assets .desktop-asset-extraction{padding:12px}.extraction-model-picker select{min-height:44px;font-size:16px}html[data-theme] .module-assets .desktop-asset-extraction :is(.outline-button,.primary-button,.text-button){min-height:44px;padding-inline:8px}.extraction-submit-actions{width:100%}.extraction-submit-actions>button{flex:auto}.extraction-recovery-list>li{flex-direction:column;align-items:stretch;gap:8px}.extraction-entry-actions{align-self:flex-start}}.asset-extraction-report{gap:12px;min-width:0;display:grid}.asset-extraction-report :is(h3,h4,p){margin:0}.asset-extraction-report h3{font-size:16px}.asset-extraction-report h4{margin-top:16px;font-size:13px}.asset-extraction-report p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.asset-extraction-report details{border-bottom:1px solid var(--line);min-width:0;padding:12px 0}.asset-extraction-report summary{cursor:pointer;overflow-wrap:anywhere;min-height:32px;font-size:13px}.asset-extraction-report summary span{color:var(--muted);margin-right:8px}.asset-extraction-report summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.asset-extraction-report pre{color:var(--text);background:var(--panel-2);font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin:8px 0 0;padding:12px;font-size:13px;line-height:1.7}.asset-dual-prompts{min-width:0}.asset-dual-prompt-tabs{background:var(--panel-2);border-radius:8px;gap:4px;margin-bottom:12px;padding:3px;display:flex}.asset-dual-prompt-tabs button{min-width:0;min-height:38px;color:var(--muted);font:inherit;background:0 0;border:0;border-radius:6px;flex:1;padding:8px;font-size:13px;font-weight:600}.asset-dual-prompt-tabs button[aria-selected=true]{background:var(--panel);color:var(--text);box-shadow:0 1px 3px #00000014}.asset-dual-prompt-tabs button:hover{color:var(--text)}.asset-dual-prompts :is(button,textarea,summary):focus-visible{outline:2px solid var(--blue);outline-offset:3px}.asset-dual-prompts [hidden]{display:none}.asset-still-prompt-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;display:flex}.asset-still-prompt-heading label{color:var(--text);font-size:13px;font-weight:600}.asset-still-prompt-heading span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.asset-dual-prompts textarea.asset-still-prompt-editor{resize:vertical;border:1px solid var(--line-strong);background:var(--panel-2);width:100%;min-height:240px;color:var(--text);font:inherit;border-radius:8px;padding:12px;font-size:13px;line-height:1.7;display:block}.asset-still-prompt-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px;display:flex}.asset-still-prompt-actions>span{color:var(--muted);flex:1;font-size:12px}.asset-still-prompt-actions button{min-height:36px}.asset-still-prompt-conflict{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.asset-still-prompt-conflict details{color:var(--muted);flex-basis:100%;font-size:13px}.asset-still-prompt-conflict summary{cursor:pointer;padding-block:6px}.asset-still-prompt-conflict pre{background:var(--panel-2);white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;font:inherit;margin:8px 0;padding:12px;line-height:1.6;overflow:auto}.asset-extraction-repair-dialog{width:min(860px,100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto}.asset-repair-field{gap:8px;margin-top:16px;display:grid}.asset-repair-field>span{color:var(--text);flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:13px;font-weight:600;display:flex}.asset-repair-field small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;font-weight:400}.asset-repair-field textarea{resize:vertical;border:1px solid var(--line-strong);background:var(--panel-2);width:100%;min-height:200px;color:var(--text);font:inherit;border-radius:8px;padding:12px;font-size:13px;line-height:1.7}.asset-extraction-repair-dialog textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}@media (width<=600px){.asset-dual-prompt-tabs button{min-height:44px}.asset-still-prompt-actions>span{flex-basis:100%}.asset-still-prompt-actions button{flex:1;min-height:44px}.asset-extraction-repair-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px}}html[data-theme] .studio-shell .production-layout.module-generation{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}html[data-theme] .studio-shell .production-workspace>.generation-page{max-width:1560px;padding:20px 24px 32px}html[data-theme] .studio-shell .generation-page>.page-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:16px;display:grid}html[data-theme] .studio-shell .generation-page .page-header p{overflow-wrap:anywhere}html[data-theme] .studio-shell .generation-page .page-header-actions{width:auto}html[data-theme] .studio-shell .generation-page .task-center-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;display:flex}html[data-theme] .studio-shell .generation-page :is(.task-center-scope,.task-center-type-filter){border-color:var(--line);background:var(--panel);min-width:0;min-height:36px;color:var(--muted);border-radius:6px;gap:8px;padding:0 12px;font-size:12px}html[data-theme] .studio-shell .generation-page .task-center-type-filter>svg{flex:none;width:14px;height:14px}html[data-theme] .studio-shell .generation-page .task-center-type-filter>span{white-space:nowrap;flex:none}html[data-theme] .studio-shell .generation-page .task-center-type-filter select{min-width:96px;max-width:190px;height:34px;font-size:12px;font-weight:500}html[data-theme] .studio-shell .generation-page .task-center-scope input{flex:none;width:16px;height:16px;margin:0}html[data-theme] .studio-shell .generation-page .task-center-scope:has(input:checked){border-color:var(--lime);background:var(--lime-soft);color:var(--lime)}html[data-theme] .studio-shell .generation-page .task-center-scope:has(input:disabled){cursor:default;color:var(--muted-2)}html[data-theme] .studio-shell .generation-page .generation-layout{grid-template-columns:minmax(0,1fr) 280px;gap:24px}html[data-theme] .studio-shell .generation-page .generation-main{min-width:0}html[data-theme] .studio-shell .generation-page .task-section{gap:12px;min-width:0;margin-bottom:24px}html[data-theme] .studio-shell .generation-page .task-section-head{flex-wrap:wrap;align-items:center;gap:8px 12px;padding:0}html[data-theme] .studio-shell .generation-page .task-section-head h3{align-items:center;gap:8px;font-size:15px;font-weight:600;line-height:24px;display:inline-flex}html[data-theme] .studio-shell .generation-page .task-section-head h3>svg{width:16px;height:16px;color:var(--muted-2);flex:none}html[data-theme] .studio-shell .generation-page .task-section-head small{color:var(--muted-2);font-size:12px;line-height:1.6}html[data-theme] .studio-shell .generation-page .task-section-count{background:var(--panel-3);min-width:22px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:center;border-radius:5px;padding:0 6px;font-size:12px}html[data-theme] .studio-shell .generation-page .is-active .task-section-count{background:var(--lime-soft);color:var(--lime)}html[data-theme] .studio-shell .generation-page .attention :is(h3>svg,.task-section-count){color:var(--red)}html[data-theme] .studio-shell .generation-page .attention .task-section-count{background:color-mix(in srgb, var(--red) 10%, var(--panel))}html[data-theme] .studio-shell .generation-page .task-card{border-radius:10px;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;padding:16px}html[data-theme] .studio-shell .generation-page .task-card-icon{border-color:var(--line);border-radius:8px;width:36px;height:36px}html[data-theme] .studio-shell .generation-page .task-card-body{gap:8px}html[data-theme] .studio-shell .generation-page .task-card-title{flex-wrap:wrap;gap:8px}html[data-theme] .studio-shell .generation-page .task-card-title strong{font-size:14px;font-weight:600;line-height:20px}html[data-theme] .studio-shell .generation-page .task-card-title b{border-radius:5px;padding:2px 7px;font-size:11px;font-weight:500;line-height:18px}html[data-theme] .studio-shell .generation-page :is(.status-running,.status-awaiting_provider,.status-rendering,.state-running,.state-awaiting_provider,.state-rendering){background:var(--lime-soft);color:var(--lime);border-color:#0000}html[data-theme] .studio-shell .generation-page :is(.status-queued,.state-queued,.status-unknown,.state-unknown){background:color-mix(in srgb, var(--amber) 10%, var(--panel));color:var(--amber);border-color:#0000}html[data-theme] .studio-shell .generation-page :is(.status-succeeded,.state-succeeded){background:color-mix(in srgb, var(--success) 10%, var(--panel));color:var(--success);border-color:#0000}html[data-theme] .studio-shell .generation-page .task-card-body>p{color:var(--text);overflow-wrap:anywhere;font-size:13px;line-height:1.6}html[data-theme] .studio-shell .generation-page .task-card-progress{gap:12px;max-width:720px;padding-block:4px}html[data-theme] .studio-shell .generation-page .task-card-progress-track{background:var(--panel-3);min-width:40px;height:5px}html[data-theme] .studio-shell .generation-page .task-card-progress small{font-size:11px;line-height:18px}html[data-theme] .studio-shell .generation-page .task-card-meta{color:var(--muted-2);overflow-wrap:anywhere;flex-wrap:wrap;gap:4px 16px;font-size:12px;line-height:1.6;display:flex}html[data-theme] .studio-shell .generation-page .task-card-meta>span{min-width:0}html[data-theme] .studio-shell .generation-page .task-card-meta time{font-variant-numeric:tabular-nums}html[data-theme] .studio-shell .generation-page .task-card-id{color:var(--muted-2);white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}html[data-theme] .studio-shell .generation-page .task-card-hint{color:var(--muted);font-size:12px;line-height:1.6}html[data-theme] .studio-shell .generation-page .task-card-actions{gap:8px;min-width:0}html[data-theme] .studio-shell .generation-page .task-card-actions .text-button{min-height:36px;padding:6px 0 6px 8px;font-size:12px}html[data-theme] .studio-shell .generation-page .task-cost-field{max-width:100%}html[data-theme] .studio-shell .generation-page .task-error-details summary{min-height:28px;padding-block:4px}html[data-theme] .studio-shell .generation-page .task-error-details code{overflow-wrap:anywhere;max-width:100%}html[data-theme] .studio-shell .generation-page .is-audit{border-block:1px solid var(--line);padding:16px 0}html[data-theme] .studio-shell .generation-page .task-audit-hint{font-size:12px;line-height:1.6}html[data-theme] .studio-shell .generation-page .is-done{border:1px solid var(--line);background:var(--panel);border-radius:10px;padding:16px}html[data-theme] .studio-shell .generation-page .task-history-tools{border-bottom:1px solid var(--line);gap:12px;padding-bottom:12px}html[data-theme] .studio-shell .generation-page .task-history-search{flex:360px;gap:8px;min-width:0;margin:0;display:flex}html[data-theme] .studio-shell .generation-page .task-history-search-field{border:1px solid var(--line);background:var(--editor-field);border-radius:6px;flex:1;align-items:center;gap:8px;min-width:0;padding:0 10px;display:flex}html[data-theme] .studio-shell .generation-page .task-history-search-field>svg{width:16px;height:16px;color:var(--muted-2);flex:none}html[data-theme] .studio-shell .generation-page .task-history-search input{width:100%;min-width:0;height:34px;color:var(--text);font:inherit;background:0 0;border:0;border-radius:0;padding:0;font-size:12px}html[data-theme] .studio-shell .generation-page .task-history-search-field:focus-within{outline:2px solid var(--lime);outline-offset:2px}html[data-theme] .studio-shell .generation-page .task-history-search input:focus-visible{outline:none}html[data-theme] .studio-shell .generation-page .task-history-search>button{flex:none;font-size:12px}html[data-theme] .studio-shell .generation-page .task-history-status-filter{border-radius:6px;flex:none}html[data-theme] .studio-shell .generation-page .task-history-status-filter button{min-height:28px;font-size:12px}html[data-theme] .studio-shell .generation-page .task-history-status-filter button:hover:not(.active){background:var(--panel-3);color:var(--text)}html[data-theme] .studio-shell .generation-page .task-history-status-filter em{font-variant-numeric:tabular-nums}html[data-theme] .studio-shell .generation-page .is-done>.task-card-list{gap:0}html[data-theme] .studio-shell .generation-page .task-card.done{background:0 0;border:0;border-radius:0;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;min-block-size:104px;padding:16px 0}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-body{align-content:start;gap:6px;min-block-size:72px}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-title{flex-wrap:nowrap;min-width:0}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-title strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-title b{flex:none}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-body>p{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);line-height:20px;display:block;overflow:hidden}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-meta{white-space:nowrap;flex-wrap:nowrap;gap:12px;font-size:11px;line-height:18px;overflow:hidden}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-meta time{text-overflow:ellipsis;overflow:hidden}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-actions{align-self:center}html[data-theme] .studio-shell .generation-page .task-details-trigger{color:var(--lime)}html[data-theme] .studio-shell .generation-page .is-done>.task-card-list>*+*{border-top:1px solid var(--line)}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-icon{border-radius:7px;width:30px;height:30px}html[data-theme] .studio-shell .generation-page .task-history-group{background:0 0;border:0;border-radius:0}html[data-theme] .studio-shell .generation-page .task-history-group>summary{border-radius:6px;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:start;gap:12px;min-block-size:104px;padding:16px 0}html[data-theme] .studio-shell .generation-page .task-history-group>summary:after{content:none}html[data-theme] .studio-shell .generation-page .task-history-group>summary:hover{background:var(--panel-2)}html[data-theme] .studio-shell .generation-page .task-history-group-icon{border-radius:7px;width:30px;height:30px}html[data-theme] .studio-shell .generation-page .task-history-group-copy{grid-template-rows:22px 20px 18px;align-content:start;gap:6px;min-block-size:72px}html[data-theme] .studio-shell .generation-page .task-history-group-copy strong{font-size:14px;font-weight:600;line-height:22px}html[data-theme] .studio-shell .generation-page .task-history-group-copy small{grid-row:3;font-size:11px;line-height:18px}html[data-theme] .studio-shell .generation-page .task-history-group>summary>b{white-space:nowrap;border-radius:5px;font-size:11px;font-weight:500;line-height:18px}html[data-theme] .studio-shell .generation-page .task-history-group-toggle{min-block-size:36px;color:var(--muted);white-space:nowrap;justify-content:flex-end;align-self:center;align-items:center;gap:4px;font-size:12px;line-height:20px;display:inline-flex}html[data-theme] .studio-shell .generation-page .task-history-group-toggle>svg{width:16px;height:16px}html[data-theme] .studio-shell .generation-page .task-history-group-toggle .when-open,html[data-theme] .studio-shell .generation-page .task-history-group[open]>summary .when-closed{display:none}html[data-theme] .studio-shell .generation-page .task-history-group[open]>summary .when-open{display:inline}html[data-theme] .studio-shell .generation-page .task-history-group[open]>summary .task-history-group-toggle>svg{transform:rotate(180deg)}html[data-theme] .studio-shell .generation-page .task-history-group>.task-card-list{background:var(--panel-2);border-radius:8px;gap:0;padding:0 12px}html[data-theme] .studio-shell .generation-page .task-history-group .task-card+.task-card{border-top:1px solid var(--line)}html[data-theme] .studio-shell .generation-page .is-done>small{color:var(--muted-2);text-align:center;font-size:12px}html[data-theme] .studio-shell .generation-page .generation-empty{gap:10px;min-height:176px;padding:24px 16px}html[data-theme] .studio-shell .generation-page .generation-empty>span{background:var(--panel-2);width:36px;height:36px;color:var(--muted);border-radius:9px}html[data-theme] .studio-shell .generation-page .generation-empty strong{font-size:14px;font-weight:600}html[data-theme] .studio-shell .generation-page .generation-empty small{font-size:12px}html[data-theme] .studio-shell .generation-page .is-done .generation-empty{background:0 0;border:0}html[data-theme] .studio-shell .generation-page .billing-panel{min-width:0;padding:16px;top:12px}html[data-theme] .studio-shell .generation-page .billing-panel .panel-heading{border:0;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:0;display:flex}html[data-theme] .studio-shell .generation-page .billing-panel .panel-heading h3{margin:0;font-size:14px;font-weight:600}html[data-theme] .studio-shell .generation-page .billing-panel .panel-heading button{min-height:36px;color:var(--muted);padding:4px 0;font-size:12px}html[data-theme] .studio-shell .generation-page .wallet-balance{background:var(--panel-2);border:0;border-radius:8px;margin:12px 0 16px;padding:16px}html[data-theme] .studio-shell .generation-page .wallet-balance strong{color:var(--text);letter-spacing:-.02em;margin:8px 0 4px;font-size:28px;font-weight:600}html[data-theme] .studio-shell .generation-page .wallet-balance p{font-size:12px}html[data-theme] .studio-shell .generation-page .operations-finance-summary{background:0 0;border:0;border-radius:0;gap:0;margin-bottom:16px}html[data-theme] .studio-shell .generation-page .operations-finance-summary>div{background:0 0;padding:10px 0}html[data-theme] .studio-shell .generation-page .operations-finance-summary>div+div{border-top:1px solid var(--line)}html[data-theme] .studio-shell .generation-page .operations-finance-summary strong{flex:none;font-size:13px}html[data-theme] .studio-shell .generation-page .billing-empty{border:0;border-top:1px solid var(--line);text-align:left;border-radius:0;align-items:flex-start;gap:8px;min-height:0;padding:14px 0}html[data-theme] .studio-shell .generation-page .billing-empty>svg{width:16px;height:16px;color:var(--muted-2)}html[data-theme] .studio-shell .generation-page .billing-empty strong{font-size:12px;font-weight:600}html[data-theme] .studio-shell .generation-page .billing-note{align-items:flex-start;gap:8px;margin-top:4px;padding:12px}html[data-theme] .studio-shell .generation-page .billing-note>svg{width:14px;height:14px;color:var(--muted-2);flex:none;margin-top:3px}html[data-theme] .studio-shell .generation-page .billing-reconcile-alert{border-color:color-mix(in srgb, var(--amber) 30%, var(--line));background:color-mix(in srgb, var(--amber) 7%, var(--panel));color:var(--amber)}html[data-theme] .studio-shell .generation-page .billing-reconcile-alert small{color:var(--muted)}html[data-theme] .studio-shell .generation-page .ledger-list{scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}@media (width<=1279px){html[data-theme] .studio-shell .generation-page .generation-layout{grid-template-columns:minmax(0,1fr);gap:0}html[data-theme] .studio-shell .generation-page .billing-panel{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid;position:static}html[data-theme] .studio-shell .generation-page .billing-panel>:is(.panel-heading,.billing-empty,.billing-note,.billing-reconcile-alert,.ledger-list){grid-column:1/-1}html[data-theme] .studio-shell .generation-page :is(.wallet-balance,.operations-finance-summary){margin:0}}@media (width<=720px){html[data-theme] .studio-shell .production-workspace>.generation-page{padding:16px 12px 24px}html[data-theme] .studio-shell .generation-page>.page-header{gap:12px}html[data-theme] .studio-shell .generation-page .page-header h1{font-size:20px}html[data-theme] .studio-shell .generation-page .page-header p{font-size:12px}html[data-theme] .studio-shell .generation-page .page-header-actions>button{min-height:44px;padding-inline:10px;font-size:12px}html[data-theme] .studio-shell .generation-page .task-center-toolbar{grid-template-columns:minmax(0,1fr) auto;display:grid}html[data-theme] .studio-shell .generation-page :is(.task-center-scope,.task-center-type-filter){min-height:44px;padding-inline:10px}html[data-theme] .studio-shell .generation-page .task-center-type-filter{gap:6px}html[data-theme] .studio-shell .generation-page .task-center-type-filter select{width:100%;min-width:0;height:42px}html[data-theme] .studio-shell .generation-page .task-section-head{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;display:grid}html[data-theme] .studio-shell .generation-page .task-section-head>small{grid-column:1/-1}html[data-theme] .studio-shell .generation-page .is-audit .task-section-head>button{grid-area:1/2;margin:0}html[data-theme] .studio-shell .generation-page .task-section-head h3{font-size:14px}html[data-theme] .studio-shell .generation-page .task-card{grid-template-columns:30px minmax(0,1fr);gap:12px;padding:14px}html[data-theme] .studio-shell .generation-page .task-card.done{grid-template-rows:22px 20px 44px;grid-template-columns:30px minmax(0,1fr) auto;gap:6px 12px;min-block-size:122px;padding-block:12px}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-body{display:contents}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-icon{grid-area:1/1/3}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-title{grid-area:1/2/auto/-1}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-body>p{grid-area:2/2/auto/-1}html[data-theme] .studio-shell .generation-page .task-card-icon{border-radius:7px;width:30px;height:30px}html[data-theme] .studio-shell .generation-page .task-card-actions{grid-column:2;align-items:stretch}html[data-theme] .studio-shell .generation-page .task-card-actions :is(.primary-button,.outline-button,.text-button){white-space:normal;height:auto;min-height:44px}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-actions{grid-area:3/3;justify-self:end;width:auto}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-actions .text-button{padding:4px 0 4px 12px}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-meta{grid-area:3/2;align-self:center;min-width:0;display:flex}html[data-theme] .studio-shell .generation-page .task-card.done .task-card-id{flex:none}html[data-theme] .studio-shell .generation-page .task-card-progress{flex-direction:column;align-items:stretch;gap:6px}html[data-theme] .studio-shell .generation-page .task-card-progress-track{flex:none;width:100%}html[data-theme] .studio-shell .generation-page .task-card-progress small{text-align:right;white-space:normal}html[data-theme] .studio-shell .generation-page .task-card-meta{gap:4px;display:grid}html[data-theme] .studio-shell .generation-page .task-error-details summary{min-height:44px;padding-block:12px}html[data-theme] .studio-shell .generation-page .task-verification-guide summary{align-content:center;min-height:44px}html[data-theme] .studio-shell .generation-page .task-cost-field input{height:44px}html[data-theme] .studio-shell .generation-page .is-done{padding:14px}html[data-theme] .studio-shell .generation-page .task-history-tools{grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:12px;display:grid}html[data-theme] .studio-shell .generation-page .task-history-search{gap:8px;width:100%}html[data-theme] .studio-shell .generation-page .task-history-search input{height:42px}html[data-theme] .studio-shell .generation-page .task-history-search>button{min-height:44px}html[data-theme] .studio-shell .generation-page .task-history-status-filter{display:flex}html[data-theme] .studio-shell .generation-page .task-history-status-filter button{flex:1;justify-content:center;min-height:44px}html[data-theme] .studio-shell .generation-page .task-history-group>summary{grid-template-rows:22px 20px 44px;grid-template-columns:30px minmax(0,1fr) auto;gap:6px 12px;min-block-size:122px;padding-block:12px}html[data-theme] .studio-shell .generation-page .task-history-group-icon{grid-area:1/1/3}html[data-theme] .studio-shell .generation-page .task-history-group-copy{display:contents}html[data-theme] .studio-shell .generation-page .task-history-group-copy strong{grid-area:1/2}html[data-theme] .studio-shell .generation-page .task-history-group-copy small{grid-area:3/2;align-self:center}html[data-theme] .studio-shell .generation-page .task-history-group>summary>b{grid-area:1/3}html[data-theme] .studio-shell .generation-page .task-history-group-toggle{grid-area:3/3;justify-self:end;min-block-size:44px}html[data-theme] .studio-shell .generation-page .task-history-group-copy :is(strong,small){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}html[data-theme] .studio-shell .generation-page .billing-panel{padding:16px;display:block}html[data-theme] .studio-shell .generation-page .wallet-balance{margin:12px 0}html[data-theme] .studio-shell .generation-page .billing-panel .panel-heading button{min-height:44px}}html[data-theme] .studio-shell .generation-page .task-cancel-bulk{min-height:36px;margin-left:auto;font-size:12px}html[data-theme] .studio-shell .generation-page .task-card.active:has(.task-cancel-button) .task-card-actions{grid-template-columns:repeat(2,max-content);display:grid}html[data-theme] .studio-shell .generation-page .task-card.active:has(.task-cancel-button) .task-details-trigger{grid-column:1/-1;justify-self:end}html[data-theme] .studio-shell .generation-page :is(.task-cancel-button,.task-cancel-bulk):is(:hover,:focus-visible):not(:disabled){color:var(--red);border-color:color-mix(in srgb, var(--red) 40%, var(--line))}html[data-theme] .studio-shell .generation-page .task-cancel-feedback{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.6}html[data-theme] .studio-shell .generation-page .task-cancel-feedback.has-error{color:var(--red)}@media (width<=720px){html[data-theme] .studio-shell .generation-page .task-cancel-bulk{grid-area:1/2;min-height:44px;margin:0}html[data-theme] .studio-shell .generation-page .task-card.active .task-card-actions{flex-flow:wrap;justify-content:flex-start}html[data-theme] .studio-shell .generation-page .task-card.active:has(.task-cancel-button) .task-card-actions{display:flex}html[data-theme] .studio-shell .generation-page .task-card.active .task-card-actions>button{flex:auto}}html[data-theme] .task-details-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0000006b;padding:24px}html[data-theme] .modal.task-details-modal{border:1px solid var(--border);background:var(--surface);width:min(100%,680px);max-height:min(860px,100dvh - 48px);color:var(--text-1);box-shadow:var(--floating-shadow);border-radius:12px;grid-template-rows:auto minmax(0,1fr) auto;padding:0;display:grid;overflow:hidden}html[data-theme] .task-details-modal .task-details-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px 16px;display:flex}html[data-theme] .task-details-modal .task-details-heading>div{min-width:0}html[data-theme] .task-details-modal .task-details-heading h2{color:var(--text-1);letter-spacing:-.02em;margin:0;font-size:20px;font-weight:600;line-height:28px}html[data-theme] .task-details-modal .task-details-heading p{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0;font-size:13px;display:flex}html[data-theme] .task-details-modal .task-detail-status{background:var(--surface-sunken);color:var(--text-2);border-radius:5px;padding:2px 7px;font-size:11px;font-weight:500;line-height:18px}html[data-theme] .task-details-modal .task-detail-status.status-failed{background:color-mix(in srgb, var(--danger) 10%, var(--surface));color:var(--danger)}html[data-theme] .task-details-modal .task-detail-status.status-unknown,html[data-theme] .task-details-modal .task-detail-status.status-queued{background:color-mix(in srgb, var(--warning) 10%, var(--surface));color:var(--warning)}html[data-theme] .task-details-modal .task-detail-status.status-succeeded{background:color-mix(in srgb, var(--success) 10%, var(--surface));color:var(--success)}html[data-theme] .task-details-modal .task-detail-status:is(.status-running,.status-awaiting_provider,.status-rendering){background:var(--brand-subtle);color:var(--brand-accent)}html[data-theme] .task-details-modal .task-details-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;align-content:start;gap:24px;min-height:0;padding:20px 24px;display:grid;overflow-y:auto}html[data-theme] .task-details-modal .task-detail-identity{background:var(--surface-sunken);border-radius:8px;padding:12px 14px}html[data-theme] .task-details-modal .task-detail-identity>div{justify-content:space-between;align-items:center;gap:12px;display:flex}html[data-theme] .task-details-modal .task-detail-identity>div>span{color:var(--text-2);font-size:12px}html[data-theme] .task-details-modal .task-detail-identity .text-button{min-height:32px;color:var(--brand-accent);padding:4px 0;font-size:12px}html[data-theme] .task-details-modal .task-detail-identity>code{color:var(--text-1);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;margin-top:4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.7;display:block}html[data-theme] .task-details-modal .task-detail-section{min-width:0}html[data-theme] .task-details-modal .task-detail-section h3{color:var(--text-1);margin:0 0 12px;font-size:14px;font-weight:600;line-height:20px}html[data-theme] .task-details-modal .task-detail-section dl{gap:10px;margin:0;display:grid}html[data-theme] .task-details-modal .task-detail-row{grid-template-columns:104px minmax(0,1fr);align-items:baseline;gap:12px;min-width:0;font-size:13px;line-height:1.6;display:grid}html[data-theme] .task-details-modal .task-detail-row dt{color:var(--text-3)}html[data-theme] .task-details-modal .task-detail-row dd{min-width:0;color:var(--text-1);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:0}html[data-theme] .task-details-modal .task-detail-row .is-identifier{-webkit-user-select:all;user-select:all;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}html[data-theme] .task-details-modal .task-detail-note{color:var(--text-2);margin:12px 0 0;font-size:12px;line-height:1.7}html[data-theme] .task-details-modal .task-detail-error{background:color-mix(in srgb, var(--danger) 5%, var(--surface));border-radius:8px;align-items:flex-start;gap:10px;padding:14px;display:flex}html[data-theme] .task-details-modal .task-detail-error>svg{width:16px;height:16px;color:var(--danger);flex:none;margin-top:2px}html[data-theme] .task-details-modal .task-detail-error>div{min-width:0}html[data-theme] .task-details-modal .task-detail-error h3{color:var(--danger);margin:0;font-size:13px;font-weight:600;line-height:20px}html[data-theme] .task-details-modal .task-detail-error p{color:var(--text-2);overflow-wrap:anywhere;margin:6px 0 0;font-size:12px;line-height:1.7}html[data-theme] .task-details-modal .task-detail-error code{color:var(--text-1);overflow-wrap:anywhere;font-size:11px}html[data-theme] .task-details-modal .task-detail-copy-status{flex-basis:100%;min-width:0}html[data-theme] .task-details-modal .task-detail-copy-status p{color:var(--success);margin:0;font-size:12px;line-height:1.6}html[data-theme] .task-details-modal .task-detail-copy-status.is-error p{color:var(--danger)}html[data-theme] .task-details-modal .task-detail-copy-status textarea{border:1px solid var(--border);background:var(--surface-sunken);width:100%;min-height:110px;color:var(--text-1);overflow-wrap:anywhere;border-radius:6px;margin-top:8px;padding:10px;font:12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace}html[data-theme] .task-details-modal .task-details-footer{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:12px;padding:16px 24px;display:flex}html[data-theme] .task-details-modal :is(.primary-button,.outline-button){border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:8px 12px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex}html[data-theme] .task-details-modal .outline-button{border:1px solid var(--border);background:var(--surface);color:var(--text-1)}html[data-theme] .task-details-modal .outline-button:hover{border-color:var(--border-strong);background:var(--surface-sunken)}html[data-theme] .task-details-modal .primary-button{background:var(--brand-accent);color:var(--brand-foreground);border:1px solid #0000}html[data-theme] .task-details-modal .primary-button:hover{background:var(--brand-hover)}html[data-theme] .task-details-modal .primary-button>svg{width:15px;height:15px}html[data-theme] .task-details-modal :is(button,textarea):focus-visible{outline:2px solid var(--brand-accent);outline-offset:3px}@media (width<=600px){html[data-theme] .task-details-backdrop{padding:12px}html[data-theme] .modal.task-details-modal{max-height:calc(100dvh - 24px)}html[data-theme] .task-details-modal .task-details-heading{padding:16px}html[data-theme] .task-details-modal .task-details-body{gap:20px;padding:16px}html[data-theme] .task-details-modal .task-detail-row{grid-template-columns:86px minmax(0,1fr);gap:10px}html[data-theme] .task-details-modal .task-detail-identity{padding:10px 12px}html[data-theme] .task-details-modal .task-detail-identity .text-button{min-height:44px}html[data-theme] .task-details-modal .task-details-footer{gap:8px;padding:12px 16px}html[data-theme] .task-details-modal :is(.primary-button,.outline-button){min-height:44px}html[data-theme] .task-details-modal .task-details-footer>button{flex:1}}.workspace-view-skeleton{width:100%;min-width:0;max-width:1600px;margin-inline:auto;padding:12px 16px}.workspace-view-skeleton.is-compact{padding:0}.workspace-view-skeleton.is-compact:is(.skeleton-view-projects,.skeleton-view-generation)>.workspace-placeholder-layout>.workspace-placeholder-heading{display:none}.workspace-placeholder-layout{gap:12px;min-width:0;display:grid}.workspace-placeholder-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.workspace-placeholder{background:color-mix(in srgb, var(--line) 68%, var(--panel));border-radius:4px;min-width:0;height:10px;animation:1.8s ease-in-out infinite workspace-placeholder-breathe;display:block}.workspace-placeholder.is-title{width:min(180px,65%);height:20px}.workspace-placeholder.is-subtitle{width:min(300px,88%);height:9px;margin-top:12px}.workspace-placeholder-heading{justify-content:space-between;align-items:center;gap:20px;min-width:0;display:flex}.workspace-placeholder-heading>div:first-child{flex:1;min-width:0}.workspace-placeholder-tools{gap:8px;display:flex}.workspace-placeholder-tools>i{border-radius:7px;width:88px;height:32px}.workspace-placeholder-lines{gap:12px;min-width:0;display:grid}.workspace-placeholder-lines>i:nth-child(3n+1){width:88%}.workspace-placeholder-lines>i:nth-child(3n+2){width:72%}.workspace-placeholder-lines>i:nth-child(3n){width:58%}.workspace-placeholder-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.workspace-placeholder-cards.is-assets{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.workspace-placeholder-card,.workspace-placeholder-manuscript,.workspace-placeholder-row,.workspace-placeholder-summary,.workspace-placeholder-editor,.workspace-placeholder-timeline{border:1px solid var(--line);background:var(--panel);border-radius:12px;min-width:0}.workspace-placeholder-card{overflow:hidden}.workspace-placeholder-card>.is-cover{aspect-ratio:16/9;opacity:.6;border-radius:0;width:100%;height:auto}.workspace-placeholder-card>.workspace-placeholder-lines{padding:20px}.workspace-placeholder-cards.is-assets .is-cover{aspect-ratio:4/3}.workspace-placeholder-cards.is-assets .workspace-placeholder-lines{padding:16px}.workspace-placeholder-script{grid-template-columns:minmax(0,1fr) 210px;gap:12px;display:grid}.workspace-placeholder-manuscript{min-height:480px;overflow:hidden}.workspace-placeholder-editor-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;gap:20px;padding:18px 20px;display:flex}.workspace-placeholder-editor-toolbar>i{width:40%;height:26px}.workspace-placeholder-manuscript>.workspace-placeholder-lines{gap:22px;padding:34px 28px}.workspace-placeholder-manuscript>.workspace-placeholder-lines>i:nth-child(3n){margin-bottom:16px}.workspace-placeholder-history{align-content:start;gap:28px;padding:16px 0;display:grid}.workspace-placeholder-history .workspace-placeholder-lines{border-left:1px solid var(--line);padding-left:16px}.workspace-placeholder-rows{align-content:start;gap:12px;min-width:0;display:grid}.workspace-placeholder-row{grid-template-columns:34px minmax(0,1fr) 76px;align-items:center;gap:20px;min-height:104px;padding:20px;display:grid}.workspace-placeholder-row>.is-row-icon{border-radius:8px;width:34px;height:34px}.workspace-placeholder-row>.is-row-action{border-radius:6px;width:76px;height:28px}.workspace-placeholder-rows.has-thumbnails .workspace-placeholder-row{grid-template-columns:138px minmax(0,1fr) 76px;min-height:122px}.workspace-placeholder-rows.has-thumbnails .is-row-icon{width:138px;height:80px}.workspace-placeholder-tasks{grid-template-columns:minmax(0,1fr) 240px;align-items:start;gap:12px;display:grid}.workspace-placeholder-tasks .workspace-placeholder-row{min-height:140px}.workspace-placeholder-summary{gap:28px;padding:24px;display:grid}.workspace-placeholder-summary .is-balance{width:70%;height:40px}.workspace-placeholder-wizard{width:100%;max-width:940px;margin-inline:auto}.workspace-placeholder-editor{overflow:hidden}.workspace-placeholder-editor-body{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);display:grid}.workspace-placeholder-prompt{align-content:start;gap:22px;min-width:0;padding:22px;display:grid}.workspace-placeholder-prompt .workspace-placeholder-tools>i{width:52px;height:26px}.workspace-placeholder-prompt-copy{border:1px solid var(--line);border-radius:10px;min-height:266px;padding:22px}.workspace-placeholder-prompt-copy .workspace-placeholder-lines{gap:19px}.workspace-placeholder-reference{gap:10px;display:flex}.workspace-placeholder-reference>i{border-radius:7px;width:64px;height:54px}.workspace-placeholder-parameters{border-top:1px solid var(--line);gap:8px;padding-top:12px;display:flex}.workspace-placeholder-parameters>i{border-radius:6px;width:24%;height:30px}.workspace-placeholder-parameters>i:first-child{width:52%}.workspace-placeholder-preview{border-left:1px solid var(--line);background:var(--panel-2);flex-direction:column;align-items:center;gap:28px;min-width:0;padding:22px;display:flex}.workspace-placeholder-preview>.workspace-placeholder-lines{align-self:stretch}.workspace-placeholder-preview>.is-video{aspect-ratio:9/16;border-radius:8px;flex:1;width:min(100%,200px);height:auto;min-height:0}.workspace-placeholder-shots{border-top:1px solid var(--line);gap:12px;padding:18px 22px;display:flex;overflow:hidden}.workspace-placeholder-shots>i{border-radius:8px;flex:none;width:138px;height:76px}.workspace-placeholder-soundtrack{grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:12px;display:grid}.workspace-placeholder-soundtrack>.is-player{aspect-ratio:16/9;border-radius:12px;width:100%;height:auto;min-height:280px}.workspace-placeholder-soundtrack .workspace-placeholder-row{grid-template-columns:28px minmax(0,1fr);gap:14px}.workspace-placeholder-soundtrack .is-row-action{display:none}.workspace-placeholder-timeline{gap:14px;padding:22px;display:grid}.workspace-placeholder-timeline>i{border-radius:6px;width:100%;height:30px}.workspace-placeholder-timeline>i:nth-child(2){width:82%}.workspace-placeholder-timeline>i:last-child{width:65%}.workspace-view-skeleton.is-compact .workspace-placeholder-manuscript{min-height:340px}.workspace-view-skeleton.is-compact .workspace-placeholder-prompt-copy{min-height:224px}.workspace-loading .workspace-skeleton{animation:1.8s ease-in-out infinite workspace-placeholder-breathe}.workspace-loading.module-episode-editor .workspace-view-skeleton,.workspace-loading.module-episode-editor .workspace-placeholder-layout{height:100%;min-height:0}.workspace-loading.module-episode-editor .workspace-placeholder-editor{grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid}.workspace-loading.module-episode-editor .workspace-placeholder-editor-body{min-height:0}.workspace-loading.module-episode-editor .workspace-placeholder-prompt{grid-template-rows:auto minmax(0,1fr) auto auto;gap:16px;min-height:0}.workspace-loading.module-episode-editor .workspace-placeholder-prompt-copy,.workspace-loading.module-episode-editor .workspace-placeholder-preview{min-height:0;overflow:hidden}@keyframes workspace-placeholder-breathe{0%,to{opacity:.55}50%{opacity:.9}}@media (width<=1180px){.workspace-placeholder-cards.is-assets{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-placeholder-script{grid-template-columns:minmax(0,1fr) 180px;gap:20px}}@media (width<=860px){.workspace-view-skeleton{padding:12px 16px}.workspace-placeholder-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-placeholder-script{grid-template-columns:minmax(0,1fr)}.workspace-placeholder-history{display:none}.workspace-placeholder-tasks{grid-template-columns:minmax(0,1fr)}.workspace-placeholder-summary{display:none}.workspace-placeholder-soundtrack{grid-template-columns:minmax(0,1fr)}.workspace-placeholder-soundtrack>.is-player{min-height:220px}.workspace-placeholder-editor-body{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.workspace-placeholder-prompt,.workspace-placeholder-preview{padding:16px}.workspace-placeholder-prompt .workspace-placeholder-tools{display:none}}@media (width<=600px){.workspace-view-skeleton{padding:12px}.workspace-placeholder-layout,.workspace-placeholder-heading{gap:12px}.workspace-placeholder-tools>i{width:52px}.workspace-placeholder-tools>i+i{display:none}.workspace-placeholder-cards{grid-template-columns:minmax(0,1fr);gap:12px}.workspace-placeholder-cards.is-assets{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.workspace-placeholder-cards.is-assets .workspace-placeholder-lines{padding:12px}.workspace-placeholder-row{grid-template-columns:28px minmax(0,1fr);gap:14px;padding:16px}.workspace-placeholder-row>.is-row-icon{width:28px;height:28px}.workspace-placeholder-row>.is-row-action{display:none}.workspace-placeholder-rows.has-thumbnails .workspace-placeholder-row{grid-template-columns:84px minmax(0,1fr);min-height:100px}.workspace-placeholder-rows.has-thumbnails .is-row-icon{width:84px;height:60px}.workspace-placeholder-editor-body{grid-template-columns:minmax(0,1fr)}.workspace-placeholder-preview{display:none}.workspace-placeholder-prompt{gap:18px}.workspace-placeholder-prompt-copy{min-height:270px;padding:18px}.workspace-placeholder-shots{gap:10px;padding:16px}.workspace-placeholder-shots>i{width:104px;height:64px}.workspace-placeholder-manuscript>.workspace-placeholder-lines{padding:28px 20px}}@media (prefers-reduced-motion:reduce){.workspace-placeholder,.workspace-loading .workspace-skeleton{opacity:.75;animation:none}}.feature-loading-panel{align-content:center;gap:18px;min-width:0;min-height:168px;padding:24px;display:grid}.feature-loading-label,.feature-loading-inline{color:var(--muted);font-size:13px;line-height:1.5}.feature-loading-inline{align-items:center;gap:8px;margin:12px 0;display:flex}.feature-loading-mark{background:currentColor;border-radius:50%;flex:none;width:6px;height:6px;animation:1.6s ease-in-out infinite feature-loading-pulse}.feature-loading-lines{gap:12px;display:grid}.feature-loading-lines>i,.sound-timeline-loading-ruler>i,.sound-timeline-loading-tracks i{background:var(--panel-3);border-radius:4px;height:10px;animation:1.6s ease-in-out infinite feature-loading-pulse;display:block}.feature-loading-lines>i:first-child{width:72%}.feature-loading-lines>i:nth-child(2){width:90%}.feature-loading-lines>i:last-child{width:52%}.generation-workbench.episode-editor .prompt-workspace-feedback{min-width:0;height:var(--prompt-reading-height,280px);min-height:var(--prompt-reading-height,280px);flex:0 0 var(--prompt-reading-height,280px);display:grid}.generation-workbench.episode-editor .prompt-workspace-feedback>.feature-loading-panel{align-content:start;min-height:100%;margin:0;padding:20px}.prompt-workspace-error{border:1px solid var(--line);background:var(--panel);border-radius:12px;align-content:center;justify-items:start;gap:8px;padding:24px;display:grid}.prompt-workspace-error strong{font-size:14px}.prompt-workspace-error p{color:var(--muted);margin:0 0 4px;font-size:13px}.sound-timeline-loading{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;gap:16px;min-width:0;padding:20px;display:grid}.sound-timeline-loading-ruler{border-bottom:1px solid var(--line);justify-content:space-between;padding-bottom:12px;display:flex}.sound-timeline-loading-ruler>i{width:28px;height:6px}.sound-timeline-loading-tracks{gap:10px;display:grid}.sound-timeline-loading-tracks>div{gap:8px;display:flex}.sound-timeline-loading-tracks i{flex:1;height:30px}.sound-timeline-loading-tracks>div:first-child>i:first-child{flex:2}.sound-timeline-loading-tracks>div:last-child{padding-left:12%}.audio-list-skeleton .audio-skeleton-index,.audio-list-skeleton .audio-skeleton-meta,.audio-list-skeleton .audio-skeleton-play,.audio-list-skeleton .audio-skeleton-bar{animation:1.6s ease-in-out infinite feature-loading-pulse}.audio-list-skeleton .audio-skeleton-bar{height:14px}.audio-list-skeleton .audio-skeleton-bar:nth-child(3n){height:24px}.audio-list-skeleton .audio-skeleton-bar:nth-child(4n){height:8px}@keyframes feature-loading-pulse{0%,to{opacity:.58}50%{opacity:.9}}@media (width<=600px){.feature-loading-panel,.sound-timeline-loading{padding:16px}}@media (prefers-reduced-motion:reduce){.feature-loading-mark,.feature-loading-lines>i,.sound-timeline-loading-ruler>i,.sound-timeline-loading-tracks i,.audio-list-skeleton .audio-skeleton-index,.audio-list-skeleton .audio-skeleton-meta,.audio-list-skeleton .audio-skeleton-play,.audio-list-skeleton .audio-skeleton-bar{opacity:.75;animation:none}}html[data-theme] .studio-shell .main-stage{position:relative}html[data-theme] .studio-shell .main-stage>.workspace-sync-status{z-index:30;pointer-events:none;background:0 0;height:2px;padding:0;position:absolute;inset:0 0 auto;overflow:hidden}html[data-theme] .studio-shell .main-stage>.workspace-sync-status:before{content:"";background:var(--text);opacity:.36;width:28%;height:100%;animation:1.4s ease-in-out infinite workspace-sync-progress;display:block}html[data-theme] .studio-shell .workspace-sync-status>svg{display:none}html[data-theme] .studio-shell .workspace-sync-status>span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes workspace-sync-progress{0%{transform:translate(-100%)}to{transform:translate(460%)}}@media (prefers-reduced-motion:reduce){html[data-theme] .studio-shell .main-stage>.workspace-sync-status:before{opacity:.24;width:100%;animation:none}}.studio-shell .preview-page{gap:16px}.studio-shell .soundtrack-module-toolbar{align-items:center}.studio-shell .soundtrack-model-picker{gap:8px}.studio-shell .soundtrack-model-picker select{width:200px;max-width:100%;height:32px;min-height:32px;font-size:12px}.studio-shell .soundtrack-command-bar{grid-template-columns:minmax(180px,1fr) auto;gap:16px 24px;padding:4px 0 16px;display:grid}.studio-shell .soundtrack-command-context>h1{color:var(--text);letter-spacing:-.02em;margin:0;font-size:22px;font-weight:650;line-height:1.4}.studio-shell .soundtrack-command-context>span{color:var(--muted);font-size:12px;font-weight:400}.studio-shell .soundtrack-command-tools,.studio-shell .soundtrack-command-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.studio-shell .soundtrack-command-tools{justify-content:flex-end}html[data-theme] .studio-shell .soundtrack-command-tools>.outline-button{color:var(--muted);background:0 0;border-color:#0000}html[data-theme] .studio-shell .soundtrack-command-tools>.outline-button:hover:not(:disabled),html[data-theme] .studio-shell .soundtrack-command-tools>.soundtrack-ai-button{border-color:var(--line);background:var(--panel);color:var(--text)}.studio-shell .soundtrack-history-button{width:auto;min-width:0;padding-inline:12px}.studio-shell .soundtrack-command-bar svg{width:16px;height:16px}.studio-shell .soundtrack-delivery-controls{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;padding:12px 0 0;display:flex}.studio-shell .soundtrack-output-settings{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.studio-shell .soundtrack-output-settings>label{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.studio-shell .soundtrack-output-settings select{border:1px solid var(--line);background-color:var(--panel-2);width:104px;min-height:36px;color:var(--text);border-radius:6px;padding:6px 36px 6px 10px}.studio-shell .soundtrack-delivery-meta{border-inline-start:1px solid var(--line);color:var(--muted-2);padding-inline-start:12px;font-size:12px}.studio-shell .delivery-status{color:var(--muted);margin:0;padding:0 2px;font-size:12px;line-height:1.6}.studio-shell .delivery-status.has-unsaved-changes{color:var(--warning)}.studio-shell .preview-page:has(.sound-studio-empty) :is(.soundtrack-delivery-controls,.delivery-status,.soundtrack-ai-button,.advanced-cut-details){display:none}.studio-shell .preview-page:has(.sound-studio-empty) .render-history-details:not([open]){display:none}.studio-shell .production-workspace:has(.sound-studio-empty) .soundtrack-model-picker{display:none}.studio-shell .sound-studio-empty{background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:32px;width:100%;min-height:min(480px,65vh);padding:40px 24px;display:flex}.studio-shell .sound-timeline-empty{text-align:center;flex-direction:column;align-items:center;gap:20px;width:100%;max-width:480px;display:flex}.studio-shell .sound-empty-icon{border:1px solid var(--line);background:var(--panel-2);width:52px;height:52px;color:var(--muted);border-radius:14px;place-items:center;display:grid}.studio-shell .sound-empty-icon svg{width:24px;height:24px}.studio-shell .sound-empty-copy h2{color:var(--text);margin:0;font-size:20px;font-weight:600;line-height:1.4}.studio-shell .sound-empty-copy p{max-width:38ch;color:var(--muted);margin:12px auto 0;font-size:13px;line-height:1.8}.studio-shell .sound-empty-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.studio-shell .sound-empty-actions>button{min-height:40px;padding-inline:16px;font-size:13px}.studio-shell .sound-empty-actions svg{width:16px;height:16px}.studio-shell .sound-empty-workflow{border-top:1px solid var(--line);justify-content:center;gap:24px;width:min(100%,640px);margin:0;padding:24px 0 0;list-style:none;display:flex}.studio-shell .sound-empty-workflow li{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.studio-shell .sound-empty-workflow strong{color:var(--text);font-size:12px;font-weight:600}.studio-shell .sound-empty-workflow span{color:var(--muted-2);font-size:12px;line-height:1.6}.studio-shell .sound-studio-preparing{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:24px 16px}.studio-shell .sound-studio-layout{grid-template-columns:minmax(0,1fr) clamp(248px,24vw,320px);align-items:start;gap:16px;display:grid}.studio-shell .sound-studio-layout:not(:has(.sound-preview-monitor)){grid-template-columns:minmax(0,1fr)}.studio-shell .sound-studio-main{border:1px solid var(--line);background:var(--panel);border-radius:12px;gap:20px;width:100%;min-width:0;padding:16px;container:sound-editor/inline-size}.studio-shell .sound-studio-main>.rough-cut-coverage-warning{border-color:var(--line);background:var(--panel-2);gap:4px;padding:12px}.studio-shell .sound-studio-main>.rough-cut-coverage-warning strong{color:var(--text);font-size:12px}.studio-shell .sound-studio-main>.rough-cut-coverage-warning.amber strong{color:var(--warning)}.studio-shell .sound-preview-monitor{border:1px solid var(--line);background:var(--panel);border-radius:10px;width:100%;min-width:0;margin:0;position:sticky;top:12px;overflow:hidden}.studio-shell .sound-preview-monitor-toggle,.studio-shell .sound-original-overrides>summary{min-height:40px;color:var(--text);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;font-size:13px;font-weight:600;list-style:none;display:flex}.studio-shell :is(.sound-preview-monitor-toggle,.sound-original-overrides>summary)::-webkit-details-marker{display:none}.studio-shell :is(.sound-preview-monitor-toggle,.sound-original-overrides>summary):after{content:"";border-block-end:1.5px solid;border-inline-end:1.5px solid;flex:none;width:6px;height:6px;transform:rotate(45deg)}.studio-shell :is(.sound-preview-monitor,.sound-original-overrides)[open]>summary:after{transform:rotate(225deg)}.studio-shell .sound-preview-monitor[open]>summary{border-bottom:1px solid var(--line)}.studio-shell .sound-preview-monitor .sound-float-preview{width:100%;max-height:calc(100dvh - 160px);box-shadow:none;border:0;border-radius:0;gap:8px;padding:12px;position:static}.studio-shell .sound-float-preview-head{border:0;padding-bottom:0}.studio-shell .sound-float-preview-head strong{display:none}.studio-shell .sound-float-preview-head span{font-size:12px}.studio-shell .sound-float-preview .sound-preview-video.portrait{width:100%;max-height:min(52vh,480px)}.studio-shell .sound-float-preview .sound-preview-video.landscape{max-height:260px}.studio-shell .sound-float-preview .sound-preview-side{width:100%}.studio-shell .sound-float-preview .sound-preview-modes{flex-wrap:wrap;gap:8px}.studio-shell .sound-timeline-card{background:0 0;border:0;border-radius:0;gap:16px;padding:0}.studio-shell .sound-timeline-head{flex-wrap:wrap;gap:8px}.studio-shell .sound-timeline-head>strong{order:-1;font-size:15px;font-weight:600}.studio-shell .sound-timeline-stats{color:var(--muted);gap:8px 12px;font-size:11px}.studio-shell .sound-timeline-stats>span{flex-direction:row;align-items:baseline;gap:3px;display:inline-flex}.studio-shell .sound-timeline-stats b{color:var(--muted);font-size:11px;font-weight:600}.studio-shell .sound-timeline-wave{border-color:var(--line);background:var(--panel-2);height:40px}.studio-shell .sound-shot-strip{gap:6px}.studio-shell .sound-shot-card{border-color:var(--line);background:var(--panel-2);width:124px;padding:8px}.studio-shell .sound-shot-card.covered{border-color:var(--line);background:var(--panel-2)}.studio-shell .sound-shot-card.provisional{border-style:dashed;border-color:var(--line-strong);background:var(--panel-2)}.studio-shell .sound-ready-badge{font-size:11px}.studio-shell .sound-ready-badge.pending{color:var(--warning);background:color-mix(in srgb, var(--warning) 9%, var(--panel))}.studio-shell .sound-ready-badge.ready{color:var(--success);background:color-mix(in srgb, var(--success) 9%, var(--panel))}.studio-shell .sound-arranged{gap:20px}.studio-shell .sound-arranged-head{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;padding-bottom:12px}.studio-shell .sound-arranged-head strong{font-size:15px}.studio-shell .sound-arranged-head>div:first-child{flex:1;min-width:180px}.studio-shell .sound-arranged-head>div:first-child>span{white-space:normal;line-height:1.6}.studio-shell .sound-studio-actions{flex-wrap:wrap}.studio-shell .sound-time-overview{border-color:var(--line);background:var(--panel-2);border-radius:8px;margin:0;padding:12px}.studio-shell .sound-time-overview p{color:var(--muted);margin:4px 0 8px;font-size:12px;line-height:1.6}.studio-shell .sound-time-grid{padding:8px 4px}.studio-shell .sound-time-ruler{color:var(--muted);font-variant-numeric:tabular-nums}.studio-shell .sound-time-lanes>strong{align-items:center;gap:8px;margin:12px 0 4px;display:flex}.studio-shell .sound-time-track-count{color:var(--muted);font-size:11px;font-weight:400}.studio-shell .sound-time-lane{border-color:var(--line-strong);height:36px;overflow:hidden}.studio-shell .sound-time-lane button{background:var(--accent);min-width:8px;height:28px;color:var(--on-accent);border:0;top:3px}.studio-shell .kind-sfx .sound-time-lane button{background:var(--success);color:var(--panel)}.studio-shell .sound-time-lane button.selected{outline-color:var(--text);outline-offset:2px}.studio-shell .sound-original-overrides{border:0;border-top:1px solid var(--line);border-radius:0;margin:0}.studio-shell .sound-original-overrides>summary{justify-content:flex-start}.studio-shell .sound-original-overrides>summary>span:last-child{color:var(--muted);margin-inline-start:auto;font-size:11px;font-weight:400}.studio-shell .sound-original-overrides .clip-override-list{padding:0 8px 8px}.studio-shell .sound-row{grid-template-columns:40px minmax(160px,1fr) minmax(100px,.7fr) minmax(104px,auto);gap:8px 12px;padding:12px 4px}.studio-shell .sound-row .sound-kind-badge{grid-area:1/1}.studio-shell .sound-row-copy{grid-area:1/2;min-width:0}.studio-shell .sound-row-copy strong{overflow-wrap:anywhere}.studio-shell .sound-row-wave{grid-area:1/3;width:100%}.studio-shell .sound-row-time{color:var(--muted);font-variant-numeric:tabular-nums;grid-area:1/4;font-size:12px}.studio-shell .sound-row-actions{flex-wrap:wrap;grid-area:2/2/auto/-1;justify-self:end}.studio-shell .sound-row-editor{grid-area:3/2/auto/-1;gap:12px}.studio-shell .sound-row.sound-row-original{grid-template-columns:minmax(0,1fr);padding:12px 8px}.studio-shell .sound-row-original>.sound-kind-badge{display:none}.studio-shell .sound-row-original .sound-original-actions{grid-area:1/1;justify-content:flex-start;justify-self:stretch;width:100%}.studio-shell .sound-original-actions input[type=range]{flex:1;max-width:320px}.studio-shell .sound-group{border:1px solid var(--line);border-radius:8px;padding:0;overflow:hidden}.studio-shell .sound-group-head{background:var(--panel-2);border:0;border-radius:0;min-height:44px;padding:8px 12px}.studio-shell .sound-group-head-copy{flex-wrap:wrap;align-items:center;gap:4px 12px}.studio-shell .sound-group-toggle{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:13px;font-weight:600;display:inline-flex}.studio-shell .sound-group-toggle svg{width:14px;height:14px;transform:rotate(-90deg)}.studio-shell .sound-group-toggle[aria-expanded=true] svg{transform:rotate(0)}.studio-shell .sound-group-head-copy>span{color:var(--muted);white-space:normal;font-size:11px;overflow:visible}.studio-shell .sound-track-empty{color:var(--muted-2);margin:0;padding:20px 16px;font-size:12px;line-height:1.6}.studio-shell .sound-group:not(.sound-group-original)>.sound-row{margin:0 12px}.studio-shell .sound-group:not(.sound-group-original)>.sound-row:last-child{border-bottom:0}.studio-shell .sound-group-add-button{min-height:36px;color:var(--text);border-color:var(--line-strong)}.studio-shell .advanced-cut-details>summary,.studio-shell .render-history-details>summary{min-height:44px}.studio-shell :is(.advanced-cut-details,.render-history-details){border-color:var(--line);box-shadow:none;background:0 0;border-radius:8px}.studio-shell :is(.advanced-cut-details,.render-history-details)>summary{color:var(--muted);font-size:12px}.studio-shell .music-workbench-page.mw-layout{grid-template-columns:160px minmax(0,1fr);gap:20px}.studio-shell .mw-main{min-width:0;container:music-library/inline-size}.studio-shell .mw-sidebar{gap:24px;padding-top:4px}.studio-shell .mw-page-header{text-align:start;grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;margin:0;display:flex}.studio-shell .mw-page-header h1{letter-spacing:-.02em;margin:0;font-size:22px;font-weight:650;line-height:1.4}.studio-shell .mw-page-header p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.6}.studio-shell .mw-header-upload{flex:none;gap:6px;min-height:36px;font-size:12px}.studio-shell .mw-header-upload svg{width:16px;height:16px}.studio-shell .mw-side-title{letter-spacing:0;margin-bottom:6px;font-size:11px;font-weight:500}.studio-shell .mw-side-item{border-radius:6px;justify-content:flex-start;gap:8px;min-height:36px}.studio-shell .mw-side-item.active{background:var(--panel-3);font-weight:600}.studio-shell .mw-side-item.active .mw-side-count{color:var(--muted)}.studio-shell .mw-side-label{flex:1}.studio-shell .mw-side-count{margin-inline-start:auto}.studio-shell .mw-side-item:before{display:none}.studio-shell .mw-side-tags{max-height:360px}.studio-shell .mw-content-surface{border:1px solid var(--line);background:var(--panel);border-radius:12px;min-width:0;padding:16px}.studio-shell .mw-toolbar{background:0 0;border:0;border-radius:0;gap:8px;margin:0;padding:0}.studio-shell .mw-toolbar :is(.audio-name-input,.audio-select){background-color:var(--panel);border-radius:6px;min-height:36px;font-size:12px}.studio-shell .mw-search{flex-basis:200px}.studio-shell .mw-toolbar .mw-volume input{width:72px;accent-color:var(--accent)}.studio-shell .mw-view-toggle{border-radius:6px;padding:2px}.studio-shell .mw-view-toggle button{border:0;border-radius:4px;width:30px;height:30px}.studio-shell .mw-view-toggle button.active{background:var(--panel)}.studio-shell .mw-results-summary{border-bottom:1px solid var(--line);min-height:52px;color:var(--muted-2);justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;font-size:12px;display:flex}.studio-shell .mw-results-summary>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.studio-shell .mw-results-summary strong{color:var(--muted);font-size:12px;font-weight:500}.studio-shell .mw-results-summary span{font-variant-numeric:tabular-nums}.studio-shell .mw-clear-filters{min-height:32px;color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;padding:4px 0 4px 8px}.studio-shell .mw-clear-filters:hover{text-underline-offset:3px;text-decoration:underline}.studio-shell :is(.mw-table,.mw-list){gap:0}.studio-shell .mw-list-head,.studio-shell .mw-row{grid-template-columns:20px 24px 32px 36px minmax(0,1fr) minmax(100px,144px) 48px 48px auto;gap:8px}.studio-shell .mw-list-head{min-height:36px;padding:0 8px;font-size:11px}html[data-theme] .studio-shell .music-workbench-page .mw-row{border:0;border-bottom:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0;padding:12px 8px}html[data-theme] .studio-shell .music-workbench-page .mw-row:last-child{border-bottom:0}.studio-shell .music-workbench-page[data-library-source=platform] :is(.mw-list-head,.mw-row){grid-template-columns:0 24px 32px 36px minmax(0,1fr) minmax(100px,144px) 48px 48px 0}.studio-shell .music-workbench-page[data-library-source=platform] .mw-col-actions{visibility:hidden}.studio-shell .mw-row-tags,.studio-shell .mw-col-tags{display:block}.studio-shell .mw-row .mw-asset-name{flex:220px;width:auto}.studio-shell .mw-row .audio-asset-title{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.studio-shell .mw-asset-name{width:100%;min-width:0;color:var(--text);font:inherit;text-align:start;white-space:normal;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;border-radius:2px;padding:0;font-size:14px;font-weight:600;line-height:1.5;display:block}.studio-shell .mw-asset-name:hover{color:var(--accent)}.studio-shell .mw-inline-duration{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;display:none}.studio-shell .mw-row .audio-waveform-hit,.studio-shell .mw-row .audio-waveform{height:28px}.studio-shell .music-workbench-page :is(.audio-play-button,.mw-detail-play){border:1px solid var(--line);background:var(--panel-2);color:var(--text);box-shadow:none}.studio-shell .music-workbench-page .audio-play-button:hover{background:var(--accent-subtle);color:var(--accent);border-color:var(--accent);transform:none}.studio-shell .music-workbench-page .playing .audio-play-button{background:var(--accent);color:var(--on-accent)}.studio-shell .music-workbench-page .audio-waveform rect{fill:var(--muted-2);opacity:.5}.studio-shell .music-workbench-page .audio-waveform.active rect{fill:var(--accent);opacity:.85}.studio-shell .music-workbench-page .audio-waveform-playhead{background:color-mix(in srgb, var(--accent) 15%, transparent)}html[data-theme] .studio-shell .music-workbench-page .mw-row:hover,html[data-theme] .studio-shell .music-workbench-page .mw-row.selected{background:var(--panel-2)}html[data-theme] .studio-shell .music-workbench-page .mw-card{border:1px solid var(--line);background:var(--panel);min-width:0;box-shadow:none;border-radius:8px}html[data-theme] .studio-shell .music-workbench-page .mw-card:hover,html[data-theme] .studio-shell .music-workbench-page .mw-card.selected{border-color:var(--line-strong);background:var(--panel-2)}html[data-theme] .studio-shell .music-workbench-page .mw-card.playing{border-color:var(--accent)}.studio-shell .mw-grid{gap:12px;padding-top:12px}.studio-shell .mw-card-name{text-overflow:clip}.studio-shell .mw-card-meta{flex-wrap:wrap;gap:6px 8px}.studio-shell .music-workbench-page .mw-row.playing :is(.mw-row-index,.audio-asset-title strong){color:var(--accent)}.studio-shell .music-workbench-page :is(.audio-type-badge,.audio-analysis-badge),.studio-shell .music-workbench-page :is(.mw-tag-chip,.mw-row-format,.mw-source-badge){background:var(--panel-3);color:var(--muted)}.studio-shell .music-workbench-page .mw-tag-chip{border-radius:4px;font-weight:400}.studio-shell .music-workbench-page .mw-row-format{border-radius:4px;padding:2px 4px}.studio-shell .music-workbench-page .mw-detail{border-top:1px solid var(--line);cursor:default;grid-column:1/-1;width:100%;margin-top:4px;padding:12px 0 0;display:flex;position:static}.studio-shell :is(.mw-detail-heading,.mw-detail-actions) .secondary-button{border:1px solid var(--line);background:var(--panel);min-height:32px;color:var(--muted);cursor:pointer;border-radius:6px;padding:4px 10px;font-size:12px}.studio-shell :is(.mw-detail-heading,.mw-detail-actions) .secondary-button:hover{color:var(--text);border-color:var(--line-strong)}.studio-shell .mw-detail-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.studio-shell .mw-detail-body{grid-template-columns:minmax(0,1fr) minmax(180px,1fr);gap:8px 16px;display:grid}.studio-shell .mw-detail-wave{background:var(--panel-2);box-shadow:none;grid-column:1/-1;padding:8px}.studio-shell .mw-detail-name{white-space:normal;overflow-wrap:anywhere;grid-column:1/-1}.studio-shell .mw-detail-meta{margin:0;line-height:1.6}.studio-shell .mw-detail-body>.mw-tag-chips,.studio-shell .mw-detail-actions{grid-column:1/-1}.studio-shell .mw-detail-body .mw-ai-card{background:var(--panel-3);border:0;border-radius:6px;grid-column:1/-1;padding:12px}.studio-shell .mw-card .mw-detail-body{grid-template-columns:minmax(0,1fr)}.studio-shell .music-workbench-page .audio-file-label{border:1px solid var(--line);background:var(--panel);min-height:36px;color:var(--text);border-radius:6px;padding:8px 12px;font-size:12px;line-height:1.5;position:relative}.studio-shell .music-workbench-page .audio-file-label input[type=file]{opacity:0;cursor:pointer;width:100%;height:100%;display:block;position:absolute;inset:0}.studio-shell .music-workbench-page .audio-file-label:focus-within{outline:2px solid var(--accent);outline-offset:3px}.studio-shell .music-workbench-page .audio-file-label:hover{border-color:var(--line-strong);background:var(--panel-2)}.studio-shell .mw-upload-heading h2{color:var(--text);margin:0;font-size:14px;font-weight:600;line-height:1.5}.studio-shell .mw-upload-heading p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.6}html[data-theme] .studio-shell .music-workbench-page .audio-upload-panel{border-color:var(--line);background:var(--panel);box-shadow:none;border-radius:12px;gap:16px;padding:16px}.studio-shell .mw-library-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:320px;padding:40px 16px;display:flex}.studio-shell .mw-empty-icon{border:1px solid var(--line);background:var(--panel-2);width:48px;height:48px;color:var(--muted);border-radius:12px;place-items:center;margin-bottom:4px;display:grid}.studio-shell .mw-empty-icon svg{width:22px;height:22px}.studio-shell .mw-library-empty h2{margin:0;font-size:18px;font-weight:600;line-height:1.5}.studio-shell .mw-library-empty p{max-width:40ch;color:var(--muted);margin:0;font-size:13px;line-height:1.8}.studio-shell .mw-empty-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.studio-shell .mw-empty-actions button{min-height:36px;font-size:12px}.studio-shell .mw-empty-actions svg{width:16px;height:16px}.studio-shell .music-workbench-page .audio-pagination{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.studio-shell .music-workbench-page .audio-pagination button{border:1px solid var(--line);background:var(--panel);min-height:32px;color:var(--text);cursor:pointer;border-radius:6px;padding:4px 10px;font-size:12px}.studio-shell .music-workbench-page .audio-pagination button:disabled{color:var(--muted-2);cursor:default}.studio-shell .mw-content-surface .audio-skeleton-row{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;padding:14px 8px}.studio-shell .mw-content-surface .audio-list-skeleton{gap:0}.studio-shell .mw-mobile-filters{display:none}.studio-shell .mw-mobile-filters button{border:1px solid var(--line);background:var(--panel);color:var(--muted);cursor:pointer;border-radius:6px;padding:8px 12px;font-size:12px}.studio-shell .mw-view-toggle svg{width:16px;height:16px}.studio-shell :is(.sound-preview-monitor-toggle,.sound-original-overrides>summary,.mw-asset-name):focus-visible{outline:2px solid var(--accent);outline-offset:3px}@container sound-editor (width<=680px){.studio-shell .sound-row{grid-template-columns:36px minmax(0,1fr) auto}.studio-shell .sound-row-wave{grid-area:2/2/auto/-1}.studio-shell .sound-row-time{grid-area:1/3}.studio-shell .sound-row-actions{grid-area:3/2/auto/-1}.studio-shell .sound-row-editor{grid-area:4/1/auto/-1}.studio-shell .clip-override-list{grid-template-columns:minmax(0,1fr)}}@container music-library (width<=740px){.studio-shell .mw-list-head,.studio-shell .mw-row{grid-template-columns:20px 24px 32px 36px minmax(0,1fr) 48px 48px auto}.studio-shell .music-workbench-page[data-library-source=platform] :is(.mw-list-head,.mw-row){grid-template-columns:0 24px 32px 36px minmax(0,1fr) 48px 48px 0}.studio-shell :is(.mw-row-tags,.mw-col-tags){display:none}}@media (width<=1024px){.studio-shell .music-workbench-page.mw-layout{grid-template-columns:minmax(0,1fr)}.studio-shell .mw-source-segment button{min-height:36px}.studio-shell .mw-mobile-filters{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.studio-shell .mw-mobile-filters .active{color:var(--accent);border-color:var(--accent);background:var(--accent-subtle)}}@media (width<=760px){.studio-shell .soundtrack-command-bar{grid-template-columns:minmax(0,1fr);gap:12px}.studio-shell .soundtrack-command-tools{justify-content:flex-start}.studio-shell .soundtrack-delivery-controls{align-items:stretch;padding:12px}.studio-shell .soundtrack-output-settings{gap:8px 12px;width:100%}.studio-shell .soundtrack-delivery-meta{border:0;width:100%;padding:0}.studio-shell .soundtrack-command-actions{width:100%}.studio-shell .sound-studio-layout{flex-direction:column;gap:12px;display:flex}.studio-shell .sound-studio-main{padding:12px}.studio-shell .sound-studio-empty{gap:32px;min-height:0;padding:32px 12px}.studio-shell .sound-empty-workflow{gap:16px}.studio-shell .sound-preview-monitor{order:-1;width:100%;position:static}.studio-shell .sound-preview-monitor .sound-float-preview{max-height:none}.studio-shell .sound-float-preview-head{display:none}.studio-shell .sound-float-preview .sound-preview{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:12px;display:grid}.studio-shell .sound-float-preview .sound-preview-video-wrap{min-width:0}.studio-shell .sound-float-preview .sound-preview-video.portrait{width:96px;max-height:144px}.studio-shell .sound-float-preview .sound-preview-video.landscape{max-height:96px}.studio-shell .sound-float-preview .sound-preview-modes{flex-direction:column;align-items:flex-start}.studio-shell .sound-float-preview .sound-preview-modes>span{display:none}.studio-shell .sound-original-overrides>summary{flex-wrap:wrap;gap:4px 8px}.studio-shell .sound-original-overrides>summary>span:last-child{margin-inline-start:0}}@media (width<=560px){.studio-shell .soundtrack-model-picker{flex-direction:row;align-items:center;gap:12px;padding-bottom:4px}.studio-shell .soundtrack-model-picker>span{flex:none}.studio-shell .soundtrack-model-picker select{flex:1;width:auto}.studio-shell .soundtrack-command-tools{flex-wrap:wrap;width:100%;display:flex}.studio-shell .soundtrack-command-tools>button{white-space:nowrap;flex:1;min-width:0;padding-inline:8px}.studio-shell .soundtrack-command-bar :is(button,a,select){min-height:40px;font-size:12px}.studio-shell .soundtrack-output-settings>label{flex:1}.studio-shell .soundtrack-output-settings select{flex:1;width:auto;min-width:0}.studio-shell .soundtrack-command-actions :is(.primary-button,.outline-button){flex:120px}.studio-shell .sound-row{grid-template-columns:36px minmax(0,1fr)}.studio-shell .sound-row-time{text-align:start;grid-area:2/2}.studio-shell .sound-row-wave{grid-area:3/1/auto/-1}.studio-shell .sound-row-actions{grid-area:4/1/auto/-1;width:100%}.studio-shell .sound-row-actions>button{flex:1;min-height:40px}.studio-shell .sound-row-editor{grid-area:5/1/auto/-1}.studio-shell .sound-row.sound-row-original{grid-template-columns:minmax(0,1fr)}.studio-shell .sound-row-original .sound-original-actions{grid-area:1/1;gap:8px}.studio-shell .sound-original-actions input[type=range]{flex:1;width:100%;min-width:64px}.studio-shell .sound-studio-actions button{min-height:40px}}@media (width<=640px){.studio-shell .music-workbench-page.mw-layout{gap:16px}.studio-shell .mw-page-header{flex-direction:row;align-items:flex-start;gap:12px}.studio-shell .mw-page-header h1{font-size:20px}.studio-shell .mw-page-header p{max-width:22ch}.studio-shell .mw-header-upload{min-height:40px;padding-inline:12px}.studio-shell .mw-content-surface,html[data-theme] .studio-shell .music-workbench-page .audio-upload-panel{padding:12px}.studio-shell .mw-source-segment{width:100%}.studio-shell .mw-source-segment button{min-height:40px}.studio-shell .mw-library-empty{min-height:280px;padding:32px 8px}.studio-shell .mw-empty-actions button{min-height:40px}.studio-shell .mw-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.studio-shell .mw-toolbar>.mw-search{grid-column:1/-1;width:100%}.studio-shell .mw-toolbar>.audio-select{width:100%;min-width:0}.studio-shell .mw-toolbar-right{justify-content:flex-end}.studio-shell .mw-toolbar :is(input[type=search],select){min-height:44px;font-size:16px}.studio-shell .mw-volume{gap:8px}.studio-shell .mw-mobile-filters select{flex:1;min-width:0;min-height:44px}.studio-shell .mw-mobile-filters button{min-height:44px}.studio-shell .music-workbench-page :is(.mw-list-head,.mw-row){grid-template-columns:20px 32px 36px minmax(0,1fr);gap:8px}.studio-shell .music-workbench-page[data-library-source=platform] :is(.mw-list-head,.mw-row){grid-template-columns:0 32px 36px minmax(0,1fr)}html[data-theme] .studio-shell .music-workbench-page .mw-row{padding:12px 4px}.studio-shell .mw-grid{grid-template-columns:minmax(0,1fr)}.studio-shell .music-workbench-page .mw-card :is(.mw-row-format,.mw-row-duration){display:inline-flex}.studio-shell .mw-row .audio-fav-button{width:32px;height:36px}.studio-shell .mw-row .audio-play-button{width:36px;height:36px}.studio-shell .music-workbench-page :is(.mw-row-tags,.mw-col-tags,.mw-row-index,.mw-col-index,.mw-row-format,.mw-col-format,.mw-row-duration,.mw-col-duration,.mw-col-actions){display:none}.studio-shell .mw-inline-duration{display:inline}.studio-shell .mw-row .audio-analysis-badge{display:none}.studio-shell .mw-row-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:flex-end}.studio-shell .mw-row-actions button{min-height:36px}.studio-shell .mw-detail-body{grid-template-columns:minmax(0,1fr)}.studio-shell .audio-pagination{flex-wrap:wrap;gap:8px}.studio-shell .audio-pagination>span{width:100%}}html[data-theme] .access-shell.access-loading-shell{background:var(--canvas);min-height:100svh;color:var(--text-1);padding:24px}.access-loading-shell .access-loading{text-align:center;flex-direction:column;align-items:center;gap:20px;width:min(100%,320px);min-width:0;padding:0;display:flex}.access-loading-shell .brand-mark{width:48px;height:48px;box-shadow:none;border:0;border-radius:12px;flex:none}.access-loading-shell .access-loading-copy{align-items:center;gap:8px;min-width:0}.access-loading-shell .access-loading-copy strong{color:var(--text-1);letter-spacing:-.015em;font-size:18px;font-weight:650;line-height:1.5}.access-loading-shell .access-loading-copy p{color:var(--text-3);justify-content:center;align-items:center;gap:8px;margin:0;font-size:13px;line-height:1.6;display:flex}.access-loading-spinner{border:1.5px solid var(--border-strong);border-top-color:var(--brand-accent);border-radius:50%;flex:none;width:14px;height:14px;animation:.9s linear infinite access-loading-spin}@keyframes access-loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.access-loading-spinner{animation:none}}.workflow-prompt-settings{grid-template-columns:208px minmax(0,1fr);gap:24px;min-width:0;display:grid}.workflow-prompt-stages{flex-direction:column;gap:8px;display:flex}.workflow-prompt-stages button{border-radius:var(--radius-sm);min-height:68px;color:var(--muted);text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:12px;padding:12px;display:flex}.workflow-prompt-stages button:hover{background:var(--panel-2);color:var(--text)}.workflow-prompt-stages button[aria-pressed=true]{background:var(--lime-soft);border-color:var(--line-strong);color:var(--text)}.workflow-stage-number{color:var(--muted-2);font-variant-numeric:tabular-nums;font-size:12px}.workflow-prompt-stages strong{font-size:14px;font-weight:600;display:block}.workflow-prompt-stages small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.workflow-prompt-detail{min-width:0}.workflow-prompt-choices{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:end;gap:16px 24px;padding-bottom:20px;display:flex}.workflow-prompt-choices fieldset{border:0;min-width:0;margin:0;padding:0}.workflow-prompt-choices legend{color:var(--muted);margin-bottom:8px;font-size:12px}.workflow-prompt-choices fieldset>div{background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius-sm);gap:4px;padding:4px;display:flex}.workflow-prompt-choices button{min-width:64px;min-height:36px;color:var(--muted);background:0 0;border-radius:5px;padding:6px 12px;font-size:13px}.workflow-prompt-choices button[aria-pressed=true]{color:var(--text);background:var(--panel);box-shadow:0 0 0 1px var(--line);font-weight:600}.workflow-prompt-choices p{color:var(--muted);flex:180px;margin:0 0 4px;font-size:12px;line-height:1.6}.workflow-prompt-heading{justify-content:space-between;align-items:start;gap:16px;margin:24px 0 8px;display:flex}.workflow-prompt-heading h3{margin:0;font-size:18px;line-height:1.4}.workflow-prompt-heading p{color:var(--muted);margin:8px 0 0;font-size:12px}.workflow-prompt-heading p strong{color:var(--text);font-weight:500}.workflow-prompt-scope{border:1px solid var(--line);color:var(--muted);border-radius:6px;flex:none;padding:4px 8px;font-size:11px}.workflow-prompt-help{color:var(--muted);margin:0 0 20px;font-size:12px;line-height:1.7}.workflow-prompt-baseline{border-inline-start:2px solid var(--line-strong);background:var(--panel-2);color:var(--muted);margin:0 0 16px;padding:12px;font-size:12px;line-height:1.7}.workflow-prompt-toolbar,.workflow-prompt-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.workflow-prompt-toolbar{margin-bottom:12px}.workflow-prompt-toolbar>label{color:var(--text);font-size:13px;font-weight:600}.workflow-prompt-toolbar>div,.workflow-prompt-footer>div{flex-wrap:wrap;gap:8px;display:flex}.workflow-prompt-settings .outline-button,.workflow-prompt-settings .primary-button{min-height:40px;padding:8px 12px;font-size:12px}.workflow-prompt-editor{resize:vertical;border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;height:min(44vh,500px);min-height:320px;color:var(--text);background:var(--panel-2);overflow-wrap:anywhere;tab-size:2;padding:16px;font-size:13px;line-height:1.8;display:block}.workflow-prompt-editor:not([readonly]){border-color:var(--line-strong)}.workflow-prompt-private{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel-2);flex-direction:column;justify-content:center;min-height:240px;padding:32px;display:flex}.workflow-prompt-private strong{font-size:15px;font-weight:500}.workflow-prompt-private p{color:var(--muted);margin:12px 0 0;font-size:13px;line-height:1.8}.workflow-prompt-footer{align-items:start;padding-top:16px}.workflow-prompt-footer>span{color:var(--muted);padding-top:8px;font-size:12px;line-height:1.6}.workflow-prompt-error{border:1px solid var(--red);border-radius:var(--radius-sm);color:var(--red);margin-bottom:16px;padding:12px;font-size:12px;line-height:1.7}.workflow-prompt-error p{margin:0 0 8px}.workflow-prompt-history{border:1px solid var(--line);border-radius:var(--radius-sm);flex-direction:column;gap:4px;max-height:180px;margin-bottom:12px;padding:8px;display:flex;overflow:auto}.workflow-prompt-history button{text-align:left;min-height:40px;color:var(--muted);background:0 0;border-radius:4px;flex-wrap:wrap;align-items:center;gap:12px;padding:8px;font-size:12px;display:flex}.workflow-prompt-history button[aria-pressed=true],.workflow-prompt-history button:hover{background:var(--panel-2);color:var(--text)}.workflow-prompt-history strong{font-variant-numeric:tabular-nums}.workflow-prompt-history small{margin-inline-start:auto}.workflow-prompt-history p{color:var(--muted);font-size:12px}.workflow-prompt-state{color:var(--muted);padding:40px 16px;font-size:14px;line-height:1.8}.workflow-prompt-settings button:disabled{opacity:.5;cursor:not-allowed}.skill-editor[aria-readonly=true] input,.skill-editor[aria-readonly=true] textarea{cursor:text}@media (width<=700px){.workflow-prompt-settings{grid-template-columns:minmax(0,1fr);gap:16px}.workflow-prompt-stages{flex-direction:row;gap:4px}.workflow-prompt-stages button{flex:1;justify-content:center;gap:6px;min-height:44px;padding:8px 4px}.workflow-prompt-stages strong{font-size:12px}.workflow-prompt-stages small,.workflow-stage-number{display:none}.workflow-prompt-choices{gap:12px 16px;padding-bottom:16px}.workflow-prompt-choices p{flex-basis:100%;margin:0;font-size:11px}.workflow-prompt-choices button{min-width:52px;min-height:36px;padding:6px 8px}.workflow-prompt-heading{gap:8px;margin-top:16px}.workflow-prompt-heading h3{font-size:16px}.workflow-prompt-scope{padding:4px 6px;font-size:10px}.workflow-prompt-toolbar{flex-direction:column;align-items:start;gap:8px}.workflow-prompt-toolbar>div{justify-content:space-between;width:100%}.workflow-prompt-editor{height:40vh;min-height:240px;padding:12px;font-size:12px}.workflow-prompt-private{min-height:200px;padding:20px}.workflow-prompt-footer{flex-direction:column-reverse}.workflow-prompt-footer>div{justify-content:flex-end;width:100%}.workflow-prompt-footer>span{padding-top:0}.workflow-prompt-history button{gap:8px}.workflow-prompt-history small{display:none}}.workflow-image-templates{border-top:1px solid var(--line);margin-top:28px;padding-top:20px}.workflow-image-templates-toggle{width:100%;color:var(--text);text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:16px;padding:4px 0;display:flex}.workflow-image-templates-toggle strong{font-size:14px;font-weight:600;display:block}.workflow-image-templates-toggle small{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.6;display:block}.workflow-image-templates-toggle>span:last-child{color:var(--muted);font-size:22px}.workflow-image-templates-body{margin-top:20px}.workflow-image-template-toolbar,.workflow-image-template-toolbar>div:last-child{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.workflow-image-template-toolbar{color:var(--muted);justify-content:space-between;margin-bottom:16px;font-size:12px;line-height:1.6}.workflow-image-template-fields{flex-direction:column;gap:20px;display:flex}.workflow-image-template-label{flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:8px;display:flex}.workflow-image-template-label label{font-size:13px;font-weight:600}.workflow-image-template-label>span{color:var(--muted);font-size:11px}.workflow-image-template-override{color:var(--muted);align-items:center;gap:8px;margin:8px 0;font-size:12px;display:flex}.workflow-image-template-override input{flex:none;width:16px;height:16px;margin:0}.workflow-image-template-field textarea{resize:vertical;border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-height:120px;color:var(--text);background:var(--panel-2);padding:12px;font-size:12px;line-height:1.8;display:block}.workflow-image-template-note,.workflow-image-template-inherit{color:var(--muted);font-size:12px;line-height:1.7}.workflow-image-template-note{overflow-wrap:anywhere;margin:8px 0 0}.workflow-image-template-inherit{background:var(--panel-2);border-radius:var(--radius-sm);margin:0;padding:12px}@media (width<=700px){.workflow-image-template-toolbar{flex-direction:column;align-items:start}.workflow-image-template-toolbar>div:last-child{justify-content:space-between;width:100%}}.studio-shell .topbar-actions .topbar-prompt-settings{width:var(--topbar-control-height,34px);height:var(--topbar-control-height,34px);border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:6px;flex:none;place-items:center;padding:0;display:grid}.topbar-prompt-settings>svg{width:16px;height:16px}.studio-shell .topbar-actions .topbar-prompt-settings:hover{background:var(--panel-2);border-color:var(--line-strong)}.topbar-prompt-settings:focus-visible,.prompt-settings-dialog button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.modal.prompt-settings-dialog{overscroll-behavior:contain;background:var(--panel);width:min(100%,560px);color:var(--text);padding:20px}.prompt-settings-dialog .prompt-settings-heading{gap:12px;margin-bottom:16px}.prompt-settings-dialog .prompt-settings-heading h2{margin:0 0 4px;font-size:23px}.prompt-settings-dialog .prompt-settings-heading .icon-button{color:var(--muted);flex:none}.prompt-settings-dialog .prompt-settings-heading .icon-button:hover{background:var(--panel-2);color:var(--text)}.prompt-settings-categories{gap:8px;display:grid}.prompt-settings-category{border:1px solid var(--line);background:var(--panel);min-height:64px;color:var(--text);text-align:start;border-radius:8px;grid-template-columns:34px minmax(0,1fr) 16px;align-items:center;gap:12px;padding:10px 12px;display:grid}.prompt-settings-category:hover{border-color:var(--line-strong);background:var(--panel-2)}.prompt-settings-category-icon{background:var(--panel-2);border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.prompt-settings-category-icon svg{width:18px;height:18px}.prompt-settings-category>svg{width:16px;height:16px;color:var(--muted);transform:rotate(-90deg)}.prompt-settings-category strong{font-size:14px;font-weight:650;line-height:1.4;display:block}.prompt-settings-category small{color:var(--muted);margin-top:3px;font-size:12px;line-height:1.5;display:block}.prompt-settings-editor{gap:12px;min-width:0;display:grid}.prompt-settings-editor .prompt-settings-back{width:fit-content}.prompt-settings-back svg{transform:rotate(180deg)}.prompt-settings-section-heading h3{margin:0 0 4px;font-size:16px}.prompt-settings-section-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.55}@media (width<=600px){.modal.prompt-settings-dialog{padding:16px}.prompt-settings-category{gap:8px;padding-inline:8px}}
