.sssf{--sbg:#141b20;--scard:#202a2e;--stext:#f4eee2;--smuted:#b9c5c4;--saccent:#e8bc6f;--sborder:#526160;background:var(--sbg);color:var(--stext);font:inherit;line-height:1.72;padding:clamp(14px,2vw,30px);border-radius:12px;max-width:1450px;margin:0 auto}.sssf.sssf-day,html.sss-mode-day .sssf{--sbg:#f5f1e8;--scard:#fffaf2;--stext:#25313a;--smuted:#47575c;--saccent:#86551a;--sborder:#9eabae}.sssf *{box-sizing:border-box}.sssf h1,.sssf h2,.sssf h3,.sssf p,.sssf strong{color:inherit}.sssf a{color:var(--saccent)}.sssf button,.sssf-actions a{border:1px solid var(--sborder);background:var(--scard);color:var(--stext);padding:7px 12px;border-radius:5px;cursor:pointer;text-decoration:none}.sssf button:hover,.sssf button:focus-visible,.sssf a:focus-visible{outline:2px solid var(--saccent)}.sssf-hero{background:var(--scard);padding:clamp(24px,5vw,70px);border-radius:12px;margin-bottom:22px}.sssf-hero h1{font-size:clamp(28px,4.2vw,52px);line-height:1.2}.sssf-kicker{font-size:.76em;letter-spacing:.14em;color:var(--saccent)!important;font-weight:700}.sssf-actions,.sssf-tools,.sssf-buttons{display:flex;gap:9px;flex-wrap:wrap}.sssf-card{background:var(--scard);border:1px solid var(--sborder);border-radius:11px;padding:clamp(16px,2.5vw,32px);margin:0 0 20px}.sssf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.sssf-tools{position:sticky;top:35px;z-index:30;background:var(--sbg);padding:10px;margin-bottom:15px;border:1px solid var(--sborder);border-radius:8px}.sssf-layout{display:grid;grid-template-columns:minmax(180px,255px) minmax(0,1fr);gap:20px}.sssf-toc{position:sticky;top:110px;align-self:start;max-height:calc(100vh - 130px);overflow:auto;padding:17px;background:var(--scard);border-radius:8px}.sssf-toc ol{padding-left:20px}.sssf-toc li{font-size:.86em;margin-bottom:8px}.sssf-chapter,.sssf-case{scroll-margin-top:130px}.sssf-body{overflow-wrap:anywhere}.sssf-body blockquote{border-left:3px solid var(--saccent);padding-left:15px}.sssf-audio{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 22px;padding:10px;border:1px solid var(--sborder);border-radius:6px}.sssf-audio span{font-size:.8em;color:var(--smuted)}.sssf-case summary{cursor:pointer;display:flex;flex-direction:column;gap:3px}.sssf-case .sssf-body{padding-top:16px}.sssf-discussion{border-top:1px solid var(--sborder);margin-top:20px;padding-top:12px}.sssf-link{border:0!important;background:transparent!important;text-decoration:underline!important;padding:0!important}.sssf-discussion-panel[hidden]{display:none!important}.sssf-discussion-panel{margin-top:12px;border-top:1px solid var(--sborder);padding-top:12px}.sssf-discussion-panel textarea{display:block;width:100%;padding:10px;background:var(--sbg);color:var(--stext);border:1px solid var(--sborder)}.sssf-response{padding:12px;border-bottom:1px solid var(--sborder)}.sssf a,.sssf .sssf-body{overflow-wrap:anywhere}@media(max-width:800px){.sssf-layout{display:block}.sssf-toc{position:static;max-height:300px;margin-bottom:16px}.sssf-tools{top:0}}@media print{.sssf{background:white!important;color:black!important}.sssf-hero,.sssf-card{background:white!important;color:black!important}.sssf-tools,.sssf-audio,.sssf-toc,.sssf-discussion{display:none!important}.sssf-layout{display:block}}

/* Study title is rendered by the shared reader; suppress theme's duplicate heading. */
body.single-sssf_study #primary .entry-header,
body.single-sssf_study #primary .entry-title,
body.single-sssf_study #primary .page-title {display:none!important}
/* Print only the approved study, not the WordPress site chrome. */
@media print {
 @page {margin:14mm 13mm}
 html, body, body.single-sssf_study {background:#fff!important;color:#111!important}
 body.single-sssf_study #masthead,
 body.single-sssf_study #colophon,
 body.single-sssf_study .site-header,
 body.single-sssf_study .site-footer,
 body.single-sssf_study #wpadminbar,
 body.single-sssf_study .kadence-scroll-to-top,
 body.single-sssf_study .scroll-up,
 body.single-sssf_study .entry-header,
 body.single-sssf_study .entry-footer,
 body.single-sssf_study .post-navigation,
 body.single-sssf_study .comments-area {display:none!important}
 body.single-sssf_study #primary,
 body.single-sssf_study #main,
 body.single-sssf_study .content-area,
 body.single-sssf_study .content-container,
 body.single-sssf_study .entry,
 body.single-sssf_study .entry-content-wrap,
 body.single-sssf_study .entry-content {width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important}
 body.single-sssf_study .sssf {width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;color:#111!important;font-size:11pt!important;line-height:1.45!important;border:0!important}
 body.single-sssf_study .sssf .sssf-hero {padding:0 0 14pt!important;margin:0 0 16pt!important;border-radius:0!important;border-bottom:1px solid #999!important}
 body.single-sssf_study .sssf .sssf-hero h1 {font-size:22pt!important;line-height:1.17!important;margin:7pt 0!important}
 body.single-sssf_study .sssf .sssf-card {border:1px solid #bbb!important;border-radius:5px!important;padding:12pt!important;margin:0 0 13pt!important;break-inside:auto;page-break-inside:auto;box-shadow:none!important}
 body.single-sssf_study .sssf .sssf-card h2 {font-size:15pt!important}
 body.single-sssf_study .sssf .sssf-card .sssf-kicker {color:#555!important}
 body.single-sssf_study .sssf .sssf-case summary {display:block!important;list-style:none!important}
 body.single-sssf_study .sssf .sssf-case summary::-webkit-details-marker {display:none!important}
 body.single-sssf_study .sssf .sssf-case .sssf-body {display:block!important;visibility:visible!important}
 body.single-sssf_study .sssf .sssf-tools,
 body.single-sssf_study .sssf .sssf-toc,
 body.single-sssf_study .sssf .sssf-audio,
 body.single-sssf_study .sssf .sssf-discussion,
 body.single-sssf_study .sssf button {display:none!important}
 body.single-sssf_study .sssf .sssf-layout {display:block!important}
 body.single-sssf_study .sssf a {color:#222!important;text-decoration:underline!important}
}

/* Keep one title: the universal renderer owns the study heading, not the theme. */
body.single-sssf_study .entry-header,
body.single-sssf_study .entry-title,
body.single-sssf_study header.entry-header,
body.single-sssf_study .post-title,
body.single-sssf_study .page-header {display:none!important}
/* Companion media is study-level, never a hard-coded video ID. */
.sssf-song{background:var(--scard);color:var(--stext);border:1px solid var(--sborder);padding:clamp(12px,2.5vw,24px);border-radius:10px;margin-bottom:20px}
.sssf-song h2{font-size:1.2em;margin:0 0 12px}
.sssf-song-embed{max-width:800px;margin:auto;aspect-ratio:16/9}
.sssf-song-embed iframe{width:100%!important;height:100%!important;border:0}
@media print{
 body.single-sssf_study .sssf .sssf-song{display:none!important}
 body.single-sssf_study .sssf .sssf-case summary .sssf-kicker{display:inline!important;margin-right:10pt!important;letter-spacing:0!important}
 body.single-sssf_study .sssf .sssf-case summary strong{display:inline!important;margin-left:4pt!important}
 body.single-sssf_study .sssf .sssf-chapter p:last-child>a[href^="#sssf-chapter"]{display:none!important}
}

/* v0.3.4: Kadence's opaque content wrapper was making a bright white board around
   the night-mode study. Scope changes strictly to new-system study pages.
   The shared reader retains its own colors; the surrounding theme wrapper does not. */
body.single-sssf_study .content-bg,
body.single-sssf_study .entry-content-wrap,
body.single-sssf_study .content-container,
body.single-sssf_study .site-main > article,
body.single-sssf_study article.entry,
body.single-sssf_study .entry-content,
body.single-sssf_study .post-inner,
body.single-sssf_study .post-content,
body.single-sssf_study .inside-article {
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  border-color:transparent!important;
}
body.single-sssf_study .entry-content-wrap {padding:0!important}
body.single-sssf_study .sssf {isolation:isolate}

/* Shared full-width investigation reader v0.6.2 — restricted to Foundation study pages. */
body.single-sssf_study .content-container{max-width:none!important}
body.single-sssf_study .sssf.sssf-study{max-width:1160px;width:100%;padding:clamp(12px,2.5vw,32px)}
.sssf-study .sssf-study-layout{display:block}
.sssf-study .sssf-main{max-width:100%}
.sssf-study .sssf-toc{position:static;max-height:none;overflow:visible;margin-bottom:24px;border:1px solid var(--sborder);padding:0;background:var(--scard);border-radius:10px}
.sssf-study .sssf-toc>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 20px;color:var(--stext)}
.sssf-study .sssf-toc>summary::-webkit-details-marker{display:none}
.sssf-study .sssf-toc>summary::before{content:'▸';color:var(--saccent);margin-right:8px}
.sssf-study .sssf-toc[open]>summary::before{content:'▾'}
.sssf-study .sssf-toc>summary span{font-size:.84em;color:var(--smuted)}
.sssf-study .sssf-toc-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:12px 24px 20px;border-top:1px solid var(--sborder)}
.sssf-study .sssf-toc li{font-size:.95em;line-height:1.4;margin:9px 0}
.sssf-study .sssf-study-section{max-width:100%;padding:clamp(22px,4vw,52px);background:var(--scard);margin-bottom:24px}
.sssf-study .sssf-study-section h2{font-size:clamp(25px,3vw,42px);line-height:1.17;margin:16px 0 24px}
.sssf-study .sssf-study-section .sssf-body{font-size:1.05em;line-height:1.83}
.sssf-study .sssf-study-section .sssf-body p{margin-bottom:1.3em}
.sssf-study .sssf-section-top,.sssf-study .sssf-section-footer{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.sssf-study .sssf-share{background:transparent;border:0;color:var(--saccent);font-size:.78em}
.sssf-study .sssf-audio{background:var(--sbg);padding:14px 18px;gap:10px;border-radius:10px}
.sssf-study .sssf-audio-heading{display:flex;flex-direction:column;flex:1 1 180px;min-width:160px}
.sssf-study .sssf-audio-heading small{color:var(--smuted);font-size:.75em}
.sssf-study .sssf-speed-label{font-size:.8em;white-space:nowrap;color:var(--smuted)}
.sssf-study .sssf-speed-label select{background:var(--scard);color:var(--stext);border:1px solid var(--sborder);border-radius:5px;padding:7px}
.sssf-study .sssf-audio-status{flex-basis:100%}
.sssf-study .sssf-interactions{border-top:1px solid var(--sborder);margin-top:27px;padding-top:21px}
.sssf-study .sssf-voting{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.sssf-study .sssf-voting form{margin:0}
.sssf-study button[aria-pressed="true"]{border-color:var(--saccent);box-shadow:inset 0 0 0 1px var(--saccent)}
.sssf-study .sssf-disagree-panel,.sssf-study .sssf-discussion-panel{margin-top:17px;padding:18px;border:1px solid var(--sborder);border-radius:9px;background:var(--sbg)}
.sssf-study .sssf-disagree-panel[hidden],.sssf-study .sssf-discussion-panel[hidden]{display:none!important}
.sssf-study .sssf-disagree-panel h3,.sssf-study .sssf-discussion-panel h3{font-size:1.12em;margin-top:0}
.sssf-study .sssf-disagree-panel label,.sssf-study .sssf-discussion-panel label{display:block;margin:15px 0}
.sssf-study .sssf-disagree-panel textarea,.sssf-study .sssf-discussion-panel textarea{display:block;width:100%;min-height:110px;margin:7px 0;background:var(--scard);color:var(--stext);border:1px solid var(--sborder);border-radius:6px;padding:10px}
.sssf-study .sssf-section-footer{margin-top:28px;border-top:1px solid var(--sborder);padding-top:18px;font-size:.82em}
.sssf-study .sssf-section-footer small{color:var(--smuted)}
.sssf-study .sssf-investigation-heading{margin:34px 0 22px;scroll-margin-top:100px}
.sssf-study .sssf-case summary{gap:8px}
.sssf-study .sssf-case summary strong{font-size:1.2em}
@media(max-width:720px){.sssf-study .sssf-toc-columns{grid-template-columns:1fr}.sssf-study .sssf-toc>summary{align-items:flex-start;flex-direction:column}.sssf-study .sssf-audio-heading{flex-basis:100%}}
@media print{body.single-sssf_study .sssf .sssf-interactions,body.single-sssf_study .sssf .sssf-section-footer,body.single-sssf_study .sssf .sssf-share{display:none!important}}


/* v0.6.6: reusable study landing, modeled on the existing Scrapyard Saints study identity.
   Scoped to Foundation studies; legacy publications and Bible Reader are unaffected. */
body.single-sssf_study .sssf.sssf-study{max-width:1440px;padding:0 clamp(12px,2vw,30px) 35px;background:transparent}
body.single-sssf_study .sssf-study .sssf-study-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,.85fr);align-items:center;gap:clamp(24px,5vw,85px);position:relative;isolation:isolate;overflow:hidden;padding:clamp(38px,6.5vw,105px) clamp(22px,4vw,65px) clamp(55px,7vw,110px);margin:0;border-radius:0;background:linear-gradient(125deg,#081b27 5%,#122c38 100%);color:#f9f2e6}
.sssf-study .sssf-study-hero::before{content:"";position:absolute;z-index:-1;width:min(55vw,660px);height:min(55vw,660px);border:1px solid rgba(226,183,105,.10);border-radius:50%;right:-8%;top:-42%;box-shadow:0 0 0 55px rgba(226,183,105,.025),0 0 0 115px rgba(226,183,105,.018)}
.sssf-study .sssf-study-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(38px,5vw,76px);font-weight:500;letter-spacing:-.035em;line-height:1.07;color:#fff3e7;margin:20px 0 24px;text-wrap:balance}
.sssf-study .sssf-study-hero .sssf-kicker{color:#eabc77!important;font-size:.72em;letter-spacing:.13em}
.sssf-study .sssf-hero-description{font-size:clamp(16px,1.45vw,21px);line-height:1.55;max-width:680px;color:#d7e4ea!important}
.sssf-study .sssf-hero-aside{border-left:2px solid #eabc77;padding:2px 0 2px 22px;min-width:0}
.sssf-study .sssf-hero-aside-text{font:italic clamp(18px,2vw,28px)/1.43 Georgia,'Times New Roman',serif;color:#fff3e7!important}
.sssf-study .sssf-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.sssf-study .sssf-hero-actions a{display:inline-flex;align-items:center;justify-content:center;padding:13px 19px;border:1px solid #8298a0;border-radius:7px;color:#fff!important;text-decoration:none;font-weight:700;font-size:.86em;transition:background-color .15s ease}
.sssf-study .sssf-hero-actions a.sssf-hero-primary{background:#eabc77;color:#0a1c25!important;border-color:#eabc77}
.sssf-study .sssf-hero-actions a:focus-visible{outline:3px solid #fff;outline-offset:3px}
.sssf-study .sssf-study-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;position:relative;margin:-31px clamp(12px,2vw,38px) 30px;z-index:2}
.sssf-study .sssf-study-overview>div{display:flex;flex-direction:column;gap:7px;min-width:0;padding:22px;background:#252b2f;border:1px solid #665440;border-radius:10px;color:#f8efe4}
.sssf-study .sssf-study-overview small{font-size:.69em;letter-spacing:.1em;font-weight:800;color:#eabc77}
.sssf-study .sssf-study-overview strong{font:500 clamp(19px,1.8vw,26px)/1.25 Georgia,'Times New Roman',serif;color:#fff3e7}
.sssf-study .sssf-study-overview span{font-size:.8em;color:#d9e0e1}
html.sss-mode-day .sssf-study .sssf-study-overview>div,.sssf.sssf-day.sssf-study .sssf-study-overview>div{background:#f5ebdc;border-color:#c4af96;color:#27313a}
html.sss-mode-day .sssf-study .sssf-study-overview strong,html.sss-mode-day .sssf-study .sssf-study-overview span,.sssf.sssf-day.sssf-study .sssf-study-overview strong,.sssf.sssf-day.sssf-study .sssf-study-overview span{color:#27313a}
html.sss-mode-day .sssf-study .sssf-study-overview small,.sssf.sssf-day.sssf-study .sssf-study-overview small{color:#81521b}
.sssf-study .sssf-toc,.sssf-study .sssf-study-section{scroll-margin-top:105px}
@media(max-width:800px){body.single-sssf_study .sssf-study .sssf-study-hero{grid-template-columns:1fr;gap:22px;padding-bottom:75px}.sssf-study .sssf-study-overview{grid-template-columns:1fr;gap:9px;margin-top:-45px}.sssf-study .sssf-study-overview>div{padding:15px 18px}.sssf-study .sssf-hero-aside-text{font-size:19px}}
@media print{body.single-sssf_study .sssf-study .sssf-study-hero{display:block!important;background:#fff!important;color:#000!important;padding:0 0 14pt!important}.sssf-study .sssf-study-hero h1{color:#000!important;font-size:24pt!important}.sssf-study .sssf-hero-description{color:#111!important}.sssf-study .sssf-hero-aside,.sssf-study .sssf-hero-actions,.sssf-study .sssf-study-overview{display:none!important}}

/* v0.6.7: legacy Hebrews 7 reading flow, reusable for every Foundation study.
   Cases FIRST, complete reading SECOND. Only sssf_study routes are affected. */
body.single-sssf_study .sssf.sssf-study {max-width:none!important;width:100%!important;padding:0 0 56px!important;border-radius:0!important}
body.single-sssf_study .sssf-study .sssf-study-hero{width:100%;padding-left:max(5vw,calc((100vw - 1110px)/2));padding-right:max(5vw,calc((100vw - 1110px)/2));margin:0}
body.single-sssf_study .sssf-study .sssf-study-overview{max-width:1090px;margin:-31px auto 58px;padding:0 12px}
.sssf-study .sssf-legacy-investigation,.sssf-study .sssf-complete-study{max-width:1100px;margin:0 auto;padding:18px 12px}
.sssf-study .sssf-legacy-investigation{scroll-margin-top:110px}
.sssf-study .sssf-legacy-investigation>h2{font:normal clamp(31px,3.45vw,51px)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.025em;max-width:800px;margin:17px 0;color:var(--stext)}
.sssf-study .sssf-section-lede{font-size:1.08em;max-width:790px;line-height:1.7;margin:0 0 23px}
.sssf-study .sssf-case-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:25px 0 21px}
.sssf-study .sssf-case-search-label{width:100%;font-size:.74em;font-weight:800;letter-spacing:.1em;color:var(--saccent)}
.sssf-study .sssf-case-search{background:var(--scard);color:var(--stext);border:1px solid var(--sborder);border-radius:24px;padding:11px 18px;min-width:min(100%,300px);flex:1 1 260px;max-width:500px;min-height:45px}
.sssf-study .sssf-case-search::placeholder{color:var(--smuted);opacity:1}
.sssf-study .sssf-case-reset{border-radius:25px;padding:11px 16px;min-height:45px}
.sssf-study .sssf-case-results{font-size:.83em;color:var(--smuted)}
.sssf-study .sssf-case-no-results{padding:20px;text-align:center;color:var(--smuted)}
.sssf-study .sssf-case-list > .sssf-case{padding:0!important;overflow:clip;border-radius:11px!important;background:var(--scard);margin:0 0 12px!important;scroll-margin-top:95px}
.sssf-study .sssf-case-list > .sssf-case[hidden]{display:none!important}
.sssf-study .sssf-case-list > .sssf-case > summary{display:grid;grid-template-columns:68px minmax(0,1fr) 24px;align-items:center;gap:18px;min-height:110px;padding:20px 28px;list-style:none}
.sssf-study .sssf-case-list > .sssf-case > summary::-webkit-details-marker{display:none}
.sssf-study .sssf-case-list > .sssf-case > summary .sssf-kicker{font-size:1.5em;font-family:Georgia,'Times New Roman',serif;letter-spacing:0;font-weight:normal;color:var(--saccent)}
.sssf-study .sssf-case-list > .sssf-case > summary strong{font:normal clamp(18px,2vw,25px)/1.32 Georgia,'Times New Roman',serif;color:var(--stext)}
.sssf-study .sssf-case-list > .sssf-case > summary::after{content:'+';font-size:1.6em;color:var(--saccent);justify-self:end;font-weight:300}
.sssf-study .sssf-case-list > .sssf-case[open] > summary::after{content:'−'}
.sssf-study .sssf-case-list > .sssf-case[open] > summary{border-bottom:1px solid var(--sborder)}
.sssf-study .sssf-case-list > .sssf-case > .sssf-body,.sssf-study .sssf-case-list > .sssf-case > .sssf-interactions,.sssf-study .sssf-case-list > .sssf-case > .sssf-section-footer{margin-left:clamp(18px,7vw,110px);margin-right:clamp(18px,3vw,35px)}
.sssf-study .sssf-case-list > .sssf-case > .sssf-body{padding:20px 0 5px;line-height:1.8}
.sssf-study .sssf-case-list > .sssf-case > .sssf-section-footer{margin-bottom:23px}
.sssf-study .sssf-complete-study{padding-top:35px;scroll-margin-top:80px}
.sssf-study .sssf-study-transition{background:#081b27;color:#f6efe2;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(24px,3.5vw,44px);margin-bottom:56px}
.sssf-study .sssf-study-transition h2{font:normal clamp(28px,3vw,42px)/1.2 Georgia,'Times New Roman',serif;color:#fff1df;margin:7px 0 12px}
.sssf-study .sssf-study-transition p{max-width:650px;color:#d7e5ec;margin:0}
.sssf-study .sssf-study-transition .sssf-kicker{color:#edbd75!important}
.sssf-study .sssf-transition-cta{flex-shrink:0;display:inline-flex;align-items:center;background:#eabc77!important;color:#081b27!important;border-radius:7px;padding:14px 20px;text-decoration:none;font-weight:800;font-size:.85em}
.sssf-study .sssf-reading-toolbar{position:sticky;top:35px;z-index:25;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 20px;pointer-events:none}
body.admin-bar .sssf-study .sssf-reading-toolbar{top:48px}
.sssf-study .sssf-reading-toolbar .sssf-reading-caption{font-size:.68em;letter-spacing:.1em;color:var(--smuted);font-weight:700}
.sssf-study .sssf-reading-toolbar .sssf-tools{position:static;display:flex;align-items:center;gap:7px;margin:0;padding:8px;background:var(--scard);border-radius:10px;border:1px solid var(--sborder);pointer-events:auto;box-shadow:0 5px 20px rgba(0,0,0,.14)}
.sssf-study .sssf-reading-toolbar .sssf-tools button{font-weight:700;font-size:.84em;min-height:36px}
.sssf-study .sssf-size-value{font-size:.75em;color:var(--stext);font-weight:700;min-width:35px;text-align:center}
.sssf-study .sssf-study-layout{display:block}
.sssf-study .sssf-study-layout>.sssf-toc{margin-bottom:34px}
.sssf-study .sssf-study-section.sssf-chapter{background:var(--scard);padding:clamp(23px,4vw,54px);margin:0 0 30px;scroll-margin-top:105px}
.sssf-study .sssf-study-section.sssf-chapter h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(30px,3.35vw,49px);letter-spacing:-.025em}
@media(min-width:1350px){body.single-sssf_study .sssf-study .sssf-study-hero{padding-left:max(calc((100vw - 1100px)/2),30px);padding-right:max(calc((100vw - 1100px)/2),30px)}}
@media(max-width:700px){.sssf-study .sssf-study-transition{flex-direction:column;align-items:flex-start;margin-bottom:32px}.sssf-study .sssf-case-list > .sssf-case > summary{grid-template-columns:42px minmax(0,1fr) 15px;gap:10px;min-height:80px;padding:15px}.sssf-study .sssf-case-list > .sssf-case > summary .sssf-kicker{font-size:1.2em}.sssf-study .sssf-case-list > .sssf-case > .sssf-body,.sssf-study .sssf-case-list > .sssf-case > .sssf-interactions,.sssf-study .sssf-case-list > .sssf-case > .sssf-section-footer{margin-left:16px;margin-right:16px}.sssf-study .sssf-reading-toolbar{top:0}.sssf-study .sssf-reading-toolbar .sssf-reading-caption{display:none}}
@media print{.sssf-study .sssf-legacy-investigation,.sssf-study .sssf-complete-study{max-width:none!important;padding:0!important}.sssf-study .sssf-reading-toolbar,.sssf-study .sssf-case-filters,.sssf-study .sssf-study-transition{display:none!important}.sssf-study .sssf-case-list > .sssf-case{overflow:visible!important}.sssf-study .sssf-case-list > .sssf-case > summary{display:block!important;min-height:0!important;padding:5pt!important}.sssf-study .sssf-case-list > .sssf-case > summary::after{display:none!important}.sssf-study .sssf-case-list > .sssf-case > .sssf-body{margin:0!important;padding:7pt!important}.sssf-study .sssf-case-list > .sssf-case > .sssf-body{display:block!important}}

/* v0.6.8: match the legacy investigation introduction, filter pills and card hierarchy. */
.sssf-study .sssf-case-filters{margin:26px 0 6px;gap:8px}
.sssf-study .sssf-category-filter{border:1px solid var(--sborder);border-radius:999px;background:var(--scard);color:var(--stext);padding:12px 15px;font-weight:700;cursor:pointer;min-height:44px}
.sssf-study .sssf-category-filter.is-active,.sssf-study .sssf-category-filter[aria-pressed="true"]{background:#081b27;color:#fff;border-color:#081b27}
.sssf-study .sssf-category-filter:focus-visible{outline:3px solid var(--saccent);outline-offset:3px}
.sssf-study .sssf-case-search-row{display:flex;align-items:center;gap:10px;margin:8px 0 4px;flex-wrap:wrap}
.sssf-study .sssf-case-search-row label{font-size:.8em;color:var(--smuted)}
.sssf-study .sssf-case-search-row .sssf-case-search{min-height:36px;padding:7px 12px;max-width:300px;flex:1 1 160px}
.sssf-study .sssf-case-search-row .sssf-case-reset{padding:8px 13px;min-height:36px}
.sssf-study .sssf-case-results{display:block;margin:4px 0 17px}
.sssf-study .sssf-case-reading-note,.sssf-study .sssf-case-evidence-note{border-left:3px solid #d9af72;border-radius:2px 9px 9px 2px;background:var(--scard);padding:15px 18px;margin:18px 0;line-height:1.6}
.sssf-study .sssf-case-reading-note p{margin:0 0 7px}
.sssf-study .sssf-case-reading-note a{display:inline-block;padding:10px 13px;border:1px solid #b78d55;border-radius:6px;background:rgba(199,148,75,.07);font-weight:700;text-decoration:none;color:var(--stext)}
.sssf-study .sssf-case-evidence-note{background:color-mix(in srgb,var(--scard) 90%,#a87940 10%)}
.sssf-study .sssf-case-list > .sssf-case > summary .sssf-case-number{font:normal 1.7em Georgia,'Times New Roman',serif;color:var(--saccent)}
.sssf-study .sssf-case-summary-copy{display:flex;flex-direction:column;gap:8px;min-width:0}
.sssf-study .sssf-case-summary-copy .sssf-case-category-title{font-size:.7em;letter-spacing:.11em;color:var(--saccent);font-weight:800}
.sssf-study .sssf-case-list > .sssf-case > summary strong{font-size:clamp(18px,1.65vw,24px)}
@media(max-width:600px){.sssf-study .sssf-category-filter{padding:9px 12px;font-size:.86em}.sssf-study .sssf-case-list > .sssf-case > summary .sssf-case-number{font-size:1.35em}}

/* v0.6.9: source-faithful legacy reading presentation; scoped to Foundation studies. */
body.single-sssf_study .sssf-study{--sbg:#161c20;--scard:#25292d;--stext:#f8eee0;--smuted:#c6c9c5;--saccent:#e8b574;--sborder:#594d42;background:var(--sbg);color:var(--stext)}
body.single-sssf_study .sssf-study .sssf-study-hero{background:linear-gradient(120deg,#091c28 0%,#142f3d 100%);padding-top:clamp(62px,7vw,115px);padding-bottom:clamp(65px,8vw,120px)}
body.single-sssf_study .sssf-study .sssf-study-hero h1{max-width:730px;font-size:clamp(44px,5vw,76px);letter-spacing:-.045em;line-height:1.07}
body.single-sssf_study .sssf-study .sssf-study-hero .sssf-hero-description{max-width:660px;line-height:1.6}
body.single-sssf_study .sssf-study .sssf-study-overview>div{border-color:#635044;background:#25292d}
body.single-sssf_study .sssf-study .sssf-legacy-investigation{padding-top:0}
.sssf-study .sssf-case-filters{margin-bottom:8px}
.sssf-study .sssf-case-filters .sssf-category-filter{background:#24282c;border-color:#614d3f;border-radius:24px;padding:10px 15px;font-size:.85em;min-height:40px}
.sssf-study .sssf-case-filters .sssf-category-filter.is-active{background:#0b1b26;border-color:#0b1b26;color:#fff}
.sssf-study .sssf-case-search-drawer{margin:6px 0 4px;max-width:550px}
.sssf-study .sssf-case-search-drawer>summary{cursor:pointer;font-size:.75em;color:var(--smuted);padding:4px 0}
.sssf-study .sssf-case-search-drawer:not([open]) .sssf-case-search-row{display:none}
.sssf-study .sssf-case-search-drawer .sssf-case-search-row{margin-top:8px}
.sssf-study .sssf-case-reading-note{margin:18px 0 14px;background:#252724;border-left:3px solid #d6a965;padding:14px 16px}
.sssf-study .sssf-case-evidence-note{margin:14px 0 20px;background:#302e2b;border-left:3px solid #e7b577;padding:12px 16px}
.sssf-study .sssf-case-summary-copy{gap:3px}
.sssf-study .sssf-case-summary-copy .sssf-case-category-title{font-size:.72em;letter-spacing:.09em;color:#edac72;font-weight:800}
.sssf-study .sssf-case-summary-copy .sssf-case-claim-kind{font-size:.7em;letter-spacing:.09em;color:#dd9969;font-weight:800}
.sssf-study .sssf-case-list > .sssf-case > summary{grid-template-columns:65px minmax(0,1fr) 20px;gap:18px;min-height:112px;padding:18px 23px}
.sssf-study .sssf-case-list > .sssf-case > summary strong{font:normal clamp(18px,1.65vw,24px)/1.32 Georgia,'Times New Roman',serif}
.sssf-study .sssf-case-list > .sssf-case > summary .sssf-case-number{color:#e7a96d}
.sssf-study .sssf-case-list > .sssf-case{background:#25292c;border:1px solid #58483e}
html.sss-mode-day .sssf-study .sssf-case-list > .sssf-case,html.sss-mode-day .sssf-study .sssf-case-reading-note,html.sss-mode-day .sssf-study .sssf-case-evidence-note,.sssf.sssf-day.sssf-study .sssf-case-list > .sssf-case,.sssf.sssf-day.sssf-study .sssf-case-reading-note,.sssf.sssf-day.sssf-study .sssf-case-evidence-note{background:var(--scard);color:var(--stext)}
html.sss-mode-day .sssf-study .sssf-case-filters .sssf-category-filter:not(.is-active),.sssf.sssf-day.sssf-study .sssf-case-filters .sssf-category-filter:not(.is-active){background:var(--scard);color:var(--stext)}
@media(max-width:700px){body.single-sssf_study .sssf-study .sssf-study-hero h1{font-size:clamp(38px,9vw,58px)}.sssf-study .sssf-case-list > .sssf-case > summary{grid-template-columns:40px minmax(0,1fr) 14px;gap:10px;padding:14px}.sssf-study .sssf-case-filters .sssf-category-filter{font-size:.78em;padding:9px 12px}}
@media print{.sssf-study .sssf-case-search-drawer,.sssf-study .sssf-case-filters{display:none!important}}

/* v0.6.10 — align Foundation hero and reading controls with the existing legacy design. */
body.single-sssf_study .sssf-study .sssf-study-hero{background:radial-gradient(circle at 86% 22%,rgba(40,78,92,.47) 0%,transparent 40%),linear-gradient(112deg,#081c29 0%,#122c3a 63%,#193544 100%)}
body.single-sssf_study .sssf-study .sssf-study-hero .sssf-hero-accent{color:#e7b677}
.sssf-study.sssf-toolbar-integrated .sssf-reading-toolbar{display:none!important}
.sssf-mode-companion{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.sssf-mode-companion button{appearance:none;background:#25282d;color:#fff4e5;border:1px solid #5d4a3d;border-radius:5px;padding:9px 11px;font-size:12px;font-weight:700;line-height:1.2;min-height:36px;cursor:pointer}
.sssf-mode-companion button:focus-visible{outline:2px solid #e8b574;outline-offset:2px}
.sssf-mode-companion button:hover{background:#38312e}
@media(max-width:640px){.sssf-mode-companion{gap:4px}.sssf-mode-companion button{font-size:11px;padding:7px 8px;min-height:32px}}
@media print{.sssf-mode-companion{display:none!important}}

/* v0.6.11: fixed companion sits beside (not inside) the site's existing mode button. */
body .sssf-mode-companion{position:fixed!important;z-index:2147483000!important;display:flex!important;align-items:center;gap:6px;padding:7px;background:#1e2227;border:1px solid #625042;border-radius:10px;box-shadow:0 4px 22px rgba(0,0,0,.28);width:max-content!important;height:auto!important;opacity:1!important;visibility:visible!important;white-space:nowrap}
body .sssf-mode-companion[hidden]{display:none!important}
body .sssf-mode-companion button{display:inline-flex!important;align-items:center;justify-content:center;min-width:58px;min-height:36px;padding:7px 11px;line-height:1.3;font-size:12px;color:#fff4e5;background:#25282d;border:1px solid #6c5745;opacity:1;visibility:visible}
@media(max-width:640px){body .sssf-mode-companion{padding:4px;gap:3px}body .sssf-mode-companion button{min-width:48px;padding:6px 7px;font-size:11px}}
@media print{body .sssf-mode-companion{display:none!important}}

/* Two-stage chapter opening and private member progress */
.sssf-study details.sssf-chapter-progressive{display:block;overflow:visible}
.sssf-chapter-progressive>.sssf-chapter-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem 1.4rem;cursor:pointer;list-style:none;padding:.4rem 0;align-items:center}
.sssf-chapter-progressive>.sssf-chapter-summary::-webkit-details-marker{display:none}
.sssf-chapter-summary-label{grid-column:1/-1;color:#dfa75f;font-size:.78em;font-weight:800;letter-spacing:.12em}
.sssf-chapter-summary>strong{font-size:clamp(1.35rem,2.4vw,2rem);font-family:Georgia,serif;line-height:1.3;font-weight:500}
.sssf-chapter-progress-label{grid-column:1;color:#cca577;font-size:.78em}
.sssf-chapter-chevron{grid-column:2;grid-row:2 / span 2;color:#e5b66d;font-size:1.7rem}
.sssf-chapter-progressive[open] .sssf-chapter-chevron{transform:rotate(45deg)}
.sssf-chapter-peek{border-top:1px solid rgba(220,175,105,.2);margin-top:1rem;padding-top:1rem}
.sssf-chapter-peek-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.sssf-full-chapter-toggle{border:1px solid #c99b58;background:#e4b970;color:#15212a;border-radius:6px;padding:.7rem 1.1rem;font-weight:700;cursor:pointer}
.sssf-open-stat,.sssf-chapter-track-message{font-size:.83em;color:#c8b49a}
.sssf-chapter-full{padding-top:1.5rem;margin-top:1.25rem;border-top:1px solid rgba(220,175,105,.25)}
@media print{.sssf-chapter-progressive>.sssf-chapter-summary,.sssf-chapter-peek{display:none!important}.sssf-chapter-progressive,.sssf-chapter-full{display:block!important}}

/* v0.6.13: Keep the Foundation study full-width without widening Kadence's
   global .site-container (which also wraps the logo and primary navigation).
   Kadence owns header spacing and its established legacy width. */
body.single-sssf_study #masthead .site-container,
body.single-sssf_study .site-header .site-container {
  max-width: var(--global-content-width, 1290px) !important;
  width: min(100%, var(--global-content-width, 1290px)) !important;
  margin-inline: auto !important;
}
@media (max-width: 1320px) {
 body.single-sssf_study #masthead .site-container,
 body.single-sssf_study .site-header .site-container {padding-inline:clamp(16px,2.2vw,30px)!important}
}

/* v0.6.14 — source-derived legacy reader layout (original core / Hebrews 7) */
body.single-sssf_study .sssf-study .sssf-original-reader-layout{display:grid!important;grid-template-columns:290px minmax(0,1fr);gap:34px;align-items:start}
.sssf-study .sssf-chapter-sidebar{position:sticky;top:88px;max-height:calc(100vh - 108px);min-width:0;overflow:auto;border:1px solid var(--sborder);border-radius:12px;background:var(--scard)}
body.admin-bar .sssf-study .sssf-chapter-sidebar{top:110px;max-height:calc(100vh - 125px)}
.sssf-study .sssf-sidebar-drawer{border:0;margin:0;min-width:0}
.sssf-study .sssf-sidebar-drawer>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:18px 17px 10px;font-size:11px;color:var(--saccent);letter-spacing:.13em;font-weight:850}
.sssf-study .sssf-sidebar-drawer>summary::-webkit-details-marker{display:none}
.sssf-study .sssf-sidebar-drawer:not([open]) .sssf-sidebar-chevron{transform:rotate(-90deg)}
.sssf-study .sssf-sidebar-inside{padding:0 15px 17px}
.sssf-study .sssf-sidebar-search-label{display:block;font-size:0;position:absolute;width:1px;height:1px;overflow:hidden}
.sssf-study .sssf-sidebar-search{width:100%;min-width:0;background:var(--sbg);color:var(--stext);border:1px solid var(--sborder);border-radius:7px;padding:11px 12px;font-size:13px}
.sssf-study .sssf-sidebar-count{font-size:11px;color:var(--smuted);margin:8px 5px 10px}
.sssf-study .sssf-sidebar-chapter-list{display:flex;flex-direction:column;gap:2px}
.sssf-study .sssf-sidebar-chapter-list a{display:grid;grid-template-columns:20px minmax(0,1fr);gap:9px;padding:8px 6px;color:var(--stext);font-size:12px;line-height:1.38;text-decoration:none;border-radius:5px}
.sssf-study .sssf-sidebar-chapter-list a span{color:var(--saccent);font-weight:800}
.sssf-study .sssf-sidebar-chapter-list a:hover,.sssf-study .sssf-sidebar-chapter-list a:focus-visible{background:var(--sbg);outline:1px solid var(--saccent)}
.sssf-study .sssf-sidebar-chapter-list a[hidden]{display:none!important}
.sssf-study .sssf-reader-column{min-width:0}
.sssf-study .sssf-original-reading-intro{margin:8px 0 42px}
.sssf-study .sssf-original-reading-intro h2{font:400 clamp(32px,3.3vw,49px)/1.15 Georgia,'Times New Roman',serif;color:var(--stext);margin:12px 0 16px;letter-spacing:-.025em}
.sssf-study .sssf-original-reading-intro .kicker{color:var(--saccent);font-size:.72em;letter-spacing:.12em;font-weight:800}
.sssf-study .sssf-original-reading-intro p{font-size:1em;line-height:1.85;margin:0 0 18px}
.sssf-study .sssf-original-reading-intro .quotation-guide{background:rgba(170,145,99,.12);border-left:3px solid var(--saccent);border-radius:4px;padding:14px 16px;margin-top:25px}
.sssf-study .sssf-original-reader-layout .sssf-toc{margin-bottom:27px}
.sssf-study .sssf-original-reader-layout .sssf-chapter{margin-bottom:25px}
@media(max-width:900px){body.single-sssf_study .sssf-study .sssf-original-reader-layout{display:block!important}.sssf-study .sssf-chapter-sidebar{position:static;max-height:none;margin:0 0 25px}.sssf-study .sssf-sidebar-inside{max-height:350px;overflow:auto}}
@media print{body.single-sssf_study .sssf-study .sssf-original-reader-layout{display:block!important}.sssf-study .sssf-chapter-sidebar{display:none!important}.sssf-study .sssf-original-reading-intro{display:block!important}}

/* v0.6.15: prevent reading controls from covering the study itself.
   There is ONE study size/print toolbar. Site Day/Night stays owned by the theme.
   >=1600px: place within the unused right gutter below the Day/Night control.
   Smaller widths/zoom: keep controls in document flow, never over article text. */
.sssf-study .sssf-reading-toolbar,
.sssf-study.sssf-toolbar-integrated .sssf-reading-toolbar {
  position:static !important;
  inset:auto !important;
  z-index:1;
  display:flex !important;
  justify-content:flex-end;
  flex-wrap:wrap;
  margin:0 0 24px !important;
  pointer-events:auto;
}
.sssf-study .sssf-reading-toolbar .sssf-tools{position:static !important;max-width:100%;flex-wrap:wrap}
.sssf-study .sssf-reading-toolbar .sssf-reading-caption{display:none}
@media (min-width:1600px) {
  .sssf-study .sssf-reading-toolbar,
  .sssf-study.sssf-toolbar-integrated .sssf-reading-toolbar {
    position:fixed !important;
    top:182px !important;
    right:12px !important;
    left:auto !important;
    bottom:auto !important;
    width:max-content;
    max-width:245px;
    margin:0 !important;
    z-index:1000;
  }
  body.admin-bar .sssf-study .sssf-reading-toolbar {top:182px !important}
}
@media (max-width:1599px){
  .sssf-study .sssf-reading-toolbar{position:static !important;top:auto !important}
}
@media print{.sssf-study .sssf-reading-toolbar{display:none !important}}

/* v0.6.16 — Foundation joins Core's one established site toolbar.
   No second fixed panel, no overlay in the chapter column. */
body.single-sssf_study .sss-site-tools.sssf-unified-site-tools{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
body.single-sssf_study .sss-site-tools .sssf-unified-reading-buttons{display:inline-flex;gap:7px;align-items:center;white-space:nowrap}
body.single-sssf_study .sss-site-tools .sssf-unified-reading-buttons .sssf-size-value{font:700 12px/1.3 system-ui,sans-serif;color:var(--sss-text);min-width:35px;text-align:center}
body.single-sssf_study .sss-site-tools .sssf-unified-reading-buttons button{display:inline-flex;justify-content:center;align-items:center;min-height:37px;white-space:nowrap}
body.single-sssf_study .sssf-study .sssf-reading-toolbar[hidden]{display:none!important}
@media(max-width:700px){body.single-sssf_study .sss-site-tools.sssf-unified-site-tools{max-width:calc(100vw - 16px);flex-wrap:wrap;justify-content:center}body.single-sssf_study .sss-site-tools .sssf-unified-reading-buttons{gap:4px}body.single-sssf_study .sss-site-tools .sssf-unified-reading-buttons button{min-height:34px;padding:6px 8px}}
@media print{body.single-sssf_study .sss-site-tools.sssf-unified-site-tools{display:none!important}}

/* v0.6.17: the case evidence explanation is a note, not study text. */
.sssf-study .sssf-case-evidence-note {
  font-size: .84rem;
  line-height: 1.5;
  padding: 10px 14px;
  margin-top: 12px;
  margin-bottom: 16px;
}

/* v0.6.18: legacy chapter-navigation contrast.  Only the sidebar chapter links
   receive the original softly contrasting text; section numbers remain gold. */
.sssf-study .sssf-chapter-sidebar .sssf-sidebar-chapter-list a,
.sssf .sssf-chapter-sidebar .sssf-sidebar-chapter-list a {
 color: #f4f1e9 !important;
 text-decoration: none !important;
}
.sssf-study .sssf-chapter-sidebar .sssf-sidebar-chapter-list a span:first-child,
.sssf .sssf-chapter-sidebar .sssf-sidebar-chapter-list a span:first-child {color:#e4ba76 !important}
.sssf-study .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:hover,
.sssf-study .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:focus-visible,
.sssf .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:hover,
.sssf .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:focus-visible {
 color:#91ceca !important; background:#263b43 !important; outline:1px solid #6f9693;
}
.sssf.sssf-day .sssf-chapter-sidebar .sssf-sidebar-chapter-list a,
html.sss-mode-day .sssf .sssf-chapter-sidebar .sssf-sidebar-chapter-list a {color:#25313a !important}
.sssf.sssf-day .sssf-chapter-sidebar .sssf-sidebar-chapter-list a span:first-child,
html.sss-mode-day .sssf .sssf-chapter-sidebar .sssf-sidebar-chapter-list a span:first-child {color:#93672f !important}
.sssf.sssf-day .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:hover,
.sssf.sssf-day .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:focus-visible,
html.sss-mode-day .sssf .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:hover,
html.sss-mode-day .sssf .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:focus-visible {color:#326b69 !important;background:#edf1ed !important;outline:1px solid #a8b7b3}

/* v0.6.19: FIX day-mode variables overridden by the higher-specificity
   night-only legacy study declaration at line ~223.  Scoped to Foundation.
   Keep the blue title banner and its purpose-built white/gold text. */
html.sss-mode-day body.single-sssf_study .sssf.sssf-study,
body.single-sssf_study .sssf.sssf-day.sssf-study,
body.single-sssf_study .sssf.sssf-study.sssf-day {
  --sbg:#f0e4d2;
  --scard:#fffaf2;
  --stext:#26323b;
  --smuted:#53636b;
  --saccent:#845313;
  --sborder:#b7aa95;
  color:var(--stext);
  background:transparent;
}
/* Ensure all inherited chapter, introductory, note, and voting copy uses the
   day palette, not the former night-mode inherited cream text. */
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-complete-study,
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-legacy-investigation,
body.single-sssf_study .sssf-study.sssf-day .sssf-complete-study,
body.single-sssf_study .sssf-study.sssf-day .sssf-legacy-investigation {color:var(--stext)}
/* Override night-only fixed backgrounds on cases. */
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-case-list > .sssf-case,
body.single-sssf_study .sssf-study.sssf-day .sssf-case-list > .sssf-case {
  background:var(--scard);border-color:var(--sborder);color:var(--stext);
}
/* Reading-sidebar: in Day mode use a light card, dark legible links, distinct
   gold chapter numbers, and clear focus. Night mode retains the original. */
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-chapter-sidebar,
body.single-sssf_study .sssf-study.sssf-day .sssf-chapter-sidebar {
  background:var(--scard);color:var(--stext);border-color:var(--sborder);
}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-chapter-sidebar .sssf-sidebar-chapter-list a,
body.single-sssf_study .sssf-study.sssf-day .sssf-chapter-sidebar .sssf-sidebar-chapter-list a {
  color:#25333d!important;
}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-chapter-sidebar .sssf-sidebar-chapter-list a span:first-child,
body.single-sssf_study .sssf-study.sssf-day .sssf-chapter-sidebar .sssf-sidebar-chapter-list a span:first-child {color:#80500f!important}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:hover,
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:focus-visible,
body.single-sssf_study .sssf-study.sssf-day .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:hover,
body.single-sssf_study .sssf-study.sssf-day .sssf-chapter-sidebar .sssf-sidebar-chapter-list a:focus-visible {
  background:#e9dfce!important;color:#254f52!important;outline:2px solid #8d7655;
}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-chapter-sidebar .sssf-sidebar-search,
body.single-sssf_study .sssf-study.sssf-day .sssf-chapter-sidebar .sssf-sidebar-search {
  background:#fff;color:#25333d;border-color:#b7aa95;
}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-chapter-sidebar .sssf-sidebar-search::placeholder,
body.single-sssf_study .sssf-study.sssf-day .sssf-chapter-sidebar .sssf-sidebar-search::placeholder {color:#59646b;opacity:1}
/* Restore strong contrast in the study body, including introductory notes. */
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-original-reading-intro,
body.single-sssf_study .sssf-study.sssf-day .sssf-original-reading-intro {color:#25333d}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-original-reading-intro h2,
body.single-sssf_study .sssf-study.sssf-day .sssf-original-reading-intro h2 {color:#25333d}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-original-reading-intro .quotation-guide,
body.single-sssf_study .sssf-study.sssf-day .sssf-original-reading-intro .quotation-guide {
 background:#e5d7c1;color:#25333d;
}
@media print {
 html.sss-mode-day body.single-sssf_study .sssf.sssf-study,
 body.single-sssf_study .sssf.sssf-day.sssf-study {background:#fff!important;color:#111!important}
}

/* v0.6.20: Day theme hero summary contrast.
   The legacy-colored selector `body.single-sssf_study .sssf-study .sssf-study-overview>div`
   overrode the earlier day rule, leaving dark cards and dark headings.
   Match its specificity only inside Foundation's Day mode; Night stays intact. */
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-study-overview > div,
body.single-sssf_study .sssf.sssf-study.sssf-day .sssf-study-overview > div {
  background:#f8efe2 !important;
  border-color:#bca68a !important;
  color:#26323b !important;
}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-study-overview > div strong,
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-study-overview > div span,
body.single-sssf_study .sssf.sssf-study.sssf-day .sssf-study-overview > div strong,
body.single-sssf_study .sssf.sssf-study.sssf-day .sssf-study-overview > div span {
  color:#25323a !important;
}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-study-overview > div small,
body.single-sssf_study .sssf.sssf-study.sssf-day .sssf-study-overview > div small {
  color:#80500f !important;
}
@media print {
  body.single-sssf_study .sssf-study .sssf-study-overview { display:none !important; }
}


/* v0.6.21 — hero typography and geometry taken from the original
   hebrews-7-investigation-v126.html, scoped to the reusable Foundation view.
   No changes to the site's legacy page, voting, notes or recordings. */
@media (min-width: 801px) {
  body.single-sssf_study .sssf-study .sssf-study-hero {
    grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr);
    gap: 60px;
    padding-top: 90px;
    padding-bottom: 85px;
    align-items: center;
  }
  body.single-sssf_study .sssf-study .sssf-study-hero h1 {
    font-size: clamp(45px,5.3vw,82px);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.07;
    margin: 17px 0 20px;
  }
  body.single-sssf_study .sssf-study .sssf-study-hero .sssf-hero-description {
    font-size: clamp(17px,1.7vw,21px);
    line-height: 1.6;
    max-width: 670px;
  }
  body.single-sssf_study .sssf-study .sssf-hero-aside {
    border-left: 2px solid #c69b5d;
    padding-left: 22px;
  }
  body.single-sssf_study .sssf-study .sssf-hero-aside-text {
    font: italic 23px/1.55 Georgia,'Times New Roman',serif;
  }
}
body.single-sssf_study .sssf-study .sssf-study-hero .sssf-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
body.single-sssf_study .sssf-study .sssf-hero-actions { margin-top: 30px; }
body.single-sssf_study .sssf-study .sssf-hero-actions a {
  font-size: 14px;
  padding: 12px 19px;
}
body.single-sssf_study .sssf-study .sssf-study-overview {
  max-width: 1220px;
  gap: 15px;
  margin-top: -35px;
}
body.single-sssf_study .sssf-study .sssf-study-overview > div {
  padding: 22px 25px;
  border-radius: 12px;
  gap: 0;
}
body.single-sssf_study .sssf-study .sssf-study-overview small {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .14em;
}
body.single-sssf_study .sssf-study .sssf-study-overview strong {
  font: 400 22px/1.25 Georgia,'Times New Roman',serif;
  margin: 8px 0;
}
body.single-sssf_study .sssf-study .sssf-study-overview span {
  font-size: 13px;
  line-height: 1.5;
}
@media(max-width:800px){
  body.single-sssf_study .sssf-study .sssf-study-hero h1 {
    font-size:clamp(38px,9vw,58px);
  }
  body.single-sssf_study .sssf-study .sssf-study-overview{gap:9px;margin-top:-45px}
  body.single-sssf_study .sssf-study .sssf-study-overview > div{padding:15px 18px}
}

/* v0.6.23: preserve the original study's linked, formatted opening paragraphs. */
.sssf .sssf-chapter-preview-content{max-width:100%;line-height:1.8;overflow-wrap:anywhere}
.sssf .sssf-chapter-preview-content p{margin:.1rem 0 .85rem}
.sssf .sssf-chapter-preview-content a{color:var(--sssf-link,#e5af69);text-decoration:underline;text-underline-offset:2px}
.sssf .sssf-chapter-preview-content strong{font-weight:700}
.sssf .sssf-chapter-preview-content em{font-style:italic}

.sssf .sssf-case-related-chapter{margin:1.15rem 0;padding:.25rem 0}
.sssf .sssf-case-related-chapter a{color:var(--sssf-link,#e5af69);font-weight:650;text-decoration:underline;text-underline-offset:3px}

/* v0.6.24: collapse/expand the entire legacy-formatted chapter card once. */
.sssf-study .sssf-legacy-full-chapter>.sssf-chapter-full{padding-top:1rem;margin-top:1rem;border-top:1px solid rgba(220,175,105,.25)}
.sssf-study .sssf-legacy-full-chapter>.sssf-chapter-summary{margin-bottom:0}
.sssf-study .sssf-legacy-full-chapter[open]>.sssf-chapter-summary{border-bottom:0}
.sssf-study .sssf-legacy-full-chapter .sssf-section-top .sssf-kicker{margin:0}
.sssf-study .sssf-legacy-full-chapter .sssf-section-top+h2{font-family:Georgia,serif;line-height:1.17;letter-spacing:-.025em;margin:1rem 0 1.25rem}
.sssf-study .sssf-legacy-full-chapter .sssf-open-stat{font-size:.78em;color:var(--smuted);margin-top:1.1rem}
.sssf-study .sssf-legacy-full-chapter:not([open])>.sssf-chapter-full{display:none}
@media print{.sssf-study .sssf-legacy-full-chapter>.sssf-chapter-summary{display:none!important}.sssf-study .sssf-legacy-full-chapter>.sssf-chapter-full{display:block!important}}

/* v0.6.31: Imported case evidence headings must use the current study palette,
   rather than theme h4 colors (nearly black on the dark investigation cards). */
body.single-sssf_study .sssf-study .sssf-case-list > .sssf-case > .sssf-body h3,
body.single-sssf_study .sssf-study .sssf-case-list > .sssf-case > .sssf-body h4,
body.single-sssf_study .sssf-study .sssf-case-list > .sssf-case > .sssf-body h5 {
  color:var(--saccent) !important;
  font-family:Arial,Helvetica,sans-serif;
  font-weight:750;
  font-size:.82em;
  line-height:1.5;
  text-transform:uppercase;
  letter-spacing:.105em;
  margin:1.4em 0 .55em;
}
/* Category is already clearly identified in each case's summary. */
body.single-sssf_study .sssf-study .sssf-case-list > .sssf-case > .sssf-body > .sssf-import-case-category {display:none !important;}
body.single-sssf_study .sssf-study .sssf-case-list > .sssf-case > .sssf-body .scripture-links {display:flex;flex-wrap:wrap;gap:.35rem .65rem;margin:.3rem 0 1rem;}
body.single-sssf_study .sssf-study .sssf-case-list > .sssf-case > .sssf-body .scripture-links a {color:var(--saccent);text-decoration:underline;text-underline-offset:3px;}
body.single-sssf_study .sssf-study .sssf-case-related-chapter {margin:1rem 0 1.35rem;}
body.single-sssf_study .sssf-study .sssf-case-related-chapter a {
 color:var(--saccent)!important;display:inline-flex;align-items:center;
 font-weight:750;font-size:.9em;text-underline-offset:4px;
 padding:.35rem 0;
}
body.single-sssf_study .sssf-study .sssf-case-related-chapter a:hover,
body.single-sssf_study .sssf-study .sssf-case-related-chapter a:focus-visible {
 color:var(--stext)!important;outline-offset:3px;
}


/* v0.6.32 — One shared legacy reading palette for ALL Foundation studies.
   These selectors are scoped to the Foundation reader, not published legacy
   studies. Preserve theme variables rather than altering imported content. */
body.single-sssf_study .sssf.sssf-study:not(.sssf-day) {
  --sbg:#161c20;
  --scard:#25292d;
  --stext:#f3e9db;
  --smuted:#c7c2b7;
  --saccent:#e5b677;
  --sborder:#5b5045;
  --sssf-link:#e7b878;
}
/* The main reading and case cards deliberately inherit their study palette.
   Stronger than WordPress theme styles, but limited to the study content. */
body.single-sssf_study .sssf-study:not(.sssf-day) .sssf-original-reading-intro,
body.single-sssf_study .sssf-study:not(.sssf-day) .sssf-reader-column,
body.single-sssf_study .sssf-study:not(.sssf-day) .sssf-study-section,
body.single-sssf_study .sssf-study:not(.sssf-day) .sssf-case-list > .sssf-case {
  color:var(--stext);
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p,
body.single-sssf_study .sssf-study .sssf-case-list .sssf-body,
body.single-sssf_study .sssf-study .sssf-case-list .sssf-body p {
  color:var(--stext) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body a:not(.sssf-link),
body.single-sssf_study .sssf-study .sssf-case-list .sssf-body a:not(.sssf-link),
body.single-sssf_study .sssf-study .sssf-case-related-chapter a {
  color:var(--sssf-link,var(--saccent)) !important;
  text-decoration-color:currentColor;
  text-underline-offset:3px;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body a:hover,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body a:focus-visible,
body.single-sssf_study .sssf-study .sssf-case-list .sssf-body a:hover,
body.single-sssf_study .sssf-study .sssf-case-list .sssf-body a:focus-visible {
  text-decoration-thickness:2px;
}
body.single-sssf_study .sssf-study:not(.sssf-day) .sssf-chapter-sidebar .sssf-sidebar-chapter-list a {
  color:#f3e9db !important;
}
/* Explicit Day mode wins over the night palette, regardless of whether the
   Core toggle applies a class to html or Foundation applies .sssf-day. */
html.sss-mode-day body.single-sssf_study .sssf.sssf-study,
body.single-sssf_study .sssf.sssf-study.sssf-day {
  --sbg:#f0e4d2;
  --scard:#fffaf2;
  --stext:#26323b;
  --smuted:#53636b;
  --saccent:#845313;
  --sborder:#b7aa95;
  --sssf-link:#765019;
}
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body,
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p,
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-case-list .sssf-body,
html.sss-mode-day body.single-sssf_study .sssf-study .sssf-case-list .sssf-body p,
body.single-sssf_study .sssf-study.sssf-day .sssf-reader-column .sssf-body,
body.single-sssf_study .sssf-study.sssf-day .sssf-case-list .sssf-body {
  color:#26323b !important;
}
@media print {
 body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body,
 body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p,
 body.single-sssf_study .sssf-study .sssf-case-list .sssf-body,
 body.single-sssf_study .sssf-study .sssf-case-list .sssf-body p {color:#111 !important}
 body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body a,
 body.single-sssf_study .sssf-study .sssf-case-list .sssf-body a {color:#222 !important}
}


/* v0.6.33 — Source-faithful legacy reading blocks (shared by all studies).
   Hebrews 7 imports already carry historic citations; DO NOT invent citations
   for study sources, such as Hebrews 8, that do not provide any. */
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.source-note,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.sssf-historical-source {
  color:var(--smuted) !important;
  font-size:.9em;
  line-height:1.7;
  border-top:1px solid var(--sborder);
  padding-top:10px;
  margin:22px 0 17px;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.sssf-historical-source strong,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.source-note strong {
  color:var(--stext) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.source-link {
  margin:10px 0;
  font-size:.88em;
  line-height:1.5;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.source-link a,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.source-note a,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.sssf-historical-source a {
  color:var(--sssf-source-link,#91c4b1) !important;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}
body.single-sssf_study .sssf-study:not(.sssf-day){--sssf-source-link:#9ccfc0}
html.sss-mode-day body.single-sssf_study .sssf-study,
body.single-sssf_study .sssf-study.sssf-day{--sssf-source-link:#306b66}

/* Original Hebrews 8 contains structured Read the Scripture and Finding blocks.
   Preserve their hierarchy rather than presenting undifferentiated raw text. */
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body .references {
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
  background:var(--scard);color:var(--stext);
  padding:14px;border:1px solid var(--sborder);
  border-radius:7px;margin:18px 0;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body .references strong {
  font:700 12px/1.5 Arial,Helvetica,sans-serif;color:var(--stext);
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body .references a.scripture {
  border:1px solid var(--sborder);border-radius:5px;padding:4px 10px;
  text-decoration:none;font:600 12px/1.5 Arial,Helvetica,sans-serif;
  background:var(--sbg);color:var(--sssf-link,var(--saccent)) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body .takeaway {
  padding:16px 20px;border-left:3px solid var(--saccent);
  background:var(--scard);margin:18px 0;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body .takeaway > strong {
  display:block;font:700 11px/1.5 Arial,Helvetica,sans-serif;
  text-transform:uppercase;color:var(--saccent)!important;letter-spacing:.13em;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body .takeaway p {margin:7px 0 0}
@media print {
 body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.source-link a,
 body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.source-note a,
 body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.sssf-historical-source a {color:#222!important}
 body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body .takeaway,
 body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body .references {background:#fff!important;border-color:#999!important}
}

/* Shared private notes on Foundation case and chapter cards (all studies). */
.sssf-study .sssf-private-project-notes{margin:24px 0 20px;border:1px solid var(--sborder);border-radius:9px;background:var(--scard);color:var(--stext);overflow:hidden}
.sssf-study .sssf-private-project-notes>summary{cursor:pointer;list-style:none;padding:13px 17px;font:700 14px/1.5 Arial,sans-serif;color:var(--stext)}
.sssf-study .sssf-private-project-notes>summary::-webkit-details-marker{display:none}
.sssf-study .sssf-private-project-notes>summary small{font-size:11px;font-weight:400;color:var(--smuted);margin-left:9px}
.sssf-study .sssf-private-project-notes-inner{padding:0 17px 17px;border-top:1px solid var(--sborder)}
.sssf-study .sssf-private-project-notes-inner p{font-size:13px;color:var(--smuted)}
.sssf-study .sssf-private-project-notes label{display:block;margin:13px 0;font:600 13px Arial,sans-serif;color:var(--stext)}
.sssf-study .sssf-private-project-notes input,.sssf-study .sssf-private-project-notes textarea{display:block;margin-top:6px;width:100%;background:var(--sbg);color:var(--stext);border:1px solid var(--sborder);border-radius:5px;padding:10px;font:15px/1.6 Arial,sans-serif}
.sssf-study .sssf-private-project-note-actions{display:flex;flex-wrap:wrap;align-items:center;gap:15px}
.sssf-study .sssf-private-project-note-actions a{font:600 12px Arial,sans-serif;color:var(--saccent)}
.sssf-study .sssf-private-project-notes [data-sssf-project-note-status]{min-height:1.25em}
@media print{.sssf-private-project-notes{display:none!important}}


/* v0.6.35 — shared original Hebrews 7 reading palette.
   Applies to EVERY Foundation study and future import.  Colors only: no
   chapter content, voting, audio behavior or private-note data is changed. */
body.single-sssf_study .sssf.sssf-study:not(.sssf-day) {
  --sbg:#161c20;
  --scard:#25282b;
  --stext:#f4eee3;
  --smuted:#c4bcb0;
  --saccent:#e5b574;
  --sborder:#5c4c3d;
  --sssf-link:#edae71;
  --sssf-player-bg:#302e2b;
  --sssf-player-ink:#f4eee3;
  --sssf-player-line:#66513e;
  --sssf-button-bg:#302e2b;
}
/* The Foundation study itself follows the site's actual Day/Night switch. */
html.sss-mode-day body.single-sssf_study .sssf.sssf-study,
body.single-sssf_study .sssf.sssf-study.sssf-day {
  --sbg:#f0e4d2;
  --scard:#fffaf2;
  --stext:#26323b;
  --smuted:#53636b;
  --saccent:#845313;
  --sborder:#b7aa95;
  --sssf-link:#765019;
  --sssf-player-bg:#f4eadc;
  --sssf-player-ink:#26323b;
  --sssf-player-line:#b7aa95;
  --sssf-button-bg:#fffaf2;
}
/* The original study had a warm charcoal chapter card and a distinctly warm,
   lighter narration box. Do not put an almost-black box on a charcoal chapter. */
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-study-section.sssf-chapter {
  background:var(--scard) !important;
  color:var(--stext) !important;
  border-color:var(--sborder) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-study-section.sssf-chapter h2,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-study-section.sssf-chapter .sssf-body,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-study-section.sssf-chapter .sssf-body p,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-study-section.sssf-chapter .sssf-body strong {
  color:var(--stext) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-study-section.sssf-chapter .sssf-audio {
  background:var(--sssf-player-bg) !important;
  color:var(--sssf-player-ink) !important;
  border:1px solid var(--sssf-player-line) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-audio-heading,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-audio-heading strong {
  color:var(--sssf-player-ink) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-audio-heading small,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-audio-status,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-speed-label {
  color:var(--smuted) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-audio button,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-audio select {
  background:var(--sssf-button-bg) !important;
  color:var(--sssf-player-ink) !important;
  border:1px solid var(--sssf-player-line) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-audio button:hover,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-audio button:focus-visible,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-audio select:focus-visible {
  border-color:var(--saccent) !important;
}
/* Original study vote controls were warm charcoal with fine gold outlines. */
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-voting button,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-voting .sssf-buttons button,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-voting a,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-interactions > button {
  background:var(--sssf-button-bg) !important;
  color:var(--stext) !important;
  border:1px solid var(--sborder) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-voting button[aria-pressed="true"] {
  border-color:var(--saccent) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body a:not(.sssf-link) {
  color:var(--sssf-link) !important;
}
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-section-footer {
  border-color:var(--sborder);
  color:var(--smuted);
}
/* Historical citations / sources remain distinct and readable, not flattened
   into body copy. These rules never create or alter source content. */
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.source-note,
body.single-sssf_study .sssf-study .sssf-reader-column .sssf-body p.sssf-historical-source {
  color:var(--smuted) !important;
  border-color:var(--sborder);
}
@media print {
  body.single-sssf_study .sssf-study .sssf-reader-column .sssf-study-section.sssf-chapter,
  body.single-sssf_study .sssf-study .sssf-reader-column .sssf-study-section.sssf-chapter .sssf-body,
  body.single-sssf_study .sssf-study .sssf-reader-column .sssf-study-section.sssf-chapter .sssf-body p {
    background:#fff !important;
    color:#111 !important;
  }
}


/* v0.6.36: Shared, high-visibility Project Notes panel, matching the Bible reader's
   gold-outlined personal-notes treatment. Scoped to Foundation studies; all studies. */
.sssf-study .sssf-private-project-notes {
  border:2px solid #e2ba77!important;
  background:#26312e!important;
  border-radius:9px!important;
  margin:22px 0 24px!important;
  box-shadow:0 3px 14px rgba(0,0,0,.12);
  color:#f4eee2!important;
}
.sssf-study .sssf-private-project-notes>summary {
  padding:15px 17px!important;
  color:#f4eee2!important;
  font:700 15px/1.5 Arial,Helvetica,sans-serif!important;
}
.sssf-study .sssf-private-project-notes>summary>span:first-child {
  color:#e2ba77!important;
  font-size:20px;
  margin-right:7px;
}
.sssf-study .sssf-private-project-notes>summary small {
  color:#e5d9c5!important;
  font-size:12px!important;
  font-weight:400;
  margin-left:12px;
}
.sssf-study .sssf-private-project-notes>summary:focus-visible {
  outline:3px solid #e2ba77;outline-offset:3px;
}
.sssf-study .sssf-private-project-notes[open] .sssf-private-project-notes-inner {
  border-top:1px solid rgba(226,186,119,.5);
}
/* Bright day background with dark, legible notes copy and a strong gold outline. */
html.sss-mode-day .sssf-study .sssf-private-project-notes,
.sssf-study.sssf-day .sssf-private-project-notes {
  background:#fffaf1!important;
  border-color:#93621f!important;
  color:#283027!important;
}
html.sss-mode-day .sssf-study .sssf-private-project-notes>summary,
.sssf-study.sssf-day .sssf-private-project-notes>summary {color:#283027!important}
html.sss-mode-day .sssf-study .sssf-private-project-notes>summary small,
.sssf-study.sssf-day .sssf-private-project-notes>summary small {color:#526050!important}
html.sss-mode-day .sssf-study .sssf-private-project-notes>summary>span:first-child,
.sssf-study.sssf-day .sssf-private-project-notes>summary>span:first-child {color:#93621f!important}
@media print {.sssf-study .sssf-private-project-notes {display:none!important}}


/* Homepage sections are scoped here; existing study readers and all other tools remain unchanged. */
.sssf-home-complete{max-width:1450px;margin:0 auto}
.sssf-home-complete .sssf-home-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(215px,.65fr);align-items:end;gap:28px;padding:clamp(30px,5.4vw,78px);background:linear-gradient(135deg,var(--scard) 0%,var(--scard) 61%,var(--sbg) 100%);border:1px solid var(--sborder);border-radius:13px;margin-bottom:22px}
.sssf-home-complete .sssf-home-hero h1{font-size:clamp(34px,4.1vw,64px);line-height:1.11;letter-spacing:-.028em;margin:22px 0;color:var(--stext)}
.sssf-home-complete .sssf-home-hero h1 span{color:var(--saccent)}
.sssf-home-complete .sssf-home-lead{max-width:760px;font-size:clamp(16px,1.35vw,20px);color:var(--smuted);line-height:1.65;margin-bottom:28px}
.sssf-home-complete .sssf-home-actions{gap:11px}
.sssf-home-complete .sssf-home-actions a{padding:12px 18px;font-weight:700}
.sssf-home-complete .sssf-home-actions a.sssf-home-primary{background:var(--saccent);border-color:var(--saccent);color:var(--sbg)}
.sssf-home-complete .sssf-home-hero-note{border-left:3px solid var(--saccent);padding:4px 0 4px 20px;margin-bottom:12px}
.sssf-home-complete .sssf-home-hero-note p{font:700 11px Arial,sans-serif;letter-spacing:.16em;color:var(--saccent);margin:0 0 12px}
.sssf-home-complete .sssf-home-hero-note strong{display:block;font:500 clamp(22px,2.2vw,32px)/1.3 Georgia,serif;color:var(--stext)}
.sssf-home-complete .sssf-home-hero-note span{display:block;color:var(--smuted);font-size:.9em;margin-top:12px}
.sssf-home-complete .sssf-home-section{border:1px solid var(--sborder);border-radius:12px;background:var(--scard);padding:clamp(20px,3vw,38px);margin:0 0 22px}
.sssf-home-complete .sssf-home-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:25px}
.sssf-home-complete .sssf-home-section-head h2{font-size:clamp(26px,3vw,38px);line-height:1.2;margin:8px 0 10px;color:var(--stext)}
.sssf-home-complete .sssf-home-section-head p:not(.sssf-kicker){max-width:780px;color:var(--smuted);margin:0}
.sssf-home-complete .sssf-home-text-link{font-weight:700;white-space:nowrap}
.sssf-home-complete .sssf-home-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sssf-home-complete .sssf-home-video{display:block;background:var(--sbg);border:1px solid var(--sborder);padding:12px;border-radius:10px;text-decoration:none;color:var(--stext)}
.sssf-home-complete .sssf-home-video-cover{display:block;aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:7px;background:var(--sbg)}
.sssf-home-complete .sssf-home-video-cover img{width:100%;height:100%;object-fit:cover;display:block}
.sssf-home-complete .sssf-home-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:rgba(15,23,26,.87);color:#fff;font-size:19px}
.sssf-home-complete .sssf-home-video strong{display:block;color:var(--stext);margin:12px 3px 4px;line-height:1.35}
.sssf-home-complete .sssf-home-video small{display:block;color:var(--smuted);margin:0 3px 6px}
.sssf-home-complete .sssf-home-promo{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:22px;background:var(--sbg);border-radius:8px}
.sssf-home-complete .sssf-home-promo p{margin:5px 0;color:var(--smuted)}
.sssf-home-complete .sssf-home-section .sssf-latest-studies{background:transparent;max-width:none;padding:0;margin:0;border-radius:0}
.sssf-home-complete .sssf-home-section .sssf-latest-studies .sssf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.sssf-home-complete .sssf-home-section .sssf-latest-studies .sssf-card{background:var(--sbg);margin:0;padding:24px}
.sssf-home-complete .sssf-home-pathways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}
.sssf-home-complete .sssf-home-path{display:block;padding:27px;background:var(--scard);border:1px solid var(--sborder);border-radius:12px;text-decoration:none;color:var(--stext)}
.sssf-home-complete .sssf-home-path>span{display:block;font-size:27px;color:var(--saccent);margin-bottom:12px}
.sssf-home-complete .sssf-home-path strong{display:block;color:var(--stext);font-size:1.28em;margin-bottom:8px}
.sssf-home-complete .sssf-home-path p{margin:0 0 14px;color:var(--smuted)}
.sssf-home-complete .sssf-home-path em{font-style:normal;font-weight:700;color:var(--saccent)}
.sssf-home-complete .sssf-home-closing{padding:clamp(25px,4vw,55px);background:var(--scard);border:1px solid var(--sborder);border-radius:12px}
.sssf-home-complete .sssf-home-closing h2{font-size:clamp(26px,3.3vw,42px);margin:10px 0;color:var(--stext)}
.sssf-home-complete .sssf-home-closing>p:not(.sssf-kicker){max-width:850px;color:var(--smuted)}
@media(max-width:900px){.sssf-home-complete .sssf-home-hero{grid-template-columns:1fr}.sssf-home-complete .sssf-home-hero-note{max-width:480px}.sssf-home-complete .sssf-home-video-grid,.sssf-home-complete .sssf-home-pathways,.sssf-home-complete .sssf-home-section .sssf-latest-studies .sssf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.sssf-home-complete .sssf-home-video-grid,.sssf-home-complete .sssf-home-pathways,.sssf-home-complete .sssf-home-section .sssf-latest-studies .sssf-grid{grid-template-columns:1fr}.sssf-home-complete .sssf-home-hero{padding:24px}.sssf-home-complete .sssf-home-section-head{display:block}.sssf-home-complete .sssf-home-text-link{display:inline-block;margin-top:14px}}
@media print{.sssf-home-complete .sssf-home-hero,.sssf-home-complete .sssf-home-section,.sssf-home-complete .sssf-home-path,.sssf-home-complete .sssf-home-closing{background:white!important;color:black!important}}

/* v0.6.39 — Restore the authentic Scrapyard Saints identity at the very top. */
.sssf-home-complete .sssf-home-original-intro{display:block;padding:clamp(22px,3vw,46px);background:linear-gradient(130deg,#151c20 0%,#1b2020 56%,#32231d 100%);overflow:hidden;color:#f7eee2}
.sssf-home-complete .sssf-home-hero-inner{display:grid;grid-template-columns:minmax(215px,.85fr) minmax(0,1.2fr);gap:clamp(22px,4vw,62px);align-items:center}
.sssf-home-complete .sssf-home-hero-visual{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch}
.sssf-home-complete .sssf-home-original-logo{display:block;width:100%;max-width:500px;height:auto;object-fit:contain;filter:drop-shadow(0 12px 15px rgba(0,0,0,.5))}
.sssf-home-complete .sssf-home-porch-tag{margin:2px 0 12px;color:#e2b477;font:700 clamp(10px,.85vw,13px)/1.4 Arial,sans-serif;letter-spacing:.19em;text-align:center}
.sssf-home-complete .sssf-home-creator-photo{display:block;max-height:440px;max-width:100%;width:auto;height:auto;object-fit:contain;object-position:bottom;filter:drop-shadow(0 12px 15px rgba(0,0,0,.5))}
.sssf-home-complete .sssf-home-hero-copy h1{color:#f7eee2;font-size:clamp(32px,3.3vw,57px)}
.sssf-home-complete .sssf-home-hero-copy h1 span{color:#e2b477}
.sssf-home-complete .sssf-home-hero-copy .sssf-home-lead{color:#e0d8ce}
.sssf-home-complete .sssf-home-original-motto{margin:22px 0 0;color:#e2b477;font-weight:600}
.sssf-home-complete .sssf-home-intro-strip{text-align:center;padding:12px 18px 23px;color:var(--smuted);font:700 13px/1.5 Arial,sans-serif;letter-spacing:.05em}
.sssf-home-complete .sssf-home-intro-strip span{padding:0 10px;color:var(--saccent)}
.sssf-home-complete .sssf-home-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 22px}
.sssf-home-complete .sssf-home-three article{border:1px solid var(--sborder);border-radius:12px;background:var(--scard);padding:clamp(18px,2.5vw,32px)}
.sssf-home-complete .sssf-home-three small{color:var(--saccent);font:700 11px Arial,sans-serif;letter-spacing:.14em}
.sssf-home-complete .sssf-home-three h2{color:var(--stext);font-size:clamp(23px,2.1vw,31px);line-height:1.2;margin:20px 0 13px}
.sssf-home-complete .sssf-home-three p{color:var(--smuted)}
.sssf-home-complete .sssf-home-three a{font-weight:700}
@media(max-width:850px){.sssf-home-complete .sssf-home-hero-inner{grid-template-columns:1fr}.sssf-home-complete .sssf-home-creator-photo{max-height:320px}.sssf-home-complete .sssf-home-three{grid-template-columns:1fr}}
@media(max-width:580px){.sssf-home-complete .sssf-home-original-intro{padding:20px}.sssf-home-complete .sssf-home-original-logo{max-width:380px}.sssf-home-complete .sssf-home-creator-photo{max-height:260px}.sssf-home-complete .sssf-home-hero-copy h1{font-size:clamp(29px,8vw,43px)}.sssf-home-complete .sssf-home-intro-strip span{display:none}}

/* v0.6.40 — Hero CTA text contrast in both site modes.
   Use fixed foreground/background pairs for the gold action rather than
   inheriting page background text colors (which vary with the Kadence theme). */
.sssf-home-complete .sssf-home-actions a.sssf-home-primary,
.sssf-home-complete .sssf-home-actions a.sssf-home-primary:link,
.sssf-home-complete .sssf-home-actions a.sssf-home-primary:visited {
  background-color:#e8bc6f !important;
  border-color:#e8bc6f !important;
  color:#182126 !important;
  text-decoration:none;
}
html.sss-mode-day .sssf-home-complete .sssf-home-actions a.sssf-home-primary,
html.sss-mode-day .sssf-home-complete .sssf-home-actions a.sssf-home-primary:link,
html.sss-mode-day .sssf-home-complete .sssf-home-actions a.sssf-home-primary:visited,
.sssf-home-complete.sssf-day .sssf-home-actions a.sssf-home-primary {
  background-color:#86551a !important;
  border-color:#86551a !important;
  color:#ffffff !important;
}
.sssf-home-complete .sssf-home-actions a.sssf-home-primary:hover,
.sssf-home-complete .sssf-home-actions a.sssf-home-primary:focus-visible {
  outline:3px solid #ffffff;
  outline-offset:2px;
}

/* v0.6.43 — Real two-mode homepage.  Day stays LIGHT, night stays DARK.
   The original hero is an intentional dark photographic feature in both modes;
   it is not a dark page background in Day mode.  Never force the outer Kadence
   header/content into night colors while the day switch is active.
   Scoped only to a page rendering [sssf_home]. */
@media screen {
  /* Night: one continuous charcoal page without pale theme boards. */
  body.sssf-homepage-active,
  body.sssf-homepage-active #wrapper,
  body.sssf-homepage-active #page,
  body.sssf-homepage-active .site,
  body.sssf-homepage-active #inner-wrap,
  body.sssf-homepage-active .site-content,
  body.sssf-homepage-active .site-container,
  body.sssf-homepage-active .content-container,
  body.sssf-homepage-active .content-bg,
  body.sssf-homepage-active .content-area,
  body.sssf-homepage-active #primary,
  body.sssf-homepage-active #main,
  body.sssf-homepage-active .site-main,
  body.sssf-homepage-active .entry,
  body.sssf-homepage-active .entry-content,
  body.sssf-homepage-active .entry-content-wrap {
    background:#141b20 !important;
    background-color:#141b20 !important;
    box-shadow:none !important;
  }
  body.sssf-homepage-active .sssf-home-complete {
    --sbg:#141b20;
    --scard:#202a2e;
    --stext:#f4eee2;
    --smuted:#c1cdcb;
    --saccent:#e8bc6f;
    --sborder:#526160;
    background:#141b20 !important;
    color:var(--stext);
  }
  /* Day: soft sage-stone, NOT cream/white boards, with legible dark text. */
  html.sss-mode-day body.sssf-homepage-active,
  html.sss-mode-day body.sssf-homepage-active #wrapper,
  html.sss-mode-day body.sssf-homepage-active #page,
  html.sss-mode-day body.sssf-homepage-active .site,
  html.sss-mode-day body.sssf-homepage-active #inner-wrap,
  html.sss-mode-day body.sssf-homepage-active .site-content,
  html.sss-mode-day body.sssf-homepage-active .site-container,
  html.sss-mode-day body.sssf-homepage-active .content-container,
  html.sss-mode-day body.sssf-homepage-active .content-bg,
  html.sss-mode-day body.sssf-homepage-active .content-area,
  html.sss-mode-day body.sssf-homepage-active #primary,
  html.sss-mode-day body.sssf-homepage-active #main,
  html.sss-mode-day body.sssf-homepage-active .site-main,
  html.sss-mode-day body.sssf-homepage-active .entry,
  html.sss-mode-day body.sssf-homepage-active .entry-content,
  html.sss-mode-day body.sssf-homepage-active .entry-content-wrap {
    background:#e7ece7 !important;
    background-color:#e7ece7 !important;
    box-shadow:none !important;
  }
  html.sss-mode-day body.sssf-homepage-active .sssf-home-complete {
    --sbg:#e7ece7;
    --scard:#edf1eb;
    --stext:#23322f;
    --smuted:#455a53;
    --saccent:#765019;
    --sborder:#bdcbc3;
    background:#e7ece7 !important;
    color:var(--stext) !important;
  }
  /* Match the header to the current mode, not permanently dark. */
  body.sssf-homepage-active #masthead,
  body.sssf-homepage-active .site-header,
  body.sssf-homepage-active .site-header-row-container,
  body.sssf-homepage-active .site-header-row-container-inner {
    background:#14191c !important;
    background-color:#14191c !important;
  }
  body.sssf-homepage-active .site-header a,
  body.sssf-homepage-active .site-header .site-title,
  body.sssf-homepage-active .site-header .site-title a,
  body.sssf-homepage-active .site-header .menu-item > a { color:#f5eee4 !important; }
  html.sss-mode-day body.sssf-homepage-active #masthead,
  html.sss-mode-day body.sssf-homepage-active .site-header,
  html.sss-mode-day body.sssf-homepage-active .site-header-row-container,
  html.sss-mode-day body.sssf-homepage-active .site-header-row-container-inner {
    background:#edf1eb !important;
    background-color:#edf1eb !important;
  }
  html.sss-mode-day body.sssf-homepage-active .site-header a,
  html.sss-mode-day body.sssf-homepage-active .site-header .site-title,
  html.sss-mode-day body.sssf-homepage-active .site-header .site-title a,
  html.sss-mode-day body.sssf-homepage-active .site-header .menu-item > a { color:#23322f !important; }
  /* Hero stays dark for the genuine Scrapyard Saints photographs and logo. */
  body.sssf-homepage-active .sssf-home-complete .sssf-home-original-intro {
    background:linear-gradient(130deg,#151c20 0%,#1b2020 56%,#32231d 100%) !important;
    color:#f7eee2 !important;
  }
  /* The original action buttons: contrast on the dark hero IN BOTH MODES. */
  body.sssf-homepage-active .sssf-home-complete .sssf-home-hero .sssf-home-actions a.sssf-home-primary,
  html.sss-mode-day body.sssf-homepage-active .sssf-home-complete .sssf-home-hero .sssf-home-actions a.sssf-home-primary {
    background:#e8bc6f !important;
    border-color:#e8bc6f !important;
    color:#182126 !important;
  }
  body.sssf-homepage-active .sssf-home-complete .sssf-home-hero .sssf-home-actions a:not(.sssf-home-primary),
  html.sss-mode-day body.sssf-homepage-active .sssf-home-complete .sssf-home-hero .sssf-home-actions a:not(.sssf-home-primary) {
    background:#f8efe1 !important;
    border-color:#f8efe1 !important;
    color:#422511 !important;
  }
  body.sssf-homepage-active .sssf-home-hero .sssf-home-actions a:focus-visible {
    outline:3px solid #ffffff !important;
    outline-offset:3px;
  }
}

/* Shared Foundation homepage theme-song player: accessible and readable in both modes. */
.sssf-theme-player{position:fixed;left:16px;bottom:16px;z-index:9991;display:flex;align-items:center;gap:12px;max-width:min(620px,calc(100vw - 32px));padding:12px 14px;border-radius:14px;background:#172525;color:#fff6e7;border:1px solid #c9a56c;box-shadow:0 10px 36px rgba(0,0,0,.35);font-family:Arial,Helvetica,sans-serif}
.sssf-theme-player[hidden]{display:none!important}
.sssf-theme-player-info{display:flex;align-items:center;gap:10px;min-width:140px}
.sssf-theme-player-info strong,.sssf-theme-player-info small{display:block;color:#fff6e7;line-height:1.3}
.sssf-theme-player-info small{color:#d5decf;font-size:11px;margin-top:3px}
.sssf-theme-player-icon{color:#efc47c;font-size:27px}
.sssf-theme-player audio{width:260px;max-width:40vw;height:40px}
.sssf-theme-close{background:transparent!important;border:1px solid #aebbb4!important;border-radius:50%;width:30px;height:30px;min-width:30px;color:#fff6e7!important;font:24px/20px Arial,sans-serif!important;cursor:pointer}
.sssf-theme-close:focus-visible{outline:3px solid #efc47c;outline-offset:2px}
.sssf-theme-setup{padding:12px 20px;border:1px solid #b5a073;border-radius:8px;background:#172525;color:#fff6e7;margin:16px 0}
.sssf-theme-setup a{color:#f9d293}
@media(max-width:680px){.sssf-theme-player{right:10px;left:10px;bottom:10px;max-width:none;flex-wrap:wrap}.sssf-theme-player-info{flex:1}.sssf-theme-player audio{width:calc(100% - 45px);max-width:none;order:3;flex:1 1 100%}.sssf-theme-close{order:2}}

/* v0.6.81: source-grounded Claim context above each mapped Examination. */
.sssf .sssf-exam-claim-context{margin:1.1rem 0 1.5rem;padding:1.1rem 1.25rem;border:1px solid var(--sssf-border,#99704a);border-left:4px solid var(--sssf-accent,#d79a56);border-radius:12px;background:var(--sssf-panel,#213037);color:var(--sssf-text,#f5ebd9)}
.sssf .sssf-exam-claim-eyebrow{font:800 .74rem/1.5 system-ui,sans-serif;letter-spacing:.11em;color:var(--sssf-accent,#ecae65);margin:0 0 .4rem}
.sssf .sssf-exam-claim-lede{font-size:.93rem;line-height:1.55;margin:0 0 .8rem;opacity:.9}
.sssf .sssf-exam-claim-links{display:grid;gap:.55rem}
.sssf .sssf-exam-claim-link{display:flex;align-items:center;gap:.8rem;min-width:0;padding:.65rem .75rem;border:1px solid var(--sssf-border,#836449);border-radius:9px;color:inherit;text-decoration:none;background:rgba(127,112,94,.09)}
.sssf .sssf-exam-claim-link:hover,.sssf .sssf-exam-claim-link:focus-visible{border-color:var(--sssf-accent,#e5a465);background:rgba(198,139,71,.13)}
.sssf .sssf-exam-claim-number{font:800 .9rem system-ui,sans-serif;color:var(--sssf-accent,#eab06a);flex:none}
.sssf .sssf-exam-claim-name{flex:1;min-width:0;font-weight:600;line-height:1.4}
@media(max-width:600px){.sssf .sssf-exam-claim-context{padding:.8rem}.sssf .sssf-exam-claim-link{gap:.5rem}}

/* v0.6.83: Source-grounded Claim links are always visible in Examination summaries.
   Do not hide them behind [open]; do not alter theme or recorded progress. */
.sssf-study .sssf-chapter-summary .sssf-exam-preview-claims{grid-column:1/-1;grid-row:auto;display:flex;flex-direction:column;align-items:stretch;gap:.4rem;min-width:0;margin-top:.45rem;padding-top:.65rem;border-top:1px solid rgba(206,154,90,.25);font-family:system-ui,-apple-system,sans-serif;line-height:1.4}
.sssf-study .sssf-exam-preview-label{color:var(--sssf-accent,#e9ac68);font-weight:800;font-size:.7rem;letter-spacing:.09em}
.sssf-study .sssf-exam-preview-links{display:flex;flex-wrap:wrap;gap:.45rem;min-width:0}
.sssf-study .sssf-exam-preview-link{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.4rem;max-width:100%;padding:.37rem .6rem;color:var(--sssf-text,#f4e9d6);border:1px solid var(--sssf-border,#91643c);background:rgba(174,115,55,.13);border-radius:8px;text-decoration:none;font-size:.8rem;line-height:1.45;cursor:pointer}
.sssf-study .sssf-exam-preview-link:hover,.sssf-study .sssf-exam-preview-link:focus-visible{border-color:var(--sssf-accent,#efb46c);background:rgba(196,132,66,.23);text-decoration:underline;outline-offset:2px}
.sssf-study .sssf-exam-preview-number{color:var(--sssf-accent,#f5bc75);font-weight:800;white-space:nowrap}
.sssf-study .sssf-exam-preview-name{font-weight:500;overflow-wrap:anywhere}
html.sss-mode-day .sssf-study .sssf-exam-preview-link{color:#34291f;background:#f3e8d8;border-color:#ae8056}
html.sss-mode-day .sssf-study .sssf-exam-preview-number,html.sss-mode-day .sssf-study .sssf-exam-preview-label{color:#844616}
@media(max-width:650px){.sssf-study .sssf-exam-preview-links{display:flex;flex-direction:column}.sssf-study .sssf-exam-preview-link{width:100%}}
@media print{.sssf-study .sssf-exam-preview-claims{display:none!important}}

/* v0.6.84: visible claim relationships on CLOSED examination headers,
   independent of overlapping theme grid rules. */
body.single-sssf_study .sssf-study .sssf-original-reader-layout .sssf-main > details.sssf-chapter > summary.sssf-chapter-summary > .sssf-exam-preview-claims{
  grid-column:1 / -1 !important;grid-row:4 !important;display:flex !important;
  position:static !important;visibility:visible !important;opacity:1 !important;
  flex-direction:column!important;width:100%!important;min-width:0!important;
  margin:12px 0 0!important;padding:12px 0 0!important;
  border-top:1px solid rgba(229,168,93,.4)!important;
}
body.single-sssf_study .sssf-original-reader-layout .sssf-main > details.sssf-chapter > summary .sssf-exam-preview-links{
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;
}
body.single-sssf_study .sssf-original-reader-layout .sssf-main > details.sssf-chapter > summary .sssf-exam-preview-link{
  display:inline-flex!important;visibility:visible!important;color:inherit!important;
  font:600 13px/1.4 system-ui,sans-serif!important;text-decoration:none!important;
  border:1px solid #b67d45!important;border-radius:8px!important;
  padding:7px 10px!important;max-width:100%;
}
body.single-sssf_study .sssf-original-reader-layout .sssf-main > details.sssf-chapter > summary .sssf-exam-preview-link:hover{background:rgba(212,143,71,.17)!important}

/* Shared accessible study, claim and examination sharing menu. */
.sssf-share-study{cursor:pointer;font:inherit}
.sssf-share-panel{position:fixed;z-index:2147483000;max-height:80vh;overflow:auto;color:var(--sssf-ink,#f5e8d5);background:var(--sssf-surface,#17272a);border:1px solid #b57e46;border-radius:13px;box-shadow:0 18px 46px rgba(0,0,0,.45);padding:15px;font-family:system-ui,Arial,sans-serif;font-size:14px}
.sssf-share-panel[hidden]{display:none!important}
.sssf-share-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:16px}
.sssf-share-panel-head button{padding:4px 10px;background:transparent;color:inherit;border:1px solid #b57e46;border-radius:6px;cursor:pointer;font-size:20px}
.sssf-share-context{margin:9px 0 12px;line-height:1.5;overflow-wrap:anywhere}
.sssf-share-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sssf-share-options a,.sssf-share-options button{display:block;text-decoration:none;text-align:center;border:1px solid #b57e46;border-radius:8px;padding:10px 6px;color:inherit;background:rgba(191,125,62,.12);cursor:pointer;font:600 13px system-ui,Arial,sans-serif}
.sssf-share-options :is(a,button):focus-visible{outline:3px solid #e8ab65;outline-offset:2px}
.sssf-share-feedback{font-size:12px;min-height:1.2em;margin:10px 0 0}
@media print{.sssf-share-panel,.sssf-share{display:none!important}}

/* v0.6.133: homepage theme-song player on collapsible LEFT SIDE rail. */
#sssf-theme-player.sssf-theme-player{position:fixed!important;left:0!important;right:auto!important;top:43%!important;bottom:auto!important;transform:translateY(-50%);display:flex!important;align-items:stretch!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:0!important;z-index:99001!important;padding:0!important;width:auto!important;min-width:0!important;max-width:min(420px,92vw)!important;border-radius:0 14px 14px 0!important;overflow:hidden;border:1px solid #c9a56c!important;box-shadow:0 12px 32px rgba(0,0,0,.32)!important}
#sssf-theme-player .sssf-theme-side-toggle{flex:0 0 48px!important;width:48px!important;min-height:100px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;cursor:pointer!important;border:0!important;border-right:1px solid #886f50!important;border-radius:0!important;background:#22312e!important;color:#fff1dc!important;font-size:22px!important;line-height:1.2!important}
#sssf-theme-player .sssf-theme-side-toggle span{writing-mode:vertical-rl;transform:rotate(180deg);text-transform:uppercase;letter-spacing:.1em;font:800 11px/1.1 system-ui,sans-serif!important}
#sssf-theme-player .sssf-theme-player-panel{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;padding:12px!important;width:min(352px,calc(92vw - 48px))!important;max-width:min(352px,calc(92vw - 48px))!important;min-width:0!important}
#sssf-theme-player .sssf-theme-player-panel audio{flex:1 1 200px!important;width:100%!important;max-width:100%!important;order:3!important}
#sssf-theme-player .sssf-theme-player-info{flex:1!important;min-width:0!important}
#sssf-theme-player .sssf-theme-close{flex:0 0 30px!important;order:2!important}
#sssf-theme-player.sssf-theme-side-collapsed .sssf-theme-player-panel{display:none!important}
#sssf-theme-player.sssf-theme-side-collapsed{width:48px!important;max-width:48px!important}
#sssf-theme-player .sssf-theme-side-toggle:focus-visible{outline:3px solid #ffca80!important;outline-offset:-4px!important}
@media(max-width:600px){#sssf-theme-player.sssf-theme-player{top:38%!important}#sssf-theme-player .sssf-theme-side-toggle{min-height:83px!important;width:42px!important;flex-basis:42px!important}#sssf-theme-player.sssf-theme-side-collapsed{width:42px!important;max-width:42px!important}}

/* v0.6.197 — centered two-tone study titles; no changes to study content or reader controls. */
body.single-sssf_study .sssf-study .sssf-study-hero .sssf-hero-copy>h1 {text-align:center;max-width:100%;margin-left:auto;margin-right:auto;text-wrap:balance}
body.single-sssf_study .sssf-study .sssf-study-hero .sssf-hero-copy>h1 .sssf-hero-accent {color:var(--saccent,#e7b677)}
@media print{body.single-sssf_study .sssf-study .sssf-study-hero .sssf-hero-copy>h1 .sssf-hero-accent{color:#000!important}}

/* v0.6.270: Keep the one-click report inside the existing narration status row,
   immediately beneath playback controls; do not introduce a new row. */
.sssf-study .sssf-audio-feedback{flex:1 0 100%;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;flex-wrap:wrap;line-height:1.3}
.sssf-study .sssf-audio-feedback .sssf-audio-status{flex:0 1 auto;min-width:0;margin:0}
.sssf-study .sssf-audio-feedback .sssf-vpr-control{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-width:0}
.sssf-study .sssf-audio-feedback [data-sssf-report-voice]{padding:3px 9px;font-size:.78em;line-height:1.3;white-space:nowrap}
.sssf-study .sssf-audio-feedback [data-sssf-report-status]{font-size:.78em;line-height:1.3}
@media(max-width:440px){.sssf-study .sssf-audio-feedback{gap:5px}}

/* v0.6.271: the visitor's arrow places Report Voice Problem directly under
   the playback buttons on the right; the recording status stays on the left. */
.sssf-study .sssf-audio{display:grid;grid-template-columns:minmax(150px,1fr) auto;align-items:start;column-gap:12px;row-gap:0}
.sssf-study .sssf-audio-heading{display:flex;flex-direction:column;min-width:0;align-self:stretch}
.sssf-study .sssf-audio-heading .sssf-audio-status{margin-top:auto;padding-top:8px;flex-basis:auto;font-size:.8em}
.sssf-study .sssf-audio-actions{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:5px}
.sssf-study .sssf-audio-buttons{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.sssf-study .sssf-audio-report{display:flex;align-items:center;justify-content:flex-start;min-height:22px}
.sssf-study .sssf-audio-report .sssf-vpr-control{display:inline-flex;align-items:center;gap:8px;max-width:100%}
.sssf-study .sssf-audio-report [data-sssf-report-voice]{padding:3px 9px;font-size:.78em;line-height:1.3;white-space:nowrap}
.sssf-study .sssf-audio-report [data-sssf-report-status]{font-size:.78em;line-height:1.3}
@media(max-width:670px){.sssf-study .sssf-audio{grid-template-columns:minmax(0,1fr);row-gap:8px}.sssf-study .sssf-audio-heading .sssf-audio-status{padding-top:5px}.sssf-study .sssf-audio-buttons{flex-wrap:wrap}}

/* v0.6.276: reveal linked evidence and readable fallback if source data is incomplete. */
.sssf-claim-link-error{color:#f8bf86;font-size:13px;margin:4px 0 0;}

/* v0.6.283: make One God study's main examinations and supporting appendices distinct in the existing Sabbath navigation. */
.sssf .sssf-one-god-navigation-note{font-size:.78rem;line-height:1.5;margin:.4rem 0 .9rem;color:var(--sssf-muted,#d4c6ae)}
.sssf .sssf-one-god-nav-group{font-size:.68rem;letter-spacing:.08em;font-weight:800;color:var(--sssf-gold,#dfa962);padding:.9rem .35rem .3rem;margin:0;border-top:1px solid rgba(222,170,100,.25)}
