/* tb-leer.css: de leeromgeving van de reels (deelplan P1, 29-11-2026). Tot 04-12-2026 richting B "Nachtrit" (donker),
   sinds de vierde bouwronde richting A "Dag" (licht): workspaces/theoriebriljant/ontwerp/2026-12-04-donker-anders/.
   Kleuren alleen uit tb-tokens.css; tinten zijn daarvan afgeleid met color-mix. De app is licht (de tokens van :root),
   behalve de speler van een reel: die draagt data-tb-mode="donker" op zijn eigen vlak (main.tb-reel, en de zijbalk ernaast)
   en ziet er daardoor precies uit zoals in Nachtrit. Oranje (--tb-accent) alleen voor "nu", voortgang en de hoofdknop, met
   donkere tekst erop (--op-oranje: #0B1220 in Dag, de canvas van Nachtrit op de speler). */

/* ---------- basis ---------- */
.tb-leer {
  --wit-09: color-mix(in srgb, var(--tb-ink) 9%, transparent);
  --wit-16: color-mix(in srgb, var(--tb-ink) 16%, transparent);
  --wit-30: color-mix(in srgb, var(--tb-ink) 30%, transparent);
  --glas: color-mix(in srgb, var(--tb-canvas) 76%, transparent);
  --glas-licht: color-mix(in srgb, var(--tb-canvas) 64%, transparent);
  --glas-dicht: color-mix(in srgb, var(--tb-canvas) 93%, transparent);
  --op-oranje: var(--tb-ink);   /* tekst en tekens op een oranje vlak: donker, nooit wit */
  --boven: calc(env(safe-area-inset-top, 0px) + var(--tb-merk-ruimte, 0px));
  --onder: env(safe-area-inset-bottom, 0px);
  margin: 0;
  min-height: 100dvh;
  background: var(--tb-canvas);
  color: var(--tb-ink);
  font: 400 15px/1.35 var(--tb-font);
  /* Geen tabelcijfers op de hele app: in Inter maakt dat ook het koppelteken zo breed als een cijfer ("E - mailadres",
     herstelronde 1.2). Alleen waar cijfers tellen of onder elkaar staan: de aftelling (.tb-aftel span) en de scores (.tb-ex__score). */
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
.tb-leer *, .tb-leer *::before, .tb-leer *::after { box-sizing: border-box; }
/* Een donker vlak in de lichte app (richting A "Dag", taak 10.1): de speler. De tokens komen van data-tb-mode="donker" op het
   vlak zelf (tb-tokens.css). Wat hierboven op .tb-leer van die tokens is afgeleid, is daar al met de lichte waarden
   uitgerekend en erft zo naar binnen; daarom staat het hier nog eens, en ook de tekstkleur. */
.tb-leer [data-tb-mode="donker"] {
  --wit-09: color-mix(in srgb, var(--tb-ink) 9%, transparent);
  --wit-16: color-mix(in srgb, var(--tb-ink) 16%, transparent);
  --wit-30: color-mix(in srgb, var(--tb-ink) 30%, transparent);
  --glas: color-mix(in srgb, var(--tb-canvas) 76%, transparent);
  --glas-licht: color-mix(in srgb, var(--tb-canvas) 64%, transparent);
  --glas-dicht: color-mix(in srgb, var(--tb-canvas) 93%, transparent);
  --op-oranje: var(--tb-canvas);
  color: var(--tb-ink);
}
/* De pagina achter de speler: bij het laden van een reel, en naast de speler tussen 481 en 767 px breed. */
body.tb-leer--reel { background: var(--tb-speler-vlak); }
/* De basisregels staan in :where(), zodat elke klasse hieronder ervan wint. Zonder :where() won ".tb-leer button" van
   ".tb-leer-knop", met lichte tekst op oranje (2,4:1), en ".tb-leer p" van elke marge op een alinea (gemeten in de
   proefmeting van het plan, 29-11). */
:where(.tb-leer) :where(h1, h2, p, ol) { margin: 0; padding: 0; }
:where(.tb-leer) a { color: inherit; }
:where(.tb-leer) button { font: inherit; color: inherit; cursor: pointer; }
:where(.tb-leer) svg { display: block; }
/* De ene important: elk onderdeel hieronder zet zijn eigen display, en hidden moet daar altijd van winnen. */
.tb-leer [hidden] { display: none !important; }
.tb-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Het PROEF-merk (TbProefMerk) staat normaal rechtsonder en zou hier op de antwoordknoppen liggen. In de leerroute
   staat het klein bovenin, zonder dat het een tik opvangt, en schuift de rest 26 px omlaag. Op live is er geen merk. */
body.tb-leer:has(#tb-proef-merk) { --tb-merk-ruimte: 26px; }
body.tb-leer #tb-proef-merk {
  top: calc(env(safe-area-inset-top, 0px) + 3px); bottom: auto; left: 50%; right: auto; transform: translateX(-50%);
  min-height: 0; padding: 2px 10px; font-size: 11px; pointer-events: none;
}
body.tb-leer #tb-proef-merk a { display: none; }

/* ---------- knoppen ---------- */
.tb-leer-knop {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 0 16px; border: 0; border-radius: 14px;
  background: var(--tb-accent); color: var(--op-oranje);
  font-size: 16.5px; font-weight: 600; letter-spacing: -.005em; text-decoration: none; text-align: center;
  box-shadow: none;
}
/* In Dag is de hoofdknop vlak, zoals op de schetsen van richting A (taak 10.4). Op een donker vlak, de speler, houdt hij de
   oranje gloed van Nachtrit, zodat de speler precies blijft zoals hij was. */
[data-tb-mode="donker"] .tb-leer-knop:not(.tb-leer-knop--stil) { box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--tb-accent) 60%, transparent); }
.tb-leer-knop svg { flex: none; }
/* De tweede knop zoals op de schetsen van Dag (taak 10.5): even hoog als de hoofdknop, met een lijn van 1,5 px. Op de speler
   blijft hij zoals in Nachtrit. */
.tb-leer-knop--stil { min-height: 56px; background: transparent; color: var(--tb-ink); border: 1.5px solid var(--tb-line-2); font-size: 16.5px; box-shadow: none; }
[data-tb-mode="donker"] .tb-leer-knop--stil { min-height: 48px; border-width: 1px; font-size: 15.5px; }
/* Het ronde knopje (kruisje, terug): in Dag een grijs rondje van 36 px in een raakvlak van 44, zoals op de schetsen (taak
   10.5); de lichte ring is de pagina zelf. Op de speler het glas van Nachtrit, zoals het was. */
.tb-rond {
  width: 44px; height: 44px; padding: 0; flex: none; border-radius: 50%; display: grid; place-items: center;
  color: var(--tb-ink); background: var(--tb-canvas-2); border: 0; box-shadow: inset 0 0 0 4px var(--tb-canvas);
}
[data-tb-mode="donker"] .tb-rond {
  background: color-mix(in srgb, var(--tb-canvas) 58%, transparent); border: 1px solid var(--wit-16); box-shadow: none;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.tb-rond svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-tb-mode="donker"] .tb-rond svg { width: 20px; height: 20px; }
.tb-rond[aria-pressed="true"] { background: var(--tb-ink); color: var(--tb-canvas); }
.tb-leer-knop:focus-visible, .tb-rond:focus-visible, .tb-tabs a:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }

/* ---------- onderbalk ---------- */
.tb-tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; max-width: 480px; margin: 0 auto;
  display: flex; padding: 0 10px var(--onder); background: var(--tb-canvas); border-top: 1px solid var(--tb-line);
}
.tb-tabs a { position: relative; flex: 1; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; color: var(--tb-ink-3); text-decoration: none; }
.tb-tabs svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tb-tabs a.is-actief { color: var(--tb-accent-ink); font-weight: 600; }
.tb-tabs a.is-actief::before { content: ""; position: absolute; top: -1px; left: 50%; width: 20px; height: 2px; margin-left: -10px; border-radius: 1px; background: currentColor; }
.tb-tabs[data-tb-mode="donker"] a.is-actief { color: var(--tb-ink); }   /* de zijbalk naast de speler, zoals in Nachtrit */

/* ---------- 1 leerpad, richting A "Dag" (vierde bouwronde, taak 10.2; schets richting-A.png, links) ----------
   Bovenaan het logo en de pil met de dagen tot het examen, dan de kaart "ga verder", drie tegels, en het hoofdstuk als
   gewone lijst. Tot 04-12-2026 stonden hier drie wijzers, de weg met haltes en een vaste knop onderaan. */
.tb-pad { max-width: 480px; margin: 0 auto; padding: calc(var(--boven) + 8px) 20px calc(var(--onder) + 88px); }
.tb-pad__leeg { margin-top: 32px; text-align: center; color: var(--tb-ink-2); }
.tb-pad__leeg + .tb-pad__leeg { margin-top: 16px; }
.tb-pad__kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.tb-pad__logo { display: block; flex: none; width: auto; height: 23px; }
/* Een pil: een gegeven bovenaan, geen knop. Als link (Kies je examendatum) is hij 44 px hoog met de vinger zonder er groter
   uit te zien: een doorzichtige rand van 7 px om de zichtbare pil, en de lijn als schaduw binnen die rand. */
.tb-pil { flex: none; display: inline-flex; align-items: center; min-height: 30px; padding: 5px 12px; border-radius: 999px;
  background: var(--tb-canvas-2); border: 1px solid var(--tb-line); font-size: 13px; line-height: 18px; color: var(--tb-ink-2); white-space: nowrap; }
.tb-pil b { margin: 0 .25em; font-weight: 700; color: var(--tb-ink); }
a.tb-pil { min-height: 44px; margin: 0 -7px 0 0; border: 7px solid transparent; background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--tb-line); color: var(--tb-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
a.tb-pil:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: -5px; }
.tb-pad__melding { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); font-size: 14px; line-height: 20px; color: var(--tb-ink-2); }
/* De link naar "Zo werkt het", de eerste dagen na het aanmelden (auditronde 05-12-2026, taak 13.7): een vlak zoals de
   melding, maar de hele rij is de link. */
.tb-pad__zo { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-top: 12px; padding: 12px 14px;
  border-radius: 14px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); font-size: 14.5px; font-weight: 600; line-height: 20px;
  color: var(--tb-ink); text-decoration: none; }
.tb-pad__zo svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tb-pad__zo:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }

/* De kaart "ga verder": de poster van wat aan de beurt is, het label, de titel, waar je bent en Verder. De poster is met de
   vinger ook een weg naar de reel; het toetsenbord en een schermlezer hebben daar Verder voor. Verder is een kleine knop
   van 38 px, met een doorzichtige rand van 3 px eromheen: 44 px met de vinger. */
.tb-verder { display: flex; gap: 14px; margin-top: 12px; padding: 14px; border: 1px solid var(--tb-line); border-radius: 18px; background: var(--tb-canvas);
  box-shadow: 0 12px 26px -18px color-mix(in srgb, var(--tb-ink) 30%, transparent); }
.tb-verder__poster { position: relative; flex: none; display: block; width: 98px; height: 136px; border-radius: 12px; overflow: hidden; background: var(--tb-canvas-3); }
.tb-verder__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tb-verder__poster span { position: absolute; left: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tb-accent); color: var(--op-oranje); }
.tb-verder__poster svg { width: 11px; height: 13px; margin-left: 2px; fill: currentColor; }
.tb-verder__t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.tb-verder__t small { font-size: 11.5px; font-weight: 700; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--tb-accent-ink); }
.tb-verder__t h2 { margin: 5px 0 4px; font-size: 18.5px; font-weight: 700; line-height: 23px; letter-spacing: -.012em; overflow-wrap: anywhere; }
.tb-verder__t p { font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
.tb-verder__knop { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 7px 0 0 -3px; padding: 0 20px;
  border: 3px solid transparent; border-radius: 13px; background: var(--tb-accent) padding-box; color: var(--op-oranje);
  font-size: 14.5px; font-weight: 600; text-decoration: none; }
.tb-verder__knop:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: -1px; }

/* Drie tegels: een getal of woord en wat het is (de slaagkans, de reeks, de punten; op klaar de reels van vandaag). */
.tb-getallen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tb-getal { min-width: 0; padding: 10px 12px; border-radius: 14px; background: var(--tb-canvas-2); }
.tb-getal > b { display: block; font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -.02em; white-space: nowrap; }
.tb-getal > b.is-smal { font-size: 17px; letter-spacing: -.01em; }
.tb-getal > b.is-tekst { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.tb-getal > span { display: block; font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); }
.tb-getal > .tb-getal__delen { display: flex; gap: 3px; margin-top: 8px; }
.tb-getal__deel { flex: 1; height: 3px; border-radius: 2px; background: var(--tb-line-2); }
.tb-getal__deel.is-af { background: var(--tb-accent); }

/* Het hoofdstuk: de naam, een balk en hoeveel reels af zijn. */
.tb-pad__hoofdstuk { margin-top: 18px; }
.tb-pad__hoofdstuk small { display: block; font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
.tb-pad__hoofdstuk h2 { margin-top: 2px; font-size: 19px; font-weight: 700; line-height: 25px; letter-spacing: -.012em; }
.tb-pad__hoofdstuk p { margin-top: 6px; font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); }
.tb-pad__hoofdstuk p b { font-weight: 600; color: var(--tb-ink); }
.tb-balk { height: 6px; margin-top: 10px; border-radius: 3px; background: var(--tb-canvas-3); overflow: hidden; }
.tb-balk i { display: block; width: var(--af, 0%); height: 100%; border-radius: 3px; background: var(--tb-accent); }

/* De lijst: elke reel en clip van het hoofdstuk. Af een groen vinkje, nu oranje, daarna een lege ring. Een lange titel
   breekt af met een beletselteken (de hele titel staat in de html), de duur staat rechts. */
.tb-lijst { list-style: none; margin: 6px 0 0; padding: 0; }
.tb-lijst li + li { border-top: 1px solid var(--tb-line); }
.tb-lijst__rij { display: flex; align-items: center; gap: 12px; min-height: 51px; padding: 6px 0; font-size: 14.5px; line-height: 20px; color: var(--tb-ink); text-decoration: none; }
/* Auditronde 05-12-2026, taak 13.10: een situatieclip staat met zijn reel in één blok (TbLeerPad::blokken), zonder lijn
   ertussen, en springt in tot onder de titel van de reel: het rondje van 26 px plus de ruimte van 12 px. */
