/* =====================================================================
   The shapes of a passage (js/structure.js): three ways of setting verses so that what answers what is seen in the
   shape of the text, drawn in one hand. A grid: rows of one to four cells beside a gutter that names each row, a row
   of one a line across the whole width; echo lanes: a lane to each voice, its phrases in columns that line up with the
   other lane's, a row of marks between them; a bracket outline: lines set in by their level, each with its letter, a
   bracket down the left joining each line to the one that answers it. Experimental (Edit › More › Experimental): the
   examples' sheet, a table of the Bible reader set as a grid or as lanes, a chiasm drawn as an outline, and the
   proposed chiasms of the Shiggaion chapter, while that is on.
   Never by colour alone: a pair is its letters too (A and A′, the answering one's filled), a mark its sign and its
   word, a lane its name; every colour here reads at 4.5:1 or more on the page and on the panels it stands on.
   ===================================================================== */

/* ---- the colours: the site's ink and rules, and the panels and four accents of these shapes ----
   gold, teal, rose, blue: a link's colour (0–3) and a lane's, in that order; rose is the words that differ too */
:root {
  --st-panel: #2a1a3f;
  --st-panel-alt: #1f2a3b;
  --st-panel-dim: #241735;
  --st-gold: #d9a84e;
  --st-teal: #7fc9c0;
  --st-rose: #f2b8c6;
  --st-blue: #9fb7ff;
}
:root[data-theme="light"] {
  --st-panel: #ebe3d4;
  --st-panel-alt: #e0e7e7;
  --st-panel-dim: #f1ebe0;
  --st-gold: #7a5a12;
  --st-teal: #126a63;
  --st-rose: #a23467;
  --st-blue: #2659b4;
}
:root { --st-c0: var(--st-gold); --st-c1: var(--st-teal); --st-c2: var(--st-rose); --st-c3: var(--st-blue); }
/* a line's height and a badge's, worked out where they are given, so that a badge in smaller type is set by them */
@property --st-lh { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --st-bs { syntax: "<length>"; inherits: true; initial-value: 0px; }

/* ---- a block: its reference and title over it, its legend beneath; each block sized by its own width ---- */
.st { container: st / inline-size; margin: 1.1em 0 1.4em; padding: 0; font-size: 1.1rem; color: var(--ink); }
.st-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15em 0.75em; margin: 0 0 0.75em; }
.st-ref { font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; color: var(--st-gold); }
.st-title { font-style: normal; line-height: 1.35; color: var(--muted); }
.st-legend { margin: 0.85em 0 0; font-size: 0.95rem; line-height: 1.45; color: var(--muted); }
.st-legend b { font-weight: 400; font-family: var(--sym); color: var(--st-gold); }
.st sup.st-v, .st-lanes sup.st-v, .st-grid sup.st-v { margin-right: 0.25em; font-size: 11px; font-variant-numeric: lining-nums; color: var(--st-gold); }
/* the words that differ: tinted, and not by colour alone, dotted beneath (in a lane of the reader's, its words in
   italics) */
:is(.st, .st-lanes, .st-grid, .st-outline) em, .bb-text .st-lanes .bb-f[data-f="italic"] { font-style: normal; color: var(--st-rose); text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.st-sep { margin: 0 0.35em; font-family: var(--sym); font-size: 0.7em; vertical-align: 0.12em; color: var(--st-gold); }

/* ---- the grid: a gutter, then the columns; a row's cells side by side, a row of one a line across the width ----
   (a table drawn as a grid: its rows and their groups give way, each cell a part of the grid) */
.st-grid { --st-gw: 72px; display: grid; grid-template-columns: var(--st-gw) repeat(var(--cols, 2), minmax(0, 1fr)); gap: 6px; width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; }
.st-grid :is(thead, tbody, tr) { display: contents; }
.st-grid :is(td, th) { display: block; min-width: 0; box-sizing: border-box; }
.st-grid .st-gut { grid-column: 1; display: flex; align-items: center; justify-content: center; padding: 4px 8px 4px 2px; border: 0; border-right: 1px solid var(--rule); background: none; font-family: var(--caps); font-size: 0.95rem; font-weight: var(--caps-wt); letter-spacing: 0.01em; line-height: 1.2; text-align: center; color: var(--st-gold); overflow-wrap: anywhere; }
.st-grid .st-cell { grid-column: span var(--span, 1); padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--st-panel); line-height: 1.35; vertical-align: top; }
.st-grid .st-cell.is-note { border-style: dashed; background: var(--st-panel-dim); color: var(--muted); font-size: 0.92em; }
.st-grid .st-cell.is-empty { padding: 0; border: 0; background: none; }
/* a row of one: its words between two rules of the gilt, fading out toward the edges, as a cell across a table's spine
   is drawn (css/reader.css) */
