  :root {
    --ink: #1c1a17;
    --paper: #faf7f2;
    --muted: #6b6459;
    --rule: #e2d9cb;
    --accent: #7a2e2e;
    --accent-soft: #f2ede2;
    --gold: #9c7a2c;
    --ok: #2e6b3f;
    --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  }
  body[data-color="violet"] { --accent:#5b4b8a; --accent-soft:#efecf5; }
  * { box-sizing: border-box; }
  body { margin: 0; font-family: var(--serif); background: var(--paper); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
  .mockbar { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 10px 12px 0; }
  .mockbar a { color: var(--accent); margin: 0 6px; }

  header.masthead { padding: 3rem 1.5rem 1.6rem; text-align: center; position: relative; }
  header.masthead::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
  .masthead-mark { width: 34px; height: 34px; margin: 0 auto 0.9rem; display: block; color: var(--accent); }
  header.masthead h1 { font-size: 1.35rem; letter-spacing: 0.22em; margin: 0 0 0.5rem; font-weight: 600; text-transform: uppercase; font-family: var(--sans); }
  header.masthead .rule-ornament { width: 60px; height: 1px; background: var(--rule); margin: 0.7rem auto 0.9rem; position: relative; }
  header.masthead .rule-ornament::after { content: '\2767'; position: absolute; top: -0.72em; left: 50%; transform: translateX(-50%); background: var(--paper); color: var(--accent); padding: 0 0.5rem; font-size: 0.8rem; }
  header.masthead .date-line { color: var(--muted); font-size: 0.9rem; letter-spacing: 0.03em; font-family: var(--sans); }
  header.masthead .liturgical-day { margin-top: 0.5rem; font-size: 1.15rem; font-style: italic; color: var(--accent); }
  header.masthead .liturgical-optional { margin-top: 0.3rem; font-size: 0.82rem; font-family: var(--sans); font-style: italic; color: var(--muted); }
  .site-nav { text-align: center; padding: 0.6rem 1rem 0; font-size: 0.85rem; }
  .site-nav a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent); }
  .site-nav .sep { color: var(--rule); margin: 0 0.4rem; }

  main { max-width: 640px; margin: 0 auto; padding: 1rem 1.6rem 5rem; }

  /* Readings */
  section.reading { margin-top: 3.2rem; }
  section.reading:first-of-type { margin-top: 2rem; }
  section.reading h2 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); font-family: var(--sans); font-weight: 600; margin-bottom: 0.9rem; }
  .reading-source { font-weight: 600; font-size: 1.05rem; margin-bottom: 0.15rem; }
  .reading-text { font-size: 1.12rem; line-height: 1.85; text-align: left; }
  .reading-text p { margin: 0 0 0.7rem; }
  .reading-text p:last-child { margin-bottom: 0; }
  .reading-text .poetry { padding-left: 1.2rem; }
  .psalm-response { font-style: italic; font-weight: 600; color: var(--accent); margin-bottom: 1.1rem; font-size: 1.12rem; }
  .psalm-stanza { margin-bottom: 1rem; font-size: 1.12rem; line-height: 1.85; padding-left: 1.2rem; }
  .psalm-r-mark { font-weight: 600; color: var(--accent); font-style: normal; }
  .psalm-r-repeat { display: block; text-align: right; margin-top: 0.3rem; opacity: 0.7; }
  .accl-lines { font-size: 1.12rem; line-height: 1.85; padding-left: 1.2rem; }
  .accl-r { font-style: italic; font-weight: 600; color: var(--accent); font-size: 1.12rem; margin: 0.2rem 0; }
  section.reading.dropcap .reading-text::first-letter { float: left; font-size: 3.4em; line-height: 0.95; padding-right: 0.08em; margin-top: 0.02em; font-weight: 600; color: var(--accent); }
  @supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
    section.reading.dropcap .reading-text::first-letter { float: none; initial-letter: 2.4; -webkit-initial-letter: 2.4; font-size: inherit; line-height: inherit; margin-right: 0.6rem; padding-right: 0; }
  }
  .notes-footer { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
  .notes-footer details { font-size: 0.78rem; color: var(--muted); }
  .notes-footer summary { cursor: pointer; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); list-style: none; outline: none; }
  .notes-footer summary::-webkit-details-marker { display: none; }
  .notes-footer summary::before { content: '\203A  '; }
  .notes-footer details[open] summary::before { content: '\2039  '; }
  .translation-note { margin: 0.8rem 0; line-height: 1.6; }

  /* Feature headings */
  section.feature { margin-top: 3.4rem; padding-top: 0.4rem; }
  section.feature > h2 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); font-family: var(--sans); font-weight: 600; margin-bottom: 1rem; }
  .readings-label { font-style: italic; color: var(--muted); margin-bottom: 1rem; font-size: 0.92rem; }

  /* Suggested Prayer */
  .prayer-threshold { margin: 3.4rem 0 0; text-align: center; color: var(--accent); font-size: 1.3rem; opacity: 0.85; }
  section.feature.prayer { margin-top: 0; background: var(--accent-soft); border-radius: 10px; padding: 2rem 1.7rem 2.2rem; border-top: 3px solid var(--accent); }
  section.feature.prayer > h2 { color: var(--accent); }
  .prayer-fixed-label { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 1.6rem 0 0.6rem; }
  .prayer-fixed-label:first-of-type { margin-top: 0.6rem; }
  section.feature.prayer .prayer-block { margin: 0.7rem 0; padding: 1.1rem 1.3rem; background: #fff; border-radius: 6px; }
  section.feature.prayer .prayer-block.prayer-seasonal { background: #fbf6e9; border: 1px solid #e6d9ad; }
  section.feature.prayer .prayer-collect { background: #f4f0e8; }
  .prayer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }
  .prayer-title { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.6rem; }
  .prayer-pin { font-size: 1.1rem; line-height: 1; color: var(--rule); flex-shrink: 0; }
  .prayer-body { font-size: 1.05rem; line-height: 1.75; color: var(--ink); }
  .prayer-body .pline { display: block; }
  .prayer-attr { margin-top: 0.7rem; font-size: 0.78rem; font-style: italic; color: var(--muted); }
  .prayer-origin { margin-top: 0.7rem; font-family: var(--sans); font-size: 0.78rem; line-height: 1.5; color: #4d4338; border-top: 1px dotted #e6d9ad; padding-top: 0.5rem; }
  .prayer-origin b { font-weight: 600; color: var(--gold); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 0.35rem; }

  /* A Life Well Lived (saint story) */
  section.feature.saint > h2 { color: var(--accent); }
  .saint-name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; color: var(--ink); margin-bottom: 0.25rem; }
  .life-who { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 1rem; }
  .saint-bio { font-size: 1.02rem; line-height: 1.75; color: var(--ink); }
  .saint-bio p { margin: 0 0 1rem; }
  .saint-bio p:last-child { margin-bottom: 0; }
  .legend-note { margin-top: 1rem; font-size: 0.84rem; line-height: 1.6; color: var(--muted); font-style: italic; }

  /* Homily */
  section.feature.homily .homily-box { background: var(--accent-soft); border: none; border-top: 3px solid var(--accent); padding: 1.9rem 1.8rem 1.6rem; margin: 0.6rem 0 0; font-size: 1.16rem; line-height: 1.85; box-shadow: 0 2px 10px rgba(28,26,23,.05); border-radius: 0 0 6px 6px; color: var(--ink); }
  section.feature.homily .homily-box p { margin: 0 0 1.1rem; }
  section.feature.homily .homily-box p:last-child { margin-bottom: 0; }

  /* Tradition */
  .tradition-witness { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 1.1rem 1.3rem; margin: 1.2rem 0; border-radius: 0 4px 4px 0; color: #2f2b25; }
  .tradition-witness .witness-body { font-style: italic; font-size: 1.04rem; line-height: 1.75; }
  .tradition-witness .witness-body p { margin: 0; }
  .quote-attribution { display: block; font-style: normal; font-weight: 600; margin-top: 0.8rem; color: var(--ink); }
  .who-is-this { margin-top: 0.9rem; font-size: 0.9rem; line-height: 1.6; color: var(--muted); }
  .who-is-this b { font-style: italic; font-weight: 600; color: #2f2b25; }

  /* Knowledge / CCC */
  .knowledge-divider { display: flex; align-items: center; text-align: center; margin: 3.6rem 0 1.4rem; color: var(--muted); font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; }
  .knowledge-divider::before, .knowledge-divider::after { content: ''; flex: 1; border-top: 1px solid var(--rule); }
  .knowledge-divider span { padding: 0 0.9rem; }
  section.feature.study { background: #f4f0e8; border-radius: 6px; padding: 1.4rem 1.5rem 1.6rem; margin-top: 0; }
  .ccc-unit-label { font-weight: 600; margin-bottom: 0.5rem; color: var(--accent); }
  section.feature.study .ccc-text { background: transparent; border-left: 3px solid var(--rule); padding: 0.3rem 0 0.3rem 1.2rem; margin: 1.1rem 0; font-style: italic; color: #2f2b25; font-size: 1.02rem; line-height: 1.7; }
  section.feature.study .ccc-text p { margin: 0 0 0.8rem; }
  section.feature.study .ccc-text p:last-child { margin-bottom: 0; }
  .ccc-src { font-size: 0.8rem; color: var(--muted); font-style: italic; }

  /* This Day in Church History */
  section.feature.history { background: #fff; border-radius: 6px; padding: 1.4rem 1.5rem 1.5rem; margin: 0 0 1.4rem; border-left: 3px solid var(--accent); }
  section.feature.history > h2 { color: var(--accent); margin-bottom: 0.55rem; }
  .history-when { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 0.85rem; }
  .history-body { font-size: 1.02rem; line-height: 1.75; color: var(--ink); }
  .history-body p { margin: 0; }
  .history-src { margin-top: 1rem; font-size: 0.78rem; line-height: 1.55; color: var(--muted); font-style: italic; }
  .history-src a { color: var(--muted); }

  /* Extras as on the real site */
  #chat-fab { position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 40; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--accent); color: #fff; border: none; font-size: 1.3rem; box-shadow: 0 3px 12px rgba(28,26,23,.28); }
  footer.mockfoot { max-width: 640px; margin: 0 auto; padding: 0 1.6rem 3rem; font-family: var(--sans); font-size: 11px; line-height: 1.6; color: var(--muted); text-align: center; }
  .day-sep { max-width: 640px; margin: 2rem auto; border: 0; border-top: 1px dashed var(--rule); }


  /* ===== Family preview additions ===== */
  a { color: var(--accent); }
  .preview-bar { font-family: var(--sans); font-size: 11px; letter-spacing: .06em; color: var(--muted); text-align: center; padding: 9px 12px; background: #f1ece2; border-bottom: 1px solid var(--rule); }
  .preview-bar a { color: var(--accent); margin: 0 5px; text-decoration: none; border-bottom: 1px solid transparent; }
  .preview-bar a.current { border-bottom-color: var(--accent); font-weight: 600; }
  .preview-bar .tag { text-transform: uppercase; letter-spacing: .12em; margin-right: 6px; }

  /* Keep-star */
  .prayer-pin { background: none; border: none; cursor: pointer; padding: 0 0 0 .4rem; font-size: 1.25rem; line-height: 1; color: #c9bfae; flex-shrink: 0; }
  .prayer-pin:hover, .prayer-pin:focus-visible { color: var(--gold); }
  .prayer-pin.pinned { color: var(--gold); }
  .prayer-kept-note { margin-top: .5rem; font-family: var(--sans); font-size: .74rem; color: var(--gold); }
  .kept-band { margin-top: 1.6rem; }
  .kept-label { font-family: var(--sans); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
  .icel-note { display: inline-block; margin-top: .55rem; font-family: var(--sans); font-size: .68rem; letter-spacing: .04em; color: #8a6a1f; background: #fbf3dc; border: 1px solid #eadcb0; border-radius: 3px; padding: .1rem .45rem; }

  /* CCC mark as read */
  .ccc-actions { margin-top: 1rem; }
  .btn-quiet { font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: .4rem .8rem; cursor: pointer; }
  .btn-quiet.done { background: var(--accent); color: #fff; }

  /* Selection capture */
  #capture-pop { position: absolute; z-index: 60; display: none; width: 300px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 6px 22px rgba(28,26,23,.18); padding: .7rem; font-family: var(--sans); }
  #capture-pop.open { display: block; }
  #capture-pop .cap-src { font-size: .72rem; color: var(--muted); margin-bottom: .4rem; }
  #capture-pop .cap-quote { font-family: var(--serif); font-size: .86rem; line-height: 1.45; color: var(--ink); max-height: 4.6em; overflow: hidden; margin-bottom: .5rem; border-left: 2px solid var(--accent); padding-left: .5rem; }
  #capture-pop textarea { width: 100%; font-family: var(--serif); font-size: .9rem; border: 1px solid var(--rule); border-radius: 4px; padding: .4rem; resize: vertical; }
  #capture-pop .cap-actions { display: flex; gap: .4rem; justify-content: flex-end; margin-top: .5rem; }
  .cap-trigger { position: absolute; z-index: 59; display: none; font-family: var(--sans); font-size: .74rem; background: var(--accent); color: #fff; border: none; border-radius: 14px; padding: .3rem .7rem; box-shadow: 0 2px 8px rgba(28,26,23,.25); cursor: pointer; }
  .cap-trigger.open { display: block; }

  /* Chat */
  #chat-fab { cursor: pointer; }
  #chat-panel { position: fixed; right: 1.3rem; bottom: 5.1rem; z-index: 41; width: 370px; max-width: calc(100vw - 1.6rem); max-height: min(620px, calc(100vh - 7rem)); display: none; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 10px 30px rgba(28,26,23,.22); overflow: hidden; }
  #chat-panel.open { display: flex; }
  .chat-head { padding: .8rem .9rem .7rem; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-weight: 600; font-size: .9rem; display: flex; justify-content: space-between; gap: .5rem; align-items: flex-start; }
  .chat-head .ai-badge { display: inline-block; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); border-radius: 3px; padding: .1rem .35rem; margin-left: .35rem; vertical-align: middle; }
  .chat-sub { display: block; font-weight: 400; font-size: .74rem; color: var(--muted); line-height: 1.4; margin-top: .25rem; }
  .chat-close { background: none; border: none; font-size: 1.2rem; color: var(--muted); cursor: pointer; line-height: 1; }
  .chat-log { flex: 1 1 auto; min-height: 120px; max-height: 340px; overflow-y: auto; padding: .8rem; display: flex; flex-direction: column; gap: .5rem; }
  .chat-msg { padding: .5rem .75rem; border-radius: 12px; font-size: .92rem; line-height: 1.5; max-width: 92%; white-space: pre-wrap; }
  .chat-msg.you { align-self: flex-end; background: var(--accent); color: #fff; }
  .chat-msg.ai { align-self: flex-start; background: #f2ede2; color: var(--ink); }
  .chat-msg.notice { align-self: stretch; max-width: 100%; background: #fbf6e9; border: 1px dashed #e0cf9c; color: #5a4a22; font-family: var(--sans); font-size: .8rem; }
  #chat-form { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid var(--rule); }
  #chat-input { flex: 1; font-family: var(--serif); font-size: .95rem; border: 1px solid var(--rule); border-radius: 6px; padding: .45rem .6rem; }
  #chat-form button { font-family: var(--sans); font-size: .8rem; background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: .45rem .8rem; cursor: pointer; }
  .chat-privacy { padding: .55rem .9rem .7rem; font-family: var(--sans); font-size: .68rem; line-height: 1.45; color: var(--muted); border-top: 1px solid var(--rule); background: #fcfaf6; }

  /* Footer */
  footer.sitefoot { max-width: 640px; margin: 0 auto; padding: 0 1.6rem 3.5rem; font-family: var(--sans); font-size: 11px; line-height: 1.7; color: var(--muted); text-align: center; }
  footer.sitefoot a { color: var(--muted); }

  /* Sub-pages (My Marks, Topical Index, Examen) */
  main.sub h1.sub-title { font-family: var(--sans); font-size: 1.05rem; letter-spacing: .18em; text-transform: uppercase; text-align: center; margin: 1.4rem 0 .3rem; }
  .sub-intro { text-align: center; color: var(--muted); font-style: italic; font-size: .92rem; margin-bottom: 1.6rem; }
  .card { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 1rem 1.1rem; margin: 0 0 .9rem; }
  .card .card-meta { font-family: var(--sans); font-size: .72rem; color: var(--muted); margin-bottom: .35rem; }
  .card .card-quote { font-size: 1rem; line-height: 1.6; border-left: 2px solid var(--accent); padding-left: .7rem; }
  .card .card-note { margin-top: .6rem; font-size: .95rem; }
  .card .card-actions { margin-top: .6rem; text-align: right; }
  .link-btn { background: none; border: none; font-family: var(--sans); font-size: .72rem; color: var(--muted); cursor: pointer; text-decoration: underline; padding: 0; }
  .toolbar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: center; }
  .toolbar input[type=search] { flex: 1; min-width: 160px; font-family: var(--serif); font-size: .95rem; border: 1px solid var(--rule); border-radius: 6px; padding: .45rem .6rem; background: #fff; }
  .chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0 1.2rem; }
  .chip { font-family: var(--sans); font-size: .74rem; border: 1px solid var(--rule); background: #fff; color: var(--ink); border-radius: 14px; padding: .2rem .65rem; cursor: pointer; }
  .chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
  .mode-switch { display: flex; justify-content: center; gap: .4rem; margin-bottom: 1rem; }
  .group-title { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 1.6rem 0 .6rem; }
  .empty { text-align: center; color: var(--muted); font-style: italic; padding: 1.5rem 0; }
  .examen-group { margin: 1.8rem 0; }
  .examen-group h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
  .examen-q { margin: 1rem 0; }
  .examen-q label { display: block; font-weight: 600; margin-bottom: .15rem; }
  .examen-q .q-text { color: var(--muted); font-style: italic; margin-bottom: .4rem; }
  .examen-q textarea { width: 100%; min-height: 70px; font-family: var(--serif); font-size: 1rem; line-height: 1.55; border: 1px solid var(--rule); border-radius: 6px; padding: .55rem .7rem; background: #fff; resize: vertical; }
  .save-row { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0 2rem; flex-wrap: wrap; }
  .save-status { font-family: var(--sans); font-size: .76rem; color: var(--ok); }
  .local-note { font-family: var(--sans); font-size: .74rem; color: var(--muted); text-align: center; margin: .4rem 0 1.4rem; }

  @media (max-width: 480px) {
    main { padding: 1rem 1.15rem 4.5rem; }
    header.masthead { padding: 2.2rem 1rem 1.2rem; }
    section.feature.prayer { padding: 1.5rem 1.1rem 1.7rem; }
    section.feature.homily .homily-box { padding: 1.4rem 1.1rem 1.3rem; font-size: 1.08rem; }
    #chat-panel { right: .8rem; bottom: 4.8rem; }
    #chat-fab { right: .9rem; bottom: .9rem; }
  }

  /* Why the Douay-Rheims? */
  .why-dr-link { display: inline; margin-left: .15rem; padding: 0; border: 0; background: none; font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .01em; color: var(--accent); cursor: pointer; text-decoration: none; border-bottom: 1px solid var(--accent); line-height: inherit; }
  .reading-source .why-dr-link { font-weight: 500; }
  .translation-note .why-dr-link { display: inline; margin-left: .4rem; }
  body.why-dr-open { overflow: hidden; }
  #why-dr-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
  #why-dr-modal[hidden] { display: none; }
  .why-dr-backdrop { position: absolute; inset: 0; background: rgba(28,26,23,.45); }
  .why-dr-panel { position: relative; z-index: 1; width: min(36rem, 100%); max-height: calc(100vh - 2.4rem); overflow-y: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 36px rgba(28,26,23,.28); padding: 1.7rem 1.7rem 1.5rem; }
  .why-dr-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); border-radius: 10px 10px 0 0; }
  .why-dr-close { position: absolute; top: .7rem; right: .7rem; background: none; border: none; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; padding: .2rem .4rem; }
  .why-dr-close:hover, .why-dr-close:focus-visible { color: var(--ink); }
  .why-dr-panel h2 { font-family: var(--sans); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 1.6rem 1rem 0; }
  .why-dr-panel p { font-size: 1rem; line-height: 1.7; margin: 0 0 .85rem; }
  .why-dr-panel h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .06em; color: var(--ink); font-weight: 600; margin: 1.15rem 0 .4rem; }
  .why-dr-panel ul { margin: 0 0 .9rem; padding-left: 1.15rem; }
  .why-dr-panel li { margin: 0 0 .35rem; font-size: 1rem; line-height: 1.55; }
  .why-dr-readmore { color: var(--muted); font-size: .92rem !important; }
  .why-dr-sources { font-family: var(--sans); font-size: .68rem !important; line-height: 1.5 !important; color: var(--muted); margin: 1.1rem 0 0 !important; padding-top: .7rem; border-top: 1px solid var(--rule); }
  @media (max-width: 480px) {
    #why-dr-modal { padding: .7rem; align-items: flex-end; }
    .why-dr-panel { padding: 1.4rem 1.15rem 1.2rem; max-height: calc(100vh - 1.4rem); border-radius: 12px 12px 8px 8px; }
  }

  .fallback-note { font-family: var(--sans); font-size: .8rem; color: var(--muted); text-align: center; background: #f6f1e6; border: 1px solid var(--rule); border-radius: 4px; padding: .55rem .8rem; margin: 0 0 1.4rem; }