.tb-lijst__rij + .tb-lijst__rij { margin-left: 38px; }
.tb-lijst__m { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--tb-line-2); color: var(--tb-ink-3); }
.tb-lijst__m svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tb-lijst__t { flex: 1; min-width: 0; }
.tb-lijst__t > span, .tb-lijst__t > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-lijst__t > small { font-size: 12.5px; font-weight: 400; line-height: 16px; color: var(--tb-ink-3); }
.tb-lijst__rij > em { flex: none; font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--tb-ink-3); }
.tb-lijst__rij.is-af { color: var(--tb-ink-2); }
.tb-lijst__rij.is-af .tb-lijst__m { background: var(--tb-ok-soft); border-color: transparent; color: var(--tb-ok); }
.tb-lijst__rij.is-nu { font-weight: 600; }
.tb-lijst__rij.is-nu .tb-lijst__m { background: var(--tb-accent); border-color: transparent; color: var(--op-oranje); }
.tb-lijst__rij.is-nu .tb-lijst__m svg { width: 13px; height: 13px; margin-left: 2px; fill: currentColor; stroke: none; }
a.tb-lijst__rij:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; border-radius: 8px; }
@media (hover: hover) { a.tb-lijst__rij:hover .tb-lijst__t > span { text-decoration: underline; text-underline-offset: 3px; } }

/* ---------- ring van de slaagkans (breed in de stand, en op Ik tot taak 10.5) ---------- */
.tb-ring { position: relative; width: 112px; height: 112px; margin: 0 auto; display: grid; place-items: center; }
.tb-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tb-ring circle { fill: none; stroke-linecap: round; }
.tb-ring__spoor { stroke: var(--tb-line-2); stroke-width: 1.5; }
.tb-ring__boog { stroke: var(--tb-accent); stroke-width: 2.5; }
.tb-ring__midden { position: relative; text-align: center; }
.tb-ring__midden b { display: block; font-size: 32px; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.tb-ring__midden b i { font-style: normal; font-size: 16px; margin-left: 1px; color: var(--tb-ink-2); }
.tb-ring__midden span { display: block; margin-top: 5px; font-size: 12px; line-height: 15px; color: var(--tb-ink-2); }
.tb-ring--klein { width: 64px; height: 64px; }
.tb-ring--klein .tb-ring__midden b { font-size: 24px; }

.tb-ava { position: absolute; display: block; width: auto; pointer-events: none; }
/* Ava op een zacht oranje rondje (richting A "Dag", schets dag-overig-3.png): op klaar voor vandaag. */
.tb-ava-rond { flex: none; width: 140px; height: 140px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--tb-accent-soft); }
.tb-ava-rond img { display: block; width: auto; height: 113px; }

/* ---------- 4 klaar voor vandaag ---------- */
.tb-klaar { position: relative; max-width: 480px; min-height: 100dvh; margin: 0 auto; padding: calc(var(--boven) + 24px) 20px calc(var(--onder) + 24px); display: flex; flex-direction: column; }
.tb-klaar__titel { text-align: center; font-size: 28px; font-weight: 700; line-height: 34px; letter-spacing: -.02em; }
.tb-ava-rond + .tb-klaar__titel { margin-top: 20px; }
.tb-klaar__zin { margin-top: 6px; text-align: center; font-size: 15px; line-height: 22px; color: var(--tb-ink-2); }
.tb-klaar__getallen { margin-top: 20px; }
.tb-klaar__keuzes { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; }
@media (max-height: 720px) {
  .tb-klaar { padding-top: calc(var(--boven) + 12px); }
  .tb-klaar .tb-ava-rond { width: 104px; height: 104px; }
  .tb-klaar .tb-ava-rond img { height: 84px; }
  .tb-ava-rond + .tb-klaar__titel { margin-top: 12px; }
}

/* ---------- 2 en 3 de reel ---------- */
.tb-reel { position: fixed; inset: 0; max-width: 480px; margin: 0 auto; overflow: hidden; background: var(--tb-canvas); --paneel-h: 0px; }
.tb-reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--tb-canvas); }
.tb-reel__video::cue { font: 600 17px/1.35 var(--tb-font); color: var(--tb-ink); background: color-mix(in srgb, var(--tb-canvas) 78%, transparent); }
.tb-reel__schemer { position: absolute; left: 0; right: 0; top: 0; height: 220px; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--tb-canvas) 92%, transparent) 0, color-mix(in srgb, var(--tb-canvas) 78%, transparent) 112px, color-mix(in srgb, var(--tb-canvas) 0%, transparent) 220px); }
.tb-reel__streepjes { position: absolute; left: 20px; right: 20px; top: calc(var(--boven) + 12px); z-index: 3; display: flex; gap: 4px; }
.tb-reel__streepjes i { flex: 1; height: 3px; border-radius: 2px; background: var(--wit-30); overflow: hidden; }
.tb-reel__streepjes i.is-af { background: var(--tb-ink); }
.tb-reel__streepjes b { display: block; width: 0; height: 100%; background: var(--tb-ink); }
.tb-reel__kop { position: absolute; left: 20px; right: 12px; top: calc(var(--boven) + 24px); z-index: 3; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tb-reel__kop > div { min-width: 0; }
.tb-reel__kop strong, .tb-reel__kop span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-reel__kop strong { font-size: 15px; font-weight: 600; line-height: 20px; }
.tb-reel__kop span { font-size: 12.5px; line-height: 17px; color: color-mix(in srgb, var(--tb-ink) 84%, transparent); }
/* Auditronde 05-12-2026, taak 13.8: de regel onder de titel in twee delen. Is hij te smal, dan wordt de naam van het
   hoofdstuk korter (met …) en blijft het tweede deel ("· 1 van 5 reels vandaag") heel. */
.tb-reel__kop .tb-reel__regel { display: flex; gap: .25em; }
.tb-reel__regel > span { flex: 0 1 auto; min-width: 0; }
.tb-reel__regel > span + span { flex: none; max-width: 100%; }
.tb-reel__zij { position: absolute; right: 12px; z-index: 3; bottom: calc(max(var(--paneel-h) + 16px, 140px) + var(--onder)); display: flex; flex-direction: column; gap: 10px; transition: bottom var(--tb-t); }
/* Taak 13.9: de dunne balk onderaan die laat zien waar je bent in de reel. Alleen beeld; zoals de streepjes bovenaan. */
.tb-reel__plek { position: absolute; left: 20px; right: 20px; bottom: calc(var(--onder) + 16px); z-index: 3; height: 3px; border-radius: 2px;
  background: var(--wit-30); overflow: hidden; pointer-events: none; }
.tb-reel__plek b { display: block; width: 0; height: 100%; background: var(--tb-ink); }
.tb-reel__start { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; }
.tb-reel__start span { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--tb-accent); color: var(--op-oranje); }
.tb-reel__start svg { width: 24px; height: 26px; margin-left: 4px; fill: currentColor; }
.tb-reel__melding { position: absolute; left: 20px; right: 20px; top: 50%; z-index: 5; transform: translateY(-50%); display: grid; gap: 10px; padding: 20px; border-radius: 20px; background: var(--glas-dicht); border: 1px solid var(--wit-16); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.tb-reel__melding p { margin-bottom: 4px; font-size: 15px; line-height: 22px; color: var(--tb-ink-2); }
.tb-reel__melding b { display: block; margin-bottom: 4px; font-size: 17px; color: var(--tb-ink); }

.tb-paneel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 18px 20px calc(30px + var(--onder)); border-radius: 24px 24px 0 0; border-top: 1px solid var(--wit-16);
  background: linear-gradient(to bottom, var(--glas-licht) 0, var(--glas) 56px, var(--glas-dicht) 104px, var(--tb-canvas) 150px);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); }
.tb-aftel { display: flex; align-items: center; gap: 12px; min-height: 16px; }
.tb-aftel__balk { flex: 1; height: 4px; border-radius: 2px; background: var(--wit-16); overflow: hidden; }
.tb-aftel__balk b { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--tb-accent); }
.tb-aftel span { min-width: 64px; text-align: right; font-size: 12.5px; line-height: 16px; font-variant-numeric: tabular-nums; }
.tb-paneel h2 { margin-top: 14px; font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -.015em; }
.tb-paneel h2:focus { outline: none; }
.tb-antw-lijst { display: grid; gap: 8px; margin-top: 16px; }
.tb-antw { width: 100%; min-height: 48px; padding: 12px 16px 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 14px; background: var(--wit-09); border: 1px solid var(--wit-16); color: var(--tb-ink); font-size: 16px; font-weight: 600; line-height: 22px; text-align: left; }
.tb-antw i { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--wit-30); }
.tb-antw.is-gekozen i { background: var(--tb-ink); border-color: var(--tb-ink); }
.tb-antw:disabled { cursor: default; }
.tb-antw:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-uitslag__kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
/* Jij koos en Goed antwoord (auditronde 05-12-2026, taak 13.1): een etiket bij een antwoord na het nakijken. Jij koos in inkt,
   Goed antwoord in groen; wit op --tb-ok is 4,8:1. De rand is doorzichtig, en zichtbaar bij hoog contrast. */
.tb-tag { flex: none; display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 12px; border: 1px solid transparent;
  font-size: 12.5px; font-style: normal; font-weight: 700; line-height: 16px; white-space: nowrap; }
.tb-tag--koos { background: var(--tb-ink); color: var(--tb-canvas); }
.tb-tag--goed { background: var(--tb-ok); color: var(--tb-canvas); }
/* In de reel (taak 13.3) staan de etiketten op een eigen regel onder de tekst van het antwoord (tb-leer-speler.js). */
.tb-antw__etiketten { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tb-oordeel { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; line-height: 28px; letter-spacing: -.01em; }
.tb-oordeel svg { width: 26px; height: 26px; flex: none; }
.tb-oordeel svg circle { fill: none; stroke: currentColor; stroke-width: 1.5; }
.tb-oordeel svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tb-paneel__uitslag.is-fout .tb-oordeel svg { color: var(--tb-ink-2); }
.tb-uitslag__erbij { font-size: 15px; color: var(--tb-ink-2); }
.tb-uitslag__juist { margin-top: 10px; font-size: 16px; font-weight: 600; line-height: 22px; }
.tb-uitslag__uitleg { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--tb-ink-2); }
.tb-paneel__uitslag .tb-leer-knop { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .tb-reel__zij { transition: none; } }

/* Ronde 5 van P5 (30-11-2026): een clip heeft alles wat telt in de bovenste 60% van het beeld, en op het vraagmoment moet
   dat deel boven het paneel te zien zijn. Op een laag scherm eerst een compacter paneel (een raakvlak blijft 44 px); past het
   dan nog niet, of snijdt object-fit cover de bovenkant van het beeld af, dan zet de speler tijdens de vraag
   .is-vraagbeeld: het hele beeld bovenaan in een vak waarvan 60% tot het paneel reikt (--vraagbeeld-h, tb-leer-speler.js:
   vraagbeeld). Na het antwoord gaat het weg, en de afloop heeft weer het hele vlak. De video zelf verandert niet. */
@media (max-height: 720px) {
  .tb-paneel { padding: 12px 16px calc(14px + var(--onder)); }
  .tb-paneel h2 { margin-top: 8px; font-size: 19px; line-height: 24px; }
  .tb-paneel .tb-antw-lijst { gap: 6px; margin-top: 10px; }   /* binnen het paneel: de bordentrainer heeft ook .tb-antw */
  .tb-paneel .tb-antw { min-height: 44px; padding: 9px 14px 9px 16px; font-size: 15px; line-height: 20px; }
  .tb-paneel .tb-paneel__uitslag .tb-leer-knop { margin-top: 12px; }
}
.tb-reel.is-vraagbeeld .tb-reel__video { bottom: auto; height: var(--vraagbeeld-h); object-fit: contain; object-position: 50% 0; }

/* ---------- deelplan P2: het spel ---------- */
/* Drie ringen op Ik (tot taak 10.5; het leerpad heeft sinds taak 10.2 tegels): links en rechts een kleine (de dagen tot
   het examen, de punten), in het midden de slaagkans. De kleine staan 24 px lager, zoals in de schets. */
.tb-drie { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 0 8px; margin: 0 12px; }
.tb-drie__ring { display: grid; justify-items: center; align-content: start; gap: 9px; min-width: 0; }
.tb-drie__ring:not(.tb-drie__ring--groot) { padding-top: 24px; }
.tb-drie__ring > span { max-width: 160px; font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); text-align: center; }
.tb-ring--klein .tb-ring__midden b.is-smal { font-size: 16px; font-weight: 600; letter-spacing: 0; }

/* Een vlak: een kaart met een dunne lijn (richting A "Dag", taak 10.2: wit, zoals .kaart in de schetsen; tot dan een
   donkere kaart). Reeks en badge op klaar voor vandaag, reeks en badges op Ik, en de kaarten van Oefenen, de pas en Borden. */
