/* Compact reading layout. Equations and tables retain their own alignment. */
body.study-shell[data-page="les"]{--study-sidebar-width:248px}
body.study-shell[data-page="les"] .layout{max-width:none;align-items:start}
body.study-shell[data-page="les"] #sidebar{padding:16px 12px 24px;top:calc(var(--study-header-height) + var(--lesson-nav-height,49px));height:calc(100dvh - var(--study-header-height) - var(--lesson-nav-height,49px))}
body.study-shell[data-page="les"] .side-head{margin:12px 0 6px}
body.study-shell[data-page="les"] .phase-title{margin:16px 0 6px}
body.study-shell[data-page="les"] .lesson-link{padding:8px 6px;gap:8px;margin:0;min-height:44px}
body.study-shell[data-page="les"] main{max-width:1200px;margin:0 auto;padding:0 24px 24px}
body.study-shell[data-page="les"] .study-page-name,body.study-shell[data-page="les"] .sra-breadcrumb{display:none}
body.study-shell[data-page="les"] .lesson-top{position:sticky;top:calc(var(--study-header-height) + var(--lesson-nav-height,49px));z-index:30;background:var(--bg);padding:12px 0 10px;margin:0;border-bottom:1px solid var(--line)}
body.study-shell[data-page="les"] .lesson-top .eyebrow{margin:0 0 4px;font-size:.68rem}
body.study-shell[data-page="les"] .lesson-top h1{margin:0;font-size:1.4rem;line-height:1.25;letter-spacing:0;overflow-wrap:break-word}
body.study-shell[data-page="les"] .jump{margin:12px 0;gap:6px}
body.study-shell[data-page="les"] .jump a{border-radius:3px}
.lesson-preparation{margin:0 0 16px;min-width:0}
body.study-shell[data-page="les"] .lesson-top .lesson-source-title{font-size:.85rem;font-weight:500;line-height:1.5;margin:8px 0 4px}
.lesson-preparation .lesson-start{grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));padding:0;margin:0;border:0;border-radius:0;background:transparent;gap:16px}
.lesson-preparation .lesson-start>div{min-width:0}
.lesson-preparation .lesson-start h2{font-size:1rem;line-height:1.5;margin:0 0 8px}
.lesson-preparation .lesson-start ul{padding-left:20px;margin:0}
body[data-page="les"] #main .lesson-preparation li,body[data-page="les"] #main .lesson-preparation p{text-align:left;hyphens:none}
body[data-page="les"] #main .lesson-preparation .lesson-start li{margin:0 0 6px;line-height:1.6}
body[data-page="les"] #main .lesson-preparation .lesson-start li:last-child{margin-bottom:0}
html[data-study-theme=dark]:not(:has(body.cirrus-mode)) .lesson-preparation .lesson-start{background:transparent;border:0}
.lesson-opening{margin:16px 0}
.lesson-conclusion{margin:24px 0 16px;padding-top:16px;border-top:1px solid var(--line)}
.lesson-conclusion h2{font-size:1.1rem;margin-bottom:10px}
.lesson-conclusion h3{font-size:.95rem;margin:0 0 4px}
.lesson-conclusion-blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:16px}
body[data-page="les"] #main .lesson-conclusion-blocks p{margin-bottom:0}
/* Groen is wat er al ligt, blauw wat volgt; dezelfde kleuren bij voorkennis en vervolg. */
.lesson-preparation .lesson-start>div:first-child,.lesson-kern{background:#e6f4ec;border:1px solid #bfe0cc;border-radius:var(--radius);padding:14px 16px}
.lesson-preparation .lesson-start>div:last-child,.lesson-vervolg{background:#e6f1fb;border:1px solid #bcd7ef;border-radius:var(--radius);padding:14px 16px}
html[data-study-theme=dark]:not(:has(body.cirrus-mode)) .lesson-preparation .lesson-start>div:first-child,html[data-study-theme=dark]:not(:has(body.cirrus-mode)) .lesson-kern{background:#1a2b22;border-color:#2d5a45}
html[data-study-theme=dark]:not(:has(body.cirrus-mode)) .lesson-preparation .lesson-start>div:last-child,html[data-study-theme=dark]:not(:has(body.cirrus-mode)) .lesson-vervolg{background:#172636;border-color:#2b4f73}
body.study-shell[data-page="les"] .jump{align-items:center}
body.study-shell[data-page="les"] .jump .lesson-meta{display:inline-flex;flex-wrap:wrap;align-items:center;gap:2px 16px;margin:0 0 0 8px;font-size:.85rem;line-height:1.4}
body.study-shell[data-page="les"] .jump .lesson-meta span{white-space:nowrap}
.lesson-opening{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px}
html[data-study-theme=dark]:not(:has(body.cirrus-mode)) .lesson-opening{background:#152129;border-color:#3b4a54}
/* Bronnummers per blok; de lijst onderaan de les is standaard ingeklapt. */
#main .source-notes{font-size:.8rem;color:var(--study-muted,#5d6170);text-align:left;margin:10px 0 0}
.source-note{display:inline-block;min-width:24px;min-height:24px;padding:0 2px;text-align:center;text-decoration:none;font-weight:600}
.source-note:hover,.source-note:focus-visible{text-decoration:underline}
.lesson-sources{margin:24px 0 16px;padding:12px 16px;border:1px solid var(--line)}
.lesson-sources summary{cursor:pointer;min-height:32px}
.lesson-sources ol{margin:10px 0 0;padding-left:28px}
.lesson-sources li{scroll-margin-top:120px;border-radius:4px}
.lesson-sources li.is-target{animation:source-target 2s ease-out}
@keyframes source-target{from{background:rgba(0,136,89,.18)}to{background:transparent}}
@media (prefers-reduced-motion:reduce){.lesson-sources li.is-target{animation:none;outline:2px solid var(--green,#008859)}}
/* Grid-items mogen smaller worden dan hun breedste tabel; die scrolt dan in zijn eigen container. */
.sra-learning-phase{min-width:0}
.sra-phase-summary-body{overflow-wrap:anywhere}
.sra-phase-summary-body{padding:0 0 18px;line-height:1.6}
.sra-phase-summary-body p,.sra-phase-summary-body li{text-align:justify;hyphens:auto}
body[data-page="les"] #main p,body[data-page="les"] #main li,body[data-page="les"] .section-body,body[data-page="formules"] #main p,body[data-page="formules"] #main li,body[data-page="formules"] .formula-guide-card{text-align:justify;hyphens:auto;text-justify:inter-word}
body[data-page="les"] #main summary,body[data-page="formules"] #main summary{text-align:left}
body[data-page="les"] #main p{margin-bottom:12px}
body[data-page="les"] #main li{margin-bottom:6px}
body.study-shell[data-page="les"] .section{margin:12px 0}
/* Tekstblokken zijn vast open: een kop zonder uitklapknop. */
body.study-shell[data-page="les"] .section>.section-head{display:flex;align-items:center;gap:10px;margin:0;padding:14px 16px 8px;font-size:1.04rem;font-weight:700;line-height:1.4;letter-spacing:0;color:#353247}
body.study-shell[data-page="les"] .section-body{padding:0 16px 6px;line-height:1.6}
body.study-shell[data-page="les"] .example{margin:20px 0;padding:18px 16px}
body[data-page="les"] .formula,body[data-page="formules"] .formula{margin:8px 0;padding:6px 12px;width:fit-content;min-width:min(100%,320px);max-width:100%}
body[data-page="les"] .formula-row,body[data-page="formules"] .formula-row{padding:4px 0}body[data-page="les"] .formula-typeset math,body[data-page="formules"] .formula-typeset math{font-size:1.04em}
body[data-page="les"] .formula-label,body[data-page="formules"] .formula-label{margin-bottom:2px}.symbols.formula-legend{display:block;margin:6px 0 2px;padding:6px 0 0;border-top:1px solid #d7deea;font-size:.8rem;line-height:1.4;color:#505c73;min-width:min(100%,15em)}.symbols.formula-legend dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:1px 10px;margin:0}.symbols.formula-legend .symbol-item{display:contents}.symbols.formula-legend dd{margin:0}@media(min-width:701px){body[data-page="les"] .formula-typeset:has(.formula-legend),body[data-page="formules"] .formula-typeset:has(.formula-legend){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12em),max-content));column-gap:32px;justify-content:space-evenly;align-items:start}body[data-page="les"] .formula-typeset:has(.formula-legend)>.formula-row,body[data-page="formules"] .formula-typeset:has(.formula-legend)>.formula-row{display:grid;grid-row:span 3;grid-template-rows:subgrid;align-content:start}body[data-page="les"] .formula-typeset:has(.formula-row + .formula-row):has(.formula-legend),body[data-page="formules"] .formula-typeset:has(.formula-row + .formula-row):has(.formula-legend){width:auto}}html[data-study-theme=dark] .symbols.formula-legend{border-top-color:#3b4a54}
body[data-page="les"] .table-scroll{margin:12px 0}
body[data-page="les"] table{margin:8px 0}
body[data-page="les"] th,body[data-page="les"] td{padding:8px 10px}
body.study-shell[data-page="les"] .lesson-bottom{position:static;padding:14px 0;border-width:1px 0 0;background:transparent}
/* Formules in de lopende tekst: zelfde lettertype, grootte en gewicht als de tekst. */
math[display="inline"]{display:inline math;math-style:normal;font-size:1em;white-space:nowrap;padding:0 .12em;background:#eef3f8;border-radius:3px}
.inline-expression{display:inline-block;max-width:100%;word-spacing:normal;text-align:left;hyphens:none;padding:0 .12em}
.inline-expression:has(mfrac,msqrt){padding:.14em 0;vertical-align:middle;overflow-x:auto;overflow-y:hidden}
.inline-expression.formula-line{display:block;margin:8px 0}
.inline-value{font-variant-numeric:tabular-nums;white-space:nowrap}
.inline-expression math[display="inline"]{font-size:1em;background:transparent;padding:0}
/* Breuken en wortels in kleine tabeltekst blijven leesbaar: teller en noemer worden anders te klein. */
table .inline-expression:has(mfrac,msqrt,mroot),table math[display="inline"]:has(mfrac,msqrt,mroot){font-size:1.3em}
.lesson-progress{display:flex;flex-wrap:wrap;gap:2px 9px;font-size:.73rem;font-weight:400;color:var(--study-muted);line-height:1.4;margin-top:4px}
.lesson-progress .is-done{color:var(--study-green-dark);font-weight:600}
.sra-learning-status .lesson-progress{margin:0;justify-content:flex-end}
@media(max-width:760px){.sra-learning-status .lesson-progress{justify-content:flex-start}}
@media(max-width:760px){
 body[data-page="les"] #main li:has(.inline-expression),body[data-page="formules"] #main li:has(.inline-expression){text-align:left}
 body.study-shell[data-page="les"] main{padding:0 14px 24px}
 body.study-shell[data-page="les"] .lesson-top h1{font-size:1.15rem}
 body.study-shell[data-page="les"] .lesson-top{padding:8px 0}
 body.study-shell[data-page="les"] .section>.section-head{padding:12px 12px 6px;gap:8px}
 body.study-shell[data-page="les"] .section-body{padding:0 12px 6px}
 body.study-shell[data-page="les"] .jump{gap:5px;margin:10px 0}
 body.study-shell[data-page="les"] .jump a{padding:6px 8px}
}
@media print{body.study-shell[data-page="les"] .lesson-top{position:static}.lesson-preparation{display:none}}
/* Use the current shared page heading, including Home, Dashboard and Meer. */
body.study-shell.learning-page-layout[data-page="les"] .learning-page-head{position:sticky;top:var(--study-header-height);z-index:40}
/* De paginakop toont de titel; fase, lesnummer en bronregel staan al in het lesmenu. */
body.study-shell.learning-page-layout[data-page="les"] .lesson-top{display:none}
body.study-shell.learning-page-layout[data-page="les"] #sidebar{top:calc(var(--study-header-height) + var(--learning-head-height,58px));height:calc(100dvh - var(--study-header-height) - var(--learning-head-height,58px))}
html:has(body.learning-page-layout[data-page="les"]){scroll-padding-top:0}
body.learning-page-layout[data-page="les"] :is(#uitleg,#onderzoek,#voorbeeld,#begrip){scroll-margin-top:calc(var(--study-header-height) + var(--learning-head-height,58px) + 12px)}
/* Brongebonden uitleg, uitvoer en casussen binnen de bestaande leeromgeving. */
.formula-visual{--fv-green:#087c66;--fv-purple:#6857a0;--fv-orange:#a64b13;margin:14px 0;padding:12px 14px;border:1px solid #d5e3dd;border-radius:8px;background:#f8fbfa;min-width:0}
.formula-visual>h3{margin:0 0 4px;font-size:1rem}.formula-visual .fv-provenance{margin:0 0 8px;font-size:.78rem;line-height:1.5;color:#526579}
.fv-panels{display:flex;flex-wrap:wrap;justify-content:space-evenly;gap:12px 28px;align-items:flex-start}.fv-panel{flex:1 1 0;min-width:min(100%,14em)}.fv-panel:has(>.fv-chart){max-width:320px}.fv-panel:only-child:has(>.fv-chart):has(>.fv-work){display:grid;grid-template-columns:minmax(0,300px) minmax(14em,1fr);column-gap:24px;max-width:none;flex:1 1 100%;align-items:center}.fv-panel:only-child:has(>.fv-chart):has(>.fv-work)>*{grid-column:1}.fv-panel:only-child:has(>.fv-chart):has(>.fv-work)>.fv-work{grid-column:2;grid-row:1 / span 4;margin:0}
.fv-panel:only-child:has(>:is(.fv-table,.table-scroll,.mini-chart)):has(>.fv-work){display:grid;grid-template-columns:auto minmax(14em,1fr);column-gap:24px;max-width:none;flex:1 1 100%;align-items:center}.fv-panel:only-child:has(>:is(.fv-table,.table-scroll,.mini-chart)):has(>.fv-work) .fv-table{width:auto}.fv-panel:only-child:has(>:is(.fv-table,.table-scroll,.mini-chart)):has(>.fv-work)>.fv-work{grid-column:2;grid-row:1 / span 4;margin:0}@media(max-width:700px){.fv-panel:only-child:has(>:is(.fv-table,.table-scroll,.mini-chart)):has(>.fv-work){display:block}}.formula-visual .fv-panel>.mini-chart{display:block;width:100%;max-width:260px;height:auto}

.fv-panel{margin:0;min-width:0}.fv-panel>figcaption{font-size:.85rem;font-weight:650;line-height:1.4;margin:0 0 4px}
.fv-chart{display:block;width:100%;max-width:300px;height:auto;overflow:visible}.fv-chart text{font-family:Arial,Helvetica,sans-serif;font-size:12px;fill:#374b5a}.fv-chart .fv-gridline{stroke:#e0e8e5;fill:none}.fv-chart .fv-axis{stroke:#526579;fill:none}
.formula-visual .fv-legend{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.75rem;line-height:1.4;margin:2px 0 4px}.fv-legend>span{display:flex;gap:5px;align-items:center}.fv-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none}
.formula-visual .fv-work{font-size:.84rem;line-height:1.55;margin:4px 0 0}.formula-visual .fv-meaning{margin:10px 0 0;font-size:.86rem;line-height:1.55;border-top:1px solid #d5e3dd;padding-top:8px}
.formula-visual .fv-table{width:100%;font-size:.8rem;border-collapse:collapse;min-width:0}body[data-page] #main .formula-visual p{text-align:left;hyphens:manual}.fv-table caption{text-align:left;font-size:.76rem;line-height:1.4;padding:0 0 4px;color:#526579}.fv-table th,.fv-table td{padding:4px 8px;text-align:left;white-space:normal;border:1px solid #d5e3dd}.fv-table th{background:#edf4f0;font-weight:600}.formula-visual .table-scroll{min-width:0;max-width:100%}
html[data-study-theme=dark] .formula-visual{--fv-green:#70dec0;--fv-purple:#c0b0f3;--fv-orange:#ffc18b;background:#152129;border-color:#354852;color:#e5edf3}
html[data-study-theme=dark] .formula-visual .fv-provenance,html[data-study-theme=dark] .fv-table caption{color:#a7b7c3}html[data-study-theme=dark] .fv-chart text{fill:#e5edf3}html[data-study-theme=dark] .fv-chart .fv-gridline{stroke:#354852}html[data-study-theme=dark] .fv-chart .fv-axis{stroke:#a7b7c3}html[data-study-theme=dark] .fv-table th{background:#25383b}html[data-study-theme=dark] .fv-table td,html[data-study-theme=dark] .fv-table th,html[data-study-theme=dark] .fv-meaning{border-color:#354852}
@media(max-width:700px){.fv-panels{flex-direction:column;align-items:stretch;gap:14px}.formula-visual .fv-table{width:auto}.fv-panel:only-child:has(>.fv-chart):has(>.fv-work){display:block}.formula-visual{padding:10px 12px}.fv-panels>.fv-panel{max-width:440px;width:100%}.fv-chart text{font-size:13px}}
/* Opt-in zwevend kader (float-box): figuur of smalle tabel rechts, de lopende tekst loopt links ervan en eronder door.
   Het kader staat in de HTML vóór die tekst. Een ander blok met achtergrond (figuur of doel) schuift ernaast, niet eronder.
   Het zweven hangt af van de breedte van de tekstkolom, niet van het scherm: met zijbalk is de kolom op een
   tabletbreedte te smal. Onder 680px kolombreedte (dus altijd onder 700px scherm) staat het kader volle breedte. */
.section-body:has(>.float-box){display:flow-root;container-type:inline-size}
.section-body:has(>.float-box)>:is(.formula-visual:not(.float-box),.formula-goal){display:flow-root}
.formula-visual.float-box .fv-panels{flex-direction:column;align-items:stretch;gap:14px}
.formula-visual.float-box .fv-panels>.fv-panel{flex:none;display:block}.formula-visual.float-box .fv-panel>.fv-chart{width:300px;max-width:100%}
.formula-visual.float-box .fv-table{width:auto}.formula-visual.float-box .table-scroll{margin:0}
.formula-visual.float-box .fv-table :is(th,td){padding:3px 7px;min-width:0}
@container (min-width:680px){.formula-visual.float-box{float:right;clear:right;width:fit-content;max-width:45%;margin:4px 0 14px 24px}}
/* Uitlegtabel (scripts/explain_table.py, js/explain-table.js): SPSS-uitvoer met klikbare getallen; de kaart toont de uitleg
   van de gekozen cel. Breed: tabel op natuurlijke breedte links, kaart vult de rest. Smal: kaart onder de tabel.
   Alleen in de app (#main) is één uitleg zichtbaar; de leesversie zonder scripts toont alle uitleg als lijst. */
.explain-table{--et-mark:#ffe066;--et-mark-ink:#1f1a00;--et-hover:#fff6c7;--et-line:#d5e3dd;clear:both;margin:14px 0;container-type:inline-size}
html[data-study-theme=dark] .explain-table{--et-mark:#f5d04c;--et-mark-ink:#1a1500;--et-hover:#3a3518;--et-line:#354852}
.explain-table .table-scroll{margin:0 0 10px}.explain-table .fv-table{width:auto;font-size:.82rem;border-collapse:collapse;margin:0 0 10px}.explain-table .table-scroll>.fv-table{margin:0}
.explain-table .fv-table :is(th,td){min-width:0}.explain-table .fv-table th[scope=row]{font-weight:600}.explain-table .fv-table td.et-value{padding:0;text-align:right}
.explain-table .et-cell{display:block;width:100%;margin:0;padding:4px 8px;border:0;border-radius:0;background:none;color:inherit;font:inherit;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer}
#main .explain-table .et-cell{text-decoration:underline dotted;text-underline-offset:3px}#main .explain-table .et-cell:hover{background:var(--et-hover)}
#main .explain-table .et-cell[aria-pressed=true]{background:var(--et-mark);color:var(--et-mark-ink);font-weight:700;text-decoration:none}
.explain-table .et-cell:focus-visible{outline:3px solid var(--study-focus,#2786da);outline-offset:-3px}
.explain-table .fv-work{font-size:.84rem;line-height:1.55;margin:0}body[data-page] #main .explain-table p{text-align:left;hyphens:manual}
.explain-table .et-card{min-width:0;padding:10px 14px;border:1px solid var(--et-line);border-left:4px solid var(--et-mark);border-radius:8px;background:var(--study-surface,#fff)}
.explain-table .et-hint{margin:0 0 6px;font-size:.78rem;line-height:1.4;color:var(--study-muted,#58677a)}
.explain-table .et-entry>h4{margin:0 0 6px;font-size:.95rem}.explain-table .et-entry>p{margin:0 0 8px;font-size:.88rem;line-height:1.55}
.explain-table .et-entry>.formula{margin:8px 0}.explain-table .et-entry>p.et-calc{margin:0}
.explain-table .et-entry+.et-entry{margin-top:12px;padding-top:12px;border-top:1px solid var(--et-line)}
#main .explain-table .et-entry{margin:0;padding:0;border:0}#main .explain-table .et-entry:not(.is-current){display:none}
/* In de smalle kaart staat de formule op één kolom; de symbolen in de formule openen zelf hun uitleg, dus de losse legenda
   (formula-text.js) vervalt hier. Zo blijft de kaart even hoog als de tabel ernaast. */
body[data-page] #main .explain-table .formula-typeset,body[data-page] #main .explain-table .formula-typeset>.formula-row{display:block;width:auto}
#main .explain-table .formula-legend{display:none}#main .explain-table .formula-label{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}
@container (min-width:620px){#main .explain-table .et-grid{display:flex;gap:18px;align-items:stretch}#main .explain-table .et-tables{flex:0 1 auto;max-width:58%;min-width:0}#main .explain-table .et-card{flex:1 1 0}#main .explain-table .et-tables>.fv-work{contain:inline-size}}
@container (max-width:460px){.explain-table .fv-table :is(th,td){padding:3px 5px}.explain-table .et-cell{padding:3px 5px}.explain-table .et-card{padding:10px 12px}}
@media print{.formula-visual{background:white;color:#172a37;break-inside:avoid;--fv-green:#087c66;--fv-purple:#6857a0;--fv-orange:#a64b13}.fv-panels{grid-template-columns:repeat(2,minmax(0,1fr))}.fv-chart text{fill:#172a37!important}.fv-chart .fv-gridline{stroke:#d5e3dd!important}.fv-table th{background:#edf4f0!important}}
.lesson-source-title{display:block;font-size:.9rem;font-weight:600;line-height:1.6;color:#526579;margin:0 0 10px;letter-spacing:0}
.learning-list-source{display:block;margin-top:1px;font-size:12px;font-weight:400;line-height:1.5;color:#596b78}
.learning-frequency{font-size:.92rem}.learning-evidence{margin:16px 0;font-size:.88rem}.learning-evidence>summary{cursor:pointer;font-weight:600;color:#285749}.learning-evidence[open]>summary{margin-bottom:10px}
.learning-source{font-size:.8rem;line-height:1.55;margin:16px 0 10px;color:#586b76;border-top:1px solid #e1e7e9;background:transparent}
details.learning-source{padding:0;border-right:0;border-bottom:0;border-left:0;border-radius:0}
details.learning-source>summary{display:flex;align-items:center;min-height:40px;padding:8px 2px;gap:0;font-size:.8rem;line-height:1.4;font-weight:500;color:#586b76;list-style:none}
details.learning-source>summary::before{content:'▸';display:inline-block;margin-right:8px;font-size:.8rem}
details.learning-source[open]>summary::before{transform:rotate(90deg)}
.section-body details.learning-source>summary::after{content:none}
details.learning-source>summary:focus-visible{outline:2px solid #587482;outline-offset:2px}
details.learning-source>ul{margin:2px 0 8px;padding-left:18px}
details.learning-source li{margin-bottom:4px}
p.note.learning-source{padding:9px 0 0;border-left:0;background:transparent}
html[data-study-theme=dark] .section-body p.note.learning-source{background:transparent}
.learning-source a{overflow-wrap:anywhere}
.learning-figure{margin:14px 0;max-width:100%;min-width:0}.learning-figure img{display:block;max-width:100%;height:auto;border:1px solid #dce4ec;border-radius:6px}.learning-figure figcaption{font-size:.85rem;line-height:1.45;color:#526579;margin-top:6px}
.learning-figure a{display:block;cursor:zoom-in}
.learning-image-viewer{width:fit-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);background:var(--study-surface);color:var(--study-ink);overscroll-behavior:contain}
.learning-image-viewer form{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 14px;background:inherit;z-index:1}
.learning-image-viewer form a{font-size:.9rem}
.learning-image-viewer img{display:block;max-width:100%;height:auto;margin:auto}
.learning-image-viewer p{padding:10px 14px;margin:0;font-size:.9rem}
.section-body svg,.mc-stimulus svg{max-width:100%;height:auto;display:block}
.section-body .table-wrap,.mc-stimulus .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.section-body details:not(.learning-source){margin:18px 0;padding:16px 18px;border:1px solid #dce4ec;border-radius:6px;min-width:0}
.section-body details:not(.learning-source)>summary{font-weight:600;cursor:pointer;line-height:1.5}
.section-body details[open]:not(.learning-source)>summary{margin-bottom:14px}
.section-body table caption,.mc-stimulus table caption{font-weight:600;text-align:left;margin-bottom:10px;line-height:1.5}
.mc-stimulus{margin:12px 0 24px;padding:16px;background:#f6f8fb;border:1px solid #d9e2eb;border-radius:6px;min-width:0;max-width:100%;overflow-x:auto;font-size:.94rem;line-height:1.6}
.mc-stimulus p:first-child{margin-top:0}.mc-stimulus p:last-child{margin-bottom:0}.mc-stimulus table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}.mc-stimulus th,.mc-stimulus td{padding:9px 11px;border:1px solid #cdd7e1;text-align:left;vertical-align:top}.mc-stimulus th{background:#eaf0f5;font-weight:600}.mc-stimulus figure{margin:12px 0}.mc-stimulus figcaption{font-size:.85rem;margin-top:8px}
@media(max-width:680px){.section-body details:not(.learning-source){padding:12px}.mc-stimulus{padding:10px;font-size:.9rem}.mc-stimulus th,.mc-stimulus td{padding:7px 9px}.learning-figure figcaption{font-size:.8rem}}
@media print{.learning-figure{break-inside:avoid}}
.section-title{flex:1;min-width:0}
@media(min-width:761px){
 body.study-shell[data-page="les"]{--study-sidebar-width:var(--lesson-panel-width,248px)}
 body.study-shell[data-page="les"].lesson-panel-closed{--study-sidebar-width:0px}
 body.study-shell[data-page="les"].lesson-panel-closed .layout{grid-template-columns:minmax(0,1fr)}
 body.study-shell[data-page="les"].lesson-panel-closed #sidebar{display:none}
 body.study-shell[data-page="les"] #menu-toggle{display:inline-flex;align-items:center;min-height:36px;white-space:nowrap}
}
#lesson-panel-resizer{position:fixed;z-index:41;top:calc(var(--study-header-height) + var(--learning-head-height,58px));bottom:0;left:calc(var(--lesson-panel-width,248px) - 4px);width:8px;cursor:col-resize;touch-action:none;background:transparent}
#lesson-panel-resizer:hover,#lesson-panel-resizer:focus-visible,#lesson-panel-resizer[data-dragging]{background:var(--study-teal,#008577);outline:0}
#lesson-panel-resizer[hidden]{display:none}
@media(max-width:760px){#lesson-panel-resizer{display:none}}
/* Elke uitleg heeft haar eigen kleine grafiek rechts; smalle kolommen lopen door onder de tekst. */
.learning-transition{container-type:inline-size;margin:8px 0 12px;min-width:0;color:var(--study-ink,#17364e)}
.learning-transition>h3{font-size:1rem;margin:0 0 10px}
.transition-panels{display:grid;gap:16px}
.transition-panel{display:flex;flex-wrap:wrap;gap:8px 20px;min-width:0;align-items:flex-start}
.transition-copy{flex:1 1 320px;min-width:0}
.transition-panel h4{font-size:.94rem;line-height:1.5;margin:0 0 6px}
.learning-transition .transition-chart{display:block;flex:0 1 280px;min-width:0;width:100%;max-width:280px;height:auto}
.transition-chart text{font:13.5px Arial,sans-serif;fill:currentColor}
.transition-frame{fill:none;stroke:currentColor;stroke-opacity:.18}
.transition-reference{fill:none;stroke:currentColor;stroke-width:1;stroke-dasharray:3 3}
.transition-point{fill:var(--study-teal,#008577)}
.transition-line{fill:none;stroke:var(--study-teal,#008577);stroke-width:2}
.transition-work{font-size:.86rem;line-height:1.65;margin:6px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.learning-transition .transition-copy>p{font-size:.86rem;line-height:1.6;margin:6px 0!important;text-align:left!important;hyphens:none}
.transition-result{font-weight:600;font-variant-numeric:tabular-nums}
.learning-transition .transition-note{font-size:.8rem;line-height:1.6;margin:12px 0 0!important;text-align:left!important}
@media print{.learning-transition{break-inside:avoid}}
/* Compacte leerelementen: inhoud blijft zichtbaar en bediening houdt voldoende ruimte. */
.symbol-dictionary{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:20px;align-items:start}
.symbol-dictionary>div{min-width:0}
body[data-page="les"] .symbol-dictionary .table-scroll,body[data-page="les"] .symbol-dictionary table{margin:0}
.symbol-dictionary table{font-size:.8rem;line-height:1.5}
body[data-page="les"] .symbol-dictionary :is(th,td){padding:5px 8px}
.symbol-dictionary td:first-child{white-space:nowrap}
#main .source-notes{margin:4px 0 0;font-size:.75rem;line-height:24px}
body[data-page="les"] #main .source-notes{margin-bottom:2px}
.section-body details:is(.worked-answer,.learning-solution):not(.learning-source){margin:8px 0;padding:0 12px;border-color:#bcded4;border-left:3px solid #008859;background:#f0f8f5}
.section-body details:is(.worked-answer,.learning-solution)>summary{padding:9px 0;min-height:44px;font-size:.88rem}
.section-body details:is(.worked-answer,.learning-solution)[open]>summary{margin-bottom:4px;border-bottom:1px solid #cde3da}
.section-body details:is(.worked-answer,.learning-solution)>:last-child{margin-bottom:10px}
html[data-study-theme=dark] .section-body details:is(.worked-answer,.learning-solution):not(.learning-source){background:#172e2a;border-color:#396457;color:#e5edf3}
html[data-study-theme=dark] .section-body details:is(.worked-answer,.learning-solution)[open]>summary{border-bottom-color:#396457}
body.study-shell .question{padding:14px 16px;margin:10px 0}
body.study-shell .question .answers{gap:5px;margin-top:9px}
body.study-shell .question .answer{padding:7px 10px;min-height:40px;align-items:center}
body.study-shell .question-check-actions{margin:8px 0 0;gap:6px 16px}
.question-feedback .feedback{padding:12px 14px}
.question-feedback h3{font-size:1rem;margin:0 0 6px}
.question-feedback h4{font-size:.94rem;margin:10px 0 4px}
body[data-page="les"] #main .question-feedback p,.question-feedback p{margin:5px 0;line-height:1.55}
body[data-page="les"] #main .question-feedback li,.question-feedback li{margin:3px 0;line-height:1.55}
.question-feedback ol{margin:6px 0;padding-left:21px}
.question-pattern,.question-trap{padding:1px 10px 6px;margin:10px 0 0}
.question-pattern h4,.question-trap h4{margin-top:6px}
.question-recognition{display:grid;grid-template-columns:minmax(130px,.28fr) minmax(0,1fr);gap:5px 12px;margin:7px 0 3px}
.question-recognition dt,.question-recognition dd{margin:0;line-height:1.55}
.answer-reasons{margin-top:10px;padding-top:7px}
.question-result{margin-top:5px}
@media(max-width:760px){
 .symbol-dictionary{grid-template-columns:1fr;gap:8px}
 body.study-shell .question{padding:12px}
 body.study-shell .question .answer{min-height:44px}
 .question-recognition{grid-template-columns:1fr;gap:2px}
 .question-recognition dd+dt{margin-top:5px}
 .question-feedback .feedback{padding:10px}
}
/* Vergelijkingsparen delen een rij; de rekenreeks houdt haar eigen leesvolgorde. */
@container (min-width:800px){
 .transition-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px}
 .transition-pair .transition-panel{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px}
 .learning-transition .transition-pair .transition-chart{width:220px;max-width:100%}
}
.symbol-dictionary th:first-child{white-space:nowrap;hyphens:none}
.question-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.question-types>section{min-width:0}
.question-types h3{font-size:1rem;margin:0 0 6px}
@media(max-width:760px){.question-types{grid-template-columns:1fr;gap:10px}}
.transition-unchecked{fill:none;stroke:currentColor;stroke-opacity:.55;stroke-width:1.5}
.transition-checked{fill:var(--study-teal,#008577)}
.transition-extra{fill:#a54c13}
.transition-chart text.transition-check{fill:white;font-weight:bold}
.exam-average-note{display:block;font-weight:400;font-size:.9em;line-height:1.4}
/* Uitleg en kleine figuur blijven bij elkaar; smalle schermen lezen van boven naar beneden. */
.mini-explanation{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 20px;margin:12px 0;min-width:0}
.steps .mini-explanation{margin:0}
.mini-copy{flex:1 1 330px;min-width:0}
.mini-copy>p{margin:0}
.mini-explanation>figure{flex:0 1 260px;min-width:0;max-width:260px;margin:0}
.mini-explanation .transition-chart{display:block;width:100%;height:auto;max-width:260px}
.mini-explanation figcaption{font-size:.8rem;line-height:1.45;margin:5px 0 0;text-align:left;hyphens:none}
.mini-bar{fill:var(--study-teal,#008577)}
.mini-series-1{fill:currentColor;fill-opacity:.7}
.mini-prediction{fill:none;stroke:currentColor;stroke-width:1.5;stroke-dasharray:4 3}
.mini-tail{fill:#b65c16;fill-opacity:.8}
.mini-tail-pointer{fill:none;stroke:currentColor;stroke-width:1}
.mini-table table{font-size:.8rem;margin:0}
.mini-table caption{margin:0 0 5px;text-align:left}
.mini-table th,.mini-table td{padding:7px!important;hyphens:none}
.symbol-dictionary td:first-child .inline-expression{font-size:1em;background:none;padding:0}
.transition-work .inline-expression{font-size:1em;background:none;padding:0}
@media(max-width:600px){
 body[data-page="les"] #main p,body[data-page="les"] #main li,body[data-page="les"] .section-body,body[data-page="formules"] #main p,body[data-page="formules"] #main li,body[data-page="formules"] .formula-guide-card,.sra-phase-summary-body p,.sra-phase-summary-body li{text-align:left}
 .exam-weight-table{table-layout:fixed;width:100%;min-width:0;font-size:.78rem}
 .exam-weight-table :is(th,td){padding:6px 5px!important;hyphens:manual;overflow-wrap:break-word}
 .exam-weight-table th{font-size:.72rem}
 .exam-weight-table :is(th,td):is(:first-child,:last-child){width:29%}
}
.lesson-exam-focus h3{font-size:1rem;margin:16px 0 8px}
.lesson-exam-focus .actions{margin-bottom:8px}
/* Lange rekenregel in de tekst: binnen de regel horizontaal scrollen in plaats van de pagina te verbreden. */
body[data-page] .inline-expression:has(math){display:inline-block;max-width:100%;overflow-x:auto;vertical-align:middle}
/* Symbool en betekenis vormen samen één item, maar blijven in de bestaande kolommen van de lijst staan. */
.symbols .symbol-item{display:contents}
@media(max-width:420px){.steps li .mini-explanation figure{margin-left:-33px}}
@media(min-width:701px){body[data-page="les"] .formula-typeset:has(.formula-legend):not(:has(.formula-row + .formula-row)){width:auto;grid-template-columns:1fr}body[data-page="les"] .formula-typeset:has(.formula-legend):not(:has(.formula-row + .formula-row))>.formula-row{grid-row:auto;grid-template-rows:auto auto;grid-template-columns:max-content minmax(14em,1fr);column-gap:40px;align-items:center}body[data-page="les"] .formula-typeset:has(.formula-legend):not(:has(.formula-row + .formula-row))>.formula-row>.formula-legend{grid-column:2;grid-row:1 / span 2;margin-top:0}}
body[data-page="les"] .formula-typeset:has(.formula-row + .formula-row){clear:both}
/* Samengevoegde groepen: groep a rondje, groep b vierkantje. In les 13 kleurt het vinkje dezelfde punten in. */
.grp-a{fill:var(--study-teal,#008577)}
.grp-b{fill:#a54c13}
.grp-all,.grp-fit{fill:none;stroke:currentColor;stroke-width:1.5}
.grp-all{stroke-dasharray:4 3}
.grp-switch{display:flex;align-items:center;gap:6px;font-size:.85rem;margin:0 0 4px;cursor:pointer}
.grp-switch input{width:18px;height:18px;margin:0}
figure:has(.grp-switch) :is(.grp-a,.grp-plain){fill:none;stroke:currentColor;stroke-opacity:.6;stroke-width:1.2}
figure:has(.grp-switch) :is(rect.grp-b,.grp-legend){display:none}
figure:has(.grp-switch input:checked) .grp-a{fill:var(--study-teal,#008577);stroke:none}
figure:has(.grp-switch input:checked) :is(rect.grp-b,.grp-legend){display:inline}
figure:has(.grp-switch input:checked) .grp-plain{display:none}
figure:has(.grp-switch input:checked) .grp-all{stroke-opacity:.45}

/* Houd voorbeeldstappen leesbaar naast een figuur, zonder uitgerekte woordspaties. */
body[data-page="les"] #voorbeeld li,body[data-page="les"] #voorbeeld p{text-align:start}
