html[data-theme="light"]{--theme-bg:#f4f7fb;--theme-surface:#fff;--theme-raised:#e8f0fb;--theme-text:#152e48;--theme-muted:#52677e;--theme-line:#c7d5e5;--theme-accent:#0967bf;--theme-button:#0866c4;--theme-input:#fff}
html[data-theme="sage"]{--theme-bg:#f4f5ef;--theme-surface:#fffef9;--theme-raised:#e6eee4;--theme-text:#203c31;--theme-muted:#50685b;--theme-line:#c4d3c5;--theme-accent:#337250;--theme-button:#337250;--theme-input:#fffef9}
html[data-theme="sand"]{--theme-bg:#f7f2ea;--theme-surface:#fffcf7;--theme-raised:#eee2d2;--theme-text:#40382e;--theme-muted:#74624e;--theme-line:#d8c9b7;--theme-accent:#926026;--theme-button:#8b5928;--theme-input:#fffdf9}
html[data-theme="graphite"]{--theme-bg:#191c20;--theme-surface:#23282e;--theme-raised:#2c333b;--theme-text:#f2f4f7;--theme-muted:#b5bfca;--theme-line:#46515d;--theme-accent:#93b9e6;--theme-button:#365f90;--theme-input:#1c2228}
html[data-theme]:not([data-theme="original"]) .process{color:var(--theme-text)}
html[data-theme]:not([data-theme="original"]) .tier strong,
html[data-theme]:not([data-theme="original"]) .selected-price,
html[data-theme]:not([data-theme="original"]) .price{color:var(--theme-text)}
.palette-preview{position:sticky;top:0;z-index:50;background:var(--theme-surface,#102b43);color:var(--theme-text,#eef5fc);border-bottom:1px solid var(--theme-line,#29445e);padding:10px 24px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;font:13px/1.4 Arial,sans-serif;box-shadow:0 3px 15px #0000000c}
.palette-preview>span{font-weight:600}.palette-options{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.palette-option{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--theme-line,#29445e);border-radius:24px;background:transparent;color:inherit;font:inherit;cursor:pointer}.palette-option[aria-pressed="true"]{border-color:var(--theme-accent,#5db5ff);box-shadow:0 0 0 1px var(--theme-accent,#5db5ff);font-weight:700}.palette-option i{width:13px;height:13px;border-radius:50%;background:var(--swatch);border:1px solid #8888}.palette-option:focus-visible{outline:2px solid var(--theme-accent,#5db5ff);outline-offset:3px}
@media(max-width:650px){.palette-preview{position:relative;padding:10px 12px;gap:8px}.palette-option{font-size:11px;padding:7px 9px}}