.tb-vlak { padding: 14px 16px; border-radius: 18px; background: var(--tb-canvas); border: 1px solid var(--tb-line); }
.tb-vlak small { display: block; font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); }
.tb-vlak b { display: block; font-size: 19px; font-weight: 600; line-height: 26px; letter-spacing: -.01em; }
.tb-vlak__kop { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tb-vlak__kop strong { font-size: 15px; font-weight: 600; }
.tb-vlak__kop span { font-size: 13px; color: var(--tb-ink-2); }
.tb-vlak__kop span b { display: inline; font-size: 13px; line-height: inherit; letter-spacing: 0; color: var(--tb-ink); }

/* Het teken van een badge: lijnen in de inkt, een badge die nog dicht is grijs met een stippelring. */
.tb-badge { width: 32px; height: 32px; fill: none; stroke: var(--tb-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tb-badge .tb-badge__ring { stroke: var(--tb-ink-2); }
.tb-badge text { fill: var(--tb-ink); stroke: none; font-size: 13px; font-weight: 700; font-family: inherit; }
.is-dicht .tb-badge { stroke: var(--tb-ink-3); }
.is-dicht .tb-badge .tb-badge__ring { stroke: var(--tb-line-2); stroke-dasharray: 3 3.5; }
.is-dicht .tb-badge text { fill: var(--tb-ink-3); }

/* Na een goed antwoord: "+10 punten", zoals de schets (oranje is ook voortgang). */
.tb-uitslag__erbij.is-punten { font-weight: 600; color: var(--tb-accent); }

/* Klaar voor vandaag: de reeks met de week, en een nieuwe badge. */
.tb-klaar__reeks, .tb-klaar__badge { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 78px; margin-top: 12px; }
.tb-week { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tb-week li { width: 14px; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; line-height: 14px; color: var(--tb-ink-3); }
.tb-week i { display: block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--tb-line-2); }
.tb-week li.is-af i { background: var(--tb-ink-2); border-color: var(--tb-ink-2); }
.tb-week li.is-beschermd i { border-style: dashed; border-color: var(--tb-ink-2); }
.tb-week li.is-nu { color: var(--tb-ink); font-weight: 600; }
.tb-week li.is-nu i { border-color: var(--tb-accent); }
.tb-week li.is-nu.is-af i { background: var(--tb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tb-accent) 26%, transparent); }
.tb-klaar__badge-l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tb-klaar__badge-l .tb-badge { width: 48px; height: 48px; flex: none; }
.tb-klaar__badge > span { flex: none; font-size: 13px; color: var(--tb-ink-2); }

/* ---------- 8 Ik ---------- */
.tb-ik { max-width: 480px; margin: 0 auto; padding: calc(var(--boven) + 16px) 20px calc(var(--onder) + 88px); }
.tb-ik__naam { min-width: 0; margin-bottom: 14px; font-size: 27px; font-weight: 700; line-height: 32px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.tb-ik .tb-drie { margin: 0 -8px; }
.tb-ik .tb-pad__melding { margin: 0 0 14px; }
.tb-ik__examen { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 14px; font-size: 14.5px; }
.tb-ik__examen svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--tb-ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tb-ik__examen span { flex: 1; }
.tb-ik__examen b { font-weight: 600; }
.tb-ik__examen a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--tb-ink-3); }
/* CA2 deel 2 (01-12-2026): Wijzig was 42 bij 44 px. Nu 44 breed, ook op de telefoon (de enige wijziging onder 768 px). */
.tb-ik__examen a { min-width: 44px; justify-content: center; }
.tb-ik__reeks { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.tb-ik__reeks-l { display: flex; flex-direction: column; min-width: 0; }
/* Auditronde 05-12-2026, taak 13.8: onder in het vak één regel over de reeks en één over beschermen, over de hele breedte.
   Het vak breekt daarvoor af naar een tweede regel; de linkerkant begint op nul en groeit, zodat de maand ernaast blijft
   staan zoals hij stond, ook op 360 px. */
.tb-ik__reeks { flex-wrap: wrap; }
.tb-ik__reeks-l { flex: 1 1 0; }
.tb-ik__uitleg { flex: none; width: 100%; }
.tb-ik__uitleg p { font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
.tb-ik__uitleg p + p { margin-top: 4px; }
.tb-ik__bescherm { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; }
.tb-ik__bescherm svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--tb-ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tb-ik__bescherm small b { display: inline; font-size: 12.5px; line-height: 16px; letter-spacing: 0; color: var(--tb-ink); }
.tb-maand { flex: none; border-collapse: collapse; }
.tb-maand th { width: 26px; height: 17px; padding: 0; font-size: 12px; font-weight: 400; color: var(--tb-ink-3); }
.tb-maand td { width: 26px; height: 23px; padding: 0; text-align: center; }
.tb-maand i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-style: normal; line-height: 1; color: var(--tb-ink-3); }
.tb-maand td.is-af i { background: var(--wit-16); color: var(--tb-ink); }
.tb-maand td.is-beschermd i { box-shadow: inset 0 0 0 1.5px var(--tb-ink-2); color: var(--tb-ink); }
.tb-maand td.is-nu i { box-shadow: inset 0 0 0 1.5px var(--tb-accent); color: var(--tb-ink); font-weight: 700; }
.tb-maand td.is-nu.is-af i { background: var(--tb-accent); box-shadow: none; color: var(--op-oranje); }
.tb-ik__zin { margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
.tb-ik__koop { margin-top: 10px; }
p.tb-ik__koop { font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
.tb-ik__badges { margin-top: 14px; }
/* Auditronde 05-12-2026, taak 13.8: elke badge op een eigen regel, het teken met ernaast zijn naam en één regel uitleg. De
   rij van acht tekens die op een smal scherm meekromp (P5 deel 0, 29-11-2026) is daarmee weg. Een dichte badge houdt zijn
   stippelring en zijn naam staat in de tweede inkt; alle tekst blijft boven 4,5:1. */
.tb-ik__badges ol { display: grid; gap: 12px; list-style: none; margin: 12px 0 0; padding: 0; }
.tb-ik__badges li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.tb-ik__badges .tb-badge { flex: none; width: 32px; height: 32px; }
.tb-ik__badges li > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding-top: 1px; }
.tb-ik__badges li b { font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 0; }
.tb-ik__badges li small { font-size: 13px; line-height: 18px; }
.tb-ik__badges li.is-dicht b { color: var(--tb-ink-2); }
.tb-ik__instel-t { margin-top: 18px; font-size: 13px; line-height: 18px; font-weight: 600; }
.tb-ik__tegels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 6px; }
.tb-tegel { width: 100%; min-height: 64px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 9px 12px 10px; border-radius: 14px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); color: var(--tb-ink); font-size: 13px; line-height: 18px; text-align: left; }
.tb-tegel__stand { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--tb-ink-2); }
.tb-schuif { position: relative; width: 36px; height: 20px; flex: none; border-radius: 10px; background: var(--tb-line-2); }
.tb-schuif::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--tb-ink-2); }
.tb-tegel[aria-checked="true"] .tb-schuif { background: var(--tb-ink); }
.tb-tegel[aria-checked="true"] .tb-schuif::after { left: auto; right: 2px; background: var(--tb-canvas); }
.tb-tegel:focus-visible, .tb-ik a:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-ik__account { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-top: 18px; }
.tb-ik__account a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--tb-ink-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 359px) {
  .tb-ik__reeks { flex-direction: column; }
  /* Zoals de reeks op Ik: de week onder de tekst, anders steekt hij op 320 px in de rand van zijn vlak (P5 deel 0). */
  .tb-klaar__reeks { flex-direction: column; align-items: flex-start; }
}

/* ---------- deelplan P3: proberen als gast (schets nachtrit-2, scherm 5 en 6) ----------
   Richting A "Dag" (taak 10.6, schets dag-overig-3.png): de kop bovenaan in de stroom, Ava op een zacht oranje rondje
   in plaats van op de weg, het veld van de examendatum wit met een donkere lijn, "Weet ik nog niet" als lichte rij, en
   de kleine regel boven de hoofdknop. Bewaar je voortgang: de stand als de tegels van Leren, de velden en de knop van
   Google zoals op Inloggen. */
