/* Silicon Cents — "the board", round two, adopted from
   design/concepts/board-2 (tokens verbatim, then components).
   A slab of solder-mask green carries the answer and the chart, printed the
   way silkscreen is printed on a board: white dots, one gold median with a
   slab-coloured casing. Everything below the slab is a ruled reference
   section — hairlines, aligned figures, plain notes — not a card grid.
   No traces, vias or circuit decoration; three colours are the whole
   costume. Trend direction is never red or green: a falling price is not
   bad news here, so direction rides on the sign and the word. */

@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  /* ------------------------------------------------------------- colour */
  --sc-solder: #0e3a2c; /* solder-mask green: the slab */
  --sc-solder-deep: #0a2c21; /* pressed slab: hover on slab surfaces */
  --sc-silk: #f2f5f2; /* silkscreen white: dots + text on green */
  --sc-plate: #d9a63e; /* immersion gold: median line, focus rings, request tick */
  --sc-ground: #eaedeb; /* page plane below the slab */
  --sc-paper: #f7f9f8; /* inputs, sheet surface */
  --sc-ink: #151a18; /* text on ground */
  --sc-ink-2: #54605c; /* secondary text */
  --sc-hairline: #c7cfcb; /* section rules, table heads */
  --sc-grid: #dde3e0; /* table row separators */
  --sc-link: #12503b; /* links below the slab */
  --sc-auction-ink: #1f78d1; /* auction mark below the slab: the chart's auction azure, one step darker for 3.8:1 on the ground */

  /* ---------------------------------------------------------------- type */
  --sc-sans: "Archivo Variable", "Archivo", system-ui, sans-serif;
  --sc-wdth-display: 104%; /* lead sentence and wordmark */
  --sc-wdth-normal: 100%;
  --sc-w-regular: 420;
  --sc-w-medium: 550;
  --sc-w-semibold: 640;
  --sc-w-bold: 700;
  --sc-fs-tick: 11.5px;
  --sc-fs-note: 12.5px;
  --sc-fs-table: 13.5px;
  --sc-fs-body: 15px;
  --sc-fs-ui: 14px;
  --sc-fs-ctl: 16px; /* filter controls: iOS stops zooming into fields at 16px */
  --sc-fs-sub: 17px;
  --sc-fs-lead: clamp(21px, 1.35rem + 1.2vw, 29px);
  --sc-fs-price: clamp(26px, 8vw, 32px);
  --sc-lh-lead: 1.3;
  --sc-lh-body: 1.5;

  /* --------------------------------------------------------------- layout */
  --sc-maxw: 1180px;
  --sc-gutter: 16px;
  --sc-gutter-wide: 24px;
  --sc-gap-section: 26px;
  --sc-radius-sheet: 14px; /* phones only: bottom sheets */
  --sc-radius-ctl: 7px; /* segmented controls, inputs */
  --sc-radius-card: 12px; /* the home hero's cards */
  --sc-tap: 44px; /* minimum touch target on the filter bar */

  /* --------------------------------------------------------------- motion */
  --sc-dur: 0.18s;
}

@media (min-width: 900px) {
  :root {
    --sc-gutter: var(--sc-gutter-wide);
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--sc-ground);
  color: var(--sc-ink);
  font: var(--sc-w-regular) var(--sc-fs-body) / var(--sc-lh-body) var(--sc-sans);
  font-variant-numeric: proportional-nums;
}
a {
  color: var(--sc-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  color: color-mix(in oklab, var(--sc-link), black 25%);
}
:focus-visible {
  outline: 2px solid var(--sc-plate);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--sc-maxw);
  margin: 0 auto;
  padding-inline: var(--sc-gutter);
}

/* ------------------------------------------------------- sample-data strip */

.noticebar {
  background: var(--sc-paper);
  border-bottom: 1px solid var(--sc-hairline);
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
}
.noticebar .wrap {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding-block: 6px;
  border-left: 3px solid var(--sc-plate);
  min-width: 0;
}
.noticebar span {
  min-width: 0;
}
.noticebar b {
  color: var(--sc-ink);
  font-weight: var(--sc-w-semibold);
}
/* Phones: the strip is one line; a narrow screen truncates rather than
   wrapping (the full sentence is on the methodology page). */
@media (max-width: 699.98px) {
  .noticebar [data-synthetic-notice] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ---------------------------------------------------------------- the slab */

.slab {
  background: var(--sc-solder);
  color: var(--sc-silk);
  padding-bottom: 20px;
}
.slab a {
  color: var(--sc-silk);
}
.slab a:hover {
  color: var(--sc-silk);
  text-decoration-color: var(--sc-plate);
}

.topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 22px;
  padding-top: 12px;
}
.wordmark {
  font-size: var(--sc-fs-body);
  font-weight: var(--sc-w-bold);
  font-stretch: var(--sc-wdth-display);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
}

/* Nav links are text controls (ui-rules): one size and weight, muted until
   selected or hovered; the current section carries the 2px gold underline.
   Tap area comes from padding so the text keeps its baseline. "Request a
   part" stays full-strength silk — visible without borrowing the current
   page's underline. */
.mainnav {
  margin-left: auto;
  min-width: 0;
}
.mainnav ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: var(--sc-w-medium);
}
.mainnav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--sc-tap);
  padding: 11px 0;
  text-decoration: none;
  color: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 26%);
}
.mainnav a:hover {
  color: var(--sc-silk);
  text-decoration: underline;
}
.mainnav a[aria-current="page"] {
  color: var(--sc-silk);
  text-decoration: underline;
  text-decoration-color: var(--sc-plate);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.mainnav .req a {
  color: var(--sc-silk);
}

/* ---------------------------------------------------------- header search */

/* ------------------------------------------------------- header currency */

/* USD / CAD (owner, Nov 13): two text controls in the topline, the header
   nav's own voice (ui-rules) — muted silk until chosen, full silk with the
   2px gold underline when chosen. Scripted pages only: with JS off nothing
   could switch, so it is not offered. */
.curpick {
  --sc-f-muted: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 26%);
  --sc-f-full: var(--sc-silk);
  --sc-f-pad: 6px;
  display: flex;
  align-items: center;
  position: relative; /* the hidden radios anchor here */
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
html:not(.js) .curpick {
  display: none;
}
.mainnav + .curpick {
  margin-left: 12px;
}

/* Desktop: the box sits inline at the end of the topline. Phones (below):
   an icon opens the box onto its own row. The form is a plain GET either
   way; search.js only adds the dropdown. */
.topsearch {
  margin-left: auto;
  display: flex;
  align-items: center;
  position: relative;
}
.mainnav + .topsearch,
.curpick + .topsearch {
  margin-left: 12px;
}
.search-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 4px;
  color: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 10%);
  cursor: pointer;
}
.searchform {
  position: relative;
  display: block;
}
/* ui-rules: anything focusable is at least 16px (iOS zooms below that on
   focus, and Playwright WebKit does not reproduce the zoom, so the
   computed size is what a test can pin). */
.searchform input[type="search"] {
  font: var(--sc-w-regular) 16px var(--sc-sans);
  color: var(--sc-silk);
  background: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 78%);
  border: 1px solid color-mix(in oklab, var(--sc-silk), var(--sc-solder) 58%);
  border-radius: var(--sc-radius-ctl);
  padding: 11px 10px;
  min-height: var(--sc-tap);
  width: 210px;
  max-width: 46vw;
  outline-offset: 2px;
}
.searchform input[type="search"]::placeholder {
  color: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 42%);
}
.searchform input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
/* Wider than the search field, because part names are long. Hanging from the
   field's right edge keeps it on screen. Names wrap and are never clipped. */
.suggests {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  width: max(100%, 460px);
  max-width: calc(100vw - 2 * var(--sc-gutter));
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--sc-paper);
  border: 1px solid var(--sc-hairline);
  border-radius: var(--sc-radius-ctl);
  box-shadow: 0 6px 18px rgb(10 44 33 / 18%);
  z-index: 30;
  max-height: 320px;
  overflow: auto;
}
.suggests li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: var(--sc-tap);
  padding: 7px 9px;
  border-radius: calc(var(--sc-radius-ctl) - 2px);
  color: var(--sc-ink);
  cursor: pointer;
  font-size: var(--sc-fs-ui);
}
.suggests li .sug-t {
  min-width: 0;
}
.suggests li .sug-s {
  flex: 0 0 auto;
  color: var(--sc-ink-2);
  font-size: var(--sc-fs-note);
}
.suggests li.active,
.suggests li:hover {
  background: var(--sc-grid);
}
.suggests .suggests-none {
  cursor: default;
  color: var(--sc-ink-2);
  font-size: var(--sc-fs-note);
}

