/* Buy It Once — one stylesheet, no framework, no external fonts.
   Palette and type taken from the design prototype:
     ink #1E2B27 · sub #5E685F · line #DAD5C8 · paper #F4F2EC · card #fff
     bottle #1D4A3C · patina #4E7D68 · copper #B0622D · rust #A03A2B
   The ink is a green-black rather than a neutral one, and the paper is warm;
   together they are most of why the site reads as paper and not as an app.
   Data is set in a monospace face because the numbers on this site are meant
   to be compared down a column, not admired. */

/* ------------------------------------------------------------------ fonts
   Three faces, self-hosted, subset to latin and latin-ext. Oswald and Source
   Sans 3 ship as variable fonts, so one file covers every weight the design
   uses and the weight range is declared rather than the weight. IBM Plex Mono
   is static, two weights. Nothing here touches the network. */

@font-face {
  font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900;
  font-display: swap; src: url("/static/fonts/source-sans-3-var-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900;
  font-display: swap; src: url("/static/fonts/source-sans-3-var-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Oswald'; font-style: normal; font-weight: 200 700;
  font-display: swap; src: url("/static/fonts/oswald-var-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald'; font-style: normal; font-weight: 200 700;
  font-display: swap; src: url("/static/fonts/oswald-var-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/static/fonts/ibm-plex-mono-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/static/fonts/ibm-plex-mono-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600;
  font-display: swap; src: url("/static/fonts/ibm-plex-mono-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600;
  font-display: swap; src: url("/static/fonts/ibm-plex-mono-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1E2B27;
  --sub: #5E685F;
  --line: #DAD5C8;
  --bg: #F4F2EC;
  --card: #fff;
  --soft: #EDEAE0;
  --green: #1D4A3C;
  --bottle: #1D4A3C;
  --patina: #4E7D68;
  --copper: #A65A28;
  --red: #A03A2B;
  --amber: #8a6a1f;

  /* Header and footer sit on the bottle green; these are the only colours
     that read against it. */
  --on-dark: #F4F2EC;
  --on-dark-dim: #BFD4C8;
  --on-dark-link: #EDF3EE;
  --on-dark-kick: #E0A968;
  --dark-line: #143528;

  --body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: 'Oswald', 'Source Sans 3', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--body);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}
/* The default green ring is invisible on the bottle-green masthead and footer
   (--green and --bottle are the same hex), so the primary nav and search show
   no focus at all. Give the dark chrome a paper-coloured ring instead. */
header.site :focus-visible,
footer.site :focus-visible { outline-color: var(--on-dark); }

/* Skip link: the first tab stop, hidden until focused, so keyboard and
   low-vision users can jump past the nav to the page body. */
.skip {
  position: absolute; left: 8px; top: -48px;
  background: var(--green); color: var(--on-dark);
  padding: 8px 14px; border-radius: 0 0 6px 6px; z-index: 100;
  transition: top .12s ease;
}
.skip:focus { top: 0; text-decoration: none; }

/* Visually hidden but read by screen readers — for labels a sighted reader
   infers from context (an icon-only or link-only column header). */
.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- header
   One bottle-green bar: wordmark, nav, search. The prototype runs the whole
   header on a single wrapping row rather than stacking tabs underneath, which
   is what makes the chrome read as a masthead. */

header.site {
  background: var(--bottle);
  border-bottom: 1px solid var(--dark-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* The header markup nests the wordmark, tagline and search box in a brandbar
   with the nav as a sibling. `display: contents` flattens that so all four sit
   on the one flex row; `order` then restores the reading order the design
   wants — wordmark, nav, search — without moving the markup. */
.brandbar { display: contents; }
.wordmark { order: 0; }
.tag { order: 1; }
nav.tabs { order: 2; }
.search { order: 3; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.wordmark:hover { text-decoration: none; }
.wordmark .mark { color: var(--on-dark); flex: none; }

.tag { color: var(--on-dark-dim); font-size: 13px; }

.search { margin-left: auto; }
.search input {
  font: inherit;
  font-size: 13.5px;
  width: 240px;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}

nav.tabs { display: flex; gap: 4px 16px; flex-wrap: wrap; align-items: center; }
nav.tabs a {
  color: var(--on-dark-dim);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 5px;
}
nav.tabs a:hover { color: #fff; text-decoration: underline; }
nav.tabs a.on { color: #fff; text-decoration: underline; }

main { padding: 26px 16px 64px; }

/* ------------------------------------------------------------- typography
   Oswald sets the headings, Source Sans 3 the body, IBM Plex Mono anything
   that is a measurement. */

h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
h2 { font-family: var(--display); font-weight: 600; font-size: 22px; margin: 30px 0 10px; }
h3 { font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }
p { margin-bottom: 10px; }

/* The copper eyebrow that titles each block of a record. */
.kicker {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: 26px;
  margin-bottom: 8px;
}

.lede { color: var(--sub); max-width: 66ch; margin-bottom: 18px; }
.lede strong { color: var(--ink); }
.fine { font-size: 12.5px; color: var(--sub); }
.empty { color: var(--sub); font-style: italic; padding: 10px 0; }
.ok { color: var(--green); font-weight: 600; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--soft); padding: 1px 4px; border-radius: 3px; }

.crumbs { font-size: 12.5px; color: var(--sub); margin-bottom: 12px; }
.meta { font-size: 12.5px; color: var(--sub); display: flex; gap: 12px; flex-wrap: wrap; }

.banner {
  background: #fdf8ec;
  border: 1px solid #e8dcbc;
  border-left: 3px solid var(--copper);
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 13.5px;
  margin: 14px 0;
}
.banner.warn { background: #fdf1f0; border-color: #eccdc9; border-left-color: var(--red); }

/* ------------------------------------------------------------------ chips */

.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid;
}
/* A grade has a colour, and separately it may be drawn as a chip. Keeping the
   two apart means a grade can be set inline — in a card row, on a scale rail,
   inside a sentence — without dragging a chip's background along with it. */
.g-good    { color: var(--green); }
.g-ok      { color: var(--bottle); }
.g-mid     { color: var(--amber); }
.g-bad     { color: var(--red); }
.g-unknown { color: var(--sub); }

.chip.g-good    { border-color: #b8d5c6; background: #f0f7f3; }
.chip.g-ok      { border-color: #cfdcd6; background: #f4f8f6; }
.chip.g-mid     { border-color: #e3d6b0; background: #fbf7ec; }
.chip.g-bad     { border-color: #e8c8c4; background: #fdf3f2; }
.chip.g-unknown { border-color: var(--line); background: var(--soft); }

.conf { font-size: 11.5px; font-family: var(--mono); padding: 0 4px; border-radius: 3px; }
.cf-high   { color: var(--green); background: #f0f7f3; }
.cf-medium { color: var(--sub);   background: var(--soft); }
.cf-low    { color: var(--amber); background: #fbf7ec; }

.trust {
  display: inline-block; width: 16px; text-align: center;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  text-transform: uppercase; border-radius: 3px;
}
.t-a { background: #e6f2eb; color: var(--green); }
.t-b { background: #eef3f0; color: var(--bottle); }
.t-c { background: var(--soft); color: var(--sub); }
.t-d { background: #fbf1ec; color: var(--copper); }

.status { font-size: 12px; }
.st-rising  { color: var(--green); }
.st-falling { color: var(--red); }
.st-steady, .st-vintage { color: var(--sub); }

.maturity { font-size: 11.5px; font-family: var(--mono); padding: 0 5px; border-radius: 3px; background: var(--soft); color: var(--sub); }
.m-established { background: #e6f2eb; color: var(--green); }
.m-mature { background: #eef3f0; color: var(--bottle); }

.warn { color: var(--red); font-size: 12px; font-weight: 600; }
.count { font-family: var(--mono); font-size: 11.5px; color: var(--sub); }
.kindtag { font-size: 11.5px; color: var(--sub); background: var(--soft); padding: 0 5px; border-radius: 3px; }
.paid   { font-size: 11.5px; color: var(--copper); border: 1px solid #e6d2c0; padding: 0 5px; border-radius: 3px; }
.unpaid { font-size: 11.5px; color: var(--sub); border: 1px solid var(--line); padding: 0 5px; border-radius: 3px; }

/* ------------------------------------------------------------------ cards */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--bottle); box-shadow: 0 3px 14px rgba(30,43,39,.10); }

/* Stretched over the whole card. Anything that needs its own destination sits
   above it with position:relative and a z-index. */
.cardlink { position: absolute; inset: 0; border-radius: 8px; }
.cardlink:hover { text-decoration: none; }

.cardhead { display: flex; gap: 10px; align-items: flex-start; }
.cardhead > div { flex: 1; min-width: 0; }
.brandname { font-family: var(--mono); font-size: 12px; color: var(--sub); margin: 0; }
.card h3 { font-size: 16px; font-weight: 600; line-height: 1.3; margin: 2px 0 0; }
.era { font-size: 12.5px; color: var(--sub); }

.cardprice {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  margin: 0;
}
.cardprice .big { font-weight: 700; font-size: 17px; }
.cardprice .sub { font-size: 12px; color: var(--sub); }

.cardgrades {
  display: flex;
  align-items: center;
  gap: 4px 10px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--sub);
  margin: 0;
}
.cardgrades .ringwrap { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.pill { font-size: 12px; font-weight: 600; border: 1px solid; border-radius: 999px; padding: 0 8px; line-height: 1.6; }

.take { font-size: 13px; color: var(--sub); line-height: 1.45; margin: auto 0 0; }
.take.big {
  font-size: 16px; color: var(--ink);
  border-left: 3px solid var(--copper);
  padding-left: 12px; margin: 12px 0;
}
.cardfoot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  border-top: 1px solid #EFECE2; padding-top: 8px; margin: 2px 0 0;
}
.cardfoot .more { font-size: 12.5px; font-weight: 600; color: var(--bottle); }

/* Image slots. The prototype ships no photography at all, so every slot on
   this site is empty by design for now; this is the frame that holds the
   space, keeps the layout honest about where a picture goes, and carries the
   alt text when one arrives. */
.imgslot {
  display: block;
  background: var(--soft);
  border: 1px dashed #C9C3B2;
  border-radius: 6px;
  flex: none;
}
.imgslot.mini    { width: 54px; height: 54px; border-radius: 6px; }
.imgslot.catalog { width: 100%; height: 165px; border-radius: 8px; }
/* An empty catalogue frame is quieter and shorter than a real photograph would
   be — it holds the place without dominating the header the way a 165px dashed
   void did when it sat above the (now conditional) owner shot. */
span.imgslot.catalog { height: 132px; }

/* A filled slot: a real photograph rather than the dashed frame. contain, not
   cover — a catalogue shows the whole object, so a tall tumbler or a wide belt
   is fitted inside the frame rather than cropped to fill it. The white plate
   sits behind any letterboxing and covers transparent PNG margins. (contain
   also matches .brandmark below, which carries .shot; without it this rule's
   higher specificity would crop wide brand wordmarks.) */
img.imgslot.shot {
  object-fit: contain;
  border: 1px solid #D9D3C4;
  background: #fff;
}
.imgslot.brandmark {
  float: right;
  width: 132px; height: 132px;
  margin: 0 0 12px 18px;
  border-radius: 10px;
  /* A logo is not a photo — fit the whole mark, whatever its shape, on a clean
     plate rather than cropping it to fill a square. */
  object-fit: contain;
  background: #fff;
  padding: 12px;
}
/* The small mark in front of a brand name on the board. A fixed landscape box
   (contain, not crop) so a square emblem and a wide wordmark both read, and the
   names still start at a consistent x down the column. */
.brandmark-sm {
  width: 40px; height: 22px;
  object-fit: contain;
  object-position: left center;
  vertical-align: -6px;
  margin-right: 10px;
}
/* Where a catalogue photo came from, set under the shot pair in mono, quiet. */
.shotsrc { font-family: var(--mono); font-size: 11px; color: var(--sub); }
.shotsrc a { text-transform: capitalize; }

/* The record header: the words on the left, the catalogue shot on the right,
   vertically centred so a short verdict no longer strands a tall gap beside the
   image. Below ~570px the shot drops under the text (flex-wrap) rather than
   squeezing it. */
.dhead { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.dhead-text { flex: 1; min-width: 270px; }
.dhead-shots {
  display: flex; flex-direction: column; gap: 8px;
  width: min(280px, 100%); flex-shrink: 0;
}
/* The wiki record reuses the header block but has no shots column — its
   children are the title, tl;dr and meta line, which must stack, not sit in a
   flex row beside each other. Force block flow there. */
.wiki > .dhead { display: block; }
/* The brand header floats a wordmark to the right; establish a block formatting
   context so the mark is contained and the first table can never render beside
   and collide with it on a short-summary brand. */
.brandhead { display: flow-root; }
/* An empty hero panel should read as intentional whitespace, not a broken or
   still-loading image: solid field, no dashed "missing asset" border. Same for
   the small empty card slot, so a grid of photoless records does not shout a
   dashed swatch on every card. */
.imgslot.hero-img { border: 1px solid var(--line); background: var(--soft); }
span.imgslot.mini { border-style: solid; border-color: var(--line); }

/* Admin verification queue: one card per record awaiting the publication gate,
   with the warranty clause to read and a named-sign-off form. */
.vrow { border: 1px solid var(--line); border-radius: 8px; background: var(--card); padding: 16px 18px; margin: 14px 0; }
.vhead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.vhead h2 { margin: 0; font-size: 18px; }
.vera { font-family: var(--mono); font-size: 12px; color: var(--sub); }
.vterm { color: var(--sub); }
.vmeta { margin: 8px 0 12px; }
.vact { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.vact label { font-size: 13px; color: var(--sub); display: flex; align-items: center; gap: 8px; }
.vact input { font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); min-width: 200px; }

/* Compare candidate cards. Choosing a side completes the comparison instead of
   opening the product, so each is a link back to /compare with both slugs. */
.pickcard {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
}
.pickcard:hover { border-color: var(--green); text-decoration: none; }
.pickname { font-weight: 600; }
.pickcta { color: var(--green); }

/* Wide data tables scroll inside themselves on a narrow screen rather than
   pushing the page body sideways — the guarantee .tablewrap already gives the
   ranked and compare tables, extended to every data table at once. */
@media (max-width: 640px) {
  table.data { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.shotcap { font-family: var(--mono); font-size: 11px; color: var(--sub); }

/* Cite this record. */
.citebox {
  display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
}
.citebox code {
  flex: 1; min-width: 250px;
  background: none; padding: 0;
  font-size: 12.5px; line-height: 1.55;
  white-space: pre-wrap;
}
.btn.copy { background: #fff; color: var(--bottle); }
.btn.copy:hover { background: var(--bottle); color: #fff; }

/* ---------------------------------------------------------------- aisles */

.deptgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.dept ul { list-style: none; font-size: 13.5px; }
.dept li { display: flex; justify-content: space-between; padding: 1px 0; }
.verdict { font-size: 12.5px; color: var(--sub); border-left: 2px solid var(--copper); padding-left: 7px; margin-bottom: 6px; }

/* --------------------------------------------------------------- figures */

/* The metric strip: one bordered card holding every headline number, so the
   comparison a reader makes is between columns and not between sections. */
.figures {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 16px 0;
}
.fig { display: flex; flex-direction: column; }
.fig.ring { flex-direction: row; align-items: center; gap: 10px; }
.fig.ring > div { display: flex; flex-direction: column; }
.figlabel {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.fignum { font-family: var(--mono); font-size: 21px; font-weight: 600; line-height: 1.2; }
.fignum.word { font-family: var(--body); font-size: 15px; line-height: 2; }
.figof { font-size: 13px; color: var(--sub); font-weight: 400; }
.fighint { font-size: 12px; color: var(--sub); max-width: 210px; line-height: 1.4; }

.fignum.grade-g-good { color: var(--green); }
.fignum.grade-g-ok   { color: var(--ink); }
.fignum.grade-g-mid  { color: var(--amber); }
.fignum.grade-g-bad  { color: var(--red); }
.fignum.grade-g-unknown { color: var(--sub); }

.ringtrack { fill: none; stroke: #E7E3D6; stroke-width: 2.6; }
.ringarc {
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 10px 10px;
}

/* Owner check-ins: the alive/failed split, read as one bar rather than as two
   numbers a reader has to divide in their head. */
.checkins {
  display: flex;
  gap: 8px 22px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 18px;
  margin: -8px 0 20px;
}
.ckick {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
}
.ckbar {
  flex: 1;
  min-width: 160px;
  max-width: 380px;
  height: 8px;
  border-radius: 4px;
  background: #EFECE2;
  overflow: hidden;
  display: flex;
}
.ckalive { display: block; background: var(--patina); }
.ckfail  { display: block; background: var(--red); }
.cknum { font-family: var(--mono); font-size: 12.5px; }

/* ---------------------------------------------------------------- tables */

table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 8px 0; }
table.data th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--sub); border-bottom: 1px solid var(--line); padding: 6px 8px 5px; font-weight: 600;
}
table.data td { border-bottom: 1px solid var(--line); padding: 7px 8px; vertical-align: top; }
table.data tr:hover td { background: var(--soft); }
table.data tr.weakest td { background: #fdf8ec; }
table.data tr.disputed td, table.data tr.down td { background: #fdf3f2; }
table.data td.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------------- lists */

.notes { list-style: none; }
.notes li { padding: 4px 0 4px 14px; position: relative; font-size: 13.5px; }
.notes li::before { content: "—"; position: absolute; left: 0; color: var(--sub); }
.notes.big li { font-size: 14.5px; padding-bottom: 7px; }

.basis { list-style: none; font-size: 13px; }
.basis li { padding: 2px 0 2px 14px; position: relative; }
.basis li::before { content: "·"; position: absolute; left: 4px; color: var(--sub); }

.entries { list-style: none; }
.entries li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.entries li > a { font-weight: 600; margin-right: 8px; }

/* Field reports are quotes, so they are set as quotes: one card each, the
   attribution under the words rather than in front of them. */
.reportgrid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  margin-top: 10px;
}
.report {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
}
.report p { margin: 0 0 8px; line-height: 1.5; }
.report p::before { content: "\201C"; }
.report p::after  { content: "\201D"; }
.report footer {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--sub);
  display: flex;
  gap: 6px 10px;
  flex-wrap: wrap;
  align-items: center;
}

.outcome { font-family: var(--mono); font-size: 11.5px; padding: 0 5px; border-radius: 3px; margin-right: 6px; }
.o-alive, .o-repaired, .o-claim_honoured { background: #f0f7f3; color: var(--green); }
.o-failed, .o-claim_denied { background: #fdf3f2; color: var(--red); }
.plat, .when { font-size: 12px; color: var(--sub); margin: 0 6px; font-family: var(--mono); }

.timeline { list-style: none; border-left: 2px solid var(--line); padding-left: 14px; }
.timeline li { padding: 6px 0; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -19px; top: 12px;
  width: 7px; height: 7px; border-radius: 4px; background: var(--line);
}
.timeline li.boundary::before { background: var(--copper); width: 9px; height: 9px; left: -20px; }
.timeline .when { display: inline-block; min-width: 88px; }
.timeline .what { font-weight: 500; }

.corrections { list-style: none; font-size: 13.5px; }
.corrections li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.corrections.big li { font-size: 14.5px; padding: 8px 0; }
.credit { color: var(--sub); font-size: 12.5px; }

.rels { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.rel { color: var(--sub); font-size: 12px; }
.backlinks, .srclist { list-style: none; font-size: 13.5px; }
.backlinks li, .srclist li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.srclist .src { font-weight: 600; margin-right: 6px; }

.attrs { list-style: none; font-size: 13px; }
.attr { padding: 8px 0; border-bottom: 1px solid var(--line); }
.attr .src { font-weight: 600; margin-right: 6px; }
.attr .method { font-family: var(--mono); font-size: 11.5px; color: var(--sub); margin: 0 6px; }
.attr .note { display: block; color: var(--sub); font-size: 12.5px; margin-top: 2px; }

blockquote { font-size: 13px; color: var(--sub); border-left: 2px solid var(--line); padding-left: 10px; margin: 5px 0; }
blockquote.clause { font-size: 15px; color: var(--ink); border-left-color: var(--copper); border-left-width: 3px; padding: 4px 0 4px 12px; margin: 10px 0; }
blockquote.clause cite { display: block; font-size: 12.5px; font-style: normal; margin-top: 4px; }
blockquote.ev { font-size: 12px; margin-top: 4px; }

/* ------------------------------------------------------------------ wiki */

.tldr { font-size: 16.5px; color: var(--ink); border-left: 3px solid var(--bottle); padding-left: 12px; margin: 8px 0 12px; }
.prose { max-width: 68ch; margin: 14px 0; }
.prose p { margin-bottom: 12px; }
.prose h2, .prose h3 { margin-top: 20px; }
.prose ul { margin: 0 0 12px 20px; }

.kindgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.kindcard {
  border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px;
  background: var(--card); color: inherit; display: block;
}
.kindcard:hover { text-decoration: none; border-color: #c7c4ba; }
.kindcard h3 { display: flex; justify-content: space-between; align-items: baseline; }
.kindcard p { font-size: 12.5px; color: var(--sub); margin: 0; }

.wikisearch { display: flex; gap: 8px; margin: 14px 0 20px; }
.wikisearch input { flex: 1; font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }

/* -------------------------------------------------------------- specials */

/* Material scales. Each rail is the set of materials that compete for one
   job, worst to best, with the one this record is made of marked. The line
   behind the dots is drawn on the list rather than per item so it does not
   restart between stops. */
.scales {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 14px;
}
.scale {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px 12px;
}
.scalelabel { font-weight: 600; font-size: 13px; margin: 0 0 18px; }

.scalerail {
  list-style: none;
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0;
}
.scalerail::before {
  content: "";
  position: absolute;
  left: 8px; right: 8px; top: 20px;
  height: 2px;
  background: var(--line);
}
.scalerail li {
  flex: 1;
  min-width: 0;
  padding: 0 3px;
  text-align: center;
  position: relative;
}
.scalerail .marker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--copper);
  white-space: nowrap;
}
.scalerail li:not(.mine) .marker { visibility: hidden; }
.scalerail li::before { content: ""; display: block; height: 16px; }
.scalerail li.mine::before { display: none; }

.scalerail .dot {
  display: block;
  width: 10px; height: 10px;
  border-radius: 5px;
  margin: 0 auto 4px;
  border: 2px solid var(--card);
  position: relative;
  z-index: 1;
  background: var(--sub);
}
.scalerail .dot.g-good { background: var(--green); }
.scalerail .dot.g-ok   { background: var(--patina); }
.scalerail .dot.g-mid  { background: var(--amber); }
.scalerail .dot.g-bad  { background: var(--red); }

.scalerail .sname { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; }
.scalerail .sgrade { display: block; font-family: var(--mono); font-size: 12px; font-weight: 700; }
.scalerail li.mine .sname { text-decoration: underline; text-underline-offset: 3px; }

.scaleends {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--sub); margin: 6px 0 0;
}

/* A documented brand change, with the two eras it sits between. The panel is
   set on the soft paper rather than on card white so it reads as an argument
   about the record rather than as another block of the record. */
.shift {
  background: var(--soft);
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 16px;
  margin: 20px 0;
}
.shiftyear {
  font-family: var(--display);
  font-size: 11.5px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--red); margin: 0;
}
.shifthead { font-family: var(--body); font-size: 17px; font-weight: 700; margin: 2px 0 4px; }
.shiftnote { font-size: 14px; line-height: 1.55; max-width: 880px; margin: 0 0 12px; }

.erapair { display: flex; gap: 10px; flex-wrap: wrap; }
.eracard {
  flex: 1; min-width: 230px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--sub);
  border-radius: 6px;
  padding: 11px 13px;
  color: var(--ink);
}
.eracard:hover { text-decoration: none; border-color: var(--bottle); }
.eracard.e-then { border-top-color: var(--patina); }
.eracard.e-now  { border-top-color: var(--red); }
.eracard.here   { box-shadow: inset 0 0 0 1px var(--line); }
.eralabel { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.e-then .eralabel { color: var(--patina); }
.e-now  .eralabel { color: var(--red); }
.eraname { font-weight: 600; font-size: 14px; }
.eramat  { font-size: 13px; }
.erastats { font-family: var(--mono); font-size: 12.5px; line-height: 1.6; margin-top: 6px; }

.howscored { margin: 14px 0; font-size: 13.5px; }
.howscored summary { cursor: pointer; color: var(--green); font-size: 13.5px; }

.watches { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.watchcard { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; }
.watchcard h2 { margin: 0 0 6px; font-size: 16px; }

.flagbox { background: var(--soft); border-radius: 6px; padding: 14px 16px; margin-top: 26px; }
.flagbox label { display: block; font-size: 13px; margin-bottom: 8px; }
.flagbox select, .flagbox textarea {
  display: block; width: 100%; max-width: 460px; font: inherit; font-size: 13.5px;
  padding: 6px 8px; border: 1px solid var(--line); border-radius: 5px; background: #fff; margin-top: 3px;
}
.flagbox button, .btn {
  font: inherit; font-size: 13.5px; padding: 5px 12px; border-radius: 5px;
  border: 1px solid var(--bottle); background: var(--bottle); color: #fff; cursor: pointer;
}
.btn:hover { text-decoration: none; background: #17392e; }

/* The price check: the one call to action on a record page that leaves the site. */
.pricecheck { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 12px; }
.pricecheck .fine { flex: 1; min-width: 240px; margin: 0; }
.btn.pcbtn { padding: 9px 18px; font-size: 14.5px; font-weight: 600; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

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

footer.site {
  background: var(--bottle);
  border-top: 1px solid var(--dark-line);
  margin-top: 34px;
  padding: 30px 0;
}
footer.site .wrap { display: flex; gap: 28px 44px; flex-wrap: wrap; }

.fkick {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-kick);
  margin: 0 0 8px;
}
.fcol { min-width: 150px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.fcol a { color: var(--on-dark-link); }

.fnote { flex: 1; min-width: 250px; font-size: 12.5px; color: var(--on-dark-dim); line-height: 1.65; }
.fnote strong { color: var(--on-dark); }
.fnote p { margin-bottom: 8px; }
.fnote code { background: rgba(255,255,255,.12); color: var(--on-dark); }

/* -------------------------------------------------------------- rankings */

.deptchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 12px; }
.deptchips a {
  font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 4px 12px; color: var(--ink);
}
.deptchips a:hover { text-decoration: none; border-color: var(--bottle); }
.deptchips a.on { background: var(--bottle); border-color: var(--bottle); color: #fff; }

/* Ten columns will not fit a phone. Scroll the table inside its own box
   rather than letting it push the whole page sideways — a body that scrolls
   horizontally makes every other page element feel broken too. */
.tablewrap { overflow-x: auto; }
table.ranked { font-size: 13px; min-width: 720px; }
table.data caption { text-align: left; padding-bottom: 8px; }
table.ranked td { vertical-align: middle; }
.rbrand { display: block; font-size: 12px; color: var(--sub); }
.rera   { font-size: 12.5px; color: var(--sub); }
.renv   { font-family: var(--mono); font-size: 12.5px; color: var(--sub); }
.rscore { font-weight: 700; }

/* The price map. */
.chart { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart figcaption { margin-top: 6px; }

.chartkey { display: flex; gap: 6px 16px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--sub); }
.chartkey .dot { display: inline-block; width: 10px; height: 10px; border-radius: 5px; margin-right: 4px; vertical-align: middle; }
.chartkey .dot.hollow { background: #fff; border: 2px solid var(--sub); }
.chartkey .rule { display: inline-block; width: 16px; border-top: 2px dashed var(--copper); margin-right: 4px; vertical-align: middle; }

.gridline { stroke: #EFECE2; }
.medline  { stroke: var(--copper); stroke-dasharray: 4 4; opacity: .7; }
.axis     { font-family: var(--mono); font-size: 12px; fill: var(--sub); }
.axis.end   { text-anchor: end; }
.axis.mid   { text-anchor: middle; }
.axis.start { text-anchor: start; }
.axis.med   { fill: var(--copper); }
.ptlabel { font-family: var(--mono); font-size: 12px; fill: var(--ink); paint-order: stroke; stroke: var(--card); stroke-width: 3px; }
.pt { opacity: .92; cursor: pointer; }
.pt:hover { opacity: 1; }
.chart a:focus-visible .pt { outline: 2px solid var(--green); }

/* ------------------------------------------------- materials and health */

.ledgerhead { font-size: 14px; font-weight: 700; margin: 18px 0 6px; }
table.ledger { font-size: 13px; }
table.ledger .mname { font-weight: 600; }
table.flags .rera { display: block; }
.nowrap { white-space: nowrap; }
.nothread { color: var(--sub); font-style: italic; }

/* ------------------------------------------------------ data and compare */

.dataget { display: flex; gap: 12px 16px; align-items: center; flex-wrap: wrap; margin: 16px 0 8px; }

.fielddict { background: var(--card); border: 1px solid var(--line); border-radius: 6px; max-width: 880px; }
.fieldrow {
  display: flex; gap: 6px 14px; flex-wrap: wrap;
  padding: 8px 14px; border-bottom: 1px solid #EFECE2;
}
.fieldrow:last-child { border-bottom: 0; }
.fieldrow code { min-width: 200px; background: none; padding: 0; color: var(--bottle); font-size: 12.5px; }
.fieldrow .fine { flex: 1; min-width: 220px; }

.cmpwrap { overflow-x: auto; }
table.cmp { min-width: 620px; }
table.cmp thead th { vertical-align: top; font-size: 15px; text-transform: none; letter-spacing: 0; }
table.cmp thead th .imgslot { display: block; width: 100%; height: 92px; margin-bottom: 8px; }
.cmplabel {
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  color: var(--sub); text-transform: none; letter-spacing: 0;
  width: 180px; text-align: left;
}
/* The comparison reads across a row, so its numbers stay left-aligned under
   their own column heading rather than being pushed to the far edge of it by
   the table-wide numeric alignment. */
table.cmp td.num { text-align: left; }
table.cmp td.win { font-weight: 700; }

.cmpform { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
.cmpform select {
  font: inherit; font-size: 13.5px; padding: 6px 8px;
  border: 1px solid var(--line); border-radius: 4px; background: #fff; max-width: 100%;
}

/* --------------------------------------------- anti-canon and repair hub */

.acgrid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 12px;
}
.accard {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--sub);
  border-radius: 6px;
  padding: 14px 16px;
}
.accard.down { border-top-color: var(--red); }
.accard.up   { border-top-color: var(--patina); }
.accard h3 { font-size: 15.5px; font-weight: 700; line-height: 1.3; margin: 3px 0 6px; }

.acwhen { font-family: var(--mono); font-size: 12px; font-weight: 600; margin: 0; color: var(--sub); }
.down .acdelta { color: var(--red); }
.up   .acdelta { color: var(--patina); }

.aclabel {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--sub);
  margin-right: 4px;
}
.acwas, .acnow, .acnote { font-size: 13.5px; line-height: 1.5; margin: 0 0 4px; }
.acnote { color: var(--sub); }

.acpair {
  display: flex; gap: 4px 8px; align-items: baseline; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12.5px; margin: 8px 0 0;
}
.acarrow { color: var(--sub); }

h2.kicker.up { color: var(--patina); }

.repairgrid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 16px;
}
.repaircard { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; }
.repaircard h2 { font-family: var(--body); font-size: 15px; font-weight: 700; margin: 0; }
.repairnotes { list-style: none; margin-top: 8px; }
.repairnotes li {
  display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap;
  border-top: 1px solid #EFECE2; padding: 8px 0; font-size: 13.5px; line-height: 1.45;
}

/* ---------------------------------------------------------- shop filters */

.filters {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 10px 14px; margin: 14px 0 10px; font-size: 13.5px;
}
.filters .flabel {
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--copper);
}
.filters label { color: var(--sub); font-size: 13px; }
.filters select, .filters input {
  font: inherit; font-size: 13.5px; padding: 5px 8px;
  border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink);
}
.filters input[type="number"] { width: 90px; }
.filters input[type="text"] { width: 120px; }
.clearf { font-size: 12.5px; font-weight: 600; }
.filterstate { margin: 0 0 10px; }

/* ------------------------------------------------------------ home landing */

.hero { display: flex; gap: 28px; align-items: stretch; flex-wrap: wrap; margin-bottom: 24px; }
.hero-text { flex: 1.25; min-width: 300px; max-width: 660px; }
.hero-text h1 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.12; margin: 6px 0 12px; }
.hero-text .lede { font-size: 16px; line-height: 1.55; max-width: none; }
.herostats { font-size: 12.5px; color: var(--sub); margin: 0 0 16px; }
.herocta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.herocta .btn { padding: 9px 18px; font-size: 14px; }
.btn.ghost { background: #fff; color: var(--bottle); }
.btn.ghost:hover { background: var(--bottle); color: #fff; }
.herolink { font-size: 13.5px; font-weight: 600; margin-left: 4px; }
.hero-img { flex: 1; min-width: 280px; min-height: 240px; border-radius: 10px; }

.trustline {
  display: flex; gap: 8px 26px; flex-wrap: wrap; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 11px 2px; margin: 0 0 26px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink);
}
.trustline b { color: var(--copper); }
.trustline a { color: var(--ink); }

.spotlights {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  margin: 0 0 36px;
}
.spot {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: 12px 14px; color: var(--ink);
}
.spot:hover { border-color: #AFA893; text-decoration: none; }
.spotkick {
  display: block; font-family: var(--display); font-size: 11.5px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--copper);
}
.spothead { display: block; font-weight: 700; font-size: 15px; margin: 3px 0 2px; line-height: 1.35; }
.spotsub {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12.5px; color: var(--sub); line-height: 1.4;
}

.homedeptgrid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  margin-top: 12px;
}
.homedept {
  display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: 14px; color: var(--ink);
}
.homedept:hover { border-color: #AFA893; text-decoration: none; }
.homedept-icon { color: var(--bottle); flex-shrink: 0; padding-top: 2px; }
.homedept-name { display: block; font-weight: 600; font-size: 15.5px; }
.homedept-aisles { display: block; font-size: 12.5px; color: var(--sub); margin: 3px 0; }
.homedept-verdict { display: block; font-size: 12.5px; line-height: 1.45; margin-top: 3px; }
.homedept-verdict b { font-weight: 600; }

.asks { display: flex; gap: 6px 8px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.askslabel { font-size: 13px; color: var(--sub); margin-right: 4px; }
.asks a {
  font-size: 12.5px; font-weight: 600; border: 1px solid var(--line);
  background: var(--card); border-radius: 999px; padding: 4px 12px; color: var(--bottle);
}
.asks a:hover { border-color: var(--bottle); text-decoration: none; }

/* The wall of owner photos. A masonry of caption cards; the image slot is a
   placeholder, never a fetched external image. */
.wall { margin-top: 42px; }
.wallintro { max-width: 780px; margin: 4px 0 12px; }
.wallgrid { column-width: 190px; column-gap: 10px; margin-bottom: 14px; }
.wallcard {
  break-inside: avoid; margin: 0 0 10px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
}
.wallshot { width: 100%; height: 130px; border-radius: 0; border: none; border-bottom: 1px solid var(--line); }
.wallcard figcaption { padding: 8px 10px; }
.wallcap { font-size: 13px; line-height: 1.45; margin: 0 0 5px; }
.wallmeta {
  display: flex; gap: 4px 8px; flex-wrap: wrap; align-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--sub); margin: 0;
}
.wallbrand { color: var(--ink); }
.decadeclub {
  font-weight: 600; color: var(--bottle);
  border: 1px solid var(--bottle); border-radius: 3px; padding: 0 4px;
}
.wallform { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wallform input {
  font: inherit; font-size: 13.5px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 4px; background: #fff;
}
.wallform input[name="caption"] { flex: 2; min-width: 230px; }
.wallform input[name="brand"] { width: 130px; }
.wallform input[name="years"] { width: 90px; }
.wallform input[name="photo"] { flex: 1.4; min-width: 200px; }
.modact { display: flex; gap: 6px; }
.modact .btn { padding: 4px 10px; font-size: 12.5px; }

/* ----------------------------------------------------------------- print */

@media print {
  header.site, nav.tabs, .search, .flagbox, .btn { display: none !important; }
  body { background: #fff; }
  a { color: #000; text-decoration: underline; }
}

@media (max-width: 620px) {
  .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
  .figures { gap: 16px; }
  .fignum { font-size: 20px; }
  table.data { font-size: 12.5px; }
  table.data td, table.data th { padding: 5px 5px; }
}
