:root {
  --background: #f3f5f8;
  --foreground: #172333;
  --border: #dbe1ea;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
}
.shell {
  max-width: 1480px;
  margin: auto;
  padding: 0 40px 60px;
}
.topbar {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #203cdb;
  text-decoration: none;
}
.brand b {
  font-size: 30px;
  letter-spacing: -1.5px;
}
.brand span {
  color: #667486;
  letter-spacing: 1.5px;
  font-size: 12px;
  margin-left: 20px;
}
.identity {
  font-size: 14px;
  color: #667486;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 44px 0 32px;
  gap: 25px;
}
.eyebrow {
  font-size: 12px !important;
  letter-spacing: 2px;
  font-weight: 700;
  color: #667486 !important;
}
h1 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -2px;
  margin: 12px 0 18px;
  font-weight: 650;
}
h1 span {
  color: #203cdb;
}
.heading p {
  color: #627084;
}
.goal-marker {
  border-left: 2px solid #ced6e5;
  padding-left: 35px;
  min-width: 245px;
}
.goal-marker > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}
.goal-marker strong {
  display: block;
  font-size: 76px;
  line-height: 1.15;
  letter-spacing: -4px;
}
.goal-marker strong span {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 400;
  color: #627084;
}
.goal-marker p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.navtabs {
  background: transparent !important;
  border-bottom: 1px solid var(--border);
  border-radius: 0 !important;
  width: 100%;
  justify-content: flex-start !important;
  height: auto !important;
  padding: 0 !important;
  gap: 20px;
  margin-bottom: 26px;
  overflow: auto;
}
.navtabs button {
  padding: 16px 5px !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  flex: none !important;
  font-size: 15px !important;
  background: transparent !important;
  color: #627084 !important;
}
.navtabs button[data-state="active"] {
  border-bottom: 3px solid #203cdb !important;
  color: #203cdb !important;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}
.panel h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  font-weight: 650;
}
.panel > p {
  color: #627084;
  margin: 8px 0 24px;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
}
.day {
  border: 1px solid #dbe1ea;
  border-radius: 10px;
  padding: 16px 12px;
  min-height: 150px;
}
.day small {
  font-size: 12px;
  font-weight: 700;
  color: #68778a;
}
.day h3 {
  font-size: 22px;
  margin-top: 20px;
}
.day p {
  font-size: 14px;
  margin-top: 8px;
  color: #627084;
}
.day.hockey {
  background: #fff5e9;
  border-color: #f1d3ac;
}
.muted {
  color: #627084;
  font-size: 14px;
}
@media (max-width: 800px) {
  .shell {
    padding: 0 18px 35px;
  }
  .topbar {
    height: 72px;
  }
  .brand span,
  .identity {
    display: none;
  }
  .heading {
    padding: 28px 0;
    align-items: flex-start;
  }
  .goal-marker {
    min-width: 120px;
    padding-left: 18px;
  }
  .goal-marker strong {
    font-size: 48px;
  }
  .goal-marker p {
    display: none;
  }
  .week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .navtabs {
    gap: 15px;
  }
  .panel {
    padding: 18px;
  }
}
@media (max-width: 450px) {
  .goal-marker {
    display: none;
  }
  .week-grid {
    grid-template-columns: 1fr;
  }
  .day {
    min-height: 110px;
  }
  .day h3 {
    margin-top: 12px;
  }
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #203cdb;
  color: #fff;
  font-size: 28px;
  line-height: 31px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.brand .brand-mark {
  margin: 0;
  letter-spacing: -2px;
}
.navtabs {
  display: flex;
  margin-bottom: 0;
  white-space: nowrap;
}
.navtabs a {
  padding: 16px 3px;
  font-size: 15px;
  color: #617185;
  border-bottom: 3px solid transparent;
}
.navtabs a.active {
  border-bottom-color: #203cdb;
  color: #203cdb;
  font-weight: 700;
}
.heading p {
  line-height: 1.6;
}
.heading h1 + p {
  margin-top: 15px;
}
.notice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: #627084;
  font-size: 13px;
}
.primary,
.secondary,
.icon-button,
.upload-button {
  border-radius: 8px;
  padding: 11px 16px;
  border: 1px solid #d7dfeb;
  background: white;
  color: #253649;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  min-height: 42px;
}
.primary,
.upload-button {
  background: #203cdb;
  border-color: #203cdb;
  color: #fff;
}
.primary:hover,
.upload-button:hover {
  background: #182faf;
}
.secondary:hover,
.icon-button:hover {
  background: #eaf0fa;
}
.text-button {
  border: 0;
  background: transparent;
  color: #203cdb;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  text-align: left;
}
.text-button:hover {
  text-decoration: underline;
}
.icon-button {
  padding: 6px 14px;
  font-size: 23px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.25fr;
  gap: 14px;
  margin: 6px 0 24px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.stat > span {
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: #69788b;
}
.stat strong {
  font-size: 24px;
  letter-spacing: -0.8px;
}
.stat small {
  font-size: 13px;
  color: #657387;
}
.accent-stat {
  background: #e9edff;
  border-color: #d0d9ff;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.section-head .eyebrow {
  margin-bottom: 7px;
}
.toolbar {
  display: flex;
  gap: 7px;
  align-items: center;
}
.calendar-panel {
  padding: 24px;
}
.day {
  display: flex;
  flex-direction: column;
  min-height: 265px;
  gap: 10px;
  background: #f9fafc;
  padding: 14px 12px;
}
.day .day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #647387;
  font-size: 13px;
  margin-bottom: 12px;
}
.day-heading b {
  font-size: 19px;
  font-weight: 500;
}
.day.ride {
  background: #eff3ff;
  border-color: #d5def6;
}
.day.hockey {
  background: #fff3e4;
  border-color: #edcda7;
}
.day.today .day-heading b {
  background: #203cdb;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}
.day h3 {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.3px;
  margin: 0;
}
.day p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.day .sport-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #657898;
}
.day .session-duration {
  font-size: 25px;
  letter-spacing: -1px;
  font-weight: 500;
}
.day .text-button,
.day .pill {
  margin-top: auto;
}
.day small {
  font-size: 11px;
}
.calendar-note {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
  color: #718096;
  font-size: 12px;
}
.legend {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 7px;
  height: 7px;
  border-radius: 3px;
  display: inline-block;
  margin-left: 12px;
}
.blue-dot {
  background: #203cdb;
}
.orange-dot {
  background: #d99544;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 22px;
  margin: 22px 0;
}
.volume-chart {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  height: 150px;
}
.volume-column {
  background: transparent;
  border: none;
  min-width: 45px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  color: #627084;
  gap: 8px;
}
.bar-wrap {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 115px;
  background: #f4f6fa;
  border-radius: 5px;
}
.bar {
  display: block;
  width: 100%;
  background: #c5d1fa;
  border-radius: 5px 5px 0 0;
}
.selected .bar,
.volume-column:hover .bar {
  background: #203cdb;
}
.volume-column small {
  font-size: 11px;
  white-space: nowrap;
}
.coach-note {
  background: #edf1fa;
}
.coach-note h2 {
  margin: 10px 0 18px;
}
.coach-note p {
  line-height: 1.7;
  margin: 0 0 16px;
}
.panel > p.muted {
  line-height: 1.6;
  margin: 16px 0 0;
}
.pill {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 5px;
  background: #edf1f8;
  color: #586a82;
  font-size: 12px;
  font-weight: 600;
}
.pill.completed {
  background: #e2f3e9;
  color: #287342;
}
.amber {
  background: #fff0d8;
  color: #87571b;
}
.goals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}
.goal-card {
  position: relative;
  overflow: hidden;
}
.goal-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #203cdb;
}
.goal-distance {
  display: block;
  font-size: 58px;
  font-weight: 500;
  letter-spacing: -2px;
  margin-top: 20px;
}
.goal-distance span {
  font-size: 20px;
  letter-spacing: 0;
  color: #78889b;
}
.goal-card p {
  line-height: 1.7;
}
.roadmap {
  padding: 28px;
}
.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 26px;
}
.phase-grid article {
  border-top: 2px solid #d7dfed;
  padding-top: 18px;
}
.phase-number {
  display: block;
  color: #a9b8d1;
  font-size: 26px;
  margin-bottom: 12px;
}
.phase-grid small {
  font-size: 12px;
  color: #203cdb;
}
.phase-grid h3 {
  font-size: 17px;
  margin: 9px 0;
  line-height: 1.4;
}
.phase-grid p {
  font-size: 14px;
  color: #627084;
  line-height: 1.65;
}
.callout {
  border-left: 3px solid #d4a567;
  padding: 13px 18px;
  background: #fff6e9;
  line-height: 1.7;
  font-size: 14px;
  color: #64553f;
  margin: 20px 0;
}
.modal {
  border: 1px solid #d7dfeb;
  border-radius: 16px;
  background: #fff;
  width: min(620px, calc(100vw - 32px));
  padding: 26px;
  max-height: 90vh;
  overflow: auto;
  color: #172333;
  box-shadow: 0 30px 100px #0b183440;
}
.modal::backdrop {
  background: #14203990;
  backdrop-filter: blur(3px);
}
.modal header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.modal header h2 {
  font-size: 24px;
}
.modal form {
  margin-top: 20px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
form h3 {
  font-size: 20px;
  margin-top: 12px;
}
form label,
.weather-controls label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #38495f;
}
input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid #ccd6e4;
  border-radius: 7px;
  color: #203148;
  min-height: 44px;
  font-size: 16px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #203cdb;
  outline-offset: 3px;
}
input[type="checkbox"] {
  width: 19px;
  height: 19px;
  min-height: 0;
  accent-color: #203cdb;
}
label.check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.alert {
  background: #fdecee;
  color: #9e2e3b;
  border: 1px solid #edc1c6;
  padding: 12px 16px;
  border-radius: 8px;
  line-height: 1.5;
  margin: 10px 0;
}
.password-policy {
  border: 1px solid #d7dfeb;
  border-radius: 8px;
  padding: 13px 15px;
  font-size: 14px;
}
.password-policy p {
  color: #38495f;
  font-weight: 600;
  margin-bottom: 8px;
}
.password-policy ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.password-policy li {
  display: flex;
  gap: 7px;
  align-items: baseline;
}
.password-policy .met {
  color: #2c694c;
}
.password-policy .unmet {
  color: #9e2e3b;
}
.success {
  background: #e5f3ed;
  color: #2c694c;
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
}
.connect-panel {
  max-width: 680px;
  margin: 15px auto;
}
.connect-panel h2 {
  margin: 12px 0;
}
.connect-panel form {
  margin-top: 24px;
}
.connect-panel label span {
  font-weight: 400;
}
.upload-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px;
  background: #e9eeff;
  border: 1px dashed #aabbed;
  border-radius: 14px;
}
.upload-panel h3 {
  font-size: 23px;
  margin-bottom: 8px;
}
.upload-panel p {
  font-size: 14px;
  color: #627084;
  line-height: 1.6;
}
.upload-symbol {
  font-size: 35px;
  float: left;
  margin-right: 24px;
  margin-top: 2px;
  color: #203cdb;
}
.upload-button {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.import-help {
  padding: 18px 0;
  color: #627084;
  font-size: 14px;
  line-height: 1.7;
}
.import-help summary {
  cursor: pointer;
  font-weight: 600;
}
.import-help p {
  margin: 10px 0;
  max-width: 900px;
}
.import-help a {
  text-decoration: underline;
}
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.activity-card h3 {
  font-size: 21px;
  margin-top: 8px;
}
.activity-metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  color: #6b7b8d;
  font-size: 12px;
}
.activity-metrics b {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: #22354e;
  margin-bottom: 5px;
}
.activity-card > .text-button {
  margin-top: 12px;
}
.empty {
  text-align: center;
  padding: 65px 30px;
}
.empty p {
  max-width: 560px;
  margin: 15px auto;
  color: #627084;
  line-height: 1.7;
}
.weather-panel h2 {
  margin: 20px 0 10px;
}
.weather-controls {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin-bottom: 20px;
}
.weather-controls label {
  flex: 1;
}
.weather-hours {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 22px 0;
}
.weather-hours > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f3f6fa;
  border-radius: 8px;
  padding: 14px 8px;
  text-align: center;
}
.weather-hours span,
.weather-hours small {
  font-size: 12px;
  color: #627084;
}
.weather-hours b {
  font-size: 25px;
  font-weight: 500;
}
.hockey-list article {
  padding: 20px 0;
  border-bottom: 1px solid #e0e6ef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.hockey-list p {
  margin: 8px 0;
  color: #627084;
  font-size: 14px;
}
.hockey-list small {
  color: #627084;
  font-size: 12px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.stack p {
  line-height: 1.7;
}
.audit-list {
  padding: 0;
  list-style: none;
  max-height: 350px;
  overflow: auto;
  margin-bottom: 0;
}
.audit-list li {
  padding: 14px 0;
  border-bottom: 1px solid #e0e6ef;
  font-size: 13px;
}
.audit-list b {
  font-weight: 500;
}
.audit-list small {
  display: block;
  margin-top: 7px;
  color: #75849a;
  font-size: 11px;
}
code {
  font-size: 14px;
  background: #e8edf5;
  padding: 2px 5px;
}
footer {
  display: flex;
  justify-content: space-between;
  margin-top: 45px;
  border-top: 1px solid #dbe1ea;
  padding-top: 20px;
  color: #8090a4;
  font-size: 12px;
}
@media (max-width: 1100px) {
  .week-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .phase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .brand-note {
    display: none !important;
  }
}
@media (max-width: 700px) {
  .week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-grid {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 21px;
  }
  .stat > span {
    font-size: 10px;
  }
  .section-head {
    align-items: flex-start;
    gap: 12px;
  }
  .section-head h2 {
    font-size: 21px;
  }
  .toolbar {
    gap: 4px;
  }
  .toolbar .secondary {
    display: none;
  }
  .calendar-panel {
    padding: 16px;
  }
  .calendar-note {
    flex-direction: column;
  }
  .goals-grid {
    grid-template-columns: 1fr;
  }
  .upload-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .activity-metrics {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }
  .goal-marker {
    display: none;
  }
  .navtabs {
    gap: 20px;
  }
  .navtabs a {
    font-size: 14px;
  }
  .hockey-list article {
    align-items: flex-start;
  }
  .brand .brand-mark {
    display: grid;
  }
  .form-grid {
    gap: 12px;
  }
  .modal {
    padding: 20px;
  }
  .weather-hours > div {
    padding: 12px 5px;
  }
  .weather-hours b {
    font-size: 20px;
  }
}
@media (max-width: 420px) {
  .week-grid {
    grid-template-columns: 1fr;
  }
  .day {
    min-height: 210px;
  }
  .form-grid,
  .phase-grid {
    grid-template-columns: 1fr;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat small {
    font-size: 12px;
  }
  .weather-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .activity-card .section-head {
    flex-direction: column;
  }
  .hockey-list article {
    flex-direction: column;
  }
}

.repeat-days { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.repeat-days .check { min-width: 3.5rem; }
.schedule-session { border-bottom: 1px solid #d5dce5; padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
