/* alertas.live — azul cobalto de azulejo, ámbar de aviso, papel encalado. Texto en Schibsted Grotesk; cifras y logotipo en Archivo. */
:root {
  color-scheme: light;
  --page: #f5f3ee;
  --surface: #ffffff;
  --line: #e4e0d6;
  --line-strong: #c9c3b4;
  --ink: #161a25;
  --ink-soft: #474d5c;
  --ink-faint: #727888;
  --brand: #2847a6;
  --brand-deep: #1e3682;
  --brand-soft: #dde5f8;
  --brand-tint: #eef2fc;
  --header: #2847a6;
  --header-2: #3a5bc2;
  --header-ink: #ffffff;
  --signal: #f5a524;
  --signal-ink: #1d1503;
  --link: #2343a8;
  --luz: #f5a524;
  --luz-ink: #8a5600;
  --luz-tint: #fdf0d2;
  --agua: #0f9aa8;
  --agua-ink: #0a6f7a;
  --agua-tint: #d9f1f3;
  --gas: #d4572d;
  --gas-ink: #a03c17;
  --gas-tint: #fbe6dd;
  --live: #cf3b25;
  --late: #a8611a;
  --ok: #2c7d47;
  --radius: 14px;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --num: "Archivo Num", "Arial Narrow", "Schibsted Grotesk", sans-serif;
}
html[data-theme="dark"] .spain-map { --m0: #4460b8; }
html[data-theme="dark"] .map-card .spain-map { --m0: #2f4186; --mx-bg: var(--page); }
html[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d111e;
  --surface: #151a2b;
  --line: #252c42;
  --line-strong: #3a4360;
  --ink: #eef1f8;
  --ink-soft: #b7bed0;
  --ink-faint: #8a92a8;
  --brand: #8ea7f7;
  --brand-deep: #b3c4fb;
  --brand-soft: #1e2850;
  --brand-tint: #171f3c;
  --header: #131a38;
  --header-2: #263265;
  --link: #9db3ff;
  --luz-ink: #f7b955;
  --luz-tint: #33270a;
  --agua-ink: #5fd0dc;
  --agua-tint: #0a2b30;
  --gas-ink: #ff9a78;
  --gas-tint: #3a1a0d;
  --live: #ff6a55;
  --late: #f0a94a;
  --ok: #55c583;
}
.utility-luz { --u: var(--luz); --u-ink: var(--luz-ink); --u-tint: var(--luz-tint); --u-on: #1d1503; }
.utility-agua { --u: var(--agua); --u-ink: var(--agua-ink); --u-tint: var(--agua-tint); --u-on: #ffffff; }
.utility-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; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.5 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-weight: 800; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(30px, 3.9vw, 46px); }
h2 { font-size: clamp(22px, 2.4vw, 29px); }
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: 3px solid var(--signal); 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: 8px; }
.wrap { width: min(100% - 48px, 1240px); margin-inline: auto; }
.text-link, .prose a, .page-lead a, .note a, .region-rest a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover, .prose a:hover, .note a:hover, .region-rest a:hover { text-decoration-thickness: 2px; }
.number { font-variant-numeric: tabular-nums; }

/* Cabecera: una banda cobalto con el nombre, las secciones y el recuento en directo */
.site-header { background: var(--header); color: var(--header-ink); }
.header-row { display: flex; align-items: center; gap: 30px; min-height: 68px; }
body:not(.is-home-page) .site-header { box-shadow: inset 0 -3px var(--signal); }
.logo { display: inline-flex; align-items: baseline; flex: none; }
.logo-word { font-family: "Archivo Logo", var(--font); font-size: 27px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.logo-word span { font-weight: 500; letter-spacing: -.02em; }
.logo-dot, .pulse { position: relative; display: inline-block; border-radius: 50%; background: var(--signal); }
.logo-dot { width: .3em; height: .3em; margin: 0 .1em 0 .09em; }
.pulse { width: 9px; height: 9px; margin-right: 9px; }
.logo-dot::after, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--signal); opacity: 0; }
.site-nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.site-nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; font-size: 16.5px; font-weight: 600; white-space: nowrap; }
.site-nav a .icon { font-size: 16px; color: var(--signal); }
.site-nav a.utility-agua .icon { color: #7fe3ee; }
.site-nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 1px; height: 3px; border-radius: 2px; background: var(--header-ink); transform: scaleX(0); transform-origin: left; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-status { margin-left: auto; font-size: 15.5px; white-space: nowrap; }
.header-status a { display: inline-flex; align-items: center; }
.header-status b { margin-right: .3em; font-variant-numeric: tabular-nums; }
.header-status span { margin-left: .4em; opacity: .78; }
.header-status a:hover { text-decoration: underline; text-underline-offset: 4px; }
.theme-toggle { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1.5px solid color-mix(in srgb, var(--header-ink) 38%, transparent); border-radius: 50%; background: transparent; color: var(--header-ink); font-size: 18px; }
.theme-toggle:hover { background: color-mix(in srgb, var(--header-ink) 14%, transparent); }
.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 14px; border: 1.5px solid color-mix(in srgb, var(--header-ink) 38%, transparent); border-radius: 999px; font-weight: 700; }
.menu-button .icon { font-size: 20px; }

