/* Athlete Progress, scoped away from coach results. */
#progress>.subintro{margin:20px 0}
#progress>.subintro h1{font-size:32px;line-height:1.15;letter-spacing:-1px}
#progress>.segmented{max-width:700px;margin-bottom:20px}
#progress .progresspane>.card{padding:22px;border-radius:16px;box-shadow:none}
#progress #graphview .cardhead h2{font-size:20px;letter-spacing:-.4px}
#progress .graphprimary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;background:var(--field);border:1px solid var(--line);border-radius:12px;margin:0 0 12px}
#progress #graphview label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}
#progress #graphview select{width:100%;min-width:0;min-height:44px;font-size:16px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--card);color:var(--ink)}
#progress .graphoptions{margin:0;padding:0 0 10px;border-bottom:1px solid var(--line)}
#progress .graphoptions>summary{min-height:44px;padding:12px 0;font-size:12px;line-height:1.5;cursor:pointer}
#progress .graphoptions>.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:8px 0 12px}
#progress .graphoptions>.fields>div{min-width:0}
#progress #graphsummary{padding:0;background:transparent;font-size:12px;line-height:1.6;margin:18px 0}
#progress #graphsummary:empty{display:none}
#progress .trendhighlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
#progress .trendhighlights>div{display:flex;flex-direction:column;gap:5px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--field)}
#progress .trendhighlights span{font-size:11px;color:var(--muted);line-height:1.5}
#progress .trendhighlights strong{font-size:34px;line-height:1.2;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:var(--ink)}
#progress .trendhighlights strong small{font-size:15px;font-weight:500;margin-left:4px;letter-spacing:0;color:var(--muted)}
#progress #graphsummary .notice{font-size:12px;line-height:1.7;color:var(--muted)}
#progress #trendchart{padding:12px 0;border-block:1px solid var(--line)}
#progress #trendchart .trendline{stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
#progress #trendchart .trendgrid{stroke-dasharray:3 5}
#progress #graphdetail{padding:16px;margin-top:16px;border-radius:12px;background:var(--field)}
#progress #graphdetail>b{font-size:15px}
#progress #graphdetail .meta{font-size:11px;color:var(--muted);line-height:1.6;margin:7px 0 12px}
#progress #graphdetail .splits{gap:8px}
#progress #graphdetail .split{padding:9px 12px;font-size:17px;border-radius:9px;border:1px solid var(--line);background:var(--card);font-variant-numeric:tabular-nums}
#progress #graphdetail .notice,#progress #graphview>.card>.notice{font-size:12px;line-height:1.7}
#progress .graphtable td:nth-child(2){font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
#progress .graphtable button{min-height:44px}
#progress #graphview :is(select,summary,button):focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}
@media(max-width:540px){#progress .progresspane>.card{padding:18px}#progress .graphprimary{padding:12px;gap:10px}#progress .trendhighlights{gap:8px}#progress .trendhighlights>div{padding:12px}#progress .trendhighlights strong{font-size:28px}#progress>.subintro h1{font-size:29px}#progress .graphoptions>.fields{grid-template-columns:minmax(0,1fr)}}
#progress #graphview>.card{background:transparent;border:0;padding:0}
#progress #distancetabs{display:flex;gap:20px;overflow:auto}
#distancetabs button{min-height:44px;flex:none;padding:0 3px;background:none;border:0;border-bottom:2px solid transparent;color:var(--ink);font:600 16px system-ui;cursor:pointer}
#distancetabs button[aria-pressed=true]{border-color:var(--accent-ink)}
#progress #graphsummary:not(:empty){display:grid;gap:4px;margin:22px 0}
#progress #graphsummary strong{font:680 clamp(44px,9vw,68px)/1.1 system-ui;letter-spacing:-.055em}
#progress #graphsummary span,#progress #graphsummary small{font-size:14px}
#progress .trendcontrols{display:flex;align-items:center;justify-content:space-between;gap:12px}
#progress #graphview .trendcontrols label{font-size:19px}
#progress #graphview #graphstat{width:auto;background:transparent}
#progress #trendchart{border:0}
#progress #graphdetail:empty{display:none}
#progress #graphtable caption{text-align:left;font-size:18px;font-weight:650;padding-block:12px}
#athletehistory{max-width:740px;margin:18px auto 30px}
#coachathletes:has(#athletehistory[data-detail])>.subintro,#athletehistory[data-detail]~#coachathletesworkspace{display:none}
#athletehistory .historymember,#athletehistory summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;text-align:left}
#athletehistory button{cursor:pointer}
.historymember{width:100%;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);font:inherit}
.historymember small,.historysplits small{display:block;color:var(--muted)}
#historyname,.historytitle{font:650 clamp(32px,7vw,48px)/1.1 system-ui;letter-spacing:-.045em;overflow-wrap:anywhere}
.historyback{min-height:44px;margin-bottom:16px}
.historydistances{display:flex;gap:12px;overflow:auto;margin-block:18px}
.historydistances button{flex:none;background:none;color:var(--ink);border:0;border-bottom:2px solid transparent;min-height:44px;padding:6px;font:inherit}
.historydistances button[aria-pressed=true]{border-color:var(--accent-ink);font-weight:700}
#athletehistory h3{margin:26px 0 12px}
.historysplits{display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:12px;margin:10px 0;padding:0;list-style:none}
.historysplits strong{font-size:21px;font-variant-numeric:tabular-nums}
#athletehistory details summary{cursor:pointer;border-bottom:1px solid var(--line);font-size:14px}
#athletehistory .historyreview{min-height:44px;color:var(--accent-ink)}
.coachsplitreview{width:100%;margin:1.75rem 0;border-collapse:collapse;font-variant-numeric:tabular-nums}
.coachsplitreview :is(td,th){text-align:left;padding:.85rem .25rem;border-bottom:1px solid var(--line)}
.coachsplitreview tbody th{font-weight:400}
.historyfast{color:var(--accent-ink);font-weight:700}
.coachfeedbackform label{font-size:1.35rem;font-weight:700}
.coachfeedbackform textarea{width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;color:var(--ink);padding:.75rem 0;font:inherit}
.coachfeedbackform p{overflow-wrap:anywhere}
.coachfeedbackform .button{margin-top:1rem;min-height:46px;background:#bd071c;color:white}
