/* =====================================================================
   Werkplek (23-11-2026): pagina's die op de server draaien.
   Lichte neutrale basis, donkerblauwe tekst, één kobaltblauw accent.
   Compacte werkrijen in plaats van kaarten; geen grote begroetingen,
   geen dubbele tellers, geen losse "Openen"-knoppen.
   Tokens komen uit ontwerp.css (--ds-*).
   ===================================================================== */

body { background: var(--ds-bg); color: var(--ds-text); }
.wp { display: grid; gap: var(--s5); }
.wp-smal { max-width: 760px; }

/* paginakop: functionele titel, één regel uitleg, acties rechts */
.wp-kop { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3) var(--s6); }
.wp-kop h1 { margin: 0; font-size: var(--fs-3xl); font-weight: 600; line-height: var(--lh-tight); letter-spacing: -.01em; color: var(--ds-text); outline: none; }
.wp-kop p { max-width: 70ch; margin: 6px 0 0; color: var(--ds-text-2); font-size: var(--fs-md); }
.wp-kop-acties { display: flex; flex-wrap: wrap; gap: var(--s2); }
.wp-terug { margin: 0 0 calc(-1 * var(--s3)); font-size: var(--fs-sm); }
.wp-terug a { color: var(--ds-text-2); text-decoration: none; }
.wp-terug a:hover { color: var(--ds-link); }
.wp-uitleg { margin: 0; max-width: 80ch; color: var(--ds-text-2); }

