:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --surface-2: #F2EDE4;
  --ink: #1C2230;
  --ink-2: #424A5C;
  --ink-3: #5A6273;
  --line: #E2DBCF;
  --brand: #1F5BB5;
  --brand-ink: #FFFFFF;
  --accent: #C8661A;
  --focus: #1F6FEB;
  --sun: #D9961F; --sun-soft: #FBF0DA;
  --did: #2A5FA8;  --did-soft: #E3ECF7;
  --ped: #9E4523;  --ped-soft: #F8E7DC;
  --bel: #6B4E9B;  --bel-soft: #ECE6F4;
  --wel: #266C4F;  --wel-soft: #DFF0E7;
  --warn: #B42318;
  --shadow: 0 1px 0 rgba(28,34,48,.05), 0 3px 10px rgba(28,34,48,.06);
  --shadow-key: 0 3px 0 var(--line), 0 6px 14px rgba(28,34,48,.06);
  --r: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #13161D; --surface: #1B1F28; --surface-2: #252A35; --ink: #EEECE6; --ink-2: #C5C8D0; --ink-3: #A0A5B0;
    --line: #323845; --brand: #8DB3EC; --brand-ink: #13161D; --accent: #F0A35E; --focus: #8AB4FF; --sun: #E9B456; --sun-soft: #33291A;
    --did: #8DB3EC; --did-soft: #1E2D45; --ped: #E9A07A; --ped-soft: #3A2820;
    --bel: #B9A3E3; --bel-soft: #2D2640; --wel: #7FC9A3; --wel-soft: #1C3329; --warn: #FF8A7A;
    --shadow: 0 1px 0 rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.25); --shadow-key: 0 3px 0 #0B0D12, 0 6px 14px rgba(0,0,0,.28);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #13161D; --surface: #1B1F28; --surface-2: #252A35; --ink: #EEECE6; --ink-2: #C5C8D0; --ink-3: #A0A5B0;
  --line: #323845; --brand: #8DB3EC; --brand-ink: #13161D; --accent: #F0A35E; --focus: #8AB4FF; --sun: #E9B456; --sun-soft: #33291A;
  --did: #8DB3EC; --did-soft: #1E2D45; --ped: #E9A07A; --ped-soft: #3A2820;
  --bel: #B9A3E3; --bel-soft: #2D2640; --wel: #7FC9A3; --wel-soft: #1C3329; --warn: #FF8A7A;
  --shadow: 0 1px 0 rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.25); --shadow-key: 0 3px 0 #0B0D12, 0 6px 14px rgba(0,0,0,.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .8em; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; gap: 16px; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.logo { width: 30px; height: 30px; display: block; flex: none; }
.brand-name .edu { color: var(--brand); }
.brand-name .dida { color: var(--accent); }
.nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--ink-2); padding: 8px 11px; border-radius: 999px; font-size: .94rem; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.help-btn { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 14px; border-radius: 999px; background: var(--wel); color: var(--surface); }
:root[data-theme="dark"] .help-btn { color: #10181C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .help-btn { color: #10181C; } }
@media (max-width: 860px) {
  .top-inner { flex-wrap: wrap; gap: 8px 12px; }
  .nav { order: 3; flex-basis: 100%; margin: 0 -16px; padding: 0 16px; }
  .top-actions { margin-left: auto; }
}

main { max-width: 1240px; margin: 0 auto; padding: 24px 16px 56px; outline: none; min-height: 70vh; }
.foot { border-top: 1px solid var(--line); color: var(--ink-3); font-size: .88rem; }
.foot p { max-width: 1240px; margin: 0 auto; padding: 18px 16px; }

/* Generic */
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-decoration: none; color: var(--ink); font-size: .95rem; }
.btn:hover { border-color: var(--ink-3); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.small { padding: 5px 11px; font-size: .86rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin: 28px 0 12px; }
.section-head h2 { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .9rem; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.d-didactiek { --c: var(--did); --soft: var(--did-soft); }
.d-pedagogie { --c: var(--ped); --soft: var(--ped-soft); }
.d-schoolbeleid { --c: var(--bel); --soft: var(--bel-soft); }
.d-welzijn { --c: var(--wel); --soft: var(--wel-soft); }
.dot.d-didactiek, .dot.d-pedagogie, .dot.d-schoolbeleid, .dot.d-welzijn { background: var(--c); }
input[type="search"], input[type="text"], input[type="number"], select, textarea {
  border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 9px 12px; width: 100%;
}
textarea { min-height: 80px; resize: vertical; }
label.field { display: grid; gap: 4px; font-size: .9rem; color: var(--ink-2); }

/* Home */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; padding: 12px 0 8px; }
.hero h1 em { font-style: normal; color: var(--brand); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.mini-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tip { border-left: 4px solid var(--brand); }
.entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.entry { text-decoration: none; color: var(--ink); display: block; }
.entry:hover { border-color: var(--ink-3); }
.entry .k { font-size: 1.6rem; }
.stat-row { display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink-2); font-size: .95rem; margin-top: 10px; }
.stat-row b { font-size: 1.3rem; color: var(--ink); font-family: var(--font-head); }

/* Knoppenbord */
.toolbar { display: grid; gap: 10px; margin: 12px 0 18px; }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.key {
  position: relative; text-align: left; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  padding: 14px 12px 12px; min-height: 104px; cursor: pointer; box-shadow: var(--shadow-key);
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  transition: transform .08s ease, box-shadow .08s ease, opacity .2s ease;
}
.key::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: var(--r) var(--r) 0 0; background: var(--c); }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.key .w { font-family: var(--font-head); font-size: 1.3rem; font-weight: 650; line-height: 1.15; overflow-wrap: anywhere; }
.key .w.long { font-size: 1.08rem; }
.key .w.xlong { font-size: .95rem; }
.key .meta { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: var(--ink-3); }
.key.dim { opacity: .28; }
.key.lit { background: var(--soft); border-color: var(--c); }
.key .fav { position: absolute; top: 9px; right: 10px; font-size: .8rem; color: var(--c); }
.pips { display: inline-flex; gap: 2px; }
.pips i { width: 7px; height: 7px; border-radius: 2px; background: var(--line); }
.pips i.on { background: var(--c, var(--ink-2)); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: var(--ink-2); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }

/* Dialog / kaart */
dialog { border: none; padding: 0; border-radius: 18px; max-width: 760px; width: calc(100% - 24px); max-height: calc(100dvh - 32px); background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(20,24,27,.45); }
.card-head { padding: 22px 24px 16px; background: var(--soft); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1; }
.card-head .domain { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c); font-weight: 700; display: flex; gap: 8px; align-items: center; }
.card-head h2 { margin: 6px 0 4px; font-size: 1.6rem; }
.card-head .kern { font-size: 1.06rem; margin: 0; color: var(--ink); }
.card-close { position: absolute; top: 12px; right: 12px; }
.card-body { padding: 18px 24px 24px; display: grid; gap: 18px; }
.card-body h3 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 6px; }
.card-body ol, .card-body ul { margin: 0; padding-left: 1.2em; }
.card-body li { margin-bottom: 4px; }
.five { background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.evidence { display: flex; gap: 12px; align-items: flex-start; }
.evidence .pips i { width: 14px; height: 14px; border-radius: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } .card-head, .card-body { padding-left: 16px; padding-right: 16px; } }
.links { display: flex; gap: 8px; flex-wrap: wrap; }
.link-key { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 6px 10px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; }
.link-key:hover { border-color: var(--c); }
.sources li { font-size: .9rem; color: var(--ink-2); }
.myth { border: 1px dashed var(--warn); border-radius: 12px; padding: 12px 14px; }
.myth b { color: var(--warn); }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line); }

