/* rfrmd v2: warm paper, refined. One set of tokens, one button style. */
@font-face { font-family: 'Source Serif 4'; src: url('/fonts/ss4-latin.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/fonts/ss4-latin-ext.woff2') format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; src: url('/fonts/ss4-italic-latin.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('/fonts/lit-latin.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('/fonts/lit-latin-ext.woff2') format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Literata'; src: url('/fonts/lit-greek.woff2') format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: 'Literata'; font-style: italic; src: url('/fonts/lit-italic-latin.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Literata'; font-style: italic; src: url('/fonts/lit-italic-latin-ext.woff2') format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Literata'; font-style: italic; src: url('/fonts/lit-italic-greek.woff2') format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }

:root[data-font="literata"] { --read: 'Literata', Georgia, 'Times New Roman', serif; }
:root[data-font="sans"] { --read: var(--sans); }
:root {
 --paper: #faf8f4;
 --paper-2: #f4efe6;
 --card: #ffffff;
 --ink: #262626;
 --ink-2: #5c5348;
 --ink-3: #8a7e6e;
 --rule: #ece5d9;
 --rule-2: #ddd4c5;
 --accent: #b85a0a;
 --accent-wash: #fbe9d6;
 --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
 --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
 --read: var(--serif);   /* the Scripture text's face: More › Settings › Font */
 --text-size: 19px;
 --measure: 36em;
 --radius: 10px;
 --bar-h: 56px;
 color-scheme: light;
}
@media (prefers-color-scheme: dark) {
 :root:not([data-theme="light"]) {
  --paper: #14110d; --paper-2: #1c1813; --card: #211c16;
  --ink: #ece4d8; --ink-2: #c3b7a6; --ink-3: #95887a;
  --rule: #2e2820; --rule-2: #3a3228;
  --accent: #f0a25a; --accent-wash: #3a2614;
  color-scheme: dark;
 }
}
:root[data-theme="dark"] {
 --paper: #14110d; --paper-2: #1c1813; --card: #211c16;
 --ink: #ece4d8; --ink-2: #c3b7a6; --ink-3: #95887a;
 --rule: #2e2820; --rule-2: #3a3228;
 --accent: #f0a25a; --accent-wash: #3a2614;
 color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
 background: var(--paper); color: var(--ink);
 font-family: var(--sans); font-size: 16px; line-height: 1.5;
 -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
button, select { font: inherit; color: inherit; }
a { color: var(--accent); }

/* ---------- Frame: tab bar on a phone, sidebar on a wide screen ---------- */
.app { min-height: 100%; display: flex; }
.main { flex: 1; min-width: 0; padding-bottom: calc(var(--bar-h) + 24px + env(safe-area-inset-bottom)); }
.sidebar { display: none; }
.tabbar {
 position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
 display: flex; flex-wrap: wrap; background: var(--paper); border-top: 1px solid var(--rule);
 padding-bottom: env(safe-area-inset-bottom);
 transition: transform .25s ease;
}
.tab {
 flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
 padding: 6px 0 0; border: 0; background: none; color: var(--ink-3); font-size: 10.5px; cursor: pointer;
}
.tab svg { width: 22px; height: 22px; }
.tab[aria-current="page"] { color: var(--accent); }
.tabbar .stamp { flex-basis: 100%; }
.stamp { display: block; text-align: center; font-size: 11px; color: var(--ink-3); padding: 0 0 6px; font-variant-numeric: tabular-nums; }
.stamp.foot-stamp { text-align: center; font-size: 10px; padding: 0 12px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot-stamp a { color: inherit; text-decoration: none; }
.foot-stamp a:hover { text-decoration: underline; }
.side-foot .foot-stamp { white-space: normal; line-height: 1.5; padding: 0 10px; text-align: center; }
.side-foot .foot-stamp .fs-dot { display: none; }
.side-foot .foot-stamp a { display: block; }

body.reading .tabbar { display: none; }

@media (min-width: 900px) {
 .tabbar { display: none; }
 .main { padding-bottom: 40px; }
 .sidebar {
  display: flex; flex-direction: column; width: 220px; flex: none;
  position: sticky; top: 0; height: 100vh; height: 100dvh; padding: 22px 14px calc(14px + env(safe-area-inset-bottom));
  background: var(--paper-2); border-right: 1px solid var(--rule);
  transition: margin-left .25s ease;
 }
 .brand { font-family: var(--serif); font-size: 24px; letter-spacing: .12em; padding: 0 10px 18px; }
 .brand { display: flex; align-items: center; gap: 10px; }
 .brand-icon { width: 30px; height: 30px; border-radius: 7px; flex: none; }
 .side-tabs { display: flex; flex-direction: column; gap: 2px; }
 .side-tab {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 8px;
  background: none; color: var(--ink); font-size: 15px; text-align: left; cursor: pointer;
 }
 .side-tab svg { width: 20px; height: 20px; color: var(--ink-3); }
 .side-tab:hover { background: var(--accent-wash); }
 .side-tab[aria-current="page"] { background: var(--accent-wash); color: var(--accent); }
 .side-tab[aria-current="page"] svg { color: var(--accent); }
 .side-foot { margin-top: auto; }
 .side-foot .stamp { text-align: center; padding-left: 0; }
 /* While reading, the sidebar is a solid panel laid over the page, not part of the flow. */
 body.reading .sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; height: auto; z-index: 40; margin-left: 0;
  transform: translateX(-100%); transition: transform .25s ease; background: var(--paper-2);
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
 }
 body.reading.side-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .12); }
}

/* ---------- Pages ---------- */
.page { max-width: 760px; margin: 0 auto; padding: calc(22px + env(safe-area-inset-top)) 20px 20px; }
.page-title { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.2; margin: 0; }
.page-sub { color: var(--ink-3); font-size: 14px; margin: 2px 0 0; }
.label {
 font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3);
 margin: 26px 0 4px;
}
.list { list-style: none; margin: 0; padding: 0; }
.list-row {
 display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
 padding: 14px 0; border: 0; border-bottom: 1px solid var(--rule); background: none;
 font-family: var(--serif); font-size: 18px; text-align: left; cursor: pointer; color: var(--ink);
}
.list-row .mark { color: var(--rule-2); font-family: var(--sans); font-size: 18px; }
.list-row.done .mark { color: var(--accent); }
.card {
 display: block; width: 100%; text-align: left; cursor: pointer; margin-top: 28px;
 padding: 0; border: 0; background: none; color: var(--ink);
}
.card small { display: block; color: var(--ink-3); font-size: 13px; }
.card strong { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--accent); }
.note { color: var(--ink-3); font-size: 14px; margin-top: 20px; }
.groups { display: grid; gap: 0 36px; }
@media (min-width: 700px) { .groups { grid-template-columns: 1fr 1fr; } }

/* One button style */
.btn {
 display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; min-height: 36px;
 border: 1px solid var(--rule-2); border-radius: var(--radius); background: var(--card);
 color: var(--ink); font-size: 14px; cursor: pointer; text-decoration: none;
}
.btn.accent { color: var(--accent); }
.btn:disabled { opacity: .5; cursor: default; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.head-row.top { align-items: flex-start; }
.head-row.top .page-title { padding-top: 2px; }
.row.nowrap { flex-wrap: nowrap; flex-shrink: 0; }
.btn.icon-only { width: 40px; justify-content: center; padding: 7px 0; }
.btn.icon-only svg { width: 20px; height: 20px; }
.bible-head { margin-bottom: 16px; }

/* ---------- Bible: book grid (kept as v1 has it) and chapters ---------- */
.testament { margin: 18px 0 6px; }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
@media (min-width: 700px) { .book-grid { grid-template-columns: repeat(6, 1fr); } }

.book {
 padding: 7px 4px; border-radius: 5px; cursor: pointer; font-size: 12px; font-weight: 600; text-align: center;
 border: 1px solid color-mix(in srgb, var(--cat) 30%, var(--rule));
 border-left: 4px solid var(--cat);
 background: color-mix(in srgb, var(--cat) 12%, var(--card));
 color: var(--ink);
}
.book:hover { background: color-mix(in srgb, var(--cat) 22%, var(--card)); }
/* Phone: tighter, so all 66 books fit above the tab bar on an iPhone (John, 2026-11-18) */
@media (max-width: 699px) {
 .bible-page { padding-top: calc(12px + env(safe-area-inset-top)); }
 .bible-head { margin-bottom: 10px; }
 .book-grid { gap: 4px; }
 .book { padding-top: 5px; padding-bottom: 5px; }
}
.chap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; margin-top: 16px; }
.chap {
 padding: 11px 0; border-radius: 8px; border: 1px solid var(--rule); background: var(--card);
 font-size: 15px; cursor: pointer; text-align: center; color: var(--ink);
}
.chap.here { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 600; }

/* ---------- Reading: the chapter is the page ---------- */
/* At rest nothing but the text and the small version line. A tap brings the controls up
   on the page colour, with no bars or outlines, and they fade away on their own. */
