/* ---------- a focus's notes, reread one at a time (notes/index) ---------- */
/* The reader's frame without the docked panel (the rail | the column), with every note down the column in reading
   order: the one you're on lit, the rest dimmed in place, each with its labels as pills under it. The focus's scratchpad is
   a drawer behind a tab at the right edge; the labels in use, as a cloud or as tallies, come up over its foot, or on
   their own when it's put away. */
/* With nothing docked beside it, the column takes more of the page than the reader's measure: room to compare notes. */
.reread-col { --measure: 48em; --bleed-l: 44px; --bleed-r: 56px; position: relative; padding-top: 22px; padding-bottom: 50vh; }
.rr-focus { max-width: var(--measure); margin: calc(10px + 4vh) 0 8px; }
/* The focus as it stands over the passage in the reader, no bigger. */
.nb-focus-head { display: flex; align-items: flex-start; gap: 8px; }
.nb-focus-head .focus-mark { margin-top: .4em; }
.nb-focus-title { margin: 0; font-size: clamp(19px, 2.4vw, 22px); line-height: 1.3; font-weight: 400; font-style: italic; color: var(--ink-soft); text-wrap: balance; }
.rr-lede { max-width: var(--measure); margin: 0 0 18px 25px; font-family: var(--sans); font-size: 13px; color: var(--ink-faint); }
.rr-lede .menu { position: relative; display: inline-block; }
/* The count is the way into rereading one label, set as a chip so it reads as something to press. */
.rr-filter {
  display: inline-block; margin-left: 2px; padding: 2px 9px 2px 11px;
  border: 1px solid var(--rule); border-radius: 999px; background: none; color: var(--ink-soft); font: inherit;
}
.rr-filter:hover, .rr-filter[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.rr-filter.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.rr-caret { margin-left: 1px; font-size: 10px; color: var(--ink-faint); }
.rr-filter:hover .rr-caret, .rr-filter.on .rr-caret { color: inherit; }
.rr-filter-menu { left: 0; top: calc(100% + 6px); min-width: 240px; }
.rr-filter-head { margin: 6px 12px 2px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.rr-filter-menu small { margin-left: 16px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.rr-filter-menu [aria-current="page"] { color: var(--accent); }
.rr-keys kbd { font: inherit; }
/* An archived focus's page is read-only; the lede says so, with the way out of the archive. */
.rr-archived { color: var(--ink-soft); }
.rr-archived button { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); }
.rr-archived button:hover { text-decoration: underline; }
.reread .page-empty { margin-left: 25px; }
/* Rereading one label: a tinted band over the run saying so (as search's "Back to results" is), with the way back. */
.rr-filter-band {
  display: flex; align-items: center; gap: 8px; max-width: var(--measure); margin: -6px 0 14px; padding: 7px 6px 7px 14px;
  border-radius: 8px; background: var(--accent-soft); font-family: var(--sans); font-size: 13px; color: var(--ink);
}
.rr-filter-what { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-filter-band .rr-filter-all { flex: none; margin-left: auto; padding: 2px 4px; color: var(--accent); text-decoration: none; }
.rr-filter-band .rr-filter-all:hover { text-decoration: underline; }
.rr-filter-band .rr-filter-x { flex: none; padding: 2px 6px; border-radius: 6px; color: var(--ink-soft); font-size: 15px; line-height: 1; text-decoration: none; }
.rr-filter-band .rr-filter-x:hover { color: var(--accent); background: var(--paper); }
.comparing .rr-filter-band { display: none; }
/* Rename (or Name it) after what's shown; it opens a field in the band's place, saying what Enter and Esc do. */
.rr-filter-naming { display: contents; }
.rr-filter-rename { flex: none; color: var(--ink-faint); }
.rr-filter-rename button, .rr-name-acts button { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); }
.rr-filter-rename button:hover, .rr-name-acts button:hover { text-decoration: underline; }
.rr-name-form { display: none; }
.rr-filter-band.naming .rr-filter-what, .rr-filter-band.naming .rr-filter-rename, .rr-filter-band.naming .rr-filter-all { display: none; }
.rr-filter-band.naming .rr-name-form { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.rr-name {
  width: 16em; max-width: 100%; padding: 3px 8px; border: 1px solid var(--accent); border-radius: 6px; background: var(--paper);
  font: 15px var(--serif); color: var(--ink);
}
.rr-name:focus { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.rr-name-acts { display: inline-flex; gap: 8px; align-items: baseline; }
.rr-name-acts button.quiet { color: var(--ink-soft); }
.rr-name-error, .rr-name-hint { flex-basis: 100%; }
.rr-name-error { color: var(--accent); }
.rr-name-hint { font-size: 11.5px; color: var(--ink-faint); }
.rr-name-hint kbd { font: inherit; color: var(--ink-soft); }

/* Read as a commonplace book, every entry in full and nothing lit or dimmed, so the notes can be scanned down the page:
   each headed by its passage in full ink, the reference under it, a short rule, then the note; its labels under that,
   and at the right end of their line its verbs. Between entries a hairline from the rail to the window's right edge,
   with an ornament set in on it; each entry's place in the run hung in the margin ("7 of 13"). The cursor (j/k) is a
   band of paper the same width, the text where it was. Comparing keeps the entries (below). */
.rr-run { max-width: none; }
.reread :is(.rr-new, .rr-gone) { max-width: var(--measure); }
.rr-row {
  --pad-l: 24px; --pad-r: 20px;
  position: relative; display: flex; flex-direction: column; padding: 28px var(--pad-r) 28px var(--pad-l); scroll-margin-block: 24px;
}
.rr-row > * { max-width: calc(var(--measure) - var(--pad-l) - var(--pad-r)); }
/* The line between entries, and the ornament on it; none over the first, or on either side of the cursor's band. */
.rr-row::before {
  content: ""; position: absolute; top: 0; left: calc(-1 * var(--bleed-l)); right: calc(-1 * var(--bleed-r)); max-width: none;
  border-top: 1px solid var(--rule);
}
.rr-row::after {
  content: "❧"; position: absolute; top: -.75em; left: calc(var(--pad-l) + 2rem - 8px); max-width: none; padding: 0 8px;
  background: var(--bg); font-size: 15px; line-height: 1.5; color: var(--ink-faint);
}
.rr-run > .rr-row:first-child::before, .rr-run > .rr-row:first-child::after,
.rr-run > .rr-free-notes:first-child > .rr-row:first-child::before, .rr-run > .rr-free-notes:first-child > .rr-row:first-child::after { display: none; }
.rr-cursor-on .rr-row.here::before, .rr-cursor-on .rr-row.here::after,
.rr-cursor-on .rr-row.here + .rr-row::before, .rr-cursor-on .rr-row.here + .rr-row::after { display: none; }
/* A thread on the notes page: its verses in full, run together, each led by its number (drawn from data-n), a quiet
   line where verses are left out; the 〰 that marks the reference; "still open"; and the verbs of a thread. */
.rr-thread-passage .rr-flow, .rr-thread-passage .rr-gap { display: block; }
.rr-thread-passage .rr-flow + .rr-flow { margin-top: .5em; }
.rr-thread-passage .rr-verse::before { content: attr(data-n); margin-right: .3em; vertical-align: .55em; font: 11px var(--sans); color: var(--ink-faint); }
.rr-thread-passage .rr-gap { margin: .2em 0; font: 12px var(--sans); color: var(--ink-faint); }
.rr-thread-passage .rr-gap::before { content: attr(data-gap); }
.rr-mark { color: var(--ink-faint); letter-spacing: 0; }
.rr-open { font: 11.5px var(--sans); color: var(--ink-faint); }
.rr-read, .rr-acts .rr-reopen { font: inherit; font-size: 12.5px; color: var(--ink-faint); text-decoration: none; border: 0; background: none; padding: 0; }
.rr-read:hover, .rr-reopen:hover { color: var(--accent); }
.rr-acts .inline-form { display: contents; }

/* Across the end of the passages and the start of the notes on the whole focus, as between any two. */
.rr-cursor-on .rr-row.here + .rr-free-notes > .rr-row:first-child::before,
.rr-cursor-on .rr-row.here + .rr-free-notes > .rr-row:first-child::after { display: none; }

/* Its place in the run, in the margin level with the head of the entry: the number over what it's out of. */
.rr-num {
  position: absolute; top: 33px; right: calc(100% - var(--pad-l) + 16px); max-width: none;
  font: 12px/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-faint); text-align: center; white-space: nowrap;
}
.rr-num small { display: block; margin-top: 1px; font-size: 9.5px; opacity: .7; }
.rr-num:empty { display: none; }

.rr-head { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.rr-free .rr-head { margin-top: 0; }
.rr-ref { font-family: var(--sans); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.rr-ref:hover .rr-cite { text-decoration: underline; }
.rr-passage { order: -1; max-width: 36rem; margin: 0; font-size: 19px; line-height: 1.45; color: var(--ink); white-space: pre-line; }
.rr-passage.rr-long { font-size: 17.5px; }
.rr-text, .rr-editor { max-width: 38rem; }
.rr-text { margin-top: 10px; }
.rr-text .rr-note { margin: 0; font-size: inherit; }
.rr-note { margin-top: 10px; font-size: 17px; line-height: 1.55; }
.rr-row .rr-text, .rr-row .rr-note, .rr-editor.composer lexxy-editor { font-size: 17px; }
.rr-note .lexxy-content > :first-child { margin-top: 0; }
.rr-note .lexxy-content > :last-child { margin-bottom: 0; }
/* Under a passage, a short rule where the note begins: nothing like the line between entries. */
.rr-row:has(.rr-passage) :is(.rr-text, .rr-editor:has(turbo-frame[complete])) { margin-top: 16px; }
.rr-row:has(.rr-passage) :is(.rr-text, .rr-editor:has(turbo-frame[complete]))::before {
  content: ""; display: block; width: 2.5em; height: 1px; margin-bottom: 14px; background: var(--ink-faint); opacity: .6;
}

/* The cursor: the entry on a band of paper from the rail to the window's right edge, its text where it was. */
.rr-cursor-on .rr-row.here {
  margin-left: calc(-1 * var(--bleed-l)); margin-right: calc(-1 * var(--bleed-r));
  padding-left: calc(var(--pad-l) + var(--bleed-l)); padding-right: calc(var(--pad-r) + var(--bleed-r));
  background: var(--paper);
}
.rr-cursor-on .rr-row.here .rr-num { right: calc(100% - var(--pad-l) - var(--bleed-l) + 16px); }
/* Pointing at a label (in the panel) lights the notes that carry it, wherever they are. */
.reread.lighting:not(.comparing) .rr-row:not(.lit) { opacity: .3; }

/* A note's editor (Edit, or e), in place of its text until you move on or press Esc. */
.rr-editor { display: none; }
.rr-editor:has(turbo-frame[complete]) { display: block; }
.rr-row:has(.rr-editor turbo-frame[complete]) .rr-text { display: none; }
.rr-editor.composer lexxy-editor { line-height: 1.55; font-family: var(--serif); }
.rr-editor.composer .lexxy-editor__content { min-height: 1lh; overflow: visible; }
.rr-editor.composer .lexxy-editor__content > :first-child { margin-top: 0; }
.rr-editor.composer .lexxy-editor__content > p:last-of-type { margin-bottom: 0; }
.rr-editor .autosave-status { margin-top: 2px; }
/* Its toolbar takes no room until you're writing, and is set at the reader's size, not the note's. */
.rr-editor.composer lexxy-toolbar { font-size: 17px; font-family: var(--sans); }
.rr-editor.composer:not(:focus-within) lexxy-toolbar { display: none; }

/* A reference where room is short (the card): a long title or name cut off with "…", its last part ("1:6")
   kept whole, the reference left-aligned on one line; a line of them wraps between references, never inside one. The
   whole reference is its title, and heads the pop-up. */
:is(.cmp-jump, .cmp-tab-ref):has(.ref-name) { max-width: 100%; text-align: left; white-space: nowrap; }
.ref-name { display: inline-block; vertical-align: bottom; min-width: 0; max-width: 14em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* A box of its own, so it takes its link's underline itself. */
.cmp-jump .ref-name { text-decoration: underline; text-decoration-color: inherit; text-underline-offset: inherit; }
/* Shorter still where a line holds several: the tabs, the card's groups. */
:is(.cmp-tab-ref, .rr-cmp-card) .ref-name { max-width: 7em; }

/* A note's labels as pills under it, quiet; at the right end of their line, the note's verbs (+ label, Compare, Edit),
   shown when it's pointed at, tapped, or the cursor is on it, and kept together on one line, wrapping to a line of
   their own when the pills leave no room. */
.rr-labels { font-family: var(--sans); font-size: 12px; }
.rr-row .rr-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 38rem; margin-top: 12px; }
.rr-row .rr-labels:not(:has(.rr-chip, .rr-acts)) { display: none; }
.rr-chip { display: inline-flex; align-items: center; color: var(--ink-faint); white-space: nowrap; }
.rr-row .rr-chip { padding: 1px 9px; border: 1px solid var(--rule); border-radius: 999px; }
.rr-chip-take { display: none; }
/* A pill rereads only its label's notes; the label already being reread is outlined in accent. */
.rr-chip-face { color: inherit; text-decoration: none; }
.rr-row .rr-chip:has(.rr-chip-face:hover), .rr-row .rr-chip.current { border-color: var(--accent); color: var(--accent); }
.rr-row .rr-chip:has(.rr-chip-face:hover) { background: var(--paper); }
.comparing .rr-chip-face { pointer-events: none; }
/* While comparing, a pill puts the note you're on in its group: a dot in the group's colour, the whole pill filled
   when it is. */
.comparing .rr-row .rr-chip { gap: 5px; cursor: pointer; }
.comparing .rr-row .rr-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--ink-faint)); opacity: .55; }
.comparing .rr-row .rr-chip:is(:hover, :focus-visible) { border-color: var(--c, var(--accent)); color: var(--c, var(--accent)); background: none; }
.comparing .rr-row .rr-chip.cmp-on { background: var(--c, var(--accent)); border-color: var(--c, var(--accent)); color: var(--paper); }
.comparing .rr-row .rr-chip.cmp-on::before { background: var(--paper); opacity: .9; }
.comparing .rr-chip-take { display: none !important; }
/* While rereading one label, its pill on the note pointed at is divided: the label, then its right side filled in
   accent to remove it. */
:is(.rr-row:is(:hover, :focus-within, .tapped), .rr-cursor-on .rr-row.here) .rr-chip.current:has(.rr-chip-take),
.rr-row .rr-chip.removed:has(.rr-chip-take) { align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
:is(.rr-row:is(:hover, :focus-within, .tapped), .rr-cursor-on .rr-row.here) .rr-chip.current:has(.rr-chip-take) .rr-chip-face,
.rr-row .rr-chip.removed .rr-chip-face { display: inline-flex; align-items: center; padding: 1px 9px 1px 10px; }
:is(.rr-row:is(:hover, :focus-within, .tapped), .rr-cursor-on .rr-row.here) .rr-chip.current .rr-chip-take,
.rr-row .rr-chip.removed .rr-chip-take {
  display: inline-flex; align-items: center; border: 0; padding: 0 10px 0 8px; background: var(--accent); color: var(--bg); font: 600 11.5px var(--sans);
}
.rr-row .rr-chip.current .rr-chip-take:hover { filter: brightness(1.12); }
/* Removed: crossed out, until you move on, with the way to put it back. */
.rr-row .rr-chip.removed { border-style: dashed; }
.rr-chip.removed .rr-chip-face { text-decoration: line-through; color: var(--ink-faint); }
.rr-row .rr-chip.removed .rr-chip-take { background: none; color: var(--accent); font-weight: 400; }
.rr-row .rr-chip.removed .rr-chip-take:hover { filter: none; text-decoration: underline; }
.rr-labels:has(.rr-chip.removed)::after { content: "Leaves the run when you move on."; flex-basis: 100%; order: 2; font-style: italic; color: var(--ink-faint); }

.rr-acts { flex: none; display: flex; gap: 14px; margin-left: auto; padding-left: 12px; white-space: nowrap; font-size: 12.5px; visibility: hidden; }
.rr-acts button { border: 0; background: none; padding: 0; color: var(--ink-faint); }
.rr-acts button:hover { color: var(--accent); }
.rr-row:is(:hover, :focus-within, .tapped) .rr-acts, .rr-cursor-on .rr-row.here .rr-acts { visibility: visible; }
/* Edit only where the note has an editor here; Compare once a new note is saved. */
.rr-row[data-editor-url=""] .rr-edit, .rr-unsaved .rr-find { display: none; }

/* Notes on the focus as a whole, after those on passages, unheaded; a new one is written in a row of its own. The
   detached notes' head is set as theirs was. */
.rr-free-head { margin: 34px 0 8px 24px; font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.rr-ref.rr-whole { color: var(--ink-soft); }
/* At the end of the run, a blank slip to write on (as "A new question" is on the focuses page). */
.rr-new {
  display: block; width: 100%; margin-top: 18px; padding: 16px 24px; border: 1px dashed var(--rule); border-radius: 10px; background: none;
  text-align: left; font-family: var(--serif); font-size: 17px; font-style: italic; color: var(--ink-faint);
}
.rr-new:hover { border-color: var(--accent); color: var(--accent); }
.rr-unsaved .rr-note { display: none; }

/* Detached notes, after the run under a head of their own: read-only, unnumbered, in a softer ink. */
.rr-gone { padding: 18px 20px 18px 24px; color: var(--ink-soft); }
.rr-gone + .rr-gone { border-top: 1px solid var(--rule); }
.rr-gone .rr-ref { color: var(--ink-faint); }
.rr-why { margin: 2px 0 0; font: 12px var(--sans); color: var(--ink-faint); }
.rr-gone { display: flex; flex-direction: column; }
.rr-gone > * { max-width: 38rem; }
.reread .rr-gone .rr-passage { order: -1; margin: 0 0 8px; padding: 0; border: 0; font-size: 17px; line-height: 1.45; }
.rr-gone .rr-labels { max-width: none; }
.rr-gone .rr-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.rr-gone .rr-chip + .rr-chip::before { content: "·"; margin-right: 6px; }
.rr-discard { margin-left: auto; }

/* What a reference on the Compare card opens: its note, whole. */
.fn-pop {
  position: fixed; z-index: 70; width: min(28em, calc(100vw - 24px)); max-height: min(60vh, 520px); overflow-y: auto; padding: 12px 16px 14px;
  background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--c, var(--accent)); border-radius: 10px; box-shadow: var(--shadow);
}
.fn-pop[hidden] { display: none; }
.fn-ref { display: flex; align-items: baseline; gap: 10px; }
.fn-go { border: 0; background: none; padding: 0; font: 12px var(--sans); color: var(--accent); }
.fn-go:hover { text-decoration: underline; }
.fn-pop .rr-passage { display: block; font-size: 14px; margin-top: 4px; }
.fn-pop .rr-note { margin-top: 4px; font-size: 16px; }
.fn-none { margin: 0; font-family: var(--sans); font-size: 13px; color: var(--ink-faint); }

/* "Make a note of this", over a selection in the scratchpad; and the word that it's done. */
.rr-lift {
  position: fixed; z-index: 60; transform: translate(-50%, calc(-100% - 8px)); padding: 6px 12px; border: 0; border-radius: 8px;
  background: var(--ink); color: var(--bg); font-family: var(--sans); font-size: 13px; box-shadow: var(--shadow);
}
.rr-lift:hover { background: var(--accent); }
.rr-lift[hidden] { display: none; }
.rr-toast {
  position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); margin: 0; padding: 9px 14px; border-radius: 10px;
  background: var(--ink); color: var(--bg); font-family: var(--sans); font-size: 13.5px; box-shadow: var(--shadow);
}
.rr-toast[hidden] { display: none; }
.rr-toast button { border: 0; background: none; padding: 0; margin-left: 6px; color: var(--accent-soft); text-decoration: underline; font: inherit; }

/* The label picker, by + label: your labels as a cloud, A–Z or most recently used first, narrowed as you type; the
   footer says what Enter does. Over + label when there's more room there, the box at the foot, nearest the label. */
.rr-picker {
  position: absolute; z-index: 25; display: flex; flex-direction: column; width: min(26em, calc(100% - 32px)); font-family: var(--sans);
  background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.rr-picker[hidden] { display: none; }
.rr-picker-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 0; }
.rr-picker-head input {
  flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper);
  font: inherit; font-size: 15px; color: var(--ink); outline: none;
}
.rr-picker-head input:focus { border-color: var(--accent); }
.rr-picker-sort { flex: none; font-size: 12px; color: var(--ink-faint); white-space: nowrap; }
.rr-picker-sort button { border: 0; background: none; padding: 2px 1px; color: var(--ink-faint); }
.rr-picker-sort button:hover { color: var(--accent); }
.rr-picker-sort button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.rr-picker-cloud { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding: 10px 10px 12px; overflow-y: auto; }
.rr-pick {
  padding: .12em .62em .2em; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper);
  font-family: var(--serif); font-size: 15px; line-height: 1.25; color: var(--ink-soft); white-space: nowrap;
}
.rr-pick:hover { color: var(--ink); border-color: var(--ink-faint); }
/* Used only under other focuses so far, as in the labels panel. */
.rr-pick.away { font-style: italic; color: var(--ink-faint); border-style: dashed; background: none; }
.rr-pick mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--ink-faint); text-underline-offset: 3px; }
/* The one Enter takes. */
.rr-pick.chosen { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.rr-pick-none { margin: 0; font-size: 13px; color: var(--ink-faint); }

.rr-picker-foot {
  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 7px 12px 8px;
  border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-faint);
}
.rr-picker-foot kbd { font: inherit; color: var(--ink-soft); margin-right: 4px; }
.rr-picker-foot b { font-weight: 500; color: var(--ink); }
.rr-pick-new { border: 0; background: none; padding: 0; color: var(--accent); }
.rr-pick-new:hover { text-decoration: underline; }
.rr-pick-new.chosen { font-weight: 600; }

