:root{
 --bg:#F1F9F8;--surface:#FFFFFF;--text:#1A1D21;--muted:#4A5260;--line:#D9DCE1;
 --primary:#08707A;--on-primary:#FFFFFF;--primary-soft:#DDF3F3;
 --ok:#1E6B3A;--ok-soft:#E5F3EA;--warn:#8A4B00;--warn-soft:#FFF2DE;--err:#A3271F;--err-soft:#FCE9E7;
 --r:16px;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;
 --sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px);
 --sal:env(safe-area-inset-left,0px);--sar:env(safe-area-inset-right,0px);
 --fs:clamp(17px,4.6vw,19px);
 color-scheme:light dark;
}
@media (prefers-color-scheme:dark){:root{
 --bg:#0E1718;--surface:#1B1E23;--text:#F1F2F4;--muted:#B4BAC4;--line:#343941;
 --primary:#5FD6E0;--on-primary:#062326;--primary-soft:#12302F;
 --ok:#7FD39A;--ok-soft:#16291D;--warn:#F2B866;--warn-soft:#2E2213;--err:#F29A92;--err-soft:#331A18;}}
html.sim-notch{--sat:47px;--sab:34px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);
 font:400 var(--fs)/1.5 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
 -webkit-tap-highlight-color:transparent;overflow-wrap:anywhere}
.screen{display:none;min-height:100dvh;flex-direction:column;
 padding:calc(var(--sat) + var(--s3)) calc(var(--sar) + var(--s5)) calc(var(--sab) + var(--s4)) calc(var(--sal) + var(--s5))}
.screen.active{display:flex}
.top{display:flex;align-items:center;gap:var(--s2);min-height:44px;margin-bottom:var(--s3)}
.top .title{font-weight:600;flex:1;font-size:17px}
.iconbtn{min-width:44px;min-height:44px;border:0;background:transparent;color:var(--text);font-size:22px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.progress{display:flex;gap:6px;flex:1}
.progress i{flex:1;height:6px;border-radius:3px;background:var(--line)}
.progress i.on{background:var(--primary)}
h1{font-size:clamp(26px,7vw,30px);line-height:1.2;margin:var(--s2) 0 var(--s3);letter-spacing:-.01em}
h2{font-size:21px;line-height:1.3;margin:var(--s4) 0 var(--s2)}
p{margin:0 0 var(--s3)}
.muted{color:var(--muted)}
.small{font-size:15px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:var(--s4);margin-bottom:var(--s3)}
.tag{display:inline-block;font-size:15px;font-weight:600;padding:2px 10px;border-radius:999px;background:var(--primary-soft);color:var(--primary)}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;padding:12px 20px;border-radius:14px;border:2px solid transparent;font-family:inherit;font-weight:600;font-size:18px;line-height:1.3;text-decoration:none;cursor:pointer}
.btn.primary{background:var(--primary);color:var(--on-primary)}
.btn.secondary{background:transparent;color:var(--primary);border-color:var(--primary)}
.btn.ghost{background:transparent;color:var(--text);min-height:48px}
.btn:focus-visible,.iconbtn:focus-visible,.opt:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
.btn:active{transform:scale(.98)}
.spacer{flex:1}
.bottom{position:sticky;bottom:0;padding-top:var(--s3);background:linear-gradient(transparent,var(--bg) 12px);display:grid;gap:var(--s2)}
.row{display:flex;gap:var(--s2)}.row>*{flex:1}
.listen{min-height:44px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 16px;font-family:inherit;font-weight:600;font-size:16px;line-height:1.3}
.src{font-size:15px;color:var(--muted);border-top:1px solid var(--line);padding-top:var(--s2);margin-top:var(--s3)}
.src a{color:var(--primary);min-height:44px;display:inline-flex;align-items:center}
.opt{display:block;width:100%;text-align:left;min-height:56px;padding:14px 16px;margin-bottom:var(--s2);border-radius:14px;border:2px solid var(--line);background:var(--surface);color:var(--text);font-family:inherit;font-weight:500;font-size:18px;line-height:1.3}
.opt.right{border-color:var(--ok);background:var(--ok-soft)}
.opt.wrong{border-color:var(--err);background:var(--err-soft)}
.fb{display:none;padding:var(--s3) var(--s4);border-radius:14px;margin-bottom:var(--s3)}
.fb.show{display:block}.fb.ok{background:var(--ok-soft);color:var(--text);border-left:5px solid var(--ok)}.fb.no{background:var(--err-soft);border-left:5px solid var(--err)}
.trust{background:var(--warn-soft);border-left:5px solid var(--warn);border-radius:12px;padding:var(--s3) var(--s4);font-size:16px}
.step{display:flex;gap:var(--s3);align-items:flex-start;margin-bottom:var(--s4)}
.step b.n{flex:0 0 36px;height:36px;border-radius:50%;background:var(--primary);color:var(--on-primary);display:flex;align-items:center;justify-content:center}
.big{font-size:24px;font-weight:700;letter-spacing:.02em}
.streak{display:flex;gap:6px}.streak span{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:15px;background:var(--line)}.streak span.on{background:var(--ok);color:var(--surface)}
.seg{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:var(--s4)}
.seg button{flex:1;min-height:44px;border:0;background:var(--surface);color:var(--text);font-family:inherit;font-weight:600;font-size:16px;line-height:1.3}
.seg button[aria-pressed=true]{background:var(--primary);color:var(--on-primary)}
.ios,.and{display:none}.ios.on,.and.on{display:block}
.tabbar{display:flex;border-top:1px solid var(--line);margin:var(--s4) calc(-1*var(--s5)) 0;padding:0 var(--s2)}
.tabbar a{flex:1;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:15px;color:var(--muted);text-decoration:none}
.tabbar a.on{color:var(--primary);font-weight:600}
.sheet{position:fixed;inset:auto 0 0 0;background:var(--surface);border-radius:20px 20px 0 0;padding:var(--s5) var(--s5) calc(var(--sab) + var(--s4));box-shadow:0 -8px 30px rgba(0,0,0,.2);display:none}
.sheet.show{display:block}
@media (prefers-reduced-motion:no-preference){.screen.active{animation:in .2s ease-out}@keyframes in{from{opacity:0;transform:translateY(6px)}}}
.tag,.listen{align-self:flex-start}
.step{margin-bottom:var(--s2)}.step p{margin:4px 0 0}
.iconbtn{font-size:28px}
.bottom{box-shadow:0 -1px 0 var(--line);background:var(--bg);margin:0 calc(-1*var(--s5));padding:var(--s3) var(--s5) 0}
/* --- live build additions --- */
html.big{--fs:21px}
a{color:var(--primary)}
.cardlink{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;min-height:56px}
.cardlink .grow{flex:1}
.badge{font-size:15px;font-weight:600;color:var(--ok);white-space:nowrap}
.sheet{z-index:10;max-width:640px;margin:0 auto}
.sheet h2{margin-top:0}
.backdrop{position:fixed;inset:0;background:rgba(0,0,0,.4);display:none;z-index:9}
.backdrop.show{display:block}
.price{display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 16px;border:2px solid var(--line);border-radius:14px;background:var(--surface);margin-bottom:var(--s2);cursor:pointer}
.price input{width:24px;height:24px;accent-color:var(--primary);flex:0 0 24px;margin:0}
.price .grow{flex:1}.price .amt{font-weight:700;white-space:nowrap}
.price:has(input:checked){border-color:var(--primary);background:var(--primary-soft)}
.ph{display:inline-block;font-size:15px;font-weight:600;padding:2px 10px;border-radius:999px;background:var(--warn-soft);color:var(--warn);border:1px solid var(--warn)}
.chat{display:flex;flex-direction:column;gap:8px;margin:var(--s3) 0}
.bubble{max-width:88%;padding:10px 14px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.bubble.me{align-self:flex-end;background:var(--primary-soft)}
.bubble .who{display:block;font-size:15px;font-weight:600;color:var(--muted)}
.chatin{display:flex;gap:8px}
.chatin textarea{flex:1;min-height:52px;font:inherit;font-size:max(17px,var(--fs));padding:12px;border-radius:14px;border:2px solid var(--line);background:var(--surface);color:var(--text);resize:vertical}
.chatin .btn{width:auto}
.counter{font-size:15px;color:var(--muted);margin:6px 0 0}
.status{padding:var(--s3) var(--s4);border-radius:12px;background:var(--primary-soft);margin:var(--s2) 0}
.fb:focus{outline:none}
[hidden]{display:none!important}
.trust{margin-bottom:var(--s3)}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.btn:active{transform:none}}
@media (orientation:landscape) and (max-height:500px){.bottom{position:static}}
h1[tabindex="-1"]:focus{outline:none}
/* --- rustige startpagina --- */
.calm h1{font-size:clamp(28px,8vw,34px)}
.topics{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.topic,.hero{display:flex;align-items:center;gap:14px;min-height:76px;padding:16px 18px;border-radius:18px;background:var(--surface);border:2px solid var(--line);color:var(--text);text-decoration:none}
.topic:active,.hero:active{transform:scale(.99)}
.topic:focus-visible,.hero:focus-visible,.link:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
.topic .ti{font-size:26px;width:44px;height:44px;border-radius:12px;background:var(--primary-soft);color:var(--primary);display:flex;align-items:center;justify-content:center;flex:none}
.topic .tl{display:block;font-weight:700;font-size:1.1em;line-height:1.25}
.topic .ts{display:block;color:var(--muted);font-size:.9em;line-height:1.35}
.topic .go,.hero-go{font-size:28px;color:var(--primary);flex:none}
.topic.alt{border-style:dashed}
.grow{flex:1;min-width:0}
.hero{background:var(--primary);border-color:var(--primary);color:var(--on-primary);flex-wrap:wrap;margin:8px 0 16px}
.hero-k{width:100%;font-size:.9em;font-weight:600;opacity:.95}
.hero-t{flex:1;font-weight:700;font-size:1.1em;line-height:1.3}
.hero .hero-go{color:var(--on-primary)}
.foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px;margin-top:20px;color:var(--muted)}
.foot .btn{margin-bottom:8px}
.link{background:none;border:0;padding:12px 6px;min-height:44px;color:var(--primary);text-decoration:underline;font:inherit;cursor:pointer}
.link.small{font-size:16px}
.textsize{min-height:44px;padding:8px 14px;border-radius:12px;border:2px solid var(--primary);background:transparent;color:var(--primary);font:inherit;font-weight:700;font-size:16px;cursor:pointer}
.textsize[aria-pressed="true"]{background:var(--primary);color:var(--on-primary)}
html.big .small,html.big .link.small,html.big .textsize,html.big .tag{font-size:19px}
html.big .top .title{font-size:19px}
.stats-strip{display:flex;flex-wrap:wrap;gap:6px 14px;padding:10px 14px;min-height:48px;align-items:center;border-radius:14px;background:var(--primary-soft);color:var(--text);text-decoration:none;font-weight:600;margin-bottom:8px}
.medal{display:block;font-size:.9em;font-weight:700;color:var(--text);margin-top:2px}
.opt.msg{text-align:left;font-weight:500;border-radius:18px 18px 18px 4px}
.tf .row .btn{min-height:52px}
.tf .btn.right{background:var(--ok-soft);border-color:var(--ok);color:var(--ok)}
.tf .btn.wrong{background:var(--err-soft);border-color:var(--err);color:var(--err)}
.tf.isok{border-color:var(--ok)}.tf.isno{border-color:var(--err)}
.tfb{margin:10px 0 0}.tfb:empty{display:none}
.celebrate{font-size:56px;text-align:center;animation:pop .6s ease-out}
@keyframes pop{0%{transform:scale(.3);opacity:0}70%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.celebrate{animation:none}#toast{transition:none}}
.lvbar{height:12px;border-radius:6px;background:var(--line);overflow:hidden}.lvbar i{display:block;height:100%;background:var(--primary)}
#toast{position:fixed;left:50%;top:calc(var(--sat) + 12px);transform:translate(-50%,-20px);opacity:0;background:var(--text);color:var(--bg);padding:12px 18px;border-radius:999px;font-weight:700;transition:.25s;pointer-events:none;z-index:50;max-width:90vw;text-align:center}
#toast.show{opacity:1;transform:translate(-50%,0)}
.sr-only{position:absolute;left:-9999px}
.top .title.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800}
.top .title.brand img{border-radius:9px;flex:none}
.seg.lang{display:inline-flex;gap:2px;margin:0}
.top .seg.lang button{min-width:44px;min-height:44px;padding:0 6px;font-size:15px}
.nlnote{background:var(--warn-soft);color:var(--text);padding:8px 12px;border-radius:10px}
/* tegels */
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 12px}
.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:116px;padding:14px 8px;border-radius:18px;background:var(--surface);border:2px solid var(--line);color:var(--text);text-decoration:none;text-align:center}
.tile:focus-visible,.lesson:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
.tile:active{transform:scale(.98)}
.tile .ti{font-size:30px;width:52px;height:52px;border-radius:14px;background:var(--primary-soft);color:var(--primary);display:flex;align-items:center;justify-content:center}
.tile .tl{font-weight:800;font-size:1.1em;line-height:1.2}
.tile .medal{margin:0;font-size:.85em}
.lesson{display:flex;align-items:center;gap:12px;min-height:72px;padding:14px 16px;margin-bottom:10px;border-radius:16px;background:var(--surface);border:2px solid var(--line);color:var(--text);text-decoration:none}
.lesson .lnum{width:36px;height:36px;border-radius:50%;background:var(--primary);color:var(--on-primary);font-weight:800;display:flex;align-items:center;justify-content:center;flex:none}
.lesson .lt{display:block;font-weight:700;line-height:1.3}.lesson .ls{display:block;color:var(--muted);font-size:.9em;margin-top:2px}
.lesson .go{font-size:28px;color:var(--primary);flex:none}
.lesson .badge{display:inline;margin:0;padding:0 8px}
.badge.new{background:var(--primary-soft);color:var(--primary)}.badge.busy{background:var(--warn-soft);color:var(--warn)}
.tag-check{background:var(--warn-soft);color:var(--warn)}.tag-bonus{background:var(--ok-soft);color:var(--ok)}
#bonusslot .bonus{margin-top:8px}
.top .title.brand{white-space:nowrap}
.langrow{display:flex;justify-content:flex-end;margin:-4px 0 4px}
.langrow .seg.lang{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.langrow .seg.lang button{min-width:52px;min-height:44px;font-size:16px}
html.big .langrow .seg.lang button{font-size:19px}
.fallback{margin:-4px 0 12px 52px}
.pict{width:40px;height:40px;flex:none;color:var(--primary);fill:currentColor;background:var(--primary-soft);border-radius:10px;padding:4px}
.pict path,.pict rect{fill:none}
.routes{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:600px){.routes{grid-template-columns:1fr 1fr}}
.route{border:2px solid var(--line);border-radius:16px;padding:12px}
.route h2{margin-top:0;font-size:18px}
.step .pict{margin-right:2px}
/* v10: les-gamificatie */
.xprow{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:.9rem;margin:.25rem 0}
.xp{color:#0b6f78}.combo{background:#FFD23F;color:#222;border-radius:99px;padding:.1rem .6rem}
details.explain{border:1px solid rgba(127,127,127,.25);border-radius:14px;padding:.6rem .9rem;margin-bottom:1rem}
details.explain>summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
.blank{display:inline-block;min-width:3.5em;border-bottom:3px dashed currentColor;text-align:center}
.mgrid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.mbtn,.obtn{min-height:48px;border-radius:12px;border:2px solid rgba(127,127,127,.35);background:transparent;color:inherit;font:inherit;padding:.5rem;text-align:left;cursor:pointer}
.mbtn.sel{border-color:#0FA3B1;background:rgba(15,163,177,.12)}.mbtn.right,.obtn.right{border-color:#1a9c5b;opacity:.6}
#ordered{padding-left:1.4rem;margin:.5rem 0}#ordered li{padding:.3rem 0;font-weight:600}
.obtn{display:block;width:100%;margin:.35rem 0}
.pop{animation:pop .35s ease}.shake{animation:shake .4s ease}
@keyframes pop{50%{transform:scale(1.06)}}@keyframes shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.cf{position:fixed;width:8px;height:8px;border-radius:2px;pointer-events:none;z-index:99;animation:cf .9s ease-out forwards}
@keyframes cf{to{transform:translate(var(--dx),var(--dy)) rotate(360deg);opacity:0}}
.levelup{background:linear-gradient(135deg,#FFD23F,#FF7A59);color:#222;border-radius:16px;padding:1rem;text-align:center;font-weight:800;animation:pop .5s ease}
details.srcs{margin-top:1rem;font-size:.85rem}details.srcs summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.widget{border-radius:14px;background:rgba(15,163,177,.08);padding:.8rem;margin:.8rem 0}.widget label{display:block;font-weight:600}.widget input[type=range]{width:100%;min-height:44px}
.widget output{display:block;font-weight:700;margin:.3rem 0}.pigrow{display:flex;align-items:center;gap:.6rem}.pig{font-size:2rem;transition:transform .2s}
.track{flex:1;height:14px;border-radius:99px;background:rgba(127,127,127,.25);overflow:hidden}.fill{height:100%;background:#1a9c5b;transition:width .2s}
.nhgmsg{font-weight:700;margin:.3rem 0 0}.nhgmsg.ok{color:#137a45}.nhgmsg.mid{color:#8a5a00}.nhgmsg.no{color:#b3261e}
.goalbar{display:flex;align-items:center;gap:.8rem;text-decoration:none;color:inherit;border:1px solid rgba(127,127,127,.25);border-radius:16px;padding:.5rem .8rem;margin:.6rem 0}
.ring{width:52px;height:52px;flex:none}.rbg{fill:none;stroke:rgba(127,127,127,.25);stroke-width:6}.rfg{fill:none;stroke:#FF7A59;stroke-width:6;stroke-linecap:round;transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset .6s}
.ring text{font-weight:800;font-size:13px;fill:currentColor}.gtxt{display:flex;flex-direction:column}.gtxt span{font-size:.85rem}
.lesson.rec{border-color:#FF7A59;border-width:2px}.reck{color:#b5451b;font-weight:700}.lvlline{margin:.2rem 0 1rem}.lvlpick.on{border-color:#0FA3B1}
@media (prefers-reduced-motion:reduce){.pop,.shake,.levelup,.cf{animation:none!important}.fill,.pig,.rfg{transition:none}}
@media (prefers-color-scheme:dark){.xp{color:#5fd6e0}}

/* v11 */
body{background:radial-gradient(120% 60% at 100% 0,#E0F4F2 0,transparent 60%),radial-gradient(90% 50% at 0 100%,#FFF4E2 0,transparent 60%),var(--bg);background-attachment:fixed}
@media (prefers-color-scheme:dark){body{background:radial-gradient(120% 60% at 100% 0,#12302F 0,transparent 60%),var(--bg)}}
.topbtns{display:flex;gap:6px;margin-left:auto}
#gear{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;color:var(--text);cursor:pointer}
dialog.sheet{border:0;border-radius:24px 24px 0 0;margin:auto auto 0;width:100%;max-width:520px;padding:24px 24px calc(24px + var(--sab));background:var(--surface);color:var(--text);box-shadow:0 -8px 30px rgba(0,0,0,.2)}
dialog.sheet::backdrop{background:rgba(10,30,32,.45)}
dialog.sheet h2{margin:0 0 8px}dialog.sheet h3{margin:18px 0 8px;font-size:1em}dialog.sheet .btn{width:100%;margin-top:22px}
.segb{min-height:48px;min-width:96px}.segb.big{font-size:1.2em}
h1.display{font-family:ui-rounded,"SF Pro Rounded","Nunito","Quicksand","Arial Rounded MT Bold",system-ui,sans-serif;font-weight:900;font-size:clamp(2rem,8.5vw,2.6rem);line-height:1.08;letter-spacing:-.02em;margin:10px 0 6px}
h1.display .hl{background:linear-gradient(transparent 58%,#9FE6E0 58%,#9FE6E0 92%,transparent 92%);padding:0 .08em;border-radius:4px}
@media (prefers-color-scheme:dark){h1.display .hl{background:linear-gradient(transparent 60%,#0F5D63 60%,#0F5D63 92%,transparent 92%)}}
.subline{color:var(--muted);font-size:1.05em;margin:0 0 12px}
.tile{border-color:transparent}
.tint-geld{background:#FFF3D6}.tint-ai{background:#ECE6FF}.tint-hoofd{background:#FFE5E0}.tint-wonen{background:#DFF5EC}.tint-gezondheid{background:#FFE4EF}.tint-werken{background:#E2EEFF}
.tile[class*=tint-] .ti{background:rgba(255,255,255,.7);color:#1A1D21}
@media (prefers-color-scheme:dark){.tint-geld{background:#3A2F14}.tint-ai{background:#2A2342}.tint-hoofd{background:#3D2320}.tint-wonen{background:#173229}.tint-gezondheid{background:#3A1E2B}.tint-werken{background:#1B2A40}.tile[class*=tint-] .ti{background:rgba(0,0,0,.25);color:#F1F2F4}}
.xprow{min-height:28px;gap:8px}.xpflash{flex:1;text-align:center;font-size:.85rem;color:var(--ok);opacity:0}.xpflash.on{animation:xpf 2.2s ease forwards}
@keyframes xpf{10%,75%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.xpflash.on{animation:none;opacity:1}}
/* ===== v11 design system: typography + hierarchy ===== */
@font-face{font-family:"Nunito";src:url(/fonts/nunito.woff2) format("woff2");font-weight:400 900;font-display:swap}
:root{--font:"Nunito",ui-rounded,system-ui,-apple-system,sans-serif;--sh1:0 1px 2px rgba(8,60,64,.06),0 4px 14px rgba(8,60,64,.07);--sh2:0 2px 4px rgba(8,60,64,.06),0 10px 28px rgba(8,60,64,.10);--line:#D6E6E5}
@media (prefers-color-scheme:dark){:root{--sh1:0 1px 2px rgba(0,0,0,.4),0 4px 14px rgba(0,0,0,.3);--sh2:0 2px 4px rgba(0,0,0,.4),0 10px 28px rgba(0,0,0,.35);--line:#2A3A3B}}
body{font:500 var(--fs)/1.55 var(--font);letter-spacing:.005em;-webkit-font-smoothing:antialiased}
button,input{font-family:var(--font)}
.screen{padding-left:calc(var(--sal) + 20px);padding-right:calc(var(--sar) + 20px);gap:0}
/* type scale: display 36/40, title 28, subtitle 20, body 17-19, caption 14 */
h1{font-family:var(--font);font-weight:850;font-size:clamp(26px,7.2vw,30px);line-height:1.18;letter-spacing:-.015em;margin:8px 0 16px}
h1.display{font-weight:900;font-size:clamp(34px,9.6vw,40px);line-height:1.06;margin:16px 0 8px}
h2{font-weight:800;font-size:20px;line-height:1.3;margin:24px 0 8px}
h3{font-weight:800;font-size:17px;line-height:1.3}
.small,.muted.small{font-size:14px;line-height:1.45}
b,strong{font-weight:800}
.top{min-height:48px;margin-bottom:8px}
.top .title{font-weight:800;font-size:18px}
.brand{display:flex;align-items:center;gap:8px;font-weight:900!important;font-size:22px!important;letter-spacing:-.01em}
.tag{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:4px 12px;margin-bottom:8px}
.card,.stats{border:0;border-radius:20px;box-shadow:var(--sh1);padding:16px 18px}
.btn{border-radius:16px;font-weight:800;font-size:18px;min-height:56px;letter-spacing:.01em}
.btn.primary{box-shadow:0 4px 0 #05555D,var(--sh1)}.btn.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #05555D}
@media (prefers-color-scheme:dark){.btn.primary{box-shadow:0 4px 0 #2B9AA3}}
.btn.secondary{border-width:2px;background:var(--surface)}
.bottom{background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 -1px 0 var(--line);margin:16px -20px 0;padding:12px 20px calc(4px + var(--sab));margin-top:auto}
.progress i{height:10px;border-radius:99px}.progress i.on{background:linear-gradient(90deg,#0FA3B1,#08707A)}
.opt{border:2px solid var(--line);border-bottom-width:4px;border-radius:16px;font-weight:700;box-shadow:none;padding:14px 18px;margin-bottom:10px}
.opt:active{transform:translateY(2px)}
.fb{border-radius:16px;padding:14px 16px;box-shadow:var(--sh1)}
/* lesson text: short styled chunks */
.chunks{display:grid;gap:12px;margin-bottom:16px}
.chunks>p{position:relative;margin:0;background:var(--surface);border-radius:18px;padding:14px 16px 14px 52px;box-shadow:var(--sh1);line-height:1.5}
.chunks>p::before{content:"💡";position:absolute;left:14px;top:13px;width:28px;height:28px;border-radius:10px;background:var(--primary-soft);display:flex;align-items:center;justify-content:center;font-size:16px}
.chunks>p:nth-of-type(2)::before{content:"👉"}.chunks>p:nth-of-type(3)::before{content:"✅"}.chunks>p:nth-of-type(4)::before{content:"⭐"}
.chunks>p:first-child{background:transparent;box-shadow:none;padding:0;font-size:1.08em;font-weight:600}
.chunks>p:first-child::before{display:none}
.chunks b,.chunks strong{background:linear-gradient(transparent 55%,#BDEDEA 55%);padding:0 2px;border-radius:3px}
@media (prefers-color-scheme:dark){.chunks b,.chunks strong{background:linear-gradient(transparent 55%,#0F5D63 55%)}}
.chunks .card{margin:0;background:var(--primary-soft);box-shadow:none}
.chunks .card p{margin:0 0 6px}
.chunks .widget,.chunks ul,.chunks ol{margin:0}
.chunks ul{list-style:none;padding:0;display:grid;gap:8px}.chunks li{background:var(--surface);border-radius:14px;padding:10px 14px;box-shadow:var(--sh1)}
details.explain{background:var(--surface);border:0;box-shadow:var(--sh1);border-radius:18px}
details.explain .chunks>p{box-shadow:none;background:var(--bg)}
/* home */
.tiles{gap:14px;margin:16px 0}
.tile{border-radius:22px;min-height:128px;box-shadow:var(--sh1);border:0}
.tile .ti{width:56px;height:56px;border-radius:18px;font-size:30px}
.tile .tl{font-size:17px;font-weight:850}
.goalbar{background:var(--surface);border:0;box-shadow:var(--sh1);border-radius:20px;padding:12px 16px;margin:16px 0 8px}
.topic,.lesson{background:var(--surface);border:0!important;box-shadow:var(--sh1);border-radius:20px}
.lesson.rec{box-shadow:0 0 0 2px #FF7A59,var(--sh2)}
.lnum{font-weight:900}
.subline{font-size:17px;line-height:1.45;margin:0 0 8px;font-weight:600}
/* settings sheet */
dialog.sheet{border-radius:28px 28px 0 0;padding-top:12px}
dialog.sheet::before{content:"";display:block;width:40px;height:5px;border-radius:9px;background:var(--line);margin:0 auto 16px}
dialog.sheet h2{font-size:24px;font-weight:900}
dialog.sheet h3{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:24px 0 8px}
.seg{border:0;background:var(--bg);border-radius:16px;padding:4px;gap:4px;box-shadow:inset 0 0 0 1px var(--line)}
.seg button{border-radius:12px;font-weight:800;min-height:48px;background:transparent}
.seg button[aria-pressed=true]{box-shadow:var(--sh1)}
.trust{border-left:0;border-radius:18px;box-shadow:var(--sh1)}
.step{background:var(--surface);border-radius:18px;padding:14px;box-shadow:var(--sh1);margin-bottom:12px}
.celebrate{font-size:64px;text-align:center;margin-top:16px}
dialog.sheet[open]{display:block;position:fixed;inset:auto 0 0 0}
.seg button{min-width:64px;white-space:nowrap;padding:0 14px}
/* v12: calm tiles + hero */
.tile[class*=tint-]{background:var(--surface)}
.tile[class*=tint-] .ti{background:var(--primary-soft);color:var(--primary)}
.tile .ti{filter:saturate(.6)}
body{background:radial-gradient(120% 60% at 100% 0,#E8F5F4 0,transparent 60%),var(--bg)}
.homehero{position:relative;overflow:hidden;border-radius:28px;padding:24px 20px 16px;margin:8px 0 8px;background:linear-gradient(150deg,#E3F4F3 0%,#F4FBFA 60%,#FFFFFF 100%);box-shadow:var(--sh2)}
.homehero::after{content:"";position:absolute;right:-40px;top:-40px;width:160px;height:160px;border-radius:50%;background:radial-gradient(circle,rgba(15,163,177,.16),transparent 70%)}
.heromark{position:absolute;right:16px;top:16px;width:56px;height:56px;border-radius:16px;box-shadow:var(--sh1);transform:rotate(6deg)}
.homehero h1.display{margin:0 76px 8px 0;font-size:clamp(30px,8.4vw,36px)}
.homehero .subline{margin:0 0 16px}
.homehero .goalbar{margin:0;background:rgba(255,255,255,.75);box-shadow:none;border:1px solid var(--line)}
@media (prefers-color-scheme:dark){.homehero{background:linear-gradient(150deg,#14393A 0%,#172426 70%)}.homehero .goalbar{background:rgba(0,0,0,.2)}body{background:var(--bg)}}
/* v12: elke lesstap past op één scherm (normale tekst) */
html:not(.big) .screen:has(.progress){padding-top:calc(var(--sat) + 4px);padding-bottom:0}
html:not(.big) .screen:has(.progress) .top{min-height:40px;margin-bottom:0}
html:not(.big) .screen:has(.progress) .xprow{min-height:22px;margin:0 0 4px;font-size:.8rem}
html:not(.big) .screen:has(.progress) h1{font-size:clamp(20px,5.6vw,23px);line-height:1.22;margin:2px 0 8px}
html:not(.big) .screen:has(.progress) .tag{font-size:11px;padding:2px 10px;margin-bottom:4px}
html:not(.big) .screen:has(.progress) .listen{min-height:36px;padding:4px 12px;font-size:14px;margin-bottom:6px}
html:not(.big) .screen:has(.progress) .muted{margin-bottom:6px;font-size:15px}
html:not(.big) .screen:has(.progress) .opt{min-height:44px;padding:9px 14px;margin-bottom:6px;font-size:16px;border-bottom-width:3px}
html:not(.big) .screen:has(.progress) [role=group].chips{display:flex;gap:8px;flex-wrap:wrap}.chips .opt{flex:1;text-align:center}
html:not(.big) .screen:has(.progress) .fb{padding:8px 12px;margin-bottom:6px;font-size:15px;line-height:1.4}
html:not(.big) .screen:has(.progress) .chunks{gap:8px;margin-bottom:8px}
html:not(.big) .screen:has(.progress) .chunks>p{padding:9px 12px 9px 44px;font-size:16px;line-height:1.42}
html:not(.big) .screen:has(.progress) .chunks>p::before{left:10px;top:9px;width:24px;height:24px;font-size:13px}
html:not(.big) .screen:has(.progress) .chunks>p:first-child{padding:0;font-size:16.5px}
html:not(.big) .screen:has(.progress) details.explain{padding:6px 12px;margin-bottom:8px}
html:not(.big) .screen:has(.progress) details.explain>summary{min-height:36px;font-size:15px}
html:not(.big) .screen:has(.progress) details.explain:not([open]){display:inline-block;border-radius:999px;padding:0 14px;background:var(--primary-soft);box-shadow:none}
html:not(.big) .screen:has(.progress) .widget{padding:8px 10px;margin:0}
html:not(.big) .screen:has(.progress) .bottom{margin-top:auto;padding:8px 20px calc(8px + var(--sab))}
html:not(.big) .screen:has(.progress) .btn{min-height:50px}
html:not(.big) .screen:has(.progress) #bonusslot .btn{min-height:44px;margin-bottom:6px}
/* waar/niet waar als compacte rijen met pill-toggles */
html:not(.big) .tf{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px;padding:8px 10px 8px 14px;margin-bottom:6px;border-radius:16px}
html:not(.big) .tf>p:first-child{margin:0;font-size:15px;line-height:1.35}
html:not(.big) .tf>p:first-child b{font-weight:700}
html:not(.big) .tf .row{gap:4px;flex-wrap:nowrap}
html:not(.big) .tf .row .btn{min-height:40px;width:auto;padding:4px 11px;font-size:14px;border-radius:999px;border-width:2px;flex:none}
html:not(.big) .tf .tfb{grid-column:1/-1;margin:2px 0 0;font-size:14px;line-height:1.35}
.screen{min-height:100dvh}main{margin:0;padding:0}
html:not(.big) .screen.tight h1{font-size:19px;margin-bottom:6px}
html:not(.big) .screen.tight .chunks>p,html:not(.big) .screen.tight .tf>p:first-child,html:not(.big) .screen.tight .opt{font-size:15px}
html:not(.big) .screen.tight .chunks>p{padding-top:7px;padding-bottom:7px}
html:not(.big) .screen.tight .widget .muted{display:none}
[hidden]{display:none!important}
html:not(.big) .screen:has(.progress) .step{padding:8px 12px;margin-bottom:6px;gap:10px;align-items:center}
html:not(.big) .screen:has(.progress) .step b.n{flex-basis:28px;height:28px;font-size:14px}
html:not(.big) .screen:has(.progress) .step p{margin:0;font-size:15px;line-height:1.38}
html:not(.big) .screen:has(.progress) .card{padding:10px 14px;margin-bottom:6px}
html:not(.big) .screen:has(.progress) .big{font-size:20px}
html:not(.big) .screen:has(.progress) .row .btn{min-height:44px}
html:not(.big) .screen.tight .tf{padding:6px 8px 6px 12px;margin-bottom:4px}
html:not(.big) .screen.tight .tf .row .btn{min-height:36px;padding:2px 9px;font-size:13.5px}
html:not(.big) .screen.tight .tfb{font-size:13.5px}
html:not(.big) .screen.tight .xprow{display:none}
/* v13: nieuw lesformat + prompt-oefening */
.bottom .fb{margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;box-shadow:none;font-size:15px;line-height:1.4}
.bottom .fb:not(.show){display:none}
.ahacard{background:linear-gradient(135deg,#E3F4F3,#FFFFFF);border-radius:20px;padding:14px 16px;box-shadow:var(--sh1);margin:8px 0;border-left:5px solid #0FA3B1}
@media (prefers-color-scheme:dark){.ahacard{background:#14393A}}
.say{border:0;background:var(--primary-soft);border-radius:999px;min-width:44px;min-height:44px;font-size:18px;cursor:pointer}
.chat{display:grid;gap:8px;margin:4px 0 12px}.bub{border-radius:18px;padding:10px 14px;max-width:88%;margin:0;line-height:1.4;font-size:16px;white-space:pre-line}
.bub.me{justify-self:end;background:var(--primary);color:var(--on-primary);border-bottom-right-radius:6px}
.bub.bot{background:var(--surface);box-shadow:var(--sh1);border-bottom-left-radius:6px}
.typing::after{content:"▍";animation:blink 1s steps(2) infinite}@keyframes blink{50%{opacity:0}}
.badges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.bdg{border-radius:999px;padding:5px 11px;font-weight:800;font-size:13.5px;background:var(--surface);color:var(--muted);box-shadow:inset 0 0 0 2px var(--line);cursor:default;min-height:32px;display:inline-flex;align-items:center}
.bdg.on{background:var(--primary);color:var(--on-primary);box-shadow:none}
.swipe{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -20px;padding:4px 20px 8px;scrollbar-width:none}
.swipe::-webkit-scrollbar{display:none}
.scard{flex:0 0 100%;scroll-snap-align:center;background:var(--surface);border-radius:20px;box-shadow:var(--sh1);padding:14px 16px}
.schead{display:flex;justify-content:space-between;align-items:center;font-size:18px}.scard .ex{font-weight:700;margin:0}
.center{text-align:center}
#labta{width:100%;border-radius:16px;border:2px solid var(--line);padding:10px 12px;font:600 16px/1.4 var(--font);background:var(--surface);color:var(--text);resize:none}
#labta:focus{outline:3px solid var(--primary);outline-offset:1px}
.cmp{display:grid;gap:8px}.cbox .bub{max-width:100%;font-size:15px}.cbox.after .bub{box-shadow:0 0 0 2px #0FA3B1,var(--sh1)}
@media (prefers-reduced-motion:reduce){.typing::after{animation:none}}
/* ===== v13 design pass: één kleur (teal) + neutraal, 2 radii (12/20), lijn-iconen ===== */
:root{--r1:12px;--r2:20px;--teal:#08707A;--teal-soft:#E4F2F2;--accent:#0FA3B1}
@media (prefers-color-scheme:dark){:root{--teal:#5FD6E0;--teal-soft:#16302F}}
body{background:var(--bg)!important}
:root{--bg:#F6F8F8}@media (prefers-color-scheme:dark){:root{--bg:#0F1415}}
.ico{display:block;flex:none}
.card,.stats,.tile,.topic,.lesson,.goalbar,.homehero,.pcard,.pmini,.plist,.scard,.ahacard,details.explain,.widget,.chunks>p,.step,.fb,dialog.sheet,.trust,.levelup{border-radius:var(--r2)!important}
.btn,.opt,.mbtn,.obtn,.tag,.chip,.bdg,.seg,.seg button,.listen,.say,#labta,.bub,.tile .ti,.ti,.pico,.hico,.combo,details.explain:not([open]){border-radius:var(--r1)!important}
dialog.sheet{border-radius:var(--r2) var(--r2) 0 0!important}
/* tegels: rustig, wit, teal iconen */
.tile,.tile[class*=tint-]{background:var(--surface)!important;box-shadow:0 1px 2px rgba(16,40,42,.05),0 6px 18px rgba(16,40,42,.06);min-height:112px;gap:10px}
.tile .ti,.tile[class*=tint-] .ti,.topic .ti{width:44px;height:44px;background:var(--teal-soft)!important;color:var(--teal)!important;filter:none!important;display:flex;align-items:center;justify-content:center;font-size:22px}
.tile .tl{font-size:16px;font-weight:800}
.topic .ti{flex:none}
/* hero: sober */
.homehero{background:var(--surface)!important;box-shadow:0 1px 2px rgba(16,40,42,.05),0 10px 28px rgba(16,40,42,.08)}
.homehero::after{background:radial-gradient(circle,rgba(15,163,177,.10),transparent 70%)}
.homehero .goalbar{background:var(--bg)!important;border:0!important}
h1.display .hl{background:linear-gradient(transparent 62%,var(--teal-soft) 62%,var(--teal-soft) 94%,transparent 94%)!important}
.gstats{display:inline-flex;align-items:center;gap:4px;color:var(--muted)}.gstats i{width:3px;height:3px;border-radius:50%;background:var(--line);margin:0 6px}.gstats .ico{color:var(--teal)}
.rfg{stroke:var(--teal)!important}
/* accenten weg */
.combo{background:var(--teal-soft)!important;color:var(--teal)!important;font-weight:800;padding:2px 10px}
.levelup{background:var(--teal)!important;color:var(--on-primary)!important}
.lesson.rec{box-shadow:0 0 0 2px var(--teal),0 6px 18px rgba(16,40,42,.08)!important}.reck{color:var(--teal)!important}
.ahacard{background:var(--surface)!important;border-left:4px solid var(--teal)!important}
.celebrate{width:72px;height:72px;margin:24px auto 8px;border-radius:50%;background:var(--teal-soft);color:var(--teal);display:flex;align-items:center;justify-content:center}
.cf{background:var(--accent)!important}
.badge.new,.badge.busy,.badge{color:var(--teal)}
/* koppen met icoon */
h1.withico{display:flex;align-items:center;gap:12px}.hico{width:44px;height:44px;background:var(--teal-soft);color:var(--teal);display:flex;align-items:center;justify-content:center}
/* tekstblokken: kort en gecomponeerd */
.chunks>p::before{content:""!important;background:var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308707A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat!important;border-radius:8px!important}
.chunks>p:first-child{font-size:1.05em;color:var(--text)}
.chunks b,.chunks strong{background:var(--teal-soft)!important;color:var(--teal);padding:0 4px;border-radius:6px}
@media (prefers-color-scheme:dark){.chunks b,.chunks strong{color:#BFF3F5}}
.chunks .card{background:var(--teal-soft)!important}
.listen{gap:6px;color:var(--teal);font-weight:700;border-color:transparent;background:var(--teal-soft)}
.tag{background:var(--teal-soft);color:var(--teal)}
/* voortgang */
.pcard{background:var(--surface);box-shadow:0 1px 2px rgba(16,40,42,.05),0 10px 28px rgba(16,40,42,.08);padding:20px;margin-bottom:12px}
.pbig{display:flex;align-items:center;gap:12px;margin-bottom:12px}.pbig b{font-size:36px;font-weight:900;line-height:1;display:block}.pbig small{color:var(--muted);font-weight:700}
.pico{width:40px;height:40px;background:var(--teal-soft);color:var(--teal);display:flex;align-items:center;justify-content:center;flex:none}
.plv{display:flex;justify-content:space-between;font-weight:800;margin-bottom:8px;font-size:15px}
.lvbar{height:10px;border-radius:99px;background:var(--teal-soft);overflow:hidden}.lvbar i{display:block;height:100%;background:var(--teal);border-radius:99px}
.pgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:8px}
.pmini{background:var(--surface);box-shadow:0 1px 2px rgba(16,40,42,.05),0 6px 18px rgba(16,40,42,.06);padding:16px;display:grid;gap:4px}.pmini b{font-size:26px;font-weight:900;line-height:1.1}.pmini small{color:var(--muted);font-weight:700;font-size:13px}
.plist{background:var(--surface);box-shadow:0 1px 2px rgba(16,40,42,.05),0 6px 18px rgba(16,40,42,.06);overflow:hidden}
.prow{display:flex;align-items:center;gap:12px;padding:10px 14px;min-height:56px;color:var(--text);text-decoration:none;font-weight:800}.prow+.prow{border-top:1px solid var(--line)}
.chip{font-size:12.5px;font-weight:800;padding:4px 10px;background:var(--bg);color:var(--muted)}.chip.on{background:var(--teal-soft);color:var(--teal)}
.say{background:var(--teal-soft);color:var(--teal);display:inline-flex;align-items:center;justify-content:center}
.storyc>p:not(:first-child){background:var(--surface);padding:10px 14px!important;max-width:88%;border-bottom-left-radius:6px!important}
.storyc>p:not(:first-child)::before{display:none!important}
.storyc>p:nth-child(odd):not(:first-child){justify-self:end;background:var(--teal-soft);border-bottom-left-radius:var(--r2)!important;border-bottom-right-radius:6px!important}
/* v14: vaardigheidslessen */
.bub.sys{justify-self:center;background:transparent;box-shadow:none;color:var(--muted);font-size:14px;font-style:italic;text-align:center;max-width:100%}
.skill .chat .bub{opacity:1}
@media (prefers-reduced-motion:reduce){.skill .chat .bub{animation:none;opacity:1}}
.tips{display:grid;gap:10px}.tipc{display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:var(--r2);padding:12px 14px;box-shadow:0 1px 2px rgba(16,40,42,.05),0 6px 18px rgba(16,40,42,.06)}
.slots{display:grid;gap:10px}.slot{display:grid;gap:6px}.slot .opt{margin:0}
.preview{justify-self:end;margin-top:10px;max-width:100%}.preview small{display:block;opacity:.8;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.deck{position:relative;min-height:150px;display:grid}.swc{grid-area:1/1;transition:transform .45s ease,opacity .45s ease}.swc .swt{font-size:18px;font-weight:700;line-height:1.35;margin:8px 0 0}
.swc.gone-r{transform:translateX(120%) rotate(8deg);opacity:0}.swc.gone-l{transform:translateX(-120%) rotate(-8deg);opacity:0}
.swbtns{display:grid;gap:8px;margin-top:12px}.swbtns.c2{grid-template-columns:1fr 1fr}.swbtns.c3{grid-template-columns:1fr 1fr 1fr}.swbtns .btn{min-height:48px;font-size:15px;padding:8px}
.timer{position:relative;height:28px;border-radius:var(--r1);background:var(--teal-soft);overflow:hidden;margin-bottom:10px}.timer i{position:absolute;inset:0;width:100%;background:var(--teal);opacity:.25}.timer span{position:relative;display:block;text-align:center;font-weight:800;line-height:28px;font-size:14px;color:var(--teal)}.timer.over{background:var(--err-soft)}
.phr{font-size:19px;line-height:2;font-weight:600}.ph{font:inherit;border:0;background:var(--teal-soft);color:var(--text);border-radius:8px;padding:2px 6px;margin:0 1px;cursor:pointer;min-height:40px}
.ph.hit{background:var(--err-soft);color:var(--err);text-decoration:line-through}
.sl output{font-size:30px;font-weight:900;display:block;text-align:center}.slx{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
.simchart .bars{display:flex;align-items:flex-end;gap:6px;height:110px;margin-top:10px;background:var(--surface);border-radius:var(--r2);padding:10px;box-shadow:0 1px 2px rgba(16,40,42,.05)}
.barc{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}.barc span{width:100%;background:var(--teal);border-radius:6px 6px 0 0;transition:height .5s}.barc small{font-size:10px;color:var(--muted);margin-top:3px}
.ladder{display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:var(--r2);padding:12px 14px;margin:4px 0 8px;box-shadow:0 1px 2px rgba(16,40,42,.05),0 6px 18px rgba(16,40,42,.06)}
.lsteps{display:flex;gap:4px;align-items:flex-end}.lsteps i{width:10px;border-radius:3px;background:var(--teal-soft)}.lsteps i:nth-child(1){height:8px}.lsteps i:nth-child(2){height:12px}.lsteps i:nth-child(3){height:16px}.lsteps i:nth-child(4){height:20px}.lsteps i:nth-child(5){height:24px}.lsteps i.on{background:var(--teal)}
.daily{display:flex;align-items:center;gap:12px;background:var(--teal);color:var(--on-primary);border-radius:var(--r2);padding:14px 16px;margin:12px 0 4px;text-decoration:none;box-shadow:0 6px 18px rgba(8,112,122,.25)}
.daily .pico{background:rgba(255,255,255,.18);color:inherit}.daily .dk{display:block;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;opacity:.9}.daily .dt{display:block;font-weight:900;font-size:17px;line-height:1.25}.daily .ds{display:block;font-size:13px;opacity:.9}.daily .go{color:inherit;font-size:26px}
.tile .medal{font-size:12.5px;font-weight:800;color:var(--muted)}
details.ask{background:var(--surface);border-radius:var(--r2);padding:4px 14px;margin:12px 0;box-shadow:0 1px 2px rgba(16,40,42,.05),0 6px 18px rgba(16,40,42,.06)}details.ask summary{min-height:48px;display:flex;align-items:center;font-weight:800;cursor:pointer}
.faq{border-top:1px solid var(--line);padding:10px 0}.faq p{margin:4px 0 0;font-size:15px}.faq .row .btn{min-height:44px;font-size:15px}
.radarsvg{width:100%;height:auto}.rg{fill:none;stroke:var(--line);stroke-width:1}.rv{fill:rgba(15,163,177,.22);stroke:var(--teal);stroke-width:2.5;stroke-linejoin:round}.rl{font:800 12px var(--font);fill:var(--muted)}
textarea.code{width:100%;font:600 13px/1.3 ui-monospace,monospace;border-radius:var(--r1);border:2px solid var(--line);padding:8px;background:var(--surface);color:var(--text);margin:6px 0}
.timer i{opacity:.14}.timer span{color:var(--text)}
@keyframes bubin{from{transform:translateY(8px)}to{transform:none}}.skill .chat .bub{opacity:1}
@keyframes xpf{0%,80%{visibility:visible}100%{visibility:hidden}}.xpflash{opacity:1;visibility:hidden}.xpflash.on{animation:xpf 2.2s steps(1) forwards}
/* medailles: enige uitzondering op het rustige palet */
.medalb{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:4px;padding:3px 9px 3px 6px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.02em;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 1px 3px rgba(0,0,0,.15)}
.medalb::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg)}
.medalb.fresh{animation:medpop .6s cubic-bezier(.3,1.6,.5,1)}.medalb.fresh::after{animation:shine 1.2s .3s ease}
@keyframes medpop{0%{transform:scale(.4)}100%{transform:scale(1)}}@keyframes shine{to{left:130%}}
@media (prefers-reduced-motion:reduce){.medalb.fresh,.medalb.fresh::after{animation:none}}
.m-brons{background:linear-gradient(135deg,#F3D2B3,#C98A55);color:#4A2A10}.m-brons .s1{stop-color:#F6D7BA}.m-brons .s2{stop-color:#B87333}
.m-zilver{background:linear-gradient(135deg,#F4F6F8,#B9C1C9);color:#2E3740}.m-zilver .s1{stop-color:#FFFFFF}.m-zilver .s2{stop-color:#9BA6B1}
.m-goud,.m-pro{background:linear-gradient(135deg,#FFF0B8,#E0B23C);color:#4A3500}.m-goud .s1,.m-pro .s1{stop-color:#FFF4C4}.m-goud .s2,.m-pro .s2{stop-color:#D4A017}
.tile .medalb{margin-top:2px}.prow .medalb{margin-right:6px}
/* voortgangsbalk op tegels */
.pbar{display:block;width:78%;height:6px;border-radius:99px;background:#E6EBEC;overflow:hidden;margin-top:2px}
.pbar i{display:block;height:100%;width:var(--w);min-width:0;border-radius:99px;background:var(--teal);animation:pfill .9s cubic-bezier(.3,.8,.3,1)}
@keyframes pfill{from{width:0}}
@media (prefers-reduced-motion:reduce){.pbar i{animation:none}}
@media (prefers-color-scheme:dark){.pbar{background:#26302F}}
.pcap{font-size:12.5px;font-weight:800;color:var(--muted)}
.tdots{display:flex;gap:4px;justify-content:center}.tdots i{width:16px;height:16px;border-radius:50%;background:var(--teal);color:#fff;display:flex;align-items:center;justify-content:center}
.unlock{display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:var(--r2);padding:14px 16px;margin:12px 0 4px;text-decoration:none;color:var(--text);box-shadow:0 0 0 2px var(--teal),0 6px 18px rgba(16,40,42,.08)}
.unlock .dk{display:block;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--teal)}.unlock .dt{display:block;font-weight:900;font-size:17px}.unlock .ds{display:block;font-size:13px;color:var(--muted)}.unlock .go{color:var(--teal);font-size:26px}
/* v14 home-banner */
.screen.home{padding-top:0}
.homebar{position:relative;display:flex;align-items:center;min-height:calc(64px + var(--sat));box-sizing:border-box;padding:calc(var(--sat) + 10px) calc(var(--sar) + 20px) 30px calc(var(--sal) + 20px);margin:0 calc(-1 * (var(--sar) + var(--s5))) 0 calc(-1 * (var(--sal) + var(--s5)));background:linear-gradient(135deg,#0A7F8A,#08707A 55%,#065E66);border-radius:0 0 24px 24px;overflow:hidden;color:#fff}
.homebar .wordmark{height:28px;width:auto;position:relative}
html.big .homebar .wordmark{height:32px}
.homebar .topbtns{position:relative}
.homebar .iconbtn{color:#fff;width:44px;height:44px;border-radius:12px}
.homebar .iconbtn svg{width:24px;height:24px}
.homebar .iconbtn:hover{background:rgba(255,255,255,.14)}
.homebar .iconbtn:focus-visible{outline:3px solid #FFD23F;outline-offset:0}
.hdots i{position:absolute;border-radius:50%;background:#FFD23F;opacity:.18}
.hdots i:nth-child(1){width:10px;height:10px;right:34%;top:calc(var(--sat) + 14px)}
.hdots i:nth-child(2){width:6px;height:6px;right:44%;bottom:20px}
.hdots i:nth-child(3){width:14px;height:14px;left:42%;top:-4px}
.screen.home .homehero{margin-top:-20px;position:relative;z-index:1}
.homehero h1.display{margin-right:0}
@media (prefers-color-scheme:dark){.homebar{background:linear-gradient(135deg,#0B3F44,#0E4A50)}}
.homebar{width:100vw;margin-left:calc(50% - 50vw);margin-right:0}
.homebar .iconbtn,.homebar #gear{color:#fff!important}.homebar .iconbtn svg{stroke:#fff}
.ladder .lname{display:block;color:var(--muted);font-size:.9em;font-weight:600}
/* v15: banner gebruikt het app-logo (icons/logo.svg) */
.homebar .wordmark.applogo{height:44px;width:44px;border-radius:12px;box-shadow:0 0 0 2px rgba(255,255,255,.35),0 4px 12px rgba(0,0,0,.18)}
html.big .homebar .wordmark.applogo{height:48px;width:48px}
/* account / sync */
.acct{display:flex;flex-direction:column;gap:10px;margin:0 0 8px}
.acct input{min-height:48px;border:1.5px solid var(--line);border-radius:12px;padding:0 14px;font:inherit;background:var(--surface);color:var(--text)}
.acct input:focus-visible{outline:3px solid var(--primary);outline-offset:1px}
.acct p{margin:0}.acctmsg:empty{display:none}.acctmsg{font-size:14px;color:var(--text)}
.nudge{display:flex;flex-direction:column;gap:10px;padding:16px 18px;margin:12px 0;border-radius:20px;background:var(--surface);box-shadow:var(--sh1)}
.nudge p{margin:0}.nudgebtns{display:flex;gap:8px}.nudgebtns .btn{flex:1;min-height:44px}
/* v16 klaar-scherm: twee knoppen naast elkaar, compact zodat niets scrolt */
.donescr .bottom:has(#nextles){grid-template-columns:1fr 1fr}
.donescr .bottom:has(#nextles) #nextles{order:2}
.donescr .celebrate{width:56px;height:56px;margin:4px auto 6px}.donescr .celebrate svg{width:30px;height:30px}
.donescr h1{margin:0 0 2px}.donescr>p{margin:0 0 10px}
.donescr .ahacard,.donescr .stats,.donescr .ladder,.donescr .status{margin:0 0 10px}
@media (max-height:760px){.donescr .ladder{display:none}.donescr .ahacard{padding:12px 14px}}
@media (max-height:680px){.donescr .stats .small{display:none}}
#settings .acct{gap:8px}#settings .acct input{min-height:46px}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){#settings h3{margin-top:14px}#settings h2{margin-bottom:8px}}
.tgl{display:flex;align-items:center;gap:12px;min-height:48px;cursor:pointer}
.tgl>span{flex:1}.tgl input{position:absolute;opacity:0;width:52px;height:32px;margin:0}
.tgl i{flex:none;position:relative;width:52px;height:32px;border-radius:999px;background:var(--line);transition:background .2s}
.tgl i::after{content:"";position:absolute;left:3px;top:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
.tgl input:checked+i{background:var(--primary)}.tgl input:checked+i::after{transform:translateX(20px)}
.tgl input:focus-visible+i{outline:3px solid var(--primary);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.tgl i,.tgl i::after{transition:none}}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){#settings .tgl .muted,#settings .tgl br,#settings form.acct>p.muted{display:none}#settings h3{margin:10px 0 6px}#settings .seg button,#settings .segb{min-height:44px}#settings .btn{min-height:46px}}
.daily.mixcard{background:var(--surface);color:var(--text);box-shadow:var(--sh1)}
.daily.mixcard .pico{background:var(--primary-soft);color:var(--primary)}.daily.mixcard .dk{color:var(--primary)}
.mixscene{margin:4px 0 8px;padding:12px 14px;border-radius:12px;background:var(--surface);box-shadow:var(--sh1)}
.coderow{display:flex;gap:8px}.coderow input{flex:1;min-width:0;font-size:20px;letter-spacing:4px;text-align:center}.coderow .btn{flex:none;padding:0 18px}
/* v20 code-invoer */
#settings .codef{gap:10px}
.codein{width:100%;box-sizing:border-box;min-height:60px!important;border:2px solid var(--line)!important;border-radius:12px!important;background:var(--surface);color:var(--text);font-family:inherit;font-size:30px!important;font-weight:800;letter-spacing:.5em;text-indent:.5em;text-align:center;font-variant-numeric:tabular-nums;padding:0!important}
.codein::placeholder{color:var(--line);letter-spacing:.5em}
.codein:focus{outline:none;border-color:var(--primary)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 18%,transparent)}
.codelinks{display:flex;justify-content:space-between;gap:8px}
.codelinks .link{background:none;border:0;padding:10px 0;min-height:44px;font:inherit;font-size:15px;font-weight:700;color:var(--primary);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.codelinks .link:focus-visible{outline:3px solid var(--primary);outline-offset:2px;border-radius:6px}
#settings.codemode>*:not(.sethead):not(.acchd):not(#acctbox):not(#setclose){display:none}
.chcap{font-size:.85rem;color:var(--muted);margin:0 0 8px;display:flex;gap:6px;align-items:flex-start;line-height:1.35}.chcap .ico{flex:none;margin-top:2px}
.chcap.hi{color:var(--primary);font-weight:700}
.chrow{display:flex;gap:8px;margin:8px 0 12px}.chrow>*{flex:1}.chrow input{min-height:48px;border:2px solid var(--line);border-radius:12px;padding:0 12px;font:inherit;min-width:0}
.chrow input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}
.chcmp{text-align:center;margin:0 0 10px}.fzb{display:inline-flex;gap:3px;align-items:center}
.sethead{display:flex;justify-content:space-between;align-items:center;gap:8px}.sethead h2{margin-bottom:0}
.linkb.chset{display:inline-flex;gap:5px;align-items:center;background:none;border:0;color:var(--primary);font:inherit;font-size:.9rem;font-weight:700;padding:8px 0;cursor:pointer;white-space:nowrap}
.chs .tag{display:inline-block}.chs h1{font-size:1.3rem;line-height:1.25}.chs .mixscene{font-size:.95rem;padding:10px 14px;margin-bottom:10px}.chs .opt{padding:10px 16px;min-height:48px}.chs .sgroup{gap:8px}
.bottom:has(.chcap){flex-wrap:wrap}.bottom .chcap{flex:0 0 100%}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){.donescr .celebrate{display:none}}
/* chatgesprek (v21) */
.chat.two{display:block;background:#EEF3F3;border:1px solid var(--line);border-radius:18px;overflow:hidden;margin:4px 0 10px}
.chead{display:flex;gap:10px;align-items:center;padding:8px 12px;background:var(--surface);border-bottom:1px solid var(--line)}
.cav{width:32px;height:32px;border-radius:50%;background:#C9D3D6;color:#2B3A40;display:grid;place-items:center;font-size:15px;flex:none}.cav.ai{background:var(--primary-soft);color:var(--primary)}
.cnm{display:flex;flex-direction:column;line-height:1.15}.cnm b{font-size:15px}.cnm span{font-size:12px;color:var(--muted)}
.cbody{display:flex;flex-direction:column;gap:5px;padding:10px 10px 12px}
.chat:not(.two) .cbody{padding:0;gap:8px}
.chat .bub{position:relative;border-radius:16px;padding:7px 11px 6px;max-width:84%;font-size:15px;line-height:1.35;box-shadow:none}
.chat .bub.bot{align-self:flex-start;background:#fff;color:var(--text);border:1px solid #DCE3E5}
.chat .bub.me{align-self:flex-end;background:var(--primary);color:#fff}
.chat .bub.tl.bot{border-bottom-left-radius:4px}.chat .bub.tl.me{border-bottom-right-radius:4px}
.chat .bub.tl.bot::before{content:"";position:absolute;left:-6px;bottom:-1px;width:10px;height:12px;background:#fff;border-left:1px solid #DCE3E5;border-bottom:1px solid #DCE3E5;border-bottom-left-radius:12px 10px;clip-path:polygon(0 100%,100% 0,100% 100%)}
.chat .bub.tl.me::after{content:"";position:absolute;right:-6px;bottom:0;width:10px;height:12px;background:var(--primary);clip-path:polygon(0 0,100% 100%,0 100%)}
.cwho{display:block;font-size:12px;font-weight:800;color:var(--primary);margin-bottom:1px}.bub.me .cwho{color:#D6F0F0}
.ct{display:block;text-align:right;font-size:11px;opacity:.7;margin-top:1px}
.cnote{align-self:center;max-width:92%;margin:4px 0;font-size:13.5px;color:var(--muted);background:rgba(255,255,255,.75);border-radius:10px;padding:4px 10px;text-align:center}
.chat:not(.two) .cnote{align-self:stretch;font-size:15px;text-align:left;background:var(--surface);padding:10px 14px;border-radius:14px}
.lnk{display:flex;gap:8px;background:#F3F6F6;border-radius:10px;overflow:hidden;margin:2px 0;border:1px solid #E1E7E8}
.lthumb{flex:none;width:58px;display:grid;place-items:center;background:#D5DEE0;color:#6B7A80}
.ltx{display:flex;flex-direction:column;padding:6px 8px 6px 0;gap:1px}.lsite{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.ltx b{font-size:14px;line-height:1.25}.ldesc{font-size:12.5px;color:var(--muted);line-height:1.3}
.skill .chat .bub,.skill .chat .cnote{opacity:1;animation:chatin .35s ease both}
@keyframes chatin{from{transform:translateY(6px)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.skill .chat .bub,.skill .chat .cnote{animation:none}}
/* tik-aan: alle woorden zien er vooraf gelijk uit */
.phr .ph{background:none;color:inherit;font:inherit;padding:0 1px;margin:0;border-radius:4px;min-height:0;line-height:inherit;text-decoration:underline dotted;text-decoration-color:#9AA6AB;text-underline-offset:5px;text-decoration-thickness:1.5px}
.phr .ph:focus-visible{outline:2px solid var(--primary);outline-offset:1px}
.phr .ph.hit{background:var(--err-soft);color:var(--err);text-decoration:line-through}
.phr .ph.wrong,.phr .ph.shake{background:var(--line)}
.ver{margin:6px 0 0;text-align:center;font-size:12px;color:var(--muted)}
@media (prefers-color-scheme:dark){
.chat.two{background:#152022;border-color:#2A3A3D}.chead{background:#1C2A2D;border-color:#2A3A3D}
.cav{background:#34474B;color:#E6EEEF}.chat .bub.bot{background:#26353A;color:#E9F0F1;border-color:#33464B}
.chat .bub.tl.bot::before{background:#26353A;border-color:#33464B}.cnote{background:rgba(255,255,255,.07);color:#B9C6C9}
.chat:not(.two) .cnote{background:var(--surface)}.lnk{background:#1D2B2F;border-color:#33464B}.lthumb{background:#34474B;color:#A9B8BC}
.cwho{color:#7FD3DA}.phr .ph{text-decoration-color:#6E8085}}
/* v22 home */
.goalbar{position:relative}.goalbar .go{margin-left:auto;font-size:22px;color:var(--muted);align-self:center}
.gmore{display:block;font-size:12.5px;color:var(--primary);font-weight:700;margin:1px 0 2px}
.resrow,.nextrow{display:flex;align-items:center;gap:8px;padding:9px 12px;margin:0 0 8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-decoration:none;font-size:14.5px;min-height:44px}
.resrow .rk,.nextrow .rk{color:var(--muted);font-size:12.5px;font-weight:700;white-space:nowrap}
.resrow .rt,.nextrow .rt{flex:1;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resrow .rs{font-size:12.5px;color:var(--muted)}
.nextrow .pico.sm{width:26px;height:26px;font-size:14px}.nextrow .pico.sm svg{width:16px;height:16px}
.dagcard{border-color:var(--primary)}.dagcard .pico{background:var(--primary);color:#fff}
.dags h1{font-size:1.35rem}.dags .mixscene{margin-bottom:6px}.dagq{margin:0 0 8px}
.dago{position:relative;overflow:hidden;text-align:left}.dagbar{position:absolute;left:0;bottom:0;height:4px;width:100%;background:transparent}.dagbar i{display:block;height:100%;background:var(--primary);opacity:.35;transition:width .6s ease}
.dagpct{float:right;font-weight:800;color:var(--muted);margin-left:8px}.dago.picked{outline:2px solid var(--primary);outline-offset:-2px}.dago.best .dagpct{color:var(--ok)}
.sgroup.shown .dago:disabled{opacity:1}
.dags .bottom{display:flex;flex-wrap:wrap;gap:8px}.dags .bottom>#fb,.dags .bottom>.dagnote{flex:0 0 100%;margin-bottom:0}.dags .bottom>.btn{flex:1;min-width:0}
.dags .bottom>.btn{white-space:nowrap}.dags #fb{max-height:none}
.flagq{float:right;background:none;border:0;color:var(--muted);font:inherit;font-size:12px;text-decoration:underline dotted;padding:4px 0;cursor:pointer;margin-top:2px}
.inclink{display:block;width:100%;text-align:left;font-size:13.5px;padding:6px 0;white-space:normal}
.fbchips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}.chipb{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:999px;padding:7px 12px;font:inherit;font-size:14px;min-height:36px}.chipb[aria-pressed=true]{border-color:var(--primary);background:var(--primary-soft);font-weight:700}
#fbsheet textarea{width:100%;box-sizing:border-box;border:2px solid var(--line);border-radius:12px;padding:10px;font:inherit;background:var(--surface);color:var(--text)}#fbsheet textarea:focus{outline:none;border-color:var(--primary)}
.dvrow{display:flex;gap:10px;align-items:center;padding:8px 10px;margin:8px 0 0;border:1px dashed var(--primary);border-radius:12px;font-size:13.5px;line-height:1.3;cursor:pointer}
.dvrow input{width:22px;height:22px;accent-color:var(--primary);flex:none;margin:0}.dvrow b{color:var(--primary)}.dvrow span:nth-child(2){flex:1}.dvok{font-size:12px;color:var(--muted);font-weight:700}
.dvrow:has(input:checked){border-style:solid;background:var(--primary-soft)}
.dvask{display:flex;gap:8px;align-items:center;padding:10px 12px;margin:0 0 8px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.dvask .grow{flex:1;display:flex;flex-direction:column}.dvask .dk{font-size:12.5px;font-weight:800;color:var(--primary)}.dvask .dt{font-size:14px}.dvask .btn{width:auto;min-height:40px;padding:0 12px}
@media (max-height:660px){.donescr .ladder{display:none}.donescr .ahacard{padding-top:8px;padding-bottom:8px}}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){.donescr .card.stats,.donescr .ladder{display:none}.donescr h1{margin-top:4px}}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){.donescr h1+p:not(.compline){display:none}.donescr .ahacard{font-size:15px}}
.comp{position:relative;display:inline-block;width:40px;height:40px;flex:none}.comp .avs{border-radius:50%}.comp .acc{position:absolute;left:0;top:-14px;width:40px;height:40px;pointer-events:none}
.avhome .comp{width:36px;height:36px}.avhome{overflow:visible}
.compline{display:flex;gap:10px;align-items:center;margin:4px 0 8px}.say2{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:7px 11px;font-size:14.5px;line-height:1.3}
.comp.happy{animation:hop .9s cubic-bezier(.3,1.6,.5,1) .2s 2}@keyframes hop{0%,100%{transform:translateY(0)}40%{transform:translateY(-8px) rotate(-4deg)}70%{transform:translateY(0) rotate(2deg)}}
.comp.wave{animation:sway 2.4s ease-in-out 2}@keyframes sway{0%,100%{transform:rotate(0)}50%{transform:rotate(6deg)}}
.compcard{display:flex;gap:10px;align-items:center;padding:10px 12px;margin:0 0 8px;border-radius:16px;background:var(--primary-soft);font-size:14px;line-height:1.35}.compcard .grow{flex:1}
@media (prefers-reduced-motion:reduce){.comp.happy,.comp.wave{animation:none}}
.donescr .bottom{flex-wrap:wrap!important}.donescr .bottom>.chcap{flex:0 0 100%!important;width:100%;margin-bottom:6px}.donescr .bottom>.btn{flex:1 1 0;min-width:0}
.inclink{background:none!important;border:0!important;color:var(--primary);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;display:flex;gap:6px;align-items:center;padding:8px 0 0}
#fxlayer{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:60}#fxlayer .bdpop{pointer-events:auto}
.setrow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}.setrow>div{min-width:0}.setrow .seg .segb{padding-left:6px;padding-right:6px;font-size:15px}.setrow .segb.big{font-size:17px}
.avset .comp,.avset .avs{width:30px;height:30px}.avset{overflow:visible}
.avhome{border:0;background:none;width:40px;height:40px}.avhome .comp{width:40px;height:40px}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){#settings h3{margin:8px 0 4px}#settings .segb,#settings .langb{min-height:40px}#settings .btn{min-height:46px}#settings .vibt{margin:2px 0}#settings .tgl{padding-top:2px;padding-bottom:2px}#settings .sethead{margin-bottom:0}}
@media (max-height:670px){#settings .tgl b,#settings .tgl>span{font-size:14.5px;line-height:1.25}#settings h2{font-size:1.25rem}#settings h3{margin:6px 0 3px;font-size:11.5px}#settings{padding-top:14px}#settings .seg,#settings .langs{margin-bottom:0}}
.donescr .bottom>.chcap{grid-column:1/-1}
/* v22 avatars, badges, animaties */
.avs{width:100%;height:100%;display:block}
.avset{width:34px;height:34px;border-radius:50%;border:2px solid var(--line);padding:0;background:none;cursor:pointer;display:grid;place-items:center;color:var(--muted);margin-right:8px;flex:none}.sethead{justify-content:flex-start}.sethead .chset{margin-left:auto}
.avhome{padding:0;cursor:pointer;flex:none}
.avgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:4px 0 12px}.avb{border:2px solid transparent;border-radius:50%;padding:2px;background:none;aspect-ratio:1;cursor:pointer}.avb[aria-pressed=true]{border-color:var(--primary)}
.avcard{display:flex;align-items:center;gap:10px;padding:8px 10px;margin:0 0 8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:14px}.avcard .grow{flex:1}.avcard .btn{width:auto;min-height:38px;padding:0 12px}
.avmini{width:30px;height:30px;display:inline-block;flex:none;vertical-align:middle}.iconx{background:none;border:0;font-size:22px;color:var(--muted);min-width:32px;min-height:32px;cursor:pointer}
.chfrom{display:flex;align-items:center;gap:8px}
.bdgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bdc{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;padding:8px 4px;border-radius:14px;background:var(--surface);border:1px solid var(--line);font-size:11.5px;color:var(--muted);line-height:1.25}
.bdc b{font-size:12.5px;color:var(--text)}.bdc .bdmed{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#E3E8EA;color:#A9B4B8}
.bdc:not(.on) b{color:var(--muted)}.bdc.on .bdmed{background:var(--primary);color:#fff;box-shadow:0 0 0 3px var(--primary-soft)}
.bdpop{position:absolute;left:50%;top:calc(var(--sat,0px) + 70px);transform:translate(-50%,0);display:flex;gap:12px;align-items:center;background:var(--surface);color:var(--text);border:2px solid var(--primary);border-radius:18px;padding:10px 16px 10px 10px;box-shadow:0 10px 30px rgba(0,0,0,.18);font-size:14px;min-width:220px}
.bdpop .bdmed{position:relative;overflow:hidden;width:52px;height:52px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center}
.bdpop .shine{position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.75) 50%,transparent 70%);transform:translateX(-120%);animation:shine 1.1s .35s ease forwards}
@keyframes shine{to{transform:translateX(120%)}}
.star{position:absolute;width:10px;height:10px;pointer-events:none;background:var(--primary);clip-path:polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%)}
#fxlayer .cf{position:absolute}
.xpc{display:inline-block;font-size:.6em;vertical-align:middle;background:var(--primary-soft);color:var(--primary);border-radius:999px;padding:2px 10px;font-variant-numeric:tabular-nums}
.lvbar i.spring{transition:width .9s cubic-bezier(.34,1.56,.64,1)}
.goalbar.lit .gstats .ico:first-child{color:#E0662B;transform-origin:50% 90%;animation:flame 1.6s ease-in-out infinite}
@keyframes flame{0%,100%{transform:scale(1) rotate(0)}30%{transform:scale(1.12,1.18) rotate(-4deg)}60%{transform:scale(.96,1.05) rotate(3deg)}}
.vibt{margin:6px 0}
@media (prefers-reduced-motion:reduce){.goalbar.lit .gstats .ico:first-child,.bdpop .shine{animation:none}.lvbar i.spring{transition:none}}
@media (prefers-color-scheme:dark){.bdc .bdmed{background:#2A3A3D;color:#6E8085}.say2{background:var(--surface)}}
.donescr .ladder{display:none}
@media (max-height:670px){.donescr .say2{font-size:13.5px;padding:5px 10px}.donescr .compline{margin:2px 0 6px}}
.setrow h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.setrow .seg{display:flex}.setrow .seg>*{flex:1 1 0;min-width:0}
/* ===== v22b: alles past zonder scrollen ===== */
.fitoff{display:none!important}
/* homebar: logo links, avatar rechts naast de iconen (geen overlap meer) */
.homebar{gap:10px}.homebar .topbtns{margin-left:auto;display:flex;align-items:center;gap:4px}
.homebar .avhome{position:static!important;margin:0 4px 0 0;width:38px;height:38px;transform:none}.homebar .avhome .comp{width:38px;height:38px}
.homebar .hdots{display:none}
/* home compact */
.screen.home{min-height:100dvh;padding-bottom:calc(8px + var(--sab))}
.screen.home .homebar{min-height:calc(56px + var(--sat));padding-top:calc(var(--sat) + 6px);padding-bottom:22px}
.screen.home .homebar .wordmark.applogo{height:38px;width:38px}
.screen.home .homehero{margin:-16px 0 8px;padding:14px 16px 12px;border-radius:22px}
.screen.home .homehero h1.display{font-size:clamp(21px,5.9vw,26px);margin:0 0 6px;line-height:1.15}
.screen.home .homehero .subline{font-size:14px;margin:0 0 8px}
.screen.home .homehero .goalbar{padding:6px 10px;gap:10px}
.screen.home .goalbar .ring{width:40px;height:40px}
.screen.home .avcard{margin:0 0 8px;padding:6px 10px;font-size:14px}
.screen.home .dagcard{margin:0 0 8px;padding:10px 14px;min-height:0}
.screen.home .dagcard .dt{font-size:16px}.screen.home .dagcard .ds{font-size:13px}
.screen.home .nextrow{margin:0 0 6px;min-height:0;padding-top:6px;padding-bottom:6px}
.screen.home .tiles{grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 8px}
.screen.home .tile,.screen.home .tile[class*=tint-]{min-height:0!important;padding:8px 4px;gap:4px;border-radius:16px!important}
.screen.home .tile .ti{width:32px!important;height:32px!important;font-size:18px}.screen.home .tile .ti svg{width:18px;height:18px}
.screen.home .tile .tl{font-size:13.5px;line-height:1.15}
.screen.home .tile .medal,.screen.home .tile small,.screen.home .tile .ptxt{font-size:10.5px!important}
.screen.home .topic.alt{min-height:0;padding:8px 14px;margin:0}
.screen.home .topic.alt .ti{width:30px;height:30px;font-size:16px}
.screen.home .spacer{flex:1 1 0;min-height:0}
.screen.home .foot{margin-top:8px;gap:2px 8px}.screen.home .foot .btn{margin:0 0 4px;min-height:40px;padding:6px 12px;font-size:14px;width:100%}
/* afsluitscherm compact */
.donescr .levelup{padding:8px 12px;font-size:15px;margin:0 0 8px;animation:pop .5s ease}
.donescr .lvsub{display:block;font-weight:600;font-size:13px;opacity:.9;margin-top:2px}
.donescr div.status{margin:0 0 8px;padding:8px 12px;font-size:14px}
.donescr .ahacard{padding:10px 14px;font-size:15px;line-height:1.35}
.donescr .card.stats{padding:10px 14px}.donescr .card.stats p{margin:0}.donescr .card.stats .lvbar{margin:6px 0 0}
.donescr details.ask{margin:0 0 8px}.donescr details.ask summary{padding:8px 14px}
.donescr .dvrow{margin:0}
.donescr .inclink{padding:6px 0 0;font-size:13px}
.donescr .bottom{padding-top:8px}
.donescr .bottom>.chcap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;margin:0 0 4px;font-size:13px}
.donescr .bottom>.btn{white-space:nowrap;padding-left:8px;padding-right:8px}
/* wie zijn wij / overige: geen horizontale scroll */
.screen.info{max-width:100vw;box-sizing:border-box;overflow-x:hidden}.screen.info *{min-width:0}
.screen.info p,.screen.info li,.screen.info a{overflow-wrap:anywhere}
.dagbest{display:block;margin-top:4px;font-weight:700}
.pcap2{display:none}.screen.home .tile .pcap{display:none}.screen.home .tile .pcap2{display:block;font-size:11px;font-weight:800;color:var(--muted)}
.screen.home .tile .pbar{width:70%}
.screen.home .topic.alt{padding:4px 14px}.screen.home .topic.alt .tl{font-size:15px}
.screen.home .tile .pbar{margin:2px 0 0}
.screen.home .foot{margin-top:4px}
.screen.home .foot{flex-wrap:nowrap;white-space:nowrap;font-size:13px}.screen.home .foot .link{font-size:13px;min-height:32px;padding:4px 2px;display:inline-flex;align-items:center}
.routes .route{display:none}.routes .route.on{display:block}.rpick{margin:0 0 8px}
.step{padding:6px 0}.step .pict{width:30px;height:30px}.step p{font-size:14.5px;margin:0}
.abtns{display:grid;grid-template-columns:1fr 1fr;gap:8px}.abtns .btn{white-space:nowrap}
.vtabs{margin:0 0 10px}.vtabs button{font-size:13px;padding-left:4px;padding-right:4px}
.vtpane[hidden]{display:none!important}
.vtpane .radar .radarsvg{max-height:300px;width:100%}
.vtnote{margin:8px 0 0}
.screen .trust{padding:10px 12px;font-size:14px;line-height:1.35}
.screen:not(.skill) h1{margin-bottom:10px}
.screen:not(.skill):not(.home) h2{margin-top:14px}
.screen.info p{font-size:15px;line-height:1.4;margin:0 0 8px}.screen.info h2{margin:10px 0 4px;font-size:17px}.screen.info h1{margin:4px 0 8px}
.screen.info .card{padding:12px 14px;margin:0 0 8px}.screen.info .trust{margin:0 0 8px}.screen.info .tabbar{margin-top:8px;margin-left:-20px;margin-right:-20px}
.donescr .bottom>.chcap{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.donescr .bottom>.chcap .ico{display:inline;vertical-align:-2px;margin-right:4px}
@media (max-height:760px){.donescr .celebrate{display:flex}.donescr .card.stats{display:block}.donescr h1+p:not(.compline){display:block}.donescr .stats .small{display:block}}
.donescr .celebrate.fitoff,.donescr .card.stats.fitoff,.donescr .fitoff{display:none!important}
.donescr .celebrate{width:48px;height:48px;margin:0 auto 4px}
.screen.home .tile .pcap{display:block!important;position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.screen.home .tile{position:relative}
.cf{position:fixed!important}
main#app{overflow:clip}
/* v22c: compact home on short screens so badges, avatar and stats stay visible */
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){
.screen.home .goalbar .gmore{display:none}
.screen.home .homehero{padding:10px 14px 10px}
.screen.home .homehero h1.display{margin:0 0 4px}
.screen.home .avcard{padding:3px 8px;gap:8px;font-size:13px;margin:0 0 6px;line-height:1.2}
.screen.home .avcard .avmini svg{width:26px;height:26px}.screen.home .avcard .avmini{width:26px;height:26px}
.screen.home .avcard .btn{min-height:30px;padding:0 10px;font-size:13px}
.screen.home .avcard .iconx{min-height:30px;min-width:30px;height:30px}
.screen.home .dagcard{padding:7px 12px;margin:0 0 6px}
.screen.home .nextrow{min-height:0;padding-top:4px;padding-bottom:4px;margin:0 0 5px}
.screen.home .tiles{gap:6px;margin:2px 0 6px}
.screen.home .tile,.screen.home .tile[class*=tint-]{padding:6px 4px;gap:2px}
.screen.home .tile .ti{width:26px!important;height:26px!important}
.screen.home .topic.alt{padding:6px 14px}
}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){.screen.lab .ahacard{padding:10px 14px;font-size:15px;line-height:1.35;margin:4px 0}.screen.lab .card{padding-top:10px;padding-bottom:10px;margin-bottom:6px}.screen.lab .card p{font-size:15px;line-height:1.4}.screen.lab .btn.secondary{min-height:44px}}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){.screen.home .resrow{min-height:0;padding-top:4px;padding-bottom:4px;margin:0 0 5px}.screen.home .topic.alt{padding:4px 12px;font-size:14px}.screen.home .topic.alt *{line-height:1.2}.screen.home .tile .tl{font-size:12.5px}.screen.home .foot{padding-top:2px;padding-bottom:2px;margin-top:0}.screen.home .homebar{margin-bottom:-4px}.screen.home .goalbar .ring{width:34px;height:34px}.screen.home .homehero .goalbar{padding:4px 10px}}

/* v23: rustiger home */
.dilwrap{position:relative;margin:14px 0 0}.dilwrap .daily{margin:0;padding-right:44px}
.dilx{position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.2);color:inherit;font-size:20px;line-height:1;color:#fff;cursor:pointer}
.screen.home .resrow{margin:10px 0 4px}
.screen.home .tiles{margin:14px 0 14px}
.bdshow{display:block;margin-top:12px;padding:12px 14px;text-decoration:none;color:var(--text)}
.bdhd{display:flex;justify-content:space-between;margin-bottom:8px}.bdstrip{display:flex;flex-wrap:wrap;gap:6px}
.bdshow .bdmed{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:50%;background:var(--bg);opacity:.35;filter:grayscale(1)}.bdshow .bdmed.on{opacity:1;filter:none}

/* v23b */
.dilwrap .daily{padding-right:52px}
.dilx{top:0;right:0;width:44px;height:44px;background:transparent;display:grid;place-items:center;font-size:22px}
.dilx::before{content:"";position:absolute;inset:8px;border-radius:50%;background:rgba(255,255,255,.2);z-index:-1}.dilx{z-index:1;isolation:isolate}
.screen.home .resrow,.screen.home .resrow[href]{min-height:44px!important;box-sizing:border-box}
.bdshow{margin-top:8px;padding:8px 12px}.bdhd{margin-bottom:6px}.bdshow .bdmed{width:28px;height:28px}
/* --- v24 maatjes --- */
.bsvg{width:100%;height:100%;overflow:visible;display:block}
.cb{transform-box:fill-box;transform-origin:50% 95%;animation:bbreathe 3.2s ease-in-out infinite}
.ce{transform-box:fill-box;transform-origin:center;animation:bblink 4.5s infinite}
.ca{transform-box:fill-box;transform-origin:15% 90%}
@keyframes bbreathe{50%{transform:scale(1.04,.97)}}
@keyframes bblink{0%,93%,100%{transform:scaleY(1)}96%{transform:scaleY(.1)}}
@keyframes bjump{0%,100%{transform:translateY(0) scale(1)}15%{transform:scale(1.1,.85)}45%{transform:translateY(-18%) scale(.95,1.08)}75%{transform:scale(1.05,.95)}}
@keyframes bwave{50%{transform:rotate(-40deg)}}
@keyframes bsad{0%,100%{transform:rotate(0)}25%{transform:rotate(-8deg) translateY(3%)}75%{transform:rotate(6deg) translateY(3%)}}
.jump .cb{animation:bjump .7s ease-out 2}.wave .ca{animation:bwave .45s ease-in-out 4}.sad .cb{animation:bsad 1s ease-in-out}
.bhome{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:10px 12px 10px 6px;border-radius:22px;background:linear-gradient(160deg,#E2F6F7,#fff 70%);box-shadow:0 1px 3px #0001}
.bpet{flex:0 0 112px;height:112px;position:relative;border:0;background:none;padding:6px 6px 10px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.bsh{position:absolute;left:22%;right:22%;bottom:2px;height:8px;border-radius:50%;background:#0002}
.binfo{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.bbub{position:relative;margin:0;background:#fff;border-radius:14px;padding:7px 10px;font-size:14px;font-weight:700;box-shadow:0 1px 4px #0002;color:var(--ink,#2B3A3F)}
.bbub::before{content:"";position:absolute;left:-6px;top:50%;margin-top:-6px;border:6px solid transparent;border-left:0;border-right-color:#fff}
.bxp{height:8px;border-radius:4px;background:#DCE8EA;overflow:hidden}.bxp i{display:block;height:100%;background:#0FA3B1;border-radius:4px}
.blv{font-size:12px;color:var(--muted);line-height:1.25}
.bnext{display:flex;align-items:center;gap:5px;border:0;background:#fff8;border-radius:10px;padding:5px 8px;font:inherit;font-size:12px;color:var(--muted);text-align:left;cursor:pointer;min-height:32px}.bnext b{color:#08707A}
.bgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 8px}
.bcard{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;border:2px solid transparent;border-radius:16px;background:#F4F7F8;padding:8px 4px 8px;font:inherit;cursor:pointer;color:inherit}
.bcard .bsvg{width:64px;height:64px}.bcard b{font-size:14px}.bcard span{font-size:11px;color:var(--muted);line-height:1.2;text-align:center}
.bcard[aria-pressed=true]{border-color:#0FA3B1;background:#E2F6F7}
.bcard.locked .bsvg{filter:grayscale(1);opacity:.35}.bcard.locked .cb{animation:none}.bcard.locked b{color:#9AA7AB}
.block{position:absolute;top:6px;right:6px;width:20px;height:20px;fill:#fff;stroke:#6B7B80;stroke-width:2;stroke-linecap:round}
.bpr{display:block;width:70%;height:4px;border-radius:2px;background:#DCE8EA;margin-top:3px;overflow:hidden}.bpr i{display:block;height:100%;background:#0FA3B1}
.bline{min-height:2.6em;margin:0 0 8px;text-align:center}
.bles{flex:0 0 38px;width:38px;height:38px;position:relative;margin-left:6px}
.bsay{position:absolute;right:100%;top:-4px;font-style:normal;font-size:11px;font-weight:800;color:#08707A;white-space:nowrap;opacity:0;transition:opacity .2s}
.bles.jump .bsay,.bles.sad .bsay{opacity:1}
.bunlock{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:rgba(8,40,44,.55);padding:20px}
.bubox{position:relative;overflow:hidden;background:#fff;border-radius:28px;padding:24px 20px 16px;max-width:340px;width:100%;text-align:center;animation:bpop .45s cubic-bezier(.2,.9,.3,1.4)}
.burays{position:absolute;left:50%;top:90px;width:420px;height:420px;margin:-210px;background:repeating-conic-gradient(#E2F6F7 0 12deg,#fff 12deg 24deg);border-radius:50%;animation:bspin 14s linear infinite}
.bupet{position:relative;width:150px;height:150px;margin:0 auto 6px}.bubox>*{position:relative}
.buk{margin:0;color:#FF7A59;font-weight:800;font-size:14px}.bubox h2{margin:2px 0 4px;color:#08707A}.bubox p{margin:0 0 12px}.bubox .btn{width:100%;margin-top:6px}
@keyframes bpop{from{transform:scale(.6);opacity:0}}@keyframes bspin{to{transform:rotate(360deg)}}
.a2hs{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:14px;background:#E2F6F7;color:#08707A;padding:8px 12px;font:inherit;text-align:left;cursor:pointer;min-height:48px;margin-top:6px}
.a2hs .grow{display:flex;flex-direction:column;line-height:1.2}.a2hs .grow span{font-size:12px;color:var(--muted)}
.screen.home .homehero .subline{display:none}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){.bhome{min-height:0;padding:6px 10px 6px 4px;margin-bottom:6px}.bpet{flex-basis:92px;height:92px}.bbub{font-size:13px;padding:5px 9px}.a2hs{min-height:42px;padding:5px 12px}}
@media (prefers-reduced-motion:reduce){.cb,.ce,.ca,.burays,.bubox{animation:none!important}}
@media (prefers-color-scheme:dark){.bhome{background:linear-gradient(160deg,#123d42,#16262a 70%)}.bbub{background:#1e3337;color:#eaf4f5}.bbub::before{border-right-color:#1e3337}.bnext{background:#ffffff10}.bcard{background:#1e3337}.bubox{background:#16262a}.burays{background:repeating-conic-gradient(#123d42 0 12deg,#16262a 12deg 24deg)}.a2hs{background:#123d42;color:#bfeff2}}
.bnext span{min-width:0;line-height:1.2}
/* v24 eindscherm */
.donescr.calm{text-align:center}
.donescr.calm .dpet{position:relative;width:min(52vw,210px);height:min(52vw,210px);margin:0 auto;background:none;box-shadow:none;border-radius:0;display:block;color:inherit}
.donescr.calm .dpet .bsvg{width:100%;height:100%}
.donescr.calm .dtitle{margin:12px 0 14px;font-size:30px}
.dgrow{max-width:320px;margin:0 auto;width:100%}
.dxprow{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px;font-size:14px}.dxprow .xpc{font-weight:800;color:#08707A;font-size:20px}.dlv{color:var(--muted)}
.dbar{height:14px;border-radius:7px}.dbar i{border-radius:7px}
@keyframes dbounce{0%,100%{transform:scale(1)}40%{transform:scale(1.06,1.25)}70%{transform:scale(.98,.92)}}
.dgrow.bounce .dbar{animation:dbounce .5s ease-out}
.dshare{margin:14px 0 0}.dshare .btn{display:inline-flex;width:auto;min-height:36px;padding:4px 12px;margin:0 0 0 6px}
.dvscr h1{margin-top:6px}.dvscr .dvrow{justify-content:center;margin-top:14px}
@media (prefers-reduced-motion:reduce){.dgrow.bounce .dbar{animation:none}}
.bhome{margin-bottom:6px;padding-top:6px;padding-bottom:6px}.bpet{flex-basis:104px;height:104px}.a2hs{min-height:44px;padding:5px 12px}
/* v24b: compacter, geen overlap met homehero, dilemma blijft zichtbaar op 375x667 */
.screen.home .bhome+.homehero{margin-top:0}
.bnext{white-space:nowrap}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){.bhome{padding:4px 10px 4px 2px;gap:8px}.bpet{flex-basis:84px;height:84px;padding:4px 4px 8px}.binfo{gap:4px}.blv{display:none}.bbub{font-size:13px;padding:4px 9px}.bnext{min-height:26px;padding:3px 8px}
 .screen.home .dilwrap{margin-top:6px}.screen.home .dilwrap .daily{padding-top:6px;padding-bottom:6px}.a2hs{min-height:38px;padding:3px 12px}.a2hs .grow span{display:none}.screen.home .foot .link{min-height:28px}}
@media (max-height:700px),(max-width:370px) and (max-height:800px),(max-width:420px) and (max-height:900px){.screen.home .bhome{margin-bottom:0}.screen.home .tiles{margin-top:8px}}

.btn .nxb{display:flex;flex-direction:column;align-items:center;min-width:0;max-width:100%;gap:1px}.btn .nxk,.btn .nxd{display:block;max-width:100%;overflow:hidden}.btn .nxk{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;text-align:center}.btn .nxd{white-space:nowrap;text-overflow:ellipsis}.btn .nxk{font-size:17px;line-height:1.25}.btn .nxt{font-weight:800}.btn .nxd{font-size:13.5px;font-weight:500;line-height:1.25;opacity:.88}#nextles{padding-top:8px;padding-bottom:8px;min-width:0;max-width:100%;overflow:hidden;box-sizing:border-box}.btn .nxb{width:100%}
.chatl{margin:6px 0 0;font-size:15px}.chatl a{color:var(--primary);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.dilwrap .dk{display:block;padding-right:34px}.dilx{border-radius:12px}
.unlock{padding:8px 12px;margin:6px 0 2px}.unlock .ds{display:none}@media (max-height:900px){.screen.home:has(.unlock) .dilwrap{display:none}}
@media (max-height:900px){.screen.home:has(.resrow) .dilwrap{display:none}}.dilx{border-radius:0;width:48px;height:48px;top:-2px;right:-2px}
.dilwrap .dk{padding-right:42px}

/* v26 home-groepen */
.cg .groups{display:flex;flex-direction:column;gap:12px;margin:14px 0 10px;flex:1 1 auto}
.cgtile{flex:1 1 0;min-height:104px;max-height:150px;display:flex;align-items:center;gap:14px;padding:16px 14px 16px 16px;border-radius:22px;background:var(--surface);box-shadow:var(--sh1);color:var(--text);text-decoration:none}
.cgico{flex:none;width:60px;height:60px;border-radius:18px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}
.cgtxt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.cgt{font-weight:800;font-size:21px;line-height:1.2}.gs{font-size:14.5px;color:var(--muted);line-height:1.3}
.cgchips{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.cgchip{font-size:12.5px;font-weight:700;padding:2px 9px;border-radius:99px;background:var(--primary-soft);color:var(--primary)}
.cgmeta{display:flex;flex-direction:column;align-items:flex-end;font-size:15px;line-height:1.1}.cgmeta small{font-size:12px;color:var(--muted)}
.cgtile .go{font-size:24px;color:var(--primary);margin-left:2px}
.cg .spacer{flex:0 0 0;min-height:8px}
.subs{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.stile{display:block;padding:14px 16px;border-radius:22px;background:var(--surface);box-shadow:var(--sh1);color:var(--text);text-decoration:none}
.sh{display:flex;align-items:center;gap:12px}.sh .ti{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);flex:none}
.st{display:block;font-weight:800;font-size:19px}.ss{display:block;font-size:14px;color:var(--muted);line-height:1.3}.sm{font-weight:700;font-size:15px;color:var(--primary)}
.stile ol{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:4px}.stile li{display:flex;gap:10px;align-items:center;font-size:15px;line-height:1.3}
.stile .lnum{flex:none;width:22px;height:22px;border-radius:50%;background:var(--bg);font-size:12px;font-weight:700;display:grid;place-items:center;color:var(--muted)}

@media (max-height:800px){.cgtile{min-height:92px;padding:12px}.cgico{width:52px;height:52px}.cgt{font-size:20px}.stile{padding:12px 14px}.stile li{font-size:14px}}
.cgtile{min-height:84px}.cg .groups{margin:10px 0 8px;gap:10px}@media (max-height:800px){.cgtile{min-height:70px;padding:10px 12px}.cgico{width:46px;height:46px;border-radius:14px}.cg .groups{gap:8px;margin:8px 0 6px}}
.stile .sh{color:inherit;text-decoration:none;min-height:44px}.stile .sh .go{color:var(--primary);font-size:22px}
.stile li a{display:flex;gap:10px;align-items:center;min-height:30px;color:var(--text);text-decoration:none}.stile li a.ok .lnum{background:var(--ok-soft);color:var(--ok)}
.cgs .subs{margin-top:4px}
.cgtile .cgico svg{width:30px;height:30px}

@media (max-height:900px){.screen.home:has(.nudge) .dilwrap,.screen.home:has(.unlock) .dilwrap,.screen.home:has(.dvask) .dilwrap,.screen.home:has(.mixcard) .dilwrap{display:none}}
/* v26: compacte home bij drukte (inlogbalk, verder-regel, unlock) */
.screen.home .nudge.card{display:flex;flex-direction:row;align-items:center;gap:10px;padding:10px 12px;margin:10px 0 0}
.screen.home .nudge p{flex:1;min-width:0;margin:0;font-size:15px;line-height:1.3}.screen.home .nudge p .small{font-size:13px}
.screen.home .nudge .nudgebtns{display:flex;flex-direction:column;gap:2px;flex:none;margin:0}.screen.home .nudge .btn.small{min-height:40px;padding:6px 14px;font-size:15px;width:auto}.screen.home .nudge .btn.ghost.small{min-height:32px;padding:2px 10px;font-size:14px}
.screen.home:is(:has(.nudge),:has(.resrow),:has(.unlock),:has(.dvask),:has(.mixcard)) .cgtile{padding:10px 12px}
.screen.home:is(:has(.nudge),:has(.resrow),:has(.unlock),:has(.dvask),:has(.mixcard)) .cgico{width:48px;height:48px;border-radius:14px}
.screen.home:is(:has(.nudge),:has(.resrow),:has(.unlock),:has(.dvask),:has(.mixcard)) .groups{gap:8px;margin:8px 0 6px}
.screen.home.cg > .spacer{flex:0 0 6px;min-height:6px}.screen.home.cg > .groups{flex:1 1 auto}
.screen.home .nudgebtns .btn{flex:none}
.screen.home.cg .cgtile{flex:1 1 auto;min-height:auto}
.screen.home.cg .cgtile{padding:12px 14px}.screen.home.cg .cgico{width:52px;height:52px;border-radius:16px}
.screen.home.cg:is(:has(.nudge),:has(.resrow),:has(.unlock),:has(.dvask),:has(.mixcard)) .cgtile{padding:8px 12px}
.screen.home.cg:is(:has(.nudge),:has(.resrow),:has(.unlock),:has(.dvask),:has(.mixcard)) .cgico{width:44px;height:44px;border-radius:13px}
.screen.home.cg:is(:has(.nudge),:has(.resrow),:has(.unlock),:has(.dvask),:has(.mixcard)) .cgchips{margin-top:3px}
.screen.home.cg:has(.nudge):is(:has(.resrow),:has(.unlock)) .nudge p .small{display:none}
.screen.home.cg:has(.nudge):is(:has(.resrow),:has(.unlock)) .nudge .btn.ghost{display:none}


/* v26b */
.cgchips{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
.cgchip{white-space:nowrap}
@media (max-width:374px){.cgchip{font-size:12px;padding:2px 7px}.cg .cgtile{gap:10px}.cg .cgico{width:44px;height:44px}}
.fitoff{display:none!important}
.ghead{margin:2px 0 10px}.ghead h1{margin:0}.ghead .subline{margin:4px 0 0}
@media (max-width:340px){.bnext{white-space:normal;margin-right:6px}.bbub{margin-right:6px}}
/* v26b: compact bij drukke home (resume/unlock/inlog) */
@media (max-width:430px){
.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .homehero .display{font-size:clamp(18px,5.4vw,22px);line-height:1.15}
.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .cgt{font-size:18px;line-height:1.15}
.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .cgtile{padding:6px 10px;gap:10px;border-radius:18px}
.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .cgico{width:40px;height:40px;border-radius:12px}
.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .cgico svg{width:24px;height:24px}
.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .cgchips{margin-top:2px}
.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .cg .groups,.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) > .groups{gap:6px;margin:6px 0 4px}
.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .unlock{padding-top:6px;padding-bottom:6px}
.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .nudge{padding-top:6px;padding-bottom:6px}
.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .topic.alt{min-height:40px;padding-top:4px;padding-bottom:4px}
}
/* v26c: groeppagina compact */
@media (max-width:430px) and (max-height:900px){.cgs .ghead{margin:0 0 6px}.cgs .ghead .display{font-size:24px}.cgs .stile ol li a{padding-top:5px;padding-bottom:5px}.cgs .subs{gap:8px}}
@media (max-width:430px) and (max-height:800px){.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .a2hs{min-height:36px;padding-top:2px;padding-bottom:2px}.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .foot{margin-top:2px;padding-top:0;padding-bottom:2px}.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .homehero{padding-top:8px;padding-bottom:8px}.cg:is(:has(.resrow),:has(.unlock),:has(.nudge)) .resrow{min-height:40px;padding-top:4px;padding-bottom:4px}}
@media (max-width:430px) and (max-height:800px){.cg:has(.resrow):has(.unlock):has(.nudge) .bpet{flex-basis:72px;height:72px}.cg:has(.resrow):has(.unlock):has(.nudge) .bhome{padding-top:2px;padding-bottom:2px}}

/* R1C navigation: fixed viewport with page buttons instead of scrolling lists. */
.navscreen{height:100dvh;min-height:0;max-height:100dvh;overflow:hidden;padding:calc(var(--sat) + 10px) 16px calc(var(--sab) + 12px);gap:8px}
.navscreen .spacer{flex:1;min-height:0}
.navscreen h1{font-size:clamp(23px,6vw,27px);margin:2px 0 4px;line-height:1.15}
.navhead,.navhomehead{height:44px;min-height:44px;display:flex;align-items:center;gap:10px;margin:0}
.navpath .navhead{background:var(--topic-tint,#EEF0F2);border-radius:8px;padding:0 6px}
.navback{width:38px;height:38px;display:grid;place-items:center;text-decoration:none;color:var(--text);font-size:28px}
.navtitle,.orgname{font-weight:750;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.navhead .orgname{max-width:84px;font-size:12px;flex:none}.navhead .orgmark{width:28px;height:28px;font-size:11px}.navhead .navtitle{flex:1;font-size:14px;text-align:right}
.navhomehead img{width:36px;height:36px;object-fit:contain}
.navhomehead .iconbtn{margin-left:auto}
.orgmark{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:8px;background:var(--primary);color:var(--on-primary);font-size:14px;font-weight:800}
.navcard{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:13px;box-shadow:var(--sh1);min-width:0}
.navmeta{display:flex;gap:8px;align-items:center;min-height:18px;font-size:12px;color:var(--muted)}
.navrequired{font-weight:750;color:var(--primary)}
.navoverdue,.workchip.workoverdue{display:inline-block;background:#8C2431;color:#fff;border:1px solid #6C1723;border-radius:6px;padding:2px 6px;font-weight:750}
.navpathtitle{display:block;color:var(--text);font-size:19px;font-weight:750;line-height:1.2;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:5px 0}
.navdesc{font-size:13px;line-height:1.25;color:var(--muted);margin:4px 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.navowner{font-size:13px;color:var(--muted);margin:0}
.navprogress{font-size:12px;color:var(--muted);font-weight:650;margin:5px 0 8px}
.navbar{display:block;height:6px;border-radius:4px;background:var(--line);margin-top:5px;overflow:hidden}
.navbar i{display:block;height:100%;background:var(--primary)}
.navprimary{width:100%;min-height:42px}
.navrow{display:flex;align-items:center;gap:8px;min-width:0;min-height:55px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);text-decoration:none}
.navrowtext{display:block;flex:1;min-width:0}
.navrowtext b,.navrowtext small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.navrowtext b{font-size:14px;line-height:1.25}.navrowtext small{font-size:12px;color:var(--muted)}
.navrowend{flex:none;color:var(--primary);font-size:20px}
.navresults{display:grid;gap:5px;min-height:0}
.navlinks{display:flex;gap:8px}
.navlinks a{flex:1;min-width:0;display:grid;place-items:center;min-height:42px;border:1px solid var(--line);border-radius:9px;color:var(--primary);background:var(--surface);font-size:13px;font-weight:700;text-decoration:none;text-align:center;padding:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.navscreen footer{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.navscreen footer a{color:inherit}
.navpages{display:flex;justify-content:center;gap:7px;min-height:29px}
.navpages button{width:30px;height:29px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font-size:12px}
.navpages button[aria-pressed=true]{background:var(--primary);color:var(--on-primary)}
.navchips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.navchips button{min-width:0;overflow:hidden;text-overflow:ellipsis;border:1px solid var(--line);border-radius:99px;background:var(--surface);color:var(--text);padding:4px 8px;font-size:12px;line-height:1.2;white-space:nowrap}
.navchips button[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}
#catalogue-search{width:100%;min-height:40px;border:1px solid var(--line);border-radius:8px;padding:6px 10px;background:var(--surface);color:var(--text);font:inherit;font-size:15px}
.navbottom{margin-top:auto}.navbottom .btn{width:100%;min-height:44px}
.navsummary{display:grid;gap:4px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:13px}
.navsummary a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navsummary p{margin:0}.navsummary small{color:var(--muted)}
.vtpane[data-vt="sum"] > .pcard,.vtpane[data-vt="sum"] > .pgrid,.vtpane[data-vt="sum"] > .vtnote{display:none}
.navscreen .sheet{max-height:80dvh;overflow:auto}
.navsettings{display:grid;gap:10px}
.navreviewpage .navanswers{display:grid;gap:5px}
.navreviewpage .opt{margin:0}
.screen[data-engine]{--engine-sticky-height:calc(70px + var(--sab))}
html .screen[data-engine]:not([data-engine-index="done"]){padding-bottom:var(--engine-sticky-height)}
.screen[data-engine]:not([data-engine-index="done"]) .bottom{position:fixed;bottom:0;left:0;right:0;z-index:5;min-height:var(--engine-sticky-height);background:var(--bg);padding:8px calc(var(--sar) + 16px) calc(var(--sab) + 8px);box-shadow:0 -4px 12px rgba(0,0,0,.06)}
[data-engine] .mixscene{padding:9px 11px;font-size:14px;line-height:1.3}
[data-engine] .mixscene p{margin:3px 0}
[data-engine] h1{font-size:clamp(21px,5.6vw,26px);margin:6px 0}
[data-engine] .opt{padding-top:9px;padding-bottom:9px;white-space:normal;overflow:visible;text-overflow:clip}
body.theme-work{--bg:#F5F6F8;--surface:#FFFFFF;--text:#252B33;--muted:#59616D;--line:#D7DCE2;--primary:var(--org-primary);--on-primary:var(--org-on-primary);--primary-soft:#EDF2F6;--r:8px;--r2:8px;color-scheme:light;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.theme-work .card,body.theme-work .pcard,body.theme-work .pmini,body.theme-work .navcard,body.theme-work .navrow,body.theme-work .btn,body.theme-work .opt,body.theme-work .sheet{border-radius:8px!important;box-shadow:none}
body.theme-work .btn.primary{background:var(--primary);color:var(--on-primary)}
body.theme-work .dpet,body.theme-work .dgrow,body.theme-work .dshare,body.theme-work .avhome,body.theme-work .avset,body.theme-work .bhome,body.theme-work .bdpop,body.theme-work .xpflash,body.theme-work .combo,body.theme-work .chset{display:none!important}
@media(max-width:375px){.navscreen{padding-left:12px;padding-right:12px}.navrow{min-height:51px}.navchips button{font-size:11px;padding:3px 7px}}
/* R1d work context and compact HR screen */
.workmenu{display:grid;gap:.55rem;padding:.7rem 0;border-bottom:1px solid var(--line,#dce5e5)}
.workcontexts{display:flex;flex-wrap:wrap;gap:.4rem}
.workcontexts button,.worktabs button{border:1px solid #b8d5d6;border-radius:999px;background:#fff;color:#24545a;padding:.45rem .7rem;font:inherit}
.workcontexts button[aria-pressed=true],.worktabs button[aria-pressed=true]{background:#08707a;color:#fff}
.workmenu a{color:inherit}
.workhr{overflow:hidden;gap:6px}
.workinvite{overflow-y:auto}
.workhr .workpanel{min-height:0;flex:none}
.workhr .spacer{flex:1;min-height:0}
.workform{display:grid;gap:.4rem;margin:.3rem 0 .55rem}
.workform label,.workhr .card label{display:grid;gap:.25rem;font-size:.9rem}
.workform input,.workform select,.workhr .card input{width:100%;min-height:2.7rem;border:1px solid #b8d5d6;border-radius:.65rem;padding:.5rem;font:inherit;background:#fff;color:#193638}
.workperson{display:flex;justify-content:space-between;align-items:center;gap:.5rem;border-bottom:1px solid #e2e8e8;padding:.5rem 0;overflow-wrap:anywhere}
.workperson span{display:grid;min-width:0}.workperson small{color:#60787a}
.workassignment{margin:.5rem 0}.workassignmenttitle{display:flex;justify-content:space-between;gap:.5rem}
.workreporttools{display:flex;align-items:end;gap:6px;min-width:0}.workreporttools label{flex:1;min-width:0;display:grid;gap:2px;font-size:12px}.workreporttools select{width:100%;min-width:0;min-height:32px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);font:inherit}.workreporttools .btn{flex:none;width:auto;min-height:32px;padding:4px 8px;font-size:12px;white-space:nowrap}
.workcounts{display:flex;flex-wrap:wrap;gap:2px 8px;margin:2px 0 5px;font-size:11px;line-height:1.25;color:var(--muted)}
.workcounts span{white-space:nowrap}
.worktable{display:grid;gap:.35rem;font-size:.82rem}.worktable>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.4rem;align-items:center;overflow-wrap:anywhere}
.workassignment .worktable{max-height:clamp(110px,22vh,185px);overflow-y:auto}
.workchip{border-radius:999px;background:#e6f4f4;color:#174e54;padding:.2rem .4rem;white-space:nowrap}
.workhr footer{flex:none;padding-bottom:0;line-height:1.2}
.workhr #hrmsg{min-height:0;margin:0}
.sources-panel .provenance{font-size:13px;line-height:1.35}
.sources-panel .provenance p{margin:5px 0}
.sources-panel .provenance ul{margin:4px 0 0;padding-left:18px}
.navhomehead .orgname,.navhead .orgname{font-size:.82rem;color:#48676a;margin-left:.4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.navhomehead .orglogo,.navhead .orglogo{width:28px;height:28px;flex:none;object-fit:contain;margin-left:4px}

.donescr .result-answer blockquote{margin:.75rem 0;white-space:pre-wrap;overflow-wrap:anywhere}
/* R1h CSS assertion: at 320–414px, each chip/tab label must wrap fully (scrollWidth <= clientWidth + 1), with no ellipsis or page-wide chip scroller. */
.navchips button,.worktabs button{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal;min-width:0}
.navchips{min-width:0}
.worktabs button{font-size:12px;padding:5px 6px}
.navhomecards{display:grid;gap:8px;min-height:0}
body.theme-work .worktabs button[aria-pressed=true],body.theme-work .workcontexts button[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}
.screen[data-engine]:has([data-engine-text]:focus){padding-bottom:calc(var(--engine-sticky-height) + var(--engine-keyboard,0px) + 16px)}
.screen[data-engine]:has([data-engine-text]:focus) .bottom{bottom:var(--engine-keyboard,0px)}
[data-engine-text]{scroll-margin-bottom:calc(var(--engine-sticky-height) + 24px)}