.read-top, .read-bottom {
 position: fixed; left: 0; right: 0; z-index: 15; background: var(--paper);
 opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.read-top {
 top: 0; padding: calc(6px + env(safe-area-inset-top)) 10px 6px;
 display: flex; align-items: center; gap: 4px; flex-wrap: wrap; transform: translateY(-8px);
}
.read-bottom { bottom: 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateY(8px); }
body.controls .read-top, body.controls .read-bottom { opacity: 1; pointer-events: auto; transform: none; }
.read-bottom .bar, .text-end {
 display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
 max-width: var(--measure); margin: 0 auto; padding: 8px 16px 0;
}
.read-bottom .bar > :first-child, .text-end > :first-child { justify-self: start; text-align: left; }
.read-bottom .bar > :last-child, .text-end > :last-child { justify-self: end; text-align: right; }
.read-stamp {
 position: fixed; left: 0; right: 0; bottom: 0; z-index: 16; pointer-events: none;
 padding: 3px 0 calc(4px + env(safe-area-inset-bottom)); background: var(--paper);
}
@media (min-width: 900px) {

}
.grow { flex: 1; }
.plain {
 border: 0; background: none; color: var(--accent); cursor: pointer; font-size: 15px;
 padding: 8px 6px; min-height: 40px; font-family: var(--sans);
}
.plain.strong { font-weight: 600; }
.plain-select {
 -webkit-appearance: none; appearance: none; border: 0; background: none; color: var(--accent);
 font-size: 15px; padding: 8px 6px; cursor: pointer; font-family: var(--sans);
}
.size-row { flex-basis: 100%; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 0 6px 6px; }
.opt-line { display: flex; align-items: center; gap: 4px; }
.opt-label { font-size: 13px; color: var(--ink-3); margin-right: 6px; min-width: 56px; text-align: right; }
.range-end { font-size: 11px; color: var(--ink-3); }
.margin-range { width: 140px; accent-color: var(--accent); margin: 0 6px; }
.size-row[hidden] { display: none; }
.plain.size { color: var(--ink); min-width: 34px; }
.plain.size.on { color: var(--accent); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.icon-btn {
 display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
 border: 0; background: none; color: var(--accent); cursor: pointer; border-radius: 8px; padding: 0 6px;
}
.icon-btn svg { width: 24px; height: 24px; }
.text {
 max-width: var(--measure); margin: 0 auto; padding: calc(60px + env(safe-area-inset-top)) 22px 64px;
 font-family: var(--read); font-size: var(--text-size); line-height: 1.7;
}
.text-head { margin: 0 0 1.4em; }
.text-head h1 { font-family: var(--read); font-weight: 600; font-size: 1.5em; line-height: 1.2; margin: 0; }
.text-meta { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.text h2 { font-family: var(--read); font-size: 1.15em; font-weight: 600; margin: 1.4em 0 .2em; }
.text h3 {
 font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
 color: var(--ink-3); margin: 1.6em 0 .4em;
}
.text p { margin: 0 0 .9em; }
.text sup { font-family: var(--sans); font-size: .55em; color: var(--accent); margin-right: .15em; font-weight: 600; }
.text .chapnum { float: left; font-size: 2.6em; line-height: .9; margin: .08em .12em 0 0; color: var(--accent); font-weight: 600; }
.text .muted { color: var(--ink-3); font-family: var(--sans); font-size: 15px; }
.text-end {
 margin-top: 2.4em; padding: 1em 0 0; border-top: 1px solid var(--rule);
 display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
}
.text-end .mark-line { flex-basis: 100%; text-align: center; }
.text-end .plain { max-width: 48%; }

/* Pages: the text box is fixed between a top gap and the version strip; the flow inside
   is laid out in columns one page wide and moved a page at a time. */
body.paged { overflow: hidden; overscroll-behavior: none; }
body.paged .text {
 position: fixed; top: calc(env(safe-area-inset-top) + 28px); bottom: calc(env(safe-area-inset-bottom) + 36px);
 left: 50%; transform: translateX(-50%); width: min(100vw, calc(var(--measure) + 68px)); /* JS sets the exact width */
 max-width: none; margin: 0; padding: 0; overflow: hidden; touch-action: pinch-zoom;
}
body.paged .flow { height: 100%; column-fill: auto; will-change: transform; }
body.paged .flow h2, body.paged .flow h3, body.paged .text-head { break-after: avoid; }
body.paged .flow p { orphans: 2; widows: 2; }
body.paged .text-end, body.paged .qa .q { break-inside: avoid; }
body.paged .text-end { margin-top: 1.6em; }
.page-no {
 position: fixed; right: 16px; bottom: calc(4px + env(safe-area-inset-bottom)); z-index: 17;
 font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; pointer-events: none;
}
.layout-switch { display: inline-flex; }
.layout-switch.sep { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--rule); }
.layout-switch .plain { color: var(--ink-3); }
.layout-switch .plain.on { color: var(--accent); font-weight: 600; }

/* Justified prose, hyphenated as a printed page is; headings, poetry and the ends stay ragged. */
body.justify .text p, body.justify .esv p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 6 3 3; }
body.justify .text .text-end, body.justify .esv .block-indent, body.justify .esv p:last-child { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
/* Poetry: each line its own, turned lines indented, the verse number hanging in the margin. */
.poem { margin: 0 0 .9em; }
.poem .vl { margin: 0; }
.poem .vl.stanza { margin-top: .7em; }
.poem .ln { display: block; padding-left: 1.6em; text-indent: -1.6em; text-align: left; }
.poem .ln.ind { padding-left: 3.1em; }
.poem sup { display: inline-block; min-width: 1.6em; text-indent: 0; margin-right: 0; vertical-align: super; }
.poem .chapnum { float: none; display: inline-block; font-size: 1.5em; line-height: 1; min-width: 1.1em; margin: 0 .15em 0 0; text-indent: 0; }
/* A verse may break between its lines, as in a printed Bible; one line never splits from itself. */
body.paged .poem .ln { break-inside: avoid; }

.book-run { margin-top: 2em; }
.book-title { font-family: var(--read); font-weight: 600; font-size: 1.5em; line-height: 1.2; margin: 0 0 1em; text-align: center; break-after: avoid; }

/* The book's introduction, from the Reformed Biblical Compendium. */
.intro { font-family: var(--sans); font-size: .82em; line-height: 1.55; margin: 0 0 1.8em; padding-bottom: 1.2em; border-bottom: 1px solid var(--rule); }
.intro-kicker { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.intro-title { font-family: var(--read); font-style: italic; font-size: 1.35em; color: var(--accent); margin: .15em 0 .4em; }
.intro-meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0 0 .8em; color: var(--ink-2); }
.intro-meta dt { color: var(--ink-3); }
.intro-meta dd { margin: 0; }
.intro p { margin: 0 0 .8em; text-align: left !important; hyphens: manual !important; }
.intro-outline { list-style: none; margin: 0; padding: 0; }
.intro-outline li { display: grid; grid-template-columns: 4.2em 1fr; gap: 8px; padding: 2px 0; break-inside: avoid; }
.intro-outline .oc { color: var(--accent); font-variant-numeric: tabular-nums; }
.intro-outline button { all: unset; display: contents; cursor: pointer; }
/* Put into the text on a tap: set apart as a quiet card, and a tap on it takes it out. */
/* In pages it begins at the top of the page it was opened on. */
body.paged .intro.inline { break-before: column; }
.intro.inline { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; margin: .4em 0 1.2em; cursor: pointer; }
.intro.inline .intro-outline button { cursor: pointer; }

/* Study: verse numbers become taps; a verse's notes sit under it as a card. */
/* In Study, the verses the Confession cites keep the orange; the rest take the text colour. Every number opens its notes. */
body.study .text sup[data-ref], body.study .text .esv .verse-num { cursor: pointer; padding: 0 2px; position: relative; color: var(--ink-2); }
body.study .text sup[data-ref].cited { color: var(--accent); }
/* A fingertip-sized target round each small verse number, without moving a line. */
body.study .text sup[data-ref]::after, body.study .text .esv .verse-num::after { content: ''; position: absolute; left: -10px; right: -10px; top: -14px; bottom: -10px; }
.study-btn { color: var(--ink-3); }
/* A verse moved to the top of a column so its card shows beneath it. */
body.paged .study-top { break-before: column; }
.back-chip {
 position: fixed; left: 12px; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 18;
 border: 1px solid var(--rule-2); background: var(--card); color: var(--accent); border-radius: 16px;
 padding: 6px 12px; font-size: 14px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.study-btn.on { color: var(--accent); font-weight: 600; }
.hint {
 position: fixed; left: 50%; bottom: calc(40px + env(safe-area-inset-bottom)); transform: translate(-50%, 8px); z-index: 70;
 background: var(--ink); color: var(--paper); font-size: 14px; padding: 8px 14px; border-radius: 18px;
 opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px);
}
.hint.show { opacity: .92; transform: translate(-50%, 0); }
body.study .text .chapnum[data-ref], body.study .text .esv .chapter-num { cursor: pointer; }
.study-on { background: var(--accent-wash); border-radius: 3px; }
.study-card {
 font-family: var(--sans); font-size: .78em; line-height: 1.5; text-align: left; hyphens: manual;
 background: var(--paper-2); border: 1px solid var(--rule); border-radius: 10px; padding: 10px 14px 12px; margin: .3em 0 1em;
}
.study-card .sc-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--serif); font-size: 1.15em; color: var(--accent); }
.study-card .sc-close { color: var(--ink-3); min-height: 28px; padding: 2px; }
.study-card .sc-close svg { width: 18px; height: 18px; }
.study-card .sc-sec { margin-top: 8px; }
.study-card .sc-label { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
/* Study's sections fold (0.42.0): a chevron at the left, turned down when open; a dot when there is nothing. */
.sc-fold { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; margin: 0 0 3px; font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); cursor: pointer; text-align: left; }
.sc-chev { width: 10px; height: 10px; flex: none; display: inline-block; position: relative; }
.sc-chev::before { content: ''; position: absolute; left: 1px; top: 1px; width: 5px; height: 5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s ease-out; }
.sc-sec.shut .sc-chev::before { transform: rotate(-45deg); left: 0; top: 2.5px; }
.sc-sec.empty .sc-chev::before { border: 0; width: 5px; height: 5px; border-radius: 50%; background: currentColor; transform: none; left: 2px; top: 3px; }
.sc-sec.shut .sc-body, .sc-sec.empty .sc-body { display: none; }
.sc-sec.empty .sc-fold { cursor: default; }
.study-card .sc-refs { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.study-card .sc-ref { border: 1px solid var(--rule-2); background: var(--card); color: var(--accent); border-radius: 6px; padding: 3px 7px; font-size: 13px; cursor: pointer; }
.study-card .sc-sub { font-weight: 600; color: var(--ink-2); }
.study-card .sc-text { margin: 2px 0 6px !important; text-align: left !important; hyphens: manual !important; color: var(--ink); }
.study-card .sc-more { font-size: inherit; min-height: 0; padding: 0; }
.study-card .sc-note, .study-card .muted-s { color: var(--ink-3); font-size: 12px; }

/* Highlights and notes */
.vt[data-hl] { border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.vt[data-hl="yellow"], .sw[data-c="yellow"], .hl-dot[data-c="yellow"] { background: rgba(250, 214, 80, .45); }
.vt[data-hl="green"], .sw[data-c="green"], .hl-dot[data-c="green"] { background: rgba(120, 200, 120, .38); }
.vt[data-hl="blue"], .sw[data-c="blue"], .hl-dot[data-c="blue"] { background: rgba(110, 170, 240, .36); }
.vt[data-hl="pink"], .sw[data-c="pink"], .hl-dot[data-c="pink"] { background: rgba(240, 130, 170, .36); }
.vt[data-hl="orange"], .sw[data-c="orange"], .hl-dot[data-c="orange"] { background: rgba(240, 150, 60, .40); }
.note-mark { color: var(--accent); cursor: pointer; font-family: var(--sans); font-size: .62em; margin-left: .15em; padding: 0 3px; position: relative; }
.note-mark::after { content: ''; position: absolute; inset: -12px -10px -8px; }
.sc-annot { margin: 6px 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.sc-swatches { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule-2); cursor: pointer; padding: 0; }
.sw[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw-off { font-size: 12px; min-height: 26px; padding: 0 4px; color: var(--ink-3); }
.sc-noteitem { margin-top: 8px; }
.sc-notetext { cursor: text; padding: 4px 6px; border-radius: 6px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); white-space: normal; }
.sc-addnote { font-size: 13px; min-height: 30px; padding: 4px 0; margin-top: 4px; }
.sc-file { font-size: 11px; color: var(--ink-3); }
.sc-editor textarea { width: 100%; font: inherit; font-size: 15px; padding: 8px; border: 1px solid var(--rule-2); border-radius: 8px; background: var(--card); color: var(--ink); margin: 6px 0; resize: vertical; }
.sc-editor .btn { min-height: 32px; padding: 4px 12px; font-size: 13px; }
.nb-row { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.nb-active input { width: 18px; height: 18px; accent-color: var(--accent); }
.nb-name { font-family: var(--serif); font-size: 18px; }
.nb-meta { font-size: 13px; color: var(--ink-3); }
.nb-show, .nb-acts { grid-column: 2; justify-self: start; }
.nb-acts .plain { font-size: 14px; padding: 4px 8px 4px 0; min-height: 30px; }
.nb-acts .plain[data-delete] { color: var(--ink-3); }
.hl-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; }
.list-row small { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-left: 6px; }

/* A phone: the reading controls stay on one line. */
@media (max-width: 480px) {
 .read-top { gap: 0; padding-left: 4px; padding-right: 4px; flex-wrap: nowrap; }
 .read-top .size-row { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 6px 10px 10px; border-bottom: 1px solid var(--rule); box-shadow: 0 8px 16px rgba(0, 0, 0, .06); }
}

/* ESV, as the site's server returns it */
.esv h2 { display: none; }
.esv h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin: 1.6em 0 .4em; }
.esv .chapter-num { font-family: var(--sans); font-size: .7em; color: var(--accent); font-weight: 600; margin-right: .2em; }
.esv .verse-num { font-family: var(--sans); font-size: .55em; color: var(--accent); vertical-align: super; font-weight: 600; margin-right: .1em; }
.esv h4.psalm-title { font-weight: 400; font-style: italic; font-size: 1em; margin: 0 0 .6em; }
/* Poetry: each line on its own line, turned lines indented, no doubled spacing. */
.esv br { display: none; }
.esv .line { display: block; padding-left: 1.6em; text-indent: -1.6em; }
.esv .indent.line { padding-left: 3em; }
.esv .begin-line-group { display: block; height: .5em; }
.esv .block-indent { margin: 0 0 .6em; }
.esv .copyright, .esv p:last-child a { color: var(--ink-3); font-family: var(--sans); font-size: 13px; text-decoration: none; }
.text .hit { background: var(--accent-wash); border-radius: 3px; }

/* Search */
.search-form { margin-top: 14px; }
.search-form input {
 width: 100%; font: inherit; font-size: 17px; padding: 11px 14px; border: 1px solid var(--rule-2);
 border-radius: var(--radius); background: var(--card); color: var(--ink);
}
.result {
 display: block; width: 100%; text-align: left; padding: 12px 0; border: 0; border-bottom: 1px solid var(--rule);
 background: none; color: var(--ink); cursor: pointer; font-family: var(--serif); font-size: 16px; line-height: 1.5;
}
.result strong { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
mark { background: var(--accent-wash); color: inherit; border-radius: 2px; padding: 0 1px; }

/* The Standards */
.list-row.small { font-size: 16px; padding: 11px 0; }
.list-row.small span:first-child { padding-right: 8px; }
.secnum { font-family: var(--sans); font-size: .7em; font-weight: 600; color: var(--accent); margin-right: .2em; }
.qa { margin: 0 0 1.4em; }
.qa .q { font-weight: 600; margin-bottom: .3em; }
.qa .a { margin: 0; }
.qa.hit { background: var(--accent-wash); border-radius: 6px; box-shadow: 0 0 0 8px var(--accent-wash); }
/* The Book of Church Order, as its own page writes it */
.doc-text .bco-sec { margin: 0 0 .9em; }
.doc-text .bco-sn, .doc-text .bco-pn, .doc-text .bco-rn { font-family: var(--sans); font-size: .7em; font-weight: 600; color: var(--accent); margin-right: .25em; }
.doc-text .bco-sub-hd { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin: 1.6em 0 .4em; }
.doc-text .bco-sub-item, .doc-text .bco-paren-item, .doc-text .bco-roman-item, .doc-text .bco-sub-num { padding-left: 1.4em; }
.doc-text .bco-si-letter, .doc-text .bco-sub-num-n { font-family: var(--sans); font-size: .8em; color: var(--accent); margin-right: .3em; }
.doc-text .bq, .doc-text .bco-bq { padding-left: 1.4em; }
.doc-text .bco-cont-sec, .doc-text .bco-cont-sub, .doc-text .bco-cont-paren { margin-top: -.4em; }
.doc-text a { color: var(--accent); }

/* ---------- Go to ---------- */
.picker { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .28); display: flex; align-items: flex-start; justify-content: center; padding: calc(12px + env(safe-area-inset-top)) 12px 12px; }
.picker[hidden] { display: none; }
.picker-sheet {
 width: min(980px, 100%); max-height: calc(100% - 8px); display: flex; flex-direction: column;
 background: var(--paper); border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); overflow: hidden;
}
.picker-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.picker-head .icon-btn { color: var(--ink-3); }
.picker-form { flex: 1; display: flex; gap: 8px; }
.picker-form input {
 flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 9px 12px; border: 1px solid var(--rule-2);
 border-radius: var(--radius); background: var(--card); color: var(--ink);
}
.picker-form input.bad { border-color: #c0392b; }
.picker-crumb { padding: 8px 16px 0; font-size: 14px; color: var(--ink-3); }
.picker-crumb .plain { padding: 4px 2px; min-height: 0; font-size: 14px; }
.picker-body { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; padding: 10px 14px 16px; overflow: auto; }
.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.pgrid.books { grid-template-columns: repeat(5, 1fr); }
.pnum {
 padding: 10px 0; border: 1px solid var(--rule); border-radius: 6px; background: var(--card); color: var(--ink);
 font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums;
}
.pnum.sel, .pgrid .book.sel { outline: 2px solid var(--accent); outline-offset: -2px; }
.pnum:hover { border-color: var(--accent); }
/* On a phone: one step at a time, books, then chapters, then verses. */
.picker.narrow .picker-body { grid-template-columns: 1fr; }
.picker.narrow[data-step="books"] #pChaps, .picker.narrow[data-step="books"] #pVerses,
.picker.narrow[data-step="chaps"] #pBooks, .picker.narrow[data-step="chaps"] #pVerses,
.picker.narrow[data-step="verses"] #pBooks, .picker.narrow[data-step="verses"] #pChaps { display: none; }
.picker.narrow .pgrid { grid-template-columns: repeat(5, 1fr); }
.picker.narrow .pgrid.books { grid-template-columns: repeat(4, 1fr); }
.goto { color: var(--ink); font-family: var(--serif); font-size: 17px; }
.title-btn { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.goto-side { margin-top: 10px; border-top: 1px solid var(--rule); border-radius: 0; padding-top: 14px; }

.history-sheet .picker-sheet { width: min(560px, 100%); }
.hist-title { font-family: var(--serif); font-size: 20px; }
.hist-clear { color: var(--ink-3); font-size: 14px; }
.hist-tabs { padding: 10px 14px 0; }
.hist-body { padding: 4px 16px 16px; overflow: auto; }
.hist-row small { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.hist-when { font-family: var(--sans); font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }

/* ---------- More ---------- */
.seg { display: inline-flex; border: 1px solid var(--rule-2); border-radius: var(--radius); overflow: hidden; }
.seg button { border: 0; background: var(--card); padding: 7px 12px; font-size: 14px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--rule-2); }
.seg button[aria-pressed="true"] { background: var(--accent-wash); color: var(--accent); }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.link-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-size: 16px; }
.link-row span:last-child { color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- The reading bar: one kind of control (2026-11-17) ----------
   Every control the same tap size, every icon the same size and weight, all in one quiet colour;
   Study alone takes the orange while it is on. */
.read-top { gap: 2px; }
.read-top .icon-btn { color: var(--ink-2); min-width: 44px; height: 44px; padding: 0 8px; }
.read-top .icon-btn svg { width: 22px; height: 22px; }
.read-top .icon-btn.on { color: var(--accent); }
.read-top .icon-btn.menu-open { background: var(--rule); }
.read-top .aa { font-family: var(--sans); font-size: 18px; font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.where { display: flex; align-items: center; min-width: 0; }
.read-top .goto {
 display: inline-flex; align-items: center; gap: 4px; min-width: 0; height: 44px; padding: 0 2px 0 6px;
 border: 0; background: none; cursor: pointer; color: var(--ink); font-family: var(--serif); font-size: 19px;
}
.goto-ref { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.read-top .goto .chev { width: 16px; height: 16px; flex: none; color: var(--ink-2); }
/* The translation: a small tag after the reference, well under the size of its numbers. */
.trans-tag {
 height: 44px; padding: 0 8px 0 6px; border: 0; background: none; cursor: pointer; flex: none;
 font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3);
}
.trans-tag.menu-open { color: var(--accent); }
.pop-menu {
 position: absolute; top: calc(100% - 4px); z-index: 30; min-width: 230px; max-width: calc(100vw - 16px);
 display: flex; flex-direction: column; padding: 6px;
 background: var(--card); border: 1px solid var(--rule-2); border-radius: 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}
.pop-item {
 display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 5px 12px; border: 0; border-radius: 8px;
 background: none; cursor: pointer; text-align: left; font-family: var(--sans); font-size: 16px; color: var(--ink);
}
.pop-item:hover, .pop-item:focus-visible { background: var(--rule); outline: none; }
.pop-item svg { width: 20px; height: 20px; flex: none; color: var(--ink-2); }
.pi-label { flex: 1; display: flex; flex-direction: column; }
.pi-label small { font-size: 12.5px; color: var(--ink-3); }
.pi-check { color: var(--accent); font-weight: 600; min-width: 12px; }
.read-top [data-more] svg { stroke-width: 3; }
@media (max-width: 480px) {
 .read-top { gap: 0; }
 .read-top .icon-btn { min-width: 38px; padding: 0 3px; }
 .read-top .goto { font-size: 17px; padding-left: 0; gap: 2px; }
 .read-top .goto .chev { width: 14px; height: 14px; }
 .trans-tag { padding: 0 4px 0 3px; }
}
/* The translation: a small rounded pill with the Bible emblem, so it reads as a button (John, 2026-11-17).
   The button keeps the full bar height for the finger; the pill inside is what shows. */
.trans-tag { display: inline-flex; align-items: center; }
.trans-tag .pill {
 display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 7px 0 7px;
 border: 1px solid var(--rule-2); border-radius: 13px; background: var(--card); color: var(--ink-2);
}
.trans-tag .pill svg:first-child { width: 14px; height: 14px; stroke-width: 2; color: var(--ink-2); flex: none; }
.trans-tag .chev { width: 12px; height: 12px; color: var(--ink-2); flex: none; }
.trans-tag:active .pill, .trans-tag.menu-open .pill { border-color: var(--accent); color: var(--accent); }
.trans-tag.menu-open .pill svg { color: var(--accent); }
/* A switch in a menu: grey icon with OFF beneath, or orange icon with ON beneath. The icon column is
   one width for every row, so all the labels line up. */
.pi-ic { width: 24px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.pi-state { font-size: 8px; line-height: 1; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); }
.pi-switch.is-on svg, .pi-switch.is-on .pi-state { color: var(--accent); }

/* ---------- Study: the verse sheet (0.15.0) ----------
   A verse's notes rise from the bottom with the verse at the top; the page behind does not move.
   A phone lets the sheet reach the top; a wider screen stops at two thirds; beyond that it scrolls. */
.vs-wrap { position: fixed; inset: 0; z-index: 45; }
.vs-wrap.over-bar { z-index: 55; }  /* the voice choice opens from the player bar (z 50) */
.vs-wrap[hidden] { display: none; }
.vs-scrim { position: absolute; inset: 0; background: rgba(20, 17, 13, .16); opacity: 0; transition: opacity .22s ease; }
.vs-wrap.open .vs-scrim { opacity: 1; }
.verse-sheet {
 position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 720px;
 max-height: calc(100% - env(safe-area-inset-top) - 10px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
 background: var(--paper); border-radius: 16px 16px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .16);
 padding: 4px 20px calc(22px + env(safe-area-inset-bottom));
 font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink);
 transform: translateY(100%); transition: transform .24s ease;
}
.vs-wrap.open .verse-sheet { transform: none; }
@media (min-width: 700px) { .verse-sheet { max-height: 66.6%; } }
.vs-grab { width: 40px; height: 5px; border-radius: 3px; background: var(--rule-2); margin: 6px auto 10px; }
.verse-sheet .study-card { font-size: 15px; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
.verse-sheet .sc-head { font-size: 19px; }
.verse-sheet .sc-head small { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); margin-left: 4px; }
.verse-sheet .sc-sec { margin-top: 14px; }
.vs-verse {
 font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink); text-align: left;
 margin: 6px 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--rule);
}
/* The verse stays lit on the page behind the sheet. */
.text .vt.verse-lit { background: var(--accent-wash); border-radius: 3px; box-shadow: 0 0 0 2px var(--accent-wash); }
/* Where a Matthew Henry comment begins: the verse number is underlined (Study). */
body.study .text sup[data-ref].mh-start, body.study .text .esv .verse-num.mh-start {
 text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px;
}
body.study .text .esv .verse-num.cited { color: var(--accent); }

