.homeDashboard{--home-line:rgba(159,191,231,.16);--home-muted:#a2aec2;max-width:1100px;margin:0 auto;padding-bottom:18px}
.homeDashboard .homeWelcome{margin-bottom:24px}.homeWelcome .hg{margin:0 0 12px}.homeWelcome h1{font-size:clamp(24px,3vw,34px);margin:0 0 7px;letter-spacing:-.03em}.homeWelcome>p{color:var(--home-muted);margin:0;font-size:14px}
.homeDashboard .card{position:relative;margin:0;padding:22px;border:1px solid var(--home-line);border-radius:24px;background:linear-gradient(145deg,rgba(31,46,69,.78),rgba(15,24,39,.94));box-shadow:inset 0 1px rgba(221,238,255,.06),0 12px 30px rgba(0,0,0,.1);min-width:0}
.homeDashboard .card:before,.homeDashboard .card:after{display:none!important}
.homeDashboard .homeHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.homeDashboard h2{font-size:19px;line-height:1.3;letter-spacing:-.02em;text-transform:none;margin:0;color:#eff5ff}.homeEyebrow{font-size:11px;letter-spacing:.05em;color:#94bde4;display:block;margin-bottom:6px}.homeMeta{font-size:12px;line-height:1.5;color:var(--home-muted);margin:0 0 8px;display:block}
.homeDashboard a{color:#a8d7ff;text-decoration:none}.homeDashboard a:hover{text-decoration:underline}.homeDashboard .homeLink{font-size:12px;font-weight:600;line-height:1.5}.homeDashboard .homeHead>a{flex-shrink:0}.homeDetailLink{display:inline-block;margin-top:16px}
.homeDashboard .homeWeek{margin-bottom:18px;background:radial-gradient(ellipse at 100% 0,rgba(8,168,194,.13),transparent 55%),linear-gradient(135deg,#1c304c,#111d2e)}
.homeMetrics{display:flex;gap:22px;flex-wrap:wrap;margin:16px 0}.homeMetrics>div{min-width:0}.homeMetrics strong{display:block;font-size:21px;color:#f1f6ff;font-weight:750;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.homeMetrics span{display:block;font-size:10px;letter-spacing:.04em;color:var(--home-muted);margin-top:4px}
.homeDays{display:flex;gap:6px;margin:18px 0 20px;max-width:460px}.homeDashboard button.homeDay{flex:1;min-width:0;min-height:48px;padding:6px;background:rgba(8,15,27,.24);border:1px solid transparent;border-radius:12px;color:#9aa8bd;box-shadow:none;font-size:11px}.homeDay span,.homeDay i{display:block;font-style:normal}.homeDay i{margin-top:4px;font-size:14px}.homeDashboard button.homeDay:disabled{opacity:.7;cursor:default}.homeDashboard button.homeDay.active{background:rgba(45,161,202,.15);color:#67d9ec;border-color:rgba(93,209,231,.25)}.homeDashboard button.homeDay.today{box-shadow:inset 0 -2px #8dc6ff}
.homeGoalTabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.homeDashboard .homeGoalTabs button,.homeDashboard .homeButton{font:inherit;font-size:12px;font-weight:600;color:#d5e8fc;background:linear-gradient(135deg,rgba(92,135,192,.20),rgba(34,59,92,.28));border:1px solid rgba(151,191,235,.25);border-radius:13px;padding:10px 13px;min-height:42px;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.05);display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;line-height:1.3}
.homeDashboard .homeGoalTabs button[aria-pressed=true],.homeDashboard .homeButton[aria-pressed=true]{background:linear-gradient(125deg,rgba(74,145,223,.44),rgba(16,157,189,.28));border-color:#6a9ac7;color:#fff}.homeDashboard button:hover:not(:disabled),.homeDashboard .homeButton:hover{filter:brightness(1.15)}.homeDashboard button:disabled{opacity:.55;cursor:wait}.homeDashboard :focus-visible{outline:2px solid #81d9ff;outline-offset:4px}
.homeGoalTop,.homeGoalFoot{display:flex;align-items:center;justify-content:space-between;gap:12px}.homeGoalTop{margin-bottom:14px;font-size:13px;color:var(--home-muted)}.homeGoalTop strong{font-size:22px;color:#eaf4ff}.homeGoalTop small{font-size:14px;color:var(--home-muted)}.homeDashboard .hBar{height:10px;border-radius:10px;overflow:hidden;background:rgba(255,255,255,.09);width:100%;flex:auto}.homeDashboard .hFill{height:100%;border-radius:10px;background:linear-gradient(90deg,#ffedb2,#ffbf35 55%,#fc6a45 85%,#ed3548);transition:width .3s ease}.homeGoalFoot{margin-top:12px;font-size:12px;color:#b6d7f3}
.homePair{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px;margin-bottom:30px}.homeActivityTitle{font-size:18px!important;font-weight:700;color:#ecf4ff!important;display:block;line-height:1.4;overflow-wrap:anywhere}.homeActivityTitle span{color:#8ebadc}.homeMapSlot{overflow:hidden;border-radius:16px;background:rgba(6,17,29,.36);font-size:12px;color:var(--home-muted);margin-top:16px;min-height:44px}.homeMapCanvas{height:190px;width:100%;z-index:0}.homeMapEmpty{padding:12px;line-height:1.5}.homeDashboard .leaflet-container{background:#172333}
.homeRaceBadge{display:inline-block;padding:7px 11px;border-radius:10px;background:rgba(52,202,169,.10);border:1px solid rgba(93,213,187,.2);color:#8ce0c9;font-size:12px;margin:10px 0 15px}.homeDashboard .homeRaceName{font-size:22px;line-height:1.25;letter-spacing:-.02em;color:#eff6ff;margin:0 0 12px;overflow-wrap:anywhere}.homeRaceDate{font-size:13px;color:#cad8ea;margin:0 0 12px;line-height:1.5}.homeRaceDistances{font-size:16px;color:#91ccf5;font-weight:600}.homeUpdated{margin:14px 0 0;font-size:10px}.homeEmpty{color:var(--home-muted);font-size:13px;line-height:1.65;padding:12px 0}.homeEmpty p{margin:0 0 14px}
.homeFeed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}.homeDashboard .homeSocialCard{padding:17px;border-radius:22px}.homePerson{display:flex;gap:10px;align-items:center}.homePerson>div{min-width:0}.homePerson strong{display:block;font-size:14px;color:#eaf4ff;overflow-wrap:anywhere}.homePerson .homeMeta{font-size:10px;margin:4px 0 0}.homeAvatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#335a89,#135869);color:#c8e9ff;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;flex-shrink:0;font-size:15px;font-weight:600}.homeAvatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.homeDashboard .homeSocialTitle{font-size:16px;color:#ebf2fd;line-height:1.4;margin:17px 0 10px;overflow-wrap:anywhere}.homeSocialCard .homeMetrics{gap:14px}.homeSocialCard .homeMetrics strong{font-size:17px}.homeSocialCard .homeMapCanvas{height:155px}.homeSocialActions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.homeSocialActions .homeMeta{margin:0}.homeComments{margin-top:12px;border-top:1px solid var(--home-line);padding-top:12px}.homeComments summary{cursor:pointer;font-size:12px;color:#a8d7ff;min-height:30px;line-height:30px}.homeComment{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.homeComment strong,.homeComment span{display:block}.homeComment strong{color:#bdd9f4;margin-bottom:2px}.homeComments textarea{box-sizing:border-box;width:100%;min-height:75px;resize:vertical;color:#eaf4ff;border:1px solid var(--home-line);border-radius:12px;background:rgba(0,0,0,.18);font:inherit;font-size:16px;padding:10px;margin:10px 0}.homeFeed>button,.homeFeed>.homeEmpty{grid-column:1/-1}.homeShortcuts{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;padding:24px 0 8px;margin-top:26px;border-top:1px solid var(--home-line);font-size:12px}
@media(max-width:900px){.homeFeed{grid-template-columns:1fr}.homeSocialCard .homeMapCanvas{height:190px}.homeSocialCard .homeMetrics strong{font-size:20px}.homeDashboard .homeSocialCard{padding:20px}.homeSocialTitle{font-size:18px!important}}
@media(max-width:600px){.homeDashboard .card{padding:19px;border-radius:22px}.homePair{grid-template-columns:1fr;gap:16px;margin-bottom:26px}.homeDashboard h2{font-size:18px}.homeDashboard .homeHead{gap:8px}.homeNetwork>.homeHead{align-items:flex-end}.homeNetwork .homeHead .homeButton{font-size:11px;padding:9px}.homeMetrics{gap:18px}.homeMetrics strong{font-size:20px}.homeWelcome h1{font-size:25px}.homeWelcome .hgSub{font-size:12px}.homeGoalFoot{font-size:11px}.homeGoalTabs button{flex:1}.homeMapCanvas{height:180px}.homeDays{max-width:none}}
.homeWelcome h1{text-transform:none}.homeLast .homeMetrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.homeMapSlot[role=link]{cursor:pointer}
@media(prefers-reduced-motion:reduce){.homeDashboard .hFill{transition:none}}

.homeGreetingRow{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.homeWelcome .homeGreetingRow .hg{flex:1;min-width:0;margin:0;gap:12px}
.homeWelcome .hgAv{width:52px;height:52px;flex-shrink:0;border-radius:16px}
.homeWelcome .hgHi{font-size:26px;line-height:1.2;overflow-wrap:anywhere}
.homeWelcome .hgSub{font-size:14px;line-height:1.4;margin-top:4px}
.homeWeather{flex:0 0 92px;min-height:76px;padding:9px 6px;border:1px solid #a5dfff44;border-radius:18px;color:#e6f7ff;background:linear-gradient(135deg,#335f825e,#17344b99);box-shadow:inset 0 1px #d9f5ff22;cursor:pointer;font:inherit}
.homeWeather strong{display:block;font-size:21px}.homeWeather small{display:block;font-size:10px;margin-top:4px}
.homeWeatherDialog{position:fixed;inset:0;margin:auto;width:min(440px,calc(100vw - 24px));max-height:85dvh;overflow:auto;padding:20px;border:1px solid #a0cae855;border-radius:24px;background:linear-gradient(145deg,#24364c,#101c2c);color:#edf5ff;box-shadow:0 20px 80px #0009}
.homeWeatherDialog::backdrop{background:#030b16aa;backdrop-filter:blur(7px)}
.weatherHead{display:flex;align-items:center;justify-content:space-between;gap:10px}
.homeWeatherDialog h2{font-size:20px;text-transform:none;letter-spacing:0;color:#eaf6ff;margin:0}
.homeWeatherDialog button{min-height:44px;padding:8px 12px;border:1px solid #a6cde744;border-radius:12px;background:#43668944;color:#eaf6ff;font:inherit;cursor:pointer}
.weatherMeta{font-size:12px;color:#aabed3;line-height:1.5;margin:12px 0}
.weatherDay{padding:12px 0;border-top:1px solid #a6cde722;font-size:14px}.weatherDay p{font-size:12px;margin-top:5px;color:#c4d7e9}.weatherDay small{color:#aebfd1}
.homeWeatherDialog a{font-size:12px;color:#96d9ff}
@media(max-width:600px){.homeWelcome .hgHi{font-size:22px}.homeWelcome .hgSub{font-size:13px}.homeWelcome .hgAv{width:48px;height:48px}.homeGreetingRow{gap:8px}.homeWelcome .homeGreetingRow .hg{gap:9px}}
@media(max-width:350px){.homeWeather{flex-basis:76px}.homeWelcome .hgHi{font-size:20px}.homeWelcome .hgAv{width:44px;height:44px}}

.homeWeather{position:relative;top:10px}
.weatherConditions{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.weatherIcon{font-size:29px;line-height:1.15;display:inline-block}

#homeChallenges:not(:empty){margin-bottom:24px}

/* Compact forecast cards and wind bearings. Arrows show the direction of travel. */
.homeWeatherDialog{box-sizing:border-box;padding:16px;scrollbar-width:thin}
.homeWeatherDialog>.weatherHead{position:sticky;top:-16px;z-index:2;padding:12px 0;background:#203247}
.homeWeatherDialog h2{font-size:19px}.weatherLegend{font-size:10px;line-height:1.45;color:#9db7cb;margin:8px 0 14px}
.weatherDay{border:1px solid #9ccfe32b;border-radius:18px;padding:13px;margin:12px 0;background:linear-gradient(135deg,#6096bd12,#0c1a2c30);box-shadow:inset 0 1px #ffffff08}
.weatherDay>.weatherHead>strong{font-size:15px;color:#e0f2ff}.weatherConditions{font-size:16px}.weatherIcon{font-size:32px}
.weatherDay p{margin:5px 0}.weatherSky{font-size:11px}.weatherRain{color:#a9d9ed!important}
.weatherWind{display:flex;gap:8px;align-items:center;margin:8px 0;min-width:0}
.weatherWindArrow{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;border:1px solid #7ddce055;color:#8de0e2;background:#53bfc018;font-size:23px;line-height:1}
.weatherWind>span:last-child{min-width:0}.weatherWind strong{display:block;font-size:12px;color:#c9eff0}
.weatherWind small{display:block;font-size:10px;line-height:1.4;margin-top:3px;color:#afc5d7}
.weatherPeriods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.weatherPeriod{padding:10px;border:1px solid #a6cde72b;border-radius:13px;background:#547da314;min-width:0}
.weatherPeriod>strong{display:block;font-size:12px;min-height:30px}.weatherPeriod>p:first-of-type{font-size:16px;margin:4px 0 8px}
.weatherPeriod p{font-size:11px}.weatherPeriod .weatherWind{gap:5px;align-items:flex-start}
.weatherPeriod .weatherWindArrow{width:20px;height:20px;flex-basis:20px;font-size:19px}.weatherPeriod .weatherWind strong{font-size:11px}
.homeWeather .weatherWind{justify-content:center;gap:3px;margin:5px 0 0}.homeWeather .weatherWind strong{font-size:10px}.homeWeather .weatherWind small{display:none}
.homeWeather .weatherWindArrow{width:15px;height:15px;flex-basis:15px;font-size:14px}
@media(max-width:360px){.homeWeatherDialog{padding:12px}.weatherDay{padding:10px}.weatherPeriods{gap:5px}.weatherPeriod{padding:7px}.weatherPeriod .weatherWind{flex-wrap:wrap}.weatherDay>.weatherHead{gap:5px}}