.st-grid .st-cap { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.9em; padding: 0.7em 0 0.65em; border: 0; background: none; text-align: center; line-height: 1.4; }
.st-grid .st-gut + .st-cap { grid-column: 2 / -1; }
.st-grid .st-cap::before { content: ""; flex: 1 1 0; min-width: 1.4em; height: 1px; background: linear-gradient(to right, transparent, var(--gilt) 40%); }
.st-grid .st-cap::after { content: ""; flex: 1 1 0; min-width: 1.4em; height: 1px; background: linear-gradient(to left, transparent, var(--gilt) 40%); }
.st-grid .st-cap-t { flex: 0 1 auto; max-width: 84%; }
.st-grid .st-names th { padding: 0 0 4px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--gilt) 55%, var(--rule)); background: none; font-family: var(--caps); font-size: 0.95rem; font-weight: var(--caps-wt); letter-spacing: 0.01em; text-align: center; color: var(--rubric); }
.st-grid .st-names .st-gut { border-bottom: 0; }
.st-grid .st-hd { grid-column: 1 / -1; padding: 0.2em 0; border: 0; background: none; }
/* a narrow block: each row's name a small heading over its cells, they one beneath another, each after the first set
   in a little, so that a row still reads as one */
@container st (max-width: 520px) {
  .st-grid { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .st-grid .st-gut { justify-content: flex-start; margin-top: 6px; padding: 6px 0 2px; border-right: 0; border-bottom: 1px solid var(--rule); text-align: left; }
  .st-grid .st-gut:empty, .st-grid .st-names, .st-grid .st-cell.is-empty { display: none; }
  .st-grid .st-cell, .st-grid .st-cap, .st-grid .st-gut + .st-cap { grid-column: 1 / -1; }
  .st-grid .st-cell + .st-cell { margin-left: 16px; }
}

/* ---- echo lanes: the lanes' names down the left, the columns' names over them, a lane's cells on its panel, and
   between two lanes a row of marks: ◆ said again (gold), ◇ reshaped (rose) ---- */
.st-lanes { --st-lw: 88px; display: grid; grid-template-columns: var(--st-lw) repeat(var(--slots, 2), minmax(0, 1fr)); gap: 6px; width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; }
.st-lanes :is(thead, tbody, tr) { display: contents; }
.st-lanes :is(td, th) { display: block; min-width: 0; box-sizing: border-box; }
.st-lanes .st-corner, .st-lanes .st-mgap { padding: 0; border: 0; background: none; }
.st-lanes .st-slot { padding: 4px 2px; border: 0; background: none; font-family: var(--caps); font-size: 0.95rem; font-weight: var(--caps-wt); letter-spacing: 0.01em; line-height: 1.2; text-align: center; color: var(--muted); }
.st-lanes .st-lane-h { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 8px 4px 2px; border: 0; border-right: 2px solid var(--lc); background: none; font-family: var(--caps); font-size: 0.95rem; font-weight: var(--caps-wt); letter-spacing: 0.01em; line-height: 1.15; text-align: center; color: var(--lc); overflow-wrap: anywhere; }
.st-lanes .st-lane-v { font-family: var(--text); font-size: 0.95rem; letter-spacing: 0; color: var(--muted); }
.st-lanes .st-cell { grid-column: span var(--span, 1); padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--lp, var(--st-panel)); line-height: 1.35; }
.st-lanes .st-cell.is-empty { border-color: transparent; background: none; }
.st-lanes .st-m { display: flex; align-items: center; justify-content: center; gap: 0.35em; min-height: 30px; padding: 0 4px; border: 0; border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); background: none; font-size: 0.95rem; line-height: 1.2; text-align: center; color: var(--muted); }
.st-lanes .st-m span { font-family: var(--sym); }
.st-lanes .st-m[data-relation="echo"] { color: var(--st-gold); }
.st-lanes .st-m[data-relation="reshaped"] { color: var(--st-rose); }
.st-lanes .st-m[data-relation="contrast"] { color: var(--st-blue); }
.st-lanes .st-m[data-relation="fulfils"] { color: var(--st-teal); }
.st-lanes .st-tag { display: none; }
.st-lanes .st-hd { grid-column: 1 / -1; padding: 0.2em 0; border: 0; background: none; }
/* a narrow block: each column a section of its own, its name once over it, the lanes one beneath another inside it,
   each cell named by its lane and ruled down its left in its colour, the mark between them (a heading among the lanes
   first, over them all) */