/* ---------- The running head (0.15.1) ----------
   At rest the page shows only its running head: the reference, centred and small, and ⋯ at the right.
   The reference opens Go to; ⋯ brings up the whole bar with its menu. It gives way when the bar is up. */
.run-head {
 position: fixed; top: 0; left: 0; right: 0; z-index: 14; pointer-events: none;
 display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
 padding: calc(2px + env(safe-area-inset-top)) 6px 0; transition: opacity .2s ease;
}
body:not(.paged) .run-head { background: var(--paper); }
.run-head button { pointer-events: auto; border: 0; background: none; cursor: pointer; min-height: 40px; }
.run-ref {
 font-family: var(--serif); font-size: 14px; letter-spacing: .04em; color: var(--ink-3); padding: 0 12px;
 max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.run-more { justify-self: end; display: inline-flex; align-items: center; justify-content: center; width: 44px; color: var(--ink-3); }
.run-more svg { width: 22px; height: 22px; stroke-width: 3; }
body.controls .run-head { opacity: 0; }
body.controls .run-head button { pointer-events: none; }

/* ---------- Aa as a sheet (0.15.1) ---------- */
.opt-sheet .sc-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--serif); font-size: 19px; color: var(--accent); }
.opt-sheet .sc-close { color: var(--ink-3); min-height: 28px; padding: 2px; }
.opt-sheet .sc-close svg { width: 18px; height: 18px; }
.opt-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 0 4px; }
.opt-body .opt-line { flex-wrap: wrap; row-gap: 6px; }
.opt-body .opt-label { text-align: left; min-width: 70px; }
.opt-body .margin-range { width: 160px; }
.opt-body .layout-switch.sep { border-left: 0; margin-left: 0; padding-left: 0; }
.opt-body .layout-switch { flex-basis: 100%; }
.opt-body .opt-line:has(.layout-switch) { width: 100%; }
/* 0.35.1: every row of the sheet carries a label beside its choices */
.opt-body .opt-label + .layout-switch { flex-basis: auto; }
.opt-body .opt-label + .layout-switch + .layout-switch { flex-basis: auto; margin-left: 12px; }
/* Settings: the quiet foot under Help and about */
.set-foot { margin: 22px 0 8px; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-3); }
.set-foot p { flex-basis: 100%; margin: 0 0 4px; }
.set-foot a { color: var(--ink-3); }
.opt-body .opt-all { width: 100%; border-top: 1px solid var(--rule); padding-top: 8px; }
.opt-body .opt-all a { color: var(--accent); text-decoration: none; font-size: 15px; }

