.vo2-section { margin: 16px 0 24px; min-width: 0; }
.vo2-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vo2-heading h2 { font-size: 20px; margin: 0; }
.vo2-heading button, .vo2-history-row button { width: 44px; height: 44px; padding: 0; color: var(--purple); background: var(--surface-soft); }
.vo2-series { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-top: 12px; }
.vo2-method { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.vo2-method h3 { font-size: 16px; margin: 0 0 8px; }
.vo2-section p { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.vo2-section .vo2-value { font-size: 32px; margin: 0; font-weight: 700; }
.vo2-value small { font-size: 13px; color: var(--muted); font-weight: 400; }
.vo2-section summary { cursor: pointer; color: var(--purple); padding: 8px 0; }
.vo2-history-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); min-height: 44px; }
.vo2-history-row time { flex: 1; }
.vo2-dialog { width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 20px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); overscroll-behavior: contain; }
.vo2-dialog::backdrop { background: rgb(0 0 0 / 60%); }
body:has(.vo2-dialog[open]) { overflow: hidden; }
.vo2-dialog form { display: flex; flex-direction: column; gap: 14px; }
.vo2-dialog label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.vo2-dialog input:not([type=checkbox]), .vo2-dialog select { width: 100%; min-width: 0; background: var(--surface-soft); color: var(--ink); border: 1px solid var(--line); padding: 10px; border-radius: 6px; }
.vo2-dialog fieldset { border: 0; padding: 0; margin: 0; }
.vo2-dialog legend { font-weight: 600; margin-bottom: 10px; }
.vo2-time { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vo2-dialog .vo2-confirm { flex-direction: row; align-items: flex-start; line-height: 1.5; }
.vo2-confirm input { flex-shrink: 0; width: 20px; height: 20px; }
.vo2-section [hidden] { display: none !important; }
.vo2-actions { display: flex; justify-content: flex-end; gap: 12px; position: sticky; bottom: -20px; padding: 12px 0; background: var(--surface); }
[data-vo2-error], [data-vo2-delete] { color: var(--rose); }
