/* Owner 2026-10-31: "Showroom Dark" look for the whole website, same in light and dark phone settings. */
:root { --bg: #151413; --surface: #201e1c; --ink: #ece8e1; --muted: #b5aea4; --line: #3a3631; --accent: #f2b24c; --accent-ink: #151413; --ph: #2a2724;
  --ok: #8fd3a8; --ok-bg: #1f2b23; --err: #ff9b8f; --err-bg: #3a1d18; --hint: #e9c46a; --display: Bahnschrift, "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
.bar { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: .04em; color: var(--ink); text-decoration: none; text-transform: uppercase; }
.brand span { color: var(--accent); }
.links { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .92rem; }
.links a { text-decoration: none; font-weight: 600; }
.links .who { color: var(--muted); }
.cta { padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; }
.acting { margin: 0; padding: 8px 16px; background: var(--ok-bg); color: var(--ink); font-size: .9rem; text-align: center; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; display: grid; gap: 14px; }
h1 { margin: 0 0 6px; font-family: var(--display); font-size: 1.7rem; letter-spacing: .01em; text-wrap: balance; }
h1 small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); }
h2 { margin: 0 0 6px; font-size: 1.1rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 10px; min-width: 0; }
.panel.narrow { max-width: 460px; width: 100%; justify-self: center; }
.search { display: flex; flex-wrap: wrap; gap: 8px; }
.search input { flex: 1; min-width: 0; }
.search-main input { flex: 1 1 100%; min-height: 52px; font-size: 1.1rem; }
.search-main button { min-height: 52px; }
.open-carts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 16px; background: var(--surface);
  border-bottom: 1px solid var(--line); font-size: .9rem; }
.open-carts .continue { min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--accent); background: var(--ok-bg);
  color: var(--ink); font-weight: 600; cursor: pointer; }
