/* PROTOTYPE — throwaway styles. Sections: tokens/chrome, store header, A, B, C, D. */
:root {
  --bg: #ffffff; --fg: #111111; --muted: #6f6f6f; --line: #e4e4e4; --soft: #f5f5f3;
  --off: #c4c4c4; --accent: #111; --ok: #1b7a3a; --warn: #b4441b; --hatch: #f1f1f1;
  --proto-bg: #1d1f24; --proto-fg: #e9eaee; --proto-accent: #ffd34d;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font: 14px/1.45 var(--font); }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.loading { padding: 80px 16px; text-align: center; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.loading.err { color: var(--warn); text-transform: none; letter-spacing: 0; font-size: 14px; }

/* ---------- prototype chrome */
#proto-bar { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 8px 16px; background: var(--proto-bg); color: var(--proto-fg); font: 12px/1.3 ui-monospace, Menlo, Consolas, monospace; }
#proto-bar label { display: flex; gap: 6px; align-items: center; }
#proto-bar select, #proto-bar input { background: #2b2e35; border: 1px solid #444852; color: var(--proto-fg); border-radius: 4px; padding: 3px 6px; max-width: 280px; }
#proto-bar form { display: flex; gap: 4px; }
#proto-bar button { background: #2b2e35; border: 1px solid #444852; color: var(--proto-fg); border-radius: 4px; padding: 3px 8px; cursor: pointer; }
.pb-tag { background: var(--proto-accent); color: #111; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.pb-badge { padding: 2px 8px; border-radius: 10px; background: #2b2e35; }
.pb-badge.simulated { background: #5a4410; color: #ffe08a; }
.pb-badge.sku { background: #13442a; color: #9ff0bf; }
.pb-spacer { flex: 1; }
.pb-mode { display: inline-flex; border: 1px solid #444852; border-radius: 6px; overflow: hidden; }
.pb-mode button { border: 0 !important; border-radius: 0 !important; padding: 4px 12px !important; }
.pb-mode button.on { background: var(--proto-accent) !important; color: #111 !important; font-weight: 700; }

#proto-switcher { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: var(--proto-bg); color: var(--proto-fg); border-radius: 999px; box-shadow: 0 8px 30px rgba(0,0,0,.35); font: 12px ui-monospace, Menlo, Consolas, monospace; white-space: nowrap; max-width: calc(100vw - 24px); }
#proto-switcher span { overflow: hidden; text-overflow: ellipsis; }
#proto-switcher button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #33373f; color: #fff; cursor: pointer; font-size: 15px; flex: none; }
#proto-switcher b { color: var(--proto-accent); }
body[data-mode="retail"] #proto-switcher { bottom: 84px; }

#toast { position: fixed; z-index: 70; left: 50%; top: 110px; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: .25s; background: #111; color: #fff; padding: 10px 16px; max-width: min(520px, calc(100vw - 32px)); font-size: 13px; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#state-toggle { position: fixed; z-index: 61; right: 16px; bottom: 18px; background: var(--proto-bg); color: var(--proto-accent); border: 0; border-radius: 6px; padding: 8px 10px; font: 12px ui-monospace, Menlo, Consolas, monospace; cursor: pointer; }
#state-drawer { position: fixed; z-index: 61; right: 16px; bottom: 60px; width: min(420px, calc(100vw - 32px)); max-height: 60vh; overflow: auto; background: var(--proto-bg); color: var(--proto-fg); border-radius: 8px; display: none; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.state-open #state-drawer { display: block; }
.sd-head { padding: 8px 12px; border-bottom: 1px solid #333; font: 700 12px ui-monospace, Menlo, Consolas, monospace; color: var(--proto-accent); }
#state-body { margin: 0; padding: 10px 12px; font: 11px/1.4 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; }

/* ---------- fake store header */
.store-header { display: flex; align-items: center; gap: 28px; padding: 18px 32px; border-bottom: 1px solid var(--line); }
.store-logo { font-weight: 800; letter-spacing: .28em; font-size: 18px; }
.store-header nav { display: flex; gap: 20px; flex: 1; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.store-icons { display: flex; gap: 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.store-header a { cursor: default; }
@media (max-width: 760px) { .store-header { padding: 14px 16px; gap: 12px; } .store-header nav { display: none; } .store-icons a:not(:last-child) { display: none; } .store-icons { margin-left: auto; } }

/* ================= A · Retail editorial */
.ed { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); }
.ed-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--soft); }
.ed-gallery figure { margin: 0; background: var(--soft); aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ed-gallery figure.hero { grid-column: 1 / -1; aspect-ratio: 5/5.2; }
.ed-gallery img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ed-gallery .empty { color: var(--muted); }
.ed-panel { position: sticky; top: 46px; align-self: start; padding: 48px 48px 140px; max-height: calc(100vh - 46px); overflow: auto; }
.ed-cat { font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.ed-name { font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin: 8px 0 6px; line-height: 1.3; }
.ed-price { font-size: 15px; margin-bottom: 14px; } .ed-price small { color: var(--muted); font-size: 12px; }
.ed-summary { color: #444; font-size: 13px; margin: 0 0 24px; }
.ed-group { border-top: 1px solid var(--line); padding: 14px 0 16px; }
.ed-glabel { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.ed-glabel b { color: var(--fg); font-weight: 500; margin-left: 6px; }
.ed-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-sw { width: 46px; height: 58px; padding: 0; border: 1px solid transparent; background: var(--soft); cursor: pointer; position: relative; transition: opacity .15s, filter .15s; }
.ed-sw img { width: 100%; height: 100%; object-fit: cover; }
.ed-sw i { position: absolute; inset: 6px; border: 1px solid rgba(0,0,0,.12); }
.ed-sw.on { border-color: var(--fg); }
.ed-sw.off { opacity: .35; filter: grayscale(1); }
.ed-sw.off::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - .5px), #777 50%, transparent calc(50% + .5px)); }
.ed-opts { display: flex; flex-wrap: wrap; gap: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.ed-opt { min-width: 64px; padding: 11px 14px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; transition: color .15s, background .15s; }
.ed-opt:hover { background: var(--soft); }
.ed-opt.on { background: var(--fg); color: #fff; }
.ed-opt.off { color: var(--off); text-decoration: line-through; text-decoration-thickness: 1px; }
.ed-opt.on.off { background: #999; color: #fff; }
.ed-qty { display: flex; align-items: center; gap: 0; margin: 18px 0 10px; font-size: 11px; letter-spacing: .12em; }
.ed-qty span:first-child { margin-right: 12px; color: var(--muted); }
.ed-qty button { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.ed-qty input { width: 70px; height: 34px; border: 1px solid var(--line); border-left: 0; border-right: 0; text-align: center; }
.ed-min { margin-left: 12px; color: var(--muted); } .ed-min.warn { color: var(--warn); }
.ed-add { width: 100%; padding: 15px; border: 1px solid var(--fg); background: var(--fg); color: #fff; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; cursor: pointer; }
.ed-add:disabled { background: #fff; color: var(--fg); cursor: not-allowed; }
.ed-charges { margin-top: 12px; font-size: 12px; color: var(--muted); } .ed-charges div { display: flex; justify-content: space-between; padding: 3px 0; }
.ed-details { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 12px; }
.ed-details summary { cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.ed-details dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; } .ed-details dt { color: var(--muted); } .ed-details dd { margin: 0; }
@media (max-width: 900px) {
  .ed { grid-template-columns: 1fr; }
  .ed-gallery { grid-template-columns: 1fr; } .ed-gallery figure:not(.hero) { display: none; }
  .ed-panel { position: static; max-height: none; padding: 24px 16px 140px; }
}

/* ================= B · Retail guided sheet */
.gs { max-width: 560px; margin: 0 auto; padding-bottom: 150px; position: relative; }
.gs-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); }
.gs-gallery::-webkit-scrollbar { display: none; }
.gs-gallery img { flex: 0 0 100%; aspect-ratio: 4/5; object-fit: contain; scroll-snap-align: start; mix-blend-mode: multiply; }
.gs-noimg { width: 100%; aspect-ratio: 4/5; display: grid; place-items: center; color: var(--muted); }
.gs-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; } .gs-dots i { width: 6px; height: 6px; border-radius: 50%; background: #ccc; } .gs-dots i.on { background: var(--fg); }
.gs-body { padding: 10px 16px; }
.gs-cat { font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.gs-body h1 { font-size: 22px; font-weight: 600; margin: 6px 0; line-height: 1.25; }
.gs-price { font-size: 18px; } .gs-price small { color: var(--muted); font-size: 13px; }
.gs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.gs-chips button { border: 1px dashed #bbb; background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; cursor: pointer; }
.gs-chips button.set { border-style: solid; border-color: var(--fg); }
.gs-body p { color: #555; font-size: 13px; }
.gs-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(16px, calc(50vw - 264px)); background: #fff; border-top: 1px solid var(--line); }
.gs-bar div { display: flex; flex-direction: column; } .gs-bar small { color: var(--muted); }
.gs-bar button, .gs-cta { background: var(--fg); color: #fff; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 600; cursor: pointer; }
.gs-cta:disabled { background: #bbb; cursor: not-allowed; }
.gs-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: .2s; }
.gs-sheet { position: fixed; z-index: 46; left: 50%; bottom: 0; width: min(560px, 100vw); max-height: 86vh; overflow: auto; transform: translate(-50%, 100%); transition: transform .28s ease; background: #fff; border-radius: 18px 18px 0 0; padding: 0 16px 24px; }
.gs.open .gs-scrim { opacity: 1; pointer-events: auto; } .gs.open .gs-sheet { transform: translate(-50%, 0); }
.gs-sheet header { position: sticky; top: 0; background: #fff; display: flex; align-items: center; gap: 10px; padding: 14px 0 6px; z-index: 1; }
.gs-sheet header div { flex: 1; text-align: center; } .gs-sheet header small { color: var(--muted); } .gs-sheet h2 { margin: 2px 0 0; font-size: 18px; }
.gs-sheet header button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; } .gs-sheet header button:disabled { opacity: .3; }
.gs-steps { display: flex; gap: 4px; padding: 0; margin: 4px 0 16px; list-style: none; font-size: 11px; }
.gs-steps li { flex: 1; padding-top: 6px; border-top: 3px solid var(--line); color: var(--muted); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-steps li.done { border-color: #999; } .gs-steps li.cur { border-color: var(--fg); color: var(--fg); font-weight: 600; }
.gs-tiles { display: grid; grid-template-columns: 1fr; gap: 8px; }
.gs-tiles.color { grid-template-columns: repeat(3, 1fr); } .gs-tiles.size { grid-template-columns: repeat(4, 1fr); }
.gs-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.gs-tiles.color .gs-tile, .gs-tiles.size .gs-tile { align-items: center; text-align: center; }
.gs-tile img, .gs-tile i { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--soft); margin-bottom: 6px; display: block; }
.gs-tile .t { font-weight: 600; } .gs-tile .s { font-size: 12px; color: var(--muted); }
.gs-tile .why { font-size: 11px; color: var(--warn); }
.gs-tile.on { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.gs-tile.off { background: #fafafa; color: #aaa; border-style: dashed; } .gs-tile.off img, .gs-tile.off i { filter: grayscale(1); opacity: .4; }
.gs-qty { display: flex; justify-content: center; gap: 0; margin: 10px 0; } .gs-qty button { width: 52px; height: 52px; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; } .gs-qty input { width: 110px; text-align: center; font-size: 20px; border: 1px solid var(--line); border-left: 0; border-right: 0; }
.gs-warn { color: var(--warn); text-align: center; }
.gs-tiers { width: 100%; border-collapse: collapse; margin: 10px 0; } .gs-tiers td { padding: 7px 4px; border-bottom: 1px solid var(--line); } .gs-tiers td:last-child { text-align: right; } .gs-tiers tr.cur { font-weight: 700; background: var(--soft); }
.gs-charge { color: var(--muted); font-size: 13px; margin: 4px 0; }
.gs-sheet footer { position: sticky; bottom: 0; background: #fff; padding-top: 10px; } .gs-sheet footer .gs-cta { width: 100%; }

/* ================= C · Wholesale matrix */
body[data-mode="wholesale"] { --accent: #1d4ed8; background: #f6f7f9; }
body[data-mode="wholesale"] .store-header { background: #fff; }
.wm, .wl { padding: 20px 24px 110px; max-width: 1400px; margin: 0 auto; font-size: 13px; }
.wm-head, .wl-head { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.wm-head img { width: 84px; height: 84px; object-fit: contain; background: var(--soft); border-radius: 6px; }
.wm-crumbs, .wl-crumbs { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.wm-head h1, .wl-head h1 { margin: 2px 0 6px; font-size: 19px; }
.wm-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #444; } .wm-facts b { color: var(--muted); font-weight: 500; }
.wm-order { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 14px 0; }
.wm-seg > span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 5px; }
.wm-seg > div { display: inline-flex; flex-wrap: wrap; border: 1px solid #cfd4dc; border-radius: 6px; overflow: hidden; background: #fff; }
.wm-seg button { border: 0; border-right: 1px solid #cfd4dc; background: #fff; padding: 7px 12px; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; }
.wm-seg button:last-child { border-right: 0; } .wm-seg small { color: var(--muted); font-size: 11px; }
.wm-seg button.on { background: var(--accent); color: #fff; } .wm-seg button.on small { color: #dbe4ff; }
.wm-seg button.off { color: #aaa; text-decoration: line-through; }
.wm-layout, .wl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.wm-main { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; min-width: 0; }
.wm-alert { display: none; background: #fff4e5; border: 1px solid #f3c58a; color: #7a3d00; padding: 8px 12px; border-radius: 6px; margin-bottom: 10px; } .wm-alert.show { display: block; }
.wm-alert button { margin-left: 8px; border: 1px solid #c77a1a; background: #fff; border-radius: 4px; padding: 2px 8px; cursor: pointer; }
.wm-scroll { overflow-x: auto; }
.wm-grid { border-collapse: separate; border-spacing: 0; width: 100%; }
.wm-grid th, .wm-grid td { border-bottom: 1px solid var(--line); padding: 4px; text-align: center; }
.wm-grid thead th { font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px 4px; }
.wm-grid .rh { text-align: left; white-space: nowrap; position: sticky; left: 0; background: #fff; z-index: 1; min-width: 170px; }
.wm-grid tbody .rh { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.wm-grid .rh img, .wm-grid .rh i { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); flex: none; }
.wm-grid .rh em { font-style: normal; font-size: 11px; color: var(--muted); }
.wm-grid input { width: 100%; min-width: 54px; max-width: 80px; padding: 7px 4px; text-align: center; border: 1px solid #d5d9e0; border-radius: 4px; background: #fff; }
.wm-grid input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.wm-grid td.na { background: repeating-linear-gradient(135deg, var(--hatch) 0 5px, #fff 5px 10px); }
.wm-grid td.bad input { border-color: var(--warn); background: #fff0eb; color: var(--warn); text-decoration: line-through; }
.wm-grid tr.dead .rh span { color: #aaa; }
.wm-grid .tot { font-weight: 700; min-width: 60px; } .wm-grid tfoot td, .wm-grid tfoot th { font-weight: 700; border-bottom: 0; padding-top: 10px; }
.wm-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.wm-tools input { width: 70px; padding: 5px; border: 1px solid #cfd4dc; border-radius: 4px; }
.wm-tools button, .wl-actions button, .wl-paste button { background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 7px 12px; cursor: pointer; }
.wm-tools .ghost, .wl-actions .ghost { background: #fff; color: var(--fg); border: 1px solid #cfd4dc; }
.wm-side, .wl-side { position: sticky; top: 56px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.wm-side h3, .wl-side h3 { margin: 0 0 8px; font-size: 14px; }
.wm-tiers { width: 100%; border-collapse: collapse; font-size: 12px; } .wm-tiers th, .wm-tiers td { padding: 5px 4px; border-bottom: 1px solid var(--line); text-align: right; } .wm-tiers th:first-child, .wm-tiers td:first-child { text-align: left; } .wm-tiers th { color: var(--muted); font-weight: 500; }
.wm-tiers tr.cur { background: #e8efff; font-weight: 700; }
.wm-warn, .wl-warn { color: var(--warn); margin: 8px 0; } .wm-hint { color: var(--ok); margin: 8px 0; }
.wm-sum, .wl-side dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; margin: 12px 0; } .wm-sum dt, .wl-side dt { color: var(--muted); } .wm-sum dd, .wl-side dd { margin: 0; text-align: right; }
.wm-sum .big, .wl-side .big { font-size: 16px; font-weight: 700; color: var(--fg); border-top: 1px solid var(--line); padding-top: 6px; }
.wm-cta, .wl-cta { width: 100%; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 11px; font-weight: 600; cursor: pointer; } .wm-cta:disabled, .wl-cta:disabled { background: #b8c2d6; cursor: not-allowed; }
.wm-ghost { width: 100%; margin-top: 6px; background: #fff; border: 1px solid #cfd4dc; border-radius: 6px; padding: 8px; cursor: pointer; }
@media (max-width: 960px) { .wm-layout, .wl-layout { grid-template-columns: 1fr; } .wm-side, .wl-side { position: static; } .wm, .wl { padding: 12px 16px 110px; } }

/* ================= D · Wholesale lines */
.wl-thumbs { display: grid; grid-template-columns: repeat(2, 44px); gap: 4px; } .wl-thumbs img { width: 44px; height: 44px; object-fit: contain; background: var(--soft); border-radius: 4px; }
.wl-head p { margin: 0; color: #555; }
.wl-layout { margin-top: 14px; }
.wl-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: block; overflow-x: auto; }
.wl-table th { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.wl-table td { padding: 6px; border-bottom: 1px solid var(--line); }
.wl-table .n { text-align: center; } .wl-table .idx { color: var(--muted); }
.wl-table select { padding: 6px; border: 1px solid #cfd4dc; border-radius: 4px; background: #fff; max-width: 190px; }
.wl-table input { width: 58px; padding: 6px 2px; text-align: center; border: 1px solid #cfd4dc; border-radius: 4px; }
.wl-table td.na { color: #ccc; background: repeating-linear-gradient(135deg, var(--hatch) 0 5px, #fff 5px 10px); }
.wl-table td.badcell input { border-color: var(--warn); color: var(--warn); text-decoration: line-through; }
.wl-table tr.bad td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.wl-table .pcs { font-weight: 700; }
.wl-table .x { border: 0; background: none; color: #999; cursor: pointer; }
.wl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.wl-paste { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; } .wl-paste p { margin: 0 0 8px; color: #555; } .wl-paste textarea { width: 100%; font: 12px ui-monospace, Menlo, Consolas, monospace; padding: 8px; border: 1px solid #cfd4dc; border-radius: 4px; margin-bottom: 8px; }
.wl-meter { position: relative; height: 8px; background: #e8ebf0; border-radius: 4px; margin: 6px 0 10px; } .wl-meter div { height: 100%; background: var(--accent); border-radius: 4px; } .wl-meter span { position: absolute; top: -3px; width: 2px; height: 14px; background: #556; }
.wl-tiers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 4px; font-size: 12px; }
.wl-tiers li { display: flex; justify-content: space-between; padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; } .wl-tiers li.cur { background: #e8efff; border-color: var(--accent); font-weight: 700; }
body:has(.gs.open) #proto-switcher, body:has(.gs.open) #state-toggle { display: none; }