/* The running head sits left, where the bar's reference appears, so a tap grows it into the bar without a
   jump (John, 2026-11-17). The first column stands in for the back button. */
.run-head { grid-template-columns: 46px auto 1fr auto; padding-left: 10px; padding-right: 10px; }
.run-head > span { grid-column: 1; }
.run-ref { grid-column: 2; justify-self: start; padding: 0 6px; }
.run-more { grid-column: 4; }
@media (max-width: 480px) {
 .run-head { grid-template-columns: 38px auto 1fr auto; padding-left: 4px; padding-right: 4px; }
 .run-ref { padding: 0 2px 0 0; }
}

/* Slimmer top (John, 2026-11-17: "less padded ... so you could use more page"). The running head is all
   that shows at rest and ends where the page's text begins; the bar, shown only after a tap, is 40 tall with
   a smaller translation pill, so it covers as little of the first line as it can. */
.read-top { padding-top: calc(2px + env(safe-area-inset-top)); padding-bottom: 2px; }
.read-top .icon-btn, .read-top .goto, .trans-tag { height: 40px; }
.trans-tag .pill { height: 22px; padding: 0 5px; gap: 3px; border-radius: 11px; }
.trans-tag .pill svg:first-child { width: 13px; height: 13px; }
.trans-tag .chev { width: 11px; height: 11px; }
.run-head { padding-top: env(safe-area-inset-top); }
.run-head button { min-height: 28px; }
.run-ref { font-size: 13px; }
.run-more svg { width: 20px; height: 20px; }
/* Back hangs in the left margin, beside the reference, always there (John, 2026-11-17). It fills the margin
   to the screen's edge and reaches a little under the reference, so even a narrow margin is easy to hit. */
.run-back {
 grid-column: 1; justify-self: stretch; position: relative; display: flex; align-items: center; justify-content: flex-end;
 padding: 0 4px 0 0; color: var(--ink-3);
}
.run-back svg { width: 16px; height: 16px; stroke-width: 2.2; }
.run-back::after { content: ''; position: absolute; top: -4px; bottom: -6px; left: 0; right: -14px; }
.run-ref { position: relative; z-index: 1; }

/* The running head is a quiet copy of the bar with everything in the bar's places: back, the reference and ⋯
   never move when the bar comes and goes; a tap only adds the translation and enlarges the reference
   (John, 2026-11-17). Columns and padding match .read-top and its 44 (phone 38) wide buttons. */
