/* Track My Basket — Wave 9 "evidence editorial" (r12 brand makeover, Jul 2026).
   The lane: CHOICE's investigative rigour × OzBargain's data-first utility × Australian
   receipt/docket vernacular. TWO-STRATA RULE — the brand layer (masthead, hero, empty states,
   texta annotations) may be hand-made and warm; the evidence layer (prices, tables, verdicts,
   timestamps) is ruler-straight, tabular, dated, sourced.
   ANTI-SLOP GUARDRAILS (research/r12): no Inter, no Fraunces, no purple gradients, no
   glassmorphism, no decorative motion, gold ONLY as the "genuine low" catch signal.
   Type: Bricolage Grotesque (display/prices/wordmark) + native system stack (body). */
:root {
  --ink: #1a1d22;          /* receipt ink */
  --ink-soft: #3e454f;
  --muted: #5d646f;
  --paper: #fbfaf7;        /* receipt near-white — NOT the warm cream (that's the AI default) */
  --paper-2: #f4f2ec;      /* soft panel */
  --card: #ffffff;
  --line: #e2e0d9;
  --edge: #454d59;         /* the ruled evidence-module border */
  --navy: #14263c;         /* structural: masthead, footer, buttons, wordmark, texta biro */
  --navy-2: #24405e;       /* hover */
  --navy-bg: #e9eef4;
  --gold: #f4b41a;         /* THE CATCH — genuine-low signal only. Never a wash, never a CTA. */
  --gold-dk: #8a6300;      /* gold-as-text (AA) */
  --gold-bg: #fdf3d7;
  --save: #0e6e59;         /* semantic "below its usual" (teal — deliberately NOT Woolies green) */
  --save-dk: #0a5745;
  --save-bg: #e4f1ec;
  --wait: #a03d22;         /* the honest "Wait" state */
  --wait-bg: #f7eae4;
  --neutral-bg: #edece7;   /* "Typical price" */
  --coles: #e01a22;
  --woolworths: #157a3a;   /* retailer cue (their brand, not ours) */
  --amazon: #146eb4;
  --harris: #b45309;
  --shadow-sm: 2px 2px 0 rgba(20, 38, 60, 0.08);
  --shadow: 3px 3px 0 rgba(20, 38, 60, 0.1);
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Bricolage Grotesque", var(--font);
  /* legacy aliases (older templates/inline styles reference these) */
  --green: #0e6e59;
  --green-dk: #0a5745;
  --green-deep: #14263c;
  --green-bg: #e4f1ec;
  --gold-text: #8a6300;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
/* evidence numerals line up like a ledger everywhere */
.price, .unit, .ref-v, .xb-winprice, .xb-rowprice, .tier .amt, .dk-price, .dk-sub { font-variant-numeric: tabular-nums; }

/* ---- header / nav — a ruled masthead, not a floating glass bar ---- */
.nav { background: var(--paper); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 20; }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.logo .mark { display: grid; place-items: center; flex: 0 0 auto; }
.logo .wm { white-space: nowrap; }
.logo .tld { position: relative; display: inline-block; }
.logo .texta-u { position: absolute; left: -1%; bottom: -5px; width: 103%; height: 7px; color: var(--navy); }
.brandmark { display: block; }
.nav nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 11px; border-radius: var(--radius-sm); }
.nav nav a:hover { background: var(--navy-bg); color: var(--navy); }
.nav nav a.cta { background: var(--navy); color: #fff; border-radius: var(--radius-sm); }
.nav nav a.cta:hover { background: var(--navy-2); }
.watch-count { font-size: 12px; color: var(--gold-dk); font-weight: 700; }

/* ---- texta annotation (the ONE hand motif — brand layer only) ---- */
.texta-u { display: block; overflow: visible; }
.texta-u path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.texta-word { position: relative; display: inline-block; white-space: nowrap; }
.texta-word .texta-u { position: absolute; left: -1%; right: 0; bottom: -0.12em; width: 102%; height: 0.14em; color: var(--navy); }

/* ---- hero — editorial, question-led, on paper (no gradient, no mascot bubble) ---- */
.hero { background: var(--paper); border-bottom: 2px solid var(--ink); padding: 52px 0 56px; overflow: hidden; }
/* minmax(0,…) so the docket's nowrap product names can't blow the track past the container */
.hero .wrap { display: grid; grid-template-columns: 1.25fr minmax(0, 0.85fr); gap: 40px; align-items: center; }
.hero h1 { font-family: var(--display); font-size: clamp(38px, 6vw, 64px); line-height: 1.02; margin: 16px 0 14px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.hero p.sub { font-size: 18px; color: var(--ink-soft); margin: 0 0 26px; max-width: 32rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1.5px solid var(--ink); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.01em; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn { display: inline-block; padding: 13px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; }
.btn.gold, .btn.green { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn.gold:hover, .btn.green:hover { background: var(--navy-2); }
.btn.ghost { background: transparent; color: var(--navy); border: 0; margin-left: 12px; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.btn.ghost:hover { color: var(--navy-2); }

/* the hero docket — today's real verified prices, receipt-shaped (evidence layer inside a
   brand-layer frame; every number is code-rendered from live data, never baked pixels) */
.docket-wrap { justify-self: center; width: 100%; max-width: 360px; min-width: 0; }
.docket { background: var(--card); border: 1.5px dashed var(--edge); border-radius: 4px; padding: 16px 18px 14px; box-shadow: 4px 4px 0 rgba(20, 38, 60, 0.12); transform: rotate(-1.2deg); font-size: 13.5px; }
.dk-head { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px; }
.dk-date { color: var(--muted); font-weight: 600; letter-spacing: 0.02em; text-transform: none; font-family: var(--font); }
.dk-rule { border-top: 1.5px dashed var(--line); margin: 9px 0; }
.dk-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 700; }
.dk-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-price { font-family: var(--display); font-weight: 800; white-space: nowrap; }
.dk-sub { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; margin-top: 1px; }
.dk-v { font-weight: 800; white-space: nowrap; }
.dk-v.v-rare, .dk-v.v-stockup { color: var(--gold-dk); }
.dk-v.v-good { color: var(--save-dk); }
.dk-foot { display: flex; align-items: center; gap: 7px; margin-top: 10px; color: var(--save-dk); font-weight: 700; font-size: 12.5px; }
.dk-promise { display: grid; gap: 8px; font-weight: 600; color: var(--ink-soft); }

/* ---- generic sections ---- */
section.band { padding: 46px 0; }
section.band.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h2 { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 6px; }
.lead { color: var(--ink-soft); font-size: 17px; margin: 0 0 28px; max-width: 44rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.step .n { width: 34px; height: 34px; border-radius: 50% 46% 52% 48% / 48% 52% 46% 54%; border: 2px solid var(--navy); color: var(--navy); font-family: var(--display); font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; transform: rotate(-4deg); }
.step h3 { margin: 0 0 6px; font-size: 17px; font-family: var(--display); font-weight: 700; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---- deal bar + grid ---- */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.bar a { color: var(--navy); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { border: 1.5px solid var(--edge); background: var(--card); color: var(--ink-soft); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }

/* ---- deal card — an evidence module: ruled border, hard shadow, ledger numerals ---- */
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.card:hover { transform: translate(-1px, -2px); box-shadow: 5px 6px 0 rgba(20, 38, 60, 0.13); }
/* flex:1 (NOT height:100%) — a 100% height here swallows the whole card and pushes the
   cross-retailer board + foot outside the overflow:hidden clip */
.card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.card .shot { aspect-ratio: 16/10; background: #fff; border-bottom: 1.5px solid var(--line); object-fit: contain; width: 100%; padding: 6px; }
.card .body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.shot-wrap { position: relative; }
.shot.placeholder { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, var(--paper), var(--paper) 10px, var(--paper-2) 10px, var(--paper-2) 20px); color: var(--muted); position: relative; }
.shot.placeholder::after { content: "photo coming"; position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.shot-wrap .badge { position: absolute; top: 10px; right: 10px; box-shadow: var(--shadow-sm); }
.retailer { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.retailer.coles { color: var(--coles); }
.retailer.woolworths { color: var(--woolworths); }
.retailer.amazon_au { color: var(--amazon); }
.retailer.harris_farm { color: var(--harris); }
.badge { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 4px; white-space: nowrap; border: 1.5px solid transparent; }
.badge.genuine { color: var(--gold-dk); background: var(--gold-bg); border-color: var(--gold); }
.badge.cheap { color: var(--navy); background: var(--navy-bg); }
/* Rare-low cards carry the catch: a gold ruled edge */
.card:has(.badge.genuine) { border-color: var(--gold-dk); box-shadow: 3px 3px 0 rgba(138, 99, 0, 0.16); }
.card h3 { font-size: 15px; margin: 0 0 2px; font-weight: 650; line-height: 1.3; }
.vrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 2px; }
.verified { font-weight: 600; white-space: nowrap; }
.verified.fresh { color: var(--save-dk); }
.verified.recent { color: var(--gold-dk); }
.verified.stale { color: var(--muted); }
.prices { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-top: 2px; }
/* the flexible gap sits AFTER the verdict, so card content hugs the top (no title→price hole) */
.card .verdict { margin-bottom: auto; }
.price { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.unit { font-size: 14px; font-weight: 650; color: var(--ink-soft); }
.unit.big { font-size: 18px; color: var(--ink); }
.unit .ub { color: var(--muted); font-weight: 500; }
.pct { color: var(--save-dk); font-weight: 800; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 15px 14px; }
.since { font-size: 12px; color: var(--muted); }
.watch-btn { position: static; background: #fff; border: 1.5px solid var(--edge); border-radius: var(--radius-sm); padding: 8px 12px; min-height: 32px; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--ink-soft); box-shadow: none; font-family: inherit; }
.watch-btn:hover { border-color: var(--navy); color: var(--navy); }
.watch-btn.on { background: var(--gold-bg); border-color: var(--gold-dk); color: var(--gold-dk); }
.empty { color: var(--ink-soft); padding: 48px 22px; font-size: 16px; text-align: center; background: var(--card); border: 1.5px dashed var(--edge); border-radius: var(--radius); }

/* ---- detail ---- */
.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 36px 0; }
.detail h1 { font-family: var(--display); font-size: 27px; font-weight: 750; letter-spacing: -0.01em; margin: 4px 0 10px; }
.bigprice { display: flex; align-items: baseline; gap: 12px; margin: 8px 0; }
.bigprice .price { font-size: 44px; }
.bigprice .unit.big { margin-left: 4px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0 16px; font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.trustbox { background: var(--navy-bg); border: 1.5px solid var(--navy); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--navy); margin: 16px 0; }
.pcard { background: #fff; border: 1.5px solid var(--edge); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: grid; place-items: center; margin-bottom: 16px; }
.pimg { max-height: 240px; width: auto; object-fit: contain; }
.pimg.placeholder { height: 200px; width: 100%; display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(-45deg, var(--paper), var(--paper) 10px, var(--paper-2) 10px, var(--paper-2) 20px); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
/* the proof screenshot, framed as a labelled receipt */
.detail .proof { border: 1.5px dashed var(--edge); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); background: var(--card); padding: 10px; }
.detail .proof a { display: block; position: relative; }
.detail .proof img { border-radius: 4px; border: 1px solid var(--line); max-height: 320px; width: 100%; object-fit: cover; object-position: top center; background: #fff; }
.detail .proof a::before { content: "✓ Verified screenshot"; position: absolute; top: 8px; left: 8px; z-index: 1; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.03em; padding: 4px 9px; border-radius: 4px; }
.detail .proof .cap { padding: 9px 4px 2px; font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.onlineprice { font-size: 13px; color: var(--ink-soft); background: var(--paper-2); border-left: 3px solid var(--navy); padding: 8px 12px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 16px 0 0; }
.detail .onlineprice + p { margin-top: 8px; }
.detail .verify-self { margin-top: 14px; }

/* ---- price history (proof-on-tap) ---- */
.spark { height: 64px; width: 100%; }
.histbox { margin-top: 16px; }
.hist-h { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.hist-h .hist-lo { color: var(--save-dk); font-weight: 700; }
.hist-leg { font-size: 11.5px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.hist-leg .leg-line { display: inline-block; width: 18px; border-top: 2px dashed var(--muted); }
.proof-expand { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.proof-expand > summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--navy); list-style: none; }
.proof-expand > summary::-webkit-details-marker { display: none; }
.proof-expand > summary::before { content: "▸ "; color: var(--gold-dk); }
.proof-expand[open] > summary::before { content: "▾ "; }

/* ---- pricing ---- */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; }
.tier { background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tier.feat { border: 2px solid var(--navy); box-shadow: var(--shadow); position: relative; }
.tier.feat::after { content: "Best value"; position: absolute; top: -13px; right: 18px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 4px; }
.tier h3 { font-family: var(--display); font-weight: 750; }
.tier .amt { font-family: var(--display); font-size: 38px; font-weight: 800; }
.tier ul { padding-left: 0; list-style: none; margin: 16px 0; flex: 1; }
.tier li { padding: 6px 0 6px 26px; position: relative; font-size: 15px; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--save-dk); font-weight: 800; }
.tier .btn { align-self: flex-start; }
.early-access { margin-top: 16px; padding: 14px 16px; background: var(--paper-2); border: 1.5px dashed var(--edge); border-radius: var(--radius-sm); }
.early-access .ea-head { margin: 0 0 6px; font-weight: 800; font-size: 14px; color: var(--navy); }
.early-access .ea-body { margin: 0 0 8px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.early-access .ea-risk { margin: 0; font-size: 12.5px; color: var(--muted); }

/* ---- footer — navy ledger ---- */
footer.site { background: var(--navy); color: #c3cedb; font-size: 13px; padding: 34px 0; margin-top: 40px; border-top: 2px solid var(--ink); }
footer.site a { color: #fff; }
footer.site .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
footer.site .disclo { max-width: 52rem; opacity: 0.9; line-height: 1.6; }
footer.site .aff-disclo { display: inline-block; margin: 6px 0; opacity: 0.95; }
footer.site .aff-disclo a { text-decoration: underline; white-space: nowrap; }

/* ---- a11y ---- */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.btn.ghost:focus-visible, .nav nav a.cta:focus-visible, footer.site a:focus-visible, #watchMain.watch-btn:focus-visible { outline-color: #fff; }
footer.site :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; font-weight: 700; text-decoration: none; }
.skip:focus { left: 0; }
.nav nav a.active { color: var(--navy); box-shadow: inset 0 -3px var(--navy); }
/* the navy CTA pill keeps white text when it's the active page (never navy-on-navy) */
.nav nav a.cta.active { color: #fff; box-shadow: none; outline: 2px solid var(--ink); outline-offset: 2px; }
.nav nav a:focus-visible { outline-offset: -2px; }
.vis-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .card:hover { transform: none; }
  .basket-expander summary::before { transition: none; }
}

/* ---- verify-yourself link + caveats ---- */
.verify-self { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--navy-bg); padding-bottom: 1px; margin: 8px 0 0; }
.verify-self:hover { border-bottom-color: var(--navy); }
.verify-self .ext { font-size: 13px; }
.verify-self.none { display: block; font-weight: 500; color: var(--muted); font-size: 13px; border: 0; }
.verify-caveat { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; max-width: 360px; }

/* ---- buy CTA + per-link affiliate micro-disclosure ---- */
.buy-cta { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 13px 22px; border-radius: 8px; font-weight: 800; font-size: 16px; text-decoration: none; }
.buy-cta.aff { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.buy-cta.aff:hover { background: var(--navy-2); }
.buy-cta.aff .ext { color: #c3cedb; }
.buy-cta.verify-self { display: inline-flex; background: none; padding: 0; border-bottom: 2px solid var(--navy-bg); border-radius: 0; font-weight: 700; }
.aff-micro { font-size: 12px; color: var(--muted); margin: 5px 0 0; font-weight: 600; }
.aff-micro::before { content: "ⓘ "; color: var(--gold-dk); }
#watchMain.watch-btn { position: static; background: var(--navy); color: #fff; border: 0; padding: 13px 22px; border-radius: 8px; font-size: 16px; box-shadow: var(--shadow-sm); }
#watchMain.watch-btn.on { background: var(--navy-2); }

/* ---- Basket Health Score chip (own metric — A..E band) ---- */
.health-chip { display: inline-flex; align-items: baseline; gap: 1px; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 4px; white-space: nowrap; border: 1px solid transparent; }
.health-chip .hc-max { font-size: 10px; font-weight: 600; opacity: 0.7; }
.health-chip.grade-a { background: #e6f4e6; color: #1b6b2e; border-color: #b9e0bd; }
.health-chip.grade-b { background: #eef5dd; color: #4d6b16; border-color: #d6e6ad; }
.health-chip.grade-c { background: #fcf3d6; color: #8a6300; border-color: #f0dca6; }
.health-chip.grade-d { background: #fde7d2; color: #9a4a10; border-color: #f6cba0; }
.health-chip.grade-e { background: #fbe0df; color: #7a1a14; border-color: #f3bcb9; }
.health-panel { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
.health-panel .hp-label { font-size: 13px; color: var(--ink-soft); }
.health-panel .hp-label a { color: var(--navy); font-weight: 700; white-space: nowrap; }

/* ---- alert form ---- */
.alertform { background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.fld input[type="email"], .fld input, .fld select { font: inherit; padding: 11px 12px; border: 1.5px solid var(--edge); border-radius: var(--radius-sm); background: #fff; width: 100%; min-width: 0; box-sizing: border-box; }
.fld legend { font-weight: 700; font-size: 14px; padding: 0; }
.bchks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.bchk { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 11px; cursor: pointer; }
.bchk input { width: 17px; height: 17px; accent-color: var(--navy); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); }
.formmsg { font-size: 14px; margin: 4px 0 0; font-weight: 600; }
.formmsg.ok { color: var(--save-dk); }
.formmsg.err { color: var(--wait); }
.btn-block { width: 100%; text-align: center; }
.basket-expander { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); padding: 0; }
.basket-expander summary { cursor: pointer; padding: 12px 14px; font-size: 14px; color: var(--ink-soft); font-weight: 600; list-style: none; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.basket-expander summary::-webkit-details-marker { display: none; }
.basket-expander summary::before { content: "\25B8"; color: var(--navy); font-weight: 800; transition: transform 0.12s ease; }
.basket-expander[open] summary::before { transform: rotate(90deg); }
.basket-expander .exp-cue { color: var(--navy); text-decoration: underline; font-weight: 700; }
.basket-expander[open] summary { border-bottom: 1px solid var(--line); }
.exp-hint { font-size: 13px; color: var(--muted); margin: 12px 14px 0; }
.basket-expander .bchks { padding: 0 14px 14px; margin-top: 8px; }
.cta-reassure { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 10px 0 0; }
.cta-proof { font-size: 13px; color: var(--save-dk); text-align: center; margin: 6px 0 0; font-weight: 600; }
.cta-proof strong { font-weight: 800; }

/* ---- misc chrome ---- */
.basket-strip { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.basket-strip .chip { text-decoration: none; }
.dealhead { margin-bottom: 14px; }
.sub-meta { color: var(--muted); font-size: 14px; }
.legal h3 { margin: 22px 0 6px; font-size: 18px; font-family: var(--display); font-weight: 750; }
.legal ul { padding-left: 20px; }
.legal li { margin: 5px 0; color: var(--ink-soft); }

/* ---- community tabs (CSS-only) ---- */
.ctabs input[name="ctab"] { position: absolute; opacity: 0; pointer-events: none; }
.ctab-bar { display: flex; gap: 6px; border-bottom: 2px solid var(--ink); margin: 18px 0 0; }
.ctab { padding: 10px 16px; font-weight: 800; font-size: 15px; color: var(--ink-soft); cursor: pointer; border-radius: var(--radius-sm) var(--radius-sm) 0 0; border: 2px solid transparent; border-bottom: 0; margin-bottom: -2px; font-family: var(--display); }
.ctab:hover { background: var(--navy-bg); }
.ctab-panel { display: none; }
#ctab-us:checked ~ .ctab-bar label[for="ctab-us"],
#ctab-you:checked ~ .ctab-bar label[for="ctab-you"] { color: var(--navy); border-color: var(--ink); border-bottom-color: var(--paper); background: var(--paper); }
#ctab-us:checked ~ #panel-us { display: block; }
#ctab-you:checked ~ #panel-you { display: block; }
#ctab-us:focus-visible ~ .ctab-bar label[for="ctab-us"],
#ctab-you:focus-visible ~ .ctab-bar label[for="ctab-you"] { outline: 3px solid var(--navy); outline-offset: -2px; }
.cuser { background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.cuser-h { font-weight: 700; font-size: 15px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cuser-m { margin: 6px 0; font-size: 15px; color: var(--ink-soft); }
.cuser-f { font-size: 12px; color: var(--muted); }
.cuser-badge { font-weight: 800; color: var(--gold-dk); }

/* ---- THE VERDICT signal (evidence layer — ruler-straight; gold confined to the catch) ---- */
.verdict { margin-top: 10px; }
.verdict-chip { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; letter-spacing: 0.01em; padding: 7px 13px; border-radius: 6px; line-height: 1.1; font-family: var(--display); }
.verdict-chip .vh-icon { font-size: 14px; line-height: 1; }
.verdict-chip.v-stockup { background: var(--navy); color: #fff; }
.verdict-chip.v-stockup .vh-icon { color: var(--gold); }          /* the single gold "catch" accent */
.verdict-chip.v-rare { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 2px var(--gold); }
.verdict-chip.v-rare .vh-icon { color: var(--gold); }
.verdict-chip.v-good { background: var(--save-bg); color: var(--save-dk); }
.verdict-chip.v-typical { background: var(--neutral-bg); color: var(--ink-soft); }
.verdict-chip.v-wait { background: var(--wait-bg); color: var(--wait); }
.verdict .dollarline { margin: 9px 0 0; font-size: 14.5px; color: var(--ink); }
.verdict .dollarline strong { color: var(--save-dk); }
.verdict .refrow { display: flex; gap: 18px; margin-top: 9px; flex-wrap: wrap; }
.verdict .ref { display: flex; flex-direction: column; }
.verdict .ref-k { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.01em; }
.verdict .ref-v { font-family: var(--display); font-weight: 750; font-size: 16px; color: var(--ink); }
.verdict .usage-line { margin: 9px 0 0; font-size: 13px; color: var(--ink-soft); background: var(--paper-2); border-radius: var(--radius-sm); padding: 8px 11px; }
.verdict .stamp { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); }
.verdict--lg { margin-top: 14px; }
.verdict--lg .verdict-chip { font-size: 16px; padding: 9px 16px; }
.verdict--lg .ref-v { font-size: 19px; }
.verdict--lg .dollarline { font-size: 16px; }
.card .verdict { margin-top: 8px; }
.vlegend { display: grid; gap: 10px; margin-top: 12px; }
.vleg-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.vleg-row .verdict-chip { flex: 0 0 auto; min-width: 172px; }
.vleg-t { font-size: 14px; color: var(--ink-soft); flex: 1; min-width: 220px; }

/* ---- cross-retailer VERSUS scoreboard (Wave 8 markup, Wave 9 skin) ---- */
.xboard { border-top: 1.5px solid var(--line); background: var(--paper); padding: 10px 14px 12px; margin: 8px 2px 0; }
.xb-head { display: flex; align-items: baseline; gap: 5px 7px; flex-wrap: wrap; font-size: 14.5px; line-height: 1.25; }
.xb-tick { font-weight: 800; color: var(--save-dk); }
.xb-of { font-weight: 800; color: var(--ink); }
.xb-win { font-weight: 800; }
.xb-delta { font-weight: 800; font-size: 12.5px; color: var(--paper); background: var(--navy); border-radius: 6px; padding: 1.5px 8px; white-space: nowrap; }
.xb-win.coles { color: var(--coles); }
.xb-win.woolworths { color: var(--woolworths); }
.xb-win.amazon_au { color: var(--amazon); }
.xb-win.harris_farm { color: var(--harris); }
.xb-winprice { font-weight: 800; color: var(--ink); }
.xb-winprice .ub { font-weight: 600; color: var(--muted); font-size: 0.86em; }
.xboard.is-here .xb-tick, .xboard.is-here .xb-of { color: var(--save-dk); }
.xboard.is-aff { background: var(--gold-bg); }
.xboard.is-aff .xb-tick { color: var(--gold-dk); }
.xboard.is-tie .xb-of, .xboard.is-solo .xb-of { color: var(--ink); }
.xb-sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 9px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.xb-row { white-space: nowrap; }
.xb-name { font-weight: 700; }
.xb-name.coles { color: var(--coles); }
.xb-name.woolworths { color: var(--woolworths); }
.xb-name.amazon_au { color: var(--amazon); }
.xb-name.harris_farm { color: var(--harris); }
.xb-here { font-weight: 600; color: var(--muted); font-size: 0.92em; }
.xb-rowprice { color: var(--ink); font-weight: 600; }
.xs-na { color: var(--muted); font-style: italic; font-weight: 500; }
.xb-dot { color: var(--line); }
.xb-cta { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.xb-buy { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; font-size: 13.5px; background: #ff9900; color: #111; border: 1.5px solid #111; border-radius: var(--radius-sm); padding: 8px 14px; white-space: nowrap; }
.xb-buy:hover { filter: brightness(0.96); }
.xb-aff { font-size: 11px; color: var(--muted); }
.xb-here-note { font-size: 12px; color: var(--save-dk); font-weight: 700; }

/* ---- responsive ---- */
@media (min-width: 801px) { .hero .btn.ghost { margin-left: 14px; } }
@media (max-width: 800px) {
  html { scroll-padding-top: 104px; } /* wrapped nav is taller on phones */
  .nav .wrap { height: auto; flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .nav nav { gap: 2px; flex-wrap: wrap; }
  .nav nav a { padding: 6px 9px; font-size: 13px; }
  .hero { padding: 40px 0 46px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero h1 { font-size: clamp(36px, 11vw, 46px); }
  .hero .btn { display: block; width: 100%; margin: 10px 0 0; text-align: center; }
  .hero .btn.ghost { width: auto; display: inline-block; border: 0; padding: 8px 0; margin-left: 0; }
  .docket-wrap { justify-self: stretch; max-width: 420px; margin: 0 auto; }
  .docket { transform: rotate(-0.6deg); }
  .steps, .tiers, .detail { grid-template-columns: 1fr; }
  .detail > div:last-child { order: -1; } /* price + verdict + trust before proof on mobile */
  .bchks { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .verdict .refrow { gap: 14px; } }

/* ---- spotter account ("My spots") + community credit chrome ---- */
.h3 { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; margin: 0 0 10px; }
.acct-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acct-id { font-size: 14px; color: var(--muted); font-weight: 600; }
.linklike { background: none; border: none; padding: 0; font: inherit; font-weight: 700; color: var(--navy); text-decoration: underline; cursor: pointer; }
.acct-credits { background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 16px 18px; margin-top: 14px; }
.acct-credits .c-num { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.acct-credits .c-word { font-weight: 700; color: var(--muted); font-size: 15px; }
.acct-credits .c-blurb { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.badge-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.badge-tile { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--paper-2); color: var(--muted); }
.badge-tile.earned { border-color: var(--gold-dk); background: var(--gold-bg); color: var(--ink); }
.badge-tile .b-label { font-weight: 800; font-size: 14px; }
.badge-tile .b-blurb { font-size: 12.5px; margin-top: 2px; }
.b-next { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.spot-row { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 10px; }
.spot-main { font-size: 15px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spot-meta { font-size: 13px; color: var(--muted); margin-top: 5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.status-chip { display: inline-block; font-weight: 800; font-size: 12px; padding: 2.5px 10px; border-radius: 999px; border: 1.5px solid; }
.status-chip.pending { color: var(--ink-soft); border-color: var(--line); background: var(--neutral-bg); }
.status-chip.verified { color: var(--save-dk); border-color: var(--save); background: var(--save-bg); }
.status-chip.rejected { color: var(--wait); border-color: var(--wait); background: var(--wait-bg); }
.chip-why { font-size: 12.5px; color: var(--muted); }

/* ---- basket builder (landing conversion module) — frame is brand-layer, result rows are
   evidence-layer: real names, ruled edges, no decoration ---- */
.builder { background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; margin-top: 18px; max-width: 480px; }
.builder .b-label { display: block; font-family: var(--display); font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.b-inputwrap { position: relative; }
.b-input { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--edge); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
.b-input:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.b-results { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--radius-sm); box-shadow: var(--shadow); max-height: 300px; overflow-y: auto; }
.b-hit { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; background: none; border: none; border-bottom: 1px solid var(--line); padding: 8px 12px; cursor: pointer; }
.b-hittext { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.b-thumb { width: 34px; height: 34px; flex: none; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
span.b-thumb.ph { display: inline-block; background: repeating-linear-gradient(-45deg, var(--paper), var(--paper) 5px, var(--paper-2) 5px, var(--paper-2) 10px); }
.b-chip .b-thumb { border-radius: 3px; }
.b-hit:last-child { border-bottom: none; }
.b-hit:hover, .b-hit:focus { background: var(--navy-bg); }
.b-hitname { font-weight: 700; font-size: 14.5px; }
.b-hitmeta { font-size: 12.5px; color: var(--muted); }
.b-none { padding: 10px 12px; font-size: 13.5px; color: var(--muted); }
.b-picked { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.b-picked:empty { margin-top: 0; }
.b-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--paper-2); border: 1.5px solid var(--edge); border-radius: var(--radius-sm); padding: 5px 8px 5px 10px; font-size: 13.5px; font-weight: 700; }
.b-chip-x { background: none; border: none; font: inherit; font-weight: 800; font-size: 15px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 2px; }
.b-chip-x:hover { color: var(--wait); }
.b-actrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.b-count { font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.b-emailstep { margin-top: 14px; border-top: 1.5px dashed var(--line); padding-top: 14px; }
.b-emailhead { font-weight: 800; margin: 0 0 10px; font-size: 15px; }
.b-done { margin-top: 14px; }
.gold-nudge { border: 1.5px solid var(--edge); border-radius: var(--radius-sm); background: var(--paper-2); padding: 12px 14px; margin-top: 12px; font-size: 14px; }
.gold-nudge p { margin: 6px 0 10px; color: var(--ink-soft); }

/* ---- Gold page: pitch is brand-layer; the price panel is a ruled evidence module ---- */
.gold-points { list-style: none; padding: 0; margin: 16px 0 20px; }
.gold-points li { padding: 5px 0; font-size: 15.5px; }
.price-panel { background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); padding: 14px 16px; margin-bottom: 20px; }
.pp-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0; }
.pp-row + .pp-row { border-top: 1px solid var(--line); }
.pp-k { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.pp-v { font-family: var(--display); font-weight: 800; font-size: 28px; font-variant-numeric: tabular-nums; }
.pp-row.founding .pp-v { color: var(--gold-dk); }
.pp-per { font-size: 14px; color: var(--muted); font-weight: 700; }
.pp-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.founding-chip { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: var(--gold-dk); background: var(--gold-bg); border: 1.5px solid var(--gold-dk); border-radius: 4px; padding: 1.5px 7px; margin-right: 6px; }

/* ---- account: saved basket + plan ---- */
.plan-chip { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 800; padding: 2.5px 10px; border-radius: 999px; border: 1.5px solid var(--edge); background: var(--paper-2); color: var(--ink-soft); margin-left: 8px; font-variant-numeric: tabular-nums; }
.plan-chip.gold-plan { color: var(--gold-dk); background: var(--gold-bg); border-color: var(--gold-dk); }
.bk-list { list-style: none; padding: 0; margin: 12px 0 0; }
.bk-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 8px; }
.bk-name { font-weight: 700; font-size: 14.5px; }
.bk-remove { font-size: 13px; color: var(--muted); }
.bk-plan { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }

/* ---- snack (cap nudge) — state change, not decoration: fade only ---- */
.snack { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50; background: var(--navy); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 11px 16px; opacity: 0; pointer-events: none; transition: opacity 0.15s ease; max-width: min(92vw, 480px); text-align: center; }
.snack.show { opacity: 1; pointer-events: auto; }
.snack a { color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; }
