.athlete-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: .18s;
}

.athlete-link:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(18,49,42,.08);
}

.week-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  flex-wrap: wrap;
  margin: 1.2rem 0;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: .65rem;
  overflow-x: auto;
  padding-bottom: .4rem;
}

.week-day {
  min-width: 150px;
  background: #f7f8f4;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.week-day.today {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(21,112,93,.1);
}

.week-day > header {
  display: flex;
  justify-content: space-between;
  padding: .8rem;
  background: #edf1eb;
  text-transform: capitalize;
}

.day-workouts {
  display: grid;
  gap: .5rem;
  padding: .5rem;
}

.day-empty {
  color: var(--muted);
  font-size: .82rem;
  padding: .8rem .3rem;
  text-align: center;
}

.week-workout {
  background: white;
  border: 1px solid var(--line);
  border-radius: .75rem;
  overflow: hidden;
}

.week-workout summary {
  list-style: none;
  display: grid;
  gap: .3rem;
  padding: .7rem;
  cursor: pointer;
}

.week-workout summary::-webkit-details-marker { display: none; }
.week-workout summary > span:first-child { font-weight: 800; }
.week-workout summary small { color: var(--muted); }
.week-workout .tag { justify-self: start; }

.week-detail {
  border-top: 1px solid var(--line);
  padding: .75rem;
}

.week-detail .metrics { grid-template-columns: 1fr; }

.athlete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: .8rem;
  margin-top: 1rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-head h3 { margin-bottom: .25rem; }
.goal-text { margin: 1rem 0 0; font-weight: 700; }
.proposal-card { border-color: rgba(21,112,93,.35); }
.proposal-reason { background: #edf5f1; border-radius: .8rem; padding: .9rem; }
.proposal-empty { margin: 1rem 0 0; }
.proposal-sessions { display: grid; gap: .8rem; margin: 1rem 0; }
.proposal-session { background: #f7f8f4; border: 1px solid var(--line); border-radius: .9rem; padding: .9rem; }
.proposal-session > strong { display: block; text-transform: capitalize; margin-bottom: .6rem; }
.proposal-session > input { width: 100%; margin-bottom: .65rem; }

@media (max-width: 800px) {
  .week-grid { grid-template-columns: repeat(7, 78vw); }
}
