@font-face{font-family:HealthGoogle;src:url(./fonts/google-sans-flex-latin-1.woff2);font-weight:100 900;font-display:swap}@font-face{font-family:HealthAnthropic;src:url(./fonts/anthropic-sans.woff2);font-weight:300 800;font-display:swap}@font-face{font-family:HealthEditorial;src:url(./fonts/anthropic-serif.woff2);font-weight:300 800;font-display:swap}
*{box-sizing:border-box}body{--bg:#f7f6f2;--surface:#fff;--ink:#20342e;--muted:#60746b;--line:#dce4df;--accent:#168b80;--sleep:#eee5fa;--activity:#e4f4eb;--steps:#ddf3f0;--food:#fff3dc;--heart:#f9e8ee;--energy:#e5effa;--radius:25px;margin:0;background:var(--bg);color:var(--ink);font:14px/1.45 HealthGoogle,'PingFang SC',Arial,sans-serif;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}button,select,input{font:inherit;color:inherit}button,select{cursor:pointer}button{background:transparent;border:0}button:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:25px;font-weight:600}h2{font-size:16px;font-weight:600}h3{font-size:14px}main{max-width:1840px;padding:0 24px 18px;margin:auto}.app-head{max-width:1840px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 26px 12px}.head-left{display:flex;align-items:center;gap:14px}.mark{color:var(--accent);font-size:25px}.brands{display:flex;gap:3px}.brands button{font-size:12px;padding:6px 10px;border-radius:6px;color:var(--muted)}.brands button[aria-pressed=true]{background:var(--accent);color:var(--bg)}.week-title{font-size:15px;white-space:nowrap}.summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:10px}.summary{padding:11px 17px;border-radius:var(--radius);background:var(--surface);display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}.summary .label{font-size:13px;white-space:nowrap}.summary strong{font-size:25px;font-weight:550;letter-spacing:-.5px;white-space:nowrap}.summary small{font-size:12px;font-weight:400;letter-spacing:0;margin-left:4px}.summary:nth-child(1){background:var(--steps)}.summary:nth-child(2){background:var(--sleep)}.summary:nth-child(3){background:var(--activity)}.summary:nth-child(4){background:var(--heart)}.summary:nth-child(5){background:var(--energy)}.day-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:0 0 10px}.day-tabs button{padding:7px 12px;border:1px solid var(--line);border-radius:8px;font-size:13px}.day-tabs button[aria-selected=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}.weekly-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}.panel{background:var(--surface);border:1px solid transparent;border-radius:var(--radius);padding:14px 18px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;min-height:25px}.panel-head .reading{font-size:25px;line-height:1.1;font-weight:550;white-space:nowrap}.panel-head .reading small{font-size:12px;margin-left:4px;font-weight:400}.weekly-row .panel{padding:10px 15px}.weekly-row .panel-head{margin-bottom:0}.weekly-row .reading{font-size:19px}.weekly-row svg{height:70px}.chart{width:100%;display:block;overflow:visible}.chart text{font:12px HealthGoogle,'PingFang SC',Arial,sans-serif;fill:var(--muted)}.chart path,.chart line{vector-effect:non-scaling-stroke}.chart [tabindex]:focus{outline:2px solid var(--accent)}.sleep-panel{background:var(--sleep);margin-bottom:12px;padding:12px 18px}.sleep-heading{display:flex;gap:15px;align-items:baseline}.sleep-heading strong{font-size:25px;font-weight:550}.sleep-tools{display:flex;align-items:center;gap:15px}.sleep-tools select{max-width:230px;font-size:12px;padding:5px 8px;background:var(--surface);border:1px solid var(--line);border-radius:6px}.attention{font-size:12px;color:#b26033;font-weight:600;white-space:nowrap}.sleep-panel .chart{height:126px}.sleep-panel .stage-label{font-size:15px;font-weight:500}.stage-key{display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:12px;margin-top:1px}.stage-key i{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:6px}.action{font-size:13px;line-height:1.55;margin-top:9px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--ink) 10%,transparent);overflow-wrap:anywhere}.detail-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:stretch}.activity-panel,.steps-panel,.food-panel{grid-column:span 4}.heart-panel{grid-column:span 4}.energy-panel{grid-column:span 8}.activity-panel{background:var(--activity)}.steps-panel{background:var(--steps)}.food-panel{background:var(--food)}.heart-panel{background:var(--heart)}.energy-panel{background:var(--energy)}.detail-grid>.panel{display:flex;flex-direction:column}.detail-grid .action{margin-top:auto;padding-top:8px}.detail-grid .chart{height:99px;margin-bottom:8px}.detail-grid .heart-panel .chart{height:90px}.activity-content{display:grid;grid-template-columns:102px minmax(0,1fr);gap:16px;align-items:center;min-height:99px;margin:2px 0 8px}.activity-content .ring{height:98px;width:102px;margin:0}.activity-list{display:grid;gap:8px}.activity-list>div{display:flex;align-items:center;gap:7px}.activity-list b{margin-left:auto;font-weight:550}.dot{width:7px;height:7px;display:inline-block;border-radius:50%;flex:none}.empty{color:var(--muted);font-size:14px;display:flex;align-items:center;justify-content:center;min-height:95px;text-align:center}.sleep-panel .empty{min-height:80px}.food-content{flex:1;min-height:100px}.food-content .empty{justify-content:flex-start;min-height:65px}.meal-options{display:flex;gap:6px;margin-top:8px}.meal-options button{padding:3px 9px;border:1px solid var(--line);border-radius:5px;font-size:12px}.meal-options button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}table{width:100%;border-collapse:collapse;font-size:14px}td,th{padding:5px 4px;text-align:left;border-bottom:1px solid var(--line)}th{font-size:12px;font-weight:400;color:var(--muted)}td:last-child,th:last-child{text-align:right}.energy-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);gap:18px;flex:1;min-height:107px}.energy-col+ .energy-col{border-left:1px solid var(--line);padding-left:18px}.energy-col h3{margin-bottom:8px;font-weight:500;color:var(--accent)}.energy-values{display:grid;gap:5px}.energy-values>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.energy-values span{color:var(--muted);font-size:13px}.energy-values strong{font-weight:550;font-size:18px;white-space:nowrap}.energy-values small{font-size:12px;font-weight:400;margin-left:3px}.exercise-list{font-size:13px;display:grid;gap:5px;max-height:112px;overflow:auto}.exercise-row{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.exercise-row b{font-weight:550;white-space:nowrap}.exercise-row span{overflow-wrap:anywhere}.exercise-row small{display:block;font-size:12px;color:var(--muted)}.exercise-list.empty{display:block;font-size:14px;min-height:0}.next-toggle{display:flex;gap:10px;margin-bottom:10px;align-items:center}.next-toggle button{padding:0 0 3px;font-size:13px;color:var(--muted);border-bottom:1px solid transparent}.next-toggle button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.next-toggle span{font-size:12px;margin-left:auto;color:var(--muted)}.next-action{font-size:15px;line-height:1.7}.vitals-strip{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:9px 15px;border:1px solid var(--line);border-radius:8px}.vital{display:flex;align-items:baseline;gap:8px;min-width:0}.vital>span{color:var(--muted);font-size:12px;white-space:nowrap}.vital strong{font-size:17px;font-weight:500;white-space:nowrap}.vital small{font-size:11px;font-weight:400;margin-left:3px}.vital .state{font-size:11px;font-weight:400;color:var(--muted);white-space:nowrap}.state.normal{color:#42835f}.state.attention{color:#b26033}footer{max-width:1840px;margin:10px auto 0;padding:0 26px 18px;color:var(--muted);font-size:12px}footer summary{cursor:pointer}footer details>div{padding:12px 0;line-height:1.8;max-width:1000px}footer p{margin-bottom:8px}#tip{position:fixed;z-index:8;display:none;pointer-events:none;padding:7px 10px;font-size:13px;background:var(--ink);color:var(--bg);border-radius:5px;box-shadow:0 4px 20px #0002}.goal-button{font-size:12px;padding:4px 8px;border:1px solid var(--line);border-radius:5px}.goals-dialog{width:370px;max-width:90vw;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:23px}.goals-dialog::backdrop{background:#0006}.goals-dialog h2{margin-bottom:12px}.goals-dialog label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.goals-dialog input{width:100px;padding:6px;background:var(--bg);border:1px solid var(--line);border-radius:4px}.goals-dialog .buttons{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.goals-dialog .save{background:var(--accent);color:var(--bg);padding:6px 15px;border-radius:5px}
body[data-theme=apple]{--bg:#000;--surface:#1c1c1e;--ink:#f5f5f7;--muted:#a1a1a6;--line:#353538;--accent:#b393ff;--sleep:#1c1c1e;--activity:#1c1c1e;--steps:#1c1c1e;--food:#1c1c1e;--heart:#1c1c1e;--energy:#1c1c1e;--radius:19px;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC',Arial,sans-serif}body[data-theme=apple] .summary{background:#1c1c1e}body[data-theme=apple] .summary:nth-child(1) strong{color:#ff9f0a}body[data-theme=apple] .summary:nth-child(2) strong{color:#b393ff}body[data-theme=apple] .summary:nth-child(3) strong{color:#a8ee00}body[data-theme=apple] .summary:nth-child(4) strong{color:#ff375f}body[data-theme=apple] .summary:nth-child(5) strong{color:#66d4cf}body[data-theme=apple] .state.normal{color:#93cba5}body[data-theme=apple] .attention{color:#e1a47b}body[data-theme=apple] .panel{border-color:#29292b}body[data-theme=apple] .sleep-heading h2{color:#b393ff}body[data-theme=apple] .activity-panel h2{color:#8dec00}body[data-theme=apple] .steps-panel h2{color:#ff9f0a}body[data-theme=apple] .heart-panel h2{color:#ff375f}body[data-theme=apple] .food-panel h2{color:#ffd60a}
body[data-theme=bytedance]{--bg:#f2f5fb;--surface:#fff;--ink:#1d2c49;--muted:#687994;--line:#dbe4f0;--accent:#165dff;--sleep:#fff;--activity:#fff;--steps:#fff;--food:#fff;--heart:#fff;--energy:#fff;--radius:7px;font-family:Inter,'PingFang SC',Arial,sans-serif}body[data-theme=bytedance] .app-head{border-bottom:1px solid var(--line);margin-bottom:10px;padding-block:11px}body[data-theme=bytedance] .panel,body[data-theme=bytedance] .summary{border:1px solid var(--line)}body[data-theme=bytedance] .summary{border-radius:6px}body[data-theme=bytedance] .weekly-row .panel{border-top:2px solid #afc6fa}body[data-theme=bytedance] .summary strong{font-weight:600}body[data-theme=bytedance] .meal-options button{border-radius:3px}body[data-theme=bytedance] .day-tabs button{border-radius:4px}body[data-theme=bytedance] .day-tabs button[aria-selected=true]{background:#165dff;color:#fff}
body[data-theme=anthropic]{--bg:#141413;--surface:#1a1918;--ink:#faf9f6;--muted:#a9a79e;--line:#34332f;--accent:#cc7c5e;--sleep:#1a1918;--activity:#1a1918;--steps:#1a1918;--food:#1a1918;--heart:#1a1918;--energy:#1a1918;--radius:8px;font-family:HealthAnthropic,'PingFang SC',Arial,sans-serif}body[data-theme=anthropic] h1,body[data-theme=anthropic] h2,body[data-theme=anthropic] .summary strong{font-family:HealthEditorial,'Songti SC',Georgia,serif;font-weight:400}body[data-theme=anthropic] h1{font-size:30px}body[data-theme=anthropic] h2{font-size:19px}body[data-theme=anthropic] .app-head{border-bottom:1px solid var(--line);margin-bottom:12px}body[data-theme=anthropic] .panel{border-color:var(--line)}body[data-theme=anthropic] .summary{background:transparent;border-bottom:1px solid var(--line);border-radius:0;padding-inline:10px}body[data-theme=anthropic] .day-tabs button{border:0;border-bottom:1px solid var(--line);border-radius:0}body[data-theme=anthropic] .day-tabs button[aria-selected=true]{background:#cc7c5e18;color:#e6a084;border-bottom-color:#cc7c5e}body[data-theme=anthropic] .action{color:#d5d1c8}body[data-theme=anthropic] .chart text{font-family:HealthAnthropic,'PingFang SC',Arial,sans-serif}body[data-theme=anthropic] .state.normal{color:#a8c6ac}body[data-theme=anthropic] .attention{color:#d99a75}
@media(min-width:1700px){main{padding-inline:32px}.app-head{padding-inline:34px}.panel{padding-inline:22px}.summary strong{font-size:28px}.sleep-panel .chart{height:138px}.detail-grid .chart{height:107px}.energy-grid{gap:24px}.next-action{font-size:16px}}
@media(max-width:1279px){.summary{flex-direction:column;align-items:flex-start;gap:3px;padding:9px 13px}.summary strong{font-size:23px}.energy-grid{gap:12px}.energy-col+.energy-col{padding-left:12px}.energy-values>div{display:block}.energy-values strong{display:block;font-size:19px}.energy-panel{grid-column:span 8}.brands button{padding:5px 7px}.vital{flex-wrap:wrap;gap:3px 7px}.sleep-tools{gap:10px}}
@media(max-width:1000px){.weekly-row{gap:8px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid>.panel{grid-column:span 1}.detail-grid>.energy-panel{grid-column:1/-1}.summary-strip{gap:8px}.day-tabs{gap:4px}.app-head{flex-wrap:wrap;gap:8px}.head-left{gap:8px}.vitals-strip{grid-template-columns:repeat(3,1fr)}.sleep-heading strong{font-size:22px}.sleep-tools select{max-width:170px}}
@media(max-width:650px){main{padding-inline:12px}.app-head{padding-inline:14px}.summary-strip{grid-template-columns:repeat(3,1fr)}.weekly-row{grid-template-columns:1fr}.day-tabs button{padding:7px 3px}.detail-grid{grid-template-columns:1fr}.sleep-tools{flex-wrap:wrap;justify-content:flex-end}.sleep-heading{display:block}.energy-grid{grid-template-columns:1fr}.energy-col+.energy-col{border-left:0;border-top:1px solid var(--line);padding:10px 0 0}.energy-values>div{display:flex}.vitals-strip{grid-template-columns:repeat(2,1fr)}.stage-key{gap:8px 14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

[hidden]{display:none!important}

.food-panel .panel-head{flex-wrap:wrap;gap:4px 12px}.food-content table{table-layout:fixed}.food-content th:first-child{width:48px}.food-content th:last-child{width:58px}.food-content td:first-child,.food-content td:last-child{white-space:nowrap}.food-content td:nth-child(2){overflow-wrap:anywhere}

/* The opening overview explains what matters before showing charts. */
.agent-overview{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,1.1fr);gap:28px;padding:14px 0 18px;margin-block-end:12px;border-block-end:1px solid var(--line)}
.agent-overview>div{min-width:0}.agent-overview .agent-label{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--accent);margin-block-end:6px}.agent-overview .agent-label span{color:var(--muted);font-size:13px}
.agent-overview h2{font-size:22px;line-height:1.35;margin-block-end:7px}.agent-overview h3{font-size:15px;margin-block-end:8px;font-weight:600}.agent-overview p{font-size:15px;line-height:1.65;overflow-wrap:anywhere}.agent-overview .agent-assessment p{color:var(--muted)}.agent-meal,.agent-plan{padding-block-start:3px}
body[data-theme=google] .agent-overview{background:var(--activity);padding:16px 20px;border:0;border-radius:var(--radius)}
body[data-theme=apple] .agent-overview{gap:24px;padding-block:12px 18px}.agent-overview h2{letter-spacing:-.3px}
body[data-theme=bytedance] .agent-overview{background:var(--surface);border:1px solid var(--line);border-inline-start:3px solid var(--accent);border-radius:6px;padding:15px 18px;gap:24px}
body[data-theme=anthropic] .agent-overview{padding-block:5px 18px;gap:32px}body[data-theme=anthropic] .agent-overview h2{font-family:HealthEditorial,'Songti SC',serif;font-size:25px;font-weight:400}
@media(max-width:1000px){.agent-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 24px}.agent-assessment{grid-column:1/-1}.agent-overview h2{font-size:21px}}
@media(max-width:650px){.agent-overview{grid-template-columns:1fr;gap:14px}.agent-overview .agent-assessment{grid-column:auto}.agent-overview h2{font-size:20px}.agent-overview p{font-size:14px}}