@container st (max-width: 600px) {
  .st-lanes { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .st-lanes :is(.st-corner, .st-lane-h, .st-mgap) { display: none; }
  .st-lanes .st-hd { order: -1; }
  .st-lanes :is(.st-slot, .st-cell, .st-m) { order: var(--o, 0); grid-column: 1 / -1; }
  .st-lanes .st-slot { margin-top: 8px; padding: 2px 0 3px; border-bottom: 1px solid var(--rule); text-align: left; color: var(--st-gold); }
  .st-lanes .st-cell { border-left: 3px solid var(--lc); }
  .st-lanes .st-cell.is-empty, .st-lanes .st-m:empty { display: none; }
  .st-lanes .st-m { justify-content: flex-start; min-height: 0; padding: 1px 0 1px 15px; border: 0; }
  .st-lanes .st-tag { display: block; margin: 0 0 3px; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; font-style: normal; letter-spacing: 0.01em; line-height: 1.2; color: var(--lc); }
  .st-lanes .st-tag i { font-family: var(--text); font-style: normal; letter-spacing: 0; color: var(--muted); }
}

/* ---- the bracket outline: lines set in by their level past the rails, a badge with each line's letter, and the
   brackets drawn over them (an svg as large as the outline, js/structure.js) ----
   The badge in the pair's colour (unpaired, muted); the answering line's filled, its box ruled in the colour; the
   centre's box dashed, on the dimmer panel. A line chosen: it and its partner ringed in their colour, the rest and
   their brackets falling back, its own bracket drawn heavier. */
.st-outline { position: relative; --indent: 48px; --rail-gap: 10px; --badge: 34px; --rail: calc(var(--links, 0) * var(--rail-gap) + 6px); }
@container st (max-width: 600px) { .st-outline { --indent: 14px; --rail-gap: 7px; } }
.st-lines { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.st-line { --st-lh: 1.35em; display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0 0 0 calc(var(--rail) + var(--level, 0) * var(--indent)); transition: opacity 0.15s; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-badge { flex: none; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: var(--badge); height: var(--badge); margin: calc(13px + (var(--st-lh) - var(--badge)) / 2) 0 0; padding: 0; border: 2px solid var(--pc, var(--muted)); border-radius: 50%; background: var(--bg); box-shadow: none; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 15px; letter-spacing: 0.01em; line-height: 1; color: var(--pc, var(--muted)); cursor: pointer; }
.st-line[data-role="answer"] .st-badge { background: var(--pc, var(--muted)); color: var(--bg); }
.st-line:not([data-pair]) .st-badge { border-color: var(--muted); color: var(--muted); }
.st-badge:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.st-box { flex: 1 1 auto; min-width: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--st-panel); line-height: 1.35; }
.st-line[data-role="answer"] .st-box { border-color: var(--pc, var(--line)); }
.st-line[data-role="centre"] .st-box { border-style: dashed; background: var(--st-panel-dim); }
.st-line .st-r { margin-right: 0.45em; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; white-space: nowrap; color: var(--st-gold); }
.st-line .st-aside { font-style: normal; color: var(--muted); }
/* the whole verse, shown in place beneath its excerpt by the chevron */
.st-more { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: -6px -8px -8px 2px; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; vertical-align: middle; color: var(--muted); cursor: pointer; }
.st-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s; }
.st-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.st-more:hover { color: var(--st-gold); }
.st-more:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; }
.st-full { margin: 0.55em 0 0; padding: 0.5em 0 0; border-top: 1px solid var(--line); font-size: 0.92em; line-height: 1.45; color: var(--muted); }
.st-full[hidden] { display: none; }
.st-full sup { margin-right: 0.2em; font-size: 0.7em; color: var(--st-gold); }
.st-brackets { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.st-brackets path, .st-czs path { fill: none; stroke: var(--pc, var(--muted)); stroke-width: 2; stroke-linecap: round; transition: opacity 0.15s, stroke-width 0.15s; }
.st-outline.has-focus .st-line:not(.focus) { opacity: 0.35; }
.st-outline.has-focus .st-brackets path:not(.focus) { opacity: 0.2; }
.st-brackets path.focus, .st-czs path.focus { stroke-width: 3; }
.st-line.focus .st-box { box-shadow: 0 0 0 2px var(--pc, var(--muted)); }
@media (prefers-reduced-motion: reduce) {
  .st-line, .st-brackets path, .st-czs path, .st-more svg, .bb-text.st-cz [data-czl] { transition: none; }
}

/* ---- in the Bible reader: a table set as a grid or as lanes (js/bible.js), within the reader's own tables ----
   Its frame sized by its own width (a narrow pane stacks it, whatever the window); its cells keep what the reader set
   for them (aligned, shaded over the panel, set in, boxed), a band over its rows washing their panels too. */
.bb-text > .bb-tbl-w.st-w { container: st / inline-size; --gap: 1.2em; margin: 0.9em 0 var(--gap); }
.bb-text .st-w .bb-tbl-s { overflow: visible; -webkit-mask-image: none; mask-image: none; }
.bb-text .bb-tbl.st-grid, .bb-text .bb-tbl.st-lanes { display: grid; min-width: 0; font-size: 0.92em; line-height: 1.4; }
.bb-text .bb-tbl:is(.st-grid, .st-lanes) :is(thead, tbody, tr) { display: contents; }
.bb-text .bb-tbl.st-grid { --st-gw: 4.6em; }
.bb-text .bb-tbl.st-lanes { --st-lw: 5.6em; }
.bb-text .bb-tbl.st-grid .st-cell, .bb-text .bb-tbl.st-lanes .st-cell { padding: 0.62em 0.8em 0.66em; border: 1px solid var(--line); border-radius: 4px; background: var(--lp, var(--st-panel)); text-align: left; }
.bb-text .bb-tbl.st-grid .st-cell.is-empty, .bb-text .bb-tbl.st-lanes .st-cell.is-empty { padding: 0; border-color: transparent; background: none; }
.bb-text .bb-tbl.st-grid .st-cap { padding: 0.55em 0 0.5em; border: 0; background: none; text-align: center; }
.bb-text .bb-tbl.st-grid .st-gut { padding: 0.2em 0.55em 0.2em 0.1em; border: 0; border-right: 1px solid var(--rule); background: none; font-size: 0.8em; text-align: center; color: var(--st-gold); }
.bb-text .bb-tbl.st-lanes .st-lane-h { padding: 0.2em 0.5em 0.2em 0.1em; border: 0; border-right: 2px solid var(--lc); background: none; font-size: 0.8em; color: var(--lc); }
.bb-text .bb-tbl.st-lanes .st-slot { padding: 0.2em 0.1em; border: 0; background: none; font-size: 0.78em; color: var(--muted); }
.bb-text .bb-tbl.st-lanes .st-tag { font-size: 0.74em; }
.bb-text .bb-tbl.st-lanes :is(.st-corner, .st-mgap) { padding: 0; border: 0; }
.bb-text .bb-tbl.st-lanes .st-m { padding: 0 0.2em; border-right: 0; border-left: 0; background: none; font-size: 0.8em; }
.bb-text .bb-tbl.st-grid .st-names th { padding: 0 0 0.25em; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--gilt) 55%, var(--rule)); background: none; }
.bb-text .bb-tbl.st-grid .st-names .st-gut { border: 0; }
.bb-text .bb-tbl.st-grid .st-hd, .bb-text .bb-tbl.st-lanes .st-hd { grid-column: 1 / -1; padding: 0.1em 0; border: 0; }
.bb-text .bb-tbl:is(.st-grid, .st-lanes) .st-cell[data-cbg] { background: linear-gradient(var(--cbg), var(--cbg)), var(--lp, var(--st-panel)); }
.bb-text .bb-tbl:is(.st-grid, .st-lanes) tr[data-bg] > .st-cell:not(.is-empty) { background: linear-gradient(var(--bd), var(--bd)), var(--lp, var(--st-panel)); }
.bb-text .bb-tbl:is(.st-grid, .st-lanes) .st-cell[data-cin] { padding-left: calc(0.8em + var(--cin, 0) * 1.6em); }
.bb-text .bb-tbl:is(.st-grid, .st-lanes) .st-cell[data-cva="m"] { display: flex; flex-direction: column; justify-content: center; }
.bb-text .bb-tbl.st-grid .st-cell.is-note { border-style: dashed; background: var(--st-panel-dim); color: var(--muted); font-size: 0.94em; }
.bb-text .bb-tbl:is(.st-grid, .st-lanes) .st-cell.bb-stk { height: auto; padding: 0; }
.bb-text .bb-tbl:is(.st-grid, .st-lanes) .st-cell.bb-stk .bb-sc { padding: 0.62em 0.8em 0.66em; }
.bb-text .bb-tbl:is(.st-grid, .st-lanes) tr[data-czl] > td:first-child { box-shadow: none; }
.bb-text .bb-tbl.st-grid .st-gut[data-num]::before { content: attr(data-num) "."; font-family: var(--text); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; color: var(--rubric); }
@container st (max-width: 520px) {
  .bb-text .bb-tbl.st-grid .st-gut { margin-top: 0.3em; padding: 0.3em 0 0.1em; border-right: 0; border-bottom: 1px solid var(--rule); text-align: left; }
}
@container st (max-width: 600px) {
  .bb-text .bb-tbl.st-lanes .st-cell { border-left: 3px solid var(--lc); }
  .bb-text .bb-tbl.st-lanes .st-slot { padding: 0.15em 0 0.2em; text-align: left; color: var(--st-gold); }
  .bb-text .bb-tbl.st-lanes .st-m { padding: 0 0 0 1em; border: 0; }
}

