@import"https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,700&family=Rubik:wght@400;500;600;700&display=swap";@import"https://unpkg.com/@phosphor-icons/web@2.1.1/src/regular/style.css";:root{--brand-primary: initial;--brand-primary-hover: initial;--brand-primary-active: initial;--brand-primary-soft: initial;--brand-primary-fg: initial;--brand-pillar-artist: initial;--brand-pillar-everywhere: initial;--brand-pillar-share: initial;--gray-50: initial;--gray-100: initial;--gray-200: initial;--gray-300: initial;--gray-400: initial;--gray-500: initial;--gray-600: initial;--gray-700: initial;--gray-800: initial;--gray-900: initial;--surface-bg: initial;--surface-s1: initial;--surface-s2: initial;--surface-s3: initial;--text-primary: initial;--text-secondary: initial;--text-muted: initial;--border-default: initial;--border-subtle: initial;--border-strong: initial;--state-success: initial;--state-warning: initial;--state-danger: initial;--state-info: initial;--bg-overlay: oklch(.05 .018 250 / .75);--accent-gradient: linear-gradient(135deg, var(--brand-primary), var(--brand-pillar-everywhere))}:root{--brand-secondary-orange: oklch(.65 .21 35);--brand-secondary-coral: oklch(.76 .15 25);--brand-secondary-violet: oklch(.62 .24 295);--brand-secondary-sky: oklch(.78 .13 230);--brand-secondary-green: oklch(.72 .19 150)}:root{--font-display: "Bricolage Grotesque", ui-serif, Georgia, serif;--font-body: "Rubik", ui-sans-serif, system-ui, sans-serif;--font-mono: "JetBrains Mono", ui-monospace, monospace;--fs-xs: clamp(.75rem, .72rem + .12vw, .8125rem);--fs-sm: clamp(.875rem, .84rem + .15vw, .9375rem);--fs-base: clamp(1rem, .96rem + .2vw, 1.0625rem);--fs-lg: clamp(1.125rem, 1.06rem + .3vw, 1.25rem);--fs-xl: clamp(1.375rem, 1.25rem + .6vw, 1.625rem);--fs-2xl: clamp(1.75rem, 1.5rem + 1.2vw, 2.25rem);--fs-3xl: clamp(2.25rem, 1.8rem + 2.2vw, 3.25rem);--fs-4xl: clamp(3rem, 2.2rem + 4vw, 5rem);--lh-tight: 1.15;--lh-snug: 1.3;--lh-normal: 1.55;--lh-relaxed: 1.75;--fw-regular: 400;--fw-medium: 500;--fw-semibold: 600;--fw-bold: 700;--tracking-tight: -.02em;--tracking-normal: 0;--tracking-wide: .04em}:root{--sp-0: 0;--sp-1: .25rem;--sp-2: .5rem;--sp-3: .75rem;--sp-4: 1rem;--sp-5: 1.25rem;--sp-6: 1.5rem;--sp-8: 2rem;--sp-10: 2.5rem;--sp-12: 3rem;--sp-16: 4rem;--sp-20: 5rem;--sp-24: 6rem;--sp-32: 8rem;--space-2xs: var(--sp-1);--space-xs: var(--sp-2);--space-sm: var(--sp-3);--space-md: var(--sp-4);--space-lg: var(--sp-6);--space-xl: var(--sp-8);--space-2xl: var(--sp-12);--space-3xl: var(--sp-16);--sp-fluid-sm: clamp(.75rem, .6rem + .8vw, 1rem);--sp-fluid-md: clamp(1.25rem, 1rem + 1.2vw, 2rem);--sp-fluid-lg: clamp(2rem, 1.5rem + 2.5vw, 4rem)}:root{--radius-xs: .25rem;--radius-sm: .5rem;--radius-md: .75rem;--radius-lg: 1rem;--radius-xl: 1.5rem;--radius-2xl: 2rem;--radius-full: 9999px}:root{--motion-fast: .12s;--motion-base: .2s;--motion-slow: .36s;--motion-glacial: .72s;--ease-out-quart: cubic-bezier(.25, 1, .5, 1);--ease-out-quint: cubic-bezier(.22, 1, .36, 1);--ease-out-expo: cubic-bezier(.16, 1, .3, 1);--ease-standard: cubic-bezier(.2, .8, .2, 1)}@media (prefers-reduced-motion: reduce){:root{--motion-fast: 0ms;--motion-base: 0ms;--motion-slow: 0ms;--motion-glacial: 0ms}}:root{--elev-0: none;--elev-1: 0 1px 2px 0 oklch(.02 .02 250 / .08), 0 1px 3px 0 oklch(.02 .02 250 / .1);--elev-2: 0 4px 6px -1px oklch(.02 .02 250 / .1), 0 2px 4px -2px oklch(.02 .02 250 / .08);--elev-3: 0 10px 15px -3px oklch(.02 .02 250 / .12), 0 4px 6px -4px oklch(.02 .02 250 / .08);--elev-4: 0 20px 25px -5px oklch(.02 .02 250 / .16), 0 8px 10px -6px oklch(.02 .02 250 / .1);--shadow-glow: 0 0 0 3px var(--brand-primary);--shadow-glow-green: 0 0 0 3px var(--brand-primary);--shadow-glow-cyan: 0 0 20px var(--brand-pillar-everywhere)}:root{--focus-ring-width: 2px;--focus-ring-offset: 2px;--focus-ring-shadow: 0 0 0 var(--focus-ring-offset) var(--surface-bg), 0 0 0 calc(var(--focus-ring-offset) + var(--focus-ring-width)) var(--focus-ring);--glow-brand: 0 0 24px -4px color-mix(in oklch, var(--brand-primary) 32%, transparent)}:root{--min-tap-target: 44px;--min-tap-target-mobile: 48px;--z-base: 0;--z-raised: 10;--z-dropdown: 100;--z-sticky: 200;--z-overlay: 300;--z-modal: 400;--z-toast: 500;--z-tooltip: 600;--z-extension: 2147483647}.brand-mark{display:inline-flex;align-items:center;gap:10px;text-decoration:none;line-height:1;color:inherit}.brand-mark svg{flex-shrink:0;display:block;height:22px;width:auto}.brand-wordmark{font-family:var(--font-display);font-weight:700;font-size:22px;line-height:1;letter-spacing:-.045em;color:var(--brand-primary)}.brand-wordmark-hero{font-family:var(--font-display);font-weight:700;font-size:var(--fs-4xl);line-height:1.05;letter-spacing:-.05em;color:var(--brand-primary)}.brand-mark--sm svg{height:18px}.brand-mark--sm .brand-wordmark{font-size:18px}.brand-mark--lg svg{height:28px}.brand-mark--lg .brand-wordmark{font-size:28px}:root[data-theme=dark],:root:not([data-theme]){color-scheme:dark;--brand-primary: oklch(.72 .19 150);--brand-primary-hover: oklch(.78 .18 150);--brand-primary-active: oklch(.82 .16 150);--brand-primary-soft: oklch(.28 .1 150);--brand-primary-fg: oklch(.12 .02 150);--brand-pillar-artist: oklch(.63 .24 300);--brand-pillar-everywhere: oklch(.75 .14 234);--brand-pillar-share: oklch(.74 .17 162);--gray-50: oklch(.13 .02 250);--gray-100: oklch(.18 .02 250);--gray-200: oklch(.23 .02 250);--gray-300: oklch(.28 .02 250);--gray-400: oklch(.42 .025 250);--gray-500: oklch(.55 .025 250);--gray-600: oklch(.7 .02 250);--gray-700: oklch(.82 .015 250);--gray-800: oklch(.92 .01 250);--gray-900: oklch(.96 .007 250);--surface-bg: oklch(.19 .012 250);--surface-s1: oklch(.23 .014 250);--surface-s2: oklch(.28 .016 250);--surface-s3: oklch(.34 .018 250);--text-primary: oklch(.96 .003 250);--text-secondary: oklch(.82 .008 250);--text-muted: oklch(.6 .01 250);--border-default: oklch(.96 .003 250 / .1);--border-subtle: oklch(.96 .003 250 / .06);--border-strong: oklch(.96 .003 250 / .18);--state-success: oklch(.72 .18 145);--state-warning: oklch(.8 .18 75);--state-danger: oklch(.66 .22 28);--state-info: oklch(.72 .14 220);--focus-ring: var(--brand-primary)}:root[data-theme=light]{color-scheme:light;--brand-primary: oklch(.58 .19 150);--brand-primary-hover: oklch(.52 .2 150);--brand-primary-active: oklch(.46 .21 150);--brand-primary-soft: oklch(.95 .04 150);--brand-primary-fg: oklch(1 0 0);--brand-pillar-artist: oklch(.52 .24 300);--brand-pillar-everywhere: oklch(.58 .14 234);--brand-pillar-share: oklch(.62 .17 162);--gray-50: oklch(.98 .005 250);--gray-100: oklch(.96 .008 250);--gray-200: oklch(.92 .012 250);--gray-300: oklch(.86 .018 250);--gray-400: oklch(.7 .03 250);--gray-500: oklch(.55 .038 250);--gray-600: oklch(.45 .038 250);--gray-700: oklch(.36 .032 250);--gray-800: oklch(.26 .025 250);--gray-900: oklch(.18 .02 250);--surface-bg: oklch(.98 .005 250);--surface-s1: oklch(.95 .007 250);--surface-s2: oklch(.91 .01 250);--surface-s3: oklch(.87 .012 250);--text-primary: oklch(.22 .015 250);--text-secondary: oklch(.42 .012 250);--text-muted: oklch(.58 .01 250);--border-default: oklch(.22 .015 250 / .12);--border-subtle: oklch(.22 .015 250 / .06);--border-strong: oklch(.22 .015 250 / .22);--state-success: oklch(.58 .18 145);--state-warning: oklch(.72 .18 75);--state-danger: oklch(.55 .22 28);--state-info: oklch(.6 .14 220);--focus-ring: var(--brand-primary)}[data-mode=create]{--mode-accent: var(--brand-primary)}[data-mode=gallery]{--mode-accent: var(--brand-pillar-everywhere)}[data-mode=design]{--mode-accent: var(--brand-pillar-artist)}[data-mode=products]{--mode-accent: var(--brand-pillar-share)}[data-mode=me]{--mode-accent: var(--brand-primary)}*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%}body{background:var(--surface-bg);color:var(--text-primary);font-family:var(--font-body);font-size:14px;line-height:1.5;display:flex;align-items:center;justify-content:center;padding:32px}.modal-shell{aspect-ratio:16 / 9;height:min(85vh,100%);max-width:100%;background:var(--surface-s1);border:2px solid var(--border-default-strong);border-radius:var(--radius-lg);box-shadow:var(--elev-4),0 0 0 1px #ffffff0d,0 0 80px #22c55e14;overflow:hidden;display:flex;flex-direction:column;position:relative}.modal-close{position:absolute;top:12px;right:12px;z-index:200;width:32px;height:32px;border-radius:var(--radius-sm);background:var(--surface-s2);border:1px solid var(--border-default);color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:all var(--motion-fast)}.modal-close:hover{background:var(--surface-s3);color:var(--text-primary)}.app{flex:1;display:grid;grid-template-columns:160px 1fr 360px;min-height:0;overflow:hidden}.app.design-active{grid-template-columns:160px 1fr 0}.app.design-active .right-panel{display:none}.app.design-active .stage-header{padding-right:56px}.rail{background:var(--surface-s1);border-right:1px solid var(--border-default);display:flex;flex-direction:column;align-items:stretch;padding:12px 8px;gap:2px;min-height:0;overflow:hidden}.rail-brand{font-family:var(--font-display);font-size:13px;font-weight:700;display:flex;align-items:center;gap:6px;padding:0 10px;margin-bottom:12px;letter-spacing:-.045em;line-height:1}.rail-brand .rail-logo{height:18px;width:auto;flex-shrink:0;display:block}.rail-brand .rail-wordmark{color:var(--brand-primary);font-weight:700}.rail-btn{width:100%;height:36px;border-radius:var(--radius-sm);border:none;background:transparent;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;gap:10px;padding:0 10px;font-size:18px;transition:all var(--motion-fast);position:relative}.rail-btn .rail-label{font-size:13px;font-weight:500;white-space:nowrap}.rail-btn:hover{background:var(--surface-s2);color:var(--text-primary)}.rail-btn.active{background:color-mix(in oklch,var(--mode-accent) 15%,transparent);color:var(--mode-accent)}.rail-btn.active:before{display:none}.rail-divider{height:1px;background:var(--border-default);margin:6px 8px}.rail-bottom{margin-top:auto}.stage{background:var(--surface-bg);position:relative;overflow:hidden;display:flex;flex-direction:column}.stage-header{height:44px;padding:0 16px;border-bottom:1px solid var(--border-default);display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.stage-title{font-family:var(--font-display);font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-secondary)}.stage-actions{display:flex;gap:6px}.stage-body{flex:1;overflow:hidden;min-height:0;display:flex;flex-direction:column;container-type:inline-size;container-name:stage}.mode{display:none;height:100%}.mode.active{display:flex;flex-direction:column}.mode.preload-ghost{display:flex;flex-direction:column;visibility:hidden;pointer-events:none;position:absolute;inset:0}.mode-placeholder{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--text-muted)}.mode-placeholder i{font-size:48px;opacity:.3}.mode-placeholder span{font-size:13px;text-transform:uppercase;letter-spacing:.08em}.right-panel{background:var(--surface-s1);border-left:1px solid var(--border-default);display:flex;flex-direction:column;min-height:0;overflow:hidden}.rp-tabs{display:flex;padding:0 12px;border-bottom:1px solid var(--border-default);flex-shrink:0;overflow-x:auto}.rp-tab{height:40px;padding:0 14px;background:none;border:none;border-bottom:2px solid transparent;color:var(--text-muted);font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:color var(--motion-fast)}.rp-tab:hover{color:var(--text-primary)}.rp-tab.active{color:var(--mode-accent);border-bottom-color:var(--mode-accent)}.rp-tab[hidden]{display:none}.rp-body{flex:1;overflow-y:auto;min-height:0}.rp-panel{display:none;padding:16px}.rp-panel.active{display:block}.rp-wf{display:flex;gap:6px}.rp-wf-col{flex:1;display:flex;flex-direction:column;gap:6px}.rp-wf-item{border-radius:6px;overflow:hidden;cursor:pointer;position:relative}.rp-wf-item img{width:100%;display:block;border-radius:6px}.rp-wf-overlay{position:absolute;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;gap:8px;opacity:0;transition:opacity var(--motion-fast);border-radius:6px}.rp-wf-item:hover .rp-wf-overlay{opacity:1}.rp-wf-item--source{outline:2px solid var(--brand-primary);outline-offset:-2px}.rp-wf-item--source:after{content:"Source";position:absolute;top:6px;left:6px;z-index:2;padding:2px 7px;border-radius:var(--radius-sm, 6px);background:var(--brand-primary);color:var(--surface-bg);font-size:10px;font-weight:600;letter-spacing:.02em}.rp-wf-btn{height:30px;padding:0 11px;border-radius:999px;border:1px solid var(--border-subtle, transparent);background:var(--surface-s3);color:var(--text-primary);font-size:12px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:5px;transition:background var(--motion-fast),color var(--motion-fast),transform var(--motion-fast)}.rp-wf-btn i{font-size:15px}.rp-wf-btn--icon{width:30px;padding:0;justify-content:center}.rp-wf-btn:hover{background:var(--brand-primary);color:var(--surface-bg);transform:translateY(-1px)}.rp-wf-btn:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.rp-wf-btn:active{transform:translateY(0)}.rp-wf-sentinel{height:40px;display:flex;align-items:center;justify-content:center}.create-body{padding:16px;display:flex;flex-direction:column;gap:12px;height:100%}.dialog-box{background:var(--surface-s1);border:1px solid var(--border-default);border-radius:var(--radius-md);padding:12px;display:grid;grid-template-columns:minmax(96px,140px) minmax(0,1fr) minmax(96px,140px);gap:12px;align-items:start}@container stage (max-width: 680px){.dialog-box{grid-template-columns:1fr 1fr;grid-template-areas:"src result" "center center"}.dialog-box>.dialog-slot#dialogSource{grid-area:src}.dialog-box>.dialog-slot#dialogResult{grid-area:result}.dialog-box>.dialog-center{grid-area:center}.dialog-box>.dialog-slot{aspect-ratio:auto;height:116px}.cards-area{flex-direction:column;overflow-y:auto;overflow-x:hidden;gap:18px}.cards-area>.cards-col,.cards-area>.cards-col-side,.cards-area>.cards-col-center{width:100%;flex:0 0 auto}.cards-area>.cards-col .cards-col-body{min-height:188px}}.dialog-slot{aspect-ratio:1;max-height:160px;background:var(--surface-s3);border:1px dashed var(--border-default-strong);border-radius:var(--radius-sm);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--text-muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em;cursor:pointer;position:relative;overflow:hidden;transition:border-color var(--motion-fast) var(--ease-out-quart)}.dialog-slot:hover{border-color:var(--mode-accent);color:var(--text-secondary)}.dialog-slot:has(img:not(.hidden)){border-style:solid;border-color:var(--border-default)}.dialog-slot:has(img:not(.hidden)):hover{border-color:var(--mode-accent)}.dialog-slot i{font-size:24px}.dialog-slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}.dialog-slot img.hidden{display:none}.result-actions{position:absolute;left:0;right:0;bottom:0;display:flex;gap:6px;padding:8px;background:linear-gradient(to top,#0000008c,#0000);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;z-index:2}.result-actions.hidden{display:none}.result-action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:4px;padding:6px 8px;border:none;border-radius:6px;font-size:12px;cursor:pointer;transition:background .12s ease}.result-action-btn i{font-size:14px}.result-action-btn.result-keep{background:#22c55ed9;color:#fff}.result-action-btn.result-keep:hover{background:#22c55e}.result-action-btn.result-discard{background:#ffffffd9;color:#1f2937}.result-action-btn.result-discard:hover{background:#fff}.dialog-center{display:flex;flex-direction:column;gap:8px}.dialog-input-row{flex:1;display:flex;gap:8px;align-items:start}.prompt-input-wrap{flex:1;min-width:0;display:flex;align-items:flex-start;gap:8px}.prompt-thumb{position:relative;flex:0 0 auto;width:44px;height:44px;border-radius:var(--radius-sm);overflow:hidden;border:1px solid var(--border-default)}.prompt-thumb img{width:100%;height:100%;object-fit:cover;display:block}.prompt-thumb-clear{position:absolute;top:1px;right:1px;width:16px;height:16px;display:flex;align-items:center;justify-content:center;padding:0;border:none;border-radius:50%;background:color-mix(in oklch,var(--surface-bg) 70%,transparent);color:var(--text-primary);font-size:10px;cursor:pointer}.prompt-thumb-clear:hover{background:var(--surface-bg)}.upload-btn{width:40px;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:18px;transition:all var(--motion-fast)}.upload-btn:hover{border-color:var(--brand-primary);color:var(--brand-primary)}.prompt-input{flex:1;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:var(--radius-sm);padding:12px;color:var(--text-primary);font-family:var(--font-body);font-size:14px;line-height:1.55;resize:none;outline:none;transition:border-color var(--motion-fast) var(--ease-out-quart),box-shadow var(--motion-fast) var(--ease-out-quart)}.prompt-input:hover:not(:focus){border-color:var(--border-default-strong)}.prompt-input:focus{border-color:var(--mode-accent);box-shadow:0 0 0 3px color-mix(in oklch,var(--mode-accent) 15%,transparent)}.prompt-input::placeholder{color:var(--text-muted)}.generate-btn{width:48px;background:var(--brand-primary);border:none;border-radius:var(--radius-sm);color:var(--surface-bg);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:22px;transition:filter var(--motion-fast) var(--ease-out-quart),transform var(--motion-fast) var(--ease-out-quart)}.generate-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.generate-btn:active{filter:brightness(.95);transform:translateY(0)}.generate-btn:disabled{opacity:.4;cursor:not-allowed;filter:none;transform:none}.dialog-controls{display:flex;gap:8px;align-items:center}.pill-btn{height:28px;padding:0 10px;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:14px;color:var(--text-secondary);font-size:12px;cursor:pointer;display:flex;align-items:center;gap:6px;transition:all var(--motion-fast)}.pill-btn:hover{border-color:var(--border-default-strong);color:var(--text-primary)}.pill-btn.active{background:color-mix(in oklch,var(--mode-accent) 15%,transparent);border-color:var(--mode-accent);color:var(--mode-accent)}.pill-badge{font-size:9px;font-weight:700;padding:1px 5px;background:var(--brand-primary);color:var(--surface-bg);border-radius:4px;letter-spacing:.05em}.cards-area{flex:1;min-height:0;display:flex;gap:10px;overflow:hidden}.cards-col{position:relative;overflow:visible;display:flex;flex-direction:column;min-height:0}.cards-col-side{width:270px;flex-shrink:0}.cards-col-center{flex:1;min-width:0}.cards-col-title{flex-shrink:0}.cards-col-body{flex:1;min-height:0;display:flex;flex-direction:column}.aspect-dropdown{position:absolute;bottom:calc(100% + 4px);left:0;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:var(--radius-sm);padding:4px;z-index:100;min-width:120px}.aspect-dropdown.hidden{display:none}.aspect-item{padding:6px 10px;font-size:12px;color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-xs, 4px)}.aspect-item:hover{background:var(--surface-s3);color:var(--text-primary)}.aspect-item.active{color:var(--mode-accent)}.model-dropdown{position:absolute;bottom:calc(100% + 4px);left:0;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:var(--radius-sm);padding:4px;z-index:100;min-width:160px}.model-dropdown.hidden{display:none}.model-item{padding:6px 10px;font-size:12px;color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-xs, 4px)}.model-item:hover{background:var(--surface-s3);color:var(--text-primary)}.model-item.active{color:var(--mode-accent)}.lightbox{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;background:var(--bg-overlay)}.lightbox.hidden{display:none}.lightbox img{max-width:90%;max-height:90%;border-radius:var(--radius-md)}.lightbox-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;background:var(--surface-s2);border:1px solid var(--border-default);color:var(--text-primary);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:18px}.rp-body::-webkit-scrollbar{width:6px}.rp-body::-webkit-scrollbar-track{background:transparent}.rp-body::-webkit-scrollbar-thumb{background:var(--border-default);border-radius:3px}.rp-body::-webkit-scrollbar-thumb:hover{background:var(--border-default-strong)}.stage-action-btn{width:32px;height:32px;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:all var(--motion-fast)}.stage-action-btn:has(span){width:auto;padding:0 10px;gap:6px;white-space:nowrap;font-size:13px}.stage-action-btn:hover{border-color:var(--brand-primary);color:var(--brand-primary);background:var(--brand-primary)}.ws-credits-bar{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-secondary);margin-right:8px}.ws-credits-free{color:var(--text-muted)}.ws-credits-divider{color:var(--border-default);font-size:10px}.ws-credits-balance{font-weight:600;color:var(--brand-primary)}.ws-credits-streak{font-size:11px;color:var(--state-warning, #f59e0b)}.ws-daily-claim-btn{height:24px;padding:0 8px;background:var(--brand-primary);border:none;border-radius:12px;color:#fff;font-size:11px;font-weight:700;cursor:pointer;transition:all var(--motion-fast)}.ws-daily-claim-btn:hover{background:var(--brand-primary)}.ws-daily-claim-btn:disabled{opacity:.5;cursor:not-allowed}.ws-upload-queue{position:fixed;bottom:16px;right:16px;width:320px;z-index:400;display:flex;flex-direction:column;gap:6px}.ws-upload-queue.hidden{display:none}.queue-item{display:flex;align-items:center;gap:10px;padding:8px 12px;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:var(--radius-sm);box-shadow:var(--elev-2)}.queue-preview{width:36px;height:36px;border-radius:6px;object-fit:cover}.queue-info{flex:1;min-width:0}.queue-name{font-size:12px;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-progress-row{display:flex;align-items:center;gap:8px;margin-top:4px}.queue-progress{flex:1;height:3px;background:var(--border-default);border-radius:2px;overflow:hidden}.queue-progress-bar{height:100%;background:var(--brand-primary);border-radius:2px;transition:width .3s ease}.queue-status{font-size:11px;font-weight:600;white-space:nowrap}.queue-status.uploading{color:var(--brand-primary)}.queue-status.success{color:var(--state-success, #10b981)}.queue-status.error{color:var(--state-danger, #ef4444)}.me-container{padding:24px;display:flex;flex-direction:column;gap:24px;overflow-y:auto;height:100%}.me-profile{display:flex;align-items:center;gap:16px;padding:20px;background:var(--surface-s1);border:1px solid var(--border-default);border-radius:var(--radius-md)}.me-profile--guest{flex-direction:column;text-align:center;gap:12px}.me-profile__avatar img{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid var(--border-default)}.me-profile__name{font-family:var(--font-display);font-size:16px;font-weight:600;color:var(--text-primary)}.me-profile__email{font-size:12px;color:var(--text-muted);margin-top:2px}.me-profile__credits{font-size:13px;color:var(--brand-primary);font-weight:600;margin-top:4px}.me-profile__sub{font-size:12px;color:var(--text-muted);max-width:280px}.me-login-btn{height:36px;padding:0 20px;background:var(--brand-primary);border:none;border-radius:var(--radius-sm);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background var(--motion-fast)}.me-login-btn:hover{background:var(--brand-primary)}.me-section{display:flex;flex-direction:column;gap:12px}.me-section__title{font-family:var(--font-display);font-size:13px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.06em;display:flex;align-items:center;gap:8px}.me-section__count{font-size:11px;font-weight:500;color:var(--text-muted);background:var(--surface-s3);padding:1px 6px;border-radius:10px}.me-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:32px 16px;color:var(--text-muted);font-size:13px;text-align:center}.me-fav-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.me-fav-item{aspect-ratio:1;border-radius:var(--radius-sm);overflow:hidden;background:var(--surface-s3);border:1px solid var(--border-default)}.me-fav-item img{width:100%;height:100%;object-fit:cover}.me-fav-placeholder{width:100%;height:100%;background:var(--surface-s1)}.me-history-list{display:flex;flex-direction:column;gap:8px}.me-history-item{display:flex;gap:12px;align-items:center;padding:10px 12px;background:var(--surface-s1);border:1px solid var(--border-default);border-radius:var(--radius-sm)}.me-history-thumb{width:44px;height:44px;border-radius:6px;overflow:hidden;flex-shrink:0;background:var(--surface-s3)}.me-history-thumb img{width:100%;height:100%;object-fit:cover}.me-history-placeholder{width:100%;height:100%;background:var(--surface-s1)}.me-history-info{flex:1;min-width:0}.me-history-prompt{font-size:12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.me-loading{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 16px;color:var(--text-muted);font-size:13px}.stage-action-btn{background:var(--surface);border:1px solid var(--border);color:var(--text-muted);border-radius:var(--radius-md);transition:background var(--duration-fast, .15s) var(--ease, ease-out),border-color var(--duration-fast, .15s) var(--ease, ease-out),color var(--duration-fast, .15s) var(--ease, ease-out)}.stage-action-btn:hover{background:var(--brand-primary-soft);border-color:var(--brand-primary);color:var(--brand-primary)}.stage-action-btn:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.ws-credits-bar{font-family:var(--font-body);padding:4px 10px;border-radius:var(--radius-pill, 999px);background:var(--surface-s2, var(--surface));border:1px solid var(--border)}.ws-credits-balance{font-family:var(--font-mono, monospace);font-size:var(--fs-caption, 12px);color:var(--brand-primary)}.ws-daily-claim-btn{background:var(--brand-primary);color:var(--brand-primary-fg, white);border-radius:var(--radius-pill, 999px);font-family:inherit;letter-spacing:.04em;text-transform:uppercase;padding:0 12px;height:26px;transition:background var(--duration-fast, .15s) var(--ease, ease-out)}.ws-daily-claim-btn:hover:not(:disabled){background:var(--brand-primary-hover, var(--brand-primary))}.ws-daily-claim-btn:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.queue-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:0 4px 16px #00000214}.queue-progress{background:var(--gray-200, var(--border));height:4px;border-radius:var(--radius-pill, 999px)}.queue-progress-bar{background:linear-gradient(90deg,var(--brand-primary) 0%,var(--brand-pillar-everywhere, var(--brand-primary)) 100%);border-radius:var(--radius-pill, 999px)}@media (prefers-reduced-motion: reduce){.stage-action-btn,.ws-daily-claim-btn,.queue-progress-bar{transition:none}}.mms-spinner{display:inline-block;line-height:1;animation:mms-spin 1s linear infinite;color:currentColor;vertical-align:middle}.mms-spinner.sm{font-size:16px}.mms-spinner.md{font-size:24px}.mms-spinner.lg{font-size:40px}@keyframes mms-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.mms-spinner{animation:none}}.ws-gallery__grid{flex:1;overflow-y:auto;padding:12px;align-content:start}.ws-gallery__header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid var(--border-default)}.ws-gallery__tabs{display:flex;gap:4px}.ws-gallery__tab{background:none;border:none;color:var(--text-muted);font-size:12px;font-family:var(--font-body);padding:4px 12px;border-radius:var(--radius-sm);cursor:pointer;transition:all .15s ease}.ws-gallery__tab:hover{color:var(--text-primary);background:var(--surface-s1)}.ws-gallery__tab.active{color:var(--text-primary);background:var(--surface-s3);font-weight:500}.ws-gallery__count{font-size:11px;color:var(--text-muted)}.ws-gallery__waterfall{display:flex;gap:12px;align-items:flex-start}.ws-gallery__column{flex:1;display:flex;flex-direction:column;gap:12px}.ws-gallery__item{border-radius:var(--radius-md);overflow:hidden;cursor:pointer;border:2px solid transparent;transition:all .15s ease;position:relative;background:var(--surface-s1);width:100%}.ws-gallery__item:hover{border-color:var(--mode-accent);transform:translateY(-2px)}.ws-gallery__item--reference{border-color:var(--mode-accent)}.ws-gallery__item--source{border-color:var(--brand-primary);box-shadow:0 0 0 2px var(--brand-primary)}.ws-gallery__item--source:before{content:"Source";position:absolute;top:8px;left:8px;z-index:3;padding:2px 8px;border-radius:var(--radius-sm, 6px);background:var(--brand-primary);color:var(--surface-bg);font-size:10px;font-weight:600;letter-spacing:.02em}.ws-gallery__item img{width:100%;height:auto;display:block}.ws-gallery__item-actions{position:absolute;inset:0;opacity:0;transition:opacity .15s ease;z-index:2;pointer-events:none}.ws-gallery__item:hover .ws-gallery__item-actions{opacity:1;pointer-events:auto}.ws-gallery__action-group{position:absolute;right:12px;display:flex;gap:8px}.ws-gallery__action-group--top{top:61.8%;transform:translateY(-50%);flex-direction:column}.ws-gallery__action-group--bottom{bottom:12px}.ws-gallery__action-btn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#0009;backdrop-filter:blur(8px);border:none;border-radius:8px;color:#fff;cursor:pointer;transition:all .15s ease;pointer-events:auto;position:relative}.ws-gallery__action-btn:hover{transform:scale(1.1)}.ws-gallery__action-btn svg{width:20px;height:20px;color:#fff}.ws-gallery__action-btn--source:hover,.ws-gallery__action-btn--reference:hover{background:var(--brand-primary)}.ws-gallery__action-btn--design:hover{background:var(--brand-pillar-artist)}.ws-gallery__action-btn--favorite:hover{background:var(--state-warning)}.ws-gallery__action-btn--like:hover,.ws-gallery__action-btn--like.active{background:var(--state-danger)}.ws-gallery__action-btn--like.active svg{fill:currentColor}.ws-gallery__action-btn--share:hover{background:var(--state-info)}.ws-gallery__btn-label{position:absolute;bottom:-28px;left:50%;transform:translate(-50%);background:#000000d9;color:#fff;font-size:11px;padding:4px 8px;border-radius:4px;white-space:nowrap;opacity:0;transition:opacity .15s ease;pointer-events:none}.ws-gallery__action-btn:hover .ws-gallery__btn-label{opacity:1}.ws-gallery__action-btn--favorite.active{background:var(--state-warning);color:var(--surface-bg);opacity:1}.ws-gallery__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:64px 32px;gap:16px;color:var(--text-muted);font-size:14px}.ws-gallery__empty .empty-icon{width:64px;height:64px;border-radius:20px;background:#ffffff0f;display:flex;align-items:center;justify-content:center;font-size:28px;border:1px solid rgba(255,255,255,.07)}.ws-gallery__empty .empty-title{font-family:var(--font-display);font-size:15px;font-weight:600;color:var(--text-primary);margin:0}.ws-gallery__empty .empty-desc{font-size:13px;color:var(--text-muted);margin:0;max-width:240px;line-height:1.5}.ws-gallery__empty .empty-cta{margin-top:4px;padding:8px 18px;background:var(--brand-primary);border:none;border-radius:var(--radius-sm);color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:background var(--motion-fast) ease}.ws-gallery__empty .empty-cta:hover{background:var(--brand-primary)}.ws-gallery__load-more{display:flex;justify-content:center;padding:24px;width:100%}.ws-gallery__skeleton{pointer-events:none}.ws-gallery__skeleton-image{width:100%;background:linear-gradient(90deg,#ffffff0f 25%,#ffffff17,#ffffff0f 75%);background-size:800px 100%;animation:ws-gallery-shimmer 1.6s ease-in-out infinite;border-radius:var(--radius-md)}@keyframes ws-gallery-spin{to{transform:rotate(360deg)}}@keyframes ws-gallery-shimmer{0%{background-position:-400px 0}to{background-position:400px 0}}@media (max-width: 600px){.ws-gallery__waterfall{flex-direction:column}.ws-gallery__column{width:100%}.ws-gallery__action-btn{min-width:44px;min-height:44px}.ws-gallery__grid{padding:8px}}.ws-gallery__header{padding:var(--space-3, 12px) var(--space-4, 16px);border-bottom:1px solid var(--border);align-items:baseline}.ws-gallery__tabs{gap:2px;background:var(--surface-s2, var(--surface));border:1px solid var(--border);border-radius:var(--radius-pill, 999px);padding:3px}.ws-gallery__tab{border-radius:var(--radius-pill, 999px);height:28px;padding:0 var(--space-3, 12px);font-weight:500;font-size:var(--fs-caption, 12px);color:var(--text-muted);transition:background var(--duration-fast, .15s) var(--ease, ease-out),color var(--duration-fast, .15s) var(--ease, ease-out)}.ws-gallery__tab:hover{background:transparent;color:var(--text)}.ws-gallery__tab.active{background:var(--surface);color:var(--brand-primary);font-weight:600;box-shadow:0 1px 3px #0000020f}.ws-gallery__tab:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.ws-gallery__count{font-family:var(--font-mono, monospace);font-size:var(--fs-overline, 11px);letter-spacing:.06em;color:var(--text-muted)}.ws-gallery__item{border:1px solid var(--border);background:var(--surface)}.ws-gallery__item:hover{border-color:var(--brand-primary)}.ws-gallery__action-btn:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.ws-gallery__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3, 12px);padding:var(--space-12, 48px) var(--space-6, 24px);text-align:center;color:var(--text-muted)}.ws-gallery__empty-icon{width:56px;height:56px;border-radius:50%;background:var(--brand-primary-soft);color:var(--brand-primary);display:grid;place-items:center;font-size:26px}.ws-gallery__empty-title{font-family:var(--font-display);font-size:1rem;font-weight:600;color:var(--text)}.ws-gallery__empty-sub{font-size:var(--fs-sm, 14px);max-width:320px;line-height:1.5}.card-toggle-top{position:absolute;top:10px;right:10px;z-index:2;display:inline-flex;align-items:center;width:36px;height:20px;cursor:pointer}.card-toggle-top input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;inset:0;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:10px;transition:all .15s ease}.toggle-slider:before{content:"";position:absolute;height:12px;width:12px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:all .15s ease}.card-toggle-top input:checked+.toggle-slider{background:var(--brand-primary);border-color:var(--brand-primary)}.card-toggle-top input:checked+.toggle-slider:before{transform:translate(16px)}.intent-cards-section{flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0;padding:8px 0}.intent-cards-header{display:flex;align-items:center;justify-content:space-between;padding:0 12px 8px;flex-shrink:0}.intent-cards-label{font-size:10px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em}.intent-cards-coverflow{flex:1;position:relative;overflow:hidden;perspective:800px;perspective-origin:center center;display:flex;align-items:center;justify-content:center;min-height:0}.intent-cards-track{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.intent-card{position:absolute;left:12px;right:12px;height:56px;display:flex;align-items:center;gap:0;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:10px;cursor:pointer;overflow:hidden;transform-origin:center center;transition:transform .4s cubic-bezier(.25,.46,.45,.94),opacity .4s cubic-bezier(.25,.46,.45,.94),border-color .3s ease,box-shadow .3s ease;will-change:transform,opacity;user-select:none}.intent-card:hover{border-color:var(--border-default-strong)}.intent-card--selected{border-color:var(--brand-primary);box-shadow:0 0 0 1px var(--brand-primary)}.intent-card-icon{width:36px;height:36px;border-radius:8px;background:var(--surface-s2);display:flex;align-items:center;justify-content:center;margin:0 10px 0 12px;flex-shrink:0;font-size:15px;color:var(--text-muted);transition:background .25s,color .25s}.intent-card--selected .intent-card-icon{background:color-mix(in srgb,var(--brand-primary) 15%,var(--surface-s3));color:var(--brand-primary)}.intent-card-main{flex:1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding-right:10px}.intent-card-text{display:flex;flex-direction:column;gap:2px;min-width:0}.intent-card-title{font-size:14px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.intent-card-desc{font-size:11px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:0;opacity:0;transition:max-height .3s ease,opacity .3s ease}.intent-card--selected .intent-card-desc{max-height:18px;opacity:1}.intent-card-badge{flex-shrink:0;font-size:10px;font-weight:700;padding:2px 6px;border-radius:var(--radius-full, 999px);letter-spacing:.04em;text-transform:uppercase}.intent-card-badge--basic{background:var(--surface-s3);color:var(--text-muted)}.intent-card-badge--kontext{background:color-mix(in srgb,var(--brand-primary) 15%,transparent);color:var(--brand-primary)}.intent-card-badge--tool{background:#06b6d41f;color:var(--brand-pillar-everywhere)}.intent-cards-nav{display:flex;justify-content:center;gap:8px;padding:6px 0;flex-shrink:0}.intent-nav-btn{width:28px;height:28px;border-radius:6px;border:1px solid var(--border-default);background:var(--surface-s3);color:var(--text-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.intent-nav-btn:hover{background:var(--surface-s2);color:var(--text-primary)}.intent-tool-controls{display:flex;align-items:center;gap:8px;padding-top:4px;border-top:1px solid var(--border-default-subtle, var(--border-default))}.intent-tool-label{font-size:11px;color:var(--text-muted)}.intent-tool-scale-group{display:flex;gap:4px}.intent-scale-btn{padding:2px 8px;font-size:11px;font-weight:600;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:var(--radius-xs, 4px);color:var(--text-muted);cursor:pointer;transition:background .12s ease,border-color .12s ease,color .12s ease}.intent-scale-btn:hover,.intent-scale-btn.active{background:var(--brand-primary, color-mix(in srgb, var(--brand-primary) 12%, transparent));border-color:var(--brand-primary);color:var(--brand-primary)}.intent-confirm-btn{padding:4px 12px;font-size:11px;font-weight:600;background:var(--brand-primary, color-mix(in srgb, var(--brand-primary) 12%, transparent));border:1px solid var(--brand-primary);border-radius:var(--radius-xs, 4px);color:var(--brand-primary);cursor:pointer;transition:background .12s ease}.intent-confirm-btn:hover{background:var(--brand-primary);color:var(--surface-bg)}.intent-model-hint{font-size:11px;color:var(--brand-pillar-artist);background:color-mix(in srgb,var(--brand-pillar-artist) 8%,transparent);border:1px solid color-mix(in srgb,var(--brand-pillar-artist) 20%,transparent);border-radius:var(--radius-xs, 4px);padding:3px 8px}.intent-second-img{padding-top:6px;border-top:1px solid var(--border-default-subtle, var(--border-default))}.intent-second-img-upload{display:flex;align-items:center;gap:6px;padding:6px 10px;border:1px dashed var(--border-default-strong, var(--border-default));border-radius:var(--radius-xs, 4px);color:var(--text-muted);font-size:11px;cursor:pointer;transition:border-color .14s ease,color .14s ease}.intent-second-img-upload:hover{border-color:var(--brand-primary);color:var(--brand-primary)}.intent-second-img-preview{position:relative;display:inline-flex}.intent-second-img-preview img{width:48px;height:48px;object-fit:cover;border-radius:var(--radius-xs, 4px);border:1px solid var(--border-default)}.intent-second-img-clear{position:absolute;top:-4px;right:-4px;width:16px;height:16px;border-radius:50%;background:var(--surface-s1);border:1px solid var(--border-default);color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .12s ease,color .12s ease}.intent-second-img-clear:hover{background:var(--state-danger, rgba(239,68,68,.1));color:var(--state-danger, #ef4444)}.intent-second-img-uploading{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;font-size:11px;color:var(--text-muted);border:1px dashed var(--border-default);border-radius:6px}.intent-tool-note{font-size:12px;color:var(--text-muted);text-align:center;padding:8px 12px;margin:0}.inspiration-workspace{display:flex;flex-direction:column;flex:1;height:100%;padding:12px 16px 14px}.inspiration-carousel{position:relative;width:100%;height:320px;display:flex;align-items:center;justify-content:center;perspective:1200px;overflow:visible}.inspiration-card{position:absolute;width:240px;height:290px;background:var(--surface-s3);border:1px solid var(--border-default);border-radius:var(--radius-lg, 12px);transition:transform .42s cubic-bezier(.34,1.28,.64,1),opacity .3s cubic-bezier(.4,0,.2,1),box-shadow .3s ease;will-change:transform,opacity;cursor:pointer;overflow:hidden;display:flex;flex-direction:column;transform-style:preserve-3d;backface-visibility:hidden;transform:translate(0) rotateY(0) scale(1)}.inspiration-card.active{cursor:default;box-shadow:0 4px 24px #00000059,0 24px 64px #00000073,0 0 0 1.5px var(--brand-primary)}.inspiration-card:not(.active):hover{opacity:.85!important}.card-main{flex:1;display:flex;flex-direction:column;padding:12px 12px 10px;min-height:0}.card-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.card-category{font-size:10px;font-weight:700;color:var(--brand-primary);text-transform:uppercase;letter-spacing:.06em}.card-thumb{width:32px;height:32px;object-fit:cover;border-radius:var(--radius-sm, 6px);border:1px solid var(--border-default)}.card-content-box{flex:1;display:flex;flex-direction:column;gap:6px}.card-content-title{font-size:14px;font-weight:600;color:var(--text-primary);line-height:1.25}.card-content-desc{font-size:12px;color:var(--text-secondary, var(--text-muted));line-height:1.55;overflow-y:auto;flex:1}.card-content-desc--solo{font-size:14px;font-weight:600;color:var(--text-primary);line-height:1.4}.card-footer{display:flex;align-items:center;padding:8px 12px;border-top:1px solid var(--border-default);flex-shrink:0}.card-usage{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--text-muted)}.iw-card-nav{display:flex;align-items:center;justify-content:center;padding-top:12px;flex-shrink:0}.carousel-dots{display:flex;gap:5px;align-items:center}.carousel-dot{width:7px;height:7px;border-radius:50%;background:var(--border-default);cursor:pointer;transition:width .18s ease,background .18s ease,border-radius .18s ease;flex-shrink:0}.carousel-dot.active{background:var(--brand-primary);width:22px;border-radius:3.5px}.carousel-dot:hover{background:var(--brand-primary);opacity:.7}.pane-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--text-muted);font-size:13px;text-align:center;gap:0;padding:24px}.iw-custom-card-textarea{width:100%;background:var(--surface-s2);border:1px solid var(--border-default);border-radius:8px;padding:8px 10px;font-size:12px;color:var(--text-primary);font-family:inherit;resize:none;outline:none;line-height:1.5;margin-top:4px}.iw-custom-card-textarea:focus{border-color:var(--brand-primary)}.iw-custom-card-textarea::placeholder{color:var(--text-muted)}.neg-cards-section{display:flex;flex-direction:column;flex:1;min-height:0;padding:8px 0}.neg-cards-coverflow{flex:1;position:relative;perspective:800px;overflow:hidden;min-height:0}.neg-cards-track{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.neg-card{position:absolute;width:calc(100% - 24px);min-height:56px;border-radius:10px;background:var(--surface-s3);border:1px solid var(--border-default);display:flex;flex-direction:column;padding:0 14px;cursor:pointer;transition:transform .4s cubic-bezier(.25,.46,.45,.94),opacity .4s cubic-bezier(.25,.46,.45,.94),border-color .3s;will-change:transform,opacity;overflow:hidden}.neg-card:hover{border-color:var(--border-default-strong, var(--border-default))}.neg-card--on{border-color:var(--brand-primary);box-shadow:0 0 0 1px var(--brand-primary)}.neg-card-main{display:flex;align-items:center;justify-content:space-between;height:56px;flex-shrink:0}.neg-card-text{display:flex;flex-direction:column;gap:2px}.neg-card-title{font-size:13px;font-weight:500;color:var(--text-primary)}.neg-card-desc{font-size:11px;color:var(--text-muted)}.neg-card-badge{font-size:10px;font-weight:700;letter-spacing:.06em;padding:2px 7px;border-radius:10px;background:var(--surface-s2);border:1px solid var(--border-default);color:var(--text-muted)}.neg-card-badge--on{background:#22c55e1f;border-color:var(--brand-primary);color:var(--brand-primary)}.neg-custom-textarea{width:100%;background:var(--surface-s2);border:1px solid var(--border-default);border-radius:8px;padding:8px 10px;font-size:12px;color:var(--text-primary);font-family:inherit;resize:none;outline:none;line-height:1.5;margin-bottom:10px}.neg-custom-textarea:focus{border-color:var(--brand-primary)}.neg-custom-textarea::placeholder{color:var(--text-muted)}.neg-cards-nav{display:flex;justify-content:center;gap:8px;padding:6px 0;flex-shrink:0}.neg-nav-btn{width:28px;height:28px;border-radius:6px;border:1px solid var(--border-default);background:var(--surface-s3);color:var(--text-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.neg-nav-btn:hover{background:var(--surface-s2);color:var(--text-primary)}.intent-cards-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg)}.intent-cards-label{font-family:var(--font-display);font-size:var(--fs-base, 16px);font-weight:600;letter-spacing:-.01em;color:var(--text-primary, var(--text))}.intent-cards-label:before{content:"Intent";display:block;font-family:var(--font-body);font-size:var(--fs-overline, 11px);font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-primary);margin-bottom:2px}.intent-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);transition:border-color var(--duration-fast, .15s) var(--ease, ease-out),transform var(--duration-fast, .15s) var(--ease, ease-out),background var(--duration-fast, .15s) var(--ease, ease-out)}.intent-card:hover:not(.intent-card--selected){border-color:var(--brand-primary);background:var(--surface-s2, var(--surface));transform:translateY(-2px)}.intent-card--selected{border-color:var(--brand-primary);background:var(--brand-primary-soft)}.intent-card:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.intent-confirm-btn{background:var(--brand-primary);color:var(--brand-primary-fg, white);border-radius:var(--radius-md);font-family:inherit;font-weight:600;letter-spacing:0;height:44px;transition:background var(--duration-fast, .15s) var(--ease, ease-out)}.intent-confirm-btn:hover:not(:disabled){background:var(--brand-primary-hover, var(--brand-primary))}.intent-confirm-btn:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.intent-confirm-btn:disabled{opacity:.5;cursor:not-allowed}.intent-nav-btn{background:var(--surface);border:1px solid var(--border);border-radius:50%;color:var(--text-muted);width:36px;height:36px;transition:border-color var(--duration-fast, .15s) var(--ease, ease-out),color var(--duration-fast, .15s) var(--ease, ease-out),background var(--duration-fast, .15s) var(--ease, ease-out)}.intent-nav-btn:hover{border-color:var(--brand-primary);color:var(--brand-primary);background:var(--brand-primary-soft)}.intent-nav-btn:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.intent-scale-btn{border:1px solid var(--border);background:var(--surface);color:var(--text-muted);border-radius:var(--radius-sm);font-family:var(--font-mono, monospace);font-size:var(--fs-caption, 12px);transition:border-color var(--duration-fast, .15s) var(--ease, ease-out),background var(--duration-fast, .15s) var(--ease, ease-out),color var(--duration-fast, .15s) var(--ease, ease-out)}.intent-scale-btn:hover,.intent-scale-btn.active{background:var(--brand-primary);color:var(--brand-primary-fg, white);border-color:var(--brand-primary)}.intent-scale-btn:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.card-toggle-top input:checked+.toggle-slider{background:var(--brand-primary)}@media (prefers-reduced-motion: reduce){.intent-card,.intent-confirm-btn,.intent-nav-btn,.intent-scale-btn{transition:none;transform:none}.intent-card:hover{transform:none}}#sds-container{display:none;flex-direction:row;align-items:stretch;width:100%;height:100%;min-height:0;position:relative;background:var(--surface-bg);overflow:hidden}.design-left{width:208px;flex:0 0 208px;display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--border-subtle);background:var(--surface-s1)}.design-tabs{display:flex;gap:4px;padding:10px 10px 8px;border-bottom:1px solid var(--border-subtle)}.design-tab{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;font-size:var(--fs-xs, .8125rem);font-weight:500;color:var(--text-muted);background:transparent;border:none;border-radius:8px;cursor:pointer;transition:background .15s ease,color .15s ease}.design-tab:hover{color:var(--text-secondary);background:var(--surface-s2)}.design-tab.active{color:var(--brand-primary);background:var(--brand-primary-soft)}.design-panel{display:none;flex:1;flex-direction:column;min-height:0;overflow:hidden}.design-panel.active{display:flex}.design-grid{flex:1;min-height:0;overflow-y:auto;padding:10px}.design-retry-btn{margin:8px 10px;padding:8px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:var(--fs-xs, .8125rem);color:var(--text-secondary);background:var(--surface-s2);border:1px solid var(--border-default);border-radius:8px;cursor:pointer}.design-loading-more{display:flex;justify-content:center;padding:10px}.design-stage{flex:1;display:flex;flex-direction:column;align-items:center;min-width:0;min-height:0;padding:16px 16px 10px;gap:10px}.design-canvas-wrap{flex:1;display:flex;align-items:center;justify-content:center;width:100%;min-height:0;overflow:hidden}#designer-container{width:600px;height:600px;flex-shrink:0;position:relative;background:var(--surface-s1)}.design-toolbar{display:flex;align-items:center;gap:2px;padding:4px;background:var(--surface-s1);border:1px solid var(--border-default);border-radius:10px;box-shadow:0 2px 8px #0000000f}.design-toolbar button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:16px;color:var(--text-secondary);background:transparent;border:none;border-radius:7px;cursor:pointer;transition:background .15s ease,color .15s ease}.design-toolbar button:hover{color:var(--text-primary);background:var(--surface-s2)}.design-toolbar-sep{width:1px;height:18px;margin:0 4px;background:var(--border-subtle)}.design-faces-col{width:84px;flex:0 0 84px;display:flex;flex-direction:column;min-height:0;border-left:1px solid var(--border-subtle);background:var(--surface-s1)}.design-col-header{padding:12px 12px 8px;font-size:var(--fs-xs, .8125rem);font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.design-faces{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;min-height:0;overflow-y:auto;padding:2px 8px 12px}@media (max-width: 767px){.design-left,.design-right,.design-faces-col{display:none}.design-stage{padding:8px}}.design-right{width:240px;flex:0 0 240px;display:flex;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;padding:14px;border-left:1px solid var(--border-subtle);background:var(--surface-s1)}#previewBox{width:100%;aspect-ratio:1;flex-shrink:0;position:relative;background:var(--surface-bg);border:1px solid var(--border-default);border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}.preview-expand-btn{position:absolute;top:8px;right:8px;z-index:5;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;color:var(--text-secondary);background:var(--surface-s1);border:1px solid var(--border-default);border-radius:7px;cursor:pointer;opacity:0;transition:opacity .15s ease,color .15s ease}#previewBox:hover .preview-expand-btn{opacity:1}.preview-expand-btn:hover{color:var(--brand-primary)}.preview-modal{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;background:var(--bg-overlay, oklch(.05 .018 250 / .75));padding:24px}.preview-modal[data-open=true]{display:flex}.preview-modal-card{position:relative;display:flex;gap:20px;width:min(860px,100%);max-height:min(620px,100%);padding:20px;background:var(--surface-s1);border:1px solid var(--border-default);border-radius:16px;box-shadow:0 12px 40px #00000040}.preview-modal-close{position:absolute;top:12px;right:12px;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;font-size:16px;color:var(--text-secondary);background:var(--surface-s2);border:none;border-radius:8px;cursor:pointer}.preview-modal-left{flex:1.2;min-width:0;display:flex;align-items:center;justify-content:center;background:var(--surface-bg);border-radius:12px;overflow:hidden}.preview-modal-left img{max-width:100%;max-height:560px;object-fit:contain}.preview-modal-right{flex:1;min-width:0;display:flex;flex-direction:column;gap:14px;padding:8px 4px}.preview-modal-right h2{margin:0;font-family:var(--font-display);font-size:1.25rem;font-weight:700;color:var(--text-primary);line-height:1.25;padding-right:36px}.preview-modal-right .btn-share-buy{margin-top:auto}.design-variant-empty{color:var(--text-muted);font-size:var(--fs-xs, .8125rem)}.design-product-info{display:flex;flex-direction:column;gap:10px}.design-product-name{font-family:var(--font-display);font-size:var(--fs-sm, .9375rem);font-weight:600;color:var(--text-primary);line-height:1.3}.design-variant-group{display:flex;flex-direction:column;gap:6px}.design-variant-label{font-size:var(--fs-xs, .8125rem);color:var(--text-muted)}.design-product-price{font-family:var(--font-display);font-size:1.125rem;font-weight:700;color:var(--text-primary)}.btn-share-buy{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;font-size:var(--fs-sm, .9375rem);font-weight:600;color:var(--brand-primary-fg);background:var(--brand-primary);border:none;border-radius:10px;cursor:pointer;transition:background .15s ease,transform .1s ease}.btn-share-buy:hover{background:var(--brand-primary-hover)}.btn-share-buy:active{transform:scale(.98)}.btn-share-buy:disabled{opacity:.6;cursor:default}#previewBoxContent{width:100%;height:100%;display:flex;align-items:center;justify-content:center}#previewBoxContent img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.design-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;width:100%;gap:8px}.design-loading-text{font-size:13px;color:var(--text-muted, #94A3B8);text-align:center}.design-start-btn{margin-top:12px;padding:8px 20px;background:var(--brand-primary, #22C55E);color:var(--surface-bg, #0e1410);border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:background .15s ease}.design-start-btn:hover{background:color-mix(in srgb,var(--brand-primary, #22C55E) 85%,black)}.spinner{display:inline-block;width:40px;height:40px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCI+PHN0eWxlPkBrZXlmcmFtZXMgc3Bpbntmcm9te3RyYW5zZm9ybTpyb3RhdGUoOTBkZWcpfXRve3RyYW5zZm9ybTpyb3RhdGUoNDUwZGVnKX19LnJ7YW5pbWF0aW9uOnNwaW4gM3MgbGluZWFyIGluZmluaXRlO3RyYW5zZm9ybS1vcmlnaW46NTBweCA1MHB4fTwvc3R5bGU+PGcgY2xhc3M9InIiPjxwYXRoIGQ9Ik0xMi42IDUyLjZMNTAgOTAgOTAgNTAgNTIuNiAxMi42IiBmaWxsPSJub25lIiBzdHJva2U9IiM5Y2EzYWYiIHN0cm9rZS13aWR0aD0iMSIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48bGluZSB4MT0iMTAiIHkxPSI1MCIgeDI9IjUwIiB5Mj0iMTAiIHN0cm9rZT0iI2RjMjYyNiIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2UtbGluZWNhcD0iYnV0dCIvPjxsaW5lIHgxPSIxMS4xNCIgeTE9IjUxLjE0IiB4Mj0iNTEuMTQiIHkyPSIxMS4xNCIgc3Ryb2tlPSIjZGMyNjI2IiBzdHJva2Utd2lkdGg9IjEiIHN0cm9rZS1saW5lY2FwPSJidXR0Ii8+PGxpbmUgeDE9IjEyLjI5IiB5MT0iNTIuMjkiIHgyPSI1Mi4yOSIgeTI9IjEyLjI5IiBzdHJva2U9IiNkYzI2MjYiIHN0cm9rZS13aWR0aD0iMSIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiLz48bGluZSB4MT0iOS42MiIgeTE9IjQ5LjYyIiB4Mj0iMTIuNjciIHkyPSI1Mi42NyIgc3Ryb2tlPSIjZGMyNjI2IiBzdHJva2Utd2lkdGg9IjEiIHN0cm9rZS1saW5lY2FwPSJidXR0Ii8+PGxpbmUgeDE9IjQ5LjYyIiB5MT0iOS42MiIgeDI9IjUyLjY3IiB5Mj0iMTIuNjciIHN0cm9rZT0iI2RjMjYyNiIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2UtbGluZWNhcD0iYnV0dCIvPjwvZz48L3N2Zz4=);background-size:contain;background-repeat:no-repeat;background-position:center}.face-item{width:48px;height:48px;border-radius:6px;overflow:hidden;cursor:pointer;border:2px solid transparent;position:relative;transition:border-color .15s ease}.face-item.active{border-color:var(--brand-primary, #22C55E)}.face-item img{width:100%;height:100%;object-fit:cover}.ws-products__header{display:flex;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border-default, rgba(248,250,252,.08))}.ws-products__title{font-size:14px;font-weight:600;color:var(--text-primary, #F8FAFC);letter-spacing:.02em}.ws-products__grid{flex:1;overflow-y:auto;padding:12px}.ws-products__sentinel{height:1px;width:100%}.waterfall-container{display:flex;gap:8px;align-items:flex-start}.waterfall-column{flex:1;display:flex;flex-direction:column;gap:8px}.product-item{border-radius:6px;overflow:hidden;cursor:pointer;border:1px solid transparent;transition:border-color .15s ease,transform .15s ease;position:relative;background:var(--surface-s1, #1E293B);width:100%;break-inside:avoid}.product-item:hover{border-color:var(--brand-primary, #22C55E);transform:translateY(-2px)}.product-item.active{border-color:var(--brand-primary, #22C55E);border-width:2px}.product-item img{width:100%;height:auto;display:block;object-fit:cover;background:var(--surface-bg, #0F172A)}.rec-badge{position:absolute;top:8px;left:8px;padding:4px 8px;background:var(--brand-primary, #22C55E);border-radius:4px;font-size:10px;font-weight:600;color:var(--surface-bg, #000);z-index:10;pointer-events:none;letter-spacing:.05em}.material-item{border-radius:6px;overflow:hidden;cursor:pointer;border:1px solid transparent;transition:border-color .15s ease,transform .15s ease;position:relative;background:var(--surface-s1, #1E293B);width:100%;break-inside:avoid}.material-item:hover{border-color:var(--brand-primary, #22C55E);transform:translateY(-2px)}.material-item img{width:100%;height:auto;display:block;object-fit:cover;background:var(--surface-bg, #0F172A)}.fav-toggle-btn{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:32px;height:32px;border:none;border-radius:50%;background:#ffffffe6;backdrop-filter:blur(4px);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-muted, #94A3B8);transition:all .2s ease;z-index:10;box-shadow:0 1px 3px #0003;opacity:0;pointer-events:none}.material-item:hover .fav-toggle-btn{opacity:1;pointer-events:auto}.fav-toggle-btn.active{opacity:1;pointer-events:auto;background:var(--state-danger, #EF4444);color:var(--text-primary)}.fav-toggle-btn:hover{background:#fff;color:var(--state-danger, #EF4444);transform:translateY(-50%) scale(1.1)}.fav-toggle-btn.active:hover{background:var(--state-danger)}.variant-options{display:flex;flex-wrap:wrap;gap:6px}.variant-option{padding:6px 12px;border:1px solid var(--border-default, rgba(248,250,252,.08));border-radius:4px;font-size:13px;cursor:pointer;transition:border-color .15s ease,color .15s ease;background:transparent;color:var(--text-primary, #F8FAFC);display:inline-flex;align-items:center}.variant-option:hover{border-color:var(--brand-primary, #22C55E);color:var(--brand-primary, #22C55E)}.variant-option.active{border-color:var(--brand-primary, #22C55E);border-width:2px;color:var(--brand-primary, #22C55E)}.loading-indicator{text-align:center;padding:20px;color:var(--text-muted, #94A3B8);font-size:13px}.placeholder-text{text-align:center;color:var(--text-muted, #94A3B8);padding:24px;font-size:13px}.skeleton-container{background:var(--surface-s1, #1E293B);border-radius:6px;overflow:hidden;border:1px solid var(--border-default, rgba(248,250,252,.08))}.skeleton-product,.skeleton-material{width:100%;border-radius:6px;overflow:hidden;background:var(--surface-s1, #1E293B);border:1px solid var(--border-default, rgba(248,250,252,.08))}.skeleton-image{width:100%;aspect-ratio:3/4;background:linear-gradient(90deg,var(--surface-bg, #0F172A) 25%,var(--border-default, rgba(248,250,252,.08)) 50%,var(--surface-bg, #0F172A) 75%);background-size:200% 100%;animation:skeleton-loading 1.5s ease-in-out infinite}.skeleton-text{height:16px;margin:8px;background:linear-gradient(90deg,var(--surface-bg, #0F172A) 25%,var(--border-default, rgba(248,250,252,.08)) 50%,var(--surface-bg, #0F172A) 75%);background-size:200% 100%;animation:skeleton-loading 1.5s ease-in-out infinite}@keyframes skeleton-loading{0%{background-position:200% 0}to{background-position:-200% 0}}.opacity-slider-panel{position:fixed;bottom:120px;left:50%;transform:translate(-50%);background:var(--surface-s1, #1E293B);padding:16px;border:1px solid var(--border-default, rgba(248,250,252,.08));border-radius:6px;box-shadow:0 4px 12px #0006;z-index:1000;min-width:200px}.opacity-slider-label{font-size:12px;color:var(--text-muted, #94A3B8);text-transform:uppercase;letter-spacing:.05em}.opacity-slider-input{flex:1;height:4px;background:var(--border-default, rgba(248,250,252,.08));outline:none;-webkit-appearance:none;accent-color:var(--brand-primary, #22C55E)}.opacity-slider-value{font-size:14px;color:var(--text-primary, #F8FAFC);font-weight:600;min-width:40px}.opacity-slider-close{border:none;background:transparent;cursor:pointer;padding:4px;color:var(--text-muted, #94A3B8)}.ws-products__header{align-items:baseline;padding:var(--space-3, 12px) var(--space-4, 16px);border-bottom:1px solid var(--border);gap:var(--space-3, 12px)}.ws-products__title{font-family:var(--font-display);font-size:var(--fs-base, 16px);font-weight:600;letter-spacing:-.01em;color:var(--text-primary, var(--text))}.ws-products__title:before{content:"Catalog";display:block;font-family:var(--font-body);font-size:var(--fs-overline, 11px);font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-primary);margin-bottom:2px}.product-item{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);transition:border-color var(--duration-fast, .15s) var(--ease, ease-out),transform var(--duration-fast, .15s) var(--ease, ease-out)}.product-item:hover{border-color:var(--brand-primary);transform:translateY(-2px)}.product-item.active{border-color:var(--brand-primary);border-width:1px;box-shadow:0 0 0 2px var(--brand-primary-soft)}.product-item.active:after{content:"";position:absolute;top:8px;right:8px;width:24px;height:24px;border-radius:50%;background:var(--brand-primary);background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpolyline points=%2220 6 9 17 4 12%22/%3E%3C/svg%3E");background-size:14px;background-position:center;background-repeat:no-repeat;z-index:2}.product-item:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.skeleton-product{border-radius:var(--radius-md);background:var(--surface-s2, var(--surface));overflow:hidden}@media (prefers-reduced-motion: reduce){.product-item{transition:none}}#sds-container{background:var(--surface)}#designer-container{border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:0 0 0 8px var(--surface-s2, var(--surface)),0 4px 24px #00000214}#previewBox{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:0 4px 12px #0000021a}.design-start-btn{background:var(--brand-primary);color:var(--brand-primary-fg, white);border-radius:var(--radius-md);padding:10px 24px;height:40px;font-family:inherit;font-size:var(--fs-sm, 14px);font-weight:600;letter-spacing:0;transition:background var(--duration-fast, .15s) var(--ease, ease-out)}.design-start-btn:hover{background:var(--brand-primary-hover, var(--brand-primary))}.design-start-btn:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.design-loading-text{font-family:var(--font-body);color:var(--text-muted)}.face-item{border:1px solid var(--border);border-radius:var(--radius-sm);transition:border-color var(--duration-fast, .15s) var(--ease, ease-out),transform var(--duration-fast, .15s) var(--ease, ease-out)}.face-item:hover{border-color:var(--brand-primary);transform:translateY(-1px)}.face-item.active,.face-item[data-selected=true]{border-color:var(--brand-primary);border-width:2px}.face-item:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}@media (prefers-reduced-motion: reduce){.design-start-btn,.face-item{transition:none}}.designer-share-overlay{position:fixed;inset:0;z-index:320;display:flex;align-items:center;justify-content:center;background:var(--bg-overlay, oklch(.05 .018 250 / .75));backdrop-filter:blur(4px);padding:24px}.designer-share-modal{display:flex;flex-direction:column;width:min(560px,100%);max-height:min(80vh,720px);background:var(--surface-s1);border:1px solid var(--border-default);border-radius:16px;box-shadow:0 12px 40px #00000040;overflow:hidden}.dshare-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;border-bottom:1px solid var(--border-subtle)}.dshare-header h3{margin:0;font-family:var(--font-display);font-size:1.0625rem;font-weight:700;color:var(--text-primary)}.dshare-close{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:1;color:var(--text-secondary);background:var(--surface-s2);border:none;border-radius:8px;cursor:pointer}.dshare-tabs{display:flex;gap:6px;padding:12px 20px 0;overflow-x:auto}.dshare-tab{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;font-size:var(--fs-xs, .8125rem);font-weight:500;white-space:nowrap;color:var(--text-secondary);background:var(--surface-s2);border:1px solid var(--border-default);border-radius:8px;cursor:pointer;transition:color .15s ease,border-color .15s ease,background .15s ease}.dshare-tab:hover{color:var(--text-primary)}.dshare-tab.active{color:var(--brand-primary);background:var(--brand-primary-soft);border-color:var(--brand-primary)}.dshare-content{flex:1;min-height:180px;overflow-y:auto;padding:14px 20px}.dshare-loading,.dshare-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:160px;color:var(--text-muted);font-size:var(--fs-sm, .9375rem);text-align:center}.dshare-error small{color:var(--state-danger);font-size:var(--fs-xs, .8125rem)}.dshare-preview{display:flex;flex-direction:column;gap:12px}.dshare-images{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.dshare-img{height:110px;border-radius:8px;border:1px solid var(--border-subtle);flex-shrink:0}.dshare-empty{color:var(--text-muted);font-size:var(--fs-xs, .8125rem)}.dshare-copy{display:flex;flex-direction:column;gap:6px}.dshare-copy label{font-size:var(--fs-xs, .8125rem);font-weight:600;color:var(--text-muted)}.dshare-copy textarea{width:100%;resize:vertical;padding:10px 12px;font-family:var(--font-body);font-size:var(--fs-sm, .9375rem);line-height:1.45;color:var(--text-primary);background:var(--surface-bg);border:1px solid var(--border-default);border-radius:10px}.dshare-tones{display:flex;gap:6px}.dshare-tone{padding:5px 12px;font-size:var(--fs-xs, .8125rem);color:var(--text-secondary);background:var(--surface-s2);border:1px solid var(--border-default);border-radius:999px;cursor:pointer;transition:color .15s ease,border-color .15s ease}.dshare-tone:hover{color:var(--brand-primary);border-color:var(--brand-primary)}.dshare-tags{display:flex;flex-wrap:wrap;gap:6px}.dshare-tag{padding:3px 10px;font-size:var(--fs-xs, .8125rem);color:var(--brand-primary);background:var(--brand-primary-soft);border-radius:999px}.dshare-link{display:flex;gap:8px}.dshare-link input{flex:1;min-width:0;padding:8px 12px;font-size:var(--fs-xs, .8125rem);color:var(--text-secondary);background:var(--surface-bg);border:1px solid var(--border-default);border-radius:8px}.dshare-link button{padding:8px 14px;font-size:var(--fs-xs, .8125rem);font-weight:600;color:var(--text-secondary);background:var(--surface-s2);border:1px solid var(--border-default);border-radius:8px;cursor:pointer}.dshare-actions{display:flex;gap:8px}.dshare-btn-primary,.dshare-btn-secondary{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 14px;font-size:var(--fs-sm, .9375rem);font-weight:600;border-radius:10px;cursor:pointer;transition:background .15s ease}.dshare-btn-primary{color:var(--brand-primary-fg);background:var(--brand-primary);border:none}.dshare-btn-primary:hover{background:var(--brand-primary-hover)}.dshare-btn-secondary{color:var(--text-secondary);background:var(--surface-s2);border:1px solid var(--border-default)}.dshare-buynow{border-top:1px solid var(--border-subtle);padding:14px 20px;background:var(--surface-s2)}.dshare-buynow-loading{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--text-muted);font-size:var(--fs-sm, .9375rem)}.dshare-buynow-loading .spinner{width:18px;height:18px}.dshare-buynow-ready{display:flex;justify-content:center}.dshare-btn-buynow{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;font-size:var(--fs-sm, .9375rem);font-weight:700;text-decoration:none;color:var(--brand-primary-fg);background:var(--brand-primary);border-radius:10px;transition:background .15s ease}.dshare-btn-buynow:hover{background:var(--brand-primary-hover)}.dshare-buynow-error{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--state-danger);font-size:var(--fs-sm, .9375rem)}.dshare-btn-retry{padding:7px 16px;font-size:var(--fs-xs, .8125rem);font-weight:600;color:var(--text-secondary);background:var(--surface-s1);border:1px solid var(--border-default);border-radius:8px;cursor:pointer}:root{--ws-mobile-toolbar-height: 48px;--ws-mobile-touch-target: 44px;--ws-mobile-fab-size: 44px;--ws-mobile-sheet-radius: 16px}@media (max-width: 767px){html,body{height:100dvh;width:100%;overflow:hidden;overscroll-behavior:none}.app{grid-template-columns:1fr!important;grid-template-rows:1fr auto!important}.rail,.right-panel{display:none!important}.modal-shell{position:static!important;width:100%!important;height:100dvh!important;border-radius:0!important;box-shadow:none!important;max-width:none!important;max-height:none!important}.modal-close{display:none!important}.stage{width:100%;height:100%;overflow:hidden}.stage-header{height:36px;min-height:36px;padding:0 12px}.stage-title{font-size:14px}.stage-body{flex:1;overflow:hidden;min-height:0}.ws-mobile-nav{display:flex;align-items:center;justify-content:space-around;height:56px;background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom,0);position:relative}.ws-mobile-nav:before{content:"";position:absolute;top:-1px;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,var(--brand-pillar-everywhere, oklch(.75 .14 234)) 30%,var(--brand-pillar-everywhere, oklch(.75 .14 234)) 70%,transparent);opacity:0;transition:opacity var(--duration-base, .24s) var(--ease, ease-out)}.ws-mobile-nav:has(.ws-mobile-nav-btn.active):before{opacity:.5}.ws-mobile-nav-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:4px 8px;background:transparent;border:none;color:var(--text-muted);font-family:inherit;font-size:10px;font-weight:500;cursor:pointer;border-radius:var(--radius-sm, 6px);-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:color var(--duration-fast, .15s) var(--ease, ease-out),background var(--duration-fast, .15s) var(--ease, ease-out)}.ws-mobile-nav-btn:active{background:var(--surface-s2, var(--surface))}.ws-mobile-nav-btn:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.ws-mobile-nav-btn.active{color:var(--brand-primary);font-weight:600}.ws-mobile-nav-btn.active i{color:var(--brand-primary)}.ws-mobile-nav-btn i{font-size:22px;margin-bottom:2px;transition:transform var(--duration-fast, .15s) var(--ease, ease-out)}.ws-mobile-nav-btn.active i{transform:scale(1.05)}@media (prefers-reduced-motion: reduce){.ws-mobile-nav-btn,.ws-mobile-nav-btn i,.ws-mobile-nav:before{transition:none}.ws-mobile-nav-btn.active i{transform:none}}#sds-container{width:100%;height:100%}#designer-container{width:calc(100vw - 8px);height:calc(100vw - 8px);max-width:calc(100dvh - 36px - var(--ws-mobile-toolbar-height) - 16px);max-height:calc(100dvh - 36px - var(--ws-mobile-toolbar-height) - 16px);aspect-ratio:1;touch-action:none;margin:auto}.ws-mobile-fab-group{position:absolute;top:8px;right:8px;z-index:100;display:flex;flex-direction:column;gap:8px}.ws-mobile-fab-btn{width:var(--ws-mobile-fab-size);height:var(--ws-mobile-fab-size);min-width:var(--ws-mobile-fab-size);min-height:var(--ws-mobile-fab-size);border-radius:12px;border:1px solid var(--border-default, rgba(255, 255, 255, .15));background:var(--surface-s3, rgba(30, 30, 46, .9));color:var(--text-primary, #e4e4e7);display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background .15s ease,transform .15s ease;box-shadow:0 2px 8px #0000004d}.ws-mobile-fab-btn svg{width:20px;height:20px}.ws-mobile-fab-btn:active{transform:scale(.9)}.ws-mobile-fab-btn.active{background:var(--brand-primary, #22c55e);color:#fff;border-color:var(--brand-primary, #22c55e)}.ws-mobile-sheet-overlay{position:fixed;inset:0;z-index:1000;display:none;background:#0006;opacity:0;transition:opacity .25s ease}.ws-mobile-sheet-overlay.active{display:block;opacity:1}.ws-mobile-sheet{position:fixed;left:0;right:0;bottom:0;z-index:1001;background:var(--surface-s1, #1e1e2e);border-radius:var(--ws-mobile-sheet-radius) var(--ws-mobile-sheet-radius) 0 0;box-shadow:0 -4px 20px #00000040;will-change:transform;transform:translateY(100%);transition:transform .3s cubic-bezier(.32,.72,0,1);display:flex;flex-direction:column;max-height:90dvh;overflow:hidden}.ws-mobile-sheet.open{transform:translateY(0)}.ws-mobile-sheet.peek{transform:translateY(70%)}.ws-mobile-sheet.half{transform:translateY(50%)}.ws-mobile-sheet-handle{display:flex;align-items:center;justify-content:center;padding:10px 0 6px;flex-shrink:0;cursor:grab;touch-action:none}.ws-mobile-sheet-handle:before{content:"";width:36px;height:4px;background:var(--border-default, rgba(255,255,255,.15));border-radius:2px}.ws-mobile-sheet-header{display:flex;align-items:center;justify-content:space-between;padding:0 16px 12px;flex-shrink:0}.ws-mobile-sheet-title{font-size:16px;font-weight:600;color:var(--text-primary, #e4e4e7)}.ws-mobile-sheet-close{width:var(--ws-mobile-touch-target);height:var(--ws-mobile-touch-target);display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:var(--text-muted, #94A3B8);cursor:pointer;border-radius:50%;-webkit-tap-highlight-color:transparent}.ws-mobile-sheet-close:active{background:var(--surface-s3, rgba(255,255,255,.05))}.ws-mobile-sheet-close svg{width:18px;height:18px}.ws-mobile-sheet-body{flex:1;overflow-y:auto;overflow-x:hidden;padding:0 12px 16px;-webkit-overflow-scrolling:touch;min-height:0}.ws-mobile-sheet-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.ws-mobile-material-item,.ws-mobile-product-item{border-radius:8px;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent}.ws-mobile-material-item img,.ws-mobile-product-item img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.ws-mobile-material-item:active,.ws-mobile-product-item:active{transform:scale(.96)}.ws-mobile-product-item.active{outline:2px solid var(--brand-primary, #22c55e);outline-offset:-2px}.ws-mobile-sheet-preview .preview-image{width:100%;aspect-ratio:1;border-radius:8px;overflow:hidden;background:var(--surface-s3, #2a2a3a);margin-bottom:12px}.ws-mobile-sheet-preview .preview-image img,.ws-mobile-sheet-preview .preview-image canvas{width:100%;height:100%;object-fit:contain}.ws-mobile-sheet-preview .preview-product-name{font-size:16px;font-weight:600;color:var(--text-primary, #e4e4e7);margin-bottom:4px}.ws-mobile-sheet-preview .preview-product-price{font-size:18px;font-weight:700;color:var(--brand-primary, #22c55e);margin-bottom:12px}.ws-mobile-skeleton{background:linear-gradient(90deg,var(--surface-s3, #2a2a3a) 25%,var(--surface-s1, #1e1e2e) 50%,var(--surface-s3, #2a2a3a) 75%);background-size:200% 100%;animation:wsMobileShimmer 1.5s infinite;border-radius:8px}.ws-mobile-skeleton-card{aspect-ratio:1}@keyframes wsMobileShimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.ws-mobile-toolbar{position:absolute;bottom:0;left:0;right:0;background:var(--surface-s1, #1e1e2e);border-top:1px solid var(--border-default, rgba(255,255,255,.08));z-index:50;flex-shrink:0}.ws-mobile-toolbar-primary{display:flex;align-items:center;justify-content:space-around;height:var(--ws-mobile-toolbar-height);padding:0 4px;gap:2px}.ws-mobile-tool-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--ws-mobile-touch-target);height:var(--ws-mobile-touch-target);min-width:var(--ws-mobile-touch-target);min-height:var(--ws-mobile-touch-target);background:transparent;border:none;border-radius:8px;color:var(--text-primary, #e4e4e7);cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background .15s ease;flex-shrink:0;padding:0}.ws-mobile-tool-btn svg{width:20px;height:20px}.ws-mobile-tool-label{font-size:9px;margin-top:1px;color:var(--text-muted, #94A3B8);line-height:1}.ws-mobile-tool-btn:active{background:var(--surface-s3, rgba(255,255,255,.05));transform:scale(.92)}.ws-mobile-buy-btn{background:var(--brand-primary, #22c55e)!important;color:#fff!important;border-radius:10px;width:auto;padding:0 12px;font-size:12px;font-weight:600}.ws-mobile-toolbar-secondary{display:flex;align-items:center;justify-content:center;height:0;overflow:hidden;gap:4px;padding:0 8px;transition:height .2s ease}.ws-mobile-toolbar-secondary.expanded{height:var(--ws-mobile-touch-target);padding:4px 8px}.ws-mobile-toolbar-secondary .ws-mobile-tool-btn{width:36px;height:36px;min-width:36px;background:var(--surface-s3, rgba(255,255,255,.05));border-radius:8px}.ws-mobile-toolbar-secondary .ws-mobile-tool-btn svg{width:16px;height:16px}.designer-share-overlay .designer-share-modal{position:fixed;bottom:0;left:0;right:0;max-width:100%;max-height:85vh;border-radius:16px 16px 0 0;animation:wsSlideUp .25s ease}@keyframes wsSlideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.dshare-buynow{position:sticky;bottom:0;background:var(--surface-s1, #1e1e2e);z-index:1}input,textarea,select{font-size:16px!important}*{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}input,textarea,[contenteditable]{-webkit-user-select:text;user-select:text}button,.ws-mobile-tool-btn,.ws-mobile-fab-btn,.ws-mobile-material-item,.ws-mobile-product-item{-webkit-user-select:none;user-select:none}@supports (padding: env(safe-area-inset-bottom)){.ws-mobile-toolbar,.ws-mobile-sheet,.ws-mobile-toolbar-primary{padding-bottom:env(safe-area-inset-bottom)}}@media (orientation: landscape){.stage-header{height:28px;min-height:28px}#designer-container{width:min(60dvh,90vw);height:min(60dvh,90vw);max-width:none;max-height:calc(100dvh - 28px - var(--ws-mobile-toolbar-height) - 16px)}.ws-mobile-sheet{max-height:85dvh}.ws-mobile-fab-group{top:4px;right:4px;gap:4px}.ws-mobile-fab-btn{width:36px;height:36px;min-width:36px;min-height:36px}}}@media (min-width: 768px) and (max-width: 1023px){.right-panel{display:none!important}.app{grid-template-columns:56px 1fr!important}.ws-tablet-slide-over-backdrop{position:fixed;inset:0;z-index:999;background:#0000004d;opacity:0;pointer-events:none;transition:opacity .25s ease}.ws-tablet-slide-over-backdrop.active{opacity:1;pointer-events:auto}.ws-tablet-slide-over{position:fixed;top:0;right:0;bottom:0;width:320px;max-width:80vw;z-index:1000;background:var(--surface-s1, #1e1e2e);border-left:1px solid var(--border-default, rgba(255,255,255,.08));transform:translate(100%);transition:transform .3s cubic-bezier(.32,.72,0,1);display:flex;flex-direction:column}.ws-tablet-slide-over.active{transform:translate(0)}.ws-tablet-slide-over-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--border-default, rgba(255,255,255,.08))}.ws-tablet-slide-over-body{flex:1;overflow-y:auto;padding:12px}.ws-tablet-fab-group{position:absolute;top:12px;right:12px;z-index:100;display:flex;flex-direction:column;gap:8px}.ws-tablet-fab{width:44px;height:44px;border-radius:12px;border:1px solid var(--border-default, rgba(255,255,255,.15));background:var(--surface-s3, rgba(30, 30, 46, .9));color:var(--text-primary, #e4e4e7);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px #0003;transition:background .15s ease}.ws-tablet-fab:hover{background:var(--surface-s3-hover, rgba(255,255,255,.08))}.ws-tablet-fab svg{width:18px;height:18px}}@media (min-width: 769px){.ws-mobile-fab-group,.ws-mobile-sheet-overlay,.ws-mobile-sheet,.ws-mobile-toolbar,.ws-mobile-nav{display:none!important}}@media (min-width: 1024px){.ws-tablet-slide-over-backdrop,.ws-tablet-slide-over,.ws-tablet-fab-group{display:none!important}}@media (prefers-reduced-motion: reduce){.ws-mobile-sheet,.ws-mobile-sheet-overlay,.ws-mobile-fab-btn,.ws-mobile-tool-btn,.ws-tablet-slide-over{transition:none!important;animation:none!important}}.auth-overlay{position:fixed;inset:0;z-index:var(--z-modal, 9000);display:none;align-items:center;justify-content:center;padding:var(--space-6);background:var(--bg-overlay, oklch(.05 .018 250 / .62));backdrop-filter:blur(4px);animation:auth-fade-in var(--duration-base) var(--ease)}.auth-overlay[data-open=true]{display:flex}@keyframes auth-fade-in{0%{opacity:0}to{opacity:1}}.auth-card{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:0 20px 50px -12px #0000024d,0 4px 12px #0000021a;width:100%;max-width:380px;padding:var(--space-6);display:flex;flex-direction:column;gap:var(--space-4);animation:auth-card-in var(--duration-base) var(--ease)}@keyframes auth-card-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion: reduce){.auth-overlay,.auth-card{animation:none}}.auth-close{position:absolute;top:var(--space-3);right:var(--space-3);width:32px;height:32px;border-radius:50%;background:transparent;border:none;color:var(--text-muted);cursor:pointer;display:grid;place-items:center;font-size:18px;transition:background var(--duration-fast) var(--ease),color var(--duration-fast) var(--ease)}.auth-close:hover{background:var(--surface-s2, var(--surface));color:var(--text)}.auth-close:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.auth-brand{display:inline-flex;align-items:center;gap:10px;align-self:center;margin-bottom:var(--space-2);text-decoration:none;line-height:1}.auth-brand svg{height:22px;width:auto;display:block}.auth-brand-wordmark{font-family:var(--font-display);font-weight:700;font-size:22px;line-height:1;letter-spacing:-.045em;color:var(--brand-primary)}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;background:var(--surface-s2, var(--surface));border:1px solid var(--border);border-radius:var(--radius-pill, 999px);padding:4px}.auth-tab{height:32px;border:none;background:transparent;color:var(--text-muted);font-family:var(--font-body);font-size:var(--fs-sm);font-weight:500;cursor:pointer;border-radius:var(--radius-pill, 999px);transition:background var(--duration-fast) var(--ease),color var(--duration-fast) var(--ease)}.auth-tab[data-active=true]{background:var(--surface);color:var(--text-primary, var(--text));box-shadow:0 1px 3px #0000020f}.auth-tab:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.auth-head{display:flex;flex-direction:column;gap:var(--space-2);text-align:center}.auth-title{font-family:var(--font-display);font-size:1.25rem;font-weight:600;letter-spacing:-.01em;color:var(--text-primary, var(--text))}.auth-sub{font-size:var(--fs-caption);color:var(--text-muted)}.auth-body{display:flex;flex-direction:column;gap:var(--space-3)}.auth-oauth{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-3);width:100%;height:44px;background:var(--surface);border:1px solid var(--border-strong, var(--border));border-radius:var(--radius-md);color:var(--text-primary, var(--text));font-family:inherit;font-size:var(--fs-sm);font-weight:500;cursor:pointer;transition:border-color var(--duration-fast) var(--ease),background var(--duration-fast) var(--ease)}.auth-oauth:hover{border-color:var(--brand-primary);background:var(--brand-primary-soft)}.auth-oauth:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.auth-g-mark{width:18px;height:18px;border-radius:50%;background:conic-gradient(from 0deg,#ea4335,#fbbc05,#34a853,#4285f4,#ea4335);flex-shrink:0}.auth-divider{display:flex;align-items:center;gap:var(--space-3);font-size:var(--fs-overline, 11px);color:var(--text-subtle, var(--text-muted));text-transform:uppercase;letter-spacing:.12em;font-weight:600}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border)}.auth-field{display:flex;flex-direction:column;gap:6px}.auth-field label{font-size:var(--fs-sm);font-weight:500;color:var(--text-primary, var(--text))}.auth-field input{height:40px;padding:0 var(--space-3);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text);font-family:inherit;font-size:var(--fs-sm);transition:border-color var(--duration-fast) var(--ease)}.auth-field input:hover{border-color:var(--border-strong, var(--border))}.auth-field input:focus{outline:none;border-color:var(--brand-primary);box-shadow:var(--focus-ring-shadow)}.auth-field input::placeholder{color:var(--text-muted)}.auth-field-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.auth-field-row label{margin:0}.auth-link-right{font-size:var(--fs-caption);color:var(--brand-primary);text-decoration:none;font-weight:500;background:none;border:none;padding:0;cursor:pointer;font-family:inherit}.auth-link-right:hover{text-decoration:underline}.auth-submit{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);width:100%;height:44px;background:var(--brand-primary);color:var(--brand-primary-fg);border:none;border-radius:var(--radius-md);font-family:inherit;font-size:var(--fs-sm);font-weight:600;cursor:pointer;transition:background var(--duration-fast) var(--ease)}.auth-submit:hover:not(:disabled){background:var(--brand-primary-hover)}.auth-submit:active:not(:disabled){background:var(--brand-primary-active)}.auth-submit:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.auth-submit:disabled{opacity:.6;cursor:not-allowed}.auth-foot{font-size:var(--fs-caption);color:var(--text-muted);text-align:center}.auth-foot button{color:var(--brand-primary);font-weight:600;background:none;border:none;padding:0;cursor:pointer;font-family:inherit;font-size:inherit}.auth-foot button:hover{text-decoration:underline}.auth-state-sent{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);text-align:center;padding:var(--space-4) 0}.auth-state-icon{width:56px;height:56px;border-radius:50%;background:var(--brand-primary-soft);color:var(--brand-primary);display:grid;place-items:center;font-size:26px}.auth-mock-note{font-family:var(--font-mono, monospace);font-size:var(--fs-overline, 11px);color:var(--text-subtle, var(--text-muted));text-align:center;padding-top:var(--space-2);border-top:1px solid var(--border);letter-spacing:.06em}@media (max-width: 480px){.auth-overlay{align-items:flex-end;padding:0}.auth-card{max-width:none;border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:var(--space-5) var(--space-5) calc(var(--space-5) + env(safe-area-inset-bottom,0));animation:auth-sheet-up var(--duration-base) cubic-bezier(.16,1,.3,1)}@keyframes auth-sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (prefers-reduced-motion: reduce){.auth-card{animation:none}}}.me-container{padding:var(--space-6, 24px) var(--space-6, 24px) var(--space-12, 48px)}.me-hero-guest{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-3, 12px);padding:var(--space-8, 32px) var(--space-6, 24px);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);position:relative;overflow:hidden}.me-hero-guest:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--brand-secondary-orange, oklch(.65 .21 35)),var(--brand-secondary-coral, oklch(.76 .15 25)),var(--brand-secondary-violet, oklch(.62 .24 295)),var(--brand-secondary-sky, oklch(.78 .13 230)),var(--brand-primary));opacity:.7}.me-hero-guest .me-brand{display:inline-flex;align-items:center;gap:10px;margin-bottom:var(--space-2, 8px)}.me-hero-guest .me-brand svg{height:28px;width:auto;display:block}.me-hero-guest .me-brand-wordmark{font-family:var(--font-display);font-weight:700;font-size:26px;letter-spacing:-.045em;color:var(--brand-primary);line-height:1}.me-hero-guest .me-headline{font-family:var(--font-display);font-size:1.25rem;font-weight:600;letter-spacing:-.015em;color:var(--text-primary, var(--text))}.me-hero-guest .me-headline-sub{font-size:var(--fs-sm, 14px);color:var(--text-muted);max-width:360px;line-height:1.5}.me-hero-guest .me-cta-row{display:flex;gap:var(--space-3, 12px);margin-top:var(--space-3, 12px);flex-wrap:wrap;justify-content:center}.me-hero-cta{height:44px;padding:0 var(--space-5, 20px);border-radius:var(--radius-md);font-family:inherit;font-size:var(--fs-sm, 14px);font-weight:600;cursor:pointer;transition:background var(--duration-fast, .15s) var(--ease, ease-out),border-color var(--duration-fast, .15s) var(--ease, ease-out);display:inline-flex;align-items:center;gap:var(--space-2, 8px);border:1px solid transparent}.me-hero-cta--primary{background:var(--brand-primary);color:var(--brand-primary-fg, white)}.me-hero-cta--primary:hover{background:var(--brand-primary-hover, var(--brand-primary))}.me-hero-cta--ghost{background:var(--surface);color:var(--text);border-color:var(--border-strong, var(--border))}.me-hero-cta--ghost:hover{background:var(--surface-s2, var(--surface));border-color:var(--brand-primary)}.me-hero-cta:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.me-profile-v2{display:flex;align-items:center;gap:var(--space-4, 16px);padding:var(--space-5, 20px);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg)}.me-profile-v2 .me-profile-avatar{width:64px;height:64px;border-radius:50%;background:var(--brand-primary-soft);display:grid;place-items:center;color:var(--brand-primary);font-size:32px;flex-shrink:0;overflow:hidden}.me-profile-v2 .me-profile-avatar img{width:100%;height:100%;object-fit:cover}.me-profile-v2 .me-profile-info{flex:1;display:flex;flex-direction:column;gap:4px}.me-profile-v2 .me-profile-name{font-family:var(--font-display);font-size:1.125rem;font-weight:600;letter-spacing:-.01em;color:var(--text-primary, var(--text))}.me-profile-v2 .me-profile-email{font-size:var(--fs-caption, 12px);color:var(--text-muted)}.me-profile-v2 .me-profile-credits{display:inline-flex;align-items:center;gap:6px;margin-top:6px;padding:2px 10px;background:var(--brand-primary-soft);color:var(--brand-primary);font-size:var(--fs-caption, 12px);font-weight:600;border-radius:var(--radius-pill, 999px);align-self:flex-start}.me-creditpack{display:flex;flex-direction:column;gap:var(--space-4, 16px)}.me-creditpack-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:var(--space-3, 12px)}.me-creditpack-eyebrow{font-size:var(--fs-overline, 11px);font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-primary)}.me-creditpack-title{font-family:var(--font-display);font-size:1.5rem;font-weight:600;letter-spacing:-.02em;color:var(--text-primary, var(--text));margin-top:2px}.me-creditpack-sub{font-size:var(--fs-sm, 14px);color:var(--text-muted);max-width:420px}.me-creditpack-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-4, 16px)}.me-creditpack-card{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-5, 20px);display:flex;flex-direction:column;gap:var(--space-3, 12px);transition:border-color var(--duration-fast, .15s) var(--ease, ease-out),transform var(--duration-fast, .15s) var(--ease, ease-out)}.me-creditpack-card:hover{border-color:var(--brand-primary);transform:translateY(-2px)}.me-creditpack-card[data-featured=true]{border-color:var(--brand-primary);background:linear-gradient(180deg,var(--brand-primary-soft) 0,var(--surface) 60%)}.me-creditpack-tier{font-size:var(--fs-overline, 11px);font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-primary)}.me-creditpack-name{font-family:var(--font-display);font-size:1.125rem;font-weight:600;letter-spacing:-.015em;color:var(--text-primary, var(--text))}.me-creditpack-price{display:flex;align-items:baseline;gap:var(--space-2, 8px)}.me-creditpack-amount{font-family:var(--font-display);font-size:1.75rem;font-weight:700;letter-spacing:-.025em;color:var(--text-primary, var(--text));line-height:1}.me-creditpack-unit{font-size:var(--fs-sm, 14px);color:var(--text-muted)}.me-creditpack-features{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.me-creditpack-features li{display:flex;align-items:center;gap:var(--space-2, 8px);font-size:var(--fs-sm, 14px);color:var(--text)}.me-creditpack-features li i{color:var(--brand-primary);font-size:16px;flex-shrink:0}.me-creditpack-cta{margin-top:auto;height:40px;border-radius:var(--radius-md);font-family:inherit;font-size:var(--fs-sm, 14px);font-weight:600;cursor:pointer;border:1px solid transparent;transition:background var(--duration-fast, .15s) var(--ease, ease-out),border-color var(--duration-fast, .15s) var(--ease, ease-out)}.me-creditpack-card[data-featured=true] .me-creditpack-cta{background:var(--brand-primary);color:var(--brand-primary-fg, white)}.me-creditpack-card[data-featured=true] .me-creditpack-cta:hover{background:var(--brand-primary-hover, var(--brand-primary))}.me-creditpack-card:not([data-featured=true]) .me-creditpack-cta{background:var(--surface);color:var(--text);border-color:var(--border-strong, var(--border))}.me-creditpack-card:not([data-featured=true]) .me-creditpack-cta:hover{border-color:var(--brand-primary);background:var(--surface-s2, var(--surface))}.me-creditpack-cta:focus-visible{outline:none;box-shadow:var(--focus-ring-shadow)}.me-creditpack-tbd{position:absolute;top:var(--space-3, 12px);right:var(--space-3, 12px);font-family:var(--font-mono, monospace);font-size:var(--fs-overline, 11px);color:var(--text-muted);background:var(--surface-s2, var(--surface));padding:2px 6px;border-radius:var(--radius-sm)}
