/* Oefen-app Engels (Unit 1) — zelfde huisstijl als de boekjes (bron/style.css):
   rustig, groot, voorspelbaar. Engels = donkerblauw + vet. Nooit cursief. */
:root {
  --ink: #1b1b1b;
  --en: #0b3d91;
  --soft: #f4f1ea;
  --line: #9a9a9a;
  --wie: #cfe3ff; --wie-b: #2b6cb0;
  --ww: #ffd6d6;  --ww-b: #c0392b;
  --wat: #d5f0d0; --wat-b: #2e7d32;
  --stap1: #e8f1ff; --stap1-b: #2b6cb0;
  --stap2: #fdeeee; --stap2-b: #c0392b;
  --stap3: #eaf6e6; --stap3-b: #2e7d32;
  --warn: #fff3c4; --warn-b: #d49a00;
  --tip: #eef7fb;  --tip-b: #2a8fbd;
  --geel: #ffe66d;
  --focus: #e07b00;
}

* { box-sizing: border-box; }
html { font-size: 20px; }
body {
  margin: 0; background: var(--soft); color: var(--ink);
  font-family: Verdana, "Trebuchet MS", Arial, sans-serif; line-height: 1.6;
  letter-spacing: 0.01em; word-spacing: 0.06em;
}
em, i { font-style: normal; }
p { margin: 0 0 0.6rem 0; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
.en, b.en { color: var(--en); font-weight: bold; }
.zeg { color: #5c5c5c; font-size: 0.9rem; white-space: nowrap; font-weight: normal; }
.klein { font-size: 0.9rem; }
.verborgen { display: none !important; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }

#scherm { max-width: 980px; margin: 0 auto; padding: 0.8rem 1rem 0.8rem 1rem; }

/* ---------- knoppen: groot, altijd op dezelfde plaats ---------- */
button { font: inherit; color: inherit; cursor: pointer; }
.knop {
  min-height: 3rem; padding: 0.45rem 1.1rem; border-radius: 0.7rem;
  border: 2px solid #777; background: #fff; line-height: 1.3;
}
.knop:hover:not(:disabled) { background: var(--stap1); }
.knop:disabled { opacity: 0.4; cursor: default; }
.knop.hoofd { background: var(--en); border-color: var(--en); color: #fff; font-weight: bold; min-width: 11rem; }
.knop.hoofd:hover:not(:disabled) { background: #0a3278; }
.knop.stil { border-color: transparent; background: transparent; color: #444; }
.knop.stil:hover:not(:disabled) { background: #e9e4d8; }
.knop.groot { font-size: 1.35rem; min-height: 4.4rem; padding: 0.8rem 2rem; border-radius: 1rem; }
.knop kbd, .toets {
  display: inline-block; font-family: inherit; font-size: 0.75rem; border: 1px solid #999; border-radius: 0.3rem;
  padding: 0 0.35rem; margin-left: 0.4rem; background: #fff; color: #444; font-weight: normal; vertical-align: 0.1rem;
}
.knop.hoofd kbd { background: transparent; color: #fff; border-color: #cdd8ee; }
.hoor {
  border: 2px solid var(--en); background: #fff; border-radius: 50%; width: 2.4rem; height: 2.4rem; padding: 0;
  font-size: 1.1rem; line-height: 1; vertical-align: middle; margin-left: 0.4rem; flex: none;
}
.hoor:hover { background: var(--stap1); }

/* ---------- startscherm ---------- */
.kop { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.kop h1 { font-size: 1.7rem; }
.kop .ouders { font-size: 0.9rem; }
.vandaag {
  background: #fff; border: 2px solid var(--line); border-radius: 1rem; padding: 1.2rem 1.4rem;
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 1.2rem;
}
.vandaag p { margin: 0; }
.stapgroep { margin-bottom: 1.2rem; }
.stapgroep h2 { font-size: 1.1rem; padding: 0.5rem 0.9rem; border-radius: 0.6rem; border-left: 0.9rem solid var(--stap1-b); background: var(--stap1); margin-bottom: 0.6rem; }
.stapgroep.stap2 h2 { border-left-color: var(--stap2-b); background: var(--stap2); }
.stapgroep.stap3 h2 { border-left-color: var(--stap3-b); background: var(--stap3); }
.tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 0.6rem; }
.tegel {
  text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 0.8rem; padding: 0.6rem 0.8rem;
  min-height: 5.6rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.3rem;
}
.tegel:hover { background: var(--stap1); }
.stap2 .tegel:hover { background: var(--stap2); }
.stap3 .tegel:hover { background: var(--stap3); }
.tegel .nr { display: inline-block; min-width: 1.9rem; font-weight: bold; }
.tegel .titel { font-weight: bold; }
.tegel .onder { font-size: 0.8rem; color: #555; display: block; }
.tegel.volgende { border-color: var(--en); border-width: 3px; }
.tegel .hier { font-size: 0.8rem; color: var(--en); font-weight: bold; }
.meter { height: 0.55rem; background: #e6e1d5; border-radius: 0.3rem; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--stap3-b); border-radius: 0.3rem; }

/* ---------- hoofdstukscherm ---------- */
.paginakop { border-radius: 0.8rem; border-left: 1rem solid var(--stap1-b); background: var(--stap1); padding: 0.7rem 1rem; margin-bottom: 0.9rem; display: flex; align-items: center; gap: 1rem; }
.stap2 .paginakop { border-left-color: var(--stap2-b); background: var(--stap2); }
.stap3 .paginakop { border-left-color: var(--stap3-b); background: var(--stap3); }
.stap0 .paginakop { border-left-color: #555; background: #fff; }
.paginakop h1 { font-size: 1.45rem; flex: 1; }
.paginakop h1 small { display: block; font-size: 0.85rem; font-weight: normal; }
.kaartblok { background: #fff; border: 2px solid var(--line); border-radius: 0.8rem; padding: 0.8rem 1rem; margin-bottom: 0.8rem; }
.kaartblok h2 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.kaartblok .woordrij { font-size: 0.85rem; color: #444; margin-bottom: 0.6rem; }
.ladder { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.trede { min-width: 8.2rem; text-align: left; padding: 0.4rem 0.7rem; }
.trede .ico { margin-right: 0.3rem; }
.trede.af { background: var(--stap3); border-color: var(--stap3-b); }
.trede.nu { border-color: var(--en); border-width: 3px; font-weight: bold; }
.trede .sterren { display: block; font-size: 0.7rem; color: #555; letter-spacing: 1px; font-weight: normal; }
.oefenlijst .trede { display: block; width: 100%; margin-bottom: 0.5rem; }

/* ---------- oefenscherm: één taak per scherm ---------- */
.oefen { display: flex; flex-direction: column; min-height: calc(100vh - 1.6rem); }
.oefenkop { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.oefenkop .oefentitel { flex: 1; font-size: 0.9rem; color: #444; }
.bolletjes { display: flex; gap: 0.28rem; flex-wrap: wrap; justify-content: flex-end; max-width: 16rem; }
.bolletjes span { width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 2px solid #8a8a8a; background: #fff; }
.bolletjes span.gedaan { background: #8a8a8a; }
.bolletjes span.nu { border-color: var(--en); background: var(--en); }
.taak { flex: 1; background: #fff; border: 2px solid var(--line); border-radius: 1rem; padding: 0.9rem 1.3rem; }
.opdracht { font-weight: bold; font-size: 1.1rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.opdracht .eng { flex-basis: 100%; font-weight: normal; color: var(--en); font-size: 0.8rem; }
.vraag { text-align: center; margin: 0.3rem 0 0.9rem 0; font-size: 1.5rem; min-height: 3rem; }
.vraag .pic { font-size: 3rem; line-height: 1.15; display: block; }
.vraag .sub { display: block; font-size: 0.95rem; color: #444; font-weight: normal; }
.vraag .lijn1 { display: block; margin-bottom: 0.5rem; }
.vraag .luisterknop { font-size: 1.8rem; width: 4.4rem; height: 4.4rem; margin: 0; }
.vraag .vertaling { display: block; font-size: 0.95rem; color: #444; margin-top: 0.5rem; }
.stip { display: inline-block; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid #555; vertical-align: middle; }
.optie .stip { width: 1.6rem; height: 1.6rem; margin-right: 0.5rem; }
.gat { display: inline-block; min-width: 5rem; border-bottom: 3px solid #333; text-align: center; margin: 0 0.2rem; }
.gat.vol { border-bottom-color: var(--stap3-b); background: var(--stap3); border-radius: 0.3rem 0.3rem 0 0; padding: 0 0.4rem; }
u.streep { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.25rem; text-decoration-color: var(--ww-b); }
.kort { background: #ffe9a8; border-radius: 0.2rem; }
mark { background: var(--geel); padding: 0; border-radius: 0.15rem; color: inherit; }
.einde { color: var(--ww-b); font-weight: bold; text-decoration: underline; }

.opties { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.7rem; max-width: 46rem; margin: 0 auto; }
.optie {
  min-height: 4.2rem; padding: 0.5rem 0.8rem; background: #fff; border: 2px solid #777; border-radius: 0.8rem;
  display: flex; align-items: center; gap: 0.5rem; text-align: left; font-size: 1.15rem; line-height: 1.3;
}
.optie:hover:not(:disabled) { background: var(--stap1); }
.optie .cijfer { flex: none; width: 1.7rem; height: 1.7rem; border: 1px solid #999; border-radius: 0.35rem; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; color: #444; font-weight: normal; background: #fff; }
.optie .pic { font-size: 1.8rem; line-height: 1; }
.optie .sub { display: block; font-size: 0.8rem; color: #555; font-weight: normal; }
.optie.juist { background: var(--wat); border-color: var(--wat-b); border-width: 3px; opacity: 1; }
.optie.niet { border-style: dashed; opacity: 0.45; }
.optie:disabled { cursor: default; }
.optie:disabled:not(.juist):not(.niet) { opacity: 0.55; }

.invoer { display: flex; justify-content: center; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.invoer input[type=text], .veld {
  font: inherit; font-size: 1.5rem; font-weight: bold; color: var(--en); padding: 0.4rem 0.8rem; width: min(100%, 26rem);
  border: 3px solid #555; border-radius: 0.7rem; background: #fff; text-align: center; letter-spacing: 0.04em;
}
.invoer input:disabled { background: #f2f2f2; }
.hulprij { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.3rem; }
.hulprij .knop { min-height: 2.4rem; font-size: 0.85rem; padding: 0.2rem 0.8rem; }
.hint { text-align: center; font-size: 1.5rem; font-weight: bold; color: #555; letter-spacing: 0.1em; margin-top: 0.3rem; white-space: pre; min-height: 2.2rem; }

.feedback { margin-top: 0.8rem; min-height: 3rem; scroll-margin-bottom: 5.5rem; }
.melding { border-radius: 0.7rem; padding: 0.6rem 1rem; border: 2px solid var(--line); background: #fff; }
.melding.juist { background: var(--stap3); border-color: var(--stap3-b); }
.melding.bijna { background: var(--warn); border-color: var(--warn-b); }
.melding.info { background: var(--tip); border-color: var(--tip-b); }
.melding p:last-child { margin-bottom: 0; }
.melding .groot { font-size: 1.5rem; }
.vergelijk { font-size: 1.5rem; font-weight: bold; letter-spacing: 0.04em; }
.vergelijk .bij { font-size: 0.85rem; font-weight: normal; color: #444; display: inline-block; min-width: 9rem; letter-spacing: 0; }
.vergelijk .weg { text-decoration: line-through; text-decoration-color: var(--ww-b); color: #777; }
.uitleg { color: #333; font-size: 0.95rem; }

.balk { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.8rem; flex-wrap: wrap; }
.balk .ruimte { flex: 1; }
/* In een oefening blijft de knoppenbalk altijd onderaan in beeld: zelfde knop, zelfde plaats. */
.oefen > .balk { position: sticky; bottom: 0; z-index: 2; background: var(--soft); margin-top: 0; padding: 0.6rem 0 0.5rem 0; }

/* zinnen bouwen: kleur + vorm zoals in de cursus */
.wie, .ww, .wat { display: inline-block; padding: 0.05rem 0.7rem; margin: 0.15rem 0.1rem; line-height: 1.5; font-weight: bold; }
.wie { background: var(--wie); border: 2px solid var(--wie-b); border-radius: 1.2rem; }
.ww  { background: var(--ww);  border: 2px solid var(--ww-b);  border-radius: 0; }
.wat { background: var(--wat); border: 2px dashed var(--wat-b); border-radius: 0.4rem; }
.zin { margin: 0.5rem 0; font-size: 1.1rem; }
.zin .vert { display: block; font-size: 0.85rem; color: #444; margin-left: 0.2rem; }
.vakken { display: flex; justify-content: center; align-items: flex-end; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.vak { text-align: center; }
.vak .naam { display: block; font-size: 0.75rem; color: #444; }
.vak button { min-width: 8rem; min-height: 3.2rem; font-size: 1.25rem; color: var(--en); cursor: pointer; }
.vak button:empty::after { content: "\00a0"; }
.blokjes { display: flex; justify-content: center; gap: 0.7rem; flex-wrap: wrap; min-height: 4.2rem; }
.blokje { font-size: 1.25rem; font-weight: bold; color: var(--en); }
.woordknoppen { display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.woordknop { font-size: 1.35rem; font-weight: bold; color: var(--en); min-height: 3.2rem; padding: 0.3rem 0.7rem; background: #fff; border: 2px solid #999; border-radius: 0.6rem; }
.woordknop:hover:not(:disabled) { background: var(--stap1); }
.woordknop .cijfer { display: block; font-size: 0.65rem; color: #666; font-weight: normal; line-height: 1; }
.woordknop.goed { opacity: 0.5; border-style: dashed; }
.woordknop.fout { background: var(--warn); border-color: var(--warn-b); text-decoration: line-through; text-decoration-color: var(--ww-b); }
.woordknop.verbeterd { background: var(--wat); border-color: var(--wat-b); }

/* leerkaart */
.leerkaart { text-align: center; }
.leerkaart .pic { font-size: 4.5rem; line-height: 1.2; display: block; }
.leerkaart .stip { width: 4rem; height: 4rem; margin: 0.4rem 0; }
.leerkaart .woord { font-size: 2.2rem; }
.leerkaart .nl { font-size: 1.3rem; margin-top: 0.3rem; }
.leerkaart .vb { font-size: 0.95rem; color: #333; background: var(--soft); border-radius: 0.5rem; padding: 0.4rem 0.8rem; display: inline-block; margin-top: 0.6rem; }
.leerkaart .vb .hoor { width: 2rem; height: 2rem; font-size: 0.9rem; }
.etiket { display: inline-block; font-size: 0.8rem; border: 1px solid #777; border-radius: 0.4rem; padding: 0 0.5rem; margin: 0.2rem; background: #fff; }

/* spreken */
.spreekrij { display: flex; justify-content: center; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.4rem; }
.opname.bezig { background: var(--warn); border-color: var(--warn-b); }

/* kaders en tabellen van de regelkaarten (zelfde namen als in de cursus) */
.box { border-radius: 0.7rem; padding: 0.6rem 1rem; margin: 0.8rem 0; border: 2px solid var(--line); background: #fff; }
.box .kop { font-weight: bold; display: block; margin: 0 0 0.2rem 0; }
.letop { background: var(--warn); border-color: var(--warn-b); }
.tip { background: var(--tip); border-color: var(--tip-b); }
.nlvgl { border-color: #e07b00; }
.regel { border: 4px solid var(--stap2-b); }
.klaar { border-color: var(--stap3-b); background: var(--stap3); }
table { border-collapse: collapse; width: 100%; margin: 0.6rem 0 0.9rem 0; }
th, td { border: 1px solid var(--line); padding: 0.35rem 0.6rem; text-align: left; vertical-align: middle; }
th { background: var(--soft); font-size: 0.9rem; }
.regelkaart h2 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.regelkaart .hoor { width: 1.9rem; height: 1.9rem; font-size: 0.85rem; margin-left: 0.25rem; }
.legende { font-size: 0.9rem; }

/* samenvatting: rustig, geen score */
.samenvatting h2 { font-size: 1.1rem; margin: 1rem 0 0.4rem 0; }
.woordlijst { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.woordlijst li { border: 2px solid var(--line); border-radius: 0.6rem; padding: 0.15rem 0.7rem; background: #fff; font-size: 0.95rem; }
.woordlijst.goed li { border-color: var(--stap3-b); background: var(--stap3); }
.woordlijst.nogeens li { border-color: var(--warn-b); background: var(--warn); }
.bol { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 50%; margin-right: 0.3rem; vertical-align: -0.05rem; }
.bol.d1 { background: #d9534f; } .bol.d2 { background: #f0a23b; } .bol.d3 { background: #4caf50; } .bol.d0 { background: #ccc; }

/* hoofdstuk 16 en ouderpagina */
.keuzerij { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0.3rem 0 0.8rem 0; }
.keuze { min-height: 2.6rem; padding: 0.2rem 0.9rem; border: 2px solid #777; border-radius: 0.6rem; background: #fff; }
.keuze.aan { background: var(--en); border-color: var(--en); color: #fff; font-weight: bold; }
.keuze .sub { font-size: 0.75rem; font-weight: normal; margin-left: 0.3rem; opacity: 0.85; }
.zinstart { font-size: 1.15rem; margin: 0.2rem 0; }
.zinstart input { font: inherit; font-weight: bold; color: var(--en); border: none; border-bottom: 3px solid #333; width: 9rem; text-align: center; background: transparent; }
.mijntekst { background: var(--soft); border-radius: 0.7rem; padding: 0.7rem 1rem; font-size: 1.15rem; }
.mijntekst .z { display: block; }
.mijntekst .z.nu { background: var(--geel); }
.mijntekst .z small { color: #444; font-weight: normal; font-size: 0.8rem; margin-left: 0.5rem; }
textarea { font: inherit; font-size: 1.15rem; color: var(--en); font-weight: bold; width: 100%; min-height: 11rem; border: 3px solid #555; border-radius: 0.7rem; padding: 0.6rem 0.8rem; line-height: 1.7; }
.checklijst { list-style: none; padding: 0; margin: 0.4rem 0; }
.checklijst li { padding: 0.25rem 0; }
.checklijst label { display: flex; gap: 0.6rem; align-items: center; cursor: pointer; }
.checklijst input { width: 1.5rem; height: 1.5rem; flex: none; }
.checklijst .vbd { margin-left: auto; font-size: 0.9rem; }
select, input[type=range] { font: inherit; max-width: 100%; }
select { padding: 0.3rem 0.5rem; border-radius: 0.5rem; border: 2px solid #777; background: #fff; }
.instelling { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin: 0.5rem 0; }
.instelling > label:first-child { min-width: 13rem; font-weight: bold; }
.schakel { width: 1.6rem; height: 1.6rem; }
.ouders table td, .ouders table th { font-size: 0.9rem; }
.ouders h2 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.telling { white-space: nowrap; }
.telling > span { margin-right: 0.6rem; }
.ouders ul { margin: 0.3rem 0; padding-left: 1.3rem; }

@media (max-width: 700px) {
  html { font-size: 18px; }
  .knop.hoofd { min-width: 0; }
}
