/* watersearch: the one stylesheet (DESIGN.md 1; the design studio's
   finals, 2026-10-03). System fonts, warm paper, one accent (water blue),
   space instead of boxes: a card only for the suburb's hero. No web font,
   no script. Nothing under 14px on a phone, 48px tap targets. */

/* The page's own colours (not status): paper, ink, hairlines, the blue of
   links. Light only (Graham, 2026-10-04): the status scale is the content
   and is drawn for one background, as on most data-journalism sites. */
:root {
  --paper: #fbfaf7; --card: #ffffff; --ink: #1e2427; --ink2: #4f4c46; --line: #dcd6ca;
  --wash: #f3f0e9; --blue-ink: #1d6488; --on-dark: #ffffff; --focus: #1d6488;
  --on-pale: #1e2427;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

/* STATUS PALETTE (2026-10-04: the design studio's tokens, then Graham's
   ruling the same day: the conventional colours, no brown anywhere;
   DESIGN.md 10). The one place a status colour is spelled out: every mark,
   chip, key and token reads these through var(), and test_status_palette
   fails on a status hex anywhere else. Water as normal is a clear water
   blue, the strongest calm colour; supplying fairly is a paler tint of it
   with a blue edge, the same family. A warning that no water may occur
   (C3-v2) is the standard warning amber, with a darker edge and a triangle
   on its chip; never red. Strain (poor pressure in places, low) is orange
   with an edge. Red only for short of water, and a deep crimson for
   critically low. A scheduled overnight closure is night indigo, drawn as
   a half-height bar, never an outage. No report is a small grey dot, not a
   step. Validated with the dataviz validator, all pairs on --paper: every
   pair clears CVD dE 11 and normal vision dE 15. Pale fills under 3:1 on
   paper carry an edge. Light only (2026-10-04). */
:root {
  --s-adequate: #2477a0;
  --s-fair: #7fb2d0;
  --s-fair-edge: var(--s-adequate);
  --s-warned: #f2b72f;
  --s-warned-edge: #a36b00;
  --s-strain: #dc7702;
  --s-strain-edge: #a35400;
  --s-no-water: #c62828;
  --s-critical: #74102c;
  --s-overnight: #3b3470;
  --s-gap: #8a8a86;
  --s-unknown-ring: #66625c;
  --s-outage: var(--s-no-water);
}
/* END STATUS PALETTE */

/* --- base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.5 var(--body); font-variant-numeric: tabular-nums;
}
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: 34px; font-weight: 800; }
h2 { font-size: 24px; font-weight: 800; margin-top: 40px; }
h3 { font-size: 19px; font-weight: 700; margin-top: 24px; letter-spacing: -.01em; }
p, ul, ol, dl, table, blockquote, figure, pre { margin: 0 0 14px; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: 4px; }
a { color: var(--blue-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
small { font-size: 15px; }
strong, b { font-weight: 700; }
dfn { font-style: normal; font-weight: 650; }
blockquote { border-left: 3px solid var(--ink); padding-left: 12px; margin-left: 0; }
blockquote footer { font-size: 15px; color: var(--ink2); }
code, pre { font: 15px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre { background: var(--wash); padding: 12px; overflow-x: auto; border-radius: 8px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
hgroup p { color: var(--ink2); }
details { margin: 0 0 10px; }
summary { cursor: pointer; min-height: 44px; display: flex; align-items: center;
  color: var(--blue-ink); font-size: 15px; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
dl.kv dt { color: var(--ink2); }
dl.kv dd { margin: 0; }
.muted { color: var(--ink2); }

/* Tables: hairlines, never boxes; long ones scroll inside themselves. */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line); }
th { font-weight: 650; color: var(--ink2); }
td.num, th.num { text-align: right; }

/* Forms: one input and one button as a pair. */
input, button { font: inherit; color: inherit; }
input[type=search], input[type=text] {
  min-height: 48px; width: 100%; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--ink2); background: var(--card); color: var(--ink);
}
input::placeholder { color: var(--ink2); opacity: 1; }
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 12px; border: 0;
  font: 700 16px var(--body); text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--paper);
}
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; }
.pair { display: flex; gap: 8px; }
.pair input { flex: 1; min-width: 0; }

/* --- the frame: header, preview line, main, footer --------------------------- */
.wrap { max-width: 46rem; margin-inline: auto; padding-inline: 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 8px; font: 800 21px/1 var(--body);
  letter-spacing: -.02em; color: var(--ink); text-decoration: none; min-height: 48px; }
.mark .drop { width: 13px; height: 17px; background: var(--s-adequate);
  border-radius: 50% / 60% 60% 40% 40%; }
