:root{--bg:#0c1019;--panel:#131925;--panel2:#1a2231;--line:#2a3448;--text:#edf1f8;--muted:#8f9bb0;--accent:#d9ff55;--purple:#8b7cf6}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;overflow:hidden}button,input,textarea{font:inherit}.home{max-width:1180px;height:100vh;margin:auto;padding:30px 32px 80px;overflow-y:auto}.brand{align-items:center;gap:12px;display:flex}.brand .logo{background:#161d2a;border:1px solid #33405a;border-radius:12px;place-items:center;width:44px;height:44px;display:grid}.brand h1{letter-spacing:-.4px;margin:0;font-size:18px}.brand p{letter-spacing:2.5px;color:var(--muted);margin:3px 0;font-size:9px}.hero{max-width:800px;padding:105px 0 50px}.eyebrow{color:var(--accent);letter-spacing:2px;font-size:11px;font-weight:700}.hero h2{letter-spacing:-3px;margin:18px 0;font-size:62px;line-height:1.08}.hero h2 em{color:#9c9eef;font-style:normal}.hero>p{color:var(--muted);max-width:600px;font-size:17px;line-height:1.8}.create-card{background:linear-gradient(135deg,#171e2c,#111722);border:1px solid #2a3549;border-radius:18px;grid-template-columns:1fr 260px;gap:24px;padding:26px;display:grid;box-shadow:0 25px 80px #0005}.create-card label{margin-bottom:12px;font-weight:700;display:block}.create-card input,.create-card textarea{color:#fff;background:#0e141f;border:1px solid #303b50;outline:none;width:100%;padding:13px 15px}.create-card input{border-radius:9px 9px 0 0}.create-card textarea{resize:none;border-top:0;border-radius:0 0 9px 9px;height:82px}.create-card button,.top-actions button{background:var(--accent);color:#11170a;cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:9px;font-weight:800;display:flex}.create-card button:disabled{opacity:.45}.create-fields{min-width:0}.mode-picker{grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;display:grid}.mode-picker button{min-height:72px;color:var(--text);align-items:center;justify-content:initial;text-align:left;cursor:pointer;background:#0e141f;border:1px solid #303b50;border-radius:10px;grid-template-columns:30px 1fr;gap:10px;padding:12px;display:grid}.mode-picker button:hover{border-color:#6d7692}.mode-picker button.selected{border-color:var(--accent);background:#1c241c;box-shadow:inset 0 0 0 1px #d9ff5533}.mode-picker button>svg{color:#9c9eef;width:20px}.mode-picker button.selected>svg{color:var(--accent)}.mode-picker button span{flex-direction:column;gap:4px;display:flex}.mode-picker button b{font-size:12px}.mode-picker button small{color:var(--muted);font-size:10px}.create-submit{min-height:72px}.error{color:#ff8e97;font-size:13px}.recent{margin-top:55px}.section-title{align-items:center;gap:10px;display:flex}.section-title h3{font-size:17px}.section-title span{color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:2px 7px;font-size:11px}.empty{text-align:center;color:var(--muted);border:1px dashed #303a4e;border-radius:14px;padding:45px}.project-grid{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.project-card{min-height:150px;color:inherit;background:var(--panel);border:1px solid var(--line);border-radius:14px;grid-template-columns:64px 1fr auto;align-items:center;gap:14px;padding:18px;text-decoration:none;transition:all .2s;display:grid}.project-card:hover{border-color:#6d7692;transform:translateY(-2px)}.project-thumb{background:linear-gradient(145deg,#38445b,#202839);border-radius:10px;place-items:center;width:64px;height:64px;display:grid}.project-card h4{margin:0 0 8px}.project-card p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.project-mode{color:#aab5c8;background:#20293a;border-radius:99px;align-items:center;gap:5px;margin-top:10px;padding:4px 7px;font-size:9px;display:inline-flex}.project-mode svg{width:11px;height:11px}.project-mode.step{color:#d9ff55;background:#28331e}.project-card .arrow{color:var(--muted);width:17px}.workbench{background:#0c111b;width:100vw;height:100vh}.topbar{z-index:10;background:#101620;border-bottom:1px solid #242c3b;align-items:center;height:58px;padding:0 16px;display:flex;position:absolute;top:0;left:0;right:0}.back,.topbar button{color:var(--muted);background:0 0;border:0;place-items:center;display:grid}.back svg{width:18px}.mark{border-right:1px solid var(--line);align-items:center;gap:8px;padding:0 18px 0 8px;font-weight:750;display:flex}.mark svg{width:20px;color:var(--accent)}.crumb{gap:10px;padding-left:18px;font-size:12px;display:flex}.crumb span,.crumb b{color:#6e788d}.mode-switch{background:#0b111a;border:1px solid #2b3547;border-radius:8px;margin-left:22px;padding:3px;display:flex}.mode-switch button{cursor:pointer;border-radius:6px;grid-auto-flow:column;justify-content:center;align-items:center;gap:6px;min-width:78px;padding:6px 9px;font-size:10px;display:flex}.mode-switch button svg{width:13px;height:13px}.mode-switch button.active{color:var(--text);background:#273142}.top-actions{align-items:center;gap:20px;margin-left:auto;font-size:11px;display:flex}.save-state,.cost{color:var(--muted);text-transform:capitalize;align-items:center;gap:7px;display:flex}.save-state svg,.cost svg{width:15px}.save-state.saved{color:#9eb77a}.save-state.error{color:#ff777f}.top-actions button{padding:9px 15px}.top-actions button svg{width:14px}.top-actions .cost{background:0 0;border:0;padding:9px 4px}.cost-panel{z-index:40;background:#0c121c;border:1px solid #37445b;border-radius:14px;width:min(560px,100vw - 36px);padding:16px;position:absolute;top:62px;right:18px;box-shadow:0 18px 48px #000a}.cost-panel>header{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.cost-panel>header div{background:#131b28;border-radius:9px;padding:10px}.cost-panel span,.cost-panel small{color:var(--muted);font-size:9px}.cost-panel strong{margin-top:4px;display:block}.cost-panel ol{gap:6px;margin:12px 0 0;padding:0;list-style:none;display:grid}.cost-panel li{border:1px solid #283448;border-radius:8px;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 10px;display:grid}.cost-panel li strong{margin:0}.cost-panel li.empty{color:var(--muted);display:block}.rail{z-index:9;background:#101620;border-right:1px solid #252d3c;width:67px;padding-top:14px;position:absolute;top:58px;bottom:0;left:0}.rail button{color:#687389;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;width:100%;height:60px;font-size:9px;display:flex}.rail button svg{width:18px}.rail button.active,.rail button:hover{color:var(--accent);background:#181f2b}.workbench>.react-flow{width:calc(100% - 67px);height:calc(100% - 58px);position:absolute;top:58px;left:67px}.step-workspace{background:radial-gradient(circle at 80% 0,#202544 0,#0000 28%),#0d121b;grid-template-columns:190px minmax(0,1fr);display:grid;position:absolute;inset:58px 0 0}.step-sidebar{background:#101620;border-right:1px solid #252d3c;min-height:0;padding:20px 12px;overflow-y:auto}.step-progress{padding:8px 8px 18px}.step-progress>div{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.step-progress span{color:var(--muted);font-size:10px}.step-progress strong{color:var(--accent);font-size:11px}.step-progress i{background:#293144;border-radius:99px;height:4px;display:block;overflow:hidden}.step-progress i b{border-radius:inherit;background:var(--accent);height:100%;transition:width .25s;display:block}.step-sidebar nav{flex-direction:column;gap:4px;display:flex}.step-sidebar nav button{color:#768197;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;width:100%;min-height:52px;padding:8px 8px 8px 48px;position:relative}.step-sidebar nav button:hover{color:var(--text);background:#181f2b}.step-sidebar nav button.active{color:var(--text);background:#202838;border-color:#414d65}.step-sidebar nav button.done{color:#a9bd81}.step-sidebar nav button>span{background:#242d3d;border-radius:8px;place-items:center;width:31px;height:31px;display:grid;position:absolute;top:10px;left:10px}.step-sidebar nav button.active>span{color:#11170a;background:#d9ff55}.step-sidebar nav svg{width:15px}.step-sidebar nav small,.step-sidebar nav b{display:block}.step-sidebar nav small{letter-spacing:1px;margin-bottom:3px;font-size:7px}.step-sidebar nav b{font-size:10px}.step-main{min-width:0;padding:40px clamp(28px,5vw,76px) 96px;overflow-y:auto}.step-heading{align-items:flex-start;gap:20px;max-width:900px;margin:0 auto 30px;display:flex}.step-number{height:52px;color:var(--accent);background:#1a2230;border:1px solid #5a6680;border-radius:15px;flex:0 0 52px;place-items:center;font-size:22px;font-weight:800;display:grid}.step-heading span{color:#8b7cf6;letter-spacing:1.5px;font-size:9px;font-weight:800}.step-heading h1{letter-spacing:-1px;margin:5px 0 8px;font-size:30px}.step-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.step-cards{gap:14px;max-width:900px;margin:0 auto;display:grid}.shot-manager{gap:12px;display:grid}.shot-manager-head{justify-content:space-between;align-items:center;gap:16px;padding:2px 2px 8px;display:flex}.shot-manager-head span{color:#8b7cf6;letter-spacing:1.4px;font-size:8px;font-weight:800}.shot-manager-head h2{margin:4px 0 0;font-size:14px}.shot-manager-head button{background:var(--accent);color:#11170a;cursor:pointer;border:0;border-radius:9px;align-items:center;gap:7px;min-height:38px;padding:0 14px;font-size:10px;font-weight:800;display:flex}.shot-manager-head button svg{width:14px}.shot-editor{background:linear-gradient(145deg,#171f2d,#121824);border:1px solid #303a4e;border-radius:14px;padding:18px}.shot-editor header{grid-template-columns:38px minmax(0,1fr) 110px auto;align-items:end;gap:12px;display:grid}.shot-editor header>strong{color:#8b7cf6;font-variant-numeric:tabular-nums;align-self:center;font-size:23px}.shot-editor label{flex-direction:column;gap:6px;min-width:0;display:flex}.shot-editor label>span{color:#aab4c5;font-size:9px;font-weight:700}.shot-editor input,.shot-editor textarea{width:100%;color:var(--text);background:#0d131d;border:1px solid #344057;border-radius:8px;outline:none;padding:9px 10px}.shot-editor input:focus,.shot-editor textarea:focus{border-color:#8b7cf6}.shot-editor textarea{resize:vertical;min-height:76px;line-height:1.5}.shot-order-actions{gap:4px;display:flex}.shot-order-actions button{color:#aab4c5;cursor:pointer;background:#151d2a;border:1px solid #354056;border-radius:7px;place-items:center;width:31px;height:31px;display:grid}.shot-order-actions button:hover:not(:disabled){color:#fff;border-color:#8b7cf6}.shot-order-actions button.danger:hover:not(:disabled){color:#f4939d;border-color:#d76c78}.shot-order-actions button:disabled{opacity:.25;cursor:default}.shot-order-actions svg{width:13px}.shot-fields{border-top:1px solid #293247;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px;padding-top:15px;display:grid}.shot-fields label:first-child{grid-row:span 2}.step-card{background:linear-gradient(145deg,#161d2a,#121824);border:1px solid #303a4e;border-radius:14px;padding:20px;box-shadow:0 12px 35px #0004}.step-card-head{align-items:center;gap:11px;display:flex}.step-card-icon{color:#a9b3ff;background:#2a3347;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.step-card-icon svg{fill:currentColor;width:15px}.step-card-head h2{margin:0 0 3px;font-size:13px}.step-card-head p{color:#6f7c91;letter-spacing:1px;text-transform:uppercase;margin:0;font-size:8px}.step-status{color:#e5c96f;background:#332f1c;border-radius:99px;margin-left:auto;padding:4px 7px;font-size:8px}.step-status.completed{color:#b4d582;background:#26351e}.step-field{flex-direction:column;gap:8px;margin-top:18px;display:flex}.step-field-grid{grid-template-columns:140px minmax(0,1fr);gap:14px;display:grid}.step-field>span{color:#cdd4e2;font-size:10px;font-weight:700}.step-field input,.step-field textarea,.step-field select{width:100%;color:var(--text);background:#0d131d;border:1px solid #344057;border-radius:9px;outline:none;padding:11px 12px}.step-field input:focus,.step-field textarea:focus,.step-field select:focus{border-color:#8b7cf6}.step-field textarea{resize:vertical;min-height:105px;line-height:1.6}.step-field.compact input{max-width:120px}.step-field small{color:var(--muted);font-size:9px}.step-model-stack{gap:14px;display:grid}.generation-controls{gap:12px;display:grid}.generation-mode{background:#0d131d;border:1px solid #344057;border-radius:9px;width:fit-content;padding:3px;display:inline-flex}.generation-mode button{color:var(--muted);background:0 0;border:0;border-radius:6px;padding:7px 14px;font-size:10px;font-weight:700}.generation-mode button.active{color:#fff;background:#6557db}.generation-controls .step-field{margin-top:0}.generation-advanced-grid{grid-template-columns:repeat(3,minmax(110px,1fr));gap:10px 14px;display:grid}.h3-professional-panel{background:#0c121c;border:1px solid #344158;border-radius:14px;gap:14px;padding:16px;display:grid}.h3-professional-panel>header{justify-content:space-between;align-items:start;gap:16px;display:flex}.h3-professional-panel header p,.h3-lock-note p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.5}.h3-professional-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.h3-directing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.h3-toggle{color:var(--text);border:1px solid #283448;border-radius:8px;align-items:center;gap:8px;padding:10px;font-size:12px;display:flex}.h3-toggle input{accent-color:var(--accent)}.h3-avoid{grid-column:1/-1}.h3-lock-note{border-left:3px solid var(--accent);background:#101a27;border-radius:6px;padding:12px}.reference-pack-editor{background:#0c121c;border:1px solid #344158;border-radius:14px;grid-column:1/-1;gap:12px;padding:16px;display:grid}.reference-pack-editor>header{justify-content:space-between;gap:16px;display:flex}.reference-pack-editor header p{color:var(--muted);margin:4px 0 0;font-size:12px}.reference-pack-editor header>span{white-space:nowrap;color:var(--accent);font:12px var(--mono)}.reference-role-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.reference-role-grid label{background:#101722;border:1px solid #283448;border-radius:10px;gap:5px;padding:11px;display:grid}.reference-role-grid label.selected{background:#122232;border-color:#446b83}.reference-role-grid label>span{font-size:12px;font-weight:700}.reference-role-grid small,.reference-pack-editor>small{color:var(--muted);font-size:11px;line-height:1.45}.reference-role-grid select{width:100%;color:var(--text);background:#0c121c;border:1px solid #354158;border-radius:7px;padding:8px}.reference-pack-warning{color:#f4c66b;background:#382b16;border-radius:8px;margin:0;padding:10px;font-size:12px;line-height:1.5}.reference-pack-prompt{gap:7px;display:grid}.reference-pack-prompt>span{font-size:12px;font-weight:700}.reference-pack-prompt textarea{min-height:190px;color:var(--text);resize:vertical;background:#101722;border:1px solid #354158;border-radius:9px;padding:12px;line-height:1.65}.reference-pack-prompt small{color:var(--muted);font-size:11px}.reference-heading-chips{flex-wrap:wrap;gap:6px;display:flex}.reference-heading-chips button{color:#9fc8dc;background:#102332;border:1px solid #315267;border-radius:999px;padding:6px 9px;font-size:11px}.reference-pack-actions{z-index:2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c121cf5;border:1px solid #2b4052;border-radius:11px;align-items:center;gap:10px;padding:8px;display:flex;position:sticky;bottom:8px}.reference-pack-actions button{padding:10px 15px}.reference-pack-actions output{color:var(--muted);font-size:11px}.reference-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.reference-plan-grid article{background:#101722;border:1px solid #2a3a50;border-radius:9px;align-content:start;gap:7px;padding:11px;display:grid}.reference-plan-grid article header{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;display:grid}.reference-plan-grid article b{color:var(--accent);font:10px var(--mono)}.reference-plan-grid article span{font-size:12px;font-weight:700}.reference-plan-grid article i{color:#e2b65e;font-size:10px;font-style:normal}.reference-plan-grid article details{border-top:1px solid #253246;padding-top:5px}.reference-plan-grid article summary{cursor:pointer;color:var(--muted);font-size:10px}.reference-plan-grid article p{color:var(--muted);margin:7px 0 0;font-size:11px;line-height:1.5}.reference-plan-grid article small{color:#89a4b8;font-size:10px}.reference-plan-grid article>button{color:var(--muted);background:#121925;border:1px solid #2b3748;border-radius:6px;justify-self:start;padding:5px 8px;font-size:10px}.reference-pack-manual{border:1px solid #283448;border-radius:9px;padding:10px}.reference-pack-manual summary{cursor:pointer;color:var(--muted);font-size:12px}.reference-pack-manual[open] summary{margin-bottom:10px}.reference-pack-cost-cap{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:flex}.reference-pack-cost-cap input{width:72px;color:var(--text);background:#101722;border:1px solid #354158;border-radius:6px;padding:7px}.reference-pack-run{background:#10202d;border:1px solid #315267;border-radius:10px;gap:8px;padding:12px;display:grid}.reference-pack-run>header,.reference-pack-run>footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.reference-pack-run header div{gap:3px;display:grid}.reference-pack-run header small,.reference-pack-run footer{color:var(--muted);font-size:10px}.reference-pack-run header>span{font:700 13px var(--mono);color:var(--accent)}.reference-pack-progress{background:#202a38;border-radius:999px;height:6px;overflow:hidden}.reference-pack-progress i{border-radius:inherit;background:linear-gradient(90deg,#3b8eb7,#6bc8c3);height:100%;transition:width .25s;display:block}.reference-pack-run footer button{color:#f4c66b;background:#2c2417;border:1px solid #6a5124;border-radius:6px;padding:5px 8px;font-size:10px}.reference-pack-run>p{color:#f08a8a;margin:0;font-size:11px}.reference-plan-grid article i.completed{color:#65d49a}.reference-plan-grid article i.failed{color:#f08a8a}.reference-plan-grid article i.running{color:#79c7f1}.generation-lora{grid-column:1/-1}.generation-hint{color:var(--muted);font-size:9px}.finalizer-selector{gap:18px;display:grid}.finalizer-selector>header span{color:var(--accent);letter-spacing:.14em;font-size:11px;font-weight:800}.finalizer-selector>header h3{margin:5px 0 0;font-size:20px}.finalizer-selector>header p{color:var(--muted);margin:6px 0 0}.finalizer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.finalizer-card{text-align:left;min-height:225px;color:var(--text);border:1px solid var(--line);cursor:pointer;background:#101722;border-radius:16px;align-content:start;gap:10px;padding:18px;display:grid;position:relative}.finalizer-card:hover{border-color:#7186aa;transform:translateY(-1px)}.finalizer-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 45%,transparent);background:#111d29}.finalizer-card strong{font-size:17px}.finalizer-card p{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.finalizer-card .availability{border-radius:999px;justify-self:start;padding:4px 8px;font-size:10px;font-weight:800}.availability.ready{color:#8ee6bc;background:#153328}.availability.review{color:#e7c783;background:#332b18}.finalizer-badges{flex-wrap:wrap;gap:6px;margin-top:auto;display:flex}.finalizer-badges i{color:#b9c6d9;border:1px solid #344158;border-radius:6px;padding:4px 7px;font-size:10px;font-style:normal}.finalizer-card.territory-blocked{color:#6f7783;filter:grayscale();cursor:not-allowed;background:#0c1016;border-color:#292f39}.finalizer-card.territory-blocked p,.finalizer-card.territory-blocked .finalizer-badges i{color:#646b75}.territory-tooltip{z-index:1000;color:#f3f6fa;pointer-events:none;background:#24151c;border:1px solid #805263;border-radius:10px;width:min(330px,100vw - 32px);padding:12px 14px;font-size:12px;line-height:1.55;display:none;position:fixed;transform:translate(18px,18px);box-shadow:0 14px 38px #000a}.territory-tooltip b{color:#ffb2c1;margin-bottom:4px;display:block}.finalizer-card.territory-blocked:hover .territory-tooltip{left:var(--tooltip-x,50vw);top:var(--tooltip-y,50vh);display:block}.shot-finalizers{border:1px solid var(--line);background:#0c121c;border-radius:14px;gap:9px;padding:15px;display:grid}.shot-finalizers>label{grid-template-columns:minmax(0,1fr) minmax(220px,310px);align-items:center;gap:12px;display:grid}.shot-finalizers label span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shot-finalizers select{color:var(--text);background:#111a27;border:1px solid #354158;border-radius:9px;padding:9px 10px}.hunyuan-license-note{background:#0c121c;border-left:3px solid #697893;padding:14px 16px}.hunyuan-license-note strong{font-size:12px}.hunyuan-license-note p{color:var(--muted);margin:5px 0;font-size:11px;line-height:1.5}.finalizer-time{color:#dce8f8;border-top:1px solid #2e394a;padding-top:8px;font-size:12px;font-weight:800;display:block}.gpu-choice-panel{border:1px solid var(--line);background:#0c121c;border-radius:14px;grid-template-columns:minmax(190px,.8fr) minmax(280px,1fr) minmax(230px,.9fr);align-items:center;gap:16px;padding:16px;display:grid}.gpu-choice-panel p{color:var(--muted);margin:5px 0 0;font-size:12px}.gpu-choice-buttons{grid-template-columns:1fr 1fr;gap:8px;display:grid}.gpu-choice-buttons button{color:var(--text);text-align:left;background:#111a27;border:1px solid #354158;border-radius:10px;gap:3px;padding:11px;display:grid}.gpu-choice-buttons button.selected{border-color:var(--accent);background:#152432}.gpu-choice-buttons button:disabled{color:#59616d;cursor:not-allowed;background:#0b0f15;border-color:#252b35}.gpu-choice-buttons small{color:var(--muted)}.gpu-choice-panel output{border-left:1px solid var(--line);gap:3px;padding-left:16px;display:grid}.gpu-choice-panel output span,.gpu-choice-panel output small{color:var(--muted);font-size:10px}.gpu-choice-panel output strong{font-size:18px}.shot-finalizer-row{grid-template-columns:minmax(0,1fr) minmax(210px,280px) minmax(180px,230px) 110px;align-items:center;gap:10px;display:grid}.shot-finalizer-row>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shot-finalizer-row>small{color:#b9c9dc;text-align:right;font-weight:700}.continuity-guard{background:#211b10;border:1px solid #735b32;border-radius:10px;gap:8px;margin:0 16px 14px;padding:12px 14px;display:grid}.continuity-guard>strong{color:#f3d89b;font-size:12px}.continuity-guard>div{flex-wrap:wrap;gap:6px;display:flex}.continuity-guard span{color:#e8cc91;background:#332919;border-radius:999px;padding:5px 8px;font-size:11px}.continuity-guard span.critical{color:#ffb5c1;background:#3a1820}.continuity-guard span.medium{color:#b7d7f4;background:#172737}.continuity-guard small{color:#d8b9bf}.h3-take-status{background:#102131;border:1px solid #496a88;border-radius:9px;grid-template-columns:1fr auto;gap:5px;padding:10px;display:grid}.h3-take-status strong{color:#b9dcff}.h3-take-status span{font-family:var(--mono);color:#e4f1ff}.h3-take-status small{color:#aabdd0;grid-column:1/-1;line-height:1.45}.candidate-intermediates{background:#0b111a;border:1px solid #334156;border-radius:10px;gap:10px;padding:11px;display:grid}.candidate-intermediates>summary{cursor:pointer;color:#b8d8ef;font-size:12px;font-weight:800}.candidate-intermediates[open]>summary{border-bottom:1px solid #293548;padding-bottom:9px}.candidate-intermediates section{gap:7px;display:grid}.candidate-intermediates h4{color:#dbe7f4;margin:0;font-size:11px}.candidate-intermediates pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#b8c6d8;max-height:260px;font:10px/1.55 var(--mono);background:#080d14;border:1px solid #253246;border-radius:8px;margin:0;padding:10px;overflow:auto}.candidate-intermediates>section>dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.candidate-intermediates>section>dl div{background:#101722;border:1px solid #253246;border-radius:7px;padding:7px}.candidate-intermediates>section>dl dt{color:#7f8da1;font-size:9px}.candidate-intermediates>section>dl dd{overflow-wrap:anywhere;font:10px var(--mono);margin:3px 0 0}.candidate-reference-artifacts{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.candidate-reference-artifacts figure{background:#0e151f;border:1px solid #2d3b50;border-radius:8px;margin:0;overflow:hidden}.candidate-reference-artifacts img{aspect-ratio:1.3;object-fit:cover;width:100%;display:block}.candidate-reference-artifacts figcaption{color:#9eacbe;padding:6px;font-size:9px;line-height:1.35}.finalizer-detail-mode{gap:6px;display:flex}.finalizer-detail-mode button{color:var(--muted);border:1px solid var(--line);background:#0c121c;border-radius:8px;padding:7px 12px}.finalizer-detail-mode button.selected{color:var(--text);border-color:var(--accent);background:#152432}.hunyuan-runtime-panel{background:#0c121c;border:1px solid #344158;border-radius:14px;gap:14px;padding:16px;display:grid}.hunyuan-runtime-panel>header{justify-content:space-between;gap:16px;display:flex}.hunyuan-runtime-panel p{color:var(--muted);margin:4px 0 0;font-size:12px}.hunyuan-engine-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.hunyuan-engine-grid button{color:var(--text);text-align:left;background:#111a27;border:1px solid #354158;border-radius:10px;gap:5px;padding:12px;display:grid}.hunyuan-engine-grid button.selected{border-color:var(--accent);background:#152432}.hunyuan-engine-grid small{color:var(--muted);line-height:1.45}.hunyuan-advanced-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.hunyuan-advanced-grid label{color:var(--muted);align-content:start;gap:6px;font-size:11px;display:grid}.hunyuan-advanced-grid select{color:var(--text);background:#111a27;border:1px solid #354158;border-radius:8px;padding:9px}.hunyuan-toggle{grid-column:auto;align-items:center;grid-template-columns:auto 1fr!important;display:flex!important}.hunyuan-runtime-evidence{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.hunyuan-runtime-evidence div{background:#101722;border:1px solid #283448;border-radius:8px;min-width:0;padding:9px}.hunyuan-runtime-evidence dt{color:var(--muted);font-size:10px}.hunyuan-runtime-evidence dd{overflow-wrap:anywhere;font-family:var(--mono);margin:4px 0 0;font-size:10px}.step-run:disabled{color:#68717d;cursor:not-allowed;background:#171c24;border-color:#303743}.step-run-blocked{color:#e2c486;background:#211b10;border:1px solid #5a4722;border-radius:8px;margin:8px 0 0;padding:9px 11px;font-size:11px;line-height:1.5}@media (max-width:900px){.finalizer-grid,.hunyuan-engine-grid,.hunyuan-advanced-grid,.hunyuan-runtime-evidence,.h3-professional-grid,.h3-directing-grid,.reference-role-grid,.reference-plan-grid{grid-template-columns:1fr}.h3-avoid{grid-column:auto}.gpu-choice-panel{grid-template-columns:1fr}.gpu-choice-panel output{border-left:0;border-top:1px solid var(--line);padding:12px 0 0}.shot-finalizer-row{grid-template-columns:1fr}.shot-finalizer-row>small{text-align:left}.finalizer-card{min-height:0}}.step-field select option:disabled{color:#697389}.timeline-panel{gap:14px;margin-top:16px;display:grid}.timeline-panel header,.timeline-panel li{align-items:center;gap:12px;display:flex}.timeline-panel header{color:var(--muted);justify-content:space-between;font-size:10px}.timeline-panel header strong{color:var(--text);font-size:14px}.timeline-panel ol{gap:7px;margin:0;padding:0;list-style:none;display:grid}.timeline-panel li{background:#0d131d;border:1px solid #2e394d;border-radius:9px;padding:10px 12px}.timeline-order{align-items:center;gap:4px;display:flex}.timeline-order button{width:24px;height:24px;color:var(--text);cursor:pointer;background:#121927;border:1px solid #344057;border-radius:6px;place-items:center;display:grid}.timeline-order button:disabled{opacity:.3;cursor:default}.timeline-order svg{width:11px}.timeline-clip-title{flex:1;gap:2px;min-width:120px;display:grid}.timeline-panel li label{color:var(--muted);gap:3px;font-size:9px;display:grid}.timeline-panel li .timeline-mute{white-space:nowrap;align-items:center;gap:5px;display:flex}.timeline-panel li .timeline-mute input{width:auto}.timeline-audio{background:#0d131d;border:1px solid #334057;border-radius:9px;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 90px auto;align-items:end;gap:10px;padding:12px;display:grid}.timeline-audio>div{gap:3px;display:grid}.timeline-audio small{color:var(--muted);font-size:9px}.timeline-audio select,.timeline-audio input{color:var(--text);background:#0a1019;border:1px solid #344057;border-radius:7px;padding:7px 8px;font-size:9px}.timeline-audio label{color:var(--muted);gap:3px;font-size:9px;display:grid}.timeline-audio-upload input{display:none}.timeline-audio-upload span{color:#dcd7ff;cursor:pointer;white-space:nowrap;text-align:center;border:1px solid #5e54a5;border-radius:7px;padding:7px 10px}.timeline-audio-error{grid-column:1/-1;color:#ff9aaa!important}.timeline-panel li select,.timeline-panel li input{color:var(--text);background:#0a1019;border:1px solid #344057;border-radius:7px;padding:6px 8px;font-size:9px}.timeline-panel li input{width:64px}.timeline-panel li b{color:#917cff}.timeline-panel li span{flex:1}.timeline-panel li small,.timeline-panel figcaption,.timeline-blocked{color:var(--muted);font-size:9px}.timeline-panel figure{margin:0}.timeline-panel video{background:#05080d;border-radius:10px;width:100%;max-height:420px}.timeline-panel figcaption{margin-top:6px}.timeline-blocked{color:#efb38f;background:#241a16;border:1px solid #493a2f;border-radius:9px;padding:12px}.step-explanation{color:var(--muted);background:#101722;border-radius:9px;align-items:flex-start;gap:10px;margin-top:17px;padding:13px;display:flex}.step-explanation svg{color:#8b7cf6;flex:0 0 16px;width:16px}.step-explanation p{margin:0;font-size:10px;line-height:1.6}.candidate-empty{color:var(--muted);border:1px dashed #3b465d;border-radius:10px;align-items:center;gap:11px;margin-top:17px;padding:16px;display:flex}.candidate-empty svg{color:#8b7cf6;width:18px}.candidate-empty strong{color:#d5dbea;font-size:11px}.candidate-empty p{margin:3px 0 0;font-size:9px}.candidate-gallery{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:13px;margin-top:17px;display:grid}.candidate-card{background:#0d131d;border:1px solid #303a4e;border-radius:11px;overflow:hidden}.candidate-card.selected{border-color:#a8df56;box-shadow:0 0 0 1px #a8df5644}.candidate-media{aspect-ratio:16/10;background:#070b11;position:relative}.candidate-media img,.candidate-media video{object-fit:contain;width:100%;height:100%;display:block}.candidate-media>span{color:#10160a;background:#a8df56;border-radius:99px;align-items:center;gap:4px;padding:5px 7px;font-size:8px;font-weight:900;display:flex;position:absolute;top:9px;right:9px}.candidate-media>span svg{width:10px}.candidate-meta{padding:12px}.candidate-meta>b{font-size:11px}.candidate-meta dl{grid-template-columns:1fr 1fr;gap:6px 10px;margin:10px 0;display:grid}.candidate-meta dl>div{min-width:0}.candidate-meta dt{color:#69768b;text-transform:uppercase;font-size:7px}.candidate-meta dd{color:#cbd3e2;text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:9px;overflow:hidden}.candidate-meta>p{color:#8793a7;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:8px 0 11px;font-size:9px;line-height:1.5;display:-webkit-box;overflow:hidden}.candidate-meta>button{color:#dbe2ef;cursor:pointer;background:#192131;border:1px solid #4b5870;border-radius:7px;width:100%;padding:8px;font-size:9px;font-weight:800}.candidate-meta>button.selected{color:#b9e97a;cursor:default;background:#25331b;border-color:#a8df56}.segmentation-picker{grid-template-columns:minmax(0,1.5fr) minmax(190px,.7fr);gap:14px;margin-top:17px;display:grid}.segmentation-canvas{background:#070b11;border:1px solid #344057;border-radius:10px;min-height:260px;position:relative;overflow:hidden}.segmentation-canvas>img{object-fit:contain;width:100%;height:100%;display:block}.segmentation-canvas>button{opacity:.38;cursor:pointer;border:0;width:100%;height:100%;padding:0;transition:opacity .14s,filter .14s;position:absolute;inset:0;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-source-type:luminance;mask-mode:luminance}.segmentation-canvas>button:hover,.segmentation-canvas>button.selected{opacity:.68;filter:saturate(1.4)brightness(1.15)}.segmentation-objects{background:#0d131d;border:1px solid #303a4e;border-radius:10px;padding:12px}.segmentation-objects header{justify-content:space-between;gap:8px;margin-bottom:10px;display:flex}.segmentation-objects header strong,.segmentation-objects header small{display:block}.segmentation-objects header strong{font-size:10px}.segmentation-objects header small,.segmentation-objects header>span{color:#748097;margin-top:3px;font-size:8px}.segmentation-objects>button{color:#cbd3e2;cursor:pointer;text-align:left;background:#151d2b;border:1px solid #303a4e;border-radius:7px;grid-template-columns:10px minmax(0,1fr) auto 14px;align-items:center;gap:8px;width:100%;margin-top:7px;padding:9px;display:grid}.segmentation-objects>button.selected{background:#27213f;border-color:#8b7cf6}.segmentation-objects>button>i{border-radius:50%;width:9px;height:9px}.segmentation-objects>button>span{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.segmentation-objects>button>small{color:#7d899d;font-size:8px}.segmentation-objects>button>svg{opacity:0;width:12px}.segmentation-objects>button.selected>svg{opacity:1;color:#bcb1ff}.step-approval{background:#241f12;border:1px solid #5a4f2a;border-radius:10px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:17px;padding:14px;display:grid}.step-approval>svg{color:#e5c96f;width:20px}.step-approval.approved{background:#192316;border-color:#425d32}.step-approval.approved>svg{color:#9bd66f}.step-approval strong,.step-approval p,.step-approval small{display:block}.step-approval p{color:var(--muted);margin:4px 0 0;font-size:10px;line-height:1.5}.step-approval small{color:#7f8a9e;margin-top:5px;font-size:9px}.step-approval button{cursor:pointer;border-radius:8px;padding:8px 11px;font-size:10px;font-weight:800}.step-run{background:var(--accent);color:#10160a;cursor:pointer;border:0;border-radius:8px;align-items:center;gap:7px;margin-top:17px;padding:9px 14px;font-size:10px;font-weight:800;display:flex}.step-run:disabled{opacity:.5}.step-run svg{width:13px}.step-job{background:#0f1621;border:1px solid #344057;border-radius:9px;margin-top:17px;padding:12px}.step-job>div{color:#b8c2d3;text-transform:uppercase;justify-content:space-between;font-size:9px;display:flex}.step-job>i{background:#273044;border-radius:99px;height:4px;margin:8px 0 11px;display:block;overflow:hidden}.step-job>i b{border-radius:inherit;background:#8b7cf6;height:100%;transition:width .25s;display:block}.step-job button{color:#dce3ef;cursor:pointer;background:#1a2332;border:1px solid #49556d;border-radius:7px;padding:7px 10px;font-size:9px}.step-job.failed{background:#21151b;border-color:#713d49}.step-job.failed strong{color:#f4939d;font-size:10px}.step-job.failed p{color:#c6a6ad;margin:6px 0 10px;font-size:9px;line-height:1.5}.step-footer{grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;max-width:900px;margin:25px auto 0;display:grid}.step-footer>span{color:#69758a;font-size:9px}.step-footer button{cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:40px;font-size:10px;font-weight:750;display:flex}.step-footer button svg{width:14px}.step-footer button:disabled{opacity:.3;cursor:default}.step-footer .secondary{color:var(--text);background:#151c28;border:1px solid #364157;justify-self:start;padding:0 14px}.step-footer .primary{color:#fff;background:#8b7cf6;border:0;justify-self:end;padding:0 16px}.graph-tools{border:1px solid #30394d;border-radius:9px;gap:2px;display:flex;box-shadow:0 7px 24px #0008;background:#121925!important;padding:4px!important}.graph-tools button{color:#9aa5b8;background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;height:31px;font-size:11px;display:flex}.graph-tools button:hover{color:#fff;background:#263043}.graph-tools svg{width:15px}.graph-tools i{border-left:1px solid var(--line);margin:5px}.film-node{background:#151c28;border:1px solid #344056;border-radius:11px;width:280px;min-height:170px;overflow:visible;box-shadow:0 12px 35px #0007}.film-node.collapsed{min-height:52px}.group-node{background:#11182773;border:1px dashed #62708b;border-radius:16px;width:100%;height:100%;box-shadow:inset 0 0 45px #070b1280}.group-node.shot{background:#18201466;border-color:#9bad4f}.group-node.selected{border-style:solid;border-color:#9d91ff;box-shadow:0 0 0 1px #9d91ff,inset 0 0 45px #070b1280}.group-node-title{color:#b9c3d5;pointer-events:none;align-items:center;gap:9px;height:44px;padding:0 14px;display:flex}.group-node-title svg{color:#9d91ff;width:15px}.group-node.shot .group-node-title svg{color:var(--accent)}.group-node-title strong,.group-node-title span{display:block}.group-node-title strong{font-size:11px}.group-node-title span{color:#738098;letter-spacing:1px;margin-top:2px;font-size:7px}.film-node.selected{border-color:#9d91ff;box-shadow:0 0 0 1px #9d91ff,0 18px 50px #0009}.node-head{border-bottom:1px solid #293247;align-items:center;gap:9px;height:52px;padding:0 11px;display:flex}.node-icon{color:#bac4ff;background:#2c3550;border-radius:7px;place-items:center;width:29px;height:29px;display:grid}.node-head>div{flex-direction:column;gap:2px;display:flex}.node-head strong{font-size:11px}.node-head small{text-transform:uppercase;letter-spacing:1.1px;color:#728096;font-size:7px}.state{letter-spacing:.6px;color:#7d899d;background:#20293a;border-radius:4px;margin-left:auto;padding:3px 5px;font-size:7px}.state.dirty{color:#e9c66f;background:#3b321d}.node-body{min-height:98px;padding:35px 12px 12px}.node-body p{color:#8a96a9;margin:0;font-size:9px;line-height:1.55}.setting{color:#8f9bad;justify-content:space-between;margin-bottom:8px;font-size:9px;display:flex}.setting b{color:#fff}.preview-placeholder{color:#58657a;border:1px dashed #354158;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:48px;font-size:8px;display:flex}.ports{pointer-events:none;position:absolute;top:0;left:0;right:0}.port{color:#a5afc0;pointer-events:auto;align-items:center;gap:5px;height:22px;font-size:7px;display:flex;position:absolute}.port b{color:#58657a;font-weight:400}.inputs .port{left:8px}.outputs .port{flex-direction:row;right:8px}.inputs .port:first-child,.outputs .port:first-child{top:56px}.inputs .port:nth-child(2),.outputs .port:nth-child(2){top:78px}.inputs .port:nth-child(3),.outputs .port:nth-child(3){top:100px}.inputs .port:nth-child(4),.outputs .port:nth-child(4){top:122px}.react-flow__handle{background:#8795b5!important;border:2px solid #131a26!important;width:8px!important;height:8px!important}.run-node{color:#d8deea;cursor:pointer;background:#222c3d;border:1px solid #59647a;border-radius:6px;padding:5px 13px;font-size:8px;position:absolute;bottom:-13px;left:50%;transform:translate(-50%)}.run-node:disabled{opacity:.75;cursor:wait}.node-job-progress{margin-top:10px}.node-job-progress span{color:#aeb8ca;text-transform:uppercase;margin-bottom:5px;font-size:7px;display:block}.node-job-progress i{background:#2b3447;border-radius:99px;height:3px;display:block;overflow:hidden}.node-job-progress i b{background:#8b7cf6;height:100%;display:block}.node-job-error{max-height:34px;overflow:hidden;color:#f4939d!important;font-size:8px!important}.palette{z-index:20;background:#151c28;border:1px solid #344056;border-radius:13px;width:330px;max-height:calc(100vh - 90px);position:absolute;top:70px;left:82px;overflow:hidden;box-shadow:0 25px 70px #000c}.run-plan-backdrop{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#05080dbf;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.run-plan{background:#141b27;border:1px solid #3a465d;border-radius:16px;width:min(620px,100%);max-height:min(760px,100vh - 48px);padding:22px;overflow:auto;box-shadow:0 30px 100px #000d}.run-plan>header{justify-content:space-between;align-items:flex-start;display:flex}.run-plan>header small{color:var(--accent);letter-spacing:1.5px;font-size:8px;font-weight:800}.run-plan>header h2{margin:5px 0 0;font-size:18px}.run-plan>header button{color:#8995a9;cursor:pointer;background:0 0;border:0}.run-plan>header svg{width:17px}.run-plan-summary{grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0 14px;display:grid}.run-plan-summary>div{background:#101722;border:1px solid #303b50;border-radius:10px;padding:12px}.run-plan-summary span,.run-plan-summary strong{display:block}.run-plan-summary span{color:#7d899d;font-size:8px}.run-plan-summary strong{margin-top:4px;font-size:15px}.run-plan-list{gap:7px;display:grid}.run-plan-list article{background:#101722;border:1px solid #344057;border-radius:9px;justify-content:space-between;align-items:center;gap:14px;min-height:54px;padding:10px 12px;display:flex}.run-plan-list article.ready{border-color:#52633d}.run-plan-list article.blocked{border-color:#533944}.run-plan-list article b,.run-plan-list article span{display:block}.run-plan-list article b{font-size:10px}.run-plan-list article span{color:#7d899d;margin-top:4px;font-size:8px}.run-plan-list article>strong{color:#cfe687;font-size:10px}.run-plan-list article>em{color:#db8792;font-size:9px;font-style:normal}.run-plan-confirm{color:#b7c0cf;align-items:flex-start;gap:9px;margin:17px 0 11px;font-size:9px;line-height:1.5;display:flex}.run-plan-confirm input{accent-color:var(--accent);margin-top:1px}.run-plan-execute{background:var(--accent);color:#11170a;cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:42px;font-size:10px;font-weight:850;display:flex}.run-plan-execute:disabled{opacity:.35;cursor:default}.run-plan-execute svg{width:14px}.run-plan-empty{color:#aab4c5;margin:16px 0 0;font-size:10px}.palette-head{justify-content:space-between;align-items:center;padding:18px;display:flex}.palette-head small{letter-spacing:1.5px;color:var(--accent);font-size:8px}.palette-head h3{margin:5px 0 0;font-size:15px}.palette-head button{color:#8c97aa;background:0 0;border:0}.palette>input{color:#fff;background:#0f151f;border:1px solid #354056;border-radius:7px;width:calc(100% - 30px);margin:0 15px 10px;padding:10px}.node-list{max-height:calc(100vh - 220px);padding:7px;overflow:auto}.node-list button{text-align:left;color:#fff;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:33px 1fr 20px;align-items:center;gap:8px;width:100%;padding:9px;display:grid}.node-list button:hover{background:#222b3b}.node-list button>span{background:#2c3550;border-radius:7px;place-items:center;width:31px;height:31px;display:grid}.node-list svg{width:14px}.node-list div{flex-direction:column;display:flex}.reference-editor{gap:7px;display:grid}.reference-editor label{gap:3px;display:grid}.reference-editor label>span{color:#8996ad;text-transform:uppercase;letter-spacing:.08em;font-size:8px;font-weight:700}.reference-editor input,.reference-editor textarea{box-sizing:border-box;color:#e9edf5;width:100%;font:inherit;resize:vertical;background:#090d15;border:1px solid #323d52;border-radius:6px;padding:6px 7px;font-size:9px}.reference-editor input:focus,.reference-editor textarea:focus{outline:1px solid var(--accent);border-color:var(--accent)}.asset-node-editor{gap:8px;display:grid}.asset-node-editor label{gap:4px;display:grid}.asset-node-editor label>span,.asset-node-editor small{color:#8996ad;text-transform:uppercase;letter-spacing:.06em;font-size:8px;font-weight:700}.asset-node-editor select,.text-node-editor{box-sizing:border-box;color:#e9edf5;width:100%;font:inherit;background:#090d15;border:1px solid #323d52;border-radius:6px;padding:7px;font-size:9px}.asset-node-upload input{display:none}.asset-node-upload>span{text-align:center;cursor:pointer;border:1px solid #5e54a5;border-radius:6px;padding:7px;color:#dcd7ff!important}.text-node-editor{resize:vertical;min-height:66px}.conditioning-state{color:#aab5c8;background:#111827;border:1px solid #465169;border-radius:8px;padding:7px 9px;font-size:10px;font-weight:700}.conditioning-state.completed{color:#9cdb9f;background:#112417;border-color:#355d38}.conditioning-state.failed{color:#ff9aaa;background:#29151b;border-color:#743845}.node-list b{text-transform:capitalize;font-size:10px}.node-list small{color:#778399;font-size:8px}.toast{z-index:30;color:#ffd8dc;background:#4a2028;border:1px solid #a74957;border-radius:9px;gap:15px;max-width:560px;padding:11px 14px;font-size:11px;display:flex;position:absolute;bottom:25px;left:90px}.toast button{color:inherit;background:0 0;border:0}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:750px){.hero h2{font-size:42px}.create-card,.mode-picker{grid-template-columns:1fr}.create-card button{height:55px}.project-grid{grid-template-columns:1fr}.crumb,.cost{display:none}.mode-switch{margin-left:8px}.mode-switch button{min-width:36px;font-size:0}.step-workspace{grid-template-columns:62px minmax(0,1fr)}.step-sidebar{padding:12px 5px}.step-progress{display:none}.step-sidebar nav button{min-height:48px;padding:0}.step-sidebar nav button>span{top:8px;left:10px}.step-sidebar nav small,.step-sidebar nav b{display:none}.step-main{padding:25px 18px 90px}.step-heading{gap:12px}.step-number{flex-basis:42px;height:42px;font-size:17px}.step-heading h1{font-size:22px}.step-footer{grid-template-columns:1fr 1fr}.step-field-grid{grid-template-columns:1fr;gap:0}.segmentation-picker{grid-template-columns:1fr}.shot-editor header{grid-template-columns:34px minmax(0,1fr)}.shot-editor .duration-field,.shot-order-actions{grid-column:2}.shot-fields{grid-template-columns:1fr}.shot-fields label:first-child{grid-row:auto}.step-footer>span{display:none}}.object-edit-result{border:1px solid var(--line);background:#070a10;border-radius:14px;margin:14px 0 0;overflow:hidden}.object-edit-result img{object-fit:contain;width:100%;max-height:420px;display:block}.object-edit-result figcaption{color:var(--muted);padding:9px 12px;font-size:12px}.director-panel{gap:14px;display:grid}.director-actions{background:#0e1420;border:1px dashed #39465f;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;padding:18px;display:flex}.director-actions p,.director-proposal p{color:var(--muted);margin:5px 0 0;line-height:1.55}.director-actions button{white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.director-cost-note{color:#8f9bb0}.director-failure{color:#d99aa4;background:#21151a;border:1px solid #58313b;border-radius:12px;padding:12px 14px}.director-failure summary{cursor:pointer;font-size:11px}.director-failure p{color:#ff9aa9;margin:8px 0 0}.director-proposal{background:#0b1019;border:1px solid #3b475e;border-radius:16px;gap:14px;padding:18px;display:grid}.director-proposal>header{grid-template-columns:minmax(0,1fr) auto;gap:20px;display:grid}.director-proposal>header span{color:var(--purple);letter-spacing:.14em;font-size:11px;font-weight:800}.director-proposal h3{margin:7px 0 0;font-size:21px}.director-proposal>header dl{gap:10px;margin:0;display:flex}.director-proposal>header dl div{border:1px solid var(--line);border-radius:10px;min-width:74px;padding:10px}.director-proposal dt{color:var(--muted);text-transform:uppercase;font-size:10px}.director-proposal dd{margin:4px 0 0;font-weight:700}.director-shot-list{gap:8px;display:grid}.director-shot-list details{border:1px solid var(--line);background:#111824;border-radius:12px}.director-shot-list summary{cursor:pointer;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.director-shot-list summary b{color:var(--accent)}.director-shot-list summary small{color:var(--muted)}.director-shot-list details>p,.director-shot-list details>dl{margin:0;padding:0 14px 14px}.director-shot-list details>dl{grid-template-columns:1fr 1fr;gap:8px;display:grid}.director-shot-list details>dl div{background:#0b1019;border-radius:9px;padding:9px}.director-shot-list details>dl dd{color:#dce3ef;font-size:12px;line-height:1.45}.director-proposal>.step-run{justify-self:start}@media (max-width:760px){.director-actions{flex-direction:column;align-items:stretch}.director-proposal>header{grid-template-columns:1fr}.director-proposal>header dl{flex-wrap:wrap}.director-shot-list details>dl{grid-template-columns:1fr}}.story-studio,.visual-shot-review{gap:18px;width:min(1080px,100%);margin:0 auto;display:grid}.story-studio{background:radial-gradient(circle at 85% 0,#252147 0,#0000 34%),linear-gradient(145deg,#151d2b,#0e141e);border:1px solid #35425a;border-radius:20px;padding:24px;box-shadow:0 24px 60px #0005}.story-studio>header,.reference-overview>header,.shot-image-generator>header{justify-content:space-between;align-items:end;gap:18px;display:flex}.story-studio>header span,.reference-overview>header span,.shot-review-head span{color:#9a8cff;font:800 10px var(--mono);letter-spacing:.14em}.story-studio>header h2,.reference-overview h2,.shot-review-head h2{margin:5px 0 0;font-size:22px}.story-studio>header small,.reference-overview>header small{max-width:380px;color:var(--muted);line-height:1.55}.story-brief{gap:8px;display:grid}.story-brief>span{font-size:12px;font-weight:800}.story-brief textarea{min-height:210px;color:var(--text);resize:vertical;background:#090e16;border:1px solid #475473;border-radius:14px;outline:0;padding:18px;font-size:16px;line-height:1.75}.story-brief textarea:focus{border-color:#8b7cf6;box-shadow:0 0 0 3px #8b7cf622}.story-heading-chips{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.story-heading-chips>span{color:var(--muted);margin-right:5px;font-size:11px}.story-heading-chips button{color:#b9c6db;background:#111a28;border:1px solid #394863;border-radius:999px;padding:7px 10px;font-size:11px}.story-heading-chips button:hover{color:#fff;border-color:#8b7cf6}.story-format-row{grid-template-columns:170px minmax(0,1fr);gap:14px;display:grid}.story-format-row>label,.story-format-row fieldset{background:#0e151f;border:1px solid #303d53;border-radius:12px;gap:8px;margin:0;padding:13px;display:grid}.story-format-row span,.story-format-row legend{color:#aab6ca;font-size:11px;font-weight:700}.story-format-row label div{align-items:center;gap:8px;display:flex}.story-format-row input{color:#fff;background:#080d14;border:1px solid #3c4961;border-radius:8px;width:90px;padding:9px}.story-format-row fieldset{flex-wrap:wrap;align-items:center;display:flex}.story-format-row fieldset legend{float:left;margin-right:12px}.story-format-row fieldset button{color:#aeb9cc;background:#111925;border:1px solid #3b4961;border-radius:8px;padding:8px 12px}.story-format-row fieldset button.selected{color:#fff;background:#2a244b;border-color:#9a8cff}.director-idea-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.director-idea-cards article{background:#0b111a;border:1px solid #303c52;border-radius:12px;min-height:120px;padding:13px}.director-idea-cards article>span{color:#8b7cf6;font:800 10px var(--mono)}.director-idea-cards article p{color:#c2cada;margin:8px 0 0;font-size:11px;line-height:1.45}.director-idea-cards article:last-child{grid-column:1/-1;min-height:auto}.director-idea-cards article:last-child strong{margin-top:7px;display:block}.director-history{border:1px solid #2e3a4f;border-radius:12px;padding:12px}.director-history summary{cursor:pointer;color:#aeb8c9;font-size:12px}.director-history>div{gap:7px;margin-top:10px;display:grid}.director-history article{background:#0b1119;border-radius:8px;grid-template-columns:150px 1fr auto;gap:12px;padding:9px;display:grid}.director-history article span,.director-history article small{color:var(--muted);font-size:10px}.story-hero{text-align:center;justify-items:center;gap:12px;padding:55px 32px 42px;display:grid}.story-hero-mark{color:#c9c1ff;background:linear-gradient(145deg,#352c67,#201b40);border:1px solid #7365cf;border-radius:18px;place-items:center;width:54px;height:54px;display:grid;box-shadow:0 12px 35px #5f4fd333}.story-hero-mark svg{width:25px}.story-hero h2{letter-spacing:-.035em;margin:4px 0 0;font-size:clamp(25px,4vw,42px)}.story-hero>p{color:#9da9bc;max-width:720px;margin:0;font-size:14px;line-height:1.7}.story-prompt-shell{background:#090e16;border:1px solid #4a5874;border-radius:23px;width:min(820px,100%);margin-top:14px;padding:10px;display:grid;box-shadow:0 22px 65px #0008,0 0 0 1px #ffffff05}.story-prompt-shell:focus-within{border-color:#8d80ee;box-shadow:0 22px 65px #0008,0 0 0 4px #8b7cf61c}.story-prompt-shell textarea{color:#f1f4fa;resize:vertical;background:0 0;border:0;outline:0;min-height:145px;padding:15px 16px;font-size:16px;line-height:1.7}.story-prompt-shell textarea::placeholder{color:#657187}.story-prompt-shell button{color:#11170a;background:linear-gradient(135deg,#a8df56,#6fcf87);border:0;border-radius:13px;justify-self:end;align-items:center;gap:8px;padding:12px 16px;font-size:12px;font-weight:900;display:flex}.story-prompt-shell button:disabled{opacity:.4;cursor:not-allowed}.story-prompt-shell button svg{width:15px}.story-hero>small{color:#68758a;font-size:10px}.visual-shot-review{gap:16px}.reference-overview,.shot-image-generator{background:linear-gradient(145deg,#151d2a,#101721);border:1px solid #334158;border-radius:16px;gap:13px;padding:18px;display:grid}.reference-overview-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;display:grid}.reference-overview-grid article{background:#0a1018;border:1px solid #2f3b50;border-radius:11px;align-content:start;gap:6px;padding:8px;display:grid;overflow:hidden}.reference-overview-grid img,.reference-placeholder{aspect-ratio:1;object-fit:cover;background:#111a27;border-radius:8px;width:100%}.reference-placeholder{color:#46566d;place-items:center;display:grid}.reference-placeholder svg{width:25px}.reference-overview-grid article>span{color:#9184ef;font:800 9px var(--mono)}.reference-overview-grid article>strong{text-overflow:ellipsis;min-height:28px;font-size:10px;line-height:1.4;overflow:hidden}.reference-overview-grid article>button{color:#b9c5d8;background:#121b28;border:1px solid #35445c;border-radius:7px;padding:6px;font-size:9px}.shot-image-generator header p{color:var(--muted);margin:4px 0 0;font-size:12px}.shot-review-head{justify-content:space-between;align-items:end;gap:14px;padding:10px 2px 0;display:flex}.shot-review-head button{background:var(--accent);color:#11170a;border:0;border-radius:9px;align-items:center;gap:6px;padding:9px 13px;font-weight:800;display:flex}.shot-review-list{gap:12px;display:grid}.shot-review-card{background:linear-gradient(145deg,#161e2b,#101620);border:1px solid #354158;border-radius:16px;grid-template-columns:260px minmax(0,1fr);display:grid;overflow:hidden}.shot-review-image{background:#070a10;min-height:190px;position:relative}.shot-review-image>img{object-fit:cover;width:100%;height:100%;display:block}.shot-review-image>div{color:#5d6b7f;align-content:center;place-items:center;gap:8px;height:100%;display:grid}.shot-review-image>div svg{width:32px}.shot-review-image>div span{font-size:11px}.shot-review-image>b{color:#a99cff;font:800 12px var(--mono);background:#080c12cc;border-radius:8px;padding:6px 8px;position:absolute;top:10px;left:10px}.shot-review-summary{align-content:center;gap:13px;padding:17px;display:grid}.shot-review-summary>header{grid-template-columns:minmax(0,1fr) 88px;gap:14px;display:grid}.shot-review-summary header input{color:#fff;background:0 0;border:0;outline:0;width:100%;padding:0;font-size:18px;font-weight:800}.shot-review-summary header p{color:#aab4c6;margin:6px 0 0;font-size:12px;line-height:1.55}.shot-review-summary header label{border:1px solid #344159;border-radius:9px;grid-template-columns:1fr auto;align-items:center;gap:5px;padding:8px;display:grid}.shot-review-summary header label span{color:var(--muted);grid-column:1/-1;font-size:9px}.shot-review-summary header label input{min-width:0;font-size:14px}.shot-review-summary header label b{font-size:10px}.shot-review-summary dl{grid-template-columns:1fr 1fr;gap:8px;margin:0;display:grid}.shot-review-summary dl div{background:#0a1018;border-radius:9px;padding:9px}.shot-review-summary dt{color:#79869a;font-size:9px}.shot-review-summary dd{color:#d2d9e5;margin:4px 0 0;font-size:11px}.shot-review-actions{flex-wrap:wrap;gap:7px;display:flex}.shot-review-actions button{color:#c0cadb;background:#131c29;border:1px solid #3b4960;border-radius:8px;padding:7px 10px;font-size:10px}.shot-review-actions button.primary{color:#c9ee8e;background:#263819;border-color:#759c3e}.shot-review-advanced{border-top:1px solid #2d394d;grid-column:1/-1;padding:0 17px 17px}.shot-review-advanced summary{cursor:pointer;color:#9b8ff2;padding:13px 0;font-size:11px;font-weight:800}.shot-review-advanced .shot-fields{border:0;margin:0;padding:0}.shot-review-advanced footer{flex-wrap:wrap;gap:7px;margin-top:13px;display:flex}.shot-review-advanced footer button{color:#aeb9cb;background:#121a26;border:1px solid #37445a;border-radius:7px;align-items:center;gap:5px;padding:7px 9px;font-size:10px;display:flex}.shot-review-advanced footer button svg{width:12px}.shot-review-advanced footer button.danger{color:#ef9da7;margin-left:auto}.visual-review-continue{background:var(--accent);color:#10160a;border:0;border-radius:10px;justify-self:end;align-items:center;gap:8px;padding:13px 18px;font-weight:900;display:flex}.visual-review-continue svg{width:16px}@media (max-width:900px){.director-idea-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shot-review-card{grid-template-columns:210px minmax(0,1fr)}}@media (max-width:680px){.story-studio{padding:15px}.story-studio>header,.reference-overview>header{flex-direction:column;align-items:start}.story-format-row,.director-idea-cards,.director-history article{grid-template-columns:1fr}.reference-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shot-review-card{grid-template-columns:1fr}.shot-review-image{min-height:220px}.shot-review-summary>header,.shot-review-summary dl{grid-template-columns:1fr}.shot-review-advanced footer button.danger{margin-left:0}}.auth-loading{color:#aab6c8;min-height:100vh;font:13px var(--mono);background:#080b11;place-items:center;display:grid}.auth-page{background:radial-gradient(circle at 50% 0,#202744 0,#0000 42%),#080b11;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#0f151fcc;border:1px solid #354158;border-radius:22px;gap:22px;width:min(440px,100%);padding:32px;display:grid;box-shadow:0 30px 90px #0009}.auth-brand{align-items:center;gap:12px;display:flex}.auth-brand>svg{color:#10160b;background:#a4dc66;border-radius:11px;width:39px;height:39px;padding:8px}.auth-brand h1,.auth-card h2{margin:0}.auth-brand p,.auth-card>div>p{color:var(--muted);margin:4px 0 0;font-size:11px}.social-logins{gap:11px;display:grid}.social-login{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:13px;font-weight:800;display:flex}.social-login>span{background:#ffffff24;border-radius:6px;place-items:center;width:22px;height:22px;font-weight:900;display:grid}.social-login-google{color:#121722;background:#f5f7fa}.social-login-discord{color:#fff;background:#5865f2}.social-login-twitch{color:#fff;background:#9146ff}.social-login:disabled{filter:saturate(.35);opacity:.52;cursor:not-allowed}.social-login svg{width:16px;height:16px}.auth-readiness,.auth-privacy{color:#7f8ca0;text-align:center;margin:0;font-size:10px;line-height:1.6}.auth-readiness{color:#aab5c6;background:#0b1119;border:1px dashed #3c4960;border-radius:9px;padding:11px}.auth-message{color:#f0c486;background:#2a2116;border:1px solid #6b4a2b;border-radius:9px;margin:0;padding:11px;font-size:11px;line-height:1.55}.account-badge{align-items:center;gap:6px;display:flex}.account-badge a,.account-badge button{color:#b8c5d7;background:#101722;border:1px solid #344157;border-radius:8px;align-items:center;gap:6px;padding:7px 9px;font-size:10px;text-decoration:none;display:flex}.account-badge svg{width:14px;height:14px}.brand>.account-badge{margin-left:auto}.billing-page{gap:26px;width:min(920px,100% - 32px);margin:0 auto;padding:32px 0 70px;display:grid}.billing-page>header{align-items:center;gap:14px;display:flex}.billing-page>header>a{color:#c4cede;border:1px solid #344158;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.billing-page>header svg{width:17px}.billing-page>header span{color:#8f82ee;font:800 10px var(--mono);letter-spacing:.14em}.billing-page h1,.billing-page h2{margin:4px 0 0}.billing-page h2{font-size:16px}.credit-summary{background:linear-gradient(135deg,#182234,#101720);border:1px solid #3d4b62;border-radius:17px;align-items:center;gap:18px;padding:23px;display:flex}.credit-summary>svg{color:#a4dc66;background:#27384e;border-radius:12px;width:42px;height:42px;padding:9px}.credit-summary div{gap:4px;display:grid}.credit-summary span,.credit-summary small{color:var(--muted);font-size:10px}.credit-summary strong{font-size:25px}.credit-packages{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:13px;display:grid}.credit-packages article{background:#101722;border:1px solid #344158;border-radius:14px;gap:9px;padding:18px;display:grid}.credit-packages svg{color:#9d91f3}.credit-packages h3,.credit-packages p{margin:0}.credit-packages p{color:var(--muted);font-size:11px}.credit-packages button{background:var(--accent);color:#10160b;border:0;border-radius:8px;margin-top:7px;padding:10px;font-weight:800}.billing-setup{color:#9aa7ba;border:1px dashed #47536a;border-radius:12px;gap:13px;margin-top:12px;padding:17px;display:flex}.billing-setup p{margin:5px 0 0;font-size:11px;line-height:1.5}.credit-history{gap:7px;margin-top:12px;display:grid}.credit-history article{background:#0e141d;border:1px solid #2c3749;border-radius:10px;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:11px;display:grid}.credit-history svg{color:#6bd39b;width:16px}.credit-history article div{gap:3px;display:grid}.credit-history small{color:var(--muted);font-size:9px}.credit-history b{color:#78d4a4}.credit-history b.spent{color:#ed9c9c}@media (max-width:680px){.auth-card{padding:22px}.credit-packages{grid-template-columns:1fr}.account-badge span{display:none}}.auth-secondary-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.auth-secondary-actions button{color:#9aa9bd;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:11px;display:flex}.auth-secondary-actions svg{width:14px;height:14px}.account-page{gap:20px;width:min(820px,100% - 32px);margin:0 auto;padding:32px 0 70px;display:grid}.account-page>header{align-items:center;gap:14px;display:flex}.account-page>header>a{color:#c4cede;border:1px solid #344158;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.account-page>header svg{width:18px}.account-page>header span{color:#8f82ee;font:800 10px var(--mono);letter-spacing:.14em}.account-page h1,.account-page h2{margin:4px 0 0}.account-panel{background:linear-gradient(145deg,#172131,#101720);border:1px solid #39465c;border-radius:17px;gap:18px;padding:22px;display:grid}.account-panel>header{align-items:flex-start;gap:13px;display:flex}.account-panel>header>svg{color:#a4dc66;background:#26354b;border-radius:10px;flex:none;width:36px;height:36px;padding:8px}.account-panel>header p{color:var(--muted);margin:5px 0 0;font-size:11px;line-height:1.55}.account-panel>header>b{color:#e7c783;background:#342b18;border-radius:999px;margin-left:auto;padding:5px 8px;font-size:9px}.account-panel.accepted>header>b{color:#8ee6bc;background:#153328}.country-form{grid-template-columns:150px minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.country-form label{color:#aeb9ca;gap:7px;font-size:10px;display:grid}.country-form input[type=text],.country-form input:not([type]){color:#fff;background:#090e16;border:1px solid #3b4860;border-radius:9px;padding:11px}.country-confirm{align-items:center;padding-bottom:10px;grid-template-columns:auto 1fr!important}.country-form button,.model-terms button{background:var(--accent);color:#11170a;border:0;border-radius:9px;padding:11px 14px;font-weight:800}.country-form button:disabled,.model-terms button:disabled{opacity:.45}.model-terms ul{color:#b8c3d4;gap:7px;margin:0;padding-left:20px;font-size:11px;line-height:1.5;display:grid}.model-terms>a{color:#aa9eff;font-size:11px}.model-terms>button{justify-self:start}.account-message{color:#c7d1df;background:#111926;border:1px solid #40506a;border-radius:10px;padding:12px;font-size:11px}@media (max-width:680px){.country-form{grid-template-columns:1fr}.country-confirm{padding:0}.model-terms>button{width:100%}}.mobile-review-page{background:radial-gradient(circle at 80% -5%,#243257 0,#0000 31%);gap:16px;width:min(760px,100%);min-height:100vh;margin:0 auto;padding:18px 18px 90px;display:grid}.mobile-review-header{grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:11px;display:grid}.mobile-review-header>a,.mobile-review-header>button{color:#d2dbea;background:#101823;border:1px solid #36445c;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.mobile-review-header>button{cursor:pointer}.mobile-review-header>button:disabled{opacity:.5}.mobile-review-header svg{width:18px}.mobile-review-header>div>span,.mobile-review-library header span{color:#9d91f3;font:800 9px var(--mono);letter-spacing:.16em}.mobile-review-header h1{align-items:center;gap:8px;margin:4px 0 0;font-size:21px;display:flex}.mobile-review-header h1 svg{color:var(--accent)}.mobile-review-tabs{background:#0c121b;border:1px solid #313d52;border-radius:14px;grid-template-columns:1fr 1fr;gap:7px;padding:5px;display:grid}.mobile-review-tabs button{color:#8592a5;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:43px;font-size:11px;font-weight:800;display:flex}.mobile-review-tabs button.selected{color:#eff4fb;background:#202c3d;box-shadow:0 5px 18px #0005}.mobile-review-tabs svg{width:15px}.mobile-project-picker{background:#101721;border:1px solid #303e53;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:11px;padding:11px 13px;display:grid}.mobile-project-picker>span{color:#8f9caf;font-size:10px;font-weight:800}.mobile-project-picker select{color:#eef3fa;background:#090e15;border:1px solid #3a4860;border-radius:9px;width:100%;min-width:0;padding:9px}.mobile-review-focus{background:#0b1018;border:1px solid #3a465d;border-radius:18px;overflow:hidden;box-shadow:0 22px 55px #0007}.mobile-review-player{background:#030507;place-items:center;min-height:210px;display:grid}.mobile-review-player video,.mobile-review-player img{object-fit:contain;background:#000;width:100%;max-height:70vh;display:block}.mobile-review-caption{justify-content:space-between;align-items:flex-start;gap:12px;padding:15px 15px 11px;display:flex}.mobile-review-caption span{color:var(--accent);font:900 9px var(--mono);letter-spacing:.14em}.mobile-review-caption h2{overflow-wrap:anywhere;margin:5px 0 0;font-size:17px}.mobile-review-caption p{color:#8491a5;margin:4px 0 0;font-size:10px}.mobile-review-caption>a{color:#ced7e4;border:1px solid #42516a;border-radius:9px;flex:none;align-items:center;gap:5px;padding:9px 10px;font-size:10px;text-decoration:none;display:flex}.mobile-review-caption>a svg{width:13px}.mobile-review-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;padding:0 15px 15px;display:grid}.mobile-review-facts div{background:#111a26;border-radius:9px;padding:9px}.mobile-review-facts dt{color:#718096;text-transform:uppercase;font-size:8px}.mobile-review-facts dd{color:#dfe6ef;margin:3px 0 0;font-size:10px}.mobile-review-prompt{background:#090e15;border:1px solid #303c50;border-radius:10px;margin:0 15px 15px;padding:11px}.mobile-review-prompt summary{cursor:pointer;font-size:10px;font-weight:800}.mobile-review-prompt p{color:#adb8c8;white-space:pre-wrap;margin:9px 0 0;font-size:10px;line-height:1.65}.mobile-review-library{gap:10px;display:grid}.mobile-review-library>header{justify-content:space-between;align-items:end;display:flex}.mobile-review-library h2{margin:4px 0 0;font-size:16px}.mobile-review-library header b{color:#cbd5e4;background:#263348;border-radius:99px;place-items:center;min-width:27px;height:27px;font-size:10px;display:grid}.mobile-review-library>div{gap:8px;display:grid}.mobile-review-library button{color:#e8edf4;text-align:left;background:#0e151f;border:1px solid #2e3a4d;border-radius:13px;grid-template-columns:86px minmax(0,1fr) 24px;align-items:center;gap:11px;width:100%;padding:7px;display:grid}.mobile-review-library button.selected{background:#171b30;border-color:#8f82ee;box-shadow:0 0 0 2px #8f82ee20}.mobile-review-library figure{background:#05070a;border-radius:9px;width:86px;height:58px;margin:0;overflow:hidden}.mobile-review-library figure img,.mobile-review-library figure video{object-fit:cover;width:100%;height:100%}.mobile-review-library button>div{gap:3px;min-width:0;display:grid}.mobile-review-library button span{color:#91db80;font:800 8px var(--mono);text-transform:uppercase}.mobile-review-library button strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.mobile-review-library button small{color:#7f8b9e;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.mobile-review-library button>svg{color:#8f9caf;width:16px}.mobile-review-empty{color:#8f9caf;text-align:center;border:1px dashed #3c4960;border-radius:18px;align-content:center;place-items:center;gap:10px;min-height:330px;padding:35px;display:grid}.mobile-review-empty>svg{width:35px}.mobile-review-empty h2,.mobile-review-empty p{margin:0}.mobile-review-empty h2{color:#dbe2eb;font-size:16px}.mobile-review-empty p{max-width:340px;font-size:10px;line-height:1.55}.mobile-review-error{color:#f0a6b3;background:#26161b;border:1px solid #693d47;border-radius:10px;margin:0;padding:11px;font-size:10px}.mobile-review-security{color:#83aaa2;background:#0c1717;border:1px solid #2d3d43;border-radius:11px;align-items:flex-start;gap:8px;padding:12px;font-size:9px;line-height:1.55;display:flex}.mobile-review-security svg{flex:none;width:14px}@media (min-width:680px){.mobile-review-page{padding-top:30px}.mobile-review-library>div{grid-template-columns:1fr 1fr}.mobile-review-player{min-height:360px}}.model-territory-block{background:#21151c;border:1px solid #5a4050;border-radius:8px;padding:9px 11px;color:#d6a5af!important}.model-territory-block a{color:#c4b8ff;margin-left:4px}.director-provider{align-items:end;gap:10px;display:flex}.director-provider label{gap:5px;display:grid}.director-provider label span{color:var(--muted);letter-spacing:.08em;font-size:10px;font-weight:800}.director-provider select{border:1px solid var(--line);color:#eef3fa;background:#0b1019;border-radius:10px;min-width:210px;padding:10px 12px}.mcp-connect-panel{border:1px solid var(--line);background:#0b1019;border-radius:12px;padding:12px 14px}.mcp-connect-panel summary{cursor:pointer;font-weight:700}.mcp-connect-panel p{color:var(--muted);line-height:1.55}.mcp-connect-panel code{overflow-wrap:anywhere;color:#d7ff66}.mcp-token-once{gap:10px;margin-top:12px;display:grid}.mcp-token-once>code{background:#080c13;border:1px solid #48546a;border-radius:9px;padding:10px}.director-awaiting{background:#1c1a10;border:1px solid #665b2f;border-radius:14px;gap:8px;padding:16px;display:grid}.director-awaiting strong{color:#f3dc7a}.director-awaiting p{color:#c7c0a0;margin:0;line-height:1.55}.director-awaiting button{justify-self:start}@media (max-width:760px){.director-provider{flex-direction:column;align-items:stretch}.director-provider select{width:100%;min-width:0}}.story-ai-choice{color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:10px;display:flex}.story-ai-choice select{border:1px solid var(--line);color:#dce4f0;background:#0b1019;border-radius:8px;padding:6px 9px;font-size:10px}
.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}
