/* ── Justice Lens publication stylesheet ──
   The reading surface: home, about, the analyses, methodology, how-it-works,
   districts, briefs, terms, privacy. Loaded AFTER auth.css (fonts, topbar,
   footer, account dropdown) and, on the server-rendered pages, after style.css
   (whose .rankings-* scaffolding it overrides). The map app keeps its own dark
   tool chrome and never loads this file.

   Principles: one typeface (Newsreader, self-hosted 500/600), paper background,
   one accent used for links and encoded chart series only, hairline rules
   instead of cards, no gradients, glows, shadows, animation, or emoji. Body
   text 17px on a ~70ch measure; tables and figures may use the full column. */

:root {
  --bg:      #fdfdfb;
  --panel:   #f6f5f1;
  --panel2:  #eeece6;
  --border:  #e4e1da;
  --border2: #c9c5bc;
  --text:    #1b1b1b;
  --muted:   #5c5b56;
  --accent:  #1b1b1b;
  --blue:    #2a4fa8;
  --blue2:   #1f3d86;
  /* Semantic colours are neutralised on publication pages: nothing here is
     red/green/yellow-coded. Charts colour only what they encode. */
  --green:   #5c5b56;
  --yellow:  #5c5b56;
  --red:     #5c5b56;
  --font:         'Newsreader', Georgia, 'Times New Roman', Times, serif;
  --font-display: var(--font);
  --font-mono:    var(--font);
  --fw-regular:  500;   /* the lightest bundled Newsreader face */
  --fw-medium:   500;
  --fw-semibold: 600;
  --measure: 70ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
html, body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: visible;
  height: auto;
  min-height: 100%;
}
body { display: flex; flex-direction: column; min-height: 100vh; }
body.rankings-page { background: var(--bg); overflow: visible; }
main { flex: 1 0 auto; }
* { scrollbar-width: auto; scrollbar-color: auto; }
::-webkit-scrollbar { width: auto; height: auto; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 0; }

a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px;
    text-underline-offset: 2px; text-decoration-color: rgba(42,79,168,.45); }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
[tabindex]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
strong, b { font-weight: 600; }
code, pre, kbd, .mono { font-family: var(--font); font-size: .95em; }
pre { white-space: pre-wrap; }
.eyebrow { font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: 0;
           text-transform: none; color: var(--muted); }
.num { font-family: var(--font); font-variant-numeric: tabular-nums lining-nums; }
svg text { font-family: var(--font); }
hr { border: 0; border-top: 1px solid var(--border2); margin: 2rem 0; }

/* ── Topbar and footer (shared markup from auth.css, restyled) ── */
#topbar {
  height: auto; min-height: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border2);
  padding: 14px 24px;
  position: static;
}
.rankings-page #topbar { position: static; }
#topbar-left { gap: 10px; font-size: 14px; color: var(--muted); }
#brand-name { font-family: var(--font); font-size: 21px; font-weight: 600; color: var(--text); letter-spacing: 0; }
#topbar-nav { gap: 2px; }
#topbar-nav a {
  font-family: var(--font); font-size: 16px; font-weight: 500;
  color: var(--muted); padding: 4px 9px; border-radius: 0;
  text-decoration: none; transition: none;
}
#topbar-nav a:hover, #topbar-nav a.active { color: var(--text); background: transparent; text-decoration: underline; }
#auth-slot { margin-left: 8px; }
.auth-btn, .upgrade-btn {
  font-family: var(--font); font-size: 15px; font-weight: 500; border-radius: 2px;
  padding: 4px 12px; border: 1px solid var(--border2); background: transparent; color: var(--muted);
  transition: none;
}
.auth-btn:hover { color: var(--text); border-color: var(--text); }
.auth-btn.primary, .upgrade-btn { background: var(--text); border-color: var(--text); color: var(--bg); }
.auth-btn.primary:hover, .upgrade-btn:hover { background: var(--blue2); border-color: var(--blue2); }
.plan-badge { font-family: var(--font); font-weight: 500; text-transform: none; letter-spacing: 0;
              border-radius: 2px; font-size: 13px; }
.plan-badge.free  { background: transparent; color: var(--muted); border: 1px solid var(--border2); }
.plan-badge.basic, .plan-badge.pro, .plan-badge.team {
  background: transparent; color: var(--text); border: 1px solid var(--border2); }