.top nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.top nav li { margin: 0; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 16px; }
.top nav a:hover { text-decoration: underline; }
.icon-btn { width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line);
  display: grid; place-items: center; color: var(--ink); }
form.find { flex-basis: 100%; padding-bottom: 12px; }
form.find label { display: block; font-size: 15px; font-weight: 650; margin-bottom: 4px; }
.wrap > .top nav { display: none; }
/* On a phone the search is the icon; the box opens on #find, with no script. */
@media (max-width: 799px) {
  form.find { display: none; }
  form.find:target, form.find.open { display: block; }
}
@media (min-width: 800px) {
  .icon-btn { display: none; }
  .wrap > .top nav { display: block; flex: 1; }
  form.find { flex-basis: auto; padding: 0; }
  form.find label { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); }
  form.find input { width: 15rem; }
  .top { border-bottom: 1px solid var(--line); padding-block: 8px; }
}
.preview { font-size: 14px; color: var(--ink2); margin: 0 0 10px; }
p.silence { border-left: 3px solid var(--ink); padding: 8px 12px; background: var(--wash); }
main.wrap { padding-bottom: 24px; }

footer.wrap { margin-top: 40px; padding-bottom: 32px; }
.made { padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 12px;
  font-size: 15px; color: var(--ink2); }
.made p { margin: 0; }
.gr { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink);
  color: var(--paper); display: grid; place-items: center; font: 800 14px var(--body); }
.foot-links { font-size: 14px; color: var(--ink2); margin-top: 14px; line-height: 2.2; }
.foot-links a { color: var(--ink2); }
.release-line { font-size: 14px; color: var(--ink2); margin-top: 6px; }

/* --- the suburb page's first screen ---------------------------------------- */
nav.crumbs ul { display: flex; gap: 14px; list-style: none; padding: 0; font-size: 15px; }
h1.place { font-size: 42px; line-height: 1; letter-spacing: -.035em; margin: 2px 0 6px; }
h1.place.long { font-size: 34px; }
.fresh { font-size: 16px; line-height: 1.4; color: var(--ink2); margin: 0 0 10px; }
.fresh b { color: var(--ink); font-weight: 650; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 2px 16px 14px; }
.sup { padding: 7px 0; border-bottom: 1px solid var(--line); }
.sup-h { display: flex; align-items: center; justify-content: space-between; gap: 8px 10px;
  flex-wrap: wrap; }
.sup-n { font-weight: 650; font-size: 17px; }
.said { font-size: 15px; color: var(--ink2); margin: 3px 0 0; }
.said q { color: var(--ink); }

/* The status chip: word, shape and colour, never colour alone. */
.chip { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font: 700 14px/1 var(--body); padding: 7px 11px; border-radius: 999px;
  background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink2); }
.chip::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; }
.chip.adequate, .chip.fair { background: var(--s-adequate); color: var(--on-dark); box-shadow: none; }
.chip.fair { background: var(--card); color: var(--blue-ink); box-shadow: inset 0 0 0 2px var(--s-adequate); }
.chip.warned { background: var(--s-warned); color: var(--on-pale);
  box-shadow: inset 0 0 0 1.5px var(--s-warned-edge); }
.chip.warned::before { width: 0; height: 0; border-radius: 0; background: none;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-bottom: 10px solid currentColor; }
.chip.pressure, .chip.low { background: var(--s-strain); color: var(--on-pale);
  box-shadow: inset 0 0 0 1.5px var(--s-strain-edge); }
.chip.pressure::before, .chip.low::before { border-radius: 2px; }
.chip.no_water { background: var(--s-no-water); color: var(--on-dark); box-shadow: none; }
.chip.no_water::before { width: 10px; height: 10px; background: none;
  box-shadow: inset 0 0 0 2px currentColor; }
.chip.critical { background: var(--s-critical); color: var(--on-dark); box-shadow: none; }
.chip.critical::before { width: 10px; height: 10px; border-radius: 1px; background: currentColor; }
.chip.overnight { background: var(--s-overnight); color: var(--on-dark); box-shadow: none; }
.chip.overnight::before { width: 10px; height: 10px; background: none;
  box-shadow: inset -3px -1px 0 0 currentColor; }
.chip.unknown::before, .chip.no_report::before { background: none;
  box-shadow: inset 0 0 0 1.5px currentColor; }

