/* V75.17 — signed-in forest viewport, with tab clearance; no transforms and no hidden content.
   This stylesheet is loaded LAST, after all legacy member styles. */
:root{--shd-home-nav-reserve:calc(108px + env(safe-area-inset-bottom,0px))}
body:is([data-page="free"],[data-page="paid"]).shd-member-app[data-shd-active-pane="home"] .shd-member-forest.shd-original-home {
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:100dvh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;
  -webkit-overflow-scrolling:touch;
  background:linear-gradient(180deg,rgba(14,20,11,.64),rgba(14,19,10,.71)),url('/assets/hero-forest-wide.jpg') center center/cover no-repeat!important;
  padding:0!important;
  margin:0!important;
}
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-member-forest .shd-original-home-inner {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:580px!important;
  min-height:0!important;
  height:auto!important;
  transform:none!important;
  --shd-forest-fit:1!important;
  --shd-forest-offset:0px!important;
  padding:max(46px,calc(env(safe-area-inset-top,0px) + 12px)) 6% var(--shd-home-nav-reserve)!important;
}
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-member-forest .shd-original-home-inner > h1,
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-member-forest .shd-original-kicker,
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-member-forest .shd-original-mission,
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-member-forest .shd-original-signature {
 color:#fffcf7!important;-webkit-text-fill-color:#fffcf7!important;
 text-shadow:0 2px 8px rgba(1,8,3,.92)!important;
}
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-member-forest .shd-original-home-inner > h1 {font-size:clamp(1.85rem,7.2vw,3rem)!important;line-height:1.1!important;margin-bottom:13px!important}
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-original-logo {width:clamp(86px,13dvh,125px)!important;height:clamp(86px,13dvh,125px)!important;margin-bottom:8px!important}
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-original-kicker {font-size:clamp(.72rem,2.8vw,.94rem)!important;margin-bottom:12px!important}
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-original-mission {font-size:clamp(.82rem,3vw,1rem)!important;margin-bottom:14px!important;line-height:1.26!important}
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-original-quote {margin-bottom:10px!important;padding:12px 16px!important}
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-original-main-button,
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-original-secondary-button,
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-original-workbooks-button {min-height:44px!important;margin-bottom:9px!important}
body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-original-signature {font-size:clamp(.91rem,3.6vw,1.2rem)!important;white-space:normal!important;margin:10px 0 0!important}
body[data-page="paid"].shd-member-app .shd-original-workbooks-button {
 position:relative;display:flex;align-items:center;justify-content:center;
 width:100%;min-height:44px;box-sizing:border-box;
 border-radius:12px;border:1px solid #f4f0e6!important;background:#f2e8d9!important;
 color:#344436!important;-webkit-text-fill-color:#344436!important;
 font-weight:800!important;font-size:.88rem!important;padding:9px 20px!important;
}
body[data-page="paid"].shd-member-app .shd-original-workbooks-button span{position:absolute;right:17px}
body[data-page="paid"].shd-member-app .shd-original-pdf-link {
 display:block!important;min-height:30px!important;border:0!important;background:transparent!important;
 color:#fffcf7!important;-webkit-text-fill-color:#fffcf7!important;text-decoration:underline!important;
 font:600 .81rem/1.3 system-ui,sans-serif!important;padding:3px 8px!important;margin:0 auto 0!important;
}
/* The bottom tab bar stays anchored while Home scrolls IN ITS OWN viewport. */
body.shd-member-app[data-shd-active-pane="home"] .mobile-member-nav {z-index:300!important}
body.shd-member-app[data-shd-active-pane="home"]{overflow:hidden!important;}
@media(max-height:700px){
 body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-member-forest .shd-original-home-inner {padding-top:max(34px,env(safe-area-inset-top,0px))!important}
 body:is([data-page="free"],[data-page="paid"]).shd-member-app .shd-original-logo {width:84px!important;height:84px!important}
}
/* Preserve HTML hidden semantics for all other panes and the guest screen. */
