@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.\!container{width:100%!important}@media (min-width:40rem){.\!container{max-width:40rem!important}}@media (min-width:48rem){.\!container{max-width:48rem!important}}@media (min-width:64rem){.\!container{max-width:64rem!important}}@media (min-width:80rem){.\!container{max-width:80rem!important}}@media (min-width:96rem){.\!container{max-width:96rem!important}}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline{display:inline}.table{display:table}.resize{resize:both}.text-end{text-align:end}.text-start{text-align:start}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root,[data-theme=dark]{--studio-bg:#12151a;--studio-canvas:#13171d;--studio-panel:#0d1014;--studio-surface:#1b1f26;--studio-surface-raised:#202630;--studio-surface-soft:#181d24;--studio-surface-sunken:#0e1114;--studio-input:#171c22;--studio-topbar:#111419f5;--studio-popover:#1b1f26fa;--studio-composer-band:#0d1014eb;--studio-hover:#202630;--studio-hover-soft:#ffffff0e;--studio-active:#ffffff14;--studio-border:#2a2f37;--studio-border-strong:#3a4048;--studio-text:#e9ecef;--studio-text-secondary:#c6cbd2;--studio-muted:#a6adb7;--studio-subtle:#858e99;--studio-primary:#f2f3f5;--studio-on-primary:#14171c;--studio-primary-soft:#252b34;--studio-accent:#2dd4bf;--studio-accent-soft:#2dd4bf1f;--studio-accent-border:#2dd4bf6b;--studio-focus:#2dd4bf57;--studio-cyan:var(--studio-accent);--studio-green:#4ade80;--studio-green-soft:#4ade801f;--studio-warning:#fbbf24;--studio-warning-soft:#fbbf241f;--studio-danger:#fb7185;--studio-danger-soft:#fb71851f;--studio-info:#93c5fd;--studio-info-soft:#93c5fd1f;--studio-overlay:#040609c2;--studio-overlay-control:#07090cc2;--studio-overlay-text:#f8fafc;--studio-shadow:0 14px 34px #00000061;--studio-shadow-soft:0 10px 28px #0000003d;--studio-shadow-popover:0 18px 48px #00000075}[data-theme=light]{--studio-bg:#f8faf9;--studio-canvas:#f8faf9;--studio-panel:#f2f4f2;--studio-surface:#fff;--studio-surface-raised:#fff;--studio-surface-soft:#f3f5f3;--studio-surface-sunken:#eef1ef;--studio-input:#fff;--studio-topbar:#fffffff0;--studio-popover:#fffffffa;--studio-composer-band:#f8faf9f0;--studio-hover:#fff;--studio-hover-soft:#1717170b;--studio-active:#17171712;--studio-border:#e1e6e2;--studio-border-strong:#cdd5cf;--studio-text:#171717;--studio-text-secondary:#4b5563;--studio-muted:#5f6772;--studio-subtle:#68707b;--studio-primary:#171717;--studio-on-primary:#f8faf9;--studio-primary-soft:#f3f4f3;--studio-accent:#0f766e;--studio-accent-soft:#edf7f5;--studio-accent-border:#0f766e75;--studio-focus:#0f766e47;--studio-cyan:var(--studio-accent);--studio-green:#15803d;--studio-green-soft:#ecfdf3;--studio-warning:#9a5414;--studio-warning-soft:#fff7ed;--studio-danger:#b42318;--studio-danger-soft:#fff1f0;--studio-info:#1d4ed8;--studio-info-soft:#eff6ff;--studio-overlay:#17171752;--studio-overlay-control:#171717b8;--studio-overlay-text:#fff;--studio-shadow:0 12px 30px #1717170f;--studio-shadow-soft:0 10px 28px #1717170d;--studio-shadow-popover:0 16px 42px #1717171f}[data-theme=black]{--studio-bg:#000;--studio-canvas:#050607;--studio-panel:#000;--studio-surface:#101113;--studio-surface-raised:#17181b;--studio-surface-soft:#0a0b0d;--studio-surface-sunken:#050607;--studio-input:#101215;--studio-topbar:#000000f5;--studio-popover:#101113fc;--studio-composer-band:#000000f0;--studio-hover:#17181b;--studio-hover-soft:#ffffff0f;--studio-active:#ffffff17;--studio-border:#222428;--studio-border-strong:#35383e;--studio-text:#f2f3f5;--studio-text-secondary:#d1d5db;--studio-muted:#a1a7b0;--studio-subtle:#7f8792;--studio-primary:#f4f5f6;--studio-on-primary:#050607;--studio-primary-soft:#1a1c20;--studio-accent:#2dd4bf;--studio-accent-soft:#2dd4bf21;--studio-accent-border:#2dd4bf70;--studio-focus:#2dd4bf5c;--studio-cyan:var(--studio-accent);--studio-green:#4ade80;--studio-green-soft:#4ade8021;--studio-warning:#fbbf24;--studio-warning-soft:#fbbf2421;--studio-danger:#fb7185;--studio-danger-soft:#fb718521;--studio-info:#93c5fd;--studio-info-soft:#93c5fd21;--studio-overlay:#000000d6;--studio-overlay-control:#000000d1;--studio-overlay-text:#f8fafc;--studio-shadow:0 14px 36px #000000a3;--studio-shadow-soft:0 10px 30px #00000085;--studio-shadow-popover:0 18px 52px #000000b8}*{box-sizing:border-box}html,body{height:100%;overflow:hidden}body{background:var(--studio-bg);color:var(--studio-text);letter-spacing:0;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;transition:background-color .12s,color .12s}button,input,select,textarea{font:inherit}button{cursor:pointer}input[type=checkbox],input[type=radio]{accent-color:var(--studio-accent)}:focus-visible{outline:2px solid var(--studio-focus);outline-offset:2px}@media (prefers-reduced-motion:reduce){body{transition:none}}.studio-root{background:var(--studio-bg);flex-direction:column;height:100dvh;min-height:0;max-height:100dvh;display:flex;overflow:hidden}.studio-topbar{z-index:80;border-bottom:1px solid var(--studio-border);background:var(--studio-topbar);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);flex:0 0 60px;justify-content:space-between;align-items:center;height:60px;padding:0 22px;display:flex;position:relative}.studio-mobile-menu,.studio-mobile-title{display:none!important}.studio-mobile-menu-button{border:1px solid var(--studio-border);background:var(--studio-surface);width:38px;height:38px;color:var(--studio-text);border-radius:8px;place-items:center;display:grid}.studio-mobile-nav-menu{z-index:90;border:1px solid var(--studio-border);background:var(--studio-popover);width:min(260px,100vw - 24px);box-shadow:var(--studio-shadow-popover);border-radius:12px;gap:4px;padding:6px;display:grid;position:absolute;top:calc(100% + 8px);left:0}.studio-mobile-nav-link{color:var(--studio-muted);border-radius:8px;padding:11px 12px;font-size:14px;text-decoration:none}.studio-mobile-nav-link.is-active{background:var(--studio-primary-soft);color:var(--studio-text)}.studio-brand{align-items:center;gap:10px;min-width:160px;font-weight:500;display:flex}.studio-logo-mark{border-radius:8px;flex:0 0 32px;width:32px;height:32px;box-shadow:0 1px 2px #1717171f}.studio-logo-wordmark{color:var(--studio-text)}.studio-nav{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:999px;align-items:center;gap:4px;padding:3px;display:flex}.studio-nav-link{color:var(--studio-muted);border-radius:999px;padding:9px 13px;font-size:14px;font-weight:400;line-height:1;text-decoration:none}.studio-nav-link.is-active{background:var(--studio-primary-soft);color:var(--studio-primary);box-shadow:inset 0 0 0 1px var(--studio-border);font-weight:500}.studio-actions{justify-content:flex-end;align-items:center;gap:10px;min-width:160px;display:flex}.icon-button,.avatar-button,.send-button,.new-chat-button,.collapse-button,.history-icon-button,.reference-button{border:1px solid var(--studio-border);background:var(--studio-surface);color:var(--studio-text);place-items:center;transition:border-color .15s,background .15s,color .15s,box-shadow .15s;display:inline-grid}.icon-button,.avatar-button,.collapse-button,.history-icon-button{border-radius:8px;width:38px;height:38px}.avatar-button{color:#fff;background:linear-gradient(135deg,#4285f4,#34a853);border:0;border-radius:999px;font-size:13px;font-weight:500}.icon-button:hover,.collapse-button:hover,.history-icon-button:hover,.new-chat-button:hover,.reference-button:hover{border-color:var(--studio-border-strong);background:var(--studio-hover)}.avatar-button-placeholder{opacity:.48}.studio-user-menu{position:relative}.studio-user-dropdown{z-index:60;border:1px solid var(--studio-border);background:var(--studio-popover);width:286px;box-shadow:var(--studio-shadow-popover);border-radius:12px;padding:6px;position:absolute;top:calc(100% + 10px);right:0}.studio-user-summary{border-bottom:1px solid var(--studio-border);margin-bottom:6px;padding:10px 10px 11px}.studio-user-summary p{color:var(--studio-text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;font-weight:500;overflow:hidden}.studio-user-summary div{justify-content:space-between;align-items:center;gap:8px;margin-top:7px;display:flex}.studio-user-summary span{color:var(--studio-muted);font-size:12px}.studio-user-summary b{color:var(--studio-text);font-weight:500}.studio-user-summary a{background:var(--studio-primary);color:var(--studio-on-primary);border-radius:8px;padding:3px 8px;font-size:11px;text-decoration:none}.studio-user-dropdown>a,.studio-user-dropdown>button{width:100%;color:var(--studio-text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:8px;padding:10px;font-size:14px;text-decoration:none;display:block}.studio-user-dropdown>a:hover,.studio-user-dropdown>button:hover{background:var(--studio-surface-soft)}.studio-auth-actions{align-items:center;gap:8px;display:inline-flex}.studio-auth-actions a{color:var(--studio-text);border-radius:10px;padding:9px 10px;font-size:13px;text-decoration:none}.studio-auth-actions a:last-child{background:var(--studio-primary);color:var(--studio-on-primary)}.studio-theme-control{border-bottom:1px solid var(--studio-border);margin-bottom:6px;padding:5px 4px 10px}.studio-theme-control-head{min-height:30px;color:var(--studio-muted);align-items:center;gap:7px;padding:0 6px;font-size:12px;display:flex}.studio-theme-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.studio-theme-option{border:1px solid var(--studio-border);background:var(--studio-surface-soft);min-width:0;min-height:52px;color:var(--studio-muted);font:inherit;text-align:left;border-radius:10px;grid-template-columns:28px minmax(0,1fr) 14px;align-items:center;gap:7px;padding:7px;font-size:11px;font-weight:500;transition:border-color .14s,background .14s,color .14s,transform .14s;display:grid;position:relative}.studio-theme-option:hover{border-color:var(--studio-border-strong);background:var(--studio-hover);color:var(--studio-text)}.studio-theme-option:active{transform:scale(.98)}.studio-theme-option.is-selected{border-color:var(--studio-accent-border);background:var(--studio-accent-soft);color:var(--studio-text)}.studio-theme-option-preview{border:1px solid #ffffff29;border-radius:8px;place-items:center;width:28px;height:28px;display:grid;box-shadow:inset 0 0 0 1px #00000014}.studio-theme-option-preview[data-theme-preview=system]{color:#66707c;background:linear-gradient(135deg,#f8faf9 0 50%,#12151a 50%)}.studio-theme-option-preview[data-theme-preview=light]{color:#4b5563;background:#f8faf9;border-color:#d8ded9}.studio-theme-option-preview[data-theme-preview=dark]{color:#d8dde3;background:#13171d;border-color:#3a4048}.studio-theme-option-preview[data-theme-preview=black]{color:#f2f3f5;background:#000;border-color:#34373d}.studio-theme-option-check{opacity:0;color:var(--studio-accent)}.studio-theme-option.is-selected .studio-theme-option-check{opacity:1}@media (prefers-reduced-motion:reduce){.studio-theme-option{transition:none}}.chat-workspace{flex:1;height:calc(100dvh - 60px);min-height:0;display:flex;position:relative;overflow:hidden}.history-panel{border-right:1px solid var(--studio-border);background:var(--studio-panel);flex-direction:column;flex:0 0 260px;gap:8px;width:260px;height:100%;min-height:0;padding:10px;transition:width .16s,flex-basis .16s,padding .16s;display:flex}.history-panel.is-collapsed{flex-basis:56px;align-items:center;gap:8px;width:56px;padding:10px 8px}.history-head{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;width:100%;display:grid}.history-product-links{display:none!important}.history-panel.is-collapsed .history-head{flex-direction:column;gap:4px;width:40px;display:flex}.new-chat-button{width:100%;min-height:40px;color:var(--studio-text);background:0 0;border:0;border-radius:8px;justify-content:flex-start;align-items:center;gap:8px;padding:0 9px;font-size:13px;font-weight:500;display:flex}.history-panel.is-collapsed .collapse-button,.history-panel.is-collapsed .new-chat-button{border-radius:8px;flex:0 0 36px;justify-content:center;width:36px;height:36px;min-height:36px;padding:0}.history-panel.is-collapsed .collapse-button svg,.history-panel.is-collapsed .new-chat-button svg{width:17px;height:17px}.history-panel.is-collapsed .new-chat-button span,.history-panel.is-collapsed .history-search,.history-panel.is-collapsed .history-clear-button,.history-panel.is-collapsed .history-list-head,.history-panel.is-collapsed .history-product-links,.history-panel.is-collapsed .history-list{display:none!important}.collapse-button{background:0 0;border-color:#0000;width:36px;height:36px}.history-panel.is-collapsed .collapse-button{order:-1}.history-search{background:var(--studio-surface-soft);min-height:36px;color:var(--studio-muted);border:1px solid #0000;border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.history-search:focus-within{border-color:var(--studio-border-strong);background:var(--studio-input)}.history-search input{width:100%;min-width:0;color:var(--studio-text);font:inherit;background:0 0;border:0;outline:none;font-size:13px}.history-search input::placeholder{color:var(--studio-muted)}.history-clear-button{width:28px;height:28px;color:var(--studio-muted);background:0 0;border:0;border-radius:7px;place-items:center;transition:background .15s,color .15s;display:grid}.history-clear-button:hover{background:var(--studio-hover-soft);color:var(--studio-text)}.history-list-head{min-height:30px;color:var(--studio-muted);justify-content:space-between;align-items:center;padding:2px 6px 0 8px;font-size:12px;display:flex}.history-list{flex-direction:column;flex:1;gap:2px;min-height:0;padding-right:1px;display:flex;overflow-y:auto}.history-row{background:0 0;border:0;border-radius:8px;grid-template-columns:1fr auto;align-items:center;transition:background .12s;display:grid}.history-row.is-active{background:var(--studio-active)}.history-row:not(.is-active):hover{background:var(--studio-hover-soft)}.history-row:hover .history-item-actions,.history-row:focus-within .history-item-actions{opacity:1}.history-item{min-width:0;color:var(--studio-text);text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:1fr auto;gap:6px;padding:8px 9px;display:grid}.history-item-actions{opacity:0;align-items:center;gap:2px;padding-right:5px;transition:opacity .15s;display:flex}.history-item-actions button,.history-rename-form button{width:27px;height:27px;color:var(--studio-muted);background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;display:grid}.history-item-actions button:hover,.history-rename-form button:hover{background:var(--studio-hover-soft);color:var(--studio-text);border-color:#0000}.history-rename-form{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding:6px;display:grid}.history-rename-form input{border:1px solid var(--studio-border);background:var(--studio-input);min-width:0;color:var(--studio-text);font:inherit;border-radius:8px;outline:none;padding:0 9px;font-size:13px}.history-rename-form input:focus{border-color:var(--studio-accent-border);box-shadow:0 0 0 3px var(--studio-accent-soft)}.history-item-title{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:400;overflow:hidden}.history-item-meta{color:var(--studio-muted);font-size:12px}.history-empty{color:var(--studio-muted);text-align:left;padding:14px 9px;font-size:13px;font-weight:400}.history-backdrop{z-index:25;background:var(--studio-overlay);border:0;position:absolute;inset:0}.chat-main{flex:1;grid-template-rows:1fr auto;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.chat-main.is-empty{grid-template-rows:auto auto;align-content:center;row-gap:18px}.chat-main.is-empty .message-strip{padding:0 24px;overflow:visible}.chat-main.is-empty .messages-inner{width:min(720px,100%)}.chat-main.is-empty .empty-state{min-height:auto}.chat-main.is-empty .composer-shell{background:0 0;border-top:0;padding:0 24px}.chat-main.is-empty .composer{width:min(720px,100%)}.chat-file-drop-overlay{z-index:40;background:var(--studio-canvas);border:1px dashed #1d807494;border-radius:16px;place-items:center;display:grid;position:absolute;inset:10px}@supports (color:color-mix(in lab, red, red)){.chat-file-drop-overlay{background:color-mix(in srgb, var(--studio-canvas) 88%, var(--studio-accent) 12%)}}.chat-file-drop-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none}.chat-file-drop-card{max-width:min(420px,100% - 32px);color:var(--studio-accent);text-align:center;flex-direction:column;align-items:center;gap:7px;display:flex}.chat-file-drop-card strong{color:var(--studio-text);font-size:16px;font-weight:650}.chat-file-drop-card span{color:var(--studio-muted);font-size:12px;line-height:1.5}.message-strip{min-height:0;padding:22px 24px 14px;overflow-y:auto}.messages-inner{flex-direction:column;gap:18px;width:min(820px,100%);margin:0 auto;display:flex}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:22px;width:100%;min-height:clamp(120px,22vh,190px);display:flex}.empty-state h1{color:var(--studio-text);letter-spacing:0;margin:0;font-size:clamp(28px,3vw,38px);font-weight:500}.empty-state h1 em{color:var(--studio-accent);font-style:normal;position:relative}.empty-state h1 em:after{background:var(--studio-accent-soft);content:"";z-index:-1;border-radius:3px;height:6px;position:absolute;bottom:2px;left:2px;right:2px}.empty-state p{max-width:560px;color:var(--studio-muted);margin:8px auto 0;font-size:14px;line-height:1.6}.starter-prompts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(680px,100%);display:grid}.starter-prompts button{border:1px solid var(--studio-border);background:var(--studio-surface-soft);min-height:42px;color:var(--studio-muted);text-align:left;border-radius:10px;align-items:center;gap:9px;padding:9px 12px;font-size:13px;line-height:1.45;transition:border-color .14s,background .14s,color .14s;display:flex}.starter-prompt-icon{background:var(--studio-surface-soft);width:24px;height:24px;color:var(--studio-subtle);border-radius:8px;flex:0 0 24px;place-items:center;transition:background .14s,color .14s;display:grid}.starter-prompts button:hover,.starter-prompts button:focus-visible{border-color:var(--studio-accent-border);background:var(--studio-surface-raised);color:var(--studio-text);outline:none}.starter-prompts button:hover .starter-prompt-icon,.starter-prompts button:focus-visible .starter-prompt-icon{background:var(--studio-accent-soft);color:var(--studio-accent)}.load-older-messages{border:1px solid var(--studio-border);background:var(--studio-surface);color:var(--studio-muted);border-radius:999px;align-self:center;padding:7px 13px;font-size:12px}.load-older-messages:hover{border-color:var(--studio-border-strong);color:var(--studio-text)}.message{gap:0;display:flex}.message.is-user{justify-content:flex-end}.message-body{max-width:min(680px,78%);padding:0;font-size:15px;line-height:1.65}.message-content{overflow-wrap:anywhere;white-space:normal}.message:not(.is-user) .message-body{max-width:min(720px,100%)}.message.is-user .message-body{flex-direction:column;align-items:flex-end;display:flex}.message.is-user .message-content{background:var(--studio-surface-soft);max-width:100%;color:var(--studio-text);border-radius:18px;padding:9px 14px}.message-label{display:none}.composer-shell{border-top:1px solid var(--studio-border);background:var(--studio-composer-band);padding:12px 24px 16px}.composer{border:1px solid var(--studio-border-strong);background:var(--studio-surface);width:min(860px,100%);box-shadow:var(--studio-shadow-soft);border-radius:12px;margin:0 auto;padding:10px}.composer:focus-within{border-color:var(--studio-accent-border);box-shadow:var(--studio-shadow)}.hidden-file-input{display:none}.composer-input-row{min-height:56px;display:block;position:relative}.reference-button{background:var(--studio-surface-soft);width:56px;height:56px;color:var(--studio-muted);border-radius:12px;align-self:start}.reference-button.is-active{border-color:var(--studio-accent-border);background:var(--studio-accent-soft);color:var(--studio-accent)}.reference-button:disabled{cursor:not-allowed;opacity:.5}.composer-textarea{overscroll-behavior:contain;resize:none;width:100%;min-height:56px;max-height:min(32dvh,280px);color:var(--studio-text);background:0 0;border:0;outline:0;padding:4px 2px;font-size:15px;line-height:1.6;overflow-y:hidden}.composer-textarea.has-expand-control{padding-right:40px}.composer-textarea::placeholder{color:var(--studio-subtle)}.composer-expand-button{z-index:2;border:1px solid var(--studio-border);background:var(--studio-input);width:32px;height:32px;color:var(--studio-muted);box-shadow:var(--studio-shadow-soft);border-radius:9px;place-items:center;transition:border-color .15s,background .15s,color .15s,transform .15s;display:grid;position:absolute;top:2px;right:0}.composer-expand-button:hover,.composer-expand-button:focus-visible{border-color:var(--studio-border-strong);background:var(--studio-surface-soft);color:var(--studio-text);transform:translateY(-1px)}.attachment-row{align-items:center;gap:8px;min-width:0;margin:0 0 10px;display:flex}.composer-attachment-row{flex-wrap:wrap;align-items:flex-start;margin:0 0 6px;padding:1px 2px 0}.attachment-list{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.attachment-list.is-readonly{margin-bottom:8px}.attachment-list.is-image-mode{align-items:flex-start}.attachment-list.is-compact{gap:10px;overflow:visible}.attachment-chip{border:1px solid var(--studio-border);background:var(--studio-surface-soft);max-width:min(260px,100%);color:var(--studio-text);border-radius:10px;align-items:center;gap:7px;padding:6px 7px;display:inline-flex}.attachment-chip.is-image-reference{max-width:184px;padding:5px;position:relative}.attachment-list.is-compact .attachment-chip.is-image-attachment{background:var(--studio-surface-raised);width:62px;height:62px;box-shadow:0 1px 2px var(--studio-text);border-color:#17171724;border-radius:12px;flex:0 0 62px;position:relative}@supports (color:color-mix(in lab, red, red)){.attachment-list.is-compact .attachment-chip.is-image-attachment{box-shadow:0 1px 2px color-mix(in srgb, var(--studio-text) 8%, transparent)}}.attachment-list.is-compact .attachment-chip.is-image-attachment{padding:0}.attachment-list.is-compact .attachment-chip.is-image-attachment .attachment-chip-copy{display:none}.attachment-list.is-compact .attachment-image-preview{border-radius:11px;flex-basis:100%;width:100%;height:100%}.attachment-list.is-compact .attachment-chip.is-image-attachment .attachment-remove{z-index:2;border:2px solid var(--studio-surface);color:#fff;background:#1f2329;flex-basis:21px;width:21px;height:21px;position:absolute;top:-7px;right:-7px;box-shadow:0 2px 7px #1717172e}.attachment-list.is-compact .attachment-chip.is-image-attachment .attachment-remove:hover,.attachment-list.is-compact .attachment-chip.is-image-attachment .attachment-remove:focus-visible{color:#fff;background:#080a0d}.attachment-list.is-compact .attachment-sort-actions{bottom:4px;left:4px}.attachment-list.is-compact .attachment-chip:not(.is-image-reference){min-height:50px}.attachment-chip.is-dragging{opacity:.5}.attachment-image-preview{background:var(--studio-surface-sunken);cursor:zoom-in;border:0;border-radius:8px;flex:0 0 48px;width:48px;height:48px;padding:0;position:relative;overflow:hidden}.attachment-image-preview img{object-fit:cover;width:100%;height:100%;display:block}.attachment-image-preview span{color:#fff;background:#111827b8;border-radius:5px;padding:1px 4px;font-size:9px;font-weight:700;line-height:1.4;position:absolute;top:3px;left:3px}.attachment-sort-actions{color:#fff;opacity:0;background:#111827b8;border-radius:999px;align-items:center;gap:1px;padding:1px;transition:opacity .14s;display:inline-flex;position:absolute;bottom:7px;left:7px}.attachment-chip.is-image-reference:hover .attachment-sort-actions,.attachment-chip.is-image-reference:focus-within .attachment-sort-actions{opacity:1}.attachment-sort-actions button{width:20px;height:20px;color:inherit;background:0 0;border:0;border-radius:999px;place-items:center;display:grid}.attachment-sort-actions button:disabled{opacity:.3}.attachment-chip-icon{background:var(--studio-input);width:26px;height:26px;color:var(--studio-primary);border-radius:10px;flex:0 0 26px;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #1717171f}.attachment-chip-copy{gap:1px;min-width:0;display:grid}.attachment-chip-name,.attachment-chip-meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-chip-name{color:var(--studio-text);font-size:12px;font-weight:500;line-height:1.25}.attachment-chip-meta{color:var(--studio-muted);font-size:11px;font-weight:400}.attachment-remove{background:var(--studio-hover-soft);width:22px;height:22px;color:var(--studio-muted);border:0;border-radius:999px;flex:0 0 22px;place-items:center;display:grid}.attachment-status,.attachment-error{font-size:12px;font-weight:400}.attachment-status{color:var(--studio-muted)}.attachment-error{color:#b42318}.attachment-guidance{max-width:190px;color:var(--studio-muted);flex:none;font-size:11px;line-height:1.4}.attachment-mention-popover{z-index:40;overscroll-behavior:contain;border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:12px;width:min(360px,100%);max-height:min(220px,100dvh - 180px);padding:5px;position:absolute;top:auto;bottom:calc(100% + 8px);left:0;overflow-y:auto;box-shadow:0 16px 36px #171b2429}.attachment-mention-popover.is-expanded{z-index:4;width:min(420px,100% - 28px);max-height:min(260px,42dvh);top:14px;bottom:auto;left:14px}.attachment-mention-option{width:100%;color:var(--studio-text);text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:9px;padding:7px;display:flex}.attachment-mention-option:hover,.attachment-mention-option:focus-visible,.attachment-mention-option.is-active{background:var(--studio-surface-soft)}.attachment-mention-option img{object-fit:cover;border-radius:8px;flex:0 0 36px;width:36px;height:36px}.attachment-mention-option span{gap:1px;min-width:0;display:grid}.attachment-mention-option strong{font-size:12px}.attachment-mention-option small{color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.attachment-preview-backdrop{z-index:160;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0a0e14d1;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.composer-editor-backdrop{z-index:150;background:var(--studio-overlay);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.composer-editor-dialog{border:1px solid var(--studio-border);background:var(--studio-surface);width:min(920px,100vw - 48px);height:min(720px,100dvh - 48px);min-height:420px;box-shadow:var(--studio-shadow-popover);border-radius:18px;flex-direction:column;display:flex;position:relative;overflow:hidden}.chat-file-drop-overlay.is-editor{z-index:10;inset:10px}.composer-editor-header{border-bottom:1px solid var(--studio-border);flex:none;justify-content:space-between;align-items:center;gap:18px;padding:17px 20px;display:flex}.composer-editor-header>div{min-width:0}.composer-editor-header h2{color:var(--studio-text);letter-spacing:-.015em;margin:0;font-size:17px;font-weight:650;line-height:1.25}.composer-editor-header p{color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:12px;line-height:1.45;overflow:hidden}.composer-editor-header>button{border:1px solid var(--studio-border);background:var(--studio-surface-soft);width:36px;height:36px;color:var(--studio-text);border-radius:10px;flex:0 0 36px;place-items:center;display:grid}.composer-editor-body{flex-direction:column;flex:auto;gap:10px;min-height:0;padding:14px 16px;display:flex}.composer-editor-attachments{border-bottom:1px solid var(--studio-border);flex-wrap:wrap;flex:none;align-items:flex-start;gap:8px;padding:0 2px 12px;display:flex}.composer-editor-input-wrap{flex:auto;min-height:0;display:flex;position:relative}.composer-editor-textarea{resize:none;overscroll-behavior:contain;background:var(--studio-surface-soft);width:100%;min-height:100%;color:var(--studio-text);scrollbar-gutter:stable;border:0;border-radius:12px;outline:0;flex:auto;padding:18px 20px;font-size:15px;line-height:1.75;overflow:auto}.composer-editor-textarea::placeholder{color:var(--studio-subtle)}.composer-editor-textarea:focus{box-shadow:inset 0 0 0 1px var(--studio-border-strong)}.composer-editor-footer{border-top:1px solid var(--studio-border);flex:none;justify-content:space-between;align-items:center;gap:18px;padding:13px 16px;display:flex}.composer-editor-meta{min-width:0;color:var(--studio-muted);align-items:center;gap:12px;font-size:11px;display:flex}.composer-editor-meta span:first-child{color:var(--studio-text);font-variant-numeric:tabular-nums;flex:none}.composer-editor-actions{flex:none;align-items:center;gap:8px;display:flex}.composer-editor-actions button{border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 14px;font-size:13px;display:inline-flex}.composer-editor-collapse{border:1px solid var(--studio-border);background:var(--studio-surface);color:var(--studio-text)}.composer-editor-send{border:1px solid var(--studio-primary);background:var(--studio-primary);min-width:92px;color:var(--studio-on-primary)}.composer-editor-send:disabled{cursor:not-allowed;background:#d4d4d8;border-color:#d4d4d8}.attachment-preview-card{color:#fff;gap:10px;max-width:min(920px,100%);max-height:calc(100dvh - 96px);display:grid}.attachment-preview-card>img{object-fit:contain;border-radius:14px;max-width:100%;max-height:calc(100dvh - 150px);display:block;box-shadow:0 24px 70px #00000059}.attachment-preview-card>div{justify-content:space-between;align-items:center;gap:16px;min-width:0;font-size:12px;display:flex}.attachment-preview-card strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-preview-card span{color:#ffffffad;flex:none}.attachment-preview-close{z-index:1;color:#fff;background:#ffffff1a;border:1px solid #ffffff2e;border-radius:999px;place-items:center;width:40px;height:40px;display:grid;position:fixed;top:20px;right:20px}@media (hover:none){.attachment-sort-actions{opacity:1}}.composer-controls{justify-content:space-between;align-items:center;gap:10px;display:flex}.composer-left-controls,.composer-right-controls{align-items:center;gap:8px;min-width:0;display:flex}.selector-wrap{flex:none;position:relative}.selector-trigger{border:1px solid var(--studio-border);background:var(--studio-input);min-width:0;height:38px;color:var(--studio-text);border-radius:999px;align-items:center;gap:7px;padding:0 10px;font-size:13px;font-weight:400;line-height:normal;transition:border-color .15s,background .15s,box-shadow .15s,color .15s;display:inline-flex}.selector-trigger:hover,.selector-trigger.is-open{border-color:var(--studio-border-strong);background:var(--studio-hover);box-shadow:var(--studio-shadow-soft)}.selector-trigger:disabled{cursor:not-allowed;opacity:.52}.selector-trigger:disabled:hover{border-color:var(--studio-border);box-shadow:none}.mode-selector{background:var(--studio-primary-soft);color:var(--studio-primary);border-color:#17171752;padding-left:8px;box-shadow:inset 0 0 0 1px #1717170f}.mode-selector .selector-icon{background:var(--studio-input);color:var(--studio-primary)}.upload-selector{border-color:var(--studio-border-strong);background:var(--studio-input);width:38px;min-width:38px;color:var(--studio-primary);justify-content:center;padding:0;position:relative}.upload-selector.has-attachments{border-color:var(--studio-accent-border);background:var(--studio-accent-soft);color:var(--studio-accent)}.upload-selector .selector-icon{width:24px;height:24px}.upload-count{border:2px solid var(--studio-surface-raised);background:var(--studio-primary);min-width:17px;height:17px;color:var(--studio-on-primary);border-radius:999px;place-items:center;padding:0 4px;font-size:11px;font-weight:500;line-height:1;display:grid;position:absolute;top:-4px;right:-4px}.model-selector{max-width:min(270px,34vw);padding-left:13px}.settings-selector{max-width:min(300px,36vw);padding-left:13px}.selector-icon{background:#1717171a;border-radius:999px;flex:0 0 24px;place-items:center;width:24px;height:24px;display:grid}.selector-kicker{color:var(--studio-muted);align-items:center;font-size:12px;font-weight:400;line-height:1.45;display:inline-flex}.selector-value{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;min-width:0;max-width:156px;min-height:22px;line-height:1.35;display:inline-flex;overflow:hidden}.selector-value-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.model-resolution-badge{border:1px solid var(--studio-border);background:var(--studio-input);color:var(--studio-subtle);white-space:nowrap;border-radius:999px;flex:none;align-items:center;padding:3px 6px;font-size:10.5px;font-weight:600;line-height:1;display:inline-flex}.selector-chevron{opacity:.72;flex:none;justify-content:center;align-items:center;transition:transform .15s;display:inline-flex}.selector-trigger.is-open .selector-chevron{transform:rotate(180deg)}.selector-popover{z-index:40;border:1px solid var(--studio-border);background:var(--studio-popover);width:276px;max-height:min(420px,100vh - 160px);box-shadow:var(--studio-shadow-popover);overscroll-behavior:contain;border-radius:10px;padding:6px;position:absolute;bottom:calc(100% + 10px);left:0;overflow-y:auto}.model-popover{width:min(390px,100vw - 48px)}.model-browser-popover{grid-template-columns:172px minmax(0,1fr);width:min(680px,100vw - 48px);min-height:330px;max-height:min(470px,100vh - 160px);padding:10px;display:grid;overflow:hidden}.model-browser-groups{border-right:1px solid var(--studio-border);min-height:0;padding:6px 10px 6px 2px;overflow-y:auto}.model-browser-groups-title{color:var(--studio-subtle);padding:4px 10px 12px;font-size:12px}.model-browser-group-list{gap:4px;display:grid}.model-browser-group{min-width:0;min-height:42px;color:var(--studio-muted);text-align:left;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;font-size:13px;display:flex}.model-browser-group:hover{background:var(--studio-surface-soft);color:var(--studio-text)}.model-browser-group.is-selected{background:var(--studio-primary-soft);color:var(--studio-primary);font-weight:600}.model-browser-group span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.model-browser-group small{color:var(--studio-subtle);font-size:10px;font-weight:500}.model-browser-models{flex-direction:column;min-width:0;min-height:0;padding:6px 2px 6px 12px;display:flex}.model-browser-search{border:1px solid var(--studio-border);background:var(--studio-surface-soft);height:46px;color:var(--studio-subtle);border-radius:12px;flex:none;align-items:center;gap:9px;padding:0 13px;display:flex}.model-browser-search:focus-within{border-color:var(--studio-border-strong);background:var(--studio-hover)}.model-browser-search input{width:100%;min-width:0;color:var(--studio-text);font:inherit;background:0 0;border:0;outline:0;font-size:13px}.model-browser-search input::placeholder{color:var(--studio-subtle)}.model-browser-list{flex:1;min-height:0;padding-top:6px;overflow-y:auto}.model-browser-empty{min-height:180px;color:var(--studio-subtle);text-align:center;place-items:center;font-size:12px;display:grid}.settings-popover{width:min(430px,100vw - 48px);padding:10px}.selector-popover-head{color:var(--studio-subtle);justify-content:space-between;align-items:center;gap:10px;padding:8px 10px 6px;font-size:12px;font-weight:400;display:flex}.selector-option{width:100%;min-height:58px;color:var(--studio-text);text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.selector-option:hover{background:var(--studio-surface-soft)}.selector-option:disabled{cursor:not-allowed;opacity:.5}.selector-option:disabled:hover{background:0 0}.selector-option.is-selected{background:var(--studio-primary-soft);box-shadow:inset 0 0 0 1px #17171724}.selector-option.is-selected .selector-option-icon{color:var(--studio-primary);box-shadow:inset 0 0 0 1px #1717172e}.selector-option.is-selected .selector-option-title{color:var(--studio-primary)}.selector-option-icon{background:var(--studio-input);width:34px;height:34px;color:var(--studio-primary);border-radius:8px;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #1717171f}.selector-option-copy{gap:3px;min-width:0;display:grid}.selector-option-title{color:var(--studio-text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;overflow:hidden}.selector-option-desc{color:var(--studio-muted);font-size:12px;font-weight:400;line-height:1.35}.selector-option-meta{color:var(--studio-muted);white-space:nowrap;background:#171b240f;border-radius:999px;justify-self:end;padding:5px 8px;font-size:11px;font-weight:400}.model-option{grid-template-columns:minmax(0,1fr) auto auto;min-height:72px}.model-option-group{gap:3px;padding:3px 0 5px;display:grid}.model-option-group+.model-option-group{border-top:1px solid var(--studio-border);padding-top:8px}.model-option-group-head{color:var(--studio-subtle);justify-content:space-between;align-items:center;gap:10px;padding:3px 10px;font-size:11px;display:flex}.model-option.is-compact{grid-template-columns:minmax(0,1fr) auto 16px;gap:8px;min-height:44px;padding:8px 10px}.model-option.is-compact .selector-option-title{font-size:13px;font-weight:500}.model-option-title-line{align-items:center;gap:6px;min-width:0;display:flex}.model-option-title-line .selector-option-title{min-width:0}.model-option.is-compact .selector-option-meta{text-overflow:ellipsis;background:0 0;max-width:120px;padding:0;overflow:hidden}.selector-check-placeholder{width:16px;height:16px}.selector-check{color:var(--studio-primary)}.settings-group{gap:8px;padding:9px 10px 12px;display:grid}.settings-group+.settings-group{border-top:1px solid var(--studio-border)}.settings-group-label{color:var(--studio-muted);font-size:12px;font-weight:400}.settings-options{grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:8px;display:grid}.settings-option{border:1px solid var(--studio-border);background:var(--studio-surface-soft);min-height:38px;color:var(--studio-text);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:8px 10px;font-size:13px;font-weight:400;transition:border-color .15s,background .15s,color .15s,box-shadow .15s;display:inline-flex}.settings-option:hover{border-color:var(--studio-border-strong);background:var(--studio-hover)}.settings-option.is-selected{background:var(--studio-primary-soft);color:var(--studio-primary);border-color:#1717175c;box-shadow:inset 0 0 0 1px #17171714}.settings-option.is-selected .settings-option-hint{color:var(--studio-muted)}.settings-option:disabled,.settings-option.is-disabled{cursor:not-allowed;opacity:.48}.settings-option-label,.settings-option-hint{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.settings-option-hint{color:var(--studio-subtle);font-size:11px;font-weight:400}.send-button{aspect-ratio:1;background:var(--studio-primary);width:38px;min-width:38px;height:38px;min-height:38px;color:var(--studio-on-primary);border:0;border-radius:999px;flex:0 0 38px;place-items:center;padding:0;line-height:1;transition:background .15s,color .15s,transform .15s;display:grid}.send-button:not(:disabled):hover,.send-button:not(:disabled):focus-visible{background:var(--studio-primary)}@supports (color:color-mix(in lab, red, red)){.send-button:not(:disabled):hover,.send-button:not(:disabled):focus-visible{background:color-mix(in srgb, var(--studio-primary) 88%, var(--studio-accent) 12%)}}.send-button:not(:disabled):hover,.send-button:not(:disabled):focus-visible{transform:translateY(-1px)}.send-button:not(:disabled):active{transform:scale(.96)}.send-button:disabled{cursor:not-allowed;background:var(--studio-surface-soft);color:var(--studio-subtle);box-shadow:inset 0 0 0 1px var(--studio-border)}.chat-error{border:1px solid var(--studio-danger);flex-direction:column;align-items:stretch;gap:12px;width:min(680px,100%);display:flex}@supports (color:color-mix(in lab, red, red)){.chat-error{border:1px solid color-mix(in srgb, var(--studio-danger) 34%, transparent)}}.chat-error{background:var(--studio-danger-soft);color:var(--studio-danger);border-radius:12px;padding:10px 12px;font-size:13px;font-weight:400}.chat-error-copy,.message-error-copy{align-items:flex-start;gap:9px;display:flex}.chat-error-copy div,.message-error-copy div{gap:2px;display:grid}.chat-error-copy strong,.message-error-copy strong{font-size:13px;font-weight:600}.chat-error-copy span{color:var(--studio-danger);font-weight:400}.chat-error-copy small,.message-error-copy small{color:var(--studio-danger);font-size:12px;line-height:1.5}.chat-error-actions,.message-error-actions,.message-editor-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.chat-error button,.chat-error a,.message-error-actions a,.message-error-actions button,.message-editor-actions button{background:var(--studio-danger-soft);color:var(--studio-danger);border:0;border-radius:999px;align-items:center;gap:5px;padding:6px 10px;font-size:12px;font-weight:500;text-decoration:none;display:inline-flex}.chat-error button:disabled,.chat-error a[aria-disabled=true],.message-error-actions a[aria-disabled=true],.message-error-actions button:disabled,.message-editor-actions button:disabled,.message-actions button:disabled{cursor:not-allowed;opacity:.45}.message-actions{opacity:0;align-items:center;gap:2px;min-height:26px;margin:6px -3px -4px;transition:opacity .16s;display:flex;position:relative}.message-actions-desktop{align-items:center;gap:2px;display:flex}.message-actions-mobile{display:none;position:relative}.message:hover .message-actions,.message:focus-within .message-actions,.message-actions.is-visible{opacity:1}.message-actions button{width:26px;height:26px;color:var(--studio-muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.message-actions button:hover{background:var(--studio-surface-soft);color:var(--studio-text)}.message-actions button.is-destructive:hover{background:var(--studio-danger-soft);color:var(--studio-danger)}.message-actions-menu{z-index:20;border:1px solid var(--studio-border);background:var(--studio-popover);width:176px;box-shadow:var(--studio-shadow-popover);border-radius:10px;padding:5px;display:grid;position:absolute;top:32px;right:0;overflow:hidden}.message-actions .message-actions-menu button{width:100%;height:auto;min-height:40px;color:var(--studio-text);border-radius:8px;justify-content:flex-start;align-items:center;gap:9px;padding:8px 10px;font-size:13px;display:flex}.message-actions .message-actions-menu button.is-destructive{color:var(--studio-danger)}.message.is-user .message-actions{justify-content:flex-end;margin:4px -3px -4px}.message.is-user .message-actions button{color:var(--studio-muted)}.message.is-user .message-actions button:hover{background:var(--studio-surface-soft);color:var(--studio-text)}.message.is-user .message-actions-menu button{color:var(--studio-text)}.message.is-user .message-actions-menu button:hover{background:var(--studio-surface-soft);color:var(--studio-text)}.message-metadata{min-height:18px;color:var(--studio-muted);flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:7px;font-size:11px;line-height:1.35;display:flex}.message.is-user .message-metadata{justify-content:flex-end}.message-metadata>*+:before{color:var(--studio-border-strong);content:"·";margin-right:8px}.message-metadata button{color:inherit;font:inherit;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex}.message-metadata button:hover{color:var(--studio-text)}.message-metadata .message-request-id-button{border-radius:6px;justify-content:center;width:22px;height:22px}.message-metadata .message-request-id-button:hover{background:var(--studio-surface-soft)}.message.is-user .message-metadata button:hover{color:var(--studio-text)}.message-editor{gap:10px;min-width:min(520px,60vw);display:grid}.message-editor textarea{resize:vertical;border:1px solid var(--studio-border-strong);background:var(--studio-surface);width:100%;color:var(--studio-text);font:inherit;border-radius:10px;outline:none;padding:10px 12px;line-height:1.6}.message-editor textarea:focus{border-color:var(--studio-primary);box-shadow:0 0 0 3px var(--studio-primary-soft)}.message.is-user .message-editor-actions button{color:var(--studio-text);background:#17171712}.message-error-panel{border:1px solid var(--studio-danger);gap:10px;display:grid}@supports (color:color-mix(in lab, red, red)){.message-error-panel{border:1px solid color-mix(in srgb, var(--studio-danger) 34%, transparent)}}.message-error-panel{background:var(--studio-danger-soft);color:var(--studio-danger);border-radius:10px;padding:11px 12px}.message-error-copy p{color:var(--studio-danger);margin:0;font-size:13px;line-height:1.55}.message-retry-picker{position:relative}.message-retry-popover{z-index:40;border:1px solid var(--studio-border);background:var(--studio-popover);width:min(300px,100vw - 32px);box-shadow:var(--studio-shadow-popover);color:var(--studio-text);border-radius:10px;padding:5px;display:grid;position:fixed;overflow:hidden}.message-retry-popover-head{min-height:34px;color:var(--studio-muted);justify-content:space-between;align-items:center;padding:0 5px 0 9px;font-size:12px;display:flex}.message-error-actions .message-retry-popover-head button{width:28px;height:28px;color:var(--studio-muted);background:0 0;border-radius:7px;place-items:center;padding:0;display:grid}.message-retry-options{gap:2px;max-height:240px;display:grid;overflow-y:auto}.message-error-actions .message-retry-options button{width:100%;min-height:38px;color:var(--studio-text);text-align:left;background:0 0;border-radius:7px;justify-items:flex-start;gap:2px;padding:8px 10px;font-size:13px;display:grid}.message-error-actions .message-retry-options button small{color:var(--studio-muted);font-size:11px;font-weight:400}.message-error-actions .message-retry-options button:hover{background:var(--studio-surface-soft)}.markdown-long-message{gap:8px;display:grid}.markdown-long-message>span{color:var(--studio-muted);font-size:11px}.message-body .markdown-long-message pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:520px;margin:0}.scroll-to-bottom{z-index:5;border:1px solid var(--studio-border-strong);background:var(--studio-surface-raised);width:38px;height:38px;box-shadow:var(--studio-shadow-soft);color:var(--studio-text);border-radius:999px;place-items:center;display:grid;position:absolute;bottom:112px;right:24px}.scroll-to-bottom:hover{border-color:var(--studio-primary);color:var(--studio-primary)}.message-body p,.message-body ul,.message-body ol,.message-body pre,.message-body table{margin:0 0 10px}.message-body p:last-child,.message-body ul:last-child,.message-body ol:last-child,.message-body pre:last-child,.message-body table:last-child{margin-bottom:0}.message-body ul,.message-body ol{padding-left:20px}.message-body code{background:#171b2412;border-radius:8px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.92em}.reasoning-block{border:1px solid var(--studio-border);background:var(--studio-surface-soft);color:var(--studio-muted);border-radius:10px;margin-bottom:10px;overflow:hidden}.reasoning-trigger{width:100%;color:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:6px;padding:8px 12px;font-size:13px;display:flex}.reasoning-trigger:hover{color:var(--studio-text)}.reasoning-block.is-streaming .reasoning-trigger svg:first-child{color:var(--studio-accent);animation:1.6s ease-in-out infinite reasoning-pulse}@keyframes reasoning-pulse{0%,to{opacity:1}50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.reasoning-block.is-streaming .reasoning-trigger svg:first-child{animation:none}}.reasoning-chevron{margin-left:auto;transition:transform .18s}.reasoning-block.is-open .reasoning-chevron{transform:rotate(180deg)}.reasoning-content{border-top:1px solid var(--studio-border);color:var(--studio-muted);padding:10px 12px;font-size:13px;line-height:1.6}.message.is-user .reasoning-block{border-color:var(--studio-border);background:var(--studio-surface-raised);color:var(--studio-muted)}.message.is-user .reasoning-content{border-top-color:var(--studio-border);color:var(--studio-muted)}.message-body pre{background:var(--studio-primary);color:var(--studio-on-primary);border-radius:10px;padding:12px;overflow-x:auto}.message-body pre code{color:inherit;background:0 0;padding:0}.markdown-code-block{background:#17171b;border:1px solid #17171724;border-radius:10px;margin:10px 0;overflow:hidden}.markdown-code-toolbar{color:#ffffffad;text-transform:lowercase;background:#222228;border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;gap:12px;min-height:34px;padding:0 10px 0 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;display:flex}.markdown-code-toolbar button{color:inherit;font:inherit;background:0 0;border:0;align-items:center;gap:5px;padding:5px 0;display:inline-flex}.markdown-code-actions{align-items:center;gap:10px;display:flex}.markdown-code-toolbar button:hover{color:#fff}.markdown-code-body{position:relative;overflow:hidden}.message-body .markdown-code-block pre{color:#f4f4f5;background:#17171b;border-radius:0;max-height:520px;margin:0;padding:14px 16px;overflow:auto}.markdown-code-block.is-collapsed .markdown-code-body{max-height:300px}.markdown-code-block.is-collapsed pre{overflow:hidden}.markdown-code-fade{pointer-events:none;background:linear-gradient(#17171b00,#17171b 92%);height:64px;position:absolute;bottom:0;left:0;right:0}.message-body .markdown-code-block pre code{counter-reset:code-line;white-space:pre;min-width:max-content;font-size:12px;line-height:1.65;display:block}.markdown-code-line{counter-increment:code-line;display:block}.markdown-code-line:before{color:#ffffff52;content:counter(code-line);text-align:right;-webkit-user-select:none;user-select:none;width:3ch;margin-right:14px;display:inline-block}.markdown-table-wrap{max-width:100%;margin:10px 0;overflow-x:auto}.markdown-table-wrap table{border-collapse:collapse;width:100%;min-width:420px;font-size:13px}.markdown-table-wrap th,.markdown-table-wrap td{border:1px solid var(--studio-border);text-align:left;padding:7px 9px}.markdown-table-wrap th{background:var(--studio-surface-soft);font-weight:600}.message-body a{color:var(--studio-primary);font-weight:500}.message-body strong,.message-body b{font-weight:500}.message.is-user .message-body a{color:var(--studio-accent)}.markdown-image{border:1px solid var(--studio-border);object-fit:contain;background:var(--studio-surface-soft);border-radius:12px;width:min(420px,100%);max-height:520px;margin-top:10px;display:block}.generated-image-result{gap:8px;width:min(560px,100%);margin-top:4px;display:grid}.generated-image-grid{gap:8px;display:grid}.generated-image-result.is-multiple .generated-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.generated-image-item{border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:14px;margin:0;position:relative;overflow:hidden}.generated-image-open{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block}.generated-image-open img{object-fit:contain;width:100%;max-height:560px;display:block}.generated-image-result.is-multiple .generated-image-open{aspect-ratio:1}.generated-image-result.is-multiple .generated-image-open img{height:100%;max-height:none}.generated-image-actions{opacity:0;gap:6px;transition:opacity .15s,transform .15s;display:flex;position:absolute;bottom:10px;right:10px;transform:translateY(3px)}.generated-image-item:hover .generated-image-actions,.generated-image-item:focus-within .generated-image-actions{opacity:1;transform:translateY(0)}.generated-image-actions button,.generated-image-preview-close,.generated-image-preview-nav{color:#f7f7f7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;background:#181818b3;border:1px solid #ffffff47;border-radius:999px;justify-content:center;align-items:center;width:36px;height:36px;transition:background-color .15s,transform .15s;display:inline-flex;box-shadow:0 6px 20px #11182733}.generated-image-actions button:hover,.generated-image-preview-close:hover,.generated-image-preview-nav:hover{background:#181818e6}.generated-image-actions button:active,.generated-image-preview-close:active,.generated-image-preview-nav:active{transform:scale(.96)}.generated-image-actions button:disabled{cursor:wait;opacity:.6}.generated-image-parameter-summary{min-width:0;color:var(--studio-muted);align-items:center;gap:8px;padding:0 2px;font-size:11px;line-height:1.4;display:flex}.generated-image-parameter-summary span{flex:none}.generated-image-parameter-summary strong{color:var(--studio-text-secondary);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.generated-image-download-error{color:var(--studio-danger);margin:0;font-size:12px}.generated-image-preview-backdrop{z-index:90;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#121212db;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.generated-image-preview{background:#171717;border:1px solid #ffffff29;border-radius:16px;grid-template-rows:minmax(0,1fr) auto;width:min(1180px,100%);max-height:calc(100dvh - 56px);display:grid;position:relative;overflow:hidden;box-shadow:0 28px 90px #0000006b}.generated-image-preview-canvas{place-items:center;min-height:0;padding:18px;display:grid;overflow:auto}.generated-image-preview-canvas img{object-fit:contain;max-width:100%;max-height:calc(100dvh - 150px);display:block}.generated-image-preview-close{z-index:2;position:absolute;top:14px;right:14px}.generated-image-preview-nav{z-index:2;position:absolute;top:50%;transform:translateY(-50%)}.generated-image-preview-nav:active{transform:translateY(-50%)scale(.96)}.generated-image-preview-nav.is-previous{left:14px}.generated-image-preview-nav.is-next{right:14px}.generated-image-preview-toolbar{color:#ffffffb8;border-top:1px solid #ffffff1f;justify-content:space-between;align-items:center;gap:16px;min-height:62px;padding:10px 14px;display:flex}.generated-image-preview-toolbar>span{font-variant-numeric:tabular-nums;min-width:72px;font-size:12px}.generated-image-preview-toolbar>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.generated-image-preview-toolbar button{color:#f7f7f7;background:#ffffff1a;border:1px solid #ffffff2e;border-radius:999px;align-items:center;gap:7px;min-height:38px;padding:0 14px;font-size:12px;font-weight:500;display:inline-flex}.generated-image-preview-toolbar button:hover{background:#ffffff2e}.generated-image-preview-toolbar button:active{transform:scale(.98)}.generated-image-preview-toolbar button:disabled{cursor:wait;opacity:.58}@media (max-width:700px){.generated-image-result.is-multiple .generated-image-grid{grid-template-columns:1fr 1fr;gap:6px}.generated-image-actions{opacity:1;bottom:8px;right:8px;transform:none}.generated-image-actions button{width:34px;height:34px}.generated-image-reference-action{display:none!important}.generated-image-preview-backdrop{padding:0}.generated-image-preview{border:0;border-radius:0;width:100%;height:100dvh;max-height:none}.generated-image-preview-canvas{padding:52px 12px 12px}.generated-image-preview-canvas img{max-height:calc(100dvh - 142px)}.generated-image-preview-toolbar{min-height:76px;padding:10px 12px max(10px, env(safe-area-inset-bottom));align-items:flex-start}.generated-image-preview-toolbar>span{padding-top:10px}}@media (prefers-reduced-motion:reduce){.generated-image-actions,.generated-image-actions button,.generated-image-preview-close,.generated-image-preview-nav,.generated-image-preview-toolbar button{transition:none}}.video-task-card{border:1px solid var(--studio-border);background:var(--studio-primary-soft);color:var(--studio-text);border-radius:12px;gap:10px;margin-top:12px;padding:12px;display:grid}.video-task-card>div:first-child{gap:2px;display:grid}.video-task-card strong{font-size:15px}.video-task-card small{color:var(--studio-muted);overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px}.video-task-kicker{color:var(--studio-primary);font-size:12px;font-weight:500}.video-task-progress{background:var(--studio-border);border-radius:999px;height:7px;overflow:hidden}.video-task-progress span{border-radius:inherit;background:var(--studio-primary);height:100%;display:block}.video-task-link{justify-self:start}.video-task-error{color:var(--studio-danger);margin:0;font-size:12px;font-weight:400}.video-task-card button{border:1px solid var(--studio-border-strong);background:var(--studio-surface-raised);width:max-content;color:var(--studio-primary);border-radius:999px;align-items:center;gap:7px;padding:8px 11px;font-size:13px;font-weight:500;display:inline-flex}.video-task-card button:disabled{cursor:wait;opacity:.72}.is-spinning{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.auth-root{background:var(--studio-bg);grid-template-rows:60px 1fr;min-height:100dvh;display:grid}.auth-header{border-bottom:1px solid var(--studio-border);background:var(--studio-topbar);align-items:center;padding:0 24px;display:flex}.auth-card{width:min(390px,100vw - 48px);box-shadow:none;background:0 0;border:0;place-self:center;padding:0}.auth-card h1{color:var(--studio-text);letter-spacing:0;text-align:center;margin:0 0 30px;font-size:28px;font-weight:400}.auth-form,.admin-form{gap:14px;display:grid}.auth-form label,.admin-form label{color:var(--studio-muted);gap:7px;font-size:13px;font-weight:400;display:grid}.auth-label-copy{align-items:baseline;gap:4px;display:inline-flex}.auth-required-mark{color:var(--studio-danger);font-weight:500}.auth-optional-mark{color:var(--studio-subtle);font-size:12px}.auth-form input,.redeem-form input,.admin-form input,.admin-form textarea{border:1px solid var(--studio-border);background:var(--studio-surface);width:100%;color:var(--studio-text);border-radius:12px;outline:0;padding:12px 13px}.admin-form textarea{resize:vertical;min-height:150px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.5}.auth-inline{grid-template-columns:1fr auto;align-items:end;gap:10px;display:grid}.primary-button,.secondary-button,.redeem-form button,.admin-form button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:12px 14px;font-weight:500;text-decoration:none;display:inline-flex}.primary-button,.redeem-form button,.admin-form button{background:var(--studio-primary);color:var(--studio-on-primary)}.secondary-button{border-color:var(--studio-border);background:var(--studio-surface);color:var(--studio-primary);white-space:nowrap}.primary-button:disabled,.secondary-button:disabled,.redeem-form button:disabled,.admin-form button:disabled{cursor:not-allowed;opacity:.55}.auth-turnstile{min-height:65px}.danger-button{border:1px solid var(--studio-danger);align-items:center;gap:7px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.danger-button{border:1px solid color-mix(in srgb, var(--studio-danger) 34%, transparent)}}.danger-button{background:var(--studio-danger-soft);color:var(--studio-danger);border-radius:10px;padding:10px 12px;font-weight:500}.auth-message,.account-message{background:var(--studio-primary-soft);width:min(1040px,100%);color:var(--studio-primary);border:1px solid #1717172e;border-radius:12px;margin:0 auto 16px;padding:10px 12px;font-size:13px;font-weight:400}.auth-message{width:auto;margin:0}.auth-message.is-error{border-color:var(--studio-danger)}@supports (color:color-mix(in lab, red, red)){.auth-message.is-error{border-color:color-mix(in srgb, var(--studio-danger) 34%, transparent)}}.auth-message.is-error{background:var(--studio-danger-soft);color:var(--studio-danger)}.auth-message.is-notice{background:var(--studio-primary-soft);color:var(--studio-primary);border-color:#1717172e}.auth-switch{color:var(--studio-muted);justify-content:center;align-items:center;gap:4px;margin-top:18px;font-size:14px;font-weight:400;display:flex}.auth-switch a{color:var(--studio-accent);font-weight:500;text-decoration:none}.auth-switch a:hover{text-underline-offset:3px;text-decoration:underline}.account-shell,.admin-shell{flex:1 1 0;min-height:0;padding:24px;overflow-y:auto}:is(html:has(.admin-studio-root),body:has(.admin-studio-root)){height:auto;min-height:100%;overflow-y:auto}.admin-studio-root{height:auto;min-height:100dvh;max-height:none;overflow:visible}.admin-studio-root .studio-topbar{position:sticky;top:0}.admin-studio-root .admin-shell{flex:1 0 auto;min-height:calc(100dvh - 60px);overflow:visible}.account-hero{justify-content:space-between;align-items:center;gap:20px;width:min(1040px,100%);margin:0 auto 20px;display:flex}.account-kicker{color:var(--studio-primary);font-size:13px;font-weight:400}.account-hero h1{letter-spacing:0;margin:4px 0 8px;font-size:28px;font-weight:500}.account-hero p{color:var(--studio-muted);margin:0}.account-hero-actions{align-items:center;gap:8px;margin-top:14px;display:flex}.account-hero-actions .secondary-button{align-items:center;gap:7px;padding:10px 12px;display:inline-flex}.account-hero-actions .primary-button{padding:10px 14px}.account-hero-actions button:disabled{cursor:wait;opacity:.72}.balance-panel{border:1px solid var(--studio-border);background:var(--studio-surface);min-width:220px;color:var(--studio-primary);border-radius:8px;padding:16px;display:grid}.balance-panel span,.balance-panel small{font-size:13px;font-weight:400}.balance-panel strong{color:var(--studio-text);letter-spacing:0;font-size:32px;font-weight:500}.account-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;width:min(1040px,100%);margin:0 auto 16px;display:grid}.recharge-shell{padding:44px 24px}.recharge-hero{text-align:center;width:min(1040px,100%);margin:0 auto 28px}.recharge-hero h1{color:var(--studio-text);letter-spacing:0;margin:0;font-size:clamp(26px,3vw,36px);font-weight:500}.recharge-hero p{color:var(--studio-muted);margin:8px 0 0;font-size:14px}.recharge-balance-band{background:linear-gradient(90deg, var(--studio-surface-soft), var(--studio-accent-soft));border-radius:8px;justify-content:space-between;align-items:center;gap:18px;width:min(1040px,100%);margin:0 auto 24px;padding:18px 22px;display:flex}.recharge-balance-band p,.recharge-balance-band small{color:var(--studio-muted);margin:0;font-size:13px}.recharge-balance-band strong{color:var(--studio-text);tab-size:4;align-items:baseline;gap:8px;margin-top:2px;font-size:32px;font-weight:500;line-height:1.18;display:flex}.recharge-balance-band strong span{color:var(--studio-muted);font-size:18px;font-weight:500}.recharge-balance-actions{align-items:center;gap:8px;display:flex}.recharge-content-grid{grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);align-items:start;gap:24px;width:min(1040px,100%);margin:0 auto;display:grid}.account-section{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:8px;width:min(1040px,100%);margin:0 auto 16px;padding:16px}.section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.section-head h2{letter-spacing:0;margin:0;font-size:17px;font-weight:500}.section-head span,.section-head a{color:var(--studio-muted);font-size:13px;font-weight:400;text-decoration:none}.package-grid,.qr-grid,.reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.package-card,.qr-box,.reference-grid>div{border:1px solid var(--studio-border);background:var(--studio-surface-raised);border-radius:12px;padding:14px}.package-card{gap:8px;display:grid}.package-card span,.qr-box span,.reference-grid strong{font-size:13px;font-weight:500}.package-card strong{font-size:22px;font-weight:500}.package-card small{color:var(--studio-muted);font-weight:400}.redeem-form{grid-template-columns:1fr auto;align-items:end;gap:10px;margin-bottom:14px;display:grid}.redeem-code-field{gap:7px;display:grid}.redeem-code-field span{color:var(--studio-muted);font-size:13px;font-weight:400}.recharge-note{color:var(--studio-muted);margin:0;font-size:13px}.recharge-note a{color:var(--studio-accent);margin:0 2px;font-weight:500;text-decoration:none}.recharge-note a:hover{text-underline-offset:3px;text-decoration:underline}.recharge-layout-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.75fr);align-items:start}.recharge-main-column,.recharge-side-column{gap:16px;display:grid}.recharge-redeem-section,.recharge-purchase-section{margin-bottom:0}.recharge-content-grid .account-section{border-color:#00000014;border-radius:8px;width:100%;margin:0;padding:24px}.recharge-content-grid .section-head{margin-bottom:20px}.recharge-content-grid .section-head h2{font-size:18px;font-weight:500}.recharge-content-grid .section-head span{margin-top:3px;font-size:13px;display:inline-block}.recharge-redeem-section .redeem-form{gap:12px;margin-bottom:10px}.recharge-redeem-section .redeem-code-field{gap:8px}.recharge-redeem-section .redeem-code-field span{color:var(--studio-muted);font-size:13px;font-weight:400}.recharge-redeem-section input{border-color:var(--studio-border-strong);letter-spacing:.02em;border-radius:10px;min-height:50px;padding:14px 16px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:16px}.recharge-redeem-section .redeem-form button{border-radius:10px;min-height:50px;padding:0 22px}.recharge-note-panel{background:var(--studio-surface-soft);color:var(--studio-muted);border-radius:8px;gap:5px;margin-top:20px;padding:13px 14px;font-size:13px;line-height:1.55;display:grid}.recharge-note-panel b{color:var(--studio-text);font-weight:500}.recharge-purchase-card{border:1px solid var(--studio-border-strong);background:linear-gradient(95deg,#0f766e0f,#17171708);border-radius:8px;flex-wrap:wrap;align-items:flex-start;gap:16px;padding:20px;display:flex}.recharge-purchase-card p{color:var(--studio-muted);margin:5px 0 0;font-size:13px;line-height:1.6}.recharge-purchase-card h3{color:var(--studio-text);letter-spacing:0;margin:0;font-size:16px;font-weight:500}.recharge-purchase-icon{background:var(--studio-primary);width:44px;height:44px;color:var(--studio-on-primary);border-radius:10px;flex:0 0 44px;place-items:center;display:grid;box-shadow:0 6px 14px #17171729}.recharge-shop-link{width:max-content;margin-top:14px;padding:11px 13px}.recharge-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}.recharge-contact-section .section-head{margin-bottom:14px}.recharge-usage-list{gap:14px;display:grid}.recharge-usage-list>div{grid-template-columns:auto minmax(0,1fr);gap:10px;display:grid}.recharge-usage-list span{color:var(--studio-accent);font-size:12px;font-weight:500}.recharge-usage-list p{color:var(--studio-muted);margin:0;font-size:13px;line-height:1.6}.qr-box{place-items:center;gap:8px;min-height:130px;display:grid}.qr-box img,.qr-placeholder{border-radius:10px;width:84px;height:84px}.qr-placeholder{border:1px dashed var(--studio-border-strong);background:linear-gradient(45deg, #17171714 25%, transparent 25%), linear-gradient(-45deg, #17171714 25%, transparent 25%), var(--studio-surface);background-size:16px 16px}.log-list{gap:8px;display:grid}.log-row,.empty-log{border:1px solid var(--studio-border);border-radius:10px;grid-template-columns:110px 1fr auto;align-items:center;gap:12px;padding:11px 12px;display:grid}.log-row span,.empty-log{color:var(--studio-muted);font-size:13px}.log-row em{color:var(--studio-primary);font-style:normal;font-weight:500}.profile-shell{padding:44px 24px}.profile-content{width:min(1040px,100%);margin:0 auto}.profile-loading{width:min(1040px,100%);min-height:280px;color:var(--studio-muted);place-items:center;margin:0 auto;font-size:14px;display:grid}.profile-summary-card{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:8px;justify-content:space-between;align-items:center;gap:20px;padding:28px 26px 24px;display:flex}.profile-summary-card h1{color:var(--studio-text);letter-spacing:0;margin:0;font-size:18px;font-weight:500}.profile-summary-card p,.profile-balance p{color:var(--studio-muted);margin:6px 0 0;font-size:13px}.profile-balance{text-align:right}.profile-balance strong{color:var(--studio-text);letter-spacing:0;margin-top:4px;font-size:28px;font-weight:500;line-height:1.2;display:block}.profile-content .profile-card{border-radius:8px;width:100%;margin:24px 0 0;padding:24px}.profile-content .section-head{flex-wrap:wrap;align-items:flex-start;gap:14px;margin-bottom:20px}.profile-content .section-head>div{gap:5px;display:grid}.profile-content .section-head h2{font-size:18px;font-weight:500}.profile-muted,.profile-error{margin:0;font-size:13px}.profile-muted{color:var(--studio-muted)}.profile-error{color:var(--studio-danger)}.affiliate-fields{gap:16px;display:grid}.affiliate-fields label{color:var(--studio-muted);margin-bottom:8px;font-size:13px;font-weight:500;display:block}.copy-row{gap:12px;display:flex}.copy-row input{border:1px solid var(--studio-border-strong);background:var(--studio-surface-soft);min-width:0;color:var(--studio-text);border-radius:10px;outline:0;flex:1;padding:13px 16px;font-size:14px}.copy-row:first-of-type input,#affiliate-code{letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:15px}.copy-row button,.profile-pagination button{background:var(--studio-text);color:var(--studio-on-primary);cursor:pointer;border:0;border-radius:10px;padding:0 16px;font-size:13px;font-weight:500;transition:opacity .15s,transform .15s}.copy-row button:hover,.profile-pagination button:hover{opacity:.9;transform:translateY(-1px)}.copy-row button:disabled,.profile-pagination button:disabled{cursor:not-allowed;opacity:.5;transform:none}.profile-record-actions{align-items:center;gap:8px;display:flex}.profile-record-actions .secondary-button{align-items:center;gap:6px;min-height:38px;padding:8px 13px;display:inline-flex}.profile-record-actions button:disabled{cursor:wait;opacity:.72}.consumption-table-wrap{overflow-x:auto}.consumption-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;min-width:900px}.consumption-table th{border-bottom:1px solid var(--studio-border);color:var(--studio-muted);padding:12px;font-size:12px;font-weight:500}.consumption-table td{border-bottom:1px solid var(--studio-border);color:var(--studio-text);vertical-align:top;padding:13px 12px;font-size:13px}.consumption-table tbody tr:last-child td{border-bottom:0}.consumption-table .tabular,.record-amount{font-variant-numeric:tabular-nums}.record-title{max-width:240px;color:var(--studio-text);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.record-detail{max-width:240px;color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:11px;line-height:1.5;overflow:hidden}.record-badge{border:1px solid var(--studio-border);white-space:nowrap;border-radius:999px;align-items:center;padding:4px 8px;font-size:11px;font-weight:500;line-height:1;display:inline-flex}.record-badge.is-recharge{border-color:var(--studio-accent-border);background:var(--studio-accent-soft);color:var(--studio-accent)}.record-badge.is-refund{border-color:var(--studio-green)}@supports (color:color-mix(in lab, red, red)){.record-badge.is-refund{border-color:color-mix(in srgb, var(--studio-green) 30%, transparent)}}.record-badge.is-refund{background:var(--studio-green-soft);color:var(--studio-green)}.record-badge.is-consume{border-color:var(--studio-border);background:var(--studio-surface-soft);color:var(--studio-muted)}.record-amount{color:var(--studio-text);text-align:right;white-space:nowrap;font-style:normal;font-weight:500}.record-amount.is-income{color:var(--studio-green)}.consumption-mobile-list{display:none}.profile-pagination{justify-content:center;align-items:center;gap:12px;margin-top:20px;display:flex}.profile-pagination button{background:var(--studio-surface-raised);border:1px solid var(--studio-border-strong);min-height:38px;color:var(--studio-text)}.profile-pagination span{min-width:88px;color:var(--studio-muted);text-align:center;font-size:13px}.reference-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.reference-grid p{max-height:180px;color:var(--studio-muted);font-size:13px;line-height:1.6;overflow:auto}.admin-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:min(420px,100%);display:grid}.admin-status-tile{border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:8px;gap:4px;padding:12px 13px;display:grid}.admin-status-tile span{color:var(--studio-muted);font-size:12px}.admin-status-tile strong{color:var(--studio-text);font-size:18px;font-weight:500}.admin-config-section .section-head>div{gap:4px;display:grid}.admin-config-section .primary-button,.admin-config-section .secondary-button{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.admin-warning{border:1px solid var(--studio-warning)}@supports (color:color-mix(in lab, red, red)){.admin-warning{border:1px solid color-mix(in srgb, var(--studio-warning) 30%, transparent)}}.admin-warning{background:var(--studio-warning-soft);color:var(--studio-warning);border-radius:8px;margin-top:12px;padding:12px 14px;font-size:13px}.config-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.config-field,.package-editor-row label,.model-editor-card label{color:var(--studio-muted);gap:7px;font-size:13px;font-weight:400;display:grid}.config-input-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.config-input-row input,.package-editor-row input,.model-editor-card input,.model-editor-card select,.model-editor-card textarea,.model-add-actions select{border:1px solid var(--studio-border);background:var(--studio-surface);width:100%;color:var(--studio-text);border-radius:10px;outline:0;padding:11px 12px}.model-editor-card .model-readonly-input{background:var(--studio-surface-soft);color:var(--studio-muted)}.config-input-row a{border:1px solid var(--studio-border);width:42px;height:42px;color:var(--studio-primary);border-radius:10px;place-items:center;text-decoration:none;display:inline-grid}.config-preview{border:1px dashed var(--studio-border-strong);background:var(--studio-surface-soft);min-height:108px;color:var(--studio-subtle);border-radius:8px;place-items:center;display:grid;overflow:hidden}.config-preview img{object-fit:cover;border-radius:12px;width:92px;height:92px}.package-editor-list,.model-editor-list{gap:10px;display:grid}.package-editor-row{border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:8px;grid-template-columns:minmax(110px,.8fr) minmax(160px,1.2fr) minmax(96px,.6fr) minmax(96px,.6fr) auto;align-items:end;gap:10px;padding:12px;display:grid}.admin-empty-state{border:1px dashed var(--studio-border-strong);color:var(--studio-muted);text-align:center;border-radius:8px;padding:18px;font-size:13px}.admin-mode-tabs{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:999px;gap:4px;margin-top:14px;padding:4px;display:inline-flex}.admin-mode-tab{color:var(--studio-muted);background:0 0;border:0;border-radius:999px;align-items:center;gap:8px;padding:9px 12px;font-size:13px;font-weight:400;display:inline-flex}.admin-mode-tab em{background:var(--studio-surface-soft);min-width:20px;color:var(--studio-muted);text-align:center;border-radius:999px;font-style:normal;line-height:20px}.admin-mode-tab.is-active{background:var(--studio-accent-soft);color:var(--studio-accent);box-shadow:inset 0 0 0 1px var(--studio-accent-border);font-weight:500}.admin-mode-tab.is-active em{background:var(--studio-surface-raised);color:var(--studio-accent)}.model-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.model-summary-card{border:1px solid var(--studio-border);background:var(--studio-surface-raised);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.model-summary-icon{background:var(--studio-accent-soft);width:36px;height:36px;color:var(--studio-accent);border-radius:10px;place-items:center;display:grid}.model-summary-card strong{color:var(--studio-text);font-size:13px;font-weight:500;display:block}.model-summary-card span{color:var(--studio-muted);margin-top:3px;font-size:12px;display:block}.model-summary-card em{background:var(--studio-surface-raised);color:var(--studio-muted);border-radius:999px;padding:6px 8px;font-size:12px;font-style:normal}.model-editor-head{justify-content:space-between;align-items:center;gap:12px;margin:14px 0 12px;display:flex}.model-editor-head p{color:var(--studio-muted);margin:0;font-size:13px}.model-add-actions{align-items:center;gap:8px;display:flex}.model-add-actions select{width:min(260px,34vw)}.model-editor-card{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:8px;gap:14px;padding:16px;display:grid}.model-editor-card.is-disabled{gap:12px}.model-card-section.is-hidden{display:none}.model-disabled-state{border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.model-disabled-state>div{gap:4px;display:grid}.model-disabled-state strong{color:var(--studio-text);font-size:13px;font-weight:500}.model-disabled-state span{color:var(--studio-muted);font-size:12px;line-height:1.45}.model-disabled-state .secondary-button{flex:none}.model-editor-card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.model-card-title{min-width:0}.model-card-title span{color:var(--studio-text);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.model-card-title p{color:var(--studio-muted);margin:4px 0 0;font-size:12px}.model-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.status-pill{border:1px solid var(--studio-border);background:var(--studio-surface-soft);color:var(--studio-muted);border-radius:999px;padding:7px 9px;font-size:12px;line-height:1}.status-pill-ok{border-color:var(--studio-accent-border);background:var(--studio-accent-soft);color:var(--studio-accent)}.model-editor-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.model-card-section{border-top:1px solid var(--studio-border);gap:10px;padding-top:13px;display:grid}.model-card-section h3{color:var(--studio-text);margin:0;font-size:13px;font-weight:500}.model-desc-field textarea{resize:vertical;min-height:70px}.model-toggle-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.model-toggle-field{border:1px solid var(--studio-border);background:var(--studio-surface-raised);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.model-toggle-copy{gap:4px;display:grid}.model-toggle-copy strong{color:var(--studio-text);font-size:13px;font-weight:500}.model-toggle-copy em{color:var(--studio-muted);font-size:12px;font-style:normal;line-height:1.45}.model-toggle-field input{opacity:0;pointer-events:none;position:absolute}.model-toggle-switch{background:#d5dbe5;border-radius:999px;width:42px;height:24px;transition:background .16s;position:relative}.model-toggle-switch:after{background:var(--studio-surface-raised);content:"";border-radius:999px;width:18px;height:18px;transition:transform .16s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0f172a2e}.model-toggle-field input:checked+.model-toggle-switch{background:var(--studio-accent)}.model-toggle-field input:checked+.model-toggle-switch:after{transform:translate(18px)}.capability-grid{margin-top:2px}.admin-reference-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.reference-chip-list{flex-wrap:wrap;gap:6px;max-height:180px;margin-top:10px;display:flex;overflow:auto}.reference-chip-list span{border:1px solid var(--studio-border);background:var(--studio-surface);color:var(--studio-muted);border-radius:999px;padding:5px 8px;font-size:12px}.admin-json-details{margin:0 auto 16px}.admin-json-details summary{cursor:pointer;color:var(--studio-muted);font-size:13px}.admin-json-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;display:grid}.admin-json-grid strong{color:var(--studio-text);margin-bottom:8px;font-size:13px;font-weight:500;display:block}.admin-json-grid pre{border:1px solid var(--studio-border);background:var(--studio-surface-soft);max-height:360px;color:var(--studio-muted);border-radius:8px;margin:0;padding:12px;font-size:12px;line-height:1.55;overflow:auto}.commerce-root{--commerce-blue:var(--studio-info);--commerce-blue-soft:var(--studio-info-soft);--commerce-danger:var(--studio-danger)}.commerce-scroll-area{scroll-behavior:smooth;flex:1;min-height:0;overflow:hidden auto}.commerce-command-section{border-bottom:1px solid var(--studio-border);background:var(--studio-surface-soft);padding:22px 24px 20px}.commerce-project-line,.commerce-command-card,.commerce-shortcuts,.commerce-content-section,.commerce-history-section{width:min(1180px,100%);margin-inline:auto}.commerce-project-line{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.commerce-project-line>div{align-items:baseline;gap:10px;min-width:0;display:flex}.commerce-project-line span{color:var(--studio-accent);font-size:12px;font-weight:650}.commerce-project-line strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:620;overflow:hidden}.commerce-project-line small{color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.commerce-project-line>button,.commerce-section-heading>button{border:1px solid var(--studio-border);background:var(--studio-surface);height:36px;color:var(--studio-text);border-radius:10px;align-items:center;gap:7px;padding:0 12px;font-size:12px;display:inline-flex}.commerce-command-card{border:1px solid var(--studio-border);background:var(--studio-surface);box-shadow:var(--studio-shadow);border-radius:18px;padding:16px;position:relative}.commerce-command-copy{align-items:flex-start;gap:12px;min-height:68px;display:flex}.commerce-command-copy>span{border:1px solid var(--studio-info);flex:none}@supports (color:color-mix(in lab, red, red)){.commerce-command-copy>span{border:1px solid color-mix(in srgb, var(--studio-info) 34%, transparent)}}.commerce-command-copy>span{background:var(--commerce-blue-soft);color:var(--studio-info);border-radius:999px;padding:6px 11px;font-size:13px;font-weight:650}.commerce-command-copy p{max-width:760px;color:var(--studio-muted);margin:3px 0 0;font-size:clamp(14px,1.25vw,17px);line-height:1.55}.commerce-command-actions{align-items:center;gap:8px;min-width:0;display:flex;position:relative}.commerce-circle-button,.commerce-chip-button,.commerce-submit-arrow{border:1px solid var(--studio-border);background:var(--studio-surface);height:40px;color:var(--studio-text);justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.commerce-circle-button,.commerce-submit-arrow{border-radius:999px;flex:0 0 40px;width:40px}.commerce-circle-button{border-color:var(--studio-info)}@supports (color:color-mix(in lab, red, red)){.commerce-circle-button{border-color:color-mix(in srgb, var(--studio-info) 34%, transparent)}}.commerce-circle-button{background:var(--commerce-blue-soft);color:var(--studio-info)}.commerce-chip-button{text-overflow:ellipsis;white-space:nowrap;border-radius:999px;gap:7px;min-width:0;max-width:330px;padding:0 13px;font-size:12px;font-weight:600;overflow:hidden}.commerce-submit-arrow{border-color:var(--studio-primary);background:var(--studio-primary);color:var(--studio-on-primary);margin-left:auto}.commerce-circle-button:hover,.commerce-chip-button:hover{border-color:var(--studio-info)}@supports (color:color-mix(in lab, red, red)){.commerce-circle-button:hover,.commerce-chip-button:hover{border-color:color-mix(in srgb, var(--studio-info) 48%, transparent)}}.commerce-circle-button:hover,.commerce-chip-button:hover{color:var(--studio-info)}.commerce-submit-arrow:hover{transform:translateY(-1px)}.commerce-cost-label{color:var(--studio-muted);flex:none;font-size:12px}.commerce-shortcuts{scrollbar-width:none;justify-content:center;gap:8px;padding-top:12px;display:flex;overflow-x:auto}.commerce-shortcuts::-webkit-scrollbar{display:none}.commerce-scene-rail::-webkit-scrollbar{display:none}.commerce-shortcuts button{border:1px solid var(--studio-border);background:var(--studio-surface);height:34px;color:var(--studio-muted);border-radius:999px;flex:none;padding:0 12px;font-size:12px}.commerce-shortcuts button:hover{border-color:var(--studio-border-strong);color:var(--studio-text)}.commerce-popover{z-index:70;border:1px solid var(--studio-border);background:var(--studio-surface);box-shadow:var(--studio-shadow-popover);border-radius:14px;padding:12px;position:absolute;top:calc(100% + 10px);left:48px}.commerce-popover>strong{margin:2px 2px 10px;font-size:13px;display:block}.commerce-model-popover{width:min(420px,100vw - 40px);max-height:min(440px,62vh);overflow-y:auto}.commerce-model-popover>button{text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:10px;width:100%;padding:10px;display:grid}.commerce-model-popover>button:hover,.commerce-model-popover>button.is-selected{border-color:var(--studio-border);background:var(--studio-surface-soft)}.commerce-model-popover span,.commerce-model-popover b,.commerce-model-popover small{min-width:0;display:block}.commerce-model-popover b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:620;overflow:hidden}.commerce-model-popover small,.commerce-model-popover em,.commerce-model-popover>p{color:var(--studio-muted);font-size:11px;font-style:normal}.commerce-settings-popover{width:min(620px,100vw - 40px)}.commerce-settings-grid,.commerce-field-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.commerce-settings-grid label,.commerce-field-grid label,.commerce-details-form label,.commerce-textarea-label{color:var(--studio-muted);gap:6px;font-size:11px;font-weight:600;display:grid}.commerce-settings-grid select,.commerce-field-grid select,.commerce-details-form input,.commerce-details-form select,.commerce-details-form textarea,.commerce-textarea-label textarea{border:1px solid var(--studio-border);background:var(--studio-surface-soft);width:100%;color:var(--studio-text);border-radius:10px;min-height:40px;padding:8px 10px;font-size:13px}.commerce-content-section,.commerce-history-section{padding:26px 24px 4px}.commerce-history-section{padding-bottom:54px;scroll-margin-top:16px}.commerce-section-heading{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:15px;display:flex}.commerce-section-heading h1,.commerce-section-heading h2{letter-spacing:-.02em;margin:0;font-size:22px;font-weight:650}.commerce-section-heading p{color:var(--studio-muted);margin:5px 0 0;font-size:13px}.commerce-section-heading>span{background:var(--studio-warning-soft);max-width:520px;color:var(--studio-warning);border-radius:10px;padding:8px 11px;font-size:12px;line-height:1.45}.commerce-batch-progress-list{gap:8px;margin:-2px 0 15px;display:grid}.commerce-batch-progress{border:1px solid var(--studio-green);grid-template-columns:minmax(190px,.34fr) minmax(220px,1fr);align-items:center;gap:18px;display:grid}@supports (color:color-mix(in lab, red, red)){.commerce-batch-progress{border:1px solid color-mix(in srgb, var(--studio-green) 22%, var(--studio-border))}}.commerce-batch-progress{background:var(--studio-green);border-radius:12px}@supports (color:color-mix(in lab, red, red)){.commerce-batch-progress{background:color-mix(in srgb, var(--studio-green) 4%, var(--studio-surface))}}.commerce-batch-progress{padding:11px 13px}.commerce-batch-progress>div:first-child{gap:3px;display:grid}.commerce-batch-progress span{min-width:0;color:var(--studio-text);align-items:center;gap:7px;font-size:12px;font-weight:650;display:flex}.commerce-batch-progress span svg{color:var(--studio-green);flex:none}.commerce-batch-progress small{color:var(--studio-muted);font-size:11px}.commerce-batch-progress-track{background:var(--studio-green);border-radius:999px;height:6px;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.commerce-batch-progress-track{background:color-mix(in srgb, var(--studio-green) 12%, var(--studio-surface-soft))}}.commerce-batch-progress-track>i{border-radius:inherit;background:var(--studio-green);height:100%;transition:width .22s;display:block}.commerce-batch-progress-track.is-indeterminate>i{width:28%;animation:1.35s ease-in-out infinite commerce-progress-scan}.commerce-scene-rail{scroll-snap-type:x mandatory;scrollbar-width:none;gap:14px;padding:2px 1px 12px;display:flex;overflow-x:auto}.commerce-scene-card{border:1px solid var(--studio-border);background:var(--studio-surface);width:316px;box-shadow:var(--studio-shadow-soft);scroll-snap-align:start;text-align:left;border-radius:16px;flex:0 0 316px;padding:14px;transition:all .16s;position:relative;overflow:hidden}.commerce-scene-card:hover{border-color:var(--studio-border-strong);box-shadow:var(--studio-shadow);transform:translateY(-2px)}.commerce-scene-card.is-live{border-color:var(--studio-info)}@supports (color:color-mix(in lab, red, red)){.commerce-scene-card.is-live{border-color:color-mix(in srgb, var(--studio-info) 44%, transparent)}}.commerce-scene-card-heading{grid-template-columns:44px minmax(0,1fr) 34px;align-items:start;gap:10px;display:grid}.commerce-scene-card-heading>span,.commerce-scene-card-heading>i{background:var(--studio-surface-soft);color:var(--studio-text);border-radius:12px;place-items:center;display:grid}.commerce-scene-card-heading>span{width:44px;height:44px}.commerce-scene-card.is-live .commerce-scene-card-heading>span{background:var(--studio-primary);color:var(--studio-on-primary)}.commerce-scene-card-heading>i{width:34px;height:34px;font-style:normal}.commerce-scene-card-heading strong{font-size:17px;font-weight:640;display:block}.commerce-scene-card-heading p{min-height:38px;color:var(--studio-muted);margin:4px 0 0;font-size:12px;line-height:1.5}.commerce-scene-card>img{aspect-ratio:3/2;object-fit:cover;border-radius:12px;width:100%;margin-top:13px;display:block}.commerce-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.commerce-history-card{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:16px;min-width:0;transition:all .16s;overflow:hidden}.commerce-history-card:hover{border-color:var(--studio-border-strong);box-shadow:var(--studio-shadow)}.commerce-history-media{aspect-ratio:4/3;background:var(--studio-surface-soft);position:relative;overflow:hidden}.commerce-history-media>button:first-child{background:0 0;border:0;width:100%;height:100%;padding:0}.commerce-history-media img{object-fit:cover;width:100%;height:100%}.commerce-history-placeholder{height:100%;color:var(--studio-muted);place-content:center;justify-items:center;gap:8px;font-size:12px;display:grid}.commerce-history-progress,.commerce-status-badge,.commerce-media-pagination,.commerce-card-download{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:999px;position:absolute}.commerce-history-progress{background:var(--studio-popover);border-radius:0;justify-content:center;align-items:center;gap:7px;display:flex;inset:0}@supports (color:color-mix(in lab, red, red)){.commerce-history-progress{background:color-mix(in srgb, var(--studio-popover) 78%, transparent)}}.commerce-history-progress{color:var(--studio-text);font-size:12px;font-weight:650}.commerce-status-badge{background:var(--studio-popover);top:10px;right:10px}@supports (color:color-mix(in lab, red, red)){.commerce-status-badge{background:color-mix(in srgb, var(--studio-popover) 88%, transparent)}}.commerce-status-badge{padding:5px 9px;font-size:11px;font-weight:650}.commerce-status-badge.is-done{color:var(--studio-green)}.commerce-status-badge.is-running{color:var(--studio-warning)}.commerce-status-badge.is-failed{color:var(--commerce-danger)}.commerce-status-badge.is-review{color:var(--studio-warning)}.commerce-status-badge.is-inferred{background:var(--studio-warning-soft);color:var(--studio-warning)}.commerce-media-pagination{background:var(--studio-overlay-control);color:var(--studio-overlay-text);align-items:center;gap:3px;padding:3px;display:flex;bottom:10px;left:10px}.commerce-media-pagination button,.commerce-card-download{width:28px;height:28px;color:var(--studio-overlay-text);background:0 0;border:0;border-radius:999px;place-items:center;display:grid}.commerce-media-pagination span{padding:0 3px;font-size:10px}.commerce-card-download{background:var(--studio-overlay-control);bottom:10px;right:10px}.commerce-history-body{padding:14px}.commerce-history-body>div{align-items:flex-start;gap:9px;display:flex}.commerce-history-body p{-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1;min-height:40px;margin:0;font-size:13px;line-height:1.5;display:-webkit-box;overflow:hidden}.commerce-history-body>div>button,.commerce-history-body footer button{background:var(--studio-surface-soft);color:var(--studio-muted);border:0;border-radius:8px;align-items:center;gap:5px;padding:6px 8px;font-size:11px;display:inline-flex}.commerce-history-body small{color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:8px;font-size:11px;display:block;overflow:hidden}.commerce-history-body em{background:var(--studio-danger-soft);color:var(--commerce-danger);border-radius:9px;margin-top:9px;padding:8px;font-size:11px;font-style:normal;line-height:1.45;display:block}.commerce-history-body footer{border-top:1px solid var(--studio-border);color:var(--studio-muted);justify-content:space-between;align-items:center;margin-top:12px;padding-top:10px;font-size:11px;display:flex}.commerce-history-body footer button:not(:disabled):hover{color:var(--commerce-danger)}.commerce-history-body footer button:disabled{cursor:not-allowed;opacity:.45}.commerce-batch-card{grid-template-columns:minmax(220px,.82fr) minmax(250px,1fr);min-height:250px;display:grid}.commerce-batch-cover{border:0;border-right:1px solid var(--studio-border);background:var(--studio-surface-soft);text-align:left;gap:2px;min-width:0;min-height:250px;padding:0;display:grid;overflow:hidden}.commerce-batch-cover.has-1-tiles{grid-template-columns:1fr}.commerce-batch-cover.has-2-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-batch-cover.has-3-tiles,.commerce-batch-cover.has-4-tiles{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-batch-cover.has-3-tiles .commerce-batch-cover-tile:first-child{grid-row:1/-1}.commerce-batch-cover-tile{background:var(--studio-surface-sunken);min-width:0;min-height:0;color:var(--studio-muted);place-items:center;display:grid;position:relative;overflow:hidden}.commerce-batch-cover-tile img{object-fit:cover;width:100%;height:100%}.commerce-batch-cover-tile.is-failed{background:var(--studio-danger-soft);color:var(--commerce-danger)}.commerce-batch-cover-tile.is-running img{opacity:.62}.commerce-batch-cover-tile i,.commerce-batch-cover-tile b{border-radius:8px;justify-content:center;align-items:center;font-style:normal;display:inline-flex;position:absolute}.commerce-batch-cover-tile i{background:var(--studio-surface);gap:5px;inset:0}@supports (color:color-mix(in lab, red, red)){.commerce-batch-cover-tile i{background:color-mix(in srgb, var(--studio-surface) 50%, transparent)}}.commerce-batch-cover-tile i{color:var(--studio-text);font-size:10px;font-weight:650}.commerce-batch-cover-tile b{background:var(--studio-overlay-control);min-width:34px;height:28px;color:var(--studio-overlay-text);padding:0 8px;font-size:11px;bottom:8px;right:8px}.commerce-batch-cover-empty{color:var(--studio-muted);place-content:center;justify-items:center;gap:8px;font-size:12px;display:grid}.commerce-batch-body{flex-direction:column;justify-content:space-between;min-width:0;padding:17px;display:flex}.commerce-history-body .commerce-batch-title-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.commerce-batch-title-row>div{min-width:0}.commerce-batch-title-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:650;display:block;overflow:hidden}.commerce-batch-title-row small{margin-top:6px}.commerce-batch-state{background:var(--studio-surface-soft);min-height:26px;color:var(--studio-muted);border-radius:8px;flex:none;align-items:center;padding:0 9px;font-size:11px;font-weight:650;display:inline-flex}.commerce-batch-state.is-done{background:var(--studio-green)}@supports (color:color-mix(in lab, red, red)){.commerce-batch-state.is-done{background:color-mix(in srgb, var(--studio-green) 9%, var(--studio-surface))}}.commerce-batch-state.is-done{color:var(--studio-green)}.commerce-batch-state.is-running,.commerce-batch-state.is-partial{background:var(--studio-warning-soft);color:var(--studio-warning)}.commerce-batch-state.is-failed{background:var(--studio-danger-soft);color:var(--commerce-danger)}.commerce-history-body .commerce-batch-summary{min-height:0;color:var(--studio-muted);margin:18px 0 0;font-size:12px;display:block}.commerce-batch-body footer{margin-top:auto}.commerce-batch-body footer>span{gap:7px;display:flex}.commerce-batch-body footer>button,.commerce-batch-body footer>span>button{background:var(--studio-surface-soft);min-height:32px;color:var(--studio-muted);border:0;border-radius:8px;align-items:center;gap:5px;padding:0 9px;font-size:11px;display:inline-flex}.commerce-batch-body footer>button{background:var(--studio-primary);color:var(--studio-on-primary);font-weight:620}.commerce-history-drawer{background:var(--studio-surface);width:min(980px,100vw - 32px);height:calc(100dvh - 32px);box-shadow:var(--studio-shadow-popover);border-radius:18px;flex-direction:column;margin:16px 16px 16px auto;display:flex;overflow:hidden}.commerce-history-drawer>header{border-bottom:1px solid var(--studio-border);justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;display:flex}.commerce-history-drawer>header>div>span{color:var(--studio-muted);font-size:11px;font-weight:650}.commerce-history-drawer h2{letter-spacing:-.02em;margin:5px 0 0;font-size:20px}.commerce-history-drawer header p{color:var(--studio-muted);margin:5px 0 0;font-size:11px}.commerce-history-drawer header>button{border:1px solid var(--studio-border);background:var(--studio-surface-soft);width:38px;height:38px;color:var(--studio-text);border-radius:10px;flex:none;place-items:center;display:grid}.commerce-history-drawer-toolbar{border-bottom:1px solid var(--studio-border);background:var(--studio-surface-soft);align-items:flex-end;gap:12px;padding:12px 20px;display:flex}.commerce-history-drawer-toolbar>div{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.commerce-history-drawer-toolbar small{color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.commerce-history-drawer-toolbar label{color:var(--studio-muted);flex:0 0 180px;gap:4px;font-size:10px;display:grid}.commerce-history-drawer-toolbar select{border:1px solid var(--studio-border);background:var(--studio-surface);min-height:34px;color:var(--studio-text);border-radius:8px;padding:0 9px;font-size:11px}.commerce-retry-all{background:var(--studio-primary);min-height:34px;color:var(--studio-on-primary);white-space:nowrap;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 11px;font-size:11px;font-weight:620;display:inline-flex}.commerce-retry-all:disabled{cursor:not-allowed;opacity:.45}.commerce-history-drawer-body{background:var(--studio-surface-soft);flex:1;min-height:0;padding:14px;overflow-y:auto}.commerce-batch-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.commerce-batch-item-card{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:14px;min-width:0;overflow:hidden}.commerce-batch-item-card.is-failed{border-color:var(--commerce-danger)}@supports (color:color-mix(in lab, red, red)){.commerce-batch-item-card.is-failed{border-color:color-mix(in srgb, var(--commerce-danger) 24%, var(--studio-border))}}.commerce-batch-item-media{aspect-ratio:4/3;background:var(--studio-surface-sunken);position:relative;overflow:hidden}.commerce-batch-item-media>button:first-child{background:0 0;border:0;width:100%;height:100%;padding:0}.commerce-batch-item-media>button:first-child:disabled{cursor:default}.commerce-batch-item-media img{object-fit:cover;width:100%;height:100%}.commerce-batch-item-body{padding:12px}.commerce-batch-item-body>div{gap:4px;display:grid}.commerce-batch-item-body strong{font-size:13px}.commerce-batch-item-body small{color:var(--studio-muted);font-size:10px}.commerce-batch-item-body>p{background:var(--studio-danger-soft);color:var(--commerce-danger);border-radius:8px;margin:9px 0 0;padding:8px;font-size:10px;line-height:1.45}.commerce-batch-item-body>p.commerce-quality-note{background:var(--studio-warning-soft);color:var(--studio-warning)}.commerce-batch-item-body footer{justify-content:flex-end;align-items:center;gap:7px;margin-top:10px;display:flex}.commerce-batch-item-body footer button{background:var(--studio-surface-soft);min-height:30px;color:var(--studio-muted);border:0;border-radius:8px;align-items:center;gap:5px;padding:0 9px;font-size:10px;display:inline-flex}.commerce-batch-item-body footer button:last-child:not(:first-child){background:var(--studio-primary);color:var(--studio-on-primary);font-weight:620}.commerce-batch-item-body footer button:disabled{cursor:not-allowed;opacity:.45}.commerce-history-drawer>footer{border-top:1px solid var(--studio-border);justify-content:space-between;align-items:center;gap:14px;padding:13px 20px;display:flex}.commerce-history-drawer>footer span{color:var(--studio-muted);font-size:11px}.commerce-history-drawer>footer button{background:var(--studio-surface-soft);min-height:34px;color:var(--commerce-danger);border:0;border-radius:8px;align-items:center;gap:6px;padding:0 10px;font-size:11px;display:inline-flex}.commerce-history-drawer>footer button:disabled{cursor:not-allowed;opacity:.45}.commerce-empty-history,.commerce-fatal-state{border:1px dashed var(--studio-border-strong);background:var(--studio-surface);min-height:240px;color:var(--studio-muted);text-align:center;border-radius:16px;place-content:center;justify-items:center;gap:8px;display:grid}.commerce-empty-history strong,.commerce-fatal-state h1{color:var(--studio-text);margin:0;font-size:16px}.commerce-empty-history p,.commerce-fatal-state p{margin:0;font-size:12px}.commerce-empty-history button,.commerce-fatal-state button{background:var(--studio-primary);color:var(--studio-on-primary);border:0;border-radius:10px;margin-top:6px;padding:9px 13px;font-size:12px}.commerce-fatal-state{border:0;border-radius:0;flex:1;min-height:0}.commerce-loading{flex:1;min-height:0;padding:28px;overflow:hidden}.commerce-loading-card,.commerce-loading-grid i{background:linear-gradient(90deg, var(--studio-surface-sunken) 25%, var(--studio-surface-soft) 50%, var(--studio-surface-sunken) 75%);background-size:200% 100%;border-radius:16px;animation:1.4s infinite commerce-shimmer;display:block}.commerce-loading-card{width:min(900px,100%);height:150px;margin:0 auto 24px}.commerce-loading-grid{grid-template-columns:repeat(3,1fr);gap:16px;width:min(1180px,100%);margin:auto;display:grid}.commerce-loading-grid i{height:260px}.commerce-drawer-backdrop,.commerce-preview-backdrop{z-index:110;background:var(--studio-overlay);position:fixed;inset:0}.commerce-outfit-drawer,.commerce-scene-drawer,.commerce-details-drawer{background:var(--studio-surface);width:min(1080px,100vw - 32px);height:calc(100dvh - 32px);box-shadow:var(--studio-shadow-popover);border-radius:18px;flex-direction:column;margin:16px 16px 16px auto;display:flex;overflow:hidden}.commerce-outfit-drawer>header,.commerce-scene-drawer>header,.commerce-details-drawer>header{border-bottom:1px solid var(--studio-border);justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;display:flex}.commerce-outfit-drawer>header span,.commerce-scene-drawer>header span{background:var(--commerce-blue-soft);color:var(--studio-info);border-radius:999px;align-items:center;gap:6px;padding:6px 9px;font-size:11px;font-weight:650;display:inline-flex}.commerce-outfit-drawer h2,.commerce-scene-drawer h2,.commerce-details-drawer h2{letter-spacing:-.02em;margin:9px 0 0;font-size:22px}.commerce-outfit-drawer header p,.commerce-scene-drawer header p,.commerce-details-drawer header p{color:var(--studio-muted);margin:5px 0 0;font-size:12px;line-height:1.5}.commerce-outfit-drawer header>button,.commerce-scene-drawer header>button,.commerce-details-drawer header>button{border:1px solid var(--studio-border);background:var(--studio-surface-soft);width:38px;height:38px;color:var(--studio-text);border-radius:10px;place-items:center;display:grid}.commerce-outfit-body{background:var(--studio-surface-soft);flex:1;grid-template-columns:360px minmax(0,1fr);gap:14px;min-height:0;padding:14px;display:grid;overflow-y:auto}.commerce-outfit-sidebar{align-content:start;gap:14px;display:grid}.commerce-scene-body{background:var(--studio-surface-soft);flex:1;grid-template-columns:430px minmax(0,1fr);gap:14px;min-height:0;padding:14px;display:grid;overflow-y:auto}.commerce-scene-sidebar{align-content:start;gap:14px;display:grid}.commerce-form-panel,.commerce-target-panel{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:15px;padding:15px}.commerce-form-panel h3,.commerce-target-panel h3{margin:0;font-size:16px}.commerce-panel-heading,.commerce-target-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.commerce-panel-heading p,.commerce-target-heading p{color:var(--studio-muted);margin:4px 0 0;font-size:11px;line-height:1.45}.commerce-panel-heading-spaced{margin-top:16px}.commerce-inline-warning{background:var(--studio-warning-soft);color:var(--studio-warning);border-radius:9px;margin:10px 0 0;padding:8px 9px;font-size:10px;line-height:1.5}.commerce-segmented{background:var(--studio-surface-soft);border-radius:10px;flex:none;padding:3px;display:inline-flex}.commerce-segmented button{height:30px;color:var(--studio-muted);background:0 0;border:0;border-radius:8px;padding:0 9px;font-size:11px;font-weight:600}.commerce-segmented button.is-selected{background:var(--studio-surface);color:var(--studio-text);box-shadow:0 1px 4px #17171714}.commerce-upload-slot{border:1px dashed var(--studio-border-strong);background:var(--studio-surface-soft);cursor:pointer;border-radius:13px;place-items:center;min-height:190px;margin-top:13px;display:grid;position:relative;overflow:hidden}.commerce-upload-slot>input,.commerce-upload-button input{opacity:0;width:1px;height:1px;position:absolute}.commerce-upload-slot>div:not(.commerce-upload-preview){color:var(--studio-muted);text-align:center;justify-items:center;gap:7px;display:grid}.commerce-upload-slot strong{color:var(--studio-text);font-size:13px}.commerce-upload-slot span{font-size:10px}.commerce-upload-preview{width:100%;height:220px;position:relative}.commerce-upload-preview img{object-fit:cover;width:100%;height:100%}.commerce-upload-preview button,.commerce-target-grid article div>button{width:28px;height:28px;color:var(--studio-text);background:#ffffffe6;border:0;border-radius:999px;place-items:center;display:grid;position:absolute;top:8px;right:8px}.commerce-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:13px}.commerce-field-grid-spaced{margin-top:14px}.commerce-textarea-label{margin-top:12px}.commerce-textarea-label textarea{resize:vertical;min-height:88px}.commerce-target-heading>div{flex:1}.commerce-target-heading .commerce-segmented{margin-top:10px}.commerce-upload-button{background:var(--studio-primary);height:38px;color:var(--studio-on-primary);cursor:pointer;border-radius:10px;align-items:center;gap:7px;padding:0 13px;font-size:12px;font-weight:620;display:inline-flex;position:relative}.commerce-target-empty{border:1px dashed var(--studio-border-strong);background:var(--studio-surface-soft);min-height:330px;color:var(--studio-muted);text-align:center;border-radius:13px;place-content:center;justify-items:center;gap:7px;margin-top:14px;display:grid}.commerce-target-empty strong{color:var(--studio-text);font-size:13px}.commerce-target-empty p{margin:0;font-size:11px}.commerce-target-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.commerce-target-grid article{border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:13px;overflow:hidden}.commerce-target-grid article>div{aspect-ratio:4/5;position:relative}.commerce-target-grid article img{object-fit:cover;width:100%;height:100%}.commerce-target-grid article span{color:var(--studio-text);background:#ffffffe6;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:650;position:absolute;top:8px;left:8px}.commerce-target-grid article p{color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;margin:0;padding:9px;font-size:11px;overflow:hidden}.commerce-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px;display:grid}.commerce-option-grid label{border:1px solid var(--studio-border);background:var(--studio-surface);cursor:pointer;border-radius:12px;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;min-height:78px;padding:11px;transition:border-color .15s,background-color .15s;display:grid}.commerce-option-grid label.is-selected{border-color:var(--studio-primary)}@supports (color:color-mix(in lab, red, red)){.commerce-option-grid label.is-selected{border-color:color-mix(in srgb, var(--studio-primary) 42%, var(--studio-border))}}.commerce-option-grid label.is-selected{background:var(--studio-primary)}@supports (color:color-mix(in lab, red, red)){.commerce-option-grid label.is-selected{background:color-mix(in srgb, var(--studio-primary) 4%, var(--studio-surface))}}.commerce-option-grid input{accent-color:var(--studio-primary);margin:2px 0 0}.commerce-option-grid strong{color:var(--studio-text);font-size:12px;display:block}.commerce-option-grid small{color:var(--studio-muted);margin-top:4px;font-size:10px;line-height:1.45;display:block}.commerce-output-slot-grid{gap:8px;margin-top:13px;display:grid}.commerce-output-slot-grid article{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:10px 11px;display:flex}.commerce-output-slot-grid article.is-selected{border-color:var(--studio-primary)}@supports (color:color-mix(in lab, red, red)){.commerce-output-slot-grid article.is-selected{border-color:color-mix(in srgb, var(--studio-primary) 38%, var(--studio-border))}}.commerce-output-slot-grid article.is-selected{background:var(--studio-primary)}@supports (color:color-mix(in lab, red, red)){.commerce-output-slot-grid article.is-selected{background:color-mix(in srgb, var(--studio-primary) 3%, var(--studio-surface))}}.commerce-output-slot-grid article strong{font-size:12px;display:block}.commerce-output-slot-grid article small{color:var(--studio-muted);margin-top:3px;font-size:10px;line-height:1.4;display:block}.commerce-output-slot-grid article>span{flex:none;grid-template-columns:28px 24px 28px;align-items:center;display:grid}.commerce-output-slot-grid article>span button{border:1px solid var(--studio-border);background:var(--studio-surface-soft);width:28px;height:28px;color:var(--studio-text);border-radius:8px;place-items:center;display:grid}.commerce-output-slot-grid article>span button:disabled{cursor:not-allowed;opacity:.35}.commerce-output-slot-grid article>span b{text-align:center;font-size:12px}.commerce-detail-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:13px;display:grid}.commerce-detail-module-grid label{border:1px solid var(--studio-border);background:var(--studio-surface);cursor:pointer;border-radius:11px;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:8px;min-height:58px;padding:9px;display:grid}.commerce-detail-module-grid label.is-selected{border-color:var(--studio-primary)}@supports (color:color-mix(in lab, red, red)){.commerce-detail-module-grid label.is-selected{border-color:color-mix(in srgb, var(--studio-primary) 38%, var(--studio-border))}}.commerce-detail-module-grid label.is-selected{background:var(--studio-primary)}@supports (color:color-mix(in lab, red, red)){.commerce-detail-module-grid label.is-selected{background:color-mix(in srgb, var(--studio-primary) 3%, var(--studio-surface))}}.commerce-detail-module-grid input{accent-color:var(--studio-primary);margin:2px 0 0}.commerce-detail-module-grid strong{font-size:11px;display:block}.commerce-detail-module-grid small{color:var(--studio-muted);margin-top:3px;font-size:9px;line-height:1.4;display:block}.commerce-scene-preview,.commerce-reference-preview,.commerce-product-set-preview{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:15px;flex-direction:column;min-height:480px;padding:16px;display:flex;overflow:hidden}.commerce-scene-preview>header,.commerce-reference-preview>header,.commerce-product-set-preview>header{border:0;padding:0 0 14px;display:block}.commerce-reference-preview>header>div,.commerce-product-set-preview>header>div{align-items:center;gap:7px;display:flex}.commerce-scene-preview>header strong,.commerce-reference-preview>header strong,.commerce-product-set-preview>header strong{color:var(--studio-text);font-size:15px}.commerce-scene-preview>header p,.commerce-reference-preview>header p,.commerce-product-set-preview>header p{max-width:560px;color:var(--studio-muted);margin:5px 0 0;font-size:11px;line-height:1.5}.commerce-scene-preview>img{object-fit:contain;background:var(--studio-surface-soft);border-radius:12px;flex:1;width:100%;min-height:0}.commerce-reference-preview>div{flex:1;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);align-items:center;gap:10px;min-height:0;display:grid}.commerce-reference-preview>div>img{background:var(--studio-surface-soft);object-fit:contain;border-radius:12px;width:100%;height:100%;min-height:300px}.commerce-reference-preview>div>svg{color:var(--studio-muted);justify-self:center}.commerce-reference-preview>small{color:var(--studio-muted);padding-top:12px;font-size:11px;line-height:1.5}.commerce-product-set-relation{flex:1;grid-template-columns:minmax(0,.72fr) 32px minmax(0,1.28fr);align-items:center;gap:10px;min-height:0;display:grid}.commerce-product-set-relation>img{background:var(--studio-surface-soft);object-fit:contain;border-radius:12px;width:100%;height:100%;min-height:300px}.commerce-product-set-relation>svg{color:var(--studio-muted);justify-self:center}.commerce-product-set-summary{flex-wrap:wrap;gap:7px;padding-top:12px;display:flex}.commerce-product-set-summary span{background:var(--studio-surface-soft);color:var(--studio-muted);border-radius:999px;align-items:center;gap:5px;padding:6px 9px;font-size:10px;display:inline-flex}.commerce-product-set-summary b{color:var(--studio-text)}.commerce-product-set-preview>small{color:var(--studio-muted);padding-top:10px;font-size:11px;line-height:1.5}.commerce-asset-collection{gap:9px;margin-top:13px;display:grid}.commerce-asset-collection>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.commerce-asset-collection article{aspect-ratio:1;border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:11px;position:relative;overflow:hidden}.commerce-asset-collection article img{object-fit:cover;width:100%;height:100%}.commerce-asset-collection article span{width:22px;height:22px;color:var(--studio-text);background:#ffffffe6;border-radius:999px;place-items:center;font-size:10px;font-weight:650;display:grid;position:absolute;top:7px;left:7px}.commerce-asset-collection article button{width:26px;height:26px;color:var(--studio-text);background:#ffffffe6;border:0;border-radius:999px;place-items:center;display:grid;position:absolute;top:7px;right:7px}.commerce-asset-collection article.has-evidence-view:after{content:"";pointer-events:none;background:linear-gradient(#0000,#0000009e);height:38%;position:absolute;inset:auto 0 0}.commerce-asset-collection article select{z-index:1;color:#202420;background:#fffffff0;border:1px solid #ffffff73;border-radius:8px;min-width:0;height:27px;padding:0 22px 0 7px;font-size:10px;position:absolute;bottom:6px;left:6px;right:6px}.commerce-asset-collection>label{border:1px dashed var(--studio-border-strong);background:var(--studio-surface-soft);min-height:40px;color:var(--studio-text);cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:620;display:inline-flex;position:relative}.commerce-asset-collection>label input{opacity:0;width:1px;height:1px;position:absolute}.commerce-asset-collection>small{color:var(--studio-muted);font-size:10px}.commerce-inference-toggle{border:1px solid var(--studio-warning);grid-template-columns:16px minmax(0,1fr);align-items:start;gap:8px;margin-top:8px;display:grid}@supports (color:color-mix(in lab, red, red)){.commerce-inference-toggle{border:1px solid color-mix(in srgb, var(--studio-warning) 34%, transparent)}}.commerce-inference-toggle{background:var(--studio-warning-soft);cursor:pointer;border-radius:10px;padding:9px}.commerce-inference-toggle input{accent-color:var(--studio-warning);margin:2px 0 0}.commerce-inference-toggle strong{color:var(--studio-warning);font-size:11px;display:block}.commerce-inference-toggle small{color:var(--studio-warning);margin-top:3px;font-size:9px;line-height:1.45;display:block}.commerce-outfit-drawer>footer,.commerce-scene-drawer>footer,.commerce-details-drawer>footer{border-top:1px solid var(--studio-border);justify-content:space-between;align-items:center;gap:14px;padding:14px 20px;display:flex}.commerce-outfit-drawer>footer>div,.commerce-scene-drawer>footer>div{align-items:center;gap:10px;display:flex}.commerce-outfit-drawer>footer strong,.commerce-scene-drawer>footer strong{font-size:12px}.commerce-outfit-drawer>footer span,.commerce-scene-drawer>footer span{color:var(--studio-muted);font-size:11px}.commerce-outfit-drawer>footer p,.commerce-scene-drawer>footer p{max-width:360px;color:var(--commerce-danger);margin:0;font-size:11px}.commerce-secondary-action,.commerce-primary-action,.commerce-details-drawer>footer button{border:1px solid var(--studio-border);background:var(--studio-surface);min-height:40px;color:var(--studio-text);border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-size:12px;font-weight:620;display:inline-flex}.commerce-primary-action,.commerce-details-drawer>footer button:last-child{border-color:var(--studio-primary);background:var(--studio-primary);color:var(--studio-on-primary)}.commerce-secondary-action:disabled,.commerce-primary-action:disabled{cursor:not-allowed;opacity:.45}.commerce-details-drawer{width:min(560px,100vw - 32px)}.commerce-details-form{flex:1;align-content:start;gap:13px;min-height:0;padding:18px 20px;display:grid;overflow-y:auto}.commerce-details-form>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.commerce-details-form textarea{resize:vertical;min-height:82px}.commerce-details-form>p{background:var(--studio-danger-soft);color:var(--commerce-danger);border-radius:9px;margin:0;padding:9px;font-size:12px}.commerce-details-drawer>footer{justify-content:flex-end}.commerce-preview-backdrop{background:#0a0a0adb;place-items:center;padding:18px;display:grid}.commerce-preview-backdrop>div{flex-direction:column;gap:12px;width:min(1120px,100%);max-height:100%;display:flex}.commerce-preview-backdrop header{color:#fff;justify-content:space-between;align-items:center;font-size:12px;display:flex}.commerce-preview-backdrop header div{gap:8px;display:flex}.commerce-preview-backdrop header button,.commerce-preview-backdrop section>button{color:#fff;background:#ffffff1a;border:1px solid #fff3;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 11px;display:inline-flex}.commerce-preview-backdrop header button:last-child,.commerce-preview-backdrop section>button{width:36px;padding:0}.commerce-preview-backdrop section{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;min-height:0;display:grid}.commerce-preview-backdrop section>button:first-child{grid-column:1}.commerce-preview-backdrop section img{object-fit:contain;border-radius:12px;grid-column:2;justify-self:center;max-width:100%;max-height:calc(100dvh - 96px);display:block}.commerce-preview-backdrop section>button:last-child{grid-column:3}.spin{animation:.8s linear infinite commerce-spin}@keyframes commerce-spin{to{transform:rotate(360deg)}}@keyframes commerce-shimmer{to{background-position:-200% 0}}@keyframes commerce-progress-scan{0%{transform:translate(-120%)}to{transform:translate(460%)}}@media (prefers-reduced-motion:reduce){.commerce-scroll-area{scroll-behavior:auto}.commerce-scene-card,.commerce-submit-arrow,.commerce-option-grid label{transition:none}.commerce-loading-card,.commerce-loading-grid i,.commerce-batch-progress-track.is-indeterminate>i{animation:none}}@media (max-width:980px){.commerce-history-grid{grid-template-columns:1fr}.commerce-outfit-body{grid-template-columns:320px minmax(0,1fr)}.commerce-scene-body{grid-template-columns:380px minmax(0,1fr)}.commerce-target-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-cost-label{display:none}}@media (max-width:720px){.commerce-command-section,.commerce-content-section,.commerce-history-section{padding-inline:14px}.commerce-command-section{padding-top:14px}.commerce-project-line>div{gap:2px;display:grid}.commerce-project-line small{display:none}.commerce-command-copy{min-height:76px;display:block}.commerce-command-copy p{margin-top:10px;font-size:14px}.commerce-command-actions{padding-bottom:2px;overflow-x:auto}.commerce-chip-button{max-width:210px}.commerce-submit-arrow{position:sticky;right:0}.commerce-popover{z-index:130;width:auto;max-height:min(520px,72dvh);position:fixed;inset:auto 12px 12px}.commerce-shortcuts{justify-content:flex-start}.commerce-section-heading{align-items:flex-start}.commerce-section-heading>span{max-width:46%}.commerce-batch-progress{grid-template-columns:1fr;gap:9px}.commerce-scene-card{flex-basis:282px;width:282px}.commerce-history-grid,.commerce-batch-card{grid-template-columns:1fr}.commerce-batch-cover{border-right:0;border-bottom:1px solid var(--studio-border);min-height:220px}.commerce-outfit-drawer,.commerce-scene-drawer,.commerce-details-drawer,.commerce-history-drawer{border-radius:0;width:100%;height:100dvh;margin:0}.commerce-history-drawer-toolbar{flex-direction:column;align-items:stretch}.commerce-history-drawer-toolbar>div{justify-content:space-between}.commerce-history-drawer-toolbar small{display:none}.commerce-history-drawer-toolbar label{flex-basis:auto}.commerce-retry-all{justify-content:center}.commerce-batch-item-grid{grid-template-columns:1fr}.commerce-outfit-body,.commerce-scene-body{padding:10px;display:block}.commerce-outfit-sidebar,.commerce-scene-sidebar{margin-bottom:10px}.commerce-outfit-drawer>footer,.commerce-scene-drawer>footer{flex-direction:column;align-items:stretch}.commerce-outfit-drawer>footer>div,.commerce-scene-drawer>footer>div{justify-content:space-between}.commerce-outfit-drawer>footer>div:last-child,.commerce-scene-drawer>footer>div:last-child{grid-template-columns:92px minmax(0,1fr);display:grid}.commerce-outfit-drawer>footer p,.commerce-scene-drawer>footer p{grid-column:1/-1;max-width:none}.commerce-target-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-scene-preview,.commerce-reference-preview,.commerce-product-set-preview{min-height:420px}.commerce-preview-backdrop section{grid-template-columns:34px minmax(0,1fr) 34px;gap:5px}.commerce-preview-backdrop section>button{width:32px;height:32px;min-height:32px}}@media (max-width:460px){.commerce-project-line>button{justify-content:center;width:36px;padding:0;font-size:0}.commerce-chip-button{max-width:160px}.commerce-settings-grid,.commerce-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-section-heading>span{display:none}.commerce-target-heading{display:grid}.commerce-option-grid,.commerce-detail-module-grid,.commerce-reference-preview>div{grid-template-columns:1fr}.commerce-reference-preview>div>svg{transform:rotate(90deg)}.commerce-reference-preview>div>img{min-height:220px}.commerce-product-set-relation{grid-template-columns:1fr}.commerce-product-set-relation>svg{transform:rotate(90deg)}.commerce-product-set-relation>img{min-height:220px}.commerce-upload-button{justify-content:center;width:100%}.commerce-target-grid,.commerce-details-form>div{grid-template-columns:1fr}}@media (min-width:901px) and (max-width:1180px){.studio-topbar{padding:0 14px}.studio-brand,.studio-actions{min-width:0}.studio-nav-link{padding:8px 10px;font-size:13px}.history-panel{flex-basis:236px;width:236px}.message-strip{padding:20px 18px 12px}.composer-shell{padding:10px 18px 14px}.composer-controls{flex-wrap:wrap;row-gap:6px}.selector-value{max-width:96px}.selector-kicker{display:none}.model-selector{max-width:min(220px,30vw)}.settings-selector{max-width:min(240px,32vw)}}@media (max-width:900px){.studio-topbar{flex:0 0 56px;grid-template-columns:40px minmax(0,1fr) 40px;gap:8px;height:56px;min-height:56px;padding:0 12px;display:grid}.studio-mobile-menu{position:relative;display:block!important}.studio-mobile-title{color:var(--studio-text);justify-self:center;font-size:15px;font-weight:500;line-height:1;display:block!important}.studio-topbar .studio-brand,.studio-topbar .studio-logo-wordmark,.studio-actions .icon-button{display:none}.studio-actions{justify-content:flex-end;min-width:auto}.studio-nav{display:none}.chat-workspace{flex:1;height:auto}.history-panel{z-index:35;width:min(300px,84vw);box-shadow:var(--studio-shadow-popover);flex-basis:auto;position:absolute;top:0;bottom:0;left:0}.history-panel.is-collapsed{pointer-events:none;width:0;box-shadow:none;flex-basis:0;padding:0;position:absolute;transform:translate(-100%)}.history-panel.is-collapsed .collapse-button,.history-panel.is-collapsed .new-chat-button{flex-basis:40px;width:40px;height:40px;min-height:40px}.history-product-links{border-top:1px solid var(--studio-border);gap:6px;padding-top:10px;display:grid!important}.history-product-link{color:var(--studio-muted);border-radius:8px;padding:10px;font-size:14px;text-decoration:none}.history-product-link.is-active{background:var(--studio-primary-soft);color:var(--studio-text)}.history-item-actions{opacity:1}.history-panel.is-collapsed .history-head,.history-panel.is-collapsed .history-product-links,.history-panel.is-collapsed .new-chat-button,.history-panel.is-collapsed .history-search,.history-panel.is-collapsed .history-clear-button,.history-panel.is-collapsed .history-list-head,.history-panel.is-collapsed .history-list{display:none!important}.chat-main.is-empty{grid-template-rows:minmax(0,1fr) auto;align-content:stretch;row-gap:0}.chat-main.is-empty .message-strip{place-items:center;padding:0 18px;display:grid;overflow-y:auto}.chat-main.is-empty .composer-shell{border-top:1px solid var(--studio-border);background:var(--studio-composer-band);padding:8px 10px max(10px, env(safe-area-inset-bottom))}.empty-state{min-height:auto}.empty-state h1{font-size:22px;font-weight:500}.empty-state p{max-width:280px;font-size:13px}.starter-prompts{grid-template-columns:1fr;gap:7px}.starter-prompts button{min-height:40px;font-size:12px}.message-strip{padding:20px 14px 14px}.message-body{max-width:88%}.message:not(.is-user) .message-body{max-width:100%}.message-actions{opacity:1}.message-actions-desktop{display:none}.message-actions-mobile{display:block}.message-actions-mobile>button{width:36px;height:36px}.message-actions-menu{top:38px}.message-editor{min-width:0}.message-editor-actions button{min-height:34px}.message-retry-popover{z-index:80;right:10px;bottom:max(10px, env(safe-area-inset-bottom));width:auto;max-height:min(70dvh,480px);position:fixed;top:auto!important;left:10px!important}.message-retry-options{max-height:min(58dvh,390px)}.scroll-to-bottom{bottom:104px;right:14px}.composer-shell{background:var(--studio-composer-band);width:100%;min-width:0;padding:8px 10px max(10px, env(safe-area-inset-bottom))}.composer{width:100%;min-width:0;max-width:100%;box-shadow:var(--studio-shadow-soft);border-radius:10px;padding:10px}.composer-input-row{min-height:44px}.composer-textarea{min-height:44px;max-height:min(36dvh,220px);padding:2px 4px;font-size:14px;line-height:1.55}.composer-textarea.has-expand-control{padding-right:38px}.composer-expand-button{border-radius:8px;width:30px;height:30px;top:0}.composer-editor-backdrop{padding:0;display:block}.composer-editor-dialog{width:100%;height:100dvh;min-height:0;box-shadow:none;border:0;border-radius:0}.composer-editor-header{padding:calc(13px + env(safe-area-inset-top)) 14px 13px}.composer-editor-header h2{font-size:16px}.composer-editor-header>button{flex-basis:34px;width:34px;height:34px}.composer-editor-body{gap:8px;padding:10px}.composer-editor-attachments{scrollbar-width:none;flex-wrap:nowrap;max-height:92px;padding:0 2px 9px;overflow:auto hidden}.composer-editor-attachments::-webkit-scrollbar{display:none}.composer-editor-textarea{border-radius:10px;padding:15px 14px;font-size:16px;line-height:1.7}.attachment-mention-popover.is-expanded{width:calc(100% - 20px);max-height:min(240px,38dvh);top:10px;left:10px}.composer-editor-footer{padding:10px 10px max(10px, env(safe-area-inset-bottom));gap:10px}.composer-editor-meta span:not(:first-child){display:none}.composer-editor-actions{gap:6px}.composer-editor-actions button{min-height:40px;padding:0 12px}.composer-editor-send{min-width:82px}.composer-attachment-row{margin-bottom:5px;padding-right:8px}.attachment-list.is-compact .attachment-chip.is-image-attachment{flex-basis:56px;width:56px;height:56px}.composer-controls{flex-direction:row;align-items:center;gap:6px;overflow:visible}.composer-left-controls{-ms-overflow-style:none;scrollbar-width:none;flex:1 1 0;gap:4px;padding:0;overflow:auto hidden}.composer-left-controls::-webkit-scrollbar{display:none}.composer-right-controls{flex:none;justify-content:flex-end;min-width:auto}.selector-trigger{gap:6px;height:36px;padding:0 9px;font-size:13px}.upload-selector{width:36px;min-width:36px;padding:0}.selector-icon{flex-basis:22px;width:22px;height:22px}.selector-value{max-width:112px}.model-selector{max-width:132px}.model-wrap{flex:0 auto;min-width:0}.model-selector .selector-kicker{display:none}.settings-selector{max-width:168px}.composer-mode-image .composer-controls,.composer-mode-video .composer-controls{grid-template-columns:minmax(0,1fr) 36px;align-items:end;display:grid}.composer-mode-image .composer-left-controls,.composer-mode-video .composer-left-controls{flex-wrap:wrap;overflow:visible}.composer-mode-image .upload-wrap,.composer-mode-video .upload-wrap{order:1}.composer-mode-image .mode-wrap,.composer-mode-video .mode-wrap{flex:calc(100% - 44px);order:2;min-width:0}.composer-mode-image .model-wrap,.composer-mode-video .model-wrap,.composer-mode-image .settings-wrap,.composer-mode-video .settings-wrap{flex:calc(50% - 4px);min-width:0}.composer-mode-image .model-wrap,.composer-mode-video .model-wrap{order:3}.composer-mode-image .settings-wrap,.composer-mode-video .settings-wrap{order:4}.composer-mode-image .mode-selector,.composer-mode-video .mode-selector,.composer-mode-image .model-selector,.composer-mode-video .model-selector,.composer-mode-image .settings-selector,.composer-mode-video .settings-selector{width:100%;max-width:none}.composer-mode-image .selector-value,.composer-mode-video .selector-value{max-width:none}.composer-mode-image .selector-kicker,.composer-mode-video .selector-kicker{display:none}.composer-mode-image .selector-popover,.composer-mode-video .selector-popover{right:12px;bottom:calc(176px + env(safe-area-inset-bottom));left:12px}.model-option.is-compact .selector-option-meta{max-width:96px}.model-resolution-badge{padding:3px 5px;font-size:10px}.send-button{flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px}.selector-popover{right:14px;bottom:calc(116px + env(safe-area-inset-bottom));z-index:90;width:auto;max-height:min(420px,52vh);position:fixed;left:70px}.model-popover,.settings-popover{width:auto}.model-browser-popover{grid-template-columns:minmax(96px,30%) minmax(0,1fr);min-height:min(390px,52vh);padding:8px}.model-browser-groups{padding-right:7px}.model-browser-groups-title,.model-browser-group{padding-left:8px;padding-right:8px}.model-browser-models{padding-left:8px}.auth-inline,.redeem-form{grid-template-columns:1fr}.auth-inline .secondary-button{width:100%}.account-hero{flex-direction:column;align-items:stretch}.recharge-shell{padding:32px 16px}.recharge-balance-band{flex-direction:column;align-items:flex-start}.recharge-balance-actions{flex-wrap:wrap}.recharge-content-grid{grid-template-columns:1fr}.profile-shell{padding:32px 16px}.profile-summary-card{flex-direction:column;align-items:flex-start}.profile-balance{text-align:left}.profile-content .profile-card{padding:20px}.copy-row{flex-direction:column}.copy-row button{min-height:46px}.profile-record-actions{flex-wrap:wrap;width:100%}.profile-record-actions .secondary-button{flex:120px;justify-content:center}.admin-shell{padding:20px 14px}.admin-config-section .section-head{flex-direction:column;align-items:stretch;gap:12px}.admin-config-section .primary-button,.admin-config-section .secondary-button{justify-content:center;min-height:40px;padding:10px 12px}.consumption-table-wrap{display:none}.consumption-mobile-list{gap:12px;display:grid}.consumption-mobile-card{border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:8px;gap:10px;padding:14px;display:grid}.mobile-record-head{align-items:center;gap:8px;min-width:0;display:flex}.mobile-record-head strong{color:var(--studio-text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.consumption-mobile-card p{color:var(--studio-muted);margin:6px 0 0;font-size:12px;line-height:1.55}.consumption-mobile-card .record-amount{text-align:left}.mobile-record-metrics{color:var(--studio-muted);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:12px;display:grid}.profile-pagination{flex-wrap:wrap}.account-grid,.package-grid,.qr-grid,.reference-grid,.log-row,.empty-log,.admin-status-grid,.config-field-grid,.admin-json-grid,.model-editor-grid,.model-summary-grid,.model-toggle-grid,.admin-reference-grid{grid-template-columns:1fr}.model-editor-head,.model-add-actions{flex-direction:column;align-items:stretch}.model-add-actions select{width:100%}.package-editor-row{grid-template-columns:1fr}.model-editor-card-head{flex-direction:column}.model-card-actions{justify-content:flex-start}.model-disabled-state{flex-direction:column;align-items:stretch}}:is([data-theme=dark],[data-theme=black]){scrollbar-color:var(--studio-border-strong) transparent}:is([data-theme=dark],[data-theme=black]) ::selection{background:var(--studio-accent-soft);color:var(--studio-text)}:is([data-theme=dark],[data-theme=black]) .studio-root,:is([data-theme=dark],[data-theme=black]) .auth-root,:is([data-theme=dark],[data-theme=black]) .account-root,:is([data-theme=dark],[data-theme=black]) .admin-root,:is([data-theme=dark],[data-theme=black]) .commerce-root{background:var(--studio-bg)}:is([data-theme=dark],[data-theme=black]) .studio-logo-mark{box-shadow:0 2px 8px #00000057}:is([data-theme=dark],[data-theme=black]) .studio-nav-link.is-active{box-shadow:inset 0 0 0 1px var(--studio-border)}:is([data-theme=dark],[data-theme=black]) .studio-user-dropdown,:is([data-theme=dark],[data-theme=black]) .studio-mobile-nav-menu,:is([data-theme=dark],[data-theme=black]) .message-actions-menu,:is([data-theme=dark],[data-theme=black]) .message-retry-popover{background:var(--studio-popover);box-shadow:var(--studio-shadow-popover)}:is([data-theme=dark],[data-theme=black]) .chat-workspace,:is([data-theme=dark],[data-theme=black]) .chat-main{background:var(--studio-canvas)}:is([data-theme=dark],[data-theme=black]) .history-panel{background:var(--studio-panel)}:is([data-theme=dark],[data-theme=black]) .history-search,:is([data-theme=dark],[data-theme=black]) .history-row.is-active{background:var(--studio-surface-soft)}:is([data-theme=dark],[data-theme=black]) .history-search:focus-within,:is([data-theme=dark],[data-theme=black]) .history-rename-form input{background:var(--studio-input)}:is([data-theme=dark],[data-theme=black]) .history-row:not(.is-active):hover,:is([data-theme=dark],[data-theme=black]) .history-clear-button:hover,:is([data-theme=dark],[data-theme=black]) .history-item-actions button:hover,:is([data-theme=dark],[data-theme=black]) .history-rename-form button:hover{background:var(--studio-hover-soft)}:is([data-theme=dark],[data-theme=black]) .history-backdrop{background:var(--studio-overlay)}:is([data-theme=dark],[data-theme=black]) .chat-file-drop-overlay{background:var(--studio-canvas)}@supports (color:color-mix(in lab, red, red)){:is([data-theme=dark],[data-theme=black]) .chat-file-drop-overlay{background:color-mix(in srgb, var(--studio-canvas) 88%, var(--studio-accent) 12%)}}:is([data-theme=dark],[data-theme=black]) .starter-prompts button{background:var(--studio-surface-soft)}:is([data-theme=dark],[data-theme=black]) .starter-prompts button:hover,:is([data-theme=dark],[data-theme=black]) .starter-prompts button:focus-visible{background:var(--studio-surface-raised)}:is([data-theme=dark],[data-theme=black]) .message.is-user .message-content{border:1px solid var(--studio-border);background:var(--studio-primary-soft)}:is([data-theme=dark],[data-theme=black]) .message.is-user .reasoning-block{background:var(--studio-surface-raised)}:is([data-theme=dark],[data-theme=black]) .composer-shell,:is([data-theme=dark],[data-theme=black]) .chat-main.is-empty .composer-shell{background:var(--studio-composer-band)}:is([data-theme=dark],[data-theme=black]) .chat-main.is-empty .composer-shell{background:0 0}:is([data-theme=dark],[data-theme=black]) .composer{background:var(--studio-surface-raised);box-shadow:var(--studio-shadow-soft)}:is([data-theme=dark],[data-theme=black]) .composer:focus-within{border-color:var(--studio-accent-border);box-shadow:var(--studio-shadow)}:is([data-theme=dark],[data-theme=black]) .composer-expand-button,:is([data-theme=dark],[data-theme=black]) .selector-trigger,:is([data-theme=dark],[data-theme=black]) .mode-selector .selector-icon,:is([data-theme=dark],[data-theme=black]) .upload-selector,:is([data-theme=dark],[data-theme=black]) .model-resolution-badge,:is([data-theme=dark],[data-theme=black]) .selector-option-icon,:is([data-theme=dark],[data-theme=black]) .attachment-chip-icon{background:var(--studio-input)}:is([data-theme=dark],[data-theme=black]) .selector-trigger:hover,:is([data-theme=dark],[data-theme=black]) .selector-trigger.is-open,:is([data-theme=dark],[data-theme=black]) .settings-option:hover,:is([data-theme=dark],[data-theme=black]) .model-browser-search:focus-within{border-color:var(--studio-border-strong);background:var(--studio-hover);box-shadow:none}:is([data-theme=dark],[data-theme=black]) .selector-popover,:is([data-theme=dark],[data-theme=black]) .attachment-mention-popover,:is([data-theme=dark],[data-theme=black]) .composer-editor-dialog{border-color:var(--studio-border);background:var(--studio-popover);box-shadow:var(--studio-shadow-popover)}:is([data-theme=dark],[data-theme=black]) .composer-editor-backdrop{background:var(--studio-overlay)}:is([data-theme=dark],[data-theme=black]) .composer-editor-textarea,:is([data-theme=dark],[data-theme=black]) .model-browser-search{background:var(--studio-input)}:is([data-theme=dark],[data-theme=black]) .attachment-list.is-compact .attachment-chip.is-image-attachment,:is([data-theme=dark],[data-theme=black]) .attachment-image-preview{border-color:var(--studio-border);background:var(--studio-surface-sunken)}:is([data-theme=dark],[data-theme=black]) .upload-count{border-color:var(--studio-surface-raised);color:var(--studio-on-primary)}:is([data-theme=dark],[data-theme=black]) .send-button,:is([data-theme=dark],[data-theme=black]) .composer-editor-send{color:var(--studio-on-primary)}:is([data-theme=dark],[data-theme=black]) .send-button:not(:disabled):hover,:is([data-theme=dark],[data-theme=black]) .send-button:not(:disabled):focus-visible{background:var(--studio-primary)}@supports (color:color-mix(in lab, red, red)){:is([data-theme=dark],[data-theme=black]) .send-button:not(:disabled):hover,:is([data-theme=dark],[data-theme=black]) .send-button:not(:disabled):focus-visible{background:color-mix(in srgb, var(--studio-primary) 88%, var(--studio-accent) 12%)}}:is([data-theme=dark],[data-theme=black]) .chat-error,:is([data-theme=dark],[data-theme=black]) .message-error-panel,:is([data-theme=dark],[data-theme=black]) .auth-message.is-error,:is([data-theme=dark],[data-theme=black]) .danger-button{border-color:var(--studio-danger)}@supports (color:color-mix(in lab, red, red)){:is([data-theme=dark],[data-theme=black]) .chat-error,:is([data-theme=dark],[data-theme=black]) .message-error-panel,:is([data-theme=dark],[data-theme=black]) .auth-message.is-error,:is([data-theme=dark],[data-theme=black]) .danger-button{border-color:color-mix(in srgb, var(--studio-danger) 34%, transparent)}}:is([data-theme=dark],[data-theme=black]) .chat-error,:is([data-theme=dark],[data-theme=black]) .message-error-panel,:is([data-theme=dark],[data-theme=black]) .auth-message.is-error,:is([data-theme=dark],[data-theme=black]) .danger-button{background:var(--studio-danger-soft);color:var(--studio-danger)}:is([data-theme=dark],[data-theme=black]) .chat-error-copy span,:is([data-theme=dark],[data-theme=black]) .chat-error-copy small,:is([data-theme=dark],[data-theme=black]) .message-error-copy p,:is([data-theme=dark],[data-theme=black]) .message-error-copy small,:is([data-theme=dark],[data-theme=black]) .auth-required-mark{color:var(--studio-danger)}:is([data-theme=dark],[data-theme=black]) .chat-error button,:is([data-theme=dark],[data-theme=black]) .chat-error a,:is([data-theme=dark],[data-theme=black]) .message-error-actions a,:is([data-theme=dark],[data-theme=black]) .message-error-actions button,:is([data-theme=dark],[data-theme=black]) .message-actions button.is-destructive:hover{background:var(--studio-danger-soft);color:var(--studio-danger)}:is([data-theme=dark],[data-theme=black]) .scroll-to-bottom{background:var(--studio-surface-raised);box-shadow:var(--studio-shadow-soft)}:is([data-theme=dark],[data-theme=black]) .auth-header{background:var(--studio-topbar)}:is([data-theme=dark],[data-theme=black]) .primary-button,:is([data-theme=dark],[data-theme=black]) .redeem-form button,:is([data-theme=dark],[data-theme=black]) .admin-form button,:is([data-theme=dark],[data-theme=black]) .copy-row button,:is([data-theme=dark],[data-theme=black]) .account-action-primary{color:var(--studio-on-primary)}:is([data-theme=dark],[data-theme=black]) .qr-box,:is([data-theme=dark],[data-theme=black]) .reference-grid>div,:is([data-theme=dark],[data-theme=black]) .profile-pagination button,:is([data-theme=dark],[data-theme=black]) .admin-mode-tab.is-active em,:is([data-theme=dark],[data-theme=black]) .model-summary-card,:is([data-theme=dark],[data-theme=black]) .model-summary-card em,:is([data-theme=dark],[data-theme=black]) .model-toggle-row,:is([data-theme=dark],[data-theme=black]) .model-toggle-slider:after{background:var(--studio-surface-raised)}:is([data-theme=dark],[data-theme=black]) .commerce-root{--commerce-blue:var(--studio-info);--commerce-blue-soft:var(--studio-info-soft);--commerce-danger:var(--studio-danger)}:is([data-theme=dark],[data-theme=black]) .commerce-command-section{background:var(--studio-surface-sunken)}:is([data-theme=dark],[data-theme=black]) .commerce-command-card,:is([data-theme=dark],[data-theme=black]) .commerce-scene-card,:is([data-theme=dark],[data-theme=black]) .commerce-history-card,:is([data-theme=dark],[data-theme=black]) .commerce-batch-item-card{box-shadow:var(--studio-shadow-soft)}:is([data-theme=dark],[data-theme=black]) .commerce-command-copy>span,:is([data-theme=dark],[data-theme=black]) .commerce-add-asset,:is([data-theme=dark],[data-theme=black]) .commerce-scene-card.is-live{border-color:var(--studio-info)}@supports (color:color-mix(in lab, red, red)){:is([data-theme=dark],[data-theme=black]) .commerce-command-copy>span,:is([data-theme=dark],[data-theme=black]) .commerce-add-asset,:is([data-theme=dark],[data-theme=black]) .commerce-scene-card.is-live{border-color:color-mix(in srgb, var(--studio-info) 44%, transparent)}}:is([data-theme=dark],[data-theme=black]) .commerce-command-copy>span,:is([data-theme=dark],[data-theme=black]) .commerce-add-asset{background:var(--studio-info-soft);color:var(--studio-info)}:is([data-theme=dark],[data-theme=black]) .commerce-section-heading>span,:is([data-theme=dark],[data-theme=black]) .commerce-inline-warning,:is([data-theme=dark],[data-theme=black]) .commerce-batch-state.is-running,:is([data-theme=dark],[data-theme=black]) .commerce-batch-state.is-partial,:is([data-theme=dark],[data-theme=black]) .commerce-batch-item-body>p.commerce-quality-note,:is([data-theme=dark],[data-theme=black]) .commerce-inference-toggle{border-color:var(--studio-warning)}@supports (color:color-mix(in lab, red, red)){:is([data-theme=dark],[data-theme=black]) .commerce-section-heading>span,:is([data-theme=dark],[data-theme=black]) .commerce-inline-warning,:is([data-theme=dark],[data-theme=black]) .commerce-batch-state.is-running,:is([data-theme=dark],[data-theme=black]) .commerce-batch-state.is-partial,:is([data-theme=dark],[data-theme=black]) .commerce-batch-item-body>p.commerce-quality-note,:is([data-theme=dark],[data-theme=black]) .commerce-inference-toggle{border-color:color-mix(in srgb, var(--studio-warning) 34%, transparent)}}:is([data-theme=dark],[data-theme=black]) .commerce-section-heading>span,:is([data-theme=dark],[data-theme=black]) .commerce-inline-warning,:is([data-theme=dark],[data-theme=black]) .commerce-batch-state.is-running,:is([data-theme=dark],[data-theme=black]) .commerce-batch-state.is-partial,:is([data-theme=dark],[data-theme=black]) .commerce-batch-item-body>p.commerce-quality-note,:is([data-theme=dark],[data-theme=black]) .commerce-inference-toggle{background:var(--studio-warning-soft);color:var(--studio-warning)}:is([data-theme=dark],[data-theme=black]) .commerce-inference-toggle strong,:is([data-theme=dark],[data-theme=black]) .commerce-inference-toggle small{color:var(--studio-warning)}:is([data-theme=dark],[data-theme=black]) .commerce-history-body em,:is([data-theme=dark],[data-theme=black]) .commerce-batch-cover-tile.is-failed,:is([data-theme=dark],[data-theme=black]) .commerce-batch-state.is-failed,:is([data-theme=dark],[data-theme=black]) .commerce-batch-item-body>p,:is([data-theme=dark],[data-theme=black]) .commerce-details-form>p{background:var(--studio-danger-soft);color:var(--studio-danger)}:is([data-theme=dark],[data-theme=black]) .commerce-history-media,:is([data-theme=dark],[data-theme=black]) .commerce-batch-cover-tile,:is([data-theme=dark],[data-theme=black]) .commerce-batch-item-media{background:var(--studio-surface-sunken)}:is([data-theme=dark],[data-theme=black]) .commerce-history-progress,:is([data-theme=dark],[data-theme=black]) .commerce-status-badge{background:var(--studio-popover)}@supports (color:color-mix(in lab, red, red)){:is([data-theme=dark],[data-theme=black]) .commerce-history-progress,:is([data-theme=dark],[data-theme=black]) .commerce-status-badge{background:color-mix(in srgb, var(--studio-popover) 84%, transparent)}}:is([data-theme=dark],[data-theme=black]) .commerce-status-badge.is-running,:is([data-theme=dark],[data-theme=black]) .commerce-status-badge.is-review,:is([data-theme=dark],[data-theme=black]) .commerce-status-badge.is-inferred{color:var(--studio-warning)}:is([data-theme=dark],[data-theme=black]) .commerce-media-pagination,:is([data-theme=dark],[data-theme=black]) .commerce-card-download,:is([data-theme=dark],[data-theme=black]) .commerce-batch-cover-count{background:var(--studio-overlay-control);color:var(--studio-overlay-text)}:is([data-theme=dark],[data-theme=black]) .commerce-submit,:is([data-theme=dark],[data-theme=black]) .commerce-scene-card.is-live .commerce-scene-card-heading>span,:is([data-theme=dark],[data-theme=black]) .commerce-batch-body footer>button,:is([data-theme=dark],[data-theme=black]) .commerce-retry-all,:is([data-theme=dark],[data-theme=black]) .commerce-batch-item-body footer button:last-child:not(:first-child),:is([data-theme=dark],[data-theme=black]) .commerce-fatal-state button,:is([data-theme=dark],[data-theme=black]) .commerce-upload-button,:is([data-theme=dark],[data-theme=black]) .commerce-primary-action,:is([data-theme=dark],[data-theme=black]) .commerce-details-drawer>footer button:last-child{color:var(--studio-on-primary)}:is([data-theme=dark],[data-theme=black]) .commerce-segmented button.is-selected{background:var(--studio-surface-raised);box-shadow:inset 0 0 0 1px var(--studio-border)}:is([data-theme=dark],[data-theme=black]) .commerce-target-grid article div>button,:is([data-theme=dark],[data-theme=black]) .commerce-target-grid article span,:is([data-theme=dark],[data-theme=black]) .commerce-asset-collection article span,:is([data-theme=dark],[data-theme=black]) .commerce-asset-collection article button,:is([data-theme=dark],[data-theme=black]) .commerce-asset-collection article select{border-color:var(--studio-border);background:var(--studio-popover)}@supports (color:color-mix(in lab, red, red)){:is([data-theme=dark],[data-theme=black]) .commerce-target-grid article div>button,:is([data-theme=dark],[data-theme=black]) .commerce-target-grid article span,:is([data-theme=dark],[data-theme=black]) .commerce-asset-collection article span,:is([data-theme=dark],[data-theme=black]) .commerce-asset-collection article button,:is([data-theme=dark],[data-theme=black]) .commerce-asset-collection article select{background:color-mix(in srgb, var(--studio-popover) 90%, transparent)}}:is([data-theme=dark],[data-theme=black]) .commerce-target-grid article div>button,:is([data-theme=dark],[data-theme=black]) .commerce-target-grid article span,:is([data-theme=dark],[data-theme=black]) .commerce-asset-collection article span,:is([data-theme=dark],[data-theme=black]) .commerce-asset-collection article button,:is([data-theme=dark],[data-theme=black]) .commerce-asset-collection article select{color:var(--studio-text)}:is([data-theme=dark],[data-theme=black]) .commerce-history-drawer,:is([data-theme=dark],[data-theme=black]) .commerce-details-drawer{background:var(--studio-popover);box-shadow:var(--studio-shadow-popover)}:is([data-theme=dark],[data-theme=black]) .commerce-preview-backdrop{background:var(--studio-overlay)}@media (max-width:900px){:is([data-theme=dark],[data-theme=black]) .composer-shell,:is([data-theme=dark],[data-theme=black]) .chat-main.is-empty .composer-shell{background:var(--studio-composer-band)}:is([data-theme=dark],[data-theme=black]) .history-panel{background:var(--studio-panel)}}@media (prefers-reduced-transparency:reduce){.studio-topbar,.studio-user-dropdown,.studio-mobile-nav-menu,.selector-popover,.commerce-history-progress,.commerce-status-badge{-webkit-backdrop-filter:none;backdrop-filter:none}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
