.view-section.coach-desktop-shell {
  display: grid;
  gap: 1rem;
}

.view-section.coach-desktop-shell .coach-hero-card {
  padding: 1.35rem;
  border-radius: 28px;
  background:
    radial-gradient(1200px 260px at 0% 0%, rgba(84, 116, 214, 0.14), transparent 55%),
    radial-gradient(800px 220px at 100% 0%, rgba(74, 210, 184, 0.09), transparent 52%),
    linear-gradient(180deg, rgba(14, 22, 37, 0.98), rgba(11, 18, 31, 0.96));
  border: 1px solid rgba(120, 154, 224, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.view-section.coach-desktop-shell .coach-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.view-section.coach-desktop-shell .coach-hero-copy {
  display: grid;
  gap: 0.4rem;
  max-width: 920px;
}

.view-section.coach-desktop-shell .coach-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.1vw, 2.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.view-section.coach-desktop-shell .coach-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
  max-width: 70ch;
}

.view-section.coach-desktop-shell .coach-hero-context {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  background: rgba(17, 28, 46, 0.84);
  border: 1px solid rgba(120, 154, 224, 0.12);
  color: #d8e0f5;
  font-size: 0.84rem;
  line-height: 1.3;
}

.view-section.coach-desktop-shell .coach-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.view-section.coach-desktop-shell .coach-summary-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.view-section.coach-desktop-shell .coach-summary-strip-compact {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.7rem;
}

.view-section.coach-desktop-shell .coach-summary-tile {
  position: relative;
  display: grid;
  gap: 0.45rem;
  min-height: 102px;
  padding: 0.85rem 0.9rem 0.88rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 24, 38, 0.92), rgba(12, 20, 32, 0.98));
  border: 1px solid rgba(119, 153, 224, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.view-section.coach-desktop-shell .coach-summary-tile::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, rgba(122, 148, 229, 0.8), rgba(108, 223, 211, 0.68));
  opacity: 0.42;
}

