:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f4f7f6;--surface:#fff;--surface-2:#e8efed;--text:#1a1c1c;--muted:#5b6563;--border:#d5dedb;--primary:#00796b;--on-primary:#fff;--hero:#b2dfdb;--on-hero:#00201c;--tone-low:#1e88e5;--tone-good:#2e7d32;--tone-excellent:#00796b;--tone-high:#ef6c00;--tone-very-high:#c62828;--radius:16px;background:var(--bg);color:var(--text);font-family:system-ui,Segoe UI,Roboto,sans-serif;line-height:1.45}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#101413;--surface:#1a201f;--surface-2:#242b2a;--text:#e1e3e2;--muted:#9aa6a3;--border:#2f3836;--primary:#80cbc4;--on-primary:#00201c;--hero:#1f4d47;--on-hero:#d6f2ee;--tone-low:#90caf9;--tone-good:#a5d6a7;--tone-excellent:#80cbc4;--tone-high:#ffcc80;--tone-very-high:#ef9a9a}}*{box-sizing:border-box}body{margin:0}h1{margin:0;font-size:1.6rem}h2{margin:0;font-size:1.05rem}button{font:inherit;border:1px solid var(--border);background:var(--surface-2);color:var(--text);cursor:pointer;border-radius:999px;padding:.45rem 1rem}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--primary);color:var(--on-primary);border-color:#0000}button.text{color:var(--primary);background:0 0;border:none;padding:.3rem .5rem}button.danger{color:var(--tone-very-high)}input{font:inherit;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:10px;padding:.55rem .7rem}input[aria-invalid=true]{border-color:var(--tone-very-high)}label{flex-direction:column;gap:.3rem;font-size:.9rem;display:flex}fieldset{border:none;flex-direction:column;gap:.4rem;margin:0;padding:0;display:flex}legend{margin-bottom:.3rem;font-size:.9rem}.muted{color:var(--muted)}.small{font-size:.82rem}.error{color:var(--tone-very-high)}.success{color:var(--tone-good)}.accent{color:var(--primary)}.tone-low{--tone:var(--tone-low)}.tone-good{--tone:var(--tone-good)}.tone-excellent{--tone:var(--tone-excellent)}.tone-high{--tone:var(--tone-high)}.tone-very-high{--tone:var(--tone-very-high)}.note.tone-low,.note.tone-good,.note.tone-high,.note.tone-very-high,strong.tone-low,strong.tone-good,strong.tone-excellent,strong.tone-high,strong.tone-very-high,.score-total{color:var(--tone)}.app{min-height:100vh}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:1;align-items:center;gap:1rem;padding:.6rem 1.25rem;display:flex;position:sticky;top:0}.brand{align-items:center;gap:.5rem;font-size:1.15rem;font-weight:700;display:flex}.brand img{width:30px;height:30px}.topbar nav{flex:1;justify-content:center;gap:.4rem;display:flex}.topbar nav button.selected,.segmented button.selected{background:var(--primary);color:var(--on-primary);border-color:#0000}.account{align-items:center;gap:.4rem;display:flex}.content{max-width:1100px;margin:0 auto;padding:1.25rem}.page-title{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.page-title p{margin:.2rem 0 0}.refresh{align-items:center;gap:.3rem;display:flex}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.full{grid-column:1/-1}.half{grid-column:span 2}@media (width<=900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.grid{grid-template-columns:minmax(0,1fr)}.half,.tile{grid-column:1/-1}.account .muted{display:none}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:.6rem;padding:1rem 1.1rem;display:flex}.card-header{justify-content:space-between;align-items:center;display:flex}.card.warning{border-color:var(--tone-high);flex-direction:row;justify-content:space-between;align-items:center}.card.warning p{margin:0}.hero{background:var(--hero);color:var(--on-hero);text-align:center;align-items:center;padding:1.5rem}.hero-weight{font-size:3.6rem;font-weight:700;line-height:1}.hero-weight small,.metric-value small{font-size:1rem;font-weight:400}.hero-goal{font-weight:600}.hero .range{width:min(100%,560px)}.metric-value{font-size:1.6rem;font-weight:600}.tile-footer,.row,.list li{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.chip{color:var(--tone);background:color-mix(in srgb, var(--tone) 16%, transparent);border-radius:999px;padding:.1rem .6rem;font-size:.8rem;font-weight:500;display:inline-block}.delta{font-size:.85rem}.delta-neutral{color:var(--muted)}.delta-good{color:var(--tone-good)}.delta-high{color:var(--tone-high)}.note{margin:0;font-size:.88rem}.range{width:100%}.range-bar{border-radius:4px;height:8px;position:relative;overflow:visible}.range-zone{background:color-mix(in srgb, var(--tone) 45%, transparent);position:absolute;top:0;bottom:0}.range-zone:first-child{border-radius:4px 0 0 4px}.range-zone:nth-last-child(2),.range-zone:nth-last-child(3){border-radius:0 4px 4px 0}.range-ideal{opacity:.7;border:2px solid;border-radius:6px;position:absolute;top:-3px;bottom:-3px}.range-marker{background:currentColor;border-radius:2px;width:3px;height:20px;margin-left:-1.5px;position:absolute;top:-6px}.range-labels{opacity:.75;height:1.2rem;margin-top:4px;font-size:.72rem;position:relative}.range-labels span{position:absolute;transform:translate(-50%)}.score{align-items:center;gap:1rem;display:flex}.score-total{font-size:2.8rem;font-weight:700}.score-total small{color:var(--muted);font-size:.9rem;font-weight:400}.score-component{flex-direction:column;gap:.25rem;display:flex}.bar{background:var(--surface-2);border-radius:3px;height:6px}.bar span{background:var(--tone);border-radius:3px;height:100%;display:block}table.goal{border-collapse:collapse;width:100%}table.goal th{color:var(--muted);text-align:right;font-size:.78rem;font-weight:500}table.goal td{text-align:right;padding:.3rem 0}table.goal td:first-child{text-align:left}.form{flex-direction:column;gap:.9rem;display:flex}.segmented{flex-flow:wrap}.radio{flex-direction:row;align-items:flex-start;gap:.6rem}.radio input{width:auto;margin-top:.25rem}.radio>span{flex-direction:column;display:flex}.inline{gap:.6rem;display:flex}.inline label{flex:1}.list{margin:0;padding:0;list-style:none}.list li{border-top:1px solid var(--border);padding:.6rem 0}.list-actions{align-items:center;gap:.3rem;display:flex}.toolbar{flex-wrap:wrap;justify-content:space-between;gap:.6rem;display:flex}.chips{flex-wrap:wrap;gap:.4rem;display:flex}.chips button.selected{background:var(--primary);color:var(--on-primary);border-color:#0000}.chart{width:100%;height:300px}.chart .recharts-text,.chart .recharts-legend-item-text{fill:var(--muted)}.chart .recharts-tooltip-wrapper .recharts-default-tooltip{border-radius:10px;background:var(--surface)!important;border-color:var(--border)!important}.stats{flex-wrap:wrap;justify-content:space-around;gap:.8rem;display:flex}.stat{flex-direction:column;align-items:center;display:flex}.measurement{flex-direction:column;align-items:stretch!important}.measurement-row{text-align:left;background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:center;width:100%;padding:.2rem 0;display:flex}.measurement-detail{flex-direction:column;gap:.35rem;padding:.5rem 0 .2rem;display:flex}.measurement-detail .danger{align-self:flex-start}.auth{place-items:center;min-height:100vh;padding:1rem;display:grid}.auth-card{text-align:center;align-items:stretch;width:min(100%,380px)}.auth-card label{text-align:left}.auth-logo{align-self:center;width:72px;height:72px}
