/* Recovery overview only. Actual scales remain 0–3 soreness and 0–5 energy. */
.rec-overview {
  --ov-sore-0:#d7d9dc; --ov-sore-1:#f8dd8b; --ov-sore-2:#eeb947; --ov-sore-3:#d99519;
  --ov-body-unknown:#afb5be; --ov-amber:#d8a227; --ov-jade:#55b996;
  margin-bottom:var(--s-5);
}
.ov-layout { display:grid; grid-template-columns:minmax(270px,.85fr) minmax(0,1.6fr); gap:18px; align-items:start; }
.ov-body-panel,.ov-metric,.ov-records { border:1px solid var(--line); border-radius:20px; background:var(--surface); box-shadow:0 4px 20px color-mix(in srgb,var(--ink) 3%,transparent); }
.ov-body-panel { padding:22px 18px 14px; background:linear-gradient(145deg,var(--surface),var(--surface-2)); }
.ov-body-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; }
.rec-overview h2 { margin:0; font-size:18px; letter-spacing:-.02em; line-height:1.4; }
.ov-view-switch { display:flex; padding:3px; border-radius:9px; background:var(--c-band); gap:2px; }
.ov-view-switch button { border:0; border-radius:7px; color:var(--ink-2); background:transparent; min-height:36px; padding:7px 10px; font:inherit; font-size:12px; cursor:pointer; }
.ov-view-switch button[aria-pressed="true"] { color:var(--ink); background:var(--surface); box-shadow:var(--seg-on-edge); }
.ov-body-stage { position:relative; height:440px; width:100%; margin-top:10px; }
.ov-body-stage canvas { display:block; width:100%; height:100%; cursor:grab; touch-action:pan-y; }
.ov-body-stage canvas:active { cursor:grabbing; }
.ov-angle-label { position:absolute; top:8px; right:6px; color:var(--ink-3); font-size:11px; padding:5px 9px; border:1px solid var(--line); border-radius:20px; background:var(--surface); pointer-events:none; }
.ov-body-label { position:absolute; max-width:145px; padding:7px 10px; border:1px solid var(--line); border-radius:9px; background:var(--surface); color:var(--ink); box-shadow:0 3px 12px color-mix(in srgb,var(--ink) 8%,transparent); font-size:11px; line-height:1.5; pointer-events:none; }
.ov-body-label[hidden] { display:none; }
.ov-model-message { display:grid; place-items:center; height:100%; margin:0; padding:32px; text-align:center; font-size:13px; color:var(--ink-3); }
.ov-rotation { display:flex; gap:8px; align-items:center; justify-content:center; color:var(--ink-3); font-size:11px; }
.ov-rotation button { width:38px; height:38px; border:1px solid var(--line); border-radius:50%; background:var(--surface); color:var(--ink-2); font-size:22px; cursor:pointer; }
.ov-rotation .ov-front { font-size:11px; border:0; border-radius:8px; width:auto; padding:6px; }
.ov-legend { display:flex; justify-content:center; gap:15px; padding:12px 0; color:var(--ink-3); font-size:11px; }
.ov-legend span { display:inline-flex; align-items:center; gap:6px; }
.ov-legend [hidden] { display:none; }
.ov-legend i { display:inline-block; height:9px; width:9px; border-radius:5px; }
.ov-legend .ov-yellow-key { width:48px; background:linear-gradient(90deg,var(--ov-sore-1),var(--ov-sore-3)); }
.ov-unknown-key { background:var(--ov-body-unknown); }
.ov-none-key { background:var(--ov-sore-0); border:1px solid var(--line-2); }
.ov-trained-key { background:var(--c-exercise); }
.ov-region-picker { display:flex; gap:10px; align-items:center; font-size:12px; border-top:1px solid var(--line); padding-top:12px; }
.ov-region-picker label { color:var(--ink-3); white-space:nowrap; }
.ov-region-picker select { width:100%; min-width:0; background:var(--surface); color:var(--ink); font:inherit; border:1px solid var(--line-2); border-radius:8px; padding:9px; }
.ov-selection { margin-top:12px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:var(--surface); font-size:12px; }
.ov-selection-head { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; }
.ov-selection p { margin:7px 0 0; color:var(--ink-3); line-height:1.65; }
.ov-selection > p:first-child { margin:0; }
.ov-local-edit { margin-top:7px; }
.ov-local-edit summary,.ov-credit summary { cursor:pointer; color:var(--ink-2); font-size:11px; min-height:28px; align-content:center; }
.ov-levels { display:flex; gap:4px; flex-wrap:wrap; margin:8px 0; }
.ov-levels button,.ov-open-editor { background:var(--surface-2); color:var(--ink); border:1px solid var(--line-2); padding:8px; min-height:36px; font:inherit; border-radius:7px; cursor:pointer; }
.ov-levels button[aria-pressed="true"] { border-color:var(--watch-ink); background:var(--watch-soft); }
.ov-open-editor { background:none; border:0; padding:4px 0; color:var(--accent); }
.ov-model-note,.ov-credit { color:var(--ink-3); font-size:10px; line-height:1.6; margin:10px 0 0; }
.ov-credit p { margin:6px 0; }
.ov-credit { margin-top:0; }
.ov-states { display:grid; gap:14px; min-width:0; }
.ov-metric { display:grid; grid-template-columns:minmax(140px,180px) minmax(0,1fr); gap:22px; padding:24px; align-items:center; }
.ov-gauge { width:100%; aspect-ratio:1; position:relative; }
.ov-gauge > svg { display:block; width:100%; height:100%; fill:none; }
.ov-track { stroke:var(--c-band); stroke-width:8; }
.ov-time-track { stroke:var(--line-2); stroke-width:3; stroke-dasharray:2 5; opacity:.65; }
.ov-arc { stroke:var(--ov-amber); stroke-width:8; stroke-linecap:round; }
.ov-energy .ov-arc { stroke:var(--ov-jade); }
.ov-gauge-label { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; text-align:center; }
.ov-gauge-label > span { font-size:11px; color:var(--ink-3); }
.ov-gauge-label b { font-size:48px; letter-spacing:-.05em; font-weight:600; line-height:1.15; font-variant-numeric:tabular-nums; }
.ov-gauge-label small { font-size:17px; color:var(--ink-3); margin-left:4px; }
.ov-card-copy { min-width:0; }
.ov-card-title { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.ov-card-title h2 { font-size:23px; font-weight:650; }
.ov-tag { font-size:11px; padding:4px 10px; border-radius:20px; background:var(--surface-2); color:var(--ink-2); white-space:nowrap; }
.ov-sore-card .ov-tag { background:var(--watch-soft); color:var(--watch-ink); }
.ov-energy-card .ov-tag { background:color-mix(in srgb,var(--ov-jade) 13%,transparent); }
.ov-description { font-size:15px; line-height:1.6; margin:12px 0 4px; font-weight:500; }
.ov-secondary { font-size:11px; color:var(--ink-3); line-height:1.65; margin:0; }
.ov-estimate { display:flex; align-items:center; gap:12px; padding:12px 15px; margin:16px 0 4px; border-radius:11px; background:linear-gradient(100deg,var(--watch-soft),transparent); }
.ov-energy-card .ov-estimate { background:linear-gradient(100deg,color-mix(in srgb,var(--ov-jade) 12%,transparent),transparent); }
.ov-estimate > svg { color:var(--ink-3); flex:none; }
.ov-estimate span { display:block; color:var(--ink-3); font-size:11px; }
.ov-estimate b { font-size:17px; font-weight:500; display:block; margin-top:2px; }
.ov-basis summary { cursor:pointer; min-height:30px; align-content:center; font-size:11px; color:var(--ink-3); }
.ov-basis p { font-size:12px; line-height:1.7; color:var(--ink-2); margin:8px 0; }
.ov-cardio { padding:22px 24px; }
.ov-cardio .ov-card-title h2 { font-size:19px; }
.ov-mini-trend { min-width:0; color:var(--ink-3); font-size:10px; }
.ov-spark { min-height:78px; display:flex; align-items:center; }
.ov-spark svg { max-width:100%; }
.ov-mini-trend > span { display:block; margin-top:4px; text-align:center; }
.ov-cardio-read { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px 8px; margin:8px 0; }
.ov-cardio-read strong { font-size:33px; font-weight:600; line-height:1.2; letter-spacing:-.03em; }
.ov-cardio-read > span { color:var(--ink-3); font-size:11px; }
.ov-cardio-read .ov-cardio-change { flex-basis:100%; color:var(--ink-2); }
.ov-text-link { display:inline-block; font-size:11px; color:var(--ink-2); margin-top:10px; }
.ov-ring-key { font-size:10px; color:var(--ink-3); margin:0 5px; }
.ov-records { padding:18px 22px; margin-top:18px; }
.ov-records-title { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.ov-records-title h2 { font-size:16px; }
.ov-records-title > span { color:var(--ink-3); font-size:11px; }
.ov-record-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:16px; }
.ov-record { display:flex; align-items:flex-start; gap:12px; padding:0 16px; border-left:1px solid var(--line); text-decoration:none; min-width:0; }
.ov-record:first-child { border-left:0; padding-left:0; }
.ov-record:hover { text-decoration:none; }
.ov-record:hover b { color:var(--accent); }
.ov-record-icon { border:1px solid var(--line); border-radius:50%; width:36px; height:36px; display:grid; place-items:center; flex:none; }
.ov-record > div { min-width:0; }
.ov-record span,.ov-record small { font-size:11px; color:var(--ink-3); }
.ov-record b { display:block; font-size:16px; line-height:1.5; color:var(--ink); margin:4px 0; font-weight:600; }
.ov-record small { display:block; line-height:1.7; }
.ov-evidence { margin-top:16px; border-top:1px solid var(--line); padding-top:10px; font-size:12px; color:var(--ink-2); }
.ov-evidence summary { cursor:pointer; min-height:30px; align-content:center; }
.ov-evidence p { color:var(--ink-3); line-height:1.6; }
.rec-checkin { padding:0; }
.rec-checkin > summary { cursor:pointer; padding:20px 24px; font-size:16px; font-weight:600; }
.rec-checkin > .card { border:0; box-shadow:none; margin:0; padding-top:0; }
.rec-overview :focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media (min-width:1600px) { .ov-body-stage { height:465px; } .ov-metric { grid-template-columns:190px minmax(0,1fr); gap:28px; } }
@media (max-width:1150px) {
  .ov-layout { grid-template-columns:minmax(230px,.8fr) minmax(0,1.3fr); gap:12px; }
  .ov-metric { grid-template-columns:125px minmax(0,1fr); padding:20px 16px; gap:14px; }
  .ov-gauge-label b { font-size:38px; }
  .ov-gauge-label > span { font-size:10px; }
  .ov-card-title h2 { font-size:20px; }
  .ov-card-title { gap:7px; }
  .ov-body-stage { height:420px; }
  .ov-record { padding:0 10px; gap:8px; }
  .ov-record-icon { display:none; }
}
@media (max-width:760px) {
  .ov-layout { grid-template-columns:1fr; }
  .ov-body-panel { padding:18px; }
  .ov-body-stage { height:350px; }
  .ov-metric { grid-template-columns:120px minmax(0,1fr); gap:16px; padding:20px 16px; }
  .ov-record-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 0; }
  .ov-record:nth-child(3) { border-left:0; padding-left:0; }
  .ov-selection { max-width:480px; margin:12px auto 0; }
  .ov-region-picker { max-width:480px; margin:auto; }
  .ov-records { padding:18px; }
}
@media (max-width:400px) {
  .ov-metric { grid-template-columns:95px minmax(0,1fr); gap:12px; padding:18px 12px; }
  .ov-gauge-label b { font-size:30px; }
  .ov-gauge-label small { font-size:13px; }
  .ov-gauge-label > span { font-size:9px; }
  .ov-description { font-size:13px; }
  .ov-estimate { padding:10px; gap:8px; }
  .ov-estimate b { font-size:15px; }
  .ov-cardio-read strong { font-size:28px; }
  .ov-record b { font-size:14px; }
}
