/* bronnen.css — de pagina /bronnen (server/bronnen-view.js). Bouwt op src/styles.css; zelfde
   kleuren en vormen als de andere burgerpagina's (geldzaken.css), met een eigen voorvoegsel. */
.bn { margin: 0; color: #182840; background: #fafbfc; font-family: Inter, system-ui, sans-serif; line-height: 1.65; overflow: auto; }
.bn a { color: #154273; }
.bn a:focus-visible { outline: 3px solid #cc8b00; outline-offset: 3px; }
.bn-skip { position: absolute; left: -9999px; }
.bn-skip:focus { left: 20px; top: 10px; background: white; z-index: 10; padding: 10px; }
.bn-verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bn-top { background: white; border-bottom: 1px solid #e0e5ec; padding: 20px max(24px, calc((100vw - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bn-merk { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; text-decoration: none; font-size: 19px; }
.bn-top nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.bn-top nav a { text-decoration: none; font-weight: 600; }

.bn-main { max-width: 1120px; padding: 32px 24px 64px; margin: auto; }
.bn-hero { max-width: 820px; padding: 24px 0 8px; }
.bn-hero > p { font-size: 19px; }
.bn-meta { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #154273; margin: 0 0 8px; }
.bn h1 { margin: 0 0 16px; color: #14264f; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.025em; line-height: 1.18; text-wrap: balance; }
.bn h2 { font-size: 24px; line-height: 1.35; margin: 0 0 12px; color: #14264f; }
.bn h3 { font-size: 18px; line-height: 1.4; margin: 0 0 8px; color: #14264f; }

.bn-sectie { margin: 48px 0; }
.bn-intro { max-width: 760px; color: #33415e; margin: 0 0 22px; }

.bn-cijfers { list-style: none; padding: 0; margin: 24px 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.bn-cijfer { background: white; border: 1px solid #dce3ec; border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.bn-cijfer-getal { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #14264f; line-height: 1.1; }
.bn-cijfer-label { font-size: 13.5px; color: #465570; line-height: 1.45; }

.bn-taken { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bn-taak { background: white; border: 1px solid #dce3ec; border-radius: 10px; padding: 22px; display: flex; flex-direction: column; }
.bn-taak p { margin: 0 0 12px; font-size: 14.5px; }
.bn-taak-kop { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.bn-taak-kop h3 { margin: 0; }
.bn-frequentie { flex: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #154273; background: #edf3fa; border-radius: 999px; padding: 3px 10px; }
.bn-vraag { font-weight: 650; color: #14264f; }
.bn-bronnen-lijst span, .bn-uitkomst span { font-weight: 650; color: #465570; }
.bn-uitkomst { color: #33415e; }

.bn-status { margin: auto 0 0; padding-top: 12px; border-top: 1px solid #edf0f5; font-size: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.bn-taak .bn-status { margin-top: auto; }
.bn-punt { width: 10px; height: 10px; border-radius: 50%; flex: none; align-self: center; background: #8a96a8; }
.bn-status--ok .bn-punt { background: #1b7a43; }
.bn-status--let-op .bn-punt { background: #c27a00; }
.bn-status--fout .bn-punt { background: #b3261e; }
.bn-status--ok strong { color: #1b6b3a; }
.bn-status--let-op strong { color: #8a5a00; }
.bn-status--fout strong { color: #a3261c; }
.bn-status-tijd { color: #56647b; font-size: 13px; }
.bn-status-uitleg { margin: 8px 0 0 !important; font-size: 13px !important; color: #56647b; }
.bn-signalen { margin: 22px 0 0; color: #33415e; }

.bn-uitleg { background: #edf3fa; padding: 28px; border-radius: 10px; }
.bn-stappen { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: stap; }
.bn-stappen li { counter-increment: stap; background: white; border: 1px solid #dce3ec; border-radius: 10px; padding: 18px; position: relative; }
.bn-stappen li::before { content: counter(stap); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #154273; color: white; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.bn-stappen p { margin: 0; font-size: 14.5px; color: #33415e; }
.bn-uitleg .bn-intro { margin-bottom: 0; }

.bn-groep { margin: 30px 0 10px; }
.bn-tabelwand { overflow-x: auto; }
.bn-tabel { width: 100%; border-collapse: collapse; background: white; border: 1px solid #dce3ec; border-radius: 10px; font-size: 14.5px; }
.bn-tabel th, .bn-tabel td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid #edf0f5; }
.bn-tabel thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #465570; background: #f4f6f9; }
.bn-tabel tbody th { font-weight: 650; }
.bn-tabel tbody tr:last-child > * { border-bottom: 0; }
.bn-tabel .bn-getal { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bn-tabel--smal { max-width: 520px; }
.bn-beheerder { display: block; font-weight: 400; font-size: 12.5px; color: #56647b; margin-top: 2px; }
.bn-chip { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-right: 4px; }
.bn-chip--aan { background: #e3f3e9; color: #1b6b3a; }
.bn-chip--uit { background: #f0f2f6; color: #465570; }

.bn-lijst { margin: 0; padding-left: 22px; max-width: 820px; }
.bn-lijst li { margin: 0 0 10px; }

.bn-footer { max-width: 1120px; margin: auto; padding: 28px 24px; border-top: 1px solid #dce3ec; font-size: 13px; color: #56647b; }
.bn-footer p { margin: 0 0 8px; }

@media (max-width: 960px) {
  .bn-taken { grid-template-columns: 1fr; }
  .bn-stappen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .bn-main { padding: 24px 18px 40px; }
  .bn-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bn-stappen { grid-template-columns: 1fr; }
  .bn-uitleg { padding: 20px; }
  /* tabellen worden kaarten: elke cel krijgt zijn kop ervoor */
  .bn-tabel, .bn-tabel tbody, .bn-tabel tr, .bn-tabel th, .bn-tabel td { display: block; width: 100%; box-sizing: border-box; }
  .bn-tabel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bn-tabel tbody tr { border-bottom: 1px solid #dce3ec; padding: 6px 0; }
  .bn-tabel tbody tr:last-child { border-bottom: 0; }
  .bn-tabel th, .bn-tabel td { border-bottom: 0; padding: 6px 16px; text-align: left; }
  .bn-tabel td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: #56647b; }
  .bn-tabel .bn-getal { text-align: left; }
}