#account-dropdown { background: var(--bg); border: 1px solid var(--border2); border-radius: 2px; box-shadow: none; }
.acct-dd-item { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--text); }
.acct-dd-item:hover { background: var(--panel); }
#site-footer {
  border-top: 1px solid var(--border2);
  background: var(--bg);
  padding: 20px 24px 30px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--muted);
  gap: .5rem 1.5rem;
}
#site-footer > p { color: var(--muted) !important; font-size: 14px !important; }
#site-footer a { color: var(--muted); text-decoration: none; transition: none; }
#site-footer > p a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
#site-footer a:hover { color: var(--text); text-decoration: underline; }
#site-footer nav { gap: .4rem 1rem; }

/* ── Page column ── */
.rankings-main {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 60px;
}
.area-main { max-width: 780px; }
.dist-main { max-width: none; }

/* Measure: prose blocks cap near 70 characters; tables and figures use the column. */
.rankings-main :is(p, li, dd, dt, figcaption, blockquote),
main.pub :is(p, li, dd, dt, figcaption, blockquote) { max-width: var(--measure); }
.rankings-main table :is(p, li), main.pub table :is(p, li) { max-width: none; }

/* ── Headings ── */
.dist-main h1, .area-title, main.pub h1 {
  font-family: var(--font); font-size: 34px; font-weight: 600; line-height: 1.15;
  letter-spacing: -.005em; color: var(--text); margin: .2rem 0 .4rem; max-width: 24ch;
}
.dist-main h1::after { display: none; }
.dist-main h2, .area-history h2, .area-faq h2, .brief-signup h2, main.pub h2 {
  font-family: var(--font); font-size: 23px; font-weight: 600; line-height: 1.25;
  color: var(--text); letter-spacing: 0; margin: 2.1rem 0 .55rem;
}
.dist-main h3, main.pub h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin: 1.6rem 0 .4rem; }
.dist-main p, main.pub p { color: var(--text); margin: 0 0 .9rem; }
.dist-main a, main.pub a { color: var(--blue); }
.dist-main ul, .dist-main ol, main.pub ul, main.pub ol { padding-left: 1.25rem; margin: 0 0 .9rem; }
.dist-main li, main.pub li { margin: .35rem 0; }

/* Kicker under the headline: "Published … · Data window: …" */
.data-window, .rankings-eyebrow, .area-subtitle {
  display: block; font-family: var(--font); font-size: 15px; font-weight: 500;
  color: var(--muted); letter-spacing: 0; text-transform: none; margin: .1rem 0 1.2rem;
}
.rankings-eyebrow { margin: 0 0 .2rem; }
.area-subtitle { margin-top: .3rem; }

/* Finding-first lead */
.finding { font-size: 19px; line-height: 1.55; color: var(--text); font-weight: 500; margin: .5rem 0 1.2rem; }
.finding strong { font-weight: 600; }

/* Plain-terms question / computed answer */
.plain-terms { font-size: 17px; margin: .4rem 0 .3rem; border: 0; background: none; padding: 0; border-radius: 0; }
.plain-terms strong { color: var(--text); }
.plain-answer { font-size: 17px; margin: 0 0 1.2rem; background: none; padding: .1rem 0 .1rem 1rem;
                border: 0; border-left: 2px solid var(--blue); border-radius: 0; }
.plain-answer strong { color: var(--blue); }

/* Headline number with its components beside it */
.headline-index { font-size: 44px; font-weight: 500; line-height: 1.05; margin: .5rem 0 .2rem;
                  color: var(--text); font-variant-numeric: tabular-nums lining-nums; }
.headline-sub { font-size: 16px; color: var(--muted); margin: 0 0 1.2rem; }
.components { border: 0; border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2);
              border-radius: 0; background: none; padding: .5rem 0 .6rem; margin: 1.2rem 0; }
.components dt { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--muted);
                 text-transform: none; letter-spacing: 0; margin-top: .5rem; }
.components dd { font-size: 17px; color: var(--text); margin: .05rem 0 .3rem; }
.secondary, .components dt.secondary { color: var(--muted); font-size: 15px; }

/* Caveats: a hairline, a bold lead-in, no tint */
.caveat { border: 0; border-left: 2px solid var(--border2); background: none; border-radius: 0;
          padding: .1rem 0 .1rem 1rem; margin: 1.2rem 0; color: var(--text); font-size: 16px; }
