body{background-color:#080d0a;background-image:linear-gradient(#a5d99c08 1px,transparent 1px),linear-gradient(90deg,#a5d99c08 1px,transparent 1px);background-size:36px 36px;font-size:17px;line-height:1.55}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c5f2ae;outline-offset:4px}button,.btn,.book-button,.lesson-cta{min-height:48px}.btn,.book-button,.lesson-cta{border-radius:12px;font-size:16px;font-weight:800;padding:13px 20px;border:1px solid #73946a;box-shadow:0 4px 0 #0006;transition:transform .18s,box-shadow .18s,background .18s}.primary,.book-button,.lesson-cta{background:linear-gradient(145deg,#c0ec9e,#8ed06f);color:#11200d;border-color:#b6e599}.btn:hover,.book-button:hover,.lesson:hover .lesson-cta{filter:brightness(1.08);box-shadow:0 6px 18px #a0dc7620;transform:translateY(-2px)}.btn:active,.book-button:active,.lesson:active .lesson-cta{transform:translateY(2px);box-shadow:none}.lesson-cta{justify-content:center}.book-content p,.module-text p,.library-heading p{font-size:16px;line-height:1.65;color:#c2ccc3}.book-content h3{font-size:19px;line-height:1.4}.tag,.tag-list span{font-size:12px}.material-details{font-size:15px}.material-details summary{padding:12px 0;min-height:48px}.book-content,.module-text{background:#111a13}.book,.module,.lesson,.choice{border-color:#354b38;box-shadow:0 12px 32px #0002}.reading-tools{max-width:1400px;margin:auto;padding:10px 5%;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.reading-tools button{background:#121d15;border:1px solid #3e5541;border-radius:10px;padding:8px 14px;color:#e1eedc;font-size:14px}.reading-tools button[aria-pressed=true]{background:#29412a;border-color:#b2dd98}.progress-wrap{max-width:1400px;margin:0 auto;padding:24px 5% 0}.course-section .progress-wrap{padding:0 0 28px}.study-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;border:1px solid #4a6947;border-radius:18px;background:linear-gradient(125deg,#20361f,#111c15);box-shadow:0 16px 40px #0003}.study-panel h2{font:800 25px/1.3 Manrope;margin:6px 0 10px}.study-panel p{margin:0 0 12px;color:#d4e3cd}.study-panel small{display:block;font-size:13px;color:#bdcdb8;margin-top:8px}.study-panel .btn{flex-shrink:0}progress{appearance:none;width:100%;height:9px;border:0;border-radius:10px;overflow:hidden;background:#324035;accent-color:#a5dc7e}progress::-webkit-progress-bar{background:#324035}progress::-webkit-progress-value{background:linear-gradient(90deg,#65a94f,#b9eb91);border-radius:10px;transition:width .4s}.module-progress{display:block;margin-top:16px;font-size:14px;color:#bfd4b7}.module-progress progress{display:block;margin-top:9px}.completion-control{margin:22px 0;padding:20px;border-radius:14px;border:1px solid #425a3c;background:#142017}.completion-control p{font-size:15px;color:#bdd0b5;margin:12px 0 0}.completed{border-color:#8ed06f!important}.material-opened{color:#b6e799!important;font-size:14px!important}.bottom-nav a{min-height:52px;min-width:72px;border-radius:12px}.bottom-nav a.active{background:#2c4527;color:#d5f7bf}.player-controls button{min-width:52px;min-height:52px}.player-controls input{height:48px;min-width:0}.search-btn,.menu-btn{min-width:48px;min-height:48px}.search input{font-size:17px;max-width:100%}.hero-copy p{font-size:18px}.large-text .book-content p,.large-text .book-content h3,.large-text .lesson-info strong,.large-text .module-text p,.large-text .btn,.large-text .book-button{font-size:20px}.reveal.revealed{animation:reveal-in .45s ease-out both}@keyframes reveal-in{from{opacity:.45;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes gentle-glow{0%,100%{box-shadow:0 0 0 0 #a5df7930}50%{box-shadow:0 0 0 9px #a5df7900}}.study-panel .primary{animation:gentle-glow 1.8s ease-out 2}::view-transition-old(root){animation:fade-out .13s ease-in both}::view-transition-new(root){animation:reveal-in .22s ease-out both}@keyframes fade-out{to{opacity:0}}.motion-off *,.motion-off *:before,.motion-off *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:760px){body{font-size:17px}.reading-tools{padding:8px 18px;justify-content:space-between;gap:8px}.reading-tools button{font-size:12px;padding:7px 10px}.progress-wrap{padding:18px 18px 0}.study-panel{display:block;padding:21px}.study-panel .btn{display:flex;width:100%;margin-top:18px;justify-content:center}.study-panel h2{font-size:23px}.study-panel p{font-size:16px}.book-content p{font-size:16px}.book-content h3{font-size:19px}.book-button{width:100%;text-align:center}.hero-copy .actions{gap:12px}.actions .btn{white-space:normal}.lesson-page h1{font-size:24px;line-height:1.35}.lesson-page .actions{display:grid;grid-template-columns:1fr}.completion-control .btn{width:100%}.module-page.wrap{padding-top:14px}.bottom-nav{padding-bottom:env(safe-area-inset-bottom,0px)}.footer{padding-bottom:110px}.player-controls{gap:8px}.player-controls span{font-size:12px}.hero-copy h1{font-size:36px}.tag-list{gap:8px}} 

/* Keep content close to the heading and make the progress summary secondary. */
.compact-progress .study-panel{padding:16px 18px;gap:16px;border-radius:12px}
.compact-progress .study-panel>div{flex:1}
.compact-progress .eyebrow,.compact-progress h2,.compact-progress small{display:none}
.compact-progress .study-panel p{font-size:14px;margin:0 0 8px}
.compact-progress .study-panel .btn{font-size:14px;margin:0}
.course-section .compact-progress{padding:0;margin:16px 0 20px}
.course-direct .modules{margin-top:0}
.back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:12px}
.book-content .book-button{font-size:16px;min-height:52px}
.lesson-info .lesson-cta{font-size:16px;color:#11200d}
.book-content .tag{font-size:12px}
.tag-list span{font-size:12px}
.large-text .book-content .book-button,.large-text .lesson-info strong,.large-text .module-text h3{font-size:20px}
.large-text .hero-copy p,.large-text .library-heading p,.large-text .module-text p,.large-text .recommend-box p{font-size:20px}
[hidden]{display:none!important}
@media(max-width:760px){
 .course-direct{padding:8px 18px 30px}.course-direct .heading-row{gap:8px;flex-wrap:wrap;margin:0}.course-direct .heading-row>span{padding:0;font-size:13px}.course-direct .heading-row p{font-size:16px;margin:6px 0}.course-direct .heading-row .eyebrow{display:none}
 .compact-progress .study-panel{display:block;padding:14px 16px}.compact-progress .study-panel .btn{margin:12px 0 0;min-height:48px}
 .library-page{padding:16px 18px 30px}.library-heading .eyebrow{display:none}.library-heading h1{font-size:27px;margin:0 0 8px}.library-heading .btn{margin-top:12px}
 .module-page.wrap{padding-bottom:30px}.lesson-info strong{min-height:0}.lesson-page{padding:8px 18px 30px}.lesson-page .lesson-layout{margin-top:12px}.lesson-page>.eyebrow{font-size:11px}.completion-control{padding:16px;margin:18px 0}.reading-tools button{font-size:13px}.hero-copy .actions .btn{width:100%;justify-content:center}.footer{gap:12px;padding-top:24px}.wrap:has(.choice-grid){padding-top:28px;padding-bottom:24px}.signature{margin-top:24px}
}

@media(max-width:760px){.hero-copy .eyebrow{display:none}.course-direct>.back{display:none}.course-direct{padding-top:14px}.book-section{margin:26px 0 30px}}
.module{overflow:hidden;border:1px solid #354b38;border-radius:16px;background:#111a13;text-align:left;padding:0}.module .module-text{position:relative;padding:18px}.module .module-text h3{margin:0 20px 9px 0}.module .module-text p{margin:0}.module .module-arrow{right:18px}.module .module-img{border-radius:0}.course-direct{padding-top:20px}.course-direct .heading-row h1{margin:8px 0}.course-direct .heading-row p{margin:6px 0}.course-direct>.back{margin-bottom:8px}@media(max-width:760px){.course-direct{padding-top:12px}.course-direct .heading-row h1{margin:0 0 6px}}@media(max-width:360px){.reading-tools{padding:8px 12px}.reading-tools button{font-size:12px;padding:7px 9px}}

/* Reading preferences live in the hamburger menu. */
.menu-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #354b38;border-radius:10px;background:#111a13}
.settings-panel{position:absolute;top:calc(100% + 8px);right:max(18px,5%);z-index:30;width:300px;max-width:calc(100vw - 36px);padding:18px;display:grid;gap:12px;border:1px solid #4c6847;border-radius:16px;background:#152019;box-shadow:0 16px 48px #0009}
.settings-panel h2{margin:0 0 4px;font:800 20px/1.3 Manrope}
.settings-panel button{display:flex;align-items:center;gap:12px;min-height:52px;width:100%;padding:12px 14px;border-radius:10px;border:1px solid #536c4e;background:#1c2b1f;color:#f2f9ed;font-size:16px;text-align:left}
.settings-panel button[aria-pressed=true]{background:#35552d;border-color:#b2dd98}

/* A quieter header and a clearly centered mobile navigation. */
.top{position:relative;top:auto;height:70px}.top-inner{gap:24px}.logo{min-width:0}.logo img{width:160px}.top-right{gap:14px}.avatar{display:none}.menu-btn,.search-btn{min-height:44px;min-width:44px}.search{top:calc(100% + 8px);z-index:31}.book-content h3{margin:0 0 10px!important;font-size:20px!important;line-height:1.35}.book-content>p{margin:0 0 20px;line-height:1.6}.book-content .book-button{margin-top:auto;gap:12px;border-radius:13px;background:linear-gradient(120deg,#a2df7d,#c6efaa 50%,#9bd778);border:1px solid #d2efba;box-shadow:0 4px 0 #4e793d,0 8px 22px #0a110950;letter-spacing:.1px}.book-button .svg-icon{width:20px;height:20px}.book-button:active{box-shadow:0 1px 0 #4e793d;transform:translateY(3px)}
.btn,.book-button,.lesson-cta{position:relative;isolation:isolate;overflow:hidden}
.btn:after,.book-button:after,.lesson-cta:after{content:"";pointer-events:none;position:absolute;inset:-40% auto -40% -70%;width:45%;background:linear-gradient(90deg,transparent,#ffffff80,transparent);transform:skewX(-22deg);animation:button-sheen 2.3s ease-in-out 2;animation-delay:.5s}
.btn:hover:after,.btn:focus-visible:after,.book-button:hover:after,.book-button:focus-visible:after{animation:button-sheen 1.2s ease-in-out infinite}
@keyframes button-sheen{0%,15%{left:-70%}70%,100%{left:150%}}
@media(prefers-reduced-motion:no-preference){html:not(.motion-off) .reveal:not(.revealed){opacity:0;transform:translateY(30px) scale(.98)}html:not(.motion-off) .reveal.revealed{animation:card-arrive .65s cubic-bezier(.16,1,.3,1) both;animation-delay:var(--reveal-delay,0ms)}}
@keyframes card-arrive{from{opacity:0;transform:translateY(30px) scale(.98)}to{opacity:1;transform:none}}
.revealed .book-button:after,.revealed .lesson-cta:after{animation:button-sheen 2.3s ease-in-out 2;animation-delay:.65s}
@media(max-width:760px){.top{height:62px}.top-inner{padding:0 16px;gap:10px}.logo img{width:146px}.top-right{gap:8px}.menu-btn,.search-btn{min-width:42px;min-height:42px}.bottom-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:6px;padding:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom,0px));border-radius:18px;bottom:10px;left:12px;right:12px}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:57px;padding:7px 4px;line-height:1;font-size:12px;margin:0}.bottom-nav a>span{display:flex;align-items:center;justify-content:center;line-height:1}.bottom-nav .svg-icon{display:block;margin:0;width:21px;height:21px}.bottom-nav a.active{border:1px solid #6e975c;box-shadow:inset 0 1px 0 #c6edab25}.bottom-nav a:not(.active){border:1px solid transparent}.book-content{padding:20px}.book-content h3{font-size:20px!important}.book-content .book-button{min-height:54px;font-size:17px}.hero{scroll-margin-top:0}}
.motion-off .btn:after,.motion-off .book-button:after,.motion-off .lesson-cta:after{display:none}
@media(prefers-reduced-motion:reduce){.btn:after,.book-button:after,.lesson-cta:after{display:none}}

.footer-logo{display:inline-flex;align-items:center;justify-content:center}.footer-logo img{display:block;width:180px;max-width:100%;height:auto;border-radius:8px}.footer{align-items:center}

.module-img{aspect-ratio:16/9;height:auto!important;background-size:cover;background-position:center}.module-img .badge{top:auto;bottom:10px;left:10px;background:#0c180de8;color:#e6f7de;border-color:#a0d18080}.lesson-play{left:auto;top:auto;right:14px;bottom:14px;transform:none;width:42px;height:42px}.lesson-thumb:after{background:linear-gradient(180deg,transparent 75%,#07110830)}