/* blokken */
.wp-blok { min-width: 0; padding: var(--s4) var(--s5); border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); background: var(--ds-surface); box-shadow: var(--ds-sh-1); }
.wp-blok-kop { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin: 0 0 var(--s3); }
.wp-blok-kop h2 { margin: 0; font-size: var(--fs-lg); font-weight: 600; color: var(--ds-text); }
.wp-blok.is-bericht { border-color: var(--ds-navy-line); background: var(--ds-navy-soft); }
.wp-twee { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); align-items: start; }
.wp-twee.is-breed-links { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.wp-twee > div { display: grid; gap: var(--s5); min-width: 0; }
.wp-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.wp-link { color: var(--ds-link); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.wp-link:hover { text-decoration: underline; }
.wp-meta { color: var(--ds-text-3); font-size: var(--fs-sm); font-weight: 400; }
.wp-leeg { margin: 0; padding: var(--s3) 0; color: var(--ds-text-3); font-size: var(--fs-sm); }
.wp-fout { margin: 0 0 var(--s3); padding: var(--s2) var(--s3); border: 1px solid var(--ds-err-line); border-radius: var(--ds-r-sm); background: var(--ds-err-soft); color: var(--ds-err); font-size: var(--fs-sm); }
.wp-fout[hidden] { display: none; }

/* werkrijen */
.wp-rijen { margin: 0 calc(-1 * var(--s2)); padding: 0; list-style: none; }
.wp-rijen > li + li { border-top: 1px solid var(--ds-divider); }
.wp-rijen > li[hidden] { display: none; }
.wp-rij { display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 44px; padding: var(--s2); border: 0; border-radius: var(--ds-r-sm); background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; }
a.wp-rij:hover, .wp-rij.is-knop:hover { background: var(--ds-hover); }
a.wp-rij:focus-visible, .wp-rij.is-knop:focus-visible { outline: none; box-shadow: var(--ds-focus); }
.wp-rij.is-knop { cursor: pointer; }
.wp-rij.is-blok { align-items: flex-start; }
.wp-rij.is-vink { cursor: pointer; }
.wp-rij-tekst { display: grid; gap: 2px; flex: 1; min-width: 0; }
.wp-rij-tekst b { font-size: var(--fs-md); font-weight: 550; color: var(--ds-text); }
.wp-rij-tekst small { color: var(--ds-text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.wp-rij-rechts { display: flex; flex: none; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: var(--s2); }
.wp-rij .initialen, .wp-ber .initialen { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ds-navy-soft); color: var(--ds-navy); font-size: 11.5px; font-weight: 600; }
.wp-bol { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: var(--ds-r-sm); background: var(--ds-navy-soft); }
.wp-bol svg { width: 16px; height: 16px; fill: none; stroke: var(--ds-navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* kerngetallen: één balk, geen tegels */
.wp-cijfers { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); margin: 0; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); background: var(--ds-surface); }
.wp-cijfers > div { padding: var(--s3) var(--s4); }
.wp-cijfers > div + div { border-left: 1px solid var(--ds-divider); }
.wp-cijfers dt { color: var(--ds-text-3); font-size: var(--fs-xs); }
.wp-cijfers dd { margin: 2px 0 0; font-size: var(--fs-2xl); font-weight: 600; font-variant-numeric: tabular-nums; }
.wp-cijfers dd.is-tekst { font-size: var(--fs-md); font-weight: 500; }
.wp-blok .wp-cijfers { margin-bottom: var(--s2); }
.wp-indicatoren .r, .tabel .r { text-align: right; font-variant-numeric: tabular-nums; }

/* tijdlijn voor de dagplanning */
.wp-tijdlijn { position: relative; margin: 0; padding: 0; list-style: none; }
.wp-tijdlijn li { position: relative; display: grid; grid-template-columns: 86px 14px 1fr; gap: var(--s3); padding: 0 0 var(--s4); }
.wp-tijdlijn li:last-child { padding-bottom: 0; }
.wp-tijdlijn li::before { content: ""; position: absolute; top: 14px; bottom: -2px; left: calc(86px + var(--s3) + 6px); width: 2px; background: var(--ds-divider); }
.wp-tijdlijn li:last-child::before { content: none; }
.wp-tl-tijd { padding-top: 1px; color: var(--ds-text-3); font-size: var(--fs-sm); text-align: right; font-variant-numeric: tabular-nums; }
.wp-tl-stip { width: 14px; height: 14px; margin-top: 3px; border: 2px solid var(--ds-navy); border-radius: 50%; background: var(--ds-surface); }
.wp-tijdlijn li.is-klaar .wp-tl-stip { background: var(--ds-navy); }
.wp-tl-tekst { display: grid; gap: 2px; min-width: 0; }
.wp-tl-tekst b { font-weight: 550; }
.wp-tl-tekst a { color: var(--ds-text); text-decoration: none; }
.wp-tl-tekst a:hover { color: var(--ds-link); text-decoration: underline; }
.wp-tl-tekst small { color: var(--ds-text-2); font-size: var(--fs-sm); }

/* tabs en segmenten */
.wp-tabs { display: flex; gap: var(--s1); border-bottom: 1px solid var(--ds-border); }
.wp-tabs.is-scroll { overflow-x: auto; scrollbar-width: none; }
.wp-tabs a { flex: none; margin-bottom: -1px; padding: var(--s2) var(--s3); border-bottom: 2px solid transparent; color: var(--ds-text-2); font-size: var(--fs-md); font-weight: 500; text-decoration: none; white-space: nowrap; }
.wp-tabs a:hover { color: var(--ds-text); }
.wp-tabs a.is-aan { border-bottom-color: var(--ds-navy); color: var(--ds-navy); }
.wp-tabs a span { margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--ds-hover); color: var(--ds-text-2); font-size: var(--fs-xs); }
.wp-segment { display: inline-flex; gap: 2px; width: max-content; padding: 2px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: var(--ds-subtle); }
.wp-segment a { padding: 4px 12px; border-radius: var(--ds-r-xs); color: var(--ds-text-2); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; }
.wp-segment a.is-aan { background: var(--ds-surface); color: var(--ds-text); box-shadow: var(--ds-sh-1); }

/* formulieren */
.wp-form { display: grid; gap: var(--s3); }
.wp-form .dn-veld { display: grid; gap: 4px; }
.wp-form .dn-veld > span { color: var(--ds-text); font-size: var(--fs-sm); font-weight: 500; }
.wp-form .dn-veld small { color: var(--ds-text-3); font-weight: 400; }
.wp-form input:not([type=checkbox]):not([type=radio]), .wp-form select, .wp-form textarea, .wp-zoek { width: 100%; }
.wp-form-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s3); align-items: end; margin: 0; padding: 0; border: 0; }
.wp-form-rij.is-wrap { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.wp-form-rij legend { margin-bottom: var(--s2); font-size: var(--fs-sm); font-weight: 600; }
.wp-form-voet { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--s2); }
.wp-form-voet.is-links { justify-content: flex-start; }
.wp-vink { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); color: var(--ds-text-2); cursor: pointer; }
.wp-vink.is-groot { font-size: var(--fs-md); color: var(--ds-text); font-weight: 500; }
.wp-vink input, .wp-rij.is-vink input { width: 16px; height: 16px; accent-color: var(--ds-navy); }
.wp-zoek { max-width: 320px; margin-bottom: var(--s3); }
.wp-kop .wp-zoek { margin: 0; }
.wp-uitklap summary { cursor: pointer; color: var(--ds-link); font-size: var(--fs-sm); }
.wp-uitklap[open] summary { margin-bottom: var(--s2); }
.wp-bereik { margin: 0; padding: var(--s2) var(--s3); border-radius: var(--ds-r-sm); background: var(--ds-navy-soft); color: var(--ds-text); font-size: var(--fs-sm); }
.wp-bereik:empty { display: none; }
.wp-fouten { margin: var(--s2) 0; padding-left: var(--s5); color: var(--ds-err); font-size: var(--fs-sm); }
.wp-fouten.is-info { color: var(--ds-text-2); }
.wp-label { display: inline-block; margin: 1px 0; padding: 1px 8px; border: 1px solid var(--ds-border); border-radius: 999px; background: var(--ds-subtle); color: var(--ds-text-2); font-size: var(--fs-xs); white-space: nowrap; }
.wp-label.is-tijdelijk { border-color: var(--ds-warn-line); background: var(--ds-warn-soft); color: var(--ds-warn); }
.wp-diff { margin: 0; padding: 0; list-style: none; font-size: var(--fs-md); }
.wp-diff li { padding: 4px 0; }
.wp-diff .is-erbij { color: var(--ds-ok); }
.wp-diff .is-eraf { color: var(--ds-err); }
.wp-dialoog { width: min(640px, calc(100vw - 32px)); }
.wp-dialoog h2 { margin: 0 0 var(--s2); font-size: var(--fs-xl); }
tr.is-uit td { color: var(--ds-text-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* feedback */
.wp-fb p { margin: 0 0 var(--s2); }
.wp-volgende { display: grid; gap: 2px; padding: var(--s2) var(--s3); border-left: 3px solid var(--ds-navy); background: var(--ds-subtle); }
.wp-volgende b { font-size: var(--fs-sm); color: var(--ds-text-2); }
.wp-actie { display: grid; gap: var(--s2); margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--ds-divider); }
.wp-actie p { margin: 0; }

/* gesprek bij een vraag */
.wp-gegevens { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); margin: 0; }
.wp-gegevens dt { color: var(--ds-text-3); font-size: var(--fs-xs); }
.wp-gegevens dd { margin: 0; font-weight: 500; }
.wp-gesprek { display: grid; gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.wp-ber { display: flex; gap: var(--s3); align-items: flex-start; }
.wp-ber > div { flex: 1; min-width: 0; padding: var(--s3) var(--s4); border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); background: var(--ds-surface); }
.wp-ber p { margin: 0; overflow-wrap: anywhere; }
.wp-ber-kop { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-bottom: 4px !important; font-size: var(--fs-sm); }
.wp-ber-kop time { margin-left: auto; color: var(--ds-text-3); }
.wp-ber.is-antwoord > div { border-color: var(--ds-navy-line); background: var(--ds-navy-soft); }
.wp-ber.is-info > div { border-color: var(--ds-warn-line); background: var(--ds-warn-soft); }
.wp-ber.is-systeem { justify-content: center; color: var(--ds-text-3); font-size: var(--fs-xs); }
.wp-bijlagen { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); }

