:root {
  color-scheme: light;
  --page: #f3f5f7;
  --surface: #ffffff;
  --line: #dde2e8;
  --line-strong: #bfc7d1;
  --ink: #12161b;
  --ink-soft: #46505c;
  --ink-faint: #68727e;
  --brand: #008c45;
  --brand-strong: #00713a;
  --brand-tint: #e4f3ea;
  --header: #008c45;
  --link: #00713a;
  --luce: #f5c400;
  --luce-ink: #755600;
  --luce-tint: #fff5c7;
  --acqua: #1479cc;
  --acqua-ink: #0f5c9c;
  --acqua-tint: #e1effb;
  --gas: #e8590c;
  --gas-ink: #a33d05;
  --gas-tint: #fde8da;
  --live: #cd212a;
  --late: #a05f00;
  --ok: #1c7c45;
  --sign: #ffffff;
  --sign-ink: #12161b;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(18, 22, 27, .06);
  --head: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --page: #0f1215;
  --surface: #171b20;
  --line: #2a3139;
  --line-strong: #3d4651;
  --ink: #eef1f4;
  --ink-soft: #b7c0ca;
  --ink-faint: #8d97a3;
  --brand: #1f9d5c;
  --brand-strong: #62d394;
  --brand-tint: #12301f;
  --header: #0c5a33;
  --link: #62d394;
  --luce-ink: #f5c400;
  --luce-tint: #332a00;
  --acqua-ink: #74b9f2;
  --acqua-tint: #0f2940;
  --gas-ink: #ff9a63;
  --gas-tint: #3a1b08;
  --live: #ff5a4f;
  --late: #f0a73a;
  --ok: #4cc17f;
  --shadow: none;
}
.utility-luce, .nav-luce { --u: var(--luce); --u-ink: var(--luce-ink); --u-tint: var(--luce-tint); --u-on: #12161b; }
.utility-acqua, .nav-acqua { --u: var(--acqua); --u-ink: var(--acqua-ink); --u-tint: var(--acqua-tint); --u-on: #ffffff; }
.utility-gas, .nav-gas { --u: var(--gas); --u-ink: var(--gas-ink); --u-tint: var(--gas-tint); --u-on: #ffffff; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 12px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16.5px/1.5 var(--body); overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--head); font-weight: 700; line-height: 1.08; }
h1 { font-size: clamp(30px, 4.2vw, 46px); }
h2 { font-size: clamp(23px, 2.6vw, 30px); }
h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
img, svg { display: block; }
b, strong { font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.icon { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.14em; fill: none; stroke: currentColor; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: 12px; padding: 10px 14px; background: var(--surface); border: 2px solid var(--ink); border-radius: 6px; }
.wrap { width: min(100% - 48px, 1240px); margin-inline: auto; }
.text-link, .prose a, .page-lead a, .note a, .doc a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover, .prose a:hover { text-decoration-thickness: 2px; }
.number { font-variant-numeric: tabular-nums; }

.site-header { background: var(--header); color: #fff; }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo { display: inline-flex; align-items: baseline; gap: 3px; flex: none; font-family: var(--head); font-weight: 700; }
.logo-sign { padding: 1px 10px 2px; border: 2.5px solid var(--sign-ink); border-radius: 5px; background: var(--sign); color: var(--sign-ink); font-size: 23px; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; }
.logo-tld { font-size: 20px; color: var(--ink-soft); }
.site-header .logo-tld, .menu-head .logo-tld { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.site-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 7px; color: #fff; font-weight: 700; white-space: nowrap; }
.site-nav a:hover { background: rgba(255, 255, 255, .16); }
.site-nav a[aria-current="page"] { background: #fff; color: #12161b; }
.nav-service::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--u); box-shadow: 0 0 0 1.5px #fff; }
.nav-gap { width: 1px; height: 22px; margin-inline: 8px; background: rgba(255, 255, 255, .35); }
.header-status { margin-left: auto; color: rgba(255, 255, 255, .86); font-size: 14.5px; white-space: nowrap; }
.header-status a { color: #fff; font-weight: 700; }
.header-status a:hover { text-decoration: underline; text-underline-offset: 3px; }
.theme-toggle { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 8px; background: transparent; color: #fff; font-size: 17px; }
.theme-toggle:hover { background: rgba(255, 255, 255, .16); }
.theme-toggle .theme-sun, html[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-sun { display: inline-grid; }
.menu-button { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 8px; color: #fff; font-weight: 700; }
.menu-button .icon { font-size: 20px; }
.menu-backdrop { position: fixed; z-index: 80; inset: 0; background: rgba(18, 22, 27, .55); opacity: 0; pointer-events: none; transition: opacity .2s; }
.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
.menu-open { overflow: hidden; }
.site-menu { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(88vw, 370px); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); box-shadow: -14px 0 40px rgba(0, 0, 0, .28); transform: translateX(105%); visibility: hidden; transition: transform .24s ease, visibility 0s .24s; }
.menu-open .site-menu, .site-menu:target { transform: none; visibility: visible; transition: transform .24s ease; }
.menu-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 12px 0 18px; background: var(--header); }
.menu-close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; color: #fff; font-size: 24px; }
.menu-close:hover { background: rgba(255, 255, 255, .16); }
.menu-status { padding: 11px 20px; background: var(--brand-tint); font-size: 15.5px; }
.menu-group { display: grid; padding: 8px; border-bottom: 1px solid var(--line); }
.menu-group > a, .menu-regions summary { display: flex; align-items: center; gap: 13px; min-height: 50px; padding: 0 12px; border-radius: 9px; font-size: 17.5px; font-weight: 700; }
.menu-group > a:hover, .menu-regions summary:hover { background: var(--page); }
.menu-group > a[aria-current="page"] { background: var(--brand-tint); }
.menu-group > a > .icon, .menu-regions summary > .icon:first-child { width: 32px; height: 21px; color: var(--ink-soft); }
.menu-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--u); color: var(--u-on); font-size: 18px; }
.menu-group b { margin-left: auto; min-width: 34px; padding: 2px 9px; border-radius: 999px; background: var(--u-tint); color: var(--u-ink); font-size: 15px; text-align: center; font-variant-numeric: tabular-nums; }
.menu-regions summary { cursor: pointer; list-style: none; }
.menu-regions summary::-webkit-details-marker { display: none; }
.menu-regions summary > .icon:last-child { margin-left: auto; color: var(--ink-faint); transition: transform .15s; }
.menu-regions[open] summary > .icon:last-child { transform: rotate(180deg); }
.menu-regions div { display: grid; grid-template-columns: 1fr 1fr; padding: 2px 12px 8px 57px; }
.menu-regions div a { padding: 8px 0; font-size: 16px; }
.menu-regions div a:hover { text-decoration: underline; text-underline-offset: 3px; }
.theme-toggle.menu-theme { display: flex; align-items: center; justify-content: center; gap: 10px; width: calc(100% - 32px); height: 48px; margin: 16px 16px calc(20px + env(safe-area-inset-bottom)); border: 1px solid var(--line-strong); color: var(--ink); font-size: 16px; font-weight: 700; }
.theme-toggle.menu-theme:hover { background: var(--page); }
.menu-theme-light, html[data-theme="dark"] .menu-theme-dark { display: none; }
html[data-theme="dark"] .menu-theme-light { display: inline; }
.tab-bar { display: none; }

.page-head { padding: 26px 0 28px; background: var(--u-tint, var(--surface)); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 14px; color: var(--ink-soft); font-size: 14.5px; }
.crumbs a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.crumbs a:hover { text-decoration-color: currentColor; }
.crumbs span { color: var(--ink-faint); }
.town-sign { display: inline-block; margin: 0 .3em .12em 0; padding: 0 .36em .04em; border: 3px solid var(--sign-ink); border-radius: 7px; background: var(--sign); color: var(--sign-ink); text-transform: uppercase; vertical-align: baseline; }
.town-sign small { margin-left: .3em; font-size: .55em; }
.page-lead { margin-top: 12px; font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.45; }
.page-meta { margin-top: 8px; color: var(--ink-faint); font-size: 14.5px; }
.page-body { padding: 30px 0 64px; }
.section { margin-top: 44px; }
.section:first-child { margin-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 14px; }
.section-head p, .section-head a { color: var(--ink-faint); font-size: 15px; }
.section-head a { color: var(--link); font-weight: 700; }
.columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.columns.is-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.note { color: var(--ink-soft); font-size: 15.5px; }
.prose p { margin-top: 12px; font-size: 17px; line-height: 1.6; }
.prose p:first-child { margin-top: 0; }
.prose.is-wide { columns: 2; column-gap: 40px; }
.prose.is-wide p { break-inside: avoid; }
.prose h2 { margin: 30px 0 4px; font-size: 24px; }
.prose h2:first-child { margin-top: 0; }

.state { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--live); }
.state.is-plan::before { background: transparent; border: 2px solid var(--ink); }
.state.is-late { color: var(--late); }
.state.is-late::before { background: var(--late); }
.state.is-arch { color: var(--ink-faint); }
.state.is-arch::before { background: var(--ink-faint); }
.state.is-ok { color: var(--ok); }
.state.is-ok::before { background: var(--ok); }

.search { margin-top: 20px; }
.search-box { position: relative; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 6px 0 16px; background: var(--surface); border: 2px solid var(--ink); border-radius: 9px; }
.search-box > .icon { color: var(--ink-faint); font-size: 20px; }
.search-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 18px; }
.search-box input::placeholder { color: var(--ink-faint); }
.search-box:focus-within { outline: 3px solid color-mix(in srgb, var(--link) 35%, transparent); outline-offset: 1px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 20px; border: 0; border-radius: 7px; background: var(--brand); color: #fff; font-weight: 700; white-space: nowrap; }
.button:hover { filter: brightness(.9); }
.suggestions { position: absolute; z-index: 30; inset: calc(100% + 6px) -2px auto; padding: 5px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 9px; box-shadow: 0 10px 26px rgba(18, 22, 27, .14); }
.suggestions li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.suggestions li:hover, .suggestions li[aria-selected="true"] { background: var(--page); }
.suggestions li .icon { color: var(--ink-faint); }
.suggestions strong, .suggestions small { display: block; }
.suggestions small { color: var(--ink-faint); font-size: 13.5px; }
.search-examples { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; color: var(--ink-faint); font-size: 15px; }
.search-examples a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.search-examples a:hover { color: var(--ink); text-decoration-color: currentColor; }
.home-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.service-summary { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.service-card { display: grid; align-content: start; gap: 2px; height: 100%; padding: 14px 16px 15px; border-radius: var(--radius); border-top: 5px solid var(--u); background: var(--u-tint); }
.service-card:hover { box-shadow: inset 0 0 0 2px var(--u); }
.service-card-name { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.service-card-name .icon { color: var(--u-ink); font-size: 19px; }
.service-card b { font-family: var(--head); font-size: clamp(34px, 3.6vw, 46px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.service-card-detail { color: var(--ink-soft); font-size: 14.5px; }

.board-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 14px; }
.province-select { position: relative; display: inline-flex; align-items: center; }
.province-select .icon { position: absolute; right: 11px; pointer-events: none; font-size: 15px; color: var(--ink-faint); }
.province-select select { appearance: none; min-height: 40px; padding: 6px 34px 6px 13px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); font-weight: 700; }
.board-panel { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.board-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.filter-services { display: flex; flex-wrap: wrap; gap: 6px; margin-right: auto; }
.service-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-weight: 700; }
.service-chip::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--u, var(--ink)); }
.service-chip b { color: var(--ink-faint); font-weight: 400; font-variant-numeric: tabular-nums; }
.service-chip:hover { border-color: var(--ink); }
.service-chip[aria-current="true"] { border-color: var(--u-ink, var(--ink)); background: var(--u-tint, var(--page)); }
.filter-status { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--page); }
.filter-status button { min-height: 32px; padding: 3px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-soft); font-size: 15px; font-weight: 700; }
.filter-status button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.filter-reset { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 3px 11px; border: 1px dashed var(--line-strong); border-radius: 8px; background: transparent; font-size: 15px; }
.filter-reset:hover { border-style: solid; border-color: var(--ink); }
.search-answer { padding: 12px 15px; border-bottom: 1px solid var(--line); background: var(--page); }
.search-answer strong { display: block; }
.search-answer p { color: var(--ink-soft); font-size: 15.5px; }
.search-answer a { display: inline-block; margin-top: 4px; color: var(--link); font-weight: 700; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 4px 15px; border-bottom: 1px solid var(--line); color: var(--ink-faint); font-size: 14.5px; }
.mobile-view { display: none; }
.board-grid { display: grid; grid-template-columns: minmax(350px, 440px) minmax(0, 1fr); height: 590px; }
.board-list { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-right: 1px solid var(--line); }
.incident-list { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; }
.incident-list.is-static { overflow: visible; }
.incident { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--line); border-left: 4px solid var(--u, var(--line)); }
.incident:hover, .incident.is-selected { background: var(--page); }
.incident.is-selected { box-shadow: inset 4px 0 var(--ink); }
.incident-link { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 11px; align-items: start; flex: 1; min-width: 0; padding: 11px 6px 11px 14px; }
.incident-link > .icon { display: none; }
.utility-icon { margin-top: 2px; color: var(--u-ink); font-size: 19px; }
.incident-copy { display: block; min-width: 0; }
.incident h3 { font-size: 16.5px; }
.incident-impact, .incident-group { display: block; color: var(--ink-soft); font-size: 14.5px; }
.incident-group { color: var(--ink-faint); }
.incident-side { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; white-space: nowrap; }
.incident-side b { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.incident-side b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.incident.is-plan .incident-side b::before { background: transparent; border: 1.6px solid var(--ink); }
.incident.is-late .incident-side b { color: var(--late); }
.incident.is-late .incident-side b::before { background: var(--late); }
.incident-side span { color: var(--ink-faint); font-size: 13.5px; }
.row-map { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; margin-right: 6px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink-faint); font-size: 18px; }
.row-map:hover { background: var(--line); color: var(--ink); }
.incident-list.is-static .row-map { display: none; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 15px; border-top: 1px solid var(--line); font-size: 15px; }
.pager a { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 700; }
.pager p { color: var(--ink-faint); }
.empty-state { margin: auto; padding: 30px 22px; text-align: center; }
.empty-state > .icon { display: none; }
.empty-state strong { display: block; font-size: 18px; }
.empty-state p { margin-top: 6px; color: var(--ink-soft); }
.empty-state button { margin-top: 12px; border: 0; background: none; color: var(--link); font-weight: 700; }
.board-map { position: relative; z-index: 0; min-height: 320px; background: #dfe7ee; }
.board-map .map-canvas { position: absolute; inset: 0; }
.map-title { position: absolute; z-index: 500; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 7px; background: #fff; color: #12161b; font-size: 14.5px; font-weight: 700; box-shadow: 0 1px 4px rgba(18, 22, 27, .25); }
.map-controls { position: absolute; z-index: 500; right: 12px; top: 12px; display: grid; gap: 8px; }
.map-controls div { display: grid; overflow: hidden; border-radius: 7px; box-shadow: 0 1px 4px rgba(18, 22, 27, .25); }
.map-controls button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-bottom: 1px solid #dde2e8; background: #fff; color: #12161b; font-size: 18px; }
.map-controls button:last-child { border-bottom: 0; }
.map-controls button:hover { background: #f3f5f7; }
.map-legend { position: absolute; z-index: 500; left: 12px; bottom: 12px; display: flex; gap: 14px; padding: 6px 11px; border-radius: 7px; background: #fff; color: #12161b; font-size: 13.5px; box-shadow: 0 1px 4px rgba(18, 22, 27, .25); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 11px; height: 11px; border-radius: 3px; }
.map-note { position: absolute; z-index: 500; left: 12px; right: 12px; bottom: 52px; padding: 8px 12px; border-radius: 7px; background: #fff; color: #12161b; font-size: 14.5px; }
.count-pin { width: auto !important; height: auto !important; }
.count-pin.is-mixed { --u: #00713a; }
.count-dot, .count-bubble { display: inline-flex; align-items: center; gap: 6px; transform: translate(-50%, -50%); white-space: nowrap; }
.count-dot i, .count-bubble i { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px; border: 2px solid #fff; border-radius: 999px; background: var(--u, #12161b); color: var(--u-on, #fff); font-style: normal; box-shadow: 0 1px 4px rgba(18, 22, 27, .4); }
.count-dot .icon, .count-bubble .icon { display: none; }
.count-dot b, .count-bubble b { font-size: 14px; font-variant-numeric: tabular-nums; }
.count-bubble small { padding: 2px 7px; border-radius: 5px; background: #fff; color: #12161b; font-size: 13px; font-weight: 700; box-shadow: 0 1px 3px rgba(18, 22, 27, .3); }
.count-pin.is-selected i, .map-marker.is-selected { outline: 3px solid #12161b; outline-offset: 1px; }
.map-marker { display: grid !important; place-items: center; width: 28px !important; height: 28px !important; border: 2px solid #fff; border-radius: 50%; background: var(--u, #12161b); color: var(--u-on, #fff); font-size: 15px; box-shadow: 0 1px 4px rgba(18, 22, 27, .4); }
.leaflet-popup-content { margin: 12px 14px; font: 400 15px/1.4 var(--body); color: #12161b; }
.leaflet-popup-content strong { display: block; font-size: 16px; }
.leaflet-popup-content a { display: inline-block; margin-top: 6px; color: #0b57b0; font-weight: 700; }
.map-popup-time { display: block; margin-top: 3px; color: #46505c; }
.leaflet-container { font-family: var(--body); }

.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); column-gap: 28px; }
.link-grid a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.link-grid a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.link-grid b { min-width: 30px; padding: 1px 9px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-strong); font-size: 15px; text-align: center; font-variant-numeric: tabular-nums; }
.link-grid .is-zero { color: var(--ink-soft); }
.link-grid .is-zero b { background: none; color: var(--ink-faint); font-weight: 400; }
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.data-table th, .data-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { color: var(--ink-faint); font-size: 14px; font-weight: 400; white-space: nowrap; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody th { font-weight: 700; }
.data-table td a { color: var(--link); font-weight: 700; }
.data-table tbody th a:hover, .data-table td a:hover { text-decoration: underline; text-underline-offset: 3px; }
.data-table .is-number { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .is-quiet, .data-table tr.is-zero td { color: var(--ink-faint); }
.data-table small { color: var(--ink-faint); font-size: 13.5px; font-weight: 400; }
.count { color: var(--u-ink); }
.service-dot { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 3px; background: var(--u); }
.history li { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.history time { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.history a { font-weight: 700; }
.history a:hover { text-decoration: underline; text-underline-offset: 3px; }
.history span { color: var(--ink-faint); font-size: 15px; }
.clear-note { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.clear-note .icon { color: var(--ok); font-size: 20px; }
.list-panel { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.list-panel .incident:last-child { border-bottom: 0; }
.list-group { padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--page); color: var(--ink-soft); font-size: 14.5px; font-weight: 700; }

.outage-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.outage-head .state { margin-bottom: 8px; }
.outage-head h1 small { display: block; margin-top: 6px; font-family: var(--body); font-size: clamp(18px, 1.8vw, 21px); font-weight: 400; line-height: 1.35; }
.eta-box { padding: 16px 18px 15px; background: var(--surface); border: 1px solid var(--line-strong); border-top: 5px solid var(--u, var(--brand)); border-radius: var(--radius); }
.eta-label { color: var(--ink-soft); font-size: 15px; }
.eta-time { font-family: var(--head); font-size: 52px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.eta-time.is-text { font-size: 28px; line-height: 1.15; }
.eta-day { margin-top: 3px; font-weight: 700; }
.eta-left { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; }
.facts div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); }
.facts dd { font-weight: 700; }
.facts dd small { display: block; color: var(--ink-faint); font-size: 14.5px; font-weight: 400; }
.street-list { display: flex; flex-wrap: wrap; gap: 7px; }
.street-list a, .street-list span { padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); font-size: 15.5px; }
.street-list a:hover { border-color: var(--ink); }
.notice-text { padding: 14px 18px; border-left: 3px solid var(--u, var(--ink)); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.notice-text p + p { margin-top: 8px; }
.notice-text footer { margin-top: 10px; color: var(--ink-faint); font-size: 14.5px; }
.street-map { position: relative; z-index: 0; height: 340px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #dfe7ee; }
.street-map .map-canvas { position: absolute; inset: 0; z-index: 1; }
.map-still { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.map-still img { position: absolute; max-width: none; }
.map-still .map-marker { position: absolute; left: calc(50% - 14px); top: calc(50% - 14px); }
.side-box { padding: 16px 18px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.side-box + .side-box { margin-top: 16px; }
.side-box h2 { font-size: 22px; }
.side-box p { margin-top: 6px; color: var(--ink-soft); font-size: 15.5px; }
.phone-number { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-family: var(--head); font-size: 32px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--brand-strong); }
.phone-number .icon { font-size: 24px; }
.phone-number:hover { text-decoration: underline; text-underline-offset: 4px; }
.vote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.vote-actions button { min-height: 44px; padding: 6px 10px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--surface); font-weight: 700; }
.vote-actions button:hover { background: var(--page); }
.vote-actions button.is-on { border-color: var(--brand); background: var(--brand); color: #fff; }
.nearby-list li { border-bottom: 1px solid var(--line); }
.nearby-list li:last-child { border-bottom: 0; }
.nearby-list a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; }
.nearby-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.nearby-list small { display: block; color: var(--ink-faint); font-size: 14px; }
.nearby-list span { color: var(--ink-soft); font-size: 14.5px; white-space: nowrap; }

.doc-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.doc-nav a { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 15px; }
.doc-nav a[aria-current="page"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 5px; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.form .button { justify-self: start; min-height: 46px; }
.form-message { padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.form-message.is-error { border-color: var(--live); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: block; padding: 16px 0; }
.news-list h2, .news-list h3 { font-size: 24px; }
.news-list a:hover h2, .news-list a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.news-list p { margin-top: 5px; color: var(--ink-soft); }
.news-list time { display: block; margin-top: 6px; color: var(--ink-faint); font-size: 14.5px; }
.story-byline { margin-top: 12px; color: var(--ink-faint); font-size: 15px; }
.bar { display: block; height: 8px; min-width: 60px; border-radius: 4px; background: var(--line); }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--u, var(--ink)); }

.site-footer { margin-top: 24px; padding: 34px 0 30px; background: var(--surface); border-top: 5px solid var(--header); }
.footer-columns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.7fr) minmax(0, .8fr); gap: 36px; }
.footer-columns h2 { margin-bottom: 9px; font-family: var(--body); font-size: 15px; color: var(--ink-faint); font-weight: 400; }
.footer-columns p { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; }
.footer-columns nav a { display: block; padding: 3px 0; }
.footer-columns nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-regions { columns: 2; column-gap: 28px; }
.footer-note { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 14.5px; }

@media (max-width: 1040px) {
  .header-status span { display: none; }
  .columns, .columns.is-even, .home-head, .outage-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .columns.is-outage aside { order: -1; }
  .prose.is-wide { columns: 1; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .site-nav, .site-header .theme-toggle { display: none; }
  .menu-button { display: inline-flex; }
  .header-row { gap: 14px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 56px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); font-size: 16.5px; }
  .wrap { width: min(100% - 28px, 1240px); }
  .site-header { position: sticky; z-index: 60; top: 0; }
  .header-row { min-height: 56px; gap: 10px; }
  .logo-sign { font-size: 21px; }
  .header-status { padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 14px; }
  .menu-button { width: 42px; padding: 0; justify-content: center; border: 0; background: rgba(255, 255, 255, .18); }
  .menu-button span { display: none; }
  .menu-button .icon { font-size: 22px; }
  .tab-bar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line-strong); box-shadow: 0 -4px 16px rgba(18, 22, 27, .08); }
  .tab-bar a { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 60px; color: var(--ink-soft); font-size: 12.5px; font-weight: 700; }
  .tab-bar .icon { color: var(--u-ink, var(--brand-strong)); font-size: 23px; }
  .tab-bar a[aria-current="page"] { color: var(--ink); background: var(--u-tint, var(--brand-tint)); }
  .tab-bar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 3px; border-radius: 0 0 3px 3px; background: var(--u, var(--brand)); }
  h1 { font-size: 29px; }
  h2 { font-size: 24px; }
  .page-head { padding: 18px 0 20px; }
  .page-lead { font-size: 17px; }
  .page-body { padding: 22px 0 40px; }
  .section { margin-top: 34px; }
  .crumbs { flex-wrap: nowrap; margin: 0 -14px 12px; padding: 0 14px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .crumbs::-webkit-scrollbar { display: none; }
  .town-sign { display: table; margin: 0 0 8px; }
  .search { margin-top: 16px; }
  .search-box { height: 54px; padding-left: 13px; }
  .search-box input { font-size: 17px; }
  .button { min-height: 42px; padding: 0 17px; }
  .home-head { gap: 18px; }
  .service-summary { gap: 8px; }
  .service-card { padding: 10px 11px 11px; border-top-width: 4px; }
  .service-card-name { font-size: 15.5px; }
  .service-card b { font-size: 32px; }
  .service-card-detail { font-size: 13px; line-height: 1.25; }
  .board-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .province-select { display: flex; width: 100%; }
  .province-select select { flex: 1; width: 100%; }
  .province-select select { min-height: 46px; font-size: 16.5px; }
  .board-panel { overflow: visible; margin-inline: -14px; border-left: 0; border-right: 0; border-radius: 0; }
  .board-filters { display: grid; gap: 9px; padding: 12px 14px; }
  .filter-services { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 7px; margin: 0; }
  .service-chip { justify-content: center; min-height: 42px; padding: 4px 6px; }
  .filter-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-status button { min-height: 38px; padding: 3px 4px; }
  .results-bar { position: sticky; z-index: 5; top: 56px; min-height: 50px; padding: 6px 14px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
  .mobile-view { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--page); }
  .mobile-view button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 2px 14px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-soft); font-size: 15.5px; font-weight: 700; }
  .mobile-view button[aria-pressed="true"] { background: var(--brand); color: #fff; }
  .board-grid { grid-template-columns: minmax(0, 1fr); height: auto; }
  .board-list { border-right: 0; }
  .incident-list { overflow: visible; }
  .board-grid[data-view="map"] .board-list, .board-grid[data-view="list"] .board-map { display: none; }
  .board-map { height: calc(100dvh - 56px - 50px - 62px - env(safe-area-inset-bottom)); min-height: 360px; }
  .row-map { display: none; }
  .incident-link { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; padding: 13px 14px 13px 10px; }
  .incident h3 { font-size: 17px; }
  .incident-impact { font-size: 15px; }
  .incident-side b { font-size: 15px; }
  .pager { padding: 14px; }
  .pager a { min-height: 40px; }
  .list-panel { margin-inline: -14px; border-left: 0; border-right: 0; border-radius: 0; }
  .link-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; }
  .link-grid a { min-height: 46px; align-items: center; padding: 6px 0; }
  .history li { grid-template-columns: minmax(0, 1fr); gap: 1px; padding: 12px 0; }
  .facts div { grid-template-columns: 128px minmax(0, 1fr); }
  .eta-time { font-size: 46px; }
  .outage-head { gap: 16px; }
  .side-box { padding: 15px 16px 17px; }
  .phone-number { display: flex; justify-content: center; min-height: 56px; margin-top: 10px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 28px; }
  .phone-number:hover { text-decoration: none; }
  .vote-actions button { min-height: 52px; font-size: 17px; }
  .street-map { height: 280px; }
  .data-table th, .data-table td { padding: 10px 10px; }
  .data-table.is-stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .data-table.is-stacked, .data-table.is-stacked tbody, .data-table.is-stacked tr, .data-table.is-stacked th, .data-table.is-stacked td { display: block; }
  .data-table.is-stacked tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .data-table.is-stacked tr:last-child { border-bottom: 0; }
  .data-table.is-stacked th, .data-table.is-stacked td { padding: 2px 0; border: 0; text-align: left; }
  .data-table.is-stacked tbody th { margin-bottom: 4px; font-size: 18px; }
  .data-table.is-stacked td { display: flex; justify-content: space-between; gap: 14px; }
  .data-table.is-stacked td::before { content: attr(data-label); color: var(--ink-faint); font-size: 15px; }
  .form input, .form select, .form textarea { min-height: 48px; font-size: 17px; }
  .form .button { justify-self: stretch; min-height: 50px; }
  .doc-nav { flex-wrap: nowrap; margin-inline: -14px; padding-inline: 14px; overflow-x: auto; scrollbar-width: none; }
  .doc-nav a { white-space: nowrap; }
  .footer-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 18px; }
  .footer-columns > div:first-child, .footer-columns > nav:nth-child(3) { grid-column: 1 / -1; }
  .footer-columns nav a { padding: 7px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .incident, .site-nav a, .service-chip, .menu-group > a { transition: background-color .12s, border-color .12s; }
}
[tabindex="-1"]:focus { outline: none; }
