:root {
  --paper: #f6f4ef; --paper-raised: #fff; --ink: #0f1a2b; --ink-soft: #2a3442; --muted: #4a5263;
  --hairline: #d9d4c8; --accent: #1d3fd6; --dark: #0f1a2b; --dark-border: #223049;
  --display: "Newsreader", Georgia, serif; --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace; --top: 64px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.7 var(--body); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; z-index: 50; background: #fff; padding: 8px 12px; }
.topbar { position: sticky; top: 0; z-index: 20; height: var(--top); display: flex; align-items: center; gap: 18px;
  padding: 0 24px; background: var(--dark); color: #fff; border-bottom: 1px solid var(--dark-border); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 500 1.35rem var(--display); }
.brand img { width: 36px; height: auto; }
.topbar-title { flex: 1; min-width: 0; color: #b9c2d0; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn { background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 10px 18px; white-space: nowrap; }
.btn:hover, .btn:focus-visible { background: #1633ad; }
.toc-toggle { display: none; background: transparent; color: #fff; border: 1px solid var(--dark-border); font: 500 1rem var(--body); padding: 8px 12px; cursor: pointer; }
.layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); }
.sidebar { position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow-y: auto; padding: 20px 20px 40px;
  border-right: 1px solid var(--hairline); background: var(--paper-raised); }
.search { margin-bottom: 18px; --pagefind-ui-scale: .8; --pagefind-ui-primary: var(--accent); --pagefind-ui-text: var(--ink);
  --pagefind-ui-border: var(--hairline); --pagefind-ui-border-radius: 0; --pagefind-ui-font: var(--body); }
.toc-head { font: 500 1rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc ul ul { padding-left: 14px; border-left: 1px solid var(--hairline); margin: 2px 0 8px 4px; }
.toc a { display: block; padding: 5px 8px; color: var(--ink-soft); text-decoration: none; font-size: 1rem; line-height: 1.4; }
.toc > ul > li > a { font-weight: 600; color: var(--ink); }
.toc a:hover { background: var(--paper); color: var(--accent); }
.toc a.active { color: var(--accent); background: #e8edfc; }
.reader { max-width: 860px; padding: 0 56px 120px; margin: 0 auto; width: 100%; }
.cover { margin: 0 -56px 56px; padding: 72px 56px 64px; background: var(--dark); color: #fff; }
.cover-logo { width: min(420px, 80%); height: auto; display: block; margin-bottom: 40px; }
.cover-kicker { font: 500 1rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #b9c2d0; margin: 0 0 16px; }
.cover-title { font: 500 clamp(2.4rem, 5vw, 3.6rem)/1.08 var(--display); margin: 0; letter-spacing: -.01em; }
.cover-subtitle { font-size: 1.35rem; line-height: 1.5; color: #dfe5ee; margin: 18px 0 0; max-width: 40ch; }
.cover-note { color: #b9c2d0; font-size: 1rem; margin: 28px 0 0; }
.reader h1 { font: 500 clamp(2rem, 4vw, 2.75rem)/1.12 var(--display); margin: 88px 0 18px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.reader h1 .chapter-num { display: block; font: 500 1rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.reader h2 { font: 500 1.6rem/1.25 var(--display); margin: 44px 0 10px; }
.reader h3 { font: 600 1.2rem/1.35 var(--body); margin: 30px 0 8px; }
.reader p, .reader li { color: var(--ink-soft); }
.reader a { color: var(--accent); }
.reader blockquote { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font: 400 1.3rem/1.55 var(--display); color: var(--ink); }
.part-head { margin: 96px -56px 0; padding: 40px 56px; background: var(--dark); color: #fff; }
.part-head p { margin: 0; font: 500 1rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #b9c2d0; }
.part-head h2 { color: #fff; margin: 8px 0 0; font-size: 2rem; }
.citation a { text-decoration: none; } .citation a:hover { text-decoration: underline; }
.footnote-ref { font-size: 1rem; }
section.footnotes, #refs, #book-index { font-size: 1rem; }
section.footnotes li, .csl-entry { margin-bottom: 10px; color: var(--ink-soft); }
.csl-entry { padding-left: 2em; text-indent: -2em; }
#book-index .index-letter { font: 600 1.2rem var(--display); margin: 22px 0 6px; color: var(--ink); }
#book-index ul { list-style: none; padding: 0; margin: 0; columns: 2 260px; column-gap: 32px; }
#book-index li { break-inside: avoid; padding: 2px 0; color: var(--ink-soft); }
#book-index li a { margin-left: 6px; font-size: 1rem; }
.takeaways { background: var(--paper-raised); border: 1px solid var(--hairline); padding: 6px 26px 14px; margin: 18px 0; }
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .toc-toggle { display: inline-block; }
  .topbar-title { display: none; }
  .sidebar { position: fixed; left: 0; top: var(--top); width: min(360px, 92vw); z-index: 15; transform: translateX(-102%); transition: transform .2s; box-shadow: 0 10px 40px rgba(15,26,43,.25); }
  body.toc-open .sidebar { transform: none; }
  .reader { padding: 0 20px 80px; }
  .cover, .part-head { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .brand span { display: none; }
}
@media print {
  @page { size: Letter; margin: 0.8in 0.85in 0.9in; }
  body { background: #fff; font-size: 11pt; line-height: 1.55; }
  .topbar, .sidebar, .skip { display: none !important; }
  .layout { display: block; }
  .reader { max-width: none; padding: 0; }
  .cover { margin: 0; padding: 1.2in 0.6in; height: 9.2in; overflow: hidden; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .part-head { margin: 0 0 24pt; padding: 0.9in 0 0; background: none; color: var(--ink); break-before: page; }
  .part-head h2 { color: var(--ink); } .part-head p { color: var(--accent); }
  .reader h1 { break-before: page; border-top: 0; margin-top: 0; }
  .part-head + section > h1, .part-head + h1 { break-before: avoid; }
  .reader h2, .reader h3 { break-after: avoid; }
  .reader p, .reader li { orphans: 3; widows: 3; }
  .reader a { color: var(--ink); text-decoration: none; }
  #book-index ul { columns: 2; }
}
/* v2 report components: cover picture, chapter opener, In brief, exhibits, pull quotes */
.reader img { max-width: 100%; height: auto; }
.reader .cover-image { display: block; width: calc(100% + 112px); max-width: none; margin: -72px -56px 44px; aspect-ratio: 16 / 9; object-fit: cover; }
.chapter-opener { margin: 8px 0 32px; }
.chapter-opener img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.in-brief { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 0; margin: 0 0 40px; background: var(--paper-raised);
  border: 1px solid var(--hairline); border-top: 4px solid var(--accent); }
.in-brief > div:first-child { padding: 22px 28px 18px; }
.in-brief-head { font: 600 1rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.in-brief ul { margin: 0; padding-left: 1.1em; }
.in-brief li { margin-bottom: 8px; color: var(--ink); }
.in-brief li::marker { color: var(--accent); }
.stat { background: var(--dark); color: #fff; padding: 24px 22px; display: flex; flex-direction: column; justify-content: center; }
.reader .stat-value { font: 500 2.4rem/1.05 var(--display); margin: 0 0 10px; color: #fff; }
.reader .stat-label { font-size: 1rem; line-height: 1.45; margin: 0; color: #c9d1dd; }
.in-brief:not(:has(.stat)) { grid-template-columns: 1fr; }
.exhibit { margin: 40px 0 44px; padding-top: 14px; border-top: 2px solid var(--ink); }
.exhibit-label { font: 600 1rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; }
.exhibit-title { font: 500 1.45rem/1.3 var(--display); color: var(--ink); margin: 0 0 16px; }
.exhibit img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.exhibit figcaption { background: var(--paper-raised); border: 1px solid var(--hairline); border-top: 0; padding: 18px 24px 8px; }
.notice-head { font: 600 1rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.notice { margin: 0; padding: 0; list-style: none; counter-reset: n; }
.notice li { position: relative; padding-left: 40px; margin-bottom: 12px; color: var(--ink); counter-increment: n; }
.notice li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff; font: 600 1rem/26px var(--body); text-align: center; }
.reader blockquote.pull-quote { margin: 40px 0; padding: 22px 0 22px; border: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.pull-quote p { font: 400 1.75rem/1.35 var(--display); color: var(--ink); margin: 0; }
.pull-quote p::before { content: "\201C"; display: block; font: 500 3.2rem/0.8 var(--display); color: var(--accent); margin-bottom: 6px; }
@media (max-width: 1000px) {
  .reader .cover-image { width: calc(100% + 40px); margin: -72px -20px 32px; }
  .in-brief { grid-template-columns: 1fr; }
  .exhibit figcaption { padding: 16px 16px 6px; }
  .pull-quote p { font-size: 1.45rem; }
}
@media print {
  .cover { display: flex; flex-direction: column; }
  .reader .cover-image { width: 100%; margin: 0 0 24pt; flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
  .chapter-opener, .in-brief, .exhibit, .pull-quote { break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .chapter-opener img { aspect-ratio: 16 / 7; }
  .exhibit img { aspect-ratio: 16 / 8; }
  .in-brief { grid-template-columns: 1fr 150px; }
  .reader .reader .stat-value { font-size: 22pt; } .pull-quote p { font-size: 16pt; }
}
.reader .cover-kicker { color: #b9c2d0; } .reader .cover-subtitle { color: #dfe5ee; } .reader .cover-note { color: #b9c2d0; }
