/* Chapter reading and source presentation, 2026-10-03. */
body[data-reading=reference] details .core-route{display:block;border-bottom:0;padding-bottom:0}
.chapter-references{font-size:.9rem;line-height:1.7;margin:1.2rem 0 2rem}
.chapter-references ol{list-style:none;counter-reset:bookref;padding-left:2.7em}
.chapter-references ol>li{counter-increment:bookref;position:relative;margin:0 0 .9em;overflow-wrap:anywhere}
.chapter-references ol>li:before{content:'[' counter(bookref) ']';position:absolute;right:calc(100% + .65em);color:#526d7b;font-variant-numeric:tabular-nums}
.chapter-references p{margin:.2em 0}.chapter-references a{word-break:break-word}
.chapter-references span[id]:target{scroll-margin-top:90px;background:#fff1c9}
a[href*='#ref-']{text-underline-offset:.18em;text-decoration-thickness:1px}
.chapter-practice-frame{display:block;width:100%;min-height:400px;max-width:100%;border:1px solid #d8e3e8!important;border-radius:8px;margin:1.2rem 0 1.8rem;background:white}
details.chapter-resources,details.chapter-experiments,details.core-route-fold{margin:1rem 0 1.5rem;padding:.8rem 1rem;border:1px solid #dce6e9;border-radius:6px;background:#fbfcfc}
details.chapter-resources>summary,details.chapter-experiments>summary,details.core-route-fold>summary{color:#3d6472;cursor:pointer}
.book-audit-table{font-variant-numeric:tabular-nums}.book-audit-table th{white-space:nowrap}
@media print{.chapter-practice-frame{display:none}.chapter-references{font-size:9pt}.chapter-references a{color:inherit}}
.chapter-references>p[id]{position:relative;padding-left:2.7em;margin-bottom:1em}.chapter-references>p[id]>.ref-number{position:absolute;left:0;color:#526d7b}
.chapter-references>p[id]>.reference-number{position:absolute;left:0;color:#526d7b}.chapter-references .reference-use{font-size:.88em;color:#637b88}
/* One reading rhythm for chapter objectives, prose exercises, and sources. */
.chapter-objectives{border:1px solid #dce6e9;border-left:4px solid #168aad;background:#f7fafb;padding:1rem 1.25rem;margin:1.2rem 0 1.8rem;border-radius:0 5px 5px 0}
.chapter-objectives>p:first-child{font-weight:600;margin-top:0;margin-bottom:.65rem}
.chapter-objectives ol{padding-left:1.5em;margin-bottom:0}
.chapter-objectives li{margin:.5rem 0;line-height:1.8}
.chapter-objectives li>p{margin:0}
.chapter-references{line-height:1.8}
.chapter-references li[id]{scroll-margin-top:90px}
.chapter-references li[id]:target{background:#fff1c9}
.chapter-references ol>li{padding-left:.15em}
main.content figure figcaption{line-height:1.65}
#chapter-goals,#chapter-exercises{scroll-margin-top:90px}
@media print{.chapter-objectives{break-inside:avoid;background:white}.chapter-references li{break-inside:avoid}}