.caveat strong { font-weight: 600; }
.thin-base { border-left-color: var(--text); background: none; }
.preliminary-tag { display: inline-block; background: none; color: var(--muted); font-size: 13px;
                   font-weight: 500; letter-spacing: 0; text-transform: none; border: 1px solid var(--border2);
                   border-radius: 2px; padding: 0 .4rem; vertical-align: middle; margin-left: .4rem; }
.night-caption, .citywide-context { border: 0; border-left: 2px solid var(--border2); background: none;
  border-radius: 0; padding: .1rem 0 .1rem 1rem; margin: 1rem 0 1.2rem; color: var(--text); font-size: 16px; }
.citywide-context strong { color: var(--text); }
.table-lead { color: var(--text); font-size: 16px; margin: 1rem 0 .3rem; }
.table-lead strong { color: var(--text); }
.not-a-ranking { font-style: italic; color: var(--muted); font-size: 15px; margin: .3rem 0 .8rem; }
.other-districts { color: var(--muted); font-size: 16px; margin-top: 1.4rem; }
.other-districts a { display: inline-block; margin: 0 .5rem .3rem 0; }

/* Methodology: first-class, rule-separated */
.methodology { border: 0; border-top: 1px solid var(--border2); border-radius: 0; background: none;
               padding: 1.1rem 0 .3rem; margin: 2rem 0; }
.methodology h2 { margin-top: 0; }
.methodology ul { padding-left: 1.2rem; }
.methodology li { margin: .5rem 0; color: var(--text); font-size: 16px; }
.methodology strong { color: var(--text); }
.methodology p { font-size: 16px; }
.methodology ul.references { padding-left: 0; list-style: none; }
.methodology li.reference { padding-left: 1.6rem; text-indent: -1.6rem; font-size: 15.5px; }
details.methodology-details { margin: 1.75rem 0; }
details.methodology-details > summary, details.citywide-details > summary {
  cursor: pointer; color: var(--text); font-weight: 600; font-size: 17px; padding: .4rem 0; list-style: none; }
details.methodology-details > summary::-webkit-details-marker,
details.citywide-details > summary::-webkit-details-marker { display: none; }
details.methodology-details > summary::before, details.citywide-details > summary::before { content: "+ "; color: var(--muted); }
details.methodology-details[open] > summary::before, details.citywide-details[open] > summary::before { content: "\2212  "; }
details.methodology-details .methodology { margin-top: .3rem; border-top: 0; padding-top: .2rem; }
details.methodology-details .methodology h2 { display: none; }
details.citywide-details { margin: .6rem 0 1.2rem; }
details.citywide-details > summary { font-weight: 500; color: var(--muted); font-size: 16px; }
.citywide-explain { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin: .4rem 0 .8rem; }

/* ── Tables: hairlines, right-aligned figures, no fills ── */
table.dist-table, table.citywide-table, .area-history-table, table.fp-table {
  border-collapse: collapse; width: 100%; margin: .8rem 0 .3rem; font-size: 15px;
  color: var(--text); font-variant-numeric: tabular-nums lining-nums; line-height: 1.4;
}
table.dist-table th, table.dist-table td, .area-history-table th, .area-history-table td,
table.fp-table th, table.fp-table td {
  border: 0; border-bottom: 1px solid var(--border); padding: .42rem .55rem; text-align: right; vertical-align: top;
}
table.dist-table th:first-child, table.dist-table td:first-child,
.area-history-table th:first-child, .area-history-table td:first-child,
table.fp-table th:first-child, table.fp-table td:first-child { text-align: left; padding-left: 0; }
table.dist-table th:last-child, table.dist-table td:last-child,
table.fp-table th:last-child, table.fp-table td:last-child { padding-right: 0; }
table.dist-table thead th, .area-history-table th, table.fp-table thead th {
  background: none; color: var(--text); font-family: var(--font); font-weight: 600;
  text-transform: none; font-size: 14px; letter-spacing: 0; border-bottom: 1px solid var(--text);
}
table.dist-table td a { color: var(--blue); }
table.dist-table th.local-idx { color: var(--text); }
table.dist-table td.local-idx { font-weight: 600; font-size: 15px; color: var(--text); background: none; }
table.citywide-table { max-width: 340px; }
table.citywide-table td, table.citywide-table th { color: var(--muted); }
.area-history-table td { font-family: var(--font); color: var(--text); border-bottom: 1px solid var(--border); }
.area-history-table td:first-child { font-family: var(--font); font-weight: 500; }
.area-history-table tbody tr:hover { background: none; }
table.dist-table tbody tr:hover { background: none; }

