:root{--ink:#17243d;--blue:#002676;--muted:#53647b;--line:#d9e1eb;--paper:#fff;--wash:#f3f6fa;--gold:#bf8b23}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans SC",system-ui,sans-serif;font-size:18px;line-height:1.85}a{color:var(--blue);text-underline-offset:4px}button,input{font:inherit}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.reader-top{border-bottom:1px solid var(--line);padding:18px max(24px,calc((100vw - 1120px)/2));display:flex;gap:12px 28px;flex-wrap:wrap;font-size:15px}.reader-top a{white-space:nowrap}.reader{max-width:1120px;margin:0 auto;padding:40px 36px 80px}.reader h1{font-size:38px;line-height:1.4;color:var(--blue);margin:12px 0 20px}.reader h2{font-size:27px;line-height:1.5;color:var(--blue);margin:1.8em 0 .7em}.reader h3{font-size:22px;line-height:1.55;margin:1.4em 0 .5em}.eyebrow,.reader-small,.block-meta{font-size:14px;color:var(--muted)}.reader-lead{font-size:21px;max-width:48em;color:#34475f}.reader p,.reader li{max-width:78ch}.reader nav,.context-nav{display:flex;gap:12px 24px;flex-wrap:wrap;margin:20px 0}.reader img{display:block;max-width:100%;height:auto;margin:20px auto}.reader table,.knowledge-content table{border-collapse:collapse;display:block;max-width:100%;overflow:auto;font-size:16px}.reader td,.reader th,.knowledge-content td,.knowledge-content th{padding:11px 14px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}.reader th,.knowledge-content th{background:var(--wash)}.reader code,.knowledge-content code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.86em}.reader pre,.knowledge-content pre{overflow:auto;background:var(--wash);padding:18px;line-height:1.65;max-height:650px;border-left:3px solid #c3d0e0}.reader blockquote,.knowledge-content blockquote{border-left:3px solid #afc2d8;padding:2px 20px;margin:20px 0;color:#34475f}.reader details,.knowledge-content details{margin:20px 0;padding:10px 0}.reader summary,.knowledge-content summary{cursor:pointer;color:var(--blue);font-weight:600}.reader section,.reader article,.reader [id]{scroll-margin-top:24px}.reader :target{outline:3px solid #dfbe65;outline-offset:12px;background:#fffdf6}.knowledge-block{padding:18px 0 32px;border-bottom:1px solid var(--line)}.knowledge-block>h2{margin-top:18px}.block-actions{display:flex;align-items:center;gap:10px 20px;flex-wrap:wrap;font-size:14px}.copy-link{min-height:44px;border:1px solid #c8d4e2;background:white;color:var(--blue);padding:6px 12px;border-radius:4px;cursor:pointer}.copy-status{font-size:14px;color:var(--muted)}.copy-fallback{width:100%;padding:8px;font-size:14px}.concept-figure{margin:24px 0;padding:16px 0;border-block:1px solid var(--line)}.concept-figure .diagram-window{overflow-x:auto}.concept-figure svg{display:block;width:100%;height:auto;min-width:620px}.concept-figure figcaption{font-size:15px;color:var(--muted);margin-top:12px}.reader .katex-display,.knowledge-content .katex-display{max-width:100%;overflow:auto;padding:10px 0}.reader .katex{font-size:1.07em}.reader-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 40px}.path-section{padding-bottom:30px;border-bottom:1px solid var(--line)}.path-section ul{padding-left:24px}.path-index{columns:2;column-gap:40px}.path-index li{break-inside:avoid;margin:8px 0}.reader-search{display:block;margin:24px 0}.reader-search input{display:block;width:100%;padding:12px 16px;border:1px solid #bdccdf;border-radius:4px;margin-top:8px}.search-result{padding:18px 0;border-bottom:1px solid var(--line)}.reader .search-result h2{font-size:22px;line-height:1.55;margin:0;color:inherit}.search-result p{margin:6px 0}.dialogue{padding:18px 22px;background:var(--wash);border-left:3px solid #56749b}.dialogue p{margin:10px 0}.notebook-code{margin:16px 0}.notebook-code summary{font-size:16px}.notes-toc{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:15px;padding:12px 0;border-block:1px solid var(--line)}.knowledge-content{font-size:18px;line-height:1.85}.knowledge-content .knowledge-block{padding-top:12px}.knowledge-content h3{color:var(--blue);font-size:23px;line-height:1.5}.knowledge-content img{max-width:100%;height:auto}.knowledge-content .concept-figure svg{min-width:600px}.knowledge-content .block-actions{margin-top:10px}.knowledge-content .reader-lead{font-size:19px}.knowledge-content .katex{font-size:1em}.reader-footer{border-top:1px solid var(--line);padding-top:24px;margin-top:40px;color:var(--muted);font-size:15px}.reader-role{font-size:14px;color:var(--muted);margin:0 0 12px}.chapter-bridge{padding:12px 0 20px;border-bottom:1px solid var(--line)}
@media(max-width:720px){body{font-size:17px}.reader{padding:26px 20px 60px}.reader h1{font-size:29px}.reader h2{font-size:24px}.reader h3{font-size:21px}.reader .search-result h2{font-size:21px}.reader-lead{font-size:19px}.reader-top{padding:14px 20px;gap:10px 18px}.reader-grid{grid-template-columns:1fr}.path-index{columns:1}.concept-figure .diagram-window{border:1px solid var(--line)}.concept-figure figcaption:before{content:"图解可左右滑动。 "}.block-actions{gap:10px}.reader td,.reader th{padding:10px}.knowledge-content{font-size:17px}.dialogue{padding:12px 16px}.reader :target{outline-offset:4px}}
@media print{.reader-top,.copy-link,.copy-status,.notes-toc{display:none}.reader{max-width:none;padding:0}.reader details{display:block}.reader pre{max-height:none}.concept-figure svg{min-width:0}a{color:inherit}.knowledge-block{break-inside:avoid}}

.exact-plot{margin:28px 0}.exact-plot .diagram-window{overflow-x:auto}.exact-plot img{width:100%;min-width:980px;max-width:none;height:auto}.exact-plot figcaption{font-size:15px;color:var(--muted)}

/* Reading hierarchy: the classroom remains compact; depth has named entrances. */
.reader>header,.reader>.reader-lead,.reader>p,.reader section>p,.knowledge-content>p,.knowledge-block>p,.knowledge-block>ul,.knowledge-block>ol{max-width:42em}
.reader h1,.reader h2,.reader h3,.knowledge-content h2,.knowledge-content h3{text-wrap:pretty}
.reader h4,.knowledge-content h4{font-size:19px;line-height:1.6;color:var(--ink);margin:1.5em 0 .6em}
.knowledge-content{max-width:100%;overflow-wrap:anywhere}
.knowledge-content h2{font-size:25px;line-height:1.45;margin:1.7em 0 .65em;color:var(--blue)}
.knowledge-content h3{font-size:22px;margin:1.4em 0 .55em}
.knowledge-content .knowledge-block>h3{margin-top:.6em}
.knowledge-content p{margin:.75em 0 1em;max-width:42em}
.knowledge-content nav{display:flex;flex-wrap:wrap;gap:10px 24px;margin:18px 0}
.knowledge-content .block-actions{margin:8px 0 20px}
.knowledge-content .material-item{padding:22px 0 24px}
.knowledge-content .material-item h3{font-size:21px;margin:0 0 8px}
.knowledge-content .material-item p{font-size:17px;line-height:1.8;color:#465970;margin:8px 0 12px}
.reader details,.knowledge-content details{border-block:1px solid var(--line);padding:0;margin:26px 0}
.reader details+details,.knowledge-content details+details{border-top:0;margin-top:-26px}
.reader summary,.knowledge-content summary{padding:16px 4px;min-height:52px;line-height:1.7}
.reader details[open]>:not(summary),.knowledge-content details[open]>:not(summary){margin-left:4px;margin-right:4px}
.reader details[open]>:last-child,.knowledge-content details[open]>:last-child{margin-bottom:22px}
.reader .notebook-code{border:0}.reader .notebook-code summary{padding:10px 0}
.reader .path-section{padding:20px 0 36px}.reader .path-section>h2{margin-top:20px}
.study-unit{padding:24px 0;border-bottom:1px solid var(--line)}
.study-unit h2,.study-unit h3{margin-top:0}.study-unit p{margin:10px 0}
.study-unit .reader-small{max-width:48em}.study-steps>li{padding-left:4px;margin:16px 0}
.reader-top a{display:inline-flex;align-items:center;min-height:44px}
.knowledge-content .notes-toc{font-size:15px;gap:8px 22px;margin:22px 0}
.knowledge-content .notes-toc a{line-height:1.65;padding:4px 0}
.reader [id],.knowledge-content [id]{scroll-margin-top:24px}
.reader table a,.knowledge-content table a{overflow-wrap:anywhere}
@media(max-width:720px){
 .reader-top{gap:4px 18px}
 .reader h1{font-size:28px;line-height:1.45}.reader h2{font-size:23px}
 .knowledge-content h2{font-size:23px}.knowledge-content h3{font-size:21px}
 .knowledge-content .material-item p{font-size:16px}
 .knowledge-content .block-actions{gap:8px 16px}.knowledge-content .material-item{padding:20px 0}
 .reader details,.knowledge-content details{margin:22px 0}
 .reader details+details,.knowledge-content details+details{margin-top:-22px}
 .reader pre,.knowledge-content pre{padding:14px}
}

.study-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 36px;margin:24px 0}
.study-card{padding:22px 0 26px;border-top:2px solid #c2cfdf;min-width:0}
.study-card h3{margin:0 0 12px!important}.study-card .reader-small{margin:0 0 8px}
.study-card>p{margin:10px 0}.study-card .study-output{font-size:16px;color:var(--muted);line-height:1.8}
.study-books{list-style:none;padding:0!important}.study-books>li{padding:18px 0 22px;border-bottom:1px solid var(--line)}
.study-books>li>a:first-child{font-size:21px;font-weight:600}.study-books p{margin:8px 0}
.study-steps{padding-left:26px}.study-steps h3{margin:.4em 0}.study-steps li::marker{color:var(--blue);font-weight:600}
.study-links{border-left:3px solid #c2cfdf;padding-left:18px}
.reader-footer>a{display:inline-block;margin:8px 24px 8px 0}
@media(max-width:720px){.study-grid{grid-template-columns:1fr;gap:0}.study-card{padding:22px 0}.study-books>li>a:first-child{font-size:19px}}

/* Keep notebook identity, course and destination legible in one comparison. */
.organization-table-scroll{max-width:100%;overflow-x:auto;margin:24px 0;scrollbar-color:var(--muted) var(--wash);scrollbar-width:auto}
.organization-table-scroll:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.reader .organization-table{display:table;width:100%;min-width:760px;table-layout:fixed;font-size:16px;line-height:1.75}
.organization-table th:nth-child(1){width:30%}
.organization-table th:nth-child(2){width:21%}
.organization-table th:nth-child(3){width:28%}
.organization-table th:nth-child(4){width:21%}
.reader .organization-table th,.reader .organization-table td{padding:16px 14px;overflow-wrap:anywhere}
.organization-table th{font-weight:600}
.organization-table td>p{margin:8px 0}
.organization-table td>:first-child{margin-top:0}
.organization-table td>:last-child{margin-bottom:0}
.organization-table td>a:first-child{font-weight:600}
.organization-table .reader-small{font-size:14px;line-height:1.7}
.organization-table details{margin:12px 0 0;border:0}
.organization-table summary{padding:8px 0;min-height:44px;font-size:14px;font-weight:400}
.organization-table details[open]>:not(summary){margin-inline:0}
.organization-table details[open]>:last-child{margin-bottom:8px}
.organization-table .copy-compact{display:inline-flex;align-items:center;min-height:44px;padding:6px 10px;margin:8px 8px 0 0;font-size:14px}
.notebook-id{display:block;overflow-wrap:anywhere;font-size:13px;line-height:1.8;user-select:all;font-variant-numeric:tabular-nums}
.object-links{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px;font-size:14px}
.object-links>a{display:inline-flex;align-items:center;min-height:44px}
.organization-table .copy-status{display:block;font-size:14px;line-height:1.7}
.organization-table .copy-fallback{min-width:0;font-size:14px}
.organization-note,.migration-notice{padding:24px 0;margin:32px 0;border-block:1px solid var(--line)}
.organization-note>h2,.migration-notice>h2{margin-top:0}
.organization-note>p,.migration-notice>p{margin:8px 0}
.organization-toc>a{display:inline-flex;align-items:center;min-height:44px;font-size:16px}
.migration-status{display:block;font-weight:600;color:var(--blue);line-height:1.6}
.reader .organization-table tr:target{outline-offset:-2px}
.study-card>a:last-child{display:inline-flex;align-items:center;min-height:44px}
.study-books>li>a:first-child{overflow-wrap:anywhere}
.reader .notebook-header{max-width:none;padding-bottom:12px;border-bottom:1px solid var(--line)}
.notebook-header .reader-lead{margin:12px 0 16px}
.notebook-header .reader-small{margin:12px 0;color:var(--muted);max-width:48em}
.notebook-header .study-links{border:0;padding:0}
.reader .notebook-classroom{margin:12px 0;border:0}
.reader .notebook-classroom summary{padding:4px 0;min-height:44px;font-size:16px;font-weight:400}
.reader .notebook-classroom nav{margin-top:8px}
.notebook-title-anchor{scroll-margin-top:24px}
.notebook-reading .notebook-block{padding:24px 0}
.notebook-reading .notebook-block>:first-child{margin-top:0}
.notebook-reading .notebook-block .block-actions{margin:16px 0 0;gap:8px 20px}
.notebook-reading .notebook-block .block-actions>a{display:inline-flex;align-items:center;min-height:44px}
.notebook-reading .notebook-code{margin:0}
.notebook-reading .notebook-code summary{min-height:44px;padding:8px 0}
.notebook-reading p,.notebook-reading li{overflow-wrap:anywhere}
.notebook-reading pre code{overflow-wrap:normal}
.reader .study-jump{gap:8px 24px;margin:20px 0 0;padding:12px 0;border-block:1px solid var(--line)}
.study-jump a,.knowledge-content .material-jump a{display:inline-flex;align-items:center;min-height:44px}
.knowledge-content .material-jump{margin:0 0 24px;padding:0 0 12px;border-bottom:1px solid var(--line);gap:8px 24px;font-size:16px}
.knowledge-content .material-group-title{font-size:25px;line-height:1.45;margin:28px 0 12px;scroll-margin-top:116px}
.knowledge-content .material-jump+.material-group-title{margin-top:0}
.knowledge-content .material-group-title+.material-item{padding-top:12px}
.knowledge-content .material-item h3{line-height:1.55}
@media(max-width:720px){
 .notebook-reading .notebook-block{padding:20px 0}
 .knowledge-content .material-group-title{font-size:23px;scroll-margin-top:96px}
 .reader .study-jump{gap:4px 20px}
}
.reader input{caret-color:var(--blue)}
.reader ::selection,.knowledge-content ::selection{background:#dce7ff;color:var(--blue)}
@media(hover:hover){.copy-link:hover{background:var(--wash);border-color:var(--blue)}}
@media(max-width:720px){
 .organization-table-scroll{margin:20px 0}
 .reader .organization-table th,.reader .organization-table td{padding:14px 12px}
 .organization-note,.migration-notice{padding:20px 0;margin:26px 0}
}
@media print{
 .organization-table-scroll{overflow:visible}
 .reader .organization-table{min-width:0;table-layout:auto;font-size:10px}
 .organization-table .copy-link{display:none}
 .organization-table tr{break-inside:avoid}
}

/* Screen handouts: editorial pages in one continuous document. */
.handout{--sidebar:244px;--page-width:840px;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);background:#f1f3f6;font-size:18px;line-height:1.85;padding-top:64px}
.handout-toolbar{position:fixed;inset:0 0 auto;z-index:30;height:64px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line);font-size:14px;gap:16px}
.handout-brand{font-weight:600;text-decoration:none;white-space:nowrap}.handout-brand span{font-weight:400;margin-left:12px;color:var(--muted)}
.handout-tools{display:flex;align-items:center;gap:16px;min-width:0}.handout-tools button,.ai-tools summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;color:var(--ink);background:transparent;border:0;padding:6px 10px;cursor:pointer;font:inherit;white-space:nowrap}.page-position{color:var(--muted);font-variant-numeric:tabular-nums;min-width:58px;text-align:right}.handout-tools button:hover,.ai-tools summary:hover{color:var(--blue);background:var(--wash)}
.ai-tools{position:relative}.ai-tools summary{list-style:none}.ai-tools summary::-webkit-details-marker{display:none}.ai-tools>div{position:absolute;right:0;top:49px;width:280px;padding:20px;background:#fff;box-shadow:0 10px 30px #17243d24;display:flex;flex-direction:column;gap:8px}.ai-tools button{justify-content:flex-start;white-space:normal;text-align:left;color:var(--blue)}
.handout-sidebar{position:fixed;top:64px;bottom:0;width:var(--sidebar);display:flex;flex-direction:column;padding:24px 20px 16px;font-size:14px;background:#f1f3f6;z-index:20}.course-links{display:flex;gap:4px 18px;flex-wrap:wrap;padding:0 0 18px;border-bottom:1px solid var(--line)}.course-links a{display:inline-flex;align-items:center;min-height:36px;text-decoration:none}.toc-label{font-size:14px;color:var(--muted);margin:20px 8px 8px}.handout-toc{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b9c3d0 transparent;flex:1;padding-right:6px}.handout-toc a{display:block;padding:8px 10px;margin:4px 0;color:var(--muted);text-decoration:none;line-height:1.65;overflow-wrap:anywhere}.handout-toc .toc-unit{font-weight:600;color:var(--ink);margin-top:18px}.handout-toc .toc-page{padding-left:18px}.handout-toc a[aria-current],.handout-toc a:hover{background:#e4eaf3;color:var(--blue)}.back-to-top{padding:12px 10px 0;margin-top:12px;text-decoration:none;border-top:1px solid var(--line)}
.handout .reader{grid-column:2;width:calc(100% - 64px);max-width:var(--page-width);padding:0;margin:28px auto 48px;min-width:0;font-size:1.125rem;line-height:1.9}
.semantic-page{position:relative;background:var(--paper);padding:40px 56px 30px;margin:0 0 28px;box-shadow:0 3px 18px #17243d0b;scroll-margin-top:88px}.page-context{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 20px;font-size:14px;color:var(--muted);margin-bottom:22px;padding-bottom:14px;border-bottom:1px solid #e1e6ee}.page-context a{text-decoration:none}.semantic-page>.page-footer{font-size:14px;color:var(--muted);margin-top:28px;padding-top:18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px}.page-footer a{max-width:85%}.semantic-page>header{margin-bottom:24px}.semantic-page .page-question{font-size:19px;color:#34475f}.semantic-page .page-bridge{color:#465970;font-size:16px}.semantic-unit{margin:0;padding:0;border:0}.semantic-unit-title{padding:20px 8px 8px}.semantic-unit-title h2{margin:0 0 12px!important}.semantic-unit-title p{margin:0 0 16px!important}
.handout .reader h1{font-size:2rem;line-height:1.45;margin:0 0 22px;letter-spacing:-.015em;color:var(--blue)}.handout .reader h2{font-size:1.6rem;line-height:1.5;margin:32px 0 14px}.handout .reader h3{font-size:1.25rem;line-height:1.6;margin:28px 0 12px}.handout .reader h4{font-size:1.125rem;line-height:1.65}.handout .reader p{margin:12px 0 18px}.handout .reader .reader-lead{font-size:1.1875rem;line-height:1.85;color:#34475f}.handout .reader .reader-small,.handout .reader .block-meta{font-size:.875rem;line-height:1.8}.handout .reader li{margin:8px 0}.handout .reader ul,.handout .reader ol{padding-left:24px}.handout .reader :is(h1,h2,h3,h4,p,li){max-width:none;overflow-wrap:break-word}.handout .reader nav{font-size:15px;gap:8px 20px;margin:18px 0}.handout .reader nav a{line-height:1.75}.handout .reader .study-grid{display:block;margin:20px 0}.handout .reader .study-card{padding:20px 0 24px;border-top:1px solid var(--line)}.handout .reader .study-card h3{margin:0 0 10px!important}.handout .reader .study-card>p{margin:8px 0 14px}.handout .reader .study-output{font-size:16px}.handout .reader .path-index{columns:1}.handout .reader .path-section{padding:0;border:0}.handout .reader .knowledge-block{border-bottom:0;padding:0}.handout .reader .knowledge-block>h3:first-child{margin-top:0}.handout .reader .study-links{border:0;padding:0}.handout .reader .notebook-header{border:0}.handout .reader .block-actions{margin:12px 0 16px;font-size:14px;gap:14px}.handout .reader .block-actions .copy-link{display:none}.handout .reader .block-actions a{color:var(--muted)}.handout .reader .dialogue{border:0;background:transparent;padding:0}.handout .reader blockquote{border-left:1px solid #a6b6cb}.handout .reader pre{border:0;max-height:none;font-size:14px;line-height:1.7;tab-size:4;white-space:pre-wrap;overflow-wrap:anywhere}.handout .reader pre code{white-space:pre-wrap;overflow-wrap:anywhere}.handout .reader figure{margin:22px 0;padding:0;border:0}.handout .reader .concept-figure svg{min-width:0;width:100%;height:auto}.handout .reader .exact-plot img{min-width:0;width:100%;max-width:100%}.handout .reader img{max-height:none;object-fit:contain}.handout .reader .diagram-window{overflow:visible;border:0}.handout .reader figcaption{font-size:15px;line-height:1.75;margin-top:10px;color:var(--muted)}.handout .reader figcaption:before{content:none}.handout .reader .katex-display{max-width:100%;overflow:visible}.handout .reader .katex-display>.katex{white-space:normal}.handout .reader .katex{font-size:1em}.handout .reader .katex .base{margin:2px 0}.handout .reader table{display:table;width:100%;font-size:16px;table-layout:auto;overflow:visible}.handout .reader th,.handout .reader td{overflow-wrap:anywhere}.handout .reader .reader-footer{font-size:14px}.handout .reader .study-books>li>a:first-child{font-size:18px}
.figure-reading{margin:16px 0 0;font-size:16px}.figure-reading p{margin:8px 0!important}.figure-reading dl{margin:12px 0}.figure-reading dt{font-weight:600}.figure-reading dd{margin:0 0 16px}.figure-text{color:#34475f}.figure-open{display:inline-flex;align-items:center;min-height:44px;font-size:14px}.mobile-diagram{display:none}.formula-reading{font-size:16px;margin:16px 0}.table-linear{display:none}
.handout .reader [data-reader-block],.handout .reader .block-wrap{position:relative;scroll-margin-top:100px}.handout .reader [id]{scroll-margin-top:100px}.handout .reader :target{outline:0;background:transparent;box-shadow:none}.handout .reader .block-highlight{outline:2px solid #b6c7e5;outline-offset:6px;background:#f0f5ff}.block-action-rail{position:absolute;right:-42px;top:0;display:flex;z-index:2;opacity:0;line-height:1}.block-link{width:40px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:#526784;background:transparent;border:0;border-radius:4px;padding:0;cursor:pointer}.block-link:hover,.block-link.copied{color:var(--blue);background:#e5edf8}.block-wrap>.block-action-rail{top:2px}.handout .reader :is([data-reader-block],.block-wrap):hover>.block-action-rail,.handout .reader :is([data-reader-block],.block-wrap):focus-within>.block-action-rail,.reference-mode .block-action-rail{opacity:1}.reader-alias{display:block;height:0}.handout .reader [tabindex="-1"]:focus-visible{outline:2px solid var(--gold);outline-offset:5px}.reference-mode [data-reference-mode]{color:var(--blue);background:#e5edf8}.reference-mode .block-wrap{outline:1px dashed #c5d0df;outline-offset:5px}.legacy-context{padding:24px;background:var(--wash);margin:24px 0}.legacy-context:empty{display:none}
.paper-navigation{grid-column:2;display:flex;align-items:center;justify-content:center;gap:24px;font-size:14px;margin:0 0 40px}.paper-navigation button{min-height:44px;background:transparent;border:0;color:var(--blue);padding:8px 12px;cursor:pointer}.paper-navigation button:disabled{color:#8892a2;cursor:default}.reader-status{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:10px 18px;background:var(--ink);color:white;border-radius:5px;z-index:100;font-size:14px;opacity:0;pointer-events:none}.reader-status.visible{opacity:1}.copy-recovery{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:min(620px,calc(100vw - 32px));background:white;box-shadow:0 8px 28px #17243d30;padding:18px;z-index:101;font-size:14px}.copy-recovery textarea{display:block;width:100%;height:160px;margin:8px 0;padding:10px;font-size:14px}.copy-recovery button{background:#fff;border:1px solid var(--line);padding:6px 12px;min-height:44px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-80px;z-index:150;background:white;padding:8px 16px}.skip-link:focus{top:8px}
@media(min-width:1101px){[data-reader-toc]{display:none!important}}
@media(max-width:1100px){.handout{grid-template-columns:1fr;--sidebar:0px}.handout .reader,.paper-navigation{grid-column:1}.handout-sidebar{display:none;width:280px;box-shadow:8px 4px 24px #17243d1a}.handout.toc-open .handout-sidebar{display:flex}.handout-toolbar{padding-inline:20px}}
@media(max-width:759px){.handout{background:white;padding-top:60px}.handout-toolbar{height:60px;padding:0 12px;gap:8px;font-size:14px}.handout-brand span,.page-position{display:none}.handout-tools{gap:2px}.handout-tools button,.ai-tools summary{padding-inline:8px}.handout-sidebar{top:60px}.handout .reader{width:100%;margin:0;padding:0;font-size:1.0625rem;line-height:1.9}.semantic-page{padding:28px 24px 28px;margin:0;border-bottom:1px solid var(--line);box-shadow:none}.page-context{font-size:14px;margin-bottom:20px}.handout .reader h1{font-size:1.625rem}.handout .reader h2{font-size:1.375rem}.handout .reader h3{font-size:1.1875rem}.handout .reader .reader-lead{font-size:1.125rem}.semantic-unit-title{padding:28px 24px 4px}.handout .reader .block-action-rail{right:-23px}.block-link{width:24px}.reference-mode .block-link{width:44px;background:white}.reference-mode .block-action-rail{right:-24px}.handout .reader table{font-size:15px}.handout .reader th,.handout .reader td{padding:8px 6px}.handout .reader .katex{font-size:.96em}.mobile-diagram{display:block}.has-mobile-diagram>.diagram-window{display:none}.handout .reader .figure-reading{font-size:16px}.ai-tools>div{right:-60px}.semantic-page>.page-footer{line-height:1.7}.paper-navigation{grid-column:1;gap:16px;padding-top:16px}.handout .reader .block-actions{font-size:14px}.handout .reader .table-linear{display:block}.table-has-linear>.block-wrap:has(>table){display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.handout{display:block;padding:0;background:white}.handout-toolbar,.handout-sidebar,.paper-navigation,.block-action-rail,.skip-link{display:none}.handout .reader{width:auto;max-width:none;margin:0}.semantic-page{padding:0;margin:0 0 32px;box-shadow:none}.page-context{display:none}}

.handout .reader .source-provenance{margin:0}.source-diagram-preserved{display:none!important}.matrix-images{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.handout .reader .matrix-images figure{margin:0;text-align:center}.handout .reader .matrix-images img{width:100%;height:110px;object-fit:contain;margin:0}.matrix-images figcaption{font-size:15px}.semantic-matrix table{margin:20px 0}.semantic-matrix td,.semantic-matrix th{text-align:center;font-variant-numeric:tabular-nums}.semantic-matrix td{font-size:21px}.semantic-matrix tr:nth-child(1) td:nth-child(2),.semantic-matrix tr:nth-child(2) td:nth-child(3),.semantic-matrix tr:nth-child(3) td:nth-child(4){background:#e0eef1;color:#165d65;font-weight:600}.notebook-handout .semantic-page{box-shadow:none;border-bottom:1px solid var(--line)}
@media(max-width:759px){.matrix-images{gap:12px}.handout .reader .matrix-images img{height:80px}.matrix-images figcaption{font-size:14px}}
.handout .reader .sr-only{position:absolute!important;margin:0!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0);white-space:nowrap!important;border:0!important}

.handout .reader .semantic-page:target{background:var(--paper)}.handout .reader .semantic-page.block-highlight{background:#f0f5ff}

.handout .katex-mathml{overflow:hidden!important;contain:layout paint}
.handout .reader [tabindex="-1"]:focus-visible{outline:0}.handout .reader [tabindex="-1"].block-highlight:focus-visible{outline:2px solid #b6c7e5}

.handout .reader .katex-html>.katex-base{display:inline;white-space:normal;width:auto}
/* Navigation stays at the viewport edge, so reaching it cannot change the current page. */
.handout .paper-navigation{position:fixed;left:var(--sidebar);right:0;bottom:0;z-index:25;margin:0;padding:6px 16px;background:#fffffff5;border-top:1px solid var(--line);gap:24px}.handout .reader{margin-bottom:96px}
