@font-face {
  font-family: "Lora";
  src: url("fonts/lora-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/lora-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/lora-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/lora-latin-ext-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/lora-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/lora-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --bg: #f3f2f2;
  --surface: #eae9e9;
  --raised: #f9f8f7;
  --text: #201f1d;
  --muted: #5f5b57;
  --divider: rgba(32, 31, 29, .16);
  --rubric: oklch(0.50 0.15 28);
  --rubric-ink: oklch(0.44 0.14 28);
  --tint: oklch(0.50 0.15 28 / .10);
  --scrim: rgba(20, 19, 18, .36);
  --shadow: 0 12px 32px rgba(45, 43, 43, .20);
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --prose-base: 16.9px;
  --prose: calc(var(--prose-base) * var(--reader-scale, 1.125));
  --lead: 1.72;
  --measure: 640px;
  --gutter: 24px;
  --tap: 44px;
  --header-h: 56px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171615; --surface: #201e1d; --raised: #262423; --text: #e8e3dc; --muted: #b0a89e;
    --divider: rgba(232, 227, 220, .15);
    --rubric: oklch(0.73 0.12 32); --rubric-ink: oklch(0.78 0.10 32); --tint: oklch(0.73 0.12 32 / .15);
    --scrim: rgba(0, 0, 0, .55); --shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 16px 40px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171615; --surface: #201e1d; --raised: #262423; --text: #e8e3dc; --muted: #b0a89e;
  --divider: rgba(232, 227, 220, .15);
  --rubric: oklch(0.73 0.12 32); --rubric-ink: oklch(0.78 0.10 32); --tint: oklch(0.73 0.12 32 / .15);
  --scrim: rgba(0, 0, 0, .55); --shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 16px 40px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
@media (min-width: 900px) {
  :root { --prose-base: 18.67px; --lead: 1.75; --header-h: 68px; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--font-body); font-variant-numeric: lining-nums; }
a { color: var(--rubric-ink); text-underline-offset: 3px; }
a:hover { color: var(--rubric); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
::selection { background: var(--tint); }
button { font: inherit; color: inherit; font-variant-numeric: lining-nums; }
.label { font: 600 11px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; padding: 8px 12px; background: var(--raised); z-index: 30; }
.skip:focus { top: 8px; z-index: 70; }
main { display: block; min-height: 60vh; }
main:focus { outline: none; }
.rule { width: 48px; height: 1px; margin: 22px auto; border: 0; background: var(--rubric); }
.site-header { position: sticky; top: 0; z-index: 10; height: var(--header-h); display: flex; align-items: center; gap: 4px; padding: 0 8px 0 16px; background: var(--bg); border-bottom: 1px solid var(--divider); }
.hd-start, .hd-end { display: flex; align-items: center; gap: 10px; }
.hd-end { margin-left: auto; }
.wordmark { font: 600 20px/1 var(--font-heading); color: var(--text); text-decoration: none; white-space: nowrap; }
.translation-control { font: 600 11px/1 var(--font-body); letter-spacing: .12em; color: var(--muted); padding: 0 6px; }
.ref-control { height: var(--tap); display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; font: 600 21px/1 var(--font-heading); color: var(--text); text-decoration: none; white-space: nowrap; font-variant-numeric: lining-nums; }
.ref-control .icon { color: var(--rubric); }
.ref-control:hover { color: var(--text); }
.chapter-page .wordmark, .opening-page .wordmark { display: none; }
.chapter-page .site-header, .opening-page .site-header { padding-left: 10px; }
.chapter-page .hd-start, .opening-page .hd-start { order: 2; }
.chapter-page .hd-mid, .opening-page .hd-mid { order: 1; }
.chapter-page .hd-end, .opening-page .hd-end { order: 3; }
.contents-page .hd-mid { display: none; }
@media (min-width: 900px) {
  .site-header, .chapter-page .site-header, .opening-page .site-header { display: grid; grid-template-columns: 1fr auto 1fr; padding: 0 24px 0 32px; }
  .chapter-page .wordmark, .opening-page .wordmark { display: inline; }
  .chapter-page .hd-start, .opening-page .hd-start, .chapter-page .hd-mid, .opening-page .hd-mid, .chapter-page .hd-end, .opening-page .hd-end { order: 0; }
  .contents-page .hd-mid { display: block; visibility: hidden; }
  .wordmark { font-size: 23px; }
  .hd-mid { justify-self: center; }
  .ref-control { border: 1px solid var(--divider); border-radius: var(--radius-md); padding: 0 16px; }
  .hd-end { justify-self: end; }
}
.chapter { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 36px var(--gutter) 0; font-size: var(--prose); line-height: var(--lead); font-variant-numeric: oldstyle-nums; }
@media (min-width: 900px) { .chapter { padding-top: 56px; } .chapter .text p { text-align: justify; } }
.chapter .text p { margin: 0; text-indent: 1.2em; hyphens: auto; -webkit-hyphens: auto; }
.chapter .text > p:first-child, .chapter .text .heading + p, .chapter .text .psalm-title + p { text-indent: 0; }
.chapter-head { margin: 0 0 .9em; }
.chapter-head .book { font: 600 .68em/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--rubric); margin: 0; }
.chapter-head .numeral { font: 400 4.4em/.95 var(--font-heading); color: var(--rubric); font-variant-numeric: lining-nums; margin: .05em 0 0; }
.book-opening { margin: .4em 0 1.2em; padding-bottom: .9em; border-bottom: 1px solid var(--divider); }
.book-opening .kicker, .book-head .kicker { font: 600 .62em/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--rubric); margin: 0; }
.book-opening h1 { font: 400 3.4em/1 var(--font-heading); letter-spacing: -.01em; margin: .2em 0 0; }
.drop-numeral { float: left; font: 400 3.5em/.8 var(--font-heading); margin: .1em .16em 0 0; color: var(--rubric); font-variant-numeric: lining-nums; text-indent: 0; }
.vn.vn-drop { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chapter .text .heading { font: 600 1.22em/1.25 var(--font-heading); margin: 1.5em 0 .45em; text-indent: 0; text-align: left; }
.chapter .text .heading-4 { font-size: 1.08em; margin-top: 1.1em; }
.chapter .text .heading-5 { font: italic 400 .8em/1.4 var(--font-body); color: var(--muted); margin: -.3em 0 .6em; }
.chapter .text .psalm-title { font-style: italic; color: var(--muted); margin: 0 0 .5em; text-indent: 0; text-align: left; }
.vn { font-size: .58em; line-height: 0; vertical-align: baseline; position: relative; top: -.62em; color: var(--rubric); font-weight: 600; margin-right: .18em; letter-spacing: .02em; font-variant-numeric: lining-nums; }
.hide-verse-numbers .vn { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hide-headings .chapter .heading { display: none; }
.fn-marker { font-size: .62em; line-height: 0; vertical-align: baseline; position: relative; top: -.6em; font-style: italic; color: var(--rubric); margin: 0 .15em 0 .02em; text-decoration: none; }
.verse-absent { color: var(--muted); font-size: .8em; letter-spacing: .04em; }
.verse-absent .vn { color: var(--muted); font-size: .72em; top: -.45em; margin-right: 0; }
.lord { font-variant: small-caps; letter-spacing: .04em; }
.chapter .text p.verse { margin: .3em 0 .9em; line-height: 1.62; text-indent: 0; text-align: left; }
.chapter .text p.verse br { display: none; }
.chapter .text p.verse .vl { display: block; padding-left: 1.3em; text-indent: -1.3em; }
.chapter .text p.verse .vl-1 { padding-left: 2.9em; }
.chapter .text p.verse .vl-2 { text-align: right; padding-left: 0; text-indent: 0; font-style: italic; color: var(--muted); }
.chapter .text p.verse .vl:has(.vn):not(:first-child) { margin-top: .35em; }
.ornament-rule { width: 40px; height: 1px; background: var(--rubric); margin: 34px auto 30px; border: 0; }
.ornament-rule.labelled { width: auto; height: auto; background: none; text-align: center; }
.ornament-rule.labelled::before { content: ""; display: block; width: 40px; height: 1px; background: var(--rubric); margin: 0 auto 14px; }
.ornament-rule.labelled .label { letter-spacing: .24em; }
.chapter-end { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.chapter-end .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid var(--divider); border-radius: var(--radius-md); background: none; font: 600 17px var(--font-heading); font-variant-numeric: lining-nums; color: var(--text); cursor: pointer; white-space: nowrap; }
.btn .icon { color: var(--rubric); }
.btn:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.btn[aria-pressed="true"] { border-color: var(--rubric); color: var(--rubric-ink); }
.bookmark[aria-pressed="true"] .icon { fill: var(--rubric); }
.read-ring .track { stroke: var(--divider); }
.read-ring .fill { stroke: var(--rubric); stroke-dasharray: 58.1; stroke-dashoffset: calc(58.1 * (1 - var(--read-progress, 0))); transition: stroke-dashoffset 5s linear; }
.chapter-nav { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 28px; border-top: 1px solid var(--divider); }
.chapter-nav a { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; text-decoration: none; color: var(--text); }
.chapter-nav a[rel="next"] { align-items: flex-end; border-left: 1px solid var(--divider); padding-left: 12px; text-align: right; }
.chapter-nav a[rel="prev"] { padding-right: 12px; }
.chapter-nav span:empty + a[rel="next"] { grid-column: 2; }
.chapter-nav small { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.chapter-nav small.crossing { color: var(--rubric-ink); }
.chapter-nav a span { font: 600 22px var(--font-heading); font-variant-numeric: lining-nums; }
.chapter-nav a[rel="prev"] span::before { content: "\2039\00a0"; }
.chapter-nav a[rel="next"] span::after { content: "\00a0\203a"; }
.footnotes { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 8px auto 40px; padding: 18px var(--gutter) 0; border-top: 1px solid var(--divider); }
.footnotes ol { list-style: none; margin: 12px 0 0; padding: 0; }
.footnotes li { font-size: 15px; line-height: 1.55; margin: 0 0 10px; display: flex; gap: 10px; }
.footnotes .fn-back { flex: none; display: inline-flex; gap: 6px; text-decoration: none; min-width: 4.4em; }
.footnotes .fn-letter { font-style: italic; color: var(--rubric); }
.footnotes .fn-at { color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.contents { max-width: 1220px; margin: 0 auto; padding: 44px var(--gutter) 56px; }
.title-page { text-align: center; }
.title-page h1 { font: 400 50px/1.05 var(--font-heading); margin: 0; }
.title-page .edition { font: italic 400 20px/1.3 var(--font-body); color: var(--muted); margin: 10px 0 0; }
.title-page .imprint { font: 600 11px/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0; }
.band { min-height: 72px; display: flex; align-items: center; justify-content: center; margin: 30px 0 34px; padding: 0 8px; border-block: 1px solid var(--divider); text-align: center; font-size: 16px; color: var(--muted); }
.band p { margin: 0; }
.testament > h2 { font: 400 34px/1.1 var(--font-heading); letter-spacing: 0; text-transform: none; color: var(--text); margin: 0 0 18px; }
.group { margin: 0 0 22px; }
.group > .label { margin-bottom: 4px; }
.books { list-style: none; margin: 0; padding: 0; }
.book-link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--divider); text-decoration: none; color: var(--text); font-size: 17px; position: relative; }
.book-link .count { font-size: 14px; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.book-link .progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.book-link .progress i { display: block; height: 2px; width: 0; background: var(--rubric); }
@media (min-width: 900px) {
  .contents { padding-top: 64px; }
  .title-page h1 { font-size: 84px; }
  .title-page .edition { font-size: 24px; }
  .testaments { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
  .books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; }
  .book-link { border-bottom: 0; min-height: 48px; }
  .book-link .count { display: none; }
}
.book-page { max-width: 848px; margin: 0 auto; padding: 48px var(--gutter) 56px; }
.book-head { text-align: center; }
.book-head h1 { font: 400 64px/1 var(--font-heading); margin: 14px 0 0; letter-spacing: -.01em; }
.book-head .label { margin-top: 4px; }
.book-chapters { margin: 34px 0 44px; }
.bc-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.chapter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; }
.chapter-grid a { height: 44px; display: grid; place-items: center; border: 1px solid transparent; background: var(--surface); color: var(--text); border-radius: var(--radius-sm); font-size: 15px; text-decoration: none; font-variant-numeric: lining-nums tabular-nums; }
.chapter-grid a:hover { border-color: var(--divider); }
.chapter-grid a.is-read { background: var(--tint); color: var(--rubric-ink); }
.chapter-grid a[aria-current] { border-color: var(--rubric); }
.outline > .label { font: 600 30px/1.1 var(--font-heading); letter-spacing: 0; text-transform: none; color: var(--text); }
.outline > .sub { font-size: 14px; color: var(--muted); margin: 4px 0 14px; }
.ol-cols { border-top: 1px solid var(--divider); }
.ol-chapter { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--divider); }
.ol-n { flex: none; width: 1.6em; font: 400 28px/1 var(--font-heading); color: var(--rubric); text-decoration: none; font-variant-numeric: lining-nums; }
.ol-chapter ul { list-style: none; margin: 0; padding: 0; }
.ol-chapter li a { display: block; padding: 3px 0; color: var(--text); text-decoration: none; font-size: 16px; line-height: 1.5; }
.ol-chapter li a:hover { color: var(--rubric-ink); text-decoration: underline; }
.ol-v { flex: none; min-width: 2em; color: var(--rubric); font-variant-numeric: lining-nums tabular-nums; }
.book-one .ol-chapter li a { display: flex; }
.book-one .outline { margin: 34px 0 8px; }
.book-one .chapter { padding: 8px 0 0; }
.book-one .chapter-end, .book-one .footnotes { padding-left: 0; padding-right: 0; }
@media (min-width: 900px) {
  .book-page { padding-top: 80px; }
  .book-head h1 { font-size: 128px; }
  .chapter-grid a { height: 48px; }
  .book-chapters .chapter-grid { grid-template-columns: repeat(15, minmax(0, 1fr)); }
  .ol-cols { columns: 2; column-gap: 56px; border-top: 0; }
  .ol-chapter { border-top: 1px solid var(--divider); border-bottom: 0; break-inside: avoid; }
}
.site-footer { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 40px; font-size: 13px; color: var(--muted); text-align: center; }
[hidden] { display: none !important; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.menu[open] > summary, .picker[open] > summary { background: var(--tint); color: var(--rubric); }
.icon-btn { width: var(--tap); height: var(--tap); display: grid; place-items: center; flex: none; padding: 0; border: 0; background: none; color: var(--text); border-radius: var(--radius-md); cursor: pointer; }
.icon-btn:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.btn-primary { background: var(--rubric); border-color: var(--rubric); color: var(--bg); }
.btn-primary:hover { background: var(--rubric-ink); border-color: var(--rubric-ink); }
.btn-wide { display: flex; width: 100%; }
a.btn { text-decoration: none; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); padding: 0; border: 0; background: none; color: var(--rubric-ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn .icon { color: var(--rubric); }
.scrim { display: none; position: fixed; inset: 0; z-index: 40; background: var(--scrim); animation: layer-fade .2s ease; }
details[open] > .scrim { display: block; }
.layer { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; overscroll-behavior: contain; padding: 0 20px 24px; background: var(--raised); color: var(--text); border-radius: 12px 12px 0 0; box-shadow: var(--shadow); font-size: 16px; animation: layer-up .2s cubic-bezier(.2, .8, .2, 1); }
.layer::before { content: ""; display: block; width: 36px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: var(--divider); }
.layer-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; margin: 0 -8px 0 0; background: var(--raised); }
.layer-title { margin: 0; font: 600 22px/1.2 var(--font-heading); font-variant-numeric: lining-nums; }
.layer-picker { top: 40px; max-height: none; }
.layer-panel { max-height: 55vh; }
.layer-panel .layer-title { font-size: 28px; }
@keyframes layer-up { from { transform: translateY(28px); opacity: 0; } }
@keyframes layer-fade { from { opacity: 0; } }
.menu-sec { padding: 12px 0; border-top: 1px solid var(--divider); }
.layer-head + .menu-sec { border-top: 0; padding-top: 0; }
.menu-sec > .label { margin: 0 0 6px; }
.menu-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0; border: 0; background: none; color: var(--text); font: 400 16px var(--font-body); text-align: left; }
.switch-row { cursor: pointer; }
.size-ctl { display: flex; align-items: center; gap: 10px; }
.size-btn { width: var(--tap); height: var(--tap); padding: 0; border: 1px solid var(--divider); border-radius: var(--radius-md); background: none; font: 600 15px var(--font-body); cursor: pointer; }
.size-btn.size-up { font-size: 20px; }
.size-btn:disabled { opacity: .4; cursor: default; }
.size-steps { display: flex; gap: 5px; }
.size-steps i { width: 6px; height: 6px; border-radius: 50%; background: var(--divider); }
.size-steps i.on { background: var(--rubric); }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--divider); border-radius: var(--radius-md); overflow: hidden; }
.seg > button { min-height: var(--tap); padding: 0 12px; border: 0; background: none; font-size: 15px; cursor: pointer; }
.seg > button + button { border-left: 1px solid var(--divider); }
.seg > [aria-pressed="true"], .seg > [aria-selected="true"] { color: var(--rubric-ink); background: var(--tint); box-shadow: inset 0 0 0 1px var(--rubric); }
.switch { position: relative; flex: none; width: 46px; height: 28px; border: 1.5px solid var(--divider); border-radius: 14px; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--muted); transition: left .15s; }
.switch-row[aria-checked="true"] .switch { border-color: var(--rubric); background: var(--tint); }
.switch-row[aria-checked="true"] .switch::after { left: 21px; background: var(--rubric); }
.menu-say { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.menu-link { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid var(--divider); color: var(--text); text-decoration: none; }
.menu-link small { color: var(--muted); font-size: 14px; font-variant-numeric: lining-nums tabular-nums; }
.menu-who { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; color: var(--muted); font-size: 15px; }
.account-signin { display: flex; flex-direction: column; }
.account-signin .account-msg { order: -2; min-height: 1.5em; margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.account-form { order: -1; display: grid; gap: 14px; }
.account-field { display: block; }
.account-field > span { display: block; margin-bottom: 6px; font: 600 11px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.account-field input { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--divider); border-radius: var(--radius-md); background: var(--bg); color: var(--text); font: 16px var(--font-body); }
.account-field input:focus { border-color: var(--rubric); outline: none; }
.account-pass { position: relative; display: block; }
.account-pass input { padding-right: 70px; }
.account-show { position: absolute; top: 2px; right: 2px; height: var(--tap); padding: 0 12px; border: 0; background: none; color: var(--rubric-ink); font: 600 14px var(--font-body); cursor: pointer; }
.account-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border: 1px solid var(--rubric); border-radius: var(--radius-md); background: var(--rubric); color: var(--bg); font: 600 17px var(--font-heading); cursor: pointer; }
.account-go:hover { background: var(--rubric-ink); border-color: var(--rubric-ink); }
.account-or { order: 1; display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; color: var(--muted); font-size: 14px; }
.account-or::before, .account-or::after { content: ""; flex: 1; height: 1px; background: var(--divider); }
.account-google { order: 2; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 10px; border: 1px solid var(--divider); border-radius: var(--radius-md); color: var(--text); font: 600 16px var(--font-body); text-decoration: none; }
.account-google:hover { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }
.account-alt { order: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin: 10px 0 0; }
.account-alt button { min-height: var(--tap); padding: 0; border: 0; background: none; color: var(--rubric-ink); font: 15px var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pk-filter { display: flex; align-items: center; gap: 8px; height: 48px; margin: 2px 0 12px; padding: 0 12px; border: 1px solid var(--divider); border-radius: var(--radius-md); background: var(--bg); color: var(--muted); }
.pk-filter:focus-within { border-color: var(--rubric); }
.pk-filter input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--text); font: 16px var(--font-body); outline: none; }
.pk-hit { display: flex; align-items: center; gap: 10px; min-height: 52px; margin: 0 0 12px; padding: 0 14px; border-radius: var(--radius-md); background: var(--tint); color: var(--rubric-ink); font: 600 20px var(--font-heading); font-variant-numeric: lining-nums; text-decoration: none; }
.pk-hit small { margin-left: auto; font: 400 13px var(--font-body); color: var(--muted); }
.pk-tabs { display: grid; width: 100%; margin-bottom: 4px; }
.pk-group { margin: 16px 0 2px; }
.pk-books-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.picker-book { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; border-bottom: 1px solid var(--divider); color: var(--text); text-decoration: none; }
.picker-book small { color: var(--muted); font-size: 13px; font-variant-numeric: lining-nums tabular-nums; }
.picker-book.is-here { color: var(--rubric-ink); }
.picker-book:focus-visible { outline-offset: -2px; }
.layer-picker.is-filtering .pk-tabs, .layer-picker.is-filtering .pk-group { display: none; }
.pk-none { color: var(--muted); }
.pk-back { text-decoration: none; }
.pk-name { margin: 2px 0 0; font: 600 34px/1.1 var(--font-heading); }
.pk-read { min-height: 1.5em; margin: 2px 0 14px; color: var(--muted); font-size: 15px; font-variant-numeric: lining-nums; }
.layer-picker .chapter-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.layer-picker .chapter-grid a { height: 56px; font-size: 18px; }
.pk-open { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: 10px; }
.fn-pop > summary, .fn-pop:not([open]) { display: none; }
.fn-pop { position: absolute; z-index: 45; width: 260px; max-width: calc(100vw - 16px); padding: 2px 4px 14px 16px; background: var(--raised); border: 1px solid var(--divider); border-radius: var(--radius-lg); box-shadow: var(--shadow); font-size: 15px; line-height: 1.5; font-variant-numeric: lining-nums; animation: layer-fade .12s ease; }
.fn-pop::before { content: ""; position: absolute; top: -6px; left: var(--caret-x, 24px); width: 10px; height: 10px; background: var(--raised); border-left: 1px solid var(--divider); border-top: 1px solid var(--divider); transform: rotate(45deg); }
.fn-pop.is-above::before { top: auto; bottom: -6px; transform: rotate(225deg); }
.fn-pop-head { display: flex; align-items: center; justify-content: space-between; }
.fn-pop-text { margin: 0 12px 0 0; }
.verse { cursor: pointer; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.verse:focus-visible { outline: 2px solid var(--rubric); outline-offset: 1px; }
.verse.is-selected { background: var(--tint); box-shadow: 0 0 0 2px var(--tint); }
.panel-text { margin: 4px 0 14px; color: var(--muted); font-size: 15px; font-style: italic; line-height: 1.55; }
.panel-sec { padding: 12px 0 4px; border-top: 1px solid var(--divider); }
.panel-sec ol { list-style: none; margin: 8px 0 0; padding: 0; }
.panel-sec li { display: flex; gap: 8px; margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.panel-sec .fn-letter { font-style: italic; color: var(--rubric); }
.readmark .check { stroke: var(--bg); opacity: 0; }
.readmark[aria-pressed="true"] .read-ring .fill { fill: var(--rubric); stroke-dashoffset: 0; }
.readmark[aria-pressed="true"] .check { opacity: 1; }
.band p { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 18px; }
.band-go { display: inline-flex; align-items: baseline; gap: 10px; color: var(--text); text-decoration: none; }
.band-go .label { color: var(--rubric); }
.band-ref { font: 600 22px var(--font-heading); color: var(--rubric-ink); font-variant-numeric: lining-nums; }
.band-n { color: var(--muted); font-size: 15px; font-variant-numeric: lining-nums; }
.book-link[aria-expanded="true"] { color: var(--rubric-ink); }
.book-grid { list-style: none; padding: 14px 0 18px; }
.book-grid .chapter-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.grid-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.grid-key i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border: 1px solid transparent; border-radius: 2px; background: var(--surface); vertical-align: -1px; }
.grid-key .k-read i { background: var(--tint); }
.grid-key .k-here i { border-color: var(--rubric); }
.grid-key a { margin-left: auto; }
.yours { max-width: 1040px; margin: 0 auto; padding: 44px var(--gutter) 56px; }
.yours-head h1 { margin: 0; font: 400 50px/1.05 var(--font-heading); }
.yours-who { min-height: 1.5em; margin: 8px 0 26px; color: var(--muted); }
.lede { max-width: 34em; margin: 0; font-size: 17px; }
.benefits { display: grid; gap: 18px; list-style: none; margin: 22px 0 28px; padding: 0; }
.benefits li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; }
.benefits .icon { grid-row: span 2; color: var(--rubric); }
.benefits b { font: 600 20px var(--font-heading); }
.benefits span { color: var(--muted); font-size: 15px; }
.yours-go { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.signin-alt { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.yours-out .signin-alt { max-width: 420px; text-align: center; }
.yours-go .account-google { margin-top: 0; }
.yb-total { margin: 6px 0 14px; font-size: 16px; font-variant-numeric: lining-nums; }
.yb-group { margin: 18px 0 4px; }
.yb-books { list-style: none; margin: 0; padding: 0; }
.yb-book { display: grid; grid-template-columns: minmax(7em, 9em) minmax(0, 1fr) 4.5em; align-items: center; gap: 12px; min-height: 36px; font-size: 15px; }
.yb-book a { color: var(--text); text-decoration: none; }
.yb-book.is-unstarted a { color: var(--muted); }
.yb-bar { height: 3px; overflow: hidden; border-radius: 2px; background: var(--surface); }
.yb-bar i { display: block; width: 0; height: 100%; background: var(--rubric); }
.yb-n { color: var(--muted); text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.yb-marks { margin-top: 36px; }
.yb-list { list-style: none; margin: 10px 0 0; padding: 0; }
.yb-list li { border-bottom: 1px solid var(--divider); }
.yb-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; color: var(--text); font: 600 20px var(--font-heading); font-variant-numeric: lining-nums; text-decoration: none; }
.yb-list time { color: var(--muted); font: 400 14px var(--font-body); }
.yb-marks .myshelf-count { margin-left: 8px; letter-spacing: .08em; }
.resume { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 1.2em; padding: 10px 14px; border: 1px solid var(--divider); border-radius: var(--radius-md); font: 400 15px/1.4 var(--font-body); font-variant-numeric: lining-nums; }
.resume-go { min-height: var(--tap); padding: 0 14px; border: 1px solid var(--rubric); border-radius: var(--radius-md); background: none; color: var(--rubric-ink); font: 600 16px var(--font-heading); cursor: pointer; }
.resume-far { color: var(--muted); }
.resume-no { margin-left: auto; min-height: var(--tap); border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.yb-none { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) {
  .layer { border: 1px solid var(--divider); border-radius: var(--radius-lg); animation-name: layer-fade; animation-duration: .12s; }
  .layer::before { display: none; }
  .menu[open] > .scrim, .picker[open] > .scrim { display: none; }
  .layer-menu { top: calc(var(--header-h) - 6px); right: 16px; bottom: auto; left: auto; width: 360px; max-height: calc(100vh - var(--header-h) - 24px); padding: 4px 20px 16px; }
  .layer-picker { top: calc(var(--header-h) - 6px); bottom: auto; left: 50%; right: auto; width: 600px; max-height: calc(100vh - var(--header-h) - 24px); padding: 4px 24px 20px; transform: translateX(-50%); }
  .layer-dialog { top: 50%; bottom: auto; left: 50%; right: auto; width: 420px; max-height: 90vh; padding: 8px 28px 28px; transform: translate(-50%, -50%); }
  .layer-panel { top: var(--header-h); bottom: 0; left: auto; right: 0; width: 440px; max-height: none; padding: 8px 28px 28px; border-width: 0 0 0 1px; border-radius: 0; box-shadow: none; }
  .panel-open main { margin-right: 440px; }
  .layer-picker .chapter-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .layer-picker .chapter-grid a { height: 48px; font-size: 16px; }
  .pk-books-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .group > .book-grid { padding-top: 8px; }
  .book-grid .chapter-grid { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); }
  .yours { padding-top: 64px; }
  .yours-head h1 { font-size: 64px; }
  .yours-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 72px; }
  .yb-marks { margin-top: 0; }
}
.chapter.is-following p[id] { color: var(--muted); cursor: pointer; }
::highlight(polis-said-0) { color: var(--text); background-color: var(--tint); text-decoration: underline 2px var(--rubric); }
::highlight(polis-said-1) { color: color-mix(in srgb, var(--text) 90%, var(--muted)); }
::highlight(polis-said-2) { color: color-mix(in srgb, var(--text) 80%, var(--muted)); }
::highlight(polis-said-3) { color: color-mix(in srgb, var(--text) 70%, var(--muted)); }
::highlight(polis-said-4) { color: color-mix(in srgb, var(--text) 60%, var(--muted)); }
::highlight(polis-said-5) { color: color-mix(in srgb, var(--text) 50%, var(--muted)); }
::highlight(polis-said-6) { color: color-mix(in srgb, var(--text) 40%, var(--muted)); }
::highlight(polis-said-7) { color: color-mix(in srgb, var(--text) 30%, var(--muted)); }
::highlight(polis-said-8) { color: color-mix(in srgb, var(--text) 20%, var(--muted)); }
::highlight(polis-said-9) { color: color-mix(in srgb, var(--text) 10%, var(--muted)); }
.hd-search { position: relative; display: flex; align-items: center; }
.hd-search .search { display: none; }
.search-close { display: none; }
.is-searching .hd-search .search { position: fixed; inset: 0; z-index: 60; display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; gap: 4px 8px; padding: 6px 8px 0 16px; background: var(--bg); overflow: auto; }
.is-searching .search-close { display: grid; }
.is-searching body { overflow: hidden; }
.search > .icon { color: var(--muted); flex: none; }
.search input[type="search"] { flex: 1 1 0; min-width: 0; height: var(--tap); padding: 0 8px; border: 0; border-bottom: 1px solid var(--divider); background: none; color: var(--text); font: 400 17px var(--font-body); }
.search input[type="search"]:focus-visible { outline: none; border-bottom-color: var(--rubric); }
#results { flex: 1 0 100%; list-style: none; margin: 8px -8px 0 -16px; padding: 0 0 24px; }
#results[hidden] { display: none; }
#results .res-head { padding: 14px 16px 6px; font: 600 11px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#results a { display: block; padding: 10px 16px; color: var(--text); text-decoration: none; font: 600 18px/1.3 var(--font-heading); font-variant-numeric: lining-nums; }
#results a[aria-selected="true"], #results a:hover { background: var(--tint); }
#results .res-go a { color: var(--rubric-ink); font-size: 21px; }
#results .res-text a, #results .res-more a { font: 400 15px/1.4 var(--font-body); color: var(--rubric-ink); }
#results .res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; padding: 4px 16px 8px; }
#results .res-grid a { height: 44px; display: grid; place-items: center; padding: 0; background: var(--surface); border-radius: var(--radius-sm); font: 400 15px var(--font-body); font-variant-numeric: lining-nums tabular-nums; }
#results .res-none, #results .res-widened { padding: 12px 16px; color: var(--muted); font-size: 15px; }
.res-note { margin-left: 8px; font: 400 13px var(--font-body); color: var(--muted); }
.res-why { margin-left: 8px; font: 400 13px var(--font-body); color: var(--muted); }
.res-line { display: block; margin-top: 3px; font: 400 15px/1.5 var(--font-body); color: var(--muted); font-variant-numeric: oldstyle-nums; }
.res-line b { font-weight: inherit; color: var(--text); background: var(--tint); text-decoration: underline 2px var(--rubric); text-underline-offset: 3px; }
.search-page { max-width: 1040px; margin: 0 auto; padding: 32px var(--gutter) 48px; }
.search-title { margin: 0 0 16px; font: 400 44px/1.1 var(--font-heading); }
.search-big { margin: 0 0 24px; }
.search-big input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--divider); border-radius: var(--radius-md); background: var(--raised); color: var(--text); font: 400 18px var(--font-body); }
.search-big input:focus-visible { outline: 2px solid var(--rubric); outline-offset: 1px; }
.search-none { color: var(--muted); }
.search input[type="search"]::-webkit-search-cancel-button, .search-big input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.res-count { margin: 0 0 16px; font: 600 22px/1.3 var(--font-heading); font-variant-numeric: lining-nums; }
.res-widened { margin: -8px 0 16px; color: var(--muted); font-size: 15px; }
.res-filters { margin: 0 0 20px; }
.res-sections { display: grid; margin-bottom: 12px; }
.res-sections > button { padding: 0 6px; font-size: 13px; white-space: nowrap; }
.res-n { margin-left: 6px; color: var(--muted); font-size: 13px; font-variant-numeric: lining-nums tabular-nums; }
.res-books { display: flex; gap: 6px; overflow-x: auto; list-style: none; margin: 0; padding: 0 0 6px; }
.res-books button { min-height: 40px; padding: 0 12px; white-space: nowrap; border: 1px solid var(--divider); border-radius: var(--radius-md); background: none; font-size: 14px; cursor: pointer; }
.res-books button[aria-pressed="true"] { border-color: var(--rubric); color: var(--rubric-ink); background: var(--tint); }
.res-book { margin: 0 0 28px; }
.res-book h2 { margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--divider); font: 600 12px/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--rubric-ink); }
.res-book ul { list-style: none; margin: 0; padding: 0; }
.res-book a { display: block; padding: 10px 0; border-bottom: 1px solid var(--divider); color: var(--rubric-ink); text-decoration: none; font: 600 18px/1.3 var(--font-heading); font-variant-numeric: lining-nums; }
.res-book a:hover .res-line { color: var(--text); }
.res-more-btn { min-height: 48px; padding: 0 20px; border: 1px solid var(--divider); border-radius: var(--radius-md); background: none; font: 600 17px var(--font-heading); cursor: pointer; }
.search-page-body .hd-search { display: none; }
@media (min-width: 900px) {
  .search-open { display: none; }
  .hd-search .search { display: flex; align-items: center; gap: 6px; width: 300px; height: 40px; padding: 0 10px; border: 1px solid var(--divider); border-radius: var(--radius-md); background: var(--raised); }
  .hd-search .search input[type="search"] { height: 38px; border: 0; font-size: 15px; }
  .hd-search .search:focus-within { border-color: var(--rubric); }
  .hd-search .search-close { display: none; }
  .is-searching .hd-search .search { position: static; display: flex; padding: 0 10px; overflow: visible; background: var(--raised); }
  .is-searching .search-close { display: none; }
  .is-searching body { overflow: auto; }
  #results { position: absolute; z-index: 55; top: calc(100% + 6px); right: 0; width: 420px; max-height: calc(100vh - var(--header-h) - 24px); overflow: auto; margin: 0; padding: 6px 0; background: var(--raised); border: 1px solid var(--divider); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
  .search-page-body .hd-search { display: flex; }
  #search-results { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 48px; align-items: start; }
  .res-count, .res-widened, #search-results > .search-none { grid-column: 1 / -1; }
  .res-filters { position: sticky; top: calc(var(--header-h) + 16px); margin: 0; }
  .res-sections { grid-auto-flow: row; }
  .res-sections > button + button { border-left: 0; border-top: 1px solid var(--divider); }
  .res-sections > button { display: flex; justify-content: space-between; align-items: center; padding: 0 12px; font-size: 14px; text-align: left; }
  .res-books { flex-direction: column; overflow: visible; }
  .res-books button { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; border-radius: var(--radius-sm); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
