.accessible-dialog,.studio-login,.user-workspace{--user-canvas:#f6f5f3;--user-surface:#fff;--user-ink:#28272c;--user-muted:#66636e;--user-line:#e4e1e7;--user-accent:#6d4ac5;--user-accent-soft:#f0ebfa;--region-accent:var(--user-accent);--region-accent-soft:var(--user-accent-soft);--ink:var(--user-ink);--muted:var(--user-muted);--faint:#706b79;--line:var(--user-line);--accent:var(--user-accent);--studio-ease:cubic-bezier(.16,1,.3,1);color:var(--user-ink);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.5;accent-color:var(--user-accent);caret-color:var(--user-accent);text-underline-offset:.2em}:is(.user-workspace,.studio-login,.accessible-dialog) ::selection{background:#e1d5f8;color:#322246}:is(.user-workspace,.studio-login,.accessible-dialog) :focus-visible{outline:2px solid var(--user-accent);outline-offset:4px}:is(.user-workspace,.studio-login,.accessible-dialog) :is(input,textarea,select):focus-visible{outline-offset:2px}:is(.user-workspace,.studio-login,.accessible-dialog) :is(input,textarea)::placeholder{color:#73707a;opacity:1}:is(.user-workspace,.studio-login,.accessible-dialog) :is(button,a,input,select,textarea,summary){-webkit-tap-highlight-color:transparent}:is(.user-workspace,.studio-login,.accessible-dialog) :is(button,.secondary,.primary,.ghost){touch-action:manipulation}:is(.user-workspace,.studio-login,.accessible-dialog) :is(button,.secondary,.primary,.ghost){transition:background-color .15s,border-color .15s,color .15s,transform .15s var(--studio-ease)}:is(.user-workspace,.studio-login,.accessible-dialog) button:not(:disabled):active{transform:translateY(1px)}:is(.user-workspace,.studio-login,.accessible-dialog) button:disabled{cursor:not-allowed}:is(.user-workspace,.studio-login,.accessible-dialog) :is(.primary,.secondary,.ghost){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:8px;padding:9px 14px;font-size:13px;line-height:1.4;text-decoration:none;font-weight:650}:is(.user-workspace,.studio-login,.accessible-dialog) .primary{color:#fff;background:var(--user-accent);border:1px solid transparent;box-shadow:none}:is(.user-workspace,.studio-login,.accessible-dialog) .primary:hover:not(:disabled){background:#5838a8}:is(.user-workspace,.studio-login,.accessible-dialog) :is(.secondary,.ghost){color:var(--user-ink);border:1px solid var(--user-line);background:#fff;box-shadow:none}:is(.user-workspace,.studio-login,.accessible-dialog) :is(.secondary,.ghost):hover:not(:disabled){border-color:#b6a9cd;background:#faf8fe}:is(.user-workspace,.studio-login,.accessible-dialog) .primary:disabled{opacity:1;color:#686073;background:#e9e4ee;border-color:transparent}.studio-icon{flex:none;width:20px;height:20px}.user-workspace .user-header{height:64px;padding:0 28px;border-bottom:1px solid var(--user-line);background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;grid-template-columns:240px minmax(0,1fr) 240px}.user-workspace .user-brand{color:var(--user-ink);gap:10px;font-size:16px;letter-spacing:-.02em}.user-workspace .user-brand-mark{width:32px;height:36px;color:var(--user-accent);border:0;border-radius:0;background:none;box-shadow:none}.user-workspace .user-brand-mark .studio-icon{width:28px;height:28px}.user-workspace .user-header-title{color:var(--user-ink);font-size:14px;letter-spacing:.02em}.user-workspace .user-header .credit-pill{display:flex;gap:7px;align-items:center;padding:6px 12px;border:0;color:var(--user-muted);background:#f5f3f7;border-radius:7px;box-shadow:none}.credit-pill .studio-icon{width:16px;height:16px}.credit-pill strong{color:var(--user-ink);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.user-workspace .user-avatar{width:32px;height:32px;background:#eee9f5;color:#604681;box-shadow:none}.user-workspace .user-body{grid-template-columns:88px minmax(0,1fr);min-height:calc(100dvh - 64px)}.user-workspace .user-nav{position:-webkit-sticky;position:sticky;top:64px;height:calc(100dvh - 64px);padding:24px 12px;gap:12px;background:#fff;border-color:var(--user-line)}.user-workspace .user-nav a{width:64px;min-height:64px;gap:6px;color:var(--user-muted);border-radius:10px;font-size:12px;transition:color .16s,background .16s}.user-workspace .user-nav a.active{color:var(--user-accent);background:var(--user-accent-soft)}.user-workspace .user-nav a:hover{color:var(--user-accent);background:#f5f1fb}.user-workspace .user-content{min-height:calc(100dvh - 64px);padding:24px;background:var(--user-canvas)}.user-content:focus{outline:none}.studio-skip-link{position:fixed;top:8px;left:12px;z-index:100;padding:10px 16px;background:#fff;color:var(--user-accent);border-radius:6px;transform:translateY(-180%)}.studio-skip-link:focus{transform:translateY(0)}.user-workspace .panel{border:1px solid var(--user-line);border-radius:12px;background:#fff;box-shadow:none}.user-workspace :is(h1,h2,h3){text-wrap:balance}.user-workspace .user-page-header h1{font-size:26px;font-weight:700;letter-spacing:-.02em}.accessible-dialog .section-kicker,.user-workspace .eyebrow,.user-workspace .section-kicker{display:none}.user-workspace .generation-layout-v2{grid-template-columns:304px minmax(0,1fr);height:calc(100dvh - 112px);min-height:580px;gap:20px}.user-workspace .generation-product-panel{padding:20px;gap:18px;scrollbar-gutter:stable}.user-workspace .product-panel-heading{align-items:center}.user-workspace :is(.product-panel-heading h1,.workspace-heading h2){margin:0;font-size:19px;line-height:1.4}.user-workspace :is(.field label,.field-label,.background-intent-field legend){font-size:13px}.user-workspace :is(.field input,.field select,.field textarea){border-radius:7px;border-color:#d5d0da}.user-workspace .product-phase-label{font-size:11px;background:#f7f5f9;color:#635c70;border:0;padding:5px 9px}.user-workspace .product-visual{border:1px dashed #b7adc7;background:#f9f7fc;border-radius:10px;box-shadow:none;transition:background .16s,border-color .16s}.user-workspace .product-visual.drag-active,.user-workspace .product-visual:hover{border-color:var(--user-accent);background:#f0eafa;box-shadow:none}.user-workspace .product-visual:focus-within{outline:2px solid var(--user-accent);outline-offset:4px}.user-workspace .product-visual.has-file{background:#f3f1f5;border:1px solid var(--user-line)}.user-workspace .product-visual-overlay{padding:8px 10px;background:rgb(35 30 44/.84);-webkit-backdrop-filter:none;backdrop-filter:none;opacity:0;transform:translateY(4px);transition:opacity .18s,transform .18s var(--studio-ease)}.user-workspace .product-visual:is(:hover,:focus-within) .product-visual-overlay{opacity:1;transform:none}.user-workspace .upload-copy{padding:20px;gap:8px}.user-workspace .upload-copy strong{font-size:14px}.user-workspace .upload-copy small{color:var(--user-muted);font-size:12px;line-height:1.55}.user-workspace .upload-icon{border:0;border-radius:0;background:transparent;color:var(--user-accent);width:32px;height:32px}.user-workspace .product-visual-field .product-visual{height:clamp(180px,28dvh,272px);min-height:0}.user-workspace .product-visual>img{min-height:0}.user-workspace .generation-right-column{gap:16px}.user-workspace .generation-progress-panel{padding:18px 24px;background:transparent;border:0;border-radius:0}.user-workspace .studio-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:28px;gap:28px;align-items:start}.user-workspace .studio-steps>li{display:block;min-width:0;color:#746f7e}.user-workspace .studio-steps .generation-step-action{position:relative;display:flex;align-items:center;gap:12px;padding:0 0 14px;width:100%;border:0;border-radius:0;background:transparent;text-align:left;color:inherit}.user-workspace .studio-steps button.generation-step-action:hover{color:var(--user-accent)}.user-workspace .studio-steps .step-marker{display:grid;place-items:center;width:30px;height:30px;flex:none;padding:0;border:0;background:transparent;color:inherit;border-radius:0;box-shadow:none;font-size:18px;font-weight:500;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.user-workspace .studio-steps strong{display:block;color:inherit;font-size:14px;line-height:1.4}.user-workspace .studio-steps small{display:block;margin-top:3px;font-size:11px;color:inherit;opacity:1}.user-workspace .studio-steps .current{color:var(--user-accent)}.user-workspace .studio-steps .complete{color:#34705b}.studio-step-track{position:absolute;bottom:0;left:0;width:100%;height:2px;overflow:hidden;background:#dfdae6}.studio-step-track i{display:block;width:100%;height:100%;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .45s var(--studio-ease)}.complete .studio-step-track i{transform:scaleX(1)}.current .studio-step-track i,.studio-steps [data-working=true] .studio-step-track i{transform:scaleX(.34);animation:studio-track-enter .45s var(--studio-ease)}.studio-steps [data-working=true] .studio-step-track i{width:100%}.user-workspace .generation-workspace{padding:24px;scrollbar-gutter:stable}.user-workspace .workspace-heading{align-items:center;padding-bottom:18px}.user-workspace .workspace-heading p{margin:6px 0 0}.user-workspace .workspace-empty{min-height:300px;gap:12px}.user-workspace .workspace-empty h2{font-size:20px}.user-workspace .workspace-empty p{max-width:38em;font-size:14px}.user-workspace .empty-illustration{width:64px;height:64px;border:0;border-radius:0;background:none;color:#8b77ae}.user-workspace .empty-illustration .studio-icon{width:38px;height:38px}.user-workspace .service-note{padding:10px 12px;font-size:12px;background:#f7f5fa;border:0}.user-workspace .service-note.warning{color:#775512;background:#fff6e5}.user-workspace .selected-template-strip{gap:12px;padding:12px;background:#f6f3fa;border:0;border-radius:8px}.user-workspace .selected-template-strip .selected-submit{min-height:40px}.user-workspace .selected-template-empty,.user-workspace .selected-template-label span{font-size:12px}.user-workspace .workspace-template-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:16px}.user-workspace .workspace-template-grid .template-choice{grid-template-rows:auto 40px;border:1px solid var(--user-line);border-radius:10px;box-shadow:none}.user-workspace .workspace-template-grid .template-choice.selected{border-color:var(--user-accent);outline:2px solid var(--user-accent);outline-offset:1px}.user-workspace .workspace-template-grid .template-choice-main img{object-fit:contain}.user-workspace .workspace-template-grid .template-choice-caption{padding:0 10px}.user-workspace .workspace-template-grid .template-choice-caption strong{font-size:12px}.user-workspace .template-choice-check{transition:background .14s,transform .14s}.user-workspace .template-choice.selected .template-choice-check{transform:scale(1.08)}.user-workspace .result-summary strong{font-size:17px;font-weight:650;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.user-workspace .result-summary span{font-size:12px}.user-workspace .output{border:1px solid var(--user-line);border-radius:10px;box-shadow:none;background:#fff}.user-workspace .output-visual{position:relative;background:#f4f1f7}.user-workspace .output-body{padding:14px}.user-workspace .badge{font-size:11px;font-weight:600;background:#f1eef5;color:#625b70}.user-workspace .download{color:var(--user-accent);font-size:13px;text-decoration:underline;text-underline-offset:3px}.generation-activity{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:250px;height:100%;width:100%;gap:14px;padding:24px;color:var(--user-ink);text-align:center;overflow:hidden}.generation-activity strong{font-size:14px;font-weight:650}.generation-activity small{max-width:30em;font-size:12px;line-height:1.7;color:var(--user-muted)}.exposure-frame{position:relative;width:144px;height:166px;flex:none;isolation:isolate}.exposure-frame>svg{position:absolute;inset:0;width:100%;height:100%;stroke:#9b85bf;stroke-width:1;stroke-dasharray:48;animation:studio-frame-breathe 4s ease-in-out}.exposure-sheet{position:absolute;display:block;inset:30px 30px;border:1px solid #c6b8db;border-radius:3px;background:#f2ecfa;overflow:hidden}.sheet-back{transform:translate(-9px,8px) rotate(-7deg);opacity:.55}.sheet-front{background:linear-gradient(145deg,#faf8fd,#eae2f5);animation:studio-sheet-breathe 4s ease-in-out}.exposure-sweep{position:absolute;left:-60%;top:-80%;width:200%;height:70%;opacity:0;background:linear-gradient(0deg,transparent,rgb(255 255 255/.95),transparent);transform:translateY(-40%) rotate(-18deg);animation:studio-exposure 4s ease-in-out}.activity-signal{display:flex;gap:5px;height:6px;align-items:center}.activity-signal i{display:block;width:4px;height:4px;border-radius:50%;background:var(--user-accent);animation:studio-signal 3.7s ease-in-out}.activity-signal i:nth-child(2){animation-delay:.15s}.activity-signal i:nth-child(3){animation-delay:.3s}.generation-activity[data-motion-paused=true] *{animation-play-state:paused}.generation-activity[data-motion-paused=true] .exposure-sweep{opacity:0}.image-preview-trigger{position:relative;display:block;width:100%;padding:0;min-width:0;border:0;border-radius:0;background:#f3f1f5;color:var(--user-ink);cursor:zoom-in;overflow:hidden}.image-preview-trigger>img{display:block;width:100%;height:100%;object-fit:contain}.image-preview-trigger[data-loaded=true]>img{animation:studio-image-arrive .36s var(--studio-ease)}.output-visual>.image-preview-trigger{height:100%}.image-preview-affordance{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:6px;color:#fff;background:rgb(33 28 42/.8);font-size:12px;opacity:0;transform:translateY(4px);transition:opacity .16s,transform .16s}.image-preview-affordance .studio-icon{width:15px;height:15px}.image-preview-trigger:is(:hover,:focus-visible) .image-preview-affordance{opacity:1;transform:none}.image-preview-error{position:absolute;inset:0;display:grid;place-items:center;background:#f3f1f5;color:var(--user-muted);font-size:13px}.accessible-dialog{max-width:calc(100vw - 64px);max-height:calc(100dvh - 64px);margin:auto;border:0;border-radius:14px;padding:28px;background:#fff;box-shadow:0 24px 80px rgb(25 20 35/.2)}.accessible-dialog[open]{animation:studio-dialog-enter .22s var(--studio-ease)}.accessible-dialog::-webkit-backdrop{background:rgb(28 23 38/.5)}.accessible-dialog::backdrop{background:rgb(28 23 38/.5)}.accessible-dialog h2{margin:0;font-size:21px;line-height:1.4}.accessible-dialog .section-kicker{display:none}.studio-image-dialog{width:min(1120px,calc(100vw - 80px))}.studio-image-dialog header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px}.studio-image-dialog header p{margin:5px 0 0;color:var(--user-muted);font-size:12px}.studio-image-stage{display:grid;place-items:center;background:#f4f2f6;min-height:200px}.studio-image-stage>img{display:block;max-width:100%;width:auto;max-height:calc(100dvh - 210px);object-fit:contain}.tool-source-feedback,.workspace-inline-status{font-size:13px;padding:10px 12px;border-radius:8px;background:#f6f2fb;line-height:1.65}.tool-source-feedback.is-error,.workspace-inline-status.error{color:#a3342b;background:#fff0ed}.generation-stage-caption,.history-load-indicator,.upload-progress-note{color:var(--user-muted);font-size:12px;line-height:1.6}.workspace-skeleton-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-gap:16px;gap:16px;width:100%}.workspace-skeleton-card{aspect-ratio:3/4;border-radius:10px;background:#efebf4;animation:studio-skeleton 1.6s ease-in-out infinite alternate}.user-workspace .image-tool-source-rail .product-visual{height:clamp(260px,39dvh,400px);min-height:260px;flex:none}.user-workspace .image-tool-settings{gap:18px}.user-workspace .image-tool-settings :is(button,input,select){min-height:36px}.user-workspace .image-tool-settings button{font-size:12px}.user-workspace .image-tool-settings button[aria-pressed=true]{color:var(--user-accent);border-color:var(--user-accent);background:var(--user-accent-soft)}.tool-result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0 0 12px}.tool-result-toolbar>div{display:flex;gap:6px}.tool-result-toolbar [aria-pressed=true]{color:var(--user-accent);background:var(--user-accent-soft);border-color:var(--user-accent)}.crop-editor-help,.mask-editor-shortcuts,.tool-result-caption{color:var(--user-muted);font-size:12px;line-height:1.5}.crop-editor-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}.user-workspace .mask-user-controls .shared-mask-editor__toolbar{flex-wrap:wrap}.user-workspace .mask-user-controls .shared-mask-editor__toolbar button{min-height:34px;font-size:12px;padding:6px 8px}.user-workspace .mask-workspace-layout.mask-user-controls{grid-template-rows:minmax(180px,1fr) auto auto auto}.user-workspace .mask-editor-shortcuts{margin:0;grid-row:4}.user-workspace .mask-workspace-layout.mask-user-controls.mask-hide-shortcut-help{grid-template-rows:minmax(180px,1fr) auto auto}.mask-editor-shortcuts.is-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}.user-workspace .smart-erase-result>.image-preview-trigger{flex:1 1;min-height:0;height:100%}.user-workspace .smart-erase-result .image-preview-trigger>img{max-height:100%;aspect-ratio:auto;object-fit:contain}.user-workspace .smart-erase-result .output-visual{height:100%;max-width:420px}.user-workspace .history-filters{border:0;border-radius:10px;padding:20px;background:#fff}.user-workspace .history-filter-options button{min-height:32px;font-size:12px}.user-workspace .history-item{min-height:112px;border-radius:10px}.user-workspace .history-item img{width:72px;height:88px;object-fit:contain}.user-workspace .history-load-indicator{min-height:24px}.user-workspace .my-templates-page{max-width:1440px}.user-workspace .my-template-quota{border-radius:10px}.user-workspace .my-template-library{border-radius:12px}.user-workspace .my-template-card{box-shadow:none}.template-creation-steps{display:flex;list-style:none;gap:20px;padding:0 0 16px;margin:0 0 22px;border-bottom:1px solid var(--user-line);color:var(--user-muted);font-size:13px}.template-creation-steps .current{color:var(--user-accent);font-weight:700}.template-creation-steps .complete{color:#34705b}.template-region-tabs{display:flex;gap:10px;overflow-x:auto;padding:4px;margin:12px 0}.template-region-tabs button{min-width:140px;display:grid;grid-gap:4px;gap:4px;text-align:left;padding:12px 16px;border:1px solid var(--user-line);border-radius:8px;color:var(--user-ink);background:#fff}.template-region-tabs button small{color:var(--user-muted);font-size:11px}.template-region-tabs button[aria-selected=true]{border-color:var(--user-accent);background:var(--user-accent-soft)}.template-region-panel[hidden]{display:none!important}.template-save-summary{color:var(--user-muted);font-size:12px}.user-workspace .my-template-background-composer .template-creation-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px;margin:16px 0 0;padding:12px 0;counter-reset:template-step}.user-workspace .my-template-background-composer .template-creation-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);align-content:start;grid-gap:3px 8px;gap:3px 8px;min-width:0;counter-increment:template-step}.user-workspace .my-template-background-composer .template-creation-steps li:before{content:counter(template-step);grid-row:1/span 2;display:grid;width:28px;height:28px;place-items:center;border:1px solid var(--user-line);border-radius:50%;font-size:12px}.user-workspace .my-template-background-composer .template-creation-steps strong{font-size:13px;line-height:1.5}.user-workspace .my-template-background-composer .template-creation-steps span{color:var(--user-muted);font-size:12px;line-height:1.5;font-weight:400}.user-workspace .my-template-background-composer .template-creation-steps .current:before{color:var(--user-accent);border-color:var(--user-accent);background:var(--user-accent-soft)}.user-workspace .my-template-background-composer .my-template-form{margin-top:16px;gap:20px}.user-workspace .my-template-background-setup{grid-template-columns:minmax(0,1.15fr) minmax(300px,1fr);gap:24px}.user-workspace .my-template-background-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;min-width:0;align-items:start}.user-workspace .my-template-image-dropzone{position:relative;display:grid;grid-gap:8px;gap:8px;min-width:0;margin:0;cursor:pointer}.user-workspace .my-template-image-dropzone>strong{font-size:13px;color:var(--user-ink)}.user-workspace .my-template-dropzone-preview{display:grid;aspect-ratio:3/4;width:100%;overflow:hidden;place-items:center;border:1px dashed #c8bddc;border-radius:10px;background:#faf8fd}.user-workspace .my-template-dropzone-preview>img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}.user-workspace .my-template-dropzone-copy{display:grid;justify-items:center;grid-gap:8px;gap:8px;max-width:100%;padding:16px;color:var(--user-muted);font-size:12px;line-height:1.6;text-align:center;overflow-wrap:anywhere}.user-workspace .my-template-dropzone-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:var(--user-ink);font-size:12px}.user-workspace .my-template-dropzone-caption>span:first-child{min-width:0;line-height:1.5;overflow-wrap:anywhere}.user-workspace .my-template-image-dropzone.has-image .my-template-dropzone-caption>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-workspace .my-template-dropzone-caption .secondary{flex:none;display:inline-flex;align-items:center;min-height:36px;padding:6px 10px;border:1px solid var(--user-line);background:#fff}.user-workspace .my-template-image-dropzone>input[type=file]{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0}.user-workspace .my-template-image-dropzone:focus-within .my-template-dropzone-preview{outline:2px solid var(--user-accent);outline-offset:3px}.user-workspace .my-template-image-dropzone.is-dragging .my-template-dropzone-preview,.user-workspace .my-template-image-dropzone:not(.is-disabled):hover .my-template-dropzone-preview{border-color:var(--user-accent);background:var(--user-accent-soft)}.user-workspace .my-template-image-dropzone.is-disabled{cursor:default}.user-workspace .my-template-image-dropzone.is-disabled .secondary{opacity:.55}.user-workspace .my-template-background-options{gap:12px}.user-workspace .my-template-background-options .my-template-check{display:flex;align-items:flex-start;gap:8px;margin:0;line-height:1.5;cursor:pointer}.user-workspace .my-template-background-options .my-template-check>input{flex:none;margin:2px 0 0}.user-workspace .my-template-background-options .my-template-check>span{display:grid;grid-gap:3px;gap:3px}.user-workspace .my-template-background-options .my-template-check small{color:var(--user-muted);font-size:12px;font-weight:400}.user-workspace .my-template-background-composer .my-template-smart-erase{gap:12px;padding:12px 0 0;border:0;border-top:1px solid var(--user-line);border-radius:0;background:none}.user-workspace .my-template-background-composer .smart-erase-mode-picker{gap:8px;padding:0;border:0;background:none}.user-workspace .my-template-background-composer .smart-erase-mode-options label{align-items:center;padding:10px;min-height:44px}.user-workspace .my-template-background-composer .smart-erase-mode-options input{flex:0 0 16px;width:16px;height:16px;min-height:0;padding:0;margin:2px 0 0}.user-workspace .my-template-background-composer .smart-erase-mode-options span{min-width:0}.user-workspace .my-template-background-composer .smart-erase-mode-options small{line-height:1.5}.user-workspace .my-template-background-composer .smart-erase-category-picker{gap:8px}.user-workspace .my-template-background-composer .smart-erase-category-picker>p{display:none}.user-workspace .my-template-background-composer .smart-erase-category-picker label{min-height:36px}.user-workspace .my-template-smart-erase-price{margin:0;color:var(--user-ink);font-size:12px;line-height:1.6}.user-workspace .my-template-background-composer .my-template-smart-erase-action{display:grid;grid-gap:12px;gap:12px;padding:0;border:0;background:none}.user-workspace .my-template-background-composer .my-template-smart-erase-action>div{gap:4px}.user-workspace .my-template-background-composer .my-template-smart-erase-action>.primary{justify-self:start;min-height:40px}.user-workspace .my-template-background-composer .my-template-background-targets{gap:8px;scroll-margin-top:104px}.user-workspace .my-template-background-composer .my-template-background-target-heading{align-items:center;padding:16px 0 0}.user-workspace .my-template-background-composer .template-region-tabs{gap:8px;padding:2px;margin:0 0 8px}.user-workspace .my-template-background-composer .template-region-tabs button{display:flex;align-items:center;gap:8px;min-width:0;min-height:40px;padding:8px 12px;white-space:nowrap}.user-workspace .my-template-background-composer .my-template-target{gap:12px;padding:0;border:0;border-radius:0;background:none}.user-workspace .my-template-background-region-metadata{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px}.user-workspace .my-template-background-region-metadata>fieldset{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.user-workspace .my-template-background-region-metadata>.text-danger{margin-left:auto}.user-workspace .my-template-background-region-metadata .my-template-category-checks label{min-height:36px}.user-workspace .my-template-background-composer .mask-workspace-layout{height:480px;min-height:480px}.user-workspace .my-template-background-composer .shared-mask-editor__toolbar{flex-wrap:wrap}.user-workspace .my-template-background-composer .my-template-form-actions{justify-content:flex-end;gap:12px;padding-top:16px;border-top:1px solid var(--user-line)}.user-workspace .my-template-background-composer .template-save-summary{margin-right:auto}.user-workspace .my-template-background-composer :is(button,label,input,section){scroll-margin-top:104px}@media (max-width:1100px){.user-workspace .my-template-background-setup{grid-template-columns:minmax(0,1fr);gap:20px}.user-workspace .my-template-background-images{max-width:640px}}@media (max-width:600px){.user-workspace .my-template-background-composer{padding:16px}.user-workspace .my-template-background-composer .template-creation-steps{grid-template-columns:minmax(0,1fr);gap:10px}.user-workspace .my-template-background-composer .template-creation-steps li{gap:2px 8px}.user-workspace .my-template-background-images{grid-template-columns:minmax(0,1fr);max-width:360px}.user-workspace .my-template-dropzone-preview{max-height:340px;aspect-ratio:4/3}.user-workspace .my-template-background-composer .smart-erase-mode-options{grid-template-columns:minmax(0,1fr)}.user-workspace .my-template-background-composer .my-template-background-target-heading{align-items:flex-start}.user-workspace .my-template-background-composer .my-template-background-target-heading .secondary{flex:none}.user-workspace .my-template-background-composer .mask-workspace-layout{height:auto;min-height:0;overflow:visible}.user-workspace .my-template-background-composer .shared-mask-editor__body{grid-template-columns:minmax(0,1fr)}.user-workspace .my-template-background-composer .shared-mask-editor__viewport{height:320px}.user-workspace .my-template-background-composer .shared-mask-editor__preview-wrap{height:200px}.user-workspace .my-template-background-composer .shared-mask-editor__toolbar .shared-mask-editor__confirm{min-width:0;margin-left:0}.user-workspace .my-template-background-composer .my-template-form-actions{align-items:flex-start}.user-workspace .my-template-background-composer .template-save-summary{width:100%}}.user-workspace .detail-page-result-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}.user-workspace .detail-page-result-grid>article{border-radius:10px}.user-workspace .detail-page-result-grid .output-visual{aspect-ratio:3/4}.user-workspace .jewelry-promo-workspace .detail-page-result-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));align-items:start}.user-workspace .jewelry-promo-workspace .detail-page-result-card{min-width:0}.user-workspace .jewelry-promo-workspace .detail-page-result-grid .output-visual{aspect-ratio:auto;min-height:0}.user-workspace .jewelry-promo-workspace .detail-page-result-grid .output-visual>.image-preview-trigger{height:auto}.user-workspace .jewelry-promo-workspace .detail-page-result-grid .image-preview-trigger>img{height:auto;max-height:none;object-fit:contain}.user-workspace .jewelry-promo-workspace .promo-result-actions{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:8px;gap:8px;margin-top:10px}.user-workspace .jewelry-promo-workspace .promo-result-actions :is(a,input,button){box-sizing:border-box;height:44px;min-height:44px}.user-workspace .jewelry-promo-workspace .promo-result-actions a{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 10px;border:1px solid #d5d0da;border-radius:8px;background:#fff;color:var(--user-ink);font-size:13px;line-height:1.4;font-weight:650;text-decoration:none;white-space:nowrap}.user-workspace .jewelry-promo-workspace .promo-result-actions a:hover{border-color:#b6a9cd;background:#faf8fe}.user-workspace .jewelry-promo-workspace .promo-result-actions a .studio-icon{width:16px;height:16px}.user-workspace .jewelry-promo-workspace .promo-result-actions input{width:100%;min-width:0;margin:0;padding:9px 12px;border:1px solid #d5d0da;border-radius:8px;background:#fff;color:var(--user-ink);font-size:13px;line-height:1.4;box-shadow:none}.user-workspace .jewelry-promo-workspace .promo-result-actions input::placeholder{color:var(--user-muted);opacity:1}.user-workspace .jewelry-promo-workspace .promo-result-actions input:focus-visible{border-color:var(--user-accent);outline:2px solid var(--user-accent);outline-offset:2px}.user-workspace .jewelry-promo-workspace .promo-result-actions input:disabled{background:#f7f5fa}.user-workspace .jewelry-promo-workspace .promo-result-actions button{margin:0;white-space:nowrap}.user-workspace .jewelry-promo-workspace .promo-repair-control :is(.promo-repair-quote,.repair-status,.repair-error){margin:6px 0 0;font-size:12px;line-height:1.5}.user-workspace .jewelry-promo-workspace .promo-repair-results{display:grid;grid-gap:16px;gap:16px;margin-top:16px;padding-top:16px;border-top:1px solid var(--user-line)}.user-workspace .jewelry-promo-workspace .promo-repair-result{min-width:0;margin:0}.user-workspace .jewelry-promo-workspace .promo-repair-result figcaption{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;padding-top:10px;font-size:12px}.user-workspace .jewelry-promo-workspace .promo-repair-result figcaption p{width:100%;margin:0;color:var(--user-muted);overflow-wrap:anywhere}.user-workspace .jewelry-promo-workspace .promo-repair-result figcaption a{display:inline-flex;align-items:center;min-height:44px}@media (max-width:1300px){.user-workspace .jewelry-promo-workspace .promo-result-actions{grid-template-columns:minmax(0,1fr) auto}.user-workspace .jewelry-promo-workspace .promo-result-actions a{grid-column:1/-1;justify-self:start}}@media (max-width:600px){.user-workspace .jewelry-promo-workspace .promo-result-actions{grid-template-columns:minmax(0,1fr)}.user-workspace .jewelry-promo-workspace .promo-result-actions :is(a,input,button){grid-column:1;grid-row:auto}.user-workspace .jewelry-promo-workspace .promo-result-actions input{font-size:16px}.user-workspace .jewelry-promo-workspace .promo-result-actions button{justify-self:end}}.studio-home{max-width:1480px;margin:0 auto}.studio-home .home-header{align-items:center;margin:8px 0 28px}.studio-home .home-header h1{font-size:30px;font-weight:650;letter-spacing:-.025em}.studio-home .home-header .secondary{width:auto}.studio-flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:22px;gap:22px}.studio-flow{display:block;min-width:0;color:var(--user-ink);text-decoration:none}.studio-flow-image{display:grid;grid-template-rows:minmax(0,1fr);place-items:center;height:240px;overflow:hidden;border-radius:12px;background:#eeebe7;transition:box-shadow .18s}.studio-flow-image img{display:block;min-width:0;min-height:0;width:100%;height:100%;max-height:100%;object-fit:contain;transition:transform .25s var(--studio-ease)}.studio-flow:hover .studio-flow-image img{transform:scale(1.025)}.studio-flow:hover .studio-flow-copy>.studio-icon{transform:translateX(4px)}.studio-flow-copy{align-items:center;justify-content:space-between;gap:16px;padding:18px 2px 0}.studio-flow-copy h2{margin:0;font-size:18px;font-weight:650}.studio-flow-copy p{margin:6px 0 0;font-size:13px;line-height:1.6;color:var(--user-muted)}.studio-flow-copy>.studio-icon{color:var(--user-accent);transition:transform .18s var(--studio-ease)}.studio-flow-placeholder{display:grid;justify-items:center;grid-gap:18px;gap:18px;padding:24px;color:#66576e;font-size:13px;text-align:center}.studio-flow-placeholder>.studio-icon{width:48px;height:48px;stroke-width:1}.studio-tools{padding:28px 0;margin-top:28px;border-top:1px solid var(--user-line);border-bottom:1px solid var(--user-line)}.studio-recent .section-title-row,.studio-tools .section-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.studio-tools .section-title-row .subtle{font-size:12px}.studio-tool-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:16px;gap:16px}.studio-tool{display:flex;gap:12px;align-items:center;padding:14px;border-radius:8px;color:var(--user-ink);text-decoration:none;min-width:0}.studio-tool>.studio-icon{color:var(--user-accent)}.studio-tool>span{display:grid;grid-gap:5px;gap:5px;flex:1 1}.studio-tool small{color:var(--user-muted)}.studio-tool>.studio-icon:last-child{width:15px;height:15px}.studio-tool:not(.is-disabled):hover{background:var(--user-accent-soft)}.studio-tool.is-disabled{display:block;padding:12px;background:#ebe8ed;color:#6b6472}.studio-tool.is-disabled>div{display:flex;align-items:center;gap:10px}.studio-tool.is-disabled span{display:grid;grid-gap:4px;gap:4px}.studio-tool details{margin-top:8px;font-size:11px}.studio-tool summary{cursor:pointer}.studio-tool details p{margin:8px 0 0;line-height:1.6}.studio-recent{margin-top:28px}.studio-text-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--user-accent);text-decoration:none}.studio-text-link .studio-icon{width:16px;height:16px}.studio-recent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:20px}.studio-recent-item{display:flex;align-items:center;gap:14px;padding:8px;color:var(--user-ink);text-decoration:none}.studio-recent-item:hover{background:#fff}.studio-recent-item>img{width:64px;height:80px;object-fit:contain;border-radius:5px;background:#e9e5ed}.studio-recent-item>span{grid-gap:6px;gap:6px;flex:1 1}.studio-recent-item strong{font-size:13px}.studio-recent-item small{color:var(--user-muted);font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.studio-recent-item>.studio-icon{width:16px;height:16px;color:var(--user-muted)}.studio-recent-empty,.studio-recent-loading{padding:24px 0;color:var(--user-muted);font-size:13px}.studio-recent-empty p{margin:0 0 6px;color:var(--user-ink)}.studio-login{background:var(--user-canvas)}.studio-login .auth-card{padding:40px;width:440px;max-width:calc(100vw - 64px);border-radius:14px;border:0;box-shadow:0 12px 40px rgb(35 25 50/.06)}.studio-login .auth-brand{color:var(--user-ink);margin-bottom:32px}.studio-login .auth-brand>span{color:var(--user-accent);background:transparent}.studio-login h1{font-size:24px;margin-bottom:12px;letter-spacing:-.02em}.studio-login .auth-field input{min-height:44px;border-radius:8px}@keyframes studio-track-enter{0%{transform:scaleX(0)}to{transform:scaleX(.34)}}@keyframes studio-exposure{0%,10%{transform:translateY(-40%) rotate(-18deg);opacity:0}25%{opacity:1}80%,to{transform:translateY(390%) rotate(-18deg);opacity:0}}@keyframes studio-sheet-breathe{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes studio-frame-breathe{0%,to{opacity:.45}50%{opacity:1}}@keyframes studio-signal{0%,to{opacity:.35}50%{opacity:1}}@keyframes studio-skeleton{0%{opacity:.55}to{opacity:1}}@keyframes studio-image-arrive{0%{opacity:.25}to{opacity:1}}@keyframes studio-dialog-enter{0%{opacity:.5;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}@media (min-width:1600px){.user-workspace .generation-layout-v2{grid-template-columns:336px minmax(0,1fr)}.studio-flow-image{height:280px}}@media (min-width:901px) and (max-width:1279px){.user-workspace .user-content{padding:18px}.user-workspace .generation-layout-v2{grid-template-columns:272px minmax(0,1fr);gap:16px;height:calc(100dvh - 100px)}.user-workspace .generation-product-panel{padding:16px}.user-workspace .generation-workspace{padding:18px}.user-workspace .studio-steps{gap:18px}.studio-tool-list{gap:10px}.studio-tool{padding:10px;gap:8px}.studio-tool>.studio-icon:last-child{display:none}.studio-flow-image{height:210px}}@media (max-height:760px) and (min-width:901px){.user-workspace .generation-layout-v2{min-height:520px}.user-workspace .generation-product-panel{gap:12px}.user-workspace .generation-progress-panel{padding:10px 20px}.user-workspace .image-tool-source-rail .product-visual{min-height:220px;height:230px}}@media (prefers-reduced-motion:reduce){:is(.user-workspace,.studio-login,.accessible-dialog) *,:is(.user-workspace,.studio-login,.accessible-dialog) :after,:is(.user-workspace,.studio-login,.accessible-dialog) :before{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.current .studio-step-track i{transform:scaleX(.34)}.studio-steps [data-working=true] .studio-step-track i{width:100%;transform:scaleX(.34)}.exposure-sweep{opacity:0}.image-preview-trigger[data-loaded=true]>img{opacity:1}}.user-workspace :is(h1,h2,h3,[tabindex]){scroll-margin-top:84px}.user-workspace[data-document-hidden=true] *{animation-play-state:paused}.accessible-dialog{overscroll-behavior:contain}.user-workspace .image-tool-source-preview{flex:1 1;min-height:0;display:flex;flex-direction:column;align-items:center;gap:10px}.user-workspace .image-tool-source-preview>.image-preview-trigger{flex:1 1;min-height:0;height:100%;background:#f5f2f7}.user-workspace .image-tool-source-preview img{max-height:100%;aspect-ratio:auto}.user-workspace .image-tool-output.has-comparison{display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-gap:10px;gap:10px;min-height:0;height:100%}.user-workspace .image-tool-output .tool-output-preview{min-height:0;height:100%}.user-workspace .image-tool-output .tool-output-preview img{width:100%;height:100%;max-height:100%;aspect-ratio:auto;object-fit:contain}.user-workspace .crop-export-result>.image-preview-trigger{width:80px;height:80px;flex:none}.user-workspace .crop-export-result>.image-preview-trigger img{width:100%;height:100%;object-fit:contain}.user-workspace .detail-template>.image-preview-trigger{flex:none;width:52px;height:68px}.user-workspace .detail-template>.image-preview-trigger img{width:100%;height:100%}.user-workspace .detail-product img{width:100%;height:auto;max-height:48dvh;object-fit:contain}.user-workspace .table-scroll{max-width:100%;overflow:auto}.user-workspace .generation-request-details{margin-top:18px;color:var(--user-muted);font-size:12px}.user-workspace .generation-request-details summary{cursor:pointer;padding:8px 0}.user-workspace .draft-save-status{display:grid;grid-gap:4px;gap:4px;margin:0;color:#34705b;font-size:12px}.user-workspace .draft-save-status small{color:var(--user-muted);font-size:11px}.user-workspace .draft-save-status.is-dirty{color:#865e13}.user-workspace .generation-status-note{padding:10px 12px;background:#f4f0f8;border-radius:7px;color:var(--user-muted);font-size:13px}.user-workspace .generation-status-note.is-warning{color:#765111;background:#fff4de}.user-workspace :is(.product-phase-label,.badge).status-succeeded{color:#2c6953;background:#edf5ef}.user-workspace :is(.product-phase-label,.badge).status-unknown{color:#775112;background:#fff3dc}.user-workspace :is(.product-phase-label,.badge).status-failed{color:#a23f32;background:#fff0ed}.user-workspace .crop-export-result{grid-template-columns:80px minmax(0,1fr) auto}:is(.user-workspace,.accessible-dialog) :is(.my-template-upload,.my-template-upload-preview label):focus-within{outline:2px solid var(--user-accent);outline-offset:4px}.user-workspace .workspace-empty>:is(.primary,.secondary){width:auto;min-width:156px}.user-workspace .generation-result-workspace .workspace-heading{padding-bottom:12px}.user-workspace .generation-result-workspace .selected-template-strip{margin-top:12px;padding:8px 12px}.user-workspace .generation-result-workspace .result-summary{margin:12px 0;gap:4px}.user-workspace .generation-stage-caption{margin:2px 0}.user-workspace .active-result-group{padding-top:10px}.user-workspace .active-result-heading{margin-bottom:10px}.user-workspace .active-result-heading>div{display:flex;align-items:baseline;gap:12px}.user-workspace .active-result-group>.outputs .output-visual{height:clamp(300px,calc(100dvh - 450px),450px);aspect-ratio:auto}.user-workspace .active-result-group .generation-activity{gap:10px;padding:16px}.user-workspace .active-result-group .exposure-frame{width:112px;height:128px}.user-workspace .my-template-create-header{align-items:center;margin-bottom:12px}.user-workspace .my-template-create-header>div{min-width:0}.user-workspace .my-template-create-header h1{margin:0;font-size:24px;line-height:1.4;font-weight:650}.user-workspace .my-template-create-header p{max-width:70ch;margin:6px 0 0;font-size:13px;line-height:1.6}.user-workspace .my-template-create-header>button{flex:none}.user-workspace .my-template-quota-inline{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;min-height:36px;margin:0 0 16px;color:var(--user-muted);font-size:12px}.user-workspace .my-template-quota-inline strong{color:var(--user-ink);font-size:13px;font-weight:650;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.user-workspace .my-template-quota-inline details{position:relative;margin-left:auto}.user-workspace .my-template-quota-inline summary{min-height:32px;padding:6px 0;color:var(--user-ink);cursor:pointer}.user-workspace .my-template-quota-inline summary>span{margin-left:10px;color:var(--user-muted)}.user-workspace .my-template-quota-inline details>div{position:absolute;top:100%;right:0;z-index:2;min-width:200px;padding:12px 16px;border:1px solid var(--user-line);border-radius:8px;background:#fff}.user-workspace .my-template-quota-inline p{margin:0;line-height:1.7}.user-workspace .my-template-background-composer,.user-workspace .my-template-jewelry-composer{margin-top:0;padding:20px;box-shadow:none}.user-workspace :is(.my-template-jewelry-composer,.my-template-background-composer) .template-creation-steps{margin:0;padding:0 0 16px;gap:12px 24px}.user-workspace .my-template-jewelry-composer .my-template-form{margin-top:0;gap:24px}.user-workspace .my-template-jewelry-overview{display:grid;grid-gap:16px;gap:16px;min-width:0}.user-workspace .my-template-jewelry-section-heading h2,.user-workspace .my-template-jewelry-targets>.my-template-targets-head h2{margin:0;color:var(--user-ink);font-size:16px;line-height:1.5;font-weight:600}.user-workspace .my-template-jewelry-section-heading p{margin:5px 0 0;color:var(--user-muted);font-size:12px;line-height:1.6}.user-workspace .my-template-jewelry-setup{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);align-items:start;grid-gap:28px;gap:28px;min-width:0}.user-workspace .my-template-jewelry-reference{position:relative;display:grid;grid-gap:10px;gap:10px;min-width:0}.user-workspace .my-template-jewelry-drop-hint{position:absolute;top:12px;inset-inline:12px;z-index:1;width:-moz-fit-content;width:fit-content;max-width:calc(100% - 24px);margin-inline:auto;padding:6px 12px;border-radius:6px;background:#fff;color:var(--user-accent);text-align:center;font-size:12px;font-weight:600;pointer-events:none}.user-workspace .my-template-jewelry-reference-preview{height:300px;min-width:0;overflow:hidden;border:1px dashed #d6d0df;border-radius:10px;background:#faf9fb}.user-workspace .my-template-jewelry-original-preview{height:100%;background:#faf9fb}.user-workspace .my-template-jewelry-original-preview .image-preview-affordance{opacity:1;transform:none}.user-workspace .my-template-jewelry-original-preview:focus-visible{outline:2px solid var(--user-accent);outline-offset:-3px}.user-workspace .my-template-jewelry-reference-empty{display:grid;justify-items:center;align-content:center;grid-gap:12px;gap:12px;width:100%;height:100%;padding:24px;border:0;border-radius:inherit;background:transparent;text-align:center;font:inherit;cursor:inherit}.user-workspace .my-template-jewelry-reference-empty:focus-visible{outline:2px solid var(--user-accent);outline-offset:-3px}.user-workspace .my-template-jewelry-reference-empty>.studio-icon{width:32px;height:32px;color:var(--user-muted)}.user-workspace .my-template-jewelry-reference-empty strong{color:var(--user-ink);font-size:16px;font-weight:600}.user-workspace .my-template-jewelry-reference-empty>span{max-width:30ch;color:var(--user-muted);font-size:13px;line-height:1.6}.user-workspace .my-template-jewelry-identity{display:grid;align-content:start;grid-gap:20px;gap:20px;min-width:0}.user-workspace .my-template-jewelry-identity>label,.user-workspace .my-template-jewelry-settings>label{display:grid;grid-gap:7px;gap:7px;color:var(--user-ink);font-size:13px;font-weight:600}.user-workspace .my-template-jewelry-reference-help{display:grid;grid-gap:12px;gap:12px;max-width:48ch}.user-workspace .my-template-jewelry-reference-help p{margin:0;color:var(--user-muted);font-size:13px;line-height:1.75}.user-workspace .my-template-jewelry-source{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.user-workspace .my-template-jewelry-source>span{min-width:0;overflow:hidden;color:var(--user-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.user-workspace .my-template-jewelry-source>label{position:relative;flex:none;cursor:pointer}.user-workspace .my-template-jewelry-source input[type=file]{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0}.user-workspace .my-template-jewelry-file-action:focus-within{outline:2px solid var(--user-accent);outline-offset:3px}.user-workspace .my-template-jewelry-file-action:has(input:disabled){opacity:.55;cursor:not-allowed}.user-workspace .my-template-jewelry-targets{gap:16px}.user-workspace .my-template-jewelry-targets>.my-template-targets-head{align-items:center;padding:24px 0 0}.user-workspace .my-template-jewelry-targets>.my-template-targets-head span{font-size:12px}.user-workspace .my-template-jewelry-regions-empty{display:grid;align-content:center;grid-gap:6px;gap:6px;min-height:96px;color:var(--user-muted)}.user-workspace .my-template-jewelry-regions-empty strong{color:var(--user-ink);font-size:13px;font-weight:500}.user-workspace .my-template-jewelry-regions-empty p{margin:0;font-size:13px;line-height:1.6}.user-workspace .my-template-jewelry-regions .template-region-tabs{margin:0 0 12px;padding:3px;gap:8px}.user-workspace .my-templates-page .template-region-tabs button{flex:0 0 auto;max-width:240px;min-width:0;min-height:40px;padding:8px 12px;font-size:13px;font-weight:500}.user-workspace .my-templates-page .template-region-tabs button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-workspace .my-template-jewelry-regions .template-region-tabs button{display:flex;align-items:center;gap:10px}.user-workspace .my-templates-page .template-region-tabs button>small{flex:none;font-size:11px;font-weight:400}.user-workspace .my-template-jewelry-region{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;grid-gap:20px;gap:20px;min-width:0}.user-workspace .my-template-jewelry-settings{align-content:start;gap:18px;min-width:0;padding:4px 0 0;border:0;border-radius:0;background:none}.user-workspace .my-template-jewelry-settings>header strong{font-size:14px;font-weight:600}.user-workspace .my-template-jewelry-settings fieldset{gap:10px}.user-workspace .my-template-jewelry-settings legend{font-size:13px;font-weight:600}.user-workspace .my-template-jewelry-settings .my-template-category-checks{gap:8px}.user-workspace .my-template-jewelry-settings .my-template-category-checks label{min-height:36px;padding:7px 10px;border-radius:7px;color:var(--user-muted);font-size:12px;font-weight:500}.user-workspace .my-template-jewelry-settings .my-template-category-checks label:has(input:checked){color:var(--user-accent);border-color:#b6a4d7;background:var(--user-accent-soft)}.user-workspace .my-template-setting-help{margin:-8px 0 0;color:var(--user-muted);font-size:12px;line-height:1.6}.user-workspace .my-template-region-confirmation{display:grid;grid-gap:4px;gap:4px;padding-top:16px;border-top:1px solid var(--user-line)}.user-workspace .my-template-region-confirmation strong{color:var(--user-muted);font-size:13px;font-weight:500}.user-workspace .my-template-region-confirmation span{color:var(--user-muted);font-size:12px;line-height:1.6}.user-workspace .my-template-region-confirmation.is-confirmed strong{color:#2c6953}.user-workspace .my-template-jewelry-targets .mask-workspace-layout{height:clamp(430px,calc(100dvh - 320px),540px);min-height:430px;padding:0;border:0;border-radius:0}.user-workspace .my-templates-page .mask-user-controls{color:var(--user-ink)}.user-workspace .my-templates-page .shared-mask-editor__brush-size,.user-workspace .my-templates-page .shared-mask-editor__brush-size output,.user-workspace .my-templates-page .shared-mask-editor__panel-heading>span,.user-workspace .my-templates-page .shared-mask-editor__selection-status,.user-workspace .my-templates-page .shared-mask-editor__zoom output{color:var(--user-muted)}.user-workspace .my-templates-page .shared-mask-editor__toolbar button{border-color:var(--user-line);color:var(--user-ink)}.user-workspace .my-templates-page .shared-mask-editor__toolbar button.is-active{border-color:#b6a4d7;color:var(--user-accent);background:var(--user-accent-soft)}.user-workspace .my-templates-page .shared-mask-editor__brush-size input{accent-color:var(--user-accent)}.user-workspace .my-templates-page .shared-mask-editor__toolbar .shared-mask-editor__confirm{min-width:0;min-height:38px;padding:8px 12px;border-color:transparent;color:#fff;background:var(--user-accent);box-shadow:none;font-size:12px;font-weight:600}.user-workspace .my-template-jewelry-save{display:grid;grid-gap:12px;gap:12px;padding-top:24px;border-top:1px solid var(--user-line)}.user-workspace .my-template-jewelry-composer .my-template-form-actions{justify-content:flex-end;gap:12px;padding-top:0;border:0}.user-workspace .my-template-jewelry-composer .template-save-summary{margin-right:auto}.my-template-jewelry-original-dialog header>button{display:inline-flex;align-items:center;gap:6px;flex:none}.my-template-jewelry-original-dialog header .studio-icon{width:16px;height:16px}.user-workspace .my-template-background-composer .my-template-creation-options>label{font-size:13px;font-weight:600}.user-workspace .my-template-background-composer .template-creation-steps strong{font-weight:600}.user-workspace .my-template-background-composer .my-template-dropzone-preview{border-color:#d6d0df;background:#faf9fb}.user-workspace .my-template-background-composer .my-template-dropzone-copy{padding:20px 14px;font-size:13px}.user-workspace .my-template-background-composer .my-template-dropzone-copy>strong{color:var(--user-ink);font-weight:500}.user-workspace .my-template-background-composer .smart-erase-mode-options label.is-selected{border-color:#b6a4d7;background:var(--user-accent-soft)}.user-workspace .my-template-background-composer .smart-erase-mode-options input{accent-color:var(--user-accent)}.user-workspace .my-template-background-composer .smart-erase-category-picker legend,.user-workspace .my-template-background-composer .smart-erase-mode-options strong{font-size:13px;font-weight:500}.user-workspace .my-template-background-composer .my-template-smart-erase-action>div{font-size:13px;line-height:1.6}.user-workspace .my-template-background-composer .my-template-smart-erase-action small{color:var(--user-muted);font-size:12px}.user-workspace .my-template-background-composer .my-template-smart-erase-action.is-idle>div{color:var(--user-muted)}.user-workspace .my-template-background-composer .my-template-smart-erase-action.is-unknown>div{color:#775112}.user-workspace .my-template-background-composer .my-template-smart-erase-action.is-failed>div{color:#a23f32}.user-workspace .my-template-background-composer .my-template-background-region-metadata legend{font-size:13px;font-weight:500}.user-workspace .my-template-background-composer .my-template-category-checks label{border-radius:7px;font-size:12px;font-weight:500}.user-workspace .my-template-background-composer .my-template-category-checks label:has(input:checked){color:var(--user-accent);border-color:#b6a4d7;background:var(--user-accent-soft)}@media (max-width:1100px){.user-workspace .my-template-jewelry-region{grid-template-columns:minmax(0,1fr) 280px;gap:16px}}@media (max-width:960px){.user-workspace .my-template-jewelry-setup{grid-template-columns:minmax(0,1fr);gap:20px}.user-workspace .my-template-jewelry-region{grid-template-columns:minmax(0,1fr)}.user-workspace .my-template-jewelry-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px 20px;gap:12px 20px;padding-top:16px;border-top:1px solid var(--user-line)}.user-workspace .my-template-jewelry-settings>header{grid-column:1/-1}.user-workspace .my-template-region-confirmation{padding-top:0;border:0}}@media (max-width:600px){.user-workspace:has(.my-templates-page) .user-header{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-inline:12px}.user-workspace:has(.my-templates-page) .user-header-title{display:none}.user-workspace:has(.my-templates-page) .user-brand{min-width:0;gap:8px;font-size:15px}.user-workspace:has(.my-templates-page) .user-header-right{gap:8px}.user-workspace:has(.my-templates-page) .user-body{grid-template-columns:64px minmax(0,1fr)}.user-workspace:has(.my-templates-page) .user-nav{padding:16px 6px}.user-workspace:has(.my-templates-page) .user-nav a{flex-direction:column;justify-content:center;gap:4px;width:100%;min-height:52px;padding:4px;font-size:11px}.user-workspace:has(.my-templates-page) .studio-support-trigger{flex-direction:column;gap:4px;min-height:56px;padding:6px 2px;border-radius:10px;font-size:10px;line-height:1.4}.user-workspace:has(.my-templates-page) .studio-support-trigger>span{max-width:100%}.user-workspace:has(.my-templates-page) .user-content{padding:16px 12px 24px}.user-workspace .my-template-create-header{display:grid;grid-gap:12px;gap:12px}.user-workspace .my-template-create-header h1{font-size:22px}.user-workspace .my-template-create-header>button{justify-self:start}.user-workspace .my-template-quota-inline{gap:6px 14px}.user-workspace .my-template-quota-inline details{width:100%;margin-left:0}.user-workspace .my-template-quota-inline details>div{position:static;width:100%;min-width:0;margin-top:4px}.user-workspace .my-template-background-composer,.user-workspace .my-template-jewelry-composer{padding:16px}.user-workspace .my-template-jewelry-reference-preview{height:240px}.user-workspace .my-template-jewelry-reference-empty{padding:20px 16px}.user-workspace .my-template-jewelry-identity{gap:12px}.user-workspace .my-template-jewelry-reference-help{gap:8px}.user-workspace .my-template-jewelry-targets>.my-template-targets-head{display:flex;gap:12px}.user-workspace .my-template-jewelry-targets>.my-template-targets-head>div{min-width:0}.user-workspace .my-template-jewelry-targets>.my-template-targets-head>button{flex:none}.user-workspace .my-templates-page .template-region-tabs button{max-width:200px}.user-workspace .my-template-jewelry-targets .mask-workspace-layout{height:auto;min-height:0;overflow:visible}.user-workspace .my-template-jewelry-targets .shared-mask-editor__body{grid-template-columns:minmax(0,1fr)}.user-workspace .my-template-jewelry-targets .shared-mask-editor__preview-wrap,.user-workspace .my-template-jewelry-targets .shared-mask-editor__viewport{height:280px;min-height:0}.user-workspace .my-template-jewelry-targets .shared-mask-editor__toolbar .shared-mask-editor__confirm{margin-left:0}.user-workspace .my-template-jewelry-settings{grid-template-columns:minmax(0,1fr)}.user-workspace .my-template-jewelry-settings>header{grid-column:auto}.user-workspace .my-template-jewelry-composer .template-save-summary{width:100%;margin-right:0}.user-workspace .my-template-background-composer .shared-mask-editor__preview-wrap,.user-workspace .my-template-background-composer .shared-mask-editor__viewport{height:280px}.my-template-jewelry-original-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px}.my-template-jewelry-original-dialog header{gap:12px;margin-bottom:12px}.my-template-jewelry-original-dialog h2{font-size:18px}.my-template-jewelry-original-dialog .studio-image-stage{min-height:0}.my-template-jewelry-original-dialog .studio-image-stage>img{max-height:calc(100dvh - 150px)}}@media (max-width:400px){.user-workspace:has(.my-templates-page) .user-brand{gap:6px;font-size:14px}.user-workspace:has(.my-templates-page) .user-brand-mark{width:24px}.user-workspace:has(.my-templates-page) .user-brand-mark .studio-icon{width:24px;height:24px}.user-workspace:has(.my-templates-page) .user-header-right{gap:6px}.user-workspace:has(.my-templates-page) .user-header .credit-pill{padding:6px 8px;font-size:12px}.user-workspace .my-template-background-composer,.user-workspace .my-template-jewelry-composer{padding:14px}}.accessible-dialog,.studio-login,.studio-support-popover,.user-workspace{--user-canvas:#fbfaff;--user-ink:#252035;--user-muted:#696276;--user-line:#e8e2f0;--user-accent:#7244ce;--user-accent-soft:#eee7ff;--studio-gradient:linear-gradient(110deg,#7443d2,#8d3bbb 58%,#b03482);--studio-ease:cubic-bezier(.16,1,.3,1);scrollbar-color:#c9bbdf transparent;scrollbar-width:thin}.studio-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}:is(.user-workspace,.studio-login,.accessible-dialog) .primary{background:var(--studio-gradient)}:is(.user-workspace,.studio-login,.accessible-dialog) .primary:hover:not(:disabled){background:linear-gradient(110deg,#6032b7,#8d286b)}.user-workspace .user-header{background:linear-gradient(105deg,#fff 60%,#faf4ff 88%,#fff1f7);border-bottom-color:#eae3f3}.user-workspace .user-brand{font-size:18px}.user-workspace .user-header .credit-pill{border-radius:24px;background:#f1edf8;padding:7px 13px}.user-workspace .credit-pill .studio-icon{color:#845c21}.user-workspace .user-avatar{width:38px;height:38px;padding:2px;border:1px solid #d4bbed;background:linear-gradient(140deg,#ebe0ff,#fadfea);color:#8357a6;overflow:hidden}.user-avatar-photo,.user-avatar-portrait{width:32px;height:32px}.user-avatar-photo{border-radius:50%;object-fit:cover}.user-account-menu{position:relative;flex-shrink:0}.user-account-trigger{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;list-style:none;cursor:pointer}.user-account-trigger::-webkit-details-marker{display:none}.user-account-menu[open]>.user-account-trigger,.user-account-trigger:hover{background:var(--user-accent-soft)}.user-account-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:2;display:grid;grid-gap:8px;gap:8px;width:240px;max-width:calc(100vw - 24px);padding:16px;border:1px solid var(--user-line);border-radius:12px;background:var(--user-surface);color:var(--user-ink)}.user-account-label{color:var(--user-muted);font-size:12px}.user-account-name{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.user-account-panel .user-account-logout{width:100%;margin-top:4px}.user-account-error{margin:0;font-size:12px;line-height:1.6}.user-workspace .user-body{grid-template-columns:132px minmax(0,1fr)}.user-workspace .user-nav{padding:24px 12px 20px;background:linear-gradient(180deg,#fff 48%,#faf6ff);overflow-y:auto;scrollbar-width:thin}.user-nav-links{display:flex;flex-direction:column;gap:10px;width:100%}.user-workspace .user-nav a{display:flex;flex-direction:row;justify-content:flex-start;padding:0 16px;width:100%;min-height:48px;gap:12px;font-size:13px}.user-workspace .user-nav a.active{color:#6338ba;background:linear-gradient(110deg,#ede5ff,#f4eafa)}.user-nav-footer{margin-top:auto;padding-top:32px;width:100%}.user-workspace .studio-support-trigger{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:42px;border:1px solid #d9c8f2;border-radius:24px;background:linear-gradient(115deg,#f0e7ff,#fce9f3);color:#593787;font-size:12px;font-weight:650;padding:8px;cursor:pointer}.studio-support-trigger .studio-icon{width:18px;height:18px}.user-workspace .studio-support-trigger:hover{background:linear-gradient(115deg,#e6d6ff,#f8d9ec);border-color:#ae8bd6}.studio-support-popover{--support-panel-max:560px;position:fixed;inset:auto;left:146px;bottom:calc(24px + var(--support-keyboard-inset,0px));width:380px;max-width:calc(100vw - 170px);max-height:min(var(--support-panel-max),calc(var(--support-viewport-height,100dvh) - 32px));margin:0;padding:0;border:0;border-radius:16px;overflow:hidden;background:#fff;color:var(--user-ink);box-shadow:0 12px 48px rgb(53 24 88/.2);font:14px/1.6 -apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif}.studio-support-popover:popover-open{display:flex;flex-direction:column;animation:studio-support-enter .18s var(--studio-ease)}.studio-support-popover [hidden]{display:none!important}.studio-support-popover[data-view=chat],.studio-support-popover[data-view=preview]{--support-panel-max:600px;height:600px}.studio-support-popover[data-view=chat]{width:420px}.studio-support-popover[data-view=preview]{width:720px}.studio-support-popover ::selection{background:var(--user-accent-soft);color:var(--user-ink)}.studio-support-heading{display:flex;flex:none;align-items:center;gap:8px;padding:12px 16px;background:#fff}.studio-support-heading-icon{color:#7244ce;display:flex}.studio-support-heading-icon .studio-icon{width:20px;height:20px}.studio-support-heading h2{flex:1 1;margin:0;font-size:16px;font-weight:600;line-height:1.5}.studio-support-back{display:grid;flex:none;place-items:center;width:40px;height:40px;margin-left:-8px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--user-muted);cursor:pointer;touch-action:manipulation}.studio-support-back:hover{background:var(--user-accent-soft);color:var(--user-accent)}.studio-support-back .studio-icon{width:20px;height:20px;transform:rotate(180deg)}.studio-support-close{display:grid;flex:none;place-items:center;width:40px;height:40px;padding:8px;border:0;border-radius:8px;background:transparent;color:#5c4475;cursor:pointer;touch-action:manipulation}.studio-support-close:hover{background:var(--user-accent-soft)}.studio-support-close .studio-icon{width:20px;height:20px}.studio-support-popover :focus-visible{outline:2px solid var(--user-accent);outline-offset:3px}.studio-support-content{flex:1 1 auto;min-height:0;overflow-y:auto;padding:0 20px 16px;scrollbar-gutter:stable}.studio-support-content,.studio-support-popover{overscroll-behavior:contain}.studio-support-message{margin:0;line-height:1.8}.studio-support-intro{margin:0 0 16px;color:var(--user-muted);font-size:13px}.studio-help-section-title{margin:0 0 4px;font-size:13px;line-height:1.6;font-weight:600}.studio-help-answers>details+details{border-top:1px solid var(--user-line)}.studio-help-answer>summary,.studio-help-more>summary{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 0;list-style:none;cursor:pointer;touch-action:manipulation}.studio-help-answer>summary{color:var(--user-ink);font-size:14px;font-weight:500;line-height:1.6}.studio-help-answer>summary::-webkit-details-marker,.studio-help-more>summary::-webkit-details-marker{display:none}.studio-help-answer>summary>span:first-child{flex:1 1;min-width:0;overflow-wrap:anywhere}.studio-help-chevron{flex:none;width:16px;height:16px;color:var(--user-muted);transition:transform .15s var(--studio-ease)}.studio-help-answer[open]>summary>.studio-help-chevron,.studio-help-more[open]>summary>.studio-help-chevron{transform:rotate(90deg)}.studio-help-answer>summary:hover,.studio-help-more>summary:hover{color:var(--user-accent)}.studio-help-answer>p{margin:0 0 12px;color:var(--user-muted);font-size:14px;line-height:1.8;overflow-wrap:anywhere}.studio-help-more{margin-top:8px;border-top:1px solid var(--user-line)}.studio-help-more>summary{color:var(--user-accent);font-size:13px;font-weight:500}.studio-help-count{margin-left:auto;color:var(--user-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.studio-support-footer{flex:none;padding:12px 20px 16px;border-top:1px solid var(--user-line);background:#fff}.studio-support-contact{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;margin:0 0 8px;padding:10px 12px;border:0;border-radius:8px;background:var(--user-accent-soft);color:#59378e;font:inherit;font-weight:500;cursor:pointer;touch-action:manipulation}.studio-support-contact:hover{background:#e3d7f7}.studio-support-contact>.studio-icon{flex:none;width:18px;height:18px}.studio-support-contact>.studio-icon:last-child{margin-left:auto}.studio-support-wechat{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.studio-support-wechat-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 20px 12px}.studio-support-wechat-intro{margin:0 0 8px;color:var(--user-ink);font-size:14px;font-weight:500}.studio-support-wechat-card{display:block;max-width:280px;margin-inline:auto;border-radius:8px}.studio-support-wechat-card img{display:block;width:100%;height:auto;object-fit:contain}.studio-support-wechat-footer{flex:none;padding:12px 20px 16px;border-top:1px solid var(--user-line);background:#fff}.studio-support-wechat-footer p{margin:0 0 10px;color:var(--user-muted);font-size:12px;line-height:1.6}.studio-support-wechat-actions{display:flex;flex-wrap:wrap;gap:8px}.studio-support-wechat-actions a,.studio-support-wechat-error button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 12px;border:0;border-radius:8px;font:inherit;font-size:13px;font-weight:500;text-decoration:none;cursor:pointer;touch-action:manipulation}.studio-support-wechat-actions a{flex:1 1;background:var(--user-accent-soft);color:#59378e}.studio-support-wechat-actions a:hover{background:#e3d7f7}.studio-support-wechat-actions .studio-icon{width:16px;height:16px}.studio-support-wechat-actions a[download],.studio-support-wechat-error button{background:var(--user-accent);color:#fff}.studio-support-wechat-actions a[download]:hover,.studio-support-wechat-error button:hover{background:#6034b9}.studio-support-wechat-error{padding:20px 0}.studio-support-wechat-error p{margin:0 0 12px;color:var(--user-muted)}.studio-help-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.studio-help-links a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 4px;border-radius:8px;color:var(--user-accent);font-size:13px;font-weight:500;line-height:1.5;text-decoration:none;text-underline-offset:3px}.studio-help-links a:hover{background:var(--user-accent-soft);text-decoration:underline}.studio-help-links .studio-icon{flex:none;width:14px;height:14px}.studio-help-links .studio-icon:last-child{width:12px;height:12px}.studio-support-chat-log{flex:1 1 auto;min-height:0;padding:16px 20px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:#fbfaff}.studio-support-chat-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:24px 8px;text-align:center;color:var(--user-muted)}.studio-support-chat-empty>.studio-icon{width:28px;height:28px;margin-bottom:12px;color:var(--user-accent)}.studio-support-chat-empty h3{margin:0;color:var(--user-ink);font-size:15px;font-weight:500}.studio-support-chat-empty p{margin:8px 0 0;font-size:13px}.studio-support-composer{display:flex;flex:none;flex-direction:column;gap:8px;max-height:min(340px,calc(var(--support-viewport-height,100dvh) * .65),calc(var(--support-viewport-height,100dvh) - 128px));padding:12px 16px;border-top:1px solid var(--user-line);background:#fff}.studio-support-composer-fields{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px;margin:-4px}.studio-support-composer textarea{display:block;width:100%;min-height:72px;max-height:120px;padding:8px;border:1px solid #d5cce2;border-radius:8px;background:#fff;color:var(--user-ink);font:inherit;line-height:1.6;resize:none;caret-color:var(--user-accent)}.studio-support-composer textarea::placeholder{color:var(--user-muted);opacity:1}.studio-support-composer-actions{display:flex;flex:none;align-items:center;gap:4px;min-width:0}.studio-support-tool{display:grid;flex:none;place-items:center;width:40px;height:40px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--user-muted);cursor:pointer;touch-action:manipulation}.studio-support-tool:hover,.studio-support-tool[aria-expanded=true]{background:var(--user-accent-soft);color:var(--user-accent)}.studio-support-tool .studio-icon{width:20px;height:20px}.studio-support-send{display:flex;flex:none;align-items:center;justify-content:center;gap:8px;min-height:40px;margin-left:auto;padding:8px 16px;border:0;border-radius:8px;background:var(--user-accent);color:#fff;font:inherit;font-weight:500;cursor:pointer;touch-action:manipulation}.studio-support-send .studio-icon{width:18px;height:18px}.studio-support-send:hover:not(:disabled){background:#6034b9}.studio-support-send:disabled,.studio-support-tool:disabled{cursor:not-allowed}.studio-support-send:disabled{color:#696276;background:#ece7f2}.studio-support-tool:disabled{opacity:.55}.studio-support-preparing{min-width:0;color:var(--user-muted);font-size:12px;overflow-wrap:anywhere}.studio-support-feedback{flex:0 1 auto;min-height:0;max-height:72px;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:8px 10px;border-radius:8px;background:#fff6e7;color:#785214;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.studio-support-attachments{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px;padding:0;list-style:none}.studio-support-attachments>li{position:relative;flex:none;width:72px;height:72px}.studio-support-attachment-preview{display:block;width:100%;height:100%;padding:0;overflow:hidden;border:1px solid var(--user-line);border-radius:8px;background:#f6f2fa;cursor:zoom-in}.studio-support-attachment-preview img{display:block;width:100%;height:100%;object-fit:contain}.studio-support-attachment-remove{position:absolute;top:0;right:0;display:grid;place-items:center;width:32px;height:32px;padding:6px;border:0;border-radius:0 8px 0 8px;background:#fff;color:var(--user-ink);cursor:pointer;touch-action:manipulation}.studio-support-attachment-remove:hover{background:var(--user-accent-soft)}.studio-support-attachment-remove .studio-icon{width:16px;height:16px}.studio-support-emoji-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-gap:4px;gap:4px;padding:8px 0 0}.studio-support-emoji-picker button{display:grid;place-items:center;min-width:0;min-height:40px;padding:4px;border:0;border-radius:8px;background:transparent;font-size:22px;cursor:pointer;touch-action:manipulation}.studio-support-emoji-picker button:hover{background:var(--user-accent-soft)}.studio-support-image-preview{display:flex;flex:1 1 auto;flex-direction:column;gap:12px;min-height:0;padding:8px 20px 20px;overflow:auto;overscroll-behavior:contain}.studio-support-image-preview img{display:block;flex:1 1 auto;width:100%;min-height:0;object-fit:contain}.studio-support-image-preview p{flex:none;margin:0;color:var(--user-muted);font-size:13px;overflow-wrap:anywhere}.studio-chat-message{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0 0 16px}.studio-chat-message--user{align-items:flex-end}.studio-chat-bubble{max-width:88%;padding:10px 12px;border-radius:12px;background:#fff;color:var(--user-ink);font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.studio-chat-message--user .studio-chat-bubble{background:var(--user-accent-soft)}.studio-chat-bubble img{display:block;max-width:100%;max-height:240px;object-fit:contain}.studio-chat-message-state,.studio-chat-time{color:var(--user-muted);font-size:12px;line-height:1.5}.studio-chat-message-state.is-failed{color:#a33a3a}.studio-chat-message-state.is-loading{color:var(--user-accent)}.user-workspace .user-content{padding:22px 28px 36px;background:radial-gradient(ellipse at 95% 0,#fceff7 0,transparent 48%),radial-gradient(ellipse at 0 0,#f0eaff 0,transparent 46%),#fbfaff}.user-workspace .generation-progress-panel{background:linear-gradient(105deg,#f4edff,#fff5fa);border-radius:12px}.user-workspace .selected-template-strip{background:linear-gradient(110deg,#f1eaff,#fcf1f8)}.user-workspace .workspace-template-grid .template-choice.selected{border-color:#9154c9;outline-color:#9154c9}.user-workspace .product-phase-label{background:#f3ebfb;color:#685077}.studio-home{max-width:1680px}.studio-home>.status{margin:0 0 14px}.home-showcase{position:relative;height:320px;overflow:hidden;isolation:isolate;border-radius:12px;background:#f2eafa}.showcase-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .4s ease-in-out}.showcase-slide[data-active=true]{opacity:1;pointer-events:auto;z-index:1}.showcase-link{display:block;position:relative;height:100%;color:var(--user-ink);text-decoration:none}.showcase-link:focus-visible{outline-offset:-6px}.showcase-artwork{position:absolute;inset:0;overflow:hidden}.showcase-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}.showcase-copy{position:relative;z-index:2;width:48%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:22px 0 35px 42px;pointer-events:none}.showcase-copy h1{margin:0;font-family:Songti SC,STSong,"Noto Serif CJK SC",serif;font-size:clamp(38px,3.4vw,54px);font-weight:750;line-height:1.14;letter-spacing:-.025em;text-wrap:balance}.showcase-copy h1 span{color:#7042c2}.showcase-copy p{margin:15px 0 19px;color:#594967;font-size:13px;line-height:1.8;white-space:pre-line}.showcase-cta{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:12px 22px;min-height:45px;min-width:156px;border-radius:9px;background:var(--studio-gradient);color:#fff;font-size:14px;font-weight:650;text-decoration:none;pointer-events:auto}.showcase-cta .studio-icon{width:18px;height:18px;transition:transform .18s}.showcase-link:is(:hover,:focus-visible) .showcase-cta .studio-icon{transform:translateX(4px)}.showcase-image-label{position:absolute;bottom:16px;right:20px;padding:4px 9px;border-radius:5px;background:rgb(255 255 255/.94);color:#52465c;font-size:10px;z-index:3}.showcase-controls{position:absolute;z-index:4;left:50%;bottom:6px;transform:translateX(-50%);display:flex;align-items:center;gap:4px}.showcase-controls button{display:grid;place-items:center;width:42px;height:32px;padding:0;border:0;border-radius:5px;background:transparent;cursor:pointer;touch-action:manipulation}.showcase-indicator{display:block;height:4px;width:32px;border-radius:4px;background:#a795bf;transform:scaleX(.78);transition:background-color .16s,transform .16s}.showcase-controls button[aria-current=true] .showcase-indicator{transform:scaleX(1);background:#7244ce}.showcase-controls button:is(:hover,:focus-visible) .showcase-indicator{transform:scaleY(1.5);background:#6336b9}.showcase-motion-access{position:absolute;z-index:5;top:8px;left:8px;width:1px;height:1px;padding:0;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}.showcase-motion-access:focus-visible{-webkit-clip-path:none;clip-path:none;width:auto;height:auto;padding:8px 12px;border-radius:6px;background:#fff;color:#593487}.showcase-fallback{width:100%;background:linear-gradient(110deg,#efe4fd,#f9edf5)}.studio-home .section-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px}.studio-home .section-title-row h2{display:flex;align-items:center;gap:10px;margin:0;font-size:18px;font-weight:700}.studio-home .section-title-row h2 .studio-icon{color:#8451d4;width:21px;height:21px}.studio-home .section-title-row>.subtle,.studio-home .section-title-row>p{margin:0;color:var(--user-muted);font-size:12px}.home-creation{margin-top:26px}.studio-flow-grid{gap:16px}.studio-flow{position:relative;height:198px;overflow:hidden;border-radius:12px;background:#f0e9fb}.studio-flow-image{position:absolute;inset:0 0 0 26%;height:auto;border-radius:0;background:transparent}.studio-flow-image img{object-fit:cover;-webkit-mask-image:linear-gradient(90deg,transparent,black 45%);mask-image:linear-gradient(90deg,transparent,black 45%)}.studio-flow:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:12px;border:1px solid rgb(132 81 193/0);transition:border-color .18s}.studio-flow:is(:hover,:focus-visible):after{border-color:#af85d9}.studio-flow:is(:hover,:focus-visible) .studio-flow-image img{transform:scale(1.025)}.flow-background{background:#f3eee6}.flow-promo{background:#f5e9f5}.studio-flow-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;height:100%;gap:0;width:53%;padding:22px 0 20px 22px}.studio-flow-copy h3{margin:0;font-size:20px;font-weight:700}.studio-flow-copy p{margin:9px 0;font-size:12px;line-height:1.75;color:#655970;max-width:13em}.flow-action{display:inline-flex;align-items:center;gap:9px;margin-top:auto;font-size:12px;font-weight:650;color:#663d9e}.flow-action .studio-icon{width:26px;height:26px;padding:5px;color:#fff;background:#8d62ce;border-radius:50%;transition:transform .18s}.studio-flow:is(:hover,:focus-visible) .flow-action .studio-icon{transform:translateX(4px)}.flow-background .flow-action .studio-icon{background:#967048}.flow-promo .flow-action .studio-icon{background:#a1579e}.flow-image-label{position:absolute;bottom:10px;right:10px;z-index:2;padding:3px 6px;border-radius:4px;background:rgb(255 255 255/.92);color:#5f5469;font-size:9px}.studio-flow-placeholder{width:100%;height:100%;justify-content:end;align-content:center;gap:10px;padding-right:24px;color:var(--user-muted);font-size:11px}.studio-flow-placeholder .studio-icon{width:36px;height:36px;color:#8b709f}.home-resume{display:flex;justify-content:flex-end;padding-top:9px}.home-resume .studio-text-link{font-size:11px;color:#706279}.home-resume .studio-icon{width:13px;height:13px}.studio-tools{margin-top:20px;padding:0;border:0}.studio-tool-list{gap:12px}.studio-tool{min-height:76px;padding:15px;border-radius:10px;border:1px solid #eee8f3;background:#fff}.studio-tool strong{font-size:13px}.studio-tool small{font-size:11px}.studio-tool.is-disabled{border-color:#eee9f2;background:#f4f0f7;color:#756b80}.studio-tool.is-disabled details{margin-top:5px}.studio-recent{margin-top:25px}.studio-recent-grid{grid-template-columns:repeat(4,minmax(0,280px));gap:20px;align-items:start}.studio-recent-item{display:grid;grid-template-columns:minmax(0,1fr) 20px;grid-gap:10px;gap:10px;padding:0;border-radius:8px}.recent-image{position:relative;grid-column:1/-1;display:grid;place-items:center;width:100%;aspect-ratio:3/4;min-width:0;border-radius:12px;overflow:hidden;background:#f0ecf3;color:var(--user-muted);font-size:12px}.recent-image img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.studio-recent-item>span{display:grid;grid-gap:3px;gap:3px;padding-left:2px}.studio-recent-item strong{font-size:12px}.studio-recent-item small{font-size:11px}.studio-recent-item:is(:hover,:focus-visible) strong{color:var(--user-accent)}.studio-recent-empty,.studio-recent-loading{display:flex;align-items:center;gap:15px;min-height:95px;padding:20px;background:rgb(255 255 255/.72);border:1px dashed #d9cde7;border-radius:10px}.studio-recent-empty>.studio-icon{width:28px;height:28px;color:#9e80bf}.studio-recent-empty p{font-weight:550}@keyframes studio-support-enter{0%{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (min-width:1800px){.home-showcase{height:360px}.showcase-copy{padding-left:54px}.showcase-copy p{font-size:14px;margin-top:18px;margin-bottom:24px}.studio-flow{height:232px}.studio-flow-copy{padding:28px;width:54%}.studio-flow-copy h3{font-size:23px}.studio-flow-copy p{font-size:13px}}@media (max-width:1350px){.user-workspace .user-body{grid-template-columns:120px minmax(0,1fr)}.user-workspace .user-content{padding:20px}.user-workspace .user-nav{padding-inline:10px}.user-workspace .user-nav a{padding-inline:12px}.studio-support-popover{left:134px}.showcase-copy{padding-left:30px;width:52%}.studio-flow-copy{padding:20px 0 20px 17px;width:57%}.studio-flow-copy h3{font-size:18px}.studio-flow-copy p{font-size:11px}.studio-tool{padding:11px;gap:8px}.studio-tool>.studio-icon:last-child{display:none}}@media (max-height:700px){.studio-support-popover{bottom:calc(16px + var(--support-keyboard-inset,0px))}}@media (max-height:540px){.studio-support-wechat-card img{width:auto;max-width:100%;max-height:max(80px,calc(var(--support-viewport-height,100dvh) - 248px));margin-inline:auto}}@media (max-width:600px){.studio-support-popover[data-view]{left:12px;right:12px;bottom:calc(max(12px,env(safe-area-inset-bottom)) + var(--support-keyboard-inset,0px));width:auto;max-width:none;max-height:min(var(--support-panel-max),calc(var(--support-viewport-height,100dvh) - max(12px,env(safe-area-inset-bottom)) - 12px))}.studio-support-composer textarea{font-size:16px}.studio-support-emoji-picker{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-height:480px){.user-nav-footer{padding-top:16px}}@media (prefers-reduced-motion:reduce){.showcase-cta .studio-icon,.showcase-indicator,.showcase-slide{transition:none}.studio-support-popover:popover-open{animation:none}.studio-support-popover *{transition:none}}@media (max-width:900px){.user-workspace:has(.studio-home) .user-header{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-inline:16px}.user-workspace:has(.studio-home) .user-header-title{display:none}.user-workspace:has(.studio-home) .user-brand{min-width:0;gap:8px;font-size:16px;white-space:nowrap}.user-workspace:has(.studio-home) .user-header-right{min-width:0;gap:8px}.user-workspace:has(.studio-home) .user-header-login{min-width:64px;min-height:44px;white-space:nowrap}.user-workspace:has(.studio-home) .user-body{grid-template-columns:64px minmax(0,1fr)}.user-workspace:has(.studio-home) .user-nav{padding:16px 6px}.user-workspace:has(.studio-home) .user-nav a{flex-direction:column;justify-content:center;gap:4px;width:100%;min-height:52px;padding:4px;font-size:11px}.user-workspace:has(.studio-home) .user-nav-footer{padding-top:16px}.user-workspace:has(.studio-home) .studio-support-trigger{flex-direction:column;gap:4px;min-height:56px;padding:6px 2px;border-radius:10px;font-size:10px;line-height:1.4}.user-workspace:has(.studio-home) .studio-support-trigger>span{max-width:100%}.user-workspace:has(.studio-home) .user-content{padding:20px 16px 32px}.studio-home .studio-flow-grid,.studio-home .studio-tool-list{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-home .section-title-row{flex-wrap:wrap;gap:8px 16px}.studio-home .section-title-row h2{flex-shrink:0}.studio-home .showcase-copy{width:62%;padding:24px 0 64px 24px}.studio-home .showcase-copy h1{font-size:34px}.studio-home .showcase-controls{bottom:0}.studio-home .showcase-controls button{width:44px;height:44px}.studio-home .showcase-image-label{bottom:48px;right:12px}.studio-home .studio-flow-copy{padding:20px 0 20px 16px}.studio-home .studio-tool{padding:14px}.studio-home .studio-tool>span{min-width:0}.studio-home .studio-tool strong{font-size:14px}.studio-home .studio-tool small{font-size:12px;line-height:1.6}.studio-home .studio-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.studio-home .studio-recent-empty{align-items:flex-start;padding:16px}}@media (max-width:600px){.user-workspace:has(.studio-home) .user-header{gap:8px;padding-inline:12px}.user-workspace:has(.studio-home) .user-brand{font-size:15px}.user-workspace:has(.studio-home) .user-header-right{gap:4px}.user-workspace:has(.studio-home) .user-header .credit-pill{gap:4px;padding:6px 8px}.user-workspace:has(.studio-home) .user-content{padding:16px 12px 28px}.studio-home .studio-flow-grid,.studio-home .studio-tool-list{grid-template-columns:minmax(0,1fr);gap:12px}.studio-home .home-showcase{height:440px}.studio-home .showcase-copy{width:100%;height:calc(100% - 174px);justify-content:flex-start;padding:20px 16px;background:none}.studio-home .showcase-artwork{inset:auto 0 64px;height:110px}.studio-home .showcase-photo{object-fit:contain}.studio-home .showcase-image-label{bottom:44px;right:12px;padding-block:2px}.studio-home .showcase-copy h1{font-size:30px;line-height:1.2}.studio-home .showcase-copy p{margin:12px 0 16px;font-size:13px;line-height:1.7}.studio-home .showcase-cta{min-width:0;max-width:100%;gap:12px;padding:12px 16px}.studio-home .studio-flow{height:210px}.studio-home .studio-flow-copy{width:62%;padding:18px 0 20px 16px}.studio-home .studio-flow-copy p{font-size:13px;line-height:1.6}.studio-home .flow-action{gap:6px;font-size:12px}.studio-home .flow-image-label{right:8px;bottom:8px;font-size:9px}.studio-home .studio-recent-grid{grid-template-columns:minmax(0,1fr)}.studio-home .studio-text-link{min-height:44px;display:inline-flex;align-items:center}}