/* Recovery presentation only. Existing values, selected dates and APIs are unchanged. */
html.podium-black-gold #app>.p14-recovery{
 width:100%;max-width:1440px!important;margin-inline:auto;
 padding:24px clamp(14px,2.5vw,36px) 30px;
}
/* The previous outer two-column grid left an empty column on days without sleep. */
html.podium-black-gold .p14-recovery .km-recovery-content{
 display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start;
}
html.podium-black-gold .p14-recovery .km-recovery-content>.v9-card{
 grid-column:1/-1!important;grid-row:auto!important;min-width:0;margin:0;padding:22px;
}
html.podium-black-gold .p14-recovery .v9-card-head{gap:12px;flex-wrap:wrap}
html.podium-black-gold .p14-recovery .v9-card-head h3{font-size:18px;line-height:1.4}
html.podium-black-gold .p14-recovery .v9-card-head .v9-meta{font-size:12px;margin:0}
html.podium-black-gold .p14-recovery .v9-chips{display:flex;gap:8px;margin:14px 0 10px}
html.podium-black-gold .p14-recovery .v9-chip{min-height:44px;min-width:64px;padding:8px 15px}
html.podium-black-gold .p14-recovery .v9-spark{height:clamp(180px,24vw,280px)!important;margin:0}
html.podium-black-gold .p14-recovery .v9-axis{font-size:12px;margin:0 0 14px}
html.podium-black-gold .p14-recovery .v9-table{min-width:0;overflow:auto;max-height:420px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8e774b #151719}
html.podium-black-gold .p14-recovery .v9-tr{flex-shrink:0;min-height:44px;padding:12px 0;font-variant-numeric:tabular-nums}
html.podium-black-gold .p14-recovery .v9-daily-table .v9-tr{grid-template-columns:.85fr 1.15fr 1.15fr .65fr .7fr .7fr;column-gap:8px;font-size:13px}
html.podium-black-gold .p14-recovery .v9-daily-table .v9-tr>span{white-space:nowrap;min-width:0}
html.podium-black-gold .p14-recovery .v9-th{position:sticky;top:0;z-index:1;background:#151719;font-size:12px!important}
html.podium-black-gold .p14-recovery .v9-note{margin-top:16px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
html.podium-black-gold .p14-recovery .v9-empty{font-size:14px;line-height:1.65}
html.podium-black-gold .p14-recovery .km-recovery-detail summary{min-height:44px;display:flex;align-items:center;font-size:16px}
html.podium-black-gold .p14-recovery .km-recovery-detail .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
html.podium-black-gold .p14-recovery .km-recovery-detail .detail-grid b{font-size:14px}
@media(min-width:900px){
 /* Keep the HRV plot and its record table together, using both halves of the screen. */
 html.podium-black-gold .p14-recovery .v9-trend{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);
  grid-template-rows:auto auto 1fr auto auto;gap:0 28px;
 }
 html.podium-black-gold .p14-recovery .v9-trend>.v9-card-head{grid-column:1/-1;grid-row:1;margin-bottom:8px}
 html.podium-black-gold .p14-recovery .v9-trend>.v9-chips{grid-column:1;grid-row:2;align-self:start}
 html.podium-black-gold .p14-recovery .v9-trend>.v9-spark{grid-column:1;grid-row:3;align-self:center}
 html.podium-black-gold .p14-recovery .v9-trend>.v9-axis{grid-column:1;grid-row:4;margin-bottom:0}
 html.podium-black-gold .p14-recovery .v9-trend>.v9-daily-table{grid-column:2;grid-row:2/5;align-self:start;border-left:1px solid #39362d;padding-left:24px}
 html.podium-black-gold .p14-recovery .v9-trend>.v9-note{grid-column:1/-1;grid-row:5}
 html.podium-black-gold .p14-recovery .v9-trend>.v9-empty{grid-column:1;grid-row:3;padding:24px 0}
 html.podium-black-gold .p14-recovery .v9-trend:not(:has(.v9-daily-table))>.v9-empty{grid-column:1/-1}
 html.podium-black-gold .p14-recovery .km-recovery-detail .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:699px){
 html.podium-black-gold #app>.p14-recovery{padding:18px 14px 24px}
 html.podium-black-gold .p14-recovery .km-recovery-content>.v9-card{padding:17px 14px}
 html.podium-black-gold .p14-recovery .v9-card-head h3{font-size:16px}
 html.podium-black-gold .p14-recovery .v9-card-head .v9-meta{font-size:11px}
 html.podium-black-gold .p14-recovery .v9-daily-table .v9-tr{column-gap:4px;font-size:12px}
 html.podium-black-gold .p14-recovery .v9-daily-table .v9-tr{min-width:280px}
 html.podium-black-gold .p14-recovery .v9-weekly-table .v9-tr{min-width:420px}
 html.podium-black-gold .p14-recovery .km-recovery-detail .detail-grid{grid-template-columns:minmax(0,1fr);gap:12px}
}

/* Fold responsive health record editor */
html.podium-black-gold .p14-recovery .v9-health-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.podium-black-gold .p14-recovery .v9-health-form label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#d8d4c9;font-size:13px;font-weight:650}
html.podium-black-gold .p14-recovery .v9-health-form input{width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #514938;border-radius:12px;background:#101112;color:#f5f1e8;font:inherit;font-size:16px;color-scheme:dark}
html.podium-black-gold .p14-recovery .v9-health-edit .v9-save{margin-top:16px;min-height:48px;padding:0 20px;border:1px solid #c4a76a;border-radius:12px;background:#47391e;color:#f6e4b8;font:inherit;font-weight:750}
html.podium-black-gold .p14-recovery .v9-health-edit .v9-save:focus-visible,html.podium-black-gold .p14-recovery .v9-health-form input:focus-visible{outline:3px solid #e8c56d;outline-offset:2px}
@media(max-width:699px){html.podium-black-gold .p14-recovery .v9-health-form{grid-template-columns:minmax(0,1fr)}}
