/* ===========================================================
   Emotiplus Academie — ontwerpsysteem
   Papier/redactioneel, voortbouwend op het werkboek.
   =========================================================== */

:root{
  --paper:#f7f1e7;
  --paper-2:#f1e9da;
  --paper-3:#ece2d0;
  --card:#fffdf9;
  --teal:#10464a;
  --teal-2:#2e8c8c;
  --teal-soft:#cfe9e6;
  --green:#8de2ad;
  --orange:#ff6600;
  --orange-soft:#ffe3cf;
  --orange-ink:#b84a00;
  --ink:#2b2926;
  --ink-soft:#615e57;
  --ink-faint:#9a9384;
  --line:#ddd2bf;
  --line-2:#e7dcc8;
  --shadow:0 1px 2px rgba(40,30,15,.05), 0 18px 44px rgba(40,30,15,.10);
  --shadow-sm:0 1px 2px rgba(40,30,15,.04), 0 8px 22px rgba(40,30,15,.07);
  --r:16px;
  /* accent — tweakable */
  --accent:var(--orange);
  --accent-soft:var(--orange-soft);
  --accent-ink:var(--orange-ink);
  --font-head:'Spectral', Georgia, serif;
  --font-body:'Mulish', system-ui, sans-serif;
  --bg-app:var(--paper);
  --read:16.5px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ height:100%; }
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg-app);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
#root{ min-height:100%; }
h1,h2,h3,h4,h5{ font-family:var(--font-head); font-weight:600; color:var(--teal); line-height:1.08; letter-spacing:-.005em; }
p{ line-height:1.62; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input,textarea{ font-family:inherit; color:inherit; }
::selection{ background:var(--orange-soft); color:var(--orange-ink); }
img{ display:block; }
.serif{ font-family:var(--font-head); }
/* entree-animatie bewust uitgeschakeld: in previews staat de animatieklok soms op 0,
   waardoor een opacity-fade content verbergt en een transform-fade position:fixed breekt. */
.fade-in{ }
@media (prefers-reduced-motion:reduce){ *{ animation:none !important; transition:none !important; } }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:9px; font-weight:800; font-size:14.5px; padding:13px 22px; border-radius:30px; transition:transform .12s, box-shadow .15s, background .15s, opacity .15s; white-space:nowrap; }
.btn:active{ transform:translateY(1px); }
.btn-accent{ background:var(--accent); color:#fff; box-shadow:0 6px 18px rgba(184,74,0,.22); }
.btn-accent:hover{ box-shadow:0 9px 24px rgba(184,74,0,.30); }
.btn-teal{ background:var(--teal); color:#fff; }
.btn-teal:hover{ background:#0c3a3d; }
.btn-ghost{ border:1.5px solid var(--teal); color:var(--teal); }
.btn-ghost:hover{ background:var(--teal-soft); }
.btn-ghost-light{ border:1.5px solid rgba(255,255,255,.5); color:#fff; }
.btn-ghost-light:hover{ background:rgba(255,255,255,.12); }
.btn-sm{ padding:9px 16px; font-size:13px; }
.btn-lg{ padding:15px 28px; font-size:15.5px; }
.btn[disabled]{ opacity:.45; cursor:not-allowed; }
.arr{ font-size:1.05em; line-height:1; }

/* ---------- chips / pills ---------- */
.chip{ font-size:10.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; padding:4px 11px; border-radius:20px; display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.chip .dot{ width:7px; height:7px; border-radius:50%; }
.chip.t{ background:var(--teal-soft); color:var(--teal); } .chip.t .dot{ background:var(--teal); }
.chip.p{ background:var(--orange-soft); color:var(--orange-ink); } .chip.p .dot{ background:var(--orange); }
.chip.d{ background:#f3e6bf; color:#8a6a12; } .chip.d .dot{ background:#c99a1f; }
.chip.x{ background:var(--paper-3); color:#8a7a5c; } .chip.x .dot{ background:#b5a98c; }
.chip.free{ background:var(--green); color:var(--teal); }
.kick{ font-size:11.5px; letter-spacing:.24em; text-transform:uppercase; font-weight:800; }

/* ---------- impersonatie-balk (beheerder kijkt mee als andere gebruiker) ---------- */
.impban{ position:fixed; top:0; left:0; right:0; z-index:500; height:40px; display:flex; align-items:center; justify-content:center; gap:6px; background:#b3261e; color:#fff; font-size:13px; font-weight:700; }

/* ---------- top app bar ---------- */
.topbar{ position:sticky; top:0; z-index:40; display:flex; align-items:center; gap:14px; padding:0 30px; height:64px; background:rgba(255,253,249,.88); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.topbar .brand{ display:flex; align-items:center; gap:11px; cursor:pointer; }
.topbar .brand img{ width:30px; height:30px; }
.topbar .brand .wm{ font-family:var(--font-head); font-weight:600; font-size:18px; color:var(--teal); }
.topbar .crumb{ font-size:13px; color:var(--ink-faint); display:flex; align-items:center; gap:8px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.topbar .crumb b{ color:var(--ink); font-weight:700; }
.topbar .sp{ flex:1; }
.topbar .navlink{ font-size:13.5px; font-weight:700; color:var(--ink-soft); padding:8px 12px; border-radius:8px; }
.topbar .navlink:hover{ color:var(--teal); background:var(--paper); }
.topbar .navlink.on{ color:var(--teal); }
.topbar .av{ width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,#4cb4b4,#10464a); color:#fff; display:grid; place-items:center; font-weight:800; font-size:13px; cursor:pointer; }
.topbar .pill{ display:flex; align-items:center; gap:9px; font-size:12.5px; font-weight:700; color:var(--teal); background:var(--teal-soft); padding:7px 14px; border-radius:30px; white-space:nowrap; flex:none; }
.topbar .pill .pb{ width:46px; height:6px; border-radius:4px; background:#bcdedb; overflow:hidden; }
.topbar .pill .pb i{ display:block; height:100%; background:var(--teal); border-radius:4px; transition:width .5s; }

/* ---------- progress ring ---------- */
.ring{ position:relative; display:grid; place-items:center; flex:none; }
.ring svg{ transform:rotate(-90deg); display:block; }
.ring .rl{ position:absolute; inset:0; display:grid; place-items:center; font-family:var(--font-head); font-weight:600; }

/* ---------- page scaffolding ---------- */
.page{ max-width:1240px; margin:0 auto; padding:36px 40px 64px; }
.center-wrap{ min-height:100vh; display:grid; place-items:center; padding:40px 20px; }

/* =========================================================
   LOGIN
   ========================================================= */
.login{ min-height:100vh; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); }
.login-art{ background:var(--teal); color:#fff; padding:56px 60px; display:flex; flex-direction:column; position:relative; overflow:hidden; }
.login-art .rings{ position:absolute; inset:0; pointer-events:none; opacity:.5; }
.login-art .lbrand{ display:flex; align-items:center; gap:12px; position:relative; z-index:2; }
.login-art .lbrand img{ width:36px; height:36px; }
.login-art .lbrand .wm{ font-family:var(--font-head); font-size:21px; font-weight:600; }
.login-art .lmid{ margin-top:auto; position:relative; z-index:2; }
.login-art .lmid .kick{ color:var(--green); }
.login-art .lmid h1{ color:#fff; font-size:50px; line-height:1.02; font-weight:700; margin-top:16px; letter-spacing:-.02em; }
.login-art .lmid h1 .o{ color:var(--orange); font-style:italic; font-weight:600; }
.login-art .lmid p{ font-size:17px; color:#cfe1dc; margin-top:18px; max-width:30ch; }
.login-art .lquote{ position:relative; z-index:2; margin-top:34px; font-family:var(--font-head); font-style:italic; font-size:18px; color:#d7e7e2; border-left:3px solid var(--orange); padding-left:18px; line-height:1.4; max-width:36ch; }
.login-form-wrap{ display:grid; place-items:center; padding:40px; background:var(--paper); }
.login-card{ width:100%; max-width:380px; }
.login-card h2{ font-size:30px; }
.login-card .sub{ color:var(--ink-soft); font-size:14.5px; margin-top:8px; }
.field{ margin-top:18px; }
.field label{ display:block; font-size:12.5px; font-weight:800; letter-spacing:.04em; color:var(--ink-soft); margin-bottom:7px; }
.field input, .field select, .field textarea{ width:100%; background:var(--card); border:1.5px solid var(--line); border-radius:12px; padding:13px 15px; font-size:16px; font-family:inherit; color:var(--ink); transition:border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--teal-2); box-shadow:0 0 0 3px rgba(46,140,140,.15); }
.login-card .row{ display:flex; align-items:center; justify-content:space-between; margin-top:14px; font-size:13px; }
.login-card .row a{ color:var(--teal-2); font-weight:700; }
.login-card .btn{ width:100%; margin-top:22px; }
.divider{ display:flex; align-items:center; gap:14px; margin:22px 0; color:var(--ink-faint); font-size:12px; font-weight:700; }
.divider::before,.divider::after{ content:""; flex:1; height:1px; background:var(--line); }
.oauth{ width:100%; display:flex; align-items:center; justify-content:center; gap:10px; background:var(--card); border:1.5px solid var(--line); border-radius:12px; padding:12px; font-weight:700; font-size:14px; transition:background .15s; }
.oauth:hover{ background:#fff; }
.login-card .switch{ text-align:center; margin-top:24px; font-size:13.5px; color:var(--ink-soft); }
.login-card .switch button{ color:var(--teal-2); font-weight:800; }
.formerr{ display:flex; align-items:center; gap:7px; margin-top:14px; font-size:13px; font-weight:700; color:#b3261e; background:#fbe9e7; border:1px solid #f3c4be; padding:9px 12px; border-radius:10px; }
.login-card .demo{ margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.login-card .demo .dl{ font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:10px; }
.login-card .demo .dbtns{ display:flex; gap:10px; }
.login-card .demo .dbtns button{ flex:1; display:flex; align-items:center; justify-content:center; gap:7px; background:var(--card); border:1.5px solid var(--line); border-radius:10px; padding:10px; font-size:13px; font-weight:700; color:var(--ink-soft); transition:border-color .15s, color .15s; }
.login-card .demo .dbtns button:hover{ border-color:var(--teal-2); color:var(--teal); }

/* ---------- afrekenpagina: echte 3D "boek"-render van een productcover (cover/rug/pagina's als losse vlakken in de diepte), rechts naast "Wat kun je verwachten", top uitgelijnd met die kop ---------- */
.ckbenefits-row{ display:flex; gap:24px; align-items:flex-start; margin-top:26px; }
.ckinfo-page .ckbenefits-row h3{ margin-top:0; }
.ckbenefits-col{ flex:1; }
.ckbook-col{ display:flex; justify-content:flex-start; flex:none; perspective:1100px; }
.ckbook3d{ position:relative; width:150px; height:244px; transform-style:preserve-3d; transform:rotateY(-26deg); transition:transform .5s ease; }
.ckbook3d:hover{ transform:rotateY(-12deg); }
.ckbook3d img{ position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:cover; border-top-right-radius:3px; border-bottom-right-radius:3px; box-shadow:12px 15px 28px rgba(20,40,35,.35); }
.ckbook3d::before{ content:''; position:absolute; top:3px; height:calc(244px - 6px); width:25px; background:repeating-linear-gradient(to bottom, #fbf8ef 0 2px, #eae1c9 2px 3px); transform:translateX(calc(150px - 25px/2 - 3px)) rotateY(90deg) translateX(12.5px); }
.ckbook3d::after{ content:''; position:absolute; left:0; top:0; width:150px; height:244px; background:#12302a; border-top-right-radius:3px; border-bottom-right-radius:3px; transform:translateZ(-25px); box-shadow:-14px 0 32px 8px rgba(0,0,0,.35); }

/* ---------- afrekenpagina: cursusinfo onder de hero ---------- */
.ckstats{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:20px; color:#cfe1dc; font-size:14px; font-weight:700; }
.ckstats span{ display:flex; align-items:center; gap:6px; }
.ckstats .ckprice{ background:rgba(255,255,255,.14); color:#fff; padding:4px 12px; border-radius:20px; }
.ckinfo-wrap{ background:var(--paper-2); border-top:1px solid var(--line); }
.ckinfo-page{ padding-top:56px; }
.ckinfo-page h2.ckcol-h{ font-size:22px; margin:0; }
.ckinfo-page h3{ font-size:16px; margin-top:26px; }
.ckinfo-page .lead{ margin-top:14px; color:var(--ink-soft); font-size:15.5px; line-height:1.6; }
.ckinfo-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:56px; align-items:start; }
.ckbenefits{ margin-top:14px; display:flex; flex-direction:column; gap:10px; }
.ckbenefits li{ display:flex; align-items:flex-start; gap:9px; font-size:14.5px; color:var(--ink-soft); }
.ckbenefits li svg{ color:var(--teal-2); flex:none; margin-top:3px; }
.ckchapter{ margin-top:14px; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px 18px; }
.ckchapter h4{ font-size:14.5px; color:var(--teal); }
.ckchapter ul{ margin-top:8px; padding-left:18px; list-style:disc; }
.ckchapter li{ font-size:13.5px; color:var(--ink-soft); margin-top:4px; }
.cktestimonials{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:16px; }
.cktesti{ background:var(--card); border:1px solid var(--line); border-radius:14px; padding:18px 20px; }
.cktesti p{ font-size:13.5px; color:var(--ink-soft); line-height:1.55; font-style:italic; }
.cktesti-who{ display:flex; align-items:center; gap:10px; margin-top:12px; }
.cktesti-av{ width:34px; height:34px; border-radius:50%; object-fit:cover; flex:none; }
.cktesti-name{ font-size:13px; font-weight:800; color:var(--ink); }
.cktesti-name span{ font-weight:600; color:var(--ink-faint); }
.ckstars{ display:flex; gap:2px; color:#f0b429; margin-bottom:10px; }

/* =========================================================
   USER MENU (avatar dropdown)
   ========================================================= */
.usermenu{ position:relative; }
.av{ width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,#4cb4b4,#10464a); color:#fff; display:grid; place-items:center; font-weight:800; font-size:13px; cursor:pointer; flex:none; }
.av.big{ width:44px; height:44px; font-size:15px; }
.umpop{ position:absolute; top:48px; right:0; width:248px; background:var(--card); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); padding:8px; z-index:60; }
.umhead{ display:flex; align-items:center; gap:12px; padding:10px 10px 12px; }
.umhead .umid{ min-width:0; }
.umhead .nm{ font-weight:800; font-size:14.5px; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.umhead .em{ font-size:12.5px; color:var(--ink-faint); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.umrole{ display:inline-flex; align-items:center; gap:6px; margin:0 10px 6px; font-size:10.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--teal); background:var(--teal-soft); padding:4px 10px; border-radius:20px; }
.umsep{ height:1px; background:var(--line); margin:6px 4px; }
.umitem{ width:100%; display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:9px; font-size:14px; font-weight:700; color:var(--ink-soft); text-align:left; }
.umitem:hover{ background:var(--paper); color:var(--teal); }
.umitem.danger{ color:#b3261e; }
.umitem.danger:hover{ background:#fbe9e7; color:#b3261e; }

/* =========================================================
   ADMIN
   ========================================================= */
.page.admin{ max-width:1180px; }
.adm-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:26px; }
.adm-head .kick{ display:inline-flex; align-items:center; gap:7px; }
.adm-head h1{ font-size:38px; letter-spacing:-.02em; margin-top:6px; }
.adm-head .sub{ font-size:15px; color:var(--ink-soft); margin-top:9px; max-width:60ch; line-height:1.55; }
.adm-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:24px; }
.adm-stats .ast{ background:var(--card); border:1px solid var(--line-2); border-radius:14px; padding:18px 20px; }
.adm-stats .ast .n{ font-family:var(--font-head); font-size:32px; font-weight:600; color:var(--teal); line-height:1; }
.adm-stats .ast .l{ font-size:12.5px; font-weight:700; color:var(--ink-faint); margin-top:7px; }

.adm-toolbar{ display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:14px; flex-wrap:wrap; }
.adm-toolbar .search{ display:flex; align-items:center; gap:9px; background:var(--card); border:1.5px solid var(--line); border-radius:11px; padding:10px 14px; min-width:300px; color:var(--ink-faint); }
.adm-toolbar .search input{ border:none; background:none; outline:none; font-size:14px; width:100%; color:var(--ink); }
.adm-toolbar .legend{ font-size:12.5px; color:var(--ink-faint); font-weight:600; }
.adm-toolbar .sort-toggle{ display:flex; align-items:center; gap:7px; font-size:12.5px; color:var(--ink-faint); font-weight:700; }
.adm-toolbar .sort-toggle button{ font-size:12.5px; font-weight:700; color:var(--ink-soft); background:var(--card); border:1.5px solid var(--line); padding:6px 12px; border-radius:20px; }
.adm-toolbar .sort-toggle button.on{ background:var(--teal-soft); border-color:transparent; color:var(--teal); }

.adm-table{ background:var(--card); border:1px solid var(--line-2); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); }
.atr{ display:grid; grid-template-columns:minmax(0,1fr) 130px 320px 44px; align-items:center; gap:16px; padding:14px 20px; border-bottom:1px solid var(--line-2); }
.atr-course{ grid-template-columns:minmax(0,1fr) 130px 160px 120px; }
.atr:last-child{ border-bottom:none; }
.atr.head{ background:var(--paper-2); padding-top:12px; padding-bottom:12px; }
.atr.head > div{ font-size:11px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--ink-faint); }
.atr.empty{ display:block; text-align:center; padding:34px; color:var(--ink-faint); font-weight:600; }
.atr.total{ background:var(--paper-2); border-top:1.5px solid var(--line); font-weight:800; }
.atr.total:hover{ background:var(--teal-soft); }

.ac-user{ display:flex; align-items:center; gap:13px; min-width:0; }
.ac-user .uav{ width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg,#4cb4b4,#10464a); color:#fff; display:grid; place-items:center; font-weight:800; font-size:13.5px; flex:none; }
.atr.head .ac-user{ display:block; }
.ac-user .uinfo{ min-width:0; }
.ac-user .un{ font-weight:800; font-size:14.5px; color:var(--ink); display:flex; align-items:center; gap:8px; }
.ac-user .un .youtag{ font-size:9.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--teal); background:var(--teal-soft); padding:2px 7px; border-radius:20px; }
.ac-user .ue{ font-size:12.5px; color:var(--ink-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ac-user .umeta{ font-size:11.5px; color:var(--ink-faint); margin-top:2px; }

.roletog{ display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:800; padding:6px 11px; border-radius:20px; border:1.5px solid var(--line); color:var(--ink-soft); background:var(--card); white-space:nowrap; }
.bottleneck-flag{ display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:800; padding:5px 11px; border-radius:20px; background:var(--orange-soft); color:var(--orange-ink); white-space:nowrap; }
.stats-card{ background:var(--card); border:1px solid var(--line-2); border-radius:16px; padding:22px 24px; box-shadow:var(--shadow-sm); }
.stats-card h3{ font-size:17px; color:var(--ink); }
.stats-card .sub2{ font-size:12.5px; color:var(--ink-faint); font-weight:600; margin-top:3px; }
.query-list{ display:flex; flex-direction:column; gap:2px; margin-top:14px; }
.query-row{ display:flex; align-items:center; justify-content:space-between; padding:9px 4px; border-bottom:1px solid var(--line-2); }
.query-row:last-child{ border-bottom:none; }
.query-row .qr-term{ font-size:14px; font-weight:700; color:var(--ink); }
.query-row .qr-count{ font-size:12.5px; font-weight:800; color:var(--teal-2); background:var(--teal-soft); padding:3px 10px; border-radius:20px; }
.roletog.on{ background:var(--teal-soft); border-color:transparent; color:var(--teal); }
.roletog:disabled{ opacity:.55; cursor:default; }
.roletog:not(:disabled):hover{ border-color:var(--teal-2); }

.ac-courses{ display:flex; align-items:center; gap:8px; }
.atr.head .ac-courses{ display:flex; gap:8px; }
.atr.head .ac-courses .freecol,.atr.head .ac-courses .ccol{ width:34px; flex:none; text-align:center; font-size:8px; line-height:1.2; letter-spacing:0; text-transform:none; font-weight:700; color:var(--ink-faint); display:flex; flex-direction:column; align-items:center; gap:1px; overflow:hidden; }
.atr.head .ac-courses .ccol b{ font-family:var(--font-head); font-size:12.5px; font-weight:600; color:var(--teal); }
.atr.head .ac-courses .freecol small{ font-weight:600; color:var(--teal-2); text-transform:none; letter-spacing:0; }
.acc{ width:34px; height:34px; border-radius:9px; display:grid; place-items:center; flex:none; border:1.5px solid var(--line); color:var(--ink-faint); background:var(--paper); }
.acc.free{ background:var(--green); border-color:transparent; color:var(--teal); cursor:default; }
.acc.tog{ cursor:pointer; transition:transform .12s, box-shadow .15s; }
.acc.tog:hover{ transform:translateY(-1px); border-color:var(--teal-2); }
.acc.tog.on{ color:#fff; box-shadow:0 4px 12px rgba(40,30,15,.18); }
.acc.tog.on:hover{ box-shadow:0 6px 16px rgba(40,30,15,.24); }

.rowdel{ width:30px; height:30px; border-radius:8px; display:grid; place-items:center; color:var(--ink-faint); font-size:15px; font-weight:700; }
.rowdel:not(:disabled):hover{ background:#fbe9e7; color:#b3261e; }
.rowdel:disabled{ opacity:.3; cursor:default; }

.ac-user.clickable{ cursor:pointer; border-radius:10px; margin:-6px; padding:6px; transition:background .12s; }
.ac-user.clickable:hover{ background:var(--paper-2); }

.formok{ display:flex; align-items:center; gap:7px; font-size:13px; font-weight:700; color:var(--teal); background:var(--teal-soft); border:1px solid transparent; padding:9px 12px; border-radius:10px; }

.adm-foot{ display:flex; align-items:center; gap:9px; margin-top:18px; font-size:12.5px; color:var(--ink-faint); font-weight:600; line-height:1.5; }

.modal.sm{ grid-template-columns:1fr; width:min(440px,94vw); }
.roleseg{ display:flex; gap:8px; }
.roleseg button{ flex:1; padding:11px; border:1.5px solid var(--line); border-radius:11px; font-weight:800; font-size:13.5px; color:var(--ink-soft); background:var(--card); }
.roleseg button.on{ background:var(--teal-soft); border-color:transparent; color:var(--teal); }

/* =========================================================
   LIBRARY
   ========================================================= */
.lib-hero{ display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:34px; flex-wrap:wrap; }
.lib-hero h1{ font-size:42px; letter-spacing:-.02em; }
.lib-hero .sub{ font-size:16px; color:var(--ink-soft); margin-top:10px; max-width:54ch; line-height:1.55; }
.lib-stats{ display:flex; gap:26px; }
.lib-stats .s .n{ font-family:var(--font-head); font-size:30px; color:var(--teal); font-weight:600; }
.lib-stats .s .l{ font-size:12px; color:var(--ink-faint); font-weight:700; letter-spacing:.04em; }
.lib-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:22px; }
.course{ background:var(--card); border:1px solid var(--line-2); border-radius:var(--r); display:flex; flex-direction:column; box-shadow:var(--shadow-sm); transition:transform .16s, box-shadow .16s; position:relative; }
.course.clickable{ cursor:pointer; }
.course.clickable:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.course .start-ribbon{ position:absolute; top:-10px; left:18px; z-index:3; background:var(--accent); color:#fff; font-size:11px; font-weight:800; letter-spacing:.03em; padding:6px 14px; border-radius:20px; box-shadow:0 3px 8px rgba(0,0,0,.22); }
.course .ctop{ height:92px; position:relative; display:flex; align-items:flex-start; justify-content:space-between; padding:16px 18px; overflow:hidden; border-top-left-radius:var(--r); border-top-right-radius:var(--r); }
.course .cbody{ border-bottom-left-radius:var(--r); border-bottom-right-radius:var(--r); }
.course .ctop .num{ position:relative; z-index:2; font-family:var(--font-head); font-size:15px; font-weight:600; color:rgba(255,255,255,.9); }
.course .ctop .price{ position:relative; z-index:2; }
.course .cbody{ padding:18px 20px 20px; display:flex; flex-direction:column; flex:1; }
.course .cbody h3{ font-size:21px; line-height:1.16; }
.course .cbody .cdesc{ font-size:13.5px; color:var(--ink-soft); line-height:1.5; margin-top:9px; }
.course .tags{ display:flex; flex-wrap:wrap; align-content:flex-start; gap:8px; margin:14px 0 0; flex:1; }
.course .tag{ font-size:12px; font-weight:800; padding:6px 13px; border-radius:20px; line-height:1.3; white-space:nowrap; }
.course .cmeta{ display:flex; align-items:center; gap:14px; margin-top:14px; font-size:12px; color:var(--ink-faint); font-weight:700; }
.course .cmeta .mi{ display:flex; align-items:center; gap:6px; }
.course .cfoot{ margin-top:16px; padding-top:15px; border-top:1px solid var(--line-2); display:flex; align-items:center; justify-content:space-between; gap:12px; }
.course .miniprog{ flex:1; }
.course .miniprog .pb{ height:7px; border-radius:5px; background:var(--paper-2); overflow:hidden; }
.course .miniprog .pb i{ display:block; height:100%; background:var(--accent); border-radius:5px; }
.course .miniprog .pl{ font-size:11.5px; font-weight:700; color:var(--ink-faint); margin-top:6px; }
.course.locked .ctop{ filter:saturate(.7); }
.course .lockbadge{ display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:800; color:var(--ink-faint); }

/* =========================================================
   COURSE DASHBOARD (richting A · het pad)
   ========================================================= */
.dash{ display:grid; grid-template-columns:380px 1fr; gap:38px; align-items:start; }
.dash-hero{ position:sticky; top:96px; background:var(--teal); color:#fff; border-radius:22px; padding:36px 34px; display:flex; flex-direction:column; overflow:hidden; box-shadow:var(--shadow); }
.dash-hero .rings{ position:absolute; inset:0; opacity:.5; pointer-events:none; }
.dash-hero .kick{ color:var(--green); position:relative; z-index:2; }
.dash-hero h1{ color:#fff; font-size:44px; font-weight:700; line-height:.98; letter-spacing:-.02em; margin-top:14px; position:relative; z-index:2; }
.dash-hero h1 .o{ color:var(--orange); font-style:italic; font-weight:600; }
.dash-hero .tag{ font-size:15px; line-height:1.55; color:#cfe1dc; margin-top:16px; position:relative; z-index:2; }
.dash-hero .prog{ display:flex; align-items:center; gap:18px; margin-top:30px; position:relative; z-index:2; }
.dash-hero .prog .num{ font-family:var(--font-head); }
.dash-hero .prog .num b{ font-size:30px; font-weight:600; }
.dash-hero .prog .num span{ font-size:14px; color:#a9c6c0; }
.dash-hero .prog .lab{ font-size:12.5px; color:#cfe1dc; line-height:1.4; }
.dash-hero .btn{ margin-top:24px; align-self:flex-start; position:relative; z-index:2; }
.dash-hero .meta{ display:flex; gap:9px; margin-top:22px; position:relative; z-index:2; flex-wrap:wrap; }
.dash-hero .meta .chip{ background:rgba(255,255,255,.12); color:#e7f1ee; }
.dash-hero .meta .chip .dot{ background:var(--green); }
.dash-hero .meta .chip.p .dot{ background:var(--orange); }

.path{ display:flex; flex-direction:column; }
.path-grp{ font-size:11.5px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; color:var(--ink-faint); margin:6px 0 14px; }
.node{ display:grid; grid-template-columns:48px 1fr; gap:20px; }
.node .rail{ display:flex; flex-direction:column; align-items:center; }
.knob{ width:48px; height:48px; border-radius:50%; display:grid; place-items:center; font-family:var(--font-head); font-weight:600; font-size:20px; flex:none; border:2px solid; transition:transform .15s; }
.knob.t{ background:var(--teal); color:#fff; border-color:var(--teal); }
.knob.p{ background:var(--accent); color:#fff; border-color:var(--accent); }
.knob.d{ background:#c99a1f; color:#fff; border-color:#c99a1f; }
.knob.lock{ background:var(--paper); color:var(--ink-faint); border-color:var(--line); }
.knob.intro{ background:var(--teal-soft); color:var(--teal); border-color:var(--teal-2); }
.knob.slot{ background:var(--accent-soft); color:var(--accent-ink); border-color:var(--accent); }
.knob.done{ background:var(--green); color:var(--teal); border-color:var(--green); }
.rail .line{ width:2px; flex:1; background:var(--line); margin:6px 0; min-height:18px; }
.rail .line.dash{ background:repeating-linear-gradient(to bottom,var(--line) 0 5px,transparent 5px 11px); }
.lcard{ background:var(--card); border:1px solid var(--line-2); border-radius:15px; padding:17px 22px; margin-bottom:16px; display:flex; align-items:center; gap:18px; box-shadow:var(--shadow-sm); transition:transform .15s, box-shadow .15s, border-color .15s; }
.lcard.clickable{ cursor:pointer; }
.lcard.clickable:hover{ transform:translateX(3px); box-shadow:var(--shadow); }
.lcard.cur{ border-color:var(--accent); box-shadow:0 8px 26px rgba(184,74,0,.13); }
.lcard.lock{ opacity:.6; }
.lcard .meta{ flex:1; min-width:0; }
.lcard .meta .ti{ font-family:var(--font-head); font-weight:600; font-size:18.5px; color:var(--teal); margin-top:7px; line-height:1.2; text-wrap:balance; }
.lcard .st{ font-size:12px; font-weight:700; color:var(--ink-faint); display:flex; align-items:center; gap:7px; white-space:nowrap; }
.lcard .st .ck{ width:24px; height:24px; border-radius:50%; background:var(--green); color:var(--teal); display:grid; place-items:center; font-size:14px; font-weight:800; }

/* =========================================================
   LESSON PLAYER
   ========================================================= */
.lesson-sub{ position:sticky; top:64px; z-index:30; background:rgba(247,241,231,.9); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.lesson-sub .inner{ max-width:1080px; margin:0 auto; display:flex; align-items:center; gap:16px; padding:13px 40px; }
.lesson-sub .back{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; color:var(--ink-soft); }
.lesson-sub .back:hover{ color:var(--teal); }
.lesson-sub .lt{ font-family:var(--font-head); font-weight:600; color:var(--teal); font-size:15px; }
.lesson-sub .sp{ flex:1; }
.lesson-sub .scrollbar{ position:absolute; left:0; bottom:-1px; height:3px; background:var(--accent); width:0; transition:width .1s linear; }

.reader{ max-width:720px; margin:0 auto; padding:44px 40px 90px; }
.les-head{ margin-bottom:26px; }
.ribbon{ display:inline-flex; align-items:center; gap:9px; background:var(--accent-soft); color:var(--accent-ink); padding:7px 15px; border-radius:30px; font-size:11.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; white-space:nowrap; }
.ribbon .dot{ width:9px; height:9px; border-radius:50%; background:var(--accent); }
.les-title{ font-size:42px; font-weight:700; color:var(--teal); line-height:1.02; letter-spacing:-.02em; margin-top:16px; text-wrap:balance; }
.reader .lead{ font-size:19px; line-height:1.55; color:#37413c; font-weight:500; margin-top:18px; }
.reader .body{ margin-top:16px; }
.reader .body p{ font-size:var(--read); line-height:1.68; color:#39362f; }
.reader .body p+p{ margin-top:14px; }
.reader .body strong{ font-weight:700; color:var(--ink); }
.reader .body em{ font-style:italic; }
.subhead{ font-family:var(--font-head); font-weight:600; font-size:24px; color:var(--accent-ink); margin:34px 0 12px; line-height:1.15; }
.subhead.teal{ color:var(--teal); }
.pull{ font-family:var(--font-head); font-style:italic; font-weight:500; font-size:24px; line-height:1.36; color:var(--accent-ink); border-left:3px solid var(--accent); padding:4px 0 4px 22px; margin:30px 0; }

/* note / callout */
.note{ background:var(--card); border:1px solid var(--line-2); border-radius:14px; padding:22px 24px; margin:24px 0; }
.note .nh{ font-family:var(--font-head); font-weight:600; font-size:18px; color:var(--accent-ink); margin-bottom:7px; }
.note p{ font-size:15px; line-height:1.58; color:var(--ink-soft); }
.callout{ background:var(--teal); color:#fff; border-radius:14px; padding:22px 26px; margin:26px 0; }
.callout .ch{ font-family:var(--font-head); font-weight:600; font-size:20px; line-height:1.25; }
.callout p{ color:#dcebe9; font-size:15px; margin-top:8px; line-height:1.5; white-space:pre-line; }
.callout.warm{ background:var(--accent); }
.callout.warm p{ color:#fff; opacity:.92; }
.callout.soft{ background:var(--accent-soft); color:var(--accent-ink); }
.callout.soft p{ color:var(--accent-ink); opacity:.9; }
/* specificiteits-fix: .reader .body p (#39362f) mag callout-tekst niet overschrijven */
.reader .body .callout p{ color:#dcebe9; }
.reader .body .callout.warm p{ color:#fff; }
.reader .body .callout.soft p{ color:var(--accent-ink); }
.callout-list{ list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.callout-list li{ display:flex; align-items:flex-start; gap:11px; color:#dcebe9; font-size:15px; line-height:1.5; }
.callout-list .cn{ flex:0 0 auto; width:22px; height:22px; border-radius:50%; background:rgba(255,255,255,.18); color:#fff; display:grid; place-items:center; font-weight:800; font-size:12.5px; margin-top:1px; }
/* vet in een kader moet de kaderkleur volgen, niet de donkere bodytekst */
.reader .body .callout strong{ color:#fff; }
.reader .body .callout.soft strong{ color:var(--accent-ink); }
.callout.warm .callout-list li{ color:#fff; opacity:.92; }
.callout.soft .callout-list li{ color:var(--accent-ink); opacity:.9; }
.callout.soft .callout-list .cn{ background:var(--accent-ink); color:#fff; opacity:1; }
.callout-cta{ display:inline-flex; align-items:center; gap:7px; margin-top:14px; background:#fff; color:var(--teal-deep,var(--teal)); border:none; border-radius:999px; padding:9px 16px; font-size:13.5px; font-weight:800; cursor:pointer; }
.callout.soft .callout-cta{ background:var(--accent-ink); color:#fff; }
.callout-cta:hover{ opacity:.9; }

/* step cards */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:26px 0; }
/* stapels: bij langere teksten leest onder elkaar prettiger dan naast elkaar */
.steps.stack{ grid-template-columns:1fr; }
.steps.stack .step{ display:grid; grid-template-columns:32px 1fr; column-gap:14px; row-gap:2px; align-items:start; }
.steps.stack .step .n{ grid-row:1 / span 2; margin-bottom:0; }
.step{ background:var(--card); border:1px solid var(--line-2); border-radius:14px; padding:18px 18px 20px; }
.step .n{ width:32px; height:32px; border-radius:50%; background:var(--teal); color:#fff; display:grid; place-items:center; font-weight:800; font-size:14px; margin-bottom:12px; }
.step.p .n{ background:var(--accent); }
.step h5{ font-size:18px; }
.step p{ font-size:13px; color:var(--ink-soft); line-height:1.45; margin-top:6px; }

/* ---------- block label ---------- */
.block-lab{ display:inline-flex; align-items:center; gap:8px; font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-ink); }
.block-lab::before{ content:""; width:14px; height:14px; border-radius:3px; background:var(--accent); }

/* ---------- QUIZ ---------- */
.quiz{ background:var(--card); border:1px solid var(--line-2); border-radius:16px; padding:24px 26px; margin:28px 0; }
.quiz .q{ font-family:var(--font-head); font-size:21px; color:var(--teal); margin:10px 0 16px; line-height:1.25; }
.quiz .opts{ display:flex; flex-direction:column; gap:10px; }
.qopt{ display:flex; align-items:center; gap:13px; text-align:left; background:var(--paper); border:1.5px solid var(--line); border-radius:12px; padding:14px 16px; font-size:15px; font-weight:600; transition:border-color .15s, background .15s; }
.qopt:hover:not(:disabled){ border-color:var(--teal-2); }
.qopt .mk{ width:24px; height:24px; border-radius:50%; border:2px solid var(--line); flex:none; display:grid; place-items:center; font-size:13px; font-weight:800; color:#fff; }
.qopt.correct{ border-color:var(--green); background:#eafaf0; }
.qopt.correct .mk{ background:var(--green); border-color:var(--green); color:var(--teal); }
.qopt.wrong{ border-color:#e7a08a; background:#fdeee8; }
.qopt.wrong .mk{ background:#d9694a; border-color:#d9694a; }
.quiz .fb{ margin-top:16px; font-size:14.5px; line-height:1.5; padding:14px 16px; border-radius:11px; background:var(--accent-soft); color:var(--accent-ink); }
.quiz .fb.good{ background:#eafaf0; color:#1c6b3f; }

/* ---------- EXERCISE (writable) ---------- */
.ex{ background:var(--card); border:1.5px solid var(--accent); border-radius:16px; padding:24px 26px 26px; margin:24px 0; }
.ex h4{ font-size:22px; color:var(--teal); margin:10px 0 4px; line-height:1.18; }
.ex .qd{ font-size:14.5px; color:#4a473f; line-height:1.5; margin:8px 0 0; white-space:pre-line; }
.ex .qd b{ color:var(--accent-ink); }
.ex textarea{ width:100%; margin-top:14px; background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:14px 16px; font-size:16px; line-height:1.6; resize:vertical; min-height:90px; transition:border-color .15s, box-shadow .15s; }
.ex textarea:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(255,102,0,.12); }
.ex .saved{ display:flex; align-items:center; gap:7px; font-size:12px; font-weight:700; color:var(--teal-2); margin-top:10px; height:16px; opacity:0; transition:opacity .25s; }
.ex .saved.on{ opacity:1; }
/* meerdere invulvakjes binnen één oefening */
.ex-field + .ex-field{ margin-top:16px; }
.ex .ex-fh{ font-size:14px; font-weight:800; color:var(--teal); margin-top:16px; }
.ex .ex-fh + textarea{ margin-top:7px; }
.ex .ex-echo{ margin-top:12px; background:var(--paper-2); border-left:3px solid var(--teal-soft); border-radius:0 10px 10px 0; padding:9px 13px; font-size:14.5px; line-height:1.45; color:var(--ink-soft); white-space:pre-line; }
.ex .ex-echo-l{ display:block; font-size:11px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--teal-2); margin-bottom:3px; }
.ex .ex-echo + textarea{ margin-top:8px; }
.ex .gm-block{ margin-top:12px; }
.ex .gm-block + textarea{ margin-top:12px; }
.ex-field + .ex-field{ border-top:1px solid var(--line-2); padding-top:16px; }
.ex .ex-legacy{ border-left-color:var(--accent); }
.ex.sub{ border-color:var(--line-2); }
.ex.sub textarea:focus{ border-color:var(--teal-2); box-shadow:0 0 0 3px rgba(46,140,140,.12); }

/* ---------- REIS-VOORMETING (slider) ---------- */
.reis-item{ background:var(--card); border:1px solid var(--line-2); border-radius:14px; padding:18px 22px 20px; margin:16px 0; transition:border-color .2s; }
.reis-item.answered{ border-color:var(--teal-2); }
.reis-item .reis-q{ font-size:15.5px; line-height:1.5; color:var(--ink); font-weight:600; margin-bottom:14px; }
.reis-range{ width:100%; -webkit-appearance:none; appearance:none; height:6px; border-radius:4px; background:var(--line-2); outline:none; }
.reis-range::-webkit-slider-thumb{ -webkit-appearance:none; appearance:none; width:22px; height:22px; border-radius:50%; background:var(--teal); border:3px solid var(--card); box-shadow:0 1px 4px rgba(0,0,0,.25); cursor:pointer; }
.reis-range::-moz-range-thumb{ width:22px; height:22px; border-radius:50%; background:var(--teal); border:3px solid var(--card); box-shadow:0 1px 4px rgba(0,0,0,.25); cursor:pointer; }
.reis-scalelabels{ display:flex; justify-content:space-between; margin-top:8px; font-size:11px; color:var(--ink-faint); }
.reis-scalelabels .reis-current{ font-weight:800; color:var(--teal); font-size:12.5px; }
.reis-results{ background:var(--teal); color:#fff; border-radius:16px; padding:22px 26px; margin:26px 0; }
.reis-results .block-lab{ color:#dcebe9; }
.reis-resultrow{ display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.15); font-size:14.5px; }
.reis-resultrow:last-child{ border-bottom:none; }
.reis-resultrow b{ font-family:var(--font-head); font-size:18px; }

.reis-result-card{ background:var(--card); border:1px solid var(--line-2); border-radius:16px; padding:22px 26px; margin:18px 0; }
.reis-result-head p{ margin-top:6px; font-size:14px; color:var(--ink-soft); line-height:1.5; }
.reis-result-head h3{ font-family:var(--font-head); font-size:20px; margin-top:4px; color:var(--ink); }
.reis-result-score{ display:flex; align-items:baseline; gap:8px; margin-top:16px; padding-top:16px; border-top:1px solid var(--line-2); }
.rr-before{ font-family:var(--font-head); font-size:22px; color:var(--ink-faint); }
.rr-arrow{ color:var(--ink-faint); font-size:16px; }
.rr-after{ font-family:var(--font-head); font-size:30px; color:var(--teal); font-weight:700; }
.rr-max{ font-size:13px; color:var(--ink-faint); margin-right:auto; }
.rr-delta{ font-size:14px; font-weight:800; padding:3px 10px; border-radius:20px; background:var(--line-2); color:var(--ink-soft); }
.rr-delta.up{ background:var(--green); color:var(--teal); }
.rr-delta.down{ background:var(--orange-soft); color:var(--orange-ink); }
.reis-note{ font-size:13px; color:var(--ink-soft); margin-top:22px; font-style:italic; }
.reis-result-explain{ margin-top:14px; padding-top:14px; border-top:1px solid var(--line-2); font-size:14.5px; line-height:1.6; color:var(--ink); }
.reis-decline-note{ margin-top:14px; padding:14px 18px; border-radius:12px; background:var(--teal-soft); color:var(--teal); font-size:14px; line-height:1.6; }

.reis-chart{ background:var(--card); border:1px solid var(--line-2); border-radius:16px; padding:22px 26px 20px; margin:26px 0; }
.chart-row{ margin-top:20px; }
.chart-row:first-of-type{ margin-top:16px; }
.chart-row-top{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:8px; }
.chart-label{ font-weight:700; font-size:14.5px; color:var(--ink); }
.chart-track{ position:relative; height:14px; border-radius:8px; background:var(--paper-2); overflow:visible; }
.chart-bar{ position:absolute; left:0; top:0; height:100%; border-radius:8px; background:var(--teal-2); transition:width .3s ease; }
.chart-bar.up{ background:var(--green); }
.chart-bar.down{ background:var(--orange); }
.chart-before{ position:absolute; top:-4px; width:3px; height:22px; background:var(--ink); border-radius:2px; transform:translateX(-1.5px); }
.chart-legend{ display:flex; flex-wrap:wrap; gap:18px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line-2); font-size:12.5px; color:var(--ink-soft); }
.chart-legend span{ display:inline-flex; align-items:center; gap:6px; }
.lg-swatch{ width:12px; height:12px; border-radius:3px; display:inline-block; background:var(--teal-2); }
.lg-swatch.before{ width:3px; background:var(--ink); }
.lg-swatch.up{ background:var(--green); }
.lg-swatch.down{ background:var(--orange); }
.ex input[type=text]{ width:100%; margin-top:14px; background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:12px 16px; font-size:16px; transition:border-color .15s, box-shadow .15s; }
.ex input[type=text]:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(255,102,0,.12); }
.emopick-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.emopick-chip{ background:var(--paper); border:1.5px solid var(--line); border-radius:20px; padding:8px 16px; font-size:14px; font-weight:600; color:var(--ink-soft); transition:border-color .15s, color .15s, background .15s; }
.emopick-chip:hover{ border-color:var(--teal-2); color:var(--teal); }
.emopick-chip.on{ background:var(--teal); border-color:var(--teal); color:#fff; }

/* ---------- OMDENK MATRIX (interactive) ---------- */
.matrix-block{ margin:30px 0; }
.matrix-shell{ display:grid; grid-template-columns:34px 1fr; grid-template-rows:34px 1fr; gap:0; }
.m-corner{}
.m-axis-top{ grid-column:2; display:grid; grid-template-columns:1fr 1fr; }
.m-axis-top span{ text-align:center; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--teal-2); padding-bottom:8px; }
.m-axis-left{ grid-row:2; grid-column:1; display:grid; grid-template-rows:1fr 1fr; }
.m-axis-left span{ writing-mode:vertical-rl; transform:rotate(180deg); text-align:center; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--teal-2); padding-right:8px; }
.m-grid{ grid-row:2; grid-column:2; display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; gap:14px; }
.quad{ background:var(--card); border:1.5px solid var(--line); border-radius:14px; padding:20px; text-align:left; min-height:150px; display:flex; flex-direction:column; transition:border-color .18s, box-shadow .18s, transform .18s, background .18s; position:relative; }
.quad:hover{ border-color:var(--accent); box-shadow:var(--shadow-sm); transform:translateY(-2px); }
.quad.active{ border-color:var(--accent); background:#fff; box-shadow:0 10px 28px rgba(184,74,0,.16); }
.quad.chosen{ border-color:var(--teal); }
.quad .qh{ display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
.quad .qn{ flex:none; }
.quad .qn{ font-family:var(--font-head); font-weight:600; font-size:22px; color:var(--teal); }
.quad .qtag{ font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-faint); }
.quad .qbody{ font-size:13.5px; color:var(--ink-soft); line-height:1.5; margin-top:10px; }
.quad .qpick{ margin-top:auto; padding-top:14px; font-size:12px; font-weight:800; color:var(--accent-ink); display:flex; align-items:center; gap:7px; opacity:0; transition:opacity .18s; }
.quad:hover .qpick, .quad.active .qpick{ opacity:1; }
.quad .chosenbadge{ display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:800; color:var(--teal); }
.matrix-note{ font-size:13px; color:var(--ink-faint); text-align:center; margin-top:14px; font-weight:600; }

/* ---------- EMOTIEWIEL (interactive) ---------- */
.wheel-block{ margin:30px 0; }
.wheel-shell{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,300px); gap:26px; align-items:center; margin-top:16px; }
.wheel-svg-wrap{ display:flex; justify-content:center; }
.wheel-svg{ width:100%; max-width:440px; height:auto; user-select:none; }
.wseg{ cursor:pointer; stroke:var(--paper); stroke-width:2.5; transition:opacity .18s, transform .18s; transform-origin:280px 280px; }
.wseg:hover{ opacity:.86; }
.wseg.sel{ stroke:var(--ink); stroke-width:3; }
.wseg.dim{ opacity:.3; }
.wseg.dim:hover{ opacity:.55; }
.wlabel{ font-family:var(--font-body); font-size:13px; font-weight:800; fill:var(--ink-soft); letter-spacing:.01em; pointer-events:none; }
.whub{ fill:var(--card); stroke:var(--line); stroke-width:1.5; }
.whub-t1{ font-family:var(--font-head); font-size:15px; font-weight:600; fill:var(--teal); }
.whub-t2{ font-family:var(--font-body); font-size:10.5px; font-weight:700; fill:var(--ink-faint); letter-spacing:.02em; }

.wheel-detail{ align-self:stretch; display:flex; }
.wd-card{ width:100%; background:var(--card); border:1px solid var(--line-2); border-top:4px solid var(--accent); border-radius:16px; padding:22px 24px; box-shadow:var(--shadow-sm); }
.wd-tag{ display:inline-block; font-size:10.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:5px 11px; border-radius:20px; }
.wd-word{ font-family:var(--font-head); font-weight:600; font-size:28px; color:var(--teal); margin-top:13px; line-height:1.05; }
.wd-mean{ font-size:14.5px; color:var(--ink-soft); line-height:1.55; margin-top:8px; }
.wd-func{ margin-top:16px; padding-top:15px; border-top:1px solid var(--line-2); }
.wd-func-lab{ font-size:10.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--accent-ink); }
.wd-func p{ font-size:14px; color:var(--ink); line-height:1.5; margin-top:6px; font-weight:500; }
.wd-empty{ width:100%; background:var(--paper-2); border:1px dashed var(--line); border-radius:16px; padding:24px; text-align:center; }
.wd-empty-ic{ width:46px; height:46px; border-radius:50%; background:var(--teal-soft); color:var(--teal); display:grid; place-items:center; margin:0 auto 12px; }
.wd-empty h4{ font-size:18px; color:var(--teal); }
.wd-empty p{ font-size:13.5px; color:var(--ink-soft); line-height:1.55; margin-top:8px; }
.wheel-note{ font-size:13px; color:var(--ink-faint); text-align:center; margin-top:16px; font-weight:600; }
@media (max-width:720px){
  .wheel-shell{ grid-template-columns:1fr; }
}

/* ---------- LICHAAMSPLAAT (interactive) ---------- */
.bodymap-block{ margin:30px 0; }
.bm-h{ font-family:var(--font-head); font-weight:600; font-size:19px; color:var(--ink); margin:4px 0 0; }
.body-shell{ display:grid; grid-template-columns:minmax(0,260px) minmax(0,1fr); gap:26px; align-items:center; margin-top:18px; background:var(--card); border:1px solid var(--line-2); border-radius:18px; padding:24px; box-shadow:var(--shadow-sm); }
.body-svg-wrap{ display:flex; flex-direction:column; align-items:center; }
.body-svg{ width:100%; max-width:256px; height:auto; user-select:none; }
.figure{ filter:drop-shadow(0 4px 10px rgba(16,70,74,.10)); }
.bz{ cursor:pointer; }
.bz-dot{ fill:rgba(16,70,74,.12); stroke:rgba(16,70,74,.34); stroke-width:1.5; transition:fill .16s, stroke .16s; }
.bz:hover .bz-dot{ fill:var(--teal-soft); stroke:var(--teal-2); }
.bz.on .bz-dot{ fill:var(--accent); stroke:#fff; stroke-width:2; }
.bz.on:hover .bz-dot{ fill:var(--accent); }
.bz-halo{ fill:var(--accent); opacity:.18; }
.bz-ck{ fill:none; stroke:#fff; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.bm-hint{ font-size:12.5px; color:var(--ink-faint); font-weight:600; margin-top:14px; text-align:center; }
.body-side{ align-self:stretch; display:flex; }
.bs-empty{ width:100%; background:var(--paper-2); border:1px dashed var(--line); border-radius:14px; padding:22px; text-align:center; align-self:center; }
.bs-empty-ic{ width:44px; height:44px; border-radius:50%; background:var(--teal-soft); color:var(--teal); display:grid; place-items:center; margin:0 auto 11px; }
.bs-empty h5{ font-size:17px; color:var(--teal); }
.bs-empty p{ font-size:13.5px; color:var(--ink-soft); line-height:1.55; margin-top:7px; }
.bs-list{ width:100%; display:flex; flex-direction:column; gap:10px; }
.bs-count{ font-size:13px; color:var(--ink-soft); font-weight:600; margin-bottom:2px; }
.bs-count b{ color:var(--accent-ink); }
.bs-item{ display:flex; align-items:flex-start; gap:12px; text-align:left; background:var(--paper); border:1px solid var(--line-2); border-radius:12px; padding:12px 14px; transition:border-color .15s, background .15s; }
.bs-item:hover{ border-color:var(--accent); background:#fff; }
.bs-pin{ width:26px; height:26px; border-radius:50%; background:var(--accent-soft); color:var(--accent-ink); display:grid; place-items:center; flex:none; margin-top:1px; }
.bs-txt{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.bs-txt b{ font-size:14.5px; color:var(--ink); font-weight:800; }
.bs-txt span{ font-size:13px; color:var(--ink-soft); line-height:1.45; }
.bs-x{ color:var(--ink-faint); font-size:13px; font-weight:700; flex:none; margin-top:2px; }
.bs-item:hover .bs-x{ color:var(--accent-ink); }
/* kop boven de zone-kaarten */
.bs-head{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:2px; }
.bs-head .t{ font-size:13px; font-weight:600; color:var(--ink-soft); }
.bs-head .t b{ color:var(--accent-ink); }
.bs-head .n{ font-size:11px; font-weight:800; letter-spacing:.04em; color:var(--teal); background:var(--teal-soft); padding:3px 9px; border-radius:20px; white-space:nowrap; }
.bs-cards{ display:flex; flex-direction:column; gap:9px; }
/* zone-kaart met sensatie-chips (accordeon) */
.bz-card{ background:var(--paper); border:1px solid var(--line-2); border-radius:13px; overflow:hidden; }
.bz-card.open{ border-color:var(--line); background:var(--card); box-shadow:var(--shadow-sm); }
.bz-card.has{ border-color:var(--accent); }
.bz-card-h{ display:flex; align-items:center; gap:10px; padding:11px 13px; cursor:pointer; }
.bz-card-pin{ width:24px; height:24px; border-radius:50%; background:var(--accent); color:#fff; display:grid; place-items:center; flex:none; }
.bz-card:not(.has) .bz-card-pin{ background:var(--teal-soft); }
.bz-pin-dot{ width:8px; height:8px; border-radius:50%; background:var(--teal); }
.bz-card-name{ flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.bz-card-name b{ font-size:14.5px; color:var(--ink); font-weight:800; line-height:1.2; }
.bz-sum{ font-size:12px; line-height:1.3; color:var(--ink-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bz-card.has .bz-sum{ color:var(--accent-ink); font-weight:700; }
.bz-card-x{ color:var(--ink-faint); font-size:13px; font-weight:700; padding:3px 6px; border-radius:7px; flex:none; }
.bz-card-x:hover{ color:var(--accent-ink); background:var(--accent-soft); }
.bz-chev{ display:inline-flex; align-items:center; color:var(--ink-faint); flex:none; }
.bz-card.open .bz-chev{ transform:rotate(180deg); color:var(--accent-ink); }
.bz-card-body{ padding:0 13px 14px; }
.bz-card-q{ font-size:12.5px; color:var(--ink-soft); font-weight:600; margin:2px 0 10px; }
.bz-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.bz-chip{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:700; color:var(--ink-soft); background:var(--paper); border:1.5px solid var(--line); border-radius:20px; padding:7px 13px; }
.bz-chip:hover{ border-color:var(--teal-2); color:var(--teal); }
.bz-chip.on{ background:var(--accent); border-color:var(--accent); color:#fff; }
.bz-chip.on:hover{ color:#fff; border-color:var(--accent); }
.bz-chip.custom .bz-chip-x{ font-size:10px; opacity:.75; margin-left:1px; }
.bz-chip.add{ color:var(--teal); background:transparent; border-style:dashed; border-color:var(--line); }
.bz-chip.add:hover{ border-color:var(--teal-2); color:var(--teal); }
.bz-plus{ font-size:14px; line-height:1; font-weight:800; }
.bz-add{ display:inline-flex; margin:0; }
.bz-add-input{ font-family:inherit; font-size:12.5px; font-weight:700; color:var(--ink); background:var(--card); border:1.5px solid var(--teal-2); border-radius:20px; padding:7px 13px; width:148px; box-shadow:0 0 0 3px rgba(46,140,140,.15); }
.bz-add-input:focus{ outline:none; }
.bz-add-input::placeholder{ color:var(--ink-faint); font-weight:600; }
@media (max-width:640px){
  .body-shell{ grid-template-columns:1fr; }
  .body-svg{ max-width:200px; }
}

/* ---------- VIDEO placeholder ---------- */
.video{ position:relative; aspect-ratio:16/9; border-radius:16px; overflow:hidden; margin:26px 0; background:
  repeating-linear-gradient(135deg, #123e42 0 22px, #0e363a 22px 44px); border:1px solid var(--line-2); display:grid; place-items:center; }
.video .vc{ text-align:center; color:#cfe1dc; position:relative; z-index:2; }
.video .play{ width:66px; height:66px; border-radius:50%; background:var(--accent); color:#fff; display:grid; place-items:center; font-size:24px; margin:0 auto 14px; box-shadow:0 10px 30px rgba(0,0,0,.25); padding-left:5px; }
.video .vt{ font-family:var(--font-head); font-size:19px; color:#fff; }
.video .vmeta{ font-size:12.5px; margin-top:6px; letter-spacing:.04em; }
.video-extern{ display:flex; align-items:center; justify-content:center; text-decoration:none; cursor:pointer; transition:transform .12s, box-shadow .12s; }
.video-extern:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.video-extern:hover .play{ transform:scale(1.06); }
.video-extern .play{ transition:transform .12s; }
.video-extern .vph{ display:inline-flex; align-items:center; gap:5px; color:rgba(207,225,220,.85); }
.video .vph{ position:absolute; bottom:12px; right:14px; font-family:'Mulish'; font-size:10.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:rgba(207,225,220,.6); z-index:2; }
.video-wrap{ margin:26px 0; }
.video-wrap .video-real{ margin:0; background:#000; }
.video-real iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-caption{ margin-top:10px; font-size:13px; color:var(--ink-soft); }
.video-caption .vt{ font-weight:800; color:var(--ink); }

/* ---------- QR / link card ---------- */
.linkcard{ display:flex; gap:20px; align-items:center; background:var(--card); border:1px solid var(--line-2); border-radius:14px; padding:18px 20px; margin:24px 0; }
.linkcard img{ width:96px; height:96px; border-radius:9px; flex:none; }
.linkcard h5{ font-size:18px; margin:6px 0 4px; }
.linkcard p{ font-size:13.5px; color:var(--ink-soft); line-height:1.46; }
.linkcard .u{ font-size:11.5px; font-weight:700; color:var(--accent-ink); margin-top:8px; }

/* ---------- downloadbare bijlage (bv. werkbladen) ---------- */
.dl-card{ display:flex; align-items:center; gap:16px; background:var(--card); border:1px solid var(--line-2); border-radius:14px; padding:16px 20px; margin:20px 0; text-decoration:none; color:inherit; transition:border-color .15s; }
.dl-card:hover{ border-color:var(--teal-2); }
.dl-ic{ display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:10px; background:var(--teal-soft); color:var(--teal); flex:none; }
.dl-body{ flex:1; }
.dl-t{ font-weight:700; font-size:15px; }
.dl-sub{ font-size:13px; color:var(--ink-soft); margin-top:2px; }

/* ---------- lesson completion ---------- */
.complete{ background:var(--card); border:1px solid var(--line-2); border-radius:18px; padding:30px 32px; margin-top:40px; text-align:center; box-shadow:var(--shadow-sm); }
.complete h3{ font-size:25px; }
.complete p{ font-size:15px; color:var(--ink-soft); margin-top:8px; }
.complete .acts{ display:flex; gap:12px; justify-content:center; margin-top:20px; flex-wrap:wrap; }
.complete.done{ background:#eafaf0; border-color:#bce7cd; }
.complete .bigck{ width:60px; height:60px; border-radius:50%; background:var(--green); color:var(--teal); display:grid; place-items:center; font-size:30px; margin:0 auto 14px; }

.btn-light{ background:#fff; color:var(--teal); box-shadow:0 6px 18px rgba(0,0,0,.14); }
.btn-light:hover{ box-shadow:0 9px 24px rgba(0,0,0,.2); }

/* ---------- finale banner (outro, alle lessen af) ---------- */
.finale{ display:flex; align-items:center; gap:16px; background:#eafaf0; border:1px solid #bce7cd; border-radius:16px; padding:20px 24px; margin-bottom:28px; }
.finale-ic{ width:50px; height:50px; border-radius:50%; background:var(--green); color:var(--teal); display:grid; place-items:center; flex:none; }
.finale h3{ font-size:19px; color:var(--teal); line-height:1.2; }
.finale p{ font-size:14px; color:var(--ink-soft); margin-top:4px; }

/* ---------- team (founders) ---------- */
.team{ background:var(--card); border:1px solid var(--line-2); border-radius:16px; padding:24px 26px; margin:28px 0; box-shadow:var(--shadow-sm); }
.team-lab{ font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint); }
.team-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:14px; }
.member{ display:flex; align-items:center; gap:13px; background:var(--paper); border:1px solid var(--line-2); border-radius:13px; padding:13px 18px 13px 13px; flex:1; min-width:230px; }
.member .mav{ width:46px; height:46px; border-radius:50%; background:linear-gradient(135deg,#4cb4b4,#10464a); color:#fff; display:grid; place-items:center; font-weight:800; font-size:15px; flex:none; }
.member .mn{ font-weight:800; font-size:15.5px; color:var(--ink); }
.member .mr{ font-size:13px; color:var(--ink-soft); margin-top:2px; }
.team-note{ font-size:13.5px; color:var(--ink-faint); margin-top:14px; font-style:italic; }

/* ---------- referral (Basiscursus doorverwijzing) ---------- */
.referral{ position:relative; overflow:hidden; border-radius:20px; margin:36px 0 22px; color:#fff; box-shadow:var(--shadow); }
.referral .ref-in{ position:relative; z-index:1; padding:34px 38px 38px; max-width:560px; }
.ref-kick{ font-size:11.5px; letter-spacing:.2em; text-transform:uppercase; font-weight:800; opacity:.85; }
.referral h2{ font-family:var(--font-head); font-weight:600; font-size:32px; line-height:1.06; margin-top:10px; letter-spacing:-.01em; color:#fff; }
.referral p{ font-size:15px; line-height:1.55; opacity:.92; margin-top:12px; }
.ref-meta{ display:flex; align-items:center; gap:18px; margin:20px 0 24px; font-size:13.5px; font-weight:700; }
.ref-meta span{ display:inline-flex; align-items:center; gap:7px; opacity:.95; }
.ref-meta .ref-price{ margin-left:auto; font-family:var(--font-head); font-size:24px; font-weight:600; opacity:1; }
@media (max-width:560px){ .ref-meta .ref-price{ margin-left:0; } }

/* ---------- share strip ---------- */
.share{ display:flex; align-items:center; gap:12px; background:var(--teal-soft); border:1px solid #bfe0dd; border-radius:14px; padding:16px 20px; font-size:14.5px; color:var(--teal); line-height:1.5; }
.share svg{ flex:none; }

/* =========================================================
   CHECKOUT / PAYWALL (modal)
   ========================================================= */
.overlay{ position:fixed; inset:0; z-index:100; background:rgba(20,15,8,.45); backdrop-filter:blur(3px); display:grid; place-items:center; padding:24px; overflow-y:auto; }
.modal{ width:100%; max-width:880px; background:var(--paper); border-radius:22px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.4); display:grid; grid-template-columns:1fr 1fr; max-height:92vh; }
.modal .msum{ background:var(--teal); color:#fff; padding:36px 34px; display:flex; flex-direction:column; position:relative; overflow:hidden; }
.modal .msum .rings{ position:absolute; inset:0; opacity:.5; }
.modal .msum .kick{ color:var(--green); position:relative; z-index:2; }
.modal .msum h2{ color:#fff; font-size:28px; margin-top:12px; position:relative; z-index:2; line-height:1.1; }
.modal .msum .md{ font-size:14px; color:#cfe1dc; margin-top:12px; line-height:1.55; position:relative; z-index:2; }
.modal .msum ul{ list-style:none; margin-top:22px; position:relative; z-index:2; display:flex; flex-direction:column; gap:11px; }
.modal .msum ul li{ display:flex; gap:11px; font-size:14px; color:#e7f1ee; }
.modal .msum ul li .c{ color:var(--green); font-weight:800; }
.modal .msum .total{ margin-top:auto; padding-top:24px; display:flex; align-items:baseline; justify-content:space-between; position:relative; z-index:2; }
.modal .msum .total .t1{ font-size:14px; color:#cfe1dc; }
.modal .msum .total .t2{ font-family:var(--font-head); font-size:34px; font-weight:600; }
.modal .msum .total-sub{ text-align:right; font-size:12.5px; color:#aecbc4; margin-top:4px; position:relative; z-index:2; }
.ext-buy{ display:flex; flex-direction:column; margin-top:6px; }
.ext-price{ display:flex; align-items:baseline; gap:12px; padding:18px 0 16px; border-bottom:1px solid var(--line-2); }
.ext-price .ep-amt{ font-family:var(--font-head); font-size:40px; font-weight:600; color:var(--ink); line-height:1; }
.ext-price .ep-note{ font-size:13px; font-weight:600; color:var(--ink-faint); }
.ext-lead{ font-size:14.5px; color:var(--ink-soft); line-height:1.55; margin:18px 0 22px; }
.ext-cta{ width:100%; text-decoration:none; }
.ext-preview{ margin-top:14px; font-size:13.5px; font-weight:800; color:var(--teal); text-decoration:underline; align-self:center; }
.modal .mpay{ padding:34px; overflow:auto; }
.modal .mpay .mh{ display:flex; align-items:center; justify-content:space-between; }
.modal .mpay h3{ font-size:22px; }
.modal .mpay .close{ width:34px; height:34px; border-radius:50%; background:var(--paper-2); display:grid; place-items:center; font-size:18px; color:var(--ink-soft); }
.modal .mpay .close:hover{ background:var(--paper-3); }
.pay-tabs{ display:flex; gap:8px; margin:18px 0; }
.pay-tab{ flex:1; border:1.5px solid var(--line); border-radius:12px; padding:11px; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; gap:8px; background:var(--card); }
.pay-tab.on{ border-color:var(--teal); background:var(--teal-soft); color:var(--teal); }
.modal .mpay .btn{ width:100%; margin-top:8px; }
.modal .secure{ display:flex; align-items:center; justify-content:center; gap:7px; font-size:11.5px; color:var(--ink-faint); margin-top:14px; font-weight:600; }
.pay-success{ text-align:center; padding:50px 40px; }
.pay-success .bigck{ width:74px; height:74px; border-radius:50%; background:var(--green); color:var(--teal); display:grid; place-items:center; font-size:38px; margin:0 auto 18px; }
.pay-success h2{ font-size:28px; }
.pay-success p{ font-size:15px; color:var(--ink-soft); margin-top:10px; }

/* =========================================================
   ZOEKEN (topbar-overlay)
   ========================================================= */
.topbar .searchbtn{ display:flex; align-items:center; gap:7px; color:var(--teal); background:var(--teal-soft); }
.topbar .searchbtn:hover{ background:#c3e0dd; }
.search-modal{ display:flex; flex-direction:column; max-width:560px; align-self:start; margin-top:min(10vh,90px); max-height:76vh; grid-template-columns:1fr; }
.search-field{ display:flex; align-items:center; gap:12px; padding:20px 22px 14px; flex:none; }
.search-field svg{ color:var(--ink-faint); flex:none; }
.search-field input{ flex:1; border:none; outline:none; background:none; font-size:16.5px; color:var(--ink); font-family:inherit; }
.search-field .close{ width:30px; height:30px; border-radius:50%; background:var(--paper-2); display:grid; place-items:center; font-size:15px; color:var(--ink-soft); flex:none; }
.search-field .close:hover{ background:var(--paper-3); }
.search-hint{ padding:0 22px 16px; font-size:12.5px; color:var(--ink-faint); font-weight:600; line-height:1.4; border-bottom:1px solid var(--line-2); flex:none; }
.search-results{ flex:1; min-height:0; overflow-y:auto; padding:8px; }
.search-empty{ padding:26px 20px; text-align:center; color:var(--ink-faint); font-size:14px; font-weight:600; }
.search-intro{ padding:34px 30px 38px; text-align:center; }
.search-intro-ic{ width:52px; height:52px; border-radius:50%; background:var(--teal-soft); color:var(--teal); display:grid; place-items:center; margin:0 auto 16px; }
.search-intro h4{ font-family:var(--font-head); font-weight:600; font-size:19px; color:var(--ink); }
.search-intro p{ font-size:13.5px; color:var(--ink-soft); line-height:1.5; margin-top:8px; max-width:34ch; margin-left:auto; margin-right:auto; }
.search-intro .si-suggest{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:20px; }
.search-intro .si-chip{ background:var(--paper); border:1.5px solid var(--line); border-radius:20px; padding:7px 15px; font-size:13px; font-weight:700; color:var(--teal); transition:border-color .15s, background .15s; }
.search-intro .si-chip:hover{ border-color:var(--teal-2); background:var(--teal-soft); }
.search-hit{ display:block; width:100%; text-align:left; padding:13px 14px; border-radius:12px; cursor:pointer; border:1.5px solid transparent; transition:background .12s, border-color .12s; }
.search-hit:hover{ background:var(--paper); }
.search-hit + .search-hit{ margin-top:2px; }
.search-hit .sh-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.search-hit .sh-course{ font-size:11px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:var(--teal-2); display:flex; align-items:center; gap:5px; }
.search-hit .sh-title{ font-family:var(--font-head); font-weight:600; font-size:16.5px; color:var(--ink); margin-top:3px; }
.search-hit .sh-snip{ font-size:13px; color:var(--ink-soft); line-height:1.45; margin-top:4px; }
.search-hit .sh-snip mark{ background:var(--accent-soft); color:var(--accent-ink); font-weight:700; border-radius:3px; padding:0 2px; }
.search-hit.locked{ background:var(--paper-2); border-color:var(--line-2); }
.search-hit.locked:hover{ background:var(--paper-3); border-color:var(--accent); }
.search-hit.locked .sh-course{ color:var(--ink-faint); }
.search-hit.locked .sh-title{ color:var(--ink-soft); }
.search-hit .sh-cta{ flex:none; display:flex; align-items:center; gap:5px; font-size:11px; font-weight:800; color:var(--accent-ink); background:var(--accent-soft); padding:5px 10px; border-radius:20px; white-space:nowrap; }

/* card field row */
.cardfields{ display:grid; gap:12px; }
.cardfields .two{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }

/* footer */
.footer{ border-top:1px solid var(--line); padding:24px 40px; display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:var(--ink-faint); }
.footer .fl{ display:flex; align-items:center; gap:9px; }
.footer .fl img{ width:18px; opacity:.7; }

/* responsive */
@media (max-width:1080px){
  .dash{ grid-template-columns:1fr; }
  .dash-hero{ position:static; }
  .login{ grid-template-columns:1fr; }
  .login-art{ display:none; }
  .login.ck-hero{ grid-template-columns:1fr; }
  .login.ck-hero .login-art{ display:flex; padding:36px 24px; }
  .modal{ grid-template-columns:1fr; }
  .modal .msum{ display:none; }
  .ckinfo-grid{ grid-template-columns:1fr; gap:36px; }
  .cktestimonials{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .cktestimonials{ grid-template-columns:1fr; }
  .ckbenefits-row{ flex-direction:column; }
  .ckbook-col{ margin-bottom:6px; }
}

/* ============ CURSUS 2 — gedeelde blokken ============ */
/* lesson image */
.lesson-img{ margin:28px 0; }
.lesson-img img{ width:100%; border-radius:16px; border:1px solid var(--line-2); box-shadow:var(--shadow-sm); display:block; background:var(--card); }
.lesson-img figcaption{ font-size:13px; color:var(--ink-faint); font-weight:600; margin-top:10px; text-align:center; font-style:italic; }
.img-ph{ aspect-ratio:16/10; border-radius:16px; border:1.5px dashed var(--line); background:var(--paper-2); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:var(--ink-faint); text-align:center; padding:20px; }
.img-ph-t{ font-size:13px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-faint); }
.img-ph-d{ font-size:13.5px; color:var(--ink-soft); max-width:420px; }

/* definitielijst */
.defs{ margin:22px 0; display:flex; flex-direction:column; gap:1px; background:var(--line-2); border:1px solid var(--line-2); border-radius:14px; overflow:hidden; }
.def{ display:grid; grid-template-columns:minmax(120px,0.9fr) 2fr; gap:16px; background:var(--card); padding:14px 18px; }
.def-t{ font-family:var(--font-head); font-weight:600; color:var(--teal); font-size:16px; }
.def-d{ font-size:14.5px; color:var(--ink-soft); line-height:1.5; }

.chosen-emo{ margin:18px 0; background:var(--teal-soft); border:1.5px solid var(--teal-2); border-radius:14px; padding:16px 20px; }
.chosen-emo-word{ font-family:var(--font-head); font-weight:700; font-size:20px; color:var(--teal); margin-top:4px; }
.chosen-emo-def{ font-size:14.5px; color:var(--ink-soft); line-height:1.5; margin-top:6px; }

/* ============ GEVOELSMETER ============ */
.gm-block{ margin:30px 0; }
.gm-shell{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,260px); gap:20px; align-items:center; margin-top:18px; background:var(--card); border:1px solid var(--line-2); border-radius:18px; padding:20px; box-shadow:var(--shadow-sm); }
.gm-plotwrap{ position:relative; padding:12px; }
.gm-plot{ position:relative; width:100%; aspect-ratio:1; border-radius:10px; overflow:hidden; cursor:crosshair; box-shadow:inset 0 0 0 1px rgba(16,70,74,.12); }
.gm-quad{ position:absolute; width:50%; height:50%; }
.q-rood{ top:0; left:0; background:linear-gradient(to top left, #ef5b50, #fbe2df); }
.q-geel{ top:0; right:0; background:linear-gradient(to top right, #f2c233, #fbf2d4); }
.q-blauw{ bottom:0; left:0; background:linear-gradient(to bottom left, #4aa1de, #dcebf8); }
.q-groen{ bottom:0; right:0; background:linear-gradient(to bottom right, #5cb85c, #dcefda); }
.gm-grid{ position:absolute; inset:0; pointer-events:none;
  background-image:
    repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), rgba(16,70,74,.22) calc(25% - 1px) 25%),
    repeating-linear-gradient(to bottom, transparent 0 calc(25% - 1px), rgba(16,70,74,.22) calc(25% - 1px) 25%);
  background-size:100% 100%; }
.gm-axisline{ position:absolute; background:var(--teal); pointer-events:none; }
.gm-axisline.gm-v{ left:calc(50% - 1px); top:0; width:2px; height:100%; }
.gm-axisline.gm-h{ top:calc(50% - 1px); left:0; height:2px; width:100%; }
.gm-axis{ position:absolute; font-family:var(--font-head); font-style:italic; font-size:13px; color:var(--teal); background:var(--card); padding:2px 8px; border-radius:6px; white-space:nowrap; z-index:3; }
.gm-top{ top:0; left:50%; transform:translate(-50%,-2px); }
.gm-bottom{ bottom:0; left:50%; transform:translate(-50%,2px); }
.gm-left{ top:50%; left:0; transform:translate(-4px,-50%); }
.gm-right{ top:50%; right:0; transform:translate(4px,-50%); }
.gm-tap{ position:absolute; inset:auto 0 10px 0; text-align:center; font-size:12px; font-weight:700; color:rgba(16,70,74,.55); pointer-events:none; }
.gm-marker{ position:absolute; transform:translate(-50%,-50%); pointer-events:none; z-index:4; }
.gm-dot{ display:block; width:20px; height:20px; border-radius:50%; background:#fff; border:4px solid var(--teal); box-shadow:0 3px 10px rgba(0,0,0,.3); }
.gm-side{ align-self:stretch; display:flex; }
.gm-read{ width:100%; }
.gm-badge{ display:inline-flex; align-items:center; gap:8px; font-weight:800; font-size:14px; padding:7px 14px; border-radius:30px; color:#fff; }
.gm-badge-dot{ width:9px; height:9px; border-radius:50%; background:#fff; }
.gm-badge.q-rood{ background:#ef5b50; } .gm-badge.q-geel{ background:#e0aa1e; } .gm-badge.q-blauw{ background:#4aa1de; } .gm-badge.q-groen{ background:#5cb85c; }
.gm-read-desc{ font-size:14.5px; color:var(--ink); margin-top:12px; line-height:1.55; }
.gm-meta{ display:flex; gap:8px; align-items:center; font-size:12px; font-weight:700; color:var(--ink-soft); margin-top:10px; text-transform:lowercase; }
.gm-meta .sep{ color:var(--ink-faint); }
.gm-emolab{ font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-faint); margin:16px 0 8px; }
.gm-emos{ display:flex; flex-wrap:wrap; gap:7px; }
.gm-emo{ font-size:12.5px; font-weight:700; background:var(--paper); border:1px solid var(--line-2); border-radius:20px; padding:6px 12px; }
.gm-clear{ margin-top:16px; font-size:13px; font-weight:800; color:var(--teal); text-decoration:underline; }
@media (max-width:760px){ .gm-shell{ grid-template-columns:1fr; } }
/* binnen een oefeningkaart is de meter anders te klein om nauwkeurig aan te tikken */
@media (max-width:640px){
  .ex .gm-shell{ margin-left:-18px; margin-right:-18px; }
  .ex .gm-plotwrap{ padding:8px; }
}

/* ============ PARAPLU ============ */
.pl-block{ margin:30px 0; }
.pl-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.pl-tab{ position:relative; font-size:13.5px; font-weight:800; color:var(--ink-soft); background:var(--card); border:1.5px solid var(--line); border-radius:24px; padding:8px 16px; }
.pl-tab:hover{ border-color:var(--ink-faint); }
.pl-tab-n{ display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 5px; margin-left:7px; border-radius:10px; background:rgba(255,255,255,.35); font-size:11px; }
.pl-stage{ margin-top:20px; background:var(--card); border:1px solid var(--line-2); border-radius:18px; padding:30px 24px 24px; box-shadow:var(--shadow-sm); text-align:center; }
.pl-umbrella{ display:flex; flex-direction:column; align-items:center; }
.pl-dome{ width:200px; height:100px; border-radius:200px 200px 8px 8px; display:grid; place-items:center; box-shadow:0 12px 26px rgba(40,30,15,.18); position:relative; }
.pl-dome::after{ content:''; position:absolute; inset:0; border-radius:200px 200px 8px 8px; background:repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 33.33px, rgba(0,0,0,.05) 33.33px 66.66px); }
.pl-dome-word{ position:relative; z-index:2; font-family:var(--font-head); font-weight:600; font-size:24px; color:#fff; }
.pl-pole{ width:3px; height:60px; background:var(--ink-faint); }
.pl-hook{ width:22px; height:22px; border:3px solid; border-top:none; border-right:none; border-radius:0 0 0 22px; margin-top:-2px; }
.pl-caption{ font-size:15px; color:var(--ink); margin-top:22px; max-width:46ch; margin-left:auto; margin-right:auto; line-height:1.5; }
.pl-subs{ display:flex; flex-wrap:wrap; gap:9px; justify-content:center; margin-top:18px; }
.pl-sub{ font-size:13px; font-weight:700; background:var(--card); border:1.5px solid; border-radius:22px; padding:7px 14px; opacity:.9; }
.pl-sub.own{ color:#fff !important; }
.pl-sub-x{ font-size:10px; margin-left:3px; opacity:.8; }
.pl-add{ font-size:13px; font-weight:800; background:transparent; border:1.5px dashed; border-radius:22px; padding:7px 14px; display:inline-flex; align-items:center; gap:5px; }
.pl-hint{ font-size:12.5px; color:var(--ink-faint); font-weight:600; margin-top:18px; }

/* ============ MATCH ============ */
.match-block{ margin:30px 0; }
.match-prog{ display:flex; align-items:center; justify-content:space-between; margin-top:12px; font-size:13px; font-weight:700; color:var(--ink-soft); }
.match-reset{ font-size:12.5px; font-weight:800; color:var(--teal); text-decoration:underline; }
.match-cols{ display:grid; grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr); gap:14px; margin-top:12px; }
.match-head{ font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:10px; }
.match-item{ display:flex; align-items:center; gap:9px; width:100%; text-align:left; background:var(--card); border:1.5px solid var(--line); border-radius:12px; padding:12px 14px; margin-bottom:9px; font-size:14px; font-weight:600; color:var(--ink); line-height:1.4; }
.match-item.r{ font-weight:500; color:var(--ink-soft); }
.match-item:hover:not(:disabled){ border-color:var(--teal-2); }
.match-item.sel{ border-color:var(--accent); background:var(--accent-soft); color:var(--accent-ink); box-shadow:0 0 0 3px rgba(255,102,0,.12); }
.match-item.ok{ border-color:var(--teal-2); background:var(--teal-soft); color:var(--teal); cursor:default; }
.match-item.bad{ border-color:#e0594f; background:#fbe6e3; color:#b3261e; animation:matchshake .35s; }
@keyframes matchshake{ 0%,100%{ transform:translateX(0); } 25%{ transform:translateX(-4px); } 75%{ transform:translateX(4px); } }
.match-ck{ width:22px; height:22px; border-radius:50%; background:var(--teal); color:#fff; display:grid; place-items:center; flex:none; }
.match-txt{ flex:1; }
.match-feedback{ margin-top:14px; padding:12px 16px; border-radius:12px; font-size:13.5px; font-weight:700; color:var(--ink-soft); background:var(--paper-2); display:flex; align-items:center; gap:8px; }
.match-feedback.good{ background:var(--teal-soft); color:var(--teal); }
.match-hint{ margin-top:14px; font-size:12.5px; color:var(--ink-faint); font-weight:600; }
.match-lead{ margin:12px 0 4px; font-size:13.5px; font-weight:700; color:var(--teal-2); }
.match-note{ margin-top:12px; font-size:13.5px; color:var(--ink-soft); line-height:1.55; border-left:3px solid var(--teal-soft); padding-left:14px; }
@media (max-width:640px){ .match-cols{ grid-template-columns:1fr; } .def{ grid-template-columns:1fr; gap:4px; } }
