:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --ink: #16233f;
  --muted: #5d6779;
  --line: #dfe3ea;
  --accent: #1f4fd1;
  --accent-ink: #ffffff;
  --tag: #ffd23f;
  --ok: #157f3b;
  --warn: #a15c00;
  --danger: #b42318;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(22, 35, 63, .06), 0 2px 8px rgba(22, 35, 63, .05);
  color-scheme: light;
}
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ {
  :root {
    --bg: #0f1522;
    --card: #182133;
    --ink: #e8ecf4;
    --muted: #9aa5b8;
    --line: #2a3550;
    --accent: #6d95ff;
    --accent-ink: #0b1220;
    --tag: #ffd23f;
    --ok: #4ccb7a;
    --warn: #f0b04a;
    --danger: #ff7b6e;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
h1 { font-size: 1.5rem; margin: .2em 0 .4em; line-height: 1.2; }
h2 { font-size: 1.2rem; margin: 1em 0 .5em; }
h3 { font-size: 1rem; margin: 1.1em 0 .4em; }
h2.section { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 1.6em; }
p { margin: .4em 0 .8em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.warn { color: var(--warn); }
.err { color: var(--danger); min-height: 1.2em; }
.empty { color: var(--muted); padding: 1em 0; text-align: center; }
.row { display: flex; align-items: center; }
.gap { gap: .6rem; }
.wrap { flex-wrap: wrap; }
.right { text-align: right; }
.stack { display: grid; gap: .9rem; }
[hidden] { display: none !important; }

main { max-width: 760px; margin: 0 auto; padding: 1rem 1rem 7rem; }

/* ---------------- header + menu */
header.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: .6rem;
  padding: .55rem .8rem; padding-top: max(.55rem, env(safe-area-inset-top));
  background: var(--ink); color: var(--bg);
}
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { header.top { background: #0a0f19; color: var(--ink); border-bottom: 1px solid var(--line); } }
header.top .logo { display: flex; }
.top-title { flex: 1 1 auto; min-width: 0; max-width: 50%; overflow: hidden; }
.top-actions { display: flex; gap: .4rem; align-items: center; flex: none; }
.top-who { display: grid; flex: 0 1 auto; min-width: 0; line-height: 1.15; color: inherit; text-decoration: none; padding: 0 .7rem 0 .1rem;
  border-right: 1px solid rgba(255, 255, 255, .25); max-width: 40vw; }
.top-who .who-name { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-who .who-role { font-size: .72rem; opacity: .7; }
.top-who:hover .who-name { text-decoration: underline; }
.top-who .who-first { display: none; }
@media (max-width: 600px) { .top-who { max-width: none; padding-right: .5rem; } .top-who .who-name { font-size: .88rem; } }
@media (max-width: 600px) { .top-who .who-full { display: none; } .top-who .who-first { display: inline; } }
.top-title .t1 { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-title .t2 { font-size: .75rem; opacity: .75; }
header.top .icon-btn, header.top .linklike { color: inherit; }
nav.menu {
  display: none; position: sticky; top: 52px; z-index: 19; background: var(--card); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); padding: .4rem 0;
}
nav.menu.open { display: grid; box-shadow: var(--shadow), 0 0 0 100vmax rgba(15, 23, 42, .45); }
nav.menu a, nav.menu button { padding: .75rem 1.2rem; text-decoration: none; color: var(--ink); text-align: left; font-size: 1rem; }
nav.menu a:hover, nav.menu button:hover { background: var(--bg); }
@media (min-width: 900px) {
  nav.menu { display: flex !important; flex-wrap: wrap; justify-content: center; padding: 0; position: static; }
  nav.menu a, nav.menu button { padding: .6rem .9rem; font-size: .92rem; }
  header.top > .icon-btn[aria-label="Menu"] { display: none; }
}

/* ---------------- controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .55rem 1rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.danger { color: var(--danger); }
.btn.small { min-height: 34px; padding: .3rem .7rem; font-size: .9rem; }
.btn.wide { width: 100%; }
.btn.big { width: 100%; min-height: 58px; font-size: 1.1rem; }
.btn:disabled { opacity: .5; cursor: default; }
.icon-btn {
  background: none; border: 0; font: inherit; font-size: 1.35rem; line-height: 1; padding: .35rem .5rem;
  min-width: 40px; min-height: 40px; color: var(--ink); cursor: pointer; text-decoration: none; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.linklike { background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; padding: .3rem 0; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; padding: .65rem .75rem; min-height: 44px;
}
input:focus, select:focus, textarea:focus, .btn:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 1px; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); flex: none; }
input[type=file] { padding: .5rem; }
label { display: grid; gap: .3rem; font-weight: 550; font-size: .95rem; }
label.radio, label.switch, label.check-card, label.inline { display: flex; align-items: center; gap: .55rem; font-weight: 500; }
label.inline input { width: 6.5rem; min-height: 36px; padding: .35rem .5rem; }
.radios { display: grid; gap: .5rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (max-width: 380px) { .grid2 { grid-template-columns: 1fr; } }
.check-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .75rem; cursor: pointer; }
.check-card:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* ---------------- cards + lists */
.list { display: grid; gap: .55rem; }
.card {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem .9rem;
  box-shadow: var(--shadow); color: var(--ink); text-decoration: none; text-align: left; font: inherit; width: 100%;
}
button.card { cursor: pointer; }
a.card:hover, button.card:hover { border-color: var(--accent); }
.card.selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.card.off { opacity: .55; }
.card.block { display: block; }
.card.draft { display: block; margin-top: .7rem; border-style: dashed; }
.card.tools { display: grid; gap: .6rem; margin: .6rem 0 1rem; }
.req-main { min-width: 0; }
.req-title { font-weight: 650; }
.req-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.chip {
  display: inline-block; white-space: nowrap; font-size: .78rem; font-weight: 650; padding: .2rem .55rem;
  border-radius: 999px; background: color-mix(in srgb, var(--muted) 15%, transparent); color: var(--ink);
}
.st-submitted { background: var(--tag); color: #3a2c00; }
.st-in_progress { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.st-tags_made, .st-printed { background: color-mix(in srgb, var(--accent) 28%, transparent); color: var(--ink); }
.st-delivered { background: color-mix(in srgb, var(--ok) 20%, transparent); color: var(--ok); }
.st-cancelled { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }

dl.summary { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: .6rem 0 1rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; }
dl.summary dt { color: var(--muted); font-size: .9rem; }
dl.summary dd { margin: 0; }

ol.timeline { list-style: none; padding: 0 0 0 1.1rem; margin: 0; border-left: 2px solid var(--line); }
ol.timeline li { position: relative; padding: 0 0 .9rem .6rem; }
ol.timeline li::before { content: ""; position: absolute; left: -1.53rem; top: .35rem; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }

/* ---------------- new request */
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; list-style: none; padding: 0; margin: 0 0 .6rem; }
.stepper button { width: 100%; background: none; border: 0; border-bottom: 3px solid var(--line); padding: .5rem .2rem;
  font: inherit; font-size: .85rem; color: var(--muted); display: flex; gap: .35rem; align-items: center; justify-content: center; cursor: pointer; }
.stepper button:disabled { cursor: default; opacity: .6; }
.stepper .n { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--line); font-size: .75rem; font-weight: 700; color: var(--ink); }
.stepper li.on button { color: var(--ink); border-color: var(--accent); font-weight: 650; }
.stepper li.on .n { background: var(--accent); color: var(--accent-ink); }
.stepper li.done .n { background: var(--ok); color: #fff; }
.step-foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: grid; gap: .3rem; justify-items: center;
  padding: .7rem 1rem; padding-bottom: max(.7rem, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); border-top: 1px solid var(--line);
}
.step-foot:empty { display: none; }
.step-foot > * { max-width: 728px; }
.add-store { margin-top: 1.4rem; padding-top: .4rem; border-top: 1px dashed var(--line); }
.add-store .row input { flex: 1; }
@media (max-width: 480px) { .add-store .row { flex-direction: column; align-items: stretch; } }
.scan-row { display: flex; gap: .5rem; }
.scan-row input.scan { font-size: 1.05rem; min-height: 50px; border: 2px solid var(--accent); background: var(--card);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); padding-left: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4fd1' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .75rem center; background-size: 1.15rem; }
.scan-row input.scan::placeholder { color: var(--muted); opacity: 1; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ {
  /* the box you type in: lighter than the page and outlined in bright blue, so it stands out next to the camera button */
  .scan-row input.scan { background-color: #243049; color: #ffffff; border-color: #8fb0ff;
    box-shadow: 0 0 0 4px rgba(109, 149, 255, .25);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb0ff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
  .scan-row input.scan::placeholder { color: #b9c4da; }
}
.scan-row .btn { white-space: nowrap; }
@media (max-width: 480px) { .scan-row { flex-direction: column; } .scan-row .btn { min-height: 50px; } }
.results { display: grid; gap: .4rem; margin: .6rem 0; }
.item-line { min-width: 0; }
.cart { margin-top: 1rem; }
.cart-row { display: flex; align-items: center; gap: .5rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .6rem .7rem; margin-bottom: .45rem; }
.cart-info { flex: 1; min-width: 0; display: grid; gap: .2rem; }
.qty { display: flex; align-items: center; gap: .1rem; font-weight: 700; }
.qty span { min-width: 1.4rem; text-align: center; }
.icon-btn.del { font-size: 1.05rem; opacity: .7; }

.cam { position: relative; margin: .7rem 0; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 4 / 3; max-height: 55vh; }
.cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-frame { position: absolute; inset: 28% 10%; border: 3px solid var(--tag); border-radius: 10px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .28); }
.cam-msg { position: absolute; top: .6rem; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; text-shadow: 0 1px 3px #000; padding: 0 .8rem; }
.cam-bar { position: absolute; bottom: .6rem; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; }

.done { text-align: center; padding: 2rem 0; }
.big-check { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2.4rem; display: grid; place-items: center; }

/* ---------------- admin */
.tabs { display: flex; gap: .3rem; overflow-x: auto; margin-bottom: .7rem; padding-bottom: .2rem; }
.tabs button { flex: none; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: .4rem .85rem; font: inherit; font-size: .9rem; cursor: pointer; }
.tabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.row.gap.wrap > input[type=search] { flex: 1 1 220px; width: auto; }
.row.gap.wrap > select { flex: 0 1 220px; width: auto; }
.dist-pick { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.dist-pick select { width: auto; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .8rem; width: 100%; }
.stats div { display: grid; }
.stats b { font-size: 1.5rem; }
.stats span { color: var(--muted); font-size: .85rem; }
.card.person { align-items: flex-start; }
progress { width: 100%; height: 10px; margin: .6rem 0; }

/* ---------------- login */
.login { max-width: 420px; margin: 0 auto; padding: 12vh 1.2rem 2rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.35rem; margin-bottom: 1.4rem; }
.brand svg.logo-icon { width: 38px; height: 38px; }
.login form { display: grid; gap: .9rem; margin-top: 1.2rem; }
input.code { font-size: 1.8rem; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------------- sheet + toast + spinner */
.sheet-back { position: fixed; inset: 0; z-index: 50; background: rgba(8, 12, 20, .45); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .18s; }
.sheet-back.open { opacity: 1; }
.sheet { background: var(--bg); width: 100%; max-width: 620px; max-height: 88vh; overflow: auto; border-radius: 16px 16px 0 0; padding: .4rem 1rem 1.4rem; padding-bottom: max(1.4rem, env(safe-area-inset-bottom)); transform: translateY(20px); transition: transform .18s; }
.sheet-back.open .sheet { transform: none; }
@media (min-width: 700px) { .sheet-back { align-items: center; } .sheet { border-radius: 16px; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--bg); }
.sheet-head h2 { margin: .6em 0; }
.sheet-body { display: grid; gap: .6rem; }
.toast { position: fixed; left: 50%; top: calc(64px + env(safe-area-inset-top)); z-index: 60; transform: translate(-50%, -10px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: .65rem 1rem; border-radius: 10px; max-width: calc(100vw - 2rem); transition: all .2s; font-weight: 550; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--danger); color: #fff; }
.toast.scan { background: #39ff14; color: #062b00; font-weight: 750; box-shadow: 0 0 0 2px #1fd400, 0 0 18px rgba(57, 255, 20, .75); }   /* found: neon green */
.toast.scan-miss { background: #e01b1b; color: #fff; font-weight: 750; box-shadow: 0 0 0 2px #b31212, 0 0 18px rgba(224, 27, 27, .6); }   /* not found: red */
.center-msg { display: grid; justify-items: center; gap: .8rem; padding: 3rem 1rem; text-align: center; color: var(--muted); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } .toast, .sheet, .sheet-back { transition: none; } }

dd .linklike { margin-left: .5rem; }

/* store templates */
.chip.tmpl { background: color-mix(in srgb, var(--tag) 70%, transparent); color: #3a2c00; }
.check-card.tmpl { border-color: var(--tag); background: color-mix(in srgb, var(--tag) 14%, var(--card)); }
.tmpl-note { margin-bottom: .5rem; }
.store-picks { display: grid; gap: .35rem; max-height: 40vh; overflow: auto; padding: .2rem; }
.takeover { display: grid; gap: .5rem; border-style: dashed; margin-bottom: .4rem; }
.logo-prev img { max-width: 220px; max-height: 90px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px; }
.templates a { font-weight: 600; }
ul.small { margin: 0; padding-left: 1.2rem; }
.by-box { border-color: var(--tag); background: color-mix(in srgb, var(--tag) 10%, var(--card)); margin-top: .8rem; }
.by-line { display: grid; gap: .3rem; padding-top: .2rem; }
.by-line input.price { width: 5.5rem; }

/* tag maker */
.sheet.wide { max-width: 760px; }
.tm-line { display: flex; flex-direction: column; gap: .4rem; padding: .6rem .7rem; }
.tm-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
.tm-price { display: flex; flex-direction: column; font-size: .75rem; color: var(--muted); gap: .15rem; }
.tm-price input { min-height: 36px; padding: .3rem .45rem; font-size: .95rem; width: 100%; }
.tm-opts { gap: .35rem; }
@media (max-width: 420px) { .tm-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tm-busy { display: grid; gap: .45rem; padding: .75rem .9rem; border-color: var(--accent); }
.tm-busy[hidden] { display: none; }
.tm-busy .row { align-items: center; }
.tm-busy progress { width: 100%; max-width: none; justify-self: stretch; height: 10px; accent-color: var(--accent); }
.tm-step { font-size: .9rem; color: var(--muted); }
.tm-clock { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.spinner.small { width: 18px; height: 18px; border-width: 2px; }
.row.between { justify-content: space-between; gap: .6rem; }
.row.between h2.section { margin-bottom: .6em; }
.list.finished .card.req { opacity: .75; }
/* logo */
.brand svg.logo-lockup { width: min(280px, 80vw); height: auto; }
header.top .logo svg.logo-icon { width: 32px; height: 32px; display: block; }
.chip.printer { background: color-mix(in srgb, #ffd23f 45%, transparent); color: inherit; }
.printer-pick { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.printer-pick select { width: auto; flex: 1 1 200px; }
li.ok { color: #1c7c3c; font-weight: 600; }
/* new request steps */
.foot-row { align-items: stretch; }
.foot-row > .btn.back { flex: 0 0 auto; }
.foot-row > .btn.primary.wide, .foot-row > .btn.wide { flex: 1 1 auto; }
.picked-store { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; margin-bottom: .4rem; }
.picked-store .linklike { margin-left: auto; }
.special-box { margin-top: .6rem; }
label.switch.inline { display: inline-flex; margin-right: .8rem; }
details.tm-more { border: 1px solid var(--line); border-radius: 10px; padding: .55rem .75rem; background: var(--card); }
details.tm-more > summary { cursor: pointer; font-weight: 600; color: var(--accent); }
details.tm-more[open] > summary { margin-bottom: .6rem; }
.tm-summary { margin: .3rem 0 0; }
.tm-formula { border-left: 3px solid var(--line); padding-left: .7rem; }
.type-hint { text-align: center; padding: 1.2rem .5rem; }
/* distributor band (top of My requests / Request queue) */
.dist-band { display: flex; align-items: center; gap: .9rem; background: #16233f; color: #fff; border-radius: 14px; padding: .8rem .9rem; margin-bottom: .9rem; }
.dist-band[hidden] { display: none; }
.dist-logo { background: #fff; border-radius: 10px; padding: .35rem .5rem; flex: 0 0 auto; display: flex; }
.dist-logo img { height: 46px; width: auto; max-width: 130px; object-fit: contain; display: block; }
.dist-info { min-width: 0; font-size: .88rem; line-height: 1.35; }
.dist-info b { font-size: 1rem; display: block; }
.dist-links { display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin-top: .15rem; }
.dist-links a { color: #ffd23f; text-decoration: none; font-weight: 600; }
.dist-links a:hover { text-decoration: underline; }
label.switch.inline input[type=checkbox] { width: 20px !important; height: 20px !important; min-height: 0 !important; }
@media (max-width: 520px) {
  .stepper button { flex-direction: column; gap: .15rem; font-size: .72rem; padding: .35rem .1rem; }
}
.stepper { align-items: stretch; } .stepper li { display: flex; margin: 0; } .stepper li button { align-self: stretch; }
a.card.pdf-link { display: flex; align-items: center; justify-content: flex-start; gap: .75rem; text-decoration: none; color: inherit; text-align: left; }
a.card.pdf-link > div { flex: 1; min-width: 0; }
.pdf-ic { flex: none; background: #c62828; color: #fff; font-weight: 800; font-size: .7rem; border-radius: 6px; padding: .45rem .4rem; letter-spacing: .03em; }

/* PrintATag admin: "Working as" bar under the header */
.working-as { display: flex; align-items: center; gap: 8px; padding: 6px 16px; background: var(--card, #f3f5fa);
  border-bottom: 1px solid var(--line); font-size: 14px; }
.working-as span { color: var(--muted); white-space: nowrap; }
.working-as select { flex: 1; min-width: 0; max-width: 420px; padding: 6px 8px; font-weight: 600; }
.working-as.on { background: #fff4c7; }
.working-as.on span { color: #5a4600; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .working-as.on { background: #3a3210; } .working-as.on span { color: #ffe08a; } }
.btn.download { margin: 4px 0 8px; }
.bill .bill-amt { font-size: 1.15rem; }
.bill .chip { font-size: .72rem; vertical-align: middle; }
.tm-file { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.tm-file .tm-file-info { flex: 1; min-width: 10rem; }
.tm-file .tm-file-btns { display: flex; gap: .4rem; flex-wrap: wrap; }
.tm-send { margin-top: .4rem; }

/* camera scanner: a red laser line sweeping up and down inside the frame */
.cam-frame { overflow: hidden; }
.cam-laser { position: absolute; left: 4%; right: 4%; height: 3px; top: 0; border-radius: 2px;
  background: #ff2a2a; box-shadow: 0 0 8px 2px rgba(255, 42, 42, .85), 0 0 18px 6px rgba(255, 42, 42, .35);
  animation: laser 1.8s ease-in-out infinite alternate; }
@keyframes laser { from { top: 4%; } to { top: calc(96% - 3px); } }
@media (prefers-reduced-motion: reduce) { .cam-laser { animation-duration: 4s; } }
/* billing v2 */
.chip.bs-active { background: color-mix(in srgb, #2e9d4f 22%, transparent); }
.chip.bs-due { background: color-mix(in srgb, #ffb020 35%, transparent); }
.chip.bs-paused { background: #c62828; color: #fff; }
.chip.bs-cancelled, .chip.bs-not_billing { opacity: .75; }
.terms ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.terms li { margin: .2rem 0; }
.ledger.pay b { color: #2e9d4f; }
.paused-band { background: #fdecea; border: 1px solid #f5b5ae; color: #8a1c13; border-radius: 12px; padding: .7rem .9rem; margin: 0 0 .8rem; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .paused-band { background: #3a1512; border-color: #6e2a24; color: #ffb4ab; } }
/* My requests: delete a request the rep printed himself */
.req-wrap { display: flex; align-items: stretch; gap: .4rem; }
.req-wrap > .card.req { flex: 1; min-width: 0; }
.req-wrap > .req-del { align-self: center; flex: none; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line, #d8dde6); border-radius: 10px; background: transparent; }
.req-wrap > .req-del:hover { border-color: #c62828; background: color-mix(in srgb, #c62828 10%, transparent); }
.list.finished .req-wrap > .card.req { opacity: .75; }

/* ---------------- sign-in page links */
.login-more { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .95rem; }
.login-more > a { font-weight: 650; font-size: 1.05rem; }
.login-more p { margin: .7rem 0 0; }

/* ---------------- public pages (How it works, Get in touch) */
.pub-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 980px; margin: 0 auto; padding: .9rem 1rem; }
.pub-logo svg { height: 40px; width: auto; display: block; }
main.pub { max-width: 980px; margin: 0 auto; padding: 0 1rem 3rem; }
.hw-hero h1 { margin: .6rem 0 .3rem; font-size: clamp(1.6rem, 5vw, 2.3rem); }
.hw-hero p { max-width: 40rem; }
.hw-demo { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; justify-content: center; margin: 1.4rem 0 1rem; }
.hw-side { flex: 1 1 16rem; max-width: 26rem; }
.hw-cap h2 { margin: .2rem 0 .3rem; }
.hw-cap p { margin: 0 0 .8rem; min-height: 3em; }
.hw-num { color: var(--accent); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.hw-dots { display: flex; gap: .45rem; margin-bottom: .9rem; }
.hw-dot { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.hw-dot.on { background: var(--accent); width: 28px; border-radius: 6px; transition: width .25s; }
.hw-list { padding-left: 1.3rem; } .hw-list li { margin: .45rem 0; }
.hw-cta { text-align: center; margin-top: 2rem; padding: 1.4rem 1rem; }
.hw-cta h2 { margin: 0 0 .3rem; }

/* the phone */
.hw-phone { position: relative; width: 250px; height: 440px; flex: none; border-radius: 34px; background: var(--card);
  border: 8px solid #16233f; box-shadow: 0 12px 40px rgba(22, 35, 63, .25); overflow: hidden; }
.hw-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 18px; background: #16233f; border-radius: 0 0 12px 12px; z-index: 3; }
.hw-scene { position: absolute; inset: 0; padding: 34px 14px 14px; display: none; font-size: .82rem; }
.hw-scene.on { display: block; animation: hw-in .35s ease-out; }
@keyframes hw-in { from { opacity: 0; transform: translateX(14px); } }
.hw-scene.on * { animation-fill-mode: both; }

/* 1 - store search */
.hw-search { display: flex; align-items: center; gap: .4rem; border: 2px solid var(--accent); border-radius: 10px; padding: .45rem .6rem; margin-bottom: .7rem; }
.hw-typed { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--accent); width: 0; }
.hw-scene.on .hw-typed { animation: hw-type .8s steps(7) .2s forwards, hw-caret .6s step-end 1s 4; }
@keyframes hw-type { to { width: 7.5ch; } }
@keyframes hw-caret { 50% { border-color: transparent; } }
.hw-row { border: 1px solid var(--line); border-radius: 10px; padding: .55rem .6rem; margin-bottom: .45rem; opacity: 0; }
.hw-scene.on .hw-row { animation: hw-up .3s ease-out var(--d) forwards; }
.hw-scene.on .hw-pick { animation: hw-up .3s ease-out var(--d) forwards, hw-tap .5s ease-out 2.4s forwards; }
@keyframes hw-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hw-tap { 40% { transform: scale(.96); } 100% { opacity: 1; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); } }

/* 2 - tag checkboxes */
.hw-check { display: flex; align-items: center; gap: .6rem; padding: .7rem .6rem; border: 1px solid var(--line); border-radius: 10px; margin-bottom: .5rem; }
.hw-box { width: 20px; height: 20px; border: 2px solid var(--muted); border-radius: 5px; flex: none; position: relative; }
.hw-scene.on .hw-on .hw-box { animation: hw-checked .25s ease-out var(--d) forwards; }
.hw-scene.on .hw-on { animation: hw-row-on .25s ease-out var(--d) forwards; }
@keyframes hw-checked { to { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--card); } }
@keyframes hw-row-on { to { border-color: var(--accent); } }

/* 3 - scanning */
.hw-cam { position: relative; height: 230px; border-radius: 14px; background: #1b1f27; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.hw-bottle { width: 80px; height: 210px; background: linear-gradient(90deg, #2d4a2a, #4c7a46 45%, #2d4a2a); border-radius: 30px 30px 8px 8px; position: relative; }
.hw-bottle::before { content: ''; position: absolute; left: 30px; top: -30px; width: 20px; height: 40px; background: #2d4a2a; border-radius: 6px 6px 0 0; }
.hw-label { position: absolute; left: 8px; right: 8px; top: 80px; background: #f4ecd8; border-radius: 4px; padding: 8px 6px 4px; }
.hw-bars { height: 34px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px); }
.hw-upc { font: 600 7px/1.4 ui-monospace, monospace; color: #111; text-align: center; }
.hw-laser { position: absolute; left: 10%; right: 10%; top: 20%; height: 3px; background: #ff2b2b; box-shadow: 0 0 10px 3px rgba(255, 43, 43, .7); border-radius: 2px; }
.hw-scene.on .hw-laser { animation: hw-laser 1.1s ease-in-out infinite alternate; }
@keyframes hw-laser { to { top: 75%; } }
.hw-pop { margin-top: .7rem; background: #39ff14; color: #062b00; box-shadow: 0 0 14px rgba(57, 255, 20, .7); font-weight: 700; border-radius: 10px; padding: .55rem .6rem; opacity: 0; }
.hw-scene.on .hw-pop { animation: hw-pop .35s cubic-bezier(.3, 1.6, .5, 1) 1.6s forwards; }
@keyframes hw-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.hw-cart { margin-top: .6rem; color: var(--muted); }
.hw-count::after { content: '3'; }
.hw-scene.on .hw-count::after { animation: hw-count 0s 1.6s forwards; }
@keyframes hw-count { to { content: '4'; } }

/* 4 - send */
.hw-field { margin-bottom: .9rem; }
.hw-lbl { font-weight: 650; margin-bottom: .35rem; }
.hw-select { position: relative; border: 1px solid var(--line); border-radius: 10px; height: 2.4rem; overflow: hidden; }
.hw-select span { position: absolute; left: .6rem; right: .6rem; top: .6rem; }
.hw-sel-b { opacity: 0; font-weight: 650; }
.hw-scene.on .hw-sel-a { animation: hw-fade-out .2s .9s forwards; }
.hw-scene.on .hw-sel-b { animation: hw-fade-in .2s 1s forwards; }
.hw-scene.on .hw-select { animation: hw-row-on .2s .9s forwards; }
@keyframes hw-fade-out { to { opacity: 0; } }
@keyframes hw-fade-in { to { opacity: 1; } }
.hw-send { background: var(--accent); color: var(--accent-ink); text-align: center; font-weight: 700; padding: .7rem; border-radius: 10px; }
.hw-scene.on .hw-send { animation: hw-press .3s 1.8s; }
@keyframes hw-press { 50% { transform: scale(.94); filter: brightness(.85); } }
.hw-done { margin-top: 1.4rem; text-align: center; font-size: 1.2rem; font-weight: 750; color: var(--ok); opacity: 0; }
.hw-scene.on .hw-done { animation: hw-pop .4s cubic-bezier(.3, 1.6, .5, 1) 2.2s forwards; }
.hw-tick { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ok); color: #fff; margin-right: .4rem; }
.hw-tick.big { width: 3.2rem; height: 3.2rem; font-size: 1.6rem; margin: 0 auto .4rem; display: grid; }

/* 5 - print */
.hw-sheet { background: #fff; border-radius: 6px; padding: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.hw-tag { background: #ffd23f; border-radius: 3px; height: 50px; padding: 4px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; color: #16233f; }
.hw-tag i { display: block; height: 4px; width: 80%; background: rgba(22, 35, 63, .35); border-radius: 2px; }
.hw-tag b { font-size: .78rem; text-align: right; }
.hw-scene.on .hw-tag { animation: hw-up .25s ease-out var(--d) forwards; }
.hw-printer { position: relative; margin: 1rem auto 0; width: 170px; height: 64px; background: #2b3447; border-radius: 10px; overflow: visible; }
.hw-printer::before { content: ''; position: absolute; left: 20px; right: 20px; top: 26px; height: 6px; background: #0e131c; border-radius: 3px; }
.hw-paper { position: absolute; left: 30px; right: 30px; top: 30px; height: 0; background: repeating-linear-gradient(#fff 0 10px, #ffe9a3 10px 14px); border-radius: 0 0 3px 3px; }
.hw-scene.on .hw-paper { animation: hw-paper 1.4s ease-in-out 1.9s forwards; }
@keyframes hw-paper { to { height: 70px; } }

@media (prefers-reduced-motion: reduce) {
  .hw-scene.on, .hw-scene.on * { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}

/* ---------------- Get in touch */
.contact-form { max-width: 34rem; }
.contact-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-done { text-align: center; max-width: 34rem; }
.inq.is-new { border-left: 4px solid var(--accent); }
.inq-msg { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chip.inq-new { background: color-mix(in srgb, var(--accent) 20%, transparent); }
.chip.inq-won { background: color-mix(in srgb, #2e9d4f 22%, transparent); }
.chip.inq-lost { opacity: .7; }
/* Deep Deal option under the tag boxes */
.deep-wrap:empty { display: none; }
.deep-opt { margin-top: .8rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); display: flex; gap: .6rem; align-items: center; }
.hw-check { padding: .55rem .6rem; margin-bottom: .4rem; }
.hw-more { color: var(--muted); text-align: center; font-style: italic; margin-top: .3rem; opacity: 0; }
.hw-scene.on .hw-more { animation: hw-fade-in .3s 2.8s forwards; }
.hw-kinds { display: flex; flex-wrap: wrap; gap: .5rem; }
.hw-kind { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; font-weight: 600; }
.hw-kind::before { content: ''; display: inline-block; width: .7em; height: .7em; border-radius: 2px; background: var(--tag); margin-right: .45em; vertical-align: -.05em; }
.hw-kind.more { color: var(--muted); font-weight: 500; font-style: italic; }
.hw-kind.more::before { display: none; }
.hw-tag { height: 56px; padding: 4px 5px; }
.hw-tag-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 3px; }
.hw-img { display: block; width: 14px; height: 34px; background: center bottom / contain no-repeat; flex: none; }
.hw-img.wine { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2032%22%3E%3Cpath%20d%3D%22M4.5%200h3v9c0%202%203.5%203%203.5%207v14.5c0%20.8-.7%201.5-1.5%201.5h-7C1.7%2032%201%2031.3%201%2030.5V16c0-4%203.5-5%203.5-7z%22%20fill%3D%22%235b1a2b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2218%22%20width%3D%228%22%20height%3D%228%22%20rx%3D%221%22%20fill%3D%22%23f4ecd8%22/%3E%3Crect%20x%3D%223.3%22%20y%3D%2220%22%20width%3D%225.4%22%20height%3D%221.2%22%20fill%3D%22%235b1a2b%22/%3E%3Crect%20x%3D%224%22%20y%3D%220%22%20width%3D%224%22%20height%3D%223%22%20fill%3D%22%23c9a227%22/%3E%3C/svg%3E"); }
.hw-img.beer { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2032%22%3E%3Cpath%20d%3D%22M4.6%200h2.8v8c0%202%203.6%203.5%203.6%206.5v16c0%20.8-.7%201.5-1.5%201.5h-7C1.7%2032%201%2031.3%201%2030.5v-16C1%2011.5%204.6%2010%204.6%208z%22%20fill%3D%22%238a4b12%22/%3E%3Cellipse%20cx%3D%226%22%20cy%3D%2222%22%20rx%3D%224%22%20ry%3D%224.5%22%20fill%3D%22%23f2c94c%22/%3E%3Crect%20x%3D%224.4%22%20y%3D%220%22%20width%3D%223.2%22%20height%3D%222%22%20fill%3D%22%23333%22/%3E%3C/svg%3E"); }
.hw-img.can { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2028%22%3E%3Crect%20x%3D%221%22%20y%3D%222%22%20width%3D%2214%22%20height%3D%2225%22%20rx%3D%222.5%22%20fill%3D%22%23c62828%22/%3E%3Crect%20x%3D%222%22%20y%3D%220.5%22%20width%3D%2212%22%20height%3D%223%22%20rx%3D%221.2%22%20fill%3D%22%23b0b7c3%22/%3E%3Cpath%20d%3D%22M1%2013c4-3%2010%203%2014%200v4c-4%203-10-3-14%200z%22%20fill%3D%22%23fff%22/%3E%3C/svg%3E"); width: 17px; height: 28px; }
/* Why PrintATag */
.hw-why { margin: 1.6rem 0 1rem; }
.hw-why h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); margin: 0 0 .3rem; }
.hw-why-lead { font-size: 1.08rem; max-width: 46rem; margin: 0 0 1rem; }
.hw-why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; }
.hw-why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow); }
.hw-why-card b { display: block; font-size: 1.02rem; margin: .25rem 0 .2rem; }
.hw-why-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.hw-why-ic { font-size: 1.5rem; line-height: 1; }
.hw-why-end { margin: 1rem 0 0; font-size: 1.05rem; }
.hw-sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 6px; }
.hw-tag b { font-size: .72rem; white-space: nowrap; }
.hw-label { top: 70px; }
.hw-wine { font: 700 9px/1.1 Georgia, serif; color: #5b1a2b; text-align: center; }
.hw-ml { font: 600 6px/1.2 system-ui, sans-serif; color: #333; text-align: center; margin-bottom: 3px; }
.hw-upc { white-space: nowrap; font-size: 6px; letter-spacing: -.02em; }
/* step 5: realistic shelf tags (2 x 3 on a letter sheet) */
.hw-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 7px; border-radius: 2px;
  background: #fdfdfb; box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 6px 18px rgba(0,0,0,.18); }
.hw-tag { height: 78px; padding: 3px 3px 3px 2px; display: flex; flex-direction: row; justify-content: flex-start; gap: 2px;
  background: linear-gradient(#fff, #fbfbf8); border: .5px dashed #c9c9c4; border-radius: 0; color: #111; font-family: Arial, Helvetica, sans-serif; }
.hw-pic { flex: none; width: 21px; display: flex; align-items: flex-end; padding-bottom: 2px; }
.hw-pic svg { width: 100%; height: auto; max-height: 70px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.hw-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hw-name { font-weight: 800; font-size: 8.5px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-size { font-size: 6.5px; color: #444; font-weight: 600; }
.hw-price { margin-top: 2px; background: #ffd23f; border-radius: 1.5px; padding: 1px 3px 0; text-align: center;
  font: 900 17px/1.05 Rockwell, "Rockwell Extra Bold", "Roboto Slab", Georgia, serif; color: #111; white-space: nowrap; }
.hw-dollar, .hw-price sup { font-size: 9px; vertical-align: 6px; }
.hw-save { font-size: 5.6px; font-weight: 700; color: #c62828; margin-top: 1.5px; white-space: nowrap; }
.hw-code { margin-top: auto; display: flex; align-items: flex-end; gap: 2px; font-size: 5px; color: #333; }
.hw-mini-bars { display: block; width: 30px; height: 7px;
  background: repeating-linear-gradient(90deg, #111 0 1px, transparent 1px 2px, #111 2px 2.5px, transparent 2.5px 4px, #111 4px 5.5px, transparent 5.5px 6px); }
.hw-printer { margin-top: .7rem; height: 48px; }
.hw-printer::before { top: 20px; }
.hw-paper { top: 24px; }
@keyframes hw-paper { to { height: 54px; } }
/* Nothing to buy, nothing to install */
.hw-easy { margin: 1.8rem 0 1rem; }
.hw-easy h2 { font-size: clamp(1.25rem, 3.6vw, 1.6rem); margin: 0 0 .8rem; }
.hw-easy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .75rem; }
.hw-easy-card { background: color-mix(in srgb, var(--accent) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: var(--radius); padding: .9rem 1rem; }
.hw-easy-card b { display: block; font-size: 1.02rem; margin-bottom: .25rem; }
.hw-easy-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.hw-devices { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.hw-device { border: 1px solid var(--line); border-radius: 999px; padding: .25rem .65rem; font-size: .88rem; white-space: nowrap; }
/* scan step: the realistic bottle */
.hw-bottle { width: 72px; height: 226px; background: none; border-radius: 0; margin-bottom: -6px; }
.hw-bottle::before { display: none; }
.hw-bottle > svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.hw-bottle .hw-label { left: 13%; right: 13%; top: 57%; padding: 5px 3px 3px; border-radius: 2px; background: linear-gradient(90deg, #e4d8bd, #fbf6ea 50%, #e4d8bd); z-index: 1; }
.hw-cam { background: radial-gradient(ellipse at 50% 30%, #3a3f4a, #15181e 75%); }
.hw-bottle .hw-upc { font-size: 5px; letter-spacing: -.04em; overflow: hidden; }
/* Home links on the public pages */
.pub-nav { display: flex; align-items: center; gap: 1rem; }
.pub-nav > a:not(.btn) { font-weight: 600; text-decoration: none; }
.pub-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; max-width: 980px; margin: 0 auto; padding: 1.2rem 1rem 2rem; border-top: 1px solid var(--line); font-size: .95rem; }
main .pub-foot { margin-top: 2rem; }
/* line icons */
svg.ic { width: 1.05em; height: 1.05em; vertical-align: -.17em; flex: none; }
.btn svg.ic, a svg.ic { margin-right: .4em; }
.icon-btn svg.ic { margin: 0; width: 1.15em; height: 1.15em; }
/* How it works: the phone on the left edge, the steps beside it */
.hw-demo { flex-direction: row; justify-content: flex-start; gap: 2.5rem; }
.hw-side { max-width: 30rem; }
@media (max-width: 640px) { .hw-demo { justify-content: flex-start; } }
.hw-why-ic { color: var(--accent); }
.hw-why-ic svg.ic { width: 1.5rem; height: 1.5rem; }
.hw-device { display: inline-flex; align-items: center; gap: .35rem; }
.hw-device svg.ic { color: var(--accent); }
.hw-mag svg.ic { color: var(--muted); }
.pub-nav a svg.ic, .pub-foot a svg.ic { margin-right: .3em; }
nav.menu a svg.ic { margin-right: .45em; }
.chip svg.ic { margin-right: .25em; width: .95em; height: .95em; }
/* sign-in: saved emails + keep me signed in */
.saved-emails { display: grid; gap: .4rem; }
.saved-email { display: flex; gap: .4rem; align-items: stretch; }
.saved-email .linkcard { flex: 1; text-align: left; font: inherit; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .7rem .9rem; cursor: pointer; overflow: hidden; text-overflow: ellipsis; }
.saved-email .linkcard:hover { border-color: var(--accent); }
.saved-email .icon-btn { width: 2.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--muted); font-size: 1.2rem; }
label.switch.keep { font-size: .95rem; color: var(--muted); }
.make-problem { border-left: 4px solid var(--danger); }
.pdf-expiry { background: color-mix(in srgb, #ffb020 22%, transparent); border-left: 4px solid #e0a000; border-radius: 8px; padding: .55rem .75rem; font-size: .92rem; margin: .4rem 0; }
.fresh-band { background: color-mix(in srgb, #ffb020 18%, var(--card)); border: 1px solid color-mix(in srgb, #e0a000 50%, transparent); border-radius: var(--radius); padding: .7rem .9rem; margin: 0 0 .8rem; } .fresh-band ul { margin: .3rem 0; padding-left: 1.2rem; }

/* ---------------- sign-in page: on a computer or tablet it sits inside a phone frame (on a phone it's the phone) */
@media (min-width: 700px) and (min-height: 640px) {
  body:has(> #app > .login) { min-height: 100vh; background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--accent) 10%, var(--bg)), var(--bg) 70%); }
  .login {
    position: relative; max-width: 410px; min-height: min(820px, 92vh); margin: 4vh auto; padding: 64px 26px 28px;
    background: var(--bg); border: 12px solid #16233f; border-radius: 48px;
    box-shadow: 0 2px 0 1px #2b3a5c inset, 0 24px 60px rgba(22, 35, 63, .28), 0 0 0 2px #0b1220;
  }
  .login::before {                       /* the notch */
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 26px; background: #16233f; border-radius: 0 0 16px 16px;
  }
  .login::after {                        /* the home bar */
    content: ''; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    width: 120px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 25%, transparent);
  }
}
@media not all { /* dark mode off (2026-11-09) */
  .login { border-color: #2b3a5c; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
  .login::before { background: #2b3a5c; }
}
/* sign-in page: the PrintATag logo spans the same width as the sign-in button */
.login .brand { display: block; width: 100%; }
.login .brand svg.logo-lockup { display: block; width: 100%; height: auto; max-height: none; }
/* Statistics console */
.sc-tiles { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }
.sc-tiles > div { display: flex; flex-direction: column; }
.sc-chart { position: relative; }
.sc-bars { display: flex; align-items: flex-end; gap: 2px; height: 140px; margin: .6rem 0 .3rem; border-bottom: 1px solid var(--line); }
.sc-col { flex: 1; height: 100%; display: flex; align-items: flex-end; cursor: pointer; outline: none; }
.sc-bar { width: 100%; min-height: 0; background: var(--accent); border-radius: 4px 4px 0 0; }
.sc-bar.zero { height: 2px !important; background: var(--line); border-radius: 0; }
.sc-col:hover .sc-bar, .sc-col:focus .sc-bar { filter: brightness(1.25); }
.sc-tip { position: absolute; top: .5rem; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: .25rem .6rem; border-radius: 6px; font-size: .85rem; white-space: nowrap; }
.sc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.sc-two > div { display: grid; gap: .4rem; align-content: start; }
.sc-one { display: grid; gap: .4rem; margin: 1rem 0; }
.sc-table-wrap { overflow-x: auto; }
.sc-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.sc-table th, .sc-table td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sc-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.sc-table tr:last-child td { border-bottom: 0; }
/* the tagline */
.tagline { display: inline-block; margin: 0 0 .2rem; padding: .2rem .7rem; border-radius: 999px; background: var(--tag); color: #16233f;
  font-weight: 800; letter-spacing: .02em; font-size: .95rem; }
.login .tagline { margin: -.6rem 0 .4rem; }
.stats-filter { display: grid; gap: .7rem; }
.stats-filter label { flex: 1 1 11rem; display: grid; gap: .25rem; }

/* ---------------- Proposals (PrintATag admin) */
.prop-row { text-decoration: none; color: inherit; }
.chip.prop-draft { background: #eef1f6; } .chip.prop-sent { background: #dbe7ff; } .chip.prop-accepted { background: #d6f5df; } .chip.prop-declined { background: #fde2e2; }
.prop-logo-row { align-items: center; }
img.prop-logo { max-height: 64px; max-width: 220px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.prop-item { align-items: end; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.prop-item label { display: grid; gap: .2rem; font-size: .85rem; }
.prop-item input { min-width: 0; }
table.prop-quote td.r, table.prop-analysis td.r { text-align: right; white-space: nowrap; }
table.prop-quote, table.prop-analysis { width: 100%; }
.prop-analysis-wrap { overflow-x: auto; }
.prop-mock { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); display: grid; gap: .6rem; padding-bottom: .7rem; }
.prop-mock-top { display: flex; gap: 1rem; align-items: center; background: #16233f; color: #fff; padding: .55rem .8rem; }
.prop-mock-top span { opacity: .8; font-size: .85rem; }
.prop-mock > .small { padding: 0 .8rem; }
.prop-band { display: flex !important; gap: .8rem; align-items: center; margin: 0 .8rem; }
.prop-band img { max-height: 48px; max-width: 160px; object-fit: contain; }
.prop-nologo { width: 120px; height: 44px; border: 2px dashed var(--line); border-radius: 8px; display: grid; place-items: center; font-size: .8rem; color: var(--muted, #667); }
.prop-foot { position: sticky; bottom: 0; background: var(--bg); padding: .7rem 0; border-top: 1px solid var(--line); }
.prop-quote td:first-child { white-space: normal; }

/* ---------------- Warehouse Location Tags */
.wh-table-wrap { overflow-x: auto; max-height: 70vh; overflow-y: auto; }
table.wh-table th, table.wh-table td { padding: .25rem .3rem; vertical-align: middle; }
table.wh-table th { position: sticky; top: 0; background: var(--card); z-index: 1; }
table.wh-table input:not([type=checkbox]) { min-width: 7rem; width: 100%; padding: .3rem .4rem; font: inherit; font-size: .88rem; }
table.wh-table input.wh-copies { min-width: 3.5rem; width: 4rem; }
table.wh-table tr.on td { background: #eef4ff; }
.wh-colhead { display: flex; gap: .2rem; align-items: center; }
.wh-colhead input { font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--ink); }
.wh-person { padding: .3rem 0; }
main > *, main section { min-width: 0; max-width: 100%; }
.wh-table-wrap { width: 100%; }
.tax-box { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.tax-box legend { font-weight: 700; padding: 0 .3rem; }
.tax-table td input[type=number] { width: 4.5rem; padding: .3rem .4rem; }
.tax-table td.wrap { white-space: normal; min-width: 24rem; }
.chip.tax-yes { background: #fde8d7; color: #8a3b00; }
.tax-table tr.on td { background: #eef7ee; }
.bills-box { border: 1px solid var(--line); border-radius: 12px; padding: .7rem; }

/* Distributors or Wholesalers - click here (sign-in page) + the public list and form */
.dist-cta { margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: 12px; background: #eef3ff; border: 1px solid #cfdcfb; }
.dist-cta p { margin: 0 0 .7rem; }
.dist-cta p b { display: block; font-size: 1.08rem; margin-bottom: .2rem; }
.dist-go { display: inline-flex; align-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; border-radius: 99px;
  padding: .55rem 1.1rem; text-decoration: none; }
.dist-go:hover { filter: brightness(1.08); }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .dist-cta { background: #1a2742; border-color: #2f4170; } }
.dir-hero h1 { color: #c62828; }
.dir-tools { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1rem 0 .3rem; }
.dir-tools label { flex: 1 1 10rem; min-width: 0; }
.dir-state { margin-top: 1.4rem; }
.dir-state h2 { font-size: 1.05rem; margin: 0 0 .5rem; padding-bottom: .3rem; border-bottom: 2px solid var(--line); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .5rem; }
.dir-co { display: flex; flex-direction: column; gap: .1rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: inherit; text-decoration: none; min-width: 0; }
.dir-co b { overflow-wrap: anywhere; }
.dir-co:hover, .dir-co:focus-visible { border-color: var(--accent); box-shadow: 0 2px 10px rgba(31, 79, 209, .15); }
.dir-closed { font-style: italic; }
.dir-picked { background: #eef3ff; border: 1px solid #cfdcfb; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .dir-picked { background: #1a2742; border-color: #2f4170; } }
.dir-picked-name { display: block; font-size: 1.2rem; margin: .1rem 0; }
.dir-tagmaker { border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem 1rem; }
.dir-tagmaker legend { font-weight: 700; padding: 0 .3rem; }
.dir-or { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .85rem; text-transform: uppercase; }
.dir-or::before, .dir-or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.dir-letter { white-space: pre-wrap; font: inherit; font-size: .88rem; background: var(--bg, #f5f7fb); border: 1px solid var(--line);
  border-radius: 8px; padding: .7rem; margin: .5rem 0 0; overflow-wrap: anywhere; }
.dir-row.off { opacity: .6; }
.dir-row > div:first-child { min-width: 0; }
.rights-note { border-left: 3px solid var(--accent); padding: .5rem .7rem; background: var(--card); border-radius: 6px; }
/* "What tags do you need?": the Deep Deal box drops down under a ticked EDLP card */
.tag-pick { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.deep-slot:empty { display: none; }
.deep-sub { display: flex; align-items: flex-start; gap: .55rem; margin: 0 0 0 .9rem; padding: .45rem .6rem; border-left: 3px solid var(--accent);
  background: var(--card); border-radius: 0 8px 8px 0; font-size: .92rem; cursor: pointer; }
.deep-sub input { margin-top: .2rem; }
.prop-afield { flex: 1 1 9rem; }
.prop-legend .lg-reg { color: #1f4fd1; } .prop-legend .lg-sale { color: #15803d; } .prop-legend .lg-cost { color: #c62828; }
.prop-legend span { margin-right: .8rem; font-weight: 600; }

.prop-grid { margin-top: .4rem; }
.prop-grid-title { font-size: .85rem; margin-bottom: .4rem; }
.prop-grid table.heat { border-collapse: separate; border-spacing: 3px; width: 100%; font-size: .85rem; font-variant-numeric: tabular-nums; }
.prop-grid table.heat th { color: var(--muted, #5d6779); font-weight: 600; font-size: .75rem; padding: .3rem; text-align: right; white-space: nowrap; }
.prop-grid table.heat tbody th { text-align: left; }
.prop-grid table.heat td { padding: .5rem .45rem; text-align: right; border-radius: 6px; font-weight: 650; white-space: nowrap; }
.prop-grid table.heat td.neg { background: #fde2e2; color: #c62828; }
.prop-grid table.heat td.mine { outline: 3px solid #ffd23f; outline-offset: -1px; }

/* ---------------- branded sites (update 43): their logo + color */
body.branded header.top { background: #fff; color: #16233f; border-bottom: 4px solid var(--brand, var(--accent)); }
body.branded .top-who { border-right-color: var(--line); }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { body.branded header.top { background: #0a0f19; color: var(--ink); } }
.brand-logo { display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 2px 6px; }
.brand-logo img { height: 34px; width: auto; max-width: 140px; object-fit: contain; display: block; }
body.branded .dist-band { background: var(--brand, #16233f); }
body.branded .dist-band { display: none !important; }   /* their logo is already in the header - no second company box */
.login .brand.brand-img { display: flex; justify-content: center; background: #fff; border-radius: 14px; padding: .6rem; }
.login .brand.brand-img img { display: block; max-width: 100%; max-height: 110px; object-fit: contain; }
.site-pill { display: inline-block; margin: 0 0 .3rem; padding: .25rem .8rem; border-radius: 999px; background: var(--brand, var(--accent)); color: #fff;
  font-weight: 800; font-size: .85rem; letter-spacing: .02em; }
.login-steps { margin: 1.4rem 0 0; padding-left: 1.3rem; color: var(--muted); display: grid; gap: .35rem; font-size: .92rem; }
footer.powered { text-align: center; font-size: .78rem; color: var(--muted); padding: 1.4rem 0 1.8rem; }
footer.powered a { color: inherit; text-decoration: none; }
footer.powered a:hover b { text-decoration: underline; }
/* Super Admin -> Distributors: the brand preview */
.brand-prev { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg); }
.brand-prev .bp-top { display: flex; align-items: center; gap: .6rem; background: #fff; padding: .45rem .7rem; border-bottom: 4px solid var(--bp, #16233f); }
.brand-prev .bp-top img { height: 30px; max-width: 120px; object-fit: contain; }
.brand-prev .bp-top span { font-size: .78rem; color: #5d6779; }
.brand-prev .bp-body { padding: .6rem .7rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.brand-prev .bp-btn { background: var(--bp, #1f4fd1); color: #fff; border-radius: 8px; padding: .4rem .8rem; font-weight: 700; font-size: .85rem; }
.slug-row { display: flex; align-items: center; gap: .3rem; }
.slug-row input { flex: 1; min-width: 0; }
.color-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.color-row input[type=color] { width: 3rem; height: 2.4rem; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; }
.dist-site { font-size: .8rem; }

/* ---------------- Our account (update 44: the customer's account owner) */
.acct-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .6rem; }
.acct-tile { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; display: grid; gap: .15rem; }
.acct-tile b { font-size: 1.15rem; }
.acct-balance { font-size: 1.6rem; font-weight: 800; color: var(--ok); }
.acct-balance.due { color: var(--danger); }
.acct-ledger td.r { text-align: right; } .acct-ledger td.ok { color: var(--ok); }
.chip.owner { background: color-mix(in srgb, var(--accent) 16%, var(--card)); color: var(--ink); font-weight: 700; }
/* Managers' Tag types page */
.card.block.tag-choice { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.tag-choice.off { opacity: .65; }
.tag-choice .chip { margin-left: .4rem; }
/* Super Admin "View as" */
.working-as { flex-wrap: wrap; }
.working-as.viewing { background: #ede4ff; }
.working-as.viewing span { color: #4b2a8f; }
.working-as .as-note { flex-basis: 100%; font-size: .82rem; color: #4b2a8f; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .working-as.viewing { background: #2c2147; } .working-as.viewing span, .working-as .as-note { color: #d5c4ff; } }
/* ---------------- Tasks (update 47) */
.task-link { position: relative; }
.badge { display: inline-block; min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem; margin-left: .35rem; border-radius: 999px;
  background: #d92d20; color: #fff; font-size: .75rem; font-weight: 800; line-height: 1.25rem; text-align: center; vertical-align: 1px; }
.task-band { display: block; background: color-mix(in srgb, #d92d20 12%, var(--card)); border: 1px solid color-mix(in srgb, #d92d20 40%, transparent);
  color: var(--ink); border-radius: var(--radius); padding: .7rem .9rem; margin: 0 0 .8rem; font-weight: 700; text-decoration: none; }
.card.block.task { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.task-main { display: grid; gap: .25rem; min-width: 0; }
.task-what { white-space: pre-wrap; }
.task-btns { display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; flex: none; }
.task.late { border-left: 4px solid #d92d20; }
.task.done { opacity: .75; }
.task-note { color: var(--ok); }
.task-chip-done { background: #d6f5df; } .task-chip-late { background: #fde2e2; color: #b42318; }
.task-done summary { cursor: pointer; color: var(--muted); margin: .4rem 0; }
@media (max-width: 600px) { .card.block.task { flex-direction: column; } .task-btns { flex-direction: row; align-items: center; } }
/* Distributors page: pick a state first */
.dir-states { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: .5rem; }
.dir-st { display: flex; flex-direction: column; gap: .1rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--ink); text-decoration: none; }
.dir-st:hover, .dir-st:focus-visible { border-color: var(--accent); box-shadow: 0 2px 10px rgba(31, 79, 209, .15); }
.dir-st.closed { opacity: .6; }
.dir-back { font-weight: 650; text-decoration: none; }
.task-from { font-size: .82rem; font-weight: 700; color: var(--accent); }
.task-req { display: inline-block; font-size: .88rem; font-weight: 650; }
.task-req-pick { display: flex; gap: .5rem; align-items: flex-start; font-size: .88rem; }
.task-req-pick input { margin-top: .2rem; }
.badge.badge-done { background: #15803d; }
.task-band.all-done { background: color-mix(in srgb, #15803d 12%, var(--card)); border-color: color-mix(in srgb, #15803d 40%, transparent); }
.task.just-done { border-left: 4px solid #15803d; opacity: 1; }
/* "This month" on the home page */
.month-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem; margin: .2rem 0 .9rem; display: grid; gap: .55rem; }
.month-title { font-weight: 800; }
.month-line { display: grid; gap: .25rem; }
.month-who { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.month-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.month-num { background: var(--bg); border-radius: 10px; padding: .45rem .6rem; display: grid; }
.month-num b { font-size: 1.3rem; color: var(--accent); }
.month-num span { font-size: .78rem; color: var(--muted); }
/* "Tag" in PrintATag in the logo's yellow (tagword.js) - a touch deeper on white so it stays readable */
.pat-tag { color: #f2b400; }
/* the logo's taller A, wherever "PrintATag" is written */
.pat-a { font-size: 1.3em; line-height: 0; }
header.top .pat-tag, .dist-band .pat-tag, .hw-hero.dark .pat-tag, .pat-on-dark .pat-tag { color: #ffd23f; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .pat-tag { color: #ffd23f; } }
.tagline .pat-tag, .btn .pat-tag, .chip .pat-tag, .site-pill .pat-tag, .badge .pat-tag { color: inherit; }
.prop-samples { border: 1px solid var(--line); border-radius: 10px; padding: .55rem .75rem; background: var(--bg); }
.prop-samples > summary { cursor: pointer; }
.prop-samples[open] > summary { margin-bottom: .5rem; }
.prop-design { padding: .5rem .7rem; } .prop-design.on { border-color: var(--accent); }
.prop-design .row { margin-top: .4rem; }
.prop-cust { border-top: 1px solid var(--line); padding-top: .75rem; }
.prop-cust h3 { margin: 0; }
.prop-cust .card { display: flex; flex-direction: column; align-items: stretch; gap: .35rem; }
.prop-cust ol { margin: .2rem 0 0 1.2rem; padding: 0; }
.tag-card { align-items: center; }
.tag-card-right { flex: none; }
.std-tick { font-size: .85rem; font-weight: 650; }

/* Images: see and delete pictures (update 54) */
.pic-browser { margin-top: 1.5rem; }
.pic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; }
.pic-card { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: .5rem; background: var(--card); border: 2px solid var(--line);
  border-radius: var(--radius); cursor: pointer; min-width: 0; }
.pic-card.picked { border-color: var(--danger); }
.pic-card input[type=checkbox] { position: absolute; top: .4rem; left: .4rem; width: 1.2rem; height: 1.2rem; margin: 0; }
.pic-card img { width: 100%; height: 120px; object-fit: contain; background: #fff; border-radius: 6px; }
.pic-card span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pic-danger { border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .5rem; }
.pic-none { height: 120px; display: flex; align-items: center; justify-content: center; background: var(--bg); border-radius: 6px; }

/* Proposals: presentation mode - only the proposal shows (no menu, no Back to the list, no internal fields) */
body.presenting header.top > a.icon-btn, body.presenting header.top .icon-btn[aria-label="Menu"], body.presenting nav.menu,
body.presenting .working-as, body.presenting .top-who, body.presenting .prop-internal, body.presenting .paused-band { display: none !important; }
.present-exit { position: fixed; right: 14px; bottom: 76px; z-index: 1000; display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem 1rem; font: 600 .9rem/1 inherit; border-radius: 999px; border: 2px solid var(--tag);
  background: #16233f; color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); cursor: pointer; }
.present-exit:hover, .present-exit:focus { background: #1f4fd1; }

/* Proposals: tabs across the top - Create a proposal / Saved proposals (PIN) - so the proposal keeps the full width */
.prop-layout { display: block; }
.prop-tabs { display: flex; gap: .35rem; padding: .35rem; margin-bottom: 1rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); max-width: 30rem; }
.prop-tabs a { flex: 1; text-align: center; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.prop-tabs a:hover { background: var(--bg); }
.prop-tabs a.on { background: var(--accent); color: var(--accent-ink); }
.prop-main { min-width: 0; }
.pin-card { max-width: 24rem; }
.pin-input { font-size: 1.6rem; letter-spacing: .6em; text-align: center; max-width: 11rem; }
@media (max-width: 760px) { .prop-tabs { max-width: none; } .prop-tabs a { padding: .55rem .4rem; font-size: .92rem; } }

/* ---- Tag designs (update 57) */
.design-row { align-items: center; }
.dz-layout { align-items: flex-start; }
.dz-sheet { position: relative; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); flex: none; }
.dz-mini { position: absolute; border: 1px solid #7a8fb8; background: #eef3ff; }
.dz-stage { overflow: auto; padding: 4px; background: repeating-conic-gradient(#f1f3f6 0% 25%, #fff 0% 50%) 50% / 16px 16px; border-radius: 10px; }
.dz-tag { position: relative; margin: 0 auto; background-color: #fff; background-size: 100% 100%; background-repeat: no-repeat;
  outline: 1px solid #8a94a6; touch-action: none; user-select: none; }
.dz-el { position: absolute; display: flex; box-sizing: border-box; cursor: move; outline: 1px dashed rgba(30, 60, 160, .35); touch-action: none; }
.dz-el.va-top { align-items: flex-start; } .dz-el.va-middle { align-items: center; } .dz-el.va-bottom { align-items: flex-end; }
.dz-el.on { outline: 2px solid var(--accent); z-index: 5; }
.dz-el.empty { background: rgba(255, 200, 0, .15); }
.dz-text { width: 100%; overflow: hidden; white-space: normal; word-break: break-word; display: -webkit-box; -webkit-box-orient: vertical; }
.dz-text.al-left { text-align: left; } .dz-text.al-center { text-align: center; } .dz-text.al-right { text-align: right; }
.dz-cents { font-size: .5em; vertical-align: .62em; margin-left: .04em; }
.dz-line { position: absolute; transform: translateY(-50%); }
.dz-bars { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; font: 9px/1 Helvetica, Arial, sans-serif;
  background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 6px) top / 100% 78% no-repeat; }
.dz-ph { margin: auto; font: 11px/1.2 Helvetica, Arial, sans-serif; color: #556; background: rgba(120, 140, 180, .18); padding: 2px 4px; border-radius: 4px; text-align: center; }
.dz-el img { max-width: 100%; max-height: 100%; margin: auto; }
.dz-el img.al-left { margin-left: 0; } .dz-el img.al-right { margin-right: 0; }
.dz-handle { position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; cursor: nwse-resize; display: none; }
.dz-el.on .dz-handle { display: block; }
.dz-props { border-top: 1px solid var(--line); padding-top: .6rem; }
.dz-props label { flex: 1 1 8rem; }
.dz-crop { position: relative; display: inline-block; max-width: 100%; touch-action: none; user-select: none; cursor: crosshair; }
.dz-crop img { display: block; max-width: 100%; max-height: 70vh; }
.dz-crop-box { position: absolute; border: 2px solid #e11; background: rgba(255, 0, 0, .08); pointer-events: none; }
.resume-note { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; background: #fff8e1; border-color: #f1d27a; }
.stock-sub { flex-wrap: wrap; } .stock-sub .radio { display: flex; gap: .35rem; align-items: center; margin-right: .8rem; }
.pat-chip { margin-left: auto; font-size: .72rem; font-weight: 700; color: #fff; background: #1d2b53; border: 1px solid #1d2b53; white-space: nowrap; }
.chip.pat-chip .pat-tag { color: #ffd23f; }
.tp-text { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.check-card .pat-chip { margin-left: 0; font-size: .66rem; padding: .05rem .4rem; }

/* ---- New request on a phone: tighter top so the item matches fit above the keyboard */
@media (max-width: 520px) {
  body:has(.stepper) main { padding-top: .35rem; }
  .stepper { margin: 0 0 .25rem; gap: .2rem; }
  .stepper button { padding: .15rem .1rem .25rem; gap: .05rem; font-size: .68rem; border-bottom-width: 2px; }
  .stepper .n { width: 1.15rem; height: 1.15rem; font-size: .66rem; }
  .step-body > h2 { margin: .35rem 0 .45rem; font-size: 1.15rem; }
  .step-body .scan-row { gap: .35rem; }
  .step-body .scan-row .btn { min-height: 44px; }
  .picked-store { margin-bottom: .2rem; }
  .bt-hint { margin: .3rem 0; }
}
/* the keyboard is up: room to scroll the search box to the top; the bottom buttons step aside until it closes */
body.kb-open main { padding-bottom: 75vh; }
body.kb-open .step-foot { display: none; }
body.kb-open .bt-hint { display: none; }
.month-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem; }
.month-reset { margin-left: auto; font-weight: 600; }
/* the company card: a long name or web address wraps / shrinks instead of running out of the box (phones) */
.dist-band { min-width: 0; overflow: hidden; }
.dist-info { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
.dist-links a { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 520px) {
  .dist-band { gap: .6rem; padding: .6rem .7rem; }
  .dist-logo img { height: 40px; max-width: 100px; }
  .dist-info b { font-size: .95rem; }
  .dist-links { font-size: .85rem; }
}
/* keyboard up on the Items step: the camera button steps aside, matches are a little tighter */
/* keyboard up: Say it / Scan with camera stay, just smaller, so the matches still fit */
body.kb-open .scan-row .btn { min-height: 38px; padding-top: .3rem; padding-bottom: .3rem; font-size: .92rem; }
body.kb-open .results .card.pick { padding-top: .55rem; padding-bottom: .55rem; }
.clear-done { margin-top: .6rem; }

/* ---- the demo (update 62) */
.login.demo-page { max-width: 640px; padding-top: 6vh; }
.demo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.2rem 0 .6rem; }
@media (max-width: 560px) { .demo-cards { grid-template-columns: 1fr; } }
.demo-pick { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; text-align: left; padding: 1rem; cursor: pointer; font: inherit; color: inherit; }
.demo-pick b { font-size: 1.1rem; }
.demo-pick ul { margin: .2rem 0 .4rem 1.1rem; padding: 0; }
.demo-pick .btn { margin-top: auto; }
.demo-pick.busy { opacity: .6; }
.demo-band { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; padding: .45rem 1rem; background: #fff4cc; color: #3d3000;
  border-bottom: 1px solid #f0d77a; font-size: .9rem; }
.demo-band a, .demo-band .linklike { color: #1d4ed8; font-weight: 600; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .demo-band { background: #3a3110; color: #fbe9a6; border-color: #5a4a12; } .demo-band a, .demo-band .linklike { color: #9cc0ff; } }
.login-more > a.demo-go { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .6rem; }
details.remake { border: 0; padding: 0; margin-bottom: .6rem; }
/* "Make the tags again" looks like the other blue bar buttons */
details.remake > summary { cursor: pointer; font-weight: 650; color: var(--accent-ink); background: var(--accent); border-radius: var(--radius);
  padding: .8rem 1rem; text-align: center; list-style: none; }
details.remake > summary::-webkit-details-marker { display: none; }
details.remake > summary::before { content: '↻ '; }
details.remake[open] > summary { margin-bottom: .5rem; }

/* $ / % shown inside number boxes (proposal) */
.unit-box { position: relative; display: block; }
.unit-box .unit { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-weight: 600; }
.unit-box.pre .unit { left: .7rem; }
.unit-box.pre input { padding-left: 1.6rem; }
.unit-box.post .unit { right: .7rem; }
.unit-box.post input { padding-right: 1.9rem; }

/* reset file check (New request -> Items) */
.reset-check ul { margin: .2rem 0 .2rem 1.1rem; padding: 0; }
.reset-check .reset-list summary { cursor: pointer; padding: .25rem 0; }
.reset-check .reset-list ul { max-height: 16rem; overflow: auto; }
.reset-check .ok { color: var(--ok, #15803d); font-weight: 600; }
.reset-btn { margin-top: .5rem; }

/* a warehouse in the store search / Store list (update 69) */
.chip.wh-chip { background: #fef3c7; color: #92400e; }

/* proposal: how the numbers are worked out */
.prop-workings ol { margin: .4rem 0 0 1.2rem; padding: 0; }
.prop-workings li { margin: .25rem 0; }

/* proposal: one sales rep, one month (expected / cautious vs PrintATag per rep) */
.pay-chart { display: grid; gap: .45rem; padding: .9rem 1rem; border: 1px solid var(--line, #dfe3ea); border-radius: 12px; background: var(--card, #fff); }
.pay-title { font-size: .92rem; }
.pay-row { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr 4.5rem; align-items: center; gap: .6rem; font-size: .9rem; }
.pay-track { position: relative; height: 1.15rem; background: #f1f4f8; border-radius: 4px; }
.pay-bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; min-width: 4px; }
.pay-bar.dark { background: #15803d; }
.pay-bar.light { background: #86c79c; }
.pay-cost { position: absolute; top: -4px; bottom: -4px; border-left: 2px dashed #5a6373; }
.pay-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pay-legend { font-size: .78rem; color: var(--muted, #5a6373); }
.pay-legend .pay-track { background: none; height: 1rem; }
.pay-cost-label { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.prop-detail summary { cursor: pointer; font-weight: 600; padding: .3rem 0; }
@media (max-width: 600px) { .pay-row { grid-template-columns: 6.5rem 1fr 3.8rem; font-size: .82rem; } }

/* proposal: Expected / Cautious toggle for the grids */
.case-toggle { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .4rem; }
.case-toggle button { border: 1px solid var(--line, #d6dce6); background: #fff; border-radius: 999px; padding: .35rem .85rem; font: inherit; font-size: .9rem; cursor: pointer; }
.case-toggle button.on { background: #15803d; border-color: #15803d; color: #fff; font-weight: 600; }
.case-chip { display: inline-block; margin: 0 .35rem; padding: .05rem .5rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #dcfce7; color: #14532d; }
.case-chip.cautious { background: #eef2f6; color: #334155; }
.pay-sum { color: var(--muted, #5a6373); }

/* tag types in two blocks: PrintATag.com Standard / the company's Custom tags */
.tt-block { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .7rem .7rem; margin: .7rem 0; background: var(--bg); }
.tt-head { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; margin: 0 0 .55rem; font-size: 1rem; }
.tt-head .pat-chip, .tt-head .custom-chip { margin-left: 0; font-size: .78rem; }
.custom-chip { font-weight: 700; color: #fff; background: #2e7d32; border: 1px solid #2e7d32; }
.tt-block > .list { display: grid; gap: .5rem; }
.tt-summary { display: grid; gap: .3rem; border-left: 4px solid var(--accent); }
.tt-sum-head { font-weight: 700; font-size: 1.05rem; margin-bottom: .15rem; }
.gets-sw { white-space: nowrap; }

/* phones: the page buttons (Tag designs, + Add, Start over...) get their own row under the header so nothing overlaps */
/* phones, two rows: [back] logo  Welcome...
                     ☰ Page title ........ page buttons      (the menu button sits by the title so it's noticed) */
@media (max-width: 600px) {
  header.top { flex-wrap: wrap; row-gap: .3rem; column-gap: .5rem; }
  header.top::after { content: ''; order: 3; flex-basis: 100%; height: 0; }
  header.top .top-back { order: 0; }
  header.top .logo { order: 1; }
  header.top .top-who { order: 2; flex: 1 1 0; min-width: 0; border-right: 0; max-width: none; }
  header.top .top-back { padding-left: 0; padding-right: 0; min-width: 1.6rem; }
  header.top > .icon-btn[aria-label="Menu"] { order: 4; margin-left: -.35rem; }
  header.top .top-title { order: 5; flex: 1 1 auto; max-width: none; }
  header.top .top-actions { order: 6; margin-left: auto; }
  .top-who .who-full { display: inline; } .top-who .who-first { display: none; }
}
/* Tasks -> New task -> a store: a note, or make the tags first */
.task-choice .grid2 { margin-top: .4rem; }
.task-opt { text-align: left; align-items: flex-start; }
.task-band-new { background: #eef4ff; border-color: #c9d6f5; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; margin-bottom: .5rem; }
.task-send { border-left: 4px solid var(--accent); }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .task-band-new { background: #1a2742; border-color: #2f4170; } }

/* the Tasks numbers on the ☰ button (phones - the menu is folded away) */
.menu-btn { position: relative; }
.menu-dot { position: absolute; top: -2px; right: -6px; min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem; border-radius: 999px;
  background: #d92d20; color: #fff; font-size: .7rem; font-weight: 800; line-height: 1.15rem; text-align: center; pointer-events: none; }
.menu-dot.done { background: #15803d; }
@media (min-width: 900px) { .menu-dot { display: none; } }

/* a sheet that opens at the top of the screen (New task) */
.sheet-back.top { align-items: flex-start; }
.sheet-back.top .sheet { border-radius: 0 0 16px 16px; padding-top: max(.4rem, env(safe-area-inset-top)); transform: translateY(-20px); }
.sheet-back.top.open .sheet { transform: none; }
@media (min-width: 700px) { .sheet-back.top { align-items: flex-start; padding-top: 6vh; } .sheet-back.top .sheet { border-radius: 16px; } }
.task-picked { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: baseline; justify-content: space-between;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; }
/* the quote: a waived setup fee and the volume discount in green */
.prop-quote tr.saving td { background: #dcfce7; color: #15803d; font-weight: 700; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .prop-quote tr.saving td { background: #0f3a22; color: #86efac; } }
/* Report a problem */
.problem-pics { display: flex; flex-wrap: wrap; gap: .5rem; }
.problem-pic { position: relative; display: block; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.problem-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.problem-pic .icon-btn { position: absolute; top: 2px; right: 2px; background: rgba(0, 0, 0, .55); color: #fff; width: 1.6rem; height: 1.6rem; min-width: 0; padding: 0; border-radius: 999px; font-size: .8rem; }
.card.problem.fixed { opacity: .75; }
nav.menu a.report-link { color: #15803d; display: flex; align-items: center; }
nav.menu a.report-link .ic { width: 1.5rem; height: 1.5rem; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { nav.menu a.report-link { color: #4ade80; } }

/* the request page's other actions (Add or change tags, Make a task...): full-width blue bar buttons */
.req-actions { gap: .6rem; }
.req-actions > .btn { width: 100%; justify-content: center; font-weight: 650; }
.req-actions > .btn:not(.danger) { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.req-actions > .btn:not(.danger):hover { filter: brightness(1.08); }

/* after the PDFs are made: "Make the PDFs again" is a small link (prices or items changed) */
details.remake-small > summary { cursor: pointer; color: var(--muted); font-size: .85rem; text-decoration: underline; list-style: none; }
details.remake-small > summary::-webkit-details-marker { display: none; }
details.remake-small[open] > summary { margin-bottom: .5rem; }
details.remake-small { margin: .2rem 0 .6rem; }
.new-tags { border-left: 4px solid var(--accent); }
.new-tags .btn { width: 100%; justify-content: center; }
.tm-order { display: grid; gap: .25rem; font-weight: 600; }
/* Holiday EDLP tags: "Which holiday?" under the tag type (update 79) */
.holiday-sub { align-items: center; flex-wrap: wrap; }
/* "Which holiday?" - a faint red bar so it's clear another choice has to be made */
.deep-sub.holiday-sub, .tm-order.holiday-pick { background: #fdecec; border-left: 4px solid #d0191f; border-radius: 0 8px 8px 0; padding: .55rem .7rem; }
.deep-sub.holiday-sub b, .tm-order.holiday-pick { color: #a3141a; }
.tm-order.holiday-pick select { color: var(--ink); }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ {
  .deep-sub.holiday-sub, .tm-order.holiday-pick { background: rgba(255, 90, 90, .14); border-left-color: #ff6b6b; }
  .deep-sub.holiday-sub b, .tm-order.holiday-pick { color: #ffb3b3; }
}
.holiday-sub select { flex: 1; min-width: 0; width: 100%; }   /* 2026-11-12: was min-width 12rem - pushed the phone page wide */

/* Customers -> a customer: their tags on / off */
.cust-tags-box { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .8rem; }
.cust-tags-box legend { font-weight: 700; padding: 0 .3rem; }
.cust-tag-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .4rem .6rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.cust-tag-row .switch { white-space: nowrap; }

/* request lists: one line per request - the store (town) · #account, then the status (2026-11-02) */
.card.req.req-compact { padding: 12px 14px; align-items: center; min-height: 0; }
.card.req.req-compact .req-title { font-size: 1rem; line-height: 1.3; }
.card.req.req-compact .req-acct { font-weight: 600; color: var(--muted); white-space: nowrap; }
.req-wrap .req-del { align-self: center; }
h2.section .edit-items { text-transform: none; letter-spacing: 0; font-size: .85rem; margin-left: auto; }
h2.section.row.gap { display: flex; align-items: baseline; }
.edit-items-head { margin-bottom: 4px; }
/* a tag PDF with its Share button (sends the file itself, not the storage link) */
.pdf-row { display: flex; gap: .5rem; align-items: stretch; }
.pdf-row > a.card.pdf-link { flex: 1; min-width: 0; }
.pdf-share { flex-direction: column; gap: 2px; padding: .4rem .7rem; font-size: .8rem; min-width: 64px; justify-content: center; }
.tag-card .wh-setup { display: inline-block; margin-top: .25rem; color: var(--accent); font-weight: 600; text-decoration: none; }

/* How it works: "Your own branded site" (an example distributor's look) */
.hw-brand { margin: 2rem 0; padding: 1.4rem; border-radius: var(--radius); background: linear-gradient(135deg, #eef3ff, #fff8e0); border: 1px solid var(--line); }
.hw-brand h2 { margin: .2rem 0 .5rem; }
.hw-brand-lead { max-width: 46rem; }
.hw-brand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; align-items: center; margin-top: 1rem; }
@media (max-width: 760px) { .hw-brand-grid { grid-template-columns: 1fr; } }
.hw-brand-list { margin: 0; padding-left: 1.1rem; display: grid; gap: .55rem; }
.hw-brand-end { margin: 1rem 0 0; }
.hw-brand-demo { position: relative; height: 330px; max-width: 420px; margin: 0 auto; width: 100%; }
.hb-logo { display: inline-block; flex: none; width: 22px; height: 22px; margin: 6px 4px 2px; background: linear-gradient(135deg, #2fa4e7, #0b5fa5); border-radius: 0 50% 50% 50%; transform: rotate(45deg); }
.hb-logo.big { width: 34px; height: 34px; margin: 12px 0 4px; }
.hb-logo.small { width: 15px; height: 15px; margin: 6px 0 2px; }
.hb-phone { position: absolute; left: 0; top: 0; width: 220px; height: 320px; background: #fff; border: 7px solid #1b1f2a; border-radius: 28px; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.22); color: #16233f; }
.hb-url { font-size: .62rem; text-align: center; background: #eef0f4; padding: .35rem .3rem; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-head { display: flex; align-items: center; gap: .45rem; padding: .55rem .6rem; background: #eef6fd; border-bottom: 3px solid #0b5fa5; }
.hb-name { font-weight: 800; font-size: .78rem; color: #0b5fa5; line-height: 1.1; }
.hb-body { padding: .6rem; display: grid; gap: .45rem; }
.hb-btn { background: #0b5fa5; color: #fff; font-weight: 700; font-size: .78rem; text-align: center; border-radius: 9px; padding: .55rem; }
.hb-row { font-size: .66rem; border: 1px solid #e3e7ee; border-radius: 8px; padding: .45rem .5rem; background: #fff; }
.hb-row span { color: #6b7385; }
.hb-home { position: absolute; right: 8px; top: 4px; text-align: center; background: rgba(22,35,63,.88); border-radius: 18px; padding: .7rem .8rem .5rem; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.hb-icon { position: relative; width: 66px; height: 66px; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.hb-band { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: #0b5fa5; }
.hb-icon-name { color: #fff; font-size: .68rem; margin-top: .3rem; }
.hb-tag { position: absolute; right: 0; bottom: 0; width: 170px; background: #fff; border: 1px solid #d6dbe4; border-radius: 6px; box-shadow: 0 8px 20px rgba(0,0,0,.18); overflow: hidden; transform: rotate(3deg); color: #16233f; }
.hb-tag-top { background: linear-gradient(#0b5fa5, #e6f2fb); height: 30px; display: grid; place-items: center; }
.hb-tag-top .hb-logo { background: #fff; }
.hb-tag-name { font-weight: 800; text-align: center; font-size: .8rem; padding-top: .35rem; }
.hb-tag-price { font-weight: 800; font-size: 1.6rem; text-align: center; color: #b42318; line-height: 1.1; }
.hb-tag-price sup { font-size: .7rem; }
.hb-tag-by { font-size: .58rem; text-align: right; font-style: italic; color: #6b7385; padding: 0 .5rem .4rem; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .hw-brand { background: linear-gradient(135deg, #1a2440, #2a2614); } }

/* How it works: the real recording */
.hw-video { text-align: center; margin: 1.2rem 0 1.6rem; }
.hw-vid { width: 100%; max-width: 380px; height: auto; border-radius: 22px; box-shadow: 0 12px 34px rgba(22,35,63,.28); background: #16233f; }

/* say it instead of typing (js/voice.js): a mic button by the store and item searches */
.scan-btns { display: flex; gap: .5rem; }
.search-row { display: flex; gap: .5rem; align-items: stretch; }
.search-row input { flex: 1; min-width: 0; }
.btn.mic { white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; border: 2px solid var(--accent); color: var(--accent); background: var(--card); }
.btn.mic svg { width: 1.15rem; height: 1.15rem; }
.btn.mic.on { background: #d92d20; border-color: #d92d20; color: #fff; animation: mic-pulse 1.1s ease-in-out infinite; }
@keyframes mic-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(217, 45, 32, .55); } 50% { box-shadow: 0 0 0 8px rgba(217, 45, 32, 0); } }
.heard { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; margin: .35rem 0 .45rem; }
.heard svg { width: 1rem; height: 1rem; }
.results .card.pick.best { border-color: #15803d; box-shadow: 0 0 0 2px color-mix(in srgb, #15803d 35%, transparent); }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .btn.mic { border-color: #8fb0ff; color: #8fb0ff; } }
@media (max-width: 480px) {
  .scan-row .scan-btns > .btn { flex: 1; }
  .search-row .btn.mic .mic-word { display: none; }       /* store search: just the mic next to the box */
}
@media (prefers-reduced-motion: reduce) { .btn.mic.on { animation: none; } }
/* this phone's voice search is off: the box asks for the keyboard's mic */
.scan-row input.scan.say-hint::placeholder, .search-row input.say-hint::placeholder { color: var(--accent); font-weight: 650; }
.picked-before { color: #15803d; font-weight: 650; margin-top: .2rem; }
/* Featured Wine (update 90): its card in the tag list looks like the tag - cream, gold star and edge, red */
.check-card.featured { background: #fff7e3; color: #8c0a1f; border: 2px solid #d9a521; box-shadow: inset 0 -4px 0 #c2121f; font-weight: 700; }
.check-card.featured .feat-star { color: #d9a521; }
.check-card.featured input { accent-color: #d9a521; }
.check-card.featured:has(input:checked) { border-color: #f2c94c; box-shadow: inset 0 -4px 0 #c2121f, 0 0 0 3px rgba(217, 165, 33, .35); }

/* Supplier portal (update 91) */
.sup-top { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.sup-top .sup-who { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.sup-main { max-width: 900px; margin: 0 auto; padding: 1rem; }
.sup-intro p { margin: .2rem 0; }
.sup-tools { margin: .8rem 0 .3rem; }
.sup-item .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.sup-carried { color: #15803d; font-weight: 650; }
.chip.ok-chip { background: color-mix(in srgb, #15803d 14%, transparent); color: #15803d; }
.chip.warn-chip { background: color-mix(in srgb, #b45309 14%, transparent); color: #b45309; }
.sup-pic { width: 160px; height: 200px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; background: #fff; overflow: hidden; }
.sup-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.char-count { display: block; text-align: right; }
.char-count.over { color: #d92d20; font-weight: 700; }
.warn-text { color: #b45309; }
.sup-match { display: flex; justify-content: space-between; gap: .8rem; align-items: center; }
.sup-match > div { min-width: 0; }

/* Suppliers: sign up for free (update 92) */
.sup-cta { background: #16233f; border-color: #16233f; color: #fff; }
.sup-cta b { color: #fff; }
.sup-cta .dist-go { background: #ffd23f; color: #16233f; }
.sup-cta .sup-free { display: inline-block; font-weight: 750; color: #15803d; }
.sup-hero .lead { font-size: 1.12rem; }
.sup-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .75rem; }
.sup-why-card { background: color-mix(in srgb, var(--accent) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--radius); padding: .9rem 1rem; }
.sup-why-card b { display: block; font-size: 1.04rem; margin-bottom: .25rem; }
.sup-why-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.sup-signup { scroll-margin-top: 1rem; }
.sup-signup-row { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .sup-cta { background: #16233f; border-color: #2f4170; } .sup-cta .dist-go { background: #ffd23f; color: #16233f; } }
/* home page: the two short boxes (distributors / suppliers) */
.dist-cta.cta-short { display: flex; align-items: center; justify-content: space-between; gap: .7rem; flex-wrap: nowrap; margin-top: .6rem; padding: .65rem .8rem .65rem 1rem; }
.dist-cta.cta-short b { font-size: .98rem; line-height: 1.25; flex: 1 1 auto; min-width: 0; }
.dist-cta.cta-short .dist-go { flex: 0 0 auto; white-space: nowrap; margin: 0; padding: .45rem .85rem; font-size: .92rem; }

/* Supplier portal > Signs (update 93) */
.sup-signs { margin-top: 1.4rem; }
.sup-sign { display: flex; align-items: center; gap: .8rem; justify-content: flex-start; }
.sign-swatch { flex: 0 0 auto; min-width: 6.5rem; padding: .55rem .6rem; border: 3px solid; border-radius: 6px; color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-align: center; }
.sign-colors { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .5rem; }
.sign-color { display: flex; align-items: center; gap: .45rem; font-size: .9rem; }
.sign-color input[type=color] { width: 2.6rem; height: 2.1rem; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: none; }
.preset { font-weight: 700; border-width: 3px !important; }
.sign-picks { max-height: 12rem; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .7rem; }
.sign-mock { max-width: 22rem; border: 4px solid var(--sa); background: var(--sg); color: var(--st); border-radius: 4px; overflow: hidden; }
.sign-mock .sm-band { background: var(--sb); color: var(--sa); font-weight: 800; letter-spacing: .3em; padding: .5rem .8rem; font-size: .8rem; border-bottom: 3px solid var(--sa); }
.sign-mock .sm-body { padding: .7rem .9rem .9rem; display: grid; gap: .2rem; font-family: Georgia, 'Times New Roman', serif; }
.sign-mock .sm-brand { font-size: 1.35rem; }
.sign-mock .sm-name { color: var(--sp); }
.sign-mock .sm-text { font-size: .85rem; }
.sign-mock .sm-price { justify-self: end; border: 3px solid var(--sa); border-radius: 8px; background: #fff; color: var(--sp); font: 800 1.7rem/1 Inter, system-ui, sans-serif; padding: .35rem .7rem; }
.sign-mock .sm-price sup { font-size: .55em; }

/* Supplier portal > Upload your own sign (update 94): the artwork with a price spot to drag and size */
.art-swatch { background: repeating-linear-gradient(45deg, #fff7e3 0 8px, #f3e6c4 8px 16px); color: #8a6a12; border-color: #d9a521; }
.art-stage { position: relative; max-width: 560px; border: 1px solid var(--line); background: #fff; user-select: none; touch-action: none; }
.art-stage img { display: block; width: 100%; height: auto; pointer-events: none; }
.art-box { position: absolute; display: flex; flex-direction: column; align-items: stretch; justify-content: center; border: 2px dashed #1f4fd1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .8); cursor: move; overflow: hidden; border-radius: 4px; }
.art-box .art-price { line-height: 1; white-space: nowrap; display: flex; width: 100%; padding: 0 3%; box-sizing: border-box; }
.art-box sup { font-size: .45em; line-height: 1; }
.art-box .art-reg { font-weight: 800; white-space: nowrap; padding: 0 3%; line-height: 1.05; }
.art-handle { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; background: #1f4fd1; border: 2px solid #fff; border-radius: 3px; cursor: nwse-resize; }
.art-opts label { min-width: 8rem; }
.art-box .art-price, .art-box .art-reg { width: max-content; max-width: none; align-self: center; }

/* supplier pictures for distributors (thumbnails; tap for big) */
.sup-thumb { flex: 0 0 auto; width: 64px; height: 84px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: grid; place-items: center; cursor: zoom-in; overflow: hidden; }
.sup-thumb img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; opacity: 0; transition: opacity .2s; }
.sup-thumb img.loaded { opacity: 1; }
.sup-thumb.none { font-size: .7rem; color: var(--muted); cursor: default; text-align: center; }
.sup-match { align-items: center; }
.sup-thumb-big { display: grid; place-items: center; background: #fff; border-radius: 8px; }
.sup-thumb-big img { max-width: 100%; max-height: 70vh; object-fit: contain; }
.sup-pic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .7rem; }
.sup-pic-cell { display: grid; gap: .25rem; justify-items: start; }
.sup-pic-cell .sup-thumb { width: 100%; height: 150px; }
.sup-pic-cell.ours { opacity: .55; }
.pic-matches { max-height: 60vh; overflow: auto; }
.pic-match { display: flex; gap: .7rem; align-items: center; border-bottom: 1px solid var(--line); padding: .4rem 0; }
.pic-match img { width: 64px; height: 84px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; flex: 0 0 auto; }
.pic-match select { max-width: 100%; }

/* Supplier portal: item type first (update 96) */
.type-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .6rem; }
.type-btn { display: grid; grid-template-columns: 4.5rem 1fr; grid-template-rows: auto auto; column-gap: .6rem; text-align: left; padding: .8rem .9rem; min-height: 64px; }
.type-btn .type-ic { grid-row: 1 / 3; font-size: 1.7rem; align-self: center; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; }
.type-btn .type-ic img { width: 100%; height: 100%; object-fit: contain; }
.type-chip { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 700; }
.sup-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .6rem .8rem; }
.type-row { align-items: center; }

/* supplier item list: Remove next to each item */
.sup-row { display: flex; align-items: stretch; gap: .5rem; }
.sup-row > .sup-item { flex: 1 1 auto; min-width: 0; }
.sup-row > .sup-del { flex: 0 0 auto; align-self: center; white-space: nowrap; }
@media (max-width: 520px) { .sup-row > .sup-del span { display: none; } .sup-row > .sup-del { padding: .5rem .6rem; } }

/* supplier: sample tag preview */
.sample-tag-box { display: flex; justify-content: center; align-items: center; min-height: 12rem; padding: .6rem; background: #eef1f6; border-radius: 10px; }
.sample-tag-img { width: 100%; max-width: 340px; height: auto; box-shadow: 0 2px 10px rgba(16, 24, 40, .18); border-radius: 2px; background: #fff; }
.type-row .sample-btn { margin-left: auto; }

.sample-note { padding: .7rem .9rem; border-radius: 10px; background: #fff7d6; border: 1px solid #f1d77a; color: #4a3b00; font-size: .92rem; line-height: 1.4; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .sample-note { background: #3a3110; border-color: #6b5a1c; color: #f6e7b0; } }

/* Item catalog > Supplier information: the company setting (update 97) */
.sup-default { display: flex; flex-direction: column; gap: .5rem; }
.sup-default-opt { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.sup-default-opt input { margin-top: .25rem; flex: 0 0 auto; }
.sup-default-opt > span { display: flex; flex-direction: column; gap: .1rem; }

/* Tasks: supplier updates to approve (update 98) */
.sup-approve { display: flex; flex-direction: column; gap: .6rem; }
.sup-compare { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (max-width: 620px) { .sup-compare { grid-template-columns: 1fr; } }
.sup-side { display: flex; flex-direction: column; gap: .25rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.sup-side.new { border-color: #9cc3f5; background: rgba(37, 99, 235, .05); }
.sup-side-head { font-weight: 700; font-size: .85rem; margin-bottom: .2rem; }
.sup-side .sup-thumb { width: 110px; height: 140px; }
.sup-changed { background: #fff4c2; border-radius: 4px; padding: 0 .25rem; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .sup-changed { background: #4a3d0a; } }

/* Invite a supplier (update 99) */
.invite-brands { max-height: 16rem; overflow-y: auto; padding: .4rem .6rem; border: 1px solid var(--line); border-radius: 10px; gap: .35rem; }
.invite-brand { align-items: baseline; }
.sup-invite-row { display: flex; justify-content: space-between; gap: .8rem; align-items: center; }
.sup-invite-row > div { min-width: 0; }
.sup-invites > summary { cursor: pointer; font-weight: 600; margin-bottom: .4rem; }

.sup-asked { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.sup-asked > div { min-width: 0; }
.invite-item { display: block; }
.invite-item .small { margin-top: .15rem; }
.invite-brand { display: flex; justify-content: flex-start; gap: .5rem; align-items: center; }
.invite-brand input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; }
.sup-asked .btn { white-space: nowrap; flex: 0 0 auto; }
/* Item catalog > Supplier information on a phone: the switch + Signs go under the item, inside the card */
.sup-match > div:not(.sup-thumb):not(.right) { flex: 1 1 auto; }
.sup-match > .stack.right { flex: 0 0 auto; align-items: flex-end; }
@media (max-width: 600px) {
  .sup-match { flex-wrap: wrap; align-items: flex-start; }
  .sup-match > div:not(.sup-thumb):not(.right) { flex: 1 1 calc(100% - 64px - .8rem); }
  .sup-match > .stack.right { display: flex; flex: 1 1 100%; flex-direction: row; justify-content: space-between; align-items: center; gap: .6rem;
    padding-top: .5rem; border-top: 1px solid var(--line); }
}

/* "i" help: long help paragraphs fold behind a small (i) button (ui.js startInfoTips) */
.info-btn { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; min-height: 0; padding: 0; margin: 0 .15rem; vertical-align: middle;
  border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: var(--muted); font: italic 700 .78rem/1 Georgia, 'Times New Roman', serif;
  cursor: pointer; text-transform: none; letter-spacing: 0; }
.info-btn:hover, .info-btn.on { color: var(--accent, #1d4ed8); }
.info-row { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .8rem; margin: .1rem 0; line-height: 1.3; min-height: 1.4rem; }
.info-row .info-hint { cursor: pointer; }
p.info-text { border-left: 3px solid var(--line); padding-left: .6rem; }

/* supplier item list: the picture on the row - tap to add / change it (2026-11-06) */
.sup-row-pic-wrap { flex: 0 0 auto; align-self: center; }
.sup-row-pic { width: 56px; height: 72px; padding: 2px; border: 1px dashed var(--line); border-radius: 8px; background: #fff; display: grid; place-items: center;
  align-content: center; gap: .1rem; color: var(--muted); font-size: .68rem; cursor: pointer; min-height: 0; }
.sup-row-pic { overflow: hidden; }
.sup-row-pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sup-row-pic:has(img) { border-style: solid; }
.sup-row-pic svg { width: 18px; height: 18px; }

/* Supplier portal: the barcode picture next to "UPC (the barcode number)" (2026-11-06) */
.upc-label-row { display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.upc-sample:empty { display: none; }
.upc-sample { margin-top: -.3rem; }
.upc-sample svg { display: block; height: 110px; width: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; background: #fff; }
/* Supplier portal: Image Yes / No on each item, and "Pictures to match" (drag onto an item) (2026-11-06) */
.sup-img-wrap { flex: 0 0 auto; align-self: center; }
.sup-img-box { display: grid; place-items: center; gap: 0; width: 64px; min-height: 52px; padding: .3rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card, #fff); cursor: pointer; line-height: 1.15; }
.sup-img-box .small { color: var(--muted); font-size: .7rem; }
.sup-img-box.yes b { color: #15803d; }
.sup-img-box.no b { color: var(--muted); }
.sup-row.drop-on > .sup-item, .sup-row.drop-on .sup-img-box { outline: 3px dashed #2563eb; outline-offset: 2px; }
body.pic-picking .sup-img-box { outline: 2px dashed #2563eb; outline-offset: 2px; }
.pic-tray { display: flex; flex-wrap: wrap; gap: .5rem; }
.pic-tray-item { width: 88px; display: grid; gap: .2rem; justify-items: center; padding: .3rem; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: grab; text-align: center; }
.pic-tray-item img { width: 76px; height: 90px; object-fit: contain; pointer-events: none; }
.pic-tray-item span { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #475569; font-size: .68rem; }
.pic-tray-item.on { outline: 3px solid #2563eb; }
.sup-img-wrap { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.sup-img-view { font-size: .78rem; }
.lib-note { color: #1d4ed8; }   /* (the admin's prefixes note) */
.lib-note:empty { display: none; }
.paste-hint { color: #1d4ed8; display: flex; gap: .35rem; align-items: flex-start; margin-top: -.3rem; }
.paste-hint svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: .1rem; }
.type-chip { display: inline-flex; align-items: center; gap: .2rem; }
.type-chip-img { width: 28px; height: 28px; object-fit: contain; margin: -4px 0; }
.muted-chip { background: #e5e7eb; color: #374151; }
.sup-archive-box > summary { cursor: pointer; font-weight: 700; margin: .4rem 0; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 560px) { .type-grid { grid-template-columns: 1fr; } }
.req-star { color: #c62828; font-weight: 700; }

/* a little red "NEW" tag on the corner of a box (supplier sign-up, 2026-11-06) */
.dist-cta.has-new { position: relative; margin-top: 1rem; }
.new-badge { position: absolute; top: -.6rem; left: .8rem; background: #d62839; color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; line-height: 1; padding: .28rem .5rem; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.25); transform: rotate(-4deg); }

/* ===== Suppliers: sign up for free - a lighter, more visual page (2026-11-06) ===== */
.sup2-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: center; background: #16233f; color: #fff;
  border-radius: 18px; padding: 2.2rem 2.2rem 2.4rem; margin: .6rem 0 1.4rem; background-image: radial-gradient(circle at 85% 15%, #2a3d6b 0, transparent 60%); }
.sup2-pill { display: inline-block; margin: 0 0 .9rem; background: #ffd23f; color: #16233f; font-weight: 750; font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; }
.sup2-hero h1 { margin: 0 0 .7rem; font-size: clamp(1.8rem, 4.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.sup2-hero h1 span { color: #ffd23f; }
.sup2-lead { font-size: 1.12rem; line-height: 1.5; color: #cfd7ea; margin: 0 0 1.2rem; max-width: 30rem; }
.sup2-cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.sup2-go { background: #ffd23f; color: #16233f; border-color: #ffd23f; font-weight: 800; }
.sup2-go:hover { background: #ffdc66; }
.sup2-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.sup2-ghost:hover { background: rgba(255,255,255,.08); }
.sup2-checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: #cfd7ea; font-size: .95rem; }
.sup2-checks li, .sup2-list li { display: flex; align-items: center; gap: .4rem; }
.sup2-checks svg { width: 1.05rem; height: 1.05rem; color: #ffd23f; flex: 0 0 auto; }
.sup2-hero-art { position: relative; display: grid; place-items: center; }
.sup2-tag { width: 100%; max-width: 270px; background: #fff; color: #1b2333; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.4);
  transform: rotate(2.5deg); overflow: hidden; border: 1px dashed #b9bfca; }
.sup2-band { background: #7b1f3f; color: #fff; font-weight: 800; letter-spacing: .3em; font-size: .8rem; padding: .55rem .8rem; }
.sup2-body { display: grid; grid-template-columns: 34px 1fr; gap: .7rem; padding: .8rem .8rem .2rem; }
.sup2-bottle { position: relative; width: 22px; height: 86px; margin: 4px auto 0; background: #7b1f3f; border-radius: 9px 9px 4px 4px; }
.sup2-bottle::before { content: ""; position: absolute; left: 7px; top: -14px; width: 8px; height: 18px; background: #7b1f3f; border-radius: 2px; }
.sup2-bottle span { position: absolute; left: 4px; right: 4px; top: 34px; height: 24px; background: #f3ead6; border-radius: 2px; }
.sup2-name { font-weight: 800; font-size: 1.1rem; line-height: 1.15; }
.sup2-var { font-size: .82rem; color: #4a5263; margin-top: .15rem; }
.sup2-desc { font-size: .74rem; line-height: 1.35; color: #3c4557; margin: .4rem 0 0; }
.sup2-price { padding: 0 .8rem; color: #7b1f3f; font-weight: 900; font-size: 2.3rem; line-height: 1; margin-top: .4rem; }
.sup2-price sup { font-size: 1rem; vertical-align: top; position: relative; top: .25rem; }
.sup2-note { padding: .1rem .8rem .5rem; font-size: .66rem; color: #6b7384; }
.sup2-foot { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid #e5e7eb; padding: .45rem .8rem .55rem; }
.sup2-foot span { font-size: .7rem; font-weight: 800; color: #7b1f3f; }
.sup2-bars { display: flex; gap: 1.5px; height: 26px; }
.sup2-bars i { display: block; background: #111; height: 100%; }
.sup2-callout { position: absolute; right: 0; bottom: -1.7rem; z-index: 1; background: #d62839; color: #fff; font-weight: 800; font-size: .78rem; padding: .35rem .6rem;
  border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.3); transform: rotate(-5deg); }
.sup2-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-bottom: 1.6rem; }
.sup2-tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.1rem 1rem; }
.sup2-tile b { display: block; font-size: 1.08rem; margin: .6rem 0 .25rem; }
.sup2-tile p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.sup2-ic { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: #fff3c4; color: #16233f; }
.sup2-ic svg { width: 1.3rem; height: 1.3rem; }
.sup2-how h2, .sup2-faq h2 { margin: 0 0 .8rem; }
.sup2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-bottom: 1.6rem; counter-reset: s; }
.sup2-step { position: relative; background: color-mix(in srgb, var(--accent) 7%, var(--card)); border-radius: 14px; padding: 1.1rem; }
.sup2-step b { display: block; font-size: 1.04rem; margin: .55rem 0 .2rem; }
.sup2-step p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }
.sup2-num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #16233f; color: #ffd23f; font-weight: 800; }
.sup2-step:not(:last-child)::after { content: "›"; position: absolute; right: -.75rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 800; color: var(--muted); z-index: 1; }
.sup2-signup { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.6rem; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem; margin-bottom: 1.6rem; scroll-margin-top: 1rem; box-shadow: 0 8px 24px rgba(20,30,60,.06); }
.sup2-signup-side h2 { margin: 0 0 .9rem; }
.sup2-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.sup2-list svg { width: 1.1rem; height: 1.1rem; color: #15803d; flex: 0 0 auto; }
.sup2-invite { background: #fff8dc; color: #3b3218; border-radius: 10px; padding: .75rem .9rem; font-size: .92rem; margin: 0; }
.sup2-faq { margin-bottom: 1rem; }
.sup2-q { border-bottom: 1px solid var(--line); }
.sup2-q summary { cursor: pointer; padding: .8rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.sup2-q summary::-webkit-details-marker { display: none; }
.sup2-q summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.sup2-q[open] summary::after { content: "–"; }
.sup2-q p { margin: 0 0 .9rem; color: var(--muted); line-height: 1.5; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .sup2-ic { background: #3a3415; color: #ffd23f; } .sup2-invite { background: #2e2a16; color: #efe3b3; } }
@media (max-width: 760px) {
  .sup2-hero { grid-template-columns: 1fr; padding: 1.5rem 1.2rem 1.8rem; gap: 1.6rem; }
  .sup2-hero-art { padding: 0 1.5rem; }
  .sup2-tiles, .sup2-steps, .sup2-signup { grid-template-columns: 1fr; }
  .sup2-step:not(:last-child)::after { content: none; }
  .sup2-signup { padding: 1.2rem; }
}

/* the hero's real sample tags, fanned out (2026-11-07) */
.sup2-tags { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1 / 1.02; }
.sup2-t { position: absolute; width: 68%; border-radius: 4px; background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.45); }
.sup2-t.t1 { left: 0; top: 6%; transform: rotate(-8deg); }
.sup2-t.t3 { right: 0; top: 6%; transform: rotate(8deg); }
.sup2-t.t2 { left: 16%; top: 0; transform: rotate(-1deg); z-index: 1; }
.sup2-hero-art .sup2-callout { right: 0; bottom: -.6rem; z-index: 2; }

/* ===== Reports (update 110) ===== */
.rep-filters { display: flex; flex-direction: column; gap: .8rem; }
.rep-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.rep-chips { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.rep-by { font-weight: 700; margin-right: .2rem; }
.rep-chip { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--line); background: var(--card); color: inherit; border-radius: 999px;
  padding: .4rem .85rem; font: inherit; font-weight: 600; cursor: pointer; }
.rep-chip svg { width: 1rem; height: 1rem; }
.rep-chip.on { background: #16233f; border-color: #16233f; color: #fff; }
.rep-quick { display: flex; flex-wrap: wrap; gap: .4rem; }
.rep-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin: 1rem 0; }
.rep-tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; }
.rep-tile b { display: block; font-size: 1.6rem; line-height: 1.1; }
.rep-tile span { color: var(--muted); font-size: .9rem; }
.rep-head { justify-content: space-between; align-items: center; }
.rep-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table.rep { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.rep th { text-align: left; background: color-mix(in srgb, var(--accent) 8%, var(--card)); padding: .55rem .7rem; white-space: nowrap; position: sticky; top: 0; }
table.rep td { padding: .5rem .7rem; border-top: 1px solid var(--line); vertical-align: top; }
table.rep .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.rep .item { min-width: 13rem; }
table.rep td.tags { font-weight: 800; }
.rep-empty { padding: 1rem 0; }
@media (max-width: 700px) { .rep-row { grid-template-columns: 1fr; } .rep-tiles { grid-template-columns: repeat(2, 1fr); } }
main.rep-main { max-width: 1100px; }
/* Reports tabs + Supplier billback (update 111) */
.rep-tabs { display: flex; gap: .3rem; border-bottom: 2px solid var(--line); margin: 0 0 1rem; }
.rep-tabs a { padding: .55rem .95rem; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.rep-tabs a.on { color: var(--ink, inherit); border-bottom-color: #ffd23f; }
.bb-how { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.bb-how select { width: auto; min-width: 11rem; }
.bb-how input { width: 6.5rem; }
.bb-unit { color: var(--muted); font-size: .9rem; }
table.rep.bb tfoot td { border-top: 2px solid var(--line); padding: .6rem .7rem; }
table.rep tr.bb-none td { background: color-mix(in srgb, var(--muted) 6%, var(--card)); }
.rep-filters .rep-row { align-items: start; }
.bb-how input[hidden] { display: none; }
.rep-row.two { grid-template-columns: 2fr 1fr; }
@media (max-width: 700px) { .rep-row.two { grid-template-columns: 1fr; } }
.rep-head input[type=search] { width: 14rem; }
/* sign-in page on a phone (2026-11-07): no big empty space above the logo, and a smaller logo */
@media (max-width: 699px) {
  .login { padding-top: max(1.2rem, env(safe-area-inset-top)); }
  .login .brand { max-width: 260px; margin: 0 auto .4rem; }
  .login .brand.brand-img img { max-height: 80px; }
}
/* billback statements: pick suppliers, member chips (2026-11-07) */
.bb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .65rem .9rem; margin: 0 0 .7rem; }
.bb-bar > .row { margin-left: auto; }
.bb-pick { width: 2rem; text-align: center; }
.bb-pick input { width: 1.1rem; height: 1.1rem; }
.bb-member { display: inline-block; margin-top: .3rem; font-size: .78rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; }
.bb-member.yes { background: #dcfce7; color: #15803d; }
.bb-member.no { background: #fee2e2; color: #b91c1c; }
.bb-acts { white-space: nowrap; }
.bb-acts .btn { margin: 0 .25rem .25rem 0; }
.bb-billto { display: flex; flex-wrap: wrap; gap: .1rem .6rem; align-items: baseline; margin-top: .2rem; color: var(--muted); }
.bb-missing { color: #b45309; font-weight: 600; }
.bb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; margin-top: .25rem; }
.bb-meta .bb-member { margin-top: 0; }
/* Suppliers page (update 115) */
.ds-whole { display: inline-flex; align-items: center; gap: .3rem; }
table.ds-hist { margin-top: .3rem; }
/* warehouse tags: voice matches, edit rows (2026-11-07) */
.wh-voice { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.wh-voice.best { border-color: var(--accent); }
.whe-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .7rem; }
.whe-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: .4rem; flex: 1 1 22rem; }
.whe-cell { display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; }
.whe-cell input { padding: .35rem .5rem; }
/* update 118: Bill Backs - the terms column; the supplier's agreed terms */
table.rep.ds td.ds-bb .row { margin-top: .3rem; }
.sup-bb { padding: .6rem 0; border-top: 1px solid var(--line, rgba(127,127,127,.25)); }
.sup-bb:first-of-type { border-top: 0; }
.sup-terms { margin: .35rem 0 .25rem; padding: .6rem .75rem; border-radius: 10px; background: rgba(127,127,127,.08); }
.sup-terms-now { font-size: 1.1rem; font-weight: 700; }
.sup-terms p { margin: .3rem 0 0; }
table.rep.ds td { padding: .4rem .6rem; vertical-align: middle; }
table.rep.ds td.ds-bb { white-space: nowrap; }
table.rep.ds .ds-terms { display: inline-flex; flex-direction: column; margin-right: .5rem; vertical-align: middle; white-space: normal; }
table.rep.ds .bb-meta { margin-top: .1rem; }
.ds-invite { display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; }
.ds-invite svg { width: 14px; height: 14px; }
.ds-phone { display: none; }
@media (max-width: 760px) {
  /* phones: one short card-like row per supplier, no side-scrolling */
  table.rep.ds thead { display: none; }
  table.rep.ds, table.rep.ds tbody { display: block; }
  table.rep.ds tr { display: grid; grid-template-columns: 1fr auto; gap: .15rem .5rem; padding: .45rem .6rem; border-top: 1px solid var(--line); align-items: center; }
  table.rep.ds tbody tr:first-child { border-top: 0; }
  table.rep.ds td { display: block; padding: 0; border: 0; min-width: 0; }
  table.rep.ds td.item { grid-column: 1 / -1; min-width: 0; }
  table.rep.ds td.ds-wide { display: none; }
  table.rep.ds td.ds-bb { grid-column: 1 / -1; display: flex; align-items: center; gap: .4rem; white-space: normal; }
  table.rep.ds td.ds-bb .ds-terms { flex: 1; flex-direction: row; flex-wrap: wrap; gap: 0 .35rem; margin: 0; }
  table.rep.ds td.ds-billto { grid-column: 1 / -1; }
  .ds-phone { display: inline; }
}
.ds-listbar summary { cursor: pointer; }
.ds-listbar[open] summary { margin-bottom: .4rem; }
@media (max-width: 760px) {
  .rep-tiles.ds-tiles { grid-template-columns: repeat(4, 1fr); gap: .35rem; }
  .ds-tiles .rep-tile { padding: .4rem .3rem; text-align: center; }
  .ds-tiles .rep-tile b { font-size: 1.15rem; }
  .ds-tiles .rep-tile span { font-size: .68rem; line-height: 1.15; display: block; }
}
@media (max-width: 760px) { .bb-meta .ds-wide { display: none; } }
/* a fixed PrintATag blue that stands out on every company's colors (Invite a supplier, 2026-11-08) */
.btn.btn-blue { background: #1f4fd1; border-color: #1f4fd1; color: #fff; }
.btn.btn-blue:hover { background: #1a43b3; border-color: #1a43b3; }
.btn.btn-blue svg { color: #fff; }
/* update 121: Data check */
.dc-group { padding: .7rem .9rem; margin-bottom: .8rem; }
.dc-head { align-items: baseline; margin-bottom: .2rem; }
.dc-head h2 { margin: 0; }
.dc-line { display: grid; grid-template-columns: minmax(3.4rem, max-content) 1fr auto; gap: .6rem; align-items: center; padding: .5rem 0; border-top: 1px solid var(--line); }
.dc-line:first-of-type { border-top: 0; }
.dc-count { font-weight: 800; font-size: 1.15rem; text-align: center; border-radius: 10px; padding: .3rem .45rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dc-line.todo .dc-count { background: #fff1e0; color: #b45309; }
.dc-line.minor .dc-count { background: color-mix(in srgb, var(--muted) 12%, var(--card)); color: var(--muted); }
.dc-line.ok .dc-count { background: #dcfce7; color: #15803d; }
.dc-line.ok .dc-text b { font-weight: 600; }
.dc-act { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.dc-upload { margin-bottom: .8rem; }
@media (max-width: 640px) { .dc-line { grid-template-columns: minmax(2.8rem, max-content) 1fr; } .dc-count { font-size: 1rem; } .dc-act { grid-column: 2; justify-content: flex-start; } }
/* update 122: Data check - Fix here */
.dc-fix-list { display: flex; flex-direction: column; }
.dc-fix-row { display: grid; grid-template-columns: 1fr minmax(12rem, 18rem); gap: .4rem .8rem; align-items: center; padding: .5rem 0; border-top: 1px solid var(--line); }
.dc-fix-row:first-child { border-top: 0; }
.dc-fix-ins { display: flex; gap: .4rem; }
.dc-fix-in { flex: 1; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.dc-fix-in input { width: 100%; }
.dc-fix-in input.dc-bad { border-color: var(--danger); }
@media (max-width: 640px) { .dc-fix-row { grid-template-columns: 1fr; } }
/* update 123: the Supplier portal price on the sign-up side */
.sup2-offer { margin: -.4rem 0 .9rem; font-weight: 800; color: var(--accent); }
/* update 124: supplier invoices */
.si-pick { max-height: 18rem; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: .3rem .6rem; background: var(--card); }
.si-sup { display: flex; gap: .5rem; align-items: baseline; padding: .3rem 0; border-top: 1px solid var(--line); font-weight: 400; }
.si-sup:first-child { border-top: 0; }
.si-row { display: flex; justify-content: space-between; gap: .8rem; align-items: center; flex-wrap: wrap; }
.si-right { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.si-amt { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.si-overdue { background: #fee2e2; color: #b91c1c; }
@media (max-width: 640px) { .si-right { align-items: flex-start; width: 100%; } }
.si-row > div:first-child { flex: 1 1 20rem; min-width: 0; }
/* update 125: Shelf report (suppliers) + Value report (distributors) */
.shr-trend { margin: -.3rem 0 1rem; }
.shr-up { color: #15803d; font-weight: 700; }
.shr-down { color: #b45309; font-weight: 700; }
.shr-fix-list { margin: .3rem 0 .6rem; padding-left: 1.1rem; }
.shr-fix-list li { margin: .2rem 0; }
.vr-card { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.vr-card .rep-row { align-items: end; }
.vr-share { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
/* Shelf report: Month and Excel on one line, bottoms lined up, same height */
.shr-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem; margin-bottom: 1rem; }
.shr-bar label { flex: 0 1 16rem; }
.shr-bar .btn { min-height: 44px; }
/* update 126: Supplier portal color */
.st-opt { display: flex; align-items: center; gap: .6rem; font-weight: 400; }
.st-swatch { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.st-opt input[type=color] { width: 30px; height: 30px; min-height: 0; padding: 0; border-radius: 8px; flex: none; }
.st-logo { display: flex; flex-direction: column; gap: .4rem; }
.st-logo-prev { min-height: 56px; display: flex; align-items: center; padding: .5rem .7rem; border: 1px dashed var(--line); border-radius: 10px; background: #fff; max-width: 320px; }
.st-logo-prev img { max-height: 70px; max-width: 280px; object-fit: contain; }
.sup-top .sup-logo { height: 40px; max-width: 150px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px 4px; }
.sup-signup-row .st-logo-prev { max-width: 200px; min-height: 40px; }
/* update 127: a supplier's item that isn't sent to distributors yet */
.sup-held { color: #b45309; font-weight: 600; margin-top: .15rem; }
/* Invite a supplier: the checkbox right next to the brand (a general rule made it 6.5rem wide) */
label.inline.invite-brand input[type=checkbox] { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; }
label.inline.invite-brand { gap: .6rem; }
.invite-sups { gap: .35rem; }
.invite-sup { justify-content: flex-start; text-align: left; }
/* Invite a supplier: the suppliers as a drop-down list */
.invite-sup-list { border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: 0 6px 18px rgba(8, 12, 20, .12); overflow: hidden; margin-top: -.3rem; }
.invite-sup-list .invite-sup { display: block; width: 100%; text-align: left; padding: .65rem .8rem; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.invite-sup-list .invite-sup:first-child { border-top: 0; }
.invite-sup-list .invite-sup:hover, .invite-sup-list .invite-sup:focus-visible { background: color-mix(in srgb, var(--accent) 10%, var(--card)); }
.invite-sup-list .invite-sup:disabled { color: var(--muted); cursor: default; }
.invite-brand { flex-wrap: wrap; }
.sup-chip { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #e0ecff; color: #1f4fd1; border: 1px solid #b9d0ff; white-space: nowrap; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { :root:not([data-theme="light"]) .sup-chip { background: #1c2c52; color: #a9c4ff; border-color: #2e4580; } }
.invite-brand { flex-wrap: nowrap; align-items: flex-start; }
.invite-brand > input[type=checkbox] { margin-top: .15rem; }
.ib-text { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .45rem; min-width: 0; }
label.inline.invite-brand { align-items: flex-start; flex-wrap: nowrap; }
/* Super Admin -> Suppliers: a card with the details (tap to change) and a Shelf report button */
.sup-adm-row { display: flex; flex-direction: column; gap: .5rem; }
.sup-adm-main { display: flex; justify-content: space-between; gap: .8rem; width: 100%; background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.sup-adm-rep { align-self: flex-start; }
/* a text box that opens a search drop-down: the ▾ arrow */
input.dd-search { padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; }
.invite-sup-list { max-height: 15rem; overflow-y: auto; }
/* update 133: Product catalog with the member suppliers on the right */
.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 1.2rem; align-items: start; }
.cat-members { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.cat-members h2 { margin-top: 0; }
.cat-mem-list { list-style: none; margin: .4rem 0 0; padding: 0; }
.cat-mem-list li { display: flex; align-items: center; gap: .55rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.cat-mem-list li:first-child { border-top: 0; }
.cat-mem-list li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.cat-mem-list img { width: 34px; height: 34px; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid var(--line); flex: none; }
.cat-mem-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, var(--card)); color: var(--accent); font-weight: 800; flex: none; }
@media (max-width: 860px) { .cat-layout { grid-template-columns: 1fr; } .cat-members { position: static; max-height: none; } }
/* Invites sent: name / email · date on the left, status + Delete on the right - never wider than the page */
.sup-invites, .sup-invites .list { min-width: 0; max-width: 100%; }
.sup-invite-row { flex-wrap: wrap; max-width: 100%; box-sizing: border-box; }
.sup-invite-who { flex: 1 1 14rem; min-width: 0; overflow-wrap: anywhere; }
.sup-invite-row > .right { flex: none; margin-left: auto; }

/* Product catalog: how old the last upload is (2026-11-09) */
.upd-age { display: inline-block; padding: .2rem .55rem; border-radius: 6px; border: 1.5px solid; margin-top: .4rem; font-weight: 600; }
.upd-fresh { border-color: #16a34a; background: #f0fdf4; color: #166534; }
.upd-aging { border-color: #ca8a04; background: #fefce8; color: #854d0e; }
.upd-stale { border-color: #dc2626; background: #fef2f2; color: #991b1b; }
/* Supplier updates to approve: grouped by supplier (2026-11-09) */
.sup-group { display: block; padding: .7rem .9rem; }
.sup-group > summary { cursor: pointer; font-size: 1.02rem; list-style-position: inside; }
.sup-group-btns { margin: .6rem 0 .4rem; }
.sup-item-lines { display: flex; flex-direction: column; border-top: 1px solid var(--line, #e5e7eb); }
.sup-item { border-bottom: 1px solid var(--line, #e5e7eb); }
.sup-item > summary { cursor: pointer; padding: .5rem .2rem; overflow-wrap: anywhere; }
.sup-item > summary:hover { background: #f3f6fb; }
.sup-item[open] > summary { background: #eef3fb; }
.sup-item-card { padding: .5rem 0 .8rem; }

/* a needed box left empty (supplier item form, 2026-11-09) */
input.field-missing, textarea.field-missing { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .18); background: #fef2f2; }

/* the x that empties the item box (2026-11-09) */
.scan-wrap { position: relative; flex: 1 1 auto; min-width: 0; display: flex; }
.scan-wrap input.scan { flex: 1; width: 100%; padding-right: 2.9rem; }
.scan-clear { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); width: 2.3rem; height: 2.3rem; border-radius: 50%;
  border: 0; background: #e5e7eb; color: #111827; font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 .15rem; }
.scan-clear[hidden] { display: none; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .scan-clear { background: #3b4a6b; color: #fff; } }

/* Monthly Post Off Schedule (update 136) */
.po-soon { display: flex; flex-direction: column; gap: .3rem; }
.po-soon-row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.po-rows { display: flex; flex-direction: column; gap: .2rem; }
.po-row { display: grid; grid-template-columns: 9.5rem 1fr 1fr auto; gap: .6rem; align-items: end; padding: .5rem 0; border-bottom: 1px solid var(--line, #e5e7eb); }
.po-row label { font-size: .85rem; margin: 0; }
.po-month { align-self: center; }
.po-end { display: flex; gap: .4rem; align-items: center; }
.po-changed { color: #92400e; font-weight: 700; }
@media (max-width: 600px) { .po-row { grid-template-columns: 1fr 1fr; } .po-month { grid-column: 1 / -1; } .po-end { grid-column: 1 / -1; } }

/* Reports (2026-11-09): room above "Show by"; Kind of tag tick-box drop-down; the report folds up */
.rep-filters .rep-chips { margin-top: .75rem; row-gap: .5rem; }
.ms-field { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; min-width: 0; }
.ms-drop { position: relative; }
.ms-sum { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; background: var(--card); padding: .6rem 2rem .6rem .75rem; font-weight: 400;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 44px; box-sizing: border-box; display: flex; align-items: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7l5 6 5-6z' fill='%23333'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .6rem center; background-size: .8rem; }
.ms-sum::-webkit-details-marker { display: none; }
.ms-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14); max-height: 18rem; overflow: auto; padding: .3rem; min-width: 14rem; }
.ms-opt { display: flex; align-items: center; gap: .55rem; padding: .45rem .5rem; border-radius: 6px; font-weight: 400; cursor: pointer; }
.ms-opt:hover { background: #f1f5f9; }
.ms-opt input { width: 18px; height: 18px; margin: 0; flex: none; }
.ms-all { border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0; margin-bottom: .2rem; }
.rep-fold > summary { cursor: pointer; padding: .8rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.rep-fold[open] > summary { margin-bottom: .6rem; }
/* "Check the columns" window (update 141) */
.cm-rows { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; }
.cm-row { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.cm-label { font-weight: 600; font-size: .9rem; }
.cm-row select { width: 100%; min-width: 0; }
.cm-preview table.rep td, .cm-preview table.rep th { white-space: nowrap; }
@media (max-width: 640px) { .cm-rows { grid-template-columns: 1fr; } }
/* Product catalog: a date under each type (update 142) */
.stats .upd-age { display: table; margin-top: .4rem; font-size: .78rem; padding: .12rem .45rem; white-space: normal; max-width: 100%; box-sizing: border-box; line-height: 1.3; }
.stats > div { align-content: start; }
.cm-values h3 { margin-top: .8rem; }
.cm-vals select { min-width: 9rem; }
.cm-vals tr.cm-changed td { background: #fffbeb; }
/* Warehouse Location Tags: what the tag looks like (2026-11-09) */
.wh-preview { display: flex; justify-content: center; padding: .5rem 0; }
.wh-preview canvas.wh-tag { width: 4in; max-width: 100%; height: auto; border: 1px dashed #9aa4b2; border-radius: 6px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
/* Data check: ounces by supplier / brand / package (update 143) */
.dc-sups { gap: .5rem; }
.dc-sup { display: block; padding: .6rem .8rem; }
.dc-sup > summary { cursor: pointer; }
.dc-sup-done { color: #166534; font-weight: 600; }
.dc-oz-more { margin-top: .3rem; }
.dc-oz-more > summary { cursor: pointer; color: var(--accent); }
.dc-oz-items { display: flex; flex-direction: column; gap: .35rem; margin-top: .4rem; padding-left: .6rem; border-left: 2px solid var(--line); }
.dc-oz-item { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; }
.dc-oz-in input { width: 6.5rem; }
/* Product catalog (2026-11-09): one column; Supplier information in its own box; member suppliers below, 3 columns */
.cat-layout { display: block; }
.sup-info-box { margin-top: 1.2rem; }
.cat-members { position: static; max-height: none; overflow: visible; margin-top: 1.2rem; }
.cat-mem-list { columns: 3; column-gap: 1.6rem; }                     /* A-Z down each column, then across */
.cat-mem-list li { break-inside: avoid; }
.cat-mem-list li, .cat-mem-list li:first-child { border-top: 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .cat-mem-list { columns: 2; } }
@media (max-width: 520px) { .cat-mem-list { columns: 1; } }
.stats .upd-age { justify-self: start; }
/* Invites sent on a phone: the status + Remind + Delete wrap inside the box (2026-11-09) */
.sup-invite-row > .right { flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; min-width: 0; max-width: 100%; }
/* Invite a supplier: members (update 144) */
.member-chip { display: inline-block; margin-left: .45rem; padding: .05rem .45rem; border-radius: 999px; background: #dcfce7; color: #166534; font-size: .72rem; font-weight: 700; vertical-align: middle; }
.member-box { border: 1.5px solid #86efac; background: #f0fdf4; }
.member-logo { width: 32px; height: 32px; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid var(--line); }
/* Store list (2026-11-09): search or pick a rep; rep changes to review */
.store-find { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .6rem; }
@media (max-width: 600px) { .store-find { grid-template-columns: 1fr; } }
.rep-change { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; }
/* Data check: monthly prices by type (2026-11-09) */
.dc-kinds { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .25rem; }
.dc-kind { font-size: .82rem; padding: .1rem .5rem; border-radius: 999px; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.dc-kind.on { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.dc-line.later .dc-count { background: #f1f5f9; color: #64748b; }
/* Store list (2026-11-09): Stores and Warehouses each in their own box */
.store-box, .wh-box { margin-top: 1.2rem; }
.store-box .store-fold > summary { display: none; }
.store-box .store-fold { border: 0; background: none; padding: 0; }
/* Supplier portal: a box per item for the picture + descriptions (2026-11-09) */
.qb-bar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; background: #fffbeb; border: 1.5px solid #fcd34d; border-radius: 12px; padding: .9rem 1rem; }
.qb-bar b { font-size: 1.05rem; }
.qb-prog { height: 8px; background: #e5e7eb; border-radius: 99px; overflow: hidden; width: 220px; max-width: 100%; margin-top: .35rem; }
.qb-prog i { display: block; height: 100%; background: #16a34a; }
.qb { display: block; padding: 1rem; }
.qb-head { display: flex; justify-content: space-between; gap: .6rem; align-items: flex-start; flex-wrap: wrap; }
.qb-need { background: #fef2f2; color: #991b1b; font-weight: 700; }
.qb-need.ok { background: #dcfce7; color: #166534; }
.qb-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1rem; margin-top: .8rem; }
.qb-pic { border: 2px dashed #cbd5e1; border-radius: 10px; height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  color: #64748b; text-align: center; cursor: pointer; background: #f8fafc; padding: .4rem; }
.qb-pic.has { border-style: solid; border-color: #e2e8f0; background: #fff; }
.qb-pic.over { border-color: #2563eb; background: #eff6ff; }
.qb-pic img { max-height: 160px; max-width: 100%; object-fit: contain; }
.qb-text label { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; }
@media (max-width: 640px) { .qb-grid { grid-template-columns: 1fr; } .qb-pic { height: 150px; } }
/* the item boxes fold up (2026-11-09): one line each, an arrow, tap to open */
.qb-list { gap: .45rem; }
.qb { padding: .7rem 1rem; }
.qb > summary.qb-head { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.qb > summary.qb-head::-webkit-details-marker { display: none; }
.qb-who { flex: 1 1 14rem; min-width: 0; }
.qb-arrow { width: 0; height: 0; border-left: 7px solid #475569; border-top: 6px solid transparent; border-bottom: 6px solid transparent; transition: transform .15s; flex: none; }
.qb[open] .qb-arrow { transform: rotate(90deg); }
.qb:not([open]):hover { background: #f8fafc; }
.qb[open] { box-shadow: 0 4px 14px rgba(0,0,0,.06); }
/* See what the supplier suggests (update 148) */
.sup-suggest { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 1rem; align-items: start; }
.sug-table th:first-child { white-space: nowrap; color: #475569; font-weight: 600; }
.sug-table td { vertical-align: top; min-width: 10rem; }
@media (max-width: 600px) { .sup-suggest { grid-template-columns: 1fr; } }
/* Supplier information: "Your tags use: Ours | Supplier's" (2026-11-09) */
.seg-use { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg-btn { border: 0; background: var(--card); padding: .4rem .8rem; font-weight: 600; cursor: pointer; color: inherit; }
.seg-btn + .seg-btn { border-left: 1px solid var(--line); }
.seg-btn.on { background: #16233f; color: #fff; }
/* product catalog: the hint under the supplier search */
.sup-hint{margin-top:10px;padding:12px 14px;border:1px solid #c7d6f5;background:#f2f6fe;border-radius:10px;color:#1e3a8a;font-size:14px}
/* 2026-11-09: suppliers page attention box + sign-in supplier box with two lines */
.sup2-hook { max-width: 980px; margin: 1rem auto 0; padding: 1.4rem 1.5rem; border-radius: 16px; background: #eef3ff; border: 1px solid #cfdcfb; color: #16233f; text-align: center; }
.sup2-hook h2 { margin: 0 0 .6rem; font-size: clamp(1.3rem, 3.4vw, 1.9rem); line-height: 1.2; color: #16233f; }
.sup2-hook p { margin: .35rem auto; max-width: 720px; color: #33415c; font-size: 1.02rem; }
.sup2-hook p b { color: #16233f; }
.sup2-hook .sup2-hook-big { font-size: 1.5rem; font-weight: 800; color: #d62839; margin: .7rem auto; }
.sup2-hook .sup2-go { margin-top: .8rem; background: #16233f; border-color: #16233f; color: #fff; }
.sup-cta-text { display: flex; flex-direction: column; gap: .15rem; flex: 1 1 auto; min-width: 0; }
.sup-cta-text span { font-size: .85rem; color: #dbe3f4; line-height: 1.3; }
.sup2-hook + .dir-hero { margin-top: 1.4rem; }
/* suppliers page: the supplier -> distributors -> shelf picture */
.flow-pic { max-width: 640px; margin: .4rem auto .2rem; }
.flow-pic svg { width: 100%; height: auto; display: block; }
.flow-pic .flow-line { stroke-dasharray: 7 7; animation: flow-dash 1.2s linear infinite; }
@keyframes flow-dash { to { stroke-dashoffset: -14; } }
@media (prefers-reduced-motion: reduce) { .flow-pic .flow-line { animation: none; } }
/* 2026-11-09 (update 150): the supplier's information vs yours */
.cmp-same { color: #15803d; font-weight: 700; white-space: nowrap; }
.cmp-diff { color: #b45309; font-weight: 700; white-space: nowrap; }
.cmp-diff-line { color: #b45309; }
.sug-table tr.cmp-row-diff td, .sug-table tr.cmp-row-diff th { background: #fff7ed; }
.sug-table td.cmp-mark { width: 1%; }
.cmp-sum { margin: .2rem 0 0; padding: .55rem .8rem; border-radius: 10px; font-weight: 650; }
.cmp-sum.same { background: #ecfdf3; color: #15803d; }
.cmp-sum.diff { background: #fff7ed; color: #9a3412; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .sug-table tr.cmp-row-diff td, .sug-table tr.cmp-row-diff th { background: #3a2a14; } .cmp-sum.same { background: #12301f; color: #6ee7a0; } .cmp-sum.diff { background: #3a2a14; color: #fdba74; } }
/* update 151: "Deep Deal prices from" under the Deep Deal box - the words above, the month picker full width */
.deep-sub.deal-sub { display: flex; flex-direction: column; align-items: stretch; gap: .3rem; }
.deep-sub.deal-sub b { font-size: .9rem; }
.deep-sub.deal-sub select { width: 100%; min-width: 0; }
/* update 152: Pause tags - quiet when off, a red box on the Product Manager's home when on */
.pause-card { margin: 0 0 .8rem; }
.pause-card.off { border: 2px solid #16a34a; background: #f0fdf4; border-radius: 14px; padding: .9rem 1rem; }
.pause-card .pause-off { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; color: #14532d; }
.pause-card .pause-off > div { display: flex; flex-direction: column; gap: .2rem; min-width: 0; flex: 1 1 14rem; }
.pause-card.off .pause-title { font-size: 1.1rem; color: #15803d; }
.pause-card .pause-btn { border-color: #dc2626; color: #b91c1c; background: #fff; }
.pause-card.on { border: 2px solid #dc2626; background: #fef2f2; border-radius: 14px; padding: .9rem 1rem; }
.pause-card .pause-on { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; color: #7f1d1d; }
.pause-card .pause-on > div { display: flex; flex-direction: column; gap: .2rem; min-width: 0; flex: 1 1 16rem; }
.pause-card.on .pause-title { font-size: 1.1rem; color: #b91c1c; }
.tags-paused-band { border: 2px solid #dc2626; }
@media not all /* dark mode off (2026-11-09) - was (prefers-color-scheme: dark) */ { .pause-card.on { background: #3a1512; border-color: #ef4444; } .pause-card .pause-on { color: #fecaca; } .pause-card.on .pause-title { color: #fca5a5; } .pause-card.off { background: #12301f; border-color: #22c55e; } .pause-card .pause-off { color: #bbf7d0; } .pause-card.off .pause-title { color: #86efac; } }

/* 2026-11-09: always the light look - the site no longer follows the phone's dark mode */
:root { color-scheme: light; }
/* 2026-11-10: the Supplier portal menu - the same on every supplier page and it stays at the top while scrolling */
.sup-top { position: sticky; top: 0; z-index: 30; background: var(--bg, #f6f7f9); flex-direction: column; align-items: stretch; gap: .5rem;
  padding-top: .5rem; padding-bottom: .5rem; box-shadow: 0 1px 0 rgba(22, 35, 63, .08); }
.sup-top .sup-top-row { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.sup-top .sup-top-row .pub-logo img { max-width: 46vw; height: auto; }
.sup-nav { display: flex; gap: .4rem; flex-wrap: wrap; }
.sup-nav .sup-nav-btn { flex: 1 1 auto; justify-content: center; white-space: nowrap; }
.sup-nav .sup-nav-btn.on { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.sup-nav .sup-nav-btn.on svg { color: #fff; }
.sup-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
.sup-nav .sup-nav-btn { padding-left: .3rem; padding-right: .3rem; min-width: 0; }
@media (max-width: 520px) { .sup-nav .sup-nav-btn { font-size: .8rem; } .sup-nav .sup-nav-btn svg { display: none; } .sup-top .sup-who span { display: none; } }
/* update 155: My account heading with "Member since 2026" at the far right */
.sup-acct-head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.sup-acct-head h1 { margin-bottom: 0; }
.sup-member-since { font-weight: 650; color: #15803d; white-space: nowrap; }
/* update 156: supplier extras - shelf-ready score, sell sheet button, "make it stand out" */
.score-chip { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.score-chip.hi { background: #dcfce7; color: #166534; }
.score-chip.mid { background: #fef9c3; color: #854d0e; }
.score-chip.lo { background: #fee2e2; color: #991b1b; }
.sup-row > .sup-sell { flex: 0 0 auto; align-self: center; white-space: nowrap; }
@media (max-width: 520px) { .sup-row > .sup-sell span { display: none; } .sup-row > .sup-sell { padding: .5rem .6rem; } }
.sup-extras summary { cursor: pointer; }
.sup-extras[open] summary { margin-bottom: .5rem; }
.qr-switch .switch { align-items: flex-start; }
.new-sup-items summary { cursor: pointer; padding: .3rem 0; }
.new-sup-item { padding: .6rem .8rem; }
/* the "Make it stand out" box opens from a blue button (2026-11-11) */
.sup-extras { padding: 0; overflow: hidden; border: 2px solid #1d4ed8; }
.sup-extras > summary { list-style: none; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; background: #1d4ed8; color: #fff; padding: .75rem 1rem; cursor: pointer; }
.sup-extras > summary::-webkit-details-marker { display: none; }
.sup-extras > summary::after { content: '▾'; margin-left: auto; font-size: 1.1rem; transition: transform .15s; }
.sup-extras[open] > summary::after { transform: rotate(180deg); }
.sup-extras > summary:hover { background: #1e40af; }
.sup-extras .se-title { font-weight: 800; font-size: 1.05rem; }
.sup-extras .se-sub { font-size: .85rem; opacity: .9; }
.sup-extras[open] > summary { margin-bottom: 0; }
.sup-extras > .stack { padding: .9rem 1rem 1rem; }
.qr-off-note { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: .5rem .7rem; color: #1e3a8a; }
/* 2026-11-11: where a supplier's information is used - easy to see and to switch off */
.sup-using { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: .7rem .9rem; }
.sup-using-head { margin: .3rem 0; }
.tm-sup { margin: .15rem 0; }
.tm-sup-chip { background: #dbeafe; color: #1e3a8a; font-weight: 600; }
.qr-cell { text-align: center; } .qr-thumb { display: inline-block; line-height: 0; border: 1px solid var(--line, #e5e7eb); border-radius: 4px; }
/* 2026-11-11: Shelf report "Item by item" - the column names wrap onto two lines so the table takes less room */
table.rep.shr-table th { white-space: normal; line-height: 1.15; vertical-align: bottom; }
table.rep.shr-table th.n { min-width: 5.2rem; max-width: 6.5rem; }
@media (max-width: 520px) { table.rep.shr-table th, table.rep.shr-table td { padding-left: .45rem; padding-right: .45rem; } }
/* 2026-11-11: supplier logo beside its name, on the right of the header */
.sup-top .sup-id { margin-left: auto; display: flex; align-items: center; gap: .6rem; min-width: 0; }
.sup-top .sup-id .sup-who { margin-left: 0; }
@media (max-width: 520px) { .sup-top .sup-id .sup-logo { height: 32px; max-width: 90px; } }
/* 2026-11-11: the supplier's logo on My items - on the right, in the space under the yellow box */
.sup-page-logo { float: right; max-height: 96px; max-width: 220px; object-fit: contain; margin: .2rem 0 .4rem 1rem; background: #fff; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: 6px 10px; }
.qb-list { clear: both; }
.sup-page-logo-row { display: flow-root; }
@media (max-width: 520px) { .sup-page-logo { max-height: 64px; max-width: 130px; } }
.sup-logo-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sup-logo-row > .stack { flex: 1 1 auto; min-width: 0; }
.sup-logo-row .sup-page-logo { float: none; margin: 0; flex: 0 0 auto; }
.sup-page-logo-row { display: flex; justify-content: flex-end; }
.sup-page-logo-row .sup-page-logo { float: none; margin: 0; }
.sup-extras.always-open > summary { cursor: default; }
.sup-extras.always-open > summary::after { display: none; }
.sup-extras.always-open > summary:hover { background: #1d4ed8; }
.sup-search-note { margin: -.3rem 0 .4rem .2rem; color: var(--muted, #64748b); } .sup-search-note:empty { display: none; }
/* 2026-11-11: the picture on the item form shows the whole bottle (it was cut off at the top) */
.sup-pic { display: flex; align-items: center; justify-content: center; }
.sup-pic img { width: auto; height: auto; max-width: calc(100% - 8px); max-height: 192px; object-fit: contain; display: block; }
.ss-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; padding: .6rem .8rem; }
.cat-mem-tap { cursor: pointer; border-radius: 8px; } .cat-mem-tap:hover { background: #eff6ff; }
/* update 160: the supplier sign-up credit */
.sup-credit-pitch { background: #ecfdf3; border: 1px solid #86efac; color: #14532d; border-radius: 10px; padding: .55rem .8rem; }
.sup-credit-list summary { cursor: pointer; padding: .3rem 0; color: #166534; }

/* 2026-11-11 (update 162): public supplier/distributor pages - sample report, try-it tag, value grid, savings estimate */
.sup3-kicker { margin: 0 0 .35rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #d62839; }
.sup3-fine { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); }
.sup3-report { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.8rem; align-items: center; margin: 2.2rem 0 1.8rem; }
.sup3-report h2, .sup3-try h2 { margin: 0 0 .6rem; font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.15; }
.sup3-report-text p:not(.sup3-kicker) { color: var(--muted); font-size: 1.04rem; line-height: 1.5; margin: 0; }
.sup3-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem; box-shadow: 0 14px 34px rgba(22,35,63,.12); min-width: 0; }
.sup3-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.sup3-sample { background: #16233f; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; padding: .2rem .5rem; border-radius: 6px; }
.sup3-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .9rem; }
.sup3-stat { background: #eef3ff; border-radius: 10px; padding: .6rem .5rem; text-align: center; }
.sup3-stat b { display: block; font-size: 1.35rem; color: #16233f; line-height: 1.1; }
.sup3-stat span { font-size: .74rem; color: #33415c; }
.sup3-stat:last-child { background: #fde8ea; } .sup3-stat:last-child b { color: #d62839; }
.sup3-table-wrap { overflow-x: auto; }
.sup3-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.sup3-table th { text-align: left; font-size: .72rem; color: var(--muted); font-weight: 700; padding: .3rem .4rem; border-bottom: 1px solid var(--line); white-space: normal; }
.sup3-table td { padding: .45rem .4rem; border-bottom: 1px solid var(--line); }
.sup3-table td:not(:first-child), .sup3-table th:not(:first-child) { text-align: right; }
.sup3-try { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; background: #f6f8fc; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; margin-bottom: 1.8rem; }
.sup3-try-form { display: flex; flex-direction: column; gap: .6rem; }
.sup3-try-form label { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; font-size: .9rem; }
.sup3-try-form p { margin: 0 0 .3rem; }
.sup3-try-art { display: flex; flex-direction: column; align-items: center; }
.sup3-tag { width: 100%; max-width: 300px; background: #fff; color: #1b2333; border-radius: 6px; box-shadow: 0 18px 40px rgba(22,35,63,.28); overflow: hidden; transform: rotate(-1.5deg); }
.sup3-tag-band { display: flex; align-items: center; gap: .6rem; background: #16233f; color: #fff; padding: .45rem .6rem; font-weight: 800; letter-spacing: .14em; font-size: .72rem; }
.sup3-tag-qr { width: 44px; height: 44px; flex: 0 0 auto; background: #fff; border-radius: 3px; }
.sup3-tag-qr svg { width: 100%; height: 100%; display: block; }
.sup3-tag-body { padding: .7rem .8rem .2rem; }
.sup3-tag-name { font-weight: 850; font-size: 1.2rem; line-height: 1.15; overflow-wrap: anywhere; }
.sup3-tag-gr { font-size: .84rem; color: #4a5263; margin-top: .15rem; }
.sup3-tag-aw { display: inline-block; margin-top: .35rem; font-size: .76rem; font-weight: 800; color: #8a6400; background: #fff4cf; padding: .1rem .45rem; border-radius: 4px; }
.sup3-tag-ds { font-size: .8rem; line-height: 1.38; color: #3c4557; margin: .45rem 0 0; overflow-wrap: anywhere; }
.sup3-tag-price { padding: .2rem .8rem 0; color: #16233f; font-weight: 900; font-size: 2.6rem; line-height: 1; }
.sup3-tag-price span { font-size: 1.2rem; vertical-align: top; position: relative; top: .3rem; }
.sup3-tag-price sup { font-size: 1.1rem; vertical-align: top; position: relative; top: .3rem; }
.sup3-tag-foot { display: flex; justify-content: space-between; border-top: 1px solid #e5e7eb; margin-top: .5rem; padding: .4rem .8rem .5rem; font-size: .7rem; color: #6b7384; font-weight: 700; }
.sup3-value { margin-bottom: 1.6rem; }
.sup3-value-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; margin-bottom: .8rem; }
.sup3-value-head h2 { margin: 0; }
.sup3-month { margin: 0; font-weight: 800; color: #d62839; }
.sup3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.sup3-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; background: #16233f; color: #fff; border-radius: 16px; padding: 1.2rem 1.4rem; margin-bottom: 1.8rem; }
.sup3-trust b { display: block; font-size: 1.04rem; }
.sup3-trust p { margin: .2rem 0 0; color: #cfd7ea; font-size: .92rem; }
.dist3 { max-width: 980px; margin: 1.6rem auto 0; }
.dist3-ps { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1.6rem; }
.dist3-ps > div { border-radius: 16px; padding: 1.1rem 1.3rem; }
.dist3-before { background: #f3f4f6; border: 1px solid var(--line); }
.dist3-before .sup3-kicker { color: #6b7384; }
.dist3-before ul { margin: 0; padding-left: 1.1rem; color: #4a5263; line-height: 1.7; }
.dist3-after { background: #ecfdf3; border: 1px solid #b7ebcb; }
.dist3-after .sup3-kicker { color: #15803d; }
.dist3-after ul { list-style: none; margin: 0; padding: 0; line-height: 1.7; }
.dist3-after li { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: #14532d; }
.dist3-after svg { width: 1.05rem; height: 1.05rem; color: #15803d; flex: 0 0 auto; }
.dist3-calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; margin-bottom: 1.6rem; }
.dist3-calc h2 { margin: 0 0 .8rem; }
.dist3-inputs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.dist3-inputs label { display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; font-size: .86rem; font-weight: 600; }
.dist3-out { background: #16233f; color: #cfd7ea; border-radius: 14px; padding: 1.2rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.dist3-out b { color: #fff; font-size: 2rem; line-height: 1.1; }
.dist3-out b { font-size: 1.7rem; }
.dist3-out b:nth-of-type(2) { color: #ff8a95; font-size: 2.1rem; }
.dist3-out b:nth-of-type(3) { color: #7ee2a8; font-size: 2.1rem; }
.dist3-who { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffd23f; margin-bottom: .2rem; }
.dist3-out b:nth-of-type(1) + span { margin-bottom: .5rem; }

.dist3-sep { width: 40%; height: 1px; background: rgba(255,255,255,.2); margin: .6rem 0; }
.dist3-out .sup3-fine { color: #9fb0d0; }
@media (max-width: 760px) {
  .sup3-report, .sup3-try, .dist3-ps, .dist3-calc { grid-template-columns: 1fr; }
  .sup3-grid, .sup3-trust { grid-template-columns: 1fr; }
  .sup3-stats { grid-template-columns: repeat(2, 1fr); }
  .dist3-inputs { grid-template-columns: 1fr; }
  .sup3-try { padding: 1.1rem; }
}
@media (min-width: 761px) and (max-width: 980px) { .sup3-grid { grid-template-columns: repeat(2, 1fr); } }
.dist3-research { margin-top: 1rem; background: #f6f8fc; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; font-size: .9rem; }
.dist3-research ul { margin: .4rem 0 .4rem; padding-left: 1.1rem; line-height: 1.5; color: #33415c; }
.dist3-research a { font-weight: 700; }
.dist3-research p { margin: 0; }
.sup3-tax { margin: 0; font-size: .9rem; color: var(--muted); }
.sup2-hero + .sup2-hook { margin: 0 auto 1.4rem; max-width: none; }
.dist3-unit { position: relative; display: block; }
.dist3-unit input { width: 100%; box-sizing: border-box; }
.dist3-unit i { position: absolute; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; color: var(--muted); pointer-events: none; }
.dist3-unit.pre i { left: .8rem; } .dist3-unit.pre input { padding-left: 1.7rem; }
.dist3-unit.post i { right: .9rem; } .dist3-unit.post input { padding-right: 2rem; }
.dist3-unit { position: relative; display: block; }
.dist3-unit input { width: 100%; box-sizing: border-box; }
.dist3-unit i { position: absolute; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; color: var(--muted); pointer-events: none; }
.dist3-unit.pre i { left: .8rem; } .dist3-unit.pre input { padding-left: 1.7rem; }
.dist3-unit.post i { right: .9rem; } .dist3-unit.post input { padding-right: 2rem; }
.dist3-dist { display: flex; flex-direction: column; align-items: center; }
.dist3-dist b { font-size: 1.6rem !important; color: #fff !important; }
.dist3-dist b:nth-of-type(2) { color: #7ee2a8 !important; font-size: 2rem !important; margin-top: .4rem; }
.dist3-dist .dist3-hint { display: none; margin-top: .4rem; font-size: .8rem; color: #ffd23f; }
.dist3-dist.empty .dist3-hint { display: block; }
.dist3-dist.empty b { color: #6f7f9f !important; }
.dist3-own { grid-column: 1 / -1; margin: 0; }
.dist3-unit input::placeholder { color: #9aa3b5; }
.dist3-unit input::-webkit-outer-spin-button, .dist3-unit input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dist3-unit input[type=number] { -moz-appearance: textfield; appearance: textfield; }
/* 2026-11-11: "Print" and the A in the logo's dark blue, like "Tag" in its yellow - not on dark backgrounds, buttons or chips */
.pat-print, .pat-print + .pat-a { color: #16233f; }
.pat-dark .pat-print, .pat-dark .pat-a, header.top .pat-print, header.top .pat-a, .dist-band .pat-print, .dist-band .pat-a, .hw-hero.dark .pat-print, .hw-hero.dark .pat-a,
.pat-on-dark .pat-print, .pat-on-dark .pat-a, .btn .pat-print, .btn .pat-a, .chip .pat-print, .chip .pat-a, .tagline .pat-print, .tagline .pat-a,
.site-pill .pat-print, .site-pill .pat-a, .badge .pat-print, .badge .pat-a, a .pat-print, a .pat-a { color: inherit; }
/* 2026-11-11: the tagline ("Aisle to File!") as small caps between gold lines - no pill, so it doesn't look like a button */
.tagline { display: inline-flex; align-items: center; gap: .65rem; background: none; border-radius: 0; padding: 0; color: #16233f;
  font-weight: 800; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.tagline::before, .tagline::after { content: ""; width: 1.9rem; height: 2px; background: #f2b400; flex: 0 0 auto; }
.hw-hero.dark .tagline, .pat-on-dark .tagline { color: #fff; }
.login .tagline { margin: -.4rem 0 .5rem; }
/* update 163: Face ID sign-in */
.pk-signin { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .6rem; }
.pk-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; background: #16233f; color: #fff; border-color: #16233f; font-weight: 800; font-size: 1.05rem; padding: .85rem 1rem; }
.pk-btn:hover { background: #22345c; }
.pk-svg { width: 1.6rem; height: 1.6rem; flex: 0 0 auto; }
.pk-or { display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .85rem; margin: .4rem 0 .2rem; }
.pk-or::before, .pk-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pk-offer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: .4rem 0; }
.pk-offer h2 { margin: 0; font-size: 1.3rem; }
.pk-offer p { margin: 0 0 .4rem; }
.pk-icon { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 18px; background: #eef3ff; color: #16233f; }
.pk-icon .pk-svg { width: 2.4rem; height: 2.4rem; }
.pk-icon.small { width: 2.6rem; height: 2.6rem; border-radius: 12px; }
.pk-icon.small .pk-svg { width: 1.5rem; height: 1.5rem; }
.pk-card { margin-top: 1rem; }
.pk-card-row { align-items: center; }
.pk-card p { margin: .15rem 0 0; }
/* 2026-11-11: the attention-grabber boxes in the logo's bright blue (#1f4fd1) */
.sup2-hook { background: #1f4fd1; border-color: #1f4fd1; color: #fff; }
.sup2-hook h2, .sup2-hook p, .sup2-hook p b { color: #fff; }
.sup2-hook .flow-line { stroke: #c9d8ff; }
.sup2-hook svg text[font-size="17"] { fill: #fff; }
.sup2-hook .sup2-go { background: #16233f; border-color: #16233f; color: #fff; }
/* 2026-11-11: the other light-blue boxes on the public pages in the logo's bright blue too */
.sup2-step, .hw-easy-card { background: #1f4fd1; border-color: #1f4fd1; color: #fff; }
.sup2-step b, .hw-easy-card b, .hw-easy-card h3 { color: #fff; }
.sup2-step p, .hw-easy-card p, .hw-easy-card li { color: #dfe8ff; }
.sup2-step .sup2-num { background: #16233f; color: #ffd23f; }
.sup3-stat:not(:last-child) { background: #1f4fd1; }
.sup3-stat:not(:last-child) b { color: #fff; }
.sup3-stat:not(:last-child) span { color: #dfe8ff; }
.hw-easy-card svg { color: #ffd23f; } .hw-easy-card .pat-tag { color: #ffd23f; }
.hw-easy-card .hw-device svg.ic { color: #ffd23f; } .hw-easy-card .hw-device { border-color: rgba(255,255,255,.55); color: #fff; }
.dist3-research { background: #1f4fd1; border-color: #1f4fd1; color: #fff; }
.dist3-research b { color: #fff; }
.dist3-research ul { color: #dfe8ff; }
.dist3-research a { color: #ffd23f; }
.dist3-research p.muted { color: #dfe8ff; }
/* 2026-11-11: a calmer sign-in page - one white card for signing in, two quiet buttons for new visitors, one line of links */
.login-card { background: var(--card, #fff); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem; margin-top: .4rem; box-shadow: 0 6px 20px rgba(22,35,63,.06); }
.login-card .switch.keep { margin-top: .7rem; font-size: .88rem; color: var(--muted); }
.login-card .pk-signin { margin: 0; }
.pk-btn { justify-content: flex-start; text-align: left; gap: .8rem; padding: .9rem 1rem; }
.pk-btn .pk-svg { width: 2rem; height: 2rem; }
.pk-btn-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.pk-btn-text b { font-size: 1.08rem; }
.pk-btn-text small { font-weight: 500; font-size: .85rem; color: #c9d1e4; overflow: hidden; text-overflow: ellipsis; }
.pk-other { display: block; width: 100%; text-align: center; margin-top: .9rem; font-weight: 600; }
.login-new { margin-top: 1.6rem; text-align: center; }
.login-new p { margin: 0 0 .6rem; color: var(--muted); }
.login-pills { display: flex; gap: .7rem; }
.login-pill { flex: 1; text-align: center; padding: .7rem .5rem; border: 1.5px solid #16233f; border-radius: 999px; font-weight: 750; color: #16233f; text-decoration: none; background: transparent; }
.login-pill:hover { background: #16233f; color: #fff; }
.login .login-more { margin-top: 1.4rem; border-top: none; padding-top: 0; }
.login .login-more p { margin: .35rem 0 0; }
.login-card .err:empty { display: none; } .login-card form { margin: 0; } .login-card > :last-child { margin-bottom: 0; }
/* 2026-11-11: one shared layout for the Suppliers and Distributors pages */
.pg-jump { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 0 .4rem; margin: -.4rem 0 .6rem; scrollbar-width: none; }
.pg-jump::-webkit-scrollbar { display: none; }
.pg-jump a { flex: 0 0 auto; padding: .45rem .9rem; border: 1.5px solid #16233f; border-radius: 999px; color: #16233f; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; background: #fff; }
.pg-jump a:hover { background: #16233f; color: #fff; }
.pg-sec { margin: 2.6rem 0 0; scroll-margin-top: 4.5rem; }
.pg-head { margin-bottom: 1rem; }
.pg-head h2 { margin: 0; font-size: clamp(1.45rem, 3.6vw, 2rem); line-height: 1.15; }
.pg-sec > * + * { margin-top: 1rem; }
.pg-sec .sup2-steps, .pg-sec .sup3-grid, .pg-sec .dist3-ps, .pg-sec .sup3-trust, .pg-sec .sup3-try, .pg-sec .sup3-report, .pg-sec .dist3-calc, .pg-sec .sup2-signup, .pg-sec .sup2-faq { margin-bottom: 0; }
.pg-flow { max-width: none; margin: 1rem 0 0; padding: 1.2rem 1rem; }
.pg-flow h3 { margin: 0 0 .4rem; color: #fff; font-size: 1.3rem; text-align: center; }
.pg-sec .sup3-report { margin-top: 1.4rem; }
.pg-sec .sup3-tax { margin: -.6rem 0 0; }
.pg-sec .sup2-signup { margin-top: 0; }
.pg-sec .dist3-calc { margin-top: 0; }
.pg-sec .dist3-ps { margin-bottom: 0; }
.pg-sec .dir-tools { margin-top: 1rem; }
.sup2-hero { margin-bottom: 1.2rem; }
.pg-sec .sup3-try h2, .pg-sec .sup3-report h2 { font-size: 1.25rem; }
/* 2026-11-11: sign-in card like a bank app - round fields and buttons, a switch for "Keep me signed in", Face ID as an outline button under the main one */
.login-card form { display: flex; flex-direction: column; gap: .9rem; }
.login-card form > label { font-weight: 600; }
.login-card input[type=email], .login-card input.code { border-radius: 999px; padding: .8rem 1.1rem; min-height: 3rem; }
.login-card .btn.primary.wide, .login-card .pk-btn { border-radius: 999px; min-height: 3.1rem; font-size: 1.05rem; }
.keep-row { display: flex !important; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 500 !important; cursor: pointer; }
.toggle { position: relative; flex: 0 0 auto; width: 3.1rem; height: 1.8rem; }
.toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; z-index: 1; }
.toggle i { position: absolute; inset: 0; border-radius: 999px; background: #c9d0dc; transition: background .2s; }
.toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.8rem - 6px); height: calc(1.8rem - 6px); border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.toggle input:checked + i { background: #1f4fd1; }
.toggle input:checked + i::after { transform: translateX(1.3rem); }
.toggle input:focus-visible + i { outline: 3px solid rgba(31,79,209,.35); outline-offset: 2px; }
.login-card .pk-signin { margin-top: .9rem; }
.pk-btn.pk-outline { background: #fff; color: #16233f; border: 1.5px solid #16233f; justify-content: center; font-weight: 800; }
.pk-btn.pk-outline:hover { background: #16233f; color: #fff; }
.pk-btn.pk-outline .pk-svg { width: 1.5rem; height: 1.5rem; }
.login-card .saved-emails { margin: 0; }
.login .tagline { display: flex; justify-content: center; width: 100%; }
/* 2026-11-11: the dark result box lines up with the first row of boxes */
.dist3-calc { align-items: start; }
.dist3-intro { grid-column: 1 / -1; margin: 0; }
.dist3-out { align-self: start; margin-top: 0; }
.dist3-inputs label { justify-content: flex-start; }
.dist3-inputs .dist3-wide { grid-column: 1 / -1; }
@media (min-width: 761px) { .dist3-out { position: sticky; top: 5rem; } }
.dist3-inputs { align-items: stretch; } .dist3-inputs label > input, .dist3-inputs label > .dist3-unit { margin-top: auto; }
.sup3-stat:last-child { background: #15803d; } .sup3-stat:last-child b { color: #fff; } .sup3-stat:last-child span { color: #dcfce7; }
/* 2026-11-12: saved emails stay inside the card (long addresses shorten with "...") */
.login-card .saved-email { min-width: 0; }
.login-card .saved-email .linkcard { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 999px; padding: .7rem 1rem; }
.login-card .saved-email .icon-btn { flex: 0 0 2.6rem; width: 2.6rem; min-width: 0; padding: 0; border-radius: 50%; height: 2.6rem; align-self: center; }
.login-card form, .login-card .saved-emails { min-width: 0; }
/* 2026-11-12: Billing - customers by type */
.bill-types { display: flex; flex-wrap: wrap; gap: .45rem; }
.bill-type { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border: 1.5px solid #16233f; border-radius: 999px; background: #fff; color: #16233f; font-weight: 700; cursor: pointer; }
.bill-type span { background: #eef1f6; color: #16233f; border-radius: 999px; padding: 0 .45rem; font-size: .8rem; min-width: 1.2rem; text-align: center; }
.bill-type.on { background: #16233f; color: #fff; }
.bill-type.on span { background: #ffd23f; }
.chip.bs-paid { background: #dcfce7; color: #14532d; }
.chip.bs-none { background: #eef1f6; color: #5a6373; }
a.card.person.bill { text-decoration: none; color: inherit; }
/* 2026-11-12: Super Admin suppliers - names only, tap for the details */
.sup-adm-list { display: flex; flex-direction: column; gap: .5rem; }
.sup-adm-item { padding: 0; }
.sup-adm-item > summary { display: flex; align-items: center; gap: .5rem; padding: .85rem 1rem; cursor: pointer; list-style: none; }
.sup-adm-item > summary::-webkit-details-marker { display: none; }
.sup-adm-item > summary::after { content: "›"; margin-left: auto; font-size: 1.3rem; color: var(--muted); transition: transform .15s; }
.sup-adm-item[open] > summary::after { transform: rotate(90deg); }
.sup-adm-count { margin-left: auto; }
.sup-adm-item[open] .sup-adm-count { display: none; }
.sup-adm-body { display: flex; flex-direction: column; gap: .45rem; padding: 0 1rem 1rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.sup-adm-body .small { overflow-wrap: anywhere; }
.sup-search-top { margin-bottom: 1rem; } /* 2026-11-12: room under the search box */
.sup-adm-item { display: block !important; } .sup-adm-item > summary { width: 100%; box-sizing: border-box; } .sup-adm-item > summary::after { margin-left: .5rem; }
.sup-adm-item[open] > summary::after { margin-left: auto; }
/* 2026-11-12: Custom tags & signs gallery (#/tags) - drawn to scale, 1 inch = --in */
.login-tags { display: block; text-align: center; margin-top: .8rem; font-weight: 700; color: #1f4fd1; }
.tg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; align-items: start; }
.tg-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tg-card.wide { grid-column: span 2; }
.tg-stage { background: #eef1f6; display: flex; align-items: center; justify-content: center; height: 340px; padding: 1rem; box-sizing: border-box; }
.tg-card figcaption { padding: .8rem 1rem 1rem; }
.tg-card figcaption b { display: block; font-size: 1.05rem; }
.tg-size { display: inline-block; margin: .2rem 0 .3rem; font-size: .8rem; font-weight: 800; color: #1f4fd1; background: #eef3ff; border-radius: 6px; padding: .1rem .45rem; }
.tg-card figcaption p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.tg { position: relative; background: #fff; color: #16233f; box-shadow: 0 6px 16px rgba(22,35,63,.18); border-radius: 3px; overflow: hidden; font-size: calc(var(--in) * .15); line-height: 1.2; flex: 0 0 auto; }
.tg b { font-weight: 800; }
.tg-price { font-weight: 900; color: #16233f; font-size: 2.6em; line-height: 1; white-space: nowrap; }
.tg-price sup { font-size: .45em; vertical-align: top; position: relative; top: .15em; }
.tg-price.big { font-size: 4.2em; color: #c8102e; }
.tg-brand { display: flex; align-items: center; gap: .3em; font-size: .7em; font-weight: 800; letter-spacing: .08em; color: #1468b3; }
.tg-drop { width: .9em; height: 1.1em; background: #1468b3; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; transform: rotate(0); clip-path: polygon(50% 0, 100% 60%, 85% 95%, 15% 95%, 0 60%); }
.tg-bars { height: 1.3em; background: repeating-linear-gradient(90deg, #111 0 1px, #fff 1px 3px, #111 3px 5px, #fff 5px 6px, #111 6px 7px, #fff 7px 9px); width: 70%; margin-top: .25em; }
/* shelf strips */
.tg-strip { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: .4em .5em; box-sizing: border-box; border-top: calc(var(--in) * .1) solid #1468b3; gap: .3em; }
.tg-strip .tg-l { display: flex; flex-direction: column; min-width: 0; }
.tg-strip .tg-l span { color: #4a5263; }
.tg-strip .tg-price { font-size: 2.4em; }
.tg-strip.beer { border-top-color: #e2a400; }
.tg-dep { font-size: .8em; }
/* talker */
.tg-talker { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: .5em; box-sizing: border-box; gap: .25em; justify-content: space-between; }
.tg-ribbon { background: #c8102e; color: #fff; font-weight: 900; letter-spacing: .1em; padding: .2em .6em; border-radius: 3px; }
.tg-talker p { margin: 0; color: #4a5263; }
/* wine tag */
.tg-wine { display: flex; flex-direction: column; height: 100%; }
.tg-band { display: flex; justify-content: space-between; align-items: center; background: #1468b3; color: #fff; font-weight: 900; letter-spacing: .25em; padding: .45em .6em; }
.tg-band .tg-brand { color: #fff; } .tg-band .tg-drop { background: #fff; }
.tg-wbody { display: flex; gap: .6em; padding: .6em; flex: 1; }
.tg-wbody p { margin: .3em 0 0; color: #4a5263; }
.tg-wbody span { color: #4a5263; }
.tg-bottle { flex: 0 0 18%; background: linear-gradient(#7b1f3f, #4b0f24); border-radius: 30% 30% 10% 10% / 12% 12% 5% 5%; position: relative; }
.tg-bottle::after { content: ""; position: absolute; left: 15%; right: 15%; top: 45%; height: 25%; background: #f3ead6; }
.tg-wfoot { display: flex; align-items: center; justify-content: space-between; padding: 0 .6em; }
.tg-wfoot .tg-price { font-size: 3.2em; color: #1468b3; }
.tg-save { background: #1468b3; color: #fff; border-radius: 50%; width: 3.6em; height: 3.6em; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; }
.tg-wine .tg-bars { margin: .4em .6em .5em; width: 55%; }
/* necker */
.tg-neck { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 1.8em .5em .6em; box-sizing: border-box; gap: .3em; background: linear-gradient(#fff, #f3f7fc); }
.tg-hole { position: absolute; top: .5em; left: 50%; transform: translateX(-50%); width: 1.6em; height: 1.6em; border-radius: 50%; background: #eef1f6; box-shadow: inset 0 0 0 2px #c9d3e6; }
.tg-pts { width: 4.2em; height: 4.2em; border-radius: 50%; background: #ffd23f; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: .9em; }
.tg-pts b { font-size: 2em; line-height: 1; }
.tg-neck p { margin: 0; color: #4a5263; }
.tg-neck .tg-brand { margin-top: auto; }
/* wobbler */
.tg-card.wob .tg { background: transparent; box-shadow: none; overflow: visible; }
.tg-wob { position: relative; height: 100%; }
.tg-disc { position: absolute; top: 0; left: 0; width: calc(var(--in) * 3.5); height: calc(var(--in) * 3.5); border-radius: 50%; background: #c8102e; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(22,35,63,.25); border: 3px solid #fff; box-sizing: border-box; text-align: center; }
.tg-disc span { font-weight: 900; letter-spacing: .2em; font-size: 1.4em; }
.tg-disc .tg-price { color: #fff; font-size: 3.4em; }
.tg-arm { position: absolute; left: 50%; top: calc(var(--in) * 3.4); width: calc(var(--in) * .25); height: calc(var(--in) * .8); transform: translateX(-50%); background: rgba(160,190,230,.55); border: 1px solid rgba(120,150,200,.6); border-radius: 2px; }
/* dangler */
.tg-dangle { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: .6em; box-sizing: border-box; gap: .25em; background: #fff36b; }
.tg-dtop { background: #c8102e; color: #fff; font-weight: 900; letter-spacing: .12em; padding: .3em .8em; border-radius: 3px; font-size: 1.15em; }
.tg-dangle b { font-size: 1.15em; margin-top: .3em; }
.tg-was { font-weight: 800; color: #16233f; }
.tg-dangle .tg-brand { margin-top: auto; }
/* case card */
.tg-case { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: .8em; box-sizing: border-box; gap: .4em; background: #16233f; color: #fff; justify-content: center; }
.tg-case .tg-brand { color: #ffd23f; } .tg-case .tg-drop { background: #ffd23f; }
.tg-big { font-size: 1.9em; font-weight: 900; line-height: 1; letter-spacing: .04em; }
.tg-deal { font-size: 1.5em; font-weight: 700; color: #cfd7ea; }
.tg-off { font-size: 2.6em; font-weight: 900; color: #ffd23f; line-height: 1; }
.tg-case p { margin: .3em 0 0; color: #cfd7ea; }
.tg-case small { color: #9fb0d0; }
/* sign */
.tg-sign { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 1em; box-sizing: border-box; gap: .3em; background: radial-gradient(circle at 50% 20%, #24467e, #0e1a33 70%); color: #fff; }
.tg-sstar { width: 2.4em; height: 2.4em; background: #ffd23f; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.tg-shead { font-weight: 800; letter-spacing: .4em; color: #ffd23f; font-size: .9em; }
.tg-sbig { font-size: 2.6em; font-weight: 900; line-height: 1; letter-spacing: .02em; }
.tg-sline { font-size: .8em; color: #cfd7ea; }
.tg-srow { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; width: 100%; margin-top: auto; }
.tg-srow > div { background: #fff; color: #16233f; border-radius: .4em; padding: .5em; display: flex; flex-direction: column; align-items: center; gap: .2em; font-size: .7em; }
.tg-srow .tg-price { color: #c8102e; font-size: 2.6em; }
.tg-sign .tg-brand { color: #fff; margin-top: .4em; } .tg-sign .tg-drop { background: #fff; }
.tg-card.wide .tg-stage { min-height: 0; }

.tg-wbody b, .tg-wbody span { display: block; }
.tg-neck b { font-size: 1.2em; }
.tg-neck .tg-brand { font-size: .55em; }
@media (max-width: 640px) { .tg-stage { height: auto; min-height: 0; padding: 1.4rem 1rem; } }
.tg-promo { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.2rem; border-radius: 14px; background: #fff36b; color: #16233f; text-decoration: none; border: 1px solid #e8d84a; }
.tg-promo b { font-size: 1.1rem; } .tg-promo span { font-size: .92rem; }
/* 2026-11-12: non-alc tags */
.tg-multi { font-weight: 900; line-height: 1; white-space: nowrap; font-size: 2.2em; }
.tg-multi b { font-size: .75em; margin-right: .05em; }
.tg-multi sup { font-size: .45em; vertical-align: top; position: relative; top: .1em; }
.tg-dot { position: absolute; inset: 0; border-radius: 50%; background: #c8102e; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(22,35,63,.25); border: 2px solid #fff; box-sizing: border-box; }
.tg-dot span { font-weight: 800; letter-spacing: .12em; font-size: .8em; }
.tg-dot .tg-multi { font-size: 2.6em; }
.tg-dot.yel { background: #ffd23f; color: #16233f; }
.tg-strip.na { border-top-color: #c8102e; }
.tg-strip.na .tg-multi { color: #c8102e; font-size: 2em; }
.tg-single { font-size: .9em; }
.tg-cling { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: .6em; box-sizing: border-box; gap: .2em; background: linear-gradient(160deg, #e6f6ff, #bfe6ff); border-radius: 12%; }
.tg-cling .tg-ctop { background: #1468b3; color: #fff; font-weight: 900; letter-spacing: .15em; padding: .2em .6em; border-radius: 3px; font-size: .8em; }
.tg-cling .tg-multi { color: #1468b3; font-size: 2.6em; margin: .1em 0; }
.tg-cling span { color: #4a5263; font-size: .85em; }
.tg-cling .tg-brand { margin-top: auto; font-size: .55em; }
.tg-stack { display: flex; height: 100%; }
.tg-sl { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: .6em; gap: .15em; border-left: .5em solid #c8102e; }
.tg-sl span { color: #4a5263; }
.tg-sr { flex: 1.1; background: #c8102e; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2em; }
.tg-sr .tg-multi { font-size: 2.2em; }
.tg-energy { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: .6em; box-sizing: border-box; gap: .2em; background: #111; color: #fff; }
.tg-bolt { width: 1.6em; height: 2.2em; background: #b6ff00; clip-path: polygon(55% 0, 10% 55%, 45% 55%, 30% 100%, 90% 40%, 55% 40%, 75% 0); }
.tg-energy > b { font-size: 2em; letter-spacing: .1em; color: #b6ff00; line-height: 1; }
.tg-energy > span { color: #ccc; font-size: .9em; }
.tg-energy .tg-multi { color: #fff; font-size: 2.4em; margin-top: .1em; }
.tg-energy .tg-brand { margin-top: auto; color: #b6ff00; font-size: .55em; } .tg-energy .tg-drop { background: #b6ff00; }
/* 2026-11-12: the "please wait" window for long jobs */
.busy-back { position: fixed; inset: 0; z-index: 9999; background: rgba(15,24,44,.72); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.busy-box { width: 100%; max-width: 30rem; background: #fff; color: #16233f; border-radius: 18px; padding: 1.6rem 1.5rem 1.4rem; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.busy-box h2 { margin: .7rem 0 1rem; font-size: 1.3rem; }
.busy-spin { width: 2.6rem; height: 2.6rem; margin: 0 auto; border-radius: 50%; border: 4px solid #e3e8f2; border-top-color: #1f4fd1; animation: busy-spin 1s linear infinite; }
@keyframes busy-spin { to { transform: rotate(360deg); } }
.busy-track { height: 14px; background: #e9edf5; border-radius: 999px; overflow: hidden; }
.busy-fill { height: 100%; width: 0; background: linear-gradient(90deg, #1f4fd1, #3b82f6); border-radius: 999px; transition: width .3s; }
.busy-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: .5rem; color: #5a6373; font-size: .92rem; }
.busy-pct { font-size: 1.4rem; color: #16233f; }
.busy-warn { margin: 1.1rem 0 0; background: #fff4d6; border: 1px solid #f2c94c; border-radius: 12px; padding: .8rem .9rem; color: #5b4300; font-size: .95rem; line-height: 1.45; text-align: left; }
.busy-warn b { color: #8a5a00; }
/* 2026-11-12: Check the columns - green = looks right, yellow = worth a look */
.cm-row { border: 1.5px solid transparent; border-radius: 10px; padding: .45rem .55rem; }
.cm-row.cm-ok { background: #ecfdf3; border-color: #9ad9b4; }
.cm-row.cm-warn { background: #fff8db; border-color: #f2c94c; }
.cm-note { font-size: .8rem; line-height: 1.3; }
.cm-ok .cm-note { color: #15803d; } .cm-ok .cm-note::before { content: "✓ "; font-weight: 800; }
.cm-warn .cm-note { color: #8a5a00; } .cm-warn .cm-note::before { content: "! "; font-weight: 800; }
.cm-summary { border-radius: 10px; padding: .6rem .8rem; font-size: .92rem; }
.cm-summary.ok { background: #ecfdf3; color: #14532d; } .cm-summary.warn { background: #fff8db; color: #5b4300; }
.by-month-row { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; flex-wrap: wrap; } .by-month-row select { width: auto; min-height: 0; padding: .35rem .6rem; }
/* 2026-11-12: Shelf report - blue column headers and the blue "Make it Great" button */
table.rep.shr-table thead th { background: #1f4fd1 !important; color: #fff !important; }
.make-great { background: #1f4fd1 !important; color: #fff !important; border: none !important; border-radius: 999px !important; font-weight: 800; font-size: .78rem !important; padding: .25rem .7rem !important; min-height: 0 !important; white-space: nowrap; vertical-align: middle; cursor: pointer; }
.make-great:hover { background: #16233f !important; }

/* 2026-11-12: Make it stand out - score + by whom with a red star preview, QR preview next to the link, boxes lined up */
.sup-extras .xf-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.sup-extras .xf-row > label { display: flex; flex-direction: column; gap: .25rem; margin: 0; }
.sup-extras .xf-lab { font-weight: 600; }
.sup-extras .xf-note { margin: -.35rem 0 .2rem; }
.xf-star { display: flex; align-items: center; }
.xf-seal svg { display: block; }
.xf-qr { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.xf-qr-img svg { width: 64px; height: 64px; display: block; border: 1px solid #dde3ea; border-radius: 4px; background: #fff; }
/* update 165: the score check */
.award-ok-row { display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; padding: .5rem .65rem; border-radius: 8px; background: #f7eef1; border: 1px solid #e4c9d1; color: #5c0e24; }
.award-ok-row input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; accent-color: #7a1230; flex: none; }
.award-ok-row.field-missing { border-color: #c81e2d; box-shadow: 0 0 0 2px rgba(200, 30, 45, .2); }
.award-ok { color: #1f6b3a; margin-top: .3rem; }
/* 2026-11-12: Gold Standard - every box filled in */
.gold-chip { display: inline-flex; align-items: center; gap: .2rem; padding: .1rem .55rem; border-radius: 999px; font-weight: 700; font-size: .78rem;
  background: linear-gradient(180deg, #fff6d6, #fde9a6); color: #7a5a00; border: 1px solid #e8c34a; white-space: nowrap; }
.gold-star { color: #e0a800; font-size: 1rem; line-height: 1; text-shadow: 0 1px 0 #b98a00; }
.gold-legend { display: grid; gap: .5rem; margin: .9rem 0 1.4rem; padding: .75rem .9rem; border: 1px solid #dde3ea; background: #fff; border-radius: 10px; font-size: .85rem; color: #000; line-height: 1.45; }
.gold-legend .gold-chip, .gold-legend .score-chip { margin-right: .25rem; }
/* 2026-11-12: limits on the stand-out boxes - a count and a warning instead of a silent cut-off */
.xf-limit { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; min-height: 1rem; }
.xf-limit .char-count { font-size: .72rem; }
.xf-limit .char-count.over { color: #c81e2d; font-weight: 700; }
.xf-over { color: #c81e2d; font-weight: 600; align-self: stretch; }
.sup-extras input.field-over { border-color: #c81e2d; box-shadow: 0 0 0 2px rgba(200, 30, 45, .15); }
/* 2026-11-12: the food pairing box is two lines tall so the whole pairing shows */
.sup-extras textarea.xf-two { min-height: 3.4rem; resize: vertical; line-height: 1.35; font: inherit; }

/* 2026-11-12: iPhone - the page never wider than the screen (it slid sideways on My Tag Requests, and the New request
   tag step shrank to fit a wide drop-down). Safari makes a <select> as wide as its longest option and lets anything
   wider than the screen widen the whole page, so: drop-downs and grid columns can't grow past their box, and the
   page can't scroll sideways. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
main, .sheet-body { min-width: 0; }   /* keep each page's own max-width (desktop stays a centered column) */
select { max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.deep-sub select, .holiday-sub select, .tm-order select { width: 100%; }
.grid2, .type-grid, .sup-compare, .cm-rows, .demo-cards, .dist3-ps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid2 > *, .type-grid > *, .stats > *, .acct-tiles > *, .req-wrap > *, .list > * { min-width: 0; }
.stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.5rem), 1fr)); }
.req-title, .acct-title, .card b { overflow-wrap: anywhere; }
.deep-sub, .tm-order, .holiday-sub { min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr); }
.type-grid > * > *, .deep-sub > * { min-width: 0; max-width: 100%; }
.deep-sub.holiday-sub { flex-direction: column; align-items: stretch; gap: .3rem; }
/* 2026-11-12: the "Make my ... (PDF)" buttons on a request - side by side, same size, with room around them */
.make-mine { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .6rem; margin: .8rem 0 1.1rem; }
.make-mine > .btn { width: 100%; justify-content: center; min-height: 2.9rem; margin: 0; }
.req-actions { margin-top: .4rem; }
.req-actions > .btn { min-height: 2.9rem; margin: 0; }
.pair-fit { margin-top: .2rem; font-weight: 600; }
.pair-fit.ok { color: #1f6b3a; }
.pair-fit.warn { color: #9a6200; }
/* 2026-11-12: the tag gallery's artwork - each tag is one SVG at its real proportions */
.tg-card.art .tg { background: transparent; box-shadow: none; overflow: visible; border-radius: 0; }
.tg-art, .tg-art > svg { display: block; width: 100%; height: 100%; }
.tg-art > svg { filter: drop-shadow(0 6px 10px rgba(22, 35, 63, .22)); }
.tg-card.art .tg-stage { background: radial-gradient(circle at 50% 40%, #f7f9fc, #e3e8f0); }
/* 2026-11-12: Shelf report - the same Shelf-ready % / Gold Standard badges as My items; tapping them opens the item */
.shr-badges { display: inline-flex; flex-wrap: wrap; gap: .3rem; vertical-align: middle; }
.shr-open { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: 999px; }
.shr-open:hover .score-chip, .shr-open:hover .gold-chip, .shr-open:focus-visible .score-chip { filter: brightness(.95); box-shadow: 0 0 0 2px rgba(31, 79, 209, .35); }
.xf-year-note { color: #9a6200; font-weight: 600; margin-top: -.3rem; }
.sup-extras .xf-lab { white-space: nowrap; }
.sup-extras .xf-year input { width: 100%; }
.pair-pull-row { align-items: center; margin-top: .25rem; min-height: 0; }
.pair-pull { color: #1f6b3a; font-weight: 600; }
.pair-pull-btn[hidden] { display: none; }
/* 2026-11-12: My Items rows - the Image, Sell Sheet and Remove boxes are as tall as the item box */
.sup-row > .sup-img-wrap, .sup-row > .sup-sell, .sup-row > .sup-del { align-self: stretch; }
.sup-row > .sup-img-wrap { justify-content: center; min-width: 78px; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-sizing: border-box; }
.sup-row > .sup-img-wrap .sup-img-box { border: 0; background: transparent; min-height: 0; width: auto; padding: 0; }
.sup-row > .sup-sell, .sup-row > .sup-del { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-width: 92px; border-radius: 12px; padding: .35rem .6rem; }
.sup-sell-thumb { display: block; line-height: 0; }
.sup-sell-thumb svg { display: block; filter: drop-shadow(0 1px 2px rgba(22, 35, 63, .18)); }
.sup-sell-pdf { font-size: .62rem; font-weight: 800; color: #b91c1c; letter-spacing: .06em; line-height: 1; }
.sup-row > .sup-sell span, .sup-row > .sup-del span { line-height: 1.1; }
@media (max-width: 520px) { .sup-row > .sup-sell, .sup-row > .sup-del { min-width: 0; } .sup-row > .sup-sell span { display: none; } }
/* 2026-11-12: the item's own small picture in the Image box */
.sup-img-box img.sup-thumb-sm { width: 40px; height: 52px; object-fit: contain; display: block; background: #f3f5f8; border-radius: 4px; }
.sup-img-box.has-thumb img.sup-thumb-sm { background: transparent; }
.sup-img-box.no { color: var(--muted); gap: .15rem; }
.sup-img-box.no svg { width: 20px; height: 20px; }
/* 2026-11-12: Shelf-ready % chip in the same format as the Gold Standard chip - pill, border, soft gradient, bold, an icon */
.score-chip { display: inline-flex; align-items: center; gap: .2rem; padding: .1rem .55rem; border-radius: 999px; font-weight: 700; font-size: .78rem; white-space: nowrap; border: 1px solid; }
.score-chip .score-ic { display: inline-grid; place-items: center; width: 1rem; height: 1rem; border-radius: 50%; font-size: .62rem; line-height: 1; color: #fff; }
.score-chip.hi { background: linear-gradient(180deg, #ecfdf3, #c9f2d9); color: #14532d; border-color: #6fcf97; }
.score-chip.hi .score-ic { background: #16a34a; }
.score-chip.mid { background: linear-gradient(180deg, #fff8e1, #fde9a6); color: #7a5a00; border-color: #e8c34a; }
.score-chip.mid .score-ic { background: #d29b00; }
.score-chip.lo { background: linear-gradient(180deg, #fff1f1, #fcd2d2); color: #8f1414; border-color: #f19a9a; }
.score-chip.lo .score-ic { background: #c81e2d; }
/* 2026-11-12: where the supplier's logo goes */
.st-logo-use { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .85rem; border-radius: 12px; background: #eef4ff; border: 1px solid #b9cdfb; color: #16233f; font-size: .92rem; line-height: 1.4; }
.st-logo-ic { font-size: 1.3rem; line-height: 1; }
/* 2026-11-12: item editor - the Gold Standard checklist in the space next to the picture */
.pic-gold-row { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.pic-gold-row > div:first-child { display: flex; flex-direction: column; gap: .4rem; }
.gold-check { flex: 1 1 14rem; min-width: 0; margin-top: 1.6rem; padding: .7rem .9rem; border: 1px solid #ecdca0; border-radius: 12px; background: linear-gradient(180deg, #fffdf3, #fff6d6); }
.gold-check-head { font-weight: 800; color: #7a5a00; margin-bottom: .35rem; }
.gold-check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .2rem .8rem; font-size: .86rem; }
.gold-check-list li { display: flex; gap: .35rem; align-items: center; color: #4a3b00; font-weight: 600; }
.gold-check-list li.ok { color: #6b7280; font-weight: 500; text-decoration: line-through; text-decoration-color: rgba(107, 114, 128, .5); }
.gold-check-list .gc-ic { width: 1rem; text-align: center; color: #c99a00; }
.gold-check-list li.ok .gc-ic { color: #16a34a; }
/* 2026-11-12: the PrintATag name in running text - bold, like the logo (a step lighter than first tried) */
.pat-print, .pat-a, .pat-tag { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; letter-spacing: -.01em; }
/* 2026-11-12: Make it stand out - the boxes in a row line up (labels on one line, same height boxes, counters under) */
.sup-extras .xf-row { align-items: flex-start; }
.sup-extras .xf-row > label > input, .sup-extras .xf-row > label > select { height: 2.75rem; box-sizing: border-box; }
.sup-extras .xf-limit { min-height: 1rem; }
/* 2026-11-12: the award row stays on one line - the circle never drops out of view; the year box fits 4 digits */
.sup-extras .xf-award-row { flex-wrap: nowrap; }
.sup-extras .xf-award-row > label { min-width: 0; }
.sup-extras .xf-award-row > label > input { width: 100%; min-width: 0; }
.sup-extras .xf-award-row > .xf-star { flex: 0 0 auto; }
.sup-extras .xf-year input { text-align: center; letter-spacing: .05em; }
@media (max-width: 560px) { .sup-extras .xf-award-row { flex-wrap: wrap; } }
.xf-line-prev { display: flex; flex-direction: column; gap: .2rem; max-width: 9.5rem; }
.xf-line-txt { font-weight: 800; color: #9a6a00; font-size: .8rem; line-height: 1.2; overflow-wrap: anywhere; }
.xf-line-note { font-size: .7rem; color: var(--muted); line-height: 1.25; }
/* 2026-11-12: Shelf Report - Cost per tag */
.rep-tile.cost-tile { background: linear-gradient(180deg, #ecfdf3, #d7f5e3); border-color: #8fd9ad; }
.rep-tile.cost-tile b { color: #14532d; }
.rep-tile.cost-tile small { display: block; color: #3f6b52; font-size: .72rem; margin-top: .15rem; }
/* 2026-11-12: more awards + medal preview */
.xf-extra-awards { display: flex; flex-direction: column; gap: .5rem; }
.xf-add-award { align-self: flex-start; }
.xf-award-del { align-self: center; color: #b91c1c; font-size: 1rem; padding: .2rem .4rem; }
.xf-medal svg { display: block; }
.sup-extras .xf-add-award { width: auto; justify-self: start; align-self: flex-start; }
/* 2026-11-12: our own pick list (every choice shows, whatever is in the box) */
.pick-wrap { position: relative; display: block; }
.pick-wrap > input { width: 100%; padding-right: 2rem; box-sizing: border-box; }
.pick-arrow { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); font-size: 1rem; padding: .2rem .35rem; cursor: pointer; }
.pick-menu { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; max-height: 15rem; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 24px rgba(22, 35, 63, .16); padding: .25rem; min-width: 12rem; }
.pick-opt { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: .45rem .6rem; border-radius: 7px; font: inherit; cursor: pointer; color: var(--ink, #16233f); }
.pick-opt:hover, .pick-opt.hl { background: #eef4ff; }
.pick-opt.on { font-weight: 700; }
.sup-extras .xf-row > label > .pick-wrap > input { height: 2.75rem; }
/* 2026-11-12: the supplier's "Add more product information" button (was a small "Edit name, size, grape..." link) */
.btn.more-info { border: 2px solid var(--accent); color: var(--accent); background: #fff; }
.btn.more-info:hover { background: color-mix(in srgb, var(--accent) 8%, #fff); }
/* "Add more product information" above the Save button, both their own width */
.more-info-row { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
/* update 169: "N changes on N items not sent yet - Send to distributors" at the top of My Items */
.sup-send { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1rem; flex-wrap: wrap;
  background: #fff7e6; border: 2px solid #f0b54a; border-radius: 12px; padding: .8rem 1rem; margin: .4rem 0 1rem; }
.sup-send[hidden] { display: none; }
.sup-send b { font-size: 1.05rem; }
.sup-send .small { color: #6b4a12; margin-top: .2rem; max-width: 34rem; }
.sup-unsent { color: #b45309; }
/* 2026-11-13: invoice status colors - Open amber, Paid green, Overdue red, Void grey (chip + card stripe/tint) */
.chip.si-chip { font-weight: 700; }
.chip.si-open { background: #fef3c7; color: #92400e; }
.chip.si-paid { background: #dcfce7; color: #166534; }
.chip.si-overdue { background: #fee2e2; color: #b91c1c; }
.chip.si-void { background: #e5e7eb; color: #4b5563; }
.card.si-card-open { border-left: 5px solid #f59e0b; background: #fffbeb; }
.card.si-card-paid { border-left: 5px solid #16a34a; background: #f0fdf4; }
.card.si-card-overdue { border-left: 5px solid #dc2626; background: #fef2f2; }
.card.si-card-void { border-left: 5px solid #9ca3af; background: #f9fafb; opacity: .85; }
/* 2026-11-13: scrolling inside a window stays inside it (doesn't move the page behind) */
.sheet { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-back { overscroll-behavior: contain; touch-action: pan-y; }
/* 2026-11-13: the item window's picture box is the "Choose a picture" button */
.sup-pic.sup-pic-pick { position: relative; flex-direction: column; gap: .35rem; padding: .6rem; text-align: center; cursor: pointer; font: inherit; color: var(--ink);
  border: 2px dashed #cbd5e1; background: #fff; }
.sup-pic.sup-pic-pick:hover, .sup-pic.sup-pic-pick.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, #fff); }
.sup-pic-pick .sup-pic-ic svg { width: 28px; height: 28px; color: var(--accent); }
.sup-pic-pick b { color: var(--accent); }
.sup-pic-pick .small { line-height: 1.3; }
.sup-pic-pick:has(img) { border-style: solid; border-color: var(--line); }
.sup-pic-change { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); background: rgba(22,35,63,.8); color: #fff; font-size: .75rem; font-weight: 700; padding: .1rem .55rem; border-radius: 99px; }
.sup-pic-remove { display: block; margin-top: .3rem; color: #b42318; }
/* 2026-11-13: pick lists say you can type your own */
.pick-hint { padding: .4rem .7rem; font-size: .78rem; color: #6b7280; background: #f8fafc; border-bottom: 1px solid var(--line); }
.pick-opt.pick-own { font-weight: 700; color: var(--accent); }
/* 2026-11-13: supplier approval card - the two sides line up row by row */
.sup-rows { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: .7rem; }
.sr-cell { padding: .3rem .7rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px dashed #edf0f5; min-width: 0; overflow-wrap: anywhere; }
.sr-cell.new { border-color: #9cc3f5; background: rgba(37, 99, 235, .05); border-bottom-color: #dbe7fb; }
.sr-head { font-weight: 700; font-size: .85rem; border-top: 1px solid var(--line); border-radius: 10px 10px 0 0; padding-top: .6rem; border-bottom: 0; }
.sr-head.new { border-top-color: #9cc3f5; }
.sr-pic { border-bottom: 0; }
.sr-pic .sup-thumb { width: 110px; height: 140px; }
.sr-end { border-bottom: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-bottom: .5rem; }
.sr-end.new { border-bottom-color: #9cc3f5; }
.sr-cell.sup-changed { background: #fff3c4; padding: .3rem .7rem; border-radius: 0; }
/* update 173: the distributor a supplier said sent them */
.sup-ref { background: #ecfdf3; border: 1px solid #a7e3bf; border-radius: 8px; padding: .35rem .6rem; color: #14532d; }
/* 2026-11-13: the page you're on is marked in the top menu */
nav.menu a.menu-on { font-weight: 700; color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
@media (max-width: 899px) { nav.menu a.menu-on { box-shadow: inset 4px 0 0 var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); } }
/* 2026-11-13: Supplier information - Invite (blue, left) next to the $100 offer (green, right) */
.sup-invite-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: .8rem; align-items: stretch; }
@media (max-width: 640px) { .sup-invite-pair { grid-template-columns: minmax(0, 1fr); } }
.sup-invite-box { background: #eef3ff; border: 1px solid #c9d6fb; color: #1e3a8a; border-radius: 10px; padding: .8rem; display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; justify-content: center; }
.sup-invite-pair .sup-credit { display: flex; flex-direction: column; justify-content: center; gap: .45rem; background: #ecfdf3; border: 1px solid #86efac; color: #14532d; border-radius: 10px; padding: .8rem; }
.sup-invite-pair .sup-credit:empty { display: none; }
.sup-invite-pair .sup-credit-pitch { background: none; border: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.sup-invite-pair .sup-credit-list { border-top: 1px solid #bbf7d0; padding-top: .4rem; font-size: .9rem; }
/* 2026-11-13: How-to guide card (My Account) */
.card.block.guide-card { display: flex; gap: .9rem; align-items: flex-start; background: #eef3ff; border-color: #c9d6fb; }
.guide-ic { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #1f4fd1; color: #fff; display: grid; place-items: center; }
.guide-ic svg { width: 1.4rem; height: 1.4rem; }

/* update 175: demo invites (Inquiries page) */
.demo-invites .demo-inv { cursor: default; }
.chip.demo-opened { background: #dff3e5; color: #146c2e; }
.chip.demo-waiting { background: #eef1f6; color: #4a5568; }

/* 2026-11-13: Make a supplier sample */
.ss-results { max-height: 18rem; overflow: auto; }
.ss-row[disabled] { opacity: .55; }
.ss-pic-row { align-items: center; }
.ss-thumb { width: 64px; height: 96px; object-fit: contain; border: 1px solid var(--line, #dde2ec); border-radius: 8px; background: #fff; }
.ss-none { display: flex; align-items: center; justify-content: center; text-align: center; font-size: .72rem; color: #5b6577; padding: .2rem; }

/* update 177: a supplier's preview (#/preview/<code>) */
.pv-main { max-width: 960px; }
.pv-items .pv-item { display: flex; gap: .8rem; align-items: flex-start; text-align: left; }
.pv-desc { margin-top: .3rem; color: #374151; }
.chip.pv-ready { background: #dcfce7; color: #166534; font-weight: 700; }
.chip.pv-notready { background: #fee2e2; color: #b91c1c; font-weight: 700; }
.chip.pv-wait { background: #fef3c7; color: #92400e; font-weight: 700; }
.pv-sent { color: #166534; margin-top: .2rem; }
.pv-ok { background: #ecfdf3; border: 1px solid #9ed3ae; border-radius: 10px; padding: .6rem .9rem; }
.pv-logo img { max-height: 70px; max-width: 220px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .4rem .7rem; }
.pv-thumb-big { width: 96px; height: 130px; }
.pv-pic-row { align-items: center; }
.pv-approve .sup-rows { margin-top: .3rem; }
.pv-toggle { margin: .2rem 0 .8rem; }
.pv-sheets { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: .8rem; }
.pv-sell { max-width: 640px; align-self: center; width: 100%; }
.pv-page { cursor: zoom-in; image-rendering: auto; }
.pv-zoom { overflow: auto; } .pv-zoom img { width: 100%; min-width: 900px; height: auto; display: block; }
@media (max-width: 700px) { .pv-zoom img { min-width: 1100px; } }
.pv-edit .pv-grow { flex: 1 1 18rem; } .pv-aw-sc { flex: 0 1 8.6rem; } .pv-aw-by { flex: 2 1 10rem; } .pv-aw-yr { flex: 0 0 6.6rem; }
.pv-sheets figure { margin: 0; display: flex; flex-direction: column; gap: .3rem; align-items: center; }
.pv-page { width: 100%; height: auto; background: #fff; border-radius: 8px; box-shadow: 0 6px 22px rgba(22, 35, 63, .16); }
.pv-example { display: inline-block; background: #fff4cc; color: #3d3000; border-radius: 999px; padding: .2rem .8rem; font-size: .85rem; font-weight: 600; }
.pv-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; margin: .6rem 0 1rem; }
.pv-tile { display: flex; flex-direction: column; gap: .2rem; }
.pv-tile b { font-size: 1.5rem; color: #16233f; }
.pv-tile.pv-cost { background: #e7f6ec; border-color: #9ed3ae; }
.pv-join h2 { margin: 0; }
.pv-top .sup-nav { flex-wrap: wrap; }
.pv-item > div { flex: 1 1 auto; min-width: 0; text-align: left; }
.pv-rep-row { cursor: pointer; } .pv-rep-row:hover { background: #f3f6fb; }
.pv-gold-inline { vertical-align: middle; margin: 0 .15rem; }
/* the preview's "Try it in 4 steps" guide */
.pv-intro-row { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin: .4rem 0 .8rem; }
.pv-intro-row .pv-guide { flex: 1 1 22rem; margin: 0; border: 2px solid #1f4fd1; background: #f3f6ff; }
.pv-guide-head { display: block; font-size: 1.05rem; margin-bottom: .4rem; color: #16233f; }
.pv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .5rem .9rem; }
.pv-steps li { display: flex; gap: .55rem; align-items: flex-start; }
.pv-step-n { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: #dbe4fb; color: #1f4fd1; }
.pv-steps li.next .pv-step-n { background: #1f4fd1; color: #fff; }
.pv-steps li.done .pv-step-n { background: #16a34a; color: #fff; }
.pv-steps li.done .pv-step-t { color: #166534; text-decoration: line-through; text-decoration-color: rgba(22, 101, 52, .4); }
.pv-step-t { font-weight: 600; text-align: left; }
.pv-steps li > div { text-align: left; } .pv-steps .linklike.pv-step-t { text-align: left; padding: 0; }

/* 2026-11-13: upload status - right away when Upload is pressed, then a clear "Done" */
.up-status { display: flex; gap: .7rem; align-items: center; border-radius: 10px; padding: .75rem .9rem; margin: .2rem 0; }
.up-status[hidden] { display: none; }
.up-working { background: #eef3ff; border: 1px solid #b9cbf5; color: #16233f; }
.up-done { background: #e7f6ec; border: 2px solid #4caf73; color: #14532d; }
.up-fail { background: #fdecec; border: 1px solid #f0a3a3; color: #8a1c1c; }
.up-status .spinner.up-spin { width: 22px; height: 22px; flex: none; }
.up-ic { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: #16a34a; }
.up-fail .up-ic { background: #dc2626; }
.up-bar { display: block; height: 8px; background: #d6e0f7; border-radius: 4px; margin-top: .4rem; overflow: hidden; min-width: 12rem; }
.up-bar > span { display: block; height: 100%; background: #1f4fd1; transition: width .3s; }
.btn.busy { opacity: .75; cursor: progress; }
/* update 179: Leave off the site */
.leave-off-add { align-items: flex-end; }
.leave-off-add .grow { flex: 1 1 16rem; }
.leave-off-rules { list-style: none; margin: .3rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.leave-off-rules li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: #fafbfc; }
.leave-off-rules li .linklike { margin-left: auto; }
/* 2026-11-13: form-only public pages (Get in touch): one centered column for the top bar, the form and the footer */
.pub-top.pub-narrow, main.pub.pub-narrow, .pub-foot.pub-narrow { max-width: 38rem; }
main.pub.pub-narrow .contact-form { max-width: none; }
.hw-tbrand { font-weight: 700; font-size: 7px; line-height: 1.1; color: #6b7280; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }

/* the cycling middle wine tag (Suppliers / Distributors hero) */
.sup2-cyc-box { position: absolute; inset: 0; z-index: 1; }
.sup2-cyc { opacity: 0; z-index: 0; transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .3s; }
.sup2-cyc.next { opacity: 1; z-index: 2; transform: rotate(2deg); }
.sup2-cyc.front { opacity: 1; z-index: 3; }
.sup2-cyc.out { z-index: 4; transform: translate(62%, -4%) rotate(12deg); }
.sup2-cyc.rest { transition: none; opacity: 0; z-index: 0; }

/* Backup (update 180) */
.backup-late { background: #fff4d6; border: 1px solid #f0c75e; border-radius: 8px; padding: .55rem .8rem; font-weight: 600; margin: 0; }
.backup-band { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: space-between; background: #fff4d6;
  border: 1px solid #f0c75e; border-radius: 10px; padding: .6rem .9rem; margin-bottom: .75rem; }
.backup-band[hidden] { display: none; }
.backup-band a { font-weight: 700; white-space: nowrap; }
.bk-card { width: 100%; } .bk-card h3 { margin: 0; }

/* Inquiries: Demo invites + Supplier preview links - the same heading-then-button layout and the same button width */
.inq-head { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.inq-head h2.section { margin: 0; }
.inq-head .btn { min-width: 15.5rem; justify-content: center; text-align: center; }
@media (max-width: 480px) { .inq-head .btn { width: 100%; min-width: 0; } }
/* Customers → Suppliers: the three boxes' buttons line up - same color and width */
.bb-btn { min-width: 15.5rem; justify-content: center; text-align: center; align-self: flex-start; }
@media (max-width: 480px) { .bb-btn { width: 100%; min-width: 0; } }
.sup-prev-wrap > * { margin-bottom: .7rem; }
.chk-line { display: flex; align-items: flex-start; gap: .6rem; } .chk-line > input { flex: none; margin-top: .15rem; } .chk-line > span { flex: 1; min-width: 0; }

/* Distributors page calculator (2026-11-13): sections + "Your reach" */
.dist3-sub { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; margin: .5rem 0 0; font-size: 1rem; color: #16233f; }
.dist3-sub:first-child { margin-top: 0; }
.dist3-sub span { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #16233f; color: #ffd23f; font-size: .8rem; font-weight: 800; flex: none; }
.dist3-wide { grid-column: 1 / -1; }
.dist3-total { margin: -.2rem 0 0; }
.dist3-total .dist3-sum { display: inline-block; background: #fff7d6; border: 1px solid #f0d36b; color: #16233f; border-radius: 8px; padding: .4rem .7rem; font-size: .95rem; }
.dist3-reach { width: 100%; }
.dist3-reach-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin: .3rem 0 .4rem; }
.dist3-reach-row > div { display: flex; flex-direction: column; align-items: center; }
.dist3-reach-row strong { color: #ffd23f; font-size: 1.9rem; line-height: 1.1; font-weight: 800; }
.dist3-reach-row span { font-size: .8rem; }
.dist3-reach p { margin: 0; font-size: .85rem; color: #cfd7ea; }
.dist3-perrep { margin: .35rem 0 0; font-size: .9rem; }
.dist3-perrep strong { color: #fff; }
@media (max-width: 380px) { .dist3-reach-row strong { font-size: 1.5rem; } }
.err.info { color: #1d4ed8; }
/* 2026-11-14: Monthly / Yearly switch on the Distributors calculator */
.dist3-switch { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; margin: .1rem 0 .7rem; }
.dist3-switch button { border: 0; background: transparent; color: #cfd7ea; font: inherit; font-weight: 700; font-size: .85rem; padding: .35rem .9rem; border-radius: 999px; cursor: pointer; }
.dist3-switch button[aria-pressed="true"] { background: #ffd23f; color: #16233f; }
.dist3-out b.dist3-lost { color: #ff8a95; font-size: 2.1rem; }
.dist3-note { margin: -.35rem 0 0; }

/* 2026-11-14: tables that scroll sideways show it - hint line, right-edge fade, the first column stays put */
.scroll-hint { margin: 0 0 .3rem; font-size: .8rem; font-weight: 700; color: #1f4fd1; text-align: right; }
.scroll-hint[hidden] { display: none; }
.rep-scroll { position: relative; }
.scroll-wrap { position: relative; }
.scroll-fade { position: absolute; top: 1px; right: 1px; bottom: 1px; width: 28px; pointer-events: none; border-radius: 0 12px 12px 0;
  background: linear-gradient(to left, rgba(16, 24, 40, .22), rgba(16, 24, 40, 0)); opacity: 0; transition: opacity .2s; }
.scroll-wrap.more-right .scroll-fade { opacity: 1; }
@media (max-width: 700px) {
  table.rep.shr-table th:first-child, table.rep.shr-table td:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 1px 0 0 var(--line); }
  table.rep.shr-table thead th:first-child { z-index: 2; }
  table.rep.shr-table td.item { min-width: 9.5rem; max-width: 11rem; }
}
/* update 184: Suppliers row under the item counts on the Product catalog card */
.sup-stats { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line, #e5e7eb); }
/* update 185: Verified items - blue check, last verified date in each row, re-verify every 6 months */
.blue-check { display: inline-flex; vertical-align: -3px; }
.ver-head { display: inline-flex; align-items: center; gap: .3rem; }
button.sup-item { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; text-align: left; }
.sup-verified { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; margin-left: auto; font-size: .82rem; color: var(--muted); text-align: right; }
.sup-verified > span:first-child, .sup-verified > .blue-check { align-self: flex-end; }
.sup-verified { display: grid; grid-template-columns: auto auto; column-gap: .3rem; align-items: center; justify-items: end; }
.sup-verified .sup-ver-soon { grid-column: 1 / -1; color: #92400e; font-weight: 600; }
.sup-verified.due { color: #92400e; }
.sup-ver-chip { background: #fef3c7; border: 1px solid #f59e0b; color: #92400e; border-radius: 999px; padding: .05rem .5rem; font-weight: 700; font-size: .78rem; }
.sup-verified.due { grid-template-columns: auto; row-gap: .2rem; }
.sup-due-count { color: #92400e; }
.sup-reverify { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; padding: .7rem .8rem; border-radius: 10px; background: #eff6ff; border: 1px solid #bfdbfe; font-size: .9rem; }
.sup-reverify.due { background: #fffbeb; border-color: #f59e0b; }
.sup-reverify > div { flex: 1 1 16rem; }
@media (max-width: 520px) { .sup-verified { margin-left: 0; justify-items: start; } }
.ver-head { white-space: nowrap; }