/* phones: wordmark and the search icon share one row, the nav owns the
   next (it wraps — rows wrap, nothing scrolls sideways), and an open
   search owns the one after. */
@media (max-width: 699px) {
  .topline {
    gap: 0 10px;
    padding-top: 10px;
  }
  .wordmark {
    flex: 0 1 auto;
  }
  .mainnav {
    flex: 1 1 100%;
    margin-left: 0;
    order: 3;
  }
  .topsearch {
    display: contents;
  }
  /* the search icon opens the field: a 44px tap target (ui-rules buttons) */
  .search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--sc-tap);
    min-height: var(--sc-tap);
    margin-left: auto;
  }
  /* The currency pair rides the wordmark's row, right-aligned beside the
     search icon; the nav keeps its own row below. */
  .curpick,
  .mainnav + .curpick {
    margin-left: auto;
  }
  html.js .curpick + .topsearch .search-toggle {
    margin-left: 0;
  }
  .topsearch.open .searchform {
    flex: 1 1 100%;
    order: 4;
  }
  .topsearch:not(.open) .searchform {
    display: none;
  }
  .searchform input[type="search"] {
    width: 100%;
    max-width: none;
    padding: 8px 12px;
  }
  .suggests {
    left: 0;
    width: auto;
    max-width: none;
  }
}

/* Menu (owner, Nov 18: the chart is the phone page's hero). With
   JavaScript, phones fold the sections and Make a request into a panel that
   grows down from the Menu control (its transform-origin is the control),
   on the paper surface the More sheet uses. Menu again, a tap outside or
   Escape closes it. Without JavaScript the nav keeps its rows, as before. */
.menu-toggle[hidden] {
  display: none;
}
@media (max-width: 699px) {
  html.js .topline {
    position: relative;
  }
  html.js .menu-toggle[hidden] {
    display: inline-flex;
  }
  .menu-toggle {
    order: 2;
    align-items: center;
    gap: 6px;
    min-height: var(--sc-tap);
    padding: 0;
    border: 0;
    background: none;
    font: var(--sc-w-medium) 16px var(--sc-sans);
    color: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 26%);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle svg {
    transition: transform 0.2s ease;
  }
  .menu-toggle[aria-expanded="true"] {
    color: var(--sc-silk);
  }
  .menu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }
  html.js .mainnav {
    position: absolute;
    top: calc(100% - 2px);
    right: 0;
    z-index: 40;
    width: min(260px, 100%);
    padding: 6px 0;
    background: var(--sc-paper);
    border-radius: 12px;
    box-shadow:
      0 14px 34px rgb(6 18 14 / 34%),
      0 1px 2px rgb(6 18 14 / 12%);
    transform-origin: top right;
    opacity: 0;
    transform: translateY(-8px) scale(0.94);
    visibility: hidden;
    transition:
      opacity 0.14s ease,
      transform 0.14s ease,
      visibility 0s linear 0.14s;
  }
  html.js .topline.menu-open .mainnav {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition:
      opacity 0.18s ease,
      transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0s;
  }
  html.js .mainnav ol {
    flex-direction: column;
    gap: 0;
  }
  html.js .mainnav a {
    display: flex;
    min-height: 48px;
    padding: 0 18px;
    color: var(--sc-ink-2);
  }
  html.js .mainnav a:hover,
  html.js .mainnav a[aria-current="page"],
  html.js .mainnav .req a {
    color: var(--sc-ink);
  }
  html.js .mainnav .req {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--sc-hairline);
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle svg,
  html.js .mainnav,
  html.js .topline.menu-open .mainnav {
    transition: none;
  }
}

.crumbs {
  margin-top: 12px;
  font-size: var(--sc-fs-note);
  color: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 34%);
}
.crumbs ol {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.crumbs a {
  color: inherit;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.45;
}

/* hero: the answer sentence, calm; the chart is the largest thing on the slab */
.hero {
  padding-top: 16px;
  display: grid;
  gap: 4px;
}
.hero .lede {
  display: grid;
  gap: 4px;
  min-width: 0;
}
h1,
.lead-sentence {
  margin: 0;
  font-stretch: var(--sc-wdth-display);
  font-weight: var(--sc-w-medium);
  font-size: var(--sc-fs-lead);
  line-height: var(--sc-lh-lead);
  letter-spacing: 0;
  text-wrap: pretty;
  max-width: 46ch;
}
.subline {
  margin: 6px 0 0;
  font-size: var(--sc-fs-ui);
  color: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 22%);
  max-width: 68ch;
}
.subline .num {
  font-variant-numeric: tabular-nums;
  font-weight: var(--sc-w-medium);
  color: var(--sc-silk);
}
.asof {
  margin: 3px 0 0;
  font-size: var(--sc-fs-note);
  color: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 40%);
  max-width: 80ch;
}

/* the chart, printed straight on the slab (the chart package mounts here;
   the product chart figure and the hub's family chart share this box) */
.chartbox {
  margin-top: 16px;
  min-height: 120px;
}
.chartbox svg {
  width: 100%;
  height: auto;
  display: block;
}
.chartbox .empty {
  color: var(--sc-silk);
  opacity: 0.85;
  padding: 46px 10px;
  text-align: center;
  margin: 0;
  border: 1px dashed color-mix(in oklab, var(--sc-silk), var(--sc-solder) 55%);
  border-radius: 6px;
  font-size: var(--sc-fs-ui);
}

/* --------------------------------------- filter controls on the slab */

/* Filters sit above the chart, on the slab, and apply live (owner decision,
   round 2). The form is hidden without JavaScript: a control that does
   nothing is worse than none, and the page keeps its baked chart and baked
   list. The variant row is not hidden — it is real links, so it works for
   everyone, with or without JavaScript. */
html:not(.js) form.fbar {
  display: none;
}
html.js form.fbar[hidden] {
  display: block;
}

/* Share (owner, Nov 18): one outline button under the answer, in the slab's
   voice (ui-rules: 44px, the control radius, outline for a second action).
   On a phone it sits just above the filters it carries; on desktop it fills
   the answer column beside them. The note beside it says what happened. */
.share {
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 12px 0 0;
  justify-self: start;
}
html:not(.js) .share {
  display: none;
}
html.js .share[hidden] {
  display: flex;
}
.sharebtn {
  font: var(--sc-w-medium) var(--sc-fs-ctl) var(--sc-sans);
  min-height: var(--sc-tap);
  padding: 0 18px;
  border: 1px solid color-mix(in oklab, var(--sc-silk), var(--sc-solder) 55%);
  border-radius: var(--sc-radius-ctl);
  background: transparent;
  color: var(--sc-silk);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sharebtn:active {
  background: var(--sc-solder-deep);
}
@media (hover: hover) {
  .sharebtn:hover {
    border-color: var(--sc-silk);
  }
}
html.can-share .share-copy,
html:not(.can-share) .share-native {
  display: none;
}
.sharenote {
  font-size: var(--sc-fs-ui);
  color: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 22%);
}
.sharenote:empty {
  display: none;
}

/* Phones and narrow windows (owner, Nov 18: the chart is the hero). Share
   moves into the filter row as an icon at the row's end, and the answer,
   the sizes and the filters sit closer together; every control keeps its
   44px tap area. Wide screens keep the Copy link button under the answer. */
.sharebtn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--sc-tap);
  padding: 0;
}
@media (max-width: 899.98px) {
  .share-lede,
  html.js .share-lede[hidden] {
    display: none;
  }
  html.js .share-row[hidden] {
    display: inline-flex;
  }
  .share-row {
    margin: 0 0 0 auto;
    gap: 10px;
  }
  .hero[data-product] {
    gap: 0;
    padding-top: 8px;
  }
  .hero[data-product] .subline {
    margin-top: 4px;
  }
  .hero[data-product] .fvariants {
    margin-top: 8px;
  }
  .hero[data-product] .fbar,
  .hero[data-product] .fvariants + .fbar,
  .hero[data-product] .sc-chart {
    margin-top: 0;
  }
}
@media (min-width: 900px) {
  .share-row,
  html.js .share-row[hidden] {
    display: none;
  }
}
/* The availability pair's place in More on phones (the inline script after
   the filter form moves it there); empty and hidden on wide screens. */