/* Menú lateral */
.menu-backdrop { position: fixed; z-index: 80; inset: 0; background: rgba(13, 17, 30, .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, 372px); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); box-shadow: -14px 0 40px rgba(13, 17, 30, .26); 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: 62px; padding: 0 10px 0 20px; background: var(--header); color: var(--header-ink); }
.menu-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; }
.menu-close:hover { background: color-mix(in srgb, var(--header-ink) 14%, transparent); }
.menu-status { padding: 13px 20px; border-bottom: 1px solid var(--line); 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: 10px; 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: 30px; height: 21px; color: var(--ink-soft); }
.menu-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--u); color: var(--u-on); font-size: 17px; }
.menu-group b { margin-left: auto; font-family: var(--num); font-size: 19px; 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; padding: 2px 12px 8px 55px; }
.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); border-radius: 12px; 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; }

/* Cabeza de página */
.page-head { padding: 26px 0 30px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head[class*="utility-"] { border-bottom: 4px solid var(--u); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 9px; margin-bottom: 16px; color: var(--ink-soft); font-size: 14.5px; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { color: var(--line-strong); }
.crumbs b { font-weight: 600; }
.dept-tag { margin-left: .3em; color: var(--ink-faint); font-size: .56em; font-weight: 600; letter-spacing: 0; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 2px; text-underline-offset: 5px; }
a.dept-tag:hover { color: var(--ink); text-decoration-color: currentColor; }
.page-lead { max-width: 74ch; margin-top: 14px; font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.45; }
.page-meta { margin-top: 8px; color: var(--ink-faint); font-size: 14.5px; }
.page-body { padding: 36px 0 68px; }
.section { margin-top: 56px; }
.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: 18px; }
.section-head p { color: var(--ink-faint); font-size: 15px; }
.section-head > a { color: var(--link); font-size: 15.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.section-head > a:hover { text-decoration-thickness: 2px; }
.columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.columns.is-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.columns.is-map { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.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: 3 300px; column-gap: 44px; }
.prose.is-wide p { break-inside: avoid; }
.prose h2 { margin: 32px 0 4px; font-size: 23px; }
.prose h2:first-child { margin-top: 0; }
.prose { max-width: 78ch; }
.prose.is-wide { max-width: none; }

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

/* Inicio: la banda sigue a la cabecera y lleva el mapa del momento */
.page-head.is-home { padding: 30px 0 46px; background: var(--header); color: var(--header-ink); border-bottom: 0; }
.home-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 52px; align-items: center; }
.is-home h1 { font-size: clamp(38px, 5vw, 66px); font-weight: 900; line-height: .98; letter-spacing: -.045em; }
.is-home .page-lead { max-width: 54ch; margin-top: 22px; color: color-mix(in srgb, var(--header-ink) 90%, transparent); font-size: clamp(17px, 1.5vw, 19.5px); }
.search { margin-top: 24px; }
.search-box { position: relative; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 7px 0 18px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 14px; }
.search-box > .icon { color: var(--ink-faint); font-size: 21px; }
.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 { border-color: var(--brand); outline: 3px solid var(--brand-soft); }
.is-home .search-box { height: 64px; border-color: transparent; }
.is-home .search-box:focus-within { outline: 3px solid var(--signal); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 9px; background: var(--brand); color: #fff; font-weight: 700; white-space: nowrap; }
html[data-theme="dark"] .button { background: #3a5bc2; }
.is-home .button, html[data-theme="dark"] .is-home .button { min-height: 50px; background: var(--signal); color: var(--signal-ink); }
html[data-theme="dark"] .is-home .search-box { border-color: var(--line-strong); }
.button:hover { filter: brightness(1.08); }
.suggestions { position: absolute; z-index: 30; inset: calc(100% + 8px) -2px auto; padding: 5px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 12px 30px rgba(22, 26, 37, .16); }
.suggestions li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; 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: 18px; font-size: 15px; color: color-mix(in srgb, var(--header-ink) 72%, transparent); }
.search-examples a { color: var(--header-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--header-ink) 45%, transparent); text-underline-offset: 3px; }
.search-examples a:hover { text-decoration-color: currentColor; }

/* El mapa de España */
.spain-map { --m0: #6384e6; --mx-bg: color-mix(in srgb, var(--header-2) 78%, var(--header)); --mx: color-mix(in srgb, var(--header-ink) 16%, var(--header-2)); --edge: var(--header); --cap: color-mix(in srgb, var(--header-ink) 80%, transparent); --frame: color-mix(in srgb, var(--header-ink) 30%, transparent); }
.spain-map svg { width: 100%; height: auto; overflow: visible; }
.spain-map a path, .spain-map a circle { fill: var(--m0); stroke: var(--edge); stroke-width: 1.3; stroke-linejoin: round; transition: fill .12s; }
.spain-map a.mx path, .spain-map a.mx circle { fill: url(#map-hatch); }
.spain-map #map-hatch rect { fill: var(--mx-bg); }
.spain-map #map-hatch line { stroke: var(--mx); stroke-width: 3; }
.spain-map a.m1 path, .spain-map a.m1 circle { fill: #ffd98a; }
.spain-map a.m2 path, .spain-map a.m2 circle { fill: #f5a524; }
.spain-map a.m3 path, .spain-map a.m3 circle { fill: #ee6a1c; }
.spain-map a:hover path, .spain-map a:hover circle, .spain-map a:focus-visible path { stroke: var(--header-ink); stroke-width: 2.4; }
.spain-map a:focus-visible { outline: none; }
.spain-map .map-inset { fill: none; stroke: var(--frame); stroke-width: 1.5; stroke-dasharray: 5 5; }
.spain-map .map-inset-label { fill: var(--cap); font-size: 19px; font-weight: 600; }
.map-count { pointer-events: none; }
.map-count circle { fill: #ffffff; stroke: #161a25; stroke-width: 2; }
.map-count text { font-family: var(--num); fill: #161a25; font-size: 24px; font-weight: 800; text-anchor: middle; font-variant-numeric: tabular-nums; }
.spain-map figcaption { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 6px; color: var(--cap); font-size: 14px; }
.spain-map figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.spain-map figcaption span::before { content: ""; width: 15px; height: 15px; border-radius: 4px; }
.spain-map .k-on::before { background: linear-gradient(90deg, #ffd98a 0 33%, #f5a524 33% 66%, #ee6a1c 66%); }
.spain-map .k-off::before { background: var(--m0); box-shadow: inset 0 0 0 1px var(--frame); }
.spain-map .k-none::before { background: repeating-linear-gradient(45deg, var(--mx) 0 2px, var(--mx-bg) 2px 5px); box-shadow: inset 0 0 0 1px var(--frame); }
.map-card .spain-map { --m0: #b9c8f1; --mx-bg: var(--page); --mx: var(--line-strong); --edge: var(--surface); --cap: var(--ink-soft); --frame: var(--line-strong); position: sticky; top: 16px; padding: 22px 22px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.map-card .spain-map a:hover path, .map-card .spain-map a:hover circle { stroke: var(--ink); }
.region-index section + section { margin-top: 26px; }
.region-index h2 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: 21px; }
.region-index h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.region-index h2 b { margin-left: auto; font-family: var(--num); font-variant-numeric: tabular-nums; }
.region-index .link-grid { columns: 2 200px; }

/* Lista y mapa */
.board-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 16px; }
.province-select { position: relative; display: inline-flex; align-items: center; }
.province-select .icon { position: absolute; right: 13px; pointer-events: none; font-size: 15px; color: var(--ink-faint); }
.province-select select { appearance: none; min-height: 44px; padding: 6px 38px 6px 15px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-weight: 600; }
.board-panel { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.board-filters { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 26px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.filter-services { display: flex; flex-wrap: wrap; gap: 0 22px; margin-right: auto; }
.service-chip, .filter-status button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 1px; border: 0; background: none; color: var(--ink-soft); font-size: 16px; font-weight: 700; }
.service-chip::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--u, var(--ink)); }
.service-chip b { color: var(--ink-faint); font-weight: 600; font-variant-numeric: tabular-nums; }
.service-chip::after, .filter-status button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); transform: scaleX(0); }
.service-chip:hover, .filter-status button:hover { color: var(--ink); }
.service-chip[aria-current="true"], .filter-status button[aria-pressed="true"] { color: var(--ink); }
.service-chip[aria-current="true"]::after, .filter-status button[aria-pressed="true"]::after { transform: scaleX(1); }
.filter-status { display: inline-flex; gap: 22px; }
.filter-reset { display: inline-flex; align-items: center; gap: 7px; align-self: center; min-height: 34px; padding: 3px 11px; border: 1px dashed var(--line-strong); border-radius: 9px; background: transparent; font-size: 15px; }
.filter-reset:hover { border-style: solid; border-color: var(--ink); }
.search-answer { padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--brand-tint); }
.search-answer strong { display: block; font-size: 17.5px; }
.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; text-decoration: underline; text-underline-offset: 3px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 4px 18px; 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(400px, 520px) minmax(0, 1fr); height: 660px; }
.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; }

/* Una fila del parte: la hora que manda, el lugar, los clientes */
.incident { --tone: var(--live); position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.incident.is-plan { --tone: var(--line-strong); }
.incident.is-late { --tone: var(--late); }
.incident::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 3px 3px 0; background: var(--tone); }
.incident.is-plan::before { background: repeating-linear-gradient(180deg, var(--tone) 0 5px, transparent 5px 9px); }
.incident:hover { background: var(--page); }
.incident.is-selected { background: var(--brand-tint); }
.incident-link { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 16px; align-items: center; flex: 1; min-width: 0; padding: 13px 8px 13px 20px; }
.incident-when { display: grid; gap: 1px; }
.incident-when small, .incident-count small { color: var(--ink-faint); font-size: 12.5px; line-height: 1.2; white-space: nowrap; }
.incident-when b { font-family: var(--num); font-size: 29px; font-weight: 800; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.incident.is-plan .incident-when b { color: var(--ink-soft); font-weight: 700; }
.incident.is-late .incident-when b { color: var(--late); text-decoration: line-through; text-decoration-thickness: 2px; }
.incident-copy { display: block; min-width: 0; }
.incident h3 { font-size: 17px; }
.incident-impact { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 14.5px; }
.incident-impact .icon { margin-right: 6px; color: var(--u-ink); font-size: 14px; }
.incident-count { display: grid; justify-items: end; gap: 1px; text-align: right; }
.incident-count b { font-family: var(--num); font-size: 22px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.incident-count small { max-width: 112px; overflow: hidden; text-overflow: ellipsis; }
.row-map { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; margin-right: 8px; padding: 0; border: 0; border-radius: 50%; 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; }
.incident-list.is-static .incident-link { padding-right: 20px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 18px; 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 strong { display: block; font-size: 21px; font-weight: 800; }
.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; text-decoration: underline; text-underline-offset: 3px; }
.board-map { position: relative; z-index: 0; min-height: 320px; background: #e3e8ee; }
.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: 7px 13px; border-radius: 999px; background: #fff; color: #161a25; font-size: 14.5px; font-weight: 700; box-shadow: 0 1px 4px rgba(22, 26, 37, .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: 10px; box-shadow: 0 1px 4px rgba(22, 26, 37, .25); }
.map-controls button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-bottom: 1px solid #e4e0d6; background: #fff; color: #161a25; font-size: 18px; }
.map-controls button:last-child { border-bottom: 0; }
.map-controls button:hover { background: #f5f3ee; }
.map-legend { position: absolute; z-index: 500; left: 12px; bottom: 12px; display: flex; gap: 14px; padding: 7px 13px; border-radius: 999px; background: #fff; color: #161a25; font-size: 13.5px; box-shadow: 0 1px 4px rgba(22, 26, 37, .25); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 11px; height: 11px; border-radius: 50%; }
.map-note { position: absolute; z-index: 500; left: 12px; right: 12px; bottom: 54px; padding: 8px 12px; border-radius: 9px; background: #fff; color: #161a25; font-size: 14.5px; }
.count-pin { width: auto !important; height: auto !important; }
.count-pin.is-mixed { --u: #2847a6; --u-on: #fff; }
.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: 32px; height: 32px; padding: 0 8px; border: 2px solid #fff; border-radius: 999px; background: var(--u, #2847a6); color: var(--u-on, #fff); font-style: normal; box-shadow: 0 1px 5px rgba(22, 26, 37, .4); }
.count-dot .icon, .count-bubble .icon { display: none; }
.count-dot b, .count-bubble b { font-family: var(--num); font-size: 15px; font-variant-numeric: tabular-nums; }
.count-bubble small { padding: 2px 8px; border-radius: 6px; background: #fff; color: #161a25; font-size: 13px; font-weight: 700; box-shadow: 0 1px 3px rgba(22, 26, 37, .3); }
.count-pin.is-selected i, .map-marker.is-selected { outline: 3px solid #161a25; outline-offset: 2px; }
.map-marker { display: grid !important; place-items: center; width: 30px !important; height: 30px !important; border: 2px solid #fff; border-radius: 50%; background: var(--u, #2847a6); color: var(--u-on, #fff); font-size: 15px; box-shadow: 0 1px 5px rgba(22, 26, 37, .4); }
.leaflet-popup-content { margin: 12px 14px; font: 400 15px/1.4 var(--font); color: #161a25; }
.leaflet-popup-content strong { display: block; font-size: 16px; }
.leaflet-popup-content a { display: inline-block; margin-top: 6px; color: #2343a8; font-weight: 700; }
.map-popup-time { display: block; margin-top: 3px; color: #474d5c; }
.leaflet-container { font-family: var(--font); }

/* Índices con puntos conductores, barras por comunidad, tablas */
.link-grid { columns: 3 250px; column-gap: 44px; }
.link-grid li { break-inside: avoid; }
.link-grid a { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; }
.link-grid a span { min-width: 0; }
.link-grid a i { flex: 1; min-width: 18px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-4px); }
.link-grid b { font-variant-numeric: tabular-nums; }
.link-grid a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.link-grid .is-zero { color: var(--ink-soft); }
.link-grid .is-zero b { color: var(--ink-faint); font-weight: 400; }
.link-grid a:not(.is-zero):has(b) span { font-weight: 700; }
.link-grid a:not(.is-zero):has(b) b { color: var(--live); }
.region-bars li { border-bottom: 1px solid var(--line); }
.region-bars li:first-child { border-top: 2px solid var(--ink); }
.region-bars a { display: grid; grid-template-columns: 230px minmax(0, 1fr) 54px 150px; gap: 18px; align-items: center; padding: 12px 0; }
.region-bars a:hover .rb-name { text-decoration: underline; text-underline-offset: 3px; }
.rb-name { font-size: 17.5px; font-weight: 700; }
.rb-track { display: flex; gap: 2px; height: 16px; }
.rb-track i { min-width: 4px; height: 100%; border-radius: 3px; background: var(--u); }
.region-bars b { font-family: var(--num); font-size: 25px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.region-bars small { color: var(--ink-faint); font-size: 14px; text-align: right; }
.region-rest { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; }
.region-rest b { color: var(--ink); }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.data-table th, .data-table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th:last-child, .data-table td:last-child { padding-right: 0; }
.data-table thead th { padding-bottom: 8px; border-bottom: 2px solid var(--ink); color: var(--ink-soft); font-size: 14px; font-weight: 600; white-space: nowrap; }
.data-table tbody th { font-weight: 700; }
.data-table tbody th a, .data-table td a { color: var(--link); }
.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); }
.count { display: inline-block; min-width: 30px; padding: 0 8px; border-radius: 999px; background: var(--u-tint); color: var(--u-ink); text-align: center; }
.service-dot { display: inline-block; width: 11px; height: 11px; margin-right: 8px; border-radius: 50%; background: var(--u); }
.history li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 4px 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.history li:first-child { border-top: 2px solid var(--ink); }
.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: 13px; padding: 18px 0; border-top: 2px solid var(--ok); border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.clear-note .icon { display: grid; padding: 5px; width: 30px; height: 30px; border-radius: 50%; background: var(--ok); color: #fff; }
.list-panel { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.list-panel .incident:last-child { border-bottom: 0; }
.list-group { padding: 10px 20px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 14.5px; font-weight: 700; }
.list-group b { margin-left: 4px; color: var(--ink-faint); font-weight: 600; }
.bar { display: block; height: 12px; min-width: 60px; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--brand); }

/* Ficha de un corte */
.outage-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.outage-head .state { margin-bottom: 12px; }
.outage-head h1 small { display: block; margin-top: 10px; font-size: clamp(18px, 1.7vw, 21px); font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.eta-box { --tone: var(--live); padding: 2px 0 2px 24px; border-left: 4px solid var(--tone); }
.eta-box.is-plan { --tone: var(--ink); }
.eta-box.is-late { --tone: var(--late); }
.eta-box.is-arch { --tone: var(--line-strong); }
.eta-label { color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.tz-note { color: var(--ink-faint); font-weight: 400; }
.eta-time { font-family: var(--num); margin-top: 2px; font-size: 92px; font-weight: 800; line-height: .92; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.eta-box.is-late .eta-time { color: var(--late); }
.eta-time.is-text { font-family: var(--font); font-size: 34px; line-height: 1.1; letter-spacing: -.02em; }
.eta-day { margin-top: 6px; font-weight: 700; }
.eta-left { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }
.timeline { --tone: var(--live); margin-top: 30px; }
.timeline.is-late { --tone: var(--late); }
.timeline.is-done { --tone: var(--ink-faint); }
.tl-track { position: relative; height: 10px; border-radius: 5px; background: var(--line); }
.tl-fill { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: var(--tone); }
.tl-now { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 5px solid var(--tone); border-radius: 50%; background: var(--surface); }
.tl-due { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1px; background: var(--ink); }
.tl-legend { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; margin-top: 12px; }
.tl-legend span { display: grid; gap: 1px; }
.tl-legend span:last-child { justify-items: end; text-align: right; }
.tl-legend .tl-mid { justify-items: center; text-align: center; }
.tl-legend small { color: var(--ink-faint); font-size: 13.5px; }
.tl-legend b { font-family: var(--num); font-size: 24px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { border-top: 2px solid var(--ink); }
.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: 6px 22px; }
.street-list a, .street-list span { font-size: 17px; font-weight: 600; }
.street-list a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.notice-text { padding: 2px 0 2px 20px; border-left: 4px solid var(--u, var(--line-strong)); }
.notice-text p { font-size: 20px; font-weight: 500; line-height: 1.4; }
.notice-text footer { margin-top: 8px; color: var(--ink-faint); font-size: 14.5px; }
.street-map { position: relative; z-index: 0; height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #e3e8ee; }
.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% - 15px); top: calc(50% - 15px); }
.side-box { padding-top: 16px; border-top: 2px solid var(--ink); }
.side-box + .side-box { margin-top: 34px; }
.side-box h2 { font-size: 21px; }
.side-box p { margin-top: 8px; color: var(--ink-soft); font-size: 15.5px; }
.side-box p b { color: var(--ink); }
.phone-number { font-family: var(--num); display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 40px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.phone-number .icon { box-sizing: content-box; padding: 9px; border-radius: 50%; background: var(--signal); color: var(--signal-ink); font-size: 20px; }
.phone-number:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.vote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.vote-actions button { min-height: 48px; padding: 6px 10px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--surface); font-weight: 700; }
.vote-actions button:hover { background: var(--page); }
.vote-actions button.is-on { background: var(--ink); color: var(--surface); }
.nearby-list { margin-top: 6px; }
.nearby-list li { border-bottom: 1px solid var(--line); }
.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; }
.nearby-list a > span:last-child { white-space: nowrap; }

/* Páginas del sitio */
.doc-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 20px; }
.doc-nav a { padding: 6px 0; border-bottom: 3px solid transparent; color: var(--ink-soft); font-weight: 600; }
.doc-nav a:hover { color: var(--ink); }
.doc-nav a[aria-current="page"] { border-color: var(--ink); color: var(--ink); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 5px; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--brand-soft); outline-offset: 0; border-color: var(--brand); }
.form .button { justify-self: start; min-height: 48px; }
.form-message { padding: 13px 16px; border-left: 4px solid var(--ok); 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 { font-size: 24px; }
.news-list a:hover h2 { 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; }

/* Pie: la misma banda que arriba */
.site-footer { margin-top: 24px; padding: 44px 0 30px; background: var(--header); color: var(--header-ink); }
.footer-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 56px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid color-mix(in srgb, var(--header-ink) 24%, transparent); }
.footer-top .logo-word { font-size: 34px; }
.footer-top p { max-width: 62ch; color: color-mix(in srgb, var(--header-ink) 82%, transparent); font-size: 15.5px; }
.footer-columns { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr) minmax(0, .7fr); gap: 44px; padding-top: 28px; }
.footer-columns h2 { margin-bottom: 10px; color: color-mix(in srgb, var(--header-ink) 66%, transparent); font-size: 14.5px; font-weight: 500; letter-spacing: 0; }
.footer-columns nav a { display: block; padding: 3px 0; }
.footer-columns nav a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-regions { columns: 3; column-gap: 28px; }
.footer-note { margin-top: 30px; color: color-mix(in srgb, var(--header-ink) 66%, transparent); font-size: 14.5px; }

@media (max-width: 1100px) {
  .site-nav a { padding: 9px 8px; }
  .site-nav a::after { left: 8px; right: 8px; }
  .header-row { gap: 18px; }
  .region-bars a { grid-template-columns: 190px minmax(0, 1fr) 48px 130px; }
}
@media (max-width: 1040px) {
  .columns, .columns.is-even, .columns.is-map, .home-head, .outage-head { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .columns.is-outage aside { order: -1; }
  .map-card .spain-map { position: static; }
  .prose.is-wide { columns: 1; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-columns > nav:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .spain-map { max-width: 640px; }
  .eta-time { font-size: 72px; }
}
@media (max-width: 920px) {
  .site-nav, .site-header .theme-toggle { display: none; }
  .menu-button { display: inline-flex; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 58px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .wrap { width: min(100% - 32px, 1240px); }
  .site-header { position: sticky; z-index: 60; top: 0; }
  .header-row { min-height: 58px; gap: 12px; }
  .logo-word { font-size: 23px; }
  .header-status { font-size: 14.5px; }
  .header-status span { display: none; }
  .menu-button { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; }
  .menu-button span { display: none; }
  .menu-button .icon { font-size: 21px; }
  .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); }
  .tab-bar a { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 60px; color: var(--ink-faint); font-size: 12.5px; font-weight: 700; }
  .tab-bar .icon { font-size: 23px; }
  .tab-bar a[aria-current="page"] { color: var(--ink); }
  .tab-bar a[aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 24%; right: 24%; height: 3px; border-radius: 0 0 3px 3px; background: var(--signal); }
  h1 { font-size: 29px; }
  h2 { font-size: 22px; }
  .page-head { padding: 18px 0 22px; }
  .page-head.is-home { padding: 14px 0 26px; }
  .is-home h1 { font-size: 40px; }
  .is-home .page-lead { margin-top: 12px; }
  .is-home .search-box { height: 58px; }
  .is-home .button { min-height: 44px; }
  .home-head { gap: 20px; }
  .map-count text { font-size: 32px; }
  .spain-map .map-inset-label { font-size: 26px; }
  .map-count circle { transform: scale(1.36); }
  .page-lead { margin-top: 10px; font-size: 17px; }
  .page-body { padding: 24px 0 44px; }
  .section { margin-top: 40px; }
  .crumbs { flex-wrap: nowrap; margin: 0 -16px 12px; padding: 0 16px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .crumbs::-webkit-scrollbar { display: none; }
  .dept-tag { display: block; margin: 8px 0 0; font-size: 16px; }
  .search { margin-top: 16px; }
  .search-box { height: 56px; padding-left: 14px; }
  .search-box input { font-size: 17px; }
  .button { padding: 0 16px; }
  .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%; min-height: 46px; font-size: 16.5px; }
  .board-panel, .list-panel { overflow: visible; margin-inline: -16px; border-left: 0; border-right: 0; border-radius: 0; }
  .board-filters { gap: 0 20px; padding: 0 16px; }
  .filter-services { width: 100%; gap: 0 20px; border-bottom: 1px solid var(--line); }
  .service-chip, .filter-status button { min-height: 48px; }
  .results-bar { position: sticky; z-index: 5; top: 58px; min-height: 52px; padding: 6px 16px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
  .mobile-view { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--page); }
  .mobile-view button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 2px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-soft); font-size: 15.5px; font-weight: 700; }
  .mobile-view button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
  .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 - 58px - 52px - 62px - env(safe-area-inset-bottom)); min-height: 360px; }
  .row-map { display: none; }
  .incident-link, .incident-list.is-static .incident-link { grid-template-columns: 78px minmax(0, 1fr) auto; gap: 12px; padding: 13px 16px 13px 18px; }
  .incident-when b { font-size: 27px; }
  .incident-count b { font-size: 20px; }
  .incident-count small { max-width: 76px; }
  .pager { padding: 14px 16px; }
  .pager a { min-height: 40px; }
  .link-grid { columns: 1; }
  .link-grid a { padding: 10px 0; }
  .region-bars a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 12px 0; }
  .region-bars .rb-track { grid-column: 1 / -1; grid-row: 2; height: 12px; }
  .region-bars small { grid-column: 1 / -1; grid-row: 3; text-align: left; }
  .region-bars small:empty { display: none; }
  .history li { grid-template-columns: minmax(0, 1fr); gap: 1px; padding: 12px 0; }
  .facts div { grid-template-columns: 124px minmax(0, 1fr); }
  .outage-head { gap: 20px; }
  .eta-box { padding-left: 18px; }
  .eta-time { font-size: 76px; }
  .timeline { margin-top: 24px; }
  .tl-legend b { font-size: 21px; }
  .notice-text p { font-size: 18.5px; }
  .phone-number { font-size: 38px; }
  .vote-actions button { min-height: 52px; font-size: 17px; }
  .street-map { height: 290px; margin-inline: -16px; border-left: 0; border-right: 0; border-radius: 0; }
  .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: 13px 0; border-bottom: 1px solid var(--line); }
  .data-table.is-stacked tr:first-child { border-top: 2px solid var(--ink); }
  .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; text-align: right; }
  .data-table.is-stacked td::before { content: attr(data-label); flex: none; color: var(--ink-faint); font-size: 15px; text-align: left; }
  .form input, .form select, .form textarea { min-height: 48px; font-size: 17px; }
  .form .button { justify-self: stretch; min-height: 52px; }
  .doc-nav { flex-wrap: nowrap; margin-inline: -16px; padding-inline: 16px; overflow-x: auto; scrollbar-width: none; }
  .doc-nav a { white-space: nowrap; }
  .site-footer { padding: 32px 0 26px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); padding-bottom: 22px; }
  .footer-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 18px; padding-top: 22px; }
  .footer-regions { columns: 2; }
  .footer-columns nav a { padding: 7px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .incident, .menu-group > a { transition: background-color .12s; }
  .site-nav a::after, .service-chip::after, .filter-status button::after { transition: transform .16s ease; }
  .logo-dot::after, .pulse::after { animation: beacon 2.6s ease-out infinite; }
  @keyframes beacon { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(3.1); opacity: 0; } }
}
[tabindex="-1"]:focus { outline: none; }
