@media (max-width:760px){body{min-width:0}.app-shell{--muted:#71728e;min-height:100dvh;padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));font-size:15px;line-height:1.6}:is(.app-shell,.account-services) :where(section,article,form,fieldset,.page-stack>*,.section-heading>div){min-width:0}:is(.app-shell,.account-services) :where(p,h2,h3,h4,code){overflow-wrap:anywhere}:is(.app-shell,.account-services) img{max-width:100%}.content-area{padding:12px 16px 24px}.page-stack{gap:20px}.topbar{gap:8px;height:72px;padding:8px 12px}.mobile-afui-brand{flex-shrink:0;order:-1;gap:4px}.mobile-afui-brand strong{white-space:nowrap;font-size:22px}.topbar>.secondary-button{white-space:nowrap;padding:0 10px;font-size:12px;text-decoration:none}.top-actions{gap:4px}.afui-menu-button,.afui-gift-button,.afui-agent-button,.afui-more-button{flex-shrink:0;width:44px;height:44px}.afui-agent-button{padding:0}.afui-agent-button span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.mobile-nav{height:calc(72px + env(safe-area-inset-bottom,0px));padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))}.mobile-nav button{gap:3px;min-height:56px}.mobile-nav span{font-size:11px;line-height:1.4}.mobile-nav svg{width:23px;height:23px}:is(.app-shell,.account-services) :is(.primary-button,.secondary-button,.light-button,.text-button){min-width:44px;min-height:44px;font-size:14px}:is(.app-shell,.account-services) .suggestion-actions button,.wearable-disconnect{min-width:44px;min-height:44px}:is(.app-shell,.account-services) .icon-button,.send-button,.meal-row>button,.message-arrow{width:44px;height:44px}:is(.app-shell,.account-services) :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.dialog :is(input,select,textarea){font-size:16px}:is(.app-shell,.account-services) :is(input:not([type=checkbox]):not([type=radio]),select),.dialog :is(input:not([type=checkbox]),select){min-height:48px}:is(.app-shell,.account-services) textarea{line-height:1.7}:is(.app-shell,.account-services) :is(.eyebrow,.service-tag,.risk-label){font-size:12px}.page-intro{gap:12px;padding-top:6px}.page-intro h2{font-size:25px;line-height:1.4}.page-intro p{font-size:14px;line-height:1.7}.page-intro>.primary-button,.messages-page .page-intro>.secondary-button{width:44px;min-width:44px;height:44px;padding:0;font-size:0}.section-heading{gap:12px}.section-heading h3{font-size:19px;line-height:1.45}.section-heading .text-button{white-space:nowrap;font-size:13px}.afui-greeting{min-height:168px;margin:0;padding:20px 42px 16px 110px}.afui-greeting .afui-guide-photo{border-radius:48px 48px 18px 18px;width:100px;height:144px;left:0}.afui-greeting h2{font-size:clamp(22px,6vw,28px);line-height:1.35}.afui-greeting p{font-size:13px;line-height:1.65}.afui-greeting>.primary-button{width:44px;height:44px;min-height:44px;font-size:0}.score-panel{border-radius:24px;padding:18px}.score-panel:before{height:26px;top:20px;left:18px}.score-panel .section-heading h3{font-size:23px}.score-content{grid-template-columns:104px minmax(0,1fr);gap:18px;margin-top:16px}.score-ring{width:104px;height:104px}.score-ring:after{width:80px;height:80px}.score-ring strong{font-size:30px}.score-ring span{font-size:12px}.score-metrics{gap:12px}.metric>div:first-child,.macro>div:first-child{gap:5px;font-size:12px}.trend span{font-size:12px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.service-tile{border-radius:22px;grid-template-columns:40px minmax(0,1fr);gap:10px;min-height:100px;padding:14px 12px}.service-icon{border-radius:15px;width:40px;height:40px}.service-tile strong{font-size:14px;line-height:1.5}.service-tile small{color:#72738f;font-size:12px;line-height:1.5}.recommendation-panel,.agenda-panel,.timeline-panel,.risk-panel,.meal-plan,.water-panel,.macro-panel{border-radius:24px;padding:18px}:is(.app-shell,.account-services) :is(.recommendation-panel p,.agenda-item small,.service-row p,.service-banner p,.notification-list p,.profile-header p,.risk-panel>p,.benefit-list small,.membership-hero p,.upgrade-banner small){font-size:14px;line-height:1.7}:is(.app-shell,.account-services) :is(.suggestion-actions span,.suggestion-actions button,.record-stats article>span,.record-stats small,.record-stats p,.timeline-item time,.timeline-item small,.risk-score span,.benefit-strip span,.notification-list time){font-size:12px;line-height:1.6}.filter-row,.messages-page .message-tabs,.guide-tabs{scrollbar-width:thin;flex-wrap:nowrap;gap:8px;max-width:100%;padding:4px 2px 8px;display:flex;overflow-x:auto}.filter-row button,.message-tabs button,.messages-page .message-tabs button,.guide-tabs button{white-space:nowrap;flex-shrink:0;min-height:44px;padding:8px 16px;font-size:14px}.service-row{gap:12px;padding:18px}.service-row h3,.agenda-item strong,.timeline-item h4,.notification-list h3{font-size:16px;line-height:1.5}.service-banner{padding:22px}.ai-layout{border-radius:24px;min-height:0}.chat-panel{grid-template-rows:auto auto minmax(240px,1fr) auto auto;min-height:calc(100dvh - 184px)}.chat-header{grid-template-columns:40px minmax(0,1fr) 44px;gap:10px;padding:16px 12px}.chat-header h2{font-size:18px}.chat-header p{font-size:12px}.chat-header .secondary-button{width:44px;height:44px;padding:0;font-size:0}.safety-banner{padding:12px;font-size:12px;line-height:1.65}.chat-stream{padding:18px 12px}.message-row{gap:8px}.message-avatar{flex:0 0 30px;width:30px;height:30px}.message{overflow-wrap:anywhere;max-width:calc(100% - 38px);padding:14px;font-size:15px;line-height:1.8}.message small,.ai-answer-stack header small{font-size:12px}.ai-answer-stack header{flex-wrap:wrap;gap:8px}.ai-answer-stack header strong{font-size:14px}.prompt-chips{gap:8px;padding:12px}.prompt-chips button{white-space:normal;min-height:44px;padding:10px 12px;font-size:13px}.chat-input{border-radius:24px;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;margin:8px 10px 16px;padding:6px}.chat-input input{min-width:0}.privacy-note p,.privacy-note strong,.context-list small{font-size:13px}.record-stats{gap:12px}.timeline-item{grid-template-columns:44px 8px minmax(0,1fr) 44px;gap:8px}.week-strip{grid-template-columns:repeat(7,minmax(44px,1fr));gap:8px;padding-bottom:8px;overflow-x:auto}.week-strip span{font-size:12px}.meal-row{grid-template-columns:72px minmax(0,1fr) 44px;gap:12px;padding-block:18px}.meal-row img{object-fit:cover;border-radius:16px;width:72px;height:80px}.meal-row h4{font-size:16px;line-height:1.5}.meal-row span,.meal-row p,.water-panel h3 small,.macro strong{font-size:12px;line-height:1.6}.water-actions button{min-height:44px;font-size:14px}.membership-hero{gap:12px;padding:22px}.membership-plan-card p,.membership-plan-card li,.membership-current,.membership-locked{font-size:14px;line-height:1.7}.membership-price small,.membership-history>div:not(.section-heading),.membership-history b,.membership-upgrade-dialog p{font-size:12px}.membership-upgrade-bar,.membership-upgrade-dialog{bottom:calc(84px + env(safe-area-inset-bottom,0px))}.profile-group button{height:auto;min-height:52px;padding-block:12px;font-size:15px}.messages-page .notification-list article{grid-template-columns:36px minmax(0,1fr) 44px;gap:10px}.message-content>span{flex-wrap:wrap}.message-content>span b,.message-content>span em{font-size:12px}.message-preferences label{min-height:58px}.message-preferences label strong{font-size:14px}.message-preferences label small,.mandatory-notice{white-space:normal;font-size:12px}:is(.app-shell,.account-services) :is(.consent-summary p,.consent-summary small,.consent-list p,.consent-list small,.consent-control span,.consent-audit>p,.consent-audit span,.consent-audit time,.consent-audit span small){font-size:13px;line-height:1.7}.consent-control button{min-height:44px;font-size:13px}.consent-audit>div:not(.section-heading){gap:10px}:is(.app-shell,.account-services) :is(.family-owner p,.family-owner>span,.family-member-head p,.family-member-head h3 small,.family-status,.family-scopes span,.family-scopes small,.family-member-actions small,.family-audit>p,.family-audit span,.family-audit time,.family-audit small,.enterprise-hero p,.enterprise-benefits p,.enterprise-benefits small,.employee-identity span,.employee-identity>b,.enterprise-metrics span,.enterprise-claims strong,.enterprise-claims small,.enterprise-claims time){font-size:13px;line-height:1.7}.family-member-actions button,.benefit-balance button{min-height:44px;font-size:14px}:is(.app-shell,.account-services) :is(.order-overview span,.order-overview small,.user-order-head time,.order-state,.user-order-row p,.appointment-slot-summary strong,.appointment-slot-summary small,.order-payment-row b,.order-payment-row em,.user-order-row code,.entitlement-ledger strong,.entitlement-ledger small,.entitlement-ledger em){font-size:13px;line-height:1.7}.order-payment-row button,.user-order-row>div:last-child button{min-height:44px;font-size:14px}:is(.app-shell,.account-services) :is(.guide-suggestions span,.guide-knowledge span,.guide-result-head small,.guide-result-head b,.preparation-list span,.guide-citations>strong,.guide-citations>span,.guide-citations small,.medical-boundary,.assessment-progress,.tcm-suggestions b,.tcm-suggestions span,.report-upload p,.report-upload b,.report-processing p,.report-result-summary p,.indicator-list article>span,.indicator-list strong,.indicator-list small,.indicator-list article>b,.medical-risk-banner,.medical-recommendations small){font-size:13px;line-height:1.7}.guide-suggestions button{min-height:44px;font-size:14px}.medical-recommendations strong{font-size:15px}:is(.app-shell,.account-services) :is(.wearable-summary span,.wearable-summary small,.wearable-badge,.wearable-chart small,.wearable-chart span,.wearable-connection small,.wearable-connect-form label,.wearable-connect-form legend,.second-opinion-boundary,.second-opinion-remaining,.second-opinion-list article p,.second-opinion-list article small,.second-opinion-duration,.prescription-safety strong,.prescription-safety span,.prescription-head p,.prescription-verify,.prescription-verify small,.medication-list small,.medication-list p,.prescription-progress p,.prescription-progress small){font-size:13px;line-height:1.65}.wearable-connection strong,.second-opinion-list article strong,.medication-list strong{font-size:15px}.wearable-connect-form fieldset{flex-wrap:wrap}.wearable-disconnect,.reminder-toggle{min-height:44px;font-size:14px}.second-opinion-form>label,.second-opinion-fields label,.pharmacy-submit label{font-size:14px}.mobile-drawer{max-height:100dvh;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));overflow-y:auto}.mobile-drawer nav small,.mobile-drawer-head span,.mobile-drawer-privacy{font-size:13px;line-height:1.6}.modal-backdrop{align-items:end;padding:12px}.dialog{width:100%;max-height:calc(100dvh - 24px);padding:22px 20px calc(22px + env(safe-area-inset-bottom,0px));border-radius:26px;overflow-y:auto}.dialog label,.dialog .consent-line,.dialog-error{font-size:14px;line-height:1.65}.dialog .icon-button{width:44px;height:44px}.dialog :is(.primary-button,.secondary-button){min-height:48px;font-size:15px}.toast{left:16px;right:16px;bottom:calc(88px + env(safe-area-inset-bottom,0px));border-radius:18px;width:auto;max-width:none;padding:14px 18px;font-size:14px;line-height:1.6}.admin-main{min-width:0}.admin-auth-card{padding:24px}.admin-auth-card p,.admin-auth-card label,.admin-auth-card>small{font-size:14px}.admin-auth-card input{min-height:48px;font-size:16px}.ai-config-panel{grid-template-columns:minmax(0,1fr)}.readiness-panel{flex-direction:column;align-items:stretch}.readiness-checks{justify-content:flex-start}}@media (max-width:360px){.topbar{flex-wrap:wrap;height:auto;min-height:112px}.top-actions{justify-content:flex-end;width:100%}.content-area{padding-inline:12px}.afui-greeting{padding:16px 38px 14px 88px}.afui-greeting .afui-guide-photo{width:80px;height:128px}.afui-greeting h2{font-size:22px}.score-content{grid-template-columns:88px minmax(0,1fr);gap:12px}.score-ring{width:88px;height:88px}.score-ring:after{width:68px;height:68px}.score-ring strong{font-size:26px}.service-tile{grid-template-columns:minmax(0,1fr);gap:8px}.meal-row{grid-template-columns:58px minmax(0,1fr) 44px;gap:8px}.meal-row img{width:58px;height:72px}.membership-hero{flex-wrap:wrap}.membership-seal{width:76px;height:76px}}