.run-head { grid-template-columns: 44px auto 1fr 44px; column-gap: 2px; padding-left: 10px; padding-right: 10px; }
.run-back { justify-content: center; padding: 0; }
.run-back::after { right: 0; }
.run-ref { padding: 0 0 0 6px; }
.run-more { width: 44px; justify-content: center; }
@media (max-width: 480px) {
 .run-head { grid-template-columns: 38px auto 1fr 38px; column-gap: 0; padding-left: 4px; padding-right: 4px; }
 .run-ref { padding-left: 0; }
 .run-more { width: 38px; }
}
/* Same height and centre line as the bar, so nothing shifts up or down either. */
.run-head { padding-top: calc(2px + env(safe-area-inset-top)); }
.run-head button { min-height: 40px; }

/* With the keyboard up, a sheet fills what is left of the screen above it. */
.vs-wrap.kb .verse-sheet { max-height: calc(100% - 6px); padding-bottom: 12px; }

/* About and Support: reading pages in the app's own type. */
.about-page p { font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--ink); margin: 8px 0 12px; }
.about-page p.sig { color: var(--ink-2); }
.about-page a:not(.link-row):not(.btn) { color: var(--accent); }

/* Account */
.acct-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 8px 0 14px; }
.acct-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); }
.acct-form input { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--card); color: var(--ink); }
.acct-form .btn { align-self: flex-start; }
.acct-msg { min-height: 1.2em; font-size: 14px; color: var(--accent); margin: 0; }
.btn.danger { color: #b3261e; border-color: #e3b5b1; }

/* ---------- The Library (0.18.0) ---------- */
.coll { border: 1px solid var(--rule); border-radius: 12px; background: var(--card); margin: 10px 0 14px; overflow: hidden; }
.coll-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.coll-title { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.coll-sub { font-size: 13px; color: var(--ink-3); }
.coll .list { margin: 0; border-top: 1px solid var(--rule); }
.coll .list-row { padding-left: 14px; padding-right: 14px; }
details.coll > summary { list-style: none; cursor: pointer; }
details.coll > summary::-webkit-details-marker { display: none; }
.coll-count { display: block; padding: 0 14px 10px; font-size: 12px; color: var(--ink-3); margin-top: -6px; }
details.coll[open] .coll-count { display: none; }
.btn.small { min-height: 32px; padding: 4px 12px; font-size: 13px; white-space: nowrap; flex: none; }
.btn.kept { color: var(--ink-2); border-color: var(--rule); }
.art-row > span:first-child { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.art-row small { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.art-t { font-size: 16px; }
.link-row.quiet { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
/* An article */
.article-page { max-width: 720px; }
.art-head h1 { font-family: var(--serif); font-size: 30px; line-height: 1.2; font-weight: 500; margin: 6px 0 6px; color: var(--ink); }
.art-sub { font-family: var(--serif); font-size: 18px; color: var(--ink-2); margin: 0 0 8px; }
.art-tag { font-family: var(--serif); font-style: italic; color: var(--ink-3); margin: 0 0 18px; }
.art-body { font-family: var(--serif); font-size: var(--text-size, 19px); line-height: 1.65; color: var(--ink); }
.art-body p { margin: 0 0 1em; }
.art-body h2 { font-family: var(--serif); font-size: 1.3em; font-weight: 500; margin: 1.6em 0 .5em; }
.art-body h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin: 1.6em 0 .4em; }
.art-body blockquote, .art-body .callout { margin: 1em 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--paper-2, var(--card)); border-radius: 0 8px 8px 0; }
.art-body .callout-label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.art-body ul, .art-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.art-body table { width: 100%; border-collapse: collapse; font-size: .85em; display: block; overflow-x: auto; }
.art-body td, .art-body th { border-bottom: 1px solid var(--rule); padding: 6px 8px; text-align: left; vertical-align: top; }
.art-body hr { border: 0; border-top: 1px solid var(--rule); margin: 1.6em 0; }
.art-body a { color: var(--accent); }
.art-body a.sref { text-decoration: none; border-bottom: 1px dotted currentColor; }
.art-foot { margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 8px; }

/* Prayer on Today */
.label-row { display: flex; align-items: center; justify-content: space-between; }
.icon-btn.small-ic { min-width: 32px; height: 28px; color: var(--ink-3); }
.icon-btn.small-ic svg { width: 18px; height: 18px; }
.pray-group { margin-top: 6px; }
.opt-sheet-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--serif); font-size: 19px; color: var(--accent); }

/* ---------- Meditation (0.19.0) ---------- */
.med-day { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 6px 0 10px; }
.med-verse { font-family: var(--serif); font-size: 24px; line-height: 1.5; color: var(--ink); margin: 0 0 8px; padding: 0; border: 0; }
.med-verse .mw { font: inherit; color: inherit; }
.med-verse button.mw { border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink-3); letter-spacing: .05em; }
/* Memorising: a soft blank the width of the word, its first letter showing (0.23.0) */
.med-verse button.mw.hid { letter-spacing: 0; color: var(--ink-3); background: color-mix(in srgb, var(--ink) 9%, transparent); border-radius: 4px; padding: 0 2px; margin: 0 -2px; line-height: 1.25; }
.med-verse button.mw.hid .mw-gap { visibility: hidden; }

/* The day page (0.23.0): the seven days as marks, the verse at the centre */
.med-steps { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); margin: 14px 0 18px; padding: 0; position: relative; }
.med-steps::before { content: ''; position: absolute; left: 7%; right: 7%; top: 6px; height: 2px; background: var(--rule-2); }
.med-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.ms-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--rule-2); box-sizing: border-box; }
.ms-name { font-size: 10.5px; color: var(--ink-3); letter-spacing: .01em; white-space: nowrap; }
.med-steps li.done .ms-dot { background: var(--accent); border-color: var(--accent); }
.med-steps li.now .ms-dot { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.med-steps li.now .ms-name, .med-steps li.done .ms-name { color: var(--accent); }
.med-steps li.now .ms-name { font-weight: 600; }
.med-panel { margin: 0 0 6px; padding: 22px 20px 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; }
.med-panel .med-verse { font-size: 25px; line-height: 1.55; margin: 0 0 12px; }
.med-panel .med-ref { margin: 0; }
.med-memo { margin: 6px 2px 0; font-size: 13px; }
.med-step { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 22px 0 4px; }
.med-page .med-prompt { margin-top: 0; }
.med-sit { margin: 0 0 6px; }
.med-timer { height: 3px; border-radius: 2px; background: var(--rule); margin-top: 10px; overflow: hidden; }
.med-timer span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s linear; }
.med-saved { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.med-thought { width: 100%; box-sizing: border-box; font-family: var(--serif); font-size: 17px; line-height: 1.5; padding: 10px 12px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--card); color: var(--ink); resize: vertical; }
.med-close, .med-done { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 8px; }
.med-done p { margin: 0; flex-basis: 100%; font-family: var(--serif); font-size: 17px; color: var(--ink-2); }
.med-skip { font-size: 14px; color: var(--ink-3); padding-left: 0; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; padding: 9px 18px; }
:root[data-theme="dark"] .btn.primary, .dark .btn.primary { color: #14110d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary { color: #14110d; } }
.med-opt-note { display: block; font-size: 12.5px; margin-top: 2px; }
.med-ref { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.med-prompt { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--ink-2); line-height: 1.5; margin: 12px 0 16px; }
.med-acts { margin-bottom: 8px; }
.med-earlier { margin: 10px 0; font-size: 15px; color: var(--ink-2); }
.med-earlier summary { cursor: pointer; color: var(--accent); }
.med-words { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 6px 0 14px; }
.med-word { font-family: var(--serif); font-size: 18px; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); border-radius: 18px; padding: 6px 14px; cursor: pointer; }
.med-pick > span { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.med-pick small { font-family: var(--serif); font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.med-planted { padding: 12px 0; border-bottom: 1px solid var(--rule); list-style: none; }
.med-planted.due strong { color: var(--accent); }
.mp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mp-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.mp-review { margin-top: 10px; }
.sc-med { font-size: 14px; padding: 0 0 8px; min-height: 0; }
.med-card { margin-top: 14px; }
.med-card small + strong + small { display: block; margin-top: 2px; }

/* ---------- Help and the walkthrough (0.20.0) ---------- */
.help-search { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--card); color: var(--ink); margin: 4px 0 12px; }
.help-toc { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 8px; }
.help-toc a { font-size: 13px; color: var(--accent); border: 1px solid var(--rule); border-radius: 14px; padding: 4px 10px; text-decoration: none; background: var(--card); }
.help-sec { border-top: 1px solid var(--rule); padding-top: 6px; margin-top: 14px; scroll-margin-top: 16px; }
.help-sec h2 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 8px 0 6px; color: var(--ink); }
.help-sec p { font-family: var(--serif); font-size: 16.5px; line-height: 1.55; color: var(--ink); margin: 0 0 10px; }
.help-sec b { font-family: var(--sans); font-weight: 600; font-size: .92em; color: var(--ink-2); }
.tour { position: fixed; inset: 0; z-index: 80; background: rgba(20, 17, 13, .45); display: flex; align-items: flex-end; justify-content: center; padding: 16px 16px calc(28px + env(safe-area-inset-bottom)); }
@media (min-width: 700px) { .tour { align-items: center; } }
.tour-card { width: 100%; max-width: 440px; background: var(--paper); border-radius: 18px; padding: 20px 20px 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.tour-step { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tour-card h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 6px 0 8px; color: var(--ink); }
.tour-card p { font-family: var(--serif); font-size: 17px; line-height: 1.55; color: var(--ink); margin: 0 0 14px; }
.tour-dots { display: flex; gap: 6px; margin-bottom: 14px; }
.tour-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule-2); }
.tour-dots i.on { background: var(--accent); }
.tour-card .row { justify-content: space-between; }

