/*  reader.css — the Bible Reader (reader.html, 7q-reader.js), 30 Nov 2026.
 *  Its own file, as My Notebook's is (my-notebook.css), so the shared 7q.css
 *  is untouched. The look is mockup edition 7 as approved: the colors are its
 *  own, set for light, dark and monochrome below, and the highlight and
 *  underline colors are the site's own (mark[data-h], u[data-u] in 7q.css).
 */

body.rd-page{
  --rd-page:#FBFBFA;--rd-card:#fff;--rd-ink:#1A1A1A;--rd-scrip:#2e2c2a;--rd-ink-soft:#4a4a4a;--rd-muted:#726D69;--rd-faint:#a49c8e;--rd-rule:#E6E3DE;
  --rd-blue:#1961B7;--rd-wm:#003780;--rd-green:#24845a;--rd-well:#fffdf9;--rd-well-rule:#efe9de;--rd-idle:#8f877a;--rd-on:#4d4a45;--rd-on-bg:#f1ede5;--rd-vv-rule:#d6d0c4;
  --rd-danger:#a82f26;--rd-veil:rgba(251,251,250,.96);--rd-shadow:rgba(26,26,26,.14);--rd-scrim:rgba(26,26,26,.35);--rd-tint:#eef4fb;
  --rsize:18.5px;--rlead:1.65;--hh:96px;--tbh:54px;
  margin:0;height:100%;overflow:hidden;background:var(--rd-page);color:var(--rd-ink);
  overscroll-behavior:none;
}
html[data-scheme="dark"] body.rd-page{
  --rd-page:#1d1a17;--rd-card:#272522;--rd-ink:#ece9e4;--rd-scrip:#dcd8d2;--rd-ink-soft:#cdcac6;--rd-muted:#a7a4a0;--rd-faint:#8a8580;--rd-rule:#35322f;
  --rd-blue:#488de7;--rd-wm:#6A9BE3;--rd-well:#1f1d1a;--rd-well-rule:#35322f;--rd-idle:#9a958f;--rd-on:#e0ddd8;--rd-on-bg:#3a3733;--rd-vv-rule:#4a4744;
  --rd-danger:#d46f61;--rd-veil:rgba(29,26,23,.96);--rd-shadow:rgba(0,0,0,.55);--rd-scrim:rgba(0,0,0,.55);--rd-tint:#222f3d;
}
html[data-color="mono"] body.rd-page{--rd-blue:#4a4a4a;--rd-wm:#4a4a4a;--rd-green:#8f8a85;--rd-tint:#f1f1f1}
html[data-color="mono"][data-scheme="dark"] body.rd-page{--rd-blue:#cdcac6;--rd-wm:#cdcac6;--rd-green:#77736f;--rd-tint:#2f2d2a}
html:has(body.rd-page){height:100%;overflow:hidden}

:where(.rd-page) button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
/* The Reader fills the screen as the mockup did: an absolutely placed box,
   not a pinned (position:fixed) one, because Safari on the iPhone will not
   select text inside a pinned layer reliably (the user, 30 Nov: nothing could
   be selected on the iPhone). No z-index, so its layers share the page's
   stacking with the masthead and the contents can cover it. */
.rd-app{position:absolute;inset:0;overflow:hidden;font-family:var(--sans)}
.rd-scroller{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
.rd-topspace{height:calc(var(--hh) + var(--tbh))}
/* the empty block above the first chapter (7q-reader.js, "The chapters above"); the
   browser's own scroll anchoring is off so only the Reader decides what moves */
#rd-above{height:0}
.rd-scroller{overflow-anchor:none}

/* ---- the masthead (7q-nav.js) slides away with the bars ---- */
body.rd-page .masthead{position:fixed;top:0;left:0;right:0;z-index:21;background:var(--rd-page);
  transform:translateY(-100%);opacity:0;pointer-events:none;transition:transform .2s ease,opacity .2s ease}
body.rd-page.rd-head .masthead{transform:none;opacity:1;pointer-events:auto}
.reader-mark .rd-wm{display:block;font-family:var(--serif);font-size:34px;line-height:1.05;color:var(--rd-wm);letter-spacing:.01em;white-space:nowrap;padding:0 .1em}
body.rd-page .reader-mark .dl-tag{border-top-color:var(--rd-green);color:var(--rd-blue)}
@media (max-width:22rem){ .reader-mark .rd-wm{font-size:30px} }
/* the Holy Bible wordmark, drawn in the page (reader.html), at the height the
   other tools' wordmarks are set (7q-nav.js); its colors are Lectio's tokens,
   which 7q-theme.js sets for Light, Dark and Monochrome */
.reader-mark svg.rd-wm{display:block;height:40.8px;width:auto;padding:0;overflow:visible}
.rd-wm-word{fill:var(--nav-lectio,#003780)}
.rd-wm-flame{fill:var(--nav-lectio-flame,#4FA910)}
@media (max-width:30rem){ .reader-mark svg.rd-wm{height:36px} }
@media (max-width:22rem){ .reader-mark svg.rd-wm{height:33px} }

/* ---- the chapters ---- */
/* editable only so the iPhone selects in it (see 7q-reader.js init): no
   outline, no caret until words are selected, and Safari's editable
   line-breaking put back to normal so nothing runs past the edge */
.rd-chapters{outline:none;cursor:text;caret-color:transparent;touch-action:pan-y pinch-zoom;
  -webkit-user-select:text;user-select:text;-webkit-touch-callout:default;
  -webkit-line-break:auto;line-break:auto;overflow-wrap:anywhere}
.rd-chapters.rd-sel{caret-color:var(--rd-ink)}
.rd-bar,.rd-toc-head,.rd-tabs,.rd-sheet .rd-sh-head,body.rd-page .masthead{-webkit-user-select:none;user-select:none}
/* room below the last chapter, so any verse, even in a short chapter (1 John 1:9), can be brought to the top */
.rd-chapters{max-width:38rem;margin:0 auto;padding:6px 18px max(110px, calc(100vh - 240px));font-family:var(--serif);font-size:var(--rsize);line-height:var(--rlead);color:var(--rd-scrip)}
.rd-chap{padding-top:.6em}
.rd-chap + .rd-chap{margin-top:1.4em}
.rd-bookname{font-family:var(--serif);font-weight:400;text-align:center;letter-spacing:.12em;font-size:1.15em;color:var(--rd-ink);margin:.6em 0 1em}
.rd-drop{float:left;font-size:3.05em;line-height:.82;margin:.06em .16em -.05em 0;color:var(--rd-ink-soft);-webkit-user-select:none;user-select:none}
.rd-vrow{transition:background-color .6s}
.rd-vrow.rd-flash{background:var(--rd-tint)}
.rd-sv{white-space:pre-line}
/* a verse's number, ribbon or ring and its first word (4 Dec): a space now stands between them (7q-reader.js),
   so the row itself does not wrap and keeps them on one line; the words wrap as before. The space takes the
   place of the gaps that stood after the number, the ring and the big number (dec4-verse-start-test.py) */
.rd-vrow{white-space:nowrap}
.rd-vrow > .rd-lead{margin-right:-.11em}
.rd-vrow > .rd-lead1{margin-right:-.25em}
.rd-vrow .rd-vn{margin-right:0}
.rd-chapters .rd-vrow .sq-fnum{margin-right:0}
.rd-chapters .rd-vrow > .rd-lead1 .sq-fnum{margin-right:.28em}
.rd-vn{font-family:var(--sans);font-size:.6em;color:var(--rd-faint);vertical-align:super;line-height:0;margin:0 .22em 0 .1em;-webkit-user-select:none;user-select:none}
body.rd-nonums .rd-vn{display:none}
.rd-chapters .sq-title,.rd-chapters .sq-speaker,.rd-graynote{-webkit-user-select:none;user-select:none;font-family:var(--sans)}
.rd-chapters .sq-title::before,.rd-chapters .sq-speaker::before{content:attr(data-label)}
.rd-chapters .sq-title{display:block;font-size:.8rem;font-style:italic;color:var(--rd-muted);line-height:1.45;margin:0 0 .5em}
.rd-chapters .sq-speaker{display:block;font-size:.68rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--rd-muted);margin:.7em 0 .15em;line-height:1.3}
.rd-chapters .sq-gray{color:var(--rd-muted)}
.rd-graynote{font-size:.74rem;color:var(--rd-muted);line-height:1.5;margin:1.1em 0 0;clear:both}
.rd-chapters u{text-decoration-thickness:1.25px;text-underline-offset:.16em}
.rd-chapters mark[data-h]{color:#1f2328;padding:0;border-radius:0}
.rd-chapters ::selection{background:rgba(25,97,183,.22)}
html[data-color="mono"] .rd-chapters ::selection{background:rgba(74,74,74,.2)}
.rd-ph,.rd-offmsg,.rd-startmsg{font-family:var(--sans);font-size:14px;line-height:1.5;color:var(--rd-muted);border:1px dashed var(--rd-rule);border-radius:10px;padding:14px 14px 16px;min-height:150px}
.rd-ph{border-style:solid;border-color:transparent}
.rd-offmsg b{color:var(--rd-ink);display:block;font-size:15px;margin-bottom:6px}
.rd-offmsg a,.rd-startmsg button{color:var(--rd-blue);text-decoration:underline}
.rd-offmsg ul{margin:6px 0 0;padding-left:18px}
.rd-endmsg{font-family:var(--sans);font-size:13px;color:var(--rd-muted);text-align:center;padding:30px 0}

/* ---- bars ---- */
.rd-bar{position:absolute;left:0;right:0;z-index:20;background:var(--rd-veil);transition:transform .2s ease,opacity .2s ease,top .2s ease;opacity:0;pointer-events:none}
.rd-topbar{top:0;height:var(--tbh);background:var(--rd-page);transform:translateY(-100%);border-bottom:1px solid var(--rd-rule);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 max(6px, calc((100% - 44rem) / 2))}
.rd-toolbar{bottom:0;transform:translateY(100%);border-top:1px solid var(--rd-well-rule);background:var(--rd-well);padding:6px 6px calc(8px + max(env(safe-area-inset-bottom, 0px), var(--rd-inset-b, 0px)))}
body.rd-bars .rd-topbar,body.rd-bars .rd-toolbar{transform:none;opacity:1;pointer-events:auto}
body.rd-head .rd-topbar{top:var(--hh)}
.rd-ttl{justify-self:center;color:var(--rd-blue);font-weight:700;font-size:17px;display:inline-flex;align-items:center;gap:6px;padding:8px 10px;white-space:nowrap;font-family:var(--sans)}
.rd-ttl svg{width:14px;height:14px}
.rd-rt{justify-self:end;display:flex;gap:2px}
.rd-ib{width:36px;height:40px;display:inline-flex;align-items:center;justify-content:center;color:var(--rd-blue)}
.rd-ib svg{width:22px;height:22px}
.rd-tools{display:flex;flex-wrap:wrap;align-items:center;gap:2px;max-width:40rem;margin:0 auto;justify-content:space-between}
.rd-g{display:flex;align-items:center;gap:1px}
.rd-tb{min-width:30px;height:38px;display:inline-flex;align-items:center;justify-content:center;color:var(--rd-idle);border-radius:6px;font-family:var(--serif);font-size:19px}
.rd-tb:active{background:var(--rd-on-bg)}
.rd-tb.rd-arrow{min-width:16px}
.rd-tb svg{display:block}
.rd-tb .rd-hlbar{fill:var(--hlc,#FBEAA7)}
.rd-tb.rd-u u{text-decoration-thickness:2px;text-underline-offset:3px;text-decoration-color:var(--ulc,currentColor)}
.rd-tb.rd-txt{font-family:var(--sans);font-size:12.5px;font-weight:700;letter-spacing:.02em;color:var(--rd-blue);padding:0 6px;gap:5px}
.rd-tb[aria-pressed="true"]{background:var(--rd-on-bg);color:var(--rd-on)}
/* the undo a format leaves on its button until the next tap elsewhere (30 Nov) */
.rd-tb.rd-undo,.rd-tb.rd-undo[aria-pressed]{color:var(--rd-blue);background:none}
.rd-tb.rd-undo svg{width:20px;height:20px}
.rd-vv{font-family:var(--serif);font-style:italic;font-size:15px;border:1px solid var(--rd-vv-rule);border-radius:6px;min-width:32px;height:28px}
.rd-vv[aria-checked="true"]{background:var(--rd-on-bg);color:var(--rd-on)}

/* ---- color pickers ---- */
.rd-pop{position:absolute;z-index:30;background:var(--rd-card);border:1px solid var(--rd-rule);border-radius:10px;box-shadow:0 6px 24px var(--rd-shadow);padding:8px;display:none;font-family:var(--sans)}
.rd-pop.on{display:block}
.rd-pop .rd-sw{width:30px;height:30px;border-radius:50%;border:1px solid rgba(0,0,0,.12);margin:3px;overflow:hidden;display:inline-flex}
.rd-pop .rd-sw mark{display:block;width:100%;height:100%;border-radius:0;padding:0}
.rd-pop .rd-row{display:flex;flex-wrap:wrap;max-width:240px}
.rd-pop .rd-lbl{font-size:11.5px;color:var(--rd-muted);padding:2px 4px 4px}
.rd-pop .rd-uw{width:30px;height:30px;border-radius:6px;margin:3px;font-family:var(--serif);font-size:18px;color:var(--rd-ink)}
.rd-pop .rd-uw u{text-decoration-thickness:2px;text-underline-offset:3px}
.rd-pop .rd-none{font-size:12px;color:var(--rd-muted);border:1px solid var(--rd-rule);border-radius:15px;padding:4px 10px;margin:4px 3px 0}

/* ---- sheets ---- */
.rd-scrim{position:absolute;inset:0;background:var(--rd-scrim);z-index:50;display:none}
.rd-scrim.on{display:block}
.rd-sheet{position:absolute;left:0;right:0;bottom:0;z-index:51;background:var(--rd-card);border-radius:16px 16px 0 0;max-height:86%;display:none;flex-direction:column;box-shadow:0 -6px 28px var(--rd-shadow);font-family:var(--sans)}
.rd-sheet.on{display:flex}
@media (min-width:700px){ .rd-sheet{left:50%;right:auto;width:440px;transform:translateX(-50%);bottom:auto;top:12%;border-radius:14px} }
.rd-sh-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 8px;border-bottom:1px solid var(--rd-rule)}
.rd-sh-head h2{margin:0;font-size:16px;font-weight:700;color:var(--rd-ink);font-family:var(--sans)}
.rd-sh-head .rd-sub{font-size:12.5px;color:var(--rd-muted);font-weight:400;margin-left:6px}
.rd-sh-x{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;color:var(--rd-muted)}
.rd-sh-body{overflow-y:auto;padding:12px 16px 18px}
.rd-pill{border:1px solid var(--rd-rule);border-radius:18px;padding:7px 16px;font-size:14px;font-weight:600;color:var(--rd-ink)}
.rd-seg{display:inline-flex;border:1px solid var(--rd-rule);border-radius:8px;overflow:hidden}
.rd-seg button{padding:6px 12px;font-size:13px;color:var(--rd-ink)}
.rd-seg button[aria-pressed="true"]{background:var(--rd-blue);color:#fff}
html[data-scheme="dark"][data-color="mono"] .rd-seg button[aria-pressed="true"]{color:#1d1a17}
.rd-oi-list{list-style:none;margin:0;padding:0}
.rd-oi-list li{border-bottom:1px solid var(--rd-rule)}
.rd-oi-row{display:block;width:100%;text-align:left;padding:11px 2px}
.rd-oi-row .rd-nm{font-family:var(--serif);font-size:18px;color:var(--rd-wm)}
.rd-oi-row .rd-ds{display:block;font-size:12.5px;color:var(--rd-muted);margin-top:1px}
.rd-oi-row[aria-disabled="true"]{opacity:.38}
.rd-oi-why{font-size:13px;color:var(--rd-ink);background:var(--rd-tint);border-radius:8px;padding:8px 10px;margin:0 0 10px}
.rd-ts-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--rd-rule)}
.rd-ts-row:last-of-type{border-bottom:0}
.rd-ts-lbl{font-size:14px;color:var(--rd-ink);font-weight:600}
.rd-steps{display:flex;align-items:center;gap:8px}
.rd-steps .rd-a1{font-family:var(--serif);font-size:14px;color:var(--rd-ink);width:28px;height:32px}
.rd-steps .rd-a2{font-family:var(--serif);font-size:22px;color:var(--rd-ink);width:28px;height:32px}
.rd-steps .rd-dot{width:10px;height:10px;border-radius:50%;background:var(--rd-rule)}
.rd-steps .rd-dot.on{background:var(--rd-blue)}
.rd-note{font-size:12px;color:var(--rd-muted);margin:10px 0 0}

/* ---- the contents ---- */
.rd-toc{position:absolute;inset:0;z-index:45;background:var(--rd-page);display:none;flex-direction:column;font-family:var(--sans)}
.rd-toc.on{display:flex}
.rd-toc-head{height:54px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--rd-rule);background:var(--rd-veil);flex:none}
.rd-toc-head .rd-ttl svg{transform:rotate(180deg)}
.rd-toc-find{padding:10px 16px 6px;flex:none}
.rd-toc-find input{width:100%;font:16px var(--serif);color:var(--rd-ink);background:transparent;border:0;border-bottom:1.5px dashed var(--rd-faint);border-radius:0;padding:8px 2px}
.rd-toc-find input:focus{outline:none;border-bottom-color:var(--rd-blue)}
.rd-toc-msg{font-size:12.5px;color:var(--rd-danger);margin-top:4px}
.rd-recent{flex:none;padding:0 16px;border-bottom:1px solid var(--rd-rule)}
.rd-recent-btn{display:flex;align-items:center;gap:6px;width:100%;padding:10px 2px;font-size:14px;font-weight:700;color:var(--rd-ink)}
.rd-recent-btn svg{width:12px;height:12px;transition:transform .15s}
.rd-recent-btn[aria-expanded="true"] svg{transform:rotate(90deg)}
.rd-recent-btn .rd-sub{font-weight:400;color:var(--rd-muted);font-size:12.5px}
.rd-recent-body{max-height:38vh;overflow-y:auto;padding:0 0 8px}
.rd-recent-body[hidden]{display:none}
.rd-rday{font-size:12px;font-weight:700;color:var(--rd-muted);margin:8px 2px 2px}
.rd-rlist{list-style:none;margin:0;padding:0}
.rd-rgo{display:flex;gap:12px;align-items:baseline;width:100%;text-align:left;padding:7px 2px}
.rd-rtime{font-size:12.5px;color:var(--rd-muted);min-width:4.6em;font-variant-numeric:tabular-nums}
.rd-rref{font-family:var(--serif);font-size:16px;color:var(--rd-ink)}
.rd-rclear{font-size:12.5px;color:var(--rd-danger);padding:8px 2px 2px}
.rd-rclear.armed{color:#fff;background:var(--rd-danger);border-radius:6px;padding:5px 10px;font-weight:700;margin-top:6px}
.rd-rnone{font-size:13px;color:var(--rd-muted);margin:2px 2px 8px}
.rd-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--rd-rule);flex:none}
.rd-tabs button{padding:13px 0 11px;font-weight:700;font-size:15px;color:var(--rd-faint);border-bottom:3px solid transparent}
.rd-tabs button[aria-selected="true"]{color:var(--rd-ink);border-bottom-color:var(--rd-blue)}
.rd-toc-list{flex:1;overflow-y:auto;padding:4px 0 40px}
.rd-bk{display:block;width:100%;text-align:left;padding:13px 28px;font-size:19px;color:var(--rd-ink-soft)}
.rd-bk[aria-expanded="true"]{color:var(--rd-ink);font-weight:600}
.rd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));padding:0 22px 8px}
.rd-grid button{padding:12px 0 12px 6px;text-align:left;font-size:18px;color:var(--rd-ink-soft)}
.rd-grid button.cur{color:var(--rd-blue);font-weight:700}
.rd-tdiv{height:1px;background:var(--rd-rule);margin:14px 0}

@media print{
  .rd-bar,.rd-toc,.rd-sheet,.rd-scrim,.rd-toast,.rd-pop,body.rd-page .masthead{display:none !important}
  body.rd-page,html:has(body.rd-page){overflow:visible;height:auto}
  .rd-app,.rd-scroller{position:static;overflow:visible}
  .rd-topspace{height:0}
}

/* ---- release 2 (30 Nov): footnotes, bookmarks, picking a verse ---- */
.rd-lead{-webkit-user-select:none;user-select:none}
.rd-chapters .sq-fnum{border-color:var(--rd-blue);color:var(--rd-blue)}
/* the ring's tap area (5 Dec): larger than the ring above, below and a little to the left, as the ribbon's
   is; hardly at all to the right, where the verse's first word stands, so a double tap there still selects
   it (dec5-ring-tap-test.py). In the ring's own size: 1em is about 11px */
.rd-chapters .sq-fnum{position:relative}
.rd-chapters .sq-fnum::after{content:"";position:absolute;top:-.55em;bottom:-.55em;left:-.4em;right:-.05em}
.rd-rib{display:inline-block;vertical-align:baseline;width:.55em;height:.8em;margin:0 .18em 0 0;color:var(--rd-blue);position:relative;top:.06em;-webkit-tap-highlight-color:transparent}
/* a wider place to tap than the ribbon itself */
.rd-rib::after{content:"";position:absolute;inset:-.5em -.45em}
.rd-rib svg{display:block;width:100%;height:100%}
/* The footnote button stands on the top bar with the bookmark button (the
   user, 30 Nov): both belong to one verse. The bar's two sides are equal
   while the chapter's name fits between them, which centers it; a long name
   (1 Thessalonians 5 on a 320px phone) takes room from the empty left side
   and moves over, whole. */
.rd-ttl{min-width:0}
.rd-ttl > span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.rd-ib[data-act="footnote"] svg{width:21px;height:21px}
.rd-acts{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:10px}
.rd-pill.rd-danger{color:var(--rd-danger)}
.rd-pill.rd-danger.armed{background:var(--rd-danger);border-color:var(--rd-danger);color:#fff}
.rd-bm-when{font-size:12.5px;color:var(--rd-muted)}
.rd-bm-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.rd-bm-add{font-size:13.5px;color:var(--rd-blue);font-weight:700;padding:6px 0}
/* moving a bookmark (1 Dec) */
.rd-bm-acts{display:flex;gap:14px}
.rd-bm-ask{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;padding:8px 10px;background:var(--notice-bg,#f4f0e8);border-radius:6px;font-size:13.5px;line-height:1.4}
.rd-bm-ask button{flex:none;font-weight:700;color:var(--rd-blue);padding:4px 2px}
.rd-sheet.rd-asking .rd-sh-x{visibility:hidden}
.rd-acts-l{display:flex;gap:10px}
.rd-rib.rd-lifted{opacity:.35}
.rd-bm-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--rd-rule)}
.rd-bm-list li{display:flex;align-items:center;border-bottom:1px solid var(--rd-rule);height:44px}
.rd-bm-go{flex:1;display:flex;align-items:center;justify-content:space-between;gap:10px;height:100%;min-width:0;padding:0 2px;text-align:left}
.rd-bm-ref{font-family:var(--serif);font-size:15.5px;color:var(--rd-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.rd-bm-date{font-size:12.5px;color:var(--rd-muted);white-space:nowrap}
.rd-bm-x{width:40px;height:100%;color:var(--rd-muted);font-size:15px;flex:none}
.rd-bm-x.armed{width:auto;padding:0 10px;color:#fff;background:var(--rd-danger);border-radius:6px;height:30px;font-size:12.5px;font-weight:700;margin-left:6px}
@media (max-width:359px){ .rd-bm-go{gap:6px} .rd-bm-x:not(.armed){width:36px} }
.rd-bm-none{font-size:14px;color:var(--rd-muted);margin:6px 0 0}
@media print{ .rd-pick{display:none !important} }

/* ---- syncing from the Reader (30 Nov): a line at the foot of the contents
   that opens the sync section, and a mark on the chapter's name while
   something here has not been sent ---- */
.rd-syncbox{flex:none;border-top:1px solid var(--rd-rule);background:var(--rd-veil);padding:0 16px max(env(safe-area-inset-bottom, 0px), var(--rd-inset-b, 0px))}
.rd-syncbox .rd-recent-btn{width:100%}
.rd-sync-body{max-height:56vh;overflow-y:auto;padding:0 0 14px}
.rd-sync-body[hidden]{display:none}
.rd-sync-body .sq-sync{margin:0}

/* ---- the notices (the user, 1 Dec): as the Scripture box's, a band joined
   to the top of the bottom bar, in the same colours, type and rule
   (.sq-notice in 7q-guides.js), not a floating pill. The one that asks for a
   verse keeps its words centred and has Cancel at its right: the button that
   started it is on the top bar, or in the list of bookmarks. ---- */
.rd-toast,.rd-pick{position:absolute;left:0;right:0;bottom:100%;z-index:2;
  padding:.4rem 1.15rem;background:var(--notice-bg,#f4f0e8);border-top:1px solid var(--rule);
  font-family:var(--sans);font-size:.8rem;line-height:1.4;color:var(--ink);text-align:center;
  opacity:0;transform:translateY(6px);transition:opacity .18s,transform .18s;pointer-events:none}
.rd-toast{z-index:3}
.rd-toast.on,.rd-pick.on{opacity:1;transform:none}
.rd-pick.on{pointer-events:auto}
.rd-pick{padding-left:4.6rem;padding-right:4.6rem}
.rd-pick button{position:absolute;right:.6rem;top:50%;transform:translateY(-50%);font:600 .8rem/1 var(--sans);color:var(--rd-blue);padding:.35rem .3rem}
@media (prefers-reduced-motion:reduce){ .rd-toast,.rd-pick{transition:none;transform:none} }

/* ---- back to the study the Reader was opened from (Dive, 1 Dec) ---- */
.rd-lt{min-width:0;display:flex;align-items:center}
.rd-study{display:inline-flex;align-items:center;gap:2px;font:600 15px/1 var(--sans);color:var(--rd-blue);padding:8px 6px 8px 0;white-space:nowrap}
.rd-study[hidden]{display:none}
.rd-study svg{width:13px;height:13px;flex:none}
/* The chapter's name never runs over the way back: its column shrinks
   between the two sides. "‹ Dive Study" shows at every width (the user,
   1 Dec); a name that would be cut beside it takes its book's abbreviation
   (fitTitle in 7q-reader.js), and at 320px the few still too long are cut
   with an ellipsis; there the name and its arrow close up. */
.rd-topbar{grid-template-columns:minmax(max-content,1fr) minmax(0,auto) minmax(max-content,1fr)}
#rd-topbar .rd-ttl{max-width:100%}
@media (max-width:359px){
  #rd-topbar .rd-ttl{padding:8px 4px;gap:4px}
  #rd-topbar .rd-rt{gap:0}
}

/* ---- opened from a study (3 Dec) ----
   Dive, Snorkel and Sermon Notes open the Reader in place of the Scripture
   box. The site's top bar gives way to two buttons of its height (the user,
   2-3 Dec): style B, no fill, a thin outline, the words in the colour; blue
   for Dive and Snorkel, gray for Sermon Notes. Inside a layer the study page
   hands the Reader the iPhone's home-bar inset as --rd-inset-b (above). */
body.rd-instudy .masthead > :not(.rd-studybar){visibility:hidden}
.rd-studybar{position:absolute;inset:0;display:flex;align-items:center;gap:8px;padding:0 12px;--sb:var(--rd-blue)}
.rd-studybar[hidden]{display:none}
.rd-studybar[data-tool="sermons"]{--sb:#4a4a4a}
html[data-scheme="dark"] .rd-studybar[data-tool="sermons"]{--sb:#cdcac6}
.rd-sb{flex:1 1 0;min-width:0;height:50px;margin:0;border-radius:10px;background:transparent;color:var(--sb);
  border:1.25px solid color-mix(in srgb, var(--sb) 40%, transparent);display:flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;
  font:600 16px/1.15 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.rd-sb svg{flex:none;width:12px;height:12px}
.rd-sb-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Begin Passage and End Passage, in the box's style; no part of any verse */
.rd-chapters .sq-edge{display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:.68rem;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;color:var(--rd-muted);line-height:1.4;text-indent:0;-webkit-user-select:none;user-select:none}
.rd-chapters .sq-edge.begin{border-top:1.5px solid var(--rd-muted);padding-top:.35rem;margin:1rem 0 .45rem}
.rd-chapters .sq-edge.end{border-bottom:1.5px solid var(--rd-muted);padding-bottom:.35rem;margin:.45rem 0 1rem}
/* the copy kept with the study, drawn when the book cannot be read */
.rd-savednote{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:.8rem;font-style:italic;color:var(--rd-muted);margin:.2rem 0 .8rem;-webkit-user-select:none;user-select:none}
