/* Copyright © 2026 Christopher Snow */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/font-0.ttf) format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/font-1.ttf) format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/font-2.ttf) format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/font-3.ttf) format('truetype')}
@font-face{font-family:Sora;font-style:normal;font-weight:100 800;font-display:swap;src:url(fonts/sora-variable.ttf) format('truetype')}
:root{
 --paper:#f7f9fc;--surface:#fff;--surface-soft:#f1f5fb;--ink:#14213b;--text:#334155;--muted:#52627a;
 --line:#e0e6f0;--accent:#315bf6;--accent-hover:#2248d5;--accent-soft:#edf2ff;--positive:#15785c;
 --positive-soft:#edf9f3;--warning:#8a5a12;--warning-soft:#fff8e9;--code:#101b2d;--code-text:#e0e9fa;
 --code-muted:#93a7c3;--shadow:0 12px 36px #17346708;--radius:14px;
 color-scheme:light;font-family:'DM Sans',system-ui,sans-serif;color:var(--text);background:var(--paper);
 font-size:100%;scroll-behavior:smooth;scroll-padding-top:105px;
}
:root[data-theme=dark]{
 --paper:#0d1422;--surface:#131e30;--surface-soft:#1a283d;--ink:#f1f5ff;--text:#d4dbea;--muted:#adbbd1;
 --line:#2b3a52;--accent:#9bb4ff;--accent-hover:#c0d0ff;--accent-soft:#202f50;--positive:#82d7ba;
 --positive-soft:#142f2b;--warning:#edc783;--warning-soft:#352b1d;--shadow:0 12px 36px #0002;color-scheme:dark;
}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px}
button,input,textarea,select{font:inherit}button,a,input,textarea,summary{touch-action:manipulation}
button{cursor:pointer;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:7px;padding:10px 14px;min-height:40px;font-size:1.0625rem;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px}
button:hover{border-color:var(--accent);color:var(--accent)}button:disabled{cursor:not-allowed;opacity:.45}button:disabled:hover{border-color:var(--line);color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
svg{flex-shrink:0;vertical-align:middle}input[type=checkbox],input[type=radio]{accent-color:var(--accent);width:18px;height:18px;flex-shrink:0}
textarea,input[type=search]{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:13px 15px;width:100%;line-height:1.65}
textarea{resize:vertical;min-height:80px}textarea::placeholder,input::placeholder{color:var(--muted);opacity:.85}
p{line-height:1.8;margin:0 0 1.2em}h1,h2,h3,h4{color:var(--ink);margin:0}
h1,h2,h3{font-family:Sora,'DM Sans',system-ui,sans-serif;letter-spacing:-.045em}h1{font-weight:650}h2{font-size:2.25rem;line-height:1.25;font-weight:600}h3{font-size:1.3125rem;line-height:1.4;font-weight:600}h4{font-weight:500;font-size:1.125rem;line-height:1.5}small{font-size:1rem}em{font-style:normal}
.eyebrow{font-size:0.875rem;font-weight:700;letter-spacing:.12em;color:var(--accent);line-height:1.7}
.skip{position:fixed;top:8px;left:10px;transform:translateY(-160%);z-index:100;background:var(--surface);padding:13px 20px;border:2px solid var(--accent);border-radius:6px}.skip:focus{transform:none}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.site-header{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.header-inner{max-width:1380px;margin:auto;padding:17px 50px;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:77px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-weight:700;letter-spacing:-.03em;font-size:1.125rem;line-height:1.4;white-space:nowrap}
.brand b{font-weight:500;color:var(--muted);margin-left:3px}.brand-symbol{color:#315bf6}
.site-header nav{display:flex;align-items:center;gap:28px;font-size:1.0625rem;font-weight:500}
.site-header nav>a{display:inline-flex;align-items:center;gap:5px;text-decoration:none;min-height:40px}.site-header nav>a:hover{color:var(--accent)}
.theme-button{width:36px;min-height:36px;padding:7px;background:var(--paper);border-color:transparent}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;font-size:1.0625rem;font-weight:600;min-height:46px;padding:13px 19px;border:1px solid transparent;border-radius:8px;line-height:1.5;transition:background .15s,transform .15s}
.primary{background:#315bf6;color:white;border-color:#315bf6;box-shadow:0 4px 10px #315bf622}.primary:hover{background:#2248d5;border-color:#2248d5;color:white;transform:translateY(-1px)}
.secondary{background:var(--accent-soft);color:var(--accent);border-color:transparent}.secondary:hover{border-color:var(--accent)}
.hero{max-width:1300px;margin:auto;padding:70px 50px 54px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px;position:relative}
.hero-copy>.eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 12%,transparent);border-radius:20px;padding:6px 11px;font-size:0.875rem;letter-spacing:.09em;margin-bottom:23px}
.badge-dot{width:5px;height:5px;background:var(--accent);border-radius:50%}
.hero h1{font-size:clamp(2.75rem,4.25vw,3.8125rem);line-height:1.12;letter-spacing:-.065em;margin:0 0 24px;max-width:600px}.hero h1 span{color:var(--accent)}
.hero-intro{font-size:1.25rem;line-height:1.8;max-width:470px}.hero-actions{display:flex;align-items:center;gap:24px;margin:28px 0}.hero-actions .button{font-size:1.0625rem;padding:14px 18px}
.text-link{font-size:1.0625rem;font-weight:500;text-decoration:none;display:inline-flex;align-items:center;gap:12px}.text-link:hover{color:var(--accent)}
.hero-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:7px}.hero-meta>span{display:flex;align-items:center;gap:6px;font-size:0.875rem;color:var(--muted)}.hero-meta svg{color:var(--muted)}
.evidence-demo{background:#101c32;color:#c2cee3;border-radius:18px;border:1px solid #273956;padding:25px 26px 0;box-shadow:0 16px 40px #16294d16;position:relative;overflow:hidden}
.evidence-demo:before{content:'';position:absolute;width:330px;height:330px;right:-130px;top:-130px;background:radial-gradient(circle,#315bf624,transparent 70%);pointer-events:none}
.demo-top{display:flex;justify-content:space-between;align-items:center;font-size:0.875rem;letter-spacing:.12em;color:#a8b9d3;margin-bottom:24px}.demo-top>span:first-child{display:flex;align-items:center;gap:7px}.demo-top i{width:5px;height:5px;border-radius:50%;background:#8cccb9}.demo-index{font-size:0.875rem;letter-spacing:.08em;color:#8499b9}
.evidence-demo h2{font-size:1.875rem;font-weight:500;letter-spacing:-.045em;line-height:1.3;color:#f1f5ff;margin-bottom:22px}
.demo-tabs{display:flex;gap:5px;background:#0a1425;padding:4px;border:1px solid #283650;width:max-content;max-width:100%;border-radius:8px}
.demo-tabs button{background:transparent;border:0;min-height:31px;color:#a7b8d1;font-size:0.875rem;padding:7px 13px;box-shadow:none}.demo-tabs button[aria-pressed=true]{background:#2d3b58;color:#fff}.demo-tabs button:hover{color:#fff}.demo-chart{display:block;width:100%;height:auto;margin:18px 0 -2px}
.chart-runs,.chart-means{transition:opacity .25s}.chart-means{opacity:0}.evidence-demo[data-view=means] .chart-runs{opacity:0}.evidence-demo[data-view=means] .chart-means{opacity:1}
.demo-insight{display:flex;align-items:flex-start;gap:10px;background:#1a2a43;border:1px solid #2b3d59;padding:12px 13px;border-radius:8px;color:#d6e1f4;margin:0 0 20px}.demo-insight p{font-size:1rem;line-height:1.6;margin:0}.insight-symbol{font-size:1.25rem;line-height:1.1;color:#97adff}
.demo-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #2a3952;margin:0 -26px;padding:16px 26px;font-size:0.875rem;color:#a3b4ce}.demo-bottom a{display:flex;align-items:center;gap:8px;color:#dde6ff;font-size:0.875rem;text-decoration:none}
.method-strip{max-width:1200px;margin:0 auto 14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:21px 0;display:flex;justify-content:space-between;align-items:center;gap:30px}.method-strip>span{font-size:0.875rem;font-weight:600;letter-spacing:.09em;color:var(--muted)}
.method-strip ol{display:flex;align-items:center;gap:24px;list-style:none;padding:0;margin:0}.method-strip li{display:flex;align-items:center;gap:9px;font-size:1.0625rem;font-weight:500;color:var(--ink)}.method-strip li>span{font-size:0.875rem;color:var(--muted);font-variant-numeric:tabular-nums}.method-strip li+li:before{content:'→';color:#a1afc6;margin-right:13px;font-size:1rem}
.course-section{max-width:1300px;padding:60px 50px 64px;margin:auto}.course-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:30px}.course-heading .eyebrow{margin-bottom:12px}.course-heading h2{font-size:2.1875rem;line-height:1.3}.course-heading>p{max-width:405px;font-size:1.0625rem;line-height:1.85;margin:0}.course-heading>p a{display:inline-flex;align-items:center;gap:4px;color:var(--accent);margin-top:7px;font-size:1rem}
.progress-panel{display:flex;align-items:center;gap:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:20px 23px;margin-bottom:34px;box-shadow:var(--shadow)}.progress-icon{width:46px;height:46px;border-radius:10px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;flex-shrink:0}.progress-panel strong{display:block;color:var(--ink);font-size:1.125rem;font-weight:600;margin-bottom:5px}.progress-panel span:not(.progress-icon){font-size:1rem;color:var(--muted);line-height:1.6}.progress-right{margin-left:auto;display:flex;align-items:flex-end;flex-direction:column;gap:9px;min-width:145px}progress{width:145px;height:5px;appearance:none;border:0;background:var(--line);border-radius:5px;overflow:hidden;accent-color:var(--accent)}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}
.course-tools{display:flex;align-items:center;gap:16px;margin-bottom:20px}.course-tool-title{margin-right:auto;display:flex;flex-direction:column;gap:4px}.course-tool-title strong{font-size:1.125rem;font-weight:600;color:var(--ink)}.course-tool-title>span{font-size:0.875rem;color:var(--muted)}.search-label{display:flex;align-items:center;gap:8px;width:245px;border:1px solid var(--line);border-radius:8px;padding-left:12px;background:var(--surface);color:var(--muted)}.search-label:focus-within{outline:2px solid var(--accent);outline-offset:2px}.search-label input{border:0;background:transparent;padding:11px 10px 11px 0;font-size:1rem;outline:0!important;min-width:0}.course-tools>#search-count{font-size:0.875rem;color:var(--muted)}
#modules{display:grid;grid-template-columns:1fr 1fr;gap:24px}.module{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.module-heading{position:relative;padding:25px 26px 21px;min-height:169px}.module-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;color:var(--accent);background:var(--paper);margin-bottom:17px}.module-meta{position:absolute;right:25px;top:39px;font-size:0.875rem;letter-spacing:.06em;color:var(--muted)}.module-meta i{font-style:normal;margin:0 5px}.module-heading h3{font-size:1.375rem;letter-spacing:-.04em;margin-bottom:7px}.module-heading p{font-size:1rem;line-height:1.65;color:var(--muted);margin:0;max-width:410px}.lesson-list{border-top:1px solid var(--line);padding:0 12px 10px}.lesson-row{display:flex;align-items:center;gap:12px;text-decoration:none;padding:15px 13px;border-bottom:1px solid var(--line);min-height:60px;transition:background .15s}.lesson-row:last-child{border:0}.lesson-row:hover{background:var(--accent-soft);border-radius:5px}.lesson-number{width:20px;flex-shrink:0;font-size:0.875rem;letter-spacing:.03em;color:var(--muted);font-variant-numeric:tabular-nums}.lesson-row h4{font-size:1.0625rem;font-weight:500;line-height:1.6}.lesson-time{font-size:0.875rem;white-space:nowrap;margin-left:auto;padding-left:5px;color:var(--muted);min-width:39px}.lesson-time small{display:block;color:var(--positive);font-size:0.875rem}.lesson-row>svg{color:#8b9ab3}.lesson-row:hover>svg{color:var(--accent)}
.portable-progress{font-size:1rem;margin-top:26px;border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:0 18px}.portable-progress>summary{display:flex;align-items:center;gap:10px;font-weight:500;font-size:1rem}.portable-progress>summary:after{content:'+';margin-left:auto;color:var(--muted)}.portable-progress[open]>summary:after{content:'−'}.portable-progress>div{padding:0 0 18px}.portable-progress p{font-size:1rem;margin-bottom:13px}.portable-progress button,.file-button{font-size:1rem;margin-right:8px}.file-button{display:inline-flex;position:relative;align-items:center;justify-content:center;min-height:40px;border:1px solid var(--line);border-radius:7px;padding:10px 14px;background:var(--surface);cursor:pointer;overflow:hidden}.file-button input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.file-button:focus-within{outline:3px solid var(--accent);outline-offset:3px}#progress-status{display:block;font-size:1rem;line-height:1.8;color:var(--muted);margin-top:14px}
.closing{max-width:1200px;margin:0 auto 60px;padding:40px 44px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-radius:16px;background:var(--accent-soft);border:1px solid var(--line)}.closing h2{font-size:1.75rem;letter-spacing:-.045em;margin:12px 0}.closing p{font-size:1.0625rem;line-height:1.8;margin:0}.closing .button{white-space:nowrap;font-size:1rem}.site-footer{max-width:1300px;margin:auto;border-top:1px solid var(--line);padding:30px 50px 36px;display:flex;justify-content:space-between;gap:30px}.site-footer p{font-size:0.875rem;color:var(--muted);margin:13px 0 0}.site-footer>div:last-child{display:flex;flex-direction:column;align-items:flex-end;gap:14px;font-size:0.875rem;color:var(--muted);padding-top:6px}.site-footer>div:last-child>a{text-decoration:none;display:flex;align-items:center;gap:5px}.site-footer .brand{font-size:1.0625rem}.site-footer .brand-symbol{width:30px;height:30px}
/* The lesson is a quiet reading surface around a functional lab. */
.reading-layout{max-width:1600px;margin:auto;display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{padding:28px 20px 36px;border-right:1px solid var(--line);position:sticky;top:77px;max-height:calc(100vh - 77px);overflow:auto;align-self:start;scrollbar-width:thin}.back-link{display:block;font-size:1rem;text-decoration:none;margin-bottom:28px;color:var(--muted)}.back-link:hover{color:var(--accent)}.sidebar-title{font-size:0.875rem;font-weight:600;letter-spacing:.1em;color:var(--ink);margin-bottom:21px}.sidebar-title>span{display:block;letter-spacing:0;color:var(--muted);font-weight:400;font-size:0.875rem;margin-top:5px}.nav-module{border:0;margin:0 0 13px}.nav-module summary{list-style:none;display:flex;gap:9px;align-items:center;font-size:1rem;line-height:1.6;font-weight:600;color:var(--ink);padding:9px 0;cursor:pointer}.nav-module summary>span{font-size:0.875rem;color:var(--muted);font-weight:400}.nav-module summary:after{content:'+';margin-left:auto;font-weight:400;color:var(--muted)}.nav-module[open] summary:after{content:'−'}.nav-module ol{list-style:none;padding:0;margin:3px 0 8px}.nav-module a{display:flex;align-items:flex-start;gap:9px;padding:10px 10px 10px 9px;border-radius:6px;font-size:0.875rem;line-height:1.65;text-decoration:none;border-left:2px solid transparent}.nav-module a>span{font-size:0.875rem;color:var(--muted);padding-top:1px}.nav-module a>small{margin-left:auto;font-size:0.875rem;color:var(--positive)}.nav-module a[aria-current]{background:var(--accent-soft);border-left-color:var(--accent);color:var(--accent);font-weight:600}.nav-module a:hover{background:var(--surface-soft)}.sidebar-notes{display:flex;gap:8px;align-items:center;text-decoration:none;font-size:0.875rem;border-top:1px solid var(--line);padding-top:20px;margin-top:26px;color:var(--muted)}.sidebar-foot{margin-top:24px;padding:16px 13px;background:var(--surface-soft);border-radius:8px}.sidebar-foot>span{font-size:0.875rem;letter-spacing:.07em;font-weight:600;color:var(--muted)}.sidebar-foot p{font-size:0.875rem;line-height:1.8;margin:9px 0 0;color:var(--muted)}.mobile-course-bar{display:none}
.lesson{min-width:0;max-width:1160px;width:100%;margin:0 auto;padding:35px 54px 55px}.lesson-breadcrumb{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px;font-size:0.875rem;color:var(--muted)}.lesson-breadcrumb>a{text-decoration:none}.lesson-breadcrumb>a>span{color:#b5bfd0;margin:0 6px}.lesson-breadcrumb>span{display:flex;align-items:center;gap:6px;white-space:nowrap}.lesson-index{font-size:0.875rem;font-weight:600;letter-spacing:.12em;color:var(--accent);display:block;margin-bottom:14px}.lesson h1{font-size:clamp(2.1875rem,3.5vw,3.0625rem);line-height:1.18;letter-spacing:-.055em;margin-bottom:17px;max-width:840px}.standfirst{font-size:1.25rem;line-height:1.65;color:var(--muted);margin-bottom:27px}.outcome{display:flex;align-items:flex-start;gap:12px;padding:16px 20px;border-radius:9px;border:1px solid var(--line);background:var(--surface);margin-bottom:27px;max-width:800px}.outcome>svg{color:var(--positive);margin-top:2px}.outcome span{font-size:0.875rem;font-weight:600;color:var(--positive);display:block;margin-bottom:4px}.outcome p{font-size:1.0625rem;line-height:1.7;margin:0;color:var(--text)}.on-this-page{display:flex;align-items:center;flex-wrap:wrap;gap:23px;margin:22px 0 29px;border-bottom:1px solid var(--line);padding-bottom:16px;font-size:1rem}.on-this-page a{text-decoration:none;display:flex;align-items:center;gap:7px;min-height:30px}.on-this-page a>span{font-size:0.875rem;font-weight:600;background:var(--surface-soft);color:var(--muted);padding:3px 5px;border-radius:4px}.on-this-page a:hover{color:var(--accent)}.explanation{max-width:70ch}.explanation p{font-size:1.25rem;line-height:1.9;margin-bottom:20px}.prediction{max-width:800px;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 15%,var(--line));border-radius:12px;padding:22px 25px;margin:29px 0 38px}.prediction-label{display:flex;align-items:center;gap:8px;font-size:1rem;font-weight:600;color:var(--accent);margin-bottom:12px}.prediction h2{font-family:inherit;font-size:1.25rem;line-height:1.65;font-weight:500;letter-spacing:-.02em;margin-bottom:19px}.small-label{font-size:0.875rem;color:var(--ink);display:block;margin-bottom:7px}.small-label>span{font-weight:400;color:var(--muted);font-size:0.875rem;margin-left:7px}.prediction textarea{font-size:1.0625rem;min-height:76px;background:var(--surface)}
.experiment-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 15px}.experiment-heading h2{font-size:1.75rem;letter-spacing:-.045em;margin-top:8px}.experiment-guide{font-size:1.0625rem;line-height:1.8;margin-bottom:18px}.data-kind{font-size:0.875rem;display:flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid var(--line);border-radius:20px;line-height:1.6;color:var(--muted);background:var(--surface)}.data-kind i{width:5px;height:5px;background:var(--muted);border-radius:50%;flex-shrink:0}.lab-workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:15px;align-items:stretch}.code-cell{min-width:0;border:1px solid #2b3d59;border-radius:10px;overflow:hidden;background:var(--code)}.cell-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#17253c;border-bottom:1px solid #30405a;color:#d4def1;padding:8px 12px}.cell-heading label{display:flex;align-items:center;gap:7px;font-size:0.875rem;color:#d6e2fa}.cell-heading label svg{color:#90a5cd}.cell-heading>div{display:flex;gap:5px}.cell-heading button{min-height:32px;border:0;padding:7px;background:transparent;color:#b8c8e2;font-size:0.875rem}.cell-heading button:hover{background:#263852;color:white}.code-editor{position:relative;display:grid;min-width:0}.code-editor textarea,.code-editor>pre{grid-area:1/1;tab-size:4;font-family:'SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:1rem!important;line-height:1.75rem!important;font-variant-ligatures:none;letter-spacing:0;white-space:pre;overflow:auto;text-align:left;padding:18px 18px 18px 48px!important;border:0;border-radius:0;margin:0!important;background:transparent;min-height:200px;max-height:750px;resize:vertical}.code-editor textarea{z-index:1;color:var(--code-text);caret-color:#fff;min-width:0;outline-offset:-3px}.code-editor textarea::selection{background:#5874a96b}.code-editor.is-highlighted textarea{color:transparent;-webkit-text-fill-color:transparent}.code-editor>pre{color:var(--code-text);pointer-events:none;height:100%;overflow:hidden;max-height:none;min-width:0;min-height:0;overflow-wrap:normal}.code-editor pre code{font:inherit;background:transparent;padding:0;color:inherit;display:block;white-space:pre}.code-gutter{position:absolute;z-index:2;top:18px;left:0;bottom:0;width:37px;overflow:hidden;pointer-events:none;color:#7e92b0;text-align:right;font-family:Consolas,monospace;font-size:0.875rem;line-height:1.75rem}.code-gutter span{display:block}.token-comment{color:#8ba199}.token-string{color:#b9d89a}.token-keyword{color:#c8a9ff}.token-number{color:#81cfde}.token-function{color:#8dbbff}.token-builtin{color:#ebca8d}.run-toolbar{display:flex;align-items:center;gap:9px;padding:11px 12px;background:#17253c;border-top:1px solid #30405a;color:#c5d3e9}.run-toolbar .button{min-height:38px;font-size:0.875rem;padding:9px 12px;gap:6px;border-radius:6px}.run-toolbar>#stop{min-height:38px;padding:7px 10px;border:1px solid #3b4e6c;background:transparent;color:#cbd8f0;font-size:0.875rem}.run-toolbar>span{font-size:0.875rem;line-height:1.7;color:#9cb0d0;margin-left:auto;text-align:right}.result-cell{min-width:0;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden}.output-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 15px;min-height:49px;border-bottom:1px solid var(--line);background:var(--surface-soft)}.output-heading h3{font:500 1rem 'DM Sans',sans-serif;letter-spacing:0;display:flex;align-items:center;gap:7px}.result-dot{width:6px;height:6px;background:var(--muted);border-radius:50%}.output-heading button{font-size:0.875rem;padding:5px 0;min-height:30px;border:0;background:transparent}.output-provenance{font-size:0.875rem;color:var(--muted);line-height:1.7;margin:0;padding:14px 17px 0}.output-provenance.stale{color:var(--warning)}pre{white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;font:1rem/1.9 'SFMono-Regular',Consolas,monospace;color:var(--text);background:var(--surface-soft);border:1px solid var(--line);border-radius:7px;padding:17px;max-height:500px;margin:12px 0 18px}#output{border:0;background:transparent;border-radius:0;padding:15px 17px;margin:0;font-size:0.875rem;line-height:1.9;flex:1;max-height:590px;min-height:160px}#output.error{color:var(--warning)}.result-hint{margin-top:auto;font-size:0.875rem;padding:13px 17px;display:flex;align-items:center;gap:7px;border-top:1px solid var(--line);color:var(--muted)}.execution-status{display:flex;gap:8px;align-items:flex-start;margin-top:14px;color:var(--muted);font-size:0.875rem;line-height:1.8}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--positive);flex-shrink:0;margin-top:6px}.experiment.is-running .status-dot{border:2px solid var(--line);border-top-color:var(--accent);width:12px;height:12px;background:transparent;margin-top:3px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.plot{display:block;width:100%;height:auto;border-radius:9px;border:1px solid var(--line);margin:20px 0;background:#fbfaf6}.runtime-details{margin:8px 0 20px;color:var(--muted)}summary{cursor:pointer;line-height:1.7;padding:13px 0;font-size:1rem;min-height:42px;color:var(--text)}details>p{font-size:1rem;line-height:1.9}.runtime-details summary{font-size:0.875rem;min-height:35px;padding:7px 0}.runtime-details p{font-size:0.875rem}.worked{border:1px solid var(--line);border-radius:9px;padding:0 17px;background:var(--surface);margin:21px 0}.worked>summary{display:flex;align-items:center;gap:9px;font-size:1rem;min-height:51px}.worked>summary:after{content:'+';margin-left:auto;color:var(--muted)}.worked[open]>summary:after{content:'−'}.worked p{font-size:0.875rem;color:var(--muted)}.worked pre{font-size:0.875rem}.observation{max-width:70ch;margin:27px 0 20px}.observation h3{font-size:1.25rem;margin-bottom:10px}.observation p{font-size:1.125rem;line-height:1.9}.change-task{max-width:800px;padding:20px 23px;border:1px solid var(--line);border-radius:9px;background:var(--positive-soft);margin:22px 0}.change-task>span{display:flex;gap:8px;align-items:center;color:var(--positive);font-size:1rem;font-weight:600}.change-task p{font-size:1.125rem;line-height:1.9;margin:10px 0 0}.limits{max-width:70ch;color:var(--muted);font-size:1rem;line-height:1.8}.limits b{font-size:1rem;font-weight:500;color:var(--text)}.limits p{margin:6px 0 0}
.practice{border-top:1px solid var(--line);padding-top:30px;margin-top:34px;max-width:800px}.practice h2{font:500 1.375rem/1.55 'DM Sans',sans-serif;letter-spacing:-.025em;margin:13px 0 23px}.practice fieldset{padding:0;margin:0;border:0}.answer-option{position:relative;display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid var(--line);background:var(--surface);border-radius:8px;margin-bottom:11px;cursor:pointer;font-size:1.0625rem;line-height:1.8}.answer-option>span{display:flex;gap:13px;align-items:flex-start}.answer-option input{margin-top:3px}.answer-letter{font-size:0.875rem;background:var(--surface-soft);border-radius:4px;padding:0 6px;font-weight:500;line-height:22px;color:var(--muted)}.answer-option:has(input:checked){background:var(--accent-soft);border-color:var(--accent)}.practice .button{margin-top:10px}.feedback{font-size:1.0625rem;line-height:1.8;border-radius:8px}.feedback:not(:empty){background:var(--positive-soft);border:1px solid var(--line);padding:17px 20px;margin:18px 0}.feedback.incorrect{background:var(--warning-soft)}.feedback b{display:block;color:var(--ink);margin-bottom:6px}.hints{margin-top:20px}.hints details{border-bottom:1px solid var(--line)}.hints summary{font-size:1rem}.hints p{font-size:1.0625rem}.notebook{margin-top:33px;padding-top:27px;border-top:1px solid var(--line);max-width:800px}.notebook label{display:flex;flex-direction:column;gap:9px;margin-bottom:14px}.notebook label>span:first-child{display:flex;align-items:center;gap:9px;font-size:1.25rem;font-weight:600;color:var(--ink)}.notebook label>span:last-child{font-size:1rem;color:var(--muted)}.notebook textarea{font-size:1.0625rem}.save-note{display:block;font-size:0.875rem;color:var(--muted);line-height:1.8;margin-top:10px}.lesson-source{font-size:0.875rem;color:var(--accent);margin-top:26px}.lesson-source>a{display:inline-flex;align-items:center;gap:4px}.read-mark{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px 20px;background:var(--surface);border:1px solid var(--line);border-radius:9px;max-width:800px;margin-top:25px}.read-mark label{display:flex;gap:9px;align-items:center;font-size:1rem;cursor:pointer;color:var(--ink)}.read-mark>span{font-size:0.875rem;color:var(--muted)}.lesson-pagination{display:flex;justify-content:space-between;gap:25px;border-top:1px solid var(--line);padding-top:24px;margin-top:30px}.lesson-pagination>a{text-decoration:none;font-size:1.0625rem;line-height:1.65;font-weight:500;max-width:48%;color:var(--ink)}.lesson-pagination>a>span{display:block;font-size:0.875rem;font-weight:600;letter-spacing:.08em;color:var(--muted);margin-bottom:7px}.lesson-pagination>a:last-child{text-align:right}.lesson-pagination>a:last-child>svg{margin-left:6px;color:var(--accent)}
.field-notes{max-width:900px;margin:48px auto 65px;padding:0 35px}.field-notes h1{font-size:2.75rem;line-height:1.25;margin:15px 0 20px}.field-notes section{border-top:1px solid var(--line);padding-top:28px;margin-top:32px}.field-notes h2{font-size:1.75rem;margin-bottom:21px}.field-notes h3{font-size:1.25rem;margin:27px 0 15px}.field-notes p{font-size:1.125rem;line-height:1.9}.field-notes code,.upload-panel code{font-family:monospace;font-size:.9em;background:var(--surface-soft);padding:2px 5px;border-radius:4px}.glossary{font-size:1.0625rem;line-height:1.8}.glossary>div{display:grid;grid-template-columns:180px 1fr;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.glossary dt{font-weight:600;color:var(--ink)}.glossary dd{margin:0}.source-list{font-size:1.0625rem;line-height:2.2;padding-left:20px}.upload-panel{padding:20px;background:var(--accent-soft);border:1px solid var(--line);border-radius:9px;margin:20px 0}.upload-panel h3{font:600 1.25rem/1.5 'DM Sans',sans-serif;display:flex;align-items:center;gap:8px;margin-bottom:12px}.upload-panel p{font-size:1rem}.upload-panel>button{font-size:1rem}.upload-panel p:last-child{margin:12px 0 0}.report-section{padding-top:30px;margin-top:30px;border-top:1px solid var(--line);max-width:800px}.report-section h2{font-size:1.75rem;margin:12px 0 17px}.report-section p{font-size:1.0625rem}.report-fields label{display:block;font-size:1.0625rem;font-weight:600;color:var(--ink);margin-bottom:20px}.report-fields textarea{display:block;font-size:1.0625rem;font-weight:400;margin-top:9px}.report-section #report-status{margin-top:12px;color:var(--muted)}
@media(min-width:1700px){.lesson{padding-left:70px;padding-right:70px}.hero{padding-top:85px;padding-bottom:70px}}
@media(max-width:1200px){.hero{gap:40px;padding:50px 35px}.hero h1{font-size:3rem}.hero-meta{gap:11px}.hero-actions{gap:15px}.hero-actions .button{font-size:1rem;padding:12px 14px}.hero-actions .text-link{font-size:1rem}.method-strip{margin-left:35px;margin-right:35px;gap:20px}.method-strip ol{gap:15px}.method-strip li+li:before{margin-right:5px}.course-section{padding:50px 35px}.course-heading h2{font-size:1.9375rem}.closing{margin:0 35px 50px;padding:32px}.reading-layout{grid-template-columns:230px minmax(0,1fr)}.sidebar{padding:25px 15px}.lesson{padding:30px 35px 45px}.lab-workspace{grid-template-columns:minmax(0,1fr)}.result-cell{min-height:200px}.result-cell>#output{min-height:130px;max-height:350px}.code-editor textarea{max-height:470px}.sidebar-title{font-size:0.875rem}.module-heading{padding:23px 22px}.module-meta{right:22px}.module-heading h3{font-size:1.25rem}.lesson-list{padding:0 8px 8px}.lesson-row{gap:9px;padding-left:10px;padding-right:10px}.lesson-row h4{font-size:1rem}.course-heading>p{font-size:1rem;max-width:360px}}
@media(max-width:960px){.header-inner{padding:14px 28px;min-height:69px}.site-header nav{gap:20px}.site-header .source-link{display:none}.hero{padding:45px 28px;gap:28px}.hero h1{font-size:2.625rem}.hero-intro{font-size:1.125rem}.hero-actions{align-items:flex-start;flex-direction:column;gap:17px}.hero-meta{gap:12px 14px}.evidence-demo{padding:21px 20px 0}.evidence-demo h2{font-size:1.625rem}.demo-bottom{margin:0 -20px;padding:15px 20px;font-size:0.875rem;gap:10px}.demo-tabs button{font-size:0.875rem;padding:7px 9px}.method-strip{margin-left:28px;margin-right:28px;flex-direction:column;align-items:flex-start;gap:18px}.method-strip ol{width:100%;justify-content:space-between;gap:10px}.course-section{padding:45px 28px}.course-heading{gap:28px}.course-heading h2{font-size:1.75rem}.course-heading>p{max-width:320px}.closing{margin:0 28px 45px;padding:28px}.closing h2{font-size:1.4375rem}.closing .button{font-size:0.875rem}.reading-layout{display:block}.mobile-course-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 28px;border-bottom:1px solid var(--line);background:var(--surface)}.mobile-course-bar>button{border:0;min-height:35px;padding:5px 0;font-size:1rem;background:transparent}.mobile-course-bar>span{font-size:0.875rem;color:var(--muted)}.sidebar{display:none;position:static;border:0;border-bottom:1px solid var(--line);max-height:60vh;overflow:auto;padding:20px 28px;background:var(--surface)}.sidebar.is-open{display:block}.sidebar-foot,.sidebar-notes{display:none}.sidebar .back-link{margin-bottom:20px}.sidebar nav{display:grid;grid-template-columns:1fr 1fr;gap:15px 25px}.lesson{max-width:900px;padding:30px 40px 45px}.lesson h1{font-size:2.625rem}.lab-workspace{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.code-editor textarea{max-height:600px}.result-cell>#output{max-height:570px}.site-footer{padding-left:28px;padding-right:28px}}
@media(max-width:700px){.header-inner{padding:13px 22px;gap:14px}.brand{font-size:1.0625rem;gap:9px}.brand-symbol{width:32px;height:32px}.brand b{display:block;font-size:0.875rem;line-height:1.4;margin:0;letter-spacing:.02em}.site-header nav{gap:15px;font-size:1rem}.site-header nav>a:first-child{display:none}.theme-button{min-width:36px;width:36px;min-height:36px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:38px 23px 35px;gap:32px}.hero h1{font-size:clamp(2.4375rem,7.5vw,3.3125rem);line-height:1.12;letter-spacing:-.06em;margin-bottom:20px}.hero-break{display:none}.hero-copy>.eyebrow{font-size:0.875rem;padding:6px 10px;margin-bottom:20px}.hero-intro{font-size:1.125rem;max-width:550px;line-height:1.8}.hero-actions{flex-direction:row;align-items:center;gap:21px;margin:24px 0}.hero-actions .button{font-size:1rem;padding:13px 14px;gap:10px}.hero-actions .text-link{font-size:1rem;gap:9px}.hero-meta{gap:10px 16px;padding-top:2px}.hero-meta>span{font-size:0.875rem}.hero-meta svg{width:14px;height:14px}.evidence-demo{padding:23px 24px 0;width:100%}.evidence-demo h2{font-size:1.875rem;margin-bottom:20px}.demo-top{font-size:0.875rem;margin-bottom:20px}.demo-tabs button{font-size:0.875rem;padding:7px 13px;min-height:33px}.demo-chart{margin-top:14px}.demo-bottom{margin:0 -24px;padding:15px 24px;font-size:0.875rem}.demo-bottom a{font-size:0.875rem}.demo-insight{margin-bottom:18px}.method-strip{margin:0 23px;padding:20px 0;gap:15px}.method-strip>span{font-size:0.875rem}.method-strip li{font-size:0.875rem;gap:5px}.method-strip li>span{display:none}.method-strip li+li:before{margin-right:7px;font-size:0.875rem}.method-strip ol{gap:6px;flex-wrap:wrap}.course-section{padding:37px 23px 38px}.course-heading{display:block;margin-bottom:24px}.course-heading h2{font-size:1.8125rem}.course-heading>p{font-size:1.0625rem;max-width:none;margin-top:20px}.course-heading .eyebrow{font-size:0.875rem}.progress-panel{padding:17px;gap:13px;align-items:flex-start;margin-bottom:28px}.progress-icon{width:34px;height:34px;border-radius:8px}.progress-icon svg{width:20px;height:20px}.progress-panel strong{font-size:1rem;line-height:1.6}.progress-panel span:not(.progress-icon){font-size:0.875rem}.progress-right{min-width:64px;padding-top:2px}.progress-right progress{width:64px;height:4px}.progress-right>span{font-size:0.875rem!important}.course-tools{flex-wrap:wrap;gap:14px;margin-bottom:18px}.course-tool-title{width:100%;margin-bottom:1px}.course-tool-title strong{font-size:1.125rem}.course-tool-title>span{font-size:0.875rem}.search-label{width:auto;flex:1}.course-tools>#search-count{font-size:0.875rem}.search-label input{font-size:1rem}#modules{grid-template-columns:1fr;gap:20px}.module-heading{padding:23px 23px 20px;min-height:0}.module-heading h3{font-size:1.375rem}.module-heading p{font-size:1.0625rem}.module-meta{right:23px;top:36px;font-size:0.875rem}.module-icon{width:38px;height:38px;margin-bottom:16px}.lesson-list{padding:0 10px 8px}.lesson-row{padding:16px 11px;min-height:64px;gap:11px}.lesson-row h4{font-size:1.0625rem}.lesson-number{font-size:0.875rem;width:19px}.lesson-time{font-size:0.875rem;min-width:33px}.lesson-time small{font-size:0.875rem}.portable-progress{padding:0 14px}.portable-progress>summary{font-size:1rem}.portable-progress button,.file-button{font-size:0.875rem}.closing{display:block;margin:0 23px 37px;padding:28px 25px}.closing h2{font-size:1.5625rem}.closing .eyebrow{font-size:0.875rem}.closing p{font-size:1rem}.closing .button{margin-top:22px;font-size:1rem;white-space:normal}.site-footer{padding:25px 23px;flex-direction:column;gap:24px}.site-footer>div:last-child{align-items:flex-start;gap:12px;padding:0}.site-footer .brand b{display:inline;margin-left:3px}.site-footer p{font-size:0.875rem}.mobile-course-bar{padding:9px 23px;gap:15px}.mobile-course-bar>button{font-size:0.875rem}.mobile-course-bar>span{font-size:0.875rem}.sidebar{padding:20px 23px}.sidebar nav{display:block}.sidebar .nav-module a{font-size:1rem;min-height:42px}.sidebar .nav-module summary{font-size:1.0625rem}.lesson{padding:25px 23px 35px}.lesson-breadcrumb{align-items:flex-start;gap:13px;font-size:0.875rem;line-height:1.7;margin-bottom:24px}.lesson-breadcrumb>a{max-width:75%}.lesson-breadcrumb>a>span{margin:0 3px}.lesson-breadcrumb>span{font-size:0.875rem;padding-top:1px}.lesson-index{font-size:0.875rem;margin-bottom:11px}.lesson h1{font-size:2.125rem;line-height:1.2;letter-spacing:-.055em;margin-bottom:15px}.standfirst{font-size:1.125rem;line-height:1.7;margin-bottom:23px}.outcome{padding:15px 16px;gap:10px;margin-bottom:21px}.outcome span{font-size:0.875rem}.outcome p{font-size:1rem;line-height:1.8}.outcome>svg{width:18px;height:18px}.on-this-page{gap:15px;margin:20px 0 25px;padding-bottom:13px;font-size:0.875rem}.on-this-page a{gap:5px;min-height:32px}.on-this-page a>span{font-size:0.875rem;padding:2px 4px}.explanation p{font-size:1.125rem;line-height:1.9;margin-bottom:20px}.prediction{padding:19px 20px;margin:25px 0 31px}.prediction h2{font-size:1.25rem;line-height:1.65;margin-bottom:18px}.prediction-label{font-size:1rem}.small-label{font-size:0.875rem}.small-label>span{display:block;margin:3px 0 0;font-size:0.875rem}.prediction textarea{font-size:1.0625rem}.experiment-heading{gap:14px;align-items:flex-start}.experiment-heading h2{font-size:1.5rem;margin-top:8px}.experiment-heading .eyebrow{font-size:0.875rem}.data-kind{font-size:0.875rem;max-width:102px;padding:6px 8px;margin-top:10px;line-height:1.6}.experiment-guide{font-size:1rem;line-height:1.85}.lab-workspace{grid-template-columns:minmax(0,1fr);gap:13px}.code-editor textarea{max-height:500px;min-height:220px}.cell-heading{padding:8px 11px}.cell-heading label{font-size:0.875rem}.cell-heading button{min-height:36px;font-size:0.875rem}.run-toolbar{padding:11px}.run-toolbar>span{font-size:0.875rem}.run-toolbar .button{font-size:1rem;min-height:40px;padding:10px 12px}.run-toolbar>#stop{font-size:0.875rem;min-height:40px}.result-cell{min-height:210px}.result-cell>#output{max-height:350px;min-height:140px;font-size:0.875rem}.output-heading{padding:8px 14px}.output-heading button{font-size:0.875rem}.output-provenance{font-size:0.875rem;padding:12px 15px 0}.result-hint{font-size:0.875rem;padding:12px 15px}.execution-status{font-size:0.875rem;line-height:1.8}.runtime-details summary{font-size:0.875rem}.worked{padding:0 14px;margin-top:18px}.worked>summary{font-size:0.875rem;line-height:1.8}.worked p{font-size:0.875rem}.worked pre{font-size:0.875rem;padding:14px}.observation{margin-top:24px}.observation h3{font-size:1.25rem}.observation p{font-size:1.125rem}.change-task{padding:18px 20px}.change-task p{font-size:1.0625rem;line-height:1.9}.limits{font-size:0.875rem;line-height:1.9}.limits b{font-size:0.875rem}.practice{padding-top:26px;margin-top:28px}.practice h2{font-size:1.25rem;line-height:1.6;margin-bottom:20px}.practice .eyebrow{font-size:0.875rem}.answer-option{font-size:1.0625rem;padding:14px 15px;gap:10px;line-height:1.8}.answer-option>span{gap:10px}.answer-letter{display:none}.practice .button{font-size:1rem}.feedback{font-size:1rem}.notebook label>span:first-child{font-size:1.25rem}.notebook label>span:last-child{font-size:1rem}.save-note{font-size:0.875rem}.read-mark{display:block;padding:17px}.read-mark label{font-size:1rem}.read-mark>span{font-size:0.875rem;display:block;margin:10px 0 0 27px}.lesson-pagination{gap:20px}.lesson-pagination>a{font-size:1rem}.lesson-pagination>a>span{font-size:0.875rem}.lesson-pagination>a:last-child>svg{display:none}.field-notes{padding:0 23px;margin:31px auto 40px}.field-notes h1{font-size:2rem;line-height:1.3}.field-notes h2{font-size:1.5625rem}.field-notes p{font-size:1.125rem}.glossary>div{display:block}.glossary dt{margin-bottom:5px}.glossary dd{font-size:1.0625rem}.source-list{font-size:1rem}.field-notes pre{font-size:0.875rem}.upload-panel{padding:17px}.upload-panel>button{font-size:0.875rem;margin-top:8px}.upload-panel p{font-size:0.875rem}.report-section h2{font-size:1.5625rem}.report-fields label{font-size:1rem}.report-section .eyebrow{font-size:0.875rem}}
@media(max-width:370px){.hero h1{font-size:2.25rem}.hero-actions{gap:15px;align-items:flex-start;flex-direction:column}.hero-actions .button{font-size:1rem}.hero-meta{gap:9px 12px}.hero-meta>span{font-size:0.875rem}.demo-tabs button{font-size:0.875rem;padding:7px 8px}.demo-bottom{gap:9px;font-size:0.875rem}.demo-bottom a{font-size:0.875rem}.demo-top{font-size:0.875rem}.evidence-demo{padding-left:19px;padding-right:19px}.demo-bottom{margin-left:-19px;margin-right:-19px;padding-left:19px;padding-right:19px}.demo-insight p{font-size:0.875rem}.method-strip ol{gap:5px}.method-strip li{font-size:0.875rem;gap:0}.method-strip li+li:before{font-size:0.875rem;margin-right:6px}.progress-icon{display:none}.progress-panel{padding:16px;gap:10px}.lesson-row{gap:8px;padding-left:8px;padding-right:8px}.lesson-row h4{font-size:1rem}.lesson-row>svg{width:13px}.module-heading h3{font-size:1.25rem}.module-meta{font-size:0.875rem}.on-this-page{gap:11px;font-size:0.875rem}.on-this-page a>span{display:none}.lesson h1{font-size:1.9375rem}.experiment-heading h2{font-size:1.375rem}.run-toolbar>span{font-size:0.875rem}.brand{font-size:1rem}.site-header nav{font-size:0.875rem;gap:12px}.header-inner{padding-left:19px;padding-right:19px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Utility text stays readable, including at phone widths. */
@media(max-width:700px){.method-strip ol{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.method-strip li+li:before{display:none}.theme-button{width:40px;min-width:40px;min-height:40px}}
@media(max-width:370px){.demo-index{display:none}.demo-top{letter-spacing:.07em}.demo-bottom{flex-wrap:wrap;gap:10px}.demo-bottom>span{width:100%}.run-toolbar>span{font-size:0.875rem;line-height:1.5;max-width:125px}.run-toolbar{flex-wrap:wrap}}
@media(forced-colors:active){.code-editor.is-highlighted textarea{color:CanvasText!important;-webkit-text-fill-color:CanvasText!important;background:Canvas}#code-highlight,.code-gutter{display:none}}

/* Reading-first type scale: comfortable defaults, including on phones. */
:root{--type-reading:1.25rem;--type-body:1.125rem;--type-ui:1rem;--type-detail:.875rem;--type-code:1rem}
body{font-size:var(--type-body)}
h1,h2,h3,h4{overflow-wrap:break-word}
.brand{min-width:0;white-space:normal;font-size:1.125rem}
.brand>span{min-width:0}
.site-header nav{flex-wrap:wrap;font-size:var(--type-ui)}
.site-header nav>a,.theme-button,button,.button{min-height:44px}
.hero-intro{font-size:1.25rem;line-height:1.7}
.hero-actions{flex-wrap:wrap}
.hero-meta>span{font-size:var(--type-detail)}
.method-strip{flex-wrap:wrap}
.method-strip ol{flex-wrap:wrap}
.method-strip li{font-size:var(--type-ui)}
.course-heading>p,.module-heading p,.progress-panel span:not(.progress-icon){font-size:var(--type-ui)}
.module-heading{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px 16px;min-height:0;padding:26px}
.module-icon{margin:0;grid-column:1;grid-row:1}
.module-meta{position:static;grid-column:2;grid-row:1;align-self:center;font-size:var(--type-detail);line-height:1.7}
.module-heading h3,.module-heading p{grid-column:1/-1;margin:0}
.module-heading h3{font-size:1.5rem}
.lesson-row h4{font-size:1.0625rem}
.progress-panel strong{font-size:1.125rem;line-height:1.6}
.course-tools{flex-wrap:wrap}
.search-label input{font-size:var(--type-ui)}
.reading-layout{max-width:1680px;grid-template-columns:300px minmax(0,1fr);background:var(--surface)}
.sidebar{background:var(--paper)}
.nav-module summary,.nav-module a{font-size:var(--type-ui);line-height:1.65}
.nav-module a{min-width:0;padding-top:12px;padding-bottom:12px}
.nav-module a>span,.nav-module a>small{font-size:var(--type-detail)}
.lesson{max-width:1240px;padding:38px 48px 60px}
.lesson-breadcrumb,.lesson-index{font-size:var(--type-detail)}
.standfirst{font-size:1.25rem;line-height:1.7}
.explanation{max-width:70ch}
.explanation p{font-size:var(--type-reading);line-height:1.75;margin-bottom:1.25em}
.outcome{max-width:900px}
.outcome p{font-size:var(--type-body);line-height:1.7}
.outcome span,.small-label,.small-label>span{font-size:var(--type-detail)}
.on-this-page{gap:18px 24px}
.on-this-page a{font-size:var(--type-ui);min-height:44px;line-height:1.6}
.prediction{max-width:900px;padding:25px 28px}
.prediction h2{font-size:1.375rem;line-height:1.6}
.prediction-label{font-size:var(--type-ui)}
.prediction textarea,.notebook textarea,.report-fields textarea{font-size:var(--type-body);min-height:110px}
.experiment-heading{flex-wrap:wrap}
.experiment-guide,.observation p,.change-task p,.answer-option,.feedback,.field-notes p{font-size:var(--type-body);line-height:1.8}
.data-kind{font-size:var(--type-detail);max-width:none}
.lab-workspace{grid-template-columns:minmax(0,1fr)}
.cell-heading{flex-wrap:wrap;gap:12px;padding:10px 16px}
.cell-heading label,.cell-heading button,.output-heading h3,.output-heading button{font-size:var(--type-ui)}
.cell-heading label{min-width:0;overflow-wrap:anywhere}
.code-editor textarea,.code-editor>pre{font-size:var(--type-code)!important;line-height:1.75rem!important}
.code-gutter{font-size:var(--type-detail);line-height:1.75rem}
.run-toolbar{flex-wrap:wrap;gap:10px;padding:14px 16px}
.run-toolbar .button,.run-toolbar>#stop{font-size:var(--type-ui);min-height:44px}
.run-toolbar>span{font-size:var(--type-detail);line-height:1.6}
.result-cell{min-height:240px}
pre,#output,.result-cell>#output,.worked pre,.field-notes pre{font-size:var(--type-code);line-height:1.75}
.result-cell>#output{max-height:450px}
.output-provenance,.result-hint,.execution-status,.runtime-details summary,.runtime-details p,.worked p,.limits,.limits b,.save-note,.lesson-source{font-size:var(--type-detail);line-height:1.8}
.output-heading{padding:10px 18px}
.worked>summary,.hints summary,.read-mark label,.lesson-pagination>a{font-size:var(--type-ui)}
.notebook label>span:last-child,.report-section p,.upload-panel p,.glossary,.glossary dd,.source-list{font-size:var(--type-ui)}
.practice h2{font-size:1.5rem;line-height:1.6}
.answer-letter{font-size:var(--type-detail)}
.read-mark{flex-wrap:wrap}
.read-mark>span{font-size:var(--type-detail)}
.lesson-pagination>a{min-width:0;overflow-wrap:anywhere}
.demo-top{flex-wrap:wrap;gap:12px;letter-spacing:.04em}
.demo-tabs{max-width:100%;width:100%;display:flex}
.demo-tabs button{font-size:var(--type-ui);min-height:44px;flex:1;padding:9px 12px}
.demo-insight p{font-size:var(--type-ui);line-height:1.65}
.demo-bottom{flex-wrap:wrap;font-size:var(--type-detail)}
.demo-bottom a{font-size:var(--type-detail)}
@media(min-width:1800px){.lab-workspace{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
@media(max-width:1100px){.reading-layout{grid-template-columns:270px minmax(0,1fr)}.lesson{padding:32px}.method-strip{align-items:flex-start}.method-strip ol{gap:14px}}
@media(max-width:960px){.reading-layout{display:block}.lesson{padding:32px 36px}.sidebar nav{grid-template-columns:1fr}.mobile-course-bar{flex-wrap:wrap}.mobile-course-bar>button{font-size:var(--type-ui);min-height:44px}.mobile-course-bar>span{font-size:var(--type-detail)}}
@media(max-width:700px){
 :root{--type-reading:1.125rem}
 .header-inner{gap:12px}
 .brand{font-size:1rem}
 .brand b{font-size:var(--type-detail)}
 .site-header nav{font-size:var(--type-ui);gap:12px;flex-wrap:nowrap}
 .hero-intro{font-size:var(--type-body)}
 .hero-actions{align-items:stretch;flex-direction:column;gap:18px}
 .hero-actions .button,.hero-actions .text-link{font-size:var(--type-ui)}
 .hero-actions .button{width:100%}
 .hero-actions .text-link{align-self:flex-start}
 .demo-index{display:none}
 .demo-top{font-size:var(--type-detail)}
 .demo-insight p{font-size:var(--type-ui)}
 .demo-tabs button{font-size:var(--type-ui);padding:9px 7px}
 .demo-bottom{gap:12px}
 .method-strip ol{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 20px}
 .method-strip li{font-size:var(--type-ui);gap:0}
 .progress-panel{display:flex;flex-direction:column;gap:14px}
 .progress-icon{display:none}
 .progress-right{width:100%;margin:0;flex-direction:row;align-items:center;gap:15px}
 .progress-right>span{font-size:var(--type-detail)!important;white-space:nowrap}
 .progress-right progress{width:auto;flex:1}
 .course-tools{align-items:center}
 .search-label{min-width:0}
 .module-heading{padding:24px 21px}
 .lesson-row{display:grid;grid-template-columns:25px minmax(0,1fr) 18px;column-gap:10px;row-gap:7px;align-items:start;padding:18px 10px}
 .lesson-number{grid-column:1;grid-row:1;font-size:var(--type-detail);padding-top:2px}
 .lesson-row h4{grid-column:2;grid-row:1;font-size:1.0625rem}
 .lesson-time{grid-column:2;grid-row:2;font-size:var(--type-detail);margin:0;padding:0;display:flex;align-items:center;gap:10px;min-width:0;white-space:normal}
 .lesson-time small{font-size:var(--type-detail)}
 .lesson-row>svg{grid-column:3;grid-row:1;margin-top:5px}
 .lesson{padding:26px 23px 40px}
 .lesson-breadcrumb{gap:12px;font-size:var(--type-detail);line-height:1.7;flex-wrap:wrap}
 .lesson-breadcrumb>a{max-width:100%}
 .lesson-breadcrumb>span{font-size:var(--type-detail)}
 .lesson-index{font-size:var(--type-detail)}
 .standfirst{font-size:var(--type-body)}
 .outcome{padding:18px}
 .on-this-page a{font-size:var(--type-ui)}
 .on-this-page a>span{font-size:var(--type-detail)}
 .prediction{padding:22px 20px}
 .prediction h2{font-size:1.25rem}
 .experiment-heading{align-items:flex-start;gap:12px}
 .experiment-heading h2{font-size:1.625rem}
 .data-kind{font-size:var(--type-detail);margin-top:0}
 .code-editor textarea{max-height:540px}
 .run-toolbar{padding:13px}
 .run-toolbar>span{font-size:var(--type-detail);max-width:none;text-align:left;flex-basis:100%;margin:2px 0 0}
 .run-toolbar>span br{display:none}
 .run-toolbar>span br:after{content:' · '}
 .output-heading h3,.output-heading button{font-size:var(--type-ui)}
 .practice h2{font-size:1.375rem}
 .answer-option{font-size:var(--type-body)}
 .read-mark label{font-size:var(--type-ui);align-items:flex-start}
 .read-mark label input{margin-top:5px}
 .read-mark>span{font-size:var(--type-detail)}
 .field-notes p{font-size:var(--type-body)}
 .glossary dd,.source-list{font-size:var(--type-ui)}
}
@media(max-width:370px){.site-header nav>a{display:none}.header-inner{padding-left:19px;padding-right:19px}.hero-actions .button{font-size:var(--type-ui)}.run-toolbar>span{font-size:var(--type-detail)}}
.field-notes code,.upload-panel code{overflow-wrap:anywhere;word-break:break-word}

/* A quiet reading route. Font sizes and executable content are preserved. */
.header-inner{max-width:1440px;min-height:68px;padding:12px 28px;gap:16px}
.site-header nav{gap:14px;flex-wrap:nowrap;align-items:center}
.site-header .brand{font-size:1.0625rem;gap:9px}.site-header .brand-symbol{width:30px;height:30px}
.site-header nav .contents-toggle{display:none;border:0;background:transparent;padding:8px;font-size:1rem;gap:6px}
.header-help{position:relative;font-size:1rem}.header-help>summary{list-style:none;padding:10px 4px;font-size:1rem;min-height:44px;display:flex;align-items:center}
.header-help>summary::-webkit-details-marker{display:none}
.header-help>div{position:absolute;right:0;top:100%;width:235px;max-width:calc(100vw - 30px);padding:8px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow);z-index:40}
.header-help a{display:block;font-size:1rem;padding:10px 0;line-height:1.6;text-decoration:none}.header-help a:hover{color:var(--accent)}
.theme-button{width:40px;min-width:40px;min-height:44px;background:transparent;border:0}
.reading-layout{max-width:1440px;grid-template-columns:260px minmax(0,1fr)}
.sidebar{padding:28px 20px;top:68px;max-height:calc(100vh - 68px);background:var(--paper)}
.back-link{margin-bottom:18px}.nav-module{margin-bottom:10px}.nav-module summary{font-weight:500}.nav-module a{font-size:1rem;padding:9px 8px}
.quiet-lesson{max-width:1040px;padding:34px 48px 48px}
.lesson-introduction{margin-bottom:28px}.lesson-context{display:flex;gap:12px 24px;justify-content:space-between;align-items:baseline;flex-wrap:wrap;color:var(--muted);font-size:.875rem;line-height:1.7;margin:0 0 16px}
.lesson-context>a{text-decoration:none}.lesson-context>span{white-space:nowrap}
.quiet-lesson h1{font-size:clamp(2.1rem,3.4vw,2.8rem);line-height:1.2;margin:0 0 16px;max-width:22ch}
.quiet-lesson .standfirst{font-size:1.125rem;line-height:1.7;margin:0;max-width:65ch}
.explanation{max-width:68ch}.explanation p{font-size:var(--type-reading);line-height:1.75;margin-bottom:1.2em}
.prediction{border:0;border-radius:0;background:transparent;padding:0;margin:28px 0 22px;max-width:68ch}
.prediction h2{font-family:inherit;font-weight:500;font-size:1.125rem;line-height:1.75;letter-spacing:0;margin:0 0 6px}
.prediction-notes>summary{font-size:1rem;color:var(--muted);padding:8px 0;min-height:40px}.prediction-notes summary span{font-size:.875rem}
.prediction textarea{margin:6px 0 0;min-height:90px}
.experiment>.data-kind{display:block;background:transparent;border:0;border-radius:0;padding:0;margin:0 0 10px;font-size:.875rem;color:var(--muted);max-width:none;line-height:1.7}
.lab-workspace{display:block}.code-cell{border-radius:8px}.cell-heading{padding:8px 16px;flex-wrap:nowrap;gap:12px}.cell-heading label{font-size:1rem;font-weight:400}
.editor-tools{min-width:0}.editor-tools>summary{font-size:1rem;list-style:none;min-height:40px;padding:7px 0;color:#d4def1}
.editor-tools>summary::-webkit-details-marker{display:none}
.editor-tools>div{position:absolute;right:0;top:100%;width:310px;max-width:calc(100vw - 48px);padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:8px;color:var(--text);box-shadow:var(--shadow);z-index:8}
.cell-heading{position:relative;overflow:visible}.code-cell:has(.editor-tools[open]){overflow:visible}.editor-tools>div button{background:var(--surface);border:0;color:var(--text);display:flex;width:100%;justify-content:flex-start;margin:0;padding:9px 8px;font-size:1rem;min-height:44px}
.editor-tools p,.editor-tools .runtime-details p{font-size:.875rem;line-height:1.8;margin:8px 0}.editor-tools .runtime-details{margin:0}.editor-tools .runtime-details summary{font-size:1rem;color:var(--text);min-height:44px}
.run-toolbar{padding:12px 16px;justify-content:flex-start;align-items:center}.run-toolbar>span.run-status{font-size:.875rem;line-height:1.65;margin-left:0;text-align:left;flex:1;min-width:0;max-width:none}
.run-status:empty{display:none}.run-toolbar #stop[hidden]{display:none}.run-toolbar .primary{box-shadow:none}.run-toolbar .primary:disabled{opacity:.7}
.result-cell{min-height:0;background:transparent;border:0;border-radius:0;margin-top:22px;display:block;overflow:visible}
.result-cell[hidden]{display:none}.output-heading{padding:0;min-height:36px;background:transparent;border:0;gap:14px}.output-heading h3{font-size:1rem;font-weight:500}.output-heading button{font-size:.875rem;min-height:40px}
.output-provenance{padding:4px 0 0;font-size:.875rem;line-height:1.7;margin:0 0 8px}
.result-cell #output{min-height:0;padding:12px 14px;max-height:450px;margin:0;background:var(--surface-soft);border:0;border-radius:6px;font-size:1rem;line-height:1.75}
#plots:empty{display:none}#plots .plot{margin-top:18px}.worked{background:transparent;border:0;border-radius:0;padding:0;margin:14px 0 26px}
.worked>summary{display:list-item;font-size:1rem;min-height:44px;padding:9px 0;color:var(--muted)}.worked>summary:after{content:none}.worked>p{font-size:.875rem;line-height:1.8;margin:6px 0 12px}
.observation,.change-task{border:0;border-radius:0;background:transparent;max-width:68ch;margin:24px 0;padding:0}
.observation h2,.change-task h2,.practice>h2{font-family:inherit;font-weight:500;letter-spacing:0;font-size:1.125rem;line-height:1.6;margin:0 0 8px}
.observation p,.change-task p,.practice-question{font-size:var(--type-reading);line-height:1.75;margin:0 0 16px}.limits{margin:18px 0 0;max-width:68ch}.limits p{font-size:.875rem;line-height:1.85;margin:0}.limits strong{font-weight:500}
.practice{border-top:1px solid var(--line);margin:32px 0 0;padding-top:26px}.practice-question{font-size:1.125rem;margin-bottom:14px}
.answer-option{border:0;border-radius:0;padding:9px 0;min-height:44px;margin:0;background:transparent;font-size:1.125rem;line-height:1.75;gap:12px;align-items:flex-start}.answer-option:hover,.answer-option:has(input:checked){background:transparent;border-color:transparent}.answer-option input{margin-top:6px}.answer-option>span{display:block}
.practice .button{box-shadow:none;font-size:1rem;margin-top:14px;min-height:44px;padding:10px 16px}.feedback:empty{display:none}.feedback{border-radius:6px;font-size:1rem;margin-top:18px}
.hints{border:0;background:transparent;margin:14px 0 0}.hints>summary{font-size:1rem;color:var(--muted);padding:9px 0;min-height:44px}.hints>details{margin-left:18px;border:0}.hints>details summary{font-size:1rem;min-height:40px}.hints p{font-size:1rem;line-height:1.8}
.notebook{border:0;border-top:1px solid var(--line);margin:26px 0 0;padding:16px 0 0;background:transparent}.notebook>summary{font-size:1rem;font-weight:400;color:var(--muted);padding:9px 0;min-height:44px}.notebook textarea{margin:7px 0 0}.save-note{font-size:.875rem;line-height:1.8;margin-top:9px}
.lesson-source{margin:18px 0;font-size:.875rem;line-height:1.8}.lesson-source a{color:var(--muted)}
.read-mark{padding:0;background:transparent;border:0;border-radius:0;margin:22px 0 0}.read-mark label{font-size:1rem;line-height:1.7;min-height:44px;display:flex;align-items:center;gap:10px}.read-mark input{margin:0}
.lesson-pagination{margin-top:14px;border-top:1px solid var(--line);padding-top:24px;gap:24px}.lesson-pagination a{font-size:1rem;line-height:1.75}.lesson-pagination a>span{font-size:.875rem;font-weight:400;letter-spacing:0;color:var(--muted);margin-bottom:5px}
.quiet-footer{max-width:1180px;padding:24px 32px;margin:auto;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px 28px;color:var(--muted);font-size:.875rem;line-height:1.8}.quiet-footer a{text-decoration:none}.quiet-footer .brand{margin-right:auto;font-size:1rem}.quiet-footer .brand-symbol{width:26px;height:26px}
/* Maths stays available, with a quiet collapsed state and unboxed results. */
.maths-refresher{border:0;border-radius:0;background:transparent;margin:0 0 24px;padding:0;max-width:68ch}.maths-refresher>summary{display:list-item;list-style:revert;font-size:1rem;font-weight:400;color:var(--muted);line-height:1.7;padding:8px 0;min-height:44px}.maths-refresher>summary:after{content:none}
.refresher-content{border-left:2px solid var(--line);padding:10px 0 5px 20px;font-size:var(--type-reading);line-height:1.75}.refresher-content>.math-display{background:transparent;border:0;border-radius:0;padding:4px 0;margin:12px 0}.refresher-example b{font-weight:500;font-size:1rem;color:var(--text)}.refresher-content>a{font-size:.875rem}
#symbolic-output{padding:4px 0}.math-results{gap:14px}.math-card{background:transparent;border:0;border-radius:0;padding:6px 0}.math-card>span{font-size:.875rem;color:var(--muted)}.math-card .math-display{font-size:1.125rem;padding:0}.math-display .katex-display{margin:.4em 0}
.plain-output{padding:0;margin:0}.plain-output>summary,.plain-worked>summary{font-size:.875rem;color:var(--muted);min-height:44px;padding:9px 0}.worked .math-results{padding:0}.math-placeholder{margin:0;padding:0}
/* The overview is a course index; examples and portable-work tools are optional. */
.quiet-overview{max-width:1060px;margin:auto;padding:48px 38px 40px}.course-introduction{max-width:760px;margin:0 0 38px}.course-introduction h1{font-size:clamp(2.2rem,4vw,3.2rem);line-height:1.2;margin:0 0 18px}.course-introduction .standfirst{font-size:1.25rem;line-height:1.75;margin:0 0 16px;max-width:65ch}
.overview-meta{font-size:.875rem;line-height:1.8;color:var(--muted);margin:0 0 20px}.overview-start{display:flex;align-items:center;flex-wrap:wrap;gap:16px 22px}.overview-start>a:not(.button){font-size:1rem;min-height:44px;display:inline-flex;align-items:center}
.overview-progress{display:flex;align-items:center;gap:16px;margin-top:22px;font-size:.875rem;color:var(--muted);line-height:1.7}.overview-progress progress{width:150px;max-width:45%}
.curriculum-heading{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:16px;margin-bottom:16px}.curriculum-heading h2{font-family:inherit;font-weight:500;letter-spacing:0;font-size:1.4rem}.curriculum-heading .search-label{width:245px;background:var(--surface)}
#modules{display:block}.quiet-curriculum .module{border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;margin:0;padding:0;overflow:visible}
.quiet-curriculum .module-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px;padding:18px 0;cursor:pointer;list-style:none;min-height:60px;position:static}.quiet-curriculum .module-heading::-webkit-details-marker{display:none}.quiet-curriculum .module-heading:after{content:'+';color:var(--muted);font-size:1.25rem;margin-left:8px}.quiet-curriculum .module[open]>.module-heading:after{content:'−'}
.module-number{font-size:.875rem;color:var(--muted);font-variant-numeric:tabular-nums}.quiet-curriculum .module-heading h3{font-family:inherit;letter-spacing:0;font-size:1.125rem;font-weight:500;flex:1;line-height:1.7;margin:0}.module-size{font-size:.875rem;color:var(--muted);line-height:1.7}.module-body{padding:0 0 18px 32px}.module-description{font-size:1rem;color:var(--muted);line-height:1.8;margin:0 0 12px}
.quiet-curriculum .lesson-list{border:0;padding:0}.quiet-curriculum .lesson-row{border:0;border-radius:0;padding:10px 8px;min-height:48px;display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:12px;align-items:baseline}.quiet-curriculum .lesson-row:hover{background:var(--accent-soft)}.quiet-curriculum .lesson-row h4{font-size:1.0625rem;font-weight:400;line-height:1.7;margin:0}.quiet-curriculum .lesson-number{width:auto;font-size:.875rem}.quiet-curriculum .lesson-time{font-size:.875rem;min-width:0;padding:0;margin:0}.quiet-curriculum .lesson-time small{font-size:.875rem;display:inline;margin-left:8px}
.overview-support{margin-top:28px}.course-example,.portable-progress{border:0;border-radius:0;box-shadow:none;background:transparent;margin:0;padding:0}.course-example>summary,.portable-progress>summary{font-size:1rem;font-weight:400;display:list-item;list-style:revert;min-height:44px;padding:10px 0;color:var(--muted)}.portable-progress>summary:after{content:none}.course-example .evidence-demo,.course-example .symbol-demo{max-width:620px;margin:12px 0 24px}.portable-progress>div{padding:8px 0 16px}.overview-support #progress-status{font-size:.875rem;margin-top:10px}
@media(min-width:1800px){.lab-workspace{display:block}}
@media(max-width:1100px){.reading-layout{grid-template-columns:245px minmax(0,1fr)}.quiet-lesson{padding:30px 34px}}
@media(max-width:960px){.site-header nav .contents-toggle{display:inline-flex}.reading-layout{display:block}.sidebar{display:none;position:static;top:auto;max-height:65vh;width:100%;overflow:auto;border:0;border-bottom:1px solid var(--line);padding:20px 28px;background:var(--surface)}.sidebar.is-open{display:block}.sidebar nav{display:block}.quiet-lesson{padding:28px 36px 40px;max-width:900px}}
@media(max-width:700px){.header-inner{padding:10px 18px;gap:8px;flex-wrap:wrap}.site-header .brand{font-size:1rem}.site-header .brand b{font-size:.875rem}.site-header nav{gap:6px}.site-header nav .contents-toggle{padding:8px 4px;font-size:.875rem;min-height:44px}.contents-toggle svg{display:none}.header-help>summary{font-size:.875rem}.theme-button{width:36px;min-width:36px}.site-header .course-home-link{font-size:.875rem}.quiet-lesson{padding:24px 23px 36px}.lesson-context{font-size:.875rem;gap:5px 14px;margin-bottom:14px}.quiet-lesson h1{font-size:2rem;line-height:1.22;margin-bottom:14px}.quiet-lesson .standfirst{font-size:1.125rem;line-height:1.7}.lesson-introduction{margin-bottom:24px}.prediction{margin-top:24px}.prediction h2{font-size:1.125rem}.prediction-notes>summary{font-size:1rem}.data-kind{max-width:none!important;font-size:.875rem!important}.run-toolbar{padding:12px}.run-toolbar>span.run-status{flex-basis:100%;margin:0;font-size:.875rem}.run-toolbar .button{font-size:1rem}.output-heading{padding:0}.result-cell{margin-top:18px}.result-cell #output{font-size:1rem;min-height:0}.observation h2,.change-task h2,.practice>h2{font-size:1.125rem}.answer-option{font-size:1.125rem;padding:8px 0}.quiet-footer{padding:22px 23px;justify-content:flex-start;gap:8px 22px}.maths-refresher>summary{font-size:1rem;display:list-item;padding:9px 0}.refresher-content{font-size:var(--type-reading);padding:8px 0 4px 16px}.math-card{padding:4px 0}.math-card .math-display{font-size:1.125rem}.quiet-overview{padding:32px 23px}.course-introduction{margin-bottom:30px}.course-introduction h1{font-size:2.2rem}.course-introduction .standfirst{font-size:1.125rem}.overview-start{gap:8px 20px}.overview-start .button{width:auto}.curriculum-heading .search-label{width:100%}.module-size{flex-basis:100%;padding-left:31px;order:4}.quiet-curriculum .module-heading{gap:0 12px;padding:16px 0}.quiet-curriculum .module-heading h3{font-size:1.125rem}.quiet-curriculum .module-heading:after{margin-left:0}.module-body{padding-left:0}.quiet-curriculum .lesson-row{grid-template-columns:22px minmax(0,1fr);padding:10px 0;gap:3px 9px}.quiet-curriculum .lesson-number{grid-column:1;grid-row:1}.quiet-curriculum .lesson-row h4{grid-column:2;grid-row:1}.quiet-curriculum .lesson-time{grid-column:2;grid-row:2}.overview-meta{font-size:.875rem}}
@media(max-width:370px){.site-header nav>a.course-home-link{display:inline-flex}.site-header .brand-symbol{width:26px;height:26px}.header-inner{padding-left:14px;padding-right:14px}.site-header nav{gap:4px}.site-header .brand{max-width:145px}.site-header .brand>span{min-width:0}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
.lesson-context>span{white-space:normal}.brand>span,.header-help a{overflow-wrap:anywhere}
@media(max-width:700px){.site-header nav{flex-wrap:wrap;max-width:100%}}

.storage-error{font-size:1rem;line-height:1.8;color:var(--warning);margin:18px 0}
/* Evidence is the focus: readable figures and one connected experiment surface. */
:root{--paper:#f9fafc;--surface:#fff;--surface-soft:#f0f4fa;--ink:#182b49;--text:#35465f;--muted:#52627a;--line:#dce4ee;--accent:#3156c7;--accent-hover:#2344a8;--accent-soft:#edf1fc;--plot-main:#236b60;--plot-second:#a25f24;--diagram-one:#dce9e6;--diagram-two:#f2dfbf;--diagram-three:#e0e7f7}
:root[data-theme=dark]{--paper:#101a2b;--surface:#17263b;--surface-soft:#203149;--ink:#edf3ff;--text:#d8e2f2;--muted:#afc0d9;--line:#354962;--accent:#a9c1ff;--accent-soft:#243959;--plot-main:#98d8c5;--plot-second:#efbe7f;--diagram-one:#295247;--diagram-two:#685032;--diagram-three:#354a70}
.site-header{background:var(--surface)}.quiet-lesson h1{font-weight:650;letter-spacing:-.045em}.lesson-introduction{border-bottom:1px solid var(--line);padding-bottom:25px}
.inline-python{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;background:var(--accent-soft);color:var(--ink);border-radius:4px;padding:.12em .32em;overflow-wrap:anywhere;box-decoration-break:clone;-webkit-box-decoration-break:clone}.katex{color:var(--ink)}p>.katex{font-size:1.1em}
.math-display{max-width:100%;overflow-x:auto;padding:4px 0}.math-display .katex-display{margin:.5em 0}.math-display .katex-display>.katex{text-align:left}
.concept-figure{margin:28px 0 30px;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:20px 24px 22px;overflow:hidden}
.figure-heading{font-size:.9375rem;font-weight:600;color:var(--muted);margin:0 0 10px;line-height:1.7}.concept-figure figcaption{font-size:.9375rem;line-height:1.75;color:var(--muted);margin:12px 0 0}.reference-label{font-weight:600}
.concept-figure .math-display{font-size:1.05rem;margin:8px 0 14px}.concept-narrow,.concept-formula-narrow{display:none}
.concept-svg{display:block;width:100%;max-width:640px;height:auto;margin:auto}.concept-svg text{font-family:'DM Sans',system-ui,sans-serif;font-size:16px;fill:var(--text)}
.concept-svg .axis{fill:none;stroke:var(--muted);stroke-width:1.3}.concept-svg .grid{fill:none;stroke:var(--line);stroke-width:1}.concept-svg .curve,.concept-svg .interval{fill:none;stroke:var(--plot-main);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.concept-svg .curve-1{stroke:var(--plot-second);stroke-dasharray:8 5}.concept-svg .interval{stroke-width:3}.concept-svg .point{fill:var(--plot-main);stroke:var(--surface);stroke-width:1.2}.concept-svg .point-1{fill:var(--plot-second)}.concept-svg .reference{fill:none;stroke:var(--muted);stroke-width:1.5;stroke-dasharray:4 4}.concept-svg .connector{fill:none;stroke:var(--plot-second);stroke-width:2;opacity:.65}.concept-svg .tile{fill:var(--diagram-one);stroke:var(--surface);stroke-width:2}.concept-svg .tile-1{fill:var(--diagram-two)}.concept-svg .band{fill:var(--diagram-one);opacity:.5}.concept-svg .hist{fill:var(--plot-main);stroke:none}.concept-svg .extreme{fill:var(--plot-second)}.concept-svg .cross{fill:none;stroke:var(--plot-second);stroke-width:2}
.curve-legend{list-style:none;display:flex;flex-wrap:wrap;gap:8px 22px;padding:0;margin:10px 0 14px;font-size:.9375rem;line-height:1.7}.curve-legend li{display:flex;align-items:center;gap:9px;min-width:0}.curve-swatch{width:24px;flex:0 0 24px;border-top:3px solid var(--plot-main)}.swatch-1{border-top:3px dashed var(--plot-second)}
.concept-comparison,.timing-boundary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.concept-comparison>div,.timing-boundary>div{border-left:3px solid var(--plot-main);padding:12px 16px;background:var(--surface-soft);min-width:0}.concept-comparison>div+div{border-color:var(--plot-second)}
.concept-figure h3{font-family:inherit;font-size:.9375rem;font-weight:600;line-height:1.7;letter-spacing:0;margin:0 0 8px}.concept-comparison p,.timing-boundary p,.diagram-conclusion{font-size:1.0625rem!important;line-height:1.7!important;margin:4px 0!important}.timing-boundary span{font-size:.9375rem;color:var(--muted)}.timing-boundary .timed{border:2px solid var(--accent);border-radius:7px;background:var(--accent-soft)}
.resample-group{margin:20px 0}.run-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.run-tiles>div{background:var(--diagram-one);border-radius:5px;padding:9px 6px;text-align:center}.run-tiles span{display:block;font-size:.875rem}.run-tiles b{display:block;font-size:1rem;font-weight:500}.resample-group+.resample-group .run-tiles>div{background:var(--diagram-two)}
.reference-table{max-width:100%;overflow:auto;font-size:1rem;margin:18px 0}.reference-table table{width:100%;border-collapse:collapse}.reference-table th,.reference-table td{padding:10px 8px;text-align:left;line-height:1.6;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.reference-table th{font-size:.875rem;font-weight:500;color:var(--muted)}
.prefixes{margin:18px 0}.prefixes>div{margin:14px 0}.prefixes span{font-size:.9375rem}.prefix-track{width:100%;height:16px;margin-top:5px;background:var(--surface-soft);border-radius:3px;overflow:hidden}.prefix-track>div{height:100%;background:var(--plot-main)}
.evidence-bundle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.evidence-bundle>div{padding:13px 15px;background:var(--surface-soft);border-left:3px solid var(--accent);font-size:1rem;line-height:1.7}.evidence-bundle>div:last-child{grid-column:1/-1}
.lab-workspace{border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden;margin-bottom:30px}.lab-workspace .code-cell{border:0;border-radius:0;box-shadow:none}
.result-cell{margin:0;padding:20px 24px 16px;background:var(--surface);overflow:hidden}.output-heading{padding:0;min-height:38px}.output-heading h3{font-size:1rem;font-weight:600}.output-heading button{padding:5px 0;border:0;background:transparent;min-height:36px}.output-provenance{font-size:.875rem;margin:0 0 14px;padding:0;color:var(--muted)}
.worked-figure{margin:20px 0 14px;max-width:100%;min-width:0}.worked-figure picture{display:block;max-width:100%}.worked-figure .plot{width:100%;height:auto;display:block;max-width:760px;margin:0 auto!important;border:1px solid var(--line);border-radius:6px;background:#fff}.worked-figure figcaption{font-size:.875rem;line-height:1.7;margin:8px 0 0;color:var(--muted)}
.lab-workspace .worked{padding:0 24px;background:var(--surface-soft);border:0;border-top:1px solid var(--line);border-radius:0;margin:0}.lab-workspace .worked>summary{font-size:.9375rem;font-weight:500;padding:14px 0;min-height:48px;color:var(--ink)}.worked>p{font-size:.875rem;line-height:1.7;margin:2px 0 16px}.worked[open]{padding-bottom:16px}
.observation{margin-top:26px}.observation h2,.change-task h2{font-weight:600}.change-task{border-left:3px solid var(--accent);padding:4px 0 4px 20px;margin:26px 0}.change-task p{margin-bottom:0}
.answer-option{border:1px solid var(--line);border-radius:8px;padding:13px 16px;margin:10px 0;background:var(--surface);line-height:1.7;gap:14px}.answer-option:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.answer-option input{margin:0;align-self:center}
@media(max-width:700px){.concept-figure{padding:17px 15px 18px;margin:24px 0;border-radius:10px}.concept-wide,.concept-formula-wide{display:none}.concept-narrow,.concept-formula-narrow{display:block}.concept-svg text{font-size:20px}.concept-comparison,.timing-boundary{grid-template-columns:1fr;gap:12px}.concept-comparison>div,.timing-boundary>div{padding:12px}.run-tiles{gap:6px}.run-tiles b{font-size:.875rem}.reference-table{font-size:.9375rem}.reference-table th,.reference-table td{padding:9px 4px}.evidence-bundle{grid-template-columns:1fr}.evidence-bundle>div:last-child{grid-column:auto}.result-cell{padding:17px 16px 12px}.lab-workspace .worked{padding-left:16px;padding-right:16px}.lab-workspace{border-radius:9px}.change-task{padding-left:16px}.answer-option{padding:12px}}

@media(max-width:700px){.run-tiles b{font-size:1.0625rem}}

/* Illustrated course entry; lesson reading surfaces remain unchanged. */
.quiet-overview{max-width:1240px;padding:30px 32px 44px}
.course-introduction.course-hero{max-width:none;margin:0 0 42px;padding:48px 44px;border-radius:24px;background:#18394c;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:22px;align-items:center;color:#f6f3e9;overflow:hidden}
.hero-copy{min-width:0}.hero-kicker{font-size:1rem;font-weight:500;line-height:1.6;margin:0 0 20px;color:#c5d8de}
.course-hero h1{font-size:clamp(2.35rem,4.6vw,3.65rem);font-weight:600;line-height:1.12;letter-spacing:-.055em;color:#f6f3e9;margin:0 0 25px;max-width:12ch}
.course-hero .standfirst{font-size:1.2rem;line-height:1.75;color:#d2dfe2;max-width:37ch;margin-bottom:21px}
.course-hero .overview-meta{color:#bcd0d9;font-size:.875rem;margin:0 0 25px}.course-hero .overview-start{gap:12px 20px}
.course-hero .overview-start .button{background:#f6f3e9;color:#18394c;border-color:#f6f3e9;box-shadow:none}
.course-hero .overview-start a:not(.button){color:#e7eeee;font-size:1rem;text-underline-offset:5px}
.course-hero .overview-start a:focus-visible{outline-color:#f4c976;outline-offset:5px}
.course-hero .overview-progress{color:#c9d9df;margin-top:24px}.course-hero progress{accent-color:#b6d6cc}.course-art{margin:0;min-width:0;width:100%}.hero-illustration{display:block;width:100%;height:auto;max-width:520px;margin:auto;font-family:'DM Sans',system-ui,sans-serif}
@media(max-width:1000px) and (min-width:701px){.course-introduction.course-hero{padding:34px 28px;gap:6px}.course-hero h1{font-size:2.65rem}.course-hero .standfirst{font-size:1.125rem}.course-hero .overview-start{gap:8px 18px}.course-hero .overview-meta{max-width:30ch}}
@media(max-width:700px){.quiet-overview{padding:20px 18px 36px}.course-introduction.course-hero{padding:29px 24px 18px;grid-template-columns:minmax(0,1fr);gap:10px;border-radius:19px;margin-bottom:32px}.hero-kicker{font-size:1rem;margin-bottom:17px}.course-hero h1{font-size:2.5rem;max-width:12ch;margin-bottom:22px}.course-hero .standfirst{font-size:1.125rem;margin-bottom:19px}.course-hero .overview-meta{max-width:32ch;margin-bottom:22px}.course-hero .overview-start{gap:8px 16px}.course-art{max-width:350px;margin:8px auto 0}.course-hero .overview-progress{gap:12px}.course-hero progress{max-width:50%}}
@media(max-width:370px){.quiet-overview{padding:16px 12px 32px}.course-introduction.course-hero{padding:26px 20px 15px}.course-hero h1{font-size:2.2rem}.course-hero .overview-start a:not(.button){font-size:.9375rem}}

.course-hero progress{appearance:none;height:6px;border:0;border-radius:6px;background:#526879}.course-hero progress::-webkit-progress-bar{background:#526879;border-radius:6px}.course-hero progress::-webkit-progress-value{background:#bad8cc;border-radius:6px}.course-hero progress::-moz-progress-bar{background:#bad8cc;border-radius:6px}

.editor-help{margin:0;padding:8px 16px 0;color:#c5d3e9;font-size:.875rem}
.lab-workspace .run-error[hidden],.editor-tools [hidden],.upload-panel #csv-status:empty{display:none}
.run-error{padding:16px 24px;background:var(--surface-soft);border-bottom:1px solid var(--line)}
.run-error h3,.run-error summary{font-size:1rem}
.run-error p,#input-kind,#csv-status{overflow-wrap:anywhere}
.run-error p{margin:4px 0 10px}
.run-error pre{margin:0;max-height:300px;overflow:auto}
@media(max-width:700px){.run-error{padding:16px}}
.timing-setup{padding:10px 16px;border-top:1px solid #30405a}

.experiment-prep{margin-bottom:12px}
.lab-workspace>.observation{padding:0 24px;margin:20px 0 12px}
.example-takeaway{line-height:1.65;margin:12px 0 0}
#run-tools summary{cursor:pointer;padding:6px 0}
#run-tools[hidden],.save-note[hidden],.save-note:empty{display:none}
.hints ol{padding-left:26px}
.hints li{line-height:1.7;margin-bottom:8px}
.report-field-help{display:block;font-size:var(--type-detail);line-height:1.6;font-weight:400}
#code,#report{scroll-margin-top:8px}
@media(max-width:700px){.lab-workspace>.observation{padding:0 14px}}
@media(max-width:370px){#code,#report{scroll-margin-top:42px}}
