.studio-shell{color:#172033;background:#f5f6f9;min-height:100vh;font-family:Arial,Helvetica,sans-serif;font-size:14px;display:flex}.studio-shell button,.modal button{cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font-weight:500;display:inline-flex}.studio-shell button:hover,.modal button:hover{background:#eef0f6}.studio-shell button:disabled{opacity:.45;cursor:not-allowed}.studio-shell input,.studio-shell select,.studio-shell textarea{color:#172033;background:#fff;border:1px solid #dce1ea;border-radius:9px;max-width:100%;padding:10px 12px}:is(.studio-shell :focus-visible,.modal :focus-visible){outline-offset:3px;outline:2px solid #6a42d6}.studio-shell textarea{resize:vertical;width:100%}.studio-shell input[type=checkbox]{width:18px;height:18px}.rail{background:#fff;border-right:1px solid #e4e7ef;flex-direction:column;flex-shrink:0;width:220px;height:100vh;padding:28px 17px 18px;display:flex;position:sticky;top:0}.brand{letter-spacing:-2px;padding:0 14px;font-size:32px;font-weight:800}.brand span{letter-spacing:3.5px;color:#8b849b;margin-top:1px;font-size:10px;display:block}.workspace-label{letter-spacing:1.4px;color:#939bab;margin:36px 14px 14px;font-size:9px}.rail nav{gap:5px;display:grid}.rail nav button{color:#657085;justify-content:flex-start;padding:12px 14px}.rail nav .nav-active{color:#673ec5;background:#f0eafa;font-weight:700}.rail-bottom{overflow-wrap:anywhere;border-top:1px solid #eef0f4;gap:9px;margin-top:auto;padding-top:18px;display:grid}.avatar{color:#7048c4;background:#ede7f6;border-radius:50%;place-items:center;width:34px;height:34px;font-size:12px;font-weight:700;display:grid}.rail-bottom small{color:#7c8594;font-size:11px}.rail-bottom a{color:#6d7280;font-size:11px}.workspace{flex:1;min-width:0}.topbar{color:#738095;background:#fff;border-bottom:1px solid #e8ebf1;justify-content:space-between;align-items:center;gap:16px;height:74px;padding:0 32px;font-size:12px;display:flex}.topbar b{color:#293549}.top-actions{align-items:center;gap:8px;display:flex}.queue-pill{background:#f2f4f8;border-radius:20px;padding:6px 10px;font-size:11px}.content{max-width:1650px;margin:auto;padding:35px 38px}.section-title{justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px;display:flex}.section-title h1{letter-spacing:-1px;margin:7px 0;font-size:31px;font-weight:700}.section-title p,.panel p{color:#7b8595;font-size:13px;line-height:1.7}.eyebrow{letter-spacing:2px;color:#9a91a9;font-size:9px}.generator-grid{grid-template-columns:minmax(320px,480px) minmax(330px,1fr);gap:28px;display:grid}.panel{background:#fff;border:1px solid #e2e6ee;border-radius:17px;padding:24px}.generator{flex-direction:column;gap:12px;display:flex}.generator label{color:#4f5c70;font-size:12px;font-weight:600}.generator small{color:#939aaa;font-size:10px}.label-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.label-row h2{font-size:14px;font-weight:600}.input-block{gap:8px;margin:4px 0 10px;display:grid}.dropzone{color:#8b93a5;background:#fafbfe;border:1px dashed #cbd1df;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:135px;padding:20px;font-size:11px;display:flex}.dropzone:hover{background:#f8f5ff;border-color:#8c6bd4}.upload-button{cursor:pointer;position:relative;color:#7048bf!important}.upload-button input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.ref-chips{flex-wrap:wrap;gap:5px;display:flex}.ref-chips span{overflow-wrap:anywhere;background:#f0ebf8;border-radius:7px;align-items:center;max-width:100%;padding:3px 6px;font-size:10px;display:flex}.settings-grid{grid-template-columns:1fr 1fr;gap:13px;margin:10px 0;display:grid}.settings-grid label,.ai-panel label{flex-direction:column;gap:7px;display:flex}.generate-bar{background:#fff;border-top:1px solid #edf0f5;align-items:center;gap:8px;padding-top:18px;display:flex;position:sticky;bottom:0}.studio-shell .primary{color:#fff;background:#6940ce;flex:1;padding:13px 17px;font-weight:600}.studio-shell .primary:hover{background:#5831b8}.studio-shell .text-action{color:#7143c5;padding:4px 0;font-size:11px}.results-column{flex-direction:column;gap:16px;display:flex}.preview-panel{min-height:365px}.empty-preview{text-align:center;background:radial-gradient(#f4effb 0%,#fff 65%);flex-direction:column;justify-content:center;align-items:center;min-height:300px;display:flex}.preview-orbit{color:#9677c9;background:#faf7fe;border:1px solid #e9dffa;border-radius:24px;place-items:center;width:85px;height:85px;margin-bottom:21px;display:grid;transform:rotate(-4deg)}.empty-preview h3{font-size:14px;font-weight:600}.empty-preview p{color:#929bac;margin-top:8px;font-size:11px}.live-dot{letter-spacing:1px;color:#a0a7b4;font-size:8px}.job-row{text-align:left;background:#fff;border:1px solid #e4e8ef;gap:10px;width:100%;justify-content:space-between!important;padding:14px!important;display:flex!important}.job-row>span:nth-child(2){flex:1;min-width:0;font-size:11px}.job-row small{color:#8c94a3;overflow-wrap:anywhere;font-size:10px;display:block}.status{color:#6b7890;white-space:nowrap;background:#eef1f7;border-radius:6px;padding:5px 7px;font-size:9px}.status-complete{color:#23815a;background:#e8f7ef}.status-uncertain,.status-failed{color:#a35634;background:#fff0e8}.notice{color:#876c38;background:#fff9e8;padding:10px 25px;font-size:11px;line-height:1.6}.error-banner{color:#ab3d48;background:#fff0f0;justify-content:space-between;align-items:center;padding:14px 25px;font-size:12px;display:flex}.test-banner{color:#45638c;background:#e9f0fe;padding:9px 25px;font-size:11px}.toast{color:#fff;z-index:100;background:#23364a;border-radius:12px;max-width:440px;padding:16px 22px;font-size:12px;position:fixed;bottom:24px;right:24px;box-shadow:0 10px 40px #14233a26}.empty{color:#68758c;flex-direction:column;justify-content:center;align-items:center;gap:16px;margin:60px auto;padding:45px;display:flex}.empty h2{color:#2a3547;font-size:22px}.media{object-fit:contain;background:#f3f5f8;border-radius:10px;width:100%;max-height:480px}.asset-grid,.history-grid,.stats-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;display:grid}.asset-card{background:#fff;border:1px solid #e0e5ed;border-radius:14px;padding:14px}.asset-card h3{overflow-wrap:anywhere;margin:12px 0;font-size:11px}.asset-card a{color:#7048bf;font-size:12px}.history-card{text-align:left;background:#fff;border:1px solid #e0e5ed;flex-direction:column;align-items:flex-start!important;gap:12px!important;padding:18px!important;display:flex!important}.history-card b{font-size:12px}.history-card p{color:#808a9c;font-size:11px;line-height:1.6}.history-card small{color:#929aa9;font-size:9px}.modal{color:#233047;background:#fff;border:1px solid #e2e6ec;border-radius:18px;width:min(720px,90vw);max-height:85vh;margin:auto;padding:28px;font-size:13px;overflow:auto}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17203280}.modal pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fa;border-radius:10px;margin:15px 0;padding:14px;font-size:11px}.modal h3{margin:16px 0 9px;font-weight:600}.modal a{color:#6b42bd;margin:12px 0;display:block}.ai-panel{background:#f8f5ff;border:1px solid #e5daf5;border-radius:12px;gap:11px;padding:16px;display:grid}.batch-list{background:#f5f2fb;border-radius:10px;gap:6px;padding:12px;display:grid}.batch-list>div{justify-content:space-between;align-items:center;font-size:11px;display:flex}.scene{align-items:center;gap:6px;margin:8px 0;display:flex}.scene input[type=number]{width:65px}.scene input{width:100%;min-width:0}table{border-collapse:collapse;width:100%;margin-top:24px;font-size:11px}th,td{text-align:left;border-bottom:1px solid #e1e6ed;padding:12px 8px}td{overflow-wrap:anywhere}details{margin:10px 0}summary{cursor:pointer;font-size:12px}.stats-grid h2{margin-top:15px;font-size:28px}.stats-grid small{color:#8791a0}@media (max-width:1050px){.rail{width:175px;padding:22px 12px}.content{padding:25px}.generator-grid{grid-template-columns:1fr}.results-column{order:2}.topbar{padding:0 18px}.topbar>div:first-child{text-overflow:ellipsis;white-space:nowrap;max-width:40%;overflow:hidden}}@media (max-width:640px){.studio-shell{display:block}.rail{width:100%;height:auto;padding:14px;position:relative}.rail nav{margin-top:12px;display:flex;overflow:auto}.rail nav button{white-space:nowrap;padding:8px;font-size:11px}.brand{font-size:24px;display:block}.brand span,.workspace-label,.rail-bottom{display:none}.topbar{height:60px;padding:0 12px;font-size:10px}.top-actions{gap:1px}.queue-pill{display:none}.content{padding:20px 14px}.panel{padding:18px}.section-title h1{font-size:26px}.section-title{flex-wrap:wrap}.generator-grid{flex-direction:column;display:flex}.topbar button{padding:6px}.settings-grid{grid-template-columns:1fr 1fr}.notice{padding:9px 14px}table{display:block;overflow:auto}}.updates-button{position:relative}.unread-dot{background:#e34854;border:1px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;top:3px;right:3px}.hint{color:#71717a;font-size:12px;line-height:1.5}table{display:block;overflow:auto}label select{min-width:0}.job-settings{gap:8px;display:grid}.job-settings>div{border-bottom:1px solid #eee;justify-content:space-between;gap:16px;padding:6px 0;display:flex}.job-settings dt{color:#64748b}.job-settings dd{overflow-wrap:anywhere;margin:0}.status-cancelled{color:#475569;background:#e2e8f0}.model-availability{border:1px solid var(--border,#ddd);border-radius:12px;margin-bottom:16px;padding:12px 16px}.model-availability p{margin:4px 0;font-size:13px}.connection-item{border-top:1px solid var(--border,#ddd);padding:12px 0}.connection-item:first-of-type{margin-top:12px}.generator,.results-column,.input-block,.settings-grid>label{min-width:0}.ref-chips>span{gap:6px}.ref-chips>span>span{background:0 0;min-width:0;padding:0;display:block}.ref-thumbnail{object-fit:cover;border-radius:5px;flex-shrink:0;width:54px;height:54px}.scene{flex-wrap:wrap}.scene>input:not([type=number]){flex:180px}.scene>input[type=number]{flex:0 0 65px}.batch-list>div{flex-wrap:wrap;gap:8px}.batch-list details{flex-basis:100%;min-width:0}@media (max-width:640px){.toast{max-width:none;bottom:14px;left:14px;right:14px}.generate-bar{flex-wrap:wrap}.modal{padding:18px}.scene button{padding:7px}.ref-chips>span{width:100%}}.input-block{grid-template-columns:minmax(0,1fr)}.input-block>*,.generator>label{min-width:0;max-width:100%}.input-block>select{width:100%}.generator>label{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.generator>label>select{width:100%}.job-progress{color:#263e67;overflow-wrap:anywhere;background:#f0f5ff;border:1px solid #bac9ec;border-radius:12px;padding:18px}.job-progress p{margin:10px 0;font-size:13px;line-height:1.6}.job-progress small{font-size:10px}.job-progress.needs-check{color:#755019;background:#fff7e5;border-color:#e8c377}.progress-stages{flex-wrap:wrap;gap:8px;margin:12px 0;padding:0;font-size:10px;list-style:none;display:flex}.progress-stages li{color:#6c7585;background:#e7ebf2;border-radius:6px;padding:5px 8px}.progress-stages li.reached{color:#304c82;background:#d8e5ff}.progress-spinner{border:2px solid #cbd8f2;border-top-color:#6543bc;border-radius:50%;flex-shrink:0;width:18px;height:18px;animation:1s linear infinite queue-spin}@keyframes queue-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.progress-spinner{animation:none}}.result-preview{gap:10px;width:100%;margin:10px 0;display:grid}.result-preview img,.result-preview video{object-fit:contain;border-radius:12px;max-width:100%;max-height:280px;display:block}.result-preview audio{width:100%;max-width:100%}.result-preview pre{white-space:pre-wrap;max-height:180px;overflow:auto}.upload-progress{color:#25320b;background:#f7f9ed;border:1px solid #929c55;border-radius:12px;margin:16px 38px;padding:16px;font-size:12px}.upload-progress>.label-row{flex-wrap:wrap}.upload-progress-row{border-top:1px solid #929c5540;margin-top:10px;padding:10px 0}.upload-progress-row strong{overflow-wrap:anywhere;min-width:0}.upload-progress-row progress{accent-color:#899e00;width:100%;height:8px;margin-top:8px;display:block}.upload-progress-row p{margin:5px 0;line-height:1.5}.upload-progress-row[data-upload-state=failed]{color:#a12424}:root[data-creo-theme=dark] .upload-progress{color:#dbe5b7;background:#23291c}:root[data-creo-theme=dark] .upload-progress-row[data-upload-state=failed]{color:#ffb5b5}@media (max-width:700px){.upload-progress{margin:12px}}.input-block .upload-progress{min-width:0;margin:0;padding:12px}.input-block .upload-progress>.label-row{flex-direction:column;align-items:flex-start}.cost-panel{border:1px solid var(--border,#43483c);border-radius:14px;margin:18px 0;padding:14px;font-size:13px}.cost-panel p{margin:8px 0}.cost-panel details{margin-top:12px}.cost-panel summary{cursor:pointer}.result-decision{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.result-decision button[aria-pressed=true]{color:#d8f600;border-color:#d8f600}.economy-presets{border:1px solid var(--border,#43483c);border-radius:12px;margin:12px 0;padding:12px}.economy-presets p{margin:8px 0;font-size:12px}.studio-login{background:var(--background);min-height:100dvh;color:var(--foreground);place-items:center;padding:28px 18px;font-family:Arial,Helvetica,sans-serif;display:grid}.studio-login>section{border:1px solid var(--border);background:var(--card);border-radius:22px;width:min(420px,100%);padding:32px}.studio-login .brand{margin-bottom:34px;padding:0;display:block}.studio-login h1{letter-spacing:-1px;font-size:28px;font-weight:700}.studio-login p,.studio-login small{color:var(--muted-foreground);font-size:13px;line-height:1.6}.studio-login form{gap:18px;margin:28px 0 20px;display:grid}.studio-login label{gap:8px;font-size:13px;display:grid}.studio-login input{border:1px solid var(--border);background:var(--background);width:100%;min-width:0;color:var(--foreground);border-radius:10px;padding:12px}.studio-login input:focus-visible{outline-offset:2px;outline:2px solid #dfff00}.studio-login button{color:#171a00;cursor:pointer;background:#dfff00;border-radius:10px;padding:13px;font-weight:700}.studio-login button:disabled{opacity:.6;cursor:wait}.studio-login p[role=alert]{color:#e87581}.studio-login small{font-size:11px;display:block}:root[data-creo-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#151615;--foreground:#f2f3ed;--card:#1d1f1d;--card-foreground:#f2f3ed;--popover:#242724;--popover-foreground:#f2f3ed;--primary:#dfff00;--primary-foreground:#171a00;--secondary:#292c28;--muted:#242724;--muted-foreground:#a3aaa0;--accent:#dfff00;--accent-foreground:#171a00;--border:#363b33;--input:#363b33;--ring:#dfff00}:root[data-creo-theme=dark] body{background:var(--background);color:var(--foreground)}:root[data-creo-theme=dark] .studio-shell{color:#f2f3ed;background:#151615}:root[data-creo-theme=dark] :is(.rail,.topbar){background:#191b19;border-color:#30352e}:root[data-creo-theme=dark] :is(.panel,.asset-card,.history-card,.job-row,.modal){color:#f2f3ed;background:#1e211e;border-color:#363b33}:root[data-creo-theme=dark] :is(.studio-shell,.modal) :is(input,select,textarea){color:#f2f3ed;accent-color:#dfff00;background:#151815;border-color:#42483e}:root[data-creo-theme=dark] :is(.studio-shell,.modal) :is(input,textarea)::placeholder{color:#8d9689}:root[data-creo-theme=dark] :is(.studio-shell,.modal) :focus-visible{outline-color:#dfff00}:root[data-creo-theme=dark] :is(.studio-shell,.modal) button:hover{background:#30362b}:root[data-creo-theme=dark] .brand{color:#dfff00}:root[data-creo-theme=dark] :is(.brand span,.workspace-label,.eyebrow,.generator small,.rail-bottom small,.rail-bottom a,.panel p,.section-title p,.history-card p,.history-card small,.job-row small,.hint,.stats-grid small,.empty-preview p,.live-dot){color:#a6afa0}:root[data-creo-theme=dark] :is(.rail nav button,.generator label,.topbar,.job-settings dt,.empty){color:#b8c0b2}:root[data-creo-theme=dark] :is(.topbar b,.empty h2){color:#f2f3ed}:root[data-creo-theme=dark] .rail nav .nav-active{color:#dfff00;background:#dfff0018;box-shadow:inset 3px 0 #dfff00}:root[data-creo-theme=dark] :is(.avatar,.queue-pill,.ref-chips>span,.batch-list){color:#d9e5cb;background:#2a3024}:root[data-creo-theme=dark] :is(.rail-bottom,.generate-bar,.job-settings>div,th,td){border-color:#363b33}:root[data-creo-theme=dark] .generate-bar{background:#1e211e}:root[data-creo-theme=dark] .studio-shell .primary{color:#171a00;background:#dfff00}:root[data-creo-theme=dark] .studio-shell .primary:hover{background:#edff72}:root[data-creo-theme=dark] .studio-shell .primary:disabled{color:#e1e6c7;opacity:.65;background:#68702f}:root[data-creo-theme=dark] :is(.text-action,.asset-card a,.modal a,.upload-button){color:#dfff00!important}:root[data-creo-theme=dark] .dropzone{color:#b1bba9;background:#181c17;border-color:#4c5744}:root[data-creo-theme=dark] .dropzone:hover{background:#252d1d;border-color:#dfff00}:root[data-creo-theme=dark] .empty-preview{background:radial-gradient(#2d351b 0%,#1e211e 70%)}:root[data-creo-theme=dark] .preview-orbit{color:#dfff00;background:#252d1d;border-color:#53632a}:root[data-creo-theme=dark] :is(.media,.modal pre){background:#141714}:root[data-creo-theme=dark] .modal::backdrop{background:#0009}:root[data-creo-theme=dark] .ai-panel{background:#242b1c;border-color:#4b5738}:root[data-creo-theme=dark] .status{color:#c9d5c3;background:#323b30}:root[data-creo-theme=dark] .status-complete{color:#8ae2af;background:#163b2b}:root[data-creo-theme=dark] :is(.status-failed,.error-banner){color:#ffadb6;background:#412326}:root[data-creo-theme=dark] :is(.notice,.status-uncertain,.job-progress.needs-check){color:#f2d58a;background:#352d1c;border-color:#726035}:root[data-creo-theme=dark] :is(.job-progress,.test-banner){color:#b9dcde;background:#222f31;border-color:#3e6061}:root[data-creo-theme=dark] .progress-stages li{color:#a9bbb2;background:#293330}:root[data-creo-theme=dark] .progress-stages li.reached{color:#e3f3c6;background:#36432b}:root[data-creo-theme=dark] .progress-spinner{border-color:#dfff00 #526047 #526047}:root[data-creo-theme=dark] .toast{color:#171a00;background:#dfff00}:root[data-creo-theme=dark] .studio-shell :is(.bg-white,.bg-slate-50){background:#1e211e}:root[data-creo-theme=dark] .studio-shell .border-slate-200{border-color:#363b33}:root[data-creo-theme=dark] .studio-shell :is(.text-slate-900,.text-slate-950){color:#f2f3ed}:root[data-creo-theme=dark] .studio-shell :is(.text-slate-500,.text-slate-600){color:#a6afa0}:root[data-creo-theme=dark] .studio-shell .text-violet-700{color:#dfff00}:root[data-creo-theme=dark] .studio-shell button.bg-violet-700{color:#171a00;background:#dfff00}:root[data-creo-theme=dark] .studio-shell button.bg-violet-700:hover{background:#edff72}:root[data-creo-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fff;--foreground:#171717;--card:#fff;--card-foreground:#171717;--popover:#fff;--popover-foreground:#171717;--border:#e5e5e5;--input:#e5e5e5;--muted-foreground:#737373;--ring:#a1a1a1}@media (max-width:640px){.top-actions{flex-shrink:0}.topbar>div:first-child{min-width:0}}
