/* Best Peptides Vendors: a printed price report. Graph paper, condensed industrial type, stencil scores,
   measured bars and footnoted figures. Light = engineering pad; dark = blueprint. */

@font-face { font-family: "Archivo"; src: url(/assets/fonts/archivo-var.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: optional; }
@font-face { font-family: "Source Serif 4"; src: url(/assets/fonts/source-serif-4-var.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: optional; }
@font-face { font-family: "Source Serif 4"; src: url(/assets/fonts/source-serif-4-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: optional; }
@font-face { font-family: "Martian Mono"; src: url(/assets/fonts/martian-mono-var.woff2) format("woff2"); font-weight: 400 700; font-stretch: 75% 112.5%; font-style: normal; font-display: optional; }
@font-face { font-family: "Saira Stencil One"; src: url(/assets/fonts/saira-stencil-one.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: optional; }

:root {
  color-scheme: light;
  --paper: #f3f0e7;
  --paper-2: #e8e4d6;
  --ink: #15191b;
  --ink-2: #3f464a;
  --ink-3: #565e63;
  --rule: #15191b;
  --hair: #b7b2a2;
  --grid-1: rgba(28, 98, 112, .085);
  --grid-2: rgba(28, 98, 112, .17);
  --stamp: #a8231a;
  --stamp-ink: #fff8ef;
  --bar: #15191b;
  --bar-soft: rgba(21, 25, 27, .16);
  --mark: #f4dd5c;
  --focus: #a8231a;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --cond: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  --stencil: "Saira Stencil One", "Archivo", Impact, sans-serif;
  --wrap: 1180px;
  --gut: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0e1a23;
    --paper-2: #142430;
    --ink: #e8ebe4;
    --ink-2: #bcc6c9;
    --ink-3: #a3afb4;
    --rule: #e8ebe4;
    --hair: #3a4d59;
    --grid-1: rgba(150, 205, 225, .055);
    --grid-2: rgba(150, 205, 225, .12);
    --stamp: #ff8e7d;
    --stamp-ink: #0e1a23;
    --bar: #e8ebe4;
    --bar-soft: rgba(232, 235, 228, .2);
    --mark: #7a6a12;
    --focus: #ffb3a6;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e1a23;
  --paper-2: #142430;
  --ink: #e8ebe4;
  --ink-2: #bcc6c9;
  --ink-3: #a3afb4;
  --rule: #e8ebe4;
  --hair: #3a4d59;
  --grid-1: rgba(150, 205, 225, .055);
  --grid-2: rgba(150, 205, 225, .12);
  --stamp: #ff8e7d;
  --stamp-ink: #0e1a23;
  --bar: #e8ebe4;
  --bar-soft: rgba(232, 235, 228, .2);
  --mark: #7a6a12;
  --focus: #ffb3a6;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-2) 1px, transparent 1px),
    linear-gradient(var(--grid-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-1) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.55;
  overflow-wrap: break-word;
  min-width: 0;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; min-height: 44px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; font-family: var(--cond); font-weight: 700; }
.skip:focus { top: 8px; }
p { margin: 0 0 .9em; }
.mono, code { font-family: var(--mono); font-stretch: 87.5%; font-size: 12.5px; letter-spacing: 0; }
code { overflow-wrap: anywhere; }
.dom { font-family: var(--mono); font-stretch: 87.5%; font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.muted { color: var(--ink-2); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.qa h3 { font-size: 20px; margin: 1.2em 0 .3em; }
.qa h3:first-child { margin-top: .2em; }
ul, ol { padding-left: 1.3em; }
li { margin: .15em 0; }
q { font-style: italic; }
blockquote { margin: .6em 0 .8em; padding: .2em 0 .2em 14px; border-left: 3px solid var(--stamp); font-style: italic; }

/* ---------- masthead ---------- */
.mast { border-top: 6px solid var(--rule); background: var(--paper); }
.mast-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand theme" "doc doc"; align-items: start; gap: 8px 16px; padding-top: 12px; padding-bottom: 10px; }
.mast-in .brand { grid-area: brand; }
.mast-in .docno { grid-area: doc; }
.mast-in .theme { grid-area: theme; }
.navbar { border-top: 1px solid var(--rule); border-bottom: 3px double var(--rule); }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; font-family: var(--cond); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .86; letter-spacing: .005em; }
.brand .b1 { font-size: 30px; }
.brand .b2 { font-size: 30px; display: flex; align-items: center; gap: 8px; }
.brand .b2::after { content: "Ranked by price"; white-space: nowrap; font-family: var(--mono); font-stretch: 87.5%; font-weight: 500; font-size: 10.5px; letter-spacing: .06em; border: 1.5px solid var(--ink); padding: 3px 5px 2px; line-height: 1; }
.docno { margin: 0; font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; line-height: 1.45; color: var(--ink-2); text-align: left; }
.docno b { color: var(--ink); font-weight: 600; }
.nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; }
.nav a { font-family: var(--cond); font-stretch: 72%; font-weight: 750; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; padding: 8px 0 7px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.theme { font-family: var(--cond); font-stretch: 75%; font-weight: 750; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; padding: 6px 9px 5px; min-height: 44px; min-width: 52px; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); cursor: pointer; border-radius: 0; }
.theme:hover { background: var(--ink); color: var(--paper); }

/* ---------- headings ---------- */
h1, h2, h3 { font-family: var(--cond); line-height: 1.04; margin: 0; }
h1 { font-weight: 850; font-stretch: 70%; text-transform: uppercase; font-size: clamp(32px, 8.4vw, 64px); letter-spacing: -.005em; }
h2 { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(22px, 5.4vw, 30px); letter-spacing: .01em; margin: 0 0 .5em; }
h3 { font-weight: 750; font-stretch: 80%; font-size: 19px; margin: 1em 0 .35em; }
.sec { display: block; border-top: 3px solid var(--rule); padding-top: 8px; margin-top: 44px; }
.sec .no { display: inline-block; font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; border: 1.5px solid var(--ink); padding: 2px 6px 1px; margin-bottom: 8px; text-transform: uppercase; }
.lede { font-size: 17px; line-height: 1.5; max-width: 62ch; margin-top: 14px; }
.kicker { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: 18px 0 8px; }
main { padding-bottom: 40px; }
.crumbs { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; margin: 16px 0 10px; color: var(--ink-2); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0; }
.crumbs li { margin: 0; white-space: nowrap; }
.crumbs li:last-child { white-space: normal; min-width: 0; }
/* the separator trails its item, so a wrapped line starts with an item, never with "/" */
.crumbs li:not(:last-child)::after { content: "/"; padding: 0 7px; color: var(--ink-3); }
.crumbs a { color: var(--ink); display: inline-block; min-height: 44px; padding: 13px 0 0; }

/* ---------- footnote marks and source lists ---------- */
sup.fn { font-family: var(--mono); font-stretch: 87.5%; font-size: 10.5px; font-weight: 600; line-height: 0; vertical-align: super; margin-left: 1px; }
/* each mark is a target at least 24px square with no overlap: inline, so it never wraps away from its word, and its
   padding (part of the tap area) leaves the line height alone */
sup.fn a { color: var(--stamp); text-decoration: none; padding: 7px 8px 6px; line-height: 12px; }
sup.fn a:hover { text-decoration: underline; }
.sources { font-size: 14.5px; line-height: 1.45; padding-left: 0; list-style: none; counter-reset: none; max-width: 80ch; }
.sources li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 0 4px; padding: 6px 0; border-top: 1px solid var(--hair); }
.sources li:target { background: var(--paper-2); }
.sources .n { font-family: var(--mono); font-stretch: 87.5%; font-weight: 600; font-size: 12px; color: var(--stamp); padding-top: 2px; }
.sources a { overflow-wrap: anywhere; display: inline-block; min-height: 24px; padding: 3px 0; }
.sources li { padding: 3px 0; }

/* ---------- score figures ---------- */
.stencil { font-family: var(--stencil); font-weight: 400; letter-spacing: .01em; line-height: .9; font-variant-numeric: tabular-nums; }
.stamp { display: inline-block; font-family: var(--cond); font-stretch: 70%; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; color: var(--stamp); border: 3px solid var(--stamp); padding: 4px 8px 3px; line-height: 1; transform: rotate(-2deg); }
.of { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }

/* The price strip: the bottom band is the price score as a bar on the doubling scale (0 at twice the median or
   dearer, 50 at the median, 100 at half or less); the top band has one tick per price compared, on the same scale.
   The dashed line is the median. */
svg.strip { width: 100%; height: 30px; overflow: visible; }
svg.strip .cell { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
svg.strip .fill { fill: var(--bar); }
svg.strip .tk { stroke: var(--ink); stroke-width: 1; stroke-opacity: .55; vector-effect: non-scaling-stroke; }
svg.strip .mid { stroke: var(--stamp); stroke-width: 1.5; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; }
svg.strip.big { height: 64px; }

/* ---------- home: the leader ---------- */
.lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 28px; margin-top: 22px; padding: 18px 0 4px; border-top: 3px solid var(--rule); }
.lead .tag { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lead .who { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: clamp(30px, 8vw, 46px); line-height: 1; margin: 10px 0 2px; text-transform: uppercase; }
.lead .who a { text-decoration: none; display: inline-block; min-height: 44px; }
.lead .who a:hover { text-decoration: underline; }
.lead .big { font-size: clamp(112px, 34vw, 230px); margin: 4px 0 0; }
.lead .big .of { display: block; font-size: 12px; margin-top: 4px; }
.lead .sw { margin-top: 10px; }
.lead svg.strip { height: 56px; }
.lead .key { margin-bottom: 10px; }

/* the key under a strip: the three marks of the scale, at the left edge, the middle and the right edge */
.key { display: flex; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; contain: inline-size; font-family: var(--mono); font-stretch: 75%; font-size: 10px; line-height: 1.2; letter-spacing: .03em; color: var(--ink-2); text-transform: uppercase; padding-top: 4px; }
.key span { min-width: 0; white-space: nowrap; }
.key span:nth-child(2) { text-align: center; }
.key span:last-child { text-align: right; }
.key b { font-weight: 600; color: var(--ink); }

.sw { font-size: 13.5px; line-height: 1.45; }
.sw p { margin: 2px 0; }
.sw b { font-family: var(--mono); font-stretch: 87.5%; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; display: inline-block; min-width: 5.6em; }
.sw .it { white-space: nowrap; }
.sw .pts { font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; }

/* ---------- filters ---------- */
.filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; margin: 16px 0 6px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); align-items: end; }
.filters .f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.filters label { font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }
.filters select { font: inherit; font-family: var(--cond); font-stretch: 85%; font-weight: 600; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 0; padding: 8px 8px; min-height: 44px; width: 100%; min-width: 0; }
.filters .count { grid-column: 1 / -1; margin: 0; font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); }
.legend { font-size: 14.5px; color: var(--ink-2); margin: 10px 0 4px; max-width: 80ch; }
.keyfig { max-width: 560px; margin: 8px 0 0; }
.keyfig .kicker { margin: 6px 0 6px; }


/* ---------- ranked rows ---------- */
.rank { list-style: none; padding: 0; margin: 0; }
.row { position: relative; display: grid; grid-template-columns: 2.5em minmax(8rem, max-content) minmax(0, 1fr); grid-template-areas: "no name name" "no score strip" "no sw sw"; gap: 6px 12px; padding: 14px 0 14px; border-bottom: 1px solid var(--hair); margin: 0; }
.row[hidden] { display: none; }
/* the whole row opens the store's page */
.row h3 a::after { content: ""; position: absolute; inset: 0; }
.row:hover { background: var(--paper-2); }
.row h3 a:focus-visible { outline: 0; }
/* only a keyboard focus outlines the row; a focus moved there after a touch tap (the pager) draws nothing */
.row:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.morew { margin: 18px 0 6px; }
.btn.more { width: 100%; justify-content: center; cursor: pointer; color: var(--ink); }
@media (min-width: 560px) { .btn.more { width: auto; } }
.row .no { grid-area: no; font-family: var(--cond); font-stretch: 70%; font-weight: 850; font-size: 30px; line-height: 1; padding-top: 2px; }
.row .no small { display: block; font-family: var(--mono); font-stretch: 87.5%; font-weight: 500; font-size: 10px; letter-spacing: .05em; color: var(--ink-2); text-transform: uppercase; margin-bottom: 2px; }
.row .name { grid-area: name; min-width: 0; }
.row .name h3 { margin: 0; font-size: 21px; font-stretch: 78%; font-weight: 800; line-height: 1.08; }
.row .name h3 a { text-decoration: none; }
.row .name h3 a:hover { text-decoration: underline; }
.row .meta { margin: 3px 0 0; font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.row .score { grid-area: score; font-size: 40px; white-space: nowrap; align-self: center; }
/* the score column has one width on every row (8rem on phones, 7.4rem wider), so every strip starts and ends at the same place */
.row .score .of { display: block; font-size: 10px; margin-top: 3px; }
.row .stripw { grid-area: strip; min-width: 0; align-self: center; }
.row .sw { grid-area: sw; margin-top: 2px; }
.row .warn { color: var(--stamp); }
/* "who it sells to": the store's own words, quoted, with the page and date read; and what a store is, when it says it is
   not a research-peptide store */
.buyers { font-size: 13.5px; line-height: 1.45; margin: 4px 0 0; }
.buyers b { font-family: var(--mono); font-stretch: 87.5%; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-right: .4em; }
.buyers .src { font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.vhead .buyers, .vhead .whatis { margin: 8px 0 0; font-size: 15px; max-width: 62ch; }
.whatis b { color: var(--stamp); }
.plain .buyers { font-size: 13px; }
.row .warn b { color: var(--stamp); }
.row.top3 .score { font-size: 50px; }
.row.top3 .no { font-size: 36px; }
.empty { padding: 16px 0; font-style: italic; }

/* ---------- plain lists of stores (not ranked) ---------- */
.plain { list-style: none; padding: 0; margin: 0; columns: 1; }
.plain li { padding: 4px 0 8px; border-bottom: 1px solid var(--hair); break-inside: avoid; margin: 0; }
.plain li a, .plain .nm { font-family: var(--cond); font-stretch: 80%; font-weight: 750; font-size: 17px; }
.plain li a { display: inline-block; min-height: 44px; padding: 10px 0 0; }
.plain .why { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.4; }

/* ---------- vendor page ---------- */
.vhead h1 { font-size: clamp(30px, 7.4vw, 50px); }
.vhead { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "sc" "act"; gap: 10px 32px; border-top: 3px solid var(--rule); padding-top: 14px; margin-top: 6px; }
.vhead .vt { grid-area: t; }
.vhead .vsc { grid-area: sc; }
.vhead .actions { grid-area: act; align-self: start; margin-top: 4px; }
.vstrip { margin-top: 10px; }
.ev .evh { font-family: var(--cond); font-stretch: 72%; font-weight: 850; font-size: clamp(26px, 7vw, 36px); text-transform: uppercase; line-height: 1; margin: 8px 0 4px; }
.evl { list-style: none; padding: 0; margin: 10px 0 0; border-top: 2px solid var(--rule); }
.evl li { display: grid; grid-template-columns: 6.4em minmax(0, 1fr); gap: 12px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--hair); margin: 0; font-size: 15.5px; line-height: 1.4; }
.evl b { font-family: var(--mono); font-stretch: 87.5%; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; text-align: center; padding: 4px 4px 3px; border: 1.5px solid currentColor; }
.evl .y b { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.evl .n b { color: var(--stamp); }
.vhead .subline { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); margin: 10px 0 0; overflow-wrap: anywhere; }
.vscore { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 18px; margin-top: 6px; }
.vscore .big { font-size: clamp(96px, 30vw, 176px); }
.vscore .bigw { display: flex; flex-direction: column; }
.vscore .of100 { margin: 4px 0 0; font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.vscore .ranktag { padding-bottom: 22px; }
.vscore .ranktag .stamp { font-size: 20px; }
.vscore .ranktag p { margin: 10px 0 0; font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); }
.nodata-big { font-family: var(--cond); font-stretch: 70%; font-weight: 850; font-size: clamp(30px, 8vw, 48px); text-transform: uppercase; line-height: 1; margin: 14px 0 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 16px 0 4px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px 8px; border: 2px solid var(--ink); font-family: var(--cond); font-stretch: 80%; font-weight: 750; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; background: var(--paper); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn:hover { text-decoration: underline; }

/* the breakdown */
.bd { list-style: none; padding: 0; margin: 8px 0 0; border-top: 2px solid var(--rule); }
.bd > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "crit pts" "bar bar" "fact fact"; gap: 4px 14px; padding: 14px 0 14px; border-bottom: 1px solid var(--hair); margin: 0; }
.bd .crit { grid-area: crit; }
.bd .crit h3 { margin: 0; font-size: 19px; }
.bd .crit .w { font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; color: var(--ink-2); }
.bd .pts { grid-area: pts; text-align: right; font-family: var(--stencil); font-size: 34px; line-height: 1; }
.bd .pts small { font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; color: var(--ink-2); display: block; margin-top: 3px; }
.bd .bar { grid-area: bar; margin-top: 6px; }
.bd .fact { grid-area: fact; font-size: 15px; line-height: 1.5; margin-top: 6px; }
.bd .fact p { margin: 0 0 .45em; }
.bd .calc { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); line-height: 1.55; }
.bd .ded .pts { color: var(--stamp); }
.bd .total { border-bottom: 3px double var(--rule); }
.bd .total .crit h3 { font-size: 22px; text-transform: uppercase; }
.bd .total .pts { font-size: 48px; }
.bd .ratios { overflow-wrap: anywhere; }
/* a warning on file, quoted with its source at the top of a store page */
.warnbox { border: 3px solid var(--stamp); padding: 10px 14px 4px; margin: 18px 0 0; max-width: 80ch; }
.warnbox .evh { font-family: var(--cond); font-stretch: 72%; font-weight: 850; font-size: 24px; text-transform: uppercase; line-height: 1; margin: 2px 0 8px; color: var(--stamp); }

/* facts and tables that stack on phones */
.facts { margin: 0; border-top: 2px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 18px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.facts dd { margin: 0; font-size: 15.5px; line-height: 1.5; min-width: 0; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
table.tbl caption { text-align: left; font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); padding: 0 0 8px; caption-side: top; }
table.tbl th { font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; text-align: left; vertical-align: bottom; padding: 8px 10px 6px 0; border-bottom: 2px solid var(--rule); }
table.tbl td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--hair); vertical-align: top; overflow-wrap: anywhere; }
table.tbl th.num { text-align: right; }
table.tbl td.num { text-align: right; font-family: var(--mono); font-stretch: 87.5%; font-size: 13px; white-space: nowrap; }
table.tbl tr.tot td { border-top: 2px solid var(--rule); font-weight: 700; }
table.tbl td.num { overflow-wrap: normal; }
/* a label column ("Payment", "COA practice") never breaks inside a word to make the column narrower */
table.tbl td.nm { overflow-wrap: break-word; }
table.tbl tr.dim td { color: var(--ink-2); }
table.tbl .nm { font-family: var(--cond); font-stretch: 80%; font-weight: 700; font-size: 16.5px; }
table.tbl .win { font-weight: 700; }
table.tbl .win .v::after { content: " \25C0"; font-size: 10px; color: var(--stamp); }
table.tbl .tier { font-size: 11px; color: var(--ink-2); }
table.tbl .who { font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); }
/* links inside stacked table cells are full-height tap targets on phones */
/* a short name link in a table ("VIP") is still at least 24 px wide, 44 px on phones */
table.tbl td.head a { display: inline-block; min-width: 24px; min-height: 24px; }
@media (max-width: 699px) { table.stack td a { display: inline-block; min-height: 44px; padding: 11px 0 0; } table.stack td.head a { padding-top: 8px; min-width: 44px; } }
/* a longer note under a ratio (a kit counted by the single-vial rule) wraps under the figure */
table.tbl .tier.note { display: block; white-space: normal; max-width: 19em; margin-left: auto; line-height: 1.35; }
table.tbl .tier.note .nw { white-space: nowrap; }
@media (max-width: 699px) { table.tbl .tier.note { margin-left: 0; max-width: none; } }

