@font-face { font-family: "Source Serif"; font-weight: 600 700; font-display: swap;
  src: url(/fonts/source-serif-latin-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+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif"; font-weight: 600 700; font-display: swap;
  src: url(/fonts/source-serif-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --bg: #fdfdfb; --text: #16181b; --muted: #5c6168; --line: #dedcd5; --rule: #16181b; --hover: #f1f0ea;
  --accent: #b3361d; --link: #1d4f91; --series-1: #2a78d6; --ref: #8b9096;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141517; --text: #ecebe6; --muted: #a1a5ab; --line: #303236; --rule: #ecebe6; --hover: #222327;
    --accent: #e2694f; --link: #8ab4f0; --series-1: #3987e5; --ref: #7d8288;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141517; --text: #ecebe6; --muted: #a1a5ab; --line: #303236; --rule: #ecebe6; --hover: #222327;
  --accent: #e2694f; --link: #8ab4f0; --series-1: #3987e5; --ref: #7d8288;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* header: wordmark, sections, search */
header { border-bottom: 3px double var(--rule); }
.bar { max-width: 1040px; margin: 0 auto; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.brand { font: 700 22px/1 "Source Serif", Georgia, serif; color: var(--text); letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.menu { display: flex; gap: 18px; font-size: 15px; }
.menu a { color: var(--text); }
.menu a[aria-current] { box-shadow: inset 0 -2px var(--accent); }
.search { margin-left: auto; flex: 0 1 260px; }
.search input { width: 100%; }
input[type=search], select { font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 3px;
  background: var(--bg); color: var(--text); }
input[type=search]:focus, select:focus { outline: 2px solid var(--link); outline-offset: -1px; }

main { max-width: 1040px; margin: 0 auto; padding: 8px 16px 16px; }
.crumbs { font-size: 14px; color: var(--muted); margin-top: 12px; }
h1, h2 { font-family: "Source Serif", Georgia, serif; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.08; margin: 16px 0 8px; }
h1 small { display: block; font: 400 17px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--muted); margin-top: 8px; letter-spacing: 0; }
h2 { font-size: 22px; line-height: 1.2; margin: 40px 0 10px; padding-top: 10px; border-top: 1px solid var(--rule); }
.lead { font-size: 18px; max-width: 64ch; margin: 8px 0 0; }
.note { font-size: 14px; color: var(--muted); }
.compare { max-width: 64ch; margin: 16px 0 0; padding-left: 12px; border-left: 3px solid var(--accent); }
.maplink { margin: 12px 0 0; font-weight: 600; }

/* key figures: a row of numbers between rules, no boxes */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 24px 0 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); }
.figures > div { padding: 12px 16px 12px 0; }
.figures > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.figures dt { font-size: 14px; color: var(--muted); }
.figures dd { margin: 2px 0; font: 700 30px/1.15 "Source Serif", Georgia, serif; font-variant-numeric: tabular-nums; }
.figures p { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > div { padding: 10px 8px 10px 0; border-left: 0 !important; }
  .figures > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line) !important; }
  .figures dd { font-size: 24px; }
}

/* chart */
.chart { margin: 32px 0 0; }
.chart figcaption { font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.chart figcaption > span:first-of-type { color: var(--muted); font-size: 14px; }
.chart .legend { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.chart .legend i { display: inline-block; width: 14px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 2px solid var(--series-1); }
.chart .legend i.ref { border-top: 2px dashed var(--ref); }
.chart svg { display: block; width: 100%; height: auto; margin-top: 6px; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.s1 { stroke: var(--series-1); }
.chart .line.ref { stroke: var(--ref); stroke-dasharray: 5 4; }
.chart .dot { stroke: var(--bg); stroke-width: 2; }
.chart .dot.s1 { fill: var(--series-1); }
.chart .dot.ref { fill: var(--ref); }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover { fill: var(--text); fill-opacity: 0.12; }
.chart .end { fill: var(--text); font-size: 12px; }
/* the chart scales with the page, so on a phone its text is set larger in chart units */
@media (max-width: 640px) {
  .chart .tick { font-size: 21px; }
  .chart .end { font-size: 21px; }
}
.chart .end.ref { fill: var(--muted); }

/* tables: rules, no boxes */
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 7px 12px 7px 0; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
th:last-child, td:last-child { padding-right: 0; }
thead th { font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--rule); }
tbody th { font-weight: 500; }
tbody tr:hover { background: var(--hover); }
.n { text-align: right; }
.sales .meta { display: none; }
.sales .m { color: var(--muted); }

/* sales on a phone: a two-line list instead of a wide table */
@media (max-width: 640px) {
  .sales, .sales tbody { display: block; }
  .sales thead { display: none; }
  .sales tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .sales td { display: none; padding: 0; border: 0; }
  .sales td.a { display: block; grid-area: 1 / 1; white-space: normal; font-weight: 500; }
  .sales td.p { display: block; grid-area: 1 / 2; }
  .sales td.meta { display: block; grid-area: 2 / 1; white-space: normal; font-size: 14px; color: var(--muted); }
  .sales td.m { display: block; grid-area: 2 / 2; font-size: 14px; }
}

/* search */
.big-search input { width: 100%; font-size: 18px; padding: 13px 14px; margin-top: 20px; border-color: var(--rule); }
.results { list-style: none; margin: 0; padding: 0; }
.results:not(:empty) { border: 1px solid var(--rule); border-top: 0; }
.results li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; color: var(--text);
  border-bottom: 1px solid var(--line); }
.results li:last-child a { border-bottom: 0; }
.results li a:hover, .results li a:focus { background: var(--hover); text-decoration: none; }
.results .ctx { color: var(--muted); font-size: 14px; white-space: nowrap; }

/* map */
.controls { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin: 20px 0 10px; font-size: 15px; }
.controls label { display: flex; gap: 8px; align-items: center; }
.map { height: min(72vh, 680px); min-height: 380px; border: 1px solid var(--rule); }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 14px; margin: 10px 0 0; }
.map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.maplibregl-popup-content { font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #16181b;
  padding: 12px 14px; border-radius: 3px; max-width: 320px; }
.maplibregl-popup-content b { display: block; margin-bottom: 6px; }
.maplibregl-popup-content table { font-size: 13px; }
.maplibregl-popup-content td { padding: 3px 10px 3px 0; border-color: #e3e1da; }
.maplibregl-popup-content a { color: #1d4f91; display: inline-block; margin-top: 8px; }
.maplibregl-popup-content .more { color: #5c6168; font-size: 13px; margin-top: 4px; }

/* FAQ and text pages */
.faq { border-bottom: 1px solid var(--line); padding: 10px 0; max-width: 72ch; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 4px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 19px; margin-top: 28px; }

footer { max-width: 1040px; margin: 56px auto 0; padding: 16px 16px 32px; font-size: 13px; color: var(--muted);
  border-top: 3px double var(--rule); }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-bottom: 12px; }
footer .cols p { margin: 6px 0 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
footer nav a { color: var(--text); }
