.body-profile-preview { margin: 2px 0 24px; margin-bottom: 20px; }
.body-profile-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.body-profile-heading h3 { margin: 0; font-size: var(--text-15); font-weight: 550; }
.body-profile-heading .text-button { min-height: 44px; padding: 8px 0; font-size: var(--text-12); }
.body-profile-card { width: 100%; display: grid; grid-template-columns: minmax(90px, 38%) minmax(0, 1fr); align-items: center; gap: 12px; border: 1px solid var(--line); background: var(--surface); text-align: left; color: var(--ink); min-height: 108px; }
.body-profile-card:hover { border-color: var(--focus); }
.body-profile-card:focus-visible, .body-choice:focus-visible, .body-indicator-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.body-profile-values { display: grid; min-width: 0; gap: 10px; }
.body-profile-values > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.body-profile-values strong { font-size: var(--text-24); line-height: 1.1; font-weight: 550; font-variant-numeric: tabular-nums; }
.body-profile-values small, .body-profile-caption { font-size: var(--text-11); line-height: 1.45; color: var(--muted); }
.body-profile-caption { margin: 8px 0 0; }
.body-coach-summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; min-height: 56px; margin: 0 0 18px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; }
.body-coach-summary strong { font-size: var(--text-13); font-weight: 550; }
.body-coach-summary span { font-size: var(--text-12); color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.body-coach-summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.body-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 265px; margin: 0 auto 19px; }
.body-figures > div { display: grid; justify-items: center; gap: 3px; min-width: 0; }
.body-figures small { color: var(--muted); font-size: var(--text-11); }
.body-figure-svg { display: block; width: 100%; max-width: 108px; height: 158px; }
.body-figure-outline { fill: var(--fill); stroke: #6c8690; stroke-width: 1.8; stroke-linejoin: round; }
.body-figure-lines { fill: none; stroke: #65aaa4; stroke-width: 2; stroke-linecap: round; opacity: .9; }
.body-figures.is-compact { max-width: 116px; gap: 5px; margin: 0; }
.body-figures.is-compact .body-figure-svg { max-width: 54px; }
.body-figures.is-compact small { font-size: var(--text-10); white-space: nowrap; }
.body-activity-chooser > p { margin: 0 0 18px; color: var(--muted); font-size: var(--text-13); }
.body-choice { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 12px; padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; min-height: 64px; }
.body-choice:first-of-type { border-top: 1px solid var(--line); }
.body-choice > span:first-child { display: grid; gap: 5px; }
.body-choice strong { font-size: var(--text-15); font-weight: 550; }
.body-choice small { font-size: var(--text-12); color: var(--muted); }
.body-choice > span:last-child { color: var(--muted); font-size: var(--text-24); }
.body-indicators-inner { min-width: 0; }
.body-indicators-basics { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 0 12px; }
.body-indicators-basics > div { display: grid; gap: 8px; min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-m); }
.body-indicators-basics span { font-size: var(--text-12); color: var(--muted); }
.body-indicators-basics strong { font-size: var(--text-20); font-weight: 550; font-variant-numeric: tabular-nums; }
.body-indicators-basics strong small { font-size: var(--text-12); color: var(--muted); font-weight: 400; }
.body-indicators-basics > div > small { color: var(--muted); font-size: var(--text-11); }
.body-indicators-date, .body-empty { margin: 0 0 20px; font-size: var(--text-12); line-height: 1.6; color: var(--muted); }
.body-measure-group { margin: 23px 0 0; }
.body-measure-group h3 { margin: 0 0 8px; font-size: var(--text-13); font-weight: 550; }
.body-measure-group dl { margin: 0; border-top: 1px solid var(--line); }
.body-measure-group dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.body-measure-group dt { font-size: var(--text-13); color: var(--muted); }
.body-measure-group dd { display: flex; align-items: baseline; gap: 3px; flex-shrink: 0; margin: 0; font-size: var(--text-14); font-variant-numeric: tabular-nums; }
.body-measure-group dd span { font-size: var(--text-11); color: var(--muted); }
.body-measure-group dd small { margin-left: 7px; color: var(--muted); font-size: var(--text-10); }
.body-indicator-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.body-indicator-actions .button { min-height: 48px; padding: 9px; font-size: var(--text-12); }
.body-activity-form form { display: grid; gap: 18px; min-width: 0; }
.body-form-hint { margin: 0; color: var(--muted); font-size: var(--text-12); line-height: 1.6; }
.body-metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
.body-metric-field { min-width: 0; }
.body-metric-field label { display: block; margin: 0 0 8px; font-size: var(--text-12); line-height: 1.35; }
.body-metric-control { display: flex; align-items: center; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-m); background: var(--paper); }
.body-metric-control:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.body-metric-control input { width: 100%; min-width: 0; height: 48px; padding: 0 10px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: var(--text-16); font-variant-numeric: tabular-nums; }
.body-metric-control input::placeholder { color: var(--subtle); }
.body-metric-control span { flex-shrink: 0; padding: 0 11px 0 0; font-size: var(--text-12); color: var(--muted); }
.body-measure-fields { min-width: 0; margin: 0; padding: 17px 0 0; border: 0; border-top: 1px solid var(--line); }
.body-measure-fields legend { padding: 0 8px 0 0; font-size: var(--text-13); font-weight: 550; }
.body-activity-form .button { min-height: 49px; font-size: var(--text-14); }
.body-activity-form form[data-busy="true"] { opacity: .65; }
.body-error { margin: 0; color: #98443d; font-size: var(--text-12); line-height: 1.5; }
.body-error[hidden] { display: none; }
.body-history { margin-top: 27px; }
.body-history h3 { margin: 0 0 9px; font-size: var(--text-13); font-weight: 550; }
.body-history-row { padding: 11px 0; border-top: 1px solid var(--line); }
.body-history-row[hidden] { display: none; }
.body-history-row strong { display: block; font-size: var(--text-12); font-weight: 500; }
.body-history-row span { display: block; margin-top: 4px; font-size: var(--text-12); line-height: 1.5; color: var(--muted); }
.body-history .text-button { min-height: 44px; margin-top: 5px; font-size: var(--text-12); }
@media (max-width: 360px) {
  .body-profile-card { grid-template-columns: 100px minmax(0, 1fr); gap: 8px; padding: 11px; }
  .body-profile-values strong { font-size: var(--text-20); }
  .body-indicator-actions { grid-template-columns: 1fr; }
}
