/* leerdingen.nl — richting "Map" */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 800; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #2f3b4c;
  --ink-2: #3a4554;
  --muted: #556070;
  --faint: #6b7686;
  --line: #9aa4b2;
  --line-2: #c9d0da;
  --blue: #e6ecf6;
  --paper: #ffffff;
  --orange: #eaa53a;
  --orange-l: #fdf0d6;
  --orange-m: #f7cf86;
  --red: #e0685c;
  --accent: #b8392b;
  --pen: #1f3a8a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, sans-serif; font-size: 17px; line-height: 1.55;
}
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.05; margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px); }

/* kop */
.top { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 24px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.logo .box { width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 5px; display: grid; place-items: center; font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: -0.4px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 8px 0; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; font-family: inherit; }
.pill:hover { color: var(--ink); background: var(--blue); }
.pill.dark { background: var(--ink); color: #fff; }
.pill.dark:hover { background: #1c2430; color: #fff; }
.pill.small { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.pill[disabled] { opacity: .45; cursor: not-allowed; }

/* intro */
.hero { display: flex; flex-wrap: wrap; gap: 20px 64px; align-items: flex-end; padding: clamp(32px, 6vw, 64px) 0 clamp(36px, 6vw, 64px); }
.hero h1 { flex: 1 1 420px; font-size: clamp(38px, 6vw, 62px); font-weight: 800; letter-spacing: -0.03em; }
.hero p { flex: 1 1 280px; max-width: 390px; margin: 0; color: var(--muted); }

/* mappen */
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 28px; align-items: end; }
.folder { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.tab { align-self: flex-start; background: var(--blue); border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; padding: 6px 16px 5px; font-size: 13px; font-weight: 700; letter-spacing: .02em; position: relative; top: 1.5px; }
.folder .body { background: var(--blue); border: 1.5px solid var(--ink); border-radius: 0 12px 12px 12px; padding: 22px; display: flex; flex-direction: column; gap: 18px; transition: transform .15s ease; }
a.folder:hover { color: var(--ink); }
a.folder:hover .body { transform: translateY(-3px); }
.preview { background: var(--paper); border-radius: 6px; padding: 18px 14px; display: flex; justify-content: center; }
.folder h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.folder p { margin: 0; font-size: 15px; color: var(--ink-2); }
.row-end { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.arrow { flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 20px; }
.folder.soon { color: #6b7686; }
.folder.soon .tab { background: transparent; border: 1.5px dashed #9aa4b2; border-bottom: 0; }
.folder.soon .body { background: transparent; border: 1.5px dashed #9aa4b2; min-height: 250px; justify-content: flex-end; }
.folder.soon h2 { font-size: 22px; font-weight: 700; }

/* arcering-streep */
.stripe { height: 14px; border-radius: 3px; margin-top: clamp(48px, 8vw, 80px); background: repeating-linear-gradient(135deg, var(--orange-m) 0 6px, var(--orange-l) 6px 11px); }
.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 18px 0 40px; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }

/* open map */
.open { margin-top: 8px; }
.open > .body { background: var(--blue); border: 1.5px solid var(--ink); border-radius: 0 14px 14px 14px; padding: clamp(18px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 32px; }
.intro { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.intro > div { flex: 1 1 320px; min-width: 0; }
.intro h1 { font-size: clamp(40px, 6vw, 60px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.intro p { margin: 0; color: var(--ink-2); max-width: 440px; }
.intro .preview { flex: 1 1 400px; padding: 24px 14px; }
.intro .preview img { width: 100%; max-width: 460px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.legend b { color: var(--ink); display: inline-block; min-width: 1.1em; text-align: center; }
.crumb { display: inline-block; margin-top: 8px; font-size: 15px; text-decoration: none; color: var(--muted); }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.option { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.option .hatch { height: 10px; border-radius: 2px; background: repeating-linear-gradient(135deg, #c3cad5 0 2px, transparent 2px 7px); }
.option .hatch.or { background: repeating-linear-gradient(135deg, var(--orange) 0 2px, transparent 2px 7px); }
.option h2 { font-size: 22px; font-weight: 800; }
.option p { margin: 0; font-size: 15px; color: var(--ink-2); flex-grow: 1; }
.option .files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.option .files a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; }
.option .files a:hover { background: var(--blue); color: var(--ink); }
.option .files small { font-weight: 500; color: var(--muted); }
.option.soon { background: transparent; border-style: dashed; border-color: #9aa4b2; color: var(--faint); }
.option.soon p { color: var(--faint); }
.badge { align-self: stretch; text-align: center; border-radius: 999px; padding: 10px 18px; font-weight: 700; background: var(--paper); font-size: 15px; }
.tipline { margin: 0; font-size: 14px; color: var(--muted); }

/* gewone tekstpagina */
.text { max-width: 640px; padding: clamp(24px, 5vw, 48px) 0 0; }
.text h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; }
.text h2 { font-size: 22px; font-weight: 800; margin: 32px 0 8px; }
.text p { margin: 0 0 14px; color: var(--ink-2); }

/* formulier */
.steps { display: flex; flex-direction: column; gap: 28px; }
.step { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; padding: clamp(18px, 3vw, 28px); }
.step h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; display: flex; gap: 10px; align-items: baseline; }
.step h2 .n { font-size: 14px; font-weight: 700; color: var(--muted); }
.step > p { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.fields { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 180px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; }
input[type=text], input[type=date], select {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; width: 100%;
  min-height: 46px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 8px;
}
input:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--blue); }
.vakken { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.vak { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 190px) 44px; gap: 10px; align-items: center; }
.vak .nr { font-size: 14px; font-weight: 700; color: var(--muted); text-align: right; }
.vak .weg { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid transparent; background: none; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.vak .weg:hover { border-color: var(--line); color: var(--accent); }
.vak-kop { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 190px) 44px; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.warn { font-size: 14px; color: var(--accent); margin: 10px 0 0; font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* live voorbeeld */
.live { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 6px; background: #fff; padding: 2px; }
.live table { border-collapse: collapse; font-size: 11px; min-width: 640px; width: 100%; table-layout: fixed; }
.live th, .live td { border: 1px solid #b9c1cc; height: 30px; text-align: center; padding: 0; position: relative; }
.live th { font-weight: 700; height: 22px; }
.live td.vn, .live th.vn { width: 96px; text-align: left; padding: 0 6px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #fafbfc; }
.live .we { background: var(--blue); }
.live .sep { border-right: 2px solid var(--ink); }
.live .dt { color: var(--muted); font-size: 10px; height: 20px; }
.live .t { font-size: 15px; font-weight: 800; color: var(--pen); }
.live .k { position: absolute; right: 1px; bottom: 1px; font-size: 9px; font-weight: 700; color: var(--pen); background: #fff; padding: 0 2px; border-radius: 2px 0 0 0; line-height: 1.3; }
.live .r { background: repeating-linear-gradient(135deg, #f3b2ab 0 2px, #fbe3e0 2px 5px); }
.live .o { background: repeating-linear-gradient(135deg, #f7cf86 0 2px, #fdf0d6 2px 5px); }
.ready { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.done { margin-top: 18px; padding-top: 18px; border-top: 1.5px dashed var(--line); }
.done[hidden] { display: none; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .vak-kop { display: none; }
  .vak { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "naam weg" "datum weg"; row-gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
  .vak .nr { display: none; }
  .vak .naam { grid-area: naam; }
  .vak .datum { grid-area: datum; }
  .vak .weg { grid-area: weg; align-self: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .top, .foot, .stripe { display: none; } }

/* Doneren */
.gift { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; margin-top: 28px; padding: 22px 26px; border: 1.5px dashed var(--line); border-radius: 10px; }
.gift h2 { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.gift p { margin: 0; max-width: 560px; font-size: 15px; color: var(--ink-2); }
.text .actie { margin: 22px 0 8px; }
.text .lijst { margin: 0 0 14px; padding-left: 22px; color: var(--ink-2); }
.text .lijst li { margin: 4px 0; }
.text .actie .badge { display: inline-block; border: 1.5px dashed var(--line); color: var(--muted); }

/* Inloggen: nog niet beschikbaar */
.nav a.pill.later { padding: 6px 16px; border: 1.5px dashed var(--line); color: var(--muted); background: var(--paper); font-weight: 600; }
.nav a.pill.later:hover { background: var(--blue); color: var(--ink); }
.nav a.pill.later small { font-size: 12px; font-weight: 500; color: var(--faint); }

/* ===== Nieuwe mappen (december 2026) ===== */
:root { --groen: #e3efe4; --groen-d: #2f6b45; }

/* Startpagina: legenda en groene docentenmap */
.maplegenda { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -8px 0 28px; font-size: 14px; color: var(--muted); }
/* Legenda: een klein mapje in dezelfde kleur als de mappen */
.maplegenda .stip { position: relative; width: 26px; height: 18px; margin-top: 5px; border: 1.5px solid var(--ink); border-radius: 0 4px 4px 4px; background: var(--blue); display: inline-block; flex: none; }
.maplegenda .stip::before { content: ""; position: absolute; left: -1.5px; top: -6px; width: 12px; height: 5px; border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 3px 3px 0 0; background: var(--blue); }
.maplegenda .stip.groen, .maplegenda .stip.groen::before { background: var(--groen); }
.maplegenda .paar { font-size: 15px; color: var(--ink-2); }
.maplegenda .paar { display: inline-flex; align-items: center; gap: 8px; margin-right: 14px; white-space: nowrap; }
.folder.docent .tab, .folder.docent .body, .open.docent > .body { background: var(--groen); }
.folder.docent .arrow { background: var(--groen-d); }
.docentregel { color: var(--groen-d); }
.docentregel a { color: var(--groen-d); }
.vandocent { margin: -6px 0 18px; padding: 10px 14px; border-radius: 8px; background: var(--groen); border: 1.5px solid var(--groen-d); font-size: 15px; font-weight: 500; }
.vandocent[hidden] { display: none; }
.prive { display: inline; }
.tekstknop { font: inherit; font-size: 14px; font-weight: 600; background: none; border: 0; padding: 8px 4px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tekstknop:hover { color: var(--accent); }
.lab { font-size: 13px; font-weight: 700; display: block; margin-bottom: 6px; }
.step.uitleg h2 { margin-bottom: 10px; }
.lijst { margin: 0; padding-left: 22px; color: var(--ink-2); font-size: 15px; }
.lijst li { margin: 6px 0; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .92em; background: var(--blue); padding: 1px 5px; border-radius: 4px; }

/* Wat moet ik halen? */
.cijferlijst { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.cijferrij, .cijferkop { display: grid; grid-template-columns: 28px minmax(0, 140px) 20px minmax(0, 110px) 44px; gap: 10px; align-items: center; }
.cijferkop { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.cijferrij .nr { font-size: 14px; font-weight: 700; color: var(--muted); text-align: right; }
.cijferrij .maal { color: var(--muted); text-align: center; }
.cijferrij .weg, .examenrij .weg { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid transparent; background: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.cijferrij .weg:hover { border-color: var(--line); color: var(--accent); }
.uitkomst { margin-top: 22px; padding: 20px 22px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--blue); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.uitkomst.ok { background: var(--blue); }
.uitkomst.let { background: var(--orange-l); }
.uitkomst .groot { font-size: clamp(40px, 7vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.uitkomst .groot[hidden] { display: none; }
.uitkomst p { margin: 0; max-width: 460px; }

/* Voor de klas */
.deel { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-start; }
.qr { width: 180px; flex: none; background: #fff; border: 1.5px solid var(--ink); border-radius: 8px; padding: 8px; }
.qr svg, .printqr svg { display: block; width: 100%; height: auto; }
.deeltekst { flex: 1 1 320px; min-width: 0; }
.deeltekst input { font-size: 14px; }
.klasprint { display: none; }

/* Leerkaartjes */
textarea { font: inherit; font-size: 16px; color: var(--ink); width: 100%; padding: 12px; border: 1.5px solid var(--line); border-radius: 8px; resize: vertical; line-height: 1.6; background: #fff; }
textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--blue); }
.lijstbalk { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; margin-top: 8px; }
.lijstknoppen { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.lijstknoppen label.tekstknop { display: inline-block; }
.option .check { font-size: 15px; }
.oefen[hidden] { display: none; }
.voortgang { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 12px; min-height: 1.5em; }
.kaart { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 12px; padding: clamp(24px, 5vw, 48px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; min-height: 320px; justify-content: center; }
.kaart[hidden] { display: none; }
.kaart .voor { font-size: clamp(24px, 4vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 0; overflow-wrap: anywhere; }
.kaart .achter { font-size: clamp(20px, 3.2vw, 28px); color: var(--pen); font-weight: 700; margin: 0; padding-top: 16px; border-top: 1.5px dashed var(--line); min-width: 60%; overflow-wrap: anywhere; }
.kaart .achter[hidden] { display: none; }
.kaart small { font-weight: 500; font-size: 12px; opacity: .7; }
.knoppen { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.knoppen[hidden] { display: none; }
.oordeel.weet { background: var(--blue); }
.oordeel.niet { background: var(--orange-l); }

/* Weekplanner */
.option.breed { grid-column: span 2; }
@media (max-width: 640px) { .option.breed { grid-column: auto; } }
.weekform { display: flex; flex-direction: column; gap: 14px; }

/* Focusklok */
.klokvak { text-align: center; }
.keuze { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.keuze label { cursor: pointer; }
.keuze input { position: absolute; opacity: 0; }
.keuze span { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; }
.keuze input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.keuze input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.klok { max-width: 520px; margin: 0 auto; }
.klok .fase { margin: 0; font-weight: 700; color: var(--muted); font-size: 15px; letter-spacing: .02em; }
.klok .tijd { margin: 4px 0 14px; font-size: clamp(72px, 16vw, 132px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.balkvak { height: 22px; border: 1.5px solid var(--ink); border-radius: 6px; padding: 3px; background: #fff; }
.balk { height: 100%; border-radius: 3px; background: repeating-linear-gradient(135deg, var(--orange) 0 2px, transparent 2px 7px); transition: width .25s linear; }
.klok.pauze .balk { background: repeating-linear-gradient(135deg, #9aa4b2 0 2px, transparent 2px 7px); }
.klok.pauze .tijd { color: var(--muted); }
.taaktoon { min-height: 1.5em; margin: 14px 0 0; font-weight: 700; }
.rondes { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.rondes i { width: 12px; height: 12px; border-radius: 999px; border: 1.5px solid var(--ink); }
.rondes i.af { background: var(--ink); }
.melding { min-height: 1.5em; margin: 14px 0 0; color: var(--ink-2); }

/* Aantekenbladen */
.bladen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.blad { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; padding: 18px; display: flex; gap: 18px; align-items: flex-start; }
.blad h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.blad p { margin: 0 0 8px; font-size: 15px; color: var(--ink-2); }
.blad .note { margin: 0 0 14px; }
.bladvoorbeeld { flex: none; width: 110px; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; box-shadow: 0 1px 0 var(--line-2); }
.bladvoorbeeld.liggend { width: 140px; }
.bladvoorbeeld:hover { border-color: var(--ink); }
@media (max-width: 420px) { .blad { flex-direction: column; } }

/* Examenwegwijzer */
.examenrij, .examenkop { grid-template-columns: 28px minmax(0, 1fr) minmax(0, 170px) 72px 44px; }
.examenrij select { min-width: 0; }
.schema { margin-top: 22px; }
.schema h3 { font-size: 16px; font-weight: 800; margin: 18px 0 6px; }
.takenlijst { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.takenlijst li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.takenlijst .vink { width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 3px; flex: none; align-self: center; }
.takenlijst .wanneer { color: var(--muted); min-width: 150px; }
.takenlijst li.ce { font-weight: 700; background: repeating-linear-gradient(135deg, var(--orange-l) 0 6px, #fff 6px 11px); }
@media (max-width: 560px) {
  .examenrij { grid-template-columns: minmax(0, 1fr) 72px 44px; grid-template-areas: "naam naam weg" "datum aantal weg"; }
  .examenrij .naam { grid-area: naam; } .examenrij .datum { grid-area: datum; } .examenrij .aantal { grid-area: aantal; } .examenrij .weg { grid-area: weg; }
  .cijferrij, .cijferkop { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 90px) 44px; }
  .cijferrij .nr, .cijferkop span:first-child { display: none; }
}

/* Printen: alleen wat op papier hoort */
@media print {
  .crumb, .gift, .intro .preview, .options, .tipline, .ready, #erbij, .vak .weg, .examenrij .weg, .maplegenda { display: none !important; }
  .open > .body, .step { border: 0; background: none; padding: 0; }
  body.klasprint-aan main > *:not(.klasprint) { display: none !important; }
}
@media print {
  .heeft-klasprint main > *:not(.klasprint) { display: none !important; }
  .heeft-klasprint .klasprint { display: block; text-align: center; padding-top: 10mm; }
  .klasprint h1 { font-size: 30pt; font-weight: 800; letter-spacing: -0.02em; }
  .klasprint .printklas { font-size: 20pt; font-weight: 700; margin: 4mm 0; }
  .klasprint .printqr { width: 90mm; margin: 8mm auto; }
  .klasprint p { font-size: 13pt; max-width: 150mm; margin: 0 auto 4mm; }
  .klasprint ul { list-style: none; padding: 0; font-size: 13pt; margin: 6mm auto; max-width: 120mm; text-align: left; }
  .klasprint li { padding: 2mm 0; border-bottom: .3mm solid #c9d0da; }
  .klasprint .printvoet { margin-top: 10mm; font-weight: 800; }
}
/* Startpagina: alle mappen even hoog, lange titels netjes afbreken */
.folders { align-items: stretch; }
.folders .folder .body { flex: 1 1 auto; }
.folders .folder .row-end { margin-top: auto; }
.folders .folder.soon .body { flex: none; }
.row-end > div { min-width: 0; }
.folder h2, .intro h1 { overflow-wrap: break-word; }
/* Verborgen is echt verborgen, ook bij knoppen en blokken met een eigen display */
[hidden] { display: none !important; }
@media print { .klasprint p { text-align: center; } }

/* ===== Ideeen ===== */
.folders .folder.soon.idee .body { flex: 1 1 auto; min-height: 0; }
.folder.soon.idee .arrow { background: transparent; color: #6b7686; border: 1.5px dashed #9aa4b2; }
.folder.soon.idee:hover .body { border-color: var(--ink); }
.folder.soon.idee:hover { color: var(--ink); }
.keuze.links { justify-content: flex-start; margin: 12px 0 18px; }
#ideeform .actie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
#ideeform .fout { margin: 0; color: #a23b2a; font-weight: 600; }
#ideeform .klaar { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; padding: 20px 24px; }
#ideeform .klaar h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
#ideeform .klaar p { margin: 0 0 10px; }
.foot { align-items: center; }
.foot .ideeknop { font-size: 14px; min-height: 36px; padding: 6px 16px; color: var(--ink); }
