/* Faces are served by this site from /fonts (SIL Open Font License; the licence texts sit beside the files).
   Each has a fallback face resized to its width so the swap does not move the page. See docs/design-charter.md. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400.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: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400-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: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600.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: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600-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: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600.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: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600-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: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-700.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: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-700-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: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/literata-normal.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: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/literata-normal-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: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("/fonts/literata-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: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("/fonts/literata-italic-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: "Barlow Fallback"; src: local("Arial"); size-adjust: 97.5%; ascent-override: 102.6%; descent-override: 20.5%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Condensed Fallback"; src: local("Arial"); size-adjust: 82.8%; ascent-override: 120.8%; descent-override: 24.2%; line-gap-override: 0%; }
@font-face { font-family: "Literata Fallback"; src: local("Georgia"); size-adjust: 108.5%; ascent-override: 108.5%; descent-override: 28.4%; line-gap-override: 0%; }

:root {
    --paper: #f6f7f4;
    --paper-2: #eaede7;
    --ink: #15191a;
    --ink-2: #454b4d;
    --rule: #c9cec6;
    --rule-strong: #15191a;
    --control-border: #6b736e;
    --accent: #145a3b;
    --accent-ink: #ffffff;
    --focus: #145a3b;
    --notice: #f0c83c;
    --notice-ink: #15191a;
    --mark: #f6e7a8;

    --bad-bg: #f8e0dc;  --bad-fg: #8a2415;

    --font-display: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", sans-serif;
    --font-ui: "Barlow", "Barlow Fallback", system-ui, sans-serif;
    --font-read: "Literata", "Literata Fallback", Georgia, serif;

    --measure: 36rem;
    --wide: 74rem;
    --gutter: clamp(1rem, 4vw, 2rem);
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #111413;
        --paper-2: #1a1e1c;
        --ink: #ecebe5;
        --ink-2: #b4b9b4;
        --rule: #343a37;
        --rule-strong: #ecebe5;
        --control-border: #858e88;
        --accent: #8fd1aa;
        --accent-ink: #0d1a13;
        --focus: #8fd1aa;
        --notice: #e2bd3a;
        --notice-ink: #15191a;
        --mark: #5a4a10;

        --bad-bg: #44201b;  --bad-fg: #f4b1a6;
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 1.0625rem;
    line-height: 1.5;
}

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: -999px; top: 0; background: var(--notice); color: var(--notice-ink); padding: 0.5rem 1rem; z-index: 10; }
.skip-link:focus { left: 1rem; }

/* Masthead */
.masthead { border-bottom: 3px solid var(--rule-strong); background: var(--paper); }
.masthead-inner {
    max-width: var(--wide); margin: 0 auto; padding: 0.8rem var(--gutter);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
}
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; }
.wordmark-mark { width: 1.9rem; height: 1.9rem; flex: none; }
.wordmark-mark .disc { fill: var(--notice); }
.wordmark-mark .ring { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.wordmark-text { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1; }

.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.primary-nav > a {
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem;
    padding: 0.25rem 0; border-bottom: 2px solid transparent;
}
.primary-nav > a[aria-current="page"], .primary-nav > a:hover { border-bottom-color: var(--ink); }

.nav-search { display: flex; }
.nav-search input, .search-row input {
    font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
    border: 1px solid var(--control-border); border-right: 0; padding: 0.4rem 0.6rem; min-width: 0; width: 15rem; max-width: 55vw;
    border-radius: 0;
}
.nav-search button, .search-row button {
    font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer;
    background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); padding: 0.4rem 0.9rem;
    border-radius: 0;
}

main { display: block; max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 4rem; }
main:focus { outline: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.2rem); font-weight: 700; margin: 0.2rem 0 0.6rem; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); font-weight: 600; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.4rem; font-weight: 600; margin: 1.75rem 0 0.5rem; }
h4 { font-size: 1.15rem; font-weight: 600; margin: 1rem 0 0.35rem; }

