@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/jetbrains-mono.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/jetbrains-mono.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: 'Public Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/public-sans-italic.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: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/public-sans.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: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/public-sans.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;
}
/* Who Can Fix My App
   Layout: a field-report publication. Narrow reading column, wide data blocks,
   severity tags and check IDs in mono, like an audit printout. */
:root {
  --paper: #f6f7f4;
  --sheet: #ffffff;
  --ink: #12161b;
  --ink-2: #3a424b;
  --muted: #5d6670;
  --line: #dfe3e0;
  --accent: #1f47c9;
  --accent-ink: #ffffff;
  --accent-soft: #e9eefc;
  --crit: #b4231a;
  --crit-soft: #fbe9e7;
  --high: #a85a00;
  --high-soft: #fbefdf;
  --med: #3e6b2f;
  --med-soft: #e8f1e3;
  --tag-bg: #12161b;
  --tag-fg: #ffffff;

  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --t-h1: clamp(36px, 3.4vw + 12px, 58px);
  --t-h2: clamp(26px, 1.4vw + 18px, 36px);
  --t-h3: 20px;
  --t-lead: clamp(17px, .4vw + 15px, 20px);
  --t-body: 17px;
  --t-small: 14.5px;
  --t-label: 12px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1160px;
  --read: 680px;
  --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1215; --sheet: #161a1f; --ink: #eef1f3; --ink-2: #c3cad1; --muted: #8b95a0; --line: #2a3138;
    --accent: #7e9cff; --accent-ink: #0b1020; --accent-soft: #1a2240;
    --crit: #ff8a80; --crit-soft: #3a1714; --high: #f2b25c; --high-soft: #352611; --med: #9fd38a; --med-soft: #1b2a16;
    --tag-bg: #333d49; --tag-fg: #eef1f3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1215; --sheet: #161a1f; --ink: #eef1f3; --ink-2: #c3cad1; --muted: #8b95a0; --line: #2a3138;
  --accent: #7e9cff; --accent-ink: #0b1020; --accent-soft: #1a2240;
  --crit: #ff8a80; --crit-soft: #3a1714; --high: #f2b25c; --high-soft: #352611; --med: #9fd38a; --med-soft: #1b2a16;
  --tag-bg: #333d49; --tag-fg: #eef1f3;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--t-body); line-height: 1.6; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--t-h1); font-stretch: 85%; letter-spacing: -.02em; }
h2 { font-size: var(--t-h2); font-stretch: 90%; }
h3 { font-size: var(--t-h3); line-height: 1.25; }
p { text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
code, .mono { font-family: var(--mono); font-size: .88em; }
code { background: var(--accent-soft); padding: .1em .35em; border-radius: 4px; white-space: nowrap; }
pre.code { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; overflow-x: auto; font-size: 13.5px; line-height: 1.55; }
pre.code code { background: none; padding: 0; font-size: inherit; white-space: inherit; }
img { max-width: 100%; }
.ink { color: var(--ink); }
.nw { white-space: nowrap; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.read { max-width: var(--read); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-s { display: flex; flex-direction: column; gap: 12px; }
.stack-l { display: flex; flex-direction: column; gap: 40px; }
section { padding-block: clamp(48px, 5vw, 88px); }
section + section { border-top: 1px solid var(--line); }
section.tight { padding-top: 0; border-top: 0; }
[id] { scroll-margin-top: 90px; }

header.site { border-bottom: 1px solid var(--line); background: var(--sheet); position: sticky; top: 0; z-index: 5; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 4px 16px; padding-block: 6px; flex-wrap: wrap; }
.brand { --logo-h: 52px; display: flex; align-items: center; color: var(--ink); text-decoration: none; padding-block: 2px; }
.brand .logo-mark { height: var(--logo-h); width: auto; }
.brand .logo-wm { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: calc(var(--logo-h) * 0.46); letter-spacing: -.02em; line-height: 1; margin: calc(var(--logo-h) * 0.1) 0 0 2px; }
nav.main { display: flex; gap: 0 20px; font-size: 15px; }
nav.main a { color: var(--ink-2); text-decoration: none; padding-block: 10px; white-space: nowrap; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

.eyebrow { font-family: var(--mono); font-size: var(--t-label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.lead { font-size: var(--t-lead); color: var(--ink-2); max-width: 62ch; }
.small { font-size: var(--t-small); color: var(--muted); }
.meta { font-size: var(--t-small); color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; font-family: var(--body); text-align: center; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); }
.small-btn { min-height: 38px; padding: 0 14px; font-size: 14px; align-self: flex-start; }
.link { font-weight: 600; text-decoration: none; }
.link::after { content: " \2192"; }
.link:hover { text-decoration: underline; }
.row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

/* "Our team" label: Redlab's own entry, wherever it appears. */
.ours-tag { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: .04em; background: var(--tag-bg); color: var(--tag-fg); padding: 2px 7px; border-radius: 4px; text-decoration: none; white-space: nowrap; vertical-align: middle; }
a.ours-tag:hover { text-decoration: underline; }

/* Offer: the one place the site asks for something, always labelled. */
.offer { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.offer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.offer-top strong { font-family: var(--display); font-size: 19px; line-height: 1.25; font-stretch: 90%; }
.offer p { font-size: 15.5px; color: var(--ink-2); }
.offer .ours-tag { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* Hero and the five-check triage. */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.triage { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(18, 22, 27, .35); display: flex; flex-direction: column; gap: 14px; }
.triage h2 { font-size: 21px; line-height: 1.25; font-stretch: 90%; }

.sev { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.sev.crit { color: var(--crit); background: var(--crit-soft); }
.sev.high { color: var(--high); background: var(--high-soft); }
.sev.med { color: var(--med); background: var(--med-soft); }

/* Checks: guides show them, the checklist and the triage ask them. */
.checks { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); overflow: hidden; }
.check { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 8px 18px; align-items: start; padding: 16px 18px; border-top: 1px solid var(--line); }
.check:first-child { border-top: 0; }
.check.static { grid-template-columns: 84px minmax(0, 1fr); }
.check .meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 3px; }
.check .id { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.check .what { font-weight: 600; line-height: 1.45; }
.check .how { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.check.is-yes { box-shadow: inset 4px 0 0 var(--med); }
.check.is-no { box-shadow: inset 4px 0 0 var(--crit); }
.check.is-unsure { box-shadow: inset 4px 0 0 var(--high); }
.checks.compact { border: 0; border-radius: 0; background: none; overflow: visible; }
.checks.compact .check { grid-template-columns: 70px minmax(0, 1fr); padding: 12px 0 12px 10px; border-top: 1px dashed var(--line); }
.checks.compact .check .sev { display: none; }
.checks.compact .opts { grid-column: 2; }
.checks.compact .what { font-size: 15.5px; }
.opts { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); justify-self: start; }
.opt { position: relative; display: block; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: block; padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink-2); white-space: nowrap; }
.opt input:hover + span { background: var(--line); }
.opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }
.opt-yes input:checked + span { background: var(--med); color: var(--sheet); }
.opt-no input:checked + span { background: var(--crit); color: var(--sheet); }
.opt-unsure input:checked + span { background: var(--high); color: var(--sheet); }
.verdict { font-weight: 600; }
.verdict:empty { display: none; }
.verdict[data-tone="bad"], [data-short][data-tone="bad"] { color: var(--crit); }
.verdict[data-tone="good"], [data-short][data-tone="good"] { color: var(--med); }

.group-h { display: flex; align-items: baseline; gap: 12px; margin-top: 36px; margin-bottom: 6px; }
.groups > .group-h:first-child { margin-top: 0; }
.group-h h2 { font-size: 24px; }
.group-h .code { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 700; }
.group-why { margin-bottom: 14px; }
.score { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); width: 0; transition: width .3s; }
.mbar { display: none; }

/* Area grid, cards, stats. */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.area { background: var(--sheet); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.area .code { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 600; }
.area p { font-size: 15.5px; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); text-decoration: none; color: var(--ink); }
.card:hover { border-color: var(--accent); }
.card .small { margin-top: auto; }
.card.warn { border-color: var(--crit); }
.card.warn .eyebrow { color: var(--crit); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { border-top: 2px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.stat .num { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: clamp(40px, 4vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { font-size: 15px; color: var(--ink-2); }
.stat .src { font-size: 13px; color: var(--muted); }

/* Prose pages. */
.prose { display: flex; flex-direction: column; gap: 18px; max-width: var(--read); }
.prose h2 { margin-top: 28px; }
.prose h3 { margin-top: 12px; }
.prose > ul, .prose > ol { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; }
.prose > ul { list-style: disc; }
.prose > ol { list-style: decimal; }
.prose li::marker { color: var(--muted); }
.answer { font-size: var(--t-lead); border-left: 3px solid var(--accent); padding-left: 16px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(32px, 5vw, 64px); align-items: start; }
aside.side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
aside.side .box { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--sheet); display: flex; flex-direction: column; gap: 8px; }
aside.side .offer-top strong { font-size: 17px; }
aside.side .offer .btn { width: 100%; padding: 0 12px; font-size: 15px; }

/* Inline hand-off: who fixes this, our team first. */
.whofix { border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.prose .whofix { margin-top: 12px; }
.prose .whofix h2 { margin-top: 0; }
.whofix h2 { font-size: 26px; }
.sidepicks { display: flex; flex-direction: column; }
.sidepicks li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.sidepicks li:first-child { border-top: 0; padding-top: 0; }
.sp-name { font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.sp-need { grid-column: 1; font-size: 14.5px; color: var(--muted); }
.sp-from { grid-column: 2; grid-row: 1 / span 2; font-size: 14.5px; color: var(--ink-2); text-align: right; max-width: 24ch; }

/* Tables. */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
.tablewrap table:not(.picktable) { min-width: 620px; }
th, td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; white-space: nowrap; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.firstnw td:first-child { white-space: nowrap; }
.picktable td { vertical-align: middle; }
.picktable .pk-n { width: 52px; font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 26px; line-height: 1; color: var(--accent); }
.picktable .pk-need { color: var(--ink-2); }
.picktable .pk-firm { font-weight: 600; }
.picktable .pk-firm a:not(.ours-tag) { color: var(--ink); }
.picktable tr.ours { background: var(--accent-soft); }

/* Directory: pick cards and the compact full list. */
.picks { display: flex; flex-direction: column; gap: 18px; }
.pick { border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.pick.ours { border: 2px solid var(--accent); }
.pick-head { display: flex; gap: 16px; align-items: flex-start; }
.pick-n { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 44px; line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 28px; }
.pick-title { display: flex; flex-direction: column; gap: 6px; }
.pick-title .top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.pick-title h3 { font-size: 26px; font-stretch: 90%; }
.pick-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px 32px; align-items: start; }
.pick .why { font-size: 16.5px; }
.pick .one { font-size: 15.5px; color: var(--ink-2); }
.pick .also { font-size: 14.5px; color: var(--ink-2); }
.pick .also strong { color: var(--ink); }
.facts { display: flex; flex-direction: column; gap: 10px; }
.facts dl { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 12px; font-size: 14.5px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.checked { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.filters select { font: inherit; font-size: 15px; min-height: 44px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); }
.rows { border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); overflow: hidden; }
.rowhead, .rowfirm summary { display: grid; grid-template-columns: minmax(0, 1.4fr) 128px minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 4px 14px; padding: 12px 16px; align-items: baseline; }
.rowhead { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rowhead span:first-child { padding-left: 22px; }
.rowfirm { border-top: 1px solid var(--line); }
.rowfirm summary { cursor: pointer; list-style: none; font-size: 15px; }
.rowfirm summary::-webkit-details-marker { display: none; }
.rowfirm summary:hover { background: var(--paper); }
.rf-name { font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.rf-name::before { content: "+"; font-family: var(--mono); font-weight: 700; color: var(--accent); width: 14px; }
.rowfirm[open] .rf-name::before { content: "\2212"; }
.rf-type, .rf-hq { color: var(--ink-2); }
.rf-price { font-variant-numeric: tabular-nums; }
.rf-body { padding: 0 16px 18px 38px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; max-width: 760px; }

footer.site { border-top: 1px solid var(--line); background: var(--sheet); padding-block: 40px; font-size: 14.5px; color: var(--muted); }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
footer.site ul { display: flex; flex-direction: column; gap: 6px; }
footer.site a { color: var(--ink-2); }

@media (max-width: 900px) {
  .hero-grid, .two { grid-template-columns: minmax(0, 1fr); }
  .areas, .cards, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  aside.side { position: static; }
  .pick-body { grid-template-columns: minmax(0, 1fr); }
  .mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--sheet); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, .45); padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .mbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; }
  .mbar [data-short] { font-weight: 600; font-size: 15px; line-height: 1.3; }
  .mbar .btn { min-height: 42px; padding: 0 18px; font-size: 15px; flex: none; }
  body.has-mbar { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  .areas, .cards, .stats, footer.site .cols { grid-template-columns: minmax(0, 1fr); }
  header.site { position: static; }
  header.site .wrap { padding-block: 6px 0; }
  nav.main { width: 100%; overflow-x: auto; scrollbar-width: none; gap: 0 18px; }
  nav.main::-webkit-scrollbar { display: none; }
  nav.main a { padding-block: 12px; }
  .hero-cta { display: none; }
  .triage { padding: 18px 16px; }
  .check { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  .check.static { grid-template-columns: minmax(0, 1fr); }
  .check .meta { flex-direction: row; align-items: center; gap: 10px; padding-top: 0; }
  .checks.compact .check { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .checks.compact .meta { display: none; }
  .checks.compact .opts { grid-column: 1; }
  .opt span { padding: 9px 16px; font-size: 15px; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters select { width: 100%; }
  .filters #count { grid-column: 1 / -1; }
  .picktable, .picktable tbody, .picktable tr, .picktable td { display: block; }
  .picktable thead { display: none; }
  .picktable tr { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; padding: 14px; border-top: 1px solid var(--line); }
  .picktable tr:first-child { border-top: 0; }
  .picktable td { padding: 0; border: 0; grid-column: 2; font-size: 15px; }
  .picktable td.pk-n { grid-column: 1; grid-row: 1 / span 4; width: auto; font-size: 24px; }
  .picktable td.pk-need { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .picktable td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
  .pick { padding: 18px 16px; }
  .pick-n { font-size: 36px; }
  .pick-title h3 { font-size: 23px; }
  .facts dl { grid-template-columns: 80px minmax(0, 1fr); }
  .rowhead { display: none; }
  .rowfirm summary { grid-template-columns: auto minmax(0, 1fr); gap: 2px 0; }
  .rf-name, .rf-price { grid-column: 1 / -1; }
  .rf-type, .rf-hq, .rf-price { font-size: 14px; color: var(--muted); }
  .rf-type, .rf-price { padding-left: 22px; }
  .rf-type::after { content: " \00b7  "; white-space: pre; }
  .rf-body { padding: 0 16px 16px; }
  .sidepicks li { grid-template-columns: minmax(0, 1fr); }
  .sp-from { grid-column: 1; grid-row: auto; text-align: left; max-width: none; }
  .whofix { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Side-by-side comparison tables (compare/ pages). */
table.cmp th { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; width: 130px; }
table.cmp thead th { font-family: var(--display); font-size: 18px; text-transform: none; letter-spacing: 0; color: var(--ink); width: auto; }
table.cmp thead th:first-child { width: 130px; }
aside.side .facts { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--sheet); }
aside.side ul.small { display: flex; flex-direction: column; gap: 6px; }

/* symptom table stacks on phones */
@media (max-width: 640px) {
  .tablewrap table.sym { min-width: 0; width: 100%; table-layout: fixed; }
  table.sym tbody { display: block; }
  table.sym td { white-space: normal; width: auto; }
  table.sym thead { display: none; }
  table.sym tr, table.sym td { display: block; }
  table.sym td:first-child { font-weight: 600; padding-bottom: 2px; }
  table.sym td:last-child { padding-top: 0; color: var(--muted, #555); }
}

/* quick verdict */
.verdict-box { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); background: var(--sheet); padding: 16px 18px; margin: 0 0 22px; }
.verdict-box .eyebrow { display: block; margin-bottom: 6px; }
.verdict-box .vline { font-size: var(--t-lead); font-weight: 600; line-height: 1.35; margin: 0; }
.verdict-box .vrows { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: 15px; }
.verdict-box .vrows dt { color: var(--muted); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding-top: 3px; }
.verdict-box .vrows dd { margin: 0; }
.sevchip, .diychip { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 4px; line-height: 1.5; white-space: nowrap; }
.sevchip.critical { background: #fde8e8; color: var(--crit); }
.sevchip.high { background: #fff1dc; color: #9a5b00; }
.sevchip.medium { background: #e7f0fb; color: var(--accent); }
.sevchip.low { background: #e6f4ea; color: var(--med); }
.diychip { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.card.prob .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
table.best td:first-child { font-family: var(--mono); color: var(--muted); }
@media (max-width: 640px) { .verdict-box .vrows { grid-template-columns: 1fr; gap: 2px; } .verdict-box .vrows dd { margin-bottom: 8px; } }

/* ranking and score (2026-10-23) */
.rscore { display: inline-flex; align-items: baseline; gap: 1px; font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.rscore b { font-family: var(--display); font-size: 17px; font-weight: 800; font-stretch: 85%; color: var(--ink); }
.pick-title .rscore { padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); }
.pick-title .rscore b { font-size: 20px; color: var(--accent); }
.pickflag { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 4px; background: var(--ink); color: var(--paper); }
.dom { font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); }
table.ranked td.rk { width: 44px; font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 22px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
table.ranked td.rk-firm { font-weight: 600; min-width: 14ch; }
table.ranked td.rk-best { min-width: 17ch; }
table.ranked td.rk-price { min-width: 14ch; }
table.ranked td.num { white-space: nowrap; }
table.ranked td.rk-firm a { color: var(--ink); }
table.scoretab td.num, table.scoretab tr.total td { white-space: nowrap; }
table.scoretab tr.total td { font-weight: 700; }
.sp-n { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 20px; color: var(--accent); min-width: 16px; }
.rowhead, .rowfirm summary { grid-template-columns: 34px minmax(0, 1.5fr) 84px minmax(0, 1fr) minmax(0, 1.2fr); }
.rowhead span:first-child { padding-left: 0; }
.rowhead span:nth-child(2) { padding-left: 22px; }
.rf-rank { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 20px; color: var(--accent); font-variant-numeric: tabular-nums; }
.rf-hq { color: var(--ink-2); }
@media (max-width: 640px) {
  .rowfirm summary { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 2px 8px; }
  .rf-rank { grid-row: 1 / span 2; }
  .rf-name { grid-column: 2; }
  .rf-score { grid-column: 3; grid-row: 1; }
  .rf-hq, .rf-price { grid-column: 2 / -1; padding-left: 0; font-size: 14px; color: var(--muted); }
  .rf-hq::after { content: none; }
  table.ranked { min-width: 0 !important; }
  table.ranked thead { display: none; }
  table.ranked, table.ranked tbody, table.ranked tr, table.ranked td { display: block; }
  table.ranked tr { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
  table.ranked tr:first-child { border-top: 0; }
  table.ranked td { padding: 0; border: 0; grid-column: 2 / -1; font-size: 14.5px; color: var(--ink-2); min-width: 0; }
  table.ranked td.rk { grid-column: 1; grid-row: 1 / span 5; }
  table.ranked td.rk-firm { grid-column: 2; grid-row: 1; white-space: normal; font-size: 16px; color: var(--ink); }
  table.ranked td.num { grid-column: 3; grid-row: 1; text-align: right; }
}

/* ---------- who-fixes block fits its own width; byline and author (2026-10-23) */
.whofix { container-type: inline-size; }
@container (max-width: 520px) {
  .sidepicks li { grid-template-columns: minmax(0, 1fr); }
  .sp-from { grid-column: 1; grid-row: auto; text-align: left; max-width: none; }
  .sp-name { display: block; }
  .sp-name .sp-n { display: inline-block; margin-right: 6px; }
  .sp-name .rscore { margin-left: 8px; }
}
aside.side .whofix { padding: 16px; gap: 10px; }
aside.side .whofix h2 { font-size: 20px; }
.meta .by { display: inline-flex; align-items: center; gap: 8px; }
.meta .by img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.author-hero { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 8px; }
.author-hero img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.author-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); padding: 16px; }
.author-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.prose .author-card p { margin: 0; }
@media (max-width: 640px) {
  .author-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .author-hero img { width: 120px; height: 120px; }
  .author-card { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .author-card img { width: 64px; height: 64px; }
}

/* ---------- legal links and cookie banner (2026-10-23) */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
footer.site .legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 28px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
footer.site .legal p { margin: 0; max-width: 72ch; color: var(--muted); }
footer.site .legal-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer.site .legal .linklike { color: var(--ink-2); }
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; display: flex; justify-content: center; pointer-events: none; }
.cc[hidden] { display: none; }
.cc-in { pointer-events: auto; width: 100%; max-width: 640px; background: var(--sheet); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 48px -20px rgba(0, 0, 0, .45); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.cc-t { margin: 0; font-family: var(--display); font-weight: 800; font-size: 19px; }
.cc-txt { margin: 0; color: var(--ink-2); line-height: 1.5; }
.cc-opts { display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
.cc-opts label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.45; cursor: pointer; }
.cc-opts input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); }
.cc-opts .small { margin: 0; color: var(--muted); }
.cc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-btns .btn { min-height: 42px; padding: 0 18px; font-size: 15px; flex: 1 1 0; }
@media (max-width: 640px) {
  .cc { left: 8px; right: 8px; bottom: 8px; }
  .cc-in { padding: 16px; font-size: 14.5px; }
  .cc-btns .btn { flex: 1 1 40%; }
  .has-mbar .cc { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* Sidebar "who fixes this": one column in the narrow sidebar, even where container queries are not supported (2026-10-23). */
aside.side .sidepicks li { grid-template-columns: minmax(0, 1fr); }
aside.side .sp-from { grid-column: 1; grid-row: auto; text-align: left; max-width: none; }
aside.side .sp-name { display: block; }
aside.side .sp-name .sp-n { display: inline-block; margin-right: 6px; }
aside.side .sp-name .rscore { margin-left: 8px; }
@media (max-width: 640px) { .brand { --logo-h: 44px; } }
