/* Leespagina's vanaf de server (sessie B, 4 okt 2026): plaats, stad, stadsdeel, gemeente, regio, overzichten, archief,
   vaste pagina's, 404. Zelfde tokens en lettertypes als style.css (de app); het designsysteem (overdracht stap 3)
   trekt ze samen in één bron. Richting A "Vertrekbord" (plan sessie B §7): open lijsten met haarlijnen, tijdkolom,
   dienstblokjes, kopjes in zinsvorm met een stipje, vlakken in merkblauw in plaats van kaders. */

@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/manrope-800-latin.woff2") format("woff2"); }
/* Letters (besluit eigenaar 5 okt 2026): Schibsted Grotesk voor koppen en tekst, het woordmerk blijft Manrope 800.
   Zelf gehost (sneller, geen verzoek naar Google). "Schibsted Fallback" = Arial op dezelfde breedte en regelhoogte
   (gemeten: 103,6%), zodat de pagina niet verspringt als het lettertype binnenkomt. */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400 900; font-style: normal; font-display: swap; src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Fallback"; src: local("Arial"); size-adjust: 103.6%; ascent-override: 94.6%; descent-override: 25.1%; line-gap-override: 0%; }
/* Leaflet zet eigen letters (Helvetica, Lucida Console) op het kaartje: ook die in onze letter. */
html .leaflet-container, html .leaflet-bar a, html .leaflet-control-zoom a { font-family: var(--font); } /* html ervoor: site.js laadt leaflet.css pas later */

:root {
  --ink: #143b5c;
  --brand: #143b5c; /* merkblauw als vlak, ook in donker */
  --live: #ff8a3d;
  --live-text: #b4530f;
  --sky: #dbe9f5;
  --display: "Schibsted Grotesk", "Schibsted Fallback", ui-sans-serif, system-ui, sans-serif;
  --wordmark: "Manrope", ui-sans-serif, system-ui, sans-serif; /* alleen het woordmerk "mijnbuurt.nu" */
  --font: "Schibsted Grotesk", "Schibsted Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bg: #ffffff;
  --panel: #ffffff;
  --soft: #f3f6f9;
  --text: #10151c;
  --muted: #545d6b;
  --line: #dce2e9;
  --news: #5b4bc4;
  --good: #1d7a5c;
  --ambulance: #e3a400;
  --brandweer: #d62839;
  --politie: #1f5bd8;
  --knrm: #f06c00;
  --overig: #7a7f88;
  --urgent: #d62839;
  /* Designsysteem v1 stap 7 (5 okt 2026): tekstkleuren per dienst (leesbaar, minstens 4,5:1) en de hoofdknop, met
     dezelfde waarden als style.css (bord DS-01). Nieuwe namen; bestaande namen (--bg, --soft, donker --brand) houden hier
     hun eigen waarde (bouwrisico 2 en 3 in docs/design/ds-v1-controle.md). */
  --amb-t: #8a6400; --brw-t: #c41f2f; --pol-t: #1f5bd8; --knrm-t: #b34d00; --news-t: #5b4bc4; --good-t: #18785a; --urgent-t: #c41f2f;
  --btn: #143b5c; --on-btn: #ffffff;
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #dbe9f5; --brand: #10283d; --live-text: #ff9d5c; --sky: #1b2e40; --bg: #0f1216; --panel: #181b1f; --soft: #1b1f24;
    --text: #eef0f2; --muted: #9aa1ab; --line: #2a2e34; --news: #9a8cf0; --good: #4fc79c; --politie: #4f86f0; color-scheme: dark;
    --amb-t: #f0b81f; --brw-t: #ff6b78; --pol-t: #7aa5ff; --knrm-t: #ff9a4d; --news-t: #a99cf5; --good-t: #4fc79c; --urgent-t: #ff6b78;
    --btn: #eef4fa; --on-btn: #10151c;
  }
  :root:not([data-theme="light"]) .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(0.9); }
}
:root[data-theme="dark"] {
  --ink: #dbe9f5; --brand: #10283d; --live-text: #ff9d5c; --sky: #1b2e40; --bg: #0f1216; --panel: #181b1f; --soft: #1b1f24;
  --text: #eef0f2; --muted: #9aa1ab; --line: #2a2e34; --news: #9a8cf0; --good: #4fc79c; --politie: #4f86f0; color-scheme: dark;
    --amb-t: #f0b81f; --brw-t: #ff6b78; --pol-t: #7aa5ff; --knrm-t: #ff9a4d; --news-t: #a99cf5; --good-t: #4fc79c; --urgent-t: #ff6b78;
    --btn: #eef4fa; --on-btn: #10151c;
}
:root[data-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(0.9); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body.site { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--live); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--live-text); }
:focus-visible { outline: 3px solid var(--politie); outline-offset: 2px; border-radius: 3px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Logo (zelfde opbouw als de app) */
.mark { width: 30px; height: 30px; flex-shrink: 0; overflow: visible; }
.mark .blocks { fill: var(--ink); }
.mark .mark-dot { fill: var(--live); }
.mark .mark-ring { fill: none; stroke: var(--live); stroke-width: 4; opacity: 0; }
.word { font-family: var(--wordmark); font-weight: 800; font-size: 20px; letter-spacing: -0.035em; color: var(--ink); }
.word em { font-style: normal; color: var(--live); }

/* Bovenbalk */
.site-top { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 8px max(16px, env(safe-area-inset-left)) 8px max(16px, env(safe-area-inset-left));
  padding-top: calc(8px + env(safe-area-inset-top, 0px)); background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { background: var(--soft); color: var(--text); }
.menu-btn { width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.menu-btn:hover { background: var(--soft); }
.menu-btn svg { width: 24px; height: 24px; }
.site-menu { position: absolute; right: 12px; top: calc(100% + 6px); width: min(320px, calc(100vw - 24px)); max-height: calc(100vh - 90px); overflow-y: auto;
  background: var(--panel); color: var(--text); border-radius: 14px; box-shadow: 0 16px 48px rgb(0 0 0 / 22%); padding: 14px 16px 16px; }
.site-menu[hidden] { display: none; }
.sm-label { display: block; font-family: var(--display); font-weight: 800; font-size: 15px; margin: 10px 0 4px; }
.site-menu ul { list-style: none; margin: 0; padding: 0; }
.site-menu li a { display: block; padding: 7px 0; text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--line); }
.site-menu li:last-child a { border-bottom: 0; }
.sm-buurt a { display: block; font-weight: 700; font-size: 17px; padding: 4px 0 8px; }
.sm-theme { margin-top: 12px; width: 100%; text-align: left; font: inherit; font-size: 15px; padding: 10px 12px; border: 0; border-radius: 10px; background: var(--soft); color: var(--text); cursor: pointer; }
.sm-112 { margin: 12px 0 0; color: var(--urgent); font-size: 14px; }
@media (max-width: 640px) {
  .site-nav { display: none; }
  .menu-btn { margin-left: auto; }
}
@media (max-width: 374px) { .site-top .word { display: none; } }

/* Taalknop (Engels stap 2, 6 okt 2026): zoals de knop in de app (style.css .lang-btn): wereldbol + "English" /
   "Nederlands", rustig grijs, tikdoel 44 px. Op mobiel schuift hij rechts tegen het menu aan. */
.lang-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.lang-link svg { width: 16px; height: 16px; flex: none; }
.lang-link:hover { background: var(--soft); color: var(--text); }
.lang-link:focus-visible { outline: 2px solid var(--politie); outline-offset: 2px; }
@media (max-width: 640px) {
  .lang-link { margin-left: auto; padding: 0 10px; }
  .lang-link + .menu-btn { margin-left: 0; }
  .site-top { gap: 8px; }
}
/* Vaste pagina zonder Engelse tekst: korte Engelse regel boven de Nederlandse tekst (stap 4). */
.lang-note { margin: 0 0 10px; font-size: 15px; color: var(--muted); }
/* Teksten van nieuwsbronnen onder /en (6 okt 2026, public/news-lang.js langBadge): klein, rustig label achter de bronregel
   of de samenvatting, zoals in de app (style.css .news-lang). Alleen op Engelse pagina's. */
.news-lang { display: inline; margin-left: 2px; font-size: 13px; font-weight: 500; font-style: normal; color: var(--muted); white-space: nowrap; }

/* Hoofdkolom */
.site-main { max-width: 1120px; margin: 0 auto; padding: 8px 16px 48px; }
.page-text { max-width: 680px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 12px 0 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--live); }
.page-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 6vw, 40px); line-height: 1.1; letter-spacing: -0.025em; margin: 14px 0 12px; color: var(--ink); }
.answer { font-size: 18px; line-height: 1.5; margin: 0 0 8px; }
/* Telling per dienst boven de lijst van de laatste 24 uur (14 okt 2026). */
.telling { margin: -4px 0 10px; color: var(--muted); font-size: 15px; }
.stamp { font-size: 14px; color: var(--muted); margin: 0 0 16px; } /* vaste cijferbreedte alleen in tijdkolommen (DS, 5 okt 2026) */

