@font-face{font-family:OldStandard;src:url('shared/fonts/OldStandard-Regular.woff2')}@font-face{font-family:OldStandard;src:url('shared/fonts/OldStandard-Italic.woff2');font-style:italic}@font-face{font-family:OldStandard;src:url('shared/fonts/OldStandard-Bold.woff2');font-weight:700}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:#e9e4da;color:#28251f;font:14px/1.5 system-ui}header{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:25px 4vw;background:#263b33;color:#f5eddc}header .library{font:26px OldStandard,serif;letter-spacing:.12em;text-decoration:none;color:inherit;white-space:nowrap}.library span{display:block;font:10px system-ui;letter-spacing:.14em;text-transform:uppercase}header small{color:#d7bd83;text-transform:uppercase;letter-spacing:.14em;font-size:10px}header h1{font:28px OldStandard,serif;margin:4px 0 0}header p{margin:3px 0 0;color:#d5cfbe;font:14px OldStandard,serif}header nav{display:flex;gap:6px}header nav a{color:#d8d3c5;text-decoration:none;border:1px solid #637068;padding:8px 12px;border-radius:3px}.selected{background:#f5eddc!important;color:#263b33!important}.pilot-banner{text-align:center;padding:9px;background:#ded5c2;color:#5c5141;font-size:12px}.bar{position:sticky!important;top:0;z-index:100;background:#f9f5ec!important;border-bottom:1px solid #c8bda8;display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap;padding:10px!important;box-shadow:0 2px 10px #00000008}.bar button,.bar select,button{border:1px solid #c5baa7;border-radius:4px;background:#fffcf6;color:#3f463d;padding:8px 11px;font:12px system-ui;cursor:pointer}.bar button.on{background:#355649;color:#fff;border-color:#355649}.bar button:disabled{opacity:.35;cursor:default}.reader-state{font-size:10px;color:#807461}.context{padding:10px 24px;display:flex;gap:20px;justify-content:center;align-items:center;font-size:11px;color:#756b5e}.context a{color:#536f61}.context button{font-size:11px;padding:3px 8px}main,main.compare{display:flex;gap:24px;align-items:flex-start;justify-content:center;padding:22px 24px 70px;scroll-margin-top:100px}.book,.scan{width:720px;flex:none}.scan{display:none;position:relative}.scan img{width:100%;display:block;box-shadow:0 6px 24px #24231e20}.scan>a{display:block;text-align:center;padding:10px;color:#536f61;font-size:12px}.leaf{width:720px;height:var(--leaf-h);padding:70px 76px 62px;background:#fffdf7;color:#211d18;border:1px solid #d8cebd;box-shadow:0 8px 30px #342d2315;position:relative;scroll-margin-top:105px;flex:none}.leaf .typeset{height:100%;font:19px/1.23 OldStandard,Georgia,serif;display:flex;flex-direction:column;text-align:justify;overflow:visible}.typeset p{margin:0 0 9px;text-indent:1.15em}.typeset p:last-child{margin-bottom:0}.typeset h2{font:700 18px/1.28 OldStandard,serif;text-align:center;margin:22px 0 18px;letter-spacing:.015em}.typeset h2:first-child{margin-top:0}.typeset .bibliography{font-size:14.2px;line-height:1.25;text-indent:0;margin:7px 0 15px;letter-spacing:.008em}.typeset .number-list{font-size:16px;text-indent:-1em;padding-left:1em;margin-bottom:7px}.folio{position:absolute;top:32px;left:0;right:0;text-align:center;font:15px OldStandard}.page-label{position:absolute;left:28px;right:28px;bottom:17px;text-align:right;font:10px system-ui;color:#a19788}.footnotes{margin-top:auto;border-top:1px solid #7d7262;padding-top:8px;width:100%;font-size:13px;line-height:1.25}.footnotes p{text-indent:1em;margin-bottom:3px}.typeset sup{font-size:.65em;line-height:0;vertical-align:super}.signature{text-align:right;font-size:12px;margin-top:10px}.opening,.tocleaf{padding-top:var(--top,150px)}.opening .typeset h2{margin-bottom:25px}.titleleaf{padding:125px 70px 85px}.titleleaf .typeset{text-align:center;font-size:19px;justify-content:space-between}.titleleaf p{text-indent:0}.titleleaf h2{font-size:35px;font-weight:400;letter-spacing:.05em;margin:0}.titleleaf h2+h2{font-size:33px}.titleleaf .typeset>p{margin:0}.division .typeset{justify-content:center;text-align:center;padding-bottom:75px}.division h2{font-size:25px;letter-spacing:.08em;margin:15px 0}.division p{text-indent:0}.tocleaf .typeset{font-size:16px;line-height:1.24;text-align:left}.tocleaf h2{font-size:16px;margin:17px 0 12px}.tocleaf .toc-row{display:flex;gap:15px;justify-content:space-between;text-decoration:none;color:inherit;padding:2px 0;line-height:1.25}.toc-row span:first-child{flex:1}.toc-row span:last-child{min-width:30px;text-align:right}.toc-row[href]{color:#345e4c}.toc-row[href]:hover{background:#ebe8dc}.tocleaf p{font-size:15px;margin-bottom:8px}.tocleaf .outside{cursor:help}.typeset table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.22;margin:9px 0 12px}.typeset td{vertical-align:top;padding:3px 5px;border-bottom:1px solid #d9d0bd}.typeset td+td{border-left:1px solid #d9d0bd}.document-fragment{margin:8px -15px 12px;flex-shrink:0}.document-fragment img{display:block;width:100%;height:auto}.facsimile{padding:0!important;background:#e1d9cb}.facsimile .typeset{height:100%}.full-facsimile{width:100%;height:var(--leaf-h);object-fit:contain;display:block}.facsimile .page-label{background:#ffffffe0;padding:3px;bottom:9px}.equation{font-size:13.5px;display:flex;justify-content:center;align-items:center;gap:3px;margin:8px -12px 13px;white-space:nowrap}.fraction{display:inline-flex;flex-direction:column;text-align:center}.fraction>span:first-child{border-bottom:1px solid #211d18;padding-bottom:3px}.fraction>span:last-child{padding-top:3px}.uncertain{background:#f4e7bf;color:#75613b;font:italic .85em OldStandard}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
main.book-mode .leaf,main.compare .leaf,main.scan-mode .leaf{display:none}main.book-mode .leaf.active,main.compare .leaf.active{display:block}main.compare .scan,main.scan-mode .scan{display:block}main.scan-mode .book{display:none}main.continuous-view .book{display:flex!important;flex-direction:column;gap:28px;width:720px!important;height:auto!important}main.continuous-view .leaf{display:block!important;position:relative!important;visibility:visible!important;height:var(--leaf-h)!important;min-height:var(--leaf-h)!important;padding:70px 76px 62px!important;width:720px!important}main.continuous-view .leaf.opening,main.continuous-view .leaf.tocleaf{padding-top:var(--top)!important}main.continuous-view .leaf.titleleaf{padding:125px 70px 85px!important}main.continuous-view .leaf.facsimile{padding:0!important}main.continuous-view .typeset{font-size:19px!important;line-height:1.23!important;height:100%!important}main.continuous-view .tocleaf .typeset{font-size:16px!important}main.continuous-view .titleleaf .typeset{font-size:19px!important}main.continuous-view .scan{display:none!important}main.three-view .modern-panel{width:720px!important}main.three-view .leaf:not(.active){display:none}main.three-view .leaf.active{display:block}main.three-view .typeset{height:100%}
dialog{border:1px solid #cbbd9f;border-radius:7px;max-width:800px;width:calc(100% - 30px);max-height:85vh;background:#fffdf5;color:#34332b;padding:30px;box-shadow:0 15px 70px #0004}dialog::backdrop{background:#19231dcc;backdrop-filter:blur(2px)}dialog h2{font:28px OldStandard}.close{float:right}.sample-links{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.sample-links a{padding:10px;border:1px solid #dbd1be;color:#345e4c;text-decoration:none}.transcript-body{font:18px/1.55 OldStandard}.transcript-body img{max-width:100%}.transcript-body table{width:100%;font-size:14px}.transcript-body .footnotes{font-size:15px}.reader-quick-nav{z-index:60}.toc-return{z-index:60}
@media(max-width:1100px){header{flex-wrap:wrap;gap:15px}header .library{display:none}header nav{margin-left:auto}main.compare{justify-content:flex-start;overflow-x:auto}.bar{justify-content:flex-start}.context{justify-content:flex-start}}
@media(max-width:760px){header{padding:20px}header h1{font-size:23px}header nav{margin-left:0}.bar{gap:4px}.bar button,.bar select{padding:8px;font-size:11px}.reader-state{display:none}main,main.compare{padding:12px 10px 60px;gap:15px}.book,.scan{width:100%}main.compare{flex-direction:column}.leaf,main.continuous-view .leaf{width:calc(100vw - 20px)!important;min-height:0!important;height:auto!important;padding:42px 28px 45px!important}.leaf .typeset,main.continuous-view .typeset{height:auto!important;font-size:17px!important;line-height:1.5!important}.typeset .bibliography{font-size:13px}.folio{top:17px}.page-label{font-size:9px;bottom:12px}.footnotes{margin-top:22px;font-size:12px}.titleleaf,main.continuous-view .leaf.titleleaf{min-height:700px!important;padding:60px 28px!important}.titleleaf .typeset{min-height:570px!important}.titleleaf h2{font-size:26px}.opening,main.continuous-view .leaf.opening,.tocleaf,main.continuous-view .leaf.tocleaf{padding-top:75px!important}.division{min-height:600px!important}.division .typeset{padding-top:160px}.facsimile,main.continuous-view .leaf.facsimile{padding:0!important}.full-facsimile{height:auto}.equation{font-size:10px;gap:1px;margin-left:-14px;margin-right:-14px}.typeset table{font-size:11px}.document-fragment{margin-left:0;margin-right:0}main.continuous-view .book{width:100%!important}.context{font-size:10px;gap:9px;flex-wrap:wrap;padding:8px 12px}.sample-links{grid-template-columns:1fr}main.three-view{overflow-x:auto}}

/* Consistent volume body profile; explicit small-type and title profiles. */
.document-fragment{margin:8px 0 12px}.equation{margin:8px 0 13px}.typeset .small-commentary{font-size:15.8px;line-height:1.25;text-indent:1em}.typeset table td:last-child{min-width:85px}.typeset table td:nth-child(2):last-child{width:135px;white-space:nowrap;text-align:right}.typeset table{table-layout:auto;text-align:left}.titleleaf .typeset{position:static!important}.title-layout{position:absolute;inset:0;font:19px/1.35 OldStandard;text-align:center}.title-item{position:absolute;left:40px;right:40px}.title-item.main-title{font-size:40px;letter-spacing:.025em}.title-item:last-child{font-size:18px}.titleleaf .folio{display:none}main.continuous-view .typeset{font-family:OldStandard,Georgia,serif!important}main.continuous-view .page-label{position:absolute!important;bottom:17px!important;left:28px;right:28px;margin:0!important}main.continuous-view .leaf{overflow:visible!important}main.continuous-view .titleleaf .typeset{text-align:center!important}
@media(max-width:760px){.title-layout{font-size:17px}.title-item{left:20px;right:20px}.title-item.main-title{font-size:29px}.typeset .small-commentary{font-size:14px}.typeset table td:nth-child(2):last-child{min-width:90px;width:90px}.titleleaf .typeset{min-height:570px!important}.titleleaf{height:700px!important}.full-facsimile{height:auto!important}}

.titleleaf,main.continuous-view .leaf.titleleaf{padding:0!important}.titleleaf .typeset{width:100%;height:100%!important}.title-layout{height:100%}main.continuous-view .titleleaf .typeset{height:100%!important}.transcript-body .title-layout{position:relative;height:700px}
@media(max-width:760px){main.continuous-view{padding:12px 10px 60px!important}.titleleaf,main.continuous-view .leaf.titleleaf{height:700px!important;min-height:700px!important;padding:0!important}.titleleaf .typeset{height:700px!important}.title-layout{height:700px}.leaf .typeset p{text-align:left}.tocleaf .typeset p{text-align:left}}

@media(max-width:760px){.equation{flex-wrap:wrap;white-space:normal;row-gap:5px}.fraction{white-space:nowrap}}
/* Dense contents in volume I: preserve 16 px type, compact heading rhythm. */
body[data-book="course-1"] .tocleaf h2{margin:10px 0 7px}
body[data-book="course-1"] .tocleaf .toc-row{padding:1px 0}
body[data-book="course-4"] .ordinary .typeset{font-size:18.5px!important}
@media(max-width:760px){body[data-book="course-4"] .ordinary .typeset{font-size:17px!important}header nav{flex-wrap:wrap}header{flex-wrap:wrap}}
/* Letterspaced bibliographical appendix is ordinary book text, not notes. */
.bibliography-entry{font-size:19px;line-height:1.35;letter-spacing:.055em;text-indent:-1em!important;padding-left:1em;margin-bottom:10px!important}
@media(max-width:760px){.bibliography-entry{font-size:17px;line-height:1.5;letter-spacing:.015em}}
.sample-links{display:block}.sample-links h2{font-size:19px;margin:25px 0 10px}.sample-links h2 a{text-decoration:none;border:0;padding:0}.sample-links .toc-row{display:flex;justify-content:space-between;gap:20px;border:0;border-bottom:1px solid #ece5d7;padding:9px 0;font:15px/1.4 OldStandard}.sample-links .toc-row span:last-child{min-width:40px;text-align:right}.sample-links>a:not(.toc-row){display:inline-block;margin:4px;font:12px system-ui}.sample-links .toc-row:hover{color:#254f38;background:#eee8db}.tocleaf h2 a{color:inherit;text-decoration:none}.tocleaf h2 a:hover{text-decoration:underline}.pilot-banner a{color:#435f4d;text-decoration:none}header nav{flex-wrap:wrap;justify-content:flex-end}header .library{font-size:18px;letter-spacing:.06em}.scan img{content-visibility:auto}

/* Stable edition profiles: tighter paragraph rhythm follows the printed volumes. */
@media(min-width:761px){
.typeset p{margin-bottom:6px}
body[data-book="course-2"] .ordinary .typeset,body[data-book="course-2"] .opening .typeset{font-size:18.5px!important;line-height:1.21!important}
body[data-book="course-2"] .tocleaf h2{margin:10px 0 7px}
body[data-book="course-2"] .tocleaf .toc-row{padding:1px 0}
body[data-book="textbook"] .ordinary .typeset,body[data-book="textbook"] .opening .typeset{font-size:18px!important;line-height:1.21!important}
}

@media(min-width:761px){
body[data-book="course-3"] .ordinary .typeset,body[data-book="course-3"] .opening .typeset{font-size:18.5px!important;line-height:1.21!important}
body[data-book="course-2"] .ordinary,body[data-book="course-3"] .ordinary,body[data-book="course-4"] .ordinary{padding-left:70px;padding-right:70px}
body[data-book="course-4"] .opening .typeset{font-size:18.5px!important}
body[data-book="textbook"] .leaf[data-pdf="13"] .typeset{font-size:17px!important}
}
@media(min-width:761px){body[data-book="course-3"] .ordinary .typeset>p,body[data-book="course-4"] .ordinary .typeset>p{margin-bottom:3px}}
