:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-canvas:#f4f5f7;--color-surface:#fff;--color-surface-muted:#f1f3f6;--color-foreground:#1f2430;--color-muted:#6b7280;--color-border:#e3e5ea;--color-primary:#2563eb;--color-primary-strong:#1d4ed8;--color-on-primary:#fff;--color-saffron:#b7791f;--color-brick:#a84632;--color-danger:#a33a2b;--color-danger-surface:#f9e9e5;--color-success-surface:#eaf1ff;--color-warning-surface:#fbf0d7;--color-accent:#2563eb;--color-accent-strong:#1d4ed8;--color-accent-soft:#eff4ff;--color-cta:#262626;--color-cta-strong:#000;--color-slate-canvas:#f4f5f7;--shadow-subtle:0 10px 24px #252a2512;--radius-sm:4px;--radius-md:8px;--focus-ring:0 0 0 3px #2f6f4e3d;font-family:Microsoft YaHei UI,Microsoft YaHei,PingFang SC,Hiragino Sans GB,Noto Sans CJK SC,system-ui,sans-serif}*{box-sizing:border-box}html{min-width:320px}body{background:var(--color-canvas);color:var(--color-foreground);margin:0;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{box-shadow:var(--focus-ring);outline:2px solid #0000}img{max-width:100%;display:block}.image-lightbox{z-index:1300;background:#090e18eb;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.image-lightbox__dialog{grid-template-rows:auto minmax(0,1fr);width:100%;max-width:1500px;height:100%;max-height:1000px;display:grid}.image-derivative-modal{z-index:1100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#090e18ad;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.image-derivative-dialog{background:#fff;border:1px solid #ffffffb8;border-radius:24px;width:min(760px,100%);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 28px 80px #090e1847}.image-derivative-dialog__header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 26px 18px;display:flex}.image-derivative-dialog__header h2,.image-derivative-dialog__header p{margin:0}.image-derivative-dialog__header h2{color:#151b28;margin-top:7px;font-size:24px}.image-derivative-dialog__header p{color:#687082;margin-top:7px;font-size:14px}.image-derivative-dialog__eyebrow{color:#7255d9;align-items:center;gap:6px;font-size:13px;font-weight:700;display:inline-flex}.image-derivative-dialog__close{color:#555f73;cursor:pointer;background:#f2f4f8;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.image-derivative-dialog__body{grid-template-columns:minmax(180px,.7fr) minmax(280px,1.3fr);gap:22px;padding:24px 26px 26px;display:grid}.image-derivative-dialog__preview{margin:0}.image-derivative-dialog__preview img{aspect-ratio:1;object-fit:contain;background:#f2f4f8;border-radius:16px;width:100%;display:block}.image-derivative-dialog__preview figcaption{color:#4e586c;text-overflow:ellipsis;white-space:nowrap;margin-top:9px;font-size:13px;overflow:hidden}.image-derivative-dialog__field{color:#252d3d;flex-direction:column;gap:9px;min-width:0;font-size:14px;font-weight:700;display:flex}.image-derivative-dialog__field textarea{resize:vertical;color:#202737;width:100%;min-height:150px;font:inherit;background:#fbfcfe;border:1px solid #d8ddea;border-radius:14px;padding:13px 14px;font-weight:400;line-height:1.65}.image-derivative-dialog__field textarea:focus{border-color:#866be3;outline:3px solid #866be324}.image-derivative-dialog__error{color:#c13232;grid-column:2;margin:-10px 0 0;font-size:13px}.image-derivative-dialog__actions{grid-column:1/-1;justify-content:flex-end;gap:10px;padding-top:2px;display:flex}.workbench-gallery__head-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.workbench-gallery__head-actions button{border:0}.ecommerce-result-variants{gap:8px;padding:0 14px 12px;display:flex;overflow-x:auto}.ecommerce-result-variants button{background:#eef1f6;border:2px solid #0000;border-radius:9px;flex:0 0 48px;width:48px;height:48px;padding:0;overflow:hidden}.ecommerce-result-variants button[aria-current=true]{border-color:#7759df}.ecommerce-result-variants img{object-fit:cover;width:100%;height:100%}.aplus-result-gallery__versions{gap:10px;padding:12px 0 0;display:flex;overflow-x:auto}.aplus-result-gallery__versions button{color:#596276;background:#f3f5f8;border:2px solid #0000;border-radius:12px;flex:0 0 86px;gap:6px;padding:5px;font-size:11px;display:grid}.aplus-result-gallery__versions button[aria-current=true]{color:#6044c6;background:#f1edff;border-color:#7759df}.aplus-result-gallery__versions img{aspect-ratio:1;object-fit:cover;border-radius:7px;width:100%}.aplus-result-gallery__segment-actions button{border:0}@media (width<=680px){.image-derivative-modal{align-items:end;padding:12px}.image-derivative-dialog{border-radius:20px;max-height:calc(100vh - 24px)}.image-derivative-dialog__body{grid-template-columns:1fr;padding:20px}.image-derivative-dialog__preview img{max-height:220px}.image-derivative-dialog__error{grid-column:1}}.image-lightbox__header{color:#fff;justify-content:space-between;align-items:center;gap:20px;padding-bottom:16px;display:flex}.image-lightbox__header>div:first-child{gap:2px;display:grid}.image-lightbox__header span{color:#ffffffad;font-size:.8125rem}.image-lightbox__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.image-lightbox__download,.image-lightbox__icon,.image-lightbox__nav{border-radius:var(--radius-md);color:#fff;background:#ffffff1f;border:1px solid #ffffff3d;justify-content:center;align-items:center;display:inline-flex}.image-lightbox__download{gap:8px;min-height:44px;padding:0 14px;text-decoration:none}.image-lightbox__icon{width:44px;height:44px}.image-lightbox__stage{grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:16px;min-height:0;display:grid}.image-lightbox__stage img{object-fit:contain;width:100%;height:100%;max-height:calc(100vh - 112px)}.image-lightbox__viewport{overscroll-behavior:contain;height:100%;min-height:0;overflow:auto}.image-lightbox__viewport--original img{width:auto;max-width:none;height:auto;max-height:none;display:block}.image-lightbox__actions [aria-pressed=true]{background:#ffffff47}.image-lightbox__nav{width:52px;height:52px}.image-lightbox__nav:disabled{cursor:default;opacity:.28}@media (width<=767px){.image-lightbox{padding:12px}.image-lightbox__header{align-items:flex-start}.image-lightbox__download{padding:0 10px;font-size:.8125rem}.image-lightbox__stage{grid-template-columns:44px minmax(0,1fr) 44px;gap:6px}.image-lightbox__nav{width:44px;height:44px}.image-lightbox__stage img{max-height:calc(100vh - 100px)}.image-lightbox__viewport--original img{max-height:none}}.eyebrow{color:var(--color-muted);letter-spacing:0;margin:0 0 4px;font-size:.75rem;font-weight:700}.projects-page{width:100%;max-width:1120px;min-height:0;margin:0 auto;padding:24px;overflow-y:auto}.projects-toolbar{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:12px 0 20px;display:grid}.projects-toolbar h1,.app-shell__topbar h1,.workspace-header h2{margin:0;font-size:1.5rem;line-height:1.2}.projects-toolbar__stats{gap:8px;margin:0;display:flex}.projects-toolbar__stats div{border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:88px;padding:8px 12px}.projects-toolbar__stats dt{color:var(--color-muted);font-size:.75rem}.projects-toolbar__stats dd{margin:0;font-weight:700}.primary-button,.secondary-button,.danger-button,.icon-button,.step-button{border-radius:var(--radius-md);border:1px solid #0000;align-items:center;gap:8px;min-height:44px;transition:background-color .16s,border-color .16s,color .16s;display:inline-flex}.primary-button{background:var(--color-primary);color:var(--color-on-primary);padding:0 16px;font-weight:700}.primary-button:hover{background:var(--color-primary-strong)}.secondary-button,.icon-button{background:var(--color-surface);border-color:var(--color-border);color:var(--color-foreground)}.secondary-button{padding:0 16px}.icon-button{justify-content:center;min-width:44px;padding:0;text-decoration:none}.icon-button:hover,.secondary-button:hover{background:var(--color-surface-muted)}.danger-button{background:var(--color-danger-surface);border-color:color-mix(in srgb, var(--color-danger), transparent 65%);color:var(--color-danger);white-space:nowrap;padding:0 12px;font-weight:700}.create-project{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);grid-template-columns:minmax(180px,1fr) auto auto;align-items:end;gap:12px;margin-bottom:16px;padding:12px;display:grid}.create-project label{color:var(--color-muted);gap:4px;font-size:.875rem;font-weight:700;display:grid}.create-project input{border:1px solid var(--color-border);border-radius:var(--radius-sm);min-height:44px;padding:8px 10px}.inline-error,.empty-state,.muted-text,.page-state{color:var(--color-muted)}.inline-error{color:var(--color-danger)}.project-list{gap:8px;display:grid}.project-row{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);grid-template-columns:72px minmax(0,1fr) auto auto;align-items:center;gap:16px;min-height:96px;padding:12px;display:grid}.project-row:hover{box-shadow:var(--shadow-subtle)}.project-row__thumbnail{aspect-ratio:1;background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-primary);justify-content:center;align-items:center;font-size:1.4rem;font-weight:800;display:flex;overflow:hidden}.project-row__thumbnail img{object-fit:cover;width:100%;height:100%}.project-row__main h2{margin:0;font-size:1rem;line-height:1.35}.project-row__main p{color:var(--color-muted);margin:4px 0 0}.project-row__completion,.completion-chip{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-muted);font-variant-numeric:tabular-nums;text-align:center;min-width:56px;padding:6px 8px;font-weight:800}.project-row__actions{gap:8px;display:flex}.app-shell{min-height:100dvh}.app-shell__topbar{background:var(--color-surface);border-bottom:1px solid var(--color-border);grid-template-columns:44px minmax(0,1fr) auto auto auto;align-items:center;gap:12px;min-height:72px;padding:12px 20px;display:grid}.app-shell__meta{color:var(--color-muted);white-space:nowrap;font-size:.875rem}.save-status{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;min-height:24px;font-size:.875rem;font-weight:700;display:inline-flex}.save-status--saved{color:var(--color-muted)}.save-status--saving{color:var(--color-saffron)}.save-status--error{color:var(--color-danger)}.app-shell__body{grid-template-columns:220px minmax(0,1fr) minmax(320px,420px);gap:0;min-height:calc(100dvh - 72px);display:grid}.app-shell--split{flex-direction:column;height:100dvh;display:flex}.app-shell--split .app-shell__topbar{grid-template-columns:auto minmax(0,1fr) auto auto auto auto;padding:10px 20px}.app-shell__actions,.generation-history-page__actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.online-desktop-download,.recharge-button,.tutorial-link{text-decoration:none}.ghost-button{border-radius:var(--radius-md);color:var(--color-foreground);white-space:nowrap;background:0 0;border:none;align-items:center;gap:6px;padding:8px 12px;font-size:.9375rem;font-weight:600;display:inline-flex}.ghost-button:hover{background:var(--color-surface-muted)}.ghost-button:disabled{cursor:progress;opacity:.6}.brand-mark{color:var(--color-foreground);align-items:center;gap:10px;text-decoration:none;display:inline-flex}.brand-mark__logo{background:var(--color-cta);color:#fff;border-radius:9px;justify-content:center;align-items:center;width:30px;height:30px;font-weight:700;display:inline-flex}.brand-mark__name{font-weight:700}.app-shell__title{min-width:0}.app-shell__crumb{color:var(--color-muted);font-size:.8125rem}.app-shell__title h1{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.0625rem;overflow:hidden}.split-shell{flex:1;grid-template-columns:84px minmax(0,1fr);min-height:0;display:grid}.feature-rail{background:var(--color-surface);border-right:1px solid var(--color-border);flex-direction:column;gap:8px;padding:14px 8px;display:flex}.feature-rail__back{border-radius:var(--radius-md);color:var(--color-muted);justify-content:center;align-items:center;height:36px;margin-bottom:6px;display:flex}.feature-rail__back:hover{background:var(--color-surface-muted)}.feature-rail__item{border-radius:var(--radius-md);color:var(--color-muted);cursor:default;text-align:center;flex-direction:column;align-items:center;gap:5px;padding:10px 4px;font-size:.75rem;display:flex}.feature-rail__item--active{background:var(--color-accent-soft);color:var(--color-accent-strong);font-weight:700}.feature-rail__item--link{cursor:pointer;text-decoration:none}.feature-rail__item--link:hover{background:var(--color-surface-muted);color:var(--color-foreground)}.feature-rail__item--link.feature-rail__item--active:hover{background:var(--color-accent-soft);color:var(--color-accent-strong)}.lts4ai-account{border-top:1px solid var(--color-border);text-align:center;flex-direction:column;align-items:center;gap:4px;margin-top:auto;padding:12px 2px 0;font-size:.72rem;display:flex}.lts4ai-account strong{text-overflow:ellipsis;white-space:nowrap;max-width:72px;overflow:hidden}.lts4ai-account a{color:var(--color-accent-strong)}.lts4ai-account button{justify-content:center;align-items:center;display:inline-flex}.lts4ai-account__login{color:inherit;cursor:pointer;background:0 0;border-bottom:0;border-left:0;border-right:0;flex-direction:column;gap:4px;width:100%;font-size:.72rem}.lts4ai-account__login:hover{color:var(--color-accent-strong)}.lts4ai-account small{color:var(--color-muted);line-height:1.3}.split-body{grid-template-columns:minmax(360px,460px) minmax(0,1fr);min-height:0;display:grid}.split-body__input{background:var(--color-surface);border-right:1px solid var(--color-border);flex-direction:column;min-width:0;min-height:0;display:flex}.split-body__scroll{flex:1;padding:20px;overflow-y:auto}.split-body__footer{border-top:1px solid var(--color-border);background:var(--color-surface);padding:14px 20px}.split-body__result{background:var(--color-slate-canvas);min-width:0;min-height:0;padding:24px;overflow-y:auto}.editor-input{gap:18px;display:grid}.editor-cta{gap:8px;display:grid}.editor-cta .inline-error{margin:0}.editor-cta__row{justify-content:space-between;align-items:center;gap:12px;display:flex}.primary-button--cta{background:var(--color-cta);flex:1;justify-content:center;min-height:52px;font-size:1.0625rem;font-weight:700}.primary-button--cta:hover{background:var(--color-cta-strong)}a.primary-button--cta{align-items:center;text-decoration:none;display:inline-flex}.text-link{color:var(--color-muted);text-align:left;background:0 0;border:none;padding:0;font-size:.8125rem;text-decoration:underline}.text-link:hover{color:var(--color-primary-strong)}.result-pane{gap:18px;display:grid}.result-pane--idle .result-pane__hero h2{margin:6px 0}.result-pane__hero .muted-text{margin:0}.ai-generation-notice{color:var(--color-muted);text-align:left;margin:8px 0 0;font-size:.7rem;font-weight:400;line-height:1.55}.ai-generation-notice--action{border-top:1px solid color-mix(in srgb, var(--color-border) 72%, transparent);padding-top:8px}.ai-generation-notice--dialog{border-top:1px solid #e3e6ee;grid-column:1/-1;margin:0;padding-top:10px}.result-pane__placeholder{aspect-ratio:3/4;background:var(--color-surface);border:1px dashed var(--color-border);border-radius:var(--radius-md);color:var(--color-muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;max-width:320px;padding:24px 20px 112px;display:flex;position:relative}.result-pane__placeholder .ai-generation-notice--placeholder{border-top:1px solid color-mix(in srgb, var(--color-border) 72%, transparent);margin:0;padding-top:10px;position:absolute;bottom:18px;left:20px;right:20px}.result-pane__placeholder strong{color:var(--color-foreground);font-size:1.5rem}.result-pane--running{gap:20px;display:grid}.running-head{align-items:center;gap:14px;display:flex}.running-head strong{display:block}.running-head .muted-text{margin:2px 0 0}.running-grid{scroll-snap-type:x proximity;gap:14px;padding-bottom:8px;display:flex;overflow-x:auto}.running-cell{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);scroll-snap-align:start;flex-direction:column;flex:none;width:200px;margin:0;display:flex;overflow:hidden}.running-cell--ready{border-color:var(--color-accent)}.running-cell img{object-fit:contain;width:100%;height:auto;max-height:420px;display:block}.running-cell__pending{background:var(--color-surface-muted);justify-content:center;align-items:center;height:267px;display:flex}.running-cell__dots{gap:6px;display:inline-flex}.running-cell__dots span{background:var(--color-muted);border-radius:50%;width:8px;height:8px;animation:1s ease-in-out infinite result-bounce}.running-cell__dots span:nth-child(2){animation-delay:.15s}.running-cell__dots span:nth-child(3){animation-delay:.3s}.running-cell figcaption{justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.running-cell figcaption>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.running-cell__state{color:var(--color-muted);flex-shrink:0;font-size:.75rem}.running-cell--ready .running-cell__state{color:var(--color-accent-strong)}.result-pane__spinner{gap:8px;display:inline-flex}.result-pane__spinner span{background:var(--color-primary);border-radius:50%;width:12px;height:12px;animation:1s ease-in-out infinite result-bounce}.result-pane__spinner span:nth-child(2){animation-delay:.15s}.result-pane__spinner span:nth-child(3){animation-delay:.3s}@keyframes result-bounce{0%,80%,to{opacity:.3;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.layout-target{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-md);opacity:.85;gap:2px;padding:8px 10px;display:grid}.layout-target__value{font-weight:700}.copy-points-field{gap:8px;margin-top:14px;display:grid}.copy-points-field__header{justify-content:space-between;align-items:center;display:flex}.copy-points-field__header label{font-weight:700}.copy-points-field__textarea{border:1px solid var(--color-border);border-radius:var(--radius-md);resize:vertical;width:100%;min-height:150px;padding:10px 12px}.assist-button{background:var(--color-success-surface);border:1px solid color-mix(in srgb, var(--color-primary), transparent 65%);border-radius:var(--radius-md);color:var(--color-primary-strong);align-items:center;gap:6px;padding:6px 12px;font-size:.8125rem;font-weight:700;display:inline-flex}.assist-button:disabled{cursor:progress;opacity:.6}.assist-hint{color:var(--color-primary-strong);margin:0;font-size:.8125rem}.image-kind-details>summary{color:var(--color-muted);cursor:pointer;padding-top:8px;font-size:.8125rem}.workspace-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.workspace-header__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.production-readiness{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);gap:10px;max-width:920px;margin-bottom:18px;padding:14px 16px;display:grid}.production-readiness--ready{background:var(--color-success-surface)}.production-readiness__first-use{color:var(--color-primary-strong);margin:0;font-weight:700}.production-readiness p,.production-readiness strong{margin:0}.production-readiness>ul{gap:7px;margin:0;padding:0;list-style:none;display:grid}.production-readiness li{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.production-readiness li span{color:var(--color-muted);font-size:.875rem}.production-readiness .inline-error{margin:0}.production-readiness__suggestions{border-top:1px solid var(--color-border);gap:7px;padding-top:10px;display:grid}.production-readiness__suggestions>summary{color:var(--color-muted);cursor:pointer;font-size:.8125rem;font-weight:700}.production-readiness__suggestions>ul{gap:7px;margin:8px 0 0;padding:0;list-style:none;display:grid}.production-readiness__suggestions li{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.production-readiness__affects{color:var(--color-muted);font-size:.8125rem}.preflight-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);gap:10px;max-width:920px;margin-bottom:18px;padding:14px 16px;display:grid}.preflight-card__header{justify-content:space-between;align-items:center;gap:12px;display:flex}.preflight-card__header p,.preflight-card__header strong{margin:0}.preflight-card__checks{gap:6px;margin:0;padding:0;list-style:none;display:grid}.preflight-check{grid-template-columns:1fr auto;align-items:baseline;gap:4px 10px;display:grid}.preflight-check__label{font-weight:600}.preflight-check__detail{color:var(--color-muted);grid-column:1;font-size:.8125rem}.preflight-check__status{grid-area:1/2;font-size:.8125rem}.preflight-check--pass .preflight-check__status{color:var(--color-primary-strong,#15803d)}.preflight-check--warning .preflight-check__status{color:var(--color-saffron,#b45309)}.preflight-check--blocked .preflight-check__status{color:var(--color-danger,#dc2626)}.preflight-check--checking .preflight-check__status{color:var(--color-muted)}.production-failure{background:var(--color-warning-surface,#fff7ed);border:1px solid var(--color-warning-border,#fdba74);border-radius:var(--radius-md);gap:8px;max-width:920px;margin-bottom:18px;padding:14px 16px;display:grid}.production-failure p,.production-failure strong{margin:0}.production-failure p{color:var(--color-muted)}.advanced-adjustments{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);gap:20px;padding:20px;display:grid}.advanced-adjustments__header{justify-content:space-between;align-items:center;gap:16px;display:flex}.advanced-adjustments__header h3,.advanced-adjustments__header p{margin:0}.product-step{gap:28px;max-width:920px;display:grid}.supplemental-facts{border:1px solid var(--color-border);border-radius:var(--radius-md);padding:14px 16px}.supplemental-facts summary{color:var(--color-primary-strong);cursor:pointer;font-weight:700}.supplemental-facts>.muted-text{margin:10px 0 0}.readiness-card{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-md);gap:8px;padding:14px 16px;display:grid}.readiness-card p,.readiness-card strong{margin:0}.readiness-card ul{margin:0;padding-left:20px}.readiness-card li{color:var(--color-muted);font-size:.875rem}.form-section{border-top:1px solid var(--color-border);gap:16px;padding-top:20px;display:grid}.form-section:first-child{border-top:0;padding-top:0}.form-section__heading h3{margin:0;font-size:1rem}.form-section__heading .eyebrow{margin-bottom:2px}.form-grid{gap:16px;display:grid}.form-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-field--wide{grid-column:1/-1}.form-field{color:var(--color-foreground);gap:6px;min-width:0;font-size:.875rem;font-weight:700;display:grid}.form-field input,.form-field select,.form-field textarea{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-foreground);resize:vertical;width:100%;min-height:44px;padding:8px 10px;font-weight:400}.form-field input[aria-invalid=true]{border-color:var(--color-danger)}.attribute-editor__toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.attribute-editor__toolbar>div{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.attribute-editor__toolbar p,.attribute-editor__toolbar span,.attribute-editor__empty,.attribute-editor__status,.attribute-field__error,.workspace-gate-error,.facts-save-error{margin:0}.attribute-editor__toolbar p,.attribute-editor__empty{color:var(--color-muted);font-size:.8125rem}.attribute-editor__toolbar span{color:var(--color-primary-strong);font-variant-numeric:tabular-nums;font-size:.75rem;font-weight:700}.attribute-list{border-bottom:1px solid var(--color-border);border-top:1px solid var(--color-border);display:grid}.attribute-row{grid-template-columns:minmax(108px,.45fr) minmax(0,2fr) auto;align-items:start;gap:12px;padding:12px 0;display:grid}.attribute-row+.attribute-row{border-top:1px solid var(--color-border)}.attribute-row:focus-within{background:color-mix(in srgb, var(--color-primary), transparent 95%)}.attribute-row__identity{gap:3px;min-width:0;padding:7px 0 0 8px;display:grid}.attribute-row__identity span{color:var(--color-muted);font-size:.75rem;font-weight:700}.attribute-row__identity code{color:var(--color-primary-strong);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.attribute-row__fields{grid-template-columns:minmax(140px,.7fr) minmax(180px,1.3fr);gap:12px;display:grid}.attribute-row__actions{grid-template-columns:repeat(3,44px);gap:6px;padding-top:22px;display:grid}.attribute-row__actions .icon-button:disabled,.attribute-editor__toolbar .secondary-button:disabled{cursor:not-allowed;opacity:.45}.attribute-row__delete{color:var(--color-danger)}.attribute-field__error,.attribute-editor__status{color:var(--color-danger);font-size:.75rem;font-weight:600}.attribute-editor__status{justify-self:start}.workspace-gate-error{margin-bottom:14px}.list-field__entry{grid-template-columns:minmax(0,1fr) 44px;gap:8px;display:grid}.compact-row-list{gap:6px;display:grid}.compact-row{background:var(--color-surface-muted);grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:44px;padding-left:10px;font-weight:400;display:grid}.compact-row span{overflow-wrap:anywhere}.image-upload-toolbar{border-radius:var(--radius-md);grid-template-columns:minmax(0,1fr);align-items:end;gap:12px;display:grid}.image-upload-toolbar--dragging .upload-dropzone{background:var(--color-accent-soft);border-color:var(--color-accent);border-style:solid}.image-kind-legend{color:var(--color-muted);flex-wrap:wrap;gap:6px 12px;font-size:.75rem;display:flex}.image-kind-legend span:before{content:"• ";color:var(--color-primary)}.upload-dropzone{border:1px dashed var(--color-primary);color:var(--color-primary-strong);cursor:pointer;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:2px;min-height:88px;padding:12px;display:grid}.upload-dropzone small{color:var(--color-muted);grid-column:2;font-size:.75rem;font-weight:400}.visually-hidden{clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.upload-progress{color:var(--color-muted);margin:0;font-size:.875rem}.image-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;display:grid}.image-thumbnail{aspect-ratio:1;background:var(--color-surface-muted);border:1px solid var(--color-border);position:relative;overflow:hidden}.image-thumbnail img{object-fit:cover;width:100%;height:100%}.image-thumbnail--pending{color:var(--color-muted);place-items:center;display:grid}.image-thumbnail__label{color:var(--color-on-primary);background:#252a25c7;padding:4px 6px;font-size:.75rem;position:absolute;bottom:0;left:0}.image-thumbnail__kind{position:absolute;top:6px;left:6px;right:40px}.image-thumbnail__kind select{border-radius:var(--radius-sm);color:var(--color-on-primary);background:#252a25c7;border:1px solid #ffffff59;max-width:100%;padding:3px 4px;font-size:.7rem}.image-thumbnail__delete{position:absolute;top:6px;right:6px}.copy-gate{border-top:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:16px;padding:20px 0 4px;display:flex}.copy-gate strong,.copy-gate .inline-error{margin:0}.copy-gate .primary-button:disabled{background:var(--color-surface-muted);color:var(--color-muted);cursor:not-allowed}.copy-step{gap:16px;max-width:1040px;display:grid}.copy-toolbar{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.copy-toolbar h3{margin:0;font-size:1rem}.copy-toolbar .muted-text{margin:4px 0 0;font-size:.875rem}.copy-toolbar__actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.copy-toolbar__actions .primary-button:disabled,.copy-toolbar__actions .secondary-button:disabled,.confirm-toggle input:disabled{cursor:not-allowed;opacity:.56}.copy-image-warning{background:var(--color-warning-surface);border-left:4px solid var(--color-saffron);color:var(--color-foreground);align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:.875rem;line-height:1.55;display:flex}.copy-image-warning svg{color:var(--color-saffron);flex:none;margin-top:2px}.copy-validation{background:var(--color-danger-surface);border-left:4px solid var(--color-danger);color:var(--color-danger);gap:4px;padding:10px 12px;font-size:.875rem;font-weight:700;display:grid}.copy-validation p{margin:0}.copy-direction{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-md);grid-template-columns:minmax(220px,.42fr) minmax(0,1fr);align-items:start;gap:18px;padding:16px;display:grid}.copy-direction h3{margin:0;font-size:1rem}.copy-direction .muted-text{margin:6px 0 0;font-size:.875rem;line-height:1.55}.copy-direction textarea{min-height:116px}.copy-section-list{gap:20px;display:grid}.copy-section{border-top:1px solid var(--color-border);gap:14px;padding-top:20px;display:grid}.copy-section:first-child{border-top:0;padding-top:0}.copy-section__heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.copy-section__heading h3{margin:0;font-size:1rem}.copy-section__responsibility{color:var(--color-muted);max-width:680px;margin:5px 0 0;font-size:.8125rem;line-height:1.5}.confirm-toggle{color:var(--color-foreground);white-space:nowrap;align-items:center;gap:8px;min-height:44px;font-size:.875rem;font-weight:700;display:inline-flex}.confirm-toggle input{accent-color:var(--color-primary);width:18px;height:18px}.stale-warning{background:var(--color-warning-surface);color:var(--color-saffron);align-items:center;gap:6px;width:fit-content;margin:0;padding:8px 10px;font-size:.875rem;font-weight:700;display:inline-flex}.copy-section__body{grid-template-columns:minmax(0,1fr) minmax(220px,280px);align-items:start;gap:16px;display:grid}.copy-fields{gap:12px;display:grid}.copy-fields>.inline-error{margin:0}.copy-field{color:var(--color-foreground);gap:6px;min-width:0;font-size:.875rem;font-weight:700;display:grid}.copy-field input,.copy-field textarea{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-foreground);resize:vertical;width:100%;min-height:44px;padding:8px 10px;font-weight:400}.copy-field input[aria-invalid=true],.copy-field textarea[aria-invalid=true]{border-color:var(--color-danger)}.copy-counter{color:var(--color-muted);font-variant-numeric:tabular-nums;justify-self:end;font-size:.75rem}.copy-counter--error{color:var(--color-danger);font-weight:800}.copy-bullets{gap:10px;display:grid}.copy-bullet-row{grid-template-columns:minmax(150px,.44fr) minmax(0,1fr);gap:10px;display:grid}.copy-facts{background:var(--color-surface-muted);border:0;border-left:4px solid var(--color-primary);gap:10px;min-width:0;margin:0;padding:12px;display:grid}.copy-facts legend{margin:0;padding:0;font-size:.875rem;font-weight:800}.copy-facts>p{color:var(--color-muted);margin:0;font-size:.75rem;line-height:1.45}.copy-fact-options{gap:0;display:grid}.copy-fact-option{border-top:1px solid var(--color-border);cursor:pointer;align-items:flex-start;gap:9px;min-height:44px;padding:9px 0;display:flex}.copy-fact-option:first-child{border-top:0}.copy-fact-option input{accent-color:var(--color-primary);flex:none;width:18px;height:18px;margin:2px 0 0}.copy-fact-option>span{gap:2px;min-width:0;display:grid}.copy-fact-option strong{font-size:.8125rem;line-height:1.4}.copy-fact-option small{color:var(--color-muted);overflow-wrap:anywhere;font-size:.75rem;line-height:1.45}.copy-error{background:var(--color-danger-surface);border:1px solid color-mix(in srgb, var(--color-danger), transparent 68%);border-radius:var(--radius-md);color:var(--color-danger);gap:10px;padding:12px;display:grid}.copy-error p{margin:0;font-weight:700}.facts-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.fact-item,.segment-row{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md)}.fact-item{min-height:84px;margin:0;padding:12px}.fact-item dt{color:var(--color-muted);font-size:.75rem;font-weight:700}.fact-item dd{margin:6px 0 0;font-weight:700}.segment-table{gap:8px;display:grid}.detail-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);gap:12px;padding:16px;display:grid}.detail-panel__row{justify-content:space-between;align-items:center;gap:16px;display:flex}.detail-panel__row strong{font-variant-numeric:tabular-nums}.segment-row{justify-content:space-between;align-items:center;min-height:52px;padding:8px 12px;display:flex}.status-badge{border-radius:var(--radius-sm);padding:4px 8px;font-size:.8125rem;font-weight:700}.status-badge--ready{background:var(--color-success-surface);color:var(--color-primary-strong)}.status-badge--generating,.status-badge--recovering,.status-badge--stale{background:var(--color-warning-surface);color:var(--color-saffron)}.status-badge--failed,.status-badge--interrupted{background:var(--color-danger-surface);color:var(--color-danger)}.status-badge--pending{background:var(--color-surface-muted);color:var(--color-muted)}.preview-panel{gap:12px;display:grid}.preview-frame{aspect-ratio:750/1000;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);text-align:center;place-items:center;padding:20px;display:grid}.preview-frame p,.preview-frame strong,.preview-frame span{margin:0}.preview-frame strong{color:var(--color-primary);font-size:2rem}.segments-step{gap:14px;max-width:1120px;display:grid}.export-step{gap:14px;width:100%;display:grid}.segment-toolbar,.export-summary{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:16px;padding-bottom:12px;display:flex}.export-summary__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.segment-toolbar h3,.export-summary h3,.segment-preview__header h3{margin:0;font-size:1rem;line-height:1.25}.segment-toolbar .muted-text,.export-summary .muted-text{margin:4px 0 0;font-size:.875rem}.segment-phase,.segment-count{margin:5px 0 0;font-size:.8125rem}.segment-phase{color:var(--color-primary-strong);font-weight:700}.segment-count{color:var(--color-muted);font-variant-numeric:tabular-nums}.segments-step__layout{grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:start;gap:16px;display:grid}.segments-step__layout--list-only{grid-template-columns:minmax(0,1fr)}.segment-task-list{gap:8px;display:grid}.segment-task-row{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:112px;padding:10px 12px;display:grid}.segment-task-row--selected{border-color:var(--color-primary);box-shadow:inset 3px 0 0 var(--color-primary)}.segment-thumbnail-button{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-primary-strong);font-variant-numeric:tabular-nums;place-items:center;padding:0;font-weight:800;display:grid;overflow:hidden}.segment-thumbnail-button[aria-pressed=true]{border-color:var(--color-primary)}.segment-thumbnail-button img{object-fit:contain;width:100%;height:100%}.segment-thumbnail{width:100%;height:100%;position:relative}.segment-thumbnail__legacy{color:#fff;background:#252a25c2;padding:3px 5px;font-size:.6875rem;line-height:1;position:absolute;bottom:4px;right:4px}.segment-task-row__main{gap:8px;min-width:0;display:grid}.segment-task-row__titleline,.segment-task-row__meta,.segment-task-row__actions,.segment-preview__header{align-items:center;gap:10px;display:flex}.segment-task-row__titleline{justify-content:space-between}.segment-task-row__titleline h3{overflow-wrap:anywhere;margin:0;font-size:.95rem;line-height:1.25}.segment-dimensions,.segment-task-row__meta{color:var(--color-muted);font-variant-numeric:tabular-nums;font-size:.8125rem}.segment-task-row__meta{min-height:28px}.segment-responsibility,.segment-legacy-label,.segment-anchor-warning{margin:0;font-size:.8125rem}.segment-responsibility{color:var(--color-muted)}.segment-legacy-label,.segment-anchor-warning{color:var(--color-saffron-strong,var(--color-saffron));font-weight:700}.generation-progress{color:var(--color-muted);min-width:13em}.segment-error{color:var(--color-danger);overflow-wrap:anywhere;max-width:64ch;margin:0;font-size:.8125rem}.segment-task-row__actions{justify-content:end}.segment-task-row__actions .secondary-button{min-width:124px;padding:0 10px}.segment-task-row__actions .secondary-button:disabled,.segment-toolbar .primary-button:disabled,.export-summary .primary-button:disabled{cursor:not-allowed;opacity:.5}.status-badge{white-space:nowrap;align-items:center;gap:6px;min-height:26px;display:inline-flex}.status-badge__mark{background:currentColor;border-radius:50%;width:7px;height:7px;display:inline-block}.segment-preview{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);gap:12px;min-width:0;padding:12px;display:grid}.segment-preview__header{justify-content:space-between}.segment-preview__frame{aspect-ratio:750/1000;background:var(--color-surface-muted);border:1px solid var(--color-border);place-items:center;max-height:calc(100dvh - 190px);display:grid;overflow:hidden}.segment-preview__image{object-fit:contain;width:100%;height:100%}.segment-preview__image-wrap{width:100%;height:100%;position:relative}.segment-preview__image-wrap--legacy:after{content:"";pointer-events:none;background:#252a2533;position:absolute;inset:0}.segment-preview__legacy-label{color:#fff;z-index:1;background:#252a25d1;padding:6px 8px;font-size:.75rem;font-weight:700;position:absolute;top:10px;left:10px}.segment-preview__empty{color:var(--color-muted);text-align:center;justify-items:center;gap:4px;padding:16px;display:grid}.segment-preview__empty strong{color:var(--color-foreground)}.export-blockers{background:var(--color-warning-surface);border-left:4px solid var(--color-saffron);gap:6px;padding:12px;display:grid}.export-blockers p,.export-ready{margin:0}.commercial-review-warning{background:var(--color-warning-surface);border-left:4px solid var(--color-saffron);margin:0;padding:12px;font-size:.875rem}.export-ready{background:var(--color-success-surface);color:var(--color-primary-strong);padding:12px;font-weight:700}.quality-audit{border:1px solid var(--color-border);border-radius:var(--radius-md);gap:10px;padding:14px 16px;display:grid}.quality-audit--pass{background:var(--color-success-surface)}.quality-audit--warning{background:var(--color-warning-surface)}.quality-audit--blocked{background:var(--color-danger-surface,#fef2f2)}.quality-audit__header{justify-content:space-between;align-items:baseline;display:flex}.quality-audit__header strong,.quality-audit__header span,.quality-audit__reminder{margin:0}.quality-audit__segments{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0;padding:0;list-style:none;display:grid}.quality-audit__segments li{justify-content:space-between;align-items:center;display:flex}.quality-audit__segments span{color:var(--color-muted);font-size:.875rem}.quality-audit__issues{gap:5px;margin:0;padding:0;list-style:none;display:grid}.quality-audit__issues li{color:var(--color-foreground)}.quality-audit__issues--warning li{color:var(--color-muted)}.quality-audit__reminder{color:var(--color-muted);font-size:.875rem}.quality-download-gate{color:var(--color-muted);margin:0;font-size:.875rem}.usage-summary{border:1px solid var(--color-border);border-radius:var(--radius-md);gap:10px;padding:14px 16px;display:grid}.usage-summary .eyebrow{margin:0}.usage-summary__metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;display:grid}.usage-summary__metrics div{gap:2px;display:grid}.usage-summary__metrics dt{color:var(--color-muted);font-size:.8125rem}.usage-summary__value{margin:0;font-size:1.375rem;font-weight:700}.usage-summary__models{gap:4px;margin:0;padding:0;list-style:none;display:grid}.usage-summary__models li{color:var(--color-muted);justify-content:space-between;font-size:.8125rem;display:flex}.export-history{gap:8px;display:grid}.export-history .eyebrow{margin:0}.export-history__strip{flex-wrap:wrap;gap:10px;display:flex}.export-history__item{border:1px solid var(--color-border);border-radius:var(--radius-sm,8px);justify-items:center;gap:4px;padding:6px;text-decoration:none;display:grid}.export-history__item img{object-fit:cover;width:64px;height:96px}.export-history__item span{color:var(--color-muted);font-size:.75rem}.aplus-result-gallery{gap:14px;width:100%;min-width:0;display:grid}.aplus-result-gallery__main{grid-template-columns:minmax(240px,34%) minmax(320px,1fr);align-items:stretch;gap:16px;min-width:0;min-height:min(680px,100vh - 250px);display:grid}.aplus-result-gallery__export,.aplus-result-gallery__segment{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:0;min-height:0;display:grid;overflow:hidden}.aplus-result-gallery__export{grid-template-rows:auto minmax(0,1fr) auto}.aplus-result-gallery__segment{grid-template-rows:auto minmax(0,1fr)}.aplus-result-gallery__export>header,.aplus-result-gallery__segment>header{justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 14px;display:flex}.aplus-result-gallery__segment>header>div{gap:2px;display:grid}.aplus-result-gallery__export header span,.aplus-result-gallery__segment header span{color:var(--color-muted);font-size:.75rem}.aplus-result-gallery__export-frame{background:var(--color-surface-muted);min-height:0;overflow:auto}.aplus-result-gallery__export-frame img{width:100%;height:auto}.aplus-result-gallery__segment-stage{background:#111827;min-height:0;display:grid;overflow:hidden}.aplus-result-gallery__segment-preview{background:0 0;border:0;justify-content:center;align-items:center;min-height:0;padding:18px;display:flex;position:relative}.aplus-result-gallery__segment-preview img{object-fit:contain;width:100%;height:100%;max-height:calc(100vh - 330px)}.aplus-result-gallery__fullscreen-hint{color:#fff;opacity:0;background:#090e18c7;border-radius:999px;align-items:center;gap:6px;padding:7px 11px;display:inline-flex;position:absolute;bottom:28px}.aplus-result-gallery__segment-preview:hover .aplus-result-gallery__fullscreen-hint,.aplus-result-gallery__segment-preview:focus-visible .aplus-result-gallery__fullscreen-hint{opacity:1}.aplus-result-gallery__preview-state{color:#fff;background:#78350fe0;border-radius:999px;padding:7px 11px;font-size:.75rem;position:absolute;top:16px;left:50%;transform:translate(-50%)}.aplus-result-gallery__empty{color:#ffffffb8;align-content:center;justify-items:center;gap:6px;padding:32px;display:grid}.aplus-result-gallery__download{color:var(--color-accent-strong);align-items:center;gap:6px;min-height:44px;padding:8px 14px;font-size:.8125rem;font-weight:700;text-decoration:none;display:inline-flex}.aplus-result-gallery__export>.quality-download-gate{padding:8px 14px}.aplus-result-gallery__segment-actions{justify-content:flex-end;align-items:center;display:flex}.aplus-result-gallery__strip{gap:10px;min-width:0;padding:2px 2px 10px;display:flex;overflow-x:auto}.aplus-result-gallery__thumb{background:var(--color-surface);border-radius:var(--radius-sm);color:var(--color-foreground);font:inherit;border:2px solid #0000;flex:0 0 132px;gap:6px;min-height:44px;padding:0 0 7px;font-size:.75rem;display:grid;overflow:hidden}.aplus-result-gallery__thumb.is-selected{border-color:var(--color-accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--color-accent) 18%, transparent)}.aplus-result-gallery__thumb img,.aplus-result-gallery__thumb-empty{aspect-ratio:2/3;background:var(--color-surface-muted);object-fit:contain;width:100%;height:156px}.aplus-result-gallery__thumb-empty{color:var(--color-muted);justify-content:center;align-items:center;display:flex}@media (width<=1199px){.aplus-result-gallery__main{grid-template-columns:minmax(0,1fr)}.aplus-result-gallery__export-frame{max-height:620px}.aplus-result-gallery__segment-stage{min-height:480px}}.page-state{place-items:center;min-height:100dvh;padding:24px;display:grid}.settings-modal{z-index:1000;background:#252a258a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.settings-dialog{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-subtle);gap:16px;width:min(100%,720px);max-width:720px;max-height:min(720px,100dvh - 40px);padding:18px;display:grid;overflow:auto}.settings-dialog__header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:16px;padding-bottom:12px;display:flex}.settings-dialog__header h2{margin:0;font-size:1.25rem;line-height:1.2}.settings-tabs{border-bottom:1px solid var(--color-border);align-items:center;gap:8px;min-height:48px;display:flex}.settings-tab{color:var(--color-muted);background:0 0;border:0;border-bottom:3px solid #0000;min-height:44px;padding:0 12px;font-weight:800}.settings-tab[aria-selected=true]{border-bottom-color:var(--color-primary);color:var(--color-primary-strong)}.settings-panel,.settings-form{gap:14px;min-width:0;display:grid}.settings-model-grid{grid-template-columns:minmax(0,.44fr) minmax(0,1fr);gap:12px;display:grid}.settings-key-status{color:var(--color-primary-strong);margin:-6px 0 0;font-size:.875rem;font-weight:800}.settings-key-help{color:var(--color-muted);margin:-6px 0 0;font-size:.8125rem}.settings-quickstart{background:var(--color-success-surface);border-radius:var(--radius-md);justify-items:start;gap:8px;margin-bottom:14px;padding:12px 14px;display:grid}.settings-quickstart__hint{color:var(--color-muted);margin:0;font-size:.8125rem}.settings-account{justify-content:space-between;align-items:center;gap:16px;width:100%;display:flex}.settings-account>div{gap:4px;display:grid}.settings-account .danger-button{flex-shrink:0;align-items:center;gap:6px;display:inline-flex}@media (width<=640px){.settings-account{flex-direction:column;align-items:stretch}.settings-account .danger-button{justify-content:center;width:100%}}.settings-loading,.settings-feedback{margin:0}.settings-feedback{border-left:4px solid;padding:8px 10px;font-weight:700}.settings-feedback--error{background:var(--color-danger-surface);color:var(--color-danger)}.settings-feedback--success{background:var(--color-success-surface);color:var(--color-primary-strong)}.settings-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding-top:6px;display:flex}.settings-actions .primary-button:disabled,.settings-actions .secondary-button:disabled{cursor:not-allowed;opacity:.56}.workbench-params{gap:0;display:grid}.field-label{color:var(--color-foreground);font-size:.875rem;font-weight:700}.workbench-textarea,.workbench-input{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-foreground);font:inherit;width:100%;padding:8px 10px}.workbench-textarea{resize:vertical;min-height:96px}.workbench-input{min-height:44px}.workbench-textarea:focus-visible,.workbench-input:focus-visible,.workbench-reference--add:focus-within{border-color:var(--color-accent);box-shadow:var(--focus-ring);outline:none}.workbench-hint{color:var(--color-muted);font-size:.8125rem}.workbench-hint--error{color:var(--color-danger)}.workbench-inline-fields{grid-template-columns:1fr 1fr;gap:16px;display:grid}.workbench-segmented{background:var(--color-surface-muted);border-radius:var(--radius-md);grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.workbench-segmented button{border-radius:var(--radius-sm);color:var(--color-muted);cursor:pointer;background:0 0;border:none;padding:8px 10px;font-weight:600}.workbench-segmented button.is-active{background:var(--color-surface);color:var(--color-accent-strong);box-shadow:var(--shadow-subtle)}.workbench-advanced__toggle{color:var(--color-foreground);cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:0;font-weight:700;display:flex}.workbench-advanced__toggle>span{align-items:center;gap:6px;display:inline-flex}.workbench-advanced__toggle small{color:var(--color-muted);font-weight:500}.workbench-advanced__content{gap:6px;margin-top:12px;display:grid}.workbench-seed-row{gap:8px;display:flex}.workbench-seed-lock{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-muted);cursor:pointer;justify-content:center;align-items:center;width:44px;display:flex}.workbench-seed-lock.is-active{border-color:var(--color-accent);color:var(--color-accent-strong)}.workbench-reference-dropzone{background:var(--color-surface-muted);border:1px dashed var(--color-border-strong);border-radius:var(--radius-md);padding:12px;transition:border-color .16s,background .16s}.workbench-reference-dropzone:hover{background:var(--color-accent-soft);border-color:var(--color-accent)}.workbench-references{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px;display:grid}.workbench-reference{aspect-ratio:1;border:1px solid var(--color-border);border-radius:var(--radius-md);position:relative;overflow:hidden}.workbench-reference img{object-fit:cover;width:100%;height:100%}.workbench-reference__index{color:#fff;background:#0000008c;border-radius:999px;padding:1px 7px;font-size:.6875rem;position:absolute;top:6px;left:6px}.workbench-reference__meta{color:#fff;background:#0000008c;padding:2px 6px;font-size:.6875rem;position:absolute;bottom:0;left:0;right:0}.workbench-reference__remove{color:#fff;cursor:pointer;background:#0000008c;border:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:flex;position:absolute;top:6px;right:6px}.workbench-reference--add{background:var(--color-surface-muted);color:var(--color-muted);cursor:pointer;border-style:dashed;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:.8125rem;display:flex}.workbench-reference--add strong{color:var(--color-foreground)}.workbench-reference--add span{text-align:center;font-size:.75rem}.workbench-reference--add:disabled,.ecommerce-product-dropzone:disabled{cursor:wait;opacity:.64}.workbench-reference--pending,.ecommerce-product-thumb--pending{background:var(--color-surface);color:var(--color-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:8px;display:flex}.workbench-reference--pending strong,.ecommerce-product-thumb--pending strong{color:var(--color-foreground);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.75rem;overflow:hidden}.workbench-reference--pending span,.ecommerce-product-thumb--pending span{font-size:.75rem}.preparation-cancel{margin-top:10px}.workbench-reference-dropzone:not(.has-images) .workbench-reference--add{aspect-ratio:auto;grid-column:1/-1;min-height:112px}.workbench-generate{justify-content:center;align-items:center;gap:8px;width:100%;display:inline-flex}.workbench-spin{animation:1s linear infinite workbench-spin}.batch-edit-upload{background:color-mix(in srgb, var(--color-surface) 78%, transparent);border:1px dashed var(--color-border);border-radius:var(--radius-lg);padding:10px;transition:border-color .16s,background .16s}.batch-edit-upload:hover{background:var(--color-surface);border-color:var(--color-accent)}.batch-edit-sources{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.batch-edit-common-sources{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.batch-edit-source{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:0;min-height:126px;margin:0;display:grid;position:relative;overflow:hidden}.batch-edit-source>img{aspect-ratio:4/3;object-fit:cover;width:100%;height:100%;max-height:112px}.batch-edit-common-source{min-height:108px}.batch-edit-common-source>img{aspect-ratio:1;object-fit:contain;max-height:94px}.batch-edit-common-add{min-height:108px}.batch-edit-source figcaption{gap:2px;padding:8px;display:grid}.batch-edit-source figcaption strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.batch-edit-source figcaption span{color:var(--color-muted);font-size:.75rem}.batch-edit-source>button:not(.batch-edit-source--add){color:#fff;cursor:pointer;background:#0f172ac7;border:0;border-radius:999px;justify-content:center;align-items:center;width:26px;height:26px;display:inline-flex;position:absolute;top:6px;right:6px}.batch-edit-source--add{border:1px dashed var(--color-border);color:var(--color-muted);cursor:pointer;background:0 0;place-items:center;gap:5px;padding:18px 10px}.batch-edit-source--add strong{color:var(--color-foreground)}.batch-edit-source--add span{text-align:center;font-size:.75rem}.batch-edit-results{gap:14px;min-width:0;display:grid}.batch-edit-results__toolbar{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.batch-edit-results__toolbar span{color:var(--color-muted);font-size:.85rem}.batch-edit-results__toolbar .secondary-button{align-items:center;gap:6px;display:inline-flex}.batch-edit-results__empty{color:var(--color-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:calc(100dvh - 210px);display:flex}.batch-edit-results__empty strong{color:var(--color-foreground);font-size:1.05rem}.batch-edit-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);grid-template-columns:minmax(140px,.8fr) auto minmax(180px,1.2fr);align-items:stretch;gap:12px;min-height:220px;padding:12px;display:grid;overflow:hidden}.batch-edit-card.is-success{border-color:color-mix(in srgb, var(--color-accent) 38%, var(--color-border))}.batch-edit-card__source{grid-template-rows:minmax(0,1fr) auto;min-width:0;margin:0;display:grid}.batch-edit-card__source img{border-radius:var(--radius-md);object-fit:contain;background:#f8fafc;width:100%;height:100%;min-height:150px}.batch-edit-card__source figcaption{gap:2px;padding-top:8px;display:grid}.batch-edit-card__source figcaption strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.batch-edit-card__source figcaption span{color:var(--color-muted);font-size:.75rem}.batch-edit-card__arrow{color:var(--color-muted);align-self:center}.batch-edit-card__result{min-width:0}.batch-edit-card__preview{border-radius:var(--radius-md);cursor:zoom-in;background:#eef2f7;border:0;width:100%;height:168px;padding:0;position:relative;overflow:hidden}.batch-edit-card__preview img{object-fit:contain;width:100%;height:100%}.batch-edit-card__preview span{color:#fff;background:#0f172ab8;align-items:center;gap:5px;padding:5px 8px;display:inline-flex;position:absolute;bottom:8px;right:8px}.batch-edit-card__actions{gap:8px;padding-top:8px;display:flex}.batch-edit-card__actions>*{flex:1;justify-content:center;align-items:center;gap:5px;display:inline-flex}.batch-edit-card__state{color:var(--color-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:100%;min-height:190px;display:flex}.batch-edit-card__state--failed strong{color:var(--color-danger)}.batch-edit-results__additional{border-top:1px solid var(--color-border);margin-top:4px;padding-top:16px}.batch-edit-results__additional h2{margin:0 0 10px;font-size:1rem}.batch-edit-results__additional-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;display:grid}.batch-edit-additional{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:8px;overflow:hidden}.batch-edit-additional>button{border-radius:var(--radius-sm);cursor:zoom-in;background:#eef2f7;border:0;width:100%;height:180px;padding:0}.batch-edit-additional img{object-fit:contain;width:100%;height:100%}.batch-edit-additional>div{gap:6px;padding-top:8px;display:flex}.batch-edit-additional>div>*{flex:1;justify-content:center;align-items:center;gap:4px;display:inline-flex}@media (width<=760px){.batch-edit-results__toolbar{flex-direction:column;align-items:stretch}.batch-edit-results__toolbar .secondary-button{justify-content:center}.batch-edit-sources{grid-template-columns:1fr}.batch-edit-common-sources{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-edit-card{grid-template-columns:1fr}.batch-edit-card__arrow{justify-self:center;transform:rotate(90deg)}}@keyframes workbench-spin{to{transform:rotate(360deg)}}.workbench-cell__error{color:var(--color-danger);text-align:center;padding:12px;font-size:.8125rem}.workbench-gallery{gap:16px;min-width:0}.workbench-gallery__stage{border:1px solid color-mix(in srgb, var(--color-border) 70%, #111827);border-radius:var(--radius-md);background:#111827;min-height:min(620px,100vh - 210px);display:grid;overflow:hidden}.workbench-gallery__stage--pending{color:#ffffffb8;text-align:center;align-content:center;justify-items:center;min-height:420px;padding:32px}.workbench-gallery__stage--failed strong{color:#fca5a5;font-size:1.125rem}.workbench-gallery__stage--failed p,.workbench-gallery__stage--cancelled p{max-width:560px}.workbench-gallery__head{color:#fff;background:#090e18e0;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;display:flex}.workbench-gallery__head>div{gap:1px;display:grid}.workbench-gallery__head span{color:#ffffffa6;font-size:.75rem}.workbench-gallery__download{background:var(--color-accent);border-radius:var(--radius-sm);color:var(--color-on-primary);flex-shrink:0;align-items:center;gap:7px;min-height:38px;padding:0 12px;font-size:.8125rem;font-weight:700;text-decoration:none;display:inline-flex}.workbench-gallery__preview{background:0 0;border:0;justify-content:center;align-self:stretch;align-items:center;min-height:0;padding:18px;display:flex;position:relative}.workbench-gallery__preview img{object-fit:contain;width:100%;height:100%;max-height:calc(100vh - 285px)}.workbench-gallery__preview>span{color:#fff;opacity:0;background:#090e18c7;border-radius:999px;align-items:center;gap:6px;padding:7px 11px;font-size:.75rem;transition:opacity .16s;display:inline-flex;position:absolute;bottom:28px}.workbench-gallery__preview:hover>span,.workbench-gallery__preview:focus-visible>span{opacity:1}.workbench-gallery__strip{scroll-snap-type:x proximity;gap:12px;min-width:0;padding:2px 2px 10px;display:flex;overflow-x:auto}.workbench-gallery__thumb{background:var(--color-surface);border-radius:var(--radius-md);scroll-snap-align:start;border:2px solid #0000;flex-direction:column;flex:0 0 156px;margin:0;display:flex;overflow:hidden}.workbench-gallery__thumb.is-success{border-color:color-mix(in srgb, var(--color-accent) 42%, var(--color-border))}.workbench-gallery__thumb.is-selected{border-color:var(--color-accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--color-accent) 18%, transparent)}.workbench-gallery__thumb-button{aspect-ratio:1;background:var(--color-surface-muted);border:0;width:100%;padding:0;display:block;overflow:hidden}.workbench-gallery__thumb-button img{object-fit:contain;width:100%;height:100%}.workbench-gallery__thumb-state{aspect-ratio:1;background:var(--color-surface-muted);justify-content:center;align-items:center;display:flex}.workbench-gallery__thumb figcaption{align-items:center;gap:6px;min-height:38px;padding:7px 9px;display:flex}.workbench-gallery__state{color:var(--color-muted);flex:1;justify-content:center;align-items:center;gap:4px;font-size:.6875rem;display:inline-flex}.workbench-gallery__thumb.is-success .workbench-gallery__state{color:var(--color-accent-strong)}.workbench-gallery__thumb-download{color:var(--color-accent-strong);display:inline-flex}@media (width<=767px){.workbench-gallery__stage{min-height:calc(100dvh - 245px)}.workbench-gallery__head{align-items:flex-start;padding:10px 12px}.workbench-gallery__download{gap:0;min-height:36px;padding:0 10px;font-size:0}.workbench-gallery__download svg{width:18px;height:18px}.workbench-gallery__preview{padding:10px}.workbench-gallery__preview img{max-height:calc(100dvh - 330px)}.workbench-gallery__thumb{flex-basis:124px}}.running-cell figcaption .workbench-download{color:var(--color-accent-strong);cursor:pointer;background:0 0;border:none;flex-shrink:0;align-items:center;padding:0;display:inline-flex}.workbench-history{margin-top:28px}.workbench-history__head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.workbench-history__head .eyebrow{margin:0}.workbench-history__actions{gap:4px;display:flex}.workbench-history__actions .ghost-button{padding:4px 8px;font-size:.8125rem}.workbench-history__grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;display:grid}.workbench-history__item{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);margin:0;position:relative;overflow:hidden}.workbench-history__item.is-selected{border-color:var(--color-accent);box-shadow:var(--focus-ring)}.workbench-history__item img{aspect-ratio:1;object-fit:cover;width:100%;display:block}.workbench-history__select{cursor:pointer;background:0 0;border:none;width:100%;padding:0;display:block}.workbench-history__check{color:var(--color-accent-strong);position:absolute;top:6px;right:6px}.workbench-history__item figcaption{color:var(--color-muted);justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;font-size:.75rem;display:flex}.workbench-history__item figcaption button{color:var(--color-muted);cursor:pointer;background:0 0;border:none;align-items:center;padding:4px;display:inline-flex}.workbench-history__item figcaption button:hover{color:var(--color-accent-strong)}.ecommerce-page{grid-template-columns:minmax(300px,.62fr) minmax(0,1.4fr);align-items:stretch;gap:14px;min-width:0;height:100%;min-height:0;padding:18px;display:grid;overflow-y:auto}.ecommerce-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);align-content:start;gap:14px;min-width:0;padding:16px;display:grid}.ecommerce-input-panel{align-self:start}.ecommerce-workspace{flex-direction:column;gap:14px;min-width:0;max-height:calc(100dvh - 114px);padding-right:4px;display:flex;overflow-y:auto}.ecommerce-section-heading{color:var(--color-muted);align-items:baseline;gap:10px;display:flex}.ecommerce-section-heading span{font-size:.8125rem;font-weight:700}.ecommerce-section-heading h2{color:var(--color-foreground);margin:0;font-size:1rem}.ecommerce-section-heading .ecommerce-batch-download{align-items:center;gap:5px;margin-left:auto;text-decoration:none;display:inline-flex}.ecommerce-field{gap:6px;display:grid}.ecommerce-field>span{color:var(--color-foreground);font-size:.875rem;font-weight:700}.ecommerce-product-thumbs{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;display:grid}.ecommerce-product-thumb{aspect-ratio:1;border:1px solid var(--color-border);border-radius:var(--radius-md);position:relative;overflow:hidden}.ecommerce-product-thumb img{object-fit:cover;width:100%;height:100%}.ecommerce-product-thumb-meta{color:#fff;background:#0000008c;padding:2px 6px;font-size:.6875rem;position:absolute;bottom:0;left:0;right:0}.ecommerce-product-thumb-remove{color:#fff;cursor:pointer;background:#0000008c;border:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:flex;position:absolute;top:6px;right:6px}.ecommerce-product-dropzone{background:var(--color-surface-muted);border:1px dashed var(--color-border);border-radius:var(--radius-md);color:var(--color-muted);cursor:pointer;text-align:center;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:4px;min-height:104px;padding:14px;display:flex}.ecommerce-product-dropzone strong{color:var(--color-foreground)}.ecommerce-product-dropzone span{font-size:.8125rem}.ecommerce-run-button{justify-content:center;align-items:center;gap:8px;width:100%;display:inline-flex}.ecommerce-selection-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;gap:12px;padding:16px;display:grid}.ecommerce-selection-panel header{gap:3px;display:grid}.ecommerce-selection-panel header span{color:var(--color-muted);font-size:.78rem}.ecommerce-selection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.ecommerce-selection-grid>div{border:1px solid var(--color-border);border-radius:9px;align-items:center;gap:8px;min-height:42px;padding:8px 10px;display:flex}.ecommerce-selection-grid>div:has(input:checked){border-color:var(--color-accent);background:var(--color-accent-soft)}.ecommerce-selection-actions{gap:12px;display:flex}.ecommerce-selection-actions button{color:var(--color-accent-strong);cursor:pointer;background:0 0;border:0;padding:0}.ecommerce-selection-summary{color:var(--color-muted);margin:0;font-size:.8125rem}.ecommerce-field small{color:var(--color-muted);font-size:.75rem}.ecommerce-copy-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.ecommerce-regenerate-button{color:var(--color-accent-strong);cursor:pointer;background:0 0;border:none;align-self:start;align-items:center;gap:6px;padding:4px 0;font-weight:600;display:inline-flex}.ecommerce-regenerate-button:disabled{color:var(--color-muted);cursor:not-allowed}.ecommerce-results-grid{flex-direction:column;gap:12px;min-width:0;display:flex}.ecommerce-result-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;min-width:0;padding:12px 14px;display:grid;overflow:hidden}.ecommerce-result-card.is-running{border-color:color-mix(in srgb, var(--color-accent) 36%, var(--color-border))}.ecommerce-result-card.is-success{border-color:color-mix(in srgb, var(--color-accent) 48%, var(--color-border))}.ecommerce-result-card.is-failed{border-color:color-mix(in srgb, var(--color-danger) 50%, var(--color-border));background:var(--color-danger-surface)}.ecommerce-result-body{gap:4px;min-width:0;display:grid}.ecommerce-result-body strong{color:var(--color-foreground)}.ecommerce-result-body span{color:var(--color-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.ecommerce-result-preview{border-radius:var(--radius-sm);background:var(--color-surface-muted);width:104px;height:104px;color:var(--color-muted);flex:none;place-items:center;display:grid;overflow:hidden}.ecommerce-result-preview>button{cursor:zoom-in;background:0 0;border:0;width:100%;height:100%;padding:0;display:block}.ecommerce-result-preview>button:focus-visible{outline:3px solid var(--color-accent);outline-offset:-3px}.ecommerce-result-preview img{object-fit:contain;width:100%;height:100%;display:block}.ecommerce-result-actions .text-button{color:var(--color-accent-strong);cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;text-decoration:none;display:inline-flex}@media (width<=900px){.ecommerce-page{grid-template-columns:1fr;overflow-y:visible}.ecommerce-workspace{max-height:none;padding-right:0;overflow-y:visible}}@media (width<=420px){.ecommerce-selection-grid{grid-template-columns:1fr}}@media (width<=767px){.workbench-inline-fields{grid-template-columns:1fr}}.case-library-page{grid-template-columns:minmax(0,1fr) minmax(360px,440px);gap:14px;height:100%;min-height:0;padding:18px;display:grid;overflow-y:auto}.case-library-main{grid-template-rows:auto auto auto minmax(0,1fr);gap:14px;min-width:0;display:grid;overflow:hidden}.case-library-hero,.case-library-toolbar,.case-detail-actions,.case-prompt-panel>div{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.case-library-hero h2{margin:0;font-size:clamp(24px,2.4vw,32px);line-height:1.1}.case-library-hero p{max-width:720px;color:var(--color-muted);margin:7px 0 0;font-size:14px;line-height:1.6}.case-source-link{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);min-height:40px;color:var(--color-foreground);white-space:nowrap;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.case-source-link:hover{border-color:var(--color-accent);color:var(--color-accent-strong);background:var(--color-accent-soft)}.case-search{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);width:min(520px,100%);min-height:44px;color:var(--color-muted);grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;padding:0 12px;display:grid}.case-search:focus-within{border-color:var(--color-accent);box-shadow:var(--focus-ring)}.case-search input{box-shadow:none;background:0 0;border:0;padding:10px 0}.case-count{min-height:36px;color:var(--color-muted);white-space:nowrap;align-items:baseline;gap:5px;font-size:13px;display:inline-flex}.case-count strong{color:var(--color-foreground);font-size:18px}.case-category-row{gap:8px;padding-bottom:3px;display:flex;overflow-x:auto}.case-category-row button{border:1px solid var(--color-border);background:var(--color-surface);min-height:34px;color:var(--color-muted);cursor:pointer;border-radius:999px;flex:none;padding:7px 12px;font-size:13px;font-weight:600}.case-category-row button:hover,.case-category-row button.is-active{border-color:var(--color-accent);background:var(--color-accent-soft);color:var(--color-accent-strong)}.case-library-grid-viewport{min-height:0;position:relative;overflow-y:auto}.case-library-grid-spacer{width:100%;position:relative}.case-library-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));align-content:start;gap:14px;min-height:0;padding:1px 3px 8px 1px;display:grid}.case-library-grid-window{will-change:transform;width:100%;position:absolute;inset:0 0 auto}.case-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-foreground);cursor:pointer;text-align:left;grid-template-rows:auto minmax(80px,auto);padding:0;transition:border-color .16s,transform .16s,box-shadow .16s;display:grid;overflow:hidden}.case-card:hover,.case-card.is-active{border-color:var(--color-accent);box-shadow:var(--focus-ring);transform:translateY(-1px)}.case-image-wrap{aspect-ratio:4/3;isolation:isolate;background:linear-gradient(135deg, color-mix(in srgb, var(--color-accent-soft) 62%, var(--color-surface)), var(--color-surface-muted));width:100%;display:block;position:relative;overflow:hidden}.case-image-wrap:before{z-index:1;content:"";opacity:0;pointer-events:none;background:linear-gradient(105deg,#0000 0%,#ffffff94 46%,#0000 72%);position:absolute;inset:0;transform:translate(-120%)}.case-image-wrap.is-loading:before{opacity:.72;animation:1.45s ease-in-out infinite case-preview-shimmer}@keyframes case-preview-shimmer{to{transform:translate(120%)}}.case-image-wrap img{object-fit:cover;opacity:0;width:100%;height:100%;transition:opacity .26s,transform .42s;display:block;transform:scale(1.025)}.case-image-wrap.is-loaded img{opacity:1;transform:scale(1)}.case-image-wrap.is-failed img{opacity:0}.case-image-index{z-index:2;color:#fff;background:#0f172ab8;border-radius:999px;place-items:center;min-height:22px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-grid;position:absolute;top:8px;left:8px}.case-image-fallback{z-index:1;color:var(--color-muted);place-items:center;gap:7px;font-size:12px;font-weight:700;display:grid;position:absolute;inset:0}.case-card-body{align-content:start;gap:7px;padding:12px;display:grid}.case-card-body strong{min-height:44px;color:var(--color-foreground);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;line-height:1.45;display:-webkit-box;overflow:hidden}.case-card-body small{color:var(--color-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.empty-case-library,.empty-case-detail{border:1px dashed var(--color-border);border-radius:var(--radius-md);min-height:260px;color:var(--color-muted);text-align:center;place-items:center;gap:8px;display:grid}.empty-case-library strong,.empty-case-detail strong{color:var(--color-foreground)}.empty-case-library span,.empty-case-detail span{color:var(--color-muted);font-size:13px}.case-library-detail{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);grid-template-rows:minmax(220px,36vh) minmax(0,1fr);max-height:calc(100dvh - 120px);display:grid;position:sticky;top:0;overflow:hidden}.case-detail-media{border-bottom:1px solid var(--color-border);background:#0b0d0e;min-height:0;overflow:hidden}.case-detail-media img{object-fit:contain;width:100%;height:100%;display:block}.case-detail-content{align-content:start;gap:13px;min-height:0;padding:16px;display:grid;overflow-y:auto}.case-detail-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.case-detail-meta,.case-tags{flex-wrap:wrap;gap:7px;display:flex}.case-detail-meta span,.case-tags span{border:1px solid var(--color-border);background:var(--color-surface-muted);min-height:24px;color:var(--color-muted);border-radius:999px;align-items:center;padding:3px 8px;font-size:12px;font-weight:600;display:inline-flex}.case-detail-content h2{margin:0;font-size:22px;line-height:1.28}.case-detail-content p{color:var(--color-muted);margin:0;font-size:13px;line-height:1.6}.case-detail-actions{flex-wrap:wrap;justify-content:flex-start}.case-detail-actions .text-button{border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-foreground);cursor:pointer;background:0 0;align-items:center;gap:6px;min-height:38px;padding:8px 10px;text-decoration:none;display:inline-flex}.case-detail-actions .is-primary{border-color:var(--color-accent);background:var(--color-accent);color:var(--color-on-primary)}.case-detail-actions .is-primary:hover{background:var(--color-accent-strong);color:var(--color-on-primary)}.case-detail-actions .text-button:disabled{cursor:not-allowed;opacity:.56}.case-mobile-detail-close{display:none}.case-prompt-panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-surface-muted) 55%, transparent);gap:10px;min-height:0;padding:12px;display:grid}.case-prompt-panel>div{color:var(--color-muted);font-size:12px}.case-prompt-panel strong{color:var(--color-foreground);font-size:13px}.case-prompt-panel a,.case-prompt-panel span{color:var(--color-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.case-prompt-panel pre{max-height:360px;color:var(--color-foreground);white-space:pre-wrap;margin:0;font-family:Microsoft YaHei UI,Noto Sans SC,ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.65;overflow:auto}.case-prompt-loading{min-height:44px;color:var(--color-muted);align-items:center;gap:8px;font-size:13px;display:inline-flex}@media (width<=900px){.case-library-page{grid-template-columns:1fr;overflow:hidden}.case-library-main{overflow:hidden}.case-library-grid-viewport{overflow-y:auto}.case-library-detail{z-index:950;border:0;border-radius:0;grid-template-rows:minmax(220px,42vh) minmax(0,1fr);max-height:none;display:none;position:fixed;inset:60px 0 0}.case-library-detail.is-open{display:grid}.case-mobile-detail-close{display:inline-flex}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=1099px){.app-shell__body{grid-template-columns:220px minmax(0,1fr)}.app-shell__preview{border-left:0;border-top:1px solid var(--color-border);grid-column:2}}@media (width<=767px){.aplus-result-gallery__main{min-height:0}.aplus-result-gallery__segment-stage{min-height:min(70dvh,520px)}.aplus-result-gallery__segment-preview{padding:10px}.aplus-result-gallery__segment-preview img{max-height:min(66dvh,480px)}.aplus-result-gallery__thumb{flex-basis:112px}.aplus-result-gallery__thumb img,.aplus-result-gallery__thumb-empty{height:132px}.projects-page{padding:16px}.projects-toolbar{grid-template-columns:1fr;align-items:stretch}.projects-toolbar__stats{flex-wrap:wrap}.create-project,.project-row,.app-shell__topbar,.app-shell__body,.facts-grid{grid-template-columns:1fr}.project-row__thumbnail{width:72px;height:72px}.project-row__actions{flex-wrap:wrap}.app-shell__topbar{justify-items:start}.app-shell__sidebar{border-bottom:1px solid var(--color-border);border-right:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.step-button{margin-bottom:0}.app-shell__preview{grid-column:auto}.workspace-header{flex-direction:column;align-items:flex-start}.form-grid--two,.image-upload-toolbar,.attribute-row,.attribute-row__fields,.copy-direction,.copy-section__body,.copy-bullet-row{grid-template-columns:1fr}.attribute-editor__toolbar{flex-direction:column;align-items:stretch}.attribute-editor__toolbar .secondary-button{justify-content:center;width:100%}.attribute-row__identity{padding-left:0}.attribute-row__actions{grid-template-columns:repeat(3,minmax(44px,1fr));padding-top:0}.copy-gate{flex-direction:column;align-items:stretch}.copy-gate .primary-button{justify-content:center}.copy-toolbar,.copy-section__heading{flex-direction:column;align-items:stretch}.copy-toolbar__actions{justify-content:stretch}.copy-toolbar__actions .primary-button,.copy-toolbar__actions .secondary-button,.settings-actions .primary-button,.settings-actions .secondary-button{justify-content:center;width:100%}.settings-dialog{max-height:calc(100dvh - 24px);padding:14px}.settings-dialog__header,.settings-actions{align-items:stretch}.settings-model-grid{grid-template-columns:1fr}.segment-toolbar,.export-summary,.segment-task-row__titleline,.segment-task-row__meta{flex-direction:column;align-items:stretch}.segments-step__layout{grid-template-columns:1fr}.segment-task-row{grid-template-columns:64px minmax(0,1fr);align-items:start}.segment-task-row__actions{grid-column:1/-1;justify-content:stretch}.segment-task-row__actions .secondary-button{justify-content:center;width:100%}}.layout-step{gap:16px;display:grid}.layout-step__targets{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.layout-target{gap:6px;display:grid}.layout-target__caption{color:var(--color-muted);font-size:.8125rem}.layout-target__control{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-foreground);cursor:not-allowed;justify-content:space-between;align-items:center;padding:10px 12px;font-weight:600;display:flex}.layout-target__control svg{color:var(--color-muted)}.layout-select{gap:6px;display:grid}.layout-select__caption{color:var(--color-muted);font-size:.8125rem}.layout-select__control{position:relative}.layout-select__control select{appearance:none;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;width:100%;padding:10px 40px 10px 12px;font-weight:600}.layout-select__control select:focus-visible{border-color:var(--color-accent)}.layout-select__control svg{color:var(--color-muted);pointer-events:none;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.layout-modules{gap:10px;display:grid}.layout-modules__title{align-items:baseline;gap:8px;margin:0;font-weight:700;display:flex}.layout-modules__title span{color:var(--color-muted);font-size:.8125rem;font-weight:500}.layout-modules__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.module-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;align-items:flex-start;gap:10px;padding:12px;transition:border-color .12s,background .12s;display:flex}.module-card:hover{border-color:var(--color-accent)}.module-card--checked{background:var(--color-accent-soft);border-color:var(--color-accent)}.module-card--disabled{cursor:not-allowed;opacity:.55}.module-card--disabled:hover{border-color:var(--color-border)}.module-card input{accent-color:var(--color-accent);width:18px;height:18px;margin-top:1px}.module-card__body{gap:3px;display:grid}.module-card__name{font-weight:600}.module-card__desc{color:var(--color-muted);font-size:.8125rem;line-height:1.4}.login-page{justify-content:center;align-items:center;min-height:100dvh;padding:24px;display:flex}.login-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-subtle);gap:14px;width:100%;max-width:400px;padding:32px;display:grid}.login-card__brand{align-items:center;gap:10px;font-weight:700;display:flex}.login-card h1{margin:4px 0 0;font-size:1.25rem}.login-card .muted-text{margin:0}.login-card__field{gap:6px;display:grid}.login-card__field>span{color:var(--color-muted);font-size:.8125rem}.login-card__input{border:1px solid var(--color-border);border-radius:var(--radius-md);align-items:center;gap:8px;padding:10px 12px;display:flex}.login-card__input svg{color:var(--color-muted);flex-shrink:0}.login-card__input input{border:none;outline:none;flex:1}.login-card .primary-button{justify-content:center;min-height:48px}.login-card .inline-error{margin:0}.login-dialog{max-width:460px}.login-dialog__body{gap:14px;display:grid}.login-dialog__body>.muted-text,.login-dialog__body>.inline-error{margin:0}.login-dialog__body>.primary-button,.login-dialog__body>.secondary-button{justify-content:center;min-height:46px}.login-dialog__separator{color:var(--color-muted);align-items:center;gap:10px;margin:0;font-size:.8125rem;display:flex}.login-dialog__separator:before,.login-dialog__separator:after{background:var(--color-border);content:"";flex:1;height:1px}.license-panel{gap:16px;display:grid}.license-panel__toolbar{flex-wrap:wrap;gap:10px;display:flex}.license-create{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;display:grid}.license-create label{color:var(--color-muted);gap:6px;font-size:.8125rem;display:grid}.license-create input{border:1px solid var(--color-border);border-radius:var(--radius-md);min-height:42px;padding:8px 10px}.license-create__actions{grid-column:1/-1;align-items:end;gap:8px;display:flex}.license-table{min-width:1180px}.license-table td strong,.license-table td small{display:block}.license-table td small{color:var(--color-muted);margin-top:4px}.ghost-button.danger{color:var(--color-danger)}.ghost-button.danger:hover{background:var(--color-danger-surface)}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=760px){.license-create{grid-template-columns:1fr}}.generation-history-page{min-width:0;padding:32px;overflow:auto}.generation-history-page__header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.generation-history-page__header h1{margin:4px 0 8px}.generation-history-filters{border:1px solid var(--color-border);background:var(--color-surface);border-radius:16px;flex-wrap:wrap;gap:10px;margin-bottom:20px;padding:16px;display:flex}.generation-history-filters input,.generation-history-filters select{border:1px solid var(--color-border);background:#fff;border-radius:10px;min-height:44px;padding:0 12px}.generation-history-filters input{flex:240px}.generation-history-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.generation-history-card{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:var(--shadow-sm);border-radius:18px;padding:18px;position:relative}.generation-history-card__select{position:absolute;top:16px;right:16px}.generation-history-card__meta{flex-wrap:wrap;gap:8px;padding-right:70px;display:flex}.generation-history-card__meta span{background:var(--color-accent-soft);color:var(--color-accent-strong);border-radius:999px;padding:4px 8px;font-size:12px}.generation-history-card__actions{flex-wrap:wrap;gap:8px;display:flex}.generation-history-assets{grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0;display:grid}.generation-history-assets a{color:inherit;font-size:12px;text-decoration:none}.generation-history-asset{min-width:0;position:relative}.generation-history-asset__preview{color:inherit;cursor:zoom-in;font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr);gap:4px;width:100%;min-width:0;padding:0;font-size:12px;display:grid}.generation-history-asset__preview:focus-visible{outline:3px solid var(--color-accent);outline-offset:2px;border-radius:10px}.generation-history-asset__download{margin-top:4px;font-weight:600;display:inline-flex;color:var(--color-accent-strong)!important}.generation-history-assets img{aspect-ratio:1;object-fit:cover;background:var(--color-surface-muted);border-radius:10px;width:100%;min-width:0;max-width:100%;height:auto;display:block}.generation-history-pagination{justify-content:center;align-items:center;gap:14px;margin-top:24px;display:flex}@media (width<=760px){.generation-history-page{padding:18px 14px 92px}.generation-history-page__header{flex-direction:column}.generation-history-page__actions{flex-direction:column;align-items:stretch;width:100%}.generation-history-page__actions>.secondary-button{justify-content:center;width:100%}.generation-history-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px;display:grid}.generation-history-filters input{grid-column:1/-1;width:100%;min-width:0}.generation-history-filters select,.generation-history-filters button{width:100%;min-width:0}.generation-history-grid{grid-template-columns:1fr}}@media (width<=1023px){.app-shell--split{width:100%;overflow:hidden}.app-shell--split .app-shell__topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;min-height:60px;padding:8px 12px}.app-shell--split .brand-mark__name,.app-shell--split .app-shell__crumb,.app-shell--split .app-shell__topbar>.ghost-button,.app-shell--split .app-shell__topbar>.save-status{display:none}.app-shell--split .app-shell__title h1{font-size:1rem}.app-shell--split .app-shell__actions>.secondary-button,.tutorial-link{justify-content:center;gap:0;width:44px;min-width:44px;height:44px;padding:0;font-size:0}.app-shell--split .app-shell__actions{gap:8px}.split-shell{padding-bottom:calc(64px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr)}.feature-rail{border-right:0;border-top:1px solid var(--color-border);height:calc(64px + env(safe-area-inset-bottom));padding:5px 4px max(5px, env(safe-area-inset-bottom));z-index:900;flex-direction:row;align-items:stretch;gap:2px;position:fixed;bottom:0;left:0;right:0}.feature-rail__back{display:none}.feature-rail__item{flex:1 1 0;justify-content:center;gap:2px;min-width:0;padding:4px 2px;font-size:.6875rem}.feature-rail__item svg{width:20px;height:20px}.split-body{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);min-width:0}.mobile-pane-switcher{background:var(--color-surface);border-bottom:1px solid var(--color-border);grid-area:1/1;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:8px 12px;display:grid}.mobile-pane-switcher button{border-radius:var(--radius-md);color:var(--color-muted);background:0 0;border:1px solid #0000;min-height:44px}.mobile-pane-switcher button.is-active{background:var(--color-accent-soft);border-color:color-mix(in srgb, var(--color-accent) 28%, var(--color-border));color:var(--color-accent-strong);font-weight:700}.split-body__input,.split-body__result{grid-area:2/1;min-width:0}.split-body[data-mobile-pane=input] .split-body__result,.split-body[data-mobile-pane=result] .split-body__input{display:none}.split-body__scroll{padding:14px}.split-body__footer{padding:10px 14px}.split-body__result{padding:16px}}@media (width>=1024px){.mobile-pane-switcher{display:none}}.page-skeleton{gap:16px;min-height:min(720px,100vh - 64px);padding:24px;display:grid;overflow:hidden}.page-skeleton--compact{min-height:420px;padding:12px 0}.page-skeleton__cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.page-skeleton__cards>span,.page-skeleton__layout>span,.page-skeleton__settings>span{background:linear-gradient(100deg, var(--color-surface-muted) 20%, var(--color-surface) 38%, var(--color-surface-muted) 56%);border:1px solid var(--color-border);border-radius:var(--radius-lg);background-size:220% 100%;min-height:132px;animation:1.4s ease-in-out infinite page-skeleton-shimmer;display:block}.page-skeleton--case-library .page-skeleton__cards>span{aspect-ratio:4/5}.page-skeleton--history .page-skeleton__cards>span{min-height:280px}.page-skeleton__layout{grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);gap:16px;display:grid}.page-skeleton__layout>span:nth-child(3){grid-column:1/-1;min-height:84px}.page-skeleton__layout--ecommerce{grid-template-columns:repeat(3,minmax(240px,1fr))}.page-skeleton__layout--ecommerce>span:nth-child(3){grid-column:auto;min-height:520px}.page-skeleton__layout--editor>span{min-height:620px}.page-skeleton__settings{gap:14px;display:grid}.page-skeleton__settings>span{min-height:64px}.page-load-error{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}@keyframes page-skeleton-shimmer{to{background-position-x:-220%}}@media (prefers-reduced-motion:reduce){.page-skeleton__cards>span,.page-skeleton__layout>span,.page-skeleton__settings>span{animation:none}}@media (width<=767px){.page-skeleton{min-height:calc(100vh - 112px);padding:16px}.page-skeleton--compact{min-height:380px;padding:8px 0}.page-skeleton__cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.page-skeleton__layout,.page-skeleton__layout--ecommerce{grid-template-columns:minmax(0,1fr)}.page-skeleton__layout>span:nth-child(3){grid-column:auto}}.editor-mode-switch{background:#f7f9fc;border:1px solid #dbe4f0;border-radius:12px;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px;padding:4px;display:grid}.editor-mode-switch button{color:#475569;cursor:pointer;background:0 0;border:0;border-radius:9px;min-height:44px;font-weight:700}.editor-mode-switch button[aria-pressed=true]{color:#fff;background:#2563eb;box-shadow:0 4px 12px #2563eb38}.replica-workspace{gap:16px;display:grid}.replica-card{background:#fff;border:1px solid #dbe4f0;border-radius:14px;gap:12px;padding:16px;display:grid}.replica-card h3{margin:0}.replica-template-preview{object-fit:contain;background:#f1f5f9;border-radius:10px;width:100%;max-height:360px}.replica-slice-list{gap:10px;display:grid}.replica-slice{border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:72px 1fr;align-items:center;gap:8px;padding:10px;display:grid}.replica-slice img{object-fit:cover;border-radius:6px;grid-row:span 4;width:72px;height:90px}.replica-slice div{display:grid}.replica-slice label{align-items:center;gap:6px;display:flex}.replica-slice input{width:90px}.replica-actions{flex-wrap:wrap;gap:8px;display:flex}.replica-question{background:#f8fafc;border-radius:10px;gap:8px;padding:12px;display:grid}.replica-question label:first-child{gap:6px;display:grid}.replica-question small{color:#64748b}.replica-question input[type=text],.replica-question input[type=number],.replica-question textarea,.replica-question select{width:100%;min-height:44px}.replica-review-toggle{align-items:center;gap:8px;display:flex}.replica-results{gap:20px;padding:20px;display:grid;overflow:auto}.replica-results figure{gap:10px;margin:0;display:grid}.replica-export-image,.replica-current-image{background:#f1f5f9;border-radius:12px;width:100%;height:auto}.replica-current-image{object-fit:contain;max-height:70vh}.replica-thumbnails{gap:10px;padding-bottom:6px;display:flex;overflow-x:auto}.replica-thumbnails button{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;min-width:88px;min-height:88px;padding:6px}.replica-thumbnails img{object-fit:cover;width:72px;height:72px}@media (width<=720px){.replica-slice{grid-template-columns:64px 1fr}.replica-slice button{min-height:44px}.replica-results{padding:12px}}.desktop-app-shell{min-height:100vh}.desktop-update-banner{color:#9a3412;z-index:31;background:#fff7ed;border-bottom:1px solid #fed7aa;justify-content:center;align-items:center;gap:14px;min-height:42px;padding:8px 20px;display:flex;position:relative}.desktop-update-banner div{gap:8px;display:flex}.desktop-update-banner button{color:#9a3412;cursor:pointer;font:inherit;background:#fff;border:1px solid #fdba74;border-radius:8px;min-height:30px;padding:4px 12px;font-weight:700}.desktop-update-banner button:disabled{cursor:wait;opacity:.6}.desktop-license-banner{z-index:30;justify-content:center;align-items:center;gap:10px;min-height:34px;padding:7px 20px;display:flex;position:relative}.desktop-license-banner--active{color:#166534;background:#ecfdf3}.desktop-license-banner--offline{color:#92400e;background:#fffbeb}.desktop-license-banner--blocked{color:#991b1b;background:#fef2f2}.desktop-license-dot{background:currentColor;border-radius:999px;width:8px;height:8px}.desktop-activation-shell{background:radial-gradient(circle at 15% 20%,#ffffffd1,#0000 32%),linear-gradient(145deg,#f6f2ff 0%,#eef5ff 48%,#f8fafc 100%);justify-content:center;align-items:center;min-height:100vh;padding:32px;display:flex}.desktop-activation-card{background:#ffffffeb;border:1px solid #8b5cf62e;border-radius:28px;gap:22px;width:100%;max-width:520px;padding:42px;display:grid;box-shadow:0 30px 80px #4c1d9524}.desktop-activation-mark{color:#fff;letter-spacing:.08em;background:linear-gradient(135deg,#6d28d9,#2563eb);border-radius:18px;justify-content:center;align-items:center;width:52px;height:52px;font-size:18px;font-weight:800;display:flex}.desktop-eyebrow{color:#6d28d9;letter-spacing:.16em;margin:0 0 8px;font-size:12px;font-weight:800}.desktop-activation-card h1{color:#111827;margin:0;font-size:clamp(28px,4vw,38px)}.desktop-activation-copy,.desktop-license-note{color:#64748b;line-height:1.7}.desktop-license-field{gap:8px;font-weight:700;display:grid}.desktop-license-field input{font:inherit;border:1px solid #cbd5e1;border-radius:14px;padding:14px 16px}.desktop-license-field input:focus{border-color:#7c3aed;outline:none;box-shadow:0 0 0 4px #7c3aed1f}.desktop-activate-button{min-height:48px}.desktop-license-error{color:#b91c1c;margin:-8px 0 0}.desktop-license-note{margin:0;font-size:13px}.clothing-studio{--clothing-accent:var(--color-accent);--clothing-accent-soft:var(--color-accent-soft)}.clothing-studio__header{border-bottom:1px solid var(--color-border);background:var(--color-surface);grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr);align-items:center;gap:18px;min-height:72px;padding:12px 24px;display:grid}.clothing-studio__header h1,.clothing-studio__hero h2,.clothing-section-heading h2,.clothing-task-hero h2,.clothing-review-panel h3,.clothing-next-round h3{margin:0}.clothing-studio__header>div{text-align:center}.clothing-studio__header>button{justify-self:end}.clothing-studio__main{background:var(--color-canvas);min-width:0;padding:28px;overflow:auto}.clothing-studio__content{gap:20px;width:min(100%,1240px);margin:0 auto;display:grid}.clothing-studio__hero{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:linear-gradient(135deg, var(--color-surface) 0%, var(--clothing-accent-soft) 180%);box-shadow:var(--shadow-sm);justify-content:space-between;gap:32px;padding:24px 26px;display:flex}.clothing-studio__hero>div:first-child{max-width:720px}.clothing-studio__hero h2{letter-spacing:-.035em;margin-top:4px;font-size:clamp(1.45rem,2vw,2rem)}.clothing-studio__hero p:last-child,.clothing-section-heading p,.clothing-next-round__heading p{color:var(--color-muted);margin:8px 0 0;line-height:1.65}.clothing-studio__hero-meta{min-width:230px;color:var(--color-muted);align-content:center;gap:8px;font-size:.82rem;display:grid}.clothing-studio__hero-meta span{align-items:center;gap:7px;display:flex}.clothing-studio__hero-meta svg{color:var(--clothing-accent)}.clothing-studio__hero-meta a{color:var(--color-accent-strong);margin-top:2px;font-weight:700}.clothing-workflow{gap:14px;display:grid}.clothing-step{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-sm);display:grid;overflow:hidden}.clothing-step__heading{border-bottom:1px solid var(--color-border);background:var(--color-surface-muted);align-items:center;gap:10px;padding:15px 22px;display:flex}.clothing-step__heading h3{margin:0;font-size:1rem}.clothing-step__index{color:var(--color-muted);letter-spacing:.08em;font-size:.72rem;font-weight:800}.clothing-step__icon{background:var(--clothing-accent-soft);width:34px;height:34px;color:var(--clothing-accent);border-radius:10px;place-items:center;display:grid}.clothing-step__body{gap:16px;min-width:0;padding:22px 24px;display:grid}.clothing-step__description{color:var(--color-muted);margin:-4px 0 0;font-size:.86rem}.clothing-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.clothing-mode-card{text-align:left;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);min-height:88px;color:var(--color-foreground);cursor:pointer;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:12px;padding:16px;transition:border-color .16s,background .16s,transform .16s;display:grid;position:relative}.clothing-mode-card:hover{border-color:var(--clothing-accent);transform:translateY(-1px)}.clothing-mode-card.is-active{border-color:var(--clothing-accent);background:var(--clothing-accent-soft);box-shadow:0 0 0 1px var(--clothing-accent)}.clothing-mode-card>span:first-child{background:var(--color-surface-muted);width:42px;height:42px;color:var(--clothing-accent);border-radius:12px;place-items:center;display:grid}.clothing-mode-card>span:nth-child(2){gap:4px;display:grid}.clothing-mode-card small{color:var(--color-muted);font-size:.8rem;line-height:1.45}.clothing-mode-card__check{border:1px solid var(--color-border);background:var(--color-surface);width:22px;height:22px;color:var(--clothing-accent);border-radius:50%;place-items:center;display:grid}.clothing-field{gap:7px;display:grid}.clothing-field>span{font-size:.86rem;font-weight:700}.clothing-field input,.clothing-field select,.clothing-field textarea{border:1px solid var(--color-border);background:var(--color-surface);width:100%;color:var(--color-foreground);border-radius:10px;padding:11px 12px}.clothing-field input:focus,.clothing-field select:focus,.clothing-field textarea:focus{outline:2px solid color-mix(in srgb, var(--clothing-accent) 30%, transparent);border-color:var(--clothing-accent)}.clothing-field--name{max-width:560px}.clothing-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.clothing-upload-card{border:1px dashed var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);cursor:pointer;place-items:center;min-height:168px;display:grid;position:relative;overflow:hidden}.clothing-upload-card:hover{border-color:var(--clothing-accent);background:var(--clothing-accent-soft)}.clothing-upload-card>input{z-index:2;opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.clothing-upload-card.has-file>input,.clothing-upload-card__scrim,.clothing-upload-card__meta{pointer-events:none}[data-image-upload]:focus-visible{outline:2px solid var(--color-primary,#2563eb);outline-offset:3px}.clothing-upload-card>img,.clothing-upload-card__loading{object-fit:cover;width:100%;height:100%;min-height:168px}.clothing-upload-card__loading{place-items:center;display:grid}.clothing-upload-card__empty{text-align:center;justify-items:center;gap:6px;padding:18px;display:grid}.clothing-upload-card__empty>span{background:var(--color-surface);width:42px;height:42px;color:var(--clothing-accent);box-shadow:var(--shadow-sm);border-radius:50%;place-items:center;display:grid}.clothing-upload-card__empty small,.clothing-upload-card__empty em{color:var(--color-muted);font-size:.78rem;font-style:normal}.clothing-upload-card__scrim{background:linear-gradient(#0000,#000000b8);position:absolute;inset:45% 0 0}.clothing-upload-card__meta{z-index:1;color:#fff;gap:2px;display:grid;position:absolute;bottom:12px;left:12px;right:12px}.clothing-upload-card__meta small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.clothing-upload-card__remove{z-index:3;color:#fff;cursor:pointer;background:#14171fbd;border:0;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:10px;right:10px}.clothing-upload-card--compact{min-height:116px}.clothing-multi-upload{gap:10px;display:grid}.clothing-upload-previews{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.clothing-upload-previews>div{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;position:relative;overflow:hidden}.clothing-upload-previews img{aspect-ratio:1;object-fit:cover;width:100%}.clothing-upload-previews button{color:#fff;background:#14171fb8;border:0;border-radius:50%;place-items:center;width:26px;height:26px;display:grid;position:absolute;top:5px;right:5px}.clothing-upload-previews>div>span{color:var(--color-muted);text-overflow:ellipsis;white-space:nowrap;padding:6px 8px;font-size:.72rem;display:block;overflow:hidden}.clothing-template-toolbar,.clothing-section-heading,.clothing-result>div{justify-content:space-between;align-items:center;gap:14px;display:flex}.clothing-template-toolbar>span{color:var(--color-muted);font-size:.82rem}.clothing-filter-tabs{flex-wrap:wrap;gap:6px;display:flex}.clothing-filter-tabs button{border:1px solid var(--color-border);background:var(--color-surface);min-height:36px;color:var(--color-muted);cursor:pointer;border-radius:999px;padding:7px 12px}.clothing-filter-tabs button.is-active{border-color:var(--clothing-accent);background:var(--clothing-accent-soft);color:var(--color-accent-strong);font-weight:700}.clothing-template-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.clothing-template-card{text-align:left;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);min-width:0;color:var(--color-foreground);cursor:pointer;padding:0;transition:border-color .16s,box-shadow .16s,transform .16s;position:relative;overflow:hidden}.clothing-template-card:hover{border-color:var(--clothing-accent);box-shadow:var(--shadow-md);transform:translateY(-2px)}.clothing-template-card.is-selected{border-color:var(--clothing-accent);box-shadow:0 0 0 2px var(--clothing-accent-soft)}.clothing-template-card__media{background:var(--color-surface-muted);display:block;position:relative;overflow:hidden}.clothing-template-card__media img{aspect-ratio:4/5;object-fit:cover;width:100%;transition:transform .2s;display:block}.clothing-template-card:hover img{transform:scale(1.025)}.clothing-template-card__media>span{color:#fff;background:#14171fb8;border-radius:999px;padding:4px 7px;font-size:.7rem;position:absolute;bottom:8px;right:8px}.clothing-template-card__copy{gap:2px;padding:11px 12px;display:grid}.clothing-template-card__copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.clothing-template-card__copy small{color:var(--color-muted)}.clothing-template-card__check{background:var(--clothing-accent);color:#fff;border-radius:50%;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:9px;left:9px;box-shadow:0 3px 12px #0000002e}.clothing-template-card--upload{text-align:center;background:var(--color-surface-muted);border-style:dashed;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:230px;padding:20px;display:flex}.clothing-template-card--upload small{color:var(--color-muted);line-height:1.45}.clothing-template-card__upload-icon{background:var(--color-surface);width:48px;height:48px;color:var(--clothing-accent);box-shadow:var(--shadow-sm);border-radius:50%;place-items:center;display:grid}.clothing-template-more{justify-self:center}.clothing-selected-template{border:1px solid color-mix(in srgb, var(--clothing-accent) 35%, var(--color-border));background:var(--clothing-accent-soft);color:var(--color-accent-strong);border-radius:11px;align-items:center;gap:10px;padding:12px 14px;display:flex}.clothing-selected-template>div{gap:2px;display:grid}.clothing-selected-template span{color:var(--color-muted);font-size:.78rem}.clothing-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.clothing-submit-card{border-radius:var(--radius-md);background:var(--color-foreground);color:var(--color-surface);justify-content:space-between;align-items:center;gap:20px;padding:18px;display:flex}.clothing-submit-card>div{gap:4px;min-width:0;display:grid}.clothing-submit-card .eyebrow{color:color-mix(in srgb, var(--color-surface) 65%, transparent)}.clothing-submit-card span{color:color-mix(in srgb, var(--color-surface) 72%, transparent);font-size:.8rem}.clothing-submit-card .clothing-submit-card__missing{color:#ffd8a8}.clothing-submit-card .primary-button{flex:none;min-width:190px}.clothing-secondary-section,.clothing-panel,.clothing-review-panel,.clothing-next-round{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-sm);gap:16px;padding:22px;display:grid}.clothing-section-heading>div{min-width:0}.clothing-section-heading>span{color:var(--color-muted);font-size:.82rem}.clothing-empty-state{border-radius:var(--radius-md);background:var(--color-surface-muted);color:var(--color-muted);align-items:center;gap:12px;padding:18px;display:flex}.clothing-empty-state>div{gap:3px;display:grid}.clothing-empty-state strong{color:var(--color-foreground)}.clothing-task-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.clothing-task-card{border:1px solid var(--color-border);min-width:0;color:inherit;border-radius:12px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px;text-decoration:none;display:grid}.clothing-task-card:hover{border-color:var(--clothing-accent);background:var(--clothing-accent-soft)}.clothing-task-card__icon{background:var(--color-surface-muted);width:38px;height:38px;color:var(--clothing-accent);border-radius:10px;place-items:center;display:grid}.clothing-task-card>span:nth-child(2){gap:3px;min-width:0;display:grid}.clothing-task-card small{color:var(--color-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.clothing-status{border:1px solid var(--color-border);background:var(--color-surface-muted);min-height:28px;color:var(--color-muted);white-space:nowrap;border-radius:999px;align-items:center;padding:4px 9px;font-size:.72rem;font-weight:700;display:inline-flex}.clothing-owned-templates{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;display:grid}.clothing-owned-templates article{border:1px solid var(--color-border);border-radius:12px;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.clothing-owned-templates img{object-fit:cover;border-radius:8px;width:56px;height:68px}.clothing-owned-templates article>div{gap:3px;min-width:0;display:grid}.clothing-owned-templates small{color:var(--color-muted)}.clothing-template-create{border:1px solid var(--color-border);border-radius:12px}.clothing-template-create summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.clothing-template-create summary>span{align-items:center;gap:7px;font-weight:700;display:flex}.clothing-template-create summary small{color:var(--color-muted)}.clothing-template-create__form{border-top:1px solid var(--color-border);gap:14px;padding:0 16px 16px;display:grid}.clothing-template-create__form>:first-child{margin-top:16px}.clothing-actions{flex-wrap:wrap;gap:9px;display:flex}.clothing-actions a,.clothing-actions button,.clothing-next-round__submit{justify-content:center;align-items:center;gap:6px;display:inline-flex}.clothing-task-detail{gap:16px}.clothing-task-hero{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:linear-gradient(135deg, var(--color-surface) 0%, var(--clothing-accent-soft) 180%);gap:14px;padding:22px 24px;display:grid}.clothing-back-link{width:fit-content;color:var(--color-muted);align-items:center;gap:6px;font-size:.82rem;font-weight:700;text-decoration:none;display:inline-flex}.clothing-back-link:hover{color:var(--color-accent-strong)}.clothing-task-hero__main{justify-content:space-between;align-items:center;gap:16px;display:flex}.clothing-task-hero__main h2{margin-top:3px;font-size:clamp(1.4rem,2vw,1.9rem)}.clothing-task-facts{flex-wrap:wrap;gap:7px;display:flex}.clothing-task-facts span{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-muted);border-radius:999px;padding:5px 9px;font-size:.75rem}.clothing-review-panel__heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.clothing-review-panel__heading h3{margin-top:3px}.clothing-review-empty{border:1px dashed var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);min-height:260px;color:var(--color-muted);text-align:center;align-content:center;place-items:center;gap:8px;display:grid}.clothing-review-empty strong{color:var(--color-foreground)}.clothing-next-round__heading{align-items:flex-start;gap:12px;display:flex}.clothing-next-round__heading>span{background:var(--clothing-accent-soft);width:38px;height:38px;color:var(--clothing-accent);border-radius:11px;flex:none;place-items:center;display:grid}.clothing-next-round__submit{justify-self:start}.clothing-retry-list{flex-wrap:wrap;gap:8px;display:flex}.clothing-results{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;display:grid}.clothing-result{border:1px solid var(--color-border);border-radius:14px;overflow:hidden}.clothing-result img{aspect-ratio:3/4;object-fit:cover;background:var(--color-surface-muted);width:100%}.clothing-result>div{padding:12px}.clothing-template-picker{border:1px solid var(--color-border);border-radius:12px;margin:0;padding:14px}.clothing-template-picker legend{padding:0 6px;font-weight:700}.clothing-template-picker legend span{color:var(--color-muted);font-size:.78rem;font-weight:500}.clothing-template-picker>div{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;margin-top:10px;display:grid}.clothing-template-picker label{cursor:pointer;border:2px solid #0000;border-radius:10px;position:relative;overflow:hidden}.clothing-template-picker label.is-selected{border-color:var(--clothing-accent)}.clothing-template-picker input{opacity:0;position:absolute}.clothing-template-picker img{aspect-ratio:3/4;object-fit:cover;background:var(--color-surface-muted);border-radius:8px;width:100%}.clothing-template-picker label>span{color:#fff;background:#14171fb8;border-radius:999px;place-items:center;min-width:24px;min-height:24px;padding:3px 6px;font-size:.68rem;display:grid;position:absolute;bottom:5px;right:5px}@media (width<=820px){.clothing-studio__header{grid-template-columns:1fr auto;padding:10px 14px}.clothing-studio__header>div{text-align:left;grid-area:2/1/auto/-1}.clothing-studio__main{padding:16px 12px 96px}.clothing-studio__hero{gap:16px;padding:20px;display:grid}.clothing-studio__hero-meta{min-width:0}.clothing-step__heading{padding:13px 16px}.clothing-step__body{padding:16px}.clothing-mode-grid,.clothing-upload-grid,.clothing-settings-grid,.clothing-task-list{grid-template-columns:1fr}.clothing-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.clothing-template-card--upload{min-height:194px}.clothing-template-toolbar,.clothing-section-heading,.clothing-submit-card{flex-direction:column;align-items:stretch}.clothing-filter-tabs button,.clothing-template-more{min-height:44px}.clothing-submit-card .primary-button{width:100%;min-height:48px}.clothing-secondary-section,.clothing-panel,.clothing-review-panel,.clothing-next-round{padding:16px}.clothing-owned-templates{grid-template-columns:1fr}.clothing-template-create summary{flex-direction:column;align-items:flex-start}.clothing-actions>*{flex:auto;min-height:44px}.clothing-review-panel__heading,.clothing-task-hero__main{flex-direction:column;align-items:stretch}.clothing-next-round__submit{width:100%;min-height:46px}.clothing-template-picker>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=821px) and (width<=1120px){.clothing-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.workbench-params{border:0;min-inline-size:0;margin:0;padding:0}.draft-notice{color:var(--color-muted);margin:0 0 12px;font-size:12px;line-height:1.5}.draft-notice--error{color:var(--color-danger)}.draft-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-bottom:8px;display:flex}.draft-toolbar .draft-notice{margin:0}.draft-toolbar button{min-height:44px;color:var(--color-accent-strong);font:inherit;cursor:pointer;background:0 0;border:0;flex-shrink:0;padding:4px 8px;font-size:12px}.draft-toolbar button:disabled{color:var(--color-muted);cursor:default}.workbench-inline-fields>.form-section{border:0;align-content:start;padding-top:0}.feature-rail__account{margin-top:auto}.image-model-launcher{font:inherit;color:var(--color-accent-strong);cursor:pointer;background:0 0;border:0}.feature-rail .image-model-launcher span{white-space:normal;overflow-wrap:anywhere}.image-model-picker{width:min(560px,100%)}.image-model-picker__intro{margin:0 0 16px;line-height:1.65}.image-model-options{border:0;gap:10px;min-width:0;margin:0;padding:0;display:grid}.image-model-option{border:1px solid var(--color-border);cursor:pointer;border-radius:8px;align-items:flex-start;gap:12px;min-height:64px;padding:14px;display:flex}.image-model-option input{accent-color:var(--color-accent-strong);flex:none;margin-top:5px}.image-model-option>span{gap:5px;min-width:0;line-height:1.5;display:grid}.image-model-option strong{overflow-wrap:anywhere;font-size:14px}.image-model-option small{color:var(--color-accent-strong)}.image-model-option span span{color:var(--color-muted);font-size:13px}.image-model-option.is-selected{background:var(--color-accent-soft);border-color:var(--color-accent-strong)}.image-model-option:focus-within{outline:2px solid var(--color-accent-strong);outline-offset:2px}.image-model-option.is-unavailable{opacity:.65;cursor:not-allowed}.image-model-picker__note{color:var(--color-muted);font-size:12px;line-height:1.65}.image-model-picker__guide{justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;display:inline-flex}.image-model-picker footer{flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:16px;display:flex}.image-model-picker footer button{min-height:44px}.feature-rail__more{font:inherit;background:0 0;border:0;display:none}.feature-picker-backdrop{z-index:1100;background:#0f172a66;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.feature-picker{background:var(--color-surface);border-radius:12px;width:min(480px,100%);max-height:85dvh;padding:20px;overflow:auto}.feature-picker header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.feature-picker h2{margin:0;font-size:1.125rem}.feature-picker__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.feature-picker__grid a{color:var(--color-foreground);border:1px solid var(--color-border);border-radius:8px;align-items:center;gap:10px;min-height:56px;padding:16px 12px;text-decoration:none;display:flex}.feature-picker__grid a[aria-current=page]{color:var(--color-accent-strong);border-color:var(--color-accent);background:var(--color-accent-soft)}.feature-picker .lts4ai-account{margin-top:20px}.feature-picker .lts4ai-account strong{max-width:none}@media (width>=1024px){.split-shell{grid-template-columns:104px minmax(0,1fr)}.feature-rail__item span{white-space:nowrap}}@media (width<=1023px){.feature-rail>.feature-rail__secondary,.feature-rail__account{display:none}.feature-rail>.feature-rail__primary,.feature-rail__more{flex:1 1 0;min-width:44px;min-height:44px;padding:4px;font-size:11px;display:flex}.feature-rail__item span{white-space:nowrap}.feature-picker-backdrop{padding:12px 12px max(12px, env(safe-area-inset-bottom));align-items:end}.feature-picker .lts4ai-account__login{min-height:44px}}.submission-summary{color:var(--color-muted);margin:4px 0 12px;font-size:13px;line-height:1.6}.submission-summary strong{color:var(--color-foreground)}.result-toolbar{flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;display:flex}.result-toolbar .secondary-button{min-height:40px}.task-progress{border-bottom:1px solid var(--color-border);flex-wrap:wrap;align-items:baseline;gap:8px 16px;padding:12px 0;font-size:13px;display:flex}.task-progress small{color:var(--color-muted);flex-basis:100%;line-height:1.5}.image-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;display:grid}.image-comparison figure{min-width:0;margin:0}.image-comparison figcaption{color:#e2e8f0;padding:8px 0;font-size:13px}.image-comparison button{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0}.image-comparison img{object-fit:contain;width:100%;height:340px}.workbench-gallery__thumb-state.workbench-cell__error{flex-direction:column;gap:6px;display:flex;overflow:auto}.workbench-gallery__thumb input[type=checkbox]{min-width:18px;min-height:18px;accent-color:var(--color-accent)}.workbench-gallery__head .workbench-gallery__head-actions{flex-wrap:wrap;gap:8px;display:flex}.workbench-gallery__head-actions button[aria-pressed]{background:0 0;border:1px solid #ffffff80}.result-toolbar a{text-decoration:none}@media (width<=1023px){.workbench-gallery__head-actions .workbench-gallery__download{min-height:44px;font-size:12px}.result-toolbar .secondary-button,.workbench-gallery__head-actions button{min-height:44px}.workbench-gallery__head{flex-wrap:wrap;gap:8px}.workbench-gallery__head-actions{flex-wrap:wrap}.image-comparison img{height:200px}}.task-activity-trigger{z-index:35;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-foreground);cursor:pointer;border-radius:10px;min-height:44px;padding:10px 16px;position:fixed;bottom:22px;right:22px;box-shadow:0 3px 12px #0002}.task-activity-panel section{margin:18px 0}@media (width<=1023px){.task-activity-trigger{bottom:calc(76px + env(safe-area-inset-bottom));font-size:12px;right:12px}}