.view-section.coach-desktop-shell .coach-summary-tile span {
  color: rgba(212, 221, 244, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.view-section.coach-desktop-shell .coach-summary-tile strong {
  font-size: clamp(1.35rem, 1.7vw, 1.72rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.view-section.coach-desktop-shell .coach-summary-tile small {
  color: rgba(209, 218, 241, 0.72);
  font-size: 0.78rem;
  line-height: 1.3;
}

.view-section.coach-desktop-shell .coach-command-grid,
.view-section.coach-desktop-shell .coach-panel-grid {
  gap: 1rem;
  align-items: start;
}

.view-section.coach-desktop-shell .coach-command-grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
}

.view-section.coach-desktop-shell .coach-command-main,
.view-section.coach-desktop-shell .coach-command-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.view-section.coach-desktop-shell .coach-surface {
  padding: 1.05rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(14, 23, 37, 0.96), rgba(11, 18, 29, 0.98));
  border: 1px solid rgba(118, 152, 224, 0.11);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.view-section.coach-desktop-shell .coach-surface-head {
  gap: 0.9rem;
  align-items: start;
}

.view-section.coach-desktop-shell .coach-surface-copy {
  gap: 0.3rem;
}

.view-section.coach-desktop-shell .coach-surface-copy h3 {
  font-size: 1.03rem;
  letter-spacing: -0.03em;
}

.view-section.coach-desktop-shell .coach-surface-summary {
  max-width: 70ch;
}

.view-section.coach-desktop-shell .coach-surface-actions {
  gap: 0.45rem;
}

.view-section.coach-desktop-shell .coach-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.view-section.coach-desktop-shell .coach-panel-grid-single {
  grid-template-columns: 1fr;
}

.view-section.coach-desktop-shell .coach-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.view-section.coach-desktop-shell .coach-review-main,
.view-section.coach-desktop-shell .coach-review-rail {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.view-section.coach-desktop-shell .coach-review-rail {
  position: sticky;
  top: 1rem;
  align-self: start;
}

.view-section.coach-desktop-shell .coach-review-rail-card {
  min-height: 100%;
}

.view-section.coach-desktop-shell .coach-review-rail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.view-section.coach-desktop-shell .coach-review-rail-stat {
  display: grid;
  gap: 0.35rem;
  min-height: 96px;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: rgba(16, 24, 38, 0.76);
  border: 1px solid var(--coach-border);
}

.view-section.coach-desktop-shell .coach-review-rail-stat span {
  color: rgba(213, 223, 246, 0.74);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.view-section.coach-desktop-shell .coach-review-rail-stat strong {
  font-size: 1.42rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.view-section.coach-desktop-shell .coach-review-rail-stat small {
  color: rgba(204, 213, 235, 0.74);
  font-size: 0.8rem;
  line-height: 1.35;
}

.view-section.coach-desktop-shell .coach-review-rail-note {
  margin-top: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(18, 28, 45, 0.74);
  border: 1px solid rgba(151, 184, 255, 0.1);
  color: rgba(222, 231, 248, 0.9);
  line-height: 1.45;
}

.view-section.coach-desktop-shell .coach-review-queue {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.view-section.coach-desktop-shell .coach-review-queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.85rem;
  border-radius: 16px;
  background: rgba(16, 24, 38, 0.76);
  border: 1px solid var(--coach-border);
}

.view-section.coach-desktop-shell .coach-review-queue-item strong {
  display: block;
  font-size: 0.94rem;
  letter-spacing: -0.03em;
}

.view-section.coach-desktop-shell .coach-review-queue-item small {
  color: rgba(204, 213, 235, 0.74);
  font-size: 0.79rem;
}

.view-section.coach-desktop-shell .coach-review-empty {
  margin: 0;
  padding: 0.1rem 0;
}

.view-section.coach-desktop-shell .coach-attention-card .coach-surface-body,
.view-section.coach-desktop-shell .coach-takeaways-card .coach-surface-body,
.view-section.coach-desktop-shell .coach-review-card .coach-surface-body {
  display: grid;
  gap: 1rem;
}

.view-section.coach-desktop-shell .coach-dashboard-scan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1rem;
}

.view-section.coach-desktop-shell .coach-dashboard-watchlist,
.view-section.coach-desktop-shell .coach-dashboard-brief {
  display: grid;
  gap: 0.8rem;
}

.view-section.coach-desktop-shell .coach-watchlist-list {
  display: grid;
  gap: 0.7rem;
}

.view-section.coach-desktop-shell .coach-watchlist-row {
  display: grid;
  gap: 0.45rem;
  padding: 0.88rem 0.95rem;
  border-radius: 18px;
  background: rgba(15, 24, 39, 0.78);
  border: 1px solid rgba(118, 152, 224, 0.09);
}

.view-section.coach-desktop-shell .coach-watchlist-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.view-section.coach-desktop-shell .coach-watchlist-top strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.view-section.coach-desktop-shell .coach-watchlist-action {
  margin: 0;
  color: rgba(219, 227, 247, 0.88);
  font-size: 0.89rem;
  line-height: 1.35;
}

.view-section.coach-desktop-shell .coach-watchlist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem 0.65rem;
  color: rgba(204, 213, 235, 0.74);
  font-size: 0.77rem;
}

.view-section.coach-desktop-shell .coach-watchlist-meta span {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(18, 28, 45, 0.7);
  border: 1px solid rgba(118, 152, 224, 0.09);
}

.view-section.coach-desktop-shell .coach-watchlist-empty {
  margin: 0;
  padding: 0.7rem 0;
}

.view-section.coach-desktop-shell .coach-takeaway-list {
  gap: 0.7rem;
}

.view-section.coach-desktop-shell .coach-takeaway {
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
}

.view-section.coach-desktop-shell .coach-quick-focus {
  margin-top: 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(118, 152, 224, 0.08);
}

.view-section.coach-desktop-shell .coach-quick-focus-head {
  margin-bottom: 0.7rem;
}

.view-section.coach-desktop-shell .coach-prompt-pills {
  gap: 0.45rem;
}

.view-section.coach-desktop-shell .coach-prompt-pill {
  min-height: 2.3rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(18, 28, 45, 0.76);
}

.view-section.coach-desktop-shell .coach-distribution-card,
.view-section.coach-desktop-shell .coach-trend-card,
.view-section.coach-desktop-shell .coach-athlete-shell,
.view-section.coach-desktop-shell .coach-profile-panel,
.view-section.coach-desktop-shell .coach-intervention-panel {
  background:
    linear-gradient(180deg, rgba(14, 23, 37, 0.96), rgba(11, 18, 29, 0.98));
  border: 1px solid rgba(118, 152, 224, 0.11);
}

.view-section.coach-desktop-shell .coach-distribution-list,
.view-section.coach-desktop-shell .coach-trend-chart,
.view-section.coach-desktop-shell .coach-profile-grid {
  gap: 0.85rem;
}

.view-section.coach-desktop-shell .coach-distribution-row {
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: rgba(15, 24, 39, 0.72);
  border: 1px solid rgba(118, 152, 224, 0.09);
}

.view-section.coach-desktop-shell .coach-distribution-row-head strong {
  font-size: 0.95rem;
}

.view-section.coach-desktop-shell .coach-distribution-row-foot {
  color: rgba(204, 213, 235, 0.74);
}

.view-section.coach-desktop-shell .coach-pattern-grid {
  gap: 0.75rem;
}

.view-section.coach-desktop-shell .coach-pattern-cell {
  min-height: 92px;
  padding: 0.85rem 0.95rem;
  background: rgba(15, 24, 39, 0.72);
}

.view-section.coach-desktop-shell .coach-pattern-cell strong {
  font-size: 1.25rem;
}

.view-section.coach-desktop-shell .coach-athlete-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.view-section.coach-desktop-shell .coach-athlete-shell {
  min-height: 100%;
  padding: 1rem 1.05rem;
}

.view-section.coach-desktop-shell .coach-athlete-shell-button {
  width: 100%;
  appearance: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.view-section.coach-desktop-shell .coach-athlete-shell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.view-section.coach-desktop-shell .coach-athlete-shell-copy {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.view-section.coach-desktop-shell .coach-athlete-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.view-section.coach-desktop-shell .coach-athlete-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(104, 161, 255, 0.34), transparent 34%),
    linear-gradient(155deg, rgba(17, 29, 49, 0.98), rgba(10, 18, 31, 0.98));
  border: 1px solid rgba(118, 152, 224, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.view-section.coach-desktop-shell .coach-athlete-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.view-section.coach-desktop-shell .coach-athlete-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(233, 240, 255, 0.95);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.view-section.coach-desktop-shell .coach-athlete-shell-topline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.view-section.coach-desktop-shell .coach-athlete-shell-topline h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  min-width: 0;
}

.view-section.coach-desktop-shell .coach-athlete-shell-subtitle {
  margin: 0;
  color: rgba(205, 214, 236, 0.68);
  font-size: 0.82rem;
  line-height: 1.3;
  text-transform: capitalize;
}

.view-section.coach-desktop-shell .coach-athlete-shell-meta {
  margin: 0;
  color: rgba(171, 186, 216, 0.54);
  font-size: 0.74rem;
  line-height: 1.25;
  text-transform: capitalize;
}

.view-section.coach-desktop-shell .coach-athlete-shell-side {
  display: grid;
  gap: 0.65rem;
  justify-items: end;
  text-align: right;
  min-width: 140px;
}

.view-section.coach-desktop-shell .coach-athlete-shell-status {
  display: grid;
  gap: 0.08rem;
}

.view-section.coach-desktop-shell .coach-athlete-shell-status strong {
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.view-section.coach-desktop-shell .coach-athlete-shell-status span {
  color: rgba(210, 220, 244, 0.76);
  font-size: 0.78rem;
  line-height: 1.3;
}

.view-section.coach-desktop-shell .coach-athlete-shell-open {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: rgba(126, 217, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.view-section.coach-desktop-shell .coach-athlete-shell-open-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(28, 45, 71, 0.88);
  border: 1px solid rgba(118, 152, 224, 0.12);
  color: rgba(226, 236, 255, 0.92);
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.view-section.coach-desktop-shell .coach-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.view-section.coach-desktop-shell .coach-profile-main,
.view-section.coach-desktop-shell .coach-profile-side,
.view-section.coach-desktop-shell .coach-profile-side-rail {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.view-section.coach-desktop-shell .coach-profile-side-rail {
  position: sticky;
  top: 1rem;
  align-self: start;
}

.view-section.coach-desktop-shell .coach-profile-headline {
  gap: 0.75rem;
}

.view-section.coach-desktop-shell .coach-profile-trend-strip {
  gap: 0.85rem;
}

.view-section.coach-desktop-shell .coach-trend-card {
  padding: 0.95rem;
  min-height: 240px;
}

.view-section.coach-desktop-shell .coach-trend-copy strong {
  font-size: 1rem;
}

.view-section.coach-desktop-shell .coach-trend-current {
  font-size: 1.7rem;
}

.view-section.coach-desktop-shell .coach-trend-summary {
  color: rgba(210, 219, 240, 0.84);
}

.view-section.coach-desktop-shell .coach-profile-panel,
.view-section.coach-desktop-shell .coach-intervention-panel {
  padding: 1rem;
}

.view-section.coach-desktop-shell .coach-copilot-rail-card {
  min-height: 100%;
}

.view-section.coach-desktop-shell .coach-dashboard-copilot-rail {
  border-color: rgba(115, 172, 255, 0.2);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(84, 116, 214, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(15, 24, 39, 0.98), rgba(10, 16, 27, 0.98));
}

.view-section.coach-desktop-shell .coach-dashboard-copilot-rail .coach-surface-copy h3 {
  letter-spacing: -0.04em;
}

.view-section.coach-desktop-shell .coach-copilot-rail-card.is-locked {
  border-style: dashed;
}

.view-section.coach-desktop-shell .coach-copilot-rail-body {
  display: grid;
  gap: 0.75rem;
}

.view-section.coach-desktop-shell .coach-copilot-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.view-section.coach-desktop-shell .coach-copilot-lock {
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  background: rgba(15, 24, 39, 0.72);
  border: 1px solid rgba(118, 152, 224, 0.1);
}

.view-section.coach-desktop-shell .coach-copilot-lock-head {
  display: grid;
  gap: 0.5rem;
}

.view-section.coach-desktop-shell .coach-copilot-lock p,
.view-section.coach-desktop-shell .coach-copilot-lock small,
.view-section.coach-desktop-shell .coach-copilot-rail-note,
.view-section.coach-desktop-shell .coach-copilot-footer-note {
  color: rgba(210, 220, 244, 0.84);
  line-height: 1.45;
}

.view-section.coach-desktop-shell .coach-copilot-rail-note {
  margin: 0;
}

.view-section.coach-desktop-shell .coach-copilot-footer-note {
  padding-top: 0.2rem;
  border-top: 1px solid rgba(118, 152, 224, 0.08);
  font-size: 0.82rem;
}

.view-section.coach-desktop-shell .coach-profile-metric-row,
.view-section.coach-desktop-shell .coach-profile-checkin {
  background: rgba(15, 24, 39, 0.72);
  border-color: rgba(118, 152, 224, 0.09);
}

.view-section.coach-desktop-shell .coach-intervention-form {
  gap: 0.85rem;
}

.view-section.coach-desktop-shell .coach-profile-footer-actions {
  gap: 0.5rem;
}

@media (max-width: 1100px) {
  .view-section.coach-desktop-shell .coach-summary-strip,
  .view-section.coach-desktop-shell .coach-command-grid,
  .view-section.coach-desktop-shell .coach-panel-grid,
  .view-section.coach-desktop-shell .coach-review-layout,
  .view-section.coach-desktop-shell .coach-dashboard-scan-grid,
  .view-section.coach-desktop-shell .coach-profile-trend-strip {
    grid-template-columns: 1fr;
  }

  .view-section.coach-desktop-shell .coach-hero-top {
    grid-template-columns: 1fr;
  }

  .view-section.coach-desktop-shell .coach-hero-actions {
    justify-content: flex-start;
  }

  .view-section.coach-desktop-shell .coach-review-rail {
    position: static;
  }

  .view-section.coach-desktop-shell .coach-profile-layout {
    grid-template-columns: 1fr;
  }

  .view-section.coach-desktop-shell .coach-profile-side-rail {
    position: static;
  }
}

@media (max-width: 760px) {
  .view-section.coach-desktop-shell {
    gap: 0.85rem;
  }

  .view-section.coach-desktop-shell .coach-hero-card,
  .view-section.coach-desktop-shell .coach-surface,
  .view-section.coach-desktop-shell .coach-trend-card,
  .view-section.coach-desktop-shell .coach-athlete-shell {
    padding: 0.9rem;
    border-radius: 20px;
  }

  .view-section.coach-desktop-shell .coach-summary-strip,
  .view-section.coach-desktop-shell .coach-athlete-grid {
    grid-template-columns: 1fr;
  }

  .view-section.coach-desktop-shell .coach-summary-tile {
    min-height: 104px;
  }

  .modal.assistant-modal.coach-assistant-modal .assistant-modal-shell {
    width: min(100vw - 1rem, 940px);
    padding: 0.95rem;
    border-radius: 24px;
  }

  .modal.assistant-modal.coach-assistant-modal .assistant-chip-group {
    grid-template-columns: 1fr;
  }

  .view-section.coach-desktop-shell .coach-watchlist-top {
    align-items: start;
    flex-direction: column;
  }

  .view-section.coach-desktop-shell .coach-athlete-shell-head {
    align-items: stretch;
    flex-direction: column;
  }

  .view-section.coach-desktop-shell .coach-athlete-shell-side {
    justify-items: start;
    text-align: left;
    min-width: 0;
  }

  .view-section.coach-desktop-shell .coach-athlete-shell-open {
    justify-content: flex-start;
  }
}

.view-section.coach-desktop-shell {
  position: relative;
  isolation: isolate;
  --muted: var(--text-muted);
  --coach-bg-strong: rgba(10, 16, 27, 0.82);
  --coach-bg-soft: rgba(16, 24, 38, 0.7);
  --coach-border: rgba(133, 165, 234, 0.13);
  --coach-border-strong: rgba(151, 184, 255, 0.24);
  --coach-accent: linear-gradient(135deg, rgba(104, 161, 255, 0.9), rgba(95, 227, 207, 0.84));
  --coach-accent-soft: linear-gradient(90deg, rgba(104, 161, 255, 0.22), rgba(95, 227, 207, 0.18) 68%, rgba(95, 227, 207, 0.08));
  --coach-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
}

.view-section.coach-desktop-shell::before {
  content: '';
  position: absolute;
  inset: -1rem -1rem auto;
  height: 360px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(880px 300px at 14% 0%, rgba(96, 143, 255, 0.18), transparent 55%),
    radial-gradient(720px 260px at 92% 0%, rgba(82, 223, 208, 0.12), transparent 54%),
    linear-gradient(180deg, rgba(6, 10, 17, 0.18), transparent);
  opacity: 0.92;
}

.view-section.coach-desktop-shell > * {
  animation: coach-rise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.view-section.coach-desktop-shell > *:nth-child(2) {
  animation-delay: 70ms;
}

.view-section.coach-desktop-shell > *:nth-child(3) {
  animation-delay: 120ms;
}

.view-section.coach-desktop-shell > *:nth-child(4) {
  animation-delay: 170ms;
}

.view-section.coach-desktop-shell .coach-hero-card,
.view-section.coach-desktop-shell .coach-surface-shell,
.view-section.coach-desktop-shell .coach-trend-card,
.view-section.coach-desktop-shell .coach-athlete-shell,
.view-section.coach-desktop-shell .coach-distribution-card,
.view-section.coach-desktop-shell .coach-profile-panel,
.view-section.coach-desktop-shell .coach-intervention-panel {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  box-shadow: var(--coach-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.view-section.coach-desktop-shell .coach-hero-card:hover,
.view-section.coach-desktop-shell .coach-surface-shell:hover,
.view-section.coach-desktop-shell .coach-trend-card:hover,
.view-section.coach-desktop-shell .coach-athlete-shell:hover,
.view-section.coach-desktop-shell .coach-distribution-card:hover,
.view-section.coach-desktop-shell .coach-profile-panel:hover,
.view-section.coach-desktop-shell .coach-intervention-panel:hover {
  transform: translateY(-2px);
  border-color: var(--coach-border-strong);
}

.view-section.coach-desktop-shell .coach-hero-card {
  padding: 1.2rem;
  border-radius: 32px;
  background:
    radial-gradient(1000px 300px at 0% 0%, rgba(84, 116, 214, 0.18), transparent 58%),
    radial-gradient(700px 240px at 100% 0%, rgba(74, 210, 184, 0.13), transparent 54%),
    linear-gradient(180deg, rgba(12, 19, 33, 0.98), rgba(9, 15, 26, 0.96));
  border: 1px solid var(--coach-border);
}

.view-section.coach-desktop-shell .coach-hero-ornament {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(48%, 420px);
  height: 100%;
  background:
    radial-gradient(circle at 72% 18%, rgba(111, 169, 255, 0.14), transparent 28%),
    radial-gradient(circle at 84% 30%, rgba(92, 229, 208, 0.16), transparent 26%),
    linear-gradient(135deg, transparent 38%, rgba(255, 255, 255, 0.03));
  opacity: 0.85;
  pointer-events: none;
}

.view-section.coach-desktop-shell .coach-hero-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(151, 184, 255, 0.16);
  background: rgba(18, 28, 45, 0.7);
  color: rgba(216, 224, 245, 0.85);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.view-section.coach-desktop-shell .coach-hero-copy h1 {
  max-width: 12ch;
}

.view-section.coach-desktop-shell .coach-hero-copy:has(p:empty) p {
  display: none;
}

.view-section.coach-desktop-shell .coach-hero-copy p {
  color: rgba(222, 231, 248, 0.84);
  max-width: 66ch;
}

.view-section.coach-desktop-shell .coach-hero-context {
  background: rgba(17, 28, 46, 0.9);
  border-color: rgba(151, 184, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.view-section.coach-desktop-shell .coach-summary-strip {
  gap: 0.95rem;
  margin-top: 1.1rem;
}

.view-section.coach-desktop-shell .coach-summary-tile {
  min-height: 130px;
  padding: 1rem 1rem 1rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 26, 41, 0.94), rgba(11, 18, 29, 0.98));
  border: 1px solid var(--coach-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.view-section.coach-desktop-shell .coach-summary-tile::before {
  left: 14px;
  right: 14px;
  width: auto;
  height: 1px;
  border-radius: 999px;
  background: var(--coach-accent-soft);
  opacity: 0.95;
  filter: blur(0.2px);
}

.view-section.coach-desktop-shell .coach-summary-tile span {
  color: rgba(213, 223, 246, 0.76);
}

.view-section.coach-desktop-shell .coach-summary-tile strong {
  font-size: clamp(1.65rem, 2.15vw, 2.2rem);
}

.view-section.coach-desktop-shell .coach-surface-shell {
  padding: 1.08rem;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(15, 23, 37, 0.96), rgba(11, 17, 28, 0.98));
  border: 1px solid var(--coach-border);
}

.view-section.coach-desktop-shell .coach-surface-ornament {
  position: absolute;
  inset: 0 14px auto;
  width: auto;
  height: 1px;
  border-radius: 999px;
  background: var(--coach-accent-soft);
  opacity: 0.9;
  filter: blur(0.2px);
  pointer-events: none;
}

.view-section.coach-desktop-shell .coach-surface-head {
  gap: 0.8rem;
}

.view-section.coach-desktop-shell .coach-surface-copy {
  gap: 0.34rem;
}

.view-section.coach-desktop-shell .coach-surface-eyebrow,
.view-section.coach-desktop-shell .coach-mini-label {
  color: rgba(203, 214, 241, 0.76);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.view-section.coach-desktop-shell .coach-surface-copy h3 {
  font-size: 1.08rem;
  letter-spacing: -0.04em;
}

.view-section.coach-desktop-shell .coach-surface-summary {
  color: rgba(213, 222, 242, 0.84);
  max-width: 68ch;
}

.view-section.coach-desktop-shell .coach-surface-actions {
  gap: 0.52rem;
}

.view-section.coach-desktop-shell .coach-surface-actions .btn {
  min-height: 2.4rem;
}

.view-section.coach-desktop-shell .coach-distribution-card,
.view-section.coach-desktop-shell .coach-trend-card,
.view-section.coach-desktop-shell .coach-athlete-shell,
.view-section.coach-desktop-shell .coach-profile-panel,
.view-section.coach-desktop-shell .coach-intervention-panel {
  background:
    linear-gradient(180deg, rgba(13, 21, 34, 0.96), rgba(10, 16, 26, 0.98));
  border: 1px solid var(--coach-border);
}

.view-section.coach-desktop-shell .coach-trend-card {
  padding: 1rem;
  min-height: 246px;
}

.view-section.coach-desktop-shell .coach-trend-head {
  gap: 0.75rem;
}

.view-section.coach-desktop-shell .coach-trend-copy strong {
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.view-section.coach-desktop-shell .coach-trend-pill {
  border-color: rgba(151, 184, 255, 0.14);
  background: rgba(18, 28, 45, 0.76);
}

.view-section.coach-desktop-shell .coach-trend-chart {
  margin-top: 0.85rem;
}

.view-section.coach-desktop-shell .coach-trend-summary {
  color: rgba(210, 219, 240, 0.88);
}

.view-section.coach-desktop-shell .coach-athlete-shell {
  padding: 1.08rem;
  border-radius: 24px;
}

.view-section.coach-desktop-shell .coach-athlete-shell.selected {
  border-color: rgba(111, 186, 255, 0.28);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(83, 164, 255, 0.12);
  background:
    radial-gradient(520px 140px at 0% 0%, rgba(74, 136, 255, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(13, 22, 37, 0.98), rgba(10, 16, 26, 0.99));
}

.view-section.coach-desktop-shell .coach-athlete-shell::before {
  content: '';
  position: absolute;
  inset: 0 14px auto;
  width: auto;
  height: 1px;
  border-radius: 999px;
  background: var(--coach-accent-soft);
  opacity: 0.88;
  filter: blur(0.2px);
}

.view-section.coach-desktop-shell .coach-athlete-shell-head {
  gap: 1rem;
}

.view-section.coach-desktop-shell .coach-athlete-shell-button:hover .coach-athlete-shell-open-icon,
.view-section.coach-desktop-shell .coach-athlete-shell-button:focus-visible .coach-athlete-shell-open-icon {
  transform: translateX(2px);
  border-color: rgba(122, 193, 255, 0.24);
  background: rgba(34, 54, 84, 0.96);
}

.view-section.coach-desktop-shell .coach-athlete-shell-button:focus-visible {
  outline: none;
  border-color: rgba(124, 200, 255, 0.34);
  box-shadow:
    0 0 0 2px rgba(65, 182, 255, 0.16),
    var(--coach-shadow);
}

.view-section.coach-desktop-shell .coach-athlete-signal span,
.view-section.coach-desktop-shell .coach-athlete-signal strong {
  letter-spacing: -0.02em;
}

.view-section.coach-desktop-shell .coach-session-track {
  border-radius: 16px;
  background: rgba(16, 24, 38, 0.74);
  border: 1px solid rgba(151, 184, 255, 0.08);
}

.view-section.coach-desktop-shell .coach-session-track-title strong {
  font-size: 0.94rem;
}

.view-section.coach-desktop-shell .coach-session-track-bar {
  background: rgba(23, 34, 53, 0.92);
}

.view-section.coach-desktop-shell .coach-session-track-bar span {
  background: linear-gradient(90deg, rgba(104, 161, 255, 0.9), rgba(95, 227, 207, 0.86));
}

.view-section.coach-desktop-shell .coach-profile-panel,
.view-section.coach-desktop-shell .coach-intervention-panel {
  padding: 1.08rem;
  border-radius: 24px;
}

.view-section.coach-desktop-shell .coach-profile-headline {
  gap: 0.6rem;
}

.view-section.coach-desktop-shell .coach-profile-metric-row,
.view-section.coach-desktop-shell .coach-profile-checkin,
.view-section.coach-desktop-shell .coach-watchlist-row,
.view-section.coach-desktop-shell .coach-distribution-row,
.view-section.coach-desktop-shell .coach-pattern-cell {
  background: rgba(16, 24, 38, 0.76);
  border: 1px solid rgba(151, 184, 255, 0.09);
}

.view-section.coach-desktop-shell .coach-profile-metric-row strong,
.view-section.coach-desktop-shell .coach-profile-checkin strong {
  letter-spacing: -0.03em;
}

.view-section.coach-desktop-shell .coach-profile-trend-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.view-section.coach-desktop-shell .coach-trend-card.tone-success .coach-trend-sparkline-path,
.view-section.coach-desktop-shell .coach-trend-card.tone-success .coach-trend-sparkline-fill {
  color: var(--success);
  stroke: color-mix(in srgb, var(--success) 90%, white 10%);
  fill: color-mix(in srgb, var(--success) 22%, transparent);
}

.view-section.coach-desktop-shell .coach-trend-card.tone-warning .coach-trend-sparkline-path,
.view-section.coach-desktop-shell .coach-trend-card.tone-warning .coach-trend-sparkline-fill {
  color: var(--warning);
  stroke: color-mix(in srgb, var(--warning) 92%, white 8%);
  fill: color-mix(in srgb, var(--warning) 20%, transparent);
}

.view-section.coach-desktop-shell .coach-trend-card.tone-info .coach-trend-sparkline-path,
.view-section.coach-desktop-shell .coach-trend-card.tone-info .coach-trend-sparkline-fill {
  color: var(--accent-2);
  stroke: color-mix(in srgb, var(--accent-2) 92%, white 8%);
  fill: color-mix(in srgb, var(--accent-2) 18%, transparent);
}

.view-section.coach-desktop-shell .coach-trend-svg {
  opacity: 0.95;
}

.view-section.coach-desktop-shell .coach-trend-svg circle {
  fill: currentColor;
  stroke: none;
}

.modal.assistant-modal.coach-assistant-modal .assistant-modal-shell {
  width: min(940px, calc(100vw - 2rem));
  max-height: min(86svh, 860px);
  padding: 1.15rem;
  display: grid;
  gap: 0.95rem;
  border-radius: 30px;
  background:
    radial-gradient(1000px 360px at 0% 0%, rgba(84, 116, 214, 0.18), transparent 50%),
    radial-gradient(820px 280px at 100% 0%, rgba(74, 210, 184, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.98), rgba(8, 13, 23, 0.99));
  border: 1px solid var(--coach-border);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
}

.modal.assistant-modal.coach-assistant-modal .assistant-modal-header {
  padding-bottom: 0.25rem;
}

.modal.assistant-modal.coach-assistant-modal .assistant-modal-title {
  gap: 0.28rem;
}

.modal.assistant-modal.coach-assistant-modal .assistant-modal-title h3 {
  font-size: 1.08rem;
  letter-spacing: -0.04em;
}

.modal.assistant-modal.coach-assistant-modal .assistant-modal-title p {
  color: rgba(213, 223, 246, 0.82);
}

.modal.assistant-modal.coach-assistant-modal .assistant-thread-wrap {
  display: grid;
  gap: 0.85rem;
}

.modal.assistant-modal.coach-assistant-modal .assistant-thread-wrap.empty {
  min-height: 330px;
  padding: 1rem;
  border-radius: 24px;
  background:
    radial-gradient(760px 240px at 50% 18%, rgba(104, 161, 255, 0.12), transparent 54%),
    linear-gradient(180deg, rgba(16, 24, 38, 0.86), rgba(12, 18, 31, 0.96));
  border: 1px solid var(--coach-border);
}

.modal.assistant-modal.coach-assistant-modal .assistant-thread-wrap.empty .assistant-thread {
  min-height: 280px;
  align-content: center;
  justify-content: center;
}

.modal.assistant-modal.coach-assistant-modal .assistant-empty-copy {
  max-width: 32ch;
  margin-inline: auto;
  font-size: 1.01rem;
  line-height: 1.5;
  text-align: center;
}

.modal.assistant-modal.coach-assistant-modal .assistant-chip-section.starter-state {
  padding-top: 0.15rem;
}

.modal.assistant-modal.coach-assistant-modal .assistant-chip-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.modal.assistant-modal.coach-assistant-modal .assistant-chip {
  color: rgba(232, 241, 255, 0.95);
  min-height: 3rem;
  padding: 0.72rem 0.86rem;
  border-radius: 16px;
  background: rgba(16, 24, 38, 0.88);
  border: 1px solid rgba(151, 184, 255, 0.12);
  justify-content: flex-start;
  text-align: left;
  line-height: 1.35;
}

.modal.assistant-modal.coach-assistant-modal .assistant-composer {
  padding: 0.9rem;
  border-radius: 22px;
  background: rgba(15, 23, 37, 0.84);
  border: 1px solid var(--coach-border);
}

.modal.assistant-modal.coach-assistant-modal .assistant-input-form textarea {
  min-height: 84px;
}

.modal.assistant-modal.coach-assistant-modal .assistant-composer-hint {
  color: rgba(204, 213, 235, 0.78);
}

.modal.assistant-modal.coach-assistant-modal .assistant-send-btn {
  background: linear-gradient(135deg, rgba(104, 161, 255, 0.98), rgba(95, 227, 207, 0.94));
  box-shadow: 0 14px 34px rgba(43, 102, 196, 0.22);
}

@keyframes coach-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .view-section.coach-desktop-shell > *,
  .view-section.coach-desktop-shell .coach-hero-card,
  .view-section.coach-desktop-shell .coach-surface-shell,
  .view-section.coach-desktop-shell .coach-trend-card,
  .view-section.coach-desktop-shell .coach-athlete-shell,
  .view-section.coach-desktop-shell .coach-distribution-card,
  .view-section.coach-desktop-shell .coach-profile-panel,
  .view-section.coach-desktop-shell .coach-intervention-panel {
    animation: none !important;
    transition: none !important;
  }
}

/* Final coach polish overrides: keep the command center dense, readable, and less card-heavy. */
.view-section.coach-desktop-shell .coach-hero-card {
  padding: 1rem;
}

.view-section.coach-desktop-shell .coach-summary-tile {
  min-height: 104px;
}

.view-section.coach-desktop-shell .coach-hero-copy h1,
.view-section.coach-desktop-shell .coach-surface-copy h3,
.view-section.coach-desktop-shell .coach-athlete-shell-copy h3,
.view-section.coach-desktop-shell .coach-review-queue-item strong {
  text-wrap: balance;
}

.view-section.coach-desktop-shell .coach-athlete-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.view-section.coach-desktop-shell .coach-athlete-shell-head {
  align-items: center;
}

.view-section.coach-desktop-shell .coach-athlete-shell-side {
  min-width: 122px;
}

.view-section.coach-desktop-shell .coach-athlete-shell-subtitle,
.view-section.coach-desktop-shell .coach-athlete-shell-meta {
  overflow-wrap: anywhere;
}

.view-section.coach-desktop-shell .coach-profile-layout {
  grid-template-columns: minmax(0, 1fr);
}

.view-section.coach-desktop-shell .coach-profile-side-rail {
  position: static;
}

.view-section.coach-desktop-shell .coach-profile-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
}

.view-section.coach-desktop-shell .coach-profile-trend-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .view-section.coach-desktop-shell .coach-profile-grid,
  .view-section.coach-desktop-shell .coach-profile-trend-strip {
    grid-template-columns: 1fr;
  }
}