.rr-picker.up .rr-picker-head { order: 3; padding: 0 8px 8px; }
.rr-picker.up .rr-picker-cloud { order: 1; }
.rr-picker.up .rr-picker-foot { order: 2; margin-bottom: 8px; }
.rr-label-form { display: none; }

/* ---------- the scratchpad, and the labels over its foot ---------- */
/* Put away behind a tab at the right edge, and slid in over the right of the page when wanted, so the notes have the
   room. The labels can come up on their own, over the foot of where it would be. */
.reread-pad { overflow: hidden; }
.rr-pad-head { justify-content: space-between; }
.rr-pad-head .panel-label::after { content: none; }
/* An archived focus's scratchpad, only to read. */
.rr-pad-read { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 28px 22px; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.rr-pad-read .empty { font-style: italic; color: var(--ink-faint); }
.rr-edge { display: none; }
@media (min-width: 900px) {
  .reader.reread { grid-template-columns: 52px minmax(0, 1fr); }
  .reread-pad {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 30; width: 380px; height: auto; align-self: stretch; overflow: visible;
    transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
  }
  .reread-pad.open { transform: none; box-shadow: var(--shadow); }
  /* Out of sight, out of the way of the keyboard too. */
  .reread-pad > :is(.rr-pad-head, .composer, .rr-pad-read) { transition: visibility 0s .28s; }
  .reread-pad:not(.open) > :is(.rr-pad-head, .composer, .rr-pad-read) { visibility: hidden; }
  .reread-pad.open > :is(.rr-pad-head, .composer, .rr-pad-read) { transition-delay: 0s; }
  /* The tabs hang off its left edge: at the edge of the screen while it's away, beside it when it's out. */
  .rr-edge { position: absolute; right: 100%; top: 38%; display: flex; flex-direction: column; gap: 6px; }
  .rr-edge .rr-edge-tab {
    writing-mode: vertical-rl; padding: 12px 6px; border: 1px solid var(--rule); border-right: 0; border-radius: 8px 0 0 8px;
    background: var(--paper); font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint);
  }
  .rr-edge .rr-edge-tab:hover, .rr-edge .rr-edge-tab[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); text-decoration: none; }
  .rr-edge .rr-edge-tab kbd { margin-top: 8px; font: inherit; letter-spacing: 0; color: var(--ink-soft); }
  .rr-pad-head .rr-close { font-size: 20px; }
  /* The labels with it put away: brought back by its own width, to rise over the foot of the screen at right (and to
     stay where they are if it then slides out under them). */
  .reread-pad:not(.open) .rr-labels-panel { transform: translate(-100%, 102%); border-left: 1px solid var(--rule); }
  .reread-pad:not(.open).labels-open .rr-labels-panel { transform: translate(-100%, 0); box-shadow: var(--shadow); }
}
@media (min-width: 900px) and (max-width: 1099px) { .reread-pad { width: 340px; } }
.rr-summon { border: 0; background: none; padding: 2px 0; font-family: var(--sans); font-size: 12.5px; color: var(--accent); }
.rr-summon:hover { text-decoration: underline; }
.rr-summon kbd { font: inherit; font-size: 11px; color: var(--ink-faint); margin-left: 5px; }
.rr-pad-tools { display: flex; align-items: baseline; gap: 16px; }
.rr-pad-tools-phone { display: none; }