/* Proof texts */
sup.pf { color: var(--accent); font-family: var(--sans); font-size: .62em; font-weight: 600; cursor: pointer; padding: 0 1px 0 2px; position: relative; }
sup.pf::after { content: ''; position: absolute; left: -8px; right: -8px; top: -12px; bottom: -8px; }
.pf-item { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.pf-ref { border: 0; background: none; padding: 0; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer; }
.pf-text { font-family: var(--serif); font-size: 17px; line-height: 1.5; margin: 4px 0 0; color: var(--ink); }
.pf-text sup { font-size: .6em; color: var(--ink-3); margin-right: 2px; }
.about-sheet .intro { margin: 0; border: 0; padding: 0; background: none; box-shadow: none; }
.esv-ch { font-family: var(--read); font-weight: 500; font-size: 1.25em; margin: 1.4em 0 .4em; color: var(--ink); break-after: avoid; }
.esv-run.book-start > .book-title { margin-top: 2em; }
.esv-run.book-start > .intro + .esv-ch { margin-top: 1.6em; }

/* Printing an article: the article alone, black on white. */
@media print {
 .tabbar, .sidebar, .read-top, .read-bottom, .run-head, .read-stamp, .page-no, .head-row, .art-foot, .hint, .vs-wrap, .tour { display: none !important; }
 body, .app, .main, .page { background: #fff !important; color: #000 !important; }
 .page { max-width: none; padding: 0; margin: 0; }
 .art-head h1, .art-body, .art-body p, .art-sub, .art-tag { color: #000 !important; }
 .art-body a, .art-body a.sref { color: #000 !important; border: 0; text-decoration: none; }
 .art-body .callout, .art-body blockquote { background: none !important; border-left: 2px solid #999; }
 .art-body h2, .art-body h3 { break-after: avoid; }
 .art-body p { orphans: 3; widows: 3; }
}

/* Listen */
.listen-bar { position: fixed; left: 8px; right: 8px; bottom: calc(52px + env(safe-area-inset-bottom)); z-index: 50; max-width: 560px; margin: 0 auto;
 display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--card); border: 1px solid var(--rule-2); border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.listen-bar[hidden] { display: none; }
body.reading .listen-bar { bottom: calc(26px + env(safe-area-inset-bottom)); }
.lb-play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 15px; cursor: pointer; flex: none; }
.lb-mid { flex: 1; min-width: 0; }
.lb-title { font-family: var(--serif); font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-status { font-size: 12px; color: var(--ink-3); }
.lb-speed { border: 1px solid var(--rule-2); background: none; color: var(--ink-2); border-radius: 10px; padding: 4px 8px; font-size: 13px; cursor: pointer; flex: none; }
.lb-close { border: 0; background: none; color: var(--ink-3); cursor: pointer; padding: 4px; flex: none; }
.lb-close svg { width: 18px; height: 18px; }
@media print { .listen-bar { display: none !important; } }

/* ---------- 0.24.0: day navigation, counts, Edit days, the Prayer page ---------- */
.day-nav { display: flex; align-items: center; gap: 6px; margin: 10px 0 2px; flex-wrap: wrap; }
.day-nav .icon-btn { color: var(--ink-2); }
.icon-btn.flip svg { transform: scaleX(-1); }
.day-date, .day-pick select { font: inherit; font-size: 15px; color: var(--ink); background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 6px 10px; min-height: 36px; }
.day-pick { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.btn.small { min-height: 32px; padding: 4px 12px; font-size: 13px; }
.dr-other { margin: 6px 0 0; }
.counts { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); white-space: nowrap; }
.counts b { font-weight: 600; color: var(--accent); }
.counts.pending { color: var(--accent); font-style: italic; }
.dr-edit { font-size: 13px; color: var(--ink-3); padding: 6px 0; min-height: 32px; }
.edit-days { padding: 4px 2px 8px; font-size: 15px; color: var(--ink-2); }
.edit-days form { display: flex; flex-direction: column; gap: 12px; }
.edit-days label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-3); }
.edit-days input, .edit-days textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--rule-2); border-radius: 10px; padding: 8px 10px; }
.ed-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prayer-page .list { margin-top: 6px; }
.prayer-howto p { font-size: 16px; }

/* ---------- 0.25.0: What's New and the Home Screen tip ---------- */
.wn-entry { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.wn-head { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink-3); font-size: 13px; }
.wn-head b { color: var(--accent); font-size: 15px; }
.wn-entry ul { margin: 6px 0 0; padding-left: 18px; }
.wn-entry li { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--ink); margin: 2px 0; }
.wn-sheet { padding: 0 2px 8px; }
.wn-sheet .row { margin-top: 14px; }
.home-hint { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 10px; padding: 12px 8px 12px 14px; background: var(--card); color: var(--ink); border: 1px solid var(--rule-2); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); font-size: 14px; line-height: 1.4; max-width: 560px; margin: 0 auto; }
.home-hint span { flex: 1; }
@media (min-width: 700px) { .home-hint { bottom: 20px; } }
body.reading .home-hint { display: none; }

/* ---------- 0.25.1: opening, and the update bar ---------- */
.boot { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.boot-msg { font-family: var(--serif); font-size: 18px; color: var(--ink-3); max-width: 30ch; line-height: 1.5; margin: 0; }
.update-bar { position: fixed; left: 12px; right: 12px; top: calc(10px + env(safe-area-inset-top)); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 14px; background: var(--card); color: var(--ink); border: 1px solid var(--rule-2); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); font-size: 14px; max-width: 560px; margin: 0 auto; }
.update-bar span { flex: 1; }

/* ---------- 0.26.0: Diagnostics ---------- */
.diag-slow { color: #b3261e; font-weight: 600; font-size: 13px; }
:root[data-theme="dark"] .diag-slow { color: #f2b8b5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .diag-slow { color: #f2b8b5; } }
.diag-files { list-style: none; margin: 0; padding: 0; }
.diag-files li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.diag-files li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 0.26.2: the verse arrived at lights up, pulses twice, and fades ---------- */
@keyframes verse-arrive {
 0% { background-color: transparent; }
 8% { background-color: var(--arrive); }
 22% { background-color: color-mix(in srgb, var(--arrive) 45%, transparent); }
 36% { background-color: var(--arrive); }
 70% { background-color: var(--arrive); }
 100% { background-color: transparent; }
}
:root { --arrive: color-mix(in srgb, var(--accent) 34%, transparent); }
/* Highlight pseudo-elements do not see the theme's variables in every browser, so the colours are written out. */
::highlight(arrive) { background-color: rgba(184, 90, 10, .30); }
:root[data-theme="dark"] ::highlight(arrive) { background-color: rgba(240, 162, 90, .30); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) ::highlight(arrive) { background-color: rgba(240, 162, 90, .30); } }
.text .arrive { animation: verse-arrive 5.4s ease-out both; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (prefers-reduced-motion: reduce) { .text .arrive { animation: none; background-color: var(--arrive); } }

/* ---------- 0.27.0: verse actions, Bibles for offline ---------- */
.sc-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 10px; }
.sc-thru { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.sc-thru select { font: inherit; font-size: 14px; color: var(--ink); background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 4px 8px; min-height: 32px; }
.sc-acts .sc-med { margin-left: auto; }
.off-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.off-row strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 17px; }
.off-row small { color: var(--ink-3); font-size: 13px; }

/* ---------- 0.27.2: the panel button left of Back, in the bar and the running head ----------
   Columns: panel, back, the reference, space, ⋯. The bar's buttons are 44 (phone 38) wide with 2 between,
   as here, so nothing moves when the bar comes and goes. */
.run-head { grid-template-columns: 44px 44px auto 1fr 44px; }
.run-side { grid-column: 1; display: flex; align-items: center; justify-content: center; color: var(--ink-3); }
.run-side svg { width: 18px; height: 18px; }
.run-back { grid-column: 2; }
.run-ref { grid-column: 3; }
.run-more { grid-column: 5; }
@media (max-width: 480px) { .run-head { grid-template-columns: 38px 38px auto 1fr 38px; } }
/* On a phone the panel slides in over the page while reading, as it does on a wide screen. */
@media (max-width: 899px) {
 body.reading .sidebar {
  display: flex; flex-direction: column; position: fixed; left: 0; top: 0; bottom: 0; width: min(280px, 82vw); z-index: 40;
  padding: calc(18px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));
  background: var(--paper-2); border-right: 1px solid var(--rule);
  transform: translateX(-100%); transition: transform .25s ease;
 }
 body.reading.side-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .18); }
 body.reading .brand { font-family: var(--serif); font-size: 22px; letter-spacing: .12em; padding: 0 10px 16px; display: flex; align-items: center; gap: 10px; }
 body.reading .brand-icon { width: 28px; height: 28px; border-radius: 7px; flex: none; }
 body.reading .side-tabs { display: flex; flex-direction: column; gap: 2px; }
 body.reading .side-tab { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-size: 16px; text-align: left; cursor: pointer; }
 body.reading .side-tab svg { width: 20px; height: 20px; color: var(--ink-3); }
 body.reading .side-tab[aria-current="page"] { background: var(--accent-wash); color: var(--accent); }
 body.reading .side-tab[aria-current="page"] svg { color: var(--accent); }
 body.reading .side-foot { margin-top: auto; }
 body.reading .side-foot .stamp { text-align: center; padding-left: 0; }
}

/* ---------- 0.27.4: the date at the top of Today chooses a day ---------- */
.date-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.date-hint { margin: 2px 0 0; font-size: 12.5px; color: var(--accent); }

/* ---------- 0.28.0: share codes ---------- */
.share-code { font-family: var(--serif); font-size: 30px; letter-spacing: .04em; color: var(--accent); text-align: center; margin: 14px 0 6px; }
.nb-acts { flex-wrap: wrap; }

/* ---------- 0.29.0: the lock-screen image ---------- */
.lock-wrap { display: flex; justify-content: center; padding: 6px 0; }
.lock-prev { width: 46%; max-width: 220px; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 18px; border: 1px solid var(--rule-2); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); background: var(--card); }