.tb-gast { position: relative; max-width: 480px; min-height: 100dvh; margin: 0 auto; padding: calc(var(--boven) + 276px) 20px calc(var(--onder) + 20px); display: flex; flex-direction: column; }
.tb-gast.tb-gast--start { padding: calc(var(--boven) + 8px) 20px calc(var(--onder) + 20px); }
.tb-gast__kop { position: absolute; left: 20px; right: 20px; top: var(--boven); z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.tb-gast--start .tb-gast__kop { position: static; min-height: 44px; }
/* Het echte logo (ronde 2 van de herstelronde, taak 4.1), zoals in de zijbalk. */
.tb-gast__logo { display: block; width: auto; height: 25px; }
.tb-gast__kop a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; font-size: 14.5px; font-weight: 600; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; }
/* Ava op een zacht oranje rondje van 156 px, haar voeten net boven de onderrand. */
.tb-gast__rond { width: 156px; height: 156px; margin-top: 18px; align-items: end; }
.tb-gast__rond img { height: 148px; margin-bottom: 6px; }
.tb-gast--start .tb-klaar__titel { font-size: 29px; line-height: 34px; letter-spacing: -.022em; }
.tb-gast--start .tb-klaar__zin { font-size: 15.5px; }
.tb-gast__kop a:focus-visible, .tb-gast__later:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-gast .tb-pad__melding { margin: 14px 0 0; }
/* Bij een grens: de weg naar een account (beoordeling Taak 5-8, punt 3), met een raakvlak van 44 px. */
.tb-gast__registreer { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; }
.tb-gast__form { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.tb-gast--start .tb-gast__form { flex: 1; gap: 8px; margin-top: 30px; }
.tb-gast--start .tb-gast__vraag { font-size: 15px; line-height: 20px; }
.tb-gast__vraag { font-size: 17px; font-weight: 600; line-height: 22px; }
/* Het veld van Dag, zoals Inloggen op de schets (taak 10.7): grijs, 50 px hoog, hoeken van 12 px. Zestien pixel tekst, anders
   zoomt een iPhone in. Bewaar je voortgang, je account en de garantie gebruiken het ook. */
.tb-gast__veld { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--tb-line-2); background: var(--tb-canvas-2); color: var(--tb-ink); font: 500 16px/1.2 var(--tb-font); color-scheme: light; }
.tb-gast__veld:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-gast__veld:disabled { opacity: .45; }
.tb-gast__veld::placeholder { color: var(--tb-ink-3); }
/* De examendatum: wit met een donkere lijn, zoals op de schets. */
.tb-gast--start .tb-gast__veld { min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--tb-ink); background: var(--tb-canvas); font-size: 16px; font-weight: 600; }
.tb-gast__zin { font-size: 14px; line-height: 20px; color: var(--tb-ink-2); }
.tb-gast--start .tb-gast__zin { font-size: 13.5px; line-height: 18px; }
.tb-gast__fout { font-size: 14px; line-height: 20px; color: var(--tb-fout-ink); }
/* "Weet ik nog niet": een lichte rij met een lijn, de hele rij is het raakvlak; gekozen zoals een looptijd van de pas. */
.tb-gast__weet-niet { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--tb-line-2); background: var(--tb-canvas); color: var(--tb-ink-2); font-size: 15px; cursor: pointer; }
.tb-gast--start .tb-gast__weet-niet { margin-top: 6px; }
.tb-gast__weet-niet input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; border: 1.5px solid var(--tb-line-2); background: transparent; }
.tb-gast__weet-niet input:checked { border-color: var(--tb-accent); background: radial-gradient(circle, var(--tb-accent) 0 5px, transparent 5.5px); }
.tb-gast__weet-niet:has(input:checked) { background: var(--tb-accent-soft); border-color: var(--tb-accent); box-shadow: 0 0 0 1px var(--tb-accent); color: var(--tb-ink); }
.tb-gast__weet-niet input:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
@media (forced-colors: active) {
  .tb-gast__weet-niet input:checked { forced-color-adjust: none; border-color: Highlight; background: radial-gradient(circle, Highlight 0 5px, Canvas 5.5px); }
  .tb-gast__weet-niet:has(input:checked) { border-color: Highlight; }
}
/* Het lokveld voor robots: buiten beeld, niet weg (een robot vult wat hij in de html vindt). */
.tb-gast__honing { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tb-gast__klein { text-align: center; font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
/* De kleine regel staat boven de hoofdknop en duwt die twee samen naar onderen. */
.tb-gast--start .tb-gast__klein { margin-top: auto; padding-top: 16px; }
.tb-gast--start .tb-gast__klein + .tb-leer-knop { margin-top: 6px; }
@media (max-height: 720px) {
  .tb-gast__rond { width: 124px; height: 124px; margin-top: 10px; }
  .tb-gast__rond img { height: 116px; margin-bottom: 5px; }
  .tb-gast--start .tb-klaar__titel { margin-top: 14px; }
  .tb-gast--start .tb-gast__form { margin-top: 20px; }
}

/* Scherm 6: Ava met de titel, de stand in drie vakjes, het e-mailadres en de knoppen. */
.tb-gast--bewaar { padding-top: calc(var(--boven) + 40px); }
.tb-gast__ava { display: flex; align-items: center; gap: 14px; }
.tb-gast__ava .tb-ava { position: static; flex: none; height: 64px; }
.tb-gast__ava small { display: block; font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
.tb-gast__ava h1 { font-size: 27px; font-weight: 700; line-height: 32px; letter-spacing: -.02em; }
.tb-gast__uitleg { margin-top: 14px; font-size: 15.5px; line-height: 22px; color: var(--tb-ink-2); }
/* De stand als de tegels van Leren (.tb-getal, taak 10.2): het getal boven zijn naam. In de html blijft de naam eerst. */
.tb-gast__stand { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; padding: 0; border: 0; border-radius: 0; background: none; }
.tb-gast__stand div { display: flex; flex-direction: column-reverse; justify-content: flex-end; min-width: 0; padding: 10px 12px; border-radius: 14px; background: var(--tb-canvas-2); }
.tb-gast__stand div + div { border-left: 0; }
.tb-gast__stand dt { font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); }
.tb-gast__stand dd { margin: 0; font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -.02em; white-space: nowrap; }
/* Het e-mailadres en de knop van Google zoals op Inloggen. */
.tb-gast--bewaar .tb-gast__vraag { font-size: 13.5px; line-height: 18px; }
.tb-gast__of { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 13px; color: var(--tb-ink-2); }
.tb-gast__of::before, .tb-gast__of::after { content: ""; flex: 1; height: 1px; background: var(--tb-line); }
.tb-gast__google .tb-leer-knop--stil, .tb-inlog__vorm > .tb-leer-knop--stil { min-height: 50px; border-width: 1px; border-radius: 12px; font-size: 16px; }
.tb-gast__later { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- deelplan P4: de pas (schets nachtrit-2, scherm 7), de proefkassa, de code en de garantie ----------
   Richting A "Dag" (taak 10.5, schets dag-overig-2.png rechts): de titel naast het kruisje, de looptijden als witte vlakken
   met een lijn (gekozen in het oranje), de vinkjes groen, de garantie in een zacht groen vlak, de code in een grijs veld en
   het totaal met Betaal in een balk die onderaan blijft staan. Op de telefoon; vanaf 768 px de indeling van CA2. */
.tb-pas { position: relative; max-width: 480px; min-height: 100dvh; margin: 0 auto; padding: calc(var(--boven) + 10px) 20px calc(var(--onder) + 20px); display: flex; flex-direction: column; }
.tb-pas__titel { padding-right: 48px; font-size: 27px; font-weight: 700; line-height: 32px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.tb-pas__sub { margin-top: 4px; font-size: 15.5px; line-height: 22px; color: var(--tb-ink-2); }
.tb-pas .tb-pad__melding { margin: 14px 0 0; }
.tb-pas a:focus-visible, .tb-pas button:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
/* De proefkassa: alleen op de proef (TbProefkassa). */
.tb-pas__kassa { margin: 22px 0 0; display: grid; gap: 10px; }
.tb-pas__kassa div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 20px; }
.tb-pas__kassa dt { color: var(--tb-ink-2); }
.tb-pas__kassa dd { margin: 0; font-weight: 600; text-align: right; }
.tb-pas__keuzes { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; }
.tb-pas__terug { margin-top: 16px; }
/* Scherm 7: drie looptijden als keuzerondjes. Het rondje is 22 px, de hele kaart van 72 px is het raakvlak. Het kruisje staat
   rechts naast de titel, het grijze rondje 20 px van de rand. */
.tb-pas__sluit { position: absolute; right: 16px; top: calc(var(--boven) + 4px); z-index: 1; }
.tb-pas__proef { margin-top: 10px; font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
.tb-pas__opties { display: grid; gap: 10px; min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.tb-pas__optie { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 10px 16px; border-radius: 16px; background: var(--tb-canvas); border: 1.5px solid var(--tb-line-2); cursor: pointer; }
.tb-pas__optie input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 1.5px solid var(--tb-line-2); background: transparent; }
.tb-pas__optie input:checked { border-color: var(--tb-accent); background: radial-gradient(circle, var(--tb-accent) 0, var(--tb-accent) 5.5px, transparent 6px); }
.tb-pas__optie:has(input:checked) { background: var(--tb-accent-soft); border-color: var(--tb-accent); box-shadow: 0 0 0 1.5px var(--tb-accent); }
.tb-pas__optie:has(input:focus-visible) { outline: 2px solid var(--tb-ink); outline-offset: 3px; }
/* Bij geforceerde kleuren vallen het verloop en de schaduw weg: het rondje en de lijn dan in de systeemkleur. */
@media (forced-colors: active) {
  .tb-pas__optie input:checked { forced-color-adjust: none; border-color: Highlight; background: radial-gradient(circle, Highlight 0, Highlight 5.5px, Canvas 6px); }
  .tb-pas__optie:has(input:checked) { border-color: Highlight; }
}
.tb-pas__duur { flex: 1; min-width: 0; }
.tb-pas__duur b { display: block; font-size: 17px; font-weight: 700; line-height: 22px; letter-spacing: -.01em; }
.tb-pas__duur small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); }
.tb-pas__prijs { font-size: 17px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.tb-pas__erin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; list-style: none; margin: 16px 0 0; padding: 0 2px; }
.tb-pas__erin li { display: flex; align-items: center; gap: 5px; font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
.tb-pas__erin svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--tb-ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tb-pas__garantie { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 13px 14px; border-radius: 14px; background: var(--tb-ok-soft); border-color: transparent; color: var(--tb-ink); text-decoration: none; }
.tb-pas__garantie svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--tb-ok); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tb-pas__garantie p { font-size: 14px; line-height: 20px; }
.tb-pas__garantie u { color: var(--tb-ink); text-underline-offset: 3px; white-space: nowrap; }
.tb-pas__onder { margin-top: auto; padding-top: 20px; }
/* Met betalen het totaal en Betaal in een balk die onderaan blijft staan, zoals op de schets; de pagina zelf heeft daar dan
   geen ruimte meer onder. Zonder betalen ("Betalen kan binnenkort") blijft het een regel onderaan, zoals het was. */
.tb-pas:has(.tb-pas__totaal) { padding-bottom: 0; }
.tb-pas__onder:has(.tb-pas__totaal) { position: sticky; bottom: 0; z-index: 2; margin: auto -20px 0; padding: 14px 20px calc(var(--onder) + 14px); background: var(--tb-canvas); border-top: 1px solid var(--tb-line); }
.tb-pas__totaal { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: var(--tb-ink-2); }
.tb-pas__totaal b { font-size: 15px; font-weight: 700; color: var(--tb-ink); }
.tb-pas__klein { margin-top: 10px; font-size: 12.5px; line-height: 18px; color: var(--tb-ink-2); }
/* De link in de kleine letters: 44 px hoog met de vinger, zonder dat de regel hoger wordt (padding op een inline link). */
.tb-pas__klein a { padding: 15px 0; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 2px; }
.tb-pas__onder .tb-pas__klein { margin-top: 16px; }
.tb-pas__loopt { margin-top: 22px; }
/* Je pas (ronde 2 van de herstelronde, taak 4.2, KEURING punt 11): een gewone knop naar Leren, zo breed als zijn woorden,
   en wat erin zit als lijst met vinkjes zoals onder de looptijden. */
.tb-pas__verder { display: inline-flex; width: auto; align-self: flex-start; margin-top: 16px; padding: 0 28px; }
.tb-pas__inhoud { margin-top: 22px; }
.tb-pas__inhoud ul { display: grid; gap: 10px; list-style: none; margin: 12px 0 2px; padding: 0; }
.tb-pas__inhoud li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 20px; }
.tb-pas__inhoud svg { width: 16px; height: 16px; flex: none; margin-top: 2px; fill: none; stroke: var(--tb-ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Ik: "pas tot en met 29 dec" naast de naam (schets, scherm 8). */
.tb-ik__kop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tb-ik__kop .tb-ik__naam { margin-bottom: 0; }
.tb-ik__pas { font-size: 13.5px; line-height: 18px; color: var(--tb-ink-2); text-align: right; }
.tb-ik__pas b { font-weight: 600; color: var(--tb-ink); }
.tb-ik__pas a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; }
/* De code van je rijschool (scherm 7): een veld met Toepassen erin, zoals in de schets. */
.tb-pas__code { margin-top: 16px; }
.tb-pas__code-t { display: block; margin-bottom: 7px; font-size: 13.5px; line-height: 18px; font-weight: 600; }
.tb-pas__code-rij { display: flex; align-items: center; min-height: 50px; border-radius: 12px; border: 1px solid var(--tb-line-2); background: var(--tb-canvas-2); }
.tb-pas__code-rij:focus-within { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-pas__code-rij input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 0; background: transparent; color: var(--tb-ink); font: 500 16px/1.2 var(--tb-font); text-transform: uppercase; color-scheme: light; outline: 0; }
.tb-pas__code-rij input::placeholder { color: var(--tb-ink-3); text-transform: none; }
.tb-pas__code-rij button { flex: none; min-height: 44px; margin-right: 4px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; font-size: 14.5px; font-weight: 600; }
/* De garantie: de voorwaarden met wat je haalde, en het formulier (de velden zijn die van scherm 5 en 6). */
.tb-garantie__eisen { margin-top: 20px; }
.tb-garantie__eisen strong { font-size: 15px; font-weight: 600; }
.tb-garantie__eisen ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 20px; color: var(--tb-ink-2); }
.tb-garantie__eisen li b { display: inline; margin-left: 4px; font-size: 14px; line-height: inherit; letter-spacing: 0; color: var(--tb-ink); }
.tb-garantie__form { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
/* De bestandskiezer in de huisstijl (derde bouwronde, taak 8.4): het echte veld ligt onzichtbaar over het hele vlak, dus een
   tik, de toetsen en de controle van de browser werken zoals altijd; tb-garantie.js zet na het kiezen de naam eronder. */
.tb-garantie__bestand { position: relative; display: flex; align-items: center; min-height: 52px; border-radius: 14px; border: 1px dashed var(--tb-line-2); background: var(--tb-canvas-2); color: var(--tb-ink); }
.tb-garantie__bestand:hover { border-color: var(--tb-ink-3); }
.tb-garantie__bestand:focus-within { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-garantie__invoer { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tb-garantie__invoer::file-selector-button { cursor: pointer; }
.tb-garantie__kies { display: flex; align-items: center; gap: 10px; padding: 0 14px; font: 600 15px/1.3 var(--tb-font); }
.tb-garantie__kies svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tb-garantie__naam { font-size: 14px; line-height: 20px; color: var(--tb-ink-2); overflow-wrap: anywhere; }
.tb-garantie__naam:empty { display: none; }
.tb-garantie__form .tb-leer-knop { margin-top: 8px; }
/* Je account onder Ik (herstelronde 2.1): de formulieren zoals bij de garantie, je pas en betalingen in een vlak, en
   Account verwijderen als een rustige link onderaan. Elke link minstens 44 px hoog. */
.tb-account__form { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.tb-account__form .tb-leer-knop { margin-top: 6px; }
.tb-account__vlak { margin-top: 22px; }
/* Zo werkt het (taak 13.7): vier vlakken met een kop en korte alinea's. */
.tb-zo__vlak { margin-top: 18px; }
.tb-zo__vlak h2 { font-size: 16px; font-weight: 700; line-height: 22px; }
.tb-zo__vlak p { margin-top: 8px; font-size: 14.5px; line-height: 21px; color: var(--tb-ink-2); }
.tb-account__vlak p { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--tb-ink-2); }
.tb-account__link a, .tb-account__weg a, .tb-account__betalingen a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; }
.tb-account__betalingen { display: grid; margin: 4px 0 0; }
.tb-account__betalingen div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; font-size: 14px; line-height: 20px; }
.tb-account__betalingen dt { color: var(--tb-ink-2); }
.tb-account__betalingen dd { margin: 0; }
.tb-account__weg { margin-top: 18px; text-align: center; font-size: 14px; }
.tb-account__weg a { color: var(--tb-ink-2); }
/* Herstel B1 (03-12-2026): zolang verwijderen.aan uit staat, de weg uit de privacyverklaring als rustige regel onderaan. Het
   mailadres 44 px hoog met de vinger, zonder dat de regel hoger wordt (padding op een inline link, zoals bij .tb-pas__klein). */
.tb-account__wis { margin-top: 18px; text-align: center; font-size: 14px; line-height: 20px; color: var(--tb-ink-2); }
.tb-account__wis a { padding: 14px 0; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; }
.tb-account__keuzes { display: grid; gap: 10px; margin-top: 22px; }
/* De velden van je account en de garantie zoals Inloggen op de schets van Dag (taak 10.5): het label klein en vet, het veld
   van Dag (.tb-gast__veld) en een uitleg dicht onder zijn veld. */
.tb-pas .tb-gast__vraag { font-size: 13.5px; line-height: 18px; }
.tb-pas .tb-gast__vraag:not(:first-child) { margin-top: 4px; }
.tb-pas .tb-garantie__bestand { min-height: 50px; border-radius: 12px; }
.tb-account__form .tb-pas__klein, .tb-garantie__form .tb-pas__klein { margin-top: -2px; }

/* ---------- deelplan P5: Oefenen (schets nachtrit-3, scherm 9), alle oefenexamens en de situatieclips ----------
   Richting A "Dag" (taak 10.3, schets dag-overig-2.png links): Vandaag een zacht oranje kaart zonder lijn, met Ava en de
   hoofdknop; de rest kaarten met een lijn (.tb-vlak); de streepjes van de examens zoals op de schets; "× fout" rood. */
.tb-oef { max-width: 480px; margin: 0 auto; padding: calc(var(--boven) + 16px) 20px calc(var(--onder) + 88px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.tb-oef__titel { font-size: 27px; font-weight: 700; line-height: 32px; letter-spacing: -.02em; }
.tb-oef__sub { font-size: 14px; line-height: 20px; color: var(--tb-ink-2); }
.tb-oef .tb-pad__melding { margin: 0; }
.tb-oef a:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-oef__vandaag { display: grid; gap: 14px; padding: 16px; border-radius: 20px; border-color: transparent; background: var(--tb-accent-soft); }
.tb-oef__vandaag-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tb-oef__vandaag-t { font-size: 11.5px; font-weight: 700; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--tb-accent-ink); }
.tb-oef__vandaag h2 { margin-top: 3px; font-size: 20px; font-weight: 700; line-height: 26px; letter-spacing: -.012em; }
.tb-oef__vandaag-kop p:last-child { margin-top: 4px; font-size: 13.5px; line-height: 19px; color: var(--tb-ink-2); }
.tb-oef__ava { position: static; flex: none; height: 88px; margin: -2px -2px -6px 0; }
.tb-oef__vandaag .tb-leer-knop { gap: .3em; min-height: 50px; border-radius: 13px; font-size: 15.5px; box-shadow: none; }
.tb-oef__erbij { font-weight: 400; }
/* Zonder afgeronde reel geen Herhaling, maar deze melding met een knop naar Leren (auditronde 05-12-2026, taak 13.1). */
.tb-oef__leeg { font-size: 15px; font-weight: 600; line-height: 22px; color: var(--tb-ink); }
.tb-oef__streepjes { display: flex; gap: 3px; list-style: none; margin: 10px 0 2px; padding: 0; }
.tb-oef__streepjes li { flex: 1; height: 5px; border-radius: 3px; background: var(--tb-canvas-3); }
.tb-oef__streepjes li.is-af { background: var(--tb-ink); }
.tb-oef__streepjes li.is-nu { background: var(--tb-accent); }
.tb-oef__rij { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; color: var(--tb-ink); text-decoration: none; }
.tb-oef__rij > span { display: flex; flex-direction: column; min-width: 0; }
.tb-oef__rij b { font-size: 15px; font-weight: 600; line-height: 20px; letter-spacing: 0; }
.tb-oef__rij small { font-size: 12.5px; line-height: 17px; color: var(--tb-ink-2); }
.tb-oef__rij svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--tb-ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tb-oef__rij.is-dicht b { color: var(--tb-ink-2); }
.tb-oef__clips { gap: 14px; }
.tb-oef__clips > span { flex: 1; }
.tb-oef__clips .tb-oef__clip-ik { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--tb-canvas-2); stroke: var(--tb-ink); stroke-width: 1.8; }
.tb-oef__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--tb-ink-3); }
.tb-oef .tb-vlak__kop strong { font-size: 16px; font-weight: 700; }
.tb-oef .tb-vlak__kop span, .tb-oef .tb-vlak__kop span b { font-size: 12.5px; }
.tb-oef .tb-vlak__kop .tb-oef__link { font-size: 13.5px; }
.tb-oef__moeilijk .tb-vlak__kop { align-items: center; }
.tb-oef__moeilijk ul { list-style: none; margin: 2px 0 0; padding: 0; }
.tb-oef__moeilijk li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 10px 0; border-top: 1px solid var(--tb-line); font-size: 14px; line-height: 20px; }
.tb-oef__moeilijk li:first-child { border-top: 0; }
.tb-oef__moeilijk li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-oef__moeilijk li small { flex: none; font-size: 12.5px; font-weight: 600; color: var(--tb-ink-2); }
.tb-oef__moeilijk li small.is-fout { color: var(--tb-fout-ink); }
.tb-oef__leeg { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--tb-ink-2); }
.tb-oef__terug-kop { display: flex; align-items: center; gap: 10px; margin-left: -6px; }
.tb-oef__lijst { list-style: none; margin: 0; padding: 2px 16px; }
.tb-oef__lijst li + li { border-top: 1px solid var(--tb-line); }
.tb-oef__lijst .tb-oef__rij { padding: 9px 0; }
.tb-oef__groep h2 { margin: 6px 0 8px; font-size: 16px; font-weight: 700; line-height: 22px; }

