/* Shared workspace: quiet aquatic colours, clear type, compact social actions. */
body:has(.swimmer-tabs),body.coach-dashboard{background:#f1f5f8;color:#19374a}
main>.wrap{max-width:1180px}.community-heading{padding:28px 30px;background:#123e52;border-radius:20px;color:#fff;position:relative;overflow:hidden;margin-top:12px}.community-heading:after{content:"";position:absolute;right:-65px;bottom:-150px;width:340px;height:230px;border:1px solid #ffffff24;border-radius:50%;transform:rotate(-15deg);pointer-events:none}.community-heading h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.035em;color:#fff}.community-heading p{color:#d1e5ec;margin-bottom:0;max-width:650px}.community-heading .dashboard-eyebrow{color:#8ed9dd;margin-top:0;margin-bottom:9px}.community-heading .private-pill{background:#ffffff12;color:#d6f7e9;border-color:#ffffff30;position:relative;z-index:1}.timeline-layout{grid-template-columns:225px minmax(0,760px);justify-content:center;gap:24px}.timeline-guide{background:#fff;border:1px solid #dce6eb;border-radius:16px;padding:23px;position:sticky;top:24px}.community-kicker{font-size:10px;font-weight:700;letter-spacing:.14em;color:#0a7987}.timeline-guide h3{font-size:23px;line-height:1.2;letter-spacing:-.02em;margin-top:12px}.timeline-guide ul{border-top:1px solid #e4ecef;padding-top:18px;font-size:13px}.timeline-composer,.timeline-post{border-color:#dce6eb;box-shadow:0 3px 12px #123e5205}.timeline-composer{padding:20px 24px}.timeline-composer h3{font-size:18px;margin-bottom:8px}.timeline-identity-note{font-size:12px;margin-bottom:14px}.timeline-composer textarea{border-radius:12px;background:#f6f9fb;border-color:#d9e5ec}.timeline-composer .actions{margin-top:10px}.timeline-composer input[type=file]{background:#fff;border-style:dashed;padding:9px}.timeline-media-fields small{font-size:11px}.timeline-feed-heading h3{font-size:17px;letter-spacing:-.02em}.timeline-feed-heading button{font-size:13px;min-height:32px;padding:5px 10px}.timeline-author{margin-bottom:14px}.timeline-avatar{width:46px;height:46px}.timeline-author strong{font-size:15px}.timeline-body{font-size:15px;line-height:1.7}.timeline-post{padding:22px 24px}.timeline-interactions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:14px;overflow-x:auto;border-top:1px solid #e6edf1;padding-top:9px}.timeline-interactions>.timeline-link{flex:0 0 auto;white-space:nowrap;font-size:13px;padding:5px 0!important}.timeline-interactions>.timeline-link:nth-child(3){margin-left:auto}.timeline-interactions>.timeline-link:last-child:not(:nth-child(2)){color:#94606b}.timeline-interactions>[aria-pressed=true]{color:#bb3560}.timeline-comment{border:1px solid #e5edf1;background:#f6f9fb}.timeline-comment-form{background:#f5f8fa}.timeline-setting{background:#fff;border:1px solid #dce6eb;font-size:13px;padding:10px 16px}.timeline-setting [role=switch]{background:#e7f5f0!important;color:#126b55;border-radius:20px;padding:5px 12px!important}.timeline-setting [aria-checked=false]{background:#f0f2f5!important;color:#596b75}.push-settings{border-width:1px;box-shadow:none;padding:16px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 20px;align-items:center}.push-settings strong{font-size:16px}.push-settings p{font-size:13px}.push-settings .push-status{grid-column:1;margin-bottom:0}.push-settings .actions{grid-column:2;grid-row:1 / span 2;max-width:300px}.push-settings .actions button{font-size:13px;min-height:38px;padding:8px 12px}.membership-options{margin-top:18px;border-top:1px solid #e2eaf0;padding-top:14px}.membership-options summary{font-size:14px;color:#536a79;cursor:pointer}.membership-options p{font-size:13px;max-width:620px}.membership-cancel{color:#9a3546!important}#pending-request-actions[hidden],#cancel-join[hidden],#leave-club[hidden]{display:none!important}
/* Coach hierarchy: club masthead, metrics, navigation and task panels. */
.coach-dashboard .club-bar{padding:28px 30px;background:#fff;border:1px solid #dce6eb;border-radius:18px;box-shadow:0 3px 12px #15374e04}.coach-dashboard .club-bar h1{font-size:30px}.coach-dashboard .club-bar .sub{color:#657b89;font-size:14px}.coach-dashboard .club-bar #signout{font-size:13px;border:1px solid #dce6eb;background:#fff;color:#536b7c;padding:7px 13px;min-height:34px}.coach-metrics{gap:14px;margin-bottom:20px}.coach-metrics>div{border-top:0;position:relative;padding:19px 24px;border-radius:14px;background:#fff}.coach-metrics>div:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:3px;background:#15949c;border-radius:0 3px 3px 0}.coach-metrics span{font-size:12px;letter-spacing:.015em}.coach-metrics strong{font-size:28px;color:#153e53;margin-top:6px}.coach-dashboard .coach-tabs,.swimmer-tabs{background:#fff;border:1px solid #dce6eb;border-radius:12px;padding:5px;gap:4px;margin-bottom:24px}.coach-dashboard .coach-tabs button,.swimmer-tabs [role=tab]{border:0!important;border-radius:8px;font-size:14px;padding:10px 16px;color:#5b7281}.coach-dashboard .coach-tabs button[aria-pressed=true],.swimmer-tabs [aria-selected=true]{background:#e6f3f5;color:#086e7b}.coach-dashboard .section-heading h2{font-size:23px;letter-spacing:-.025em}.coach-dashboard .section-heading p{font-size:14px;max-width:650px}.coach-dashboard .coach-filters{padding:19px 22px;background:#fff;border-color:#dce6eb;gap:18px}.coach-dashboard .field label{font-size:13px;color:#435f70}.coach-dashboard .field input,.coach-dashboard .field select{min-height:44px;border-color:#d0dee7;background:#fbfdfe;border-radius:9px}.coach-dashboard #roster .list-strip li{border-color:#dce6eb;box-shadow:0 2px 6px #19374a03;transition:border-color .15s}.coach-dashboard #roster .list-strip li:hover{border-color:#85b7c0}.coach-dashboard .ls-main b{font-size:16px}.coach-dashboard .ls-sub{font-size:13px}.coach-dashboard .panel{border-color:#dce6eb;border-radius:16px}.coach-dashboard .account-grid{gap:18px}.coach-dashboard .account-grid summary{font-size:16px}.coach-dashboard .coach-profile-cover{background:#123e52}.coach-dashboard .coach-profile-editor{box-shadow:none}.coach-dashboard #joinpanel{background:#f9fcfd}.coach-dashboard #joinlink{font-size:14px;background:#edf5f7;border:1px dashed #bdd7df}.coach-dashboard .recovery-reminder{font-size:13px;border-radius:10px}.coach-dashboard .message-workspace{border-color:#dce6eb;box-shadow:none}
@media(max-width:900px){.timeline-layout{grid-template-columns:minmax(0,1fr)}.timeline-guide{display:none}.community-heading{padding:23px}.push-settings{display:block}.push-settings .actions{max-width:none;margin-top:12px}.coach-dashboard .club-bar{padding:22px}.coach-dashboard .club-bar h1{font-size:26px}}
@media(max-width:600px){.timeline-post,.timeline-composer{padding:16px}.timeline-interactions{gap:11px}.timeline-interactions>.timeline-link{font-size:12px}.community-heading{padding:20px;border-radius:16px}.community-heading .private-pill{font-size:10px;padding:5px 8px}.coach-metrics{gap:8px}.coach-metrics>div{padding:14px 12px}.coach-metrics span{font-size:11px}.coach-metrics strong{font-size:25px}.coach-dashboard .club-bar{padding:18px}.push-settings .actions button{width:auto}.coach-dashboard .section-heading h2{font-size:21px}}
@media print{.membership-options,.timeline-setting{display:none!important}}
/* Release 38: soft sky-blue surfaces and compact coach conversations. */
body:has(.swimmer-tabs),body.coach-dashboard{background:#f2f8fc;color:#213e55;--accent:#1676b6;--accent-press:#115b90;--accent-tint:#eaf5fd}.community-heading{background:linear-gradient(115deg,#e2f3fd,#f4fbff);border:1px solid #cce4f4;color:#214e70}.community-heading h2{color:#214e70}.community-heading p{color:#4d6e86}.community-heading .dashboard-eyebrow{color:#3678a7}.community-heading:after{border-color:#83bed54d}.community-heading .private-pill{color:#386a8d;background:#ffffffa6;border-color:#bedbeb}.community-kicker,.timeline-guide h3{color:#2e6892}.timeline-link,.timeline-detected-link{color:#246da2}.timeline-setting [role=switch]{background:#e7f3fd!important;color:#246b9e}.timeline-guide,.timeline-post,.timeline-composer{border-color:#d6e6f1}.timeline-avatar{background:#e7f3fc;color:#2a709e}.timeline-comment,.timeline-comment-form{background:#f3f8fc}.timeline-comments[hidden]{display:none!important}.push-settings{background:#ecf7ff;border-color:#bedff4;color:#254f6b}.push-settings .push-status{color:#366b91;border-left-color:#80b7dc}.push-settings [data-push-enable]:not(:disabled){background:#1676b6!important;border-color:#1268a2!important;box-shadow:none}.coach-dashboard .btn-primary,.swimmer-tab-panel .btn-primary{background:#1676b6;border-color:#1676b6}.coach-dashboard .coach-tabs button[aria-pressed=true],.swimmer-tabs [aria-selected=true]{background:#e6f3fd;color:#226fa5}.coach-metrics>div:before{background:#6cadd7}.coach-dashboard .coach-profile-cover{background:linear-gradient(120deg,#e4f3fc,#f4faff);color:#234e6b;border-bottom:1px solid #cee3f1}.coach-profile-cover h2{color:#234e6b}.coach-profile-cover span,.coach-profile-cover p{color:#527993}.coach-dashboard .dashboard-eyebrow{color:#3a7aa8}
#view-coach{max-width:960px;margin-inline:auto}.coach-profile-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;margin:16px 0 22px}.coach-profile-card{display:grid;grid-template-columns:72px minmax(0,1fr);gap:5px 17px;align-content:start;padding:22px;border-top:3px solid #9fceec;border-radius:15px;box-shadow:none}.coach-profile-card .coach-portrait{grid-column:1;grid-row:1 / span 3;width:72px;height:72px;border-width:2px;box-shadow:0 0 0 1px #d4e5f1;font-size:23px}.coach-profile-card h3{grid-column:2;margin:3px 0 0;font-size:20px;line-height:1.3}.coach-profile-card .coach-club{grid-column:2;margin:0;color:#407ca7;font-size:13px}.coach-profile-card>p:not(.coach-club){grid-column:1 / -1;font-size:14px;line-height:1.6;margin:12px 0 0}.coach-profile-card dl{grid-column:1 / -1;display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 16px;background:#f4f9fd;padding:15px 17px;margin:12px 0 6px;border-radius:10px}.coach-profile-card dt{font-size:10px;margin:3px 0 0!important;letter-spacing:.06em;color:#607e92}.coach-profile-card dd{font-size:14px;margin:0;line-height:1.5}.coach-profile-card .btn{grid-column:2;justify-self:start;width:auto;min-height:36px;padding:7px 16px;border-radius:8px;font-size:13px;margin:5px 0 0}.coach-profile-editor .coach-profile-cover{padding:23px 26px}.coach-profile-editor .coach-profile-cover h2{font-size:26px;margin:8px 0 4px}.coach-profile-editor .coach-profile-photo-row{gap:18px;padding-bottom:18px;margin-bottom:18px}.coach-profile-editor .coach-portrait{width:92px;height:92px}.coach-profile-editor textarea{min-height:86px}.coach-profile-editor .field{margin-bottom:13px}
#coach-messages{max-width:920px;margin-inline:auto}.message-workspace,.coach-dashboard .message-workspace{padding:18px 20px;border-radius:14px;border-color:#d3e4f0;box-shadow:none}.message-toolbar{flex-direction:row;align-items:flex-end;gap:10px}.message-toolbar .field{max-width:460px;min-width:0;flex:1}.message-toolbar label{font-size:12px;color:#53758c;margin-bottom:5px}.message-toolbar select,.coach-dashboard .message-toolbar select{font-size:14px;min-height:38px;height:40px;padding:7px 10px;background:#fbfdff;border-color:#cbdfea}.message-toolbar button{font-size:12px;min-height:36px;padding:7px 12px;border-radius:8px}.message-thread-heading{margin-top:12px;padding-top:12px}.message-thread-heading h3{font-size:16px}.message-thread-heading span{font-size:10px;background:#edf6fd;color:#487a9e;padding:4px 8px}.message-list{height:auto;min-height:100px;max-height:300px;gap:8px;padding:12px;margin:12px 0;background:#f4f9fd;border:1px solid #e2edf5;border-radius:10px}.message-bubble{max-width:82%;padding:8px 12px;border-color:#d5e6f1}.message-bubble.mine{background:#e4f2ff;border-color:#c4dff3}.message-bubble p{font-size:14px;margin:3px 0 5px;line-height:1.5}.message-bubble small{font-size:10px;color:#648098}.message-bubble strong{font-size:11px;color:#437397}.message-empty{padding:15px;font-size:13px}#message-notice:empty{display:none}.message-workspace #message-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;align-items:center}.message-workspace #message-form>label{grid-column:1 / -1;font-size:12px;color:#53758c;margin:0}.message-workspace #message-text{min-height:40px;height:42px;max-height:130px;padding:9px 12px;font-size:14px;border-color:#c9deed;background:#fff;resize:vertical}.message-compose-bottom{display:contents}.message-compose-bottom small{grid-column:1 / -1;grid-row:3;font-size:10px;margin:0}.message-compose-bottom button{grid-column:2;grid-row:2;font-size:13px;padding:8px 15px;min-height:40px;border-radius:8px}.message-toolbar select:focus,.message-workspace textarea:focus{outline-color:#d4eaf9;border-color:#81b7dd}
@media(max-width:600px){.coach-profile-card{padding:17px;grid-template-columns:58px minmax(0,1fr);gap:5px 12px}.coach-profile-card .coach-portrait{width:58px;height:58px}.coach-profile-card h3{font-size:18px}.coach-profile-card dl{grid-template-columns:1fr;gap:3px;padding:12px}.coach-profile-card dt:not(:first-child){margin-top:8px!important}.coach-profile-card .btn{grid-column:1 / -1}.message-workspace,.coach-dashboard .message-workspace{padding:14px}.message-list{min-height:90px;max-height:260px}.message-toolbar{flex-direction:row}.message-toolbar button{padding:7px 9px}.message-bubble{max-width:92%}.coach-profile-editor .coach-profile-cover{padding:20px}}

/* Private-message notifications remain conspicuous on mobile. */
.private-message-alert:not([hidden]){display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;box-sizing:border-box;background:#9f1239!important;color:#fff!important;border:2px solid #881337!important;border-radius:12px;padding:12px 16px;font-size:15px;font-weight:750;line-height:1.5;box-shadow:0 3px 10px #9f123925;cursor:pointer;white-space:normal;text-align:center}.private-message-alert:hover{background:#881337!important}.private-message-alert:focus-visible{outline:3px solid #0284c7;outline-offset:3px}.swimmer-tabs .unread-badge,.coach-tabs .unread-badge,.member-person .unread-badge{background:#be123c!important;color:white!important;border:2px solid white;min-width:22px;font-weight:800}.private-message-alert[hidden]{display:none!important}