.favail-slot[hidden] {
  display: none;
}

/* The controls are one family with the header nav (docs/ui-rules.md):
   one 16px medium size, muted until chosen, full strength with a 2px gold
   underline when chosen, no boxes, 44px tap areas made with padding. The
   slab speaks silk on green, the paper panel speaks ink, so the two voices
   ride on variables the panel overrides. */
.hero[data-product] {
  --sc-f-muted: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 34%);
  --sc-f-full: var(--sc-silk);
  --sc-f-chevron: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23f2f5f2' stroke-opacity='0.66' stroke-width='1.6' stroke-linecap='round'/></svg>");
  --sc-f-chevron-on: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23f2f5f2' stroke-width='1.6' stroke-linecap='round'/></svg>");
}
/* The family page's size choice (owner, Nov 13): the product filter row's
   own text controls, on the same slab, so it borrows the slab voice. With
   JS off nothing could switch the view, so it is not offered. */
.famsizes {
  --sc-f-muted: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 34%);
  --sc-f-full: var(--sc-silk);
  --sc-f-pad: 10px;
  min-width: 0;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}
.famsizes .fgroup {
  flex-wrap: wrap;
  /* one pad to the left, as the filter rows sit, so "All sizes" shares the
     heading's left edge */
  margin-inline-start: calc(-1 * var(--sc-f-pad));
}
html:not(.js) .famsizes {
  display: none;
}
.fbar,
.fvariants {
  --sc-f-pad: 10px;
  margin-top: 14px;
  min-width: 0;
}
.fvariants + .fbar {
  margin-top: 2px;
}

/* Text control: the same shape for a nav link, a filter option, a variant
   link or the More trigger. Padding makes the 44px area; the text stays on
   one baseline. The chosen mark is the header nav's own: a 2px gold
   underline drawn on the word itself (text-decoration), not a border under
   the padded box, so it hugs the text (owner, phone walkthrough). */
.ftext,
.fvariants a,
.fmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--sc-tap);
  padding: 0 var(--sc-f-pad, 10px);
  font: var(--sc-w-medium) var(--sc-fs-ctl) / 1.15 var(--sc-sans);
  color: var(--sc-f-muted, var(--sc-ink-2));
  background: none;
  border: 0;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
/* Only where a pointer really hovers: a touch screen keeps :hover on the
   last tapped control, so a switch tapped off would still look lit. */
@media (hover: hover) {
  .ftext:hover,
  .fvariants a:hover,
  .fmore:hover {
    color: var(--sc-f-full, var(--sc-ink));
  }
}
.ftext:has(input:checked) > span,
.ftext.is-selected > span,
.fvariants a.is-selected,
.fmore[aria-expanded="true"] .fmore-word {
  color: var(--sc-f-full, var(--sc-ink));
  text-decoration: underline;
  text-decoration-color: var(--sc-plate);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.ftext:has(input:checked),
.fvariants a.is-selected,
.fmore[aria-expanded="true"] {
  color: var(--sc-f-full, var(--sc-ink));
}
.ftext input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  font-size: var(--sc-fs-ctl); /* focus on a sub-16px field would zoom iOS */
}
.ftext:has(input:focus-visible) {
  outline: 2px solid var(--sc-plate);
  outline-offset: 1px;
}
.fgroup {
  display: inline-flex;
  flex: 0 0 auto;
  position: relative; /* hidden radios anchor here, never to the page corner */
}

/* A tick turns one thing on or off; an underline marks the one choice among
   several (ui-rules). The availability pair turns each country on or off on
   its own, so it ticks: a small square that fills gold when on. */
.favail .ftext:has(input:checked) > span {
  text-decoration: none;
}
.favail .tick {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}
.favail .ftext:has(input:checked) .tick {
  background: var(--sc-plate);
  border-color: var(--sc-plate);
}
.favail .ftext:has(input:checked) .tick::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid var(--sc-solder);
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}

/* The availability pair names two countries in words, so it is the widest
   group in the open row. At phone width its two switches stack inside the
   group instead of pushing the row sideways (320px, owner's narrowest). */
.fgroup.favail {
  flex-wrap: wrap;
  max-width: 100%; /* without a cap, wrap never starts: the group is auto-width */
}

/* Dropdowns: a text control with a small chevron, on a native <select> so
   iOS keeps its picker. Options name themselves, so there is no label
   beside them; the aria-label stays for screen readers. A dropdown at its
   default answer is an unchosen control: muted, no underline. Once it holds
   a choice it reads like any chosen text control: full strength with the
   2px gold underline (owner: a permanent grey rule made every dropdown look
   like a filled form field). browser.js flags the choice with .is-changed. */
.fbar select {
  appearance: none;
  -webkit-appearance: none;
  field-sizing: content;
  max-width: 14em;
  min-height: var(--sc-tap);
  padding: 0 calc(var(--sc-f-pad, 10px) + 16px) 0 var(--sc-f-pad, 10px);
  font: var(--sc-w-medium) var(--sc-fs-ctl) / 1.15 var(--sc-sans);
  color: var(--sc-f-muted, var(--sc-ink-2));
  background: transparent var(--sc-f-chevron) no-repeat right var(--sc-f-pad, 10px) center;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
/* A select cannot take text-decoration, so the chosen underline is painted
   under the words at the same offset the other text controls use. */
.fbar select.is-changed {
  color: var(--sc-f-full, var(--sc-ink));
  background-image: var(--sc-f-chevron-on), linear-gradient(var(--sc-plate), var(--sc-plate));
  background-position:
    right var(--sc-f-pad, 10px) center,
    var(--sc-f-pad, 10px) calc(50% + 12px);
  background-size:
    auto,
    calc(100% - 2 * var(--sc-f-pad, 10px) - 16px) 2px;
  background-repeat: no-repeat;
}
.fbar select:focus-visible {
  outline: 2px solid var(--sc-plate);
  outline-offset: 1px;
}
/* Desktop pickers paint option lists with the control's own colors; the
   slab's silk would be invisible on the OS surface. */
.fbar select option {
  color: var(--sc-ink);
  background: var(--sc-paper);
}
/* Rows sit one pad to the left, so the first word of every wrapped line
   shares the heading's left edge. */
.frow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  min-width: 0;
  margin-inline-start: calc(-1 * var(--sc-f-pad, 10px));
}
.fbar select,
.fmore {
  flex: 0 0 auto;
}
.fvariants {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  margin-inline-start: calc(-1 * var(--sc-f-pad, 10px));
}

/* The active-filter count rides the More trigger as a number, not a pill
   (chips and pills are gone). Gold because it means "look here". */
.fcount {
  font-variant-numeric: tabular-nums;
  color: var(--sc-plate);
}
.fcount[hidden] {
  display: none;
}
.fmore::after {
  content: "";
  width: 10px;
  height: 6px;
  background: var(--sc-f-chevron) no-repeat center;
}
.fmore[aria-expanded="true"]::after {
  background-image: var(--sc-f-chevron-on);
  transform: rotate(180deg);
}
/* "More" holds the rest. Phones: a bottom sheet over a veil. Desktop: a tidy
   panel inline under the row. browser.js opens and closes both. */
.fveil {
  display: none;
}
.fpanel {
  /* the panel is a light surface: the same rules apply, in dark ink */
  --sc-f-muted: var(--sc-ink-2);
  --sc-f-full: var(--sc-ink);
  --sc-f-chevron: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23151a18' stroke-opacity='0.66' stroke-width='1.6' stroke-linecap='round'/></svg>");
  --sc-f-chevron-on: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23151a18' stroke-width='1.6' stroke-linecap='round'/></svg>");
  margin-top: 10px;
  background: var(--sc-paper);
  color: var(--sc-ink);
  border-radius: var(--sc-radius-ctl);
  padding: 14px;
  box-shadow: 0 6px 24px rgba(6, 18, 14, 0.28);
}
.fpanel[hidden] {
  display: none;
}
.fhandle {
  display: none;
}
.fpanel-grid {
  display: grid;
  gap: 14px 26px;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}
