:root{color-scheme:light;--paper:#fffdf7;--ink:#172f28;--green:#194837;--line:#cad8cd;font-family:system-ui,sans-serif;background:#f4f1e8;color:var(--ink)}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{background:#153c30;color:#fff9e8;padding:1.4rem 1rem 1.7rem}header>div,main{max-width:850px;margin:auto}header a{color:#dff1d7}h1,h2{font-family:Georgia,serif;font-weight:500;line-height:1.04;margin:.5rem 0}h1{font-size:clamp(3rem,9vw,5rem)}h2{font-size:2.1rem}p{line-height:1.55}main{padding:1rem 1rem 3rem}section{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:clamp(.85rem,3vw,1.5rem);margin:1rem 0;overflow-wrap:anywhere}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:.75rem}label{display:grid;gap:.35rem;font-weight:600}input,button,select{font:inherit;min-height:44px}select,input{width:100%;min-width:0;border:1px solid #9daf9f;border-radius:8px;padding:.45rem .6rem;background:#fff;color:var(--ink)}button{background:var(--green);color:#fff;border:0;border-radius:8px;padding:.55rem .9rem;font-weight:650;cursor:pointer}button:disabled{opacity:.65;cursor:wait}.check{display:flex;align-items:center;min-height:44px;gap:.55rem}.check input{width:20px;height:20px;min-height:0;accent-color:var(--green)}form>button,#plan-tools>button{margin-top:1rem}.row,nav{display:flex;gap:.55rem;flex-wrap:wrap}nav button{background:#e1eae0;color:var(--ink)}nav button[aria-current]{background:var(--green);color:white}fieldset{border:1px solid var(--line);border-radius:8px;margin:1rem 0}form{margin-block:1rem}#plan-output{white-space:pre-wrap}#status{color:#294938;min-height:1.5rem}progress{accent-color:var(--green);max-width:100%}:focus-visible{outline:3px solid #975226;outline-offset:2px}
#trend-bars{display:grid;gap:.55rem;margin-block:1rem}#trend-bars meter{width:100%;height:15px}#starter-meals li{padding-block:.45rem}summary{cursor:pointer;font-weight:700;padding-block:.45rem}

/* Health: compact, mobile-first private dashboard */
:root{--forest:#173f32;--mint:#dfece1;--gold:#e8c878;--shadow:0 12px 32px rgba(18,56,38,.075)}
body{background:linear-gradient(170deg,#f5f6f0,#ecf3eb);font-size:16px}
header{background:radial-gradient(circle at 85% 20%,#416d53,transparent 40%),linear-gradient(140deg,#143a2d,#245d41);border-bottom:5px solid #ddc276;padding:1.2rem 1rem 2.5rem}
header .hero{max-width:1000px;margin:auto}
.hero h1{font-size:clamp(2.45rem,7vw,4.4rem);max-width:670px;line-height:1.02;margin:1rem 0}
.hero p{max-width:510px;color:#edf8ec;font-size:1.09rem}
.back-link{display:inline-block;margin-bottom:1.8rem;text-decoration:none;opacity:.9}
.eyebrow{display:block;font-size:.72rem;font-weight:850;letter-spacing:.14em;color:#e6cd82}
.eyebrow.dark{color:#526d5c;font-size:.71rem}
.hero-tags{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.5rem}
.hero-tags span{border:1px solid #ffffff50;background:#ffffff15;border-radius:999px;padding:.45rem .85rem;font-size:.82rem;font-weight:700}
main{max-width:1040px;padding:1.1rem 1rem 4rem}
section{box-shadow:var(--shadow);border:1px solid #dce5d9;border-radius:20px;padding:clamp(1.1rem,3vw,1.9rem);margin:1rem 0}
h2{font-size:clamp(1.8rem,5vw,2.6rem)}
h3{font-size:1.1rem;line-height:1.35;margin:.4rem 0}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:.8rem}
.section-heading h2{margin:.25rem 0}
.soft-chip{background:#e8f1e7;border:1px solid #d0e3d1;border-radius:999px;color:#2c5a43;padding:.45rem .7rem;font-size:.8rem;font-weight:700}
nav{position:sticky;top:0;z-index:10;background:#edf3ebea;backdrop-filter:blur(14px);padding:.75rem .35rem;margin:.75rem -.35rem;border-radius:14px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
nav button{flex:0 0 auto;white-space:nowrap;background:#fdfefa;border:1px solid #d5e1d5;box-shadow:0 1px 2px #112b1810;border-radius:999px;padding:.66rem 1rem;font-weight:800}
nav button[aria-current]{background:#1d5540;color:#fff;box-shadow:0 4px 12px #18553d30}
button{transition:filter .15s ease,transform .15s ease}
button:hover:not(:disabled){filter:brightness(1.09)}
button:active:not(:disabled){transform:translateY(1px)}
.notice,.note{padding:.85rem 1rem;background:#eff4eb;border:1px solid #dbe5d9;border-radius:12px;line-height:1.5}
.note{font-size:.9rem;color:#456651}
.muted{font-size:.9rem;color:#607568}
.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:1.1rem 0 1.5rem}
.stat{background:#f0f6ec;border:1px solid #dbe8d6;border-radius:16px;padding:1rem .8rem;display:grid;gap:.15rem}
.stat span{color:#4b6657;font-size:.86rem;font-weight:650}
.stat strong{font-size:clamp(1.7rem,4vw,2.5rem);color:#1b4c36;font-variant-numeric:tabular-nums}
.stat small{font-size:.75rem;color:#5a7061}
.day-picker{display:flex;gap:.4rem;overflow-x:auto;scrollbar-width:thin;padding:.5rem 0;margin:.5rem 0}
.day-picker button{background:#e8f0e7;color:#264e37;border:1px solid #cee2cf;border-radius:999px;min-width:4.2rem}
.day-picker button[aria-pressed=true]{background:#225840;color:white;border-color:#225840}
.visual-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.visual-card,.workout-card{overflow:hidden;background:#fff;border:1px solid #dce6da;border-radius:18px;box-shadow:0 5px 18px #143e2810}
.visual-card img{display:block;width:100%;height:185px;object-fit:cover;background:#eaf0e5}
.visual-card-body{padding:1.05rem;display:grid;gap:.6rem}
.visual-card-body h3{min-height:2.5em;line-height:1.35}
.visual-card-body button{justify-self:start;margin-top:.25rem}
.meal-check[aria-pressed=true]{background:#daeadd;color:#205238;border:1px solid #bad5c1}
.workout-grid{display:grid;gap:.85rem;grid-template-columns:1fr;margin:1.2rem 0}
.workout-card{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:stretch;min-height:143px}
.workout-card img{width:100%;height:100%;object-fit:cover;background:#e9f0e8}
.workout-card>div{padding:.8rem 1rem}
.workout-card h3{margin:.3rem 0}
.workout-card p{font-size:.84rem;color:#4b6558;margin:.3rem 0}
.share-panel{padding:1.15rem;background:#f0f6ef;border:1px solid #cddfcf;border-radius:15px;margin:1rem 0;display:grid;gap:.7rem}
.share-panel h3,.share-panel p{margin:0}
.share-panel button{justify-self:start}
.share-panel input{background:white}
.danger-outline{background:transparent;color:#8e3b34;border:1px solid #c88b86}
#invite-panel{border-color:#abcba8;background:#f1f7ee}
#invite-panel label{margin:1rem 0}
#plan-output{line-height:1.7;white-space:pre-wrap;background:#f3f6ef;padding:1rem;border-radius:12px}
@media(min-width:620px){
.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.visual-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.visual-card img{height:170px}
.workout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:960px){.workout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workout-card{grid-template-columns:170px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Four-step personalisation, mobile-first and fully keyboard accessible */
#setup{max-width:820px;margin:1.2rem auto;padding:clamp(1.25rem,4vw,2.5rem)}
.onboard-header h2{margin:.4rem 0;font-size:clamp(2.05rem,6vw,3.15rem)}
.onboard-header p{color:#526b5b;max-width:650px}
.setup-progress{display:flex;align-items:center;gap:1rem;margin:1.4rem 0 1.7rem;color:#325a41;font-size:.87rem;font-weight:800}
.setup-progress progress{flex:1;max-width:none;height:12px;accent-color:#246345}
#onboarding>.setup-step{border:0;padding:0;margin:0;min-width:0}
#onboarding>.setup-step legend{padding:0;font-size:clamp(1.35rem,4vw,1.75rem);font-family:Georgia,serif;color:#194934}
#onboarding>.setup-step>p{color:#607666;margin:.4rem 0 1.1rem}
#onboarding>.setup-step label{margin:.55rem 0}
.goal-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin-top:1.2rem}
.goal-choice-grid label{margin:0!important;cursor:pointer;position:relative}
.goal-choice-grid input{position:absolute;top:14px;right:13px;min-height:0;width:18px;height:18px;accent-color:#286342}
.goal-choice-grid span{display:grid;gap:.3rem;border:2px solid #dae6d8;background:#fafdf8;border-radius:16px;padding:1rem;min-height:128px;font-size:1.5rem;transition:background .15s,border-color .15s}
.goal-choice-grid strong{font-size:.92rem;font-weight:800;color:#244b37}
.goal-choice-grid small{font-size:.73rem;color:#5a725f;font-weight:500;line-height:1.35}
.goal-choice-grid input:checked+span{border-color:#2e7a4f;background:#e5f3e6;box-shadow:0 0 0 2px #a6d4af66}
.goal-choice-grid input:focus-visible+span{outline:3px solid #ba874b;outline-offset:2px}
#height-cm,#height-ft,#target-loss-group{margin:1rem 0}
.setup-actions{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between;margin-top:1.4rem}
.setup-actions #setup-next{margin-left:auto}
.setup-actions button{min-height:48px}
button.secondary{background:#edf3eb;color:#245238;border:1px solid #c4d8c7}
#setup-save-status{font-size:.82rem;margin:.75rem 0 0}
.month-overview{margin:1.2rem 0;background:#f2f7ef;border:1px solid #d7e8d8;border-radius:15px;padding:1rem}
.month-overview h3{margin:0 0 .35rem}
.month-overview p{margin:.3rem 0 .65rem}
.month-overview progress{width:100%;max-width:none;height:13px;accent-color:#357b50}
.tip-card{background:#fff9e9;border:1px solid #f1dfae;color:#604919;border-radius:15px;padding:1rem;margin:1rem 0;font-weight:550;line-height:1.55}
.profile-summary{padding:1rem;background:#f0f6ef;border:1px solid #d9e7d6;border-radius:15px;margin:1.1rem 0;display:grid;gap:.6rem}
.profile-summary p{margin:0}
.profile-summary button{justify-self:start}
@media(max-width:400px){.goal-choice-grid{grid-template-columns:1fr}.goal-choice-grid span{min-height:78px;grid-template-columns:34px 1fr;align-items:center}.goal-choice-grid small{grid-column:2}.setup-actions{flex-direction:column-reverse}.setup-actions button{width:100%}}

/* Monthly memberships, AI assistance and flexible habit tracking */
.tier-grid{display:grid;gap:.9rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));margin:1.2rem 0}
.tier-card{border:1px solid #d8e5d7;background:#f7fcf5;border-radius:19px;padding:1.2rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
.tier-card:nth-child(2){background:#f3f8f4}
.tier-card:has(button[data-tier=plus]){background:linear-gradient(155deg,#eff6e9,#fffaf0);border-color:#b7d0b8}
.tier-card h3,.tier-card p{margin:0}
.tier-card p{color:#476353;font-size:.91rem;line-height:1.45;flex:1}
.tier-card .tier-price{font-size:clamp(1.55rem,4vw,2.15rem);color:#1d4c36;line-height:1.2}
.tier-card button{width:100%;margin-top:.4rem}
.tier-card button[hidden]{display:none}
.member-tier{display:grid;gap:1rem;background:#f2f8ef;border:1px solid #d3e5d5;border-radius:17px;padding:1.1rem;margin:1.1rem 0}
.member-tier h3{font-size:1.45rem}
.member-tier p{margin:.25rem 0}
.quota-line{background:#eaf4e8;border:1px solid #d7e6d5;padding:.75rem 1rem;border-radius:12px;font-weight:750;color:#255538}
.ai-answer:not(:empty){background:#f4f7f1;border:1px solid #d6e4d7;border-radius:13px;padding:1.2rem;white-space:pre-wrap;line-height:1.7;margin:1rem 0}
.ai-history details{border:1px solid #e0e6db;padding:.85rem 1rem;border-radius:12px;margin:.5rem 0;background:white}
.ai-history details p{margin:.8rem 0 .1rem;white-space:pre-wrap;line-height:1.6}
.ai-history summary{cursor:pointer;font-weight:700;color:#2a553d}
#coach-question{width:100%;min-height:100px;resize:vertical;background:white;margin-top:.45rem}
#coach-box{margin:1.3rem 0;padding:1.2rem;border:1px solid #d3e4d3;background:#f8fcf7;border-radius:16px}
#coach-box h3{margin:.2rem 0}
#coach-box h4{margin:1.2rem 0 .5rem}
#coach-box button{margin-top:.7rem}
.week-summary{background:#f7faf4;border:1px solid #dbe8d5;border-radius:16px;padding:1rem;margin:1.2rem 0}
.week-summary h3{margin:0 0 .3rem}
.week-summary p{margin:0;color:#496651;line-height:1.6}
#entry>p.muted{font-size:.8rem;margin:.25rem 0 .9rem}
#entry .fields>[id$="-fields"]{min-width:0}
.meal-choice{display:grid;gap:.3rem;color:#375944;font-size:.83rem;font-weight:700}
.meal-choice select{width:100%;padding:.65rem;font-size:.87rem;background:#fff}
.visual-card-body p.muted{line-height:1.5;margin:0}
@media(min-width:760px){.member-tier{grid-template-columns:minmax(0,1fr) minmax(230px,1fr);align-items:center}}

/* Multiple independently saved daily activity sessions */
.activity-tracker,.daily-checkin{border:1px solid #d8e8d8;border-radius:18px;padding:clamp(1rem,3vw,1.5rem);background:#f9fcf7;margin:1rem 0 1.4rem}
.activity-tracker>h3,.daily-checkin>h3{font-size:1.3rem;margin:.1rem 0 .6rem;color:#20553b}
.activity-tracker>p{color:#53705e;line-height:1.5;margin:.25rem 0 1.15rem}
.activity-tracker input,.daily-checkin input{background:#fff}
#activity-form>button{background:#246645}
#activity-form .fields>[id$="-fields"]{min-width:0}
.daily-activities{margin:1.2rem 0 .2rem;border-top:1px solid #dce9d9;padding-top:1rem}
.daily-activities>h3{font-size:1.08rem;margin:.2rem 0 .85rem}
#activity-list{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.activity-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.15rem 1rem;
align-items:center;padding:.9rem 1rem;background:#fff;border:1px solid #d7e5d7;border-radius:13px}
.activity-item strong{color:#28563e;font-weight:750}
.activity-item span{color:#536d5e;font-size:.87rem;grid-column:1}
.activity-item small{color:#697a6f;grid-column:1;font-size:.75rem}
.activity-item button{grid-column:2;grid-row:1 / span 2;justify-self:end;background:#f9f0ee;
color:#834b45;border:1px solid #e9c5c0;border-radius:9px;padding:.55rem .8rem}
.activity-item.activity-legacy{background:#f0f5ed}
.activity-item.activity-empty{color:#687c6a;display:block}
#activity-form[hidden],#entry[hidden]{display:none}
@media(max-width:440px){.activity-item{grid-template-columns:1fr;gap:.3rem}.activity-item button{grid-column:1;grid-row:auto;justify-self:start}}

/* Private progress history */
.history-filter{background:#f0f6ef;border:1px solid #d5e5d4;border-radius:14px;padding:1rem;margin:1rem 0}.history-filter label{display:grid;gap:.35rem}.history-filter #history-custom:not([hidden]){margin-top:.8rem}#history-status{color:#4a6654;font-size:.95rem}#history-summary{margin:1rem 0}#recent{list-style:none;padding:0;display:grid;gap:.65rem}.history-day{border:1px solid #dce8da;border-radius:12px;background:#fff;padding:1rem;overflow-wrap:anywhere}.history-day p{margin:.35rem 0;font-size:.9rem;color:#4b6655}.history-day .history-session{padding:.45rem .6rem;border-left:3px solid #9dc4a2;background:#f3f8f1}#history-more{margin-top:.7rem}#history-custom[hidden]{display:none}

/* Goshen Health design system */
:root{--paper:#fff;--ink:#172B21;--green:#188038;--line:#dae5dd;--forest:#188038;--mint:#E6F4EA;--shadow:0 4px 18px #172b2109;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#F8FAF9}
body{background:#F8FAF9;color:#172B21;font-size:15px}h1,h2,h3,#onboarding>.setup-step legend{font-family:inherit;line-height:1.2;color:#172B21;font-weight:700;letter-spacing:-.035em}h2{font-size:clamp(1.55rem,4vw,2.1rem)}h3{font-size:1.1rem;letter-spacing:-.015em}
.health-header{background:white;color:#172B21;border-bottom:1px solid #dce7df;padding:.7rem 1rem;position:sticky;top:0;z-index:20}.brand-bar{max-width:1050px;display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin:auto}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;min-width:0;color:#172B21!important}.brand span{display:grid;gap:.12rem}.brand strong{font-size:1.12rem;letter-spacing:-.035em}.brand small{font-size:.72rem;color:#526C5C}.brand img{flex:none;border-radius:11px}.health-header .back-link{margin:0;display:flex;align-items:center;gap:.25rem;color:#42614c;font-size:.75rem;white-space:nowrap}
.ui-icon{width:22px;height:22px;flex:none;display:inline-block;vertical-align:middle}.health-header .ui-icon{width:13px;height:13px}main{max-width:1050px;padding:1rem 1rem 5rem}section{border-radius:18px;background:#fff;box-shadow:var(--shadow);border:1px solid #e0e9e2;padding:clamp(1rem,3vw,1.7rem)}#today,#checkin{margin:0}
#dashboard nav{position:sticky;top:72px;margin:0 0 1rem;padding:.45rem;border-radius:15px;background:#fff;border:1px solid #e2eae3;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.22rem;overflow:visible;backdrop-filter:none;z-index:12}
#dashboard nav button{min-width:0;border:0;border-radius:11px;background:#fff;color:#536b5c;box-shadow:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;font-weight:600;font-size:.75rem;padding:.55rem .2rem;white-space:nowrap}#dashboard nav button[aria-current]{color:#146b31;background:#E6F4EA;box-shadow:none}
#status:empty{display:none}#status:not(:empty){font-size:.88rem;background:#E6F4EA;padding:.65rem .9rem;border-radius:10px;margin:0 0 .75rem}.dashboard-heading{align-items:center}.eyebrow.dark{color:#55725e;letter-spacing:.09em}.soft-chip{border:0;background:#E6F4EA;color:#235c36}
.history-filter{background:#fff;border:0;padding:0;margin:.8rem 0}.history-filter>label{max-width:420px;font-size:.8rem}input,select,textarea{border:1px solid #d4e0d7;border-radius:10px;background:#fff;color:#172B21}button{background:#188038;border-radius:11px;font-weight:650}button.secondary{border-color:#dce8df;color:#196f35;background:#f2f8f3}
#history-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:1rem 0}#history-summary .stat{background:#fff;border:1px solid #e0e9e2;border-radius:14px;padding:.8rem .9rem;min-height:112px;display:grid;align-content:start;gap:.2rem}#history-summary .stat .ui-icon{color:#188038;width:19px;height:19px;margin-bottom:.28rem}#history-summary .stat span{font-size:.79rem;color:#55725e}#history-summary .stat strong{font-size:clamp(1.42rem,4vw,2rem);line-height:1.15;color:#172B21}#history-summary .stat small{font-size:.7rem;color:#627669;overflow-wrap:anywhere}
.primary-cta{width:100%;display:flex;align-items:center;justify-content:center;gap:.45rem;min-height:50px;margin:.1rem 0 1.25rem}.progress-panel{border-top:1px solid #e5ece7;padding:1rem 0}.progress-panel .section-heading{align-items:center;flex-wrap:nowrap;margin:0}.progress-panel select{width:auto;max-width:55%;font-size:.82rem}
#trend-chart{background:#f8faf9;border-radius:13px;min-height:70px;padding:.6rem;color:#627669;text-align:center}#trend-chart svg{width:100%;max-height:240px;display:block}#trend-details{font-size:.85rem;color:#45614d}#trend-bars label{font-weight:500;font-size:.8rem}#trend-bars meter{accent-color:#188038}
.journey-ring{--ring:0%;width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#188038 var(--ring),#dcebe0 0);flex:none;position:relative}.journey-ring:before{content:"";position:absolute;inset:8px;background:#fff;border-radius:50%}.journey-ring span{z-index:1;color:#235a36;font-size:.8rem;font-weight:700}.month-overview{display:flex;gap:.9rem;align-items:center;background:#f8faf9;border-color:#e0e9e2}.month-overview>div:last-child{flex:1;min-width:0}.journey-panel{border-top:1px solid #e5ece7;padding-top:.7rem}.tip-card{background:#f1f8f2;border:1px solid #e0e9e2;color:#345a40}
.record-date{max-width:350px}.checkin-menu{display:grid;gap:.55rem;margin:1rem 0}.checkin-menu button{width:100%;background:#fff;border:1px solid #e0e9e2;display:flex;align-items:center;text-align:left;gap:.8rem;padding:.75rem;color:#172B21;min-height:70px}.checkin-menu button[aria-pressed=true]{border-color:#188038;background:#f2f8f3}.checkin-icon{display:grid;place-items:center;width:43px;height:43px;flex:none;background:#E6F4EA;color:#188038;border-radius:11px}.checkin-menu button>span:nth-child(2){display:grid;gap:.15rem;flex:1}.checkin-menu strong{font-size:.93rem}.checkin-menu small{font-weight:400;color:#607667;font-size:.78rem}.checkin-menu button>.ui-icon{color:#657e6c;width:17px}.daily-checkin,.activity-tracker{background:#fff;border-color:#dce8df}.daily-checkin form label{margin:.65rem 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.goal-choice-grid span{font-size:1rem;min-height:92px}.goal-choice-grid strong{padding-right:12px}
@media(min-width:680px){#history-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.checkin-menu{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.health-header{position:static}.brand small{font-size:.64rem}.brand img{width:37px;height:37px}main{padding:.8rem .7rem calc(6.3rem + env(safe-area-inset-bottom))}#dashboard nav{position:fixed;bottom:0;top:auto;left:0;right:0;margin:0;padding:.45rem .25rem calc(.55rem + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;box-shadow:0 -5px 20px #172b2115;grid-template-columns:repeat(7,minmax(0,1fr));overflow-x:visible;gap:0}#dashboard nav button{font-size:clamp(.53rem,2.1vw,.7rem);gap:.2rem;padding:.45rem .05rem;min-height:52px}#dashboard nav .ui-icon{width:19px;height:19px}#today,#checkin{padding:.85rem}.dashboard-heading .soft-chip{display:none}.progress-panel select{max-width:50%}}
@media(max-width:340px){.brand small{display:none}.health-header .back-link{font-size:.65rem}#dashboard nav button{font-size:.49rem}}

/* Primary Goshen Health sign-in — same discreet design as the dashboard. */
#signin{max-width:470px;margin:clamp(24px,6vw,70px) auto;padding:27px;background:#fff;border:1px solid #e2ebe5;border-radius:24px;box-shadow:0 16px 45px rgba(22,60,33,.075)}
#signin h2{margin:0 0 9px;letter-spacing:-.035em}
#signin>p{color:#617567;line-height:1.6}
#health-signin{display:grid;gap:14px;margin:22px 0}
#health-signin label{display:grid;gap:7px;font-size:13px;font-weight:650;color:#375444}
#health-signin input{width:100%;border:1px solid #dce7df;border-radius:13px;min-height:48px;font:inherit;font-size:16px;padding:12px 14px;background:#fff;color:#183423}
#health-signin input:focus-visible{outline:3px solid #188038;outline-offset:2px}
#health-signin button{min-height:47px;border-radius:13px;font-weight:690;background:#188038;color:#fff}
#health-signin button:disabled{opacity:.6}
#health-signin-status{margin:0;min-height:15px;color:#7b463a}


/* Everyday wellness companion: calm, mobile-first, private, and actionable. */
.companion-intro p{margin:.2rem 0 1rem;color:#496458;max-width:67ch;line-height:1.65}
.companion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin-bottom:.85rem}
.companion-card{display:flex;flex-direction:column;gap:.7rem;padding:1.1rem;background:linear-gradient(155deg,#ffffff,#f7faf5);border:1px solid #d8e5da;border-radius:18px;min-width:0;box-shadow:0 4px 18px rgba(22,61,43,.035)}
.companion-number{font-size:.71rem;letter-spacing:.085em;font-weight:800;color:#417454;text-transform:uppercase}
.companion-card h3{font-size:1.12rem;line-height:1.3;margin:0;color:#173f32}
.companion-card p{font-size:.92rem;line-height:1.6;color:#3e5949;margin:0 0 .35rem;flex:1;overflow-wrap:anywhere}
.companion-card .companion-button{align-self:flex-start;background:#e7f2e8;color:#194837;border:1px solid #cce1ce;border-radius:11px;font-size:.84rem;min-height:43px;padding:.62rem .85rem}
.companion-card .companion-button:hover{background:#d8e9db}
.companion-card .companion-button:focus-visible{outline:3px solid #985b29;outline-offset:3px}
.companion-disclaimer{font-size:.78rem;line-height:1.55;color:#617568;margin:.3rem 0 1.2rem}
@media(max-width:750px){.companion-grid{grid-template-columns:1fr;gap:.7rem}.companion-card{padding:1rem}.companion-card p{margin-bottom:0}.companion-card .companion-button{width:100%}}

.health-legal-links{padding:0 1rem 2rem;max-width:850px;margin:0 auto;color:#526b5b;font-size:.85rem;text-align:center}.health-legal-links a{color:#276742}.health-legal-links a:hover{text-decoration:underline}
#health-signup-panel{margin:1rem 0;padding:1.2rem;border:1px solid #d6e5d6;background:#f7faf6;border-radius:14px}#health-signup-panel h3{margin:.2rem 0}.brand-bar .brand strong{letter-spacing:-.035em}
