/* Cursist: overzicht, opleidingspagina, de speler en de bloktypes, in de recepten van het ontwerp.
   Alleen tokens uit base.css; een losse kleur staat alleen in @media print. */

/* ---------- overzicht en opleidingspagina ---------- */

.hub { display: flex; flex-direction: column; gap: 16px; margin: 36px 0 0; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.hub-foot { margin: 40px 0 0; font-size: var(--fs-13); }
.version-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.changelog-release { margin-top: 16px; }
.changelog-release summary { cursor: pointer; font-size: var(--fs-16); }
.changelog-release[open] summary { margin-bottom: 12px; }
.changelog-code { margin: 8px 0 0; padding: 12px 14px; overflow-x: auto; white-space: pre; background: var(--surface-sunken); border-radius: var(--radius-md); font-size: var(--fs-13); }
.changelog-code code { padding: 0; background: none; }
.course-hero h1 { max-width: 24ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 22px; }
.hero-progress { flex: 1 1 260px; max-width: 420px; }
.hero-progress p { margin: 8px 0 0; font-size: var(--fs-14); }
.course-intro { margin-top: 20px; }
.course-intro .box { margin-top: 20px; }
.course-note { margin: 16px 0 0; font-size: var(--fs-14); }

/* Eén kaart voor een opleiding of een module: 16:9 vlak met nummer en blob, chips, titel, tekst, status, balk, knop. */
.mod-card { display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); overflow: hidden; }
.mod-card-media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-inverse); overflow: hidden; }
.mod-card-num { position: absolute; left: 22px; bottom: 16px; font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: var(--track-tight); color: var(--orange-500); }
.mod-card-blob { position: absolute; right: -50px; bottom: -60px; width: 200px; height: 200px; border-radius: 42% 58% 61% 39% / 45% 38% 62% 55%; background: var(--accent); opacity: .22; }
.mod-card-lock { position: absolute; inset: 0; display: grid; place-content: center; background: var(--overlay-dark); }
.mod-card-lock-text { padding: 7px 14px; border-radius: var(--radius-pill); background: var(--surface-page); color: var(--grey-800); font-size: var(--fs-13); font-weight: 700; }
.mod-card-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 22px 24px; }
.mod-card-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-card-title { margin: 0; font-size: 22px; font-weight: 800; }
.mod-card-link { color: var(--text-heading); text-decoration: none; }
.mod-card-link:hover { text-decoration: underline; }
.mod-card-text { margin: 0; font-size: 15px; line-height: 1.6; }
.mod-card-foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.mod-card-status { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-13); }
.mod-card-state { font-weight: 700; color: var(--text-heading); }
.mod-card-pct { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.mod-card-foot .btn { align-self: flex-start; }
.mod-card-note { margin: 0; font-size: var(--fs-13); }
.mod-card.locked .mod-card-title { color: var(--text-muted); }

/* ---------- speler: kopregel, Inhoud, voorlezen, kaarten, knoppenbalk ---------- */

.player { padding-bottom: 96px; }
.player-col { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.player-head { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; }
.player-eyebrow { flex: 1 1 200px; min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.player-tools .btn + .btn { margin-left: 0; }
.player-counter { margin-right: 4px; font-size: var(--fs-13); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.player-toc { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(400px, 100%); max-height: 60vh; overflow: auto; padding: 8px; background: var(--surface-card); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); }
.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc-btn { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--text-body); font-size: var(--fs-14); line-height: 1.4; text-align: left; cursor: pointer; }
.toc-btn:hover { background: var(--surface-muted); }
.toc-btn[aria-current="step"] { background: var(--surface-accent-soft); color: var(--text-heading); font-weight: 700; }
.toc-dot { flex: 0 0 18px; height: 18px; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--grey-300); border-radius: 50%; font-size: var(--fs-11); font-weight: 800; color: var(--text-on-dark); }
.toc-item.done .toc-dot { background: var(--orange-500); border-color: var(--orange-500); }
.toc-item.done .toc-dot::before { content: "✓"; }
.toc-btn[aria-current="step"] .toc-dot { border-color: var(--orange-500); }

.reader { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.reader .btn + .btn { margin-left: 0; }
.reader select { flex: 1 1 140px; max-width: 100%; min-width: 0; padding: 8px 12px; font-size: var(--fs-14); }
.reader-status { flex-basis: 100%; min-width: 0; font-size: var(--fs-13); color: var(--text-muted); }
.reader-status:empty { display: none; }
.reading { background: var(--surface-accent-soft); outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: var(--radius-sm); }
.card.dark .reading, .box.les .reading { background: var(--overlay-accent); }

.stage, .screen { display: flex; flex-direction: column; gap: 20px; }
.card.flow { padding: 32px; }
.card.flow.head { padding: 24px 32px; }
.card.flow > .block + .block { margin-top: 20px; }
.card.flow:not(.head):not(:has(> .block:not([hidden]))) { display: none; }
.screen-title { margin: 0 0 18px; font-size: 28px; font-weight: 800; line-height: 1.2; }
.card.flow.head .screen-title { margin-bottom: 0; }
.screen-lead { margin: -8px 0 18px; font-size: 17px; line-height: 1.6; color: var(--text-muted); }

.navbtns { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--surface-card); border-top: 1px solid var(--border); }
.navbtns-inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.navbtns-hint { flex: 1; margin: 0; text-align: center; font-size: var(--fs-13); color: var(--text-muted); }
.navbtns-hint:empty { display: none; }
.navbtns .btn + .btn { margin-left: 0; }

/* ---------- bloktypes: tekst, kaders, tabel, uitklap, vergelijking, checklist, citaat ---------- */

.card.intro { padding: 36px 32px; }
.intro-title { margin: 0 0 16px; font-size: 36px; font-weight: 800; line-height: 1.1; }
.intro-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.intro-objectives-title { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--text-heading); }
.intro-objectives { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 9px; font-size: var(--fs-16); line-height: 1.55; }