/* platformpoort */
.wp-platform-poort { display: grid; place-items: center; min-height: 100vh; padding: var(--s4); }
.wp-platform-poort .wp-blok { display: grid; gap: var(--s3); padding: var(--s8); }
.wp-platform-poort h1 { margin: 0; font-size: var(--fs-2xl); }
body.is-inlog .wp:has(.wp-kop) { max-width: 1100px; margin: 0 auto; padding: var(--s8) var(--s4); }

/* meekijkbalk */
.meekijk { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s3); padding: 8px var(--s4); background: #7A3E00; color: #FFF; font-size: var(--fs-sm); }
.meekijk .klein-knop { background: #FFF !important; color: #5C2E00 !important; border-color: #FFF !important; }
@media (min-width: 761px) { body.is-meekijk .topbalk { top: 37px; } body.is-meekijk .zij { top: 37px; height: calc(100vh - 37px); } }

/* meldingenpaneel */
.dn-bel-plek { position: relative; }
.dn-bel { position: relative; display: inline-flex; align-items: center; border: 0; background: none; cursor: pointer; }
.dn-bel b { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--ds-err); color: #FFF; font-size: 10px; line-height: 16px; text-align: center; }
.dn-bel-paneel { z-index: 70; width: min(360px, calc(100vw - 24px)); max-height: 70vh; overflow: auto; border: 1px solid var(--ds-border); border-radius: var(--ds-r-lg); background: var(--ds-surface); box-shadow: var(--ds-sh-3); }
.dn-bel-paneel[hidden] { display: none; }
.dn-bel-kop { display: flex; justify-content: space-between; align-items: center; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--ds-divider); }
.dn-bel-paneel ul { margin: 0; padding: var(--s1); list-style: none; }
.dn-bel-paneel a { display: grid; gap: 2px; padding: var(--s2) var(--s3); border-radius: var(--ds-r-sm); color: var(--ds-text); font-size: var(--fs-sm); text-decoration: none; }
.dn-bel-paneel a:hover { background: var(--ds-hover); }
.dn-bel-paneel li.is-nieuw a { font-weight: 600; }
.dn-bel-paneel li.is-nieuw a::before { content: ""; float: left; width: 7px; height: 7px; margin: 6px 8px 0 0; border-radius: 50%; background: var(--ds-navy); }
.dn-bel-paneel small { color: var(--ds-text-3); font-weight: 400; }
.dn-bel-paneel .wp-leeg { padding: var(--s4); }

