/* Fonts: self-hosted Estedad only (NO CDN — render-blocking on a slow/blocked
   CDN leaves the page unstyled in Iran). 7 weights live in site/fonts/. */
@font-face { font-family: "Estedad"; font-weight: 100; font-display: swap; src: url("fonts/Estedad-Thin.woff2") format("woff2"); }
@font-face { font-family: "Estedad"; font-weight: 400; font-display: swap; src: url("fonts/Estedad-Regular.woff2") format("woff2"); }
@font-face { font-family: "Estedad"; font-weight: 500; font-display: swap; src: url("fonts/Estedad-Medium.woff2") format("woff2"); }
@font-face { font-family: "Estedad"; font-weight: 600; font-display: swap; src: url("fonts/Estedad-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Estedad"; font-weight: 700; font-display: swap; src: url("fonts/Estedad-Bold.woff2") format("woff2"); }
@font-face { font-family: "Estedad"; font-weight: 800; font-display: swap; src: url("fonts/Estedad-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Estedad"; font-weight: 900; font-display: swap; src: url("fonts/Estedad-Black.woff2") format("woff2"); }
/* Heritage Arabic face for the SOURCE TEXT (self-hosted, vocalized) — the Arabic
   is the product's reason to exist; it must not render in the Persian UI sans.
   Amiri = classic scholarly book Naskh (user choice 2026-06-18). */
@font-face { font-family: "Amiri"; font-weight: 400; font-display: swap; src: url("fonts/Amiri.woff2") format("woff2"); }

/* palette = drtuserkani base elevated (navy ink · old-gold accent · cream paper) */
:root {
  color-scheme: light;
  --bg: #e7e0cf;
  --paper: #f3ead8;
  --paper-2: #fbf6ec;
  --tile: #15294e;
  --ink: #15294e;
  --muted: #5b6072;
  --faint: #8a8674;
  --line: rgb(21 41 78 / 13%);
  --accent: #b08434;
  --accent-2: #8a6722;
  --warn: #8a4d08;
  --shadow: 0 10px 30px rgb(21 41 78 / 9%);
  --ff-title: "Estedad", system-ui, sans-serif;
  --ff-arabic: "Amiri", "Traditional Arabic", serif;
  --reading-scale: 1;
  font-family: "Estedad", "Segoe UI", Tahoma, Arial, sans-serif;
}

h1, h2, h3 { font-family: var(--ff-title); }
.brand { font-family: var(--ff-title); }
/* every Arabic source string renders in the heritage face */
[lang="ar"], .tarjome .clause .ar, .tarjome .speaker, .tarjome .seclabel, .featured .ar { font-family: var(--ff-arabic); }

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Cg fill='none' stroke='%238a6722' stroke-opacity='.09'%3E%3Crect x='10' y='10' width='30' height='30'/%3E%3Crect x='10' y='10' width='30' height='30' transform='rotate(30 25 25)'/%3E%3Crect x='10' y='10' width='30' height='30' transform='rotate(60 25 25)'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--ink);
  font-size: 15px;
  line-height: 1.85;
  font-variant-numeric: proportional-nums;
}

/* ===== Federation numeral standard — set 2026-06-15 (proportional, tight) =====
   Persian-Indic digits, same Estedad font; tighter tracking so numbers don't sprawl. */
h1, h2, h3 { letter-spacing: -.02em; }
.unit-no, .eyebrow, .featured-tag, .c-ready, .c-num, .section-head span { font-variant-numeric: proportional-nums; }
.unit-no, .c-num { letter-spacing: -.05em; }

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px max(16px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgb(251 248 239 / 92%);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.topbar nav a,
.filter,
.back-link,
.pager-link,
.qref {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--accent);
  border-radius: 6px;
  padding: 4px 9px;
  line-height: 1.5;
}

.home-shell,
.unit-shell {
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.1fr minmax(260px, 420px);
  gap: 12px 18px;
  align-items: end;
  padding: 22px 0 16px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.25;
}

h2 {
  font-size: 21px;
}

h3 {
  margin-top: 22px;
  font-size: 17px;
}

.search-box {
  display: grid;
  gap: 5px;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  line-height: 1.4;
}

.filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter {
  cursor: pointer;
  font: inherit;
}

.filter.is-active {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: #f4eee2;
  color: #6f4a1a;
}