.player .prose { font-size: 17px; }
.player .prose h3 { margin: 24px 0 10px; font-size: var(--fs-20); font-weight: 800; letter-spacing: -.01em; }
.player .prose > h3:first-child { margin-top: 0; }

.box { padding: 20px 22px; border-radius: 12px; }
.box-title { display: block; margin: 0 0 8px; font-size: var(--fs-13); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.box .prose { font-size: var(--fs-16); line-height: 1.6; color: var(--text-heading); }
.box.afspraak { background: var(--surface-accent-soft); }
.box.afspraak .box-title { color: var(--text-accent); }
.box.known { background: var(--surface-action-soft); }
.box.known .box-title { color: var(--info-text); }
.box.practice { background: var(--surface-muted); border: 1px solid var(--border); }
.box.practice .box-title { color: var(--text-muted); }
.box.les { padding: 24px 26px; background: var(--surface-inverse); border: 1px solid var(--inverse-border); border-radius: var(--radius-xl); --focus-ring: var(--focus-ring-on-dark); --focus-shadow: var(--focus-shadow-on-dark); }
.box.les .box-title { color: var(--orange-500); letter-spacing: var(--track-pill); }
.box.les .prose, .box.les .prose a, .box.les .prose h3 { color: var(--text-on-dark); }
.box.les .prose code { background: var(--overlay-light); color: var(--text-on-dark); }

.tablewrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.tablewrap th, .tablewrap td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.tablewrap thead th { background: var(--surface-muted); color: var(--text-muted); font-size: var(--fs-12); font-weight: 700; letter-spacing: var(--track-pill); text-transform: uppercase; }
.tablewrap tbody tr:last-child > * { border-bottom: 0; }
.tablewrap.compare tbody th { width: 26%; font-weight: 700; color: var(--text-heading); }

details { padding: 14px 18px; background: var(--surface-muted); border: 1px solid var(--border); border-radius: 12px; }
summary { cursor: pointer; font-size: var(--fs-16); font-weight: 700; color: var(--text-heading); }
details[open] summary { margin-bottom: 10px; }
details .prose { font-size: 15px; }

.vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.vs-panel { padding: 20px 24px; border-radius: 12px; }
.vs-panel strong { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.vs-panel p { margin: 0; font-size: var(--fs-16); line-height: 1.6; color: var(--text-heading); }
.vs-panel.ok { background: var(--ok-soft); }
.vs-panel.ok strong { color: var(--ok-text); }
.vs-panel.ok strong::before { content: "✓ "; }
.vs-panel.bad { background: var(--bad-soft); }
.vs-panel.bad strong { color: var(--bad-text); }
.vs-panel.bad strong::before { content: "✕ "; }
.vs-panel.neutral { background: var(--surface-muted); border: 1px solid var(--border); }

.checklist-block h3 { margin: 0 0 12px; font-weight: 800; }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-16); line-height: 1.5; cursor: pointer; }
.checklist input { margin-top: 3px; }

