.statistics-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:18px 0 4px;padding:5px;border:1px solid var(--rc-border,var(--line));border-radius:14px;background:var(--rc-surface-subtle,var(--paper-soft))}
.statistics-tabs button{min-height:38px;padding:7px 12px;border:0;border-radius:10px;background:transparent;color:var(--rc-text-muted,var(--muted));font-size:.78rem;font-weight:820}
.statistics-tabs button[aria-selected=true]{background:var(--rc-surface,var(--card));color:var(--rc-primary,var(--green));box-shadow:0 4px 14px rgba(0,0,0,.1)}
[data-stat-panel][hidden]{display:none!important}
.athlete-profile-section{padding-top:28px}
.athlete-profile-head{display:flex;align-items:center;margin-bottom:12px}
.athlete-profile-head>div{display:flex;align-items:center;gap:11px}
.athlete-profile-head h2{margin:0;font-size:25px;letter-spacing:-.02em}
.athlete-profile-head p{margin:0;color:var(--rc-text-muted,var(--muted))}
.athlete-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.athlete-zone-card{min-width:0;padding:17px 18px 14px;border:1px solid var(--rc-border,var(--line));border-radius:17px;background:linear-gradient(145deg,var(--rc-surface,var(--card)),color-mix(in srgb,var(--rc-surface,var(--card)) 95%,var(--rc-primary-soft,var(--green-soft))));box-shadow:var(--shadow)}
.athlete-zone-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:11px}
.athlete-zone-title h3{margin:2px 0 0;font-size:.96rem}
.zone-anchor{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:color-mix(in srgb,var(--rc-primary,var(--green)) 10%,transparent);color:var(--rc-primary,var(--green));font-size:.6rem;font-weight:850;white-space:nowrap}
.athlete-zone-list{display:grid;gap:6px}
.athlete-zone-row{display:grid;grid-template-columns:minmax(76px,.8fr) minmax(90px,.95fr) minmax(90px,1.25fr) 38px;align-items:center;gap:8px;min-height:27px}
.athlete-zone-row>span{overflow:hidden;font-size:.69rem;font-weight:820;text-overflow:ellipsis;white-space:nowrap}
.athlete-zone-row>small{color:var(--rc-text-muted,var(--muted));font-size:.65rem;white-space:nowrap}
.athlete-zone-row>b{text-align:right;font-size:.69rem;font-variant-numeric:tabular-nums}
.athlete-zone-track{height:9px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--rc-border,var(--line)) 78%,transparent)}
.athlete-zone-fill{display:block;height:100%;min-width:2px;border-radius:inherit;background:var(--zone-color,var(--rc-primary,var(--green)))}
.athlete-zone-fill.is-zero{min-width:0}
.pace-zone-card .athlete-zone-row:nth-child(1){--zone-color:#6dafa3}.pace-zone-card .athlete-zone-row:nth-child(2){--zone-color:#83c5a2}.pace-zone-card .athlete-zone-row:nth-child(3){--zone-color:#75a9cb}.pace-zone-card .athlete-zone-row:nth-child(4){--zone-color:#d7a34a}.pace-zone-card .athlete-zone-row:nth-child(5){--zone-color:#df735b}
.hr-zone-card .athlete-zone-row:nth-child(1){--zone-color:#72b7ad}.hr-zone-card .athlete-zone-row:nth-child(2){--zone-color:#7fc6a2}.hr-zone-card .athlete-zone-row:nth-child(3){--zone-color:#7da9d0}.hr-zone-card .athlete-zone-row:nth-child(4){--zone-color:#d49c53}.hr-zone-card .athlete-zone-row:nth-child(5){--zone-color:#df6b68}
.athlete-zone-note{display:block;margin-top:10px;padding-top:8px;border-top:1px solid var(--rc-border,var(--line));color:var(--rc-text-muted,var(--muted));font-size:.61rem;line-height:1.35}
.athlete-zone-empty{margin:16px 0;color:var(--rc-text-muted,var(--muted));font-size:.72rem}

@media(max-width:760px){
 .statistics-tabs{display:none!important}
 html.mobile-app body.mobile-statistics.mobile-statistics-profile #trend-content{grid-template-rows:39px minmax(0,1fr)}
 html.mobile-app body.mobile-statistics .mobile-stat-stage>.athlete-profile-section{display:grid;min-height:0;grid-template-rows:auto minmax(0,1fr);gap:5px;padding:0!important}
 html.mobile-app body.mobile-statistics .athlete-profile-head{display:flex;min-height:24px;margin:0;padding:0 2px}
 html.mobile-app body.mobile-statistics .athlete-profile-head .section-number{display:none}
 html.mobile-app body.mobile-statistics .athlete-profile-head h2{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}
 html.mobile-app body.mobile-statistics .athlete-profile-head p{font-size:.55rem}
 html.mobile-app body.mobile-statistics .athlete-profile-grid{display:grid;height:100%;grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:7px}
 html.mobile-app body.mobile-statistics .athlete-zone-card{display:flex;min-height:0;flex-direction:column;padding:9px 10px 8px;border-radius:13px;overflow:hidden}
 html.mobile-app body.mobile-statistics .athlete-zone-title{align-items:center;margin-bottom:5px}
 html.mobile-app body.mobile-statistics .athlete-zone-title h3{display:none}
 html.mobile-app body.mobile-statistics .athlete-zone-title .eyebrow{font-size:.58rem}
 html.mobile-app body.mobile-statistics .zone-anchor{padding:2px 6px;font-size:.51rem}
 html.mobile-app body.mobile-statistics .athlete-zone-list{flex:1;align-content:center;gap:2px}
 html.mobile-app body.mobile-statistics .athlete-zone-row{grid-template-columns:minmax(69px,.8fr) minmax(78px,.9fr) minmax(70px,1.15fr) 32px;gap:5px;min-height:23px}
 html.mobile-app body.mobile-statistics .athlete-zone-row>span{font-size:.61rem}
 html.mobile-app body.mobile-statistics .athlete-zone-row>small{font-size:.56rem}
 html.mobile-app body.mobile-statistics .athlete-zone-row>b{font-size:.61rem}
 html.mobile-app body.mobile-statistics .athlete-zone-track{height:8px}
 html.mobile-app body.mobile-statistics .athlete-zone-note{margin-top:4px;padding-top:5px;font-size:.51rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:360px){
 html.mobile-app body.mobile-statistics .athlete-zone-row{grid-template-columns:65px 78px minmax(58px,1fr) 30px;gap:4px}
 html.mobile-app body.mobile-statistics .athlete-zone-row>span{font-size:.57rem}
 html.mobile-app body.mobile-statistics .athlete-zone-row>small,html.mobile-app body.mobile-statistics .athlete-zone-row>b{font-size:.53rem}
}

/* Five-zone spectrum profile and monthly comparison. */
body.trends-page .athlete-profile-section{overflow:auto!important;scrollbar-width:thin}
body.trends-page .profile-spectrum-intro,body.trends-page .profile-monthly-head{display:flex;align-items:end;justify-content:space-between;gap:18px}
body.trends-page .profile-spectrum-intro{margin:2px 2px 10px}
body.trends-page .profile-spectrum-intro h3,body.trends-page .profile-monthly-head h3{margin:3px 0 0;font-size:1rem}
body.trends-page .profile-spectrum-intro>p,body.trends-page .profile-monthly-head>p{max-width:48ch;margin:0;color:var(--rc-copy-muted,var(--muted));font-size:.68rem;text-align:right}
body.trends-page .athlete-standard-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
body.trends-page .athlete-standard-card{position:relative;display:flex;min-height:142px;flex-direction:column;padding:12px 12px 10px;border:1px solid rgba(255,255,255,.12);border-radius:9px;box-shadow:none;color:#f6f4ec;overflow:hidden}
body.trends-page .athlete-standard-card.zone1{background:linear-gradient(145deg,#63b18a,#396c52)}
body.trends-page .athlete-standard-card.zone2{background:linear-gradient(145deg,#5e99cf,#355f87)}
body.trends-page .athlete-standard-card.zone3{background:linear-gradient(145deg,#d2ae48,#9a792c);color:#0b100d}
body.trends-page .athlete-standard-card.zone4{background:linear-gradient(145deg,#dd773d,#a64e27)}
body.trends-page .athlete-standard-card.zone5{background:linear-gradient(145deg,#c85250,#8f343b)}
body.trends-page .athlete-standard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin:0}
body.trends-page .athlete-standard-head h3{margin:0;font-size:.78rem}
body.trends-page .athlete-standard-head span{display:block;margin-top:2px;color:currentColor;font-size:.54rem;font-weight:700;opacity:.75;text-transform:none}
body.trends-page .athlete-standard-head>b{font-size:1.05rem;font-variant-numeric:tabular-nums}
body.trends-page .athlete-standard-metrics{display:grid;grid-template-columns:1fr;gap:5px;margin:10px 0 7px;padding-top:8px;border-top:1px solid rgba(255,255,255,.18)}
body.trends-page .athlete-standard-card.zone3 .athlete-standard-metrics{border-top-color:rgba(0,0,0,.18)}
body.trends-page .athlete-standard-metrics div{display:flex;align-items:baseline;justify-content:space-between;gap:7px}
body.trends-page .athlete-standard-metrics small{color:currentColor;font-size:.5rem;font-weight:750;opacity:.72;text-transform:uppercase}
body.trends-page .athlete-standard-metrics b{font-size:.65rem;text-align:right;white-space:nowrap}
body.trends-page .athlete-standard-card>p{flex:1;margin:0;color:currentColor;font-size:.59rem;line-height:1.35;opacity:.84}
body.trends-page .zone-threshold{margin-top:6px;color:currentColor;font-size:.5rem;font-weight:800;letter-spacing:.04em;opacity:.75;text-transform:uppercase}
body.trends-page .profile-monthly-card{margin-top:12px;padding:12px 14px 10px;border:1px solid var(--rc-line,var(--line));border-radius:12px;background:var(--rc-panel,var(--card))}
body.trends-page .profile-monthly-head{margin-bottom:9px}
body.trends-page .profile-month-table{display:grid;gap:2px}
body.trends-page .profile-month-row{display:grid;grid-template-columns:110px repeat(5,minmax(0,1fr));gap:2px;min-height:36px}
body.trends-page .profile-month-row>*{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:5px;padding:5px 8px;background:rgba(10,18,14,.54)}
body.trends-page .profile-month-header{min-height:24px}
body.trends-page .profile-month-header>*{justify-content:center;color:var(--rc-copy-muted,var(--muted));font-size:.52rem;font-weight:850;letter-spacing:.055em;text-transform:uppercase}
body.trends-page .profile-month-header>span:first-child{justify-content:flex-start}
body.trends-page .profile-month-header .zone1{border-top:2px solid #65b58b}.profile-month-header .zone2{border-top:2px solid #5e9bd3}.profile-month-header .zone3{border-top:2px solid #d8b34e}.profile-month-header .zone4{border-top:2px solid #df7b3f}.profile-month-header .zone5{border-top:2px solid #cb5451}
body.trends-page .profile-month-label{display:grid;justify-content:start}
body.trends-page .profile-month-label b{font-size:.66rem}body.trends-page .profile-month-label small{color:var(--rc-copy-muted,var(--muted));font-size:.5rem}
body.trends-page .profile-month-cell b{font-size:.72rem;font-variant-numeric:tabular-nums}
body.trends-page .profile-month-cell small{font-size:.5rem;font-variant-numeric:tabular-nums;white-space:nowrap}
body.trends-page .profile-month-cell.zone1{background:rgba(101,181,139,.12)}body.trends-page .profile-month-cell.zone2{background:rgba(94,155,211,.12)}body.trends-page .profile-month-cell.zone3{background:rgba(216,179,78,.12)}body.trends-page .profile-month-cell.zone4{background:rgba(223,123,63,.12)}body.trends-page .profile-month-cell.zone5{background:rgba(203,84,81,.12)}
body.trends-page .profile-month-cell small.up,body.trends-page .profile-month-cell small.down,body.trends-page .profile-month-cell small.flat,body.trends-page .profile-month-cell small.baseline{color:var(--rc-copy-muted,var(--muted))}
body.trends-page .athlete-profile-section>.athlete-zone-note{margin:7px 1px 0;padding:0;border:0}

@media(min-width:761px) and (max-height:800px){
 body.trends-page .athlete-standard-card{min-height:124px;padding-block:9px}
 body.trends-page .profile-month-row{min-height:31px}
}

@media(max-width:980px) and (min-width:761px){
 body.trends-page .athlete-standard-grid{grid-template-columns:repeat(5,minmax(130px,1fr));overflow-x:auto}
 body.trends-page .profile-month-row{grid-template-columns:90px repeat(5,minmax(105px,1fr))}
 body.trends-page .profile-month-comparison{overflow-x:auto}
}
