/* The cinematic artwork stays intact; light mode changes reading surfaces. */
.lesson-credit{font:400 12px/1.65 'DM Sans',Arial,sans-serif!important;letter-spacing:0!important;color:#d1c5ae!important;margin:20px 0 0!important;max-width:540px}
.lesson-credit a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:#c8a76b80}
.lesson-credit a:hover{color:#fff}
.site-header nav .theme-toggle{border:1px solid #c8a76b55;border-radius:20px;padding:9px 13px;min-height:40px}
[data-theme=light]{color-scheme:light}
[data-theme=light] .site-header,[data-theme=light] #menu,[data-theme=light] #chapter-menu,[data-theme=light] .menu-restore{background:#f5f2eaf7;color:#24251f;border-color:#d5cbb8}
[data-theme=light] .site-header nav a,[data-theme=light] .site-header nav button,[data-theme=light] .site-brand,[data-theme=light] #menu a,[data-theme=light] #chapter-menu a{color:#34362c}
[data-theme=light] .site-brand img{background:#181a14;border-radius:50%;padding:3px}
[data-theme=light] .site-header nav a[aria-current=page]{color:#775824;border-color:#775824}
[data-theme=light] .lesson-notes,[data-theme=light] .scripture,[data-theme=light] .passage-library,[data-theme=light] .diagram,[data-theme=light] .logic-explorer,[data-theme=light] .logic-table,[data-theme=light] .source-links,[data-theme=light] #trust-guide{background:#f5f2ea!important;color:#24251f;border-color:#d5cbb8;box-shadow:0 12px 36px #0002;border-radius:8px}
[data-theme=light] .lesson-notes p,[data-theme=light] .scripture p,[data-theme=light] .passage-library p,[data-theme=light] #trust-guide p{color:#45483e}
[data-theme=light] .lesson-notes h3,[data-theme=light] summary span,[data-theme=light] .source,[data-theme=light] .question,[data-theme=light] .step-hint,[data-theme=light] .source-links h3,[data-theme=light] .reading-step h3{color:#775824!important}
[data-theme=light] .step-controls{border-color:#d5cbb8}
[data-theme=light] .step-controls button,[data-theme=light] .logic-buttons button{background:#e6dfd1;color:#292c22;border-color:#b9aa8e}
[data-theme=light] .step-controls .next-point,[data-theme=light] .logic-buttons button[aria-pressed=true]{background:#775824;color:#fff}
[data-theme=light] .course-hub,[data-theme=light] .learn-invitation,[data-theme=light] .substitute-illustration,[data-theme=light] .continuous-scenes .substitute-illustration,[data-theme=light] .salvation,[data-theme=light] .continuous-scenes .salvation,[data-theme=light] .lesson-footer{background:#f5f2ea;color:#24251f}
[data-theme=light] .course-hub .hub-intro,[data-theme=light] .learning-intro>p:last-child,[data-theme=light] .learn-invitation p:not(.eyebrow),[data-theme=light] .substitute-illustration .story-copy,[data-theme=light] .salvation .story-copy,[data-theme=light] .salvation blockquote,[data-theme=light] .salvation .large-copy{color:#45483e}
[data-theme=light] .course-hub>.hub-main>h1 em,[data-theme=light] .course-hub .eyebrow,[data-theme=light] .hub-actions>a:last-child,[data-theme=light] .salvation em,[data-theme=light] .salvation .eyebrow,[data-theme=light] .salvation cite,[data-theme=light] .substitute-illustration em,[data-theme=light] .substitute-illustration .eyebrow,[data-theme=light] .substitute-illustration cite,[data-theme=light] .learn-invitation .eyebrow{color:#775824}
[data-theme=light] .lesson-card{color:#f1eee5;border-color:#b8aa91;border-radius:8px}
[data-theme=light] .lesson-footer small{color:#775824}
[data-theme=light] .lesson-footer .lesson-credit{color:#55594e!important}
[data-theme=light] .lesson-footer .lesson-credit a:hover{color:#775824}
[data-theme=light] .progress,[data-theme=light] .reading-progress{background:#f5f2eaf7;color:#45483e}
[data-theme=light] .progress>div,[data-theme=light] .progress-track{background:#d5cbb8}
[data-theme=light] textarea{background:#f5f2ea;color:#24251f}
@media(max-width:700px){.site-header nav{gap:10px}.site-header nav .theme-toggle{padding:7px 9px;font-size:11px}}
@media(max-width:380px){.site-header{gap:8px}.site-header nav{gap:7px}.site-header nav a,.site-header nav button{font-size:11px}.site-header nav .menu-collapse{min-width:24px;padding:3px}}
[data-theme=light]{--m-bg:#f5f2ea;--m-panel:#fffdf7;--m-text:#272a23;--m-muted:#63665c;--m-gold:#826030;--m-border:#82603040;--m-input:#f7f3ea}
[data-theme=light] .info-page{background:#f5f2ea;color:#272a23}
[data-theme=light] .info-page a,[data-theme=light] .info-page .updated{color:#775824}
.info-page .theme-toggle{background:transparent;color:inherit;border:1px solid #9c875f;border-radius:20px;padding:7px 15px;cursor:pointer}
[data-theme=light] .site-drawer,[data-theme=light] .site-rail-controls{background:#f5f2ea!important;color:#272a23}
[data-theme=light] .site-rail-invitation,[data-theme=light] .site-menu-caption,[data-theme=light] .site-nav-kicker,[data-theme=light] .site-chapters-toggle,[data-theme=light] .site-nav-signature p{color:#775824!important}
[data-theme=light] .site-menu-lines,[data-theme=light] .site-menu-lines:before,[data-theme=light] .site-menu-lines:after{background:#775824}
[data-theme=light] .site-nav-signature,[data-theme=light] .site-chapters{border-color:#d5cbb8}
[data-theme=light] .site-primary .theme-toggle{color:#272a23!important}
/* One consistent, keyboard-accessible appearance switch on every page. */
body>.theme-toggle{position:fixed;right:22px;top:18px;z-index:79;width:76px;height:38px;border:1px solid #c8a76b80;border-radius:30px;background:#20221df2;color:#f2e9d5;box-shadow:0 3px 16px #0003;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:space-around;font:23px/1 Georgia,serif;backdrop-filter:blur(12px)}
.theme-toggle .theme-sun,.theme-toggle .theme-moon{position:relative;z-index:2;width:34px;text-align:center}
.theme-toggle .theme-thumb{position:absolute;top:3px;left:39px;width:30px;height:30px;border-radius:50%;background:#bd9c62;transition:transform .35s cubic-bezier(.2,.75,.2,1),background-color .3s}
[data-theme=light] body>.theme-toggle{background:#f5f2ea;color:#665029;border-color:#b9aa8e}
[data-theme=light] .theme-toggle .theme-thumb{transform:translateX(-35px);background:#e4d5b7}
body>.theme-toggle:focus-visible{outline:3px solid #c8a76b;outline-offset:4px}
@media(max-width:700px){body>.theme-toggle{right:12px;top:12px;width:70px;height:36px}.theme-toggle .theme-thumb{width:28px;height:28px;left:36px}.theme-toggle .theme-sun,.theme-toggle .theme-moon{width:31px}[data-theme=light] .theme-toggle .theme-thumb{transform:translateX(-32px)}}
@media(prefers-reduced-motion:reduce){.theme-toggle .theme-thumb{transition:none}}
[data-theme=light] .site-menu-lines{background:transparent;color:#775824}
[data-theme=light] .site-header.site-rail{--nav-bg:#f5f2ea;--nav-gold:#775824;--nav-text:#272a23;--nav-border:#d5cbb8}
[data-theme=light] .m-auth-image h1 em{color:#d2b47c}
/* Each light surface owns its ink and accent, including animated word spans. */
[data-theme=light] :is(.salvation,.substitute-illustration,.learn-invitation,.lesson-notes,.scripture,.passage-library,.diagram,.logic-explorer,.logic-table,.source-links,#trust-guide,.lesson-footer){--paper:#24251f;--gold:#775824;--muted:#45483e;color:#24251f}
[data-theme=light] :is(.salvation,.substitute-illustration,.learn-invitation) :is(h1,h2,h3,h4,.large-copy,.large-copy span,.flow-line,.flow-word,.word){color:inherit}
[data-theme=light] :is(.salvation,.substitute-illustration,.learn-invitation) :is(h1,h2,h3,h4,.large-copy){color:#24251f}
[data-theme=light] :is(.salvation,.substitute-illustration,.learn-invitation) em{color:#775824}
[data-theme=light] :is(.lesson-notes,.scripture,.passage-library,.diagram,.logic-explorer,.logic-table,.source-links,#trust-guide) :is(p,li,blockquote,td,label,summary){color:#34372e;text-shadow:none}
[data-theme=light] :is(.diagram,.logic-explorer,.logic-table,.source-links,#trust-guide) :is(h2,h3,h4,strong,b,.eyebrow,cite,a){color:#775824}
[data-theme=light] :is(.lesson-notes,.scripture,.passage-library) :is(.step-counter,.step-count,.source,.reference,.question,.step-hint){color:#665029!important;text-shadow:none}
[data-theme=light] :is(.lesson-notes,.scripture,.passage-library) summary span{color:#665029}
[data-theme=light] .m-reading-bar{background:#f5f2eaf7;color:#34372e;border-color:#d5cbb8}
[data-theme=light] .m-reading-bar a{color:#775824}
[data-theme=light] .site-nav-signature p span{opacity:1}
[data-theme=light] .info-page :is(input,textarea,select){background:#fffdf7;color:#24251f}
[data-theme=light] .step-controls button:disabled{opacity:1;background:#e6e2d8;color:#64665c;border-color:#d1ccbf;box-shadow:none}
