@scope (html:not([data-regression-protected])) {
/* Mobile enhancement only; desktop typography and hero dimensions stay authored. */
@media (max-width: 768px) {
  .fit-line { line-break: strict; }
  .fit-line[data-fit-state="line"] { white-space: nowrap !important; text-wrap: nowrap !important; }
  .fit-line[data-fit-state="wrap"] { white-space: normal !important; text-wrap: wrap !important; }
  .fit-line[data-fit-state] :is(.nowrap,.text-phrase) { display: inline !important; white-space: inherit !important; }
  .fit-line .fit-line__clause { display: inline-block; white-space: nowrap; text-indent: 0; }
  /* Unpunctuated copy wider than the whole region must remain readable. */
  .fit-line .fit-line__clause--wide { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
  .figure-page .p-hero .p-hero__block { padding-right: 58px; box-sizing: border-box; min-width: 0; }
  .figure-page .p-hero .p-hero__sub { font-size: clamp(15px, 4.7vw, 22px); max-width: 100%; }
}
@media (max-width: 768px) {
  /* Flex buttons need one inline formatting context for clause-level wrapping. */
  :is(button,a.btn,.btn-primary,.btn-gold).fit-line[data-fit-state="wrap"] { display: inline-block !important; height: auto !important; min-height: 56px; padding-block: 14px !important; }
}

/* Chinese book paragraphs: presentation only, never prepend text characters. */
:where(p,.prayer-body,.verse-text,.dy-card__text,.wall-card__text) {
  line-break: strict; hanging-punctuation: allow-end;
  text-autospace: ideograph-alpha ideograph-numeric;
}
.book-paragraph,
:is(.prayer-body,.verse-text,.dy-card__text,.wall-card__text),
:is(.prayer__text,.story__text,.request,.scriptures,.prayer-sheet article) p:not(.amen):not(.prayer__amen) {
  text-indent: 2em !important; text-align: justify !important; text-align-last: auto;
  line-height: 1.8 !important; text-wrap: pretty; margin-block: 0 .5em !important;
}
:is(.verse-ref,.scriptures cite,.prayer__ref) { display:block; text-align:right; text-indent:0 !important; font-size:.85em; }
.reference-needs-dash::before { content:'——'; }
.gold-cross { vertical-align:middle; flex-shrink:0; }
:is(.sheet-cross,.prayer-cross) { display:flex; justify-content:center; margin-block:16px; }
.is-multiline { display:block !important; width:fit-content !important; max-width:100%; margin:0 auto !important; text-align:justify !important; text-align-last:left !important; white-space:normal !important; text-wrap:wrap !important; }
.is-long-title { font-size:clamp(20px,5.6vw,24px) !important; line-height:1.5 !important; }
.sheet-footer .footer-copy { flex:1; min-width:0; }
.sheet-footer { column-gap:16px; }
.sheet-footer .footer-copy p { text-align:left; text-indent:0 !important; width:fit-content; margin-inline:auto; line-height:1.8; }
.sheet-footer .footer-copy .verse-clause { display:block; white-space:nowrap; }
.sheet-footer .footer-copy small { display:block; text-align:right; color:#A07C30; }

:is(.dy-card__text,.wall-card__text,.wall-mine__text) { text-indent:0 !important; }
:is(.dy-card__text,.wall-card__text,.wall-mine__text) p { text-indent:2em !important; margin:0 0 .5em; text-align:justify; line-height:1.8; text-wrap:pretty; }
:is(.amen,.prayer-amen,.prayer__amen,.sheet-motto,.directory-kicker,.directory-intro,.verse-ref) { text-indent:0 !important; }

.prayer-sheet .sheet-cross { margin-block:16px; }

:is(.verse-ref,.scriptures cite,.prayer__ref,.scripture__cite,.ab-ref,.dy-verse__ref,.wall-aside-verse__ref,.verse-inline-ref) { display:block; text-align:right !important; text-indent:0 !important; font-size:.85em; }

/* Titles and book paragraphs use their full region before wrapping. */
:is(.is-multiline,.book-paragraph,.prayer-body,.verse-text) :is(.fit-line__clause,.nowrap,.text-phrase) { display:inline !important; white-space:normal !important; }

.prayer-sheet h1::after { text-align:center; }

.prayer-title-ending, .prayer-title-ending * { white-space:nowrap !important; }
.prayer-sheet h1::after { text-align-last:center; }

/* Notes, centered copy and measured single lines never receive a paragraph indent. */
:scope body :is(.is-single-line,.hero__verse,.journal-private,.journal-empty,[class*="caption"],[class*="label"],[class*="hint"],[class*="status"]) { text-indent:0 !important; }
:scope body :is(p,figcaption,cite).is-centered-note { text-indent:0 !important; }
:is(.wall-testimony,p.journal-testimony) { line-break:strict; text-align:justify; text-align-last:auto; text-indent:0 !important; text-wrap:pretty; overflow-wrap:normal; }
:scope body .wall-testimony { text-wrap:wrap; }
:scope body .wall-testimony b { display:inline; margin-right:.5em; }
/* A long figure name must wrap inside its grid track, never enlarge the card. */
.hub-fig__body { min-width:0; }
:scope body :is(.wall-testimony,p.journal-testimony).book-paragraph:not(.is-single-line) { text-indent:2em !important; text-wrap:pretty; }
.testimony-ending { white-space:nowrap; }
/* A single sentence is copy, even when placed inside a prose section. */
:scope body :is(.story__text,.prayer__text) p:not(.book-paragraph):not(.amen):not(.prayer__amen) { text-indent:0 !important; text-wrap:wrap !important; }
:scope body :is(.story__text,.prayer__text,.request,.scriptures,.prayer-sheet article) p:is(.is-single-line,.is-centered-note):not(.amen):not(.prayer__amen) { text-indent:0 !important; }

/* Shared presentation of Markdown headings and readable scripture search. */
.markdown-heading{display:block;font-family:var(--serif);font-size:1.15em;line-height:1.7;color:#C9A25A;text-align:center;text-indent:0!important;margin:16px 0 10px}
.markdown-heading .gold-cross{width:14px;height:20px;margin-right:8px;vertical-align:-3px}
/* Scripture search only: quiet borders, generous controls and readable results. */
.scripture-search{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(760px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:85dvh;padding:28px;border:1px solid rgba(201,162,90,.6);border-radius:10px;background:#241d14;color:#E8D194;font:18px/1.8 var(--serif);overflow:auto}
.scripture-search::backdrop{background:rgb(15 11 6 / 75%)}
.scripture-search header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
.scripture-search h2{margin:0;font-size:24px;line-height:1.5}
.scripture-search button{box-sizing:border-box;min-height:44px;border:1px solid rgba(201,162,90,.6);border-radius:6px;background:#302619;color:#E8D194;font:inherit;padding:8px 12px;cursor:pointer}
.scripture-search form{display:grid;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:12px;margin:0}
.scripture-search form input{box-sizing:border-box;width:100%;min-width:0;height:52px;min-height:52px;margin:0;padding:0 14px;border:1px solid rgba(201,162,90,.6);border-radius:6px;background:#302619;color:#E8D194;font:18px/1.5 var(--serif);box-shadow:none;outline:none}
.scripture-search form input::placeholder{color:#c4b491;opacity:1}
.scripture-search form input:focus{border-color:#C9A25A;box-shadow:none;outline:none}
.scripture-search form input:focus-visible{border-color:#D9B970;background:#3a2e1e;outline:none}
.scripture-search form .scripture-search-submit{--gold-button-height:52px;height:52px;min-height:52px;margin:0;padding:0 20px;border:0;border-radius:999px;background:url(/images/ui/btn-cap-l3.webp) left center / auto 100% no-repeat,url(/images/ui/btn-cap-r3.webp) right center / auto 100% no-repeat,url(/images/ui/btn-mid2.webp) center / 100% 100% no-repeat;color:#3B200C;font-size:19px;font-weight:700;line-height:1;box-shadow:0 4px 8px rgba(44,26,14,.3)}
.scripture-search [role=status]{margin:24px 0 16px;font-size:18px;line-height:1.8;text-indent:0;text-align:left}
.scripture-search [role=status]:empty{display:none}
.scripture-search ul{padding:0;margin:24px 0 0}
.scripture-search ul:empty{display:none}
.scripture-search li{margin:0 0 24px;list-style:none;border-bottom:1px solid #C9A25A55;padding-bottom:20px}
.scripture-search a{color:#D9B970;text-decoration:underline;text-underline-offset:4px;font-size:20px}
.scripture-search li p{font-size:20px;line-height:1.9;text-indent:2em;text-align:justify;margin:10px 0 0;overflow-wrap:break-word}
@media(max-width:600px){
 .scripture-search{padding:20px}
 .scripture-search form{grid-template-columns:minmax(0,1fr)}
 .scripture-search form .scripture-search-submit{width:100%}
}

/* v369: shared QA corrections, preserving the homepage and navigation structure. */
:scope body .fit-line[data-fit-state="line"]{white-space:nowrap!important;text-wrap:nowrap!important;text-indent:0!important}
:scope body :is(h1,h2,h3,.chapter__title,.cta__title,.ab-tagline,.figure-cta){text-align:center}
:scope body .fit-line{max-width:100%;min-width:0}
:scope body :is(.book-paragraph,.audit-prose):not(.is-single-line):not(.b-verse):not(.b-commentary-numbered):not(.audit-definition):not(.audit-outline):not(.audit-level-1):not(.audit-level-2):not(.audit-level-3){text-indent:2em!important;text-align:justify!important;text-align-last:left!important;text-wrap:wrap!important}
:scope body :is(p,figcaption,cite).is-single-line:not(.b-verse):not(.b-commentary-numbered){text-align:center!important;text-indent:0!important}
:scope body :is(.scripture__ending,.scripture__ending *){display:inline!important;white-space:normal!important}
:scope body .b-verse,:scope body .b-verse.book-paragraph{ text-indent:0!important;text-align:left!important;margin-block:0 18px!important;line-height:1.9!important}
:scope body .b-verse>span{text-indent:0!important}
:scope body .b-commentary-section p{margin-block:0 18px!important;line-height:1.9!important}
:scope body :is(.b-commentary-numbered,.audit-definition){text-indent:0!important;text-align:justify!important;text-align-last:left!important}
:scope body .b-commentary-numbered{padding-left:2.2em!important}
:scope body .audit-level-1{margin-left:1em!important}
:scope body .audit-level-2{margin-left:2em!important}
:scope body .audit-level-3{margin-left:3em!important}
:scope body .b-chapter-overview a[data-verse-ranges]{white-space:nowrap;display:inline-block}
:scope body .prayer__amen{font:700 40px/1.8 var(--serif)!important;color:#B8862E!important;text-align:center!important;text-indent:0!important}
:scope body .engage-actions{align-items:center;gap:12px}
:scope body .engage-actions>button{height:56px!important;min-height:56px!important;box-sizing:border-box;margin:0}
:scope body .scripture-card-actions>button,:scope body .share-card-actions>button{min-height:56px}
:scope body :is(.ab-close,.journal-testimony,#verseBox){border-left:0!important}
:scope body .prayer-sheet blockquote{border:1px solid rgba(201,162,90,.6)!important}
:scope body .rp-day--selected{border-width:1px!important;border-color:rgba(201,162,90,.6)!important}
:scope body select{appearance:none;color:#D9B970;background-color:#302619;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C9A25A' stroke-width='2'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px!important;min-height:44px;border:1px solid rgba(201,162,90,.6)}
:scope body summary{list-style:none;min-height:44px;padding-block:10px;cursor:pointer;color:#D9B970}
:scope body summary::-webkit-details-marker{display:none}
:scope body details[open]>summary::after{transform:rotate(180deg)}
:scope body .journal-anonymous{min-height:44px;font-size:16px}
:scope body input[type=checkbox]{appearance:none;flex-shrink:0;width:24px;height:24px;border:1px solid #C9A25A;border-radius:4px;background:#302619;vertical-align:middle}
:scope body .ab-belief__verse>span:last-child{display:block;text-align:right;text-indent:0;margin-top:8px}
:scope body .directory-entry__title{display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;overflow:visible!important;text-overflow:clip!important;height:auto!important;min-height:30px;font-weight:700}
:scope body .directory-list li>a{align-items:start}
:scope body .directory-entry__mark{align-self:start;margin-top:4px}
:scope body .directory-entry__body{grid-template-rows:auto 1fr auto;min-width:0}
:scope body .site-footer a{display:inline-flex;align-items:center;min-height:32px;padding-block:4px}
:scope body .footer-groups__more{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px}
:scope body .site-footer :is(small,.site-footer__copy,.copyright){font-size:13px}
:scope body.public-prayer-page>.site-footer a{color:#D9B970;font-size:18px}
:scope body .faq:has(.faq__related){padding-block:24px!important}
:scope body .faq__related{margin:0;font-size:16px}
:scope body .chapter__title{margin-bottom:20px}
:scope body .p-hero__block{padding-right:0!important}
:scope body .p-hero__sub{max-width:100%}
:scope body .b-reader-settings{min-width:0}
:scope body .b-reader-settings>summary{font-size:18px;border-bottom:1px solid rgba(201,162,90,.6);margin-bottom:16px}
:scope body .b-index-controls{scrollbar-width:auto;scrollbar-color:#C9A25A #302619}
:scope body .b-index-controls::-webkit-scrollbar{width:12px}
:scope body .b-index-controls::-webkit-scrollbar-thumb{background:#C9A25A;border:3px solid #302619;border-radius:8px}
:scope body .b-index-controls::-webkit-scrollbar-track{background:#302619}
:scope body .b-breadcrumb{white-space:nowrap;font-size:14px;min-width:0}
:scope body .b-breadcrumb a{display:inline-block;white-space:nowrap}
:scope body :is(.directory-kicker,.b-progress-note){font-size:14px}
:scope body .toast{position:fixed;top:auto!important;bottom:calc(88px + env(safe-area-inset-bottom))!important;left:50%;transform:translateX(-50%);font-size:16px;max-width:calc(100% - 32px);z-index:10000}

@media(max-width:980px){:scope body .b-reader-settings:not([open]){margin-bottom:0}:scope body .b-index-controls{overflow:visible;max-height:none}}
@media(max-width:600px){
 :scope body .engage-actions>button{width:100%}
 :scope body :is(.fig-tab,.figure-cta,.rp-chapters a){min-height:44px}
 :scope body .breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
}
:scope body .sources-main h1{font-size:clamp(48px,8vw,72px);padding-block:12px 24px;margin-bottom:24px}
:scope body .sources-main :is(section,details){border-top:0;background:linear-gradient(90deg,transparent,rgba(201,162,90,.6),transparent) center top / 100% 1px no-repeat}
:scope body .sources-main section{background-size:100% 1px}

:scope body .public-prayer-entry__link{font-weight:700}
:scope body summary::after{display:inline-block;margin-left:12px;content:'';width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23C9A25A' stroke-width='2'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") center/contain no-repeat;vertical-align:middle}
:scope body .b-index-controls .rp-start,:scope body .b-index-controls .rp-all{min-height:50px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
:scope body .directory-entry__excerpt{-webkit-line-clamp:unset!important;overflow:visible!important;display:block!important;white-space:normal!important;text-overflow:clip!important}
:scope body .site-footer__bottom{border-top:0!important}
:scope body .b-title-lettering>span{display:inline!important}
:scope body .engage-actions>a{height:56px!important;min-height:56px!important;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;margin:0}
:scope body.home-page .hero__title{max-width:100%}
:scope body .b-crumb-chapter{white-space:nowrap}
:scope body #nativeTimePicker{pointer-events:none!important}
:scope body.home-page .hero__title{max-width:100%!important}
:scope body .directory-entry__excerpt{font-size:16px!important;line-height:1.8!important;text-align:justify;text-indent:2em}
:scope body .directory-list li{height:auto!important}
:scope body .directory-list li>a{height:100%;box-sizing:border-box}
:scope body.home-page .site-footer::before{display:none}
:scope body .prayer-directory .directory-list li>a{align-items:flex-start!important}
:scope body .prayer-directory .directory-entry__mark{align-self:start!important;margin-top:4px!important}
:scope body .prayer-directory .directory-entry__body{grid-template-rows:auto minmax(0,1fr) auto!important;min-height:156px}
:scope body .prayer-directory .directory-entry__excerpt{text-align-last:left!important}
:scope body .prayer-directory .directory-entry__excerpt.is-single-line{text-align:center!important;text-indent:0!important}
:scope body .b-commentary-section p:is(.audit-definition,.audit-level-1,.audit-level-2,.audit-level-3){text-indent:0!important;text-align:justify!important;text-align-last:left!important}
:scope body .b-commentary-section p.b-commentary-numbered{margin-left:0!important}
:scope body .b-commentary-section p.audit-definition{padding-left:1em;text-indent:-1em!important}
:scope body .prayer-directory .directory-list ul{grid-auto-rows:auto!important}
:scope body label:has(input[type=checkbox]){min-height:44px;font-size:16px;display:flex;align-items:center;gap:10px}
:scope body .b-commentary-section p:is(.audit-definition,.audit-outline){padding-left:0!important;text-indent:0!important}
:scope body .audit-term{font-weight:700;color:inherit}
:scope body.page-404 .nf{background:rgba(30,24,16,.94);color:#D9B970}
:scope body.page-404 :is(.chapter__title,.eyebrow,.faq__intro,.topic-links a){color:#D9B970}
:scope body.page-404 .topic-links a{border:1px solid rgba(201,162,90,.6);min-height:44px;background:#302619;display:inline-flex;align-items:center}
:scope body .b-appearance-settings{margin-block:10px 18px}
:scope body .b-appearance-settings>summary{font-size:17px}
:scope body .b-reading-head h1{text-align:center!important}
:scope body .chapter__title,:scope body .cta__title{max-width:100%}
:scope body .prayer__lead{font-size:16px;color:#765019;line-height:1.8}
:scope body .tone-option label{min-height:44px;display:flex;align-items:center}
:scope body .fig-tab{min-height:44px}
:scope body.figure-page .p-hero__name{color:#D9B970!important}
:scope body.figure-page .chapter__title{ text-align:center!important }
:scope body :is(.b-page-heading,#rp-title){font-weight:700;color:#C9A25A}
:scope body .site-footer .footer-group :is(a,.footer-group__title){font-size:16px}
:scope body .b-commentary-section p.audit-outline{margin-left:0!important;text-indent:0!important}
:scope body #b-title>.b-heading-name{display:block;font-size:1em;line-height:1.5;text-align:center;max-width:100%}
:scope body #b-title>.b-heading-topic{display:block;font-size:.78em;font-weight:400;line-height:1.8;text-align:center;margin-top:8px;max-width:100%}
:scope body .rp-date-dialog{width:min(366px,calc(100vw - 12px));padding:10px}
:scope body .rp-picker-head{grid-template-columns:44px minmax(0,1fr) 76px 44px;gap:4px}
:scope body .rp-date-dialog :is(button,input,select){min-height:44px;height:44px}
:scope body .rp-picker-grid{gap:0}
@media(max-width:360px){:scope body .rp-date-dialog{padding:0;width:calc(100vw - 8px)}:scope body .rp-picker-head,:scope body .rp-picker-footer{padding:6px}}
@media(max-width:600px){
 :scope body .b-breadcrumb{min-height:44px;line-height:44px}
 :scope body .b-breadcrumb a{min-height:44px;line-height:44px}
 :scope body :is(.b-chapter-overview,.b-commentary-section>p) a[data-verse-ranges]{display:inline-block;min-height:44px;line-height:44px;vertical-align:baseline}
 :scope body :is(.faq__related,.hub-more,.topic-links) a{display:inline-flex;align-items:center;min-height:44px}
 :scope body .modal .btn{min-height:44px;min-width:44px}
}
@media(max-width:600px){:scope body .engage-actions>a{width:100%}}
:scope body .b-verses>.b-verse{grid-template-columns:var(--verse-number-width,3.5em) minmax(0,1fr)!important;column-gap:12px!important}
:scope body .scripture__quote--lords p{text-indent:0!important;text-align:center!important;text-align-last:center!important}
/* Antique gold stays legible on the existing dark prayer panels. */
:scope body .prayer__lead{color:#D9B970}
:scope body .prayer-sheet .footer-copy p{font-size:16px!important}
:scope body .prayer-sheet .footer-copy small{font-size:14px!important}
@media(max-width:600px){:scope body .prayer-sheet .sheet-footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}:scope body .prayer-qr{justify-self:center}}
:scope body #pray-title::before{content:'';display:inline-block;width:24px;height:28px;margin-right:10px;vertical-align:-3px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23C9A25A' stroke-width='1.5'%3E%3Cpath d='M6 26 25 7M10 22C7 13 16 4 28 3c-1 12-10 21-18 19ZM15 17l8 1M19 13l1-7M6 26l-2 3'/%3E%3C/svg%3E") center/contain no-repeat}
:scope body .fit-line[data-fit-state="line"] :is(.nowrap,.text-phrase,.fit-line__clause){display:inline!important;white-space:inherit!important}

:scope body :is(.directory-kicker,.b-progress-note){font-size:14px!important}
:scope body .site-footer .footer-loc{font-size:13px}
:scope body .sheet-footer .domain,:scope body .directory-entry__date{font-size:14px!important}
:scope body .journal-compose-actions{flex-wrap:wrap}
:scope body .journal-check{font-size:16px!important;min-height:48px!important;white-space:nowrap;flex-shrink:0}
:scope body input[type=checkbox]:checked{background:#C9A25A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B200C' stroke-width='2.5'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center/20px 20px no-repeat;box-shadow:none}
@media(max-width:600px){:scope body .journal-compose-actions:has(input[name=anonymous]) .btn-primary{flex-basis:100%;width:100%}}

:scope body :is(.b-chapter-overview,.b-commentary-section>p) a[data-verse-ranges]{display:inline-block;white-space:nowrap}
:scope body .b-verses>.b-verse>span{text-indent:0!important;text-align:justify;text-align-last:left}
@media(min-width:981px){:scope body.reader-page .b-layout{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:980px){:scope body.reader-page .b-selectors{display:grid;grid-template-columns:minmax(0,1fr)!important}}
@media(min-width:900px){:scope body.figure-page .p-hero--gethsemane .p-hero__media::after{background:linear-gradient(90deg,#1E1810 0%,rgba(30,24,16,.75) 24%,transparent 50%),linear-gradient(180deg,rgba(30,24,16,.6),transparent 18%),linear-gradient(0deg,rgba(30,24,16,.85),transparent 30%)}}
:scope body .public-prayer-entry__label{font-weight:700}
:scope body .public-prayer-link .public-prayer-banner__arrow{width:.8em;height:.8em;vertical-align:-.1em}
:scope body :is(.scripture__note,.hub-fig__ref,.journal-eyebrow,.ab-ref,#charCount,.mood-picker__eyebrow,.fig-card__ref,#permStatus,.reminder-time-label,.rp-weekday,#draftState,.journal-card-header time,.site-footer .wordmark__cn){font-size:14px!important}
:scope body .mood-picker__eyebrow{white-space:nowrap}
:scope body .journal-card-header{font-size:14px}
@media(max-width:599px){:scope body.home-page #figures .mood{font-size:clamp(14px,3.5vw,16px)}}
:scope body.reader-page .b-reading-tools{align-items:center}
:scope body .b-breadcrumb.fit-line[data-fit-state="line"]{line-height:44px!important}
:scope body .b-breadcrumb.fit-line[data-fit-state="wrap"]{line-height:22px!important}
:scope body .rp-sidebar span.rp-reading-link{text-decoration:none;cursor:default}
@media(max-width:640px){
 :scope body.reader-page .b-chapter-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 :scope body.reader-page .b-chapter-nav>:is(.b-current-chapter,#b-location){grid-column:1/-1;grid-row:1;min-height:44px;display:flex;align-items:center;justify-content:center}
 :scope body.reader-page .b-chapter-nav>:is(a,button,span){min-width:0;min-height:48px;justify-content:center;text-align:center}
}
:scope body.journal-page .journal-app textarea{font-size:18px}
:scope body .journal-app textarea::placeholder,:scope body #pray #needInput::placeholder{color:#765019;opacity:1}
:scope body .prayer-sheet :is(.footer-copy p,.footer-copy small,.domain){color:#765019!important}
:scope body.public-prayer-page>footer.site-footer a{color:#D9B970!important}
@media(max-width:640px){:scope body.reader-page :is(#b-scripture,#b-study,#b-fhl-intro,.b-commentary-section,.b-verse){scroll-margin-top:calc(var(--reader-header-height,76px) + 154px)}}
:scope body .b-verse-dialog-content .b-popup-verse{grid-template-columns:var(--verse-number-width,3.5em) minmax(0,1fr)!important;column-gap:12px!important}
:scope body :is(.b-popup-verse,.b-verse)>sup{white-space:nowrap!important}
:scope body #verseBox{border:1px solid rgba(201,162,90,.6)!important;border-radius:12px}
:scope body.utility-page .page-title h1{color:#D9B970!important}

/* v372: prayer title frames only; prose and other interface headings stay unchanged. */
:scope body .prayer-frame-title {display:block!important;text-align:center!important;text-align-last:center!important;text-indent:0!important;white-space:normal!important;text-wrap:wrap!important;overflow-wrap:anywhere;max-width:100%;}
:scope body .prayer-frame-title::after,:scope body .prayer-title::before {content:none!important;display:none!important;}
:scope body .prayer-frame-title .frame-title-text {white-space:normal!important;text-wrap:wrap!important;overflow-wrap:anywhere;}
:scope body .prayer-frame-title .gold-cross {display:inline-block!important;width:.72em!important;height:.95em!important;margin:0 .3em 0 0!important;vertical-align:-.08em!important;}
:scope body .prayer-frame-title.frame-title-long {font-size:24px!important;line-height:1.55!important;}
:scope body .frame-title-full {font-size:18px;line-height:1.9;text-indent:2em;text-align:justify;margin-block:12px;}
:scope body .topic-symbol {display:inline-block;flex:none;vertical-align:middle;color:inherit;}
:scope body .tone-option label>span:first-child {display:inline-flex;align-items:center;justify-content:center;width:20px;height:22px;flex:none;}
@media(max-width:600px){
 :scope body .prayer-frame-title.frame-title-long {font-size:22px!important;}
 :scope body .prayer-frame-title .frame-title-text {display:inline;overflow:visible;}
}

:scope body :is(.frame-title-lead,.frame-title-ending) {white-space:nowrap!important;}

/* Regression fixes: preserve centered short copy while aligning its surrounding group. */
:scope body :is(.chapter__num,.eyebrow,.p-hero__sub,.figures__intro,.mood-picker__eyebrow){text-align:center}
:scope body :is(.chapter__title,.cta__title)::after{margin-inline:auto}
:scope body .site-footer .footer-groups{align-items:start}
:scope body .site-footer .footer-group__title{font-size:16px!important;text-align:left;white-space:normal!important}
:scope body .site-footer :is(.footer-tagline,.site-footer__tagline){text-align:left!important}
:scope body .b-progress p,:scope body .rp-sidebar p{text-align:left!important}
:scope body .b-commentary-section p:is(.audit-outline,.b-commentary-numbered,.audit-level-1,.audit-level-2,.audit-level-3){text-align:left!important;text-align-last:left!important}
:scope body .breadcrumb ol{display:flex;align-items:center;flex-wrap:wrap;column-gap:6px}
:scope body .breadcrumb li{display:inline-flex;align-items:center}
:scope body .breadcrumb [aria-current]{display:inline-flex;align-items:center;min-height:44px}
:scope body select{background:#302619 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A25A' stroke-width='2'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") no-repeat right 12px center/16px!important}
:scope body .directory-entry__title{font-size:18px!important;line-height:1.7}
:scope body #pray-title::before{width:1em;height:1em}
:scope body .mood{font-size:16px!important}
:scope body .fig-card__note,:scope body .card-hint{font-size:16px!important}
:scope body .rp-chapters{text-align:center}
:scope body .prayer-frame-title .frame-title-text{overflow:visible!important;-webkit-line-clamp:unset!important;line-clamp:unset!important}

:scope body .site-footer .site-footer__line{text-align:left!important}

:scope body.reader-page .b-index .b-progress p,:scope body.reader-page .b-index .rp-sidebar p{text-align:left!important;text-align-last:left!important}
:scope body .site-footer .footer-group__title{height:40px;min-height:40px;display:flex;align-items:center;margin:0 0 12px!important;padding:0!important;line-height:1.5!important}
:scope body .site-footer a{box-sizing:border-box}
:scope body .site-footer .footer-group__title a{font-size:inherit!important;line-height:inherit;min-height:40px;padding-block:0}
:scope body .site-footer .site-footer__line.is-single-line{text-align:left!important}

:scope body .eyebrow{justify-content:center;width:100%;box-sizing:border-box}
:scope body .p-hero__actions{text-align:center}
:scope body.home-page .generator-heading,:scope body.home-page .hero__content{text-align:center}
:scope body.home-page .hero__actions{justify-content:center}
:scope body.home-page .figures__head{display:block;text-align:center}
:scope body.home-page .figures__intro{margin-inline:auto;max-width:100%}
:scope body .breadcrumb a{border-bottom:0;text-decoration:none}

:scope body.figure-page :is(.verse-ref,.scriptures cite,.prayer__ref,.scripture__cite).is-single-line{text-align:right!important}
:scope body.reader-page .b-commentary-section p.is-single-line{text-align:left!important;text-align-last:left!important}

:scope body.home-page .hero__title{text-align:center!important}

:scope body.reader-page .b-index .rp-sidebar .rp-label{text-align:left!important}

}
@scope (html[data-regression-protected]) {
/* Mobile enhancement only; desktop typography and hero dimensions stay authored. */
@media (max-width: 768px) {
  .fit-line { line-break: strict; }
  .fit-line[data-fit-state="line"] { white-space: nowrap !important; text-wrap: nowrap !important; }
  .fit-line[data-fit-state="wrap"] { white-space: normal !important; text-wrap: wrap !important; }
  .fit-line[data-fit-state] :is(.nowrap,.text-phrase) { display: inline !important; white-space: inherit !important; }
  .fit-line .fit-line__clause { display: inline-block; white-space: nowrap; text-indent: 0; }
  /* Unpunctuated copy wider than the whole region must remain readable. */
  .fit-line .fit-line__clause--wide { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
  .figure-page .p-hero .p-hero__block { padding-right: 58px; box-sizing: border-box; min-width: 0; }
  .figure-page .p-hero .p-hero__sub { font-size: clamp(15px, 4.7vw, 22px); max-width: 100%; }
}
@media (max-width: 768px) {
  /* Flex buttons need one inline formatting context for clause-level wrapping. */
  :is(button,a.btn,.btn-primary,.btn-gold).fit-line[data-fit-state="wrap"] { display: inline-block !important; height: auto !important; min-height: 56px; padding-block: 14px !important; }
}

/* Chinese book paragraphs: presentation only, never prepend text characters. */
:where(p,.prayer-body,.verse-text,.dy-card__text,.wall-card__text) {
  line-break: strict; hanging-punctuation: allow-end;
  text-autospace: ideograph-alpha ideograph-numeric;
}
.book-paragraph,
:is(.prayer-body,.verse-text,.dy-card__text,.wall-card__text),
:is(.prayer__text,.story__text,.request,.scriptures,.prayer-sheet article) p:not(.amen):not(.prayer__amen) {
  text-indent: 2em !important; text-align: justify !important; text-align-last: auto;
  line-height: 1.8 !important; text-wrap: pretty; margin-block: 0 .5em !important;
}
:is(.verse-ref,.scriptures cite,.prayer__ref) { display:block; text-align:right; text-indent:0 !important; font-size:.85em; }
.reference-needs-dash::before { content:'——'; }
.gold-cross { vertical-align:middle; flex-shrink:0; }
:is(.sheet-cross,.prayer-cross) { display:flex; justify-content:center; margin-block:16px; }
.is-multiline { display:block !important; width:fit-content !important; max-width:100%; margin:0 auto !important; text-align:justify !important; text-align-last:left !important; white-space:normal !important; text-wrap:wrap !important; }
.is-long-title { font-size:clamp(20px,5.6vw,24px) !important; line-height:1.5 !important; }
.sheet-footer .footer-copy { flex:1; min-width:0; }
.sheet-footer { column-gap:16px; }
.sheet-footer .footer-copy p { text-align:left; text-indent:0 !important; width:fit-content; margin-inline:auto; line-height:1.8; }
.sheet-footer .footer-copy .verse-clause { display:block; white-space:nowrap; }
.sheet-footer .footer-copy small { display:block; text-align:right; color:#A07C30; }

:is(.dy-card__text,.wall-card__text,.wall-mine__text) { text-indent:0 !important; }
:is(.dy-card__text,.wall-card__text,.wall-mine__text) p { text-indent:2em !important; margin:0 0 .5em; text-align:justify; line-height:1.8; text-wrap:pretty; }
:is(.amen,.prayer-amen,.prayer__amen,.sheet-motto,.directory-kicker,.directory-intro,.verse-ref) { text-indent:0 !important; }

.prayer-sheet .sheet-cross { margin-block:16px; }

:is(.verse-ref,.scriptures cite,.prayer__ref,.scripture__cite,.ab-ref,.dy-verse__ref,.wall-aside-verse__ref,.verse-inline-ref) { display:block; text-align:right !important; text-indent:0 !important; font-size:.85em; }

/* Titles and book paragraphs use their full region before wrapping. */
:is(.is-multiline,.book-paragraph,.prayer-body,.verse-text) :is(.fit-line__clause,.nowrap,.text-phrase) { display:inline !important; white-space:normal !important; }

.prayer-sheet h1::after { text-align:center; }

.prayer-title-ending, .prayer-title-ending * { white-space:nowrap !important; }
.prayer-sheet h1::after { text-align-last:center; }

/* Notes, centered copy and measured single lines never receive a paragraph indent. */
:where(:scope):is(html) body :is(.is-single-line,.hero__verse,.journal-private,.journal-empty,[class*="caption"],[class*="label"],[class*="hint"],[class*="status"]) { text-indent:0 !important; }
:where(:scope):is(html) body :is(p,figcaption,cite).is-centered-note { text-indent:0 !important; }
:is(.wall-testimony,p.journal-testimony) { line-break:strict; text-align:justify; text-align-last:auto; text-indent:0 !important; text-wrap:pretty; overflow-wrap:normal; }
:where(:scope):is(html) body .wall-testimony { text-wrap:wrap; }
:where(:scope):is(html) body .wall-testimony b { display:inline; margin-right:.5em; }
/* A long figure name must wrap inside its grid track, never enlarge the card. */
.hub-fig__body { min-width:0; }
:where(:scope):is(html) body :is(.wall-testimony,p.journal-testimony).book-paragraph:not(.is-single-line) { text-indent:2em !important; text-wrap:pretty; }
.testimony-ending { white-space:nowrap; }
/* A single sentence is copy, even when placed inside a prose section. */
:where(:scope):is(html) body :is(.story__text,.prayer__text) p:not(.book-paragraph):not(.amen):not(.prayer__amen) { text-indent:0 !important; text-wrap:wrap !important; }
:where(:scope):is(html) body :is(.story__text,.prayer__text,.request,.scriptures,.prayer-sheet article) p:is(.is-single-line,.is-centered-note):not(.amen):not(.prayer__amen) { text-indent:0 !important; }

/* Shared presentation of Markdown headings and readable scripture search. */
.markdown-heading{display:block;font-family:var(--serif);font-size:1.15em;line-height:1.7;color:#C9A25A;text-align:center;text-indent:0!important;margin:16px 0 10px}
.markdown-heading .gold-cross{width:14px;height:20px;margin-right:8px;vertical-align:-3px}
/* Scripture search only: quiet borders, generous controls and readable results. */
.scripture-search{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(760px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:85dvh;padding:28px;border:1px solid rgba(201,162,90,.6);border-radius:10px;background:#241d14;color:#E8D194;font:18px/1.8 var(--serif);overflow:auto}
.scripture-search::backdrop{background:rgb(15 11 6 / 75%)}
.scripture-search header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
.scripture-search h2{margin:0;font-size:24px;line-height:1.5}
.scripture-search button{box-sizing:border-box;min-height:44px;border:1px solid rgba(201,162,90,.6);border-radius:6px;background:#302619;color:#E8D194;font:inherit;padding:8px 12px;cursor:pointer}
.scripture-search form{display:grid;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:12px;margin:0}
.scripture-search form input{box-sizing:border-box;width:100%;min-width:0;height:52px;min-height:52px;margin:0;padding:0 14px;border:1px solid rgba(201,162,90,.6);border-radius:6px;background:#302619;color:#E8D194;font:18px/1.5 var(--serif);box-shadow:none;outline:none}
.scripture-search form input::placeholder{color:#c4b491;opacity:1}
.scripture-search form input:focus{border-color:#C9A25A;box-shadow:none;outline:none}
.scripture-search form input:focus-visible{border-color:#D9B970;background:#3a2e1e;outline:none}
.scripture-search form .scripture-search-submit{--gold-button-height:52px;height:52px;min-height:52px;margin:0;padding:0 20px;border:0;border-radius:999px;background:url(/images/ui/btn-cap-l3.webp) left center / auto 100% no-repeat,url(/images/ui/btn-cap-r3.webp) right center / auto 100% no-repeat,url(/images/ui/btn-mid2.webp) center / 100% 100% no-repeat;color:#3B200C;font-size:19px;font-weight:700;line-height:1;box-shadow:0 4px 8px rgba(44,26,14,.3)}
.scripture-search [role=status]{margin:24px 0 16px;font-size:18px;line-height:1.8;text-indent:0;text-align:left}
.scripture-search [role=status]:empty{display:none}
.scripture-search ul{padding:0;margin:24px 0 0}
.scripture-search ul:empty{display:none}
.scripture-search li{margin:0 0 24px;list-style:none;border-bottom:1px solid #C9A25A55;padding-bottom:20px}
.scripture-search a{color:#D9B970;text-decoration:underline;text-underline-offset:4px;font-size:20px}
.scripture-search li p{font-size:20px;line-height:1.9;text-indent:2em;text-align:justify;margin:10px 0 0;overflow-wrap:break-word}
@media(max-width:600px){
 .scripture-search{padding:20px}
 .scripture-search form{grid-template-columns:minmax(0,1fr)}
 .scripture-search form .scripture-search-submit{width:100%}
}

/* v369: shared QA corrections, preserving the homepage and navigation structure. */
:where(:scope):is(html) body .fit-line[data-fit-state="line"]{white-space:nowrap!important;text-wrap:nowrap!important;text-indent:0!important}
:where(:scope):is(html) body :is(h1,h2,h3,.chapter__title,.cta__title,.ab-tagline,.figure-cta){text-align:center}
:where(:scope):is(html) body .fit-line{max-width:100%;min-width:0}
:where(:scope):is(html) body :is(.book-paragraph,.audit-prose):not(.is-single-line):not(.b-verse):not(.b-commentary-numbered):not(.audit-definition):not(.audit-outline):not(.audit-level-1):not(.audit-level-2):not(.audit-level-3){text-indent:2em!important;text-align:justify!important;text-align-last:left!important;text-wrap:wrap!important}
:where(:scope):is(html) body :is(p,figcaption,cite).is-single-line:not(.b-verse):not(.b-commentary-numbered){text-align:center!important;text-indent:0!important}
:where(:scope):is(html) body :is(.scripture__ending,.scripture__ending *){display:inline!important;white-space:normal!important}
:where(:scope):is(html) body .b-verse,:where(:scope):is(html) body .b-verse.book-paragraph{ text-indent:0!important;text-align:left!important;margin-block:0 18px!important;line-height:1.9!important}
:where(:scope):is(html) body .b-verse>span{text-indent:0!important}
:where(:scope):is(html) body .b-commentary-section p{margin-block:0 18px!important;line-height:1.9!important}
:where(:scope):is(html) body :is(.b-commentary-numbered,.audit-definition){text-indent:0!important;text-align:justify!important;text-align-last:left!important}
:where(:scope):is(html) body .b-commentary-numbered{padding-left:2.2em!important}
:where(:scope):is(html) body .audit-level-1{margin-left:1em!important}
:where(:scope):is(html) body .audit-level-2{margin-left:2em!important}
:where(:scope):is(html) body .audit-level-3{margin-left:3em!important}
:where(:scope):is(html) body .b-chapter-overview a[data-verse-ranges]{white-space:nowrap;display:inline-block}
:where(:scope):is(html) body .prayer__amen{font:700 40px/1.8 var(--serif)!important;color:#B88A43!important;text-align:center!important;text-indent:0!important}
:where(:scope):is(html) body .engage-actions{align-items:center;gap:12px}
:where(:scope):is(html) body .engage-actions>button{height:56px!important;min-height:56px!important;box-sizing:border-box;margin:0}
:where(:scope):is(html) body .scripture-card-actions>button,:where(:scope):is(html) body .share-card-actions>button{min-height:56px}
:where(:scope):is(html) body :is(.ab-close,.journal-testimony,#verseBox){border-left:0!important}
:where(:scope):is(html) body .prayer-sheet blockquote{border:1px solid rgba(201,162,90,.6)!important}
:where(:scope):is(html) body .rp-day--selected{border-width:1px!important;border-color:rgba(201,162,90,.6)!important}
:where(:scope):is(html) body :is(.qmark--open,.qmark--close){border-width:1px!important}
:where(:scope):is(html) body select{appearance:none;color:#D9B970;background-color:#302619;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C9A25A' stroke-width='2'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px!important;min-height:44px;border:1px solid rgba(201,162,90,.6)}
:where(:scope):is(html) body summary{list-style:none;min-height:44px;padding-block:10px;cursor:pointer;color:#D9B970}
:where(:scope):is(html) body summary::-webkit-details-marker{display:none}
:where(:scope):is(html) body summary::after{content:'⌄';display:inline-block;color:#C9A25A;margin-left:12px;font:700 22px/1 sans-serif}
:where(:scope):is(html) body details[open]>summary::after{transform:rotate(180deg)}
:where(:scope):is(html) body .journal-anonymous{min-height:44px;font-size:16px}
:where(:scope):is(html) body input[type=checkbox]{appearance:none;flex-shrink:0;width:24px;height:24px;border:1px solid #C9A25A;border-radius:4px;background:#302619;vertical-align:middle}
:where(:scope):is(html) body input[type=checkbox]:checked{background:#C9A25A;box-shadow:inset 0 0 0 5px #302619}
:where(:scope):is(html) body .ab-belief__verse>span:last-child{display:block;text-align:right;text-indent:0;margin-top:8px}
:where(:scope):is(html) body .directory-entry__title{display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;overflow:visible!important;text-overflow:clip!important;height:auto!important;min-height:30px;font-weight:700}
:where(:scope):is(html) body .directory-list li>a{align-items:start}
:where(:scope):is(html) body .directory-entry__mark{align-self:start;margin-top:4px}
:where(:scope):is(html) body .directory-entry__body{grid-template-rows:auto 1fr auto;min-width:0}
:where(:scope):is(html) body .site-footer a{display:inline-flex;align-items:center;min-height:44px;padding-block:8px}
:where(:scope):is(html) body .footer-groups__more{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px}
:where(:scope):is(html) body .site-footer :is(small,.site-footer__copy,.copyright){font-size:13px}
:where(:scope):is(html) body.public-prayer-page>.site-footer a{color:#D9B970;font-size:18px}
:where(:scope):is(html) body .faq:has(.faq__related){padding-block:24px!important}
:where(:scope):is(html) body .faq__related{margin:0;font-size:16px}
:where(:scope):is(html) body .chapter__title{margin-bottom:20px}
:where(:scope):is(html) body .p-hero__block{padding-right:0!important}
:where(:scope):is(html) body .p-hero__sub{max-width:100%}
:where(:scope):is(html) body .b-reader-settings{min-width:0}
:where(:scope):is(html) body .b-reader-settings>summary{font-size:18px;border-bottom:1px solid rgba(201,162,90,.6);margin-bottom:16px}
:where(:scope):is(html) body .b-index-controls{scrollbar-width:auto;scrollbar-color:#C9A25A #302619}
:where(:scope):is(html) body .b-index-controls::-webkit-scrollbar{width:12px}
:where(:scope):is(html) body .b-index-controls::-webkit-scrollbar-thumb{background:#C9A25A;border:3px solid #302619;border-radius:8px}
:where(:scope):is(html) body .b-index-controls::-webkit-scrollbar-track{background:#302619}
:where(:scope):is(html) body .b-breadcrumb{white-space:nowrap;font-size:14px;min-width:0}
:where(:scope):is(html) body .b-breadcrumb a{display:inline-block;white-space:nowrap}
:where(:scope):is(html) body :is(.eyebrow,.p-hero__kicker,.directory-kicker,.b-progress-note){font-size:14px}
:where(:scope):is(html) body .toast{position:fixed;top:auto!important;bottom:calc(88px + env(safe-area-inset-bottom))!important;left:50%;transform:translateX(-50%);font-size:16px;max-width:calc(100% - 32px);z-index:10000}

@media(max-width:980px){:where(:scope):is(html) body .b-reader-settings:not([open]){margin-bottom:0}:where(:scope):is(html) body .b-index-controls{overflow:visible;max-height:none}}
@media(max-width:600px){
 :where(:scope):is(html) body .engage-actions>button{width:100%}
 :where(:scope):is(html) body :is(.fig-tab,.figure-cta,.rp-chapters a){min-height:44px}
 :where(:scope):is(html) body .breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
}
:where(:scope):is(html) body .sources-main h1{font-size:clamp(48px,8vw,72px);padding-block:12px 24px;margin-bottom:24px}
:where(:scope):is(html) body .sources-main :is(section,details){border-top:0;background:linear-gradient(90deg,transparent,rgba(201,162,90,.6),transparent) center top / 100% 1px no-repeat}
:where(:scope):is(html) body .sources-main section{background-size:100% 1px}

:where(:scope):is(html) body .public-prayer-entry__link{font-weight:700}
:where(:scope):is(html) body summary::after{content:'';width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23C9A25A' stroke-width='2'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") center/contain no-repeat;vertical-align:middle}
:where(:scope):is(html) body .b-index-controls .rp-start,:where(:scope):is(html) body .b-index-controls .rp-all{min-height:50px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
:where(:scope):is(html) body .directory-entry__excerpt{-webkit-line-clamp:unset!important;overflow:visible!important;display:block!important;white-space:normal!important;text-overflow:clip!important}
:where(:scope):is(html) body .site-footer__bottom{border-top:0!important}
:where(:scope):is(html) body .b-title-lettering>span{display:inline!important}
:where(:scope):is(html) body .engage-actions>a{height:56px!important;min-height:56px!important;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;margin:0}
:where(:scope):is(html) body.home-page .hero__title{max-width:100%}
:where(:scope):is(html) body .b-crumb-chapter{white-space:nowrap}
:where(:scope):is(html) body #nativeTimePicker{pointer-events:none!important}
:where(:scope):is(html) body.home-page .hero__title{max-width:100%!important}
:where(:scope):is(html) body .directory-entry__excerpt{font-size:16px!important;line-height:1.8!important;text-align:justify;text-indent:2em}
:where(:scope):is(html) body .directory-list li{height:auto!important}
:where(:scope):is(html) body .directory-list li>a{height:100%;box-sizing:border-box}
:where(:scope):is(html) body.home-page .site-footer::before{display:none}
:where(:scope):is(html) body .prayer-directory .directory-list li>a{align-items:flex-start!important}
:where(:scope):is(html) body .prayer-directory .directory-entry__mark{align-self:start!important;margin-top:4px!important}
:where(:scope):is(html) body .prayer-directory .directory-entry__body{grid-template-rows:auto minmax(0,1fr) auto!important;min-height:156px}
:where(:scope):is(html) body .prayer-directory .directory-entry__excerpt{text-align-last:left!important}
:where(:scope):is(html) body .prayer-directory .directory-entry__excerpt.is-single-line{text-align:center!important;text-indent:0!important}
:where(:scope):is(html) body .b-commentary-section p:is(.audit-definition,.audit-level-1,.audit-level-2,.audit-level-3){text-indent:0!important;text-align:justify!important;text-align-last:left!important}
:where(:scope):is(html) body .b-commentary-section p.b-commentary-numbered{margin-left:0!important}
:where(:scope):is(html) body .b-commentary-section p.audit-definition{padding-left:1em;text-indent:-1em!important}
:where(:scope):is(html) body .prayer-directory .directory-list ul{grid-auto-rows:auto!important}
:where(:scope):is(html) body .prayer__amen{color:#765019!important}
:where(:scope):is(html) body label:has(input[type=checkbox]){min-height:44px;font-size:16px;display:flex;align-items:center;gap:10px}
:where(:scope):is(html) body .b-commentary-section p:is(.audit-definition,.audit-outline){padding-left:0!important;text-indent:0!important}
:where(:scope):is(html) body .audit-term{font-weight:700;color:inherit}
:where(:scope):is(html) body.page-404 .nf{background:rgba(30,24,16,.94);color:#D9B970}
:where(:scope):is(html) body.page-404 :is(.chapter__title,.eyebrow,.faq__intro,.topic-links a){color:#D9B970}
:where(:scope):is(html) body.page-404 .topic-links a{border:1px solid rgba(201,162,90,.6);min-height:44px;background:#302619;display:inline-flex;align-items:center}
:where(:scope):is(html) body .b-appearance-settings{margin-block:10px 18px}
:where(:scope):is(html) body .b-appearance-settings>summary{font-size:17px}
:where(:scope):is(html) body .b-reading-head h1{text-align:center!important}
:where(:scope):is(html) body .chapter__title,:where(:scope):is(html) body .cta__title{max-width:100%}
:where(:scope):is(html) body .prayer__lead{font-size:16px;color:#765019;line-height:1.8}
:where(:scope):is(html) body .tone-option label{min-height:44px;display:flex;align-items:center}
:where(:scope):is(html) body .fig-tab{min-height:44px}
:where(:scope):is(html) body.figure-page .p-hero__name{color:#D9B970!important}
:where(:scope):is(html) body.figure-page .chapter__title{ text-align:center!important }
:where(:scope):is(html) body :is(.b-page-heading,#rp-title){font-weight:700;color:#C9A25A}
:where(:scope):is(html) body .site-footer .footer-group :is(a,.footer-group__title){font-size:16px}
:where(:scope):is(html) body .b-commentary-section p.audit-outline{margin-left:0!important;text-indent:0!important}
:where(:scope):is(html) body #b-title>.b-heading-name{display:block;font-size:1em;line-height:1.5;text-align:center;max-width:100%}
:where(:scope):is(html) body #b-title>.b-heading-topic{display:block;font-size:.78em;font-weight:400;line-height:1.8;text-align:center;margin-top:8px;max-width:100%}
:where(:scope):is(html) body .rp-date-dialog{width:min(366px,calc(100vw - 12px));padding:10px}
:where(:scope):is(html) body .rp-picker-head{grid-template-columns:44px minmax(0,1fr) 76px 44px;gap:4px}
:where(:scope):is(html) body .rp-date-dialog :is(button,input,select){min-height:44px;height:44px}
:where(:scope):is(html) body .rp-picker-grid{gap:0}
@media(max-width:360px){:where(:scope):is(html) body .rp-date-dialog{padding:0;width:calc(100vw - 8px)}:where(:scope):is(html) body .rp-picker-head,:where(:scope):is(html) body .rp-picker-footer{padding:6px}}
@media(max-width:600px){
 :where(:scope):is(html) body .b-breadcrumb{min-height:44px;line-height:44px}
 :where(:scope):is(html) body .b-breadcrumb a{min-height:44px;line-height:44px}
 :where(:scope):is(html) body :is(.b-chapter-overview,.b-commentary-section>p) a[data-verse-ranges]{display:inline-block;min-height:44px;line-height:44px;vertical-align:baseline}
 :where(:scope):is(html) body :is(.faq__related,.hub-more,.topic-links) a{display:inline-flex;align-items:center;min-height:44px}
 :where(:scope):is(html) body .modal .btn{min-height:44px;min-width:44px}
}
@media(max-width:600px){:where(:scope):is(html) body .engage-actions>a{width:100%}}
:where(:scope):is(html) body .b-verses>.b-verse{grid-template-columns:var(--verse-number-width,3.5em) minmax(0,1fr)!important;column-gap:12px!important}
:where(:scope):is(html) body .scripture__quote--lords p{text-indent:0!important;text-align:center!important;text-align-last:center!important}
/* Antique gold stays legible on the existing dark prayer panels. */
:where(:scope):is(html) body .prayer__amen{color:#B8862E!important}
:where(:scope):is(html) body .prayer__lead{color:#D9B970}
:where(:scope):is(html) body .prayer-sheet .footer-copy p{font-size:16px!important}
:where(:scope):is(html) body .prayer-sheet .footer-copy small{font-size:14px!important}
@media(max-width:600px){:where(:scope):is(html) body .prayer-sheet .sheet-footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}:where(:scope):is(html) body .prayer-qr{justify-self:center}}
:where(:scope):is(html) body #pray-title::before{content:'';display:inline-block;width:24px;height:28px;margin-right:10px;vertical-align:-3px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23C9A25A' stroke-width='1.5'%3E%3Cpath d='M6 26 25 7M10 22C7 13 16 4 28 3c-1 12-10 21-18 19ZM15 17l8 1M19 13l1-7M6 26l-2 3'/%3E%3C/svg%3E") center/contain no-repeat}
:where(:scope):is(html) body .fit-line[data-fit-state="line"] :is(.nowrap,.text-phrase,.fit-line__clause){display:inline!important;white-space:inherit!important}

:where(:scope):is(html) body :is(.eyebrow,.p-hero__kicker,.directory-kicker,.b-progress-note){font-size:14px!important}
:where(:scope):is(html) body .site-footer .footer-loc{font-size:13px}
:where(:scope):is(html) body .sheet-footer .domain,:where(:scope):is(html) body .directory-entry__date{font-size:14px!important}
:where(:scope):is(html) body .journal-compose-actions{flex-wrap:wrap}
:where(:scope):is(html) body .journal-check{font-size:16px!important;min-height:48px!important;white-space:nowrap;flex-shrink:0}
:where(:scope):is(html) body input[type=checkbox]:checked{background:#C9A25A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B200C' stroke-width='2.5'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center/20px 20px no-repeat;box-shadow:none}
@media(max-width:600px){:where(:scope):is(html) body .journal-compose-actions:has(input[name=anonymous]) .btn-primary{flex-basis:100%;width:100%}}

:where(:scope):is(html) body :is(.b-chapter-overview,.b-commentary-section>p) a[data-verse-ranges]{display:inline-block;white-space:nowrap}
:where(:scope):is(html) body .b-verses>.b-verse>span{text-indent:0!important;text-align:justify;text-align-last:left}
@media(min-width:981px){:where(:scope):is(html) body.reader-page .b-layout{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:980px){:where(:scope):is(html) body.reader-page .b-selectors{display:grid;grid-template-columns:minmax(0,1fr)!important}}
@media(min-width:900px){:where(:scope):is(html) body.figure-page .p-hero--gethsemane .p-hero__media::after{background:linear-gradient(90deg,#1E1810 0%,rgba(30,24,16,.75) 24%,transparent 50%),linear-gradient(180deg,rgba(30,24,16,.6),transparent 18%),linear-gradient(0deg,rgba(30,24,16,.85),transparent 30%)}}
:where(:scope):is(html) body .public-prayer-entry__label{font-weight:700}
:where(:scope):is(html) body .public-prayer-link .public-prayer-banner__arrow{width:.8em;height:.8em;vertical-align:-.1em}
:where(:scope):is(html) body :is(.scripture__note,.hub-fig__ref,.journal-eyebrow,.ab-ref,#charCount,.mood-picker__eyebrow,.fig-card__ref,#permStatus,.reminder-time-label,.rp-weekday,#draftState,.journal-card-header time,.site-footer .wordmark__cn){font-size:14px!important}
:where(:scope):is(html) body .mood-picker__eyebrow{white-space:nowrap}
:where(:scope):is(html) body .journal-card-header{font-size:14px}
@media(max-width:599px){:where(:scope):is(html) body.home-page #figures .mood{font-size:clamp(14px,3.5vw,16px)}}
:where(:scope):is(html) body.reader-page .b-reading-tools{align-items:center}
:where(:scope):is(html) body .b-breadcrumb.fit-line[data-fit-state="line"]{line-height:44px!important}
:where(:scope):is(html) body .b-breadcrumb.fit-line[data-fit-state="wrap"]{line-height:22px!important}
:where(:scope):is(html) body .rp-sidebar span.rp-reading-link{text-decoration:none;cursor:default}
@media(max-width:640px){
 :where(:scope):is(html) body.reader-page .b-chapter-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 :where(:scope):is(html) body.reader-page .b-chapter-nav>:is(.b-current-chapter,#b-location){grid-column:1/-1;grid-row:1;min-height:44px;display:flex;align-items:center;justify-content:center}
 :where(:scope):is(html) body.reader-page .b-chapter-nav>:is(a,button,span){min-width:0;min-height:48px;justify-content:center;text-align:center}
}
:where(:scope):is(html) body.journal-page .journal-app textarea{font-size:18px}
:where(:scope):is(html) body .journal-app textarea::placeholder,:where(:scope):is(html) body #pray #needInput::placeholder{color:#765019;opacity:1}
:where(:scope):is(html) body .prayer-sheet :is(.footer-copy p,.footer-copy small,.domain){color:#765019!important}
:where(:scope):is(html) body.public-prayer-page>footer.site-footer a{color:#D9B970!important}
@media(max-width:640px){:where(:scope):is(html) body.reader-page :is(#b-scripture,#b-study,#b-fhl-intro,.b-commentary-section,.b-verse){scroll-margin-top:calc(var(--reader-header-height,76px) + 154px)}}
:where(:scope):is(html) body .b-verse-dialog-content .b-popup-verse{grid-template-columns:var(--verse-number-width,3.5em) minmax(0,1fr)!important;column-gap:12px!important}
:where(:scope):is(html) body :is(.b-popup-verse,.b-verse)>sup{white-space:nowrap!important}
:where(:scope):is(html) body #verseBox{border:1px solid rgba(201,162,90,.6)!important;border-radius:12px}
:where(:scope):is(html) body.utility-page .page-title h1{color:#D9B970!important}

/* v372: prayer title frames only; prose and other interface headings stay unchanged. */
:where(:scope):is(html) body .prayer-frame-title {display:block!important;text-align:center!important;text-align-last:center!important;text-indent:0!important;white-space:normal!important;text-wrap:balance!important;overflow-wrap:anywhere;max-width:100%;}
:where(:scope):is(html) body .prayer-frame-title::after,:where(:scope):is(html) body .prayer-title::before {content:none!important;display:none!important;}
:where(:scope):is(html) body .prayer-frame-title .frame-title-text {white-space:normal!important;text-wrap:balance!important;overflow-wrap:anywhere;}
:where(:scope):is(html) body .prayer-frame-title .gold-cross {display:inline-block!important;width:.72em!important;height:.95em!important;margin:0 .3em 0 0!important;vertical-align:-.08em!important;}
:where(:scope):is(html) body .prayer-frame-title.frame-title-long {font-size:24px!important;line-height:1.55!important;}
:where(:scope):is(html) body .frame-title-full {font-size:18px;line-height:1.9;text-indent:2em;text-align:justify;margin-block:12px;}
:where(:scope):is(html) body .topic-symbol {display:inline-block;flex:none;vertical-align:middle;color:inherit;}
:where(:scope):is(html) body .tone-option label>span:first-child {display:inline-flex;align-items:center;justify-content:center;width:20px;height:22px;flex:none;}
@media(max-width:600px){
 :where(:scope):is(html) body .prayer-frame-title.frame-title-long {font-size:22px!important;}
 :where(:scope):is(html) body .prayer-frame-title .frame-title-text {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;}
}

:where(:scope):is(html) body :is(.frame-title-lead,.frame-title-ending) {white-space:nowrap!important;}

}

/* v374: small visual spacing fixes; retired surfaces keep their existing UI. */
html:not([data-regression-protected]) :is(.topic-links,.fig-tabs,.tag-group,.filter-tabs,.mood-links,.pill-row,.chip-row){justify-content:center}
html:not([data-regression-protected]) :is(.figures__intro,.chapter__sub,.cta__sub,.section-subtitle,.section-sub){line-height:1.7}
html:not([data-regression-protected]) :is(h1,h2,h3)+:is(.subtitle,.section-subtitle,.section-sub,.chapter__sub,.cta__sub,p){margin-top:20px}
html:not([data-regression-protected]) .figures__head{row-gap:20px}
html:not([data-regression-protected]) .figures__title{margin-bottom:20px}
.home-page :is(.card-title,.btn-save-reminder){align-items:center}
.home-page :is(.card-title,.btn-save-reminder) svg{width:22px;height:22px;stroke-width:1.9;flex-shrink:0;vertical-align:middle}
.home-page :is(.card-title,.btn-save-reminder) span{white-space:nowrap}
.journal-app #loadMore{display:block;width:fit-content;margin:calc(64px * .419 + 36px) auto 0;min-height:48px;--gold-button-height:48px;padding:0 32px}
.journal-app #loadMore[hidden]{display:none}
.sheet-footer{grid-template-columns:130px minmax(0,1fr) 130px;gap:16px;align-items:center}
.sheet-footer .footer-copy{grid-column:2;grid-row:2;text-align:center}
.sheet-footer .prayer-qr{grid-column:1;grid-row:2;box-sizing:border-box}
.sheet-footer .footer-share{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;grid-column:3;grid-row:2;width:130px;height:130px;padding:22px;border:0;background:url('/images/ui/card-footer-oval.webp') center/contain no-repeat;color:#74561C;font:600 20px/1.5 var(--serif);cursor:pointer}
.sheet-footer .footer-share svg{display:block;width:24px;height:24px;margin:0;flex-shrink:0;fill:currentColor}
@media(max-width:600px){
 .sheet-footer{grid-template-columns:1fr 1fr;gap:18px 12px}
 .sheet-footer .footer-copy{grid-column:1/-1;grid-row:2}
 .sheet-footer .prayer-qr{grid-column:1;grid-row:3;justify-self:end;width:110px;height:110px;padding:19px}
 .sheet-footer .footer-share{grid-column:2;grid-row:3;justify-self:start;width:110px;height:110px;padding:19px}
}
html:not([data-regression-protected]) :is(.moods,.wall-filters,.tag-chips,.filter-row){justify-content:center}
.sheet-footer .prayer-qr{width:130px;height:130px;padding:33px;min-height:0;align-self:center}
.prayer-sheet .footer-copy :is(p,small){text-align:center!important;text-align-last:center!important;text-indent:0!important}
@media(max-width:600px){.sheet-footer .prayer-qr{width:110px;height:110px;padding:19px}}
.home-page .tone-option label{align-items:center;white-space:nowrap}
.home-page .tone-option .topic-symbol{width:21px;height:21px;stroke-width:1.9;vertical-align:middle;flex-shrink:0}
@media(max-width:600px){html body .prayer-sheet .sheet-footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}}

@media(max-width:600px){html body .prayer-sheet .sheet-footer .prayer-qr{justify-self:end}}

/* v391: keep the forwarding label and arrow compact within the oval. */
.sheet-footer .footer-share { gap: 4px; }
.sheet-footer .footer-share svg { width: 20px; height: 20px; }
.sheet-footer .footer-share > span { display: block; margin: 0; padding: 0; font-size: 16px; line-height: 1.25; letter-spacing: 0; text-indent: 0; }

/* Scripture search uses the same subdued grape pattern as the site. */
html body dialog.scripture-search {
  background-image: linear-gradient(rgba(36,29,20,.85), rgba(36,29,20,.85)), url('/images/pattern-baroque.webp');
  background-size: auto, 240px 240px;
}
/* Calendar assignments remain aligned with chapter links, including short lines. */
html:not([data-regression-protected]) body.reader-page .rp-calendar .rp-day p.rp-assignment {
  text-align: left !important;
  text-align-last: left !important;
  margin: 0 !important;
}
