/* Lichte, vriendelijke uitstraling: wit, zachte kleuren, ronde vormen en veel ruimte voor foto's.
   Het klassikale scherm (Zoom) houdt de donkere petrol-stijl uit app.css. */
:root {
  color-scheme: light;
  --bg1: #F3F9FA; --bg2: #E4F3F6;
  --vlak: #FFFFFF; --vlak2: #EAF4F6;
  --lijn: #DCE9EC; --tekst: #0B2A33; --zacht: #4B6670; --stil: #86A0A8;
  --cyaan: #5FD4E0; --cyaan-d: #2FB3C2; --diep: #0E7C8A;
  --gloed: 0 8px 26px rgba(11,42,51,.10);
  --goed: #22A45D; --goed-bg: #E2F6EA; --fout: #E2574C; --fout-bg: #FDECEA; --geel: #F4B942;
  --koraal: #FF8A5B; --zon: #FFF3D6;
}
body:not(.klas-modus) {
  background: radial-gradient(1100px 500px at 90% -10%, #D8F1F5 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 30%, #FFF3E0 0%, transparent 55%),
              #F7FBFC fixed;
  color: var(--tekst);
}
body:not(.klas-modus) a { color: var(--diep); }
body:not(.klas-modus) .nav a, body:not(.klas-modus) .les-tabs a { color: var(--zacht); }
body:not(.klas-modus) .nav a.aan, body:not(.klas-modus) .nav a:hover, body:not(.klas-modus) .les-tabs a.aan, body:not(.klas-modus) .les-tabs a:hover { color: var(--tekst); }
body:not(.klas-modus) .thema-kaart, body:not(.klas-modus) .les-kaart { color: var(--tekst); }
body:not(.klas-modus) .kruimel a { color: var(--zacht); }
body:not(.klas-modus) h4 { color: var(--diep); }

/* Knoppen */
body:not(.klas-modus) .knop { color: #06323B; box-shadow: 0 6px 16px rgba(47,179,194,.28); }
body:not(.klas-modus) .knop:hover { background: #7FE3EC; }
body:not(.klas-modus) .knop.licht { background: #fff; color: var(--tekst); border: 1px solid var(--lijn); box-shadow: 0 2px 6px rgba(11,42,51,.06); }
body:not(.klas-modus) .knop.licht:hover { background: #F0F8FA; }
body:not(.klas-modus) .link-knop { color: var(--diep); }
body:not(.klas-modus) .icoon-knop, body:not(.klas-modus) .mini-knop { background: #fff; border-color: var(--lijn); }
body:not(.klas-modus) .luister { background: #E3F7FA; color: var(--diep); border-color: #B7E6ED; }
body:not(.klas-modus) .luister:hover { background: #CDF0F5; }
body:not(.klas-modus) .seg { background: #fff; }
body:not(.klas-modus) .seg button.aan { color: #06323B; }

/* Kopbalk en login */
body:not(.klas-modus) .kopbalk { background: rgba(255,255,255,.88); border-bottom: 1px solid var(--lijn); box-shadow: 0 2px 14px rgba(11,42,51,.05); }
body:not(.klas-modus) .logo { color: var(--tekst); }
body:not(.klas-modus) .logo-blok { background: linear-gradient(135deg, #0B2A33, #1E4A55); box-shadow: 0 6px 14px rgba(11,42,51,.25); }
body:not(.klas-modus) .nav a:hover, body:not(.klas-modus) .nav a.aan { background: #E3F7FA; color: var(--diep); }
body:not(.klas-modus) .login-wrap { background: linear-gradient(120deg, rgba(11,42,51,.55), rgba(11,42,51,.15)), url(https://dmszdkpuvjccghfxnrvd.supabase.co/storage/v1/object/public/media/t01/cover.jpg) center/cover, linear-gradient(160deg, #D8F1F5, #FFF3E0); }
body:not(.klas-modus) .login-kaart { background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(11,42,51,.28); }
body:not(.klas-modus) .veld input, body:not(.klas-modus) .veld select, body:not(.klas-modus) .veld textarea { background: #F6FAFB; border-color: var(--lijn); }
body:not(.klas-modus) .veld input:focus, body:not(.klas-modus) .veld textarea:focus { background: #fff; border-color: var(--cyaan-d); box-shadow: 0 0 0 4px rgba(95,212,224,.25); }

/* Kaarten, thema's en lessen: wit met zachte schaduw en grotere foto's */
body:not(.klas-modus) .kaart, body:not(.klas-modus) .oef, body:not(.klas-modus) .les-kaart, body:not(.klas-modus) .les-tabs, body:not(.klas-modus) .thema-kaart {
  background: #fff; box-shadow: 0 4px 18px rgba(11,42,51,.07);
}
body:not(.klas-modus) .thema-kaart { border-radius: 22px; border-color: transparent; }
body:not(.klas-modus) .thema-kaart:hover { transform: translateY(-5px) rotate(-.3deg); box-shadow: 0 16px 34px rgba(11,42,51,.16); border-color: transparent; }
body:not(.klas-modus) .thema-kaart .tk-foto { aspect-ratio: 4/3; background: linear-gradient(135deg, #CDEFF3, #FFEFD2); }
body:not(.klas-modus) .thema-kaart .tk-nr { background: #fff; color: var(--diep); border-color: transparent; box-shadow: 0 3px 10px rgba(0,0,0,.15); }
body:not(.klas-modus) .balk { background: #E4EEF0; }
body:not(.klas-modus) .balk > i { box-shadow: none; }
body:not(.klas-modus) .thema-held { border: 0; border-radius: 28px; min-height: 280px; box-shadow: 0 14px 40px rgba(11,42,51,.2); background: linear-gradient(135deg, #CDEFF3, #FFEFD2); }
body:not(.klas-modus) .thema-held::after { background: linear-gradient(0deg, rgba(11,42,51,.86) 0%, rgba(11,42,51,.15) 65%, transparent); }
body:not(.klas-modus) .thema-held .th-in, body:not(.klas-modus) .thema-held h1, body:not(.klas-modus) .thema-held p { color: #fff; }
body:not(.klas-modus) .thema-held .th-nr { color: #A8EEF5; }
body:not(.klas-modus) .doelen span { background: #fff; color: var(--tekst); border-color: transparent; }
body:not(.klas-modus) .les-kaart { border-color: transparent; border-radius: 20px; }
body:not(.klas-modus) .les-kaart:hover { border-color: transparent; box-shadow: 0 12px 28px rgba(11,42,51,.14); transform: translateY(-2px); }
body:not(.klas-modus) .les-kaart img { width: 104px; height: 78px; border-radius: 14px; background: linear-gradient(135deg, #CDEFF3, #FFEFD2); }
body:not(.klas-modus) .les-kaart .lk-nr { color: var(--diep); }
body:not(.klas-modus) .ring { background: conic-gradient(var(--cyaan-d) calc(var(--p) * 1%), #E4EEF0 0); }
body:not(.klas-modus) .ring::before { background: #fff; color: var(--tekst); }
body:not(.klas-modus) .kruimel, body:not(.klas-modus) .kruimel a { color: var(--zacht); }

/* Lespagina */
body:not(.klas-modus) .les-tabs { border-color: transparent; border-radius: 20px; }
body:not(.klas-modus) .les-tabs a.aan { background: #E3F7FA; color: var(--tekst); box-shadow: inset 4px 0 0 var(--cyaan-d); }
body:not(.klas-modus) .les-tabs a:hover { background: #F0F8FA; }
body:not(.klas-modus) .les-tabs .tnr2 { background: #EAF4F6; }
body:not(.klas-modus) .oef { border-color: transparent; border-radius: 22px; padding: 22px 24px; }
body:not(.klas-modus) .oef-nr { color: #06323B; border-radius: 12px; }
body:not(.klas-modus) .oef:nth-of-type(3n+2) .oef-nr { background: var(--geel); }
body:not(.klas-modus) .oef:nth-of-type(3n+3) .oef-nr { background: var(--koraal); color: #fff; }

/* Oefeningen */
body:not(.klas-modus) .woordkaart, body:not(.klas-modus) .koppel-el, body:not(.klas-modus) .fotovak, body:not(.klas-modus) .mc-item,
body:not(.klas-modus) .volg-item, body:not(.klas-modus) .bak { background: #F6FAFB; border-color: var(--lijn); }
body:not(.klas-modus) .woordkaart:hover { background: #E3F7FA; border-color: var(--cyaan-d); transform: translateY(-2px); }
body:not(.klas-modus) .tekst, body:not(.klas-modus) .vertaling, body:not(.klas-modus) .voorbeeld, body:not(.klas-modus) .situatie,
body:not(.klas-modus) .hulpzinnen, body:not(.klas-modus) .checklist, body:not(.klas-modus) .inzend-tekst { background: #F3F9FA; }
body:not(.klas-modus) .situatie { background: var(--zon); }
body:not(.klas-modus) .tekst { border-color: transparent; border-left: 5px solid var(--cyaan); border-radius: 6px 16px 16px 6px; }
body:not(.klas-modus) .flitskaart { background: linear-gradient(135deg, #FFFFFF, #E6F7FA); border: 0; box-shadow: 0 14px 34px rgba(11,42,51,.16); color: var(--tekst); }
body:not(.klas-modus) .flitskaart.om { background: linear-gradient(135deg, #FFF8E5, #FFEAC2); }
body:not(.klas-modus) .chip { background: #fff; color: var(--tekst); border: 1px solid var(--lijn); box-shadow: 0 2px 0 #CFE0E4; }
body:not(.klas-modus) .gat-in, body:not(.klas-modus) .dictee-in, body:not(.klas-modus) .getal-in, body:not(.klas-modus) .vrij-in,
body:not(.klas-modus) .schrijf-in { background: #fff; border-color: var(--lijn); }
body:not(.klas-modus) .schrijf-in:focus { border-color: var(--cyaan-d); box-shadow: 0 0 0 4px rgba(95,212,224,.25); }
body:not(.klas-modus) .koppel-el.sel { border-color: var(--cyaan-d); box-shadow: 0 0 0 3px rgba(95,212,224,.35); }
body:not(.klas-modus) .optie.gekozen { color: #06323B; }
body:not(.klas-modus) .dictee-item, body:not(.klas-modus) .nazeg-item { border-bottom-color: #E4EEF0; }

/* Tabellen, docent en meldingen */
body:not(.klas-modus) table.tabel th, body:not(.klas-modus) table.tabel td { border-bottom-color: #E4EEF0; }
body:not(.klas-modus) table.tabel th { background: #F0F7F9; }
body:not(.klas-modus) table.tabel tr:hover td { background: #F6FAFB; }
body:not(.klas-modus) .cel.c0 { background: #F0F5F6; }
body:not(.klas-modus) .cel.c1 { background: var(--fout-bg); }
body:not(.klas-modus) .modal { background: #fff; border: 0; box-shadow: 0 30px 80px rgba(11,42,51,.35); }
body:not(.klas-modus) .toast { background: #0B2A33; color: #fff; }
body:not(.klas-modus) .demo-balk { color: #2b2000; }

/* Klassikaal scherm blijft donker */
body.klas-modus { color-scheme: dark;
  --vlak: rgba(255,255,255,.055); --vlak2: rgba(255,255,255,.09); --lijn: rgba(255,255,255,.14);
  --tekst: #FFFFFF; --zacht: rgba(255,255,255,.72); --stil: rgba(255,255,255,.5);
  --gloed: 0 0 0 1px rgba(95,212,224,.35), 0 0 24px rgba(95,212,224,.25);
  --goed: #5EE08A; --goed-bg: rgba(94,224,138,.14); --fout: #FF7A7A; --fout-bg: rgba(255,122,122,.14);
}
body:not(.klas-modus) .lid { color: var(--koraal); }
body:not(.klas-modus) .woordkaart img { background: linear-gradient(135deg, #CDEFF3, #FFEFD2); }
body:not(.klas-modus) .gat-in::placeholder, body:not(.klas-modus) .gat-leeg { color: var(--diep); }

/* Leesbaarheid: titel op de foto, uitleg in een eigen witte kaart eronder */
body:not(.klas-modus) .thema-held { min-height: 240px; margin-bottom: 14px; }
body:not(.klas-modus) .thema-held::after { background: linear-gradient(0deg, rgba(8,30,37,.92) 0%, rgba(8,30,37,.55) 38%, rgba(8,30,37,0) 75%); }
body:not(.klas-modus) .thema-held h1 { margin: 2px 0 0; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
body:not(.klas-modus) .thema-held .th-nr { color: #BDF3F8; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
body:not(.klas-modus) .thema-held .th-sub { color: #fff; opacity: .95; font-size: 1.05rem; margin-top: 2px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.thema-intro { background: #fff; border-radius: 22px; padding: 20px 24px; margin-bottom: 26px; box-shadow: 0 4px 18px rgba(11,42,51,.07); }
.thema-intro p { margin: 0; max-width: 780px; color: var(--tekst); font-size: 1.05rem; line-height: 1.55; }
body:not(.klas-modus) .thema-intro .doelen span { background: #E3F7FA; color: var(--tekst); border: 1px solid #B7E6ED; }

/* ---- Licenties, klassen, beoordeling, grammaticatrainer ---- */
.lic-pil { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.lic-pil.ok { background: var(--goed-bg); color: #177A44; }
.lic-pil.bijna { background: var(--zon); color: #8A5A00; }
.lic-pil.uit { background: var(--fout-bg); color: #B03A30; }
.lic-banner { background: var(--zon); border: 1px solid #F1D38A; color: #6B4B00; border-radius: 14px; padding: 10px 16px; margin-bottom: 14px; font-weight: 600; }
.lic-banner a { color: #6B4B00; text-decoration: underline; }

.klassen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 26px; }
.klas-kaart { background: #fff; border: 1px solid var(--lijn); border-radius: 18px; padding: 18px; box-shadow: var(--gloed); }
.kk-naam { font-size: 1.15rem; font-weight: 800; color: var(--tekst) !important; text-decoration: none; display: block; margin-bottom: 4px; }
.klas-kaart .balk { background: #E4EFF2; }
tfoot td { border-top: 2px solid var(--lijn); padding-top: 8px; }

.status-pil.verbeter { background: #FFE2D3; color: #A4411A; }
.feedback.verbeter { background: #FFF1E8; border-color: #F6B898; }
.status-regel.verbeter { color: #A4411A; }
.status-regel.voldoende { color: #177A44; }
.knop.goed { background: var(--goed); color: #fff; box-shadow: 0 6px 16px rgba(34,164,93,.3); }
.knop.goed:hover { background: #2BB96A; }
body:not(.klas-modus) .knop.rood { color: #fff; }
.oude-versie { border-left: 3px solid var(--lijn); padding: 4px 0 4px 12px; margin: 8px 0; }
.oude-versies summary, details summary { cursor: pointer; font-weight: 600; color: var(--diep); }
.les-kaart.klas-nu { border-color: var(--cyaan-d); background: #F0FBFD; }

.gram-kop { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 0 10px; }
.gram-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.gram-kaart { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--lijn); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--tekst) !important; transition: .15s; }
.gram-kaart:hover { transform: translateY(-2px); box-shadow: var(--gloed); border-color: var(--cyaan-d); }
.gram-kaart.klaar { background: #F2FBF6; border-color: #BFE6CF; }
.gk-nr { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--vlak2); color: var(--diep); font-weight: 800; display: grid; place-items: center; }
.gk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gk-t span { font-size: .85rem; color: var(--zacht); }
.gk-t .en { color: var(--stil); font-size: .8rem; }
.ring.klein-ring { width: 44px; height: 44px; background: conic-gradient(var(--cyaan-d) calc(var(--p) * 1%), #E4EFF2 0); }
.ring.klein-ring::before { width: 35px; height: 35px; background: #fff; font-size: .7rem; color: var(--tekst); }
.gram-link { background: var(--zon); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
@media (max-width: 640px) { .gram-grid { grid-template-columns: 1fr; } }

/* Telefoon: navigatie als vaste balk onderaan met tekst */
select.mini-knop, .veld select, .veld input { max-width: 100%; }
@media (max-width: 860px) {
  body:not(.klas-modus) .nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; margin: 0; background: #fff; border-top: 1px solid var(--lijn); box-shadow: 0 -6px 20px rgba(11,42,51,.08);
    display: flex; flex-wrap: nowrap; gap: 0; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); overflow-x: auto; }
  body:not(.klas-modus) .nav a { flex: 1 0 auto; min-width: 64px; text-align: center; padding: 8px 6px; font-size: .72rem; line-height: 1.15; border-radius: 12px; }
  body:not(.klas-modus) .pagina { padding-bottom: 84px; }
  body:not(.klas-modus) .kopbalk { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .tabel-wrap { max-width: calc(100vw - 32px); overflow-x: auto; }
}

/* Gelijke themakaarten: vaste fotoverhouding, foto vult het vak, tekst en balk op vaste plek */
.thema-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); align-items: stretch; }
.thema-kaart { height: 100%; }
body:not(.klas-modus) .thema-kaart .tk-foto { aspect-ratio: 4/3; flex: none; width: 100%; overflow: hidden; }
.thema-kaart .tk-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thema-kaart .tk-body { display: flex; flex-direction: column; gap: 4px; min-height: 118px; }
.thema-kaart .tk-body b { font-size: 1.05rem; line-height: 1.25; }
.thema-kaart .tk-body .klein { flex: 1; line-height: 1.3; }
.thema-kaart .tk-body .balk { margin-top: auto; flex: none; }
.les-lijst .les-kaart, .klas-keuze .les-kaart { min-height: 84px; }
.les-kaart > img { flex: none; width: 96px; height: 64px; object-fit: cover; }

/* Woordenlijst: alle kaarten even groot, zonder foto's, met taalkeuze */
.woorden-balk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.woorden-balk .seg { margin-bottom: 0; }
.taal-veld { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--zacht); }
.taal-kies { border: 1px solid var(--lijn); border-radius: 999px; padding: 6px 12px; background: #fff; color: var(--tekst); font: inherit; }
.woordgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); align-items: stretch !important; gap: 10px; }
.woordkaart { min-height: 78px; justify-content: space-between; gap: 6px; }
.wk-boven { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.wk-luister { font-size: .85rem; opacity: .45; flex: none; }
.woordkaart:hover .wk-luister { opacity: 1; }
.wk-en { min-height: 1.2em; }
.fk-woord { text-align: center; }
.wk-en[dir="rtl"] { text-align: right; }

/* Proefles */
.proef-balk { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; padding: 10px 16px; background: #fff4d6; color: #5b4300; border-bottom: 1px solid #f0d58a; font-size: .95rem; }
.proef-balk .klein-knop { padding: 6px 12px; font-size: .9rem; }

/* ---------------------------------------------------------------- Portfolio */
.pf-home .pf-home-icoon { font-size: 2.2rem; width: 64px; text-align: center; flex: none; }
.pf-welkom .rij { flex-wrap: wrap; }
.pf-welkom .knop { position: relative; }
.pf-welkom .telbol { margin-left: 8px; background: var(--fout); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .78rem; }
.pf-balk { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.pf-balk .seg { margin-bottom: 0; }
.pf-schakel { font-size: .92rem; color: var(--zacht); cursor: pointer; }
.pf-stand { margin: 14px 0 8px; }
.pf-stand-in { display: flex; gap: 14px; align-items: center; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 18px; padding: 12px 16px; box-shadow: var(--gloed); }
.pf-thema { margin: 26px 0 8px; }
.pf-thema-kop { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pf-thema-kop img { width: 54px; height: 54px; object-fit: cover; border-radius: 14px; }
.pf-thema-kop h2 { margin: 0; font-size: 1.2rem; }
.pf-thema-kop .knop { margin-left: auto; }
.pf-tnr { font-size: .78rem; font-weight: 700; color: var(--diep); text-transform: uppercase; letter-spacing: .04em; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pf-kaart { display: flex; flex-direction: column; gap: 6px; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 18px; padding: 14px; box-shadow: 0 2px 8px rgba(11,42,51,.05); color: var(--tekst) !important; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.pf-kaart[href]:hover { transform: translateY(-2px); box-shadow: var(--gloed); }
.pf-kaart.verborgen { opacity: .55; border-style: dashed; }
.pf-kaart.praktijk { border-left: 4px solid var(--koraal); }
.pf-kaart-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.pf-vormen span { margin-right: 3px; font-size: 1.05rem; }
.pf-label { align-self: flex-start; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; background: var(--vlak2); color: var(--diep); }
.pf-label.praktijk { background: #FFE9DF; color: #B4471B; }
.pf-label.uit { background: #eee; color: #666; }
.pf-beheer { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--lijn); }
.pf-beheer .mini-knop { font-size: .8rem; padding: 3px 9px; text-decoration: none; color: var(--tekst); }
.status-pil.pf-open { background: var(--vlak2); color: var(--zacht); }
.status-pil.pf-nieuw { background: var(--geel); color: #2b2000; }
.status-pil.pf-verbeter { background: #FFE9DF; color: #B4471B; }
.status-pil.pf-klaar { background: var(--goed-bg); color: var(--goed); }
.pf-pagina { max-width: 880px; }
.pf-opdracht h1 { margin: 6px 0; }
.pf-op-kop { display: flex; gap: 8px; align-items: center; }
.pf-kan { font-weight: 600; color: var(--diep); }
.pf-keuzes { display: grid; gap: 8px; }
.pf-keuze { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--lijn); border-radius: 14px; padding: 10px 12px; background: var(--bg1); cursor: pointer; }
.pf-keuze p { margin: 4px 0 0; }
.pf-keuze input { margin-top: 4px; width: 18px; height: 18px; }
.pf-keuze:has(input:checked) { border-color: var(--cyaan-d); background: #E3F7FA; }
.pf-check ul { margin: 4px 0; padding-left: 20px; }
.pf-inlever h3 { margin-top: 18px; }
.pf-vorm-kies { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.pf-vorm { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border: 2px solid var(--lijn); border-radius: 16px; background: #fff; color: var(--tekst); cursor: pointer; }
.pf-vorm.aan { border-color: var(--cyaan-d); background: #E3F7FA; }
.pf-vorm-icoon { font-size: 1.7rem; }
.pf-editor { margin-top: 10px; }
.pf-editor textarea { width: 100%; margin-top: 8px; }
.pf-gevoel { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pf-gevoel-knop { display: flex; align-items: center; gap: 6px; border: 2px solid var(--lijn); border-radius: 999px; padding: 6px 14px; background: #fff; color: var(--tekst); cursor: pointer; }
.pf-gevoel-knop span { font-size: 1.3rem; }
.pf-gevoel-knop.aan { border-color: var(--cyaan-d); background: #E3F7FA; }
.pf-inlever textarea { width: 100%; }
.pf-vink { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.pf-vink input { width: 18px; height: 18px; }
.pf-vinken { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 6px 0 10px; }
.pf-vinken.kolom { flex-direction: column; }
.pf-recorder { border: 1px solid var(--lijn); border-radius: 16px; padding: 12px; background: var(--bg1); display: grid; gap: 8px; }
.pf-recorder.compact { padding: 8px; }
.pf-recorder .rij { margin: 0; align-items: center; flex-wrap: wrap; gap: 8px; }
.pf-rec.bezig { background: var(--fout) !important; color: #fff !important; animation: puls 1s infinite; }
.pf-tijd { font-variant-numeric: tabular-nums; font-weight: 700; }
.pf-live, .pf-terug, .pf-media-video { width: 100%; max-width: 480px; border-radius: 14px; background: #000; }
.pf-meter { height: 8px; border-radius: 999px; background: var(--vlak2); overflow: hidden; }
.pf-meter i { display: block; height: 100%; width: 0; background: var(--goed); transition: width .08s; }
.pf-recorder audio, .pf-media audio { width: 100%; max-width: 420px; }
.pf-fotos { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.pf-foto { position: relative; }
.pf-foto img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; }
.pf-foto .icoon-knop { position: absolute; top: 4px; right: 4px; background: #fff; border-radius: 50%; }
.pf-media { display: grid; gap: 10px; margin: 10px 0; }
.pf-media-img { max-width: 100%; max-height: 420px; border-radius: 12px; }
.pf-reflectie { background: var(--zon); border-radius: 14px; padding: 10px 14px; margin: 10px 0; }
.pf-reflectie ul { list-style: none; padding: 0; margin: 4px 0; }
.pf-versies { margin: 10px 0; }
.pf-gesprek-wrap { margin-top: 14px; border-top: 1px solid var(--lijn); padding-top: 10px; }
.pf-gesprek-wrap textarea { width: 100%; margin: 6px 0; }
.pf-gesprek { display: grid; gap: 8px; }
.pf-bericht { background: var(--bg1); border-radius: 14px; padding: 8px 12px; max-width: 85%; }
.pf-bericht.docent { background: #E3F7FA; margin-left: auto; }
.pf-bericht p { margin: 2px 0 0; white-space: pre-wrap; }
.pf-nakijk { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.pf-nakijk-fb textarea { width: 100%; }
.pf-nakijk-fb .rij { flex-wrap: wrap; gap: 6px; }
@media (max-width: 860px) { .pf-nakijk { grid-template-columns: 1fr; } }
.pf-lijst { display: grid; gap: 6px; margin-bottom: 14px; }
.pf-lijst-rij { display: grid; grid-template-columns: 42px 1fr auto auto; gap: 10px; align-items: center; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 12px; padding: 8px 12px; color: var(--tekst) !important; text-decoration: none; }
.pf-lijst-rij.leeg { opacity: .6; }
.pf-matrix-wrap { overflow-x: auto; background: var(--vlak); border-radius: 16px; border: 1px solid var(--lijn); }
.pf-matrix { border-collapse: collapse; width: 100%; font-size: .9rem; }
.pf-matrix th, .pf-matrix td { padding: 6px 8px; border-bottom: 1px solid var(--lijn); text-align: center; white-space: nowrap; }
.pf-matrix td:first-child, .pf-matrix th:first-child { text-align: left; position: sticky; left: 0; background: var(--vlak); }
.pf-cel.nieuw { background: #FFF1C9; } .pf-cel.klaar { background: var(--goed-bg); color: var(--goed); font-weight: 700; } .pf-cel.deels { background: #EAF6F8; }
.pf-form textarea, .pf-form input:not([type=checkbox]), .pf-form select { width: 100%; }
.pf-keuze-veld { display: grid; gap: 4px; margin-bottom: 8px; }
.pf-promo { max-width: 620px; margin: 30px auto; text-align: center; }
.pf-promo-icoon { font-size: 3rem; }
.pf-print-item { break-inside: avoid; margin: 18px 0; }
@media print {
  .kopbalk, .geen-print, .pf-gesprek-wrap textarea, .pf-gesprek-wrap button, .proef-balk, .demo-balk { display: none !important; }
  body { background: #fff !important; }
  .kaart { box-shadow: none !important; border: 1px solid #ccc; }
  .pf-media-video, audio { display: none; }
}
/* Docentmenu heeft veel knoppen: compacter op brede schermen */
@media (min-width: 900px) { .nav a { padding: 7px 9px; font-size: .95rem; } .nav { gap: 2px; } }
.pf-rec-tabs { margin-bottom: 4px; }
.pf-sleep { border: 2px dashed var(--lijn); border-radius: 16px; padding: 16px; text-align: center; background: #fff; }
.pf-sleep.over { border-color: var(--cyaan-d); background: #E3F7FA; }
.pf-sleep p { margin: 6px 0; }
.pf-voortgang i { background: var(--cyaan-d); }
.pf-thema.focus { scroll-margin-top: 90px; }
.pf-thema.focus .pf-thema-kop h2 { color: var(--diep); }

/* ---------------------------------------------------------------- Portfolio v2: verticaal, zoals de thema's */
.pf-ic { display: inline-flex; vertical-align: -3px; }
.pf-ic svg { display: block; }
.pf-overzicht, .pf-pagina { max-width: 980px; }
.pf-held { min-height: 230px; }
.pf-held .th-sub, .pf-op-held .th-sub { max-width: 640px; }
.pf-balk { margin: 4px 0 12px; }
.pf-acties { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-acties .knop { display: inline-flex; align-items: center; gap: 6px; }
.pf-tel { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--koraal); color: #fff; font-size: .78rem; font-weight: 800; }
.pf-beheerbalk { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--zon); border-radius: 14px; padding: 10px 14px; margin: 0 0 14px; }
.pf-stand-in { border: 0; }
.pf-mappen { display: grid; gap: 12px; }
.pf-map { background: var(--vlak); border-radius: 22px; box-shadow: 0 4px 16px rgba(11,42,51,.07); overflow: hidden; scroll-margin-top: 90px; }
.pf-map.focus { box-shadow: 0 0 0 3px var(--cyaan), 0 8px 24px rgba(11,42,51,.12); }
.pf-map-kop { width: 100%; display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--tekst); font: inherit; }
.pf-map-kop:hover { background: #F7FCFD; }
.pf-map-kop img { width: 112px; height: 80px; object-fit: cover; border-radius: 16px; flex: none; background: linear-gradient(135deg, #CDEFF3, #FFEFD2); }
.pf-map-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.pf-map-t b { font-size: 1.15rem; line-height: 1.25; }
.pf-chev { color: var(--zacht); transition: transform .2s; flex: none; }
.pf-map-kop[aria-expanded="true"] .pf-chev { transform: rotate(180deg); }
.klein-ring { width: 46px; height: 46px; }
.klein-ring::before { width: 36px !important; height: 36px !important; font-size: .7rem !important; }
.pf-map-inhoud { border-top: 1px solid var(--lijn); padding: 8px 12px 14px; display: grid; gap: 8px; background: linear-gradient(180deg, #F8FCFD, #fff); }
.pf-rij { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--lijn); color: var(--tekst) !important; text-decoration: none; flex-wrap: wrap; transition: box-shadow .15s, transform .15s; }
a.pf-rij:hover { box-shadow: 0 8px 20px rgba(11,42,51,.10); transform: translateY(-1px); border-color: transparent; }
.pf-rij.verborgen { opacity: .55; border-style: dashed; }
.pf-rij-nr { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #E3F7FA; color: var(--diep); font-weight: 800; flex: none; }
.pf-rij-t { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 3px; }
.pf-rij-t b { font-size: 1.05rem; }
.pf-rij-kan { color: var(--zacht); font-size: .93rem; line-height: 1.35; }
.pf-rij-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pf-rij-rechts { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.pf-pijl { color: var(--stil); }
.pf-vormchip { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--diep); background: var(--vlak2); border-radius: 999px; padding: 3px 10px 3px 8px; }
.pf-label { display: inline-flex; align-items: center; gap: 4px; }
.pf-beheer { width: 100%; padding-top: 10px; margin-top: 2px; border-top: 1px dashed var(--lijn); }
.pf-beheer .mini-knop { display: inline-flex; align-items: center; gap: 2px; }
.pf-toevoegen { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 12px; border: 2px dashed var(--lijn); border-radius: 16px; background: #fff; color: var(--diep); font-weight: 700; cursor: pointer; }
.pf-toevoegen:hover { border-color: var(--cyaan-d); background: #F0FBFD; }
.pf-leeg { padding: 8px 4px; }
/* opdrachtpagina */
.pf-op-held { min-height: 250px; margin-bottom: 16px; }
.pf-opdracht { border-radius: 22px; padding: 22px 24px; }
.pf-op-titel { margin: 4px 0 6px; }
.pf-doel { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #E3F7FA, #F4FBFC); border-radius: 16px; padding: 14px 16px; margin-bottom: 6px; flex-wrap: wrap; }
.pf-doel-ic { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--diep); display: grid; place-items: center; flex: none; box-shadow: 0 2px 8px rgba(11,42,51,.08); }
.pf-doel > div { flex: 1; min-width: 200px; }
.pf-doel-l { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--diep); }
.pf-doel b { font-size: 1.05rem; }
.pf-kop3 { margin: 20px 0 10px; font-size: 1.1rem; }
.pf-keuzes { gap: 10px; }
.pf-keuze { gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 2px solid var(--lijn); align-items: flex-start; }
.pf-keuze.kies:hover { border-color: #A8E3EA; }
.pf-keuze input { position: absolute; opacity: 0; pointer-events: none; }
.pf-keuze { position: relative; }
.pf-letter { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--vlak2); color: var(--diep); font-weight: 800; flex: none; }
.pf-keuze:has(input:checked) .pf-letter { background: var(--cyaan-d); color: #fff; }
.pf-twee { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .pf-twee { grid-template-columns: 1fr; } }
.pf-blok { background: var(--bg1); border-radius: 16px; padding: 4px 16px 14px; }
.pf-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pf-checklist li { display: flex; gap: 8px; align-items: flex-start; }
.pf-checklist .pf-ic { color: var(--goed); margin-top: 3px; }
.pf-vormen-rij { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.pf-inlever { border-radius: 22px; padding: 22px 24px; }
.pf-inlever h3 { display: flex; align-items: center; gap: 10px; }
.pf-vorm { gap: 8px; padding: 16px 8px; border-radius: 18px; }
.pf-vorm-icoon { color: var(--diep); }
.pf-vorm.aan .pf-vorm-icoon { color: var(--cyaan-d); }
.pf-gevoel-knop { padding: 8px 18px; font-weight: 600; }
.pf-rec-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.pf-recorder .knop, .pf-sleep .knop, .pf-editor .knop { display: inline-flex; align-items: center; gap: 6px; }
.pf-promo-icoon { color: var(--diep); display: flex; justify-content: center; margin-bottom: 6px; }
.pf-reflectie .pf-ic { color: var(--goed); }
@media (max-width: 600px) {
  .pf-map-kop { gap: 10px; padding: 10px; }
  .pf-map-kop img { width: 72px; height: 56px; border-radius: 12px; }
  .pf-rij { padding: 12px; gap: 10px; }
  .pf-rij-rechts { margin-left: 46px; }
  .klein-ring { display: none; }
}
.pf-pagina > .kaart, .pf-pagina > div > .kaart, .pf-pagina .pf-inzending, .pf-pagina .pf-inlever { margin-bottom: 16px; }

/* ---------------------------------------------------------------- Alfa: groot, rustig, duidelijk */
.al-pagina { max-width: 1000px; }
.al-live-balk { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--zon); border-radius: 16px; padding: 12px 16px; margin: 0 0 18px; }
.al-lijsten { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.al-lijstkaart { background: var(--vlak); border-radius: 22px; overflow: hidden; box-shadow: 0 4px 16px rgba(11,42,51,.08); color: var(--tekst) !important; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.al-lijstkaart:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,42,51,.14); }
.al-lk-fotos { display: grid; grid-template-columns: repeat(4, 1fr); height: 90px; }
.al-lk-fotos img { width: 100%; height: 100%; object-fit: cover; background: var(--vlak2); }
.al-lk-t { padding: 12px 16px 16px; display: grid; gap: 6px; }
.al-lk-klanken { display: flex; flex-wrap: wrap; gap: 5px; }
.al-lk-klanken span, .al-lk-klanken button { font-weight: 800; font-size: 1.05rem; background: #E3F7FA; color: var(--diep); border-radius: 10px; padding: 2px 9px; border: 0; }
.al-lk-klanken.groot button { font-size: 1.6rem; padding: 6px 16px; cursor: pointer; border-radius: 14px; }
.al-lijstkop { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 14px; }
.al-lijstkop h1 { margin: 0; }
.al-oeflijst { display: grid; gap: 8px; }
.al-binnenkort { margin-top: 18px; }
.al-spelerkop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 10px; }
.al-spelerkop h1 { margin: 0; font-size: 1.7rem; }
.al-uitleg { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.15rem; flex-basis: 100%; }
.al-livepil { background: var(--fout); color: #fff; font-weight: 800; border-radius: 999px; padding: 4px 12px; }
.al-spel-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
.al-spel-layout:has(.al-livepaneel:not([hidden])) { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 900px) { .al-spel-layout:has(.al-livepaneel:not([hidden])) { grid-template-columns: 1fr; } }
.al-stand { display: flex; gap: 6px; justify-content: center; margin: 4px 0 12px; }
.al-stand span { width: 12px; height: 12px; border-radius: 50%; background: var(--lijn); }
.al-stand span.af { background: var(--cyaan-d); } .al-stand span.nu { background: var(--diep); transform: scale(1.3); }
.al-vak { background: var(--vlak); border-radius: 24px; padding: 24px; min-height: 360px; box-shadow: 0 4px 18px rgba(11,42,51,.08); }
.al-stap { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.al-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.al-nav .knop { font-size: 1.1rem; padding: 12px 22px; }
.al-luister { display: inline-flex; align-items: center; gap: 8px; background: var(--cyaan); color: #06323B; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 800; font-size: 1.05rem; cursor: pointer; box-shadow: 0 6px 16px rgba(47,179,194,.3); }
.al-luister:hover { background: #7FE3EC; }
.al-luister.rood { background: #FFE1DA; color: #A33A1C; box-shadow: none; }
.al-luister.bezig { background: var(--fout); color: #fff; animation: puls 1s infinite; }
.al-uitleg .al-luister { padding: 8px 10px; }
.al-foto { width: 100%; max-width: 220px; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; background: var(--vlak2); }
.al-foto.groot { max-width: 340px; }
.al-woordgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.al-woordkaart { background: #fff; border: 2px solid var(--lijn); border-radius: 18px; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.al-woordkaart:hover { border-color: var(--cyaan-d); }
.al-woordkaart .al-foto { max-width: 100%; }
.al-w { font-size: 2rem; font-weight: 800; letter-spacing: .02em; }
.al-vakjes { display: flex; gap: 6px; justify-content: center; }
.al-vakjes span { min-width: 54px; height: 60px; border: 2px solid var(--lijn); border-radius: 12px; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; background: #fff; cursor: pointer; padding: 0 6px; }
.al-vakjes.klein span { min-width: 34px; height: 38px; font-size: 1.2rem; border-radius: 9px; }
.al-vakjes.groot span { min-width: 72px; height: 80px; font-size: 2.4rem; }
.al-vakjes span.vol { border-color: var(--cyaan-d); background: #F0FBFD; }
.al-vakjes.goed span { border-color: var(--goed); background: var(--goed-bg); color: var(--goed); }
.al-vakjes.fout span { border-color: var(--fout); background: var(--fout-bg); }
.al-tegels { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.al-tegel, .al-toets { min-width: 64px; height: 64px; border-radius: 14px; border: 0; background: #E3F7FA; color: var(--diep); font-size: 1.8rem; font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 #A8E3EA; }
.al-tegel:active, .al-toets:active { transform: translateY(2px); box-shadow: none; }
.al-klankgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.al-klank { background: #fff; border: 2px solid var(--lijn); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; color: var(--tekst); }
.al-klank b { font-size: 2.4rem; color: var(--diep); }
.al-klank.inspreek { cursor: default; }
.al-opties { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.al-opties.kolom { flex-direction: column; align-items: stretch; width: 100%; max-width: 480px; }
.al-optie { border: 2px solid var(--lijn); background: #fff; color: var(--tekst); border-radius: 16px; padding: 14px 26px; font-size: 1.8rem; font-weight: 800; cursor: pointer; }
.al-optie.groot { min-width: 110px; font-size: 2.4rem; }
.al-optie.zin { font-size: 1.35rem; font-weight: 700; text-align: left; }
.al-optie:hover, .al-fotoknop:hover, .al-bingo-vak:hover { border-color: var(--cyaan-d); }
.goed.gekozen, .al-mem.goed { border-color: var(--goed) !important; background: var(--goed-bg) !important; color: var(--goed); }
.fout.gekozen { border-color: var(--fout) !important; background: var(--fout-bg) !important; }
.al-opties.fotos { gap: 14px; }
.al-fotoknop { border: 3px solid var(--lijn); border-radius: 20px; padding: 6px; background: #fff; cursor: pointer; width: 220px; }
.al-fotoknop .al-foto { max-width: 100%; }
.al-groot-woord { font-size: 3.2rem; font-weight: 800; letter-spacing: .03em; }
.al-groot { font-size: 1.6rem; font-weight: 700; }
.al-typveld { min-width: 260px; min-height: 76px; border: 3px solid var(--lijn); border-radius: 16px; font-size: 2.6rem; font-weight: 800; padding: 6px 18px; background: #fff; letter-spacing: .05em; }
.al-typveld.goed { border-color: var(--goed); background: var(--goed-bg); } .al-typveld.fout { border-color: var(--fout); background: var(--fout-bg); }
.al-typveld small { font-size: 1.4rem; color: var(--goed); }
.al-toetsen { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 640px; }
.al-toets { min-width: 56px; height: 56px; font-size: 1.5rem; }
.al-toets.breed { min-width: 96px; font-size: 1.1rem; }
.al-toets.ok { background: var(--cyaan); color: #06323B; }
.al-bingo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 520px; }
.al-bingo-vak { aspect-ratio: 1.4; border: 2px solid var(--lijn); border-radius: 16px; background: #fff; font-size: 1.9rem; font-weight: 800; cursor: pointer; color: var(--tekst); }
.al-memory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 600px) { .al-memory { grid-template-columns: repeat(3, 1fr); } }
.al-mem { aspect-ratio: 1; border-radius: 16px; border: 2px solid var(--lijn); background: linear-gradient(135deg, var(--cyaan), var(--cyaan-d)); cursor: pointer; padding: 6px; overflow: hidden; }
.al-mem .al-mem-voor { display: none; width: 100%; height: 100%; align-items: center; justify-content: center; }
.al-mem.open { background: #fff; } .al-mem.open .al-mem-voor { display: flex; }
.al-mem img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.al-mem b { font-size: 1.6rem; color: var(--tekst); }
.al-zin { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.al-zinwoord { font-size: 2.4rem; font-weight: 800; border: 0; background: none; border-bottom: 3px dashed var(--lijn); padding: 4px 6px; cursor: pointer; color: var(--tekst); }
.al-zinwoord:hover { border-color: var(--cyaan-d); background: #F0FBFD; }
.al-rij { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.al-klok { font-size: 4rem; font-weight: 800; color: var(--diep); }
.al-papier-antw { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.al-tempo { font-size: 4rem; font-weight: 800; min-height: 120px; display: grid; place-items: center; }
.al-einde { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 40px 0; text-align: center; }
.al-mee { max-width: 480px; margin: 30px auto; text-align: center; display: grid; gap: 14px; justify-items: center; }
.al-code-in { font-size: 3rem; font-weight: 800; text-align: center; width: 220px; letter-spacing: .3em; border: 3px solid var(--lijn); border-radius: 18px; padding: 8px; }
.al-livepaneel { background: var(--vlak); border-radius: 20px; padding: 16px; box-shadow: 0 4px 18px rgba(11,42,51,.08); display: grid; gap: 10px; align-content: start; }
.al-code { display: flex; align-items: baseline; gap: 10px; } .al-code b { font-size: 2.4rem; letter-spacing: .2em; color: var(--diep); }
.al-score { font-weight: 700; }
.al-deelnemers { display: grid; gap: 6px; }
.al-dn { display: flex; justify-content: space-between; gap: 8px; border-radius: 10px; padding: 6px 10px; background: var(--bg1); }
.al-dn.goed { background: var(--goed-bg); } .al-dn.fout { background: var(--fout-bg); }
.al-speler.live .al-vak { min-height: 420px; }
[hidden] { display: none !important; }
/* Alfa spreeklessen */
.al-lijstkaart.dicht { opacity: .55; pointer-events: none; }
.al-sp-foto { width: 100%; height: 150px; object-fit: cover; background: var(--vlak2); display: block; }
.al-rij-foto { width: 84px; height: 62px; object-fit: cover; border-radius: 12px; flex: none; background: var(--vlak2); }
.al-sp-balk { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.al-sp-stap { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--lijn); background: #fff; font-weight: 800; color: var(--zacht); cursor: pointer; }
.al-sp-stap.af { background: #E3F7FA; border-color: #A8E3EA; color: var(--diep); }
.al-sp-stap.nu { background: var(--diep); border-color: var(--diep); color: #fff; }
.al-sp-kop { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 14px; text-align: center; }
.al-sp-kop h2 { margin: 0; font-size: 1.6rem; }
.al-sp-werk { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: 4px 12px; background: #E3F7FA; color: var(--diep); }
.al-sp-werk.partner { background: #FFE9DF; color: #B4471B; } .al-sp-werk.alleen { background: var(--zon); color: #7A5A00; }
.al-praatplaat { width: 100%; max-width: 640px; max-height: 380px; object-fit: cover; border-radius: 20px; background: var(--vlak2); }
.al-sp-vragen { display: grid; gap: 10px; width: 100%; max-width: 560px; }
.al-sp-vraag { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; font-weight: 700; text-align: left; }
.al-sp-vraag.groot { font-size: 1.7rem; justify-content: center; }
.al-w.kleiner { font-size: 1.5rem; }
.al-dialoog { display: grid; gap: 8px; width: 100%; max-width: 620px; }
.al-dialoog.verborgen { display: none; }
.al-dregel { display: flex; gap: 10px; align-items: baseline; text-align: left; background: var(--bg1); border: 2px solid transparent; border-radius: 14px; padding: 10px 14px; font-size: 1.3rem; cursor: pointer; color: var(--tekst); }
.al-dregel b { color: var(--diep); min-width: 80px; }
.al-dregel.nu { border-color: var(--cyaan-d); background: #E3F7FA; }
.al-sp-optie { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 3px solid var(--lijn); background: #fff; border-radius: 18px; padding: 14px 20px; font-size: 1.5rem; font-weight: 800; cursor: pointer; position: relative; color: var(--tekst); min-width: 170px; }
.al-sp-optie.met-foto { padding: 8px 8px 12px; width: 220px; }
.al-sp-optie .al-foto { max-width: 100%; }
.al-sp-mini { position: absolute; top: 6px; right: 6px; background: #fff; border-radius: 50%; padding: 5px; box-shadow: 0 2px 6px rgba(0,0,0,.15); color: var(--diep); }
.al-links { align-items: stretch; text-align: left; max-width: 760px; margin: 0 auto; width: 100%; }
.al-nazeg, .al-kanik { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--bg1); }
.al-nazeg-t { font-size: 1.45rem; font-weight: 700; flex: 1; min-width: 180px; }
.al-va { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: var(--bg1); }
.al-va .al-sp-vraag { flex: 1; min-width: 220px; }
.al-voorbeeld { display: flex; align-items: center; gap: 10px; flex-basis: 100%; font-size: 1.25rem; color: var(--diep); }
.al-beurt { font-size: 1.4rem; font-weight: 800; color: var(--diep); }
.al-rollen { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 760px; }
@media (max-width: 640px) { .al-rollen { grid-template-columns: 1fr; } }
.al-rol { background: var(--bg1); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 1.2rem; }
.al-rol-letter { width: 48px; height: 48px; border-radius: 50%; background: var(--diep); color: #fff; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; }
.al-sp-zinnen { width: 100%; max-width: 760px; }
.al-zin-knop { font-size: 1.15rem; font-weight: 700; border: 1px solid var(--lijn); background: #E3F7FA; border-radius: 999px; padding: 6px 14px; cursor: pointer; color: var(--diep); }
.al-kanik-knop { border: 2px solid var(--lijn); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; color: var(--tekst); }
.al-kanik-knop.aan { border-color: var(--cyaan-d); background: #E3F7FA; }

/* Film bij dialogen */
.film { position: relative; width: 100%; align-self: stretch; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #2b2b2b; margin-bottom: 12px; user-select: none; }
.film-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(.78) saturate(.9); transform: scale(1.06); }
.film-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fp-naam rect { fill: rgba(0,0,0,.45); transition: fill .2s; }
.fp-naam text { fill: #fff; font: 600 24px system-ui, sans-serif; }
.fp-naam.nu rect { fill: #e8833a; }
.film-decor { position: absolute; inset: 0; background: linear-gradient(#e9dfcf 0 62%, #b98f67 62% 100%); }
.film-ot { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); max-width: 86%; background: rgba(0,0,0,.72); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: clamp(16px, 2.4vw, 26px); line-height: 1.35; text-align: center; }
.film-play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; border: 0; background: rgba(232,131,58,.95); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.35); padding-left: 6px; }
.film.speelt .film-play { display: none; }
.film-bediening { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: linear-gradient(transparent, rgba(0,0,0,.55)); flex-wrap: wrap; }
.film-k { border: 0; background: rgba(255,255,255,.9); color: #222; border-radius: 999px; padding: 6px 14px; font-weight: 600; cursor: pointer; font-size: 14px; }
.film-k.aan { background: #e8833a; color: #fff; }
.film-voortgang { display: flex; gap: 4px; margin-left: auto; }
.film-voortgang span { width: 18px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.4); }
.film-voortgang span.af { background: rgba(255,255,255,.9); }
.film-voortgang span.nu { background: #e8833a; }

.film.echt { background: #000; }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.film.echt.speelt .film-bediening { opacity: 0; transition: opacity .3s; }
.film.echt:hover .film-bediening { opacity: 1; }

/* Alfa A1: tekst, bericht, formulier, schrijven */
.al-praatplaat.klein { max-height: 220px; object-fit: cover; }
.al-tekstkaart { background: #fffdf5; border: 1px solid #ecdcb5; border-radius: 12px; padding: 18px 20px; box-shadow: 0 4px 14px rgba(0,0,0,.06); text-align: left; max-width: 640px; width: 100%; margin: 0 auto; }
.al-tekstkaart.bord { background: #10325a; color: #fff; border-color: #10325a; font-family: monospace; }
.al-tekstkaart.kaartje { background: #fff6f8; border-color: #f1c6d2; }
.al-tekstkaart.verborgen { display: none; }
.al-tk-kop { font-weight: 800; font-size: 1.1em; margin-bottom: 8px; }
.al-tk-regel { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.4; }
.al-tk-regel.nu { background: #fff1c9; border-radius: 6px; }
.al-tekstkaart.bord .al-tk-regel.nu { background: #24507f; }
.al-bericht { display: flex; gap: 18px; align-items: center; background: #f2f7fb; border-radius: 14px; padding: 16px; max-width: 640px; margin: 0 auto; width: 100%; }
.al-bericht img { width: 140px; height: 100px; object-fit: cover; border-radius: 10px; }
.al-bericht b { display: block; margin-bottom: 8px; }
.al-bericht-knop { display: inline-flex; align-items: center; gap: 10px; border: 0; background: #e8833a; color: #fff; font-weight: 700; font-size: 20px; padding: 12px 22px; border-radius: 999px; cursor: pointer; }
.al-bericht-knop.speelt { background: #b35d1f; }
.al-formulier { background: #fff; border: 2px solid #d9e3ea; border-radius: 12px; padding: 16px 18px; max-width: 560px; width: 100%; }
.al-fv { display: grid; grid-template-columns: 200px 1fr; gap: 10px; align-items: center; padding: 6px 0; }
.al-fv-l { display: flex; gap: 6px; align-items: center; font-weight: 600; }
.al-fv-in { font-size: 20px; padding: 8px 10px; border: 2px solid #c9d6df; border-radius: 8px; }
.al-fv-in.leeg { border-color: #d9534f; }
.al-fv-melding.goed { color: #2e7d32; font-weight: 700; } .al-fv-melding.fout { color: #c62828; font-weight: 700; }
.al-schrijfvak { width: 100%; max-width: 640px; font-size: 20px; padding: 12px; border: 2px solid #c9d6df; border-radius: 10px; font-family: inherit; }
@media (max-width: 600px) { .al-fv { grid-template-columns: 1fr; } .al-bericht { flex-direction: column; } }
.al-inzend { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #cfdfe3; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.al-inzend-status:empty { display: none; }
.al-vert { display: none; font-size: 15px; color: #5b7178; margin-top: 2px; }
.met-vert .al-vert { display: block; }
.al-vertbalk { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-bottom: 8px; width: 100%; }
.al-stap > .al-woordgrid { align-self: stretch; width: 100%; }
.al-vert { font-size: 16px; }
.al-uitleg { margin: 10px 0 6px; } .al-uitleg summary { cursor: pointer; } .al-uitleg p { margin: 10px 0 0; line-height: 1.5; }
.al-uitleg { display: block !important; } .al-uitleg summary { display: list-item; }

/* Taalvlot-logo */
.logo-blok { overflow: hidden; padding: 0; }
.logo-blok img { width: 100%; height: 100%; display: block; }
body:not(.klas-modus) .logo-blok, .logo-blok { background: #F6F0E2 !important; border: 1px solid rgba(11,42,51,.18) !important; }

.logo-beeld { height: 58px; width: auto; display: block; }
@media (max-width: 700px) { .logo-beeld { height: 38px; } }
.login-logo { display: block; width: 190px; max-width: 70%; height: auto; margin: 0 auto 18px; }