/* Time-of-day toggle: plain tab links */
.time-toggle { display: inline-flex; gap: 1.1rem; border: 0; border-radius: 0; overflow: visible;
               margin: .4rem 0 1.4rem; }
.time-toggle a.time-tab { padding: .1rem 0; color: var(--muted); font-size: 16px; font-weight: 500;
                          text-decoration: none; border: 0; border-bottom: 2px solid transparent; }
.time-toggle a.time-tab:hover { color: var(--text); }
.time-toggle a.time-tab.active { background: none; color: var(--text); border-bottom-color: var(--text); }

/* ── Figures ── */
figure { margin: 1.2rem 0 .3rem; }
figure.choropleth { margin: 1.2rem 0 .3rem; max-width: 520px; background: none; border-radius: 0;
                    padding: 0; box-shadow: none; }
figure.choropleth svg { display: block; background: none; border: 0; border-radius: 0; }
figure.choropleth a { cursor: pointer; }
figure.choropleth a:hover path { opacity: .85; }
figure.trend-figure, figure.pvs-figure { margin: 1.2rem 0 .3rem; border: 0; border-radius: 0;
                                          background: none; padding: 0; }
figure.trend-figure svg, figure.pvs-figure svg { display: block; }
figcaption, .choro-caption { font-size: 14.5px; color: var(--muted); line-height: 1.5; margin: .35rem 0 .9rem; }
ul.choro-caption { padding-left: 1.2rem; }
ul.choro-caption li { margin: .15rem 0; }
.fig-source { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0 0 1.5rem; }
.fig-source a { color: var(--muted); }

/* Briefs (style.css area-* scaffolding, restyled) */
.area-breadcrumb { font-size: 14px; color: var(--muted); padding-top: 0; }
.area-breadcrumb a { color: var(--muted); }
.area-context { margin-top: 1rem; color: var(--text); line-height: 1.6; font-size: 17px; }
.area-inline-link, .area-back a { color: var(--blue); text-decoration: underline; }
.area-inline-link:hover, .area-back a:hover { color: var(--blue2); }
.area-back { margin-top: 1.4rem; font-size: 16px; }
.area-disclaimer { margin-top: 1rem; color: var(--muted); font-size: 14px; line-height: 1.5; }
.area-map { margin: 1.2rem 0 0; border: 1px solid var(--border2); border-radius: 0; background: none; }
.area-history { margin-top: 1.8rem; }
.brief-figure { margin: 1.8rem 0 0; padding: 0; background: none; border: 0; border-radius: 0; }
.brief-figure figcaption { margin-top: .5rem; color: var(--muted); font-size: 14.5px; }
.brief-figure-title { font-family: var(--font); color: var(--text); font-size: 17px; font-weight: 600;
                      text-align: left; margin: 0 0 .4rem; letter-spacing: 0; }
.area-history-plot .hbar-label { fill: var(--text); font-size: 13px; }
.area-history-plot .hist-axis-label { fill: var(--muted); font-family: var(--font); font-size: 11.5px;
                                      font-weight: 500; letter-spacing: 0; }
.area-history-plot .hist-tick { fill: var(--muted); font-family: var(--font); font-size: 11px; }
.area-history-plot .hist-bar { fill: var(--blue); stroke: none; }
.area-history-plot .hist-bar:hover { fill: var(--blue2); }
.area-history-plot .hist-val { fill: var(--text); font-family: var(--font); font-size: 11px; font-weight: 500; }
.area-history-plot .hist-year { fill: var(--muted); font-family: var(--font); font-size: 11px; }
.area-history-plot .hist-axis { stroke: var(--border2); }
.brief-takeaways li { color: var(--text); font-size: 17px; line-height: 1.6; margin-bottom: .35rem; }
.brief-month-nav { display: flex; justify-content: space-between; gap: 12px; }
.ranking-badge { display: inline-block; min-height: 0; padding: .25rem .7rem; border-radius: 2px;
                 border: 1px solid var(--border2); color: var(--text); background: none; font-size: 15px;
                 text-decoration: none; }
