/* e4 SM (lane B "small items"): styles for js/e4/e4_small.js. One block per row, added by that row. */
/* B2 the report-an-error link in the V panel */
#lexicon a.e4-errlink { font-size: 12px; color: var(--e4r-mut, #7a7368); text-decoration: underline; }
/* B3 the Grammar colours line in Display options */
.passageOptionsGroup .dropdown-menu li.e4-grammar-opt a { display: block; padding: 4px 14px; color: var(--e4r-ink, #2b2620) !important; text-decoration: none; cursor: pointer; }
.passageOptionsGroup .dropdown-menu li.e4-grammar-opt a:hover { background: var(--e4r-tan-bg, #f4ecd8); }
/* B4 #e4-quicktools: [G] [+] bookmark, right after the search control in the passage row (css order 1 = after .argSummary, DOM order decides) */
#columnHolder .passageOptionsGroup > .e4-quicktools { order: 1; display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; float: none !important; }
#columnHolder .e4-quicktools > .e4-qt {
  width: 34px; height: 34px; display: inline-flex !important; align-items: center; justify-content: center; margin: 0; padding: 0; border: 0;
  border-radius: var(--e4r-r-pill, 999px); background: transparent; color: var(--e4r-bar, #22396a) !important;
  font: 700 15px/1 var(--e4r-sans, sans-serif); text-decoration: none; cursor: pointer;
}
#columnHolder .e4-quicktools > .e4-qt[hidden] { display: none !important; } /* r3.1 F-1: [G] of a column without grammar colours (e4_small.js syncQuick sets the attribute) */
/* r3.1 F-5: below 768 px the new panel would open out of sight: no [+] there (the phone layout is next-edition row N16) */
@media (max-width: 767.98px) { #columnHolder .e4-quicktools > .e4-qt[data-e4-qt="plus"] { display: none !important; } }
#columnHolder .e4-quicktools > .e4-qt:hover,#columnHolder .e4-quicktools > .e4-qt:focus-visible { background: var(--e4r-tan-bg, #f4ecd8); }
/* r3.6 E-3 the pane line's bookmark: outline = not bookmarked, FILLED = this passage is bookmarked (e4_small.js bookmarkLook) */
#columnHolder .e4-quicktools > .e4-qt svg.e4-bm-icon { display: block; }
#columnHolder .e4-quicktools > .e4-qt svg.e4-bm-icon path { fill: none; stroke: currentColor; }
#columnHolder .e4-quicktools > .e4-qt[data-e4-bookmarked="true"] svg.e4-bm-icon path { fill: currentColor; }
/* r3.6 E-3 (CA11 15:41Z addition 1): no bookmark button in the blue top bar; the list stays on the study panel's bookmark tab */
html.e4-pane-bm #stepnavbar #bookmark-icon { display: none !important; }
#columnHolder .e4-quicktools > button.e4-qt[aria-pressed="true"] { background: var(--e4r-acc, #8a4f1d); color: #ffffff !important; }
/* B5 the C tab's passage dropdowns (book, chapter, from verse, to verse, Add) */
#copy .e4-copy-pick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 10px; }
#copy .e4-copy-pick select { height: 34px; border: 1px solid var(--e4r-line, #e4ded2); border-radius: 8px; background: var(--e4r-card, #fff); color: var(--e4r-ink, #2b2620); padding: 0 6px; font: 400 13px var(--e4r-sans, sans-serif); }
#copy .e4-copy-pick .e4-pick-book { flex: 1 1 130px; min-width: 110px; }
#copy .e4-copy-pick .e4-pick-chapter, #copy .e4-copy-pick .e4-pick-from, #copy .e4-copy-pick .e4-pick-to { flex: 0 1 auto; max-width: 110px; }
#copy .e4-copy-pick .e4-pick-add { height: 34px; padding: 0 14px; }

/* ===================== r3.8a STEP A: phones get the e4 look (CA11 rows 72e8668a + ADD1 3926afca; COO 17 #425 reverses COO 12 rule e) =====================
   Bob 2:30 PM MT 11-19 (f0d441fa): a first-time phone visitor saw "the OLD STEP-looking version". Below 768 px STEP's own phone bar and passage row stay
   (e4_topbar.js stays gated at 768, A5); they take the e4 colours, logo and fonts. COLOUR / FONT / LOGO ONLY (A3, A4): no rule here sets position, z-index,
   display, width, height, flex, padding, margin, border width or pointer-events. The ONE stacking exception is TAP-1 just below (CA11 tap-fix row 16b6db3f).
   Each rule names its desk source (rd = css/e4-redesign.css, fx = css/e4-fixr1.css, th = css/e4-theme.css, line at 619701a); the desk rule's colour and
   font-family parts only are restated here for phones. This file is linked last, so equal specificity wins. */

/* TAP-1 (CA11 tap-fix row, the named A4 exception): STEP's own '@media(hover:none) and (max-width:767px){#stepnavbar{z-index:auto}}' let .mainPanel cover
   the bar, so no tap on the bar reached it (0/8 at 390 touch). The bar takes Bootstrap's fixed-navbar layer again; modals (1050) still open above it. */
@media (hover:none) and (max-width:767.98px){#stepnavbar{z-index:1030 !important}}

/* STRIP-1 (CA11 row 83fb743c, the second named layout exception): in WebKit 390 the passage row's top 8 px sat under the header strip. Cause (STEP's own,
   pre-existing): .passageContent is height:100% of the column UNDER the passage row, so the column is a row taller than #columnHolder (834 in 762 px);
   STEP's load-time focus() on .passageContentHolder makes WebKit scroll #columnHolder 15 px, which clips the row's top. The desk already fixes this exact
   fault (css/e4-merge-fix.css l.23-27, MG1: "the browser scrolled #columnHolder by 30 px"); the same three rules now hold on phones too, so nothing scrolls. */
@media (max-width: 767.98px) {
  #columnHolder .passageContainer .passageText { height: 100%; display: flex; flex-direction: column; }
  #columnHolder .passageContainer .passageText > .passageOptionsGroup { flex: 0 0 auto; }
  #columnHolder .passageContainer .passageText > .passageContent { flex: 1 1 auto; min-height: 0; height: auto !important; }
}

@media (max-width: 767.98px) {
  /* --- A1 the bar: the one dark-bar blue #22396a (rd:45, th:7, th:21, th:43) --- */
  #stepnavbar.navbar-default, #stepnavbar .navbar-default { background-color: var(--e4r-bar) !important; background-image: none !important; border-color: var(--e4r-bar) !important; }
  #stepnavbar .headerButtons > a, #stepnavbar .headerButtons > .dropdown > a,
  #stepnavbar .navbar-collapse > a, #stepnavbar .navbar-collapse > .dropdown > a { --clrBackground: var(--e4r-bar); }
  #stepnavbar .navbar-collapse, #stepnavbar .navbar-collapse.in, #stepnavbar .navbar-collapse.collapsing { background-color: var(--e4r-bar) !important; }
  /* --- A2 the logo: the same white 4 as the desk bar (rd:53-56 draws images/e4/e4-logo-4.png in white); no tile, no box (Bob 0678a052) --- */
  #stepnavbar span.title img { content: url(/images/e4/e4-logo-4.png); object-fit: contain; outline: 0 !important; }

  /* --- A3 the page: paper, ink, links (rd:38-42) --- */
  body, #wrap, .mainPanel, #columnHolder, .passageContainer, .passageText, .passageContent { background-color: var(--e4r-paper) !important; }
  body { color: var(--e4r-ink); }
  .passageContainer, .passageContainer.active, #columnHolder .column { border-color: var(--e4r-tan-line) !important; }
  a { color: var(--e4r-acc); }

  /* --- the passage row (rd:92-131) --- */
  #columnHolder .passageOptionsGroup:not(.dropdown-menu):not(li) { background-color: var(--e4r-tan) !important; border-color: var(--e4r-tan-line) !important; }
  #columnHolder .passageOptionsGroup > .resultsLabel { color: var(--e4r-acc); font-family: var(--e4r-sans); }
  #columnHolder .passageOptionsGroup .argSummary { background-color: transparent !important; border-color: var(--e4r-tan-line); }
  #columnHolder .passageOptionsGroup .argSummary > button.stepButtonTriangle,
  #columnHolder .passageOptionsGroup button.stepButtonTriangle { background-color: var(--e4r-card) !important; background-image: none !important; color: var(--e4r-ink) !important; border-color: var(--e4r-tan-line) !important; font-family: var(--e4r-sans) !important; }
  #columnHolder .passageOptionsGroup button.stepButtonTriangle:hover { background-color: var(--e4r-tan-bg) !important; }
  #columnHolder .passageOptionsGroup button.stepButtonTriangle::after { border-top-color: var(--e4r-acc) !important; }
  #columnHolder .passageOptionsGroup button.select-search .glyphicon { color: var(--e4r-acc); }
  #columnHolder .passageOptionsGroup > .pull-right a, #columnHolder .passageOptionsGroup > .pull-right .dropdown-toggle { color: var(--e4r-bar) !important; }
  #columnHolder .passageOptionsGroup > .pull-right a:hover { background-color: var(--e4r-tan-bg); }
  #columnHolder .passageOptionsGroup > .pull-right .dropdown, #columnHolder .passageOptionsGroup > .pull-right .nextPreviousChapterGroup { background-color: transparent !important; }

  /* --- reading (rd:136-180, th:104-108, fx:32) --- */
  .passageContainer .passageContentHolder { background-color: var(--e4r-card); border-color: var(--e4r-line); color: var(--e4r-ink); }
  .passageContentHolder, .passageContentHolder .verse { color: var(--e4r-ink) !important; font-family: var(--e4r-serif); }
  .passageContentHolder [strong] { color: inherit !important; }
  .passageContentHolder [strong]:hover { background-color: color-mix(in srgb, var(--e4r-accs) 60%, transparent); }
  .passageContentHolder .verseGrouping { border-bottom-color: var(--e4r-line) !important; }
  .passageContentHolder h4.heading, .passageContentHolder h4.heading .verseNumber { color: var(--e4r-acc) !important; font-family: var(--e4r-sans) !important; }
  .passageContentHolder .smallResultKey { color: var(--e4r-acc) !important; background-color: var(--e4r-tan-bg); border-color: var(--e4r-tan-line); font-family: var(--e4r-sans) !important; }
  .passageContentHolder .singleVerse.unicodeFont, .passageContentHolder [lang="grc"] { font-family: var(--e4r-greek) !important; }
  .passageContentHolder .singleVerse.unicodeFont .verse { color: var(--e4r-sepia-ink) !important; }
  .passageContentHolder .verseGrouping .singleVerse + .singleVerse { background-color: var(--e4r-tan-mild, #faf6ec); } /* r3.8z-IL1 (Bob 10:48 AM ET 11-22 "just a mild difference"): was --e4r-tan-bg; token in e4-redesign.css :root */
  .passageContentHolder .verseGrouping .singleVerse + .singleVerse .verse { color: var(--e4r-sepia-ink) !important; }
  .passageContentHolder h2, .passageContentHolder h3, .passageContentHolder h4:not(.heading), .passageContentHolder .heading:not(h4), .passageContentHolder .title { font-family: var(--e4r-serif) !important; color: var(--e4r-bar) !important; }
  th.comparingVersionName { color: var(--e4r-bar) !important; }
  .passageContentHolder sup.note a, .passageContentHolder sup { color: var(--e4r-acc) !important; }
  .passageContentHolder a { color: var(--e4r-acc); }
  .passageContentHolder .verseNumber { color: var(--e4r-acc) !important; font-family: var(--e4r-sans); }
  #summbutton, .passageContentHolder button.stepButton { background-color: var(--e4r-tan-bg) !important; background-image: none !important; border-color: var(--e4r-tan-line) !important; color: var(--e4r-acc) !important; }
  .passageContentHolder .lexiconFocus, .passageContentHolder .relatedWordEmphasisHover, .passageContentHolder .secondaryBackground,
  .lexiconFocus, .lexiconRelatedFocus { background-color: var(--e4r-accs) !important; color: var(--e4r-ink) !important; box-shadow: 0 0 0 2px var(--e4r-accs); }
  .passageContentHolder .primaryLightBg, .primaryLightBg { background-color: var(--e4r-acc) !important; color: #ffffff !important; box-shadow: 0 0 0 2px var(--e4r-acc); }
  .passageContentHolder .relatedWordEmphasisHover { background-color: var(--e4r-tan-bg) !important; box-shadow: 0 0 0 2px var(--e4r-tan-bg); }
  .nextPreviousChapterGroup a.previousChapter, .nextPreviousChapterGroup a.nextChapter, a.previousChapter, a.nextChapter {
    background-color: var(--e4r-card) !important; border-color: var(--e4r-tan-line) !important; color: var(--e4r-acc) !important; }
  a.previousChapter .glyphicon, a.nextChapter .glyphicon { color: var(--e4r-acc) !important; }
  a.e4-cr { color: var(--e4r-mut) !important; font-family: var(--e4r-sans); }
  a.e4-cr .e4-cr-q { border-color: var(--e4r-tan-line); background-color: var(--e4r-card); color: var(--e4r-acc); font-family: var(--e4r-sans); }

  /* --- search results (rd:188-197) --- */
  .searchResults .searchResultRow { border-bottom-color: var(--e4r-line); }
  #srchRslts { background-color: var(--e4r-card); border-color: var(--e4r-line); }
  .searchResults .verseLink .verseNumber { background-color: var(--e4r-tan-bg); }
  .originalWordSearchToolbar .panel, .originalWordSearchToolbar .panel-heading { background-color: var(--e4r-tan-bg) !important; }
  .originalWordSearchToolbar .panel-title { color: var(--e4r-acc); font-family: var(--e4r-sans) !important; }

  /* --- search dialog (rd:199-243) --- */
  #searchSelectionModal .modal-content { background-color: var(--e4r-card) !important; }
  #searchSelectionModal .modal-header { background-color: var(--e4r-tan) !important; border-bottom-color: var(--e4r-tan-line) !important; }
  #searchSelectionModal .modal-header .close { color: var(--e4r-bar) !important; background-color: transparent !important; }
  #searchSelectionModal #displayLocForm, #searchSelectionModal #displayLocForm label { color: var(--e4r-acc); font-family: var(--e4r-sans); }
  #searchSelectionModal #searchHdrTable > .header { border-bottom-color: var(--e4r-line); }
  #searchSelectionModal #langButtonForm label.btn { background-color: transparent !important; background-image: none !important; color: var(--e4r-mut) !important; font-family: var(--e4r-sans) !important; }
  #searchSelectionModal #langButtonForm label.btn.active, #searchSelectionModal #langButtonForm label.btn.stepPressedButton { color: var(--e4r-acc) !important; border-bottom-color: var(--e4r-acc) !important; }
  #searchSelectionModal #userTextInput { color: var(--e4r-ink) !important; background-color: var(--e4r-paper) !important; border-color: var(--e4r-tan-line) !important; font-family: var(--e4r-serif) !important; }
  #searchSelectionModal #userTextInput:focus { border-color: var(--e4r-acc) !important; box-shadow: 0 0 0 4px var(--e4r-accs) !important; background-color: #fff !important; }
  #searchSelectionModal #searchRangeButton { color: var(--e4r-mut); font-family: var(--e4r-sans); }
  #searchSelectionModal #searchRangeButton a { color: var(--e4r-acc) !important; background-color: var(--e4r-tan-bg); }
  #searchSelectionModal #basic_search_help_text { background-color: var(--e4r-tan-bg); color: var(--e4r-mut); font-family: var(--e4r-sans) !important; }
  #searchSelectionModal #basic_search_help_text > p { color: var(--e4r-acc); font-family: var(--e4r-sans); }
  #searchSelectionModal #basic_search_help_text li { background-color: var(--e4r-card); border-color: var(--e4r-tan-line); }
  #searchSelectionModal #basic_search_help_text li b:first-child { color: var(--e4r-acc); font-family: var(--e4r-serif); }

  /* --- Bible chooser (rd:246-253) --- */
  #bibleVersions .modal-content { background-color: var(--e4r-card) !important; }
  #bibleVersions .bookTypeTabs { background-color: var(--e4r-tan); border-bottom-color: var(--e4r-tan-line); }
  #bibleVersions .langBtn { background-color: var(--e4r-tan-bg) !important; background-image: none !important; color: var(--e4r-acc) !important; font-family: var(--e4r-sans) !important; }
  #bibleVersions .list-group-item { border-color: var(--e4r-line) !important; background-color: var(--e4r-card) !important; font-family: var(--e4r-sans); }
  #bibleVersions .list-group-item:hover { background-color: var(--e4r-tan-bg) !important; }
  #bibleVersions a.resource { color: var(--e4r-ink) !important; }
  #bibleVersions .versionFeature { color: var(--e4r-mut) !important; }

  /* --- STEP's buttons (rd:256-259) --- */
  .stepButton, .btn-default.stepButton { background-color: var(--e4r-card) !important; background-image: none !important; color: var(--e4r-acc) !important; border-color: var(--e4r-tan-line) !important; box-shadow: none !important; font-family: var(--e4r-sans) !important; }
  .stepButton:hover { background-color: var(--e4r-tan-bg) !important; }
  .stepButton.stepPressedButton, .stepButton.active { background-color: var(--e4r-acc) !important; color: #ffffff !important; border-color: var(--e4r-acc) !important; }

  /* --- study panel (rd:262-286) --- */
  #sidebar { background-color: var(--e4r-panel) !important; border-left-color: var(--e4r-tan-line) !important; border-top-color: var(--e4r-tan-line) !important; }
  #sidebar > ul.nav-tabs { background-color: var(--e4r-panel) !important; }
  #sidebar > ul.nav-tabs > li > a { background-color: transparent !important; color: var(--e4r-bar) !important; font-family: var(--e4r-sans) !important; }
  #sidebar > ul.nav-tabs > li > a.glyphicon { font-family: 'Glyphicons Halflings' !important; }
  #sidebar > ul.nav-tabs > li > a:hover { background-color: var(--e4r-tan) !important; color: var(--e4r-bar) !important; }
  #sidebar > ul.nav-tabs > li.active > a, #sidebar > ul.nav-tabs > li.active > a:hover { background-color: var(--e4r-acc) !important; color: #ffffff !important; }
  #sidebar > .tab-content > .tab-pane { font-family: var(--e4r-sans); color: var(--e4r-ink); }
  #sidebar .tab-pane a { color: var(--e4r-acc) !important; }
  #sidebar .tab-pane h1, #sidebar .tab-pane h2, #sidebar .tab-pane h3, #sidebar .tab-pane h4, #sidebar .tab-pane b.e4-h { color: var(--e4r-bar) !important; font-family: var(--e4r-sans) !important; }
  #sidebar .tab-pane h1 { color: var(--e4r-acc) !important; }
  #help .e4-help-h, #topics .e4-topics-h, #xreference .e4-xref-head, #copy .e4-copy-ref { color: var(--e4r-bar) !important; font-family: var(--e4r-sans); }
  #help .e4-help-key, #xreference .e4-ref, #xreference .e4-expand, #xreference .e4-more { color: var(--e4r-acc) !important; }
  #xreference .e4-more { border-color: var(--e4r-tan-line) !important; }
  #xreference .e4-dv-chooser button.e4-dv[aria-pressed='true'] { background-color: var(--e4r-acc) !important; border-color: var(--e4r-acc) !important; }
  #sidebar > ul.nav-tabs > li > a:focus-visible, #xreference .e4-expand:focus-visible, #xreference .e4-more:focus-visible { outline-color: var(--e4r-acc) !important; }
  /* the C tab's Copy button (fx:34) */
  #copy .e4-copy-btn.btn-primary, #copy .e4-copy-btn.btn-primary:focus { background-color: var(--e4r-acc) !important; background-image: none !important; border-color: var(--e4r-acc) !important; color: #ffffff !important; font-family: var(--e4r-sans); box-shadow: none; }
  #copy .e4-copy-btn.btn-primary:hover:not([disabled]) { background-color: var(--e4r-acc) !important; box-shadow: 0 0 0 4px var(--e4r-accs); }
  /* STEP's Copy menu from the bar's Copy icon (no desk rule: the desk bar has no Copy icon); the shared button look of rd:256-259 */
  .copyGridScroller { border-color: var(--e4r-tan-line) !important; }
  .copyGridPrimary { border-color: var(--e4r-acc) !important; color: var(--e4r-acc) !important; background-color: var(--e4r-card) !important; }
  .copyGridPrimary:focus-visible:not([disabled]) { outline-color: var(--e4r-acc) !important; }

  /* --- word study (rd:290-307) --- */
  #lexicon .panel-body { background-color: transparent !important; }
  #lexicon .panel-body > div:first-child { background-color: var(--e4r-card); border-color: var(--e4r-line); color: var(--e4r-ink); font-family: var(--e4r-sans); }
  #lexicon .panel-body > div:first-child .unicodeFont { font-family: var(--e4r-greek) !important; color: var(--e4r-bar); }
  #lexicon .transliteration { color: var(--e4r-mut); font-family: var(--e4r-serif); }
  #lexicon .strongNumberTagLine { color: var(--e4r-acc); background-color: var(--e4r-tan-bg); border-color: var(--e4r-tan-line); font-family: var(--e4r-sans); }
  #lexicon .strongCount { color: var(--e4r-acc); }
  #lexicon h2 { color: var(--e4r-acc) !important; border-top-color: var(--e4r-tan-line); font-family: var(--e4r-sans) !important; }
  #lexicon ul { font-family: var(--e4r-serif); color: var(--e4r-ink); }
  #lexicon ul li::marker { color: var(--e4r-acc); }
  #lexicon .LSJLexiconSelect, #lexicon .GeneralRelatedWordsSelect { color: var(--e4r-acc) !important; }
  .e4-v-empty { background-color: var(--e4r-card); border-color: var(--e4r-tan-line); color: var(--e4r-mut); font-family: var(--e4r-sans); }
  .e4-v-empty b { display: block; margin-bottom: 10px; color: var(--e4r-acc); font-family: var(--e4r-sans); } /* phone: the card heading on its own line (the desk rule, e4-redesign.css:305, is 768 px up only) */

  /* --- hover vocabulary strip (rd:310-319) --- */
  #quickLexicon, #quickLexicon.e4-vocab { background-color: var(--e4r-card) !important; background-image: none !important; color: var(--e4r-ink) !important; border-color: var(--e4r-tan-line) !important; border-top-color: var(--e4r-acc) !important; font-family: var(--e4r-sans) !important; }
  #quickLexicon > div, #quickLexicon > div > div { background-color: transparent !important; }
  #quickLexicon h1 { color: var(--e4r-bar) !important; font-family: var(--e4r-sans) !important; }
  #quickLexicon .unicodeFont { font-family: var(--e4r-greek) !important; color: var(--e4r-acc) !important; }
  #quickLexicon .shortDef, #quickLexicon .mediumDef { color: var(--e4r-ink) !important; font-family: var(--e4r-serif); }
  #quickLexicon .close { color: var(--e4r-mut) !important; }

  /* --- dialogs (rd:322, fx:46-61 over th:136-141) --- */
  .modal-backdrop.in { background-color: var(--e4r-sepia-ink); }
  #searchSelectionModal #displayLocForm .e4-loc-group > .btn.e4-loc, #passageSelectionModal #displayLocForm .e4-loc-group > .btn.e4-loc,
  #displayLocForm .e4-loc-group > .btn.e4-loc { background-color: var(--e4r-card) !important; background-image: none !important; color: var(--e4r-acc) !important; border-color: var(--e4r-tan-line) !important; font-family: var(--e4r-sans); box-shadow: none; }
  #displayLocForm .e4-loc-group > .btn.e4-loc:hover { background-color: var(--e4r-tan-bg) !important; }
  #displayLocForm .e4-loc-group > .btn.e4-loc.active, #displayLocForm .e4-loc-group > .btn.e4-loc.active:hover,
  #searchSelectionModal #displayLocForm .e4-loc-group > .btn.e4-loc.active, #passageSelectionModal #displayLocForm .e4-loc-group > .btn.e4-loc.active { background-color: var(--e4r-acc) !important; color: #ffffff !important; border-color: var(--e4r-acc) !important; }
  #displayLocForm .e4-loc-group > .btn.e4-loc:focus-visible { outline-color: var(--e4r-acc); }

  /* --- e4 welcome / help column (th:73-100: no desk rule; the same tokens: headings --e4r-bar, links --e4r-acc) --- */
  .examplesContainer .e4-welcome-title, .examplesContainer .e4-faq-title { color: var(--e4r-bar); }
  .e4-quick a { border-color: var(--e4r-bar); color: var(--e4r-bar) !important; }
  .e4-quick a.primary { background-color: var(--e4r-bar); color: #ffffff !important; }
  .e4-quick a:hover, .e4-quick a:focus { background-color: var(--e4r-tan-bg); }
  .e4-quick a.primary:hover, .e4-quick a.primary:focus { background-color: var(--e4r-acc); }
  .e4-examples li a { color: var(--e4r-acc); }
}
/* ===================== end r3.8a STEP A ===================== */

/* ===================== r3.7c ICON ROW (Bob 3:10 + 3:12 PM ET 11-20; CA11 rows v3 4dc0f48c + K4 pin): the pane line's G, +, bookmark, gear =
   the right-side buttons' box (24 x 44, radius 8px, padding 0), the selected G the same rounded rectangle as the selected L (no oval), all on one
   centre line; symbols about the gear's height (+ and gear as they were), the bookmark a little smaller, the G a little bigger.
   NOTHING ELSE MOVES: each box keeps today's layout room through its margins (desk 30 x 34, narrow row 28 x 34, phone 34 x 34; the phone gear
   29 x 28 in its 28 px line), so no other control shifts. Phones keep a tap area of 36 x 44 through an invisible ::after.
   Named clash (390): line 2 has 41 px between the Bible / passage buttons and the text, so the 44 px G box tucks about 4 px under those buttons. ===================== */
#columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt,
#columnHolder .passageOptionsGroup .settingsDropdown > a.showSettings {
  box-sizing: border-box; width: 24px; height: 44px; padding: 0; border-radius: 8px; align-self: center; vertical-align: middle;
  top: 0; /* STEP's '.passageOptionsGroup a { position: relative; top: 1px }' set the +, bookmark and gear 1 px below the G (a button) */
}
html body #columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt,
html body #columnHolder .passageOptionsGroup .e4-quicktools > .settingsDropdown.e4-gear-near > a.showSettings {
  width: 24px; height: 44px; margin: -5px 3px; padding: 0; border-radius: 8px;
}
#columnHolder .passageOptionsGroup .e4-quicktools > button.e4-qt[data-e4-qt="g"] { font-size: 22px; line-height: 1; }
/* Bootstrap's .glyphicon { top: 1px } set the + and gear symbols 1 px below their box centre */
#columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt .glyphicon, #columnHolder .passageOptionsGroup .settingsDropdown > a.showSettings .glyphicon { top: 0; }
#columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt svg.e4-bm-icon { width: 14px; height: 14px; }
@container e4row (max-width: 760px) {
  html body #columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt,
  html body #columnHolder .passageOptionsGroup .e4-quicktools > .settingsDropdown.e4-gear-near > a.showSettings { width: 24px; margin: -5px 2px; }
}
@media (max-width: 767.98px) {
  #columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt { margin: -5px 5px; position: relative; }
  #columnHolder .passageOptionsGroup .settingsDropdown > a.showSettings {
    display: inline-flex !important; align-items: center; justify-content: center; margin: -8px 0 -8px 5px; position: relative;
  }
  #columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt::after,
  #columnHolder .passageOptionsGroup .settingsDropdown > a.showSettings::after { content: ''; position: absolute; top: 0; bottom: 0; left: -6px; right: -6px; }
  /* the gear box's top 3 px lie under the panel above the row, so its tap area reaches 3 px lower instead (44 high in all) */
  #columnHolder .passageOptionsGroup .settingsDropdown > a.showSettings::after { bottom: -3px; }
}
/* r3.7c FIX (BAM19 AMEND-4 213cb17e on CA11's look 21:23:51Z). (6) The bookmark svg is 14px (was 18px), so its stroke is drawn thicker in the
   svg's own units: 2.65 x 14/24 = 1.546 px on screen, at least push 9's 2 x 18/24 = 1.5 px (also by pixel scan); the ink stays 12 px (H - 2). */
#columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt svg.e4-bm-icon path { stroke-width: 2.65px; }
/* (3) PHONES ONLY: the drawn box is 24 x 40 (1280 stays 24 x 44). Line 2 (G, bookmark): the box starts 1 px under the Bible / passage buttons
   (their bottom 115, the box 116-156, the passage text at 156), so the selected G no longer tucks under them; the room kept is still 34 px
   (0 + 40 - 6). Line 1 (STEP's gear): 40 high in its 28 px line (-6 + 40 - 6), centre unchanged. Tap areas 34 x 40 through ::after (10 px
   wider than the box). G and bookmark sit 10 px apart, so each tap area leans AWAY from the other (G 6 px left / 4 px right, bookmark 4 / 6):
   a 2 px gap between them, never inside each other (touching areas measured ~1 px of the G's tap going to the bookmark). */
@media (max-width: 767.98px) {
  html body #columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt { height: 40px; margin: 0 3px -6px; }
  #columnHolder .passageOptionsGroup .settingsDropdown > a.showSettings { height: 40px; margin: -6px 0 -6px 5px; }
  #columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt::after,
  #columnHolder .passageOptionsGroup .settingsDropdown > a.showSettings::after { top: 0; bottom: 0; left: -5px; right: -5px; }
  #columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt[data-e4-qt="g"]::after { left: -6px; right: -4px; }
  #columnHolder .passageOptionsGroup .e4-quicktools > .e4-qt[data-e4-qt="bookmark"]::after { left: -4px; right: -6px; }
}
/* ===================== end r3.7c ICON ROW ===================== */

/* ===================== r3.8s WORD BAR (Bob 7:45 PM ET 11-20: one line, kept up, click for the full meaning; js/e4/e4_hover.js PART C) =====================
   STEP's pop-up (#quickLexicon.e4-vocab) is still drawn and removed by STEP, but never shown: its words are copied into #e4-wordbar, which stays at
   the bottom of the reading area (the same place and width as the pop-up: left 0, and from 640 px up it stops at the study panel's edge).
   FROM 768 px UP ONLY (BAM19 01:25Z A: phones and narrow windows keep today's behaviour; there the css below does not apply and the bar is not shown).
   One line, --e4-wb-h high (44 px: AMEND-7, Bob 8:35 PM ET "a little more height" than Pixel's 36; ONE variable until Pixel's number comes):
   the meaning, then "...", ending sooner for a small quiet arrow (normal weight, muted ink) that opens the Lexicon at that word (e4_hover.js
   PART C 5). A little smaller type than the pop-up (17 -> 16 px headline, 20 -> 18 px Greek).
   Open (a click): the whole meaning, as today's pop-up showed it, growing upward to at most 45% of the window (Pixel's 45vh, named); a second click
   or Esc folds it (BAM19 01:25Z C: no X). STEP's .strongCount line is left out (white on white in today's pop-up: it showed nothing). No animation. */
@media (min-width: 768px) { #quickLexicon.e4-vocab { display: none !important; } }
:root { --e4-wb-h: 44px; }
#e4-wordbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; box-sizing: border-box; display: none;
  background: var(--e4r-card, #fff); color: var(--e4r-ink, #1f1c17); border: 1px solid var(--e4r-tan-line, #dccfae); border-bottom: 0;
  border-top: 3px solid var(--e4r-acc, #8a4f1d); border-radius: 12px 12px 0 0; box-shadow: 0 -8px 24px -18px rgba(40,30,10,.35);
  padding: calc((var(--e4-wb-h) - 27px) / 2) 52px calc((var(--e4-wb-h) - 27px) / 2) 18px; height: var(--e4-wb-h); font: 400 15px/24px var(--e4r-serif, serif); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) { html.e4-wb-on #e4-wordbar { display: block; } }
@media (min-width: 640px) {
  .row-offcanvas.active ~ #e4-wordbar, #wrap:has(.row-offcanvas.active) > #e4-wordbar { right: var(--e4-panel-w, 0px); }
}
#e4-wordbar .e4-wb-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 24px; }
#e4-wordbar .e4-wb-text div, #e4-wordbar .e4-wb-text h1, #e4-wordbar .e4-wb-text p { display: inline; margin: 0; padding: 0; background: transparent !important; }
#e4-wordbar .e4-wb-src > div > div > div + div { margin-left: 14px; }
#e4-wordbar .e4-wb-hint { color: var(--e4r-mut, #7a7368); font-family: var(--e4r-sans, sans-serif); }
#e4-wordbar h1 { font: 700 16px/24px var(--e4r-sans, sans-serif) !important; color: var(--e4r-bar, #22396a) !important; }
#e4-wordbar .unicodeFont { font-family: var(--e4r-greek, serif) !important; color: var(--e4r-acc, #8a4f1d) !important; font-size: 18px; }
#e4-wordbar .hbFontSmall, #e4-wordbar .hbFont { color: var(--e4r-acc, #8a4f1d) !important; }
#e4-wordbar .shortDef, #e4-wordbar .mediumDef { color: var(--e4r-ink, #1f1c17) !important; font-family: var(--e4r-serif, serif); }
#e4-wordbar .strongCount { display: none !important; }
#e4-wordbar .e4-wb-go { display: none; position: absolute; right: 8px; top: calc((var(--e4-wb-h) - 3px - 36px) / 2); width: 36px; height: 36px; margin: 0; padding: 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--e4r-mut, #7a7368); font: 400 18px/36px var(--e4r-sans, sans-serif); cursor: pointer; }
#e4-wordbar.e4-wb-word .e4-wb-go { display: block; }
#e4-wordbar .e4-wb-go:hover, #e4-wordbar .e4-wb-go:focus-visible { color: var(--e4r-acc, #8a4f1d); background: var(--e4r-tan-bg, #f4ecd8); }
#e4-wordbar.e4-wb-open { height: auto; max-height: 45vh; overflow-y: auto; padding-bottom: 8px; }
#e4-wordbar.e4-wb-open .e4-wb-text { white-space: normal; height: auto; overflow: visible; }
#e4-wordbar:focus-visible { outline: 2px solid var(--e4r-acc, #8a4f1d); outline-offset: -2px; }
/* r3.8s S4 (the bar sits between the Bible text and the bottom of the pane): from 768 px up, while the bar is shown, the pane's bottom padding is
   STEP's 35 px PLUS the bar's height (STEP scss passage_columns.scss:38 $topSectionHeight; the sheet is 93-97 % of what is left, mixins.scss:28), so
   the white sheet ends above the bar, and STEP's "copyright info" line (div.copyrightInfo, absolute at the pane bottom: passage_columns.scss 85-90)
   is lifted by the bar's height, so it shows between the sheet and the bar, as today between the sheet and the window edge (rule 17's one way to
   the credits page stays in sight). Search result pages use the same pane: the same room is kept there. */
@media (min-width: 768px) {
  html.e4-wb-on #columnHolder .passageContainer .passageContent { padding-bottom: calc(35px + var(--e4-wb-h)); }
  html.e4-wb-on #columnHolder .passageContainer .passageContent > .copyrightInfo { transform: translateY(calc(-1 * var(--e4-wb-h))); }
}
/* r3.8s S4b (Bob 8:34 PM ET, AMEND-6: the round previous / next chapter arrows go INSIDE the Bible window at its TOP). The same two STEP arrows
   (their clicks are STEP's, delegated on the passage row, so they stay in the row's DOM): from 768 px up, with ONE Bible window, they sit inside the
   white sheet's top corners, in its 48 px side padding, beside the version heading row (covering no text). e4_hover.js PART C measures the sheet
   and sets --e4-arw-top / -l / -r on each arrow group. r3.8u U2: every Bible window, each its own pair. Phones (< 768): base (named in the report). */
/* r3.8u U2 (BAM19's pick for two windows): EACH Bible window's own two arrows at ITS top, the same way (e4_hover.js placeOne per window). */
@media (min-width: 768px) {
  html #columnHolder .nextPreviousChapterGroup.e4-arw-set .previousChapter { top: var(--e4-arw-top); bottom: auto; left: var(--e4-arw-l); right: auto; }
  html #columnHolder .nextPreviousChapterGroup.e4-arw-set .nextChapter { top: var(--e4-arw-top); bottom: auto; right: var(--e4-arw-r); left: auto; }
}
/* r3.8v V1 ARROW LANES (CA11 design call 14:42Z): the left-aligned chapter heading (h2.xgen) sat 5 px under the 44 px top-left arrow on an
   ordinary one-window chapter (1280: arrow x 135-179, heading text from x 174), so e4_hover.js's cover check sent the pair back to STEP's
   bottom place. From 768 px up the heading keeps a lane on each side = arrow width + 12 px (44 + 12 = 56 px), so heading and arrows never
   share space. The arrow stays 44 px (touch) and the cover check stays as strict as it was (the guard). */
@media (min-width: 768px) {
  html #columnHolder .passageContainer .passageContentHolder h2.xgen { padding-left: 56px; padding-right: 56px; }
}
/* r3.8v V1b: the previous arrow at the first chapter of the Bible and the next arrow at the last (e4_hover.js edgeOne) are hidden: no dead link.
   !important because STEP's own script shows the arrows with an inline display (its _updateVisibleDropdown). */
html #columnHolder .nextPreviousChapterGroup .e4-arw-dead { display: none !important; }
/* Two Bible windows, a window whose arrows are not placed yet (r3.8u U2 places each window's; was AMEND-6's base): the arrows keep STEP's place (35 px over the bottom of each window), measured from the top
   of the word bar instead of the window's bottom, so the bar never covers them (the only change there). */
@media (min-width: 768px) {
  html.e4-wb-on:not(.e4-one-bible) #columnHolder .nextPreviousChapterGroup:not(.e4-arw-set) .previousChapter, html.e4-wb-on:not(.e4-one-bible) #columnHolder .nextPreviousChapterGroup:not(.e4-arw-set) .nextChapter { bottom: calc(35px + var(--e4-wb-h)); }
}
/* r3.8s S6 (Bob: "keep some white space ... but less"; CA11 addendum call b; BAM19 01:25Z B): from 768 px up the white sheet starts 12 px under the
   tan row (was var(--e4r-s5) 24px) and its top padding is 20px (was var(--e4r-s6) 32px). The same selector as e4-redesign.css section 5, loaded later,
   so a search result row (.searchResults .searchResultRow .passageContentHolder, more specific) keeps its own spacing. Phones unchanged. */
@media (min-width: 768px) {
  .passageContainer .passageContentHolder { margin-top: 12px !important; padding-top: 20px !important; }
}
/* r3.8s S5 (Bob 7:45 PM ET: the tan row wrapped after the window was dragged, at a width where it fitted before). Causes found (Step 0, live):
   (1) the row may wrap (e4-topbar.css: flex-wrap) and the wrap is decided on each item's own width; two items change width while the page is open:
       STEP rewrites the Passage label from its first, width-based short form ("Joh 1", step.util.js:1204-1241 reads the column width once, when it
       draws) to "John 1: 1" after a hover or scroll (+20 px), and the Type ref box goes 52 -> 150 px on focus (e4-topbar.css:69) or in a wide row
       (:64). So the same width gave 1 line on a fresh load and 2 lines later (live 840 px: 1 fresh, 2 after the drag).
   Fix (CSS only, 768 px up): both items enter the wrap decision at their small size (flex-basis) and then grow only into the room that is left:
   the Type ref box 44 px -> at most 150 px (52 px in a narrow row, as today; focus may grow it only into free room), the Passage label from 56 px up
   to its own full text (cut with "..." when there is no room; its full text is its title, e4_topbar.js refTitle). The row then wraps only when
   the row really does not fit, the same on a fresh load and after any resize, hover, scroll or focus. Pixel's Fix B idea (flex sizing for the box). */
@media (min-width: 768px) {
  html body #columnHolder .passageOptionsGroup .e4-typeref-wrap { flex: 1 1 44px; min-width: 44px; max-width: 150px; }
  html body #columnHolder .passageOptionsGroup .e4-typeref-wrap > input.e4-typeref { width: 100%; min-width: 0; }
  @container e4row (max-width: 760px) {
    html body #columnHolder .passageOptionsGroup .e4-typeref-wrap { max-width: 52px; }
    html body #columnHolder .passageOptionsGroup .e4-typeref-wrap:focus-within { max-width: 150px; }
    html body #columnHolder .passageOptionsGroup .e4-typeref-wrap > input.e4-typeref, html body #columnHolder .passageOptionsGroup .e4-typeref-wrap > input.e4-typeref:focus { width: 100%; }
    html body #columnHolder .passageOptionsGroup .argSummary > button.select-reference { flex: 1 1 56px; min-width: 56px; max-width: -webkit-max-content; max-width: max-content; }
  }
}
/* ===================== end r3.8s WORD BAR ===================== */
/* ===================== r3.8p PICKER-1120 = a: the Bibles picker as ONE CLEAN LIST (Bob via Sam/Dot 7:01 PM ET 11-20, a7851b47: "go with a) one
   clean list, search on top, open Bibles as chips. Build it."; CA11 rows 037126d7; option A of picker-options.html 6cfda3f5: a layout, not colours:
   the site's tokens). Applies only while js/e4/e4_small.js pickerOneList is on (class e4-pick-a on <html>); that part only moves STEP's own elements.
   Top to bottom: STEP's X | the search box | SHOWING NOW chips | the language row | one list under language headings | count line, Reorder, OK.
   Every tap target is at least 40 px high (row 14). ===================== */
html.e4-pick-a #bibleVersions .modal-body { position: relative; padding-top: 12px; }
html.e4-pick-a #bibleVersions .modal-body > span.pull-right { position: absolute; top: 12px; right: 12px; float: none !important; z-index: 2; }
html.e4-pick-a #bibleVersions .modal-body > span.pull-right > button.close { min-width: 40px; min-height: 40px; margin: 0; padding: 0; font-size: 20px; line-height: 40px; text-align: center; float: none; }
html.e4-pick-a #bibleVersions .e4pa-top { margin: 0 0 10px; }
html.e4-pick-a #bibleVersions .e4pa-top > input#enterYourTranslation { display: block; width: calc(100% - 52px) !important; min-width: 0; max-width: none; height: 44px !important; margin: 0; }
html.e4-pick-a #bibleVersions .e4pa-head { margin: 12px 0 6px; font: 700 12px/1.2 var(--e4r-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--e4r-acc); }
html.e4-pick-a #bibleVersions .e4pa-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; max-width: 100%; }
html.e4-pick-a #bibleVersions .e4pa-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0 0 14px; border-radius: var(--e4r-r-pill); background: var(--e4r-bar); color: #fff; font: 700 15px/1 var(--e4r-sans); max-width: 100%; }
html.e4-pick-a #bibleVersions .e4pa-chip-name { white-space: nowrap; }
html.e4-pick-a #bibleVersions .e4pa-x { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0; margin: 0; border: 0; border-radius: var(--e4r-r-pill); background: transparent; color: #fff; font: 700 14px/1 var(--e4r-sans); cursor: pointer; }
html.e4-pick-a #bibleVersions .e4pa-x:hover, html.e4-pick-a #bibleVersions .e4pa-x:focus-visible { background: rgba(255, 255, 255, .18); outline: 0; }
html.e4-pick-a #bibleVersions .e4pa-x[aria-disabled="true"] { opacity: .45; cursor: default; }
/* not in option A: the "Book type: Bibles" row while commentaries are off (one tab, nothing to pick; it shows again with them), the "Language:"
   word, and STEP's letter legend (the letters are words now) */
html.e4-pick-a.e4-off-commentaries #bibleVersions .bookTypeTabs { display: none !important; }
html.e4-pick-a #bibleVersions .modal-body > span.pull-left { display: none !important; }
html.e4-pick-a #bibleVersions .modal-footer > p { display: none !important; }
/* the language row */
html.e4-pick-a #bibleVersions .form-inline { margin: 0 0 8px !important; }
html.e4-pick-a #bibleVersions .form-inline .btn-group { display: flex; flex-wrap: wrap; gap: 6px; float: none; }
html.e4-pick-a #bibleVersions .form-inline label.btn { float: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; margin: 0 !important; border-radius: 10px !important; font: 600 15px/1 var(--e4r-sans) !important; }
/* one list: STEP's repeats and its two extra groups out; language groups as plain headings */
html.e4-pick-a #bibleVersions .e4pa-gone, html.e4-pick-a #bibleVersions li.e4pa-rep { display: none !important; }
html.e4-pick-a #bibleVersions #bibleList .langSpan > br { display: none; }
html.e4-pick-a #bibleVersions #bibleList .langBtn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; margin: 10px 0 4px; padding: 0 4px; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; text-align: left; font: 700 13px/1.2 var(--e4r-sans) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--e4r-acc) !important; }
html.e4-pick-a #bibleVersions #bibleList .langPlusMinus { color: var(--e4r-mut); font-weight: 400; letter-spacing: 0; }
/* r3.8s merge (CA11 SHOULD via BAM19): under a search STEP shows a heading's rows but keeps its collapsed sign "+"; while the search box has text the sign is not shown (the rows are) */
html.e4-pick-a #bibleVersions:has(input#enterYourTranslation:not(:placeholder-shown)) #bibleList .langPlusMinus { visibility: hidden; }
html.e4-pick-a #bibleVersions #bibleList .list-group { margin-bottom: 4px; }
html.e4-pick-a #bibleVersions #bibleList .list-group-item { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; min-height: 44px; height: auto !important; padding: 6px 10px !important; text-indent: 0 !important; cursor: pointer; border-radius: 0; }
html.e4-pick-a #bibleVersions #bibleList .list-group-item:first-child { border-top-left-radius: var(--e4r-r-sm); border-top-right-radius: var(--e4r-r-sm); }
html.e4-pick-a #bibleVersions #bibleList .list-group-item:last-child { border-bottom-left-radius: var(--e4r-r-sm); border-bottom-right-radius: var(--e4r-r-sm); }
html.e4-pick-a #bibleVersions #bibleList .list-group-item > input.list-group-checkbox { position: absolute; width: 1px; height: 1px; margin: 0 !important; opacity: 0; pointer-events: none; }
html.e4-pick-a #bibleVersions #bibleList a.resource { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font: 400 15px/1.3 var(--e4r-sans) !important; color: var(--e4r-ink) !important; text-decoration: none; }
html.e4-pick-a #bibleVersions #bibleList a.resource > b.e4pa-short { font-weight: 700; margin-right: 2px; }
html.e4-pick-a #bibleVersions #bibleList li.e4pa-on a.resource::after { content: " \2713"; color: var(--e4r-acc); font-weight: 700; }
html.e4-pick-a #bibleVersions #bibleList li.e4pa-on { background-color: var(--e4r-tan-bg) !important; }
html.e4-pick-a #bibleVersions #bibleList a.glyphicon-info-sign { order: 2; flex: 0 0 auto; display: inline-flex !important; align-items: center; justify-content: center; width: 32px; height: 40px; margin: 0 !important; color: var(--e4r-acc); text-decoration: none; top: 0; }
html.e4-pick-a #bibleVersions #bibleList .BibleFeatures { order: 1; flex: 0 1 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 46%; margin: 0 !important; float: none !important; }
html.e4-pick-a #bibleVersions #bibleList .versionFeature { display: inline-block; padding: 1px 7px; border: 1px solid var(--e4r-bar); border-radius: var(--e4r-r-pill); color: var(--e4r-bar) !important; font: 400 12px/1.4 var(--e4r-sans); white-space: nowrap; }
/* the count line left; Reorder and OK at the bottom, right side */
html.e4-pick-a #bibleVersions .modal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px 0 0; }
html.e4-pick-a #bibleVersions .modal-footer > .tagLine { margin-right: auto; color: var(--e4r-mut); font: italic 400 14px/1.2 var(--e4r-sans); }
html.e4-pick-a #bibleVersions .modal-footer > button { min-height: 40px; margin: 0 !important; padding: 0 16px; border-radius: 10px !important; font: 700 15px/1 var(--e4r-sans) !important; }
html.e4-pick-a #bibleVersions .modal-footer > button > label { margin: 0; cursor: pointer; font: inherit; }
@media (min-width: 768px) {
  /* r3.8v V3 picker polish, shipped as r3.8x push 17 FROM 768 PX UP ONLY (CA11 #593 pt 1; Bob's 3:16 PM ET hold #590: under 768 px the
     picker is r3.8v's). Every V3 rule is in this block; e4_small.js writes the V3 hint, row titles and drag only while
     matchMedia('(min-width: 768px)') matches.
     r3.8v V3 PICKER-FONT-1121 (Bob 12:42 AM ET: "make the font a little smaller so more Bibles fit ... every Bible name stays on one line"):
     13 px (was 15 px), one line; a name longer than its row ends in "…" (its whole text is the row's title, e4_small.js paWideParts). */
  html.e4-pick-a #bibleVersions #bibleList a.resource { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; font: 400 13px/1.3 var(--e4r-sans) !important; }
  /* r3.8v V3 PICKER-FOOTER-1121 (Bob 12:44 AM ET via BI4: the footer stays inside the window at 1280x800): the picker body
     (STEP's .modal-body holds the list AND the footer) is a column no taller than the window (Bootstrap's 30 px dialog margin above and below);
     the list part (STEP's .tab-content) takes what is left and scrolls inside, so the count line, Reorder and OK stay in sight. */
  html.e4-pick-a #bibleVersions .modal-body { display: flex; flex-direction: column; max-height: calc(100vh - 60px); }
  html.e4-pick-a #bibleVersions .modal-body > * { flex: 0 0 auto; }
  html.e4-pick-a #bibleVersions .modal-body > .tab-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
  /* r3.8v V3 PICKER-DRAG-1121: the hint under the chips (2 or more chips), a grab cursor on a chip that can be dragged */
  html.e4-pick-a #bibleVersions .e4pa-hint { display: none; margin: 4px 0 0; color: var(--e4r-mut); font: italic 400 12px/1.3 var(--e4r-sans); }
  html.e4-pick-a #bibleVersions .e4pa-chips.e4pa-many + .e4pa-hint { display: block; }
  html.e4-pick-a #bibleVersions .e4pa-chip[draggable="true"] { cursor: grab; }
  html.e4-pick-a #bibleVersions .e4pa-chip.e4pa-dragging { opacity: .5; }
}
@media (max-width: 767.98px) {
  html.e4-pick-a #bibleVersions .modal-body, html.e4-pick-a #bibleVersions .modal-content, html.e4-pick-a #bibleVersions #bibleList { overflow-x: hidden; }
  html.e4-pick-a #bibleVersions .modal-dialog { max-width: calc(100vw - 16px); margin-left: auto; margin-right: auto; }
}
/* ===================== end r3.8p PICKER ===================== */
/* ===================== r3.8u (Bob 11-18 / 11-20 / 11-21 demo polish; js/e4/e4_panel.js U7, e4_small.js U8-U12) ===================== */
/* r3.8u U7 FOLLOW: the small F button in the right Bible window's row (768 px up; phones show one window). Off = quiet outline; on = filled. */
#columnHolder .passageOptionsGroup .e4-follow { flex: 0 0 auto; min-width: 26px; height: 26px; margin: 0 2px; padding: 0 6px; border: 1px solid var(--e4r-line, #d9d2c3);
  border-radius: 4px; background: transparent; color: inherit; font-size: 12px; font-weight: 600; line-height: 24px; cursor: pointer; }
#columnHolder .passageOptionsGroup .e4-follow[aria-pressed='true'] { background: var(--e4r-acc, #8a4f1d); border-color: var(--e4r-acc, #8a4f1d); color: #fff; }
#columnHolder .passageOptionsGroup .e4-follow:focus-visible { outline: 2px solid var(--e4r-acc, #8a4f1d); outline-offset: 1px; }
@media (max-width: 767px) { #columnHolder .e4-follow { display: none !important; } }
/* r3.8u U8 + U10: the picker's hidden no-text Bibles (and a language group left empty), and the 'No Bibles match' line */
html.e4-pick-a #bibleVersions li.e4pa-hide, html.e4-pick-a #bibleVersions .e4pa-hide-ul { display: none !important; }
html.e4-pick-a #bibleVersions .e4pa-none { margin: 12px 4px; color: var(--e4r-mut, #6b6459); font-style: italic; }
/* ===================== end r3.8u ===================== */
/* ===================== r3.8y PHONE-HEADER-V25-1122 (Bob approved v25 ~10:45 PM ET 11-21; BAM19 launch 5458e022 + AMEND-1/2; AMEND-3 16fe9146 + AMEND-4 23caf16b,
   Bob's FULL BUILD SPEC 1:29 AM ET 11-22, CA11 #616) =====================
   Package staged/bible-study-desk-design/mason-e4-header-package: BUILD-SPEC.md dcdd1373 (wins), pictures/00-APPROVED-v25-full-sheet.png, assets/ICONS-exact-svg.md
   (every icon below copied character for character, the gear included), assets/e4-logo-FINAL-square-left.png. EVERY PHONE WIDTH, up to the site's phone
   breakpoint: @media (max-width: 767.98px) (F2: wider than 390 the items keep their size and the gaps grow; logo 8 from the left, arrow 8 from the right);
   768 px up = r3.8x. Rows: 1 the navy strip (22) = STEP's bar, shown as the strip only; 2 the tan row (44) = STEP's own passage row with the e4 logo,
   NASB | JN 1:1 joined, search, eye (the desk's View list), gear (STEP's Options = Settings), the study-panel arrow; 3 the lighter row (44), only while the study
   panel is open = the panel's own tab strip L R V bookmark recent T C ? fold (under 640 px, where the site lays the panel over the text: block 3 below).
   Row 2's six items share the free space as five equal gaps (BUILD-SPEC 3.2.4 'space-between'): a grid whose five 1fr tracks ARE the gaps, so the two
   halves NASB | JN 1:1 stay joined; no gap is typed in. Fit steps F3 / F4 / F10 / F13 and the tap split 8.3 are classes set by js/e4/e4_topbar.js (v25Fit)
   only when a measured gap is short; each one used is FLAGGED on the row (data-e4-fit) and in the r3.8y report. */
@media (max-width: 767.98px) {
  /* AMEND-6 (CA11 #635): the icons are Bob's BUILD-PACKAGE files themselves (zip 26954474 icons/*.svg, copied unchanged to images/e4/v25/); no drawing
     is typed here. Second-row icons use the same file as a mask so the chosen tile's content can be white (zip SPEC 5 'content white'). */
  :root {
    --e4v-search: url("/images/e4/v25/search.svg"); --e4v-eye: url("/images/e4/v25/eye.svg"); --e4v-gear: url("/images/e4/v25/gear.svg");
    --e4v-chev-r: url("/images/e4/v25/arrow-open.svg"); --e4v-chev-l: url("/images/e4/v25/arrow-close.svg");
    --e4v-bm: url("/images/e4/v25/bookmarks.svg"); --e4v-recent: url("/images/e4/v25/recent.svg"); --e4v-help: url("/images/e4/v25/help.svg"); --e4v-fold: url("/images/e4/v25/fold.svg");
  }

  /* ---- 1. the navy strip: 22 high, #22396a, white italic bold serif 13, centred, one line. STEP's bar shows the strip only (its logo, icons and
     three-line menu are not drawn in v25); the bar keeps its place, fixed or (touch phones) in the flow, so nothing sits under it. ---- */
  html body #stepnavbar { min-height: 22px !important; height: 22px !important; padding: 0 !important; margin: 0 !important; border: 0 !important;
    overflow: hidden !important; background: #22396a !important; background-image: none !important; box-shadow: none !important; }
  html body #stepnavbar > div, html body #stepnavbar .navbar-header, html body #stepnavbar .navbar-brand {
    height: 22px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; float: none !important; }
  html body #stepnavbar span.title > a, html body #stepnavbar .e4-word, html body #stepnavbar span.help, html body #stepnavbar form { display: none !important; }
  html body #stepnavbar .e4-cs-strip {
    display: block !important; position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; height: 22px !important;
    margin: 0 !important; padding: 0 8px !important; overflow: hidden; white-space: nowrap; text-align: center; color: #ffffff; background: transparent;
    pointer-events: none; font: italic 700 13px/22px 'Source Serif 4', Georgia, serif !important; letter-spacing: 0 !important; }
  /* no gap under the strip: the page starts at the bar's foot (fixed bar: 22 px down; STEP's in-flow bar on a touch phone: no offset, the r3.8v1
     gap rule 705c3d2 + e96b401 brought in for this band) */
  html body .mainPanel { padding-top: 22px !important; }
  html body #stepnavbar[style*="relative"] ~ .mainPanel { padding-top: 0 !important; }
  /* STEP's 1 px frame round the passage window put the tan row 1 px under the strip and 1 px in from each side where the bar is fixed (non-touch
     phones; touch from 640 px). STEP's own touch-phone code already takes that frame off (hideNavBarOnPhones: border 0); the phone band does too. */
  html body #columnHolder .passageContainer { border-width: 0 !important; }

  /* ---- 2. the tan row: 44 high, #ebdfc6, 8 padding left and right; logo | NASB JN 1:1 | search | eye | gear | arrow, equal gaps ---- */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup {
    display: grid !important; grid-template-rows: 44px; align-items: center; box-sizing: border-box;
    grid-template-columns: auto minmax(0, 1fr) auto auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
    height: 44px !important; min-height: 44px !important; padding: 0 8px !important; margin: 0 !important; gap: 0 !important; border: 0 !important;
    background: #ebdfc6 !important; background-image: none !important; opacity: 1 !important; overflow: visible !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup::before,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup::after { content: none !important; display: none !important; }
  /* what v25 does not draw in this row is not shown here (named in the r3.8y report): STEP's +, X, expand, copy, results line, the e4 quick tools
     G / + / bookmark, ? / More, the separators; the chapter arrows keep STEP's own phone place (fixed on the page, not in the row) */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > :not(.argSummary):not(.pull-right):not(.e4-view):not(.e4-ph-logo):not(.e4-ph-arrow) { display: none !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .pull-right,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .pull-right > .nextPreviousChapterGroup { display: contents !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > :not(.select-version):not(.select-reference):not(.select-search) { display: none !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .pull-right > :not(.settingsDropdown):not(.nextPreviousChapterGroup) { display: none !important; }

  /* logo: the package's FINAL file as it is, 28 x 28 (tap 34 x 44) */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .e4-ph-logo {
    grid-area: 1 / 1; display: flex !important; align-items: center; justify-content: center; position: relative; top: 0 !important;
    width: 34px; height: 44px; margin: 0 -3px; padding: 0 !important; background: transparent !important; line-height: 0; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .e4-ph-logo > img { display: block; width: 28px; height: 28px; max-width: none; }

  /* NASB | JN 1:1: ONE joined control = STEP's own Bible and passage buttons; 28 high outside (26 inside a 1px #e4ded2 border), white, 10 corner
     radius, 1px #e4ded2 divider, text 14 / 600 #1f1c17, 9 padding each side. The white box is drawn by ::before; the button is the 44 px tap height. */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-version,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-reference {
    grid-row: 1; position: relative; z-index: 0; display: block !important; box-sizing: border-box; height: 44px !important; min-width: 0 !important;
    margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
    color: #1f1c17 !important; font: 600 14px/44px 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif !important; letter-spacing: 0 !important;
    white-space: nowrap !important; overflow: visible; text-overflow: clip; max-width: none !important; text-align: center; } /* F6 / F7: never '...', grows with its text */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-version { grid-column: 3; padding: 0 9px 0 10px !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-reference { grid-column: 4; padding: 0 10px !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-version::after,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-reference::after { content: none !important; display: none !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-version::before,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-reference::before {
    content: '' !important; display: block !important; position: absolute; left: 0; right: 0; top: 8px; bottom: 8px; z-index: -1; box-sizing: border-box;
    background: #ffffff; border: 1px solid #e4ded2; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-version::before { border-right: 0; border-radius: 10px 0 0 10px; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-reference::before { border-radius: 0 10px 10px 0; }

  /* search 20 (navy, line 1.5), eye 22 (navy, line 1.6, dot filled), gear 16 (#7a7368, line 2.2): STEP's search button, the desk's View list,
     STEP's Options gear; each drawn icon is centred in a 34 x 44 tap box whose side margins give back the drawn width to the row's spacing */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-search {
    grid-area: 1 / 6; display: block !important; position: relative; box-sizing: border-box; width: 34px !important; min-width: 0 !important; height: 44px !important;
    margin: 0 -7px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    font-size: 0 !important; color: transparent !important; background: var(--e4v-search) center / 20px 20px no-repeat !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-search > *,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-search::before,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .argSummary > button.select-search::after { display: none !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .e4-view { grid-area: 1 / 8; display: block !important; position: relative; margin: 0 -6px; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .e4-view > a.dropdown-toggle {
    display: block !important; position: relative; top: 0 !important; width: 34px; height: 44px; padding: 0 !important; margin: 0; border: 0;
    font-size: 0 !important; color: transparent !important; text-decoration: none; background: var(--e4v-eye) center / 22px 22px no-repeat !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .e4-view > a.dropdown-toggle > * { display: none !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .pull-right > .settingsDropdown {
    grid-area: 1 / 10; display: block !important; position: relative; float: none; margin: 0 -7px !important; /* a 20 px slot round the 16 px gear, as the drawing's .ic (e4-header-v25.html): its gaps 15 / 26 / 29 */ padding: 0 !important; background: transparent !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .pull-right > .settingsDropdown > a.showSettings {
    display: block !important; position: relative; top: 0 !important; width: 34px !important; height: 44px !important; margin: 0 !important; padding: 0 !important;
    border: 0; border-radius: 0; font-size: 0 !important; color: transparent !important; background: var(--e4v-gear) center / 16px 16px no-repeat !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .pull-right > .settingsDropdown > a.showSettings > *,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .pull-right > .settingsDropdown > a.showSettings::after { display: none !important; }

  /* arrow: 28 x 28 navy tile, 10 corner radius, white chevron 16 (line 3.6); right while the study panel is closed, left while it is open */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .e4-ph-arrow {
    grid-area: 1 / 12; display: block; position: relative; z-index: 0; box-sizing: border-box; width: 34px; height: 44px; margin: 0 -3px; padding: 0;
    border: 0; border-radius: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .e4-ph-arrow::before {
    content: ''; position: absolute; left: 3px; top: 8px; width: 28px; height: 28px; border-radius: 10px; background: #22396a; z-index: -1; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .e4-ph-arrow::after {
    content: ''; position: absolute; left: 9px; top: 14px; width: 16px; height: 16px; background: var(--e4v-chev-r) center / 16px 16px no-repeat; }
  html body .row-offcanvas.active #columnHolder .passageContainer .passageText > .passageOptionsGroup > .e4-ph-arrow::after { background-image: var(--e4v-chev-l); }

  /* the lists the eye and the gear open, and the open study panel, start under the tan row (js/e4/e4_topbar.js v25Sync sets --e4-v25-top) */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .e4-view > .e4-view-menu,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup > .pull-right > .settingsDropdown > .dropdown-menu {
    position: fixed !important; top: var(--e4-v25-top, 66px) !important; left: 8px !important; right: 8px !important; min-width: 0 !important; margin: 0 !important;
    max-height: calc(100vh - var(--e4-v25-top, 66px) - 8px); overflow-y: auto; }
  html body #columnHolder .passageText > .passageOptionsGroup .e4-view-menu { padding: 6px 0; background: var(--e4r-tan-bg, #f4ecd8); border: 1px solid var(--e4r-tan-line, #dccfae); border-radius: 10px; }
  html body #columnHolder .passageText > .passageOptionsGroup .e4-view-menu .e4-view-holder { list-style: none; }
  html body #columnHolder .passageText > .passageOptionsGroup .e4-view-menu .e4-view-holder h2 { display: none !important; }
  html body #columnHolder .passageText > .passageOptionsGroup .e4-view-menu .e4-view-holder > div { display: block !important; background: transparent !important; border: 0 !important; padding: 0 !important; }
  html body #columnHolder .passageText > .passageOptionsGroup .e4-view-menu ul.displayModes { margin: 0; padding: 0; list-style: none; }
  html body #columnHolder .passageText > .passageOptionsGroup .e4-view-menu ul.displayModes > li { display: list-item !important; list-style: none; }
  html body #columnHolder .passageText > .passageOptionsGroup .e4-view-menu li > a {
    display: block; position: relative; top: 0; min-height: 44px; padding: 12px 16px !important; color: var(--e4r-bar, #22396a) !important;
    font: 400 15px/20px var(--e4r-sans, sans-serif); text-decoration: none; }
  html body #columnHolder .passageText > .passageOptionsGroup .e4-view-menu ul.displayModes > li.e4-mode-off > a { color: var(--e4r-mut, #7a7368) !important; opacity: .6; cursor: default; }
  html body #columnHolder .passageText > .passageOptionsGroup .e4-view-menu .e4-view-none,
  html body #columnHolder .passageText > .passageOptionsGroup .e4-view-menu .e4-view-lang { padding: 8px 16px; color: var(--e4r-mut, #7a7368); font: 400 14px/1.4 var(--e4r-sans, sans-serif); list-style: none; }
  html body #columnHolder .passageText > .passageOptionsGroup .dropdown-menu .e4-site-lang { list-style: none; margin: 8px 0 0; padding: 0; background: var(--e4r-tan, #eadfc4); border-left: 4px solid var(--e4r-tan-mut, #86765c); }
  html body #columnHolder .passageText > .passageOptionsGroup .dropdown-menu .e4-site-lang > li { list-style: none; }
  html body #columnHolder .passageText > .passageOptionsGroup .dropdown-menu .e4-site-lang .e4-lang-toggle {
    display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px 12px !important; top: 0; color: var(--e4r-bar, #22396a) !important;
    font: 400 15px/1.3 var(--e4r-sans, sans-serif); text-decoration: none; }
  html body #columnHolder .passageText > .passageOptionsGroup .dropdown-menu .e4-site-lang .e4-lang-list { display: none; list-style: none; margin: 0; padding: 0 0 4px; max-height: 220px; overflow-y: auto; background: var(--e4r-paper, #fbf9f4); }
  html body #columnHolder .passageText > .passageOptionsGroup .dropdown-menu .e4-site-lang > li.open .e4-lang-list { display: block; }
  /* BUILD-SPEC 4.4 'NOT in the new header' row 2: Grammar is not in the gear on the phone; it is reached from the eye (View) list (e4_topbar.js v25Grammar) */
  html body #columnHolder .passageText > .passageOptionsGroup .settingsDropdown li.e4-grammar-opt { display: none !important; }
  /* AMEND-7 (Bob 3:38 AM ET) + CA11 08:40:12Z: under the gear, Text size (e4_settings.js), Language (.e4-site-lang) and the More list (e4_topbar.js v25More) */
  html body #columnHolder .passageText > .passageOptionsGroup .dropdown-menu .e4-v25-more { list-style: none; margin: 8px 0 0; padding: 4px 0; border-top: 1px solid var(--e4r-tan-line, #dccfae); }
  html body #columnHolder .passageText > .passageOptionsGroup .dropdown-menu .e4-v25-more > li { list-style: none; }
  html body #columnHolder .passageText > .passageOptionsGroup .dropdown-menu .e4-v25-more > li > a {
    display: flex; align-items: center; min-height: 44px; padding: 8px 12px !important; top: 0; color: var(--e4r-bar, #22396a) !important; font: 400 15px/1.3 var(--e4r-sans, sans-serif); text-decoration: none; }

  /* ---- FIT STEPS (BUILD-SPEC 6.1 / 6.2), set one at a time by v25Fit only when a gap would be short; each used = FLAG ---- */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup.e4-f31 { padding: 0 6px !important; }                                    /* F3.1 row padding 8 -> 6 */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup.e4-f32 > .e4-ph-logo { width: 34px; margin: 0 -5px; }                          /* F3.2 logo 28 -> 24, same file, square (tap stays 34); BUILD-SPEC b76694ce: the logo before any text */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup.e4-f32 > .e4-ph-logo > img { width: 24px; height: 24px; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup.e4-f33 > .argSummary > button.select-version { padding: 0 7px 0 8px !important; } /* F3.3 inside padding 9 -> 7 */
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup.e4-f33 > .argSummary > button.select-reference { padding: 0 8px !important; }
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup.e4-f34 > .argSummary > button.select-version,
  html body #columnHolder .passageContainer .passageText > .passageOptionsGroup.e4-f34 > .argSummary > button.select-reference { font-size: 13px !important; } /* F3.4 text 14 -> 13, last */
  html body #stepnavbar.e4-f101 .e4-cs-strip { font-size: 12.5px !important; }                                                                             /* F10 strip 13 -> 12.5 -> 12 */
  html body #stepnavbar.e4-f102 .e4-cs-strip { font-size: 12px !important; }
}

/* ---- 640-767 px: the site opens the study panel BESIDE the text (css/e4-theme.css RP9). It sat 50 px low (STEP's old 50 px bar), so the page grew
   50 px, scrolled, and slid the tan row under the strip (measured 07:47Z, WebKit 767; r3.8x too). With the 22 px strip the panel starts at the tan
   row's top, as the text column does. Its tab strip stays r3.8x's here (F14 STOP, lined to BAM19). ---- */
@media (min-width: 640px) and (max-width: 767.98px) {
  html body .row-offcanvas.active #sidebar:not(.e4-rail) { top: 0 !important; }
}

/* ---- 3. under 640 px (where the site lays the open study panel OVER the text, css/e4-theme.css RP9): the lighter row = the panel's own tab strip, directly
   under the tan row: 44 high, #f4ecdc, 1px #e2d6ba line beneath, 8 padding; nine 28 x 28 items spread with equal gaps; letters 15 / 600 navy, icons 17-18
   line 1.5 navy; the chosen tab a brown #8a4f1d tile, white mark. From 640 px the site opens the panel BESIDE the text (240-360 px wide): the nine items
   do not fit there even after F13 (F14 STOP, line to BAM19 06:3xZ), so 640-767 keeps r3.8x's panel strip until that is answered. ---- */
@media (max-width: 639.98px) {
  /* AMEND-5 musts 5 + 6 (spec 7 'Open' item 7; spec 3 / I3): under the second row comes the study content, THEN the Bible text: the panel holds its own
     height (at most half the screen, its pane scrolls inside), the text starts under it (--e4-v25-panel-h, e4_topbar.js v25Sync); no grey cover over the
     text; no extra top line on the panel (the open header is 22 + 44 + 44 + 1 = 111) */
  html body .row-offcanvas.active #sidebar { top: var(--e4-v25-top, 66px) !important; bottom: auto !important; height: auto !important; max-height: 50vh; border-top: 0 !important; }
  html body .row-offcanvas.active #sidebar > .tab-content > .tab-pane.active { height: auto !important; max-height: calc(50vh - 45px); overflow-y: auto; }
  html body div.e4-scrim { display: none !important; }
  html body .row-offcanvas.active #columnHolder .passageContainer .passageContent { padding-top: var(--e4-v25-panel-h, 0px) !important; }
  html body #sidebar > ul.nav-tabs {
    display: flex !important; flex-wrap: nowrap; align-items: center; justify-content: space-between; box-sizing: border-box; height: 45px; min-height: 45px; /* 44 + the 1 px line: open = 111 (zip SPEC 1, BUILD-SPEC 3) */
    margin: 0 !important; padding: 0 8px !important; border: 0 !important; border-bottom: 1px solid #e2d6ba !important; background: #f4ecdc !important; overflow: visible; }
  html body #sidebar > ul.nav-tabs { top: 0 !important; } /* its own top: -1px (measured 08:35Z) put the row 1 px over the tan row once the panel's top line went */
  html body #sidebar > ul.nav-tabs::before, html body #sidebar > ul.nav-tabs::after { content: none !important; display: none !important; } /* Bootstrap's clearfix: two empty flex items (measured 07:41Z: gaps 12.2, first item at 20) */
  html body #sidebar > ul.nav-tabs > li { flex: 0 0 28px !important; width: 28px; height: 28px; margin: 0 !important; padding: 0 !important; float: none !important; position: relative; }
  html body #sidebar > ul.nav-tabs > li.e4-fold-li { display: block !important; }
  html body #sidebar > ul.nav-tabs > li > a, html body #sidebar > ul.nav-tabs > li > .e4-fold-btn {
    display: flex !important; align-items: center; justify-content: center; position: relative; box-sizing: border-box; width: 28px; height: 28px; min-height: 28px !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 10px !important; box-shadow: none !important; top: 0;
    background-color: transparent !important; background-repeat: no-repeat !important; background-position: center !important;
    color: #22396a !important; font: 600 15px/1 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif !important; text-decoration: none; cursor: pointer; }
  html body #sidebar > ul.nav-tabs > li > a::before { content: none !important; display: none !important; }
  html body #sidebar > ul.nav-tabs > li > a > *, html body #sidebar > ul.nav-tabs > li > .e4-fold-btn > * { display: none !important; }
  html body #sidebar > ul.nav-tabs > li > a::after, html body #sidebar > ul.nav-tabs > li > .e4-fold-btn::after {
    content: ''; position: absolute; left: calc(-1 * var(--e4v-tx, 3px)); right: calc(-1 * var(--e4v-tx, 3px)); top: -8px; bottom: -8px; } /* tap 34 x 44; 8.3 split when gaps < 6 */
  html body #sidebar > ul.nav-tabs.e4-f131 { padding: 0 4px !important; }                                                       /* F13.1 row padding 8 -> 4 */
  html body #sidebar > ul.nav-tabs.e4-f132 > li { flex-basis: 26px !important; width: 26px; height: 26px; }                     /* F13.2 every item 28 -> 26 */
  html body #sidebar > ul.nav-tabs.e4-f132 > li > a, html body #sidebar > ul.nav-tabs.e4-f132 > li > .e4-fold-btn { width: 26px; height: 26px; min-height: 26px !important; }
  /* the four icons: the package file as a mask on ::before, filled with the item's colour (navy = the file's own; white on the chosen tile) */
  html body #sidebar > ul.nav-tabs > li > a[data-target='#history']:not(.e4-tab-recent), html body #sidebar > ul.nav-tabs > li > a.e4-tab-recent,
  html body #sidebar > ul.nav-tabs > li > a[data-target='#help'], html body #sidebar > ul.nav-tabs > li > .e4-fold-btn { font-size: 0 !important; background-image: none !important; }
  html body #sidebar > ul.nav-tabs > li > a[data-target='#history']:not(.e4-tab-recent)::before, html body #sidebar > ul.nav-tabs > li > a.e4-tab-recent::before,
  html body #sidebar > ul.nav-tabs > li > a[data-target='#help']::before, html body #sidebar > ul.nav-tabs > li > .e4-fold-btn::before {
    content: '' !important; display: block !important; width: 18px; height: 18px; font: 0/0 a; background-color: currentColor;
    -webkit-mask: var(--e4v-help) center / 18px 18px no-repeat; mask: var(--e4v-help) center / 18px 18px no-repeat; }
  html body #sidebar > ul.nav-tabs > li > a[data-target='#history']:not(.e4-tab-recent)::before { width: 17px; height: 17px; -webkit-mask-image: var(--e4v-bm); mask-image: var(--e4v-bm); -webkit-mask-size: 17px 17px; mask-size: 17px 17px; }
  html body #sidebar > ul.nav-tabs > li > a.e4-tab-recent::before { -webkit-mask-image: var(--e4v-recent); mask-image: var(--e4v-recent); }
  html body #sidebar > ul.nav-tabs > li > .e4-fold-btn::before { -webkit-mask-image: var(--e4v-fold); mask-image: var(--e4v-fold); }
  html body #sidebar > ul.nav-tabs > li.active > a { background-color: #8a4f1d !important; color: #ffffff !important; }
}
/* ===================== end r3.8y PHONE-HEADER-V25-1122 ===================== */
