/* site.css is the one stylesheet of every page. internal/site/site.go embeds it, puts the font's
   hashed path in place of /security/assets/geist-mono-f2be56afe8175462.woff2 and serves it at /security/assets/site-<hash>.css.
   The project has no inline style (CLAUDE.md § Naming, templates).
   The look follows the API site: tokens, body, nav, footer and .page are taken from its
   style.css and css/page.css. The nav holds the logo box and the theme button; the logo box
   leads to the search page (user 2026-11-08, 2026-11-11).
   Colours come only from the tokens below. The light palette (a dimmed neutral grey) is the
   default; the dark one (navy) follows the device or a stored choice. */

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/security/assets/geist-mono-f2be56afe8175462.woff2') format('woff2');
}

:root {
  --bg:          #e9ebee;
  --bg-card:     #f3f4f6;
  --bg-code:     #e2e5e9;
  --bg-hover:    #e1e4e8;
  --border:      #d0d4d9;
  --border-dim:  #d9dce1;
  --text:        #14171b;
  --text-muted:  #4a4f57;
  --text-dim:    #4a4f57;
  --primary:     #025a8b;
  --primary-hover: #014670;
  --primary-rgb: 2,90,139;
  --on-primary:  #ffffff;
  --focus:       #025a8b;
  --green:       #137337;
  --red:         #b91c1c;
  --yellow:      #905806;
  --orange:      #b43c0b;
  --font-mono:   'Geist Mono', 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
  color-scheme: light;
}

/* The dark palette is written twice. The media block follows the device when the reader chose
   nothing; :not([data-theme="light"]) lets a stored "light" win over a dark device. The
   [data-theme="dark"] block lets a stored "dark" win over a light device. CSS has no way to
   share one block between the two selectors without also matching a stored "light". */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #06101d;
    --bg-card:     #0c1a2c;
    --bg-code:     #0a1626;
    --bg-hover:    #13243a;
    --border:      #1c2c42;
    --border-dim:  #13223a;
    --text:        #e6eef7;
    --text-muted:  #93a5ba;
    --text-dim:    #93a5ba;
    --primary:     #38bdf8;
    --primary-hover: #7dd3fc;
    --primary-rgb: 56,189,248;
    --on-primary:  #06101d;
    --focus:       #38bdf8;
    --green:       #4ade80;
    --red:         #f87171;
    --yellow:      #facc15;
    --orange:      #fb923c;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg:          #06101d;
  --bg-card:     #0c1a2c;
  --bg-code:     #0a1626;
  --bg-hover:    #13243a;
  --border:      #1c2c42;
  --border-dim:  #13223a;
  --text:        #e6eef7;
  --text-muted:  #93a5ba;
  --text-dim:    #93a5ba;
  --primary:     #38bdf8;
  --primary-hover: #7dd3fc;
  --primary-rgb: 56,189,248;
  --on-primary:  #06101d;
  --focus:       #38bdf8;
  --green:       #4ade80;
  --red:         #f87171;
  --yellow:      #facc15;
  --orange:      #fb923c;
  color-scheme: dark;
}

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

body {
  font-family: var(--font-mono);
  /* The page has a plain background. The API site's grid is left out here: under a table or a
     fact list its lines read as row borders. */
  background-color: var(--bg);
  color: var(--text);
  min-block-size: 100vh;
  overflow-x: hidden;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
}

/* Every child takes the full width; max-inline-size still caps it. .page takes the spare height,
   so the footer stays at the bottom of a short page. */
body > *:not(.glow) { inline-size: 100%; }
body > .page { flex-grow: 1; }

.glow {
  position: fixed;
  top: -12.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 43.75rem;
  height: 31.25rem;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb),0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Nav */
nav.site {
  position: relative;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  max-inline-size: 68.75rem;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  /* Transparent, so the glow runs on behind the nav. */
  background-color: transparent;
}

/* .logo is the brand box: the logo image and the wordmark in one link to the search page. The
   card background also keeps the navy edge of the logo visible on the dark page. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3125rem 0.75rem 0.3125rem 0.375rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-card);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s;
}

.logo img { inline-size: 1.75rem; block-size: 1.75rem; }
.logo-text span { color: var(--primary); }
.logo:hover { border-color: var(--primary); }
.logo:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* .theme-btn switches between the light and the dark theme (static/theme.js). It sits at the
   right end of the nav: its auto start margin takes the spare space of the row. Its glyphs come
   from a system font, because Geist Mono has no moon or sun. */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 2.25rem;
  min-block-size: 2.25rem;
  margin-inline-start: auto;
  padding-block: 0.375rem;
  padding-inline: 0.625rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-card);
  color: var(--text);
  font: 600 1rem / 1 system-ui, 'Segoe UI', Roboto, Ubuntu, sans-serif;
  cursor: pointer;
  transition: border-color 0.15s;
}