.fpanel fieldset {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.fpanel legend {
  padding: 0;
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
}
.fpanel .fgroup {
  flex-wrap: wrap;
  margin-inline-start: calc(-1 * var(--sc-f-pad, 10px));
}
.fpanel select {
  width: 100%;
  max-width: 240px;
  margin-inline-start: calc(-1 * var(--sc-f-pad, 10px));
}
.ftoggles {
  align-content: start;
}
.ftick {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font: var(--sc-w-medium) var(--sc-fs-ctl) var(--sc-sans);
  color: var(--sc-ink);
  cursor: pointer;
  user-select: none;
  min-height: var(--sc-tap);
}
.ftick input {
  accent-color: var(--sc-solder);
  width: 16px;
  height: 16px;
}
/* Buttons (ui-rules): one 44px height, one radius; outline for the second
   action on a surface, solid for the first. Clear and Close are outline. */
.fbtn,
.fclose {
  font: var(--sc-w-medium) var(--sc-fs-ctl) var(--sc-sans);
  min-height: var(--sc-tap);
  padding: 0 18px;
  border: 1px solid var(--sc-hairline);
  border-radius: var(--sc-radius-ctl);
  background: var(--sc-paper);
  color: var(--sc-link);
  cursor: pointer;
}
.fbtn:hover,
.fclose:hover {
  border-color: var(--sc-solder);
}
.fbtn[hidden] {
  display: none;
}
.fclearline {
  margin: 14px 0 0;
}
.fclearline:has([hidden]) {
  display: none;
}
.fclose {
  margin-top: 10px;
}

.no-match[hidden] {
  display: none;
}
.no-match {
  margin: 10px 0 0;
}

/* ------------------------------------------------------ the sales list */

.sales-more {
  margin: 10px 0 0;
}
.sales-more button {
  font: var(--sc-w-medium) var(--sc-fs-ctl) var(--sc-sans);
  min-height: var(--sc-tap);
  border: 1px solid var(--sc-hairline);
  border-radius: var(--sc-radius-ctl);
  background: var(--sc-paper);
  color: var(--sc-link);
  padding: 0 18px;
  cursor: pointer;
}
.sales-more button:hover {
  border-color: var(--sc-solder);
}

/* ------------------------------------ Sold / For sale switch (Nov 7, owner) */

/* One section under the chart holds both record lists; the switch says
   which one to look at. The switch is the page's text-control family
   (ui-rules) on paper, so it takes the dark-ink voice for free. Without
   JavaScript it is hidden — a control that does nothing is worse than
   none — and both lists stay in the page, stacked, so crawlers and
   scripted-off readers still reach every link. */
html:not(.js) .listswitch {
  display: none;
}
html.js .listswitch[hidden] {
  display: inline-flex;
}
.listswitch {
  /* first word lines up with the list's left edge, like .frow does */
  margin: 0 0 2px calc(-1 * var(--sc-f-pad, 10px));
}
/* the count on the For sale entry is part of the answer, not a badge:
   quiet and tabular, never a chip */
.lcount {
  color: var(--sc-ink-2);
  font-variant-numeric: tabular-nums;
}
.lcount[hidden] {
  display: none;
}
/* Which list is up. Only with JavaScript (html.js keys every rule here),
   so the no-JS floor shows both, stacked. The checked radio decides, so a
   tap works before chart/main.ts has loaded (on a slow phone that can take
   seconds); main.ts sets the radios from the URL once it runs. */
html.js .recordlist:has(input[name="list"][value="sold"]:checked) [data-list-sale] {
  display: none;
}
html.js .recordlist:has(input[name="list"][value="sale"]:checked) [data-list-sold] {
  display: none;
}

/* ---------------------------------------------- below the slab: ruled sections */

/* One divider between sections (ui-rules): the slab's own edge is a colour
   change, so the first section starts right below it — the section rule is
   the only separator, no extra gap on top of it. */
main.wrap {
  padding-top: 0;
  padding-bottom: 44px;
}

section {
  border-top: 1px solid var(--sc-hairline);
  margin-top: 0;
  padding-top: 16px;
}
/* The slab's colour edge already divides the header from what follows, so
   the first section needs no rule of its own (owner: a rule directly under
   the green header read as two dividers in a row). The padding stays; the
   gap is what separates, the second rule was not. */
main.wrap > section:first-child,
.maincol > section:first-child,
.cols aside > section:first-child {
  border-top: 0;
}
.maincol {
  min-width: 0;
}
h2 {
  font-size: var(--sc-fs-body);
  font-weight: var(--sc-w-semibold);
  margin: 0 0 2px;
  letter-spacing: 0;
}
.note,
section > .note {
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
  max-width: 74ch;
  line-height: 1.5;
  margin: 2px 0 12px;
}

.cols {
  display: grid;
  gap: 0 40px;
  margin-top: 0;
}

/* tables: hairlines only — no card, no shadow, no radius */
table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
caption {
  caption-side: top;
  text-align: left;
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
  padding: 0 0 8px;
  max-width: 88ch;
}
th {
  text-align: left;
  font-size: var(--sc-fs-note);
  font-weight: var(--sc-w-semibold);
  color: var(--sc-ink-2);
  padding: 6px 10px 6px 0;
  white-space: nowrap;
}
/* hairlines run across the whole row, never just under the first column:
   the head rule belongs to thead, and body row headers (compare tables)
   carry the same top hairline as their cells */
thead th {
  border-bottom: 1px solid var(--sc-hairline);
}
td,
tbody th {
  padding: 9px 10px 9px 0;
  border-top: 1px solid var(--sc-grid);
  font-size: var(--sc-fs-table);
  vertical-align: baseline;
}
thead tr th:first-child,
tbody tr td:first-child,
tbody tr th:first-child {
  padding-left: 0;
}
td.n,
th.n {
  text-align: right;
}
.dim {
  color: var(--sc-ink-2);
}
tr.pending td,
tr.pending th {
  color: var(--sc-ink-2);
}

/* A table row is one link (ui-rules): the whole row is tappable, and the
   title is green with no underline — not a bold heading-style title with a
   permanent rule under it. The title's ::after spreads the tap target
   across the row, same mechanism as the sales list. */
.tbl-groups tbody tr {
  position: relative;
}
.tbl-groups tbody th[scope="row"] {
  font-weight: var(--sc-w-regular);
}
.tbl-groups tbody th[scope="row"] a {
  text-decoration: none;
}
.tbl-groups tbody th[scope="row"] a:hover {
  text-decoration: underline;
}
.tbl-groups tbody th[scope="row"] a::after {
  content: "";
  position: absolute;
  inset: 0;
}
/* Memory rows (owner, Nov 10): the typical per module type under the part
   name, the same figures the part page states when that type is chosen. It
   rides inside the row's name column, so a long line wraps there rather than
   widening the table, and stays quiet so the name and its numbers read
   first. */
.hub-types {
  margin: 2px 0 0;
  color: var(--sc-ink-2);
}

/* recent sales: the title is the evidence — it gets the room and wraps;
   date and price are the columns that stay rigid. */
.tbl-sales {
  table-layout: auto;
}
.tbl-sales .c-date {
  width: 1%;
  white-space: nowrap;
}
.tbl-sales .c-price {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}
.tbl-sales td.listing {
  min-width: 0;
}
.tbl-sales td.listing a {
  display: block;
  text-decoration: none;
  border-bottom: 0;
}
.tbl-sales td.listing a:hover {
  text-decoration: underline;
}
/* the whole row is the link (ui-rules): the title's ::after covers the row,
   so a thumb anywhere on the row — date, price, meta — opens the sale. */
.tbl-sales tbody tr {
  position: relative;
}
.tbl-sales td.listing a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.tbl-sales td.listing .meta {
  display: block;
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
  margin-top: 1px;
}
.tbl-sales td.listing .meta .excl {
  color: color-mix(in oklab, var(--sc-ink), var(--sc-plate) 45%);
}
td .state.bid::before {
  content: "+ ";
  font-weight: var(--sc-w-bold);
  color: var(--sc-ink-2);
}
tr.excluded-sale td {
  color: var(--sc-ink-2);
}
/* A hidden Best Offer shown at its listed price: a real, default-shown row,
   so it is NOT dimmed like an excluded row. The "listed" tag on the number is
   the marker; the row meta repeats it in words. */
tr.listed-sale .c-price {
  white-space: nowrap;
}
.price-tag {
  color: var(--sc-ink-2);
  font-size: 0.82em;
  font-weight: var(--sc-w-medium);
  margin-right: 4px;
}

/* phones: hub, home and compare tables restructure — part name on its own
   line, typical price and sales under it — instead of forcing the columns
   through the screen edge (55 pages scrolled sideways at 393px; nothing
   may scroll sideways). */
@media (max-width: 699.98px) {
  /* the column heads stay, as one quiet legend line over the rows: on a
     phone the numbers need their labels as much as they do on a desktop */
  .tbl-groups thead {
    display: block;
  }
  .tbl-groups thead tr {
    display: grid;
    grid-template-columns: 1fr auto auto;
    column-gap: 14px;
    align-items: baseline;
    border-top: 0;
    padding: 0 0 1px;
  }
  .tbl-groups thead th {
    padding: 0 0 6px;
    border-bottom: 0;
    white-space: normal;
  }
  .tbl-groups thead th:first-child {
    display: none; /* the part name on each row is its own label */
  }
  /* The two number headings sit over their columns and may wrap (each row's
     period rides the sales cell, and a wrapped row stays readable); the
     first column stays empty for the row names. */
  .tbl-groups thead th:nth-child(2) {
    grid-column: 2;
  }
  .tbl-groups thead th:nth-child(3) {
    grid-column: 3;
  }
  .tbl-groups,
  .tbl-groups tbody {
    display: block;
  }
  .tbl-groups tr {
    display: grid;
    grid-template-columns: 1fr auto auto;
    column-gap: 14px;
    align-items: baseline;
    border-top: 1px solid var(--sc-grid);
    padding: 9px 0 10px;
  }
  /* One line per row (owner, phone walkthrough): name left, numbers right,
     the way PCPartPicker rows read. A long name wraps inside its column
     instead of pushing the numbers onto a second line. */
  .tbl-groups th[scope="row"] {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    border-top: 0;
    white-space: normal;
    min-width: 0;
  }
  .tbl-groups td {
    grid-row: 1;
    padding: 0;
    border-top: 0;
    white-space: nowrap;
  }
  .tbl-groups .c-typical {
    grid-column: 2;
  }
  .tbl-groups .c-sales {
    grid-column: 3;
    text-align: right;
  }
  .tbl-groups tr.request td {
    grid-column: 1 / -1;
    grid-row: 1;
    border-top: 0;
    padding: 3px 0 0;
  }
}

/* phones: a sale row restructures — date left, price right, title full */
@media (max-width: 599px) {
  .tbl-sales thead {
    display: none;
  }
  .tbl-sales tbody {
    display: block;
  }
  .tbl-sales tr {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    border-top: 1px solid var(--sc-grid);
    padding: 9px 0 10px;
  }
  .tbl-sales tr.excluded-sale {
    border-left: 3px solid color-mix(in oklab, var(--sc-plate), transparent 35%);
    padding-left: 9px;
  }
  .tbl-sales tr.listed-sale {
    border-left: 3px solid color-mix(in oklab, var(--sc-ink-2), transparent 60%);
    padding-left: 9px;
  }
  .tbl-sales td {
    border-top: 0;
    padding: 0;
  }
  .tbl-sales .c-date {
    grid-column: 1;
    grid-row: 1;
  }
  .tbl-sales .c-price {
    grid-column: 3;
    grid-row: 1;
  }
  .tbl-sales td.listing {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 2px;
  }
}

/* the final hub row: request a part */
tr.request td {
  border-top: 1px solid var(--sc-hairline);
  padding: 12px 10px 2px 0;
  font-size: var(--sc-fs-table);
}

.table-note {
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
  margin: 8px 0 0;
}
.empty-table {
  font-size: var(--sc-fs-table);
  color: var(--sc-ink-2);
  margin: 0 0 8px;
}

/* A set of links is a row of text controls (ui-rules): whole row tappable,
   title green with no underline, one line each. Chips are gone. */
.linklist {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.linklist li {
  border-top: 1px solid var(--sc-grid);
}
/* The first row carries no rule: rows are divided, not boxed (ui-rules). On
   the 404 page this list sits at the top of the page, and that rule read as
   one directly under the green header. */
.linklist li:first-child {
  border-top: 0;
}
.linklist a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--sc-tap);
  padding: 12px 0;
  font-size: 16px;
  font-weight: var(--sc-w-medium);
  color: var(--sc-link);
  text-decoration: none;
}
.linklist a:hover {
  text-decoration: underline;
}
.linklist .dim {
  font-variant-numeric: tabular-nums;
  font-weight: var(--sc-w-regular);
}