/* Situaties */
.sit-groups { display: grid; gap: 22px; }
.sit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.sit { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; cursor: pointer; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.sit .ic { font-size: 1.35rem; }
.sit[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.result-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.result-col h3 { display: flex; gap: 8px; align-items: center; }
.res { display: block; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.res b { font-family: var(--font-head); font-size: 1.05rem; }
.res span { display: block; font-size: .88rem; color: var(--ink-2); }
.firstaid { background: var(--wel-soft); border-color: var(--wel); }

/* Lesbouwer */
.les-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.phases { display: grid; gap: 12px; margin-top: 16px; }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.phase-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.phase-head h3 { margin: 0; }
.slot { display: grid; grid-template-columns: auto 1fr 74px auto; gap: 8px; align-items: center; background: var(--soft); border-radius: 10px; padding: 8px 10px; margin-top: 8px; }
.slot .w { font-weight: 650; }
.slot input { padding: 6px 8px; }
@media (max-width: 640px) { .slot { grid-template-columns: 1fr 70px auto; } .slot .dot { display: none; } }
.suggest { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.suggest button { border: 1px dashed var(--line); background: transparent; border-radius: 999px; padding: 4px 10px; font-size: .84rem; cursor: pointer; color: var(--ink-2); }
.suggest button:hover { border-style: solid; border-color: var(--c); color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.check-list li { display: flex; gap: 8px; }
.ok { color: var(--wel); } .no { color: var(--warn); }
.les-layout { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.les-side { position: sticky; top: 80px; display: grid; gap: 12px; }
@media (max-width: 960px) { .les-layout { grid-template-columns: 1fr; } .les-side { position: static; } }

/* Kompas */
.stelling { padding: 14px 0; border-bottom: 1px solid var(--line); }
.scale { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.scale label { cursor: pointer; }
.scale input { position: absolute; opacity: 0; }
.scale span { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; background: var(--surface); }
.scale input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.scale input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.level { border-radius: var(--r); padding: 18px; border: 2px solid; }
.level.groen { border-color: var(--wel); background: var(--wel-soft); }
.level.oranje { border-color: var(--ped); background: var(--ped-soft); }
.level.rood { border-color: var(--bel); background: var(--bel-soft); }
.lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.line-card a.num { font-size: 1.5rem; font-weight: 700; font-family: var(--font-head); text-decoration: none; }

/* Mythes */
.myth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.myth-card { text-align: left; cursor: pointer; min-height: 150px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.myth-card .lbl { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.myth-card .lbl.m { color: var(--warn); } .myth-card .lbl.f { color: var(--wel); }
.myth-card p { margin-top: 8px; }
.myth-card[aria-pressed="true"] { background: var(--wel-soft); border-color: var(--wel); }

/* Verbanden */
.graph-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
#graph { width: 100%; height: min(72vh, 720px); display: block; touch-action: pan-y; }
#graph .node circle { fill: var(--c); }
#graph text { font: 11px var(--font); fill: var(--ink-2); pointer-events: none; }
#graph .node { cursor: pointer; }
#graph .edge { stroke: var(--line); stroke-width: 1; }
#graph .edge.hot { stroke: var(--ink-2); stroke-width: 1.6; }
#graph .edge.cross { stroke-dasharray: 3 3; }

#toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 100; }
#toast.show { opacity: 1; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Print: lesvoorbereiding */
@media print {
  .top, .foot, .no-print, .les-side, .suggest, #toast { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding: 0; }
  .phase, .panel { box-shadow: none; border-color: #999; break-inside: avoid; }
  .les-layout { grid-template-columns: 1fr; }
  input, textarea, select { border: none; padding: 0; }
}

/* Kaart afdrukken */
@media print {
  body.print-card > *:not(dialog) { display: none !important; }
  body.print-card dialog { position: static; box-shadow: none; max-height: none; width: 100%; max-width: none; }
  body.print-card .card-actions, body.print-card .card-close, body.print-card textarea { display: none !important; }
  body.print-card .card-head { position: static; }
}
.icon-btn:disabled { opacity: .35; cursor: default; }
.slot .icon-btn { width: 32px; height: 32px; }

/* QA-fixes */
html { scroll-padding-top: 110px; }
dialog { scroll-padding-top: 12rem; }
.nav a:focus-visible { outline-offset: -3px; }
.btn:has(+ input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.key .ev { display: inline-flex; gap: 5px; align-items: center; }
.key .ev .n { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .mini-board { grid-template-columns: repeat(2, 1fr); }
  .key .meta { flex-wrap: wrap; gap: 4px; }
  .board { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
}
@media print {
  :root:root:root { --bg: #fff; --surface: #fff; --surface-2: #eee; --ink: #000; --ink-2: #222; --ink-3: #444; --line: #999;
    --did-soft: #eef4f8; --ped-soft: #fbeee8; --bel-soft: #f0edf7; --wel-soft: #ecf5ef; }
}

/* ===== Levendiger ontwerp ===== */
.top { border-bottom: 0; }
.top { border-bottom: 1px solid var(--line); }
.nav a[aria-current="page"] { background: var(--brand); color: var(--brand-ink); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero { position: relative; }
.hero-card { border-radius: 20px; padding: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.key { background: var(--surface); border-color: color-mix(in srgb, var(--c) 22%, var(--line)); }
.key::before { height: 5px; }
.key:hover { transform: translateY(-2px); border-color: var(--c); }
.key .w { color: var(--ink); }
.tip { border-left: 0; background: var(--sun-soft); border-color: color-mix(in srgb, var(--sun) 50%, var(--line)); }
.tip h3::before { content: "☀︎ "; color: var(--sun); }
.entry { border-top: 5px solid var(--c, var(--brand)); }
.entry:hover { transform: translateY(-2px); }
.panel h2 { color: var(--ink); }
.help-btn { background: var(--wel); }

/* Domeintabs op het knoppenbord */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; border: 2px solid transparent; background: var(--soft); color: var(--ink); cursor: pointer; font-weight: 600; }
.tab .cnt { font-weight: 500; font-size: .82rem; color: var(--ink-2); }
.tab[aria-selected="true"] { background: var(--c); color: #fff; }
.tab[aria-selected="true"] .cnt { color: rgba(255,255,255,.85); }
:root[data-theme="dark"] .tab[aria-selected="true"], :root[data-theme="dark"] .tab[aria-selected="true"] .cnt { color: #10121F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tab[aria-selected="true"], :root:not([data-theme="light"]) .tab[aria-selected="true"] .cnt { color: #10121F; } }
.tab-all { --c: var(--brand); --soft: var(--surface-2); }
.tier { margin-top: 22px; }
.tier-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tier-head h2 { margin: 0; font-size: 1.15rem; }
.tier-head p { margin: 0; }
.board-intro { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: end; }
.filters-more { margin-top: 10px; }
.filters-more summary { cursor: pointer; color: var(--ink-2); font-size: .92rem; }

/* Situatie in twee stappen */
.groups4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.group-card { text-align: left; cursor: pointer; border: 2px solid transparent; border-radius: 18px; padding: 18px; background: var(--soft); color: var(--ink); display: grid; gap: 6px; }
.group-card .ic { font-size: 1.8rem; }
.group-card b { font-family: var(--font-head); font-size: 1.2rem; }
.group-card[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--soft) 60%, var(--surface)); box-shadow: var(--shadow); }
.g-klas { --c: var(--did); --soft: var(--did-soft); } .g-leerling { --c: var(--ped); --soft: var(--ped-soft); }
.g-ik { --c: var(--wel); --soft: var(--wel-soft); } .g-team { --c: var(--bel); --soft: var(--bel-soft); }
.sit[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.res-more { margin-top: 4px; }

/* Lesbouwer-wizard */
.page-head { margin-bottom: 8px; }
.stepper { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepper button { width: 100%; text-align: left; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; }
.stepper button small { display: block; color: var(--ink-3); font-size: .8rem; }
.stepper .nr { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 700; flex: none; }
.stepper button[aria-selected="true"] { border-color: var(--brand); box-shadow: var(--shadow); }
.stepper button[aria-selected="true"] .nr { background: var(--brand); color: var(--brand-ink); }
@media (max-width: 700px) { .stepper { grid-template-columns: repeat(2, 1fr); } }
.stap { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.form-grid .wide, .field.wide { grid-column: 1 / -1; }
.form-grid h2 { margin: 0; }
.field small { font-size: .8rem; }
.tipline { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: .92rem; color: var(--ink-2); }
.doelen { display: grid; gap: 10px; margin: 10px 0; }
.doel { display: grid; grid-template-columns: auto 1fr 170px auto; gap: 8px 10px; align-items: end; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.doel .wide { grid-column: 2 / 4; }
.doel-nr { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: .9rem; align-self: center; }
@media (max-width: 640px) { .doel { grid-template-columns: auto 1fr auto; } .doel .wide { grid-column: 1 / -1; } .doel label:nth-of-type(2) { grid-column: 2 / 3; } }
.media-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-bottom: 8px; }
.slot { display: block; padding: 12px; }
.slot-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.slot-top .mini { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--ink-2); }
.slot-top .mini input { width: 64px; padding: 5px 6px; }
.slot-top .mini select { width: auto; padding: 5px 6px; }
.slot-tools { margin-left: auto; display: inline-flex; gap: 4px; }
.slot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.slot-cols textarea { min-height: 70px; background: var(--surface); }
@media (max-width: 640px) { .slot-cols { grid-template-columns: 1fr; } }
.suggest button { display: inline-flex; gap: 6px; align-items: center; }
.more-toggle { font-weight: 600; }
.step-nav { justify-content: space-between; margin-top: 18px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.linkish { border: 0; background: none; color: var(--brand); text-decoration: underline; cursor: pointer; padding: 0; font-size: .85rem; }
@media print { .stepper, .step-nav { display: none !important; } }

[hidden] { display: none !important; }
@media (max-width: 640px) {
  .groups4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .group-card { padding: 12px; gap: 2px; }
  .group-card .ic { font-size: 1.4rem; }
  .group-card b { font-size: 1rem; }
  .group-card > .muted:not(.sel-count) { display: none; }
  .stat-row { gap: 4px 16px; }
}

.tab[aria-selected="true"] .cnt { color: inherit; opacity: 1; }
