.coachsnapshot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}.coachsnapshot>div{padding:18px 14px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}.coachsnapshot strong{display:block;font-size:28px;line-height:1.1;margin-bottom:7px}.coachsnapshot span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.coachnext{margin-bottom:20px}.coachnext h3{margin:12px 0 6px}.coachnext .button{margin-top:12px}.coachathletes .subintro{margin-bottom:18px}.coachathletes .subintro h1{font-size:34px}.coachathletes .subintro p{font-size:13px}.coachathletes #teamlistcard{padding:16px;margin-bottom:16px}.coachathletes #teamlistcard h2{font-size:16px}.coachathletes #teamstatus{font-size:11px;margin:10px 0}.coachathletes .teamidentity{margin:12px 0!important}.coachathletes .teamidentity h1{font-size:24px;line-height:1.2}.coachathletes .teamidentity .teamphoto,.coachathletes .teamidentity .avatar{width:46px;height:46px}.teamcalendarcard{margin-top:16px;padding:20px}.calendarhead{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.calendarhead h2{font-size:18px}.calendarcontrols{display:flex;align-items:center;gap:4px}.calendarcontrols .button{min-width:40px;min-height:44px;padding:6px 10px;font-size:20px}.calendarcontrols .textbutton{min-height:44px;font-size:12px}.calendargrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendarweekday{text-align:center;font-size:10px;color:var(--muted);padding:6px 0}.calendarday{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:48px;min-width:0;padding:5px 0;border:1px solid transparent;border-radius:9px;background:var(--soft);color:var(--ink);font:inherit;font-size:13px;cursor:pointer}.calendarday.istoday{border-color:var(--accent-ink)}.calendarday[aria-pressed=true]{background:var(--accent-ink);color:var(--paper)}.calendardot{height:10px;font-size:7px;line-height:10px;margin-top:3px}.calendarlegend{font-size:10px;color:var(--muted);margin:10px 0 16px}.calendaragenda{border-top:1px solid var(--line);padding-top:16px}.calendaragenda .cardhead h3{font-size:14px}.calendarevent{padding:14px 0;border-bottom:1px solid var(--line)}.calendarevent:last-child{border-bottom:0}.calendarevent h3{font-size:14px}.calendarevent .button{min-height:44px;margin-top:10px}.teaminsights,.teamsettings{border:1px solid var(--line);border-radius:14px;margin:14px 0;padding:0 16px;background:var(--soft)}.teaminsights>summary,.teamsettings>summary{cursor:pointer;min-height:48px;padding:15px 0;font-size:13px;font-weight:600}.teaminsights .card{padding:18px;margin:0 0 14px!important}.teamsettings .profileactions{margin-top:8px}.teamsettings .notice{font-size:11px;margin:8px 0 14px}.coachhome #teamdashboard[data-coach-team=true]>.teamsettings,.coachhome #teamdashboard[data-coach-team=true]>.teaminsights{display:none}.coachhome .teamplanned .session:nth-of-type(n+4){display:none}@media(max-width:600px){.coachsnapshot>div{padding:14px 10px}.coachsnapshot strong{font-size:24px}.coachsnapshot span{font-size:10px}.coachnext,.coachhome #teamlistcard{padding:18px}.coachhome .homeheading h1{font-size:34px}.coachathletes .subintro h1{font-size:30px}.teamcalendarcard{padding:14px}.calendarhead h2{font-size:16px}.calendargrid{gap:3px}.calendarday{min-height:46px}.calendarcontrols .button{min-width:36px}.teaminsights .row{gap:10px;align-items:flex-start}.teaminsights #teamathlete{width:100%;max-width:none!important}}

.teamlistrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0}.teamlistrow>.button{flex:1;text-align:left}.teamdisband{min-height:44px;font-size:12px;white-space:nowrap}.coachathletes #teamlist{display:block}@media(max-width:600px){.teamlistrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.teamlistrow>.button{width:100%;padding:12px}.teamdisband{padding:8px 4px;font-size:11px}}

