/* teashop/MODULES.md "css/warehouse.css" */

.wh { min-height: 100%; display: flex; flex-direction: column; color: var(--text); font-size: var(--ts-font); background: var(--surface); }
.wh .btn, .wh-panel .btn { white-space: normal; text-align: center; line-height: 1.1; padding-top: 6px; padding-bottom: 6px; }
.wh .btn.small, .wh-panel .btn.small { font-size: calc(15px * var(--ts-scale)); }
.wh .btn[aria-disabled="true"], .wh-panel .btn[aria-disabled="true"] { opacity: 0.45; cursor: default; }
:where(.wh, .wh-panel) button { font: inherit; color: var(--text); touch-action: manipulation; }
.wh button:focus-visible, .wh-panel button:focus-visible, .wh select:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.wh-icon { width: 20px; height: 20px; flex: none; }

/* ---------- the header: the stations, the buying list and the round X ---------- */
.wh-head {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: stretch; gap: 8px;
  padding: 8px calc(var(--sar) + 10px) 8px 10px; background: var(--surface); border-bottom: 2px solid var(--line);
}
.wh-stations { flex: 1 1 auto; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.wh-station {
  min-width: 0; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 2px;
  border: 2px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer;
  font: 800 max(11px, min(var(--ts-small), 14px))/1.05 var(--font); text-align: center;
}
.wh-station span { max-width: 100%; }
@media (max-width: 420px) { .wh-station { font-size: 12px; letter-spacing: -0.01em; } .wh-stations { gap: 4px; } .wh-head { gap: 6px; } }
.wh-station-icon { width: 20px; height: 20px; flex: none; color: var(--accent); }
/* one station: its name as the close-up's title */
.wh-title { flex: 1 1 auto; min-width: 0; margin: 0; display: flex; align-items: center; gap: 8px; font: 400 var(--ts-big)/1.1 "Lilita One", var(--font); color: var(--text); }
.wh-title .wh-station-icon { width: 24px; height: 24px; }
.wh-station[aria-current="true"] { background: var(--accent-soft); border-color: var(--accent); }

.wh-body { display: flex; flex-direction: column; gap: 14px; padding: 12px calc(var(--sar) + 12px) calc(var(--sab) + 24px) 12px; }
.wh-section { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wh-h { margin: 2px 0 0; font-size: var(--ts-small); font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.wh-muted { margin: 0; color: var(--muted); font-weight: 700; line-height: 1.3; }
.wh-note { margin: 0; display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--warn); }
.wh-line { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 700; line-height: 1.3; }
.wh-line.muted, .wh .muted, .wh-panel .muted { color: var(--muted); }
.wh-line.warn { color: var(--warn); font-weight: 800; }
.wh-line.big { font-size: 1.1em; font-weight: 900; }
.wh-line.big, .wh-line.warn { flex-wrap: nowrap; align-items: flex-start; }
.wh-line .lbl { font-size: var(--ts-small); font-weight: 800; color: var(--muted); }
.wh-card {
  display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; background: var(--bg);
  border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 3px 0 var(--line);
}
.wh-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wh-actions .btn { flex: 1 1 auto; }
.wh-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wh-panel .wh-list { padding: 0; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- a tea, blend or ingredient: its family's icon, colour and word ---------- */
.wh-item { display: inline-flex; align-items: center; gap: 8px; min-width: 0; text-align: left; }
.wh-swatch {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--fam, var(--adobe)); color: #fff; border: 1.5px solid rgba(46, 42, 38, 0.35);
}
.wh-swatch[data-family="white"], .wh-swatch[data-family="oolong"], .wh-swatch[data-family="herbal"], .wh-swatch[data-family="green"], .wh-swatch.spice { color: var(--ts-ink); }
.wh-swatch.spice { background: var(--adobe); }
.wh-swatch-icon { width: 20px; height: 20px; }
.wh-item-text { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.wh-item-name { font-weight: 900; line-height: 1.2; }
.wh-item-kind, .wh-item-text > small { font-size: var(--ts-small); font-weight: 700; color: var(--muted); line-height: 1.2; }
.wh-notes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }

/* ---------- tags and cues: an icon and its words ---------- */
.wh-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); font-size: max(11px, var(--ts-small)); font-weight: 800; line-height: 1.2; }
.wh-tag.go { background: var(--accent-soft); color: var(--text); }
.wh-tag.go .wh-tag-icon { color: var(--accent); }
.wh-tag.warn { background: transparent; border: 2px solid var(--warn); color: var(--warn); }
.wh-tag.muted { color: var(--muted); }
.wh-tag-icon { width: 1.15em; height: 1.15em; flex: none; }
.wh-cue { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: var(--ts-small); }
.wh-leaves { height: 1.1em; width: auto; color: var(--green-leaf, #3F8A4A); }
:root[data-theme="dark"] .wh-leaves { color: #8FCB8A; }
.wh-reveal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.wh .cue-icon, .wh-panel .cue-icon { width: 1.3em; height: 1.3em; flex: none; fill: currentColor; }
.wh .cue-icon.stars { width: auto; height: 1em; }
.wh .cue { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: var(--ts-small); }

/* ---------- receiving: the cases at the dock ---------- */
.wh-cases {
  display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px;
  scroll-snap-type: x proximity; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch;
}
.wh-case {
  flex: 0 0 auto; width: 150px; min-height: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px;
  border: 2px solid var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; text-align: left; scroll-snap-align: start;
  font: 700 var(--ts-small)/1.2 var(--font);
}
.wh-case .wh-item-name { font-size: var(--ts-font); }
/* A name in a case or a bin breaks only between words: when its longest word
   does not fit beside the swatch, the name goes under it. */
.wh-case .wh-item, .wh-bin .wh-item { flex-wrap: wrap; row-gap: 4px; }
.wh-case .wh-item-text, .wh-bin .wh-item-text { flex: 1 1 0; min-width: min-content; }
.wh-case .wh-swatch { width: 26px; height: 26px; }
.wh-case.stow { border-style: dashed; border-color: var(--accent); }
.wh-case.stow[aria-pressed="true"] { background: var(--accent-soft); border-style: solid; box-shadow: 0 0 0 3px var(--accent); }
.wh-case[aria-disabled="true"] { opacity: 0.6; cursor: default; }
.wh-case.dragging { opacity: 0.4; }
.wh-crate { width: 56px; height: 49px; display: block; }
.wh-crate .crate-body { fill: var(--adobe); stroke: var(--ts-ink); stroke-opacity: 0.45; stroke-width: 2; }
.wh-crate .crate-slats { stroke: var(--ts-ink); stroke-opacity: 0.3; stroke-width: 2; fill: none; }
.wh-crate .crate-lid { fill: #C99E6E; stroke: var(--ts-ink); stroke-opacity: 0.45; stroke-width: 2; transform-origin: 6px 14px; transition: transform 0.35s ease-out; }
.wh-crate .crate-lid path { fill: none; stroke-opacity: 0.35; }
.wh-case.open .crate-lid, .wh-crate.open .crate-lid { transform: translate(-2px, -6px) rotate(-18deg); }
.drag-ghost.wh-crate, .drag-ghost .crate-body { width: 64px; height: 56px; }
.wh-hand { border-color: var(--accent); }
.wh-hand-top { display: flex; align-items: center; gap: 12px; }
.wh-hand .wh-crate { width: 64px; height: 56px; flex: none; }
.wh-hand .wh-reveal > * { animation: wh-pop 0.35s ease-out both; }
.wh-hand .wh-reveal > *:nth-child(2) { animation-delay: 0.1s; }
@keyframes wh-pop { from { opacity: 0; transform: translateY(6px) scale(0.9); } to { opacity: 1; transform: none; } }

/* ---------- receiving: the bins ---------- */
.wh-bins { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 146px), 1fr)); gap: 8px; }
.wh-bin {
  min-height: 64px; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px;
  border: 2px solid var(--line); border-radius: 14px; background: var(--bg); text-align: left; cursor: default;
  font: 700 var(--ts-small)/1.2 var(--font);
}
.wh-bin.empty { border-style: dashed; min-height: 48px; justify-content: center; }
.wh-bin .wh-item-name { font-size: var(--ts-font); }
.wh-bin.takes { border-color: var(--accent); border-style: solid; background: var(--accent-soft); cursor: pointer; }
.wh-bin.not { opacity: 0.45; }
.wh-bin.drop-over { box-shadow: 0 0 0 3px var(--accent); }
.wh-meter { display: block; height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.wh-meter i { display: block; height: 100%; background: var(--turquoise); }
.wh-bin-level { font-weight: 800; font-variant-numeric: tabular-nums; }
.wh-bin-cues { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.wh-spice { grid-column: 1 / -1; }
.wh-spices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 4px 12px; }
/* a long name wraps on its own side; its weight stays on one line */
.wh-spices li { min-width: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wh-spices li > span { min-width: 0; }
.wh-spices b { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wh-carry, .wh-order { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); }
.wh-carry .btn, .wh-order .btn { flex: 0 0 auto; }
.wh-btn-icon { width: 18px; height: 18px; flex: none; }

/* ---------- the buying list (a panel on the Shop menu) ---------- */
.wh-panel { font-size: var(--ts-font); }
.wh-cash { margin: 0; font-weight: 900; font-variant-numeric: tabular-nums; }
.wh-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.wh-table th, .wh-table td { padding: 6px 4px; vertical-align: middle; border-bottom: 2px solid var(--line); font-weight: 800; }
.wh-table th { position: sticky; top: 0; z-index: 1; background: var(--surface); padding: 0; }
.wh-table .col-tea { width: 46%; text-align: left; }
.wh-table td.num { text-align: right; font-size: var(--ts-small); }
.wh-table td.num.low { color: var(--warn); }
.wh-sort {
  width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 2px; padding: 4px;
  border: 0; background: transparent; cursor: pointer; font: 900 max(11px, var(--ts-small))/1.1 var(--font); color: var(--muted); text-align: right;
  min-width: 44px; flex-wrap: wrap;
}
.wh-sort span { min-width: 0; }
.wh-table th.col-tea .wh-sort { justify-content: flex-start; text-align: left; }
.wh-table th[aria-sort="ascending"] .wh-sort, .wh-table th[aria-sort="descending"] .wh-sort { color: var(--text); }
.wh-sort-icon { width: 14px; height: 14px; flex: none; }
.wh-row-open { width: 100%; min-height: 44px; display: flex; align-items: center; padding: 2px 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.wh-row-open[aria-disabled="true"] { cursor: default; }
.wh-tr.open td { border-bottom-color: transparent; }
.wh-tr.open .wh-row-open .wh-item-name { color: var(--accent-text); }
.wh-tr-form td { padding: 0 0 12px; }
.wh-buy { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.wh-lots { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 6px; }
.wh-lot {
  min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px;
  border: 2px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; text-align: center; font: 800 var(--ts-small)/1.15 var(--font);
}
.wh-lot b { font-size: var(--ts-font); }
.wh-lot small { font-weight: 700; color: var(--muted); }
.wh-lot[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.wh-count { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wh-count-n { min-width: 5em; text-align: center; font-weight: 900; font-variant-numeric: tabular-nums; }
.wh-count-oz { color: var(--muted); font-weight: 800; }
.wh-step { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); cursor: pointer; }
.wh-step:disabled { opacity: 0.4; cursor: default; }
.wh-step svg { width: 18px; height: 18px; }
.wh-drafts { border-color: var(--accent); }
/* A phone's buying list: a card a tea (buy.js cardOf), the whole card the
   button that opens its buy form, which opens inside it. */
.wh-teas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wh-tea { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); }
.wh-tea.open { border-color: var(--accent); }
.wh-tea-row { gap: 10px; padding: 10px 12px; border-radius: 12px; }
.wh-tea-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wh-tea .wh-item { display: flex; }
.wh-tea .wh-item-text { flex: 1 1 auto; flex-flow: row wrap; align-items: baseline; column-gap: 8px; }
.wh-tea.open .wh-item-name { color: var(--accent-text); }
.wh-tea-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wh-tea-num { min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.wh-tea-num small { font-size: var(--ts-small); font-weight: 800; color: var(--muted); }
.wh-tea-num b { font-weight: 900; }
.wh-tea-num.low b { color: var(--warn); }
.wh-tea .wh-notes { margin-top: 0; }
.wh-row-go { flex: none; width: 9px; height: 9px; margin: 0 4px; border: solid var(--muted); border-width: 0 3px 3px 0; transform: rotate(-45deg); }
.wh-tea.open .wh-row-go { transform: rotate(45deg); }
.wh-tea > .wh-buy { margin: 0 8px 8px; }

/* ---------- the flavor map ---------- */
.wh-fams { display: flex; flex-wrap: wrap; gap: 6px; }
.wh-fam {
  flex: 1 1 88px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 8px;
  border: 2px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; font: 800 var(--ts-small)/1.1 var(--font);
}
.wh-fam-icon { width: 20px; height: 20px; flex: none; color: var(--fam); filter: drop-shadow(0 0 0.6px var(--ts-ink)); }
.wh-fam[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.wh-map { display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 440px; margin: 0 auto; }
.wh-map.small { max-width: 300px; }
.wh-map-top, .wh-map-bottom { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.wh-map-mid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px; }
.wh-dir { display: inline-flex; align-items: center; gap: 3px; font-weight: 900; font-size: max(11px, var(--ts-small)); color: var(--text); line-height: 1; }
.wh-map.small .wh-dir { font-size: 11px; }
.wh-dir-arrow { width: 14px; height: 14px; flex: none; fill: var(--accent); }
.wh-map-mid .wh-dir { writing-mode: vertical-rl; }
.wh-map-mid .wh-dir[data-at="w"] { transform: rotate(180deg); }
.wh-map-mid .wh-dir .wh-dir-arrow { writing-mode: horizontal-tb; }
.wh-map-svg { display: block; width: 100%; height: auto; }
.wh-map-svg.pickable { cursor: pointer; touch-action: manipulation; }
.wh-map-svg .map-bg { fill: var(--surface-2); }
.wh-map-svg .cell { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.wh-map-svg .cell.found { stroke: var(--ts-ink); stroke-opacity: 0.5; }
.wh-map-svg .mark-house { fill: var(--sunset); stroke: var(--ts-ink); stroke-width: 1.4; }
.wh-map-svg .mark-found { fill: #fff; stroke: var(--ts-ink); stroke-width: 1.2; }
.wh-map-svg .axis { stroke: var(--muted); stroke-opacity: 0.45; stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.wh-map-svg .base-dot { fill: var(--ts-ink); stroke: #fff; stroke-width: 1.2; }
:root[data-theme="dark"] .wh-map-svg .base-dot { fill: var(--ts-cream); stroke: var(--ts-ink); }
.wh-map-svg .base-dot.on { fill: var(--turquoise); }
.wh-map-svg .cell-selected { fill: none; stroke: var(--text); stroke-width: 3; }
.wh-map-svg .cell-lands { fill: none; stroke: var(--chile); stroke-width: 3; stroke-dasharray: 5 3; }
.wh-map-svg .path { fill: none; stroke: var(--chile); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wh-map-svg .path-step { fill: var(--chile); stroke: #fff; stroke-width: 1.2; }
.wh-map-svg .pin path { fill: var(--chile); stroke: #fff; stroke-width: 1.5; }
.wh-map-svg .pin circle { fill: #fff; }
.wh-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.wh-key { display: inline-flex; align-items: center; gap: 5px; font-size: var(--ts-small); font-weight: 800; }
.wh-key-mark { width: 18px; height: 18px; flex: none; }
.wh-key-mark.base { fill: var(--text); }
.wh-key-mark.path { stroke: var(--chile); }
.wh-key-mark.house { fill: var(--sunset); stroke: var(--ts-ink); stroke-width: 1.4; }
.wh-key-mark.found rect { fill: var(--sage); stroke: var(--ts-ink); stroke-opacity: 0.5; }
.wh-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px; }
.wh-pick {
  min-height: 52px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 8px 10px;
  border: 2px solid var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; text-align: left;
}
.wh-pick[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.wh-cell { border-color: var(--text); }
.wh-cell-name { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 1.1em; font-weight: 900; }
.wh-lands { gap: 6px; }

/* ---------- blending ---------- */
.wh-parts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
/* a part's name beside its weight or its stepper, which drops below the name
   only when the column is too narrow for both */
.wh-part { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 6px 8px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); }
.wh-part > .wh-item { flex: 1 1 10em; min-width: 0; }
.wh-part > .num, .wh-part > .wh-count { margin-left: auto; }
.wh-part .wh-count { flex-wrap: nowrap; gap: 4px; }
.wh-part .wh-count-n { min-width: 3.6em; }
.wh-part.short { border-color: var(--warn); }
.wh-part.now { border-color: var(--accent); background: var(--accent-soft); }
.wh-part.done { opacity: 0.85; }
.wh-part > .num { font-weight: 900; }
/* the test batch (blend.js testCard): each part and its stepper on one line
   at a phone's width, the chips by flavor, and the bar held at the foot */
.wh-test { overflow-anchor: none; }
.wh-test .wh-part > .wh-item { flex-basis: 7.5em; }
.wh-part-base > .lbl { flex: 1 1 auto; font-size: var(--ts-small); font-weight: 800; color: var(--muted); }
.wh-part-base > .wh-select { flex: 1 1 100%; min-width: 0; }
.wh-test .wh-map.small { max-width: 260px; }
.wh-adds { display: flex; flex-direction: column; gap: 8px; }
.wh-add-group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.wh-add-dir { flex: 0 0 100%; font-size: var(--ts-small); font-weight: 900; color: var(--muted); line-height: 1.1; }
.wh-add {
  min-height: 44px; display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px;
  border: 2px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer;
  font: 800 var(--ts-small)/1.1 var(--font); text-align: left;
}
.wh-add-icon { width: 14px; height: 14px; flex: none; color: var(--accent); }
.wh-add[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.wh-add:disabled { opacity: 0.45; cursor: default; }
.wh-test-bar {
  position: sticky; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 6px;
  margin: 2px -14px -12px; padding: 10px 14px 12px; background: var(--bg);
  border-top: 2px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: 0 -8px 12px -10px rgba(46, 42, 38, 0.45);
}
.wh-test-bar .wh-line { font-size: var(--ts-small); line-height: 1.25; }
.wh-select {
  min-height: 44px; padding: 6px 10px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--text);
  font: 800 var(--ts-font)/1.2 var(--font);
}
.wh-scale { align-items: center; }
.wh-scale .scale { width: 100%; max-width: 360px; }
.wh-drum-card { align-items: center; text-align: center; }
.wh-drum { width: min(220px, 70%); height: auto; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.wh-drum .drum-rim { fill: var(--surface-2); stroke: var(--line); stroke-width: 3; }
.wh-drum .drum-body { fill: var(--turquoise); stroke: var(--ts-ink); stroke-opacity: 0.4; stroke-width: 3; }
.wh-drum .drum-slats { stroke: #fff; stroke-opacity: 0.55; stroke-width: 4; fill: none; }
.wh-drum .drum-hub { fill: var(--ts-cream); stroke: var(--ts-ink); stroke-opacity: 0.4; stroke-width: 2; }
.wh-drum .drum-handle { fill: var(--sunset); stroke: var(--ts-ink); stroke-width: 2; }
.wh-turns { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.wh-turn { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--accent); display: grid; place-items: center; background: var(--bg); }
.wh-turn.done { background: var(--accent); color: var(--accent-ink); }
.wh-turn-icon { width: 18px; height: 18px; }
.wh-turns-left { font-weight: 900; }

@media (prefers-reduced-motion: reduce) {
  .wh-crate .crate-lid { transition: none; }
  .wh-hand .wh-reveal > * { animation: none; }
}

/* the aging shelf (src/ui/closeups/aging.js): the spot tapped */
.wh-bin[aria-pressed="true"] { border-color: var(--accent); border-style: solid; box-shadow: 0 0 0 3px var(--accent-soft); }