@media (max-width: 699px) {
  table.stack caption { display: block; width: 100%; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 8px 0; border-bottom: 1px solid var(--hair); }
  table.stack td { border: 0; padding: 2px 0; display: grid; grid-template-columns: 7.4rem minmax(0, 1fr); gap: 10px; text-align: left; align-items: baseline; }
  table.stack td.num { text-align: left; white-space: normal; }
  table.stack td::before { content: attr(data-label); font-family: var(--mono); font-stretch: 87.5%; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); padding-top: 3px; }
  table.stack td.head { display: block; padding-bottom: 4px; }
  table.stack td.head::before { content: none; }
  table.stack td.here { display: none; }
}
.hn { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; font-weight: 600; color: var(--stamp); }
@media (min-width: 700px) { .hn { display: none; } }

/* ---------- best + compare ---------- */
.idx { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 28px; }
.idx li { border-bottom: 1px solid var(--hair); padding: 9px 0; margin: 0; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.idx li a { font-family: var(--cond); font-stretch: 80%; font-weight: 750; font-size: 18px; display: inline-block; min-height: 44px; padding: 10px 0 0; }
.idx li { padding: 0; }
.idx .n { font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.cls { font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 4px; color: var(--ink-2); }
.vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 18px; margin-top: 14px; border-top: 3px solid var(--rule); }
.vs .side { padding: 12px 0; min-width: 0; }
.vs .side p { margin: 0 0 4px; }
.vs .side .nm { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: clamp(18px, 5.2vw, 28px); text-transform: uppercase; line-height: 1.05; }
.vs .side .nm a { text-decoration: none; display: inline-block; min-height: 44px; padding-top: 8px; }
.vs .side .sc { font-size: clamp(50px, 15vw, 84px); margin: 8px 0 4px; line-height: .9; }
.vs .side .of { display: block; margin-bottom: 10px; }
svg.strip.mid { height: 44px; }
.verdict { font-size: 17px; max-width: 70ch; }
.vskey { max-width: 560px; margin: 4px 0 0; }
.vskey .kicker { margin: 6px 0 6px; }

.changes h3 { margin-top: 1em; }

/* ---------- method ---------- */
.wtable { border-top: 2px solid var(--rule); margin: 10px 0 8px; }
.wtable .wr { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.wtable .wn { font-family: var(--stencil); font-size: 34px; line-height: 1; }
.wtable h3 { margin: 0 0 4px; }
.wtable p { margin: 0 0 .4em; font-size: 15.5px; }
table.tbl.scale, table.tbl.consts { max-width: 44rem; margin-top: 18px; }
.formula { font-family: var(--mono); font-stretch: 87.5%; font-size: 12.5px; background: var(--paper-2); border-left: 3px solid var(--ink); padding: 8px 10px; margin: 6px 0 8px; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.foot { border-top: 6px solid var(--rule); margin-top: 30px; padding: 18px 0 34px; font-size: 14.5px; line-height: 1.5; background: var(--paper); }
.foot .cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 28px; }
.foot h2 { font-size: 15px; margin: 0 0 6px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0; }
.foot li a { display: inline-block; min-height: 44px; padding: 11px 0 0; }
.foot .fine { font-family: var(--mono); font-stretch: 87.5%; font-size: 11.5px; color: var(--ink-2); margin-top: 18px; border-top: 1px solid var(--hair); padding-top: 10px; }

/* ---------- 404 ---------- */
.nf { font-size: clamp(110px, 36vw, 220px); margin: 20px 0 0; }

/* ---------- wider screens ---------- */
@media (min-width: 560px) {
  .facts > div { grid-template-columns: 12em minmax(0, 1fr); }
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .filters .count { grid-column: auto; padding-bottom: 12px; }
  .idx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plain { columns: 2; column-gap: 28px; }
}
@media (min-width: 700px) {
  :root { --gut: 24px; }
  body { font-size: 17px; }
  .brand .b1, .brand .b2 { font-size: 38px; }
  .mast-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand doc theme"; align-items: end; }
  .docno { text-align: right; }
  .nav { column-gap: 22px; }
  .row { grid-template-columns: 3.2em minmax(0, 1fr) minmax(180px, 260px) minmax(7.4rem, max-content); grid-template-areas: "no name strip score" "no sw sw score"; }
  .row .score { text-align: right; align-self: start; }
  .row .sw { display: flex; flex-wrap: wrap; gap: 0 22px; }
  .row .sw .warn, .row .sw .buyers { flex-basis: 100%; }
  .foot .cols { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1000px) {
  .lead { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; }
  .lead .right { padding-bottom: 12px; }
  .row { grid-template-columns: 3.4em minmax(0, 1.15fr) minmax(190px, 1fr) minmax(0, 1.35fr) minmax(7.4rem, max-content); grid-template-areas: "no name strip sw score"; align-items: start; }
  .row .stripw { align-self: start; padding-top: 4px; }
  .row .sw { display: block; margin-top: 0; }
  .vhead { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "t sc" "act sc"; align-items: start; }
  .vhead .vsc { align-self: end; }
  .bd > li { grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 6.5em; grid-template-areas: "crit fact pts" "crit bar pts"; column-gap: 26px; }
  .bd .bar { margin-top: 2px; }
  .bd .fact { margin-top: 0; }
  .idx { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plain { columns: 3; }
  .wtable .wr { grid-template-columns: 4em minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print {
  body { background: #fff; color: #000; }
  .nav, .filters, .actions, .skip { display: none !important; }
}
.btn .sis { text-transform: none; font-family: var(--mono); font-stretch: 87.5%; font-weight: 500; font-size: 11.5px; letter-spacing: 0; margin-left: .45em; }
/* footnote marks keep their own tap box wherever they sit (lists and stacked tables set taller links) */
body sup.fn a { display: inline; min-height: 0; padding: 7px 9px 6px; }