/* Snelkoppelingen */
.quick { display: flex; gap: 8px; overflow-x: auto; margin: 16px 0 8px; padding-bottom: 4px; scrollbar-width: none; }
.quick a { flex: none; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--soft); }
.quick a:hover { background: var(--sky); color: var(--ink); }
.quick.letters a { min-width: 40px; text-align: center; padding: 8px 10px; }

/* Blokken met een kop in zinsvorm en een stipje */
.block { margin-top: 36px; }
.sh { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.015em; margin: 0 0 12px; color: var(--text); }
.sh-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--live); }
.t-urgent { background: var(--urgent); } .t-brandweer { background: var(--brandweer); } .t-politie { background: var(--politie); }
.t-news { background: var(--news); } .t-ink { background: var(--ink); } .t-live { background: var(--live); }
.sh3, .block h3 { font-family: var(--display); font-weight: 800; font-size: 18px; margin: 22px 0 8px; }

/* Vertrekbord */
.board { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.bd-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bd-time { font-family: var(--display); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.3; }
.bd-day { display: block; font-family: var(--font); font-weight: 600; font-size: 13px; color: var(--muted); }
.is-urgent .bd-time { color: var(--urgent); }
.bd-main { min-width: 0; }
.bd-title { font-weight: 700; font-size: 16.5px; text-decoration: none; }
.bd-title:hover { text-decoration: underline; text-decoration-color: var(--live); color: inherit; }
.blk-row { display: inline-flex; gap: 3px; margin-right: 8px; vertical-align: 1px; }
.blk { width: 10px; height: 10px; border-radius: 2.5px; background: var(--overig); }
.blk.d-brandweer { background: var(--brandweer); } .blk.d-ambulance { background: var(--ambulance); } .blk.d-politie { background: var(--politie); }
.blk.d-knrm { background: var(--knrm); }
.bd-amb { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
details.more { margin-top: 4px; }
details.more summary { cursor: pointer; font-weight: 700; padding: 10px 0; list-style: none; text-decoration: underline; text-decoration-color: var(--live); text-decoration-thickness: 2px; text-underline-offset: 3px; }
details.more summary::-webkit-details-marker { display: none; }

.news-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-rows li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.news-rows a { font-weight: 700; text-decoration: none; }
.news-rows a:hover { text-decoration: underline; text-decoration-color: var(--news); color: inherit; }

.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.link-list li { font-size: 16px; }
.link-list.stack { display: grid; gap: 10px; }
.link-list.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 24px; }
.facts { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 6px; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 0; background: var(--brandweer); color: #fff;
  font: 700 15.5px/1.2 var(--font); text-decoration: none; cursor: pointer; margin: 4px 8px 4px 0; }
.btn:hover { color: #fff; filter: brightness(1.08); }
/* .btn en .btn-ink: zie "Designsysteem v1, stap 7" onderaan (hoofdknop merkblauw, in donker licht zoals in het
   kaartgedeelte). Dat vervangt de donkere variant #1f4f78 (audit 4 okt 2026: merkblauw was op donker onzichtbaar). */
.btn-ghost { background: var(--soft); color: var(--text); }
.btn-ghost:hover { color: var(--text); background: var(--sky); }

/* Kaartje op de plaatspagina; op een breed scherm loopt het rechts mee (plan §3). */
.place-map { margin: 8px 0 4px; }
/* Groot incident vlakbij in de lijst van een plaatspagina (12 okt 2026). */
.bd-near { margin: 2px 0 0; font-weight: 700; color: var(--live-text, #c2410c); }
.amb-more > summary { font-weight: 600; }
/* Landingspagina (12 okt 2026, canvas LP-*): grote knop naar de live kaart met drie regels, buurtalarm hoog, balkje op de
   telefoon. Zelfde knopstijl als de rest van de site; de rode stip is het "nu" van het merk. */
.live-cta { margin: 10px 0 6px; }
.btn-live { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; font-size: 17px; }
.live-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #ff8a3d; box-shadow: 0 0 0 4px color-mix(in srgb, #ff8a3d 30%, transparent); }
.live-points { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.live-points li { position: relative; padding-left: 22px; }
.live-points li::before { content: ''; position: absolute; left: 4px; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--ink, currentColor); opacity: 0.55; }
.alarm-cta { padding: 16px; border-radius: 14px; background: var(--soft); }
.alarm-cta .sh { display: flex; align-items: center; gap: 8px; margin-top: 0; }
.alarm-bell { display: inline-flex; width: 20px; height: 20px; color: #d62839; }
.alarm-bell svg { width: 100%; height: 100%; }
.alarm-cta p { margin: 6px 0 12px; }
.live-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08); }
.live-bar[hidden] { display: none; }
.live-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 10px; font-weight: 700; font-size: 15.5px; text-decoration: none; }
.lb-map { background: var(--ink); color: var(--bg); }
.lb-alarm { background: var(--soft); color: var(--text); }
body.has-live-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 800px) { .live-bar, .live-bar:not([hidden]) { display: none; } body.has-live-bar { padding-bottom: 0; } }
.pm-map { position: relative; z-index: 0; height: 220px; border-radius: 12px; overflow: hidden; background: var(--soft); margin-bottom: 8px; }
.pm-pin { display: block; width: 14px; height: 14px; border-radius: 4px; border: 2px solid #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 35%); background: var(--overig); }
.pm-pin.d-brandweer { background: var(--brandweer); } .pm-pin.d-ambulance { background: var(--ambulance); } .pm-pin.d-politie { background: var(--politie); } .pm-pin.d-knrm { background: var(--knrm); }
@media (min-width: 1100px) {
  .page-grid .page-text { position: relative; }
  .page-grid .place-map { position: sticky; top: 80px; float: right; width: 380px; margin-right: -420px; margin-top: 0; }
  .page-grid .pm-map { height: 360px; }
}

/* Advertentieplekken (akkoord eigenaar 5 okt 2026; site-pages.js adSlotHtml): zelfde vak als in de app (style.css .ad-slot,
   leespagina .reader .ad-label): label "Advertentie", gestreept vak met vaste maat. De server zet een plek alleen in de
   standen 'on' en 'test'; voor de zekerheid ook hier: zonder ads-on of ads-test op <html> nergens een plek of ruimte. */
html:not(.ads-on):not(.ads-test) .ad-box { display: none !important; }
.site-ad { margin: 28px 0; text-align: center; }
.site-ad .ad-label { display: block; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 4px; }
.site-ad .ad-slot { display: grid; place-items: center; max-width: 100%; margin: 0 auto; overflow: hidden; border: 1px dashed var(--line); border-radius: 4px;
  background: repeating-linear-gradient(45deg, transparent 0 8px, color-mix(in srgb, var(--line) 50%, transparent) 8px 16px); color: var(--muted); font-size: 13px; }
.ad-300x250 { width: 300px; height: 250px; }
.ad-300x600 { width: 300px; height: 600px; }
/* Lege plek klapt in (ads-boot.js), maar alleen buiten beeld of in de zijkolom. */
.ad-slot.ad-collapsed, .ad-box:has(.ad-collapsed) { display: none; }
/* 300×600 in de zijkolom (stadsdeel, gemeente, regio): alleen vanaf 1100 px, op dezelfde lijn als het kaartje van de
   plaatspagina en net zo meebewegend; daaronder geen plek en geen ruimte. */
.site-ad-side { display: none; }
@media (min-width: 1100px) {
  .page-grid .site-ad-side { display: block; position: sticky; top: 80px; float: right; width: 300px; margin: 0 -340px 0 0; }
}
/* Plaatspagina: de zijkolomplek onder het meeschuivende kaartje (5 okt 2026). Alleen op een breed scherm én als kaartje +
   advertentie samen in beeld passen (kaart 360 + knop + 300×250 ≈ 710 px onder de bovenbalk); op hoge schermen de
   300×600. Anders geen plek, dan schuift alleen het kaartje mee zoals voorheen. */
.place-map .pm-ad { display: none; }
@media (min-width: 1100px) and (min-height: 800px) {
  .place-map .pm-ad-s { display: block; margin: 16px 0 0; }
}
@media (min-width: 1100px) and (min-height: 1150px) {
  .place-map .pm-ad-s { display: none; }
  .place-map .pm-ad-l { display: block; margin: 16px 0 0; }
}

/* Maandoverzicht (gedeeld met de app, overview-view.js); tegels als zachte vlakken, zonder randje. */
.month .r-section { margin-top: 18px; }
.ov-rust { padding: 12px 14px; border-radius: var(--radius); background: color-mix(in srgb, #1d9e75 14%, transparent); margin-bottom: 16px; }
.ov-rust p { margin: 0; font-weight: 600; }
.ov-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.ov-card { padding: 12px 14px; border-radius: var(--radius); background: var(--soft); }
.ov-n { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--ink); }
.ov-label { font-weight: 700; margin-top: 4px; }
.ov-src { font-size: 13px; color: var(--muted); margin-top: 4px; }
.ov-src a { color: var(--news); font-weight: 600; }
.ov-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ov-item { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ov-item p { margin: 4px 0; font-size: 15px; }
.ov-item-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; }
.ov-item-head time { color: var(--muted); font-variant-numeric: tabular-nums; }
.ov-item.good .ov-item-head b { color: var(--good); }
.ov-chip { font-size: 13px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--soft); }
.ov-young { background: var(--sky); color: var(--ink); border-radius: var(--radius); padding: 10px 12px; font-size: 15px; margin: 0 0 6px; }
.ov-how { font-size: 13.5px; color: var(--muted); margin: 8px 0 10px; }
.r-credit { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.pc-wrap { overflow-x: auto; margin: 10px 0 4px; }
.pc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pc-table th, .pc-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; vertical-align: top; }
.pc-table th[scope="row"], .pc-table thead th:first-child { text-align: left; font-weight: 600; }
.pc-table thead th { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.pc-table td:nth-child(2) { font-weight: 700; }
.pc-sub { display: block; font-weight: 400; }
.pc-group th { text-align: left; font-family: var(--display); font-weight: 800; font-size: 15px; padding-top: 14px; border-bottom: 0; }
.pc-trend { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.pc-trend.meer { color: #b4532a; } .pc-trend.minder { color: var(--good); }
.mb-loader { display: flex; align-items: center; gap: 12px; padding: 14px 0; color: var(--muted); font-size: 14px; }
.months, .months-nav { font-size: 15px; }
.months-nav { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0; font-weight: 600; }

/* Zoeken */
.search label { display: block; font-weight: 700; margin: 8px 0 6px; }
.search-row { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.search .btn { margin: 0; }

/* Deel met je buren (12 okt 2026): plaats-, stadsdeel-, gemeente-, regio- en provinciepagina. */
.share-buurt .sh { margin-top: 0; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row .btn { margin: 0; padding: 10px 14px; }
.btn.share-wa { background: #1f7a4d; color: #fff; gap: 8px; }
.btn.share-wa:hover, .btn.share-wa:visited { color: #fff; }
.btn.share-copy { background: var(--panel); color: var(--text); border: 1px solid var(--line); }
.share-buurt .alarm-app { margin: 12px 0 0; }

/* Buurtapp: link en QR-code voor een buurt-WhatsApp of buurtapp (12 okt 2026, src/site-pages.js buurtappPage) */
.ba-form-help { margin: 8px 0 0; font-size: 14.5px; }
.ba-form-err { margin: 8px 0 0; color: var(--urgent); font-weight: 600; }
.ba-result { padding: 16px; border-radius: 14px; background: var(--soft); }
.ba-result .sh { margin-top: 0; }
.ba-check { margin: -4px 0 10px; }
.ba-grid { display: grid; gap: 20px; }
.ba-copy { display: grid; gap: 8px; min-width: 0; }
.ba-h { font-weight: 700; margin-top: 4px; }
.ba-line { display: flex; gap: 8px; }
.ba-out { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.ba-msg { resize: vertical; line-height: 1.45; }
.ba-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ba-actions .btn, .ba-line .btn { margin: 0; }
.btn.ba-wa { background: #1f7a4d; color: #fff; }
.btn.ba-wa:hover, .btn.ba-wa:visited { color: #fff; }
.ba-small { font-size: 13.5px; margin: 0; }
.ba-share-main { width: 100%; min-height: 52px; font-size: 16.5px; gap: 10px; margin: 0; }
.ba-actions .ba-fb { background: #1b5fcc; color: #fff; }
.ba-actions .ba-fb:hover { color: #fff; }
.ba-actions .ba-more-share { background: var(--panel); color: var(--text); border: 1px solid var(--line); }
.ba-msg-box { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; display: grid; gap: 8px; }
.ba-msg-box summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.ba-msg-box[open] summary { margin-bottom: 2px; }
.ba-msg-box summary::-webkit-details-marker { display: none; }
.ba-msg-box summary { list-style: none; justify-content: space-between; }
.ba-msg-box summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-right: 6px; }
.ba-msg-box[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.ba-qr { margin: 0; display: grid; justify-items: center; gap: 10px; align-content: start; text-align: center; }
.ba-qr-img { background: #fff; border-radius: 12px; padding: 6px; line-height: 0; }
.ba-qr-img svg { width: 220px; height: 220px; max-width: 100%; }
.ba-qr figcaption { font-weight: 700; color: var(--ink); display: grid; gap: 2px; }
.ba-qr figcaption small { font-weight: 500; color: var(--muted); font-size: 14px; }
.ba-qr .btn { margin: 0; background: var(--panel); color: var(--text); border: 1px solid var(--line); }
/* "Hebben jullie een website?" (13 okt 2026): eigen blokje onder delen en QR-code, zelfde velden en knoppen. */
.ba-site { display: grid; gap: 8px; margin: 18px 0 6px; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.ba-site h3 { margin: 0; }
.ba-site p { margin: 0; }
.ba-site .ba-msg-box { margin-top: 0; }
.ba-site > *, .ba-site .ba-out { min-width: 0; }
.ba-site .ba-line .ba-out { flex: 1; width: auto; }
.ba-site textarea.ba-out { width: 100%; box-sizing: border-box; }
.ba-steps { margin: 6px 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.ba-know ul { padding-left: 20px; display: grid; gap: 8px; }
.alarm-app { margin: 12px 0 0 !important; font-size: 14.5px; }
@media (min-width: 720px) { .ba-grid { grid-template-columns: minmax(0, 1fr) 250px; } }

/* Voettekst: vlak in merkblauw (plan §4) */
.site-foot { background: var(--brand); color: #e8f0f7; margin-top: 56px; padding: 36px 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot-in { max-width: 1120px; margin: 0 auto; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.site-foot .mark .blocks { fill: #dbe9f5; }
.site-foot .word { color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin: 24px 0; }
.foot-col h2 { font-family: var(--display); font-weight: 800; font-size: 16px; margin: 0 0 8px; color: #fff; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-col a { color: #e8f0f7; text-decoration: none; font-size: 15px; }
.foot-col a:hover { text-decoration: underline; text-decoration-color: var(--live); color: #fff; }
.foot-112 { margin: 20px 0 6px; font-size: 15px; color: #fff; }
.foot-112 b { color: #ffb3a8; }
.foot-src { margin: 0; font-size: 13.5px; color: #b9cad9; }
/* Privacy-instellingen (6 okt 2026): alleen als er een toestemmingsbanner draait (ads-boot.js zet dan .mb-cmp op <html>). */
html:not(.mb-cmp) [data-privacy-settings] { display: none !important; }
.foot-privacy .link-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgb(255 255 255 / 30%); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot-privacy .link-btn:hover { text-decoration-color: var(--live); }

/* Vaste pagina's */
.prose h2 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 32px 0 10px; }
.prose h3 { font-family: var(--display); font-weight: 800; font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 17px; }
.prose blockquote { margin: 16px 0; padding: 12px 16px; border-radius: var(--radius); background: var(--soft); font-style: italic; } /* citaat als zacht vlak, geen streep links (beeldtaal §7) */

/* ==== Designsysteem v1, stap 7: serverpagina's (5 okt 2026) ====
   Een nieuwe jas over plaats, stad, stadsdeel, gemeente, regio, overzichten, archief, oude melding, kiespagina, zoeken,
   vaste pagina's en 404, met dezelfde bouwstenen als het kaartgedeelte (style.css stap 2–5; bouwstenen DS-01/02, bron
   docs/design/canvas-sessie-b/gen_ds.py blocks_board en row()): rij met tijdkolom zoals de lijst, dienstblokje + dienstnaam
   in tekstkleur, code in drie niveaus, GRIP-label, nieuwsicoon, knoppen minstens 44 px, tekst minstens 13 px (behalve de
   verplichte kaartvermelding van PDOK/Leaflet), koppen als zin met een stip, vlakken in plaats van kaders, links onderstreept
   zonder "→". Inhoud en gedrag blijven gelijk. Let op: --bg is hier wit en --soft heeft hier eigen waarden (niet
   gelijkgetrokken met style.css, bouwrisico 2/3). */
.d-ambulance { --c: var(--ambulance); --ct: var(--amb-t); }
.d-brandweer { --c: var(--brandweer); --ct: var(--brw-t); }
.d-politie { --c: var(--politie); --ct: var(--pol-t); }
.d-knrm { --c: var(--knrm); --ct: var(--knrm-t); }
.d-overig { --c: var(--overig); --ct: var(--muted); }

/* Rij met tijdkolom (vertrekbord = de lijst van de app, DS-17): tijd groot met de dag eronder, dan dienst + code, kop,
   straat en "Ook … · n oproepen". */
.bd-row { grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.item-time { font: 800 18px/1.25 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.item-time.u { color: var(--urgent-t); }
.item-time time { font: inherit; color: inherit; }
.item-time small { display: block; font: 500 13px/1.4 var(--font); font-variant-numeric: normal; color: var(--muted); white-space: normal; } /* "12 september" in twee regels */
.item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.item-meta .blk { flex: none; width: 10px; height: 10px; border-radius: 2.5px; background: var(--c, var(--overig)); }
.item-meta .disc { font-weight: 700; color: var(--ct, var(--muted)); }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: 4px; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: var(--soft); color: var(--text); }
.badge.p1 { background: var(--brandweer); color: #fff; }
.badge.p2 { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c, var(--overig)); color: var(--ct, var(--text)); }
.item-meta .spoed { font-weight: 600; color: var(--urgent-t); }
/* GRIP in gewone taal (besluit eigenaar 5 okt 2026): rustig lichtblauw label, nooit rood. */
.grip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: var(--sky); color: var(--ink); }
.bd-title.item-title { display: block; margin: 3px 0 4px; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: var(--text); }
.bd-where { min-width: 0; overflow-wrap: anywhere; }
.bd-also { margin-top: 2px; font-size: 13.5px; }

/* Nieuwsregels zoals "In het nieuws" op de meldingpagina: paars nieuwsicoon, kop vet, bron · tijd eronder. */
.news-rows li { padding: 0; }
.news-rows a.nr-link { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 11px 0; color: var(--text); font-weight: 400; text-decoration: none; }
.ni-s { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: var(--news); color: #fff; }
.ni-s svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nr-t { min-width: 0; }
.nr-t b { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
.nr-meta { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (hover: hover) { .news-rows a.nr-link:hover b { text-decoration: underline; text-decoration-color: var(--news); text-decoration-thickness: 2px; text-underline-offset: 3px; } }

/* Knoppen: hoofdknop merkblauw (in donker licht, zoals in het kaartgedeelte), rood alleen voor sirenes, zacht vlak voor de
   rest. Allemaal minstens 44 px. */
.btn { min-height: 44px; padding: 10px 18px; border-radius: 10px; background: var(--btn); color: var(--on-btn); font: 700 15.5px/1.25 var(--font); }
.btn:hover { color: var(--on-btn); filter: brightness(1.12); }
.btn-ink { background: var(--btn); color: var(--on-btn); }
.btn-alarm { background: var(--brandweer); color: #fff; }
.btn-alarm:hover { color: #fff; }
.btn-ghost { background: var(--soft); color: var(--text); }
.btn-ghost:hover { color: var(--text); background: var(--sky); filter: none; }

/* Bovenbalk en menu ≡ (alleen de jas): tikdoelen 44 px. */
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
.menu-btn { width: 44px; height: 44px; }
.site-menu .sm-label { font-size: 14px; color: var(--muted); margin: 12px 0 2px; }
.site-menu .sm-label:first-child { margin-top: 2px; }
.site-menu li a { display: flex; align-items: center; min-height: 44px; padding: 0; font-size: 15.5px; }
.site-menu .sm-buurt a { display: flex; align-items: center; min-height: 44px; padding: 0; text-decoration: underline; text-decoration-color: var(--live); }
.sm-theme { min-height: 44px; font-weight: 600; }
.sm-112 { font-size: 14.5px; }

/* Kruimelpad en snelkoppelingen: ruimere tikdoelen, pillen 44 px. */
.crumbs ol { align-items: center; }
.crumbs a { display: inline-block; padding: 8px 0; }
.brand { min-height: 44px; }
.skip { min-height: 44px; display: inline-flex; align-items: center; }
/* Zoomknoppen op het kaartje 44 px, zoals op de kaart (style.css stap 2). html ervoor: leaflet.css komt later binnen. */
html .pm-map .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 20px; }
.quick a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; }
.quick.letters a { justify-content: center; min-width: 44px; padding: 0 10px; }

/* Linklijsten (plaatsen, gemeenten, regio's, zoekresultaten): onderstreept, elke link minstens 36 px hoog met ruimte
   ertussen (lange lijsten als /gemeente blijven zo leesbaar; tussenruimte haalt de 24 px-regel ruim). */
.link-list { gap: 2px 20px; }
.link-list a { display: inline-block; padding: 6px 0; }
.link-list.stack, .link-list.cols { gap: 2px 24px; }

/* Cijferzin (bouwsteen 5): getallen vet in de lopende tekst. */
.num-line b, .answer b { font-weight: 800; color: var(--ink); }

/* Kaartje: ronde hoeken zoals de kaartjes in het kaartgedeelte. */
.pm-map { border-radius: 14px; }

/* Maandblok en politiecijfers: tegels als zacht vlak (14 px), herkomst in nieuwspaars, maandnavigatie 44 px. */
/* Archiefmaand: de blokken van het maandoverzicht zijn daar zelf de sectiekoppen (h2): zin met een stip, zoals .sh. */
.month .r-section > h2 { display: flex; align-items: center; gap: 10px; margin: 36px 0 12px; font: 800 22px/1.2 var(--display); letter-spacing: -0.015em; color: var(--text); }
.month .r-section > h2::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.month .r-section:first-child > h2, .month .ov-young + .r-section > h2, .month .ov-rust + .r-section > h2 { margin-top: 8px; }
.ov-card { border-radius: 14px; }
.ov-rust, .ov-young { border-radius: 12px; }
.ov-src a { color: var(--news-t); display: inline-block; padding: 6px 0; } /* bronnen als links in één regel: ruimer tikdoel */
.ov-item-head b { font-weight: 700; }
.ov-item.good .ov-item-head b { color: var(--good-t); }
.pc-trend.minder { color: var(--good-t); }
/* "meer dan gebruikelijk" in de leesbare oranje tint (#b4532a haalde in donker maar 3,8:1; eindcontrole 5 okt 2026). */
.pc-trend.meer { color: var(--knrm-t); }
.months-nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* Oude melding: feiten als zacht vlak (geen kader), GRIP als label. */
.facts { padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.facts li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.facts .blk-row { margin-right: 0; }

/* Zoeken (ook op de 404): veld en knop 48 px. */
.search input { min-height: 48px; }
.search .btn { min-height: 48px; }

/* Vaste pagina's: koppen als zin met een stip, live blokken in de jas van de rest. */
.prose h2 { display: flex; align-items: center; gap: 10px; letter-spacing: -0.015em; }
.prose h2::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--live); }
.prose .live-block { margin: 12px 0 18px; }
.prose .live-block .btn { margin-top: 4px; }
.kv { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: minmax(110px, 30%) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size: 15px; font-weight: 700; color: var(--muted); }
.kv dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.corrections { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.corrections li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.corrections time { font-weight: 700; }
.corrections p { margin: 4px 0 0; font-size: 16px; }
.person { padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.person p { margin: 0 0 6px; }
.person p:last-child { margin-bottom: 0; }

/* Voettekst: kolommen naast elkaar vanaf 2 op een telefoon, links onderstreept met een tikdoel van 44 px, KvK-regel en
   112-regel zoals ze waren. */
.foot-cols { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 24px; }
.foot-col h2 { margin-bottom: 2px; }
.foot-col ul { gap: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: rgb(255 255 255 / 30%);
  text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot-brand { min-height: 44px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* Tikdoelen 44 px (akkoord eigenaar 5 okt 2026, voor/na in docs/design/tikdoelen/): kruimelpad, linklijsten en bronlinks
   waren 32–37 px. Vlakken raken elkaar in de lijsten, maar overlappen niet; de tekst blijft even groot. */
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.link-list { gap: 0 20px; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.link-list.stack, .link-list.cols { gap: 0 24px; }
.ov-src a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }

/* Buurtmail stap 1 (5 okt 2026): aanmeldveld in "Volg je buurt" en de pagina's na aanmelden, bevestigen en afmelden.
   Jas van designsysteem v1: veld 48 px met 16 px tekst (geen inzoomen op de iPhone), knop 48 px naast het veld (op een
   smalle telefoon eronder), kleine tekst in grijs, fout in rood met tekst erbij (nooit alleen kleur). */
/* Buurtmail hoog op de plaatspagina, als lichtblauw vlak (7 okt 2026). */
.volg-top { background: var(--sky); border-radius: 16px; padding: 18px 18px 16px; }
.volg-top h2 { margin-top: 0; }
.volg-top > p { font-size: 17px; line-height: 1.45; margin: 6px 0 0; }
.volg-top .bm-input { background: var(--panel); }
.volg-top .bm-fine, .volg-top .bm-fine a { color: var(--ink); opacity: .85; }
.bm-form { margin: 14px 0 0; max-width: 560px; }
.bm-label { display: block; font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.bm-row { display: flex; gap: 8px; }
.bm-input { flex: 1; min-width: 0; min-height: 48px; font: inherit; font-size: 16px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.bm-input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.bm-input[aria-invalid="true"] { border-color: var(--urgent-t); }
.bm-form .bm-btn { min-height: 48px; margin: 0; flex: none; }
.bm-btn:disabled { opacity: 0.6; cursor: progress; }
.bm-fine { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.bm-fine a { color: var(--muted); }
.bm-msg { margin: 8px 0 0; font-size: 15px; font-weight: 600; }
.bm-msg.bm-error { color: var(--urgent-t); }
.bm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bm-done { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--soft); max-width: 560px; }
.bm-done:focus { outline: none; }
.bm-done-title { margin: 0 0 4px; font: 800 18px/1.3 var(--display); color: var(--ink); }
.bm-done-text { margin: 0; font-size: 16px; line-height: 1.5; }
.bm-kicker { margin: 14px 0 0; font-size: 15px; font-weight: 700; color: var(--live-text); }
.bm-page .page-head h1 { margin-top: 4px; }
@media (max-width: 420px) { .bm-row { flex-direction: column; } .bm-form .bm-btn { width: 100%; } }

/* Verhaalpagina (laag C, 6 okt 2026, src/story-page.js): zelfde jas als de andere leespagina's. Byline en "Laatste update"
   als gewone regels (geen kader), luchtfoto met het soort-icoon in het midden (zoals de meldingpagina in de app), wat we
   weten als vol blokje en wat we niet weten als open blokje (zoals de lezer in de app), de tijdlijn als vertrekbord. */
.story-byline { margin: 0 0 6px; font-size: 15.5px; line-height: 1.5; }
.story-update { margin: 0 0 18px; font-size: 15.5px; }
.story-update b { color: var(--live-text); font-weight: 800; }
.story-figure { margin: 0 0 18px; }
.story-figure .sf-img { position: relative; overflow: hidden; border-radius: 12px; background: var(--soft); aspect-ratio: 16 / 9; }
.story-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-figure .sf-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.story-figure figcaption { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.story-figure .kind-mark { display: block; width: 60px; height: 60px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)); }
.story-figure .kind-mark svg { width: 100%; height: 100%; overflow: visible; }
.story-figure .kind-mark .km-bg { fill: var(--illu-bg, #1b2b3b); opacity: 0.94; }
.story-figure .kind-mark .km-grid { fill: var(--illu-fg, #fff); opacity: 0.4; }
.story-figure .kind-mark .km-hole { fill: var(--illu-bg, #1b2b3b); }
.story-figure .kind-mark .km-icon { fill: none; stroke: var(--illu-fg, #fff); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.story-figure .kind-mark .km-ring { display: none; } /* geen ping op een vaste pagina: het is geen live kaart */
.kind-mark.d-brandweer { --illu-bg: #3a1618; --illu-fg: #ff9a9f; } .kind-mark.d-ambulance { --illu-bg: #3a2c06; --illu-fg: #ffd25c; }
.kind-mark.d-politie { --illu-bg: #15214a; --illu-fg: #a9bcff; } .kind-mark.d-knrm { --illu-bg: #3b2410; --illu-fg: #ffb072; }
.kind-mark.d-overig { --illu-bg: #23272d; --illu-fg: #c4c9d0; }
.story p { font-size: 17px; line-height: 1.6; margin: 0 0 12px; }
.story p.answer { font-size: 18px; }
.story-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.story-facts li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 1.45; }
.story-facts li::before { content: ""; width: 12px; height: 12px; margin-top: 5px; border-radius: 3px; background: var(--ink); }
.story-unknown li::before { background: transparent; box-shadow: inset 0 0 0 2px var(--muted); }
.story-tl .tl-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.story-tl .tl-nieuws .tl-label { color: var(--news-t); }
.story-tl .tl-officieel .tl-label { color: var(--pol-t); }
.story-tl .tl-text { margin: 2px 0 0; font-size: 16px; line-height: 1.45; }
.story-tl .tl-src { font-weight: 700; }
.story-tl .tl-text a { font-weight: 600; }
.story .r-credit { margin-top: 28px; font-size: 14px; }
/* Verhaal: video's en posts (middenweg, 6 okt 2026). Zelfde vakken als in de app (style.css .yt, .r-xpost, .r-soembed),
   hier in de jas van de serverpagina's. */
.story-calm .sf-img .s-illu { position: absolute; inset: 0; display: grid; place-items: center; background: #1d2127; }
.story-calm .s-illu svg { width: min(36%, 160px); height: auto; overflow: visible; }
.story-calm .s-illu-grid { fill: #8a919b; opacity: 0.22; }
.story-calm .s-illu-dot { fill: var(--live); transform-box: fill-box; transform-origin: center; animation: mb-breathe 4s ease-in-out infinite; }
@keyframes mb-breathe { 0%, 100% { transform: scale(0.82); opacity: 0.7; } 50% { transform: scale(1.05); opacity: 1; } }
.story-media .story-video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 16px; border-radius: 12px; overflow: hidden; background: #000; }
.story-media .story-video.is-vertical { aspect-ratio: 9 / 16; max-width: 340px; }
.story-media .yt { position: relative; width: 100%; height: 100%; background: #000; overflow: hidden; }
.story-media .yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-media .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story-media .yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgb(0 0 0 / 65%); color: #fff; }
.story-media .yt-play svg { width: 34px; height: 34px; margin-left: 4px; }
.story-media .yt-src { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; color: #fff; background: rgb(0 0 0 / 55%); padding: 3px 9px; border-radius: 999px; }
.story-media .yt.playing .yt-src { display: none; }
.story-post-src { margin: 12px 0 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
.story-media .r-xpost { margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.story-media .r-xhead { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 14px; margin-bottom: 8px; }
.story-media .r-xactions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.story-media .r-xload { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--btn); color: var(--on-btn); font: 700 15px/1 var(--font); cursor: pointer; }
.story-media .r-xactions a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; }
.story-media .r-xnote { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.story-media .r-soembed { margin: 0 0 16px; max-width: 340px; }
.story-media .r-soembed iframe { display: block; width: 100%; border: 0; border-radius: 12px; }
.story-media .r-soembed-tiktok iframe { aspect-ratio: 9 / 16; height: auto; background: #000; }
.story-media .r-soembed-instagram { max-width: 400px; }
.story-media .r-soembed-instagram iframe { height: 480px; }
@media (prefers-reduced-motion: reduce) { .story-calm .s-illu-dot { animation: none; } }

/* ==== Uitgelicht op de plaats-, stadsdeel-, gemeente- en regiopagina's (besluit eigenaar 6 okt 2026, variant B) ====
   Ontwerp: docs/design/canvas-sessie-b/gen_uitgelicht.py (HL_CSS), controle docs/design/controle-uitgelicht.md. 1 grote + 2
   kleine kaarten. Richting C (krant) alleen voor de grote kaart; de kleine kaarten zijn rijen van het vertrekbord met een
   luchtfoto-miniatuur. Geen kaders: vlakken, haarlijnen en het beeld. Vaste beeldverhouding (16:9, 4:3), dus niets verspringt
   als de luchtfoto binnenkomt; tot dan het zachte vlak met het logo-blokje. */
.hl { margin: 30px 0 6px; }
.hl .sh { margin-bottom: 2px; }
.hl-sub { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.hl-grid { display: grid; gap: 0; }
.hl-card { min-width: 0; }
.hl-fig { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--soft); aspect-ratio: 16 / 9; }
.hl-fig img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.85) contrast(1.05); }
.hl-fig .kind-mark { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); }
.hl-fig .s-illu svg { width: min(38%, 120px); }
.hl-big .hl-body { padding: 12px 0 4px; }
.hl .hl-title { margin: 6px 0 6px; font: 800 22px/1.22 var(--display); letter-spacing: -0.015em; text-wrap: balance; }
.hl-title a { display: block; color: var(--text); text-decoration: none; } /* hele kop tikbaar */
.hl-title a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--live); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hl-when { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.hl-when time { font: 800 15px/1.45 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); }
.hl-also { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
/* Label: GRIP, opgeschaald, traumaheli rustig lichtblauw (zoals .grip, nooit rood); verhaal oranje gevuld. */
.hl-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 13px; font-weight: 700; white-space: nowrap; background: var(--sky); color: var(--ink); }
.hl-tag.story { background: var(--live); color: #10151c; }
/* Nieuwsregel: zelfde icoon en opbouw als "Laatste 112-nieuws" (.news-rows). */
.hl-news { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--soft); color: var(--text); text-decoration: none; }
.hl-news b { display: block; font-size: 15.5px; line-height: 1.35; font-weight: 700; }
.hl-news small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.hl-news:hover { color: var(--text); }
.hl-news:hover b { text-decoration: underline; text-decoration-color: var(--news); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hl-go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 12px 0 0; padding: 0 16px 0 13px; border-radius: 999px; background: var(--soft); color: var(--text); font: 700 15px/1.2 var(--font); text-decoration: none; }
.hl-go:hover { background: var(--sky); color: var(--ink); }
.hl-pin { width: 18px; height: 18px; flex: none; color: var(--live-text); }
/* Kleine kaarten: rij met miniatuur links, haarlijn erboven. */
.hl-small { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 12px; padding: 14px 0 6px; border-top: 1px solid var(--line); }
.hl-small:first-of-type { margin-top: 14px; }
.hl-big + .hl-small { margin-top: 14px; }
.hl-small .hl-fig { aspect-ratio: 4 / 3; border-radius: 10px; align-self: start; }
.hl-small .hl-fig .kind-mark { width: 34px; height: 34px; }
.hl .hl-small .hl-title { margin: 4px 0 3px; font: 700 16.5px/1.3 var(--font); letter-spacing: 0; }
.hl-small .hl-when, .hl-small .hl-when time { font-size: 14px; }
.hl-small .hl-go { min-height: 44px; margin: 0; padding: 0; background: none; font-size: 14.5px; text-decoration: underline; text-decoration-color: var(--live); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hl-small .hl-go:hover { background: none; color: var(--live-text); }
.hl-small .hl-pin { width: 16px; height: 16px; }
.hl-credit { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.hl-news .ni-s { margin-top: 1px; }
@media (min-width: 720px) {
  .hl-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .hl-big { grid-row: span 2; }
  .hl .hl-big .hl-title { font-size: 24px; }
  .hl-small { grid-template-columns: minmax(0, 1fr); padding: 0 0 12px; border-top: 0; }
  .hl-small:first-of-type, .hl-big + .hl-small { margin-top: 0; }
  .hl-small + .hl-small { padding-top: 14px; border-top: 1px solid var(--line); }
  .hl-small .hl-fig { aspect-ratio: 16 / 9; margin-bottom: 8px; }
}
/* Logo-blokje op de luchtfoto en de illustratie (zonder plek, of als PDOK geen beeld geeft): letterlijk uit style.css
   (.kind-mark, .s-illu), hier alleen binnen het blok. Ping uit bij "minder beweging" (regel bovenaan dit bestand). */
.hl .kind-mark { display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)); }
.hl .kind-mark svg { width: 100%; height: 100%; overflow: visible; }
.hl .kind-mark .km-bg { fill: var(--illu-bg, #1b2b3b); opacity: 0.94; }
.hl .kind-mark .km-grid { fill: var(--illu-fg, #fff); opacity: 0.4; }
.hl .kind-mark .km-hole { fill: var(--illu-bg, #1b2b3b); }
.hl .kind-mark .km-icon { fill: none; stroke: var(--illu-fg, #fff); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hl .kind-mark .km-ring { fill: none; stroke: var(--illu-fg, #fff); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: km-ping 2.2s ease-out infinite; }
@keyframes km-ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }
.hl .s-illu { position: absolute; inset: 0; display: grid; place-items: center; background: var(--illu-bg, #20242b); }
.hl .s-illu svg { height: auto; overflow: visible; }
.hl .s-illu-grid { fill: var(--illu-fg, #fff); opacity: 0.22; }
.hl .s-illu-icon { fill: none; stroke: var(--illu-fg, #fff); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hl .s-illu.d-brandweer { --illu-bg: #3a1618; --illu-fg: #ff9a9f; } .hl .s-illu.d-ambulance { --illu-bg: #3a2c06; --illu-fg: #ffd25c; }
.hl .s-illu.d-politie { --illu-bg: #15214a; --illu-fg: #a9bcff; } .hl .s-illu.d-knrm { --illu-bg: #3b2410; --illu-fg: #ffb072; }
.hl .s-illu.d-overig { --illu-bg: #23272d; --illu-fg: #c4c9d0; }
@media (prefers-reduced-motion: reduce) { .hl .kind-mark .km-ring { animation: none; opacity: 0; } }

/* Banner bovenaan op mobiel (place-top-mobile, besluit eigenaar 6 okt 2026): direct onder het menu, 320×50 met het kleine
   label, ruimte vast gereserveerd (label + 50 px: geen verspringen, ook niet als de advertentie later komt). Alleen onder
   800 px breed; scrolt mee (Better Ads Standards: geen sticky advertentie en geen 300×250 bovenaan op mobiel). Op een
   scherm smaller dan 352 px valt hij buiten de kantlijn van 16 px, zodat de volle 320 px past. */
.ad-320x50 { width: 320px; height: 50px; }
.site-ad-top { display: none; }
@media (max-width: 799px) {
  .site-ad.site-ad-top { display: block; margin: 6px 0 0; }
}
@media (max-width: 351px) {
  .site-ad.site-ad-top { margin-left: -16px; margin-right: -16px; }
}
/* ---- KNMI-waarschuwingen en "waarom zo druk?" (7 okt 2026, public/weather-bar.js) ----
   Zelfde balk als in de app: blokje in de kleur van de code, gewone tekst, tikdoelen ≥ 44 px, weg te klikken. */
.knmi-bar { margin: 0 0 18px; }
.knmi-bar[hidden], .knmi-w[hidden] { display: none; }
.knmi-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.knmi-w { display: grid; grid-template-columns: auto minmax(0, 1fr) 44px; align-items: center; column-gap: 10px; min-height: 44px; padding-left: 14px; border-radius: var(--radius); background: var(--soft); }
.knmi-blk { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--knmi-c, var(--ambulance)); }
.knmi-geel { --knmi-c: var(--ambulance); }
.knmi-oranje { --knmi-c: var(--knrm); }
.knmi-rood { --knmi-c: var(--urgent); }
.knmi-link { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 8px 0; color: var(--text); text-decoration: none; font-size: 16px; line-height: 1.4; }
.knmi-link:hover .knmi-line { text-decoration: underline; }
.knmi-line b { font-weight: 800; }
.knmi-steps { font-size: 14px; color: var(--muted); }
.knmi-x { width: 44px; height: 44px; border: 0; padding: 0; background: none; color: var(--muted); font: inherit; font-size: 16px; cursor: pointer; border-radius: var(--radius); }
.knmi-x:hover { color: var(--text); }
.knmi-x:focus-visible, .knmi-link:focus-visible { outline: 2px solid var(--politie); outline-offset: 2px; }
.knmi-why p { margin: 0 0 8px; line-height: 1.5; }
.knmi-why .knmi-src { font-size: 14px; }

/* Uitlegpagina /uitleg/gebruik (duidelijkheid mobiel, 8 okt 2026): telefoonbeeld met genummerde oranje rondjes erop en
   dezelfde nummers in de lijst eronder. Beeld hooguit 340 px breed, zodat het op de computer niet de hele pagina vult. */
.prose .shot { margin: 8px 0 4px; display: grid; gap: 14px; justify-items: start; }
.prose .shot-frame { position: relative; width: min(340px, 100%); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(16, 21, 28, 0.12); background: var(--soft); }
.prose .shot-frame img { display: block; width: 100%; height: auto; }
.prose .shot-n { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--live); color: #1b1206; font: 800 16px/1 var(--display); box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0, 0, 0, 0.35); }
.prose .shot-vb { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.prose .shot-key { margin: 0; padding: 0; list-style: none; counter-reset: shot; display: grid; gap: 10px; max-width: 34em; }
.prose .shot-key li { counter-increment: shot; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; margin: 0; }
.prose .shot-key li::before { content: counter(shot); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--live); color: #1b1206; font: 800 16px/1 var(--display); }
@media (min-width: 760px) { .prose .shot { grid-template-columns: 340px 1fr; align-items: center; gap: 28px; } }
/* Bron als link in het verhaal op de serverpagina (8 okt 2026), zoals in de app. GRIP-uitleg als zacht vlak. */
.r-lead a, .r-text a { color: inherit; text-decoration: underline; text-decoration-color: var(--news); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.r-explain { margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.r-explain h2 { margin: 0 0 6px; font-size: 17px; }

/* Bovenbalk en menu (13 okt 2026, eigenaar): rechts Tip de redactie, taal ("EN") en weergave (alleen icoon); in het menu
   de kolommen inklapbaar en taal + weergave naast elkaar. Telefoon: Tip en weergave alleen in het menu. */
.site-tools { display: flex; align-items: center; gap: 2px; }
.lang-link .lang-short { display: none; }
.tool-tip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--text); text-decoration: none; white-space: nowrap; }
.tool-tip:hover { background: var(--soft); }
.tool-theme { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.tool-theme svg { width: 18px; height: 18px; }
.tool-theme:hover { background: var(--soft); color: var(--text); }
.tool-theme:focus-visible, .tool-tip:focus-visible { outline: 2px solid var(--politie); outline-offset: 2px; }
@media (min-width: 641px) {
  .site-tools .lang-link { padding: 0 10px; color: var(--muted); }
  .site-tools .lang-long { display: none; }
  .site-tools .lang-short { display: inline; font-weight: 700; }
}
@media (max-width: 640px) {
  .site-tools { margin-left: auto; }
  .tool-tip, .tool-theme { display: none; }
  .site-tools + .menu-btn { margin-left: 0; }
}
.sm-folds { margin-top: 8px; border-top: 1px solid var(--line); }
.sm-fold { border-bottom: 1px solid var(--line); }
.sm-fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 700; font-size: 15px; cursor: pointer; }
.sm-fold > summary::-webkit-details-marker { display: none; }
.sm-fold > summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); margin-right: 6px; transition: transform .15s; }
.sm-fold[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.sm-fold > summary:focus-visible { outline: 2px solid var(--politie); outline-offset: 2px; border-radius: 6px; }
.sm-fold ul { padding: 0 0 8px 10px; }
.sm-fold li a { font-size: 15px; }
.sm-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 12px; }
.sm-row .sm-theme { margin-top: 0; width: 100%; }
.sm-row .lang-link { margin-left: 0; border-radius: 10px; background: var(--soft); color: var(--text); }

/* Overzicht als donkerblauwe knop in de balk (13 okt 2026, keuze eigenaar), zoals op de kaart; zonder teller. */
.site-nav a.site-feed { gap: 6px; background: var(--brand); color: #fff; font-weight: 700; }
.site-nav a.site-feed:hover { background: var(--brand); color: #fff; filter: brightness(1.12); }
.site-nav a.site-feed svg { width: 16px; height: 16px; }

/* Blok "Overlast gemeld bij de politie" op de plaatspagina (canvas BC-40, 22 okt 2026); kleuren als de kaartlaag. */
.ovl { --ovl-veel-meer: #6b3fa0; --ovl-meer: #a786cf; --ovl-gelijk: #a3abb5; --ovl-minder: #7fc7bb; --ovl-veel-minder: #1f8a7a; }
.ovl-sub { margin: -4px 0 10px; }
.ovl-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 420px; margin: 0 0 8px; }
.ovl-nums b { display: block; font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.ovl-nums span { color: var(--muted); font-size: 14px; }
.ovl-tr { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 12px; }
.ovl-sw { flex: none; width: 14px; height: 14px; border-radius: 3px; background: var(--ovl-gelijk); }
.ovl-veel-meer { background: var(--ovl-veel-meer); } .ovl-meer { background: var(--ovl-meer); } .ovl-minder { background: var(--ovl-minder); } .ovl-veel-minder { background: var(--ovl-veel-minder); }
.ovl-table th[scope="row"] { font-weight: 600; text-align: left; }
.ovl-note { font-size: 13.5px; }
/* Overlast | Misdrijven op de plaatspagina (6 nov 2026): tabbladen zoals bij de drukte (keuzerondjes, zonder JavaScript). */
.pol-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.pol-p { display: none; }
.pol:not(:has(.dr-r)) .pol-p, .pol:has(#pol-ovl:checked) .pol-p-ovl, .pol:has(#pol-mis:checked) .pol-p-mis { display: block; }
.ovl-weinig { font-weight: 600; color: var(--muted); }
.pol-gem { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }

/* "Wanneer is het druk in {plaats}?" (ontwerp 5 nov 2026): raster 7 × 6, één kleur (merkblauw) in vier sterktes, geen
   rood of paars (geen alarmkleur, en paars is van de overlast). Tabbladen zonder JavaScript met keuzerondjes. */
.dr-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dr-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.dr-r { position: absolute; opacity: 0; pointer-events: none; }
.dr-tab { font-weight: 700; font-size: 14px; padding: 7px 13px; min-height: 36px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--panel); color: var(--text); }
.dr-r:checked + .dr-tab { background: var(--btn); color: var(--on-btn); border-color: var(--btn); }
.dr-r:focus-visible + .dr-tab { outline: 2px solid var(--live); outline-offset: 2px; }
.dr-p { display: none; }
.dr:not(:has(.dr-r)) .dr-p-alle, .dr:has(#dr-alle:checked) .dr-p-alle, .dr:has(#dr-brandweer:checked) .dr-p-brandweer,
.dr:has(#dr-ambulance:checked) .dr-p-ambulance, .dr:has(#dr-politie:checked) .dr-p-politie { display: block; }
.dr-zin { margin: 0 0 10px; max-width: 60ch; }
.dr-wrap { overflow-x: auto; }
.dr-grid { border-collapse: separate; border-spacing: 3px; width: 100%; max-width: 520px; table-layout: fixed; }
.dr-grid th { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; padding: 0 0 2px; font-variant-numeric: tabular-nums; }
.dr-grid tbody th { text-align: left; width: 34px; padding: 0 4px 0 0; text-transform: lowercase; }
.dr-c { height: 30px; border-radius: 5px; background: var(--soft); }
.dr-n1 { background: color-mix(in srgb, var(--ink) 16%, var(--soft)); }
.dr-n2 { background: color-mix(in srgb, var(--ink) 36%, var(--soft)); }
.dr-n3 { background: color-mix(in srgb, var(--ink) 60%, var(--soft)); }
.dr-n4 { background: var(--ink); }
.dr-schaal { display: flex; align-items: center; gap: 4px; margin: 10px 0 6px; font-size: 13px; color: var(--muted); }
.dr-schaal i { width: 22px; height: 14px; border-radius: 3px; }
.dr-schaal span:first-child { margin-right: 4px; } .dr-schaal span:last-child { margin-left: 4px; }
.dr-note { font-size: 13px; max-width: 62ch; }

/* -- Oud en nieuw (11 nov 2026, plan oud en nieuw; borden PL-01 en ID-01): eigen pagina's en het blokje op de
   plaatspagina's. Zelfde beeldtaal: kopjes met stipje, dienstblokjes uit het logo, geen kaders met randje. -- */
.oen-kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--muted); }
.oen-ic { width: 18px; height: 18px; flex: none; }
.oen-blok { padding: 14px 16px 4px; border-radius: var(--radius); background: var(--soft); }
.oen-blok .sh { margin-bottom: 6px; }
.oen-intro { font-size: 18px; line-height: 1.5; }
.oen-vanavond { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 700; }
.oen-doe { margin: 0; padding-left: 20px; line-height: 1.6; }
.oen-uren { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; margin: 14px 0 6px; padding: 0; }
.oen-uur { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.oen-blokken { display: flex; flex-wrap: wrap-reverse; justify-content: center; align-content: flex-start; gap: 2px; width: 100%; min-height: 8px; }
.oen-blokken .blk { width: 8px; height: 8px; border-radius: 2px; }
.oen-uur.open .oen-blokken::before { content: ""; width: 8px; height: 8px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--line); }
.oen-u { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.oen-legenda .blk { display: inline-block; vertical-align: -1px; margin: 0 2px; }
.oen-lijn { margin: 12px 0 0; }
.oen-lijn svg { display: block; width: 100%; max-width: 520px; height: auto; }
.oen-lijn path { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.oen-lijn .nu { stroke: var(--live); }
.oen-lijn .vorig { stroke: var(--muted); stroke-dasharray: 4 3; }
.oen-lijn .as { stroke: var(--line); }
.oen-lijn text { font-size: 10px; fill: var(--muted); font-family: var(--font); }
.oen-lijn figcaption { margin-top: 4px; font-size: 14px; }
