/* Touch-first layout, shared by mobile browsers and home-screen launches. */
.nav .nav-mobile-icon,.nav .nav-mobile-label{display:none}
.nav .nav-desktop-label{display:inline;background:transparent;margin:0;font-size:inherit}
.mobile-help-button{border:1px solid #becbb2;border-radius:24px;background:#edf1e2;color:#304c39;min-height:44px;padding:10px 15px;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
.life-heading-actions{display:flex;gap:10px;align-items:center}.action-jump{display:none}
.phone-copy{font-size:15px;line-height:1.85}.phone-copy h3{font-size:18px;margin:24px 0 10px}.phone-copy ol{padding-left:23px}.phone-copy li{margin-bottom:9px}.phone-copy a{overflow-wrap:anywhere}.phone-copy button{min-height:44px}.phone-copy .notice{margin:18px 0}
button,a,input,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7b984f;outline-offset:3px}
.event-card{scroll-margin-top:18px}.source-list,.life-layout,.life-main,.life-aside,.rate-card,.method-grid,.detail-body{min-width:0}
.rate-card dd,.source-item,.detail-body,.prose{overflow-wrap:anywhere}.drawer-dialog{overscroll-behavior:contain}
@media(max-width:760px){
 html{scroll-padding-bottom:100px}body{padding-bottom:calc(82px + env(safe-area-inset-bottom));font-size:15px}
 .site-header{display:flex;justify-content:space-between;align-items:center;height:auto;min-height:78px;margin:0;padding:16px max(18px,env(safe-area-inset-right)) 16px max(18px,env(safe-area-inset-left));gap:10px;flex-wrap:nowrap}
 .brand{font-size:23px;gap:9px}.brand-mark{font-size:27px}.brand small{font-size:8px}
 .mobile-help-button{font-size:11px;padding:9px 12px;max-width:142px}
 .nav{position:fixed;inset:auto 0 0;z-index:30;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;background:rgba(249,248,240,.98);border-top:1px solid #cfd7c2;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-shadow:0 -5px 24px #3047380a;width:100%;margin:0}
 .nav-button{min-width:0;min-height:57px;padding:5px 1px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;line-height:1.1;color:#58664e}
 .nav-button[aria-current=page]{background:#e3ead5;color:#29432e}.nav .nav-mobile-icon{display:block;background:transparent;margin:0;min-width:0;font-size:22px;line-height:23px}.nav .nav-mobile-label{display:block;background:transparent;margin:0;min-width:0;font-size:11px}.nav .nav-desktop-label{display:none}
 .page{margin:0;padding:30px 18px 15px}.page-header{margin-bottom:26px}.hero{padding-top:13px;gap:24px}.hero-title{font-size:clamp(32px,8.8vw,50px);line-height:1.45}.hero-description{font-size:14px}.hero-facts{gap:24px}.hero-facts strong{font-size:28px}.hero-art{min-height:0}.hero-image{min-height:0}
 .hero-frame{margin-top:8px}.section{margin-top:34px}.section-heading{align-items:flex-start;gap:12px}.section-title{font-size:27px}.eyebrow{font-size:10px;letter-spacing:.15em}
 .start-panel{padding:24px 20px;border-radius:18px}.start-panel h2{font-size:30px}.start-panel>p,.field label,.field select,.field input,.seed-details{font-size:15px}.field select,.field input,input[type=search],select{min-height:48px;font-size:16px}.birth-button{min-height:54px;font-size:16px}.mode-pills label{min-height:44px;font-size:13px}
 .toolbar{display:block}.filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.filters button{min-height:44px;padding:10px 14px;font-size:13px}.toolbar input{width:100%;min-width:0;font-size:16px}
 .species-grid{gap:13px;grid-template-columns:repeat(2,minmax(0,1fr))}.species-copy{padding:14px 11px}.species-copy h3{font-size:19px;line-height:1.45}.species-copy i{font-size:11px;overflow-wrap:anywhere}.species-copy p{font-size:12px;line-height:1.8}.species-copy .tag{font-size:10px}.species-copy .text-button{font-size:11px}.card-meta{font-size:10px;flex-wrap:wrap}
 .life-heading{gap:15px}.life-heading h1{font-size:29px;line-height:1.55}.life-heading p{font-size:13px}.life-heading-actions{display:flex;flex-wrap:wrap;width:100%}.life-heading-actions>*{flex:1;min-width:135px;min-height:46px;font-size:12px;display:flex;align-items:center;justify-content:center}.life-layout{display:flex;flex-direction:column;gap:24px}.life-main,.life-aside{width:100%}.life-aside{display:grid;grid-template-columns:1fr;gap:15px}
 .scene-age strong{font-size:29px}.scene-age>span{font-size:12px;max-width:210px}.scene-caption{font-size:11px;padding:12px 14px}.event-card{padding:23px 18px}.event-title{font-size:24px}.event-card>p{font-size:14px}.choice-button{padding:16px 14px;gap:10px;min-height:78px}.choice-button strong{font-size:15px}.choice-button>span{font-size:13px;line-height:1.7}.life-controls{gap:12px;display:flex;flex-wrap:wrap}.life-controls button{min-height:46px;font-size:13px}.life-controls label{font-size:13px}.life-controls select{min-height:44px}.life-evidence{margin-top:20px}
 .panel{padding:22px 18px}.panel h2,.panel h3{font-size:21px}.panel p,.fine,.muted.fine,.panel .fine{font-size:13px;line-height:1.9}.metric-label,.metric>div>span{font-size:13px}.eco-web{font-size:13px}.timeline-item{font-size:13px}.timeline-age{font-size:11px}.timeline-item h3{font-size:15px}.timeline-item p{line-height:1.85}.timeline{padding-left:0}
 .drawer-dialog{width:calc(100% - 20px);max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:0;border-radius:18px}.dialog-head{position:sticky;top:0;z-index:2;background:#fbfaf4;padding:18px 20px;gap:10px;box-shadow:0 1px 0 #dfe2d5}.dialog-head h2{font-size:26px}.close-button{min-width:44px;min-height:44px;font-size:25px;flex-shrink:0}.detail-body{padding:22px 18px;font-size:14px}.detail-body>p,.fact-list,.fact-defs,.model-details p{font-size:14px;line-height:1.85}.detail-art{max-height:245px;overflow:hidden}.detail-art svg{width:100%;height:auto}
 .rate-card{padding:20px 15px}.rate-card dl{grid-template-columns:1fr;gap:6px}.rate-card dt{margin-top:10px;font-size:12px}.rate-card dd{margin:0;font-size:13px;line-height:1.85}.rate-head{flex-wrap:wrap;gap:9px}.rate-head strong{font-size:32px}.risk-pair{gap:12px}.risk-pair strong{font-size:26px}.coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.coverage-grid strong{font-size:32px}.coverage-grid span{font-size:12px}.reproduction-table article{grid-template-columns:1fr auto}.reproduction-table article>span{grid-column:1/-1;font-size:13px}.source-item{padding:20px 16px}.source-item h3,.source-item a{font-size:14px;line-height:1.7}.source-item p{font-size:12px}
 .method-grid,.two-col,.summary-stats{gap:15px}.end-card{padding:24px 18px}.end-card h2{font-size:26px}.end-card p{font-size:14px}.summary-stats{grid-template-columns:1fr}.summary-stats strong{font-size:30px}.summary-stats span{font-size:13px}.footer{margin:0 18px;padding:24px 0;font-size:11px;line-height:1.9}.toast{bottom:calc(90px + env(safe-area-inset-bottom));left:18px;right:18px;max-width:none;font-size:14px}.source-number{overflow-wrap:anywhere}.phone-copy{font-size:14px}
}
@media(max-width:370px){.page{padding-left:14px;padding-right:14px}.site-header{padding-left:14px;padding-right:14px}.brand{font-size:21px}.mobile-help-button{font-size:10px;padding:9px}.species-copy h3{font-size:17px}.hero-facts{gap:20px}.species-grid{gap:10px}.life-heading h1{font-size:27px}}
/* Home-screen mode: keep the header clear of a display cutout. */
.phone-copy [hidden]{display:none!important}
.phone-copy #install-result:empty{display:none}
.phone-copy #phone-launch-mode{font-weight:600}
@media(max-width:760px){.site-header{padding-top:max(16px,env(safe-area-inset-top))}.drawer-dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}
