/* Opzet: radar links, gekozen procedure rechts, daaronder lijsten, bevingen, uitleg en bronnen. */
:root {
  color-scheme: dark;
  --ground: #0E1519;
  --surface: #141F25;
  --line: #22333C;
  --ring-line: #2C404A;
  --text: #E7EEEA;
  --soft: #C9D6D8;
  --muted: #9FB2B8;
  --accent: #F2B24C;
  --accent-ink: #1A1408;
  --quiet: #2A3D47;
  --quiet-line: #5F7B88;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ground); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}
a { color: var(--accent); }
a:hover { color: #F7CB82; }
button { font-family: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h2, h3 { text-wrap: balance; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 32px 20px 48px; display: flex; flex-direction: column; gap: 40px; }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

header.top { display: flex; flex-direction: column; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.top-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.top-row .label { font-size: 12px; }
h1 { margin: 8px 0 0; font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
h1 em { font-style: italic; }
.stand { font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.stand strong { color: var(--text); font-weight: 400; }
.sitenav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.sitenav a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.sitenav a:hover { color: var(--text); }

.board { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "radar detail" "agenda detail"; gap: 24px 32px; align-items: start; }
.radar-col { grid-area: radar; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
#detail { grid-area: detail; min-width: 0; }
.agenda-card { grid-area: agenda; min-width: 0; }

.radar { position: relative; width: 100%; max-width: 680px; aspect-ratio: 1; margin: 0 auto; }
.ring { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--ring-line); }
.ring.r4 { width: 96%; background: #111B20; }
.ring.r3 { width: 73.92%; background: #15222A; }
.ring.r2 { width: 51.84%; background: #1A2A33; }
.ring.r1 { width: 28.8%; background: #20343F; border-color: #3A525E; }
.axis-h { position: absolute; left: 2%; right: 2%; top: 50%; height: 1px; background: var(--ring-line); }
.axis-v { position: absolute; top: 2%; bottom: 2%; left: 50%; width: 1px; background: var(--ring-line); }
.ring-name { position: absolute; left: 50%; transform: translate(-50%, -50%); padding: 2px 8px; border-radius: 3px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.quad-name { position: absolute; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.blip { position: absolute; transform: translate(-50%, -50%); width: min(44px, 11%); aspect-ratio: 1; padding: 0; border-radius: 50%; border: 2px solid var(--quiet-line); background: var(--quiet); color: var(--text); font-family: var(--mono); font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; outline: 2px solid transparent; outline-offset: 3px; }
.blip.recent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.blip.verlopen { background: var(--ground); border: 2px dashed var(--quiet-line); color: var(--muted); }
.blip.on { outline-color: var(--text); }

.legend { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.legend .row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legend .key { display: flex; align-items: center; gap: 8px; }
.legend .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--quiet); border: 2px solid var(--quiet-line); }
.legend .dot.recent { background: var(--accent); border-color: var(--accent); }
.legend .dot.verlopen { background: var(--ground); border-style: dashed; }
.legend b { color: var(--text); font-weight: 600; }
.only-small { display: none; }

.card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.card h2 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 600; }
.card h2.small { font-size: 16px; }
.card p { margin: 0; color: var(--soft); }
.block { display: flex; flex-direction: column; gap: 6px; }
.last { font-size: 13px; font-weight: 500; color: var(--muted); }
.last.recent { color: var(--accent); }
.next { font-weight: 500; }
.stations { list-style: none; margin: 0 0 0 6px; padding: 0; border-left: 1px solid #3A525E; }
.stations li { display: flex; align-items: center; gap: 12px; padding: 6px 0; color: var(--muted); }
.stations .pin { flex: none; width: 13px; height: 13px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--quiet-line); background: var(--surface); }
.stations li.done .pin { background: var(--quiet-line); }
.stations li.cur { color: var(--text); font-weight: 600; }
.stations li.cur .pin { background: var(--accent); border-color: var(--accent); }
.stations .tag { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.timeline .when { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.timeline .what { color: var(--soft); }
.timeline .src { grid-column: 2; font-size: 13px; }
.timeline li.future .when { color: var(--accent); }
.timeline li.future .what { color: var(--text); }

.sources { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sources a { font-size: 14px; display: inline-flex; align-items: center; min-height: 32px; }

.rowbtn { display: flex; align-items: baseline; gap: 10px; width: 100%; min-height: 44px; padding: 10px 8px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); font-size: 15px; text-align: left; cursor: pointer; }
.rowbtn:hover { background: #18252C; }
.rowbtn.on { background: #1C2B33; }
.rowbtn.past .name, .rowbtn.past .when { color: var(--muted); }
.rowbtn .num { flex: none; width: 22px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.rowbtn .when { flex: none; width: 96px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.rowbtn .name { flex: 1; min-width: 0; }
.rowbtn .ringname { flex: none; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.rowbtn .ringname.recent { color: var(--accent); }

.section { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.section h2 { margin: 0; font-size: 22px; font-weight: 600; }
.section .intro { margin: 0; color: var(--soft); max-width: 68ch; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.seg button { min-height: 40px; padding: 8px 16px; border: 0; background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: #1C2B33; color: var(--text); }

.changes { gap: 8px; }
.changes .intro-small { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.changes .rowbtn .name { color: var(--soft); }
.changes .rowbtn .num { color: var(--accent); }
.bg { border: 1px solid var(--line); border-radius: 6px; background: #17242B; }
.bg summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; font-weight: 600; color: var(--accent); }
.bg summary::-webkit-details-marker { display: none; }
.bg summary::before { content: '+'; font-family: var(--mono); width: 14px; color: var(--accent); }
.bg[open] summary::before { content: '\2212'; }
.bg .bg-body { display: flex; flex-direction: column; gap: 14px; padding: 4px 14px 16px; }
.bg .bg-intro { color: var(--text); }
.bg h3 { margin: 0 0 2px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.bg p { margin: 0; color: var(--soft); }
.bg .bg-src { font-size: 13px; }
.bg ul { margin: 0; padding-left: 18px; color: var(--soft); }
.bg li { padding: 2px 0; }
.notice { padding: 12px 16px; border: 1px dashed var(--quiet-line); border-radius: 6px; color: var(--soft); font-size: 14px; max-width: 80ch; }

.lists { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: flex-start; }
.lists section { flex: 1 1 250px; min-width: 0; display: flex; flex-direction: column; }
.lists h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.quakes { display: flex; flex-direction: column; max-width: 560px; }
.quakes .q { display: grid; grid-template-columns: 124px minmax(0, 1fr) 56px; gap: 12px; padding: 10px 8px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.quakes .q span:first-child { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.quakes .q span:last-child { text-align: right; font-family: var(--mono); }

.explain { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px 32px; align-items: start; }
.explain article { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.explain h3 { margin: 0; font-size: 17px; font-weight: 600; }
.explain p { margin: 0; color: var(--soft); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: stap; display: flex; flex-direction: column; }
.steps li { counter-increment: stap; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--soft); }
.steps li::before { content: counter(stap); font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 3px; }
.steps li.react { color: var(--text); }
.steps li.react::before { color: var(--accent); }
.note { font-size: 13px; color: var(--muted); max-width: 68ch; margin: 0; }

.srcgroup { display: flex; flex-direction: column; gap: 4px; }
.srcgroup h3 { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.srcrow { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr) minmax(120px, 0.8fr); gap: 4px 24px; padding: 12px 8px; border-top: 1px solid var(--line); }
.srcrow a { font-weight: 500; }
.srcrow .desc { color: var(--soft); }
.srcrow .form { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }

footer { padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); max-width: 70ch; }
footer p { margin: 0 0 8px; }

@media (max-width: 900px) {
  .board { grid-template-columns: minmax(0, 1fr); grid-template-areas: "radar" "detail" "agenda"; }
  .srcrow { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  h1 { font-size: 34px; }
  .card { padding: 20px 16px; }
  .wrap { padding: 24px 16px 40px; gap: 32px; }
  .blip { font-size: 12px; }
  .ring-name { display: none; }
  .only-small { display: block; }
  .timeline li { grid-template-columns: minmax(0, 1fr); }
  .timeline .src { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .blip, .rowbtn { transition: background-color 120ms ease, outline-color 120ms ease; }
}

/* Toevoegingen: bronlabels, reageerblok, logboek, archief, Over-pagina */
.srctag { display: inline-block; margin-left: 8px; padding: 1px 6px; border: 1px solid var(--quiet-line); border-radius: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; vertical-align: middle; }
.srctag.o { border-color: #6FA98C; color: #A9D6BF; }
.srctag.m { border-color: #A8875A; color: #E0C08A; }
.sources li { display: flex; flex-wrap: wrap; align-items: center; }
.reageer { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--accent); border-radius: 6px; background: #1D2A2C; }
.reageer h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--accent); }
.reageer p { margin: 0; color: var(--soft); }
.reageer dl { margin: 0; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 6px 12px; }
.reageer dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.reageer dd { margin: 0; color: var(--text); }
.reageer .small { font-size: 13px; color: var(--muted); }
.logdate { margin: 8px 0 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.archive .a { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 2px 12px; padding: 10px 8px; border-top: 1px solid var(--line); }
.archive .a .when { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.footlinks { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; }
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 36px; }
.prose section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 16px; }
.prose h2 { margin: 0; font-size: 22px; font-weight: 600; }
.prose p { margin: 0; color: var(--soft); }
.prose ul { margin: 0; padding-left: 20px; color: var(--soft); display: flex; flex-direction: column; gap: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .lead { font-size: 18px; color: var(--text); }
.back { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 560px) {
  .reageer dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .reageer dd { margin-bottom: 6px; }
  .archive .a { grid-template-columns: minmax(0, 1fr); }
}
