/* HMR Used Marketplace: theme tokens + components.
   Visual identity lives HERE (skill rule: every restyle is a token change
   or one component change). HMR brand system per prefill §12 (owner-verified
   palette + GeneratePress Customizer fonts); the skill's large-type card
   sizing rules govern card components, these fonts skin them. */

/* Fallback faces with the web fonts' measurements (DECISIONS #117; skill
   pitfall 108). While Open Sans, Fira Sans and Hind download from Google
   Fonts, text shows in a local font. Unadjusted, Arial runs 4 to 8% narrower
   than Open Sans and wider than Hind, so lines re-wrap and the page jumps when
   the web fonts land: measured 2026-11-08 with the fonts blocked and loaded,
   the grid moved 107px and the price guide 158px on a 390px phone, the guide
   45px on desktop. Each face gives the local font the web font's width
   (size-adjust) and its ascent and descent, so the swap changes nothing but
   the letter shapes; browsers without these descriptors ignore them. Values
   from the skill's tools/font-fallback-metrics.mjs run against this site's
   real text (Liberation Sans shares Arial's metrics exactly); re-run it if a
   font or a weight changes. Only the weights the pages load are listed. The
   400 width is the grid's fit (104.45%; the guide's text fits 103.94%), so a
   line sitting right at a wrap can still move below the fold (the guide's
   reference table: its auto layout flips four range cells, 86px at 390px, a
   per-cell face measured the same); the page heads and the first screens
   do not. */
@font-face {
  font-family: "Open Sans Fallback";
  font-weight: 400;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans-Regular"), local("Arimo");
  size-adjust: 104.45%; ascent-override: 102.44%; descent-override: 27.76%; line-gap-override: 0%;
}
@font-face {
  font-family: "Open Sans Fallback";
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arimo Bold");
  size-adjust: 100.58%; ascent-override: 106.38%; descent-override: 28.83%; line-gap-override: 0%;
}
@font-face {
  font-family: "Open Sans Fallback";
  font-weight: 700;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arimo Bold");
  size-adjust: 104.12%; ascent-override: 102.77%; descent-override: 27.85%; line-gap-override: 0%;
}
@font-face {
  font-family: "Open Sans Fallback";
  font-weight: 800;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arimo Bold");
  size-adjust: 107.73%; ascent-override: 99.32%; descent-override: 26.92%; line-gap-override: 0%;
}
@font-face {
  font-family: "Fira Sans Fallback";
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arimo Bold");
  size-adjust: 94.78%; ascent-override: 99.18%; descent-override: 28.49%; line-gap-override: 0%;
}
@font-face {
  font-family: "Fira Sans Fallback";
  font-weight: 800;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arimo Bold");
  size-adjust: 94.97%; ascent-override: 98.98%; descent-override: 28.43%; line-gap-override: 0%;
}
@font-face {
  font-family: "Hind Fallback";
  font-weight: 300;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans-Regular"), local("Arimo");
  size-adjust: 94.43%; ascent-override: 112.25%; descent-override: 58.24%; line-gap-override: 0%;
}
@font-face {
  font-family: "Hind Fallback";
  font-weight: 400;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans-Regular"), local("Arimo");
  size-adjust: 96.03%; ascent-override: 110.38%; descent-override: 57.27%; line-gap-override: 0%;
}
@font-face {
  font-family: "Hind Fallback";
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arimo Bold");
  size-adjust: 92.59%; ascent-override: 114.48%; descent-override: 59.40%; line-gap-override: 0%;
}

:root {
  /* HMR core palette (owner-verified hexes) */
  --umb-bg: #ffffff;             /* white page background, per the live site */
  --umb-surface: #ffffff;
  --umb-border: #e2e8f0;
  --umb-accent: #1F5673;         /* blue sapphire: primary buttons, strong UI */
  --umb-accent-ink: #ffffff;
  --umb-link: #00AEEF;           /* brand cyan: links + large accents ONLY (contrast rule) */
  --umb-link-hover: #E0218E;     /* magenta hover, owner-verified */
  --umb-heading: #212D40;        /* Yankees blue: footer band, darkest UI */
  --umb-heading-soft: #6EC1E4;   /* light blue: large text on white only */
  --umb-callout: #FE938C;        /* tulip salmon: draw-attention accents, callout borders */
  --umb-coral: #ff7f72;          /* the main site's tile coral (badge borders, glows) */
  --umb-title: #184455;          /* the main site's hero-heading color */
  --umb-h2-blue: #2a6f97;        /* the main site's section-heading blue */
  --umb-ink-1: #212D40;          /* headings, prices */
  --umb-ink-2: #333B47;          /* body (dark slate) */
  --umb-ink-3: #64748b;
  --umb-ink-4: #94a3b8;

  /* Semantic pill families: NOT brand-skinnable (skill rule) */
  --umb-good: #059669;
  --umb-good-mid: #10b981;
  --umb-warn: #d97706;
  --umb-hot:  #ea580c;
  --umb-bad:  #dc2626;
  --umb-save: #be185d;           /* save-heart family, never shares warning orange */

  /* Type (HMR fonts; card sizes stay large-type per skill §7) */
  --umb-font: "Open Sans", "Open Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --umb-font-h1: "Fira Sans", "Fira Sans Fallback", var(--umb-font);
  --umb-font-h2: "Hind", "Hind Fallback", var(--umb-font);
  --umb-fs-body: 17px;
  --umb-fs-title: 1.05rem;
  --umb-fs-price: 1.5rem;
  --umb-fs-meta: 0.9rem;

  /* Shape & depth (owner round 8 radius scale: 11px buttons, 16px cards,
     999px chips - mixed radii read as sloppy) */
  --umb-radius: 16px;
  --umb-radius-btn: 11px;
  --umb-radius-pill: 999px;
  --umb-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
  --umb-shadow-hover: 0 12px 26px rgb(13 38 55 / 0.12);
  /* Monospace data-label stack (owner round 8: "data instrument" labels;
     sizes stay >=0.75rem for the 45-70 audience) */
  --umb-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* Rhythm */
  --umb-gap: 20px;
  --umb-pad: 16px;
  --umb-ease: 150ms ease;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { -webkit-text-size-adjust: 100%; }
/* Our own focus/tap affordance everywhere (the native tap flash ignored
   corner radii - owner round 4); outlines follow border-radius. */
button:focus-visible, a:focus-visible, summary:focus-visible, [role="button"]:focus-visible,
select:focus-visible, input:focus-visible {
  outline: 2px solid var(--umb-link); outline-offset: 2px; }
/* Smooth in-page jumps (chips, TOC); instant under reduced motion. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Back to top moves keyboard focus to the main landmark (#124): no ring around the whole page. */
main[tabindex="-1"]:focus { outline: none; }
body {
  margin: 0; background: var(--umb-bg); color: var(--umb-ink-2);
  font-family: var(--umb-font); font-size: var(--umb-fs-body); line-height: 1.5;
  /* Full-bleed bands use the 50vw margin trick; clip the scrollbar-width
     sliver so the page never scrolls horizontally. */
  overflow-x: clip;
}
a { color: var(--umb-link); text-decoration: none; }
a:hover { color: var(--umb-link-hover); }
/* Title system taken from the main site's own CSS (owner round 3):
   .hero-heading = Fira Sans 600 in #184455; .main-title 4rem there reads
   too big per owner, so ~40px here; .pre-title ratio preserved. */
h1 { font-family: var(--umb-font-h1); font-weight: 800; font-size: 40px; line-height: 1.15;
     margin: 0 0 8px; color: var(--umb-title); }
/* The subtitle and the "Since 2018" chip left the page heads on 2026-10-20
   (owner, DECISIONS #101): the title, the paragraph and the updated line.
   The tile block keeps its natural height (the 199px placeholder matches
   the market tiles): a reserved 256px left white space under the paragraph
   (owner, 2026-10-23, #103), so a single model's captions are kept to two
   lines in app.js instead and the head never grows when the figures land
   (the skill's layout-shift check). */
.page-head .intro > h1 { margin-bottom: 14px; }
h2 { font-family: var(--umb-font-h2); font-weight: 600; font-size: 28px; line-height: 1.2;
     margin: 0 0 16px; color: var(--umb-heading); }
/* Section headings in the main site's style: blue with the short coral bar
   (owner round 10 reverted the dark-card look; the alternating section
   bands carry the differentiation now). */
.h2-bar { color: var(--umb-h2-blue); }
.h2-bar::after { content: ""; display: block; width: 56px; height: 3px;
     background: var(--umb-callout); border-radius: 2px; margin-top: .3rem; }
h3 { font-family: var(--umb-font-h2); font-weight: 400; font-size: 20px; line-height: 1.2;
     margin: 0 0 20px; color: var(--umb-heading); }
img { max-width: 100%; }
button { font-family: inherit; }
/* Skip link (polish P5): off-screen until a keyboard user tabs to it. */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff;
  color: var(--umb-heading); font-weight: 700; padding: 10px 14px; border-radius: 0 0 8px 0;
  box-shadow: 0 4px 14px rgb(13 38 55 / 0.18); }
.skip-link:focus { left: 0; color: var(--umb-heading); }
/* Icon buttons draw their glyph centered with an explicit size: Safari 18
   and earlier give every <button> align-items: flex-start, which moved or
   hid icons that relied on stretching (skill pitfall 57, 76). */
.drawer-close, .saved-row .rm, .rail-close, .burger, .media-nav, .btn-save, .to-top {
  align-items: center; justify-content: center; font-family: inherit; line-height: 1; padding: 0; }
.drawer-close, .saved-row .rm { display: inline-flex; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top strip + header (matches the site's .site-top-notice) ---------- */
/* Left-aligned with the content column, as on the main site (owner, 2026-10-20, #101). */
.top-strip { background: #f4f6f8; color: #333; font-size: 0.82rem; text-align: left; padding: 6px max(20px, calc(50vw - 620px)); line-height: 1.4; }
.top-strip a { color: inherit; text-decoration: underline; }
.top-strip a:hover { color: inherit; text-decoration: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--umb-border); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.site-header .logo img { width: 270px; height: auto; display: block; } /* the main site's 270px logo (#101) */
@media (max-width: 600px) { .site-header .logo img { width: 210px; } }
.site-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; margin-left: auto; }
.site-nav a { color: var(--umb-heading); font-weight: 600; font-size: 0.95rem; padding: 6px 2px; }
.site-nav a:hover { color: var(--umb-link-hover); }
.site-nav a[aria-current="page"] { color: var(--umb-link); border-bottom: 2px solid var(--umb-link); }

/* ---------- Mock banner (REMOVED from view automatically at cutover) ---------- */
.mock-banner {
  background: #fff7f6; border: 1px solid var(--umb-callout); border-left-width: 6px;
  border-radius: 8px; padding: 10px 14px; margin: 16px 0; font-size: 0.95rem; color: var(--umb-ink-2);
}

/* ---------- Page head + stat tiles ---------- */
.page-head { display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: start; margin: 20px 0 6px; }
.page-head .intro p { margin: 0 0 8px; }
.updated-line { color: var(--umb-ink-3); font-size: 0.9rem; }
.updated-line .upd-age { font-weight: 700; } /* "Updated within the hour" in bold (owner, 2026-10-19, #97) */
/* Unscoped on purpose: the dot renders in the intro line AND the stat tile
   (a .updated-line scope left the tile's copy an unstyled span whose pulse
   glow flashed as a rectangle, owner-reported). */
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--umb-good-mid); margin-right: 5px; vertical-align: baseline; flex: none; }
.live-dot.pulse { animation: umbPulse 2s infinite; }
@keyframes umbPulse { 0% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0.45); } 70% { box-shadow: 0 0 0 7px rgb(16 185 129 / 0); } 100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot.pulse, .stale-badge { animation: none !important; } }
.stale .updated-line { color: var(--umb-warn); }
/* Caption placeholder while the data loads: a grey bar the width of the usual
   text and a grey dot, so the line does not rewrap when the age lands. */