/* for-sale-now rows: the whole row is the outbound link (ui-rules). The
   listing's title is the row's main text in link green (owner, Nov 9), one
   line with an ellipsis when long; the price holds the right edge beside
   it and the detail line sits under the title. Hairline between rows. */
.asks .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title price"
    "kind price";
  gap: 2px 12px;
  padding: 9px 0;
  border-top: 1px solid var(--sc-grid);
  font-size: var(--sc-fs-table);
  color: inherit;
  text-decoration: none;
}
.asks .atitle {
  grid-area: title;
  min-width: 0; /* a 200-character marketplace title cannot widen the row */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--sc-link);
}
.asks .row:hover .atitle {
  text-decoration: underline;
}
.asks .row:first-child {
  border-top: 1px solid var(--sc-hairline);
}
/* a filtered-out row (chart/main.ts): display:grid above beats the UA
   hidden rule, so say it again */
.asks .row[hidden] {
  display: none;
}
.asks .price {
  grid-area: price;
  align-self: center;
  font-variant-numeric: tabular-nums;
  font-weight: var(--sc-w-semibold);
  white-space: nowrap;
  color: var(--sc-link);
}
.asks .row:hover .price {
  text-decoration: underline;
}
/* a live auction (owner, Nov 14): the price reads "$812 bid" and an azure
   dot, the chart's auction mark, sits before it. A pseudo-element, so the
   script that rewrites the price text for a currency switch keeps it */
.asks .row.auction .price::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--sc-auction-ink);
  vertical-align: 1px;
}
.asks .kind {
  grid-area: kind;
  color: var(--sc-ink-2);
  font-size: var(--sc-fs-note);
}
/* the rest of the list, for readers who want more than the cheapest five;
   a disclosure, so it works with JavaScript off like the list above it */
.asks-more summary {
  display: inline-block;
  font: var(--sc-w-regular) var(--sc-fs-ui) var(--sc-sans);
  border: 1px solid var(--sc-hairline);
  border-radius: var(--sc-radius-ctl);
  background: var(--sc-paper);
  color: var(--sc-link);
  padding: 13px 16px;
  margin-top: 10px;
  cursor: pointer;
  list-style: none;
}
.asks-more summary::-webkit-details-marker {
  display: none;
}
.asks-more summary:hover {
  border-color: var(--sc-solder);
}
/* once open, every row shows and the button has nothing left to do
   (owner, Nov 15: it stayed put after a tap); the same as "Show more
   sales", which goes when the last sale shows */
.asks-more[open] > summary {
  display: none;
}
.asks .note {
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
  padding-top: 8px;
  border-top: 1px solid var(--sc-grid);
  margin: 0;
}

/* Last line before the next section rule (home "All GPUs", the compare
   link): give it room, so the note does not sit on the divider (owner,
   phone walkthrough). */
.readout {
  font-size: var(--sc-fs-table);
  color: var(--sc-ink-2);
  margin: 0 0 14px;
}
.readout b {
  color: var(--sc-ink);
  font-weight: var(--sc-w-semibold);
  font-variant-numeric: tabular-nums;
}

.method {
  margin-top: 18px;
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
  max-width: 74ch;
  line-height: 1.55;
}

/* citation block (family page): a plain ruled box, not a card */
.cite {
  border: 1px solid var(--sc-hairline);
  border-left: 3px solid var(--sc-plate);
  background: var(--sc-paper);
  padding: 12px;
}
.cite p {
  margin: 0 0 8px;
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
}
.cite .citetext {
  font-size: var(--sc-fs-table);
  color: var(--sc-ink);
  line-height: 1.45;
  margin: 0 0 10px;
}
.cite .row {
  display: flex;
  gap: 8px;
}
.cite input {
  flex: 1;
  min-width: 0;
  font: var(--sc-w-regular) var(--sc-fs-note) var(--sc-sans);
  padding: 7px 9px;
  border: 1px solid var(--sc-hairline);
  border-radius: var(--sc-radius-ctl);
  background: var(--sc-ground);
  color: var(--sc-ink);
}
.cite .ok {
  font-size: var(--sc-fs-note);
  color: var(--sc-ink);
  margin: 6px 0 0;
}

