@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#202537;--muted:#73798c;--purple:#5146d9;--purple-light:#eeecff;--orange:#c57132;--border:#e6e8f0;--surface:#f7f8fc;--font:'DM Sans','Noto Sans SC',system-ui,-apple-system,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--surface);color:var(--ink);font:16px/1.65 var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #968bea;outline-offset:3px}a{color:inherit;text-decoration:none}button,input,select{min-height:42px}svg{display:block;width:100%;overflow:visible}svg text{font-family:var(--font)}.site-header{background:#fff;border-bottom:1px solid var(--border)}.header-inner{max-width:1320px;margin:auto;padding:21px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.02em;line-height:1.5}.brand small{display:block;font:10px 'DM Sans',sans-serif;letter-spacing:.16em;color:#84899b;margin-top:2px}.brand-icon{background:var(--purple);border-radius:12px;width:41px;height:41px;display:grid;place-items:center}.brand-icon svg{width:29px;fill:var(--purple);stroke:white;stroke-width:1.8}nav{display:flex;gap:30px;font-size:14px;font-weight:600;color:var(--muted)}nav a{padding:7px 0}nav a.active{color:var(--purple)}.course-tag{font-size:13px;padding:6px 12px;border:1px solid var(--border);border-radius:25px;color:var(--muted)}main{max-width:1320px;padding:0 40px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;padding:43px 0 30px}.eyebrow{font-size:12px;letter-spacing:.14em;color:var(--purple);font-weight:700;display:flex;align-items:center;gap:8px}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--purple)}h1{font-size:clamp(27px,3.15vw,43px);letter-spacing:-.055em;line-height:1.4;margin:12px 0 12px;font-weight:800}.intro p{color:var(--muted);margin:0;font-size:15px}.intro-visual{width:245px;margin-right:36px;text-align:center}.intro-visual span{font-size:12px;color:#9093a5;letter-spacing:.08em}.mobile-break{display:none}.learning-path{display:flex;align-items:center;gap:22px;padding:15px 0 26px;max-width:780px}.path-item{display:flex;gap:9px;align-items:center;font-size:13px;font-weight:500;white-space:nowrap;color:#697087}.path-item b{color:var(--purple);font-size:11px;background:var(--purple-light);width:26px;height:26px;display:grid;place-items:center;border-radius:50%}.path-line{height:1px;background:#dee1eb;flex:1}.lab-layout{display:grid;grid-template-columns:278px minmax(0,1fr);gap:22px;align-items:start}.panel{background:white;border:1px solid var(--border);border-radius:15px;box-shadow:0 3px 8px #22284b02}h2,h3,p{overflow-wrap:anywhere}.controls{padding:23px 20px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}h2{font-size:16px;letter-spacing:-.02em;line-height:1.5;margin:0;font-weight:700}.subtle{font-size:9px;letter-spacing:.1em;color:#9399ab}.control-label,legend,.control-title label{font-size:13px;font-weight:600}select{width:100%;border:1px solid #dfe2ec;border-radius:8px;background:#fff;padding:8px 34px 8px 12px;font-size:13px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2373798c' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 11px center;background-repeat:no-repeat;margin-top:9px}#population-chart{margin-top:16px}.population-facts{display:flex;flex-direction:column;font-size:11px;color:var(--muted);gap:4px;margin-bottom:23px}.population-facts span{display:flex;justify-content:space-between}.population-facts strong{font-weight:500;color:#545b73}.control-title{display:flex;align-items:center;justify-content:space-between}.control-title output{font-size:18px;color:var(--purple);font-weight:700;background:var(--purple-light);border-radius:6px;padding:0 10px}input[type=range]{width:100%;accent-color:var(--purple);margin:5px 0 0;min-height:27px}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:#9097a7}fieldset{border:0;padding:0;margin:22px 0}legend{padding:0 0 10px}.segmented{display:flex;padding:4px;background:#f2f3f8;border-radius:9px;gap:3px}.segmented label{flex:1;position:relative}.segmented input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.segmented span{display:block;text-align:center;border-radius:6px;padding:7px 0;font-size:13px;color:#747b91;transition:.15s}.segmented input:checked+span{background:white;color:var(--purple);font-weight:700;box-shadow:0 2px 6px #34395510}.segmented input:focus-visible+span{outline:3px solid #968bea}.predict-box{background:#f7f6fe;border:1px solid #e9e6fc;padding:14px;border-radius:10px;margin-bottom:20px}.tiny-label{font-size:10px;color:var(--purple);font-weight:700;letter-spacing:.12em}.predict-box p{font-size:12px;margin:6px 0 11px;line-height:1.8}.prediction-options{display:flex;gap:7px}.prediction-options button{flex:1;padding:4px 1px;border:1px solid #ddd9f3;border-radius:7px;background:#fff;color:#6a638c;font-size:12px;min-height:33px}.prediction-options button[aria-pressed=true]{background:var(--purple);color:#fff;border-color:var(--purple)}.predict-box p.feedback{font-size:11px;color:#777088;margin:10px 0 0;min-height:36px}.button{border:0;border-radius:8px;padding:10px 15px;font-size:13px;font-weight:600;min-height:42px;transition:background .15s,transform .15s}.button:hover{filter:brightness(.97);transform:translateY(-1px)}.primary{background:var(--purple);color:white;box-shadow:0 3px 7px #5146d91c;width:100%}.primary span{font-size:17px;margin-right:4px}.secondary{background:#fff;border:1px solid #dfe2eb;color:#575f76}.batch-buttons{display:flex;gap:8px;margin-top:9px}.batch-buttons button{flex:1;padding:9px 4px;font-size:12px}.pause-button{width:100%;margin-top:9px;background:#fff2e7;color:#9b541d}.seed-row{display:flex;align-items:center;gap:8px;border-top:1px solid #eceef5;padding-top:17px;margin-top:23px;font-size:11px;color:#7d8394}.seed-row input{width:82px;min-height:33px;border:1px solid var(--border);border-radius:5px;padding:3px 5px;color:#636b81;font-size:12px}.reset-button{border:0;background:transparent;color:#746bcb;font-size:12px;margin-left:auto;padding:0;min-height:33px}.fine-print{font-size:10px;line-height:1.8;color:#9a9fb0;margin:10px 0 0}.results{min-width:0}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:17px}.metric{background:white;border:1px solid var(--border);border-radius:12px;padding:17px 20px}.metric>span{font-size:12px;color:#747b91}.metric strong{display:block;font-size:32px;line-height:1.5;letter-spacing:-.045em;font-weight:600;font-variant-numeric:tabular-nums}.metric:nth-child(2) strong{color:var(--purple)}.metric small{font-size:12px;color:#8d93a4;letter-spacing:0}.metric p{font-size:10px;color:#9a9fb0;margin:2px 0 0}.interval-panel{padding:23px 25px 0}.chart-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.chart-heading p{font-size:12px;color:#9197a9;margin:6px 0 0}.badge{font-size:10px;line-height:1.6;padding:5px 9px;color:var(--purple);background:var(--purple-light);border-radius:6px;white-space:nowrap}.badge.neutral{background:#f0f2f7;color:#80869a}.badge.missed{background:#fff0e3;color:#a65723}.chart-legend{display:flex;gap:18px;justify-content:flex-end;margin:18px 0 3px;font-size:10px;color:#9096a6}.chart-legend span{display:flex;align-items:center;gap:6px}.legend-line{display:inline-block;width:16px;height:2px}.legend-line.covered{background:#8b80e7}.legend-line.missed{background:var(--orange)}.legend-vertical{display:inline-block;width:0;height:11px;border-left:1.5px dashed #9a9aaa}#interval-chart{height:auto;aspect-ratio:800/340}.chart-footer{border-top:1px solid #eff0f6;margin-top:4px;display:flex;justify-content:space-between;gap:10px;padding:12px 0;font-size:10px;color:#949bae}#run-status{color:#6e65ac}.detail-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:17px;margin-top:17px}.sample-panel{padding:20px}.sample-panel h2{font-size:14px}.sample-panel .chart-heading{gap:4px}.sample-panel .chart-heading p{font-size:10px}.sample-panel .badge{font-size:9px;padding:4px 6px}#sample-chart{margin:11px 0 5px}.sample-numbers{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:8px;border-top:1px solid #eff0f6;padding-top:10px}.sample-numbers span{font-size:9px;color:#9198aa;display:block}.sample-numbers strong{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.sample-numbers>div:last-child strong{font-size:12px}.insight-card{border-radius:13px;padding:21px;background:#272b48;color:#fff;display:flex;flex-direction:column}.insight-card .tiny-label{color:#aaa6f6}.insight-card h2{font-size:20px;line-height:1.6;margin:10px 0}.insight-card>p{font-size:11px;line-height:1.9;color:#c0c2d4;margin:0}.insight-bottom{border-top:1px solid #41445e;margin-top:17px;padding-top:12px;display:flex;align-items:start;gap:10px}.insight-bottom span{color:#a9a3fc;font-size:20px}.insight-bottom p{font-size:10px;color:#a9aec5;line-height:1.9;margin:0}.assumption-note{font-size:10px;color:#9198a9;line-height:1.8;margin:13px 4px 0}.assumption-note.warning{color:#a56837}.guide-section{padding-top:57px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:15px}.section-heading h2{font-size:23px;margin-top:8px;letter-spacing:-.035em}.section-heading .eyebrow{font-size:10px}.section-note{font-size:12px;color:#9197aa}.concept-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.concept{padding:24px}.concept-symbol{display:inline-grid;place-items:center;background:var(--purple-light);color:var(--purple);height:39px;min-width:39px;border-radius:10px;font-size:20px;font-weight:600;padding:0 8px}.concept h3{font-size:15px;margin:15px 0 9px}.concept p{font-size:12px;color:#82899d;line-height:1.95;margin:0}.formula{margin-top:18px;padding:0 23px}.formula summary{padding:17px 0;cursor:pointer;font-size:13px;font-weight:600;list-style:none;display:flex;justify-content:space-between}.formula summary::-webkit-details-marker{display:none}.formula summary span{color:#8782af}.formula[open] summary span{transform:rotate(45deg)}.formula-content{border-top:1px solid var(--border);padding:18px 0;font-size:13px;color:#6e768d}.formula-display{text-align:center;font-size:25px;color:var(--purple);background:#f8f7ff;padding:22px;border-radius:9px}.formula-content a{color:var(--purple);text-decoration:underline;font-size:12px}.quiz-section{padding:49px 0 35px}.quiz-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.quiz-card{padding:22px}.quiz-card:last-child{grid-column:1/-1}.quiz-card h3{font-size:14px;line-height:1.8;margin:0 0 14px;display:flex;gap:10px}.question-index{font-size:11px;color:#a6a0d2;white-space:nowrap;margin-top:3px}.quiz-options{display:flex;flex-direction:column;gap:8px}.quiz-options button{font-size:12px;text-align:left;color:#697188;background:#f8f9fc;border:1px solid #e9ebf3;border-radius:7px;padding:9px 12px;line-height:1.7}.quiz-options button:hover{border-color:#b4a9eb}.quiz-options button.selected{border-color:#b5a8f2;background:#f0edff;color:var(--purple)}.quiz-options button.correct{border-color:#88b9b2;background:#eff8f6;color:#287469}.quiz-options button.incorrect{border-color:#d8b18b;background:#fff3e9;color:#9d5b29}.quiz-feedback{font-size:12px;line-height:1.9;border-top:1px solid var(--border);padding-top:12px;margin:14px 0 0;color:#68748b}.quiz-feedback:empty{display:none}.quiz-reset{display:block;margin:20px auto 0}footer{border-top:1px solid var(--border);display:flex;justify-content:space-between;padding:23px 0 30px;font-size:10px;color:#9aa0b1;gap:14px}.footer-brand{color:#6b7188}.footer-brand span{margin:0 7px;color:#b3b7c3}[hidden]{display:none!important}@media(min-width:1450px){main{padding-bottom:10px}.intro{padding-top:52px}}@media(max-width:1050px){main{padding:0 24px}.header-inner{padding:18px 24px}.lab-layout{grid-template-columns:245px minmax(0,1fr);gap:16px}.controls{padding:20px 16px}.metric{padding:14px}.metric strong{font-size:27px}.detail-grid{grid-template-columns:1fr}.insight-card{padding:20px}.insight-card h2 br{display:none}.insight-card h2{font-size:18px}.insight-bottom{margin-top:12px}.chart-heading h2{font-size:14px}.interval-panel{padding:20px 17px 0}.intro-visual{margin-right:0}.course-tag{display:none}.sample-panel .chart-heading p{font-size:12px}.sample-numbers span{font-size:11px}}@media(max-width:720px){main{padding:0 18px}.header-inner{padding:15px 18px;gap:10px}.brand{font-size:15px;gap:8px}.brand small{font-size:7px}.brand-icon{width:33px;height:33px;border-radius:9px}nav{gap:15px;font-size:12px}nav a:first-child{display:none}.intro{padding:29px 0 20px}.intro-visual{display:none}.intro h1{font-size:29px}.intro p{font-size:13px}.eyebrow{font-size:10px}.mobile-break{display:block}.learning-path{gap:9px;padding:6px 0 22px}.path-item{font-size:10px;gap:5px}.path-item b{width:21px;height:21px;font-size:9px}.path-line{min-width:5px}.lab-layout{grid-template-columns:1fr}.controls{padding:21px}.panel-heading{margin-bottom:14px}.control-label,legend,.control-title label{font-size:14px}#population-chart{max-width:310px;margin:10px auto 0;height:92px}.population-facts{flex-direction:row;justify-content:space-between;gap:12px;margin-bottom:18px;font-size:11px}.population-facts span{gap:8px}.range-labels{font-size:11px}.segmented span{font-size:14px}.predict-box p{font-size:13px}.predict-box p.feedback{font-size:12px;min-height:0}.prediction-options button{font-size:13px}.action-buttons .button{font-size:14px}.seed-row{font-size:12px}.fine-print{font-size:11px}.metrics{gap:7px;margin-top:3px;margin-bottom:12px}.metric{padding:12px 9px}.metric>span{font-size:10px}.metric strong{font-size:26px}.metric p{font-size:9px;line-height:1.7}.interval-panel{padding:18px 13px 0}.chart-heading{gap:6px}.chart-heading p{font-size:10px}.badge{font-size:9px;padding:4px 6px}.chart-legend{font-size:9px;gap:11px;justify-content:flex-start;margin-top:17px}#interval-chart{min-height:320px;aspect-ratio:auto}.chart-footer{font-size:9px}.detail-grid{gap:12px;margin-top:12px}.sample-panel{padding:18px}.sample-numbers strong{font-size:17px}.sample-numbers>div:last-child strong{font-size:13px}.insight-card>p,.insight-bottom p{font-size:12px}.assumption-note{font-size:11px}.guide-section{padding-top:38px}.section-heading h2{font-size:20px}.section-note{display:none}.concept-grid{grid-template-columns:1fr;gap:12px}.concept{padding:20px}.concept-symbol{float:left;margin:0 15px 4px 0}.concept h3{margin:0 0 8px;font-size:15px}.concept p{font-size:13px}.formula{padding:0 17px}.formula-content{font-size:13px}.formula-display{font-size:20px}.quiz-section{padding-top:35px}.quiz-grid{grid-template-columns:1fr;gap:12px}.quiz-card:last-child{grid-column:auto}.quiz-card h3{font-size:14px}.quiz-options button,.quiz-feedback{font-size:13px}.quiz-card{padding:18px}footer{flex-direction:column;gap:7px;font-size:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Keep teaching content legible and the learning path usable in narrow panes. */
.control-label,legend,.control-title label,select,.button,.batch-buttons button{font-size:14px}
.chart-heading p,.sample-panel .chart-heading p,.chart-legend,.badge,.metric>span,.seed-row,.prediction-options button{font-size:12px}
.predict-box p,.concept p,.insight-card>p,.insight-bottom p,.quiz-options button,.quiz-feedback,.formula-content{font-size:14px}
.predict-box p.feedback{font-size:12px}
.concept h3,.quiz-card h3{font-size:16px}
.fine-print,.range-labels,.chart-footer,.assumption-note,.sample-numbers span,.metric p{font-size:12px}
.population-facts{font-size:12px}.sample-panel .badge{font-size:11px}
@media(max-width:400px){.learning-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.path-line{display:none}.path-item{flex-direction:column;gap:5px;font-size:11px}.header-inner{gap:5px}nav{gap:11px;white-space:nowrap;font-size:11px}.brand small{display:none}.brand{font-size:14px}.brand-icon{width:29px;height:29px}.population-facts{font-size:10px}.metric strong{font-size:24px}.metric p{font-size:10px}.metric>span{font-size:11px}.chart-heading{flex-wrap:wrap}.chart-legend{font-size:10px}.chart-footer{font-size:10px}.sample-numbers span{font-size:10px}.sample-numbers>div:last-child strong{font-size:11px}.sample-panel .badge{font-size:10px}}

