/* The Folderdesk in the werkplek's look, as the Reel-studio (modules/reel-studio/web/studio.css, itself from de-gids-cms
   WerkplekClient.tsx WERKPLEK_STIJL): the dark bar with pills, a light ground with white cards, the indigo of De Gids.
   The same tokens, light and dark. No inline styles anywhere: the page's CSP allows only this file. */
@font-face { font-family: "Hanken Grotesk"; src: url("/hanken-grotesk.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --grond: #F8F8F8; --vlak: #FFFFFF; --lijn: #DCD3D4; --tekst: #141414; --tekst-2: #404854; --zacht: #5B6472;
  --accent: #4B3EFF; --accent-hover: #1000F5; --accent-zacht: #E9E7FF; --geel: #FFF7C2; --geel-tekst: #7A5E00;
  --goed: #1D7A46; --mis: #C2261C; --balk: #131922;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grond: #141414; --vlak: #1F1F1F; --lijn: #434343; --tekst: #F2F2F2; --tekst-2: #DADADA; --zacht: #B5B5B5;
    --accent: #B3AEFF; --accent-hover: #CFCBFF; --accent-zacht: #2A2560; --geel: #3A3417; --geel-tekst: #F2DC5C;
    --goed: #7BD3A0; --mis: #FF8A80;
  }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Hanken Grotesk", Helvetica, Arial, sans-serif; color: var(--tekst); background: var(--grond); font-size: 15px; line-height: 1.5; }
a { color: var(--accent); }
.zacht { color: var(--zacht); }
.klein { font-size: 13px; }

/* the bar */
.balk { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 20px; background: var(--balk); color: #fff; }
.balk a { color: #fff; text-decoration: none; }
.merk { font-size: 18px; font-weight: 700; }
.merk span { font-weight: 400; color: #C8D2E0; }
.tabs { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
.tab { display: inline-flex; align-items: center; flex: none; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border: 1px solid #404854; border-radius: 18px; color: #C8D2E0 !important; white-space: nowrap; }
.tab:hover { background: #262F3D; color: #fff !important; }
.tab.nu { background: #4B3EFF; border-color: #4B3EFF; color: #fff !important; }
.vul { flex: 1 1 auto; }
.ik { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #C8D2E0; }
.ik a { font-weight: 600; }
.balkknop { min-height: 32px; padding: 0 10px; border: 1px solid #404854; background: transparent; color: #DFE9F7; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.balkknop:hover { border-color: #DFE9F7; }
.tab:focus-visible, .knop:focus-visible, .filter:focus-visible, .balkknop:focus-visible { outline: 2px solid #4B3EFF; outline-offset: 2px; }

/* the page */
main { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 72px; display: flex; flex-direction: column; gap: 16px; }
main.los { width: min(560px, calc(100% - 32px)); margin-top: 80px; background: var(--vlak); padding: 32px; border: 1px solid var(--lijn); border-radius: 7px; }
h1 { font-size: clamp(28px, 4vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h2 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.meta { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--zacht); margin: 0; }
.inleiding { font-size: 15px; line-height: 1.5; color: var(--tekst-2); margin: 0; max-width: 760px; }
.bijschrift { font-size: 13px; color: var(--zacht); margin: 0; }
.stapel { display: flex; flex-direction: column; gap: 22px; }
.kaart { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 7px; padding: 14px 16px; min-width: 0; }

/* the chain */
.keten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.stap { display: flex; flex-direction: column; gap: 6px; }
.stap-kop { display: flex; align-items: center; gap: 8px; }
.stap-kop strong { font-size: 14px; flex: 1; }
.nummer { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 11.5px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.stap-wat { font-size: 12.5px; color: var(--zacht); margin: 0; min-height: 34px; line-height: 1.4; }
.stap-cijfer { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; margin: 4px 0 0; display: flex; align-items: center; gap: 7px; }
.wie { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; background: var(--grond); border: 1px solid var(--lijn); color: var(--tekst-2); }
.wie.ai { background: var(--accent-zacht); border-color: transparent; color: var(--accent); }
.stip { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; }
.stip.goed { background: var(--goed); }
.stip.slecht { background: var(--mis); }
.hefbomen { background: var(--vlak); border: 1px solid var(--lijn); border-left: 4px solid var(--accent); border-radius: 7px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.hefbomen ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--tekst-2); }
.twee { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }

/* tables */
.scroll { overflow-x: auto; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 7px; }
.tabel { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tabel.breed { min-width: 780px; }
.tabel th { text-align: left; padding: 9px 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--zacht); border-bottom: 1px solid var(--lijn); white-space: nowrap; }
.tabel td { padding: 9px 12px; border-bottom: 1px solid var(--lijn); vertical-align: top; }
.tabel tbody tr:last-child td { border-bottom: 0; }
.tabel tbody tr:hover td { background: var(--grond); }
.kaart .tabel td, .kaart .tabel th { padding-left: 0; }
.tabel .getal { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabel .geenbreuk { white-space: nowrap; }
.staaf { display: inline-block; height: 6px; border-radius: 3px; background: var(--accent); opacity: 0.55; margin-right: 8px; vertical-align: middle; }
.rood { color: var(--mis); }
.verschil { font-weight: 800; color: var(--accent); }
.punt { display: inline-block; margin-right: 12px; white-space: nowrap; }
.lijn path { stroke: var(--accent); fill: none; stroke-width: 1.8; }

/* inputs and buttons */
.rij { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.invoer { min-height: 40px; min-width: min(320px, 100%); padding: 0 12px; border: 1px solid var(--lijn); border-radius: 5px; background: var(--vlak); color: var(--tekst); font: inherit; font-size: 15px; }
.invoer:focus { outline: none; border-color: var(--accent); }
.vink { font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.knop { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #4B3EFF; background: #4B3EFF; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 5px; text-decoration: none; }
.knop:hover { background: #1000F5; }
.filter { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--lijn); border-radius: 16px; background: var(--vlak); color: inherit; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.filter:hover { border-color: var(--accent); }
.filter.nu { background: #4B3EFF; border-color: #4B3EFF; color: #fff; }
.melding { margin: 0; padding: 10px 14px; border-radius: 7px; background: var(--geel); color: var(--geel-tekst); font-size: 14px; }
.fout { margin: 0; color: var(--mis); }
@media (max-width: 560px) { main { padding-top: 20px; } .twee { grid-template-columns: 1fr; } }