.coachhome #teamdashboard[data-coach-team=true][data-review-mode=true]>.teaminsights{display:block}
/* Coach Home is the team planning workspace; Athletes is for people and results. */
.coachquickactions{display:flex;flex-wrap:wrap;gap:10px}.coachquickactions .button{white-space:nowrap}.coachteamchoice{display:block;max-width:340px;margin:14px 0 0;font-size:11px}.coachteamchoice[hidden]{display:none}.coachteamchoice select{display:block;margin-top:5px;min-height:44px;width:100%}.coachsummaryline{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:0 0 16px;color:var(--muted);font-size:12px}
:root[data-coach-mode=true] #teamlobby>.subintro,:root[data-coach-mode=true] #teamlistcard,:root[data-coach-mode=true] .teamtabs,:root[data-coach-mode=true] #teamdashboard>.teamidentity,:root[data-coach-mode=true] #teamdashboard>[data-team-back],:root[data-coach-mode=true] #teamdashboard>.blockteamentry{display:none}
:root[data-coach-mode=true] #teams{display:flex;flex-direction:column}:root[data-coach-mode=true] #teams[hidden]{display:none}:root[data-coach-mode=true] #teamdashboard{order:0;display:flex;flex-direction:column}:root[data-coach-mode=true] #teamlobby{order:1;margin-top:18px}:root[data-coach-mode=true] #teamlobby[hidden]{display:none}
.coachhome #teamdashboard[data-coach-team=true]>.teamsettings{display:block;order:3}.coachhome #teamdashboard>#teamgroups{order:2;margin-top:16px}.coachhome #teamdashboard>[data-team-pane=calendar]{order:1}.coachhome #teamdashboard>.teaminsights{display:none!important}.coachhome #teamdashboard>[data-team-pane=calendar] .teamcalendarcard{margin-top:0}
.coachathletes #teamdashboard>.teamsettings,.coachathletes #teamdashboard>#teamgroups,.coachathletes #teamlobby{display:none}.coachathletes .teaminsights{border:0;padding:0;margin:0;background:none}.coachathletes .teaminsights>summary{display:none}.coachathletes [data-team-pane=progress]>.card:first-child .row>div>h2{font-size:18px}.coachathletes .teaminsights .card{margin-bottom:16px!important}
@media(max-width:760px){.coachheading{display:block}.coachquickactions{margin-top:18px!important;display:grid;grid-template-columns:1fr 1fr;width:100%}.coachquickactions .button:first-child{grid-column:1/-1}.coachquickactions .button{width:100%;padding:13px 10px}.coachsummaryline{font-size:11px}.coachteamchoice{max-width:none}.coachhome .homeheading{margin-bottom:16px}}

.coachquickactions[hidden]{display:none}

/* Compact session results on coach Home. */
.coachresults{margin:0 0 18px;padding:22px}.coachresults h2{font-size:20px;margin:4px 0}.coachresults .cardhead{gap:12px;flex-wrap:wrap}.coachresultrow{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.coachresultrow>div{min-width:0}.coachresultrow strong{font-size:15px;overflow-wrap:anywhere}.coachresultrow .meta{font-size:11px;margin:6px 0}.coachresultrow .textbutton{flex-shrink:0;min-height:44px;font-size:12px}.coachresultstatus{font-size:11px;color:var(--muted)}.coachresultstatus.received{color:var(--team-ink,var(--accent-ink));font-weight:700}.coachresults>.hint{font-size:11px;line-height:1.6;margin-top:14px}.coachresults summary{padding:14px 0;cursor:pointer;font-size:12px}.coachresults .small{font-size:9px;letter-spacing:1.5px}@media(max-width:400px){.coachresults{padding:18px}.coachresultrow{align-items:flex-start;flex-wrap:wrap;gap:4px}.coachresultrow>div{flex:1 1 160px}}
#dashboard .coachheading {margin-bottom:14px}
#coachhome #coachday {margin:0 0 6px;font-size:14px}
#dashboard .coachheading h1 {font:650 clamp(32px,7vw,50px)/1.1 system-ui;letter-spacing:-.045em}
#coachhome .coachcover {min-height:clamp(180px,28vw,270px);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;border-radius:16px;background:#35171a linear-gradient(80deg,#180b0de0,transparent);background-image:linear-gradient(80deg,#180b0de0,#2910142b),url('/images/home-track.webp');background-size:cover;background-position:center;color:white}
#coachhome .coachcover h2 {font:700 clamp(32px,7vw,55px)/1.1 system-ui;letter-spacing:-.045em;color:white;margin:0;overflow-wrap:anywhere}
#coachhome .coachcover p {margin:6px 0 0;color:white}
.coachpracticeactions,.practiceresultshead,.practiceresultlabels,#coachpracticeresults summary {display:flex;justify-content:space-between;align-items:center;gap:12px}
.coachpracticeactions {justify-content:flex-start;margin:12px 0 22px}
.coachpracticeactions button,.practicepicker select {min-height:44px}
.practicepicker {display:grid;gap:5px;margin-bottom:12px}
#coachpracticeresults {padding-block:14px 22px}
.practiceresultshead h2 {font-size:21px}
.practiceresultshead span,.practiceresultlabels {font-size:12px;color:var(--muted)}
.practiceresultlabels {margin-top:14px}
#coachpracticeresults summary {cursor:pointer;min-height:44px}
#coachpracticeresults summary span {font-variant-numeric:tabular-nums}
#coachpractice:not([hidden])~#coachquickactions #coachplan {display:none}