/* ---- in the Bible reader: a chiasm drawn as an outline (Edit's Chiasm; js/structure.js, paint) ----
   Each element set in past the rails, by its depth (on a narrow pane the steps small, the letters and brackets
   carrying the shape), on a panel ruled round (an element of several blocks, one panel across them: each block its
   part), its letter a badge at the start of its first line; the brackets over the text, each pair on a rail of its
   own. In place of the rule down its left and its letter in the margin, which come back when this is off. */
.bb-text.st-cz { position: relative; --st-gap: 10px; --st-ind: 2.2em; --st-bs: 1.5em; }
@container pane (max-width: 600px) { .bb-text.st-cz { --st-gap: 7px; --st-ind: 0.7em; --st-bs: 1.42em; } }
.bb-text.st-cz > [data-czl], .bb-text.st-cz .bb-vr > [data-czl] {
  --st-in: calc(var(--st-rails, 1) * var(--st-gap) + 6px + var(--czd, 0) * var(--st-ind)); --st-lh: 1lh;
  isolation: isolate; padding-left: calc(var(--bli, 0px) + var(--st-in) + var(--st-bs) + 0.95em); padding-right: 0.55em; transition: opacity 0.15s; }
.bb-text.st-cz .bb-vr > .bb-rl[data-czl] { padding-left: calc(var(--st-in) + var(--st-bs) + 2.55em); }
.bb-text.st-cz > [data-cz], .bb-text.st-cz .bb-vr > [data-cz] { padding-top: 0.42em; }
.bb-text.st-cz > [data-czl]:not([data-st-seg="a"], [data-st-seg="m"]), .bb-text.st-cz .bb-vr > [data-czl]:not([data-st-seg="a"], [data-st-seg="m"]) { padding-bottom: 0.46em; }
.bb-text.st-cz > [data-czl]::before, .bb-text.st-cz .bb-vr > [data-czl]::before { content: none; }
.bb-text.st-cz > [data-czl]::after, .bb-text.st-cz .bb-vr > [data-czl]::after { z-index: -1; top: 0; bottom: 0; left: calc(var(--bli, 0px) + var(--st-in) + var(--st-bs) + 0.4em); right: 0; width: auto; box-sizing: border-box; border: 1px solid var(--line); border-radius: 4px; background: var(--st-panel); }
.bb-text.st-cz > [data-cz]::after { top: var(--rg, 0px); }
.bb-text.st-cz [data-st-seg="a"]::after { border-bottom-width: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.bb-text.st-cz [data-st-seg="m"]::after { border-top-width: 0; border-bottom-width: 0; border-radius: 0; }
.bb-text.st-cz [data-st-seg="z"]::after { border-top-width: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.bb-text.st-cz [data-st-role="answer"]::after { border-color: var(--st-pc, var(--line)); }
.bb-text.st-cz [data-st-role="centre"]::after { border-style: dashed; background: var(--st-panel-dim); }
.bb-text.st-cz [data-czl][data-bg]::after { background: linear-gradient(var(--bd), var(--bd)), var(--st-panel); }
.bb-text.st-cz .st-czb { position: absolute; z-index: 1; left: calc(var(--bli, 0px) + var(--st-in)); top: calc(0.42em + (var(--st-lh) - var(--st-bs)) / 2); box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: var(--st-bs); height: var(--st-bs); margin: 0; padding: 0; border: 2px solid var(--st-pc, var(--muted)); border-radius: 50%; background: var(--bg); box-shadow: none; font-family: var(--caps); font-size: calc(var(--st-bs) * 0.46); font-style: normal; font-weight: var(--caps-wt); letter-spacing: 0.01em; line-height: 1; text-indent: 0; color: var(--st-pc, var(--muted)); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bb-text.st-cz > [data-cz] > .st-czb { top: calc(var(--rg, 0px) + 0.42em + (var(--st-lh) - var(--st-bs)) / 2); }
.bb-text.st-cz [data-st-role="answer"] > .st-czb { background: var(--st-pc, var(--muted)); color: var(--bg); }
.bb-text.st-cz [data-czl]:not([data-st-pair]) > .st-czb { border-color: var(--muted); color: var(--muted); }
.bb-text.st-cz .st-czb:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.bb-text.st-cz > .st-czs { position: absolute; left: 0; top: 0; z-index: 2; overflow: visible; pointer-events: none; }
.bb-text.st-czf > [data-czl]:not(.st-on), .bb-text.st-czf .bb-vr > [data-czl]:not(.st-on) { opacity: 0.35; }
.bb-text.st-czf > .st-czs path:not(.focus) { opacity: 0.2; }
.bb-text.st-cz .st-on::after { box-shadow: 0 0 0 2px var(--st-pc, var(--muted)); }
/* a chain: its letters and numbers in rounded squares, not rings, so that it is not taken for a chiasm's pair; its
   first, the main one, filled, its panel ruled in the chain's colour */
.bb-text.st-cz [data-st-chain] > .st-czb { border-radius: 28%; font-size: calc(var(--st-bs) * 0.42); letter-spacing: 0; }
.bb-text.st-cz .st-czn { margin-left: 0.04em; font-family: var(--text); font-size: 1.04em; font-weight: 600; font-variant-numeric: lining-nums; }
.bb-text.st-cz [data-st-role="main"] > .st-czb { background: var(--st-pc, var(--muted)); color: var(--bg); }
.bb-text.st-cz [data-st-role="main"]::after { border-color: var(--st-pc, var(--line)); }
/* a block between the ends of a bracket that is no element of it, set in past the rails, so that none runs over its
   words (a table by its margin, a spine's kept centred where the pane is wide enough) */
.bb-text.st-cz > [data-st-under]:not(.bb-tbl-w) { padding-left: calc(var(--bli, 0px) + var(--st-rails, 1) * var(--st-gap) + 6px); }
.bb-text.st-cz > .bb-tbl-w[data-st-under] { margin-left: calc(var(--st-rails, 1) * var(--st-gap) + 6px); }
.bb-text.st-cz > .bb-tbl-wsp[data-st-under] { margin-left: max(calc(var(--st-rails, 1) * var(--st-gap) + 6px), (100% - 62rem) / 2); }
.bb-text.st-cz .bb-vr > [data-st-under] { margin-left: calc(var(--st-rails, 1) * var(--st-gap) + 6px); }
/* a chain shown alone: all but the name of the chapter, the chain's blocks and the brackets folded away, a fold in each
   gap, a dashed line that names the verses folded there (a button: all back) */
.bb-text.st-chx > :not(.bb-ch, .st-czs, .st-keep, .st-keepin, .st-fold), .bb-text.st-chx .st-keepin > :not(.st-keep) { display: none; }
.bb-text > .st-fold { display: flex; align-items: center; gap: 0.7em; box-sizing: border-box; width: 100%; min-height: 2.3em; margin: 0.3em 0; padding: 0 0 0 calc(var(--st-rails, 1) * var(--st-gap) + 6px); border: 0; border-radius: 0; background: none; box-shadow: none; font-family: var(--text); font-size: 0.86em; font-style: normal; font-weight: 500; font-variant: all-small-caps; font-variant-numeric: lining-nums; letter-spacing: 0.1em; line-height: 1.2; text-align: left; text-indent: 0; color: var(--muted); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bb-text > .st-fold::before, .bb-text > .st-fold::after { content: ""; flex: 1 1 0; border-top: 1px dashed color-mix(in srgb, var(--muted) 60%, transparent); }
.bb-text > .st-fold::before { flex: 0 0 1.6em; }
.bb-text > .st-fold:hover { color: var(--st-gold); }
.bb-text > .st-fold:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
