:root {
  --study-bg: #07111b;
  --study-bg-soft: #0d1a27;
  --study-panel: #122233;
  --study-line: rgba(255, 255, 255, 0.13);
  --study-text: #f4f1eb;
  --study-muted: #afbac5;
  --study-accent: #b9a6ff;
  --study-accent-strong: #8d74ef;
  --study-gold: #e6c27a;
  --paper: #f6f2e9;
  --paper-raised: #fffdf8;
  --ink: #17202a;
  --ink-soft: #4d5964;
  --paper-line: #d9d1c3;
  --content-width: 1180px;
  --reader-width: 780px;
  --study-warning-h: 3.65rem;
  --study-stage-h: 3.5rem;
  --study-pager-h: 3.25rem;
  --study-reading-offset: 7.9rem;
  --study-sticky-h: 8.25rem;
}

html { scroll-behavior: auto; scroll-padding-top: var(--study-sticky-h); }
body.study-page { margin: 0; background: var(--study-bg); color: var(--study-text); overflow-x: hidden; }
.study-page *, .study-page *::before, .study-page *::after { box-sizing: border-box; }
.study-page a { color: inherit; }
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .7rem .9rem;
  border: 2px solid var(--study-accent);
  border-radius: .55rem;
  background: #fff;
  color: #111827 !important;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform .16s ease;
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }
html body.study-page .skip-link:focus,
html body.study-page .skip-link:focus-visible { transform: translateY(0) !important; }
.study-wrap { width: min(calc(100% - 2rem), var(--content-width)); margin-inline: auto; }
.study-section { scroll-margin-top: var(--study-sticky-h); }
.eyebrow, .section-label { margin: 0 0 .55rem; color: var(--study-accent); font-size: .72rem; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }


.study-ai-disclosure { position: sticky; top: 0; z-index: 24; border-bottom: 1px solid rgba(230, 194, 122, .32); background: rgba(33, 26, 14, .98); color: #f0e8d7; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.study-ai-disclosure__inner { min-height: 3.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .65rem 1rem; padding-block: .45rem; }
.study-ai-disclosure__pill { display: inline-flex; align-items: center; justify-content: center; padding: .43rem .65rem; border: 1px solid #e6c27a; border-radius: 999px; background: #e6c27a; color: #251a06; font-size: .72rem; font-weight: 900; letter-spacing: .035em; white-space: nowrap; }
.study-ai-disclosure p { margin: 0; color: #ddd6c7; font-size: .79rem; line-height: 1.5; }
.study-ai-disclosure p strong { color: #fff8e9; }

.study-nav { position: relative; z-index: 20; border-bottom: 1px solid var(--study-line); background: rgba(7, 17, 27, .94); backdrop-filter: blur(16px); }
.study-nav__inner { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.study-wordmark { color: white; font-size: 1.14rem; font-weight: 780; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.study-wordmark span { color: var(--study-accent); }
.study-nav__links { display: flex; align-items: center; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.study-nav__links::-webkit-scrollbar { display: none; }
.study-nav__links a { min-height: 2.75rem; padding: .8rem .65rem; border-radius: .55rem; color: var(--study-muted); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.study-nav__links a:hover, .study-nav__links a:focus-visible { background: rgba(185, 166, 255, .12); color: white; }

.study-hero { padding: clamp(3.5rem, 7vw, 7rem) 0; background: radial-gradient(circle at 88% 10%, rgba(141, 116, 239, .24), transparent 35%), linear-gradient(180deg, #081421 0%, #07111b 100%); }
.study-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.study-hero h1 { max-width: 15ch; margin: 0; font-size: clamp(2.5rem, 5.5vw, 5.2rem); letter-spacing: -.055em; line-height: .98; text-wrap: balance; }
.study-hero__lead { max-width: 37rem; margin: 1.5rem 0 0; color: #ced6df; font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.study-button { min-height: 2.9rem; display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.1rem; border: 1px solid transparent; border-radius: .65rem; font: inherit; font-size: .9rem; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; }
.study-button--primary { border-color: var(--study-accent); background: var(--study-accent); color: #100c24 !important; }
.study-button--primary:hover, .study-button--primary:focus-visible { border-color: #d8ceff; background: #d8ceff; }
.study-button--secondary { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); color: white !important; }
.study-button--secondary:hover, .study-button--secondary:focus-visible { border-color: var(--study-accent); background: rgba(185, 166, 255, .1); }

.context-demo { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid rgba(185, 166, 255, .25); border-radius: 1.25rem; background: linear-gradient(145deg, rgba(20, 36, 52, .96), rgba(13, 26, 39, .96)); box-shadow: 0 28px 80px rgba(0, 0, 0, .24); }
.context-demo h2 { margin: 0 0 1.35rem; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 500; }
.context-demo__comparison { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: .7rem; }
.context-demo__comparison section { padding: 1rem; border-radius: .8rem; background: rgba(255, 255, 255, .055); }
.context-demo__comparison section:last-child { background: rgba(185, 166, 255, .13); }
.context-demo__comparison span { color: var(--study-gold); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.context-demo__comparison p { margin: .65rem 0 0; color: #e4e9ef; line-height: 1.55; }
.context-demo__arrow { align-self: center; color: var(--study-accent); font-size: 1.25rem; }
.context-demo__promise { margin: 1.25rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--study-line); color: #cfd7df; font-size: .91rem; line-height: 1.65; }

.book-overview { padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--study-line); background: var(--study-bg-soft); }
.section-heading { max-width: 46rem; }
.section-heading h2, .section-heading h3 { margin: 0; letter-spacing: -.035em; line-height: 1.1; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.section-heading h3 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section-heading > p:last-child { margin: .85rem 0 0; color: var(--study-muted); line-height: 1.7; }
.section-heading--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.coverage-pill { flex: 0 0 auto; padding: .55rem .75rem; border: 1px solid rgba(185, 166, 255, .28); border-radius: 999px; background: rgba(185, 166, 255, .09); color: #ded7ff; font-size: .77rem; font-weight: 800; }
.book-review-status { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; margin: 1rem 0 0; }
.book-review-status > div { min-width: 0; padding: .7rem .8rem; border: 1px solid rgba(185, 166, 255, .2); border-radius: .75rem; background: rgba(185, 166, 255, .07); }
.book-review-status dt { color: #bcb3de; font-size: .67rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.book-review-status dd { margin: .25rem 0 0; color: #f4f1ff; font-size: .78rem; font-weight: 800; line-height: 1.35; }
.book-overview__intro { max-width: 52rem; margin: 1.5rem 0 0; color: #dde3e9; font-size: clamp(1.1rem, 1.8vw, 1.25rem); line-height: 1.75; }
.book-overview__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.overview-card, .movement-card { border: 1px solid var(--study-line); border-radius: 1rem; background: rgba(255, 255, 255, .035); }
.overview-card { padding: 1.35rem; }
.overview-card h3 { margin: 0; font-size: 1.2rem; }
.overview-card ul { margin: 1rem 0 0; padding-left: 1.2rem; color: #cbd3db; }
.overview-card li { margin-top: .65rem; line-height: 1.6; }
.movement-card { margin-top: 1rem; overflow: hidden; }
.movement-card summary { min-height: 4.75rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; }
.movement-card summary::-webkit-details-marker { display: none; }
.movement-card summary > span:first-child { display: grid; gap: .25rem; }
.movement-card summary strong { font-size: 1.05rem; }
.movement-card__action { color: #cfc4f2; font-size: .75rem; font-weight: 850; }
.movement-card[open] .movement-card__action { color: #f0d184; }
.movement-card ol { margin: 0; padding: 1rem 2rem 1.35rem 3rem; border-top: 1px solid var(--study-line); }
.movement-card li { padding: .25rem 0 .75rem .35rem; color: #d5dce3; line-height: 1.55; }
.overview-disclosure { display: block; margin-top: 1rem; }
.overview-disclosure > details { margin-bottom: 1rem; }
.overview-disclosure details, .secondary-detail { border: 1px solid var(--study-line); border-radius: .85rem; background: rgba(255, 255, 255, .025); }
.overview-disclosure summary, .secondary-detail > summary { min-height: 3.75rem; padding: 1rem 1.1rem; color: white; font-weight: 800; cursor: pointer; }
.theme-grid { display: grid; gap: .65rem; padding: 0 1rem 1rem; }
.theme-card { padding: 1rem; border-radius: .7rem; background: rgba(255, 255, 255, .045); }
.theme-card h4, .theme-card p { margin: 0; }
.theme-card p { margin-top: .4rem; color: var(--study-muted); line-height: 1.55; }
.unit-list { display: grid; padding: 0 1rem 1rem; }
.unit-link { display: grid; grid-template-columns: auto 1fr; gap: .7rem; padding: .7rem 0; border-top: 1px solid var(--study-line); text-decoration: none; }
.unit-link__number { color: var(--study-accent); font-size: .72rem; font-weight: 800; }
.unit-link__copy { display: grid; gap: .2rem; }
.unit-link__copy strong { font-size: .78rem; }
.unit-link__copy > span { color: var(--study-muted); font-size: .86rem; }

.verse-jump { max-width: 48rem; margin-top: 1.5rem; padding: 1rem; border: 1px solid rgba(185, 166, 255, .28); border-radius: .85rem; background: rgba(185, 166, 255, .07); }
.verse-jump__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.verse-jump__heading label { color: white; font-size: .92rem; font-weight: 850; }
.verse-jump__heading span { color: var(--study-muted); font-size: .78rem; }
.verse-jump__search { display: grid; grid-template-columns: 1fr auto; gap: .55rem; margin-top: .7rem; }
.verse-jump input, .verse-jump select { min-height: 2.75rem; padding: .65rem .75rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: .55rem; background: #fff; color: #17202a; font: inherit; font-size: 1rem; }
.verse-jump button { min-height: 2.75rem; padding: .65rem .85rem; border: 1px solid var(--study-accent); border-radius: .55rem; background: var(--study-accent); color: #100c24; font: inherit; font-size: .82rem; font-weight: 850; cursor: pointer; }
.verse-jump__help, .verse-jump__status, .verse-jump__noscript { margin: .45rem 0 0; color: var(--study-muted); font-size: .75rem; line-height: 1.5; }
.verse-jump__status { min-height: 1.2em; color: #e8dfff; font-weight: 700; }
.verse-jump__status[data-state="error"] { color: #ffd0d0; }
.verse-jump__status[data-state="planned"] { color: #f3d894; }
.verse-jump__chooser { margin-top: .55rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.verse-jump__chooser summary { min-height: 2.75rem; display: flex; align-items: center; color: #ded7ff; font-size: .76rem; font-weight: 800; cursor: pointer; }
.verse-jump__chooser > div { display: grid; grid-template-columns: 1.25fr .7fr .7fr auto; align-items: end; gap: .55rem; }
.verse-jump__chooser label { display: grid; gap: .3rem; color: var(--study-muted); font-size: .7rem; font-weight: 750; }
.verse-index { max-width: 48rem; margin-top: .75rem; border: 1px solid var(--study-line); border-radius: .75rem; background: rgba(255,255,255,.025); }
.verse-index > summary { min-height: 2.75rem; display: flex; align-items: center; padding: .7rem 1rem; font-weight: 800; cursor: pointer; }
.verse-index > p { margin: 0; padding: 0 1rem 1rem; color: var(--study-muted); font-size: .8rem; }
.verse-index__chapters { display: grid; gap: .5rem; padding: 0 1rem 1rem; }
.verse-index__chapter { border: 1px solid rgba(255,255,255,.14); border-radius: .6rem; background: rgba(255,255,255,.025); }
.verse-index__chapter > summary { min-height: 2.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem .8rem; cursor: pointer; }
.verse-index__chapter > summary span { font-weight: 850; }
.verse-index__chapter > summary small { color: var(--study-muted); font-size: .72rem; }
.verse-index__chapter > nav { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 .8rem .8rem; }
.verse-index__chapters a { min-width: 2.75rem; min-height: 2.75rem; display: inline-grid; place-items: center; border: 1px solid var(--study-line); border-radius: .45rem; color: #e4ddff; font-size: .76rem; font-weight: 800; text-decoration: none; }

.passage-shell { padding: clamp(2.5rem, 5vw, 4.5rem) 0; background: var(--paper); color: var(--ink); }
.passage-layout { display: grid; grid-template-columns: 230px minmax(0, var(--reader-width)); justify-content: center; align-items: start; gap: clamp(2rem, 5vw, 4.5rem); }
.passage-rail { position: sticky; top: calc(var(--study-warning-h) + 1rem); display: grid; gap: .55rem; max-height: calc(100vh - var(--study-warning-h) - 2rem); overflow: auto; padding: 1rem; border: 1px solid var(--paper-line); border-radius: .85rem; background: rgba(255, 253, 248, .85); }
.passage-rail .eyebrow { color: #6d57bd; }
.passage-rail > strong { font-size: 1.1rem; }
.passage-rail > span { color: var(--ink-soft); font-size: .8rem; }
.progress-track { height: .32rem; margin-top: .35rem; overflow: hidden; border-radius: 99px; background: #ddd5c8; }
.progress-track span { height: 100%; display: block; border-radius: inherit; background: var(--study-accent-strong); }
.passage-rail label { margin-top: .45rem; color: var(--ink-soft); font-size: .72rem; font-weight: 800; }
.passage-rail select { width: 100%; min-height: 2.75rem; padding: .55rem; border: 1px solid #c9c0b2; border-radius: .5rem; background: white; color: var(--ink); font: inherit; font-size: .78rem; }
.passage-rail .verse-jump { margin-top: .5rem; padding: .75rem; border-color: #d5caea; background: #f2edff; }
.passage-rail .verse-jump__heading { display: grid; gap: .2rem; }
.passage-rail .verse-jump__heading label { color: #392e58; font-size: .78rem; }
.passage-rail .verse-jump__heading span, .passage-rail .verse-jump__help, .passage-rail .verse-jump__noscript { color: #5d6670; }
.passage-rail .verse-jump__search { grid-template-columns: 1fr; }
.passage-rail .verse-jump__chooser { border-color: #d5caea; }
.passage-rail .verse-jump__chooser summary { color: #4d3c80; }
.passage-rail .verse-jump__chooser > div { grid-template-columns: 1fr; }
.passage-rail .verse-jump__chooser label { color: #5d6670; }
.passage-rail .verse-jump__status { color: #4b3b76; }
.passage-rail .verse-jump__status[data-state="error"] { color: #813838; }
.passage-rail .verse-jump__status[data-state="planned"] { color: #795617; }
.passage-rail__list { display: grid; margin-top: .5rem; border-top: 1px solid var(--paper-line); }
.passage-rail__list a { display: grid; grid-template-columns: 1.6rem 1fr; gap: .1rem .35rem; padding: .65rem .25rem; border-bottom: 1px solid #e5ded3; color: #5c6670; text-decoration: none; }
.passage-rail__list a > span { grid-row: 1 / 3; color: #8b7baa; font-size: .66rem; font-weight: 800; }
.passage-rail__list a strong { color: #323b44; font-size: .76rem; }
.passage-rail__list a small { font-size: .7rem; line-height: 1.25; }
.passage-rail__list a.is-current { margin-inline: -.35rem; padding-inline: .6rem; border-radius: .5rem; background: #ebe5ff; color: #483a7d; }

.passage-reader { min-width: 0; }
.study-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-bottom: .75rem; color: #665b70; font-size: .78rem; font-weight: 750; }
.study-breadcrumb > * { min-height: 2.75rem; display: inline-flex; align-items: center; }
.study-breadcrumb > * + *::before { margin-right: .35rem; color: #948a9d; content: "/"; }
.study-breadcrumb a { color: #5b469e; text-decoration: none; }
.passage-pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: .65rem; color: #685d73; font-size: .8rem; font-weight: 800; }
.passage-pager a, .passage-pager > span[aria-disabled="true"] { min-height: 2.75rem; display: flex; align-items: center; text-decoration: none; }
.passage-pager a:last-child { justify-content: flex-end; text-align: right; }
.passage-pager a[aria-disabled="true"] { color: #9d958c; pointer-events: none; }
.passage-pager--top a[aria-disabled="true"] { border-color: #d9d2c9; background: #f3f0eb; box-shadow: none; }
.passage-pager--top a[aria-disabled="true"] strong, .passage-pager--top a[aria-disabled="true"] .passage-pager__label { color: #8a828e; }
.passage-pager--top { margin-top: .65rem; scroll-margin-top: calc(var(--study-warning-h) + 5rem); }
.passage-pager--top .passage-pager__control { min-width: 0; min-height: 4.65rem; display: grid; align-content: center; gap: .12rem; padding: .65rem .8rem; border: 1px solid #c9bddf; border-radius: .8rem; background: #f4f0ff; box-shadow: 0 5px 15px rgba(60, 42, 110, .08); color: #483377; }
.passage-pager--top .passage-pager__control:hover, .passage-pager--top .passage-pager__control:focus-visible { border-color: #7759bd; background: #ebe4ff; box-shadow: 0 8px 22px rgba(60, 42, 110, .14); }
.passage-pager--top .passage-pager__control--next { justify-items: end; text-align: right; }
.passage-pager--top .passage-pager__label { color: #6b5f78; font-size: .66rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.passage-pager--top .passage-pager__control strong { max-width: 100%; overflow: hidden; color: #3f2d70; font-size: 1rem; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.passage-pager--top .passage-pager__title { max-width: 100%; overflow: hidden; color: #71657b; font-size: .7rem; font-weight: 650; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.passage-pager__position { min-width: 5.1rem; display: grid; place-content: center; gap: .05rem; padding-inline: .35rem; color: #6c6176; text-align: center; }
.passage-pager__position span { font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; }
.passage-pager__position strong { color: #3d3154; font-size: .88rem; }
.passage-header { padding: .35rem 0 .65rem; border-bottom: 0; scroll-margin-top: -.75rem; }
.passage-header .eyebrow { color: #6d57bd; }
.passage-header h1, .passage-header h2 { max-width: 30ch; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.thought-unit-note { max-width: 44rem; margin: 1.25rem 0 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }

.study-stage-nav { position: sticky; top: calc(var(--study-warning-h) + .15rem); z-index: 12; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; margin: .35rem 0 .75rem; padding: .55rem .65rem; border: 1px solid #d3cbbb; border-radius: .8rem; background: rgba(255, 253, 248, .96); box-shadow: 0 8px 24px rgba(40, 32, 20, .08); backdrop-filter: blur(12px); }
.study-stage-nav__context { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.study-stage-nav__context strong { color: #392e58; font-size: .78rem; }
.study-stage-nav__context span { color: #6a6074; font-size: .7rem; }
.study-stage-nav__context span + span::before { margin-right: .45rem; color: #a197a9; content: "·"; }
.study-stage-nav__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem; }
.study-stage-nav__links a { min-height: 2.75rem; display: grid; place-items: center; padding: .4rem .55rem; border-radius: .55rem; color: #5e5369; font-size: .72rem; font-weight: 850; text-decoration: none; }
.study-stage-nav__links a[aria-current="step"] { background: #e9e2ff; color: #3f2d7d; }

.reader-stage { padding-top: 1.25rem; scroll-margin-top: calc(var(--study-warning-h) + 5rem); }
.reader-stage:first-of-type { padding-top: .7rem; }
.reader-stage + .reader-stage { margin-top: 2.4rem; padding-top: 3rem; border-top: 2px solid #cec4b5; }
.reader-stage__header { max-width: 42rem; margin-bottom: .35rem; }
.reader-stage__header > span { color: #6a54b2; font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.reader-stage__header h2, .reader-stage__header h3 { margin: .35rem 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 2.65rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.reader-stage__header p { margin: .7rem 0 0; color: var(--ink-soft); line-height: 1.65; }

.reader-section { padding: 2.2rem 0; border-bottom: 1px solid var(--paper-line); }
.passage-text--lead { padding: 0 0 1.1rem; border-bottom: 0; }
.reader-section__heading { display: grid; grid-template-columns: 2.25rem 1fr; align-items: start; gap: .8rem; margin-bottom: 1.1rem; }
.reader-section__heading > span { width: 2.05rem; height: 2.05rem; display: grid; place-items: center; border: 1px solid #cfc5b5; border-radius: 99px; color: #745ebf; font-size: .7rem; font-weight: 900; }
.reader-section__heading h3, .reader-section__heading h4 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.reader-section > p, .reader-section > div:not(.reader-section__heading):not(.context-pair):not(.evidence-grid):not(.word-grid):not(.application-list) { font-size: 1.04rem; line-height: 1.8; }
.reader-section--summary, .reader-section--why, .reader-section--truth, .reader-section--example { margin: 1.3rem 0; padding: 1.5rem; border: 1px solid #d3c9b9; border-radius: .9rem; background: var(--paper-raised); }
.reader-section--why { border-color: #c8b9f0; background: #f1edff; }
.reader-section--truth { border-color: #cbb47e; background: #fff8e8; }
.reader-section--limits { margin-top: 1rem; padding-inline: 1.25rem; border: 1px solid #dbc7c7; border-radius: .9rem; background: #fff8f6; }
.reader-section--example { background: #edf5ef; border-color: #bdd2c2; }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.passage-text__identity { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; color: var(--ink-soft); font-size: .78rem; }
.scripture-verses { padding: 1.35rem; border: 1px solid var(--paper-line); border-radius: .85rem; background: #eee8dd; }
.scripture-paragraph { margin: 0 0 1rem; break-inside: avoid; font-family: Georgia, "Times New Roman", serif; font-size: 1.03rem; line-height: 1.82; }
.scripture-paragraph:last-child { margin-bottom: 0; }
.scripture-verse { min-height: 2.85rem; display: grid; grid-template-columns: 4.15rem minmax(0, 1fr); align-items: start; gap: .7rem; margin-inline: -.4rem; padding: .3rem .4rem; border-left: 3px solid transparent; border-radius: .5rem; scroll-margin-top: calc(var(--study-warning-h) + 5rem); }
.scripture-verse + .scripture-verse { margin-top: .28rem; }
.scripture-verse:target, .scripture-verse:focus { border-left-color: #745ebf; background: #e4dcf7; outline: none; }
.scripture-verse__text { padding-top: .35rem; }
.verse-lens-link { min-width: 4rem; min-height: 2.75rem; display: grid; place-items: center; align-content: center; border: 1px solid #bcaedc; border-radius: .55rem; background: #f7f2ff; color: #50398e !important; font-family: system-ui, sans-serif; font-size: .84rem; font-weight: 900; line-height: 1; text-decoration: none; }
.verse-lens-link__number { font-size: .86rem; }
.verse-lens-link__label { margin-top: .2rem; font-size: .54rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.verse-lens-link:hover, .verse-lens-link:focus-visible { border-color: #745ebf; background: #e8e0ff; }
.supplied-word { font-style: italic; }
.kjv-language-note { margin-top: .9rem; padding: .9rem 1rem; border-left: 3px solid #745ebf; background: #f1edff; }
.kjv-language-note strong { font-size: .78rem; }
.kjv-language-note p { margin: .35rem 0 0; color: var(--ink-soft); font-size: .84rem; line-height: 1.55; }
.passage-text__supplied-note { margin: .75rem 0 0; color: var(--ink-soft); font-size: .75rem !important; line-height: 1.5 !important; }
.passage-text__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; color: var(--ink-soft); font-size: .75rem; }
.passage-text__footer a { min-height: 2.75rem; display: inline-flex; align-items: center; color: #5e48ae; font-weight: 800; }
.passage-link-notice { padding: 1.25rem; border: 1px solid #c9bdea; border-radius: .8rem; background: #f1edff; }
.passage-link-notice p { margin: 0; line-height: 1.7; }
.context-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.context-pair article { padding: 1rem; border-left: 3px solid #ab98e5; background: #eee9df; }
.context-pair span { color: #6a55b4; font-size: .7rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.context-pair p { margin: .55rem 0 0; color: var(--ink-soft); line-height: 1.65; }
.reasoning-flow { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.reasoning-flow::before { position: absolute; top: 1.1rem; bottom: 1.1rem; left: 1rem; width: 2px; background: #c8bee5; content: ""; }
.reasoning-flow li { position: relative; display: grid; grid-template-columns: 2.15rem 1fr; align-items: start; gap: .85rem; padding: .55rem 0; }
.reasoning-flow__number { z-index: 1; width: 2.05rem; height: 2.05rem; display: grid; place-items: center; border: 2px solid #a38bdc; border-radius: 50%; background: var(--paper); color: #5a429e; font-size: .72rem; font-weight: 900; }
.reasoning-flow p { margin: .25rem 0 0; line-height: 1.65; }
.evidence-grid, .word-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.evidence-card, .word-card { padding: 1rem; border: 1px solid var(--paper-line); border-radius: .75rem; background: var(--paper-raised); }
.evidence-card h4, .word-card h4 { margin: 0; font-size: .94rem; }
.evidence-card p, .word-card p { margin: .55rem 0 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.6; }
.word-card__original { color: #684fb2 !important; font-size: .77rem !important; font-weight: 700; }
#not-saying { display: grid; gap: .75rem; }
.limit-introduction, .limit-context { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.limit-context { margin-top: .2rem; padding-top: .8rem; border-top: 1px solid #e0cccc; }
.limit-card { padding-left: 1rem; border-left: 3px solid #ba7676; }
.limit-card p { margin: 0; line-height: 1.7; }
.limit-card small { display: block; margin-top: .4rem; color: #7d6666; line-height: 1.5; }
.application-list { display: grid; gap: .85rem; }
.application-card { padding: 1.05rem; border: 1px solid var(--paper-line); border-radius: .75rem; background: var(--paper-raised); }
.application-card h4, .application-card > p { margin: 0; }
.application-card > p { margin-top: .45rem; color: var(--ink-soft); line-height: 1.65; }
.application-trace { padding: .1rem 1rem; border: 1px solid #d6ccec; border-radius: .75rem; background: #f4f0ff; }
.application-trace summary { min-height: 2.75rem; display: flex; align-items: center; padding: .65rem 0; color: #654fae; font-size: .78rem; font-weight: 850; cursor: pointer; }
.application-chain { display: grid; gap: .6rem; margin-top: .65rem; }
.application-chain div { display: grid; grid-template-columns: 8rem 1fr; gap: .65rem; }
.application-chain strong { font-size: .72rem; }
.application-chain p { margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; }

.passage-sources { margin: 2rem 0; border: 1px solid var(--paper-line); border-radius: .85rem; background: var(--paper-raised); }
.passage-sources > summary { min-height: 3.25rem; display: flex; align-items: center; padding: .85rem 1rem; color: #5e48ae; font-weight: 850; cursor: pointer; }
.passage-sources > p { margin: 0; padding: 0 1rem 1rem; color: var(--ink-soft); line-height: 1.6; }
.passage-sources__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0 1rem 1rem; }
.passage-source-card { padding: 1rem; border: 1px solid var(--paper-line); border-radius: .7rem; background: var(--paper); }
.passage-source-card h4 { margin: .35rem 0; }
.passage-source-card p { margin: .35rem 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.passage-source-card a { min-height: 2.75rem; display: inline-flex; align-items: center; color: #5e48ae; font-size: .8rem; font-weight: 800; }
.source-card__role { color: #745ebf !important; font-weight: 850; text-transform: capitalize; }

.verse-lens-shell { padding: clamp(1.5rem, 4vw, 4rem) 0; background: var(--paper); color: var(--ink); }
.verse-lens-layout { display: grid; grid-template-columns: minmax(0, var(--reader-width)); justify-content: center; }
.verse-lens-reader { min-width: 0; }
.verse-lens__header { padding: 1.5rem 0 1.25rem; }
.verse-lens__header .eyebrow { color: #654da8; }
.verse-lens__header h1 { max-width: 18ch; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 7vw, 4.7rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.verse-lens__header > p:last-child { max-width: 40rem; margin: 1rem 0 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; }
.verse-lens__scripture { position: relative; padding: 1.4rem 1.4rem 1.25rem; border: 2px solid #745ebf; border-radius: 1rem; background: #eee8dd; box-shadow: 0 16px 40px rgba(47, 36, 71, .09); }
.verse-lens__scripture p { display: grid; grid-template-columns: 2rem 1fr; gap: .5rem; margin: .8rem 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.15rem, 2.8vw, 1.45rem); line-height: 1.75; }
.verse-lens__scripture sup { padding-top: .3rem; color: #5b419f; font-family: system-ui, sans-serif; font-size: .72rem; font-weight: 900; }
.verse-lens__scripture-text { min-width: 0; }
.selected-verse-label { display: inline-flex; align-items: center; min-height: 1.8rem; padding: .3rem .55rem; border-radius: 999px; background: #745ebf; color: white; font-size: .68rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.verse-lens__attribution { margin: .55rem 0 0; color: var(--ink-soft); font-size: .74rem; line-height: 1.5; }
.verse-lens__attribution a { min-height: 2.75rem; display: inline-flex; align-items: center; color: #563e9b; font-weight: 800; }
.verse-context-card { margin: 1.3rem 0; padding: 1.3rem; border: 1px solid #c7b8eb; border-radius: 1rem; background: #f1edff; }
.verse-context-card .eyebrow { color: #664eaa; }
.verse-context-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 500; line-height: 1.2; }
.verse-context-card p { color: var(--ink-soft); line-height: 1.65; }
.verse-lens__section { padding: 1.8rem 0; border-bottom: 1px solid var(--paper-line); }
.verse-lens__section h2, .verse-lens__orientation h2 { margin: 0 0 .8rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 500; letter-spacing: -.02em; }
.verse-lens__section p, .verse-lens__section li, .verse-lens__orientation p { color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.verse-lens__quick { margin: 1.4rem 0 0; padding: 1.35rem; border: 1px solid #cabd9a; border-radius: .9rem; background: #fff8e8; }
.verse-lens__quick p:last-child { margin-bottom: 0; }
.verse-lens__orientation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: 1rem; }
.verse-lens__orientation article { padding: 1.2rem; border: 1px solid var(--paper-line); border-radius: .85rem; background: var(--paper-raised); }
.verse-lens__orientation h2 { font-size: 1.45rem; }
.verse-lens__references { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .75rem; padding: 0; list-style: none; }
.verse-lens__references li { padding: .35rem .55rem; border: 1px solid #d6cce8; border-radius: 99px; background: #f3effb; color: #4d3c80; font-size: .78rem; font-weight: 800; line-height: 1.25; }
.verse-hinge-note { margin: 1rem 0; padding: 1rem 1.15rem; border: 1px solid #cbbce8; border-left: 4px solid #745ebf; border-radius: .85rem; background: #f6f2ff; }
.verse-hinge-note h2 { margin: 0; color: #493772; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 600; }
.verse-hinge-note p { margin: .55rem 0; color: var(--ink-soft); line-height: 1.65; }
.verse-hinge-note a { min-height: 2.75rem; display: inline-flex; align-items: center; color: #493772; font-size: .82rem; font-weight: 850; }
.verse-hinge-note > div + div { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid #d9cfee; }
.verse-cluster { margin: 1rem 0; border: 1px solid #cbbce8; border-radius: .85rem; background: #f6f2ff; }
.verse-cluster > summary { min-height: 3rem; display: flex; align-items: center; padding: .75rem 1rem; color: #523c90; font-weight: 850; cursor: pointer; }
.verse-cluster > div { padding: 0 1rem 1rem; }
.verse-cluster > div > p { color: var(--ink-soft); line-height: 1.6; }
.verse-cluster__text { display: grid; gap: .6rem; padding: 1rem; border: 1px solid #d8d0c2; border-radius: .7rem; background: #eee8dd; }
.verse-cluster__text p { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .35rem; margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.7; }
.verse-cluster__text sup { color: #5b419f; font-family: system-ui, sans-serif; font-size: .68rem; font-weight: 850; }
.verse-context-flow { display: grid; gap: .65rem; margin: 0; padding-left: 1.5rem; list-style: decimal; }
.verse-context-flow li { padding: .8rem 1rem; border-radius: .65rem; background: #eee9df; }
.verse-phrase-grid { display: grid; gap: .75rem; }
.verse-phrase-card { padding: 1rem; border: 1px solid var(--paper-line); border-radius: .75rem; background: var(--paper-raised); }
.verse-phrase-card h3, .verse-phrase-card p { margin: 0; }
.verse-phrase-card h3 { font-size: 1rem; }
.verse-phrase-card p { margin-top: .55rem; font-size: .9rem; }
.verse-phrase-card__why { padding-top: .55rem; border-top: 1px solid #e0d8cb; }
.verse-lens__limits { margin-top: 1.2rem; padding: 1.3rem; border: 1px solid #dbc7c7; border-radius: .9rem; background: #fff8f6; }
.verse-lens__limits p { padding-left: 1rem; border-left: 3px solid #ba7676; }
.verse-lens__truth { margin-top: 1rem; padding: 1.3rem; border: 1px solid #cbb47e; border-radius: .9rem; background: #fff8e8; }
.verse-lens__continue { margin: 1.3rem 0; padding: 1.35rem; border: 1px solid #c7b8eb; border-radius: .9rem; background: #f1edff; }
.verse-lens__continue .study-button { margin-top: .25rem; }
.verse-lens__deeper { margin: 1.2rem 0; border: 1px solid var(--paper-line); border-radius: .85rem; background: var(--paper-raised); }
.verse-lens__deeper > summary { min-height: 3.2rem; display: flex; align-items: center; padding: .8rem 1rem; color: #563e9b; font-weight: 850; cursor: pointer; }
.verse-lens__deeper > div { padding: 0 1rem 1rem; }
.verse-lens__deeper > div > p, .verse-lens__deeper > div > a { color: var(--ink-soft); font-size: .85rem; line-height: 1.6; }
.verse-lens__deeper > div > a { min-height: 2.75rem; display: inline-flex; align-items: center; color: #563e9b; font-weight: 800; }
.verse-lens__uncertainty { margin: .8rem 0; padding: .9rem; border-left: 3px solid #a07a31; background: #fff8e8; }
.verse-lens__uncertainty h3, .verse-lens__uncertainty p { margin: 0; }
.verse-lens__uncertainty p { margin-top: .45rem; }
.verse-teach-back label { display: block; margin: .8rem 0 .4rem; color: var(--ink-soft); font-size: .8rem; font-weight: 800; }
.verse-teach-back textarea { width: 100%; padding: .9rem; border: 1px solid #bfb5a7; border-radius: .65rem; background: white; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.55; resize: vertical; }
.verse-teach-back .study-button { margin-top: .7rem; }
.verse-lens-reader > .verse-jump { max-width: none; margin: 1.3rem 0; border-color: #d3c9e6; background: #f2edff; }
.verse-lens-reader > .verse-jump .verse-jump__heading label { color: #392e58; }
.verse-lens-reader > .verse-jump .verse-jump__heading span, .verse-lens-reader > .verse-jump .verse-jump__help, .verse-lens-reader > .verse-jump .verse-jump__noscript { color: #5d6670; }
.verse-lens-reader > .verse-jump .verse-jump__chooser { border-color: #d5caea; }
.verse-lens-reader > .verse-jump .verse-jump__chooser summary { color: #4d3c80; }
.verse-lens-reader > .verse-jump .verse-jump__chooser label { color: #5d6670; }
.verse-lens-reader > .verse-jump .verse-jump__status { color: #4b3b76; }
.verse-lens-pager { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .65rem; padding-top: 1.25rem; border-top: 1px solid var(--paper-line); }
.verse-lens-pager > * { min-height: 3.25rem; display: grid; align-content: center; gap: .15rem; padding: .65rem; border: 1px solid var(--paper-line); border-radius: .65rem; color: #493772; text-decoration: none; }
.verse-lens-pager > span { color: #7a727f; }
.verse-lens-pager span { font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.verse-lens-pager strong { font-size: .78rem; }
.verse-lens-pager__section { background: #f1edff; text-align: center; }

.permissions-page { padding: clamp(2.5rem, 6vw, 5rem) 0; background: var(--paper); color: var(--ink); }
.permissions-page__inner { max-width: 56rem; }
.permissions-page__header { padding: 2rem 0; border-bottom: 1px solid var(--paper-line); }
.permissions-page__header h1 { margin: .45rem 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 7vw, 4.6rem); font-weight: 500; letter-spacing: -.04em; }
.permissions-page__header > p:last-child { max-width: 44rem; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.7; }
.permissions-page__inner > section { padding: 1.8rem 0; border-bottom: 1px solid var(--paper-line); }
.permissions-page__inner > section h2 { margin: 0 0 .75rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 500; }
.permissions-page__inner > section p, .permissions-page__inner > section li { color: var(--ink-soft); line-height: 1.7; }
.permissions-page__inner > section a { color: #5e48ae; font-weight: 750; }
.permissions-facts { display: grid; gap: .55rem; margin: 0 0 1.25rem; }
.permissions-facts div { display: grid; grid-template-columns: minmax(9rem, .45fr) 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #ded7ca; }
.permissions-facts dt { color: #6b55b0; font-size: .78rem; font-weight: 850; }
.permissions-facts dd { margin: 0; overflow-wrap: anywhere; }
.permissions-facts code { font-size: .72rem; }
.permissions-page__legal { padding: 1rem; border-left: 3px solid #745ebf; background: #f1edff; }

.teach-back label { display: block; margin: 1rem 0 .45rem; color: var(--ink-soft); font-size: .78rem; font-weight: 800; }
.teach-back textarea { width: 100%; padding: .9rem; resize: vertical; border: 1px solid #bfb5a7; border-radius: .65rem; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.55; }
.teach-back__privacy { color: #665d6d; font-size: .78rem !important; }
.teach-back .study-button { margin-top: .8rem; }
.teach-back__result { margin-top: 1rem; padding: 1rem; border: 1px solid #b7a9dc; border-radius: .75rem; background: #f1edff; }
.teach-back__result h4 { margin: 1rem 0 .4rem; }
.teach-back__result h4:first-child { margin-top: 0; }
.teach-back__result p, .teach-back__result ul { margin: .4rem 0 0; line-height: 1.55; }
.teach-back-warning { color: #873f3f; }
.teach-back__retry { margin-top: 1rem !important; font-weight: 700; }

.deep-study { padding: 2.2rem 0; }
.deep-study .section-heading { color: var(--ink); }
.deep-study .section-heading .eyebrow { color: #6d57bd; }
.deep-study .section-heading > p:last-child { color: var(--ink-soft); }
.deep-study__grid { display: grid; gap: .65rem; margin-top: 1.4rem; }
.deep-detail { border: 1px solid var(--paper-line); border-radius: .7rem; background: var(--paper-raised); }
.deep-detail > summary { min-height: 3.6rem; padding: .9rem 1rem; cursor: pointer; }
.deep-detail > summary span { display: grid; gap: .2rem; }
.deep-detail > summary small { color: var(--ink-soft); font-size: .73rem; font-weight: 500; }
.deep-detail__content { display: grid; gap: .7rem; padding: 0 1rem 1rem; }
.research-card, .locator-card { padding: .9rem; border-radius: .6rem; background: #f2ede4; }
.research-card h4, .research-card p, .locator-card p { margin: 0; }
.research-card p, .locator-card p { margin-top: .45rem; color: var(--ink-soft); font-size: .86rem; line-height: 1.6; }
.research-card__reference, .certainty-label { display: inline-block; margin-bottom: .4rem; color: #6a54b2; font-size: .68rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.view-option, .misuse-row { margin-top: .7rem; padding-top: .7rem; border-top: 1px solid #dcd4c7; }
.view-judgment { margin-top: .8rem !important; color: var(--ink) !important; font-weight: 650; }
.deep-detail__empty { color: var(--ink-soft); font-style: italic; }
.passage-pager--bottom { grid-template-columns: 1fr 1fr; padding-top: 1.5rem; border-top: 1px solid var(--paper-line); }

.secondary-section { padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--study-line); }
.secondary-section:nth-of-type(odd) { background: var(--study-bg-soft); }
.secondary-section__layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3rem; }
.secondary-section__layout .secondary-detail { grid-column: 1 / -1; }
.method-flow { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.method-flow li { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1rem; padding: 1rem; border: 1px solid var(--study-line); border-radius: .7rem; background: rgba(255, 255, 255, .035); }
.method-flow span { color: var(--study-muted); line-height: 1.55; }
.honesty-grid, .source-grid, .coverage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding: 0 1rem 1rem; }
.honesty-grid article, .source-card, .coverage-card, .current-source-row { padding: 1rem; border: 1px solid var(--study-line); border-radius: .7rem; background: rgba(255, 255, 255, .035); }
.honesty-grid h3, .honesty-grid p, .source-card h3, .source-card p, .coverage-card h3, .coverage-card p { margin: 0; }
.honesty-grid h3 { font-size: .93rem; }
.honesty-grid p, .source-card p, .coverage-card p { margin-top: .45rem; color: var(--study-muted); font-size: .86rem; line-height: 1.6; }
.current-source-trail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.current-source-row { display: grid; gap: .35rem; }
.current-source-row span, .current-source-row p { color: var(--study-muted); font-size: .8rem; line-height: 1.5; }
.current-source-row p { margin: .3rem 0 0; }
.current-source-row a, .source-card a, .policy-links a { color: #cfc4ff; font-size: .8rem; font-weight: 800; }
#sources .secondary-detail, #coverage .secondary-detail { margin-top: 1.5rem; }
.source-card__type, .coverage-card__status { color: var(--study-gold); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.source-card h3, .coverage-card h3 { margin-top: .55rem; font-size: 1rem; }
.source-card small { display: block; margin: .65rem 0; color: #8794a1; line-height: 1.5; }
.source-card__creator { color: #dbe1e7 !important; font-weight: 700; }
.coverage-grid { padding: 0; margin-top: 1.5rem; }
.coverage-card--planned { border-style: dashed; }
#translation-policy { padding: 0 1rem 1rem; }
#translation-policy h3 { margin: 0; }
#translation-policy p { max-width: 55rem; color: var(--study-muted); line-height: 1.65; }
.policy-links { display: flex; flex-wrap: wrap; gap: 1rem; }

.study-load-warning { margin: 1.5rem 0; padding: 1rem; border: 1px solid #b98747; border-radius: .75rem; background: #fff6e8; color: #3f2d1d; }
.study-load-warning h2, .study-load-warning p { margin: 0; }
.study-load-warning h2 { font-size: 1rem; }
.study-load-warning p { margin-top: .4rem; line-height: 1.6; }

.study-footer { border-top: 1px solid var(--study-line); background: #050c14; color: var(--study-text); }
.study-footer__inner { padding-block: 3rem 2rem; }
.study-footer__brand strong { font-size: 1.35rem; letter-spacing: -.03em; }
.study-footer__brand strong span { color: var(--study-accent); }
.study-footer__brand p { max-width: 38rem; margin: .55rem 0 0; color: var(--study-muted); line-height: 1.6; }
.study-footer__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.study-footer__links section { display: grid; align-content: start; }
.study-footer__links h2 { margin: 0 0 .45rem; color: var(--study-gold); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.study-footer__links a { min-height: 2.75rem; display: flex; align-items: center; color: #d6dde4; font-size: .88rem; text-decoration: none; }
.study-footer__note { margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--study-line); border-radius: .7rem; background: rgba(255, 255, 255, .03); }
.study-footer__note strong { color: white; }
.study-footer__note p, .study-footer__legal { margin: .4rem 0 0; color: var(--study-muted); font-size: .82rem; line-height: 1.6; }
.study-footer__note a, .study-footer__legal a { color: #d7ceff; text-decoration: underline; text-underline-offset: .18em; }
.study-footer__legal { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--study-line); }

.study-page :focus-visible { outline: 3px solid #8d74ef; outline-offset: 3px; }

@media (max-width: 980px) {
  .study-hero__grid { grid-template-columns: 1fr; }
  .study-hero__copy { max-width: 48rem; }
  .context-demo { max-width: 46rem; }
  .passage-layout { grid-template-columns: 1fr; }
  .passage-rail { position: static; max-height: none; grid-template-columns: auto 1fr; align-items: center; }
  .passage-rail .eyebrow, .passage-rail > strong, .passage-rail > span, .progress-track { grid-column: 1 / -1; }
  .passage-rail label { margin: 0; }
  .passage-rail__list { display: none; }
  .verse-lens-layout { justify-content: stretch; }
  .secondary-section__layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --study-warning-h: 5.5rem; }
  html { scroll-padding-top: calc(var(--study-warning-h) + .75rem); }
  .study-wrap { width: min(calc(100% - 1.25rem), var(--content-width)); }
  .study-ai-disclosure__inner { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .35rem .65rem; padding-block: .6rem; }
  .study-ai-disclosure__pill { margin-top: .08rem; }
  .study-ai-disclosure p { font-size: .77rem; }
  .study-nav__inner { min-height: 3.5rem; }
  .study-wordmark { font-size: 1rem; }
  .study-nav__links a { padding-inline: .5rem; font-size: .74rem; }
  .study-nav__links a:first-child, .study-nav__links a:nth-child(4), .study-nav__links a:nth-child(5) { display: none; }
  .study-hero { padding: 3.25rem 0; }
  .study-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .study-hero__lead { font-size: 1.05rem; }
  .hero-actions { display: grid; }
  .study-button { width: 100%; }
  .verse-jump__heading { align-items: start; flex-direction: column; gap: .2rem; }
  .verse-jump__search { grid-template-columns: 1fr; }
  .verse-jump__chooser > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verse-jump__chooser button { grid-column: 1 / -1; }
  .verse-index__chapters { padding-inline: .7rem; }
  .context-demo__comparison { grid-template-columns: 1fr; }
  .context-demo__arrow { justify-self: center; transform: rotate(90deg); }
  .section-heading--split { align-items: start; flex-direction: column; }
  .book-review-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-overview__grid, .overview-disclosure, .evidence-grid, .word-grid, .honesty-grid, .source-grid, .coverage-grid, .current-source-trail { grid-template-columns: 1fr; }
  .movement-card summary { grid-template-columns: 1fr; gap: .45rem; }
  .movement-card ol { padding: .9rem 1rem 1.15rem 2.35rem; }
  .passage-shell { padding-top: 1rem; }
  .passage-rail { grid-template-columns: 1fr; padding: .85rem; }
  .passage-rail > * { grid-column: 1 !important; }
  .passage-rail label { margin-top: .25rem; }
  .passage-rail select { width: 100%; font-size: .88rem; }
  .passage-pager--top { gap: .35rem; }
  .passage-pager--top .passage-pager__control { min-height: 4.5rem; padding: .55rem .6rem; }
  .passage-pager--top .passage-pager__control strong { font-size: .92rem; }
  .passage-pager--top .passage-pager__title { display: none; }
  .passage-pager__position { min-width: 4.5rem; }
  .passage-header { padding: .2rem 0 .55rem; }
  .passage-header h1, .passage-header h2 { font-size: clamp(1.65rem, 7.5vw, 2.25rem); }
  .study-stage-nav { top: calc(var(--study-warning-h) + .1rem); grid-template-columns: 1fr; gap: .25rem; margin-inline: -.15rem; padding: .45rem; }
  .study-stage-nav__context { justify-content: center; }
  .study-stage-nav__links a { padding-inline: .25rem; font-size: .68rem; }
  .reader-stage { scroll-margin-top: calc(var(--study-warning-h) + 5rem); }
  .reader-stage + .reader-stage { margin-top: 1.5rem; padding-top: 2.25rem; }
  .reader-section { padding: 1.75rem 0; }
  .reader-section--summary, .reader-section--why, .reader-section--truth, .reader-section--example { padding: 1.1rem; }
  .reader-section__heading { grid-template-columns: 1.9rem 1fr; gap: .6rem; }
  .reader-section__heading > span { width: 1.8rem; height: 1.8rem; }
  .reader-section__heading h3, .reader-section__heading h4 { font-size: 1.5rem; }
  .scripture-verses { padding: 1rem; }
  .scripture-verse { grid-template-columns: 4rem minmax(0, 1fr); gap: .55rem; }
  .passage-text__identity { align-items: start; flex-direction: column; gap: .2rem; }
  .context-pair { grid-template-columns: 1fr; }
  .passage-text__footer { align-items: start; flex-direction: column; }
  .application-chain div { grid-template-columns: 1fr; gap: .2rem; }
  .passage-sources__grid { grid-template-columns: 1fr; }
  .permissions-facts div { grid-template-columns: 1fr; gap: .25rem; }
  .method-flow li { grid-template-columns: 1fr; gap: .4rem; }
  .passage-pager--bottom { gap: .5rem; }
  .passage-pager--bottom a, .passage-pager--bottom > span[aria-disabled="true"] { font-size: .74rem; }
  .verse-lens-shell { padding-top: 1rem; }
  .verse-lens__header { padding-top: 1rem; }
  .verse-lens__header h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .verse-lens__scripture { padding: 1.05rem; }
  .verse-lens__scripture p { grid-template-columns: 1.55rem minmax(0, 1fr); gap: .35rem; font-size: 1.12rem; }
  .verse-context-card, .verse-lens__quick, .verse-lens__limits, .verse-lens__truth, .verse-lens__continue { padding: 1.05rem; }
  .verse-lens__orientation { grid-template-columns: 1fr; }
  .verse-lens__section { padding: 1.45rem 0; }
  .verse-context-flow li { padding-right: .8rem; }
  .verse-lens-pager { grid-template-columns: 1fr 1fr; }
  .verse-lens-pager__section { grid-column: 1 / -1; grid-row: 1; }
  .study-footer__links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .study-page *, .study-page *::before, .study-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* The portfolio shell has intentionally broad legacy small-text rules. Keep
   STUDstudy's light reading surface readable after those shared styles load. */
body.study-page .passage-rail__list a > span { color: #553d91 !important; font-size: .72rem !important; }
body.study-page .passage-rail__list a > small { color: #4e5964 !important; font-size: .72rem !important; }
body.study-page .passage-rail__list a.is-current > span,
body.study-page .passage-rail__list a.is-current > small { color: #44316f !important; }
html body.study-page.stud-v3.v4 #study-main .passage-pager a { color: #51445d !important; }
html body.study-page.stud-v3.v4 #study-main .study-breadcrumb a { color: #5b469e !important; }
html body.study-page.stud-v3.v4 #study-main .study-breadcrumb--dark a { color: #ddd5ff !important; }
html body.study-page.stud-v3.v4 #study-main .study-stage-nav__links a { color: #5e5369 !important; }
html body.study-page.stud-v3.v4 #study-main .study-stage-nav__links a[aria-current="step"] { color: #3f2d7d !important; }
body.study-page .scripture-verse sup { color: #5b419f !important; }
html body.study-page.stud-v3.v4 #study-main .verse-lens-link,
html body.study-page.stud-v3.v4 #study-main .verse-lens-link > span,
html body.study-page.stud-v3.v4 #study-main .verse-lens__attribution a,
html body.study-page.stud-v3.v4 #study-main .verse-lens-pager a,
html body.study-page.stud-v3.v4 #study-main .verse-lens-pager a > span,
html body.study-page.stud-v3.v4 #study-main .verse-lens-pager a > strong {
  color: #493772 !important;
}
html body.study-page.stud-v3.v4 #study-main .verse-lens-link__label { font-size: .54rem !important; }
html body.study-page.stud-v3.v4 #study-main .scripture-verse:target,
html body.study-page.stud-v3.v4 #study-main .scripture-verse:focus {
  outline: 3px solid #745ebf !important;
  outline-offset: 2px !important;
}
html body.study-page.stud-v3.v4 #study-main .passage-text__footer a { color: #523c9b !important; }
html body.study-page.stud-v3.v4 #study-main .verse-hinge-note a { color: #493772 !important; }
html body.study-page.stud-v3.v4 #study-main .deep-detail,
html body.study-page.stud-v3.v4 #study-main .deep-detail > summary {
  color: #17202a !important;
  background-color: #fffdf8 !important;
  background-image: none !important;
}
html body.study-page.stud-v3.v4 #study-main .deep-detail > summary small { color: #4d5964 !important; }

/* Fast-path study navigation: put the reader's next action before secondary orientation. */
@view-transition { navigation: none; }

.study-nav__links { overflow: visible; }
.study-nav__links > a[aria-current="page"] { background: rgba(185, 166, 255, .14); color: white; }
.study-book-switcher { position: relative; }
.study-book-switcher > summary { min-height: 2.75rem; display: flex; align-items: center; padding: .7rem .65rem; border-radius: .55rem; color: #e3dcff; font-size: .8rem; font-weight: 800; list-style: none; white-space: nowrap; cursor: pointer; }
.study-book-switcher > summary::-webkit-details-marker { display: none; }
.study-book-switcher > summary::after { margin-left: .35rem; color: var(--study-accent); content: "▾"; }
.study-book-switcher[open] > summary, .study-book-switcher > summary:hover, .study-book-switcher > summary:focus-visible { background: rgba(185, 166, 255, .12); color: white; }
.study-book-switcher > nav { position: absolute; top: calc(100% + .35rem); right: 0; z-index: 30; min-width: 12rem; display: grid; padding: .4rem; border: 1px solid rgba(185, 166, 255, .28); border-radius: .7rem; background: #101c29; box-shadow: 0 14px 34px rgba(0, 0, 0, .34); }
.study-book-switcher > nav a { min-height: 2.75rem; display: flex; align-items: center; padding: .65rem .75rem; border-radius: .45rem; color: #dbe2e9; text-decoration: none; }
.study-book-switcher > nav a[aria-current="page"] { background: rgba(185, 166, 255, .16); color: white; }

.study-hero--library { padding: clamp(1.35rem, 3vw, 2.35rem) 0 !important; }
.study-hero--library .study-hero__copy { max-width: 62rem; }
.study-hero--library h1 { max-width: 21ch; font-size: clamp(2.15rem, 4.5vw, 3.85rem); line-height: 1.02; }
.study-hero--library .study-hero__lead { max-width: 52rem; margin-top: .85rem; font-size: clamp(.98rem, 1.5vw, 1.12rem); line-height: 1.55; }
.study-hero--library .hero-actions { margin-top: 1rem; }
.study-library { padding: clamp(1.4rem, 3.5vw, 3rem) 0; }
.study-library .section-heading--split { align-items: center; }
.study-library .section-heading h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
#book-list { scroll-margin-top: 0; }
.book-library-grid { margin-top: 1rem; }
.book-library-card__copy > p:not(.book-library-card__status) { line-height: 1.5; }
.secondary-section--compact .context-demo { grid-column: 1 / -1; margin-top: .5rem; }
.secondary-section--compact .context-demo h3 { margin: 0 0 1rem; font-family: Georgia, serif; font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 500; }

.book-overview--home { padding: 1.15rem 0 3rem; }
.book-overview--home .study-breadcrumb { margin-bottom: .4rem; }
.book-overview--home .section-heading h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.book-overview__heading > div > p:last-child { max-width: 48rem; margin-top: .55rem; line-height: 1.5; }
.book-overview__actions { margin-top: .9rem; }
.book-section-picker { max-width: 48rem; margin-top: 1rem; padding: .85rem; border: 1px solid rgba(185, 166, 255, .25); border-radius: .85rem; background: rgba(185, 166, 255, .06); scroll-margin-top: calc(var(--study-warning-h) + 4rem); }
.book-section-picker > label { display: block; margin-bottom: .45rem; color: #f4f1ff; font-size: .8rem; font-weight: 850; }
.book-section-picker > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; }
.book-section-picker select, .book-section-picker button { min-height: 2.85rem; padding: .65rem .75rem; border-radius: .55rem; font: inherit; }
.book-section-picker select { min-width: 0; border: 1px solid rgba(255, 255, 255, .3); background: white; color: #17202a; }
.book-section-picker button { border: 1px solid var(--study-accent); background: var(--study-accent); color: #100c24; font-size: .82rem; font-weight: 850; cursor: pointer; }
.book-section-picker button:hover, .book-section-picker button:focus-visible { border-color: #d8ceff; background: #d8ceff; }
.book-section-picker noscript p { margin: .6rem 0 0; color: var(--study-muted); font-size: .78rem; }
.book-sections--primary { margin-top: .75rem; padding: 0; overflow: hidden; scroll-margin-top: calc(var(--study-warning-h) + 4rem); }
.book-sections--primary > summary { min-height: 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; cursor: pointer; list-style: none; }
.book-sections--primary > summary::-webkit-details-marker { display: none; }
.book-sections--primary > summary > span:first-child { display: grid; gap: .15rem; }
.book-sections--primary > summary .eyebrow { margin: 0; }
.book-sections--primary > summary strong { color: white; font-size: .95rem; }
.book-sections--primary > summary small { color: #d9d1f0; font-size: .72rem; font-weight: 800; }
.book-sections--primary > summary small span:last-child, .book-sections--primary[open] > summary small span:first-child { display: none; }
.book-sections--primary[open] > summary small span:last-child { display: inline; }
.book-sections--primary .unit-list { padding: 0 1rem 1rem; border-top: 1px solid var(--study-line); }
.book-quick-tools { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--study-line); }
.book-quick-tools > div h2 { margin: 0; font-size: 1.25rem; }
.book-quick-tools .verse-jump { margin-top: .75rem; }
.book-orientation { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--study-line); }
.book-orientation > header h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.book-overview__intro { margin-top: .85rem; }
.book-review-disclosure { margin-top: 1rem; border: 1px solid var(--study-line); border-radius: .75rem; background: rgba(255,255,255,.025); }
.book-review-disclosure > summary { min-height: 2.75rem; display: flex; align-items: center; padding: .7rem 1rem; color: #d8d1ec; font-size: .8rem; font-weight: 800; cursor: pointer; }
.book-review-disclosure .book-review-status { padding: 0 1rem 1rem; }

.passage-shell { padding-top: .85rem; }
.passage-navigator { margin-bottom: .4rem; padding: .7rem .8rem; }
.passage-navigator__controls { margin-top: .45rem; }
.passage-header { padding: 1rem 0 .45rem; }
.passage-header h1, .passage-header h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
.study-stage-nav { top: calc(var(--study-warning-h) + .1rem); grid-template-columns: auto minmax(0, 1fr); gap: .55rem; margin: .25rem 0 .45rem; padding: .35rem .45rem; border-radius: .65rem; }
.study-stage-nav__context { gap: .3rem; }
.study-stage-nav__context strong { font-size: .72rem; }
.study-stage-nav__context span { font-size: .67rem; }
.study-stage-nav__links a { min-height: 2.75rem; padding: .3rem .4rem; }
.passage-pager--top { position: sticky; top: calc(var(--study-warning-h) + var(--study-stage-h) + .35rem); z-index: 11; margin: 0; gap: 0; overflow: hidden; border: 1px solid #cfc7ba; border-radius: .7rem; background: #fffdf8; box-shadow: 0 4px 14px rgba(40, 32, 20, .06); scroll-margin-top: 0; }
.passage-pager--top .passage-pager__control { min-height: 3.25rem; gap: .05rem; padding: .4rem .65rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.passage-pager--top .passage-pager__control--previous { border-right: 1px solid #ddd6ca; }
.passage-pager--top .passage-pager__control--next { border-left: 1px solid #ddd6ca; }
.passage-pager--top .passage-pager__control:hover, .passage-pager--top .passage-pager__control:focus-visible { background: #eee8fa; box-shadow: none; }
.passage-pager--top .passage-pager__control[aria-disabled="true"] { justify-items: center; background: #f5f2ed; text-align: center; }
.passage-pager--top .passage-pager__control[aria-disabled="true"] .passage-pager__label { display: none; }
.passage-pager--top .passage-pager__control[aria-disabled="true"] strong { color: #756c7b; font-size: .72rem; line-height: 1.2; text-overflow: clip; white-space: normal; }
.passage-pager--top .passage-pager__label { font-size: .59rem; }
.passage-pager--top .passage-pager__control strong { font-size: .92rem; }
.passage-pager--top .passage-pager__title { display: none; }
.passage-pager__position { min-width: 4.8rem; min-height: 3.25rem; color: #4d4160; text-decoration: none; }
.passage-pager .passage-pager__position { display: grid; place-content: center; justify-items: center; }
.passage-pager__position:hover, .passage-pager__position:focus-visible { background: #f3eefb; }
html body.study-page.stud-v3.v4 #study-main .passage-pager--top:focus-visible { outline: 2px solid #8067c7 !important; outline-offset: 2px !important; }
.reader-stage { scroll-margin-top: 0; }
.reader-stage[data-reader-stage="1"] { padding-top: 0; }
.passage-text--lead { padding-bottom: .65rem; }
.thought-unit-note { max-width: none; margin: .45rem 0 .2rem; padding: .8rem .95rem; border-left: 4px solid #8067c7; border-radius: .2rem .65rem .65rem .2rem; background: #eee8fa; color: #37414b; font-size: .95rem; line-height: 1.6; }
.thought-unit-note h3, .thought-unit-note p { margin: 0; }
.thought-unit-note h3 { color: #45326f; font-family: system-ui, sans-serif; font-size: .8rem; letter-spacing: .02em; }
.thought-unit-note p { margin-top: .3rem; }

@media (max-width: 700px) {
  :root { --study-warning-h: 4.65rem; --study-stage-h: 3.55rem; --study-pager-h: 3.15rem; --study-reading-offset: 8.55rem; --study-sticky-h: 11.7rem; }
  html { scroll-padding-top: var(--study-sticky-h); }
  .study-ai-disclosure__inner { gap: .25rem .55rem; padding-block: .45rem; }
  .study-ai-disclosure__pill { padding: .34rem .52rem; font-size: .65rem; }
  .study-ai-disclosure p { font-size: .7rem; line-height: 1.35; }
  .study-nav__inner { min-height: 3.1rem; gap: .35rem; }
  .study-wordmark { font-size: .92rem; }
  .study-nav__links { gap: 0; }
  .study-nav__links a, .study-book-switcher > summary { padding-inline: .38rem; font-size: .68rem; }
  .study-nav__links a:first-child, .study-nav__links a:nth-child(4), .study-nav__links a:nth-child(5) { display: flex; }
  .study-nav__method { display: none !important; }
  .study-book-switcher > nav { position: fixed; top: calc(var(--study-warning-h) + 3.15rem); right: .65rem; left: .65rem; }
  .study-hero--library { padding: 1.15rem 0 1.25rem !important; }
  .study-hero--library h1 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .study-hero--library .study-hero__lead { margin-top: .65rem; font-size: .92rem; line-height: 1.45; }
  .study-hero--library .hero-actions { grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .8rem; }
  .study-hero--library .study-button { min-height: 2.75rem; padding: .65rem .55rem; font-size: .78rem; }
  .study-library { padding-top: 1.1rem; }
  .study-library .section-heading--split { flex-direction: row; align-items: center; }
  .study-library .section-heading .eyebrow { display: none; }
  .study-library .section-heading h2 { font-size: 1.45rem; }
  .coverage-pill { padding: .4rem .55rem; font-size: .66rem; }
  .book-library-grid { margin-top: .75rem; }
  .book-library-card { grid-template-columns: minmax(7rem, .55fr) 1.45fr; }
  .book-library-card__cover { min-height: 10.5rem; padding: .85rem; }
  .book-library-card__copy { padding: .9rem; }
  .book-library-card__copy h3 { font-size: 1.15rem; }
  .book-library-card__copy > p:not(.book-library-card__status) { margin: .45rem 0 .65rem; font-size: .84rem; }
  .book-library-card__copy .study-button { width: auto; min-height: 2.75rem; padding: .62rem .75rem; font-size: .78rem; }
  .book-overview--home { padding-top: .7rem; }
  .book-overview--home .section-heading--split { flex-direction: row; align-items: end; }
  .book-overview--home .section-heading h1 { font-size: 2.35rem; }
  .book-overview__heading .coverage-pill { display: none; }
  .book-overview__heading .eyebrow { margin-bottom: .25rem; }
  .book-overview__heading > div > p:last-child { margin-top: .35rem; font-size: .88rem; }
  .book-overview__actions { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: .4rem; margin-top: .7rem; }
  .book-overview__actions .study-button { width: auto; min-height: 2.75rem; padding: .55rem .35rem; font-size: .7rem; }
  .book-section-picker { margin-top: .75rem; padding: .65rem; }
  .book-section-picker > div { grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; }
  .book-section-picker select, .book-section-picker button { min-height: 2.75rem; padding: .55rem .6rem; font-size: .74rem; }
  .book-sections--primary > summary { min-height: 3.25rem; padding: .65rem .8rem; }
  .book-sections--primary > summary strong { font-size: .84rem; }
  .book-sections .unit-list { grid-template-columns: 1fr; }
  .unit-link { padding: .58rem 0; }
  .book-quick-tools { margin-top: .75rem; }
  .book-orientation { margin-top: 1.5rem; }
  .passage-shell { padding-top: .55rem; }
  .study-stage-nav { grid-template-columns: auto minmax(0, 1fr); gap: .25rem; margin-inline: 0; padding: .3rem; }
  .study-stage-nav__context { justify-content: start; }
  .study-stage-nav__context strong { display: none; }
  .study-stage-nav__context span { font-size: .65rem; }
  .study-stage-nav__links { gap: .1rem; }
  .study-stage-nav__links a { min-height: 2.75rem; padding-inline: .15rem; font-size: .64rem; }
  .passage-pager--top { gap: 0; }
  .passage-pager--top .passage-pager__control { min-height: 3.15rem; padding: .35rem .45rem; }
  .passage-pager--top .passage-pager__control strong { font-size: .82rem; }
  .passage-pager__position { min-width: 4.25rem; min-height: 3.15rem; }
  .reader-stage { scroll-margin-top: 0; }
  .reader-section { padding: 1.35rem 0; }
  .passage-header { padding-top: .85rem; }
  .thought-unit-note { margin-top: .35rem; padding: .75rem .8rem; }
}

@media (max-width: 520px) {
  .study-nav__all-books { display: flex !important; }
  .study-nav__current-book { display: none !important; }
  .book-library-card { grid-template-columns: minmax(6.8rem, .52fr) 1.48fr; }
  .book-library-card__cover { min-height: 10rem; }
  .passage-pager--top { border: 1px solid #cfc7ba; background: #fffdf8; }
}

/* Multi-book library and focused-study navigation */
.study-page details:not([open]) > :not(summary) { display: none !important; }
.study-hero--library { padding: clamp(2.75rem, 5vw, 4.75rem) 0; }
.study-hero--library h1 { max-width: 17ch; font-size: clamp(2.55rem, 5.2vw, 4.75rem); }
.context-demo--compact { padding: clamp(1.15rem, 2.5vw, 1.6rem); }
.study-library { padding: clamp(2.75rem, 5vw, 4.5rem) 0; background: var(--study-bg-soft); }
.book-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.book-library-card { min-width: 0; display: grid; grid-template-columns: minmax(9.5rem, .7fr) 1.3fr; overflow: hidden; border: 1px solid var(--study-line); border-radius: 1rem; background: rgba(255,255,255,.035); }
.book-library-card__cover { min-height: 15rem; display: grid; align-content: space-between; padding: 1.25rem; background: radial-gradient(circle at 85% 10%, rgba(230,194,122,.22), transparent 35%), linear-gradient(155deg, #6d57bd, #2a234b 66%, #111b28); }
.book-library-card--planned .book-library-card__cover { filter: saturate(.55); opacity: .8; }
.book-library-card__cover span { color: #e9dba8; font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.book-library-card__cover strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 500; overflow-wrap: normal; word-break: normal; }
.book-library-card__cover small { color: #ddd6ee; line-height: 1.4; }
.book-library-card__copy { display: flex; flex-direction: column; align-items: flex-start; padding: 1.35rem; }
.book-library-card__status { margin: 0; color: var(--study-gold); font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.book-library-card__copy h3 { margin: .45rem 0 0; font-size: 1.35rem; }
.book-library-card__copy > p:not(.book-library-card__status) { margin: .65rem 0 1rem; color: var(--study-muted); line-height: 1.6; }
.book-library-card__copy .study-button, .book-library-card__pending { margin-top: auto; }
.book-library-card__pending { min-height: 2.75rem; display: inline-flex; align-items: center; color: #c2cad3; font-size: .82rem; font-weight: 800; }
.library-jump { display: grid; grid-template-columns: minmax(13rem, .65fr) minmax(0, 1.35fr); gap: 1.5rem; align-items: start; margin-top: 1.25rem; padding: 1.35rem; border: 1px solid rgba(185,166,255,.28); border-radius: 1rem; background: rgba(185,166,255,.055); }
.library-jump h3, .library-jump p { margin: 0; }
.library-jump h3 { font-size: 1.35rem; }
.library-jump > div > p:last-child { margin-top: .55rem; color: var(--study-muted); line-height: 1.55; }
.library-jump .verse-jump { max-width: none; margin-top: 0; }
.secondary-section--compact { padding: clamp(2.75rem, 5vw, 4.5rem) 0; }
.method-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; grid-column: 1 / -1; }
.method-links a { min-height: 2.75rem; display: inline-flex; align-items: center; color: #d8cfff; font-weight: 800; }
.honesty-summary { padding: 0 1rem 1rem; color: var(--study-muted); line-height: 1.65; }

.book-overview--home { padding-top: 2rem; }
.book-overview--home .section-heading h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.05em; }
.study-breadcrumb--dark { color: var(--study-muted); }
.study-breadcrumb--dark a { color: #ddd5ff; }
.book-overview__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.book-sections { padding: 1.2rem; border: 1px solid var(--study-line); border-radius: .85rem; background: rgba(255,255,255,.025); }
.book-sections h2 { margin: 0 0 .65rem; font-size: 1.2rem; }
.book-sections .unit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; padding: 0; }

.passage-layout { display: block; width: min(100%, var(--reader-width)); }
.passage-navigator { margin-bottom: .65rem; padding: .85rem; border: 1px solid var(--paper-line); border-radius: .8rem; background: var(--paper-raised); }
.passage-navigator__identity { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .65rem; }
.passage-navigator__identity > span { color: var(--ink-soft); font-size: .72rem; }
.passage-navigator__identity strong { font-size: .9rem; }
.passage-navigator__controls { display: block; margin-top: .65rem; }
.passage-navigator__controls > label { display: block; margin-bottom: .45rem; color: var(--ink-soft); font-size: .72rem; font-weight: 800; }
.passage-navigator__selector { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: .5rem; }
.passage-navigator select { min-height: 2.75rem; padding: .55rem; border: 1px solid #c9c0b2; border-radius: .5rem; background: white; color: var(--ink); font: inherit; font-size: .82rem; }
.passage-navigator__selector > button { min-height: 2.75rem; padding: .55rem .85rem; border: 1px solid #6851a8; border-radius: .5rem; background: #5f479e; color: white; font: inherit; font-size: .76rem; font-weight: 850; white-space: nowrap; cursor: pointer; }
.passage-navigator__shortcuts { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: .5rem; margin-top: .5rem; }
.passage-navigator__shortcuts > a, .passage-tools > summary { min-height: 2.75rem; display: inline-flex; align-items: center; padding: .55rem .7rem; border: 1px solid #c9c0b2; border-radius: .5rem; color: #50398e; font-size: .76rem; font-weight: 850; text-decoration: none; cursor: pointer; }
.passage-navigator__shortcuts > a { justify-content: center; }
.passage-navigator__shortcuts .passage-tools > summary { width: 100%; justify-content: center; }
html body.study-page.stud-v3.v4 #study-main .passage-navigator__shortcuts > a { color: #50398e !important; }
.passage-tools { position: relative; }
.passage-tools[open] { grid-column: 1 / -1; }
.passage-tools[open] > summary { width: max-content; }
.passage-tools .verse-jump { max-width: none; margin-top: .65rem; border-color: #d5caea; background: #f2edff; }
.passage-tools .verse-jump__heading label, .passage-tools .verse-jump__chooser summary { color: #4d3c80; }
.passage-tools .verse-jump__heading span, .passage-tools .verse-jump__help, .passage-tools .verse-jump__noscript, .passage-tools .verse-jump__chooser label { color: #5d6670; }
.passage-tools .verse-jump__status { color: #4b3b76; }
.passage-header { padding: 1.65rem 0 1.4rem; }
.reader-stage + .reader-stage { margin-top: 1.75rem; padding-top: 2.25rem; }
.reader-section { padding: 1.55rem 0; }

.scripture-verse { display: block; min-height: 0; padding: 0; }
.scripture-verse__link { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr) auto; align-items: start; gap: .45rem; min-height: 2.75rem; padding: .45rem .55rem; border: 1px solid transparent; border-radius: .55rem; color: var(--ink) !important; text-decoration: none; }
.scripture-verse__number { padding-top: .32rem; color: #5b419f; font-family: system-ui, sans-serif; font-size: .72rem; font-weight: 900; }
.scripture-verse__text { padding-top: 0; }
.scripture-verse__cue { align-self: center; padding: .35rem .45rem; border-radius: .4rem; background: #e4dcf7; color: #50398e; font-family: system-ui, sans-serif; font-size: .66rem; font-weight: 850; white-space: nowrap; }
.scripture-verse__link:hover, .scripture-verse__link:focus-visible { border-color: #9c86d5; background: #e8e0f6; }
html body.study-page.stud-v3.v4 #study-main .scripture-verse__link,
html body.study-page.stud-v3.v4 #study-main .scripture-verse__link .scripture-verse__text { color: #17202a !important; }
.scripture-verse:target { border-left-color: #745ebf; background: #e4dcf7; }
.reasoning-flow { padding-left: 1.5rem; list-style: decimal; }
.reasoning-flow::before { display: none; }
.reasoning-flow li { display: list-item; padding: .45rem 0 .45rem .25rem; }
.reasoning-flow li::marker { color: #5a429e; font-weight: 900; }
.reasoning-flow p { margin: 0; }

.verse-lens__header { padding: .9rem 0 1rem; }
.verse-lens__header h1 { font-size: clamp(2.3rem, 6.3vw, 4.15rem); }
.verse-lens-pager--top { margin: .55rem 0 1rem; padding-top: .75rem; }
.verse-lens__section { padding: 1.4rem 0; }
.verse-context-card { margin: 1rem 0; }
.verse-lens__quick { margin-top: 1rem; }

@media (max-width: 800px) {
  .book-library-grid, .library-jump { grid-template-columns: 1fr; }
  .book-library-card { grid-template-columns: minmax(7.5rem, .55fr) 1.45fr; }
  .book-library-card__cover { min-height: 13rem; }
  .book-sections .unit-list { grid-template-columns: 1fr; }
  .passage-navigator__selector { grid-template-columns: minmax(0, 1fr) auto; }
  .passage-navigator__selector select { min-width: 0; grid-column: 1; }
}

@media (max-width: 520px) {
  .book-library-card { grid-template-columns: 1fr; }
  .book-library-card__cover { min-height: 8.5rem; }
  .passage-shell { padding-top: .75rem; }
  .passage-navigator { padding: .7rem; }
  .passage-navigator__selector { gap: .4rem; }
  .passage-navigator__selector > button { padding-inline: .65rem; }
  .passage-navigator__shortcuts { gap: .4rem; }
  .book-overview__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .book-overview__actions .study-button { width: auto; padding-inline: .55rem; font-size: .78rem; text-align: center; }
  .passage-pager--top { margin-inline: 0; padding: 0; }
  .study-stage-nav { max-width: 100%; margin-inline: 0; }
  .scripture-verses { padding: .65rem; }
  .scripture-verse__link { grid-template-columns: 1.45rem minmax(0, 1fr); padding: .5rem .35rem; }
  .scripture-verse__cue { grid-column: 2; justify-self: start; margin-top: .15rem; }
  .verse-lens-pager--top { position: sticky; top: calc(var(--study-warning-h) + .1rem); z-index: 11; padding: .35rem; border: 1px solid #d3cbbb; border-radius: .7rem; background: rgba(255,253,248,.98); }
}