.context-line { font-size: 1rem; font-weight: 600; color: var(--ink-2); margin: 0; }
.dek { font-family: var(--font-read); font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); max-width: 44rem; margin: 0 0 1rem; }
.years, .nowrap { white-space: nowrap; }
.tag {
    display: inline-block; margin-left: 0.5rem; padding: 0 0.4rem; font-size: 0.85rem; font-weight: 600;
    border: 1px solid var(--rule); color: var(--ink-2); vertical-align: 0.1em; font-family: var(--font-ui);
}

/* Breadcrumbs */
.breadcrumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; font-size: 0.95rem; color: var(--ink-2); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; }
.breadcrumbs a { color: var(--ink-2); }

/* Home */
.home-intro { padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--rule); }
.home-intro h1 { max-width: 30ch; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem; }
.more { font-weight: 600; }

.maker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0 2rem; }
.maker { border-top: 3px solid var(--rule-strong); padding: 0.4rem 0 1.25rem; }
.maker h3 { margin: 0.3rem 0 0.5rem; font-size: 1.5rem; }
.maker h4 a { color: var(--ink); }
.model-list { list-style: none; margin: 0; padding: 0; }
.model-list li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.4rem 0; border-bottom: 1px solid var(--rule); }
.model-list a { font-weight: 600; }
.model-list .years { color: var(--ink-2); font-size: 0.95rem; font-variant-numeric: tabular-nums; text-align: right; white-space: normal; }
.maker-link { display: inline-block; margin-top: 0.6rem; font-size: 1rem; }

.how-to-read { margin-top: 2.5rem; padding: 1.25rem 1.5rem; background: var(--paper-2); }
.how-to-read h2 { margin-top: 0; }

/* Evidence labels: the word carries the meaning, the colour only helps */
.badge {
    display: inline-block; font-family: var(--font-ui); font-size: 0.9rem; font-weight: 600;
    padding: 0 0.45rem; border-radius: 2px; white-space: nowrap; line-height: 1.45;
}
.badge-disputed { background: var(--bad-bg); color: var(--bad-fg); }

/* Page heads and lists */
.page-head { border-bottom: 3px solid var(--rule-strong); margin-bottom: 1.5rem; padding-bottom: 0.5rem; }
.brand-list { display: grid; gap: 0; }
.brand-entry { border-bottom: 1px solid var(--rule); padding: 1.1rem 0 1.3rem; max-width: 50rem; }
.brand-entry h2 { margin: 0.1rem 0 0.2rem; font-size: 1.9rem; }
.brand-entry .years { color: var(--ink-2); font-size: 1rem; margin: 0; font-weight: 600; }
.brand-entry p { font-family: var(--font-read); margin: 0.4rem 0; }
.brand-entry .story-title { font-style: italic; color: var(--ink-2); }
.brand-entry .entry-meta { font-family: var(--font-ui); font-size: 0.95rem; color: var(--ink-2); }

/* Tables */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1rem; border-top: 3px solid var(--rule-strong); }
.data-table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--rule); }
.data-table thead th { font-size: 0.95rem; color: var(--ink-2); font-weight: 600; }
.data-table tbody th { font-weight: 600; }
.data-table .num { text-align: right; }
.data-table .note { color: var(--ink-2); min-width: 16rem; }
.data-table .figure { font-weight: 600; min-width: 7rem; }
.data-table.claims th[scope="row"] { min-width: 11rem; }
.entity { display: block; font-size: 0.9rem; font-weight: 400; color: var(--ink-2); margin-top: 0.1rem; }
.refs { white-space: nowrap; }
.ref {
    display: inline-block; min-width: 1.5rem; margin: 0 0.15rem 0.15rem 0; padding: 0 0.25rem; font-size: 0.9rem; font-weight: 600;
    text-align: center; text-decoration: none; border: 1px solid var(--control-border); border-radius: 2px; line-height: 1.4;
}
.ref:hover { background: var(--mark); color: var(--ink); }

