@charset "UTF-8";
:root {
  color-scheme: dark;
  --ink: #0a171a;
  --deep: #0d2023;
  --ivory: #f0eadc;
  --gold: #d9bf88;
  --copper: #c58d65;
  --muted: #acbcb7;
  --line: #34504e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --mono: 'Courier New', monospace;
  --gutter: clamp(22px, 6.5vw, 112px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { color: var(--gold); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
::selection { background: #d9bf88; color: var(--ink); }
p { line-height: 1.8; }
h1, h2, h3, h4, p, blockquote { margin-top: 0; }
em { font-weight: normal; color: var(--gold); }
.skip { position: fixed; z-index: 30; left: 16px; top: 16px; padding: 14px 20px; background: var(--ivory); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { min-height: 90px; padding: 20px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; font-size: 23px; letter-spacing: 2px; }
.brand-sub { font: 10px/1.6 var(--mono); color: var(--muted); letter-spacing: 1px; }
.header nav { display: flex; gap: clamp(18px, 3vw, 42px); font-size: 12px; }
.header nav a { padding: 12px 0; }
.deep-reading, .sources, .version-note { padding: 60px var(--gutter) 80px; background: var(--deep); }
.deep-reading { border-top: 1px solid #58736a; background: linear-gradient(160deg, #12292b, #0c1e21 750px); }
.section-label { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 9px; }
.section-label a { padding: 8px 0; border-bottom: 1px solid #5a7268; letter-spacing: .4px; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; margin: 52px 0 38px; }
.section-intro h1, .section-intro h2 { margin: 0; font: normal clamp(34px, 4vw, 57px)/1.16 var(--serif); letter-spacing: -1.4px; }
.section-intro p { margin: 0 0 16px; max-width: 600px; font-size: 16px; color: #d7dfd7; }
.section-intro .reading-disclosure { color: var(--muted); font-size: 16px; }
.reader-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 15px 0 23px; border-bottom: 1px solid var(--line); }
.reader-nav a { padding: 10px 0; color: #c7d2c9; font-size: 13px; }
.reader-nav a:hover { color: var(--gold); }
.reading-controls { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 22px; margin: 32px 0 0; }
.reading-controls label { display: flex; flex-direction: column; gap: 10px; min-width: 0; font-size: 10px; color: var(--muted); }
.reading-controls input, .reading-controls select { width: 100%; min-width: 0; height: 46px; padding: 11px 12px; border: 1px solid #4b6460; border-radius: 0; background: #0b1b1e; color: var(--ivory); font-size: 16px; }
.reading-controls input::placeholder { color: #839a92; }
.filter-status { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: -4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
#reading-count { margin: 0; color: var(--muted); font: 10px/1.6 var(--mono); }
#reading-clear { min-height: 40px; padding: 8px 0; font-size: 11px; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.reading-empty { margin: 48px 0; color: var(--muted); font-family: var(--serif); }
.reading-chapter { max-width: 1160px; margin: 58px auto 0; scroll-margin-top: 32px; }
.kicker { font: 9px/1.7 var(--mono); letter-spacing: 1.4px; }
.reading-chapter > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 10px 20px; padding-bottom: 23px; border-bottom: 1px solid #658077; }
.reading-chapter > header .kicker { grid-column: 1 / -1; color: var(--muted); }
.reading-chapter > header h3 { margin: 0; color: var(--gold); font: normal 26px/1.3 var(--serif); letter-spacing: -.4px; }
.chapter-return { color: #acbcb7; font: 11px/1.6 var(--mono); padding: 10px 0; }
.reading-unit { border-bottom: 1px solid #324d49; scroll-margin-top: 32px; }
.reading-unit > summary { display: grid; grid-template-columns: 38px minmax(0, 1fr) 24px; align-items: baseline; gap: 18px; padding: 25px 6px 25px 0; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ''; }
.unit-number { color: #99aca1; font: 10px/1.7 var(--mono); letter-spacing: .4px; }
.sentence { min-width: 0; color: #eed3b2; font: normal clamp(18px, 1.7vw, 23px)/1.65 var(--serif); overflow-wrap: anywhere; white-space: pre-line; text-shadow: 0 0 22px #cb824524; }
.unit-cue { align-self: center; width: 24px; overflow: hidden; font-size: 0; color: var(--gold); }
.unit-cue::before { content: '+'; display: block; font: 24px/1 var(--serif); text-align: center; }
.reading-unit[open] .unit-cue::before { content: '−'; }
.reading-unit > summary:hover .sentence { color: #ffdfba; text-shadow: 0 0 24px #c8824540; }
.reading-unit[open] > summary { padding-bottom: 18px; }
.reading-unit[open] { border-bottom-color: #6f7561; }
.reading-note { margin: 0 42px 32px 56px; padding: 8px 0 6px 25px; border-left: 1px solid #b8835e; background: linear-gradient(90deg, #af81560a, transparent 40%); }
.reading-note h4 { margin-bottom: 13px; font: normal 24px/1.3 var(--serif); color: var(--ivory); }
.reading-note .meaning { max-width: 75ch; margin-bottom: 24px; font-size: 17px; line-height: 1.85; color: #dbe1da; overflow-wrap: anywhere; }
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.note-grid > * { min-width: 0; }
.note-grid h5 { margin: 0 0 10px; color: var(--gold); font: normal 11px/1.7 var(--mono); letter-spacing: .8px; }
.note-grid p { margin: 0 0 16px; color: #b9c9c1; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.source-links { margin: 10px 0 14px; padding-left: 18px; color: var(--muted); font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.source-links li { margin-bottom: 12px; }
.source-links span { display: block; font-size: 16px; }
.source-links a { color: #d4c49e; text-decoration: underline; text-decoration-color: #6d7861; }
.permalink { display: inline-block; padding: 12px 0; color: #b1c2ba; font: 12px/1.6 var(--mono); text-decoration: underline; text-decoration-color: #51695e; }
.reading-unit:target > summary, .source-entry:target > summary { background: linear-gradient(90deg, #d9bf8812, transparent); }
.reading-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid #5a7268; }
.reading-end p { margin: 0; max-width: 550px; color: var(--muted); font: italic 17px/1.7 var(--serif); }
.reading-end a { align-self: center; font-size: 11px; color: var(--gold); }
.sources { border-top: 1px solid #5b7166; background: #0c1c1f; }
.sources-list { max-width: 1160px; margin: 48px auto 0; }
.source-entry { border-top: 1px solid var(--line); padding: 0 0 10px; scroll-margin-top: 32px; }
.source-entry:last-child { border-bottom: 1px solid var(--line); }
.source-entry summary { position: relative; padding: 25px 40px 22px 0; cursor: pointer; list-style: none; font: normal 23px/1.4 var(--serif); color: var(--gold); overflow-wrap: anywhere; }
.source-entry summary::after { position: absolute; right: 5px; top: 25px; content: '+'; font: 24px/1 var(--serif); }
.source-entry summary > span { display: none; }
.source-entry[open] summary::after { content: '−'; }
.source-body { max-width: 85ch; margin-left: 24px; margin-right: 24px; }
.source-body p { color: #b6c7bd; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.source-body .source-citation { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.source-body .source-translation { color: #d5ddd0; font-style: italic; }
.source-entry blockquote { padding: 6px 0 6px 22px; margin-top: 24px; margin-bottom: 22px; border-left: 1px solid #617967; font: normal 19px/1.7 var(--serif); color: #d5ddd0; white-space: pre-line; overflow-wrap: anywhere; }
.source-body a { display: inline-block; max-width: 100%; margin-bottom: 22px; padding: 10px 0; color: var(--gold); font-size: 14px; text-decoration: underline; overflow-wrap: anywhere; }
.version-note { border-top: 1px solid #45605a; background: #102427; }
.version-changes { list-style: decimal-leading-zero; margin: 46px 0 40px; padding-left: 28px; }
.version-changes li { padding: 22px 0 28px 20px; border-top: 1px solid var(--line); }
.version-changes li::marker { color: var(--copper); font: 12px var(--mono); }
.version-changes h3 { margin-bottom: 12px; color: #e1d4b9; font: normal 25px/1.4 var(--serif); }
.version-changes p { max-width: 820px; margin-bottom: 15px; color: #bdcdc2; font-size: 16px; }
.version-changes a { font-size: 11px; color: var(--gold); }
.version-downloads { display: flex; flex-wrap: wrap; gap: 18px 40px; padding-top: 25px; border-top: 1px solid #547060; }
.version-downloads a, .version-downloads button { padding: 12px 0; font-size: 12px; border-bottom: 1px solid #7c896b; color: var(--gold); }
.version-downloads span { padding-left: 20px; }
.footer { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 35px; padding: 65px var(--gutter); background: #09191c; }
.footer-word { font: normal 110px/.9 var(--serif); letter-spacing: -7px; color: #d8cba9; }
.footer p { margin: 0 0 6px; color: #a7bbb0; font: 10px/1.7 var(--mono); }
.footer a:not(.footer-word) { display: inline-block; margin-top: 13px; color: var(--gold); font-size: 11px; }
.footer .footer-note { font: italic 18px/1.6 var(--serif); }
.section-label, .section-intro, .reader-nav, .reading-controls, .reading-empty, .reading-end, .version-changes, .version-downloads { max-width: 1160px; margin-left: auto; margin-right: auto; }
@media (max-width: 1050px) {
  .section-intro { gap: 35px; }
  .reading-controls { grid-template-columns: 1fr 1fr; }
  .query-control { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 16px; }
  .header { min-height: 88px; padding-top: 20px; padding-bottom: 20px; gap: 20px; flex-wrap: wrap; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-sub { font-size: 8px; letter-spacing: .8px; }
  .header nav { width: 100%; flex-wrap: wrap; gap: 4px 22px; font-size: 12px; }
  .deep-reading, .sources, .version-note { padding-top: 32px; padding-bottom: 48px; }
  .section-label { font-size: 8px; letter-spacing: .8px; gap: 16px; }
  .section-label > * { min-width: 0; }
  .section-label a { text-align: right; }
  .section-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 35px; margin-bottom: 24px; }
  .section-intro h1, .section-intro h2 { font-size: 35px; letter-spacing: -1px; }
  .reader-nav { gap: 2px 19px; padding-top: 6px; }
  .reader-nav a { font-size: 12px; min-height: 40px; }
  .reading-controls { gap: 17px 12px; margin-top: 25px; grid-template-columns: minmax(0, 1fr); }
  .reading-controls label { font-size: 11px; line-height: 1.5; }
  .reading-controls input, .reading-controls select { padding-left: 10px; padding-right: 10px; }
  .filter-status { gap: 8px; }
  #reading-count { font-size: 9px; }
  #reading-clear { font-size: 10px; }
  .reading-chapter { margin-top: 38px; }
  .reading-chapter > header h3 { font-size: 23px; }
  .reading-chapter > header { padding-bottom: 18px; gap: 8px 12px; }
  .chapter-return { font-size: 10px; }
  .reading-unit > summary { grid-template-columns: 25px minmax(0, 1fr) 16px; gap: 10px; padding-top: 21px; padding-bottom: 21px; padding-right: 0; }
  .unit-number { font-size: 8px; }
  .unit-cue { width: 16px; }
  .unit-cue::before { font-size: 22px; }
  .sentence { font-size: 18px; line-height: 1.6; }
  .reading-note { margin: 0 0 25px 0; padding: 5px 0 5px 16px; }
  .reading-note h4 { font-size: 23px; }
  .reading-note .meaning { font-size: 16px; line-height: 1.85; margin-bottom: 21px; }
  .note-grid { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .note-grid h5 { margin-bottom: 7px; }
  .reading-end { margin-top: 35px; }
  .reading-end p { font-size: 16px; }
  .source-entry summary { font-size: 21px; padding-top: 22px; padding-bottom: 20px; }
  .source-body { margin-left: 0; margin-right: 0; }
  .source-entry blockquote { font-size: 18px; padding-left: 15px; }
  .version-changes { margin-top: 28px; padding-left: 22px; }
  .version-changes li { padding-left: 8px; }
  .version-changes h3 { font-size: 23px; }
  .version-downloads { gap: 12px 25px; }
  .footer { padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .footer-word { font-size: 83px; letter-spacing: -5px; }
  .footer .footer-note { width: 100%; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  @page { size: A4; margin: 17mm; }
  :root { color-scheme: light; }
  html, body { background: white !important; color: black !important; font-size: 10pt; }
  .header, .skip, .reading-controls, .reader-nav, .footer, .reading-end, #reading-empty, .version-downloads, .section-label a, .unit-cue, .permalink { display: none !important; }
  main, .deep-reading, .sources, .version-note { visibility: visible !important; display: block !important; padding: 0 !important; border: 0 !important; background: white !important; }
  .section-label { color: black !important; margin: 0 0 18pt; font-size: 8pt; }
  .section-intro { display: block; margin: 0 0 22pt; }
  .section-intro h1, .section-intro h2 { font: normal 24pt/1.2 var(--serif); letter-spacing: 0; margin: 0 0 14pt; }
  .section-intro p, .section-intro .reading-disclosure { font: 10pt/1.5 var(--serif); max-width: none; }
  .reading-chapter, .reading-unit, .source-entry { display: block !important; }
  .reading-chapter { margin: 22pt 0 0; }
  .reading-chapter > header h3 { font-size: 17pt; break-after: avoid; }
  .reading-chapter > header { padding-bottom: 10pt; }
  .chapter-return { display: none; }
  .reading-unit { border-color: #bbb; }
  .reading-unit > summary { display: grid; grid-template-columns: 25pt minmax(0, 1fr); gap: 8pt; padding: 15pt 0 9pt; break-after: avoid; }
  .sentence { color: black !important; font: normal 12pt/1.5 var(--serif); text-shadow: none !important; }
  .unit-number { font-size: 7pt; }
  details > :not(summary), details::details-content { display: block !important; content-visibility: visible !important; }
  .reading-note { margin: 0 0 16pt 33pt; padding: 0 0 0 12pt; border-color: #888; background: none; }
  .reading-note h4 { font-size: 12pt; break-after: avoid; margin-bottom: 7pt; }
  .reading-note .meaning, .note-grid p, .source-body p, .source-body .source-citation, .source-body .source-translation { font: 10pt/1.5 var(--serif); }
  .note-grid { display: block; }
  .note-grid h5 { font-size: 8pt; break-after: avoid; }
  .source-links, .source-links span { font-size: 8pt; }
  .sources, .version-note { break-before: page; }
  .sources-list { margin-top: 22pt; }
  .source-entry { padding-bottom: 10pt; }
  .source-entry summary { font-size: 15pt; padding: 16pt 0 10pt; break-after: avoid; }
  .source-entry summary::after { display: none; }
  .source-body { margin-left: 0; margin-right: 0; max-width: none; }
  .source-entry blockquote { font: 11pt/1.5 var(--serif); margin-top: 10pt; margin-bottom: 12pt; border-color: #888; }
  .source-entry a { font-size: 8pt; max-width: 100%; }
  .source-entry a[href^="http"]::after { content: ' (' attr(href) ')'; overflow-wrap: anywhere; }
  .version-changes { margin: 20pt 0; }
  .version-changes h3 { font-size: 13pt; }
  .version-changes p { font: 10pt/1.5 var(--serif); }
  .version-changes a { display: none; }
  main * { color: black !important; text-shadow: none !important; box-shadow: none !important; }
  h1, h2, h3, h4, h5 { break-after: avoid; }
  p, blockquote { orphans: 3; widows: 3; }
  a { text-decoration: none; }
}