.theme-btn:hover { border-color: var(--primary); }
.theme-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Page column */
.page { max-inline-size: 64rem; margin-inline: auto; padding: 3rem 2rem; position: relative; z-index: 1; }
/* text-wrap: balance gives a heading that wraps lines of even length, so no word is left alone on a line. */
.page h1 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.04em; margin-block-end: 0.5rem; word-break: break-word; text-wrap: balance; }
.page h2 { font-size: 1.1rem; margin: 2.5rem 0 1rem; padding-block-end: 0.5rem; border-block-end: 1px solid var(--border); }
.page p { color: var(--text-muted); margin-block-end: 1rem; line-height: 1.6; }
/* The lede under a heading stands a little apart from it, so the heading reads as a heading. */
.page h1 + p { margin-block-start: 1rem; }
.page a, .page a:visited { color: var(--primary); text-decoration: none; }
.page a:hover { text-decoration: underline; }
/* A link inside text is underlined too: its colour alone does not set it apart from the text. */
.page p a, .page p a:visited, .page ul.meta a, .page ul.meta a:visited { text-decoration: underline; text-underline-offset: 0.15em; }
/* The pricing link in the API box stands alone at the end of a short line, so it needs no underline. */
.page .cta p.tags a { text-decoration: none; }
/* The description is the text people came to read, so its lines stay short enough to follow.
   .description-card is a card of the .fact form around it. The card takes the full width, so its
   edges line up with the facts below; only the text inside keeps the 80ch line. */
.description-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 0.5rem; padding: 1rem 1.25rem; margin-block-end: 1rem; }
.page .description-card p.cve-description { max-inline-size: 80ch; margin-block-end: 0; }
.page strong { color: var(--text); }

code {
  background: var(--bg-code);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-family: inherit;
  overflow-wrap: anywhere;
}

nav.crumbs { font-size: 0.8rem; color: var(--text-dim); margin-block-end: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 0.25rem; }
nav.crumbs a, nav.crumbs a:visited { color: var(--text-dim); }
/* A crumb wraps as one piece, so "November 2026" never breaks between the month and the year. The
   template writes no space between crumbs, so the flex wrap of nav.crumbs gives the line breaks. */
nav.crumbs a { white-space: nowrap; }
nav.crumbs span { margin-inline: 0.4rem; }

/* .tags is a dim side line: dates, reference tags, "n more" notes. */
.page .tags, .tags { color: var(--text-dim); font-size: 0.8rem; }
/* .meta is the date block under a CVE's heading, one fact a line. */
ul.meta { list-style: none; color: var(--text-dim); font-size: 0.8rem; line-height: 1.7; margin-block-end: 1rem; }
/* The month link of the Published line never breaks inside. Below 640px it takes a line of its
   own and the dot before it goes, so a narrow screen does not split "More from December 2021". */
ul.meta a.meta-more { white-space: nowrap; }
/* The Published line stands apart from the NVD lines below it: the first is the date and the
   month link, the others are the state of the record. */
ul.meta li:first-child { margin-block-end: 0.5rem; }
@media (max-width: 639px) {
  ul.meta .meta-sep { display: none; }
  ul.meta a.meta-more { display: block; inline-size: fit-content; }
}
/* The OWASP line of a CWE page never breaks inside a category link. Below 640px each category
   takes a line of its own and the dots between them go, as the month link of a CVE page does. */
p.owasp-line a.owasp-link { white-space: nowrap; }
@media (max-width: 639px) {
  p.owasp-line .owasp-sep { display: none; }
  p.owasp-line a.owasp-link { display: block; inline-size: fit-content; }
}

/* .note is the state line of a page NVD rejected or of a thin page. */
.note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--yellow);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  margin-block: 1rem;
  color: var(--text-muted);
}

/* .facts holds the score boxes under the description, one under the other (user 2026-11-08).
   A box is one row: the label in a fixed column, the value and its side lines beside it. */
.facts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-block: 1.5rem;
}

