.ab{--navy:#14213a;--orange:#c2410c;--line:#e4ded2;--muted:#4a5568;--sand:#f1ece2;color:var(--navy);font-family:var(--font-body--family,Inter,Arial,sans-serif);background:#f6f3ec;padding:36px 0 64px}
.ab *,.ab *::before,.ab *::after{box-sizing:border-box}
.ab-wrap{max-width:1320px;margin:0 auto;padding:0 24px}
.ab-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;flex-wrap:wrap}
.ab-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);margin:0 0 10px}
.ab h1{font-size:clamp(32px,4vw,48px);font-weight:800;letter-spacing:-.03em;line-height:1.05;margin:0;color:var(--navy)}
.ab-sub{color:var(--muted);margin:10px 0 0;font-size:16px;max-width:560px;line-height:1.6}
.ab-ready{display:flex;gap:8px;align-items:center;background:#eef6f0;border:1px solid #cfe5d6;color:#1d4d31;border-radius:999px;padding:9px 16px;font-size:14px;font-weight:600}
.ab-ready svg{width:16px;height:16px;color:#2f7a4b}
.ab-grid{display:grid;grid-template-columns:340px minmax(0,1fr) 340px;gap:18px;align-items:start}
.ab-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}
.ab-step{margin:0 0 22px}
.ab-step:last-child{margin-bottom:0}
.ab h2{font-size:15px;font-weight:800;margin:0 0 12px;display:flex;align-items:center;gap:10px;color:var(--navy)}
.ab h2 b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fde8dd;color:var(--orange);font-size:12px}
.ab-group{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:10px 0 8px}
.ab-garment-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ab-garment{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px 9px;border:1.5px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;font:inherit;color:var(--navy);text-align:center;min-height:0;line-height:1.25}
.ab-garment:hover{border-color:#b9ae9a}
.ab-garment[aria-pressed=true]{border-color:var(--navy);box-shadow:0 0 0 1px var(--navy);background:#f8f6f1}
.ab-garment-art{width:56px;height:62px;display:block}
.ab-garment-art svg{width:100%;height:100%}
.ab-garment-name{font-size:12px;font-weight:700}
.ab-garment-price{font-size:11.5px;color:var(--muted)}
.ab-color-label{font-size:13px;color:var(--muted);margin:-4px 0 10px}
.ab-color-label strong{color:var(--navy)}
.ab-swatches{display:flex;flex-wrap:wrap;gap:8px}
.ab-swatch{width:30px;height:30px;border-radius:50%;background:var(--sw);border:1px solid rgba(20,33,58,.25);cursor:pointer;padding:0;position:relative;min-height:0}
.ab-swatch[aria-checked=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--navy)}
.ab-spot{border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:10px}
.ab-spot-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:14px;margin-bottom:8px}
.ab-spot-cost{font-size:12px;color:var(--muted)}
.ab-file{display:block;position:relative;border:1.5px dashed #d6a48a;background:#fff8f3;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:700;color:var(--orange);cursor:pointer;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ab-file input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.ab-spot-controls{margin-top:10px}
.ab-spot-controls label{display:block;font-size:12px;font-weight:700}
.ab-spot-controls output{float:right;font-weight:700}
.ab-spot-controls input[type=range]{width:100%;accent-color:var(--orange);margin:8px 0 0;min-height:24px}
.ab-dpi{font-size:12px;margin:6px 0 8px}
.ab-dpi[data-level=low]{color:#b42318;font-weight:700}
.ab-dpi[data-level=ok]{color:#8a5a00}
.ab-dpi[data-level=good]{color:#26704a}
.ab-spot-actions{display:flex;gap:6px}
.ab button.ab-sm,.ab-spot-actions button,.ab-views button{font:inherit;font-size:12px;font-weight:700;border:1px solid var(--line);background:#fff;color:var(--navy);border-radius:6px;padding:7px 12px;cursor:pointer;min-height:34px}
.ab-spot-actions button:hover,.ab-views button:hover{border-color:var(--navy)}
.ab-tip{font-size:12.5px;color:var(--muted);line-height:1.55;margin:10px 0 0}
.ab-preview{position:sticky;top:96px}
.ab-preview-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}
.ab-views{display:flex;gap:6px;justify-content:center;margin-bottom:10px}
.ab-views button[aria-pressed=true]{background:var(--navy);color:#fff;border-color:var(--navy)}
.ab-stage{position:relative;width:100%;max-width:560px;margin:0 auto;aspect-ratio:400/460;background:radial-gradient(circle at 50% 40%,#fff 0%,#efe9de 75%);border-radius:10px;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.ab-garment-svg,.ab-garment-svg svg{position:absolute;inset:0;width:100%;height:100%}
.ab-area{position:absolute;border:1.5px dashed var(--line);border-radius:3px;display:grid;place-items:center}
.ab-area[data-filled=true]{border-color:transparent}
.ab-stage:hover .ab-area[data-filled=true]{border-color:var(--line)}
.ab-area-hint{font-size:11px;font-weight:700;color:var(--line);text-align:center;padding:4px;pointer-events:none}
.ab-design{position:absolute;max-width:none;cursor:grab;touch-action:none;-webkit-user-drag:none}
.ab-design.is-dragging{cursor:grabbing;outline:2px solid var(--orange);outline-offset:2px}
.ab-design:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.ab-caption{text-align:center;font-size:12px;color:var(--muted);margin:10px 0 0}
.ab-sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ab-size{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;text-align:center}
.ab-size input{width:100%;font:inherit;font-size:16px;text-align:center;border:1px solid #d6cfc1;border-radius:8px;padding:10px 6px;color:var(--navy);background:#fff}
.ab-size input:focus,.ab textarea:focus{outline:2px solid var(--orange);outline-offset:1px}
.ab-moq{margin:12px 0 0;padding:10px 12px;border-radius:8px;font-size:13px;font-weight:700;background:#fff4e5;color:#8a4b00}
.ab-moq[data-ok=true]{background:#eef6f0;color:#1d5c3a}
.ab-price{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}
.ab-unit{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.ab-unit strong{font-size:30px;font-weight:800;letter-spacing:-.02em}
.ab-unit span{font-size:13px;color:var(--muted)}
.ab-subtotal{display:flex;justify-content:space-between;font-size:15px;margin:10px 0 4px}
.ab-subtotal strong{font-size:18px}
.ab-next{font-size:13px;color:var(--orange);font-weight:700;margin:4px 0 0;min-height:1em}
.ab-tiers{width:100%;border-collapse:collapse;font-size:13px;margin:12px 0 6px}
.ab-tiers th{text-align:left;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:700;padding:4px 6px;border-bottom:1px solid var(--line)}
.ab-tiers td{padding:6px;border-bottom:1px solid #f1ede5}
.ab-tiers tr[data-current=true] td{background:#fdf0e8;font-weight:800}
.ab-small{font-size:12px;color:var(--muted);line-height:1.5;margin:4px 0 0}
.ab textarea{width:100%;font:inherit;font-size:14px;border:1px solid #d6cfc1;border-radius:8px;padding:10px 12px;color:var(--navy);margin-top:6px;background:#fff}
.ab-notes-label{display:block;font-size:13px;font-weight:700;margin-top:16px}
.ab-validation{font-size:13px;margin:14px 0 0;color:#8a4b00;line-height:1.5}
.ab-validation[data-ok=true]{color:#1d5c3a}
.ab-approve{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.45;margin:12px 0}
.ab-approve input{width:18px;height:18px;flex:none;margin-top:1px;accent-color:var(--orange)}
.ab-add{width:100%;min-height:52px;border:0;border-radius:8px;background:var(--orange);color:#fff;font:inherit;font-size:16px;font-weight:800;cursor:pointer}
.ab-add:hover{background:#a8380a}
.ab-add:disabled{opacity:.5;cursor:not-allowed}
.ab-status{font-size:13px;color:var(--orange);min-height:1.2em;margin:10px 0 0}
.ab-assure{list-style:none;padding:14px 0 0;margin:14px 0 0;border-top:1px solid var(--line);display:grid;gap:8px;font-size:13px}
.ab-assure a{font-weight:700;text-decoration:none;color:inherit}
.ab-busy{pointer-events:none;opacity:.7}
.ab [hidden]{display:none!important}
.ab :focus-visible{outline:3px solid var(--orange);outline-offset:2px}
@media (max-width:1180px){.ab-grid{grid-template-columns:320px minmax(0,1fr)}.ab-right{grid-column:1/-1}.ab-preview{position:static}}
@media (max-width:760px){
 .ab{padding:24px 0 48px}.ab-wrap{padding:0 14px}.ab-grid{display:flex;flex-direction:column}
 .ab-preview{order:1;width:100%}.ab-left{order:2}.ab-right{order:3}.ab-panel{padding:18px}.ab-preview-card{padding:10px}.ab-stage{max-width:380px}
 .ab-garment-row{grid-template-columns:repeat(3,1fr)}.ab-sizes{grid-template-columns:repeat(4,1fr)}
}