/* ---------- deelplan P5: Examen (schets nachtrit-3, scherm 10): kaal, zonder spel ---------- */
.tb-ex { max-width: 480px; margin: 0 auto; padding: calc(var(--boven) + 16px) 20px calc(var(--onder) + 88px); display: flex; flex-direction: column; }
.tb-ex a:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-ex__kop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tb-ex__titel { font-size: 27px; font-weight: 700; line-height: 32px; letter-spacing: -.02em; }
.tb-ex__kop span { font-size: 13.5px; color: var(--tb-ink-2); white-space: nowrap; }
.tb-ex__kop span b { font-weight: 600; color: var(--tb-ink); }
.tb-ex__sub { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--tb-ink-2); }
.tb-ex .tb-pad__melding { margin: 14px 0 0; }
/* De drie getallen als de tegels van het leerpad (.tb-getal, taak 10.2): het getal boven, het woord eronder. */
.tb-ex__getallen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; }
.tb-ex__getallen div { display: flex; flex-direction: column; min-width: 0; padding: 10px 12px; border-radius: 14px; background: var(--tb-canvas-2); }
.tb-ex__getallen dd { order: -1; }
.tb-ex__getallen dd { margin: 0; font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -.02em; }
.tb-ex__getallen dt { font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); }
.tb-ex__regels { margin: 18px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; line-height: 20px; color: var(--tb-ink-2); }
.tb-ex__knoppen { display: grid; gap: 10px; margin-top: 22px; }
.tb-ex__klein { font-size: 12.5px; line-height: 18px; color: var(--tb-ink-2); text-align: center; }
/* Je laatste uitslagen: een kaart met een lijn, zoals de kaarten van Oefenen (taak 10.3). */
.tb-ex__uitslagen { margin-top: 24px; padding: 14px 16px 4px; border-radius: 18px; border: 1px solid var(--tb-line); background: var(--tb-canvas); }
.tb-ex__uitslagen h2 { font-size: 16px; font-weight: 700; line-height: 22px; }
.tb-ex__uitslagen ul { list-style: none; margin: 6px 0 0; padding: 0; }
.tb-ex__uitslagen li + li { border-top: 1px solid var(--tb-line); }
.tb-ex__uitslagen a { display: flex; align-items: center; gap: 14px; min-height: 60px; color: var(--tb-ink); text-decoration: none; }
.tb-ex__wanneer { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tb-ex__wanneer b { font-size: 15px; font-weight: 600; line-height: 20px; }
.tb-ex__wanneer small { font-size: 12.5px; line-height: 17px; color: var(--tb-ink-2); }
.tb-ex__wanneer small.is-geslaagd { color: var(--tb-ok-ink); }
.tb-ex__balk { position: relative; flex: none; width: 88px; height: 5px; border-radius: 3px; background: var(--tb-canvas-3); }
.tb-ex__balk i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--goed); border-radius: 3px; background: var(--tb-ink); }
.tb-ex__balk::after { content: ""; position: absolute; left: var(--grens); top: -4px; width: 2px; height: 13px; margin-left: -1px; border-radius: 1px; background: var(--tb-accent); }
.tb-ex__score { flex: none; min-width: 52px; text-align: right; font-size: 13px; color: var(--tb-ink-2); font-variant-numeric: tabular-nums; }
.tb-ex__score b { font-size: 17px; font-weight: 600; color: var(--tb-ink); }

/* ---------- deelplan P5: de uitslag (schets nachtrit-3, scherm 11): kaal, met de reel bij je fouten ---------- */
.tb-uit { position: relative; max-width: 480px; margin: 0 auto; padding: calc(var(--boven) + 22px) 20px calc(var(--onder) + 24px); display: flex; flex-direction: column; }
.tb-uit a:focus-visible, .tb-uit summary:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
/* Richting A "Dag" (taak 10.4), zoals dag-overig-2.png, midden: het kruisje als rondje van 36 px in canvas-2 (raakvlak 44),
   het grote getal, een doorlopende balk met de slaaggrens in oranje, "N fout" in het rood en kleine knoppen naar de reel. */
.tb-uit__sluit { position: absolute; right: 16px; top: calc(var(--boven) + 9px); background: var(--tb-canvas-2); border: 0; box-shadow: inset 0 0 0 4px var(--tb-canvas);
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.tb-uit__sluit svg { width: 18px; height: 18px; }
.tb-uit__soort { padding-right: 56px; font-size: 13.5px; line-height: 18px; color: var(--tb-ink-2); }
.tb-uit__kop { margin-top: 8px; padding-right: 56px; font-size: 27px; font-weight: 700; line-height: 32px; letter-spacing: -.02em; }
.tb-uit__zin { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--tb-ink-2); }
.tb-uit__cijfer { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.tb-uit__cijfer b { font-size: 60px; font-weight: 700; line-height: 60px; letter-spacing: -.04em; }
.tb-uit__cijfer span { font-size: 16px; color: var(--tb-ink-2); }
/* Een streepje per vraag (de toets telt ze), zonder tussenruimte: zo is het één doorlopende balk met ronde einden. */
.tb-uit__balk { position: relative; display: flex; gap: 0; height: 10px; margin-top: 14px; border-radius: 5px; background: var(--tb-canvas-3); }
.tb-uit__balk i { flex: 1; min-width: 0; background: transparent; }
.tb-uit__balk i.is-goed { background: var(--tb-ink); }
.tb-uit__balk i.is-goed:first-child { border-top-left-radius: 5px; border-bottom-left-radius: 5px; }
.tb-uit__balk i.is-goed:not(:has(+ i.is-goed)) { border-top-right-radius: 5px; border-bottom-right-radius: 5px; }
.tb-uit__balk[style]::after { content: ""; position: absolute; left: var(--grens); top: -5px; bottom: -5px; width: 2.5px; margin-left: -1.25px; border-radius: 2px; background: var(--tb-accent); }
.tb-uit__grens { align-self: flex-end; margin-top: 8px; font-size: 12.5px; color: var(--tb-ink-2); }
.tb-uit__grens b { font-weight: 600; color: var(--tb-ink); }
.tb-uit__h { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--tb-line); font-size: 17px; font-weight: 700; line-height: 22px; }
.tb-uit__lijst { list-style: none; margin: 4px 0 0; padding: 0; }
.tb-uit__lijst li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 57px; padding: 6px 0; border-top: 1px solid var(--tb-line); }
.tb-uit__lijst li:first-child { border-top: 0; }
/* Ronde 2, taak 3.3: houdt het onderwerp naast de knop geen 9rem over, dan gaat de knop eronder. Op 820 px liepen lange
   woorden (Verkeersborden, wegbeheerder) anders onder Oefen dit onderwerp door. */
.tb-uit__onderwerp { flex: 1 1 9rem; min-width: 0; display: flex; flex-direction: column; }
.tb-uit__onderwerp strong { font-size: 15px; font-weight: 600; line-height: 20px; }
.tb-uit__onderwerp small { font-size: 12.5px; font-weight: 600; line-height: 17px; color: var(--tb-fout-ink); }
/* Een kleine knop zoals op de schets: zichtbaar 36 px hoog met hoeken van 10 px (het vlak is ::before), het raakvlak 44 px. */
.tb-uit__reel { position: relative; z-index: 0; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 13px; border: 0; border-radius: 10px;
  background: none; color: var(--tb-ink); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tb-uit__reel::before { content: ""; position: absolute; inset: 4px 0; z-index: -1; border-radius: 10px; border: 1.5px solid var(--tb-line-2); background: var(--tb-canvas); }
.tb-uit__reel svg, .tb-uit__naar svg { width: 12px; height: 12px; fill: currentColor; }
.tb-uit__reel.is-eerst { color: var(--op-oranje); }
.tb-uit__reel.is-eerst::before { border-color: var(--tb-accent); background: var(--tb-accent); }
.tb-uit__fouten { margin-top: 18px; border-top: 1px solid var(--tb-line); }
.tb-uit__weg { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }   /* Taak 10: een verborgen vraag */
.tb-uit__fouten summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
/* Derde bouwronde, taak 8.2 (N3): op display: flex tekent Chrome geen driehoekje. De pijl van .tb-uitklap summary::after
   (tb-componenten.css, dat de app niet laadt), omgedraaid als het blok open is. */
.tb-uit__fouten summary::-webkit-details-marker { display: none; }
.tb-uit__fouten summary::after { content: ""; flex: none; width: 11px; height: 11px; margin: -4px 4px 0 0; border-right: 2px solid var(--tb-ink-3); border-bottom: 2px solid var(--tb-ink-3); transform: rotate(45deg); transition: transform var(--tb-t); }
.tb-uit__fouten[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.tb-uit__fouten ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tb-uit__fouten li { padding: 12px 14px; border-radius: 14px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }
.tb-uit__vraag { font-size: 14.5px; line-height: 20px; }
.tb-uit__vraag b { font-weight: 600; margin-right: 4px; }
.tb-uit__fouten dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 8px 0 0; font-size: 13.5px; line-height: 19px; }
.tb-uit__fouten dt { color: var(--tb-ink-2); }
/* Wat je koos in het rood, wat goed was in het groen; het woord ervoor zegt het ook (Jouw antwoord, Goed antwoord). */
.tb-uit__fouten dd { margin: 0; font-weight: 600; }
.tb-uit__fouten dd:nth-of-type(1) { color: var(--tb-fout-ink); }
.tb-uit__fouten dd:nth-of-type(2) { color: var(--tb-ok-ink); }
.tb-uit__uitleg { margin-top: 8px; font-size: 13.5px; line-height: 19px; color: var(--tb-ink-2); }
.tb-uit__naar { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; }
.tb-uit__knoppen { display: grid; gap: 10px; margin-top: 24px; }

/* ---------- deelplan P5: Borden (schets nachtrit-3, scherm 12), een groep en de trainer ---------- */
.tb-brd { max-width: 480px; margin: 0 auto; padding: calc(var(--boven) + 16px) 20px calc(var(--onder) + 88px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }
.tb-brd a:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-brd__train { display: grid; gap: 14px; }
.tb-brd__stand { display: flex; align-items: center; gap: 14px; }
.tb-brd__drie { display: flex; flex: none; }
.tb-brd__drie img { width: 40px; height: 40px; object-fit: contain; }
.tb-brd__drie img + img { margin-left: -8px; }
.tb-brd__ken { flex: 1; min-width: 0; display: grid; gap: 8px; }
.tb-brd__ken p { font-size: 14px; line-height: 19px; color: var(--tb-ink-2); }
.tb-brd__ken b { display: inline; font-size: inherit; line-height: inherit; letter-spacing: 0; font-weight: 600; color: var(--tb-ink); }
.tb-brd__meter { display: block; height: 3px; border-radius: 2px; background: var(--wit-16); overflow: hidden; }
.tb-brd__meter i { display: block; width: var(--ken); height: 100%; background: var(--tb-accent); }
.tb-brd__groepen { list-style: none; margin: 0; padding: 0; }
.tb-brd__groepen li + li { border-top: 1px solid var(--tb-line); }
.tb-brd__groepen a { display: flex; align-items: center; gap: 12px; min-height: 52px; color: var(--tb-ink); text-decoration: none; }
.tb-brd__groepen img, .tb-brd__groepen .tb-brd__geen { width: 30px; height: 30px; flex: none; object-fit: contain; }
.tb-brd__groepen b { width: 16px; flex: none; font-size: 15px; font-weight: 600; }
.tb-brd__naam { flex: 1; min-width: 0; font-size: 15.5px; line-height: 21px; }
.tb-brd__groepen small { flex: none; font-size: 13px; color: var(--tb-ink-2); }
.tb-brd__groepen svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--tb-ink-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tb-brd__geen { display: grid; place-items: center; border-radius: 8px; border: 1px dashed var(--tb-line-2); font-size: 10px; line-height: 12px; text-align: center; color: var(--tb-ink-2); }
.tb-brd__lijst { list-style: none; margin: 0; padding: 2px 14px; }
.tb-brd__lijst li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; }
.tb-brd__lijst li + li { border-top: 1px solid var(--tb-line); }
.tb-brd__lijst img, .tb-brd__lijst .tb-brd__geen { width: 48px; height: 48px; flex: none; object-fit: contain; }
.tb-brd__lijst div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tb-brd__lijst b { font-size: 15px; font-weight: 600; line-height: 20px; }
.tb-brd__lijst small { font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
.tb-brd__ken-ik { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--tb-ok-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Taak 6.3 (ronde 2): de naamsvermelding van een beeld onder CC BY (C22e4 tot en met C22e10), klein: in een groep onder de
   betekenis, in de trainer onder het bord. Een link is met de vinger minstens 44 px hoog, zonder dat de regel hoger wordt:
   padding op een inline link, zoals bij .tb-pas__klein, hier 16 px boven en onder (bij een letter van 12 px gaf 14 px er
   43). */
.tb-brd__lijst .tb-brd__bron { font-size: 12px; line-height: 16px; color: var(--tb-ink-3); }
.tb-brdt__bron { display: block; margin-top: 8px; font-size: 12px; line-height: 16px; text-align: center; color: var(--tb-ink-3); }
.tb-brd__bron a, .tb-brdt__bron a { padding: 16px 0; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tb-brdt { position: relative; max-width: 480px; min-height: 100dvh; margin: 0 auto; padding: calc(var(--boven) + 22px) 20px calc(var(--onder) + 24px); display: flex; flex-direction: column; }
.tb-brdt a:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-brdt__sluit { position: absolute; right: 12px; top: calc(var(--boven) + 12px); }
.tb-brdt__soort { padding-right: 56px; font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
.tb-brdt__bord { display: block; width: 168px; height: 168px; margin: 24px auto 0; object-fit: contain; }
.tb-brdt__vraag { margin-top: 22px; font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -.015em; }
.tb-brdt__zin { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--tb-ink-2); }
.tb-brdt .tb-antw-lijst { margin-top: 16px; }
/* De antwoorden van de trainer zoals die van een examen in Dag (taak 10.5): wit met een lijn, het rondje rechts blijft. De
   uitslag: goed in het groen, niet goed in het rood. Het lege rondje is sinds de kleine vervolgronde (taak 11.1)
   --tb-ink-3, 5,60:1 op wit; de lijn haalde 1,47:1. */
.tb-brdt .tb-antw { min-height: 56px; background: var(--tb-canvas); border: 1.5px solid var(--tb-line-2); }
.tb-brdt .tb-antw i { border-color: var(--tb-ink-3); }
/* Na je antwoord (auditronde 05-12-2026, taak 13.10) blijven de vier namen staan, als lijst zonder knoppen, met je keuze en
   het goede antwoord zoals in een reel (taak 13.3, de regels voor .tb-reel breed): wat je koos een grijs vlak, een donkere
   rand (--tb-ink-2, 8,1:1 op wit) en het volle rondje, het goede antwoord een groene rand (--tb-ok, 5,5:1), de andere
   namen in --tb-ink-2. Jij koos en Goed antwoord staan op een eigen regel onder de naam (.tb-antw__etiketten). Hier ook op
   de telefoon, want in de trainer blijven de namen daar staan. */
.tb-brdt__nagekeken { list-style: none; margin-bottom: 0; padding: 0; }
.tb-brdt .tb-antw.is-gekozen { background: var(--tb-canvas-3); border-color: var(--tb-ink-2); }
.tb-brdt .tb-antw.is-goed { border-color: var(--tb-ok); box-shadow: inset 0 0 0 1px var(--tb-ok); }
.tb-brdt__nagekeken .tb-antw:not(.is-gekozen):not(.is-goed) { color: var(--tb-ink-2); }
.tb-brdt__uitslag .tb-oordeel { color: var(--tb-ok-ink); }
.tb-brdt__uitslag.is-fout .tb-oordeel, .tb-brdt__uitslag.is-fout .tb-oordeel svg { color: var(--tb-fout-ink); }
.tb-brdt__uitslag { margin-top: 22px; }
.tb-brdt > .tb-leer-knop { margin-top: auto; }
.tb-brdt__uitslag + .tb-leer-knop, .tb-brdt__zin + .tb-leer-knop { margin-top: 24px; }

/* Weg A (deelplan P7, Taak 3): alle hoofdstukken onder het pad, dicht tot je erop tikt. In richting A "Dag" (taak 10.2) een
   kaart met een gewone lijst, zoals de lijst van het hoofdstuk; de pijl zoals bij de uitslag (.tb-uit__fouten). */
.tb-pad__alle { margin-top: 20px; padding: 0 16px; border-radius: 18px; border: 1px solid var(--tb-line); background: var(--tb-canvas); }
.tb-pad__alle summary { min-height: 52px; display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--tb-ink); }
.tb-pad__alle summary::-webkit-details-marker { display: none; }
.tb-pad__alle summary span { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--tb-ink-2); }
.tb-pad__alle summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: -4px 2px 0 0; border-right: 2px solid var(--tb-ink-3); border-bottom: 2px solid var(--tb-ink-3); transform: rotate(45deg); transition: transform var(--tb-t); }
.tb-pad__alle[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.tb-pad__alle summary:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; border-radius: 8px; }
.tb-pad__alle ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tb-line); }
.tb-pad__alle li { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.5px; line-height: 20px; color: var(--tb-ink); }
.tb-pad__alle li + li { border-top: 1px solid var(--tb-line); }
.tb-pad__alle li b { flex: none; font-size: 12.5px; font-weight: 500; color: var(--tb-ink-2); }
.tb-pad__alle li.is-komt { color: var(--tb-ink-3); }
.tb-pad__alle li.is-komt b { color: var(--tb-ink-3); font-weight: 400; }
/* Taak 13.10: een dicht hoofdstuk heeft een slotje naast "komt eraan", in de kleur van die tekst (--tb-ink-3, 5,6:1 op wit);
   breed staat het in de tegel (.tb-hfd__tegel svg). inline-block, want in de app is een svg een blok (:where(.tb-leer) svg). */