.fact {
  display: grid;
  grid-template-columns: 11rem 1fr;
  column-gap: 1rem;
  align-items: baseline;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.fact .k { grid-column: 1; grid-row: 1 / span 4; font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.fact .v, .fact .s { grid-column: 2; }
.fact .v { font-size: 1.15rem; font-weight: 700; margin-block-end: 0.15rem; overflow-wrap: anywhere; }
.fact .v.api-link { font-size: 0.875rem; font-weight: 400; }
.fact .s { font-size: 0.75rem; color: var(--text-muted); overflow-wrap: anywhere; }

.sev-critical { color: var(--red); }
.sev-high { color: var(--orange); }
.sev-medium { color: var(--yellow); }
.sev-low { color: var(--green); }

/* Tables follow the API site's .watch-events table. */
.scroll { overflow-x: auto; margin-block-end: 1.5rem; }
table { inline-size: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td { text-align: start; vertical-align: top; padding: 0.6rem 0.75rem; border-block-end: 1px solid var(--border); overflow-wrap: anywhere; }
th { color: var(--text); font-weight: 600; overflow-wrap: normal; }
td { color: var(--text-muted); }
table.kv th { inline-size: 14rem; min-inline-size: 8rem; }

ul.plain { list-style: none; margin-block-end: 1rem; }
ul.plain li { padding-block: 0.5rem; border-block-end: 1px solid var(--border-dim); color: var(--text-muted); overflow-wrap: anywhere; }
/* The tags of a reference take their own line under its link, so a long URL does not hide them. */
ul.refs .tags { display: block; }
/* ul.dashed marks each item of a list of long texts with a hyphen, so one item does not run into the next. */
ul.dashed { list-style: "- " outside; padding-inline-start: 1rem; }

ol.timeline { list-style: none; padding-inline-start: 0; margin-block-end: 1rem; }
ol.timeline li { display: grid; grid-template-columns: max-content 1fr; column-gap: 1rem; margin-block: 0.7rem; line-height: 1.4; }
ol.timeline .when { color: var(--text-muted); font-variant-numeric: tabular-nums; }
ol.timeline .label { display: block; color: var(--text); }
ol.timeline .d { display: block; color: var(--text-dim); font-size: 0.8rem; }

/* Home page and CVE lists */
td.nowrap { white-space: nowrap; }
table.kev-box td:first-child { padding-inline-start: 0; }
/* The first two columns shrink to their text, so a wide screen does not spread the row in thirds. */
table.kev-box td:not(:last-child) { inline-size: 1%; }
@media (min-width: 640px) { table.kev-box td:not(:last-child) { padding-inline-end: 2.5rem; } }
/* Below 480px the three columns must fit a 360px screen: the word "added" goes, the
   cells sit closer and the text is a little smaller. The date alone still reads as one. */
@media (max-width: 479px) {
  table.kev-box { font-size: 0.8rem; }
  table.kev-box td { padding-inline: 0.5rem; }
  table.kev-box td:first-child { padding-inline-start: 0; }
  table.kev-box td:last-child { padding-inline-end: 0; }
  .kev-added { display: none; }
}
td.description { min-inline-size: 16rem; }
form.search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-block: 2rem;
  padding: 0.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(var(--primary-rgb),0.6);
  border-radius: 0.75rem;
  box-shadow: 0 0 1.25rem rgba(var(--primary-rgb),0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}
form.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.25); }
form.search input { font: inherit; color: var(--text); background: transparent; border: 0; outline: 0; }
form.search input { flex: 1 1 16rem; min-inline-size: 0; font-size: 1.2rem; padding: 1rem 0.85rem; }
form.search input::placeholder { color: var(--text-muted); }
form.search .btn-cta { border: 0; cursor: pointer; }
.page h2.with-link { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.page h2.with-link a { font-size: 0.8rem; font-weight: 400; white-space: nowrap; }
ul.month-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 2rem; margin-block-end: 1rem; color: var(--text-muted); }
/* Each month cell puts its name at the left edge and its count at the right edge, so the counts of a
   column line up. */
ul.month-grid li { white-space: nowrap; display: flex; justify-content: space-between; gap: 0.5rem; }
@media (min-width: 640px) { ul.month-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { ul.month-grid { grid-template-columns: repeat(6, 1fr); } }
ul.link-row { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-block-end: 1rem; color: var(--text-muted); }
/* .home-boxes holds the two boxes of the home page. They stack on a narrow screen. On a wide one
   .home-boxes-pair sets the new box beside the KEV box; the template adds it only when the new
   box has rows, so the KEV box alone keeps the full width.
   The new box is a table of the kev-box form: the CVE link, then how long ago it was released.
   The new box has two columns and the KEV box three, so the pair shares the width 2 to 3. Two
   equal halves cut the KEV date at 880px and left half of the new box empty. */
.home-boxes { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 3rem; }
@media (min-width: 880px) { .home-boxes-pair { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
/* From 560px up to the pair the new box stands alone on a row twice as wide as its text, so its
   rows run in two columns. The first column fills first, so the order still reads downwards.
   Eight rows hold the first half of the fifteen the box shows. */
@media (min-width: 560px) and (max-width: 879px) {
  table.new-release-box { display: block; }
  table.new-release-box tbody { display: grid; grid-auto-flow: column; grid-template-rows: repeat(8, auto); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; }
  table.new-release-box tr { display: flex; border-block-end: 1px solid var(--border); }
  table.new-release-box td { border: 0; }
  /* A flex row has no shared column, so the id cell takes the width of a 16-character id plus its
     padding. The ages of a column then start on one line. */
  table.new-release-box td:first-child { flex: 0 0 auto; inline-size: calc(16ch + 0.5rem); }
}
@media (min-width: 640px) and (max-width: 879px) { table.new-release-box td:first-child { inline-size: calc(16ch + 2.5rem); } }
nav.paging { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem; margin-block: 1.5rem; }
/* .page-box is a square that grows sideways for a long page number. */
.page-box, .page-gap { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 2.25rem; block-size: 2.25rem; padding-inline: 0.25rem; }
.page-box { border: 1px solid var(--border); border-radius: 0.25rem; }
.page-gap { color: var(--text-dim); }
.page nav.paging a:hover { background: var(--bg-hover); text-decoration: none; }
.page-box.current { border-color: var(--primary); background: rgba(var(--primary-rgb),0.25); color: var(--text); font-weight: 700; }

/* .cta is the API box of the home page and the CVE page. */
.cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.85rem 1.25rem;
  margin-block: 3rem;
  font-size: 0.85rem;
}

.cta p { margin-block-end: 0.5rem; }
.cta p:last-child { margin-block-end: 0; }
.api-examples { list-style: none; margin-block: 0.75rem; }
.api-examples li { padding-block: 0.5rem; border-block-start: 1px solid var(--border-dim); }
/* One click selects the whole command, because the site runs no script to copy it. */
.api-examples code { display: block; padding: 0; background: transparent; overflow-wrap: anywhere; line-height: 1.5; user-select: all; }
/* .copy-wrap puts a copy button at the right end of a command, as on the API site. The
   command wraps in the space the button leaves. copy.js runs the button. */
.copy-wrap { display: flex; align-items: flex-start; gap: 0.5rem; }
.copy-wrap code { flex: 1; min-inline-size: 0; }
.copy-btn {
  flex-shrink: 0;
  inline-size: 1.75rem;
  block-size: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.copy-btn:hover { background: var(--bg-hover); color: var(--text); border-color: var(--border); }
.copy-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.copy-btn .icon-check { display: none; }
.copy-btn.copied { color: var(--green); }
.copy-btn.copied .icon-copy { display: none; }
.copy-btn.copied .icon-check { display: inline; }

/* The filled button follows the API site's primary CTA. */
.btn-cta {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background: var(--primary);
  color: var(--on-primary);
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}
.btn-cta:hover { background: var(--primary-hover); text-decoration: none; }
.btn-cta:active { transform: scale(0.98); }
.cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-block: 0.75rem; }

/* Footer */
footer {
  position: relative;
  z-index: 10;
  text-align: start;
  padding: 2rem 1.25rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  border-block-start: 1px solid var(--border-dim);
  max-inline-size: 64rem;
  margin-inline: auto;
  margin-block-start: 2rem;
}

footer a, footer a:visited { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--text-muted); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.footer-links a { padding-block: 0.25rem; }

/* .footer-groups sets the link groups side by side. Each .footer-group is a column under its
   .footer-label heading. */
.footer-groups { display: flex; flex-wrap: wrap; gap: 1.5rem 5rem; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; }
.footer-group a, .footer-group a:visited { color: var(--text-muted); padding-block: 0.25rem; }
.footer-group a:hover { color: var(--text); }
.footer-label { color: var(--text); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; margin-block-end: 0.5rem; text-transform: uppercase; }

.footer-divider {
  margin-block: 1.25rem;
  border: 0;
  border-block-start: 1px solid var(--border-dim);
}

.footer-site { font-size: 0.75rem; }

/* .footer-bottom keeps the legal links and the copyright on one line, at the two edges. */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1.5rem; }

footer p { color: var(--text-dim); }

/* .page .attribution names the data sources of a page that shows scores or MITRE text. A list of scores has it
   under its lede, the home page under its KEV box, and the CWE index under its table; the CVE page and the
   CWE page end with it. It has a small size and a line length a reader can follow. */
.page .attribution { max-inline-size: 48rem; margin-block: 0 1rem; color: var(--text-dim); font-size: 0.75rem; line-height: 1.6; }
.page ul.attribution { list-style: none; margin-block: 0; padding: 0; }
ul.attribution li { margin-block-end: 0.25rem; }
.page .attribution a, .page .attribution a:visited { color: var(--text-dim); text-decoration: underline; text-decoration-color: var(--border); }

@media screen and (min-width: 640px) {
  nav.site { flex-wrap: nowrap; padding: 1.25rem 2rem; }
  footer { padding-inline: 2rem; }
}

/* The list has up to seven columns and fits from 960px up. Below that a row becomes a card, so the description is never cut. */
@media (max-width: 959px) {
  table.cve-list, table.cve-list tbody { display: block; }
  table.cve-list thead { display: none; }
  table.cve-list tr { display: block; padding-block: 0.85rem; border-block-end: 1px solid var(--border-dim); }
  table.cve-list td { display: block; padding: 0.1rem 0; border: 0; font-size: 0.8rem; }
  table.cve-list td:empty { display: none; }
  table.cve-list td:first-child { display: block; font-size: 0.95rem; margin-block-end: 0.3rem; }
  table.cve-list td.description { display: block; min-inline-size: 0; margin-block-start: 0.4rem; line-height: 1.5; }
  table.cve-list td[data-label]::before { content: attr(data-label); display: inline-block; inline-size: 8.5rem; color: var(--text-dim); }
}

/* table.products styles three tables: the affected products, the GitHub advisory packages and the
   Exploit-DB entries. A Vulnerable versions cell holds one version range per line. A line does not wrap, so a range
   never breaks across lines. A wide table scrolls in its .scroll box. */
table.products .line { display: block; white-space: nowrap; }
/* An empty Fixed in line (beside "(+N more)") keeps its height, so the lines of the two cells stay level. */
table.products .line:empty::before { content: "\00a0"; }
/* The fix shown inside a range line is for the phone card of the products table, which hides its
   td.fix-col Fixed in cell. */
table.products .fix-inline { display: none; color: var(--text-dim); }
/* The vendor is dim, so the product name reads first. */
table.products td.product { color: var(--text); }
table.products .vendor { color: var(--text-dim); }

/* The three tables do not fit a phone. Below 640px a row becomes a card. The Product cell is
   its bold heading line, and each other cell takes its own labelled line. */
@media (max-width: 639px) {
  table.products .line { white-space: normal; margin-block-end: 0.35rem; }
  table.products .fix-inline { display: block; }
  table.products td.product .vendor { display: block; }
  table.products td.fix-col { display: none; }
  table.products, table.products tbody { display: block; }
  table.products tr:first-child { display: none; }
  table.products tr { display: block; padding-block: 0.85rem; border-block-end: 1px solid var(--border-dim); }
  table.products td { display: flex; gap: 0.5rem; padding: 0.1rem 0; border: 0; font-size: 0.8rem; overflow-wrap: normal; }
  table.products td:empty { display: none; }
  table.products td.product { display: block; margin-block-end: 0.3rem; font-size: 0.95rem; font-weight: 600; overflow-wrap: anywhere; }
  table.products td[data-label]::before { content: attr(data-label); flex: 0 0 5.5rem; color: var(--text-dim); }
  table.products td[data-label] { flex-wrap: nowrap; }
}

@media (max-width: 639px) {
  .page { padding: 2rem 1.25rem; }
  form.search input { flex-basis: 0; font-size: 1rem; padding-inline: 0.4rem; }
  form.search .btn-cta { padding-inline: 0.75rem; }
  .page h1 { font-size: 1.75rem; }
  table.kv th { inline-size: 35%; min-inline-size: 0; }
  .fact { grid-template-columns: 1fr; }
  .fact .k { grid-row: auto; margin-block-end: 0.25rem; }
  .fact .v, .fact .s { grid-column: 1; }
  th, td { padding-inline: 0.5rem; }
  footer { padding: 1.5rem 1.25rem; }
  .footer-groups { gap: 1.5rem 2.5rem; }
  .footer-bottom { flex-direction: column; }
  ul.link-row { flex-direction: column; }
  nav.paging { gap: 0.2rem; }
  .page-box, .page-gap { min-inline-size: 2rem; block-size: 2rem; padding-inline: 0.2rem; font-size: 0.875rem; }
  .page-gap { min-inline-size: 1.25rem; padding-inline: 0; }
  .footer-site { justify-content: center; }
}
