:root{font-family:Arial,sans-serif;color:#243719;background:#f5f4eb;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#153e30;color:white;padding:18px max(20px,calc((100vw - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:15px}header strong{font-size:28px;letter-spacing:2px;margin-right:22px}header span{font-size:14px}main{max-width:1120px;margin:30px auto;padding:0 22px}.demo{text-align:center;padding:9px;background:#e5ebdf;font-size:13px;color:#344b33}.eyebrow{font-size:12px;letter-spacing:1.4px;font-weight:bold;color:#546a55;margin-bottom:8px}h1{font-size:30px;margin:0 0 16px}h2{font-size:20px;margin:0 0 15px}p{line-height:1.55}.heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.card{background:white;border:1px solid #d9e0d5;border-radius:12px;padding:24px;margin:20px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:#fff;border:1px solid #d9e0d5;border-radius:10px;padding:17px}.stat strong{display:block;font-size:29px;margin-bottom:5px}.stat span{font-size:13px;color:#59665d}.muted{font-size:14px;color:#57675e}.tag{background:#eef2ea;border-radius:15px;padding:6px 12px;font-size:12px}.board{color:#000;overflow-x:auto;background:white;margin:24px 0;padding:6px}.board>svg{display:block;width:100%;min-width:600px;max-width:860px;height:auto;margin:auto}.expression{font-family:Georgia,serif;font-size:30px;padding:30px 0;color:black;white-space:nowrap}button{background:#36551b;color:white;border:1px solid #36551b;border-radius:7px;padding:11px 17px;font-weight:600;cursor:pointer;font-size:14px}button:disabled{opacity:.5;cursor:default}.secondary{background:#fff;color:#36551b}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bf8b2d;outline-offset:3px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}fieldset{border:0;padding:0;margin:15px 0}legend{font-weight:bold;margin-bottom:10px}#options{display:flex;gap:12px;flex-wrap:wrap}#options label{border:1px solid #9daea1;border-radius:7px;padding:12px 18px;min-width:90px;cursor:pointer;color:#18241c}input[type=radio]{accent-color:#36551b;margin-right:8px}#hint,#preview{background:#f4f2dd;border-left:4px solid #af9446;padding:14px;margin-top:18px}#explanation{border-top:1px solid #d4ddd0;margin-top:24px;padding-top:20px}.stages{display:flex;gap:30px;flex-wrap:wrap}.stage svg{width:90px;height:170px}.stage{text-align:center}form{display:flex;gap:15px;flex-wrap:wrap;align-items:end}label{display:block;font-size:14px}form input,form select{display:block;padding:10px;border:1px solid #9daea1;border-radius:5px;font-size:15px;max-width:100%;margin-top:7px}form .wide{flex:1;min-width:240px}.wide input{width:100%}.tableWrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;border-bottom:1px solid #e1e6dd;padding:13px 10px;vertical-align:top}th{background:#f5f4eb}.intervention{border-bottom:1px solid #e1e6dd;padding:15px 0}.profiles{display:flex;gap:15px;flex-wrap:wrap;margin-top:26px}#notice:not(:empty){background:#fff1dc;border:1px solid #dfbf8d;padding:14px;border-radius:7px;margin-bottom:18px}footer{font-size:12px;color:#68756c;margin:30px 0}[hidden]{display:none!important}@media(max-width:620px){main{padding:0 14px;margin:20px auto}header{padding:14px;align-items:start}header span{display:block;margin-top:5px}h1{font-size:25px}.stats{grid-template-columns:repeat(2,1fr)}.card{padding:16px}.heading{align-items:start}.expression{font-size:25px}.tableWrap{margin:0 -4px}.profiles{flex-direction:column}.actions button{flex-grow:1}.board>svg{min-width:600px}.muted{font-size:13px}}

#reinforcement label{min-width:0}#source{width:100%;max-width:100%}

#demoOptions{display:flex;flex-wrap:wrap;gap:12px}#demoOptions label{border:1px solid #9daea1;border-radius:7px;padding:12px 18px;min-width:90px}#demoModel{display:block;width:100%;padding:12px;margin:8px 0;font-size:16px}#demoSolution{border-top:1px solid #d4ddd0;margin-top:20px;padding-top:15px}#catalogFamilies details{padding:10px 0;border-bottom:1px solid #d4ddd0}summary{cursor:pointer;line-height:1.5}#reviewGallery>details{margin-top:25px}#reinforcement .wide{flex-basis:100%}#reinforcement .wide select,#reinforcement .wide input{width:100%}

#demoLevel{display:block;padding:11px;font-size:16px;margin:8px 0;border:1px solid #9daea1;border-radius:5px}.board>svg.numeric-exercise{width:auto;min-width:0;max-width:none;height:126px}#levelKind{max-width:100%}

/* Identidad AGC: panel lateral verde, fondo crema y acentos dorados. */
:root{color:#243719;background:#f5f4eb;font-size:15px;--green:#263914;--gold:#d6af28;--border:#e4e1d3}body{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#203210;color:#fff;display:flex;flex-direction:column;padding:22px 14px;z-index:10}.brand{text-align:center;padding:0 15px 24px;border-bottom:1px solid #ffffff20}.brand img{display:block;width:154px;height:68px;object-fit:contain;margin:0 auto 14px}.brand strong{display:block;font-size:14px;line-height:1.5}.brand span{display:block;color:#e4cd6a;font-size:11px;margin-top:7px}.module-name{font-size:10px;letter-spacing:1.8px;color:#c2cbaa;margin:26px 15px 12px}nav button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:transparent;color:#e1e6d9;padding:13px 14px;margin:4px 0;font-size:13px;font-weight:normal;border-left:3px solid transparent;border-radius:8px}nav button:hover{background:#ffffff0d}nav button[aria-current=page]{background:#ffffff18;border-left-color:var(--gold);color:white;font-weight:bold}.nav-mark{color:#e0c65c;font-size:17px;width:20px}.sidebar-bottom{margin-top:auto;padding:22px 12px 0;font-size:11px;color:#bec9af}.sidebar-logout{display:block;margin-top:14px;background:transparent;border:1px solid #ffffff30;width:100%;font-size:12px}.sidebar-hint{font-size:12px;color:#cbd2c0;padding:0 15px}.workspace{margin-left:236px}header{background:transparent;color:#243719;padding:24px 30px 12px;max-width:1650px;margin:auto}.heading-brand{display:flex;align-items:center;gap:15px}header h1{font-size:25px;margin:0 0 6px;letter-spacing:-.4px}header p{font-size:12px;margin:0}header .separator{color:#9c9879;margin:0 6px}.emblem{background:#fff;border:1px solid #ecd68b;border-radius:13px;width:58px;height:62px;flex-shrink:0;display:grid;place-items:center}.emblem img{width:55px;height:60px;object-fit:contain}.environment{display:inline-block;padding:8px 12px;border:1px solid #e5ce77;border-radius:20px;color:#64531c;font-size:11px;background:#f8f0d2;white-space:nowrap}main{max-width:1650px;margin:16px auto;padding:0 30px}.page-tools{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.page-tools p{margin:0;color:#6c705f;font-size:13px}.page-tools button{font-size:12px}.card{border-color:var(--border);border-radius:14px;box-shadow:0 5px 18px #29341304;margin:20px 0}h2{font-size:18px}h3{font-size:16px}.stats{gap:16px}.stat{position:relative;overflow:hidden;border:1px solid var(--border);border-top:3px solid var(--gold);border-radius:13px;min-height:112px;padding:20px}.stat strong{font-size:30px;position:relative;z-index:1}.stat span{font-size:12px}.stat:after{content:'';position:absolute;right:-18px;top:-20px;background:#faf4df;width:70px;height:70px;border-radius:50%}.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.dashboard-grid .card{margin-bottom:0}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick{display:flex;flex-direction:column;gap:7px;align-items:start;text-align:left;border:1px solid var(--border);background:#fcfbf7;color:#243719;padding:18px}.quick:hover{border-color:#b6ba90;background:#f5f5ec}.quick>span{background:#eaeee3;padding:5px 10px;border-radius:7px;font-size:20px}.quick strong{font-size:13px}.quick small{font-size:12px;font-weight:normal;line-height:1.5;color:#6c705f}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:22px 0 6px}.steps b{display:block;color:#8a7020;font-size:13px;background:#f6f0da;border-radius:50%;width:28px;height:28px;text-align:center;padding-top:6px;margin-bottom:12px}.steps strong{display:block;font-size:14px}.steps p{font-size:13px;color:#626b57;margin:8px 0}.filters{display:flex;gap:18px;align-items:end}.filters label{min-width:200px}.search-label{flex:1}input:not([type=radio]),select{padding:11px 12px;border:1px solid #cccbbd;border-radius:7px;font:inherit;color:#243719;background:white;margin-top:7px;max-width:100%}.filters input,.filters select{display:block;width:100%}th{background:#fafaf5;color:#6b725f;font-size:11px;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap}td{vertical-align:middle;font-size:13px;padding:17px 10px}td small{display:block;margin-top:5px;color:#767b6e}.row-link{font-size:12px;padding:8px 12px;background:white;color:#36551b}.context-card{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#edf0e5;border:1px solid #dce2d0;border-radius:10px;padding:16px 20px;margin:20px 0}.context-card label{font-weight:bold;font-size:12px}.context-card select{display:block;min-width:240px}.context-card p{max-width:360px;color:#617050;font-size:12px}.empty{padding:24px 16px;background:#fafaf5;border:1px solid var(--border);border-radius:10px;color:#647157;line-height:1.7;font-size:13px}.alert-row{padding:13px 0;border-bottom:1px solid var(--border)}.alert-row p{font-size:12px;margin:5px 0 10px;color:#7a6731}.section-intro{margin:24px 0}.section-intro p{color:#66705d;font-size:13px}.future{padding:40px;max-width:850px}.future .tag{display:inline-block;background:#f8efd0;margin-bottom:20px}#login{padding:34px 0;max-width:950px}#advanced>section{box-shadow:none;border:0;padding:15px 0;margin:0}.board{padding:16px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}#feedback:not(:empty),#demoFeedback:not(:empty){background:#f5f7ef;padding:14px;border-radius:8px}.skip{position:fixed;top:-70px;left:250px;z-index:30;background:white;color:#243719;padding:14px}.skip:focus{top:10px}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--border);padding-top:20px;font-size:11px}button{transition:background .12s}a{color:#36551b}.profiles button{padding:20px;border-radius:12px}.muted{line-height:1.65}.tableWrap:focus{outline:2px solid #d6af28}
@media(max-width:1100px){.sidebar{width:210px}.workspace{margin-left:210px}.dashboard-grid{grid-template-columns:1fr}header{align-items:flex-start;gap:14px}.environment{white-space:normal;max-width:170px;text-align:center}main{padding:0 22px}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.sidebar{position:static;width:100%;padding:12px}.brand{display:flex;align-items:center;gap:12px;padding:0 6px 12px;text-align:left}.brand img{width:90px;height:40px;margin:0}.brand strong{font-size:12px;max-width:160px}.brand span,.module-name,.sidebar-hint{display:none}.sidebar-bottom{padding:0;margin:0;position:absolute;top:15px;right:14px}.sidebar-bottom>span{display:none}.sidebar-logout{margin:0;padding:8px;font-size:10px;width:auto}nav{display:flex;gap:5px;overflow-x:auto;padding-top:10px}nav button{width:auto;white-space:nowrap;padding:10px;font-size:12px;margin:0}.nav-mark{display:none}.workspace{margin:0}header{padding:18px 16px 5px;flex-wrap:wrap}header h1{font-size:22px}header p{font-size:10px}.emblem{width:46px;height:52px}.emblem img{width:45px;height:50px}.environment{max-width:none;font-size:10px;margin-left:61px}main{padding:0 14px}.page-tools{align-items:flex-start}.quick-grid{gap:9px}.quick{padding:13px}.steps{grid-template-columns:1fr;gap:16px}.steps b{display:none}.filters{flex-direction:column;align-items:stretch}.filters label{min-width:0}.context-card{display:block}.context-card select{min-width:0;width:100%}.stats{gap:10px}.stat{padding:16px;min-height:100px}.card{padding:18px}.future{padding:25px}footer{display:block;line-height:1.8}footer span{display:block}.skip{left:15px}.sidebar-logout{max-width:85px}.brand{padding-right:80px}}

.preview-info{padding:12px 16px;background:#fff7df;border:1px solid #e9d99c;border-radius:9px;margin-bottom:18px;font-size:12px;color:#675824;line-height:1.6}

.followup-note{background:#f5f2e4;border-left:3px solid #c6a62f;padding:13px 16px;border-radius:0 7px 7px 0;font-size:13px}#learnerOverview .stat strong{font-size:25px}#learnerOverview{margin-top:22px}#teacher[inert],#learner[inert]{opacity:.8}#previewText{line-height:1.9}

.exercise-instructions{font-size:15px;line-height:1.7;background:#f6f4e9;border-left:3px solid #d6af28;padding:12px 16px}.board>svg.pletina-exercise{width:100%;min-width:760px;max-width:1010px;height:auto}.stage svg.pletina-stage{width:194px;height:225px;max-width:100%}

.expression.word-problem{font-family:Arial,sans-serif;font-size:22px;line-height:1.55;white-space:normal;max-width:68ch;text-align:left;padding:18px 0;overflow-wrap:break-word}

.board>svg.equation-exercise{min-width:0;width:auto;max-width:none;height:108px;display:block;margin:0;font-family:Arial,sans-serif}

.board>svg.quadratic-exercise{min-width:0;width:auto;max-width:none;height:126px;display:block;margin:0}

.board>svg.rational-exercise{min-width:0;width:auto;max-width:none;height:126px;display:block;margin:0}

.board>svg.digits-exercise{min-width:0;width:auto;max-width:none;height:195px;display:block;margin:0}
.board>svg.series-exercise{min-width:0;width:auto;max-width:none;height:96px;display:block;margin:0}

.board>svg.digit-product-exercise{min-width:0;width:auto;max-width:none;height:126px;display:block;margin:0}

/* Mantener las cifras legibles; en pantallas estrechas la tabla se desplaza. */
.board>svg.tabular-exercise{min-width:760px;max-width:860px;height:auto}

.board>svg.geometry-exercise{min-width:800px;max-width:860px;height:auto}

.curriculum-step{padding:10px 12px;border-bottom:1px solid #dce2d4}.curriculum-step p{margin:5px 0;font-size:.9rem}#curriculumList details{margin:10px 0}#demoPath{font-weight:600}
#gallery .filters{display:grid;grid-template-columns:minmax(160px,1fr) minmax(220px,2fr) minmax(170px,1fr);gap:16px}#gallery .filters label{min-width:0}#gallery select{width:100%;min-width:0}#curriculumReview{display:grid;gap:12px;max-width:760px}#curriculumReview label{display:grid;gap:4px}#curriculumReview button{justify-self:start}
@media(max-width:1000px){#gallery .filters{grid-template-columns:1fr}#gallery .filters label{width:100%}}
.review-access{display:flex;align-items:center;flex-wrap:wrap;gap:14px}.review-access p{flex-basis:100%;margin:0}.review-banner{border:2px solid #b69527;background:#fff9e7}.coverage-family{border:1px solid var(--border);border-radius:9px;margin:14px 0;padding:17px}.coverage-family>summary{font-weight:bold}.coverage-model{border-top:1px solid var(--border);padding:16px 0;margin-top:12px}textarea{display:block;width:100%;max-width:100%;padding:12px;font:inherit;border:1px solid #cccbbd;border-radius:7px;margin-top:7px}#issueForm .wide{flex-basis:100%}#issueSaved:not(:empty){padding:14px;background:#edf2e4}#issueDetail form{margin-top:20px}#issueDetail textarea{flex-basis:100%}#coverageSearch{width:100%}#issueComposer{border:2px solid #b69527}@media(max-width:620px){.review-access>button,.review-access>label{width:100%}.review-access select{width:100%}.coverage-family{padding:12px}}

.board>svg.planar-board{min-width:360px;max-width:600px}.stage svg.planar-stage{width:180px;height:140px;max-width:100%}.stage:has(svg.planar-stage){max-width:230px}

.board>svg.sequential-board{min-width:360px;max-width:600px}.stage svg.sequential-stage{width:190px;height:130px;max-width:100%}.stage:has(svg.sequential-stage){max-width:230px}

.board>svg.dependent-board{min-width:480px;max-width:650px}.stage svg.dependent-stage{width:196px;height:224px;max-width:100%}.stage:has(svg.dependent-stage){max-width:240px}

.expression.verbal-instructions{font-family:Arial,sans-serif;font-size:18px;line-height:1.6;white-space:pre-line;max-width:74ch;text-align:left;padding:8px 0;overflow-wrap:break-word}

/* Verbal analogies wrap naturally; numeric expressions keep their layout. */
.expression.verbal-analogy{font-family:Arial,sans-serif;font-size:22px;line-height:1.55;white-space:normal;max-width:68ch;text-align:left;padding:18px 0;overflow-wrap:break-word}

.expression.verbal-calendar{font-family:Arial,sans-serif;font-size:22px;line-height:1.55;white-space:normal;max-width:68ch;text-align:left;padding:18px 0;overflow-wrap:break-word}

/* Cube nets and projected orientations only. */
.board>svg.cube-net{min-width:280px;max-width:350px}.board>svg.cube-board{min-width:900px;max-width:1060px}.stage svg.cube-stage{width:260px;height:240px;max-width:100%}

/* Marked frusta only: preserve readable marks and horizontal scrolling. */
.board>svg.solid-board{min-width:1000px;max-width:1180px}.stage svg.solid-stage{width:260px;height:240px;max-width:100%}

/* Marked frusta only: preserve readable marks and horizontal scrolling. */
.board>svg.prism-board{min-width:1000px;max-width:1140px}.stage svg.prism-stage{width:270px;height:260px;max-width:100%}

/* Marked frusta only: preserve readable marks and horizontal scrolling. */
.board>svg.block-board{min-width:1000px;max-width:1110px}.stage svg.block-stage{width:280px;height:260px;max-width:100%}

/* Readable prism alternatives and magnified face details. */
.board>svg.prism-clear{min-width:860px;max-width:1040px}.stage svg.prism-clear-stage{width:520px;height:auto;max-width:none}.stage svg.prism-comparison{width:1040px;height:auto;max-width:none}.stage:has(svg.prism-comparison){overflow-x:auto}

.board>svg.curved-board{min-width:850px;max-width:1040px}.stage svg.curved-stage{width:400px;height:280px;max-width:none}

.board>svg.band-board{min-width:850px;max-width:1040px}.stage svg.band-stage{width:440px;height:280px;max-width:none}

.expression.verbal-series-order{font:600 24px/1.65 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;max-width:100%}

.expression.verbal-series-affinity{font:600 24px/1.65 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;max-width:100%}

/* Grouped charts keep values and month keys readable on small screens. */
.board>svg.grouped-bars{min-width:860px;max-width:930px;height:auto}

.evidence-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(240px,1fr);gap:24px;align-items:center}.radar-chart svg{width:100%;max-width:560px;height:auto;display:block;margin:auto}#trialConfirmBox{border:1px solid #c8a948;padding:16px;border-radius:10px;margin-top:16px}#evidenceModels td:last-child{min-width:240px}@media(max-width:760px){.evidence-grid{grid-template-columns:1fr}.radar-chart{min-width:0}}

/* Guided radial series: isolated rules, readable figures and explicit alternatives. */
.radial-help{max-width:1100px;line-height:1.6;overflow-wrap:anywhere}
.radial-help h4{font-size:1.16rem;margin:1.8rem 0 .6rem;color:#244a35}
.radial-intro{font-weight:600;font-size:1.05rem}
.radial-note{background:#f5f3e8;border-left:4px solid #b19235;padding:14px 18px;border-radius:6px}
.radial-cards,.radial-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px;margin:16px 0}
.radial-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.radial-card{margin:0;padding:14px;border:1px solid #ced8ce;border-radius:12px;background:#fff;min-width:0}
.radial-card h5{font-size:1rem;text-align:center;margin:0;color:#244a35}
.radial-card svg.radial-help-diagram{display:block;width:100%;max-width:260px;height:auto;margin:0 auto}
.radial-card figcaption{font-size:.95rem;line-height:1.55}
.radial-correct{border:2px solid #2c6244;background:#f3f8f3}
/* Pupil coaching: short, legible steps and unmistakable outcomes. */
#exerciseCard,#demoExercise{--learning-green:#24523d}
#exerciseTitle,#demoTitle{font-size:clamp(21px,2vw,28px);line-height:1.35}
#exerciseInstructions,#demoInstructions{font-size:17px;line-height:1.65;border-radius:10px;padding:18px 22px;max-width:85ch}
#options,#demoOptions{display:flex;flex-wrap:wrap;gap:12px}
#options label,#demoOptions label{padding:17px 22px;font-size:18px;min-width:100px;border:2px solid #ccd6cb;border-radius:12px;cursor:pointer;transition:background .15s}
#options label:has(input:checked),#demoOptions label:has(input:checked){background:#e8efe6;border-color:#355c34;box-shadow:0 0 0 2px #355c3422}
#options label.answer-correct,#demoOptions label.answer-correct{background:#e7f4ec;border-color:#237344}
#options label.answer-incorrect,#demoOptions label.answer-incorrect{background:#fff0ec;border-color:#b84330}
.learning-feedback{display:flex!important;align-items:center;gap:18px;padding:20px 24px!important;border:1px solid #cddcd4;border-left:5px solid #3b6d54;border-radius:14px;margin:20px 0!important;background:#eff5f1!important;scroll-margin-top:24px}
.learning-feedback strong{display:block;font-size:clamp(22px,2.1vw,28px);line-height:1.2;color:#194730}
.learning-feedback p{font-size:16px;margin:7px 0 0;line-height:1.5}
.learning-feedback-icon{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:50%;font-size:32px;background:#d8e9df;color:#21553a}
.learning-feedback.is-error{background:#fff3ef!important;border-color:#d98a76;border-left-color:#b64028}
.learning-feedback.is-error strong,.is-error .learning-feedback-icon{color:#96341f}.is-error .learning-feedback-icon{background:#f9dfd5}
.learning-feedback.is-guide{background:#f0f4fb!important;border-color:#aebfd7;border-left-color:#386389}.is-guide strong{color:#254967}.is-guide .learning-feedback-icon{background:#dce7f4;color:#254967}
.learning-feedback.is-ready{background:#f7f7f1!important}.learning-feedback.is-ready strong{font-size:20px}
.learning-choice{margin-left:auto;white-space:nowrap;font-size:14px;font-weight:bold}.learning-hint{border:1px solid #d4dfeb;border-radius:14px;padding:20px;background:#f7faff;margin:18px 0;scroll-margin-top:20px}
.learning-hint-header{display:flex;justify-content:space-between;gap:12px;color:#46637c;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.learning-hint h3{font-size:22px;margin:14px 0 8px;color:#224e6f}.learning-hint p{font-size:18px;line-height:1.6;margin:8px 0 20px;max-width:70ch}
.learning-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}.learning-nav button{min-height:44px}.step-counter{font-size:13px;font-weight:bold;color:#536954}
.focus-radios g.guided-given [data-sector]{opacity:.12}.focus-radios g.guided-given [data-spoke]{stroke:#b34216;stroke-width:4.5;stroke-dasharray:7 2}
.focus-sector g.guided-given [data-spoke]{opacity:.15}.focus-sector g.guided-given [data-sector]{fill:#254f87;stroke:#123f70;stroke-width:1.2}
.guided-explanation{margin-top:26px;border:1px solid #d2ddcf;border-radius:16px;padding:24px;background:#fbfcf9}.guided-heading h3{font-size:25px;margin:8px 0 18px}.learning-progress{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 22px}.learning-progress button{width:40px;min-height:40px;padding:7px;border-radius:50%}.learning-progress [aria-current=step]{background:#28513b;color:white}
.guided-page{background:white;border-radius:12px;border:1px solid #e1e7dd;padding:22px;min-height:160px;overflow-wrap:anywhere}.guided-page h4{font-size:22px;line-height:1.3;margin:0 0 18px;color:#274d39}.guided-page p{font-size:18px;line-height:1.65}.guided-calculation{font-size:clamp(22px,3vw,32px);font-weight:600;padding:18px;background:#eff5eb;border-radius:10px;margin:15px 0;text-align:center}
.guided-diagram{overflow:auto;text-align:center;margin:12px 0}.guided-diagram>svg{display:block;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;max-height:340px;margin:auto}.guided-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}.guided-pair figure{margin:0;border:1px solid #d7e0d5;border-radius:12px;padding:16px;min-width:0}.guided-pair figcaption{font-size:16px;text-align:center;font-weight:bold;color:#38523c}.guided-pair .guided-diagram>svg{width:100%!important;max-height:280px}.guided-pair p{font-size:16px;margin-bottom:0}.guided-option{margin-top:18px;padding:18px;border:1px solid #d9dfd3;border-radius:12px}.guided-option>strong{font-size:20px}.guided-option.is-correct{background:#edf6ef;border-color:#70a486}.guided-full{margin-top:22px}.guided-full>summary{font-size:15px;cursor:pointer;padding:10px 0}.learning-nav button[aria-pressed=true]{background:#2b573e;color:#fff}
@media(max-width:600px){.learning-feedback{padding:16px!important;gap:12px;flex-wrap:wrap}.learning-feedback>div{flex:1;min-width:140px}.learning-choice{margin-left:58px}.learning-hint,.guided-explanation{padding:16px}.guided-page{padding:15px}.guided-pair{gap:8px}.guided-pair figure{padding:8px}.guided-pair p{font-size:14px}.guided-page p,.learning-hint p{font-size:17px}.learning-nav{gap:8px}.learning-nav button{padding:10px 12px;font-size:14px}.learning-progress button{width:34px;min-height:34px}.guided-pair .guided-diagram>svg{min-width:105px!important}.guided-page h4{font-size:20px}#options label,#demoOptions label{min-width:80px;padding:14px}}
@media(prefers-reduced-motion:reduce){#options label,#demoOptions label{transition:none}}
.radial-mobile{display:none}.level-progress-message{flex-basis:100%;font-weight:600}
@media(max-width:600px){.board:has(.radial-mobile)>svg.radial-series-board{display:none}.radial-mobile{display:block}.radial-mobile h4{font-size:17px;margin:10px 0 16px}.radial-mobile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.radial-mobile-grid figure{margin:0;padding:10px;border:1px solid #dce3d8;border-radius:10px;min-width:0}.radial-mobile-grid figcaption{font-size:14px;font-weight:600;text-align:center;margin-bottom:8px}.radial-mobile-grid svg{width:100%;height:auto;display:block}}

/* V3.110: comparison boards at their intended size; no oversized 2x2 options. */
.board>svg[viewBox="0 0 440 360"]:has(>g[data-option]){width:440px;min-width:0;max-width:100%;height:auto}
.motion-lesson{margin:16px 0;background:#fff;border:1px solid #d3ddd0;border-radius:12px;padding:16px;max-width:650px}
.motion-lesson svg{display:block;width:180px;height:180px;max-width:100%;margin:8px auto}
.motion-lesson .motion-caption{font-size:17px;min-height:3em;text-align:center;margin:12px 0}
.motion-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.motion-controls button{font-size:14px;padding:9px 12px}
.motion-active{filter:drop-shadow(0 0 2px #cf6b24)}
@media(prefers-reduced-motion:reduce){.motion-active{filter:none}}

/* V3.111: a compact, readable teaching board and clearly separated controls. */
.lesson-controls{display:grid;grid-template-columns:minmax(270px,1fr) minmax(310px,1.15fr);gap:28px;margin-top:28px;padding-top:24px;border-top:1px solid #d8dfd3;align-items:start}
.lesson-controls .learning-nav{margin:0;gap:14px;align-items:center}
.lesson-controls>.motion-controls{margin:0;padding-left:24px;border-left:1px solid #d8dfd3;gap:14px}
.motion-controls{margin-top:20px;gap:12px}.motion-controls .play-primary{padding:15px 23px;font-size:17px;background:#274b36;color:#fff;box-shadow:0 4px 10px #163d2120;min-height:52px;border-radius:10px}
.motion-controls .play-primary[aria-pressed=true]{background:#214f73;border-color:#214f73;box-shadow:0 0 0 3px #d8e7f4}
.play-speed{display:flex;align-items:center;gap:10px;font-size:13px;flex-basis:100%;margin-top:4px}.play-speed select{font-size:13px;padding:8px;margin:0;width:auto}
.numeric-lesson .guided-page{padding:20px;background:#f7f8f2}.numeric-lesson .guided-page>h4{font-size:20px;margin:0 0 18px}
.numeric-blackboard{max-width:960px;margin:0 auto;padding:24px;border-radius:16px;background:#173c31;color:#f5fbf5;border:1px solid #315d4e;box-shadow:inset 0 0 0 5px #ffffff04}
.blackboard-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.numeric-blackboard .eyebrow{color:#bdd9ca;font-size:11px;letter-spacing:1px}.blackboard-badge{font-size:12px;color:#f2df9b;border:1px solid #718669;padding:6px 10px;border-radius:20px;white-space:nowrap}
.operation-order{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.operation-order span{font-size:13px;border:1px solid #557566;border-radius:7px;padding:7px 12px;color:#c3d4c9}.operation-order .active{color:#173c31;background:#f1d574;border-color:#f1d574;font-weight:bold}
.blackboard-expression{font-family:Arial,sans-serif;font-size:clamp(22px,2.5vw,34px);line-height:1.7;overflow-x:auto;padding:18px 8px;text-align:center;max-width:100%}
.math-node{display:inline-flex;align-items:center;gap:.17em;white-space:nowrap;vertical-align:middle}.math-operator{padding:0 .1em}.math-frac{display:inline-flex;flex-direction:column;gap:0;line-height:1.35;padding:0 .15em}.math-frac>span:first-child{border-bottom:2px solid currentColor;padding:0 .15em .08em}.math-frac>span:last-child{padding-top:.08em}.math-focus{background:#f5d779;color:#102f23;border-radius:7px;box-shadow:0 0 0 3px #f5d779;padding:.05em .12em;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.numeric-blackboard .blackboard-rule{font-size:17px;line-height:1.5;color:#e6f2e8;margin:18px 0 8px;border-left:3px solid #e7c664;padding-left:14px}.numeric-blackboard .blackboard-prompt{font-size:14px;color:#b9d0c1;margin:12px 0 0}.blackboard-calculation{display:flex;justify-content:center;align-items:center;gap:14px;font-size:clamp(24px,3vw,36px);font-weight:bold;background:#ffffff0a;padding:20px 12px;border-radius:10px;margin-top:20px;overflow:auto}
.blackboard-after{border-top:1px solid #608273;margin-top:22px;padding-top:18px}.blackboard-after .blackboard-expression{padding-bottom:4px}.numeric-datum{color:#254e37;background:#eaf1d9;border-radius:4px;padding:0 3px}.numeric-lesson .guided-calculation{font-size:30px;padding:22px;background:#173c31;color:white;border-radius:12px;overflow:auto}
@media(max-width:1050px){.lesson-controls{grid-template-columns:1fr;gap:20px}.lesson-controls>.motion-controls{padding:18px 0 0;border-left:0;border-top:1px solid #d8dfd3}}
@media(max-width:600px){.numeric-blackboard{padding:16px 12px}.blackboard-heading{align-items:start}.blackboard-badge{font-size:11px}.operation-order{gap:6px}.operation-order span{font-size:11px;padding:6px 8px}.blackboard-expression{font-size:22px;text-align:left}.numeric-lesson .guided-page{padding:10px}.numeric-blackboard .blackboard-rule{font-size:16px}.lesson-controls .learning-nav{gap:10px;justify-content:space-between}.motion-controls .play-primary{width:100%;font-size:17px}.blackboard-calculation{justify-content:flex-start;font-size:25px}}
@media(prefers-reduced-motion:no-preference){.blackboard-after{animation:board-appear .5s ease-out}@keyframes board-appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}

/* V3.112: one recognisable teaching surface for ALL numeric models. */
.numeric-blackboard{--neon:#eaff36;--chalk:#f5f9ee;background:radial-gradient(ellipse at 90% 0%,#26483d 0,transparent 65%),#102b24;border:1px solid #406457;border-radius:18px;color:var(--chalk);box-shadow:0 10px 24px #12382a18;position:relative;padding:24px;isolation:isolate}
.numeric-blackboard .blackboard-heading{border-bottom:1px solid #ffffff26;padding-bottom:14px;margin-bottom:20px;gap:12px;align-items:flex-start}
.numeric-blackboard .eyebrow{color:#d8e8d9;letter-spacing:.11em;line-height:1.5;font-size:11px}
.numeric-blackboard .blackboard-badge{color:#dce9dc;border:1px solid #638273;background:#254538;font-size:11px;line-height:1.5;max-width:66%;white-space:normal}
.numeric-blackboard .math-focus,.numeric-blackboard .chalk-focus{background:var(--neon);color:#182405;border-radius:8px;box-shadow:0 0 0 1px #eaff3680,0 0 18px #ddff3c45;outline:none;border-bottom:3px solid #f3ffb2;text-shadow:none}
.numeric-blackboard .math-focus{padding:7px 8px}.numeric-blackboard .operation-order .active{background:var(--neon);color:#182405;box-shadow:0 0 12px #eaff3640}
.numeric-blackboard .blackboard-rule{border-left:3px solid var(--neon);padding:12px 16px;background:#ffffff08;color:#f0f6ec;font-weight:500;line-height:1.65;font-size:18px}
.numeric-blackboard .blackboard-calculation{gap:18px;border:1px solid #b7da9f55;border-radius:12px;padding:18px;background:#091d18;font-size:clamp(24px,2.8vw,36px)}
.numeric-blackboard .blackboard-after{border-top:1px solid #668370;padding-top:16px}
.numeric-blackboard .blackboard-prompt{color:#e1ebdd;font-size:15px;line-height:1.6;margin-top:18px}
.numeric-lesson .guided-page{padding:20px;background:#fafbf6;border:1px solid #dce3d4;border-radius:20px}
.numeric-lesson .guided-page>h4{font-size:clamp(19px,2vw,25px);line-height:1.35;margin:0 0 18px;max-width:65ch;color:#143b2b}
.chalk-content{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0}.numeric-blackboard .chalk-caption{font-size:clamp(18px,1.7vw,23px);line-height:1.6;margin:0;max-width:62ch;color:var(--chalk);overflow-wrap:anywhere}
.chalk-datum{color:var(--neon);font-weight:750;border-bottom:2px solid #cce93177;padding:0 2px}
.chalk-equation{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:14px;margin:6px 0 10px;font:650 clamp(24px,2.6vw,36px)/1.6 ui-sans-serif,system-ui,sans-serif;letter-spacing:.015em;min-width:0}
.chalk-term{padding:7px 12px;max-width:100%;overflow-wrap:anywhere;white-space:normal;min-width:0}.chalk-result{background:#c9f7de10;border:1px solid #a1d7b36b;color:#f5fff5;border-radius:8px}.chalk-equals{color:#d4e7dc;font-size:28px}
.chalk-coach{display:grid;grid-template-columns:86px 1fr;gap:12px;align-items:start;background:#ffffff08;border-left:3px solid var(--neon);padding:15px 17px;border-radius:0 10px 10px 0;margin-top:22px}.chalk-coach .eyebrow{color:var(--neon);padding-top:4px}.numeric-blackboard .chalk-coach p{color:#eaf3e6;margin:0;font-size:16px;line-height:1.6}
.numeric-blackboard .chalk-next{color:#c1d3c3;font-size:13px;line-height:1.5;margin:17px 0 0}.numeric-blackboard .chalk-action{font-size:clamp(20px,2vw,28px);line-height:1.4;color:#f3ffed;margin:0 0 20px}
.numeric-route{list-style:none;display:flex;flex-wrap:wrap;gap:12px;margin:22px 0;padding:0;counter-reset:none}.numeric-route li{flex:1 1 150px;display:flex;align-items:center;gap:10px;border:1px solid #77968266;background:#ffffff06;padding:12px;border-radius:10px;font-size:15px;line-height:1.4;color:#e5efdf}.numeric-route .route-number{background:var(--neon);color:#182405;display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:50%;font-size:13px;font-weight:750;box-shadow:0 0 12px #deff3430}
.chalk-hint-nav{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}.numeric-blackboard button.secondary{color:#eaffd8;border:1px solid #839d76;background:#183c30}.numeric-blackboard button.secondary:hover{background:#30543d}.numeric-blackboard button:disabled{opacity:.55}.numeric-blackboard .step-counter{color:#dcebd6}
.numeric-blackboard .guided-option{color:#183728;background:#fbfff6;border-radius:12px}.numeric-blackboard .guided-option.is-correct{background:#e4f6e6;color:#12331b;border:2px solid #98cb91}.numeric-blackboard .guided-option strong{font-size:21px}.numeric-blackboard .guided-option p{color:#203f2e;line-height:1.6;font-size:17px}.numeric-blackboard .guided-option .guided-diagram{background:white;border-radius:9px}
.numeric-blackboard figure{background:#fff;color:#183728;border-radius:12px;padding:12px}.numeric-blackboard figure p,.numeric-blackboard figure figcaption{color:#183728}
.numeric-lesson .lesson-controls{margin-top:20px;display:grid;gap:15px}.numeric-lesson .lesson-manual{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.numeric-lesson .replay-step{margin-left:auto}.numeric-lesson .motion-controls{padding:18px;border:1px solid #d8dfce;background:#f0f4e9;border-radius:14px;gap:16px}.numeric-lesson .play-primary{min-height:52px;font-size:18px;padding:14px 24px;box-shadow:0 5px 12px #143b2a1c}.numeric-lesson .play-primary[aria-pressed=true]{background:#294a22;border-color:#73903e;box-shadow:0 0 0 3px #dbf05f50}
.numeric-lesson .learning-progress{gap:9px;margin:15px 0}.numeric-lesson .learning-progress button{width:40px;min-height:40px}.numeric-lesson .learning-progress button[aria-current=step]{background:#244a32;border-color:#244a32;color:#f0ff8a}
@media(prefers-reduced-motion:no-preference){
 .numeric-blackboard .chalk-focus,.numeric-blackboard .math-focus{animation:neon-focus .65s ease-out both}
 .numeric-blackboard .chalk-result{animation:chalk-result-in .8s .2s ease-out both}
 .numeric-blackboard .chalk-equals{animation:chalk-result-in .45s .1s ease-out both}
 .numeric-route li{animation:chalk-result-in .5s ease-out both}.numeric-route li:nth-child(2){animation-delay:.12s}.numeric-route li:nth-child(3){animation-delay:.24s}
 @keyframes neon-focus{from{box-shadow:0 0 0 #ddff3c00;transform:translateY(4px)}to{box-shadow:0 0 0 1px #eaff3680,0 0 18px #ddff3c45;transform:translateY(0)}}
 @keyframes chalk-result-in{from{opacity:.1;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}
}
@media(max-width:620px){.numeric-lesson .guided-page{padding:12px}.numeric-blackboard{padding:17px 14px;border-radius:13px}.numeric-blackboard .blackboard-badge{max-width:60%}.chalk-equation{font-size:25px;gap:9px}.chalk-term{padding:7px 9px}.numeric-blackboard .chalk-caption{font-size:18px}.chalk-coach{grid-template-columns:1fr;gap:5px;padding:13px}.numeric-lesson .replay-step{margin-left:0}.numeric-route{gap:9px}.numeric-route li{flex-basis:100%;padding:10px}.numeric-lesson .motion-controls{padding:12px}.numeric-lesson .play-primary{width:100%}.numeric-blackboard .blackboard-rule{font-size:16px;padding:12px}.numeric-blackboard .blackboard-calculation{padding:13px}}
/* V3.113: verbal uses the shared board, controls and accessibility contract. */
.verbal-blackboard .verbal-passage{font-size:clamp(20px,2.1vw,27px);line-height:1.85;color:#f5f9ee;margin:6px 0 20px;max-width:64ch;overflow-wrap:anywhere}
.verbal-focus{background:#eaff36;color:#182405;font-weight:750;padding:2px 5px;border-radius:5px;box-shadow:0 0 13px #eaff3638;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.guided-option .verbal-focus{box-shadow:none}
.verbal-lesson .numeric-blackboard>.learning-nav{gap:12px}.verbal-lesson .numeric-blackboard>.learning-nav button{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5;text-align:left}
.verbal-chain{list-style:none;display:flex;flex-wrap:wrap;gap:12px;padding:0;margin:22px 0}.verbal-chain li{background:#eaff36;color:#182405;box-shadow:0 0 12px #eaff3633;border-radius:10px;padding:12px 16px;font-size:21px;font-weight:650;overflow-wrap:anywhere;max-width:100%}.verbal-chain li:not(:last-child)::after{content:' →';font-weight:700}
.verbal-matrix{display:grid;gap:12px;margin-top:20px}.verbal-matrix-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.verbal-matrix-cell{display:flex;flex-direction:column;gap:12px;padding:20px 16px;background:#ffffff08;border:1px solid #93af9577;border-radius:12px;min-width:0}.verbal-matrix-cell strong{font-size:clamp(20px,2.4vw,30px);color:#f7fff2;overflow-wrap:anywhere}.verbal-matrix-cell.is-solution{border-color:#eaff36;box-shadow:0 0 15px #eaff3625}.verbal-matrix-cell.is-solution strong{color:#eaff36}.verbal-cell-note{font-size:12px;line-height:1.5;color:#e9f5dc}
.verbal-category{border:1px solid #b8cd8d80;border-radius:15px;padding:24px 18px;margin-top:20px}.verbal-category-title{display:inline-block;background:#eaff36;color:#182405;padding:10px 20px;border-radius:9px;font-size:27px;box-shadow:0 0 16px #eaff3635;overflow-wrap:anywhere;max-width:100%}.verbal-examples{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0;margin:20px 0 0}.verbal-examples li{border:1px solid #aac69a7a;border-radius:8px;padding:12px 16px;background:#ffffff08;font-size:20px;color:#f6ffef;overflow-wrap:anywhere}
@media(max-width:620px){.verbal-blackboard .verbal-passage{font-size:20px;line-height:1.8}.verbal-matrix-row{gap:8px}.verbal-matrix-cell{padding:13px 10px;gap:9px}.verbal-matrix-cell .eyebrow{font-size:10px}.verbal-chain li{font-size:18px}.verbal-category{padding:18px 12px}.verbal-category-title{font-size:23px}}
@media(prefers-reduced-motion:no-preference){.verbal-blackboard .verbal-passage{animation:chalk-result-in .45s ease-out both}.verbal-chain li,.verbal-matrix-cell.is-solution,.verbal-category-title{animation:neon-focus .65s ease-out both}.verbal-chain li:nth-child(2){animation-delay:.1s}.verbal-chain li:nth-child(3){animation-delay:.2s}.verbal-chain li:nth-child(4){animation-delay:.3s}}

@media(max-width:620px){.verbal-blackboard .blackboard-heading{flex-direction:column;align-items:flex-start}.verbal-matrix-cell strong{font-size:20px}.verbal-blackboard .blackboard-badge{max-width:100%;word-break:normal;overflow-wrap:normal}}

/* Graphic teaching: exact monochrome figures, separately labeled neon overlays. */
.graphic-explanation{font-size:clamp(19px,2vw,25px);line-height:1.7;color:#f7fff3;margin:10px 0 24px}.graphic-caption{font-size:17px;line-height:1.65;color:#e2eee6}.graphic-focus-controls{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.graphic-focus-controls button{display:flex;align-items:center;gap:9px;background:#173d31;color:#f3ffee;border:1px solid #769b86;padding:10px 14px;font-size:14px;min-height:44px}.graphic-focus-controls button[aria-pressed=true]{background:#ecffd9;color:#183a2d;border-color:#eaff36}.graphic-swatch{display:inline-block;width:13px;height:13px;flex:0 0 13px;border-radius:50%;box-shadow:0 0 9px currentColor;border:1px solid #183a2d}.graphic-figures{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:16px}.graphic-figures.has-previous{grid-template-columns:repeat(2,minmax(0,1fr))}.graphic-state{min-width:0;padding:16px;background:#ffffff0a;border:1px solid #ffffff35;border-radius:14px}.graphic-state-label{font-size:12px;letter-spacing:1px;color:#eaff36}.graphic-state-caption{font-size:15px;line-height:1.5;color:#f3fff5;min-height:24px}.graphic-paper{background:#fff;color:#152d20;border-radius:10px;padding:14px;margin:12px 0;overflow:hidden;min-width:0}.graphic-paper>svg{display:block;width:100%;height:auto;max-height:320px;min-height:160px;margin:auto}.graphic-state>button{margin-top:5px;min-height:44px}.graphic-note{font-size:13px!important;color:#d8eddd!important;line-height:1.6}.graphic-animate{background:#d5ff51!important;color:#15352a!important;font-size:17px!important;min-height:48px;box-shadow:0 0 18px #d5ff5133;margin-top:20px}.graphic-motion-status{font-size:15px;color:#d8ffec}.graphic-reference{padding:16px;border:1px solid #97b89e;border-radius:10px;margin:18px 0}.graphic-reference summary{cursor:pointer;color:#eaff36;font-weight:700;line-height:1.5}.graphic-zoom{width:min(1100px,94vw);max-width:94vw;max-height:92vh;padding:24px;border:1px solid #779d81;border-radius:18px;background:#102f25;color:#f4fff2;box-sizing:border-box}.graphic-zoom::backdrop{background:#001b16dd}.graphic-zoom-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.graphic-zoom h3{color:#eaff36;margin:0}.graphic-zoom p{line-height:1.5}.graphic-zoom-scroll{overflow:auto;max-height:65vh;background:#fff;border-radius:10px;padding:18px}.graphic-zoom-scroll>svg{display:block;min-width:560px;width:100%;height:65vh;max-height:700px}.graphic-zoom button{min-height:44px;white-space:nowrap}.graphic-lesson .guided-page>h4{font-size:22px}.graphic-blackboard .blackboard-heading{flex-wrap:wrap}.graphic-blackboard .blackboard-badge{white-space:normal}
@media(max-width:620px){.graphic-figures.has-previous{grid-template-columns:minmax(0,1fr)}.graphic-state{padding:12px}.graphic-paper{padding:10px}.graphic-paper>svg{max-height:250px}.graphic-blackboard .blackboard-heading{flex-direction:column}.graphic-focus-controls button{padding:9px;font-size:13px}.graphic-caption{font-size:16px}.graphic-zoom{padding:14px}.graphic-zoom-head{align-items:flex-start}.graphic-zoom h3{font-size:20px}.graphic-zoom-scroll{padding:10px}}
@media(prefers-reduced-motion:no-preference){.graphic-state{animation:chalk-result-in .3s ease-out both}.graphic-overlay{animation:neon-focus .6s ease-out both}}

.graphic-paper>svg{max-height:260px}.graphic-state-caption{min-height:45px}
@media(max-width:620px){.graphic-focus-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.graphic-focus-controls button{min-width:0;white-space:normal;text-align:left;font-size:12px;gap:6px;padding:8px}.graphic-swatch{width:10px;height:10px;flex-basis:10px}.graphic-figures.has-previous{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.graphic-figures.has-previous .graphic-state{padding:8px}.graphic-figures.has-previous .graphic-paper{padding:5px}.graphic-figures.has-previous .graphic-paper>svg{min-height:100px;max-height:210px}.graphic-figures.has-previous .graphic-state-caption{font-size:12px;line-height:1.45;min-height:48px;overflow-wrap:anywhere}.graphic-figures.has-previous .graphic-state-label{font-size:10px;letter-spacing:.3px}.graphic-figures.has-previous .graphic-state>button{font-size:12px;padding:8px;white-space:normal;width:100%}.graphic-note{font-size:12px!important}}

/* V3.131: fixed geometry scale, stacked teaching cards on small screens. */
.workshop-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.workshop-pair figure{margin:0;min-width:0}.workshop-pair figcaption{font-weight:700;margin-bottom:10px}
.workshop-pair .graphic-paper{display:flex;justify-content:center;background:white;border-radius:12px;padding:10px}
.workshop-pair .graphic-paper svg{width:100%;max-width:240px;height:auto;aspect-ratio:1}
.workshop-range{width:100%;min-width:0;accent-color:#eaff36;margin:18px 0}
.analogy-workshop .motion-controls{display:flex;flex-wrap:wrap;gap:10px}
.analogy-workshop select{max-width:100%;min-height:44px}
@media(max-width:650px){.workshop-pair{grid-template-columns:1fr}.workshop-pair .graphic-paper svg{max-width:190px}}

.workshop-relation{max-width:600px;margin:0 auto 18px}.workshop-relation h4{margin:8px 0 12px}
.workshop-equation{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:8px;align-items:center}
.workshop-question figure{margin:0;min-width:0;text-align:center}.workshop-question figcaption{font-size:14px;font-weight:700;margin-bottom:8px}
.workshop-question .exercise-paper{padding:0;min-width:0}.workshop-question .exercise-paper svg{display:block;width:100%;max-width:160px;min-width:0;min-height:0;height:auto;aspect-ratio:1;margin:0 auto}
.workshop-question figure button{margin:8px auto;min-height:40px}.workshop-arrow{text-align:center;font-size:24px}.workshop-missing{display:flex;flex-direction:column;align-items:center;gap:8px}.workshop-missing strong{font-size:36px}.workshop-missing span{font-size:13px;text-align:center}
.workshop-question .graphic-options{max-width:740px;margin:auto}


/* Classification examples stay separate from alternatives, at a common scale. */
.classification-examples{padding:12px;margin-bottom:20px;border:1px solid #cbd5c6;border-radius:12px;background:#f3f6ef}
.classification-example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.classification-question .exercise-paper svg{width:min(100%,154px);height:auto;display:block;margin:auto}
.classification-example-grid figure{margin:0;min-width:0;text-align:center}
.classification-example-grid figcaption{font-size:.9rem;margin-bottom:6px}
.classification-example-grid button{padding:7px;font-size:.85rem;min-height:36px}
@media(max-width:520px){.classification-example-grid{gap:5px}.classification-examples{padding:7px}.classification-example-grid figcaption{font-size:.8rem}.classification-question .graphic-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V3.133: fixed, bounded stage-two geometry; no clipping to a shape's own bounds. */
.stage2-shell{max-width:820px;margin:auto}.stage2-shell figure{min-width:0;margin:0;text-align:center}.stage2-shell figcaption{font-size:13px;font-weight:700;margin:5px 0}
.stage2-paper{display:flex;align-items:center;justify-content:center;min-width:0;background:white}.stage2-question .stage2-paper>svg{display:block;width:100%;height:auto;min-height:0;max-height:190px;max-width:190px}
.stage2-shell figure button{margin:6px 0;min-height:40px;padding:7px 12px}.stage2-intro{padding:14px;background:#f3f6ef;border:1px solid #cbd5c6;border-radius:12px;margin-bottom:20px}
.stage2-givens,.stage2-options{display:grid;gap:12px;align-items:start}.stage2-options{grid-template-columns:repeat(4,minmax(0,1fr))}.stage2-matrix{grid-template-columns:repeat(3,minmax(0,1fr));max-width:480px;margin:auto;gap:8px}.stage2-matrix .stage2-paper{aspect-ratio:1}.stage2-matrix .stage2-paper>svg{max-width:126px;max-height:126px}
.stage2-analogy{grid-template-columns:repeat(2,minmax(0,1fr));max-width:500px;margin:auto}.stage2-series{grid-template-columns:repeat(5,minmax(0,1fr))}.stage2-unknown{font-size:38px;display:grid;place-items:center;min-height:90px}
.stage2-brief{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px;align-items:center}.stage2-brief h4{grid-column:1/-1}.stage2-orders{padding-left:24px;margin:0;line-height:1.6}.stage2-orders li{margin:7px 0}.stage2-answers{border-top:1px solid #cbd5c6;padding-top:14px}
.stage2-workshop .workshop-pair .graphic-paper>svg{max-width:240px;max-height:200px;min-height:0;height:auto;aspect-ratio:auto}.stage2-workshop .workshop-pair figure{background:transparent}.stage2-context{max-width:460px;margin:auto}.stage2-context .graphic-paper>svg{max-height:145px;min-height:0}
.stage2-question .graphic-options,.stage2-question .classification-examples{max-width:760px;margin-left:auto;margin-right:auto}
@media(max-width:650px){.stage2-options{grid-template-columns:repeat(2,minmax(0,1fr))}.stage2-brief{grid-template-columns:1fr}.stage2-series{grid-template-columns:repeat(2,minmax(0,1fr))}.stage2-matrix{gap:5px}.stage2-matrix figcaption{font-size:10px}.stage2-matrix figure button{font-size:11px;padding:6px}.stage2-intro{padding:8px}.stage2-workshop .workshop-pair .graphic-paper>svg{max-height:170px;max-width:210px}}
.stage2-workshop .workshop-pair figcaption{color:#f5ffdf}.stage2-workshop .stage2-context p{color:#f5ffdf}

.stage2-matrix-four{grid-template-columns:repeat(4,minmax(0,1fr));max-width:580px;margin:auto;gap:8px}.stage2-matrix-four .stage2-paper{aspect-ratio:1}.stage2-matrix-four .stage2-paper>svg{max-width:115px;max-height:115px}@media(max-width:650px){.stage2-matrix-four{gap:4px}.stage2-matrix-four figcaption{font-size:10px}.stage2-matrix-four figure button{font-size:10px;padding:5px 3px}.stage2-matrix-four .stage2-unknown{font-size:28px;min-height:55px}}

.instruction-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.instruction-workshop .verbal-passage{color:#f5fff6!important;opacity:1!important;animation:none!important}
.instruction-card{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;min-width:0;line-height:1.5;padding:14px!important;background:#173d31!important;color:#f5fff6!important;border:2px solid #729985!important}
.instruction-card>span:last-child{grid-column:2;font-weight:400;font-size:.9rem}
.instruction-status{grid-column:2;font-size:.72rem;color:#c8e5d8;text-transform:uppercase;letter-spacing:.04em}.instruction-card[data-status=skip] .instruction-status{color:#ffb978}.instruction-card[data-status=match] .instruction-status,.instruction-card[data-status=result] .instruction-status{color:#63efdd}
.instruction-number{border-radius:50%;background:#dfff42;color:#142c20;display:grid;place-items:center;width:28px;height:28px;font-weight:700}
.instruction-card.is-active{border-color:#eaff36!important;box-shadow:0 0 0 2px #dfff4233,0 0 16px #dfff4222}
.instruction-card.is-visited{border-color:#4ddacb!important}
.instruction-detail{border-left:4px solid #eaff36;background:#183c31;border-radius:10px;padding:18px;margin:16px 0;color:#f5fff6;min-height:110px;overflow-wrap:anywhere}
.instruction-detail strong{display:block;margin-top:10px;font-size:1.1rem}.instruction-detail p{line-height:1.7;margin-bottom:0}
.instruction-detail[data-status=skip]{border-color:#ffa862}.instruction-detail[data-status=result]{border-color:#43e7da}
.instruction-controls{flex-wrap:wrap}.instruction-controls button{white-space:normal;min-height:44px}.instruction-controls select{min-height:44px;color:#183c31;background:white}
@media(max-width:760px){.instruction-cards{grid-template-columns:minmax(0,1fr)}.instruction-card{padding:12px!important}.instruction-detail{padding:14px}}

.analogy-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}
.analogy-pair{min-width:0;padding:18px;border:1px solid #729985;border-radius:12px;background:#12382d}
.analogy-pair-grid{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:8px;align-items:center;margin-top:15px}
.analogy-cell{min-width:0;text-align:center;border:2px solid transparent;border-radius:10px;padding:10px 4px;overflow-wrap:anywhere;color:#f5fff6;transition:background .25s,border-color .25s}
.analogy-cell small{display:block;line-height:1.4;color:#c8e5d8;font-size:.75rem;margin-bottom:10px}.analogy-cell strong{display:block;font-size:clamp(17px,1.7vw,23px);line-height:1.4}
.analogy-cell.is-filled{background:#245342}.analogy-cell.is-followed{border-color:#eaff36;box-shadow:0 0 14px #dfff4222}
.analogy-arrow{font-size:25px;color:#eaff36;text-align:center}.analogy-relation{margin:14px 0 0!important;text-align:center;color:#63efdd!important;font-size:.95rem;line-height:1.6}
@media(max-width:850px){.analogy-comparison{grid-template-columns:minmax(0,1fr)}.analogy-pair{padding:12px}.analogy-pair-grid{gap:4px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.analogy-cell{transition:none}}

.meaning-comparison{margin:16px 0;max-width:100%;min-width:0}
.meaning-word{display:block;color:#edff57;font-size:clamp(1.1rem,3vw,1.5rem);letter-spacing:.08em;overflow-wrap:anywhere}
.meaning-context{color:#f3fff9;line-height:1.6}
.meaning-option{display:grid;grid-template-columns:30px minmax(0,1fr) 120px;gap:12px;align-items:center;border:2px solid #749a89;border-radius:12px;padding:12px;margin:10px 0;color:#f5fff8;background:#173b30;min-width:0}
.meaning-option p{margin:0;line-height:1.6;overflow-wrap:anywhere}.meaning-letter{color:#edff57}.meaning-state{font-size:.8rem;font-weight:700}
.meaning-option.is-current{outline:2px solid #ecff4a;outline-offset:2px;box-shadow:0 0 16px #dfff4233}.meaning-option.is-accepted{border-color:#59eddf}.meaning-option.is-accepted .meaning-state{color:#70f4df}.meaning-option.is-rejected{border-style:dashed;border-color:#ffb879}.meaning-option.is-rejected .meaning-state{color:#ffc797}
.meaning-workshop .instruction-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.meaning-workshop .instruction-card>span:last-child,.meaning-workshop .instruction-status{display:none}
.meaning-workshop .verbal-passage{font-size:clamp(1rem,2vw,1.25rem);line-height:1.6}
@media(max-width:760px){.meaning-option{grid-template-columns:24px minmax(0,1fr);gap:8px}.meaning-state{grid-column:2}.meaning-workshop .instruction-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.meaning-workshop .instruction-cards{grid-template-columns:minmax(0,1fr)}.meaning-workshop .instruction-card{grid-template-columns:28px minmax(0,1fr);align-items:center}.meaning-workshop .instruction-card strong{overflow-wrap:normal;word-break:normal}}

.lexical-comparison{margin:16px 0;min-width:0;max-width:100%}
.lexical-sentence{border:1px solid #729b89;border-radius:12px;padding:16px;margin:12px 0;background:#173b30;min-width:0}.lexical-sentence>strong{color:#dfff61;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em}
.lexical-phrase{line-height:1.8;font-size:clamp(1.05rem,2vw,1.35rem);color:#f8fff9;margin:12px 0;overflow-wrap:break-word}.lexical-word{background:#e6ff57;color:#14271e;padding:2px 4px;border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.lexical-trial .lexical-word{background:#71f3e0}.lexical-relation{line-height:1.6;color:#e6fff4;margin:8px 0 0}
.lexical-option{display:grid;grid-template-columns:24px minmax(0,1fr) minmax(110px,1fr);gap:10px;padding:12px;border:2px solid #749a89;border-radius:10px;margin:8px 0;align-items:center;color:#f6fff9;min-width:0}.lexical-option>strong{color:#e6ff57}.lexical-state{font-size:.8rem}.lexical-option.is-current{outline:2px solid #edff57;outline-offset:2px}.lexical-option.is-accepted{border-color:#71f3e0}.lexical-option.is-rejected{border-style:dashed}.lexical-workshop .instruction-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.lexical-workshop .instruction-card>span:last-child,.lexical-workshop .instruction-status{display:none}
@media(max-width:760px){.lexical-workshop .instruction-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lexical-option{grid-template-columns:24px minmax(0,1fr)}.lexical-state{grid-column:2}}
@media(max-width:480px){.lexical-workshop .instruction-cards{grid-template-columns:minmax(0,1fr)}.lexical-workshop .instruction-card{grid-template-columns:28px minmax(0,1fr);align-items:center}.lexical-workshop .instruction-card strong{overflow-wrap:normal;word-break:normal}.lexical-sentence{padding:12px}}
@media(max-width:360px){.lexical-workshop .instruction-card{grid-template-columns:minmax(0,1fr);gap:6px}.lexical-workshop .instruction-card strong{font-size:13px}}

.exclusion-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0;margin:18px 0}.exclusion-criterion,.exclusion-count{grid-column:1/-1;color:#f6fff9;line-height:1.6}.exclusion-zone{border:2px solid #79a38b;border-radius:12px;padding:14px;min-width:0}.exclusion-zone>strong{color:#deff59;font-size:.85rem}.exclusion-pending{grid-column:1/-1}.exclusion-inside{border-color:#71f3df}.exclusion-outside{border-color:#ffcb81;border-style:dashed}.exclusion-tray{display:flex;flex-wrap:wrap;gap:10px;min-height:64px;align-content:start;margin-top:12px}.exclusion-word{display:flex;gap:8px;align-items:center;border:1px solid #829e90;background:#244c3d;color:#f7fff9;border-radius:9px;padding:12px;max-width:100%;min-width:0;line-height:1.5;box-sizing:border-box}.exclusion-word strong{color:#e9ff60}.exclusion-word span{overflow-wrap:break-word;min-width:0}.exclusion-word.is-current{outline:2px solid #e9ff60;outline-offset:2px}.exclusion-word[data-zone=inside]{background:#194b43;border-color:#71f3df}.exclusion-word[data-zone=outside]{background:#55402b;border-color:#ffcb81}.exclusion-count{font-weight:700;margin:0}
.exclusion-workshop .instruction-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.exclusion-workshop .instruction-card>span:last-child,.exclusion-workshop .instruction-status{display:none}
@media(max-width:760px){.exclusion-workshop .instruction-cards{grid-template-columns:minmax(0,1fr)}.exclusion-comparison{grid-template-columns:minmax(0,1fr)}.exclusion-zone{padding:10px}.exclusion-word{padding:8px}.exclusion-workshop .instruction-card{grid-template-columns:26px minmax(0,1fr)}.exclusion-workshop .instruction-card strong{overflow-wrap:normal;word-break:normal}}
@media(max-width:480px){.exclusion-workshop .instruction-card{grid-template-columns:minmax(0,1fr);gap:6px}.exclusion-workshop .instruction-card strong{font-size:13px}.exclusion-tray{min-height:45px}}

.ordering-scene{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0;min-width:0}.ordering-zone{border:1px solid #83a693;border-radius:10px;padding:12px;min-width:0}.ordering-zone>strong{display:block;font-size:.85rem;color:#edfbdc;line-height:1.5}.ordering-pool{grid-column:1/3}.ordering-extra{border-style:dashed;border-color:#ffe780}.ordering-tray{display:flex;flex-wrap:wrap;gap:8px;align-content:start;min-height:50px;margin-top:12px}.ordering-word{display:inline-block;line-height:1.5;border:1px solid #a5bdaf;background:#244c3d;color:#fff;padding:7px 9px;border-radius:7px;max-width:100%;overflow-wrap:anywhere;box-sizing:border-box}.ordering-word[data-group="0"]{border-color:#64f1e3}.ordering-word[data-group="1"]{border-color:#e5ff55}.ordering-word[data-group="2"]{border-color:#dac0ff}.ordering-g0{border-color:#64f1e3}.ordering-g1{border-color:#e5ff55}.ordering-g2{border-color:#dac0ff}.ordering-word.is-added{border:2px dashed #ffe780;background:#594b21}.ordering-word.is-current{outline:2px solid #f1ff71;outline-offset:2px}.ordering-count,.ordering-result{grid-column:1/-1;color:#f4fff8;line-height:1.7;margin:0}.ordering-count{font-weight:700}.ordering-result{border-top:1px solid #6e9684;padding-top:12px}.ordering-workshop .instruction-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.ordering-workshop .instruction-card>span:last-child,.ordering-workshop .instruction-status{display:none}
@media(max-width:760px){.ordering-scene{grid-template-columns:minmax(0,1fr)}.ordering-pool{grid-column:auto}.ordering-workshop .instruction-cards{grid-template-columns:minmax(0,1fr)}.ordering-zone{padding:10px}.ordering-workshop .instruction-card strong{word-break:normal;overflow-wrap:normal}.ordering-word{padding:6px 8px}}
@media(max-width:620px){.guided-explanation.ordering-lesson{padding:6px;border:0;background:transparent}.ordering-lesson .guided-page{padding:6px}.ordering-lesson .numeric-blackboard{padding:14px 10px}.ordering-lesson .verbal-passage{font-size:16px;line-height:1.55}.ordering-lesson .blackboard-heading{gap:6px;padding-bottom:12px;margin-bottom:14px}.ordering-lesson .chalk-coach{padding:10px;margin-top:14px}.ordering-lesson .chalk-coach p{font-size:14px;line-height:1.55}.ordering-workshop .ordering-count,.ordering-workshop .ordering-result{font-size:15px;line-height:1.5}.ordering-pool:has(.ordering-tray:empty),.ordering-extra:has(.ordering-tray:empty){display:none}.ordering-workshop .instruction-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ordering-workshop .instruction-controls button{padding:8px;font-size:12px}.ordering-workshop .instruction-controls select{width:100%;min-width:0}.ordering-workshop .instruction-card{grid-template-columns:26px minmax(0,1fr);gap:8px}.ordering-workshop .instruction-card strong{font-size:13px}}