.btn {
  font: var(--sc-w-semibold) var(--sc-fs-ui) var(--sc-sans);
  padding: 8px 14px;
  border-radius: var(--sc-radius-ctl);
  border: 1px solid var(--sc-solder);
  background: var(--sc-solder);
  color: var(--sc-silk);
  cursor: pointer;
}
.btn:hover {
  background: var(--sc-solder-deep);
}

/* --------------------------------------------------------------- forms */

.request-form {
  max-width: 560px;
  display: grid;
  gap: 4px;
  margin-top: 22px;
}
.request-form label {
  display: block;
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
  margin-top: 12px;
}
.request-form label:first-of-type {
  margin-top: 0;
}
/* ui-rules "Fields": anything focusable is at least 16px, or iOS zooms the
   page when it takes focus. --sc-fs-ctl is the 16px step. */
.request-form input[type="text"],
.request-form input[type="email"],
.request-form select,
.request-form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  font: var(--sc-w-regular) var(--sc-fs-ctl) var(--sc-sans);
  padding: 10px;
  border: 1px solid var(--sc-hairline);
  border-radius: var(--sc-radius-ctl);
  background: var(--sc-paper);
  color: var(--sc-ink);
}
.request-form textarea {
  resize: vertical;
  line-height: 1.45;
}
.request-form label.consent {
  display: flex;
  gap: 9px;
  align-items: start;
  margin-top: 14px;
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
  max-width: 60ch;
  line-height: 1.45;
}
.request-form label.consent input {
  margin-top: 2px;
  accent-color: var(--sc-solder);
  width: auto;
}
.request-form .btn {
  margin-top: 16px;
  justify-self: start;
}
.request-form .thanks {
  font-size: var(--sc-fs-ui);
  color: var(--sc-ink-2);
  margin: 12px 0 0;
  max-width: 62ch;
}

/* ---------------------------------------------------------------- prose */

.prose {
  max-width: 72ch;
  font-size: var(--sc-fs-body);
  margin-top: 26px;
}
.prose h2 {
  font-size: var(--sc-fs-sub);
  color: var(--sc-ink);
  font-weight: var(--sc-w-semibold);
  margin: 22px 0 6px;
}
.prose p,
.prose li {
  line-height: 1.6;
}
.prose dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
}
.prose dt {
  font-weight: var(--sc-w-semibold);
}
.prose dd {
  margin: 0 0 8px;
  color: var(--sc-ink);
}

/* ---------------------------------------------------------------- footer */

footer.foot {
  border-top: 1px solid var(--sc-hairline);
  padding: 20px 0 34px;
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
}
footer.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: baseline;
  justify-content: space-between;
}
footer.foot p {
  margin: 0;
}
footer.foot nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* -------------------------------------------------- phone filter sheet */

@media (max-width: 899.98px) {
  /* The page must not scroll behind an open sheet. WebKit scrolls the
     viewport through <html>, so browser.js locks both elements. */
  body.sheet-open,
  html.sheet-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
  /* The rows wrap instead of scrolling sideways (owner, phone walkthrough:
     "More" and the memory filters were off-screen). Text controls keep
     their one size and 44px area on phones too (ui-rules): the tap area is
     the point, not a size the thumb needs shrunk around. */
  .frow,
  .fvariants {
    gap: 2px 4px;
  }
  .fbar,
  .fvariants {
    --sc-f-pad: 8px;
  }
  /* A very long option value (a maker, an OEM part) must not push the next
     control off-screen: the select caps its own width and truncates. */
  .frow select.faxis {
    max-width: 190px;
  }
  /* "More" opens a bottom sheet over a veil (browser.js flags the form). */
  .fpanel:not([hidden]) {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    margin: 0;
    /* Never eat the whole screen: a bottom sheet that leaves no strip of
       veil cannot be dismissed by tapping outside it (owner item 3), and
       the memory pages, with the most filters, filled 82% of an iPhone.
       The content scrolls inside instead. */
    max-height: 72vh;
    overflow: auto;
    border-radius: var(--sc-radius-sheet) var(--sc-radius-sheet) 0 0;
    box-shadow: 0 -2px 24px rgba(13, 26, 21, 0.25);
    padding: 6px var(--sc-gutter) calc(16px + env(safe-area-inset-bottom));
  }
  .fbar[data-f-open] .fveil {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 44;
    background: color-mix(in oklab, var(--sc-solder), transparent 45%);
    touch-action: none;
  }
  /* the grab bar: a wide invisible band, a small visible pill */
  .fhandle {
    display: block;
    position: relative;
    width: 100%;
    height: 26px;
    border: 0;
    background: none;
    touch-action: none; /* the drag belongs to the sheet, not the page */
    cursor: grab;
  }
  .fhandle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 11px;
    transform: translateX(-50%);
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: var(--sc-hairline);
  }
  .fclose {
    width: 100%;
    min-height: 44px;
  }
}

@media (min-width: 900px) {
  .slab {
    padding-bottom: 26px;
  }
  .topline {
    padding-top: 16px;
  }
  .hero {
    grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr);
    grid-template-areas: "lede chart";
    column-gap: 40px;
    row-gap: 0;
    padding-top: 22px;
  }
  /* product pages carry the variant row and filter row between the answer
     and the chart */
  .hero[data-product] {
    grid-template-areas:
      "lede variants"
      "lede filters"
      "lede chart";
  }
  .hero .lede {
    grid-area: lede;
    align-self: start;
  }
  .hero[data-product] .fvariants {
    grid-area: variants;
    margin-top: 0;
  }
  /* a family page with sizes: the size choice sits over the chart, as the
     filter row does on a product page */
  .hero[data-fam-sizes] {
    grid-template-areas:
      "lede sizes"
      "lede chart";
  }
  .hero[data-fam-sizes] .famsizes {
    grid-area: sizes;
    margin-top: 0;
  }
  .hero[data-product] .fbar {
    grid-area: filters;
    margin-top: 2px;
  }
  .hero .chartbox,
  .hero .sc-chart {
    grid-area: chart;
    margin-top: 2px;
    align-self: center;
  }
  /* Text controls keep one size at every width (ui-rules): the filter bar
     and the header nav are the same family on a 30-inch monitor too. */
  .frow,
  .fvariants {
    flex-wrap: wrap;
    gap: 2px 10px;
  }
  .fpanel {
    max-width: 640px;
  }
  .cols {
    grid-template-columns: minmax(0, 8fr) minmax(250px, 4fr);
    align-items: start;
  }
  aside {
    padding-block: 22px 0;
  }
  /* a page with nothing for the rail uses the full width */
  .cols:has(> aside:empty) {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero [data-family-types] {
    grid-column: 2;
    margin-top: 10px;
  }
  .fpanel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .ftoggles {
    grid-column: 1 / -1;
  }
}

/* ---- Sale drawer (spec req 6). Phones: a bottom sheet rising from the
   edge, same shape language as the filter sheet. ≥900px: a 440px panel
   docked to the right, the way classic.com docks its listing detail. The
   veil dims the page; scroll locks behind either. With JS off the element
   stays [hidden] and costs nothing. ---- */
.sc-drawer[hidden] {
  display: none;
}
.sc-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.sc-drawer-veil {
  position: absolute;
  inset: 0;
  background: rgb(10 22 18 / 0.55);
}
.sc-drawer-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 78vh;
  overflow: auto;
  background: var(--sc-paper);
  color: var(--sc-ink);
  border-radius: var(--sc-radius-sheet) var(--sc-radius-sheet) 0 0;
  border-top: 1px solid var(--sc-hairline);
  padding: 0 var(--sc-gutter-wide) calc(var(--sc-gutter-wide) + env(safe-area-inset-bottom, 0px));
  font-size: var(--sc-fs-body);
}
.sc-drawer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--sc-grid);
  position: sticky;
  top: 0;
  background: var(--sc-paper);
}
.sc-drawer-head h2 {
  margin: 0;
  font-size: var(--sc-fs-sub);
  font-weight: var(--sc-w-medium);
}
.sc-drawer-x {
  border: 0;
  background: none;
  font-size: 16px;
  color: var(--sc-ink-2);
  cursor: pointer;
  /* ui-rules: every button is 44px, made with the box, not a bigger ✕. */
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--sc-radius-ctl);
}
.sc-drawer-x:hover {
  background: var(--sc-ground);
  color: var(--sc-ink);
}
/* The drawer focuses its Close button on open so Escape and Tab land
   somewhere sensible. When a finger opened the drawer there is no keyboard
   waiting there, and the gold ring reads as a stuck highlight (owner,
   phone walkthrough): browser.js marks pointer opens and the ring stays
   for keyboard only. */
