/* Arachne: site-neutral chapter content styles, final site theme owned by Hephaestus. */
main {min-width:0; max-width: min(100%, 980px); margin-inline:auto;}
body {font-family: system-ui, "Segoe UI", Arial, sans-serif; color:#111111; line-height:1.65;}
main p, main li {overflow-wrap:break-word;}
main p {margin: .95rem 0 1.1rem;}
main h1, main h2, main h3 {line-height:1.28;}
main h2 {margin-top:2.1rem;}main h3 {margin-top:1.65rem;}
figure.book-figure {clear:both; margin:1.8rem auto 2rem; max-width:min(100%, 800px);}
figure.book-figure img {display:block;width:auto;height:auto;max-width:100%;max-height:750px;margin-inline:auto;}
figure.book-figure figcaption {text-align:center; font-size:.91rem;color:#495566;line-height:1.5;margin-top:.65rem;}
.math.display, mjx-container[display="true"] {display:block;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:.4rem 0;}
.book-prev-next {border-top:1px solid #d5dce2;margin-top:2.6rem;padding:1.1rem 0; display:flex; flex-wrap:wrap;justify-content:space-between;gap:.7rem;font-size:.95rem;}
.book-prev-next a {padding:.35rem .5rem; border-radius:4px;}
.book-prev-next a:focus-visible {outline:3px solid #175bb5;outline-offset:3px;}
.footnotes {overflow-wrap:anywhere;}
@media(max-width:640px){body{font-size:16px;line-height:1.65;}figure.book-figure{margin:1.45rem 0;}main h1{font-size:1.65rem;}main h2{font-size:1.4rem;}main h3{font-size:1.16rem;}}