/* The card's first sentence: what is working, taken together (hero.working). */
.lead-line { font: 750 20px/1.22 var(--body); letter-spacing: -.01em; margin: 12px 0 2px; }
.lead-line a { color: inherit; }
.ctx { margin-top: 6px; border-top: 1px solid var(--line); }
.ctx .sup { border-bottom: 0; padding-bottom: 0; }
.ctx-t { margin-top: 4px; }
.said.now { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 6px 0 2px; }
.said.now .chip { padding: 5px 9px; }
.guard { font-size: 14px; color: var(--ink2); margin: 8px 0 0; }
.big { display: flex; align-items: flex-end; gap: 12px; padding-top: 10px; }
.big .num { font: 800 58px/.82 var(--body); letter-spacing: -.045em; color: var(--blue-ink); }
.big .num.over { color: var(--s-no-water); }
.num-t { font-size: 16px; line-height: 1.3; font-weight: 650; }
.num-t a { color: inherit; }
.num-s { font-size: 15px; color: var(--ink2); margin: 6px 0 0; }
.cmp { display: grid; grid-template-columns: auto 1fr auto; gap: 3px 10px; align-items: center;
  margin-top: 12px; font-size: 15px; }
.cmp .bar { height: 10px; border-radius: 5px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cmp .bar i { display: block; height: 100%; background: var(--s-no-water); }
.cmp .bar i.city { background: var(--ink2); }
.cmp b { font-weight: 700; text-align: right; white-space: nowrap; }
.cmp b.good { color: var(--blue-ink); }
.endline { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 15px; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 6px; }
.acts .btn { padding: 0 8px; border-radius: 14px; }
p.street { font-size: 15px; color: var(--ink2); margin: 0 0 8px; }

/* --- below the first screen: space and hairlines, not boxes ---------------- */
.sec { margin-top: 40px; }
.sec > h2 { margin-top: 0; }
.lede { font-size: 16px; color: var(--ink2); margin-bottom: 12px; }
.para { font-size: 16px; margin: 8px 0 0; }
.para b.good { color: var(--blue-ink); }
.quote { font-size: 18px; font-weight: 650; line-height: 1.35; border-left: 3px solid var(--ink);
  padding-left: 12px; margin: 10px 0 12px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 16px; }
.facts dt { color: var(--ink2); }
.facts dd { margin: 0; font-weight: 650; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 6px; }
.tiles strong { display: block; font: 800 34px/1.05 var(--body); letter-spacing: -.03em; }
.tiles span { font-size: 15px; color: var(--ink2); }
.src { font-size: 14px; color: var(--ink2); margin-top: 10px; }
.fault { margin-top: 40px; border-top: 2px solid var(--ink); padding-top: 14px; }
.fault .lbl { font-size: 15px; color: var(--ink2); margin: 0; }
.fault .tel { display: inline-flex; align-items: center; min-height: 48px; font: 800 28px/1.2 var(--body);
  letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.fault p { margin: 0; }
.fault .mail { font-size: 16px; min-height: 32px; }
nav.more ul, nav.signpost ul { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
nav.more li, nav.signpost li { margin: 0; }
nav.more li a, nav.signpost li a { display: flex; justify-content: space-between; gap: 12px; align-items: center;
  min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink);
  text-decoration: none; font-size: 16px; padding: 6px 0; }
nav.more li a::after, nav.signpost li a::after { content: "›"; font-size: 20px; color: var(--ink2); }
.detail-head { margin-top: 56px; }
section.story p.story { font-size: 16px; }
.today p { margin-bottom: 12px; }
.today small { color: var(--ink2); }

/* --- figures (DESIGN.md 7-11) ------------------------------------------------- */
svg.defs { position: absolute; width: 0; height: 0; }
figure { margin: 24px 0 36px; }
figure hgroup.fighead h3 { font-size: 18px; margin: 0 0 4px; }
figure hgroup.fighead p { font-size: 15px; color: var(--ink2); }
.chartbox > svg.chart { display: block; width: 100%; max-width: 38rem; height: auto;
  margin: 0 0 8px; }
.chartname { font-weight: 650; margin: 18px 0 4px; font-size: 16px; }
.chartline { font-size: 15px; color: var(--ink2); margin: 0 0 8px; }
p.coverage, p.source { font-size: 14px; color: var(--ink2); margin-bottom: 4px; }
p.source small { font-size: 14px; }
figure details summary { font-size: 15px; }
.headline-number { font-size: 16px; }
@media (min-width: 70rem) {
  figure { width: min(64rem, 100vw - 2rem); margin-left: calc((46rem - 40px - min(64rem, 100vw - 2rem)) / 2); }
  figure > * { max-width: 44rem; margin-inline: auto; }
  figure > .chartbox { max-width: 64rem; }
  figure.hm-fig { width: auto; margin-left: 0; }
  figure.hm-fig > *, figure.hm-fig > .chartbox { max-width: none; }
}

/* Chart text is in user units; on a phone the widest chart (574 units) is
   about 350px wide, so 23 units read as 14px. */
svg.chart text { font-size: 23px; fill: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 700px) { svg.chart text { font-size: 16px; } }
svg.chart text.axis { fill: var(--ink2); }
svg.chart text.label, svg.chart text.group, svg.chart text.chosen { font-weight: 650; fill: var(--ink); }
svg.chart text.name { fill: var(--blue-ink); }
svg.chart text.gaplabel { fill: var(--ink2); font-style: italic; }
svg.chart .grid { stroke: var(--line); stroke-width: 1; }
svg.chart .baseline { stroke: var(--ink2); stroke-width: 1; }
svg.chart .median { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 4 3; }
svg.chart .citytick { stroke: var(--ink); stroke-width: 3; }
svg.chart .recovered { stroke: var(--ink); stroke-width: 3; }
svg.chart .window { fill: var(--wash); }
svg.chart .markday { fill: none; stroke: var(--ink); stroke-width: 1.5; }
svg.chart .gapband { fill: url(#gaphatch); }
.filling { fill: url(#hatch); }
svg.chart .covbg { fill: var(--wash); }
svg.chart .cov { fill: var(--ink2); }
svg.chart .hit { fill: transparent; }
svg.chart .stem, svg.chart .bar { stroke: var(--s-outage); stroke-width: 2; }
svg.chart .dot { fill: var(--s-outage); stroke: var(--paper); stroke-width: 2; }
svg.chart .dot.open { fill: var(--paper); stroke: var(--s-outage); stroke-width: 2.5; }
svg.chart .arrow { fill: none; stroke: var(--s-outage); stroke-width: 2.5; }

/* The status marks (DESIGN.md 10): every reported day a full square, so a
   good year looks full; pale fills keep their edge; the overnight closure
   is a half-height bar (charts.cell draws the shapes). */
.s-adequate, rect[data-status=adequate] { fill: var(--s-adequate); }
.s-fair, rect[data-status=fair] { fill: var(--s-fair); stroke: var(--s-fair-edge); stroke-width: 1; }
.s-pressure, rect[data-status=pressure] { fill: var(--s-strain); stroke: var(--s-strain-edge); stroke-width: 1; }
.s-low, rect[data-status=low] { fill: var(--s-strain); stroke: var(--s-strain-edge); stroke-width: 1; }
.s-warned, rect[data-status=warned] { fill: var(--s-warned); stroke: var(--s-warned-edge); stroke-width: 1; }
.s-no_water, rect[data-status=no_water] { fill: var(--s-no-water); }
.s-critical, rect[data-status=critical] { fill: var(--s-critical); }
.s-overnight, rect[data-status=overnight] { fill: var(--s-overnight); }
.s-unknown, rect[data-status=unknown] { fill: none; stroke: var(--s-unknown-ring); stroke-width: 1; }
.s-gap, rect[data-status=no_report] { fill: var(--s-gap); }
#hatch line { stroke: var(--ink); stroke-width: 1.2; stroke-opacity: .5; }
#gaphatch line { stroke: var(--line); stroke-width: 1; }
svg.key { width: 12px; height: 15px; flex: none; overflow: visible; }
ul.legend { list-style: none; padding: 0; margin: 12px 0 8px; display: flex; flex-wrap: wrap;
  gap: 6px 14px; font-size: 14px; color: var(--ink2); }
ul.legend li { display: flex; align-items: center; gap: 6px; margin: 0; }
.token { font-weight: 650; }
.token svg.key { display: inline-block; vertical-align: -2px; margin-right: 5px; }

/* The heatmap (9.1a): HTML rows, so labels stay 14px on any phone; the days
   of a month are one small SVG; a run of months with no board is one row. */
.hm { display: grid; gap: 3px; margin: 4px 0 6px; }
.hm-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 34px; column-gap: 6px;
  align-items: center; min-height: 15px; font-size: 14px; }
.hm-m { color: var(--ink2); line-height: 1; white-space: nowrap; }
.hm-n { font-weight: 700; text-align: right; line-height: 1; }
.hm-n.zero { color: var(--ink2); font-weight: 400; }
.hm-head { color: var(--ink2); }
.hm-head .hm-n { font-weight: 400; color: var(--ink2); }
.hm-ax { display: flex; justify-content: space-between; }
.hm-yr { font-weight: 700; font-size: 14px; margin-top: 6px; }
.hm svg { display: block; width: 100%; height: auto; overflow: visible; }
.hm-gap { font-style: italic; color: var(--ink2); border-bottom: 1.5px dotted var(--s-gap);
  line-height: 1.2; }

/* The chain (DESIGN.md 9.2): tiers top to bottom, nodes side by side. */
.chain { margin-block: 8px 16px; }
.chain .tier { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chain .node { flex: 1 1 13rem; max-width: 22rem; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; background: var(--card); }
.chain .node p { margin: 4px 0; font-size: 15px; }
.chain .node.inferred, .chain .node.unknown { border-style: dashed; }
.chain .node.suburb { background: var(--wash); }
.chain .evidence { display: block; color: var(--ink2); }
.chain .evidence.inferred { font-style: italic; }
.chain .flow { text-align: center; margin: 2px 0; font-size: 20px; color: var(--ink2); }
.chain .tier-label { text-align: center; margin: 4px 0; font-size: 14px; text-transform: uppercase;
  letter-spacing: .04em; color: var(--ink2); }
.chain .tier-note { text-align: center; }

/* Small multiples: three columns on a desktop, two on a phone. */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
.panels .panel p { margin: 0 0 3px; font-size: 14px; line-height: 1.25; }
.panels svg.panel { width: 100%; height: auto; display: block; }
nav.replay p { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }

/* The method page: one small picture per step. */
nav.toc ul { columns: 2 14rem; padding-left: 1.25rem; font-size: 16px; }
ol.steps { list-style: none; padding: 0; }
ol.steps > li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0 16px; align-items: start;
  margin-bottom: 16px; }
ol.steps > li > svg { width: 4.5rem; height: auto; }
ol.steps > li > p { margin: 0; }
.pic-frame { fill: var(--card); stroke: var(--ink2); stroke-width: 1.5; }
.pic-head { fill: var(--blue-ink); }
.pic-line line { stroke: var(--ink2); stroke-width: 2; }
.pic-arrow { fill: none; stroke: var(--blue-ink); stroke-width: 2; }
.pic-gap { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 1.5; }
dl.guide dt { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
dl.guide dd { margin: 0 0 6px; }

/* /questions: one card per question, the quote then the answer. */
article.question { margin-bottom: 28px; }
article.question blockquote { margin: 0 0 12px; }
article.question p.detail { margin-bottom: 0; }
ul.jump { display: flex; flex-wrap: wrap; gap: 0 20px; padding-left: 0; list-style: none; }
ul.az { columns: 2 12rem; padding-left: 1rem; }

/* --- home --------------------------------------------------------------- */
h1.promise { font-size: 36px; line-height: 1.08; letter-spacing: -.03em; margin: 8px 0 20px; }
.home-find label { display: block; font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.home-find .pair input { min-height: 56px; }
.home-find button { min-height: 56px; min-width: 56px; padding: 0 16px; }
/* the home page's city picture (2026-10-04): right now, then this year */
.city-line { font-size: 22px; letter-spacing: -.01em; }
.city-line b { font-size: 28px; }
.sec .chip { margin-right: 6px; vertical-align: 1px; }
.quiet { color: var(--ink2); font-size: 15px; }
ul.worst { list-style: none; margin: 10px 0 14px; padding: 0; border-top: 1px solid var(--line); }
ul.worst li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
ul.worst li span { font-variant-numeric: tabular-nums; color: var(--ink2); white-space: nowrap; }
.home-not li { margin-bottom: 8px; }

@media (max-width: 600px) {
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .panels { grid-template-columns: repeat(2, 1fr); }
  table { font-size: 14px; }
  th, td { padding: 7px 8px 7px 0; }
  dl.kv { grid-template-columns: 1fr; gap: 0; }
  dl.kv dd { margin-bottom: 10px; }
  .tiles strong { font-size: 30px; }
}

/* A desktop suburb page: the card and its actions on the left, the record
   on the right (the studio's 1280 final). Header and footer span the same
   width; every other page keeps the 46rem reading measure. */
@media (min-width: 1000px) {
  .frame, main.wide { max-width: 1120px; }
  .grid2 { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 0 64px;
    align-items: start; grid-template-areas: "lead rest" "fault rest";
    grid-template-rows: auto 1fr; }
  .grid2 > .lead { grid-area: lead; }
  .grid2 > .rest { grid-area: rest; }
  .grid2 > .fault { grid-area: fault; }
  .below { margin-left: 464px; }
  .grid2 > .rest > .sec:first-child { margin-top: 0; }
  footer.frame > * { max-width: 46rem; margin-inline: auto; }
}
