/* BEGIN GENERATED DESIGN TOKENS */
:root {
  color-scheme: light;
  --paper: #f5f0e6;
  --ink: #252b29;
  --muted: #68675e;
  --link: #8b3d35;
  --diagram: #315c58;
  --decorative: #a37c3a;
  --rule: #cec7b9;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body-size: 1.125rem;
  --body-leading: 1.7;
  --measure: 70ch;
  --size-part: 2.2em;
  --size-chapter: 1.65em;
  --size-section: 1.25em;
  --size-caption: 0.85em;
  --space-small: 0.5em;
  --space-medium: 1em;
  --space-large: 1.5em;
  --space-section: 2.5em;
  --space-part: 4em;
}
/* END GENERATED DESIGN TOKENS */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
  color: var(--ink);
  background: var(--paper);
  font: var(--body-size)/var(--body-leading) var(--font-serif);
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}
header { padding: var(--space-large) 0 var(--space-section); border-bottom: 1px solid var(--rule); }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: var(--size-part); margin: var(--space-section) 0 var(--space-medium); }
h1.book-part { margin-top: var(--space-part); padding-top: var(--space-large); border-top: 2px solid var(--rule); }
h2 { font-size: var(--size-chapter); margin: var(--space-section) 0 var(--space-medium); }
h3 { font-size: var(--size-section); margin: var(--space-section) 0 var(--space-small); }
h4 { font-size: 1em; margin-top: var(--space-large); }
p { margin: 0 0 var(--space-medium); }
.title { font-size: clamp(2.25rem, 7vw, 3.5rem); margin-top: 0; letter-spacing: -.025em; }
.subtitle { font-size: 1.3em; line-height: 1.35; }
.author, .date { font-family: var(--font-sans); font-size: .9em; }
a { color: var(--link); text-decoration-thickness: .07em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--diagram); outline-offset: 4px; border-radius: 2px; }
.downloads, #TOC { font: .9em/1.55 var(--font-sans); padding: var(--space-large) 0; border-bottom: 1px solid var(--rule); }
.downloads a { display: inline-block; padding: .5em 0; margin-right: 1.2em; }
.edition { color: var(--muted); font-size: .9em; }
#TOC > ul { padding-left: 0; list-style: none; }
#TOC ul ul { padding-left: 1.4em; }
#TOC li { margin: .5em 0; }
#TOC a { display: inline-block; padding: .15em 0; }
#TOC > ul > li > a { font-weight: 650; }
blockquote { margin: var(--space-large) 0; border-left: 3px solid var(--rule); padding-left: var(--space-large); }
blockquote p:last-child { margin-bottom: 0; }
figure { margin: var(--space-section) 0; break-inside: avoid; }
img, svg { display: block; max-width: 100%; height: auto; margin-inline: auto; }
figcaption, caption { font: var(--size-caption)/1.5 var(--font-sans); color: var(--muted); text-align: left; margin: var(--space-small) 0 var(--space-medium); }
table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: var(--space-large) 0; font-size: .9em; }
th, td { border-bottom: 1px solid var(--rule); padding: .6em .75em; text-align: left; vertical-align: top; }
th { font-family: var(--font-sans); font-weight: 650; border-bottom: 2px solid var(--ink); }
pre { overflow-x: auto; padding: var(--space-medium); border: 1px solid var(--rule); font-size: .85em; }
code { font-family: ui-monospace, monospace; }
.footnotes { border-top: 1px solid var(--rule); margin-top: var(--space-section); padding-top: var(--space-medium); font-size: .85em; }
.footnotes li, .csl-entry { margin-bottom: var(--space-medium); }
.csl-bib-body { font-size: .9em; }
.csl-left-margin { float: left; padding-right: .5em; }
.csl-right-inline { margin-left: 2em; }
.hanging-indent .csl-entry { padding-left: 1.5em; text-indent: -1.5em; }
@media (max-width: 40rem) {
  body { padding-inline: 1rem; }
  h1 { font-size: 1.85em; }
  h2 { font-size: 1.5em; }
  #TOC ul ul { padding-left: 1em; }
  blockquote { padding-left: 1em; }
}
@media print {
  body { max-width: none; background: white; color: black; font-size: 11pt; padding: 0; }
  .downloads { display: none; }
  h1 { break-before: page; }
  h1, h2, h3, caption, figcaption { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  a { color: inherit; }
  table { display: table; overflow: visible; }
  tr { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
