@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{--navy:#111a36;--ink:#18213d;--muted:#73809b;--purple:#7657f6;--teal:#22c7b8;--bg:#f4f6fb;--line:#e7eaf2;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}button,input,textarea,select{font:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:var(--navy);color:white;padding:27px 18px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:11px;align-items:center;padding:0 7px 40px}.brand-mark{width:39px;height:39px;border-radius:12px;background:linear-gradient(135deg,#8b6cff,#35d4c2);display:grid;place-items:center;font-size:24px}.brand b{font:700 13px 'Space Grotesk';letter-spacing:.7px}.brand small{display:block;color:#9ba8c8;font-size:10px;letter-spacing:1.3px;margin-top:4px}.sidebar nav{display:grid;gap:8px}.nav{border:0;background:transparent;color:#aeb8d0;text-align:left;padding:13px 14px;border-radius:11px;display:flex;gap:13px;align-items:center;font-size:14px;cursor:pointer}.nav.active,.nav:hover{background:#283354;color:white}.nav.active{box-shadow:inset 3px 0 var(--teal)}.sidebar-bottom{margin-top:auto;color:#aeb8d0;font-size:12px;padding:15px 8px}.sidebar-bottom small{display:block;color:#7583a4;line-height:1.5;margin-top:10px}.offline-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#32d5a6;margin-right:8px}main{margin-left:248px;max-width:1500px;padding:0 44px}.topbar{height:78px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.crumb{font-size:11px;letter-spacing:1.2px;color:#8993a9}.crumb span{padding:0 10px;color:#c2c8d5}.crumb b{color:#38435e}.profile{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;background:#e6e1ff;color:#654ce0;display:grid;place-items:center;font-size:11px;font-weight:700}.profile input{width:120px;border:0;background:transparent;outline:0;color:var(--ink);font-size:13px}.page{display:none;padding:32px 0 50px}.page.active{display:block}.hero{background:linear-gradient(115deg,#171f43,#302a69 65%,#4e3f91);border-radius:22px;padding:42px 48px;color:white;display:flex;justify-content:space-between;align-items:center;min-height:280px;overflow:hidden;position:relative}.hero h1,.page-heading h1{font:700 clamp(29px,3vw,40px) 'Space Grotesk';letter-spacing:-1.3px;margin:10px 0}.hero h1 span{color:#45dac7}.hero p{color:#c7cbe1;max-width:470px;line-height:1.7;font-size:14px;margin:0 0 23px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--teal)}.primary{border:0;background:var(--teal);color:#092d39;padding:12px 18px;border-radius:10px;font-weight:700;font-size:13px;cursor:pointer}.primary b{padding-left:13px}.hero-art{width:310px;height:210px;position:relative;display:grid;place-items:center}.sheet-card{width:255px;background:#fff;border-radius:13px;padding:12px;box-shadow:0 20px 55px #090d2866;transform:rotate(4deg)}.sheet-top{font-size:8px;color:#ff7a78;letter-spacing:2px;border-bottom:1px solid #edf0f5;padding-bottom:10px}.sheet-top span{color:#8993a9;letter-spacing:0;margin-left:10px}.mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:13px 4px}.mini-grid i{height:22px;background:#eef1f7;border-radius:3px}.mini-grid i:nth-child(3n){background:#d9f8f3}.mini-grid i:nth-child(6){background:#dcd5ff}.formula-chip{background:#f0edff;color:#654ce0;font-size:10px;padding:8px;border-radius:6px}.float-tag{position:absolute;right:0;bottom:10px;background:#fff;color:#5845c7;border-radius:9px;padding:10px 14px;font-size:11px;font-weight:700;box-shadow:0 10px 30px #0003}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 38px}.stat,.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:20px}.stat>span{font-size:9px;letter-spacing:1.3px;color:#929bb0;font-weight:700}.stat strong{display:block;font:700 29px 'Space Grotesk';margin:9px 0;color:#242d4b}.stat strong small{font:500 13px 'DM Sans';color:#8993a9}.stat p{font-size:12px;color:#929bb0;margin:0}.progress{height:6px;background:#edf0f6;border-radius:10px;margin-top:14px;overflow:hidden}.progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--purple),var(--teal));border-radius:10px;transition:width .3s}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:17px}.section-head h2,.panel h2{font:600 21px 'Space Grotesk';margin:7px 0}.text-button{border:0;background:none;color:#6954e8;font-size:12px;font-weight:700;cursor:pointer}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.module-card{background:white;border:1px solid var(--line);border-radius:15px;padding:20px;cursor:pointer;transition:.2s}.module-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #26315b12}.module-icon{width:42px;height:42px;border-radius:12px;background:#f0edff;color:#7157ef;display:grid;place-items:center;font-size:20px}.module-card h3{font:600 16px 'Space Grotesk';margin:14px 0 6px}.module-card p{font-size:12px;color:#818ba2;line-height:1.6;min-height:38px}.module-meta{display:flex;justify-content:space-between;color:#8993a9;font-size:10px;margin-top:15px}.notice,.callout{background:#eefffb;border:1px solid #d4f6ef;border-radius:12px;padding:15px 18px;color:#4e6c70;font-size:12px;line-height:1.7;margin-top:20px}.page-heading{margin:5px 0 25px}.page-heading h1{margin:8px 0}.page-heading p{color:#828da4;font-size:14px}.exercise-layout{display:grid;grid-template-columns:270px 1fr;gap:18px;align-items:start}.exercise-list{display:grid;gap:8px}.exercise-item{border:1px solid var(--line);background:#fff;border-radius:11px;padding:13px;text-align:left;cursor:pointer;display:flex;gap:12px;align-items:center}.exercise-item.selected{border-color:#9d8df9;background:#f7f5ff}.exercise-num{width:30px;height:30px;border-radius:9px;background:#f0edff;color:#7157ef;display:grid;place-items:center;font-weight:700;font-size:12px}.exercise-item b{font-size:12px;display:block}.exercise-item small{font-size:10px;color:#8993a9}.exercise-main,.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px}.empty-state{text-align:center;padding:75px 15px;color:#8993a9}.empty-icon{font-size:35px;color:#b7aafa}.task-kicker{font-size:10px;color:#7157ef;font-weight:700;letter-spacing:1.4px}.task-title{font:700 25px 'Space Grotesk';margin:7px 0}.task-desc{font-size:13px;line-height:1.75;color:#68748e}.instruction{background:#f6f7fb;border-radius:10px;padding:15px;font-size:12px;line-height:1.7;margin:17px 0}.work-area{border:1px solid #dfe4ed;border-radius:10px;overflow:hidden;margin:18px 0}.work-toolbar{background:#f6f7fa;padding:9px 12px;font-size:11px;color:#6d7891;border-bottom:1px solid #e4e8ef}.sheet-wrap{overflow:auto}.sheet{border-collapse:collapse;width:100%;font-size:12px}.sheet th{background:#f5f7fb;color:#7f8aa1;font-weight:600}.sheet td,.sheet th{border:1px solid #e8ebf1;padding:8px;min-width:75px}.sheet td[contenteditable=true]{background:#fffef5;outline-color:#8e7cf7}.sheet td.header-cell{background:#f0edff;font-weight:700}.task-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-inputs label,.chart-controls label{font-size:11px;color:#6f7a93;font-weight:700}.task-inputs input,.chart-controls select,.answer-row textarea{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid #dfe4ed;border-radius:8px;outline-color:#8d7af5;background:white}.feedback{font-size:12px;padding:10px 12px;border-radius:8px;margin:12px 0}.feedback.good{background:#eafff7;color:#167b5a}.feedback.bad{background:#fff3ed;color:#a75b31}.hint-box{font-size:12px;background:#fff8e8;border:1px solid #f5e7be;border-radius:8px;padding:12px;margin:12px 0;color:#796335}.task-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.secondary{background:white;border:1px solid #dce1eb;border-radius:9px;padding:11px 15px;color:#53607b;font-size:12px;font-weight:700;cursor:pointer}.tag{background:#f0edff;color:#7058e9;border-radius:20px;padding:6px 9px;font-size:9px;font-weight:700;letter-spacing:1px}.panel{margin-bottom:18px}.panel p{font-size:12px;color:#7e89a0;line-height:1.7}.panel-head{display:flex;justify-content:space-between;align-items:start}.chart-controls{display:flex;gap:15px;margin:16px 0}.chart-controls select{min-width:140px}canvas{width:100%;height:auto;border:1px solid #edf0f5;border-radius:10px}.answer-row{margin-top:16px}.answer-row label{font-size:12px;font-weight:700}.answer-row textarea{min-height:75px;margin-bottom:10px}.practice-banner{background:linear-gradient(110deg,#252653,#5143a0);color:white;border-radius:15px;padding:25px 30px;display:flex;justify-content:space-between;align-items:center}.practice-banner h2{font:700 24px 'Space Grotesk';margin:10px 0}.practice-banner p{color:#c9c8e5;font-size:12px}.practice-icon{font-size:54px}.checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}.check-step{display:flex;gap:12px;align-items:center;background:white;border:1px solid var(--line);border-radius:10px;padding:13px;font-size:12px}.check-step input{accent-color:#7157ef;width:17px;height:17px}.research-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.research-card{padding:12px;background:#f7f8fb;border-radius:9px;font-size:11px;line-height:1.6}.research-card b{color:#6e57e8}.progress-row{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #edf0f5;font-size:12px}.progress-row:last-child{border:0}footer{border-top:1px solid var(--line);padding:20px 0 30px;color:#929bb0;font-size:10px}footer span{float:right}@media(max-width:1000px){main{padding:0 24px}.sidebar{width:210px}main{margin-left:210px}.hero-art{width:230px}.module-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.sidebar{position:fixed;inset:auto 0 0;width:100%;height:65px;padding:6px 8px;display:block}.brand,.sidebar-bottom{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:2px}.nav{flex:1;justify-content:center;flex-direction:column;gap:2px;padding:6px 2px;font-size:17px}.nav span{font-size:9px}.nav.active{box-shadow:inset 0 3px var(--teal)}main{margin:0;padding:0 15px 75px}.topbar{height:60px}.hero{padding:28px 23px;min-height:250px}.hero-art{display:none}.stats{gap:8px}.stat{padding:13px}.stat strong{font-size:22px}.stat>span{font-size:8px}.module-grid{grid-template-columns:1fr}.exercise-layout{grid-template-columns:1fr}.exercise-list{grid-template-columns:repeat(2,1fr)}.exercise-item{padding:9px}.exercise-main{padding:17px}.task-inputs,.checklist,.research-grid{grid-template-columns:1fr}.practice-banner{padding:20px}.practice-icon{font-size:36px}.page{padding-top:22px}footer span{display:block;float:none;margin-top:6px}.chart-controls{flex-wrap:wrap}}
/* v0.02 – havo 4-verdieping */
.advanced-panel{margin-bottom:35px}.advanced-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.advanced-heading h2,.advanced-oldheader h2{font:700 24px 'Space Grotesk';margin:8px 0}.advanced-heading p,.advanced-oldheader p{font-size:13px;color:#73809b;line-height:1.6}.advanced-pill{background:#e7f9f5;color:#147568;border-radius:20px;font-weight:700;white-space:nowrap;padding:9px 12px;font-size:10px}.advanced-summary{font-size:12px;margin-top:15px;color:#59657a}.advanced-summary strong{font-size:18px;color:#4937ba}.advanced-progress{height:8px;background:#e6eaf4;border-radius:15px;overflow:hidden;margin:10px 0 16px}.advanced-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#7457ef,#22c7b8);transition:width .3s}.advanced-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:13px}.advanced-tools label{font-size:12px;font-weight:700}.advanced-tools select{min-width:160px;padding:10px;border:1px solid #dce1eb;border-radius:9px;background:white;color:#27324c}.advanced-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;align-items:start}.advanced-list{display:grid;gap:7px;max-height:660px;overflow:auto;overscroll-behavior:contain}.advanced-question{border:1px solid #dfe4ee;background:white;border-radius:11px;padding:12px;display:flex;gap:11px;text-align:left;cursor:pointer;color:#25304c;align-items:center;width:100%}.advanced-question>span:first-child{width:30px;min-width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#f0edff;color:#7157ef;font-size:11px;font-weight:700}.advanced-question span b{display:block;font-size:12px}.advanced-question small{display:block;font-size:10px;color:#7e8aa0;margin-top:5px}.advanced-question.active{border-color:#7057e9;background:#f8f6ff}.advanced-question.completed>span:first-child{background:#dbf9ed;color:#116f52}.advanced-work{background:white;border:1px solid var(--line);padding:24px;border-radius:15px;min-width:0}.advanced-work .sheet-wrap{overflow:auto;margin:15px 0}.advanced-work .sheet td{min-width:70px}.advanced-question-text{padding:16px;border-radius:11px;background:#f4f6fb;font-size:14px;line-height:1.7;font-weight:700;margin:18px 0}.advanced-input-label{font-size:12px;font-weight:700;color:#53607b;display:block}.advanced-input-label input{display:block;width:100%;margin-top:8px;border-radius:9px;border:1px solid #cdd5e4;padding:14px;font-size:16px}.advanced-choices{display:grid;gap:10px}.advanced-choices label{display:flex;align-items:center;gap:10px;background:#fafbfe;border:1px solid #e1e6ef;border-radius:9px;padding:12px;cursor:pointer;font-size:13px}.advanced-choices input{accent-color:#7257ef;width:17px;height:17px}.advanced-note{font-size:11px;color:#8792a8;line-height:1.6;margin-top:20px}.advanced-done{font-size:12px;color:#13825e}.advanced-dashboard{display:flex;justify-content:space-between;align-items:center;gap:14px;background:white;border:1px solid #d7e4ef;border-radius:15px;padding:20px;margin:20px 0}.advanced-dashboard b{font-size:16px}.advanced-dashboard p{font-size:12px;color:#68748e;margin:6px 0 0}.advanced-oldheader{border-top:1px solid #e1e5ed;padding-top:22px;margin-bottom:16px}.advanced-oldheader h2{font-size:20px}.advanced-oldheader p{margin-top:0}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7457ef;outline-offset:2px}
@media(max-width:900px){.advanced-layout{grid-template-columns:1fr}.advanced-list{display:flex;overflow-x:auto;max-height:none;gap:7px;padding-bottom:6px}.advanced-question{min-width:195px;max-width:230px}.advanced-work{padding:19px}}@media(max-width:540px){.advanced-heading{align-items:flex-start}.advanced-pill{font-size:9px}.advanced-heading h2{font-size:21px}.advanced-dashboard{align-items:flex-start;flex-direction:column}.advanced-work{padding:15px}.advanced-question-text{font-size:13px}}


/* v0.04 – Excel-achtige werkbladen */
.excel-window{border:1px solid #d8e0eb;border-radius:12px;overflow:hidden;background:#fff;margin:16px 0;box-shadow:0 8px 24px #26315b0c}.excel-ribbon{height:42px;background:#f4f6fa;border-bottom:1px solid #e1e6ef;display:flex;align-items:center;gap:10px;padding:0 13px;font-size:11px;color:#36435e}.excel-logo{background:#147d56;color:#fff;border-radius:5px;padding:4px 6px;font-size:14px}.excel-ribbon-hint{margin-left:auto;color:#8b96aa;font-size:10px}.excel-formula-row{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#fff;border-bottom:1px solid #e6eaf1}.excel-namebox{min-width:52px;text-align:center;padding:7px 6px;background:#f5f7fa;border:1px solid #dfe5ee;border-radius:5px;font-size:11px;color:#46516a;font-weight:700}.excel-fx{font:italic 700 14px Georgia;color:#7b8498}.excel-formula-input{min-width:0;flex:1;border:1px solid #dfe5ee;border-radius:5px;padding:8px 10px;font-size:12px;outline-color:#7657f6}.excel-enter{border:0;background:#e6faf5;color:#147d68;border-radius:6px;width:32px;height:32px;font-weight:700;cursor:pointer}.excel-grid-scroll{overflow:auto;max-height:440px;background:#fff}.excel-grid{border-collapse:collapse;min-width:600px;width:100%;table-layout:fixed;font:12px 'DM Sans',sans-serif}.excel-grid th{height:27px;background:#f1f4f8;color:#66728b;font-weight:600;border:1px solid #dfe4ec;text-align:center;min-width:76px}.excel-grid th.corner{width:42px;min-width:42px}.excel-grid th.row-head{width:42px;min-width:42px}.excel-grid td{height:29px;border:1px solid #e4e8ef;padding:5px 8px;min-width:76px;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#37425b;cursor:cell}.excel-grid td:hover{background:#f7f9ff}.excel-grid td.selected{outline:2px solid #7657f6;outline-offset:-2px;background:#f4f1ff}.excel-grid td.locked-cell{background:#f8fafc;color:#66728b}.excel-grid td.formula-cell{color:#087c69;background:#f0fcf8;font-weight:600}.excel-inline-editor{width:100%;height:25px;border:1px solid #7657f6;padding:2px 4px;font-size:12px}.excel-tabs{display:flex;align-items:center;gap:12px;padding:8px 11px;background:#f4f6fa;border-top:1px solid #e0e5ed;min-height:38px}.excel-tab{padding:7px 12px;border-bottom:2px solid #169b77;background:#fff;color:#276553;font-size:10px;font-weight:700}.excel-tab-note{font-size:9px;color:#8792a8}.excel-reset{margin-left:auto;border:0;background:transparent;color:#7d879c;font-size:10px;cursor:pointer}.excel-status{display:flex;justify-content:space-between;padding:7px 12px;background:#f9fafc;border-top:1px solid #edf0f4;color:#8b95a9;font-size:9px}.advanced-question-text{border-left:3px solid #7657f6;padding:11px 14px;background:#f8f7ff;border-radius:0 8px 8px 0;font-size:12px;line-height:1.7;color:#56617b;margin:14px 0}.advanced-note{font-size:10px;color:#8792a8;line-height:1.6;margin-top:14px}
@media(max-width:600px){.excel-ribbon-hint{display:none}.excel-grid-scroll{max-height:360px}.excel-grid{min-width:520px}.excel-tabs{gap:6px}.excel-tab-note{display:none}.excel-reset{font-size:9px}}