.search-status {
  margin: 0;
  color: var(--muted);
  text-align: left;
}

.lists {
  display: grid;
  gap: 24px;
  padding: 22px 0 36px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
}

.unit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
}

.unit-card > a,
.unit-card > span {
  min-height: 88px;
  height: 100%;
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 1px 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 rgb(0 0 0 / 2%);
}

.unit-card.is-unavailable > span {
  opacity: .58;
  background: color-mix(in srgb, var(--paper) 72%, var(--paper-2));
}

.unit-no {
  grid-row: 1 / 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 7px;
  background: var(--paper-2);
  color: var(--accent-2);
  font-weight: 800;
  direction: ltr;
}

.unit-title {
  font-weight: 800;
}

.unit-gist {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.unit-name {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.unit-status {
  color: var(--accent);
  font-size: 12px;
}

.unit-shell {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0 40px;
}

.unit-meta {
  position: sticky;
  top: 58px;
  align-self: start;
  display: grid;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.unit-meta .unit-gist {
  margin: 0;
  font-size: 14px;
}

.anchor-strip,
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.unit-content {
  padding: 20px min(5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.unit-content h2 {
  margin: 28px 0 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.unit-content h2:first-child,
.unit-content h3:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.unit-content p {
  margin: 12px 0;
}

.unit-content ul {
  margin: 8px 0 16px;
  padding: 0 20px 0 0;
}

.unit-content li {
  margin: 4px 0;
}

.source-quote {
  margin: 14px 0;
  padding: 14px 16px;
  border-right: 4px solid var(--accent);
  border-left: 0;
  border-radius: 8px;
  background: #f7f3ea;
  color: #26282b;
  font-size: 17px;
  line-height: 2.05;
}

.warning {
  padding: 10px 12px;
  border: 1px solid #ecd3a7;
  border-radius: 8px;
  background: #fff7e7;
  color: var(--warn);
}

strong {
  font-weight: 800;
}

code {
  direction: ltr;
  unicode-bidi: isolate;
  padding: 0 4px;
  border-radius: 4px;
  background: var(--paper-2);
  font-family: Consolas, monospace;
}

.qref {
  display: inline-flex;
  direction: ltr;
  unicode-bidi: isolate;
  margin: 0 2px;
  font-weight: 700;
}

@media (max-width: 800px) {
  .topbar,
  .search-panel,
  .unit-shell,
  .section-head {
    display: grid;
  }

  .search-panel,
  .unit-shell {
    grid-template-columns: 1fr;
  }

  .search-status {
    text-align: right;
  }

  /* mobile: lead with the translation; push the 9 meta panels BELOW it */
  .unit-content { padding: 16px; order: -1; }
  .unit-meta { position: static; order: 0; }

  /* single-row, horizontally-scrollable topbar (was wrapping to 2 rows / 136px) */
  .topbar { display: flex; align-items: center; gap: 8px; }
  .topbar nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .topbar nav::-webkit-scrollbar { display: none; }
}

/* ===== product homepage (drtuserkani base, elevated) ===== */
.home-shell { padding-top: 18px; }

/* centered masthead with navy logo tile + tagline + search */
.masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 18px 0 6px;
}
.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 24px;
  background: var(--tile);
  color: var(--paper);
  font-weight: 800;
  font-size: 27px;
  line-height: 1.2;
}
.tagline {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.masthead-search {
  width: 100%;
  max-width: 480px;
}
.masthead-search input {
  border-radius: 13px;
  padding: 11px 15px;
}
.browse {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 18px 0 6px;
}
.browse .filter-row { justify-content: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* gold diamond dividers */
.rule, .rule-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 16px 0 14px;
}
.rule::before, .rule::after,
.rule-label::before, .rule-label::after {
  content: "";
  height: 1px;
  flex: 1;
}
.rule::before { background: linear-gradient(to left, color-mix(in srgb, var(--accent) 55%, transparent), transparent); }
.rule::after  { background: linear-gradient(to right, color-mix(in srgb, var(--accent) 55%, transparent), transparent); }
.rule-label::before { background: linear-gradient(to left, color-mix(in srgb, var(--accent) 45%, transparent), transparent); }
.rule-label::after  { background: linear-gradient(to right, color-mix(in srgb, var(--accent) 45%, transparent), transparent); }
.rule .diamond {
  width: 7px; height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}
.rule-label span {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--faint);
  flex: none;
}

/* featured saying (calm, centered) */
.featured {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.featured .featured-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
}
.featured .ar {
  margin: 0 0 10px;
  font-family: var(--ff-arabic);
  font-size: 34px;
  line-height: 1.9;
  color: var(--ink);
}
.featured .fa {
  margin: 0 0 11px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--muted);
}
.featured .featured-go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.featured .featured-go:hover {
  text-decoration: none;
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
}
.featured-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.featured-swap {
  appearance: none; background: none; border: none; cursor: pointer;
  font-family: var(--ff-title); font-size: 13px; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px; padding: 0;
}
.featured-swap:hover { color: var(--accent-2); }

/* three collection cards */
.collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.collection-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 18px 20px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  color: inherit;
  transition: transform .22s ease, border-color .22s, box-shadow .22s;
}
.collection-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 10px 26px rgb(21 41 78 / 9%);
}
.collection-card .c-name { font-weight: 800; font-size: 23px; color: var(--ink); }
.collection-card .c-count {
  display: inline-flex;
  direction: rtl;
  align-items: baseline;
  gap: 7px;
}
.collection-card .c-num { font-size: 38px; font-weight: 800; letter-spacing: -.06em; font-variant-numeric: proportional-nums; color: var(--ink); }
.collection-card .c-unit { font-size: 16px; font-weight: 600; color: var(--accent); }
.collection-card .c-desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.collection-card .c-ready { font-size: 12px; color: var(--accent-2); }
.collection-card .c-enter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

/* recolor list badges + active filter to navy/gold */
.unit-no { background: var(--paper-2); color: var(--accent); border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 50%; }
.filter.is-active { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: color-mix(in srgb, var(--accent) 12%, var(--paper)); color: var(--accent-2); }

/* featured-card kept for any reuse; product footer */
.featured-cid {
  align-self: flex-start;
  direction: ltr;
  unicode-bidi: isolate;
  padding: 2px 10px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 999px;
  font-family: Consolas, monospace;
  font-size: 12px;
  color: var(--accent-2);
}
.site-footer {
  margin: 22px 0 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  line-height: 1.6;
}
.site-footer p { margin: 4px 0; }

/* ===== :::tarjome — paired Arabic↔Persian clause rows (ayah-style) ===== */
.tarjome { margin: 8px 0 6px; }
.tarjome .clause {
  padding: 12px 16px 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  margin-bottom: 9px;
}
.tarjome .clause .ar {
  margin: 0 0 9px;
  font-size: calc(1.5rem * var(--reading-scale));
  line-height: 2.15;
  font-weight: 400;
  color: var(--ink);
}
.tarjome .clause .fa {
  margin: 0;
  font-size: calc(1rem * var(--reading-scale));
  line-height: 1.9;
  color: var(--muted);
}
.tarjome .clause.is-quran {
  background: color-mix(in srgb, var(--accent) 8%, var(--paper-2));
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
.tarjome .clause.is-quran .ar { color: var(--accent-2); }
.tarjome .clause.is-poetry { text-align: center; }
.tarjome .clause.is-poetry .ar { line-height: 2.2; }
.tarjome .speaker {
  margin: 2px 0 12px;
  text-align: center;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--accent-2);
}
.tarjome .frame {
  margin: 0 0 12px;
  font-size: .96rem;
  line-height: 1.8;
  color: var(--muted);
  padding-inline-start: 12px;
  border-inline-start: 2px solid color-mix(in srgb, var(--accent) 40%, var(--line));
}
.tarjome .frame-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent) 12%, var(--paper));
  padding: 1px 9px;
  border-radius: 20px;
  margin-inline-end: 6px;
  vertical-align: middle;
}
.tarjome .seclabel {
  margin: 16px 0 7px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}
