:root {
        color-scheme: light dark;
        --paper: #f4f0e8;
        --paper-deep: #e8e0d2;
        --surface: #fffdf8;
        --ink: #211d19;
        --muted: #625a51;
        --line: #cfc3b2;
        --line-strong: #a99983;
        --wine: #701f2a;
        --wine-strong: #50141d;
        --gold: #a77d28;
        --gold-deep: #7d5a12;
        --gold-soft: #e9d8ae;
        --success: #286644;
        --focus: #0b65c2;
        --shadow: 0 16px 44px rgba(49, 35, 24, 0.1);
      }
      @media (prefers-color-scheme: dark) {
        :root {
          --paper: #181614;
          --paper-deep: #211d1a;
          --surface: #25211d;
          --ink: #f3ede3;
          --muted: #c5bbad;
          --line: #4c4339;
          --line-strong: #6c5f50;
          --wine: #d0737e;
          --wine-strong: #f09aa4;
          --gold: #d3ad5d;
          --gold-deep: #d3ad5d;
          --gold-soft: #514327;
          --success: #74c795;
          --focus: #77b9ff;
          --shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
        }
        .support-btn, .topic-chip:hover, .topic-chip[aria-pressed="true"],
        .journey-n, .browse-chip[aria-pressed="true"], .start-num,
        .filter[aria-pressed="true"], .deck-jump-go,
        .section-jump a:hover, .section-jump a:focus-visible,
        .section-jump a[aria-current="true"] { color: #1a1410; }
      }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        background: var(--paper);
        color: var(--ink);
        font-family: "Public Sans", sans-serif;
        line-height: 1.6;
      }
      button, input { font: inherit; }
      button { color: inherit; }
      a { color: var(--wine); text-underline-offset: 3px; }
      :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
      .page { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

      .hero {
        padding: clamp(52px, 9vw, 112px) 0 50px;
        display: grid;
        grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
        gap: clamp(32px, 7vw, 88px);
        align-items: end;
        border-bottom: 1px solid var(--line-strong);
      }
      .edition {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--wine);
        font-weight: 700;
        font-size: 0.76rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }
      .edition::before { content: ""; width: 30px; height: 2px; background: var(--gold); }
      h1, h2, h3, blockquote { font-family: "Literata", serif; }
      h1 {
        font-size: clamp(2.65rem, 7vw, 5.8rem);
        line-height: 0.98;
        letter-spacing: -0.055em;
        max-width: 850px;
        margin: 22px 0 24px;
        font-weight: 600;
      }
      .hero-copy { max-width: 680px; font-size: clamp(1rem, 1.8vw, 1.25rem); color: var(--muted); margin: 0; }
      .hero-verse { max-width: 680px; font-size: 0.98rem; font-style: italic; color: var(--muted); margin: 14px 0 0; }
      .hero-verse span { font-style: normal; font-weight: 600; color: var(--wine); }
      .hero-note { text-align: center; color: var(--muted); font-size: 0.9rem; max-width: 640px; margin: 20px auto 0; }
      .hero-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 8px; }
      .hero-choices a { display: flex; flex-direction: column; justify-content: center; min-height: 84px; padding: 14px 18px; background: var(--surface); border: 2px solid var(--gold); border-radius: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
      .hero-choices a b { font-size: 1.08rem; font-weight: 800; }
      .hero-choices a span { font-size: 0.88rem; color: var(--muted); margin-top: 3px; }
      .hero-choices a:hover, .hero-choices a:focus-visible { background: var(--gold); border-color: var(--gold); }
      .hero-choices a:hover b, .hero-choices a:hover span, .hero-choices a:focus-visible b, .hero-choices a:focus-visible span { color: #1a1714; }
      @media (max-width: 720px) { .hero-choices { grid-template-columns: 1fr; } }
      .hero-search { align-self: end; min-width: 0; }
      .hero-search-label {
        display: block;
        margin-bottom: 9px;
        color: var(--wine);
        font-weight: 700;
        font-size: .78rem;
        letter-spacing: .055em;
      }
      .hero-search-box { position: relative; }
      .hero-search-box::before {
        content: "";
        position: absolute;
        left: 18px;
        top: 50%;
        width: 13px;
        height: 13px;
        border: 2px solid var(--wine);
        border-radius: 50%;
        transform: translateY(-58%);
        pointer-events: none;
      }
      .hero-search-box::after {
        content: "";
        position: absolute;
        left: 31px;
        top: calc(50% + 7px);
        width: 7px;
        height: 2px;
        background: var(--wine);
        transform: rotate(45deg);
        transform-origin: left center;
        pointer-events: none;
      }
      #heroSearch {
        width: 100%;
        min-height: 62px;
        border: 2px solid var(--wine);
        border-radius: 0;
        background: var(--surface);
        color: var(--ink);
        padding: 14px 16px 14px 51px;
        font-size: 1.03rem;
        box-shadow: var(--shadow);
        appearance: none;
      }
      #heroSearch::placeholder { color: var(--muted); opacity: 1; }
      #heroSearch::-webkit-search-cancel-button { cursor: pointer; }
      .hero-search-help { margin: 9px 0 11px; color: var(--muted); font-size: .78rem; }
      .hero-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
      .hero-suggest-label { font-size: .78rem; color: var(--muted); font-weight: 600; }
      .topic-chips { display: flex; flex-wrap: wrap; gap: 7px; }
      .topic-chip {
        min-height: 40px;
        border: 1px solid var(--line-strong);
        border-radius: 999px;
        background: transparent;
        padding: 7px 12px;
        color: var(--ink);
        cursor: pointer;
        font-size: .82rem;
        font-weight: 600;
      }
      .topic-chip:hover, .topic-chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
      .hero-search-results {
        display: none;
        margin-top: 10px;
        border: 1px solid var(--line-strong);
        background: var(--surface);
        box-shadow: var(--shadow);
      }
      .hero-search-results[data-open="true"] { display: block; }
      .hero-result {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        min-height: 44px;
        padding: 9px 12px;
        border: 0;
        border-bottom: 1px solid var(--line);
        background: transparent;
        color: var(--ink);
        cursor: pointer;
        text-align: left;
        line-height: 1.3;
      }
      .hero-result:last-child { border-bottom: 0; }
      .hero-result:hover, .hero-result:focus-visible { background: var(--paper-deep); }
      .hero-result-num { color: var(--gold-deep); font-family: "Literata", serif; font-size: .78rem; padding-top: 2px; }
      .hero-result-title { font-weight: 700; }
      .hero-no-results { margin: 0; padding: 12px 14px; color: var(--muted); font-size: .86rem; }
      .hero-no-results p { margin: 0 0 6px; }
      .hero-no-results p:last-child { margin-bottom: 0; }
      .hero-no-results a { color: var(--wine); font-weight: 600; }
      .mobile-nav-note { display: none; }

      .jump-index { padding: 28px 0 30px; border-bottom: 1px solid var(--line-strong); }
      .jump-index-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
      .jump-index h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); margin: 0; letter-spacing: -.015em; }
      .jump-index p { color: var(--muted); font-size: .86rem; margin: 0; }
      .jump-carousel { min-width: 0; }
      .jump-links {
        display: flex;
        gap: 12px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        touch-action: pan-x pan-y;
        padding: 2px 0 14px;
      }
      .jump-links::-webkit-scrollbar { display: none; }
      .jump-links::after { content: ""; flex: 0 0 calc(100% - clamp(250px, 32%, 340px)); }
      .jump-links a {
        display: grid;
        grid-template-rows: auto 1fr;
        gap: 12px;
        align-content: start;
        flex: 0 0 clamp(250px, 32%, 340px);
        min-height: 116px;
        padding: 17px 18px 18px;
        border: 1px solid var(--line);
        border-top: 3px solid var(--wine);
        color: var(--ink);
        text-decoration: none;
        font-size: .98rem;
        font-weight: 700;
        line-height: 1.35;
        background: color-mix(in srgb, var(--surface) 78%, transparent);
        scroll-snap-align: start;
        scroll-snap-stop: always;
      }
      .jump-links a:hover, .jump-links a:focus-visible { color: var(--wine); background: var(--surface); }
      .jump-links a[aria-current="true"] { background: var(--surface); border-top-color: var(--gold); }
      .jump-num { color: var(--gold-deep); font-family: "Literata", serif; font-size: .78rem; line-height: 1; }
      .jump-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; margin-top: 2px; }
      .jump-dot { width: 24px; height: 24px; padding: 7px; border: 0; background: transparent; cursor: pointer; }
      .jump-dot::before { content: ""; display: block; width: 10px; height: 10px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; }
      .jump-dot[aria-current="true"]::before { background: var(--wine); border-color: var(--wine); }

      .method { padding: 34px 0; border-bottom: 1px solid var(--line); }
      .method ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; counter-reset: steps; }
      .method li { counter-increment: steps; padding: 6px 22px; border-left: 1px solid var(--line); }
      .method li:first-child { border-left: 0; padding-left: 0; }
      .method li::before { content: "0" counter(steps); display: block; color: var(--gold-deep); font-weight: 700; font-size: .75rem; letter-spacing: .08em; margin-bottom: 4px; }
      .method b { display: block; font-family: "Literata", serif; font-size: 1.06rem; }
      .method span { color: var(--muted); font-size: .87rem; line-height: 1.45; display: block; margin-top: 3px; }

      .section { padding: clamp(58px, 8vw, 96px) 0; }
      .section-head { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; margin-bottom: 36px; align-items: start; }
      .section-no { color: var(--gold-deep); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; padding-top: 10px; }
      h2 { font-size: clamp(2rem, 4.4vw, 3.65rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 12px; }
      .section-head p { color: var(--muted); font-size: 1.05rem; max-width: 720px; margin: 0; }

      .deck-shell { min-width: 0; }
      .deck-controls {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr) 50px;
        align-items: center;
        gap: 16px;
        margin-bottom: 18px;
      }
      .deck-arrow {
        width: 50px;
        height: 46px;
        border: 1px solid var(--line-strong);
        background: var(--surface);
        color: var(--wine);
        cursor: pointer;
        font-size: 1.25rem;
        line-height: 1;
      }
      .deck-arrow:hover:not(:disabled) { background: var(--paper-deep); }
      .deck-arrow:disabled { color: var(--muted); opacity: .42; cursor: not-allowed; }
      .deck-position { display: grid; justify-items: center; gap: 8px; min-width: 0; }
      #deckCounter { color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
      .deck-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
      .deck-progress { height: 8px; border-radius: 999px; background: var(--paper-deep); border: 1px solid var(--line); overflow: hidden; min-width: 140px; }
      .deck-progress-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--wine)); transition: width 0.3s ease; }
      .deck-dot {
        /* 24×24 hit area (WCAG 2.2 target size) with the same 10px visible dot. */
        position: relative;
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
      }
      .deck-dot::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 10px;
        height: 10px;
        transform: translate(-50%, -50%);
        border: 1px solid var(--line-strong);
        border-radius: 50%;
        background: transparent;
      }
      .deck-dot[aria-current="true"]::after { background: var(--wine); border-color: var(--wine); }
      /* F8, UI audit: back-to-top button on a very long page. */
      .back-to-top {
        position: fixed;
        right: 18px;
        bottom: 18px;
        z-index: 60;
        padding: 10px 16px;
        border: 1px solid var(--line-strong);
        border-radius: 999px;
        background: var(--surface);
        color: var(--ink);
        font: inherit;
        font-size: .9rem;
        box-shadow: var(--shadow);
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, visibility .2s ease;
      }
      .back-to-top.visible { opacity: 1; visibility: visible; }
      .back-to-top:hover, .back-to-top:focus-visible { border-color: var(--wine); }
      /* F11, UI audit: announced error text for the number-jump inputs. */
      .jump-error { min-height: 1.2em; margin: 4px 0 0; font-size: .82rem; color: var(--wine); }
      .deck-viewport {
        width: 100%;
        overflow: hidden;
        touch-action: pan-y;
        transition: height 220ms ease;
        scroll-margin-top: 18px;
      }
      .deck-track {
        display: block;
        width: 100%;
        transform: none !important;
      }
      .deck-track > .entry {
        width: 100%;
        min-width: 0;
      }
      .deck-track > .entry[aria-hidden="true"] { display: none; }
      .entry {
        background: var(--surface);
        box-shadow: var(--shadow);
        border-top: 5px solid var(--wine);
        scroll-margin-top: 24px;
      }
      .deck .entry + .entry, .deck-track .entry + .entry { margin-top: 0; }
      .entry-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 38px; padding: clamp(28px, 5vw, 54px); border-bottom: 1px solid var(--line); }
      .entry h3 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; margin: 14px 0 18px; }
      .entry-lede { margin: 0; color: var(--muted); font-size: 1.04rem; }
      blockquote { margin: 0; padding: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.45; color: var(--wine); }
      blockquote::before { content: "“"; display: block; color: var(--gold); font-size: 3rem; line-height: .65; margin-bottom: 12px; }
      .entry-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; padding: clamp(28px, 5vw, 54px); }
      .entry-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; position: sticky; top: 22px; align-self: start; }
      .entry-nav button { border: 0; border-bottom: 1px solid transparent; background: transparent; padding: 4px 0; cursor: pointer; color: var(--muted); font-size: .87rem; text-align: left; }
      .entry-nav button[aria-selected="true"] { color: var(--wine); border-color: var(--wine); font-weight: 700; }
      .panel { display: none; }
      .panel.active { display: block; }
      .panel > :first-child { margin-top: 0; }
      .panel h4 { font-family: "Literata", serif; font-size: 1.28rem; margin: 30px 0 8px; }
      .panel p { max-width: 750px; }
      .answer-pillars { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
      .answer-pillars li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
      .answer-pillars .num { font-family: "Literata", serif; color: var(--gold-deep); font-weight: 700; font-size: 1.15rem; }
      .answer-pillars b { color: var(--wine); }
      .answer-pillars p { margin: 3px 0 0; color: var(--muted); }
      .say-it { background: var(--paper-deep); padding: 24px; border-left: 3px solid var(--gold); font-family: "Literata", serif; font-size: 1.1rem; line-height: 1.55; }
      .quick-ref { margin-top: 30px; padding: 21px 22px; background: var(--paper-deep); border-top: 2px solid var(--gold); }
      .quick-ref h4 { margin: 0 0 10px; font-size: 1.08rem; }
      .quick-ref p { margin: 5px 0; color: var(--muted); font-size: .92rem; }
      .quick-ref b { color: var(--ink); }
      .verse-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; }
      .verse-list span { display: inline-block; padding: 4px 8px; background: var(--surface); border: 1px solid var(--line); color: var(--wine); font-size: .82rem; font-weight: 600; line-height: 1.35; }
      .avoid-list { padding-left: 1.2rem; }
      .avoid-list li { margin-bottom: 13px; }
      .references { display: grid; gap: 12px; }
      .reference { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
      button.reference { display: block; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--line); padding: 0 0 12px; font: inherit; color: inherit; cursor: pointer; }
      button.reference:hover b, button.reference:focus-visible b { text-decoration: underline; }
      .reference b { display: block; color: var(--wine); }
      .entry-topic { display: inline-block; margin-left: 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wine); border: 1px solid var(--line-strong); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
      .level-pill, .basis-pill, .audience-pill { display: inline-block; margin-left: 8px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; padding: 2px 10px; border-radius: 999px; border: 1px solid; vertical-align: middle; }
      .level-beginner { color: var(--success); border-color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); }
      .level-intermediate { color: var(--gold); border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); }
      .level-advanced { color: var(--wine); border-color: var(--wine); background: color-mix(in srgb, var(--wine) 10%, transparent); }
      .basis-pill { color: var(--muted); border-color: var(--line-strong); }
      .audience-catholic { background: var(--gold); border-color: var(--gold); color: #1a1714; }
      .audience-common { color: var(--muted); border-color: var(--line-strong); }
      .gloss-term { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-deep); border-bottom: 1px dotted var(--gold-deep); cursor: pointer; }
      .gloss-term:hover, .gloss-term:focus-visible { color: var(--wine); border-bottom-color: var(--wine); }
      .gloss-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; z-index: 70; padding: 20px; }
      .gloss-modal-backdrop[hidden] { display: none; }
      .gloss-modal { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; max-width: 440px; width: 100%; box-shadow: var(--shadow); }
      .gloss-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
      .gloss-modal-head strong { font-size: 1.1rem; font-family: "Literata", serif; }
      .gloss-modal-close { background: none; border: 0; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
      .gloss-modal-close:hover { color: var(--ink); }
      .gloss-modal-body { padding: 18px; font-size: 1rem; line-height: 1.6; }
      .gloss-pron { color: var(--muted); font-style: italic; margin: 0 0 8px; }
      /* Three churches, one ancient faith */
      .apostolic-frame { border: 3px double var(--gold); border-radius: 20px; padding: clamp(24px, 4vw, 44px); background: color-mix(in srgb, var(--gold) 6%, transparent); }
      .church-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
      .church-chips span { font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); border: 2px solid var(--gold-deep); border-radius: 999px; padding: 6px 16px; }
      .pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
      .pillars li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
      .pillar-n { font-family: "Literata", serif; font-size: 2.1rem; font-weight: 700; color: var(--gold); line-height: 1; }
      .pillars h3 { margin: 2px 0 8px; font-size: 1.15rem; }
      .pillars p { margin: 0 0 10px; color: var(--muted); }
      .pillars p:last-child { margin-bottom: 0; }
      .pillars .diff { padding-left: 12px; border-left: 3px solid var(--wine); font-style: italic; }
      .pillars .diff b { font-style: normal; color: var(--wine); }
      .pillars-close { margin: 26px 0 0; font-size: 1.03rem; }
      .pillars-close a { color: var(--gold); font-weight: 700; }
      @media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }
      .journey { margin: 30px 0 8px; }
      .journey ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; margin: 12px 0 0; padding: 0; }
      .journey a { display: block; height: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
      .journey a:hover, .journey a:focus-visible { border-color: var(--gold); }
      .journey-n { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--wine); color: #fff; font-weight: 800; font-size: .85rem; align-items: center; justify-content: center; margin-bottom: 8px; }
      .journey b { display: block; font-size: .95rem; margin-bottom: 4px; }
      .journey-d { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; }
      @media (max-width: 720px) { .journey ol { grid-template-columns: 1fr 1fr; } }
      .label-legend { font-size: .85rem; color: var(--muted); max-width: 70ch; margin: 10px 0 0; line-height: 1.55; }
      .how-to-guide { margin-top: 12px; max-width: 70ch; }
      .how-to-guide summary { cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--wine); }
      .how-to-guide summary::marker { color: var(--wine); }
      .browse-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
      .topic-carousels { display: grid; gap: 30px; }
      .topic-carousel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
      .topic-carousel-head h3 { margin: 0; font-size: 1.12rem; }
      .topic-carousel-head .tcount { color: var(--muted); font-size: 0.88rem; white-space: nowrap; }
      .topic-viewport { touch-action: pan-y; }
      .topic-track > .topic-slide[aria-hidden="true"] { display: none; }
      .topic-slide { display: block; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; cursor: pointer; font: inherit; color: var(--ink); text-align: left; box-shadow: var(--shadow); }
      .topic-slide:hover, .topic-slide:focus-visible { border-color: var(--gold); }
      /* F2, UI audit: "Show all" lists every defense in the topic at once. */
      .topic-head-right { display: flex; align-items: baseline; gap: 12px; }
      .topic-show-all { background: none; border: 0; padding: 2px 0; font: inherit; font-size: .85rem; color: var(--wine); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
      .topic-show-all:hover { color: var(--wine-strong); }
      .topic-carousel.show-all .deck-controls { display: none; }
      .topic-carousel.show-all .topic-track > .topic-slide[aria-hidden="true"] { display: block; }
      .topic-carousel.show-all .topic-track { display: grid; gap: 10px; }
      .topic-num { display: inline-block; font-weight: 800; color: var(--wine); background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 12px; font-size: 0.85rem; margin-bottom: 8px; }
      .topic-level { display: inline-block; margin-left: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; border: 1px solid; vertical-align: 2px; }
      .topic-title { display: block; font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
      .browse-chip { font: inherit; font-size: .85rem; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
      .browse-chip:hover, .browse-chip:focus-visible { border-color: var(--wine); color: var(--wine); }
      .browse-chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
      .browse-groups { display: grid; gap: 26px; }
      .browse-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 1.05rem; }
      .browse-count { font-size: .8rem; color: var(--muted); font-weight: 400; }
      .browse-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
      .browse-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; text-align: left; font: inherit; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; border-radius: 4px; color: inherit; }
      .browse-card:hover, .browse-card:focus-visible { border-color: var(--wine); }
      .browse-card .jump-num { padding-top: 2px; }
      .start-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
      .start-step { display: flex; align-items: center; gap: 12px; width: 100%; font: inherit; text-align: left; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; border-radius: 4px; color: inherit; }
      .start-step:hover, .start-step:focus-visible { border-color: var(--wine); }
      .start-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wine); color: #fff; font-size: .85rem; flex: 0 0 auto; }
      .start-label { font-weight: 600; }
      .pocket-search-wrap { margin-bottom: 18px; }
      #pocketSearch { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); background: var(--surface); color: inherit; padding: 11px 15px; font: inherit; border-radius: 0; }
      .pocket-list { display: grid; gap: 14px; }
      .pocket-item { border: 1px solid var(--line); background: var(--surface); padding: 16px 18px; border-radius: 4px; }
      .pocket-quote { font-family: "Literata", Georgia, serif; font-size: 1.05rem; line-height: 1.5; margin: 0 0 10px; }
      .pocket-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
      .pocket-open { font: inherit; font-size: .85rem; color: var(--wine); background: none; border: none; padding: 0; cursor: pointer; text-align: left; }
      .pocket-open:hover, .pocket-open:focus-visible { text-decoration: underline; }
      .pocket-copy { font: inherit; font-size: .8rem; padding: 6px 14px; border: 1px solid var(--line-strong); background: transparent; color: inherit; cursor: pointer; border-radius: 999px; }
      .pocket-copy:hover, .pocket-copy:focus-visible { border-color: var(--wine); color: var(--wine); }
      .pocket-empty { color: var(--muted); }
      .pocket-group { border: 1px solid var(--line); background: var(--surface); border-radius: 4px; }
      .pocket-group + .pocket-group { margin-top: 10px; }
      .pocket-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; font-weight: 700; list-style: none; }
      .pocket-summary::-webkit-details-marker { display: none; }
      .pocket-summary::after { content: "+"; font-size: 1.2rem; color: var(--wine); font-weight: 400; }
      .pocket-group[open] .pocket-summary::after { content: "\u2212"; }
      .pocket-summary:hover { color: var(--wine); }
      .pocket-group .pocket-item { border: none; border-top: 1px solid var(--line); border-radius: 0; }
      .sacraments-viewport { touch-action: pan-y; scroll-margin-top: 18px; }
      .sacraments-track > .sacrament-slide[aria-hidden="true"] { display: none; }
      .sacrament-slide { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); text-align: center; }
      .sacrament-icon { font-size: 3rem; line-height: 1; margin-bottom: 10px; }
      .sacrament-tag { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--gold-deep); font-weight: 700; margin: 0 0 6px; }
      .sacrament-slide h3 { font-family: "Literata", Georgia, serif; font-size: 1.5rem; margin: 0 0 8px; color: var(--ink); }
      .sacrament-slide p { color: var(--muted); font-size: .98rem; line-height: 1.6; margin: 8px auto 0; max-width: 56ch; }
      .sacrament-refs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
      .sacrament-refs span { font-size: .8rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; color: var(--muted); }
      .sacrament-defenses { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
      .sacrament-defenses p { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
      .sacrament-defenses button { font: inherit; font-size: .88rem; color: var(--wine); background: none; border: none; padding: 4px 6px; cursor: pointer; }
      .sacrament-defenses button:hover, .sacrament-defenses button:focus-visible { text-decoration: underline; }
      .reference span { color: var(--muted); font-size: .92rem; }

      .roadmap-section { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
      .tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; margin: 0 0 26px 210px; }
      .search-wrap { position: relative; }
      .search-wrap label { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; }
      .search-wrap::before { content: "⌕"; position: absolute; left: 16px; top: 10px; color: var(--muted); font-size: 1.25rem; }
      #search { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); padding: 11px 15px 11px 44px; border-radius: 0; }
      .filters { display: flex; gap: 8px; flex-wrap: wrap; }
      .filter { min-height: 48px; border: 1px solid var(--line-strong); background: transparent; padding: 9px 14px; cursor: pointer; }
      .filter[aria-pressed="true"] { background: var(--wine); color: white; border-color: var(--wine); }
      .roadmap-grid { margin-left: 210px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
      .topic { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: start; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
      .topic:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
      .topic:nth-child(even) { padding-left: 24px; }
      .topic-title { font-weight: 600; line-height: 1.4; }
      .topic-cat { display: block; margin-top: 4px; color: var(--muted); font-size: .74rem; }
      .topic-state { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding-top: 3px; white-space: nowrap; }
      .empty { margin-left: 210px; padding: 30px 0; color: var(--muted); display: none; }

      .closing { padding: clamp(54px, 8vw, 88px) 0 calc(72px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
      .closing p { margin: 0; max-width: 730px; color: var(--muted); font-size: 1.08rem; }
      .closing strong { color: var(--ink); }

      .support { margin-top: 6px; padding: clamp(40px, 6vw, 64px) 0 calc(72px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; border-top: 1px solid var(--line); }
      .support h2 { font-family: "Literata", Georgia, serif; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 10px; color: var(--ink); font-weight: 600; }
      .support p { margin: 0 0 20px; max-width: 640px; color: var(--muted); font-size: 1.05rem; }
      .support-btn { display: inline-block; background: var(--wine); color: #fff; font-weight: 600; text-decoration: none; padding: 13px 30px; border-radius: 999px; font-size: 1.02rem; }
      .support-btn:hover, .support-btn:focus-visible { background: var(--wine-strong); color: #fff; }

      .suggest-section { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
      .suggest-form { margin-left: 210px; max-width: 660px; display: grid; gap: 10px; padding: 4px 0 6px; }
      .suggest-form label { font-weight: 600; color: var(--ink); font-size: .95rem; }
      .suggest-form .opt, .suggest-form .req { font-weight: 400; color: var(--muted); font-size: .85rem; }
      .suggest-form input[type="text"], .suggest-form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
      .suggest-form input:focus-visible, .suggest-form textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
      .suggest-form textarea { resize: vertical; min-height: 110px; }
      .suggest-form .honey { display: none; }
      .suggest-form .support-btn { justify-self: start; border: 0; cursor: pointer; font: inherit; margin-top: 6px; }
      .suggest-note { min-height: 1.4em; color: var(--muted); font-size: .95rem; margin: 4px 0 0; }

      .deck-shuffle-row { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin: 2px 0 20px; }
      .deck-jump { display: flex; align-items: center; gap: 8px; }
      .deck-jump label { font-size: 0.88rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
      .deck-jump input { width: 72px; font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); text-align: center; }
      .deck-jump input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
      .deck-jump-go { font: inherit; font-weight: 700; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--wine); background: var(--wine); color: #fff; cursor: pointer; }
      .deck-jump-go:hover, .deck-jump-go:focus-visible { background: var(--wine-strong); }
      .shuffle-btn { background: transparent; border: 1px solid var(--line-strong); color: var(--wine); border-radius: 999px; padding: 9px 22px; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; }
      .shuffle-btn:hover { background: var(--surface); border-color: var(--wine); }

      .share-btn { background: none; border: 0; padding: 0; margin-top: 10px; color: var(--muted); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
      .share-btn:hover { color: var(--wine); }

      .quiz-section { border-top: 1px solid var(--line); }
      .quiz-card { margin-left: 210px; max-width: 700px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
      .quiz-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--gold); font-weight: 700; margin: 0 0 8px; }
      .quiz-objection { font-family: "Literata", Georgia, serif; font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--ink); margin: 0 0 20px; line-height: 1.45; }
      .quiz-answer { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 6px; }
      .quiz-answer-label { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--gold); font-weight: 700; margin: 0 0 8px; }
      .quiz-card .say-it { margin: 0 0 16px; }
      .quiz-selfscore { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
      .quiz-verdict { border: 1px solid var(--line-strong); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 18px; font: inherit; font-size: .92rem; cursor: pointer; }
      .quiz-modes { display: flex; gap: 8px; margin: 0 0 16px 210px; max-width: 700px; }
      .quiz-modes button { border: 1px solid var(--line-strong); background: transparent; color: var(--muted); border-radius: 999px; padding: 8px 20px; font: inherit; font-size: .92rem; cursor: pointer; }
      .quiz-modes button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #1a1a1a; font-weight: 700; }
      .explain-label { display: block; margin: 14px 0 8px; font-weight: 600; font-size: .95rem; }
      #explainText { width: 100%; box-sizing: border-box; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); font: inherit; font-size: .95rem; padding: 12px 14px; resize: vertical; }
      #explainText:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
      .explain-summary { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
      .quiz-reset { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: .82rem; text-decoration: underline; cursor: pointer; }
      .daily-strip { display: flex; align-items: center; gap: 12px; width: 100%; margin: 14px 0 0; padding: 12px 18px; background: linear-gradient(135deg, rgba(212,175,55,.14), rgba(212,175,55,.05)); border: 1px solid var(--gold); border-radius: 12px; color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
      .daily-strip[hidden] { display: none; }
      .daily-kicker { flex: none; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
      .daily-title { flex: 1; font-weight: 600; font-size: .95rem; }
      .daily-open { flex: none; color: var(--gold); font-weight: 700; font-size: .9rem; }
      @media (max-width: 900px) { .quiz-modes { margin-left: 0; } }
      .quiz-verdict:hover { border-color: var(--wine); color: var(--wine); }
      .quiz-link { background: none; border: 0; padding: 0; color: var(--wine); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
      .quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
      .quiz-actions .support-btn { border: 0; cursor: pointer; font: inherit; }
      .quiz-next { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 999px; padding: 13px 26px; font: inherit; font-size: 1.02rem; font-weight: 600; cursor: pointer; }
      .quiz-next:hover { border-color: var(--wine); color: var(--wine); }
      .quiz-score { margin: 14px 0 0; color: var(--muted); font-size: .92rem; }

      .glossary-section { border-top: 1px solid var(--line); }
      .glossary-carousel { margin-left: 210px; max-width: 1020px; }
      .glossary-carousel .deck-controls { margin-bottom: 18px; }
      .glossary-viewport { touch-action: pan-y; scroll-margin-top: 18px; }
      .glossary-track > .glossary-slide[aria-hidden="true"] { display: none; }
      .glossary-slide { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
      .glossary-letter { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--gold); font-weight: 700; margin: 0 0 6px; }
      .glossary-slide h3 { font-family: "Literata", Georgia, serif; font-size: 1.4rem; margin: 0 0 4px; color: var(--ink); }
      .glossary-pron { font-weight: 400; color: var(--muted); font-size: .88rem; font-style: italic; }
      .glossary-slide p { color: var(--muted); font-size: .98rem; line-height: 1.6; margin: 8px 0 0; }

      .apostles-section { border-top: 1px solid var(--line); }
      .apostles-legend { margin-left: 210px; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 24px; color: var(--muted); font-size: .9rem; }
      .rel { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; }
      .apostles-legend .rel { margin-right: 6px; }
      .rel-high { background: #e3efe6; color: #286644; }
      .rel-mid { background: #f3e8cf; color: #8a6414; }
      .rel-late { background: #ece7df; color: #6b6259; }
      .apostles-carousel { margin-left: 210px; max-width: 1020px; }
      .apostles-carousel .deck-controls { margin-bottom: 18px; }
      .apostles-viewport { touch-action: pan-y; scroll-margin-top: 18px; }
      .apostles-track > .apostle[aria-hidden="true"] { display: none; }
      .apostle { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
      .apostle-epithet { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--gold); font-weight: 700; margin: 0 0 6px; }
      .apostle h3 { font-family: "Literata", Georgia, serif; font-size: 1.4rem; margin: 0 0 4px; color: var(--ink); }
      .apostle-meta { color: var(--muted); font-size: .85rem; margin: 0 0 6px; }
      .apostle h4 { font-size: .95rem; color: var(--ink); margin: 16px 0 6px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
      .apostle p { color: var(--muted); font-size: .96rem; line-height: 1.6; margin: 0 0 8px; }
      .apostle-refs { font-size: .85rem !important; color: var(--gold) !important; font-weight: 600; }
      .apostle-note { font-size: .82rem !important; font-style: italic; }
      @media (prefers-color-scheme: dark) {
        .rel-high { background: #23402e; color: #9fd3ae; }
        .rel-mid { background: #4a3d22; color: #e3c878; }
        .rel-late { background: #3a352e; color: #b8ad9f; }
      }

      @media (max-width: 780px) {
        .page { width: min(100% - 28px, 650px); }
        .hero, .entry-top { grid-template-columns: 1fr; }
        .hero { padding-top: 48px; gap: 28px; }
        .hero-search { width: 100%; max-width: 560px; }
        .jump-index-head { display: block; }
        .jump-index-head p { margin-top: 4px; }
        .jump-links a { flex-basis: calc(100% - 44px); }
        .jump-links::after { flex-basis: 44px; }
        .method ol { grid-template-columns: 1fr 1fr; gap: 20px 0; }
        .method li:nth-child(3) { border-left: 0; padding-left: 0; }
        .section-head, .entry-body, .closing, .support { grid-template-columns: 1fr; gap: 14px; }
        .section-no { padding-top: 0; }
        .entry-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 14px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 8px; }
        .deck-controls { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 10px; }
        .deck-arrow { width: 44px; height: 42px; }
        .tools, .roadmap-grid, .empty, .suggest-form, .quiz-card, .glossary-carousel, .apostles-legend, .apostles-carousel { margin-left: 0; }
        .tools { grid-template-columns: 1fr; }
        .roadmap-grid { grid-template-columns: 1fr; }
        .topic:nth-child(odd), .topic:nth-child(even) { padding: 17px 0; border-right: 0; }
        .closing, .support { gap: 10px; }
      }
      @media (max-width: 480px) {
        h1 { font-size: 2.75rem; }
        .method ol { grid-template-columns: 1fr; }
        .method li, .method li:first-child, .method li:nth-child(3) { border-left: 0; padding: 0 0 0 46px; position: relative; }
        .method li::before { position: absolute; left: 0; top: 2px; }
        .entry-top, .entry-body { padding: 25px 20px; }
        .jump-links a { min-height: 112px; }
        .quick-ref { padding: 18px; }
        .deck-controls { grid-template-columns: 44px minmax(0, 1fr) 44px; }
        .deck-position { gap: 7px; }
        .desktop-nav-note { display: none; }
        .mobile-nav-note { display: inline; }
        .topic { grid-template-columns: minmax(0,1fr); }
        .topic-state { grid-column: 1; }
      }
      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .deck-track, .deck-viewport { transition: none; }
      }
      @media print {
        body { background: white; color: black; }
        .tools, .entry-nav, .deck-controls { display: none; }
        .panel { display: block !important; margin-bottom: 28px; }
        .deck-viewport { height: auto !important; overflow: visible; }
        .deck-track { display: block; transform: none !important; }
        .deck-track .entry + .entry { margin-top: 36px; }
        .roadmap-grid, .empty { margin-left: 0; }
        .entry, #heroSearch, .hero-search-results { box-shadow: none; }
      }
      .ccc-ref {
        display: inline-block; font: inherit; font-weight: 700; color: var(--wine);
        background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 999px;
        padding: 1px 10px; margin: 1px 2px; cursor: pointer; white-space: nowrap;
      }
      .ccc-ref:hover, .ccc-ref:focus-visible { background: var(--gold); color: #1a1714; }
      .verse-ref {
        display: inline-block; font: inherit; font-weight: 700; color: var(--wine);
        background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 999px;
        padding: 1px 10px; margin: 1px 2px; cursor: pointer; white-space: nowrap;
      }
      .verse-ref:hover, .verse-ref:focus-visible { background: var(--gold); color: #1a1714; }
      .verse-list .verse-ref {
        padding: 4px 8px; background: var(--surface); border: 1px solid var(--line);
        border-radius: 0; color: var(--wine); font-size: .82rem; font-weight: 600;
        line-height: 1.35; margin: 0; white-space: normal;
      }
      .verse-list .verse-ref:hover, .verse-list .verse-ref:focus-visible { background: var(--gold-soft); color: var(--wine); }
      .ccc-modal-backdrop, .verse-modal-backdrop {
        position: fixed; inset: 0; z-index: 90; background: rgba(20, 14, 10, 0.62);
        display: flex; align-items: center; justify-content: center; padding: 18px;
      }
      .ccc-modal-backdrop[hidden], .verse-modal-backdrop[hidden] { display: none; }
      .ccc-modal, .verse-modal {
        background: var(--surface); color: var(--ink); border-radius: 16px; max-width: 620px;
        width: 100%; max-height: 82vh; display: flex; flex-direction: column;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35); border: 1px solid var(--line-strong);
      }
      .ccc-modal-head, .verse-modal-head {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 14px 18px; border-bottom: 1px solid var(--line);
      }
      .ccc-modal-head strong, .verse-modal-head strong { font-size: 1.05rem; }
      .ccc-modal-close, .verse-modal-close {
        font: inherit; font-size: 1.4rem; line-height: 1; background: none; border: 0;
        cursor: pointer; color: var(--muted); padding: 4px 10px; border-radius: 8px;
      }
      .ccc-modal-close:hover, .verse-modal-close:hover { color: var(--ink); background: var(--paper-deep); }
      .ccc-modal-body, .verse-modal-body { padding: 18px; overflow-y: auto; font-size: 1.02rem; line-height: 1.65; }
      .ccc-modal-body p, .verse-modal-body p { margin: 0 0 12px; }
      .ccc-modal-body p:last-child, .verse-modal-body p:last-child { margin-bottom: 0; }
      .ccc-modal-foot, .verse-modal-foot {
        display: flex; align-items: center; justify-content: space-between; gap: 10px;
        padding: 12px 18px; border-top: 1px solid var(--line); flex-wrap: wrap;
      }
      .ccc-modal-foot .ccc-attr, .verse-modal-foot .verse-attr { font-size: 0.8rem; color: var(--muted); text-align: center; flex: 1 1 100%; order: 3; }
      .ccc-modal-foot .ccc-attr a { color: var(--wine); }
      .ccc-nav {
        font: inherit; font-weight: 600; background: var(--paper-deep); color: var(--ink);
        border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; cursor: pointer;
      }
      .ccc-nav:hover:not(:disabled), .ccc-nav:focus-visible:not(:disabled) { background: var(--gold-soft); }
      .ccc-nav:disabled { opacity: 0.4; cursor: default; }
      .ccc-reader { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
      .ccc-reader input {
        font: inherit; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
        background: var(--surface); color: var(--ink); width: 170px;
      }
      .ccc-reader input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
      .ccc-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
      .section-jump {
        display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
        padding: 12px 4px 4px; margin: 0;
      }
      .section-jump-label { font-size: 0.85rem; color: var(--muted); white-space: nowrap; font-weight: 600; }
      .section-jump a {
        white-space: nowrap; font-size: 0.88rem; font-weight: 600; color: var(--wine);
        background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px;
        padding: 7px 14px; text-decoration: none; flex: 0 0 auto;
      }
      .section-jump a:hover, .section-jump a:focus-visible { background: var(--wine); color: #fff; border-color: var(--wine); }
      .section-jump a[aria-current="true"] { background: var(--wine); color: #fff; border-color: var(--wine); }
      .jump-group { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
      .jump-group + .jump-group { border-left: 1px solid var(--line-strong); padding-left: 12px; margin-left: 4px; }
      .jump-group-name { font-size: 0.75rem; color: var(--muted); white-space: nowrap; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
      .site-footer { border-top: 1px solid var(--line); margin-top: 44px; padding: 28px 0 46px; color: var(--muted); font-size: 0.92rem; }
      .site-footer p { margin: 5px 0; }
      .site-footer strong { color: var(--ink); }
      .site-footer a { color: var(--wine); }

      .skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--gold); color: #1a1714; font-weight: 700; padding: 12px 20px; border-radius: 0 0 10px 0; text-decoration: none; }
      .skip-link:focus { left: 0; }
