/* Localink tools: gezamenlijke opmaak. Bronnen voor de huisstijl: huisstijl/HUISSTIJL.md.
   Tools gebruiken deze klassen en variabelen; zie /stijl voor alle bouwstenen. */

:root {
  --geel: #F9D034;
  --geel-accent: #FBBC34;
  --zwart: #080808;
  --kop: #000;
  --tekst: #2B2B2B;
  --tekst-zacht: #666666;      /* 5:1 op wit en op #F2F2F2 */
  --achtergrond: #F2F2F2;
  --vlak: #fff;
  --lijn: #E7E7E7;
  --lijn-veld: #8A8A8A;        /* rand van invoervelden: 3:1 tegen wit */
  --radius: 5px;
  --gelukt: #1B6137;  --gelukt-bg: #E8F5EC;
  --waarschuwing: #6B4A00;  --waarschuwing-bg: #FFF4CC;
  --fout: #A31F1F;  --fout-bg: #FDECEC;
  --info: #1F4E79;  --info-bg: #E8F1FA;
  --font: "Poppins", Arial, Helvetica, sans-serif;
  --breedte: 1240px;
  --rand: 24px;
  --balk-hoogte: 61px;         /* menubalk bovenin (inclusief de lijn eronder); plakkende onderdelen houden hier ruimte voor vrij */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--balk-hoogte) + 12px); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 15px; line-height: 1.65;
  color: var(--tekst); background: var(--achtergrond);
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.3; color: var(--kop); margin: 0 0 .5em; }
h1 { font-size: 28px; } h2 { font-size: 20px; } h3 { font-size: 17px; }
p { margin: 0 0 1em; }
a { color: var(--zwart); text-decoration: underline; text-decoration-color: var(--geel); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { background: var(--geel); text-decoration-color: var(--zwart); }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: #fff; border: 1px solid var(--lijn); border-radius: 3px; padding: 0 5px; }
:focus-visible { outline: 3px solid var(--zwart); outline-offset: 2px; }
.alleen-lezer { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sla-over { position: absolute; left: 8px; top: -60px; background: var(--geel); color: #000; padding: 10px 16px; border-radius: var(--radius); z-index: 100; font-weight: 600; text-decoration: none; }
.sla-over:focus { top: 8px; }

.container { width: 100%; max-width: calc(var(--breedte) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.hoofd { flex: 1; padding-top: 32px; padding-bottom: 64px; }
.hoofd:focus { outline: none; }
.hoofd > .melding + section, .hoofd > .melding + .tweekolom { margin-top: 28px; }
.hoofd > section { margin-bottom: 40px; }
.bijschrift, .veld__hulp { font-size: 13px; color: var(--tekst-zacht); line-height: 1.5; }
.sectietitel { font-size: 18px; padding-bottom: 10px; margin-bottom: 16px; position: relative; }
.sectietitel::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 4px; background: var(--geel); border-radius: 2px; }

/* ---------- Menu bovenin: witte balk met logo, Start en het naammenu ---------- */
.platform { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.platform__inhoud { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.merknaam { font-weight: 600; font-size: 15px; letter-spacing: .04em; line-height: 1.2; color: #fff; padding-left: 12px; border-left: 1px solid #666; }

/* Uitgelogd (inlogpagina): de oude zwarte balk met alleen het logo */
.bovenbalk { background: var(--zwart); color: #fff; display: none; }
.bovenbalk--los { display: flex; padding: 12px var(--rand); }
.bovenbalk__merk { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.bovenbalk__merk img { display: block; height: 36px; width: auto; }
.bovenbalk a:hover { background: none; }

/* Gezamenlijk: het logo, het naammenu en het uitklapvak */
/* Dekkend wit (met vaste terugval, ook als een variabele ontbreekt) en boven alle plakkende onderdelen van de pagina (lijsten: z-index 5 en 6, mobiele actiebalk 30). */
.topbalk { position: sticky; top: 0; z-index: 50; background: #fff; background-color: var(--m-bg, #fff); color: var(--m-tekst, #080808); }
.topbalk__in { display: flex; align-items: center; gap: 0; min-height: calc(var(--balk-hoogte) - 1px); }
/* Logoblok: logo en het label "tools" horen bij elkaar en zijn samen de link naar Start; een dunne lijn scheidt het van het menu */
.topbalk__merk { display: flex; align-items: center; gap: 8px; margin-right: 22px; text-decoration: none; color: var(--m-tekst); flex: none; }
.topbalk__merk img { display: block; height: 34px; width: auto; }
.topbalk a:hover { background: none; }
.topbalk :focus-visible { outline: 3px solid var(--m-focus); outline-offset: 2px; }
.topbalk .merknaam { border-left: 0; padding: 2px 9px; font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: 1.5; color: #000; background: var(--geel); border-radius: var(--radius); }

.topbalk__nav { display: flex; align-items: stretch; align-self: stretch; flex: 1; min-width: 0; }
.topbalk__nav::before { content: ""; align-self: center; flex: none; width: 1px; height: 30px; margin-right: 12px; background: #d6d6d6; }
.topbalk__nav ul { list-style: none; margin: 0; padding: 0; height: 100%; flex: 1; min-width: 0; display: flex; align-items: stretch; }
.topbalk__nav li { display: flex; align-items: stretch; }
.topbalk__nav a {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 15px; font-weight: 500;
  color: var(--m-tekst); text-decoration: none; white-space: nowrap;
}
.topbalk__nav a:hover { color: var(--m-hover-tekst); }
.topbalk__nav a.is-actief { font-weight: 600; color: var(--m-actief-tekst); }
.topbalk__nav a.is-actief::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 4px; background: var(--geel); border-radius: 3px 3px 0 0; }
.topbalk__nav .icoon { width: 20px; height: 20px; }
.icoon--klein { width: 16px; height: 16px; }

.gebruikersmenu { position: relative; margin-left: auto; flex: none; }
.gebruikersmenu > summary { list-style: none; }
.gebruikersmenu > summary::-webkit-details-marker { display: none; }
.gebruikersmenu__knop {
  display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 6px 12px 6px 14px; font: inherit; font-size: 15px; font-weight: 600;
  line-height: 1.3; color: var(--knop-tekst); background: var(--knop-bg); border: 1px solid var(--knop-rand); border-radius: var(--radius); cursor: pointer;
}
.gebruikersmenu__knop:hover, .gebruikersmenu[open] .gebruikersmenu__knop { background: var(--knop-hover); color: var(--knop-hover-tekst, var(--knop-tekst)); }
.gebruikersmenu__knop .icoon { width: 20px; height: 20px; }
.gebruikersmenu__naam { min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gebruikersmenu__knop .icoon:last-child { width: 16px; height: 16px; transition: transform .15s; transform: rotate(180deg); }
.gebruikersmenu[open] .gebruikersmenu__knop .icoon:last-child { transform: none; }
.gebruikersmenu__knop.is-actief { box-shadow: inset 0 -3px 0 var(--geel); }

.gebruikersmenu__paneel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 280px; max-width: calc(100vw - 2 * var(--rand)); padding: 6px;
  background: var(--pop-bg); color: var(--pop-tekst); border: 1px solid var(--pop-rand); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}
.gebruikersmenu__wie { margin: 0; padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 0; line-height: 1.4; border-bottom: 1px solid var(--pop-lijn); margin-bottom: 6px; }
.gebruikersmenu__wie strong { font-size: 15px; font-weight: 600; }
.gebruikersmenu__wie span { font-size: 13px; color: var(--pop-zacht); overflow-wrap: anywhere; }
.gebruikersmenu__lijst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.gebruikersmenu__lijst form { margin: 0; }
.gebruikersmenu__lijst a, .gebruikersmenu__uit {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: var(--radius); font: inherit; font-size: 15px; font-weight: 500;
  line-height: 1.3; color: var(--pop-tekst); text-decoration: none; background: none; border: 0; text-align: left; cursor: pointer;
}
.gebruikersmenu__lijst a:hover, .gebruikersmenu__uit:hover { background: var(--pop-hover); color: var(--pop-tekst); }
.gebruikersmenu__lijst .is-actief { background: var(--geel); color: #000; font-weight: 600; }
.gebruikersmenu__lijst li:last-child { border-top: 1px solid var(--pop-lijn); margin-top: 4px; padding-top: 4px; }

/* De balk zelf: wit, met een dunne lijn eronder en een gele streep onder het actieve onderdeel */
.topbalk {
  --m-bg: #fff; --m-tekst: var(--zwart); --m-zacht: #8a8a8a; --m-lijn-merk: #cfcfcf; --m-focus: var(--zwart);
  --m-hover-tekst: #000; --m-actief-tekst: #000;
  --knop-tekst: var(--zwart); --knop-bg: #fff; --knop-rand: #bdbdbd; --knop-hover: #F2F2F2;
  --pop-bg: #fff; --pop-tekst: var(--zwart); --pop-rand: #d9d9d9; --pop-lijn: #E7E7E7; --pop-zacht: #666; --pop-hover: #F2F2F2;
  border-bottom: 1px solid var(--lijn);
}
.topbalk .topbalk__nav a:not(.is-actief) { color: var(--tekst-zacht); }
.topbalk .topbalk__nav a:not(.is-actief):hover { color: #000; }
.topbalk .topbalk__nav a.is-actief::after { bottom: -1px; }
.topbalk .topbalk__terug { padding-right: 18px; }
.topbalk .topbalk__terug::after { content: ""; position: absolute; right: 0; top: 50%; height: 24px; margin-top: -12px; border-right: 1px solid var(--lijn); }

/* ---------- Paginakop (gele balk) ---------- */
.paginakop { background: var(--geel); color: #000; padding: 28px 0 24px; }
.paginakop h1 { margin: 0; }
.paginakop__intro { margin: 6px 0 0; font-size: 15px; color: #000; }
.kruimelpad { font-size: 13px; margin-bottom: 8px; }
.kruimelpad ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 8px; }
.kruimelpad li + li::before { content: "/"; margin-right: 8px; color: #000; opacity: .55; }
.kruimelpad a { color: #000; text-decoration-color: #000; text-decoration-thickness: 1px; }
.kruimelpad a:hover { background: #000; color: var(--geel); }

.voet { border-top: 1px solid var(--lijn); background: #fff; padding: 16px 0; font-size: 13px; color: var(--tekst-zacht); }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; padding: 10px 20px; cursor: pointer;
  color: #000; background: #fff; border: 1px solid #000; border-radius: var(--radius); text-decoration: none;
}
.knop:hover { background: #000; color: #fff; }
.knop .icoon { width: 18px; height: 18px; }
.knop--primair { background: var(--geel); border-color: var(--geel); }
.knop--primair:hover { background: #000; border-color: #000; color: #fff; }
.knop--gevaar { color: var(--fout); border-color: var(--fout); }
.knop--gevaar:hover { background: var(--fout); border-color: var(--fout); color: #fff; }
.knop--klein { min-height: 34px; padding: 5px 14px; font-size: 14px; }
.knop--blok { display: flex; width: 100%; }
.knop[disabled], .knop[aria-disabled="true"] { opacity: .5; cursor: not-allowed; background: #fff; color: #000; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.werkbalk { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.werkbalk p { margin: 0; }

/* ---------- Formulieren ---------- */
.veld { margin-bottom: 20px; }
.veld label:not(.keuze) { display: block; font-weight: 600; font-size: 14px; color: #000; margin-bottom: 6px; }
.invoer {
  display: block; width: 100%; min-height: 44px; font: inherit; font-size: 15px; color: var(--tekst);
  background: #fff; border: 1px solid var(--lijn-veld); border-radius: var(--radius); padding: 9px 12px;
}
textarea.invoer { min-height: 96px; resize: vertical; }
select.invoer { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23080808' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
.invoer:focus-visible { outline: 3px solid var(--zwart); outline-offset: 1px; border-color: var(--zwart); }
.veld__hulp { margin: 6px 0 0; }
.veld__fout { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--fout); }
.veld--fout .invoer { border: 2px solid var(--fout); background: var(--fout-bg); }
.keuze { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; min-height: 32px; }
.keuze input { width: 20px; height: 20px; accent-color: var(--zwart); margin: 0; }
.veldrij { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ---------- Kaarten en tegels ---------- */
.kaart { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 24px; }
.kaart--tabel { padding: 0; overflow: hidden; }
.kaart__titel { font-size: 17px; margin-bottom: 6px; }
.tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tegel {
  display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--vlak); color: var(--tekst);
  border: 1px solid var(--lijn); border-radius: var(--radius); text-decoration: none;
}
.tegel:hover { background: #fff; border-color: #000; }
.tegel__icoon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--geel); color: #000; border-radius: var(--radius); margin-bottom: 10px; }
.tegel__icoon .icoon { width: 26px; height: 26px; }
.tegel__naam { font-weight: 700; font-size: 18px; color: #000; line-height: 1.3; }
.tegel__uitleg { color: var(--tekst); flex: 1; }
.tegel__actie { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; color: #000; }
.tegel__actie .icoon { width: 18px; height: 18px; transition: transform .15s; }
.tegel:hover .tegel__actie .icoon { transform: translateX(4px); }
.tegel--binnenkort { background: transparent; border: 1px dashed #A5A5A5; cursor: default; }
.tegel--binnenkort:hover { border-color: #A5A5A5; background: transparent; }
.tegel--binnenkort .tegel__icoon { background: var(--lijn); color: #5a5a5a; }
.tegel--binnenkort .tegel__naam { color: #3d3d3d; }
.tegel--binnenkort .tegel__uitleg { color: var(--tekst-zacht); }

/* Laatst gedaan */
.activiteit { list-style: none; margin: 0; padding: 0; }
.activiteit li { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--lijn); }
.activiteit li:first-child { border-top: 0; }
.kaart.activiteit { padding: 0; }
.activiteit__icoon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--achtergrond); border-radius: var(--radius); }
.activiteit__icoon .icoon { width: 20px; height: 20px; }
.activiteit__tekst { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.activiteit__tijd { white-space: nowrap; }

/* ---------- Tabellen ---------- */
.tabel { width: 100%; border-collapse: collapse; background: #fff; }
.tabel th { text-align: left; font-size: 13px; font-weight: 600; color: var(--tekst); background: #F7F7F7; padding: 12px 16px; border-bottom: 1px solid var(--lijn); white-space: nowrap; }
.tabel td { padding: 14px 16px; border-bottom: 1px solid var(--lijn); vertical-align: middle; }
.tabel tbody tr:last-child td { border-bottom: 0; }
.tabel tbody tr:hover td { background: #FCFCFC; }
.tabel__acties { text-align: right; white-space: nowrap; }
.tabel-wrap { overflow-x: auto; }

/* ---------- Meldingen ---------- */
.melding { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin-bottom: 16px; border-radius: var(--radius); border: 1px solid; border-left-width: 5px; }
.melding .icoon { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.melding > div { min-width: 0; overflow-wrap: anywhere; }
.melding--gelukt { background: var(--gelukt-bg); border-color: var(--gelukt); color: #11421F; }
.melding--waarschuwing { background: var(--waarschuwing-bg); border-color: #C99700; color: var(--waarschuwing); }
.melding--fout { background: var(--fout-bg); border-color: var(--fout); color: #7A1414; }
.melding--info { background: var(--info-bg); border-color: var(--info); color: #173B5C; }
.wachtwoord { display: inline-block; font-size: 1.05em; font-weight: 600; padding: 2px 10px; margin-top: 4px; user-select: all; color: #000; }

/* ---------- Labels ---------- */
.label { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.4; padding: 2px 10px; border-radius: 20px; border: 1px solid; white-space: nowrap; vertical-align: middle; }
.label--actief { background: var(--gelukt-bg); color: var(--gelukt); border-color: #A9D4B9; }
.label--binnenkort { background: var(--waarschuwing-bg); color: var(--waarschuwing); border-color: #E6CB6B; }
.label--fout { background: var(--fout-bg); color: var(--fout); border-color: #E3A9A9; }
.label--uit { background: #EDEDED; color: #555; border-color: #CFCFCF; }
.label--neutraal { background: #fff; color: var(--tekst); border-color: #CFCFCF; }
.label--beheerder { background: var(--zwart); color: #fff; border-color: var(--zwart); }

/* ---------- Lege toestand ---------- */
.leeg { background: var(--vlak); border: 1px dashed #B5B5B5; border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--tekst-zacht); }
.leeg__icoon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--achtergrond); color: #555; margin-bottom: 10px; }
.leeg__icoon .icoon { width: 26px; height: 26px; }
.leeg__tekst { margin: 0 auto 1em; max-width: 46ch; }
.leeg > :last-child { margin-bottom: 0; }
.leeg__code { font-size: 64px; font-weight: 700; line-height: 1; color: #000; margin: 0 0 12px; }
.leeg--fout { border-style: solid; padding: 56px 24px; }
.leeg--fout .leeg__tekst { color: var(--tekst); }

/* ---------- Tabbladen ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--lijn); margin-bottom: 20px; }
.tab { font: inherit; font-size: 15px; font-weight: 500; color: var(--tekst-zacht); background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 16px; margin-bottom: -1px; cursor: pointer; text-decoration: none; }
.tab:hover { color: #000; background: none; border-bottom-color: #C9C9C9; }
.tab[aria-selected="true"], .tab[aria-current="page"] { color: #000; font-weight: 600; border-bottom-color: var(--geel-accent); }
.tabpaneel[hidden] { display: none; }

/* ---------- Tweekolomsindeling ---------- */
.tweekolom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tweekolom { margin-bottom: 40px; }
.tweekolom:last-child { margin-bottom: 0; }
.tweekolom--smal-rechts { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.tweekolom__voorbeeld { position: sticky; top: calc(var(--balk-hoogte) + 16px); }

/* ---------- Diversen ---------- */
.gegevens { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 12px 0 20px; }
.gegevens dt { color: var(--tekst-zacht); font-size: 13px; padding-top: 2px; }
.gegevens dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Inloggen (licht, rustig; geel als accent) ---------- */
.inlog-pagina { background: var(--achtergrond); border-top: 6px solid var(--geel); }
.inlog { width: 100%; max-width: 480px; padding: 48px 16px 32px; margin: auto; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.inlog__merk { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 28px; }
.inlog__logo { display: block; height: 60px; width: auto; }
.inlog__naam { font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: lowercase; color: var(--zwart); padding-left: 16px; border-left: 1px solid var(--lijn-veld); line-height: 1.6; }
.inlog__kader { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); padding: 36px 36px 32px; }
.inlog__kader h1 { font-size: 26px; margin-bottom: 6px; }
.inlog__kader .bijschrift { margin-bottom: 28px; font-size: 14px; }
.inlog__kader .veld { margin-bottom: 22px; }
.inlog__kader .invoer { min-height: 48px; }
.inlog__kader .knop--blok { min-height: 50px; font-size: 16px; margin-top: 8px; }
.inlog__hulp { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--lijn); text-align: center; }
.inlog__kader .inlog__hulp { margin-bottom: 0; }
.inlog .melding { margin-bottom: 20px; }
.inlog__kader .melding { margin-bottom: 24px; }
.inlog__voet { margin: 24px 0 0; text-align: center; font-size: 13px; color: var(--tekst-zacht); }

/* ---------- Stijlpagina ---------- */
.stijl-inhoud { margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; }
.kleuren { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 8px; }
.kleur { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.kleur code { align-self: flex-start; }
.kleur__blok { display: block; height: 48px; border-radius: 3px; border: 1px solid rgba(0,0,0,.12); }
.kleur__blok[data-var="--geel"] { background: var(--geel); }
.kleur__blok[data-var="--geel-accent"] { background: var(--geel-accent); }
.kleur__blok[data-var="--zwart"] { background: var(--zwart); }
.kleur__blok[data-var="--tekst"] { background: var(--tekst); }
.kleur__blok[data-var="--tekst-zacht"] { background: var(--tekst-zacht); }
.kleur__blok[data-var="--achtergrond"] { background: var(--achtergrond); }
.kleur__blok[data-var="--vlak"] { background: var(--vlak); }
.kleur__blok[data-var="--lijn"] { background: var(--lijn); }
.voorbeeld { margin-bottom: 8px; border: 1px solid var(--lijn); border-radius: var(--radius); background: #fff; overflow: hidden; }
.voorbeeld__zicht { padding: 24px; background: var(--achtergrond); }
.voorbeeld__zicht > :last-child { margin-bottom: 0; }
.voorbeeld__code { border-top: 1px solid var(--lijn); }
.voorbeeld__code summary { padding: 10px 16px; cursor: pointer; font-size: 13px; font-weight: 600; }
.voorbeeld__code pre { margin: 0; padding: 0 16px 16px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
.voorbeeld__code code { background: none; border: 0; padding: 0; font-size: inherit; }
.pictogrammen { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.pictogram { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pictogram .icoon { width: 28px; height: 28px; }
.pictogram code { font-size: 12px; }
.icoon { width: 20px; height: 20px; flex: none; }

/* ---------- Kleine schermen ---------- */
@media (max-width: 860px) {
  .tweekolom, .tweekolom--smal-rechts { grid-template-columns: 1fr; }
  .tweekolom__voorbeeld { position: static; }
}
@media (max-width: 640px) {
  :root { --rand: 16px; }
  h1 { font-size: 24px; }
  .paginakop { padding: 20px 0 18px; }
  .hoofd { padding-top: 24px; }
  .kaart { padding: 18px; }
  .veldrij { grid-template-columns: 1fr; }
  .inlog { padding: 32px 16px 24px; justify-content: flex-start; }
  .inlog__merk { margin-bottom: 22px; }
  .inlog__logo { height: 48px; }
  .inlog__kader { padding: 26px 20px 24px; }
  .inlog__kader h1 { font-size: 24px; }
  .activiteit li { grid-template-columns: 36px 1fr; }
  .activiteit__tijd { grid-column: 2; }
  .gegevens { grid-template-columns: 1fr; gap: 0; }
  .gegevens dd { margin-bottom: 10px; }

  .tabel--stapelen thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabel--stapelen, .tabel--stapelen tbody, .tabel--stapelen tr, .tabel--stapelen td { display: block; width: 100%; }
  .tabel--stapelen tr { padding: 14px 16px; border-bottom: 1px solid var(--lijn); }
  .tabel--stapelen tbody tr:last-child { border-bottom: 0; }
  .tabel--stapelen td { border: 0; padding: 4px 0 4px 124px; position: relative; min-height: 32px; overflow-wrap: anywhere; }
  .tabel--stapelen td[data-label]::before { content: attr(data-label); position: absolute; left: 0; top: 7px; width: 112px; font-size: 13px; color: var(--tekst-zacht); line-height: 1.5; }
  .tabel--stapelen .tabel__acties { text-align: left; padding: 10px 0 0; }
  .tabel--stapelen tbody tr:hover td { background: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

@media (max-width: 640px) {
  :root { --balk-hoogte: 57px; }
  .topbalk__merk img { height: 30px; }
  .topbalk__merk { margin-right: 14px; }
  .topbalk .merknaam { font-size: 11px; padding: 1px 7px; }
  .topbalk__nav::before { margin-right: 4px; }
  .topbalk__nav a { padding: 0 8px; }
  .topbalk__nav a.is-actief::after { left: 8px; right: 8px; }
  .topbalk__nav li:has(a.is-actief[aria-current="location"]) { display: none; }
  .gebruikersmenu__naam { max-width: 84px; }
  .gebruikersmenu__knop { padding: 6px 10px; gap: 7px; }
}
/* Smal: de naamknop is alleen het pictogram (de naam staat bovenin het uitklapmenu), zodat de balk niet overloopt */
@media (max-width: 480px) {
  .gebruikersmenu__naam { display: none; }
  .gebruikersmenu__knop { min-width: 48px; justify-content: center; }
}
@media (max-width: 350px) {
  .topbalk .merknaam { display: none; }
}