.tarjome .seclabel-fa { margin: 0 0 10px; font-size: .9rem; color: var(--muted); }

/* ===== reading-page tabbed hub ===== */
.reading-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 16px; flex-wrap: wrap; }
.reading-tab { appearance: none; background: none; border: none; font-family: var(--ff-title); font-size: 15px; font-weight: 700; color: var(--muted); padding: 8px 16px 11px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.reading-tab:hover { color: var(--ink); }
.reading-tab.is-active { color: var(--accent-2); border-bottom-color: var(--accent); }
.reading-tab .tab-count { font-size: 11px; color: var(--faint); font-weight: 600; margin-inline-start: 4px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadein .18s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }

/* per-unit source attribution */
.attribution { font-size: 12px; color: var(--faint); line-height: 1.7; margin: 4px 0 0; }
.attribution b { color: var(--muted); font-weight: 600; }

/* machine-generated marker — derived layers that were never checked against
   scholarly sources. The in-house translation is deliberately exempt. */
.machine-tag {
  display: inline-block;
  margin-inline-start: .5em;
  padding: 1px 7px;
  border: 1px solid var(--line, #ded4bf);
  border-radius: 999px;
  font-size: 10.5px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--faint);
  background: transparent;
  vertical-align: middle;
  white-space: nowrap;
}

/* per-clause hover actions (copy text / copy link) */
.tarjome .clause { position: relative; scroll-margin-top: 64px; }
.clause-actions { position: absolute; inset-inline-start: 8px; top: 8px; display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.tarjome .clause:hover .clause-actions, .clause-actions:focus-within { opacity: 1; }
.clause-act { appearance: none; border: 1px solid var(--line); background: var(--paper); color: var(--muted); width: 27px; height: 27px; border-radius: 7px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.clause-act:hover { color: var(--accent-2); border-color: var(--accent); }
.clause-act svg { width: 14px; height: 14px; }
.tarjome .clause.copied { outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 1px; }
/* the +/− font control must also scale the standalone Persian gloss, section labels & English */
.tarjome .frame { font-size: calc(.96rem * var(--reading-scale)); }
.tarjome .seclabel-fa { font-size: calc(.9rem * var(--reading-scale)); }
.tarjome .clause .en { font-size: calc(.92rem * var(--reading-scale)); }
/* touch: move copy/link buttons OUT of the text flow (were sitting on the Arabic) + 44px targets */
@media (hover: none) {
  .clause-actions { position: static; opacity: 1; inset-inline-start: auto; top: auto; justify-content: flex-end; gap: 8px; margin: 10px 0 0; }
  .clause-act { width: 44px; height: 44px; }
  .clause-act svg { width: 16px; height: 16px; }
}

/* reading preferences (font size) */
.reading-prefs { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.reading-prefs button { appearance: none; border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: 30px; height: 30px; border-radius: 7px; cursor: pointer; font-weight: 700; font-size: 15px; line-height: 1; }
.reading-prefs button:hover { border-color: var(--accent); color: var(--accent-2); }
.reading-prefs .rp-label { font-size: 12px; color: var(--muted); }

/* homepage: gist on cards + search highlight */
.unit-card .unit-gist { grid-column: 2; color: var(--muted); font-size: 12.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
mark { background: color-mix(in srgb, var(--accent) 30%, transparent); color: var(--ink); border-radius: 3px; padding: 0 2px; }

/* theme browse strip */
.theme-strip { margin: 18px 0 0; }
.theme-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-chip { appearance: none; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); background: var(--paper-2); color: var(--accent-2); border-radius: 999px; padding: 6px 15px; font-family: var(--ff-title); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.theme-chip:hover { background: color-mix(in srgb, var(--accent) 12%, var(--paper)); }

/* empty / browse-hint states for the on-demand list */
.search-empty, .browse-hint { text-align: center; color: var(--muted); padding: 28px 16px; font-size: 14.5px; line-height: 1.8; }
.browse-hint { border: 1px dashed var(--line); border-radius: 12px; background: var(--paper-2); }
.browse-hint b { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) {
  .collections { grid-template-columns: 1fr; }
  .tarjome .clause .ar { font-size: calc(1.3rem * var(--reading-scale)); line-height: 2.05; }
  .reading-tab { padding: 8px 12px 10px; font-size: 14px; }
}

/* touch devices: bring all wayfinding + reading controls up to ~44px */
@media (pointer: coarse) {
  .topbar nav a, .filter, .back-link, .pager-link { padding: 10px 12px; }
  .topbar nav, .filter-row, .pager { gap: 8px; }
  .reading-prefs { gap: 8px; }
  .reading-prefs button { width: 44px; height: 44px; font-size: 17px; }
  .bi-toggle { min-height: 40px; display: inline-flex; align-items: center; padding: .35rem .9rem; }
  .reading-tabs { row-gap: 6px; }
}
