.customer-page{min-height:100vh;background:#f2f5f5;color:var(--ink)}.customer-header{height:72px;border-bottom:1px solid var(--line);background:#fff}.customer-header-inner{display:grid;width:min(1440px,calc(100% - 40px));height:100%;margin:0 auto;grid-template-columns:1fr auto 1fr;align-items:center}.customer-back,.customer-header-state{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--ink-soft);font-size:13px;font-weight:600}.customer-back{justify-self:start;border:1px solid transparent;border-radius:6px;padding:8px 10px}.customer-back:hover{border-color:var(--line);background:#f6f9f9;color:var(--brand-strong)}.customer-header-state{justify-self:end;border-radius:999px;background:#edf7f2;padding:7px 10px;color:var(--success)}.customer-brand{display:flex;align-items:center;gap:10px;color:var(--brand-deep);font-size:17px;font-weight:700}.customer-brand-mark{height:34px;width:34px;flex:0 0 34px;-o-object-fit:contain;object-fit:contain;border-radius:6px;background:#fff}.customer-breadcrumb{display:flex;align-items:center;gap:6px;padding:17px 0 13px;color:var(--muted);font-size:12px}.customer-breadcrumb,.customer-main{width:min(1320px,calc(100% - 48px));margin:0 auto}.customer-main{display:grid;padding-bottom:52px;grid-template-columns:minmax(0,1.32fr) minmax(390px,.78fr);gap:24px;align-items:start}.customer-config-column,.customer-preview-column{min-width:0}.customer-preview-column{position:sticky;top:16px}.customer-view-switcher{display:flex;width:-moz-max-content;width:max-content;max-width:100%;margin:0 auto 12px;flex-wrap:wrap;justify-content:center;padding:4px;border:1px solid #d5e0e3;border-radius:8px;background:#e9eff0}.customer-view-switcher button{min-width:90px;border:0;border-radius:6px;background:transparent;padding:8px 16px;color:var(--ink-soft);font-size:13px;font-weight:650}.customer-view-switcher button.active{background:var(--brand-deep);color:#fff;box-shadow:0 4px 12px rgba(23,63,94,.16)}.customer-stage-shell{position:relative;min-height:650px;overflow:hidden;border:1px solid #d9e3e5;border-radius:8px;background-color:#fbfcfc;background-image:linear-gradient(rgba(119,137,154,.06) 1px,transparent 0),linear-gradient(90deg,rgba(119,137,154,.06) 1px,transparent 0);background-size:28px 28px}.customer-stage{position:relative;width:min(660px,93%);aspect-ratio:820/900;margin:12px auto 0;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.customer-shirt{position:absolute;inset:0;height:100%;width:100%;-o-object-fit:contain;object-fit:contain;mix-blend-mode:multiply;pointer-events:none}.customer-shirt-placeholder{inset:0;flex-direction:column;gap:10px;border:1px dashed #d6e1e4;border-radius:8px;background:#f4f7f8;color:#93a3b4;font-size:12px;font-weight:650;pointer-events:none}.customer-design-element,.customer-shirt-placeholder{position:absolute;display:flex;align-items:center;justify-content:center}.customer-design-element{z-index:5;cursor:move;touch-action:none}.customer-design-element.is-selected{outline:1px dashed #129669}.customer-design-element>span{overflow:hidden;width:100%;font-weight:800;letter-spacing:.07em;text-align:center;text-overflow:ellipsis;white-space:nowrap}.customer-design-element>img{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}.customer-handle{position:absolute;height:9px;width:9px;border:2px solid #129669;border-radius:2px;background:#fff}.handle-nw{top:-5px;left:-5px}.handle-ne{top:-5px;right:-5px}.handle-sw{bottom:-5px;left:-5px}.handle-se{right:-5px;bottom:-5px}.customer-mountain{position:relative;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:flex-end;overflow:hidden;padding-bottom:2%}.customer-mountain .peak{position:absolute;border-top:4px solid;border-left:4px solid;transform:rotate(45deg) skew(-7deg,-7deg)}.customer-mountain .peak-a{top:18%;left:14%;height:50%;width:38%}.customer-mountain .peak-b{top:12%;left:35%;height:57%;width:43%}.customer-mountain .peak-c{top:29%;left:58%;height:35%;width:27%;opacity:.74}.customer-mountain b{position:relative;font-family:Impact,Arial Narrow,sans-serif;font-size:clamp(9px,1vw,15px);letter-spacing:.12em}.customer-mountain small{position:relative;margin-top:-2px;font-size:clamp(5px,.55vw,8px);font-weight:800;letter-spacing:.26em}.customer-object-toolbar{display:flex;min-height:58px;margin-top:12px;align-items:center;justify-content:center;gap:3px;border:1px solid #d9e3e5;border-radius:8px;background:#fff}.customer-object-toolbar button,.customer-selected-name{display:inline-flex;min-width:62px;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;padding:10px 9px;color:#54677e;font-size:11px;font-weight:650}.customer-selected-name{min-width:140px;color:#1e3858}.customer-object-toolbar button:hover{color:var(--brand-strong);background:#f1f6f7}.customer-object-toolbar button.danger:hover{color:#dc3c48;background:#fff5f5}.customer-tool-divider{height:28px;width:1px;margin:0 7px;background:#e3e9ef}.customer-stage-hint{display:flex;min-height:58px;margin-top:12px;align-items:center;justify-content:center;gap:7px;color:#8291a3;font-size:12px}.customer-view-thumbnails{display:flex;margin-top:13px;flex-wrap:wrap;justify-content:center;gap:10px}.customer-view-thumbnails button{position:relative;display:grid;min-width:84px;grid-template-columns:32px auto;align-items:center;gap:4px;border:1px solid #dce4ec;border-radius:7px;background:#fff;padding:5px 8px;color:#65788e;font-size:11px;font-weight:650}.customer-view-thumbnails button.active{border-color:#1470ea;box-shadow:inset 0 0 0 1px #1470ea;color:#1265d2}.customer-view-thumbnails img{height:36px;width:32px;-o-object-fit:contain;object-fit:contain}.customer-view-thumbnails button>span{white-space:nowrap}.customer-view-thumbnails button>svg{position:absolute;top:5px;right:5px;border-radius:50%;background:#15a36b;color:#fff}.customer-view-thumb-placeholder{display:flex;height:36px;width:32px;align-items:center;justify-content:center;border-radius:4px;background:#f2f5f7;color:#9aabba}.customer-config-column{border:1px solid #d9e3e5;border-radius:8px;background:#fff;box-shadow:0 16px 38px rgba(23,63,94,.07)}.customer-product-heading{border-bottom:1px solid #edf1f2;background:#fbfcfc;padding:27px 28px 22px}.customer-product-kicker{margin:0 0 7px;color:var(--brand);font-size:11px;font-weight:750;letter-spacing:.04em}.customer-product-heading h1{margin:0;color:#10233b;font-size:25px;line-height:1.32;font-weight:720;letter-spacing:0}.customer-product-meta{display:flex;margin-top:11px;flex-wrap:wrap;align-items:center;gap:7px;color:#77889b;font-size:11px}.customer-product-meta i{height:3px;width:3px;border-radius:50%;background:#a5b3c1}.customer-current-price{display:flex;margin-top:20px;align-items:baseline;gap:9px}.customer-current-price strong{color:#b94e72;font-size:27px;letter-spacing:0}.customer-current-price span{color:#8997a7;font-size:11px}.customer-config-section{border-top:1px solid #edf1f2;padding:20px 28px}.customer-section-title{display:flex;margin-bottom:13px;align-items:center;justify-content:space-between}.customer-section-title h2{margin:0;color:#213851;font-size:14px;font-weight:700}.customer-section-title>span{color:#8191a4;font-size:11px}.customer-color-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.customer-color-options button{position:relative;display:flex;height:43px;align-items:center;justify-content:center;gap:7px;border:1px solid #dce4ec;border-radius:6px;background:#fff;color:#52677e;font-size:11px;font-weight:650}.customer-color-options button i{height:18px;width:18px;border:1px solid #aab7c5;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.customer-color-options button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong);box-shadow:inset 0 0 0 1px var(--brand)}.customer-color-options button svg{position:absolute;top:4px;right:4px}.customer-size-guide{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#176ad7;font-size:11px;font-weight:650}.customer-size-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.customer-size-options button{height:40px;border:1px solid #d9e2eb;border-radius:6px;background:#fff;color:#50657d;font-size:12px;font-weight:700}.customer-size-options button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong);box-shadow:inset 0 0 0 1px var(--brand)}.customer-custom-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.customer-custom-actions>button{display:grid;min-height:69px;grid-template-columns:36px 1fr 17px;align-items:center;gap:9px;border:1px solid #dce4ec;border-radius:7px;background:#fff;padding:10px;color:#4e637b;text-align:left}.customer-custom-actions>button:hover{border-color:#aec6ce;background:#f8fbfb;color:var(--brand-strong)}.customer-custom-actions>button:first-child .customer-action-icon{background:var(--brand-soft);color:var(--brand)}.customer-custom-actions>button:last-child .customer-action-icon{background:var(--brand-pinkSoft);color:var(--brand-pink)}.customer-action-icon{display:flex;height:34px;width:34px;align-items:center;justify-content:center;border-radius:6px}.customer-custom-actions strong{display:block;color:#243b55;font-size:12px}.customer-custom-actions small{display:block;margin-top:3px;color:#8a98a8;font-size:9px}.customer-text-editor input[type=text],.customer-text-editor>input:not([type]){width:100%;height:42px;border:1px solid #d6e0e9;border-radius:6px;outline:0;padding:0 12px;color:#203750;font-size:13px}.customer-text-editor>input:focus{border-color:#83b0c1;box-shadow:0 0 0 3px rgba(45,115,168,.1)}.customer-text-row{display:grid;margin-top:13px;grid-template-columns:1fr auto;align-items:center;gap:18px}.customer-text-row label{display:flex;align-items:center;gap:9px;color:#66798f;font-size:11px;font-weight:650}.customer-text-row input[type=range]{min-width:150px;accent-color:var(--brand)}.customer-text-row input[type=color]{height:28px;width:36px;border:1px solid #d6e0e9;border-radius:5px;background:#fff;padding:2px}.customer-price-card{margin:18px 28px 0;border:1px solid #e2e9eb;border-radius:8px;background:#f7f9f9;padding:15px 16px}.customer-price-card>div{display:flex;align-items:center;justify-content:space-between;color:#64768b;font-size:11px}.customer-price-card>div+div{margin-top:8px}.customer-price-total{margin-top:13px!important;border-top:1px solid #dce4ec;padding-top:13px;color:#20364f!important;font-size:13px!important}.customer-price-total strong{color:#b94e72;font-size:20px}.customer-submit-row{display:grid;margin:17px 28px 0;grid-template-columns:1fr 1fr;gap:9px}.customer-download,.customer-finish,.customer-reset,.customer-submit{display:inline-flex;height:45px;align-items:center;justify-content:center;gap:7px;border-radius:6px;font-size:12px;font-weight:700;text-decoration:none}.customer-reset{border:1px solid #ccd7e2;background:#fff;color:#60748c}.customer-submit{border:1px solid var(--brand);background:var(--brand);color:#fff;box-shadow:0 7px 16px rgba(45,115,168,.18)}.customer-submit:hover{background:var(--brand-strong)}.customer-submit:disabled{cursor:wait;opacity:.72}.customer-submit-note{display:flex;margin:10px 28px 24px;align-items:center;justify-content:center;gap:6px;color:#8291a3;font-size:10px}.customer-spinner{height:14px;width:14px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:customer-spin .8s linear infinite}@keyframes customer-spin{to{transform:rotate(1turn)}}.customer-mobile-submit,.customer-mobile-tabs{display:none}.customer-toast{top:82px;left:50%;z-index:70;transform:translateX(-50%);gap:7px;border:1px solid #bce1cf;border-radius:7px;background:#f4fff8;padding:10px 15px;color:#187b52;font-size:12px;font-weight:650;box-shadow:0 12px 30px rgba(29,91,66,.13)}.customer-preview-backdrop,.customer-toast{position:fixed;display:flex;align-items:center}.customer-preview-backdrop{inset:0;z-index:80;justify-content:center;background:rgba(5,19,37,.58);padding:24px}.customer-preview-dialog{width:min(880px,100%);overflow:hidden;border-radius:9px;background:#fff;box-shadow:0 28px 80px rgba(2,14,29,.28)}.customer-preview-dialog-head{display:flex;min-height:76px;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e9ef;padding:15px 22px}.customer-preview-dialog-head span{color:#7b8c9f;font-size:10px;font-weight:700;letter-spacing:.08em}.customer-preview-dialog-head h2{margin:4px 0 0;color:#1a314c;font-size:17px}.customer-preview-dialog-head button{display:flex;height:34px;width:34px;align-items:center;justify-content:center;border:1px solid #dae3ec;border-radius:6px;background:#fff;color:#65788d}.customer-preview-dialog-body{display:grid;grid-template-columns:minmax(0,1fr) 285px;min-height:540px}.customer-preview-dialog-body>img{height:540px;width:100%;-o-object-fit:contain;object-fit:contain;background:#f5f7f9}.customer-preview-summary{border-left:1px solid #e6ebf0;padding:25px 22px}.customer-preview-success{display:flex;align-items:flex-start;gap:10px;color:#149265}.customer-preview-success span{display:block}.customer-preview-success strong{display:block;color:#214059;font-size:13px}.customer-preview-success small{display:block;margin-top:5px;color:#8392a3;font-size:9px;line-height:1.55}.customer-preview-summary dl{margin:22px 0;border-top:1px solid #e7ecf1;padding-top:12px}.customer-preview-summary dl div{display:flex;justify-content:space-between;padding:7px 0;color:#60748a;font-size:11px}.customer-preview-summary dt{color:#8a98a7}.customer-preview-summary dd{margin:0;color:#29415b;font-weight:650}.customer-download{width:100%;border:1px solid var(--brand);background:var(--brand);color:#fff}.customer-finish{width:100%;margin-top:9px;border:1px solid #d3dde7;background:#fff;color:#60738a}.customer-order-button{grid-column:1/-1;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid #b94e72;border-radius:6px;background:#b94e72;padding:0 15px;color:#fff;font-size:12px;font-weight:750}.customer-order-button:hover{background:#a84265}.customer-product-switcher{display:flex;align-items:center;gap:8px;width:min(1180px,calc(100% - 28px));margin:0 auto;padding:12px 0 0;color:#718398;font-size:11px}.customer-product-switcher button{border:1px solid #d6e1eb;border-radius:5px;background:#fff;padding:7px 10px;color:#5e748b;font-size:11px}.customer-product-switcher button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong);font-weight:700}.customer-checkout-dialog{width:min(640px,100%);overflow:hidden;border-radius:9px;background:#fff;box-shadow:0 28px 80px rgba(2,14,29,.28)}.customer-checkout-body{padding:20px 22px}.customer-checkout-product{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #e2e9f0;border-radius:7px;padding:12px}.customer-checkout-product-icon{display:grid;height:42px;width:42px;place-items:center;overflow:hidden;border-radius:7px;background:#fff}.customer-checkout-product-icon img{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}.customer-checkout-product strong{display:block;color:#213b57;font-size:13px}.customer-checkout-product p{margin:4px 0 0;color:#667a91;font-size:11px}.customer-checkout-product small{display:block;margin-top:4px;color:#99a6b3;font-size:9px}.customer-checkout-quantity{display:flex;align-items:center;gap:10px;color:#203a55;font-size:13px;font-weight:700}.customer-checkout-quantity button{height:26px;width:26px;border:1px solid #d9e2eb;border-radius:5px;background:#fff;color:#52708c}.customer-checkout-form{margin-top:20px}.customer-checkout-form-title{display:flex;align-items:center;gap:7px;margin-bottom:13px;color:#203a55;font-size:13px;font-weight:750}.customer-checkout-form label{display:block;margin-top:11px;color:#718399;font-size:11px;font-weight:650}.customer-checkout-form input,.customer-checkout-form textarea{display:block;width:100%;margin-top:6px;border:1px solid #d6e0e9;border-radius:6px;outline:0;padding:10px;color:#203a55;font-size:12px}.customer-checkout-form textarea{min-height:64px;resize:vertical}.customer-checkout-form input:focus,.customer-checkout-form textarea:focus{border-color:#83b0c1;box-shadow:0 0 0 3px rgba(45,115,168,.09)}.customer-checkout-total{display:flex;align-items:center;justify-content:space-between;margin-top:19px;border-top:1px solid #e5ebf1;padding-top:16px;color:#61758a;font-size:12px}.customer-checkout-total strong{color:#b94e72;font-size:23px}.customer-checkout-note{display:flex;align-items:center;gap:5px;margin:13px 0 0;color:#9aa8b5;font-size:10px}.customer-dialog-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e6ecf1;padding:14px 22px}.customer-dialog-actions a,.customer-dialog-actions button{width:auto;min-width:140px;margin-top:0;text-align:center}.customer-checkout-success{padding:42px 28px 34px;text-align:center}.customer-checkout-success-icon{display:grid;height:52px;width:52px;margin:0 auto 16px;place-items:center;border-radius:50%;background:#e8f8f0;color:#13905f;font-size:28px;font-weight:800}.customer-checkout-success .eyebrow{margin:0;color:var(--brand);font-size:10px;font-weight:800;letter-spacing:.18em}.customer-checkout-success h2{margin:8px 0 0;color:#1c3854;font-size:22px}.customer-checkout-success p{margin:10px 0 0;color:#74869a;font-size:12px}.customer-checkout-success strong{display:block;margin-top:15px;color:#b94e72;font-size:28px}.customer-checkout-success>span{display:block;max-width:330px;margin:13px auto 0;color:#96a4b2;font-size:11px;line-height:1.7}.customer-checkout-actions{display:flex;max-width:330px;margin:24px auto 0;gap:9px}.customer-checkout-actions .customer-finish{margin:0}.customer-orders-page{min-height:100vh;background:#f3f6f6;color:var(--ink)}.customer-orders-header{display:flex;height:72px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff;padding:0 max(18px,calc((100vw - 1040px) / 2))}.customer-orders-header button{display:inline-flex;height:36px;align-items:center;gap:6px;border:1px solid transparent;border-radius:6px;background:transparent;padding:0 8px;color:var(--ink-soft);font-size:12px}.customer-orders-header button:hover{border-color:var(--line);background:#f7f9f9}.customer-orders-header strong{color:var(--brand-deep);font-size:15px}.customer-orders-brand{display:flex;align-items:center;gap:10px}.customer-orders-brand>span{display:flex;flex-direction:column}.customer-orders-brand small{margin-top:2px;color:#93a2aa;font-size:8px;font-weight:700;letter-spacing:.1em}.customer-orders-logo{height:34px;width:34px;border-radius:7px;-o-object-fit:contain;object-fit:contain}.customer-orders-content{width:min(1040px,calc(100% - 32px));margin:0 auto;padding:38px 0 70px}.customer-orders-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.customer-orders-title p{margin:0 0 5px;color:var(--brand);font-size:10px;font-weight:800;letter-spacing:.18em}.customer-orders-title h1{margin:0;color:var(--brand-deep);font-size:30px}.customer-orders-title span{display:block;margin-top:8px;color:var(--muted);font-size:12px}.customer-orders-empty a,.customer-orders-empty button,.customer-orders-title a{border:0;border-radius:6px;background:var(--brand);padding:10px 14px;color:#fff;font-size:12px;font-weight:700;text-decoration:none;box-shadow:0 7px 16px rgba(45,115,168,.16)}.customer-order-list{display:grid;gap:14px;margin-top:28px}.customer-order-card{border:1px solid #dce5e8;border-radius:8px;background:#fff;padding:18px 20px;box-shadow:0 9px 28px rgba(23,63,94,.05)}.customer-order-card-head{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #edf1f5;padding-bottom:13px}.customer-order-card-head strong{display:block;color:var(--brand-deep);font-size:12px}.customer-order-card-head small{display:block;margin-top:5px;color:#94a2ac;font-size:10px}.customer-order-card-head span{border-radius:999px;background:var(--brand-soft);padding:5px 9px;color:var(--brand-strong);font-size:10px;font-weight:700}.customer-order-card-head span.is-pending{background:var(--brand-goldSoft);color:#8f7522}.customer-order-card-head span.is-processing{background:var(--brand-pinkSoft);color:#a94267}.customer-order-card-head span.is-shipped{background:#eaf3f8;color:var(--brand-strong)}.customer-order-card-head span.is-completed{background:#e9f7f1;color:var(--success)}.customer-order-product{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;padding:15px 0}.customer-order-product-icon{display:grid;height:40px;width:40px;place-items:center;border-radius:6px;background:var(--brand-pinkSoft);color:var(--brand-pink);overflow:hidden}.customer-order-product-icon img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.customer-order-product strong{color:#29445e;font-size:13px}.customer-order-product p{margin:5px 0 0;color:#8a9aa9;font-size:10px}.customer-order-product b{color:#b94e72;font-size:15px}.customer-order-address{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-top:1px solid #edf1f5;padding-top:12px;color:#788b9e;font-size:10px}.customer-order-tracking{display:flex;align-items:center;gap:6px;margin-top:11px;border-radius:6px;background:#edf7f2;padding:8px 10px;color:var(--success);font-size:10px}.customer-order-tracking.is-pending{background:var(--brand-goldSoft);color:#8f7522}.customer-order-tracking.is-processing{background:var(--brand-pinkSoft);color:#a94267}.customer-order-tracking.is-completed{background:#eaf8f1;color:var(--success)}.customer-order-skeleton{display:grid;gap:12px;min-height:132px;align-content:center}.customer-order-skeleton span{display:block;height:13px;border-radius:4px;background:#e8edee;animation:customer-skeleton 1.2s ease-in-out infinite alternate}.customer-order-skeleton span:first-child{width:38%}.customer-order-skeleton span:last-child{width:72%;animation-delay:.18s}@keyframes customer-skeleton{0%{opacity:.55}to{opacity:1}}.customer-orders-empty{display:flex;min-height:280px;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#9aa7b4;font-size:12px;text-align:center}.customer-orders-empty h2{margin:2px 0 0;color:#314960;font-size:16px}.customer-orders-empty p{margin:0}@media (max-width:760px){.customer-checkout-dialog{max-height:93vh;overflow-y:auto}.customer-checkout-body{padding:17px}.customer-dialog-actions{padding:12px 17px}.customer-dialog-actions a,.customer-dialog-actions button{min-width:0;flex:1}.customer-checkout-success{padding:32px 20px 25px}.customer-checkout-actions{flex-direction:column}.customer-orders-content{width:calc(100% - 28px);padding-top:24px}.customer-orders-title{align-items:flex-start;flex-direction:column}.customer-orders-title a{align-self:flex-start}.customer-order-address{flex-direction:column}}.customer-size-dialog{width:min(560px,100%);overflow:hidden;border-radius:9px;background:#fff;box-shadow:0 28px 80px rgba(2,14,29,.28)}.customer-size-dialog-body{padding:22px}.customer-size-note{display:flex;align-items:flex-start;gap:10px;color:#176bd8}.customer-size-note>span{min-width:0}.customer-size-note strong{display:block;color:#213b57;font-size:13px}.customer-size-note small{display:block;margin-top:5px;color:#7d8ea1;font-size:10px;line-height:1.6}.customer-size-table-wrap{margin-top:20px;overflow-x:auto;border:1px solid #e1e8ef;border-radius:7px}.customer-size-table{width:100%;border-collapse:collapse;color:#536980;font-size:12px;text-align:center}.customer-size-table td,.customer-size-table th{height:46px;border-bottom:1px solid #e8edf2;padding:0 12px;white-space:nowrap}.customer-size-table thead th{background:#f5f8fb;color:#6d7f92;font-size:11px;font-weight:650}.customer-size-table tbody th{color:#173653;font-weight:750}.customer-size-table tbody tr:last-child td,.customer-size-table tbody tr:last-child th{border-bottom:0}.customer-size-dialog .customer-finish{margin-top:18px}@media (max-width:980px){.customer-main{grid-template-columns:minmax(0,1fr) 370px;gap:18px}.customer-stage-shell{min-height:570px}.customer-object-toolbar button{min-width:48px}.customer-selected-name,.customer-tool-divider{display:none}}@media (max-width:760px){.customer-page{padding-bottom:82px}.customer-header{height:58px}.customer-header-inner{width:calc(100% - 28px);grid-template-columns:1fr auto}.customer-brand{justify-self:end;font-size:14px}.customer-brand-mark{height:27px;width:27px}.customer-header-state{display:none}.customer-back{font-size:12px}.customer-breadcrumb{width:calc(100% - 28px);padding:12px 0}.customer-main{display:block;width:100%;padding-bottom:18px}.customer-preview-column{position:static;padding:0 14px}.customer-view-switcher{margin-bottom:8px}.customer-view-switcher button{min-width:74px;padding:8px 12px}.customer-stage-shell{min-height:auto}.customer-stage{width:min(100%,520px);margin-top:4px}.customer-object-toolbar{min-height:52px;overflow-x:auto;justify-content:flex-start;padding:0 6px}.customer-object-toolbar button{min-width:57px;flex-direction:column;gap:3px;padding:7px;font-size:9px}.customer-view-thumbnails{display:none}.customer-config-column{margin-top:15px;border-right:0;border-left:0;border-radius:0;box-shadow:none}.customer-product-heading{padding:20px 18px 16px}.customer-product-heading h1{font-size:21px}.customer-current-price{margin-top:13px}.customer-mobile-tabs{display:grid;position:sticky;top:0;z-index:20;grid-template-columns:1fr 1fr;border-top:1px solid #edf1f5;border-bottom:1px solid #dfe6ed;background:#fff}.customer-mobile-tabs button{position:relative;height:47px;border:0;background:#fff;color:#77889b;font-size:12px;font-weight:700}.customer-mobile-tabs button.active{color:var(--brand-strong)}.customer-mobile-tabs button.active:after{position:absolute;right:28%;bottom:-1px;left:28%;height:2px;background:var(--brand);content:""}.customer-config-section{padding:18px}.customer-config-section[data-panel=content].mobile-panel-options,.customer-config-section[data-panel=options].mobile-panel-content{display:none}.customer-price-card{margin:16px 18px 0}.customer-submit-note,.customer-submit-row{display:none}.customer-mobile-submit{position:fixed;right:0;bottom:0;left:0;z-index:60;display:grid;grid-template-columns:1fr 1.35fr;align-items:center;border-top:1px solid #d9e2eb;background:#fff;padding:10px 14px;box-shadow:0 -8px 25px rgba(22,48,79,.09)}.customer-mobile-submit div{display:flex;flex-direction:column}.customer-mobile-submit span{color:#7a8b9e;font-size:9px}.customer-mobile-submit strong{margin-top:1px;color:#b94e72;font-size:20px}.customer-mobile-submit button{height:44px;border:0;border-radius:6px;background:var(--brand);color:#fff;font-size:13px;font-weight:700}.customer-preview-backdrop{padding:12px}.customer-preview-dialog{max-height:92vh;overflow-y:auto}.customer-preview-dialog-body{grid-template-columns:1fr;min-height:0}.customer-preview-dialog-body>img{height:auto;max-height:52vh}.customer-preview-summary{border-top:1px solid #e6ebf0;border-left:0;padding:18px}.customer-size-dialog-body{padding:18px}.customer-size-table td,.customer-size-table th{padding:0 8px}}@media (max-width:410px){.customer-stage{width:100%}.customer-color-options,.customer-custom-actions,.customer-text-row{grid-template-columns:1fr}.customer-text-row input[type=range]{flex:1;min-width:0}}@media (max-width:620px){.customer-orders-header>button:first-child,.customer-orders-header>button:last-child{width:36px;padding:0;justify-content:center;font-size:0}.customer-orders-brand small{display:none}.customer-orders-content{padding-top:26px}.customer-orders-title h1{font-size:25px}.customer-order-card{padding:16px}}.customer-ai-tools{display:grid;margin-bottom:10px;grid-template-columns:1fr 1fr;gap:9px}.customer-ai-tools>button{display:grid;min-height:78px;grid-template-columns:38px minmax(0,1fr) 17px;align-items:center;gap:10px;border:1px solid #d7e3e7;border-radius:8px;padding:11px;text-align:left;transition:.18s ease}.customer-ai-tools>button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(23,63,94,.07)}.customer-ai-tools>button.is-design{background:var(--brand-soft);color:var(--brand-strong)}.customer-ai-tools>button.is-tryon{background:var(--brand-pinkSoft);color:#a94267}.customer-ai-tools>button>span:nth-child(2){min-width:0}.customer-ai-tools strong{display:block;color:var(--brand-deep);font-size:12px}.customer-ai-tools small{display:block;margin-top:4px;color:var(--ink-soft);font-size:9px;line-height:1.45}.customer-ai-tool-icon{display:grid;height:36px;width:36px;place-items:center;border-radius:7px;background:#fff;box-shadow:0 4px 10px rgba(23,63,94,.06)}.ai-studio-dialog,.ai-tryon-dialog{width:min(1120px,100%);max-height:min(92vh,900px);overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 30px 90px rgba(2,14,29,.32)}.ai-tryon-dialog{width:min(1040px,100%)}.ai-studio-head{display:flex;min-height:78px;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e9eb;padding:14px 20px}.ai-studio-head span{color:var(--brand);font-size:9px;font-weight:800;letter-spacing:.16em}.ai-studio-head h2{margin:4px 0 0;color:var(--brand-deep);font-size:20px}.ai-studio-head p{margin:4px 0 0;color:var(--muted);font-size:10px}.ai-studio-head>button{display:grid;height:34px;width:34px;place-items:center;border:1px solid #d8e2e5;border-radius:6px;background:#fff;color:var(--ink-soft)}.ai-studio-layout{display:grid;max-height:calc(92vh - 78px);grid-template-columns:390px minmax(0,1fr);overflow:auto}.ai-studio-form{border-right:1px solid #e4eaec;background:#fafcfc;padding:20px}.ai-field{position:relative;display:block;margin:0;border:0;padding:0}.ai-field+.ai-field{margin-top:20px}.ai-field>label,.ai-field>legend{display:block;margin-bottom:9px;color:var(--brand-deep);font-size:11px;font-weight:750}.ai-field>legend span{float:right;color:var(--muted);font-size:9px;font-weight:500}.ai-field textarea{width:100%;min-height:88px;resize:vertical;border:1px solid #d5e0e3;border-radius:7px;outline:0;background:#fff;padding:11px;color:var(--ink);font-size:12px;line-height:1.65}.ai-field textarea:focus{border-color:#82afc0;box-shadow:0 0 0 3px rgba(45,115,168,.09)}.ai-field>small{position:absolute;right:9px;bottom:8px;color:#9aa8b0;font-size:8px}.ai-chip-grid{display:flex;flex-wrap:wrap;gap:7px}.ai-chip-grid button{min-height:31px;border:1px solid #d7e1e4;border-radius:999px;background:#fff;padding:0 11px;color:var(--ink-soft);font-size:10px;font-weight:650}.ai-chip-grid button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.ai-palette-list{display:grid;gap:7px}.ai-palette-list button{display:grid;min-height:42px;grid-template-columns:74px minmax(0,1fr) 16px;align-items:center;gap:8px;border:1px solid #dce5e8;border-radius:7px;background:#fff;padding:5px 9px;color:var(--ink-soft);font-size:10px;text-align:left}.ai-palette-list button.active{border-color:var(--brand);background:#f6fafb;color:var(--brand-strong);box-shadow:inset 0 0 0 1px var(--brand)}.ai-palette-colors{display:flex;overflow:hidden;height:22px;border:1px solid #d4dde0;border-radius:5px}.ai-palette-colors i{flex:1}.ai-generate-button{display:flex;width:100%;min-height:46px;margin-top:22px;align-items:center;justify-content:center;gap:8px;border:0;border-radius:7px;background:var(--brand);color:#fff;font-size:12px;font-weight:750;box-shadow:0 9px 20px rgba(45,115,168,.18)}.ai-generate-button:hover{background:var(--brand-strong)}.ai-generate-button:disabled{cursor:wait;opacity:.72}.ai-error{margin:10px 0 0;border-radius:6px;background:#fff3f4;padding:9px 10px;color:#b6404b;font-size:10px;line-height:1.55}.ai-results{min-width:0;padding:20px}.ai-results-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.ai-results-head h3{margin:0;color:var(--brand-deep);font-size:16px}.ai-results-head p{margin:5px 0 0;color:var(--muted);font-size:10px}.ai-results-head>span{border-radius:999px;background:var(--brand-goldSoft);padding:5px 9px;color:#8f7522;font-size:9px;font-weight:700}.ai-results-head>span.ai-demo-badge{background:var(--brand-pinkSoft);color:#a94267}.ai-result-grid{display:grid;margin-top:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ai-concept-card{overflow:hidden;border:1px solid #dce5e8;border-radius:8px;background:#fff;padding:10px;transition:.18s ease}.ai-concept-card:hover{border-color:#b8cdd3;box-shadow:0 10px 24px rgba(23,63,94,.07)}.ai-concept-image{display:grid;aspect-ratio:1;place-items:center;overflow:hidden;border-radius:6px;background-color:#f1f4f4;background-image:linear-gradient(45deg,#e7ecee 25%,transparent 0),linear-gradient(-45deg,#e7ecee 25%,transparent 0),linear-gradient(45deg,transparent 75%,#e7ecee 0),linear-gradient(-45deg,transparent 75%,#e7ecee 0);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.ai-concept-image img{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}.ai-concept-card>div:nth-child(2){margin-top:9px}.ai-concept-card strong{display:block;color:var(--brand-deep);font-size:11px}.ai-concept-card small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.ai-concept-card>button{width:100%;height:34px;margin-top:9px;border:1px solid var(--brand);border-radius:6px;background:var(--brand);color:#fff;font-size:10px;font-weight:700}.ai-result-skeleton{min-height:240px;border:1px solid #e0e7e9;border-radius:8px;padding:10px}.ai-result-skeleton i,.ai-result-skeleton span{display:block;border-radius:5px;background:#e9eef0;animation:ai-pulse 1.1s ease-in-out infinite alternate}.ai-result-skeleton span{aspect-ratio:1}.ai-result-skeleton i{width:52%;height:12px;margin-top:13px;animation-delay:.15s}.ai-results-empty{display:flex;min-height:430px;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);text-align:center}.ai-results-empty>span{display:grid;height:54px;width:54px;place-items:center;border-radius:50%;background:var(--brand-soft);color:var(--brand)}.ai-results-empty h3{margin:15px 0 0;color:var(--brand-deep);font-size:15px}.ai-results-empty p{max-width:300px;margin:7px 0 0;font-size:10px;line-height:1.65}.ai-spin{animation:ai-spin .85s linear infinite}@keyframes ai-spin{to{transform:rotate(1turn)}}@keyframes ai-pulse{to{opacity:.55}}.ai-tryon-layout{display:grid;max-height:calc(92vh - 78px);grid-template-columns:390px minmax(0,1fr);overflow:auto}.ai-tryon-controls{border-right:1px solid #e4eaec;background:#fafcfc;padding:20px}.ai-mode-tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce5e8;border-radius:7px;background:#eef3f4;padding:3px}.ai-mode-tabs button{display:flex;height:34px;align-items:center;justify-content:center;gap:6px;border:0;border-radius:5px;background:transparent;color:var(--ink-soft);font-size:10px;font-weight:700}.ai-mode-tabs button.active{background:#fff;color:var(--brand-strong);box-shadow:0 3px 9px rgba(23,63,94,.08)}.ai-model-list{display:grid;margin-top:16px;gap:8px}.ai-model-list button{display:grid;min-height:72px;grid-template-columns:58px minmax(0,1fr) 16px;align-items:center;gap:10px;border:1px solid #dce5e8;border-radius:7px;background:#fff;padding:7px 9px;color:var(--ink-soft);text-align:left}.ai-model-list button.active{border-color:var(--brand);background:#f5fafb;box-shadow:inset 0 0 0 1px var(--brand)}.ai-model-list img{height:58px;width:58px;border-radius:6px;-o-object-fit:cover;object-fit:cover;-o-object-position:center 18%;object-position:center 18%}.ai-model-list strong{display:block;color:var(--brand-deep);font-size:11px}.ai-model-list small{display:block;margin-top:4px;color:var(--muted);font-size:9px}.ai-photo-picker{display:grid;min-height:210px;margin-top:16px;place-items:center;border:1px dashed #bfd0d5;border-radius:8px;background:#fff;padding:15px;text-align:center}.ai-photo-picker>img{height:112px;width:92px;border-radius:7px;-o-object-fit:cover;object-fit:cover}.ai-photo-picker>span{display:grid;height:64px;width:64px;place-items:center;border-radius:50%;background:var(--brand-soft);color:var(--brand)}.ai-photo-picker strong{display:block;margin-top:10px;color:var(--brand-deep);font-size:11px}.ai-photo-picker small{display:block;max-width:230px;margin-top:5px;color:var(--muted);font-size:9px;line-height:1.55}.ai-photo-picker label{display:inline-flex;height:34px;margin-top:11px;align-items:center;border-radius:6px;background:var(--brand);padding:0 13px;color:#fff;font-size:10px;font-weight:700;cursor:pointer}.ai-tryon-tip{display:flex;align-items:flex-start;gap:9px;margin-top:16px;border-radius:7px;background:var(--brand-pinkSoft);padding:11px;color:#a94267}.ai-tryon-tip>span{min-width:0}.ai-tryon-tip strong{display:block;color:var(--brand-deep);font-size:10px}.ai-tryon-tip small{display:block;margin-top:3px;color:var(--ink-soft);font-size:9px;line-height:1.55}.ai-tryon-preview{position:relative;display:flex;min-height:620px;flex-direction:column;align-items:center;justify-content:center;background:#f2f5f5;padding:24px}.ai-tryon-preview>img{max-height:640px;width:auto;max-width:100%;border-radius:8px;-o-object-fit:contain;object-fit:contain;box-shadow:0 18px 45px rgba(23,63,94,.14)}.ai-tryon-demo-badge{position:absolute;top:36px;left:36px;border-radius:999px;background:rgba(255,255,255,.92);padding:6px 10px;color:#a94267;font-size:9px;font-weight:750;box-shadow:0 6px 16px rgba(23,63,94,.12)}.ai-tryon-empty{display:flex;flex-direction:column;align-items:center;color:var(--muted);text-align:center}.ai-tryon-empty>svg{color:var(--brand)}.ai-tryon-empty strong{margin-top:14px;color:var(--brand-deep);font-size:14px}.ai-tryon-empty small{margin-top:6px;font-size:10px}.ai-tryon-actions{display:flex;width:min(560px,100%);margin-top:15px;gap:9px}.ai-tryon-actions a,.ai-tryon-actions button{display:flex;height:40px;flex:1;align-items:center;justify-content:center;gap:6px;border-radius:6px;font-size:10px;font-weight:700;text-decoration:none}.ai-tryon-actions a{border:1px solid var(--brand);background:var(--brand);color:#fff}.ai-tryon-actions button{border:1px solid #d4dfe2;background:#fff;color:var(--ink-soft)}@media (max-width:900px){.ai-studio-layout,.ai-tryon-layout{grid-template-columns:340px minmax(0,1fr)}}@media (max-width:760px){.customer-ai-tools{grid-template-columns:1fr}.ai-studio-dialog,.ai-tryon-dialog{max-height:94vh;overflow-y:auto}.ai-studio-layout,.ai-tryon-layout{display:block;max-height:none}.ai-studio-form,.ai-tryon-controls{border-right:0;border-bottom:1px solid #e4eaec;padding:17px}.ai-results{padding:17px}.ai-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ai-concept-card{padding:7px}.ai-tryon-preview{min-height:480px;padding:17px}.ai-tryon-preview>img{max-height:60vh}}.ai-workbench-backdrop{padding:14px}.ai-workbench{display:flex;width:min(1560px,calc(100vw - 28px));height:min(94vh,980px);flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.8);border-radius:8px;background:#f5f8f8;box-shadow:0 34px 100px rgba(2,14,29,.32)}.ai-workbench-route{width:100%;height:100dvh;overflow:hidden;background:#f3f6f6}.ai-workbench-page{width:100%;height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none}.ai-workbench-head{display:grid;min-height:66px;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid #dfe7e9;background:#fff;padding:10px 16px}.ai-workbench-brand{display:flex;align-items:center;gap:10px}.ai-workbench-logo-link{display:grid;height:38px;width:38px;flex:0 0 auto;place-items:center;border-radius:7px}.ai-workbench-logo{display:block;height:38px;width:38px;-o-object-fit:contain;object-fit:contain}.ai-workbench-brand strong{display:block;color:var(--brand-deep);font-size:16px}.ai-workbench-brand small{display:block;margin-top:2px;color:var(--muted);font-size:9px}.ai-workbench-mode-switch{display:grid;min-width:310px;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;border:1px solid #d9e4e7;border-radius:8px;background:#eef4f5;padding:3px}.ai-workbench-mode-switch>button{display:flex;min-width:0;min-height:44px;align-items:center;gap:8px;border:0;border-radius:6px;background:transparent;padding:5px 10px;color:#71848f;text-align:left;cursor:pointer;transition:background .16s ease,box-shadow .16s ease,color .16s ease}.ai-workbench-mode-switch>button:hover:not(:disabled){background:rgba(255,255,255,.62);color:var(--ink-soft)}.ai-workbench-mode-switch>button.active{background:#fff;color:var(--brand-strong);box-shadow:0 3px 10px rgba(23,63,94,.1)}.ai-workbench-mode-switch>button:disabled{cursor:not-allowed;opacity:.48}.ai-mode-radio{display:grid;height:16px;width:16px;flex:0 0 auto;place-items:center;border:1.5px solid #aabac1;border-radius:50%;background:#fff}.ai-mode-radio i{height:8px;width:8px;border-radius:50%;background:transparent}.ai-workbench-mode-switch>button.active .ai-mode-radio{border-color:var(--brand)}.ai-workbench-mode-switch>button.active .ai-mode-radio i{background:var(--brand)}.ai-workbench-mode-switch strong{color:inherit;font-size:10px}.ai-workbench-mode-switch small,.ai-workbench-mode-switch strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-workbench-mode-switch small{margin-top:2px;color:var(--muted);font-size:8px}.ai-workbench-close{justify-self:end;display:grid;height:34px;width:34px;place-items:center;border:1px solid #d8e2e5;border-radius:6px;background:#fff;color:var(--ink-soft)}.ai-workbench-head-actions{justify-self:end;display:flex;align-items:center;gap:8px}.ai-workbench-head-actions>a{display:inline-flex;height:34px;align-items:center;border:1px solid #d8e2e5;border-radius:6px;background:#fff;padding:0 11px;color:var(--brand-strong);font-size:10px;font-weight:700;text-decoration:none}.ai-workbench-head-actions .ai-workbench-close{justify-self:auto}.ai-wallet-chip{gap:5px!important;color:#8a6420!important;border-color:#ead9b4!important;background:#fdf8ec!important}.ai-recharge-link{display:inline-flex;flex-shrink:0;align-items:center;gap:4px;color:#b6404b;font-size:10px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.ai-billing-hint{margin:8px 0 0;color:#96793b;font-size:9px;font-weight:600;line-height:1.7}.ai-billing-hint a{color:#b6404b;font-weight:750;text-decoration:underline;text-underline-offset:3px}.ai-board{display:grid;min-height:0;flex:1;grid-template-columns:194px 350px minmax(420px,1fr) 232px}.ai-brief-panel,.ai-editor-controls,.ai-library-panel,.ai-preview-panel,.ai-selected-pattern,.ai-variants-panel{min-width:0;overflow:auto}.ai-brief-panel,.ai-library-panel,.ai-variants-panel{border-right:1px solid #dfe7e9;background:#fff;padding:14px}.ai-brief-panel{background:#fbfcfc}.ai-preview-panel{position:relative;display:flex;min-height:0;flex-direction:column;overflow:hidden;background:#f3f6f6;padding:14px}.ai-variants-panel{border-right:0;border-left:1px solid #dfe7e9}.ai-panel-title{display:flex;min-height:35px;align-items:flex-start;justify-content:space-between;gap:8px}.ai-panel-title h3{margin:0;color:var(--brand-deep);font-size:15px}.ai-panel-title p{margin:4px 0 0;color:var(--muted);font-size:9px}.ai-panel-title>span{color:#95a3ac;font-size:9px}.ai-library-search{display:flex;height:36px;margin-top:8px;align-items:center;gap:7px;border:1px solid #d8e2e5;border-radius:6px;background:#fff;padding:0 9px;color:#8a9aa4}.ai-library-search input{min-width:0;flex:1;border:0;outline:0;color:var(--ink);font-size:10px}.ai-library-source-tabs{display:grid;margin-top:8px;grid-template-columns:1fr 1fr;border:1px solid #d8e2e5;border-radius:6px;background:#eef3f4;padding:3px}.ai-library-source-tabs button{height:30px;border:0;border-radius:4px;background:transparent;color:var(--ink-soft);font-size:9px;font-weight:700}.ai-library-source-tabs button.active{background:#fff;color:var(--brand-strong);box-shadow:0 3px 8px rgba(23,63,94,.07)}.ai-library-upload{display:flex;height:34px;margin-top:7px;align-items:center;justify-content:center;gap:6px;border:1px dashed #aac4cd;border-radius:6px;background:#f7fbfb;color:var(--brand-strong);font-size:9px;font-weight:700;cursor:pointer}.ai-library-upload:hover{border-color:var(--brand);background:var(--brand-soft)}.ai-library-categories{display:flex;margin:10px 0;flex-wrap:wrap;gap:4px}.ai-library-categories button{min-height:26px;border:0;border-radius:5px;background:transparent;padding:0 7px;color:#6d7f8c;font-size:9px;font-weight:650}.ai-library-categories button.active{background:var(--brand-soft);color:var(--brand-strong)}.ai-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ai-library-grid>button{position:relative;min-width:0;overflow:hidden;border:1px solid #dce5e7;border-radius:7px;background:#fff;padding:7px;color:var(--element-color);text-align:center}.ai-library-grid>button>span{display:grid;height:72px;place-items:center;border-radius:5px;background:#f5f8f8}.ai-library-grid>button>span img{height:100%;width:100%;border-radius:5px;-o-object-fit:contain;object-fit:contain}.ai-library-grid>button>small{display:block;overflow:hidden;margin-top:6px;color:var(--ink-soft);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.ai-library-grid>button>i{top:5px;color:var(--brand-pink)}.ai-library-grid>button>em,.ai-library-grid>button>i{position:absolute;right:5px;display:none;font-style:normal}.ai-library-grid>button>em{bottom:5px;color:#a34e59}.ai-library-grid>button:hover>em,.ai-library-grid>button:hover>i,.ai-library-grid>button>i.active{display:block}.ai-library-grid>button>b{position:absolute;top:5px;left:5px;display:grid;height:18px;width:18px;place-items:center;border-radius:50%;background:var(--brand);color:#fff}.ai-library-grid>button.selected{border-color:var(--brand);background:var(--brand-soft);box-shadow:inset 0 0 0 1px var(--brand)}.ai-library-empty{grid-column:1/-1;display:flex;min-height:150px;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #c5d4d8;border-radius:7px;color:var(--muted);text-align:center}.ai-library-empty strong{margin-top:8px;color:var(--brand-deep);font-size:9px}.ai-library-empty small{margin-top:4px;font-size:8px}.ai-library-empty button{margin-top:9px;border:0;border-radius:5px;background:var(--brand);padding:6px 10px;color:#fff;font-size:8px;font-weight:700}.ai-step-block{position:relative;border:1px solid #dfe7e9;border-radius:8px;background:#fff;padding:15px}.ai-step-block+.ai-step-block{margin-top:12px}.ai-step-title{display:flex;align-items:center;gap:8px;margin-bottom:10px}.ai-step-title>i{display:grid;height:24px;width:24px;place-items:center;border-radius:50%;background:var(--brand);color:#fff;font-size:10px;font-style:normal;font-weight:800}.ai-step-title h3{margin:0;color:var(--brand-deep);font-size:13px}.ai-step-title>span{margin-left:auto;color:var(--muted);font-size:9px}.ai-brief-panel textarea{width:100%;min-height:96px;resize:vertical;border:1px solid #d9e3e5;border-radius:7px;outline:0;padding:10px;color:var(--ink);font-size:11px;line-height:1.7}.ai-brief-panel textarea:focus{border-color:#83afc0;box-shadow:0 0 0 3px rgba(45,115,168,.08)}.ai-character-count{position:absolute;right:23px;color:#9ba8b0;font-size:8px}.ai-step-block>.ai-character-count{top:127px}.ai-step-block .ai-chip-grid{margin-top:9px}.ai-color-board{display:grid;gap:7px}.ai-palette-option{position:relative}.ai-palette-option>button:first-child{display:grid;width:100%;min-height:38px;grid-template-columns:82px 1fr;align-items:center;gap:8px;border:1px solid #dde6e8;border-radius:6px;background:#fff;padding:4px 7px;color:var(--ink-soft);text-align:left}.ai-palette-option.active>button:first-child{border-color:var(--brand);background:#f5fafb;box-shadow:inset 0 0 0 1px var(--brand)}.ai-palette-option>button:first-child>span{display:flex;overflow:hidden;height:24px;border-radius:4px}.ai-palette-option>button:first-child>span i{flex:1}.ai-palette-option small{font-size:9px}.ai-palette-option>button.remove{position:absolute;top:50%;right:7px;display:grid;height:20px;width:20px;transform:translateY(-50%);place-items:center;border:0;border-radius:4px;background:#f1f4f5;color:#788a96;padding:0}.ai-add-palette{display:flex;width:100%;height:34px;margin-top:9px;align-items:center;justify-content:center;gap:6px;border:1px dashed #a9c4cc;border-radius:6px;background:#f8fbfb;color:var(--brand-strong);font-size:9px;font-weight:700}.ai-output-settings>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.ai-output-settings>div+div{margin-top:10px}.ai-output-settings>div>span{color:var(--ink-soft);font-size:9px;font-weight:700}.ai-output-settings>div>div{display:flex;gap:5px}.ai-output-settings button{min-width:43px;height:28px;border:1px solid #d7e2e5;border-radius:5px;background:#fff;color:var(--ink-soft);font-size:9px;font-weight:700}.ai-output-settings button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.ai-output-settings>small{display:block;margin-top:10px;color:var(--muted);font-size:8px}.ai-palette-modal-backdrop{position:fixed;inset:0;z-index:160;display:grid;place-items:center;background:rgba(8,25,42,.58);padding:20px}.ai-palette-modal{width:min(460px,100%);border-radius:8px;background:#fff;padding:22px;box-shadow:0 28px 80px rgba(2,14,29,.3)}.ai-palette-modal-head{display:flex;align-items:flex-start;justify-content:space-between}.ai-palette-modal-head span{color:var(--brand);font-size:9px;font-weight:800;letter-spacing:.16em}.ai-palette-modal-head h3{margin:5px 0 0;color:var(--brand-deep);font-size:18px}.ai-palette-modal-head>button{display:grid;height:32px;width:32px;place-items:center;border:1px solid #d8e2e5;border-radius:6px;background:#fff;color:var(--ink-soft)}.ai-palette-modal>label{display:block;margin-top:19px;color:var(--ink-soft);font-size:10px;font-weight:700}.ai-palette-modal>label input{width:100%;height:40px;margin-top:7px;border:1px solid #d6e0e3;border-radius:6px;outline:0;padding:0 10px;color:var(--ink);font-size:12px}.ai-palette-picker{display:grid;margin-top:16px;grid-template-columns:repeat(4,1fr);gap:9px}.ai-palette-picker label{position:relative;display:grid;height:78px;place-items:end center;overflow:hidden;border:1px solid rgba(23,63,94,.12);border-radius:7px;padding-bottom:8px;cursor:pointer}.ai-palette-picker input{position:absolute;inset:0;height:100%;width:100%;opacity:0;cursor:pointer}.ai-palette-picker span{border-radius:4px;background:rgba(255,255,255,.86);padding:3px 5px;color:#243b55;font-size:8px;font-weight:700}.ai-palette-modal>p{margin:13px 0 0;color:var(--muted);font-size:9px;line-height:1.6}.ai-palette-modal-actions{display:flex;margin-top:20px;justify-content:flex-end;gap:8px}.ai-palette-modal-actions button{display:inline-flex;height:38px;align-items:center;justify-content:center;gap:5px;border-radius:6px;padding:0 14px;font-size:10px;font-weight:700}.ai-palette-modal-actions button:first-child{border:1px solid #d6e0e3;background:#fff;color:var(--ink-soft)}.ai-palette-modal-actions button:last-child{border:1px solid var(--brand);background:var(--brand);color:#fff}.ai-selected-elements{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ai-selected-elements>button{position:relative;min-width:0;min-height:78px;border:1px solid #dce5e7;border-radius:7px;background:#fff;padding:7px 4px}.ai-selected-elements>button>span{display:grid;height:42px;place-items:center}.ai-selected-elements>button>span img{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}.ai-selected-elements>button>small{display:block;overflow:hidden;color:var(--ink-soft);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.ai-selected-elements>button>i{position:absolute;top:-6px;right:-6px;display:grid;height:18px;width:18px;place-items:center;border-radius:50%;background:var(--brand-deep);color:#fff;font-style:normal}.ai-selected-elements>button.add{border-style:dashed;background:#fafcfc;color:var(--muted)}.ai-pattern-preview{position:relative;display:grid;flex:1;min-height:0;margin-top:8px;place-items:center;overflow:hidden;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:grab;border:1px solid #d8e2e5;border-radius:8px;background-color:#eef2f2;background-image:linear-gradient(45deg,#e3e9ea 25%,transparent 0),linear-gradient(-45deg,#e3e9ea 25%,transparent 0),linear-gradient(45deg,transparent 75%,#e3e9ea 0),linear-gradient(-45deg,transparent 75%,#e3e9ea 0);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px}.ai-pattern-preview.is-panning{cursor:grabbing}.ai-preview-viewport{position:absolute;inset:0;display:flex;padding:6px;align-items:center;justify-content:center;overflow:hidden;transform-origin:center center;will-change:transform}.ai-preview-viewport>img{display:block;height:auto;width:auto;max-height:88%;max-width:88%;-o-object-fit:contain;object-fit:contain;-o-object-position:center center;object-position:center center;margin:0;filter:drop-shadow(0 18px 30px rgba(23,63,94,.12));transform-origin:center center;transition:transform .16s ease,opacity .16s ease,filter .16s ease}.ai-generating-state,.ai-preview-empty{display:flex;flex-direction:column;align-items:center;color:var(--muted);text-align:center}.ai-generating-state>svg,.ai-preview-empty>svg{color:var(--brand)}.ai-generating-state strong,.ai-preview-empty strong{margin-top:13px;color:var(--brand-deep);font-size:14px}.ai-generating-state small,.ai-preview-empty small{margin-top:6px;font-size:9px}.ai-generating-state{width:min(360px,86%)}.ai-task-progress-bar{width:100%;height:6px;margin-top:17px;overflow:hidden;border-radius:999px;background:#dfe7e9}.ai-task-progress-bar i{display:block;height:100%;border-radius:inherit;background:var(--brand);transition:width .3s ease}.ai-generating-state>span{display:block;margin-top:8px;color:var(--muted);font-size:9px}.ai-preview-footer{position:relative;z-index:6;display:flex;min-height:60px;flex:0 0 auto;margin-top:8px;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #d9e3e5;background:#f3f6f6;padding-top:10px}.ai-preview-footer>label{display:flex;align-items:center;gap:7px;color:var(--ink-soft);font-size:10px}.ai-preview-footer>label input{position:absolute;opacity:0}.ai-preview-footer>label>span{display:grid;height:18px;width:18px;place-items:center;border:1px solid #bdcbd0;border-radius:4px;background:#fff;color:transparent}.ai-preview-footer>label input:checked+span{border-color:var(--success);background:var(--success);color:#fff}.ai-autosave{display:inline-flex;align-items:center;gap:6px;color:var(--success);font-size:10px;font-weight:700}.ai-preview-status{min-width:0;align-items:center}.ai-preview-error{max-width:min(34vw,360px);overflow:hidden;color:#b6404b;font-size:9px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.ai-preview-footer>div{display:flex;gap:8px}.ai-toast{position:fixed;top:84px;right:24px;z-index:220;display:grid;width:min(380px,calc(100vw - 32px));grid-template-columns:24px minmax(0,1fr) 28px;align-items:start;gap:10px;border:1px solid #efc9ce;border-radius:8px;background:#fff;padding:13px 12px;box-shadow:0 18px 50px rgba(72,25,33,.2);animation:ai-toast-in .22s ease-out}.ai-toast>svg{margin-top:1px;color:#c84351}.ai-toast strong{display:block;color:#9d303c;font-size:11px}.ai-toast span{display:block;margin-top:4px;color:#6f4c51;font-size:9px;line-height:1.55}.ai-toast button{display:grid;height:27px;width:27px;place-items:center;border:0;border-radius:5px;background:#f8eef0;color:#a33e49;padding:0}.ai-toast button:hover{background:#f3dfe2}@keyframes ai-toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.ai-primary-action,.ai-secondary-action{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:7px;border-radius:6px;padding:0 15px;font-size:10px;font-weight:750}.ai-primary-action{border:1px solid var(--brand);background:var(--brand);color:#fff;box-shadow:0 8px 18px rgba(45,115,168,.17)}.ai-primary-action:hover{background:var(--brand-strong)}.ai-secondary-action{border:1px solid #cfdbdf;background:#fff;color:var(--ink-soft)}.ai-primary-action:disabled,.ai-secondary-action:disabled{cursor:wait;opacity:.65}.ai-variant-list{display:grid;margin-top:8px;gap:9px}.ai-variant-list article{border:1px solid #dce5e7;border-radius:7px;background:#fff;padding:7px}.ai-variant-list article.active{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.ai-variant-preview{position:relative;display:grid;width:100%;aspect-ratio:1;place-items:center;overflow:hidden;border:0;border-radius:5px;background:#f1f4f4;padding:0}.ai-variant-preview img{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}.ai-variant-preview>svg{position:absolute;top:5px;right:5px;border-radius:50%;background:var(--brand);color:#fff}.ai-variant-list article>div{padding:7px 2px 5px}.ai-variant-list strong{display:block;color:var(--brand-deep);font-size:9px}.ai-variant-list small{display:block;margin-top:3px;overflow:hidden;color:var(--muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.ai-variant-list article>button:last-child{width:100%;height:28px;border:1px solid #d7e2e5;border-radius:5px;background:#f6f9f9;color:var(--brand-strong);font-size:9px;font-weight:700}.ai-variant-placeholder{min-height:176px;border:1px solid #e0e7e9;border-radius:7px;padding:7px}.ai-variant-placeholder i,.ai-variant-placeholder span{display:block;border-radius:5px;background:#e7edef;animation:ai-pulse 1.1s ease-in-out infinite alternate}.ai-variant-placeholder span{aspect-ratio:1}.ai-variant-placeholder i{width:62%;height:10px;margin-top:10px}.ai-batch-list{display:grid;margin-top:8px;gap:12px}.ai-batch-group{min-width:0;border-bottom:1px solid #e5ecee;padding-bottom:11px}.ai-batch-group:last-child{border-bottom:0;padding-bottom:0}.ai-batch-group>header,.ai-batch-skeleton>header{display:flex;min-height:20px;align-items:center;justify-content:space-between;gap:8px}.ai-batch-group>header strong{min-width:0;overflow:hidden;color:var(--brand-deep);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.ai-batch-group>header span{flex:0 0 auto;color:var(--muted);font-size:8px}.ai-batch-patterns{display:grid;margin-top:7px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ai-batch-patterns article{position:relative;min-width:0;border:1px solid #dce5e7;border-radius:7px;background:#fff;padding:5px}.ai-batch-patterns article.active{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.ai-batch-pattern-preview{position:relative;display:block;width:100%;aspect-ratio:1;overflow:hidden;border:0;border-radius:5px;background:#f1f4f4;padding:0}.ai-batch-pattern-preview img{display:block;height:100%;width:100%;-o-object-fit:contain;object-fit:contain}.ai-batch-pattern-preview svg{position:absolute;right:5px;bottom:5px;border-radius:50%;background:var(--brand);padding:2px;color:#fff}.ai-batch-patterns article>div{min-width:0;padding:6px 1px 1px}.ai-batch-patterns article>div strong{display:block;overflow:hidden;color:var(--ink-soft);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.ai-batch-patterns article>div small{display:block;margin-top:2px;color:var(--brand);font-size:8px;font-weight:750}.ai-batch-edit{position:absolute;top:9px;right:9px;display:grid;height:23px;width:23px;place-items:center;border:1px solid #d8e2e5;border-radius:5px;background:rgba(255,255,255,.92);color:var(--brand-strong);padding:0}.ai-batch-empty{display:flex;min-height:180px;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);text-align:center}.ai-batch-empty svg{color:var(--brand)}.ai-batch-empty strong{margin-top:9px;color:var(--brand-deep);font-size:10px}.ai-batch-empty small{margin-top:4px;font-size:8px}.ai-batch-skeleton{border:1px solid #e1e8ea;border-radius:7px;padding:7px}.ai-batch-skeleton>div b,.ai-batch-skeleton>header i,.ai-batch-skeleton>header span{display:block;border-radius:4px;background:#e7edef;animation:ai-pulse 1.1s ease-in-out infinite alternate}.ai-batch-skeleton>header i{width:82px;height:9px}.ai-batch-skeleton>header span{width:38px;height:8px}.ai-batch-skeleton>div{display:grid;margin-top:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ai-batch-skeleton>div b{aspect-ratio:1}.ai-editor-board{display:grid;min-height:0;flex:1;grid-template-columns:300px minmax(480px,1fr) 330px;background:#f4f7f7}.ai-selected-pattern{border-right:1px solid #dfe7e9;background:#fff;padding:16px}.ai-selected-thumb{position:relative;display:grid;aspect-ratio:1;place-items:center;overflow:hidden;border-radius:7px;background:#f0f4f4}.ai-selected-thumb img{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}.ai-selected-thumb>span{position:absolute;top:8px;right:8px;display:grid;height:24px;width:24px;place-items:center;border-radius:50%;background:var(--brand);color:#fff}.ai-editor-outline-button{display:flex;width:100%;min-height:38px;margin-top:8px;align-items:center;justify-content:center;gap:7px;border:1px solid #d8e3e6;border-radius:6px;background:#f8fbfb;color:var(--brand-strong);font-size:10px;font-weight:700}.ai-editor-prompt-head{display:flex;margin-top:20px;align-items:center;justify-content:space-between}.ai-editor-prompt-head strong{color:var(--brand-deep);font-size:11px}.ai-editor-prompt-head span{display:inline-flex;align-items:center;gap:4px;color:var(--brand);font-size:9px}.ai-selected-pattern textarea{width:100%;min-height:112px;margin-top:8px;resize:vertical;border:1px solid #d8e2e5;border-radius:7px;outline:0;padding:10px;color:var(--ink);font-size:10px;line-height:1.7}.ai-selected-pattern .ai-character-count{position:static;display:block;margin-top:-16px;padding-right:8px;text-align:right}.ai-regenerate-button{display:flex;width:100%;height:40px;margin-top:13px;align-items:center;justify-content:center;gap:6px;border:0;border-radius:6px;background:var(--brand);color:#fff;font-size:10px;font-weight:750}.ai-inline-task-status{margin-top:10px;border-radius:6px;background:var(--brand-soft);padding:9px 10px;color:var(--brand-strong);font-size:9px}.ai-inline-task-status>div{height:5px;overflow:hidden;border-radius:999px;background:#d8e7ed}.ai-inline-task-status>div i{display:block;height:100%;border-radius:inherit;background:var(--brand);transition:width .3s ease}.ai-inline-task-status>span{display:block;margin-top:7px}.ai-pattern-editor{display:flex;min-width:0;min-height:0;flex-direction:column}.ai-editor-toolbar{display:flex;min-height:54px;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe7e9;background:#fff;padding:0 16px}.ai-editor-toolbar>div{display:flex;align-items:center;gap:5px}.ai-editor-toolbar button{display:inline-flex;min-height:32px;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:5px;background:transparent;padding:0 8px;color:var(--ink-soft);font-size:9px}.ai-editor-toolbar button.active,.ai-editor-toolbar button:hover{border-color:#c9d8dc;background:var(--brand-soft);color:var(--brand-strong)}.ai-editor-toolbar button:disabled{cursor:not-allowed;opacity:.35}.ai-editor-toolbar>div>i{height:24px;width:1px;background:#e0e7e9}.ai-editor-toolbar>span{color:var(--muted);font-size:9px}.ai-editor-canvas{position:relative;display:grid;flex:1;min-height:0;place-items:center;overflow:hidden;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:grab;background-color:#eef2f2;background-image:linear-gradient(45deg,#e3e9ea 25%,transparent 0),linear-gradient(-45deg,#e3e9ea 25%,transparent 0),linear-gradient(45deg,transparent 75%,#e3e9ea 0),linear-gradient(-45deg,transparent 75%,#e3e9ea 0);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px}.ai-editor-canvas.is-panning{cursor:grabbing}.ai-editor-version-bar{display:flex;min-height:76px;flex:0 0 auto;align-items:center;gap:11px;overflow-x:auto;border-top:1px solid #dfe7e9;background:#fff;padding:8px 14px}.ai-editor-version-bar>span{flex:0 0 auto;color:var(--muted);font-size:9px;font-weight:700}.ai-editor-version-list{display:flex;min-width:0;align-items:center;gap:8px}.ai-editor-version-list button{position:relative;width:54px;flex:0 0 auto;overflow:hidden;border:1px solid #d7e2e5;border-radius:6px;background:#f1f4f4;padding:0;cursor:pointer}.ai-editor-version-list button:hover{border-color:#89adbc}.ai-editor-version-list button.active{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.ai-editor-version-list img{display:block;width:100%;aspect-ratio:1;-o-object-fit:contain;object-fit:contain}.ai-editor-version-list span{display:block;border-top:1px solid #e0e7e9;background:#f8fbfb;padding:3px 0;color:var(--brand-strong);font-size:8px;font-weight:750;text-align:center}.ai-editor-pattern-viewport{position:absolute;inset:0;display:grid;place-items:center;transform-origin:center;will-change:transform}.ai-editor-pattern-surface{position:relative;height:76%;width:76%;transform-origin:center;transition:transform .16s ease,opacity .16s ease,filter .16s ease}.ai-editor-pattern-surface>img{position:absolute;inset:0;display:block;height:100%;width:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;transform-origin:center}.ai-editor-brush-canvas{position:absolute;inset:0;height:100%;width:100%;pointer-events:none;touch-action:none}.ai-editor-brush-canvas.is-active{z-index:3;pointer-events:auto;cursor:crosshair}.ai-editor-tiled{height:76%;width:76%;border:1px solid #cdd9dc;background-repeat:repeat;transform-origin:center;transition:transform .16s ease,opacity .16s ease}.ai-editor-size{right:12px;color:var(--ink-soft)}.ai-editor-interaction-hint,.ai-editor-size{position:absolute;bottom:10px;border-radius:5px;background:rgba(255,255,255,.9);padding:5px 8px;font-size:8px}.ai-editor-interaction-hint{left:12px;display:inline-flex;align-items:center;gap:5px;color:var(--muted);pointer-events:none}.ai-editor-controls{border-left:1px solid #dfe7e9;background:#fff;padding:13px}.ai-editor-tabs{display:grid;grid-template-columns:repeat(6,1fr);border-bottom:1px solid #e4eaec;padding-bottom:9px}.ai-editor-tabs button{display:flex;height:42px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:8px}.ai-editor-tabs button.active{background:var(--brand-soft);color:var(--brand-strong);font-weight:700}.ai-control-section{padding:14px 0}.ai-control-section h4{margin:0 0 12px;color:var(--brand-deep);font-size:11px}.ai-transform-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.ai-transform-grid button{display:flex;min-height:58px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #dce5e7;border-radius:6px;background:#fff;color:var(--ink-soft)}.ai-transform-grid button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.ai-transform-grid small{font-size:8px}.ai-range{display:block;margin-top:16px}.ai-range>span{display:flex;align-items:center;justify-content:space-between;color:var(--ink-soft);font-size:9px}.ai-range strong{color:var(--brand-deep);font-size:9px}.ai-range input{width:100%;margin-top:8px;accent-color:var(--brand)}.ai-tint-grid{display:flex;flex-wrap:wrap;gap:8px}.ai-tint-grid button{display:grid;height:34px;width:34px;place-items:center;border:1px solid #d4dfe2;border-radius:6px;background:#fff;color:var(--ink-soft);font-size:8px}.ai-tint-grid button.active{outline:2px solid var(--brand);outline-offset:2px}.ai-color-input{display:flex;margin-top:15px;align-items:center;justify-content:space-between;color:var(--ink-soft);font-size:9px}.ai-color-input input{height:34px;width:46px;border:1px solid #d5e0e3;border-radius:6px;background:#fff;padding:3px}.ai-filter-list{display:grid;gap:6px}.ai-filter-list button{display:grid;min-height:42px;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:8px;border:1px solid #dce5e7;border-radius:6px;background:#fff;padding:5px 7px;color:var(--ink-soft);font-size:9px;text-align:left}.ai-filter-list button.active{border-color:var(--brand);color:var(--brand-strong)}.ai-filter-sample{height:30px;width:38px;border-radius:5px;background:linear-gradient(135deg,#e2799c,#e2ca67,#5a9dc2)}.ai-edit-element-list{display:grid;gap:6px}.ai-edit-element-list button{display:grid;min-height:42px;grid-template-columns:28px 1fr 16px;align-items:center;gap:7px;border:1px solid #dce5e7;border-radius:6px;background:#fff;padding:6px 8px;color:var(--ink-soft);text-align:left}.ai-edit-element-list strong{font-size:9px}.ai-effect-toggle{display:grid;width:100%;min-height:54px;grid-template-columns:24px 1fr 28px;align-items:center;gap:7px;border:1px solid #dce5e7;border-radius:6px;background:#fff;padding:8px;color:var(--ink-soft);text-align:left}.ai-effect-toggle+.ai-effect-toggle{margin-top:7px}.ai-effect-toggle.active{border-color:var(--brand);background:var(--brand-soft)}.ai-effect-toggle strong{display:block;color:var(--brand-deep);font-size:9px}.ai-effect-toggle small{display:block;margin-top:3px;color:var(--muted);font-size:8px}.ai-effect-toggle>i{position:relative;height:18px;width:28px;border-radius:999px;background:#ced8dc}.ai-effect-toggle>i:after{position:absolute;top:3px;left:3px;height:12px;width:12px;border-radius:50%;background:#fff;content:"";transition:.18s ease}.ai-effect-toggle.active>i{background:var(--brand)}.ai-effect-toggle.active>i:after{left:13px}.ai-brush-settings{display:grid;margin-top:14px;gap:15px}.ai-brush-settings>label{display:block;color:var(--ink-soft);font-size:9px;font-weight:700}.ai-brush-settings>label>span{display:flex;align-items:center;justify-content:space-between}.ai-brush-settings>label strong{color:var(--brand-deep);font-size:9px}.ai-brush-settings>label>div{display:flex;margin-top:8px;align-items:center;gap:7px}.ai-brush-settings>label>div>button{height:28px;width:28px;border:1px solid #cad6da;border-radius:6px}.ai-brush-settings>label>div>button.active{outline:2px solid var(--brand);outline-offset:2px}.ai-brush-settings input[type=color]{height:30px;width:40px;border:1px solid #d5e0e3;border-radius:6px;background:#fff;padding:3px}.ai-brush-settings input[type=range]{width:100%;margin-top:8px;accent-color:var(--brand)}.ai-brush-shapes{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:6px;color:var(--ink-soft);font-size:9px;font-weight:700}.ai-brush-shapes>span{grid-column:1/-1}.ai-brush-shapes button{display:inline-flex;height:34px;align-items:center;justify-content:center;gap:5px;border:1px solid #d7e2e5;border-radius:6px;background:#fff;color:var(--ink-soft);font-size:9px}.ai-brush-shapes button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.ai-brush-note{margin:10px 0 0;color:var(--muted);font-size:9px;line-height:1.55}.ai-editor-variants{border-top:1px solid #e4eaec;padding-top:13px}.ai-editor-variants>div:first-child{display:flex;align-items:center;justify-content:space-between;color:var(--brand-deep);font-size:10px}.ai-editor-variants>div:first-child span{color:var(--muted);font-size:8px}.ai-editor-variants>div:last-child{display:grid;margin-top:8px;grid-template-columns:repeat(4,1fr);gap:6px}.ai-editor-variants button{overflow:hidden;aspect-ratio:1;border:1px solid #dce5e7;border-radius:5px;background:#f2f5f5;padding:0}.ai-editor-variants button.active{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.ai-editor-variants img{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}.ai-editor-actions{display:grid;margin-top:14px;gap:7px}.ai-editor-actions .ai-primary-action,.ai-editor-actions .ai-secondary-action{width:100%}@media (max-width:1320px){.ai-board{grid-template-columns:170px 315px minmax(380px,1fr) 205px}.ai-editor-board{grid-template-columns:270px minmax(430px,1fr) 300px}}@media (max-width:1080px){.ai-board{grid-template-columns:165px 300px minmax(0,1fr);overflow-y:auto}.ai-variants-panel{grid-column:1/-1;max-height:190px;border-top:1px solid #dfe7e9;border-left:0}.ai-variant-list{display:flex;overflow-x:auto}.ai-variant-list article,.ai-variant-placeholder{min-width:150px}.ai-editor-board{grid-template-columns:250px minmax(390px,1fr) 280px}}@media (max-width:820px){.ai-workbench-backdrop{padding:6px}.ai-workbench{width:calc(100vw - 12px);height:96vh}.ai-workbench-head{grid-template-columns:1fr auto}.ai-workbench-head-actions>a:not(.ai-wallet-chip),.ai-workbench-mode-switch{display:none}.ai-board,.ai-editor-board{display:block;overflow-y:auto}.ai-brief-panel,.ai-editor-controls,.ai-library-panel,.ai-preview-panel,.ai-selected-pattern,.ai-variants-panel{overflow:visible;border-right:0;border-bottom:1px solid #dfe7e9}.ai-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ai-library-categories{flex-wrap:nowrap;overflow-x:auto}.ai-library-categories button{flex:0 0 auto}.ai-preview-panel{padding-bottom:14px}.ai-preview-footer{position:static;padding-top:12px;border-top:0}.ai-pattern-preview{min-height:420px}.ai-preview-footer{align-items:stretch;flex-direction:column}.ai-preview-footer>div{display:grid;grid-template-columns:1fr 1fr}.ai-preview-footer>.ai-preview-status{display:flex}.ai-preview-error{max-width:52vw}.ai-toast{top:70px;right:16px}.ai-variant-list{display:grid;grid-template-columns:repeat(2,1fr)}.ai-editor-canvas{min-height:440px}.ai-editor-toolbar>span{display:none}.ai-editor-tabs button{font-size:7px}}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(380px,.7fr);background:#f3f6f6}.login-cover{position:relative;min-height:100vh;overflow:hidden;background-color:#eaf1f2;background-image:linear-gradient(90deg,rgba(237,245,246,.96),rgba(237,245,246,.74) 38%,rgba(23,63,94,.12)),url(/cloth-diy.jpg);background-position:25%;background-size:cover}.login-cover:after{position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(23,63,94,.1));content:"";pointer-events:none}.login-cover-brand{position:absolute;z-index:2;top:34px;left:clamp(24px,5vw,68px);display:inline-flex;align-items:center;gap:10px;color:var(--brand-deep);text-decoration:none}.login-cover-logo{height:36px;width:36px;border-radius:7px;background:#fff;-o-object-fit:contain;object-fit:contain;box-shadow:0 8px 20px rgba(23,63,94,.1)}.login-cover-brand>span{display:flex;flex-direction:column}.login-cover-brand strong{font-size:15px}.login-cover-brand small{margin-top:1px;color:var(--ink-soft);font-size:10px;font-weight:650}.login-cover-content{position:absolute;z-index:1;bottom:12%;left:clamp(24px,5vw,68px);max-width:500px;color:var(--brand-deep)}.login-kicker{color:var(--brand);font-size:11px;font-weight:800;letter-spacing:.17em}.login-cover-content h1{margin:13px 0 0;font-size:clamp(32px,4vw,56px);line-height:1.12;letter-spacing:0}.login-cover-content p{max-width:420px;margin:14px 0 0;color:#405e72;font-size:17px;line-height:1.7}.login-cover-points{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px}.login-cover-points span{border:1px solid rgba(45,115,168,.22);border-radius:999px;background:rgba(255,255,255,.7);padding:7px 11px;color:var(--brand-strong);font-size:11px;font-weight:700;backdrop-filter:blur(8px)}.login-panel{display:flex;min-height:100vh;flex-direction:column;justify-content:center;background:#fff;padding:30px clamp(26px,5vw,76px)}.login-back-link{align-self:flex-start;color:var(--muted);font-size:12px;text-decoration:none;transition:color .18s ease}.login-back-link:hover{color:var(--brand-strong)}.login-panel-inner{width:min(400px,100%);margin:11vh auto 0}.login-mark{display:block;height:52px;width:52px;border-radius:8px;background:#fff;-o-object-fit:contain;object-fit:contain;box-shadow:0 10px 24px rgba(23,63,94,.12)}.login-eyebrow{margin:27px 0 0;color:var(--brand);font-size:10px;font-weight:800;letter-spacing:.18em}.login-panel h2{margin:9px 0 0;color:var(--brand-deep);font-size:30px;letter-spacing:0}.login-description{margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.8}.login-error{margin-top:20px;border:1px solid #f0c8cd;border-radius:7px;background:#fff6f7;padding:11px 12px;color:#b83345;font-size:12px;line-height:1.6}.login-error small{display:block;margin-top:5px;color:#a56a73;font-size:10px}.login-button{display:flex;min-height:48px;align-items:center;justify-content:space-between;margin-top:28px;border-radius:6px;background:var(--brand);padding:13px 16px;color:#fff;font-size:13px;font-weight:750;text-decoration:none;box-shadow:0 9px 20px rgba(45,115,168,.2);transition:background .18s ease,transform .18s ease}.login-button:hover{background:var(--brand-strong);transform:translateY(-1px)}.login-button span{font-size:18px;line-height:1}.login-note{margin:18px 0 0;color:#a1adba;font-size:10px;line-height:1.6}@media (max-width:820px){.login-page{display:block}.login-cover{min-height:46vh;background-position:28%}.login-cover-brand{top:20px;left:20px}.login-cover-brand small{display:none}.login-cover-content{right:24px;bottom:24px;left:24px}.login-cover-content h1{font-size:34px}.login-cover-content p{margin-top:8px;font-size:13px}.login-cover-points{margin-top:13px}.login-panel{min-height:54vh;padding:22px 24px 36px}.login-panel-inner{margin:30px auto 0}}.home-login-prompt{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:rgba(8,25,42,.56);padding:20px}.home-login-prompt>div{width:min(420px,100%);border-radius:8px;background:#fff;padding:28px;text-align:center;box-shadow:0 28px 80px rgba(2,14,29,.3)}.home-login-prompt-logo{height:54px;width:54px;border-radius:8px;-o-object-fit:contain;object-fit:contain}.home-login-prompt h2{margin:16px 0 0;color:var(--brand-deep);font-size:21px}.home-login-prompt p{margin:10px auto 0;max-width:320px;color:var(--muted);font-size:12px;line-height:1.75}.home-login-prompt>div>div{display:grid;margin-top:22px;grid-template-columns:1fr 1fr;gap:9px}.home-login-prompt a,.home-login-prompt button{display:inline-flex;height:42px;align-items:center;justify-content:center;gap:6px;border-radius:6px;font-size:12px;font-weight:700;text-decoration:none}.home-login-prompt button{border:1px solid #d5e0e3;background:#fff;color:var(--ink-soft)}.home-login-prompt a{border:1px solid var(--brand);background:var(--brand);color:#fff}.pattern-library-page{min-height:100vh;background:#f3f6f6;color:var(--ink)}.pattern-library-header{position:sticky;top:0;z-index:30;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}.pattern-library-header>div{display:flex;width:min(1240px,calc(100% - 40px));height:72px;margin:0 auto;align-items:center;justify-content:space-between}.pattern-library-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}.pattern-library-logo{height:38px;width:38px;border-radius:7px;-o-object-fit:contain;object-fit:contain}.pattern-library-brand>span{display:flex;flex-direction:column}.pattern-library-brand strong{color:var(--brand-deep);font-size:17px}.pattern-library-brand small{margin-top:2px;color:var(--muted);font-size:8px;font-weight:750;letter-spacing:.13em}.pattern-library-header nav{display:flex;align-items:center;gap:18px}.pattern-library-header nav a{display:inline-flex;align-items:center;gap:5px;color:var(--ink-soft);font-size:12px;font-weight:650;text-decoration:none}.pattern-library-header nav a:hover{color:var(--brand-strong)}.pattern-library-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;border-bottom:1px solid #dce6e8;background:#eaf2f4;padding:58px max(20px,calc((100vw - 1240px) / 2))}.pattern-library-hero p{margin:0;color:var(--brand);font-size:10px;font-weight:800;letter-spacing:.18em}.pattern-library-hero h1{margin:10px 0 0;color:var(--brand-deep);font-size:38px}.pattern-library-hero span{display:block;margin-top:10px;color:var(--ink-soft);font-size:13px}.pattern-library-empty a,.pattern-library-empty button,.pattern-library-hero>a,.pattern-library-hero>button,.pattern-library-title>a,.pattern-library-title>button{display:inline-flex;height:43px;align-items:center;justify-content:center;gap:7px;border:1px solid var(--brand);border-radius:6px;background:var(--brand);padding:0 17px;color:#fff;font-size:12px;font-weight:750;box-shadow:0 8px 19px rgba(45,115,168,.16);text-decoration:none}.pattern-library-content{width:min(1240px,calc(100% - 40px));margin:0 auto;padding:38px 0 72px}.pattern-library-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.pattern-library-title h2{margin:0;color:var(--brand-deep);font-size:23px}.pattern-library-title p{margin:6px 0 0;color:var(--muted);font-size:11px}.pattern-library-title>a,.pattern-library-title>button{border-color:#cfdce0;background:#fff;color:var(--brand-strong);box-shadow:none}.pattern-library-grid{display:grid;margin-top:24px;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.pattern-library-grid>article{overflow:hidden;border:1px solid #dce5e8;border-radius:8px;background:#fff;box-shadow:0 8px 26px rgba(23,63,94,.045);transition:.18s ease}.pattern-library-grid>article:hover{transform:translateY(-2px);border-color:#c5d6db;box-shadow:0 14px 32px rgba(23,63,94,.08)}.pattern-library-image{display:grid;aspect-ratio:1;place-items:center;overflow:hidden;background-color:#eef2f2;background-image:linear-gradient(45deg,#e3e9ea 25%,transparent 0),linear-gradient(-45deg,#e3e9ea 25%,transparent 0),linear-gradient(45deg,transparent 75%,#e3e9ea 0),linear-gradient(-45deg,transparent 75%,#e3e9ea 0);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.pattern-library-image img{height:92%;width:92%;-o-object-fit:contain;object-fit:contain;transform:scale(1);transform-origin:center;transition:transform .32s cubic-bezier(.2,.72,.3,1);will-change:transform}.pattern-library-grid>article:hover .pattern-library-image img{transform:scale(1.08)}.pattern-library-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:13px 14px 9px}.pattern-library-meta strong{display:block;color:var(--brand-deep);font-size:12px}.pattern-library-meta small{display:block;margin-top:4px;color:var(--muted);font-size:9px}.pattern-library-meta>button{display:grid;height:28px;width:28px;flex:0 0 28px;place-items:center;border:1px solid #dae3e6;border-radius:5px;background:#fff;color:#8898a2}.pattern-library-meta>button:hover{border-color:#e6bdc2;background:#fff6f7;color:#be4b57}.pattern-version-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 14px 9px;border-radius:5px;background:#f2f6f7;padding:7px 9px}.pattern-version-row span{display:inline-flex;align-items:center;gap:5px;color:var(--brand-strong);font-size:9px;font-weight:750}.pattern-version-row small{color:var(--muted);font-size:8px}.pattern-library-skeleton{overflow:hidden;min-height:330px;border:1px solid #e0e7e9;border-radius:8px;background:#fff;padding:12px}.pattern-library-skeleton i,.pattern-library-skeleton span{display:block;border-radius:6px;background:#e8edee;animation:customer-skeleton 1.1s ease-in-out infinite alternate}.pattern-library-skeleton span{aspect-ratio:1}.pattern-library-skeleton i{width:62%;height:12px;margin-top:14px}.pattern-library-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:0 14px 14px}.pattern-library-actions a,.pattern-library-actions button{display:inline-flex;height:34px;align-items:center;justify-content:center;gap:5px;border-radius:5px;font-size:9px;font-weight:700;text-decoration:none}.pattern-library-actions button{border:1px solid var(--brand);background:var(--brand);color:#fff}.pattern-library-actions a{border:1px solid #d5e0e3;background:#fff;color:var(--ink-soft)}.pattern-library-empty{display:flex;min-height:390px;margin-top:24px;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #bfcfd4;border-radius:8px;background:#fff;text-align:center}.pattern-library-empty>span{display:grid;height:58px;width:58px;place-items:center;border-radius:50%;background:var(--brand-pinkSoft);color:var(--brand-pink)}.pattern-library-empty h3{margin:16px 0 0;color:var(--brand-deep);font-size:17px}.pattern-library-empty p{max-width:400px;margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.7}.pattern-library-empty button{margin-top:18px}.pattern-library-toast{position:fixed;top:86px;left:50%;z-index:120;transform:translateX(-50%);border:1px solid #b9ddce;border-radius:6px;background:#f2fff8;padding:10px 15px;color:var(--success);font-size:11px;font-weight:700;box-shadow:0 12px 30px rgba(35,134,101,.12)}@media (max-width:960px){.pattern-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.pattern-library-header>div{width:calc(100% - 28px)}.pattern-library-header nav a:first-child{display:none}.pattern-library-hero{align-items:flex-start;flex-direction:column;padding:38px 18px}.pattern-library-hero h1{font-size:30px}.pattern-library-content{width:calc(100% - 28px);padding-top:28px}.pattern-library-title{align-items:flex-start;flex-direction:column}.pattern-library-grid{grid-template-columns:1fr}}