/* TDNSC V45 shared visual identity — additive, preserves V44 functionality */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root{--tdnsc-ink:#102b54;--tdnsc-navy:#071f50;--tdnsc-baby:#eaf7ff;--tdnsc-lilac:#eeebff;--tdnsc-blue:#279ee7;--tdnsc-radius:22px;color-scheme:light}
html{scroll-behavior:smooth}body{font-family:'Manrope',Arial,sans-serif!important;color:#102b54}h1,h2,h3,h4,h5,h6,.section-title,.hero-title{font-family:'Plus Jakarta Sans','Manrope',Arial,sans-serif!important;letter-spacing:-.035em;line-height:1.2}
button,input,select,textarea{font-family:inherit}p,li{line-height:1.7}a,button,summary{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
:focus-visible{outline:3px solid #2867d9!important;outline-offset:3px}
.tdnsc-level3-banner{background:#071f50!important;color:#fff!important}
.tdnsc-nav-shell{background:#f8fbff!important;border-bottom-color:#d6e7f3!important}
.tdnsc-site-panel{border-radius:18px!important}
/* Calm shared backgrounds; retain individual component layouts and interactive behaviours. */
body:not([data-tdnsc-theme="home"]){background:linear-gradient(165deg,#fbfdff 0%,#f1f8ff 48%,#f6f2ff 100%) fixed}
main,article,section{scroll-margin-top:25px}
:is(.card,.resource-card,.unit-card,.study-card,.reading-card){border-radius:var(--tdnsc-radius)}
:is(.card,.resource-card,.unit-card,.study-card,.reading-card):not(:hover){box-shadow:0 6px 25px rgba(12,37,73,.055)}
/* V45 home accents and a longer navy visual transition without rearranging V44 content. */
body[data-tdnsc-theme="home"]{background:linear-gradient(180deg,#fff 0%,#eff8ff 28%,#f2efff 58%,#fff 100%)}
body[data-tdnsc-theme="home"] .tdnsc-level3-banner{padding-block:18px!important}
body[data-tdnsc-theme="home"] :is(.hero,.home-hero){background-image:linear-gradient(125deg,#eaf8ff,#f8fbff 55%,#efebff)!important}
body[data-tdnsc-theme="home"] :is(.showcase,.revision-showcase,.feature-showcase){border-radius:28px}
/* Accessibility preferences shared across reading pages and learning app. */
html[data-reading-size="large"]{font-size:112.5%}html[data-reading-size="extra"]{font-size:130%}
html[data-reading-spacing="relaxed"] p,html[data-reading-spacing="relaxed"] li,html[data-reading-spacing="relaxed"] article{line-height:1.95!important;letter-spacing:.025em;word-spacing:.08em}
html[data-reading-bg="cream"] :is(main,article,.reading-content,.reading-panel){background-color:#fff9ed!important}
html[data-reading-bg="blue"] :is(main,article,.reading-content,.reading-panel){background-color:#eef7ff!important}
html[data-reading-bg="white"] :is(main,article,.reading-content,.reading-panel){background-color:#fff!important}
html[data-reading-font="arial"] :is(main,article,.reading-content,.reading-panel) :is(p,li,blockquote){font-family:Arial,sans-serif!important}
.tdnsc-reading-settings{font-family:'Manrope',Arial,sans-serif!important;max-width:min(100%,460px)}
.tdnsc-reading-settings select{max-width:100%;padding:8px;border-radius:9px;border:1px solid #a7c9e2;background:white;color:#102b54}
.tdnsc-reading-settings .v45-option{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:9px 0;flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
html[data-reading-motion="reduced"]{scroll-behavior:auto!important}
html[data-reading-motion="reduced"] *,html[data-reading-motion="reduced"] *:before,html[data-reading-motion="reduced"] *:after{animation-duration:.01ms!important;transition-duration:.01ms!important}
@media(max-width:650px){h1{letter-spacing:-.035em}body{overflow-wrap:break-word}.tdnsc-reading-settings{max-width:calc(100vw - 24px)}}