/* Subject page */
.subject-photo { margin: 1.25rem 0; max-width: 48rem; }
.subject-photo img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); }
.subject-photo figcaption { font-size: 0.9rem; color: var(--ink-2); margin-top: 0.3rem; }
.subject-head { border-bottom: 3px solid var(--rule-strong); padding-bottom: 1rem; }
.subject-head h1 { margin-bottom: 0.1rem; }
.subject-years { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin: 0 0 0.75rem; color: var(--ink-2); }
.subject-counts { margin: 0 0 0.75rem; color: var(--ink-2); }

.on-page { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--rule); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.on-page ol { list-style: none; margin: 0; padding: 0.3rem 0; display: flex; gap: 0.25rem 1.1rem; overflow-x: auto; white-space: nowrap; font-size: 1rem; font-weight: 600; }
/* WCAG 2.2 SC 2.5.8 (Target Size Minimum): this is a standalone tab-style nav, not running text, so it does
   not qualify for the "inline" exception. Padding on the link itself expands the tap target to at least
   24px tall without changing the visible line height of the sticky bar. */
.on-page a { display: inline-block; padding: 0.3rem 0; }

.story { max-width: var(--measure); }
.story .story-title { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-top: 2rem; }
.story p, .story li { font-family: var(--font-read); font-size: 1.1rem; line-height: 1.65; }
.story p { margin: 0 0 1.15rem; }
.story h3 { font-size: 1.6rem; margin-top: 2.25rem; }
.reading-list { margin-top: 2rem; border-top: 1px solid var(--rule); padding-top: 0.75rem; font-size: 1rem; }
.reading-list summary, .statements summary { cursor: pointer; font-weight: 600; }
.reading-list li { font-family: var(--font-ui); font-size: 1rem; line-height: 1.5; color: var(--ink-2); margin-bottom: 0.3rem; }

.facts-section { margin-top: 3rem; }
.facts-section > h2 { border-bottom: 0; }
.section-note, .chronology { color: var(--ink-2); max-width: 50rem; }
.chronology { font-family: var(--font-read); }

.statements summary h2 { display: inline; font-size: 1.5rem; }
.statements summary { list-style-position: outside; padding: 0.6rem 0; border-top: 3px solid var(--rule-strong); }
.statement-list { list-style: none; margin: 0; padding: 0; }
.statement-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); font-family: var(--font-read); }
.statement-topic { display: block; font-family: var(--font-ui); font-size: 0.95rem; font-weight: 600; color: var(--ink-2); }
.statement-list .badge { margin-left: 0.35rem; }

.conflict { background: var(--paper-2); border: 1px solid var(--rule); padding: 0.75rem 1rem; margin: 0 0 1rem; }
.conflict h3 { margin: 0 0 0.25rem; font-size: 1.3rem; }
.conflict ul { list-style: none; margin: 0; padding: 0; }
.conflict li { padding: 0.35rem 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; }
.conflict-value { font-size: 1.1rem; }
.scope { color: var(--ink-2); font-size: 1rem; }

.source-list { padding-left: 2rem; font-size: 1rem; }
.source-list li { padding: 0.3rem 0; scroll-margin-top: 4rem; }
.source-list li:target { background: var(--mark); color: var(--ink); }
.source-meta { display: block; color: var(--ink-2); font-size: 0.95rem; }

/* Prose pages */
.prose { max-width: var(--measure); }
.prose p, .prose li { font-family: var(--font-read); font-size: 1.1rem; line-height: 1.65; }

/* Search */
.search-form label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.search-row { display: flex; max-width: 36rem; }
.search-row input { flex: 1; width: auto; max-width: none; font-size: 1.1rem; padding: 0.55rem 0.7rem; }
.search-results { list-style: none; padding: 0; margin: 0; max-width: 50rem; }
.search-results li { border-bottom: 1px solid var(--rule); padding: 0.9rem 0; }
.search-results h2 { margin: 0 0 0.1rem; font-size: 1.5rem; }
.search-results .years { font-family: var(--font-ui); font-size: 1rem; color: var(--ink-2); font-weight: 600; margin: 0 0 0.3rem; }
.search-results p { font-family: var(--font-read); margin: 0; }
mark { background: var(--mark); color: var(--ink); padding: 0 0.1em; }
.result-count { color: var(--ink-2); }