.quote { margin: 0; padding: 18px 20px; background: var(--surface-sunken); border-radius: 12px; }
.quote-label { margin: 0 0 6px; font-size: var(--fs-13); font-weight: 700; color: var(--text-accent); }
.quote-text { margin: 0; font-size: 18px; line-height: 1.5; font-style: italic; color: var(--text-heading); }

/* ---------- bloktypes: vraagkaarten, opties, oefeningen ---------- */

.card.mc, .card.choice, .card.exam-q, .card.casus, .card.reflect, .card.inter, .card.assignment, .card.exam-start { padding: 28px 32px; }
.card-intro { margin: 0 0 18px; font-size: var(--fs-16); line-height: 1.6; color: var(--text-muted); }
.question { display: block; margin: 0 0 18px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.4; color: var(--text-heading); }
.quiz .question { font-size: 22px; }

.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: 12px; background: var(--surface-card); color: var(--text-body); font-size: var(--fs-16); line-height: 1.5; text-align: left; cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.opt:hover:not(:disabled) { border-color: var(--border-input-hover); }
.opt:disabled { cursor: default; }
.opt-letter { flex: 0 0 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface-sunken); color: var(--text-body); font-size: var(--fs-14); font-weight: 700; line-height: 1; }
.opt-text { flex: 1; min-width: 0; }
.opt-note { margin-left: 8px; font-size: var(--fs-13); font-weight: 600; white-space: nowrap; }
.opt.sel { background: var(--surface-action-soft); border-color: var(--action); }
.opt.sel .opt-letter { background: var(--action); color: var(--on-action); }
.opt.picked.ok { background: var(--ok-soft); border-color: var(--success-500); }
.opt.picked.ok .opt-letter { background: var(--success-500); color: var(--text-on-dark); }
.opt.picked.bad { background: var(--bad-soft); border-color: var(--danger-500); }
.opt.picked.bad .opt-letter { background: var(--danger-500); color: var(--text-on-dark); }
.opt.ok:not(.picked) { border-color: var(--success-500); }
.opt.ok:not(.picked) .opt-letter { background: var(--ok-soft); color: var(--ok-text); }
.opt.ok .opt-note { color: var(--ok-text); }
.opt.bad .opt-note { color: var(--bad-text); }
.opts + .fb, .opts + .explain { margin-top: 6px; }
/* De uitleg na een antwoord (B100): jouw keuze, het juiste antwoord, de andere antwoorden uitklapbaar. */
.explain { display: flex; flex-direction: column; gap: 8px; }
.explain .fb { margin-top: 0; }
.explain-more ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.55; }
.explain-more strong { color: var(--text-heading); }

.reflect .field-label { margin-bottom: 6px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.4; }
.reflect textarea { min-height: 140px; }

.casus h3, .assignment h3 { margin: 0 0 14px; font-size: var(--fs-24); font-weight: 800; }
.casus-scenario { padding: 18px 20px; background: var(--surface-sunken); border-radius: 12px; }
.casus-scenario .prose { font-size: 17px; line-height: 1.6; color: var(--text-heading); }
.casus-step { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }

.inter h3 { margin: 0 0 6px; font-weight: 800; }
.citem { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; }
.citem + .citem { margin-top: 10px; }
.citem-text { margin: 0 0 10px; font-size: var(--fs-16); font-weight: 600; line-height: 1.5; color: var(--text-heading); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { padding: 8px 14px; border: 2px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--text-body); font-size: var(--fs-14); font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.seg button:hover { border-color: var(--border-input-hover); }
.seg button[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--on-action); }
.seg button[aria-pressed="true"].ok { background: var(--success-500); border-color: var(--success-500); color: var(--text-on-dark); }
.seg button[aria-pressed="true"].bad { background: var(--danger-500); border-color: var(--danger-500); color: var(--text-on-dark); }
.seg button.answer:not([aria-pressed="true"]) { border-color: var(--success-500); color: var(--ok-text); }
.chk { margin-top: 16px; }
.chk + .fb { margin-top: 14px; }

.tree-q { margin: 0 0 6px; font-size: 18px; font-weight: 800; line-height: 1.4; color: var(--text-heading); }
.tree-hint { margin: 0 0 14px; font-size: 15px; color: var(--text-muted); }
.tree-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tree-row .btn + .btn { margin-left: 0; }
.ibody .fb { margin-top: 0; }
.ibody .fb + .tree-row { margin-top: 16px; }

/* ---------- bloktypes: toets, uitslag, resultaat, opdracht ---------- */

.exam { display: flex; flex-direction: column; gap: 20px; }
.exam-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.exam-text { margin: 0 0 20px; font-size: 17px; line-height: 1.6; }
.exam-progress { margin: 0; font-size: var(--fs-14); }
.exam-commit { margin-top: 16px; }
.exam-q:focus, .exam-start:focus { outline: none; }
.exam > .exam-error { margin-top: 0; }