/* accountmenu: Schoolbeheer */
.account-menu .is-beheer { font-weight: 600; color: var(--ds-navy) !important; }
.account-info span { color: var(--ds-text-3); }

/* inloggen: schoolzoeker en ontwikkelaccounts */
.login-titel { margin: 0 0 var(--s3); font-size: 20px; font-weight: 600; }
.login-label { display: block; margin-bottom: 4px; font-size: var(--fs-sm); font-weight: 500; }
input.login-veld { width: 100%; }
.login-scholen { max-height: 300px; overflow: auto; }
.login-school { display: flex !important; align-items: center; gap: var(--s3); }
.login-school span { display: grid; }
.login-school small { color: var(--ds-text-3); }
.login-leeg { padding: var(--s3); color: var(--ds-text-3); font-size: var(--fs-sm); }
.login-uitleg { margin: 0 0 var(--s3); color: var(--ds-text-2); font-size: var(--fs-sm); }
.login-groep { margin: var(--s3) 0 var(--s1); color: var(--ds-text-3); font-size: var(--fs-xs); font-weight: 600; }
.login-accounts { display: grid; gap: 2px; max-height: 46vh; margin: 0; padding: 0; overflow: auto; list-style: none; }
.login-accounts button { display: flex; align-items: center; gap: var(--s3); width: 100%; padding: 6px var(--s2); border: 0; border-radius: var(--ds-r-sm); background: none; font: inherit; text-align: left; cursor: pointer; }
.login-accounts button:hover { background: var(--ds-hover); }
.login-accounts button:focus-visible { outline: none; box-shadow: var(--ds-focus); }
.login-accounts .initialen { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ds-navy-soft); color: var(--ds-navy); font-size: 11.5px; font-weight: 600; }
.login-accounts span:last-child { display: grid; min-width: 0; }
.login-accounts b { font-size: var(--fs-md); font-weight: 550; }
.login-accounts small { overflow: hidden; color: var(--ds-text-3); font-size: var(--fs-xs); white-space: nowrap; text-overflow: ellipsis; }
.login-melding { margin: 0 0 var(--s3); padding: var(--s2) var(--s3); border: 1px solid var(--ds-err-line); border-radius: var(--ds-r-sm); background: var(--ds-err-soft); color: var(--ds-err); font-size: var(--fs-sm); }
.login-melding.is-info { border-color: var(--ds-info-line); background: var(--ds-info-soft); color: var(--ds-text); }
.login-koppeling { margin-top: var(--s4); font-size: var(--fs-sm); }
.login-koppeling summary { color: var(--ds-text-3); cursor: pointer; }
.login-koppeling ul { margin: var(--s2) 0 0; padding: 0; list-style: none; }
.login-koppeling li { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ds-text-2); }
.login-vak { width: min(420px, 100%) !important; }