/* ---------- 0.31.0: listening to the day ---------- */
.grp-name { display: inline-flex; align-items: center; gap: 6px; }
.listen-btn { border: 0; background: none; padding: 2px; margin: -2px 0; color: var(--accent); cursor: pointer; display: inline-flex; }
.listen-btn svg { width: 17px; height: 17px; }
.listen-day { margin: 18px 0 4px; gap: 8px; }
.listen-day svg { width: 18px; height: 18px; color: var(--accent); }
.lb-step { border: 0; background: none; color: var(--ink-2); cursor: pointer; padding: 4px; flex: none; display: inline-flex; }
.lb-step svg { width: 18px; height: 18px; }
.lb-step.flip svg { transform: scaleX(-1); }
.lb-step:disabled { opacity: .3; cursor: default; }

/* ---------- 0.31.1: overlays stand apart from the page (John, 2026-11-18: dark mode "needs adjustment to any
   overlays to differentiate"). Sheets, pickers, menus and bars get their own raised surface and a firmer shade
   behind them. Light mode keeps its look; dark mode lifts the surface and darkens the shade. ---------- */
:root {
 --sheet: var(--paper); --sheet-edge: transparent; --scrim: rgba(20, 17, 13, .16); --scrim-strong: rgba(20, 17, 13, .40);
 --raised: var(--card); --raised-edge: var(--rule-2); --side-shade: rgba(0, 0, 0, .14);
}
@media (prefers-color-scheme: dark) {
 :root:not([data-theme="light"]) {
  --sheet: #2a231b; --sheet-edge: rgba(255, 236, 210, .14); --scrim: rgba(0, 0, 0, .58); --scrim-strong: rgba(0, 0, 0, .66);
  --raised: #2c251d; --raised-edge: #4a3f33; --side-shade: rgba(0, 0, 0, .58);
 }
}
:root[data-theme="dark"] {
 --sheet: #2a231b; --sheet-edge: rgba(255, 236, 210, .14); --scrim: rgba(0, 0, 0, .58); --scrim-strong: rgba(0, 0, 0, .66);
 --raised: #2c251d; --raised-edge: #4a3f33; --side-shade: rgba(0, 0, 0, .58);
}
.vs-scrim { background: var(--scrim); }
.verse-sheet { background: var(--sheet); border-top: 1px solid var(--sheet-edge); }
.picker { background: var(--scrim-strong); }
.picker-sheet { background: var(--sheet); border: 1px solid var(--sheet-edge); }
.tour { background: var(--scrim-strong); }
.tour-card { background: var(--sheet); border: 1px solid var(--sheet-edge); }
.pop-menu, .listen-bar, .update-bar, .home-hint { background: var(--raised); border-color: var(--raised-edge); }
body.reading.side-open .sidebar { box-shadow: 0 0 0 100vmax var(--side-shade); border-right-color: var(--sheet-edge); }
/* Inside a raised sheet, fields and small cards sit a step darker than the sheet, so they read as wells. */
.verse-sheet input, .verse-sheet textarea, .verse-sheet select, .picker-sheet input { background: var(--paper); }

/* ---------- 0.32.0: following along while listening ---------- */
.text .vt.now-reading { background: color-mix(in srgb, var(--accent) 16%, transparent); border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background .4s ease; }
.lb-speed[data-lfollow][aria-pressed="true"] { background: var(--accent-wash); color: var(--accent); border-color: var(--accent); }
/* On a phone the player has two rows: what is playing (with ×) on top, the controls under it. */
@media (max-width: 520px) {
 .listen-bar { flex-wrap: wrap; row-gap: 6px; padding: 10px 10px 8px 14px; }
 .listen-bar .lb-mid { order: -2; flex: 1 1 calc(100% - 44px); }
 .listen-bar .lb-close { order: -1; }
 .listen-bar [data-lfollow] { margin-left: auto; }
 .lb-title, .lb-status { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- 0.33.0: the word being spoken by the device's voice ---------- */
::highlight(spoken) { background-color: rgba(184, 90, 10, .32); }
:root[data-theme="dark"] ::highlight(spoken) { background-color: rgba(240, 162, 90, .36); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) ::highlight(spoken) { background-color: rgba(240, 162, 90, .36); } }

/* SchriftOhr's voice downloading (0.34.2) */
.lb-prog { height: 4px; margin-top: 5px; border-radius: 2px; background: var(--rule-2); overflow: hidden; }
.lb-prog i { display: block; height: 100%; width: 0; background: var(--accent, #c25a1c); transition: width .3s; }

/* What SchriftOhr's reader is on (0.34.4): its own look, from schriftohr-app ui/styles.ts (.s.on and [data-w]).
   The highlight colours are literal: ::highlight takes no variables. */
::highlight(reading) { background-color: rgba(255, 210, 50, .58); }
:root[data-theme="dark"] ::highlight(reading) { background-color: rgba(214, 170, 44, .50); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) ::highlight(reading) { background-color: rgba(214, 170, 44, .50); } }
#passage [data-w] { text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: currentColor; }

/* Settings › Voices (0.36.0) */
.voice-list { display: flex; flex-direction: column; }
.voice-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.voice-row input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.voice-row .vr-name { flex: 1; min-width: 0; }
.voice-row input:disabled + .vr-name { color: var(--ink-3); }
.howto { border-bottom: 1px solid var(--rule); padding: 8px 0; }
.howto summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.howto p { margin: 6px 0 4px; line-height: 1.55; }

/* ---------- 0.39.0: the reader's head at rest and its panel (from the GDSWRD app) ----------
   One round button at the left opens the panel; the book and chapter beside it open Go to; ⋯ (or Aa) sits at
   the right in the same round backing: a faint paper-2 circle with a hairline. */
.run-head { grid-template-columns: 44px auto 1fr 44px; column-gap: 2px; padding-left: 8px; padding-right: 8px; }
.run-side { grid-column: 1; display: flex; align-items: center; justify-content: center; color: var(--ink-2); padding: 0; width: 44px; }
.run-ref { grid-column: 2; padding: 0 0 0 4px; }
.run-more { grid-column: 4; width: 44px; padding: 0; color: var(--ink-2); }
.rh-dot {
 display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
 background: var(--paper-2); box-shadow: inset 0 0 0 .5px var(--rule-2);
}
.rh-dot svg { width: 17px; height: 17px; }
.run-more .rh-dot svg { width: 19px; height: 19px; stroke-width: 2.6; }
@media (max-width: 480px) {
 .run-head { grid-template-columns: 44px auto 1fr 44px; padding-left: 4px; padding-right: 4px; }
 .run-more { width: 44px; }
}
.read-top .side-btn svg { width: 20px; height: 20px; }

/* The panel slides in over the page from the left; the page moves aside and stays in view. Quick: 0.18 s. */
:root { --rp-w: min(320px, 82vw); }
.rp-scrim {
 position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, .22); opacity: 0; transition: opacity .18s ease-out;
}
body.rp-open .rp-scrim { opacity: 1; }
.rpanel {
 position: fixed; left: 0; top: 0; bottom: 0; width: var(--rp-w); z-index: 60; overflow-y: auto; overscroll-behavior: contain;
 display: flex; flex-direction: column;
 padding: calc(18px + env(safe-area-inset-top)) 16px calc(10px + env(safe-area-inset-bottom));
 background: var(--raised); border-right: .5px solid var(--raised-edge);
 transform: translateX(-100%); transition: transform .18s ease-out;
}
body.rp-open .rpanel { transform: none; }
body.reading #text, body.reading .read-stamp, body.reading .page-no, body.reading .back-chip { transition: translate .18s ease-out; }
body.reading .run-head { transition: opacity .2s ease, translate .18s ease-out; }
body.rp-open #text, body.rp-open .run-head, body.rp-open .read-stamp, body.rp-open .page-no, body.rp-open .back-chip {
 translate: calc(var(--rp-w) * .86) 0;
}
.rp-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; letter-spacing: .12em; color: var(--ink); padding: 0 2px 6px; }
.rp-brand img { width: 26px; height: 26px; border-radius: 6px; flex: none; }
.rp-place { font-size: 13px; color: var(--ink-3); padding: 0 2px 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-row {
 display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 2px; border: 0; background: none;
 color: var(--ink); font-size: 16px; text-align: left; cursor: pointer; border-radius: 8px;
}
.rp-row svg { width: 20px; height: 20px; flex: none; color: var(--ink-2); }
.rp-row[aria-current="page"] { font-weight: 600; }
.rp-row[aria-current="page"] svg { color: var(--accent); }
.rp-row:hover { background: var(--accent-wash); }
.rp-row[data-rp="back"] { margin-bottom: 6px; }
.rp-rule { border: 0; border-top: .5px solid var(--rule-2); margin: 0; }
.rp-rule + .rp-row { margin-top: 4px; }
.rp-row + .rp-rule { margin-top: 4px; margin-bottom: 2px; }
.rp-foot { margin-top: auto; padding-top: 16px; }
.rp-foot .foot-stamp { white-space: normal; }
@media (prefers-reduced-motion: reduce) {
 .rpanel, .rp-scrim, body.reading #text, body.reading .run-head, body.reading .read-stamp, body.reading .page-no, body.reading .back-chip { transition: none; }
}

/* ---------- 0.39.0: Meditation's day marks open their day; How to use Meditation ---------- */
.ms-btn { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; padding: 0 0 4px; margin: 0; cursor: pointer; color: inherit; font: inherit; width: 100%; }
.ms-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.med-day-when { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 0; }
#medDay .med-prompt { margin: 8px 0 14px; }
.med-day-thought { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--ink); margin: 4px 0 12px; white-space: pre-wrap; }
.med-help-lead { font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--ink); margin: 6px 0 18px; }
.med-help-steps { list-style: none; counter-reset: mh; margin: 0 0 18px; padding: 0; }
.med-help-steps li { counter-increment: mh; position: relative; padding: 0 0 16px 32px; }
.med-help-steps li::before { content: counter(mh); position: absolute; left: 0; top: 1px; width: 20px; text-align: right; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.med-help-steps strong { display: block; font-size: 16px; margin-bottom: 3px; }
.med-help-steps span { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* ---------- 0.39.0: Prayer's Calvin quotation upright, set off by a thin accent rule ---------- */
.pr-quote { margin: 18px 0 8px; padding: 2px 0 2px 14px; border-left: 2px solid var(--accent); font-style: normal; }
.about-page .pr-quote p { font-style: normal; margin: 0; color: var(--ink); }
.about-page .pr-quote p.pr-quote-by { margin-top: 6px; font-family: var(--sans); font-size: 13px; color: var(--ink-3); }

/* 0.39.3: every voice the browser reports, as it reports it */
.vraw { list-style: none; margin: 4px 0 8px; padding: 0; font-size: 14px; }
.vraw li { padding: 6px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.vraw small { display: block; color: var(--ink-3); font-size: 11.5px; }

/* 0.40.0: the recorded voices */
.vr-has { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.vrec-note { margin: 4px 0 6px; }

/* ---------- A Library document whole, and the passage pane (0.42.0) ---------- */
.doc-whole { max-width: 1100px; }
.dw-tools { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 6px; padding: 8px 0; background: var(--paper); border-bottom: 1px solid var(--rule); margin: 8px 0 4px; }
.dw-q { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 7px 10px; border: 1px solid var(--rule-2); border-radius: 8px; background: var(--card); color: var(--ink); }
.dw-count { min-width: 3.5em; text-align: right; font-size: 13px; }
.dw-step { width: 32px; height: 32px; font-size: 20px; color: var(--ink-2); }
.dw-wrap { display: block; }
.dw-contents { display: none; }
.doc-whole.contents-open .dw-contents { display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; max-height: 70vh; overflow-y: auto; background: var(--card); border-top: 1px solid var(--rule-2); border-radius: 14px 14px 0 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
.dw-contents a { display: block; padding: 7px 4px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); font-size: 15px; }
.dw-contents .label { margin-top: 10px; }
.dw-group summary { cursor: pointer; padding: 8px 4px; font-weight: 600; color: var(--ink-2); }
.dw-group a { padding-left: 14px; }
@media (min-width: 900px) {
 .dw-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
 .dw-contents, .doc-whole.contents-open .dw-contents { display: block; position: sticky; top: 60px; max-height: calc(100vh - 80px); overflow-y: auto; box-shadow: none; border: 0; padding: 0; background: none; border-radius: 0; }
 .doc-whole:not(.contents-open) .dw-wrap.hide-contents { grid-template-columns: 1fr; }
}
.dw-text { font-family: var(--read); font-size: 17px; line-height: 1.6; color: var(--ink); max-width: var(--measure); }
.dw-sec { padding-top: 6px; }
.dw-sec h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--accent); margin: 26px 0 10px; line-height: 1.3; }
.dw-label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 2px; }
.dw-text .secnum, .bn-n { font-weight: 600; color: var(--ink-2); }
.bn { margin: 0 0 .7em; }
.bn-sec { padding-left: 1.6em; text-indent: -1.6em; }
.bn-sub, .bn-cont-sub { padding-left: 2.8em; }
.bn-sub { text-indent: -1.2em; }
.bn-paren, .bn-cont-paren, .bn-subnum { padding-left: 4em; }
.bn-paren, .bn-subnum { text-indent: -1.4em; }
.bn-roman { padding-left: 5em; text-indent: -1.4em; }
.bn-cont-sec { padding-left: 1.6em; }
.bn-subhd { font-weight: 600; margin-top: 1.1em; }
.bn-subhd.minor { font-weight: 500; font-style: italic; padding-left: 1.6em; }
.bn-bq { margin: .4em 0 .9em 2.2em; padding-left: 12px; border-left: 2px solid var(--rule-2); color: var(--ink-2); }
.bco-hero h2 { font-size: 26px; margin-top: 8px; }
.bco-kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.bco-sub { font-style: italic; color: var(--ink-2); }
.cite { border: 0; background: none; padding: 0 2px; font-family: var(--sans); font-size: 11px; color: var(--ink-3); cursor: pointer; text-indent: 0; white-space: nowrap; }
.dw-sec h2 .cite { font-size: 12px; vertical-align: middle; }
.bco-x { color: var(--accent); text-decoration: none; border-bottom: 1px dotted currentColor; }
.dw-text sup.pf { cursor: pointer; color: var(--accent); font-family: var(--sans); font-size: .62em; font-weight: 600; padding: 0 1px; }
.dw-proofs { font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--ink-2); margin: -.2em 0 1.2em; padding: 6px 0 6px 12px; border-left: 2px solid var(--rule); }
.dw-pf { display: flex; gap: 8px; padding: 2px 4px; border-radius: 6px; }
.dw-pfl { border: 0; background: none; padding: 0; min-width: 1.2em; font: inherit; font-weight: 700; color: var(--accent); cursor: pointer; }
.lit { background: var(--accent-wash); transition: background 1.2s ease; }
mark.dw-hit { background: rgba(255, 214, 102, .45); color: inherit; border-radius: 2px; }
mark.dw-hit.now { background: rgba(255, 170, 0, .75); }

