/* Quiet, readable notebook sections. Existing diagrams and handwriting stay intact. */
.tabbed-lesson{max-width:1000px}.tabbed-lesson .lesson-heading{margin-bottom:22px}.tabbed-lesson .lesson-heading p{font-size:15px}.tabbed-lesson .textbook-line{margin-bottom:28px}
.lesson-tabs,.bank-tabs{display:flex;gap:36px;border-bottom:1px solid #dce3ec;margin-bottom:0;background:#fafbfc;z-index:5}
.lesson-tabs{position:sticky;top:0;padding-top:8px}.lesson-tabs button,.bank-tabs button{position:relative;padding:16px 2px 17px;min-height:52px;font-family:inherit;font-size:16px;line-height:1.5;color:#64728a;border-bottom:2px solid transparent;white-space:nowrap}
.lesson-tabs button[aria-selected=true],.bank-tabs button[aria-selected=true]{color:#2e476c;border-bottom-color:#536d94}.lesson-tabs button:hover,.bank-tabs button:hover{color:#294567}
.lesson-tabs button:focus-visible,.bank-tabs button:focus-visible,.lesson-extra>summary:focus-visible,.map-branch>summary:focus-visible,.answer-reveal>summary:focus-visible{outline:2px solid #647fa8;outline-offset:4px}
[data-lesson-panel]{padding:34px 0 12px;outline-offset:6px;scroll-margin-top:90px}.tabbed-lesson [data-lesson-panel]>*{max-width:820px;margin-inline:auto}
.tabbed-lesson [hidden],.exam-library [hidden]{display:none!important}
.tabbed-lesson .depth-content{margin-top:0;padding-top:0;border-top:0;scroll-margin-top:90px}.tabbed-lesson .depth-content h2{font-size:27px;margin:0 0 22px}.tabbed-lesson .depth-definition{padding:0 0 25px;margin:0 0 25px;border-bottom:1px solid #e5e9ef}
.tabbed-lesson .depth-definition h3{font-size:25px;margin:0 0 12px}.tabbed-lesson .depth-definition p{font-size:16px;line-height:1.9;margin:8px 0}.tabbed-lesson .depth-definition .depth-formula{padding:12px 3px}
.tabbed-lesson .depth-conditions{background:transparent;border-left:2px solid #a6b5cb;padding:3px 0 3px 18px;margin-top:16px}.tabbed-lesson .depth-conditions ul{margin:8px 0 0}.tabbed-lesson .depth-conditions li{font-size:15px;line-height:1.8;margin-top:6px}.tabbed-lesson .depth-conditions b{color:#334c70}
.lesson-extra{border-bottom:1px solid #e1e6ee;margin:0;padding:16px 0;color:#354b6a}.lesson-extra>summary{cursor:pointer;font-size:15px;line-height:1.8;min-height:27px}.lesson-extra[open]>summary{margin-bottom:22px}.lesson-extra>.explanation{margin-top:20px}.lesson-extra p,.lesson-extra li{font-size:16px;line-height:1.9}.lesson-extra .depth-definition{margin-top:24px}.lesson-extra .depth-boundaries{margin-top:0}.lesson-extra .depth-boundaries h3{margin:0}.lesson-extra .depth-boundaries details:first-child{border-top:0}
.core-experiment{margin-top:42px}.experiment-intro h2{font-size:28px;margin:0 0 10px;color:#304867}.experiment-intro .question-note{display:block;font-size:16px;line-height:1.9;color:#435773;padding-bottom:20px}.tabbed-lesson .learning-paper{padding:20px 24px}.tabbed-lesson .model-note{font-size:13px;line-height:1.8;color:#64738a}.tabbed-lesson .misconception{margin:32px 0 16px}.tabbed-lesson .misconception p{font-size:21px;color:#354c70}
.tabbed-lesson .explain-step p{font-size:16px;line-height:1.9}.tabbed-lesson .explain-step h3{font-size:23px}.tabbed-lesson .point-start{padding:0;margin:0 0 18px;background:none;border:0;font-size:14px;line-height:1.9;scroll-margin-top:90px}.point-start:empty{margin:0}.point-start a{text-decoration:underline;text-underline-offset:4px}
.tabbed-lesson .condition-lab{margin:0;padding:22px}.panel-heading{margin-bottom:30px}.panel-heading h2{font-size:30px;line-height:1.6;color:#304867;margin:0 0 12px}.panel-heading p{font-size:15px;line-height:1.9;color:#5c6d84;margin:0 0 18px}.panel-heading .under-link{font-size:14px}
.tabbed-lesson .quiz{border-top:0;padding-top:0;margin:0 0 42px}.quiz h3{font-size:24px;color:#304867;margin:0 0 15px}.tabbed-lesson .quiz>p{font-size:17px;line-height:1.9}.tabbed-lesson .quiz-option{font-size:16px;line-height:1.9;padding:14px 8px}.homework-panel .deep-practice,.homework-panel .deep-reasoning{border-top:1px solid #dce3ec;padding-top:30px;margin-top:32px}.tabbed-lesson .depth-worked{padding:0;border:0}.tabbed-lesson .depth-worked h3{margin-top:12px}.tabbed-lesson .depth-worked>.depth-level{display:none}
.answer-reveal{margin:23px 0 0;border:0;padding:0;color:#354b6a}.answer-reveal>summary{display:list-item;cursor:pointer;font-size:15px;line-height:1.9;min-height:32px;color:#395b87}.answer-reveal[open]>summary{margin-bottom:18px}.answer-reveal p,.answer-reveal li{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.answer-reveal ol{padding-left:24px}.answer-reveal li+li{margin-top:9px}.answer-reveal>div{padding:5px 0 0 20px;border-left:2px solid #aab8ce}
.lesson-bottom{max-width:820px;margin:30px auto 0;padding-top:26px;border-top:1px solid #dce3ec}.lesson-bottom .complete{margin:0}.lesson-bottom .lesson-sync{font-size:12px;color:#687a91;margin:14px 0}.chapter-finish{display:block;text-align:left;margin:0 0 25px;font-size:23px;line-height:1.7;color:#38577f}.lesson-bottom .point-sequence,.lesson-bottom .lesson-sequence{margin-top:28px}
.map-root{position:relative;width:fit-content;max-width:100%;margin:32px auto 38px!important;border:1px solid #a9b8cb;padding:15px 25px;font-size:27px;line-height:1.6;text-align:center;color:#304867;background:#fff}.map-root:after{content:'';position:absolute;height:39px;width:1px;background:#b5c2d3;left:50%;top:100%}
.map-branches{display:grid;grid-template-columns:1fr 1fr;gap:24px 30px;align-items:start;border-top:1px solid #b5c2d3;padding-top:24px}.map-branch{position:relative;border:1px solid #d7dfe9;background:#fff}.map-branch:before{content:'';height:25px;width:1px;background:#b5c2d3;position:absolute;bottom:100%;left:50%}.map-branch>summary{display:flex;align-items:center;gap:13px;padding:17px 18px;min-height:64px;cursor:pointer;list-style:none;color:#354f73;font:23px/1.65 Notebook,serif}.map-branch>summary::-webkit-details-marker{display:none}.map-number{font:12px/1.8 Georgia,serif;color:#7c8da6}.map-toggle{margin-left:auto;font:18px/1.8 sans-serif;color:#7890af}.map-branch[open] .map-toggle{font-size:0}.map-branch[open] .map-toggle:after{content:'−';font:18px/1.8 sans-serif}
.map-branch-body{padding:0 22px 22px}.map-branch-body>ul{padding-left:18px;font-size:15px;line-height:1.9;margin:0 0 22px;color:#3c5270}.map-branch-body li+li{margin-top:10px}.map-types article{padding:15px 0;border-top:1px solid #e5eaf0}.map-types h3{font:21px/1.7 Notebook,serif;color:#304867;margin:0 0 8px}.map-types p{display:grid;grid-template-columns:32px 1fr;gap:9px;font-size:14px;line-height:1.9;color:#526780;margin:6px 0}.map-types b{font-weight:500;color:#2e476c}.map-lesson-links{font-size:12px;line-height:1.9;display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px;color:#45658f}.map-connections{margin-top:28px}.map-connections ul{padding-left:20px}.map-connections li{margin:15px 0}.map-connections p{margin:4px 0;font-size:14px}.map-connections b{font-weight:500}.map-check{margin-top:30px;border-left:2px solid #aab8cc;padding:4px 0 4px 20px;color:#3b567c}.map-check .hand{font-size:23px}.map-check p{font-size:16px;line-height:1.9;margin:10px 0 0}
.exam-entry{font-size:14px;color:#526e96;margin:0 0 20px}.exam-entry a{border-bottom:1px solid #bcc8d9;padding-bottom:4px}.exam-question{padding:28px 0 32px;border-bottom:1px solid #dfe5ed;min-width:0}.exam-question:first-of-type{padding-top:0}.exam-provenance{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;font-size:13px;line-height:1.8;color:#61748d}.exam-provenance strong{font-weight:600;color:#2f4c74}.exam-question-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:17px 0 12px}.exam-question-heading h3{font-size:26px;line-height:1.6;margin:0;color:#304867}.exam-question-heading small{font-size:12px;line-height:1.8;color:#6d7c91}.exam-stem{font-size:17px;line-height:1.95;color:#304867;margin:14px 0;white-space:pre-line;overflow-wrap:anywhere}.exam-formula{overflow-x:auto;font-size:18px;max-width:100%;padding:4px 0}.exam-formula .katex-display{margin:.7em 0}.exam-options{display:grid;grid-template-columns:1fr 1fr;column-gap:45px;row-gap:12px;padding-left:28px;margin:20px 0;font-size:16px;line-height:1.9;color:#3a506d}.exam-options li{padding-left:5px;overflow-wrap:anywhere}.exam-answer b,.exam-trap b{font-weight:500;display:block;margin-bottom:8px}.exam-trap{color:#3c577e}.exam-source{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-top:22px;font-size:12px;line-height:1.8;color:#6d7e94}.exam-source a{color:#49688e;text-decoration:underline;text-underline-offset:4px}.exam-empty{padding:30px 0 50px;color:#5a6e89}.exam-empty h2{font-size:26px;color:#304867}.exam-empty p{font-size:15px;line-height:1.9;margin:10px 0}.exam-empty button{margin:15px 18px 0 0}
.exam-library{max-width:1040px;min-height:75vh}.exam-library-heading{margin:30px 0 34px}.exam-library-heading h1{font-size:40px;margin:16px 0}.exam-library-heading p{font-size:15px;line-height:1.9;color:#5c6e87}.exam-library-heading .exam-coverage-status{font-size:13px;color:#45638c;margin-top:12px}.exam-filters{display:grid;grid-template-columns:1fr 1fr 1.4fr 1.4fr;gap:18px;margin:30px 0}.exam-filters label{display:flex;flex-direction:column;gap:9px;color:#566b88;font-size:12px;min-width:0}.exam-filters select,.exam-filters input{background:transparent;border:1px solid #cfd9e6;border-radius:0;font-family:inherit;font-size:14px;line-height:1.6;padding:11px 12px;color:#304867;min-width:0;width:100%;min-height:44px}.exam-search{grid-column:1/-1}.exam-result-count{font-size:13px;color:#6a7e97;margin:22px 0 34px}.exam-library .exam-question{max-width:850px}.exam-more{margin-top:30px}.coverage-note{padding:32px 0 24px;max-width:800px}.coverage-note h2{font-size:30px;color:#304867;margin:0 0 15px}.coverage-note p{font-size:15px;line-height:1.9;color:#5b6e88;margin:10px 0}.coverage-note b{font-weight:500;color:#3f587c}.coverage-years{border-top:1px solid #dce3ed}.coverage-year{border-bottom:1px solid #dce3ed}.coverage-year>summary{display:flex;align-items:center;gap:28px;list-style:none;cursor:pointer;padding:22px 0;line-height:1.8}.coverage-year strong{font:23px/1.5 Georgia,serif;color:#304867}.coverage-year>summary span{font-size:14px;color:#617692}.coverage-year>summary span:last-child{margin-left:auto}.coverage-year article{padding:0 0 25px 82px}.coverage-year article a{font-size:16px;line-height:1.9;color:#3a5a87}.coverage-year small{display:block;color:#78879c;font-size:12px;margin-top:5px}.coverage-year article p{font-size:14px;line-height:1.9;color:#596f8b;margin:10px 0;max-width:800px}.source-ledger-note{font-size:13px;line-height:1.9;color:#657893;margin-top:24px}
@media(max-width:760px){.tabbed-lesson .lesson-heading{margin-bottom:16px}.tabbed-lesson .lesson-heading p{font-size:14px}.tabbed-lesson .textbook-line{margin-bottom:20px}.lesson-tabs{justify-content:space-between;gap:8px;padding-top:0}.lesson-tabs button{font-size:14px;padding:14px 0;min-height:50px}.bank-tabs{gap:28px}.bank-tabs button{font-size:14px}[data-lesson-panel]{padding-top:26px}.tabbed-lesson .depth-content h2{font-size:24px}.tabbed-lesson .depth-definition h3{font-size:24px}.tabbed-lesson .depth-definition p{font-size:16px}.tabbed-lesson .depth-conditions li{font-size:15px}.tabbed-lesson .learning-paper{padding:16px 14px}.core-experiment{margin-top:32px}.experiment-intro h2{font-size:26px}.tabbed-lesson .condition-lab{padding:18px 14px}.lesson-extra>summary{font-size:15px}.panel-heading h2{font-size:27px}.panel-heading p{font-size:14px}.tabbed-lesson .quiz-option{font-size:16px}.tabbed-lesson .explain-step p{font-size:16px}.tabbed-lesson .misconception p{font-size:20px}.map-root{font-size:25px;padding:14px 22px;margin-bottom:28px!important}.map-root:after{height:29px}.map-branches{grid-template-columns:1fr;gap:20px;padding-top:20px}.map-branch:before{height:21px}.map-branch>summary{font-size:23px;padding:14px 16px}.map-branch-body{padding:0 18px 20px}.map-types p{font-size:15px}.map-check p{font-size:16px}.exam-question-heading{display:block;margin:14px 0}.exam-question-heading h3{font-size:25px;margin-bottom:8px}.exam-stem{font-size:16px;line-height:1.95}.exam-options{grid-template-columns:1fr;font-size:16px;gap:10px}.exam-provenance{gap:4px 12px;font-size:13px}.exam-provenance strong{width:100%;font-size:15px}.exam-formula{font-size:16px}.answer-reveal>div{padding-left:15px}.exam-source{font-size:12px}.exam-library-heading{margin:22px 0 28px}.exam-library-heading h1{font-size:32px}.exam-filters{grid-template-columns:1fr 1fr;gap:17px 14px;margin:24px 0}.exam-filters select,.exam-filters input{font-size:14px;padding:10px}.exam-filters label{font-size:13px}.coverage-year>summary{gap:22px}.coverage-year article{padding-left:0}.coverage-year article a{font-size:16px}.coverage-year article p{font-size:15px}.coverage-note p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.tabbed-lesson *,.exam-library *{scroll-behavior:auto!important}}
@media(max-width:760px){.tabbed-lesson .breadcrumb{margin-bottom:16px}.tabbed-lesson .lesson-heading{flex-direction:row;gap:12px}.tabbed-lesson .lesson-heading>div{min-width:0;flex:1}.tabbed-lesson .lesson-heading .eyebrow{display:none}.tabbed-lesson .lesson-heading h1{font-size:26px;margin-top:0;line-height:1.55}.tabbed-lesson .lesson-heading .outline-btn{font-size:11px;padding:6px 8px;margin-top:4px}.tabbed-lesson .lesson-heading p{margin-top:8px}.tabbed-lesson .panel-heading{margin-bottom:24px}.tabbed-lesson .panel-heading h2{font-size:26px}}
.tabbed-lesson :is(.lesson-exams,.chapter-map,.homework-panel,.quiz,.learning-paper){scroll-margin-top:90px}
.concept-compare{margin:28px 0 22px;min-width:0;color:#304867}.concept-compare h4{font:25px/1.6 Notebook,serif;margin:0 0 12px}.concept-compare .compare-context{font-size:15px;margin:0 0 16px;color:#50627b}.concept-compare dl{margin:0;border-block:1px solid #d8e1eb}.compare-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;padding:18px 0}.compare-row+.compare-row{border-top:1px solid #e4e9f0}.compare-row dt{font-size:17px;line-height:1.9;color:#243c5c;font-weight:500}.compare-row dd{margin:0;min-width:0}.depth-definition .compare-row p{margin:0;font-size:16px}.compare-row .depth-formula{padding:10px 0 0;font-size:19px}.depth-definition .compare-takeaway{font:21px/1.8 Notebook,serif;margin:18px 0 0;color:#243c5c}.depth-definition .compare-note{font-size:14px;line-height:1.9;margin:12px 0 0;color:#50627b}.compare-check{margin-top:16px;padding-top:12px;border-top:1px solid #e4e9f0}.compare-check summary{font-size:15px;min-height:44px;padding:8px 0}.compare-check p{margin:8px 0!important}.compare-check summary:focus-visible{outline:2px solid #637fab;outline-offset:4px}
.tabbed-lesson .concept-compare .compare-takeaway{font-size:21px}.tabbed-lesson .concept-compare .compare-note{font-size:15px}
@media(max-width:600px){.concept-compare h4{font-size:24px}.compare-row{grid-template-columns:1fr;gap:7px;padding:16px 0}.compare-row dt{font-size:17px}.depth-definition .compare-takeaway{font-size:21px}.depth-definition .compare-note{font-size:15px}.compare-row .depth-formula{font-size:18px}.concept-compare .compare-context{font-size:16px}}
/* Every branch attaches to the same trunk; a lower row is not a child of the row above. */
.map-branches{position:relative;border-top:0;padding-top:0}.map-branches:before{content:'';position:absolute;left:50%;top:0;bottom:32px;width:1px;background:#b5c2d3}.map-branch:before{height:1px;width:16px;top:32px;bottom:auto;left:100%}.map-branch:nth-child(even):before{left:-16px}
@media(max-width:760px){.map-root{margin-left:10px!important;margin-right:0!important}.map-root:after{left:0}.map-branches{margin-left:10px;padding-left:18px;padding-top:0}.map-branches:before{left:0}.map-branch:before,.map-branch:nth-child(even):before{left:-19px;width:19px}}