.result-card { padding: 32px; }
.result-top { margin-bottom: 22px; }
.result-top .eyebrow { margin-bottom: 8px; }
.result-name { margin: 0 0 4px; font-size: var(--fs-20); font-weight: 800; color: var(--text-on-dark); }
.result-main { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.result-score { display: flex; flex-direction: column; align-items: center; min-width: 120px; padding: 12px 0; }
.result-num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: var(--track-tight); color: var(--orange-500); font-variant-numeric: tabular-nums; }
.result-of { margin-top: 6px; font-size: var(--fs-14); color: var(--text-on-dark-muted); }
.result-body { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.result-meta { margin: 0; font-size: var(--fs-14); color: var(--text-on-dark-muted); }
.result-text { margin: 0; font-size: 17px; line-height: 1.6; }
.result-rows { align-self: stretch; margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.result-row { display: flex; gap: 16px; margin: 0; padding: 14px 18px; background: var(--overlay-light); border-radius: 12px; }
.result-row dt { flex: 0 0 56px; font-size: 15px; font-weight: 800; letter-spacing: var(--track-pill); color: var(--orange-500); }
.result-row dd { margin: 0; font-size: var(--fs-16); line-height: 1.5; }
.result-line { margin: 0; font-size: var(--fs-14); color: var(--text-on-dark-muted); }
.resultwrap { display: flex; flex-direction: column; gap: 20px; }
.resultwrap-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.resultwrap-actions .btn + .btn { margin-left: 0; }
.result-reflection h3 { margin: 0 0 10px; font-weight: 800; }
.result-reflection-text { margin: 0; white-space: pre-wrap; overflow-wrap: break-word; font-size: var(--fs-16); line-height: 1.6; }

.assignment-box { margin-top: 20px; padding: 20px 22px; background: var(--surface-muted); border: 1px solid var(--border); border-radius: 12px; }
.assignment-box-title { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--text-heading); }
.assignment-box .prose { font-size: var(--fs-16); }
.assignment-box ul, .assignment-box ol { display: flex; flex-direction: column; gap: 8px; }
.submission { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.submission h3 { margin: 0; font-weight: 800; }
.submission .fb { margin: 0; }
.submission textarea { min-height: 220px; }
.submission .btn { align-self: flex-start; }

/* ---------- bloktype: hotspot (signalen zoeken, 0.22.0, B101) ---------- */
/* Niet alleen kleur: een gemarkeerd onderdeel krijgt een doorgetrokken onderstreping en een rand,
   een oordeel staat in woorden in een label ernaast. Geen groen voor WhatsApp: groen is "gevonden". */

.hs-how { margin: 0 0 16px; font-size: var(--fs-14); line-height: 1.5; color: var(--text-muted); }
.hs-caption { margin: 0 0 6px; font-size: var(--fs-12); font-weight: 700; letter-spacing: var(--track-pill); text-transform: uppercase; color: var(--text-muted); }
.hs-msg { border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface-card); color: var(--text-heading); font-size: var(--fs-16); }
.hs-line, .hs-par { margin: 0; line-height: 2; overflow-wrap: anywhere; }
.hs-par + .hs-par { margin-top: 6px; }
.hs-part { padding: 2px 3px; border-radius: 6px; cursor: pointer; text-decoration: underline dotted var(--border-strong); text-underline-offset: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hs-part:hover { background: var(--surface-sunken); }
.hs-part[aria-pressed="true"] { background: var(--surface-action-soft); box-shadow: inset 0 0 0 2px var(--action); text-decoration: underline solid var(--action) 2px; }
.hs-part.found { background: var(--ok-soft); box-shadow: inset 0 0 0 2px var(--success-500); text-decoration: none; }
.hs-part.wrong { background: var(--bad-soft); box-shadow: inset 0 0 0 2px var(--danger-500); text-decoration: none; }
.hs-part.missed { background: var(--warn-soft); box-shadow: inset 0 0 0 2px var(--orange-500); text-decoration: underline dashed var(--orange-700) 2px; }
.hs-link { color: var(--text-link); text-decoration-style: solid; }
.hs-addr, .hs-when { font-size: var(--fs-13); font-weight: 400; color: var(--text-body); }
.hs-pill { display: inline-block; max-width: 100%; margin: 0 4px 0 0; padding: 0 8px; border-radius: var(--radius-pill); font-size: var(--fs-12); font-weight: 700; line-height: 1.7; white-space: normal; }
.hs-pill.ok { background: var(--ok-soft); color: var(--ok-text); }
.hs-pill.warn { background: var(--warn-soft); color: var(--warn-text); }
.hs-pill.bad { background: var(--bad-soft); color: var(--bad-text); }
.hs-avatar { flex: none; display: inline-grid; place-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--action); color: var(--on-action); font-size: var(--fs-14); font-weight: 800; }
.hs-teams { display: flex; align-items: flex-start; gap: 14px; padding: 18px; }
.hs-main, .hs-lines { flex: 1; min-width: 0; }
.hs-from { font-weight: 700; }
.hs-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--surface-muted); border-bottom: 1px solid var(--border); border-radius: 12px 12px 0 0; }
.hs-key { display: inline-block; min-width: 6.5em; font-size: var(--fs-13); color: var(--text-muted); }
.hs-body { padding: 14px 18px; }
.hs-whatsapp { background: var(--surface-sunken); }
.hs-chat { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
.hs-par.hs-bubble { max-width: 85%; margin: 0; padding: 4px 12px; background: var(--surface-card); border-radius: 10px; box-shadow: var(--shadow-sm); }
.hs-count { margin: 12px 0 0; font-size: var(--fs-14); color: var(--text-muted); }
.hs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hs-actions .chk { margin-top: 0; }
.hs-actions .btn + .btn { margin-left: 0; }
.hs-list { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.hs-item { padding: 12px 14px; border-left: 4px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-muted); line-height: 1.55; }
.hs-item.found { border-left-color: var(--success-500); }
.hs-item.missed { border-left-color: var(--orange-500); }
.hs-item.wrong { border-left-color: var(--danger-500); }
.hs-verdict { color: var(--text-heading); }
.hs-quote { font-style: italic; }
.hs-more { margin-top: 14px; }
/* Op een afbeelding (B123): de vlakken liggen in procenten over de afbeelding (inset via CSSOM, zie
   hotspot.js) en zijn onzichtbaar tot de muis erover gaat of ze gemarkeerd zijn, zodat de cursist echt
   zoekt. De knoppen eronder zijn de bediening: minstens 44 px hoog. Het vak om de afbeelding is
   precies zo breed als de afbeelding, anders zouden de procenten niet kloppen. */
.hs-figure { margin: 0 0 14px; }
.hs-stage { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; }
.hs-stage img { display: block; max-width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--media-backdrop); }
.hs-area { position: absolute; border-radius: var(--radius-md); cursor: pointer; }
.hs-area:hover, .hs-area.focus { outline: 2px dashed var(--action); outline-offset: 1px; }
.hs-area.on { background: var(--overlay-accent); box-shadow: inset 0 0 0 3px var(--action); }
.hs-area.found { box-shadow: inset 0 0 0 3px var(--success-500); }
.hs-area.wrong { box-shadow: inset 0 0 0 3px var(--danger-500); }
.hs-area.missed { box-shadow: inset 0 0 0 3px var(--orange-500); }
.hs-badge { position: absolute; top: -10px; right: -10px; min-width: 22px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--surface-card); color: var(--text-heading); box-shadow: var(--shadow-sm); font-size: var(--fs-12); font-weight: 700; line-height: 22px; text-align: center; }
.hs-area.found .hs-badge { background: var(--ok-soft); color: var(--ok-text); }
.hs-area.wrong .hs-badge { background: var(--bad-soft); color: var(--bad-text); }
.hs-area.missed .hs-badge { background: var(--warn-soft); color: var(--warn-text); }
.hs-rows { display: flex; flex-direction: column; gap: 8px; }
.hs-row { display: block; width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-card); color: var(--text-heading); font-size: var(--fs-16); line-height: 1.5; text-align: left; overflow-wrap: anywhere; }
.hs-row:hover { background: var(--surface-sunken); }
.hs-row[aria-pressed="true"] { border-color: var(--action); background: var(--surface-action-soft); box-shadow: inset 0 0 0 1px var(--action); }
.hs-row.found { border-color: var(--success-500); background: var(--ok-soft); box-shadow: none; }
.hs-row.wrong { border-color: var(--danger-500); background: var(--bad-soft); box-shadow: none; }
.hs-row.missed { border-color: var(--orange-500); border-style: dashed; background: var(--warn-soft); }
.hs-row .hs-pill { margin: 0 0 0 6px; }
@media (forced-colors: active) {
  .hs-part[aria-pressed="true"], .hs-part.found, .hs-part.wrong, .hs-part.missed { outline: 2px solid CanvasText; outline-offset: 1px; }
  .hs-area.on, .hs-area.found, .hs-area.wrong, .hs-area.missed, .hs-row[aria-pressed="true"], .hs-row.found, .hs-row.wrong, .hs-row.missed { outline: 2px solid CanvasText; outline-offset: 1px; }
  /* Na de regels hierboven: de focus blijft te zien, ook op een gemarkeerd onderdeel. */
  .hs-part:focus-visible, .hs-row:focus-visible, .hs-area.focus { outline: 3px solid Highlight; outline-offset: 3px; }
}