.tb-pad__alle li b svg { display: inline-block; width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .tb-pad__alle summary::after { transition: none; } }

/* ---------- CA2, "Werkblad met de weg" (01-12-2026): de app op tablet en laptop ----------
   Daans keuze uit zes schetsen: workspaces/theoriebriljant/ontwerp/2026-12-01-app-breed/CA2-werkblad-met-de-weg.html.
   In richting A "Dag" blijft dit de indeling; waar de weg stond, staat de lijst van het hoofdstuk (taak 10.2 en 10.10).
   Onder 768 px verandert er niets: de omhulsels __podium en __kolom staan dan op display contents (geen eigen vak), en wat
   alleen breed bestaat op display none. Breed: de onderbalk wordt de zijbalk (768 tot 1024 px een rail), en per pagina
   staat links het podium en rechts een kolom met kaarten. Kleuren alleen uit tb-tokens.css.
   Deel 2 (01-12-2026): Oefenen, Examen, de uitslag, Borden, de trainer, Ik en de gast, met dezelfde schil, hetzelfde podium
   en dezelfde kolom (de regels van klaar en de pas); wat per pagina anders is, staat onder "CA2 deel 2" hieronder. */
.tb-pad__podium, .tb-pad__kolom, .tb-reel__podium, .tb-reel__kolom, .tb-klaar__podium, .tb-klaar__kolom,
.tb-pas__podium, .tb-pas__kolom, .tb-oef__podium, .tb-oef__kolom, .tb-ex__podium, .tb-ex__kolom, .tb-uit__podium, .tb-uit__kolom,
.tb-brd__podium, .tb-brd__kolom, .tb-brdt__podium, .tb-brdt__kolom, .tb-ik__podium, .tb-ik__kolom, .tb-ik__onder, .tb-gast__podium,
.tb-gast__kolom { display: contents; }
.tb-tabs__merk, .tb-tabs__pas, .tb-tabs--breed, .tb-vandaag, .tb-stand, .tb-hfd, .tb-hierna, .tb-toetsen, .tb-ex__fouten, .tb-ex__nog,
.tb-reel__kop .tb-kruimel, .tb-reel__kop .tb-reel__waar, .tb-oef__getal, .tb-oef__voortgang, .tb-oef__still,
.tb-oef__rij > .tb-oef__nr { display: none; }   /* binnen de kop: anders wint .tb-reel__kop span; in de rij .tb-oef__rij > span */