.sc-drawer-x.sc-pointer-open:focus,
.sc-drawer-x.sc-pointer-open:focus-visible {
  outline: none;
}
.sc-drawer-body .price {
  font-size: var(--sc-fs-price);
  font-weight: var(--sc-w-semibold);
  margin: 12px 0 2px;
  font-variant-numeric: tabular-nums;
}
.sc-drawer-body .kind {
  margin: 0 0 8px;
  color: var(--sc-ink-2);
  font-size: var(--sc-fs-ui);
}
.sc-drawer-body .meta {
  margin: 4px 0;
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
}
.sc-drawer-body .meta.excl {
  color: var(--sc-ink);
}
.sc-drawer-body .dtitle {
  margin: 10px 0;
  font-size: var(--sc-fs-body);
  color: var(--sc-ink);
  line-height: var(--sc-lh-body);
}
.sc-drawer-body .row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.sc-drawer-body a.quiet {
  font-size: var(--sc-fs-note);
  color: var(--sc-link);
}
.sc-drawer-body .dim {
  font-size: var(--sc-fs-note);
  color: var(--sc-ink-2);
}
body.drawer-open {
  overflow: hidden;
}
@media (min-width: 900px) {
  .sc-drawer-panel {
    left: auto;
    top: 0;
    width: min(440px, 92vw);
    max-height: none;
    height: 100%;
    border-radius: 0;
    border-left: 1px solid var(--sc-hairline);
    border-top: 0;
    padding: 0 var(--sc-gutter-wide) var(--sc-gutter-wide);
  }
}

/* ---- Home (owner redesign, Nov 7): edge-to-edge chart, then the board ---- */

/* The hero is one column at every width: the answer lines run the full
   content width (no empty left column), and the chart gets the same. The
   product layout's named areas must go too — leaving "lede chart" with one
   column would create an implicit track and starve the figure. */
@media (min-width: 900px) {
  .hero[data-home] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }
  .hero[data-home] .lede {
    grid-area: auto;
  }
  .hero[data-home] .sc-chart {
    grid-area: auto;
    margin-top: 18px;
    align-self: auto;
  }
}

/* Phones: the chart bleeds to the screen edges (the design's "edge to
   edge, no side margins"); the SVG's inside ticks (chart/plot.ts, axis
   layout "home") mean the plot area keeps no left label column either. */
.hero[data-home] .sc-chart {
  margin-inline: calc(-1 * var(--sc-gutter));
}
@media (min-width: 900px) {
  .hero[data-home] .sc-chart {
    margin-inline: 0;
  }
}

/* The one site line: body size, muted, under the quiet line. */
.site-line {
  margin: 8px 0 0;
  font-size: var(--sc-fs-body);
  color: color-mix(in oklab, var(--sc-silk), var(--sc-solder) 38%);
  max-width: 68ch;
}

/* Text-control link to the part's own page, under the chart (ui-rules:
   a set of links is a row of text controls; one here). */
.everylink {
  margin: 14px 0 0;
  font-size: var(--sc-fs-ctl);
  font-weight: var(--sc-w-medium);
}

/* ---- The hero strip (owner, Nov 8) ----
 * The home hero is a row of full dot plots, one per part, ranked by the size
 * of the part's 30-day move. The one sideways-scrolling region on the site
 * (the exception ui-rules carries): on a phone each slide is the viewport
 * minus 4.5rem, the strip bleeds to the screen edges and pads one gutter at
 * each end and snaps to a slide's start, so the current slide's text lines
 * up with the wordmark and the next one peeks about 2rem at the right edge.
 * From 1024px a slide is the site's
 * content width, its text on the wordmark's line, and the next slide waits
 * in the right margin. Each slide is a card that is one link, and a short
 * hint nudges the row once after load (owner, Nov 14). The page itself never scrolls
 * sideways (320px e2e checks this); only the strip scrolls. */
.hero-strip {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  /* Not a ruled content section (the generic `section` hairline rule): the
     strip is the top of the slab, and the reference carries no line above
     the first slide. */
  border-top: 0;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--sc-gutter);
  /* Bleed to the screen edges and pad one gutter at each end, so the
     active slide's text sits on the wordmark's line and the next slide
     peeks about 2rem. The bleed is exactly the gutter: any more and the
     page itself would scroll sideways (ui-rules keeps that forbidden). */
  margin-inline: calc(-1 * var(--sc-gutter));
  padding-inline: var(--sc-gutter);
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}
.hero-slide {
  flex: 0 0 calc(100vw - 4.5rem);
  min-width: 0;
  scroll-snap-align: start;
  display: grid;
  gap: 4px;
  /* The flex strip stretches every slide to the tallest one; keep the
     lines at the top of the slide instead of letting the grid rows share
     the extra height (that gap reads as a layout bug). */
  align-content: start;
}
/* Each slide is a card (owner, Nov 14: "it's not clear it's a carousel ...
   put each carousel item on a card"): a slightly lighter panel with a fine
   edge, so the peeking slide reads as the next card in a row. The chart
   fills the card edge to edge (its labels sit inside the plot), the words
   take the padding. The chart's casing colour follows the card, so the
   gold line keeps its cut-out look on the lighter panel. */
.hero-slide {
  --slide-pad-x: 14px;
  --slide-pad-top: 16px;
  --slide-surface: color-mix(in oklab, var(--sc-solder), var(--sc-silk) 7%);
  position: relative;
  padding: var(--slide-pad-top) var(--slide-pad-x) 12px;
  border-radius: var(--sc-radius-card);
  background: var(--slide-surface);
  /* An outline, not a border: it takes no width, so the chart can fill the
     card exactly. */
  outline: 1px solid color-mix(in oklab, var(--sc-solder), var(--sc-silk) 16%);
  outline-offset: -1px;
}
.hero[data-strip] .hero-slide .sc-chart {
  --sc-board: var(--slide-surface);
  margin-inline: calc(-1 * var(--slide-pad-x));
}
/* The whole card is one link (index.astro's .slide-cover): it lies over
   the card, chart included, and the card's own links sit above it so they
   keep their focus ring and hover. */
.slide-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}
.hero-slide .lead-sentence a,
.hero-slide .everylink a {
  position: relative;
  z-index: 3;
}
@media (hover: hover) {
  .hero-slide.is-active:hover {
    outline-color: color-mix(in oklab, var(--sc-solder), var(--sc-silk) 32%);
  }
}
/* The hint (owner, Nov 14: "give a little bounce hint upon load"): once,
   after load, the cards nudge left so the next one shows more, then settle
   back. chart/strip.ts sets data-strip-hint while it runs; never under
   prefers-reduced-motion, and never once the reader has touched the strip. */
