/* Editorial formatting uses the book's existing scale and paper. */
.rich-copy { overflow-wrap:anywhere; }
.rich-copy strong { font-weight:600; }
.rich-copy em { font-style:italic; }
.rich-copy u { text-underline-offset:2px; text-decoration-thickness:1px; }
.rich-copy code { padding:1px 3px; background:#736a5320; font:.93em/1.3 ui-monospace,SFMono-Regular,Consolas,monospace; }
.rich-copy > p { margin:0; }
.rich-copy p:empty { min-height:1.3em; }
.rich-copy > p + p { text-indent:1.3em; }
.rich-copy h2, .rich-copy h3 { margin:1.2em 0 .55em; font:500 1em/1.3 var(--sans); text-indent:0; }
.rich-copy h3 { font-weight:500; }
.rich-copy h2:first-child, .rich-copy h3:first-child { margin-top:0; }
.rich-copy h2 + p, .rich-copy h3 + p, .rich-copy hr + p, .rich-copy blockquote + p, .rich-copy ul + p, .rich-copy ol + p { text-indent:0; }
.rich-copy ul, .rich-copy ol { margin:.8em 0; padding-left:1.5em; text-indent:0; }
.rich-copy li { margin:.3em 0; padding-left:.15em; }
.rich-copy li > p, .rich-copy li > p + p { margin:0; text-indent:0; }
.rich-copy li > p + p { margin-top:.5em; }
.rich-copy li > ul, .rich-copy li > ol { margin:.3em 0; }
.rich-copy blockquote { margin:.9em 0; padding-left:1em; border-left:1px solid #6d665144; text-indent:0; font:inherit; }
.rich-copy blockquote p { margin:0; text-indent:0; }
.rich-copy hr { margin:1.25em 0; border:0; border-top:1px solid #6d665144; height:0; }
.page-content .rich-copy a { display:inline; min-height:0; padding:0; color:inherit; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.page-content .rich-copy a:hover { text-decoration-thickness:2px; }
.rich-copy > :first-child { margin-top:0; }
.rich-copy > :last-child { margin-bottom:0; }
.rich-copy.project-description > p, .rich-copy.large-copy > p, .rich-copy.chapter-subtitle > p { font:inherit; }
.marginal-text.rich-copy { font:inherit; }
.marginal-text.rich-copy > p { font:inherit; }

/* An unusually tall rich block remains one source anchor and scrolls on its leaf. */
.desktop-overflow-scroller {
  position:absolute; inset:0 0 77px; overflow:auto; overscroll-behavior:contain;
  touch-action:pan-y pinch-zoom; scrollbar-width:thin; scrollbar-color:#9b948578 transparent;
}
.page-content.desktop-overflow-content { position:relative; inset:auto; min-height:100%; height:auto; padding-bottom:30px; }
.desktop-overflow-content .essay-return { position:static; display:inline-flex; align-items:center; min-height:30px; margin-top:26px; }
.desktop-overflow-turn { position:absolute; inset:0 0 77px; overflow:hidden; }
.desktop-overflow-turn > .page-content { min-height:100%; transform-origin:top left; }
.desktop-overflow-scroller:focus-visible { outline:1px solid #7d715f; outline-offset:-5px; }

@media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1024px) {
  .essay-body.rich-copy h2, .essay-body.rich-copy h3 { font-size:16px; line-height:1.35; }
  .rich-copy ul, .rich-copy ol { padding-left:1.45em; }
  .rich-copy blockquote { padding-left:.9em; }
}
