:root {
  --ink: #18252d;
  --muted: #5b6971;
  --line: #dce4e7;
  --line-strong: #c5d1d6;
  --surface: #ffffff;
  --canvas: #f3f6f7;
  --navy: #123f4d;
  --navy-2: #0b303b;
  --blue: #17627a;
  --blue-soft: #e7f2f5;
  --teal: #2c7b82;
  --teal-soft: #e5f3f2;
  --yellow: #f5cf54;
  --yellow-soft: #fff7dc;
  --green: #2c7357;
  --green-soft: #e7f4ed;
  --red: #a54242;
  --red-soft: #faeceb;
  --purple: #65519a;
  --purple-soft: #f0ecf9;
  --shadow: 0 8px 24px rgba(20, 48, 60, .07);
  --radius: 15px;
  --sidebar: 255px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, Aptos, "Segoe UI", system-ui, sans-serif; font-size: 15px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--navy); }
svg.icon { width: 20px; height: 20px; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1.12; letter-spacing: -.035em; }
h2 { margin-bottom: 4px; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.018em; }
h3 { margin-bottom: 5px; font-size: 1.04rem; }
p { margin-bottom: 14px; }
small { color: var(--muted); }
code { font-family: "SFMono-Regular", Consolas, monospace; font-size: .88em; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; border-radius: 8px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.muted { color: var(--muted); }
.section-space { margin-top: 22px; }
.section-space-small { margin-top: 15px; }
.eyebrow { margin: 0 0 5px; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .095em; text-transform: uppercase; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; width: var(--sidebar); flex-direction: column; padding: 24px 15px 18px; overflow-y: auto; color: white; background: linear-gradient(180deg, var(--navy-2), var(--navy)); }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand__mark { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: var(--navy); background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.brand__mark .icon { width: 25px; height: 25px; }
.brand strong { display: block; font-size: 1.02rem; letter-spacing: -.01em; }
.brand small { display: block; color: rgba(255,255,255,.64); font-size: .73rem; }
.nav-stack { display: grid; gap: 4px; margin-top: 34px; }
.nav-link { position: relative; display: flex; min-height: 43px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; color: rgba(255,255,255,.76); font-size: .93rem; font-weight: 650; text-decoration: none; }
.nav-link:hover { color: white; background: rgba(255,255,255,.08); }
.nav-link--active { color: white; background: rgba(255,255,255,.13); box-shadow: inset 3px 0 var(--yellow); }
.nav-count { display: grid; min-width: 21px; height: 21px; margin-left: auto; padding: 0 6px; place-items: center; border-radius: 20px; color: var(--navy); background: var(--yellow); font-size: .72rem; }
.sidebar__footer { display: grid; gap: 3px; margin-top: auto; padding: 20px 12px 0; color: rgba(255,255,255,.54); font-size: .7rem; }
.main-column { min-width: 0; margin-left: var(--sidebar); }
.topbar { position: sticky; top: 0; z-index: 25; display: grid; min-height: 72px; grid-template-columns: minmax(210px, 1fr) auto minmax(205px, auto); align-items: center; gap: 20px; padding: 11px clamp(22px, 4vw, 52px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.menu-button { display: none; }
.context-select { display: flex; align-items: center; gap: 10px; }
.context-select label { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.context-select select, .context-bar select { width: auto; min-width: 220px; border: 0; color: var(--ink); background: transparent; font-weight: 730; }
.context-version { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .84rem; }
.user-menu { position: relative; justify-self: end; }
.user-menu summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; font-weight: 680; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-weight: 800; text-transform: uppercase; }
.avatar--small { width: 29px; height: 29px; font-size: .8rem; }
.user-menu__panel { position: absolute; top: calc(100% + 12px); right: 0; display: grid; width: 270px; gap: 4px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.user-menu__panel span { color: var(--muted); font-size: .8rem; }
.user-menu__panel form { margin-top: 10px; }
.page { width: min(1500px, 100%); margin: 0 auto; padding: 36px clamp(22px, 4vw, 52px) 70px; }
.page-header { display: flex; min-height: 82px; align-items: flex-end; }
.page-header > div:first-child { max-width: 780px; }
.page-header p:last-child { margin-bottom: 0; color: var(--muted); }
.page-header--with-action { justify-content: space-between; gap: 25px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }

.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 8px 15px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-weight: 750; line-height: 1.2; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(20,48,60,.11); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(245,207,84,.75); outline-offset: 2px; }
.button--primary { color: white; background: var(--blue); }
.button--primary:hover { color: white; background: var(--navy); }
.button--secondary { border-color: #a9c6cf; color: var(--navy); background: var(--blue-soft); }
.button--secondary:hover { color: var(--navy); background: #d7ebef; }
.button--ghost { border-color: var(--line-strong); color: var(--ink); background: white; }
.button--large { min-height: 48px; padding: 12px 18px; }
.button--full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 750; text-decoration: none; }
.text-link .icon { width: 16px; }

.panel { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 2px 10px rgba(20,48,60,.035); }
.panel--wide { min-width: 0; }
.panel--flush { padding: 0; overflow: hidden; }
.panel__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.panel__header--padded { padding: 22px 22px 0; }
.panel__header h2, .panel__header p { margin-bottom: 0; }
.panel-intro { max-width: 800px; color: var(--muted); }
.counter { display: grid; min-width: 35px; height: 35px; padding: 0 9px; place-items: center; border-radius: 9px; color: var(--navy); background: var(--blue-soft); font-weight: 850; }
.counter--small { min-width: 28px; height: 28px; font-size: .8rem; }
.edit-label, .read-label, .derived-label { padding: 5px 9px; border-radius: 7px; font-size: .74rem; font-weight: 800; }
.edit-label { color: var(--green); background: var(--green-soft); }
.read-label { color: var(--muted); background: var(--canvas); }
.derived-label { color: var(--purple); background: var(--purple-soft); }
.two-column { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); gap: 22px; align-items: start; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 22px; margin-top: 22px; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.metric { position: relative; display: grid; min-height: 125px; align-content: space-between; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: white; }
.metric::after { position: absolute; right: -22px; bottom: -32px; width: 86px; height: 86px; border-radius: 50%; background: var(--canvas); content: ""; }
.metric > span { color: var(--muted); font-size: .78rem; font-weight: 750; }
.metric > strong { font-size: 1.75rem; letter-spacing: -.03em; }
.metric > small { z-index: 1; font-size: .75rem; }
.metric--green::after { background: var(--green-soft); }
.metric--amber::after { background: var(--yellow-soft); }
.metric--blue::after { background: var(--blue-soft); }

.status { display: inline-flex; width: max-content; align-items: center; justify-content: center; padding: 4px 8px; border-radius: 999px; color: var(--muted); background: #edf1f2; font-size: .7rem; font-weight: 820; line-height: 1.2; white-space: nowrap; }
.status--concept, .status--controle { color: var(--blue); background: var(--blue-soft); }
.status--ingediend { color: #765b0d; background: var(--yellow-soft); }
.status--wijziging_gevraagd { color: var(--red); background: var(--red-soft); }
.status--goedgekeurd, .status--vastgesteld { color: var(--green); background: var(--green-soft); }
.status--gearchiveerd, .status--archief { color: var(--muted); background: #edf1f2; }

.signal-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.signal-list li { display: grid; grid-template-columns: 29px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.signal-list li:first-child { border-top: 0; }
.signal-list a { color: var(--ink); font-weight: 780; text-decoration: none; }
.signal-list a:hover { color: var(--blue); }
.signal-list p { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }
.signal-list--compact li { padding: 8px 0; }
.signal-mark { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: #6b5208; background: var(--yellow-soft); font-weight: 900; }
.positive-state, .lock-notice { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.positive-state > span { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 850; }
.positive-state p, .lock-notice p { margin: 0; }
.lock-notice { margin: 20px 0 0; padding: 14px 16px; border: 1px solid #d8c57e; border-radius: 11px; background: var(--yellow-soft); }
.lock-notice > span { color: #8a6d12; }

.compact-list, .action-list, .record-list { margin: 0; padding: 0; list-style: none; }
.compact-list li + li, .action-list li + li { border-top: 1px solid var(--line); }
.compact-list a, .action-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--ink); text-decoration: none; }
.compact-list a > span { display: grid; }
.compact-list a > span strong { color: var(--blue); font-size: .72rem; letter-spacing: .05em; }
.module-strip, .review-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 14px; }
.module-tile, .review-card { display: block; padding: 17px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fbfcfc; text-decoration: none; transition: border-color .12s, transform .12s; }
.module-tile:hover, .review-card:hover { border-color: #9dbec8; color: var(--ink); transform: translateY(-1px); }
.module-tile > div, .review-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.module-tile h3, .review-card h3 { margin: 18px 0 4px; }
.module-tile p { margin: 0; color: var(--muted); }
.module-code { color: var(--blue); font-size: .75rem; font-weight: 850; letter-spacing: .06em; }
.review-card dl { margin: 16px 0; }
.review-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-size: .8rem; }
.review-card dt { color: var(--muted); }
.review-card dd { margin: 0; text-align: right; }

.context-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding: 13px 17px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.context-bar > div { display: grid; }
.context-bar span { color: var(--muted); font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.legend-inline, .matrix-legend { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: .78rem; }
.legend-inline span, .matrix-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot, .coverage-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.legend-dot--concept { background: var(--blue); }
.legend-dot--approved { background: var(--green); }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { border-collapse: separate; border-spacing: 0; }
.curriculum-table { width: 100%; min-width: 760px; table-layout: fixed; }
.curriculum-table thead th { padding: 13px 10px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); color: var(--navy); background: #f7f9fa; text-align: center; }
.curriculum-table thead th:first-child { width: 130px; border-left: 0; text-align: left; }
.curriculum-table thead span, .curriculum-table tbody th span { display: block; color: var(--muted); font-size: .7rem; font-weight: 500; }
.curriculum-table tbody th { padding: 15px 12px; border-top: 1px solid var(--line); vertical-align: middle; text-align: left; }
.curriculum-table tbody tr:first-child th, .curriculum-table tbody tr:first-child td { border-top: 0; }
.map-gap, .map-empty, .map-module-cell { height: 92px; padding: 9px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fbfcfc; }
.map-empty { color: var(--muted); text-align: center; vertical-align: middle; }
.map-module { display: grid; height: 100%; align-content: center; gap: 3px; padding: 10px 12px; border-left: 4px solid var(--blue); border-radius: 9px; color: var(--ink); background: var(--blue-soft); text-decoration: none; }
.map-module:hover { color: var(--ink); background: #dceff3; }
.map-module > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.map-module > span > strong { color: var(--blue); font-size: .7rem; letter-spacing: .06em; }
.map-module b { font-size: .88rem; }
.map-module small { font-size: .68rem; }
.stat-list { margin: 18px 0; }
.stat-list div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid var(--line); }
.stat-list div:last-child { border-bottom: 1px solid var(--line); }
.stat-list dt { color: var(--muted); }
.stat-list dd { margin: 0; font-weight: 800; }

.blueprint-summary { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 15px; margin-top: 24px; }
.blueprint-summary article { min-height: 170px; padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.blueprint-summary article > p:last-child { margin: 0; }
.definition-list, .definition-grid { margin: 0; }
.definition-list div { padding: 6px 0; border-top: 1px solid var(--line); }
.definition-list dt, .definition-grid dt { color: var(--muted); font-size: .73rem; font-weight: 750; }
.definition-list dd, .definition-grid dd { margin: 2px 0 0; }
.definition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 25px; }
.definition-grid div { padding-top: 9px; border-top: 1px solid var(--line); }
.outcome-list { display: grid; gap: 9px; }
.outcome-card { display: grid; grid-template-columns: 68px 1fr 90px; gap: 15px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfc; }
.outcome-list--compact .outcome-card { grid-template-columns: 62px 1fr; }
.outcome-card__code { display: grid; min-height: 43px; place-items: center; border-radius: 9px; color: var(--blue); background: var(--blue-soft); font-weight: 850; }
.outcome-card__body p { margin-bottom: 9px; }
.outcome-card__body > small { display: block; margin-top: 8px; }
.outcome-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.outcome-meta > div > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.chip-row { display: flex; flex-wrap: wrap; gap: 5px; }
.chip, .code-pill, .role-chip { display: inline-flex; align-items: center; margin: 1px 3px 1px 0; padding: 3px 7px; border: 1px solid #d5e3e7; border-radius: 999px; color: var(--navy); background: white; font-size: .7rem; font-weight: 700; }
.outcome-level { display: grid; justify-items: center; }
.outcome-level span { color: var(--muted); font-size: .68rem; }
.outcome-level strong { font-size: 1.4rem; }
.read-only-note { margin: 16px 0 0; padding: 12px 15px; border-radius: 9px; color: var(--muted); background: #e9eef0; }

.anchor-nav { position: sticky; top: 72px; z-index: 15; display: flex; gap: 4px; margin: 20px 0 0; padding: 6px; overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 4px 16px rgba(20,48,60,.04); }
.anchor-nav a { padding: 7px 11px; border-radius: 7px; color: var(--muted); font-size: .78rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.anchor-nav a:hover { color: var(--navy); background: var(--blue-soft); }
.subsection { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.subsection__header { display: flex; align-items: center; justify-content: space-between; }
.subsection__header h3 { font-size: 1.08rem; }
.record-list li { display: grid; grid-template-columns: minmax(180px, .35fr) 1fr; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.record-list li div { display: grid; }
.record-list li span { color: var(--muted); font-size: .75rem; }
.record-list li p { margin: 0; }

.data-table { width: 100%; min-width: 780px; }
.data-table th, .data-table td { padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
.data-table tr > *:last-child { border-right: 0; }
.data-table thead th { color: white; background: var(--navy); font-size: .75rem; letter-spacing: .02em; }
.data-table tbody tr:nth-child(even) { background: #f8fafb; }
.data-table tbody th > strong, .data-table tbody th > span, .data-table td > small { display: block; }
.data-table tbody th > strong { color: var(--blue); font-size: .72rem; letter-spacing: .05em; }
.data-table td > small { max-width: 330px; margin-top: 3px; }
.coverage { display: inline-grid; gap: 1px; padding: 5px 8px; border-radius: 7px; font-size: .7rem; white-space: nowrap; }
.coverage strong { font-size: .66rem; }
.coverage--aangeboden { color: var(--blue); background: var(--blue-soft); }
.coverage--geoefend { color: var(--purple); background: var(--purple-soft); }
.coverage--summatief { color: var(--green); background: var(--green-soft); }

.assessment-matrix { width: 100%; min-width: 680px; }
.assessment-matrix th, .assessment-matrix td { padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.assessment-matrix thead th { color: white; background: var(--navy); }
.assessment-matrix thead th:first-child, .assessment-matrix tbody th { min-width: 310px; text-align: left; }
.assessment-matrix th strong, .assessment-matrix th span { display: block; }
.assessment-matrix th span { font-size: .73rem; font-weight: 500; }
.assessment-matrix tbody tr:nth-child(even) { background: #f8fafb; }
.matrix-check { display: grid; width: 29px; height: 29px; margin: auto; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 850; }
.matrix-dash { color: #a5b0b5; }
.derived-note { margin: 15px 0 0; color: var(--muted); font-size: .8rem; }

.view-tabs { display: flex; gap: 4px; width: max-content; margin-top: 22px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.view-tabs a { padding: 8px 16px; border-radius: 7px; color: var(--muted); font-weight: 750; text-decoration: none; }
.view-tabs a.active { color: white; background: var(--navy); }
.matrix-legend { margin-top: 14px; }
.coverage-dot--aangeboden { background: #77abc0; }
.coverage-dot--geoefend { background: #9b8ac7; }
.coverage-dot--summatief { background: #65a78a; }
.coverage-matrix { width: 100%; min-width: 900px; }
.coverage-matrix caption, .assessment-matrix caption { padding: 10px; color: var(--muted); font-size: .75rem; text-align: left; caption-side: bottom; }
.coverage-matrix th, .coverage-matrix td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coverage-matrix thead th { min-width: 125px; padding: 11px; color: white; background: var(--navy); text-align: center; }
.coverage-matrix thead th:first-child { min-width: 220px; text-align: left; }
.coverage-matrix thead a { color: white; text-decoration: none; }
.coverage-matrix thead a strong, .coverage-matrix thead a span { display: block; }
.coverage-matrix thead a span { max-width: 140px; margin: 2px auto 0; font-size: .7rem; font-weight: 500; }
.coverage-matrix tbody th { min-width: 220px; padding: 12px; background: white; text-align: left; }
.coverage-matrix .sticky-col { position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 var(--line); }
.coverage-matrix thead .sticky-col { z-index: 3; background: var(--navy); }
.coverage-matrix tbody th > * { display: block; }
.coverage-matrix tbody th small { margin-top: 3px; font-weight: 500; }
.target-code { color: var(--blue); font-size: .7rem; letter-spacing: .06em; }
.matrix-cell { padding: 0; }
.matrix-cell a { display: grid; min-height: 78px; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; place-items: center; padding: 9px; color: var(--ink); text-decoration: none; }
.matrix-cell a:hover { box-shadow: inset 0 0 0 3px rgba(18,63,77,.25); }
.matrix-cell a > span:first-child { display: grid; width: 29px; height: 29px; grid-row: 1; place-items: center; border-radius: 50%; color: white; font-weight: 850; }
.matrix-cell a > strong { grid-row: 1; color: var(--navy); }
.matrix-cell a > small { grid-column: 1 / -1; }
.matrix-cell--aangeboden { background: var(--blue-soft); }
.matrix-cell--aangeboden a > span:first-child { background: var(--blue); }
.matrix-cell--geoefend { background: var(--purple-soft); }
.matrix-cell--geoefend a > span:first-child { background: var(--purple); }
.matrix-cell--summatief { background: var(--green-soft); }
.matrix-cell--summatief a > span:first-child { background: var(--green); }
.matrix-empty { color: #a3adb2; background: #fafbfb; text-align: center; }

.form-grid { display: grid; gap: 16px; margin-top: 18px; }
.form-grid--two { grid-template-columns: 1fr 1fr; }
.form-grid--three { grid-template-columns: repeat(3, 1fr); }
.form-stack { display: grid; gap: 16px; }
.compact-form { margin-top: 14px; }
label, fieldset { min-width: 0; }
label { display: grid; gap: 6px; font-size: .79rem; font-weight: 760; }
label small, fieldset > p { margin: -1px 0 0; color: var(--muted); font-size: .7rem; font-weight: 500; }
input, select, textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: white; }
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #94b2bb; }
.span-two { grid-column: span 2; }
.span-three { grid-column: span 3; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding-top: 4px; }
.form-note { color: var(--muted); font-size: .78rem; }
.choice-fieldset { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.choice-fieldset legend { padding: 0 5px; font-size: .8rem; font-weight: 800; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-top: 9px; }
.choice-grid--periods { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.check-card { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfc; cursor: pointer; }
.check-card:has(input:checked) { border-color: #70a2b1; background: var(--blue-soft); }
.check-card input, .check-line input, .segmented-field input { width: 16px; min-height: 16px; margin: 2px 0 0; accent-color: var(--blue); }
.check-card span { display: grid; gap: 1px; font-size: .72rem; font-weight: 500; }
.check-card strong { font-size: .75rem; }
.check-list { display: grid; gap: 5px; }
.check-line { grid-template-columns: 18px 1fr; align-items: start; padding: 5px; font-weight: 500; }
.segmented-field { display: flex; align-items: end; gap: 7px; margin: 0; padding: 0; border: 0; }
.segmented-field legend { margin-bottom: 6px; font-size: .78rem; font-weight: 760; }
.segmented-field label { display: flex; min-height: 42px; flex: 1; grid-template-columns: 16px 1fr; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.segmented-field label:has(input:checked) { border-color: #70a2b1; background: var(--blue-soft); }
.details-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; }
.details-summary::-webkit-details-marker { display: none; }
.details-summary > span:first-child { display: grid; }
.details-summary > span:last-child, .inline-form summary { color: var(--blue); font-size: .77rem; font-weight: 800; }
.inline-form { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.inline-form > summary { width: max-content; cursor: pointer; }
.inline-form--subtle { margin-top: 10px; }

.empty-state { display: grid; min-height: 170px; place-items: center; align-content: center; padding: 22px; color: var(--muted); text-align: center; }
.empty-state__icon { display: grid; width: 46px; height: 46px; margin-bottom: 9px; place-items: center; border-radius: 14px; color: var(--blue); background: var(--blue-soft); }
.empty-state h3 { color: var(--ink); }
.empty-state p { max-width: 520px; margin: 0; }

.decision-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.adoption-list { display: grid; gap: 12px; }
.adoption-list > form { display: grid; grid-template-columns: minmax(190px, .5fr) minmax(320px, 1.2fr) auto; gap: 14px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfc; }
.adoption-list > form > div { display: grid; }
.adoption-list > form > div span { color: var(--muted); font-size: .75rem; }
.adoption-list fieldset { padding: 9px; }
.adoption-list .choice-grid { margin-top: 2px; }
.comment-list { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.comment-list li { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.comment-list li > div { display: flex; align-items: center; gap: 9px; }
.comment-list li p { display: grid; margin: 0; }
.comment-list li p span { color: var(--muted); font-size: .72rem; }
.comment-list blockquote { margin: 9px 0 0 38px; color: var(--ink); }
.comment-form { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; margin-top: 18px; }
.export-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.export-card { display: grid; grid-template-columns: 37px 1fr 20px; gap: 11px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); text-decoration: none; }
.export-card:hover { border-color: #91b5bf; color: var(--ink); background: var(--blue-soft); }
.export-card > .icon:first-child { width: 25px; height: 25px; color: var(--blue); }
.export-card span { display: grid; }
.audit-preview ol { display: grid; margin: 0; padding: 0; list-style: none; }
.audit-preview li { display: grid; grid-template-columns: 150px 1fr 1.5fr; gap: 15px; padding: 9px 0; border-top: 1px solid var(--line); }
.audit-preview li > span, .audit-preview li > small { color: var(--muted); }
.audit-preview li > strong { text-transform: capitalize; }

.role-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 15px; align-items: center; }
.role-flow > div { display: grid; min-height: 100px; align-content: center; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; text-align: center; }
.role-flow > div span { color: var(--muted); font-size: .78rem; }
.role-flow > span { color: var(--line-strong); font-size: 1.5rem; }
.version-line { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.version-line div { display: grid; min-width: 180px; text-align: center; }
.version-line div span { color: var(--muted); font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.source-status { display: inline-block; padding: 3px 7px; border-radius: 999px; background: #edf1f2; font-size: .7rem; font-weight: 750; }
.source-status--actief { color: var(--green); background: var(--green-soft); }
.source-status--concept { color: var(--blue); background: var(--blue-soft); }
.audit-timeline > article { display: grid; grid-template-columns: 180px 16px 1fr; gap: 14px; }
.audit-time { display: grid; align-content: start; padding: 3px 0 28px; text-align: right; }
.audit-time strong { font-size: .8rem; }
.audit-time span { color: var(--muted); font-size: .72rem; }
.audit-dot { position: relative; }
.audit-dot::before { position: absolute; top: 8px; left: 3px; width: 10px; height: 10px; border: 3px solid var(--blue-soft); border-radius: 50%; background: var(--blue); content: ""; }
.audit-dot::after { position: absolute; top: 23px; bottom: 0; left: 7px; width: 1px; background: var(--line); content: ""; }
.audit-timeline > article:last-child .audit-dot::after { display: none; }
.audit-event { padding: 0 0 28px; }
.audit-event h2 { font-size: 1rem; text-transform: capitalize; }
.event-type { color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.audit-event details { color: var(--muted); font-size: .75rem; }
.audit-event details summary { cursor: pointer; }
.audit-event details dl div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; margin-top: 5px; }
.audit-event details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.role-chip { display: inline-flex; margin: 2px; }
.row-actions { position: relative; }
.row-actions > summary { color: var(--blue); cursor: pointer; font-weight: 750; }
.row-actions > div { display: grid; min-width: 250px; gap: 10px; padding-top: 10px; }
.row-actions form { display: grid; gap: 7px; }

.dialog { width: min(560px, calc(100vw - 28px)); max-height: calc(100vh - 40px); padding: 0; overflow: auto; border: 0; border-radius: 15px; color: var(--ink); background: white; box-shadow: 0 25px 80px rgba(4,30,40,.32); }
.dialog--wide { width: min(820px, calc(100vw - 28px)); }
.dialog::backdrop { background: rgba(9,34,42,.58); backdrop-filter: blur(3px); }
.dialog > form { display: grid; gap: 16px; padding: 23px; }
.dialog__header { display: flex; justify-content: space-between; gap: 20px; }
.dialog__header h2 { font-size: 1.45rem; }
.dialog__header button { width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer; color: var(--muted); background: var(--canvas); font-size: 1.4rem; }

.toast { position: relative; display: grid; grid-template-columns: 28px 1fr 28px; gap: 9px; align-items: center; margin: -12px 0 24px; padding: 12px 13px; border: 1px solid; border-radius: 10px; }
.toast > span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: white; font-weight: 850; }
.toast p { margin: 0; }
.toast button { border: 0; cursor: pointer; background: none; font-size: 1.3rem; }
.toast--success { border-color: #bcdcca; background: var(--green-soft); }
.toast--success > span { background: var(--green); }
.toast--error, .inline-error { border-color: #ebc1bd; background: var(--red-soft); }
.toast--error > span { background: var(--red); }
.inline-error { padding: 11px 13px; border: 1px solid #ebc1bd; border-radius: 8px; color: #713131; }

.copy-preview { max-width: 900px; margin-right: auto; margin-left: auto; }
.copy-document { padding: 42px 50px; border: 1px solid var(--line); background: white; box-shadow: 0 6px 24px rgba(20,48,60,.07); }
.copy-document pre { margin: 0; overflow: visible; white-space: pre-wrap; font-family: Aptos, "Segoe UI", sans-serif; font-size: .92rem; line-height: 1.65; }
.copy-feedback { min-height: 1.5em; margin: 12px 0 0; color: var(--green); font-weight: 750; }

.login-body { min-height: 100vh; color: white; background: var(--navy); }
.login-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1.1fr) minmax(400px, .9fr); }
.login-intro { display: grid; align-content: center; padding: clamp(38px, 8vw, 120px); background: radial-gradient(circle at 15% 20%, rgba(44,123,130,.56), transparent 38%), linear-gradient(145deg, var(--navy-2), var(--navy)); }
.brand--login { width: max-content; margin-bottom: 65px; }
.login-intro h1 { max-width: 650px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.login-intro > p { max-width: 650px; color: rgba(255,255,255,.72); font-size: 1.06rem; }
.login-points { display: grid; gap: 14px; margin: 38px 0 0; padding: 0; list-style: none; }
.login-points li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.8); }
.login-points span { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--yellow); font-size: .75rem; font-weight: 800; }
.login-card { display: grid; width: min(480px, calc(100% - 42px)); align-self: center; justify-self: center; gap: 22px; padding: clamp(26px, 4vw, 42px); border-radius: 19px; color: var(--ink); background: white; box-shadow: 0 30px 90px rgba(0,0,0,.26); }
.login-card h2 { font-size: 2rem; }
.login-card > div > p:last-child { margin: 0; color: var(--muted); }
.pilot-note { margin: 0; padding: 12px 14px; border-radius: 9px; color: var(--muted); background: var(--blue-soft); font-size: .78rem; }
.login-security { margin: 0; color: var(--muted); font-size: .73rem; text-align: center; }

@media (max-width: 1100px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .blueprint-summary { grid-template-columns: 1fr 1fr; }
  .blueprint-summary article:last-child { grid-column: span 2; }
  .outcome-meta { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --sidebar: 0px; }
  .sidebar { width: 255px; transform: translateX(-102%); transition: transform .2s ease; }
  body.menu-open .sidebar { transform: translateX(0); box-shadow: 15px 0 50px rgba(0,0,0,.28); }
  .main-column { margin-left: 0; }
  .topbar { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 10px 18px; }
  .menu-button { display: grid; width: 38px; height: 38px; gap: 4px; place-content: center; border: 1px solid var(--line); border-radius: 8px; background: white; }
  .menu-button span:not(.sr-only) { width: 18px; height: 2px; background: var(--navy); }
  .context-select label, .context-version, .user-menu__name { display: none; }
  .context-select select { min-width: 0; max-width: 100%; }
  .page { padding: 28px 18px 55px; }
  .page-header--with-action { align-items: flex-start; flex-direction: column; }
  .button-row { justify-content: flex-start; }
  .dashboard-grid, .two-column { grid-template-columns: 1fr; }
  .blueprint-summary { grid-template-columns: 1fr; }
  .blueprint-summary article:last-child { grid-column: auto; }
  .form-grid--three { grid-template-columns: 1fr 1fr; }
  .span-three { grid-column: span 2; }
  .outcome-card { grid-template-columns: 58px 1fr; }
  .outcome-level { grid-column: 2; justify-items: start; }
  .role-flow { grid-template-columns: 1fr; }
  .adoption-list > form { grid-template-columns: 1fr; }
  .role-flow > span { transform: rotate(90deg); text-align: center; }
  .version-line { align-items: stretch; flex-direction: column; }
  .version-line > span { transform: rotate(90deg); text-align: center; }
  .login-shell { grid-template-columns: 1fr; }
  .login-intro { display: none; }
  .login-card { margin: 35px auto; }
}

@media (max-width: 560px) {
  .metrics, .form-grid--two, .form-grid--three, .export-grid { grid-template-columns: 1fr; }
  .span-two, .span-three { grid-column: auto; }
  .context-bar { align-items: stretch; flex-direction: column; }
  .context-bar select { width: 100%; }
  .module-strip, .review-cards { grid-template-columns: 1fr; }
  .outcome-card, .outcome-list--compact .outcome-card { grid-template-columns: 48px 1fr; gap: 10px; padding: 12px; }
  .comment-form { grid-template-columns: 1fr; }
  .audit-preview li { grid-template-columns: 1fr; gap: 2px; }
  .audit-timeline > article { grid-template-columns: 1fr; gap: 3px; }
  .audit-time { padding-bottom: 0; text-align: left; }
  .audit-dot { display: none; }
  .copy-document { padding: 24px 20px; }
  .user-menu__panel { right: -4px; width: min(270px, calc(100vw - 24px)); }
}

@media print {
  body { background: white; font-size: 10pt; }
  .sidebar, .topbar, .anchor-nav, .button, .view-tabs, .toast, .dialog, .inline-form, .comment-form { display: none !important; }
  .main-column { margin: 0; }
  .page { width: 100%; padding: 0; }
  .page-header { min-height: 0; margin-bottom: 16pt; }
  .panel { break-inside: avoid; box-shadow: none; }
  .table-scroll { overflow: visible; }
  .coverage-matrix, .data-table { min-width: 0; font-size: 8pt; }
  .sticky-col { position: static; }
  a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* CuKo 0.2 interface */
.nav-link--disabled { opacity: .48; cursor: default; }
.nav-link--disabled small { margin-left: auto; color: rgba(255,255,255,.55); font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; }
.topbar--v2 { grid-template-columns: minmax(230px, 1fr) auto minmax(205px, auto); }
.v2-context { display: grid; line-height: 1.25; }
.v2-context > span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.v2-context > strong { font-size: .95rem; }
.v2-context > small { font-size: .7rem; }
.status--gereed { color: var(--green); background: var(--green-soft); }
.status--gereed_voor_vaststelling { color: #765b0d; background: var(--yellow-soft); }
.panel--yellow-accent { border-top: 4px solid var(--yellow); }
.text-good { color: var(--green); }
.text-attention { color: #8a6710; }

.curriculum-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.curriculum-overview-card { display: grid; gap: 17px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 2px 10px rgba(20,48,60,.035); }
.curriculum-overview-card--empty { opacity: .78; }
.curriculum-overview-card__main { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.curriculum-overview-card h2 { margin: 0; }
.curriculum-overview-card p { margin-bottom: 0; color: var(--muted); }
.curriculum-overview-card__footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.open-count { display: grid; min-width: 48px; height: 48px; place-items: center; border-radius: 14px; color: #765b0d; background: var(--yellow-soft); font-size: 1.25rem; }
.open-count--clear { color: var(--green); background: var(--green-soft); }
.signal-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.signal-summary div { display: grid; gap: 2px; padding: 10px 12px; border-right: 1px solid var(--line); }
.signal-summary div:last-child { border-right: 0; }
.signal-summary dt { color: var(--muted); font-size: .68rem; }
.signal-summary dd { margin: 0; font-size: 1rem; font-weight: 850; }

.attention-stack { display: grid; gap: 8px; }
.attention-row { display: grid; grid-template-columns: 28px 1fr 20px; gap: 11px; align-items: center; padding: 12px 13px; border: 1px solid #eadca7; border-radius: 10px; color: var(--ink); background: #fffaf0; text-decoration: none; }
.attention-row:hover { color: var(--ink); background: var(--yellow-soft); }
.attention-row__mark { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--yellow); font-weight: 900; }
.attention-row span:nth-child(2) { display: grid; }
.attention-row small { margin-top: 2px; }

.year-stack { display: grid; gap: 24px; }
.study-year { padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 2px 10px rgba(20,48,60,.035); }
.study-year__header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); background: #f8fafb; }
.study-year__header h2 { margin: 0; }
.study-year__header > strong { color: var(--navy); font-size: 1.1rem; }
.period-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.period-pair + .period-pair { border-top: 1px solid var(--line); }
.period-panel { min-width: 0; }
.period-panel + .period-panel { border-left: 1px solid var(--line); }
.period-panel__header { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; color: var(--navy); background: var(--blue-soft); }
.period-panel__header strong { font-size: .9rem; }
.period-panel__header span { color: var(--muted); font-size: .68rem; }
.period-panel__body { display: grid; gap: 9px; min-height: 110px; padding: 12px; align-content: start; }
.period-empty { margin: auto 0; color: var(--muted); font-size: .8rem; text-align: center; }
.v2-unit-card { display: grid; gap: 4px; padding: 11px 12px; border: 1px solid #d5e3e7; border-left: 4px solid var(--blue); border-radius: 9px; color: var(--ink); background: #fbfdfe; text-decoration: none; }
.v2-unit-card:hover { color: var(--ink); background: var(--blue-soft); }
.v2-unit-card--continued { border-left-color: var(--yellow); }
.v2-unit-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.v2-unit-card > span:not(.v2-unit-card__top), .v2-unit-card > small { color: var(--muted); font-size: .72rem; }

.v2-tabs a.active { color: white; background: var(--navy); }
.validation-summary { padding: 14px 16px; border: 1px solid #ebc1bd; border-radius: 10px; background: var(--red-soft); }
.validation-summary ul { margin: 7px 0 0 20px; padding: 0; }
.derived-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.derived-grid article { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; }
.derived-grid h3 { margin-top: 7px; }
.derived-grid p { margin-bottom: 4px; }

.assessment-list { display: grid; gap: 10px; }
.assessment-row { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.25fr) 150px; gap: 18px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfc; }
.assessment-row h3 { margin-top: 8px; }
.assessment-row p { margin-bottom: 0; color: var(--muted); }
.assessment-row__links { display: grid; grid-template-columns: 100px 1fr; gap: 5px 9px; }
.assessment-row__links small { font-size: .67rem; text-transform: uppercase; }
.assessment-row__links strong { font-size: .78rem; }
.assessment-row__weight { display: grid; gap: 7px; justify-items: start; }
.assessment-row__weight > strong { font-size: 1.2rem; }
.assessment-row__weight form { margin-top: 6px; }
.v2-matrix { min-width: 1050px; }

.heatmap-key { width: 12px; height: 12px; border-radius: 3px; }
.heatmap-key--formative { background: var(--purple-soft); border: 1px solid #ab9bcf; }
.heatmap-key--summative { background: var(--green-soft); border: 1px solid #79a991; }
.heatmap-cell { padding: 0; text-align: center; }
.heatmap-cell a { display: grid; min-height: 64px; place-items: center; color: var(--ink); text-decoration: none; }
.heatmap-cell--empty { background: white; color: #a5b0b5; }
.heatmap-cell--formative { background: var(--purple-soft); }
.heatmap-cell--summative { background: var(--green-soft); }
.heatmap-cell--summative strong { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: white; background: var(--green); }
.heatmap-cell--formative strong { color: var(--purple); }

.pdca-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pdca-card--done { border-top: 3px solid var(--green); }

@media (max-width: 1050px) {
  .curriculum-overview-grid, .pdca-grid { grid-template-columns: 1fr; }
  .assessment-row { grid-template-columns: 1fr; }
  .assessment-row__weight { grid-template-columns: auto 1fr; align-items: center; }
}

@media (max-width: 700px) {
  .topbar--v2 { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .period-pair { grid-template-columns: 1fr; }
  .period-panel + .period-panel { border-top: 1px solid var(--line); border-left: 0; }
  .signal-summary { grid-template-columns: 1fr; }
  .signal-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-summary div:last-child { border-bottom: 0; }
  .curriculum-overview-card__footer { align-items: flex-start; flex-direction: column; }
  .derived-grid { grid-template-columns: 1fr; }
}
.heatmap-cell a small { display: block; margin-top: 2px; font-size: .62rem; }

/* CuKo 0.2 alpha.3 - toetsactiviteit editor */
.assessment-row__editor { grid-column: 1 / -1; margin-top: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.assessment-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.assessment-editor-card { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.assessment-editor-card h4 { margin: 3px 0 0; }
.form-hint { margin: 0; color: var(--muted); font-size: .76rem; }
.check-card--inline { align-self: end; min-height: 42px; }
.activity-link-list { display: grid; gap: 8px; }
.activity-link-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; align-items: end; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfc; }
.activity-link-check { display: flex; gap: 9px; align-items: flex-start; margin: 0; }
.activity-link-check span { display: grid; gap: 2px; }
.activity-link-check small { color: var(--muted); font-weight: 500; }
.activity-link-level { margin: 0; }
.notice-inline { display: grid; gap: 3px; padding: 12px 13px; border: 1px solid #eadca7; border-radius: 9px; background: #fffaf0; }
.notice-inline span { color: var(--muted); font-size: .78rem; }
.check-card small { display: block; margin-top: 3px; color: var(--muted); font-weight: 500; }

@media (max-width: 900px) {
  .assessment-editor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .activity-link-row { grid-template-columns: 1fr; }
}

/* CuKo 0.2 alpha.4 — Programma & kaders */
.section-stack { display: grid; gap: 18px; }
.section-heading { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 14px; }
.section-heading h2 { margin: 2px 0 4px; }
.section-heading p { margin: 0; color: var(--muted); max-width: 76ch; }
.plo-card { overflow: visible; }
.plo-level-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.plo-level { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.plo-level p { margin: 0; }
.plo-level textarea { width: 100%; min-height: 106px; }
.plo-level-links { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.plo-level-links > summary { padding: 12px 14px; }
.plo-level-links > form { padding: 0 14px 14px; }

@media (max-width: 760px) {
  .section-heading { align-items: start; flex-direction: column; }
  .plo-level-grid { grid-template-columns: 1fr; }
}


/* CuKo 0.2 alpha.5 — Bijlage 4 import/export */
.v2-unit-card--choice { border-left-color: var(--yellow); background: #fffdf3; cursor: default; }
.v2-unit-card--choice:hover { background: #fffaf0; }
.metric-grid--compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.signal-list--compact { margin: 0; }
.details-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.details-card > summary { cursor: pointer; padding: 13px 15px; font-weight: 700; color: var(--navy); }
.details-card > :not(summary) { margin-left: 15px; margin-right: 15px; }
.details-card > :last-child { margin-bottom: 15px; }
.notice--info { border-left: 4px solid var(--blue); }
@media (max-width: 1000px) { .metric-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .metric-grid--compact { grid-template-columns: 1fr; } }

/* CuKo 0.2 alpha.7 — curriculumversies vergelijken */
.comparison-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.comparison-summary article { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.comparison-summary small, .comparison-summary span { color: var(--muted); font-size: .7rem; }
.comparison-summary strong { color: var(--navy); font-size: 1.5rem; }
.comparison-summary--attention { border-top: 3px solid var(--yellow) !important; background: #fffdf5 !important; }
.impact-stack, .comparison-unit-list, .programme-change-list { display: grid; gap: 10px; }
.impact-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: start; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; }
.impact-row p { margin: 3px 0 0; color: var(--muted); }
.impact-row--aandacht { border-color: #eadca7; background: #fffaf0; }
.impact-row--positief { border-color: #b9dbc8; background: var(--green-soft); }
.impact-badge, .change-badge { display: inline-flex; width: max-content; align-items: center; border-radius: 999px; padding: 3px 8px; font-size: .65rem; font-weight: 850; letter-spacing: .03em; text-transform: uppercase; }
.impact-badge--aandacht { color: #765b0d; background: var(--yellow); }
.impact-badge--positief { color: var(--green); background: white; border: 1px solid #9cc8ad; }
.impact-badge--info { color: var(--navy); background: var(--blue-soft); }
.change-badge--added { color: var(--green); background: var(--green-soft); }
.change-badge--removed { color: #a33d36; background: var(--red-soft); }
.change-badge--changed { color: #765b0d; background: var(--yellow-soft); }
.comparison-unit { padding: 15px; border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 10px; background: #fff; }
.comparison-unit--added { border-left-color: var(--green); }
.comparison-unit--removed { border-left-color: #b9534d; }
.comparison-unit__header { display: flex; justify-content: space-between; gap: 12px; }
.comparison-unit__header h3 { display: inline-block; margin: 0 0 0 9px; vertical-align: middle; }
.comparison-unit__header small { display: block; margin-top: 5px; color: var(--muted); }
.comparison-change-list { display: grid; gap: 6px; margin-top: 12px; }
.comparison-change-list > div { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(100px, 1fr) 24px minmax(100px, 1fr); gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; background: #f8fafb; }
.comparison-change-list > div > span:first-child { color: var(--muted); font-size: .72rem; font-weight: 700; }
.comparison-change-list del { color: #8d5b59; text-decoration-thickness: 1px; }
.comparison-change-list ins { color: var(--green); font-weight: 700; text-decoration: none; }
.comparison-arrow { color: var(--muted); text-align: center; }
.comparison-subsection { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.comparison-subsection h4 { margin: 0 0 8px; }
.comparison-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 7px 0; }
.comparison-assessment { border-top: 1px solid #eef2f3; }
.comparison-assessment:first-of-type { border-top: 0; }
.comparison-assessment summary { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; padding: 9px 0; cursor: pointer; }
.comparison-assessment summary > span:last-child { color: var(--muted); font-size: .72rem; }
.programme-change { display: grid; grid-template-columns: 90px 70px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfc; }
.programme-change > span:last-child { color: var(--muted); font-size: .78rem; }
@media (max-width: 950px) { .comparison-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .comparison-summary { grid-template-columns: 1fr; }
  .impact-row, .programme-change { grid-template-columns: 1fr; }
  .comparison-change-list > div { grid-template-columns: 1fr; }
  .comparison-arrow { transform: rotate(90deg); }
}

/* CuKo 0.2 alpha.9 — kwaliteitscyclus, bronnen en begrippen */
.quality-progress { display: grid; gap: 5px; min-width: 220px; padding: 12px 14px; border: 1px solid #eadca7; border-radius: 10px; background: #fffaf0; }
.quality-progress span { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--navy); }
.quality-progress progress { width: 100%; accent-color: var(--green); }
.pdca-card form { margin-top: 8px; }
.pdca-card label > strong, .toetsweb-domain label > strong { display: block; margin-bottom: 2px; }
.pdca-card label > small, .toetsweb-domain label > small { display: block; margin-bottom: 6px; color: var(--muted); }
.toetsweb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.toetsweb-domain { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; }
.toetsweb-domain__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.toetsweb-domain__header h3 { margin: 2px 0 0; }
.toetsweb-history { display: grid; gap: 10px; }
.toetsweb-history > .record-list { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; }
.toetsweb-history .record-list > div { display: flex; justify-content: space-between; gap: 16px; }
.toetsweb-history p { margin: 7px 0 0; color: var(--muted); }
.source-catalog { display: grid; gap: 16px; }
.source-card { overflow: visible; }
.source-version-stack { display: grid; gap: 8px; margin-top: 14px; }
.source-version-stack .details-card > summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.source-version-body { display: grid; gap: 14px; padding-bottom: 14px; }
.source-version-body h3 { margin: 0 0 7px; }
.source-usage-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.source-usage-list li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfc; }
.source-usage-list span { color: var(--muted); font-size: .76rem; }
.terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.term-card h2 { margin-top: 2px; }
.term-use { margin-top: 14px; padding: 12px 13px; border-left: 4px solid var(--yellow); border-radius: 8px; background: #fffaf0; }
.term-use p { margin: 4px 0 0; }
.workflow-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: cuko-step; }
.workflow-steps li { display: grid; gap: 6px; padding: 14px; border: 1px solid #eadca7; border-radius: 10px; background: white; counter-increment: cuko-step; }
.workflow-steps li::before { content: counter(cuko-step); display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--yellow); font-weight: 900; }
.workflow-steps span { color: var(--muted); font-size: .78rem; }
.status--gearchiveerd { color: var(--muted); background: #eef1f2; }
@media (max-width: 1000px) {
  .toetsweb-grid, .terms-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .workflow-steps { grid-template-columns: 1fr; }
  .source-usage-list li, .toetsweb-history .record-list > div { flex-direction: column; }
}