/* ---------- telefoon ---------- */

@media (max-width: 700px) {
  .hub-grid { grid-template-columns: 1fr; }
  .mod-card-body { padding: 18px; }
  .mod-card-foot .btn { align-self: stretch; }
  .player-col { gap: 16px; }
  .card.flow { padding: 22px 18px; border-radius: 14px; }
  .card.flow.head { padding: 18px; }
  .screen-title { font-size: 24px; }
  .player-toc { position: static; width: 100%; max-height: none; flex-basis: 100%; }
  .reader { gap: 6px; padding: 6px 8px; }
  .reader .btn { min-height: 40px; padding: 4px 10px; }
  .reader select { flex: 1 1 120px; }
  .navbtns { padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .navbtns-hint { font-size: var(--fs-12); line-height: 1.3; }
  .navbtns .btn { min-height: 44px; }
  .card.intro, .card.mc, .card.choice, .card.exam-q, .card.casus, .card.reflect, .card.inter, .card.assignment, .card.exam-start, .result-card { padding: 22px 18px; border-radius: 14px; }
  .intro-title { font-size: 28px; }
  .player .prose { font-size: var(--fs-16); }
  .box, .vs-panel, .casus-scenario, .assignment-box { padding: 16px 18px; }
  .box.les { padding: 20px 18px; }
  .quiz .question { font-size: 19px; }
  .opt { padding: 12px 14px; gap: 12px; }
  .opt-note { display: block; margin-left: 0; white-space: normal; }
  .result-main { gap: 18px; }
  .result-score { min-width: 0; flex-direction: row; align-items: baseline; gap: 10px; padding: 0; }
  .result-of { margin-top: 0; }
  .result-num { font-size: 44px; }
  .result-row { gap: 12px; padding: 12px 14px; }
  .result-row dt { flex-basis: 44px; }
  .resultwrap-actions .btn { flex: 1 1 auto; }
  .hs-teams { gap: 10px; padding: 14px; }
  .hs-avatar { width: 32px; height: 32px; }
  .hs-head, .hs-body { padding: 10px 14px; }
  .hs-key { min-width: 0; margin-right: 4px; }
  .hs-par.hs-bubble { max-width: 100%; }
}

/* ---------- afbeelding (B122) ---------- */

/* Volle breedte, of met een tekstpaneel ernaast; onder 700 px staat het paneel eronder. Een afbeelding
   is inhoud: in donker wordt ze niet omgekeerd of gedimd. --media-backdrop geeft een transparante PNG
   ook in donker een lichte achtergrond. */
.media { margin: 0 0 20px; }
.media-img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--radius-lg); background: var(--media-backdrop); }
.media-caption { margin: 8px 0 0; color: var(--text-muted); font-size: var(--fs-14); }
.media-beside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.media-beside > .box { margin: 0; }
@media (min-width: 700px) {
  .media-beside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .media-beside > .media-img { grid-column: 1; grid-row: 1; }
  .media-beside > .media-caption { grid-column: 1; grid-row: 2; }
  .media-beside > .media-side, .media-beside > .box { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- video (B124) ---------- */

/* Titel, een regel met de duur en de ondertiteling, de speler van de browser over de volle breedte en
   de uitgeschreven tekst eronder. De poster voor het afdrukken staat alleen op papier. */
.media-title { margin: 0 0 4px; }
.media-meta { margin: 0 0 12px; color: var(--text-muted); font-size: var(--fs-14); }
.media-video-el { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--surface-inverse); }
.media-video-el:focus-visible { outline: none; box-shadow: var(--focus-shadow); }
.media-print { display: none; }
.transcript { margin-top: 12px; }

@media print {
  .media { break-inside: avoid; }
  .media-img { max-height: 12cm; width: auto; }
  .media-video-el { display: none; }
  .media-print { display: block; max-width: 100%; max-height: 10cm; width: auto; height: auto; }
  .player { padding-bottom: 0; }
  .player-head, .player-toc, .reader, .navbtns { display: none !important; }
  .card.flow { box-shadow: none; }
  .player.print-me .screen > :not(.block-result) { display: none; }
  .card.dark, .result-card { background: #ffffff !important; color: #000000 !important; border: 1px solid #000000; box-shadow: none; }
  .card.dark *, .result-card * { color: #000000 !important; }
  .result-row { background: none; border: 1px solid #bbbbbb; }
  .pill { border: 1px solid #000000; background: none; }
  .hs-part { box-shadow: none; background: none; }
  .hs-part[aria-pressed="true"] { text-decoration: underline solid #000000 2px; }
  .hs-msg { border-color: #000000; }
  .hs-figure, .hs-rows { break-inside: avoid; }
  .hs-area { box-shadow: none; background: none; }
  .hs-area.on, .hs-area.found, .hs-area.wrong, .hs-area.missed { outline: 2px solid #000000; }
  .hs-row { border-color: #000000; background: none; box-shadow: none; }
  .hs-row[aria-pressed="true"] { border-width: 2px; }
}