/* Language selection and room for longer English teaching text. */
.header-tools{display:flex;align-items:center;gap:14px}.language-switch{display:flex;gap:3px;background:#f1f0f8;border:1px solid #e6e3f3;border-radius:9px;padding:3px;flex-shrink:0}.language-switch button{border:0;background:transparent;color:#73718b;border-radius:6px;padding:5px 10px;min-height:33px;font-size:13px}.language-switch button[aria-pressed=true]{background:#fff;color:var(--purple);font-weight:700;box-shadow:0 1px 4px #25204d12}html[lang=en] h1{font-size:clamp(27px,2.7vw,38px);max-width:750px;letter-spacing:-.035em}html[lang=en] .intro-visual{width:210px;flex-shrink:0;margin-left:20px}html[lang=en] .intro-visual span{letter-spacing:0}html[lang=en] .panel-heading{flex-wrap:wrap;gap:4px}html[lang=en] .subtle{display:none}html[lang=en] .batch-buttons{flex-direction:column}html[lang=en] .chart-footer{flex-wrap:wrap}html[lang=en] .chart-legend{flex-wrap:wrap;gap:12px}html[lang=en] .sample-numbers{grid-template-columns:1fr 1fr}html[lang=en] .sample-numbers>div:last-child{grid-column:1/-1}html[lang=en] .sample-numbers>div:last-child strong{font-size:15px}html[lang=en] .population-facts{gap:8px}html[lang=en] .insight-card h2{font-size:20px}html[lang=en] .sample-panel .chart-heading{flex-wrap:wrap}html[lang=en] .formula-display{overflow-wrap:normal}
@media(max-width:1000px){.header-tools .course-tag{display:none}}
@media(max-width:720px){.header-inner{flex-wrap:wrap;justify-content:space-between}.header-inner nav{order:3;width:100%;justify-content:center;gap:28px;border-top:1px solid #eff0f6;padding-top:8px}.header-inner nav a:first-child{display:block}.brand{white-space:nowrap}.language-switch button{font-size:12px;padding:4px 8px}.header-tools{gap:0}html[lang=en] .intro-visual{display:none}html[lang=en] h1{font-size:30px}html[lang=en] .population-facts{flex-direction:column;gap:3px}html[lang=en] .population-facts span{justify-content:space-between}html[lang=en] .metrics{grid-template-columns:1fr 1fr}html[lang=en] .metric:last-child{grid-column:1/-1}html[lang=en] .metric p{font-size:11px}html[lang=en] .learning-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}html[lang=en] .path-line{display:none}html[lang=en] .path-item{flex-direction:column;gap:5px;font-size:11px}html[lang=en] .chart-heading{flex-wrap:wrap}html[lang=en] .sample-numbers{grid-template-columns:1fr 1fr}}
