/*  7q.css — generated by build-standalone.js. Do not edit by hand.
 *  Lifted from the modules at build time so the browser has these styles
 *  before first paint rather than after.
 */

/* ===== the cards, tokens and base type  (7q-cards.js) ===== */

  :root{
    --orient:#1f6fb2;
    --observe:#1c94a4;
    --identify:#4a9c34;
    --interpret:#d4a017;
    --understand:#e07b1e;
    --connect:#d0472f;
    --respond:#a82f26;
    --prepare:#726D69;

    /* The logo's two colours. These are brand, not phase: they belong to the
       7Q mark and the site chrome, and must not follow the phase palette when
       it changes. Since 22 Nov (the user) the green is the new green #24845a
       everywhere the old olive green was used, the same as --nav-green in
       7q-nav.js (dark mode too: 7q-theme.js). */
    --brand-blue:#2f6da8;
    --brand-green:#24845a;

    --paper:#FBFBFA;
    --paper-veil:rgba(251,251,250,.95);
    --page:var(--paper);
    --card:#ffffff;
    --ink:#1A1A1A;
    --ink-soft:#4a4a4a;
    --muted:#726D69;
    --faint:#a49c8e;
    --rule:#E6E3DE;

    --sans:"Lato","Segoe UI",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
    --serif:Georgia,"Iowan Old Style","Times New Roman",serif;
  }
  *{box-sizing:border-box}
  html{-webkit-text-size-adjust:100%}
  body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.55}
  .wrap{max-width:44rem;margin:0 auto;padding:1.5rem 1.1rem 4rem}

  /* Wider cards on a real keyboard. Phones and portrait tablets keep the
     narrow column; landscape tablets and laptops get 25% more room, and
     everything inside the card uses it — prompt, notes and answer box alike.
     Only applies to pages that carry the cards, not to prose pages. */
  @media (min-width:1024px){
    .wrap--cards{max-width:55rem}
  }

  .sr-only{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
  }
  .eyebrow{font-size:.7rem;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-weight:700;margin:0 0 .5rem}
  .study-head{border-bottom:1px solid var(--rule);padding-bottom:1.1rem;margin-bottom:1.3rem}
  .ref-row{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}
  .ref-static{font-family:var(--serif);font-size:1.5rem;flex:1 1 13rem;min-width:0}
  #reference{
    font-family:var(--serif);font-size:1.5rem;font-weight:400;color:var(--ink);
    border:none;border-bottom:1px dashed var(--dash,#cfc8ba);background:transparent;
    padding:.15rem .1rem;flex:1 1 13rem;min-width:0;
  }
  #reference:focus{outline:none;border-bottom-color:var(--orient);background:var(--ref-focus,#fffdf8)}
  #reference::placeholder{color:var(--ph-ref,#b8b0a2)}
  .genre-tag{
    font-size:.72rem;letter-spacing:.07em;text-transform:uppercase;font-weight:700;
    color:var(--muted);border:1px solid var(--rule);border-radius:2px;
    padding:.28rem .55rem;background:var(--card,#fff);cursor:pointer;font-family:var(--sans);
  }
  .genre-tag:hover{border-color:var(--brand-green);color:var(--brand-green)}
  .genre-tag:focus-visible{outline:2px solid var(--brand-green);outline-offset:2px}
  .genre-tag[disabled]{cursor:default;opacity:.9}
  .genre-tag[disabled]:hover{border-color:var(--rule);color:var(--muted)}
  .before-begin{margin:.9rem 0 0;font-size:.88rem;color:var(--muted);font-style:italic}
  body.discuss .before-begin{display:none}
  .seam{
    margin:.6rem 0 0;font-size:.82rem;color:var(--observe);
    border-left:3px solid var(--observe);padding-left:.6rem;
  }
  .seam[hidden]{display:none}

  /* Another study of the same passage. Deliberately a line under the field
     rather than a dialog: the reference updates as it is typed, so anything
     modal would fire mid-word. It offers, it does not block. */
  .dupe{
    margin:.6rem 0 0;font-size:.82rem;color:var(--ink-soft);
    border-left:3px solid var(--orient);padding-left:.6rem;
    display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .6rem;
  }
  .dupe[hidden]{display:none}
  .dupe-act{
    font-family:var(--sans);font-size:.82rem;font-weight:700;color:var(--orient);
    background:none;border:0;padding:0;cursor:pointer;
    text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;
  }
  .dupe-act:hover{opacity:.72}
  .dupe-act[data-armed="1"]{color:var(--connect)}

  .modes{display:flex;margin:0 0 1.5rem;border:1px solid var(--rule);border-radius:3px;overflow:hidden;background:var(--card,#fff);width:fit-content}
  .modes button{
    font-family:var(--sans);font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;
    font-weight:700;color:var(--muted);background:transparent;border:none;padding:.5rem 1.15rem;cursor:pointer;
  }
  .modes button[aria-pressed="true"]{background:var(--orient-fill,var(--orient));color:var(--on-fill,#fff)}
  /* a visible divider so the two read as two controls even when neither is
     hovered — the pill has no internal border of its own */
  .modes button + button{border-left:1px solid var(--rule)}
  .modes button[aria-pressed="true"] + button{border-left-color:var(--orient-fill,var(--orient))}
  .modes button:focus-visible{outline:2px solid var(--orient);outline-offset:-2px}

  /* The mode pills and the Scripture pill share one row, with a rule between
     them: Prepare and Discuss are modes and carry aria-pressed, Scripture opens
     a panel and carries aria-haspopup, and the rule marks that difference in
     kind. Lives here rather than in a page's own <style> because both the study
     tool and the samples page use it. */
  .sq-mode-row{display:flex;align-items:stretch;gap:.65rem;margin:0 0 1.5rem;flex-wrap:wrap}
  .sq-mode-row .modes{margin:0}
  .sq-mode-rule{width:1px;background:var(--rule);align-self:stretch;flex:none}
  @media (max-width:26rem){
    .sq-mode-row{gap:.45rem}
    .sq-mode-row .modes button{padding:.5rem .8rem}
  }

  .card{
    background:var(--card);border:1px solid var(--rule);border-left:4px solid var(--accent);
    border-radius:2px;margin-bottom:.7rem;overflow:hidden;
    /* clip rather than hidden where the browser knows it: hidden also stops
       anything inside the card from sticking to the screen, and the answer
       box's B / I / U row has to (below). Older browsers keep hidden. */
    overflow:clip;
  }
  .card-h{margin:0;font-size:inherit;font-weight:inherit}
  .card-toggle{
    display:flex;align-items:baseline;gap:.65rem;flex-wrap:wrap;width:100%;
    background:transparent;border:none;text-align:left;cursor:pointer;
    padding:.95rem 1.1rem;font-family:var(--sans);
  }
  .card-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
  .qnum{font-size:1.7rem;font-weight:600;letter-spacing:-.02em;color:var(--ink);line-height:1}
  .phase{font-size:.95rem;font-weight:700;font-style:italic;letter-spacing:.07em;text-transform:uppercase;color:var(--accent)}
  .card-title{font-size:1rem;font-weight:700;color:var(--ink)}
  .status{margin-left:auto;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--faint);white-space:nowrap;align-self:center}
  .status.done{color:var(--accent)}
  .peek{flex-basis:100%;font-size:.85rem;color:var(--muted);font-style:italic;margin-top:.3rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  /* the peek previews a closed card; once it's open the answer is right
     there in the box, so showing it in the header just doubles the text */
  .card-toggle[aria-expanded="true"] .peek{display:none}
  .card-body{padding:0 1.1rem 1.2rem}
  .xref{font-size:.76rem;color:var(--muted);margin:0 0 .85rem;font-style:italic}
  .xref b{font-style:normal;font-weight:700;letter-spacing:.03em}
  .prompt{margin:0;color:var(--ink-soft)}
  .prompt-print{display:none}
  .subnote{font-size:.82rem;font-style:italic;color:var(--muted);margin:.5rem 0 0}

  .answer-head{display:flex;align-items:baseline;gap:.6rem;margin:1.1rem 0 .35rem}
  .answer-label{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:var(--muted)}
  .counter{
    margin-left:auto;font-size:.7rem;letter-spacing:.06em;
    color:var(--faint);font-variant-numeric:tabular-nums;white-space:nowrap;
  }
  .counter.over{color:var(--interpret);font-weight:700;}
  @media print{ .counter{display:none} }
  /* The answer box. It grows with what is written, as the textarea did, and
     its buttons sit inside it along the bottom while it is being written in. */
  .answer-box{
    background:var(--well,#fffdf9);border:1px solid var(--rule);border-radius:2px;
  }
  /* 22 Nov (the user): the second pixel of the edge sits outside the box, not
     inside it, so the B / I / U row (which has a background of its own) can no
     longer cover it: the edge is as thick under the row as round the rest */
  .answer-box.editing,.answer-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
  .answer-ed{
    display:block;width:100%;font-family:var(--sans);font-size:1rem;line-height:1.6;color:var(--ink);
    padding:.7rem .75rem;min-height:7rem;outline:none;
    white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;
    -webkit-user-select:text;user-select:text;cursor:text;
  }
  .answer-ed[data-empty]::before{content:attr(data-ph);color:var(--ph,#bdb5a6);pointer-events:none}
  .answer-ed b,.answer-print b,.my-answer b,.kept-text b,.answer-block b{font-weight:700}
  /* The row sticks to the bottom of the screen while the bottom of a long box
     is out of sight, so the buttons are always in reach of a selection; once
     the box's own bottom comes into view it sits there. On a phone --sq-kb
     lifts it above the on-screen keyboard (set in script, from the visual
     viewport). The background and hairline keep it legible over the text it
     floats above. */
  .fmt-tools{
    display:flex;gap:2px;padding:.2rem .4rem .3rem;
    position:sticky;bottom:var(--sq-kb,0px);z-index:2;
    background:var(--well,#fffdf9);border-top:1px solid var(--well-rule,#efe9de);
  }
  .fmt-tools[hidden]{display:none}
  .fmt-tools button{
    width:2rem;height:1.75rem;padding:0;border:0;border-radius:4px;
    background:none;color:var(--fmt-idle,#a29a8c);font-family:var(--serif);font-size:1rem;line-height:1;cursor:pointer;
  }
  .fmt-tools button[aria-pressed="true"]{
    color:var(--accent);background:rgba(0,0,0,.05);
    background:color-mix(in srgb, var(--accent) 12%, transparent);
  }
  .fmt-tools button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
  /* the marker and its colours (item AD) */
  .fmt-tools .fmt-sep{width:1px;height:1.1rem;background:var(--rule);margin:0 .25rem;align-self:center}
  .fmt-tools .fmt-mark,.fmt-tools .fmt-list{display:inline-flex;align-items:center;justify-content:center}
  .fmt-tools .fmt-mark .fmt-bar{fill:var(--sq-hl,#FBEAA7);stroke:rgba(0,0,0,.18);stroke-width:.6}
  /* U's own line shows the underline color in use, as the marker's bar does */
  .fmt-tools .fmt-ubar{text-decoration-color:var(--sq-ul,currentColor);text-decoration-thickness:2px;text-underline-offset:3px}
  /* On phones under 360px the row would run 16px too long with U's arrow:
     the buttons narrow a little there (the user, 9 Nov) */
  @media (max-width:359px){
    .fmt-tools button{width:1.75rem}
    .fmt-tools .fmt-arrow{width:1.05rem}
  }
  .fmt-tools .fmt-arrow{width:1.3rem;margin-left:-.15rem;display:inline-flex;align-items:center;justify-content:center}
  .fmt-tools .fmt-arrow svg{transition:transform .15s}
  .fmt-tools .fmt-arrow[aria-expanded="true"] svg{transform:rotate(180deg)}
  .fmt-tools .fmt-hint{align-self:center;margin-left:.35rem;font-family:var(--sans);font-size:.74rem;color:var(--muted)}
  .fmt-tools .fmt-hint[hidden]{display:none}
  .fmt-pick{
    position:absolute;bottom:calc(100% + 6px);left:4px;z-index:5;display:flex;gap:6px;padding:8px;
    background:var(--card,#fff);border:1px solid var(--rule);border-radius:10px;box-shadow:0 8px 24px rgba(26,26,26,.14);
  }
  .fmt-pick[hidden]{display:none}
  /* Eight swatches in a row need about 304px of box, which a phone narrower
     than 380px does not have (the box is the screen less ~75px), and the card
     clips what spills over. There they sit in two rows of four instead. */
  @media (max-width:379px){ .fmt-pick{display:grid;grid-template-columns:repeat(4,30px)} }
  .fmt-tools .fmt-swatch{
    width:30px;height:30px;padding:0;border-radius:50%;border:1px solid rgba(0,0,0,.14);
    position:relative;flex:none;cursor:pointer;
  }
  .fmt-tools .fmt-swatch[aria-checked="true"]::after{
    content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid var(--ink);
  }
  .fmt-tools .fmt-none{background:var(--card,#fff);overflow:hidden}
  .fmt-tools .fmt-none::before{
    content:"";position:absolute;left:calc(50% - 1px);top:4px;bottom:4px;width:2px;background:#b3412f;transform:rotate(45deg);
  }
  @media (prefers-reduced-motion:reduce){ .fmt-tools .fmt-arrow svg{transition:none} }
  /* a highlight on every read-only screen: Discuss, print, the earlier
     version, My Stored Notes. The text stays dark on it. */
  mark[data-h]{color:var(--ink);padding:.05em 0;border-radius:2px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  /* Colored underlines, for inductive study (the user, 9 Nov; mockup
     7q-colored-underlines.html): the highlight colors made darker so a thin
     line shows on a light page, lighter on a dark one, quieter in
     Monochrome. No gray: the text color stands in its place (a plain
     underline). Every underline is 1.25px (the user's choice on the iPhone,
     between 1 and 1.5). The number is the highlight's place in FMT_HL. */
  :root{--ul1:#D4AC00;--ul2:#4E9A1E;--ul3:#1F86C9;--ul4:#D9437A;--ul5:#D0761A;--ul7:#8549D6}
  html[data-scheme="dark"]{--ul1:#E2C043;--ul2:#7CC94A;--ul3:#5AB4F0;--ul4:#F07CA2;--ul5:#F0A050;--ul7:#B48CF2}
  html[data-color="mono"]{--ul1:#948440;--ul2:#567543;--ul3:#527B96;--ul4:#AC7086;--ul5:#997551;--ul7:#8B73AC}
  html[data-color="mono"][data-scheme="dark"]{--ul1:#B2A573;--ul2:#84A370;--ul3:#87ABC3;--ul4:#CD9FAE;--ul5:#C0A080;--ul7:#BBABD3}
  u{text-decoration-thickness:1.25px;text-underline-offset:2px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  u[data-u="1"]{text-decoration-color:var(--ul1)} u[data-u="2"]{text-decoration-color:var(--ul2)}
  u[data-u="3"]{text-decoration-color:var(--ul3)} u[data-u="4"]{text-decoration-color:var(--ul4)}
  u[data-u="5"]{text-decoration-color:var(--ul5)} u[data-u="7"]{text-decoration-color:var(--ul7)}
  mark[data-h="1"]{background:#FBEAA7}
  mark[data-h="2"]{background:#D6F0C5}
  mark[data-h="3"]{background:#CEE7F7}
  mark[data-h="4"]{background:#FAD6E1}
  mark[data-h="5"]{background:#FCDFBC}
  mark[data-h="6"]{background:#E6E3DD}
  mark[data-h="7"]{background:#E6DAF8}

  /* The printed copy of an answer. Kept from the textarea days, when the box's
     height was set in script and measured wrong on paper; a plain block sizes
     itself to whatever it holds in whatever column it lands in. Print uses this
     and hides the box. Kept in step by the input handler, formatting and all. */
  .answer-print{display:none}

  /* filled, non-editable answer */
  .answer-block{
    background:var(--well,#fffdf9);border:1px solid var(--rule);border-radius:2px;
    padding:.7rem .75rem;font-size:1rem;line-height:1.6;color:var(--ink);white-space:pre-wrap;
  }

  /*  The earlier-version note. Deliberately the quietest thing on the card:
      it sits under nearly every answer of anyone who writes on two devices,
      and it is not a warning. Muted text, no rule, no colour, no icon — the
      words do the work, and "Read it" is the only thing that looks pressable. */
  .kept-wrap:empty{display:none}
  .kept-line{
    margin:.55rem 0 0;font-family:var(--sans);font-size:.78rem;
    color:var(--muted);line-height:1.5;
  }
  .kept-open{
    font:inherit;color:var(--orient);background:transparent;border:none;
    padding:0;cursor:pointer;border-bottom:1px solid var(--rule);
  }
  .kept-open:hover{border-bottom-color:var(--orient)}
  .kept-body{margin:.5rem 0 0;padding-left:.7rem;border-left:2px solid var(--rule)}
  .kept-body[hidden]{display:none}
  .kept-text{
    font-family:var(--sans);font-size:.86rem;color:var(--ink-soft);
    line-height:1.6;white-space:pre-wrap;margin-bottom:.5rem;
  }
  @media print{ .kept-wrap{display:none} }

  .helpers{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.9rem;align-items:center}
  .ghost{
    font-family:var(--sans);font-size:.78rem;font-weight:600;color:var(--accent);
    background:transparent;border:1px solid var(--pill-rule,#d9d3c6);border-radius:999px;padding:.32rem .8rem;cursor:pointer;
  }
  .ghost:hover{border-color:var(--accent)}
  .ghost:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  /* My studies, New study (and Dive's Print or PDF) as bold text rather than
     pills (the user, 22 Nov): the same buttons, sitting more quietly */
  .sq-link{font-family:var(--sans);font-size:.86rem;font-weight:700;color:var(--accent);
    background:none;border:0;padding:.2rem 0;cursor:pointer;text-decoration:none}
  .sq-link:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
  .sq-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:2px}
  .sq-link-dot{color:var(--muted);font-weight:700;user-select:none}
  .ghost[aria-expanded="true"]{background:var(--accent-fill,var(--accent));border-color:var(--accent-fill,var(--accent));color:var(--on-fill,#fff)}
  /* The resource buttons under each card (the user, 1 Nov): Help first, then
     the guides, as small framed icons with a caption. Sizes are GPT's
     approved component, 70% of an 80px reference, left packed, about 3.5px
     between frames; colors are the site's own. Each button's hit area is
     the whole transparent slot (at least 44px), the frame is drawn
     behind it. The 7.35px captions are knowingly small (the user: readers
     may zoom once, then know the icons). */
  .q7q-resources{
    --q7q-art:var(--muted);
    --q7q-caption:var(--ink-soft);
    --q7q-border:var(--pill-rule,#d9d3c6);
    --q7q-frame-height:50.4px;
    --q7q-visible-gap:3.5px;
    display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;
    gap:0;container-type:inline-size;width:100%;
  }
  .q7q-resource-button{
    --q7q-frame-width:46.8px;
    --q7q-bg:var(--card);
    box-sizing:border-box;appearance:none;-webkit-appearance:none;
    position:relative;isolation:isolate;
    flex:0 0 calc(var(--q7q-frame-width) + var(--q7q-visible-gap));
    width:calc(var(--q7q-frame-width) + var(--q7q-visible-gap));
    height:56px;min-width:44px;min-height:44px;
    padding:0;margin:0;border:0;border-radius:0;background:transparent;
    color:var(--q7q-caption);text-decoration:none;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2.1px;
    text-align:center;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;
  }
  @supports (width:1cqw){
    /* GPT's formula gave 46.8px on its own mock card (315px of content at
       375px); the site's cards are narrower inside (299px), so the factor
       is scaled to give the same 46.8px frame on a 375px phone. */
    .q7q-resource-button{--q7q-frame-width:clamp(42px, calc((100cqw - 18px) * 0.6655 / 4), 52.9px)}
  }
  /* Scripture, at the far right of the row; the row's other buttons stay packed left */
  .q7q-resource-button--scripture{margin-left:auto}
  .q7q-resource-icon .q7q-icon-scripture{height:26.6px;max-width:30.5px}
  /* Five buttons (Q1 with Scripture) on a very narrow card shrink to fit, and
     never wrap */
  @supports (width:1cqw){
    .q7q-resources--many .q7q-resource-button{
      --q7q-frame-width:min(clamp(42px, calc((100cqw - 18px) * 0.6655 / 4), 52.9px), max(24px, calc(100cqw / 5 - 3.5px)));
      min-width:0;
    }
  }
  .q7q-resource-button::before{
    content:"";box-sizing:border-box;position:absolute;z-index:0;pointer-events:none;
    top:50%;left:50%;transform:translate(-50%,-50%);
    width:var(--q7q-frame-width);height:var(--q7q-frame-height);
    border:1px solid var(--q7q-border);border-radius:7px;background:var(--q7q-bg);
  }
  @media (hover:hover){
    .q7q-resource-button:hover{--q7q-bg:var(--hover-bg,#fbfaf7)}
    .q7q-resource-button:hover::before{border-color:var(--accent)}
  }
  .q7q-resource-button:active{--q7q-bg:var(--active-bg,#f7f4ec)}
  .q7q-resource-button:focus{outline:none}
  .q7q-resource-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}
  /* RQ's Help opens its tip on the card: while open, the frame and icon
     take the card's color */
  .q7q-resource-button[aria-expanded="true"]{--q7q-art:var(--accent);color:var(--accent)}
  .q7q-resource-button[aria-expanded="true"]::before{border-color:var(--accent)}
  .q7q-resource-button > *{position:relative;z-index:1}
  .q7q-resource-icon{display:flex;flex:0 0 26.6px;height:26.6px;width:100%;align-items:center;justify-content:center}
  .q7q-resource-icon svg{display:block;color:var(--q7q-art);width:100%;height:24.5px;max-width:32.2px;overflow:visible}
  /* white inside a drawing is the frame's own color, so it follows hover */
  .q7q-resource-icon .q7q-bgfill{fill:var(--q7q-bg)}
  .q7q-resource-icon .q7q-icon-help{height:26.6px;max-width:22.4px}
  .q7q-resource-icon .q7q-icon-genre{height:25.2px;max-width:30.1px}
  .q7q-resource-icon .q7q-icon-timeline{height:24.5px;max-width:32.2px}
  .q7q-resource-icon .q7q-icon-overview{height:23.8px;max-width:23.6px}
  .q7q-resource-icon .q7q-icon-word{height:23.8px;max-width:32.9px}
  .q7q-resource-icon .q7q-icon-threads{height:21.7px;max-width:28.7px}
  .q7q-resource-caption{
    display:flex;align-items:center;justify-content:center;min-height:17.5px;
    font-family:var(--sans);font-size:7.35px;font-weight:750;line-height:1.16;
    letter-spacing:-0.04px;color:inherit;white-space:nowrap;
  }
  .q7q-resource-button--word .q7q-resource-caption{transform:translateY(-3.85px);line-height:1.12}
  .q7q-resource-button--threads{gap:0.7px}
  .q7q-resource-button--threads .q7q-resource-icon{flex-basis:21.7px;height:21.7px}
  .q7q-resource-button--threads .q7q-resource-caption{min-height:23.8px;font-size:7px;line-height:1.08}
  .ext::after{content:" ↗";font-size:.8em;opacity:.6}
  /* BibleProject's logo, small and gray, just before every link to their site
     (the user, 5 Nov): about the height of the capitals beside it. The logo
     and its link are held together, so a line never breaks between them; the
     links are short titles. */
  .bp-link{white-space:nowrap}
  .bp-logo{display:inline-block;height:.78em;width:.78em;margin-right:.3em;vertical-align:-.04em;color:var(--muted);fill:currentColor}

  .stuck{
    margin-top:.9rem;background:var(--tip,#f7f4ec);border:1px solid var(--rule);border-left:3px solid var(--dash,#cfc8ba);
    border-radius:2px;padding:.8rem .9rem;font-size:.9rem;font-style:italic;color:var(--ink-soft);
  }
  .addon{
    margin-top:1.1rem;border:1px solid var(--rule);border-left:3px solid var(--observe);
    border-radius:2px;padding:.85rem .9rem;background:var(--addon-bg,#f4faf7);
  }
  .addon h4{margin:0;font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;color:var(--observe)}
  .addon-body{margin-top:.5rem}
  /* More to Notice opens and closes on its heading (backlog item X). The
     heading stays a heading; the button inside it takes its look. */
  /* title and chevron on the first row; when closed, the count sits on a
     line of its own under the title, so a long genre name never crowds it */
  .addon-toggle{
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:.7rem;
    width:100%;margin:0;padding:0;
    background:none;border:0;cursor:pointer;text-align:left;
    font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;
  }
  .addon-toggle:focus-visible{outline:2px solid var(--observe);outline-offset:3px}
  .addon-title{grid-column:1;grid-row:1}
  .addon-count{
    grid-column:1;grid-row:2;margin-top:.2rem;
    font-weight:600;letter-spacing:.02em;text-transform:none;font-size:1.15em;color:var(--muted);
  }
  .addon-toggle[aria-expanded="true"] .addon-count{display:none}
  .addon-chev{
    grid-column:2;grid-row:1;width:.5rem;height:.5rem;margin:.05rem .15rem 0 0;
    border-right:2px solid currentColor;border-bottom:2px solid currentColor;
    transform:rotate(45deg);transition:transform .2s ease;
  }
  .addon-toggle[aria-expanded="false"] .addon-chev{transform:rotate(-45deg);margin-top:.15rem}
  .addon ul{margin:0;padding-left:1.1rem;font-size:.92rem;color:var(--ink-soft)}
  .addon li{margin-bottom:.35rem}
  .addon p{margin:.6rem 0 0;font-size:.8rem;font-style:italic;color:var(--muted)}

  /* Discuss */
  .sq-discuss{display:none}
  body.discuss .sq-prepare{display:none}
  body.discuss .sq-discuss{display:block}
  .sq-stage .card{margin-bottom:0}
  .sq-stage .card-toggle{cursor:default;padding:1.5rem 1.35rem .2rem}
  .sq-stage .qnum{font-size:2.3rem}
  .sq-stage .phase{font-size:1.1rem}
  .sq-stage .card-title{font-size:1.2rem}
  .sq-stage .status,.sq-stage .peek,.sq-stage .xref{display:none}
  .sq-stage .card-body{padding:0 1.35rem 1.5rem}
  .sq-stage .prompt{font-size:1.15rem;line-height:1.5}
  .prompt-then{display:block;margin-top:.75em}
  /* The reader's own notes, set behind the same cream as the Prepare box so
     they separate from the question at a glance. The horizontal padding is
     cancelled by equal negative margins: the box grows outward into the
     card's own padding, so the text column, its width and its wrapping are
     exactly what they were before the panel existed. */
  .my-answer{
    margin:1.3rem -.75rem 0;padding:.7rem .75rem;
    background:var(--well,#fffdf9);border:1px solid var(--rule);border-radius:2px;
    font-size:1.05rem;white-space:pre-wrap;color:var(--ink);
  }
  .my-answer:empty::before{
    content:"Nothing written here. Listen first; you can add notes after.";
    color:var(--muted);font-style:italic;font-size:.95rem;
  }
  .nav{display:flex;align-items:center;gap:.8rem;margin-top:1.1rem;flex-wrap:wrap;justify-content:center}
  /* on a phone the dots plus two arrows won't fit on one line, so the dots
     take their own row above the arrows rather than shrinking */
  @media (max-width:639px){
    .dots{order:-1;flex-basis:100%;justify-content:center;margin:0 0 .9rem}
  }
  .arrow{
    font-family:var(--sans);font-size:1.15rem;line-height:1;color:var(--muted);
    background:var(--card,#fff);border:1px solid var(--rule);border-radius:999px;
    width:2.6rem;height:2.6rem;cursor:pointer;flex:none;
  }
  .arrow:hover:not(:disabled){border-color:var(--ink);color:var(--ink)}
  .arrow:disabled{opacity:.35;cursor:default}
  .arrow:focus-visible{outline:2px solid var(--orient);outline-offset:2px}
  .dots{display:flex;flex-wrap:wrap;row-gap:.4rem;gap:.4rem;margin:0 auto;justify-content:center}
  /* Nine circles now, not eight: the opening sits at the front and RQ is
     always there. Nine at this size clear a 375px phone once the spacing
     closes up, and on anything narrower the row breaks rather than pushing
     the page sideways. The circles themselves are not touched — they are
     what they have always been, and the spacing is what gives. */
  @media (max-width:23.5rem){
    .dots{gap:.25rem;row-gap:.35rem}
  }
  .dot{
    width:1.8rem;height:1.8rem;border-radius:999px;padding:0;cursor:pointer;
    font-family:var(--sans);font-size:.8rem;font-weight:700;line-height:1;
    background:var(--card,#fff);color:var(--dot);border:2px solid var(--dot);
    opacity:.55;transition:opacity .12s,transform .12s;
  }
  .dot:hover{opacity:.85}
  .dot[aria-current="true"]{background:var(--dotf,var(--dot));border-color:var(--dotf,var(--dot));color:var(--on-fill,#fff);opacity:1;transform:scale(1.12)}
  .dot:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
  /* the row has to clear two arrows on a narrow phone, so the dots grow
     once there's room rather than being sized for the widest case */
  @media (min-width:640px){
    .dots{gap:.6rem}
    .dot{width:2.3rem;height:2.3rem;font-size:.95rem}
  }

  /* Hourglass map */
  .hourglass-wrap{margin:2.4rem 0 0}
  .hourglass{display:block;width:100%;max-width:21rem;margin:0 auto;height:auto}
  .hg-bands{display:none}
  .hg-glass{fill:none;stroke:var(--hg-glass,#4a4a4a);stroke-width:3;stroke-linejoin:round}
  .hg-arrow{
    fill:none;stroke:#fff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;
    opacity:.9;
  }
  .hg-item{cursor:pointer}
  .hg-item text{transition:opacity .12s}
  .hg-item:hover text{opacity:.72}
  /* Chromium draws its own box on a focused SVG band even after a mouse
     click (the layers move focus back to the band on the way out), so the
     default is switched off and only keyboard focus shows a ring. */
  .hg-item:focus{outline:none}
  .hg-item:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
  /* white type on colored sand, with a dark halo so it holds up on
     the lighter golds as well as the deep blues */
  .hg-band-label{
    fill:#fff;font-family:var(--sans);font-weight:700;letter-spacing:.11em;
    paint-order:stroke;stroke:rgba(28,24,18,.42);stroke-width:3.5;stroke-linejoin:round;
  }
  .hg-q{
    fill:#fff;font-family:var(--sans);font-style:italic;
    paint-order:stroke;stroke:rgba(28,24,18,.42);stroke-width:3;stroke-linejoin:round;
  }
  .hg-title{
    text-align:center;font-family:var(--serif);font-size:1.15rem;font-weight:400;
    color:var(--ink);margin:0 0 .9rem;
  }
  .hg-cap{text-align:center;font-size:.78rem;color:var(--muted);font-style:italic;margin:.6rem 0 0}
  /* Discuss shows the hourglass too, below the deck and its timer (28 Oct) */

  .mark{text-align:center;margin-top:2.4rem;font-family:var(--serif);font-size:.9rem;color:var(--muted)}
  .mark span{color:var(--brand-green);font-weight:700}
  /* One rule above the whole block, not one per paragraph: the note is a
     single aside made of several points, and a border between each would
     read as several asides. */
  .note{margin-top:2.4rem;padding-top:1rem;border-top:1px solid var(--rule);font-size:.8rem;color:var(--muted);line-height:1.6}
  .note p{margin:0 0 .85rem}
  .note p:last-child{margin-bottom:0}

  @media print{
    :root{--paper:#fff;--ink:#000}
    body{background:var(--paper);color:var(--ink);font-size:11pt}
    body.discuss .sq-prepare{display:block}
    body.discuss .sq-discuss{display:none}
    .wrap{max-width:none;padding:0}
    .modes,.sq-mode-row,.helpers,.note,.genre-tag,.status,.peek,.mark,.dupe,.sq-noprint{display:none}
    #reference{border:none;font-size:16pt}
    .card-body[hidden]{display:block!important}
    /* Browsers drop colour fills when printing unless told not to. The
       hourglass and the cards' phase bars are meaning, not decoration, so
       they are opted back in. */
    /* the list prints with its card even when closed on screen */
    .addon-body[hidden]{display:block!important}
    .addon-chev,.addon-count{display:none}
    .hourglass,.hourglass *,.card,.addon,.dot{
      -webkit-print-color-adjust:exact;print-color-adjust:exact;
    }
    .hg-grad{display:none}
    .hg-bands{display:block}
    /* Paper gets the static copy, not the box. An unanswered question
       prints as the question alone: the copy is empty exactly when nothing
       was written, so no bookkeeping is needed. */
    .answer-box{display:none}
    .answer-print{
      display:block;white-space:pre-wrap;overflow-wrap:break-word;
      background:#fff;border:1px solid #ddd;border-radius:2px;
      padding:.7rem .75rem;font-size:1rem;line-height:1.6;color:#000;
    }
    .answer-print:empty{display:none}
    .card-body:has(.answer-print:empty) .answer-head{display:none}
    .card{border:1px solid #ccc;border-left:4px solid var(--accent);break-inside:avoid;page-break-inside:avoid;margin-bottom:.5rem}
    .card-toggle{padding-bottom:.2rem}
    .stuck{display:none}
    .my-answer{background:#fff;border-color:#ddd}

    /* The printed study (the user, 3 Nov): for each question its number, its
       title and its opening question, a thin rule, the reader's notes, a thin
       rule. No card, no colour bar, no frame round the notes. An unanswered
       question keeps its two rules with room between them to write by hand.
       Only the study page: the samples keep their cards. */
    body[data-page="dive.html"] .card{
      border:0;border-radius:0;background:none;overflow:visible;margin:0 0 1.1rem;
      break-inside:avoid;page-break-inside:avoid;
    }
    body[data-page="dive.html"] .card-toggle{display:flex;align-items:baseline;gap:.55rem;padding:0 0 .25rem;width:auto}
    body[data-page="dive.html"] .card-body{padding:0}
    body[data-page="dive.html"] .qnum{font-size:1.25rem;color:var(--accent);
      -webkit-print-color-adjust:exact;print-color-adjust:exact}
    body[data-page="dive.html"] .card-title{font-size:1.1rem}
    body[data-page="dive.html"] .phase,
    body[data-page="dive.html"] .status,
    body[data-page="dive.html"] .peek,
    body[data-page="dive.html"] .prompt,
    body[data-page="dive.html"] .subnote,
    body[data-page="dive.html"] .xref,
    body[data-page="dive.html"] .addon,
    body[data-page="dive.html"] .answer-head{display:none}
    body[data-page="dive.html"] .prompt-print{display:block;margin:0 0 .5rem;font-size:1rem;line-height:1.5;color:#000}
    body[data-page="dive.html"] .answer-print,
    body[data-page="dive.html"] .answer-print:empty{
      display:block;border:0;border-radius:0;background:none;
      border-top:.5pt solid #777;border-bottom:.5pt solid #777;
      padding:.55rem 0;
    }
    /* nothing written: room for two lines by hand between the rules */
    body[data-page="dive.html"] .answer-print:empty{min-height:4.5rem}
    /* the hourglass starts a page of its own, so it is easy to leave out */
    body[data-page="dive.html"] #hourglass{break-before:page;page-break-before:always;margin-top:0}
  }
  @media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}


/* ===== the guide panels  (7q-guides.js) ===== */
/* ---------- Panel ---------- */
  #sevenq-panel{
    border:none;padding:0;background:var(--card);color:var(--ink);
    width:min(38rem,100%);max-height:86vh;border-radius:4px;
    box-shadow:0 12px 40px var(--shadow,rgba(40,34,22,.28));
  }
  #sevenq-panel::backdrop{background:var(--backdrop,rgba(44,38,28,.42))}
  /* Header above, body filling the rest. The body used to be sized as the
     pop-up's height less 4rem, guessing the header's height; the header is
     taller than that (about 5rem), so the last line of the body was always
     cut off — the foot of the tools bar, and on an iPhone in Safari, where
     vh counts the screen as if the toolbar were hidden, a good deal more
     (the user, 27 Oct). As a column the body takes exactly what is left.
     dvh, where the browser has it, is the height actually showing. */
  #sevenq-panel[open]{display:flex;flex-direction:column}
  #sevenq-panel{max-height:86vh;max-height:86dvh}
  #sevenq-panel .panel-head{flex:none}
  #sevenq-panel .panel-body{flex:1 1 auto;min-height:0;max-height:none}
  .panel-head{display:flex;align-items:center;gap:.75rem;padding:.9rem 1.1rem;border-bottom:1px solid var(--rule);position:sticky;top:0;background:var(--paper-veil);backdrop-filter:blur(6px)}
  .panel-eyebrow{font-size:.66rem;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:var(--faint);display:block;margin-bottom:.15rem}
  .panel-title{font-family:var(--serif);font-size:1.2rem;margin:0;font-weight:400}
  .panel-close{
    margin-left:auto;background:transparent;border:1px solid var(--rule);border-radius:999px;
    width:2rem;height:2rem;font-size:1.05rem;line-height:1;color:var(--muted);cursor:pointer;flex:none;
  }
  .panel-close:hover{border-color:var(--orient);color:var(--orient)}
  .panel-body{padding:1.1rem 1.15rem 1.5rem;overflow-y:auto;max-height:calc(86vh - 4rem);font-size:.96rem}
  .panel-body h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:1.4rem 0 .5rem}
  .panel-body h3:first-child{margin-top:0}
  .panel-body p{margin:0 0 .8rem;color:var(--ink-soft)}
  .panel-body ol,.panel-body ul{margin:0 0 .8rem;padding-left:1.2rem;color:var(--ink-soft)}
  .panel-body li{margin-bottom:.4rem}
  /* sits with the More to Notice questions it refers to, above the rule that
     separates them from the Dig deeper list */
  .addon-note{font-size:.8rem;color:var(--muted);font-style:italic;margin:0 0 1.2rem}
  .learn{margin:0;padding-left:1.1rem}
  .learn li{margin-bottom:.35rem}
  .learn a{color:var(--orient);text-decoration:none;border-bottom:1px solid var(--link-rule,#ddd6c8)}
  .learn a:hover{border-bottom-color:var(--orient)}
  .panel-foot{margin-top:1.2rem;padding-top:.8rem;border-top:1px solid var(--rule);font-size:.8rem;color:var(--muted);font-style:italic}
  /* the genre guide's list (item W): 1rem so a phone does not zoom on focus,
     and 44px tall for a finger */
  .gg-bar{margin:0 0 1.1rem;padding:0 0 .9rem;border-bottom:1px solid var(--rule);font-family:var(--sans)}
  .gg-label{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:0 0 .35rem}
  .gg-select{display:block;width:100%;max-width:22rem;box-sizing:border-box;min-height:44px;
    font-family:var(--sans);font-size:1rem;color:var(--ink);background:var(--card,#fff);
    border:1px solid var(--rule);border-radius:2px;padding:.5rem .6rem;cursor:pointer}
  .gg-select:hover{border-color:var(--brand-green)}
  /* small and quiet beside the list (the user, 28 Oct: the first build was
     taller than the list itself); a larger invisible tap area keeps it easy
     to hit with a finger */
  .gg-use{position:relative;display:inline-block;margin-top:.55rem;font-family:var(--sans);font-size:.78rem;
    line-height:1.2;color:var(--ink-soft);background:transparent;border:1px solid var(--rule);border-radius:2px;
    padding:.25rem .55rem;cursor:pointer}
  .gg-use::before{content:'';position:absolute;inset:-8px -4px}
  .gg-use:hover{border-color:var(--brand-green);color:var(--ink)}
  .gg-use[hidden]{display:none}
  .tip{
    background:var(--tip,#f7f4ec);border-left:3px solid var(--dash,#cfc8ba);border-radius:2px;
    padding:.65rem .8rem;font-size:.88rem;margin:0 0 .9rem!important;
  }
  .qref{width:100%;border-collapse:collapse;font-size:.82rem;margin-bottom:.9rem}
  .qref th{
    text-align:left;font-size:.66rem;text-transform:uppercase;letter-spacing:.1em;
    color:var(--muted);border-bottom:1px solid var(--rule);padding:.35rem .4rem;
  }
  .qref td{border-bottom:1px solid var(--rule-soft,#f0ece3);padding:.4rem;color:var(--ink-soft);vertical-align:top}
  .qref td:first-child{color:var(--faint);font-weight:700}

  /* ---------- Timeline (illustrated, 1 Nov 2026) ----------
     Every drawing above the line; reference, name, description and the books
     of that period below it. The study's own era carries a red "You are here"
     circle in place of its dot (the user's choice of three).

     Sizes come from two numbers. --tl-art is the drawing's height (the
     layout study's "medium", 177px); everything else in the column is a
     multiple of it, taken from that study: the column above the line is
     244/177 of it, the drawing's box 348/177 wide. On a phone the column is
     sized to the screen instead, so one event fills it with the next one
     showing at the edge, and the drawing scales to match. */
  .tl{
    --tl-art:177px;--tl-w:calc(var(--tl-art) * 1.966 + .5rem);
    position:relative;overflow-x:auto;overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;
    margin:0 -1.15rem .4rem;padding:0 1.15rem .5rem;scroll-padding-inline:1.15rem;
    scrollbar-color:var(--scroll,#bebdad) transparent;
  }
  @media (max-width:640px){
    .tl{--tl-w:min(22rem, calc(100vw - 4.6rem));--tl-art:calc((var(--tl-w) - .5rem) / 1.966)}
  }
  .panel-body .tl-events{list-style:none;margin:0;padding:0;display:flex;width:max-content;color:var(--ink)}
  .panel-body .tl-ev{
    position:relative;flex:0 0 var(--tl-w);width:var(--tl-w);margin:0;padding:0 .25rem;
    text-align:center;scroll-snap-align:start;
  }
  .tl-up{
    position:relative;height:calc(var(--tl-art) * 1.3785);
    display:flex;align-items:flex-end;justify-content:center;
    padding-bottom:calc(var(--tl-art) * .1412);
  }
  .tl-art{display:block;flex:none;max-width:none;width:calc(var(--tl-art) * 1.966);height:var(--tl-art)}
  .tl-art.tl-narrow{width:calc(var(--tl-art) * 1.637)}
  .tl-sky{
    position:absolute;top:0;left:50%;transform:translateX(-50%);
    width:calc(var(--tl-art) * 1.772);height:100%;max-width:none;pointer-events:none;
  }
  .tl-axis{position:relative;height:5px;margin:0 -.25rem;background:var(--tl-axis,#dad9cf)}
  .tl-dot{
    position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
    width:16px;height:16px;box-sizing:border-box;border-radius:50%;
    background:var(--tl-dot,#8fa46e);border:3px solid var(--card);
  }
  .tl-here{
    position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1;
    width:68px;height:68px;box-sizing:border-box;border-radius:50%;
    background:var(--respond-fill,var(--respond));border:3px solid var(--card);box-shadow:0 0 0 2px var(--respond-fill,var(--respond));
    display:flex;align-items:center;justify-content:center;text-align:center;
    color:var(--on-fill,#fff);font:700 .68rem/1.2 var(--sans);letter-spacing:.05em;text-transform:uppercase;
  }
  .tl-low{padding:1.3rem .2rem .2rem}
  .tl-ev.here .tl-low{padding-top:2.9rem}
  .tl-ref{min-height:1.4rem;font:italic .94rem/1.5 var(--serif);color:var(--tl-ref,#a69e8b);white-space:nowrap}
  .panel-body .tl-name{
    margin:.55rem 0 0;font:700 1.3rem/1.22 var(--sans);letter-spacing:-.02em;
    text-transform:none;color:var(--ink);
  }
  .tl-ev.here .tl-name{color:var(--respond)}
  .panel-body .tl-desc{margin:.3rem auto 0;max-width:15.5rem;font-size:.97rem;line-height:1.38;color:var(--tl-desc,#77736e);text-wrap:balance}
  .tl-books{width:calc(100% - 20px);margin:.9rem auto 0;padding:.75rem .55rem .3rem;text-align:left;border-top:1px solid var(--tl-rule,#e7e4dc)}
  .panel-body .tl-bh{
    margin:0 0 .5rem;font-size:.69rem;line-height:1.4;font-weight:700;
    text-transform:uppercase;letter-spacing:.09em;color:var(--tl-bh,#7b836c);
  }
  .panel-body .tl-bsub{margin:.75rem 0 .4rem;font-size:.72rem;font-weight:700;line-height:1.4;color:var(--tl-bsub,#726e66)}
  /* true black (the user, 1 Nov), so the non-canonical list's lighter ink stands out */
  .panel-body .tl-blist{margin:0;padding-left:1.2rem;font-size:.85rem;line-height:1.36;color:var(--tl-book,#000)}
  .panel-body .tl-blist li{margin:0 0 .3rem;padding-left:1px;break-inside:avoid}
  .tl-blist.tl-two{columns:2;column-gap:1.05rem}
  /* Between the testaments (the user, 1 Nov): the heading says
     "(non-canonical)" and its books are in a lighter ink than every other
     list, to show they are not necessarily in the Bible. */
  .panel-body .tl-nc .tl-blist{color:var(--tl-nc,#8c877d)}
  .panel-body .tl-nc .tl-bsub{color:var(--tl-nc-sub,#9b968c)}
  @media (max-width:640px){
    .panel-body .tl-name{font-size:1.25rem}
    .panel-body .tl-desc{font-size:.94rem}
    .tl-ref{font-size:.88rem}
    .panel-body .tl-blist{font-size:.82rem}
    .tl-blist.tl-two{column-gap:.8rem}
  }
  /* Zoomed out (the user, 1 Nov: a reader saw only one scene at a time).
     Drawings and names only, so several events fit: about seven across the
     wide pop-up on a computer, three and a half on a phone. A tap on an
     event zooms back in on it. Each open starts zoomed in. */
  .tl-bar{display:flex;justify-content:flex-end;margin:-.3rem 0 .2rem}
  .tl-bar .gg-use{margin-top:0}
  .tl.tl-out{--tl-w:10rem;--tl-art:calc((var(--tl-w) - .5rem) / 1.966)}
  @media (max-width:640px){
    .tl.tl-out{--tl-w:calc((100vw - 2.3rem) / 3.4)}
  }
  .tl-out .tl-ref,.tl-out .tl-desc,.tl-out .tl-books{display:none}
  .tl-out .tl-low{padding:.85rem .1rem .2rem}
  .tl-out .tl-ev.here .tl-low{padding-top:2.15rem}
  .panel-body .tl-out .tl-name{margin:0;font-size:.82rem;line-height:1.2;letter-spacing:0;text-wrap:balance}
  .tl-out .tl-dot{width:12px;height:12px;border-width:2px}
  .tl-out .tl-here{width:50px;height:50px;font-size:.54rem;letter-spacing:.03em;border-width:2px}
  .tl-out .tl-ev{cursor:zoom-in}
  .tl-out .tl-ev:focus-visible{outline:2px solid var(--orient);outline-offset:-2px}
  /* The timeline pop-up takes most of a computer's width (the user, 1 Nov),
     so three or four events show at full size. Phones are unchanged (the
     pop-up is already the full width there). Prose keeps a readable line. */
  /* On a phone every guide pop-up (the timeline first, then the others on
     the user's request, 1 Nov) fills the whole screen, top to bottom, instead
     of the old 88% sheet. Not Fathom's Scripture box, which sits in the page
     (sq-inline). dvh is the height actually showing in Safari; vh before it
     is the fallback. More specific than the phone rule further down, so
     this one wins. */
  @media (max-width:640px){
    #sevenq-panel:not(.sq-inline){
      top:0;bottom:0;border-radius:0;
      height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;
    }
    /* the Scripture pop-up's tools row stays at the foot of the screen even
       when the passage is short (it used to follow the passage up the page) */
    #sevenq-panel:not(.sq-inline) .panel-body:has(.sq-ptools){display:flex;flex-direction:column}
    #sevenq-panel:not(.sq-inline) .panel-body:has(.sq-ptools) > *{flex-shrink:0}
    #sevenq-panel:not(.sq-inline) .sq-ptools{margin-top:auto}
  }
  @media (min-width:641px){
    #sevenq-panel.sq-wide{width:min(76rem, calc(100vw - 3rem))}
    #sevenq-panel.sq-wide .panel-body > p,#sevenq-panel.sq-wide .panel-body > ul{max-width:40rem}
  }

  .strip{display:flex;overflow-x:auto;padding-bottom:.6rem;-webkit-overflow-scrolling:touch}
  .stage-i{flex:none;width:8.5rem;padding:0 .7rem;border-left:2px solid var(--rule)}
  .stage-i.here{border-left-color:var(--orient);background:var(--here-bg,#f6f9fc)}
  .stage-i b{display:block;font-size:.88rem}
  .stage-i span{display:block;font-size:.72rem;color:var(--muted);margin-top:.15rem}

  /* ---------- Scripture ----------
     Set in the serif at reading size, without verse numbers, so the passage
     reads as prose rather than as a reference work. Poetry keeps the line
     breaks the BSB files carry, which is why this is pre-wrap. */
  .scripture{
    font-family:var(--serif);font-size:1.08rem;line-height:1.7;color:var(--ink);
    white-space:pre-wrap;margin:0 0 1rem;
  }
  .scripture-note{
    margin:0;padding-top:.8rem;border-top:1px solid var(--rule);
    font-size:.78rem;color:var(--faint);font-style:italic;
  }
  /* the waiting and failure states share one shape so the panel does not
     change height as it moves between them */
  .scripture-msg{color:var(--muted);font-style:italic;margin:0}
  /* Verse numbers, off unless the reader turns them on (the user, 27 Oct).
     Small sans figures that cannot be selected, so a copied passage carries
     no numbers and a selection never starts or ends inside one. */
  /* The passage's limits inside the chapters around it (the user, 5 Nov): a
     solid rule and a small gray note in the sans face, in capitals, so it can
     never be mistaken for Scripture. Not selectable. */
  .scripture .sq-edge,.scripture .sq-book{
    display:block;font-family:var(--sans);font-size:.68rem;font-weight:700;
    letter-spacing:.09em;text-transform:uppercase;color:var(--muted);line-height:1.4;
    white-space:normal;-webkit-user-select:none;user-select:none;
  }
  .scripture .sq-edge.begin{border-top:1.5px solid var(--muted);padding-top:.35rem;margin:1rem 0 .45rem}
  .scripture .sq-edge.end{border-bottom:1.5px solid var(--muted);padding-bottom:.35rem;margin:.45rem 0 1rem}
  .scripture .sq-book{margin:1rem 0 .35rem;font-weight:600}
  /* A psalm's title and a speaker label (27 Nov): small and in the sans face,
     like the passage's limits, so neither is taken for a verse. The words are
     drawn from an attribute and are no part of the text. */
  .scripture .sq-title,.scripture .sq-speaker{
    display:block;font-family:var(--sans);color:var(--muted);line-height:1.45;
    white-space:normal;-webkit-user-select:none;user-select:none;
  }
  .scripture .sq-title::before,.scripture .sq-speaker::before{content:attr(data-label)}
  .scripture .sq-title{font-size:.8rem;font-style:italic;margin:.2rem 0 .4rem}
  .scripture .sq-speaker{font-size:.68rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;margin:.55rem 0 .1rem}
  /* Words the manuscripts behind the BSB leave out, in their brackets: gray,
     in the same face and size as the verses around them (the user, 28 Nov).
     They are verse text like any other and can be formatted. */
  .scripture .sq-gray{color:var(--muted)}
  /* Where the BSB begins a paragraph, a poetry line, a list item or a stanza
     (1 Dec): an empty element, no part of the text. A new paragraph is
     indented about a letter-width with a little space above; poetry and list
     lines are indented by level, Selah well in; a stanza break is a line of
     space. In the Scripture box and the Bible Reader alike. */
  .sq-bk{-webkit-user-select:none;user-select:none}
  .sq-bk-l{display:block;height:0}
  .sq-bk-i{display:inline-block;width:0}
  .sq-bk[data-k="p"] .sq-bk-l,.sq-bk[data-k="o"] .sq-bk-l{margin-top:.35em}
  .sq-bk[data-st] .sq-bk-l{margin-top:.7em}
  .sq-bk[data-k="p"] .sq-bk-i,.sq-bk[data-k="o"] .sq-bk-i,.sq-bk[data-k="l"] .sq-bk-i{width:1.2em}
  .sq-bk[data-k="2"] .sq-bk-i,.sq-bk[data-k="k"] .sq-bk-i,.sq-bk[data-k="c"] .sq-bk-i{width:2.4em}
  .sq-bk[data-k="r"] .sq-bk-i{width:5em}
  /* where a line has only just begun (after Begin or End Passage, a psalm's
     title, a speaker label or a book's name, or where a chapter begins): no
     paragraph indent and no space; poetry and list lines keep their indents */
  .sq-bk[data-c] .sq-bk-l,.sq-edge + .sq-bk .sq-bk-l,.sq-title + .sq-bk .sq-bk-l,
  .sq-speaker + .sq-bk .sq-bk-l,.sq-book + .sq-bk .sq-bk-l{margin-top:0}
  .sq-bk[data-c][data-k="p"] .sq-bk-i,.sq-bk[data-c][data-k="o"] .sq-bk-i,
  .sq-edge + .sq-bk[data-k="p"] .sq-bk-i,.sq-edge + .sq-bk[data-k="o"] .sq-bk-i,
  .sq-title + .sq-bk[data-k="p"] .sq-bk-i,.sq-title + .sq-bk[data-k="o"] .sq-bk-i,
  .sq-speaker + .sq-bk[data-k="p"] .sq-bk-i,.sq-speaker + .sq-bk[data-k="o"] .sq-bk-i,
  .sq-book + .sq-bk[data-k="p"] .sq-bk-i,.sq-book + .sq-bk[data-k="o"] .sq-bk-i{width:0}
  /* Wrapped lines hang (2 Dec, release 2). A row stands in a region
     (.sq-rg) whose padding is where its wraps hang; each line's start is
     pulled back by that much. A line that begins and ends inside a verse is a
     block of its own (.sq-ln). Second-level poetry starts at --q2 and wraps
     hang 1.2em deeper; both follow the column's width in letter-widths: 1.2em
     up to a 21em column, 2.4em from a 30em column. All of it needs container
     units; a browser without them keeps release 1's look, where these
     elements are plain inline spans. */
  .sq-rg,.sq-ln,.sq-bk{--q2:2.4em}
  .sq-rg0{display:none}
  .sq-bk[data-k="2"] .sq-bk-i{width:var(--q2)}
  /* a region's first break, where a line has only just begun: no space, as above */
  .sq-edge + .sq-rg > .sq-bk:first-child .sq-bk-l,.sq-title + .sq-rg > .sq-bk:first-child .sq-bk-l,
  .sq-speaker + .sq-rg > .sq-bk:first-child .sq-bk-l,.sq-book + .sq-rg > .sq-bk:first-child .sq-bk-l{margin-top:0}
  @supports (width:1cqw){
    .scripture,.rd-chapters{container-type:inline-size}
    .sq-rg,.sq-ln,.sq-bk{--q2:clamp(1.2em, calc(1.2em + (100cqw - 21em) * 0.13333), 2.4em)}
    .sq-br[data-x]{display:none}
    .sq-rg{display:block;padding-left:var(--pd);clear:left}
    /* beside a chapter's big numeral (a float): the region that holds it
       contains it, a later region starts below it, and a line of its own
       outside a region stands beside it whole */
    .sq-rg[data-top]{display:flow-root;clear:none}
    .sq-rg[data-g="q"]{--pd:calc(var(--q2) + 1.2em)}
    .sq-rg[data-g="l"]{--pd:1.8em}
    .sq-rg[data-g="k"]{--pd:3em}
    .sq-rg0{display:inline-block;width:0;-webkit-user-select:none;user-select:none}
    .sq-rg .sq-bk-i,.sq-rg0{margin-left:calc(-1 * var(--pd))}
    .sq-rg .sq-speaker,.sq-rg .sq-title{margin-left:calc(100% - 100cqw)}
    .sq-rg .rd-drop{position:relative;left:calc(100% - 100cqw)}
    .sq-bk[data-n] .sq-bk-i{display:none}
    .sq-rg .sq-ln{display:block}
    .sq-ln{display:flow-root;margin-left:calc(-1 * var(--pd, 0em));padding-left:var(--ld, 0em);text-indent:calc(var(--li, 0em) - var(--ld, 0em))}
    .sq-ln[data-k="1"]{--ld:calc(var(--q2) + 1.2em)}
    .sq-ln[data-k="2"]{--ld:calc(var(--q2) + 1.2em);--li:var(--q2)}
    .sq-ln[data-k="l"]{--ld:1.8em;--li:1.2em}
    .sq-ln[data-k="k"]{--ld:3em;--li:2.4em}
    .sq-ln[data-k="p"],.sq-ln[data-k="o"]{--li:1.2em}
    /* an inscription: centered, its lines balanced */
    .sq-ln[data-k="c"]{text-align:center;text-indent:0;padding:0 1.2em;text-wrap:balance}
    /* Selah and the like: release 1's indent, slid left only as far as the
       line needs to fit; if it cannot fit, from the margin with its wrap hanging */
    .sq-ln[data-k="r"],.sq-rg .sq-ln[data-k="r"]{display:flex;padding-left:0;text-indent:0}
    .sq-ln[data-k="r"]::before{content:"";flex:0 1000 5em;min-width:0}
    .sq-ln[data-k="r"] > .sq-lt{flex:0 0 auto;max-width:100%;padding-left:calc(var(--q2) + 1.2em);text-indent:calc(-1 * (var(--q2) + 1.2em))}
  }
  .scripture-note .sq-gray-note{display:block;margin-top:.3rem}
  .scripture .vn{
    font-family:var(--sans);font-size:.6em;font-weight:700;color:var(--faint);
    vertical-align:super;line-height:0;margin-right:.2em;
    -webkit-user-select:none;user-select:none;
  }
  /* The switch sits in the pop-up's header, between the passage name and the
     close button, so it stays in view and out of the text (the user, 27 Oct,
     following the 17 Oct mockup). Empty for every other panel. */
  /* The title and the switch share a line when they fit; when the passage
     name is long or the phone narrow, the switch drops under the title,
     still in the header. The close button stays top right either way. */
  .panel-headline{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .75rem}
  .panel-tools{display:flex;align-items:center;margin-left:auto}
  /* Dive's Scripture beside the questions on a computer (7q-split.js, 1 Dec):
     the box fixed on the right, from under the masthead to the foot of the
     window, its tools at its foot; the questions keep the page's own scroll,
     centred in what is left, and a divider between them (the word study's) */
  #sevenq-panel.sq-pane{
    position:fixed;inset:auto;top:var(--sq-top,0px);bottom:0;right:0;left:calc(var(--sq-left,60vw) + var(--sq-div,10px));
    width:auto;max-width:none;height:auto;max-height:none;margin:0;border-radius:0;box-shadow:none;z-index:40;
  }
  #sevenq-panel.sq-pane .panel-body:has(.sq-ptools){display:flex;flex-direction:column}
  #sevenq-panel.sq-pane .panel-body:has(.sq-ptools) > *{flex-shrink:0}
  #sevenq-panel.sq-pane .sq-ptools{margin-top:auto}
  body.sq-split > .wrap{position:relative;left:var(--sq-shift,0px);max-width:min(44rem,calc(var(--sq-left,60vw) - 1.5rem))}
  body.sq-split > .wrap.wrap--cards{max-width:min(55rem,calc(var(--sq-left,60vw) - 1.5rem))}
  .sq-divider{
    position:fixed;top:var(--sq-top,0px);bottom:0;left:var(--sq-left,60vw);width:var(--sq-div,10px);z-index:41;
    background:var(--sq-bar,#f1efeb);border:0 solid var(--rule);border-left-width:1px;border-right-width:1px;
    cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;
  }
  .sq-divider[hidden]{display:none}
  .sq-divider::after{content:"";position:absolute;inset:0 -6px}
  .sq-grip{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;gap:3px;grid-template-columns:3px;grid-auto-rows:3px;pointer-events:none}
  .sq-grip i{background:var(--sq-grip,#b9b2a6);border-radius:50%}
  .sq-divider:hover,.sq-divider:focus-visible,body.sq-dragging .sq-divider{background:var(--here-bg,#eef4fb)}
  .sq-divider:hover .sq-grip i,body.sq-dragging .sq-grip i{background:var(--orient,#1961B7)}
  .sq-divider:focus-visible{outline:2px solid var(--orient,#1961B7);outline-offset:-2px}
  body.sq-dragging{cursor:col-resize;-webkit-user-select:none;user-select:none}
  .sq-divtip{position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);white-space:nowrap;font:.75rem/1.3 var(--sans);
    background:var(--ink);color:var(--paper);padding:3px 8px;border-radius:6px;opacity:0;pointer-events:none;transition:opacity .15s}
  .sq-divider:hover .sq-divtip,.sq-divider:focus-visible .sq-divtip{opacity:.92}
  body.sq-dragging .sq-divtip{opacity:0}
  html[data-scheme="dark"] .sq-divider{--sq-bar:#24221f;--sq-grip:#6a655f}
  @media print{ .sq-divider{display:none !important} body.sq-split > .wrap{left:0;max-width:none} }
  /* The Bible Reader in place of the box (3 Dec): over the whole screen
     under 900px; beside the study on a computer, laid out as Dive's pane is,
     with the same divider. Dive's pane holds the Reader without its header. */
  .sq-rlayer{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;background:var(--paper,#FBFBFA)}
  .sq-rlayer.sq-rl-side{inset:auto;top:var(--sq-top,0px);bottom:0;right:0;left:calc(var(--sq-left,60vw) + var(--sq-div,10px));z-index:40}
  .sq-rframe{flex:1 1 auto;min-height:0;width:100%;height:100%;border:0;display:block;background:transparent}
  body.sq-rl-over{overflow:hidden}
  body.sq-rl-beside > .wrap,body.sq-rl-beside > .fs-wrap,body.sq-rl-beside > .sm-wrap{position:relative;left:var(--sq-shift,0px);max-width:min(44rem,calc(var(--sq-left,60vw) - 1.5rem))}
  #sevenq-panel.sq-rl-pane .panel-head{display:none}
  #sevenq-panel.sq-rl-pane .panel-body{padding:0;overflow:hidden;display:flex;height:100%;max-height:none}
  #sevenq-panel.sq-rl-pane{display:flex;flex-direction:column;padding:0}
  @media print{ .sq-rlayer{display:none !important} body.sq-rl-beside > .wrap,body.sq-rl-beside > .fs-wrap,body.sq-rl-beside > .sm-wrap{left:0;max-width:none} }
  /* Open in Bible Reader, in the header of Dive's Scripture box (1 Dec) */
  .sq-reader{display:inline-flex;align-items:center;gap:.3rem;font:600 .8rem/1.2 var(--sans);color:var(--link-blue,#1961B7);text-decoration:none;
    padding:.15rem 0;white-space:nowrap}
  /* it stands on the SCRIPTURE line, at the right, so the header keeps its
     two lines whatever the reference and the width (the user, 1 Dec) */
  .panel-headline:has(.sq-reader){position:relative}
  .panel-headline .panel-tools:has(.sq-reader){position:absolute;top:-.25rem;right:0;margin:0}
  .sq-reader:hover{text-decoration:underline}
  .sq-reader svg{flex:none}
  .panel-tools:empty{display:none}
  /* "vv", the usual abbreviation for verses (the user's choice, 27 Oct, over a
     blue switch): a small quiet button, shaded when on. Its name for screen
     readers and the hover text on a computer is "Verse numbers". */
  .sq-vv{
    position:relative;flex:none;height:1.75rem;min-width:2.3rem;padding:0 .5rem;
    border:1px solid var(--vv-rule,#d6d0c4);border-radius:6px;background:transparent;color:var(--faint);
    font:600 .9rem/1 var(--serif);cursor:pointer;transition:background-color .15s,color .15s;
  }
  .sq-vv[aria-checked="true"]{background:var(--vv-on-bg,#f1ede5);color:var(--vv-on,#4d4a45)}
  .sq-vv:hover{border-color:var(--ph,#bdb5a6)}
  .sq-vv::after{content:"";position:absolute;inset:-7px -4px}   /* a finger-sized target */
  .sq-vv:focus-visible{outline:2px solid var(--nav-blue,#1961B7);outline-offset:2px}
  @media (prefers-reduced-motion:reduce){ .sq-vv{transition:none} }
  /* in the bar: the bar's own button rules would flatten it, so restated */
  .sq-ptools .sq-vv{
    width:auto;min-width:2.3rem;height:1.6rem;margin-left:auto;padding:0 .5rem;align-self:center;
    border:1px solid var(--vv-rule,#d6d0c4);border-radius:6px;background:transparent;color:var(--faint);
    font:600 .9rem/1 var(--serif);opacity:1;
  }
  .sq-ptools .sq-vv[aria-checked="true"]{background:var(--vv-on-bg,#f1ede5);color:var(--vv-on,#4d4a45)}
  .sq-ptools .sq-eye{margin-left:auto;padding:0 .4rem;display:inline-flex;align-items:center;justify-content:center}
  .sq-ptools .sq-eye + .sq-vv{margin-left:.4rem}
  .sq-spacer{flex:1}
  /* the notice: a thin bar that rises above the tools for two seconds */
  .sq-notice{
    position:absolute;left:0;right:0;bottom:100%;z-index:4;
    padding:.4rem 1.15rem;background:var(--notice-bg,#f4f0e8);border-top:1px solid var(--rule);
    font-family:var(--sans);font-size:.8rem;color:var(--ink);text-align:center;
    opacity:0;transform:translateY(6px);transition:opacity .18s,transform .18s;pointer-events:none;
  }
  .sq-notice.show{opacity:1;transform:none}
  @media (prefers-reduced-motion:reduce){ .sq-notice{transition:none;transform:none} }

  /* the passage while it can be formatted (item P): selectable, unchangeable,
     no caret until words are selected; nothing else in the pop-up selects,
     so a selection handle cannot wander out of the passage. pan-y stops the
     frame bouncing sideways; pinch-zoom keeps two-finger zoom, which pan-y
     alone switched off on the passage (28 Oct) */
  .scripture[data-markable]{
    outline:none;cursor:text;caret-color:transparent;touch-action:pan-y pinch-zoom;
    -webkit-user-select:text;user-select:text;-webkit-touch-callout:default;
  }
  .scripture[data-markable].sel{caret-color:var(--ink)}
  /* No sideways scrolling or bounce in the Scripture pop-up (the user, 2 Nov;
     it had come back after the 18 Oct fix). Safari gives an editable passage
     line-break:after-white-space, which lets the spaces at the end of a line
     run past the edge, so the body could scroll sideways on an iPhone though
     it never did in Chromium. So: the end-of-line rule put back to normal,
     long words wrap, and the body itself never scrolls sideways, whatever
     sits in it, with sideways swipes anywhere in it ignored. Pinch-zoom
     stays. */
  .scripture[data-markable]{-webkit-line-break:auto;line-break:auto;overflow-wrap:anywhere;max-width:100%}
  .panel-body:has(.scripture){overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
  #sevenq-panel:has(.scripture[data-markable]) .panel-head,
  #sevenq-panel:has(.scripture[data-markable]) .scripture-note,
  .sq-ptools{-webkit-user-select:none;user-select:none}
  .scripture b{font-weight:700}
  .scripture mark[data-h]{color:var(--ink)}
  /* the tools row: the notes boxes' row, kept at the foot of the pop-up so it
     is in reach of a selection anywhere in a long passage */
  .sq-ptools{
    --accent:var(--vv-on,#4d4a45);bottom:0;flex-wrap:wrap;align-items:center;
    margin:.4rem -1.15rem 0;padding:.35rem 1.15rem max(.55rem, env(safe-area-inset-bottom, 0px));
    background:var(--card,#fffdf9);border-top:1px solid var(--rule);
  }
  .panel-body:has(.sq-ptools){padding-bottom:0}   /* or the passage shows beneath the row */
  .sq-ptools.idle > button:not(.sq-vv){opacity:.55}
  .sq-phint{
    flex:1 1 0;min-width:0;margin:0 .45rem;font-family:var(--sans);font-size:.72rem;line-height:1.2;
    color:var(--muted);transition:color .2s;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
  }
  /* the gesture hint only where the bar has room for it; elsewhere a press
     with nothing selected brings it up in the notice bar instead */
  @media (max-width:479px){ .sq-phint{visibility:hidden} }
  @media (max-width:359px){
    .sq-ptools{padding-left:.7rem;padding-right:.7rem}
    .sq-ptools > button:not(.sq-vv){width:1.8rem}
    /* U's arrow (9 Nov) needs the room the two arrows can give up */
    .sq-ptools > button.fmt-arrow{width:1.05rem}
  }
  /* The footnote button (30 Nov) joined the row on Dive, Snorkel and Sermon
     Notes. Room for it, taking as little as each width needs (the user: a
     phone with room to spare keeps the row as it was):
     - the hint is invisible below 480px, and there its margins go too;
     - the box set in the page (Snorkel, Snorkel Kids, Sermon Notes) is
       narrower than the pop-up, and from 360px to 393px its row closes up
       as every row does under 360px. Without that its last button fell to
       a second line from 360px to 383px: measured on the build before the
       footnote button too (30 Nov), where the close button was the one
       that fell, on Snorkel and on Snorkel Kids;
     - under 360px the row with the footnote button gives up a little more
       between its buttons. */
  @media (max-width:479px){ .sq-phint{margin:0} }
  @media (min-width:360px) and (max-width:393px){
    #sevenq-panel.sq-inline .sq-ptools > button:not(.sq-vv){width:1.8rem}
    #sevenq-panel.sq-inline .sq-ptools > button.fmt-arrow{width:1.05rem}
    #sevenq-panel.sq-inline .sq-ptools .sq-vv{min-width:1.75rem;padding:0 .3rem}
    #sevenq-panel.sq-inline .sq-ptools .sq-eye + .sq-vv,
    #sevenq-panel.sq-inline .sq-ptools .sq-x{margin-left:.25rem}
  }
  @media (max-width:359px){
    #sevenq-panel.sq-inline .sq-ptools:has([data-pfn]){gap:1px}
    #sevenq-panel.sq-inline .sq-ptools:has([data-pfn]) .fmt-sep{margin:0 .15rem}
  }

  @media (max-width:640px){
    #sevenq-panel{width:100%;max-width:100%;margin:0;position:fixed;bottom:0;left:0;border-radius:10px 10px 0 0;max-height:88vh;max-height:88dvh}
  }

  /* ---- in the page rather than over it (Fathom, 29 Oct) ----
     A page that hands open() a box gets the panel drawn inside that box: no
     backdrop, no header (the page already shows the reference), and a close
     button at the right-hand end of the tools bar. Every other page still
     gets the pop-up. */
  #sevenq-panel.sq-inline{
    position:relative;inset:auto;z-index:auto;margin:0;width:100%;max-width:none;
    max-height:72vh;max-height:72dvh;border:1px solid var(--rule);border-radius:4px;box-shadow:none;
  }
  #sevenq-panel.sq-inline .panel-head{display:none}
  /* Dark, in color or monochrome: the Scripture box is the darker surface and
     its header the lighter one, the reverse of the other pop-ups (the user,
     5 Nov). Its tools bar matches the passage. In Fathom the box sits in the
     page, with no header, so the passage takes the page's own shade. */
  @media screen{
    html[data-scheme="dark"] #sevenq-panel.sq-scripture,
    html[data-scheme="dark"] #sevenq-panel.sq-scripture .sq-ptools{background:var(--paper)}
    html[data-scheme="dark"] #sevenq-panel.sq-scripture .panel-head{background:var(--card)}
  }
  .sq-ptools .sq-x{
    margin-left:.4rem;min-width:0;width:1.75rem;height:1.75rem;padding:0;border-radius:999px;
    display:inline-flex;align-items:center;justify-content:center;color:var(--muted);
  }
  .sq-ptools .sq-spacer + .sq-x{margin-left:auto}
  /* one line on a 320px phone with the close button added: the hint, already
     invisible below 480px, gives up its room, and the end buttons close up */
  @media (max-width:479px){
    #sevenq-panel.sq-inline .sq-phint{display:none}
    #sevenq-panel.sq-inline .sq-ptools .sq-eye{margin-left:auto}
  }
  /* Since 30 Nov the close button is in the row on Snorkel Kids only: on
     Snorkel and Sermon Notes the footnote button has its place, and the
     Scripture button above the box, which reads Close, closes it (the user).
     So no row has both, and each keeps the spacing it had: closed up only on
     phones under 360px. */
  @media (max-width:359px){
    #sevenq-panel.sq-inline .sq-ptools{padding-left:.45rem;padding-right:.45rem}
    #sevenq-panel.sq-inline .sq-ptools .sq-vv{min-width:1.75rem;padding:0 .3rem}
    #sevenq-panel.sq-inline .sq-ptools .sq-eye + .sq-vv,
    #sevenq-panel.sq-inline .sq-ptools .sq-x{margin-left:.25rem}
  }
  /* ---------- Footnotes: the reader's own note on a verse (30 Nov) ----------
     A footnoted verse's number in a blue ring (the user's mockup, 30 Nov),
     in the Bible Reader and in the Scripture box; and the small window a
     footnote is read and written in, the same in both. */
  .sq-fnum{
    display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
    min-width:1.75em;height:1.75em;padding:0 .2em;margin:0 .28em 0 .05em;
    border:1.3px solid var(--nav-blue,#1961B7);border-radius:1em;background:none;
    color:var(--nav-blue,#1961B7);font-family:var(--sans);font-size:.6em;font-weight:600;
    line-height:1;vertical-align:.55em;cursor:pointer;
    -webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;
  }
  .sq-ptools [data-pfn]{color:var(--nav-blue,#1961B7)}
  #sevenq-fnote{
    border:none;padding:0;background:var(--card);color:var(--ink);font-family:var(--sans);
    width:min(27.5rem,calc(100% - 1.5rem));margin:9vh auto auto;border-radius:14px;
    box-shadow:0 12px 40px var(--shadow,rgba(40,34,22,.28));
  }
  #sevenq-fnote::backdrop{background:var(--backdrop,rgba(44,38,28,.42))}
  #sevenq-fnote button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
  .fnn-head{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem .5rem;border-bottom:1px solid var(--rule)}
  .fnn-head h2{margin:0;font-family:var(--sans);font-size:1rem;font-weight:700;color:var(--ink)}
  .fnn-sub{font-size:.8rem;font-weight:400;color:var(--muted);margin-left:.4rem}
  #sevenq-fnote .fnn-x{width:2.1rem;height:2.1rem;display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}
  .fnn-body{padding:.75rem 1rem 1.1rem}
  .fnn-verse{font-family:var(--serif);font-size:.875rem;line-height:1.5;color:var(--muted);margin:0 0 .6rem;white-space:pre-line;max-height:4.6em;overflow:hidden}
  .fnn-ta{
    display:block;width:100%;box-sizing:border-box;min-height:6rem;resize:none;
    font:16px/1.45 var(--sans);color:var(--ink);background:var(--paper,#fff);
    border:1.5px solid var(--nav-blue,#1961B7);border-radius:8px;padding:.6rem;
  }
  .fnn-ta:focus{outline:none}
  .fnn-meta{display:flex;justify-content:space-between;gap:.6rem;font-size:.75rem;color:var(--muted);margin:.4rem .1rem 0}
  .fnn-cut{font-size:.75rem;color:var(--danger,#a82f26);margin:.4rem .1rem 0}
  .fnn-text{font-size:1rem;line-height:1.5;color:var(--ink);margin:0 0 .4rem;overflow-wrap:anywhere}
  .fnn-kept{margin:.9rem 0 0;padding:.6rem .7rem;border:1px dashed var(--rule);border-radius:8px}
  .fnn-kept-h{font-size:.75rem;color:var(--muted);margin:0 0 .3rem}
  .fnn-kept-t{font-size:.9rem;line-height:1.45;color:var(--ink);margin:0 0 .45rem;overflow-wrap:anywhere}
  #sevenq-fnote .fnn-kept button{font-size:.8rem;font-weight:700;color:var(--nav-blue,#1961B7);margin-right:1rem}
  .fnn-acts{display:flex;justify-content:space-between;align-items:center;gap:.6rem;margin-top:.9rem}
  #sevenq-fnote .fnn-pill{border:1px solid var(--rule);border-radius:18px;padding:.42rem 1rem;font-size:.875rem;font-weight:600;color:var(--ink)}
  #sevenq-fnote .fnn-pill.prim{background:var(--nav-blue,#1961B7);border-color:var(--nav-blue,#1961B7);color:var(--on-fill,#fff)}
  #sevenq-fnote .fnn-pill.danger{color:var(--danger,#a82f26)}
  #sevenq-fnote .fnn-pill.danger.armed{background:var(--danger-fill,#a82f26);border-color:var(--danger-fill,#a82f26);color:var(--on-fill,#fff)}
  @media print{ #sevenq-fnote{display:none} }

/* ===== the hourglass layers  (7q-layers.js) ===== */

  /* the glass grows into a banner for the open question */
  .ly-wrap .hourglass{transition:max-width .48s cubic-bezier(.65,0,.35,1)}
  .ly-wrap.ly-zoomed .hourglass{max-width:100%;cursor:pointer}
  .ly-wrap.ly-zoomed .hourglass:hover{opacity:.92}
  .ly-wrap.ly-zoomed .hg-title,.ly-wrap.ly-zoomed .hg-cap{display:none}
  .ly-wrap .hg-cap{font-size:1.05rem;margin:.8rem 0 0;text-wrap:balance}
  .ly-hgprint{display:none}

  .ly-explorer{margin-top:1rem}
  .ly-q{
    background:var(--card);border:1px solid var(--rule);border-left:4px solid var(--d1);
    border-radius:2px;padding:1.1rem 1rem 1.2rem 1.05rem;
    display:flex;flex-direction:column;gap:.8rem;
  }
  .ly-eyebrow{margin:0;font-size:.7rem;text-transform:uppercase;letter-spacing:.14em;font-weight:700;color:var(--d1)}
  .ly-h{margin:0;font-size:1.35rem;line-height:1.25;font-weight:700;text-wrap:balance;color:var(--ink)}
  .ly-h:focus{outline:none}
  .ly-lead{margin:0;font-family:var(--serif);font-size:1.25rem;line-height:1.4}
  .ly-why{margin:0;color:var(--ink-soft)}
  .ly-list-head{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-top:.1rem}
  .ly-label{margin:0;font-size:.7rem;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:var(--muted)}
  /* Explore each / Whichever apply: an instruction, not a control, so no
     outline or pill shape; a short bar in the question's color marks it */
  .ly-mode{font-size:.78rem;font-weight:700;color:var(--here);border-left:3px solid currentColor;padding-left:.45rem;line-height:1.3}
  .ly-mode-note{margin:0;font-size:.86rem;font-style:italic;color:var(--muted)}

  .ly-nodes{display:flex;flex-direction:column;gap:.1rem}
  .ly-node-h{margin:0;font-size:inherit;font-weight:inherit}
  .ly-node-btn{
    width:100%;display:grid;grid-template-columns:1rem 1fr auto;align-items:start;gap:0 .55rem;
    text-align:left;font-family:var(--sans);color:var(--ink);background:transparent;
    border:0;border-radius:2px;padding:.55rem .5rem .55rem .1rem;cursor:pointer;
  }
  .ly-node-btn:hover{background:var(--tint)}
  .ly-node-btn:focus-visible{outline:2px solid var(--here);outline-offset:-2px}
  .ly-chev{
    width:.5rem;height:.5rem;margin:.5rem 0 0 0;
    border-right:2px solid var(--here);border-bottom:2px solid var(--here);
    transform:rotate(-45deg);transition:transform .22s ease;
  }
  .ly-node-btn[aria-expanded="true"] .ly-chev{transform:rotate(45deg);margin-top:.4rem}
  .ly-node-text{min-width:0;display:flex;flex-direction:column;gap:.05rem}
  .ly-node-title{font-weight:700;font-size:1.02rem;color:var(--ink)}
  .ly-node-btn[aria-expanded="true"] .ly-node-title{color:var(--here)}
  .ly-node-line{font-size:.9rem;color:var(--ink-soft)}
  .ly-node-meta{font-size:.74rem;font-weight:700;color:var(--here);white-space:nowrap;margin-top:.2rem}
  .ly-node-btn[aria-expanded="true"] .ly-node-meta{display:none}
  /* the study's own genre, in More to Notice */
  .ly-this{
    display:inline-block;margin-left:.45rem;vertical-align:.1em;
    font-size:.64rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
    color:var(--here);border:1px solid currentColor;border-radius:999px;padding:0 .4rem;
  }
  /* display:inline-block above outranks the browser's own [hidden] rule, so
     without this every genre showed the marker (the user's iPhone, 28 Oct) */
  .ly-this[hidden]{display:none}

  /* a part opens in place: its height grows from nothing, and while closed
     it is out of the tab order and the reading order */
  .ly-panel{display:grid;grid-template-rows:0fr;visibility:hidden;
    transition:grid-template-rows .28s ease, visibility 0s linear .28s}
  .ly-node.ly-open > .ly-panel{grid-template-rows:1fr;visibility:visible;
    transition:grid-template-rows .28s ease, visibility 0s linear 0s}
  .ly-panel-in{min-height:0;overflow:hidden}
  .ly-panel-body{
    margin:.1rem 0 .55rem .25rem;padding:.25rem 0 .3rem .45rem;
    border-left:3px solid var(--rail);
    display:flex;flex-direction:column;gap:.6rem;
  }
  .ly-panel-body > .ly-why{font-size:.95rem}
  .ly-ask{margin:0;padding-left:1.1rem;display:flex;flex-direction:column;gap:.3rem}
  .ly-look,.ly-tip{margin:0;font-size:.9rem;color:var(--ink-soft);background:var(--tint);border-radius:2px;padding:.5rem .65rem}
  .ly-look b,.ly-tip b{color:var(--ink)}

  /* The Return line just under the banner (the user, 28 Oct): gray text, no
     pill, a bar in the question's color on each side. It names where the
     reader came from, as the banner does; the banner itself stays quiet.
     An invisible margin round it keeps the tap area usable on a phone. */
  .ly-return{display:flex;justify-content:center;margin:0 0 .75rem}
  .ly-return-btn{
    position:relative;font-family:var(--sans);font-size:.85rem;line-height:1.3;color:var(--muted);
    background:none;border:0;border-left:3px solid var(--d1);border-right:3px solid var(--d1);
    border-radius:0;padding:.1rem .7rem;cursor:pointer;
  }
  .ly-return-btn::before{content:'';position:absolute;inset:-10px -6px}
  .ly-return-btn:hover{color:var(--ink)}
  .ly-return-btn:focus-visible{outline:2px solid var(--d1);outline-offset:3px}

  /* two pills named by where they go, in the question's color */
  .ly-foot{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-top:.3rem}
  .ly-pill{
    font-family:var(--sans);font-size:.85rem;font-weight:700;color:var(--d1);
    background:none;border:1px solid var(--pill-rule,#d9d3c6);border-radius:999px;padding:.4rem .95rem;cursor:pointer;
  }
  .ly-pill:hover{border-color:var(--d1)}
  .ly-pill:focus-visible{outline:2px solid var(--d1);outline-offset:2px}
  .ly-pill-card{margin-left:auto}

  /* guide links: on this site they open the existing guide panel */
  .ly-glink{color:var(--d1);font-weight:700;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
  .ly-glink:hover{opacity:.75}
  .ly-glink:focus-visible{outline:2px solid var(--d1);outline-offset:2px}

  /* Paper: the full hourglass in flat bands, even while the screen copy is a
     banner, then whatever layers are open. Closed layers take no space. */
  @media print{
    .ly-wrap.ly-zoomed .hourglass.ly-live{display:none}
    .ly-wrap.ly-zoomed .ly-hgprint{display:block}
    .ly-wrap.ly-zoomed .hg-title{display:block}
    .ly-hgprint .hourglass{max-width:21rem}
    .ly-foot,.ly-return{display:none}
    .ly-q{border:1px solid #ccc;border-left:4px solid var(--d1)}
    .ly-q,.ly-panel-body,.ly-look,.ly-tip{-webkit-print-color-adjust:exact;print-color-adjust:exact}
    .ly-node-btn{break-after:avoid}
    .ly-node-btn:hover{background:transparent}
    .ly-panel-body{break-inside:avoid}
    .ly-panel,.ly-node.ly-open > .ly-panel{transition:none}
  }


/* ===== the My studies library  (7q-storage.js) ===== */

  #sq-library{
    border:none;padding:0;background:var(--paper);color:var(--ink);
    width:min(30rem,100%);max-height:86vh;border-radius:4px;
    box-shadow:0 12px 40px rgba(40,34,22,.28);
  }
  #sq-library::backdrop{background:rgba(44,38,28,.42)}
  .sq-lib-head{display:flex;align-items:center;gap:.75rem;padding:.9rem 1.1rem;border-bottom:1px solid var(--rule);background:var(--paper-veil)}
  .sq-lib-head h2{font-family:var(--serif);font-size:1.2rem;margin:0;font-weight:400}
  .sq-lib-close{margin-left:auto;background:transparent;border:1px solid var(--rule);border-radius:999px;width:2rem;height:2rem;font-size:1.05rem;color:var(--muted);cursor:pointer}
  .sq-lib-close:hover{border-color:var(--orient);color:var(--orient)}
  .sq-lib-body{padding:.6rem;overflow-y:auto;max-height:calc(86vh - 4rem)}
  .sq-lib-empty{padding:2rem 1rem;text-align:center;color:var(--muted);font-size:.9rem;font-style:italic}
  .sq-lib-row{
    display:flex;align-items:center;gap:.7rem;width:100%;text-align:left;
    background:var(--card,#fff);border:1px solid var(--rule);border-radius:2px;
    padding:.65rem .8rem;margin-bottom:.5rem;cursor:pointer;font-family:var(--sans);
  }
  .sq-lib-row:hover{border-color:var(--orient)}
  .sq-lib-main{flex:1;min-width:0}
  .sq-lib-ref{font-family:var(--serif);font-size:1.02rem;color:var(--ink);display:block}
  .sq-lib-meta{font-size:.76rem;color:var(--muted);margin-top:.15rem}
  .sq-lib-del{
    flex:none;background:transparent;border:1px solid var(--rule);border-radius:999px;
    width:1.9rem;height:1.9rem;color:var(--faint);cursor:pointer;font-size:.85rem;
    font-family:var(--sans);padding:0;
  }
  .sq-lib-del:hover{border-color:var(--danger,#a82f26);color:var(--danger,#a82f26)}
  .sq-lib-del.armed{
    width:auto;padding:0 .7rem;border-radius:999px;
    background:var(--danger-fill,#a82f26);border-color:var(--danger-fill,#a82f26);color:var(--on-fill,#fff);
    font-size:.74rem;font-weight:700;letter-spacing:.04em;
  }
  @media (max-width:640px){
    #sq-library{width:100%;max-width:100%;margin:0;position:fixed;bottom:0;left:0;border-radius:10px 10px 0 0;max-height:88vh}
    .sq-lib-body{max-height:calc(88vh - 4rem)}
  }


/* ===== the site nav  (7q-nav.js) ===== */

  :root{
    /* The green is the rule beneath the lockup, the blue is READ FOR DEPTH.
       Since 22 Nov (the user, mockup lockup-rule-green-mockup.html) the
       green is Snorkel's Open card green #24845a, in dark mode too. Both
       clear their thresholds on the paper background — the blue 6.0:1 as
       body text (needs 4.5), the green 4.5:1 as a rule (needs 3; 3.7:1 on
       the dark page). */
    --nav-green:#24845a;
    --nav-blue:#1961B7;
    --nav-accent:var(--nav-blue);
  }

  /* ---- masthead: the full lockup, with the menu opposite it ---- */
  .masthead{
    padding:.95rem clamp(1.1rem,4vw,2.4rem) .21rem;
    background:var(--paper);
    border-bottom:1px solid var(--rule);
  }
  .masthead-row{
    display:flex;align-items:center;justify-content:space-between;gap:1rem;
    max-width:44rem;margin:0 auto;   /* matches .wrap below it */
  }
  /* lockup and page label stack in one column, so the column is exactly the
     lockup's width and the label centres under the green rule itself */
  .brand{display:inline-flex;flex-direction:column;align-items:stretch;flex:none}
  /* the page's own name, tucked into the space the green rule opens up.
     Centred on the lockup rather than the page, so it reads as part of it. */
  .masthead-row{position:relative}
  .page-label{
    margin:.18rem 0 0;
    font-family:var(--serif);font-style:italic;font-size:.9rem;
    color:var(--nav-blue);letter-spacing:.01em;
    text-align:center;
  }
  /* The book and the 7Q are the logo's own artwork, scaled from one factor so
     they keep the size relationship they have there. In the logo they align at
     the top — the Q's tail drops below the book's foot — so the row aligns to
     the top and the words are pulled back down to the rule. */
  .wordmark{
    display:inline-flex;align-items:flex-start;gap:.78rem;
    padding-bottom:.22rem;border-bottom:2px solid var(--nav-green);
    text-decoration:none;
  }
  .wm-art{display:inline-flex;align-items:flex-start;gap:3.3px;flex:none;}
  .wordmark .wm-book{display:block;width:51.7px;height:34px;flex:none;}
  .wordmark .wm-qmark{display:block;width:56.6px;height:34.9px;flex:none;}
  .wm-text{display:inline-block;white-space:nowrap;align-self:flex-end;padding-bottom:2px;}
  .wm-name{
    display:block;
    font-family:var(--sans);font-size:.95rem;font-weight:700;
    letter-spacing:.12em;text-transform:uppercase;line-height:1.15;
    color:var(--nav-blue);
    /* centred over READ FOR DEPTH (the user, 28 Oct). Letter-spacing adds a
       space after the last letter too, so each line is indented by its own
       letter-spacing: the letters, not the letters plus that trailing space,
       are what get centred. "GROUP STUDY" hid this; "BIBLE STUDY" showed it. */
    text-align:center;text-indent:.12em;
  }
  .wm-tag{
    display:block;margin-top:.16rem;
    font-family:var(--sans);font-size:.56rem;font-weight:700;
    letter-spacing:.32em;text-transform:uppercase;line-height:1;
    color:var(--nav-blue);
    /* centred under BIBLE STUDY; the trailing letterspace would otherwise
       push it visually right of centre. The indent always equals the
       letter-spacing, here and in the phone sizes below. */
    text-align:center;text-indent:.32em;
  }

  /* Quiet: no border, no fill. The bars carry the weight and a small word
     underneath says what they are, so it still reads as a control without
     competing with the lockup beside it. */
  .sqmenu{position:relative;flex:none}
  .sqmenu-btn{
    display:inline-flex;flex-direction:column;align-items:center;gap:.28rem;
    padding:0 .25rem .2rem;cursor:pointer;
    background:none;border:0;
    color:var(--nav-blue);font-family:var(--sans);
    transition:opacity .16s;
  }
  .sqmenu-btn:hover{opacity:.7}
  .sqmenu-btn:focus-visible{outline:2px solid var(--nav-blue);outline-offset:3px;border-radius:2px}
  .sqmenu-word{
    font-size:.69rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
    color:var(--muted);line-height:1;
  }
  .sqmenu-bars{display:inline-flex;flex-direction:column;justify-content:center;gap:4.8px;width:1.56rem;flex:none;}
  .sqmenu-bars i{display:block;height:0;border-top:2.4px solid currentColor;transition:transform .2s,opacity .2s;}
  .sqmenu[data-open="true"] .sqmenu-bars i:nth-child(1){transform:translateY(7.2px) rotate(10deg);}
  .sqmenu[data-open="true"] .sqmenu-bars i:nth-child(2){opacity:0;}
  .sqmenu[data-open="true"] .sqmenu-bars i:nth-child(3){transform:translateY(-7.2px) rotate(-10deg);}

  .sqmenu-panel{
    position:absolute;top:calc(100% + .5rem);right:0;z-index:50;min-width:14rem;
    background:var(--paper);border:1px solid var(--rule);border-radius:3px;
    box-shadow:0 8px 24px rgba(26,26,26,.10);padding:.3rem 0;
    opacity:0;transform:translateY(-5px);pointer-events:none;
    transition:opacity .18s,transform .18s;
  }
  .sqmenu[data-open="true"] .sqmenu-panel{opacity:1;transform:none;pointer-events:auto;}
  .sqmenu-panel a,.sqmenu-panel span.soon{
    display:block;padding:.58rem 1.1rem;text-decoration:none;
    font-family:var(--sans);font-size:.82rem;font-weight:700;
    letter-spacing:.08em;text-transform:uppercase;color:var(--muted);
    border-left:3px solid transparent;
  }
  .sqmenu-panel a:hover,.sqmenu-panel a:focus-visible{
    background:rgba(47,109,168,.06);border-left-color:var(--nav-blue);color:var(--nav-blue);
  }
  .sqmenu-panel a[aria-current="page"]{color:var(--ink);border-left-color:var(--ink);}
  .sqmenu-panel span.soon{color:var(--faint);cursor:default;}

  /* Color tokens the pages still use (the welcome's heading, Lectio's). */
  :root{ --nav-fathom:#003780; --nav-byheart:var(--respond,#a82f26); --nav-lectio:#003780; --nav-lectio-flame:#4FA910; }

  /* The tools' wordmarks (15 Nov). The current page keeps its bar at the
     left; the drawings keep their own colors in every state. */
  .sqmenu-panel a.sq-mark{padding-top:.45rem;padding-bottom:.45rem}
  .sq-mk{display:flex;align-items:flex-end;gap:5px}
  .sq-mk img{display:block;width:auto}
  .sq-mk .sq-mk-kids{margin-bottom:4px}
  .sq-mk .sq-mk-lectio{margin-left:-3px}
  .sqmenu-panel .bm-dark{display:none}
  html[data-scheme="dark"] .sqmenu-panel .bm-light{display:none}
  html[data-scheme="dark"] .sqmenu-panel .bm-dark{display:block}
  html[data-color="mono"] .sq-mk img{filter:grayscale(1)}

  /* The groups: a thin line between them; a group's small heading (LEARN
     DIVE) lines up with the entries' text (1.1rem plus the 3px current-page
     border). It is a heading, not a link. */
  .sqmenu-panel hr.sq-sep{border:0;border-top:1px solid var(--rule);margin:.3rem 1.1rem;}
  .sqmenu-panel .sq-group{padding:.62rem 1.1rem .15rem calc(1.1rem + 3px);line-height:1;
    font-family:var(--sans);font-size:.66rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
  .sqmenu-panel a.sq-in{padding-left:2.1rem;}

  .sqmenu-panel span.soon::after{content:" · soon";font-size:.66rem;letter-spacing:.03em;}

  /* card pages run wider on a desktop, so the masthead follows them */
  @media (min-width:1024px){
    body:has(.wrap--cards) .masthead-row{max-width:55rem}
  }

  @media (max-width:30rem){
    .masthead{padding:.8rem 1.1rem .21rem}
    .masthead-row{gap:.6rem}
    .wordmark{gap:.66rem;}
    .wm-art{gap:3.2px;}
    .wordmark .wm-book{width:44.6px;height:29.4px;}
    .wordmark .wm-qmark{width:48.9px;height:30.1px;}
    .wm-name{font-size:.82rem;letter-spacing:.1em;text-indent:.1em;}
    .wm-tag{font-size:.5rem;letter-spacing:.24em;text-indent:.24em;}
    .page-label{font-size:.84rem}
    .sqmenu-bars{width:1.37rem}
    .sqmenu-word{font-size:.64rem;letter-spacing:.15em}
  }
  @media (prefers-reduced-motion:reduce){ .sqmenu-panel,.sqmenu-bars i{transition:none;} }

  /* ---- centred variant ----
     The lockup and its page label sit in the middle of the screen; the menu
     is taken out of the flow and pinned to the right edge, so the brand block
     centres on the page rather than on whatever space the menu leaves. */
  .masthead-row{justify-content:center;position:relative}
  .brand{align-items:center}
  /* The top bar lines up with the cap-height of GROUP STUDY. Centring the
     button on the row left it hanging low, because the lockup's height is set
     by the book mark and the tall 7Q, not by the words beside them. */
  .sqmenu{position:absolute;right:0;top:-2px;transform:none}

  /* ---- a page with a brand of its own (Fathom) ----
     Its logo takes the lockup's place at the top, with the same menu, and
     the 7Q lockup moves to the foot of the page, unchanged. */
  .fathom-mark img{display:block;width:190px;height:auto}
  .brand-mark{display:block;text-decoration:none}
  .brand-mark img{display:block;width:190px;height:auto}
  /* the dark-mode logo shows only in dark (7q-theme.js CSS) */
  .brand-mark .bm-dark{display:none}
  .brand-mark:hover img{opacity:.85}

  /* On the pages with a tool's own logo (Fathom, By Heart) the menu button
     is 1.5 times the 7Q pages' size (the user, 1 Nov: doubled, then scaled
     back by a quarter). MENU is shrunk to sit just inside the bars' width
     rather than overhang them; its last letter's trailing letter-spacing is
     balanced by an equal indent so the word centres under the bars. */
  body[data-brand] .sqmenu-btn{gap:.42rem;padding:0 .25rem .25rem;}
  body[data-brand] .sqmenu-bars{gap:7.2px;width:2.34rem;}
  body[data-brand] .sqmenu-bars i{border-top-width:3.6px;}
  body[data-brand] .sqmenu[data-open="true"] .sqmenu-bars i:nth-child(1){transform:translateY(10.8px) rotate(10deg);}
  body[data-brand] .sqmenu[data-open="true"] .sqmenu-bars i:nth-child(3){transform:translateY(-10.8px) rotate(-10deg);}
  body[data-brand] .sqmenu-word{font-size:.62rem;letter-spacing:.14em;text-indent:.14em;}
  /* The logo keeps clear of the button on narrow screens: 190px wherever
     there is room, shrinking with the screen below that. */
  body[data-brand] .brand-mark img{width:clamp(110px,calc(100vw - 140px),190px);}
  /* Dive's lockup (the user, 13 Nov), built like the old 7Q lockup: the Dive
     wordmark about the lockup's height, the lockup's solid green rule under
     it, and INDUCTIVE BIBLE STUDY below in READ FOR DEPTH's spaced capitals.
     The rule runs the full width of the lockup (the words are the wider
     part), as the 7Q lockup's did. */
  /* Since 15 Nov the same lockup heads Snorkel, Snorkel Kids and Imprint
     (.tool-mark); Dive keeps .dive-mark as well. */
  /* 15 Nov (the user, mockup lockup-sizes-mockup.html): every part of these
     lockups 20% larger than first built (wordmark 34px to 40.8, the rule 2px
     to 2.4, the words .56rem to .672), with the line under the header left
     where it was. The header row was already taller than the lockup, so on a
     phone it simply fills more of it; on a computer the lockup is 4px taller
     than the row, so it borrows that from the space above (margin-top:-4px)
     rather than push the line down. Lectio's lockup is not one of these and
     stays as it was.
     22 Nov (the user, mockup lockup-rule-green-mockup.html): the rule 30%
     thicker (2.4px to 3.12, 2.2 to 2.86, 2 to 2.6) and in the new green;
     the space above and below it unchanged, so the words move down only by
     the added thickness. On a computer the lockup borrows 5px from the space
     above instead of 4, so the header's line still stays where it was. */
  .tool-mark{display:inline-flex;flex-direction:column;align-items:center}
  body[data-brand] .tool-mark img{width:auto;height:40.8px}
  .tool-mark .lk-art{display:flex;align-items:flex-start;gap:7.2px}
  body[data-brand] .tool-mark .lk-kids{height:32.4px;margin-top:1.2px}
  .tool-mark .dl-tag{display:block;align-self:stretch;text-align:center;margin-top:.264rem;padding-top:.36rem;border-top:3.12px solid var(--nav-green);font-family:var(--sans);font-size:.672rem;font-weight:700;
    letter-spacing:.32em;text-indent:.32em;text-transform:uppercase;line-height:1;color:var(--nav-blue);white-space:nowrap}
  @media (min-width:30.0625rem){ .tool-mark{margin-top:-5px} }
  @media (max-width:30rem){
    body[data-brand] .tool-mark img{height:36px}
    body[data-brand] .tool-mark .lk-kids{height:28.8px}
    .tool-mark .dl-tag{font-size:.6rem;letter-spacing:.24em;text-indent:.24em}
  }
  /* narrow phones (328 to 352px): 10% larger
     than first built rather than 20%, so Snorkel Kids and Imprint keep clear
     of the menu button */
  @media (max-width:22rem){
    body[data-brand] .tool-mark img{height:33px}
    body[data-brand] .tool-mark .lk-kids{height:26.4px}
    .tool-mark .dl-tag{font-size:.55rem;margin-top:.242rem;padding-top:.33rem;border-top-width:2.86px}
  }
  /* and under 328px (a 320px phone) the size first built, which was
     already as close to the button as it should come */
  @media (max-width:20.5rem){
    body[data-brand] .tool-mark img{height:30px}
    body[data-brand] .tool-mark .lk-kids{height:24px;margin-top:1px}
    .tool-mark .dl-tag{font-size:.5rem;margin-top:.22rem;padding-top:.3rem;border-top-width:2.6px}
  }
  /* the short logo would leave the larger menu button hanging over the rule:
     the row is as tall as the button, the logo centered in it */
  /* the pages that serve every tool: the Fathom logo, smaller than on the
     home page, its page's name under it */
  body[data-brand="fathompage"] .brand-mark img{width:110px}
  body[data-brand="divepage"] .masthead-row,
  body[data-brand="dive"] .masthead-row,body[data-brand="snorkel"] .masthead-row,
  body[data-brand="kids"] .masthead-row,body[data-brand="imprint"] .masthead-row,
  body[data-brand="sermons"] .masthead-row{min-height:60px;align-items:center}
  /* Sermon Notes' wordmark (22 Nov): 36px on a computer, 31.5 on a phone,
     stepping down with the tool lockups on the narrowest phones; the same
     file in dark mode, so the light copy shows there too */
  body[data-brand="sermons"] .sermon-mark img{width:auto;height:36px}
  body[data-brand="sermons"] .sermon-mark .bm-dark{display:none !important}
  body[data-brand="sermons"] .sermon-mark .bm-light{display:block !important}
  @media (max-width:30rem){ body[data-brand="sermons"] .sermon-mark img{height:31.5px} }
  @media (max-width:22rem){ body[data-brand="sermons"] .sermon-mark img{height:29px} }
  @media (max-width:20.5rem){ body[data-brand="sermons"] .sermon-mark img{height:26.5px} }
  /* My Notebook's wordmark (29 Nov): Sermon Notes' sizes, in the wordmarks'
     blue, with a dark-mode drawing like the tools' */
  body[data-brand="notebook"] .masthead-row{min-height:60px;align-items:center}
  body[data-brand="notebook"] .notebook-mark img{width:auto;height:36px}
  @media (max-width:30rem){ body[data-brand="notebook"] .notebook-mark img{height:31.5px} }
  @media (max-width:22rem){ body[data-brand="notebook"] .notebook-mark img{height:29px} }
  @media (max-width:20.5rem){ body[data-brand="notebook"] .notebook-mark img{height:26.5px} }
  @media (max-width:30rem){
    body[data-brand] .sqmenu-bars{width:2.055rem;}
    body[data-brand] .sqmenu-word{font-size:.55rem;}
  }

  /* the 7Q lockup at the foot of Fathom and By Heart, centered on the page
     (By Heart's own footer rule centered it there; Fathom had none, so it sat
     at the left — the user, 2 Nov) */
  .sq-foot{text-align:center;}
  /* the Fathom logo at the foot of Dive (12 Nov) */
  .sq-foot-logo{display:inline-block;margin:1.5rem 0 1.2rem}
  .sq-foot-logo img{display:block;width:150px;height:auto}
  .sq-foot-logo .bm-dark{display:none}
  /* Lectio's page fills the window with its foot at the bottom: the Fathom
     logo there is smaller (110px), so a computer screen still needn't scroll */
  body[data-brand="lectio"] .sq-foot-logo img{width:110px}
  @media print{ .sq-foot{display:none;} }

  @media print{ .masthead{display:none;} }

  /* ---- the test copy's banner (backlog item Q) ----
     Shown only on the test site's address, so the copy is never mistaken for
     the real thing. Dark rather than red: red is what the sync warnings use,
     and two red bars stacked read as panic. */
  .sq-testbanner{
    margin:0;padding:.5rem 1rem;
    background:#1A1A1A;color:#FFFFFF;
    font-family:var(--sans);font-size:.82rem;line-height:1.35;
    text-align:center;
  }
  .sq-testbanner strong{color:#FFD54A;font-weight:800;letter-spacing:.08em;}
  @media print{ .sq-testbanner{display:none;} }


/* ===== the discussion timer  (7q-timer.js) ===== */

  /* ---- the discussion timer ---- */
  .sqt{
    border-top:1px solid var(--rule);
    border-bottom:1px solid var(--rule);
    margin:1.4rem 0 0;padding:.95rem 0 1rem;text-align:center;
  }
  .sqt-clocks{display:flex;align-items:stretch}
  .sqt-cl{flex:1 1 0;text-align:center;min-width:0}
  .sqt-cl + .sqt-cl{border-left:1px solid var(--rule)}
  .sqt-t{
    margin:0;font-family:var(--sans);font-size:1.6rem;font-weight:400;
    line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.01em;
    color:var(--ink);
  }
  .sqt-lab{margin:.3rem 0 0;font-size:.85rem;color:var(--muted)}
  .sqt-cl.is-over .sqt-t,.sqt-cl.is-over .sqt-lab{color:var(--respond)}
  .sqt-note{
    font-family:var(--serif);font-size:.95rem;line-height:1.5;color:var(--muted);
    margin:.7rem auto 0;max-width:30rem;min-height:1.45em;
  }
  .sqt-note.is-over{color:var(--respond)}
  .sqt-tools{display:flex;justify-content:center;align-items:center;gap:1.1rem;margin-top:.85rem;flex-wrap:wrap}
  .sqt-pause{
    font-family:var(--sans);border:1px solid var(--rule);border-radius:999px;
    background:var(--card,#fff);padding:.42rem 1.15rem;font-size:.95rem;color:var(--ink);cursor:pointer;
  }
  .sqt-pause:hover{border-color:var(--ink)}
  .sqt.is-paused .sqt-pause{border-color:var(--orient);color:var(--orient)}
  .sqt.is-paused .sqt-clocks,.sqt.is-paused .sqt-note{opacity:.5}
  .sqt-quiet{
    font-family:var(--sans);background:transparent;border:0;padding:.42rem 0;
    color:var(--muted);font-size:.95rem;cursor:pointer;
  }
  .sqt-quiet:hover{color:var(--ink)}
  .sqt-i{
    width:1.45rem;height:1.45rem;border:1px solid var(--rule);border-radius:999px;
    background:var(--card,#fff);color:var(--muted);font-family:var(--serif);font-style:italic;
    font-size:.9rem;line-height:1;padding:0;cursor:pointer;
  }
  .sqt-i:hover{border-color:var(--ink);color:var(--ink)}

  /* setup occupies the same strip the clocks later use */
  .sqt-setrow{display:flex;align-items:center;justify-content:center;gap:.6rem;flex-wrap:wrap}
  .sqt-mins{
    font-family:var(--sans);font-variant-numeric:tabular-nums;font-size:1.5rem;
    font-weight:400;width:2.9em;text-align:center;padding:.1em;border:0;
    border-bottom:2px solid var(--rule);background:transparent;color:var(--ink);
    border-radius:0;-webkit-appearance:none;
  }
  .sqt-mins:focus{border-bottom-color:var(--orient);outline:none}
  .sqt-unit{font-size:.95rem;color:var(--muted)}
  .sqt-chips{display:flex;gap:.45rem;justify-content:center;margin-top:.8rem;flex-wrap:wrap}
  .sqt-chip{
    font-family:var(--sans);background:var(--card,#fff);border:1px solid var(--rule);
    border-radius:999px;padding:.38rem .85rem;font-size:.92rem;color:var(--muted);cursor:pointer;
  }
  .sqt-chip:hover{border-color:var(--ink);color:var(--ink)}
  .sqt-chip[aria-pressed="true"]{border-color:var(--brand-green);color:var(--brand-green)}
  .sqt-start{
    font-family:var(--sans);margin-top:.9rem;width:100%;background:var(--brand-blue);
    color:var(--on-fill,#fff);border:0;border-radius:6px;padding:.8rem;font-size:1rem;cursor:pointer;
  }
  .sqt-start:disabled{background:var(--rule);color:var(--card,#fff);cursor:default}
  .sqt-warn{
    font-family:var(--serif);font-size:.9rem;color:var(--muted);
    margin:.55rem 0 0;min-height:1.3em;
  }

  /* the summary */
  .sqt-verdict{font-family:var(--serif);font-size:1.1rem;line-height:1.4;margin:0 0 .85rem;color:var(--ink)}
  .sqt-verdict.is-over{color:var(--respond)}
  .sqt-tally{display:flex;flex-direction:column;gap:.45rem;max-width:23rem;margin:0 auto}
  .sqt-row{display:grid;grid-template-columns:4.2rem 1fr 3.3rem;gap:.6rem;align-items:center}
  .sqt-row .sqt-n{font-size:.82rem;color:var(--muted);text-align:left}
  .sqt-row .sqt-v{font-size:.92rem;font-variant-numeric:tabular-nums;text-align:right}
  .sqt-bar{height:.5rem;background:var(--rule);border-radius:2px;overflow:hidden}
  .sqt-bar i{display:block;height:100%;background:var(--timer-bar,#bddace)}
  .sqt-bar i.is-over{background:var(--respond);opacity:.5}

  /* the instructions, behind a link rather than on the page */
  .sqt-scrim{
    position:fixed;inset:0;background:rgba(26,26,26,.4);
    display:flex;align-items:center;justify-content:center;padding:1.25rem;z-index:60;
  }
  /* A class that sets display beats the browser's own [hidden] rule, so
     hiding this by setting the attribute did nothing at all and the sheet
     could not be closed by any of its three ways out. The rest of the site
     guards its flex boxes the same way — see .seam[hidden] and .dupe[hidden]. */
  .sqt-scrim[hidden]{display:none}
  .sqt-sheet{
    background:var(--paper);border-radius:8px;max-width:26rem;width:100%;
    max-height:80svh;overflow:auto;padding:1.4rem 1.3rem 1.1rem;text-align:left;
  }
  .sqt-sheet h2{font-family:var(--serif);font-weight:400;font-size:1.2rem;margin:0 0 .8rem;color:var(--ink)}
  .sqt-sheet ul{margin:0;padding-left:1.1rem}
  .sqt-sheet li{font-family:var(--serif);font-size:1rem;line-height:1.55;margin-bottom:.65rem;color:var(--ink)}
  .sqt-sheet button{
    font-family:var(--sans);margin-top:.4rem;width:100%;background:var(--card,#fff);
    border:1px solid var(--rule);border-radius:6px;padding:.7rem;font-size:1rem;
    color:var(--ink);cursor:pointer;
  }
  @media print{ .sqt,.sqt-scrim{display:none} }


/* ===== the install prompt  (7q-install.js) ===== */

  .sq-install{
    position:relative;
    border:1px solid var(--rule);border-left:3px solid var(--orient);
    border-radius:2px;background:var(--card,#fff);
    padding:.95rem 2.4rem .95rem 1rem;margin:0 0 1.3rem;
  }
  .sq-install h4{
    font-family:var(--serif);font-size:1.02rem;font-weight:400;color:var(--ink);
    margin:0 0 .35rem;
  }
  .sq-install p{font-size:.86rem;line-height:1.55;color:var(--ink-soft);margin:0 0 .5rem}
  .sq-install p:last-of-type{margin-bottom:0}
  .sq-install .steps{font-size:.86rem;color:var(--muted);font-style:italic}
  .sq-install-x{
    position:absolute;top:.5rem;right:.5rem;
    background:transparent;border:1px solid var(--rule);border-radius:999px;
    width:1.7rem;height:1.7rem;line-height:1;font-size:.8rem;
    color:var(--faint);cursor:pointer;padding:0;
  }
  .sq-install-x:hover{border-color:var(--ink);color:var(--ink)}
  .sq-install-x:focus-visible{outline:2px solid var(--orient);outline-offset:2px}
  @media print{ .sq-install{display:none} }


/* ===== the sync section in My studies  (7q-sync-ui.js) ===== */

  #sq-lib-top:empty{display:none}
  .sq-sync{
    border:1px solid var(--rule);border-radius:2px;background:var(--paper-veil);
    padding:.7rem .8rem;margin:0 0 .7rem;font-family:var(--sans);
  }
  .sq-sync h3{
    font-family:var(--serif);font-size:1rem;font-weight:400;color:var(--ink);
    margin:0 0 .35rem;
  }
  .sq-sync p{margin:0 0 .55rem;font-size:.86rem;color:var(--ink-soft);line-height:1.5}
  .sq-sync p:last-child{margin-bottom:0}
  .sq-sync .sq-sync-fine{font-size:.8rem;color:var(--muted)}
  .sq-sync a{color:var(--orient);text-decoration:none;border-bottom:1px solid var(--rule)}
  .sq-sync a:hover{border-bottom-color:var(--orient)}

  .sq-sync-row{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin:.5rem 0 0}
  .sq-sync-row .ghost{font-size:.76rem;padding:.3rem .6rem}
  .sq-sync-row input{
    flex:1 1 11rem;min-width:0;font-family:var(--sans);font-size:.92rem;
    padding:.4rem .5rem;border:1px solid var(--rule);border-radius:2px;
    background:var(--card,#fff);color:var(--ink);
  }
  .sq-sync-row input:focus{outline:none;border-color:var(--orient)}

  /* the state line: quiet by default, coloured only when it matters */
  .sq-sync-state{font-size:.8rem;color:var(--muted)}
  .sq-sync-state.bad{color:var(--danger,#a82f26)}
  .sq-sync-state.good{color:var(--good,#2c6e49)}
  .sq-sync-state.busy{font-style:italic}

  .sq-phrase{
    font-family:var(--serif);font-size:1.1rem;line-height:1.55;color:var(--ink);
    background:var(--card,#fff);border:1px solid var(--rule);border-radius:2px;
    padding:.6rem .7rem;margin:.5rem 0;word-spacing:.2rem;
  }
  .sq-sync-warn{
    margin:.5rem 0 0;padding-left:.7rem;border-left:2px solid var(--danger,#a82f26);
    font-size:.82rem;color:var(--ink-soft);line-height:1.5;
  }
  .sq-sync-warn b{color:var(--danger,#a82f26)}

  /* Unsent work is the one thing in this panel that can cost somebody
     something, so it is marked — but in the ink of a caution, not an error.
     Nothing has gone wrong; there is simply a button to press. */
  .sq-sync .sq-sync-unsent{color:var(--ink);font-weight:500}

  .sq-sync-kept{
    margin:.5rem 0 0;padding-left:.7rem;border-left:2px solid var(--orient);
    font-size:.82rem;color:var(--ink-soft);
  }


/* ===== Fathom, the three-question study  (7q-fathom.js) ===== */
/* ---------- Snorkel and Snorkel Kids (snorkel.html, kids.html) ---------- */
  .fs-wrap{max-width:38rem;margin:0 auto;padding:0 1.1rem 3rem}
  .fs-label{display:block;font:700 .8rem var(--sans);letter-spacing:.2em;color:var(--muted);text-transform:uppercase;margin:1.6rem 0 .35rem}
  .fs-passage{padding-bottom:1.1rem;border-bottom:1px solid var(--rule)}
  .fs-ref{
    width:100%;border:0;border-bottom:1.5px dashed var(--dash,#cfc8ba);border-radius:0;background:transparent;
    font:1.85rem/1.25 var(--serif);color:var(--ink);padding:.2rem .1rem;
  }
  .fs-ref::placeholder{color:var(--ph,#b5ab9b)}
  .fs-ref:focus{outline:none;border-bottom-color:var(--link-blue,var(--brand-blue))}
  .fs-ref-msg{margin:.45rem 0 0;font-size:.9rem;color:var(--muted);font-style:italic}
  /* Snorkel Kids in the Song of Songs: read it with a parent (23 Nov) */
  .fs-ref-note{margin:.45rem 0 0;font-size:.95rem;color:var(--ink-soft)}
  .fs-open p.fs-parent{font-weight:650;color:var(--ink)}

  /* Snorkel / Dive and Scripture: the same pattern as Prepare / Discuss */
  .fs-controls{display:flex;gap:.75rem;margin-top:1.2rem;align-items:stretch}
  .fs-seg{display:flex;flex:2;border:1px solid var(--rule);border-radius:4px;overflow:hidden}
  .fs-seg button,.fs-scrip{
    flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
    padding:9px 6px 8px;border:0;background:var(--card);color:var(--ink-soft);cursor:pointer;
    font:700 .875rem var(--sans);letter-spacing:.14em;text-transform:uppercase;
  }
  .fs-seg button+button{border-left:1px solid var(--rule)}
  .fs-seg button[aria-pressed="true"]{background:var(--orient-fill,var(--orient));color:var(--on-fill,#fff)}
  .fs-seg svg{width:34px;height:34px;display:block}
  .fs-vdiv{width:1px;background:var(--rule)}
  .fs-scrip{flex:1.1;border:1px solid var(--rule);border-radius:4px}
  .fs-scrip svg{width:40px;height:34px;display:block}
  .fs-scrip[aria-expanded="true"]{background:var(--press,#4a4a4a);border-color:var(--press,#4a4a4a);color:var(--on-press,#fff)}
  /* Scripture beside the passage (the user, 15 Nov; mockups
     scripture-button-mockup.html and scripture-close-mockup.html): the button
     takes the right quarter of the passage line once a passage that can be
     found has been entered (Return, or leaving the box), and the passage text
     steps down to make room. No passage, no button. While the passage is open
     the button reads CLOSE, keeping its book. */
  .fs-refrow{display:flex;gap:.6rem;align-items:stretch}
  .fs-refrow .fs-ref{flex:1 1 auto;min-width:0;width:auto}
  .fs-passage.has-ref .fs-ref{font-size:1.5rem}
  .fs-refrow .fs-scrip{flex:0 0 25%;max-width:25%;padding:6px 4px 5px;gap:2px;font-size:.68rem;letter-spacing:.12em;border-radius:6px}
  .fs-refrow .fs-scrip svg{width:30px;height:24px}
  .fs-passage:not(.has-ref) .fs-scrip{display:none}
  /* the narrowest phones: SCRIPTURE a little tighter so it fits its quarter */
  @media (max-width:22rem){ .fs-refrow .fs-scrip{font-size:.64rem;letter-spacing:.05em} }
  /* Scripture in the page, where the steps and card were (the user, 29 Oct):
     the study page's own panel, drawn into this box, on the cards' white */
  .fs-scripbox{margin-top:1.4rem}
  .fs-scripbox[hidden],.fs-steps[hidden],.fs-host[hidden]{display:none}
  /* its height is set to the space left on screen (fitScripture below) */
  .fs-seg button:focus-visible,.fs-scrip:focus-visible,.fs-step:focus-visible,.fs-chip:focus-visible{
    outline:3px solid var(--link-blue,var(--brand-blue));outline-offset:2px
  }

  /* the four steps, as tabs joined to the card. Only the current one has
     colour: its card's own, with a pointer down into the card */
  .fs-steps{display:flex;position:relative;z-index:2;margin:1.4rem 0 0;
    border:1px solid var(--rule);border-bottom:0;border-radius:6px 6px 0 0}
  .fs-step{flex:1 1 auto;position:relative;min-height:50px;padding:0 8px;border:0;background:var(--card);
    color:var(--ink-soft);font:700 .8125rem var(--sans);letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
  .fs-step+.fs-step{border-left:1px solid var(--rule)}
  .fs-step:first-child{border-top-left-radius:5px}
  .fs-step:last-child{border-top-right-radius:5px}
  .fs-step[aria-current="step"]{background:var(--cf,var(--c));color:var(--on-fill,#fff);box-shadow:0 1px 0 var(--cf,var(--c))}
  .fs-step[aria-current="step"]::after{
    content:"";position:absolute;left:50%;top:calc(100% - 1px);transform:translateX(-50%);
    border-style:solid;border-width:11px 10px 0 10px;border-color:var(--cf,var(--c)) transparent transparent transparent;
    pointer-events:none
  }

  .fs-host{position:relative;z-index:1}
  .fs-card{background:var(--card);border:1px solid var(--rule);border-left:4px solid var(--c);
    border-radius:0 0 4px 4px;padding:1.5rem 1.4rem 1.5rem 1.5rem}
  .fs-card.from-next{animation:fsFromNext .22s ease-out}
  .fs-card.from-prev{animation:fsFromPrev .22s ease-out}
  @keyframes fsFromNext{from{transform:translateX(28px);opacity:.35}to{transform:none;opacity:1}}
  @keyframes fsFromPrev{from{transform:translateX(-28px);opacity:.35}to{transform:none;opacity:1}}
  @media (prefers-reduced-motion:reduce){.fs-card.from-next,.fs-card.from-prev{animation:none}}
  .fs-head{display:flex;align-items:center;gap:14px}
  .fs-icon{width:64px;height:64px;flex:none;display:block}
  .fs-phase{font:italic 800 1.45rem var(--sans);letter-spacing:.08em;color:var(--c);text-transform:uppercase}
  .fs-title{font:700 1.45rem/1.25 var(--sans);margin:1rem 0 .5rem;color:var(--ink)}
  .fs-q{font:400 1.3rem/1.5 var(--sans);color:var(--ink);margin:0}
  .fs-open p{font-size:1.15rem;line-height:1.55;color:var(--ink-soft);margin:0 0 .9rem}
  .fs-open p:last-child{margin-bottom:0}
  .fs-open a{color:var(--link-blue,var(--brand-blue))}
  /* Open's bar (the user, 16 Nov): where the other cards have "Let's look
     closer", Open has the same line in its color with the same glow under
     it, but it is not a button and has no chevron. Its label is the bar's
     text and the background buttons sit in the glow beneath it. */
  .fs-openbar{position:relative;margin-top:1.25rem;padding:.8rem .25rem 1rem;border-top:2px solid var(--c);
    background:linear-gradient(to bottom,color-mix(in srgb,var(--c) 20%,var(--card)) 0,var(--card) 100%)}
  .fs-open .fs-openbar p.fs-more{font:650 1.08rem var(--sans);letter-spacing:.01em;color:var(--ink);margin:0 0 .7rem}
  /* Snorkel Kids' snorkelers (the user, 16 Nov): one per card, perched at
     the right end of the card's bar with his body on its line and his hands
     over it. All four are drawn at one scale (115px for the Respond one's
     1040 units); --mt is how far each one rises above his line. The bar
     moves down to make room, so he never covers the words above it. In dark
     mode a thin light edge keeps the navy from sinking into the card. */
  .fs-kids .fs-chip,.fs-kids .fs-openbar{position:relative;margin-top:calc(1.25rem + 71px)}
  .fs-mascot{position:absolute;right:6px;top:calc(-2px - var(--mt));height:auto;pointer-events:none}
  html[data-scheme="dark"] .fs-mascot{filter:drop-shadow(0 0 1px rgba(255,255,255,.9)) drop-shadow(0 0 1px rgba(255,255,255,.6))}
  html[data-color="mono"] .fs-mascot{filter:grayscale(1)}
  html[data-scheme="dark"][data-color="mono"] .fs-mascot{filter:grayscale(1) drop-shadow(0 0 1px rgba(255,255,255,.9)) drop-shadow(0 0 1px rgba(255,255,255,.6))}
  /* "Let's look closer" (the user, 15 Nov; mockup look-closer-mockup-v2.html):
     not a pill and not a box. The card's width, a line in the card's color
     across the top only, that color darkest just under the line and fading
     to the card's white, a chevron that turns up while the lines are open.
     The lines sit on the card itself, no cream behind them. */
  .fs-chip{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;margin-top:1.25rem;
    padding:.8rem .1rem .9rem .25rem;min-height:52px;border:0;border-top:2px solid var(--c);border-radius:0;cursor:pointer;text-align:left;
    background:linear-gradient(to bottom,color-mix(in srgb,var(--c) 20%,var(--card)) 0,var(--card) 100%);
    color:var(--ink);font:650 1.08rem var(--sans);letter-spacing:.01em}
  .fs-chip svg{width:24px;height:24px;flex:none;color:var(--c);transition:transform .2s}
  .fs-chip[aria-expanded="true"] svg{transform:rotate(180deg)}
  @media (prefers-reduced-motion:reduce){.fs-chip svg{transition:none}}
  .fs-help{margin:.2rem 0 0;padding:.3rem .2rem 0 1.6rem}
  /* The subheading and question pinned to the top of the screen while the
     reader went down through the lines (15 Nov) until the user took it out
     on 21 Nov: glitchy, and not worth its small benefit. The page scrolls
     normally. */
  .fs-help li{font-size:1.05rem;line-height:1.55;color:var(--ink-soft);margin:0 0 .6rem}
  .fs-help li:last-child{margin-bottom:0}

  /* the welcome: on the first visit, and again from Instructions at the foot
     of the page (the user, 2 Nov). Two pairs of cards: how to study, and the
     two depths. The Snorkel and Dive drawings are the depth buttons' own,
     copied in when the page starts, so there is one copy of each. */
  .fs-ways{border:0;border-radius:14px;padding:1.35rem 1.1rem 1.1rem;outline:none;
    width:min(26rem,calc(100% - 2rem));max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow:auto;
    background:var(--card);color:var(--ink);box-shadow:0 12px 40px rgba(0,0,0,.25)}
  .fs-ways::backdrop{background:var(--backdrop,rgba(26,26,26,.45))}
  .fs-ways h2{font:700 1.6rem/1.2 var(--sans);margin:0;text-align:center;color:var(--nav-fathom,#105099)}
  .fs-ways-sub{margin:.2rem 0 1rem;text-align:center;font-size:1rem;color:var(--muted)}
  .fs-ways-h{font:700 .75rem var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 .5rem}
  .fs-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:0 0 1rem}
  .fs-opt{border:1px solid var(--rule);border-radius:10px;padding:.7rem;display:flex;flex-direction:column;gap:.3rem;min-width:0}
  .fs-opt-ic{display:block;width:44px;height:44px;color:var(--ink-soft)}
  .fs-opt-ic svg{width:100%;height:100%;display:block}
  .fs-opt b{font:700 .95rem var(--sans);color:var(--ink)}
  .fs-opt span:last-child{font-size:.875rem;line-height:1.4;color:var(--ink-soft)}
  .fs-ways-note{margin:0 0 1rem;text-align:center;font-size:.875rem;line-height:1.45;color:var(--ink);
    border:1px solid var(--rule);border-radius:10px;padding:.75rem .9rem}   /* a box of its own (the user, 15 Nov) */
  .fs-go{width:100%;min-height:48px;border:0;border-radius:8px;background:var(--orient-fill,var(--orient));color:var(--on-fill,#fff);
    font:600 1rem var(--sans);letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
  .fs-go:focus-visible,.fs-instr-btn:focus-visible{outline:3px solid var(--link-blue,var(--brand-blue));outline-offset:2px}
  /* Instructions: brings the welcome back */
  .fs-instr{margin:.2rem 0 -.5rem;text-align:center}
  .fs-instr-btn{min-height:44px;padding:.5rem 1rem;border:0;background:none;
    color:var(--ink-soft);font:400 .9rem var(--sans);text-decoration:underline;text-underline-offset:.2em;cursor:pointer}
  .fs-instr-btn:hover{color:var(--ink)}
  /* Snorkel's colors (the user, 16 Nov): the Blue set, chosen after a trial
     against the original teal / orange / red: Open sea green, Listen
     turquoise, Understand sky, Respond deep sea (mockups
     snorkel-blues-final.html, open-green-options-*.png). snorkel.html and
     kids.html carry class="pal-blue" on <body>, so these rules reach only
     those two pages; Dive keeps the seven question colors. Monochrome stays
     gray. */
  html:not([data-color="mono"]) body.pal-blue{
    --prepare:#24845a;--prepare-fill:#24845a;
    --observe:#00898d;--observe-fill:#00898d;
    --understand:#0097d6;--understand-fill:#0097d6;
    --respond:#003a8a;--respond-fill:#003a8a}
  @supports (color:color(display-p3 0 0 0)){
    html:not([data-color="mono"]) body.pal-blue{
      --observe:color(display-p3 0.1186 0.5384 0.5612);--observe-fill:color(display-p3 0.1186 0.5384 0.5612);
      --understand:color(display-p3 0.2076 0.5848 0.8372);--understand-fill:color(display-p3 0.2076 0.5848 0.8372)}
  }
  @media screen{
    html[data-scheme="dark"]:not([data-color="mono"]) body.pal-blue{
      --prepare:#6dc799;--prepare-fill:#24845a;
      --observe:#46c6ca;--observe-fill:#008c91;
      --understand:#6cc2f4;--understand-fill:#1f8abe;
      --respond:#548cdf;--respond-fill:#0b499a}
    @supports (color:color(display-p3 0 0 0)){
      html[data-scheme="dark"]:not([data-color="mono"]) body.pal-blue{
        --observe:color(display-p3 0.3534 0.7788 0.803);--observe-fill:color(display-p3 0.1186 0.5384 0.5612);
        --understand:color(display-p3 0.47 0.7565 0.9688);--understand-fill:color(display-p3 0.2077 0.5348 0.7581)}
    }
  }

  @media (max-width:23.125rem){
    .fs-seg button,.fs-scrip{font-size:.78rem;letter-spacing:.08em;padding-left:4px;padding-right:4px}
    .fs-step{font-size:.72rem;letter-spacing:.03em;padding:0 5px}
    .fs-head{gap:10px}
    .fs-icon{width:50px;height:50px}
    .fs-phase{font-size:1.19rem;letter-spacing:.05em}
  }
  @media print{
    .fs-controls,.fs-scrip,.fs-steps,.fs-chip,.fs-instr,.fs-openbar,.fs-mascot{display:none}
    .fs-help[hidden]{display:block!important}
  }


/* ===== Snorkel: My Notes  (7q-snorkel-notes.js) ===== */

  /* ===== Snorkel: My Notes, My studies, New study (7q-snorkel-notes.js) ===== */
  .sn-wrap{position:relative;z-index:1}
  .sn-wrap[hidden],.sn-drop[hidden]{display:none}
  /* the card's own corner squared where the tab hangs, so its rule runs
     straight into the tab */
  body.sn-closed .fs-card{border-bottom-left-radius:0}
  .sn-drop{margin-top:12px;--accent:var(--c)}
  .sn-drop .answer-box{margin:0;border-bottom-left-radius:0}
  .sn-drop .kept-wrap{margin:0 0 .6rem}
  .sn-row{display:flex;justify-content:flex-start;margin-top:-1px}
  .sn-tab{position:relative;min-height:50px;padding:0 18px;border:0;border-radius:0 0 6px 6px;
    background:var(--cf,var(--c));color:var(--on-fill,#fff);
    font:700 .8125rem var(--sans);letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
  /* the pointer: the color of what the tab hangs from, pointing down into it */
  .sn-tab::before{content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);
    border-style:solid;border-width:11px 10px 0 10px;
    border-color:var(--sn-from,var(--card,#fff)) transparent transparent transparent;pointer-events:none}
  .sn-wrap.sn-open .sn-tab{--sn-from:var(--well,#fffdf9)}
  .sn-tab:focus-visible{outline:3px solid var(--link-blue,var(--brand-blue));outline-offset:2px}
  @media (max-width:23.125rem){ .sn-tab{font-size:.72rem;letter-spacing:.03em} }

  /* My studies and New study, above the passage's rule, quietly */
  body[data-brand="snorkel"] .fs-passage{padding-bottom:.7rem}
  .sn-bar{display:flex;align-items:baseline;flex-wrap:wrap;gap:.2rem .55rem;margin:.55rem 0 0}
  .sn-status{margin-left:auto;font-size:.78rem;color:var(--muted);font-style:italic}
  .sn-status:empty{display:none}

  /* Dive's pop-up before a study is renamed by changing its passage */
  .sn-warn{width:min(23rem,calc(100% - 2rem));max-width:none;margin:auto;padding:1.4rem 1.3rem 1.2rem;
    border:1px solid var(--rule);border-radius:12px;background:var(--card,#fff);color:var(--ink);
    box-shadow:0 12px 40px rgba(0,0,0,.28)}
  .sn-warn::backdrop{background:rgba(20,24,30,.5)}
  .sn-warn:focus{outline:none}
  .sn-warn h2{margin:0 0 .5rem;font:700 1.1rem var(--sans);color:var(--ink)}
  .sn-warn p{margin:0 0 1.1rem;font-size:.95rem;line-height:1.5}
  .sn-ok{width:100%;min-height:46px;border:0;border-radius:8px;background:var(--orient-fill,var(--orient));
    color:var(--on-fill,#fff);font:600 1rem var(--sans);letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
  .sn-ok:focus-visible{outline:3px solid var(--link-blue,var(--brand-blue));outline-offset:2px}

  @media print{ .sn-wrap,.sn-bar,.sn-dupe{display:none} }


/* ===== Lectio, the guided reading in rounds  (7q-lectio.js) ===== */

  /* ===== Lectio (lectio.html) ===== */
  :root{
    --lx-sel-bg:#e9f3ee;   /* 22 Nov: tints of the new green #24845a (were olive) */
    --lx-sel-rule:var(--brand-green);
    --lx-field-rule:#bdb7ae;
    --lx-glow:rgba(36,132,90,.45);
    --lx-glow-soft:rgba(36,132,90,.16);
  }
  /* the page fills the screen; the 7Q lockup (footer.sq-foot, 7q-nav.js)
     rests at its foot, or below the content when the content is taller */
  body[data-page="lectio.html"]{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
  body[data-page="lectio.html"] .lx-home{flex:1 0 auto}
  body[data-page="lectio.html"] .sq-foot{flex:0 0 auto;padding-bottom:calc(22px + env(safe-area-inset-bottom,0px))}
  body.lx-on{overflow:hidden}
  body.lx-on .masthead,
  body.lx-on .sq-testbanner,
  body.lx-on .sq-foot,
  body.lx-on .lx-bar-wrap{display:none}

  .lx-page [hidden]{display:none!important}
  /* the header holds only the menu button, on a line of its own, with no
     rule under it; tall enough that MENU clears the logo on any phone */
  body[data-brand="lectio"] .masthead{border-bottom:0;padding-bottom:0;min-height:74px}
  .lx-page button{cursor:pointer;touch-action:manipulation;font-family:var(--sans)}
  .lx-page button:focus-visible,.lx-page textarea:focus-visible{outline:2px solid var(--lx-sel-rule);outline-offset:2px}

  /* Session and Sound: two quiet links under Begin */
  .lx-bar-wrap{position:relative;width:100%;max-width:530px;margin-top:22px}
  .lx-bar{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 14px}
  .lx-tool{border:0;background:transparent;color:var(--muted);padding:8px 10px;border-radius:5px;font-size:13px;font-weight:500}
  .lx-tool[aria-expanded="true"]{background:var(--lx-sel-bg);color:var(--ink)}
  /* on computers the menu opens upward, above the links */
  .lx-menu{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);width:min(360px,calc(100% - 28px));max-height:min(440px,calc(100vh - 160px));overflow:auto;
    background:var(--card);border:1px solid var(--rule);border-radius:9px;padding:19px;box-shadow:0 12px 26px var(--shadow,rgba(26,26,26,.12));z-index:40;font-size:14px;color:var(--ink)}
  .lx-menu h3{font-size:16px;margin:0 0 15px;font-family:var(--sans)}
  .lx-scrim{display:none}
  .lx-grab{display:none}
  /* on phones: a panel that slides up from the bottom over a dimmed page */
  @media (max-width:600px){
    .lx-scrim{display:block;position:fixed;inset:0;z-index:69;background:rgba(20,18,16,.32)}
    .lx-menu{position:fixed;left:0;right:0;bottom:0;top:auto;transform:none;width:auto;max-height:78vh;
      border-radius:16px 16px 0 0;border-bottom:0;padding:26px 22px calc(24px + env(safe-area-inset-bottom,0px));
      box-shadow:0 -6px 24px rgba(0,0,0,.14);z-index:70;animation:lx-sheet .22s ease-out}
    /* the handle at the top: swiped down, it closes the panel (the user,
       8 Nov); the touch area is the panel's top 44px, wider than the bar */
    .lx-grab{display:block;position:absolute;top:0;left:0;right:0;height:44px;touch-action:none;cursor:grab;z-index:1}
    .lx-grab::before{content:"";position:absolute;top:9px;left:50%;width:38px;height:4px;margin-left:-19px;border-radius:2px;background:var(--rule)}
  }
  @keyframes lx-sheet{from{transform:translateY(100%)}to{transform:none}}
  .lx-menu .lx-lbl{display:block;margin:12px 0 7px;color:var(--muted);font-size:13px}
  .lx-check{display:block;margin:15px 0;color:var(--ink);font-size:14px}
  .lx-check input{width:18px;height:18px;vertical-align:middle;accent-color:var(--lx-sel-rule);margin:0 8px 0 0}
  .lx-choices{display:flex;gap:7px;flex-wrap:wrap}
  .lx-choices button{flex:1;min-height:40px;min-width:37px;border:1px solid var(--rule);border-radius:5px;background:var(--card);font-size:13px;color:var(--ink)}
  .lx-choices button[aria-pressed="true"]{background:var(--lx-sel-bg);border-color:var(--lx-sel-rule);font-weight:700}
  .lx-choices button:disabled{opacity:.45;cursor:default}
  /* the four sounds, two by two */
  .lx-sounds button{flex:1 1 calc(50% - 4px)}
  .lx-hint{font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0 0}

  /* the page before a session: the logo full width under the menu button */
  .lx-home{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;
    padding:0 25px 40px;transition:opacity .4s}
  .lx-logo{display:block;width:min(340px,100%);margin:0 auto 34px}
  .lx-logo img{display:block;width:100%;height:auto}
  .lx-logo .lx-logo-dark{display:none}
  .lx-field{max-width:530px;width:100%}
  .lx-fieldtop{display:flex;justify-content:space-between;align-items:center;min-height:21px;margin-bottom:10px}
  .lx-fieldtop label{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
  .lx-editing{font-size:12px;color:var(--lx-sel-rule);font-weight:700;visibility:hidden}
  .lx-field:focus-within .lx-editing{visibility:visible}
  .lx-field textarea{display:block;width:100%;min-height:110px;max-height:225px;resize:vertical;border:1px solid var(--lx-field-rule);border-radius:6px;padding:17px 19px;
    font:19px/1.55 var(--sans);color:var(--ink);-webkit-text-fill-color:var(--ink);caret-color:var(--ink);background:var(--card);outline:none}
  .lx-field textarea:focus{border:2px solid var(--lx-sel-rule);box-shadow:0 0 0 4px var(--lx-sel-bg);padding:16px 18px}
  .lx-field textarea::placeholder{color:transparent;-webkit-text-fill-color:transparent}
  /* the instruction and the example, drawn over the empty box (a placeholder
     cannot style its two lines apart); gone as soon as anything is typed */
  /* the box and its words share one grid cell, so an empty box is always
     tall enough for its three lines, at any width */
  .lx-box{display:grid}
  .lx-box > textarea,.lx-box > .lx-ph{grid-area:1/1}
  .lx-ph{align-self:start;padding:18px 20px;pointer-events:none;font:19px/1.55 var(--sans);color:var(--faint)}
  .lx-ph span{display:block}
  .lx-ph .lx-example{font-size:15px;margin:2px 0 8px;opacity:.72}
  .lx-field textarea:not(:placeholder-shown) + .lx-ph{display:none}
  .lx-error{font-size:12px;color:var(--danger,#a34040);min-height:16px;margin-top:6px}
  .lx-begin{margin-top:18px;min-width:155px;min-height:49px;background:var(--cta,var(--brand-green));color:var(--on-fill,#fff);border:0;border-radius:6px;font-weight:700;font-size:16px}
  .lx-begin:hover{background:var(--cta-hover,#1d6b49)}
  .lx-begin:disabled{opacity:.6}
  /* Instructions: brings the welcome back (as on Fathom) */
  .lx-instr{margin:4px 0 0;text-align:center}
  .lx-instr-btn{min-height:44px;padding:8px 14px;border:0;background:none;color:var(--muted);font-size:13px;text-decoration:underline;text-underline-offset:.2em}
  .lx-instr-btn:hover{color:var(--ink)}
  /* the welcome, modeled on Fathom's (7q-fathom.js .fs-ways) */
  .lx-welcome{border:0;border-radius:14px;padding:1.15rem 1.25rem 1.1rem;outline:none;
    width:min(27rem,calc(100% - 2rem));max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow:auto;
    background:var(--card);color:var(--ink);box-shadow:0 12px 40px rgba(0,0,0,.25)}
  .lx-welcome::backdrop{background:var(--backdrop,rgba(26,26,26,.45))}
  .lx-welcome h2{font:700 1.6rem/1.2 var(--sans);margin:0;text-align:center;color:var(--nav-lectio,#003780)}
  .lx-welcome .lx-welcome-h{font:700 .75rem var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:.9rem 0 .4rem}
  /* 9 Nov: the passage-length tip added, the subtitle removed (the user) and
     the gaps between parts a little smaller, so Start stays in view on a
     390 x 844 phone; the lines keep their spacing */
  .lx-welcome p,.lx-welcome li{font-size:.9rem;line-height:1.5;color:var(--ink-soft)}
  .lx-welcome p{margin:0 0 .6rem}
  .lx-welcome ol{margin:0 0 .8rem;padding-left:1.3rem}
  .lx-welcome li{margin:0 0 .35rem;padding-left:.15rem}
  .lx-welcome .lx-welcome-note{margin:0 0 .7rem;text-align:center;font-size:.875rem;line-height:1.45}
  .lx-go{width:100%;min-height:48px;border:0;border-radius:8px;background:var(--cta,var(--brand-green));color:var(--on-fill,#fff);
    font-size:1rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
  .lx-go:hover{background:var(--cta-hover,#1d6b49)}

  /* the session: the whole screen, nothing else on it */
  .lx-stage{position:fixed;inset:0;z-index:60;background:var(--paper);touch-action:pan-y;color:var(--ink)}
  .lx-track{position:absolute;top:calc(15px + env(safe-area-inset-top,0px));left:35%;width:30%;height:3px;background:var(--rule);z-index:2}
  /* faint marks where one round gives way to the next */
  .lx-mark{position:absolute;top:-2px;width:1px;height:7px;margin-left:-.5px;background:var(--muted);opacity:.55}
  .lx-fill{height:100%;width:0;background:var(--lx-sel-rule)}
  .lx-cue{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:28px 11%;text-align:center;opacity:0;transition:opacity .4s;pointer-events:none}
  .lx-cue.lx-visible{opacity:1}
  .lx-cue h2{font:normal clamp(29px,5vw,40px)/1.35 var(--serif);margin:0 0 22px;color:var(--ink)}
  .lx-cue p{font:normal clamp(21px,3.8vw,27px)/1.65 var(--serif);max-width:580px;margin:0;color:var(--ink-soft)}
  .lx-reader{position:absolute;inset:8% 0 8%;overflow-y:auto;padding:0 max(25px,calc((100% - 560px)/2));opacity:0;transition:opacity .4s;touch-action:pan-y}
  .lx-reader.lx-visible{opacity:1}
  .lx-roundhead{text-align:center;margin:0 0 40px}
  .lx-roundhead span{display:block;font-size:13px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:var(--muted);margin-bottom:8px}
  .lx-roundhead strong{display:block;font:normal 30px/1.3 var(--serif);color:var(--ink)}
  .lx-instruction{font:italic 16px/1.65 var(--serif);color:var(--muted);margin:15px auto 0;max-width:470px;text-align:center}
  .lx-ptitle{font:normal 23px var(--serif);text-align:center;margin:0 0 26px;color:var(--ink-soft)}
  .lx-verses{font:normal 21px/1.85 var(--serif);white-space:pre-line;color:var(--ink);padding-bottom:50vh}
  .lx-verses p{margin:0 0 1.1em}
  /* no passage entered: a note in its place, and a way back to the box */
  .lx-none{text-align:center;font:17px/1.6 var(--sans);color:var(--muted);max-width:420px;margin:0 auto}
  .lx-none p{margin:0 0 18px}
  .lx-none button{border:1px solid var(--lx-sel-rule);background:var(--card);border-radius:6px;color:var(--ink);padding:12px 22px;font-size:15px}
  .lx-vn{font-family:var(--sans);font-size:.55em;font-weight:700;color:var(--faint);vertical-align:.45em;margin-right:.3em;letter-spacing:.02em}
  /* a psalm's title and a speaker label (27 Nov): not verses, and not to be read as Scripture */
  .lx-label{display:block;font-family:var(--sans);color:var(--muted);white-space:normal;line-height:1.45}
  .lx-title{font-size:.68em;font-style:italic;margin:0 0 .9em}
  .lx-speaker{font-size:.55em;font-weight:700;letter-spacing:.09em;text-transform:uppercase;margin:0 0 .35em}
  .lx-verses p .lx-speaker{margin:.5em 0 .35em}
  .lx-ctl{position:absolute;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(380px,calc(100% - 24px));display:flex;align-items:center;justify-content:space-between;gap:2px;padding:4px;
    border:1px solid var(--rule);border-radius:10px;background:var(--card);box-shadow:0 4px 18px var(--shadow,rgba(26,26,26,.13));opacity:0;pointer-events:none;transition:opacity .2s;z-index:4}
  .lx-ctl.lx-shown{opacity:1;pointer-events:auto}
  .lx-ctl button{border:0;background:var(--card);color:var(--ink-soft);min-height:44px;min-width:44px;font-size:25px}
  .lx-ctl span{font-size:12px;font-weight:700;color:var(--ink-soft);font-variant-numeric:tabular-nums;white-space:nowrap}
  .lx-finish{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:28px;background:var(--paper);text-align:center}
  .lx-finish h2{font:normal 46px var(--serif);color:var(--ink);margin:0}
  .lx-finish button{border:1px solid var(--lx-field-rule);background:var(--card);border-radius:6px;color:var(--ink);padding:13px 24px;font-size:15px}
  .lx-finish-btns{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
  /* after the session: the passage alone, as long as the reader wants it */
  /* The text scrolls above a strip of its own at the foot of the screen,
     which holds the X: always in view, never over the words (the user,
     9 Nov; it was a glowing green X floating over the text) */
  .lx-after{position:fixed;inset:0;z-index:60;background:var(--paper);color:var(--ink);
    display:flex;flex-direction:column}
  .lx-after-text{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;
    padding:calc(40px + env(safe-area-inset-top,0px)) max(25px,calc((100% - 560px)/2)) 24px}
  .lx-after-foot{flex:none;display:flex;justify-content:flex-end;background:var(--paper);
    padding:4px 12px calc(8px + env(safe-area-inset-bottom,0px))}
  /* back to the start page: a gray circled X, lower right, a third smaller
     than before (35px, was 52; the user, 9 Nov), no glow; the tap area
     stays 44px */
  .lx-close{position:relative;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--muted);
    display:flex;align-items:center;justify-content:center;border-radius:50%}
  .lx-close::before{content:"";position:absolute;width:35px;height:35px;box-sizing:border-box;
    border:1.5px solid currentColor;border-radius:50%;background:var(--card)}
  .lx-close svg{position:relative;width:15px;height:15px;display:block}
  .lx-close:hover{color:var(--ink)}

  @media (max-width:440px){
    .lx-logo{max-width:310px}
    .lx-field textarea{font-size:18px;min-height:105px}
    .lx-ph{font-size:18px}
    .lx-reader{inset:9% 0 7%}
    .lx-roundhead{margin-bottom:30px}
    .lx-instruction{font-size:15px}
    .lx-verses{font-size:19px}
  }
  @media (prefers-reduced-motion:reduce){ .lx-home,.lx-cue,.lx-reader,.lx-ctl{transition:none} .lx-menu{animation:none} }
  @media print{ .lx-bar-wrap,.lx-stage,.lx-finish,.lx-after{display:none} }

  /* Monochrome: the logo in gray, the green accents in gray */
  html[data-color="mono"]{--lx-sel-bg:#efefef;--lx-sel-rule:#5f5b57;--lx-glow:rgba(95,91,87,.35);--lx-glow-soft:rgba(95,91,87,.12)}
  html[data-color="mono"] .lx-logo img{filter:grayscale(1)}
  @media screen{
    /* Dark: the lifted logo, and greens that read on charcoal */
    html[data-scheme="dark"]{--lx-sel-bg:#26332a;--lx-sel-rule:#24845a;--lx-field-rule:#4a4744;--lx-glow:rgba(36,132,90,.55);--lx-glow-soft:rgba(36,132,90,.2)}
    html[data-scheme="dark"] .lx-logo .lx-logo-light{display:none}
    html[data-scheme="dark"] .lx-logo .lx-logo-dark{display:block}
    html[data-scheme="dark"][data-color="mono"]{--lx-sel-bg:#34312d;--lx-sel-rule:#a7a4a0;--lx-glow:rgba(200,196,190,.3);--lx-glow-soft:rgba(200,196,190,.1)}
  }


/* ===== Sermon Notes  (7q-sermons.js) ===== */

  /* ===== Sermon Notes (7q-sermons.js) ===== */
  :root{--sm-css:1}
  .sm-wrap{max-width:38rem;margin:0 auto;padding:1.3rem 1.1rem 2.5rem;box-sizing:border-box}
  /* the Fathom logo never sits higher than the foot of the screen (the user,
     22 Nov): the page is at least the screen's height and the logo's footer
     takes whatever room is left above it */
  body[data-brand="sermons"]{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
  body[data-brand="sermons"] > .masthead,body[data-brand="sermons"] > .sm-wrap{width:100%;flex:none}
  body[data-brand="sermons"] > .sq-foot{margin-top:auto;flex:none}
  .sm-wrap [hidden]{display:none !important}
  .sm-lbl{display:block;font:700 .72rem var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0 0 .25rem}
  .sm-field{position:relative;margin:0 0 1.05rem}
  .sm-in{width:100%;border:0;border-bottom:1.5px dashed var(--dash,#cfc8ba);border-radius:0;background:transparent;
    font:400 1.19rem/1.35 var(--serif);color:var(--ink);padding:.2rem .05rem .35rem}
  .sm-in::placeholder{color:var(--ph,#b5ab9b)}
  .sm-in:focus{outline:none;border-bottom:1.5px solid var(--link-blue,var(--brand-blue))}
  @container smwrap (min-width:30rem){ .sm-pair{display:grid;grid-template-columns:1fr 1fr;gap:0 1.4rem} }
  .sm-wrap{container:smwrap / inline-size}

  /* the date: a plain line; tapping it opens the phone's own date picker */
  .sm-daterow{position:relative;display:inline-block;margin:0 0 1.25rem}
  .sm-date{font:400 1.06rem var(--serif);color:var(--ink-soft);background:none;border:0;border-bottom:1px dotted var(--dash,#cfc8ba);
    padding:0 0 1px;cursor:pointer;text-align:left}
  .sm-date:hover{color:var(--link-blue,var(--brand-blue));border-bottom-color:currentColor}
  .sm-datein{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;border:0;padding:0;margin:0;pointer-events:none;font-size:16px}
  @media (pointer:coarse){ .sm-datein{pointer-events:auto} }
  .sm-date:focus-visible{outline:3px solid var(--link-blue,var(--brand-blue));outline-offset:2px}

  /* the details, opened again from the card */
  .sm-details.sm-reopened{border:1px solid var(--accent,#1961B7);border-radius:8px;padding:.7rem .8rem .1rem;background:var(--card)}
  .sm-dhead{display:flex;justify-content:space-between;align-items:center;margin:0 0 .7rem}
  .sm-dhead .sm-lbl{margin:0}
  .sm-done{font:700 .75rem var(--sans);letter-spacing:.06em;border:0;border-radius:5px;padding:.42rem .8rem;cursor:pointer;
    background:var(--orient-fill,#1f6fb2);color:var(--on-fill,#fff)}

  /* speaker and series: the names used before */
  .sm-sugg{position:absolute;left:0;right:0;top:100%;margin:2px 0 0;padding:4px 0;list-style:none;z-index:6;
    background:var(--card);border:1px solid var(--rule);border-radius:6px;box-shadow:0 6px 18px var(--shadow,rgba(26,26,26,.12))}
  .sm-sugg li{font:400 1rem var(--serif);padding:.5rem .75rem;cursor:pointer;color:var(--ink)}
  .sm-sugg li[aria-selected="true"],.sm-sugg li:hover{background:var(--accent-wash,rgba(25,97,183,.05))}
  .sm-sugg small{font:400 .7rem var(--sans);color:var(--faint);margin-left:.4rem;letter-spacing:.03em}

  /* the passage, with Scripture beside it */
  .sm-refrow{display:flex;align-items:flex-end;gap:.75rem}
  .sm-refrow .sm-in{flex:1;min-width:0;font-size:1.5rem}
  .sm-details.sm-reopened .sm-refrow .sm-in{font-size:1.25rem}
  .sm-scrip{display:flex;align-items:center;justify-content:center;gap:.45rem;border:1px solid var(--rule);border-radius:6px;
    background:var(--card);color:var(--ink-soft);font:700 .7rem var(--sans);letter-spacing:.12em;text-transform:uppercase;
    cursor:pointer;white-space:nowrap}
  .sm-scrip svg{display:block;flex:none;width:26px;height:23px;color:var(--prepare,#726D69)}
  .sm-refrow .sm-scrip{flex:0 0 auto;min-width:25%;height:2.6rem;padding:0 .55rem}
  .sm-scrip[aria-expanded="true"]{background:var(--press,#4a4a4a);border-color:var(--press,#4a4a4a);color:var(--on-press,#fff)}
  .sm-scrip[aria-expanded="true"] svg{color:currentColor}
  .sm-scrip:focus-visible,.sm-cardbody:focus-visible{outline:3px solid var(--link-blue,var(--brand-blue));outline-offset:2px}
  .sm-msg{margin:.35rem 0 0;font-size:.88rem;color:var(--muted);font-style:italic}

  /* the details folded into one card, with Scripture beside it */
  .sm-cardrow{display:flex;gap:.5rem;align-items:stretch;margin:0 0 .3rem}
  .sm-card{flex:1;min-width:0;border:1px solid var(--rule);border-radius:8px;background:var(--card);overflow:hidden}
  .sm-cardbody{display:block;width:100%;text-align:left;border:0;background:none;padding:.55rem .75rem .62rem;cursor:pointer;color:var(--ink)}
  .sm-cardbody:hover{background:var(--hover-bg,#fbfaf7)}
  .sm-cd{display:flex;align-items:center;gap:.4rem;font:700 .66rem var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
  .sm-cd svg{margin-left:auto;flex:none;color:var(--faint)}
  .sm-ct{display:block;font:400 1rem/1.3 var(--serif);margin:.2rem 0 .06rem}
  .sm-ct.sm-none{color:var(--faint)}
  .sm-cm{display:block;font:400 .78rem/1.4 var(--sans);color:var(--ink-soft)}
  .sm-cm .sm-cref{color:var(--muted)}
  .sm-cardrow .sm-scrip{flex:0 0 4.9rem;flex-direction:column;gap:.3rem;border-radius:8px;font-size:.62rem;letter-spacing:.1em;padding:.4rem .25rem}

  .sm-scripbox{margin:.9rem 0 0}

  /* the notes */
  .sm-notes{margin-top:1.5rem}
  .sm-notes .answer-box{margin:0}
  .sm-saved{margin:.45rem .1rem 0;font:400 .75rem var(--sans);color:var(--faint)}
  .sm-saved.sm-bad{color:var(--danger,#a82f26)}

  /* My sermons · New sermon · Print or PDF · Share: bold text links like
     Dive's (the user, 5 Dec; outlined buttons until then) */
  .sm-foot{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin-top:1.6rem;padding-top:1.1rem;border-top:1px solid var(--rule)}
  @media (max-width:26rem){ .sm-foot{gap:.2rem} }   /* four links on one line from 360px */
  @media (max-width:21rem){ .sm-foot .sq-link{font-size:.8rem} }
  .sm-foot .sq-link{box-sizing:border-box;height:1.6rem;padding-top:0;padding-bottom:0}
  .sm-foot .sq-link-dot{line-height:1}
  .sm-done:focus-visible{outline:3px solid var(--link-blue,var(--brand-blue));outline-offset:2px}

  /* My sermons: the My studies panel's frame (#sq-library in 7q-storage.js),
     with a search box */
  #sm-library{border:none;padding:0;background:var(--paper);color:var(--ink);
    width:min(30rem,100%);max-height:86vh;border-radius:4px;box-shadow:0 12px 40px rgba(40,34,22,.28)}
  #sm-library::backdrop{background:var(--backdrop,rgba(44,38,28,.42))}
  #sm-library[open]{display:flex;flex-direction:column}
  #sm-library .sq-lib-body{padding-top:0;max-height:none;flex:1;min-height:0}
  @media (max-width:640px){
    #sm-library{width:100%;max-width:100%;margin:0;position:fixed;top:auto;bottom:0;left:0;border-radius:10px 10px 0 0;max-height:88vh}
  }
  /* the sync section at the top of My sermons (30 Nov), as in My studies */
  .sm-sync{padding:.7rem .6rem 0}
  .sm-sync:empty{display:none}
  .sm-sync .sq-sync{margin:0}
  .sm-search{position:relative;padding:.7rem .6rem .2rem}
  .sm-search svg{position:absolute;left:1.25rem;top:calc(50% + .25rem);transform:translateY(-50%);color:var(--faint)}
  .sm-search input{width:100%;font:400 1rem var(--serif);padding:.6rem 2.1rem .6rem 2.1rem;border:1px solid var(--pill-rule,#d9d3c6);
    border-radius:6px;background:var(--card);color:var(--ink)}
  .sm-search input:focus{outline:none;border-color:var(--link-blue,var(--brand-blue))}
  .sm-search input::-webkit-search-cancel-button{display:none}
  .sm-clear{position:absolute;right:.9rem;top:calc(50% + .25rem);transform:translateY(-50%);border:0;background:none;color:var(--faint);font-size:1.1rem;cursor:pointer;padding:.2rem .4rem}
  .sm-count{font:400 .74rem var(--sans);color:var(--faint);padding:.3rem .8rem .5rem}
  .sm-row{display:flex;align-items:center;gap:.6rem;background:var(--card,#fff);border:1px solid var(--rule);border-radius:2px;
    padding:0 .7rem 0 0;margin:0 0 .5rem;font-family:var(--sans);color:var(--ink)}
  .sm-row:hover{border-color:var(--orient)}
  .sm-row.sm-here{background:var(--accent-wash,rgba(25,97,183,.05))}
  .sm-open{flex:1;min-width:0;display:block;text-align:left;border:0;background:none;padding:.65rem 0 .65rem .8rem;cursor:pointer;color:inherit;font:inherit}
  .sm-open:focus-visible{outline:3px solid var(--link-blue,var(--brand-blue));outline-offset:-3px}
  /* Dive's delete: an x, then "Delete?" until tapped again */
  .sm-row .sq-lib-del{flex:none}
  .sm-rd{display:block;font:700 .66rem var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
  .sm-rt{display:block;font:400 1.05rem/1.3 var(--serif);margin:.15rem 0 .1rem}
  .sm-rm,.sm-rp{display:block;font-size:.8rem;color:var(--ink-soft)}
  .sm-rp{color:var(--muted)}
  .sm-row mark{background:var(--sq-hl,#FBEAA7);color:inherit;border-radius:2px;padding:0 1px}
  html[data-scheme="dark"] .sm-row mark{background:#5a4d1c}

  /* Quieter chrome on this page (the user, 22 Nov): the menu's three bars and
     the Fathom logo at the foot in Monochrome's grays, in light and dark,
     whatever the Color setting. MENU under the bars keeps its blue. */
  body[data-brand="sermons"] .sqmenu-bars i{border-top-color:#4a4a4a}
  html[data-scheme="dark"] body[data-brand="sermons"] .sqmenu-bars i{border-top-color:#cdcac6}
  body[data-brand="sermons"] .sq-foot-logo img{filter:grayscale(1)}

  /* paper: the details in full, the notes, nothing to press */
  .sm-print{display:none}
  @media print{
    .sm-details,.sm-cardrow,.sm-scripbox,.sm-foot,.sm-saved,.sm-lbl.sm-nlbl{display:none !important}
    .sm-print{display:block;margin:0 0 1rem}
    .sm-print .sm-pd{font:400 .95rem var(--serif);color:#444}
    .sm-print h1{font:400 1.5rem/1.25 var(--serif);margin:.3rem 0 .2rem}
    .sm-print p{margin:.15rem 0;font:400 .95rem var(--serif)}
    .sm-notes .answer-box{border:0;padding:0;background:none}
  }


/* ===== the book list under passage boxes  (7q-bookpick.js) ===== */
/* ---------- the book list under passage boxes (7q-bookpick.js) ---------- */
  :root{--bp-css:1}
  .bp-list{position:fixed;z-index:1000;margin:0;padding:4px 0;list-style:none;overflow-y:auto;
    -webkit-overflow-scrolling:touch;overscroll-behavior:contain;box-sizing:border-box;
    background:var(--card,#ffffff);border:1px solid var(--rule,#E6E3DE);border-radius:6px;
    box-shadow:0 6px 18px var(--shadow,rgba(26,26,26,.12));text-align:left}
  .bp-list[hidden]{display:none}
  .bp-list li{font:400 1rem var(--serif,Georgia,"Times New Roman",serif);padding:.6rem .75rem;cursor:pointer;
    color:var(--ink,#1A1A1A);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    -webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
  .bp-list li[aria-selected="true"]{background:var(--accent-wash,rgba(25,97,183,.07))}
  @media (hover:hover){ .bp-list li:hover{background:var(--accent-wash,rgba(25,97,183,.07))} }
  html[data-scheme="dark"] .bp-list{background:var(--card,#272522);border-color:var(--rule,#35322f);
    box-shadow:0 6px 18px rgba(0,0,0,.45)}
  html[data-scheme="dark"] .bp-list li{color:var(--ink,#ece9e4)}
  html[data-scheme="dark"] .bp-list li[aria-selected="true"]{background:rgba(255,255,255,.07)}
  @media (hover:hover){ html[data-scheme="dark"] .bp-list li:hover{background:rgba(255,255,255,.07)} }
  html[data-color="mono"] .bp-list li[aria-selected="true"]{background:rgba(26,26,26,.05)}
  @media (hover:hover){ html[data-color="mono"] .bp-list li:hover{background:rgba(26,26,26,.05)} }
  html[data-color="mono"][data-scheme="dark"] .bp-list li[aria-selected="true"]{background:rgba(255,255,255,.07)}
  @media print{ .bp-list{display:none !important} }


/* ===== Settings: dark mode and monochrome  (7q-theme.js) ===== */

  /* ===== Settings: Appearance (light / dark) and Color (color / monochrome) =====
     7q-theme.js sets two attributes on <html> before the page draws:
       data-scheme="light" | "dark"   (System is resolved to one of these)
       data-color="color" | "mono"
     Pages that do not load 7q-theme.js carry neither, so nothing below
     touches them. Colors come from the dark-mode and monochrome mockups the
     user approved (27-28 Oct; claude/7q-dark-mode.md in the project).

     Order matters and is deliberate:
       1. monochrome, on screen and on paper (printing follows monochrome);
       2. dark, on screen only (printing is always light);
       3. dark and monochrome together, on screen only.
     Each later block wins over the one before for the same element. */

  /* Highlights in monochrome: quieter versions of their colors (the user,
     3 Nov; this replaces the 2 Nov choice to keep them in full color). Light
     set here, on screen and on paper; the dark set is in block 3. The notes
     boxes write their colors into the text, so 7q-cards.js swaps those. */
  html[data-color="mono"] mark[data-h="1"]{background:#E4DCBE}
  html[data-color="mono"] mark[data-h="2"]{background:#D9E2D3}
  html[data-color="mono"] mark[data-h="3"]{background:#DBE4EA}
  html[data-color="mono"] mark[data-h="4"]{background:#EEE2E6}
  html[data-color="mono"] mark[data-h="5"]{background:#E7DDD1}
  html[data-color="mono"] mark[data-h="6"]{background:#EDEDEB}
  html[data-color="mono"] mark[data-h="7"]{background:#E8E4EE}

  /* 1. monochrome: grays only, no color at all (the user, 27 Oct) */
  html[data-color="mono"]{
    --well:#fcfcfc;
    --well-rule:#ececec;
    --tip:#f3f3f3;
    --pill-rule:#d6d6d6;
    --dash:#c8c8c8;
    --ph-ref:#b0b0b0;
    --ph:#b5b5b5;
    --fmt-idle:#a0a0a0;
    --ref-focus:#fcfcfc;
    --addon-bg:#f6f6f6;
    --hover-bg:#f8f8f8;
    --active-bg:#f1f1f1;
    --danger:#1A1A1A;
    --danger-fill:#4a4a4a;
    --good:#4a4a4a;
    --on-fill:#ffffff;
    --brand-blue:#4a4a4a;
    --brand-green:#4a4a4a;
    --cta:#4a4a4a;
    --cta-hover:#333333;
    --nav-blue:#4a4a4a;
    --nav-green:#8f8a85;
    --nav-fathom:#4a4a4a;
    --nav-lectio:#4a4a4a;
    --nav-lectio-flame:#8f8a85;
    --nav-blue-fill:#4a4a4a;
    --nav-blue-deep:#333333;
    --rank-line:#d6d6d6;
    --rank-tint:#f0f0f0;
    --rank-done:#bdbdbd;
    --rank-note:#f3f3f3;
    --star-stroke:#6a6a6a;
    --timer-bar:#cfcfcf;
    --card-rail:#8f8a85;
    --link-rule:#d6d6d6;
    --rule-soft:#eeeeee;
    --scroll:#bdbdbd;
    --tl-axis:#d9d9d9;
    --tl-dot:#9a9a9a;
    --tl-ref:#a0a0a0;
    --tl-desc:#757575;
    --tl-rule:#e5e5e5;
    --tl-bh:#757575;
    --tl-bsub:#727272;
    --tl-nc:#8a8a8a;
    --tl-nc-sub:#999999;
    --here-bg:#f3f3f3;
    --vv-rule:#d4d4d4;
    --vv-on-bg:#efefef;
    --vv-on:#4a4a4a;
    --notice-bg:#f1f1f1;
    --warn-bg:#f3f3f3;
    --warn-rule:#d6d6d6;
    --warn-ink:#1A1A1A;
    --orient-hover:#333333;
    --link-blue:#4a4a4a;
    --orient:#5f5b57;
    --orient-fill:#4a4a4a;
    --observe:#5f5b57;
    --observe-fill:#4a4a4a;
    --identify:#5f5b57;
    --identify-fill:#4a4a4a;
    --interpret:#5f5b57;
    --interpret-fill:#4a4a4a;
    --understand:#5f5b57;
    --understand-fill:#4a4a4a;
    --connect:#5f5b57;
    --connect-fill:#4a4a4a;
    --respond:#5f5b57;
    --respond-fill:#4a4a4a;
    --prepare:#5f5b57;
    --prepare-fill:#4a4a4a;
    --ly1-1:#726D69;
    --ly1-2:#5c5854;
    --ly1-3:#47443f;
    --ly1-4:#33302c;
    --ly1-t:#f3f3f3;
    --ly2-1:#726D69;
    --ly2-2:#5c5854;
    --ly2-3:#47443f;
    --ly2-4:#33302c;
    --ly2-t:#f3f3f3;
    --ly3-1:#726D69;
    --ly3-2:#5c5854;
    --ly3-3:#47443f;
    --ly3-4:#33302c;
    --ly3-t:#f3f3f3;
    --ly4-1:#726D69;
    --ly4-2:#5c5854;
    --ly4-3:#47443f;
    --ly4-4:#33302c;
    --ly4-t:#f3f3f3;
    --ly5-1:#726D69;
    --ly5-2:#5c5854;
    --ly5-3:#47443f;
    --ly5-4:#33302c;
    --ly5-t:#f3f3f3;
    --ly6-1:#726D69;
    --ly6-2:#5c5854;
    --ly6-3:#47443f;
    --ly6-4:#33302c;
    --ly6-t:#f3f3f3;
    --ly7-1:#726D69;
    --ly7-2:#5c5854;
    --ly7-3:#47443f;
    --ly7-4:#33302c;
    --ly7-t:#f3f3f3;
  }
  /* one neutral rail for every card, lighter than its gray label */
  html[data-color="mono"] .card{border-left-color:var(--card-rail)}
  /* the logo marks in gray (the user, 27 Oct) */
  html[data-color="mono"] .wm-art img,
  html[data-color="mono"] .sq-group-mark,
  html[data-color="mono"] .brand-mark img,
  html[data-color="mono"] .sq-foot-logo img,
  html[data-color="mono"] .fs-icon{filter:grayscale(1)}
  /* the hourglass in four grays, mirrored a b c d c b a (the user, 27 Oct):
     darkest at Q1 and Q7, lightest at Q4 in the waist; white labels on the
     two darker grays, dark labels with no halo on the two lighter ones */
  html[data-color="mono"] stop.hg-k-orient{stop-color:#484848}
  html[data-color="mono"] rect.hg-k-orient{fill:#484848}
  html[data-color="mono"] stop.hg-k-observe{stop-color:#717171}
  html[data-color="mono"] rect.hg-k-observe{fill:#717171}
  html[data-color="mono"] stop.hg-k-identify{stop-color:#ababab}
  html[data-color="mono"] rect.hg-k-identify{fill:#ababab}
  html[data-color="mono"] stop.hg-k-interpret{stop-color:#d7d7d7}
  html[data-color="mono"] rect.hg-k-interpret{fill:#d7d7d7}
  html[data-color="mono"] stop.hg-k-understand{stop-color:#ababab}
  html[data-color="mono"] rect.hg-k-understand{fill:#ababab}
  html[data-color="mono"] stop.hg-k-connect{stop-color:#717171}
  html[data-color="mono"] rect.hg-k-connect{fill:#717171}
  html[data-color="mono"] stop.hg-k-respond{stop-color:#484848}
  html[data-color="mono"] rect.hg-k-respond{fill:#484848}
  html[data-color="mono"] .hourglass stop.hg-sheen0{stop-opacity:0}
  html[data-color="mono"] .hg-item[data-jump="2"] text,
  html[data-color="mono"] .hg-item[data-jump="3"] text,
  html[data-color="mono"] .hg-item[data-jump="4"] text{fill:#1A1A1A;stroke:none}
  html[data-color="mono"] .hg-arrow{stroke:#1A1A1A}
  /* the timeline drawings are one ink (the user, 1 Nov): gray in monochrome */
  html[data-color="mono"] .tl-art,
  html[data-color="mono"] .tl-sky{filter:grayscale(1)}
  /* a sync warning keeps its rule and bold words, in ink, with a small
     warning triangle in front: the red is what is taken away */
  html[data-color="mono"] .sq-sync-warn b::before,
  html[data-color="mono"] .warn b::before,
  html[data-color="mono"] .mismatch b::before{
    content:"";display:inline-block;width:.95em;height:.95em;margin-right:.3em;vertical-align:-.12em;
    background:currentColor;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.8 L15 14 H1 Z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M8 6 V9.6' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.9' r='1'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.8 L15 14 H1 Z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M8 6 V9.6' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.9' r='1'/%3E%3C/svg%3E") center/contain no-repeat;
  }

  /* keyboard focus and the box being written in, in ink: no colored ring */
  html[data-color="mono"] :focus-visible{outline-color:var(--ink)}
  html[data-color="mono"] .answer-box.editing,
  html[data-color="mono"] .answer-box:focus-within{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}

  @media screen{
    /* 2. dark: warm charcoal, never black (the user, 27 Oct) */
    html[data-scheme="dark"]{
      color-scheme:dark;
      --paper:#1d1a17;
      --paper-veil:rgba(29,26,23,.95);
      --card:#272522;
      --ink:#ece9e4;
      --ink-soft:#cdcac6;
      --muted:#a7a4a0;
      --faint:#777470;
      --rule:#35322f;
      --well:#1f1d1a;
      --well-rule:#35322f;
      --tip:#2c2a26;
      --pill-rule:#4a4744;
      --dash:#585551;
      --ph-ref:#6c6865;
      --ph:#6c6865;
      --fmt-idle:#8a8580;
      --ref-focus:#22201d;
      --addon-bg:#212622;
      --hover-bg:#2e2c29;
      --active-bg:#34312d;
      --hg-glass:#898582;
      --danger:#d46f61;
      --danger-fill:#a2372e;
      --good:#589971;
      --on-fill:#ffffff;
      --brand-blue:#2f6da8;
      --brand-green:#24845a;   /* 22 Nov: the new green, text included (the user, option B) */
      --cta:#24845a;
      --cta-hover:#1d6b49;
      --nav-blue:#488de7;
      --nav-green:#24845a;
      --nav-fathom:#518edc;
      --nav-lectio:#6A9BE3;
      --nav-lectio-flame:#6DBB2E;
      --nav-blue-fill:#2f6cb8;
      --nav-blue-deep:#3a78c4;
      --rank-line:#33445a;
      --rank-tint:#223041;
      --rank-ahead:#77736f;
      --rank-done:#3d5f86;
      --rank-note:#352f22;
      --star-stroke:#A87C0E;
      --timer-bar:#204a35;
      --shadow:rgba(0,0,0,.55);
      --backdrop:rgba(0,0,0,.6);
      --link-rule:#4a4744;
      --rule-soft:#302d2a;
      --scroll:#57534f;
      --tl-axis:#45423e;
      --tl-dot:#8fa46e;
      --tl-ref:#8f887c;
      --tl-desc:#a7a4a0;
      --tl-rule:#35322f;
      --tl-bh:#9aa486;
      --tl-bsub:#a7a4a0;
      --tl-book:#f2efea;
      --tl-nc:#8a857e;
      --tl-nc-sub:#7d7871;
      --here-bg:#222f3d;
      --vv-rule:#4a4744;
      --vv-on-bg:#3a3733;
      --vv-on:#e0ddd8;
      --notice-bg:#34312d;
      --warn-bg:#3a2420;
      --warn-rule:#6b3a33;
      --warn-ink:#f0b3aa;
      --orient-hover:#255d90;
      --on-fill-rule:rgba(255,255,255,.45);
      --press:#d6d3cf;
      --on-press:#1d1a17;
      --link-blue:#488de7;
      --orient:#5a9edf;
      --orient-fill:#2c6fab;
      --observe:#5bbac9;
      --observe-fill:#3293a1;
      --identify:#76c264;
      --identify-fill:#529a40;
      --interpret:#edbc52;
      --interpret-fill:#d0a136;
      --understand:#fe9f55;
      --understand-fill:#da7f35;
      --connect:#f97860;
      --connect-fill:#c94f39;
      --respond:#d36155;
      --respond-fill:#a2372e;
      --prepare:#908b87;
      --prepare-fill:#726d69;
      --ly1-1:#5a9edf;
      --ly1-2:#75afe8;
      --ly1-3:#8fc0f2;
      --ly1-4:#a7d2fd;
      --ly1-t:#222f3d;
      --ly2-1:#5bbac9;
      --ly2-2:#7ccad7;
      --ly2-3:#98dae5;
      --ly2-4:#b2eaf4;
      --ly2-t:#1b3236;
      --ly3-1:#76c264;
      --ly3-2:#90d181;
      --ly3-3:#a8e19b;
      --ly3-4:#c0f1b4;
      --ly3-t:#263223;
      --ly4-1:#edbc52;
      --ly4-2:#facf79;
      --ly4-3:#ffe5b1;
      --ly4-4:#fff0cf;
      --ly4-t:#352d1c;
      --ly5-1:#fe9f55;
      --ly5-2:#ffb987;
      --ly5-3:#ffd2b4;
      --ly5-4:#ffe2ce;
      --ly5-t:#3a2a1f;
      --ly6-1:#f97860;
      --ly6-2:#ff947f;
      --ly6-3:#ffb0a0;
      --ly6-4:#ffcbc0;
      --ly6-t:#3c2824;
      --ly7-1:#d36155;
      --ly7-2:#dd796d;
      --ly7-3:#e79084;
      --ly7-4:#f2a59b;
      --ly7-t:#3c2825;
    }
    /* Fathom's and By Heart's logos: the dark version, lettering lifted */
    html[data-scheme="dark"] .brand-mark .bm-light{display:none}
    html[data-scheme="dark"] .brand-mark .bm-dark{display:block}
    html[data-scheme="dark"] .sq-foot-logo .bm-light{display:none}
    html[data-scheme="dark"] .sq-foot-logo .bm-dark{display:block}
    /* a highlight keeps dark words on its pale color in every theme */
    html[data-scheme="dark"] mark[data-h],
    html[data-scheme="dark"] .answer-ed span[style*="background"]{color:#1f2328}
    /* the hourglass bands, a touch softer than in light so they do not glare */
    html[data-scheme="dark"] stop.hg-k-orient{stop-color:#2c6fab}
    html[data-scheme="dark"] rect.hg-k-orient{fill:#2c6fab}
    html[data-scheme="dark"] stop.hg-k-observe{stop-color:#3293a1}
    html[data-scheme="dark"] rect.hg-k-observe{fill:#3293a1}
    html[data-scheme="dark"] stop.hg-k-identify{stop-color:#529a40}
    html[data-scheme="dark"] rect.hg-k-identify{fill:#529a40}
    html[data-scheme="dark"] stop.hg-k-interpret{stop-color:#d0a136}
    html[data-scheme="dark"] rect.hg-k-interpret{fill:#d0a136}
    html[data-scheme="dark"] stop.hg-k-understand{stop-color:#da7f35}
    html[data-scheme="dark"] rect.hg-k-understand{fill:#da7f35}
    html[data-scheme="dark"] stop.hg-k-connect{stop-color:#c94f39}
    html[data-scheme="dark"] rect.hg-k-connect{fill:#c94f39}
    html[data-scheme="dark"] stop.hg-k-respond{stop-color:#a2372e}
    html[data-scheme="dark"] rect.hg-k-respond{fill:#a2372e}
    html[data-scheme="dark"] .hourglass stop.hg-sheen0{stop-opacity:.18}
    /* the timeline drawings in dark (the user, 2 Nov, option E, in its
       monochrome gray for both Color and Monochrome): black ink on one neutral
       gray band across the space above the line */
    html[data-scheme="dark"] .tl-up{background:#6c6c6c;margin:0 -.25rem;padding-left:.25rem;padding-right:.25rem}
    html[data-scheme="dark"] .tl-art,
    html[data-scheme="dark"] .tl-sky{filter:brightness(0)}

    /* the quieter highlights in dark monochrome (the user, 3 Nov) */
    html[data-scheme="dark"][data-color="mono"] mark[data-h="1"]{background:#E4DCBE}
    html[data-scheme="dark"][data-color="mono"] mark[data-h="2"]{background:#D9E2D3}
    html[data-scheme="dark"][data-color="mono"] mark[data-h="3"]{background:#DBE4EA}
    html[data-scheme="dark"][data-color="mono"] mark[data-h="4"]{background:#F1DFE4}
    html[data-scheme="dark"][data-color="mono"] mark[data-h="5"]{background:#E7DDD1}
    html[data-scheme="dark"][data-color="mono"] mark[data-h="6"]{background:#BDBAB5}
    html[data-scheme="dark"][data-color="mono"] mark[data-h="7"]{background:#E8E2F0}
    /* 3. dark and monochrome together */
    html[data-scheme="dark"][data-color="mono"]{
      --addon-bg:#2a2826;
      --danger:#ece9e4;
      --danger-fill:#d6d3cf;
      --good:#cdcac6;
      --on-fill:#1d1a17;
      --brand-blue:#d6d3cf;
      --brand-green:#cdcac6;
      --cta:#d6d3cf;
      --cta-hover:#e6e3df;
      --nav-blue:#cdcac6;
      --nav-green:#77736f;
      --nav-fathom:#cdcac6;
      --nav-lectio:#cdcac6;
      --nav-lectio-flame:#77736f;
      --nav-blue-fill:#d6d3cf;
      --nav-blue-deep:#e6e3df;
      --rank-line:#45423f;
      --rank-tint:#2f2d2a;
      --rank-done:#5c5c5c;
      --rank-note:#2c2a26;
      --star-stroke:#8c8c8c;
      --timer-bar:#4a4844;
      --card-rail:#77736f;
      --tl-axis:#45423f;
      --tl-dot:#8c8c8c;
      --tl-ref:#8c8c8c;
      --tl-desc:#a8a8a8;
      --tl-bh:#a8a8a8;
      --tl-bsub:#a8a8a8;
      --tl-nc:#868686;
      --tl-nc-sub:#7a7a7a;
      --here-bg:#2f2d2a;
      --vv-on-bg:#3a3a3a;
      --vv-on:#e0ddd8;
      --warn-bg:#2c2a26;
      --warn-rule:#4a4744;
      --warn-ink:#ece9e4;
      --orient-hover:#e6e3df;
      --on-fill-rule:rgba(29,26,23,.45);
      --link-blue:#cdcac6;
      --orient:#b8b5b1;
      --orient-fill:#d6d3cf;
      --observe:#b8b5b1;
      --observe-fill:#d6d3cf;
      --identify:#b8b5b1;
      --identify-fill:#d6d3cf;
      --interpret:#b8b5b1;
      --interpret-fill:#d6d3cf;
      --understand:#b8b5b1;
      --understand-fill:#d6d3cf;
      --connect:#b8b5b1;
      --connect-fill:#d6d3cf;
      --respond:#b8b5b1;
      --respond-fill:#d6d3cf;
      --prepare:#b8b5b1;
      --prepare-fill:#d6d3cf;
      --ly1-1:#a7a4a0;
      --ly1-2:#bcb9b5;
      --ly1-3:#d0cdc9;
      --ly1-4:#e3e0dc;
      --ly1-t:#2f2d2a;
      --ly2-1:#a7a4a0;
      --ly2-2:#bcb9b5;
      --ly2-3:#d0cdc9;
      --ly2-4:#e3e0dc;
      --ly2-t:#2f2d2a;
      --ly3-1:#a7a4a0;
      --ly3-2:#bcb9b5;
      --ly3-3:#d0cdc9;
      --ly3-4:#e3e0dc;
      --ly3-t:#2f2d2a;
      --ly4-1:#a7a4a0;
      --ly4-2:#bcb9b5;
      --ly4-3:#d0cdc9;
      --ly4-4:#e3e0dc;
      --ly4-t:#2f2d2a;
      --ly5-1:#a7a4a0;
      --ly5-2:#bcb9b5;
      --ly5-3:#d0cdc9;
      --ly5-4:#e3e0dc;
      --ly5-t:#2f2d2a;
      --ly6-1:#a7a4a0;
      --ly6-2:#bcb9b5;
      --ly6-3:#d0cdc9;
      --ly6-4:#e3e0dc;
      --ly6-t:#2f2d2a;
      --ly7-1:#a7a4a0;
      --ly7-2:#bcb9b5;
      --ly7-3:#d0cdc9;
      --ly7-4:#e3e0dc;
      --ly7-t:#2f2d2a;
    }
    html[data-scheme="dark"][data-color="mono"] stop.hg-k-orient{stop-color:#3a3a3a}
    html[data-scheme="dark"][data-color="mono"] rect.hg-k-orient{fill:#3a3a3a}
    html[data-scheme="dark"][data-color="mono"] stop.hg-k-observe{stop-color:#5c5c5c}
    html[data-scheme="dark"][data-color="mono"] rect.hg-k-observe{fill:#5c5c5c}
    html[data-scheme="dark"][data-color="mono"] stop.hg-k-identify{stop-color:#8c8c8c}
    html[data-scheme="dark"][data-color="mono"] rect.hg-k-identify{fill:#8c8c8c}
    html[data-scheme="dark"][data-color="mono"] stop.hg-k-interpret{stop-color:#bebebe}
    html[data-scheme="dark"][data-color="mono"] rect.hg-k-interpret{fill:#bebebe}
    html[data-scheme="dark"][data-color="mono"] stop.hg-k-understand{stop-color:#8c8c8c}
    html[data-scheme="dark"][data-color="mono"] rect.hg-k-understand{fill:#8c8c8c}
    html[data-scheme="dark"][data-color="mono"] stop.hg-k-connect{stop-color:#5c5c5c}
    html[data-scheme="dark"][data-color="mono"] rect.hg-k-connect{fill:#5c5c5c}
    html[data-scheme="dark"][data-color="mono"] stop.hg-k-respond{stop-color:#3a3a3a}
    html[data-scheme="dark"][data-color="mono"] rect.hg-k-respond{fill:#3a3a3a}
    html[data-scheme="dark"][data-color="mono"] .hourglass stop.hg-sheen0{stop-opacity:0}
    html[data-scheme="dark"][data-color="mono"] .hg-item[data-jump="2"] text,
    html[data-scheme="dark"][data-color="mono"] .hg-item[data-jump="3"] text,
    html[data-scheme="dark"][data-color="mono"] .hg-item[data-jump="4"] text{fill:#1d1a17;stroke:none}
    html[data-scheme="dark"][data-color="mono"] .hg-arrow{stroke:#1d1a17}
    html[data-scheme="dark"][data-color="mono"] .tl-art,
    html[data-scheme="dark"][data-color="mono"] .tl-sky{filter:brightness(0)}
  }

  /* the Settings page (user-settings.html) */
  .st-wrap{max-width:34rem}
  .st-intro{margin:0 0 1.6rem;color:var(--ink-soft)}
  .st-group{margin:0 0 1.7rem;padding:0;border:0;min-width:0}
  .st-group legend{
    padding:0;margin:0 0 .55rem;font-size:.72rem;font-weight:700;letter-spacing:.13em;
    text-transform:uppercase;color:var(--muted);
  }
  .st-seg{display:flex;border:1px solid var(--rule);border-radius:3px;overflow:hidden;background:var(--card);width:100%}
  .st-seg label{flex:1 1 0;min-width:0;position:relative;display:flex}
  .st-seg label + label{border-left:1px solid var(--rule)}
  .st-seg input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
  .st-seg span{
    flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;padding:.5rem .6rem;
    font-family:var(--sans);font-size:.95rem;font-weight:700;color:var(--muted);text-align:center;
  }
  .st-seg input:checked + span{background:var(--orient-fill,var(--orient));color:var(--on-fill,#fff)}
  .st-seg input:focus-visible + span{outline:2px solid var(--ink);outline-offset:-4px}
  .st-help{margin:.55rem 0 0;font-size:.88rem;line-height:1.5;color:var(--muted)}
  .st-note{margin:2rem 0 0;padding-top:1rem;border-top:1px solid var(--rule);font-size:.85rem;color:var(--muted)}
  @media print{ .st-seg{border-color:#ccc} }
  /* Bible books on this device (3 Dec): the same buttons, one above another,
     for choices too long to stand side by side; the books kept, and clearing them */
  .st-seg.st-stack{flex-direction:column}
  .st-seg.st-stack label + label{border-left:0;border-top:1px solid var(--rule)}
  .st-seg.st-stack span{justify-content:flex-start;text-align:left;padding:.55rem .85rem}
  .st-kept{margin:.8rem 0 0;font-size:.92rem}
  .st-kept summary{cursor:pointer;font-family:var(--sans);font-weight:700;color:var(--ink-soft);min-height:44px;display:flex;align-items:center}
  .st-kept ul{list-style:none;margin:.2rem 0 .6rem;padding:0;border-top:1px solid var(--rule)}
  .st-kept li{display:flex;align-items:center;justify-content:space-between;gap:.6rem;min-height:44px;border-bottom:1px solid var(--rule)}
  .st-kept li button,.st-kept .st-bk-all{font:700 .85rem var(--sans);color:var(--muted);background:none;border:1px solid var(--rule);border-radius:3px;min-height:36px;padding:.3rem .8rem;cursor:pointer}
  .st-kept .st-bk-all{margin:.2rem 0 0}
  .st-kept .st-bk-none{margin:.4rem 0 0;color:var(--muted)}
