:root{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#171715;background:#f4f4f1;font-synthesis:none;letter-spacing:0;--canvas: #f4f4f1;--surface: #fff;--surface-2: #ecece7;--surface-muted: #f3f3ef;--ink: #171715;--ink-faint: #898981;--soft: #66665f;--line: #d6d6ce;--line-strong: #b8b8ae;--accent: #e95745;--accent-soft: #fde7e3;--success: #167d52;--success-soft: #e2f3ea;--warning: #a35b00;--warning-soft: #fff0d5;--danger: #c52b36;--danger-soft: #fde8ea;--info: #2766c3;--info-soft: #e8f0fc;--topbar: 64px}.notification-button{position:relative}.notification-count{position:absolute;top:2px;right:1px;min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px;border:2px solid var(--surface);border-radius:999px;background:var(--danger);color:#fff;font-size:8px;font-weight:800;line-height:1}.notification-panel>header{position:sticky;top:0;z-index:2;background:var(--surface);padding:0 12px}.notification-panel>header button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--accent);font-size:12px;font-weight:700}.notification-panel>footer{position:sticky;bottom:0;padding:7px;border-top:1px solid var(--line);background:var(--surface)}.notification-panel>footer button{width:100%;min-height:38px;border:0;border-radius:4px;background:var(--surface-muted);color:var(--ink);font-size:13px;font-weight:700}.notification-section{padding:9px 6px 4px;border-bottom:1px solid var(--line)}.notification-section>strong{display:flex;align-items:center;gap:6px;padding:0 8px 5px;color:var(--soft);font-size:12px}.notification-section>strong em{min-width:17px;height:17px;display:grid;place-items:center;border-radius:9px;background:var(--surface-muted);color:var(--ink);font-size:9px;font-style:normal}.notification-task-list{display:grid}.notification-task-list>button{width:100%;min-height:56px;display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 9px;border:0;background:transparent;color:var(--ink);text-align:left}.notification-task-list>button:hover,.notification-list>button:hover{background:var(--surface-muted)}.notification-task-list>button>span:nth-child(2){min-width:0;display:grid;gap:2px}.notification-task-list strong,.notification-task-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-task-list strong{font-size:13px}.notification-task-list small,.notification-task-list em{color:var(--soft);font-size:12px;font-style:normal}.notification-list>button.unread{background:color-mix(in srgb,var(--accent-soft) 35%,transparent)}.notification-list>button.read{opacity:.72}.notification-status.info{background:var(--info)}.notification-status.success{background:var(--success)}.notification-status.warning{background:var(--warning)}.notification-status.danger{background:var(--danger)}.notification-management-page{min-height:calc(100dvh - var(--topbar))}.notification-page-main{min-width:0;padding:30px clamp(18px,3vw,42px) 60px}.notification-page-header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.notification-page-header>div{min-width:0;display:flex;align-items:center;gap:12px}.notification-page-header>div>span{width:38px;height:38px;display:grid;place-items:center;border-radius:6px;background:var(--accent-soft);color:var(--accent)}.notification-page-header h1{margin:0;font-size:24px;letter-spacing:0}.notification-page-header p{margin:3px 0 0;color:var(--soft);font-size:13px}.notification-page-header>button,.notification-preference-section>header>button{min-height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--ink);font-size:11px;font-weight:700}.notification-page-header>button:disabled,.notification-preference-section>header>button:disabled{opacity:.45}.notification-page-toolbar{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.notification-filter-tabs{display:flex;gap:4px;overflow-x:auto}.notification-filter-tabs button{min-height:34px;padding:0 11px;border:0;border-radius:4px;background:transparent;color:var(--soft);font-size:13px;font-weight:700;white-space:nowrap}.notification-filter-tabs button.active{background:var(--ink);color:var(--surface)}.notification-page-toolbar>label{display:inline-flex;align-items:center;gap:7px;color:var(--soft);font-size:13px;white-space:nowrap}.notification-history{min-height:260px;border-bottom:1px solid var(--line)}.notification-history-row{width:100%;min-height:84px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 8px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}.notification-history-row:hover{background:var(--surface-muted)}.notification-history-row.read{opacity:.7}.notification-history-row.level-urgent{box-shadow:inset 3px 0 var(--danger)}.notification-history-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:6px}.notification-history-icon.tone-info{background:var(--info-soft);color:var(--info)}.notification-history-icon.tone-success{background:var(--success-soft);color:var(--success)}.notification-history-icon.tone-warning{background:var(--warning-soft);color:var(--warning)}.notification-history-icon.tone-danger{background:var(--danger-soft);color:var(--danger)}.notification-history-copy{min-width:0;display:grid;gap:3px}.notification-history-copy strong{font-size:15px}.notification-history-copy small{overflow:hidden;color:var(--soft);font-size:13px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.notification-history-copy em{color:var(--ink-faint);font-size:12px;font-style:normal}.notification-history-state{min-width:52px;display:flex;align-items:center;justify-content:flex-end;gap:6px;color:var(--danger);font-size:12px;font-weight:700}.notification-history-state em{font-style:normal}.notification-history-state svg{color:var(--ink-faint);transition:transform .16s ease}.notification-history-row:hover .notification-history-state svg{color:var(--ink);transform:translate(2px)}.notification-history-state i{width:7px;height:7px;border-radius:50%;background:var(--accent)}.notification-page-state{min-height:260px;display:grid;place-items:center;align-content:center;gap:7px;color:var(--soft);text-align:center}.notification-page-state strong{color:var(--ink);font-size:13px}.notification-page-state span{font-size:11px}.notification-preference-section{padding-top:28px}.notification-preference-section>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}.notification-preference-section>header>div{display:flex;align-items:center;gap:10px}.notification-preference-section h2{margin:0;font-size:16px;letter-spacing:0}.notification-preference-section p{margin:3px 0 0;color:var(--soft);font-size:11px}.notification-preference-grid{border-top:1px solid var(--line)}.notification-preference-grid label{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}.notification-preference-grid label>span{min-width:0;display:grid;gap:3px}.notification-preference-grid strong{font-size:12px}.notification-preference-grid small{color:var(--soft);font-size:10px}.notification-preference-grid input{width:38px;height:21px;appearance:none;position:relative;flex:0 0 auto;border:1px solid var(--line-strong);border-radius:12px;background:var(--surface-muted);transition:background .16s ease}.notification-preference-grid input:after{content:"";position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow-1);transition:transform .16s ease}.notification-preference-grid input:checked{border-color:var(--success);background:var(--success)}.notification-preference-grid input:checked:after{transform:translate(17px)}.notification-detail-backdrop{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:20px;background:#1113117a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.notification-detail-dialog{position:relative;width:min(520px,100%);padding:28px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 24px 70px #1113113d}.notification-detail-close{position:absolute;top:14px;right:14px;width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--soft)}.notification-detail-dialog>p{margin:14px 0 0;color:var(--accent);font-size:12px;font-weight:750}.notification-detail-dialog h2{margin:6px 44px 0 0;font-size:21px;line-height:1.35;letter-spacing:0}.notification-detail-dialog>div{margin-top:16px;color:var(--soft);font-size:14px;line-height:1.75;white-space:pre-wrap}.notification-detail-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.notification-detail-dialog footer span{color:var(--ink-faint);font-size:12px}.notification-detail-dialog footer button{min-height:38px;padding:0 16px;border:0;border-radius:5px;background:var(--ink);color:var(--surface);font-size:13px;font-weight:750}@media(max-width:860px){.notification-panel{position:fixed;inset:var(--topbar) 8px auto;width:auto;max-height:calc(100dvh - var(--topbar) - 76px)}.notification-management-page{display:block}.notification-management-page>.profile-sidebar{display:flex}.notification-page-main{padding:20px 14px 88px}}@media(max-width:560px){.notification-page-header{align-items:flex-start}.notification-page-header>button{width:38px;padding:0;justify-content:center;font-size:0}.notification-page-toolbar{align-items:stretch;flex-direction:column;padding:10px 0}.notification-history-row{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:12px 4px}.notification-history-icon{width:34px;height:34px}.notification-history-state{grid-column:2;justify-content:flex-start}.notification-history-copy small{white-space:normal}.notification-detail-dialog{padding:22px 18px 18px}}*{box-sizing:border-box}html{min-width:320px;background:var(--canvas)}body{margin:0;min-width:320px;min-height:100vh;background:var(--canvas);color:var(--ink)}body[data-theme=dark]{--canvas: #151715;--surface: #20221f;--surface-2: #2a2c28;--surface-muted: #282b27;--ink: #f3f3ed;--ink-faint: #92968b;--soft: #b6b8ae;--line: #3b3f39;--accent: #f06b58;--accent-soft: #3e2926;--success: #62c995;--success-soft: #1c382c;--warning: #efb554;--warning-soft: #3b301c;--danger: #ff8189;--danger-soft: #442528;--info: #80adf0;--info-soft: #202f48}button,input,select,textarea{font:inherit;color:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}img{max-width:100%}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.primary,.primary-button,.secondary,.quiet-button,.text-command{min-height:42px;border:0;border-radius:4px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750;text-decoration:none}.primary,.primary-button{background:var(--accent);color:#fff}.secondary,.quiet-button{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.compact{min-height:34px;padding:0 11px;font-size:12px}.text-command{padding:0;background:transparent;color:var(--ink)}.icon-button,.avatar-button{width:38px;height:38px;border:1px solid var(--line);border-radius:4px;background:var(--surface);display:inline-grid;place-items:center;flex:0 0 auto}.icon-button.active{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.icon-button.inverse{border-color:#595a55;background:#292a27;color:#fff}.eyebrow{display:block;color:var(--accent);font:800 10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.eyebrow.light{color:#ff8a79}.studio-app{min-height:100vh}.studio-topbar{position:sticky;top:0;z-index:50;height:var(--topbar);border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--surface) 94%,transparent);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;padding:0 22px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.studio-brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;white-space:nowrap}.brand-mark{width:30px;height:30px;display:block;background:var(--ink);position:relative}.brand-mark:before{content:"";position:absolute;width:8px;height:8px;left:6px;top:6px;background:var(--surface);box-shadow:10px 0 var(--surface),0 10px var(--surface)}.desktop-navigation{display:flex;align-items:center;justify-content:center;height:100%;min-width:0}.desktop-navigation a{height:100%;padding:0 12px;color:var(--soft);text-decoration:none;display:inline-flex;align-items:center;gap:6px;font-size:12px;border-bottom:2px solid transparent;white-space:nowrap}.desktop-navigation a:hover,.desktop-navigation a.active{color:var(--ink);background:var(--surface-2);border-bottom-color:var(--accent)}.account-tools{display:flex;align-items:center;gap:7px}.topbar-credit-balance{min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--ink);font-size:10px;font-weight:750;white-space:nowrap}.topbar-credit-balance svg{color:var(--accent)}.account-email{max-width:150px;overflow:hidden;text-overflow:ellipsis;color:var(--soft);font-size:11px}.avatar-button{width:auto;min-width:38px;padding:0 7px 0 4px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:20px;background:var(--surface);color:var(--ink);border-color:var(--line);font-weight:800}.account-identity{min-width:0;display:grid;gap:1px;text-align:left}.account-identity strong,.account-identity span{display:block;max-width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-identity strong{font-size:11px;line-height:1.2}.account-identity span{color:var(--soft);font-size:9px;font-weight:600;line-height:1.2}.account-chevron{color:var(--soft);transition:transform .18s ease}.avatar-button[aria-expanded=true]{border-color:color-mix(in srgb,var(--accent) 44%,var(--line));background:var(--accent-soft)}.avatar-button[aria-expanded=true] .account-chevron{color:var(--accent);transform:rotate(180deg)}.login-button{min-width:78px}.account-menu-wrap{position:relative}.avatar-initial{width:28px;height:28px;border-radius:50%;display:inline-grid;place-items:center;background:var(--ink);color:var(--surface);font-size:11px;font-weight:850}.avatar-initial.large{width:40px;height:40px;flex:0 0 40px;font-size:14px}.account-menu{position:absolute;top:calc(100% + 9px);right:0;z-index:80;width:238px;border:1px solid var(--line);border-radius:6px;background:var(--surface);box-shadow:0 16px 40px #11110f29;padding:6px}.account-menu:before{content:"";position:absolute;top:-5px;right:18px;width:8px;height:8px;border-left:1px solid var(--line);border-top:1px solid var(--line);background:var(--surface);transform:rotate(45deg)}.account-menu-user{min-width:0;display:flex;align-items:center;gap:10px;margin-bottom:5px;padding:9px;border-bottom:1px solid var(--line)}.account-menu-user>div{min-width:0}.account-menu-user strong,.account-menu-user span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-menu-user strong{font-size:12px}.account-menu-user div span{margin-top:3px;color:var(--soft);font-size:10px;font-weight:500}.account-menu>button{width:100%;min-height:38px;border:0;border-radius:4px;background:transparent;display:flex;align-items:center;gap:9px;padding:0 10px;color:var(--ink);font-size:12px;text-align:left}.account-menu>button:hover{background:var(--surface-2)}.account-menu-divider{height:1px;margin:5px 4px;background:var(--line)}.account-menu>button.danger-item{color:var(--danger)}.notification-center-wrap{position:relative}.notification-button[aria-expanded=true]{border-color:color-mix(in srgb,var(--accent) 44%,var(--line));background:var(--accent-soft);color:var(--accent)}.notification-panel{position:absolute;top:calc(100% + 9px);right:0;z-index:80;width:300px;border:1px solid var(--line);border-radius:6px;background:var(--surface);box-shadow:0 16px 40px #11110f29;padding:6px}.notification-panel:before{content:"";position:absolute;top:-5px;right:15px;width:8px;height:8px;border-left:1px solid var(--line);border-top:1px solid var(--line);background:var(--surface);transform:rotate(45deg)}.notification-panel>header{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 9px;border-bottom:1px solid var(--line)}.notification-panel>header strong{font-size:14px}.notification-panel>header span{color:var(--success);font-size:10px;font-weight:700}.notification-empty{min-height:150px;display:grid;place-items:center;align-content:center;gap:7px;padding:18px;text-align:center;color:var(--soft)}.notification-empty strong{color:var(--ink);font-size:14px}.notification-empty span{font-size:12px;line-height:1.5}.notification-list{display:grid;padding:5px 0}.notification-list>button{width:100%;min-height:56px;display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 9px;border:0;background:transparent;color:var(--ink);text-align:left}.notification-list>button:hover{background:var(--surface-muted)}.notification-list>button>span:nth-child(2){min-width:0;display:grid;gap:2px}.notification-list strong,.notification-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-list strong{font-size:13px}.notification-list small,.notification-list em{color:var(--soft);font-size:12px;font-style:normal}.notification-row-action{display:inline-flex;align-items:center;gap:3px;color:var(--ink-faint)}.notification-row-action svg{transition:transform .16s ease}.notification-list>button:hover .notification-row-action svg{color:var(--ink);transform:translate(2px)}.notification-panel-detail{min-height:230px;display:flex;flex-direction:column;padding:20px 18px}.notification-panel-detail>span{display:inline-flex;align-items:center;gap:7px;color:var(--soft);font-size:12px;font-weight:700}.notification-panel-detail>strong{margin-top:14px;color:var(--ink);font-size:16px;line-height:1.45}.notification-panel-detail>p{margin:9px 0 0;color:var(--soft);font-size:13px;line-height:1.7;white-space:pre-wrap}.notification-panel-detail>small{margin-top:auto;padding-top:18px;color:var(--ink-faint);font-size:12px}.notification-status{width:7px;height:7px;border-radius:50%;background:var(--soft)}.notification-status.queued,.notification-status.running{background:var(--warning)}.notification-status.failed{background:var(--danger)}.studio-content{min-height:calc(100vh - var(--topbar))}.mobile-navigation{display:none}.product-page{min-height:calc(100vh - var(--topbar))}.content-section{width:min(1480px,calc(100% - 48px));margin:0 auto;padding:34px 0}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}.section-heading h1,.section-heading h2{margin:4px 0 5px;font-family:Arial Narrow,Inter,sans-serif;line-height:1}.section-heading h1{font-size:38px}.section-heading h2{font-size:27px}.section-heading p{margin:0;color:var(--soft);font-size:13px}.page-intro{padding-top:38px}.creation-hero{min-height:430px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(360px,.6fr);background:#1c1d1a;color:#fff;overflow:hidden}.creation-console{align-self:center;width:min(800px,calc(100% - 64px));margin:auto;padding:54px 0}.creation-console h1{margin:9px 0 24px;font:800 48px/.98 Arial Narrow,Inter,sans-serif}.hero-prompt{border-top:1px solid #676861;border-bottom:1px solid #4a4b46;padding:18px 0 14px}.hero-prompt textarea{width:100%;min-height:104px;border:0;resize:none;outline:0;padding:0;background:transparent;color:#fff;font-size:17px;line-height:1.6}.hero-prompt>div{display:flex;justify-content:space-between;gap:10px}.hero-status{display:flex;align-items:center;gap:8px;margin-top:18px;color:#b6b7af;font-size:12px}.hero-image-rail{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;height:430px;border-left:1px solid #464741}.hero-image-rail img{width:100%;height:100%;object-fit:cover;filter:saturate(.78)}.hero-image-rail img:first-child{grid-row:1 / 3}.scene-band{min-height:86px;display:grid;grid-template-columns:repeat(6,1fr);border-bottom:1px solid var(--line);background:var(--surface)}.scene-band button{border:0;border-right:1px solid var(--line);background:transparent;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--soft)}.scene-band button:last-child{border-right:0}.scene-band button.active{box-shadow:inset 0 -3px var(--accent)}.artwork-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.artwork-card{min-width:0}.artwork-frame{position:relative;width:100%;padding:0;border:0;background:var(--surface-2);overflow:hidden;display:block}.artwork-frame img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.artwork-frame:hover img{transform:scale(1.025)}.frame-index{position:absolute;left:7px;bottom:7px;min-width:24px;padding:3px 5px;background:var(--ink);color:var(--surface);font:800 9px/1.2 ui-monospace,monospace}.artwork-meta{min-height:62px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px}.artwork-meta>div:first-child{min-width:0}.artwork-meta strong,.artwork-meta span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.artwork-meta strong{font-size:13px}.artwork-meta span{margin-top:3px;color:var(--soft);font-size:10px}.artwork-actions{display:flex;gap:4px}.artwork-actions .icon-button{width:32px;height:32px;border:0;background:transparent}.empty-band{min-height:92px;border-top:1px solid var(--ink);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;padding:12px}.empty-band div{flex:1}.empty-band strong,.empty-band span{display:block}.empty-band span{margin-top:4px;color:var(--soft);font-size:12px}.showcase-strip{margin-top:18px;display:grid;grid-template-columns:repeat(4,1fr);height:110px;overflow:hidden}.showcase-strip img{width:100%;height:110px;object-fit:cover;filter:saturate(.55);opacity:.5}.preview-dialog{position:fixed;inset:0;z-index:100;background:#0c0d0be0;display:grid;place-items:center;padding:24px}.preview-dialog figure{margin:0;max-width:min(1050px,92vw);max-height:88vh}.preview-dialog img{max-height:78vh;display:block;object-fit:contain}.preview-dialog figcaption{min-height:54px;padding:10px 0;display:flex;justify-content:space-between;color:#fff}.preview-dialog figcaption span{color:#aaa}.preview-close{position:fixed;top:18px;right:18px;background:#fff;color:#111}.filter-bar{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 24px}.filter-bar button,.filter-row button{min-height:34px;border:1px solid var(--line);border-radius:999px;background:var(--surface);padding:0 13px;font-size:11px}.filter-bar button.active,.filter-row button.selected{background:var(--ink);color:var(--surface);border-color:var(--ink)}.template-catalog{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 14px}.template-card{min-width:0;border-top:1px solid var(--ink)}.template-image{position:relative;width:100%;aspect-ratio:4 / 3;border:0;padding:0;background:var(--surface-2);overflow:hidden}.template-image img{width:100%;height:100%;object-fit:cover}.template-image span{position:absolute;left:7px;top:7px;padding:3px 5px;background:#171715;color:#fff;font:800 9px/1 monospace}.template-copy{padding:14px 1px 0}.template-category{color:var(--accent);font-size:10px;font-weight:800}.template-copy h2{margin:5px 0;font-size:16px}.template-copy p{min-height:38px;margin:0;color:var(--soft);font-size:12px;line-height:1.55}.field-tags{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.field-tags span{border-left:2px solid var(--line);padding:3px 7px;background:var(--surface-2);color:var(--soft);font-size:10px}.billing-summary{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--ink);border-bottom:1px solid var(--line);margin-bottom:28px}.billing-summary>div{min-height:92px;padding:16px;border-right:1px solid var(--line)}.billing-summary>div:last-child{border-right:0}.billing-summary span,.billing-summary small{display:block;color:var(--soft);font-size:10px}.billing-summary strong{display:block;margin:7px 0 4px;font-size:20px}.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.price-card{position:relative;min-height:360px;border:1px solid var(--line);background:var(--surface);padding:22px;display:flex;flex-direction:column}.price-card.featured{border:2px solid var(--accent);padding:21px}.price-label{position:absolute;top:0;right:0;padding:5px 8px;background:var(--accent);color:#fff;font-size:10px;font-weight:800}.price-card h2{margin:0 0 20px;font-size:17px}.price{font-size:34px}.price small{color:var(--soft);font-size:11px}.plan-credit{margin:7px 0 18px;color:var(--accent);font-size:12px;font-weight:800}.price-card ul{flex:1;list-style:none;margin:0;padding:14px 0;border-top:1px solid var(--line)}.price-card li{display:flex;gap:7px;margin:10px 0;color:var(--soft);font-size:12px}.inline-notice{min-height:44px;margin-bottom:16px;padding-left:14px;border-left:3px solid var(--accent);background:var(--accent-soft);color:var(--danger);display:flex;align-items:center;justify-content:space-between}.inline-notice .icon-button{border:0;background:transparent}.project-switcher{position:relative;display:flex;align-items:flex-end;gap:6px}.project-switcher-main,.project-switcher-actions,.project-rename-form{display:flex;align-items:flex-end;gap:4px}.project-switcher label>span{display:block;margin-bottom:5px;color:var(--soft);font-size:10px}.project-switcher select,.project-switcher input{height:38px;border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:0 9px}.project-switcher select{min-width:170px}.project-switcher form{display:flex;gap:4px}.project-switcher input{width:130px}.project-switcher .project-rename-form input{width:170px}.project-switcher-actions{padding-bottom:1px}.project-switcher .icon-button.danger{color:var(--danger)}.project-switcher-error{position:absolute;top:calc(100% + 4px);right:0;z-index:3;max-width:280px;padding:5px 7px;border:1px solid color-mix(in srgb,var(--danger) 45%,var(--line));background:var(--surface);color:var(--danger);font-size:10px}.library-heading{align-items:flex-end}.library-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--ink)}.library-controls .filter-bar{margin:12px 0}.library-actions{display:flex;gap:5px}.library-toolbar{min-height:54px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:8px;margin-bottom:18px}.library-toolbar label{flex:1;height:38px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);padding:0 10px}.library-toolbar input{flex:1;min-width:0;border:0;background:transparent;outline:0}.library-toolbar select{height:38px;border:1px solid var(--line);background:var(--surface);padding:0 9px}.library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 12px}.library-artwork{position:relative;min-width:0;padding:5px;border:1px solid transparent}.library-artwork.selected{border-color:var(--accent);background:var(--accent-soft)}.selection-box{position:absolute;z-index:4;top:11px;left:11px;padding:4px 6px;background:var(--ink);color:var(--surface);font-size:9px}.selection-box input{margin:0 4px 0 0;vertical-align:middle}.state-panel{min-height:360px;display:grid;place-items:center;align-content:center;gap:10px;text-align:center;color:var(--soft)}.state-panel h2,.state-panel p{margin:0}.state-panel h2{color:var(--ink);font-size:18px}.state-panel p{max-width:500px;font-size:12px}.history-heading{align-items:flex-end}.history-heading-actions{display:flex;align-items:flex-end;gap:10px}.conversation-history-list{display:grid;gap:8px}.conversation-history-item{width:100%;min-width:0;display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);text-align:left;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.conversation-history-item:hover{border-color:var(--accent);box-shadow:0 8px 24px #11202d14;transform:translateY(-1px)}.conversation-history-preview{width:96px;height:72px;display:grid;place-items:center;overflow:hidden;background:var(--surface-2);color:var(--soft)}.conversation-history-preview img{width:100%;height:100%;object-fit:cover}.conversation-history-main{min-width:0}.conversation-history-title{display:flex;align-items:center;gap:9px;min-width:0}.conversation-history-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.conversation-history-main p{margin:6px 0 7px;overflow:hidden;color:var(--soft);text-overflow:ellipsis;white-space:nowrap;font-size:12px}.conversation-history-main small{display:flex;align-items:center;gap:5px;color:var(--soft);font-size:10px}.history-status{flex:0 0 auto;padding:3px 6px;border-radius:3px;background:var(--surface-2);color:var(--soft);font-size:9px;font-style:normal}.history-status.is-running{color:var(--accent);background:var(--accent-soft)}.history-status.is-success{color:var(--success)}.history-status.is-failed{color:var(--danger)}.conversation-history-arrow{flex:0 0 auto;color:var(--accent);font-size:11px}.history-state{min-height:420px;border:1px dashed var(--line);background:var(--surface)}.commerce-shell{max-width:1600px;margin:auto}.page-band{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:26px 28px 20px;border-bottom:1px solid var(--line)}.page-band h1{margin:4px 0 0;font:800 36px/1 Arial Narrow,sans-serif}.project-control{display:flex;align-items:flex-end;gap:6px}.project-control label{color:var(--soft);font-size:10px}.project-control select,.project-control input{display:block;height:38px;min-width:170px;border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:0 9px}.project-control form{display:flex;gap:4px}.project-control form button{width:38px;height:38px;border:1px solid var(--line);border-radius:4px;background:var(--surface);display:grid;place-items:center}.notice{margin:10px 28px 0;min-height:44px;padding:0 8px 0 14px;border-left:3px solid var(--accent);background:var(--accent-soft);color:var(--danger);display:flex;align-items:center;justify-content:space-between}.notice button{border:0;background:transparent;color:inherit}.commerce-layout{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:calc(100vh - 151px)}.brief-panel{padding:18px;border-right:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;gap:13px}.panel-heading,.sidebar-heading{display:flex;gap:11px;padding-bottom:13px;border-bottom:1px solid var(--line)}.panel-heading>span,.sidebar-heading>span{color:var(--accent);font:800 22px/1 Arial Narrow,sans-serif}.panel-heading h2,.sidebar-heading h1{margin:0;font-size:16px}.panel-heading p,.sidebar-heading p{margin:3px 0 0;color:var(--soft);font-size:11px}.brief-panel label,.field-group>span{color:var(--soft);font-size:11px;font-weight:700}.brief-panel input:not([type=checkbox]),.brief-panel textarea{width:100%;margin-top:5px;border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:9px;resize:vertical}.upload-control{margin-top:5px;height:42px;border:1px dashed var(--line);background:var(--surface-2);display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.asset-list{display:grid;gap:4px;max-height:130px;overflow-y:auto}.asset-row-wrap{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:4px}.asset-row{min-height:35px;display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid var(--line);border-radius:4px;background:transparent;padding:0 8px;text-align:left;font-size:10px}.asset-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-row em{color:var(--warning);font-style:normal}.asset-row em[data-status=ready]{color:var(--success)}.asset-row.selected{border-color:var(--accent);background:var(--accent-soft)}.asset-remove{border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--soft)}.check-row{min-height:34px;display:flex;align-items:center;gap:7px;color:var(--ink)!important}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:5px}.template-grid button,.preset-control button{border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:7px;text-align:left}.template-grid strong,.template-grid small,.preset-control strong,.preset-control small{display:block;font-size:10px}.template-grid small,.preset-control small{margin-top:2px;color:var(--soft)}.template-grid button.selected,.preset-control button.selected{background:var(--ink);color:var(--surface);border-color:var(--ink)}.preset-control{display:grid;gap:4px;margin-top:5px}.proofing-area{min-width:0;padding:18px 22px 38px}.job-strip{min-height:50px;display:grid;grid-template-columns:140px minmax(100px,1fr) minmax(150px,210px) auto;align-items:center;gap:14px;border-top:1px solid var(--ink);border-bottom:1px solid var(--line)}.job-strip>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:11px}.job-strip span{color:var(--soft)}.progress-track{height:4px;overflow:hidden;background:var(--line)}.progress-track i{display:block;width:100%;height:100%;background:var(--accent);transform-origin:left}.job-picker{display:flex;align-items:center;gap:5px;color:var(--soft);font-size:10px}.job-picker select{min-width:0;width:100%;border:1px solid var(--line);background:var(--surface);padding:7px}.filter-row{display:flex;gap:5px;overflow-x:auto;padding:12px 0}.candidate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.candidate{min-width:0;border:1px solid var(--line);background:var(--surface);padding:6px}.candidate.selected{border:2px solid var(--accent);padding:5px}.candidate-image{position:relative;aspect-ratio:1;background:var(--surface-2);overflow:hidden;display:grid;place-items:center}.candidate-image img{width:100%;height:100%;object-fit:cover}.candidate-image>span{position:absolute;left:5px;bottom:5px;background:var(--ink);color:var(--surface);padding:2px 5px;font:800 9px/1.4 monospace}.candidate-meta{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px}.candidate-meta span{color:var(--soft)}.quality-list{list-style:none;margin:0;padding:6px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:3px}.quality-list li{display:flex;align-items:center;gap:3px;color:var(--soft);font-size:9px}.quality-list li.pass svg{color:var(--success)}.quality-list li.warn svg{color:var(--warning)}.candidate-actions{display:flex;gap:3px;padding-top:5px;border-top:1px solid var(--line)}.candidate-actions button{width:29px;height:29px;border:1px solid var(--line);border-radius:4px;background:var(--surface);display:grid;place-items:center}.canvas-workspace{margin-top:16px;border-top:1px solid var(--ink)}.canvas-toolbar{min-height:46px;display:flex;align-items:center;gap:5px}.canvas-toolbar strong{margin-right:auto;font-size:13px}.canvas-toolbar span{color:var(--soft);font-size:10px}.canvas-toolbar button{width:32px;height:32px;border:1px solid var(--line);border-radius:4px;background:var(--surface);display:grid;place-items:center}.stage-shell{height:480px;background:#deded8;overflow:hidden}.workspace-page{height:calc(100vh - var(--topbar));overflow:hidden}.workspace-layout{height:100%;display:grid;grid-template-columns:320px minmax(0,1fr)}.creation-sidebar{min-width:0;height:100%;overflow-y:auto;padding:16px;border-right:1px solid var(--line);background:var(--surface)}.creation-sidebar .project-switcher{align-items:stretch;flex-direction:column;margin:14px 0}.creation-sidebar .project-switcher label,.creation-sidebar .project-switcher select,.creation-sidebar .project-switcher form,.creation-sidebar .project-switcher input{width:100%}.creation-form{display:grid;gap:13px}.segmented{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:4px;padding:3px;background:var(--surface-2)}.segmented button{min-height:34px;border:0;border-radius:3px;background:transparent;color:var(--soft)}.segmented button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #00000014}.parameter-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.parameter-grid label,.prompt-field>span{color:var(--soft);font-size:10px;font-weight:700}.parameter-grid select{display:block;width:100%;height:36px;margin-top:5px;border:1px solid var(--line);background:var(--surface);padding:0 7px}.prompt-field textarea{width:100%;margin-top:5px;border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:9px;line-height:1.55;resize:vertical}.reference-assets{border-top:1px solid var(--line);padding-top:10px}.reference-heading{display:flex;align-items:center;justify-content:space-between;color:var(--soft);font-size:10px}.reference-heading .icon-button{width:30px;height:30px}.reference-list{display:grid;gap:4px;margin-top:6px;max-height:110px;overflow-y:auto}.reference-list button{min-width:0;min-height:34px;border:1px solid var(--line);border-radius:4px;background:var(--surface);display:flex;align-items:center;gap:6px;padding:0 7px;font-size:10px}.reference-list button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-list button img{width:26px;height:26px;flex:0 0 26px;object-fit:cover;border-radius:3px}.reference-list button span{display:grid;min-width:0;text-align:left}.reference-list button span small{color:var(--soft);font-size:9px;line-height:1.2}.reference-list button:disabled{cursor:wait;opacity:.68}.reference-list button.active{border-color:var(--accent);background:var(--accent-soft)}.upload-meter{position:relative;height:30px;margin-top:6px;background:var(--surface-2);display:flex;align-items:center;gap:7px;padding:0 6px;overflow:hidden}.upload-meter>span{position:absolute;inset:0 auto 0 0;background:var(--accent-soft)}.upload-meter em,.upload-meter button{position:relative;z-index:1}.upload-meter em{margin-left:auto;font-style:normal;font-size:10px}.upload-meter button{border:0;background:transparent}.generation-footer{display:flex;align-items:center;gap:6px}.generation-footer .primary{flex:1}.generation-credit-preview{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 9px;border-left:3px solid var(--success);background:var(--success-soft);color:var(--soft);font-size:10px}.generation-credit-preview strong{color:var(--ink)}.generation-credit-preview.insufficient{border-left-color:var(--warning);background:var(--warning-soft);color:var(--danger)}.generation-credit-preview.insufficient strong{color:var(--danger)}.count-stepper{height:42px;display:flex;border:1px solid var(--line);border-radius:4px}.count-stepper button{width:31px;border:0;background:transparent;display:grid;place-items:center}.count-stepper output{min-width:42px;display:grid;place-items:center;font-size:10px}.sidebar-notice{margin-top:10px;padding:9px;border-left:3px solid var(--accent);background:var(--accent-soft);color:var(--danger);font-size:11px}.agent-sidebar{display:flex;flex-direction:column;overflow:hidden}.agent-sidebar .project-switcher{flex:0 0 auto}.chat-thread{flex:1;min-height:100px;overflow-y:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}.chat-message{display:grid;grid-template-columns:27px minmax(0,1fr);gap:7px;margin-bottom:12px}.chat-message>span{width:27px;height:27px;display:grid;place-items:center;background:var(--ink);color:var(--surface);font:800 9px/1 monospace}.chat-message.user>span{background:var(--accent);color:#fff}.chat-message p{margin:0;padding:7px 9px;background:var(--surface-2);font-size:11px;line-height:1.55}.agent-sidebar .creation-form{flex:0 0 auto;padding-top:10px}.creative-canvas{min-width:0;height:100%;display:flex;flex-direction:column;background:var(--canvas)}.canvas-header{min-height:66px;padding:10px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--surface)}.canvas-header>div:first-child strong,.canvas-header>div:first-child small{display:block}.canvas-header>div:first-child strong{margin-top:3px;max-width:450px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.canvas-header>div:first-child small{margin-top:2px;color:var(--soft);font-size:9px}.canvas-tools{display:flex;align-items:center;gap:4px}.canvas-tools .icon-button{width:32px;height:32px}.tool-separator{width:1px;height:22px;margin:0 3px;background:var(--line)}.zoom-value{min-width:48px;height:32px;border:1px solid var(--line);border-radius:4px;background:var(--surface);font-size:10px}.canvas-progress{position:relative;min-height:27px;display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--surface-2);font-size:9px;overflow:hidden}.canvas-progress>span{position:absolute;inset:0 auto 0 0;background:var(--accent-soft);transition:width .2s ease}.canvas-progress strong,.canvas-progress em{position:relative;z-index:1}.canvas-progress em{margin-left:auto;font-style:normal}.canvas-and-inspector{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 260px}.canvas-and-inspector.canvas-without-inspector{grid-template-columns:minmax(0,1fr)}.canvas-stage{position:relative;min-width:0;min-height:0;overflow:hidden;background-color:#deded8;background-image:linear-gradient(#d1d1ca 1px,transparent 1px),linear-gradient(90deg,#d1d1ca 1px,transparent 1px);background-size:28px 28px}.canvas-stage canvas{touch-action:none}.canvas-sync-status{position:absolute;z-index:9;left:14px;bottom:14px;min-height:28px;display:inline-flex;align-items:center;gap:6px;padding:0 8px;border:1px solid var(--line);border-radius:5px;background:color-mix(in srgb,var(--surface) 94%,transparent);color:var(--soft);box-shadow:var(--shadow-1);font-size:9px;transition:left .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.canvas-sync-status.saved{color:var(--success)}.canvas-sync-status.error{border-color:color-mix(in srgb,var(--danger) 45%,var(--line));color:var(--danger)}.canvas-sync-status .icon-button{width:22px;height:22px;border:0;background:transparent;color:inherit}.compact-canvas .canvas-and-inspector{display:block}.compact-canvas .canvas-stage{width:100%;height:100%}.canvas-floating-tools{position:absolute;z-index:8;top:14px;right:14px;max-width:calc(100% - 28px);padding:5px;overflow-x:auto;border:1px solid var(--line);border-radius:7px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:var(--shadow-2);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.canvas-floating-tools .canvas-tools{width:max-content}.canvas-floating-tools .icon-button,.canvas-floating-tools .zoom-value{border-color:transparent;background:transparent}.canvas-floating-tools .icon-button:hover,.canvas-floating-tools .zoom-value:hover{background:var(--accent-soft)}.canvas-stage.is-panning canvas{cursor:grab}.canvas-stage.is-panning:active canvas{cursor:grabbing}.canvas-section-toolbar{position:absolute;z-index:4;min-width:0;height:28px;display:flex;align-items:center;gap:4px;padding:2px 3px;overflow:hidden;border-radius:4px;background:color-mix(in srgb,var(--surface) 94%,transparent);color:var(--ink);box-shadow:0 1px color-mix(in srgb,var(--line) 72%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.canvas-section-toolbar .icon-button{width:24px;height:24px;min-width:24px;border:0;border-radius:3px;background:transparent}.canvas-section-toolbar .canvas-section-title{min-width:52px;max-width:220px;height:24px;display:inline-flex;align-items:center;gap:5px;padding:0 4px;overflow:hidden;border:0;border-radius:3px;background:transparent;color:var(--ink);font-size:11px;font-weight:700}.canvas-section-toolbar .canvas-section-title span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-section-toolbar .canvas-section-title svg{flex:0 0 auto;color:var(--soft)}.canvas-section-toolbar input{min-width:64px;max-width:220px;height:23px;padding:0 5px;border:1px solid var(--accent);border-radius:3px;background:var(--surface);color:var(--ink);font-size:11px;font-weight:700;outline:0}.canvas-section-toolbar small{min-width:0;overflow:hidden;color:var(--soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.canvas-section-toolbar>.icon-button:last-child{margin-left:auto}.canvas-empty{position:absolute;z-index:2;inset:0;pointer-events:none;display:grid;place-items:center;align-content:center;gap:7px;color:#73736d;text-align:center}.canvas-empty strong,.canvas-empty span{display:block}.canvas-empty span{font-size:10px}.canvas-inspector{min-width:0;border-left:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column}.inspector-tabs{min-height:44px;display:grid;grid-template-columns:repeat(2,1fr);border-bottom:1px solid var(--line)}.inspector-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--soft);font-size:10px}.inspector-tabs button.active{color:var(--ink);border-bottom-color:var(--accent)}.inspector-tabs span{color:var(--accent)}.inspector-body{flex:1;min-height:0;overflow-y:auto}.layer-list,.task-list{display:grid}.layer-row{min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) 30px 30px;align-items:center;border-bottom:1px solid var(--line)}.layer-row.selected{background:var(--accent-soft);box-shadow:inset 3px 0 var(--accent)}.layer-main{min-width:0;height:100%;border:0;background:transparent;padding:7px 8px;display:flex;align-items:center;gap:7px;text-align:left}.layer-main span{min-width:0}.layer-main strong,.layer-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-main strong{font-size:10px}.layer-main small{margin-top:2px;color:var(--soft);font-size:8px}.layer-row .icon-button{width:27px;height:27px;border:0;background:transparent}.task-list>button{min-height:56px;border:0;border-bottom:1px solid var(--line);background:transparent;padding:8px;display:flex;justify-content:space-between;text-align:left}.task-list>button.active{background:var(--accent-soft);box-shadow:inset 3px 0 var(--accent)}.task-list strong,.task-list small{display:block;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-list strong{font-size:10px}.task-list small{margin-top:4px;color:var(--soft);font-size:8px}.task-list em{color:var(--success);font-size:8px;font-style:normal}.inspector-empty{min-height:160px;display:grid;place-items:center;padding:20px;color:var(--soft);font-size:11px;text-align:center}.auth-page{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.72fr);background:var(--surface)}.auth-visual{position:relative;min-height:100dvh;overflow:hidden;background:#1b1c19}.auth-visual:after,.auth-dialog-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0a0b090f 35%,#0a0b09d1);pointer-events:none}.auth-visual>img{width:100%;height:100%;object-fit:cover;filter:saturate(.82)}.auth-visual>div{position:absolute;z-index:1;left:8%;right:8%;bottom:9%;color:#fff}.auth-visual h1{max-width:620px;margin:8px 0 11px;font:800 42px/1 Arial Narrow,sans-serif}.auth-visual p{max-width:600px;margin:0;color:#ddd;line-height:1.6}.auth-form-wrap{display:grid;place-items:center;padding:22px 32px;overflow-y:auto}.auth-page[data-mode=register] .auth-form-wrap,.auth-page[data-mode=forgot] .auth-form-wrap{place-items:start center;padding-top:max(24px,4vh)}.auth-panel{width:min(360px,100%)}.auth-brand{display:inline-flex;align-items:center;gap:10px}.auth-brand>div>strong,.auth-brand>div>span{display:block}.auth-brand>div>strong{font-size:14px}.auth-brand>div>span{margin-top:2px;color:var(--soft);font:750 8px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.auth-panel>svg{margin-top:28px;color:var(--accent)}.auth-panel h2{margin:9px 0 5px;font-size:24px}.auth-panel>p{margin:0 0 16px;color:var(--soft);font-size:11px}.auth-status{display:grid;justify-items:start;gap:10px;margin-top:46px}.auth-status-icon{display:grid;place-items:center;width:48px;height:48px;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent);border:1px solid color-mix(in srgb,var(--accent) 35%,transparent);border-radius:50%}.auth-status h2{margin:4px 0 0}.auth-status p{margin:0;color:var(--soft);font-size:12px;line-height:1.7}.auth-status-action{width:100%;margin-top:8px;text-align:center}.auth-status-action.text-command{width:auto;justify-self:center}.auth-panel form{display:grid;gap:6px}.auth-panel label{color:var(--soft);font-size:10px;font-weight:700}.auth-panel input{width:100%;height:42px;border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:0 11px}.auth-panel input::placeholder{color:color-mix(in srgb,var(--soft) 68%,transparent)}.auth-panel form>label:not(:first-child){margin-top:3px}.auth-panel form>.primary{width:100%;margin-top:6px}.auth-forgot{margin:-1px 0 2px;font-size:11px;text-align:right}.auth-forgot a,.auth-forgot .auth-text-action{color:var(--accent);font-weight:750;text-decoration:none}.auth-switch{margin:12px 0 0!important;color:var(--soft);font-size:11px!important;text-align:center}.auth-switch a,.auth-switch .auth-text-action{color:var(--accent);font-weight:800;text-decoration:none}.auth-text-action{display:inline;margin:0;border:0;background:transparent;padding:0;font:inherit}.form-success{margin:0;color:var(--success);font-size:11px}.verification-code-field,.invite-code-field{position:relative;display:flex;align-items:stretch;gap:7px}.verification-code-field input{min-width:0;flex:1}.verification-code-field .secondary{min-width:102px;padding:0 9px;white-space:nowrap}.field-hint{margin-top:-2px;color:var(--soft);font-size:9px;line-height:1.5}.optional-label{margin-left:4px;color:var(--soft);font-size:9px;font-weight:500}.invite-code-field input{min-width:0;flex:1;padding-right:42px;text-transform:uppercase}.invite-code-field>button{position:absolute;right:0;top:0;width:42px;height:42px;display:grid;place-items:center;border:0;background:transparent;color:var(--soft)}.password-field{position:relative}.password-field input{padding-right:46px}.password-field button{position:absolute;top:0;right:0;width:42px;height:42px;border:0;background:transparent;color:var(--soft);display:grid;place-items:center}.form-error{margin:0;color:var(--danger);font-size:11px}.auth-security{display:flex;align-items:center;gap:7px;margin-top:12px;color:var(--soft);font-size:10px}.auth-security svg{color:var(--success);flex:0 0 auto}.auth-dialog-backdrop{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:16px;background:#0b0c0aad;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.auth-dialog{position:relative;width:min(780px,100%);height:min(590px,calc(100dvh - 32px));display:grid;grid-template-columns:minmax(220px,.7fr) minmax(360px,1.3fr);overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 80%,transparent);border-radius:8px;background:var(--surface);box-shadow:0 28px 80px #0000004d}.auth-dialog-close{position:absolute;top:12px;right:12px;z-index:3;background:color-mix(in srgb,var(--surface) 92%,transparent)}.auth-dialog-visual{position:relative;min-height:0;overflow:hidden;background:#1b1c19}.auth-dialog-visual>img{width:100%;height:100%;object-fit:cover;filter:saturate(.72)}.auth-dialog-visual>div{position:absolute;z-index:1;left:22px;right:22px;bottom:22px;color:#fff}.auth-dialog-visual strong{display:block;margin-top:7px;font-size:22px;line-height:1.1}.auth-dialog-visual p{margin:8px 0 0;color:#ddd;font-size:11px;line-height:1.55}.auth-dialog-form{min-width:0;overflow-y:auto;padding:26px 34px;scrollbar-gutter:stable}.auth-dialog-form .auth-panel{margin-inline:auto}.auth-dialog[data-mode=login] .auth-dialog-form{display:grid;place-items:center}.auth-dialog-form .auth-panel>svg{margin-top:17px}.auth-dialog-form .auth-panel h2{font-size:22px}.auth-dialog-form .auth-panel>p{margin-bottom:12px}.auth-dialog-form .auth-panel input{height:40px}.auth-dialog-form .password-field button,.auth-dialog-form .invite-code-field>button{height:40px}.auth-dialog[data-mode=register] .auth-dialog-form,.auth-dialog[data-mode=forgot] .auth-dialog-form{padding-block:18px}.auth-dialog[data-mode=register] .auth-panel form,.auth-dialog[data-mode=forgot] .auth-panel form{gap:4px}.auth-dialog[data-mode=register] .auth-panel input,.auth-dialog[data-mode=forgot] .auth-panel input{height:38px}.auth-dialog[data-mode=register] .password-field button,.auth-dialog[data-mode=register] .invite-code-field>button,.auth-dialog[data-mode=forgot] .password-field button{height:38px}.auth-dialog[data-mode=register] .auth-panel form>.primary,.auth-dialog[data-mode=forgot] .auth-panel form>.primary{min-height:38px}.auth-dialog[data-mode=register] .auth-switch,.auth-dialog[data-mode=forgot] .auth-switch{margin-top:8px!important}.auth-dialog[data-mode=register] .auth-security,.auth-dialog[data-mode=forgot] .auth-security{margin-top:8px}.profile-summary{display:flex;align-items:center;gap:18px;min-height:132px;border-top:1px solid var(--ink);border-bottom:1px solid var(--line);padding:20px 0}.profile-avatar{width:72px;height:72px;flex:0 0 72px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--surface);font-size:24px;font-weight:850}.profile-summary h2{margin:0;font-size:22px}.profile-summary p{margin:5px 0 0;color:var(--soft);font-size:12px}.profile-details{margin:28px 0 0;max-width:760px}.profile-details>div{min-height:58px;display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;border-bottom:1px solid var(--line)}.profile-details dt{display:flex;align-items:center;gap:8px;color:var(--soft);font-size:11px}.profile-details dd{margin:0;overflow-wrap:anywhere;font-size:12px;font-weight:700}.profile-security{max-width:760px;margin-top:42px;scroll-margin-top:calc(var(--topbar) + 24px);outline:0}.profile-credits{max-width:980px;margin-top:42px;scroll-margin-top:calc(var(--topbar) + 24px)}.profile-credits>header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--ink)}.profile-credits h2{margin:4px 0 0;font-size:21px}.credit-balance-band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line)}.credit-balance-band>div{min-width:0;min-height:128px;display:grid;grid-template-columns:auto 1fr;align-content:center;column-gap:9px;padding:18px;border-right:1px solid var(--line)}.credit-balance-band>div:last-child{border-right:0}.credit-balance-band svg{color:var(--accent)}.credit-balance-band span{color:var(--soft);font-size:10px;font-weight:700}.credit-balance-band strong{grid-column:1 / -1;margin-top:9px;font-size:28px;line-height:1}.credit-balance-band small{grid-column:1 / -1;margin-top:5px;color:var(--soft);font-size:9px}.credit-ledger{margin-top:24px}.credit-ledger>header{min-height:40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.credit-ledger h3{display:flex;align-items:center;gap:7px;margin:0;font-size:12px}.credit-ledger header>span{color:var(--soft);font-size:9px}.profile-security>header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--ink)}.profile-security h2{margin:4px 0 0;font-size:21px}.security-state{color:var(--success);font-size:11px;font-weight:750}.security-list>div{min-height:72px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.security-list>div>svg{color:var(--soft)}.security-list strong,.security-list div span{display:block}.security-list strong{font-size:12px}.security-list div span{margin-top:3px;color:var(--soft);font-size:10px;font-weight:500}.security-list>div>span{color:var(--soft);font-size:10px;font-weight:700}.status-dot{width:7px;height:7px;margin-right:7px;border-radius:50%;display:inline-block;background:var(--success)}.profile-referrals{max-width:980px;margin-top:42px;scroll-margin-top:calc(var(--topbar) + 24px)}.profile-referrals>header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--ink)}.profile-referrals h2{margin:4px 0 0;font-size:21px}.profile-referrals .security-state.disabled{color:var(--soft)}.profile-referrals .security-state.disabled .status-dot{background:var(--soft)}.referral-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}.referral-metrics>div{min-width:0;min-height:122px;display:grid;grid-template-columns:auto 1fr;align-content:center;column-gap:8px;padding:18px;border-right:1px solid var(--line)}.referral-metrics>div:last-child{border-right:0}.referral-metrics svg{color:var(--accent)}.referral-metrics span{color:var(--soft);font-size:10px;font-weight:700}.referral-metrics strong{grid-column:1 / -1;margin-top:9px;font-size:25px;line-height:1}.referral-metrics small{grid-column:1 / -1;margin-top:5px;color:var(--soft);font-size:9px}.referral-share-row{min-height:72px;display:grid;grid-template-columns:145px minmax(0,1fr) 38px 38px;align-items:center;gap:8px;border-bottom:1px solid var(--line)}.referral-share-row>div span,.referral-share-row>div strong{display:block}.referral-share-row>div span{color:var(--soft);font-size:9px}.referral-share-row>div strong{margin-top:3px;font:800 16px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.referral-share-row code{min-width:0;overflow:hidden;color:var(--soft);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.referral-share-row button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);cursor:pointer}.referral-share-row button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.referral-share-row button:disabled{opacity:.42;cursor:not-allowed}.referral-rule{margin:12px 0 0;color:var(--soft);font-size:10px}.referral-records{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:24px}.referral-records>section>header{min-height:40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.referral-records h3{margin:0;font-size:12px}.referral-records header>span{color:var(--soft);font-size:9px}.referral-list>div{min-height:58px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid var(--line)}.referral-list>p{margin:0;padding:28px 0;color:var(--soft);font-size:10px;text-align:center}.referral-record-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:4px;background:var(--accent-soft);color:var(--accent)}.referral-list strong,.referral-list small{display:block}.referral-list strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.referral-list small{margin-top:3px;color:var(--soft);font-size:9px}.referral-list em{color:var(--soft);font-size:9px;font-style:normal;font-weight:750}.referral-list em[data-status=rewarded],.referral-list em.credit{color:var(--success)}.referral-list em.debit{color:var(--danger)}.referral-state{min-height:180px;display:grid;place-items:center;align-content:center;gap:10px;color:var(--soft);font-size:11px}.referral-state button{border:0;background:transparent;color:var(--accent);cursor:pointer;font-weight:700}.boot-state{min-height:100vh;display:grid;place-items:center;align-content:center;gap:10px;color:var(--soft)}.boot-state>span{width:38px;height:38px;display:grid;place-items:center;background:var(--ink);color:var(--surface);font-weight:800}.boot-state p{margin:0}.loading-state,.empty-state{min-height:260px;display:grid;place-items:center;align-content:center;gap:8px;color:var(--soft);text-align:center}.empty-state h2{margin:0;font-size:15px;color:var(--ink)}@media(max-width:1260px){.desktop-navigation a{padding:0 8px}.desktop-navigation a svg{display:none}.account-email{display:none}.artwork-grid,.template-catalog,.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.canvas-and-inspector{grid-template-columns:minmax(0,1fr) 230px}}@media(max-width:980px){:root{--topbar: 58px}.studio-topbar{grid-template-columns:auto 1fr;padding:0 14px}.desktop-navigation{display:none}.account-tools{justify-self:end}.account-tools .primary:not(.login-button){display:none}.mobile-navigation{position:fixed;z-index:60;left:0;right:0;bottom:0;height:64px;display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid var(--line);background:var(--surface);padding-bottom:env(safe-area-inset-bottom)}.mobile-navigation a{min-width:0;color:var(--soft);text-decoration:none;display:grid;place-items:center;align-content:center;gap:3px;font-size:8px}.mobile-navigation a.active{color:var(--accent);background:var(--accent-soft)}.studio-content{padding-bottom:64px}.creation-hero{grid-template-columns:1fr}.hero-image-rail{display:none}.creation-console{width:min(760px,calc(100% - 32px))}.scene-band{grid-template-columns:repeat(3,1fr)}.scene-band button{min-height:62px;border-bottom:1px solid var(--line)}.pricing-grid{grid-template-columns:1fr 1fr}.commerce-layout{grid-template-columns:1fr}.brief-panel{border-right:0;border-bottom:1px solid var(--line)}.workspace-page{height:auto;min-height:calc(100vh - var(--topbar) - 64px);overflow:visible}.workspace-layout{height:auto;grid-template-columns:1fr}.creation-sidebar{height:auto;max-height:none;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.agent-sidebar{min-height:480px}.creative-canvas{height:780px}}@media(max-width:700px){.content-section{width:calc(100% - 28px);padding:24px 0}.section-heading,.page-band,.library-heading,.history-heading-actions{align-items:stretch;flex-direction:column}.history-heading-actions .project-switcher{width:100%}.conversation-history-item{grid-template-columns:68px minmax(0,1fr);gap:11px}.conversation-history-preview{width:68px;height:60px}.conversation-history-arrow{display:none}.section-heading h1{font-size:32px}.creation-hero{min-height:390px}.creation-console{padding:36px 0}.creation-console h1{font-size:38px}.scene-band{overflow-x:auto;display:flex;min-height:64px}.scene-band button{flex:0 0 120px;min-height:64px}.artwork-grid,.template-catalog,.library-grid{grid-template-columns:1fr 1fr}.showcase-strip{grid-template-columns:1fr 1fr;height:220px}.pricing-grid,.billing-summary{grid-template-columns:1fr}.billing-summary>div{border-right:0;border-bottom:1px solid var(--line)}.project-switcher,.project-control{align-items:stretch;flex-direction:column}.project-switcher-main,.project-switcher .project-rename-form{align-items:stretch}.project-switcher-main label{flex:1}.project-switcher select,.project-switcher input,.project-control select,.project-control input{width:100%;min-width:0}.library-controls{align-items:stretch;flex-direction:column}.library-actions{overflow-x:auto}.job-strip{grid-template-columns:1fr auto;padding:8px 0}.job-picker,.progress-track{grid-column:1 / -1}.canvas-header{align-items:stretch;flex-direction:column}.canvas-tools{overflow-x:auto}.canvas-and-inspector{grid-template-columns:1fr;grid-template-rows:500px auto}.canvas-inspector{border-left:0;border-top:1px solid var(--line);max-height:330px}.creative-canvas{height:auto}.auth-page{grid-template-columns:1fr}.auth-visual{min-height:250px;height:36vh}.auth-visual h1{font-size:34px}.auth-form-wrap{min-height:64vh}.auth-panel>svg{margin-top:25px}.auth-dialog-backdrop{padding:12px;align-items:end}.auth-dialog{max-height:calc(100vh - 24px);grid-template-columns:1fr;overflow-y:auto}.auth-dialog-visual{min-height:150px;height:22vh}.auth-dialog-visual>div{left:20px;right:60px;bottom:18px}.auth-dialog-visual strong{font-size:20px}.auth-dialog-visual p{display:none}.auth-dialog-form{padding:26px 24px 30px}.auth-dialog-form .auth-panel>svg{margin-top:24px}.profile-details>div{grid-template-columns:130px minmax(0,1fr)}}@media(max-width:440px){.studio-brand strong{font-size:13px}.account-tools .theme-button,.account-identity,.account-chevron{display:none}.avatar-button{width:38px;padding:0;place-items:center}.account-menu{position:fixed;top:calc(var(--topbar) - 1px);right:8px;width:min(260px,calc(100vw - 16px))}.notification-panel{position:fixed;top:calc(var(--topbar) - 1px);right:8px;width:min(320px,calc(100vw - 16px))}.artwork-grid,.template-catalog,.library-grid{grid-template-columns:1fr}.hero-prompt>div{align-items:stretch}.hero-prompt .primary{flex:1}.candidate-grid{grid-template-columns:1fr}.proofing-area{padding:14px}.mobile-navigation a:nth-child(3){display:none}.mobile-navigation{grid-template-columns:repeat(5,1fr)}}body:has(.home-page){--accent: #ff9f0a;--accent-soft: #fff5e3;--canvas: #fff;--surface: #fff;--surface-2: #fff8eb;--ink: #262a2c;--soft: #778089;--line: #e8e8e3}body[data-theme=dark]:has(.home-page){--accent: #7d75ff;--accent-soft: #24234c;--canvas: #080d22;--surface: #0d142b;--surface-2: #151c38;--ink: #f7f8ff;--soft: #939bb6;--line: #222c4b}.studio-app:has(.home-page) .studio-topbar{border-bottom-color:var(--line);background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 1px 16px #1f23270a}.studio-app:has(.home-page) .studio-brand strong,.studio-app:has(.home-page) .desktop-navigation a,.home-page,.home-page *{letter-spacing:0}.studio-app:has(.home-page) .desktop-navigation a.active{border-color:transparent;background:var(--accent-soft);color:var(--accent)}.studio-app:has(.home-page) .desktop-navigation a.active svg{color:currentColor}.studio-app:has(.home-page) .account-tools>.primary{border-radius:7px;background:#ff9f0a;box-shadow:0 7px 18px #ff9f0a33}body[data-theme=dark] .studio-app:has(.home-page) .account-tools>.primary{background:linear-gradient(115deg,#ef2f90,#7a5cff 58%,#2e88ff);box-shadow:0 8px 22px #5357ff40}.home-page{overflow:hidden;background:var(--canvas)}.home-page .creation-hero{min-height:516px;grid-template-columns:minmax(0,2.12fr) minmax(390px,1fr);background:var(--canvas);color:var(--ink);border-bottom:1px solid var(--line)}.home-page .creation-stage{position:relative;min-width:0;isolation:isolate;display:flex;align-items:center;overflow:hidden;background-image:linear-gradient(90deg,#fff9eefa,#fff9eeed 44%,#fff9ee42 73%,#fff9ee0a),url(/interior.jpg);background-position:center,right center;background-size:cover,cover}.home-page .creation-stage:after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(112deg,transparent 54%,rgba(255,185,73,.08))}body[data-theme=dark] .home-page .creation-stage{background-image:linear-gradient(90deg,#070c20f7,#070c20e0 48%,#070c2047 78%,#070c2014),url(/portrait.jpg);background-position:center,right 39%;background-size:cover,cover}body[data-theme=dark] .home-page .creation-stage:after{background:linear-gradient(125deg,rgba(229,42,174,.18),transparent 35%,rgba(0,142,255,.16) 75%,rgba(230,48,172,.16))}.home-page .creation-console{position:relative;z-index:1;width:min(720px,calc(100% - 72px));margin:0 auto;padding:50px 0 34px}.home-page .creation-console .eyebrow{color:#f7941d;font-size:11px}body[data-theme=dark] .home-page .creation-console .eyebrow{color:#f06bb8}.home-page .creation-console h1{margin:18px 0 14px;color:var(--ink);font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;font-size:clamp(48px,4.35vw,68px);font-weight:850;line-height:1.12}.home-page .creation-console h1 span{color:#ff8718}body[data-theme=dark] .home-page .creation-console h1 span{color:#f052ae;background:linear-gradient(100deg,#ff719d,#bd63e9 48%,#3aa0ff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.home-page .hero-description{max-width:650px;min-height:27px;margin:0 0 25px;overflow:hidden;color:#505962;font-size:15px;line-height:1.8;text-overflow:ellipsis;white-space:nowrap}body[data-theme=dark] .home-page .hero-description{color:#aab1c7}.home-page .hero-capabilities{width:min(630px,100%);min-height:66px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;border:1px solid rgba(255,255,255,.76);border-radius:8px;background:#ffffffb8;box-shadow:0 9px 28px #7b58230f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}body[data-theme=dark] .home-page .hero-capabilities{border-color:#8790c433;background:#121838b8;box-shadow:none}.home-page .hero-capabilities>div{min-width:0;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;padding:0 14px;border-right:1px solid rgba(105,101,90,.11)}.home-page .hero-capabilities>div:last-child{border-right:0}.home-page .hero-capabilities>div>span{grid-row:1 / 3;width:31px;height:31px;display:grid;place-items:center;border-radius:7px;background:#fff7e8;color:#f6a313}body[data-theme=dark] .home-page .hero-capabilities>div>span{background:#1c2854;color:#6ea5ff}.home-page .hero-capabilities strong{align-self:end;font-size:12px;line-height:1.35}.home-page .hero-capabilities small{align-self:start;overflow:hidden;color:var(--soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.home-page .hero-actions{width:min(630px,100%);display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.22fr);gap:clamp(32px,8vw,128px);align-items:center;margin-top:27px}.home-page .reference-button{min-height:66px;display:flex;align-items:center;gap:13px;border:1px solid rgba(255,255,255,.72);border-radius:8px;padding:9px 16px;background:#ffffffc2;color:var(--ink);box-shadow:0 7px 20px #5f451e14;text-align:left;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}body[data-theme=dark] .home-page .reference-button{border-color:#324062;background:#141d3dd6;box-shadow:none}.home-page .reference-button>span:first-child{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:7px;background:var(--surface);box-shadow:0 4px 12px #1d232717}.home-page .reference-button strong,.home-page .reference-button small{display:block}.home-page .reference-button strong{font-size:12px}.home-page .reference-button small{margin-top:3px;color:var(--soft);font-size:9px}.home-page .hero-primary{min-height:64px;border:0;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:0 27px;background:linear-gradient(110deg,#ff8a21,#ffb400);color:#fff;box-shadow:0 13px 28px #ff9e1745;font-size:17px;font-weight:800}body[data-theme=dark] .home-page .hero-primary{background:linear-gradient(110deg,#ff2b83,#8b52ff 58%,#228cff);box-shadow:0 14px 32px #3a5bff45}.home-page .hero-primary:hover{transform:translateY(-2px);filter:brightness(1.04)}.home-page .hero-status{width:min(630px,100%);margin-top:29px;padding-top:15px;border-top:1px solid rgba(117,104,83,.12);color:#7d8184}body[data-theme=dark] .home-page .hero-status{border-top-color:#8e99cc24;color:#9ba3bd}.home-page .hero-status svg{color:var(--accent)}.home-page .hero-side-panel{min-width:0;grid-template-rows:minmax(0,1fr) 164px;border-left:1px solid var(--line);background:#fffef9fa}body[data-theme=dark] .home-page .hero-side-panel{background:#10182f}.home-page .hero-summary{padding:31px 31px 25px;color:var(--ink)}.home-page .hero-summary .eyebrow{color:var(--accent)}.home-page .hero-summary>strong{max-width:100%;margin-top:13px;font-size:23px;font-weight:820;line-height:1.25}.home-page .hero-summary>p{max-width:100%;margin-top:13px;color:var(--soft);font-size:11px;line-height:1.75}.home-page .hero-summary-list{margin-top:19px;border-top-color:var(--line)}.home-page .hero-summary-row{grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:center;min-height:66px;padding:11px 0;border-bottom-color:var(--line)}.home-page .summary-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:8px;background:#ffcc4d;color:#fff}body[data-theme=dark] .home-page .summary-icon{background:linear-gradient(135deg,#3d80ff,#7069ff)}body[data-theme=dark] .home-page .hero-summary-row+.hero-summary-row .summary-icon{background:linear-gradient(135deg,#8659ff,#e25ad5)}.home-page .hero-summary-row strong,.home-page .hero-summary-row small{display:block}.home-page .hero-summary-row strong{font-size:12px}.home-page .hero-summary-row small{margin-top:4px;color:var(--soft);font-size:9px}.home-page .hero-summary-actions{margin-top:18px}.home-page .hero-summary-actions .secondary{background:var(--surface);color:var(--ink)}.home-page .hero-summary-actions .text-command{color:var(--accent)}.home-page .hero-side-panel .hero-image-rail{height:164px;display:block;overflow:hidden;border:0;background:var(--surface-2)}.home-page .hero-image-rail img{width:100%;height:100%;object-fit:cover;object-position:center 42%;filter:saturate(1.03)}body[data-theme=dark] .home-page .hero-image-rail img{filter:saturate(1.25) hue-rotate(330deg) brightness(.72)}.home-page .scene-band{min-height:72px;border-bottom-color:var(--line);background:var(--surface);box-shadow:0 5px 18px #181e2206}.home-page .scene-band button{min-height:72px;border-right-color:var(--line);color:var(--soft);font-size:12px}.home-page .scene-band button:hover,.home-page .scene-band button.active{background:var(--accent-soft);color:var(--accent)}.home-page .scene-band button.active{box-shadow:inset 0 -2px var(--accent)}.home-page .scene-band button.active svg{color:var(--accent)}.home-page .content-section{width:min(1505px,calc(100% - 64px));padding:32px 0 38px}.home-page .section-heading{align-items:center;margin-bottom:20px}.home-page .section-heading h2{margin:5px 0 6px;font-size:25px}.home-page .section-heading p{font-size:11px}.home-page .section-heading .eyebrow{color:var(--accent)}.home-page>.content-section:not(.recent-section) .artwork-card{border-radius:7px}.home-page>.content-section:not(.recent-section) .frame-index,.home-page>.content-section:not(.recent-section) .artwork-actions{display:none}.home-page>.content-section:not(.recent-section) .artwork-meta{min-height:61px;padding-inline:13px}.home-page>.content-section:not(.recent-section) .artwork-meta strong{font-size:12px}.home-page>.content-section:not(.recent-section) .artwork-meta span{margin-top:4px;font-size:9px}.home-page .recent-section{border-top:1px solid var(--line)}@media(max-width:1180px){.home-page .creation-hero{grid-template-columns:minmax(0,1.65fr) minmax(330px,1fr)}.home-page .creation-console{width:calc(100% - 48px)}.home-page .hero-actions{gap:34px}}@media(max-width:980px){.home-page .creation-hero{grid-template-columns:1fr}.home-page .creation-stage{min-height:500px}.home-page .creation-console{width:min(760px,calc(100% - 42px))}.home-page .hero-side-panel{grid-template-rows:auto 175px;border-top-color:var(--line)}.home-page .hero-summary{padding:26px max(21px,calc((100% - 760px)/2))}.home-page .hero-summary-list{grid-template-columns:1fr 1fr}.home-page .hero-summary-row+.hero-summary-row{border-left:1px solid var(--line);padding-left:20px}.home-page .hero-side-panel .hero-image-rail{display:block;height:175px}}@media(max-width:700px){.home-page .creation-stage{min-height:580px;align-items:flex-start;background-position:center,64% center}body[data-theme=dark] .home-page .creation-stage{background-position:center,63% center}.home-page .creation-console{width:calc(100% - 32px);padding:46px 0 28px}.home-page .creation-console h1{max-width:360px;margin-top:14px;font-size:43px}.home-page .hero-description{max-width:92%;margin-bottom:20px;font-size:13px;white-space:normal}.home-page .hero-capabilities{grid-template-columns:1fr;padding:6px 0}.home-page .hero-capabilities>div{min-height:49px;border-right:0}.home-page .hero-capabilities small{font-size:9px}.home-page .hero-actions{grid-template-columns:1fr 1.15fr;gap:9px;margin-top:15px}.home-page .reference-button{min-height:58px;padding-inline:10px}.home-page .reference-button>span:first-child{width:34px;height:34px;flex-basis:34px}.home-page .hero-primary{min-height:58px;gap:9px;border-radius:12px;padding:0 12px;font-size:13px}.home-page .hero-status{margin-top:17px;padding-top:12px;font-size:10px}.home-page .hero-summary-list{display:block}.home-page .hero-summary-row+.hero-summary-row{border-left:0;padding-left:0}.home-page .content-section{width:calc(100% - 30px)}}@media(max-width:440px){.home-page .creation-stage{min-height:600px}.home-page .creation-console h1{font-size:38px}.home-page .hero-capabilities strong{font-size:11px}.home-page .reference-button small{display:none}.home-page .hero-side-panel{grid-template-rows:auto 135px}.home-page .hero-side-panel .hero-image-rail{height:135px}.home-page .scene-band button{flex-basis:106px}.home-page .section-heading{flex-direction:row;align-items:flex-end}.home-page .section-heading .text-command{flex:0 0 auto}}.studio-app:has(.redesigned-history){--history-ink: #17273a;--history-muted: #8290a8;--history-line: #e8e9f7;--history-violet: #776cf6;--history-pink: #df45d9;--history-panel: rgba(255, 255, 255, .76)}.studio-app:has(.redesigned-history) .studio-topbar{border-bottom-color:#eef0f8;background:#fffffff0;box-shadow:0 8px 28px #675bb60d}.studio-app:has(.redesigned-history) .desktop-navigation a.active{border-color:transparent;background:#fff3fb;color:#d947bc}.studio-app:has(.redesigned-history) .desktop-navigation a.active svg{color:#ff5e87}.studio-app:has(.redesigned-history) .account-tools>.primary{background:#d747d5;box-shadow:0 8px 22px #d13fd238}.redesigned-history{min-height:calc(100vh - var(--topbar));margin:8px;border:1px solid #e9eaf7;border-radius:12px;overflow:hidden;background:#fafbff;box-shadow:inset 220px 140px 200px #deedff80,inset -220px 120px 220px #ffe7fa80}.redesigned-history .history-content{width:min(1728px,calc(100% - 96px));margin:0 auto;padding:50px 0 72px}.redesigned-history .history-hero-panel{position:relative}.redesigned-history .history-hero{position:relative;min-height:208px;display:grid;grid-template-columns:minmax(300px,.8fr) minmax(340px,.75fr) minmax(540px,1.15fr);align-items:center;gap:32px;padding:0}.redesigned-history .history-hero-copy{position:relative;z-index:2;min-width:0}.redesigned-history .history-hero-copy .eyebrow,.redesigned-history .history-section-heading .eyebrow{color:#a464eb;font-size:11px;font-weight:850;letter-spacing:.08em}.redesigned-history .history-hero-copy h1{margin:12px 0 10px;color:var(--history-ink);font-size:42px;font-weight:800;line-height:1.05}.redesigned-history .history-hero-copy p{max-width:460px;margin:0;color:#77869e;font-size:15px;line-height:1.65}.redesigned-history .history-hero-art{position:relative;width:310px;height:190px;justify-self:center;filter:drop-shadow(0 22px 21px rgba(104,98,226,.16))}.redesigned-history .hero-chat-shape{position:absolute;left:49px;top:19px;width:166px;height:133px;border:2px solid rgba(107,98,236,.2);border-radius:48% 48% 45% 42%;background:linear-gradient(140deg,#b5b3ff 3%,#8babff 46%,#9ce4ff);box-shadow:inset 14px 17px 25px #ffffff8a,inset -14px -17px 22px #5847d633,0 16px 25px #6861e12b;transform:rotate(5deg)}.redesigned-history .hero-chat-shape.project-hero-shape{display:grid;place-items:center;color:#ffffffeb}.redesigned-history .hero-chat-shape.project-hero-shape svg{position:relative;z-index:2;filter:drop-shadow(0 5px 8px rgba(70,58,180,.2));transform:rotate(-5deg)}.redesigned-history.mode-commerce .hero-chat-shape{background:linear-gradient(140deg,#ffb16c 3%,#ff825e 49%,#ffb477)}.redesigned-history.mode-create .hero-chat-shape{background:linear-gradient(140deg,#87c9ff 3%,#6d8df4 49%,#a18ef5)}.redesigned-history .hero-chat-shape:after{content:"";position:absolute;left:30px;bottom:-22px;width:40px;height:45px;border-radius:5px 0 24px 25px;background:#9e9cf8;box-shadow:inset 7px 2px 9px #ffffff52,-1px 5px 4px #5c4ed221;transform:skew(18deg) rotate(-9deg)}.redesigned-history .hero-chat-shape>i{position:absolute;z-index:2;top:58px;width:27px;height:27px;border-radius:50%;background:#d7dcff;box-shadow:inset 6px 7px 8px #ffffffdb,inset -5px -6px 8px #6a5be25c,0 8px 9px #4536c53d}.redesigned-history .hero-chat-shape>i:nth-child(1){left:41px}.redesigned-history .hero-chat-shape>i:nth-child(2){left:76px}.redesigned-history .hero-chat-shape>i:nth-child(3){left:111px}.redesigned-history .hero-pen{position:absolute;z-index:3;right:62px;top:45px;width:18px;height:126px;border:2px solid rgba(73,76,170,.24);border-radius:8px 8px 3px 3px;background:linear-gradient(90deg,#777bea,#d9dcff 44%,#787ad4 78%,#a8aaf3);box-shadow:inset 3px 0 3px #ffffff8c,3px 8px 10px #4646a92e;transform:rotate(25deg)}.redesigned-history .hero-pen:before{content:"";position:absolute;left:3px;top:-13px;width:8px;height:18px;border-radius:5px 5px 2px 2px;background:#aeb4ff}.redesigned-history .hero-pen:after{content:"";position:absolute;left:2px;bottom:-16px;width:10px;height:18px;background:#5d5baf;clip-path:polygon(0 0,100% 0,50% 100%)}.redesigned-history .hero-sparkle{position:absolute;right:11px;bottom:32px;color:#f1a6f1;font:300 78px/1 Arial,sans-serif;transform:rotate(45deg);text-shadow:0 7px 12px rgba(226,86,215,.13)}.redesigned-history .hero-orbit{position:absolute;width:8px;height:8px;border-radius:2px;background:#9c90f5;box-shadow:94px -7px #84d9ff,181px 10px #a184f5;transform:rotate(26deg)}.redesigned-history .hero-orbit-one{left:0;top:35px}.redesigned-history .hero-orbit-two{left:18px;bottom:19px;opacity:.35;transform:scale(.55) rotate(46deg)}.redesigned-history .history-hero-actions{position:relative;z-index:4;min-width:0;display:flex;align-items:flex-end;justify-content:flex-end;gap:16px}.redesigned-history .history-hero-actions .project-switcher{min-width:0;gap:14px}.redesigned-history .history-hero-actions .project-switcher label>span{margin-bottom:11px;color:#8290a8;font-size:12px}.redesigned-history .history-hero-actions .project-switcher select,.redesigned-history .history-hero-actions .project-switcher input{height:56px;border-color:#e1e3f2;border-radius:10px;background:#fffc;padding-inline:16px;box-shadow:0 5px 18px #5f57a40a}.redesigned-history .history-hero-actions .project-switcher select{min-width:270px}.redesigned-history .history-hero-actions .project-switcher input{width:230px}.redesigned-history .history-hero-actions .project-switcher .icon-button{width:56px;height:56px;border-color:#e1e3f2;border-radius:10px;background:#ffffffd1}.redesigned-history .history-new-button{min-width:164px;min-height:56px;border-radius:10px;background:#17273a;box-shadow:0 10px 24px #17273a29;font-size:14px}.redesigned-history .history-new-button:hover{background:#263b54}.redesigned-history .history-overview{position:relative;z-index:5;min-height:160px;display:grid;grid-template-columns:1.05fr 1.05fr 1.05fr 1.4fr;align-items:center;gap:24px;margin-top:3px;padding:28px 24px;border:1px solid rgba(229,229,244,.9);border-radius:14px;background:#ffffff8c;box-shadow:0 9px 30px #534f900f;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.redesigned-history .history-overview>div{min-width:0;min-height:100px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:15px;padding:18px;border:0;border-radius:10px;background:#ffffffad;box-shadow:0 8px 24px #4d498909}.redesigned-history .history-overview-card>div{min-width:0}.redesigned-history .history-overview-card>div>span{display:block;margin-bottom:5px;color:#8b98af;font-size:12px}.redesigned-history .history-overview-card strong{display:block;overflow:hidden;color:#28394f;font-size:15px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.redesigned-history .history-overview-card strong small{color:#8b98af;font-size:11px;font-weight:600}.redesigned-history .history-overview-icon,.redesigned-history .history-note-icon{width:45px;height:45px;flex:0 0 45px;display:grid;place-items:center;border-radius:10px;background:#f6f3ff;color:var(--history-violet)}.redesigned-history .history-overview>.history-overview-note{gap:17px;color:#7e8ca3}.redesigned-history .history-overview-note>span:last-child{color:#7e8ca3;font-size:12px;line-height:1.6}.redesigned-history .history-note-icon{background:#fff5f7;color:#ff675c}.redesigned-history .history-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:42px 0 16px}.redesigned-history .history-section-heading h2{margin:8px 0 0;color:var(--history-ink);font-size:27px;line-height:1.15}.redesigned-history .history-section-heading h2 small{display:inline-grid;min-width:31px;min-height:27px;margin-left:8px;place-items:center;border-radius:9px;background:#f2efff;color:#8f7de7;font:700 12px/1 ui-monospace,monospace;vertical-align:3px}.redesigned-history .history-sort-label{min-height:34px;display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:#927fda;font-size:11px}.redesigned-history .history-sort-label:hover{color:#5e4fc2}.redesigned-history .conversation-history-list{display:grid;gap:14px}.redesigned-history .conversation-history-item{width:100%;min-height:170px;grid-template-columns:176px minmax(0,1fr) 54px;gap:24px;padding:24px 26px 24px 16px;border:1px solid #e6e7f3;border-radius:14px;background:#ffffffd1;box-shadow:0 9px 25px #514d890b}.redesigned-history .conversation-history-item:hover{border-color:#cfc7fb;box-shadow:0 15px 38px #514d891a;transform:translateY(-2px)}.redesigned-history .conversation-history-preview{position:relative;width:176px;height:122px;border-radius:10px;background:#f1f2f8}.redesigned-history .conversation-history-item:hover .conversation-history-preview img{transform:scale(1.035)}.redesigned-history .history-preview-index{position:absolute;z-index:2;right:8px;bottom:8px;min-width:36px;padding:6px 7px;border-radius:6px;background:#17273ad6;color:#fff;font:750 11px/1 ui-monospace,monospace;text-align:center}.redesigned-history .conversation-history-title strong{color:#26374c;font-size:17px;font-weight:720}.redesigned-history .conversation-history-main small{gap:8px;color:#96a1b4;font-size:11px}.redesigned-history .conversation-history-main small i{width:4px;height:4px;margin:0 2px;border-radius:50%;background:#c2c8d6}.redesigned-history .history-template-tag{padding:5px 12px;border-radius:999px;background:#f3f0ff;color:#987fec}.redesigned-history .history-status{padding:6px 12px;border-radius:999px;background:#f2f3f7;font-size:10px;font-weight:720}.redesigned-history .history-status.is-success{background:#ecfbf5;color:#35b789}.redesigned-history .history-status.is-running{background:#fff5e8;color:#dc932d}.redesigned-history .history-status.is-failed{background:#fff0f6;color:#ef5c9b}.redesigned-history .conversation-history-arrow{width:54px;height:54px;display:grid;place-items:center;border:1px solid #e1e3f0;border-radius:50%;color:#25364b}.redesigned-history .history-state{min-height:360px;border:1px dashed #d9d9ec;border-radius:14px;background:#ffffffa6}body[data-theme=dark] .studio-app:has(.redesigned-history){--history-ink: #eef0fb;--history-muted: #a6aec3;--history-line: #35364b;--history-panel: rgba(27, 28, 42, .78)}body[data-theme=dark] .studio-app:has(.redesigned-history) .studio-topbar{border-bottom-color:#303145;background:#171824f2}body[data-theme=dark] .redesigned-history{border-color:#2e3044;background:#171824;box-shadow:inset 220px 140px 200px #343a6838,inset -220px 120px 220px #5b2a5529}body[data-theme=dark] .redesigned-history .history-hero-copy p,body[data-theme=dark] .redesigned-history .history-overview-card>div>span,body[data-theme=dark] .redesigned-history .history-overview-note>span:last-child,body[data-theme=dark] .redesigned-history .conversation-history-main p,body[data-theme=dark] .redesigned-history .conversation-history-main small{color:#a1a8bc}body[data-theme=dark] .redesigned-history .history-overview,body[data-theme=dark] .redesigned-history .history-overview>div,body[data-theme=dark] .redesigned-history .conversation-history-item,body[data-theme=dark] .redesigned-history .history-state{border-color:#34364c;background:#1e1f2fc7}body[data-theme=dark] .redesigned-history .history-overview-card strong,body[data-theme=dark] .redesigned-history .conversation-history-title strong{color:#eef0fb}@media(max-width:1420px){.redesigned-history .history-content{width:min(1240px,calc(100% - 64px))}.redesigned-history .history-hero{grid-template-columns:minmax(280px,.8fr) 260px minmax(480px,1.2fr);gap:20px}.redesigned-history .history-hero-art{width:260px;transform:scale(.86)}.redesigned-history .history-hero-actions .project-switcher select{min-width:210px}.redesigned-history .history-hero-actions .project-switcher input{width:170px}.redesigned-history .history-overview{gap:14px;padding-inline:18px}}@media(max-width:1160px){.redesigned-history .history-content{width:calc(100% - 48px)}.redesigned-history .history-hero{grid-template-columns:minmax(280px,.8fr) 230px minmax(300px,1fr)}.redesigned-history .history-hero-art{width:230px;transform:scale(.76)}.redesigned-history .history-hero-actions{align-items:stretch;flex-direction:column}.redesigned-history .history-hero-actions .project-switcher{width:100%}.redesigned-history .history-hero-actions .project-switcher label{flex:1}.redesigned-history .history-hero-actions .project-switcher select{width:100%;min-width:0}.redesigned-history .history-hero-actions .project-switcher input{width:150px}.redesigned-history .history-new-button{width:100%}.redesigned-history .history-overview{grid-template-columns:repeat(3,1fr)}.redesigned-history .history-overview-note{grid-column:1 / -1;min-height:76px!important}}@media(max-width:820px){.redesigned-history{margin:0;border-width:0;border-radius:0}.redesigned-history .history-content{width:min(680px,calc(100% - 32px));padding:34px 0 50px}.redesigned-history .history-hero{min-height:auto;grid-template-columns:1fr;gap:22px}.redesigned-history .history-hero-copy{text-align:center}.redesigned-history .history-hero-copy p{margin-inline:auto}.redesigned-history .history-hero-art{display:none}.redesigned-history .history-hero-actions{max-width:560px;width:100%;margin:0 auto}.redesigned-history .history-hero-actions .project-switcher{align-items:stretch;flex-direction:column}.redesigned-history .history-hero-actions .project-switcher label,.redesigned-history .history-hero-actions .project-switcher select,.redesigned-history .history-hero-actions .project-switcher form,.redesigned-history .history-hero-actions .project-switcher input{width:100%}.redesigned-history .history-overview{grid-template-columns:1fr 1fr;margin-top:28px}.redesigned-history .history-overview-note{grid-column:1 / -1}.redesigned-history .conversation-history-item{min-height:142px;grid-template-columns:124px minmax(0,1fr) 42px;gap:16px;padding:16px}.redesigned-history .conversation-history-preview{width:124px;height:96px}.redesigned-history .conversation-history-arrow{width:42px;height:42px}}@media(max-width:560px){.redesigned-history .history-content{width:calc(100% - 24px);padding-top:28px}.redesigned-history .history-hero-copy h1{font-size:36px}.redesigned-history .history-hero-copy p{font-size:13px}.redesigned-history .history-overview{grid-template-columns:1fr;gap:9px;padding:10px}.redesigned-history .history-overview>div{min-height:78px;padding:14px}.redesigned-history .history-overview-note{grid-column:auto}.redesigned-history .history-section-heading{margin-top:32px}.redesigned-history .history-section-heading h2{font-size:23px}.redesigned-history .history-sort-label{width:34px;overflow:hidden;padding:0 9px;white-space:nowrap}.redesigned-history .history-sort-label svg{flex:0 0 14px}.redesigned-history .conversation-history-item{min-height:112px;grid-template-columns:82px minmax(0,1fr);gap:13px;padding:13px}.redesigned-history .conversation-history-preview{width:82px;height:82px}.redesigned-history .conversation-history-arrow{display:none}.redesigned-history .conversation-history-title{align-items:flex-start;flex-direction:column;gap:6px}.redesigned-history .conversation-history-title strong{max-width:100%;font-size:14px}.redesigned-history .conversation-history-main p{margin:7px 0 9px;font-size:11px}.redesigned-history .conversation-history-main small{flex-wrap:wrap;gap:5px;font-size:9px}.redesigned-history .history-template-tag{display:none}}body:has(.credit-management-page){--topbar: 72px;--canvas: #f7f8fa;--surface: #ffffff;--surface-2: #fff8ed;--surface-muted: #f3f5f7;--ink: #1c2b35;--soft: #7b8790;--line: #e5e9ed;--accent: #f28c18;--accent-soft: #fff0d9;--success: #309878;--danger: #db626d;background:var(--canvas)}body[data-theme=dark]:has(.credit-management-page){--canvas: #090e21;--surface: #11182e;--surface-2: #1a2140;--surface-muted: #151d36;--ink: #f3f5ff;--soft: #9ba5c1;--line: #293452;--accent: #a58aff;--accent-soft: #2a2452;--success: #5dccaa;--danger: #ff8898}.studio-app:has(.credit-management-page) .studio-topbar{height:var(--topbar);padding-inline:28px;border-bottom-color:color-mix(in srgb,var(--line) 82%,transparent);background:color-mix(in srgb,var(--surface) 95%,transparent);box-shadow:0 1px 14px #2630390b}.studio-app:has(.credit-management-page) .desktop-navigation a.active{border-bottom-color:transparent;background:var(--accent-soft);color:var(--accent)}.studio-app:has(.credit-management-page) .account-tools>.primary{border-radius:7px;background:var(--accent);box-shadow:0 7px 18px color-mix(in srgb,var(--accent) 22%,transparent)}body[data-theme=dark] .studio-app:has(.credit-management-page) .studio-topbar{border-bottom-color:#202945;background:#070b1df5;box-shadow:none}body[data-theme=dark] .studio-app:has(.credit-management-page) .account-tools>.primary{background:linear-gradient(110deg,#ed4da8,#8f6aff 58%,#4086ff);box-shadow:0 8px 22px #5b4bf340}.credit-management-page{display:grid;grid-template-columns:232px minmax(0,1fr);min-width:0;background:var(--canvas)}.credit-management-main{min-width:0;padding:30px 32px 42px}.credit-management-main>*{width:min(1480px,100%);margin-inline:auto}.credit-management-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:3px 2px 24px}.credit-eyebrow{display:block;margin-bottom:9px;color:var(--accent);font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.11em}.credit-management-header h1{margin:0;color:var(--ink);font-size:clamp(27px,3vw,38px);letter-spacing:0;line-height:1.12}.credit-management-header p{margin:9px 0 0;color:var(--soft);font-size:12px;line-height:1.55}.credit-header-status{flex:0 0 auto;display:grid;justify-items:end;gap:8px;padding-bottom:3px}.credit-header-status span{display:inline-flex;align-items:center;gap:7px;color:var(--success);font-size:10px;font-weight:800}.credit-header-status span i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 12%,transparent)}.credit-header-status small{color:var(--soft);font-size:9px}.credit-overview-grid{display:grid;grid-template-columns:minmax(230px,.78fr) minmax(390px,1.42fr) minmax(250px,.9fr);gap:14px}.credit-balance-card,.credit-usage-card,.credit-distribution-card,.credit-details-panel,.credit-help-panel{min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 8px 27px #26313a09}body[data-theme=dark] .credit-balance-card,body[data-theme=dark] .credit-usage-card,body[data-theme=dark] .credit-distribution-card,body[data-theme=dark] .credit-details-panel,body[data-theme=dark] .credit-help-panel{box-shadow:0 11px 30px #00000029}.credit-balance-card{position:relative;overflow:hidden;padding:22px;background:linear-gradient(145deg,var(--surface) 38%,color-mix(in srgb,var(--accent-soft) 68%,var(--surface)))}body[data-theme=dark] .credit-balance-card{background:linear-gradient(145deg,var(--surface) 30%,rgba(126,92,235,.18))}.credit-balance-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--soft);font-size:11px;font-weight:750}.credit-balance-top>span:first-child{display:inline-flex;align-items:center;gap:7px}.credit-balance-top svg{color:var(--accent)}.credit-balance-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line));border-radius:50%;background:color-mix(in srgb,var(--surface) 50%,transparent);color:var(--accent)}.credit-balance-card>strong{display:block;margin-top:25px;color:var(--ink);font-size:43px;font-weight:850;letter-spacing:-.02em;line-height:1;font-variant-numeric:tabular-nums}.credit-balance-card>p{margin:9px 0 18px;color:var(--soft);font-size:10px}.credit-balance-card>a{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-size:10px;font-weight:800;text-decoration:none}.credit-balance-breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:23px -22px -22px;border-top:1px solid color-mix(in srgb,var(--line) 78%,transparent)}.credit-balance-breakdown>div{min-width:0;padding:13px 12px 14px;border-right:1px solid color-mix(in srgb,var(--line) 78%,transparent)}.credit-balance-breakdown>div:last-child{border-right:0}.credit-balance-breakdown span,.credit-balance-breakdown strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credit-balance-breakdown span{color:var(--soft);font-size:9px}.credit-balance-breakdown strong{margin-top:6px;color:var(--ink);font-size:15px;font-variant-numeric:tabular-nums}.credit-usage-card{padding:21px 22px 18px}.credit-usage-card>header,.credit-distribution-card>header{min-height:37px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.credit-usage-card h2,.credit-distribution-card h2,.credit-details-heading h2,.credit-help-panel h2{margin:0;color:var(--ink);font-size:14px;line-height:1.25}.credit-usage-card header p,.credit-distribution-card header p{margin:5px 0 0;color:var(--soft);font-size:9px}.credit-select-label{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:0 8px;border:1px solid var(--line);border-radius:5px;color:var(--soft);font-size:9px;white-space:nowrap}.credit-usage-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:18px}.credit-usage-stats>div{min-width:0;padding-right:8px;border-right:1px solid var(--line)}.credit-usage-stats>div:last-child{border-right:0}.credit-usage-stats span,.credit-usage-stats strong,.credit-usage-stats small{display:block}.credit-usage-stats span{color:var(--soft);font-size:9px}.credit-usage-stats strong{margin-top:7px;color:var(--ink);font-size:20px;font-variant-numeric:tabular-nums}.credit-usage-stats strong.income{color:var(--success)}.credit-usage-stats strong.spend{color:var(--danger)}.credit-usage-stats small{margin-top:5px;overflow:hidden;color:var(--soft);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.credit-usage-chart{position:relative;height:110px;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;margin-top:20px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,color-mix(in srgb,var(--line) 66%,transparent) 36px,transparent 37px)}.credit-chart-y{display:flex;flex-direction:column;justify-content:space-between;padding:0 0 5px;color:var(--soft);font-size:8px;text-align:right}.credit-chart-bars{display:grid;grid-template-columns:repeat(30,minmax(3px,1fr));align-items:end;gap:3px;min-width:0;height:100%;padding:0 2px}.credit-chart-day{position:relative;height:100%;min-width:0}.credit-chart-day i,.credit-chart-day b,.credit-chart-day em{position:absolute;bottom:0;display:block;width:28%;min-height:0;border-radius:2px 2px 0 0;content:""}.credit-chart-day i{left:3%;background:var(--success);opacity:.84}.credit-chart-day b{left:36%;background:var(--danger);opacity:.86}.credit-chart-day em{left:69%;background:var(--accent);opacity:.82}.credit-chart-axis{display:flex;justify-content:space-between;margin:6px 0 0 36px;color:var(--soft);font-size:8px}.credit-chart-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:13px;color:var(--soft);font-size:8px}.credit-chart-legend span{display:inline-flex;align-items:center;gap:5px}.credit-chart-legend i{width:7px;height:7px;display:inline-block;border-radius:2px}.credit-chart-legend i.income{background:var(--success)}.credit-chart-legend i.spend{background:var(--danger)}.credit-chart-legend i.reserve{background:var(--accent)}.credit-distribution-card{padding:21px 20px 18px}.credit-distribution-card>header>svg{color:var(--soft)}.credit-donut-layout{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:15px;margin-top:22px}.credit-donut{width:126px;height:126px;display:grid;place-items:center;border-radius:50%}.credit-donut:before{position:absolute;width:90px;height:90px;border-radius:50%;background:var(--surface);content:""}.credit-donut{position:relative}.credit-donut>div{position:relative;z-index:1;display:grid;justify-items:center}.credit-donut small{color:var(--soft);font-size:8px}.credit-donut strong{margin-top:5px;color:var(--ink);font-size:23px;line-height:1;font-variant-numeric:tabular-nums}.credit-donut span{margin-top:4px;color:var(--soft);font-size:8px}.credit-donut-legend{display:grid;gap:10px;min-width:0}.credit-donut-legend>div{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0}.credit-donut-legend i{width:7px;height:7px;border-radius:2px}.credit-donut-legend span{overflow:hidden;color:var(--soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.credit-donut-legend strong{color:var(--ink);font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.credit-donut-legend strong small{margin-left:3px;color:var(--soft);font-size:8px;font-weight:600}.credit-distribution-card>a{display:inline-flex;align-items:center;gap:5px;margin-top:19px;color:var(--accent);font-size:9px;font-weight:800;text-decoration:none}.credit-lower-layout{display:grid;grid-template-columns:minmax(0,1fr) 268px;align-items:start;gap:14px;margin-top:14px}.credit-details-panel{overflow:hidden}.credit-details-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:21px 22px 16px}.credit-details-heading p{margin:6px 0 0;color:var(--soft);font-size:9px}.credit-details-heading>span{color:var(--soft);font-size:9px;white-space:nowrap}.credit-details-toolbar{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:0 22px 16px;border-bottom:1px solid var(--line)}.credit-filter-tabs{display:flex;min-width:0;gap:3px;overflow-x:auto;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--surface-muted)}.credit-filter-tabs button{min-height:30px;display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:0 9px;border:0;border-radius:4px;background:transparent;color:var(--soft);font-size:9px;font-weight:750;white-space:nowrap}.credit-filter-tabs button:hover{color:var(--ink)}.credit-filter-tabs button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #29343d17}.credit-filter-tabs button small{color:color-mix(in srgb,currentColor 62%,transparent);font-size:8px;font-weight:700}.credit-details-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}.credit-details-actions>label{width:min(245px,22vw);min-height:32px;display:flex;align-items:center;gap:7px;padding:0 8px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--soft)}.credit-details-actions>label:focus-within{border-color:color-mix(in srgb,var(--accent) 55%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent)}.credit-details-actions input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:9px}.credit-details-actions input::placeholder{color:color-mix(in srgb,var(--soft) 80%,transparent)}.credit-details-actions label button{width:20px;height:20px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:4px;background:var(--surface-muted);color:var(--soft)}.credit-export-button{min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--soft);font-size:9px;font-weight:750;white-space:nowrap}.credit-export-button{padding:0 9px;color:var(--accent)}.credit-export-button:hover{border-color:color-mix(in srgb,var(--accent) 42%,var(--line));background:var(--accent-soft)}.credit-table-wrap{min-width:0}.credit-table-head,.credit-table-row{display:grid;grid-template-columns:minmax(92px,1.02fr) minmax(145px,1.48fr) minmax(118px,1.2fr) minmax(80px,.75fr) minmax(88px,.8fr) minmax(115px,1.08fr);align-items:center;gap:11px}.credit-table-head{min-height:38px;padding:0 22px;border-bottom:1px solid var(--line);background:var(--surface-muted);color:var(--soft);font-size:8px;font-weight:800}.credit-table-entry{border-bottom:1px solid var(--line)}.credit-table-entry:last-child{border-bottom:0}.credit-table-row{width:100%;min-height:70px;padding:10px 22px;border:0;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;transition:background-color .16s ease}.credit-table-row:hover,.credit-table-entry.expanded .credit-table-row{background:color-mix(in srgb,var(--accent-soft) 36%,var(--surface))}.credit-type{min-width:0;display:inline-flex;align-items:center;gap:7px;color:var(--ink);font-size:9px;font-weight:800;white-space:nowrap}.credit-type i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--soft)}.credit-type.income i{background:var(--success)}.credit-type.spend i{background:var(--danger)}.credit-type.reserve i{background:var(--accent)}.credit-type.refund i{background:#7186dc}.credit-type.neutral i{background:var(--soft)}.credit-description,.credit-delta,.credit-after{min-width:0}.credit-description strong,.credit-description small,.credit-delta strong,.credit-delta small,.credit-after small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credit-description strong{color:var(--ink);font-size:9px}.credit-description small{margin-top:4px;color:var(--soft);font-size:8px}.credit-table-row time{color:var(--soft);font-size:8px;line-height:1.4}.credit-delta strong{color:var(--ink);font-size:11px;font-variant-numeric:tabular-nums}.credit-delta strong.income{color:var(--success)}.credit-delta strong.spend{color:var(--danger)}.credit-delta small{margin-top:4px;color:var(--soft);font-size:8px}.credit-after small{color:var(--soft);font-size:8px;line-height:1.65}.credit-related{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:5px;overflow:hidden;color:var(--soft);font-size:8px;white-space:nowrap}.credit-related svg{flex:0 0 auto;color:color-mix(in srgb,var(--soft) 72%,transparent)}.credit-row-detail{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:10px;padding:13px 22px 15px 32px;border-top:1px dashed var(--line);background:var(--surface-muted)}.credit-row-detail>div{min-width:0}.credit-row-detail small,.credit-row-detail strong,.credit-row-detail span,.credit-row-detail code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credit-row-detail small{color:var(--soft);font-size:8px}.credit-row-detail strong,.credit-row-detail span,.credit-row-detail code{margin-top:6px;color:var(--ink);font-size:9px}.credit-row-detail strong.income{color:var(--success)}.credit-row-detail strong.spend{color:var(--danger)}.credit-row-detail strong.reserve{color:var(--accent)}.credit-row-detail code{color:var(--soft);font:8px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}.credit-details-state,.credit-details-empty{min-height:250px;display:grid;place-items:center;align-content:center;gap:9px;color:var(--soft);font-size:10px;text-align:center}.credit-details-state{display:flex;flex-direction:column}.credit-details-state button,.credit-details-empty button{border:0;background:transparent;color:var(--accent);font-size:10px;font-weight:800}.credit-details-empty svg{color:color-mix(in srgb,var(--soft) 70%,transparent)}.credit-details-empty strong{color:var(--ink);font-size:12px}.credit-details-empty span{font-size:9px}.credit-pagination{min-height:59px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 22px;border-top:1px solid var(--line);color:var(--soft);font-size:9px}.credit-pagination>div{display:flex;align-items:center;gap:4px}.credit-pagination button{width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--soft);font-size:9px}.credit-pagination button:hover:not(:disabled),.credit-pagination button.active{border-color:color-mix(in srgb,var(--accent) 42%,var(--line));background:var(--accent-soft);color:var(--accent)}.credit-pagination button:disabled{cursor:not-allowed;opacity:.42}.credit-pagination>div>span{padding:0 3px;color:var(--soft)}.credit-pagination label{margin-left:7px}.credit-pagination select{height:27px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--soft);font:inherit;font-size:8px}.credit-help-column{display:grid;gap:14px;min-width:0}.credit-help-panel{padding:20px 18px}.credit-help-panel>header{display:flex;align-items:center;justify-content:space-between;gap:9px;padding-bottom:14px;border-bottom:1px solid var(--line)}.credit-help-panel>header svg{color:var(--soft)}.credit-help-panel>div{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:9px;padding:15px 0;border-bottom:1px solid var(--line)}.credit-help-panel>div:last-of-type{border-bottom:0}.credit-help-panel>div>span{width:30px;height:30px;display:grid;place-items:center;border-radius:6px;background:var(--accent-soft);color:var(--accent)}.credit-help-panel p{min-width:0;margin:0}.credit-help-panel p strong,.credit-help-panel p small{display:block}.credit-help-panel p strong{color:var(--ink);font-size:10px}.credit-help-panel p small{margin-top:5px;color:var(--soft);font-size:8px;line-height:1.65}.credit-help-panel>a{display:inline-flex;align-items:center;gap:5px;margin-top:15px;color:var(--accent);font-size:9px;font-weight:800;text-decoration:none}.credit-validity-panel>header{padding-bottom:13px}.credit-validity-state{display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:9px!important;padding:16px 0!important;border-bottom:0!important}.credit-validity-state>svg{width:30px;height:30px;padding:6px;box-sizing:border-box;border-radius:50%;background:color-mix(in srgb,var(--success) 14%,transparent);color:var(--success)}.credit-validity-state strong,.credit-validity-state span{display:block}.credit-validity-state strong{color:var(--ink);font-size:10px}.credit-validity-state span{margin-top:5px;color:var(--soft);font-size:8px;line-height:1.5}@media(max-width:1260px){.credit-management-page{grid-template-columns:206px minmax(0,1fr)}.credit-management-main{padding:24px 20px 38px}.credit-overview-grid{grid-template-columns:minmax(230px,.8fr) minmax(0,1.25fr)}.credit-distribution-card{grid-column:1 / -1}.credit-distribution-card .credit-donut-layout{grid-template-columns:126px minmax(0,1fr)}.credit-distribution-card>a{margin-top:0}}@media(max-width:980px){body:has(.credit-management-page){--topbar: 60px}.studio-app:has(.credit-management-page) .studio-topbar{padding-inline:16px}.credit-management-page{display:block}.credit-management-main{padding:18px 16px 78px}.credit-lower-layout{grid-template-columns:minmax(0,1fr) 230px}.credit-details-toolbar{align-items:stretch;flex-direction:column}.credit-details-actions{justify-content:flex-end}.credit-details-actions>label{width:min(320px,100%)}}@media(max-width:760px){.credit-management-header{align-items:flex-start;flex-direction:column;gap:14px;padding-bottom:18px}.credit-header-status{justify-items:start;padding-bottom:0}.credit-overview-grid{grid-template-columns:1fr}.credit-distribution-card{grid-column:auto}.credit-distribution-card .credit-donut-layout{grid-template-columns:126px minmax(0,1fr)}.credit-lower-layout{grid-template-columns:1fr}.credit-help-column{grid-template-columns:1fr 1fr}.credit-details-heading,.credit-details-toolbar{padding-inline:16px}.credit-table-head{display:none}.credit-table-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;min-height:88px;padding:13px 16px}.credit-table-row .credit-type{grid-column:1;grid-row:1}.credit-table-row .credit-description{grid-column:1;grid-row:2}.credit-table-row time,.credit-table-row .credit-after,.credit-table-row .credit-related{display:none}.credit-table-row .credit-delta{grid-column:2;grid-row:1 / 3;align-self:center;text-align:right}.credit-row-detail{grid-template-columns:1fr 1fr;padding:13px 16px 15px}.credit-pagination{padding-inline:16px}.credit-pagination>span{display:none}}@media(max-width:520px){.studio-app:has(.credit-management-page) .notification-center-wrap{display:none}.studio-app:has(.credit-management-page) .account-tools .theme-button{display:inline-grid}.credit-management-main{padding:13px 10px 70px}.credit-management-header h1{font-size:28px}.credit-management-header p{font-size:11px}.credit-balance-card,.credit-usage-card,.credit-distribution-card{padding:17px}.credit-balance-breakdown{margin-inline:-17px;margin-bottom:-17px}.credit-balance-card>strong{font-size:38px}.credit-usage-stats strong{font-size:17px}.credit-donut-layout{gap:9px}.credit-distribution-card .credit-donut-layout{grid-template-columns:112px minmax(0,1fr)}.credit-donut{width:110px;height:110px}.credit-donut:before{width:78px;height:78px}.credit-donut strong{font-size:20px}.credit-help-column{grid-template-columns:1fr}.credit-details-heading{padding-top:17px;padding-bottom:13px}.credit-details-actions{flex-wrap:wrap}.credit-details-actions>label{flex:1 1 100%;width:auto}.credit-export-button{flex:1}.credit-pagination{align-items:flex-start;flex-direction:column;padding-top:12px;padding-bottom:12px}.credit-pagination>div{width:100%}.credit-pagination label{margin-left:auto}}body:has(.referral-focus-dashboard){--canvas: #f7f9fc;--surface: #ffffff;--surface-2: #fff8ed;--ink: #1d2a34;--soft: #7c8992;--line: #e7ecef;--accent: #ff9517;--accent-soft: #fff1df}.referral-focus-dashboard{grid-template-columns:276px minmax(0,1fr)}.referral-focus-dashboard .profile-sidebar{padding:38px 20px 24px}.referral-focus-dashboard .profile-sidebar-title{padding-inline:5px}.referral-focus-main{padding:16px 28px 44px}.referral-focus-main>*{width:min(1560px,100%)}.referral-focus-hero{position:relative;min-height:254px;display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.82fr);align-items:center;gap:20px;overflow:hidden;padding:32px 70px;border:1px solid #f6e1c5;border-radius:9px;background:#fff7eb;box-shadow:0 11px 30px #5d45260e}.referral-focus-hero-copy{position:relative;z-index:1;min-width:0}.referral-focus-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#e9820b;font-size:12px;font-weight:800;letter-spacing:.02em}.referral-focus-hero h1{margin:13px 0 11px;color:#172631;font-size:clamp(28px,2.3vw,38px);line-height:1.15;letter-spacing:0}.referral-focus-hero p{margin:0;color:#6d7981;font-size:14px}.referral-focus-hero p strong{color:#ef8b17;font-weight:850}.referral-focus-actions{display:flex;align-items:center;gap:18px;margin-top:26px}.referral-focus-actions .primary{min-height:43px;padding-inline:18px;border-radius:6px;background:#ff9517;box-shadow:0 8px 18px #ff951733}.referral-focus-actions .primary:disabled{opacity:.5;box-shadow:none}.referral-focus-actions>a{display:inline-flex;align-items:center;gap:5px;color:#7a858d;font-size:12px;font-weight:700;text-decoration:none}.referral-focus-actions>a:hover{color:#e9820b}.referral-gift-art{position:relative;z-index:1;width:min(100%,430px);height:204px;justify-self:end}.referral-art-gift{position:absolute;right:35%;bottom:19px;width:158px;height:101px;border-radius:5px 5px 15px 15px;background:#ffc77b;box-shadow:0 18px 20px #ea8e172e;transform:perspective(180px) rotateX(-4deg)}.referral-art-gift:before{position:absolute;right:-9px;bottom:-6px;width:18px;height:98px;border-radius:0 0 9px;background:#f4ae43;content:"";transform:skewY(-14deg)}.referral-art-gift span{position:absolute;top:-38px;left:-8px;width:173px;height:43px;border-radius:8px 8px 4px 4px;background:#ffd48c;box-shadow:0 6px #df89192e}.referral-art-gift i{position:absolute;z-index:2;top:-38px;left:71px;width:18px;height:139px;background:#f79415;content:""}.referral-art-gift b{position:absolute;z-index:3;top:-51px;left:68px;width:24px;height:28px;border:8px solid #ef8b11;border-radius:18px 18px 4px;background:transparent;box-shadow:-15px -5px 0 -2px #ffa51f;transform:rotate(22deg)}.referral-art-person{position:absolute;z-index:4;bottom:4px;width:84px;height:85px}.referral-art-person span{position:absolute;top:0;left:22px;width:42px;height:42px;border-radius:50%;box-shadow:inset -7px -8px #00000014}.referral-art-person i{position:absolute;bottom:0;left:6px;width:76px;height:50px;border-radius:45px 45px 25px 25px;box-shadow:inset -9px -5px #00000014}.person-orange{right:48%}.person-orange span,.person-orange i{background:#ff7d1b}.person-blue{right:10%;bottom:6px}.person-blue span,.person-blue i{background:#4b83f3}.referral-art-spark{position:absolute;color:#ffb23d;font-size:27px;line-height:1}.spark-one{top:2px;right:20%}.spark-two{top:25px;right:1%;font-size:20px}.referral-focus-columns{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(330px,.88fr);gap:16px;margin-top:16px}.referral-focus-primary,.referral-focus-aside{min-width:0;display:grid;align-content:start;gap:16px}.referral-focus-card{min-width:0;padding:20px 24px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 7px 23px #2d394109}.referral-focus-card-heading{min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:14px}.referral-focus-card-heading h2{margin:0;color:var(--ink);font-size:16px;line-height:1.2}.referral-focus-card-heading>span:last-child{color:var(--soft);font-size:11px}.referral-focus-card-heading>a{display:inline-flex;align-items:center;gap:5px;color:#e9820b;font-size:11px;font-weight:800;text-decoration:none}.referral-focus-card-heading .profile-live-state{font-size:11px}.referral-stats-card{padding-bottom:24px}.referral-focus-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;overflow:hidden;border:1px solid var(--line);border-radius:7px}.referral-focus-stats>div{min-width:0;min-height:106px;display:grid;align-content:center;gap:7px;padding:15px 16px;border-right:1px solid var(--line)}.referral-focus-stats>div:last-child{border-right:0}.referral-focus-stats span{display:inline-flex;align-items:center;gap:7px;color:var(--soft);font-size:11px;font-weight:750}.referral-focus-stats strong{color:var(--ink);font-size:26px;line-height:1;font-variant-numeric:tabular-nums}.referral-focus-stats small{color:var(--soft);font-size:9px}.referral-focus-stats svg{flex:0 0 auto}.stat-orange{background:#fffaf2}.stat-orange svg{color:#f28b17}.stat-blue{background:#f5f8ff}.stat-blue svg{color:#4a83f1}.stat-green{background:#f2fbf6}.stat-green svg{color:#20a66b}.stat-yellow{background:#fffaf0}.stat-yellow svg{color:#e8a324}.referral-process-card{padding-bottom:23px}.referral-process-steps{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:start;gap:10px;margin-top:22px}.referral-process-steps>div{min-width:0;display:grid;justify-items:center;gap:8px;text-align:center}.referral-process-steps>div>span{width:56px;height:56px;display:grid;place-items:center;border-radius:50%}.step-orange{color:#f18a17;background:#fff1df}.step-blue{color:#4b83f3;background:#edf3ff}.step-green{color:#20a66b;background:#e8f8ef}.step-gold{color:#ee9d19;background:#fff4df}.referral-process-steps strong{color:var(--ink);font-size:11px}.referral-process-steps small{color:var(--soft);font-size:9px}.referral-process-arrow{align-self:center;margin-top:15px;color:#c8d0d4}.referral-record-card{padding-bottom:0}.referral-record-table{margin-top:17px}.referral-record-table-head,.referral-record-row{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(90px,1fr) 80px 62px;align-items:center;gap:12px}.referral-record-table-head{min-height:37px;border-bottom:1px solid var(--line);color:#9aa5aa;font-size:10px}.referral-record-row{min-height:56px;border-bottom:1px solid var(--line)}.referral-record-row:last-child{border-bottom:0}.referral-record-row>strong{min-width:0;display:flex;align-items:center;gap:7px;overflow:hidden;color:var(--ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.referral-record-row>strong svg{flex:0 0 auto;color:#80919c}.referral-record-row time{color:var(--soft);font-size:10px}.referral-record-row em{font-size:10px;font-style:normal;font-weight:750}.referral-record-row em[data-status=rewarded]{color:var(--success)}.referral-record-row em[data-status=pending]{color:#d68b16}.referral-record-row em[data-status=capped]{color:var(--soft)}.referral-record-row b{font-size:11px;font-weight:800;text-align:right}.referral-record-row b.credit{color:var(--success)}.referral-record-row b.muted{color:#a5afb4}.referral-record-empty{min-height:150px;display:grid;place-items:center;align-content:center;gap:6px;color:var(--soft);text-align:center}.referral-record-empty svg{color:#aab5bb}.referral-record-empty span{color:var(--ink);font-size:11px}.referral-record-empty small{font-size:10px}.referral-code-card>p{margin:12px 0 17px;color:var(--soft);font-size:11px}.referral-code-display{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 13px 0 20px;border:1px solid #f8e9d6;border-radius:7px;background:#fffaf4}.referral-code-display strong{color:#ed8b16;font:800 27px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em}.referral-code-display button,.referral-url-field button{width:35px;height:35px;display:grid;place-items:center;border:1px solid #f4ddbf;border-radius:6px;background:#fff;color:#ef8f19;cursor:pointer}.referral-code-display button:disabled,.referral-url-field button:disabled{opacity:.45;cursor:not-allowed}.referral-url-field{display:grid;gap:8px;margin-top:20px}.referral-url-field>span{color:var(--soft);font-size:10px}.referral-url-field>div{min-width:0;min-height:42px;display:flex;align-items:center;gap:8px;padding:0 7px 0 12px;border:1px solid var(--line);border-radius:6px}.referral-url-field code{min-width:0;flex:1;overflow:hidden;color:var(--soft);font:10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;text-overflow:ellipsis;white-space:nowrap}.referral-url-field button{width:29px;height:29px;border:0;background:var(--accent-soft)}.referral-share-label{display:flex;align-items:center;gap:9px;margin-top:22px;color:var(--soft);font-size:10px}.referral-share-label i{height:1px;flex:1;background:var(--line)}.referral-share-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px}.referral-share-buttons button{min-width:0;display:grid;justify-items:center;gap:6px;padding:8px 3px 6px;border:0;border-radius:6px;background:transparent;color:var(--soft);cursor:pointer}.referral-share-buttons button:hover{background:var(--accent-soft);color:var(--accent)}.referral-share-buttons button:nth-child(1) svg{color:#16b875}.referral-share-buttons button:nth-child(2) svg{color:#27b978}.referral-share-buttons button:nth-child(3) svg{color:#4384ef}.referral-share-buttons button:nth-child(4) svg{color:#ec961f}.referral-share-buttons small{font-size:9px}.referral-rules-card{padding-bottom:22px}.referral-rules-card ol{display:grid;gap:12px;margin:18px 0 19px;padding-left:18px;color:var(--soft);font-size:10px;line-height:1.6}.referral-rules-card li::marker{color:#ed941b;font-weight:800}.referral-rules-card strong{color:#eb8b15}.referral-rules-card>a{display:inline-flex;align-items:center;gap:5px;color:#e9820b;font-size:10px;font-weight:800;text-decoration:none}.referral-focus-state{min-height:260px;display:grid;place-items:center;align-content:center;gap:9px;color:var(--soft);font-size:12px;text-align:center}.referral-focus-state button{border:0;background:transparent;color:var(--accent);font-size:11px;font-weight:800;cursor:pointer}body[data-theme=dark]:has(.referral-focus-dashboard){--canvas: #0d1327;--surface: #151d34;--surface-2: #202941;--ink: #f4f5ff;--soft: #9ca7c0;--line: #2c3755;--accent: #a17eff;--accent-soft: #2b2452}body[data-theme=dark] .referral-focus-hero{border-color:#3b3150;background:#1a1c3a}body[data-theme=dark] .referral-focus-hero h1{color:var(--ink)}body[data-theme=dark] .referral-focus-hero p{color:var(--soft)}body[data-theme=dark] .referral-focus-eyebrow{color:#e59af2}body[data-theme=dark] .referral-focus-actions .primary{background:linear-gradient(110deg,#ed69b2,#8d6aff)}body[data-theme=dark] .referral-focus-actions>a,body[data-theme=dark] .referral-focus-card-heading>a,body[data-theme=dark] .referral-rules-card>a{color:#d8a0f4}body[data-theme=dark] .referral-art-gift{opacity:.72}body[data-theme=dark] .referral-focus-card,body[data-theme=dark] .referral-focus-stats>div,body[data-theme=dark] .referral-code-display{background:var(--surface)}body[data-theme=dark] .referral-code-display{border-color:var(--line)}body[data-theme=dark] .referral-code-display strong{color:#e5a7ff}body[data-theme=dark] .referral-code-display button,body[data-theme=dark] .referral-url-field button{border-color:var(--line);background:var(--surface-2);color:#d6a0f7}body[data-theme=dark] .referral-url-field>div{border-color:var(--line)}body[data-theme=dark] .referral-share-buttons button:hover{background:var(--accent-soft)}body[data-theme=dark] .stat-orange,body[data-theme=dark] .stat-blue,body[data-theme=dark] .stat-green,body[data-theme=dark] .stat-yellow{background:var(--surface-2)}@media(max-width:1260px){.referral-focus-dashboard{grid-template-columns:220px minmax(0,1fr)}.referral-focus-main{padding-inline:20px}.referral-focus-hero{padding-inline:42px}}@media(max-width:980px){.referral-focus-dashboard{display:block}.referral-focus-dashboard .profile-sidebar{padding:0 16px}.referral-focus-main{padding:16px}.referral-focus-hero{min-height:270px;grid-template-columns:minmax(0,1fr) 280px;padding-inline:28px}.referral-focus-columns{grid-template-columns:1fr}.referral-focus-aside{grid-template-columns:minmax(0,1fr) minmax(280px,.78fr);align-items:start}}@media(max-width:700px){.referral-focus-main{padding:10px}.referral-focus-hero{min-height:360px;display:block;padding:28px 22px 0}.referral-focus-hero h1{font-size:30px}.referral-focus-actions{align-items:stretch;flex-direction:column;gap:11px;margin-top:21px}.referral-focus-actions .primary{justify-content:center}.referral-focus-actions>a{justify-content:center;min-height:30px}.referral-gift-art{width:100%;height:175px;margin-top:8px;transform:scale(.86);transform-origin:center bottom}.referral-art-gift{right:34%}.person-orange{right:47%}.person-blue{right:7%}.referral-focus-card{padding:17px 15px}.referral-focus-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.referral-focus-stats>div:nth-child(2){border-right:0}.referral-focus-stats>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.referral-process-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 8px}.referral-process-arrow{display:none}.referral-process-steps>div>span{width:50px;height:50px}.referral-record-table{overflow-x:auto}.referral-record-table-head,.referral-record-row{min-width:480px}.referral-focus-aside{grid-template-columns:1fr}.referral-code-display strong{font-size:23px}}@media(max-width:440px){.referral-focus-dashboard .profile-sidebar{padding-inline:10px}.referral-focus-dashboard .profile-sidebar nav a{padding-inline:10px}.referral-focus-hero{min-height:345px}.referral-focus-hero h1{font-size:28px}.referral-gift-art{transform:scale(.72);margin-top:-4px}.referral-focus-card-heading h2{font-size:15px}.referral-record-table-head,.referral-record-row{min-width:450px}}body:has(.profile-dashboard){--topbar: 72px;--canvas: #f8fafc;--surface: #ffffff;--surface-2: #fff8ed;--ink: #1e2b34;--soft: #7b8790;--line: #e8ecef;--accent: #ff9817;--accent-soft: #fff2df;background:var(--canvas)}body[data-theme=dark]:has(.profile-dashboard){--canvas: #080d20;--surface: #10172b;--surface-2: #171e38;--ink: #f5f6ff;--soft: #98a1ba;--line: #27314d;--accent: #9c7cff;--accent-soft: #27224e}.studio-app:has(.profile-dashboard) .studio-topbar{height:var(--topbar);padding-inline:28px;border-bottom-color:#7d858e2b;background:#fffffff2;box-shadow:0 1px 14px #3a31240a}.studio-app:has(.profile-dashboard) .brand-mark{width:32px;height:32px;border-radius:7px;background:#202b33}.studio-app:has(.profile-dashboard) .brand-mark:before{background:#ff9b1b;box-shadow:10px 0 #f7f9fa,0 10px #f7f9fa}.studio-app:has(.profile-dashboard) .desktop-navigation a.active{border-color:transparent;background:var(--accent-soft);color:var(--accent)}.studio-app:has(.profile-dashboard) .account-tools>.primary{border-radius:7px;background:#ff9817;box-shadow:0 7px 18px #ff981733}body[data-theme=dark] .studio-app:has(.profile-dashboard) .studio-topbar{border-bottom-color:#202944;background:#060a1af2;box-shadow:none}body[data-theme=dark] .studio-app:has(.profile-dashboard) .brand-mark{background:#121a32;box-shadow:0 0 18px #6658ff2e}body[data-theme=dark] .studio-app:has(.profile-dashboard) .brand-mark:before{background:#f06bb8;box-shadow:10px 0 #e5e9ff,0 10px #8a73ff}body[data-theme=dark] .studio-app:has(.profile-dashboard) .account-tools>.primary{background:linear-gradient(110deg,#ef3b9b,#8b61ff 58%,#347fff);box-shadow:0 8px 22px #5b4bf340}.profile-dashboard{display:grid;grid-template-columns:224px minmax(0,1fr);background:var(--canvas)}.profile-sidebar{position:sticky;z-index:12;top:var(--topbar);height:calc(100vh - var(--topbar));min-height:590px;display:flex;flex-direction:column;overflow-y:auto;padding:34px 18px 24px;border-right:1px solid var(--line);background:var(--surface)}.profile-sidebar-title{min-height:58px;display:flex;align-items:center;gap:12px;padding:0 5px 17px}.profile-sidebar-title>span{width:38px;height:38px;display:grid;place-items:center;border-radius:7px;background:var(--accent-soft);color:var(--accent)}.profile-sidebar-title strong{color:var(--ink);font-size:19px}.profile-sidebar nav{display:grid;gap:7px;margin-top:8px}.profile-sidebar nav a{min-height:50px;display:flex;align-items:center;gap:12px;padding:0 12px;border-radius:7px;color:var(--soft);font-size:12px;font-weight:700;text-decoration:none;transition:background-color .18s ease,color .18s ease,transform .18s ease}.profile-sidebar nav a:hover{background:color-mix(in srgb,var(--accent-soft) 64%,var(--surface));color:var(--ink)}.profile-sidebar nav a.active{background:var(--accent-soft);color:var(--accent)}.profile-sidebar nav a:active{transform:scale(.985)}.profile-invite-promo{margin-top:auto;padding:18px 15px 16px;border:1px solid color-mix(in srgb,var(--accent) 18%,var(--line));border-radius:8px;background:color-mix(in srgb,var(--accent-soft) 76%,var(--surface))}.profile-invite-promo>svg{color:var(--accent)}.profile-invite-promo strong{display:block;margin-top:10px;color:var(--ink);font-size:12px;line-height:1.45}.profile-invite-promo p{margin:7px 0 13px;color:var(--soft);font-size:10px;line-height:1.65}.profile-invite-promo a{min-height:34px;display:inline-flex;align-items:center;gap:5px;padding:0 11px;border:1px solid color-mix(in srgb,var(--accent) 32%,var(--line));border-radius:5px;background:var(--surface);color:var(--accent);font-size:10px;font-weight:800;text-decoration:none}.profile-dashboard-main{min-width:0;padding:26px}.profile-dashboard-main>*{width:min(1480px,100%);margin-inline:auto}.profile-hero{position:relative;isolation:isolate;min-height:236px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px;overflow:hidden;padding:30px 34px;border:1px solid #f0e4d3;border-radius:8px;background-image:linear-gradient(90deg,#fff8ecfa,#fff8ece8 42%,#fff8ec73 73%,#fff8ec21),url(/interior.jpg);background-position:center,center 56%;background-size:cover,cover;box-shadow:0 13px 34px #5d45260f;scroll-margin-top:calc(var(--topbar) + 18px)}body[data-theme=dark] .profile-hero{border-color:#26304b;background-image:linear-gradient(118deg,rgba(235,48,165,.08),transparent 45%,rgba(68,96,255,.14)),linear-gradient(90deg,#060a1cfc,#080d23f0 44%,#080d23ab 73%,#080d2361),url(/interior.jpg);background-position:center,center,center 56%;background-size:cover,cover,cover;box-shadow:0 16px 42px #00000038}.profile-hero-copy{position:relative;z-index:1;min-width:0}.profile-hero-identity{display:flex;align-items:center;gap:18px}.profile-avatar{width:72px;height:72px;flex:0 0 72px;display:grid;place-items:center;border:2px solid rgba(255,255,255,.75);border-radius:50%;background:#172833;color:#fff;font-size:23px;font-weight:850;box-shadow:0 9px 22px #1c222526}body[data-theme=dark] .profile-avatar{border-color:#a18bff57;background:linear-gradient(145deg,#1c2542,#0b1229);box-shadow:0 0 0 5px #7e64ff14,0 12px 28px #00000047}.profile-hero-identity>div{min-width:0}.profile-name-row{display:flex;align-items:center;gap:10px;min-width:0}.profile-name-row h1{max-width:min(520px,46vw);margin:0;overflow:hidden;color:var(--ink);font-size:23px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.profile-name-row>span{flex:0 0 auto;min-height:24px;display:inline-flex;align-items:center;gap:4px;padding:0 7px;border:1px solid color-mix(in srgb,var(--success) 18%,transparent);border-radius:5px;background:color-mix(in srgb,var(--success) 9%,transparent);color:var(--success);font-size:9px;font-weight:800}.profile-hero-identity p{margin:7px 0 0;overflow:hidden;color:var(--soft);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.profile-welcome{display:flex;align-items:center;gap:12px;margin:30px 0 0 20px;color:var(--accent)}.profile-welcome>div{display:grid;gap:4px}.profile-welcome strong{color:var(--ink);font-size:12px}.profile-welcome span{color:var(--soft);font-size:10px}.profile-hero-facts{position:relative;z-index:1;width:340px;display:grid;grid-template-columns:1fr 1fr;gap:10px;align-self:end}.profile-hero-facts>div{min-width:0;min-height:74px;display:flex;align-items:center;gap:11px;padding:12px;border:1px solid rgba(255,255,255,.78);border-radius:7px;background:#ffffffd9;box-shadow:0 9px 24px #41342312;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.profile-hero-facts>div>span{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:6px;background:var(--accent-soft);color:var(--accent)}.profile-hero-facts small,.profile-hero-facts strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-hero-facts small{color:var(--soft);font-size:9px}.profile-hero-facts strong{margin-top:5px;color:var(--ink);font-size:11px}body[data-theme=dark] .profile-hero-facts>div{border-color:#7c89bf38;background:#101732d1;box-shadow:0 12px 28px #0000002e}.profile-dashboard-content{display:grid;gap:14px;margin-top:18px;padding-bottom:36px}.profile-overview-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:14px}.profile-detail-grid{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(330px,.92fr);gap:14px}.profile-record-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-panel{min-width:0;padding:20px 22px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 7px 26px #2d394109;scroll-margin-top:calc(var(--topbar) + 18px)}body[data-theme=dark] .profile-panel{box-shadow:0 10px 28px #00000024}.profile-panel-heading{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:13px;border-bottom:1px solid var(--line)}.profile-panel-heading>div{min-width:0;display:flex;align-items:center;gap:9px}.profile-heading-icon{width:29px;height:29px;flex:0 0 29px;display:grid;place-items:center;border-radius:6px;background:var(--accent-soft);color:var(--accent)}.profile-panel-heading h2{margin:0;color:var(--ink);font-size:14px;line-height:1.2}.profile-panel-heading>a{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}.profile-panel-heading>span{color:var(--soft);font-size:9px;white-space:nowrap}.profile-panel-state{min-height:150px;display:grid;place-items:center;align-content:center;gap:9px;color:var(--soft);font-size:10px;text-align:center}.profile-panel-state.compact{min-height:112px}.profile-panel-state button{border:0;background:transparent;color:var(--accent);font-size:10px;font-weight:800}.profile-metric-strip{display:grid;margin-top:16px;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.credit-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-metric-strip>div{position:relative;min-width:0;min-height:106px;display:grid;grid-template-columns:auto minmax(0,1fr);align-content:center;gap:0 7px;padding:14px;border-right:1px solid var(--line)}.profile-metric-strip>div:last-child{border-right:0}.profile-metric-strip svg{color:var(--accent)}.profile-metric-strip span{color:var(--soft);font-size:9px;font-weight:750}.profile-metric-strip strong{grid-column:1 / -1;margin-top:10px;color:var(--ink);font-size:24px;line-height:1;font-variant-numeric:tabular-nums}.profile-metric-strip small{grid-column:1 / -1;margin-top:6px;overflow:hidden;color:var(--soft);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.profile-metric-strip>div.primary{background:linear-gradient(155deg,var(--surface) 50%,color-mix(in srgb,var(--accent-soft) 78%,var(--surface)))}body[data-theme=dark] .profile-metric-strip>div.primary{background:linear-gradient(155deg,var(--surface) 42%,rgba(117,76,218,.16))}.profile-ledger-list{max-height:182px;overflow-y:auto}.profile-ledger-list>div{min-height:59px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.profile-ledger-list>div:last-child{border-bottom:0}.profile-record-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:5px;background:var(--accent-soft);color:var(--accent)}.profile-ledger-list>div>div{min-width:0}.profile-ledger-list strong,.profile-ledger-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-ledger-list strong{color:var(--ink);font-size:10px}.profile-ledger-list small{margin-top:4px;color:var(--soft);font-size:8px}.profile-ledger-list em{color:var(--soft);font-size:9px;font-style:normal;font-weight:800}.profile-ledger-list em.credit,.profile-ledger-list em[data-status=rewarded]{color:var(--success)}.profile-ledger-list em.debit{color:var(--danger)}.profile-empty-row{min-height:132px;display:flex;align-items:center;justify-content:center;gap:8px;margin:0;color:var(--soft);font-size:10px}.profile-empty-row svg{color:color-mix(in srgb,var(--soft) 60%,transparent)}.profile-live-state{display:inline-flex;align-items:center;gap:6px;color:var(--success)!important;font-weight:750}.profile-live-state i{width:6px;height:6px;border-radius:50%;background:var(--success)}.profile-live-state.disabled{color:var(--soft)!important}.profile-live-state.disabled i{background:var(--soft)}.referral-metrics-dashboard{grid-template-columns:repeat(4,minmax(0,1fr))}.referral-metrics-dashboard>div{min-height:95px}.referral-metrics-dashboard strong{font-size:20px}.profile-referral-share{min-height:66px;display:grid;grid-template-columns:132px minmax(0,1fr) 36px 36px;align-items:center;gap:7px;margin-top:12px;padding:9px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.profile-referral-share>div small,.profile-referral-share>div strong{display:block}.profile-referral-share>div small{color:var(--soft);font-size:8px}.profile-referral-share>div strong{margin-top:4px;color:var(--ink);font:800 14px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.profile-referral-share code{min-width:0;overflow:hidden;color:var(--soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.profile-referral-share button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink)}.profile-referral-share button:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.profile-referral-rule{margin:11px 0 0;color:var(--soft);font-size:9px;line-height:1.55}.profile-security-panel{outline:0}.profile-security-list>div{min-height:72px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:11px;border-bottom:1px solid var(--line)}.profile-security-list>div:last-child{border-bottom:0}.profile-security-list>div>svg{color:var(--soft)}.profile-security-list>div>div{min-width:0}.profile-security-list strong,.profile-security-list span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-security-list strong{color:var(--ink);font-size:10px}.profile-security-list span{margin-top:4px;color:var(--soft);font-size:8px}.profile-security-list em{color:var(--soft);font-size:8px;font-style:normal;font-weight:750;white-space:nowrap}@media(max-width:1260px){.profile-dashboard{grid-template-columns:206px minmax(0,1fr)}.profile-dashboard-main{padding:20px}.profile-hero{padding-inline:28px}.profile-hero-facts{width:314px}.profile-overview-grid,.profile-detail-grid{grid-template-columns:1fr}}@media(max-width:980px){body:has(.profile-dashboard){--topbar: 60px}.studio-app:has(.profile-dashboard) .studio-topbar{padding-inline:16px}.profile-dashboard{display:block}.profile-sidebar{top:var(--topbar);height:auto;min-height:0;overflow:visible;padding:0 16px;border-right:0;border-bottom:1px solid var(--line)}.profile-sidebar-title,.profile-invite-promo{display:none}.profile-sidebar nav{display:flex;gap:5px;margin:0;overflow-x:auto;padding:8px 0}.profile-sidebar nav a{min-height:40px;flex:0 0 auto;padding:0 12px}.profile-dashboard-main{padding:16px}.profile-hero{min-height:226px}.profile-dashboard-content{padding-bottom:78px}}@media(max-width:720px){.profile-hero{min-height:340px;grid-template-columns:1fr;align-content:space-between;gap:22px;padding:25px 22px 21px;background-position:center,64% center}body[data-theme=dark] .profile-hero{background-position:center,center,64% center}.profile-hero-facts{width:100%;align-self:auto}.profile-name-row h1{max-width:54vw;font-size:20px}.profile-welcome{margin:25px 0 0 4px}.profile-record-grid{grid-template-columns:1fr}.referral-metrics-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.referral-metrics-dashboard>div:nth-child(2){border-right:0}.referral-metrics-dashboard>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.profile-referral-share{grid-template-columns:minmax(0,1fr) 36px 36px}.profile-referral-share code{grid-column:1 / -1;grid-row:2}}@media(max-width:520px){.studio-app:has(.profile-dashboard) .referral-nav-button,.studio-app:has(.profile-dashboard) .notification-center-wrap,.studio-app:has(.profile-dashboard) .topbar-credit-balance{display:none}.studio-app:has(.profile-dashboard) .account-tools .theme-button{display:inline-grid}.profile-sidebar{padding-inline:10px}.profile-sidebar nav a{min-height:38px;gap:7px;padding-inline:10px;font-size:10px}.profile-dashboard-main{padding:10px}.profile-hero{min-height:355px;padding-inline:18px}.profile-avatar{width:60px;height:60px;flex-basis:60px;font-size:20px}.profile-name-row{align-items:flex-start;flex-direction:column;gap:6px}.profile-name-row h1{max-width:60vw}.profile-welcome{align-items:flex-start}.profile-welcome span{line-height:1.5}.profile-hero-facts{grid-template-columns:1fr;gap:7px}.profile-hero-facts>div{min-height:62px}.profile-dashboard-content{gap:10px;margin-top:10px}.profile-overview-grid,.profile-detail-grid,.profile-record-grid{gap:10px}.profile-panel{padding:17px 15px}.profile-panel-heading{align-items:flex-start}.profile-panel-heading>span{white-space:normal;text-align:right}.credit-metrics{grid-template-columns:1fr}.credit-metrics>div{min-height:91px;border-right:0;border-bottom:1px solid var(--line)}.credit-metrics>div:last-child{border-bottom:0}.profile-metric-strip small{white-space:normal}.profile-referral-share{grid-template-columns:minmax(0,1fr) 36px 36px}.profile-security-list>div{grid-template-columns:22px minmax(0,1fr);padding:10px 0}.profile-security-list em{grid-column:2}}.profile-credit-insight-panel{min-width:0}.credit-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px;overflow:hidden;border:1px solid var(--line);border-radius:7px}.credit-insight-grid>div{min-width:0;min-height:99px;display:grid;align-content:center;gap:5px;padding:14px 15px;border-right:1px solid var(--line)}.credit-insight-grid>div:last-child{border-right:0}.credit-insight-grid span{color:var(--soft);font-size:9px;font-weight:750}.credit-insight-grid strong{color:var(--ink);font-size:22px;line-height:1;font-variant-numeric:tabular-nums}.credit-insight-grid strong.credit{color:var(--success)}.credit-insight-grid strong.debit{color:var(--danger)}.credit-insight-grid small{min-height:22px;overflow:hidden;color:var(--soft);font-size:8px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.credit-insight-foot{min-height:40px;display:flex;align-items:center;gap:7px;margin-top:10px;color:var(--soft);font-size:9px}.credit-insight-foot>svg{flex:0 0 auto;color:var(--accent)}.credit-insight-foot span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credit-insight-foot a{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:var(--accent);font-size:10px;font-weight:800;text-decoration:none}.profile-ledger-workspace{grid-column:1 / -1}.profile-ledger-heading{min-height:47px}.profile-ledger-heading>div>div{min-width:0;display:grid;gap:4px}.profile-ledger-heading h2{font-size:16px}.profile-ledger-heading small{color:var(--soft);font-size:9px;line-height:1.4}.credit-ledger-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0 12px;border-bottom:1px solid var(--line)}.credit-ledger-search{min-width:230px;flex:1 1 310px;height:40px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface-2);color:var(--soft)}.credit-ledger-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 13%,transparent)}.credit-ledger-search input{min-width:0;flex:1;height:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:10px}.credit-ledger-search input::placeholder{color:color-mix(in srgb,var(--soft) 78%,transparent)}.credit-ledger-search button{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--soft)}.credit-ledger-search button:hover{background:var(--accent-soft);color:var(--accent)}.credit-ledger-filter{min-width:0;display:flex;align-items:center;gap:4px;overflow-x:auto;color:var(--soft)}.credit-ledger-filter>svg{flex:0 0 auto;margin-right:2px}.credit-ledger-filter button{min-height:32px;display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;padding:0 9px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--soft);font-size:9px;font-weight:750;white-space:nowrap}.credit-ledger-filter button:hover{background:var(--surface-2);color:var(--ink)}.credit-ledger-filter button.active{border-color:color-mix(in srgb,var(--accent) 30%,var(--line));background:var(--accent-soft);color:var(--accent)}.credit-ledger-filter button small{min-width:16px;padding:2px 4px;border-radius:3px;background:color-mix(in srgb,var(--soft) 14%,transparent);font-size:8px;font-variant-numeric:tabular-nums}.credit-ledger-filter button.active small{background:color-mix(in srgb,var(--accent) 16%,transparent)}.credit-ledger-summary-line{min-height:43px;display:flex;align-items:center;flex-wrap:wrap;gap:7px 20px;color:var(--soft);font-size:9px}.credit-ledger-summary-line span{display:inline-flex;align-items:center;gap:5px}.credit-ledger-summary-line span>svg{color:var(--accent)}.credit-ledger-summary-line strong{color:var(--ink);font-variant-numeric:tabular-nums}.credit-ledger-summary-line strong.credit{color:var(--success)}.credit-ledger-summary-line strong.debit{color:var(--danger)}.credit-ledger-table{overflow:hidden;border:1px solid var(--line);border-radius:7px}.credit-ledger-table-head,.credit-ledger-row{display:grid;grid-template-columns:134px minmax(200px,1.48fr) 164px 130px minmax(145px,.9fr) 22px;align-items:center;column-gap:12px}.credit-ledger-table-head{min-height:39px;padding:0 14px;background:var(--surface-2);color:var(--soft);font-size:8px;font-weight:800}.credit-ledger-entry{border-top:1px solid var(--line)}.credit-ledger-entry:first-of-type{border-top:0}.credit-ledger-row{position:relative;width:100%;min-height:74px;padding:11px 14px;border:0;background:var(--surface);color:var(--ink);text-align:left;transition:background-color .16s ease}.credit-ledger-row:hover,.credit-ledger-entry.expanded .credit-ledger-row{background:color-mix(in srgb,var(--accent-soft) 28%,var(--surface))}.credit-ledger-type{min-width:0;display:inline-flex;align-items:center;gap:7px;color:var(--ink);font-size:9px;font-weight:800;white-space:nowrap}.credit-ledger-type i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--soft)}.credit-ledger-type.in i{background:var(--success)}.credit-ledger-type.out i{background:var(--danger)}.credit-ledger-type.hold i{background:var(--warning)}.credit-ledger-description,.credit-ledger-snapshot{min-width:0;display:grid;gap:4px}.credit-ledger-description strong{overflow:hidden;color:var(--ink);font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.credit-ledger-description small,.credit-ledger-row time,.credit-ledger-snapshot small{color:var(--soft);font-size:8px;line-height:1.35}.credit-ledger-row time{white-space:nowrap}.credit-ledger-snapshot small{font-variant-numeric:tabular-nums;white-space:nowrap}.credit-ledger-row>em{overflow:hidden;color:var(--soft);font-size:9px;font-style:normal;font-weight:800;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.credit-ledger-row>em.credit{color:var(--success)}.credit-ledger-row>em.debit{color:var(--danger)}.credit-ledger-row>em.hold{color:var(--warning)}.credit-ledger-expand{justify-self:end;color:var(--soft);transition:transform .18s ease,color .18s ease}.credit-ledger-entry.expanded .credit-ledger-expand{color:var(--accent);transform:rotate(90deg)}.credit-ledger-detail{display:grid;grid-template-columns:minmax(170px,1.3fr) repeat(2,minmax(130px,.7fr)) minmax(170px,1fr);gap:10px;padding:12px 48px 14px 160px;border-top:1px dashed color-mix(in srgb,var(--line) 76%,transparent);background:color-mix(in srgb,var(--surface-2) 54%,var(--surface))}.credit-ledger-detail>div{min-width:0;display:grid;gap:4px}.credit-ledger-detail small{color:var(--soft);font-size:8px}.credit-ledger-detail code{overflow:hidden;color:var(--ink);font:700 9px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;text-overflow:ellipsis;white-space:nowrap}.credit-ledger-detail strong{font-size:11px;font-variant-numeric:tabular-nums}.credit-ledger-detail strong.credit{color:var(--success)}.credit-ledger-detail strong.debit{color:var(--danger)}.credit-ledger-detail strong.hold{color:var(--warning)}.credit-ledger-empty{min-height:220px;display:grid;place-items:center;align-content:center;gap:8px;border:1px dashed var(--line);border-radius:7px;color:var(--soft);text-align:center}.credit-ledger-empty>svg{color:color-mix(in srgb,var(--soft) 58%,transparent)}.credit-ledger-empty strong{color:var(--ink);font-size:12px}.credit-ledger-empty span{font-size:9px}.credit-ledger-empty button{min-height:32px;padding:0 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--accent);font-size:9px;font-weight:800}@media(max-width:820px){.credit-ledger-toolbar{align-items:stretch;flex-direction:column}.credit-ledger-search{width:100%;min-width:0}.credit-ledger-filter{width:100%}.credit-ledger-table-head{display:none}.credit-ledger-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"type delta" "description snapshot" "time snapshot";min-height:126px;gap:7px 12px;padding:14px 40px 14px 14px}.credit-ledger-type{grid-area:type}.credit-ledger-description{grid-area:description}.credit-ledger-row time{grid-area:time}.credit-ledger-snapshot{grid-area:snapshot;align-self:center;justify-items:end}.credit-ledger-row>em{grid-area:delta;justify-self:end;max-width:140px;text-align:right}.credit-ledger-expand{position:absolute;top:14px;right:14px}.credit-ledger-detail{grid-template-columns:1fr 1fr;padding:12px 14px 14px}}@media(max-width:520px){.credit-insight-grid{grid-template-columns:1fr}.credit-insight-grid>div{min-height:76px;border-right:0;border-bottom:1px solid var(--line)}.credit-insight-grid>div:last-child{border-bottom:0}.credit-insight-grid small{min-height:0;white-space:normal}.credit-insight-foot{align-items:flex-start;flex-wrap:wrap;min-height:52px;padding-top:4px}.credit-insight-foot span{flex:1 1 calc(100% - 28px);white-space:normal}.credit-insight-foot a{margin-left:22px}.credit-ledger-summary-line{align-items:flex-start;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 0}.credit-ledger-summary-line span:last-child{grid-column:1 / -1}.credit-ledger-detail{grid-template-columns:1fr}}body:has(.template-library-page){--canvas: #fffaf2;--surface: #fffdf9;--surface-2: #fff3e2;--ink: #293039;--soft: #7b848e;--line: #eadfce;--accent: #ff981f;--accent-soft: #fff0dc}body[data-theme=dark]:has(.template-library-page){--canvas: #070e21;--surface: #0d162c;--surface-2: #131f3d;--ink: #f4f5ff;--soft: #a6aec8;--line: #283353;--accent: #d45ade;--accent-soft: #281d4b}.studio-app:has(.template-library-page) .studio-topbar{border-bottom-color:var(--line);background:color-mix(in srgb,var(--surface) 93%,transparent)}.studio-app:has(.template-library-page) .desktop-navigation a.active{border-color:color-mix(in srgb,var(--accent) 28%,var(--line));background:var(--accent-soft);color:var(--accent)}.studio-app:has(.template-library-page) .account-tools>.primary,.template-library-page .primary{background:#ff981f;box-shadow:0 7px 18px #ff981f33}body[data-theme=dark] .studio-app:has(.template-library-page) .studio-topbar{background:#050b1bf0}body[data-theme=dark] .studio-app:has(.template-library-page) .desktop-navigation a.active{border-color:#b98dff47;background:#6040aa33;color:#c98aff}body[data-theme=dark] .studio-app:has(.template-library-page) .account-tools>.primary,body[data-theme=dark] .template-library-page .primary{background:linear-gradient(110deg,#ed3e9e,#a663fa 60%,#5078ff);box-shadow:0 8px 22px #7c4df445}.template-library-page{min-height:calc(100vh - var(--topbar));background:var(--canvas)}.template-library-shell{width:min(1480px,calc(100% - 48px));padding:32px 0 54px}.template-library-header{min-height:118px;display:flex;align-items:flex-end;justify-content:space-between;gap:36px;padding-bottom:24px;border-bottom:1px solid var(--line)}.template-library-header h1{margin:7px 0;color:var(--ink);font-size:38px;line-height:1}.template-library-header p{max-width:590px;margin:0;color:var(--soft);font-size:12px}.template-library-summary{display:flex;align-items:center;gap:24px}.template-library-summary>span{min-width:70px;display:grid;gap:1px;color:var(--soft);font-size:9px}.template-library-summary>span strong{color:var(--ink);font:760 22px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.template-toolbar{min-height:66px;display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr) auto;align-items:center;gap:18px;border-bottom:1px solid var(--line)}.template-search{height:38px;min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--soft)}.template-search>svg{justify-self:center}.template-search input{min-width:0;height:36px;border:0;background:transparent;outline:0}.template-search input::placeholder{color:color-mix(in srgb,var(--soft) 70%,transparent)}.template-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.template-search button{width:30px;height:30px;display:grid;place-items:center;border:0;background:transparent;color:var(--soft)}.template-category-tabs{min-width:0;display:flex;align-items:center;gap:5px;overflow-x:auto;padding:5px 1px}.template-category-tabs button{min-height:32px;flex:0 0 auto;padding:0 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--soft);font-size:10px;font-weight:700}.template-category-tabs button:hover{border-color:var(--line);background:var(--surface);color:var(--ink)}.template-category-tabs button.active{border-color:color-mix(in srgb,var(--accent) 32%,var(--line));background:var(--accent-soft);color:var(--accent)}.template-result-count{display:inline-flex;align-items:center;gap:6px;color:var(--soft);font-size:10px;white-space:nowrap}.template-browser{display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:24px;padding-top:24px}.template-results{min-width:0}.template-library-page .template-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.template-library-page .template-card{position:relative;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 7px 20px #402d180d}.template-library-page .template-card:hover{border-color:color-mix(in srgb,var(--accent) 42%,var(--line));box-shadow:0 12px 30px #402d1817;transform:translateY(-2px)}.template-library-page .template-card.selected{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft),0 14px 32px #402d181a}.template-library-page .template-image{display:block;aspect-ratio:4 / 3;border:0;border-radius:0;background:var(--surface-2)}.template-library-page .template-image img{transition:transform .3s ease,filter .3s ease}.template-library-page .template-card:hover .template-image img{transform:scale(1.035)}.template-library-page .template-image>span{top:10px;left:10px;padding:4px 6px;border-radius:4px;background:#070e1cd1}.template-library-page .template-image>em{position:absolute;right:10px;bottom:10px;padding:5px 7px;border-radius:4px;background:#070e1ccc;color:#fff;font-size:9px;font-style:normal;font-weight:700;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.template-library-page .template-copy{position:relative;min-height:152px;padding:14px 52px 14px 14px}.template-card-main{width:100%;display:block;border:0;background:transparent;padding:0;color:var(--ink);text-align:left}.template-card-main strong,.template-card-main span{display:block}.template-card-main strong{font-size:14px}.template-card-main span{min-height:35px;margin-top:6px;color:var(--soft);font-size:10px;line-height:1.55}.template-library-page .field-tags{display:flex;flex-wrap:wrap;gap:5px;margin:13px 0 0}.template-library-page .field-tags span{margin:0;padding:4px 6px;border:0;border-radius:4px;background:var(--surface-2);color:var(--soft);font-size:9px}.template-quick-use{position:absolute;right:13px;bottom:13px;width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink)}.template-quick-use:hover{border-color:var(--accent);background:var(--accent);color:#fff}.template-preview-panel{position:sticky;top:calc(var(--topbar) + 20px);min-height:580px;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:0 16px 38px #402d1817}.template-preview-image{position:relative;aspect-ratio:4 / 3;overflow:hidden;background:var(--surface-2)}.template-preview-image img{width:100%;height:100%;object-fit:cover}.template-preview-image>span{position:absolute;left:14px;bottom:14px;padding:6px 8px;border-radius:5px;background:#070e1cd1;color:#fff;font-size:9px;font-weight:750}.template-preview-copy{padding:22px}.template-preview-copy h2{margin:8px 0;font-size:22px}.template-preview-copy>p{margin:0;color:var(--soft);font-size:11px;line-height:1.6}.template-preview-fields{display:grid;margin-top:22px;border-top:1px solid var(--line)}.template-preview-fields>div{min-height:46px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;border-bottom:1px solid var(--line)}.template-preview-fields span{color:var(--accent);font:700 9px ui-monospace,monospace}.template-preview-fields strong{font-size:11px}.template-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:22px}.template-preview-actions button{padding-inline:10px}.template-empty-state,.template-preview-empty{min-height:300px;display:grid;place-items:center;align-content:center;gap:8px;border:1px dashed var(--line);border-radius:8px;background:var(--surface);color:var(--soft);text-align:center}.template-empty-state strong{color:var(--ink)}.template-empty-state span,.template-preview-empty span{font-size:10px}.template-empty-state .secondary{margin-top:8px}body[data-theme=dark] .template-library-page{background:radial-gradient(circle at 76% 14%,rgba(166,71,219,.12),transparent 28%),radial-gradient(circle at 14% 76%,rgba(37,126,243,.11),transparent 32%),var(--canvas)}body[data-theme=dark] .template-library-page .template-card,body[data-theme=dark] .template-preview-panel{box-shadow:0 14px 36px #00000040}body[data-theme=dark] .template-library-page .template-card.selected{box-shadow:0 0 0 3px #d058de21,0 18px 40px #0000004d}@media(max-width:1180px){.template-browser{grid-template-columns:minmax(0,1fr) 320px}.template-library-page .template-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.template-library-shell{width:min(100% - 32px,760px);padding-top:26px}.template-library-header{align-items:stretch;flex-direction:column;gap:20px}.template-library-summary{justify-content:space-between}.template-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0}.template-category-tabs{grid-column:1 / -1;grid-row:2}.template-result-count{grid-column:2;grid-row:1}.template-browser{grid-template-columns:1fr}.template-preview-panel{position:static;min-height:0;display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1fr)}.template-preview-image{aspect-ratio:auto;min-height:320px}}@media(max-width:600px){.template-library-shell{width:calc(100% - 24px);padding:22px 0 32px}.template-library-header h1{font-size:32px}.template-library-summary{flex-wrap:wrap;gap:14px}.template-library-summary .primary{width:100%}.template-toolbar{grid-template-columns:1fr}.template-search{grid-column:1}.template-result-count{display:none}.template-category-tabs{grid-column:1}.template-library-page .template-catalog{grid-template-columns:1fr;gap:12px}.template-library-page .template-card{display:grid;grid-template-columns:116px minmax(0,1fr);min-height:128px}.template-library-page .template-image{height:100%;aspect-ratio:auto}.template-library-page .template-image>em{display:none}.template-library-page .template-copy{min-height:126px;padding:13px 48px 12px 13px}.template-card-main span{min-height:0}.template-preview-panel{display:block}.template-preview-image{min-height:0;aspect-ratio:16 / 9}.template-preview-copy{padding:18px}.template-preview-actions{grid-template-columns:1fr}}body:has(.library-page){--topbar: 72px;--canvas: #fffaf3;--surface: #ffffff;--surface-2: #f5f1eb;--ink: #18232c;--soft: #7b858e;--line: #e6e1da;--accent: #ff9612;--accent-soft: #fff1dc;background:var(--canvas)}body[data-theme=dark]:has(.library-page){--canvas: #061023;--surface: #0d172c;--surface-2: #111e38;--ink: #f4f3ff;--soft: #969db5;--line: #28344e;--accent: #a37aff;--accent-soft: #261f4d}.studio-app:has(.library-page) .studio-topbar{height:var(--topbar);padding-inline:30px;border-bottom-color:#7e848c2e;background:#fffffff0;box-shadow:0 1px 10px #43362509}.studio-app:has(.library-page) .brand-mark{width:34px;height:34px;background:#202a32}.studio-app:has(.library-page) .brand-mark:before{background:#ff9d22;box-shadow:11px 0 #f7f9fa,0 11px #f7f9fa}.studio-app:has(.library-page) .brand-mark:after{content:"";position:absolute;width:7px;height:7px;left:17px;top:17px;background:#85909a}.studio-app:has(.library-page) .desktop-navigation a.active{border-color:#ffe2bd;background:#fff3e5;color:#e97800}.studio-app:has(.library-page) .desktop-navigation a.active svg{color:#ff8a00}.studio-app:has(.library-page) .account-tools>.primary{background:#ff970d;box-shadow:0 8px 19px #ff970d38}body[data-theme=dark] .studio-app:has(.library-page) .studio-topbar{border-bottom-color:#202a43;background:#030a18f0;box-shadow:none}body[data-theme=dark] .studio-app:has(.library-page) .brand-mark{background:#0f1a32;box-shadow:0 0 18px #5167ff2e}body[data-theme=dark] .studio-app:has(.library-page) .brand-mark:before{background:#ef74bf;box-shadow:11px 0 #dfe6ff,0 11px #8f73ff}body[data-theme=dark] .studio-app:has(.library-page) .brand-mark:after{background:#3e91ff}body[data-theme=dark] .studio-app:has(.library-page) .desktop-navigation a.active{border-color:#293653;background:#121c34;color:#c5a4ff}body[data-theme=dark] .studio-app:has(.library-page) .desktop-navigation a.active svg{color:#8d83ff}body[data-theme=dark] .studio-app:has(.library-page) .account-tools>.primary,body[data-theme=dark] .library-page .primary{border:0;background:linear-gradient(105deg,#ea3d9c,#8d62ff 58%,#397bff);box-shadow:0 8px 22px #644ef43d}.library-page{position:relative;min-height:calc(100vh - var(--topbar));isolation:isolate;overflow:hidden;background:var(--canvas)}.library-shell{width:min(1400px,calc(100% - 64px));margin-inline:auto}.library-hero{position:relative;min-height:418px;overflow:hidden;background:#fffaf3}.library-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,#fffaf3 3%,#fffaf3f5 42%,#fffaf380 72%,#fffaf31f),url(/interior.jpg);background-position:center,right 54%;background-size:cover,64% auto;background-repeat:no-repeat;opacity:.76}.library-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(176deg,transparent 0 58%,rgba(255,255,255,.62) 100%);pointer-events:none}.library-hero .library-shell{position:relative;z-index:1;padding:72px 0 18px}.library-page .library-heading{min-height:142px;align-items:center;margin:0 0 24px}.library-page .library-heading h1{margin:10px 0 12px;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;font-size:52px;font-weight:820;line-height:.96;letter-spacing:0}.library-page .library-heading p{color:#7b858e;font-size:13px}.library-page .library-heading .eyebrow{color:#ff8b00;font-size:10px;letter-spacing:0}.library-page .project-switcher{gap:10px}.library-page .project-switcher label>span{margin-bottom:8px;color:#8d9298;font-size:10px;font-weight:650}.library-page .project-switcher select,.library-page .project-switcher input{height:46px;padding-inline:14px;border-color:#777e8538;background:#ffffffe8;box-shadow:0 3px 12px #41382a09}.library-page .project-switcher select{min-width:210px}.library-page .project-switcher input{width:160px}.library-page .project-switcher .icon-button{width:46px;height:46px;background:#ffffffe8}.library-page .library-controls{min-height:64px;padding-top:14px;border-top:1px solid rgba(126,132,140,.18)}.library-page .library-controls .filter-bar{flex-wrap:nowrap;margin:0;gap:10px}.library-page .filter-bar button{min-height:42px;padding-inline:17px;border-radius:6px;border-color:#777e852e;background:#ffffffb8;color:#34414a;font-size:12px}.library-page .filter-bar button.active{border-color:#ffad34;background:#ff9d0c;color:#fff;box-shadow:0 7px 16px #ff970d33}.library-page .library-actions{gap:10px}.library-page .library-actions .compact{min-height:42px;padding-inline:15px;border-color:#777e852e;background:#ffffffc7;font-size:12px}.library-page .library-actions .primary{border-color:#ff9d0c;background:#ff9d0c;color:#fff}.library-page .library-toolbar{min-height:62px;margin:0;padding:12px 0 4px;border-bottom:1px solid rgba(126,132,140,.16)}.library-page .library-toolbar label,.library-page .library-toolbar select{height:46px;border-color:#777e8533;background:#ffffffe6;box-shadow:0 3px 12px #41382a08}.library-page .library-toolbar label{padding-inline:15px}.library-page .library-toolbar label svg{color:#47545c}.library-page .library-toolbar input::placeholder{color:#92999f}.library-page .library-toolbar select{min-width:122px;padding-inline:13px}.library-page .library-export-history{min-height:48px;display:flex;align-items:center;gap:8px;overflow-x:auto;padding:8px 0;border-bottom:1px solid rgba(126,132,140,.16)}.library-page .library-export-history>span{flex:0 0 auto;color:var(--soft);font-size:11px}.library-page .library-export-history button{max-width:260px;flex:0 0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-gallery{position:relative;z-index:2;padding:26px 0 56px}.library-page .library-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 22px}.library-page .library-artwork{padding:0;border-radius:8px}.library-page .library-artwork.selected{border-color:#ff9d0c;background:transparent;box-shadow:0 0 0 3px #ff9d0c2e}.library-page .artwork-card{border-radius:8px;border-color:#72787d2e;box-shadow:0 10px 24px #40301c12}.library-page .artwork-frame{aspect-ratio:1.16 / 1!important;background:#f1eee8}.library-page .artwork-frame img{object-position:center}.library-page .frame-index{left:10px;bottom:10px;min-width:29px;padding:4px 7px;border-radius:5px;background:#1c242ad1;color:#fff;font-size:10px;text-align:center}.library-page .artwork-meta{min-height:68px;padding-inline:13px 9px}.library-page .artwork-meta strong{font-size:12px;font-weight:720}.library-page .artwork-meta span{font-size:10px}.library-page .selection-box{top:10px;left:10px;padding:5px 7px;border-radius:5px;background:#1e2529c7;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.library-page .state-panel,.library-page .loading-state{min-height:360px}.public-library-page .library-hero{min-height:286px}.public-library-page .library-hero .library-shell{padding-bottom:34px}body[data-theme=dark] .library-hero{background:#050d20}body[data-theme=dark] .library-hero:before{background-image:linear-gradient(122deg,transparent 0 38%,rgba(72,48,169,.14) 52%,rgba(194,45,154,.24) 73%,transparent 92%),linear-gradient(168deg,#030a18,#08142e 43%,#17103d 72%,#071126);background-size:cover;opacity:1}body[data-theme=dark] .library-hero:after{background:linear-gradient(162deg,transparent 0 54%,rgba(101,54,203,.13) 62%,transparent 75%),linear-gradient(176deg,transparent 0 68%,rgba(7,16,35,.76) 100%)}body[data-theme=dark] .library-page .library-heading h1{color:#f7f4ff;text-shadow:-18px 0 40px rgba(112,75,255,.34)}body[data-theme=dark] .library-page .library-heading .eyebrow{color:#8792ff}body[data-theme=dark] .library-page .library-heading p{color:#9ba2b9}body[data-theme=dark] .library-page .project-switcher label>span{color:#8f96af}body[data-theme=dark] .library-page .project-switcher select,body[data-theme=dark] .library-page .project-switcher input,body[data-theme=dark] .library-page .project-switcher .icon-button,body[data-theme=dark] .library-page .library-toolbar label,body[data-theme=dark] .library-page .library-toolbar select,body[data-theme=dark] .library-page .library-actions .compact{border-color:#7f8bb440;background:#0d162dbd;color:#eef0ff;box-shadow:none}body[data-theme=dark] .library-page .library-controls{border-top-color:#7f8bb42b}body[data-theme=dark] .library-page .library-toolbar{border-bottom-color:#7f8bb429}body[data-theme=dark] .library-page .filter-bar button{border-color:#7f8bb43d;background:#0c152bb3;color:#dfe2f4}body[data-theme=dark] .library-page .filter-bar button.active{border-color:#6d5bd6;background:#513ea147;color:#f3edff;box-shadow:inset 0 -2px #a174ff}body[data-theme=dark] .library-page .library-actions .primary{color:#fff}body[data-theme=dark] .library-page .library-toolbar label svg{color:#adb4ca}body[data-theme=dark] .library-page .library-artwork.selected{border-color:#9c78ff;box-shadow:0 0 0 3px #8966ff2b}body[data-theme=dark] .library-page .artwork-card{border-color:#2a3852;background:#0c172beb;box-shadow:0 12px 28px #0003}body[data-theme=dark] .library-page .artwork-meta strong{color:#eef0fb}body[data-theme=dark] .library-page .artwork-meta span{color:#969db2}body[data-theme=dark] .library-page .artwork-actions .icon-button{color:#e5e8f4}@media(max-width:1100px){.library-shell{width:min(100% - 42px,960px)}.library-page .library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.library-page .project-switcher select{min-width:180px}}@media(max-width:820px){body:has(.library-page){--topbar: 60px}.studio-app:has(.library-page) .studio-topbar{padding-inline:16px}.library-hero{min-height:0}.library-hero .library-shell{padding-top:36px}.library-page .library-heading{min-height:0;align-items:stretch;flex-direction:column;gap:24px}.library-page .library-controls{align-items:stretch;flex-direction:column;gap:12px;padding-bottom:3px}.library-page .library-controls .filter-bar,.library-page .library-actions{width:100%;overflow-x:auto}.library-page .filter-bar button,.library-page .library-actions button{flex:0 0 auto}.library-page .library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}}@media(max-width:560px){.library-shell{width:calc(100% - 28px)}.library-hero .library-shell{padding-top:30px}.library-page .library-heading h1{font-size:42px}.library-page .library-heading p{max-width:300px;line-height:1.7}.library-page .project-switcher,.library-page .project-switcher label,.library-page .project-switcher select,.library-page .project-switcher form,.library-page .project-switcher input{width:100%}.library-page .project-switcher form{flex-direction:row}.library-page .project-switcher input{min-width:0}.library-page .library-toolbar{align-items:stretch;min-height:112px;flex-direction:column;padding-block:12px}.library-page .library-toolbar label,.library-page .library-toolbar select{width:100%;min-width:0}.library-page .library-grid{grid-template-columns:1fr}.library-page .artwork-frame{aspect-ratio:1.24 / 1!important}.library-gallery{padding-top:18px}.studio-app:has(.library-page) .notification-center-wrap{display:none}.studio-app:has(.library-page) .account-tools .theme-button{display:inline-grid}}body:has(.pricing-page){--accent: #ff9f0a;--accent-soft: #fff5e3;--canvas: #fff;--surface: #fff;--surface-2: #fff8eb;--ink: #262a2c;--soft: #778089;--line: #e8e8e3}body[data-theme=dark]:has(.pricing-page){--accent: #7d75ff;--accent-soft: #24234c;--canvas: #080d22;--surface: #0d142b;--surface-2: #151c38;--ink: #f7f8ff;--soft: #939bb6;--line: #222c4b}.studio-app:has(.pricing-page) .studio-topbar{border-bottom-color:var(--line);background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 1px 16px #1f23270a}.studio-app:has(.pricing-page) .desktop-navigation a.active{border-color:transparent;background:var(--accent-soft);color:var(--accent)}.studio-app:has(.pricing-page) .account-tools>.primary{border-radius:7px;background:#ff9f0a;box-shadow:0 7px 18px #ff9f0a33}body[data-theme=dark] .studio-app:has(.pricing-page) .account-tools>.primary{background:linear-gradient(115deg,#ef2f90,#7a5cff 58%,#2e88ff);box-shadow:0 8px 22px #5357ff40}.pricing-page{background:var(--canvas);overflow:hidden}.pricing-hero{min-height:348px;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(350px,.75fr);border-bottom:1px solid var(--line);background-image:linear-gradient(90deg,#fff9eefa,#fff9eef0 48%,#fff9ee59,#fff9ee1a),url(/architecture.jpg);background-position:center,center 48%;background-size:cover,cover}body[data-theme=dark] .pricing-hero{background-image:linear-gradient(90deg,#070c20fa,#070c20ed 48%,#070c2073 76%,#070c202e),url(/architecture.jpg);background-position:center,center}.pricing-hero-copy{width:min(780px,calc(100% - 72px));align-self:center;margin:0 auto;padding:42px 0}.pricing-hero-copy .eyebrow,.pricing-section-heading .eyebrow,.credit-guide .eyebrow{color:#f7941d}body[data-theme=dark] .pricing-hero-copy .eyebrow,body[data-theme=dark] .pricing-section-heading .eyebrow,body[data-theme=dark] .credit-guide .eyebrow{color:#f06bb8}.pricing-hero-copy h1{max-width:600px;margin:15px 0 14px;color:var(--ink);font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;font-size:44px;font-weight:850;line-height:1.12}.pricing-hero-copy>p{max-width:620px;margin:0;color:#566068;font-size:13px;line-height:1.8}body[data-theme=dark] .pricing-hero-copy>p{color:#aab1c7}.pricing-assurances{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:24px;color:#4e5961;font-size:11px;font-weight:700}.pricing-assurances span{display:inline-flex;align-items:center;gap:7px}.pricing-assurances svg{color:var(--accent)}body[data-theme=dark] .pricing-assurances{color:#c1c8dc}.billing-console{min-width:0;display:flex;align-items:flex-start;flex-direction:column;justify-content:center;padding:36px 34px;border-left:1px solid var(--line);background:#fffef9ed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}body[data-theme=dark] .billing-console{background:#0d142be8}.billing-console .eyebrow{color:var(--accent)}.billing-console>strong{margin-top:10px;font-size:19px}.billing-console>p{margin:13px 0 0;color:var(--soft);font-size:11px;line-height:1.65}.billing-switch{width:100%;display:grid;grid-template-columns:1fr 1.38fr;gap:4px;margin-top:18px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2)}.billing-switch button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:5px;background:transparent;color:var(--soft);font-size:11px;font-weight:750}.billing-switch button.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 8px #1e242917}.billing-switch button span{padding:2px 4px;border-radius:3px;background:#fff0d2;color:#bf6d00;font-size:8px}body[data-theme=dark] .billing-switch button span{background:#2c285b;color:#aea7ff}.billing-credit-button{width:100%;min-height:43px;display:flex;align-items:center;gap:8px;margin-top:20px;padding:0;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);font-size:11px;font-weight:750;text-align:left}.billing-credit-button svg:first-child{color:var(--accent)}.billing-credit-button svg:last-child{margin-left:auto;color:var(--soft)}.pricing-catalog{width:min(1505px,calc(100% - 64px));margin:0 auto;padding:36px 0 30px}.pricing-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.pricing-section-heading h2,.credit-guide h2{margin:6px 0 7px;color:var(--ink);font-size:27px;line-height:1.15}.pricing-section-heading p{margin:0;color:var(--soft);font-size:11px}.pricing-cycle-summary{flex:0 0 auto;padding:7px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--soft);font-size:10px;font-weight:700}.pricing-notice{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:8px 9px 8px 14px;border-left:3px solid var(--accent);border-radius:0 7px 7px 0;background:var(--accent-soft);color:var(--ink);font-size:11px;line-height:1.5}.pricing-notice button{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:5px;background:transparent;color:var(--ink)}.pricing-notice button:hover{background:var(--surface)}.pricing-page .pricing-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.pricing-page .price-card{min-height:475px;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:9px;padding:20px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 8px 22px #242d310d;overflow:hidden}.pricing-page .price-card.featured{position:relative;border:2px solid var(--accent);padding:19px;box-shadow:0 12px 30px #ff9f0a26}body[data-theme=dark] .pricing-page .price-card.featured{box-shadow:0 12px 30px #5954ff2e}.price-card-heading{position:relative;min-height:115px;padding-right:48px}.plan-label{color:var(--accent);font-size:10px;font-weight:800}.pricing-page .price-label{top:-20px;right:-20px;padding:6px 9px;border-radius:0 0 0 6px;background:var(--accent);color:#fff;font-size:9px;font-weight:800}.pricing-page .price-card h3{margin:10px 0 7px;color:var(--ink);font-size:20px;line-height:1.1}.pricing-page .price-card-heading p{margin:0;color:var(--soft);font-size:11px;line-height:1.6}.price-row{min-height:51px;display:flex;align-items:baseline;color:var(--ink)}.price-row>span{margin-right:2px;font-size:17px;font-weight:800}.price-row strong{font-size:43px;line-height:1;letter-spacing:0}.price-row small{margin-left:5px;color:var(--soft);font-size:11px;font-weight:600}.billing-detail{min-height:18px;margin:5px 0 0;color:var(--soft);font-size:10px}.pricing-page .plan-credit{min-height:54px;display:flex;align-items:center;gap:6px;margin:18px 0 0;padding:0 11px;border-radius:6px;background:var(--surface-2);color:var(--accent)}.pricing-page .plan-credit strong{color:var(--ink);font-size:18px;line-height:1}.pricing-page .plan-credit span{color:var(--soft);font-size:10px;font-weight:700}.pricing-page .price-card ul{flex:1;margin:18px 0 14px;padding:13px 0 7px;border-top:1px solid var(--line)}.pricing-page .price-card li{align-items:flex-start;gap:8px;margin:0 0 10px;color:var(--soft);font-size:11px;line-height:1.45}.pricing-page .price-card li svg{flex:0 0 auto;color:var(--accent)}.pricing-page .plan-action{width:100%;min-height:42px;justify-content:center;border-radius:7px;font-size:12px}.pricing-page .plan-action.primary{background:#ff9f0a;box-shadow:0 8px 18px #ff9f0a38}body[data-theme=dark] .pricing-page .plan-action.primary{background:linear-gradient(110deg,#ef2f90,#7a5cff 58%,#2e88ff);box-shadow:0 8px 20px #5657ff3d}.pricing-estimate{margin:15px 0 0;color:var(--soft);font-size:10px;text-align:center}.credit-guide{width:min(1505px,calc(100% - 64px));margin:0 auto 46px;padding:24px 0 0;border-top:1px solid var(--line)}.credit-guide-heading{margin-bottom:17px}.credit-guide h2{margin-bottom:0;font-size:23px}.credit-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--line)}.credit-guide-grid article{min-width:0;min-height:106px;display:flex;align-items:center;gap:13px;padding:17px;background:var(--surface)}.credit-guide-grid article>span{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;border-radius:7px;background:var(--accent-soft);color:var(--accent)}.credit-guide-grid strong{color:var(--ink);font-size:12px}.credit-guide-grid p{margin:5px 0 0;color:var(--soft);font-size:10px;line-height:1.6}@media(max-width:1060px){.pricing-hero{grid-template-columns:minmax(0,1.32fr) minmax(300px,.68fr)}.pricing-hero-copy{width:calc(100% - 48px)}.billing-console{padding:30px 24px}.pricing-page .pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-page .price-card{min-height:432px}}@media(max-width:700px){.pricing-hero{min-height:0;grid-template-columns:1fr;background-position:center,64% center}.pricing-hero-copy{width:calc(100% - 30px);padding:38px 0 30px}.pricing-hero-copy h1{font-size:36px}.pricing-hero-copy>p{font-size:12px}.billing-console{padding:24px 15px 25px;border-top:1px solid var(--line);border-left:0}.billing-console>strong,.billing-console>p,.billing-switch,.billing-credit-button{width:min(100%,540px);margin-left:auto;margin-right:auto}.pricing-catalog,.credit-guide{width:calc(100% - 30px)}.pricing-catalog{padding-top:28px}.pricing-section-heading{align-items:flex-start;flex-direction:column;gap:12px}.pricing-section-heading h2{font-size:25px}.pricing-cycle-summary{align-self:flex-start}.pricing-page .pricing-grid{grid-template-columns:1fr;gap:12px}.pricing-page .price-card{min-height:0;padding:18px}.pricing-page .price-card.featured{padding:17px}.price-card-heading{min-height:auto;padding-bottom:17px}.pricing-page .price-card ul{flex:none}.credit-guide{margin-bottom:28px;padding-top:23px}.credit-guide-grid{grid-template-columns:1fr}.credit-guide-grid article{min-height:88px}}@media(max-width:440px){.pricing-hero-copy h1{font-size:32px}.pricing-assurances{align-items:flex-start;flex-direction:column;gap:8px;margin-top:20px}.pricing-page .price-card h3{font-size:19px}.price-row strong{font-size:39px}}body:has(.pricing-page){--accent: #e74c3c;--accent-dark: #bd2f24;--accent-soft: #fde7e3;--canvas: #f4f4f1;--surface: #fff;--surface-2: #ecece7;--ink: #171715;--soft: #62625c;--line: #d8d8d1}body[data-theme=dark]:has(.pricing-page){--accent: #ed6351;--accent-dark: #ff806e;--accent-soft: #3a2421;--canvas: #151715;--surface: #1e211f;--surface-2: #292c29;--ink: #f3f3ed;--soft: #b5b7ae;--line: #3b403b}.studio-app:has(.pricing-page) .account-tools>.primary,body[data-theme=dark] .studio-app:has(.pricing-page) .account-tools>.primary{background:var(--accent);box-shadow:none}.pricing-page{background:var(--canvas)}.pricing-hero{min-height:380px;grid-template-columns:minmax(0,1.45fr) minmax(390px,.75fr);background:var(--canvas)}body[data-theme=dark] .pricing-hero{background:var(--canvas)}.pricing-hero-copy{width:min(840px,calc(100% - 72px));padding:56px 0}.pricing-hero-copy .eyebrow,.pricing-section-heading .eyebrow,.credit-guide .eyebrow,body[data-theme=dark] .pricing-hero-copy .eyebrow,body[data-theme=dark] .pricing-section-heading .eyebrow,body[data-theme=dark] .credit-guide .eyebrow{color:var(--accent)}.pricing-hero-copy h1{max-width:680px;margin:14px 0 16px;font-family:Arial Narrow,DIN Condensed,Roboto Condensed,Inter,PingFang SC,sans-serif;font-size:46px;font-weight:800;line-height:1.04;text-wrap:balance}.pricing-title-tail{white-space:nowrap}.pricing-hero-copy>p,body[data-theme=dark] .pricing-hero-copy>p{max-width:690px;color:var(--soft);font-size:14px;line-height:1.7}.pricing-assurances,body[data-theme=dark] .pricing-assurances{margin-top:28px;color:var(--ink);font-size:11px}.pricing-plan-summary{min-width:0;display:flex;align-items:stretch;flex-direction:column;justify-content:center;padding:36px;border-left:1px solid var(--line);background:var(--surface)}.pricing-plan-summary>strong{margin:8px 0 18px;color:var(--ink);font-size:18px}.pricing-summary-row{min-height:75px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:11px;border-top:1px solid var(--line)}.pricing-summary-row>span{width:32px;height:32px;display:grid;place-items:center;border-radius:4px;background:var(--surface-2);color:var(--ink)}.pricing-summary-row.member>span{background:var(--accent-soft);color:var(--accent)}.pricing-summary-row div{min-width:0;display:grid;gap:3px}.pricing-summary-row b{color:var(--ink);font-size:12px}.pricing-summary-row small{color:var(--soft);font-size:9px}.pricing-summary-row em{color:var(--ink);font-size:10px;font-style:normal;font-weight:800;white-space:nowrap}.pricing-plan-summary>p{margin:14px 0 0;padding-top:13px;border-top:1px solid var(--line);color:var(--soft);font-size:9px;line-height:1.6}.pricing-catalog{width:min(1460px,calc(100% - 64px));padding:42px 0 18px}.pricing-notice{margin-bottom:28px}.pricing-plan-section{padding-bottom:44px}.pricing-plan-section+.pricing-plan-section{padding-top:42px;border-top:1px solid var(--line)}.pricing-section-heading{align-items:center;margin-bottom:22px}.pricing-section-heading h2{font-family:Arial Narrow,DIN Condensed,Roboto Condensed,Inter,sans-serif;font-size:28px;letter-spacing:0}.pricing-section-heading p{max-width:700px;font-size:11px;line-height:1.6}.pricing-cycle-summary{background:transparent;color:var(--ink)}.pricing-page .pricing-grid{gap:12px}.pricing-page .on-demand-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pricing-page .membership-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pricing-page .price-card{min-height:430px;border-radius:7px;padding:20px;background:var(--surface);box-shadow:0 2px 8px #17171512}.pricing-page .price-card.featured,body[data-theme=dark] .pricing-page .price-card.featured{border:2px solid var(--accent);padding:19px;box-shadow:0 2px 8px #17171512}.pricing-page .price-label{top:0;right:0;border-radius:0 5px 0 4px}.price-card-heading{min-height:112px;padding-right:38px}.pricing-page .price-card h3{margin-top:9px;font-size:19px}.pricing-page .price-card-heading p{font-size:10px}.price-row strong{font-size:40px;font-variant-numeric:tabular-nums}.pricing-page .plan-credit{margin-top:14px;background:var(--surface-2)}.pricing-page .plan-credit strong{font-size:20px;font-variant-numeric:tabular-nums}.pricing-page .price-card ul{margin-top:16px}.pricing-page .price-card li{color:var(--soft);font-size:10px}.pricing-page .plan-action{border-radius:4px}.pricing-page .plan-action.primary,body[data-theme=dark] .pricing-page .plan-action.primary{background:var(--accent);box-shadow:none}.membership-cycle-switch{display:inline-grid;grid-template-columns:1fr 1fr;gap:3px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--surface-2)}.membership-cycle-switch button{min-width:96px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:0;border-radius:4px;background:transparent;color:var(--soft);font-size:11px;font-weight:750}.membership-cycle-switch button.active{background:var(--ink);color:var(--surface)}.membership-cycle-switch button span{padding:2px 4px;border-radius:3px;background:var(--accent-soft);color:var(--accent);font-size:8px}.membership-cycle-switch button.active span{background:var(--surface);color:var(--accent)}.member-benefit-proof{display:grid;grid-template-columns:1fr 1fr;margin-top:15px;border:1px solid var(--line);border-radius:6px;background:var(--surface-2)}.member-benefit-proof>div{min-width:0;display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:3px;padding:11px 12px}.member-benefit-proof>div+div{border-left:1px solid var(--line)}.member-benefit-proof span{grid-column:1 / -1;margin-bottom:5px;color:var(--soft);font-size:8px;font-weight:700}.member-benefit-proof strong{color:var(--ink);font-size:20px;font-variant-numeric:tabular-nums}.member-benefit-proof small{color:var(--soft);font-size:8px;font-weight:700}.membership-card .billing-detail{min-height:15px;margin-top:2px;color:var(--accent);font-weight:700}.membership-card{min-height:455px!important}.pricing-estimate{font-size:9px}.credit-guide{width:min(1460px,calc(100% - 64px))}@media(max-width:1180px){.pricing-hero{grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr)}.pricing-page .on-demand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-page .price-card{min-height:410px}}@media(max-width:860px){.pricing-hero{grid-template-columns:1fr}.pricing-hero-copy{width:calc(100% - 40px);padding:46px 0 38px}.pricing-plan-summary{padding:26px 20px;border-top:1px solid var(--line);border-left:0}.pricing-section-heading{align-items:flex-start;flex-direction:column}.pricing-page .membership-grid{grid-template-columns:1fr}.membership-card{min-height:0!important}}@media(max-width:560px){.pricing-hero-copy{width:calc(100% - 30px);padding-top:38px}.pricing-hero-copy h1{font-size:34px}.pricing-catalog,.credit-guide{width:calc(100% - 30px)}.pricing-page .on-demand-grid{grid-template-columns:1fr}.pricing-page .price-card{min-height:0}.membership-cycle-switch{width:100%}.membership-cycle-switch button{min-width:0}.pricing-summary-row{grid-template-columns:34px minmax(0,1fr)}.pricing-summary-row em{grid-column:2;padding-bottom:10px}}.commerce-workspace-page{background:var(--canvas)}.commerce-workspace-layout{position:relative;display:block}.commerce-result-panel{width:100%;height:100%;min-width:0;min-height:100%;display:flex;flex-direction:column;background:var(--canvas)}.commerce-result-panel .creative-canvas{flex:1;min-height:0;margin:0;background:var(--canvas)}.commerce-result-panel .canvas-stage{background-color:#e3e9eb;background-image:linear-gradient(#d3dde0 1px,transparent 1px),linear-gradient(90deg,#d3dde0 1px,transparent 1px)}.commerce-sidebar{position:absolute;z-index:12;top:16px;bottom:16px;left:16px;width:min(420px,calc(100% - 350px));height:auto;min-height:0;display:flex;flex-direction:column;padding:16px 20px;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:var(--shadow-2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition:border-color .18s ease,background-color .18s ease}.commerce-sidebar.is-collapsed{bottom:auto;width:46px;height:46px;padding:0;overflow:hidden;background:color-mix(in srgb,var(--surface) 94%,transparent)}.commerce-sidebar:not(.is-collapsed) .commerce-creation-form{padding-top:34px}.commerce-sidebar.is-collapsed .commerce-creation-form,.commerce-sidebar.is-collapsed .commerce-sidebar-notice{display:none}.commerce-sidebar.is-collapsed .workbench-panel-toggle{inset:0;width:46px;height:46px;border-radius:0;background:transparent;color:var(--accent)}.commerce-creation-form{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:14px;overflow-y:auto;padding:0 3px 2px 0;scrollbar-width:thin}.commerce-form-section{display:grid;gap:8px;padding-bottom:14px;border-bottom:1px solid var(--line)}.commerce-section-title{min-height:22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.commerce-section-title span{color:var(--ink);font-size:11px;font-weight:750}.commerce-section-title small{overflow:hidden;color:var(--soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.commerce-sidebar .reference-assets{border-top:0;padding-top:0}.commerce-sidebar .reference-heading small{color:var(--soft);font-size:9px}.commerce-sidebar .reference-list{display:flex;align-items:center;gap:8px;max-height:none;margin-top:8px;overflow-x:auto;padding:2px 1px 4px}.commerce-sidebar .reference-thumb,.commerce-sidebar .reference-upload-tile{position:relative;width:54px;height:54px;min-height:54px;flex:0 0 54px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--soft)}.commerce-sidebar .reference-thumb:hover{border-color:var(--accent)}.commerce-sidebar .reference-thumb img{width:100%;height:100%;object-fit:cover}.commerce-sidebar .reference-thumb:disabled{cursor:wait;opacity:.7}.commerce-sidebar .pending-preview{cursor:wait;opacity:.78}.commerce-sidebar .reference-uploading{position:absolute;inset:0;display:grid;place-items:center;background:#17171561;color:#fff}.commerce-sidebar .reference-remove{position:absolute;top:3px;right:3px;width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:#171715b8;color:#fff}.commerce-sidebar .reference-upload-tile{border-style:dashed;cursor:pointer}.commerce-sidebar .reference-upload-tile:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.commerce-sidebar .upload-meter{border-radius:var(--radius-sm)}.commerce-brief-fields label{min-width:0;color:var(--soft);font-size:9px;font-weight:700}.commerce-brief-fields input,.commerce-brief-fields textarea,.commerce-select-field select,.commerce-scene-column input,.commerce-scene-column textarea{display:block;width:100%;margin-top:5px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);padding:8px 9px;color:var(--ink);font-size:11px;line-height:1.45;resize:vertical}.commerce-brief-fields input{height:36px}.commerce-brief-fields input:focus,.commerce-brief-fields textarea:focus,.commerce-select-field select:focus,.commerce-scene-column input:focus,.commerce-scene-column textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:0}.commerce-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px}.commerce-merchandising-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(128px,.75fr);gap:8px;align-items:stretch}.commerce-selling-points textarea{min-height:101px;height:calc(100% - 17px)}.commerce-brief-side-fields{min-width:0;display:grid;align-content:start;gap:7px}.commerce-select-field select{height:36px;margin:0;padding:0 9px}.commerce-brief-side-fields .commerce-select-field select{margin-top:5px}.commerce-scenes-section{min-width:0}.commerce-scene-list{min-width:0;display:grid;gap:6px;padding:2px 1px 8px}.commerce-scene-column{min-width:0;display:grid;gap:0;border:1px solid var(--line);border-radius:7px;background:var(--surface-2);overflow:hidden}.commerce-scene-column.is-expanded{border-color:color-mix(in srgb,var(--accent) 48%,var(--line));box-shadow:0 2px 8px #1f313f0f}.commerce-scene-column>header{min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 8px}.commerce-scene-summary{min-width:0;display:grid;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:inherit;text-align:left}.commerce-scene-summary:hover .commerce-scene-copy strong{color:var(--accent)}.commerce-scene-copy{min-width:0;display:grid;gap:2px}.commerce-scene-copy strong,.commerce-scene-copy small,.commerce-scene-copy em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commerce-scene-copy strong{color:var(--ink);font-size:10px}.commerce-scene-copy small{color:var(--soft);font-size:8px}.commerce-scene-copy em{color:var(--soft);font-size:8px;font-style:normal}.commerce-scene-chevron{color:var(--soft);transition:transform .18s ease}.commerce-scene-column.is-expanded .commerce-scene-chevron{transform:rotate(180deg);color:var(--accent)}.commerce-scene-row-tools{display:flex;align-items:center;gap:5px}.commerce-scene-row-tools>.commerce-scene-actions{margin-left:0}.commerce-scene-row-tools>.commerce-scene-actions button{width:24px;height:24px}.commerce-scene-fields{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:7px;padding:0 8px 9px}.commerce-scene-fields label{min-width:0;color:var(--soft);font-size:9px;font-weight:700}.commerce-scene-fields input,.commerce-scene-fields textarea{margin-top:4px}.commerce-scene-fields textarea{min-height:48px}.commerce-scene-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--accent)}.commerce-scene-count{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--soft);font-size:9px;font-weight:700}.commerce-scene-count .count-stepper{height:30px;background:var(--surface)}.commerce-scene-count .count-stepper button{width:28px}.commerce-scene-count .count-stepper output{min-width:28px;font-size:10px}.commerce-scene-add{min-height:42px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px dashed var(--line);border-radius:7px;background:var(--surface);color:var(--soft);font-size:9px}.commerce-scene-add:not(:disabled):hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.commerce-scene-add:disabled{cursor:not-allowed;opacity:.42}.commerce-generation-footer{position:sticky;z-index:3;bottom:0;min-height:58px;display:flex;align-items:center;gap:7px;margin-top:auto;padding:9px 0 0;background:color-mix(in srgb,var(--surface) 96%,transparent)}.commerce-generation-footer>span{min-width:0;margin-right:auto}.commerce-generation-footer strong,.commerce-generation-footer small{display:block}.commerce-generation-footer strong{font-size:10px}.commerce-generation-footer small{margin-top:3px;color:var(--soft);font-size:8px}.commerce-generate-button{min-height:38px;padding:0 14px;border-radius:6px;background:#d75a3e;box-shadow:0 6px 15px #d75a3e2e}.commerce-generate-button:hover{background:#bd472e}.commerce-sidebar-notice{flex:0 0 auto;min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding:7px 8px 7px 10px;border-left:3px solid var(--danger);border-radius:0 5px 5px 0;background:var(--accent-soft);color:var(--danger);font-size:9px;line-height:1.4}.commerce-sidebar-notice button{width:24px;height:24px;flex:0 0 auto;display:grid;place-items:center;border:0;background:transparent;color:inherit}.commerce-workspace-page .canvas-floating-tools{right:24px}.commerce-workspace-page .canvas-minimap{right:22px}body[data-theme=dark] .commerce-generate-button{background:#df674d}body[data-theme=dark] .commerce-sidebar{background:color-mix(in srgb,var(--surface) 92%,transparent)}.commerce-scene-dialog-backdrop{position:fixed;inset:0;z-index:140;display:grid;place-items:center;padding:20px;background:#10181f80;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.commerce-scene-dialog{width:min(920px,calc(100vw - 48px));max-height:min(780px,calc(100vh - 48px));display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 24px 70px #11202d3d}.commerce-scene-dialog-header{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 22px;border-bottom:1px solid var(--line)}.commerce-scene-dialog-header strong,.commerce-scene-dialog-header small{display:block}.commerce-scene-dialog-header strong{color:var(--ink);font-size:19px}.commerce-scene-dialog-header small{margin-top:6px;color:var(--soft);font-size:13px}.commerce-scene-dialog-header button{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:6px;background:var(--surface-2);color:var(--soft)}.commerce-scene-dialog-header button:hover{background:var(--accent-soft);color:var(--accent)}.commerce-scene-catalog{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow-y:auto;padding:22px}.commerce-scene-catalog>button{min-height:104px;display:grid;grid-template-columns:52px minmax(0,1fr) 24px;align-items:center;gap:14px;padding:15px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);text-align:left}.commerce-scene-catalog>button:not(:disabled):hover{border-color:var(--accent);background:var(--accent-soft);transform:translateY(-1px)}.commerce-scene-catalog>button.selected{background:var(--surface-2);color:var(--soft)}.commerce-scene-catalog>button:disabled{cursor:default;opacity:.72}.commerce-template-icon{width:52px;height:52px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;background:var(--surface-2);color:var(--accent)}.commerce-scene-catalog>button strong,.commerce-scene-catalog>button small{display:block}.commerce-scene-catalog>button strong{font-size:15px}.commerce-scene-catalog>button small{margin-top:5px;color:var(--soft);font-size:12px;line-height:1.45}.commerce-scene-catalog>button em{display:block;margin-top:7px;color:var(--accent);font-size:11px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.commerce-scene-catalog>button>svg{color:var(--success)}.commerce-template-toolbar{grid-column:1 / -1;display:grid;gap:12px;margin-bottom:2px}.commerce-template-search{min-height:42px;display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid var(--line);border-radius:6px;background:var(--surface-2);color:var(--soft)}.commerce-template-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 14%,transparent)}.commerce-template-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink);font-size:13px}.commerce-template-filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.commerce-template-filters button{min-height:34px;flex:0 0 auto;padding:0 12px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--soft);font-size:12px}.commerce-template-filters button.active,.commerce-template-filters button:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.commerce-template-empty{grid-column:1 / -1;display:grid;place-items:center;min-height:150px;color:var(--soft);font-size:13px}.commerce-template-icon{overflow:hidden}.commerce-template-icon img{width:100%;height:100%;object-fit:cover}.commerce-scene-actions{display:inline-flex;align-items:center;gap:2px;margin-left:auto}.commerce-scene-actions button{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--soft)}.commerce-scene-actions button:hover{background:var(--accent-soft);color:var(--accent)}.commerce-scene-dialog>footer{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 22px;border-top:1px solid var(--line);background:var(--surface-2)}.commerce-scene-dialog>footer span{color:var(--soft);font-size:13px}.commerce-scene-dialog>footer .primary{min-height:40px;padding:0 22px;font-size:13px}@media(max-width:980px){.commerce-workspace-page{height:auto;min-height:calc(100vh - var(--topbar) - 64px);overflow:visible}.commerce-workspace-layout{min-height:inherit;display:flex;flex-direction:column}.commerce-sidebar{position:relative;inset:auto;order:1;width:auto;height:auto;min-height:0;margin:14px;padding:16px 18px;overflow:visible}.commerce-sidebar.is-collapsed{width:46px;height:46px;min-height:46px;padding:0;overflow:hidden}.commerce-result-panel{order:2;height:650px;min-height:650px}.commerce-creation-form{max-height:620px}.commerce-workspace-page .canvas-floating-tools{right:14px}.commerce-workspace-page .canvas-minimap{right:14px;bottom:16px}}@media(max-width:600px){.commerce-sidebar{margin:10px;padding-inline:14px}.commerce-sidebar.is-collapsed{padding:0;overflow:hidden}.commerce-field-pair,.commerce-merchandising-grid{grid-template-columns:1fr}.commerce-selling-points textarea{height:auto}.commerce-scene-fields{grid-template-columns:1fr}.commerce-generation-footer{flex-wrap:wrap}.commerce-generation-footer>span{width:100%}.commerce-generate-button{flex:1}.commerce-result-panel{height:540px;min-height:540px}.commerce-workspace-page .canvas-minimap{width:164px}.commerce-workspace-page .canvas-minimap-preview{height:88px}.commerce-scene-dialog-backdrop{align-items:end;padding:10px}.commerce-scene-dialog{width:100%;max-height:calc(100vh - 20px);border-radius:10px}.commerce-scene-dialog-header{min-height:74px;padding:16px}.commerce-scene-dialog-header strong{font-size:17px}.commerce-scene-dialog-header small{font-size:12px}.commerce-scene-catalog{grid-template-columns:1fr;gap:10px;padding:14px}.commerce-scene-catalog>button{min-height:94px;grid-template-columns:48px minmax(0,1fr) 22px;gap:12px;padding:13px}.commerce-template-icon{width:48px;height:48px}.commerce-scene-dialog>footer{min-height:64px;padding:12px 14px}}.studio-app:has(.redesigned-history){--history-page: #fffdf9;--history-panel: rgba(255, 255, 255, .82);--history-card: rgba(255, 255, 255, .86);--history-ink: #111c27;--history-copy: #78818c;--history-line: #f0e7d8;--history-accent: #ff941b;--history-accent-strong: #ff850d;--history-accent-soft: #fff2db;--history-accent-muted: #ffc970;--history-shadow: 0 14px 34px rgba(125, 87, 33, .07)}.studio-app:has(.redesigned-history) .studio-topbar{border-bottom-color:#f3ede3;background:#fffffff0;box-shadow:0 5px 18px #67491f0a}.studio-app:has(.redesigned-history) .brand-mark{border-radius:8px;background:#182028;box-shadow:0 6px 16px #151e2629}.studio-app:has(.redesigned-history) .brand-mark:before{background:#ff8b14;box-shadow:10px 0 #fff8ed,0 10px #f7f5ef}.studio-app:has(.redesigned-history) .desktop-navigation a{height:42px;margin:0 3px;border:1px solid transparent;border-radius:8px}.studio-app:has(.redesigned-history) .desktop-navigation a.active{border-color:#fff1dc;background:#fff9f0;color:var(--history-accent-strong)}.studio-app:has(.redesigned-history) .desktop-navigation a.active svg{color:currentColor}.studio-app:has(.redesigned-history) .account-tools>.primary{border-radius:8px;background:var(--history-accent);box-shadow:0 8px 20px #ff941b3b}.redesigned-history{position:relative;min-height:calc(100vh - var(--topbar));margin:0;border:0;border-radius:0;overflow:hidden;background:radial-gradient(ellipse 36% 46% at 89% 17%,rgba(255,212,142,.22),transparent 67%),radial-gradient(ellipse 24% 42% at 3% 20%,rgba(255,232,191,.36),transparent 72%),var(--history-page);box-shadow:none}.redesigned-history:before{content:"";position:absolute;z-index:0;inset:0 0 auto;height:408px;pointer-events:none;opacity:.68;background:linear-gradient(108deg,transparent 0 54%,rgba(250,210,149,.15) 54.1% 54.22%,transparent 54.3%),radial-gradient(circle at 72% 27%,rgba(255,189,91,.72) 0 7px,transparent 8px),radial-gradient(circle at 38% 27%,rgba(255,190,89,.78) 0 8px,transparent 9px),radial-gradient(circle at 55% 86%,rgba(255,190,89,.7) 0 4px,transparent 5px)}.redesigned-history .history-content{position:relative;z-index:1;width:min(1480px,calc(100% - 112px));margin:-82px auto 0;padding:42px 0 60px}.redesigned-history .history-hero{min-height:318px;display:grid;grid-template-columns:minmax(280px,.86fr) minmax(260px,.7fr) minmax(520px,1.22fr);align-items:center;gap:28px}.redesigned-history .history-hero-copy{align-self:center}.redesigned-history .history-hero-copy .eyebrow,.redesigned-history .history-section-heading .eyebrow{color:var(--history-accent-strong);font-size:12px;font-weight:850;letter-spacing:.08em}.redesigned-history .history-hero-copy h1{margin:20px 0 16px;color:var(--history-ink);font-size:52px;font-weight:850;line-height:1}.redesigned-history .history-hero-copy p{max-width:480px;color:var(--history-copy);font-size:15px;line-height:1.75}.redesigned-history .history-hero-art{width:320px;height:230px;filter:drop-shadow(0 20px 18px rgba(181,111,15,.17))}.redesigned-history .hero-chat-shape{left:40px;top:28px;width:180px;height:146px;border-color:#f0a02a42;background:linear-gradient(138deg,#ffe8a5,#ffd069 52%,#f5af38);box-shadow:inset 16px 18px 25px #ffffff94,inset -15px -18px 24px #ca7d1033,0 17px 28px #cc841629}.redesigned-history .hero-chat-shape:after{background:#fac15b;box-shadow:inset 8px 3px 9px #ffffff5e,-1px 5px 4px #b9751924}.redesigned-history .hero-chat-shape>i{top:62px;width:29px;height:29px;background:#fffaf0;box-shadow:inset 6px 7px 8px #ffffffe6,inset -5px -6px 8px #e8a84657,0 8px 10px #965f1130}.redesigned-history .hero-chat-shape>i:nth-child(1){left:43px}.redesigned-history .hero-chat-shape>i:nth-child(2){left:80px}.redesigned-history .hero-chat-shape>i:nth-child(3){left:117px}.redesigned-history .hero-pen{right:57px;top:40px;width:19px;height:144px;border-color:#b069123d;background:linear-gradient(90deg,#ef9c24,#fff1ad 43%,#f1a022 77%,#ffdd76);box-shadow:inset 3px 0 3px #ffffff94,3px 8px 11px #94520b2e}.redesigned-history .hero-pen:before{background:#ffd875}.redesigned-history .hero-pen:after{background:#9d560b}.redesigned-history .hero-sparkle{right:10px;bottom:35px;color:#ffc05c;text-shadow:0 7px 12px rgba(244,157,34,.16)}.redesigned-history .hero-orbit{background:#ffb348;box-shadow:94px -7px #ffcf78,181px 10px #ffa848}.redesigned-history .history-hero-actions{align-items:flex-end;justify-content:flex-end;gap:14px}.redesigned-history .history-hero-actions .project-switcher{gap:12px}.redesigned-history .history-hero-actions .project-switcher label>span{margin-bottom:10px;color:var(--history-copy);font-size:12px}.redesigned-history .history-hero-actions .project-switcher select,.redesigned-history .history-hero-actions .project-switcher input{height:60px;border-color:var(--history-line);border-radius:10px;background:#ffffffd6;box-shadow:0 5px 16px #68451209}.redesigned-history .history-hero-actions .project-switcher select{min-width:228px;padding-inline:16px}.redesigned-history .history-hero-actions .project-switcher input{width:156px;padding-inline:13px}.redesigned-history .history-hero-actions .project-switcher .icon-button{width:60px;height:60px;border-color:var(--history-line);border-radius:10px;background:#ffffffd6}.redesigned-history .history-new-button{min-width:154px;min-height:60px;border-radius:10px;background:var(--history-accent);box-shadow:0 10px 22px #ff901a3d;font-size:14px}.redesigned-history .history-new-button:hover{background:var(--history-accent-strong)}.redesigned-history .history-overview{min-height:170px;grid-template-columns:1.05fr 1.05fr 1.05fr 1.4fr;gap:18px;margin-top:0;padding:22px 28px;border-color:#efe5d5e6;border-radius:18px;background:var(--history-panel);box-shadow:var(--history-shadow)}.redesigned-history .history-overview>div{min-height:110px;gap:15px;padding:18px;border-radius:12px;background:#ffffff8a;box-shadow:0 8px 20px #81581f06}.redesigned-history .history-overview-card>div>span{color:var(--history-copy)}.redesigned-history .history-overview-card strong{color:var(--history-ink);font-size:16px}.redesigned-history .history-overview-card strong small{color:var(--history-copy)}.redesigned-history .history-overview-icon,.redesigned-history .history-note-icon{border-radius:11px;background:var(--history-accent-soft);color:var(--history-accent)}.redesigned-history .history-overview-note>span:last-child{color:var(--history-copy)}.redesigned-history .history-note-icon{background:#fff2ee;color:#ff835e}.redesigned-history .history-section-heading{margin:46px 0 20px}.redesigned-history .history-section-heading h2{color:var(--history-ink);font-size:28px}.redesigned-history .history-section-heading h2 small{background:#fff3dc;color:var(--history-accent-strong)}.redesigned-history .history-sort-label{color:var(--history-accent-strong)}.redesigned-history .history-sort-label:hover{color:#db6e00}.redesigned-history .conversation-history-list{gap:18px}.redesigned-history .conversation-history-item{min-height:194px;grid-template-columns:220px minmax(0,1fr) 58px;gap:28px;padding:20px 28px 20px 18px;border-color:#efe6d8eb;border-radius:18px;background:var(--history-card);box-shadow:0 10px 26px #7c562309}.redesigned-history .conversation-history-item:hover{border-color:#ffd38d;background:#fffefa;box-shadow:0 16px 34px #8d5b1417}.redesigned-history .conversation-history-preview{width:220px;height:150px;border-radius:10px;background:#fff0d9}.redesigned-history .history-preview-index{background:#17252edb}.redesigned-history .conversation-history-title{gap:14px}.redesigned-history .conversation-history-title strong{color:var(--history-ink);font-size:18px}.redesigned-history .conversation-history-main p{color:var(--history-copy);font-size:14px}.redesigned-history .conversation-history-main small{color:#919aa1}.redesigned-history .conversation-history-main small i{background:#c8ced0}.redesigned-history .history-template-tag{background:#f6efff;color:#9b7ddd}.redesigned-history .history-status.is-success{background:#ecfaf4;color:#37b88c}.redesigned-history .history-status.is-running{background:#fff4e4;color:#e19221}.redesigned-history .history-status.is-failed{background:#fff0f4;color:#f16a91}.redesigned-history .conversation-history-arrow{border-color:#f3dfbf;color:var(--history-ink)}.redesigned-history .conversation-history-item:hover .conversation-history-arrow{border-color:#ffc26d;background:#fff5e7;color:var(--history-accent-strong)}.redesigned-history .history-state{border-color:#eadbc5;background:#ffffffa3}body[data-theme=dark] .studio-app:has(.redesigned-history){--history-page: #050d20;--history-panel: rgba(13, 25, 54, .76);--history-card: rgba(12, 25, 52, .84);--history-ink: #f5f6ff;--history-copy: #9ba9cf;--history-line: rgba(116, 135, 209, .22);--history-accent: #8067ff;--history-accent-strong: #d764df;--history-accent-soft: rgba(110, 95, 237, .17);--history-accent-muted: #d772e3;--history-shadow: 0 18px 44px rgba(0, 0, 0, .2)}body[data-theme=dark] .studio-app:has(.redesigned-history) .studio-topbar{border-bottom-color:#687dcb2e;background:#040a19ed;box-shadow:0 1px #9fa9ff0d}body[data-theme=dark] .studio-app:has(.redesigned-history) .brand-mark{background:#101b38;box-shadow:0 5px 18px #5b50e93d}body[data-theme=dark] .studio-app:has(.redesigned-history) .brand-mark:before{background:#e765bb;box-shadow:10px 0 #7b7dff,0 10px #55d5ff}body[data-theme=dark] .studio-app:has(.redesigned-history) .desktop-navigation a.active{border-color:#b276ff38;background:#6747b338;color:#e677cf}body[data-theme=dark] .studio-app:has(.redesigned-history) .account-tools>.primary{background:linear-gradient(105deg,#ea3e9f,#9b62f7 58%,#4b7aff);box-shadow:0 9px 24px #7045fa4a}body[data-theme=dark] .redesigned-history{background:radial-gradient(ellipse 38% 54% at 88% 18%,rgba(49,98,213,.13),transparent 68%),radial-gradient(ellipse 24% 42% at 12% 20%,rgba(123,56,168,.11),transparent 72%),var(--history-page)}body[data-theme=dark] .redesigned-history:before{opacity:.85;height:490px;background:radial-gradient(circle at 96% 50%,rgba(150,177,255,.34) 0 33px,rgba(76,100,163,.14) 34px 35px,transparent 36px),radial-gradient(circle at 25% 17%,rgba(180,59,155,.23) 0 30px,transparent 31px),radial-gradient(circle at 61% 26%,#f3a7e5 0 1px,transparent 2px),radial-gradient(circle at 64% 34%,#bdc9ff 0 1px,transparent 2px),radial-gradient(circle at 58% 27%,#879cff 0 2px,transparent 3px)}body[data-theme=dark] .redesigned-history .history-hero-art{filter:drop-shadow(0 23px 23px rgba(96,78,250,.28))}body[data-theme=dark] .redesigned-history .hero-chat-shape{border-color:#b997ff5c;background:linear-gradient(140deg,#ec8bcf,#a067f0 46%,#4678ff);box-shadow:inset 15px 17px 25px #ffdef97a,inset -15px -18px 24px #1f4ccf52,0 18px 29px #2f48d045}body[data-theme=dark] .redesigned-history .hero-chat-shape:after{background:#7158dd}body[data-theme=dark] .redesigned-history .hero-chat-shape>i{background:#f6ccf0;box-shadow:inset 6px 7px 8px #ffffffc7,inset -5px -6px 8px #844fe375,0 8px 10px #251a8152}body[data-theme=dark] .redesigned-history .hero-pen{border-color:#af9aff59;background:linear-gradient(90deg,#5b75ff,#fed7ff 44%,#a25de8 77%,#96a6ff);box-shadow:inset 3px 0 3px #ffffff91,3px 8px 12px #1616774a}body[data-theme=dark] .redesigned-history .hero-pen:before{background:#b18bff}body[data-theme=dark] .redesigned-history .hero-pen:after{background:#32256d}body[data-theme=dark] .redesigned-history .hero-sparkle{color:#ec70c9}body[data-theme=dark] .redesigned-history .hero-orbit{background:#ee8de0;box-shadow:94px -7px #6f90ff,181px 10px #bc7bf4}body[data-theme=dark] .redesigned-history .history-hero-actions .project-switcher select,body[data-theme=dark] .redesigned-history .history-hero-actions .project-switcher input,body[data-theme=dark] .redesigned-history .history-hero-actions .project-switcher .icon-button{border-color:var(--history-line);background:#0b1834c7;box-shadow:none}body[data-theme=dark] .redesigned-history .history-new-button{background:linear-gradient(105deg,#7a64fa,#6d5df4 52%,#4c79f5);box-shadow:0 10px 25px #5a57fa45}body[data-theme=dark] .redesigned-history .history-overview,body[data-theme=dark] .redesigned-history .conversation-history-item,body[data-theme=dark] .redesigned-history .history-state{border-color:var(--history-line);background:var(--history-card)}body[data-theme=dark] .redesigned-history .history-overview>div{background:#1122459e}body[data-theme=dark] .redesigned-history .history-overview-card>div>span,body[data-theme=dark] .redesigned-history .history-overview-note>span:last-child,body[data-theme=dark] .redesigned-history .conversation-history-main p,body[data-theme=dark] .redesigned-history .conversation-history-main small{color:var(--history-copy)}body[data-theme=dark] .redesigned-history .history-overview-card strong,body[data-theme=dark] .redesigned-history .conversation-history-title strong{color:var(--history-ink)}body[data-theme=dark] .redesigned-history .history-overview-icon{background:#4f59c933;color:#8691ff}body[data-theme=dark] .redesigned-history .history-note-icon{background:#e04aa126;color:#ee72c2}body[data-theme=dark] .redesigned-history .history-section-heading h2 small{background:#6b54cf30;color:#b79aff}body[data-theme=dark] .redesigned-history .history-sort-label{color:#a08cff}body[data-theme=dark] .redesigned-history .conversation-history-preview{background:#101d40}body[data-theme=dark] .redesigned-history .history-template-tag{background:#7857d52e;color:#c5a5ff}body[data-theme=dark] .redesigned-history .conversation-history-arrow{border-color:#7e91e03d;color:#edf0ff}body[data-theme=dark] .redesigned-history .conversation-history-item:hover{border-color:#ab89ff7a;background:#112143f2}body[data-theme=dark] .redesigned-history .conversation-history-item:hover .conversation-history-arrow{border-color:#a778ff;background:#7453cf2e;color:#c48cff}@media(max-width:1280px){.redesigned-history .history-content{width:min(1120px,calc(100% - 64px))}.redesigned-history .history-hero{grid-template-columns:minmax(245px,.86fr) 245px minmax(420px,1.22fr);gap:18px}.redesigned-history .history-hero-art{transform:scale(.82)}.redesigned-history .history-hero-actions .project-switcher select{min-width:190px}.redesigned-history .history-hero-actions .project-switcher input{width:138px}.redesigned-history .conversation-history-item{grid-template-columns:176px minmax(0,1fr) 52px}.redesigned-history .conversation-history-preview{width:176px;height:128px}}@media(max-width:1020px){.redesigned-history .history-content{width:calc(100% - 48px)}.redesigned-history .history-hero{min-height:340px;grid-template-columns:minmax(230px,1fr) 210px minmax(300px,1.15fr)}.redesigned-history .history-hero-art{transform:scale(.7)}.redesigned-history .history-hero-actions{align-items:stretch;flex-direction:column}.redesigned-history .history-hero-actions .project-switcher{width:100%}.redesigned-history .history-hero-actions .project-switcher label{flex:1}.redesigned-history .history-hero-actions .project-switcher select{width:100%;min-width:0}.redesigned-history .history-new-button{width:100%}.redesigned-history .history-overview{grid-template-columns:repeat(3,1fr)}.redesigned-history .history-overview-note{grid-column:1 / -1;min-height:80px!important}}@media(max-width:760px){.redesigned-history .history-content{width:min(640px,calc(100% - 32px));margin:0 auto;padding:42px 0 46px}.redesigned-history .history-hero{min-height:auto;grid-template-columns:1fr;gap:24px}.redesigned-history .history-hero-copy{text-align:center}.redesigned-history .history-hero-copy p{margin-inline:auto}.redesigned-history .history-hero-art{display:none}.redesigned-history .history-hero-actions{width:100%;max-width:560px;margin:0 auto}.redesigned-history .history-hero-actions .project-switcher{align-items:stretch;flex-direction:column}.redesigned-history .history-hero-actions .project-switcher label,.redesigned-history .history-hero-actions .project-switcher select,.redesigned-history .history-hero-actions .project-switcher form,.redesigned-history .history-hero-actions .project-switcher input{width:100%}.redesigned-history .history-overview{grid-template-columns:1fr 1fr;margin-top:28px;padding:14px}.redesigned-history .history-overview>div{min-height:90px;padding:14px}.redesigned-history .history-overview-note{grid-column:1 / -1}.redesigned-history .conversation-history-item{min-height:142px;grid-template-columns:124px minmax(0,1fr) 42px;gap:16px;padding:16px}.redesigned-history .conversation-history-preview{width:124px;height:96px}.redesigned-history .conversation-history-arrow{width:42px;height:42px}}@media(max-width:520px){.redesigned-history .history-content{width:calc(100% - 24px);padding-top:30px}.redesigned-history .history-hero-copy h1{font-size:38px}.redesigned-history .history-hero-copy p{font-size:13px}.redesigned-history .history-overview{grid-template-columns:1fr;gap:8px;padding:10px}.redesigned-history .history-overview>div{min-height:76px;padding:13px}.redesigned-history .history-overview-note{grid-column:auto}.redesigned-history .history-section-heading{margin-top:32px}.redesigned-history .history-section-heading h2{font-size:24px}.redesigned-history .history-sort-label{width:34px;overflow:hidden;padding:0 9px;white-space:nowrap}.redesigned-history .history-sort-label svg{flex:0 0 14px}.redesigned-history .conversation-history-item{min-height:112px;grid-template-columns:82px minmax(0,1fr);gap:13px;padding:13px}.redesigned-history .conversation-history-preview{width:82px;height:82px}.redesigned-history .conversation-history-arrow{display:none}.redesigned-history .conversation-history-title{align-items:flex-start;flex-direction:column;gap:6px}.redesigned-history .conversation-history-title strong{max-width:100%;font-size:14px}.redesigned-history .conversation-history-main p{margin:7px 0 9px;font-size:11px}.redesigned-history .conversation-history-main small{flex-wrap:wrap;gap:5px;font-size:9px}.redesigned-history .history-template-tag{display:none}}body:has(.agent-workspace-page){--canvas: #fff8ee;--surface: #fffdf9;--surface-2: #fff3e2;--ink: #293039;--soft: #7a838d;--line: #ede1d0;--accent: #ff981f;--accent-soft: #fff0dc;--shadow-1: 0 1px 2px rgba(60, 41, 20, .04), 0 8px 24px rgba(74, 47, 21, .06);--shadow-2: 0 18px 50px rgba(79, 47, 18, .14)}body[data-theme=dark]:has(.agent-workspace-page){--canvas: #060d20;--surface: #0d152b;--surface-2: #121e3b;--ink: #f4f5ff;--soft: #a7b0cb;--line: #263251;--accent: #d557df;--accent-soft: #261d4b;--shadow-1: 0 1px 2px rgba(0, 0, 0, .22), 0 10px 26px rgba(0, 0, 0, .2);--shadow-2: 0 20px 60px rgba(0, 0, 0, .48)}.studio-app:has(.agent-workspace-page) .studio-topbar{border-bottom-color:var(--line);background:color-mix(in srgb,var(--surface) 92%,transparent);box-shadow:0 1px 16px #231b140a}.studio-app:has(.agent-workspace-page) .brand-mark{background:#202a36;box-shadow:0 4px 12px #191d2124}.studio-app:has(.agent-workspace-page) .brand-mark:before{background:var(--accent);box-shadow:11px 0 var(--surface),0 11px var(--surface)}.studio-app:has(.agent-workspace-page) .desktop-navigation a.active{border-color:color-mix(in srgb,var(--accent) 28%,var(--line));background:var(--accent-soft);color:var(--accent)}.studio-app:has(.agent-workspace-page) .desktop-navigation a.active svg{color:currentColor}.studio-app:has(.agent-workspace-page) .account-tools>.primary{border-radius:7px;background:#ff9b21;box-shadow:0 7px 18px #ff981f36}body[data-theme=dark] .studio-app:has(.agent-workspace-page) .studio-topbar{background:#050b1bf0;box-shadow:0 1px #b7b4ff12}body[data-theme=dark] .studio-app:has(.agent-workspace-page) .brand-mark{background:#111b37;box-shadow:0 4px 16px #644be23b}body[data-theme=dark] .studio-app:has(.agent-workspace-page) .brand-mark:before{background:#ec62c3;box-shadow:11px 0 #8c6dff,0 11px #fff}body[data-theme=dark] .studio-app:has(.agent-workspace-page) .desktop-navigation a.active{border-color:#b78dff45;background:#6242ad33;color:#c88bff}body[data-theme=dark] .studio-app:has(.agent-workspace-page) .account-tools>.primary{background:linear-gradient(110deg,#ed3d9e,#a664fa 58%,#4d79ff);box-shadow:0 8px 22px #884cff40}.agent-workspace-page,.agent-workspace-page .agent-result-panel,.agent-workspace-page .creative-canvas{background:var(--canvas)}.agent-workspace-page .agent-sidebar{top:26px;bottom:28px;left:20px;width:min(500px,calc(100% - 390px));padding:0 26px 18px;border-color:color-mix(in srgb,var(--line) 90%,transparent);border-radius:13px;background:color-mix(in srgb,var(--surface) 95%,transparent);box-shadow:0 16px 42px #4b30141c}.agent-workspace-page .agent-sidebar.is-collapsed{width:48px;padding:0}.agent-workspace-page .agent-chat-header{min-height:88px;gap:14px;border-bottom-color:var(--line)}.agent-workspace-page .agent-back-button{width:40px;height:40px;border-radius:7px}.agent-workspace-page .agent-chat-title{gap:5px}.agent-workspace-page .agent-chat-title>span{font-size:11px}.agent-workspace-page .agent-chat-title strong{font-size:16px}.agent-workspace-page .agent-live-dot{width:9px;height:9px;display:inline-block;border-radius:50%;background:#2bc18a;box-shadow:0 0 0 5px #2bc18a24}.agent-workspace-page .agent-sidebar .chat-thread{gap:18px;padding:27px 2px 22px}.agent-workspace-page .agent-sidebar .chat-message{width:92%}.agent-workspace-page .agent-sidebar .chat-avatar{color:var(--accent);background:var(--accent-soft);border-color:transparent}.agent-workspace-page .agent-sidebar .chat-copy small{font-size:10px}.agent-workspace-page .agent-sidebar .chat-copy p{padding:13px 15px;border:0;border-radius:0 13px 13px;background:var(--surface-2);font-size:13px;line-height:1.65}.agent-workspace-page .agent-sidebar .chat-message.user .chat-copy p{border:0;border-radius:13px 0 13px 13px;background:var(--accent)}.agent-workspace-page .agent-creation-form{padding-top:16px;border-top-color:var(--line)}.agent-workspace-page .agent-composer-box{border-color:var(--line);background:color-mix(in srgb,var(--surface) 97%,transparent);box-shadow:0 5px 18px #4b30140d}.agent-workspace-page .agent-attach-button,.agent-workspace-page .count-stepper,.agent-workspace-page .agent-send-button{border-radius:7px}.agent-workspace-page .agent-send-button{background:#ff9b21;box-shadow:0 6px 14px #ff981f33}.agent-workspace-page .canvas-floating-tools{top:14px;right:24px;min-height:60px;padding:7px;border-color:color-mix(in srgb,var(--line) 92%,transparent);border-radius:11px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 10px 30px #472f181f}.agent-workspace-page .canvas-floating-tools .icon-button,.agent-workspace-page .canvas-floating-tools .zoom-value{width:38px;height:38px}.agent-workspace-page .canvas-floating-tools .zoom-value{min-width:54px}.agent-workspace-page .canvas-stage{background:var(--canvas)}.canvas-minimap{position:absolute;z-index:8;right:22px;bottom:28px;width:222px;padding:12px;border:1px solid color-mix(in srgb,var(--line) 92%,transparent);border-radius:8px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 10px 28px #422d191a;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.canvas-minimap-preview{height:144px;overflow:hidden;border-bottom:1px solid var(--line);background:var(--surface-2)}.canvas-minimap-preview svg{width:100%;height:100%;display:block;cursor:crosshair;touch-action:none}.minimap-section{fill:color-mix(in srgb,var(--surface) 34%,transparent);stroke:var(--line-strong);stroke-width:1;stroke-dasharray:4 3}.minimap-node{fill:var(--ink-soft);stroke:color-mix(in srgb,var(--surface) 74%,transparent);stroke-width:.7}.minimap-node.image{fill:var(--success)}.minimap-node.generation{fill:var(--warning)}.minimap-node.text{fill:var(--info)}.minimap-node.selected{fill:var(--accent);stroke:var(--surface);stroke-width:1.8}.minimap-viewport{fill:color-mix(in srgb,var(--accent) 10%,transparent);stroke:var(--accent);stroke-width:2;vector-effect:non-scaling-stroke}.canvas-minimap-controls{display:grid;grid-template-columns:40px 1fr 40px 40px;gap:7px;padding-top:12px}.canvas-minimap .icon-button{width:40px;height:40px;border-radius:7px}.canvas-minimap-value{min-width:0;border:0;background:transparent;color:var(--ink);font-size:13px;font-weight:700}body[data-theme=dark] .agent-workspace-page .agent-sidebar{border-color:#687bbf3d;background:#0d152ee0;box-shadow:0 18px 46px #00000057}body[data-theme=dark] .agent-workspace-page .agent-live-dot{background:#e761bd;box-shadow:0 0 0 5px #e761bd21}body[data-theme=dark] .agent-workspace-page .agent-sidebar .chat-avatar{color:#e966cb;background:#a056e326}body[data-theme=dark] .agent-workspace-page .agent-sidebar .chat-copy p{background:#222d50bf;color:#e5e9fa}body[data-theme=dark] .agent-workspace-page .agent-sidebar .chat-message.user .chat-copy p{background:linear-gradient(110deg,#de469c,#8964f5)}body[data-theme=dark] .agent-workspace-page .agent-composer-box{background:#070e21cc;box-shadow:inset 0 1px #a3b0ff0f}body[data-theme=dark] .agent-workspace-page .agent-send-button{background:linear-gradient(110deg,#ef449e,#a462fa 62%,#5a78ff);box-shadow:0 6px 18px #7b53f54d}body[data-theme=dark] .agent-workspace-page .canvas-floating-tools,body[data-theme=dark] .canvas-minimap{border-color:#6b7cbf40;background:#0a122ae6;box-shadow:0 12px 34px #00000057}body[data-theme=dark] .canvas-minimap-preview{border-bottom-color:#6b7cbf33;background:#0a1430}body[data-theme=dark] .minimap-section{fill:#ffffff06;stroke:#5a615a}body[data-theme=dark] .minimap-node{stroke:#111613}@media(max-width:980px){.agent-workspace-page .agent-sidebar{position:relative;inset:auto;width:auto;margin:16px 20px 0;padding-inline:20px}.canvas-minimap{right:16px;bottom:20px}}@media(max-width:700px){.agent-workspace-page .agent-sidebar{margin:12px 14px 0;padding-inline:16px}.canvas-floating-tools{right:10px}.canvas-minimap{right:10px;bottom:14px;width:188px;padding:9px}.canvas-minimap-preview{height:112px}.canvas-minimap-controls{grid-template-columns:34px 1fr 34px 34px;gap:5px;padding-top:9px}.canvas-minimap .icon-button{width:34px;height:34px}}.agent-workspace-page{background:var(--canvas)}.agent-workspace-page .workspace-layout{position:relative;display:block}.agent-workspace-page .agent-result-panel{width:100%;height:100%}.agent-sidebar{position:absolute;z-index:12;top:16px;bottom:16px;left:16px;width:min(390px,calc(100% - 332px));height:auto;min-height:0;padding:0 20px 16px;overflow:hidden;background:color-mix(in srgb,var(--surface) 96%,transparent);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition:width .22s ease,height .22s ease,padding .22s ease,border-color .18s ease,background-color .18s ease}.agent-sidebar.is-collapsed{width:46px;padding:0;background:color-mix(in srgb,var(--surface) 94%,transparent)}.agent-chat-header{min-height:72px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.agent-back-button{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink)}.agent-back-button:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.agent-chat-title{min-width:0;display:grid;gap:4px}.agent-chat-title>span{display:inline-flex;align-items:center;gap:7px;color:var(--soft);font-size:10px;font-weight:700}.agent-chat-title strong{overflow:hidden;color:var(--ink);font-size:14px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.agent-panel-code{margin-left:auto;color:var(--soft);font:700 9px ui-monospace,monospace}.agent-collapse-button{width:30px;height:30px;flex:0 0 auto;display:grid;place-items:center;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--soft)}.agent-collapse-button:hover{background:var(--accent-soft);color:var(--accent)}.agent-live-dot{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 0 4px color-mix(in srgb,var(--success) 14%,transparent)}.agent-sidebar .chat-thread{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:14px;overflow-y:auto;border:0;padding:22px 2px 18px}.agent-sidebar .chat-message{width:88%;display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;margin:0;align-items:start}.agent-sidebar .chat-message.user{align-self:flex-end;grid-template-columns:minmax(0,1fr) 28px}.agent-sidebar .chat-message.user .chat-avatar{order:2}.agent-sidebar .chat-message.user .chat-copy{order:1;align-items:flex-end}.agent-sidebar .chat-avatar{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface-2);color:var(--accent);font-size:10px;font-weight:750}.agent-sidebar .chat-message.user .chat-avatar{border-color:var(--accent);background:var(--accent);color:#fff}.agent-sidebar .chat-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start}.agent-sidebar .chat-copy small{margin:1px 0 5px;color:var(--soft);font-size:9px}.agent-sidebar .chat-copy p{max-width:100%;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:4px 12px 12px;background:var(--surface-2);color:var(--ink);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.agent-sidebar .chat-message.user .chat-copy p{border-color:var(--accent);border-radius:12px 4px 12px 12px;background:var(--accent);color:#fff}.agent-template-options{display:grid;gap:7px;margin-top:7px}.agent-template-options button{width:100%;min-height:76px;display:grid;grid-template-columns:68px minmax(0,1fr);gap:9px;padding:7px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);text-align:left}.agent-template-options button:hover{border-color:var(--accent);background:var(--accent-soft)}.agent-template-options img{width:68px;height:60px;object-fit:cover;border-radius:3px}.agent-template-options button>span{min-width:0;display:grid;align-content:center;gap:2px}.agent-template-options small{color:var(--accent);font-size:9px;font-weight:800}.agent-template-options strong{overflow-wrap:anywhere;font-size:11px}.agent-template-options em{overflow-wrap:anywhere;color:var(--soft);font-size:9px;font-style:normal;line-height:1.45}.agent-draft-editor{display:grid;gap:8px;margin-top:8px;padding:10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface)}.agent-draft-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.agent-draft-heading span{font-size:11px;font-weight:800}.agent-draft-heading small{color:var(--accent);font-size:9px}.agent-draft-editor label{min-width:0;display:grid;gap:4px;color:var(--soft);font-size:9px;font-weight:700}.agent-draft-editor input,.agent-draft-editor select,.agent-draft-editor textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:4px;background:var(--surface-2);padding:7px 8px;color:var(--ink);font:inherit;line-height:1.45}.agent-draft-editor textarea{resize:vertical}.agent-draft-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}.agent-draft-toggle{display:flex!important;grid-template-columns:none;align-items:center;gap:7px!important}.agent-draft-toggle input{width:14px;height:14px;margin:0;accent-color:var(--accent)}.agent-draft-actions{display:flex;justify-content:flex-end;gap:6px}.agent-draft-actions button{min-height:30px;padding:0 10px;font-size:10px}.agent-draft-summary{display:flex;align-items:center;gap:6px;min-width:0;margin-top:7px;padding:7px 8px;border:1px solid var(--line);background:var(--surface);color:var(--soft);font-size:9px}.agent-draft-summary span{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-weight:700}.agent-draft-summary small{margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-thinking{display:flex;align-items:center;gap:6px}.agent-stream-waiting{width:40px;min-height:38px;display:grid;place-items:center;padding:0!important}.agent-streaming-copy:after{content:"";width:2px;height:1em;display:inline-block;margin-left:3px;background:var(--accent);vertical-align:-2px;animation:agent-stream-caret .8s steps(1) infinite}.agent-stop-button{border-color:var(--line);background:var(--ink);color:var(--surface)}.agent-composer-box .prompt-field textarea:disabled{cursor:default;opacity:.62}@keyframes agent-stream-caret{50%{opacity:0}}@media(prefers-reduced-motion:reduce){.agent-streaming-copy:after{animation:none}}.agent-creation-form{flex:0 0 auto;display:block;padding-top:14px;border-top:1px solid var(--line)}.agent-composer-box{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 6px 18px #11202d0f;overflow:hidden}.agent-composer-box .prompt-field textarea{display:block;width:100%;min-height:82px;margin:0;border:0;border-radius:0;background:transparent;padding:13px 14px 8px;color:var(--ink);font-size:12px;line-height:1.6;resize:vertical}.agent-composer-box .prompt-field textarea:focus{border:0;box-shadow:none;outline:0}.agent-composer-box .prompt-field textarea::placeholder{color:#8a979f}.agent-composer-toolbar{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;border-top:1px solid var(--line);background:var(--surface-2)}.agent-attach-button{min-height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--soft);cursor:pointer;font-size:10px;font-weight:700}.agent-attach-button:hover{border-color:var(--accent);color:var(--accent)}.agent-composer-actions{display:flex;align-items:center;gap:6px}.agent-composer-actions .count-stepper{height:30px;background:var(--surface)}.agent-composer-actions .count-stepper button{width:25px}.agent-composer-actions .count-stepper output{min-width:34px;font-size:10px}.agent-composer-actions .icon-button{width:30px;height:30px}.agent-composer-actions .agent-send-button{min-height:30px;padding:0 12px}.agent-reference-strip{display:flex;align-items:center;gap:10px;min-height:58px;padding:8px 0 7px;overflow:hidden}.agent-reference-label{flex:0 0 auto;display:grid;gap:2px;color:var(--soft);font-size:10px;font-weight:700}.agent-reference-label small{color:var(--accent);font-size:9px;font-weight:700}.agent-reference-list{min-width:0;display:flex;align-items:center;gap:6px;overflow-x:auto;padding:2px 1px}.agent-reference-list button,.agent-upload-state{position:relative;width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--soft)}.agent-reference-list button:hover,.agent-reference-list button.active{border-color:var(--accent)}.agent-reference-list button.active{box-shadow:0 0 0 2px var(--accent-soft)}.agent-reference-list button img{width:100%;height:100%;object-fit:cover}.agent-reference-list button>.agent-reference-check{position:absolute;right:3px;bottom:3px;width:16px;height:16px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:#fff}.agent-upload-state{border-style:dashed}.agent-sidebar .sidebar-notice{margin-top:9px}.agent-sidebar.is-collapsed .agent-chat-header{min-height:100%;justify-content:center;border:0}.agent-sidebar.is-collapsed .agent-back-button,.agent-sidebar.is-collapsed .agent-chat-title,.agent-sidebar.is-collapsed .agent-panel-code,.agent-sidebar.is-collapsed .chat-thread,.agent-sidebar.is-collapsed .agent-creation-form,.agent-sidebar.is-collapsed .sidebar-notice{display:none}.agent-sidebar.is-collapsed .agent-collapse-button{width:100%;height:100%;border-radius:0;color:var(--accent)}.agent-result-panel{min-width:0;min-height:100%;display:flex;flex-direction:column;background:var(--canvas)}.agent-result-panel .creative-canvas{flex:1;min-height:0;margin:0;background:var(--canvas)}.agent-result-panel .canvas-header{background:var(--surface)}.agent-result-panel .canvas-stage{background-color:#e3e9eb;background-image:linear-gradient(#d3dde0 1px,transparent 1px),linear-gradient(90deg,#d3dde0 1px,transparent 1px)}.agent-result-panel .canvas-inspector{background:var(--surface)}.create-workspace-page{background:var(--canvas)}.create-workspace-page .create-workspace-layout{position:relative;display:block}.workbench-result-panel{width:100%;height:100%;min-width:0;min-height:100%;display:flex;flex-direction:column;background:var(--canvas)}.workbench-result-panel .creative-canvas{flex:1;min-height:0;margin:0;background:var(--canvas)}.workbench-result-panel .canvas-stage{background-color:#e3e9eb;background-image:linear-gradient(#d3dde0 1px,transparent 1px),linear-gradient(90deg,#d3dde0 1px,transparent 1px)}.creation-sidebar.workbench-sidebar{position:absolute;z-index:12;top:16px;bottom:16px;left:16px;width:min(370px,calc(100% - 332px));height:auto;min-height:0;display:flex;flex-direction:column;padding:20px;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:var(--shadow-2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition:border-color .18s ease,background-color .18s ease}.creation-sidebar.workbench-sidebar.is-collapsed{width:46px;padding:0;background:color-mix(in srgb,var(--surface) 94%,transparent)}.workbench-panel-toggle{position:absolute;z-index:2;top:8px;right:8px;width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--soft)}.workbench-panel-toggle:hover{background:var(--accent-soft);color:var(--accent)}.workbench-sidebar:not(.is-collapsed) .creation-form{padding-top:34px}.workbench-sidebar.is-collapsed .workbench-panel-toggle{inset:0;width:46px;height:46px;border-radius:0;background:transparent;color:var(--accent)}.workbench-panel-header{min-height:72px;flex:0 0 auto;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line)}.workbench-panel-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--accent)}.workbench-panel-title{min-width:0;display:grid;gap:3px}.workbench-panel-title span{color:var(--soft);font-size:10px;font-weight:700}.workbench-panel-title strong{overflow:hidden;color:var(--ink);font-size:14px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.workbench-project-row{min-height:58px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.workbench-project-row>div{min-width:0}.workbench-project-row span,.workbench-project-row strong{display:block}.workbench-project-row>div span{color:var(--soft);font-size:9px}.workbench-project-row strong{margin-top:3px;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.workbench-project-row>span{flex:0 0 auto;color:var(--success);font-size:9px;font-weight:700}.creation-sidebar.workbench-sidebar .project-switcher{flex:0 0 auto;margin:13px 0 15px}.workbench-sidebar .creation-form{flex:1 1 auto;min-height:0;align-content:start;overflow-y:auto;padding:0 2px 2px 0}.workbench-sidebar .parameter-grid.single{grid-template-columns:1fr}.workbench-sidebar .prompt-field textarea{min-height:138px;resize:vertical}.workbench-sidebar .reference-assets{border-top:1px solid var(--line);padding-top:10px}.workbench-sidebar .reference-list{display:flex;align-items:center;gap:8px;max-height:none;margin-top:8px;overflow-x:auto;padding:2px 1px 4px}.workbench-sidebar .reference-thumb,.workbench-sidebar .reference-upload-tile{position:relative;width:54px;height:54px;min-height:54px;flex:0 0 54px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--soft)}.workbench-sidebar .reference-thumb:hover{border-color:var(--accent)}.workbench-sidebar .reference-thumb img{width:100%;height:100%;object-fit:cover}.workbench-sidebar .reference-thumb:disabled{cursor:wait;opacity:.7}.workbench-sidebar .pending-preview{cursor:wait;opacity:.78}.workbench-sidebar .reference-uploading{position:absolute;inset:0;display:grid;place-items:center;background:#17171561;color:#fff}.workbench-sidebar .reference-remove{position:absolute;top:3px;right:3px;width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:#171715b8;color:#fff}.workbench-sidebar .reference-upload-tile{border-style:dashed;cursor:pointer}.workbench-sidebar .reference-upload-tile:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.workbench-sidebar .generation-footer{position:sticky;bottom:0;padding-top:8px;background:color-mix(in srgb,var(--surface) 96%,transparent)}.workbench-sidebar .sidebar-notice{flex:0 0 auto}.workbench-sidebar.is-collapsed .workbench-panel-header{min-height:100%;justify-content:center;border:0}.workbench-sidebar.is-collapsed .agent-back-button,.workbench-sidebar.is-collapsed .workbench-panel-icon,.workbench-sidebar.is-collapsed .workbench-panel-title,.workbench-sidebar.is-collapsed .agent-panel-code,.workbench-sidebar.is-collapsed .workbench-project-row,.workbench-sidebar.is-collapsed .project-switcher,.workbench-sidebar.is-collapsed .creation-form,.workbench-sidebar.is-collapsed .sidebar-notice{display:none}.workbench-sidebar.is-collapsed .agent-collapse-button{width:100%;height:100%;border-radius:0;color:var(--accent)}@media(max-width:980px){.agent-workspace-page .workspace-layout{display:grid;grid-template-columns:1fr}.agent-sidebar{position:relative;top:auto;bottom:auto;left:auto;width:auto;min-height:520px;margin:16px 20px 0;padding-inline:20px}.agent-sidebar.is-collapsed{width:auto;min-height:46px;height:46px;padding:0}.agent-sidebar.is-collapsed .agent-chat-header{min-height:44px;justify-content:flex-start}.agent-sidebar.is-collapsed .agent-collapse-button{width:44px;height:44px}.agent-result-panel{min-height:780px}.create-workspace-page .create-workspace-layout{display:grid;grid-template-columns:1fr}.creation-sidebar.workbench-sidebar{position:relative;top:auto;bottom:auto;left:auto;width:auto;min-height:580px;margin:16px 20px 0;padding-inline:20px;box-shadow:var(--shadow-1)}.creation-sidebar.workbench-sidebar.is-collapsed{width:auto;min-height:46px;height:46px;padding:0}.workbench-sidebar.is-collapsed .workbench-panel-header{min-height:44px;justify-content:flex-start}.workbench-sidebar.is-collapsed .agent-collapse-button{width:44px;height:44px}.workbench-result-panel{min-height:780px}}@media(max-width:600px){.agent-sidebar{min-height:510px;margin:12px 14px 0;padding-inline:14px}.agent-chat-header{min-height:64px}.agent-sidebar .chat-message{width:94%}.agent-composer-toolbar{align-items:flex-start}.agent-composer-actions{gap:4px}.agent-composer-actions .count-stepper output{min-width:31px}.agent-composer-actions .agent-send-button{padding-inline:10px}.creation-sidebar.workbench-sidebar{min-height:560px;margin:12px 14px 0;padding-inline:14px}.workbench-panel-header{min-height:64px}}@media(max-width:980px){.agent-workspace-page .workspace-layout,.create-workspace-page .create-workspace-layout{position:relative;display:block}.agent-workspace-page .agent-sidebar,.creation-sidebar.workbench-sidebar{position:absolute;z-index:12;inset:12px 14px auto;width:auto;height:min(560px,calc(100% - 24px));min-height:0;margin:0}.agent-workspace-page .agent-sidebar.is-collapsed,.creation-sidebar.workbench-sidebar.is-collapsed{width:46px;height:46px;min-height:46px;left:14px;right:auto}.agent-workspace-page .agent-result-panel,.workbench-result-panel{min-height:100%}}.redesigned-history{background:#f2f4f2}.redesigned-history .content-section{width:min(1280px,calc(100% - 56px));padding:28px 0 36px}.history-hero{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-bottom:22px}.history-hero-copy h1{margin:7px 0 6px;color:#193039;font-size:38px;line-height:1;letter-spacing:0}.history-hero-copy p{max-width:520px;margin:0;color:#6e8085;font-size:12px;line-height:1.55}.history-hero-actions{display:flex;align-items:flex-end;gap:10px}.history-hero-actions .project-switcher{align-items:flex-end}.history-hero-actions .project-switcher label>span{color:#819296}.history-hero-actions .project-switcher select,.history-hero-actions .project-switcher input{background:#fff;border-color:#d6e0e0}.history-new-button{min-height:40px;background:#193039}.history-overview{display:grid;grid-template-columns:1fr .55fr .8fr 1.6fr;min-height:68px;border-top:1px solid #cbd6d8;border-bottom:1px solid #cbd6d8;background:#ffffff73}.history-overview>div{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:11px 18px;border-right:1px solid #d6e0e0}.history-overview>div:last-child{border-right:0}.history-overview span{color:#7a8d91;font-size:10px}.history-overview strong{overflow:hidden;color:#193039;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.history-overview strong small{color:#7a8d91;font-size:10px;font-weight:500}.history-overview-note{flex-direction:row!important;align-items:center;gap:10px!important;color:#698084}.history-overview-note svg{flex:0 0 auto;color:#ef725c}.history-overview-note span{color:#698084;font-size:11px;line-height:1.5}.history-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:26px 0 12px}.history-section-heading h2{margin:4px 0 0;color:#193039;font-size:22px;letter-spacing:0}.history-section-heading h2 small{margin-left:5px;color:#92a0a2;font:700 10px/1 ui-monospace,monospace;vertical-align:middle}.history-sort-label{display:inline-flex;align-items:center;gap:5px;color:#7a8d91;font-size:10px}.redesigned-history .conversation-history-list{gap:8px}.redesigned-history .conversation-history-item{grid-template-columns:112px minmax(0,1fr) auto;gap:16px;min-height:88px;padding:9px;border-color:#d6e0e0;border-radius:7px;background:#fffc;box-shadow:0 4px 14px #253d4409}.redesigned-history .conversation-history-item:hover{border-color:#ef725c;box-shadow:0 10px 28px #253d4417;transform:translateY(-2px)}.redesigned-history .conversation-history-preview{position:relative;width:112px;height:70px;border-radius:6px;background:#e6ecec}.redesigned-history .conversation-history-preview img{transition:transform .25s ease}.redesigned-history .conversation-history-item:hover .conversation-history-preview img{transform:scale(1.04)}.history-preview-index{position:absolute;z-index:1;right:7px;bottom:6px;padding:3px 5px;border-radius:4px;background:#193039d6;color:#fff;font:700 9px ui-monospace,monospace}.redesigned-history .conversation-history-title strong{color:#193039;font-size:15px}.redesigned-history .conversation-history-main p{margin:6px 0 8px;color:#71858a;font-size:12px}.redesigned-history .conversation-history-main small{color:#87979a;font-size:10px}.redesigned-history .conversation-history-main small i{width:3px;height:3px;margin:0 4px;border-radius:50%;background:#b5c2c3}.redesigned-history .conversation-history-arrow{width:34px;height:34px;align-self:center;display:grid;place-items:center;border:1px solid #d6e0e0;border-radius:50%;color:#193039}.redesigned-history .conversation-history-item:hover .conversation-history-arrow{border-color:#ef725c;background:#fff0ec;color:#ef725c}.redesigned-history .history-status{border-radius:999px;padding:4px 8px;font-size:9px}.redesigned-history .history-state{min-height:250px;border:1px dashed #cbd6d8;border-radius:8px;background:#ffffff73}@media(max-width:820px){.redesigned-history .content-section{width:min(100% - 32px,680px);padding-top:24px}.history-hero{align-items:stretch;flex-direction:column;gap:18px;padding-bottom:20px}.history-hero-actions{align-items:stretch;flex-direction:column}.history-hero-actions .project-switcher,.history-hero-actions .history-new-button{width:100%}.history-overview{grid-template-columns:1fr 1fr}.history-overview>div:nth-child(2){border-right:0}.history-overview-note{grid-column:1 / -1;border-top:1px solid #d6e0e0}.redesigned-history .conversation-history-item{grid-template-columns:92px minmax(0,1fr) auto;gap:13px}.redesigned-history .conversation-history-preview{width:92px;height:78px}}@media(max-width:520px){.history-hero-copy h1{font-size:32px}.history-hero-copy p{max-width:300px}.history-overview>div{padding:10px 12px}.history-overview-note{display:none!important}.history-section-heading{margin-top:22px}.history-sort-label{display:none}.redesigned-history .conversation-history-item{grid-template-columns:68px minmax(0,1fr);gap:11px;padding:9px}.redesigned-history .conversation-history-preview{width:68px;height:66px}.redesigned-history .conversation-history-arrow{display:none}.redesigned-history .conversation-history-title{align-items:flex-start;flex-direction:column;gap:5px}}@media(max-width:980px){.agent-workspace-page .workspace-layout{grid-template-columns:1fr}.agent-sidebar{padding-inline:20px}.agent-result-panel{min-height:780px}.agent-result-intro{padding-inline:20px}}@media(max-width:600px){.agent-result-intro{align-items:flex-start;flex-direction:column;gap:12px;padding:20px 16px 16px}.agent-result-intro h2{font-size:20px}.agent-sidebar-heading{padding-top:22px}.agent-sidebar{padding-inline:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;transition-duration:1ms!important;scroll-behavior:auto!important}}:root{--canvas: #f6f8fa;--surface: #ffffff;--surface-2: #eef2f5;--ink: #16212b;--soft: #667480;--line: #d8e0e6;--accent: #ec5a4d;--accent-soft: #fff0ed;--success: #16805d;--warning: #aa6714;--danger: #c54452;--topbar: 68px;--radius-sm: 6px;--radius: 10px;--shadow-1: 0 1px 2px rgba(17, 32, 45, .04), 0 8px 24px rgba(17, 32, 45, .05);--shadow-2: 0 18px 50px rgba(17, 32, 45, .14)}body[data-theme=dark]{--canvas: #11181e;--surface: #182129;--surface-2: #202c35;--ink: #f2f5f7;--soft: #a6b2ba;--line: #33424d;--accent: #f06a5c;--accent-soft: #3b2526;--success: #63c79d;--warning: #e8b15b;--danger: #ff8990;--shadow-1: 0 1px 2px rgba(0, 0, 0, .18), 0 8px 24px rgba(0, 0, 0, .14);--shadow-2: 0 20px 54px rgba(0, 0, 0, .42)}html{background:var(--canvas)}body{background:var(--canvas);color:var(--ink);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-size:13px}button,a,input,select,textarea{transition:border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 34%,transparent);outline-offset:2px}.primary,.primary-button,.secondary,.quiet-button,.text-command{min-height:40px;border-radius:var(--radius-sm);padding-inline:14px;font-weight:760}.primary,.primary-button{box-shadow:0 5px 14px #ec5a4d2e}.primary:hover,.primary-button:hover{background:color-mix(in srgb,var(--accent) 88%,#000);transform:translateY(-1px)}.secondary,.quiet-button{border-color:var(--line);background:var(--surface);box-shadow:0 1px 1px #11202d08}.secondary:hover,.quiet-button:hover{border-color:color-mix(in srgb,var(--accent) 36%,var(--line));background:var(--surface-2)}.text-command{color:var(--accent)}.text-command:hover{color:var(--ink)}.icon-button,.avatar-button{border-radius:var(--radius-sm)}.icon-button:hover{border-color:color-mix(in srgb,var(--accent) 38%,var(--line));color:var(--accent);background:var(--accent-soft)}.icon-button.inverse:hover{color:#fff;border-color:#8d5a53;background:#34312e}.compact{min-height:34px;font-size:12px}.studio-topbar{height:var(--topbar);padding:0 28px;gap:24px;border-bottom-color:var(--line);background:color-mix(in srgb,var(--surface) 90%,transparent);box-shadow:0 1px #11202d05}.studio-brand{gap:9px;font-size:15px}.studio-brand strong{font-size:15px;letter-spacing:-.01em}.brand-mark{width:30px;height:30px;border-radius:8px;background:var(--ink);box-shadow:0 3px 10px #11202d29}.brand-mark:before{width:7px;height:7px;left:6px;top:6px;background:var(--accent);box-shadow:11px 0 var(--surface),0 11px var(--surface)}.desktop-navigation{gap:3px}.desktop-navigation a{height:38px;margin-top:0;padding:0 12px;border:1px solid transparent;border-radius:var(--radius-sm);font-size:12px;font-weight:650}.desktop-navigation a:hover{background:var(--surface-2);border-color:var(--line)}.desktop-navigation a.active{color:var(--ink);background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 28%,var(--line));box-shadow:none}.desktop-navigation a.active svg{color:var(--accent)}.account-tools{gap:8px}.account-email{max-width:180px;font-size:11px}.avatar-button{padding:0 8px 0 4px;box-shadow:none}.account-menu{border-radius:var(--radius);box-shadow:var(--shadow-2)}.content-section{width:min(1320px,calc(100% - 56px));padding:42px 0}.page-intro{padding-top:44px}.section-heading{margin-bottom:22px}.section-heading h1{font-size:clamp(32px,4vw,44px);letter-spacing:-.035em}.section-heading h2{font-size:28px;letter-spacing:-.025em}.section-heading p{font-size:12px}.eyebrow{letter-spacing:.08em;font-size:9px}.creation-hero{min-height:438px;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);background:#182127}.creation-console{width:min(760px,calc(100% - 72px));padding:62px 0}.creation-console h1{margin:10px 0 26px;font-size:clamp(40px,4.6vw,58px);letter-spacing:-.045em}.hero-prompt{padding:17px 0 14px;border-top-color:#ffffff3d;border-bottom-color:#ffffff24}.hero-prompt textarea{min-height:92px;font-size:16px;line-height:1.65}.hero-prompt>div{align-items:center}.hero-status{margin-top:16px;font-size:11px;color:#b3bec5}.hero-image-rail{height:438px;border-left-color:#ffffff1f}.hero-image-rail img{filter:saturate(.72) contrast(.96)}.hero-side-panel{min-width:0;display:grid;grid-template-rows:minmax(0,1fr) 180px;border-left:1px solid rgba(255,255,255,.12);background:#202c32}.hero-summary{padding:30px 28px 22px;color:#f5f8f9}.hero-summary>strong{display:block;max-width:280px;margin-top:10px;font-size:22px;line-height:1.18;letter-spacing:-.025em}.hero-summary>p{max-width:300px;margin:12px 0 0;color:#b6c0c5;font-size:12px;line-height:1.65}.hero-summary-list{margin-top:22px;border-top:1px solid rgba(255,255,255,.15)}.hero-summary-row{display:grid;gap:3px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12)}.hero-summary-row span{font-size:12px;font-weight:720}.hero-summary-row small{color:#9eabb1;font-size:10px}.hero-summary-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px}.hero-summary-actions .secondary{min-height:38px;background:#f5f7f7;color:#17232b}.hero-summary-actions .text-command{min-height:auto;color:#f5b1a6}.hero-side-panel .hero-image-rail{height:180px;border:0}.scene-band{min-height:78px;background:var(--surface);box-shadow:0 1px 0 var(--line)}.scene-band button{gap:8px;font-size:12px;font-weight:680}.scene-band button svg{color:var(--soft)}.scene-band button:hover,.scene-band button.active{background:var(--accent-soft);color:var(--ink)}.scene-band button.active svg{color:var(--accent)}.artwork-grid{gap:18px}.artwork-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden;box-shadow:var(--shadow-1)}.artwork-frame{border-radius:0}.artwork-frame img{transition:transform .28s ease,filter .28s ease}.artwork-frame:hover img{transform:scale(1.035);filter:saturate(1.04)}.frame-index{left:10px;bottom:10px;border-radius:4px;background:#11212bd1}.artwork-meta{min-height:68px;padding:0 11px;border-bottom:0}.artwork-meta strong{font-size:12px}.artwork-meta span{font-size:10px;color:var(--soft)}.artwork-actions{gap:2px}.artwork-actions .icon-button{width:30px;height:30px;border-radius:5px}.empty-band{min-height:100px;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-1)}.showcase-strip{margin-top:14px;gap:6px;height:96px;border-radius:var(--radius)}.showcase-strip img{height:96px;opacity:.62;filter:saturate(.62)}.filter-bar{margin:16px 0 22px;gap:7px}.filter-bar button,.filter-row button{min-height:34px;border-radius:7px;background:var(--surface);border-color:var(--line);font-size:11px;font-weight:650}.filter-bar button:hover,.filter-row button:hover{border-color:color-mix(in srgb,var(--accent) 38%,var(--line));color:var(--accent)}.filter-bar button.active,.filter-row button.selected{background:var(--ink);border-color:var(--ink);color:var(--surface)}.template-catalog{gap:24px 18px}.template-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden;box-shadow:var(--shadow-1)}.template-image{border-radius:0}.template-image span{top:10px;left:10px;border-radius:4px;background:#11212bd1}.template-copy{padding:16px}.template-copy h2{margin:7px 0;font-size:16px;letter-spacing:-.01em}.template-copy p{min-height:40px;font-size:11px}.field-tags{margin:13px 0}.field-tags span{border-left-color:var(--accent);border-radius:3px;background:var(--surface-2)}.billing-summary{border-top-color:var(--line);border-bottom-color:var(--line);background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-1);overflow:hidden}.billing-summary>div{min-height:104px;padding:18px}.pricing-grid{gap:16px}.price-card{min-height:365px;border-radius:var(--radius);box-shadow:var(--shadow-1)}.price-card.featured{box-shadow:0 0 0 1px var(--accent),var(--shadow-1)}.project-switcher select,.project-switcher input,.project-control select,.project-control input,.library-toolbar label,.library-toolbar select{border-radius:var(--radius-sm);border-color:var(--line)}.project-switcher select:focus,.project-switcher input:focus,.project-control select:focus,.project-control input:focus,.library-toolbar label:focus-within,.library-toolbar select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:0}.library-controls{border-top-color:var(--line)}.library-toolbar{border-bottom-color:var(--line)}.library-grid{gap:18px}.library-artwork{padding:6px;border-radius:var(--radius)}.library-artwork.selected{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.selection-box{top:12px;left:12px;border-radius:5px;background:#11212bdb}.commerce-shell{background:var(--canvas)}.page-band{padding:32px max(28px,calc((100% - 1320px)/2)) 22px}.page-band h1{font-size:40px;letter-spacing:-.035em}.notice{margin-inline:max(28px,calc((100% - 1320px)/2));border-radius:0 var(--radius-sm) var(--radius-sm) 0}.commerce-layout{grid-template-columns:330px minmax(0,1fr);min-height:calc(100vh - 164px)}.brief-panel{padding:24px 20px;border-right-color:var(--line);box-shadow:5px 0 18px #11202d08}.panel-heading,.sidebar-heading{padding-bottom:16px;border-bottom-color:var(--line)}.panel-heading>span,.sidebar-heading>span{font-size:20px}.brief-panel input:not([type=checkbox]),.brief-panel textarea,.parameter-grid select,.prompt-field textarea{border-radius:var(--radius-sm);border-color:var(--line)}.brief-panel input:not([type=checkbox]):focus,.brief-panel textarea:focus,.parameter-grid select:focus,.prompt-field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:0}.upload-control{border-radius:var(--radius-sm);background:var(--surface-2)}.asset-row,.asset-remove,.template-grid button,.preset-control button{border-radius:var(--radius-sm)}.asset-row:hover,.template-grid button:hover,.preset-control button:hover{border-color:color-mix(in srgb,var(--accent) 38%,var(--line))}.proofing-area{padding:24px 28px 42px}.job-strip{border-top-color:var(--line)}.candidate-grid{gap:14px}.candidate{border-radius:var(--radius);padding:7px;box-shadow:var(--shadow-1)}.candidate.selected{padding:6px;box-shadow:0 0 0 2px var(--accent),var(--shadow-1)}.candidate-image{border-radius:7px}.candidate-actions button{border-radius:6px}.canvas-workspace{border-top-color:var(--line)}.stage-shell{border-radius:var(--radius);background:#dfe7e8}.workspace-page{height:calc(100vh - var(--topbar));background:var(--canvas)}.workspace-layout{grid-template-columns:328px minmax(0,1fr)}.creation-sidebar{padding:20px;border-right-color:var(--line);box-shadow:5px 0 18px #11202d08}.creation-sidebar .project-switcher{margin:16px 0 20px}.creation-form{gap:15px}.segmented{border-radius:8px;padding:4px}.segmented button{border-radius:5px;font-size:12px;font-weight:650}.segmented button.active{box-shadow:var(--shadow-1)}.prompt-field textarea{min-height:126px}.reference-assets{padding-top:13px}.reference-list button{border-radius:6px}.count-stepper{border-radius:var(--radius-sm)}.sidebar-notice{border-radius:0 var(--radius-sm) var(--radius-sm) 0}.chat-thread{border-color:var(--line)}.chat-message p{border-radius:0 7px 7px}.creative-canvas{background:var(--canvas)}.canvas-header{min-height:70px;padding:12px 18px;border-bottom-color:var(--line)}.canvas-tools .icon-button,.zoom-value{border-radius:6px}.canvas-progress{min-height:30px}.canvas-and-inspector{grid-template-columns:minmax(0,1fr) 276px}.canvas-stage{background-color:#dfe7e8;background-image:linear-gradient(#cbd6d8 1px,transparent 1px),linear-gradient(90deg,#cbd6d8 1px,transparent 1px);background-size:26px 26px}body[data-theme=dark] .canvas-stage{background-color:#202b31;background-image:linear-gradient(#2b3941 1px,transparent 1px),linear-gradient(90deg,#2b3941 1px,transparent 1px)}.canvas-image-actions{position:absolute;z-index:5;display:flex;align-items:center;gap:4px;max-width:calc(100% - 24px);padding:5px;overflow-x:auto;border:1px solid var(--line);border-radius:7px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:var(--shadow-2);transform:translate(-50%,-100%)}.canvas-image-actions.below{transform:translate(-50%)}.canvas-image-actions button{min-height:32px;flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:var(--ink);font-size:10px;font-weight:700;white-space:nowrap}.canvas-image-actions button:not(:disabled):hover{background:var(--accent-soft);color:var(--accent)}.canvas-image-actions button.future-action{color:var(--ink-soft)}.canvas-image-actions button.future-action:disabled{cursor:not-allowed;opacity:.72}.image-edit-dialog-backdrop{--edit-accent: #ff9f0a;--edit-accent-soft: #fff5e3;position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:clamp(12px,3vw,30px);background:#10181f75;-webkit-backdrop-filter:blur(12px) saturate(1.05);backdrop-filter:blur(12px) saturate(1.05);animation:image-edit-backdrop-in .18s ease-out both}body[data-theme=dark] .image-edit-dialog-backdrop{--edit-accent: #7d75ff;--edit-accent-soft: #24234c;background:#040714a3}@keyframes image-edit-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes image-edit-dialog-in{0%{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.image-edit-dialog{position:relative;isolation:isolate;width:min(760px,100%);max-height:min(860px,calc(100vh - 44px));overflow:auto;padding:0 22px 22px;border:1px solid color-mix(in srgb,var(--line) 86%,var(--edit-accent));border-radius:14px;background:var(--surface);box-shadow:0 24px 70px #11202d38,0 2px 4px #11202d14;animation:image-edit-dialog-in .24s cubic-bezier(.22,1,.36,1) both}body[data-theme=dark] .image-edit-dialog{box-shadow:0 26px 72px #0000007a,0 2px 5px #0000003d}.image-edit-dialog:before{content:"";position:absolute;z-index:3;inset:0 0 auto;height:4px;border-radius:14px 14px 0 0;background:var(--edit-accent)}.image-edit-dialog header,.image-edit-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.image-edit-dialog-header{position:sticky;z-index:2;top:0;min-height:94px;margin:0 -22px 2px;padding:22px 22px 16px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--surface) 94%,var(--edit-accent-soft))}.image-edit-dialog-heading{min-width:0;display:grid;gap:4px}.image-edit-kicker{color:var(--edit-accent);font:800 9px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em}.image-edit-dialog header strong{color:var(--ink);font-size:22px;font-weight:820;line-height:1.15}.image-edit-dialog header span,.image-edit-section-heading span{color:var(--soft);font-size:12px;line-height:1.45}.image-edit-dialog-heading>span:last-child{max-width:520px}.image-edit-source-preview{position:relative;width:56px;height:56px;flex:0 0 56px;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 70%,var(--edit-accent));border-radius:9px;background:var(--surface-2);box-shadow:0 4px 12px #11202d14}.image-edit-source-preview img{width:100%;height:100%;display:block;object-fit:cover}.image-edit-source-preview span{position:absolute;right:4px;bottom:4px;padding:2px 4px;border-radius:3px;background:#11202db8;color:#fff;font-size:8px;line-height:1}.image-edit-dialog .image-edit-close{width:36px;height:36px;border-radius:8px;background:var(--surface)}.image-edit-dialog .image-edit-close:hover{border-color:var(--edit-accent);background:var(--edit-accent-soft);color:var(--edit-accent)}.image-edit-dialog label{display:grid;gap:7px;margin:16px 0;color:var(--ink);font-size:13px}.image-edit-dialog label>span{color:var(--soft);font-weight:700}.image-edit-dialog textarea,.image-edit-dialog input:not([type=range]){width:100%;min-height:42px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:9px 11px}.image-edit-dialog textarea{min-height:92px;resize:vertical;line-height:1.55}.image-edit-dialog textarea::placeholder,.image-edit-dialog input::placeholder{color:color-mix(in srgb,var(--soft) 72%,transparent)}.image-edit-dialog textarea:focus,.image-edit-dialog input:not([type=range]):focus{border-color:var(--edit-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--edit-accent) 18%,transparent);outline:0}.image-edit-dialog-footer{position:sticky;z-index:2;bottom:-22px;margin:18px -22px -22px;padding:15px 22px 22px;justify-content:flex-end!important;border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 -10px 24px color-mix(in srgb,var(--surface) 76%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.image-edit-dialog-footer button{min-height:42px}.image-edit-dialog-footer .secondary{min-width:76px}.image-edit-dialog-footer .primary{min-width:142px;display:inline-flex;align-items:center;gap:7px;border:0;background:linear-gradient(110deg,#ff8a21,#ffb400);color:#fff;box-shadow:0 9px 20px #ff9e173d}body[data-theme=dark] .image-edit-dialog-footer .primary{background:linear-gradient(110deg,#ff2b83,#8b52ff 58%,#228cff);box-shadow:0 10px 24px #3a5bff40}.image-edit-dialog-footer .primary:hover{filter:brightness(1.04);transform:translateY(-1px)}.pricing-credit-console>strong{display:block}.credit-value-example{display:flex;align-items:center;gap:9px;margin-top:20px;color:var(--accent)}.credit-value-example span{color:var(--ink);font-size:12px}.credit-value-example b{font-size:25px}.credit-value-example em{margin-left:auto;color:var(--soft);font-size:11px;font-style:normal}.pricing-catalog-state{margin:0;padding:26px;border:1px dashed var(--line);border-radius:7px;color:var(--soft);font-size:11px;text-align:center}.pricing-catalog-state.error{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--danger)}.pricing-catalog-state .secondary{min-height:32px}.credit-pack-section{padding-top:12px}.credit-pack-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.credit-pack-card{min-height:246px!important}.credit-pack-card .price-card-heading{min-height:105px}.credit-pack-card .price-row{margin-top:10px}.credit-pack-card .plan-credit{min-height:42px;margin:12px 0 15px}.credit-pack-card .plan-credit strong{font-size:15px}.credit-pack-card .plan-credit span{line-height:1.3}.generation-credit-preview>span:first-child{min-width:0}.generation-credit-preview>span:first-child small{display:block;margin-top:3px;color:var(--soft);font-size:9px}.generation-credit-preview.unavailable{border-left-color:var(--warning);background:var(--warning-soft);color:var(--danger)}.commerce-generation-footer>span small+small{color:var(--accent)}.commerce-generation-footer.is-unavailable{color:var(--danger)}.image-edit-price-preview{min-width:0;margin-right:auto}.image-edit-price-preview strong,.image-edit-price-preview small{display:block}.image-edit-price-preview strong{color:var(--ink);font-size:11px}.image-edit-price-preview small{margin-top:4px;color:var(--soft);font-size:9px}.image-edit-price-preview.unavailable strong{color:var(--danger)}@media(max-width:800px){.credit-pack-grid{grid-template-columns:1fr!important}}.image-edit-section{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--surface-2) 72%,var(--surface))}.image-edit-section-heading{display:grid;gap:4px;margin-bottom:13px;padding-bottom:10px;border-bottom:1px solid color-mix(in srgb,var(--line) 78%,transparent)}.image-edit-section-heading strong{font-size:14px;font-weight:780}.image-edit-preset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.image-edit-preset-grid button,.image-edit-preset-row button{min-height:54px;display:grid;align-content:center;gap:3px;padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);text-align:left;color:var(--ink);font-size:11px}.image-edit-preset-grid button:hover,.image-edit-preset-row button:hover{border-color:color-mix(in srgb,var(--edit-accent) 45%,var(--line));background:color-mix(in srgb,var(--edit-accent-soft) 48%,var(--surface));transform:translateY(-1px)}.image-edit-preset-grid button span,.image-edit-preset-row button span{color:var(--soft);font-size:10px;line-height:1.3}.image-edit-preset-grid button.active,.image-edit-preset-row button.active,.mask-tool-toggle button.active{border-color:var(--edit-accent);background:var(--edit-accent-soft);color:color-mix(in srgb,var(--edit-accent) 72%,var(--ink));box-shadow:inset 3px 0 var(--edit-accent)}.image-edit-slider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin-top:15px}.image-edit-slider-grid label,.mask-editor-controls label{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin:0;color:var(--soft);font-size:11px}.image-edit-slider-grid output,.mask-editor-controls output{min-width:38px;color:var(--ink);font-variant-numeric:tabular-nums;text-align:right}.image-edit-slider-grid input,.mask-editor-controls input{min-width:0;accent-color:var(--edit-accent)}.image-edit-slider-grid input[type=range],.mask-editor-controls input[type=range],.image-edit-detail-grid input[type=range]{height:5px;cursor:pointer}.image-edit-prompt{margin:17px 0!important}.image-edit-preset-row{display:flex;flex-wrap:wrap;gap:8px}.image-edit-preset-row button{flex:1 1 112px;min-height:44px}.image-edit-source-info,.image-edit-output-info{margin:11px 0 0;color:var(--soft);font-size:11px}.image-edit-source-info img{display:none}.outpaint-control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-width:410px;margin:14px auto 0}.outpaint-control-grid label{margin:0}.outpaint-control-grid label:first-child{grid-column:2}.outpaint-control-grid label:last-child{grid-column:2}.outpaint-control-grid input{width:100%}.outpaint-origin{display:grid;place-items:center;min-height:70px;border:1px dashed color-mix(in srgb,var(--edit-accent) 45%,var(--line));border-radius:8px;background:color-mix(in srgb,var(--edit-accent-soft) 48%,var(--surface));color:var(--soft);font-size:11px;line-height:1.3;text-align:center}.text-replacement-list{display:grid;gap:9px}.text-replacement-row{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);align-items:center;gap:10px;margin:0!important}.text-replacement-source{min-width:0;min-height:42px;display:flex;align-items:center;overflow:hidden;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--soft);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.text-replacement-row input{min-width:0;margin:0}.image-edit-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.image-edit-detail-grid label{margin:0}.image-edit-detail-grid label:last-child{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.image-edit-detail-grid input{min-width:0}.image-edit-detail-grid output{min-width:38px;color:var(--ink);font-variant-numeric:tabular-nums;text-align:right}.multi-angle-stage{position:relative;display:grid;min-height:290px;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--surface);cursor:grab;perspective:900px;touch-action:none;-webkit-user-select:none;user-select:none}.multi-angle-stage.is-dragging{cursor:grabbing}.multi-angle-stage-grid{position:absolute;inset:50% -30% -42%;opacity:.58;transform:perspective(520px) rotateX(60deg);transform-origin:top;background-image:linear-gradient(color-mix(in srgb,var(--line) 55%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--line) 55%,transparent) 1px,transparent 1px);background-size:24px 24px}.multi-angle-object{position:relative;width:min(46%,230px);aspect-ratio:4 / 3;transform-style:preserve-3d;transition:transform .12s ease-out}.multi-angle-stage.is-dragging .multi-angle-object{transition:none}.multi-angle-face{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;border:2px solid color-mix(in srgb,var(--edit-accent) 72%,var(--line));border-radius:8px;backface-visibility:hidden;background:var(--surface-2);color:var(--soft);font:800 12px/1 monospace;box-shadow:0 12px 28px #11202d21}.multi-angle-face-front{transform:translateZ(12px)}.multi-angle-face-front img{width:100%;height:100%;object-fit:cover;pointer-events:none}.multi-angle-face-back{transform:rotateY(180deg) translateZ(12px);background:var(--edit-accent-soft);color:var(--edit-accent)}.multi-angle-edge{position:absolute;background:color-mix(in srgb,var(--edit-accent) 52%,var(--line))}.multi-angle-edge-top,.multi-angle-edge-bottom{left:0;width:100%;height:24px;transform:rotateX(90deg)}.multi-angle-edge-top{top:-12px;transform-origin:bottom}.multi-angle-edge-bottom{bottom:-12px;transform-origin:top}.multi-angle-edge-right,.multi-angle-edge-left{top:0;width:24px;height:100%;transform:rotateY(90deg)}.multi-angle-edge-right{right:-12px;transform-origin:left}.multi-angle-edge-left{left:-12px;transform-origin:right}.multi-angle-readout{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;gap:7px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:color-mix(in srgb,var(--surface) 92%,transparent);color:var(--soft);font-size:10px;font-variant-numeric:tabular-nums;box-shadow:0 5px 16px #11202d14;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.multi-angle-readout button{min-height:26px;padding:0 8px;border:0;border-radius:5px;background:var(--edit-accent-soft);color:color-mix(in srgb,var(--edit-accent) 72%,var(--ink));font-size:10px;font-weight:700}.mask-editor{display:grid;gap:11px;min-width:0;margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--surface-2) 72%,var(--surface))}.mask-editor legend{margin:0;padding:0;color:var(--ink);font-size:14px;font-weight:780}.mask-editor>p{margin:-3px 0 0;color:var(--soft);font-size:11px;line-height:1.45}.mask-editor-stage{position:relative;width:min(100%,560px);margin:1px auto 0;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 75%,var(--edit-accent));border-radius:9px;background-color:#fff;background-image:linear-gradient(45deg,#d5d5d5 25%,transparent 25%),linear-gradient(-45deg,#d5d5d5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d5d5d5 75%),linear-gradient(-45deg,transparent 75%,#d5d5d5 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px;box-shadow:inset 0 0 0 1px #ffffff73}.mask-editor-stage img,.mask-editor-stage canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.mask-editor-stage canvas{opacity:.52;cursor:crosshair;touch-action:none}.mask-editor-controls{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));gap:10px 13px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.mask-tool-toggle{display:flex;border:1px solid var(--line);border-radius:7px;overflow:hidden}.mask-tool-toggle button{min-height:32px;display:inline-flex;align-items:center;gap:4px;padding:0 9px;border:0;border-right:1px solid var(--line);background:var(--surface);font-size:11px}.mask-tool-toggle button:last-child{border-right:0}.mask-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--soft);font-size:11px}.mask-editor-footer>div{display:flex;gap:8px}.mask-editor-footer button{min-height:30px;display:inline-flex;align-items:center;gap:4px;padding:0 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--soft);font-size:11px}.mask-editor-footer button:hover{border-color:color-mix(in srgb,var(--edit-accent) 40%,var(--line));color:var(--edit-accent);background:var(--edit-accent-soft)}.image-edit-validation{margin:12px 0 0;padding:10px 12px;border-left:3px solid var(--danger);border-radius:0 7px 7px 0;background:color-mix(in srgb,var(--danger) 10%,var(--surface));color:var(--danger);font-size:12px}.canvas-image-action-panel{position:absolute;z-index:6;width:min(300px,calc(100% - 24px));min-height:50px;display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);box-shadow:var(--shadow-2);transform:translate(-50%,calc(-100% - 8px))}.canvas-image-action-panel.below{transform:translate(-50%,8px)}.canvas-image-action-panel strong,.canvas-image-action-panel span{display:block}.canvas-image-action-panel strong{flex:0 0 auto;font-size:11px}.canvas-image-action-panel span{min-width:0;color:var(--soft);font-size:10px;line-height:1.35}.canvas-image-action-panel .icon-button{width:24px;height:24px;min-width:24px;margin-left:auto;border:0;padding:0;font-size:16px}.canvas-inspector{border-left-color:var(--line);box-shadow:-5px 0 18px #11202d08}.inspector-tabs{min-height:48px}.inspector-tabs button{font-weight:650}.layer-row,.task-list>button{border-bottom-color:var(--line)}.layer-row.selected,.task-list>button.active{background:var(--accent-soft)}.auth-page{background:var(--canvas)}.auth-form-wrap{background:var(--surface)}.auth-panel{max-width:410px}.auth-dialog{border-radius:12px;box-shadow:var(--shadow-2)}.auth-dialog-form{background:var(--surface)}.profile-summary{border-top-color:var(--line);border-bottom-color:var(--line)}.profile-details>div{border-bottom-color:var(--line)}@media(max-width:1260px){.content-section{width:min(1180px,calc(100% - 42px))}.creation-hero{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}.workspace-layout{grid-template-columns:300px minmax(0,1fr)}}@media(max-width:980px){:root{--topbar: 60px}.studio-topbar{height:var(--topbar);padding:0 16px}.studio-content{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.mobile-navigation{height:calc(64px + env(safe-area-inset-bottom));padding:5px 8px env(safe-area-inset-bottom);background:color-mix(in srgb,var(--surface) 92%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 -8px 24px #11202d0f}.mobile-navigation a{min-height:48px;border-radius:7px;font-size:9px;font-weight:650}.mobile-navigation a.active{color:var(--accent);background:var(--accent-soft)}.creation-hero{grid-template-columns:1fr}.creation-console{width:min(760px,calc(100% - 42px))}.hero-side-panel{grid-template-rows:auto 145px;border-left:0;border-top:1px solid rgba(255,255,255,.12)}.hero-summary{padding:24px max(20px,calc((100% - 760px)/2)) 20px}.hero-summary>strong{max-width:520px}.hero-summary>p{max-width:560px}.hero-summary-list{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.hero-side-panel .hero-image-rail{height:145px;border-top:0}.hero-side-panel .hero-image-rail img:first-child{grid-row:auto}.scene-band{grid-template-columns:repeat(3,1fr)}.workspace-page{min-height:calc(100vh - var(--topbar) - 64px)}.workspace-layout{grid-template-columns:1fr}.creation-sidebar{box-shadow:none}.creative-canvas{height:780px}.canvas-inspector{box-shadow:none}}@media(max-width:700px){.content-section{width:calc(100% - 30px);padding:28px 0}.page-intro{padding-top:32px}.section-heading h1{font-size:34px}.creation-console{width:calc(100% - 30px);padding:42px 0 34px}.creation-console h1{font-size:40px}.hero-prompt textarea{min-height:120px;font-size:15px}.hero-image-rail{height:145px}.scene-band{display:flex;overflow-x:auto}.scene-band button{flex:0 0 118px;min-height:66px}.artwork-grid,.template-catalog,.library-grid{gap:12px}.template-copy{padding:13px}.page-band{padding:25px 16px 18px}.notice{margin-inline:16px}.brief-panel{padding:18px 16px}.proofing-area{padding:18px 16px 30px}.canvas-header{padding-inline:14px}.canvas-and-inspector{grid-template-rows:500px auto}.creative-canvas{height:auto}.canvas-image-actions{left:8px!important;right:8px;max-width:none;transform:translateY(-100%)}.canvas-image-actions.below{transform:none}.canvas-image-action-panel{left:8px!important;right:8px;width:auto;transform:translateY(calc(-100% - 8px))}.canvas-image-action-panel.below{transform:translateY(8px)}.image-edit-dialog-backdrop{align-items:end;padding:10px}.image-edit-dialog{max-height:calc(100vh - 20px);padding:0 16px 16px;border-radius:14px}.image-edit-dialog-header{min-height:82px;margin:0 -16px 2px;padding:19px 16px 13px}.image-edit-source-preview{width:46px;height:46px;flex-basis:46px}.image-edit-dialog .image-edit-close{width:34px;height:34px}.image-edit-dialog footer{bottom:-16px;margin:16px -16px -16px;padding:12px 16px 16px}.image-edit-dialog-footer .primary{min-width:0;flex:1}.image-edit-preset-grid,.image-edit-detail-grid,.image-edit-slider-grid{grid-template-columns:1fr}.mask-editor-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.mask-tool-toggle{grid-column:1 / -1;width:max-content}.mask-editor{padding:13px}.text-replacement-row{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.multi-angle-stage{min-height:230px}.multi-angle-object{width:min(58%,220px)}.multi-angle-readout{left:8px;right:8px;justify-content:center}.auth-page{grid-template-columns:1fr}.auth-visual{min-height:300px;height:39vh}.referral-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.referral-metrics>div:nth-child(2){border-right:0}.referral-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.referral-share-row{grid-template-columns:minmax(0,1fr) 38px 38px;padding:12px 0}.referral-share-row code{grid-column:1 / -1;grid-row:2}.referral-records{grid-template-columns:1fr;gap:24px}}@media(max-width:440px){.studio-brand strong{font-size:14px}.account-tools .theme-button,.topbar-credit-balance span{display:none}.topbar-credit-balance{width:38px;padding:0;justify-content:center}.account-identity,.account-chevron{display:none}.avatar-button{width:38px;padding:0;place-items:center}.content-section{width:calc(100% - 24px)}.creation-console h1{font-size:36px}.hero-prompt>div{align-items:stretch}.hero-prompt .primary{flex:1}.artwork-grid,.template-catalog,.library-grid{grid-template-columns:1fr}.mobile-navigation{padding-inline:5px}.mobile-navigation a:nth-child(3){display:none}.mobile-navigation{grid-template-columns:repeat(5,1fr)}}.redesigned-history{background:#fafbff}body{font-size:15px}button,input,select,textarea{font-size:14px}.compact{font-size:13px}.desktop-navigation a{font-size:14px}.account-email,.mobile-navigation a{font-size:12px}.section-heading p,.hero-summary>p,.hero-status,.template-copy p,.history-hero-copy p{font-size:14px}.eyebrow{font-size:11px}.scene-band button,.artwork-meta strong{font-size:14px}.artwork-meta span{font-size:12px}.filter-bar button,.filter-row button{font-size:13px}.commerce-panel-heading>div>span,.section-index,.page-kicker{font-size:12px}.commerce-panel-heading h2,.commerce-contact-heading h2{font-size:15px}.commerce-panel-heading>p,.save-indicator,.commerce-contact-heading small{font-size:13px}.commerce-form .field>span,.commerce-export-section .field>span,.template-fields label>span{font-size:13px}.commerce-form .has-error>small{font-size:12px}.commerce-upload strong,.commerce-reference-preview strong{font-size:13px}.commerce-upload small,.commerce-reference-preview small{font-size:12px}.commerce-toggle strong{font-size:13px}.commerce-template strong{font-size:12px}.commerce-template small{font-size:11px}.commerce-filters button{font-size:12px}.commerce-run-bar>div:first-child,.commerce-run-bar>button{font-size:13px}.commerce-frame-number,.commerce-selected-mark{font-size:11px}.commerce-candidate-meta strong{font-size:13px}.commerce-candidate-meta>div>span{font-size:11px}.candidate-status{font-size:10px}.candidate-status-actions button{font-size:11px}.commerce-empty strong{font-size:14px}.quality-preview>span,.quality-list strong,.quality-list small,.export-spec span,.export-spec small,.commerce-metrics span{font-size:11px}.export-spec strong,.commerce-metrics strong,.segmented button{font-size:14px}.canvas-image-actions button{font-size:12px}.canvas-image-action-panel strong{font-size:13px}.canvas-image-action-panel span{font-size:12px}.image-edit-kicker{font-size:11px}.image-edit-source-preview span{font-size:10px}.image-edit-dialog label{font-size:14px}.agent-workspace-page .agent-chat-title>span,.agent-workspace-page .agent-sidebar .chat-copy small,.agent-reference-label,.agent-attach-button,.agent-draft-actions button{font-size:12px}.agent-sidebar .chat-copy p,.agent-composer-box .prompt-field textarea{font-size:14px}.agent-template-options small,.agent-template-options em,.agent-draft-heading small,.agent-draft-editor label,.agent-reference-label small{font-size:11px}.agent-template-options strong,.agent-draft-heading span{font-size:13px}.agent-draft-actions button,.agent-draft-summary{font-size:12px}.agent-draft-summary small{font-size:11px}.workbench-panel-title span,.workbench-project-row>div span,.workbench-project-row>span{font-size:12px}.workbench-project-row strong{font-size:13px}.history-overview span,.history-overview strong small,.history-sort-label{font-size:12px}.history-overview-note span{font-size:13px}.history-section-heading h2 small,.history-preview-index{font-size:11px}.redesigned-history .history-status{font-size:12px}.credit-eyebrow{font-size:11px}.credit-management-header p,.credit-header-status small,.credit-balance-card>p,.credit-balance-card>a,.credit-usage-card header p,.credit-distribution-card header p,.credit-details-heading p,.credit-details-heading>span,.credit-help-panel p small{font-size:12px}.credit-header-status span,.credit-balance-top,.credit-balance-breakdown span,.credit-usage-stats span,.credit-donut small,.credit-donut span,.credit-donut-legend span,.credit-pagination,.credit-details-state,.credit-details-empty span,.credit-help-panel p strong{font-size:12px}.credit-balance-breakdown strong,.credit-usage-card h2,.credit-distribution-card h2,.credit-details-heading h2,.credit-help-panel h2{font-size:16px}.credit-select-label,.credit-filter-tabs button,.credit-details-actions input,.credit-export-button,.credit-type,.credit-description strong,.credit-description small,.credit-table-row time,.credit-delta small,.credit-after small,.credit-related,.credit-row-detail small,.credit-row-detail strong,.credit-row-detail span,.credit-pagination button,.credit-pagination select{font-size:11px}.credit-filter-tabs button small,.credit-usage-stats small,.credit-chart-y,.credit-chart-axis,.credit-chart-legend,.credit-donut-legend strong small,.credit-table-head,.credit-row-detail code{font-size:10px}.credit-delta strong{font-size:13px}.credit-details-empty strong{font-size:14px}@media(max-width:440px){.mobile-navigation a{font-size:12px}.section-heading p,.hero-summary>p,.template-copy p{font-size:13px}.redesigned-history .conversation-history-main p{font-size:13px}.redesigned-history .conversation-history-main small{font-size:11px}}.redesigned-history .conversation-history-list{gap:14px}.redesigned-history .conversation-history-item{min-height:170px;grid-template-columns:176px minmax(0,1fr) 54px;gap:24px;padding:24px 26px 24px 16px;border-color:#e6e7f3;border-radius:14px;background:#ffffffd1;box-shadow:0 9px 25px #514d890b}.redesigned-history .conversation-history-item:hover{border-color:#cfc7fb;box-shadow:0 15px 38px #514d891a}.redesigned-history .conversation-history-preview{width:176px;height:122px;border-radius:10px;background:#f1f2f8}.redesigned-history .conversation-history-main{padding:2px 0}.redesigned-history .conversation-history-title strong{color:#26374c;font-size:17px}.redesigned-history .conversation-history-main p{margin:12px 0 17px;color:#8794aa;font-size:13px}.redesigned-history .conversation-history-main small{color:#96a1b4;font-size:11px}.redesigned-history .conversation-history-main small i{width:4px;height:4px;margin:0 2px;background:#c2c8d6}.redesigned-history .history-status{padding:6px 12px;border-radius:999px;font-size:10px}.redesigned-history .conversation-history-arrow{width:54px;height:54px;border-color:#e1e3f0;color:#25364b}.redesigned-history .conversation-history-item:hover .conversation-history-arrow{border-color:#bcacf7;background:#f7f4ff;color:#7461d5}.redesigned-history .history-state{min-height:360px;border-color:#d9d9ec;border-radius:14px;background:#ffffffa6}body[data-theme=dark] .redesigned-history{background:#171824}body[data-theme=dark] .redesigned-history .conversation-history-item,body[data-theme=dark] .redesigned-history .history-state{border-color:#34364c;background:#1e1f2fc7}body[data-theme=dark] .redesigned-history .conversation-history-title strong{color:#eef0fb}@media(max-width:820px){.redesigned-history .conversation-history-item{min-height:142px;grid-template-columns:124px minmax(0,1fr) 42px;gap:16px;padding:16px}.redesigned-history .conversation-history-preview{width:124px;height:96px}.redesigned-history .conversation-history-arrow{width:42px;height:42px}}@media(max-width:560px){.redesigned-history .conversation-history-item{min-height:112px;grid-template-columns:82px minmax(0,1fr);gap:13px;padding:13px}.redesigned-history .conversation-history-preview{width:82px;height:82px}.redesigned-history .conversation-history-arrow{display:none}.redesigned-history .conversation-history-title{align-items:flex-start;flex-direction:column;gap:6px}.redesigned-history .conversation-history-title strong{max-width:100%;font-size:14px}.redesigned-history .conversation-history-main p{margin:7px 0 9px;font-size:11px}.redesigned-history .conversation-history-main small{flex-wrap:wrap;gap:5px;font-size:9px}}.security-settings-page{min-height:calc(100vh - var(--topbar));grid-template-columns:250px minmax(0,1fr)}.security-settings-main{min-width:0;padding:30px 32px 42px;background:var(--canvas)}.security-settings-main>*{width:min(1480px,100%);margin-inline:auto}.security-intro{position:relative;min-height:310px;display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.48fr);align-items:center;gap:24px;overflow:hidden;padding:12px 14px 20px 0}.security-intro-copy{position:relative;z-index:2;min-width:0}.security-title-row{display:flex;align-items:flex-start;gap:16px}.security-title-row>span{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:8px;background:var(--accent-soft);color:var(--accent);box-shadow:0 7px 18px color-mix(in srgb,var(--accent) 13%,transparent)}.security-title-row h1{margin:1px 0 0;color:var(--ink);font-size:31px;line-height:1.18;letter-spacing:0}.security-title-row p{margin:9px 0 0;color:var(--soft);font-size:13px}.security-summary-grid{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:14px;margin-top:52px}.security-score-card,.security-recommendation-card,.security-settings-card,.security-protection-card,.security-tips-card,.security-token-card{min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 8px 28px #2d39410a}.security-score-card{min-height:126px;display:grid;grid-template-columns:minmax(0,1fr) 90px;align-items:center;gap:17px;padding:18px 22px}.security-score-card small,.security-recommendation-card small{display:block;color:var(--soft);font-size:11px;font-weight:700}.security-score-card>div>strong{display:block;margin-top:6px;color:var(--success);font-size:25px;line-height:1}.security-score-card p,.security-recommendation-card p{margin:9px 0 0;color:var(--soft);font-size:11px;line-height:1.55}.security-score-ring{position:relative;width:82px;height:82px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#59b95c 0 70%,#dfeee0 70% 100%);box-shadow:inset 0 0 0 1px #59b95c14}.security-score-ring:before{content:"";width:64px;height:64px;border-radius:50%;background:var(--surface)}.security-score-ring>span{position:absolute;text-align:center}.security-score-ring strong{display:block;color:var(--ink);font-size:23px;line-height:1;font-variant-numeric:tabular-nums}.security-score-ring small{margin-top:5px;font-size:9px}.security-recommendation-card{min-height:126px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:13px;padding:18px 20px}.security-recommendation-card>span{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;background:#e8f8ef;color:var(--success)}.security-recommendation-card>div{min-width:0}.security-recommendation-card strong{display:block;margin-top:6px;overflow:hidden;color:var(--ink);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.security-recommendation-card button,.security-setting-row>button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:11px;font-weight:750}.security-recommendation-card button:hover,.security-setting-row>button:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.security-hero-art{position:relative;width:100%;height:278px;align-self:center}.security-art-orbit{position:absolute;left:50%;top:50%;border:1px solid rgba(255,160,52,.25);border-radius:50%;transform:translate(-50%,-50%) rotate(-10deg)}.security-art-orbit.orbit-one{width:365px;height:114px}.security-art-orbit.orbit-two{width:286px;height:205px;border-color:#6ea6c630;transform:translate(-50%,-50%) rotate(16deg)}.security-art-shield{position:absolute;left:50%;top:50%;width:230px;height:244px;display:grid;place-items:center;transform:translate(-50%,-50%)}.security-art-shield:before{content:"";position:absolute;inset:24px 12px 14px;border-radius:48% 48% 44% 44%;background:#e6f1f7ad;filter:drop-shadow(0 18px 24px rgba(77,111,132,.16))}.security-art-shield>svg{position:relative;color:#c7d9e3;fill:#eff7fac2;filter:drop-shadow(0 10px 13px rgba(97,126,143,.1))}.security-art-lock{position:absolute;left:50%;top:51%;width:92px;height:92px;display:grid;place-items:center;border:1px solid rgba(255,169,61,.5);border-radius:20px;background:#ffa62e;color:#fff;box-shadow:inset 0 10px 19px #ffffff4d,0 17px 25px #ee851140;transform:translate(-50%,-50%) rotate(5deg)}.security-art-lock>svg:last-child{position:absolute;right:-15px;bottom:-13px;color:#fff;fill:#ff9b1b;filter:drop-shadow(0 5px 7px rgba(222,119,8,.22))}.security-art-node{position:absolute;z-index:2;width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(255,177,82,.24);border-radius:50%;background:#fff5e7;color:#ff9817;box-shadow:0 8px 15px #d3842121}.security-art-node.node-key{left:3%;top:35%}.security-art-node.node-check{right:2%;top:23%}.security-art-node.node-shield{right:12%;bottom:11%}.security-content-grid{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(315px,.82fr);gap:16px;align-items:start}.security-settings-card{padding:23px 24px 13px}.security-settings-card>header{min-height:39px;display:flex;align-items:flex-start;border-bottom:1px solid var(--line)}.security-settings-card h2,.security-protection-card h2,.security-tips-card h2{margin:0;color:var(--ink);font-size:15px;line-height:1.3}.security-settings-list{padding-top:2px}.security-setting-row{min-height:86px;display:grid;grid-template-columns:40px minmax(0,1fr) 92px 68px 18px;align-items:center;gap:13px;border-bottom:1px solid var(--line)}.security-setting-row:last-child{border-bottom:0}.security-setting-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:7px;background:#f4f7f9;color:#3a4b56}.security-setting-copy{min-width:0}.security-setting-copy strong{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:13px}.security-setting-copy strong em{padding:2px 6px;border-radius:4px;background:var(--accent-soft);color:var(--accent);font-size:9px;font-style:normal;font-weight:800}.security-setting-copy small{display:block;margin-top:7px;overflow:hidden;color:var(--soft);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.security-setting-state{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;color:var(--success);font-size:11px;font-weight:750;white-space:nowrap}.security-setting-state.inactive{color:var(--accent)}.security-setting-row>button.recommended{border-color:color-mix(in srgb,var(--accent) 22%,var(--line));background:var(--accent-soft);color:var(--accent)}.security-row-chevron{color:#9da8af}.security-aside{display:grid;gap:16px}.security-protection-card,.security-tips-card{padding:22px 22px 18px}.security-protection-card h2,.security-tips-card h2{padding-bottom:17px;border-bottom:1px solid var(--line)}.security-gauge{position:relative;width:184px;height:98px;margin:21px auto 11px;overflow:hidden}.security-gauge:before{content:"";position:absolute;left:2px;top:0;width:180px;height:180px;border-radius:50%;background:conic-gradient(from 270deg,#24b770 0 35%,#dceedd 35% 50%,transparent 50% 100%)}.security-gauge:after{content:"";position:absolute;left:25px;top:23px;width:134px;height:134px;border-radius:50%;background:var(--surface)}.security-gauge>span{position:absolute;z-index:2;left:50%;bottom:3px;width:57px;height:48px;display:grid;place-items:center;border-radius:50% 50% 42% 42%;background:#edf9ee;color:#49ae55;transform:translate(-50%)}.security-protection-card ul{display:grid;gap:12px;margin:7px 0 0;padding:0;list-style:none}.security-protection-card li{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--soft);font-size:11px}.security-protection-card li span{display:flex;align-items:center;gap:7px}.security-protection-card li span svg{color:var(--success)}.security-protection-card li:has(.warning) span svg{color:var(--accent)}.security-protection-card li strong{color:var(--success);font-size:11px}.security-protection-card li strong.warning{color:var(--accent)}.security-tips-card{padding-bottom:8px}.security-tips-card>button{width:100%;min-height:66px;display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:11px;padding:0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}.security-tips-card>button:last-child{border-bottom:0}.security-tips-card>button>span:first-child{width:36px;height:36px;display:grid;place-items:center;border-radius:7px;background:#fff0e8;color:var(--accent)}.security-tips-card>button>span:nth-child(2){min-width:0}.security-tips-card strong,.security-tips-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.security-tips-card strong{font-size:11px}.security-tips-card small{margin-top:5px;color:var(--soft);font-size:9px}.security-tips-card>button>svg{color:#9da8af;transition:transform .18s ease}.security-tips-card>button:hover>svg{color:var(--accent);transform:translate(2px)}.security-sidebar-promo{position:relative;margin-top:auto;overflow:hidden;padding:18px 16px 20px;border:1px solid color-mix(in srgb,var(--accent) 17%,var(--line));border-radius:8px;background:var(--accent-soft)}.security-sidebar-promo>span{color:var(--accent)}.security-sidebar-promo>strong{display:block;margin-top:11px;color:var(--ink);font-size:13px}.security-sidebar-promo p{position:relative;z-index:2;max-width:145px;margin:8px 0 14px;color:var(--soft);font-size:10px;line-height:1.6}.security-sidebar-promo a{position:relative;z-index:2;min-height:32px;display:inline-flex;align-items:center;gap:5px;padding:0 10px;border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line));border-radius:5px;background:var(--surface);color:var(--accent);font-size:10px;font-weight:800;text-decoration:none}.security-promo-mark{position:absolute;right:-5px;bottom:-4px;width:74px;height:64px;display:grid;place-items:center;border:1px solid rgba(255,166,46,.2);border-radius:24px 24px 4px;background:#ffffff94;color:#ffad42;transform:rotate(-7deg)}.security-detail-backdrop{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:20px;background:#121c2261;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.security-detail-dialog{position:relative;width:min(420px,100%);padding:27px 27px 24px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 24px 70px #0e181e38}.security-dialog-close{position:absolute;right:14px;top:14px;width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--soft)}.security-dialog-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:var(--accent-soft);color:var(--accent)}.security-detail-dialog h2{margin:19px 0 0;color:var(--ink);font-size:20px}.security-detail-dialog p{margin:11px 0 0;color:var(--soft);font-size:12px;line-height:1.75}.security-detail-dialog code{display:block;margin-top:14px;overflow:hidden;padding:11px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface-2);color:var(--ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.security-dialog-confirm{width:100%;min-height:40px;margin-top:20px;border:0;border-radius:6px;background:var(--accent);color:#fff;font-size:12px;font-weight:800}.password-change-dialog>p{margin-bottom:17px}.password-change-dialog>p strong{color:var(--ink);font-weight:800}.password-change-form{display:grid;gap:8px;margin-top:18px}.password-change-form label{color:var(--soft);font-size:10px;font-weight:700}.password-change-form input{width:100%;height:42px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);padding:0 11px}.password-change-form .password-field input{padding-right:42px}.password-change-form .password-field button,.password-change-form .verification-code-field input{height:42px}.password-change-form .verification-code-field .secondary{min-height:42px}.password-change-form .security-dialog-confirm{margin-top:10px}.security-dialog-icon.success{color:var(--success);background:color-mix(in srgb,var(--success) 13%,transparent)}.token-management-page{min-height:calc(100vh - var(--topbar))}.token-management-main{min-width:0;padding:34px 32px 48px;background:var(--canvas)}.token-management-main>*{width:min(1180px,100%);margin-inline:auto}.token-management-header{min-height:72px;display:flex;align-items:center;gap:14px;scroll-margin-top:calc(var(--topbar) + 18px)}.token-management-header>span{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:8px;background:var(--accent-soft);color:var(--accent)}.token-management-header h1{margin:0;color:var(--ink);font-size:28px;line-height:1.2}.token-management-header p{margin:7px 0 0;color:var(--soft);font-size:12px}.token-management-main .security-token-card{margin-top:18px}.security-token-card{margin-top:16px;padding:22px 24px 10px}.security-token-card>header{min-height:50px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}.security-token-card>header>div{display:flex;align-items:flex-start;gap:11px;min-width:0}.security-token-card>header>div>span{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:7px;background:var(--accent-soft);color:var(--accent)}.security-token-card h2{margin:0;color:var(--ink);font-size:15px}.security-token-card header p{margin:5px 0 0;color:var(--soft);font-size:10px}.security-token-card>header>button{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 13px;border:0;border-radius:6px;background:var(--accent);color:#fff;font-size:11px;font-weight:800;white-space:nowrap}.security-token-list{min-height:72px}.security-token-row{min-height:88px;display:grid;grid-template-columns:40px minmax(0,1fr) minmax(150px,auto) 38px;align-items:center;gap:13px;border-bottom:1px solid var(--line)}.security-token-row:last-child{border-bottom:0}.security-token-copy{min-width:0}.security-token-copy strong{display:inline;color:var(--ink);font-size:13px}.security-token-copy code{margin-left:8px;color:var(--soft);font-size:10px}.security-token-copy small{display:block;margin-top:7px;overflow:hidden;color:var(--soft);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.security-token-meta{display:grid;justify-items:end;gap:7px}.security-token-meta span{font-size:10px;font-weight:800}.security-token-meta span.active{color:var(--success)}.security-token-meta span.inactive{color:var(--soft)}.security-token-meta small{color:var(--soft);font-size:9px;white-space:nowrap}.token-revoke-button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--danger)}.token-revoke-button:disabled{color:var(--ink-faint);opacity:.55;cursor:default}.token-empty{margin:0;padding:27px 0;color:var(--soft);font-size:11px;text-align:center}.token-panel-error{margin:12px 0 0;color:var(--danger);font-size:11px}.token-create-dialog{width:min(620px,100%);max-height:calc(100vh - 40px);overflow-y:auto}.token-create-form{display:grid;gap:9px;margin-top:18px}.token-create-form>label,.token-form-grid label{color:var(--soft);font-size:10px;font-weight:750}.token-create-form>input,.token-form-grid input,.token-form-grid select{width:100%;height:40px;margin-top:5px;padding:0 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink)}.token-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 14px;padding:10px 0 5px}.token-choice-grid label{min-width:0;display:flex;align-items:center;gap:7px;color:var(--ink);font-size:10px}.token-choice-grid input{width:15px;height:15px;flex:0 0 15px;accent-color:var(--accent)}.token-choice-grid span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-choices{max-height:110px;overflow-y:auto}.token-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.token-create-form .security-dialog-confirm{margin-top:10px}.token-secret-value{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:stretch;gap:7px;margin-top:14px}.security-detail-dialog .token-secret-value code{margin:0;white-space:normal;overflow-wrap:anywhere}.token-secret-value button{width:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--accent)}body[data-theme=dark] .security-score-card,body[data-theme=dark] .security-recommendation-card,body[data-theme=dark] .security-settings-card,body[data-theme=dark] .security-protection-card,body[data-theme=dark] .security-tips-card,body[data-theme=dark] .security-token-card{box-shadow:0 12px 30px #00000024}body[data-theme=dark] .security-recommendation-card>span{background:#27b87921}body[data-theme=dark] .security-setting-icon{background:#171f35;color:#c5cce0}body[data-theme=dark] .security-art-shield:before{background:#4a5b7f33}body[data-theme=dark] .security-art-shield>svg{color:#536485;fill:#3442636b}body[data-theme=dark] .security-art-node{border-color:#9c7cff3d;background:#252145;color:#bba9ff}body[data-theme=dark] .security-art-orbit{border-color:#9c7cff3d}body[data-theme=dark] .security-score-ring{background:conic-gradient(#53c88c 0 70%,#26394a 70% 100%)}body[data-theme=dark] .security-gauge>span{background:#182d2c;color:#63d69b}body[data-theme=dark] .security-gauge:before{background:conic-gradient(from 270deg,#53c88c 0 35%,#26394a 35% 50%,transparent 50% 100%)}body[data-theme=dark] .security-tips-card>button>span:first-child{background:#2c203b;color:#c89fff}@media(max-width:1320px){.security-settings-page{grid-template-columns:206px minmax(0,1fr)}.security-settings-main{padding-inline:24px}.security-intro{grid-template-columns:minmax(0,1fr) 280px}.security-summary-grid{grid-template-columns:1fr;margin-top:30px}.security-hero-art{height:310px}.security-art-orbit.orbit-one{width:310px}.security-content-grid{grid-template-columns:minmax(0,1.45fr) minmax(292px,.8fr)}}@media(max-width:1040px){.security-content-grid{grid-template-columns:1fr}.security-aside{grid-template-columns:1fr 1fr}}@media(max-width:980px){.security-settings-page{display:block}.security-settings-sidebar{background:var(--surface)}.security-settings-main{padding:18px 18px 86px}.token-management-main{padding:22px 18px 86px}.security-intro{grid-template-columns:minmax(0,1fr) 270px;min-height:300px;padding-top:8px}.security-summary-grid{grid-template-columns:1fr 1fr}.security-hero-art{width:300px}}@media(max-width:760px){.security-intro{display:block;min-height:0;padding:12px 0 18px}.security-title-row h1{font-size:27px}.security-summary-grid{grid-template-columns:1fr}.security-hero-art{display:none}.security-aside{grid-template-columns:1fr}.security-setting-row{grid-template-columns:38px minmax(0,1fr) auto 16px;gap:10px;padding:10px 0}.security-setting-state{grid-column:2;justify-content:flex-start}.security-setting-row>button{grid-column:3;grid-row:1 / span 2}.security-row-chevron{grid-column:4;grid-row:1 / span 2}.security-token-row{grid-template-columns:38px minmax(0,1fr) 38px;padding:12px 0}.security-token-meta{grid-column:2;justify-items:start}.token-revoke-button{grid-column:3;grid-row:1 / span 2}.token-choice-grid,.token-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.security-settings-main{padding:12px 10px 82px}.token-management-main{padding:14px 10px 82px}.token-management-header{min-height:62px;gap:11px}.token-management-header>span{width:38px;height:38px;flex-basis:38px}.token-management-header h1{font-size:23px}.token-management-header p{font-size:10px}.security-title-row{gap:11px}.security-title-row>span{width:38px;height:38px;flex-basis:38px}.security-title-row h1{font-size:24px}.security-title-row p{max-width:270px;font-size:11px;line-height:1.5}.security-summary-grid{gap:10px;margin-top:24px}.security-score-card{grid-template-columns:minmax(0,1fr) 76px;padding:16px}.security-score-ring{width:72px;height:72px}.security-score-ring:before{width:56px;height:56px}.security-recommendation-card{grid-template-columns:32px minmax(0,1fr);padding:16px}.security-recommendation-card>span{width:32px;height:32px}.security-recommendation-card button{grid-column:2;justify-self:start}.security-settings-card{padding:19px 15px 8px}.security-token-card{padding:18px 15px 8px}.security-token-card>header{align-items:center}.security-setting-row{min-height:94px;grid-template-columns:34px minmax(0,1fr) 16px}.security-setting-icon{width:34px;height:34px}.security-setting-state{grid-column:2}.security-setting-row>button{grid-column:2;grid-row:3;justify-self:start;min-height:32px}.security-row-chevron{grid-column:3;grid-row:1 / span 3}.security-setting-copy small{white-space:normal;overflow-wrap:anywhere}.security-protection-card,.security-tips-card{padding-inline:16px}.token-choice-grid,.token-form-grid{grid-template-columns:1fr}}@media(max-width:440px){.studio-app:has(.redesigned-history) .notification-center-wrap{display:none}.studio-app:has(.redesigned-history) .account-tools .theme-button{display:inline-grid}.studio-app:has(.redesigned-history) .mobile-navigation a:nth-child(3){display:flex}.studio-app:has(.redesigned-history) .mobile-navigation a:nth-child(4){display:none}}@media(max-width:560px){.redesigned-history .conversation-history-main p{font-size:13px}.redesigned-history .conversation-history-main small{font-size:11px}}.redesigned-history .history-status,.commerce-steps small,.quality-score{font-size:12px}.profile-summary p,.profile-details dt,.profile-details dd,.credit-balance-band span,.credit-balance-band small,.credit-ledger header>span,.referral-metrics span,.referral-metrics small,.referral-share-row>div span,.referral-share-row code,.referral-rule,.referral-records header>span,.referral-list strong,.referral-list small,.referral-list em,.referral-state{font-size:12px}.credit-ledger h3,.referral-records h3{font-size:14px}.notification-center-wrap{display:block!important}.notification-panel{width:min(390px,calc(100vw - 16px));max-height:min(680px,calc(100dvh - var(--topbar) - 16px));overflow:auto;padding:0}.notification-panel>header{position:sticky;top:0;z-index:2;padding:0 12px;background:var(--surface)}@media(max-width:860px){.notification-panel{position:fixed;inset:var(--topbar) 8px auto;width:auto;max-height:calc(100dvh - var(--topbar) - 76px)}}@media(min-width:701px)and (max-height:700px){.auth-form-wrap{padding-block:14px}.auth-panel>svg{margin-top:16px}.auth-panel h2{font-size:22px}.auth-panel>p{margin-bottom:11px}.auth-dialog-form{padding-block:18px}.auth-dialog-form .auth-panel>svg{margin-top:11px}.auth-dialog-form .auth-switch{margin-top:8px!important}.auth-dialog-form .auth-security{margin-top:8px}}@media(max-width:700px){.auth-page{display:block;min-height:100dvh}.auth-visual{min-height:150px;height:22dvh;max-height:190px}.auth-visual>div{left:24px;right:24px;bottom:18px}.auth-visual h1{max-width:520px;margin-bottom:0;font-size:28px;line-height:1.02}.auth-visual p{display:none}.auth-form-wrap{min-height:0;place-items:start center;padding:22px 20px 32px;overflow:visible}.auth-panel{width:min(350px,100%)}.auth-panel>svg{margin-top:18px}.auth-dialog-backdrop{align-items:end;padding:8px}.auth-dialog{width:100%;height:auto;max-height:calc(100dvh - 16px);display:block;overflow:hidden;border-radius:10px}.auth-dialog-visual{min-height:104px;height:104px}.auth-dialog-visual>div{left:18px;right:56px;bottom:15px}.auth-dialog-visual strong{font-size:19px}.auth-dialog-visual p,.auth-dialog[data-mode=register] .auth-dialog-visual,.auth-dialog[data-mode=forgot] .auth-dialog-visual{display:none}.auth-dialog-form{max-height:calc(100dvh - 120px);padding:20px 22px 24px;overflow-y:auto;scrollbar-gutter:auto}.auth-dialog[data-mode=register] .auth-dialog-form,.auth-dialog[data-mode=forgot] .auth-dialog-form{max-height:calc(100dvh - 16px);padding-top:24px}.auth-dialog[data-mode=login] .auth-dialog-form{display:block}.auth-dialog-form .auth-panel>svg{margin-top:13px}.auth-dialog-close{top:10px;right:10px}}@media(max-width:440px){.auth-visual{min-height:138px;height:18dvh;max-height:160px}.auth-visual>div{left:18px;right:18px;bottom:14px}.auth-visual h1{font-size:25px}.auth-form-wrap{padding:18px 14px 28px}.auth-dialog-backdrop{padding:6px}.auth-dialog{max-height:calc(100dvh - 12px)}.auth-dialog-form{padding-inline:18px}.auth-dialog[data-mode=register] .auth-dialog-form,.auth-dialog[data-mode=forgot] .auth-dialog-form{max-height:calc(100dvh - 12px)}}:root{--brand-logo-image: url(/brand/visidept-logo-sun.png)}body[data-theme=dark]{--brand-logo-image: url(/brand/visidept-logo-moon.png)}.brand-mark{flex:0 0 auto;border-radius:0!important;background:var(--brand-logo-image) center / contain no-repeat!important;box-shadow:none!important}.brand-mark:before,.brand-mark:after{content:none!important;display:none!important}.commerce-module-page{min-height:calc(100vh - var(--topbar));display:grid;grid-template-columns:190px minmax(0,1fr);background:var(--canvas)}.commerce-module-content{min-width:0}.commerce-module-nav{position:sticky;z-index:18;top:var(--topbar);align-self:start;width:190px;height:calc(100vh - var(--topbar));display:flex;flex-direction:column;overflow-y:auto;border-right:1px solid var(--line);background:var(--surface);scrollbar-width:thin}.commerce-module-nav-heading{min-height:82px;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:0 22px;border-bottom:1px solid var(--line)}.commerce-module-nav-heading>span{color:var(--accent);font:850 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.commerce-module-nav-heading strong{font-size:15px}.commerce-module-nav nav{display:grid;gap:18px;padding:20px 12px 28px}.commerce-module-nav-group{display:grid;gap:4px}.commerce-module-nav-label{padding:0 10px 6px;color:var(--ink-faint);font-size:9px;font-weight:750}.commerce-module-nav a{min-height:46px;display:flex;align-items:center;gap:11px;padding:0 12px;border:1px solid transparent;border-radius:6px;color:var(--soft);font-size:12px;font-weight:750;line-height:1.2;text-decoration:none}.commerce-module-nav a:hover{border-color:var(--line);background:var(--surface-2);color:var(--ink)}.commerce-module-nav a.active{border-color:color-mix(in srgb,var(--accent) 44%,var(--line));background:var(--accent-soft);color:var(--accent)}.commerce-module-nav a span{overflow-wrap:anywhere}.commerce-workspace-page{position:relative}.commerce-workspace-page>.workspace-nav{position:absolute;top:16px;bottom:16px;left:16px;width:80px;height:auto;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-1)}.commerce-workspace-page>.workspace-nav .commerce-module-nav-heading{min-height:56px}.commerce-workspace-page>.workspace-nav nav{gap:6px;padding:8px 6px}.commerce-workspace-page>.workspace-nav a{min-height:48px;font-size:8px}.commerce-workspace-page .commerce-sidebar{left:112px}.commerce-hub-view{width:min(1540px,calc(100% - 52px));margin:0 auto;padding:28px 0 52px}.commerce-hub-header{min-height:92px;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding-bottom:22px;border-bottom:1px solid var(--line)}.commerce-hub-header h1{margin:7px 0 0;font-size:34px;line-height:1.05;letter-spacing:0}.commerce-hub-header p{max-width:680px;margin:8px 0 0;color:var(--soft);font-size:13px}.commerce-hub-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.commerce-task-project select{width:190px;height:42px;padding:0 11px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);font-size:11px}.commerce-task-project select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:0}.commerce-task-overview{display:grid;grid-template-columns:minmax(350px,.78fr) minmax(620px,1.7fr);align-items:stretch;gap:22px;margin-bottom:22px}.commerce-task-hero{min-height:174px;display:flex;flex-direction:column;justify-content:center;gap:23px;padding:12px}.commerce-task-hero h1{margin:10px 0 0;font:800 38px/1.04 Arial Narrow,Inter,sans-serif;letter-spacing:0}.commerce-task-hero p{margin:9px 0 0;color:var(--soft);font-size:12px}.commerce-task-hero .commerce-hub-actions{justify-content:flex-start}.commerce-task-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.commerce-task-metrics>div{min-width:0;min-height:174px;display:grid;grid-template-columns:38px minmax(0,1fr);align-content:center;gap:12px;padding:20px;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:var(--shadow-1)}.commerce-task-metrics>div>span{width:38px;height:38px;display:grid;place-items:center;border-radius:6px;background:var(--surface-2);color:var(--soft)}.commerce-task-metrics>div.processing>span{background:var(--accent-soft);color:var(--accent)}.commerce-task-metrics>div.attention>span{background:var(--warning-soft);color:var(--warning)}.commerce-task-metrics>div.completed>span{background:var(--success-soft);color:var(--success)}.commerce-task-metrics>div.outputs>span{background:var(--ink);color:var(--surface)}.commerce-task-metrics p{min-width:0;display:grid;gap:6px;margin:0;color:var(--soft);font-size:11px;font-weight:700}.commerce-task-metrics strong{display:block;color:var(--ink);font-size:28px;line-height:1;font-variant-numeric:tabular-nums}.commerce-task-metrics small{overflow:hidden;color:var(--ink-faint);font-size:9px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.commerce-task-toolbar{min-height:70px;display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:var(--shadow-1)}.commerce-task-toolbar label{min-height:42px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--soft)}.commerce-task-toolbar input,.commerce-task-toolbar select{min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:11px}.commerce-task-search{width:min(420px,46%)}.commerce-task-search input{width:100%}.commerce-task-toolbar select{min-width:118px}.commerce-task-tabs-row{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px}.commerce-task-tabs{display:flex;align-items:stretch;gap:24px;min-width:0;overflow-x:auto}.commerce-task-tabs button{min-height:46px;display:inline-flex;align-items:center;gap:5px;padding:0;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--soft);font-size:12px;font-weight:750;white-space:nowrap}.commerce-task-tabs button span{color:var(--ink-faint);font-size:9px}.commerce-task-tabs button.active span{color:inherit}.commerce-task-view-switch{flex:0 0 auto;display:inline-flex;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.commerce-task-view-switch button{width:34px;height:32px;display:grid;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--soft)}.commerce-task-view-switch button.active{background:var(--accent-soft);color:var(--accent)}.commerce-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(218px,1fr));gap:16px}.commerce-task-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:var(--shadow-1)}.commerce-task-card-preview{position:relative;width:100%;aspect-ratio:1.48;display:block;overflow:hidden;padding:0;border:0;border-bottom:1px solid var(--line);background:var(--surface-2)}.commerce-task-card-preview img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .22s ease}.commerce-task-card-preview>span{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:8px;color:var(--ink-faint)}.commerce-task-card-preview>span small{font-size:10px;font-weight:700}.commerce-task-card-preview>em{position:absolute;right:9px;bottom:9px;min-width:34px;padding:5px 7px;border-radius:4px;background:#171715d1;color:#fff;font:750 9px/1 ui-monospace,monospace;font-style:normal}.commerce-task-card-body{padding:15px 15px 13px}.commerce-task-card-body>header{min-height:44px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.commerce-task-card-body>header>div{min-width:0}.commerce-task-card-body>header strong,.commerce-task-card-body>header span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commerce-task-card-body>header strong{font-size:13px}.commerce-task-card-body>header span{margin-top:5px;color:var(--soft);font-size:9px}.commerce-task-card-body>header button{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:4px;background:transparent;color:var(--soft)}.commerce-task-card-body>header button:hover{background:var(--surface-2);color:var(--accent)}.commerce-task-status{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:750}.commerce-task-status.processing{color:var(--info)}.commerce-task-status.partial{color:var(--warning)}.commerce-task-status.completed{color:var(--success)}.commerce-task-status.failed{color:var(--danger)}.commerce-task-status.cancelled{color:var(--soft)}.commerce-task-card-state{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.commerce-task-card-state small{color:var(--ink-faint);font-size:9px}.commerce-task-card-progress{height:5px;margin-top:9px;overflow:hidden;border-radius:3px;background:var(--surface-2)}.commerce-task-card-progress i{display:block;height:100%;border-radius:inherit;background:var(--success)}.commerce-task-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.commerce-task-card footer time{color:var(--soft);font-size:9px;font-variant-numeric:tabular-nums}.commerce-task-card footer span{width:25px;height:25px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--ink);color:var(--surface);font-size:8px;font-weight:850}.commerce-task-list{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.commerce-task-list>button{width:100%;min-height:82px;display:grid;grid-template-columns:72px minmax(180px,1.5fr) minmax(100px,.7fr) minmax(160px,.8fr) 100px 24px;align-items:center;gap:15px;padding:10px 15px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}.commerce-task-list>button:last-child{border-bottom:0}.commerce-task-list>button:hover{background:var(--surface-muted)}.commerce-task-list-preview{width:72px;height:54px;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--surface-2);color:var(--ink-faint)}.commerce-task-list-preview img{width:100%;height:100%;object-fit:cover}.commerce-task-list>button>span:nth-child(2){min-width:0}.commerce-task-list>button>span:nth-child(2) strong,.commerce-task-list>button>span:nth-child(2) small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commerce-task-list>button>span:nth-child(2) strong{font-size:12px}.commerce-task-list>button>span:nth-child(2) small{margin-top:5px;color:var(--soft);font-size:9px}.commerce-task-list-progress{display:flex;align-items:center;gap:8px}.commerce-task-list-progress>i{width:90px;height:5px;overflow:hidden;border-radius:3px;background:var(--surface-2)}.commerce-task-list-progress>i em{display:block;height:100%;background:var(--success)}.commerce-task-list-progress small,.commerce-task-list time{color:var(--soft);font-size:9px;font-style:normal;white-space:nowrap}.commerce-task-pagination{min-height:72px;display:flex;align-items:center;justify-content:center;gap:8px}.commerce-task-pagination button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--soft)}.commerce-task-pagination span{min-width:56px;color:var(--soft);font-size:10px;text-align:center}.commerce-hub-state{min-height:330px;display:grid;place-items:center;align-content:center;gap:10px;color:var(--soft);text-align:center}.commerce-hub-state strong{color:var(--ink);font-size:14px}.commerce-hub-state span{max-width:420px;font-size:11px}.commerce-hub-state button{margin-top:5px}.commerce-tool-header{align-items:center}.commerce-tool-segments{display:inline-flex;margin:22px 0 18px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--surface-2)}.commerce-tool-segments button{min-height:34px;padding:0 18px;border:0;border-radius:4px;background:transparent;color:var(--soft);font-size:11px;font-weight:700}.commerce-tool-segments button.active{background:var(--ink);color:var(--surface)}.commerce-tool-layout{display:grid;grid-template-columns:minmax(520px,1fr) minmax(360px,470px);gap:28px;align-items:start}.commerce-tool-editor{min-width:0;border-top:1px solid var(--line)}.commerce-editor-section{display:grid;gap:15px;padding:20px 0 22px;border-bottom:1px solid var(--line)}.commerce-editor-section>header{display:flex;align-items:center;gap:10px}.commerce-editor-section>header>span{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--line);border-radius:4px;color:var(--accent);font:800 9px/1 ui-monospace,monospace}.commerce-editor-section>header>div{display:grid;gap:2px}.commerce-editor-section>header strong{font-size:12px}.commerce-editor-section>header small{color:var(--soft);font-size:9px}.commerce-image-input{min-height:94px;display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:14px;padding:7px;border:1px dashed var(--line-strong);border-radius:6px;background:var(--surface);cursor:pointer}.commerce-image-input:hover{border-color:var(--accent);background:var(--accent-soft)}.commerce-image-input input,.commerce-custom-reference input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.commerce-image-input img{grid-column:1;grid-row:1;width:80px;height:80px;object-fit:cover;border-radius:4px}.commerce-image-input>span{grid-column:2;grid-row:1;display:flex;align-items:center;gap:8px;color:var(--soft)}.commerce-image-input>span strong{color:var(--ink);font-size:11px}.commerce-control-field{min-width:0;display:grid;gap:6px;color:var(--soft);font-size:9px;font-weight:700}.commerce-control-field input,.commerce-control-field select,.commerce-control-field textarea,.commerce-data-editor input,.commerce-parameter-editor input,.commerce-sku-row input:not([type=color]){width:100%;min-width:0;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);font-size:11px;outline:0}.commerce-control-field input,.commerce-control-field select,.commerce-data-editor input,.commerce-parameter-editor input,.commerce-sku-row input:not([type=color]){height:38px;padding:0 10px}.commerce-control-field textarea{padding:10px;line-height:1.55;resize:vertical}.commerce-control-field input:focus,.commerce-control-field select:focus,.commerce-control-field textarea:focus,.commerce-data-editor input:focus,.commerce-parameter-editor input:focus,.commerce-sku-row input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.commerce-unit-row{display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--soft);font-size:10px;font-weight:700}.commerce-inline-segments{display:inline-flex;padding:2px;border:1px solid var(--line);border-radius:5px;background:var(--surface)}.commerce-inline-segments button{min-width:46px;height:30px;padding:0 9px;border:0;border-radius:3px;background:transparent;color:var(--soft);font-size:10px;white-space:nowrap}.commerce-inline-segments button:last-child{min-width:68px}.commerce-inline-segments button.active{background:var(--ink);color:var(--surface)}.commerce-dimension-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.commerce-data-editor,.commerce-parameter-editor{display:grid;gap:7px}.commerce-data-row{display:grid;grid-template-columns:.65fr repeat(3,1fr) 30px;gap:7px;align-items:center}.commerce-data-head{color:var(--ink-faint);font-size:8px;font-weight:750}.commerce-data-row button,.commerce-parameter-editor>div button,.commerce-sku-row button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--soft)}.commerce-data-row button:hover,.commerce-parameter-editor>div button:hover,.commerce-sku-row button:hover{background:var(--danger-soft);color:var(--danger)}.commerce-add-row{min-height:36px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px dashed var(--line);border-radius:5px;background:transparent;color:var(--soft);font-size:10px}.commerce-add-row:hover{border-color:var(--accent);color:var(--accent)}.commerce-parameter-editor>div{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr) 30px;gap:7px;align-items:center}.commerce-compact-settings{gap:11px}.commerce-toggle-row{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer}.commerce-toggle-row>span{min-width:0;display:grid;gap:3px}.commerce-toggle-row strong{font-size:10px}.commerce-toggle-row small{color:var(--soft);font-size:9px}.commerce-toggle-row input{position:relative;width:36px;height:20px;flex:0 0 auto;appearance:none;border:1px solid var(--line-strong);border-radius:11px;background:var(--surface-2)}.commerce-toggle-row input:after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow-1);transition:transform .15s ease}.commerce-toggle-row input:checked{border-color:var(--success);background:var(--success)}.commerce-toggle-row input:checked:after{transform:translate(16px)}.commerce-spec-preview,.commerce-sku-preview{position:sticky;top:calc(var(--topbar) + 22px);border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:var(--shadow-1);overflow:hidden}.commerce-spec-preview>header,.commerce-sku-preview>header{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 15px;border-bottom:1px solid var(--line)}.commerce-spec-preview>header span,.commerce-sku-preview>header span{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:750}.commerce-spec-preview>header em,.commerce-sku-preview>header em{color:var(--soft);font-size:9px;font-style:normal}.commerce-spec-art{aspect-ratio:1 / 1;display:grid;grid-template-rows:minmax(0,1.05fr) minmax(0,.95fr);padding:24px;background:#f0f1ed;color:#20211e}.commerce-spec-product{position:relative;min-height:0;display:grid;place-items:center}.commerce-spec-product img{width:62%;height:88%;object-fit:contain;mix-blend-mode:multiply}.measure-line{position:absolute;display:flex;align-items:center;justify-content:center;color:#4d514b;font-size:9px;font-weight:800}.measure-line i{position:absolute;border-color:#777d75;border-style:solid}.measure-width{left:17%;right:17%;bottom:4px}.measure-width i{left:0;right:0;top:50%;border-width:1px 0 0}.measure-width:before,.measure-width:after{content:"";position:absolute;top:-4px;height:9px;border-left:1px solid #777d75}.measure-width:before{left:0}.measure-width:after{right:0}.measure-height{top:7%;bottom:8%;right:9%;writing-mode:vertical-rl}.measure-height i{top:0;bottom:0;left:50%;border-width:0 0 0 1px}.measure-height:before,.measure-height:after{content:"";position:absolute;left:-4px;width:9px;border-top:1px solid #777d75}.measure-height:before{top:0}.measure-height:after{bottom:0}.measure-line:not(:empty){background:#f0f1ed;z-index:1;padding:2px 5px}.measure-depth{position:absolute;left:10%;top:18%;padding:3px 5px;border-left:2px solid #d65c43;color:#4d514b;font-size:8px;font-weight:800}.commerce-spec-copy{min-height:0;padding-top:18px;border-top:2px solid #252725}.commerce-spec-copy>span{color:#d1533a;font:800 7px/1 ui-monospace,monospace}.commerce-spec-copy h2{margin:5px 0 10px;font-size:19px;line-height:1.1}.commerce-spec-copy dl{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;border-top:1px solid #c7cac2}.commerce-spec-copy dl>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px 7px 0;border-bottom:1px solid #c7cac2}.commerce-spec-copy dt{color:#686c66;font-size:7px}.commerce-spec-copy dd{margin:0;font-size:8px;font-weight:800}.commerce-spec-copy table{width:100%;border-collapse:collapse;font-size:7px;text-align:center}.commerce-spec-copy th,.commerce-spec-copy td{height:22px;border-bottom:1px solid #c7cac2}.commerce-spec-copy th{color:#686c66;font-weight:700}.commerce-tool-notice{position:fixed;z-index:90;right:24px;bottom:24px;min-height:44px;display:flex;align-items:center;gap:8px;padding:0 8px 0 13px;border:1px solid color-mix(in srgb,var(--success) 45%,var(--line));border-radius:6px;background:var(--surface);color:var(--success);box-shadow:var(--shadow-2);font-size:11px}.commerce-tool-notice button{width:28px;height:28px;display:grid;place-items:center;border:0;background:transparent;color:inherit}.commerce-sku-head,.commerce-sku-row{display:grid;grid-template-columns:42px minmax(120px,1fr) minmax(120px,1fr) 30px;gap:7px;align-items:center}.commerce-sku-head{color:var(--ink-faint);font-size:8px;font-weight:750}.commerce-sku-row input[type=color]{width:38px;height:38px;padding:3px;border:1px solid var(--line);border-radius:5px;background:var(--surface)}.commerce-sku-entry{display:grid;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.commerce-sku-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.65fr);gap:10px;padding-left:49px}.commerce-sku-reference{min-height:58px;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:7px 10px;border:1px dashed var(--line-strong);border-radius:5px;color:var(--soft);cursor:pointer}.commerce-sku-reference input{display:none}.commerce-sku-reference img{width:42px;height:42px;border-radius:4px;object-fit:cover}.commerce-sku-reference span{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.commerce-sku-reference.is-ready{border-style:solid;border-color:var(--success);color:var(--success)}.commerce-sku-reference.is-failed{border-style:solid;border-color:var(--danger);color:var(--danger)}.commerce-production-price{display:block;color:var(--soft);font-size:9px}.commerce-sku-contact-sheet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;padding:1px;background:var(--line)}.commerce-sku-contact-sheet article{min-width:0;position:relative;padding:9px;background:var(--surface)}.commerce-sku-contact-sheet article>div{position:relative;aspect-ratio:1 / 1;display:grid;place-items:center;overflow:hidden;background:#eceeea}.commerce-sku-contact-sheet img{width:86%;height:86%;object-fit:contain;mix-blend-mode:multiply}.commerce-sku-contact-sheet article>div i{position:absolute;inset:auto 6px 6px auto;width:20px;height:20px;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 3px #00000038}.commerce-sku-contact-sheet article>span{position:absolute;top:14px;left:14px;min-width:22px;padding:3px;background:#181917cc;color:#fff;font-size:7px;text-align:center}.commerce-sku-contact-sheet article>strong,.commerce-sku-contact-sheet article>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commerce-sku-contact-sheet article>strong{margin-top:8px;font-size:9px}.commerce-sku-contact-sheet article>small{margin-top:3px;color:var(--soft);font-size:7px}.commerce-template-workspace-toolbar{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}.commerce-template-workspace-toolbar label{width:min(380px,50%);height:38px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--soft)}.commerce-template-workspace-toolbar input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:11px}.commerce-template-workspace-toolbar>span{color:var(--soft);font-size:10px}.commerce-template-type-tabs{display:flex;gap:7px;overflow-x:auto;padding:13px 0;border-bottom:1px solid var(--line)}.commerce-template-type-tabs button{min-height:34px;flex:0 0 auto;padding:0 12px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--soft);font-size:10px}.commerce-template-type-tabs button.active,.commerce-template-type-tabs button:hover{border-color:var(--ink);background:var(--ink);color:var(--surface)}.commerce-template-workspace-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;padding-top:22px}.commerce-template-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.commerce-template-result-grid>button{min-width:0;display:block;padding:0 0 13px;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);text-align:left}.commerce-template-result-grid>button:hover,.commerce-template-result-grid>button.selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.commerce-template-result-grid>button>div{position:relative;aspect-ratio:4 / 3;display:grid;place-items:center;overflow:hidden;background:var(--surface-2);color:var(--soft)}.commerce-template-result-grid img{width:100%;height:100%;object-fit:cover}.commerce-template-result-grid>button>div>span{position:absolute;top:7px;left:7px;min-width:24px;padding:4px;background:#171715c7;color:#fff;font-size:7px;text-align:center}.commerce-template-result-grid>button>div>i{position:absolute;right:7px;bottom:7px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:#fff}.commerce-template-result-grid strong,.commerce-template-result-grid small,.commerce-template-result-grid em{display:block;margin-inline:12px;overflow:hidden;text-overflow:ellipsis}.commerce-template-result-grid strong{margin-top:12px;font-size:11px;white-space:nowrap}.commerce-template-result-grid small{height:34px;margin-top:5px;color:var(--soft);font-size:9px;line-height:1.55}.commerce-template-result-grid em{margin-top:8px;color:var(--accent);font-size:8px;font-style:normal;white-space:nowrap}.commerce-template-detail{position:sticky;top:calc(var(--topbar) + 22px);align-self:start;padding-bottom:18px;border:1px solid var(--line);border-radius:7px;background:var(--surface);overflow:hidden}.commerce-template-detail>div{height:210px;display:grid;place-items:center;overflow:hidden;background:var(--surface-2);color:var(--soft)}.commerce-template-detail>div img{width:100%;height:100%;object-fit:cover}.commerce-template-detail>span,.commerce-template-detail h2,.commerce-template-detail p,.commerce-template-detail dl,.commerce-template-detail>button{margin-inline:17px}.commerce-template-detail>span{margin-top:17px}.commerce-template-detail h2{margin-top:6px;margin-bottom:0;font-size:18px}.commerce-template-detail p{min-height:42px;margin-top:8px;margin-bottom:0;color:var(--soft);font-size:10px;line-height:1.55}.commerce-template-detail dl{margin-top:15px;margin-bottom:15px;border-top:1px solid var(--line)}.commerce-template-detail dl div{min-height:35px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.commerce-template-detail dt{color:var(--soft);font-size:9px}.commerce-template-detail dd{margin:0;font-size:9px;font-weight:750}.commerce-template-detail>button{width:calc(100% - 34px)}.commerce-custom-layout{display:grid;grid-template-columns:minmax(580px,1fr) minmax(280px,360px);gap:28px;padding-top:24px}.commerce-custom-composer{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(320px,1.2fr);gap:24px}.commerce-custom-reference{position:relative;min-height:520px;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface-2)}.commerce-custom-reference img{width:100%;height:100%;object-fit:cover}.commerce-custom-reference label{position:absolute;left:12px;bottom:12px;min-height:38px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid rgba(255,255,255,.45);border-radius:5px;background:#171715d1;color:#fff;font-size:10px;cursor:pointer}.commerce-custom-fields{min-width:0;display:flex;flex-direction:column;gap:17px;padding-top:3px}.commerce-custom-fields textarea{min-height:176px}.commerce-custom-options{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:12px}.commerce-count-control{display:grid;gap:6px;color:var(--soft);font-size:9px;font-weight:700}.commerce-count-control>div{height:38px;display:grid;grid-template-columns:36px 1fr 36px;border:1px solid var(--line);border-radius:5px;background:var(--surface)}.commerce-count-control button{border:0;background:transparent;color:var(--soft)}.commerce-count-control output{display:grid;place-items:center;border-inline:1px solid var(--line);color:var(--ink);font-size:11px}.commerce-custom-submit{width:100%;margin-top:auto}.commerce-custom-summary{align-self:start;padding:20px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.commerce-custom-summary h2{margin:7px 0 14px;font-size:18px}.commerce-custom-summary dl{margin:0;border-top:1px solid var(--line)}.commerce-custom-summary dl div{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.commerce-custom-summary dt{color:var(--soft);font-size:9px}.commerce-custom-summary dd{margin:0;font-size:9px;font-weight:750}.commerce-custom-placeholder{min-height:150px;display:grid;place-items:center;align-content:center;gap:9px;margin-top:16px;padding:18px;border:1px dashed var(--line-strong);color:var(--soft);text-align:center}.commerce-custom-placeholder span{max-width:240px;font-size:10px;line-height:1.55}.commerce-custom-studio-layout{display:grid;grid-template-columns:minmax(620px,1fr) minmax(280px,340px);gap:28px;align-items:start}.commerce-custom-studio-editor{min-width:0;display:grid;gap:24px}.commerce-custom-template-section,.commerce-custom-input-section,.commerce-custom-output-section{border-top:1px solid var(--line);padding-top:15px}.commerce-custom-template-section>header,.commerce-custom-input-section>header{min-height:32px;display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:11px}.commerce-custom-template-section>header strong,.commerce-custom-input-section>header strong{font-size:12px}.commerce-custom-template-section>header span,.commerce-custom-input-section>header span{color:var(--soft);font-size:9px}.commerce-custom-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.commerce-custom-template-card{position:relative;min-width:0;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.commerce-custom-template-card.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.commerce-custom-template-card.unavailable{background:var(--surface-2)}.commerce-custom-template-select{width:100%;min-height:82px;display:grid;grid-template-columns:54px minmax(0,1fr) 18px;gap:9px;align-items:center;padding:8px;border:0;background:transparent;color:var(--ink);text-align:left}.commerce-custom-template-select:disabled{cursor:default;opacity:.72}.commerce-custom-template-image{width:54px;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;background:var(--surface-2);color:var(--soft)}.commerce-custom-template-image img{width:100%;height:100%;object-fit:cover}.commerce-custom-template-select>span:nth-child(2){min-width:0;display:grid;gap:3px}.commerce-custom-template-select strong,.commerce-custom-template-select small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commerce-custom-template-select strong{font-size:10px}.commerce-custom-template-select small{color:var(--soft);font-size:9px}.commerce-custom-template-select em{width:max-content;padding:2px 5px;border:1px solid var(--line);border-radius:3px;color:var(--soft);font-size:8px;font-style:normal}.commerce-custom-template-select em.ready{border-color:color-mix(in srgb,var(--success) 45%,var(--line));color:var(--success)}.commerce-custom-template-select em.failed{border-color:color-mix(in srgb,var(--danger) 45%,var(--line));color:var(--danger)}.commerce-custom-template-select em.analyzing{border-color:color-mix(in srgb,var(--warning) 45%,var(--line));color:var(--warning)}.commerce-custom-template-select>i{width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:#fff}.commerce-custom-template-actions{position:absolute;top:4px;right:4px;display:flex;gap:2px;opacity:0;transition:opacity .14s ease}.commerce-custom-template-card:hover .commerce-custom-template-actions,.commerce-custom-template-card:focus-within .commerce-custom-template-actions{opacity:1}.commerce-custom-template-actions button{width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--soft)}.commerce-custom-template-actions button:hover{color:var(--danger)}.commerce-custom-empty-template{width:100%;min-height:86px;display:grid;place-items:center;align-content:center;gap:7px;border:1px dashed var(--line-strong);background:transparent;color:var(--soft)}.commerce-custom-empty-template strong{font-size:10px}.commerce-custom-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.commerce-custom-upload-grid>:only-child{grid-column:1 / -1;max-width:440px}.commerce-custom-upload{position:relative;min-height:150px;display:grid;grid-template-columns:94px minmax(0,1fr);gap:14px;align-items:center;padding:12px;overflow:hidden;border:1px dashed var(--line-strong);background:var(--surface-2);color:var(--soft)}.commerce-custom-upload>img{width:94px;aspect-ratio:1;object-fit:cover;background:var(--surface)}.commerce-custom-upload>svg{justify-self:center}.commerce-custom-upload-copy{min-width:0;display:grid;gap:5px}.commerce-custom-upload-copy strong{color:var(--ink);font-size:11px}.commerce-custom-upload-copy span{overflow:hidden;color:var(--soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.commerce-custom-upload-copy small{display:inline-flex;align-items:center;gap:4px;color:var(--info);font-size:9px}.commerce-custom-upload.is-ready{border-style:solid;border-color:color-mix(in srgb,var(--success) 45%,var(--line))}.commerce-custom-upload.is-ready .commerce-custom-upload-copy small{color:var(--success)}.commerce-custom-upload.is-failed{border-color:color-mix(in srgb,var(--danger) 55%,var(--line))}.commerce-custom-upload.is-failed .commerce-custom-upload-copy small{color:var(--danger)}.commerce-custom-upload>label{position:absolute;right:9px;bottom:9px;min-height:30px;display:inline-flex;align-items:center;gap:5px;padding:0 9px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--ink);font-size:9px;cursor:pointer}.commerce-custom-upload>label input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.commerce-custom-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.commerce-custom-input-section>.commerce-control-field{margin-top:14px}.commerce-custom-output-section{display:grid;grid-template-columns:minmax(180px,1fr) 130px minmax(170px,.8fr) auto;gap:12px;align-items:end}.commerce-custom-cost{min-height:44px;display:grid;align-content:center;gap:2px;padding:0 12px;border-left:1px solid var(--line)}.commerce-custom-cost span{color:var(--soft);font-size:8px}.commerce-custom-cost strong{font-size:10px}.commerce-custom-generate{min-width:190px}.commerce-custom-target-preview{position:sticky;top:calc(var(--header-h) + 20px);padding:18px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.commerce-custom-target-preview h2{margin:7px 0 14px;font-size:17px}.commerce-custom-target-preview>div{min-height:260px;display:grid;place-items:center;overflow:hidden;background:var(--surface-2);color:var(--soft)}.commerce-custom-target-preview>div img{width:100%;height:100%;max-height:360px;object-fit:contain}.commerce-custom-target-preview dl{margin:14px 0 0;border-top:1px solid var(--line)}.commerce-custom-target-preview dl div{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);font-size:9px}.commerce-custom-target-preview dt{color:var(--soft)}.commerce-custom-target-preview dd{margin:0;max-width:180px;overflow:hidden;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.commerce-custom-inline-state{min-height:70px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--soft);font-size:10px}.commerce-custom-inline-state.error{color:var(--danger)}.commerce-custom-inline-state button{min-height:30px;border:1px solid var(--line);background:var(--surface);color:inherit}.commerce-custom-template-dialog-backdrop{z-index:130}.commerce-custom-template-dialog{width:min(560px,calc(100vw - 28px));display:grid;gap:16px;padding:18px;border:1px solid var(--line-strong);border-radius:7px;background:var(--surface);box-shadow:var(--shadow-2)}.commerce-custom-template-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.commerce-custom-template-dialog>header>span{display:grid;gap:3px}.commerce-custom-template-dialog>header strong{font-size:15px}.commerce-custom-template-dialog>header small{color:var(--soft);font-size:9px}.commerce-custom-template-dialog>header button{width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent;color:var(--soft)}.commerce-custom-template-dialog>footer{display:flex;justify-content:flex-end;gap:8px;padding-top:3px}body[data-theme=dark] .commerce-spec-art{background:#e7e9e4}body[data-theme=dark] .commerce-sku-contact-sheet article>div{background:#e2e4df}@media(hover:hover)and (pointer:fine){.commerce-task-card-preview:hover img{transform:scale(1.025)}}@media(max-width:1380px){.commerce-task-overview{grid-template-columns:1fr}.commerce-task-hero{min-height:150px;flex-direction:row;align-items:center;justify-content:space-between}}@media(max-width:1180px){.commerce-hub-view{width:calc(100% - 40px)}.commerce-tool-layout{grid-template-columns:minmax(480px,1fr) 360px;gap:20px}.commerce-dimension-grid,.commerce-template-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-custom-layout{grid-template-columns:1fr 290px}.commerce-custom-composer{grid-template-columns:240px minmax(300px,1fr);gap:18px}.commerce-custom-studio-layout{grid-template-columns:minmax(540px,1fr) 280px;gap:20px}.commerce-custom-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-custom-output-section{grid-template-columns:minmax(180px,1fr) 130px minmax(170px,.8fr)}.commerce-custom-generate{grid-column:1 / -1;width:100%}}@media(max-width:980px){.commerce-module-page{display:block}.commerce-module-nav,.commerce-workspace-page>.workspace-nav{position:relative;inset:auto;width:auto;height:70px;display:flex;flex-direction:row;align-items:stretch;overflow-x:auto;overflow-y:hidden;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}.commerce-module-nav-heading{min-width:102px;min-height:69px;flex:0 0 102px;padding:0 12px;border-right:1px solid var(--line);border-bottom:0}.commerce-module-nav-heading>span{display:none}.commerce-module-nav-heading strong{font-size:12px}.commerce-module-nav nav{min-width:max-content;display:flex;align-items:center;gap:4px;padding:7px 10px}.commerce-module-nav-group{display:flex;gap:4px}.commerce-module-nav-label{display:none}.commerce-module-nav a{min-width:94px;min-height:54px;justify-content:center;padding-inline:9px;font-size:10px}.commerce-workspace-page{display:flex;flex-direction:column}.commerce-workspace-page>.workspace-nav{flex:0 0 70px;margin:0;background:var(--surface)}.commerce-workspace-page>.workspace-nav .commerce-module-nav-heading{min-height:69px}.commerce-workspace-page>.workspace-nav nav{padding:7px 10px}.commerce-workspace-page>.workspace-nav a{min-height:54px}.commerce-workspace-page .commerce-sidebar{left:auto}.commerce-hub-view{padding-top:26px}.commerce-task-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-task-metrics>div{min-height:136px}.commerce-tool-layout,.commerce-custom-layout,.commerce-custom-studio-layout{grid-template-columns:1fr}.commerce-custom-target-preview{display:none}.commerce-spec-preview,.commerce-sku-preview,.commerce-template-detail{position:relative;top:auto}.commerce-spec-preview,.commerce-sku-preview{width:min(560px,100%);justify-self:center}.commerce-template-workspace-layout{grid-template-columns:minmax(0,1fr) 280px}.commerce-custom-summary{display:none}}@media(max-width:760px){.commerce-hub-view{width:calc(100% - 28px);padding:22px 0 44px}.commerce-hub-header{min-height:0;align-items:stretch;flex-direction:column;gap:16px}.commerce-hub-header h1{font-size:30px}.commerce-hub-actions{justify-content:stretch}.commerce-task-project{flex:1}.commerce-task-project select{width:100%}.commerce-task-hero{align-items:stretch;flex-direction:column;gap:18px;padding-inline:4px}.commerce-task-toolbar{align-items:stretch;flex-wrap:wrap;padding:10px}.commerce-task-search{width:100%}.commerce-task-toolbar label:not(.commerce-task-search){flex:1}.commerce-task-tabs-row{align-items:flex-end}.commerce-task-tabs{gap:18px}.commerce-task-list>button{grid-template-columns:64px minmax(160px,1fr) minmax(92px,.6fr) 24px;gap:11px;padding-inline:10px}.commerce-task-list>button>.commerce-task-list-progress,.commerce-task-list>button>time{display:none}.commerce-tool-segments{width:100%;overflow-x:auto}.commerce-tool-segments button{flex:1 0 auto}.commerce-data-row{grid-template-columns:.6fr repeat(3,1fr) 30px}.commerce-template-workspace-layout{grid-template-columns:1fr}.commerce-template-detail{display:none}.commerce-custom-composer{grid-template-columns:1fr}.commerce-custom-reference{min-height:360px}}@media(max-width:540px){.commerce-module-nav-heading{display:none}.commerce-module-nav a{min-width:70px}.commerce-hub-actions{flex-direction:column}.commerce-hub-actions>*{width:100%}.commerce-task-metrics{grid-template-columns:1fr 1fr;gap:8px}.commerce-task-metrics>div{min-height:116px;grid-template-columns:32px minmax(0,1fr);gap:9px;padding:12px}.commerce-task-metrics>div>span{width:32px;height:32px}.commerce-task-metrics strong{font-size:24px}.commerce-task-toolbar label:not(.commerce-task-search){min-width:0}.commerce-task-toolbar select{min-width:0;width:100%}.commerce-task-grid{grid-template-columns:1fr}.commerce-task-list>button{grid-template-columns:58px minmax(0,1fr) 22px}.commerce-task-list>button>.commerce-task-status{display:none}.commerce-task-list-preview{width:58px;height:46px}.commerce-dimension-grid{grid-template-columns:1fr 1fr}.commerce-data-editor{overflow-x:auto}.commerce-data-row{min-width:540px}.commerce-parameter-editor>div{grid-template-columns:92px minmax(130px,1fr) 30px}.commerce-sku-head,.commerce-sku-row{grid-template-columns:38px minmax(100px,1fr) minmax(100px,1fr) 30px}.commerce-sku-details{grid-template-columns:1fr;padding-left:45px}.sku-variant-section{overflow-x:auto}.commerce-sku-head,.commerce-sku-row,.sku-variant-section>.commerce-add-row{min-width:390px}.commerce-template-workspace-toolbar{align-items:stretch;flex-direction:column;justify-content:center;padding:10px 0}.commerce-template-workspace-toolbar label{width:100%}.commerce-template-result-grid,.commerce-custom-options,.commerce-custom-template-grid,.commerce-custom-upload-grid,.commerce-custom-field-grid,.commerce-custom-output-section{grid-template-columns:1fr}.commerce-custom-upload-grid>:only-child,.commerce-custom-generate{grid-column:auto;max-width:none}.commerce-custom-upload{grid-template-columns:74px minmax(0,1fr);min-height:128px}.commerce-custom-upload>img{width:74px}.commerce-custom-cost{border-left:0;border-top:1px solid var(--line);padding:10px 0 0}.commerce-custom-reference{min-height:300px}.commerce-tool-notice{left:10px;right:10px;bottom:calc(76px + env(safe-area-inset-bottom))}}body:has(.commerce-module-page),body:has(.commerce-workspace-page){--accent: #ff9f0a;--accent-dark: #df7900;--accent-soft: #fff5e3;--canvas: #fff;--surface: #fff;--surface-2: #fff8eb;--ink: #262a2c;--soft: #778089;--line: #e8e8e3;--line-strong: #d9d8d1}body[data-theme=dark]:has(.commerce-module-page),body[data-theme=dark]:has(.commerce-workspace-page){--accent: #7d75ff;--accent-dark: #665ee6;--accent-soft: #24234c;--canvas: #080d22;--surface: #0d142b;--surface-2: #151c38;--ink: #f7f8ff;--soft: #939bb6;--line: #222c4b;--line-strong: #35405f}.studio-app:has(.commerce-module-page) .studio-topbar,.studio-app:has(.commerce-workspace-page) .studio-topbar{border-bottom-color:var(--line);background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 1px 16px #1f23270a}.studio-app:has(.commerce-module-page) .desktop-navigation a.active,.studio-app:has(.commerce-workspace-page) .desktop-navigation a.active{border-color:transparent;background:var(--accent-soft);color:var(--accent)}.studio-app:has(.commerce-module-page) .account-tools>.primary,.studio-app:has(.commerce-workspace-page) .account-tools>.primary{border-radius:7px;background:#ff9f0a;box-shadow:0 7px 18px #ff9f0a33}body[data-theme=dark] .studio-app:has(.commerce-module-page) .account-tools>.primary,body[data-theme=dark] .studio-app:has(.commerce-workspace-page) .account-tools>.primary{background:linear-gradient(115deg,#ef2f90,#7a5cff 58%,#2e88ff);box-shadow:0 8px 22px #5357ff40}.commerce-module-nav{background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:1px 0 18px #2a271f06}.commerce-module-nav-heading{background:color-mix(in srgb,var(--surface-2) 52%,var(--surface))}.commerce-module-nav-heading>span{color:#f7941d}.commerce-module-nav a.active{border-color:transparent;background:var(--accent-soft);box-shadow:inset 3px 0 var(--accent)}.commerce-module-nav a:hover{border-color:transparent;background:color-mix(in srgb,var(--accent-soft) 62%,var(--surface))}.commerce-task-hero{position:relative;isolation:isolate;padding:28px!important;overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background-image:linear-gradient(90deg,#fffaf0fa,#fffaf0f0 45%,#fffaf061 72%,#fffaf014),url(/headphones.jpg);background-position:center,right center;background-size:cover,cover}.commerce-task-hero>*{position:relative;z-index:1}.commerce-task-hero>div:first-child{max-width:76%}.commerce-task-hero .eyebrow{color:#f7941d}.commerce-task-hero h1{font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;font-size:40px;font-weight:850}.commerce-task-hero p{max-width:390px;color:#59616a;line-height:1.65}.commerce-task-hero .primary,.commerce-hub-header .primary,.commerce-custom-generate.primary{background:linear-gradient(110deg,#ff8a21,#ffb400);box-shadow:0 9px 20px #ff9e1733}.commerce-task-metrics>div{border-color:color-mix(in srgb,var(--line) 78%,#fff);background:color-mix(in srgb,var(--surface) 92%,var(--surface-2));box-shadow:0 7px 22px #493c220e}.commerce-task-metrics>div.outputs>span{background:#ffcc4d;color:#fff}.commerce-task-toolbar{border-color:var(--line);background:color-mix(in srgb,var(--surface) 90%,var(--surface-2));box-shadow:0 5px 16px #493c2209}.commerce-task-toolbar label:focus-within{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent-soft) 78%,transparent)}.commerce-task-tabs button.active{border-bottom-color:var(--accent);color:var(--accent)}.commerce-task-view-switch{background:var(--surface);box-shadow:0 4px 12px #493c220a}.commerce-task-card{border-color:var(--line);background:var(--surface);box-shadow:0 8px 22px #493c220e}.commerce-task-card-preview{background:var(--surface-2)}.commerce-task-card-preview:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 54%,rgba(24,28,31,.3))}.commerce-task-card-preview>em{z-index:1;background:#23272bc7}.commerce-task-card-progress i,.commerce-task-list-progress>i em{background:#ffad20}.commerce-task-empty{border:1px dashed var(--line-strong);background:color-mix(in srgb,var(--surface-2) 65%,var(--surface))}.commerce-workspace-page .commerce-sidebar{border-color:color-mix(in srgb,var(--line) 80%,#fff);background:color-mix(in srgb,var(--surface) 88%,transparent);box-shadow:0 16px 42px #493c2224}.commerce-workspace-page .commerce-result-panel .canvas-stage{background-color:#fffaf0;background-image:linear-gradient(rgba(236,212,166,.38) 1px,transparent 1px),linear-gradient(90deg,rgba(236,212,166,.38) 1px,transparent 1px)}.commerce-workspace-page .commerce-scene-column.is-expanded{box-shadow:0 6px 16px #5d441a14}body[data-theme=dark] .commerce-module-nav{background:#0d142bf0;box-shadow:1px 0 20px #00000029}body[data-theme=dark] .commerce-module-nav-heading{background:#151c38c2}body[data-theme=dark] .commerce-module-nav-heading>span,body[data-theme=dark] .commerce-task-hero .eyebrow{color:#f06bb8}body[data-theme=dark] .commerce-task-hero{background-image:linear-gradient(90deg,#070c20fa,#070c20eb 46%,#070c2073 74%,#070c201a),url(/watch.jpg);background-position:center,right center}body[data-theme=dark] .commerce-task-hero p{color:#aab1c7}body[data-theme=dark] .commerce-task-hero .primary,body[data-theme=dark] .commerce-hub-header .primary,body[data-theme=dark] .commerce-custom-generate.primary{background:linear-gradient(110deg,#ff2b83,#8b52ff 58%,#228cff);box-shadow:0 10px 24px #3a5bff3d}body[data-theme=dark] .commerce-task-metrics>div{border-color:#4d5b8952;background:#121a38c2;box-shadow:none}body[data-theme=dark] .commerce-task-metrics>div.outputs>span{background:linear-gradient(135deg,#3d80ff,#7069ff)}body[data-theme=dark] .commerce-task-toolbar{border-color:#4d5b8952;background:#0f1732c2;box-shadow:none}body[data-theme=dark] .commerce-task-card{border-color:#4d5b8957;background:#0e152fd9;box-shadow:none}body[data-theme=dark] .commerce-task-card-progress i,body[data-theme=dark] .commerce-task-list-progress>i em{background:linear-gradient(90deg,#e959b5,#7d75ff,#4699ff)}body[data-theme=dark] .commerce-workspace-page .commerce-sidebar{border-color:#324062;background:#0d142be0;box-shadow:0 16px 40px #00000045}body[data-theme=dark] .commerce-workspace-page .commerce-result-panel .canvas-stage{background-color:#091026;background-image:linear-gradient(rgba(60,86,151,.24) 1px,transparent 1px),linear-gradient(90deg,rgba(60,86,151,.24) 1px,transparent 1px)}@media(max-width:760px){.commerce-task-hero{padding:24px 18px!important;background-position:center,64% center}.commerce-task-hero>div:first-child{max-width:84%}.commerce-task-hero h1{font-size:34px}}
