:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0f131b;--surface:#151b25;--surface-raised:#19212d;--ink:#f1f4fa;--muted:#98a3b5;--line:#2c3546;--green:#67e58b;--green-strong:#42c96b;--green-soft:#193727;--red:#f07373;--protein:#5b8def;--carbohydrates:#29b6a6;--fat:#e59a46;--fiber:#b07ce8;--goal:#f4c95d;color:var(--ink);background:var(--bg);font-synthesis:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-width:320px;margin:0}button,a{font:inherit}button{color:inherit}main{width:min(1050px,100% - 32px);margin:0 auto;padding:32px 0 90px}.page-heading{justify-content:space-between;align-items:flex-end;gap:24px;padding:22px 0 28px;display:flex}.eyebrow{color:#7f8a9c;letter-spacing:1.5px;text-transform:uppercase;margin:0;font-size:10px;font-weight:700}.page-title{color:#7f8a9c;letter-spacing:2.5px;text-transform:uppercase;margin:0;font-size:20px;font-weight:700;line-height:1.1}.dashboard-identity{flex-direction:column;align-items:flex-start;gap:18px;display:flex}.dashboard-nav{gap:20px;display:flex}.dashboard-nav a{color:var(--muted);font-size:12px;font-weight:700;text-decoration:none;position:relative}.dashboard-nav a:hover{color:var(--ink)}.dashboard-nav a.active{color:var(--green)}.dashboard-nav a.active:after{background:var(--green);content:"";border-radius:2px;height:2px;position:absolute;bottom:-7px;left:0;right:0}.summary-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:16px;display:grid}.nutrition-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.summary-card,.card{background:var(--surface);border:1px solid var(--line);box-shadow:none;border-radius:18px}.summary-card{padding:23px 25px}.summary-card.current{color:var(--ink);background:linear-gradient(145deg,#17251e,#142019);border-color:#315f40}.summary-card>span{color:var(--muted);margin-bottom:12px;font-size:11px;font-weight:600;display:block}.summary-card.current>span{color:#9fb7a7}.summary-card strong{letter-spacing:-1px;font-size:30px}.summary-card strong small{letter-spacing:0;font-size:13px}.summary-card p{color:var(--muted);margin:8px 0 0;font-size:10px}.summary-card.current strong,.summary-card.current p,.metric-down{color:var(--green)}.metric-up{color:#f0b56d}.metric-steady,.metric-unknown{color:var(--ink)}.chart-card{padding:28px 32px 26px}.card-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.chart-title{color:#7f8a9c;letter-spacing:1.5px;text-transform:uppercase;margin:0;font-size:10px;font-weight:700}.range{gap:5px;display:flex}.range a{min-height:31px;color:var(--muted);border:1px solid #0000;border-radius:8px;align-items:center;padding:0 11px;font-size:10px;font-weight:700;text-decoration:none;display:inline-flex}.range a:hover{color:var(--ink)}.range a.active{background:var(--green-soft);color:var(--green);border-color:#315f40}.chart-wrap{grid-template-columns:42px minmax(0,1fr);gap:10px;margin-top:24px;display:grid}.y-axis{color:#667286;flex-direction:column;justify-content:space-around;height:330px;font-size:9px;display:flex}.chart{min-width:0;position:relative}.chart svg{width:100%;height:330px;display:block;overflow:visible}.grid-lines line{stroke:#283243;stroke-width:1px;stroke-dasharray:4 5;vector-effect:non-scaling-stroke}.calorie-goal-line{stroke:var(--goal);stroke-width:1.5px;stroke-dasharray:7 6;vector-effect:non-scaling-stroke}.calorie-goal-label{fill:var(--goal);stroke:var(--surface);stroke-width:4px;paint-order:stroke;letter-spacing:.4px;font-size:9px;font-weight:700}.weekly-range{fill:color-mix(in srgb, var(--green) 34%, transparent);stroke:var(--green);stroke-width:2px;vector-effect:non-scaling-stroke;cursor:crosshair;outline:none;transition:fill .12s,stroke-width .12s}.weekly-range.latest{fill:var(--green);stroke:#b4f7c7}.weekly-range.increased{fill:color-mix(in srgb, var(--red) 34%, transparent);stroke:var(--red)}.weekly-range.latest.increased{fill:var(--red);stroke:#ffc4c4}.weekly-range:hover,.weekly-range:focus-visible{fill:var(--green);stroke:#d1ffdc;stroke-width:3px}.weekly-range.increased:hover,.weekly-range.increased:focus-visible{fill:var(--red);stroke:#ffd6d6}.macro-stack{cursor:crosshair;outline:none}.macro-segment{vector-effect:non-scaling-stroke;transition:filter .12s,stroke-width .12s}.macro-segment.protein{fill:var(--protein)}.macro-segment.carbohydrates{fill:var(--carbohydrates)}.macro-segment.fat{fill:var(--fat)}.macro-segment.fiber{fill:var(--fiber)}.macro-stack:hover .macro-segment,.macro-stack:focus-visible .macro-segment{filter:brightness(1.2);stroke:#eaf0fb;stroke-width:1.5px}.chart-tooltip{z-index:2;min-width:132px;color:var(--ink);pointer-events:none;text-align:left;background:#222b38;border:1px solid #405065;border-radius:9px;padding:10px 12px;position:absolute;transform:translate(-50%,-100%);box-shadow:0 10px 28px #00000059}.chart-tooltip[hidden]{display:none}.chart-tooltip:after{content:"";background:#222b38;border-bottom:1px solid #405065;border-right:1px solid #405065;width:8px;height:8px;position:absolute;top:100%;left:50%;transform:translate(-50%,-4px)rotate(45deg)}.chart-tooltip.below{transform:translate(-50%)}.chart-tooltip.below:after{border:0;border-top:1px solid #405065;border-left:1px solid #405065;top:0;transform:translate(-50%,-5px)rotate(45deg)}.chart-tooltip strong,.chart-tooltip span{white-space:nowrap;display:block}.chart-tooltip strong{color:var(--green);font-size:12px}.chart-tooltip span{color:var(--muted);margin-top:3px;font-size:9px}.macro-tooltip{min-width:205px}.macro-tooltip dl{border-top:1px solid var(--line);gap:5px;margin:10px 0 0;padding-top:8px;font-size:9px;display:grid}.macro-tooltip dl div{justify-content:space-between;gap:14px;display:flex}.macro-tooltip dt{color:var(--muted)}.macro-tooltip dd{color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;margin:0}.x-axis{grid-template-columns:repeat(var(--week-count), minmax(0, 1fr));color:#667286;text-align:center;padding-top:10px;font-size:9px;display:grid}.x-axis span{white-space:nowrap}.chart-note{color:var(--green);background:#14261c;border:1px solid #284a35;border-radius:11px;align-items:center;gap:11px;margin:26px 0 0 52px;padding:13px 15px;display:flex}.chart-note>span{background:var(--green-soft);border-radius:9px;place-items:center;width:31px;height:31px;font-size:16px;display:grid}.chart-note p{margin:0;font-size:10px}.chart-note strong{margin-bottom:2px;font-size:11px;display:block}.chart-note.trend-up{color:#f0b56d;background:#2a2118;border-color:#60492f}.chart-note.trend-up>span{background:#3b2c1d}.chart-note.trend-steady,.chart-note.trend-unknown{border-color:var(--line);background:var(--surface-raised);color:var(--muted)}.chart-note.trend-steady>span,.chart-note.trend-unknown>span{background:#222b39}.state-card{align-items:flex-start;gap:18px;padding:30px;display:flex}.state-card .state-icon{background:var(--green-soft);width:38px;height:38px;color:var(--green);border:1px solid #315f40;border-radius:11px;flex:none;place-items:center;font-weight:800;display:grid}.state-card h2{margin:7px 0 8px;font-size:20px}.state-card div>p:last-child{max-width:560px;color:var(--muted);margin:0;font-size:12px;line-height:1.6}.macro-chart-card .card-heading{align-items:center}.chart-subtitle{color:var(--muted);margin:7px 0 0;font-size:10px}.macro-legend{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;gap:9px 14px;margin:0;padding:0;font-size:9px;list-style:none;display:flex}.macro-legend li{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.macro-legend li:before{content:"";border-radius:3px;width:8px;height:8px}.macro-legend .protein:before{background:var(--protein)}.macro-legend .carbohydrates:before{background:var(--carbohydrates)}.macro-legend .fat:before{background:var(--fat)}.macro-legend .fiber:before{background:var(--fiber)}@media (width<=900px){.nutrition-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=680px){main{width:min(100% - 32px,520px);padding-top:20px}.page-heading{flex-direction:column;align-items:stretch;gap:18px;padding:24px 0}.page-heading .range{width:100%}.page-heading .range a{flex:1;justify-content:center}.page-title{font-size:18px}.summary-grid,.nutrition-summary-grid{grid-template-columns:1fr 1fr}.summary-card:last-child,.nutrition-summary-grid .summary-card:last-child{grid-column:1/-1}.summary-card{padding:20px}.summary-card strong{font-size:25px}.chart-card{padding:23px 18px}.card-heading{gap:10px}.range{gap:2px}.range a{min-height:28px;padding:0 7px;font-size:9px}.chart-wrap{grid-template-columns:33px minmax(0,1fr);gap:5px}.chart svg,.y-axis{height:235px}.chart-note{margin-left:38px}.macro-chart-card .card-heading{flex-direction:column;align-items:flex-start}.macro-legend{justify-content:flex-start}}@media (width<=430px){.summary-grid,.nutrition-summary-grid{grid-template-columns:1fr}.summary-card:last-child,.nutrition-summary-grid .summary-card:last-child{grid-column:auto}.chart svg,.y-axis{height:210px}.x-axis{font-size:7.5px}.x-axis.dense span:nth-child(2n){display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