body.has-pane .lib-pane-host { padding-bottom: calc(var(--lp-h) + var(--lp-bottom, 0px) / 2 + 24px); }
body.has-pane.pane-top .lib-pane-host { padding-bottom: 24px; padding-top: calc(var(--lp-h) + 8px); }
.lib-pane { position: fixed; z-index: 30; left: 0; right: 0; bottom: var(--lp-bottom, 0px); height: calc(var(--lp-h) - var(--lp-bottom, 0px) / 2); display: flex; flex-direction: column; background: var(--paper-2); border-top: 1px solid var(--rule-2); box-shadow: 0 -6px 24px rgba(0,0,0,.10); transition: height .2s ease; }
body.pane-top .lib-pane { top: 0; bottom: auto; border-top: 0; border-bottom: 1px solid var(--rule-2); box-shadow: 0 6px 24px rgba(0,0,0,.10); flex-direction: column-reverse; padding-top: env(safe-area-inset-top); }
@media (min-width: 900px) { body:not(.reading) .lib-pane { left: 220px; } }
.dw-text a.sref, .lp-text a.sref { color: var(--accent); text-decoration: none; border-bottom: 1px dotted currentColor; }
.lp-bar { flex: none; padding: 6px 10px 6px; background: var(--card); border-bottom: 1px solid var(--rule); touch-action: none; cursor: row-resize; user-select: none; -webkit-user-select: none; }
body.pane-top .lp-bar { border-bottom: 0; border-top: 1px solid var(--rule); }
.lp-names { display: flex; align-items: center; gap: 6px; }
.lp-name { border: 0; background: none; padding: 4px 6px; font: inherit; font-size: 13px; color: var(--ink-3); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.lp-name.strong { color: var(--accent); font-weight: 600; }
.lp-x { margin-left: auto; width: 32px; height: 32px; color: var(--ink-3); }
.lp-x svg { width: 18px; height: 18px; }
.lp-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-top: 4px; }
.lp-trans { font: inherit; font-size: 13px; padding: 4px 6px; border-radius: 6px; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); }
.lp-text { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 18px 24px; font-family: var(--read); line-height: 1.6; color: var(--ink); }
.lp-text .flow { max-width: var(--measure); margin: 0 auto; }

/* ---------- 0.42.1: the translation where the page names it; the player small while it plays ---------- */
.run-trans { grid-column: 3; justify-self: start; display: inline-flex; align-items: center; gap: 2px; padding: 0 6px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--accent); }
.run-trans svg, .meta-trans svg { width: 11px; height: 11px; }
.meta-trans { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--rule-2); background: none; border-radius: 10px; padding: 1px 6px 1px 7px; font: inherit; color: var(--accent); cursor: pointer; vertical-align: baseline; }
.lb-min { border: 0; background: none; color: var(--ink-3); cursor: pointer; padding: 4px; flex: none; display: inline-flex; }
.lb-min svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .listen-bar .lb-min { order: -1; } }
/* Small: pause, the chapter and the speed, in the bottom left corner. */
.listen-bar.mini { left: 8px; right: auto; margin: 0; width: auto; max-width: min(72vw, 320px); flex-wrap: nowrap; gap: 8px; padding: 2px 12px 2px 2px; border-radius: 22px; cursor: pointer; }
.listen-bar.mini > * { display: none; }
.listen-bar.mini > .lb-play, .listen-bar.mini > .lb-mid, .listen-bar.mini > [data-lspeed] { display: inline-flex; }
.listen-bar.mini > .lb-play { width: 28px; height: 28px; font-size: 12px; align-items: center; justify-content: center; }
.listen-bar.mini > .lb-mid { order: 0; flex: 0 1 auto; min-width: 0; display: block; }
.listen-bar.mini .lb-status, .listen-bar.mini .lb-prog { display: none; }
.listen-bar.mini .lb-title { font-size: 13px; }
.listen-bar.mini > [data-lspeed] { order: 1; padding: 2px 6px; font-size: 12px; pointer-events: none; }
body.reading .listen-bar.mini { bottom: calc(1px + env(safe-area-inset-bottom)); }
body.reading.lb-mini .read-stamp { color: transparent; }
/* The text keeps clear of the full player. */
body.paged.lb-full .text { bottom: calc(var(--lb-room, 36px) + 4px); }
body.reading:not(.paged).lb-full #text { padding-bottom: var(--lb-room, 0px); }
body:not(.reading).lb-full #view { padding-bottom: var(--lb-room, 0px); }
body:not(.reading).lb-mini #view { padding-bottom: 48px; }
body:not(.reading) .listen-bar { bottom: calc(var(--tb-h, 52px) + 6px); }
/* 0.42.2: the skips, in the full player and the small one. */
.lb-step svg { width: 18px; height: 18px; }
.listen-bar.mini > [data-lverse], .listen-bar.mini > [data-lchap] { display: inline-flex; padding: 3px 2px; }
.listen-bar.mini > [data-lchap="-1"] { margin-left: 2px; }
.listen-bar.mini > .lb-mid { margin-left: 2px; }
.listen-bar.mini .lb-step svg { width: 16px; height: 16px; }
@media (max-width: 520px) { .listen-bar { column-gap: 4px; } .listen-bar .lb-step { padding: 4px 3px; } }
.listen-bar:not(.mini) .lb-step { min-width: 34px; min-height: 34px; justify-content: center; align-items: center; }