.rr-labels-panel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; max-height: 62%; display: flex; flex-direction: column;
  padding: 14px 28px 16px; background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -10px 28px rgba(60, 40, 20, .08);
  transform: translateY(102%); visibility: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s .28s;
}
.reread-pad.labels-open .rr-labels-panel { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
/* Opened as the page comes, kept open through a change of filter: already there. */
.reread-pad.still .rr-labels-panel { transition: none; }
.rr-labels-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.rr-views { display: flex; gap: 2px; margin-left: auto; font-family: var(--sans); font-size: 12px; }
.rr-views button { border: 0; background: none; padding: 2px 8px; border-radius: 999px; color: var(--ink-faint); }
.rr-views button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.rr-close { border: 0; background: none; padding: 0 2px; font-size: 18px; line-height: 1; color: var(--ink-faint); }
.rr-close:hover { color: var(--accent); }
/* Padded as far as a tally's hover reaches past its text, so the rows fit inside it and it never scrolls sideways. */
.rr-labels-body { min-height: 0; margin: 0 -8px; padding: 0 8px; overflow-x: hidden; overflow-y: auto; }
.rr-labels-hint { margin: 12px 0 0; font-family: var(--sans); font-size: 11.5px; color: var(--ink-faint); }
.rr-none { margin: 0; font-family: var(--sans); font-size: 13px; color: var(--ink-faint); }
.rr-none kbd { font: inherit; }

/* The cloud: each label a pill (so a label of several words reads as one), larger the more notes it holds than the labels' average. */
.rr-cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 6px 0 2px; }
.rr-word {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: .14em .6em .2em; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg);
  font-family: var(--serif); line-height: 1.15; color: var(--ink-soft); white-space: nowrap; text-decoration: none;
}
.rr-word:hover { color: var(--ink); border-color: var(--ink-faint); }
/* Used only under other focuses so far: on offer, faint and dashed. */
.rr-word.away { font-size: 12px; font-style: italic; color: var(--ink-faint); border-style: dashed; background: none; }
.rr-word.away:hover { color: var(--ink-faint); border-color: var(--rule); }
/* The label being reread: tapped again, it shows all the notes. */
.rr-word[aria-current] { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* The tallies: a mark per note in reading order, filled where it carries the label; the note you're on stands taller. */
.rr-tallies { display: none; }
.show-tallies .rr-cloud { display: none; }
.show-tallies .rr-tallies { display: block; }
.rr-tally {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; width: calc(100% + 16px);
  padding: 6px 8px; margin: 0 -8px; border: 0; border-radius: 8px; background: none; text-align: left; font-family: var(--sans); text-decoration: none;
}
.rr-tally:hover, .rr-tally[aria-current] { background: var(--bg); }
.rr-tally-name { font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-tally-n { font-size: 12px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.rr-tally[aria-current] :is(.rr-tally-name, .rr-tally-n) { color: var(--accent); }
.rr-tally[aria-current] .rr-tally-name::before { content: "✓ "; }
.rr-ticks { grid-column: 1 / -1; display: flex; gap: 2px; }
.rr-ticks i { flex: 1; max-width: 14px; height: 5px; border-radius: 1px; background: var(--rule); opacity: .6; }
.rr-ticks i.on { background: var(--ink-soft); opacity: 1; }
.rr-tally[aria-current] .rr-ticks i.on { background: var(--accent); }

/* An unnamed label by its letter, "group D": the word quiet, the letter, which you match by eye, a little heavier. */
.lf-letter { font-weight: 600; letter-spacing: .02em; }
.rr-row .rr-chip .lf-letter { color: var(--ink-soft); }
.rr-row .rr-chip .lf { max-width: 26em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-tally-name .lf-word { color: var(--ink-soft); }

/* ---------- comparing notes (the compare controller) ---------- */
/* Up to three notes to compare with, under tabs on a card at the top of the column: the held note's band, as on the page, cut to a
   line of passage and a line of note, with its groups numbered under them. Every other note under it, as on the page,
   with a button per group, + for a new group of the two and "Compare with this" after its pills. */
.rr-cmp-lede, .rr-cmp-acts, .rr-cmp-hold { display: none; }
.comparing .rr-cmp-lede { display: block; }
.comparing .rr-lede:not(.rr-cmp-lede), .comparing .rr-new, .comparing .rr-new-phone, .comparing .rr-row .rr-acts { display: none; }
.comparing .rr-row.here { display: none; }
.comparing .rr-row { opacity: 1; scroll-margin-top: var(--covered, 0px); scroll-margin-bottom: 12px; }
.comparing .rr-row:hover { background: color-mix(in srgb, var(--paper) 55%, transparent); }
.comparing .rr-row:not(.cursor):not(.along) .rr-note { color: var(--ink-soft); }
/* Each row's passage cut to two lines, to compare by the notes; one cut off opens over it (below). */
.comparing .rr-row .rr-passage { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 18px; }
/* The cursor's band is ruled on its own: no line or ornament of the run's on either side of it. */
.comparing .rr-row.cursor::before, .comparing .rr-row.cursor::after,
.comparing .rr-row.cursor + .rr-row::before, .comparing .rr-row.cursor + .rr-row::after { display: none; }
.comparing .rr-row.cursor .rr-num { right: calc(100% - var(--pad-l) - var(--bleed-l) + 16px); }
/* The row at the cursor: a band across the page as the note you're on is, but quieter, ruled in the rule colour, so
   it's never taken for the held note. */
.comparing .rr-row.cursor {
  margin-left: calc(-1 * var(--bleed-l)); margin-right: calc(-1 * var(--bleed-r));
  padding-left: calc(var(--pad-l) + var(--bleed-l)); padding-right: calc(var(--pad-r) + var(--bleed-r));
  background: var(--paper); border-block: 1px solid var(--rule); border-radius: 0;
}
.comparing.cmp-lighting .rr-row:not(.cmp-lit) { opacity: .3; }
/* A row's passage cut off opens over it, the whole of it laid over the cut one (under the card, if scrolled beneath
   it). */
.comparing .rr-row .rr-passage.cut { cursor: zoom-in; }
.comparing .rr-row .rr-passage.open { visibility: hidden; }
.rr-peek {
  position: absolute; z-index: 4; padding: 8px 12px 10px; cursor: zoom-out;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: var(--shadow);
}
.rr-row .rr-peek .rr-passage { display: block; }
/* A row's pills, then its groups' buttons and Compare with this, on one line (wrapping) within the note's measure. */
.rr-cmp-tools { display: contents; }
.comparing .rr-cmp-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; max-width: 38rem; margin-top: 10px; }
.comparing .rr-cmp-tools > .rr-labels { margin-top: 0; }
.comparing .rr-cmp-tools > .rr-labels:not(:has(.rr-chip)) { display: none; }
.comparing .rr-cmp-acts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.comparing .rr-cmp-hold {
  display: inline-block; flex: none; white-space: nowrap; margin-left: 6px; padding: 2px 10px; border: 1px solid var(--rule); border-radius: 999px; background: none;
  font: 12px var(--sans); color: var(--ink-faint); opacity: 0; transition: opacity .15s;
}
.comparing .rr-row:hover .rr-cmp-hold, .comparing .rr-row.cursor .rr-cmp-hold, .rr-cmp-hold:focus-visible, .rr-cmp-hold.rr-held { opacity: 1; }
.rr-cmp-hold:hover { border-color: var(--accent); color: var(--accent); }
.rr-cmp-hold.rr-held { border-style: dashed; color: var(--accent); }
@media (hover: none) { .comparing .rr-cmp-hold { opacity: 1; } }

.cmp-put {
  min-width: 26px; height: 26px; padding: 0 6px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg);
  font: 600 12px var(--sans); color: var(--ink-faint); opacity: .7;
}
.rr-row:hover .cmp-put, .rr-row.cursor .cmp-put, .cmp-put.on { opacity: 1; }
.cmp-put:hover { border-color: var(--c, var(--accent)); color: var(--c, var(--accent)); }
.cmp-put.on { background: var(--c); border-color: var(--c); color: var(--paper); }
.cmp-plus { border-style: dashed; background: none; font-weight: 400; font-size: 15px; }
@media (hover: none) { .cmp-put { opacity: 1; } }

/* + label, on a row (shown as Compare with this is) and at the foot of the card's groups: a label for that note alone. */
.cmp-add { border: 0; background: none; padding: 1px 4px; font: 13px var(--sans); color: var(--accent); cursor: pointer; }
.cmp-add:hover, .cmp-add:focus-visible { text-decoration: underline; }
.cmp-add kbd { margin-left: 5px; font: 11px var(--sans); color: var(--ink-faint); }
.rr-cmp-tools > .cmp-add { opacity: 0; transition: opacity .15s; }
.comparing .rr-row:hover .cmp-add, .comparing .rr-row.cursor .cmp-add, .rr-cmp-tools > .cmp-add:focus-visible { opacity: 1; }
@media (hover: none) { .rr-cmp-tools > .cmp-add { opacity: 1; } }
.cmp-add-li { padding: 2px 0 0; }
.comparing .rr-row .rr-chip.cmp-fresh { animation: cmp-fresh 1.4s ease-out; }
@keyframes cmp-fresh { from { box-shadow: 0 0 0 3px var(--accent-soft, rgba(138, 75, 42, .2)); } to { box-shadow: 0 0 0 3px transparent; } }
@media (prefers-reduced-motion: reduce) { .comparing .rr-row .rr-chip.cmp-fresh { animation: none; } }

/* The card: the held notes' tabs cut into the top of the held note's band, which runs across the page as the note
   you're on does. */
.rr-cmp-card[hidden] { display: none; }
.rr-cmp-card { --pad-l: 24px; --pad-r: 20px; position: sticky; top: 0; z-index: 5; margin: 0 calc(-1 * var(--bleed-r)) 14px calc(-1 * var(--bleed-l)); }
.cmp-tabs {
  display: flex; align-items: flex-end; gap: 2px; padding: 8px var(--bleed-r) 0 calc(var(--bleed-l) + 14px);
  background: var(--bg); font-family: var(--sans);
}
.cmp-holding { flex: none; align-self: center; margin-right: 8px; font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.cmp-tab {
  position: relative; z-index: 1; flex: 1 1 auto; display: flex; align-items: baseline; gap: 7px; min-width: 0; max-width: 17em; margin-bottom: -1px;
  padding: 6px 8px 6px 10px; border: 1px solid transparent; border-bottom: 0; background: none; color: var(--ink-faint); text-align: left;
}
.cmp-tab:hover { color: var(--ink-soft); }
.cmp-tab.on { flex-shrink: .2; background: var(--paper); border-color: var(--accent); color: var(--ink); }
.cmp-tab-ref { flex: none; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.cmp-tab.on .cmp-tab-ref { color: var(--accent); }
.cmp-tab-words { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--serif); font-size: 13.5px; font-style: italic; }
.cmp-tab-x { flex: none; padding: 0 3px; font-size: 14px; line-height: 1; color: var(--ink-faint); opacity: 0; }
.cmp-tab:hover .cmp-tab-x, .cmp-tab.on .cmp-tab-x { opacity: 1; }
.cmp-tab-x:hover { color: var(--accent); }
.cmp-tabs .cmp-close { flex: none; align-self: center; margin-left: auto; padding: 0 0 4px 12px; border: 0; background: none; font-size: 13px; white-space: nowrap; color: var(--ink-faint); }
.cmp-tabs .cmp-close:hover { color: var(--accent); }

.cmp-band {
  position: relative; padding: 12px calc(var(--pad-r) + var(--bleed-r)) 12px calc(var(--pad-l) + var(--bleed-l));
  background: var(--paper); border-block: 1px solid var(--accent); box-shadow: 0 10px 22px -12px rgba(40, 25, 10, .22);
}
.cmp-band > * { max-width: 38rem; }
/* The held note, a line of passage and a line of note: you know the note you're comparing with. When either is cut off, or it
   is a thread of two or more verses, a click on it (or p, o) lays the whole entry over the card. */
.cmp-line { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cmp-band .rr-passage.cmp-line { margin: 0; font-size: 18px; line-height: 1.45; color: var(--ink); white-space: normal; }
.cmp-band .rr-note.cmp-line { margin: 10px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.cmp-band .rr-note.cmp-line .lexxy-content > * { margin: 0; }
.cmp-band.cut .cmp-line { cursor: zoom-in; }
.cmp-band.cut .cmp-line:hover { color: var(--accent); }
/* The reference under the passage, and at the right of its line where it stands in the run, to step along it. */
.cmp-head { display: flex; align-items: baseline; gap: 12px; }
.rr-passage + .cmp-head { margin-top: 6px; }
.cmp-steps { flex: none; display: flex; align-items: baseline; gap: 2px; margin-left: auto; white-space: nowrap; font-family: var(--sans); font-size: 12.5px; color: var(--ink-faint); }
.cmp-steps button { border: 0; background: none; padding: 0 6px; font-size: 16px; line-height: 1; color: var(--ink-soft); }
.cmp-steps button:hover { color: var(--accent); }
.cmp-at { font-variant-numeric: tabular-nums; }
.cmp-divide {
  max-width: none; height: 0; margin: 10px calc(-1 * (var(--pad-r) + var(--bleed-r))) 0 calc(-1 * (var(--pad-l) + var(--bleed-l)));
  border: 0; border-top: 1px solid var(--rule);
}
/* The whole entry, over the card from where its text starts: passage, reference, note. */
.cmp-entry {
  position: absolute; z-index: 20; top: 6px; left: calc(var(--pad-l) + var(--bleed-l) - 16px);
  width: min(calc(38rem + 32px), calc(100% - var(--pad-l) - var(--bleed-l) + 8px)); max-width: none; max-height: 70vh; overflow-y: auto;
  padding: 12px 16px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: var(--shadow); cursor: zoom-out;
}
.cmp-entry:not(.open) { display: none; }
.cmp-entry .rr-passage { display: block; margin: 0; font-size: 20px; line-height: 1.45; color: var(--ink); white-space: pre-line; }
.cmp-entry .rr-passage.rr-long { font-size: 18px; }
.cmp-entry .rr-passage + .rr-ref { display: block; margin-top: 8px; }
.cmp-entry hr { height: 0; margin: 12px -16px 0; border: 0; border-top: 1px solid var(--rule); }
.cmp-entry .rr-note { margin-top: 12px; font-size: 17.5px; color: var(--ink); }

/* Its groups, a line each, the number in the group's colour. */
.cmp-groups-head { margin: 12px 0 4px; font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.cmp-groups { list-style: none; margin: 0; padding: 0; }
.cmp-group { display: flex; gap: 10px; align-items: center; margin: 0 -10px; padding: 3px 10px; border-radius: 8px; transition: background .15s; }
.cmp-group.hot { background: color-mix(in srgb, var(--c) 16%, transparent); }
.cmp-num {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c); color: var(--paper); font: 600 11.5px var(--sans); transform: translateY(-1px);
}
.cmp-group.has .cmp-num { box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--c); }
.cmp-g-body { display: flex; gap: 10px; align-items: baseline; min-width: 0; flex: 1; }
.cmp-with, .cmp-count, .cmp-g-acts { flex: none; font-family: var(--sans); font-size: 11.5px; color: var(--ink-faint); }
/* A group's notes are what you compare by, so they keep their room (up to most of the line) and its face gives way. */
.cmp-group .peek-face { flex: 1 1 auto; }
.cmp-count { margin-left: -4px; } /* snug against the list it counts */
.cmp-with { flex: 0 0 auto; max-width: 50%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cmp-g-acts { margin-left: auto; opacity: 0; transition: opacity .15s; }
.cmp-group:hover .cmp-g-acts, .cmp-group:focus-within .cmp-g-acts { opacity: 1; }
@media (hover: none) { .cmp-g-acts, .cmp-tab-x { opacity: 1; } }
.cmp-jump, .cmp-g-acts button { border: 0; background: none; padding: 0; color: var(--ink-faint); }
.cmp-jump { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.cmp-jump:hover, .cmp-jump.open, .cmp-g-acts button:hover { color: var(--accent); }
.cmp-g-acts button:hover { text-decoration: underline; }
/* The note at the cursor, picked out among a group's notes. */
.cmp-jump.at { color: var(--c); font-weight: 600; text-decoration-color: currentColor; }
.cmp-new { padding: 10px 0 0; font-family: var(--sans); font-size: 11.5px; color: var(--ink-faint); }
.cmp-new kbd { font: inherit; color: var(--ink-soft); }
.cmp-name {
  min-width: 0; max-width: 20em; padding: 3px 8px; border: 1px solid var(--accent); border-radius: 6px; background: var(--bg);
  font: inherit; font-size: 16px; color: var(--ink); outline: none;
}
.cmp-name-error { font-family: var(--sans); font-size: 12.5px; color: var(--accent); }
.cmp-name-error[hidden] { display: none; }

/* A group's face, cut to a line. What's cut off opens over what's below, the same text whole, in a panel laid exactly
   over the cut one, so nothing under it moves. */
.peek { position: relative; display: block; }
.peek-cut > *, .peek-full > * { margin: 0; }
.peek-face .peek-cut { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.peek-full {
  display: none; position: absolute; z-index: 20; top: -7px; left: -13px; right: -13px; padding: 6px 12px 8px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: var(--shadow);
}
.peek.open .peek-full { display: block; }
.peek.open .peek-cut { visibility: hidden; }
.peek-face { flex: 0 1 auto; min-width: 0; font-size: 14.5px; line-height: 1.4; }
/* On the card, GROUP in small capitals, the letter in the reading face, then the start of the note it's described by. */
.peek-face .lf-word { font-family: var(--sans); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.peek-face .lf-letter { font-size: 15px; color: var(--ink); }
.peek-face .lf-snip { font-style: italic; color: var(--ink-soft); }

/* Phones: the column alone; the scratchpad a bottom sheet. With the sheet shut, the labels come up as their own short
   sheet resting on its handle. */
@media (max-width: 899px) {
  .reread { display: block; }
  .reread-col { --bleed-l: 8px; --bleed-r: 8px; padding: 14px 8px 60vh; }
  .rr-focus { margin-top: 10px; padding: 0 44px 0 8px; }
  .rr-lede, .reread .page-empty, .rr-free-head { margin-left: 16px; }
  .rr-toast { bottom: 76px; max-width: calc(100vw - 32px); }
  .rr-keys { display: none; }
  .rr-row { --pad-l: 16px; --pad-r: 12px; padding-block: 24px; }
  /* No margin to hang the number in: "7 of 13" on a line of its own over the passage. */
  .rr-num, .rr-cursor-on .rr-row.here .rr-num, .comparing .rr-row.cursor .rr-num {
    position: static; order: -2; margin-bottom: 6px; font-size: 11.5px; text-align: left;
  }
  .rr-num small { display: inline; margin: 0 0 0 .3em; font-size: inherit; }
  .rr-gone { padding: 14px 12px 14px 16px; }
  .rr-pad-tools-phone { display: flex; position: absolute; top: 15px; right: 44px; z-index: 2; }
  .reread-pad .panel-handle .preview { margin-right: 120px; }
  .reread-pad { overflow: visible; }
  .reread-pad:not(.open) > .rr-pad-tools-phone, .reread-pad.labels-open > .rr-labels-panel { visibility: visible; }
  .reread-pad:not(.open) > .rr-labels-panel {
    bottom: 100%; max-height: 50vh; border: 1px solid var(--rule); border-bottom: 0; border-radius: 14px 14px 0 0;
    box-shadow: 0 -8px 24px rgba(60, 40, 20, .1);
  }
  .rr-labels-panel { padding: 12px 16px 14px; }
  .rr-labels-hint { display: none; }
  .rr-cmp-card { --pad-l: 16px; --pad-r: 12px; }
  .cmp-tabs { padding: 4px 8px 0; }
  .rr-cmp-card { top: var(--bar); }
  .cmp-tab { flex: 1 1 0; max-width: none; }
  .cmp-holding, .cmp-tab-words, .cmp-with, .cmp-close .wide-only, .cmp-add .wide-only { display: none; }
  .cmp-entry { left: 8px; width: calc(100% - 16px); }
  .rr-cmp-lede { margin-left: 16px; }
}