.ranking-badge:hover { border-color: var(--text); color: var(--text); }
.brief-signup { margin-top: 2rem; padding: 1rem 0 .4rem; border: 0; border-top: 1px solid var(--border2);
                border-radius: 0; background: none; }
.brief-signup h2 { font-size: 21px; margin-top: 0; }
.brief-signup p { color: var(--text); font-size: 16px; line-height: 1.6; margin-bottom: .8rem; }
.brief-signup-form input[type="email"] {
  flex: 1 1 220px; min-height: 40px; padding: 6px 10px; border-radius: 2px;
  border: 1px solid var(--border2); background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px;
}
.brief-signup-form button, .btn-primary {
  display: inline-block; min-height: 40px; padding: 6px 18px; border-radius: 2px;
  border: 1px solid var(--text); background: var(--text); color: var(--bg);
  font-family: var(--font); font-size: 16px; font-weight: 500; cursor: pointer; text-decoration: none;
  transition: none; transform: none;
}
.brief-signup-form button:hover, .btn-primary:hover {
  background: var(--blue2); border-color: var(--blue2); color: #fff; transform: none; }
.brief-signup-alt { margin: .8rem 0 0; font-size: 15px; }
.briefs-index-links a { display: inline-block; margin: 0 .8rem .4rem 0; font-size: 16px; }

/* ── Analytics hub: an index, not a card deck ── */
.an-search-wrap { position: relative; margin: 1rem 0 .2rem; }
.an-search-wrap svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
                      width: 14px; height: 14px; stroke: var(--muted); fill: none; stroke-width: 2; pointer-events: none; }
input.an-search { width: 100%; padding: .45rem .7rem .45rem 2rem; border-radius: 2px;
                  border: 1px solid var(--border2); background: var(--bg); color: var(--text);
                  font-family: var(--font); font-size: 16px; outline: none; transition: none; }
input.an-search:focus { border-color: var(--text); }
input.an-search::placeholder { color: var(--muted); }
.an-count { color: var(--muted); font-size: 14px; font-family: var(--font); text-transform: none;
            letter-spacing: 0; margin: .4rem 0 0; }
.an-list { display: block; border-top: 1px solid var(--text); margin: .6rem 0 1rem; }
a.an-card { display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
            border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: none;
            padding: .85rem 0; text-decoration: none; color: inherit; transition: none; }
a.an-card:hover { border-color: var(--border); transform: none; box-shadow: none; }
a.an-card:hover .an-finding { text-decoration: underline; text-decoration-color: rgba(42,79,168,.45); }
.an-name { display: block; color: var(--muted); font-size: 14px; font-weight: 500; font-family: var(--font);
           text-transform: none; letter-spacing: 0; border: 0; border-radius: 0; padding: 0; margin: 0 0 .1rem; }
.an-finding { color: var(--text); font-weight: 600; font-size: 18px; line-height: 1.35; margin: 0; }
.an-kicker { color: var(--muted); font-size: 14px; font-family: var(--font); text-transform: none;
             letter-spacing: 0; margin: .25rem 0 0; }
.an-number { color: var(--text); font-weight: 500; font-size: 22px; white-space: nowrap;
             font-variant-numeric: tabular-nums lining-nums; }
.an-empty { display: none; color: var(--muted); border: 0; border-bottom: 1px solid var(--border);
            border-radius: 0; padding: .9rem 0; text-align: left; }

/* ── Front page ── */
main.pub { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 60px; }
.fp-masthead { padding: 6px 0 22px; border-bottom: 1px solid var(--text); }
.fp-kicker { font-size: 15px; color: var(--muted); margin: 0 0 .6rem; }
.fp-masthead h1 { font-size: 42px; line-height: 1.1; max-width: 22ch; margin: 0 0 .7rem; }
.fp-standfirst { font-size: 19px; line-height: 1.5; margin: 0 0 .8rem; }
.fp-byline { font-size: 15.5px; color: var(--muted); margin: 0 0 1rem; }
.fp-byline a { color: var(--text); }
.fp-links { font-size: 16px; margin: 0; }
.fp-links a { margin-right: 1.1rem; }
.fp-note { font-size: 14.5px; color: var(--muted); margin: .5rem 0 0; }