.open-carts .continue small { font-weight: 400; color: var(--muted); }
.brand-head th {padding-top: 16px; text-align: left; font-size: 1.05rem; border-bottom: 2px solid var(--accent); background: var(--surface); }
.brand-head a { text-decoration: none; }
.add-variation summary {cursor: pointer; }
.add-variation form { margin-top: 10px; max-width: 34em; }
.stepper {display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.stepper button { min-width: 40px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 0; background: var(--ph); color: var(--ink);
  font-size: 1.2rem; font-weight: 700; line-height: 1; cursor: pointer; }
.stepper button:active { background: var(--line); }
.stepper input[type=number] { width: 4.2em; min-height: 40px; border: 0; border-radius: 0; text-align: center; font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield; }
.stepper input[type=number]::-webkit-inner-spin-button, .stepper input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cat-edit {width: 11em; min-height: 32px; padding: 2px 6px; }
.cat-edit.saved { border-color: var(--ok); background: var(--ok-bg); }
.cat-edit.saved + .hint { display: none; }
.cat-edit.failed { border-color: var(--err); background: var(--err-bg); }
/* Owner 2026-11-13: tiers and cost typed in the Variable products table */
.price-cell { white-space: nowrap; }
.price-edit-label { display: inline-flex; flex-direction: column; gap: 1px; margin-right: 4px; font-size: .75em; color: var(--muted, #667); }
.price-edit { width: 5.2em; min-height: 30px; padding: 2px 4px; text-align: right; font-variant-numeric: tabular-nums; }
.price-edit.saved { border-color: var(--ok); background: var(--ok-bg); }
.price-edit.failed { border-color: var(--err); background: var(--err-bg); }
.line-note { display: block; width: 100%; max-width: 28em; margin-top: 4px; min-height: 30px; padding: 2px 6px; font-size: .9em; }
.line-note-text { display: inline-block; margin-top: 2px; }
.bulk-prices { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sampler td:first-child { font-weight: 700; }
.sampler small { display: block; font-weight: 400; }
.auto-groups {display: grid; gap: 10px; padding-left: 1.6em; }
.auto-groups > li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.auto-groups > li > .check { float: right; font-weight: 400; }
.auto-groups ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.auto-groups .pill { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.scan-add {display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 0 0 12px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; }
.scan-add label { display: grid; gap: 4px; font-weight: 600; }
.scan-add .scan-code { flex: 1 1 16em; min-width: 0; }
.scan-add .scan-code input { min-height: 48px; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.scan-add .scan-qty input { width: 5.5em; min-height: 48px; }
.scan-add button { min-height: 48px; }
/* Owner 2026-11-03: the scan box is the first thing under the menu, and its running total sits under it. */
.scan-top { padding: 12px 16px 0; }
.scan-top .scan-add { margin: 0 0 8px; }
.scan-top > p { margin: 0 0 8px; }
.scan-total { flex: 1 1 100%; margin: 0; color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; }
.scan-total strong { color: var(--ink); font-size: 1.15rem; }
/* Owner 2026-11-03 "page auto-zooms after scanning": phones zoom in on any box with text under 16px when it gets focus. */
@media (pointer: coarse) { input, select, textarea { font-size: max(16px, 1em); } }
@media (min-width: 641px) { .search-main input { flex-basis: 0; } }
@media (max-width: 640px) { .search-main button { flex: 1 1 100%; } }
.camera-scan { border: 0; background: var(--accent); color: var(--accent-ink); }
.scan-box { display: grid; gap: 8px; justify-items: start; }
input, select, textarea { padding: 10px 12px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); max-width: 100%; }
input.short { width: 6.5em; }
button { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.search button, button.primary, .btn { border: 0; background: var(--accent); color: var(--accent-ink); }
.btn { display: inline-block; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; text-align: center; }
button.link { padding: 0; border: 0; background: none; color: var(--accent); font-weight: 600; }
button.danger { border-color: var(--err); color: var(--err); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bulk-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0; }
.age-gate { text-align: center; margin-top: 10vh; }
.age-gate .row-actions { justify-content: center; }
.info-body { white-space: pre-line; line-height: 1.6; max-width: 70ch; }
.site-foot { border-top: 1px solid var(--line); margin-top: 32px; padding: 20px 16px 28px; display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; align-items: center; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-foot a { color: var(--muted); }
form.inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.stack { display: grid; gap: 10px; }
.stack label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.cats a { flex: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; background: var(--surface); font-size: .9rem; }
.cats a.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cats small { color: inherit; opacity: .7; }
.count, .foot, .empty, .muted { color: var(--muted); margin: 0; font-size: .9rem; }
.note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--ok-bg); }
.ok { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.error { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--err-bg); color: var(--err); font-weight: 600; }
.hint { color: var(--hint); margin: 0; }
.ok-text { color: var(--ok); font-weight: 600; }
.warn { color: var(--hint); font-weight: 600; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 0; }
.ph { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--ph); color: var(--muted); font-weight: 800; font-size: 1.4rem; letter-spacing: .05em; text-decoration: none; overflow: hidden; max-width: 100%; }
.ph img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ph.big { border-radius: 12px; width: 100%; max-width: 360px; }
.body { padding: 10px 12px 12px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.body h2 { margin: 0; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.body h2 a { color: var(--ink); text-decoration: none; }
.cat { margin: 0; color: var(--muted); font-size: .8rem; }
.desc { margin: 0; font-size: .85rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-note { margin: 6px 0 0; font-size: .85rem; font-weight: 600; }
.price { margin: 6px 0 2px; font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.add { display: flex; gap: 6px; }
.add input { width: 5em; padding: 8px; }
.add button { flex: 1; padding: 8px; border: 0; background: var(--accent); color: var(--accent-ink); }
.product { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 640px) { .product { grid-template-columns: minmax(0, 1fr); } }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
td input[type=number] { width: 5.5em; }
.thumb { width: 52px; }
.thumb img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.flavors { display: grid; gap: 12px; }
.flavor-list { columns: 2 180px; margin: 0; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; }
.rows li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rows li > span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.rows small { color: var(--muted); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.tabs a.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 10px; background: var(--ok-bg); }
.banner span { flex: 1 1 260px; }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; }
.pager-full { flex-wrap: wrap; gap: 6px 8px; font-variant-numeric: tabular-nums; }
.pager-full > a, .pager-full > .on { min-width: 2.4em; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; text-align: center;
  text-decoration: none; background: var(--surface); }
.pager-full > .on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.pager-full .gap { color: var(--muted); }
.pager-full .jump { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 0 8px; }
.pager-full .jump input { width: 6em; }
fieldset.merge-options { margin: 0; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 12px; }
fieldset.merge-options legend { font-weight: 700; padding: 0 4px; }
fieldset.merge-options button { justify-self: start; }
.pick-list label.check { display: flex; gap: 10px; align-items: flex-start; width: 100%; cursor: pointer; }
.pick-list label.check > span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.pick-list small { color: var(--muted); }
label.pick-line { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; cursor: pointer; }
label.pick-line > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
a.have-it { display: inline-block; margin-top: 2px; font-size: .85rem; font-weight: 600; }
.catalog-tick-all { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; position: sticky; top: 56px; z-index: 1; }
[data-flavor-picks] { display: flex; flex-wrap: wrap; gap: 8px; }
[data-flavor-picks] button { min-height: 44px; padding: 8px 14px; font-size: 1rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; }
code { font-size: .9em; }
fieldset.prices { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
fieldset.prices legend { font-weight: 600; font-size: .92rem; padding: 0 4px; }
fieldset.prices input { width: 100%; font-variant-numeric: tabular-nums; }
.hub-link { padding: 4px 12px; border-radius: 999px; background: var(--ok-bg); }
.hub-head h1 { font-size: 1.6rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tile { display: grid; gap: 4px; align-content: start; min-height: 128px; padding: 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink); text-decoration: none; }
.tile:hover, .tile:focus-visible { border-color: var(--accent); }
.tile strong { font-size: 1.08rem; }
.tile small { color: var(--muted); }
.tile-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--ph); color: var(--accent);
  font-size: 1.3rem; font-weight: 800; }
.tile-add .tile-icon, .tile-inv .tile-icon { background: var(--accent); color: var(--accent-ink); }
.tile-wa .tile-icon { background: #1f8f4e; color: #fff; }
.panel.wide-ok { max-width: 640px; }
.step { margin-top: 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.photo-step { display: grid; gap: 8px; }
.photo-btn { display: inline-block; justify-self: start; padding: 12px 18px; border-radius: 12px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; cursor: pointer; }
.photo-preview { width: 100%; max-width: 360px; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
/* Scanned barcode found in the hidden supplier catalog (owner 2026-10-16) */
.catalog-hit { display: grid; gap: 10px; padding: 12px; border: 2px solid var(--accent); border-radius: 12px; background: var(--ok-bg); min-width: 0; }
.catalog-hit-title { margin: 0; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.catalog-hit h2 { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.catalog-hit .row { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; }
.catalog-hit .min0 { min-width: 0; }
.catalog-hit a.btn { background: var(--surface); color: var(--accent); border: 1px solid var(--accent); padding: 12px 16px; }
/* Several photos per product (owner 2026-10-16) */
.photo-step .row { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-btn.secondary { background: var(--surface); color: var(--accent); border: 1px solid var(--accent); }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photo-grid li { display: grid; gap: 4px; justify-items: start; font-size: .85rem; min-width: 0; }
.photo-grid li form { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.photo-grid .tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
button.link.danger { color: var(--err); }
.gallery { position: relative; width: 100%; height: 100%; min-width: 0; place-self: stretch; overflow: hidden; }
.gallery-strip { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; background: #fff; scroll-snap-align: center; }
.gallery-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(0, 0, 0, .25); }
.gallery-dots span.on { background: var(--accent); }
/* Live camera scanner (same look as the pick & pack scanner, static/purchasing.css) */
.live { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.live-view { position: relative; height: min(42vh, 24rem); border-radius: 14px; overflow: hidden; background: #000; touch-action: none; }
.live-view video { width: 100%; height: 100%; object-fit: cover; transform-origin: center; display: block; }
.reticle { position: absolute; left: 11%; right: 11%; top: 33%; bottom: 33%; border-radius: 10px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.38);
  border: 3px solid rgba(255,255,255,.9); transition: border-color .15s; }
.reticle.hit-good { border-color: #39d07f; }
.laser { position: absolute; left: 6px; right: 6px; height: 2px; background: #ff4b3e; box-shadow: 0 0 8px #ff4b3e; top: 50%; animation: laser 1.6s ease-in-out infinite alternate; }
@keyframes laser { from { top: 12%; } to { top: 88%; } }
.live-msg { position: absolute; left: 8px; right: 8px; bottom: 10px; margin: 0; text-align: center; color: #fff; font-weight: 600; font-size: .9rem; text-shadow: 0 1px 3px #000; }
.live-msg.bad { background: #c0392b; border-radius: 8px; padding: 6px 8px; text-shadow: none; }
.live-controls { display: flex; align-items: center; gap: 6px; }
.live-controls input[type=range] { flex: 1 1 0; width: 0; min-width: 0; accent-color: var(--accent); }
.ctl { min-width: 44px; height: 44px; padding: 0 12px; font-size: 1.05rem; }
.ctl[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.zoom-val { font-weight: 600; font-size: .85rem; min-width: 2.6rem; text-align: center; font-variant-numeric: tabular-nums; }
#flash { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center;
  pointer-events: none; opacity: 0; color: #fff; }
#flash.good { background: #1f8f4e; } #flash.bad { background: #c0392b; } #flash.hidden { background: #c27c0e; }
#flash.on { animation: screenflash .8s ease-out forwards; }
@keyframes screenflash { 0%, 55% { opacity: .97; } 100% { opacity: 0; } }
#flash .flash-icon { font-size: 8rem; line-height: 1; font-weight: 800; }
#flash .flash-title { font-size: 2.2rem; line-height: 1.05; font-weight: 800; text-transform: uppercase; max-width: 18ch; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .laser, #flash.on { animation: none; } #flash.on { opacity: .97; } }
button.big { padding: 14px 18px; font-size: 1.05rem; }
.inv-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
.inv-card .ph { border-radius: 10px; }
.inv-card h2 { margin: 0; }
.post-grid { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 640px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
.post textarea { width: 100%; }
.catalog-line h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.catalog-line h2 small { font-size: .8rem; font-weight: 400; }
.catalog-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; background: var(--bg); }
.photo-run { display: grid; gap: 10px; }
.before-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.before-after figure { margin: 0; display: grid; gap: 4px; }
.before-after img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.before-after figcaption { font-size: .8rem; color: var(--muted); text-align: center; }
.thumbs { display: flex; gap: 4px; }
.thumb-img { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.stock-low { color: var(--hint); font-weight: 700; }
.stock-out { color: var(--err); font-weight: 700; }
/* Owner 2026-11-23: hidden products shown by the owner's "Show hidden products" switch */
.hidden-tag { display: inline-block; margin: 0; padding: 1px 8px; border-radius: 10px; background: var(--err-bg); color: var(--err);
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.show-hidden.on { color: var(--hint); font-weight: 700; }
.stock { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.stack label.check { display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* Owner 2026-10-30: Hub > Add product, flavor-of search */
.parent-pick { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.parent-pick legend { font-weight: 600; padding: 0 4px; }
.parent-pick input[type=search] { width: 100%; }
.parent-results { list-style: none; margin: 6px 0 0; padding: 0; max-height: 320px; overflow-y: auto; }
.parent-results li { margin: 0 0 4px; }
.parent-option { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.parent-option:hover, .parent-option:focus { border-color: var(--accent); background: var(--ph); }
.parent-option small { color: var(--muted); }
button.link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font: inherit; cursor: pointer; }
/* Owner 2026-10-31: home page "Hot products" (in stock now), Showroom Dark look in both themes. */
.hot { --hot-bg: #151413; --hot-card: #201e1c; --hot-ph: #2a2724; --hot-ink: #ece8e1; --hot-muted: #b5aea4; --hot-line: #3a3631; --hot-accent: #f2b24c;
  display: grid; gap: 16px; padding: 22px 18px; border-radius: 16px; background: var(--hot-bg); color: var(--hot-ink); min-width: 0; }
.hot-head { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; justify-content: space-between; }
.hot-head h2 { margin: 0; font-family: Bahnschrift, "Arial Narrow", "Roboto Condensed", system-ui, sans-serif; font-weight: 800; font-size: 2rem; letter-spacing: .02em; text-transform: uppercase; text-wrap: balance; }
.hot-head span { color: var(--hot-muted); font-size: .95rem; }
.hot-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.hot .card { background: var(--hot-card); border-color: var(--hot-card); border-radius: 14px; color: var(--hot-ink); }
.hot-ph { position: relative; }
.hot .ph { background: var(--hot-ph); color: #6f685f; }
.hot .ph img { background: #fff; }
.hot .card h2, .hot .card h2 a { color: var(--hot-ink); }
.hot .cat, .hot .stock, .hot .price-note { color: var(--hot-muted); }
.hot a { color: var(--hot-accent); }
.hot .btn { background: none; color: var(--hot-ink); border: 1px solid var(--hot-line); }
.hot .btn:hover { border-color: var(--hot-accent); color: var(--hot-accent); }
.hot .add button { background: var(--hot-accent); color: #151413; border-color: var(--hot-accent); }
.hot .add input { background: var(--hot-ph); color: var(--hot-ink); border-color: var(--hot-line); }
.in-stock { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 14px;
  background: var(--hot-bg); border: 1px solid var(--hot-line); color: var(--hot-ink); font-size: .75rem; font-weight: 700; }
.in-stock svg { color: var(--hot-accent); }
@media (max-width: 480px) { .hot { padding: 18px 14px; } .hot-head h2 { font-size: 1.6rem; } .hot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Owner 2026-10-31: home page hero (Showroom Dark design). */
.hero { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: end; padding: 12px 0 8px; }
.hero-text { flex: 1 1 420px; min-width: 0; display: grid; gap: 12px; }
.hero-eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin: 0; font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: .95; text-transform: none; }
.hero p { margin: 0; color: var(--muted); max-width: 46ch; font-size: 1.05rem; }
.hero-cats { flex: 1 1 300px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-cats a { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 84px; padding: 14px; border: 1px solid var(--line);
  border-radius: 12px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; overflow-wrap: anywhere; }
.hero-cats a:hover { border-color: var(--accent); }
.hero-cats small { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .85rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.card h2 { font-size: 1.02rem; }
.card .price { font-size: 1.15rem; font-weight: 800; }
/* Owner 2026-10-31: Pictures from supplier sites (check page). */
.pic-sites { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pic-sites th, .pic-sites td { padding: 6px 12px 6px 0; text-align: left; border-bottom: 1px solid var(--line); }
.pic-matches { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.pic-matches li { display: grid; grid-template-columns: auto 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.pic-matches img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 6px; }
.pic-matches div { min-width: 0; overflow-wrap: anywhere; }
/* Owner 2026-11-24: Pictures from the web (approve / deny). */
.web-pic-grid { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.web-pic-grid li { display: grid; gap: 6px; align-content: start; padding: 8px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.web-pic-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 6px; }
.web-pic-grid small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.web-pic-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
button.danger { color: var(--err); }
/* Customer health + follow-ups (owner 2026-11-05) */
.hs { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; border: 1px solid var(--line); }
.hs-new { color: #9cc7ff; } .hs-healthy { color: var(--ok); background: var(--ok-bg); } .hs-slipping { color: var(--hint); }
.hs-at_risk { color: var(--err); } .hs-lost { color: var(--err); background: var(--err-bg); }
.hs-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.hs-tabs a { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; }
.hs-tabs a.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.calls { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.calls > li { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 6px; }
.calls .who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.calls .why { color: var(--hint); font-weight: 600; }
.calls form { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
.calls form .wide { grid-column: 1 / -1; }
.calls form label { display: grid; gap: 4px; }
.kpi-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kpi-grid > div { display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.kpi-grid strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.kpi-grid small { overflow-wrap: anywhere; }
.kpi-months td.num { white-space: nowrap; }
.checklist { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; }
.ck-ok { color: var(--ok); } .ck-no { color: var(--err); } .ck-pending { color: var(--hint); } .ck-info { color: var(--muted); }
.calls form input, .calls form select { width: 100%; }

/* Owner 2026-11-29: new logo (black wordmark on white) on the dark header: white rounded backing. */
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 40px; width: auto; padding: 4px 10px; background: #fff; border-radius: 8px; }
@media (max-width: 600px) { .brand-logo { height: 32px; padding: 3px 8px; } }
/* Owner 2026-11-29: vapes hidden from customers (staff note) and the public scan page. */
.vapes-note { margin: 0; padding: 6px 16px; background: var(--err-bg); color: var(--hint); font-size: .9rem; font-weight: 600; text-align: center; }
.vape-pause span { flex: 1 1 20em; }
.scan-big .scan-code input { min-height: 60px; font-size: 1.35rem; }
.scan-big .scan-qty input, .scan-big button { min-height: 60px; }
.scan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.scan-list li { display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 10px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; }
.scan-list .ph { width: 56px; aspect-ratio: 1; border-radius: 8px; overflow: hidden; font-size: .9rem; }
.scan-list .ph img { width: 100%; height: 100%; object-fit: cover; }
.scan-list .name { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.scan-list .qty { display: grid; gap: 2px; font-size: .8rem; }
.scan-list .qty input { width: 5em; }
@media (max-width: 520px) { .scan-list li { grid-template-columns: 48px 1fr; } .scan-list .ph { width: 48px; } }