/* laden */
.laden { color: var(--ds-text-3); }

/* mobiel */
@media (max-width: 760px) {
  .wp { gap: var(--s4); }
  .wp-twee, .wp-twee.is-breed-links { grid-template-columns: 1fr; }
  .wp-kop h1 { font-size: 21px; }
  .wp-blok { padding: var(--s3) var(--s4); }
  .wp-rij { min-height: 48px; }
  .wp-rij-rechts { max-width: 45%; }
  .wp-tijdlijn li { grid-template-columns: 64px 14px 1fr; }
  .wp-tijdlijn li::before { left: calc(64px + var(--s3) + 6px); }
  .wp-cijfers { grid-template-columns: repeat(2, 1fr); }
  .wp-cijfers > div:nth-child(3) { border-left: 0; }
  .wp-cijfers > div:nth-child(n + 3) { border-top: 1px solid var(--ds-divider); }
  .wp-form-voet { justify-content: stretch; }
  .wp-form-voet > .knop, .wp-form-voet > .licht-knop { flex: 1; }
  .tabel-schuif { overflow-x: auto; }
  .meekijk { font-size: var(--fs-xs); }
  .login-accounts { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* mobiel: alleen de meldingenbel uit de bovenbalk, rechtsboven */
@media (max-width: 760px) {
  body:not(.is-inlog) .topbalk { display: flex !important; position: fixed; top: 10px; right: 12px; z-index: 50; height: auto; padding: 0; border: 0; background: none; }
  .topbalk .kruimel, .topbalk .zoekbalk { display: none !important; }
  .topbalk .dn-bel-plek:not([hidden]) { display: block !important; }
  .topbalk .dn-bel { width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: var(--ds-surface); box-shadow: var(--ds-sh-2); }
  .topbalk .dn-bel .ic { width: 20px; height: 20px; fill: none; stroke: var(--ds-text); stroke-width: 1.8; }
  .topbalk .dn-bel b { position: absolute; top: 0; right: 0; }
  .topbalk .dn-bel-paneel { position: absolute; top: 48px; right: 0; }
  body.is-meekijk .topbalk { top: 52px; }
}

/* ---------- Hulp & services: kiezen waar je hulp bij nodig hebt ---------- */
.wp-diensten { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s4); }
.wp-dienst { display: grid; align-content: start; gap: var(--s3); padding: var(--s4); border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); background: var(--ds-surface); box-shadow: var(--ds-sh-1); }
.wp-dienst-kop { display: flex; align-items: center; gap: var(--s3); color: inherit; text-decoration: none; }
.wp-dienst-kop span:last-child { display: grid; gap: 2px; min-width: 0; }
.wp-dienst-kop b { font-size: var(--fs-lg); font-weight: 600; }
.wp-dienst-kop small { color: var(--ds-text-3); font-size: var(--fs-xs); }
.wp-dienst-kop:hover b { color: var(--ds-link); }
.wp-keuzes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wp-keuzes a { display: inline-block; padding: 4px 10px; border: 1px solid var(--ds-border); border-radius: 999px; background: var(--ds-subtle); color: var(--ds-text); font-size: var(--fs-sm); text-decoration: none; }
.wp-keuzes a:hover { border-color: var(--ds-navy-line); background: var(--ds-navy-soft); color: var(--ds-link); }
.wp-dienst-voet { margin: 0; }
.wp-aan { display: grid; gap: 2px; padding: var(--s3); border-radius: var(--ds-r-sm); background: var(--ds-subtle); }
.wp-aan b { font-size: var(--fs-lg); }
.wp-aan small { color: var(--ds-text-3); }
.wp-keuzerij { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.wp-keuzerij legend { width: 100%; margin-bottom: 6px; font-size: var(--fs-sm); font-weight: 500; }
.wp-keuzerij label { position: relative; cursor: pointer; }
.wp-keuzerij input { position: absolute; opacity: 0; pointer-events: none; }
.wp-keuzerij span { display: inline-block; padding: 6px 12px; border: 1px solid var(--ds-border-strong); border-radius: 999px; background: var(--ds-surface); font-size: var(--fs-sm); }
.wp-keuzerij input:checked + span { border-color: var(--ds-navy); background: var(--ds-navy-soft); color: var(--ds-link); font-weight: 600; }
.wp-keuzerij input:focus-visible + span { box-shadow: var(--ds-focus); }
.wp-keuzerij.is-groot span { padding: 10px 16px; font-size: var(--fs-md); }

/* ---------- inloggen: 2FA ---------- */
.login-qr { width: 188px; margin: 0 auto var(--s3); }
.login-qr svg { display: block; width: 100%; height: auto; border-radius: 6px; }
.login-sleutel { margin: var(--s2) 0 0; font: 600 15px/1.6 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; word-break: break-all; color: var(--ds-text); }
.login-code { font-variant-numeric: tabular-nums; }

/* =====================================================================
   Inlogportaal (altijd licht), naar Magister: blauwe band, gecentreerde
   witte kaart, één ding per stap (school, gebruiker, wachtwoord, code).
   ===================================================================== */
.mg { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 100vh; padding: 9vh 16px 24px; background: #EEF2F7; color: #0F1B2D; color-scheme: light; }
.mg-band { position: absolute; inset: 0 0 auto; height: 38vh; min-height: 240px; background: #17468C; }
.mg-band::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255, 255, 255, .15); }
.mg-kaart { position: relative; width: min(420px, 100%); padding: 36px 40px 32px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 12px 40px rgba(15, 27, 45, .14), 0 2px 6px rgba(15, 27, 45, .06); }
.mg-logo { display: block; width: 140px; height: auto; margin: 0 auto 28px; }
.mg-voet { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; color: #5B6677; font-size: 13px; }
.mg-voet a { color: #3D4A5C; text-decoration: none; }
.mg-voet a:hover { color: #17468C; text-decoration: underline; }
.mg .login-titel { text-align: left; }
.mg .login-uitleg { margin: -12px 0 20px !important; }
.mg .login-knop { width: 100%; background: #17468C !important; }
.mg .login-knop:hover { background: #123A75 !important; }
.mg .login-link { color: #17468C; }
.mg .login-veld input:focus, .mg input.login-veld:focus { border-color: #17468C !important; box-shadow: 0 0 0 3px rgba(23, 70, 140, .18); }
.mg .login-schoolregel { margin: 0 0 22px; padding: 12px 14px; border: 1px solid #E3E6EB; border-radius: 10px; background: #F7F9FC; }
@media (max-width: 520px) {
  .mg { padding: 0 0 20px; background: #FFFFFF; }
  .mg-band { display: none; }
  .mg-kaart { width: 100%; padding: 28px 20px; border-radius: 0; box-shadow: none; }
}


/* Boeken en uitwerkingen (leraar) */
.mat-rechten { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; background: var(--ds-warn-soft); color: var(--ds-text); font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.mat-rechten input { margin-top: 3px; }

/* Hulp bij ARGOS Education (onderaan Hulp & services) */
.ah { display: grid; gap: 14px; margin-top: 8px; padding: 22px 24px; border: 1px solid var(--ds-border); border-radius: 14px; background: #FFF; }
.ah-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ah-kop h2 { margin: 0; color: var(--ds-text); font-size: 19px; font-weight: 700; }
.ah-kop p { margin: 4px 0 0; color: var(--ds-text-2); font-size: 14px; }
.ah-zoek { display: flex; align-items: center; gap: 8px; width: min(360px, 100%); height: 40px; padding: 0 12px; border: 1px solid var(--ds-border); border-radius: 999px; background: var(--ds-subtle); }
.ah-zoek:focus-within { border-color: var(--ds-navy); background: #FFF; }
.ah-zoek svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--ds-text-3); stroke-width: 2; stroke-linecap: round; }
.ah .ah-zoek input { flex: 1; min-width: 0; height: 100% !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 14px !important; }
.ah-onderwerpen { display: flex; flex-wrap: wrap; gap: 6px; }
.ah-onderwerpen button { height: 32px; padding: 0 13px; border: 1px solid var(--ds-border); border-radius: 999px; background: #FFF; color: var(--ds-text-2); font: 600 13px var(--ds-font); cursor: pointer; }
.ah-onderwerpen button[aria-pressed="true"] { border-color: #0E7C86; background: #0E7C86; color: #FFF; }
.ah-lijst { display: grid; gap: 6px; }
.ah-artikel { border: 1px solid var(--ds-divider); border-radius: 10px; background: #FFF; }
.ah-artikel[hidden] { display: none; }
.ah-artikel summary { display: flex; align-items: baseline; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.ah-artikel summary::-webkit-details-marker { display: none; }
.ah-artikel summary::after { content: "+"; margin-left: auto; color: var(--ds-text-3); font-size: 18px; line-height: 1; }
.ah-artikel[open] summary::after { content: "−"; }
.ah-artikel summary b { color: var(--ds-text); font-size: 14.5px; font-weight: 600; }
.ah-label { flex: none; padding: 1px 8px; border-radius: 999px; background: #E6F4F5; color: #0E7C86; font-size: 11.5px; font-weight: 700; }
.ah-artikel ol { margin: 0; padding: 0 18px 14px 40px; color: var(--ds-text-2); font-size: 14px; line-height: 1.55; }
.ah-artikel li + li { margin-top: 4px; }
.ah-leeg { margin: 0; color: var(--ds-text-3); font-size: 14px; }

/* =====================================================================
   Leerlingbespreking (bespreking.js), snel antwoorden, signalen
   ===================================================================== */
.bs-werkbalk { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 4px 0 12px; }
.bs-vak { display: grid; gap: 4px; font-size: 13px; color: var(--ds-text-2); }
.bs-vak input { width: 180px; }
.bs-stand { color: var(--ds-text-3); font-size: 13px; }
.bs-knoppen { display: flex; gap: 8px; margin-left: auto; }
.bs-klaar { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: var(--ds-ok-soft); color: var(--ds-ok); font-size: 13.5px; }
.bs-tabel-wrap { overflow-x: auto; border: 1px solid var(--ds-border); border-radius: 10px; background: #FFF; }
.bs-tabel { width: 100%; border-collapse: collapse; font-size: 14px; }
.bs-tabel th, .bs-tabel td { padding: 8px 10px; border-bottom: 1px solid var(--ds-divider); text-align: left; vertical-align: middle; }
.bs-tabel thead th { position: sticky; top: 0; background: var(--ds-subtle); color: var(--ds-text-2); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.bs-tabel tbody th { color: var(--ds-text); font-weight: 600; white-space: nowrap; }
.bs-tabel tbody th small { display: block; color: var(--ds-text-3); font-size: 12px; font-weight: 400; }
.bs-tabel .c { text-align: center; white-space: nowrap; }
.bs-tabel tbody tr:hover td, .bs-tabel tbody tr:hover th { background: #FAFBFC; }
.bs-cel { display: inline-grid; place-items: center; width: 34px; height: 30px; border: 1px dashed #C9CED6; border-radius: 6px; background: #FFF; color: var(--ds-text); font: 700 15px var(--ds-font); cursor: pointer; }
.bs-cel:hover:not(:disabled) { border-style: solid; border-color: #8A93A2; }
.bs-cel:disabled { cursor: default; }
.bs-cel.is-goed { border: 1px solid #12723A; background: #E8F5EC; color: #12723A; }
.bs-cel.is-beter { border: 1px solid #B45309; background: #FDF4E6; color: #8F4A06; }
.bs-cel.is-aandacht { border: 1px solid #B42318; background: #FDEEEC; color: #B42318; }
.bs-cel.is-vast { cursor: default; }
.bs-vorig { margin-left: 4px; font-size: 11px; font-weight: 700; opacity: .6; }
.bs-vorig.is-goed { color: #12723A; } .bs-vorig.is-beter { color: #8F4A06; } .bs-vorig.is-aandacht { color: #B42318; }
.bs-opm { min-width: 280px; }
.bs-opm div { display: flex; gap: 6px; }
.bs-opm input { flex: 1; min-width: 0; height: 32px; }
.bs-zin-knop { flex: none; height: 32px; padding: 0 10px; border: 1px solid var(--ds-border); border-radius: 6px; background: #FFF; color: var(--ds-text-2); font: 600 12.5px var(--ds-font); cursor: pointer; }
.bs-zin-knop:hover { background: var(--ds-hover); }
.bs-zinnen { position: absolute; z-index: 80; width: 360px; max-height: 360px; overflow: auto; padding: 8px; border: 1px solid var(--ds-border); border-radius: 10px; background: #FFF; box-shadow: 0 10px 30px rgba(16, 24, 40, .14); }
.bs-zinnen[hidden] { display: none; }
.bs-zinnen-kop { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 8px; }
.bs-zinnen ul { margin: 0; padding: 0; list-style: none; }
.bs-zinnen li button { width: 100%; padding: 7px 8px; border: 0; border-radius: 6px; background: none; color: var(--ds-text); font: 400 13.5px var(--ds-font); text-align: left; cursor: pointer; }
.bs-zinnen li button:hover { background: var(--ds-hover); }
.bs-zin-nieuw { display: flex; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--ds-divider); }
.bs-zin-nieuw input { flex: 1; min-width: 0; }
.bs-onderdelen { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; border: 0; font-size: 14px; }
.bs-onderdelen legend { margin-bottom: 4px; font-size: 13.5px; font-weight: 500; }
.bs-rij-knoppen { display: flex; align-items: center; gap: 8px; }
.bs-leraren { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.bs-leraar { padding: 4px 10px; border: 1px dashed #C9CED6; border-radius: 999px; color: var(--ds-text-2); font-size: 13px; }
.bs-leraar.is-klaar { border: 1px solid #B7DFC4; background: #E8F5EC; color: #12723A; }
.bs-leraar small { color: inherit; opacity: .75; }
.bs-tel { display: inline-block; margin: 0 2px; padding: 1px 6px; border-radius: 5px; font-size: 12.5px; font-weight: 700; }
.bs-tel.is-aandacht { background: #FDEEEC; color: #B42318; } .bs-tel.is-beter { background: #FDF4E6; color: #8F4A06; } .bs-tel.is-goed { background: #E8F5EC; color: #12723A; }
.bs-leeg { color: var(--ds-text-3); font-size: 13px; }
.bs-opm-regel { margin: 0 0 3px; font-size: 13.5px; color: var(--ds-text-2); }
.bs-opm-regel b { color: var(--ds-text); margin-right: 4px; }
.bs-tabel.is-klein { font-size: 13.5px; }
.bs-leerling .bs-tabel { margin: 8px 0; }
.bs-uitleg { margin: 6px 0 0; }

.iv-snel .iv-knoppen { display: flex; flex-wrap: wrap; gap: 6px; }
.iv-snel .iv-knoppen .licht-knop { min-height: 32px; }
.sig-meer { padding: 0 16px 12px; }
@media (max-width: 760px) { .bs-knoppen { margin-left: 0; } .bs-opm { min-width: 220px; } }