.error-page { padding: 2rem 0; }
.intro-counts { color: var(--ink-2); margin: 0; }

/* Footer */
.site-footer { border-top: 3px solid var(--rule-strong); background: var(--paper-2); }
.footer-inner { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 2.5rem; font-size: 1rem; color: var(--ink-2); }
.footer-inner p { max-width: 50rem; }
.footer-family h2 { font-size: 1.15rem; margin: 1rem 0 0.25rem; }
.footer-family ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.1rem 1.5rem; }
.footer-family a { display: inline-block; padding: 0.2rem 0; font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 0.75rem; }
/* WCAG 2.2 SC 2.5.8: padding on the link, not a larger font, brings the target to 24px. */
.footer-nav a { color: var(--ink-2); font-weight: 600; display: inline-block; padding: 0.2rem 0; }

@media (max-width: 40rem) {
    .masthead-inner { flex-direction: column; align-items: flex-start; }
    .nav-search { width: 100%; }
    .nav-search input { flex: 1; width: auto; max-width: none; }
    .story p, .story li { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

@media print {
    .masthead, .on-page, .site-footer, .skip-link { display: none; }
    body { background: #fff; color: #000; }
    details > * { display: block; }
}

/* Forms */
.report-form label { display: block; font-weight: 600; margin: 1.1rem 0 0.35rem; }
.report-form label:first-of-type { margin-top: 0; }
.report-form input[type="text"],
.report-form input[type="email"],
.report-form select,
.report-form textarea {
    width: 100%;
    max-width: var(--measure);
    padding: 0.5rem 0.6rem;
    font: inherit;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--control-border);
    border-radius: 2px;
}
.report-form textarea { resize: vertical; }
.report-form button {
    margin-top: 1.1rem;
    padding: 0.55rem 1.1rem;
    font: inherit;
    font-weight: 600;
    background: var(--accent);
    color: var(--accent-ink);
    border: 1px solid var(--accent);
    border-radius: 2px;
    cursor: pointer;
}
.report-form button:hover { text-decoration: underline; }
.field-error { display: block; color: var(--bad-fg); font-size: 0.95rem; margin-top: 0.25rem; }
.fine-print { font-size: 0.95rem; color: var(--ink-2); max-width: var(--measure); }
.field-note { font-size: 0.95rem; color: var(--ink-2); margin: 0.35rem 0 0; max-width: var(--measure); }
.page-path { overflow-wrap: anywhere; }

.triage-list { list-style: none; padding: 0; margin: 0; }
.triage-item { border: 1px solid var(--rule); border-radius: 2px; padding: 0.9rem 1rem; margin-bottom: 0.9rem; }
.triage-meta { font-size: 0.95rem; color: var(--ink-2); margin: 0 0 0.5rem; }
.triage-message { white-space: pre-wrap; margin: 0 0 0.6rem; }
.triage-notes { font-size: 0.95rem; color: var(--ink-2); margin: 0 0 0.6rem; }
.triage-form { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.triage-form input[type="text"] { flex: 1; min-width: 10rem; padding: 0.35rem 0.5rem; }
.triage-form select { padding: 0.35rem 0.5rem; }
.triage-form button { padding: 0.35rem 0.8rem; font-weight: 600; cursor: pointer; }

/* Further reading: quiet, small type so the module never outweighs the page's own content. */
.recommendations .recommendation { border-top: 1px solid var(--rule); padding: 0.9rem 0; max-width: var(--measure); }
.recommendations .recommendation p { margin: 0.25rem 0; }
.recommendation-title { font-size: 1rem; }
.recommendation-line { font-size: 0.95rem; }
.recommendation-line.muted { color: var(--ink-2); }
.recommendation-label { font-weight: 600; }
.recommendation-links a { display: inline-block; padding: 0.3rem 0; margin-right: 1rem; font-weight: 600; }
.recommendations .provenance { font-size: 0.9rem; color: var(--ink-2); }

/* Per-generation photographs. */
.photo-grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); background: var(--paper-2); }
.photo-grid figcaption { font-size: 0.9rem; color: var(--ink-2); margin-top: 0.3rem; }