.updated-line .upd-age.ph { color: transparent; background: #e9eef3; border-radius: 4px; }
/* The placeholder holds the width of the usual fresh text from the stylesheet,
   so no freshness claim sits in the page text before a script has checked it
   (licence 8.1(c); DECISIONS #42). */
.updated-line .upd-age.ph::before { content: "Updated within the hour"; }
.updated-line .live-dot.ph { background: #dfe6ec; }

/* Tinted tiles (owner round 8: the tinted block reads well against the
   white page and separates the instrument panel from the copy).
   FIXED width on desktop (owner round 11): label/value lengths change as
   filters apply, and a content-sized block reflowed the whole hero. Values
   wrap inside the constant width instead. */
.stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: #d9e3ea; border: 1px solid #d9e3ea; border-radius: var(--umb-radius);
  overflow: hidden; box-shadow: 0 6px 18px rgb(13 38 55 / 0.06); }
@media (min-width: 901px) { .stat-tiles { width: 410px; } }
.stat-tile { background: #f2f7fa; padding: 12px 16px; border: 0; text-align: left; }
.stat-tile .lbl { display: block; font-family: var(--umb-mono); font-size: 0.75rem;
  letter-spacing: 0.07em; font-weight: 600; text-transform: uppercase; color: var(--umb-ink-3); }
/* Flex centering keeps the live dot vertically aligned with the number
   (owner-reported misalignment). */
.stat-tile .val { display: flex; align-items: center; font-family: var(--umb-font-h1);
  font-size: 1.55rem; font-weight: 800; color: var(--umb-ink-1);
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere; flex-wrap: wrap; }
.stat-tile .val.range { font-size: 1.2rem; min-height: 37px; } /* a $x to $y range on one line, the same line box as the other figures (#103) */
.stat-tile .sub { display: block; font-size: 0.78rem; color: var(--umb-ink-4); }
button.stat-tile { cursor: pointer; }
button.stat-tile:hover, button.stat-tile:focus-visible { box-shadow: inset 0 0 0 2px var(--umb-link); outline: none; }
button.stat-tile.active { box-shadow: inset 0 0 0 2px var(--umb-accent); }
/* Every corner tile carries its own radius so the inset hover/active ring
   follows the curve instead of getting clipped by the container's rounding
   (owner round 8: the highlight vanished at the rounded corner). */
.stat-tiles .stat-tile:nth-child(1) { border-top-left-radius: calc(var(--umb-radius) - 1px); }
.stat-tiles .stat-tile:nth-child(2) { border-top-right-radius: calc(var(--umb-radius) - 1px); }
.stat-tiles .stat-tile:nth-child(3) { border-bottom-left-radius: calc(var(--umb-radius) - 1px); }
.stat-tiles .stat-tile:nth-child(4) { border-bottom-right-radius: calc(var(--umb-radius) - 1px); }

.market-note { font-size: 0.85rem; color: var(--umb-ink-3); margin: 4px 0 14px; }

/* Loading placeholder for the figure tiles (skill pitfall 59): the empty box
   draws the tiled block at its finished height from the first paint, so the
   page does not jump when the figures land. Heights are the rendered block's
   at each width with the default view (measured 2026-10-06); the 410px
   desktop width is fixed already. When no figures will come (stale or error)
   app.js marks the box data-state="off" and it collapses. */
.stat-tiles:empty {
  position: relative; min-height: var(--tiles-h, 199px);
  background:
    linear-gradient(#d9e3ea, #d9e3ea) 50% 0 / 1px 100%,
    linear-gradient(#d9e3ea, #d9e3ea) 0 50% / 100% 1px,
    linear-gradient(#e3eaf0, #e3eaf0) 16px 14px / 30% 11px,
    linear-gradient(#e3eaf0, #e3eaf0) 16px 34px / 24% 24px,
    linear-gradient(#e3eaf0, #e3eaf0) calc(50% + 16px) 14px / 30% 11px,
    linear-gradient(#e3eaf0, #e3eaf0) calc(50% + 16px) 34px / 24% 24px,
    linear-gradient(#e3eaf0, #e3eaf0) 16px calc(50% + 14px) / 30% 11px,
    linear-gradient(#e3eaf0, #e3eaf0) 16px calc(50% + 34px) / 24% 24px,
    linear-gradient(#e3eaf0, #e3eaf0) calc(50% + 16px) calc(50% + 14px) / 30% 11px,
    linear-gradient(#e3eaf0, #e3eaf0) calc(50% + 16px) calc(50% + 34px) / 24% 24px,
    #f2f7fa;
  background-repeat: no-repeat; }
.stat-tiles:empty::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.6), transparent);
  background-size: 200% 100%; animation: skShimmer 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .stat-tiles:empty::after { animation: none; } }
@media (max-width: 449.98px) { .stat-tiles { --tiles-h: 236px; } }
@media (max-width: 399.98px) { .stat-tiles { --tiles-h: 255px; } }
.stat-tiles[data-state="off"] { display: none; }

/* ---------- Quick filter row ---------- */
.quick-row { display: flex; gap: 10px; align-items: center; margin: 4px 0 18px;
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.quick-row::-webkit-scrollbar { display: none; }
.quick-row .funnel { flex: none; color: var(--umb-ink-3); display: inline-flex; }
/* Before the chips arrive the empty row holds one chip row's height, so the
   listings do not move down when they land (skill pitfall 60). */
#quickRow:empty { min-height: 37px; }
.data-off #quickRow:empty { display: none; }
/* Desktop: the chips wrap onto a second line instead of running off the
   page ("Ending soon" was cut off at 1200px, owner 2026-10-07; the skill's
   desktop rule). Phones: one swipeable row with the skill's "Swipe to see
   quick filters" hint and arrows under it. */
@media (min-width: 901px) {
  .quick-row { flex-wrap: wrap; overflow-x: visible; row-gap: 10px; align-content: flex-start; }
}
/* With live counts the seven chips need two lines at every desktop width
   (the page stops growing at 1280px): the row holds both lines from
   the first paint, so the listings do not move when the chips land (skill
   pitfall 60; measured by the layout-shift check). A short day that fits
   one line leaves a little space under the chips instead of a jump. The
   :empty selector is listed too: the 37px rule above outranks a bare id. */
@media (min-width: 901px) {
  #quickRow, #quickRow:empty { min-height: 84px; }
}
.quick-hint { display: none; }
@media (max-width: 900px) {
  .quick-hint { display: flex; align-items: center; justify-content: center; gap: 12px;
    margin: -10px 0 14px; font-size: 0.85rem; color: var(--umb-ink-3); }
  .data-off .quick-hint { display: none; }
  /* Explicit size and centering: Safari's button defaults would otherwise
     resize the arrows and move everything under them (pitfall 57). */
  .qh-arrow { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid #d8dfe6;
    background: #fff; color: var(--umb-accent); font: 700 19px/1 var(--umb-font);
    padding: 0 0 2px; margin: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .qh-arrow:hover { border-color: var(--umb-accent); }
}
@media (max-width: 900px) and (scripting: none) {
  .quick-hint { display: none; }
}
/* Tactile chips (owner round 8: buttons should read as physical keys):
   soft vertical gradient + inset top highlight, petrol gradient when on. */
.quick-chip { flex: none; display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid #d8dfe6; background: linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%);
  color: var(--umb-ink-2); border-radius: var(--umb-radius-pill); padding: 8px 14px;
  font-size: 0.9rem; cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(13 38 55 / 0.07); }
.quick-chip:hover { border-color: var(--umb-accent); }
.quick-chip.active { background: linear-gradient(180deg, #276a8d 0%, #1F5673 85%);
  border-color: #1F5673; color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 1px 2px rgb(13 38 55 / 0.15); }
.quick-chip:disabled { opacity: 0.45; cursor: default; }
/* "Lowest priced" wears the good-green at rest (skill v8, the sibling site's
   option C); pressed it turns petrol like every chip, and with a zero count
   it stays muted (DECISIONS #36). */
.quick-chip[data-key="deals"]:not(.active):not(:disabled) { background: linear-gradient(180deg, #f3fbf7 0%, #e7f6f0 100%);
  border-color: rgb(5 150 105 / 0.45); color: var(--umb-good); }
.quick-chip[data-key="deals"]:not(.active):not(:disabled):hover { border-color: var(--umb-good); }
.quick-chip .cnt { font-variant-numeric: tabular-nums; color: inherit; opacity: 0.75; }
/* Colored chip icons (owner round 9); white when the chip is active. */
.quick-chip .qico { display: inline-flex; }
.qico-deals { color: var(--umb-good); }
.qico-comp-complete { color: var(--umb-good); }
.qico-bin { color: var(--umb-h2-blue); }
.qico-auc { color: var(--umb-warn); }
.qico-fresh { color: var(--umb-hot); }
.qico-us { color: #1F5673; }
.qico-ending { color: var(--umb-warn); }
.quick-chip.active .qico { color: #fff; }

/* ---------- Layout: sidebar + grid ---------- */
.layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .page-head { grid-template-columns: 1fr; }
  .stat-tiles { min-width: 0; }
}
/* One-column head (phones and tablets): the live figures come right after the
   title block and their freshness caption, before the intro paragraph (owner,
   2026-10-07; the v8 skill's phone head order). The copy wrapper dissolves
   (display: contents) so its children and the figures are siblings the grid
   can order; the DOM, and so the reading order and the page text for search
   engines, stay unchanged. Margins replace the row gap so the spacing matches
   the stacked layout (caption to figures 24px as before). */
@media (max-width: 900px) {
  .page-head.head-figures { row-gap: 0; }
  .head-figures > .intro { display: contents; }
  .head-figures > .intro > * { order: 3; }
  .head-figures > .intro > h1 { order: 0; }
  .head-figures > .intro > .crumbs { order: 0; } /* a model page's breadcrumb stays first (#79) */
  .head-figures > .intro > .updated-line { order: 1; }
  .head-figures > .stat-tiles { order: 2; margin-top: 16px; }
  .head-figures > .intro > p:not(.updated-line) { margin-top: 16px; }
}
/* Tablets (owner, 2026-11-18, DECISIONS #126): between 700 and 900px the
   intro paragraph and the live figures sit side by side under a full-width
   title, breadcrumb and updated line, instead of stacked. The one-column
   order above still applies; a dense two-column grid lets the paragraph
   (order 3) take the free left cell beside the figures (order 2). Phones
   stay stacked, desktop keeps its own head. */
@media (min-width: 700px) and (max-width: 900px) {
  .page-head.head-figures { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; grid-auto-flow: row dense; }
  .head-figures > .intro > h1,
  .head-figures > .intro > .crumbs,
  .head-figures > .intro > .updated-line { grid-column: 1 / -1; }
  .head-figures > .intro > p:not(.updated-line) { grid-column: 1; }
  .head-figures > .stat-tiles { grid-column: 2; min-height: var(--tiles-h, 199px); }
}
/* The figures' drawn height in that half-width column (measured 2026-11-18 on
   the grid and all 20 model pages with the live feed): the first paint
   reserves it and the drawn tiles never shrink below it, so neither the
   paragraph's row nor the page below it jumps when the figures arrive. */
@media (min-width: 700px) and (max-width: 767.98px) { .head-figures > .stat-tiles { --tiles-h: 254px; } }
@media (min-width: 768px) and (max-width: 829.98px) { .head-figures > .stat-tiles { --tiles-h: 236px; } }
@media (min-width: 830px) and (max-width: 859.98px) { .head-figures > .stat-tiles { --tiles-h: 218px; } }

/* Rail header: names the rail "Filters" and stays pinned at the top of the
   rail's own scroll while the groups scroll beneath it (owner round 2). */
.rail-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 9px;
  background: var(--umb-bg); padding: 2px 2px 10px; margin-bottom: 10px;
  border-bottom: 2px solid var(--umb-border); }
.rail-head b { font-family: var(--umb-font-h1); font-weight: 700; font-size: 1.1rem; color: var(--umb-heading); }
.rail-head .ico { color: var(--umb-accent); display: inline-flex; }
.rail-head .reset-link { margin-left: auto; }
.sheet-foot { display: none; } /* phones only: the sheet's Reset all + Show N results (DECISIONS #92) */
.rail-close { display: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--umb-border);
  background: #fff; color: var(--umb-ink-3); cursor: pointer; font-size: 16px; flex: none; }

/* Sticky only in the two-column layout: in a single column the sticky
   sidebar rides down over the cards while scrolling (caught by screenshot;
   the override must live AFTER any base .sidebar rule in the cascade).
   The rail scrolls ITSELF when taller than the viewport (owner-reported:
   the bottom of the filters was unreachable without scrolling the whole
   page to its end). */
@media (min-width: 901px) {
  /* Tinted rail panel (owner round 8): differentiates the filters from the
     listing stream on the white page. */
  .sidebar {
    position: sticky; top: 12px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    /* overflow-y: auto turns the other axis to auto too, and iPhone Safari
       rubber-bands such a panel sideways with nothing to scroll (skill
       pitfall 77, DECISIONS #60); the desktop rail keeps passing the wheel
       on to the page at its ends. */
    overflow-x: hidden; overscroll-behavior-x: none;
    background: #f2f6f9;
    border: 1px solid #e1e8ee;
    border-radius: var(--umb-radius);
    /* No top padding: the sticky rail head starts at the content edge and
       nothing can scroll into a strip above it (owner, 2026-10-17: the
       boxes peeked over the Filters title when the rail was scrolled). */
    padding: 0 4px 6px 12px;
    scrollbar-width: thin;
    scrollbar-color: #c3ccd6 transparent;
    /* The 8px scrollbar's room is kept even with nothing to scroll, so
       opening a filter group never narrows the rail and rewraps its labels
       (owner screenshots, 2026-10-07); the smaller right padding pays for it. */
    scrollbar-gutter: stable;
    transition: top 220ms ease;
  }
  /* When the scroll-up header slides in it would cover the rail head;
     shift the sticky rail below it (owner round 10). */
  body.m-hdr-shown .sidebar { top: calc(var(--hdr-h, 64px) + 12px);
    max-height: calc(100vh - var(--hdr-h, 64px) - 24px); }
  .sidebar::-webkit-scrollbar { width: 8px; }
  .sidebar::-webkit-scrollbar-thumb { background: #c3ccd6; border-radius: 4px; }
  .rail-head { background: #f2f6f9; margin: 0 -4px 10px -12px; padding: 12px 14px 10px 14px; }
  .editorial-box { background: #fff; }
}

/* Mobile (owner round 2, marketplace-app pattern): filters live in a
   slide-up sheet opened from a fixed bottom action bar; the saved-listings
   button rides the same bar instead of a floating FAB. */
.mbar { display: none; }
.sheet-backdrop { position: fixed; inset: 0; background: rgb(15 23 42 / 0.45); z-index: 58; }
@media (max-width: 900px) {
  /* The bar's full height, top border included: 10px + the 52px buttons +
     10px + 1px. Everything placed against the bar uses --mbar-space, that
     height plus the iPhone home-indicator inset the bar's own padding adds,
     so the page padding, the Saved panel, the compare bar and back to top
     move with it (skill pitfall 80, DECISIONS #60). */
  :root { --mbar-h: 73px; --mbar-space: calc(var(--mbar-h) + env(safe-area-inset-bottom, 0px)); }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 10px;
    background: #fff; border-top: 1px solid var(--umb-border); padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 14px rgb(0 0 0 / 0.08); }
  .mbar button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: var(--umb-radius-btn); padding: 13px 10px; min-height: 52px;
    font-size: 1rem; font-weight: 700; cursor: pointer; }
  .mbar .mbar-filters { background: linear-gradient(180deg, #2a6f97 0%, #1F5673 100%); color: #fff;
    border: 1px solid rgb(255 255 255 / 0.25); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35); }
  /* Secondary key: white, hairline, faint inset, no shadow. */
  .mbar .mbar-saved { background: #fff; color: var(--umb-heading); border: 1px solid var(--umb-border);
    box-shadow: inset 0 1px 0 #fff; }
  body { padding-bottom: calc(var(--mbar-space) + 3px); } /* room for the bar */

  /* Closed, the sheet is hidden, not only moved off screen, so the keyboard
     never lands on filters nobody can see (DECISIONS #60); visibility waits
     for the slide to finish. Open, it holds still sideways and keeps a
     fling inside the sheet (skill pitfall 77). */
  .sidebar { position: fixed; left: 0; right: 0; bottom: 0; top: 10%; z-index: 59;
    background: var(--umb-bg); border-radius: 16px 16px 0 0; padding: 0 16px 0;
    display: flex; flex-direction: column; /* the footer sits at the bottom even when the groups are short (#92) */
    overflow-y: auto; overflow-x: hidden; overscroll-behavior-x: none; overscroll-behavior-y: contain;
    transform: translateY(105%); visibility: hidden;
    transition: transform 220ms ease, visibility 0s linear 220ms;
    box-shadow: 0 -8px 30px rgb(0 0 0 / 0.25); }
  .sidebar.open { transform: none; visibility: visible; transition: transform 220ms ease; }
  /* Full-bleed sticky header inside the sheet: nothing can scroll above or
     beside it (owner round 4: filter text was peeking over the title). */
  .rail-head { margin: 0 -16px 12px; padding: 16px 16px 10px; border-radius: 16px 16px 0 0; }
  .rail-close { display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; } /* the X in the sheet's top-right corner, never beside the title (owner, 2026-10-19, #97) */
  /* Reset moves from the head (where it read as the close control) to a
     sticky footer with the Show button (owner, 2026-10-19, DECISIONS #92). */
  .rail-head .reset-link { display: none; }
  .sheet-foot { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: auto -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--umb-bg); border-top: 2px solid var(--umb-border); }
  .sidebar > * { flex: none; }
  .sidebar > .facet-box:first-of-type, .sidebar > .rail-head + .facet-box { margin-top: 0; }
  .sheet-foot .sheet-reset { margin: 0; font-size: 1rem; }
  .btn-show { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
    border-radius: var(--umb-radius-btn); font-size: 1rem; font-weight: 700; cursor: pointer; color: #fff;
    background: linear-gradient(180deg, #2a6f97 0%, #1F5673 100%);
    border: 1px solid rgb(255 255 255 / 0.25); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35); }
  body.sheet-open { overflow: hidden; }
}

/* ---------- Mobile header: scroll-up reveal + burger menu (nav.js) ---------- */
.burger { display: none; }
/* Dropdown menu below the header, matching the main site's toggled mobile
   nav (centered items, four-sided soft shadow) - owner round 6. */
.nav-panel { position: fixed; left: 0; right: 0; top: 64px; background: #fff; z-index: 62;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform 180ms ease, opacity 180ms ease, visibility 0s linear 180ms;
  box-shadow: 0 -4px 10px -4px rgb(0 0 0 / 0.15), 0 4px 10px -4px rgb(0 0 0 / 0.15),
    -4px 0 10px -4px rgb(0 0 0 / 0.15), 4px 0 10px -4px rgb(0 0 0 / 0.15),
    0 6px 15px -2px rgb(0 0 0 / 0.25);
  padding: 6px 0 16px; text-align: center; max-height: 80vh; overflow-y: auto;
  overflow-x: hidden; overscroll-behavior-x: none; overscroll-behavior-y: contain; }
.nav-panel.open { transform: none; opacity: 1; visibility: visible;
  transition: transform 180ms ease, opacity 180ms ease; }
.nav-panel a { display: block; padding: 13px 10px; font-weight: 600; font-size: 1.05rem;
  color: var(--umb-ink-2); }
.nav-panel a[aria-current="page"] { color: var(--umb-link); }
.nav-panel .np-note { font-size: 0.78rem; color: var(--umb-ink-4); margin: 10px 16px 0; }
.nav-backdrop { position: fixed; inset: 0; background: transparent; z-index: 61; }
/* Once scrolled, the header pops out of flow and slides in ONLY on
   scroll-up. All widths since owner round 8; frosted when revealed. */
.site-header.m-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 57;
  transform: translateY(-110%); transition: transform 220ms ease;
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.12);
  background: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(226 232 240 / 0.8); }
.site-header.m-fixed.m-shown { transform: none; }
body.m-hdr-pad { padding-top: var(--hdr-h, 64px); }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; border-radius: 8px; border: 0; background: var(--umb-accent);
    color: #fff; cursor: pointer; flex: none; }
}
.facet-box { border: 1px solid var(--umb-border); border-radius: var(--umb-radius); background: var(--umb-surface); padding: 14px 14px; margin-bottom: 16px; }
.facet-box h4 { margin: 0 0 10px; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--umb-ink-3); font-family: var(--umb-mono); font-weight: 600; }
.facet-brand { margin: 10px 0 4px; font-weight: 700; font-size: 0.9rem; color: var(--umb-heading); }
.facet-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 0.92rem; }
.facet-row input { accent-color: var(--umb-accent); width: 16px; height: 16px; }
.facet-row .cnt { margin-left: auto; color: var(--umb-ink-4); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.facet-row.zero { color: var(--umb-ink-4); }
.facet-row[hidden] { display: none; }
/* "Size not stated" on a tracked mat: amber like an unconfirmed set (#63) */
.pill.size-na { background: #fff4e2; color: #8a5a13; border: 1px dashed #e8c98f; }
.reset-link { background: none; border: 0; color: var(--umb-link); font-size: 0.88rem; cursor: pointer; padding: 2px 0; }
.reset-link:hover { color: var(--umb-link-hover); }

/* Editorial module (sanctioned placement: sidebar under filters) */
.editorial-box { border: 1px dashed var(--umb-border); border-radius: var(--umb-radius); padding: 14px 16px; font-size: 0.9rem; }
.editorial-box .eyebrow, .endcap .eyebrow { display: block; font-family: var(--umb-mono); font-size: 0.75rem; letter-spacing: 0.07em; font-weight: 600; text-transform: uppercase; color: var(--umb-ink-3); margin-bottom: 6px; }

/* Dual-handle price slider */
.slider-wrap { position: relative; height: 28px; margin: 8px 2px 2px; }
.slider-wrap input[type=range] { position: absolute; left: 0; right: 0; top: 8px; width: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: none; pointer-events: none; height: 14px; }
.slider-wrap input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 18px; height: 18px; border-radius: 50%; background: var(--umb-accent); border: 2px solid #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.3); cursor: pointer; }
.slider-wrap input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%;
  background: var(--umb-accent); border: 2px solid #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.3); cursor: pointer; }
.slider-track { position: absolute; top: 13px; left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--umb-border); }
.slider-fill { position: absolute; top: 13px; height: 4px; border-radius: 2px; background: var(--umb-accent); }
.slider-label { font-size: 0.9rem; color: var(--umb-ink-2); font-variant-numeric: tabular-nums; }

/* ---------- Toolbar ---------- */
/* Static HTML (count + Sort), so it holds its place from the first paint.
   Sort is styled into the chip family (polish P5): the same hairline pill,
   soft gradient and inset highlight as the quick chips, 16px text so an
   iPhone does not zoom in when it is tapped (skill pitfall 58). */
.toolbar { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; flex-wrap: wrap; min-height: 44px; }
.toolbar .count { font-weight: 700; color: var(--umb-ink-1); }
.sort-wrap { margin-left: auto; position: relative; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 38px 0 16px; border: 1px solid #d8dfe6; border-radius: var(--umb-radius-pill);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(13 38 55 / 0.07); cursor: pointer; }
.sort-wrap:hover { border-color: var(--umb-accent); }
.sort-wrap:focus-within { outline: 2px solid var(--umb-link); outline-offset: 2px; }
.sort-wrap::after { content: ""; position: absolute; right: 17px; top: 50%; width: 7px; height: 7px;
  border-right: 2.5px solid var(--umb-h2-blue); border-bottom: 2.5px solid var(--umb-h2-blue);
  transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sort-lbl { font-family: var(--umb-mono); font-size: 0.75rem; letter-spacing: 0.07em; font-weight: 600;
  text-transform: uppercase; color: var(--umb-ink-3); }
.sort-wrap select { -webkit-appearance: none; appearance: none; border: 0; background: transparent;
  color: var(--umb-ink-1); font: 600 16px/1.2 var(--umb-font); padding: 8px 0; margin: 0; cursor: pointer;
  border-radius: 0; max-width: 220px; }
.sort-wrap select:focus-visible { outline: none; }

/* ---------- Cards ---------- */
/* 272px minimum yields three cards across beside the rail on desktop
   (owner preference, matching the Bemer build) and two on mid widths. */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: var(--umb-gap); }
.card { background: var(--umb-surface); border: 1px solid #dfe5ea; border-radius: var(--umb-radius);
  overflow: hidden; box-shadow: var(--umb-shadow); display: flex; flex-direction: column;
  transition: box-shadow var(--umb-ease), transform var(--umb-ease); }
.card:hover { box-shadow: var(--umb-shadow-hover); transform: translateY(-4px); }
/* The other hover lifts stop under reduced motion in the block at the end of
   this file: their hover rules come later, and an earlier override loses
   (skill pitfall 85, DECISIONS #61). */
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

/* Hard 4:3 lock (pitfall 44): padding-top, NOT aspect-ratio */
.card-media { position: relative; padding-top: 75%; background: #eceff3; overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  transition: transform .45s ease; }
/* Photo strip (DECISIONS #115; skill pitfall 99): a listing's photos sit side
   by side in a strip that scrolls sideways with the finger and snaps one photo
   at a time (app.js mountGallery); no scrollbar, the dots and arrows show the
   place. Single-photo listings keep the plain image. Photos load as they come
   near, so one not yet loaded shows the empty well, never its alt text. */
.media-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.media-track::-webkit-scrollbar { display: none; }
.media-track:focus { outline: none; }
.card-media .media-track img, .cmp-media .media-track img { position: static; flex: 0 0 100%; width: 100%; height: 100%;
  scroll-snap-align: start; scroll-snap-stop: always; }
.media-track img:not([src]) { color: transparent; }
.card-media, .cmp-media { touch-action: manipulation; }
/* Subtle photo zoom while the card is hovered (polish P5); off under
   reduced motion. The 4:3 box clips it, so nothing outside moves. */
.card:hover .card-media img { transform: scale(1.03); }
/* In a photo strip the zoom moves to the track: a transform on the strip's
   images widens the scrollable area and shifts the snap points (a 4px-short
   snap on desktop, found by the skill's photo-strip check). */
.media-track { transition: transform .45s ease; }
.card:hover .card-media .media-track img { transform: none; }
.card:hover .card-media .media-track { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .card-media img, .media-track { transition: none; } .card:hover .card-media img, .card:hover .card-media .media-track { transform: none; } }
.model-pill { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgb(23 34 44 / 0.62);
  color: #fff; font-size: 0.9375rem; font-weight: 600; padding: 4px 12px; border-radius: var(--umb-radius-pill);
  max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Not analyzed yet (#51): a light outlined pill, not a model claim. */
.model-pill.pending { background: rgb(255 255 255 / 0.92); color: var(--umb-ink-3); border: 1px dashed #9fb0bf; }
.media-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px;
  border-radius: 50%; border: 0; background: rgb(23 34 44 / 0.62); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.media-nav.prev { left: 8px; } .media-nav.next { right: 8px; }
.media-nav:hover { background: rgb(23 34 44 / 0.8); }
.media-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; gap: 5px; justify-content: center; z-index: 2; }
.media-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / 0.55); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.18); }
.media-dots i.on { background: #fff; }

.card-body { padding: var(--umb-pad); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: var(--umb-fs-title); font-weight: 700; color: var(--umb-ink-1); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
/* The site's signature cyan tint signals the click-to-reveal. ONE rounded
   block behind the whole title (owner round 10): per-line inline
   highlighting fights the 2-line clamp box, so padding and corner rounding
   came out uneven; the block form gives even padding and four rounded
   corners, always. Negative margins pre-reserve the space so hover never
   shifts layout. Solid #b3e7fa = the brand cyan over white (no doubling). */
.card-title.has-orig { cursor: pointer; padding: 4px 9px; margin: -4px -9px;
  border-radius: 8px; transition: background var(--umb-ease); }
.card-title.has-orig:hover, .card-title.has-orig:focus-visible { background: #b3e7fa; }
.orig-title { font-size: 0.82rem; color: var(--umb-ink-3); background: #f6f8fa; border-radius: 6px; padding: 6px 8px; overflow-wrap: anywhere; }

.price-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price { font-size: var(--umb-fs-price); font-weight: 700; color: var(--umb-ink-1); font-variant-numeric: tabular-nums; }
.price-qual { font-size: 0.82rem; color: var(--umb-ink-3); margin-top: -6px; }

.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: var(--umb-radius-pill);
  padding: 3px 11px; font-size: 0.85rem; font-weight: 600; }
.pill.cond-good { background: rgb(5 150 105 / 0.1); color: var(--umb-good); margin-left: auto; }
.pill.cond-warn { background: rgb(217 119 6 / 0.1); color: var(--umb-warn); margin-left: auto; }
.pill.cond-hot { background: rgb(234 88 12 / 0.1); color: var(--umb-hot); margin-left: auto; }
.pill.fb-good { background: rgb(5 150 105 / 0.1); color: var(--umb-good); }
.pill.fb-warn { background: rgb(217 119 6 / 0.1); color: var(--umb-warn); }
.pill.fb-bad { background: rgb(220 38 38 / 0.1); color: var(--umb-bad); }

.meta { display: flex; flex-direction: column; gap: 5px; font-size: var(--umb-fs-meta); color: var(--umb-ink-3); }
.meta-row { display: flex; align-items: center; gap: 7px; }
.meta-row svg.flag { width: 19px; height: 13px; border-radius: 2px; flex: none; }
.meta-row .ico { color: var(--umb-ink-4); display: inline-flex; flex: none; }
details.included summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 7px; }
details.included summary::-webkit-details-marker { display: none; }
details.included summary .chev { width: 9px; height: 9px; border-right: 2.5px solid var(--umb-ink-3);
  border-bottom: 2.5px solid var(--umb-ink-3); transform: rotate(-45deg); transition: transform var(--umb-ease); margin-left: 2px; }
details.included[open] summary .chev { transform: rotate(45deg); }
details.included ul { margin: 6px 0 0 26px; padding: 0; }
details.included li { margin: 2px 0; }
/* After the standardized parts: the seller's own wording of the contents on
   one line (it is not counted as an item). */
details.included .included-also { list-style: none; margin: 7px 0 0 -18px; font-size: 0.82rem; color: var(--umb-ink-4); }
.meta .claimed { border-bottom: 1px dotted var(--umb-ink-4); cursor: help; }

.analysis { border: 1px solid #dbe7f0; background: #f4f9fc; border-radius: 8px; padding: 10px 12px; font-size: 0.9rem; }
.analysis .tag { display: block; font-family: var(--umb-mono); font-size: 0.75rem; letter-spacing: 0.06em; font-weight: 600; text-transform: uppercase; color: var(--umb-ink-3); margin-bottom: 5px; }
.analysis .rank { color: var(--umb-good); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.analysis .rank .info { cursor: help; color: var(--umb-ink-4); border-bottom: 1px dotted var(--umb-ink-4); font-weight: 400; }
.analysis .headsup { color: #8a5a13; background: #fff4e2; border-left: 3px solid var(--umb-warn);
  border-radius: 6px; padding: 7px 10px; margin-top: 7px; }
.analysis p { margin: 4px 0 0; }
.analysis .pending-note { color: var(--umb-ink-3); }
/* "Our summary": the AI sentence opens on demand, inside the labeled block,
   with the same chevron as the items row (skill v8 card). */
.analysis .ana-more { margin-top: 5px; }
.analysis .ana-more summary { display: inline-flex; align-items: center; gap: 7px; list-style: none;
  cursor: pointer; color: var(--umb-h2-blue); font-weight: 600; }
.analysis .ana-more summary::-webkit-details-marker { display: none; }
.analysis .ana-more summary .chev { width: 8px; height: 8px; border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); transition: transform var(--umb-ease); margin-left: 1px; }
.analysis .ana-more[open] summary .chev { transform: rotate(45deg); }
.analysis .ana-more p { margin: 6px 0 0; }

.cta-row { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
/* Tactile primary button, the "physical key" recipe (owner round 10):
   vertical gradient lighter-top to brand-bottom, 1px inset white top
   highlight, hairline translucent white border, NO outer glow, squarish
   radius, bold 700 label (800 read slightly too heavy at the owner's second
   look, 2026-10-19, DECISIONS #97), hover = one step brighter + 1px lift. */
.btn-view { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(180deg, #2a6f97 0%, #1F5673 100%); color: var(--umb-accent-ink);
  font-weight: 700; font-size: 0.95rem; border-radius: var(--umb-radius-btn);
  padding: 11px 14px; min-height: 48px;
  border: 1px solid rgb(255 255 255 / 0.25);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
  transition: background .2s ease, transform .2s ease; }
a.btn-view:hover { color: var(--umb-accent-ink); transform: translateY(-1px);
  background: linear-gradient(180deg, #3180ad 0%, #266386 100%); }
.btn-view svg { transition: transform .2s ease; }
a.btn-view:hover svg { transform: translateX(2px); }
.btn-view.disabled { background: #e6ebf0; color: var(--umb-ink-4); pointer-events: none;
  box-shadow: none; border: 0; }
.btn-save { width: 44px; height: 44px; border-radius: var(--umb-radius-btn); border: 1px solid var(--umb-border); background: #fff;
  color: var(--umb-ink-4); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.btn-save:hover { border-color: var(--umb-save); color: var(--umb-save); }
.btn-save.on { color: var(--umb-save); border-color: var(--umb-save); background: rgb(190 24 93 / 0.06); }

/* ---------- Stale / error / empty states ---------- */
.holding { border: 1px solid var(--umb-border); border-left: 6px solid var(--umb-warn); background: #fffdf5;
  border-radius: var(--umb-radius); padding: 20px; margin: 10px 0; }
/* Notices inside the card grid span the whole row, not one card column. */
.grid > .holding, .grid > .empty-state, .grid > noscript { grid-column: 1 / -1; }
.holding h3 { margin-top: 0; }
.empty-state { padding: 26px 8px; }
.closest { margin-top: 14px; }
/* Model pages (DECISIONS #120): three cards, then the way to the rest; and a
   plain "none listed right now" state for a model with no listings at all. */
.see-all { grid-column: 1 / -1; text-align: center; padding: 6px 8px 2px; }
.see-all p { margin: 0; color: var(--umb-ink-2); font-size: 1rem; }
.see-all .btn-mkt { display: inline-flex; width: auto; margin-top: 12px; padding: 12px 24px; font-size: 1.05rem; }
.model-empty { text-align: left; }
.model-empty h3 { margin: 0 0 8px; }
.model-empty p { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.55; color: var(--umb-ink-2); max-width: 62ch; }
.model-empty-links { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.model-empty-links .btn-mkt { display: inline-flex; width: auto; margin: 0; padding: 12px 22px; }
.model-empty-links .link-guide { font-weight: 700; }

/* ---------- Saved drawer ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; background: var(--umb-heading); color: #fff;
  border: 0; border-radius: var(--umb-radius-pill); padding: 13px 20px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; box-shadow: 0 4px 14px rgb(0 0 0 / 0.25); display: inline-flex; gap: 8px; align-items: center; }
/* Closed, the panel is hidden as well as moved aside, so the keyboard skips
   it (DECISIONS #60); visibility waits for the slide to finish. */
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(400px, 96vw); background: #fff; z-index: 50;
  box-shadow: -6px 0 24px rgb(0 0 0 / 0.18); transform: translateX(105%); visibility: hidden;
  transition: transform 200ms ease, visibility 0s linear 200ms;
  display: flex; flex-direction: column; }
.drawer.open { transform: none; visibility: visible; transition: transform 200ms ease; }
.drawer-head { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--umb-border); }
.drawer-head b { font-size: 1.05rem; color: var(--umb-ink-1); }
.drawer-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--umb-border);
  background: #fff; cursor: pointer; font-size: 16px; color: var(--umb-ink-3); }
.drawer-body { overflow-y: auto; overflow-x: hidden; overscroll-behavior-x: none; padding: 12px 16px;
  display: flex; flex-direction: column; gap: 10px; }
.drawer-note { font-size: 0.8rem; color: var(--umb-ink-4); padding: 0 16px 12px; }
/* Phones: the Saved panel sits above the scroll-up header and the floating
   chips, and ends at the bottom action bar, which stays usable. (Its phone
   z-index used to sit BEFORE the base rule above, so the base 50 won and the
   header, chips and bar drew over the panel: owner screenshot, 2026-10-07.)
   overscroll-behavior keeps a scroll inside the panel from scrolling the page.
   The floating Saved button hides here, AFTER its base rule above: placed
   before it, the hide lost and the button rendered under the bar and the
   compare bar on phones (found by the skill's phone-bar check, #60). */
@media (max-width: 900px) {
  .drawer { z-index: 63; bottom: var(--mbar-space); }
  .drawer-body { overscroll-behavior-y: contain; }
  .fab { display: none; } /* the bar's Saved replaces it */
}
.saved-row { display: flex; gap: 10px; border: 1px solid var(--umb-border); border-radius: 8px; padding: 8px; align-items: center; }
.saved-row img { width: 64px; height: 48px; object-fit: contain; background: #eceff3; border-radius: 6px; flex: none; }
.saved-row .inf { min-width: 0; font-size: 0.85rem; }
.saved-row .inf b { display: block; color: var(--umb-ink-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saved-row .rm { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--umb-border);
  background: #fff; color: var(--umb-ink-3); cursor: pointer; flex: none; }
.saved-row .cmp-check { accent-color: var(--umb-accent); width: 20px; height: 20px; margin: 0; flex: none; cursor: pointer; }
.cmp-bar { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.cmp-open { min-height: 48px; border-radius: var(--umb-radius-btn); border: 1px solid var(--umb-accent); background: #fff;
  color: var(--umb-accent); font: 800 0.95rem/1.2 var(--umb-font); cursor: pointer; padding: 10px 14px; }
.cmp-open:hover:not(:disabled) { background: rgb(31 86 115 / 0.06); }
.cmp-open:disabled { opacity: .5; cursor: not-allowed; }
.cmp-note { margin: 0; font-size: 0.85rem; color: var(--umb-ink-3); }

/* ---------- Compare (owner ask 2026-10-07, DECISIONS #50; the skill's design
   4a row, compare bar and side-by-side table) ---------- */
/* One line right under the card buttons: a real checkbox and its words. */
.cmp-pick { display: flex; align-items: center; gap: 9px; margin: -1px 0 -4px; padding: 4px 2px;
  font-size: 0.95rem; font-weight: 600; color: var(--umb-ink-3); cursor: pointer; user-select: none;
  -webkit-user-select: none; width: max-content; max-width: 100%; }
.cmp-pick input { accent-color: var(--umb-accent); width: 20px; height: 20px; margin: 0; flex: none; cursor: pointer; }
.cmp-pick:hover { color: var(--umb-accent); }
.cmp-pick.is-on { color: var(--umb-ink-1); }
.cmp-pick.is-full { color: var(--umb-ink-4); cursor: not-allowed; }
.cmp-pick.is-full input { cursor: not-allowed; opacity: .55; }

/* The compare bar: fixed at the bottom while anything is picked. */
.cmp-tray { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 45;
  width: min(1000px, calc(100vw - 36px)); display: flex; align-items: center; gap: 14px;
  padding: 12px 14px 12px 18px; background: var(--umb-heading); color: #fff;
  border-radius: var(--umb-radius); box-shadow: 0 10px 30px rgb(13 38 55 / 0.35); }
.cmp-tray[hidden] { display: none; }
.cmp-tray-x { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.45);
  background: transparent; color: #fff; font-size: 14px; line-height: 1; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; margin-right: -4px; }
.cmp-tray-x:hover { background: rgb(255 255 255 / 0.14); border-color: #fff; }
.cmp-tray-x:focus-visible { outline-color: #fff; }
.cmp-tray-head { display: flex; flex-direction: column; gap: 2px; flex: none; }
.cmp-tray-head b { font-size: 1.05rem; }
.cmp-tray-head span { font-size: 0.85rem; color: rgb(255 255 255 / 0.75); white-space: nowrap; }
.cmp-tray-slots { display: flex; gap: 10px; flex: 1; min-width: 0; }
.cmp-tray-chip { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 5px 6px 5px 5px;
  background: rgb(255 255 255 / 0.12); border-radius: var(--umb-radius-btn); }
.cmp-tray-chip img { width: 44px; height: 33px; object-fit: contain; background: #fff; border-radius: 6px; flex: none; }
.cmp-tray-label { display: flex; gap: 5px; min-width: 0; font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.cmp-tray-model { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cmp-tray-price { flex: none; }
.cmp-tray-model + .cmp-tray-price::before { content: "· "; }
.cmp-tray-rm { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 0; background: transparent;
  color: rgb(255 255 255 / 0.8); font-size: 14px; line-height: 1; cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; padding: 0; }
.cmp-tray-rm:hover { background: rgb(255 255 255 / 0.16); color: #fff; }
.cmp-tray-empty { display: flex; align-items: center; padding: 8px 14px; border: 1px dashed rgb(255 255 255 / 0.4);
  border-radius: var(--umb-radius-btn); color: rgb(255 255 255 / 0.75); font-size: 0.88rem; white-space: nowrap; }
.cmp-tray-go { flex: none; min-height: 46px; padding: 10px 22px; border-radius: var(--umb-radius-btn);
  border: 0; background: #fff; color: var(--umb-heading); font: 800 1rem/1 var(--umb-font); cursor: pointer;
  box-shadow: inset 0 -2px 0 rgb(13 38 55 / 0.12); }
.cmp-tray-go:hover:not(:disabled) { background: #e8f6fd; }
.cmp-tray-go:disabled { opacity: .45; cursor: not-allowed; }
.cmp-tray-go:focus-visible, .cmp-tray-rm:focus-visible { outline-color: #fff; }
body.has-tray { padding-bottom: calc(var(--tray-h, 70px) + 36px); }
body.has-tray .fab { bottom: calc(var(--tray-h, 70px) + 30px); }
@media (max-width: 900px) {
  /* Above the phone action bar (--mbar-space: its height plus the home-indicator inset). */
  .cmp-tray { left: 10px; right: 10px; width: auto; transform: none; flex-wrap: wrap; gap: 8px 10px;
    bottom: calc(var(--mbar-space) + 8px); padding: 10px 12px; }
  .cmp-tray-head { flex-direction: row; align-items: baseline; gap: 10px; flex: 1; min-width: 0; }
  .cmp-tray-go { order: 2; min-height: 44px; padding: 8px 18px; }
  .cmp-tray-slots { order: 3; flex-basis: 100%; gap: 8px; padding-top: 4px; }
  /* Phone chips: photo + price (owner: just the price was hard to tell
     apart), the remove button as a badge on the corner so it costs no width */
  .cmp-tray-chip { flex: 1 1 0; position: relative; gap: 7px; padding: 5px 8px 5px 5px; }
  .cmp-tray-chip img { width: 38px; height: 29px; }
  .cmp-tray-model { display: none; }
  .cmp-tray-model + .cmp-tray-price::before { content: none; }
  .cmp-tray-rm { position: absolute; top: -9px; right: -7px; width: 26px; height: 26px;
    background: #fff; color: var(--umb-heading); font-size: 12px; box-shadow: 0 1px 4px rgb(0 0 0 / 0.35); }
  .cmp-tray-rm:hover { background: #e8f6fd; color: var(--umb-heading); }
  .cmp-tray-empty { flex: 1 1 0; justify-content: center; padding: 8px 6px; font-size: 0.85rem; }
  body.has-tray { padding-bottom: calc(var(--mbar-space) + 3px + var(--tray-h, 120px) + 16px); }
  body.has-mbar.has-tray .to-top { bottom: calc(var(--mbar-space) + 16px + var(--tray-h, 120px)); }
}
@media (max-width: 359.98px) { .cmp-tray-chip img { width: 30px; height: 23px; } .cmp-tray-chip { gap: 5px; } }

/* The side-by-side table, a dialog over the page. */
.cmp-overlay { position: fixed; inset: 0; z-index: 90; background: rgb(15 23 42 / 0.55);
  display: flex; align-items: center; justify-content: center; padding: 16px; }
body.cmp-lock { overflow: hidden; }
.cmp-panel { position: relative; background: #fff; border-radius: var(--umb-radius); overflow: hidden;
  width: auto; max-width: min(1160px, 100%); min-width: min(640px, 100%); max-height: 92vh;
  display: flex; flex-direction: column; box-shadow: 0 24px 64px rgb(0 0 0 / 0.28); }
.cmp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none;
  padding: 14px 16px 14px 20px; background: var(--umb-heading); color: #fff; }
.cmp-head h2 { margin: 0; font-size: 1.35rem; color: #fff; }
.cmp-sub { margin: 2px 0 0; font-size: 0.9rem; color: rgb(255 255 255 / 0.75); }
.cmp-close { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.5);
  background: transparent; color: #fff; font-size: 17px; line-height: 1; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; }
.cmp-close:hover { background: rgb(255 255 255 / 0.14); border-color: #fff; }
.cmp-close:focus-visible { outline-color: #fff; }
.cmp-mixed { margin: 0; flex: none; padding: 9px 20px; font-size: 0.9rem; font-weight: 600; color: #8a5a13;
  background: #fff4e2; border-bottom: 1px solid #f3dfbd; }
/* overscroll-behavior-x stops iOS's rubber band from dragging the pinned
   label column (skill pitfall 62). */
.cmp-scroll { overflow: auto; overscroll-behavior-x: none; padding-bottom: 6px; }
.cmp-table { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.cmp-table td { padding: 11px 14px; border-bottom: 1px solid #edf1f4; vertical-align: top; text-align: left;
  font-size: 0.95rem; line-height: 1.45; color: var(--umb-ink-2); min-width: 200px; max-width: 290px; }
.cmp-table td.cmp-lbl { position: sticky; left: 0; z-index: 2; background: #fff; min-width: 112px; max-width: 132px;
  font-family: var(--umb-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--umb-ink-3); border-right: 1px solid var(--umb-border); box-shadow: 6px 0 8px -6px rgb(0 0 0 / 0.14); }
.cmp-table td.has-tip { cursor: help; text-decoration: underline dotted var(--umb-ink-4); text-underline-offset: 3px; }
.cmp-table .cmp-photo { padding-bottom: 4px; }
.cmp-media { position: relative; height: 170px; max-width: 270px; background: #eceff3; border-radius: 10px; overflow: hidden; }
.cmp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cmp-title { margin: 0; font-weight: 700; color: var(--umb-ink-1); line-height: 1.35; }
.cmp-title.has-orig { cursor: pointer; border-radius: 6px; padding: 2px 6px; margin: -2px -6px; transition: background var(--umb-ease); }
.cmp-title.has-orig:hover, .cmp-title.has-orig:focus-visible { background: #b3e7fa; }
.cmp-listing .orig-title { margin-top: 6px; }
.cmp-model { display: inline-block; background: var(--umb-heading); color: #fff; border-radius: 10px;
  padding: 5px 11px; font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.cmp-model.pending { background: #fff; color: var(--umb-ink-3); border: 1px dashed #9fb0bf; }
.cmp-price { font-size: 1.35rem; font-weight: 700; color: var(--umb-ink-1); font-variant-numeric: tabular-nums; }
.cmp-table .price-qual { margin-top: 2px; }
.cmp-table td.claimed { text-decoration: underline dotted var(--umb-ink-4); text-underline-offset: 3px; cursor: help; }
.cmp-table svg.flag { width: 19px; height: 13px; border-radius: 2px; vertical-align: -1px; margin-right: 7px; }
.cmp-sub-line { margin-top: 4px; font-size: 0.85rem; color: var(--umb-ink-3); }
.cmp-table td.cmp-yes { color: var(--umb-good); font-weight: 600; }
.cmp-table td.cmp-yes svg, .cmp-table td.cmp-maybe svg { vertical-align: -3px; }
.cmp-table td.cmp-no { color: var(--umb-ink-4); }
.cmp-table td.cmp-maybe { color: #b45309; }
.cmp-inc-td, .cmp-band-td, .cmp-inc-note td { padding: 0; max-width: none; }
.cmp-inc-td { background: #f6f8fa; }
.cmp-inc-btn { position: sticky; left: 0; display: flex; align-items: center; gap: 9px; width: max-content;
  background: none; border: 0; cursor: pointer; padding: 10px 14px; font-family: var(--umb-mono);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--umb-ink-2); }
.cmp-inc-btn:hover { color: var(--umb-accent); }
.cmp-inc-btn .chev { width: 8px; height: 8px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg); margin-top: -4px; transition: transform var(--umb-ease); }
.cmp-inc-btn[aria-expanded="false"] .chev { transform: rotate(-45deg); margin-top: 0; }
.cmp-inc-note td { padding: 8px 14px; font-size: 0.85rem; color: var(--umb-ink-3); }
.cmp-band-td { background: #f4f9fc; border-top: 2px solid var(--umb-accent); padding: 8px 14px; }
.cmp-band-td .tag { position: sticky; left: 14px; display: inline-block; font-family: var(--umb-mono); font-size: 0.75rem;
  letter-spacing: 0.06em; font-weight: 600; text-transform: uppercase; color: var(--umb-ink-3); }
.cmp-table td.cmp-ana { padding: 6px 8px; }
.cmp-ana-box { background: #f4f9fc; border: 1px solid #dbe7f0; border-radius: 8px; padding: 9px 11px; height: 100%; }
.cmp-ana-box.flag { color: #8a5a13; background: #fff4e2; border-color: #f3dfbd; border-left: 3px solid var(--umb-warn); }
.cmp-rank { color: var(--umb-good); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
/* The eBay buttons: a footer under the scroll area, each under its column. */
.cmp-footer { display: flex; flex: none; background: #fff; border-top: 1px solid var(--umb-border);
  box-shadow: 0 -8px 14px -10px rgb(0 0 0 / 0.3); position: relative; z-index: 5; }
.cmp-footer-spacer { flex: none; border-right: 1px solid var(--umb-border); }
.cmp-footer-clip { flex: 1; overflow: hidden; position: relative; padding: 10px 0; }
.cmp-footer-track { position: relative; height: 48px; will-change: transform; }
.cmp-footer-track .btn-view { position: absolute; top: 0; height: 48px; min-height: 0; }
.cmp-swipe-hint { position: absolute; left: 50%; bottom: 84px; z-index: 6; display: flex; align-items: center; gap: 6px;
  background: rgb(33 45 64 / 0.9); color: #fff; border-radius: var(--umb-radius-pill); padding: 9px 16px;
  font-size: 0.9rem; font-weight: 600; white-space: nowrap; pointer-events: none;
  transform: translateX(-50%); animation: cmpNudge 1.4s ease-in-out 3; transition: opacity .45s; }
.cmp-swipe-hint.hide { opacity: 0; }
@keyframes cmpNudge { 0%, 100% { transform: translateX(-50%); } 50% { transform: translateX(calc(-50% + 12px)); } }
@media (prefers-reduced-motion: reduce) { .cmp-swipe-hint { animation: none; } }
/* Phones: a pop-up over the dimmed page, not a full screen (owner,
   2026-10-07: the Bemer site's look) */
@media (max-width: 600px) {
  .cmp-overlay { padding: 12px 10px; }
  .cmp-panel { max-height: 88vh; max-height: 88dvh; min-width: 0; width: 100%; }
  .cmp-head { padding: 12px 12px 12px 16px; }
  .cmp-head h2 { font-size: 1.2rem; }
}
/* Phones: the next column always peeks into view, so the table reads as
   scrollable even after the hint is gone. */
@media (max-width: 480px) {
  .cmp-table td { min-width: 160px; max-width: 200px; padding: 10px 11px; }
  .cmp-table td.cmp-lbl { min-width: 92px; max-width: 104px; }
  .cmp-media { height: 130px; }
  .cmp-footer-track .btn-view { font-size: 0.9rem; padding: 0 6px; }
  .cmp-footer-track .btn-view svg { display: none; }
}

/* ---------- End-cap strip (sanctioned placement, after the last card) ----------
   Upgraded card + the coral "key" CTA (owner round 11). The eyebrow keeps
   the required our-editorial labeling. */
.endcap { grid-column: 1 / -1; border: 1px solid #e2e8f0; border-top: 3px solid var(--umb-coral);
  border-radius: var(--umb-radius); padding: 24px 20px 26px; text-align: center;
  background: #fff; box-shadow: 0 4px 14px rgb(13 38 55 / 0.05); }
.endcap p { margin: 8px 0 14px; font-size: 1.05rem; color: var(--umb-ink-1); font-weight: 600; }
.btn-cta { display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #ff9d92 0%, #ff7f72 100%);
  color: #fff; font-weight: 700; font-size: 1rem; border-radius: var(--umb-radius-btn);
  padding: 12px 20px; min-height: 48px;
  border: 1px solid rgb(255 255 255 / 0.35);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4);
  transition: background .2s ease, transform .2s ease; }
.btn-cta:hover { color: #fff; transform: translateY(-1px);
  background: linear-gradient(180deg, #ffaba1 0%, #ff8d81 100%); }
.btn-cta .arr { transition: transform .2s ease; }
.btn-cta:hover .arr { transform: translateX(2px); }

/* ---------- "About this data" (polish P2): what is tracked, how fresh,
   what is left out, what the numbers mean. Tinted like the stat tiles. ---------- */
.about-data { max-width: 1100px; margin: 44px auto; } /* room below it before the closing band (owner, 2026-10-19, #97) */
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0;
  background: #d9e3ea; border: 1px solid #d9e3ea; border-radius: var(--umb-radius); overflow: hidden;
  box-shadow: 0 6px 18px rgb(13 38 55 / 0.06); }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
.about-item { background: #f2f7fa; padding: 16px 20px 18px; }
.about-item dt { font-family: var(--umb-mono); font-size: 0.75rem; letter-spacing: 0.07em; font-weight: 600;
  text-transform: uppercase; color: var(--umb-ink-3); margin: 0 0 6px; }
.about-item dd { margin: 0; font-size: 0.95rem; color: var(--umb-ink-2); line-height: 1.55; }

/* ---------- FAQ (matches the main site's accordion) ---------- */
.faq { max-width: 850px; margin: 42px auto; }
.faq h2 { text-align: center; color: var(--umb-heading-soft); font-weight: 600;
  font-size: 2.2rem; margin-bottom: 20px; }
.faq details { border: 0; border-radius: 0; padding: 0; margin: 0; background: none;
  border-top: 1px solid #eceff3; }
.faq details:last-of-type { border-bottom: 1px solid #eceff3; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  list-style: none; padding: 17px 10px; font-weight: 700; font-size: 1.08rem;
  color: var(--umb-ink-1); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--umb-h2-blue); }
.faq summary::after { content: ""; width: 9px; height: 9px; flex: none; margin-right: 6px;
  border-right: 2.5px solid var(--umb-ink-1); border-bottom: 2.5px solid var(--umb-ink-1);
  transform: rotate(45deg); transition: transform var(--umb-ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { background: #f7f8fa; border-radius: 8px; padding: 16px 18px;
  margin: 0 10px 16px; color: #545e75; }

/* ---------- Price guide ---------- */
/* Brand headings in the main site's section-heading style (blue + coral
   bar; owner round 10 reverted the dark-card experiment). */
.guide-brand-head { margin: 36px 0 4px; font-size: 34px; color: var(--umb-h2-blue); }
.guide-brand-head::after { content: ""; display: block; width: 56px; height: 3px;
  background: var(--umb-callout); border-radius: 2px; margin-top: .3rem; }
/* Subheading treatment matching the brand heading (owner round 8: dark
   blue, italic, a touch more weight, so it reads as a subhead, not text). */
.brand-sub { color: var(--umb-h2-blue); font-family: var(--umb-font-h2); font-style: italic;
  font-weight: 600; font-size: 1.08rem; margin: 10px 0 18px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--umb-gap); }
.gcard { position: relative; background: var(--umb-surface); border: 1px solid #dfe5ea;
  border-radius: var(--umb-radius); padding: var(--umb-pad); box-shadow: var(--umb-shadow);
  display: flex; flex-direction: column;
  transition: box-shadow var(--umb-ease), transform var(--umb-ease); }
.gcard:hover { box-shadow: var(--umb-shadow-hover); transform: translateY(-4px); }
/* Small product-range thumbnail, top right (owner round 11; sample art
   until real images land). Heading block reserves clearance for it. */
.gcard .gthumb { position: absolute; top: 14px; right: 14px; width: 58px; height: 44px;
  object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0; background: #eceff3; }
.gcard .subhead, .gcard h3 { padding-right: 70px; }
.gcard .subhead { font-family: var(--umb-mono); font-size: 0.75rem; letter-spacing: 0.06em;
  font-weight: 600; text-transform: uppercase; color: var(--umb-ink-3); }
.gcard h3 { margin: 2px 0 4px; font-weight: 600; }
.gcard .dual { font-size: 0.85rem; color: var(--umb-ink-3); margin: 0 0 10px; }
.gstats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 10px 0; }
.gstat .lbl { display: block; font-family: var(--umb-mono); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--umb-ink-3); }
.gstat .val { font-size: 1.2rem; font-weight: 700; color: var(--umb-ink-1); font-variant-numeric: tabular-nums; }
.gstat .val.up { color: var(--umb-good); } .gstat .val.down { color: var(--umb-hot); }
.rangebar { position: relative; height: 6px; border-radius: 3px; background: var(--umb-border); margin: 12px 4px 22px; }
.rangebar .fill { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--umb-heading-soft); }
.rangebar .tick { position: absolute; top: -4px; width: 2px; height: 14px; background: var(--umb-accent); }
.rangebar .minl, .rangebar .maxl { position: absolute; top: 10px; font-size: 0.75rem; color: var(--umb-ink-4); }
.rangebar .maxl { right: 0; }
.chart-wrap { position: relative; outline: none; }
.chart-wrap:focus-visible { box-shadow: 0 0 0 2px var(--umb-link); border-radius: 6px; }
.chart-wrap svg { display: block; width: 100%; height: auto; }
.chart-tip { position: absolute; transform: translate(-50%, 0); background: var(--umb-heading); color: #fff;
  border-radius: 6px; padding: 6px 9px; font-size: 0.78rem; pointer-events: none; white-space: nowrap; display: none; z-index: 3; }
.chart-empty { color: var(--umb-ink-4); font-size: 0.9rem; padding: 18px 0; }
.gcard .src { font-size: 0.75rem; color: var(--umb-ink-4); margin-top: 8px; }
.gcard details.monthly { margin-top: 8px; font-size: 0.85rem; }
.gcard details.monthly summary { cursor: pointer; color: var(--umb-link); }
.gcard details.monthly table { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.gcard details.monthly th, .gcard details.monthly td { text-align: right; padding: 4px 6px; border-bottom: 1px solid var(--umb-border); }
.gcard details.monthly th:first-child, .gcard details.monthly td:first-child { text-align: left; }
.gcard details.faqlet { margin-top: 8px; font-size: 0.85rem; }
.gcard details.faqlet summary { cursor: pointer; color: var(--umb-link); }

/* (Round 2: the heavier Hind 600 headings became the global h2 style.) */

.ref-table-wrap { overflow-x: auto; }
.ref-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 8px 0 4px; }
.ref-table th { background: var(--umb-accent); color: #fff; text-align: left; padding: 9px 12px; font-size: 0.85rem; }
.ref-table td { padding: 8px 12px; border-bottom: 1px solid var(--umb-border); font-size: 0.9rem; }
.ref-note { font-size: 0.8rem; color: var(--umb-ink-4); margin-bottom: 20px; }

/* ---------- Skeleton loading (owner polish round) ---------- */
.sk { background: linear-gradient(90deg, #eef1f5 25%, #f6f8fb 50%, #eef1f5 75%);
  background-size: 200% 100%; animation: skShimmer 1.2s linear infinite; border-radius: 6px; }
@keyframes skShimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
.sk-card { background: var(--umb-surface); border: 1px solid var(--umb-border);
  border-radius: var(--umb-radius); overflow: hidden; box-shadow: var(--umb-shadow); }
.sk-card .sk-media { padding-top: 75%; border-radius: 0; }
.sk-card .sk-body { padding: var(--umb-pad); display: flex; flex-direction: column; gap: 12px; }
.sk-line { height: 14px; }
.sk-line.tall { height: 26px; }
.sk-w40 { width: 40%; } .sk-w60 { width: 60%; } .sk-w80 { width: 80%; } .sk-w100 { width: 100%; }

/* ---------- Back to top (every width since DECISIONS #97; phones only before) ----------
   Past 600px of scroll. Phones: above the action bar (and the compare bar).
   Desktop: above the Saved button while the page has one (app.js sets
   body.has-fab with it), and above the compare bar with it. */
.to-top { display: none; position: fixed; right: 14px; bottom: 18px; z-index: 56;
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--umb-heading);
  color: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / 0.3); cursor: pointer;
  align-items: center; justify-content: center; }
.to-top.show { display: flex; }
@media (min-width: 901px) {
  .to-top { right: 18px; }
  body.has-fab .to-top { bottom: 82px; }
  body.has-fab.has-tray .to-top { bottom: calc(var(--tray-h, 70px) + 94px); }
}
@media (max-width: 900px) {
  body.has-mbar .to-top { bottom: calc(var(--mbar-space) + 15px); }
}

/* ---------- Guide brand jump-chips (the site's category-button style) ----------
   Label centered + italic with flanking rules (owner round 8); the whole
   section sits in its own tinted full-bleed band with breathing room
   (owner round 9). */
.jump-band { margin: 36px calc(50% - 50vw); padding: 30px max(20px, calc(50vw - 620px)) 34px;
  background: #f2f6f9; border-top: 1px solid #e1e8ee; border-bottom: 1px solid #e1e8ee; }
.jump-label { display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--umb-font-h2); font-style: italic; font-weight: 600; font-size: 1.05rem;
  color: var(--umb-h2-blue); margin: 0 0 14px; text-align: center; }
.jump-label::before, .jump-label::after { content: ""; height: 1px; width: 56px;
  background: #cfdae2; flex: none; }
.jump-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.jump-chip { display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #2a6f97 0%, #1F5673 100%);
  color: #fff; font-weight: 700; font-size: 0.95rem; border-radius: var(--umb-radius-btn); padding: 10px 16px;
  border: 1px solid rgb(255 255 255 / 0.25);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
  transition: background .2s ease, transform .2s ease; }
.jump-chip:hover { color: #fff; transform: translateY(-1px);
  background: linear-gradient(180deg, #3180ad 0%, #266386 100%); }
.guide-brand-head, .h2-bar { scroll-margin-top: 84px; }

/* ---------- Sticky "On this page" TOC (guide; owner round 9, styled after
   the main site's collapsible sticky TOC). Hidden until the quick-links
   band scrolls past; desktop only. ---------- */
.toc-box { position: fixed; right: 18px; top: 86px; z-index: 45; width: 252px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  box-shadow: 0 10px 30px rgb(13 38 55 / 0.16); padding: 12px 16px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms; }
body.past-jump .toc-box { opacity: 1; visibility: visible; transform: none;
  transition: opacity 200ms ease, transform 200ms ease; }
@media (max-width: 1000px) { .toc-box { display: none; } }
.toc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; background: none; border: 0; padding: 2px 0; cursor: pointer;
  color: var(--umb-ink-1); }
.toc-head em { font-family: var(--umb-font-h2); font-weight: 700; font-size: 1.08rem; }
.toc-head .tchev { color: var(--umb-ink-3); transition: transform var(--umb-ease); }
.toc-box.open .toc-head .tchev { transform: rotate(180deg); }
.toc-list { display: none; margin: 8px 0 4px; padding-left: 20px; }
.toc-box.open .toc-list { display: block; }
.toc-list li { margin: 7px 0; }
.toc-list li::marker { color: var(--umb-link); }
.toc-list a { color: var(--umb-link); font-size: 0.95rem; line-height: 1.35; }
.toc-list a:hover { color: var(--umb-link-hover); }
.toc-list a.cur { font-weight: 700; color: var(--umb-h2-blue); }

/* ---------- Guide brand bands: alternating full-bleed sections cut the
   long page into readable chapters (owner round 8) ---------- */
.brand-band { margin: 0 calc(50% - 50vw); padding: 6px max(20px, calc(50vw - 620px)) 34px; }
.brand-band.alt { background: #f4f7f9; border-top: 1px solid #e7ecf0; border-bottom: 1px solid #e7ecf0; }
.brand-band .guide-brand-head { margin-top: 28px; }
.brand-band.alt .gcard { border-color: #d9e1e8; }

/* Per-model CTA into the marketplace, pre-filtered (owner round 8).
   Pinned to the card bottom so a row of cards shows an even button line. */
.gcard details.faqlet { margin-bottom: 6px; }
.gcard .btn-mkt { margin-top: auto; }
.btn-mkt { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px;
  background: linear-gradient(180deg, #2a6f97 0%, #1F5673 100%); color: #fff; font-weight: 700;
  font-size: 0.95rem; border-radius: var(--umb-radius-btn); padding: 11px 14px; min-height: 48px;
  border: 1px solid rgb(255 255 255 / 0.25);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
  transition: background .2s ease, transform .2s ease; }
.btn-mkt:hover { color: #fff; transform: translateY(-1px);
  background: linear-gradient(180deg, #3180ad 0%, #266386 100%); }
.btn-mkt .arr { transition: transform .2s ease; }
.btn-mkt:hover .arr { transform: translateX(2px); }

/* ---------- Brand groups inside the Brand & Model facet (owner round 6):
   the brand row IS a filter (checkbox) and expands to its models. ---------- */
/* 268px rail, 14px box padding and 5px gaps: "Healthy Wave /" fits its
   first line next to a three-digit count with room for a scrollbar and
   wider Mac fonts, so the label wraps in two lines, never three (live data
   and owner screenshots, 2026-10-07). */
.brand-group > summary { list-style: none; display: flex; align-items: center; gap: 5px;
  padding: 5px 0; cursor: pointer; font-weight: 700; font-size: 0.95rem; color: var(--umb-heading); }
.brand-group > summary .bname { flex: 1; min-width: 0; }
.brand-group > summary::-webkit-details-marker { display: none; }
.brand-group > summary input { accent-color: var(--umb-accent); width: 16px; height: 16px; flex: none; }
.brand-group > summary .cnt { margin-left: auto; color: var(--umb-ink-4); font-size: 0.82rem;
  font-variant-numeric: tabular-nums; }
/* Circled chevron: the small bare caret was easy to miss (owner round 7).
   Flex-centered glyph with a small optical lift (owner round 10: the
   hand-positioned offsets sat visibly off-center). */
.brand-group > summary .bchev { display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: none;
  border-radius: 50%; background: rgb(42 111 151 / 0.12);
  transition: transform var(--umb-ease), background var(--umb-ease); }
.brand-group > summary .bchev::before { content: ""; width: 7px; height: 7px;
  border-right: 3px solid var(--umb-h2-blue); border-bottom: 3px solid var(--umb-h2-blue);
  transform: rotate(45deg); margin-top: -3px; }
.brand-group > summary:hover .bchev { background: rgb(42 111 151 / 0.22); }
.brand-group[open] > summary .bchev { transform: rotate(-180deg); }
.brand-group .brand-models { padding-left: 24px; }
.brand-group.zero > summary { color: var(--umb-ink-4); }
/* "Other <brand> items" closes each brand's list (#54): set apart by a rule. */
.brand-models .other-row { border-top: 1px dashed #dbe3ea; margin-top: 3px; padding-top: 7px; }
/* "Other brands" and "Not sorted yet" are single rows: nothing to open. The
   chevron's width is kept so the counts line up with the other brands. */
.brand-group.solo > summary::after { content: ""; width: 26px; flex: none; }
.brand-group[data-brand="Not sorted yet"] > summary { font-weight: 600; color: var(--umb-ink-3); }

/* ---------- Collapsible filter groups (option B, desktop + sheet) ---------- */
.facet-box > details > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap;
  align-items: center; gap: 6px 8px; position: relative; min-height: 26px; padding-right: 34px; }
.facet-box > details > summary::-webkit-details-marker { display: none; }
.facet-box > details > summary h4 { margin: 0; white-space: nowrap; }
/* The chevron is pinned to the title's line (absolute, the summary keeps its
   room), so an active-filter badge can wrap under the title without taking
   the chevron with it (#97). */
.facet-box .fchev { position: absolute; right: 0; top: 0; display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%; background: rgb(42 111 151 / 0.12);
  transition: transform var(--umb-ease), background var(--umb-ease); }
.facet-box .fchev::before { content: ""; width: 7px; height: 7px;
  border-right: 3px solid var(--umb-h2-blue); border-bottom: 3px solid var(--umb-h2-blue);
  transform: rotate(45deg); margin-top: -3px; }
.facet-box > details > summary:hover .fchev { background: rgb(42 111 151 / 0.22); }
.facet-box details[open] > summary .fchev { transform: rotate(-180deg); }
.facet-box details[open] > summary { margin-bottom: 10px; }
/* Active-filter badge on a group's title ("2 selected", or the price range):
   a folded group never hides a filter that is on (owner, 2026-10-19,
   DECISIONS #97). Shown only while the group is folded: an open group shows
   its ticks, and a badge appearing on a tick moved the rows under the
   pointer (owner, 2026-10-20, #98). Beside the title where it fits (the
   phone and tablet sheet, most desktop groups); in the 268px desktop rail a
   filler item pushes it to the chevron's side, and a badge that does not fit
   (a price range) wraps under the title, so it never truncates. */
.facet-box .fsel { display: inline-block; max-width: 100%; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; vertical-align: middle;
  font-family: var(--umb-font); font-size: 0.78rem; font-weight: 700; letter-spacing: 0;
  text-transform: none; line-height: 1.4; color: #fff; background: var(--umb-h2-blue);
  border-radius: 999px; padding: 2px 9px; }
.facet-box .fsel[hidden] { display: none; }
.facet-box > details[open] > summary .fsel { display: none; } /* an open group shows its ticks instead (#98) */
@media (min-width: 901px) {
  .facet-box > details.fon > summary::after { content: ""; flex: 1 0 0; height: 0; order: 1; } /* the filler */
  .facet-box .fsel { order: 2; }
}

/* ---------- Floating quick-chip row (rides the mobile header reveal) ----------
   Shows ONLY once the in-page row has scrolled past (body.past-quickrow from
   app.js) AND the header is revealed; visibility:hidden guards the resting
   state (a transform alone let the row peek at page load - owner round 6). */
.qfloat { display: none; }
@media (max-width: 900px) {
  .qfloat { display: flex; position: fixed; top: var(--hdr-h, 64px); left: 0; right: 0;
    z-index: 56; background: #fff; margin: 0; padding: 9px 12px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.08);
    transform: translateY(-180%); visibility: hidden;
    transition: transform 220ms ease, visibility 0s linear 220ms; }
  body.m-hdr-shown.past-quickrow .qfloat { transform: none; visibility: visible;
    transition: transform 220ms ease; }
}

/* ---------- "How this tracker works" band (owner round 8): full-bleed
   grey strip with three white step cards ---------- */
.steps-band { margin: 44px calc(50% - 50vw) 0; padding: 40px max(20px, calc(50vw - 560px)) 46px;
  background: #f4f7f9; border-top: 1px solid #e7ecf0; border-bottom: 1px solid #e7ecf0; }
.steps-eyebrow { display: block; font-family: var(--umb-mono); font-size: 0.78rem;
  letter-spacing: 0.08em; font-weight: 600; text-transform: uppercase; color: var(--umb-ink-3);
  text-align: center; margin-bottom: 24px; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .steps-row { grid-template-columns: 1fr; gap: 16px; } }
.pstep { background: #fff; border: 1px solid #e1e8ee; border-radius: var(--umb-radius);
  box-shadow: 0 4px 14px rgb(13 38 55 / 0.05); padding: 22px 22px 20px; }
.pstep-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pstep .pnum { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(180deg, #2c3b52 0%, var(--umb-heading) 80%);
  color: #fff; font-family: var(--umb-font-h1); font-weight: 800; font-size: 1.25rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 2px 6px rgb(13 38 55 / 0.18); }
.pstep b { font-family: var(--umb-font-h2); font-weight: 600; font-size: 1.25rem; color: var(--umb-heading); }
/* Step icons (owner round 9): visual metaphor per step in a tinted square. */
.pstep-ico { display: inline-flex; align-items: center; justify-content: center; flex: none;
  margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  background: #e8f4fb; color: var(--umb-h2-blue); }
.pstep .ptick { display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--umb-coral); margin: 0 0 10px; }
.pstep p { margin: 0; font-size: 0.95rem; color: var(--umb-ink-3); line-height: 1.5; }

/* ---------- Full-bleed petrol CTA band with its own faint white grid +
   glass cards (owner round 8: the approved piece), flush into the footer */
.cta-band { color: #e8eef4; padding: 52px 20px 56px;
  background:
    radial-gradient(700px 380px at 12% 0%, rgb(0 174 239 / 0.14), transparent 60%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 44px),
    linear-gradient(135deg, #1f5673 0%, #17435c 100%);
}
.cta-band-inner { max-width: 1160px; margin: 0 auto; display: grid;
  grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .cta-band-inner { grid-template-columns: 1fr; gap: 30px; } }
.cta-band-inner.one-col { grid-template-columns: 1fr; max-width: 720px; text-align: center;
  justify-items: center; }
.cta-eyebrow { display: block; font-family: var(--umb-mono); font-size: 0.78rem;
  letter-spacing: 0.08em; font-weight: 600; text-transform: uppercase; color: #9fd8f0;
  margin-bottom: 8px; }
.cta-band h2 { font-family: var(--umb-font-h1); font-weight: 800; color: #fff;
  font-size: 34px; line-height: 1.15; margin: 0 0 10px; }
.cta-sub { margin: 0 0 24px; color: #cfdde8; font-size: 1.02rem; }
/* On dark bands: the plain white key with dark text (recipe rule). */
.btn-band { display: inline-flex; align-items: center; gap: 10px; background: #fff;
  color: #17435c; font-weight: 700; font-size: 1rem; border-radius: var(--umb-radius-btn);
  padding: 13px 20px; min-height: 52px; border: 1px solid rgb(255 255 255 / 0.6);
  box-shadow: inset 0 1px 0 #ffffff;
  transition: background .2s ease, transform .2s ease; }
.btn-band:hover { color: #17435c; background: #f2f7fa; transform: translateY(-1px); }
.btn-band .arr { transition: transform .2s ease; }
.btn-band:hover .arr { transform: translateX(2px); }
/* Tool-demo window cards on the dark bands (owner round 9): a white
   "report" card with window dots + an overlapping stat card, previewing
   what the linked page does. */
.demo-stack { position: relative; padding-bottom: 34px; }
.demo-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--umb-radius);
  box-shadow: 0 14px 34px rgb(6 20 30 / 0.35); padding: 16px 18px; color: var(--umb-ink-2); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 10px; }
.demo-cap { display: block; font-family: var(--umb-mono); font-size: 0.75rem;
  letter-spacing: 0.06em; font-weight: 600; text-transform: uppercase; color: var(--umb-ink-3); }
.demo-dots { display: inline-flex; gap: 4px; flex: none; }
.demo-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d6dee5; }
.demo-chart { display: block; width: 100%; height: auto; }
.demo-link { display: block; margin-top: 8px; font-size: 0.88rem; font-weight: 600;
  max-width: calc(100% - 205px); }
.demo-card.demo-sub { position: absolute; right: -10px; bottom: 0; width: 216px;
  padding: 12px 16px; }
.demo-card.demo-sub .demo-val { display: block; font-family: var(--umb-font-h1);
  font-weight: 800; font-size: 1.5rem; color: var(--umb-ink-1);
  font-variant-numeric: tabular-nums; margin: 2px 0; }
.demo-sub2 { display: block; font-size: 0.82rem; color: var(--umb-ink-3); }
@media (max-width: 900px) {
  .demo-stack { padding-bottom: 0; }
  .demo-card.demo-sub { position: static; width: auto; margin-top: 12px; }
}
/* Mini standardized-listing demo (guide closer band) */
.mini-listing { display: flex; flex-direction: column; gap: 7px; }
.mini-pill { align-self: flex-start; background: rgb(23 34 44 / 0.72); color: #fff;
  font-size: 0.85rem; font-weight: 600; padding: 3px 12px; border-radius: var(--umb-radius-pill); }
.mini-title { font-size: 1.02rem; color: var(--umb-ink-1); line-height: 1.3; }
.mini-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mini-price { font-family: var(--umb-font-h1); font-weight: 800; font-size: 1.4rem;
  color: var(--umb-ink-1); font-variant-numeric: tabular-nums; }
.mini-rank { color: var(--umb-good); font-weight: 700; font-size: 0.9rem; }
.mini-meta { font-size: 0.85rem; color: var(--umb-ink-3); }
.mini-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.mini-chips i { font-style: normal; font-size: 0.85rem; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, #276a8d 0%, #1F5673 85%);
  border-radius: var(--umb-radius-pill); padding: 4px 12px; }
.cta-note { font-size: 0.78rem; color: #9fb9cc; margin: 10px 0 0; }
.demo-stack .cta-note { position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; }
@media (max-width: 900px) {
  .demo-stack .cta-note { position: static; margin-top: 10px; }
  .demo-link { max-width: none; }
}
/* The one hand-drawn touch per page: scribble arrow + handwritten note */
.scribble { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; }
.scribble svg { flex: none; color: #ff9d92; transform: rotate(-12deg); margin-top: -4px; }
.scribble .scribble-note { font-family: "Caveat", cursive; font-size: 1.35rem; line-height: 1.2;
  color: #ffcfc9; transform: rotate(-2deg); }

/* ---------- Scroll reveals ([data-rev] via nav.js; nothing hidden without
   JS, nothing moves under reduced motion) ---------- */
.rv { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Footer (near-black take on the site's footer navy, flush
   under the CTA band - owner round 8) ---------- */
/* The main site's footer, matched from its live page (owner, 2026-10-20,
   DECISIONS #101): the navy gradient under the owner's noise texture, the
   newsletter form (the main site's own Bento endpoint), About and Contact,
   the two disclaimers, the brand column with the social links, then the
   eBay disclosure this section needs and the legal links. */
.site-footer { position: relative; isolation: isolate; color: #cfd6e4; margin-top: 0; padding: 50px 0 25px; font-size: 0.9rem;
  background: #212d40 linear-gradient(152deg, #2e3c52 0%, #0d1723 100%); }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/used/assets/footer-noise.png) center center / 100px 100px repeat; }
.footer-cols { display: grid; grid-template-columns: 1.15fr 1fr 1.3fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .footer-cols { grid-template-columns: 1fr; gap: 30px; } }
.site-footer .ftitle { color: #fff; font-family: var(--umb-font); font-weight: 700; font-size: 1.6rem;
  line-height: 1.2; margin: 0 0 14px; border-left: 4px solid #fff; padding-left: 16px; }
.site-footer .fsmall { color: #9fb0c9; font-size: 0.85rem; line-height: 1.5; margin: 0 0 8px; }
.site-footer .fblurb { color: #e6ebf3; font-style: italic; font-size: 0.9rem; }
.site-footer .fsmall a { color: var(--umb-heading-soft); }
.nl-form { display: flex; flex-direction: column; gap: 12px; max-width: 370px; margin-top: 16px; }
.nl-input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c9d2de; border-radius: 4px;
  font: inherit; font-size: 1rem; color: var(--umb-ink-1); background: #fff; }
.nl-input::placeholder { color: #6b7a8c; }
.nl-submit { min-height: 48px; border: 0; border-radius: 4px; background: #2196f3; color: #fff;
  font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.nl-submit:hover { background: #1b84d8; }
.site-footer .flinks a { display: block; color: #fff; font-weight: 600; padding: 3px 0; }
.site-footer .fblurb-title { display: block; color: #fff; font-weight: 700; margin: 12px 0 3px; }
.site-footer .fdivider { border-top: 1px solid rgb(255 255 255 / 0.25); margin: 12px 0; }
.site-footer .fbrand { text-align: center; }
.site-footer .fbrand img { height: 72px; width: auto; max-width: 100%; display: inline-block; margin-bottom: 14px; }
.site-footer .tagline { display: block; font-style: italic; font-weight: 700; color: #fff; font-size: 1.1rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.25); padding-bottom: 16px; }
.fsocial { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.fsocial a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; color: #fff; }
.fsocial a svg { width: 22px; height: 22px; fill: currentColor; }
.fsocial a:hover { color: #fff; filter: brightness(1.12); }
.fs-facebook { background: #1778f2; } .fs-pinterest { background: #e60122; } .fs-youtube { background: #ff0100; } .fs-x { background: #21a1f3; }
.site-footer a:hover { color: var(--umb-heading-soft); }
.site-footer .f-disclosure { color: #9fb0c9; font-size: 0.8rem; line-height: 1.5;
  max-width: 940px; margin: 30px auto 0; text-align: center; }
.site-footer .fbottom { text-align: center; margin-top: 20px; }
.site-footer .fbottom .copy { color: #fff; }
.site-footer .fbottom nav { display: flex; gap: 16px 44px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.site-footer .fbottom a { color: #cfd6e4; }

/* ---------- 404 (polish P4): the full site chrome around one calm block,
   one petrol key plus a white secondary, like every page ---------- */
.nf { max-width: 720px; margin: 56px auto 72px; text-align: center; }
.nf-code { display: block; font-family: var(--umb-font-h1); font-weight: 800; font-size: 72px; line-height: 1;
  color: var(--umb-heading-soft); letter-spacing: 0.02em; margin-bottom: 10px; }
.nf h1 { margin-bottom: 12px; }
.nf p { color: var(--umb-ink-2); }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0 10px; }
.nf .nf-key { display: inline-flex; margin-top: 0; padding: 12px 20px; }
.nf-second { display: inline-flex; align-items: center; min-height: 48px; padding: 11px 18px;
  border: 1px solid var(--umb-border); border-radius: var(--umb-radius-btn); background: #fff;
  color: var(--umb-heading); font-weight: 700; font-size: 0.95rem; box-shadow: inset 0 1px 0 #fff;
  transition: border-color .2s ease, transform .2s ease; }
.nf-second:hover { color: var(--umb-heading); border-color: var(--umb-accent); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .nf-second:hover { transform: none; } }
.nf-home { margin-top: 18px; }

/* ---------- Small screens ---------- */
@media (max-width: 480px) {
  h1 { font-size: 30px; }
  .stat-tiles { width: 100%; }
}

/* Without JavaScript nothing live can load: the placeholders give way to a
   short note in the grid instead of holding blank space. Last in the file so
   it wins over the components' own display values (same specificity). */
@media (scripting: none) {
  .stat-tiles, .quick-row, .toolbar, .updated-line, .sk-card { display: none; }
}

/* ---------- Reduced motion: hover lifts and arrow nudges (last on purpose) ----------
   An override earlier in the file loses to a later hover rule of the same
   specificity, so this block stays at the end (skill pitfall 85). Until
   2026-10-16 the guide cards and five buttons kept their lift for visitors
   who ask for reduced motion (DECISIONS #61). */
@media (prefers-reduced-motion: reduce) {
  .gcard:hover, a.btn-view:hover, .btn-cta:hover, .jump-chip:hover, .btn-mkt:hover, .btn-band:hover,
  a.btn-view:hover svg, .btn-cta:hover .arr, .btn-mkt:hover .arr, .btn-band:hover .arr { transform: none; }
}

/* ---- Per-model pages /used/pemf-mats/<slug>/ (DECISIONS #78). The page
   reuses the grid's chrome, tiles, rail and cards and the guide's card; these
   rules cover what is new: the breadcrumb, the two-column history and
   contents sections, the sibling-model cards, the toolbar link. ---- */
.crumbs { font-size: 0.95rem; color: var(--umb-ink-3); margin: 0 0 8px; }
.crumbs a { color: var(--umb-link); }
.crumbs .sep { margin: 0 7px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mp-section { margin: 40px 0; }
.mp-eyebrow { display: block; font-family: var(--umb-mono); font-size: 0.75rem; letter-spacing: 0.07em; font-weight: 600; text-transform: uppercase; color: var(--umb-ink-3); margin: 0 0 2px; }
.mp-history { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--umb-gap); align-items: start; }
.guide-grid.one { grid-template-columns: minmax(0, 1fr); }
.mp-note { border: 1px solid var(--umb-border); border-radius: var(--umb-radius); padding: 18px 20px; background: #f7f9fb; font-size: 1rem; line-height: 1.6; }
.mp-note h3, .mp-checks h3 { margin: 0 0 10px; font-size: 1.1rem; }
.mp-note p { margin: 0 0 10px; }
.mp-note p:last-child { margin-bottom: 0; }
.mp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--umb-gap); align-items: start; }
.mp-checks { border: 1px solid var(--umb-border); border-radius: var(--umb-radius); padding: 18px 20px; font-size: 1rem; line-height: 1.6; }
.mp-checks ol { margin: 0; padding-left: 22px; }
.mp-checks li { margin: 0 0 10px; }
.mp-catalog { margin: 16px 0 0; font-size: 1.05rem; }
.mp-catalog a { font-weight: 600; }
.mp-catalog-note { color: var(--umb-ink-3); }
.mp-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.mp-other { display: block; border: 1px solid var(--umb-border); border-radius: var(--umb-radius); padding: 14px 16px; text-decoration: none; color: inherit; background: var(--umb-surface); }
.mp-other:hover { box-shadow: var(--umb-shadow-hover); }
.mp-other .t { display: block; font-weight: 600; color: var(--umb-link); }
.mp-other .s { display: block; font-size: 0.9rem; color: var(--umb-ink-3); margin-top: 3px; }
.stat-tile .sub .model-page-link { color: var(--umb-link); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  .mp-history, .mp-split { grid-template-columns: minmax(0, 1fr); }
}
