:root{--paper:#f8f7f3;--surface:#fffefa;--ink:#26272c;--muted:#797970;--line:#deddd6;--accent:#d75030;--accent-soft:#f6e8df;--blue:#52699b;--code:#24272f;--serif:"Noto Serif SC","Songti SC",serif;--sans:"Manrope","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.65 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer;background:none;color:inherit;padding:0}a,button,input,textarea{-webkit-tap-highlight-color:transparent}a,button,input,select,textarea{outline-offset:4px}a:focus-visible,button:focus-visible{outline:2px solid var(--accent)}button:disabled{opacity:.42;cursor:default}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}svg{vertical-align:middle;flex-shrink:0}button{transition:background .18s,color .18s,border-color .18s,transform .18s}button:active:not(:disabled){transform:translateY(1px)}::selection{background:#f2c6b1}textarea{resize:vertical}input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer;height:18px;margin:10px 0 0}input[type=checkbox]{accent-color:var(--accent);height:15px;width:15px;flex-shrink:0}button:hover:not(:disabled){color:var(--accent)}.site-header{height:76px;gap:38px;padding:0 42px;border-bottom:1px solid var(--line);background:rgba(248,247,243,.97);position:sticky;top:0;z-index:40}.brand,.site-header{display:flex;align-items:center}.brand{gap:10px;white-space:nowrap}.brand-symbol{display:grid;place-items:center;width:31px;height:33px;border-radius:1px;background:var(--accent);color:#fff8f0;font-size:18px;font-weight:600;transform:rotate(-5deg)}.brand b,.brand-symbol{font-family:var(--serif)}.brand b{font-size:23px;font-weight:700;letter-spacing:-1px}.brand-en{font-size:8px;letter-spacing:1.7px;color:#6c6b67;border-left:1px solid #cfcfc5;padding-left:13px;margin-left:4px;max-width:70px;white-space:normal;line-height:1.7}.desktop-nav{display:flex;gap:33px;height:100%;margin:auto}.desktop-nav button{position:relative;font-size:12px;color:#6c6b67;font-weight:600}.desktop-nav button.selected{color:var(--ink)}.desktop-nav button.selected:after{position:absolute;bottom:-1px;height:3px;left:0;right:0;background:var(--accent);content:""}.header-progress{display:flex;align-items:center;gap:12px;font-size:10px;color:#6c6b67}.header-progress>div{width:70px;height:3px;background:#e4e4da}.header-progress i{display:block;height:100%;background:var(--accent)}.mobile-menu,.mobile-nav{display:none}.icon-button{height:32px;width:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;color:#6d6c68}.icon-button:hover{background:#eeeee6}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:12px;font-weight:600;border-radius:4px;min-height:39px;padding:10px 16px;line-height:1.4;white-space:nowrap}.primary{background:var(--accent);color:#fff8f2;border:1px solid var(--accent)}.primary:hover:not(:disabled){color:#fff8f2;background:#bf4529;border-color:#bf4529}.secondary{border:1px solid #d3d2ce;background:#fbfaf6;color:#63625e}.secondary:hover:not(:disabled){background:#f0eee6;color:#383733;border-color:#b6b5b1}.primary.large{padding:15px 22px;font-size:13px;gap:25px}.text-button{display:inline-flex;gap:9px;align-items:center;color:var(--accent);font-size:11px;font-weight:600;line-height:1.5}.library-shell{max-width:1400px;margin:0 auto;padding:58px 62px 0}.library-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:39px;gap:30px}.edition-label{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:600;letter-spacing:1.4px;color:#6e6d69;margin-bottom:18px}.edition-label:before{content:"";height:6px;width:6px;background:var(--accent)}.library-heading h1{font-family:var(--serif);font-size:clamp(36px,3.6vw,53px);font-weight:600;letter-spacing:-2px}.library-heading h1 span{color:var(--accent)}.library-heading-right{padding-bottom:8px;min-width:280px}.library-heading-right>p{font-size:12px;color:#6c6b67;margin-bottom:20px}.search-box{display:flex;gap:10px;align-items:center;padding:11px 13px;background:#f1f0e9;border:1px solid #e1e0d6;border-radius:4px;color:#7e7d79}.search-box input{background:none;border:0;outline:none;width:100%;font-size:11px;color:#575652;min-width:0}.search-box input::placeholder{color:#7a7975}.featured-class{display:grid;grid-template-columns:.92fr 1.08fr;border:1px solid #dcdcd0;border-radius:8px;background:#f1efe6;overflow:hidden;margin-bottom:50px;min-height:470px}.featured-copy{padding:33px 34px;display:flex;align-items:flex-start;flex-direction:column;border-right:1px solid #ddddd1}.course-label{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:9px;color:#706f6b;letter-spacing:.5px}.course-label>span{color:#966b4f;background:#eae1d1;padding:4px 7px;border-radius:2px;font-size:9px}.course-label b{font-weight:500;font-size:10px}.featured-copy h2{font-size:30px;font-family:var(--serif);font-weight:600;line-height:1.7;letter-spacing:-.8px;margin:25px 0 19px;max-width:400px}.featured-copy>p{font-size:13px;line-height:1.95;color:#6c6b67;max-width:355px}.feature-skills{display:flex;gap:10px;align-items:center;font-size:10px;color:#73726e;margin:23px 0 30px}.feature-skills i{width:3px;height:3px;border-radius:50%;background:#bebdb9}.featured-copy>small{display:block;font-size:9px;color:#7a7975;margin-top:24px}.featured-copy>.primary{margin-top:auto}.featured-demo{display:flex;align-items:center;justify-content:center;padding:25px 27px;background:#faf9f4;min-width:0}.featured-demo .demo-surface{width:100%;border:0;padding:0;background:none}.featured-demo .demo-title{padding-bottom:8px;border-bottom:0}.featured-demo .demo-caption{font-size:9px;margin-top:15px}.featured-demo .fit-graphic,.featured-demo .plot{max-height:230px}.featured-demo .fit-graphic svg{height:230px}.featured-demo .demo-title>span{display:none}.featured-demo .readouts{margin:14px 0}.featured-demo .readouts b{font-size:18px}.featured-demo .demo-equation{font-size:12px}.featured-demo .demo-slider{font-size:10px}.featured-demo .primary,.featured-demo .secondary{min-height:34px;padding:8px 13px;font-size:10px}.featured-demo .demo-actions{margin-top:15px}.featured-demo .demo-actions>span{font-size:9px}.subheading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.subheading h2{font-size:20px;font-weight:650;letter-spacing:-.5px}.subheading>span{font-size:10px;color:#73726e}.curriculum-table{border-top:1px solid #c7c6c2}.stage-row{border-bottom:1px solid #dcdbd7}.stage-row-header{display:flex;align-items:center;width:100%;gap:25px;text-align:left;padding:26px 8px}.stage-n{font-family:var(--serif);font-size:28px;line-height:1;color:var(--stage-color);min-width:45px}.stage-row-header>div:nth-child(2){flex:1 1}.stage-row-header h3{font-size:17px;font-weight:600}.stage-row-header p{font-size:11px;color:#6e6d69;margin-top:6px}.stage-course-count{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:600}.stage-course-count>span{font-weight:400;font-size:10px;color:#858480}.stage-row-header>svg{margin-left:14px;color:#83827e;transition:transform .2s}.stage-row.expanded .stage-row-header>svg{transform:rotate(180deg)}.stage-lessons{padding:0 0 15px 78px}.stage-lessons>button{display:flex;gap:15px;align-items:center;text-align:left;width:100%;padding:16px 12px;border-top:1px solid #e3e2de}.stage-lessons>button:hover{background:#efeeea}.stage-lessons>button>span{font-size:9px;border:1px solid #d5d4d0;color:#787773;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;flex-shrink:0}.stage-lessons>button>span.course-check{background:#e2e1dd;color:#6f6e6a}.stage-lessons>button>div{flex:1 1}.stage-lessons h4{font-size:13px;font-weight:550}.stage-lessons p{font-size:10px;color:#787773;line-height:1.8;margin-top:5px}.stage-lessons>button>svg{color:#858480}.site-footer{margin-top:48px;border-top:1px solid #dcdbd7;padding:22px 0 28px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#83827e}.site-footer>span:first-child{color:#6c6b67;letter-spacing:1.5px;font-size:9px}.site-footer button{display:flex;align-items:center;gap:6px;font-size:9px}.search-list{min-height:400px;margin:40px 0}.search-list>button{display:flex;align-items:center;gap:25px;text-align:left;width:100%;padding:22px 0;border-top:1px solid var(--line)}.search-list>button>span{font-size:10px;color:#7e7d79;width:80px}.search-list>button>b{font-size:15px;font-weight:550;flex:1 1}.search-list>button>svg{color:#7c7b77}.search-list>p{padding:40px 0;color:#767571}.collection-heading{margin-bottom:40px}.collection-heading>span{display:block;color:#ba6041;font-size:11px;font-weight:600;margin-bottom:14px}.collection-heading h1{font-family:var(--serif);font-size:37px;font-weight:600;line-height:1.6;letter-spacing:-1px}.collection-heading>p{font-size:12px;color:#71706c;margin-top:17px}.lab-workspace{display:grid;grid-template-columns:255px minmax(0,1fr);gap:40px;padding-bottom:50px}.lab-index{border-top:1px solid var(--line)}.lab-index>.search-box{margin:16px 0}.lab-index>button{display:flex;gap:12px;align-items:center;text-align:left;width:100%;padding:14px 10px;border-bottom:1px solid #e5e4e0}.lab-index>button>span{font-size:9px;color:#82817d}.lab-index>button>div{flex:1 1}.lab-index b{font-size:11px;font-weight:550;display:block}.lab-index small{font-size:9px;color:#82817d;display:block;margin-top:3px}.lab-index svg{color:#8a8985}.lab-index>button.selected{background:#eee9de;color:#aa5737;border-radius:4px}.lab-current{min-width:0;position:sticky;top:100px;align-self:start}.lab-current>.text-button{margin-top:20px}.filter-tabs{display:flex;gap:28px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:7px}.filter-tabs>button{font-size:11px;color:#7a7975;padding-bottom:14px;position:relative}.filter-tabs>button.selected{color:var(--accent)}.filter-tabs>button.selected:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--accent)}.paper-entry{display:grid;grid-template-columns:62px minmax(0,1fr) 30px;gap:25px;padding:29px 0;border-bottom:1px solid var(--line)}.paper-year{font-size:22px;font-family:var(--serif);color:#7d7c78}.paper-meta{display:flex;gap:13px;align-items:center;font-size:9px;color:#7c7b77}.paper-meta>span{padding:2px 7px;background:#eae9e5;color:#6f6e6a;border-radius:2px}.paper-entry h2{font-size:23px;font-family:Georgia,serif;font-weight:400;line-height:1.5;margin:10px 0 5px;max-width:900px}.paper-entry small{font-size:10px;color:#81807c}.paper-entry p{font-size:12px;line-height:1.9;color:#6c6b67;margin-top:13px}.paper-entry summary{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:10px;color:#757470;list-style:none;width:max-content;margin-top:15px}.paper-entry summary::-webkit-details-marker{display:none}.paper-entry details[open]{background:#efeeea;padding:12px 15px;margin-top:13px}.paper-entry details[open] summary{margin:0}.paper-entry details[open] summary>svg{transform:rotate(180deg)}.paper-actions{display:flex;align-items:center;gap:24px;margin-top:20px}.paper-actions a,.paper-actions button{display:flex;align-items:center;gap:7px;font-size:10px;color:#a15e42}.paper-actions a{color:#72716d}.saved{color:var(--accent)}.fine-print{font-size:10px;color:#7c7b77;line-height:1.9;padding:26px 0 40px}.learning-summary{display:flex;gap:45px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:27px 0;margin-bottom:28px}.learning-summary>div:not(.backup-actions){display:flex;flex-direction:column;gap:5px}.learning-summary b{font-size:33px;font-weight:500;line-height:1.2}.learning-summary b small{font-size:13px;color:#83827e;font-weight:400;margin-left:7px}.learning-summary span{font-size:10px;color:#767571}.backup-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.backup-actions>.secondary{font-size:10px}.backup-actions label{cursor:pointer}.backup-actions input{display:none}.note-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.note-entry{border:1px solid var(--line);padding:20px;background:#fbfaf6;border-radius:5px}.note-entry>button{display:flex;gap:10px;align-items:center;text-align:left;justify-content:space-between;width:100%;font-size:12px;color:#72716d;margin-bottom:14px}.note-entry textarea{width:100%;min-height:160px;background:#f2f1ed;border:1px solid #dfdeda;border-radius:4px;padding:15px;line-height:1.9;color:#676662;font-size:12px}.empty-state{padding:70px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;color:#807f7b}.empty-state h3{font-size:19px;font-weight:500;margin-top:23px;color:#6c6b67}.empty-state p{font-size:12px;margin-top:10px}.empty-state .primary,.empty-state .secondary{margin-top:25px}.reset-row{display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--line);margin-top:40px;padding-top:25px}.reset-row h3{font-size:14px;font-weight:600}.reset-row p{color:#7c7b77;margin-top:9px;line-height:1.9}.reset-row .secondary,.reset-row p{font-size:10px}.reset-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.reset-actions>span{font-size:10px;color:#a87c59}.danger{font-size:11px;padding:9px 13px;border:1px solid #d7b49e;color:#b3603a;border-radius:4px;background:#f9eee5}.toast{position:fixed;z-index:100;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 22px;max-width:calc(100% - 30px);font-size:12px;border:1px solid #4d4c48;background:#32312d;color:#efeeea;border-radius:5px;box-shadow:0 8px 28px #242a1d20}.storage-warning{padding:12px 25px;background:#f4e5ce;color:#9e773b;font-size:12px}.class-header-title{display:flex;gap:12px;align-items:center;font-size:11px;min-width:0;margin-left:20px}.class-header-title>span{color:#71706c;white-space:nowrap}.class-header-title>b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.class-header-title>svg{color:#888783}.class-header-actions{display:flex;gap:20px;align-items:center;margin-left:auto;white-space:nowrap}.class-header-actions>span{font-size:12px;color:#666561}.class-header-actions small{font-size:10px;color:#82817d}.class-header-actions .secondary{font-size:10px;min-height:34px;padding:8px 12px}.classroom{display:flex;min-height:calc(100vh - 76px)}.course-sidebar{width:220px;flex-shrink:0;border-right:1px solid var(--line);padding:28px 18px;position:fixed;top:76px;bottom:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d3d2ce transparent;background:#f0f0e8;display:flex;flex-direction:column}.course-sidebar-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#757470;padding:0 8px 22px;border-bottom:1px solid #dad9d5;margin-bottom:13px}.course-sidebar-top>b{font-weight:500;color:#807f7b}.sidebar-stage>button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:15px 8px;font-size:11px;font-weight:550;color:#6c6b67}.sidebar-stage>button>span{font-size:9px;color:#858480;font-weight:400}.sidebar-stage>button>svg{margin-left:auto;color:#878682}.sidebar-stage>button.active-stage{color:#a95936}.sidebar-stage>div{padding:0 0 9px}.sidebar-stage>div>button{display:flex;align-items:center;gap:9px;text-align:left;padding:10px 10px 10px 22px;width:100%;font-size:10px;color:#757470;border-radius:3px;line-height:1.8}.sidebar-stage>div>button>i{height:4px;width:4px;border-radius:50%;background:#bab9b5;margin:0 4px;flex-shrink:0}.sidebar-stage>div>button.active-lesson{background:#e6ddcd;color:#9b5434;font-weight:550}.sidebar-stage>div>button.active-lesson>i{background:var(--accent)}.sidebar-progress{margin-top:auto;padding:30px 8px 0}.sidebar-progress>div{height:3px;background:#dbdad6}.sidebar-progress i{display:block;height:100%;background:#ae8b62}.sidebar-progress>span{font-size:9px;color:#81807c;margin-top:11px;display:block}.classroom-main{margin-left:220px;padding:39px 40px 45px;min-width:0;max-width:1600px;flex:1 1}.lesson-kicker{display:flex;align-items:center;gap:8px;font-size:9px;color:#767571;letter-spacing:.4px}.lesson-kicker>span{height:6px;width:6px;border-radius:50%}.lesson-kicker>b{margin-left:7px;background:#e8e7e3;padding:2px 6px;border-radius:3px;color:#6c6b67;font-weight:500;font-size:8px;display:flex;gap:3px;align-items:center}.lesson-heading h1{font-size:28px;line-height:1.5;letter-spacing:-.8px;margin-top:12px}.lesson-heading p{font-size:12px;color:#71706c;line-height:1.85;margin-top:11px}.lesson-stepper{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);margin:27px 0 31px;overflow-x:auto}.lesson-stepper>button{position:relative;display:flex;align-items:center;gap:7px;padding:0 2px 16px;color:#807f7b;flex-shrink:0}.lesson-stepper>button>span{height:19px;width:19px;font-size:9px;display:grid;place-items:center;border-radius:50%;border:1px solid #d5d4d0}.lesson-stepper>button>b{font-size:10px;font-weight:500}.lesson-stepper>button.current{color:#b65b38}.lesson-stepper>button.current>span{border-color:var(--accent);background:var(--accent);color:#fff8ed}.lesson-stepper>button.current:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--accent)}.lesson-stepper>button.passed{color:#6c6b67}.lesson-stepper>button.passed>span{background:#e4e3df;border-color:#d4d3cf}.lesson-workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.95fr);gap:35px;align-items:start}.lesson-content{min-width:0;animation:enter .25s ease-out}.content-section-label{color:#a16b4b;font-size:10px;font-weight:550;margin-bottom:15px}.lesson-content h2{font-family:var(--serif);font-weight:600;line-height:1.7;letter-spacing:-.6px;margin-bottom:22px}.lesson-content>p{font-size:13px;line-height:2;color:#72716d;margin-bottom:23px}.story-question{max-width:650px}.story-paragraphs{margin-top:28px}.story-paragraph{display:flex;gap:14px;margin-bottom:24px;animation:enter .4s ease-out}.story-paragraph>span{font-family:Georgia,serif;color:#bdbcb8;font-size:15px;min-width:19px;line-height:2}.story-paragraph>p{font-size:14px;line-height:2.1;color:#605f5b;letter-spacing:.1px}.story-next{display:flex;align-items:center;gap:12px;color:#b96940;font-size:12px;margin:29px 0;border-bottom:1px solid #d8bda5;padding:0 0 6px}.why-box{margin:28px 0;padding:22px;background:#f0ede1;border-radius:4px;animation:enter .4s ease-out}.why-box h3{font-size:13px;font-weight:600;color:#86694b}.why-box p{font-size:12px;line-height:2;color:#8a7d66;margin-top:12px}.lesson-step-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:23px;margin-top:35px}.lesson-step-actions>span{font-size:9px;color:#878682}.lesson-step-actions .primary,.lesson-step-actions .secondary{font-size:10px;padding:10px 13px;min-height:36px;gap:7px}.experiment-aside{position:sticky;top:99px;min-width:0}.aside-experiment-link{margin-top:17px;font-size:10px}.lesson-relations{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:27px;border-top:1px solid var(--line);padding-top:19px}.lesson-relations>span{font-size:9px;color:#858480;width:100%;margin-bottom:3px}.lesson-relations>button{display:flex;gap:7px;align-items:center;font-size:9px;padding:5px 8px;background:#eeede9;border:1px solid #deddd9;border-radius:3px;color:#706f6b}.source-paper{margin-top:21px;padding-top:18px;border-top:1px solid var(--line)}.source-paper>span{font-size:9px;color:#83827e}.source-paper>a{display:flex;align-items:center;gap:10px;margin-top:7px;color:#8c7458}.source-paper b{font-size:16px;font-family:Georgia,serif;font-weight:400}.source-paper>p{font-size:10px;color:#7a7975;line-height:1.9;margin-top:10px}.focus-mode .course-sidebar{display:none}.focus-mode .classroom-main{margin:0 auto;max-width:1400px;padding-left:65px;padding-right:65px}.lead-paragraph{font-size:16px!important;line-height:2.1!important;color:#686763!important}.analogy-boundary{padding:17px 20px;background:#edece8;border:1px dashed #d7d6d2;border-radius:4px;margin:22px 0 30px}.analogy-boundary>span{font-size:9px;color:#858480}.analogy-boundary p{font-size:11px;line-height:1.95;color:#706f6b;margin-top:7px}.concept-list>section{padding:21px 0;border-top:1px solid var(--line)}.concept-list>section>span{font-family:Georgia,serif;color:#969591;font-size:16px;margin-right:8px}.concept-list h3{display:inline;font-size:15px;font-weight:600}.concept-list p{font-size:13px;line-height:2.05;color:#6c6b67;margin-top:14px}.causal-bridge{display:flex;gap:12px;padding:21px 0;border-top:1px solid #c8c7c3;color:#757470}.causal-bridge b{font-size:11px;color:#72716d;font-weight:550}.causal-bridge p{font-size:12px;line-height:1.95;margin-top:9px}.derivation-intro{font-size:12px!important;color:#757470!important}.derivation-list{position:relative}.derivation-step{padding:22px 0;border-top:1px solid var(--line);animation:enter .35s ease-out}.derivation-step>div:first-child{display:flex;gap:12px;align-items:center}.derivation-step>div:first-child>span{font-family:Georgia,serif;font-size:20px;color:#959490}.derivation-step h3{font-size:14px;font-weight:600}.derivation-step>p{font-size:12px;color:#6c6b67;line-height:1.95;margin-top:16px}.math-block{padding:16px 15px;background:#f0efe5;border:1px solid #deddd9;border-radius:3px;overflow-x:auto;margin-top:17px;color:#514e3c;font-size:15px}.math-block .katex-display{margin:0;text-align:left}.math-block .katex-display>.katex{text-align:left}.math-block .katex{font-size:1.08em}.derive-controls{display:flex;gap:18px;align-items:center;margin:16px 0 25px;flex-wrap:wrap}.derive-controls>.primary{font-size:11px}.derive-controls>.text-button{font-size:10px}.derive-controls>small{font-size:10px;color:#8a8985;margin-left:auto}.derivation-done{font-size:11px;color:#706f6b;display:flex;align-items:center;gap:7px}.pitfall{padding:20px 0;border-top:1px dashed #d3d2ce;margin-top:25px}.pitfall b{font-size:10px;color:#a17d56;font-weight:550}.pitfall p{font-size:11px;color:#73726e;line-height:1.95;margin-top:8px}.experiment-tasks{display:grid;gap:14px;margin:25px 0}.experiment-tasks>label{display:flex;gap:12px;align-items:flex-start;padding:17px 15px;border:1px solid #dddcd8;border-radius:4px;background:#fcfbf7;cursor:pointer}.experiment-tasks>label>input{margin-top:4px}.experiment-tasks>label>span{font-size:12px;line-height:1.9;color:#6c6b67}.experiment-tasks>label b{font-size:9px;font-weight:500;color:#b09b78;display:block;margin-bottom:4px}.observe-box{margin-top:32px}.observe-box h3{font-size:15px;font-weight:600}.observe-box>p{font-size:11px;color:#7d7c78;line-height:1.9;margin:10px 0 16px}.lesson-note textarea,.observe-box textarea{width:100%;min-height:145px;border:1px solid #d9d8d4;padding:17px;background:#fcfbf7;border-radius:4px;color:#686763;font-size:12px;line-height:1.9}.lesson-note textarea::placeholder,.observe-box textarea::placeholder{color:#888783}.step-4{grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr)}.step-4 .experiment-aside{position:static}.code-runner{border:1px solid #323943;border-radius:6px;background:var(--code);color:#e4e3df;overflow:hidden;margin:25px 0}.code-toolbar{padding:12px 15px;border-bottom:1px solid #3a4149;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#c4c3bf;font-size:10px}.code-toolbar>span{display:flex;align-items:center;gap:7px}.code-toolbar>span>i{background:#cfa768;width:6px;height:6px;border-radius:50%}.code-toolbar small{color:#706f6b;font-size:8px;margin-left:8px}.code-toolbar>div{display:flex;gap:12px;color:#757470}.code-toolbar button:hover{color:#d4d3cf}.code-editor{display:flex;min-height:300px;max-height:510px;overflow:auto;padding:16px 0 10px}.line-numbers{display:flex;flex-direction:column;gap:0;padding:0 12px 0 14px;text-align:right;font:10px/23px SFMono-Regular,Consolas,monospace;color:#6a6965;-webkit-user-select:none;user-select:none;min-width:39px}.line-numbers>span{height:23px}.code-editor textarea{background:none;color:#d8d7d3;border:0;outline:0;font:11px/23px SFMono-Regular,Consolas,monospace;tab-size:2;resize:vertical;min-height:320px;max-height:800px;width:100%;padding:0 15px 10px 0;white-space:pre;overflow:auto}.code-bottom{padding:12px 15px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #3a424a;gap:12px}.code-bottom>span{font-size:9px;color:#7a7975}.code-bottom>button{font-size:10px;display:flex;align-items:center;gap:7px;background:#e6cf9c;color:#46412f;padding:9px 12px;border-radius:3px;font-weight:600}.code-output{padding:16px;background:#1c2428;min-height:100px;border-top:1px solid #3a424a}.code-output>span{display:block;font-size:9px;color:#6c6b67;letter-spacing:.5px;margin-bottom:12px}.code-output pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#c5c4c0;font:11px/1.9 SFMono-Regular,Consolas,monospace}.code-output>p{font-size:10px;color:#71706c}.code-output.has-error pre{color:#e9ac86}.expected-output{padding:16px 19px;background:#eae9e5;border-radius:4px}.expected-output>b{font-size:10px;color:#706f6b}.expected-output>p{font-size:11px;line-height:1.9;color:#6c6b67;margin-top:7px}.code-walkthrough>section{display:flex;gap:15px;padding:20px 0;border-bottom:1px solid var(--line)}.code-walkthrough>section>span{font-family:Georgia,serif;font-size:18px;color:#91908c}.code-walkthrough h3{font-size:13px;font-weight:600}.code-walkthrough p{font-size:12px;line-height:1.95;color:#757470;margin-top:9px}.code-challenge{background:#f2e8da;border:1px solid #e6d6bc;padding:21px;margin-top:25px;border-radius:4px}.code-challenge>span{font-size:9px;color:#b68c57}.code-challenge h3{font-size:13px;line-height:1.9;font-weight:500;color:#967549;margin-top:9px}.quiz-options{display:grid;gap:12px;margin:25px 0}.quiz-options>button{border:1px solid #dbdad6;background:#fcfdf6;border-radius:4px;display:flex;align-items:center;gap:12px;padding:16px;text-align:left;font-size:12px;line-height:1.8}.quiz-options>button>span{font-size:10px;color:#858480;border:1px solid #dcdbd7;display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border-radius:3px}.quiz-options b{font-weight:500;flex:1 1}.quiz-options>button.correct{background:#e8e7e3;border-color:#8a8985;color:#63625e}.quiz-options>button.incorrect{background:#f7ebe2;border-color:#d9bda2;color:#a86d44}.quiz-feedback{padding:17px 20px;font-size:12px;line-height:1.95;border-radius:4px;background:#eeede9;color:#6c6b67}.quiz-feedback.incorrect{background:#f8eee4;color:#a78560}.practice-check{border-top:1px solid var(--line);margin-top:30px;padding-top:23px}.practice-check h3{font-size:14px;font-weight:600}.practice-check p{font-size:12px;line-height:1.95;color:#73726e;margin:12px 0 18px}.practice-check label{display:flex;align-items:center;gap:9px;font-size:11px;color:#73726e;cursor:pointer}.lesson-note{margin-top:28px}.lesson-note h3{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:600;margin-bottom:15px}.lesson-note h3>span{font-size:9px;color:#858480;font-weight:400}.complete-button{margin-top:20px}.lesson-conclusion{padding:24px 0;border-top:1px solid #d4d3cf;margin-top:32px}.lesson-conclusion>span{font-size:9px;color:#aa9976}.lesson-conclusion>p{font-size:15px;font-family:var(--serif);line-height:1.95;color:#72716d;margin-top:12px}.demo-surface{background:#fffefa;border:1px solid #dad9d5;padding:23px;border-radius:7px;overflow:hidden;min-width:0}.demo-title{display:flex;align-items:center;gap:9px;padding-bottom:18px;border-bottom:1px solid #e6e5e1;margin-bottom:13px}.demo-title>span{font-size:8px;letter-spacing:.8px;color:#8b8a86;white-space:nowrap}.demo-title>b{font-size:11px;font-weight:550;flex:1 1;color:#6a6965}.demo-title>i{height:5px;width:5px;border-radius:50%;background:#dd7452}.demo-slider{display:block;margin:16px 0 8px;min-width:0;font-size:11px;color:#6c6b67}.demo-slider>span{display:flex;align-items:center;justify-content:space-between;gap:10px}.demo-slider b{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#a56640;font-weight:600;font-size:11px}.dual-sliders{display:grid;grid-template-columns:1fr 1fr;gap:20px}.readouts{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 0;border-top:1px solid #e2e1dd;margin-top:19px}.readouts>div{min-width:0}.readouts small{display:block;font-size:9px;color:#81807c;line-height:1.7}.readouts b{display:block;margin-top:8px;font-size:21px;font-weight:500;color:#6a6965;line-height:1.3;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.demo-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:17px}.demo-actions>.primary,.demo-actions>.secondary{font-size:10px;padding:9px 12px;min-height:34px;gap:7px}.demo-actions>span{margin-left:auto;font-size:8px;color:#868581}.demo-caption{font-size:9px;color:#7a7975;line-height:1.9;margin-top:19px}.plot{width:100%;display:block;margin:13px 0 17px;overflow:visible}.fit-graphic text,.plot text{font-family:var(--sans);font-size:10px;fill:#757470}.fit-graphic{margin:8px 0 9px}.fit-graphic svg{display:block;width:100%;height:auto}.fit-line,.moving-point{transition:all .16s linear}.demo-equation{font-family:Georgia,Songti SC,serif;text-align:center;font-size:15px;background:#f4f1e8;padding:12px 8px;border-radius:4px;color:#8d7c60}.demo-equation>b{font-weight:500;color:#b65b37}.vector-equation{display:flex;align-items:center;justify-content:center;gap:14px;padding:30px 0}.vector-equation>div{text-align:center}.vector-equation small{font-size:9px;color:#7e7d79;display:block;margin-bottom:8px}.vector-equation b{font-family:Georgia,serif;font-size:22px;font-weight:400;color:#6e6d69}.vector-equation>span{font-size:24px;color:#91908c;margin-top:15px}.vector-equation>strong{font:33px Georgia,serif;color:#b9653c;margin-top:17px}.contribution-bars{display:grid;gap:15px;margin:15px 0 25px}.contribution-bars>div{display:flex;gap:10px;align-items:center;font-size:10px;color:#73726e}.contribution-bars>div>span{width:32px}.contribution-bars>div>div{flex:1 1;background:#eeede9;height:20px;border-radius:2px;overflow:hidden}.contribution-bars i{display:block;height:100%;transition:width .2s;border-radius:2px}.contribution-bars b{width:35px;text-align:right;font-weight:500;font-size:13px;color:#6c6b67}.probability-visual{display:flex;align-items:center;justify-content:center;gap:35px;padding:30px 0 25px}.probability-dial{height:130px;width:130px;padding:14px;border-radius:50%;transition:background .2s}.probability-dial>span{border-radius:50%;height:100%;width:100%;background:#fffefa;display:flex;flex-direction:column;justify-content:center;align-items:center}.probability-dial b{font-size:25px;font-weight:500;color:#a86a41}.probability-dial small{font-size:8px;color:#898884;margin-top:4px}.probability-visual>div:last-child{display:flex;flex-direction:column;gap:8px}.probability-visual>div:last-child>span{font-size:10px;color:#757470}.probability-visual>div:last-child>strong{font-size:36px;font-weight:500;color:#71706c}.probability-visual>div:last-child>small{font-size:9px;color:#82817d}.draw-history{display:flex;gap:5px;flex-wrap:wrap;margin-top:18px}.draw-history>i{font-style:normal;height:24px;width:24px;border-radius:3px;background:#e0dfdb;color:#7a7975;display:grid;place-items:center;font-size:9px;animation:enter .2s}.draw-history>i.cat{background:#f0d9c8;color:#b7754a}.check-label{gap:8px;font-size:10px;color:#757470;line-height:1.9;cursor:pointer;margin-top:12px}.check-label,.neuron-diagram{display:flex;align-items:center}.neuron-diagram{justify-content:space-between;gap:0;padding:40px 0 32px}.node-input,.node-output{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:55px}.node-input small,.node-output small{font-size:9px;color:#7a7975}.node-input strong,.node-output strong{font-size:20px;font-weight:500;color:#6c6b67}.neuron-node{border:2px solid #d4d3cf;border-radius:50%;width:98px;height:98px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#edece8;flex-shrink:0;transition:background .2s,border-color .2s}.neuron-node.firing{background:#f4ddc8;border-color:#d69361}.neuron-node small{font-size:10px;color:#b69a76}.neuron-node strong{font-size:24px;font-weight:500;color:#a3774c}.signal-wire{height:1px;background:#c0bfbb;flex:1 1;position:relative;margin:0 6px}.signal-wire>span{position:absolute;top:-28px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:9px;color:#83827e}.signal-wire>i{height:5px;width:5px;border-radius:50%;background:#cd9564;position:absolute;left:50%;top:-2px}.backprop-flow{display:grid;grid-template-columns:1fr 1fr;gap:21px 24px;padding:23px 0}.flow-node{position:relative;border:1px solid #deddd9;border-radius:4px;padding:18px 13px;opacity:.4;transition:opacity .3s,background .3s}.flow-node.lit{opacity:1;background:#eeede9}.flow-node.backward{background:#f3dfcc;border-color:#d9ac84}.flow-node>small{display:block;font-size:9px;color:#83827e}.flow-node>b{display:block;font-size:12px;font-weight:500;color:#6c6b67;margin-top:10px}.flow-node>svg{position:absolute;right:-21px;top:50%;color:#969591}.flow-node:nth-child(2)>svg{right:40%;top:auto;bottom:-21px;transform:rotate(90deg)}.gradient-return{display:flex;gap:12px;align-items:center;min-height:45px;border-top:1px dashed #dddcc9;border-bottom:1px dashed #dddcc9;padding:13px 0;color:#b98858;font-size:11px}.gradient-return strong{margin-left:auto;font-weight:500;font-size:17px}.gradient-return>span:only-child{font-size:10px;color:#878682}.step-explanation{display:flex;gap:14px;margin:21px 0;animation:enter .3s}.step-explanation>b{font-size:9px;color:#908f8b;white-space:nowrap;margin-top:3px}.step-explanation>p{font-size:12px;line-height:1.9;color:#706f6b}.segmented{display:flex;gap:5px;padding:4px;border:1px solid #e0dfdb;border-radius:5px;background:#f2f1ed;margin:17px 0}.segmented>button{flex:1 1;font-size:9px;padding:8px 5px;border-radius:3px;color:#807f7b;line-height:1.6}.segmented>button.selected{background:#fffefa;box-shadow:0 1px 4px #313c1c0a;color:#aa7448}.conv-layout{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:25px 0}.conv-layout>div{min-width:0}.conv-layout small{font-size:9px;color:#82817d;display:block;margin-bottom:13px;text-align:center}.pixel-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:3px}.pixel-grid>button{height:25px;width:25px;font-size:8px;color:#91908c;background:#eeede9;border:1px solid transparent;border-radius:2px}.pixel-grid>button.filled{background:#717784;color:#c5cccd}.pixel-grid>button.window{border-color:#da8251;box-shadow:inset 0 0 0 1px #e4a676;color:#cf9365}.pixel-grid>button.filled.window{color:#f8d6b6}.kernel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.kernel-grid>button,.kernel-grid>span{height:27px;width:27px;background:#f1e8d8;display:grid;place-items:center;border-radius:2px;font-size:9px;color:#b28d5f}.output-grid>button{background:#e7e6e2;color:#73726e}.output-grid>button.selected{background:#d58959;color:#fff4dc}.token-reveal{display:flex;gap:7px;margin:30px 0}.token-reveal>button{flex:1 1;min-width:0;border:1px solid #deddd9;background:#f5f4f0;border-radius:4px;text-align:center;padding:17px 3px;color:#bab9b5}.token-reveal>button>span{display:block;font-size:13px;white-space:nowrap}.token-reveal small{display:block;font-size:7px;margin-top:7px;white-space:nowrap}.token-reveal>button.revealed{background:#ebe8d9;color:#a17e4f;border-color:#dfceb3}.token-reveal>button.next-token{border-style:dashed;border-color:#c6b18f;color:#b8996c}.embedding-display{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;padding:18px;background:#f0efeb;border-radius:4px}.embedding-display>span{font-size:9px;color:#7e7d79}.embedding-display>b{font:17px Georgia,serif;color:#6d6c68}.embedding-display>strong{font-size:12px;color:#6c6b67;font-weight:500}.grid-world{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;max-width:340px;margin:23px auto}.grid-world>div{height:58px;border:1px solid #e5dfd0;border-radius:3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;transition:background .3s}.grid-world b{font-size:15px;font-weight:500;color:#aa8057}.grid-world small{font-size:7px;color:#baa483}.grid-world .wall{background:repeating-linear-gradient(45deg,#bebdb9,#bebdb9 3px,#cfceca 0,#cfceca 6px);color:#eeede9;border:0;font-size:9px}.grid-world .robot{outline:2px solid #ce8051;outline-offset:-2px}.grid-world .robot>b{color:#bd7145;font-size:20px}.grid-world .goal{background:#efe0c4!important;border-color:#cdb480}.grid-world .goal>b{color:#a17d43;font-size:12px}.grid-controls{display:flex;align-items:center;justify-content:space-between;gap:20px}.dpad{display:flex;gap:5px}.dpad>button{height:29px;width:29px;border:1px solid #dad9d5;border-radius:3px;color:#7c7b77;background:#f4f3ef}.grid-controls>div:last-child{text-align:right}.grid-controls b{font-size:12px;font-weight:500;color:#9e8058;display:block}.grid-controls span{font-size:9px;color:#898884;display:block;margin-top:3px}.transformer-stage{margin-top:23px}.transformer-tokens{display:flex;justify-content:space-around}.transformer-tokens>div{text-align:center;border:1px solid #deddd9;border-radius:3px;background:#eeede9;min-width:68px;padding:10px 8px}.transformer-tokens span{display:block;font-size:15px;color:#71706c}.transformer-tokens small{font-size:7px;color:#8d8c88}.transformer-stage>svg{width:100%;height:95px;display:block}.attention-flow{animation:dash 4s linear infinite}.module-active{border:1px solid #d2d1cd;border-radius:4px;background:#eae9e5;padding:18px;text-align:center;animation:enter .3s}.module-active>span{font-size:8px;color:#8e8d89}.module-active h3{font-size:17px;font-weight:500;color:#6c6b67;margin-top:6px}.module-active p{font-size:10px;color:#7e7d79;line-height:1.8;margin-top:7px}.module-strip{display:flex;gap:9px;justify-content:center;margin:20px 0}.module-strip>button{height:25px;width:25px;display:grid;place-items:center;border:1px solid #dbdad6;border-radius:50%;font-size:9px;color:#888783}.module-strip>button.selected{background:#db9870;border-color:#db9870;color:#fff6e9}.loss-tokens{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:30px 0}.loss-tokens>div{border:1px solid #e1e0dc;border-radius:4px;background:#f3f2ee;text-align:center;padding:15px 5px;color:#92918d}.loss-tokens small{display:block;font-size:7px}.loss-tokens b{display:block;font-weight:500;font-size:14px;margin-top:12px}.loss-tokens span{display:block;font-size:8px;margin:12px 0}.loss-tokens strong{font-size:11px;font-weight:500;display:block;padding-top:12px;border-top:1px solid #dfdeda}.loss-tokens .included{background:#f3e1ca;border-color:#dec09a;color:#ad8350}.lora-diagram{display:flex;align-items:center;justify-content:center;gap:12px;min-height:200px;padding:30px 0}.lora-diagram>span{font-size:19px;color:#92918d}.matrix-large{height:120px;width:120px;background:repeating-linear-gradient(90deg,#e0dfdb,#e0dfdb 5px,#f0efeb 0,#f0efeb 6px);border:1px solid #d4d3cf;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:3px}.matrix-large>span,.matrix-narrow>span,.matrix-wide>span{font:23px Georgia,serif;color:#757470}.matrix-large b,.matrix-narrow b,.matrix-wide b{font-size:8px;font-weight:500;color:#868581;white-space:nowrap}.matrix-large small{font-size:8px;color:#8f8e8a}.matrix-narrow,.matrix-wide{height:120px;background:#f3e0c4;border:1px solid #e1ba85;border-radius:3px;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;transition:width .2s,height .2s;min-width:28px}.matrix-wide{width:85px}.matrix-narrow>span,.matrix-wide>span{color:#b88d51}.matrix-narrow b,.matrix-wide b{color:#c3a773;font-size:7px}.response-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.response-pair>div{position:relative;overflow:hidden;border:1px solid #dddcd8;border-radius:4px;padding:17px 13px;background:#f4f4eb}.response-pair>div>span{font-size:9px;color:#84837f}.response-pair>div>p{font-size:11px;line-height:1.85;color:#706f6b;margin:11px 0 15px;min-height:40px}.response-pair b{font-size:25px;font-weight:500;color:#ac864b}.response-pair i{display:block;position:absolute;bottom:0;left:0;height:3px;background:#d9a15e;transition:width .2s}.response-pair>div:last-child i{background:#807f7b}.demo-surface>select{width:100%;padding:11px;border:1px solid #dad9d5;border-radius:3px;background:#f3f2ee;color:#6f6e6a;font-size:11px;margin:17px 0}.retrieval-docs{display:grid;gap:12px}.retrieval-docs>button{position:relative;overflow:hidden;padding:15px;text-align:left;border:1px solid #deddd9;border-radius:4px;background:#faf9f5}.retrieval-docs>button.selected{border-color:#d0a16f;background:#f4ead8}.retrieval-docs>button>div{display:flex;align-items:center;gap:8px}.retrieval-docs span{font-size:8px;color:#8f8e8a}.retrieval-docs b{font-size:11px;font-weight:500;flex:1 1;color:#73726e}.retrieval-docs strong{font-size:12px;color:#b79159;font-weight:500}.retrieval-docs p{font-size:9px;color:#82817d;line-height:1.9;margin-top:10px}.retrieval-docs i{position:absolute;bottom:0;left:0;height:2px;background:#d2ae78}.retrieval-answer{padding:16px;background:#edece8;border-radius:4px;margin-top:19px}.retrieval-answer small{font-size:8px;color:#868581}.retrieval-answer p{font-size:11px;line-height:1.9;color:#73726e;margin-top:8px}.memory-bars{margin:28px 0}.memory-bars>div{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:18px;font-size:10px;color:#858480;position:relative;padding-bottom:20px}.memory-bars>div>i{position:absolute;bottom:0;left:0;height:10px;background:#94938f;transition:width .2s}.memory-bars>div:last-child>i{background:#daa46e}.memory-bars b{font-size:12px;font-weight:500;color:#9f895b}.memory-bars>div>span{font-size:10px}.lab-chart{margin:18px 0}.lab-chart svg{width:100%;display:block}.chart-label{font-size:10px;fill:#81807c}.lab-controls{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:18px;padding-top:19px;border-top:1px solid #e0dfdb;align-items:center}.lab-controls>label{font-size:10px;color:#74736f;display:block}.lab-controls strong{float:right;color:#b48b59;font-weight:500}.range-labels{font-size:8px;color:#898884;margin-top:5px}.experiment-stats,.range-labels{display:flex;justify-content:space-between}.experiment-stats{gap:13px}.experiment-stats small{font-size:8px;color:#878682;display:block}.experiment-stats b{font-size:19px;display:block;color:#72716d;font-weight:500;margin-top:7px;overflow-wrap:anywhere}.lab-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:20px}.lab-actions .primary,.lab-actions .secondary{font-size:9px;padding:9px 11px;min-height:33px;gap:6px}.lab-actions>span{font-size:8px;color:#858480;line-height:1.9;width:100%}.lab-note{font-size:9px;color:#7e7d79;line-height:1.9;margin-top:18px}.attention-demo{margin-top:23px}.token-line{display:flex;gap:7px;justify-content:center;margin-bottom:20px}.token-line>button{flex:1 1;padding:10px 7px;border:1px solid #deddd9;background:#f5f4f0;border-radius:3px;font-size:12px;color:#74736f}.token-line small{font-size:7px;display:block;color:#8c8b87;margin-top:6px}.token-line>button.selected{background:#e4e8ef;border-color:#a7b6cf;color:#6a7ca1}.heatmap{display:grid;grid-template-columns:45px repeat(4,1fr);gap:4px;align-items:center}.heatmap>span{font-size:9px;text-align:center;color:#807f7b;padding-bottom:7px}.heatmap-row{display:contents}.heatmap-row>button{height:39px;border-radius:2px;font-size:10px}.heatmap-row>button:first-child{background:none;font-size:9px;color:#878682;text-align:right;padding-right:7px}.heatmap-row>button.active-label{color:#6e7c9a;font-weight:600}.demo-insight{font-size:10px;color:#767571;line-height:1.85;background:#f0efeb;padding:13px;border-radius:3px;margin-top:18px}.lab-controls>.switch-label{display:flex;align-items:center;gap:7px;font-size:9px}.bandit-machines{display:flex;gap:10px;margin-top:24px}.machine{border:1px solid #e1dfcc;flex:1 1;background:#f5f1e5;border-radius:4px;padding:15px 7px;display:flex;align-items:center;flex-direction:column;gap:8px}.machine-letter{height:41px;width:41px;border:1px solid #d4cfac;background:#eae5d0;border-radius:50%;display:grid;place-items:center;color:#a49b6b;font:23px Georgia,serif}.machine small{font-size:7px;white-space:nowrap;color:#aea77e;margin-top:6px}.machine strong{font-size:23px;font-weight:500;color:#a59762}.machine>span:not(.machine-letter){font-size:8px;color:#b0ab7e}.machine>em{font-style:normal;font-size:7px;color:#bd9660}.machine>b{border-top:1px solid #e0dcc3;font-size:8px;color:#a8a16e;padding-top:12px;margin-top:7px;font-weight:500;width:100%}.prompt-demo{background:#f0efeb;padding:20px;border-radius:4px;margin:22px 0}.prompt-demo>span{font-size:8px;color:#858480}.prompt-demo p{font-size:19px;color:#757470;letter-spacing:1px;margin-top:10px}.prompt-demo b{font-weight:400;color:#d2a570}.probability-bars{display:grid;gap:13px;margin:20px 0}.probability-bars>div{display:flex;align-items:center;gap:12px;font-size:10px}.probability-bars>div>span{width:30px;color:#7e7d79}.probability-bars>div>div{flex:1 1;height:20px;background:#eeede9;border-radius:2px;overflow:hidden}.probability-bars i{height:100%;display:block;transition:width .2s;border-radius:2px}.probability-bars b{font-size:10px;font-weight:500;width:43px;color:#a69771}.sample-results{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}.sample-results>span{background:#efe5d4;color:#b39769;font-size:9px;padding:5px 9px;border-radius:3px;animation:enter .2s}.sample-results small{font-size:9px;color:#878682;line-height:1.8}.analogy-boundary p,.causal-bridge p,.code-walkthrough p,.collection-heading>p,.concept-list p,.demo-caption,.demo-insight,.demo-slider,.demo-title>b,.derivation-step>p,.experiment-stats small,.feature-skills,.featured-copy>p,.featured-copy>small,.fine-print,.lab-actions>span,.lab-index small,.lab-index>button>span,.lab-note,.learning-summary span,.lesson-content>p,.lesson-heading p,.lesson-kicker,.lesson-relations>span,.library-heading-right>p,.observe-box>p,.paper-actions a,.paper-entry p,.paper-entry small,.paper-entry summary,.pitfall p,.practice-check p,.range-labels,.readouts small,.reset-row p,.retrieval-docs p,.site-footer,.source-paper>p,.stage-lessons p,.stage-lessons>button>svg,.stage-row-header p,.story-paragraph>p{color:#6c6b67}.lesson-content p.story-paragraph,.story-paragraph>p{color:#555450}.code-walkthrough h3,.concept-list h3,.lesson-content h2{color:#2c2d30}.lead-paragraph,.lesson-conclusion>p{color:#585753!important}.embedding-display>strong,.experiment-stats b,.flow-node>b,.module-active h3,.node-input strong,.node-output strong,.paper-meta>span,.readouts b,.vector-equation b{color:#565d68}.sidebar-stage>button,.sidebar-stage>div>button{color:#6c6b67}.sidebar-stage>div>button.active-lesson{color:#a95336}.sidebar-stage>button.active-stage{color:#b45737}.lesson-relations>button,.source-paper>p{color:#6c6b67}.lesson-relations>button{background:#f0f0e8;border-color:#dad9d5}.demo-slider b,.node-output strong,.readouts>div:first-child b,.vector-equation>strong{color:#b25b3b}.line-numbers{color:#697478}.code-output pre{color:#d6d5d1}.code-editor textarea{color:#e0dfdb}.code-bottom>span,.code-output>p,.code-output>span,.code-toolbar small{color:#7b7a76}.token-reveal>button.revealed{color:#a05737;background:#f1e1d6;border-color:#d9bca7}.grid-world b,.loss-tokens b,.module-active h3,.response-pair>div>p,.retrieval-answer p,.retrieval-docs b{color:#6e6d69}.demo-surface{box-shadow:0 4px 18px #3a372608}.featured-demo .demo-surface{box-shadow:none}@keyframes enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes dash{to{stroke-dashoffset:-32}}@media(min-width:1600px){.library-shell{max-width:1480px;padding:65px 80px 0}.featured-copy{padding:42px}.featured-copy h2{font-size:35px;max-width:450px}.featured-demo{padding:30px 38px}.featured-demo .fit-graphic,.featured-demo .plot{max-height:270px}.featured-demo .fit-graphic svg{height:270px}.classroom-main{padding:45px 55px}.lesson-workbench{gap:48px;grid-template-columns:minmax(0,1.1fr) minmax(390px,.9fr)}.lesson-heading h1{font-size:32px}.lesson-content h2{font-size:29px}.story-paragraph>p{font-size:15px}.demo-surface{padding:27px}.step-4{grid-template-columns:minmax(0,1.25fr) minmax(350px,.75fr)}}@media(max-width:1200px){.site-header{padding:0 30px;gap:25px}.library-shell{padding:42px 40px 0}.featured-copy{padding:28px}.featured-copy h2{font-size:26px}.featured-copy>p{font-size:12px}.featured-demo{padding:24px}.featured-class{min-height:450px}.course-sidebar{width:190px;padding:25px 12px}.classroom-main{margin-left:190px;padding:32px 28px}.lesson-heading h1{font-size:25px}.lesson-workbench{gap:25px;grid-template-columns:minmax(0,1fr) minmax(300px,.95fr)}.lesson-content h2{font-size:23px}.story-paragraph>p{font-size:13px;line-height:2.1}.demo-surface{padding:18px}.lesson-stepper{gap:10px}.lesson-stepper>button>b{font-size:9px}.lesson-stepper>button>span{height:17px;width:17px;font-size:8px}.lesson-stepper>button{gap:5px}.dual-sliders{gap:15px}.readouts{gap:10px}.readouts b{font-size:18px}.readouts small{font-size:8px}.demo-title>b{font-size:10px}.demo-title>span{font-size:7px}.pixel-grid>button{height:21px;width:21px;font-size:7px}.kernel-grid>button,.kernel-grid>span{height:23px;width:23px;font-size:8px}.conv-layout{gap:10px}.neuron-node{height:78px;width:78px}.node-input,.node-output{min-width:47px}.signal-wire{margin:0 4px}.signal-wire>span{font-size:8px}.node-input strong,.node-output strong{font-size:18px}.matrix-large{height:95px;width:95px}.matrix-narrow{height:95px}.matrix-wide{width:65px}.lora-diagram{gap:9px}.matrix-large b{font-size:7px}.lab-workspace{gap:28px;grid-template-columns:230px minmax(0,1fr)}.step-4{grid-template-columns:minmax(0,1fr) minmax(275px,.8fr)}.code-toolbar small{display:none}.line-numbers{font-size:9px;padding-left:8px;padding-right:9px;min-width:30px}.code-editor textarea{font-size:10px}.class-header-title{margin-left:0;font-size:10px}.class-header-actions{gap:12px}.code-output pre{font-size:10px}.probability-dial{height:110px;width:110px;padding:12px}.probability-visual{gap:25px}.probability-visual>div:last-child>strong{font-size:30px}}@media(max-width:1000px){.library-shell{padding:38px 30px 0}.featured-class{grid-template-columns:1fr 1fr}.featured-copy{padding:27px 25px}.featured-copy h2{font-size:24px;line-height:1.8}.featured-copy>p{font-size:11px}.featured-demo{padding:22px 20px}.feature-skills{font-size:9px;gap:8px}.featured-copy>small{font-size:8px}.featured-demo .demo-title>b{font-size:10px}.featured-demo .readouts b{font-size:17px}.featured-demo .demo-actions>span{width:100%;margin-left:0}.course-sidebar{display:none}.classroom-main{margin-left:0;padding:32px 32px 40px}.class-header-actions>.icon-button{display:none}.class-header-title{margin-left:10px}.lesson-workbench{grid-template-columns:minmax(0,1fr) minmax(320px,.95fr);gap:30px}.lesson-stepper>button>b{font-size:10px}.lesson-stepper>button{gap:8px}.lesson-stepper>button>span{height:20px;width:20px;font-size:9px}.lesson-content h2{font-size:25px}.story-paragraph>p{font-size:14px}.focus-mode .classroom-main{padding:32px}.lab-workspace{grid-template-columns:210px minmax(0,1fr);gap:22px}.lab-index>button{padding:13px 6px;gap:8px}.lab-index b{font-size:10px}.collection-heading h1{font-size:33px}.step-4{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}.lesson-heading h1{font-size:28px}.lesson-stepper{margin-bottom:30px}.paper-entry h2{font-size:22px}.paper-entry{grid-template-columns:50px 1fr 28px;gap:20px}.backup-actions{flex-wrap:wrap}.learning-summary{gap:30px}.demo-title{gap:7px}}@media(max-width:760px){.site-header{height:65px;padding:0 22px;gap:18px}.brand-symbol{height:28px;width:27px;font-size:16px}.brand b{font-size:21px}.brand-en{font-size:6px;max-width:58px;padding-left:10px;letter-spacing:1.2px}.desktop-nav{gap:22px}.desktop-nav button{font-size:11px}.header-progress{font-size:9px}.header-progress>div{width:42px}.library-shell{padding:35px 24px 0}.library-heading{align-items:flex-start;gap:25px;margin-bottom:30px}.library-heading h1{font-size:37px}.library-heading-right{min-width:220px;padding-top:30px}.library-heading-right>p{font-size:10px;margin-bottom:15px}.featured-class{grid-template-columns:1fr;min-height:0;margin-bottom:36px}.featured-copy{border-right:0;border-bottom:1px solid #deddd2;padding:25px}.featured-copy h2{font-size:27px;max-width:none;line-height:1.65;margin:22px 0 15px}.featured-copy>p{max-width:none;font-size:12px}.feature-skills{margin:17px 0 22px;font-size:10px}.featured-copy .primary{font-size:12px;padding:12px 19px;min-height:40px}.featured-copy>small{margin-top:18px;font-size:9px}.featured-demo{padding:22px 27px}.featured-demo .fit-graphic svg{height:250px}.featured-demo .fit-graphic{max-height:250px}.featured-demo .readouts{justify-content:space-around}.featured-demo .demo-actions>span{width:auto;margin-left:auto}.stage-row-header{padding:22px 3px;gap:20px}.stage-n{font-size:26px;min-width:38px}.stage-row-header h3{font-size:16px}.stage-row-header p{font-size:10px}.stage-lessons{padding-left:58px}.stage-lessons>button{padding:15px 6px;gap:12px}.stage-lessons h4{font-size:12px}.stage-lessons p{font-size:9px}.subheading h2{font-size:19px}.subheading>span{font-size:9px}.class-header-title{font-size:10px;gap:8px;margin-left:0}.class-header-title>span,.class-header-title>svg{display:none}.class-header-actions{gap:12px}.class-header-actions>span{display:none}.class-header-actions .secondary{font-size:9px;gap:6px;padding:8px 10px}.in-classroom .brand-en{display:none}.classroom-main,.focus-mode .classroom-main{padding:28px 25px 35px}.lesson-heading h1{font-size:27px}.lesson-heading p{font-size:12px}.lesson-workbench,.step-4{grid-template-columns:1fr;gap:32px}.experiment-aside{position:static;grid-row:1;max-width:620px;width:100%;margin:auto}.step-0 .experiment-aside,.step-1 .experiment-aside,.step-2 .experiment-aside,.step-4 .experiment-aside,.step-5 .experiment-aside{grid-row:auto}.lesson-content{max-width:680px}.demo-surface{padding:24px}.lesson-stepper{margin:25px 0 30px;gap:14px}.lesson-stepper>button>b{font-size:9px}.lesson-stepper>button{gap:6px}.lesson-stepper>button>span{height:18px;width:18px;font-size:8px}.lesson-content h2{font-size:26px}.story-paragraph>p{font-size:14px;line-height:2.1}.lesson-relations{margin-top:20px}.source-paper{margin-top:18px}.classroom-main .experiment-aside>.demo-surface{max-width:600px}.lab-workspace{grid-template-columns:1fr;gap:25px}.lab-index{display:flex;overflow:auto;gap:8px;padding:0 0 12px;border:0;max-height:none}.lab-index>.search-box{display:none}.lab-index>button{min-width:160px;max-width:180px;width:auto;flex-shrink:0;padding:13px;border:1px solid var(--line);border-radius:4px;background:#fcfbf7}.lab-index b{font-size:10px}.lab-index>button>span{font-size:9px}.lab-index>button>svg{display:none}.lab-index small{font-size:8px}.lab-current{position:static}.lab-current>.demo-surface{max-width:600px;margin:auto}.lab-current>.text-button{margin-top:19px}.paper-entry{gap:18px;grid-template-columns:43px 1fr 25px}.paper-year{font-size:20px}.paper-entry h2{font-size:21px}.paper-entry p{font-size:11px}.filter-tabs{gap:23px}.filter-tabs button{font-size:10px}.note-grid{grid-template-columns:1fr}.learning-summary{gap:30px;flex-wrap:wrap}.learning-summary b{font-size:29px}.backup-actions{width:100%;margin-left:0;margin-top:5px}.reset-row{flex-direction:column;align-items:flex-start;gap:20px}.collection-heading{margin-bottom:30px}.collection-heading h1{font-size:32px}.code-editor textarea{font-size:12px;min-height:350px}.line-numbers{font-size:10px;min-width:38px;padding-right:12px}.code-toolbar small{display:inline;font-size:8px}.code-output pre{font-size:11px}.readouts b{font-size:23px}.readouts small{font-size:9px}.demo-title>b{font-size:12px}.demo-title>span{font-size:8px}.pixel-grid>button{height:28px;width:28px;font-size:9px}.kernel-grid>button,.kernel-grid>span{height:29px;width:29px;font-size:10px}.conv-layout{justify-content:space-around;gap:20px}.neuron-node{height:100px;width:100px}.node-input strong,.node-output strong{font-size:23px}.node-input,.node-output{min-width:65px}.signal-wire{margin:0 10px}.signal-wire>span{font-size:10px}.matrix-large{height:125px;width:125px}.matrix-narrow{height:125px}.matrix-wide{width:100px}.lora-diagram{gap:18px}.matrix-large b{font-size:9px}.demo-caption{font-size:10px}.heatmap-row>button{height:48px}.grid-world>div{height:65px}.experiment-stats b{font-size:24px}.experiment-stats small{font-size:9px}.lab-controls>label{font-size:11px}.lab-actions .primary,.lab-actions .secondary,.lab-note{font-size:10px}.demo-actions>.primary,.demo-actions>.secondary{font-size:11px}.probability-dial{height:135px;width:135px}.probability-visual>div:last-child>strong{font-size:36px}}@media(max-width:520px){.site-header{padding:0 18px;gap:15px;height:62px}.desktop-nav{display:none}.header-progress{margin-left:auto;margin-right:8px}.header-progress>div{width:45px}.mobile-menu{display:inline-flex}.mobile-nav{display:block;position:fixed;top:62px;left:0;right:0;z-index:35;background:#f9f8f2;border-bottom:1px solid #d8d7d3;box-shadow:0 10px 30px #1d231211;padding:20px}.mobile-nav>nav{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.mobile-nav>nav>button{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:11px;color:#73726e;padding:10px}.mobile-chapters{display:grid;gap:4px;border-top:1px solid var(--line);padding-top:14px;margin-top:13px}.mobile-chapters>button{font-size:11px;padding:10px;text-align:left;color:#6c6b67}.library-shell{padding:31px 20px 0}.library-heading{display:block;margin-bottom:25px}.edition-label{font-size:9px;margin-bottom:14px}.library-heading h1{font-size:38px;line-height:1.5;letter-spacing:-1.5px}.library-heading h1>br{display:none}.library-heading-right{padding-top:17px;min-width:0}.library-heading-right>p{font-size:11px;margin-bottom:18px}.search-box{padding:11px 12px}.search-box input{font-size:11px}.featured-class{border-radius:6px}.featured-copy{padding:22px}.featured-copy h2{font-size:25px;line-height:1.65;margin-top:22px}.course-label,.course-label>span{font-size:8px}.course-label>b{font-size:9px}.featured-copy>p{font-size:11px;line-height:1.9}.feature-skills{font-size:9px;margin:16px 0 23px}.featured-copy>.primary{min-height:40px;padding:12px 18px;font-size:11px}.featured-copy>small{font-size:8px}.featured-demo{padding:21px 18px}.featured-demo .fit-graphic svg{height:220px}.featured-demo .fit-graphic{max-height:220px}.featured-demo .demo-equation{font-size:11px;padding:11px 7px}.featured-demo .demo-actions>span{font-size:8px;width:100%;margin-left:0}.featured-demo .demo-caption{font-size:8px;line-height:1.9}.featured-demo .readouts b{font-size:18px}.featured-demo .readouts small{font-size:8px}.featured-demo .demo-slider{font-size:9px}.featured-demo .demo-title>b{font-size:10px}.subheading{margin-bottom:14px}.subheading h2{font-size:18px}.subheading>span{font-size:8px}.stage-row-header{gap:16px;padding:23px 0}.stage-n{font-size:25px;min-width:31px}.stage-row-header h3{font-size:16px}.stage-row-header p{font-size:9px;line-height:1.9;max-width:220px}.stage-course-count{font-size:11px;gap:4px}.stage-course-count>span{font-size:8px}.stage-row-header>svg{width:15px;margin-left:0}.stage-lessons{padding-left:0}.stage-lessons>button{padding:17px 3px;gap:11px}.stage-lessons>button>span{height:21px;width:21px;font-size:8px}.stage-lessons h4{font-size:12px;line-height:1.7}.stage-lessons p{font-size:9px;line-height:1.9}.stage-lessons>button>svg:nth-last-child(2){display:none}.stage-lessons>button>svg:last-child{width:16px}.site-footer{margin-top:30px;font-size:8px;gap:15px;flex-wrap:wrap}.site-footer>span:first-child{font-size:8px;letter-spacing:1px}.site-footer button,.site-footer>span:nth-child(2){font-size:8px}.search-list>button{gap:15px;flex-wrap:wrap}.search-list>button>span{font-size:8px;width:65px}.search-list>button>b{font-size:12px}.collection-heading>span{font-size:10px;margin-bottom:12px}.collection-heading h1{font-size:29px}.collection-heading>p{font-size:11px;margin-top:13px}.collection-heading{margin-bottom:28px}.lab-workspace{gap:22px}.lab-index>button{min-width:153px}.lab-index b{font-size:10px}.demo-surface{padding:19px 17px}.demo-title{gap:7px;padding-bottom:14px;margin-bottom:12px}.demo-title>b{font-size:10px}.demo-title>span{font-size:7px}.demo-title>i{height:4px;width:4px}.demo-equation{font-size:12px}.dual-sliders{gap:17px}.demo-slider{margin-top:16px}.demo-slider,.demo-slider b{font-size:10px}.readouts{gap:13px;padding-top:15px;margin-top:17px}.readouts b{font-size:20px;margin-top:6px}.readouts small{font-size:8px}.demo-actions>.primary,.demo-actions>.secondary{font-size:10px;padding:10px 12px;min-height:34px}.demo-actions>span{font-size:8px}.demo-caption{font-size:9px;line-height:1.95;margin-top:17px}.vector-equation{gap:12px;padding-top:25px}.vector-equation b{font-size:21px}.vector-equation>strong{font-size:29px}.vector-equation small{font-size:8px}.probability-visual{gap:28px;padding:25px 0}.probability-dial{height:116px;width:116px;padding:12px}.probability-dial b{font-size:24px}.probability-visual>div:last-child>strong{font-size:30px}.probability-visual>div:last-child>span{font-size:9px}.probability-visual>div:last-child>small{font-size:8px}.node-input,.node-output{min-width:50px}.node-input strong,.node-output strong{font-size:19px}.node-input small,.node-output small{font-size:8px}.neuron-node{height:84px;width:84px}.neuron-node strong{font-size:23px}.signal-wire{margin:0 5px}.signal-wire>span{font-size:8px}.conv-layout{gap:11px;justify-content:space-between}.pixel-grid>button{height:22px;width:22px;font-size:7px}.kernel-grid>button,.kernel-grid>span{height:24px;width:24px;font-size:8px}.conv-layout small{font-size:8px}.conv-layout>div:first-child{flex-shrink:0}.kernel-grid,.pixel-grid{gap:2px}.token-reveal{gap:5px}.token-reveal>button{padding:13px 3px}.token-reveal>button>span{font-size:12px}.token-reveal small{font-size:6px}.embedding-display{gap:10px;padding:16px}.embedding-display>span{font-size:8px}.embedding-display>strong{font-size:11px}.grid-world>div{height:58px}.grid-world b{font-size:14px}.grid-world small{font-size:7px}.grid-controls>div:last-child b{font-size:11px}.grid-controls>div:last-child span{font-size:8px}.grid-controls{gap:15px}.transformer-tokens>div{min-width:62px;padding:10px 6px}.module-active p{font-size:9px}.module-active h3{font-size:16px}.matrix-large{height:96px;width:96px}.matrix-narrow{height:96px}.matrix-wide{width:67px}.lora-diagram{gap:9px;min-height:170px}.matrix-large>span,.matrix-narrow>span,.matrix-wide>span{font-size:21px}.matrix-large b{font-size:7px}.matrix-narrow b,.matrix-wide b{font-size:6px}.response-pair{gap:9px}.response-pair>div{padding:15px 11px}.response-pair>div>p{font-size:10px;min-height:57px}.response-pair b{font-size:23px}.loss-tokens{gap:6px}.loss-tokens>div{padding:14px 4px}.loss-tokens b{font-size:12px}.loss-tokens small{font-size:6px}.loss-tokens span{font-size:7px}.loss-tokens strong{font-size:10px}.lab-controls{grid-template-columns:1fr;gap:20px;margin-top:18px}.lab-controls>label{font-size:10px}.experiment-stats{justify-content:space-between;gap:20px}.experiment-stats small{font-size:8px}.experiment-stats b{font-size:23px}.lab-actions .primary,.lab-actions .secondary{font-size:10px;min-height:34px}.lab-note{font-size:9px}.heatmap{grid-template-columns:40px repeat(4,1fr);gap:4px}.heatmap-row>button{height:40px;font-size:10px}.token-line>button{font-size:12px;padding:10px 6px}.demo-insight,.lab-controls>.switch-label{font-size:9px}.prompt-demo{padding:18px;margin:20px 0}.prompt-demo p{font-size:19px}.probability-bars>div{gap:10px}.probability-bars>div>div{height:20px}.sample-results small{font-size:8px}.filter-tabs{gap:17px;row-gap:15px;margin-bottom:0}.filter-tabs button{font-size:9px;padding-bottom:11px}.paper-entry{grid-template-columns:36px 1fr 20px;gap:12px;padding:24px 0}.paper-year{font-size:18px}.paper-entry h2{font-size:19px;line-height:1.5;margin-top:10px}.paper-entry small{font-size:8px}.paper-entry p{font-size:10px;line-height:1.9}.paper-meta{font-size:8px;gap:7px}.paper-meta>span{font-size:8px;padding:2px 5px}.paper-actions{gap:13px;flex-wrap:wrap;margin-top:16px}.paper-actions a,.paper-actions button{font-size:9px}.paper-entry>.icon-button{width:20px;height:25px}.paper-entry>.icon-button>svg{width:16px}.fine-print{font-size:9px;line-height:1.95}.learning-summary{gap:34px;padding:23px 0}.learning-summary b{font-size:29px}.learning-summary span{font-size:9px}.learning-summary b>small{font-size:11px}.backup-actions{gap:10px}.backup-actions>.secondary{font-size:10px;padding:10px 12px}.note-entry{padding:18px}.note-entry>button{font-size:11px}.note-entry textarea{font-size:12px;min-height:150px}.empty-state{padding:50px 15px}.empty-state h3{font-size:18px}.empty-state p{font-size:11px}.reset-row p{font-size:9px}.toast{font-size:11px;padding:13px 17px;bottom:20px;width:max-content}.in-classroom .site-header{gap:14px}.in-classroom .brand b{display:none}.class-header-title{font-size:10px;max-width:150px;flex:1 1}.class-header-actions>.secondary{border:0;padding:4px;min-height:30px;font-size:9px;color:#84837f;background:none}.class-header-actions>.secondary>svg{width:13px}.in-classroom .mobile-menu{margin-left:0;flex-shrink:0}.classroom-main,.focus-mode .classroom-main{padding:25px 20px 30px}.lesson-heading h1{font-size:24px;line-height:1.6;margin-top:12px}.lesson-heading p{font-size:11px;line-height:1.9;margin-top:10px}.lesson-kicker{font-size:8px}.lesson-stepper{gap:21px;margin:24px -20px 27px;padding:0 20px;scrollbar-width:none}.lesson-stepper::-webkit-scrollbar{display:none}.lesson-stepper>button{gap:6px;padding-bottom:14px}.lesson-stepper>button>b{font-size:10px}.lesson-stepper>button>span{height:18px;width:18px;font-size:8px}.lesson-content h2{font-size:24px;line-height:1.7;margin-bottom:21px}.content-section-label{font-size:9px;margin-bottom:13px}.story-paragraph{gap:12px;margin-bottom:22px}.story-paragraph>span{font-size:15px;min-width:19px}.story-paragraph>p{font-size:14px;line-height:2.1}.story-paragraphs{margin-top:24px}.story-next{font-size:12px;gap:10px;margin:25px 0}.why-box{padding:21px;margin-top:26px}.why-box h3,.why-box p{font-size:12px}.why-box p{line-height:1.95}.lesson-step-actions{margin-top:30px;padding-top:21px;gap:13px}.lesson-step-actions .primary,.lesson-step-actions .secondary{font-size:10px;padding:10px 13px;min-height:37px}.lesson-step-actions>span{font-size:9px}.lesson-workbench{gap:30px}.experiment-aside>.text-button{font-size:10px}.lesson-relations>button{font-size:9px;padding:6px 8px}.source-paper>p{font-size:10px}.lead-paragraph{font-size:15px!important;line-height:2.05!important}.analogy-boundary{padding:17px}.analogy-boundary p{font-size:11px}.concept-list>section{padding:21px 0}.concept-list h3{font-size:14px}.concept-list p{font-size:13px;line-height:2.05}.causal-bridge p{font-size:12px}.derivation-intro{font-size:12px!important}.derivation-step{padding:20px 0}.derivation-step h3{font-size:13px}.derivation-step>p{font-size:12px}.math-block{padding:16px 13px;font-size:14px}.derive-controls{gap:17px}.derive-controls>.primary{font-size:11px}.derive-controls>.text-button{font-size:10px}.pitfall p{font-size:11px}.experiment-tasks>label{padding:16px 13px}.experiment-tasks>label>span{font-size:12px}.observe-box>p{font-size:11px}.lesson-note textarea,.observe-box textarea{font-size:12px;min-height:150px}.code-toolbar{padding:11px 12px;font-size:10px}.code-toolbar small{font-size:7px;margin-left:4px}.code-toolbar>div{gap:11px}.code-editor textarea{font-size:11px;line-height:23px;min-height:360px}.code-output pre{font-size:10px}.code-output>p{font-size:9px}.code-output{padding:15px}.code-bottom{padding:11px 12px}.code-bottom>span{font-size:8px}.code-bottom>button{font-size:9px;padding:9px 12px}.expected-output>p{font-size:11px}.code-challenge h3,.code-walkthrough p{font-size:12px}.quiz-options>button{font-size:12px;padding:15px 13px;gap:11px}.quiz-options>button>span{width:23px;height:23px;font-size:9px}.quiz-feedback{font-size:12px;padding:16px}.practice-check label{font-size:10px;line-height:1.9}.lesson-conclusion>p{font-size:15px}.complete-button{font-size:11px}}@media(max-width:370px){.brand-en{display:none}.library-heading h1{font-size:34px}.pixel-grid>button{height:19px;width:19px}.kernel-grid>button,.kernel-grid>span{height:21px;width:21px}.conv-layout{gap:8px}.demo-surface{padding:16px 14px}.readouts b{font-size:18px}.featured-demo{padding:18px 14px}.neuron-node{height:74px;width:74px}.signal-wire>span{font-size:7px}.code-toolbar small{display:none}.lesson-heading h1{font-size:22px}}@media(prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.site-loading{min-height:100svh;display:flex;align-items:center;justify-content:center;gap:16px;color:#6c6863;font-size:14px}.mobile-menu.icon-button{display:none}@media(max-width:1000px){.in-classroom .mobile-menu.icon-button{display:inline-flex}}@media(max-width:520px){.mobile-menu.icon-button{display:inline-flex}}.header-review{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);white-space:nowrap}.desktop-nav em{font-style:normal;background:var(--accent);color:white;border-radius:10px;padding:1px 5px;margin-left:6px;font-size:9px}.library-shell{padding-bottom:55px;max-width:1260px}.library-heading h1{font-size:52px;line-height:1.45}.resume-strip{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:30px 32px;margin:8px 0 45px;background:#eeece3;border-left:3px solid var(--accent)}.resume-strip>div{min-width:0}.resume-strip span{font-size:11px;color:#8c6a55}.resume-strip h2{font-family:var(--serif);font-weight:600;font-size:25px;margin:11px 0}.resume-strip p{font-size:13px;color:#6f6b64;max-width:700px}.resume-strip .primary{flex-shrink:0}.route-selector{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 14px}.route-selector .segmented{margin:0}.route-selector .segmented button{display:flex;align-items:center;gap:8px;padding:9px 17px;font-size:12px}.route-context{font-size:12px;line-height:1.9;color:#79766e;margin-bottom:22px}.stage-n{color:#a18467}.stage-row-header h3{font-size:18px}.stage-row-header p{font-size:12px}.stage-lessons h4{font-size:14px}.stage-lessons p{font-size:12px}.optional-tag{font-size:9px;font-weight:400;color:#947c65;background:#eae5d9;padding:2px 5px;margin-left:9px;border-radius:2px}.stage-lessons>button.stage-project{background:#eeece3;border-top:0;margin:10px 0 6px;padding:18px}.stage-project>svg:first-child{color:#9e6b4b}.learning-contract{margin:40px 0 0;border-top:1px solid var(--line);padding:25px 0;max-width:740px}.learning-contract>b{font-size:14px;font-weight:600}.learning-contract>p{font-size:12px;line-height:2;color:#78756d;margin:10px 0 16px}.lesson-workbench{grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr);gap:38px}.lesson-workbench.step-3{grid-template-columns:minmax(0,1fr) minmax(340px,1fr)}.concept-list p,.lesson-content>p,.story-paragraph>p{font-size:15px;line-height:2.05;color:#5d5b55}.lesson-heading p{font-size:13px}.analogy-boundary p,.causal-bridge p,.derivation-step p,.why-box p{font-size:13px;line-height:2}.lesson-content h2{font-size:26px}.lesson-heading h1{font-family:var(--serif);font-weight:600}.lesson-kicker>span{background:var(--accent)}.learning-field{display:block;margin:22px 0}.learning-field>b{display:block;font-size:14px;font-weight:600}.learning-field>p{font-size:13px;line-height:1.9;color:#77736a;margin:8px 0 12px}.aside-notes textarea,.learning-field textarea{display:block;width:100%;min-height:125px;border:1px solid #d5d2c9;border-radius:4px;background:#fffef9;padding:14px;font-size:14px;line-height:1.9;color:#514f48;margin-top:10px}.learning-field textarea::placeholder{color:#9a968c}.experiment-tasks{margin:24px 0}.experiment-task{display:flex;gap:15px;border-bottom:1px solid var(--line);padding:15px 0}.experiment-task>span{font-family:Georgia,serif;color:#a49a89;font-size:19px}.experiment-task>p{font-size:13px;line-height:2;color:#666359}.experiment-door{padding:30px 25px;border:1px solid var(--line);background:#eeece3;display:flex;flex-direction:column;align-items:flex-start}.experiment-door>svg{color:#9b7a5b;margin-bottom:20px}.experiment-door>span{font-size:10px;color:#8a7c6a}.experiment-door h3{font:600 21px/1.7 var(--serif);margin:8px 0 15px}.experiment-door>p{font-size:13px;color:#777168;line-height:1.9;margin-bottom:22px}.recall-aside{border-top:2px solid #c6b69e;padding:25px 4px}.recall-aside>svg{color:#a0886b}.recall-aside h3{font-family:var(--serif);font-size:20px;margin:15px 0}.recall-aside p{font-size:12px;color:#8a8478;line-height:2;margin:12px 0}.aside-notes{border-top:1px solid var(--line);margin-top:25px;padding-top:16px}.aside-notes summary{cursor:pointer;font-size:12px;color:#797367}.aside-notes textarea{min-height:140px;font-size:13px}.aside-notes small{font-size:10px;color:#8e887e}.lesson-relations>p{font-size:11px;color:#928b7f}.source-paper p{font-size:12px;line-height:1.9}.source-paper small{font-size:10px;color:#8b8479;display:block;margin-top:10px}.expected-details,.local-setup,.research-notes{margin:20px 0;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.expected-details summary,.local-setup summary,.research-notes summary{font-size:12px;cursor:pointer;color:#756b5e}.local-setup summary>svg{margin-left:10px}.expected-details p,.local-setup p,.research-notes p{font-size:13px;line-height:2;color:#777168;margin-top:15px}.local-setup .segmented{width:max-content;max-width:100%;margin-top:20px}.local-setup .segmented button{padding:7px 12px}.local-setup pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#ebe8df;color:#62594d;padding:16px;font:12px/1.9 SFMono-Regular,Consolas,monospace;border-radius:4px}.resource-links{display:flex;flex-wrap:wrap;gap:17px;font-size:12px;color:var(--accent);margin-top:16px}.python-runner .code-editor{min-height:340px;max-height:540px;overflow:hidden}.python-runner .code-editor textarea{min-height:340px;resize:vertical;max-height:520px;font-size:12px;line-height:23px;tab-size:4}.python-runner .line-numbers{display:none}.python-runner .code-editor textarea{padding-left:18px}.python-runner .code-output{max-height:340px;overflow:auto}.python-runner .code-output pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.python-runner .code-output>p{color:#afaca3;font-size:11px;overflow-wrap:anywhere}.python-runner .code-bottom>span,.python-runner .code-toolbar small{color:#aaa69b}.python-runner .code-toolbar>span{font-size:11px}.file-results{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 6px}.file-results button{display:flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #736a54;border-radius:3px;color:#e0bf8a;font-size:11px;overflow-wrap:anywhere;max-width:100%}.project-bridge{width:100%;display:flex;align-items:center;gap:15px;text-align:left;border:1px solid #d9d1c1;background:#eee9dc;padding:20px;margin-top:25px}.project-bridge>div{flex:1 1}.project-bridge b{display:block;font-size:13px;font-weight:600}.project-bridge span{font-size:11px;color:#938371;display:block;margin-top:6px}.project-bridge>svg{color:#a08460}.checkpoint{background:#eeece3;border-top:2px solid #bfa78b;padding:25px;margin:15px 0 25px}.checkpoint>p{font-size:16px;line-height:1.9;margin-bottom:20px}.checkpoint>label{font-size:11px;color:#8b7c69;display:block}.checkpoint input{display:block;width:100%;border:1px solid #cfc7ba;background:#fffdf6;border-radius:3px;padding:12px;margin:8px 0;font-size:16px;color:var(--ink)}.checkpoint>small{font-size:10px;color:#90877b}.checkpoint-actions{display:flex;gap:17px;align-items:center;flex-wrap:wrap;margin-top:21px}.checkpoint .answer-good,.checkpoint .answer-retry{font-size:12px;margin:20px 0 0}.answer-good{color:#55704d}.answer-retry{color:#ae6638}.answer-reveal{margin-top:20px;border-top:1px solid #d6cebf;padding-top:17px;font-size:13px;color:#796b57}.answer-reveal p{line-height:2;margin:10px 0}.answer-reveal small{font-size:10px}.self-review{margin:22px 0;padding:18px;border:1px solid #d9d4c7;background:#f0ede4}.self-review p{font-size:11px;line-height:1.9;color:#8a7e6b;margin-bottom:12px}.self-review label{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.9;margin:12px 0}.self-review input{margin-top:6px}.evidence-requirements{display:flex;flex-direction:column;gap:10px;margin:25px 0}.evidence-requirements button{display:flex;gap:8px;align-items:center;font-size:12px;text-align:left;color:#8b7358}.next-review{font-size:12px!important;color:#8b7358!important}.complete-button{white-space:normal}.project-list{border-top:1px solid var(--line)}.project-list>button{display:flex;align-items:center;gap:30px;text-align:left;padding:27px 6px;border-bottom:1px solid var(--line);width:100%}.project-list>button>span{font:27px var(--serif);color:#a18666;min-width:43px}.project-list>button>div{flex:1 1}.project-list h2{font-size:19px;font-weight:600}.project-list p{font-size:13px;line-height:1.9;color:#797268;margin:8px 0}.project-list small{font-size:11px;color:#9a8b77}.project-list>button>svg{color:#93836c}.project-meta{display:flex;gap:20px;flex-wrap:wrap;margin:-13px 0 25px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;color:#857b6b}.project-meta a{display:flex;align-items:center;gap:8px;color:var(--accent)}.project-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.85fr);gap:40px;align-items:start}.project-layout>article{min-width:0}.project-steps{margin-bottom:28px}.project-steps>div{display:flex;gap:16px;margin:18px 0}.project-steps span{font:23px var(--serif);color:#b0a38f}.project-steps p{font-size:14px;line-height:1.9;color:#6d675c}.project-report{border-top:2px solid #c9bca6;background:#f1eee5;padding:24px}.project-report>h2{font:600 22px var(--serif)}.project-report>p{font-size:12px;color:#8b806d;line-height:1.9;margin:14px 0}.project-report .learning-field>b{font-size:12px}.project-report textarea{font-size:12px;min-height:110px}.project-report .text-button{margin-top:20px}.project-report .self-review{padding:0;border:0}.review-info{max-width:740px;padding:24px;background:#eeebe0;border-left:2px solid #b99b76;margin-bottom:30px}.review-info p{font-size:13px;line-height:2;color:#797160}.review-info p+p{margin-top:12px}.review-list{border-top:1px solid var(--line)}.review-list>button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:25px 4px;border-bottom:1px solid var(--line);text-align:left}.review-list span{font-size:11px;color:#9a8c77}.review-list h3{font-size:18px;margin-top:8px;font-weight:600}.review-list b{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--accent);white-space:nowrap}.upcoming-reviews{margin:20px 0 30px}.upcoming-reviews>div{padding:15px 0;display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}.upcoming-reviews button{font-size:13px;text-align:left}.upcoming-reviews span{font-size:11px;color:#958773;white-space:nowrap}.research-notes{max-width:740px}.research-notes a{display:block;color:var(--accent);font-size:12px;margin-top:14px}.resource-list{display:grid;grid-template-columns:1fr 1fr;gap:0 38px}.resource-list article{padding:29px 0;border-bottom:1px solid var(--line)}.resource-list article>a{display:flex;align-items:flex-start;gap:15px;justify-content:space-between}.resource-list h2{font:600 20px/1.6 var(--serif)}.resource-list a>svg{margin-top:5px;color:#ad8760}.resource-list p{font-size:13px;line-height:1.9;color:#7b7264;margin-top:16px}.resource-list p>b{display:block;font-size:10px;color:#a18a6b;font-weight:500;margin-bottom:4px}.resource-list small{display:block;font-size:10px;color:#9b8b76;margin-top:10px}.resource-list article>div{display:flex;gap:13px;flex-wrap:wrap;margin-top:20px}.resource-list article>div>button{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--accent)}.paper-filter{margin-top:25px}.paper-entry p{font-size:13px}.evidence-list{margin-top:30px}.evidence-list details{border-bottom:1px solid var(--line);padding:20px 0}.evidence-list summary{font-size:14px;cursor:pointer}.evidence-list summary>span{font-size:10px;color:#9a856b;margin-left:15px}.evidence-list p{font-size:13px;white-space:pre-wrap;line-height:1.9;color:#78705f;margin:12px 0}.evidence-list small{font-size:10px;color:#9d907c}.evidence-list details>div{padding:14px 0;border-top:1px dashed #d9d2c4}.evidence-list .text-button{margin-top:14px}@media(min-width:1500px){.classroom-main{padding-left:55px;padding-right:55px}.lesson-workbench{gap:55px}.lesson-content{max-width:780px}}@media(max-width:1100px){.lesson-workbench,.lesson-workbench.step-3{gap:24px;grid-template-columns:minmax(0,1.15fr) minmax(285px,.85fr)}.project-layout{gap:25px;grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}.project-report{padding:19px}.learning-summary{gap:24px;flex-wrap:wrap}.backup-actions{margin-left:0}}@media(max-width:760px){.header-review{display:none}.library-heading h1{font-size:39px}.resume-strip{padding:25px;align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:30px}.resume-strip h2{font-size:22px}.resume-strip p{font-size:12px}.lesson-workbench,.lesson-workbench.step-3{grid-template-columns:1fr;gap:30px}.experiment-aside{position:static}.experiment-aside,.step-3 .experiment-aside{grid-row:auto!important}.lesson-content{max-width:none}.project-layout{grid-template-columns:1fr}.project-report{padding:25px}.resource-list{grid-template-columns:1fr}.learning-summary{gap:25px 32px}.concept-list p,.lesson-content>p,.story-paragraph>p{font-size:15px}.route-selector{align-items:flex-start;gap:15px;flex-wrap:wrap}.route-selector .segmented button{font-size:11px;padding:9px 12px}.stage-row-header{gap:18px}.stage-lessons{padding-left:35px}.review-list h3{font-size:16px}.project-list h2{font-size:17px}.project-list>button{gap:18px}.resource-list h2{font-size:21px}.experiment-aside .python-runner{margin-top:5px}.source-paper p{font-size:12px}.class-header-title span{display:none}.class-header-actions{gap:8px}}@media(max-width:520px){.mobile-nav>nav{grid-template-columns:repeat(5,1fr)}.library-shell{padding-bottom:35px}.collection-heading h1{font-size:29px}.collection-heading>p{font-size:13px}.route-selector>.text-button{font-size:10px}.stage-row-header h3{font-size:16px}.stage-row-header p{font-size:11px}.stage-row-header{gap:13px}.stage-n{font-size:24px;min-width:28px}.stage-course-count{font-size:11px;white-space:nowrap}.stage-course-count>span{font-size:9px}.stage-row-header>svg{margin-left:0}.stage-lessons{padding-left:9px}.stage-lessons>button{padding:16px 5px;gap:10px}.stage-lessons h4{font-size:13px}.stage-lessons p{font-size:11px}.learning-contract p{font-size:12px}.project-list>button>span{font-size:23px;min-width:29px}.project-list p{font-size:12px}.project-list small{font-size:10px}.project-meta{gap:13px 20px}.checkpoint{padding:20px}.checkpoint>p{font-size:15px}.checkpoint-actions{gap:14px}.self-review{padding:15px}.self-review label{font-size:12px}.learning-field textarea{font-size:14px}.python-runner .code-toolbar small{display:none}.python-runner .code-editor textarea{font-size:12px}.python-runner .code-bottom{flex-wrap:wrap;gap:10px}.python-runner .code-bottom>span{font-size:9px}.python-runner .code-bottom>button{font-size:11px}.project-report{padding:20px}.project-report textarea{font-size:13px}.upcoming-reviews>div{flex-direction:column;gap:5px}.review-list>button{align-items:flex-start;flex-direction:column;gap:14px}.evidence-list summary>span{display:block;margin:7px 0 0}.learning-summary b{font-size:28px}.learning-summary span{font-size:10px}.backup-actions{width:100%}.class-header-actions .secondary{font-size:9px;padding:8px}.lesson-content h2{font-size:24px}.fine-print{font-size:11px}}.route-selector .segmented{width:auto;max-width:100%;display:flex}.route-selector .segmented button{width:auto;white-space:nowrap}.branch-project-link{margin:0 0 25px}.mobile-menu.icon-button{margin-left:auto}.mobile-experiment{margin:25px 0}.mobile-experiment .fine-print{padding-bottom:10px}.step-1,.step-2{grid-template-columns:minmax(0,1fr) 235px;align-items:start}.step-1 .lesson-content,.step-2 .lesson-content{max-width:820px}.step-1 .experiment-door,.step-2 .experiment-door{padding:23px 19px}.step-1 .experiment-door h3,.step-2 .experiment-door h3{font-size:18px}.step-1 .experiment-door .secondary,.step-2 .experiment-door .secondary{font-size:10px}.chapter-status{min-height:180px;padding:35px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:20px;color:#8b7d68}.chapter-status p{font-size:13px}.chapter-bridge{margin:30px 0;padding:20px 0 20px 22px;border-left:2px solid #af8c60}.chapter-bridge>span{font-size:10px;letter-spacing:1px;color:#a0835e}.chapter-bridge>p{font-size:14px;line-height:2.1;color:#6d6353;margin-top:10px}.chapter-overview{margin-top:35px}.chapter-roadmap{padding:25px;background:#eeeade}.chapter-roadmap h3{font:600 20px/1.65 var(--serif)}.chapter-roadmap ol{padding-left:22px;font-size:14px;line-height:2.3;color:#766a56;margin:18px 0 24px}.chapter-edition{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 0 20px;border-bottom:1px solid var(--line);margin-bottom:25px}.chapter-edition>span{font-size:11px;letter-spacing:1px;color:#a27c51}.chapter-edition .text-button{font-size:10px}.chapter-introduction p{font:500 19px/2.1 var(--serif);color:#5a5448;margin:17px 0}.chapter-contents{padding:22px 0;margin:30px 0 40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.chapter-contents>b{font-size:10px;color:#96866d;letter-spacing:1px;display:block;margin-bottom:14px}.chapter-contents button{display:flex;align-items:center;gap:15px;width:100%;text-align:left;padding:9px 0;font-size:13px;color:#7d705b}.chapter-contents button>span{font:14px Georgia,serif;color:#a49a89;min-width:22px}.chapter-contents button>svg{margin-left:auto;color:#baa98c}.chapter-contents button.reading-current{color:#b15e38}.chapter-exercises>h3,.chapter-misconceptions>h3,.chapter-recap>h3,.chapter-sources>h3,.chapter-terms h3,.code-reading h3{font:600 23px/1.7 var(--serif);margin:0 0 22px}.chapter-terms dl{margin:0 0 40px}.chapter-terms dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:20px;padding:17px 0;border-bottom:1px solid #e3ded2}.chapter-terms dt{font-size:13px;font-weight:600;color:#93724c}.chapter-terms dd{margin:0;font-size:14px;line-height:2;color:#645c4e}.chapter-terms dd small{font-size:12px;color:#95856e;display:block;margin-top:5px}.reading-section{scroll-margin-top:105px;padding:24px 0 20px;border-top:1px solid #d3ccbd;margin-top:35px}.reading-section>header{display:flex;align-items:baseline;gap:16px;margin:0 0 23px}.reading-section>header>span{font:27px Georgia,serif;color:#b09a78;min-width:34px}.reading-section h3{font:600 26px/1.65 var(--serif);color:#393a34;letter-spacing:-.5px}.reading-prose>p{font-size:16px;line-height:2.1;color:#575349;margin:18px 0;overflow-wrap:anywhere;text-wrap:pretty}.explained-equation{margin:25px 0;padding:18px 20px;background:#eeece2}.explained-equation .math-block{background:none;border:0;margin:0;padding:10px 0}.explained-equation p{font-size:13px;color:#857357;line-height:2;margin-top:10px}.teaching-figure{margin:28px 0;padding:22px;background:#f0ede3;border:1px solid #e0d9c9;min-width:0}.figure-heading{display:flex;gap:14px;align-items:baseline;margin-bottom:20px}.figure-heading>span{font-size:9px;color:#a58e6c;white-space:nowrap}.figure-heading h4{font-size:14px;font-weight:600;color:#6a5d48;line-height:1.8}.concept-plate figcaption,.teaching-figure figcaption{font-size:12px;line-height:2;color:#8a7a62;margin-top:20px;overflow-wrap:anywhere}.table-scroll{overflow-x:auto;scrollbar-width:thin;outline-offset:4px}.table-scroll table{width:100%;border-collapse:collapse;text-align:left;min-width:390px;font-size:12px;line-height:1.9}.table-scroll th{font-weight:600;color:#95774e;padding:10px 12px;border-bottom:1px solid #c8b99d;vertical-align:top}.table-scroll td{padding:12px;border-bottom:1px solid #ddd4c2;color:#6d604d;vertical-align:top;max-width:300px;overflow-wrap:anywhere}.table-scroll tbody tr:last-child td{border-bottom:0}.table-scroll tbody tr:nth-child(2n){background:#e9e3d6}.table-scroll td:first-child,.table-scroll th:first-child{padding-left:5px}.flow-lanes{display:flex;flex-direction:column;gap:18px}.flow-lane{display:grid;grid-template-columns:repeat(var(--flow-columns),minmax(0,1fr));gap:23px}.flow-stop{position:relative;padding:15px 12px;background:#e8e1d3;border-top:2px solid #b59b72;min-width:0}.flow-stop:nth-child(2){background:#e1e6db;border-color:#8e9d77}.flow-stop:nth-child(3){background:#efe0d4;border-color:#b88b70}.flow-stop:nth-child(4){background:#e0e4e9;border-color:#91a0b4}.flow-stop small{font-size:9px;color:#9a805a;display:block;line-height:1.7;margin-bottom:8px}.flow-stop p{font-size:12px;line-height:1.9;color:#675a45;overflow-wrap:anywhere}.flow-connector{position:absolute;right:-21px;top:45%;color:#b6a17b}.reading-pause{padding:22px;background:#f1efe7;border-top:1px solid #ded5c3;margin:26px 0 18px}.pause-label{display:flex;align-items:center;gap:9px;color:#9b7c4e;font-size:10px;letter-spacing:.5px}.reading-pause>p{font-size:14px;line-height:1.95;color:#6b5f4b;margin:13px 0}.reading-pause textarea{width:100%;display:block;min-height:92px;background:#fcfbf5;border:1px solid #d5cbb9;border-radius:3px;padding:12px 14px;font-size:13px;line-height:1.9;color:#625743;margin:15px 0}.reading-pause textarea::placeholder{color:#a3947e}.pause-explanation{padding-top:18px;margin-top:18px;border-top:1px dashed #cdbfa4}.pause-explanation b{font-size:14px;line-height:1.9;color:#675841;font-weight:600}.pause-explanation p{font-size:13px;line-height:2;color:#817055;margin:10px 0}.pause-explanation small{font-size:10px;color:#a08c6a;display:block;margin-top:14px}.reading-section-end{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:18px 0 10px}.reading-section-end .text-button{font-size:10px;text-align:left}.reading-section-end .text-button:last-child{max-width:65%}.chapter-misconceptions{margin:45px 0}.chapter-misconceptions>div{padding:21px 0;border-top:1px solid var(--line)}.chapter-misconceptions span{font-size:9px;color:#a89981}.chapter-misconceptions h4{font-size:15px;font-weight:600;line-height:1.8;margin:7px 0 12px;color:#9d6247}.chapter-misconceptions p{font-size:14px;line-height:2;color:#766650}.chapter-misconceptions strong{display:block;font-size:13px;line-height:1.9;font-weight:500;color:#758268;margin:13px 0 0}.chapter-exercises{margin-top:40px}.exercise-hint{font-size:11px;color:#968263}.exercise-hint summary{cursor:pointer}.exercise-hint p{font-size:13px;line-height:2;padding:12px 0}.chapter-exercises .reading-pause{margin-top:12px}.chapter-exercises>div{margin-bottom:28px}.chapter-recap{padding:30px;background:#e9e4d7;margin:45px 0}.chapter-recap>span{font-size:10px;color:#a18c69;display:block;margin-bottom:13px}.chapter-recap h3{font-size:22px}.chapter-recap ul{padding-left:20px;color:#736147;font-size:14px;line-height:2}.chapter-recap li{margin:12px 0}.chapter-recap .primary{margin-top:18px}.chapter-sources{margin:40px 0 15px;border-top:1px solid var(--line);padding-top:25px}.chapter-sources>p{font-size:11px;color:#a18d70;line-height:1.9;margin-bottom:14px}.chapter-sources article{padding:17px 0;border-bottom:1px solid #ded6c8}.chapter-sources a{display:flex;gap:12px;align-items:center;font-size:13px;color:#a26b40}.chapter-sources small{display:block;font-size:10px;color:#a18d70;margin:7px 0}.chapter-sources article p{font-size:12px;line-height:1.9;color:#88765a}.worked-example{border-top:2px solid #bca77e;margin-top:48px;padding-top:32px}.worked-setup{font-size:15px;line-height:2;color:#77674e;background:#eee8d9;padding:20px;margin:22px 0}.worked-step{padding:23px 0;border-bottom:1px solid var(--line)}.worked-step header{display:flex;gap:15px;align-items:baseline;margin-bottom:14px}.worked-step header>span{font:25px Georgia,serif;color:#b69a6f}.worked-step h3{font-size:17px;line-height:1.8;font-weight:600;color:#66573e}.worked-step>p{font-size:15px;line-height:2.1;color:#75664e}.worked-step .math-block{margin-top:20px}.worked-controls{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:25px}.worked-controls small{font-size:10px;color:#a08d6c;margin-left:auto}.worked-conclusion{font-size:15px;line-height:2;color:#6b795f;background:#e7eadf;padding:20px;width:100%}.code-reading{margin:30px 0 28px}.code-reading ol{list-style:none;padding:0;counter-reset:readcode}.code-reading li{counter-increment:readcode;padding:15px 0 15px 35px;position:relative;border-top:1px solid #ded7c9}.code-reading li:before{content:counter(readcode,decimal-leading-zero);position:absolute;left:0;top:17px;font:15px Georgia,serif;color:#b09a78}.code-reading b{font-size:13px;color:#8f6e45;font-weight:600}.code-reading p{font-size:14px;color:#79694f;line-height:2;margin-top:9px}.concept-plate{padding:25px;margin:35px 0;background:#eeece2;border:1px solid #dbd4c4}.plate-heading{margin-bottom:22px}.plate-heading>span{font-size:9px;letter-spacing:1px;color:#a28762}.plate-heading h3{font:600 20px/1.7 var(--serif);margin-top:9px;color:#695c46}.concept-plate>svg{display:block;width:100%;max-height:360px;overflow:visible}.concept-plate svg text{font:11px var(--sans);fill:#927b58}.plot-axis{fill:none;stroke:#c3b494;stroke-width:1}.plot-grid{stroke:#dfd7c6;stroke-width:1;stroke-dasharray:3 5}.plot-line{fill:none;stroke:#8d9c70;stroke-width:2.8}.plot-error{stroke:#b96c43;stroke-width:2;stroke-dasharray:5 4}.plot-point{fill:#ae5a35;stroke:#f7f1e4;stroke-width:2}.plot-point.secondary-point{fill:#8a9d72}.plate-slider{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;color:#96805e;margin-top:20px}.plate-slider>b{margin-left:auto;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:15px;font-weight:500;color:#9f6940}.plate-slider input{flex-basis:100%}.plate-numbers{display:flex;gap:18px;justify-content:space-between;margin-top:18px}.plate-numbers>span{font-size:9px;line-height:1.9;color:#a18b66}.plate-numbers b{display:block;font:24px/1.5 Georgia,serif;color:#81663d;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.plate-instruction{font-size:12px;line-height:2;color:#a07f50;margin-top:20px}.plate-switch{display:flex;gap:10px;margin:20px 0}.plate-switch button{padding:7px 12px;font-size:11px;border:1px solid #d3c7b0;color:#9b815b}.plate-switch button.selected{background:#e0d6c0;color:#8b602f;border-color:#bda47d}.matrix-operation{display:flex;align-items:center;justify-content:space-between;gap:13px;margin:25px 0}.matrix-operation small{font-size:9px;color:#a58a64;display:block;margin-bottom:12px;line-height:1.8}.matrix-operation>b{font:23px Georgia,serif;color:#b1a183}.matrix-grid{display:grid;gap:5px;border-left:2px solid #c3b393;border-right:2px solid #c3b393;padding:0 8px}.matrix-grid>button,.matrix-grid>span{padding:10px 13px;display:grid;place-items:center;background:#e3dfd2;font:23px Georgia,serif;color:#968568;border-radius:2px}.matrix-grid .selected{background:#d6bd99;color:#805631}.matrix-detail{padding:15px 0;border-top:1px solid #d4c7b0;font-size:12px;color:#977e58}.matrix-detail>b{font:19px Georgia,serif;margin-left:9px;color:#8d633b}.calculation-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.calculation-path button{position:relative;background:#e5dfd0;border-top:2px solid #c2ae89;padding:15px 9px;text-align:left}.calculation-path small{display:block;font-size:10px;color:#9d8b6b}.calculation-path b{display:block;font:16px/1.9 Georgia,serif;color:#8a724c;margin-top:9px}.calculation-path svg{position:absolute;right:-18px;top:47%;color:#b8a27a}.calculation-path button.selected{background:#e7d8bf;border-color:#b77848}.chain-explanation{padding:20px 0}.chain-explanation>span{font-size:10px;color:#ab936d}.chain-explanation p{font-size:13px;line-height:2;color:#877150;margin-top:8px}.gradient-path{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:11px;color:#a2885e}.gradient-path>b{font-size:12px;letter-spacing:1px;color:#b26a3d;font-weight:500}.concept-plate .math-block{background:#e9e2d3;border:0;margin-top:20px}.attention-arithmetic{display:flex;gap:13px;align-items:center}.attention-arithmetic>div{flex:1 1;min-width:0}.attention-arithmetic small{font-size:9px;display:block;color:#a28b65;min-height:35px}.attention-arithmetic span{display:flex;justify-content:space-between;gap:5px;font-size:10px;padding:12px 8px;margin:5px 0;background:#e2e3d7;color:#99845f}.attention-arithmetic b{font:16px Georgia,serif;color:#80623b}.attention-arithmetic>svg{color:#bca882}.token-trace{display:grid;grid-template-columns:75px repeat(3,1fr);gap:12px;align-items:center}.token-trace>span{font-size:10px;color:#a18962}.token-trace>button,.token-trace>div{text-align:center;padding:12px 8px;background:#e4e1d4;font:25px var(--serif);color:#9e8d70;border:1px solid transparent}.token-trace small{display:block;font:9px var(--sans);color:#b09d7e;margin-top:6px}.token-trace .selected{background:#ddc8a7;color:#8d5d2c;border-color:#c1a273}.visible-history{margin-top:25px}.visible-history>small{font-size:10px;color:#9f8863}.visible-history>div{display:flex;gap:10px;margin:14px 0}.visible-history span{padding:10px 20px;font-size:21px;border-radius:3px}.visible-history span small{font-size:8px;display:block;margin-top:5px}.visible-token{background:#dbe3ce;color:#81926b}.hidden-token{background:#e3e0d8;color:#b1aa9b}.visible-history>p{font-size:13px;line-height:2;color:#8a7350}.return-timeline{display:flex;gap:25px}.return-timeline>div{flex:1 1;position:relative;text-align:center;padding:17px 10px;background:#e7e2d5}.return-timeline small{font-size:9px;color:#a18c68;display:block}.return-timeline b{font:30px/1.5 Georgia,serif;color:#a37f4d;display:block;margin:10px 0}.return-timeline span{font-size:12px;color:#a18a64;display:block}.return-timeline strong{font:20px/1.7 Georgia,serif;color:#86936c;display:block;border-top:1px solid #d6cbb5;margin-top:12px;padding-top:9px}.return-timeline svg{position:absolute;right:-22px;top:45%;color:#b4a17b}.return-total{display:flex;align-items:center;gap:15px;padding:17px 0;font-size:12px;color:#a08861}.return-total>b{font:29px Georgia,serif;color:#8c6d42;margin-left:auto}@media(max-width:1150px){.step-1,.step-2{grid-template-columns:minmax(0,1fr) 200px;gap:25px}.concept-plate,.teaching-figure{padding:20px}.flow-lane{gap:18px}.flow-connector{right:-17px;width:14px}.flow-stop{padding:12px 9px}.calculation-path{gap:15px}.calculation-path b{font-size:13px}.calculation-path svg{right:-15px;width:12px}.matrix-grid>button,.matrix-grid>span{padding:9px 10px}.reading-section h3{font-size:24px}.attention-arithmetic{gap:7px}.attention-arithmetic>svg{width:12px}.attention-arithmetic span{font-size:9px;padding:9px 5px}}@media(max-width:900px){.step-1,.step-2{grid-template-columns:minmax(0,1fr)}.step-1 .experiment-aside,.step-2 .experiment-aside{position:static;width:100%;max-width:none}.step-1 .experiment-door,.step-2 .experiment-door{display:none}.step-1 .lesson-content,.step-2 .lesson-content{max-width:760px;margin:auto;width:100%}.chapter-terms dl>div{grid-template-columns:100px minmax(0,1fr)}.reading-prose>p{font-size:16px}}@media(max-width:520px){.chapter-introduction p{font-size:17px;line-height:2}.chapter-bridge{padding:15px 0 15px 16px;margin:25px 0}.chapter-bridge>p{font-size:13px}.chapter-contents{margin:25px 0 32px}.chapter-contents button{font-size:12px;gap:10px}.chapter-exercises>h3,.chapter-misconceptions>h3,.chapter-recap>h3,.chapter-sources>h3,.chapter-terms h3{font-size:21px}.chapter-terms dl>div{grid-template-columns:1fr;gap:6px;padding:15px 0}.chapter-terms dd{font-size:14px}.chapter-terms dd small{font-size:12px}.reading-section{padding-top:20px;margin-top:25px;scroll-margin-top:85px}.reading-section>header{gap:12px;margin-bottom:20px}.reading-section>header>span{font-size:23px;min-width:29px}.reading-section h3{font-size:22px;line-height:1.65}.reading-prose>p{font-size:15px;line-height:2.1;margin:17px 0}.explained-equation{padding:15px}.explained-equation p{font-size:12px}.teaching-figure{margin:23px 0;padding:17px 14px}.figure-heading{gap:10px}.figure-heading h4{font-size:13px}.table-scroll table{min-width:360px;font-size:12px}.table-scroll td,.table-scroll th{padding:10px}.flow-lane{grid-template-columns:1fr;gap:22px}.flow-stop{padding:14px 16px}.flow-stop small{font-size:10px}.flow-stop p{font-size:13px}.flow-connector{right:auto;left:47%;top:auto;bottom:-20px;transform:rotate(90deg);width:17px}.flow-lanes{gap:30px}.reading-pause{padding:18px 15px}.reading-pause textarea,.reading-pause>p{font-size:14px}.reading-section-end{flex-direction:column;gap:17px}.reading-section-end .text-button:last-child{max-width:100%}.chapter-recap{padding:22px}.chapter-recap li{font-size:13px}.chapter-roadmap{padding:22px}.chapter-roadmap ol{font-size:13px}.worked-setup{padding:17px}.worked-setup,.worked-step>p{font-size:14px}.worked-step h3{font-size:16px}.code-reading p{font-size:13px}.concept-plate{padding:20px 14px}.plate-heading h3{font-size:19px}.plate-numbers{gap:10px}.plate-numbers b{font-size:22px}.matrix-operation{gap:7px}.matrix-operation small{font-size:8px}.matrix-grid{gap:4px;padding:0 5px}.matrix-grid>button,.matrix-grid>span{font-size:20px;padding:10px 7px}.matrix-operation>b{font-size:18px}.matrix-detail{font-size:11px}.matrix-detail>b{font-size:17px}.calculation-path{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.calculation-path b{font-size:17px}.calculation-path button:nth-child(2) svg{transform:rotate(90deg);right:42%;top:auto;bottom:-19px}.calculation-path button:nth-child(3){grid-column:2;grid-row:2}.calculation-path button:nth-child(4){grid-column:1;grid-row:2}.calculation-path button:nth-child(3) svg{transform:rotate(180deg);right:auto;left:-18px}.gradient-path{font-size:9px;gap:5px}.gradient-path>b{font-size:11px;letter-spacing:0}.attention-arithmetic{align-items:stretch;gap:5px}.attention-arithmetic>svg{align-self:center;width:10px}.attention-arithmetic small{font-size:8px;line-height:1.7}.attention-arithmetic span{display:flex;flex-direction:column;font-size:9px;padding:8px 6px;gap:4px}.attention-arithmetic b{font-size:19px}.token-trace{grid-template-columns:60px repeat(3,1fr);gap:7px}.token-trace>span{font-size:9px}.token-trace>button,.token-trace>div{font-size:23px;padding:10px 6px}.visible-history span{padding:10px 15px}.return-timeline{gap:19px}.return-timeline>div{padding:13px 6px}.return-timeline small{font-size:8px}.return-timeline b{font-size:27px}.return-timeline svg{right:-17px;width:14px}.return-timeline strong{font-size:18px}.concept-plate figcaption,.teaching-figure figcaption{font-size:12px}.chapter-edition{gap:12px}.chapter-edition>span{font-size:10px;letter-spacing:0}}@media print{.chapter-contents,.course-sidebar,.experiment-aside,.lesson-step-actions,.lesson-stepper,.reading-section-end,.site-header,button,textarea{display:none!important}.classroom-main{margin:0!important;padding:0!important}.lesson-workbench{display:block!important}.chapter-reader{color:#222}.concept-plate,.reading-section,.teaching-figure{page-break-inside:avoid;break-inside:avoid}.reading-prose>p{font-size:12pt;line-height:1.8}}.project-walkthrough{margin-bottom:35px}.project-walkthrough>h2{font:600 25px/1.7 var(--serif);margin:30px 0 25px;color:#5a523f}.project-walkthrough>section{padding:20px 0;border-top:1px solid #dad2c1}.project-walkthrough header{display:flex;gap:15px;align-items:baseline}.project-walkthrough header>span{font:23px Georgia,serif;color:#b19b78}.project-walkthrough h3{font-size:16px;line-height:1.8;font-weight:600;color:#7f6541}.project-walkthrough section>p{font-size:15px;line-height:2.1;color:#76664f;margin:17px 0 0}.project-prereqs{display:flex;gap:12px;flex-wrap:wrap;padding:17px 0;border-bottom:1px solid var(--line)}.project-prereqs>span{width:100%;font-size:10px;color:#ad9672}.project-prereqs>button{display:flex;align-items:center;gap:7px;font-size:11px;color:#9b7849}.project-debug-guide{margin:25px 0;padding:18px;background:#eae5d7}.project-debug-guide summary{cursor:pointer;font-size:12px;color:#987b51}.project-debug-guide h4{font-size:14px;margin:20px 0 10px;color:#967248}.project-debug-guide p{font-size:13px;line-height:2;color:#927c58}@media(max-width:520px){.project-walkthrough>h2{font-size:22px}.project-walkthrough section>p{font-size:14px}.project-walkthrough h3{font-size:15px}}.chapter-analogy{margin:25px 0;padding:18px 20px;border:1px dashed #d2c7b1;background:#f1eee4}.chapter-analogy summary{font-size:13px;color:#9a8058;cursor:pointer;line-height:1.8}.chapter-analogy p{font-size:14px;line-height:2;color:#887252;margin-top:17px}.chapter-analogy small{font-size:11px;line-height:1.9;color:#a18c6a;display:block;margin-top:14px}