.fp-section { padding: 26px 0 8px; border-bottom: 1px solid var(--border2); }
.fp-section:last-of-type { border-bottom: 0; }
.fp-section h2 { margin-top: 0; }
.fp-section-lead { font-size: 17px; margin: 0 0 1rem; }

.fp-finding-list { list-style: none; padding: 0; margin: 0; }
.fp-finding { display: grid; grid-template-columns: 128px 1fr; gap: 6px 22px; padding: 14px 0;
              border-top: 1px solid var(--border); max-width: none; }
.fp-finding:first-child { border-top: 0; }
.fp-finding-num { font-size: 32px; font-weight: 500; line-height: 1.1; margin: 0; padding-top: 2px;
                  font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.fp-finding-text { font-size: 17.5px; line-height: 1.5; margin: 0; }
.fp-finding-src { grid-column: 2; font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.fp-finding-src a { color: var(--muted); }
.fp-finding-note { font-size: 14.5px; color: var(--muted); margin: .8rem 0 .4rem; }

table.fp-table td { font-size: 15.5px; }
table.fp-table td.fp-n { font-weight: 600; white-space: nowrap; }
.fp-table-src { font-size: 14px; color: var(--muted); margin: .4rem 0 .6rem; }

.fp-spark { margin: 1rem 0 0; }
.fp-spark svg { width: 100%; height: 200px; display: block; overflow: visible; }
.fp-spark figcaption { margin-top: .4rem; }

.fp-analyses { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr;
               gap: 0 28px; border-top: 1px solid var(--border); }
.fp-analyses li { max-width: none; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--border);
                  font-size: 16px; line-height: 1.45; }
.fp-analyses li a { font-weight: 600; color: var(--text); text-decoration: none; }
.fp-analyses li a:hover { text-decoration: underline; }
.fp-analyses li span { display: block; color: var(--muted); font-size: 15px; }
.fp-analyses-foot { font-size: 15px; color: var(--muted); margin: .9rem 0 .5rem; }

.fp-two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 36px; }
.fp-two-col ul { padding-left: 1.1rem; margin: .3rem 0 .8rem; }
.fp-two-col li { margin: .2rem 0; font-size: 16px; }
.fp-disclaimer p { font-size: 15px; color: var(--muted); margin-bottom: .6rem; }

/* About */
.about-meta { border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2);
              padding: .5rem 0 .6rem; margin: 1.2rem 0 1.6rem; }
.about-meta dt { font-size: 14px; color: var(--muted); margin-top: .5rem; }
.about-meta dd { font-size: 17px; margin: .05rem 0 .3rem; }

/* ── Mobile ── */
@media (max-width: 768px) {
  html, body { font-size: 16px; }
  /* The nav wraps under the wordmark instead of pushing the page wider. */
  #topbar { padding: 10px 14px; flex-wrap: wrap; gap: 4px 12px; }
  #brand-name { font-size: 19px; white-space: nowrap; }
  #topbar-right { flex-wrap: wrap; gap: 4px 8px; }
  #topbar-nav { flex-wrap: wrap; gap: 0; }
  #topbar-nav a { font-size: 15px; padding: 3px 6px 3px 0; margin-right: 6px; }
  #auth-slot { margin-left: 0; }
  #site-footer { padding: 16px 16px 24px; }
  .rankings-main, main.pub { width: calc(100% - 32px); padding-top: 20px; }
  .dist-main h1, .area-title, main.pub h1 { font-size: 27px; }
  .fp-masthead h1 { font-size: 30px; }
  .fp-standfirst { font-size: 17px; }
  .headline-index { font-size: 34px; }
  .dist-main h2, main.pub h2 { font-size: 21px; }
  .finding { font-size: 17.5px; }
  table.dist-table, table.fp-table { display: block; overflow-x: auto; white-space: nowrap;
                                     -webkit-overflow-scrolling: touch; }
  figure.choropleth, figure.trend-figure, figure.pvs-figure, .fp-spark { max-width: 100%; overflow-x: auto; }
  .fp-finding { grid-template-columns: 1fr; gap: 2px; }
  .fp-finding-src { grid-column: 1; }
  .fp-analyses, .fp-two-col { grid-template-columns: 1fr; }
  a.an-card { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
