/* Nutrition, Progrès, Coach — Alpine/Pico desktop and iPhone references, 7–8 Oct. */
body:is([data-view=nutrition],[data-view=progress],[data-view=coach]){--page:#f4f9fd;--ink:#080c26;--muted:#5b7197;--blue:#0866ff;--wellness-surface:#fffffff2;--wellness-soft:#eaf3ff;--wellness-line:#e4edf8;--wellness-gold:#b8872a;--today-blue:var(--blue);--today-soft:var(--wellness-soft);--today-surface:var(--wellness-surface);--today-border:var(--wellness-line);--shell-width:1280px;--shell-gutter:30px;background:var(--page);color:var(--ink);font-family:TodayJakarta,'Plus Jakarta Sans',sans-serif}

body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) main{max-width:1320px;padding:24px 30px 42px;margin:0 auto}
.wellness-heading{display:block;position:static;padding:0;border:0;background:none;min-height:0;margin:0 12px 24px;max-width:none}.wellness-heading h1{font-size:46px;line-height:1.12;letter-spacing:-1.9px;font-weight:800;margin:5px 0 8px;color:var(--ink)}.wellness-heading>p{font-size:20px;color:var(--muted);margin:0;line-height:1.5}.wellness-heading>.wellness-date{font-size:15px;line-height:24px;margin-bottom:4px;text-transform:capitalize}
.wellness-icon{display:inline-block;width:23px;height:23px;flex-shrink:0;background:currentColor;mask:var(--wellness-icon) center/contain no-repeat;vertical-align:middle}.wellness-card{background:var(--wellness-surface);border:1px solid #ffffffb3;border-radius:17px;padding:23px 26px;min-width:0;box-shadow:0 7px 30px #397db504}.wellness-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.wellness-card-head h2{display:flex;align-items:center;gap:12px;min-width:0;margin:0;font-size:18px;font-weight:750;letter-spacing:-.5px;line-height:1.4}.wellness-card-head h2>.wellness-icon{color:var(--blue);width:25px;height:25px}.wellness-card h3{margin:0;font-size:22px;letter-spacing:-.6px}.wellness-card p{line-height:1.5}.wellness-card .help,.wellness-footnote{font-size:12px;color:var(--muted);line-height:1.55}.wellness-footnote{margin:12px 0 0}.wellness-button,.wellness-link{font:600 14px/1.35 TodayJakarta,'Plus Jakarta Sans',sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border-radius:13px;padding:10px 16px;text-decoration:none;transition:background .18s ease,transform .18s ease,box-shadow .18s ease;color:var(--blue);cursor:pointer}.wellness-button.is-quiet{background:var(--wellness-soft);border:1px solid transparent}.wellness-button.is-primary{background:var(--blue);color:#fff;border:1px solid #ffffff30}.wellness-button:hover{transform:translateY(-1px);box-shadow:0 5px 15px #0866ff14}.wellness-button:active{transform:translateY(0)}.wellness-button:disabled{opacity:.55;cursor:wait;transform:none}.wellness-link{padding:4px 0;font-weight:500;text-align:left}.wellness-link:hover{text-decoration:underline}.wellness-button.icon-only{width:44px;height:44px;padding:10px;border-radius:50%;background:transparent}.icon-only>span:not(.wellness-icon){position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.wellness-empty{padding:30px 12px;text-align:center;color:var(--muted)}.wellness-empty h3{font-size:20px;color:var(--ink)}.wellness-empty p,.wellness-empty-copy{font-size:14px;color:var(--muted);line-height:1.6}.wellness-loading{min-height:260px;padding:45px 20px;background:var(--wellness-surface);border-radius:17px;color:var(--muted)}.wellness-disclosure{margin:22px 0 0;padding:0 22px;background:var(--wellness-surface);border:1px solid var(--wellness-line);border-radius:15px}.wellness-disclosure>summary{padding:17px 0;min-height:54px;cursor:pointer;color:var(--muted);font-size:14px;font-weight:600}.wellness-disclosure[open]{padding-bottom:20px}.wellness-disclosure[open]>summary{color:var(--blue)}
.coach-brief-message .card>.coach-brief-retry{display:inline-flex}
/* Date selection and accurate nutrient totals. */
.nutrition-datebar{display:flex;align-items:center;gap:4px;margin-left:-13px;margin-bottom:2px;width:max-content;max-width:100%}.nutrition-datebar>div label,.nutrition-status label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.nutrition-datebar input{border:0;background:transparent;width:180px;padding:6px;color:var(--muted);font:600 15px/1.3 inherit;min-height:40px;text-align:center}.nutrition-summary{margin-bottom:20px}.nutrition-summary .wellness-card-head{margin-bottom:2px}.nutrition-summary .wellness-card-head h2{color:var(--muted);font-size:15px}.nutrition-kcal{margin:0 0 7px;display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;letter-spacing:-1px}.nutrition-kcal strong{color:var(--ink);font-size:40px;line-height:1.25;font-weight:800}.nutrition-kcal>span{font-size:25px;font-weight:650;color:var(--muted)}.nutrition-summary progress{appearance:none;border:0;border-radius:20px;width:100%;height:13px;display:block;overflow:hidden;background:#e7edf5;color:var(--blue)}.nutrition-summary progress::-webkit-progress-bar{background:#e7edf5;border-radius:20px}.nutrition-summary progress::-webkit-progress-value{background:var(--blue);border-radius:20px;transition:width .3s ease}.nutrition-summary progress::-moz-progress-bar{background:var(--blue);border-radius:20px}.nutrition-macros{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:22px}.wellness-macro{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;position:relative;padding-right:10px}.wellness-macro+.wellness-macro:before{content:'';position:absolute;left:-13px;top:0;bottom:0;width:1px;background:var(--wellness-line)}.wellness-macro>div{grid-column:1 / -1;color:var(--muted);font-size:13px}.wellness-macro p{margin:0;color:var(--muted);font-size:15px}.wellness-macro strong{color:var(--ink);font-size:18px}.wellness-macro small{font-size:12px;color:var(--muted);align-self:center}.wellness-macro progress{height:10px;align-self:center}.wellness-macro.gold progress::-webkit-progress-value{background:#c39438}.wellness-macro.gold progress::-moz-progress-bar{background:#c39438}.wellness-macro.mint progress::-webkit-progress-value{background:#42b69d}.wellness-macro.mint progress::-moz-progress-bar{background:#42b69d}
.nutrition-dashboard{display:grid;grid-template-columns:1.45fr 1fr;gap:20px;align-items:start}.nutrition-journal .wellness-card-head{margin-bottom:10px}.nutrition-status select{width:auto;max-width:180px;min-height:35px;font-size:11px;border:0;border-radius:22px;color:#a66e1d;background:#fff4e3;padding:7px 24px 7px 11px}.nutrition-meal-row{margin:0;border-bottom:1px solid var(--wellness-line)}.nutrition-meal-row>summary{display:flex;align-items:center;gap:14px;cursor:pointer;min-height:68px;padding:7px 0;list-style:none;font-weight:400}.nutrition-meal-row>summary::-webkit-details-marker{display:none}.nutrition-meal-row>summary>.wellness-icon{width:16px;height:16px;color:var(--muted);transition:transform .2s}.nutrition-meal-row[open]>summary>.wellness-icon{transform:rotate(90deg)}.nutrition-thumb{width:66px;height:52px;flex-shrink:0;display:grid;place-items:center;background:var(--wellness-soft);color:var(--muted);border-radius:10px;overflow:hidden}.nutrition-thumb img{width:100%;height:100%;object-fit:cover}.nutrition-meal-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;font-size:14px}.nutrition-meal-copy>small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:12px}.nutrition-meal-row summary>b{font-weight:650;font-size:13px;white-space:nowrap}.nutrition-meal-content{padding:6px 0 16px 80px;animation:wellness-reveal .2s ease}.nutrition-meal-content .wellness-button{font-size:11px;padding:7px 11px}.nutrition-empty-meal{display:flex;width:100%;background:transparent!important;border:0!important;justify-content:flex-start;min-height:63px;padding:7px 0;font-weight:400;color:var(--ink);box-shadow:none!important}.nutrition-empty-meal>.wellness-icon:first-of-type{width:66px;height:32px;color:#8195b4}.nutrition-empty-meal>span:not(.wellness-icon):empty{display:none}.nutrition-empty-meal>span:not(.wellness-icon){display:flex;flex-direction:column;align-items:flex-start;gap:4px;flex:1;min-width:0}.nutrition-empty-meal strong{font-size:14px}.nutrition-empty-meal small{font-size:12px;color:var(--muted)}.nutrition-empty-meal>.wellness-icon:last-child{width:16px;height:16px;color:var(--muted)}.nutrition-add{width:100%;margin-top:13px;min-height:52px;font-size:15px}.nutrition-shortcuts{padding:23px 22px}.nutrition-shortcuts h2>.wellness-icon{color:var(--wellness-gold)}.nutrition-shortcuts .wellness-card-head>.wellness-button{padding:0;background:none;min-height:36px;font-weight:500}.nutrition-favorite-row{width:100%;justify-content:flex-start;gap:12px;margin:0 0 7px;padding:8px;background:transparent!important;border:1px solid var(--wellness-line)!important;box-shadow:none!important;text-align:left;min-height:62px}.nutrition-favorite-row>span:not(.wellness-icon):empty{display:none}.nutrition-favorite-row>img{width:60px;height:49px;object-fit:cover;border-radius:9px}.nutrition-favorite-row>strong{color:var(--ink);flex:1;font-size:14px}.nutrition-favorite-row>.wellness-icon:last-child{width:27px;height:27px}.nutrition-quick{padding-top:17px;border-top:1px solid var(--wellness-line);margin-top:20px}.nutrition-quick h2{font-size:14px}.nutrition-quick h2>.wellness-icon{color:var(--blue);width:20px;height:20px}.nutrition-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.nutrition-shortcut{display:flex;flex-direction:column;gap:7px;padding:12px 3px!important;min-height:91px;background:transparent!important;border:1px solid var(--wellness-line)!important;border-radius:12px;color:var(--blue)}.nutrition-shortcut>span:not(.wellness-icon):empty{display:none}.nutrition-shortcut strong{color:var(--ink);font-size:11px;font-weight:600}.nutrition-shortcut small{font-size:9px;color:var(--muted);font-weight:400}.nutrition-shortcut .wellness-icon{width:23px;height:23px}
/* The established food editor remains fully functional inside an accessible modal. */
.wellness-dialog{position:fixed;inset:0;width:min(980px,calc(100% - 40px));max-height:calc(100dvh - 64px);margin:auto;padding:24px;border:1px solid var(--wellness-line);border-radius:22px;background:var(--page);color:var(--ink);overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 90px #152e6240;animation:wellness-reveal .22s ease}.wellness-dialog::backdrop{background:#13264166;backdrop-filter:blur(5px)}.wellness-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:-24px;padding:10px 0;background:var(--page);z-index:2}.wellness-dialog-head h2{margin:0;font-size:23px;letter-spacing:-.8px}.nutrition-composer .card,.nutrition-library .nutrition-details{border-color:var(--wellness-line);background:var(--wellness-surface);box-shadow:none}.nutrition-composer .card>h2{display:none}.nutrition-composer .nutrition-grid{margin:10px 0;grid-template-columns:1.45fr 1fr}.nutrition-composer .food-choice{background:var(--wellness-soft);color:var(--ink);border-radius:10px;font-size:14px}.nutrition-composer .actions{gap:7px}.nutrition-composer .actions button{border-radius:12px;padding:10px 12px;font-size:12px;min-height:42px}.nutrition-composer .nutrition-details,.nutrition-library .nutrition-details{padding:14px;border-radius:12px}.nutrition-composer input,.nutrition-composer select,.nutrition-library input,.nutrition-library select{border-color:var(--wellness-line);border-radius:10px;min-height:44px;background:var(--wellness-surface);color:var(--ink)}.nutrition-composer label,.nutrition-library label{font-size:12px;color:var(--muted)}.nutrition-composer .nutrition-preview{background:var(--wellness-soft);color:var(--ink);font-size:14px}.nutrition-composer button{font-size:13px;border-radius:11px}.nutrition-composer .meal-item{border-color:var(--wellness-line)}.nutrition-composer .nutrition-entry{margin-top:16px}
/* Performance overview, with the full analysis available below. */
.wellness-segments{display:flex;gap:4px;width:max-content;max-width:100%;padding:4px;background:var(--wellness-surface);border:1px solid var(--wellness-line);border-radius:28px;margin:0 12px 23px}.wellness-segments .wellness-button{min-height:36px;border:0;background:transparent;padding:8px 21px;font-size:13px;color:var(--muted);border-radius:24px;box-shadow:none}.wellness-segments button[aria-pressed=true]{color:#fff;background:var(--blue);box-shadow:0 3px 10px #0866ff18}.progress-overview{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(260px,1fr);gap:20px}.progress-performance .wellness-card-head{margin-bottom:24px}.progress-performance h2{flex:1}.progress-performance select{font:750 22px/1.3 TodayJakarta,sans-serif;max-width:100%;min-width:0;width:100%;border:0;background-color:transparent;color:var(--ink);padding:6px 28px 6px 0;white-space:normal}.progress-performance-body{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.5fr);align-items:center;gap:12px;min-height:245px}.progress-performance-copy>p:first-child{font-size:17px;margin:0 0 6px;color:var(--muted)}.progress-big{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:38px;letter-spacing:-1.6px;font-weight:800}.progress-big .wellness-icon{width:30px;height:30px;color:var(--blue)}.progress-big>span:last-child{font-size:25px;letter-spacing:-.8px}.wellness-chart{min-width:0;width:100%}.wellness-chart canvas{display:block;width:100%;max-width:100%}.wellness-chart-values{margin:0;text-align:right;color:var(--muted);font-size:10px}.wellness-chart-values summary{min-height:24px;cursor:pointer}.wellness-chart-values dl{display:grid;grid-template-columns:1fr auto;gap:4px;text-align:left;padding:10px;font-size:11px}.wellness-chart-values dd{margin:0}.progress-performance>.wellness-footnote{text-align:center;margin:6px 0 0;font-size:12px}.progress-weight-value{font-size:34px;font-weight:800;letter-spacing:-1px;margin:20px 0 0}.progress-weight .help{margin:5px 0 16px}.progress-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--wellness-line);border-radius:11px;padding:9px 13px;min-height:54px;font-size:13px;margin:5px 0}.progress-history-row strong{margin-left:auto}.progress-history-row .wellness-link{font-size:0;min-width:32px;min-height:32px}.progress-history-row .wellness-link>.wellness-icon{width:17px;height:17px}.progress-measurements>p{font-size:14px;color:var(--muted);margin:22px 0 15px}.progress-measurements>.wellness-link{padding:8px 16px;background:var(--wellness-soft);border-radius:13px}.progress-measurements details{font-size:12px;color:var(--muted)}.progress-advanced .card{border-color:var(--wellness-line);background:var(--wellness-surface);margin:16px 0}.progress-advanced .feature-scroll{font-size:12px}.progress-advanced input,.progress-advanced select{max-width:100%}
/* A conversation at the centre, program and memory as supporting context. */
body[data-view=coach] .wellness-heading{margin-bottom:12px}.coach-greeting{display:flex;align-items:center;gap:20px;margin:0 12px 20px}.coach-greeting>img{width:86px;height:86px;object-fit:contain}.coach-greeting h2{font-size:20px;font-weight:750;letter-spacing:-.6px;margin:0 0 3px}.coach-greeting p{font-size:18px;color:var(--muted);margin:0;line-height:1.5}.coach-workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:20px;align-items:start}.coach-conversation{background:var(--wellness-surface);border:1px solid #ffffffb3;border-radius:17px;padding:22px;min-width:0}.coach-sidebar{display:grid;gap:17px}.coach-chat{background:transparent;border:0;box-shadow:none;padding:0}.coach-chat>.wellness-card-head{display:none}.coach-brief-message>.card{border:0;box-shadow:none;background:var(--wellness-soft);border-radius:16px;padding:19px 22px;margin:0 0 20px 55px;position:relative}.coach-brief-message>.card:before{content:'';position:absolute;width:44px;height:50px;left:-55px;top:16px;background:url('./media/wellness/pico.webp') center/contain no-repeat}.coach-brief-message h2{font-size:13px;color:var(--blue);margin:0 0 10px}.coach-brief-message .card>p:first-of-type{font-size:16px;line-height:1.65;margin:0 0 10px;color:var(--ink)}.coach-brief-message .help{font-size:11px;color:var(--muted)}.coach-brief-message .card>button{display:none}.coach-brief-message details{font-size:12px;color:var(--muted)}.coach-brief-message details summary{min-height:40px;color:var(--blue)}.coach-thread{font-size:15px;line-height:1.65}.coach-user-message{margin:15px 0 15px auto;max-width:87%;width:fit-content;background:var(--wellness-soft);padding:13px 18px;border-radius:16px 16px 3px 16px;color:var(--ink);overflow-wrap:anywhere}.coach-assistant-message{background:var(--wellness-soft);margin:12px 0 20px 32px;padding:17px 20px;border-radius:16px 16px 16px 3px}.coach-thread>p:not(.coach-user-message):not(.coach-thinking){margin:8px 0;padding-left:14px}.coach-thread .help,.coach-thread details{font-size:12px;color:var(--muted)}.coach-thread details summary{color:var(--blue)}.coach-thinking{font-size:13px;color:var(--muted);animation:wellness-pulse 1s ease infinite alternate}.coach-suggestions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.coach-suggestions .wellness-button{border-radius:24px;font-size:13px;flex:1;white-space:nowrap}.coach-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:16px 0!important;padding:10px;background:var(--wellness-surface);border:1px solid var(--wellness-line);border-radius:19px}.coach-compose>div:first-child{grid-column:1 / -1;display:flex;align-items:center;gap:10px;padding:0 6px}.coach-compose>div:first-child label{font-size:11px;color:var(--muted);margin:0;white-space:nowrap}.coach-compose>div:first-child select{border:0;font-size:12px;min-height:32px;width:100%;padding:4px 24px 4px 4px;background-color:transparent;color:var(--muted)}.coach-compose>div:nth-child(2){min-width:0}.coach-compose>div:nth-child(2) label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.coach-compose input{border:0;padding:11px 9px;background:transparent;min-height:47px;width:100%;color:var(--ink);font-family:inherit;font-size:15px;font-weight:400;line-height:1.4}.coach-compose button{min-height:47px;align-self:end;border-radius:14px;font-size:13px;max-width:160px}.coach-compose button[hidden]{display:none}.coach-chat>.help{font-size:11px;color:var(--muted);line-height:1.6}.coach-program h3{font-size:27px;margin:5px 0 0}.coach-program .wellness-link{font-size:12px}.coach-program ol{list-style:none;padding:0;margin:18px 0 8px}.coach-program li{display:flex;gap:11px;align-items:center;min-height:39px;border-bottom:1px solid var(--wellness-line);font-size:12px;line-height:1.4}.coach-exercise-number{width:24px;height:24px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;color:var(--blue);background:var(--wellness-soft);font-weight:700}.coach-program li>span:nth-child(2){flex:1}.coach-program li>small{font-size:11px;color:var(--muted);white-space:nowrap}.coach-program>.wellness-link{border-top:1px solid var(--wellness-line);display:flex;justify-content:flex-start;padding-top:12px}.coach-week-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 0}.coach-week-stats>div{display:flex;flex-direction:column;gap:5px}.coach-week-stats strong{font-size:21px;font-weight:800}.coach-week-stats small{font-size:10px;color:var(--muted);line-height:1.4}.coach-memory-link>p{font-size:13px;color:var(--muted)}.coach-tools{font-size:12px;margin:18px 0 0;padding-inline:16px}.coach-tools input,.coach-tools select{max-width:100%;font-size:13px}.coach-program-tools>.card{box-shadow:none;border:0;background:transparent}.coach-tools summary{overflow-wrap:anywhere}
@keyframes wellness-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes wellness-pulse{from{opacity:.5}to{opacity:1}}
body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) main>.wellness-heading,body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) main>.wellness-card,.nutrition-dashboard,.progress-overview,.coach-workspace{animation:wellness-reveal .28s ease both}
:root[data-today-theme=dark] body:is([data-view=nutrition],[data-view=progress],[data-view=coach]){--page:#101b2e;--ink:#eef4ff;--muted:#abbcd6;--blue:#6da9ff;--wellness-surface:#17253bed;--wellness-soft:#213551;--wellness-line:#30405a;--wellness-gold:#ddb36a}
:root[data-today-theme=dark] .wellness-card,:root[data-today-theme=dark] .coach-conversation{border-color:var(--wellness-line)}:root[data-today-theme=dark] .wellness-button.is-primary{background:#0866ff;color:#fff}:root[data-today-theme=dark] .nutrition-status select{background:#453823;color:#f1cd8c}:root[data-today-theme=dark] .nutrition-summary progress,:root[data-today-theme=dark] .nutrition-summary progress::-webkit-progress-bar{background:#30405a}
@media(min-width:761px) and (max-width:1100px){.progress-performance-body{grid-template-columns:1fr}.progress-performance-copy{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.progress-performance-copy>.help{display:none}.progress-big{font-size:30px}.nutrition-dashboard{grid-template-columns:1.3fr 1fr}.nutrition-shortcuts{padding:20px 16px}.nutrition-quick-grid{grid-template-columns:repeat(2,1fr)}.coach-workspace{grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr)}.coach-compose button{max-width:130px;font-size:11px}}
@media(max-width:760px){body:is([data-view=nutrition],[data-view=progress],[data-view=coach]){--shell-gutter:16px}body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) main{padding:15px 12px calc(28px + var(--bottom-nav-space,80px))}
.wellness-heading{margin:0 7px 18px}.wellness-heading h1{font-size:32px;letter-spacing:-1.1px;line-height:1.15}.wellness-heading>p{font-size:14px;line-height:1.5}.wellness-heading>.wellness-date{font-size:12px;line-height:20px}.wellness-card{padding:18px 17px;border-radius:15px}.wellness-card-head{gap:8px;margin-bottom:12px}.wellness-card-head h2{font-size:15px;gap:9px;letter-spacing:-.4px}.wellness-card-head h2>.wellness-icon{width:22px;height:22px}.nutrition-datebar{width:100%;justify-content:space-between;margin:0 0 6px}.nutrition-datebar>div{flex:1}.nutrition-datebar input{width:100%;font-size:13px;min-height:32px}.nutrition-datebar .icon-only{width:38px;height:38px;min-height:38px;padding:7px}.nutrition-summary{margin-bottom:16px;padding:16px 17px}.nutrition-kcal strong{font-size:32px}.nutrition-kcal>span{font-size:20px}.nutrition-summary>progress{height:11px}.nutrition-macros{display:flex;flex-direction:column;gap:14px;margin-top:19px}.wellness-macro{grid-template-columns:94px minmax(0,1fr) 39px;align-items:center;gap:8px;padding:0}.wellness-macro>div{grid-column:auto;font-size:12px}.wellness-macro>div>p{font-size:12px;white-space:nowrap}.wellness-macro strong{font-size:15px}.wellness-macro small{font-size:10px;text-align:right}.wellness-macro progress{height:9px}.wellness-macro+.wellness-macro:before{display:none}.nutrition-dashboard{grid-template-columns:1fr;gap:13px}.nutrition-journal .wellness-card-head{flex-wrap:wrap;gap:6px}.nutrition-status select{font-size:9px;max-width:156px;min-height:32px}.nutrition-meal-row>summary{min-height:64px;gap:10px}.nutrition-thumb{width:50px;height:46px;border-radius:8px}.nutrition-meal-copy{font-size:13px;gap:4px}.nutrition-meal-copy small{font-size:10px}.nutrition-meal-row summary>b{font-size:11px}.nutrition-meal-content{padding-left:0}.nutrition-empty-meal{min-height:58px;gap:10px}.nutrition-empty-meal>.wellness-icon:first-of-type{width:50px;height:27px}.nutrition-empty-meal strong{font-size:12px}.nutrition-empty-meal small{font-size:11px}.nutrition-add{min-height:48px;font-size:14px}.nutrition-shortcuts{padding:16px 17px}.nutrition-shortcuts>.wellness-card-head,.nutrition-shortcuts>.nutrition-favorite-row,.nutrition-shortcuts>.wellness-empty-copy{display:none}.nutrition-quick{border:0;padding-top:0;margin-top:0}.nutrition-quick-grid{gap:7px}.nutrition-shortcut{min-height:75px;padding-block:10px!important}.nutrition-shortcut small{display:none}.nutrition-shortcut strong{font-size:10px}.nutrition-shortcut .wellness-icon{width:23px;height:23px}.nutrition-library{margin-top:15px}.wellness-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 24px);padding:15px;border-radius:19px}.wellness-dialog-head{top:-15px;padding:8px 0}.wellness-dialog-head h2{font-size:21px}.nutrition-composer .nutrition-grid{grid-template-columns:1fr;gap:13px}.nutrition-composer .card{padding:16px}.nutrition-composer .nutrition-side{gap:10px}.nutrition-composer .nutrition-grid .fields{grid-template-columns:1fr 1fr}.nutrition-composer .food-search .fields,.nutrition-composer .personal-food-form .fields{grid-template-columns:1fr}.wellness-segments{width:calc(100% - 10px);margin:0 5px 16px;gap:2px}.wellness-segments .wellness-button{flex:1;padding:8px 10px;min-height:36px;font-size:11px;white-space:nowrap}.progress-overview{grid-template-columns:1fr;gap:15px}.progress-performance .wellness-card-head{margin-bottom:12px}.progress-performance select{font-size:19px;padding-right:24px}.progress-performance-body{grid-template-columns:1fr;gap:1px;min-height:0}.progress-performance-copy>p:first-child{font-size:15px;margin-bottom:5px}.progress-big{font-size:33px;gap:9px}.progress-big>span:last-child{font-size:25px}.progress-performance-copy>.help{margin:3px 0;font-size:12px}.progress-performance>.wellness-footnote{font-size:10px;line-height:1.5;text-align:left}.progress-weight-value{font-size:30px;margin:3px 0}.progress-weight .help{font-size:11px;margin-bottom:8px}.progress-history-row{font-size:11px;padding:7px 9px;gap:7px}.progress-history-row .wellness-link{min-width:25px}.progress-history .wellness-card-head h2{font-size:14px}.progress-measurements>p{margin:10px 0}.wellness-disclosure{padding-inline:15px}.wellness-disclosure>summary{font-size:12px}.coach-greeting{gap:13px;margin:0 6px 19px}.coach-greeting>img{width:68px;height:73px}.coach-greeting h2{font-size:16px;letter-spacing:-.4px}.coach-greeting p{font-size:14px;line-height:1.5;max-width:230px}.coach-workspace{grid-template-columns:1fr;gap:16px}.coach-conversation{padding:16px 13px;border-radius:16px}.coach-brief-message>.card{margin:0 0 12px 38px;padding:15px}.coach-brief-message>.card:before{width:34px;height:40px;left:-41px;top:12px}.coach-brief-message .card>p:first-of-type{font-size:14px;line-height:1.65}.coach-brief-message h2{font-size:12px}.coach-brief-message details{font-size:11px}.coach-suggestions{gap:7px;margin:17px 0}.coach-suggestions .wellness-button{font-size:11px;padding:10px 9px;gap:6px;min-height:44px}.coach-suggestions .wellness-icon{width:19px;height:19px}.coach-compose{padding:8px;gap:5px;border-radius:17px}.coach-compose input{font-size:13px;padding:10px 5px;min-height:44px}.coach-compose button{max-width:113px;font-size:11px;padding:9px 11px;min-height:44px}.coach-compose .wellness-icon{width:18px;height:18px}.coach-compose>div:first-child{gap:5px}.coach-compose>div:first-child label{font-size:9px}.coach-compose>div:first-child select{font-size:11px}.coach-chat>.help{font-size:10px}.coach-sidebar{gap:13px}.coach-program h3{font-size:23px}.coach-program-tools{margin-top:16px}.coach-user-message{font-size:13px;padding:12px 15px}.coach-assistant-message{padding:13px 15px;margin-left:18px;font-size:13px}.coach-tools{padding-inline:12px}.coach-tools .feature-json{font-size:10px}}
@media(prefers-reduced-motion:reduce){.wellness-button,.nutrition-meal-row summary>.wellness-icon,.nutrition-summary progress::-webkit-progress-value{transition:none!important}.wellness-dialog,.nutrition-meal-content,.coach-thinking,body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) main>*{animation:none!important}}

/* Keep the primary actions within a normal laptop viewport. */
@media(min-width:761px){body[data-view=nutrition] main{padding-top:18px}.nutrition-summary{padding:18px 26px}.nutrition-summary .nutrition-macros{margin-top:18px}body[data-view=nutrition] .wellness-heading{margin-bottom:18px}.nutrition-journal{padding:20px 26px}.nutrition-journal .wellness-card-head{margin-bottom:8px}.nutrition-meal-row>summary{min-height:60px}.progress-performance .wellness-card-head{margin-bottom:16px}.progress-performance-body{min-height:220px}}
.progress-weight-value{color:var(--ink)}.coach-action-summary{background:#f7e9cc70;border-radius:12px;padding:13px 15px;color:var(--ink);font-size:14px}.coach-reasons>summary{display:inline-flex;align-items:center;color:var(--blue);font-size:12px;font-weight:600;min-height:42px;cursor:pointer}.coach-reasons[open]{padding-bottom:10px}.coach-brief-message .card>.help:last-of-type{font-size:10px;line-height:1.5}.coach-greeting h2{color:var(--ink)}

.coach-compose button{width:48px;height:48px;min-height:48px;border-radius:50%;font-size:0;padding:12px;flex-shrink:0}.coach-compose button .wellness-icon{width:24px;height:24px}.coach-mode-hint{font-size:11px!important;margin:6px 5px 12px!important}.coach-program .help{margin:5px 0}.coach-program ol{margin-top:12px}.coach-program li{min-height:34px}.coach-program .wellness-card-head{margin-bottom:10px}

@media(max-width:760px){
.coach-compose{position:sticky;bottom:calc(73px + env(safe-area-inset-bottom));z-index:2}.coach-brief-message>.card{padding-block:13px}.coach-brief-message .coach-action-summary{padding:10px 12px;font-size:12px}.progress-workout-link{display:flex;justify-content:flex-start;border-bottom:1px solid var(--wellness-line);font-size:12px}}
.progress-workout-link{display:flex;justify-content:flex-start;gap:12px;overflow-wrap:anywhere}

/* Comfortable date targets, including small screens. */
.nutrition-datebar .icon-only{min-width:44px;min-height:44px}.nutrition-status select{min-height:44px}

@media(min-width:761px){.nutrition-summary{padding-block:16px}.nutrition-journal{padding-bottom:16px}.nutrition-journal .nutrition-empty-meal{min-height:58px}}
/* Match the compact mobile journal while keeping 44 px form targets. */
@media(max-width:760px){body[data-view=nutrition] main{padding-top:0}body[data-view=nutrition] .wellness-heading{margin-bottom:14px}.nutrition-macros{gap:8px;margin-top:16px}.nutrition-summary{padding-block:14px}.nutrition-journal{padding-block:14px}.nutrition-journal .wellness-card-head{flex-wrap:nowrap;gap:6px;margin-bottom:6px}.nutrition-journal .wellness-card-head h2{font-size:13px;gap:6px;letter-spacing:-.45px;white-space:nowrap}.nutrition-journal .wellness-card-head h2>.wellness-icon{width:18px;height:18px}.nutrition-status select{font-size:9px;width:120px;max-width:120px;padding-inline:8px 18px}.nutrition-meal-row>summary{min-height:58px;padding-block:6px}.nutrition-empty-meal{min-height:54px}.nutrition-summary .wellness-card-head{margin-bottom:2px}.nutrition-datebar input{font-family:inherit;font-weight:600;font-size:13px}.nutrition-add{margin-top:9px}}
@media(max-width:760px){body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) .app-header{padding-top:6px}body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) .app-header-inner{min-height:48px}body[data-view=nutrition] .wellness-heading{margin-bottom:10px}.wellness-macro>div,.wellness-macro>div>p{line-height:1.3}.nutrition-meal-row>summary{min-height:52px;padding-block:3px}.nutrition-journal .wellness-card-head{margin-bottom:3px}}
.wellness-chart-values>summary{padding:0;line-height:24px;min-height:24px}.progress-weight-value{margin-top:5px;line-height:1.2}.progress-weight .help{margin-bottom:10px}
@media(min-width:761px){body[data-view=progress] main{padding-top:12px}.progress-overview>.wellness-card{padding-block:20px}.progress-performance-body{min-height:200px}.progress-performance .wellness-card-head{margin-bottom:10px}}
.coach-conversation .coach-chat{padding:0}.coach-reasons{margin:10px 0 0}.coach-reasons>summary{padding:0;min-height:40px;line-height:1.4}
@media(max-width:760px){.coach-compose{position:relative;bottom:auto}.coach-suggestions{flex-wrap:nowrap}.coach-suggestions .wellness-button{min-width:0;padding-inline:7px;font-size:10px}.coach-suggestions .wellness-icon{width:17px;height:17px}.coach-brief-message .help{margin-block:7px}.coach-brief-message .coach-action-summary{margin-block:8px}}
@media(min-width:761px){body[data-view=progress] main{padding-top:6px}body[data-view=progress] .wellness-heading{margin-bottom:18px}body[data-view=progress] .wellness-segments{margin-bottom:19px}}
@media(max-width:760px){body[data-view=progress] .wellness-heading>p:not(.wellness-date){font-size:12px}body[data-view=progress] .wellness-heading{margin-bottom:12px}body[data-view=progress] .wellness-segments{margin-bottom:12px}}
@media(min-width:761px){.nutrition-journal .nutrition-meal-row>summary{padding-block:3px}}
@media(max-width:760px){.progress-performance{padding:14px}.progress-performance select{min-height:44px}.progress-performance-copy>.help{display:none}.progress-weight{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:8px}.progress-weight>.wellness-card-head,.progress-weight>.wellness-chart{grid-column:1/-1}.progress-weight>.help{margin:0;text-align:right;font-size:10px;line-height:1.4}.progress-weight .wellness-chart{margin-top:8px}}
:root[data-today-theme=dark] body:is([data-view=nutrition],[data-view=progress],[data-view=coach]){color-scheme:dark;--nav-glass:#091e2e80;--nav-glass-hi:#16344cbf;--nav-edge:#ffffff17;--nav-hair:#ffffff12;--nav-link:#6aa6ff;--nav-shadow:0 30px 80px -30px #00000099;--nav-inset:inset 0 1px 0 #ffffff0f}
:root[data-today-theme=dark] body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) .profile-dropdown{background:#17253b;border-color:#30405a}:root[data-today-theme=dark] body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) .profile-menu-heading{border-color:#30405a}:root[data-today-theme=dark] body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) .profile-dropdown :is(a,button):hover{background:#213551}:root[data-today-theme=dark] .coach-action-summary{background:#453823;color:#f1cd8c}
.progress-performance select{white-space:nowrap;text-overflow:ellipsis}
:root[data-today-theme=dark] body:is([data-view=nutrition],[data-view=progress],[data-view=coach]) .profile-dropdown .profile-logout{color:#ffaaa3}