@media (min-width: 768px) {
  .tb-leer { --zij: 84px; }
  body.tb-leer:has(> .tb-tabs) { padding-left: var(--zij); }

  /* De zijbalk: dezelfde vijf links als de onderbalk, in dezelfde volgorde; tot 1024 px het woord onder het icoon. */
  .tb-tabs, .tb-tabs--breed { top: 0; right: auto; bottom: 0; width: var(--zij); max-width: none; margin: 0; display: flex; flex-direction: column; gap: 4px;
    padding: calc(var(--boven) + 16px) 8px calc(var(--onder) + 16px); border-top: 0; border-right: 1px solid var(--tb-line); background: var(--tb-canvas-2); overflow-y: auto; }
  .tb-tabs__merk { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-bottom: 12px; }
  .tb-tabs__logo { display: none; }
  .tb-tabs__icoon { display: block; width: 40px; height: 40px; border-radius: 10px; }
  .tb-tabs > a { flex: none; min-height: 62px; border-radius: 12px; }
  .tb-tabs > a:hover { color: var(--tb-ink); }
  .tb-tabs > a.is-actief { background: var(--tb-canvas-3); box-shadow: inset 0 0 0 1px var(--tb-line-2); }
  .tb-tabs > a.is-actief::before { display: none; }

  /* ---- het leerpad: Vandaag, podium met het hoofdstuk en zijn lijst, kolom met de stand en de hoofdstukken ---- */
  .tb-pad { max-width: 1180px; margin: 0 auto; padding: calc(var(--boven) + 18px) 20px calc(var(--onder) + 24px); display: grid;
    grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); gap: 16px; align-items: start; }
  .tb-pad > .tb-pad__boven, .tb-pad__kop, .tb-verder, .tb-pad__alle { display: none; }
  .tb-vandaag, .tb-pad > .tb-pad__melding, .tb-pad > .tb-pad__zo { grid-column: 1 / -1; }
  .tb-pad > .tb-pad__melding, .tb-pad > .tb-pad__zo { margin: 0; }
  /* Het podium is een kaart met het hoofdstuk en de lijst (richting A "Dag", taak 10.2; tot dan de weg). */
  .tb-pad__podium { display: block; min-width: 0; padding: 20px 22px 8px; border-radius: 18px; border: 1px solid var(--tb-line); background: var(--tb-canvas); }
  .tb-pad__podium > .tb-pad__hoofdstuk { margin-top: 0; }
  .tb-pad__podium > .tb-pad__leeg { margin: 8px 0 12px; }
  .tb-pad__kolom { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

  .tb-vandaag { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 12px 16px; padding: 14px 16px; border-radius: 20px;
    background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }
  .tb-vandaag__poster { width: 54px; height: 96px; border-radius: 10px; object-fit: cover; background: var(--tb-canvas-3); }
  .tb-vandaag__t { min-width: 0; }
  .tb-vandaag__t small { display: block; font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); }
  .tb-vandaag__t h2 { margin-top: 2px; font-size: 20px; font-weight: 700; line-height: 26px; letter-spacing: -.015em; }
  .tb-vandaag__t p { margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
  .tb-vandaag__knop { grid-column: 1 / -1; }
  .tb-vandaag__dag { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
    font-size: 13px; line-height: 18px; color: var(--tb-ink-2); }
  .tb-vandaag__dag b { font-weight: 600; color: var(--tb-ink); }
  .tb-vandaag__streepjes { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .tb-vandaag__streepjes li { flex: 1; height: 3px; border-radius: 2px; background: var(--tb-line-2); }
  .tb-vandaag__streepjes li.is-af { background: var(--tb-ink-2); }
  .tb-vandaag__streepjes li.is-nu { background: var(--tb-accent); }

  .tb-stand { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; padding: 16px 18px; }
  .tb-stand .tb-ring { width: 96px; height: 96px; }
  .tb-stand dl { width: 100%; margin: 0; display: grid; gap: 10px; }
  .tb-stand dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--tb-line); }
  .tb-stand dl div:last-child { padding-bottom: 0; border-bottom: 0; }
  .tb-stand dt { font-size: 13px; color: var(--tb-ink-2); }
  .tb-stand dd { margin: 0; font-size: 16px; font-weight: 600; text-align: right; }
  .tb-stand dd a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; }
  .tb-stand dd a:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }

  .tb-hfd { display: block; }
  .tb-hfd__kop { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
  .tb-hfd__kop h2 { font-size: 16px; font-weight: 600; line-height: 22px; }
  .tb-hfd__kop span { font-size: 13px; color: var(--tb-ink-2); }
  .tb-hfd__tegels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tb-hfd__tegel { height: 100%; min-height: 70px; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px;
    background: var(--tb-canvas-2); border: 1px solid var(--tb-line); color: var(--tb-ink); text-decoration: none; }
  .tb-hfd__tegel small { font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); }
  .tb-hfd__tegel b { font-size: 14px; font-weight: 600; line-height: 19px; }
  .tb-hfd__tegel span { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); }
  .tb-hfd__tegel svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .tb-hfd__tegel.is-nu { background: var(--tb-canvas-3); border-color: var(--tb-line-2); }
  .tb-hfd__tegel.is-komt { min-height: 56px; background: transparent; border-style: dashed; }
  .tb-hfd__tegel.is-komt b { font-weight: 500; color: var(--tb-ink-2); }
  a.tb-hfd__tegel:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
  .tb-hfd__balk { display: block; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--tb-line-2); overflow: hidden; }
  .tb-hfd__balk::before { content: ""; display: block; width: var(--af, 0%); height: 100%; background: var(--tb-accent); }
  .tb-hfd__rest { margin-top: 8px; }
  .tb-hfd__rest summary { min-height: 48px; display: flex; align-items: center; padding: 0 12px; border-radius: 14px; border: 1px dashed var(--tb-line);
    font-size: 14px; color: var(--tb-ink-2); cursor: pointer; }
  .tb-hfd__rest summary:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
  .tb-hfd__rest ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
  .tb-hfd__rest li { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 12px; border: 1px dashed var(--tb-line);
    font-size: 14px; color: var(--tb-ink-3); }

  /* ---- de reel: kruimelpad, de video in 9:16 op het podium, de vraag en Hierna in de kolom ---- */
  .tb-reel { left: 0; right: 0; max-width: none; margin: 0; overflow-x: hidden; overflow-y: auto; display: grid;
    grid-template-columns: var(--podium-b) minmax(0, 1fr); align-content: start; align-items: start; gap: 12px 16px;
    padding: calc(var(--boven) + 12px) 20px calc(var(--onder) + 20px);
    --podium-b: min(56%, calc((100dvh - var(--boven) - 100px) * 9 / 16)); }
  body.tb-leer:has(> .tb-tabs) .tb-reel { left: var(--zij); }
  .tb-reel__kop { position: static; grid-column: 1 / -1; min-height: 48px; gap: 12px; }
  .tb-reel__kop > div, .tb-reel__kop .tb-kruimel .tb-kruimel__hfd { display: none; }
  .tb-reel__kop .tb-kruimel { display: flex; flex: 1; min-width: 0; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--tb-ink-2); }
  .tb-kruimel a { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; padding-right: 4px;
    font-weight: 600; color: var(--tb-ink); text-decoration: none; border-radius: 8px; }
  .tb-kruimel a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .tb-kruimel a:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
  .tb-kruimel i { font-style: normal; color: var(--tb-line-2); }
  .tb-reel__kop .tb-kruimel span { flex: none; font-size: 14px; line-height: 20px; color: var(--tb-ink-2); }
  .tb-kruimel b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--tb-ink); }
  .tb-reel__kop .tb-reel__waar { display: block; flex: none; font-size: 13.5px; line-height: 20px; color: var(--tb-ink-2); }
  .tb-reel__podium { display: block; position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--tb-canvas-2); }
  .tb-reel__schemer { display: none; }
  .tb-reel__streepjes { top: 12px; left: 16px; right: 16px; }
  .tb-reel__zij { right: 12px; bottom: 26px; transition: none; }   /* taak 13.9: boven de balk */
  .tb-reel__plek { left: 16px; right: 16px; bottom: 12px; }
  .tb-reel__melding { left: 16px; right: 16px; }
  .tb-reel__kolom { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
  .tb-paneel { position: static; z-index: auto; padding: 18px; border-radius: 20px; border: 1px solid var(--tb-line); background: var(--tb-canvas-2);
    -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tb-aftel__balk.is-beantwoord b { background: var(--tb-ink-3); }
  .tb-reel .tb-paneel__uitslag { margin-top: 16px; }   /* breed blijft de vraag erboven staan */
  .tb-reel .tb-antw:disabled:not(.is-gekozen):not(.is-goed) { color: var(--tb-ink-2); }
  .tb-reel .tb-antw.is-gekozen { background: var(--tb-canvas-3); border-color: var(--tb-ink-2); }
  /* Het goede antwoord een groene rand, zonder het volle rondje van een keuze: dat rondje heeft alleen wat je koos, en na
     "Tijd is om" niets (taak 13.3). Het woord eronder zegt welk het is. */
  .tb-reel .tb-antw.is-goed { border-color: var(--tb-ok); box-shadow: inset 0 0 0 1px var(--tb-ok); }
  .tb-hierna { display: block; }
  .tb-hierna h2 { margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--tb-ink-2); }
  .tb-hierna ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .tb-hierna li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 6px 8px 6px 6px; border-radius: 12px; }
  .tb-hierna li:first-child { background: var(--tb-canvas-2); }
  .tb-hierna img { flex: none; width: 30px; height: 53px; border-radius: 6px; object-fit: cover; background: var(--tb-canvas-3); }
  .tb-hierna span { min-width: 0; }
  .tb-hierna b { display: block; font-size: 14.5px; font-weight: 600; line-height: 20px; }
  .tb-hierna small { display: block; font-size: 12.5px; line-height: 17px; color: var(--tb-ink-2); }

  /* ---- klaar voor vandaag: Ava en de tegels op een kaart, de reeks en de knoppen in de kolom ---- */
  /* Het vak van inloggen en registreren (tb-gast tb-inlog__vak) blijft op elke breedte één kolom (herstelronde 1.1). */
  .tb-klaar, .tb-oef, .tb-ex, .tb-uit, .tb-brd, .tb-brdt, .tb-ik, .tb-gast:not(.tb-inlog__vak) { max-width: 1180px; min-height: 0; margin: 0 auto;
    padding: calc(var(--boven) + 18px) 20px calc(var(--onder) + 24px); display: grid;
    grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); gap: 16px; align-items: start; }
  /* Klaar: Ava, de titel en de tegels op een kaart (richting A "Dag", taak 10.2; tot dan de einder op een podium). */
  .tb-klaar__podium { display: flex; flex-direction: column; min-width: 0; padding: 28px 22px 24px; border-radius: 18px;
    border: 1px solid var(--tb-line); background: var(--tb-canvas); }
  .tb-klaar__kolom { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
  .tb-klaar__reeks, .tb-klaar__badge { margin-top: 0; }
  .tb-klaar__keuzes { margin-top: 0; padding-top: 4px; }

  /* ---- de pas en de garantie: het kiezen op het podium, de garantie, de code en Betaal in de kolom ---- */
  .tb-pas:not(.tb-pas--kassa) { max-width: 1180px; min-height: 0; margin: 0 auto; padding: calc(var(--boven) + 76px) 20px calc(var(--onder) + 24px);
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .tb-pas__sluit, .tb-uit__sluit, .tb-brdt__sluit { top: calc(var(--boven) + 16px); right: 20px; }
  .tb-pas__podium, .tb-oef__podium, .tb-ex__podium, .tb-uit__podium, .tb-brd__podium, .tb-brdt__podium, .tb-ik__podium, .tb-gast__podium {
    display: flex; flex-direction: column; min-width: 0; padding: 24px 22px; border-radius: 26px; border: 1px solid var(--tb-line);
    background: linear-gradient(to bottom, var(--tb-canvas), var(--tb-canvas-2)); }
  .tb-pas__kolom, .tb-oef__kolom, .tb-ex__kolom, .tb-uit__kolom, .tb-brd__kolom, .tb-brdt__kolom, .tb-ik__kolom, .tb-gast__kolom {
    display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .tb-pas__kolom > * { margin-top: 0; }
  .tb-pas__titel { padding-right: 0; }
  /* Hier is de kolom de plek van het totaal en Betaal: een vak, geen balk die onderaan blijft (taak 10.5). */
  .tb-pas__onder, .tb-pas__onder:has(.tb-pas__totaal) { position: static; margin: 0; padding: 16px; border-radius: 16px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }
}

@media (min-width: 1024px) {
  .tb-leer { --zij: 212px; }
  .tb-tabs, .tb-tabs--breed { padding: calc(var(--boven) + 22px) 14px calc(var(--onder) + 18px); }
  .tb-tabs__merk { justify-content: flex-start; padding: 0 12px; margin-bottom: 20px; }
  .tb-tabs__logo { display: block; width: auto; height: 25px; }
  .tb-tabs__icoon { display: none; }
  .tb-tabs > a { flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 46px; padding: 0 12px; font-size: 15px; font-weight: 500; color: var(--tb-ink-2); }
  .tb-tabs > a.is-actief { color: var(--tb-accent-ink); font-weight: 600; }
  .tb-tabs > a svg { width: 22px; height: 22px; }
  .tb-tabs__pas { display: grid; gap: 6px; margin-top: auto; padding: 14px; border-radius: 16px; background: var(--tb-canvas); border: 1px solid var(--tb-line); }
  .tb-tabs__pas small { font-size: 12.5px; line-height: 16px; color: var(--tb-ink-2); }
  .tb-tabs__pas b { font-size: 14px; font-weight: 600; line-height: 20px; }
  .tb-tabs .tb-tabs__kies { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 6px; border-radius: 12px;
    border: 1px solid var(--tb-line-2); font-size: 15px; font-weight: 600; color: var(--tb-ink); text-decoration: none; }
  .tb-tabs .tb-tabs__kies:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }

  .tb-pad { grid-template-columns: 420px minmax(0, 1fr); gap: 20px 28px; padding: calc(var(--boven) + 24px) 28px calc(var(--onder) + 28px); }
  .tb-vandaag { grid-template-columns: 54px minmax(0, 1fr) auto minmax(170px, 240px); gap: 0 22px; padding: 14px 20px; }
  .tb-vandaag__knop { grid-column: auto; width: auto; padding: 0 26px; white-space: nowrap; }
  .tb-vandaag__dag { grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 22px; border-left: 1px solid var(--tb-line); }
  .tb-stand { grid-template-columns: auto minmax(0, 1fr); justify-items: stretch; gap: 20px; }
  .tb-hfd__tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .tb-reel { padding: calc(var(--boven) + 16px) 28px calc(var(--onder) + 24px); gap: 12px 28px;
    --podium-b: min(56%, calc((100dvh - var(--boven) - 108px) * 9 / 16)); }
  .tb-reel__kop .tb-kruimel span.tb-kruimel__hfd { display: block; }
  .tb-reel__kop .tb-kruimel i.tb-kruimel__hfd { display: inline; }

  .tb-klaar, .tb-oef, .tb-ex, .tb-uit, .tb-brd, .tb-brdt, .tb-ik, .tb-gast:not(.tb-inlog__vak) { grid-template-columns: 420px minmax(0, 1fr); gap: 20px 28px;
    padding: calc(var(--boven) + 24px) 28px calc(var(--onder) + 28px); }
  .tb-pas:not(.tb-pas--kassa) { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 20px 28px; padding-left: 28px; padding-right: 28px; }
  .tb-pas__sluit, .tb-uit__sluit, .tb-brdt__sluit { right: 28px; }
}

@media (min-width: 1280px) {
  .tb-leer { --zij: 244px; }
  .tb-pad { grid-template-columns: 480px minmax(0, 1fr); padding-left: 32px; padding-right: 32px; }
  .tb-reel { padding-left: 32px; padding-right: 32px; }
  .tb-klaar, .tb-oef, .tb-ex, .tb-uit, .tb-brd, .tb-brdt, .tb-ik, .tb-gast:not(.tb-inlog__vak) { grid-template-columns: 480px minmax(0, 1fr); padding-left: 32px; padding-right: 32px; }
  .tb-pas:not(.tb-pas--kassa) { padding-left: 32px; padding-right: 32px; }
  .tb-pas__sluit, .tb-uit__sluit, .tb-brdt__sluit { right: 32px; }
}

/* Ronde 2, taak 3.3 (KEURING punt 29): alle oefenexamens als raster van tegels in plaats van één lange lijst. Op 1440 is de
   kolom 608 px breed, dus drie per rij (3 × 180 + 2 × 10 = 560 past, vier niet); tussen 1280 en 1375 px twee. Een tegel
   is de hele link, dus zonder pijltje. Onder 1280 px de lijst zoals hij was; de clips staan onderaan (taak 4.4). */
@media (min-width: 1280px) {
  .tb-oef__lijst.tb-oef__lijst--examens { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px;
    padding: 0; border: 0; border-radius: 0; background: none; }
  .tb-oef__lijst--examens li + li { border-top: 0; }
  .tb-oef__lijst--examens .tb-oef__rij { height: 100%; min-height: 76px; padding: 12px 14px; border-radius: 14px;
    background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }
  .tb-oef__lijst--examens .tb-oef__rij svg { display: none; }
}

/* Ronde 2, taak 3.4: het gratis proefexamen in de stijl van de app (alleen met publiek.aan). Het begin is het scherm Examen
   zonder de tabs en zonder de kolom, met een kruisje naar de startpagina; breed één kaart in het midden van het scherm. De
   uitslag is die van de app, met de knoppen op het podium (een bezoeker ziet ze zonder te scrollen), wat je goed had als
   tweede kaart, de foto per vraag en het delen van je score. De link in de kleine letters is 44 px hoog met de vinger,
   zonder dat de regel hoger wordt (padding op een inline link, zoals bij de pas). De foto staat rechts naast de vraag; in
   een smalle kaart (de telefoon, of de rechterkolom op een tablet) begint je antwoord onder de foto, anders wordt de
   kolom met het antwoord een paar letters breed. */
.tb-ex--los { position: relative; padding-bottom: calc(var(--onder) + 24px); }
.tb-ex--los .tb-ex__kop { padding-right: 56px; }
.tb-ex__sluit { position: absolute; right: 12px; top: calc(var(--boven) + 8px); }
.tb-ex__klein a, .tb-uit__klein a { padding: 15px 0; color: var(--tb-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tb-uit__klein { font-size: 12.5px; line-height: 18px; color: var(--tb-ink-2); text-align: center; }
.tb-uit--proef .tb-uit__fouten li { display: flow-root; container: tb-uitv / inline-size; }
@container tb-uitv (max-width: 480px) { .tb-uit--proef .tb-uit__fouten dl { clear: right; } }
.tb-uit__beeld { float: right; width: 96px; height: 72px; margin: 2px 0 8px 12px; border-radius: 10px; object-fit: cover; background: var(--tb-canvas-3); }
.tb-uit__deelbeeld { display: block; width: 100%; height: auto; margin-top: 12px; border-radius: 12px; }
.tb-uit__delen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tb-uit__delen .tb-uit__reel { background: none; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.tb-uit__delen .tb-uit__reel:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.tb-uit__deel .tb-uit__klein { margin-top: 8px; text-align: left; }
@media (min-width: 768px) {
  .tb-ex.tb-ex--los { grid-template-columns: minmax(0, 520px); justify-content: center; align-content: center; min-height: 100dvh; }
  .tb-ex--los .tb-ex__podium { position: relative; }
  .tb-ex--los .tb-ex__sluit { top: 16px; right: 16px; }
  .tb-ex--los .tb-ex__sub { padding-right: 56px; }
  .tb-uit__podium > .tb-uit__knoppen { margin-top: 24px; }
  /* Een lege uitslag (derde bouwronde, taak 8.9, F1): alleen het podium met de knoppen, in het midden, en het kruisje boven
     zijn rechterhoek in plaats van aan de rand van de pagina. */
  .tb-uit.tb-uit--leeg { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .tb-uit--leeg .tb-uit__sluit { right: max(20px, calc(50% - 280px)); }
  .tb-uit__deel { padding: 14px 16px 16px; border-radius: 16px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }
}

/* ---------- CA2 deel 2 (01-12-2026): wat per pagina anders is ----------
   Het podium: Oefenen de herhaling van vandaag, met het aantal vragen groot; alle oefenexamens, de clips en een groep borden
   de kop met de uitleg (en hoeveel examens er gedaan zijn, of Train deze groep), die blijft staan als je de lijst scrollt;
   Examen het volgende examen; de uitslag de score; Borden de trainer met drie borden; de trainer het bord; Ik je naam, je
   stand en je examendatum; een gast Ava (in Dag op haar rondje, tot dan op de weg), of na zijn eerste reel zijn stand. Een
   examenvraag (de runner, ook de
   herhaling) had al een brede indeling, met de foto naast de vraag: die staat in tb-runner.css. */
@media (min-width: 768px) {
  .tb-oef > .tb-oef__titel, .tb-oef > .tb-pad__melding, .tb-brd > .tb-ex__kop, .tb-brdt > .tb-brdt__soort { grid-column: 1 / -1; }
  .tb-oef > .tb-pad__melding { margin: 0; }

  /* Oefenen: de herhaling op het podium, groot; de examens, de clips en je moeilijkste vragen in de kolom. */
  .tb-oef__podium { position: sticky; top: calc(var(--boven) + 18px); gap: 12px; }
  .tb-oef__podium > .tb-oef__vandaag { gap: 18px; padding: 0; border: 0; border-radius: 0; background: none; }
  .tb-oef__vandaag h2 { font-size: 26px; line-height: 32px; letter-spacing: -.02em; }
  .tb-oef__vandaag-kop p:last-child { max-width: 34ch; font-size: 15px; line-height: 22px; }
  .tb-oef__vandaag .tb-oef__ava { width: auto; height: 84px; }
  .tb-oef__getal { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 15px; color: var(--tb-ink-2); }
  .tb-vlak .tb-oef__getal b { display: inline; font-size: 64px; font-weight: 300; line-height: 64px; letter-spacing: -.03em; color: var(--tb-ink); }
  .tb-oef__erbij { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* Alle oefenexamens, de clips en een groep borden: de kop op het podium, de lijst in de kolom. */
  .tb-oef__podium .tb-oef__titel { font-size: 26px; line-height: 32px; }
  .tb-oef__podium .tb-oef__sub { font-size: 15px; line-height: 22px; }
  .tb-oef__voortgang { display: grid; gap: 8px; margin-top: 6px; font-size: 13.5px; line-height: 18px; color: var(--tb-ink-2); }
  .tb-oef__voortgang b { font-weight: 600; color: var(--tb-ink); }
  .tb-oef__voortgang .tb-oef__streepjes { margin: 0; }
  .tb-oef__podium > .tb-leer-knop { margin-top: 8px; }
  .tb-oef__kolom .tb-oef__groep h2 { margin-top: 0; }

  /* Examen: het volgende examen op het podium, je laatste uitslagen als kaart in de kolom. */
  .tb-ex__uitslagen { margin-top: 0; padding: 14px 16px 4px; border-radius: 16px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }

  /* De uitslag: de score op het podium; je fouten, wat je fout had en de knoppen in de kolom. */
  .tb-uit { padding-top: calc(var(--boven) + 76px); }
  .tb-uit__soort, .tb-uit__kop { padding-right: 0; }
  .tb-uit__h { margin-top: 0; padding-top: 0; border-top: 0; }   /* breed bovenaan de kolom, zonder de lijn van de telefoon */
  .tb-uit__lijst { margin-top: -6px; padding: 4px 16px; border-radius: 16px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }
  .tb-uit__fouten { margin-top: 0; padding: 0 16px; border-radius: 16px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }
  .tb-uit__fouten[open] { padding-bottom: 14px; }
  .tb-uit__fouten li { background: var(--tb-canvas); }
  /* Een lang woord in een antwoord (Voetgangersoversteekplaats) maakte de kaarten van "Wat je fout had" breder dan de
     kolom: op 768 px staken ze rechts uit en schoof de pagina 3 px opzij (03-12-2026). Zo'n woord breekt nu af en de
     kaart blijft in de kolom; wat past, staat zoals het stond. */
  .tb-uit__fouten ol { grid-template-columns: minmax(0, 1fr); }
  .tb-uit__fouten li { overflow-wrap: anywhere; }
  .tb-uit__weg, .tb-uit__knoppen { margin-top: 0; }

  /* Borden: de trainer met drie borden op het podium, de groepen als kaart in de kolom. */
  .tb-brd__podium > .tb-brd__train { gap: 22px; padding: 0; border: 0; border-radius: 0; background: none; }
  .tb-brd__train .tb-brd__stand { flex-direction: column; align-items: flex-start; gap: 18px; }
  .tb-brd__train .tb-brd__drie img { width: 88px; height: 88px; }
  .tb-brd__train .tb-brd__drie img + img { margin-left: -14px; }
  .tb-brd__train .tb-brd__ken { width: 100%; gap: 10px; }
  .tb-brd__train .tb-brd__ken p { font-size: 16px; line-height: 22px; }
  .tb-brd__groepen { padding: 2px 16px; border-radius: 16px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }

  /* De trainer: het bord groot op het podium, de vraag of de uitslag als kaart in de kolom (zoals de vraag naast een reel). */
  .tb-brdt { padding-top: calc(var(--boven) + 76px); }
  .tb-brdt > .tb-brdt__soort { padding-right: 56px; }
  .tb-brdt__podium { align-items: center; justify-content: center; min-height: 340px; }
  .tb-brdt__podium .tb-brdt__bord { width: 240px; height: 240px; margin: 0; }
  .tb-brdt__kolom { gap: 0; padding: 18px; border-radius: 20px; border: 1px solid var(--tb-line); background: var(--tb-canvas-2); }
  .tb-brdt__kolom .tb-brdt__vraag, .tb-brdt__kolom .tb-brdt__uitslag { margin-top: 0; }
  .tb-brdt__kolom .tb-brdt__nagekeken + .tb-brdt__uitslag { margin-top: 16px; }   /* taak 13.10: de namen erboven, zoals in een reel */
  .tb-brdt__kolom > .tb-leer-knop { margin-top: 18px; }

  /* Ik: je naam, je stand en je examendatum op het podium, de reeks, de badges en de instellingen in de kolom. */
  .tb-ik__podium .tb-ik__naam { font-size: 27px; line-height: 32px; }
  .tb-ik__kolom { gap: 0; }
  .tb-ik__kolom > .tb-ik__reeks { margin-top: 0; }

  /* Een gast: Ava (of zijn stand) op het podium, de vraag of het bewaren als kaart in de kolom. Geen zijbalk.
     Ronde 2 van de herstelronde, taak 4.1 (KEURING punt 9): het startscherm vult het scherm, met de vraag naar je examen op
     ooghoogte naast het midden van het podium in plaats van bovenaan met een leeg scherm eronder. In Dag (taak 10.6) staat
     de kop bovenaan op het podium en daaronder Ava groot op haar rondje. */
  .tb-gast.tb-gast--start { min-height: 100dvh; align-content: center; align-items: center; }
  .tb-gast--start .tb-gast__podium { position: relative; padding: 14px 22px 36px; }
  .tb-gast--start .tb-gast__rond { width: 224px; height: 224px; margin-top: 26px; }
  .tb-gast--start .tb-gast__rond img { height: 216px; margin-bottom: 8px; }
  .tb-gast--start .tb-klaar__titel { margin-top: 24px; }
  .tb-gast__kolom > .tb-pad__melding { margin: 0; }
  .tb-gast__kolom > .tb-gast__form { margin-top: 0; padding: 20px; border-radius: 20px; border: 1px solid var(--tb-line); background: var(--tb-canvas-2); }
  .tb-gast--start .tb-gast__form { flex: none; }
  .tb-gast--start .tb-gast__form .tb-leer-knop { margin-top: 8px; }
  .tb-gast__kolom .tb-gast__veld, .tb-gast__kolom .tb-gast__weet-niet { background: var(--tb-canvas); }
  .tb-gast__kolom .tb-gast__of { margin: 0; }
  .tb-gast__kolom .tb-gast__later { margin-top: 0; }
  /* De tegels van je stand op het podium: wit met een lijn, want het podium loopt zelf naar grijs (taak 10.6). */
  .tb-gast__podium .tb-gast__stand div { background: var(--tb-canvas); box-shadow: inset 0 0 0 1px var(--tb-line); }
}

@media (min-width: 768px) and (max-height: 720px) {
  .tb-gast--start .tb-gast__podium { padding-top: 68px; padding-bottom: 24px; }
}

/* Ik op de staande tablet: de kolom is daar zo smal als een telefoon van 320 px, dus de maand onder de reeks, zoals daar. */
@media (min-width: 768px) and (max-width: 1023px) {
  .tb-ik__reeks { flex-direction: column; }
}

/* Toetsen (tb-leer-speler.js: toets): de hints alleen met een muis, nooit op een aanraakscherm. */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .tb-toetsen { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; line-height: 18px; color: var(--tb-ink-2); }
  .tb-toetsen kbd { min-width: 22px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--tb-line-2); font: 600 12px/18px var(--tb-font); color: var(--tb-ink); text-align: center; }
  #tb-toetsen-cijfers { display: inline-flex; gap: 4px; margin-left: 8px; }
  .tb-toetsen > kbd:last-of-type { margin-left: 8px; }
  .tb-reel .tb-antw-lijst, .tb-brdt .tb-antw-lijst { counter-reset: tb-antw; }
  .tb-reel .tb-antw, .tb-brdt .tb-antw { justify-content: flex-start; }
  .tb-reel .tb-antw > span { flex: 1; }
  .tb-brdt .tb-antw i { margin-left: auto; }   /* de naam is hier tekst zonder span */
  .tb-reel .tb-antw::before, .tb-brdt .tb-antw::before { counter-increment: tb-antw; content: counter(tb-antw); content: counter(tb-antw) / ""; flex: none; width: 24px; height: 24px;
    display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--tb-line-2); font-size: 12.5px; font-weight: 600; color: var(--tb-ink-2); }
  #tb-uitslag-verder::after, .tb-brdt [data-tb-verder]::after { content: "Enter"; content: "Enter" / ""; margin-left: 4px; padding: 1px 7px; border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--tb-canvas) 40%, transparent); font-size: 12px; font-weight: 600; line-height: 18px; }
}

/* Ronde 2 van de herstelronde, taak 4.3 (KEURING punt 17): breed geen kaart in een leeg scherm. Per pagina gekozen wat er
   rustig uitziet (afdrukken in meting/4.3):
   - Examen vult de kolom met wat er al is: na een examen onder je laatste uitslagen de fouten per onderwerp van het
     laatste examen, zoals op de uitslag maar zonder tweede oranje knop naast Start; zonder uitslag Ava met wat daar komt.
   - Ik zet de instellingen en je account (tb-ik__onder) onder het podium, zodat links en rechts even ver lopen.
   - Bewaar je voortgang is één smal blok in het midden van het scherm, zoals inloggen en het startscherm van de gast. Deze
     regel staat na die van 1024 en 1280 px, die anders de twee kolommen terugzetten.
   - Oefenen blijft zoals hij was: de kolom staat al vol met de examens, de clips en je moeilijkste vragen.
   Op de telefoon verandert er niets: tb-ik__onder is daar geen vak, en de kaarten van Examen staan er niet. */
@media (min-width: 768px) {
  .tb-ex__fouten { display: block; padding: 14px 16px 4px; border-radius: 16px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }
  .tb-ex__fouten-kop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .tb-ex__fouten-kop h2 { font-size: 14px; font-weight: 600; line-height: 20px; }
  .tb-ex__fouten-kop span { font-size: 12.5px; line-height: 17px; color: var(--tb-ink-2); white-space: nowrap; }
  .tb-ex__fouten .tb-uit__lijst { margin: 4px 0 0; padding: 0; border: 0; border-radius: 0; background: none; }
  .tb-ex__meer { display: flex; align-items: center; min-height: 48px; border-top: 1px solid var(--tb-line); font-size: 14px; font-weight: 600;
    color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; }
  .tb-ex__meer:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
  .tb-ex__nog { display: flex; align-items: center; gap: 18px; padding: 20px 22px; }
  .tb-ex__nog .tb-ava { position: static; flex: none; width: auto; height: 120px; }
  .tb-ex__nog h2 { font-size: 17px; font-weight: 600; line-height: 22px; }
  .tb-ex__nog p { margin-top: 6px; font-size: 14.5px; line-height: 21px; color: var(--tb-ink-2); }

  .tb-ik { grid-template-rows: auto 1fr; }
  .tb-ik__podium { grid-column: 1; grid-row: 1; }
  .tb-ik__kolom { grid-column: 2; grid-row: 1 / span 2; }
  .tb-ik__onder { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; min-width: 0; }
  .tb-ik__onder > .tb-ik__instel-t { margin-top: 4px; }
  .tb-ik__onder > .tb-ik__account { margin-top: 10px; justify-content: flex-start; }   /* onder de tegels, niet midden in een lege halve rij */

  .tb-gast.tb-gast--bewaar { max-width: 480px; min-height: 100dvh; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 14px;
    padding: calc(var(--boven) + 24px) 20px calc(var(--onder) + 24px); }
}

/* Ronde 2 van de herstelronde, taak 4.4 (KEURING punt 25): de situatieclips vanaf 1280 px als kaarten in twee kolommen,
   zoals de oefenexamens daarboven een raster zijn (taak 3.3). Bovenaan elke kaart een stilstaand beeld van de clip (zijn
   poster, 16:9 uit het staande beeld, op de hoogte van de weg), of zonder poster een rustig vlak met het nummer van de clip
   in zijn hoofdstuk. Een kaart is de hele link, dus zonder pijltje; een clip die nog dicht is, toont zijn beeld gedimd.
   Onder 1280 px de lijst zoals hij was: het beeld en het nummer staan daar niet (zie de regel met display: none). */
@media (min-width: 1280px) {
  .tb-oef__lijst.tb-oef__lijst--clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
    padding: 0; border: 0; border-radius: 0; background: none; }
  .tb-oef__lijst--clips li + li { border-top: 0; }
  .tb-oef__lijst--clips .tb-oef__rij { height: 100%; min-height: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 0; overflow: hidden; border-radius: 14px; background: var(--tb-canvas-2); border: 1px solid var(--tb-line); }
  .tb-oef__lijst--clips .tb-oef__rij > span:not(.tb-oef__nr) { gap: 4px; padding: 12px 14px 14px; }
  .tb-oef__lijst--clips .tb-oef__rij b { font-size: 15px; line-height: 21px; }
  .tb-oef__lijst--clips .tb-oef__still { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 22%;
    background: var(--tb-canvas-3); }
  .tb-oef__lijst--clips .tb-oef__nr { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; background: var(--tb-canvas-3);
    font-size: 34px; font-weight: 300; line-height: 1; letter-spacing: -.02em; color: var(--tb-ink-2); }
  .tb-oef__lijst--clips .tb-oef__rij.is-dicht .tb-oef__still { opacity: .45; }
  .tb-oef__lijst--clips .tb-oef__rij svg { display: none; }
}

/* Richting A "Dag", taak 10.10: geen gat van een half scherm naast een kolom. In Nachtrit stond op het podium van het
   leerpad de weg, met een vaste hoogte; nu staat daar de lijst van het hoofdstuk (taak 10.2), en die is veel langer dan de
   kolom met je stand en de hoofdstukken: bij het scrollen stond rechts een heel scherm leeg. Nu blijft de kolom staan
   terwijl je de lijst scrolt, zoals het podium van Oefenen, de clips en een groep borden al deden. De uitslag andersom: de
   score blijft staan naast een lange lijst "Wat je fout had". Een vak dat hoger is dan het scherm (alle hoofdstukken open,
   of de knoppen van het proefexamen op een laag scherm) scrolt binnen zichzelf, anders verdwijnt zijn onderkant; de rand van
   4 px houdt de focusrand van een tegel binnen het vak, en de kaart staat dan op 18 px, even hoog als het podium van
   Oefenen. Alleen op een scherm dat hoog genoeg is: op een telefoon dwars scrolt alles samen, zoals het was. */
@media (min-width: 768px) and (min-height: 640px) {
  .tb-pad__kolom { position: sticky; top: calc(var(--boven) + 14px); max-height: calc(100dvh - var(--boven) - var(--onder) - 28px);
    margin: -4px; padding: 4px; overflow-y: auto; }
  .tb-uit__podium { position: sticky; top: calc(var(--boven) + 24px); max-height: calc(100dvh - var(--boven) - var(--onder) - 48px);
    overflow-y: auto; }
}

/* Taak 10.10: een lang woord breekt breed af met een koppelteken. Op 768 px liep "Geslotenverklaring" over het getal ernaast
   (Borden), stak "brandblusapparaat" uit de kaart van de trainer (met de cijfers van de toetsen ervoor) en brak
   "verkeersregelaar" in Wat je fout had midden in het woord. Alleen woorden van twaalf letters of meer, zodat "niet
   beantwoord" en "Overige geboden en verboden" heel blijven, en met minstens vijf letters voor en acht na het koppelteken:
   de browser kiest het laatste punt dat nog past, en zo wordt het Gesloten-verklaring, Beweg-wijzering en
   brandblus-apparaat in plaats van Geslotenver-klaring en brandblusap-paraat. Wat dan nog niet past, breekt zonder
   koppelteken. Op de telefoon past alles en verandert er niets. */
@media (min-width: 768px) {
  .tb-brd__naam, .tb-brdt .tb-antw { overflow-wrap: anywhere; }
  .tb-brd__naam, .tb-brdt .tb-antw, .tb-uit__fouten dd { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 8;
    -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 8; }
}
