.studio-root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#202123;--scene:radial-gradient(50% 42% at 80% 6%, #ffffff2e, transparent 62%), radial-gradient(42% 34% at 78% 72%, #ffffff1f, transparent 68%), radial-gradient(58% 48% at 14% 8%, #ffffff0d, transparent 60%), linear-gradient(155deg, #2f3032 0%, #252628 48%, #1e1f21 100%);--panel:#ffffff21;--panel-2:#ffffff30;--panel-3:#ffffff40;--canvas-empty:#ffffff1f;--border:#ffffff24;--border-strong:#ffffff57;--text:#f4f4f5;--muted:#dedfe2;--accent:#fff;--accent-contrast:#151518;--accent-dim:#ffffff21;--danger:#f0907f;--rim:#ffffff3d;--glass-blur:blur(28px) saturate(135%);--radius:16px;--shadow:0 14px 44px #0000006b;--shadow-lg:0 26px 64px #0000008c;--sans:-apple-system, "SF Pro Display", "Inter", system-ui, "Segoe UI", sans-serif;--mono:var(--sans);--display:var(--sans)}.studio-root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f0f0f1;--scene:radial-gradient(52% 42% at 78% 4%, #fffffffa, transparent 62%), radial-gradient(44% 36% at 80% 72%, #00000014, transparent 68%), radial-gradient(56% 46% at 16% 6%, #ffffffb8, transparent 62%), linear-gradient(155deg, #f7f7f8 0%, #ececee 48%, #e6e6e8 100%);--panel:#ffffffa8;--panel-2:#ffffffc7;--panel-3:#ffffffe0;--canvas-empty:#ffffff8a;--border:#1414191f;--border-strong:#1414194d;--text:#18181b;--muted:#5b5b60;--accent:#1a1a1e;--accent-contrast:#fafafa;--accent-dim:#14141912;--danger:#c0392b;--rim:#ffffffd9;--shadow:0 14px 40px #28283229;--shadow-lg:0 26px 56px #28283233}.studio-root *{box-sizing:border-box;margin:0;padding:0}.studio-root :focus-visible{outline-offset:2px;outline:2px solid var(--accent)!important}.studio-root,.studio-root{height:100%}.studio-root{background:var(--bg);background-image:var(--scene);color:var(--text);font-family:var(--mono);-webkit-font-smoothing:antialiased;background-attachment:fixed;flex-direction:column;min-height:100vh;padding-left:76px;font-size:14px;transition:padding-left .18s;display:flex}.studio-root ::-webkit-scrollbar{width:9px;height:9px}.studio-root ::-webkit-scrollbar-track{background:0 0}.studio-root ::-webkit-scrollbar-thumb{background:var(--border);border-radius:8px}.studio-root ::-webkit-scrollbar-thumb:hover{background:#03363d52}.studio-root .side-rail{z-index:70;background:var(--panel);width:56px;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border:1px solid var(--rim);box-shadow:var(--shadow), inset 0 1px 0 var(--rim);border-radius:20px;flex-direction:column;align-items:center;gap:10px;padding:8px 6px;transition:width .18s,align-items .18s,padding .18s;display:flex;position:fixed;top:12px;bottom:12px;left:12px}.studio-root .rail-mark{width:42px;height:42px;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);cursor:pointer;background:url(/logo-light.png) 50%/contain no-repeat;border:none;border-radius:14px;flex:none;place-items:center;margin-bottom:4px;padding:0;display:grid;box-shadow:0 10px 24px #0003}.studio-root .rail-mark:hover{transform:translateY(-1px)}.studio-root[data-theme=light] .rail-mark{background-image:url(/logo-dark.png)}.studio-root .rail-switcher{width:100%;position:relative}.studio-root .rail-switcher-menu{z-index:320;background:var(--panel);border:1px solid var(--border-strong);min-width:220px;box-shadow:var(--shadow-lg);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border-radius:14px;padding:6px;position:absolute;bottom:calc(100% + 8px);left:0}.studio-root .rail-switcher-head{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:8px 10px 6px;font-size:11px}.studio-root .rail-switcher-item{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;font-size:13px;display:flex}.studio-root .rail-switcher-item:hover:not(:disabled){background:var(--accent-dim)}.studio-root .rail-switcher-item.on{background:var(--accent);color:var(--accent-contrast);font-weight:600}.studio-root .rail-switcher-item:disabled{opacity:.6;cursor:default}.studio-root .rail-switcher-tag{opacity:.75;font-size:11px}.studio-root .rail-nav{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.studio-root .rail-group{flex-direction:column;align-items:center;width:100%;display:flex}.studio-root .rail-group+.rail-group{margin-top:5px}.studio-root .rail-group-label{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;padding:10px 12px 5px;font-size:10px;font-weight:650;display:none}.studio-root .rail-group-items{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.studio-root .rail-spacer{flex:1}.studio-root .rail-footer{flex-direction:column;align-items:flex-start;gap:8px;width:100%;display:flex}.studio-root .rail-btn{border-radius:14px;justify-content:center;width:42px;height:42px;padding:0;transition:width .18s,padding .18s,justify-content .18s,background-color .15s,border-color .15s,color .15s;position:relative}.studio-root .rail-btn svg{flex:none;width:17px;height:17px}.studio-root .rail-btn .rail-label{opacity:0;pointer-events:none;white-space:nowrap;color:#fff;box-shadow:var(--shadow);background:#0a0a0ce0;border:1px solid #ffffff24;border-radius:10px;padding:7px 10px;font-size:12px;transition:opacity .15s,transform .15s;position:absolute;top:50%;left:calc(100% + 10px);transform:translateY(-50%)translate(-4px)}.studio-root[data-theme=light] .rail-btn .rail-label{color:var(--text);border-color:var(--border);background:#ffffffeb}.studio-root .rail-btn:hover .rail-label,.studio-root .rail-btn:focus-visible .rail-label{opacity:1;transform:translateY(-50%)}.studio-root.rail-expanded{padding-left:228px}.studio-root.rail-expanded .side-rail{align-items:stretch;width:208px;padding:8px}.studio-root.rail-expanded .rail-mark{align-self:flex-start;width:42px}.studio-root.rail-expanded .rail-nav,.studio-root.rail-expanded .rail-footer,.studio-root.rail-expanded .rail-group{align-items:stretch}.studio-root.rail-expanded .rail-group-label{display:block}.studio-root.rail-expanded .rail-group-items{align-items:stretch}.studio-root.rail-expanded .rail-btn{justify-content:flex-start;width:100%;padding:0 12px}.studio-root.rail-expanded .rail-btn .rail-label{opacity:1;pointer-events:auto;color:inherit;box-shadow:none;background:0 0;border:none;padding:0;font-size:13px;position:static;transform:none}.studio-root.rail-expanded .rail-btn:hover .rail-label,.studio-root.rail-expanded .rail-btn:focus-visible .rail-label{transform:none}.studio-root header{border:1px solid var(--rim);z-index:40;border-radius:20px;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:12px;min-height:64px;margin:12px 12px 0;padding:12px 18px;display:flex;position:sticky;top:12px}.studio-root .creation-header{justify-content:flex-start}.studio-root .creation-title{font-family:var(--display);letter-spacing:-.025em;white-space:nowrap;margin:0;font-size:22px;font-weight:500}.studio-root .creation-actions{justify-content:flex-end;align-items:center;gap:12px;min-width:0;margin-left:auto;display:flex}.studio-root .brand{align-items:center;gap:12px;margin-right:auto;display:flex}.studio-root .logo{background:var(--accent);border-radius:12px;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 8px 20px #03363d38}.studio-root .logo svg{width:22px;height:22px}.studio-root .brand h1{font-family:var(--display);letter-spacing:0;font-size:28px;font-weight:400;line-height:1}.studio-root .brand span{letter-spacing:.32em;color:var(--muted);text-transform:uppercase;margin-top:3px;font-size:10px;display:block}.studio-root .api-field{background:var(--panel-2);border:1px solid var(--border);border-radius:10px;align-items:center;gap:8px;min-width:280px;height:42px;padding:0 12px;display:flex}.studio-root .api-field svg{width:15px;height:15px;color:var(--muted);flex:none}.studio-root .api-field input{color:var(--text);font-family:var(--mono);background:0 0;border:none;outline:none;width:240px;font-size:13px}.studio-root .api-field input::placeholder{color:var(--muted)}.studio-root .rail-footer .api-field{border-radius:14px;justify-content:center;align-self:flex-start;width:42px;min-width:42px;height:42px;padding:0;transition:width .18s,background-color .15s,border-color .15s,padding .18s;position:relative;overflow:visible}.studio-root .rail-footer .api-field:hover,.studio-root .rail-footer .api-field:focus-within{width:260px;box-shadow:var(--shadow);background:#0a0a0ce0;justify-content:flex-start;padding:0 12px}.studio-root[data-theme=light] .rail-footer .api-field:hover,.studio-root[data-theme=light] .rail-footer .api-field:focus-within{background:#ffffffeb}.studio-root .rail-footer .api-field input{opacity:0;width:0;min-width:0;transition:width .18s,opacity .12s}.studio-root .rail-footer .api-field:hover input,.studio-root .rail-footer .api-field:focus-within input{opacity:1;width:190px}.studio-root.rail-expanded .rail-footer .api-field{background:var(--panel-2);justify-content:flex-start;width:100%;padding:0 12px}.studio-root.rail-expanded .rail-footer .api-field input{opacity:1;width:132px}.studio-root.rail-expanded .rail-footer .api-field:hover,.studio-root.rail-expanded .rail-footer .api-field:focus-within{background:var(--panel-3);width:100%;padding:0 12px}.studio-root.rail-expanded .rail-footer .api-field:hover input,.studio-root.rail-expanded .rail-footer .api-field:focus-within input{width:132px}.studio-root button{font-family:var(--mono);cursor:pointer;touch-action:manipulation;border:none;border-radius:10px;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s,transform .15s,opacity .15s}.studio-root .btn{height:42px;font-size:13px;font-weight:500;font-family:var(--mono);background:var(--panel-2);color:var(--text);border:1px solid var(--border);border-radius:10px;align-items:center;gap:8px;padding:0 18px;text-decoration:none;display:inline-flex}.studio-root .btn:hover{border-color:var(--border-strong);background:#bdd9d714}.studio-root .btn.primary{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent);font-weight:600}.studio-root .btn.primary:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.studio-root .btn.ghost-danger:hover{border-color:var(--danger);color:var(--danger)}.studio-root .btn svg{width:15px;height:15px}.studio-root main{flex:1;padding:30px 40px 96px;overflow-x:hidden}.studio-root .slots{grid-template-columns:repeat(var(--cols,5), minmax(0, 1fr));gap:22px;display:grid}.studio-root .slot-off{display:none!important}.studio-root .slot{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;transition:box-shadow .2s,transform .2s;display:flex;overflow:hidden}.studio-root .slot:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.studio-root .slot-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.studio-root .slot-title{font-family:var(--display);letter-spacing:0;font-size:17px;font-weight:400}.studio-root .badge{letter-spacing:.04em;background:var(--panel-2);color:var(--muted);border:1px solid var(--border);text-transform:uppercase;border-radius:20px;padding:4px 9px;font-size:11px;font-weight:500}.studio-root .badge.gen{color:var(--accent);border-color:var(--border-strong);background:var(--accent-dim);align-items:center;gap:6px;display:inline-flex}.studio-root .badge.ver{color:var(--accent-contrast);background:var(--accent);border-color:var(--accent)}.studio-root .canvas{aspect-ratio:1;border-bottom:1px solid var(--border);background:linear-gradient(135deg,#063b44,#0a4953);max-height:60vh;position:relative;overflow:hidden}.studio-root .canvas img.result{object-fit:contain;width:100%;height:100%;display:none}.studio-root .canvas.has-image img.result{display:block}.studio-root .placeholder{color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:20px;display:flex;position:absolute;inset:0}.studio-root .placeholder svg{opacity:.55;width:40px;height:40px}.studio-root .placeholder span{letter-spacing:.05em;font-size:11px}.studio-root .canvas.has-image .placeholder{display:none}.studio-root .expand-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);cursor:zoom-in;color:#eaf3f1;background:#03363d7a;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:none;position:absolute;inset:0}.studio-root .canvas.has-image:hover .expand-overlay{display:flex}.studio-root .expand-overlay svg{width:30px;height:30px}.studio-root .expand-overlay span{letter-spacing:.08em;text-transform:uppercase;font-size:11px}.studio-root .spinner-wrap{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:5;background:#03363dc7;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:none;position:absolute;inset:0}.studio-root .canvas.loading .spinner-wrap{display:flex}.studio-root .canvas.loading .expand-overlay{display:none!important}.studio-root .spinner{border:3px solid #03363d26;border-top-color:var(--accent);border-radius:50%;width:38px;height:38px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.studio-root .spinner-wrap span{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:11px}.studio-root .slot-body{flex-direction:column;gap:12px;padding:12px 14px;display:flex}.studio-root .slot-head{gap:8px}.studio-root .slot-compact-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;place-items:center;margin-left:auto;padding:2px;display:grid}.studio-root .slot-compact-btn svg{width:16px;height:16px;transition:transform .2s}.studio-root .slot-compact-btn:hover{color:var(--accent)}.studio-root .slot.compact .slot-compact-btn svg{transform:rotate(180deg)}.studio-root .slot.compact .slot-ctrl,.studio-root .slot.compact .refs,.studio-root .slot.compact .history{display:none}.studio-root #compactAll.active{border-color:var(--accent);color:var(--accent)}.studio-root .proj-select{cursor:pointer;background:var(--panel-2);border:1px solid var(--border);width:100%;color:var(--text);border-radius:9px;padding:9px 12px;font-family:inherit;font-size:12px}.studio-root .proj-select:focus{border-color:var(--accent);outline:none}.studio-root .bg-toggle{background:var(--panel-2);border:1px solid var(--border-strong);width:100%;color:var(--text);cursor:pointer;text-align:left;border-radius:9px;align-items:center;gap:9px;padding:9px 12px;font-family:inherit;font-size:12px;display:flex}.studio-root .bg-toggle small{color:var(--muted);margin-left:auto;font-size:10px}.studio-root .bg-toggle .bg-check{border:1.5px solid var(--border-strong);border-radius:5px;flex-shrink:0;place-items:center;width:16px;height:16px;display:grid}.studio-root .bg-toggle[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.studio-root .bg-toggle[aria-pressed=true] .bg-check{background:var(--accent);border-color:var(--accent)}.studio-root .bg-toggle[aria-pressed=true] .bg-check:after{content:"✓";color:var(--accent-contrast);font-size:11px;font-weight:700;line-height:1}.studio-root .canvas.checker{background-color:#f0f0f0;background-image:linear-gradient(45deg,#c9c9c9 25%,#0000 25% 75%,#c9c9c9 75%),linear-gradient(45deg,#c9c9c9 25%,#0000 25% 75%,#c9c9c9 75%);background-position:0 0,9px 9px;background-size:18px 18px}.studio-root .cost-stat{color:var(--muted);font-family:inherit;font-size:inherit;cursor:pointer;background:0 0;border:none;align-items:center;gap:5px;display:inline-flex}.studio-root .cost-stat:hover{color:var(--accent)}.studio-root .cost-stat b{color:var(--text);font-variant-numeric:tabular-nums}.studio-root .costs-body{overscroll-behavior:contain;flex-direction:column;flex:1;gap:18px;width:100%;max-width:720px;margin:0 auto;padding:26px;display:flex;overflow-y:auto}.studio-root .cost-totals{grid-template-columns:1fr 1fr;gap:14px;display:grid}.studio-root .cost-total-card{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:18px 20px}.studio-root .cost-total-card .lbl{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:11px}.studio-root .cost-total-card .val{font-family:var(--display);font-variant-numeric:tabular-nums;margin-top:6px;font-size:30px;font-weight:400}.studio-root .cost-card{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:18px 20px}.studio-root .cost-card h3{font-family:var(--display);margin-bottom:12px;font-size:18px;font-weight:400}.studio-root .cost-table{border-collapse:collapse;width:100%}.studio-root .cost-table th,.studio-root .cost-table td{text-align:left;border-bottom:1px solid var(--border);padding:9px 10px;font-size:13px}.studio-root .cost-table th{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:600}.studio-root .cost-table td.num,.studio-root .cost-table th.num{text-align:right;font-variant-numeric:tabular-nums}.studio-root .cost-note{color:var(--muted);font-size:12px;line-height:1.55}.studio-root .cost-empty{color:var(--muted);text-align:center;padding:20px 0;font-size:13px}.studio-root .field-label{letter-spacing:.16em;text-transform:uppercase;color:var(--muted);align-items:center;gap:7px;font-size:10px;display:flex}.studio-root .field-label .pill{color:var(--accent);background:var(--accent-dim);border:1px solid var(--border-strong);letter-spacing:.08em;border-radius:20px;padding:2px 6px;font-size:9px}.studio-root .refs{flex-direction:column;gap:8px;display:flex}.studio-root .ref-paste-hint{color:var(--muted);letter-spacing:0;text-transform:none;font-size:9px;font-weight:500}.studio-root .ref-thumbs{border-radius:10px;outline:none;flex-wrap:wrap;gap:7px;min-height:46px;padding:2px;transition:background-color .15s,box-shadow .15s;display:flex}.studio-root .ref-thumbs:focus-visible,.studio-root .ref-thumbs.drag{background:var(--accent-dim);box-shadow:inset 0 0 0 1px var(--accent)}.studio-root .ref-thumb{border:1px solid var(--border);border-radius:8px;width:46px;height:46px;position:relative;overflow:hidden}.studio-root .ref-thumb img{object-fit:cover;width:100%;height:100%}.studio-root .ref-thumb button{color:#fff;border:1px solid var(--border);background:#03363dc7;border-radius:5px;place-items:center;width:16px;height:16px;font-size:11px;line-height:1;display:grid;position:absolute;top:2px;right:2px}.studio-root .ref-thumb button:hover{background:var(--danger);border-color:var(--danger)}.studio-root .add-ref{border:1px dashed var(--border);background:var(--panel-2);width:46px;height:46px;color:var(--muted);border-radius:8px;place-items:center;display:grid}.studio-root .add-ref:hover{border-color:var(--accent);color:var(--accent)}.studio-root .add-ref svg{width:18px;height:18px}.studio-root textarea{resize:vertical;background:var(--panel-2);border:1px solid var(--border);width:100%;min-height:76px;color:var(--text);font-family:var(--mono);border-radius:10px;outline:none;padding:10px 11px;font-size:13px;line-height:1.5}.studio-root textarea:focus{border-color:var(--accent)}.studio-root textarea::placeholder{color:var(--muted)}.studio-root .size-row{gap:6px;display:flex}.studio-root .size-opt{background:var(--panel-2);border:1px solid var(--border);height:38px;color:var(--muted);border-radius:9px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:1px;font-size:11px;line-height:1;display:flex}.studio-root .size-opt small{opacity:.7;font-size:8px}.studio-root .size-opt.active{border-color:var(--accent);color:var(--accent);background:var(--accent-dim)}.studio-root .custom-size{align-items:center;gap:6px;margin-top:6px;display:flex}.studio-root .custom-size input{background:var(--panel-2);border:1px solid var(--border);min-width:0;height:34px;color:var(--text);font-family:var(--mono);text-align:center;border-radius:8px;outline:none;flex:1;padding:0 8px;font-size:12px}.studio-root .custom-size input:focus{border-color:var(--accent)}.studio-root .custom-size span{color:var(--muted);font-size:12px}.studio-root .custom-size .px{letter-spacing:.04em;font-size:10px}.studio-root .actions{flex-wrap:wrap;gap:8px;display:flex}.studio-root .actions .btn{flex:1;justify-content:center;min-width:0;height:40px;padding:0 12px}.studio-root .btn.gen-btn{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent);font-weight:600}.studio-root .btn.gen-btn:hover:not(:disabled){box-shadow:var(--shadow);transform:translateY(-1px)}.studio-root .btn.gen-btn.cancel{color:var(--danger);border-color:var(--danger);background:0 0}.studio-root .btn.gen-btn.cancel:hover:not(:disabled){box-shadow:none;background:#ef8a781f}.studio-root .btn:disabled{opacity:.45;cursor:not-allowed}.studio-root .slot-animate{border-top:1px solid var(--border);background:var(--panel-2)}.studio-root .slot-animate-toggle{width:100%;min-height:46px;color:var(--text);font:600 12px var(--sans);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:0 14px;display:flex}.studio-root .slot-animate-toggle>span{color:var(--accent);font-size:14px;transition:transform .18s}.studio-root .slot-animate.open .slot-animate-toggle>span{transform:rotate(90deg)}.studio-root .slot-animate-toggle small{color:var(--accent);margin-left:auto;font-size:10px;font-weight:500}.studio-root .slot-animate-body{flex-direction:column;gap:11px;padding:0 14px 14px;display:flex}.studio-root .slot-animate-field{flex-direction:column;gap:6px;min-width:0;display:flex}.studio-root .slot-animate-field textarea{min-height:66px;font-family:var(--sans)}.studio-root .slot-animate-field select{border:1px solid var(--border);background:var(--panel);width:100%;min-height:38px;color:var(--text);font:12px var(--sans);cursor:pointer;border-radius:9px;padding:0 10px}.studio-root .slot-animate-options{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.studio-root .slot-animate-duration{flex-direction:column;gap:6px;min-height:38px;display:flex}.studio-root .slot-animate-duration-options{gap:5px;min-height:38px;display:flex}.studio-root .slot-animate-duration-options button{border:1px solid var(--border);background:var(--panel);min-width:38px;min-height:38px;color:var(--muted);font:600 12px var(--mono);cursor:pointer;border-radius:9px;padding:0 8px}.studio-root .slot-animate-duration-options button:hover:not(:disabled){border-color:var(--accent);color:var(--text)}.studio-root .slot-animate-duration-options button.selected{border-color:var(--accent);background:var(--accent);color:var(--accent-contrast)}.studio-root .slot-animate-actions{align-items:center;gap:9px;display:flex}.studio-root .slot-animate-actions .btn{justify-content:center;min-width:106px;margin-left:auto}.studio-root .slot-animate-cost{color:var(--muted);font-size:11px;line-height:1.35}.studio-root .slot-animate-status{color:var(--muted);flex-direction:column;gap:7px;font-size:11px;line-height:1.4;display:flex}.studio-root .slot-animate-progress{background:var(--border);border-radius:999px;height:5px;overflow:hidden}.studio-root .slot-animate-progress span{background:var(--accent);height:100%;transition:width .2s;display:block}.studio-root .slot-animate-result{flex-direction:column;gap:8px;display:flex}.studio-root .slot-animate-result video{background:#050506;border-radius:9px;width:100%;max-height:280px}.studio-root .slot-animate-result .btn{justify-content:center}.studio-root .slot-animate-history{flex-direction:column;gap:6px;display:flex}.studio-root .slot-animate-history-title{color:var(--muted);letter-spacing:.13em;text-transform:uppercase;font-size:10px}.studio-root .slot-animate-history-item{border:1px solid var(--border);background:var(--panel);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:6px;display:grid}.studio-root .slot-animate-history-item.current{border-color:var(--accent)}.studio-root .slot-animate-history-item>button{border:1px solid var(--border);color:var(--muted);font:11px var(--sans);cursor:pointer;background:0 0;border-radius:6px;padding:5px 7px}.studio-root .slot-animate-history-item>button:hover:not(:disabled){color:var(--text);border-color:var(--accent)}.studio-root .slot-animate-history-item>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);font-size:11px;overflow:hidden}.studio-root .slot-animate-history-item .slot-animate-video-download{color:var(--text);padding:5px}.studio-root .studio-loading{max-width:1180px;color:var(--muted);margin:20px auto;padding:24px;font-size:13px}@media (max-width:420px){.studio-root .slot-animate-options{grid-template-columns:1fr}.studio-root .slot-animate-duration{grid-template-columns:1fr auto;align-items:center;display:grid}.studio-root .slot-animate-duration .field-label{justify-content:flex-end}.studio-root .slot-animate-actions{align-items:flex-end}}.studio-root .history{border-top:1px solid var(--border);padding:12px 14px;display:none}.studio-root .history.show{display:block}.studio-root .history-title{letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:10px;font-size:10px}.studio-root .history-items{flex-direction:column;gap:9px;max-height:230px;display:flex;overflow-y:auto}.studio-root .hist-item{background:var(--panel-2);border:1px solid var(--border);border-radius:9px;align-items:flex-start;gap:10px;padding:7px;display:flex}.studio-root .hist-item.current{border-color:var(--accent);background:var(--accent-dim)}.studio-root .hist-preview{cursor:pointer;background:0 0;border:0;flex:none;padding:0;line-height:0}.studio-root .hist-item img{object-fit:cover;cursor:zoom-in;border:1px solid var(--border);border-radius:7px;flex:none;width:44px;height:44px}.studio-root .hist-meta{min-width:0}.studio-root .hist-ver{color:var(--accent);font-size:10px;font-weight:500}.studio-root .hist-prompt{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:2px;font-size:11px;line-height:1.4;display:-webkit-box;overflow:hidden}.studio-root .hist-download{border:1px solid var(--border);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:7px;flex:none;align-self:center;place-items:center;margin-left:auto;display:grid}.studio-root .hist-download:hover{color:var(--text);border-color:var(--accent)}.studio-root .hist-download svg{width:15px;height:15px}.studio-root .session-footer{border:1px solid var(--rim);background:color-mix(in srgb, var(--panel) 86%, transparent);min-height:52px;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:var(--shadow), inset 0 1px 0 var(--rim);z-index:30;border-radius:16px;align-items:center;gap:18px;padding:9px 16px;display:flex;position:fixed;bottom:12px;left:80px;right:12px}.studio-root.rail-expanded .session-footer{left:232px}.studio-root .session-status{color:var(--text);align-items:center;gap:9px;font-size:12px;font-weight:600;display:flex}.studio-root .stat{color:var(--muted);align-items:center;gap:9px;font-size:12px;display:flex}.studio-root .stat b{color:var(--text);font-weight:500}.studio-root .dot{background:var(--muted);border-radius:50%;flex:none;width:7px;height:7px}.studio-root .dot.is-live{background:var(--accent);box-shadow:0 0 10px var(--accent);animation:1.2s ease-in-out infinite status-pulse}@keyframes status-pulse{50%{opacity:.45;transform:scale(.82)}}.studio-root .session-meta{color:var(--muted);letter-spacing:.04em;margin-left:auto;font-size:11px}.studio-root .toasts{z-index:440;flex-direction:column;gap:10px;max-width:340px;display:flex;position:fixed;bottom:70px;right:22px}.studio-root .toast{border:1px solid #ffffff38;border-left:3px solid var(--accent);box-shadow:var(--shadow-lg);background:#292a2d;border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;animation:.25s toastIn;display:flex}.studio-root[data-theme=light] .toast{background:#fff;border-color:#14141929}.studio-root .toast.error{border-left-color:var(--danger)}.studio-root .toast svg{flex:none;width:17px;height:17px;margin-top:1px}.studio-root .toast.ok svg{color:var(--accent)}.studio-root .toast.error svg{color:var(--danger)}.studio-root .toast .t-body{min-width:0}.studio-root .toast .t-title{color:var(--text);font-size:12px;font-weight:500}.studio-root .toast .t-msg{color:var(--muted);word-break:break-word;margin-top:2px;font-size:11px}@keyframes toastIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:none}}.studio-root .toast.out{animation:.25s forwards toastOut}@keyframes toastOut{to{opacity:0;transform:translate(20px)}}.studio-root .lightbox{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:140;background:#02282ee0;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:40px;display:none;position:fixed;inset:0}.studio-root .lightbox.show{display:flex}.studio-root .lightbox img,.studio-root .lightbox .lb-video{max-width:90vw;max-height:78vh;box-shadow:var(--shadow-lg);object-fit:contain;border-radius:12px}.studio-root .lb-actions{gap:12px;display:flex}.studio-root .lb-close{background:var(--panel);border:1px solid var(--border);width:42px;height:42px;color:var(--text);border-radius:11px;place-items:center;display:grid;position:absolute;top:22px;right:26px}.studio-root .lb-close:hover{border-color:var(--danger);color:var(--danger)}.studio-root .lb-close svg{width:18px;height:18px}.studio-root .tool-page{min-height:100dvh;padding:0;display:flex}.studio-root .tool-page>.gallery,.studio-root .tool-page>.video-studio,.studio-root .tool-page>.copy-studio{z-index:1;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;width:100%;height:auto;min-height:100dvh;position:relative;inset:auto}.studio-root .tool-page>.gallery .gallery-head{background:color-mix(in srgb, var(--panel) 74%, transparent);min-height:64px;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border:1px solid var(--rim);box-shadow:inset 0 1px 0 var(--rim);z-index:40;border-radius:20px;margin:12px 12px 0;padding:12px 18px;position:sticky;top:12px}.studio-root .tool-page>.gallery .gallery-head>h2{letter-spacing:-.025em;font-size:22px;font-weight:500}.studio-root .tool-page>.gallery .gallery-head>.count{color:var(--muted);padding-left:2px}.studio-root .tool-page>#gallery .gallery-filters{background:color-mix(in srgb, var(--panel) 70%, transparent);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border:1px solid var(--rim);box-shadow:inset 0 1px 0 var(--rim);border-radius:16px;margin:10px 12px 0;padding:10px 14px}.studio-root .tool-page>#gallery .gallery-grid{padding:18px 12px 28px}.studio-root .rail-btn.active{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.studio-root .copy-studio{width:100%;min-height:100dvh}.studio-root .copy-skill-chip,.studio-root .copy-master-badge{color:var(--muted);border:1px solid var(--border);background:var(--panel-2);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:7px 10px;font-size:12px;display:inline-flex}.studio-root .copy-skill-chip svg{width:14px;height:14px;color:var(--accent)}.studio-root .copy-master-badge{text-transform:uppercase;letter-spacing:.08em;font-size:10px}.studio-root .copy-workspace{grid-template-columns:250px minmax(0,1fr);align-items:start;gap:12px;padding:12px;display:grid}.studio-root .copy-offers-panel,.studio-root .copy-form-card,.studio-root .copy-result,.studio-root .copy-empty{background:color-mix(in srgb, var(--panel) 74%, transparent);border:1px solid var(--rim);box-shadow:inset 0 1px 0 var(--rim);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.studio-root .copy-offers-panel{border-radius:16px;position:sticky;top:88px;overflow:hidden}.studio-root .copy-panel-head{border-bottom:1px solid var(--border);color:var(--muted);text-transform:uppercase;letter-spacing:.09em;justify-content:space-between;align-items:center;padding:12px 12px 10px;font-size:12px;display:flex}.studio-root .copy-icon-btn{border-radius:9px;justify-content:center;width:32px;height:32px;padding:0}.studio-root .copy-icon-btn svg{width:15px;height:15px}.studio-root .copy-offers-list{flex-direction:column;gap:4px;padding:6px;display:flex}.studio-root .copy-offer-row{border:1px solid #0000;border-radius:10px;align-items:center;gap:3px;display:flex}.studio-root .copy-offer{text-align:left;min-width:0;color:var(--text);background:0 0;border:0;border-radius:9px;flex-direction:column;flex:1;gap:4px;padding:10px;display:flex}.studio-root .copy-offer-row:hover{background:var(--accent-dim)}.studio-root .copy-offer-row.active{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.studio-root .copy-offer-row.active .copy-offer,.studio-root .copy-offer-row.active .copy-offer-delete{color:var(--accent-contrast)}.studio-root .copy-offer span{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.studio-root .copy-offer small{color:var(--muted);font-size:11px}.studio-root .copy-offer-row.active small{color:inherit;opacity:.72}.studio-root .copy-offer-delete{width:30px;height:30px;color:var(--muted);opacity:0;background:0 0;border:0;border-radius:8px;flex:0 0 30px;place-items:center;margin-right:5px;padding:0;display:grid}.studio-root .copy-offer-delete:hover{color:var(--danger);background:color-mix(in srgb, var(--danger) 12%, transparent)}.studio-root .copy-offer-row:hover .copy-offer-delete,.studio-root .copy-offer-row.active .copy-offer-delete,.studio-root .copy-offer-delete:focus-visible{opacity:1}.studio-root .copy-offer-delete svg{width:14px;height:14px}.studio-root .copy-main{flex-direction:column;gap:12px;min-width:0;display:flex}.studio-root .copy-form-card{border-radius:16px;padding:18px}.studio-root .copy-form-title{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;display:flex}.studio-root .copy-form-title h2,.studio-root .copy-results-head h2{font-family:var(--display);letter-spacing:-.02em;font-size:20px;font-weight:500}.studio-root .copy-form-title p,.studio-root .copy-results-head span{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.45}.studio-root .copy-fields{gap:12px;padding-top:16px;display:grid}.studio-root .copy-fields label{color:var(--muted);gap:7px;font-size:12px;display:grid}.studio-root .copy-fields input,.studio-root .copy-fields textarea{border:1px solid var(--border);width:100%;color:var(--text);background:var(--panel-2);font:inherit;resize:vertical;border-radius:10px;outline:none;padding:10px 12px;font-size:13px;line-height:1.45}.studio-root .copy-fields input{height:42px}.studio-root .copy-fields textarea:focus,.studio-root .copy-fields input:focus{border-color:var(--border-strong);background:var(--panel-3)}.studio-root .copy-fields textarea::placeholder,.studio-root .copy-fields input::placeholder{color:var(--muted);opacity:.85}.studio-root .copy-form-footer{justify-content:space-between;align-items:flex-end;gap:14px;margin-top:16px;display:flex}.studio-root .copy-models{flex-wrap:wrap;gap:8px;display:flex}.studio-root .copy-model{text-align:left;min-width:156px;color:var(--text);background:var(--panel-2);border:1px solid var(--border);border-radius:10px;gap:3px;padding:9px 11px;display:grid}.studio-root .copy-model strong{font-size:12px;font-weight:600}.studio-root .copy-model span{color:var(--muted);font-size:11px}.studio-root .copy-model:hover{border-color:var(--border-strong)}.studio-root .copy-model.active{border-color:var(--accent);background:var(--accent);color:var(--accent-contrast)}.studio-root .copy-model.active span{color:inherit;opacity:.72}.studio-root .copy-form-footer .btn.primary{justify-content:center;min-width:146px}.studio-root .copy-form-footer .btn:disabled{opacity:.65;cursor:wait;box-shadow:none;transform:none}.studio-root .copy-results{flex-direction:column;gap:12px;padding-bottom:26px;display:flex}.studio-root .copy-results-head{justify-content:space-between;align-items:flex-end;padding:6px 4px 0;display:flex}.studio-root .copy-result{border-radius:16px;overflow:hidden}.studio-root .copy-result-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.studio-root .copy-result-head>div{gap:3px;display:grid}.studio-root .copy-result-head strong{font-size:13px}.studio-root .copy-result-head span,.studio-root .copy-result footer{color:var(--muted);font-size:11px}.studio-root .copy-result-head .btn{height:36px;padding:0 12px}.studio-root .copy-result-brief{color:var(--muted);white-space:pre-wrap;padding:12px 14px 0;font-size:12px;line-height:1.45}.studio-root .copy-result pre{white-space:pre-wrap;color:var(--text);font:13px/1.6 var(--sans);padding:14px;overflow-x:auto}.studio-root .copy-result footer{border-top:1px solid var(--border);padding:10px 14px}.studio-root .copy-empty{color:var(--muted);border-radius:12px;margin:6px;padding:18px;font-size:12px;line-height:1.55}.studio-root .copy-empty-large{text-align:center;place-items:center;min-height:140px;margin:0;display:grid}.studio-root .copy-chat-card{background:color-mix(in srgb, var(--panel) 74%, transparent);border:1px solid var(--rim);min-height:min(760px,100dvh - 102px);box-shadow:inset 0 1px 0 var(--rim);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border-radius:18px;flex-direction:column;display:flex;overflow:hidden}.studio-root .copy-chat-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.studio-root .copy-chat-head>div{gap:3px;display:grid}.studio-root .copy-chat-head span:not(.copy-master-badge){color:var(--muted);letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:650}.studio-root .copy-chat-head h2{font:500 20px/1.1 var(--display);letter-spacing:-.02em}.studio-root .copy-context{border:1px solid var(--border);background:var(--panel-2);border-radius:12px;margin:12px 14px 0;overflow:hidden}.studio-root .copy-context summary{cursor:pointer;color:var(--text);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:12px;font-weight:600;list-style:none;display:flex}.studio-root .copy-context summary::-webkit-details-marker{display:none}.studio-root .copy-context summary:after{content:"+";color:var(--muted);font-size:16px;font-weight:400}.studio-root .copy-context[open] summary{border-bottom:1px solid var(--border)}.studio-root .copy-context[open] summary:after{content:"−"}.studio-root .copy-context summary small{color:var(--muted);margin-left:auto;font-weight:400}.studio-root .copy-context-fields{gap:10px;padding:12px;display:grid}.studio-root .copy-project-setup-head{border-bottom:1px solid var(--border);gap:4px;padding:12px;display:grid}.studio-root .copy-project-setup-head strong{font-size:13px}.studio-root .copy-project-setup-head small{color:var(--muted);font-size:11px}.studio-root .copy-project-save{justify-self:start}.studio-root .copy-context-readonly{white-space:pre-wrap;color:var(--muted);padding:12px;font-size:12px;line-height:1.55}.studio-root .copy-context-fields label{color:var(--muted);gap:6px;font-size:11px;display:grid}.studio-root .copy-context-fields input,.studio-root .copy-context-fields select,.studio-root .copy-context-fields textarea,.studio-root .copy-composer textarea{border:1px solid var(--border);width:100%;color:var(--text);background:var(--field);font:13px/1.5 var(--sans);resize:vertical;border-radius:10px;outline:none;padding:10px 12px}.studio-root .copy-context-fields input,.studio-root .copy-context-fields select{height:40px}.studio-root .copy-context-fields input:focus,.studio-root .copy-context-fields select:focus,.studio-root .copy-context-fields textarea:focus,.studio-root .copy-composer textarea:focus{border-color:var(--border-strong);background:var(--panel-3)}.studio-root .copy-chat-thread{flex-direction:column;flex:1;gap:14px;min-height:310px;padding:16px 18px;display:flex}.studio-root .copy-turn{gap:8px;display:grid}.studio-root .copy-message{border:1px solid var(--border);border-radius:14px;overflow:hidden}.studio-root .copy-message-user{background:var(--accent);border-color:var(--accent);max-width:min(720px,86%);color:var(--accent-contrast);align-self:flex-end;padding:11px 13px}.studio-root .copy-message-user span{opacity:.72;margin-bottom:5px;font-size:10px;display:block}.studio-root .copy-message-user p{white-space:pre-wrap;font-size:13px;line-height:1.55}.studio-root .copy-message-assistant{background:color-mix(in srgb, var(--panel-2) 78%, transparent)}.studio-root .copy-message-assistant header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.studio-root .copy-message-assistant header>div{gap:2px;display:grid}.studio-root .copy-message-assistant strong{font-size:12px}.studio-root .copy-message-assistant header span,.studio-root .copy-message-assistant footer{color:var(--muted);font-size:10px}.studio-root .copy-message-assistant header .btn{height:32px;padding:0 10px;font-size:12px}.studio-root .copy-message-assistant pre{white-space:pre-wrap;color:var(--text);font:13px/1.45 var(--sans);padding:12px;overflow-x:auto}.studio-root .copy-message-assistant footer{border-top:1px solid var(--border);padding:7px 12px}.studio-root .copy-chat-welcome{border:1px dashed var(--border-strong);max-width:430px;color:var(--muted);border-radius:14px;align-items:flex-start;gap:12px;margin:auto;padding:18px;display:flex}.studio-root .copy-chat-welcome svg,.studio-root .copy-typing svg{width:18px;height:18px;color:var(--accent);flex:none}.studio-root .copy-chat-welcome strong{color:var(--text);margin-bottom:4px;font-size:14px;display:block}.studio-root .copy-chat-welcome p{font-size:12px;line-height:1.55}.studio-root .copy-typing{color:var(--muted);align-self:flex-start;align-items:center;gap:8px;font-size:12px;display:inline-flex}.studio-root .copy-composer{border:1px solid var(--rim);background:color-mix(in srgb, var(--panel-2) 88%, transparent);box-shadow:inset 0 1px 0 var(--rim), 0 10px 24px color-mix(in srgb, var(--bg) 22%, transparent);border-radius:22px;margin:auto 24px 24px;padding:18px}.studio-root .copy-composer textarea{border-color:var(--border);background:var(--field);border-radius:15px;min-height:92px;padding:12px 14px}.studio-root .copy-composer textarea:focus{background:var(--panel-3);border-color:var(--border-strong)}.studio-root .copy-composer textarea::placeholder{color:var(--muted)}.studio-root .copy-composer footer{border:1px solid var(--border);background:var(--panel-3);border-radius:15px;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:12px;display:flex}.studio-root .copy-composer .copy-models{gap:6px}.studio-root .copy-composer .copy-model{min-width:126px;padding:7px 9px}.studio-root .copy-send-wrap{align-items:center;gap:10px;display:flex}.studio-root .copy-send-wrap>span{color:var(--muted);white-space:nowrap;font-size:10px}.studio-root .copy-send-wrap .btn{justify-content:center;min-width:96px}.studio-root .copy-deliveries{border-top:1px solid var(--border);margin-top:6px}.studio-root .copy-deliveries-list{gap:7px;padding:8px;display:grid}.studio-root .copy-delivery-row{border:1px solid var(--border);background:var(--panel-2);border-radius:10px;gap:4px;padding:9px;display:grid}.studio-root .copy-delivery-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.studio-root .copy-delivery-row small,.studio-root .copy-deliveries-empty{color:var(--muted);font-size:10px;line-height:1.4}.studio-root .copy-delivery-row button,.studio-root .copy-delivery-row a{width:max-content;color:var(--accent);background:0 0;border:0;margin-top:3px;padding:0;font-size:11px;text-decoration:none}.studio-root .copy-delivery-row button:disabled{opacity:.55}.studio-root .copy-delivery-picks{flex-wrap:wrap;gap:6px;padding:0 12px 11px;display:flex}.studio-root .copy-delivery-picks button{border:1px solid var(--border);color:var(--muted);background:var(--panel-3);border-radius:8px;align-items:center;gap:5px;padding:6px 8px;font-size:10px;display:inline-flex}.studio-root .copy-delivery-picks button:hover,.studio-root .copy-delivery-picks button.active{color:var(--accent-contrast);background:var(--accent);border-color:var(--accent)}.studio-root .copy-delivery-picks svg{width:12px;height:12px}.studio-root .copy-delivery-draft{border:1px solid color-mix(in srgb, var(--accent) 45%, var(--border));background:color-mix(in srgb, var(--accent) 10%, var(--panel-2));border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin:0 14px 14px;padding:11px 12px;display:flex}.studio-root .copy-delivery-draft>div{gap:3px;display:grid}.studio-root .copy-delivery-draft strong{font-size:12px}.studio-root .copy-delivery-draft span{color:var(--muted);font-size:11px}.studio-root .delivery-page{color:#fff;background:#050505;min-height:100dvh;font-family:Inter,Arial,sans-serif}.studio-root .delivery-wrap{width:min(1080px,100% - 48px);margin:0 auto}.studio-root .delivery-hero{border-bottom:1px solid #292929;padding:44px 0 38px}.studio-root .delivery-brand{color:#b8b8b8;letter-spacing:.15em;align-items:center;gap:12px;margin-bottom:34px;font-size:11px;font-weight:700;display:flex}.studio-root .delivery-brand img{object-fit:contain;width:84px;height:auto;max-height:36px;display:block}.studio-root .delivery-brand i{background:#303030;width:1px;height:22px;display:block}.studio-root .delivery-eyebrow{color:#fdcd01;letter-spacing:.2em;margin:0 0 10px;font-size:10px;font-weight:800}.studio-root .delivery-hero h1{letter-spacing:-.05em;margin:0;font-size:clamp(30px,5vw,56px);line-height:1.03}.studio-root .delivery-meta{flex-wrap:wrap;gap:8px;margin-top:22px;display:flex}.studio-root .delivery-meta span{color:#aaa;border:1px solid #333;border-radius:999px;padding:6px 10px;font-size:11px}.studio-root .delivery-tabs{z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#050505f0;border-bottom:1px solid #292929;position:sticky;top:0}.studio-root .delivery-tabs .delivery-wrap{align-items:center;gap:8px;padding:12px 0;display:flex;overflow-x:auto}.studio-root .delivery-tabs button{text-overflow:ellipsis;white-space:nowrap;color:#aaa;letter-spacing:.06em;background:0 0;border:1px solid #313131;border-radius:8px;flex:none;max-width:180px;padding:8px 11px;font-size:10px;overflow:hidden}.studio-root .delivery-tabs button b{display:none}.studio-root .delivery-tabs button.active{color:#080808;background:#fdcd01;border-color:#fdcd01}.studio-root .delivery-tab-spacer{flex:1;min-width:8px}.studio-root .delivery-tabs .delivery-icon-btn{place-items:center;width:34px;height:34px;padding:0;display:grid}.studio-root .delivery-tabs .delivery-html-btn{letter-spacing:.04em;width:44px;font-size:9px;font-weight:750}.studio-root .delivery-icon-btn svg{width:15px;height:15px}.studio-root .delivery-content{padding:52px 0 64px}.studio-root .delivery-copy-head{border-bottom:2px solid #fdcd01;align-items:baseline;gap:14px;margin-bottom:24px;padding-bottom:16px;display:flex}.studio-root .delivery-copy-head span{color:#080808;letter-spacing:.08em;background:#fdcd01;border-radius:4px;padding:4px 8px;font-size:10px;font-weight:800}.studio-root .delivery-copy-head h2{letter-spacing:-.04em;margin:0;font-size:clamp(24px,3vw,34px)}.studio-root .delivery-scenes{gap:14px;display:grid}.studio-root .delivery-scene{background:#101010;border:1px solid #292929;border-radius:14px;overflow:hidden}.studio-root .delivery-scene>header{color:#fdcd01;border-bottom:1px solid #292929;padding:14px 18px;font-size:14px}.studio-root .delivery-row{border-top:1px solid #242424;grid-template-columns:190px minmax(0,1fr);gap:18px;padding:14px 18px;display:grid}.studio-root .delivery-row:first-of-type{border-top:0}.studio-root .delivery-row small{color:#989898;letter-spacing:.11em;padding-top:3px;font-size:10px;font-weight:700}.studio-root .delivery-row p{color:#f5f5f5;margin:0;font-size:15px;line-height:1.58}.studio-root .delivery-row .delivery-screen{color:#fdcd01;font-size:20px;font-weight:800;line-height:1.18}.studio-root .delivery-row .delivery-voice{border-left:2px solid #fdcd01;padding-left:13px}.studio-root .delivery-raw{white-space:pre-wrap;color:#fff;font:14px/1.6 Inter,sans-serif}.studio-root .delivery-footer{color:#898989;border-top:1px solid #292929;padding:30px 0 48px;font-size:12px}@media (max-width:700px){.studio-root .copy-delivery-draft{flex-direction:column;align-items:stretch;margin:0 10px 10px}.studio-root .copy-delivery-draft .btn{justify-content:center;width:100%}.studio-root .delivery-wrap{width:min(100% - 28px,1080px)}.studio-root .delivery-hero{padding:28px 0}.studio-root .delivery-brand{margin-bottom:24px}.studio-root .delivery-content{padding:32px 0 44px}.studio-root .delivery-row{grid-template-columns:1fr;gap:5px;padding:13px}.studio-root .delivery-copy-head{flex-direction:column;align-items:flex-start;gap:8px}}@media print{.studio-root .delivery-tabs{display:none}.studio-root .delivery-page{color:#111;background:#fff}.studio-root .delivery-hero,.studio-root .delivery-scene,.studio-root .delivery-footer{background:#fff;border-color:#ccc}.studio-root .delivery-row p,.studio-root .delivery-hero h1,.studio-root .delivery-copy-head h2{color:#111}.studio-root .delivery-row .delivery-screen,.studio-root .delivery-scene>header{color:#866c00}.studio-root .delivery-scene{break-inside:avoid}}.studio-root .gallery{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:90;background:#03363df5;flex-direction:column;display:none;position:fixed;inset:0}.studio-root .gallery.show{display:flex}.studio-root .gallery-head{border-bottom:none;flex-wrap:wrap;flex:none;align-items:center;gap:14px;padding:18px 26px 14px;display:flex}.studio-root .gallery-head h2{font-family:var(--display);font-size:22px;font-weight:400}.studio-root .gallery-head .count{color:var(--muted);font-size:12px}.studio-root .gallery-head .spacer{margin-left:auto}.studio-root .gallery-search{background:var(--panel-2);border:1px solid var(--border);width:240px;max-width:42vw;height:36px;color:var(--text);font-family:var(--mono);border-radius:9px;outline:none;padding:0 12px;font-size:12px}.studio-root .gallery-search:focus{border-color:var(--accent)}.studio-root .gallery-search::placeholder{color:var(--muted)}.studio-root .gallery-grid{flex:1;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-auto-rows:max-content;align-content:start;gap:16px;padding:22px 26px;display:grid;overflow-y:auto}.studio-root .gcard{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:12px;flex-direction:column;align-self:start;transition:box-shadow .2s,transform .2s;display:flex;overflow:hidden}.studio-root .gcard:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.studio-root .gcard .thumb{background:var(--panel-2);cursor:pointer;flex:none;height:clamp(164px,17vw,250px);position:relative;overflow:hidden}.studio-root .gcard .thumb img,.studio-root .gcard .thumb video,.studio-root .video-cover,.studio-root .video-cover img,.studio-root .video-cover video{object-fit:cover;width:100%;height:100%;display:block}.studio-root .video-cover{background:linear-gradient(135deg,#12151b,#2d333d);position:relative}.studio-root .video-cover-play{color:#fff;pointer-events:none;background:#080a0db8;border:1px solid #ffffff80;border-radius:50%;place-items:center;width:46px;height:46px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 6px 20px #0000004d}.studio-root .video-cover-play svg{width:19px;height:19px;margin-left:2px}.studio-root .gcard .meta,.studio-root .gcard .gallery-card-details{flex-direction:column;gap:7px;min-height:0;padding:10px 12px 12px;display:flex!important}.studio-root .gcard .gprompt{color:var(--text);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.studio-root .gcard .gdate{color:var(--muted);font-size:10px}.studio-root .gcard .gtags{flex-wrap:wrap;gap:4px;display:flex}.studio-root .gcard .gtags span{background:var(--panel-2);border:1px solid var(--border);color:var(--muted);white-space:nowrap;border-radius:6px;padding:3px 6px;font-size:9px;line-height:1}.studio-root .gcard .gactions{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-top:3px;display:grid}.studio-root .gcard .gallery-card-actions{background:color-mix(in srgb, var(--panel) 94%, transparent);border-top:1px solid var(--border);padding:9px 10px 10px;display:block!important}.studio-root .gcard .gallery-card-actions .gactions{border-top:0;padding-top:0}.studio-root .gcard .gbtn{background:var(--panel-2);border:1px solid var(--border);width:100%;min-width:0;height:30px;color:var(--muted);cursor:pointer;font:600 10px var(--sans);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:0 8px;display:inline-flex}.studio-root .gcard .gbtn span{text-overflow:ellipsis;overflow:hidden}.studio-root .gcard .gbtn svg{flex:none;width:14px;height:14px}.studio-root .gcard .gbtn:hover{color:var(--text);border-color:var(--border-strong)}.studio-root .gcard .gbtn.edit:hover,.studio-root .gcard .gbtn.ref:hover{color:var(--accent);border-color:var(--accent)}.studio-root .gcard .gbtn.del:hover{color:var(--danger);border-color:var(--danger)}.studio-root .gcard .gbtn.fav:hover{color:var(--accent);border-color:var(--accent)}.studio-root .gcard .gbtn.fav.on{color:var(--accent);border-color:var(--accent);background:#bdd9d729}.studio-root .gcard .gbtn.fav.on svg{fill:var(--accent)}.studio-root .gallery-empty,.studio-root .gallery-loading{text-align:center;color:var(--muted);grid-column:1/-1;padding:60px 0;font-size:13px}.studio-root .gallery-more{grid-column:1/-1;justify-content:center;align-items:center;gap:10px;padding:10px 0 24px;display:flex}.studio-root .gallery-more .btn{justify-content:center;min-width:132px}.studio-root .gallery-more span{color:var(--muted);text-align:center;min-width:92px;font-size:12px}.studio-root .gallery-more .btn:disabled{cursor:not-allowed;opacity:.42}.studio-root .gallery-filters{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;margin-top:0;padding:0 26px 16px;display:flex}.studio-root .gfilter-chip{cursor:pointer;background:var(--panel-2);border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:7px 14px;font-family:inherit;font-size:12px}.studio-root .gfilter-chip:hover{color:var(--text);border-color:var(--border-strong)}.studio-root .gfilter-chip.on{color:var(--accent);border-color:var(--accent);background:#bdd9d729}.studio-root .gfilter-sel{cursor:pointer;background:var(--panel-2);border:1px solid var(--border);color:var(--text);border-radius:9px;padding:7px 12px;font-family:inherit;font-size:12px}.studio-root .gfilter-sel:focus{border-color:var(--accent);outline:none}.studio-root .gfilter-clear{cursor:pointer;color:var(--muted);background:0 0;border:none;margin-left:auto;font-family:inherit;font-size:11px}.studio-root .gfilter-clear:hover{color:var(--accent)}.studio-root .storage-meter{min-width:210px;color:var(--muted);align-items:center;gap:10px;font-size:11px;display:flex}.studio-root .storage-track{background:var(--panel-2);border:1px solid var(--border);border-radius:999px;width:92px;height:6px;overflow:hidden}.studio-root .storage-track span{background:var(--accent);width:0;height:100%;transition:width .25s;display:block}.studio-root .storage-meter.warn .storage-track span{background:#e7b85c}.studio-root .storage-meter.danger .storage-track span{background:var(--danger)}.studio-root .integrations-body{flex-direction:column;flex:1;gap:18px;width:100%;max-width:720px;margin:0 auto;padding:26px;display:flex;overflow-y:auto}.studio-root .int-card{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:14px;flex-direction:column;gap:14px;padding:18px 20px;display:flex}.studio-root .int-top{align-items:center;gap:12px;display:flex}.studio-root .int-name{font-family:var(--display);font-size:20px;font-weight:400}.studio-root .int-sub{color:var(--muted);font-size:12px}.studio-root .int-status{border:1px solid var(--border);border-radius:999px;margin-left:auto;padding:4px 10px;font-size:11px;font-weight:600}.studio-root .int-status.on{color:var(--accent);border-color:var(--accent);background:#bdd9d71f}.studio-root .int-status.off{color:var(--muted)}.studio-root .int-row{flex-direction:column;gap:6px;display:flex}.studio-root .int-row label{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:11px}.studio-root .int-row input{background:var(--panel-2);border:1px solid var(--border);color:var(--text);border-radius:9px;padding:10px 12px;font-family:inherit;font-size:13px}.studio-root .int-row input:focus{border-color:var(--accent);outline:none}.studio-root .int-actions{flex-wrap:wrap;gap:10px;display:flex}.studio-root .int-hint{color:var(--muted);font-size:11px;line-height:1.5}.studio-root .int-hint a{color:var(--accent)}.studio-root .prompt-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.studio-root .mini-link{color:var(--muted);cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit;font-size:11px}.studio-root .mini-link:hover{color:var(--accent)}.studio-root .templates-body{flex:1;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));align-content:start;gap:16px;padding:26px;display:grid;overflow-y:auto}.studio-root .tpl-card{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:12px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.studio-root .tpl-name{font-family:var(--display);font-size:18px;font-weight:400}.studio-root .tpl-prompt{color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.studio-root .tpl-tags{flex-wrap:wrap;gap:4px;display:flex}.studio-root .tpl-tags span{background:var(--panel-2);border:1px solid var(--border);color:var(--muted);border-radius:6px;padding:3px 6px;font-size:9px;line-height:1}.studio-root .tpl-actions{gap:8px;margin-top:2px;display:flex}.studio-root .tpl-actions .btn{flex:1;justify-content:center;padding:7px 10px;font-size:12px}.studio-root .bgrem-body{flex-direction:column;flex:1;gap:18px;width:100%;max-width:1180px;margin:0 auto;padding:26px;display:flex;overflow-y:auto}.studio-root .bgrem-panel{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;flex-direction:column;gap:16px;padding:18px;display:flex}.studio-root .bgrem-drop{border:1px dashed var(--border-strong);background:var(--panel-2);text-align:center;cursor:pointer;border-radius:16px;place-items:center;min-height:180px;padding:26px;transition:border-color .15s,background-color .15s,transform .15s;display:grid}.studio-root .bgrem-drop:hover,.studio-root .bgrem-drop.drag{border-color:var(--accent);background:var(--accent-dim);transform:translateY(-1px)}.studio-root .bgrem-drop svg{width:36px;height:36px;color:var(--accent);margin-bottom:12px}.studio-root .bgrem-drop h3{font-family:var(--display);margin-bottom:7px;font-size:22px;font-weight:400}.studio-root .bgrem-drop p{color:var(--muted);max-width:560px;font-size:13px;line-height:1.55}.studio-root .bgrem-note{color:var(--muted);font-size:12px;line-height:1.55}.studio-root .bgrem-preview{grid-template-columns:1fr 1fr;gap:18px;display:grid}.studio-root .bgrem-card{background:var(--panel);border:1px solid var(--border);min-height:280px;box-shadow:var(--shadow);border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.studio-root .bgrem-card-head{border-bottom:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;padding:12px 14px;font-size:12px;display:flex}.studio-root .bgrem-stage{background-color:#ffffff14;background-image:linear-gradient(45deg,#ffffff1f 25%,#0000 25% 75%,#ffffff1f 75%),linear-gradient(45deg,#ffffff1f 25%,#0000 25% 75%,#ffffff1f 75%);background-position:0 0,12px 12px;background-size:24px 24px;flex:1;place-items:center;min-height:260px;padding:14px;display:grid}.studio-root[data-theme=light] .bgrem-stage{background-color:#f2f2f3;background-image:linear-gradient(45deg,#dedee0 25%,#0000 25% 75%,#dedee0 75%),linear-gradient(45deg,#dedee0 25%,#0000 25% 75%,#dedee0 75%)}.studio-root .bgrem-stage img{object-fit:contain;border-radius:10px;max-width:100%;max-height:58vh;box-shadow:0 12px 36px #0000002e}.studio-root .bgrem-empty{color:var(--muted);text-align:center;padding:30px;font-size:13px}.studio-root .bgrem-actions{flex-wrap:wrap;gap:10px;display:flex}.studio-root .bgrem-actions .btn{justify-content:center}.studio-root .bgrem-actions .btn.primary{min-width:180px}.studio-root .bgrem-meta{color:var(--muted);font-size:12px;line-height:1.5}.studio-root .bgrem-spinner{border:3px solid #ffffff2e;border-top-color:var(--accent);border-radius:50%;width:34px;height:34px;margin-bottom:10px;animation:.8s linear infinite spin}@media (max-width:820px){.studio-root .bgrem-preview{grid-template-columns:1fr}}.studio-root .compress-body{flex:1;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:26px;width:100%;max-width:1320px;margin:0 auto;padding:26px;display:grid;overflow-y:auto}.studio-root .compress-panel,.studio-root .compress-card{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px}.studio-root .compress-panel{flex-direction:column;align-self:start;gap:22px;padding:24px;display:flex;position:sticky;top:22px}.studio-root .compress-title{letter-spacing:-.02em;align-items:center;gap:12px;font-size:22px;font-weight:700;display:flex}.studio-root .compress-title svg{width:22px;height:22px;color:var(--accent)}.studio-root .compress-sub{color:var(--muted);margin-top:-8px;font-size:14px;line-height:1.45}.studio-root .compress-control{flex-direction:column;gap:14px;display:flex}.studio-root .compress-control label{color:var(--text);justify-content:space-between;align-items:center;gap:12px;font-size:15px;font-weight:700;display:flex}.studio-root .compress-control label span{color:var(--muted);font-weight:600}.studio-root .compress-range{width:100%;accent-color:var(--accent)}.studio-root .compress-panel .btn.primary{justify-content:center;min-height:48px}.studio-root .compress-note{color:var(--muted);font-size:12px;line-height:1.5}.studio-root .compress-main{flex-direction:column;gap:22px;min-width:0;display:flex}.studio-root .compress-drop{border:2px dashed color-mix(in srgb, var(--border-strong) 70%, transparent);background:color-mix(in srgb, var(--panel) 58%, transparent);text-align:center;cursor:pointer;border-radius:20px;place-items:center;min-height:280px;padding:34px;transition:border-color .15s,background-color .15s,transform .15s;display:grid}.studio-root .compress-drop:hover,.studio-root .compress-drop.drag{border-color:var(--accent);background:color-mix(in srgb, var(--panel-2) 80%, transparent);transform:translateY(-1px)}.studio-root .compress-drop svg{width:46px;height:46px;color:var(--accent);background:var(--accent-dim);border-radius:999px;margin-bottom:22px;padding:10px}.studio-root .compress-drop h3{letter-spacing:-.02em;margin-bottom:8px;font-size:24px;font-weight:700}.studio-root .compress-drop p{color:var(--muted);font-size:14px;line-height:1.45}.studio-root .compress-toolbar{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.studio-root .compress-toolbar h3{letter-spacing:-.02em;font-size:20px;font-weight:700}.studio-root .compress-toolbar .spacer{margin-left:auto}.studio-root .compress-clear{color:var(--text);cursor:pointer;background:0 0;border:none;padding:10px 4px;font-family:inherit;font-size:14px;font-weight:700}.studio-root .compress-clear:hover{color:var(--muted)}.studio-root .compress-list{flex-direction:column;gap:16px;display:flex}.studio-root .compress-empty{color:var(--muted);text-align:center;border:1px dashed var(--border);border-radius:18px;padding:42px 16px}.studio-root .compress-card{grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px;display:grid;position:relative}.studio-root .compress-thumb{background:var(--panel-2);border:1px solid var(--border);border-radius:14px;width:76px;height:76px;overflow:hidden}.studio-root .compress-thumb img{object-fit:cover;width:100%;height:100%;display:block}.studio-root .compress-name{letter-spacing:.01em;white-space:nowrap;text-overflow:ellipsis;font-size:17px;font-weight:700;overflow:hidden}.studio-root .compress-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;font-size:13px;display:flex}.studio-root .compress-meta .saved{color:#37c26b;font-weight:800}.studio-root .compress-pill{color:#127038;background:#c9ffd8;border:1px solid #1270382e;border-radius:999px;padding:3px 9px;font-weight:800}.studio-root .compress-pill.neutral{color:var(--muted);background:var(--panel-2);border-color:var(--border)}.studio-root .compress-status{color:var(--muted);margin-top:7px;font-size:12px}.studio-root .compress-card .btn{justify-content:center;min-width:116px}.studio-root .compress-remove{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:none;place-items:center;display:grid;position:absolute;top:18px;right:18px}.studio-root .compress-remove:hover{color:var(--text)}.studio-root .compress-remove svg{width:18px;height:18px}@media (max-width:900px){.studio-root .compress-body{grid-template-columns:1fr}.studio-root .compress-panel{position:static}}@media (max-width:620px){.studio-root .compress-card{grid-template-columns:64px minmax(0,1fr);padding-right:46px}.studio-root .compress-thumb{width:64px;height:64px}.studio-root .compress-card .btn{grid-column:2;justify-self:start}.studio-root .compress-toolbar .spacer{display:none}}.studio-root .convert-body{flex:1;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:26px;width:100%;max-width:1320px;margin:0 auto;padding:26px;display:grid;overflow-y:auto}.studio-root .convert-panel,.studio-root .convert-card{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px}.studio-root .convert-panel{flex-direction:column;align-self:start;gap:18px;padding:24px;display:flex;position:sticky;top:22px}.studio-root .convert-title{letter-spacing:-.02em;align-items:center;gap:12px;font-size:22px;font-weight:700;display:flex}.studio-root .convert-title svg{width:22px;height:22px;color:var(--accent)}.studio-root .convert-sub{color:var(--muted);margin-top:-6px;font-size:13px;line-height:1.5}.studio-root .convert-group{flex-direction:column;gap:9px;display:flex}.studio-root .convert-label{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;font-size:11px}.studio-root .convert-tabs,.studio-root .convert-format-grid{gap:8px;display:grid}.studio-root .convert-tabs{grid-template-columns:1fr}.studio-root .convert-format-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-root .convert-tab,.studio-root .convert-format{border:1px solid var(--border);background:var(--panel-2);min-height:40px;color:var(--text);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;font-family:inherit;font-size:13px;font-weight:700;display:inline-flex}.studio-root .convert-tab.on,.studio-root .convert-format.on{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.studio-root .convert-main{flex-direction:column;gap:22px;min-width:0;display:flex}.studio-root .convert-drop{border:2px dashed color-mix(in srgb, var(--border-strong) 70%, transparent);background:color-mix(in srgb, var(--panel) 58%, transparent);text-align:center;cursor:pointer;border-radius:20px;place-items:center;min-height:280px;padding:34px;transition:border-color .15s,background-color .15s,transform .15s;display:grid}.studio-root .convert-drop:hover,.studio-root .convert-drop.drag{border-color:var(--accent);background:color-mix(in srgb, var(--panel-2) 80%, transparent);transform:translateY(-1px)}.studio-root .convert-drop svg{width:46px;height:46px;color:var(--accent);background:var(--accent-dim);border-radius:999px;margin-bottom:22px;padding:10px}.studio-root .convert-drop h3{letter-spacing:-.02em;margin-bottom:8px;font-size:24px;font-weight:700}.studio-root .convert-drop p{color:var(--muted);font-size:14px;line-height:1.45}.studio-root .convert-toolbar{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.studio-root .convert-toolbar h3{letter-spacing:-.02em;font-size:20px;font-weight:700}.studio-root .convert-toolbar .spacer{margin-left:auto}.studio-root .convert-clear{color:var(--text);cursor:pointer;background:0 0;border:none;padding:10px 4px;font-family:inherit;font-size:14px;font-weight:700}.studio-root .convert-clear:hover{color:var(--muted)}.studio-root .convert-list{flex-direction:column;gap:16px;display:flex}.studio-root .convert-empty{color:var(--muted);text-align:center;border:1px dashed var(--border);border-radius:18px;padding:42px 16px}.studio-root .convert-card{grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px 40px 22px 22px;display:grid;position:relative}.studio-root .convert-thumb{background:var(--panel-2);border:1px solid var(--border);width:76px;height:76px;color:var(--muted);border-radius:14px;place-items:center;display:grid;overflow:hidden}.studio-root .convert-thumb img{object-fit:cover;width:100%;height:100%;display:block}.studio-root .convert-thumb svg{width:30px;height:30px}.studio-root .convert-name{letter-spacing:.01em;white-space:nowrap;text-overflow:ellipsis;font-size:17px;font-weight:700;overflow:hidden}.studio-root .convert-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;font-size:13px;display:flex}.studio-root .convert-pill{color:var(--text);background:var(--panel-2);border:1px solid var(--border);border-radius:999px;padding:3px 9px;font-weight:800}.studio-root .convert-status{color:var(--muted);margin-top:7px;font-size:12px;line-height:1.45}.studio-root .convert-card .btn{justify-content:center;align-self:end;min-width:116px;margin-right:10px}.studio-root .convert-remove{width:30px;height:30px;color:var(--muted);cursor:pointer;z-index:2;background:0 0;border:none;place-items:center;display:grid;position:absolute;top:14px;right:18px}.studio-root .convert-remove:hover{color:var(--text)}.studio-root .convert-remove svg{width:18px;height:18px}@media (max-width:900px){.studio-root .convert-body{grid-template-columns:1fr}.studio-root .convert-panel{position:static}}@media (max-width:620px){.studio-root .convert-card{grid-template-columns:64px minmax(0,1fr);padding-right:46px}.studio-root .convert-thumb{width:64px;height:64px}.studio-root .convert-card .btn{grid-column:2;place-self:center start;margin-right:0}.studio-root .convert-toolbar .spacer{display:none}}.studio-root .video-studio{background:0 0;flex-direction:column;min-height:100dvh;display:flex}.studio-root .video-body{flex-direction:column;flex:1;gap:20px;width:100%;padding:30px 40px;display:flex;overflow-y:auto}.studio-root .video-slots{--video-cols:5;grid-template-columns:repeat(var(--video-cols), minmax(0, 1fr));align-items:start;gap:22px;display:grid}.studio-root .video-off{display:none!important}.studio-root .video-card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;transition:box-shadow .2s,transform .2s;overflow:hidden}.studio-root .video-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.studio-root .video-card-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.studio-root .video-title{font-family:var(--display);letter-spacing:0;font-size:17px;font-weight:400}.studio-root .video-badge{color:var(--muted);background:var(--panel-2);border:1px solid var(--border);letter-spacing:.04em;text-transform:uppercase;border-radius:20px;padding:4px 9px;font-size:11px;font-weight:500}.studio-root .video-badge.run{color:var(--accent-contrast);background:var(--accent);border-color:var(--accent)}.studio-root .video-badge.done{color:#127038;background:#c9ffd8;border-color:#1270382e}.studio-root .video-stage{--video-aspect:1.77778;aspect-ratio:var(--video-aspect);width:min(100%, calc(70vh * var(--video-aspect)));background:var(--canvas-empty);color:var(--muted);text-align:center;border-bottom:1px solid var(--border);place-items:center;margin:0 auto;display:grid;position:relative;overflow:hidden}.studio-root .video-stage video{object-fit:contain;background:#050506;width:100%;height:auto;max-height:70vh;display:block}.studio-root .video-empty svg{opacity:.55;width:40px;height:40px;margin-bottom:10px}.studio-root .video-progress{background:#ffffff2e;border-radius:999px;height:6px;position:absolute;bottom:12px;left:14px;right:14px;overflow:hidden}.studio-root .video-progress span{background:var(--accent);width:0%;height:100%;transition:width .2s;display:block}.studio-root .video-history{border-bottom:1px solid var(--border);background:var(--panel-2);padding:10px 14px;display:none}.studio-root .video-history.show{display:block}.studio-root .video-history-title{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px;font-size:10px}.studio-root .video-history-items{flex-direction:column;gap:7px;max-height:196px;display:flex;overflow-y:auto}.studio-root .video-hist-item{border:1px solid var(--border);background:var(--panel);border-radius:8px;align-items:center;gap:8px;padding:6px;display:flex}.studio-root .video-hist-item.current{border-color:var(--accent);background:var(--accent-dim)}.studio-root .video-hist-preview{border:1px solid var(--border);cursor:pointer;background:#050506;border-radius:6px;flex:none;width:50px;height:34px;padding:0;overflow:hidden}.studio-root .video-hist-preview video{object-fit:cover;width:100%;height:100%;display:block}.studio-root .video-hist-meta{flex:1;min-width:0}.studio-root .video-hist-ver{color:var(--accent);font-size:10px;font-weight:600}.studio-root .video-hist-prompt{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:11px;line-height:1.3;overflow:hidden}.studio-root .video-hist-download{border:1px solid var(--border);width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border-radius:6px;flex:none;place-items:center;display:grid}.studio-root .video-hist-download:hover{color:var(--text);border-color:var(--accent)}.studio-root .video-hist-download svg{width:14px;height:14px}.studio-root .video-card-body{flex-direction:column;gap:12px;padding:12px 14px;display:flex}.studio-root .video-mode-row,.studio-root .video-opt-row,.studio-root .video-model-row{gap:6px;display:grid}.studio-root .video-mode-row{grid-template-columns:1fr 1fr}.studio-root .video-opt-row{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-root .video-model-row{grid-template-columns:1fr}.studio-root .video-choice{border:1px solid var(--border);background:var(--panel-2);min-height:38px;color:var(--muted);cursor:pointer;text-align:center;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;padding:7px 9px;font-family:inherit;font-size:11px;font-weight:600;line-height:1.1;display:flex}.studio-root .video-choice small{opacity:.72;margin-top:2px;font-size:8px}.studio-root .video-choice:disabled{opacity:.45;cursor:not-allowed}.studio-root .video-choice.on{border-color:var(--accent);color:var(--accent);background:var(--accent-dim)}.studio-root .video-card textarea{resize:vertical;border:1px solid var(--border);background:var(--panel-2);width:100%;min-height:76px;color:var(--text);font:500 13px/1.5 var(--sans);border-radius:10px;outline:none;padding:10px 11px}.studio-root .video-ref-row{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.studio-root .video-add-ref{border:1px dashed var(--border);background:var(--panel-2);width:46px;height:46px;color:var(--muted);cursor:pointer;border-radius:8px;place-items:center;display:grid}.studio-root .video-add-ref:hover{border-color:var(--accent);color:var(--accent)}.studio-root .video-add-ref svg{width:18px;height:18px}.studio-root .video-ref{border:1px solid var(--border);background:var(--panel-2);border-radius:8px;width:46px;height:46px;position:relative;overflow:hidden}.studio-root .video-ref img{object-fit:cover;width:100%;height:100%;display:block}.studio-root .video-ref button{color:#fff;cursor:pointer;background:#0000009e;border:none;border-radius:999px;width:18px;height:18px;position:absolute;top:2px;right:2px}.studio-root .video-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.studio-root .video-actions .btn{justify-content:center}.studio-root .video-status{color:var(--muted);min-height:34px;font-size:12px;line-height:1.45}@media (max-width:1440px){.studio-root .video-slots{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}}@media (max-width:980px){.studio-root .video-slots{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (max-width:620px){.studio-root .video-body{padding:16px}.studio-root .video-slots{grid-template-columns:1fr}}.studio-root .mp-models{text-align:left;flex-direction:column;gap:8px;margin:14px 0;display:flex}.studio-root .mp-models label{cursor:pointer;border:1px solid var(--border);border-radius:10px;align-items:center;gap:10px;padding:9px 12px;font-size:13px;display:flex}.studio-root .mp-models label:hover{border-color:var(--border-strong)}.studio-root .mp-models input{width:16px;height:16px;accent-color:var(--accent)}.studio-root .mp-models small{color:var(--muted);margin-left:auto}.studio-root .compare-ov{z-index:130;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#03363db8;justify-content:center;align-items:center;padding:30px;display:flex;position:fixed;inset:0}.studio-root .cmp-box{background:var(--bg);border:1px solid var(--border);width:100%;max-width:1100px;max-height:90vh;box-shadow:var(--shadow-lg);border-radius:16px;flex-direction:column;display:flex}.studio-root .cmp-head{border-bottom:1px solid var(--border);align-items:center;padding:16px 22px;display:flex}.studio-root .cmp-title{font-family:var(--display);font-size:20px;font-weight:400}.studio-root .cmp-close{color:var(--muted);cursor:pointer;background:0 0;border:none;margin-left:auto;font-size:20px;line-height:1}.studio-root .cmp-close:hover{color:var(--text)}.studio-root .cmp-grid{grid-auto-columns:1fr;grid-auto-flow:column;gap:18px;padding:22px;display:grid;overflow:auto}.studio-root .cmp-col{flex-direction:column;gap:10px;min-width:0;display:flex}.studio-root .cmp-img{background:var(--panel-2);aspect-ratio:1;cursor:zoom-in;border-radius:12px;place-items:center;display:grid;overflow:hidden}.studio-root .cmp-img img{object-fit:contain;width:100%;height:100%}.studio-root .cmp-meta{color:var(--muted);text-align:center;font-size:12px}.studio-root .cmp-col .btn{justify-content:center}.studio-root .slot-picker{z-index:110;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#03363d73;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.studio-root .sp-box{background:var(--panel);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:14px;width:min(420px,90vw);padding:22px;display:flex}.studio-root .sp-title{color:var(--text);text-align:center;font-size:14px}.studio-root .sp-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.studio-root .sp-slots button{background:var(--panel-2);border:1px solid var(--border);min-width:0;height:50px;color:var(--text);font-family:var(--mono);cursor:pointer;text-align:center;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:12px;line-height:1.05;display:flex}.studio-root .sp-slots button .sp-slot-label{white-space:nowrap;font-size:11px}.studio-root .sp-slots button .sp-slot-num{font-size:13px;font-weight:600}.studio-root .sp-slots button:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-dim)}.studio-root .sp-cancel{border:1px solid var(--border);height:38px;color:var(--muted);font-family:var(--mono);cursor:pointer;background:0 0;border-radius:9px;font-size:12px}.studio-root .sp-cancel:hover{border-color:var(--danger);color:var(--danger)}.studio-root .sp-actions{gap:10px;display:flex}.studio-root .sp-actions .btn{flex:1;justify-content:center}@media (max-width:520px){.studio-root .sp-slots{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:900px){.studio-root main{padding:20px 14px}.studio-root .slots{gap:16px;width:100%}.studio-root .api-field{flex:1;min-width:0}.studio-root .api-field input{width:100%}}.studio-root .home{z-index:200;background:var(--bg);background-image:var(--scene);padding:52px 24px;position:fixed;inset:0;overflow-y:auto}.studio-root .home.hidden{display:none}.studio-root .home-inner{flex-direction:column;gap:26px;max-width:1040px;margin:0 auto;display:flex}.studio-root .home-hero{text-align:center;padding:16px 0 6px}.studio-root .home-logo{width:64px;height:64px;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:var(--shadow-lg);background:url(/logo-light.png) 50%/contain no-repeat;border-radius:16px;margin:0 auto 18px}.studio-root[data-theme=light] .home-logo{background-image:url(/logo-dark.png)}.studio-root .home-eyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:10px;font-size:12px}.studio-root .home-hero h1{font-family:var(--display);font-size:56px;font-weight:400;line-height:1}.studio-root .home-tagline{max-width:640px;color:var(--muted);margin:14px auto 24px;font-size:16px;line-height:1.6}.studio-root .home-enter{white-space:nowrap;padding:13px 28px;font-size:15px}.studio-root .home-access{max-width:460px;margin:4px auto 0}.studio-root .home-access-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;font-size:11px;display:block}.studio-root .home-access-row{gap:10px;display:flex}.studio-root .home-access-row input{background:var(--panel-2);border:1px solid var(--border-strong);min-width:0;height:46px;color:var(--text);font-family:var(--sans);border-radius:11px;flex:1;padding:0 14px;font-size:14px}.studio-root .home-access-row input::placeholder{color:var(--muted)}.studio-root .home-access-row input:focus{border-color:var(--accent)}.studio-root .home-access-hint{color:var(--danger);margin-top:10px;font-size:12px}@media (max-width:520px){.studio-root .home-access-row{flex-direction:column}.studio-root .home-enter{width:100%}}.studio-root .home-cols{grid-template-columns:1fr 1fr;gap:20px;display:grid}.studio-root .home-card{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px;padding:22px 24px}.studio-root .home-card h3{font-family:var(--display);margin-bottom:14px;font-size:20px;font-weight:400}.studio-root .home-shortcuts{grid-template-columns:1fr 1fr;gap:10px;display:grid}.studio-root .home-shortcuts button,.studio-root .home-shortcuts a{text-align:left;background:var(--panel-2);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:10px;align-items:center;gap:10px;padding:12px 14px;font-family:inherit;font-size:13px;text-decoration:none;display:flex}.studio-root .home-shortcuts button:hover,.studio-root .home-shortcuts a:hover{border-color:var(--accent);color:var(--accent)}.studio-root .home-shortcuts svg{flex-shrink:0;width:16px;height:16px}.studio-root .home-news{flex-direction:column;gap:9px;list-style:none;display:flex}.studio-root .home-news li{color:var(--muted);padding-left:18px;font-size:13px;line-height:1.45;position:relative}.studio-root .home-news li:before{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px;position:absolute;top:7px;left:0}.studio-root .home-examples{grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:10px;display:grid}.studio-root .home-ex{aspect-ratio:1;background:var(--panel-2);cursor:zoom-in;border-radius:10px;overflow:hidden}.studio-root .home-ex img{object-fit:cover;width:100%;height:100%;display:block}.studio-root .home-note{color:var(--muted);grid-column:1/-1;padding:16px 0;font-size:13px}@media (max-width:760px){.studio-root .home-cols{grid-template-columns:1fr}.studio-root .home-hero h1{font-size:42px}}.studio-root .gallery,.studio-root .home,.studio-root .lightbox,.studio-root .compare-ov,.studio-root .integrations-body,.studio-root .templates-body,.studio-root .bgrem-body,.studio-root .compress-body,.studio-root .convert-body,.studio-root .gallery-grid{overscroll-behavior:contain}.studio-root .api-field,.studio-root textarea,.studio-root .gallery-search,.studio-root .gfilter-sel,.studio-root .proj-select,.studio-root .custom-size input,.studio-root .int-row input{border-color:var(--border-strong)}@media (prefers-reduced-motion:reduce){.studio-root *,.studio-root :before,.studio-root :after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}.studio-root .gcard:hover,.studio-root .slot:hover{transform:none!important}}.studio-root{background-color:var(--bg);background-image:var(--scene)}.studio-root header,.studio-root footer{background:var(--panel);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border-color:var(--rim);box-shadow:inset 0 1px 0 var(--rim)}.studio-root header{background:color-mix(in srgb, var(--panel) 74%, transparent)}.studio-root footer{background:color-mix(in srgb, var(--panel) 82%, transparent)}.studio-root .credits-badge{border:1px solid var(--border);background:var(--panel-2);height:38px;color:var(--text);font-size:13px;font-family:var(--mono);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;margin-left:auto;padding:0 15px;text-decoration:none;display:inline-flex}.studio-root .credits-badge:hover{border-color:var(--accent);color:var(--accent)}.studio-root .credits-badge svg{width:15px;height:15px;color:var(--accent)}.studio-root .credits-badge-n{font-variant-numeric:tabular-nums;font-weight:700}.studio-root .credits-badge-lbl{color:var(--muted)}.studio-root .credits-badge:hover .credits-badge-lbl{color:inherit}.studio-root .credits-badge.low{border-color:var(--danger);color:var(--danger)}.studio-root .credits-badge.low svg,.studio-root .credits-badge.low .credits-badge-lbl{color:var(--danger)}.studio-root .soon-body{place-items:center;min-height:60vh;padding:60px 24px;display:grid}.studio-root .soon-card{text-align:center;background:var(--panel);border:1px solid var(--border);max-width:460px;box-shadow:var(--shadow-lg);border-radius:20px;padding:44px 40px}.studio-root .soon-icon{background:var(--panel-2);border:1px solid var(--border);width:64px;height:64px;color:var(--accent);border-radius:16px;place-items:center;margin:0 auto 20px;display:grid}.studio-root .soon-icon svg{width:30px;height:30px}.studio-root .soon-eyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:10px;font-size:12px}.studio-root .soon-card h3{font-family:var(--display);margin-bottom:12px;font-size:26px;font-weight:400}.studio-root .soon-card p{color:var(--muted);margin-bottom:24px;font-size:15px;line-height:1.6}.studio-root .side-rail{background:color-mix(in srgb, var(--panel) 82%, transparent);border-color:var(--rim)}.studio-root .rail-btn{background:var(--panel-2);border-color:var(--border)}.studio-root .rail-btn:hover,.studio-root .rail-btn:focus-visible{background:var(--panel-3);border-color:var(--border-strong)}.studio-root .gallery{background:var(--panel);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.studio-root .slot{background:color-mix(in srgb, var(--panel) 88%, transparent);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border-color:var(--rim);box-shadow:var(--shadow), inset 0 1px 0 var(--rim);border-radius:22px}.studio-root .slot-head{background:color-mix(in srgb, var(--panel-2) 64%, transparent);border-color:var(--border)}.studio-root .slot-body{background:color-mix(in srgb, var(--panel) 58%, transparent)}.studio-root .canvas{background:var(--canvas-empty);border-color:var(--border)}.studio-root .placeholder{color:color-mix(in srgb, var(--muted) 82%, var(--text))}.studio-root .placeholder svg{opacity:.62}.studio-root .home{background:var(--bg);background-image:var(--scene)}.studio-root .home-logo{box-shadow:var(--shadow-lg), inset 0 1px 0 var(--rim)}.studio-root .home-card{background:color-mix(in srgb, var(--panel) 88%, transparent)}.studio-root .lightbox{background:#08080ad1}.studio-root .compare-ov,.studio-root .slot-picker{background:#08080a8c}.studio-root .expand-overlay{background:#08080a6b}.studio-root .spinner-wrap{background:var(--panel-2)}.studio-root .cmp-box,.studio-root .sp-box,.studio-root .home-card,.studio-root .int-card,.studio-root .tpl-card,.studio-root .bgrem-panel,.studio-root .bgrem-card,.studio-root .compress-panel,.studio-root .compress-card,.studio-root .convert-panel,.studio-root .convert-card,.studio-root .cost-card,.studio-root .cost-total-card,.studio-root .gcard{-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border-color:var(--rim);box-shadow:var(--shadow), inset 0 1px 0 var(--rim)}.studio-root .gcard{background:color-mix(in srgb, var(--panel) 88%, transparent);border-radius:18px}.studio-root .icon-btn{justify-content:center;width:42px;padding:0}.studio-root .slot-count{background:var(--panel-2);border:1px solid var(--border);height:42px;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border-radius:999px;align-items:center;gap:3px;padding:0 7px 0 14px;display:inline-flex}.studio-root .slot-count-label{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-right:5px;font-size:11px}.studio-root .slot-count button{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:999px;font-family:inherit;font-size:13px;font-weight:500}.studio-root .slot-count button:hover{color:var(--text)}.studio-root .slot-count button.on{background:var(--accent);color:var(--accent-contrast);font-weight:600}.studio-root .api-field,.studio-root .home-access-row input,.studio-root textarea,.studio-root .gallery-search,.studio-root .gfilter-sel,.studio-root .proj-select,.studio-root .custom-size input,.studio-root .int-row input{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.studio-root textarea,.studio-root .proj-select,.studio-root .size-opt,.studio-root .bg-toggle,.studio-root .custom-size input,.studio-root .home-access-row input,.studio-root .gallery-search,.studio-root .gfilter-sel{background:color-mix(in srgb, var(--panel-2) 86%, transparent)}.studio-root:not([data-theme=light]) .field-label,.studio-root:not([data-theme=light]) .history-title,.studio-root:not([data-theme=light]) .home-access-label,.studio-root:not([data-theme=light]) .slot-count-label,.studio-root:not([data-theme=light]) .gallery-head .count,.studio-root:not([data-theme=light]) .gcard .gdate,.studio-root:not([data-theme=light]) .storage-meter,.studio-root:not([data-theme=light]) .stat,.studio-root:not([data-theme=light]) footer .spacer{color:#ffffffe0}.studio-root:not([data-theme=light]) textarea::placeholder,.studio-root:not([data-theme=light]) .custom-size input::placeholder,.studio-root:not([data-theme=light]) .gallery-search::placeholder,.studio-root:not([data-theme=light]) .home-access-row input::placeholder,.studio-root:not([data-theme=light]) .int-row input::placeholder{color:#ffffffd1;opacity:1}.studio-root:not([data-theme=light]) .size-opt,.studio-root:not([data-theme=light]) .badge,.studio-root:not([data-theme=light]) .gfilter-chip,.studio-root:not([data-theme=light]) .gcard .gtags span,.studio-root:not([data-theme=light]) .gcard .gbtn,.studio-root:not([data-theme=light]) .bg-toggle small,.studio-root:not([data-theme=light]) .hist-prompt,.studio-root:not([data-theme=light]) .home-tagline,.studio-root:not([data-theme=light]) .home-news li,.studio-root:not([data-theme=light]) .home-note{color:#ffffffd6}.studio-root:not([data-theme=light]) .size-opt small{color:#ffffffc2;opacity:1}.studio-root:not([data-theme=light]) .size-opt.active,.studio-root:not([data-theme=light]) .badge.ver,.studio-root:not([data-theme=light]) .gfilter-chip.on{color:var(--text)}.studio-root:not([data-theme=light]) .gcard .gtags span,.studio-root:not([data-theme=light]) .gcard .gbtn{background:#ffffff29;border-color:#ffffff3d}.studio-root:not([data-theme=light]) .gcard .gbtn:hover{color:var(--text);background:#ffffff3d}.studio-root:not([data-theme=light]) .placeholder{color:#ffffffd1}.studio-root:not([data-theme=light]) .btn:not(.primary):not(.gen-btn):not(.active),.studio-root:not([data-theme=light]) .actions .btn:not(.gen-btn):not(.active){color:#ffffffe6}.studio-root:not([data-theme=light]) .gcard .gprompt{color:#fffffff0}@media (max-width:900px){.studio-root{padding-left:68px}.studio-root.rail-expanded{padding-left:214px}.studio-root header,.studio-root .tool-page>.gallery .gallery-head{margin:8px 8px 0;padding:12px 14px;top:8px}.studio-root .tool-page>#gallery .gallery-filters{margin:8px 8px 0}.studio-root .tool-page>#gallery .gallery-grid{padding:16px 8px 24px}.studio-root .creation-title{font-size:20px}.studio-root .creation-actions{gap:8px}.studio-root .side-rail{border-radius:18px;width:52px;top:8px;bottom:8px;left:8px}.studio-root.rail-expanded .side-rail{width:198px}.studio-root .rail-btn,.studio-root .rail-mark,.studio-root .rail-footer .api-field{border-radius:13px;width:40px;height:40px}.studio-root.rail-expanded .rail-btn{width:100%}.studio-root.rail-expanded .rail-footer .api-field input,.studio-root.rail-expanded .rail-footer .api-field:hover input,.studio-root.rail-expanded .rail-footer .api-field:focus-within input{width:124px}.studio-root .rail-footer .api-field:hover,.studio-root .rail-footer .api-field:focus-within{width:min(250px,100vw - 82px)}.studio-root .rail-footer .api-field:hover input,.studio-root .rail-footer .api-field:focus-within input{width:min(180px,100vw - 152px)}.studio-root .slot-count-label{display:none}.studio-root .session-footer{bottom:8px;left:72px;right:8px}.studio-root.rail-expanded .session-footer{left:218px}}@media (max-width:520px){.studio-root,.studio-root.rail-expanded{padding-bottom:72px;padding-left:0}.studio-root .side-rail{border-radius:18px;flex-direction:row;justify-content:center;width:auto;height:56px;padding:6px 8px;inset:auto 8px 8px}.studio-root.rail-expanded .side-rail{align-items:center;width:auto;padding:6px 8px}.studio-root .rail-mark{display:none}.studio-root .rail-nav,.studio-root .rail-footer{flex-direction:row;gap:6px;width:auto}.studio-root .rail-group{flex-direction:row;width:auto}.studio-root .rail-group+.rail-group{margin-top:0}.studio-root .rail-group-label{display:none}.studio-root .rail-group-items{flex-direction:row;gap:6px;width:auto}.studio-root .rail-footer{align-items:center}.studio-root .rail-spacer{display:none}.studio-root .rail-btn,.studio-root .rail-footer .api-field{width:40px;height:40px}.studio-root .rail-btn .rail-label{display:none}.studio-root .rail-footer .api-field:hover,.studio-root .rail-footer .api-field:focus-within{width:auto;position:fixed;bottom:72px;left:12px;right:12px}.studio-root .rail-footer .api-field:hover input,.studio-root .rail-footer .api-field:focus-within input{width:100%}.studio-root header{flex-wrap:wrap;justify-content:center}.studio-root .creation-header{justify-content:flex-start;gap:10px}.studio-root .creation-title{width:100%;font-size:20px}.studio-root .creation-actions{flex-wrap:wrap;order:2;justify-content:flex-start;margin-left:0}.studio-root .creation-header .credits-badge{order:1;margin-left:auto}.studio-root main{padding-left:12px;padding-right:12px}.studio-root .session-footer{flex-wrap:wrap;gap:10px;min-height:48px;padding:8px 12px;bottom:76px;left:8px;right:8px}.studio-root.rail-expanded .session-footer{left:8px}.studio-root .session-footer .session-meta{display:none}.studio-root .session-footer .stat{font-size:11px}}.studio-root .auth-wrap{background:var(--scene,var(--bg));place-items:center;min-height:100dvh;padding:24px;display:grid}.studio-root .auth-card{background:var(--panel);border:1px solid var(--border);width:100%;max-width:420px;box-shadow:var(--shadow);border-radius:22px;padding:34px 32px}.studio-root .auth-head{text-align:center;flex-direction:column;align-items:center;gap:8px;margin-bottom:24px;display:flex}.studio-root .auth-head h1{font-family:var(--display);letter-spacing:-.01em;font-size:36px;font-weight:400;line-height:1.05}.studio-root .auth-sub{color:var(--muted);font-size:14px}.studio-root .auth-form{flex-direction:column;gap:14px;display:flex}.studio-root .auth-field{flex-direction:column;gap:6px;display:flex}.studio-root .auth-field input{background:var(--panel-2);border:1px solid var(--border-strong);width:100%;height:46px;color:var(--text);font-family:var(--sans);border-radius:11px;outline:none;padding:0 14px;font-size:14px}.studio-root .auth-field input::placeholder{color:var(--muted)}.studio-root .auth-field input:focus{border-color:var(--accent)}.studio-root .auth-msg{font-size:13px}.studio-root .auth-msg.error{color:var(--danger)}.studio-root .auth-msg.ok{color:#37c26b}.studio-root .auth-submit{justify-content:center;height:46px;margin-top:4px}.studio-root .auth-alt{text-align:center;color:var(--muted);margin-top:18px;font-size:13px}.studio-root .account-wrap{background:var(--scene,var(--bg));min-height:100dvh;padding:44px 24px}.studio-root .account-inner{flex-direction:column;gap:18px;max-width:760px;margin:0 auto;display:flex}.studio-root .account-head{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.studio-root .account-head h1{font-family:var(--display);letter-spacing:-.01em;flex:1;min-width:200px;font-size:36px;font-weight:400}.studio-root .account-card{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;padding:24px 26px}.studio-root .account-card h3{margin-bottom:14px;font-size:15px;font-weight:700}.studio-root .account-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.studio-root .account-eyebrow{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:12px}.studio-root .account-name{margin-top:2px;font-size:18px;font-weight:700}.studio-root .account-metric{letter-spacing:-.03em;margin:6px 0 2px;font-size:44px;font-weight:800;line-height:1}.studio-root .account-plan{text-transform:capitalize;margin:6px 0 2px;font-size:26px;font-weight:800}.studio-root .account-split{border-top:1px solid var(--border);gap:5px;margin-top:12px;padding-top:11px;display:grid}.studio-root .account-split span{justify-content:space-between;gap:10px;font-size:13px;display:flex}.studio-root .account-split i{color:var(--muted);font-size:12px;font-style:normal}.studio-root .ledger-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;padding:9px 0;font-size:14px;display:flex}.studio-root .ledger-row:first-child{border-top:none}.studio-root .ledger-row .muted{color:var(--muted)}@media (max-width:520px){.studio-root .account-grid{grid-template-columns:1fr}}.studio-root .admin-table-wrap{margin-top:6px;overflow-x:auto}.studio-root .admin-table{border-collapse:collapse;width:100%;min-width:520px;font-size:14px}.studio-root .admin-table th,.studio-root .admin-table td{text-align:left;border-top:1px solid var(--border);padding:11px 12px}.studio-root .admin-table thead th{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border-top:none;font-size:11px;font-weight:600}.studio-root .admin-table td.num,.studio-root .admin-table th.num{text-align:right;font-variant-numeric:tabular-nums}.studio-root .role-pill{background:var(--panel-2);border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:2px 9px;font-size:11px;display:inline-block}.studio-root .role-pill.admin{color:var(--accent);border-color:var(--accent)}.studio-root .admin-grid{grid-template-columns:repeat(4,1fr)}@media (max-width:900px){.studio-root .admin-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:520px){.studio-root .admin-grid{grid-template-columns:1fr}}.studio-root .admin-grid .account-metric{font-size:32px}.studio-root .admin-adjust{align-items:center;gap:6px;display:flex}.studio-root .admin-adjust input{background:var(--panel-2);border:1px solid var(--border-strong);width:88px;height:34px;color:var(--text);font-family:var(--mono);border-radius:9px;padding:0 10px;font-size:13px}.studio-root .admin-adjust input:focus{border-color:var(--accent);outline:none}.studio-root .admin-adjust .btn{height:34px;padding:0 12px;font-size:12px}.studio-root .admin-adjust-group{flex-direction:column;gap:6px;display:flex}.studio-root .admin-na{color:var(--muted)}.studio-root .admin-extra{color:var(--muted);margin-top:2px;font-size:11px;display:block}.studio-root .pend-card{border-color:var(--danger)}.studio-root .pend-doc{font-family:var(--mono);color:var(--muted);font-size:11px}.studio-root .pend-select{background:var(--panel-2);border:1px solid var(--border-strong);max-width:210px;height:34px;color:var(--text);border-radius:9px;padding:0 8px;font-size:12.5px}.studio-root .management-page{padding:clamp(28px,5vw,60px) 24px 72px}.studio-root .management-inner{gap:20px;max-width:1080px}.studio-root .account-page .management-inner{max-width:860px}.studio-root .management-page .account-head{justify-content:space-between;align-items:flex-start;gap:20px}.studio-root .management-page .account-head h1{flex:none;margin:2px 0 0}.studio-root .page-kicker{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:800}.studio-root .page-subtitle{max-width:560px;color:var(--muted);margin-top:7px;font-size:14px;line-height:1.5}.studio-root .page-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.studio-root .management-page .account-card{box-shadow:none;border-radius:16px}.studio-root .management-section{padding:22px 24px}.studio-root .section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:15px;display:flex}.studio-root .section-heading h3{margin:2px 0 0;font-size:18px}.studio-root .section-count{color:var(--muted);white-space:nowrap;flex:none;font-size:12px}.studio-root .management-note{border:1px solid var(--border);background:var(--panel-2);color:var(--muted);border-radius:12px;padding:12px 15px;font-size:13px;line-height:1.5}.studio-root .management-disclosure{border:1px solid var(--border);background:var(--panel);border-radius:14px;overflow:hidden}.studio-root .management-disclosure>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;font-size:14px;font-weight:700;list-style:none;display:flex}.studio-root .management-disclosure>summary::-webkit-details-marker{display:none}.studio-root .management-disclosure>summary:after{content:"+";color:var(--muted);font-size:19px;font-weight:400;line-height:1}.studio-root .management-disclosure[open]>summary{border-bottom:1px solid var(--border)}.studio-root .management-disclosure[open]>summary:after{content:"−"}.studio-root .management-disclosure summary small{color:var(--muted);margin-left:auto;font-size:12px;font-weight:400}.studio-root .disclosure-body{padding:18px}.studio-root .management-mini-grid{grid-template-columns:repeat(4,1fr);display:grid}.studio-root .management-mini-grid>div{border-left:1px solid var(--border);gap:4px;min-width:0;padding:4px 18px;display:grid}.studio-root .management-mini-grid>div:first-child{border-left:none}.studio-root .management-mini-grid span,.studio-root .management-mini-grid small{color:var(--muted);font-size:12px}.studio-root .management-mini-grid b{letter-spacing:-.02em;font-size:18px}.studio-root .admin-summary-grid{grid-template-columns:repeat(3,1fr)}.studio-root .admin-summary-grid .account-card{flex-direction:column;justify-content:center;min-height:154px;display:flex}.studio-root .admin-summary-grid .account-metric{font-size:clamp(30px,3vw,40px)}.studio-root .admin-secondary-stats{background:0 0}.studio-root .admin-reconcile{justify-content:space-between;align-items:center;gap:22px;display:flex}.studio-root .admin-reconcile .section-heading{margin:0}.studio-root .admin-reconcile>form,.studio-root .admin-reconcile>div:last-child{flex:none}.studio-root .admin-accounts .admin-table{min-width:780px}.studio-root .admin-table-wrap{margin:0 -6px}.studio-root .management-page .admin-table th,.studio-root .management-page .admin-table td{vertical-align:middle;padding:13px 12px}.studio-root .management-page .admin-table tbody tr:hover{background:color-mix(in srgb, var(--panel-2) 68%, transparent)}.studio-root .workspace-list-summary{justify-content:space-between;align-items:flex-end;gap:20px;padding:20px 24px;display:flex}.studio-root .workspace-list-summary .account-metric{font-size:38px}.studio-root .create-workspace-disclosure .disclosure-body{gap:14px;display:grid}.studio-root .workspace-table-card .admin-table{min-width:700px}.studio-root .workspace-hero-grid{grid-template-columns:repeat(3,1fr)}.studio-root .workspace-hero-grid .account-card{min-height:144px}.studio-root .workspace-hero-grid .account-metric{font-size:36px}.studio-root .workspace-form-grid{grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;display:grid}.studio-root .workspace-inline-form{border:1px solid var(--border);background:var(--panel-2);border-radius:12px;grid-template-columns:minmax(0,1fr) 104px auto;align-items:center;gap:8px;padding:14px;display:grid}.studio-root .workspace-inline-form strong{grid-column:1/-1;font-size:13px}.studio-root .workspace-inline-form input,.studio-root .workspace-inline-form select,.studio-root .workspace-action-row input,.studio-root .danger-zone input{border:1px solid var(--border-strong);background:var(--field);min-width:0;height:36px;color:var(--text);border-radius:9px;padding:0 10px}.studio-root .workspace-permission-groups{gap:10px;margin:16px 0;display:grid}.studio-root .workspace-permission-groups .management-disclosure{background:var(--panel-2)}.studio-root .workspace-permission-groups .management-disclosure>summary{padding:12px 14px}.studio-root .workspace-permission-groups .workspace-feature-grid{margin:0;padding:14px}.studio-root .workspace-feature{min-height:46px}.studio-root .workspace-action-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.studio-root .audit-disclosure .ledger-row{padding:11px 0}.studio-root .danger-disclosure{border-color:color-mix(in srgb, var(--danger) 45%, var(--border))}.studio-root .danger-disclosure .disclosure-body{padding:20px}.studio-root .danger-disclosure h3{margin-bottom:8px}.studio-root .account-hero{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:42px;padding:26px 28px;display:grid}.studio-root .account-identity .muted{color:var(--muted);margin-top:4px;font-size:14px}.studio-root .account-workspace-name{margin-top:14px}.studio-root .account-hero-stats{grid-template-columns:repeat(2,minmax(130px,1fr));gap:28px;display:grid}.studio-root .account-hero .account-metric{font-size:40px}.studio-root .account-hero-split{grid-column:1/-1;margin-top:22px}@media (max-width:900px){.studio-root .management-mini-grid{grid-template-columns:repeat(2,1fr);gap:14px 0}.studio-root .management-mini-grid>div:nth-child(3){border-left:none}.studio-root .workspace-form-grid{grid-template-columns:1fr}}@media (max-width:700px){.studio-root .management-page{padding:24px 14px 52px}.studio-root .management-page .account-head{display:grid}.studio-root .page-actions{justify-content:flex-start}.studio-root .admin-summary-grid,.studio-root .workspace-hero-grid{grid-template-columns:1fr}.studio-root .admin-summary-grid .account-card,.studio-root .workspace-hero-grid .account-card{min-height:auto}.studio-root .admin-reconcile{flex-direction:column;align-items:flex-start}.studio-root .account-hero{grid-template-columns:1fr;gap:24px;padding:22px}.studio-root .account-hero-stats{gap:18px}.studio-root .workspace-list-summary{flex-direction:column;align-items:flex-start}}@media (max-width:480px){.studio-root .management-mini-grid{grid-template-columns:1fr}.studio-root .management-mini-grid>div{border-left:none;border-top:1px solid var(--border);padding:12px 0 0}.studio-root .management-mini-grid>div:first-child{border-top:none;padding-top:0}.studio-root .workspace-inline-form{grid-template-columns:1fr}.studio-root .workspace-inline-form select,.studio-root .workspace-inline-form .btn{width:100%}.studio-root .section-heading{flex-direction:column;align-items:flex-start;gap:5px}}.studio-root .convert-scope{background:var(--panel-2);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:8px;margin:0 0 18px;padding:12px 14px;font-size:12.5px;line-height:1.5;display:flex}.studio-root .convert-scope-ok{color:var(--text)}.studio-root .convert-scope-no{color:var(--muted)}.studio-root .convert-scope b{font-weight:600}.studio-root .plans-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:34px;display:grid}@media (max-width:820px){.studio-root .plans-grid{grid-template-columns:1fr}}.studio-root .plan-card{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;flex-direction:column;gap:8px;padding:26px 24px;display:flex;position:relative}.studio-root .plan-card.featured{border-color:var(--accent)}.studio-root .plan-badge{background:var(--accent);color:var(--accent-contrast);letter-spacing:.1em;text-transform:uppercase;border-radius:999px;padding:3px 9px;font-size:10.5px;font-weight:700;position:absolute;top:-10px;left:24px}.studio-root .plan-card h3{font-family:var(--display);font-size:24px;font-weight:400}.studio-root .plan-price{font-family:var(--display);font-size:38px;line-height:1}.studio-root .plan-price span{color:var(--muted);font-size:14px;font-family:var(--sans)}.studio-root .plan-credits{color:var(--text);font-size:14px}.studio-root .plan-note{color:var(--muted);font-size:12px}.studio-root .plan-yield{color:var(--muted);margin-bottom:12px;font-size:13px}.studio-root .plan-card .btn{justify-content:center}.studio-root .plans-sub{font-family:var(--display);margin-bottom:4px;font-size:22px;font-weight:400}.studio-root .plans-hint{color:var(--muted);margin-bottom:14px;font-size:13px}.studio-root .packs-row{flex-wrap:wrap;gap:14px;display:flex}.studio-root .pack-card{background:var(--panel);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:6px;min-width:190px;padding:18px 20px;display:flex}.studio-root .pack-name{color:var(--muted);font-size:13px}.studio-root .pack-credits{font-size:18px;font-weight:600}.studio-root .pack-price{font-family:var(--display);margin-bottom:8px;font-size:24px}.studio-root .test-zone{border-top:1px dashed var(--border-strong);margin-top:40px;padding-top:26px}.studio-root .test-zone code{font-family:var(--mono);background:var(--panel-2);border-radius:5px;padding:1px 5px;font-size:12px}.studio-root .pack-card.test-card{border-style:dashed}.studio-root .plans-error{color:var(--danger);margin-top:16px;font-size:14px}.studio-root .taxid-overlay,.studio-root .dialog-overlay{z-index:400;-webkit-backdrop-filter:blur(12px)saturate(110%);backdrop-filter:blur(12px)saturate(110%);background:#050608b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.studio-root .taxid-card,.studio-root .dialog-card{background:#292a2d;border:1px solid #ffffff40;border-radius:18px;flex-direction:column;gap:10px;width:100%;max-width:420px;padding:28px;display:flex;box-shadow:0 30px 90px #000000ad,inset 0 1px #ffffff14}.studio-root[data-theme=light] .taxid-overlay,.studio-root[data-theme=light] .dialog-overlay{background:#14141973}.studio-root[data-theme=light] .taxid-card,.studio-root[data-theme=light] .dialog-card{background:#fff;border-color:#14141929;box-shadow:0 30px 82px #14141942,inset 0 1px #fffffff5}.studio-root .taxid-card h3,.studio-root .dialog-card h3{font-family:var(--display);font-size:24px;font-weight:400}.studio-root .taxid-card p,.studio-root .dialog-card p{color:var(--muted);font-size:14px;line-height:1.5}.studio-root .dialog-body{flex-direction:column;gap:8px;display:flex}.studio-root .dialog-actions .btn.ghost-danger,.studio-root:not([data-theme=light]) .dialog-actions .btn.ghost-danger{border-color:var(--danger);color:var(--danger)}.studio-root .dialog-actions .btn.ghost-danger:hover:not(:disabled),.studio-root:not([data-theme=light]) .dialog-actions .btn.ghost-danger:hover:not(:disabled){background:var(--danger);color:var(--bg)}.studio-root .taxid-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:6px;font-size:11px}.studio-root .taxid-input{background:var(--panel-2);border:1px solid var(--border-strong);height:46px;color:var(--text);font-family:var(--mono);border-radius:11px;padding:0 14px;font-size:15px}.studio-root .taxid-input:focus{border-color:var(--accent);outline:none}.studio-root .taxid-actions,.studio-root .dialog-actions{gap:10px;margin-top:14px;display:flex}.studio-root .taxid-actions .btn,.studio-root .dialog-actions .btn{flex:1;justify-content:center}.studio-root .dialog-input-label{color:var(--muted);flex-direction:column;gap:7px;margin-top:14px;font-size:12px;display:flex}.studio-root .dialog-input-label input{border:1px solid var(--border);background:var(--panel-2);min-height:42px;color:var(--text);font:14px var(--sans);border-radius:9px;padding:0 11px}.studio-root .dialog-input-label input:focus{outline:2px solid color-mix(in srgb, var(--accent) 55%, transparent);outline-offset:1px;border-color:var(--accent)}.studio-root .checkout-pending{border-color:var(--accent)}.studio-root .sub-row{border-top:1px solid var(--border);justify-content:space-between;padding:8px 0;font-size:14px;display:flex}.studio-root .sub-row:first-of-type{border-top:none}.studio-root .sub-warn{background:var(--panel-2);border:1px solid var(--danger);color:var(--danger);border-radius:10px;margin-top:10px;padding:10px 12px;font-size:13px;line-height:1.45}.studio-root .sub-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;display:flex}.studio-root .admin-create-workspace{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.studio-root .admin-create-workspace input,.studio-root .admin-create-workspace select,.studio-root .workspace-limits input{border:1px solid var(--border);background:var(--field);min-height:38px;color:var(--text);border-radius:10px;padding:0 11px}.studio-root .admin-create-workspace input[name=name]{min-width:210px}.studio-root .admin-create-workspace input[name=ownerEmail]{min-width:320px}.studio-root .admin-create-workspace input[type=email]{width:clamp(320px,30vw,390px);min-width:320px}.studio-root .admin-entity-section{scroll-margin-top:24px}.studio-root .admin-entity-section>.account-label{max-width:760px;margin:-6px 0 16px;line-height:1.55}.studio-root .team-entity-section{border-color:color-mix(in srgb, var(--accent) 34%, var(--border))}.studio-root .team-entity-section .create-workspace-disclosure{background:var(--panel-2);margin:18px 0}.studio-root .workspace-kind-form{border-top:1px solid var(--border);flex-wrap:wrap;align-items:flex-end;gap:10px 14px;margin-top:18px;padding-top:18px;display:flex}.studio-root .workspace-kind-form label{min-width:210px;color:var(--muted);gap:7px;font-size:12px;display:grid}.studio-root .workspace-kind-form select{border:1px solid var(--border);background:var(--field);min-height:38px;color:var(--text);font:inherit;border-radius:10px;padding:0 11px}.studio-root .workspace-kind-form .account-label{flex:320px;margin:0;line-height:1.45}.studio-root .workspace-feature-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px;margin:16px 0;display:grid}.studio-root .workspace-feature{border:1px solid var(--border);background:var(--card2);border-radius:10px;align-items:center;gap:9px;padding:10px 12px;font-size:14px;display:flex}.studio-root .workspace-feature input{width:16px;height:16px;accent-color:var(--accent)}.studio-root .workspace-limits{grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;margin:16px 0;display:grid}.studio-root .workspace-limits label{color:var(--muted);gap:6px;font-size:12px;display:grid}.studio-root .danger-zone{border-color:color-mix(in srgb, var(--danger) 45%, var(--border))}@media (max-width:760px){.studio-root .workspace-limits{grid-template-columns:repeat(2,minmax(130px,1fr))}.studio-root .admin-create-workspace input,.studio-root .admin-create-workspace select{width:100%}.studio-root .admin-create-workspace input[type=email]{min-width:0}}.studio-root .home{z-index:60;background-color:var(--bg);background-image:var(--scene);padding:clamp(34px,6vh,74px) 44px 72px 116px}.studio-root.rail-expanded .home{padding-left:248px}.studio-root .home-dashboard{gap:42px;max-width:1240px}.studio-root .home-top{grid-template-columns:minmax(0,1.32fr) minmax(310px,.68fr);align-items:end;gap:28px;min-height:270px;display:grid}.studio-root .home-intro{padding:14px 0}.studio-root .home-kicker,.studio-root .home-section-head>div>span{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:8px;font-size:11px;font-weight:600;display:inline-flex}.studio-root .home-pulse{background:var(--accent);width:7px;height:7px;box-shadow:0 0 0 5px var(--accent-dim);border-radius:50%}.studio-root .home-intro h1{font-family:var(--display);letter-spacing:-.065em;margin:14px 0;font-size:clamp(43px,5vw,72px);font-weight:400;line-height:.96}.studio-root .home-intro h1 em{font-style:italic;font-weight:600}.studio-root .home-intro>p{max-width:570px;color:var(--muted);font-size:16px;line-height:1.55}.studio-root .home-primary-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:28px;display:flex}.studio-root .home-primary-actions .btn{height:46px;text-decoration:none}.studio-root .home-create{padding:0 20px;font-size:14px}.studio-root .home-gallery-link{background:var(--panel-2)}.studio-root .home-video-link,.studio-root .home-section-head>a,.studio-root .home-workspace-foot a{color:var(--text);font-size:13px;font-weight:600;text-decoration:none}.studio-root .home-video-link{background:var(--panel-2);height:46px;color:var(--text);align-items:center;gap:7px;padding:0 17px;display:inline-flex}.studio-root .home-video-link:hover,.studio-root .home-section-head>a:hover,.studio-root .home-workspace-foot a:hover{color:var(--accent)}.studio-root .home-video-link svg{width:15px;height:15px}.studio-root .home-workspace{border:1px solid var(--rim);background:color-mix(in srgb, var(--panel) 90%, transparent);min-height:218px;box-shadow:var(--shadow), inset 0 1px 0 var(--rim);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border-radius:22px;flex-direction:column;justify-content:space-between;padding:22px;display:flex}.studio-root .home-workspace-head,.studio-root .home-credit-row,.studio-root .home-workspace-foot{justify-content:space-between;align-items:center;gap:14px;display:flex}.studio-root .home-workspace-head span,.studio-root .home-credit-row small{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;display:block}.studio-root .home-workspace-head strong{margin-top:6px;font-size:15px;font-weight:650;display:block}.studio-root .home-account-link{border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:7px 10px;font-size:12px;text-decoration:none}.studio-root .home-account-link:hover{border-color:var(--accent);color:var(--accent)}.studio-root .home-credit-row{border-top:1px solid var(--border);border-bottom:1px solid var(--border);justify-content:flex-start;padding:18px 0}.studio-root .home-credit-icon,.studio-root .home-tool-icon,.studio-root .home-empty-icon{border:1px solid var(--border);background:var(--panel-2);flex:none;place-items:center;display:grid}.studio-root .home-credit-icon{border-radius:13px;width:42px;height:42px}.studio-root .home-credit-icon svg{width:19px;height:19px}.studio-root .home-credit-row strong{font-variant-numeric:tabular-nums;margin-top:2px;font-size:25px;line-height:1;display:block}.studio-root .home-plan-pill{background:var(--accent-dim);color:var(--muted);text-transform:uppercase;border-radius:999px;margin-left:auto;padding:6px 9px;font-size:11px;font-weight:650}.studio-root .home-workspace-foot{color:var(--muted);font-size:12px}.studio-root .home-workspace-foot a{white-space:nowrap}.studio-root .home-section{min-width:0}.studio-root .home-section-head{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:15px;display:flex}.studio-root .home-section-head h2{font-family:var(--display);letter-spacing:-.035em;margin-top:6px;font-size:28px;font-weight:500;line-height:1}.studio-root .home-recent-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.studio-root .home-recent-card{border:1px solid var(--rim);background:color-mix(in srgb, var(--panel) 88%, transparent);min-width:0;color:var(--text);box-shadow:var(--shadow), inset 0 1px 0 var(--rim);border-radius:18px;text-decoration:none;transition:transform .18s,border-color .18s;overflow:hidden}.studio-root .home-recent-card:hover{border-color:var(--border-strong);transform:translateY(-4px)}.studio-root .home-recent-media{aspect-ratio:1.25;background:var(--canvas-empty);position:relative;overflow:hidden}.studio-root .home-recent-media img,.studio-root .home-recent-media video,.studio-root .home-recent-media .video-cover{object-fit:cover;width:100%;height:100%;display:block}.studio-root .home-recent-media .video-cover-play{width:42px;height:42px}.studio-root .home-recent-media>span{text-overflow:ellipsis;white-space:nowrap;color:#fff;background:#0c0c0eb8;border-radius:999px;max-width:calc(100% - 20px);padding:5px 8px;font-size:10px;font-weight:650;position:absolute;bottom:10px;left:10px;overflow:hidden}.studio-root .home-recent-copy{padding:13px 14px 14px}.studio-root .home-recent-copy strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:35px;font-size:13px;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.studio-root .home-recent-copy small{color:var(--muted);margin-top:9px;font-size:11px;display:block}.studio-root .home-recent-skeleton{border:1px solid var(--border);background:linear-gradient(100deg, var(--panel) 20%, var(--panel-2) 50%, var(--panel) 80%);background-size:200% 100%;border-radius:18px;min-height:225px;animation:1.25s ease-in-out infinite home-skeleton}@keyframes home-skeleton{to{background-position:-200% 0}}.studio-root .home-empty-recent{border:1px dashed var(--border-strong);background:color-mix(in srgb, var(--panel) 62%, transparent);border-radius:18px;align-items:center;gap:18px;min-height:168px;padding:26px;display:flex}.studio-root .home-empty-icon{border-radius:15px;width:48px;height:48px}.studio-root .home-empty-icon svg{width:21px;height:21px}.studio-root .home-empty-recent>div:nth-child(2){flex:1}.studio-root .home-empty-recent strong{font-size:15px}.studio-root .home-empty-recent p{max-width:520px;color:var(--muted);margin-top:6px;font-size:13px;line-height:1.5}.studio-root .home-tools-section{padding-bottom:24px}.studio-root .home-tools-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.studio-root .home-tool-card{border:1px solid var(--border);background:color-mix(in srgb, var(--panel) 78%, transparent);min-width:0;color:var(--text);border-radius:16px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;text-decoration:none;transition:border-color .16s,background-color .16s,transform .16s;display:grid}.studio-root .home-tool-card:hover{border-color:var(--border-strong);background:var(--panel-2);transform:translateY(-2px)}.studio-root .home-tool-icon{border-radius:12px;width:38px;height:38px}.studio-root .home-tool-icon svg{width:18px;height:18px}.studio-root .home-tool-card strong{font-size:13px;font-weight:650;display:block}.studio-root .home-tool-card p{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.35}.studio-root .home-tool-card>b{color:var(--muted);font-size:17px;font-weight:400}.studio-root .analytics-page{max-width:1420px}.studio-root .analytics-filters{grid-template-columns:repeat(6,minmax(130px,1fr)) auto;align-items:end;gap:10px;margin:22px 0;display:grid}.studio-root .analytics-filters label{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;gap:6px;font-size:11px;font-weight:650;display:grid}.studio-root .analytics-filters input,.studio-root .analytics-filters select{border:1px solid var(--border);background:var(--panel-2);width:100%;min-height:38px;color:var(--text);font:12px var(--sans);border-radius:9px;padding:0 10px}.studio-root .analytics-filters .btn{white-space:nowrap;min-height:38px}.studio-root .analytics-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-root .analytics-empty p+p{color:var(--muted);margin-top:7px}.studio-root .analytics-bars{gap:13px;display:grid}.studio-root .analytics-bar{grid-template-columns:minmax(160px,.9fr) minmax(150px,2fr) auto;align-items:center;gap:16px;display:grid}.studio-root .analytics-bar b,.studio-root .analytics-bar span{display:block}.studio-root .analytics-bar b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.studio-root .analytics-bar span{color:var(--muted);margin-top:3px;font-size:11px}.studio-root .analytics-bar strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.studio-root .analytics-track{background:var(--accent-dim);border-radius:999px;height:9px;overflow:hidden}.studio-root .analytics-track i{border-radius:inherit;background:var(--accent);height:100%;display:block}.studio-root .analytics-table td{vertical-align:middle}.studio-root .detail-report-page{max-width:1420px}.studio-root .detail-report-filters{grid-template-columns:repeat(4,minmax(140px,1fr)) auto;max-width:980px}.studio-root .detail-report-title{margin-bottom:16px}.studio-root .detail-report-title h2{letter-spacing:-.035em;font-size:27px}.studio-root .detail-report-title p{color:var(--muted);margin-top:5px;font-size:13px}.studio-root .detail-cost-cards{border:1px solid var(--border);background:var(--panel-2);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.studio-root .detail-cost-cards>div{border-right:1px solid var(--border);flex-direction:column;justify-content:space-between;min-height:116px;padding:17px;display:flex}.studio-root .detail-cost-cards>div:last-child{border-right:0}.studio-root .detail-cost-cards b{font-variant-numeric:tabular-nums;font-size:clamp(24px,2.3vw,34px);line-height:1}.studio-root .detail-cost-cards span{color:var(--muted);letter-spacing:.06em;margin-top:12px;font-size:10px;font-weight:700}.studio-root .detail-cost-cards small{color:var(--muted);margin-top:10px;font-size:11px;line-height:1.3}.studio-root .detail-report-section h3,.studio-root .detail-reading h3{letter-spacing:-.02em;margin:22px 0 9px;font-size:20px}.studio-root .detail-reading p{max-width:900px;font-size:14px;line-height:1.5}.studio-root .detail-table th,.studio-root .detail-table td{white-space:nowrap}.studio-root .operator-cost-table td:not(:first-child),.studio-root .operator-cost-table th:not(:first-child){text-align:center}@media (max-width:980px){.studio-root .home{padding-left:88px;padding-right:26px}.studio-root.rail-expanded .home{padding-left:226px}.studio-root .home-top{grid-template-columns:1fr;align-items:stretch}.studio-root .home-workspace{min-height:0}.studio-root .home-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-root .analytics-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-root .analytics-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-root .detail-report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-root .copy-workspace{grid-template-columns:210px minmax(0,1fr)}}@media (max-width:700px){.studio-root .home{padding:34px 18px 100px}.studio-root.rail-expanded .home{padding-left:18px}.studio-root .home-dashboard{gap:32px}.studio-root .home-top{gap:20px;min-height:0}.studio-root .home-intro h1{font-size:48px}.studio-root .home-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-root .home-tools-grid{grid-template-columns:1fr}.studio-root .analytics-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-root .analytics-bar{grid-template-columns:1fr auto;gap:8px 12px}.studio-root .analytics-track{grid-area:2/1/auto/-1}.studio-root .detail-cost-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-root .detail-cost-cards>div:nth-child(2){border-right:0}.studio-root .detail-cost-cards>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.studio-root .copy-workspace{grid-template-columns:1fr;padding:8px}.studio-root .copy-offers-panel{position:static}.studio-root .copy-offers-list{flex-direction:row;overflow-x:auto}.studio-root .copy-offer-row{min-width:170px}.studio-root .copy-form-card{padding:14px}.studio-root .copy-form-footer{flex-direction:column;align-items:stretch}.studio-root .copy-form-footer .btn.primary{width:100%}.studio-root .copy-chat-card{border-radius:15px;min-height:calc(100dvh - 88px)}.studio-root .copy-chat-head{padding:14px}.studio-root .copy-context{margin:10px 10px 0}.studio-root .copy-chat-thread{min-height:280px;padding:14px 12px}.studio-root .copy-message-user{max-width:94%}.studio-root .copy-message-assistant pre{padding:12px;font-size:12px}.studio-root .copy-composer{border-radius:18px;margin:auto 16px 16px;padding:14px}.studio-root .copy-composer textarea{padding:10px 12px}.studio-root .copy-composer footer{flex-direction:column;align-items:stretch}.studio-root .copy-composer .copy-models{width:100%}.studio-root .copy-composer .copy-model{flex:1;min-width:0}.studio-root .copy-send-wrap{justify-content:space-between}}@media (max-width:460px){.studio-root .home-primary-actions{align-items:stretch}.studio-root .home-primary-actions .btn{flex:1;justify-content:center}.studio-root .home-video-link{justify-content:center;width:100%}.studio-root .home-workspace{padding:18px}.studio-root .home-workspace-foot,.studio-root .home-empty-recent{flex-direction:column;align-items:flex-start}.studio-root .home-empty-recent .btn{justify-content:center;width:100%}.studio-root .home-recent-copy{padding:11px}.studio-root .analytics-filters,.studio-root .analytics-summary-grid,.studio-root .detail-report-filters,.studio-root .detail-cost-cards{grid-template-columns:1fr}.studio-root .detail-cost-cards>div{border-right:0;border-bottom:1px solid var(--border);min-height:92px}.studio-root .detail-cost-cards>div:last-child{border-bottom:0}}
