.health-trends{margin:24px 0}.health-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.health-heading h2{margin:0 0 6px}.health-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.health-controls label{min-width:200px;max-width:330px;font-size:12px}.health-controls .segments button{min-width:65px;padding:8px 12px}.health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.health-card{padding:22px;min-width:0}.health-card h3{font-size:19px;margin:0}.health-value{display:flex;gap:9px;align-items:baseline;margin-top:12px;font-size:34px;font-weight:650;font-variant-numeric:tabular-nums}.health-value strong{font-size:40px}.health-value span{font-size:15px;font-weight:400;color:var(--muted)}.health-last{margin:4px 0 12px}.health-comparison{font-size:13px;color:var(--muted);min-height:36px;margin:12px 0}.health-chart{min-height:180px}.health-chart svg{display:block;width:100%;height:auto;max-height:260px}.health-chart svg text{font:12px -apple-system,'PingFang TC',sans-serif;fill:var(--muted)}.health-chart .grid{stroke:#34383e}.health-selection{min-height:20px;margin:10px 0}.health-method{font-size:12px;line-height:1.6;margin-bottom:0}.health-note{font-size:12px;margin:12px 0;color:var(--muted)}.health-extra{margin-top:14px}.health-extra>summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--muted)}.health-extra[open] .health-grid{margin-top:10px}.health-card>label{margin-bottom:12px}@media(max-width:700px){.health-grid{grid-template-columns:1fr}.health-controls{width:100%;gap:10px}.health-controls label{max-width:none;min-width:0;flex:1 1 100%}.health-controls .segments{width:100%}.health-controls .segments button{flex:1}.health-card{padding:18px}.health-value strong{font-size:36px}.health-heading{gap:12px}.health-comparison{min-height:0}}

.health-chart .training-point[data-series="7天平均"]{r:2px}

.sleep-warning{color:#ffb875;line-height:1.65}.sleep-card .health-value strong{font-size:34px}.sleep-history-entry{padding:16px 0;border-top:1px solid var(--line,#34383e)}.sleep-history-entry h3{margin:0 0 10px}.sleep-total{font-size:23px;font-weight:650}.sleep-stages{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px}.sleep-stages dt{color:var(--muted)}.sleep-stages dd{margin:0;font-variant-numeric:tabular-nums}.sleep-history-entry p{overflow-wrap:anywhere}@media(max-width:700px){.sleep-card .health-value strong{font-size:30px}}