@keyframes sc-strip-hint {
  0% {
    transform: none;
  }
  35% {
    transform: translateX(-2.75rem);
  }
  62% {
    transform: translateX(0.35rem);
  }
  80% {
    transform: translateX(-0.4rem);
  }
  100% {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  [data-strip-hint] .hero-slide {
    animation: sc-strip-hint 1.1s ease-in-out 1;
  }
}

/* The slide most in view reads at full strength; the others dim to 0.3 so
   the peeking slide reads as another panel and its axis labels never look
   like part of the current chart (chart/strip.ts sets both attributes — a
   reader without JavaScript sees every slide at full opacity). No
   transition under prefers-reduced-motion. */
[data-strip-ready] .hero-slide {
  opacity: 0.3;
}
[data-strip-ready] .hero-slide.is-active {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-strip {
    scroll-behavior: smooth;
  }
  [data-strip-ready] .hero-slide {
    transition: opacity var(--sc-dur) ease;
  }
}
@media (min-width: 1024px) {
  /* Full-bleed, with padding that puts the active slide exactly on the
     site's content column (.wrap's content box: --sc-maxw less a gutter each
     side), so its text starts on the wordmark's line and the next slide
     waits in the right margin. The snap padding matches the side padding,
     so snapping parks a slide on the column. */
  .hero-strip {
    --strip-inset: max(var(--sc-gutter), (100vw - var(--sc-maxw)) / 2 + var(--sc-gutter));
    margin-inline: calc(50% - 50vw);
    padding-inline: var(--strip-inset);
    scroll-padding-inline: var(--strip-inset);
  }
  .hero-slide {
    flex-basis: min(var(--sc-maxw) - 2 * var(--sc-gutter), 100vw - 2 * var(--sc-gutter));
    scroll-snap-align: start;
  }
}

/* A slide's chart fills its card and stops at the card's edges (rule
   above): bleeding past them would put the current chart's end label under
   the next card's text. */

/* Each slide's words (headline, quiet line, "Every … sale") are one block
   in the markup (owner, Nov 9). With no JavaScript, and below 1024px, the
   block lays out as plain contents inside the slide, exactly where the
   words always sat: the slide's grid places the block's children, and the
   two orders below keep the chart between the quiet line and the link the
   way the DOM used to. The block's only job is to be one movable unit. */
.slide-words {
  display: contents;
}
.hero-slide .sc-chart {
  order: 1;
}
.hero-slide .everylink {
  order: 2;
}

/* Desktop with JavaScript (owner, Nov 9): the words sit beside the chart
   instead of above it, the chart column is the scroller, and the words
   change in place with it. chart/strip.ts builds this on desktop only and
   takes it apart below 1024px, so nothing here applies to a phone, and
   without JavaScript the layout above stands at every width.
   The wrapper is full-bleed like the strip was: its left inset parks the
   words on the wordmark's line; the chart column runs to the right edge so
   the next chart peeks in the right margin, dimmed, as before. */
@media (min-width: 1024px) {
  .hero[data-strip][data-strip-cols] .strip-cols {
    --strip-inset: max(var(--sc-gutter), (100vw - var(--sc-maxw)) / 2 + var(--sc-gutter));
    display: grid;
    grid-template-columns: minmax(20rem, min(36%, 28rem)) minmax(0, 1fr);
    column-gap: 2rem;
    align-items: start;
    margin-inline: calc(50% - 50vw);
    padding-inline: var(--strip-inset) 0;
  }
  /* The strip itself no longer bleeds or pads: the wrapper does it, and the
     chart column's own edge is the scroller's edge. */
  .hero[data-strip][data-strip-cols] .strip-cols > .hero-strip {
    margin-inline: 0;
    padding-inline: 0;
    padding-top: 0;
    scroll-padding-inline: 0;
    grid-column: 2;
    grid-row: 1;
  }
  /* The top of the words lines up with the top of the graph (owner, Nov 9):
     the chart drops the gap it kept under the quiet line when the words sat
     above it, and the headline is trimmed to its capitals so its first line
     starts where the plot does. */
  .hero[data-strip][data-strip-cols] .hero-slide .sc-chart {
    margin-top: 0;
  }
  .strip-words .lead-sentence {
    text-box: trim-start cap alphabetic;
  }
  /* The plot itself starts 16px inside the chart (chart/plot.ts, desktop
     margins t: 16), and the chart sits a card's top padding into its card;
     the words start where the plot does. */
  .strip-words {
    padding-top: 32px;
  }
  /* A slide is as wide as the chart column less the peek (about 2rem plus
     the gap), so the next chart waits at the right edge. */
  .hero[data-strip][data-strip-cols] .hero-slide {
    flex-basis: calc(100% - 3.25rem);
  }
  /* The words column: one block per slide, stacked in the same cell; only
     the active one shows (aria-hidden is set by the script). Top aligned
     with the top of the plot, which is the top of the chart row. */
  .strip-words {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    min-width: 0;
  }
  .strip-words .slide-words {
    /* Back to a real box here (from `contents` inside the slide): the
       blocks stack, and the opacity swap has something to sit on. */
    display: grid;
    grid-area: 1 / 1;
    gap: 8px;
    align-content: start;
    visibility: hidden;
    opacity: 0;
  }
  .strip-words .slide-words.is-said {
    visibility: visible;
    opacity: 1;
  }
  @media (prefers-reduced-motion: no-preference) {
    .strip-words .slide-words {
      transition:
        opacity 150ms ease,
        visibility 0s linear 150ms;
    }
    .strip-words .slide-words.is-said {
      transition: opacity 150ms ease;
    }
  }
  /* The site's lead size, as on the product pages and the phone strip: the
     column has the height for three lines, and one headline size across the
     site reads as one site. */
  .strip-words .lead-sentence {
    max-width: none;
  }
  .strip-words .everylink {
    /* The block is a box again, so the slide's grid order is moot here. */
    margin-top: 4px;
  }
  /* The arrows under the chart (with the columns the strip gained them:
     a chart cycling on its own needs a way to turn the page by hand).
     ui-rules buttons: 44px, outline, one radius. */
  .strip-nav {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    display: flex;
    gap: 8px;
    margin-top: 2px;
  }
  .strip-nav button {
    height: 44px;
    min-width: 44px;
    padding: 0 12px;
    border-radius: var(--sc-radius-ctl);
    border: 1px solid color-mix(in oklab, var(--sc-silk), var(--sc-solder) 45%);
    background: none;
    color: var(--sc-silk);
    font: var(--sc-w-medium) var(--sc-fs-ctl) var(--sc-sans);
    cursor: pointer;
  }
  .strip-nav button:hover {
    background: var(--sc-solder-deep);
  }
}

/* With the strip the site line sits under it (DOM first for screen
   readers, CSS order for the eye); without one it follows the lede. */
.hero[data-home][data-strip] > .site-line {
  order: 2;
  margin-top: 18px;
}
.hero[data-home][data-strip] > .hero-strip {
  order: 1;
}
/* With the desktop columns the strip's wrapper is the hero's child, so it
   takes the place (under the site line's rule) the strip itself held. */
.hero[data-home][data-strip] > .strip-cols {
  order: 1;
}

/* The board: category groups of whole-row links. Phone: name and typical
   on the first line, sparkline and change on the second. ≥1024px: two
   columns of groups, each row a five-column grid with quiet headers. */
.board {
  padding-top: 4px;
}
/* The board needs no rule above its first group when it is the first thing
   under the slab: the colour change already separates them. */
main.wrap > .board:first-child > section:first-child {
  border-top: 0;
}
.board-group h2 a {
  text-decoration: none;
}
.board-group h2 a:hover {
  text-decoration: underline;
}
.board-head {
  display: none;
}
.board-row {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name price"
    "spark change";
  column-gap: 12px;
  row-gap: 3px;
  align-items: baseline;
  padding: 10px 0 11px;
  border-top: 1px solid var(--sc-grid);
  text-decoration: none;
  color: var(--sc-ink);
}
.board-row:hover .b-name {
  text-decoration: underline;
}
.b-name {
  grid-area: name;
  color: var(--sc-link);
  font-weight: var(--sc-w-medium);
  min-width: 0;
}
.b-spark {
  grid-area: spark;
  display: block;
  align-self: center;
  min-width: 0;
}
/* The baked box is 160×28; a narrow column may shrink the drawing (the
   viewBox keeps the stroke proportional) rather than widen the row. */
.b-spark .sc-spark {
  width: 100%;
  max-width: 160px;
  height: auto;
}
.b-price {
  grid-area: price;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: var(--sc-w-medium);
  white-space: nowrap;
}
.b-change {
  grid-area: change;
  text-align: right;
  color: var(--sc-ink-2);
  font-size: var(--sc-fs-table);
}
.b-sales {
  display: none;
}
.sc-spark {
  display: block;
}
.sc-spark .sc-spark-line {
  stroke: var(--sc-solder);
}
.sc-spark .sc-spark-dot {
  fill: var(--sc-plate);
}
.requestline {
  margin: 18px 0 0;
  font-size: var(--sc-fs-ui);
}
.requestline a {
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
  }
  .requestline {
    grid-column: 1 / -1;
  }
  /* The group column is ~half the page (~544px at full width). The number
     columns are sized to the widest figure they hold ("C$8,850",
     "down 2.6%", "331 in 14 days"), and the part name gets its width FIRST:
     the sparkline column is narrow (its 160px bake scales down to it, which
     costs nothing — it has no text), so even "Threadripper PRO 5995WX"
     reaches one line at 1440px (owner, Nov 7 review). Long names still wrap
     inside their column rather than push the numbers onto a new line. */
  .board-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 80px) 66px 82px 92px;
    column-gap: 8px;
    padding: 8px 0 2px;
    font-size: var(--sc-fs-note);
    color: var(--sc-ink-2);
  }
  .board-head .n {
    text-align: right;
  }
  .board-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 80px) 66px 82px 92px;
    grid-template-areas: "name spark price change sales";
    column-gap: 8px;
    align-items: center;
  }
  .b-sales {
    display: block;
    text-align: right;
    color: var(--sc-ink-2);
    font-size: var(--sc-fs-table);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
}
