@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@400;700&display=swap');
body.site-shell {padding-top:0!important; margin:0;}
body.site-shell > .container {padding-top:16px!important;}
body .site-header {position:relative; inset:auto; box-sizing:border-box; width:100%; padding:16px 24px; background:#121e16; color:#eef5ef; text-align:left; font:16px/1.45 Inter,Arial,sans-serif; z-index:50;}
.site-header *, .site-header *::before, .site-header *::after {box-sizing:border-box;}
body .site-header .header-top {display:flex; align-items:center; justify-content:space-between; gap:16px; padding:0; margin:0 0 10px; font:inherit;}
body .site-header .calendar-brand {display:block; color:#9bef63; text-decoration:none; font:32px Orbitron,sans-serif;}
body .site-header .calendar-brand small {display:block; margin-top:5px; font:10px Inter,Arial,sans-serif; color:#a6b9ac; letter-spacing:1.8px;}
.site-header > div:not(.header-top) {height:auto!important; min-height:44px; flex-wrap:wrap;}
body .site-header .desktop-header-links {display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; padding:0; justify-content:flex-start;}
body .site-header .desktop-header-links a, body .site-header .logout-link {display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:11px 14px; border:0; border-radius:7px; background:transparent; color:#c3d2c7; text-decoration:none; font:500 16px/1.35 Inter,Arial,sans-serif; cursor:pointer; transition:background-color .15s,color .15s;}
body .site-header .desktop-header-links a:hover, body .site-header .logout-link:hover {background:#354c3b; color:#fff;}
body .site-header .desktop-header-links a[aria-current=page] {background:#293b2b; color:#9bef63; box-shadow:inset 0 -2px #9bef63;}
body .site-header a:focus-visible, body .site-header button:focus-visible {outline:2px solid #9bef63; outline-offset:3px;}
body .site-header .desktop-header-links a:active, body .site-header .desktop-header-links a.site-link-pending {background:#41613f; color:#fff;}
.site-header .logout-form {margin:0;}
.site-header .site-settings {width:44px; height:44px; border:1px solid #425448; border-radius:8px; background:#26382c; color:#eef5ef; font-size:24px; cursor:pointer;}
.site-header #date_range_div {max-width:100%; font:14px Inter,Arial,sans-serif;}
.site-header #date_range_div form, .site-header #date_range_div > div {display:flex; flex-wrap:wrap; align-items:center; gap:6px;}
.site-header #date_range_div input {max-width:145px; min-width:0; height:38px; border:1px solid #425448; border-radius:6px; padding:6px; background:#26382c; color:#eef5ef; font:14px Inter,Arial,sans-serif; color-scheme:dark;}
.site-header #date_range_div button {min-height:38px; border:1px solid #425448; border-radius:6px; padding:6px 10px; background:#26382c; color:#eef5ef; font:14px Inter,Arial,sans-serif; cursor:pointer;}
.site-link-pending::after, .site-loading-spinner {content:''; display:inline-block; width:14px; height:14px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:site-spin .8s linear infinite; flex-shrink:0;}
#site-navigation-status {position:fixed; z-index:10001; bottom:24px; left:50%; transform:translateX(-50%); max-width:calc(100vw - 32px); box-sizing:border-box; padding:14px 20px; border-radius:12px; background:#121e16; color:#eef5ef; box-shadow:0 4px 24px #0004; font:500 15px/1.4 Inter,Arial,sans-serif; display:flex; align-items:center; gap:12px;}
#site-navigation-status[hidden] {display:none;}
#site-navigation-status button {border:0; background:transparent; color:#9bef63; font:inherit; cursor:pointer;}
body.site-navigating::after {content:''; position:fixed; inset:0; background:rgba(18,30,22,.12); z-index:9999; pointer-events:none;}
@keyframes site-spin {to {transform:rotate(360deg);}}
@media(max-width:767px) {
 body .site-header {padding:16px;}
 body .site-header .calendar-brand {font-size:28px;}
 body .site-header .desktop-header-links {gap:4px; width:100%;}
 body .site-header .desktop-header-links a, body .site-header .logout-link {padding:10px 12px; font-size:15px;}
 #site-navigation-status {bottom:76px; width:max-content;}
}
@media(prefers-reduced-motion:reduce) {.site-link-pending::after,.site-loading-spinner {animation:none;} body .site-header a {transition:none;}}

body .site-header .site-menu-toggle {display:none;}
.site-menu-cross {display:none;}
.site-menu-open .site-menu-cross {display:block;}
.site-menu-open .site-menu-bars {display:none;}
@media(max-width:767px) {
 body .site-header {padding:12px 16px;}
 body .site-header.site-menu-ready .header-top {display:flex;flex-wrap:wrap;gap:10px;margin-bottom:8px;}
 body .site-header.site-menu-ready .calendar-brand {font-size:25px;}
 body .site-header.site-menu-ready .calendar-brand small {font-size:8px;letter-spacing:1.1px;}
 body .site-header.site-menu-ready .site-menu-toggle {display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin-left:auto;padding:8px;border:1px solid #425448;border-radius:8px;background:transparent;color:#eef5ef;cursor:pointer;order:1;}
 body .site-header.site-menu-ready .site-athlete-context {order:2;}
 body .site-header.site-menu-ready .desktop-header-links {display:none;}
 body .site-header.site-menu-open .desktop-header-links {display:flex;flex-direction:column;align-items:stretch;flex-basis:100%;gap:4px;width:100%;padding:8px 0;border-top:1px solid #425448;}
 body .site-header.site-menu-ready .desktop-header-links a, body .site-header.site-menu-ready .logout-link {width:100%;min-height:44px;font-size:16px;}
 body .site-header.site-menu-ready > div:has(> .desktop-header-links:only-child) {min-height:0!important;}
 body .site-header .desktop-header-links .calendar-appearance {display:flex;justify-content:space-between;align-items:center;padding:10px 12px;font-size:14px;}
}

/* Date controls are one indivisible group; navigation wraps around the group. */
.site-header #date_range_div {width:auto!important; flex:0 0 auto; min-width:0; overflow-x:auto;}
.site-header #date_range_div > div, .site-header #date_range_div form {flex-wrap:nowrap; width:max-content;}
.site-header #date_range_div input {flex:0 0 145px; width:145px;}
.site-header #date_range_div button {flex-shrink:0; white-space:nowrap;}
body .site-header .header-top:has(.site-athlete-context) {display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,320px) minmax(0,1fr);}
.site-athlete-context {display:flex; flex-direction:column; gap:4px; align-items:stretch; min-width:0; text-align:center; font:16px Inter,Arial,sans-serif; color:#eef5ef;}
.site-athlete-context label, .site-athlete-label {font:11px Inter,Arial,sans-serif; color:#a6b9ac;}
.site-athlete-context select {width:100%; min-height:42px; padding:7px 28px 7px 10px; border:1px solid #425448; border-radius:8px; background:#26382c; color:#eef5ef; font:600 16px Inter,Arial,sans-serif;}
.site-athlete-context select:focus-visible {outline:2px solid #9bef63; outline-offset:3px;}
.site-header .site-settings {justify-self:end;}
@media(max-width:767px) {
 body .site-header .header-top:has(.site-athlete-context) {display:flex; flex-wrap:wrap;}
 .site-athlete-context {flex-basis:100%; max-width:320px; margin:8px auto 0; order:2;}
 .site-header #date_range_div {flex-shrink:1; max-width:100%;}
 .site-header #date_range_div input {flex-basis:112px; width:112px;}
}

/* One mobile shell across athlete pages. Legacy menus stay as the no-JS fallback. */
.site-mobile-bar{display:none}.site-secondary-header{display:none!important}
#site-mobile-more{box-sizing:border-box;width:calc(100% - 32px);max-width:440px;max-height:80dvh;overflow:auto;border:1px solid #d9e3e4;border-radius:14px;padding:24px;background:#fff;color:#21363d;font:16px/1.45 Inter,Arial,sans-serif;text-align:left}
#site-mobile-more::backdrop{background:#10201688}
#site-mobile-more h2{font:600 22px/1.3 Inter,Arial,sans-serif;text-transform:none}
#site-mobile-more a,#site-mobile-more button{box-sizing:border-box;display:block;min-height:44px;padding:12px;color:#17634d;background:transparent;border:0;border-radius:7px;font:500 16px/1.35 Inter,Arial,sans-serif;text-decoration:none;text-align:left;text-transform:none;cursor:pointer}
#site-mobile-more [hidden]{display:none!important}#site-mobile-more-close{float:right}
#site-mobile-more [aria-current=page]{background:#eaf3ed;font-weight:700}
#site-mobile-more .calendar-appearance{display:flex;align-items:center;justify-content:space-between;padding:12px}
@media(max-width:767px){
 body.site-mobile-ready{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}
 body.site-mobile-ready .site-header{display:block!important;background:#121e16!important;color:#eef5ef}
 body.site-mobile-ready .site-header .calendar-brand{font:400 25px/1.2 Orbitron,sans-serif!important;color:#9bef63!important;text-align:left!important}
 body.site-mobile-ready .site-header .calendar-brand small{display:block!important;font:10px/1.5 Inter,Arial,sans-serif!important;letter-spacing:1.1px!important;color:#a6b9ac!important;white-space:nowrap}
 body.site-mobile-ready .site-header .desktop-header-links,body.site-mobile-ready .site-menu-toggle,body.site-mobile-ready .tabs,body.site-mobile-ready .calendar-mobile-nav,body.site-mobile-ready .journey-mobile{display:none!important}
 body.site-mobile-ready .site-mobile-bar{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:150;align-items:stretch;justify-content:space-around;gap:2px;padding:8px 4px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #d9e3e4;background:white;color:#17634d;box-sizing:border-box;font:16px/1.4 Inter,Arial,sans-serif}
 .site-mobile-bar a,.site-mobile-bar button{flex:1;min-width:0;min-height:44px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:5px;padding:10px 4px;border:0;border-radius:7px;background:white;color:#17634d;font:inherit;text-decoration:none;text-transform:none;cursor:pointer}
 .site-mobile-bar [aria-current=page],.site-mobile-bar .site-mobile-section-active,.site-mobile-bar .site-link-pending{background:#eaf3ed;font-weight:700}
 .site-mobile-bar :focus-visible,#site-mobile-more :focus-visible{outline:3px solid #d79924;outline-offset:2px}
 body.site-mobile-ready .coach-chat-widget{bottom:calc(80px + env(safe-area-inset-bottom))!important}
 body.site-mobile-ready .coach-chat-launcher{bottom:auto!important}
 #site-navigation-status{bottom:calc(84px + env(safe-area-inset-bottom));font-size:15px}
}
