/* Readable mobile type, including legacy inline-sized dashboard labels. */
@media(max-width:800px){
 body{font-size:16px;line-height:1.6;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 main,#app,.card,.page-head>div,.section-head>div{min-width:0}
 p,.page-head p,.hero p,.workout-description,.exercise p,.water p,.diet-intro p,.diet-note p,.personal-chart p{font-size:16px!important;line-height:1.7}
 h1{font-size:28px!important;line-height:1.3;letter-spacing:-.7px}h2,.section-head h2,.diet-meal-head h2{font-size:21px!important;line-height:1.4}h3,.exercise h3{font-size:17px!important;line-height:1.5}
 .hero h2{font-size:30px!important}.hero .eyebrow{font-size:12px!important;line-height:1.6}.eyebrow{font-size:12px!important;line-height:1.6;letter-spacing:1.2px}
 .stat-top,.stat-foot,.value small,.exercise .duration,.day,.day b,.chip,.badge,.legend span,.macro span,.macro small,.axis,.ring small,.habit,.habit span,.water b,.diet-food,.diet-food small,.diet-meal-head time,.diet-author,.diet-toolbar label,.ad-label,.muted-note,.tip,.local-badge,.crumb,.date,footer,footer small,.blog-card small,.article-meta,.blog-footer{font-size:14px!important;line-height:1.6}
 .value{font-size:32px}.stat-top{gap:8px;align-items:flex-start}.stat-foot{overflow-wrap:anywhere}.mini-track{height:6px}
 .legend b,.macro b,.meal strong,.meal small{font-size:16px}.ring small{font-size:12px!important}.ring>div{padding:8px;text-align:center}.ring{flex-shrink:0}
 button,.primary,.session-btn,.textbtn,.theme-toggle,.diet-days button,.slider-controls,.settings label,dialog label,.auth-links,.auth-back,.auth-footer,.auth-overline,summary,.admin-form label,.form-help,.toolbar button{font-size:15px!important;line-height:1.5}
 button,.primary,.textbtn,.theme-toggle{min-height:44px}.iconbtn,.check,.water button,.slider-controls button{width:44px;height:44px;min-width:44px;flex-shrink:0}.check{font-size:19px!important}.slider-controls{gap:8px}.slider-controls button{margin:0}.managed-hero{padding-bottom:82px}
 input,select,textarea,.workout-library-label select,.diet-toolbar select,.admin-form input,.admin-form select,.admin-form textarea{font-size:16px!important;line-height:1.5;min-height:46px}.workout-library-label,.settings label,dialog label{font-size:15px!important}
 .day-row{gap:2px}.day{flex:1;min-width:0;padding:8px 0;min-height:54px}.day b{font-size:16px!important}.diet-days{gap:3px}.diet-days button{min-width:0;flex:1;padding:8px 2px}
 .exercise{gap:10px;flex-wrap:wrap}.exercise-icon{width:36px;height:36px;flex-shrink:0}.exercise>div:nth-child(2){min-width:100px}.exercise>.duration{margin-left:46px}.exercise>.check{margin-left:auto}
 .section-head{gap:12px;flex-wrap:wrap}.nutrition-top{gap:18px;flex-wrap:wrap}.water{gap:12px;flex-wrap:wrap}.diet-note .textbtn{font-size:15px}.diet-intro h2{font-size:25px!important}.diet-food{font-size:16px!important}.diet-food small{font-size:13px!important}
 .blog-card p,.blog-nav div,.blog-hero small,.blog-search input,.blog-filter button{font-size:16px!important}.blog-nav div{flex-wrap:wrap;gap:12px}.blog-card h2{font-size:23px!important}.article-body{font-size:18px;line-height:1.9}
 .auth-card label,.auth-card p{font-size:16px!important}.auth-card button{font-size:16px!important}.auth-links a,.auth-back{display:inline-flex;align-items:center;min-height:44px}
 html[data-theme=light] p,html:not([data-theme=dark]) p{color:#59644f}html:not([data-theme=dark]) .stat-foot,html:not([data-theme=dark]) .stat-top,html:not([data-theme=dark]) .textbtn{color:#56664b}
 #toast{font-size:15px;width:max-content;max-width:calc(100vw - 32px);bottom:84px;overflow-wrap:anywhere}
}
@media(max-width:500px){
 #app{padding:22px 16px}header{height:auto;min-height:76px;padding:12px 16px;gap:12px}.crumb{flex:1;min-width:0}.crumb span{margin:0 5px}.head-right{gap:6px}.head-right .local-badge{display:none}.head-right .textbtn{padding:8px;white-space:nowrap}.page-head{flex-direction:column;align-items:stretch;gap:16px}.page-head .date{align-self:flex-start}.card{padding:16px}.stats{gap:12px}.stats>.card{padding:14px}.stat-icon{padding:4px}.hero{padding:24px 22px 82px}.hero-copy{width:100%}.hero p{max-width:100%}.hero-art{opacity:.2}.stat-top{font-size:14px!important}.form-grid{grid-template-columns:1fr}.diet-toolbar{padding:14px}.diet-sidebar .lower{margin-top:16px}.personal-heading{align-items:stretch}.personal-chart-grid{grid-template-columns:1fr}#nav a{min-width:48px;min-height:48px}footer{margin:0 16px 84px;flex-wrap:wrap;gap:12px}.auth-main{width:calc(100% - 28px)}.auth-card{padding:24px 20px}.blog-shell{padding:20px 16px}.diet-shortcut>.primary{width:100%}
}

@media(max-width:800px){html body .hero p{color:#d8e5cd!important}html body .hero h2{color:#fff!important}.hero .eyebrow{color:#d8e5bc!important}}
