/* The legacy per-context coach header is superseded by the Crown grammar
   (shell/shell.css). The coach Dock now uses the canonical .docknav (also in
   shell/shell.css); the non-Crown rules below stay. */

/* The DS .calendar is a self-contained component whose toolbar deliberately
   reads brand-tinted. Act 1 made --surface-raised neutral white everywhere;
   keep the calendar's intended tint via the opt-in brand-wash token. */
.shell[data-shell-context="coach"] .calendar {
  --surface-raised: var(--surface-tint);
}

/* Coach member dashboard: the Rail is the nav from tablet up (≥768px),
   exactly where the bottom Dock drops out — so the member nav never has a
   gap. Below 768px the Dock is the nav (the global shell rules keep the
   Rail an off-canvas slide-over). The global rule only reveals the Rail
   at ≥1024px, which would leave 768–1023px nav-less for the coach context. */
@media (min-width: 768px) {
  .shell[data-shell-context="coach"] .shell__rail,
  .shell.shell--member-dashboard .shell__rail {
    display: flex;
    flex-direction: column;
  }
}

.install-prompt__banner {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  /* Anchors above the Dock — reads the one --dock-height token (shell.css) so
     the banner tracks the Dock's height (Crown-matched + PWA inset). */
  bottom: calc(var(--dock-height) + var(--space-3));
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background-color: var(--surface-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: var(--z-overlay);
}
.install-prompt__banner-icon {
  color: var(--accent-primary);
  font-size: 24px;
  flex-shrink: 0;
}
.install-prompt__banner-text {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.4;
}
.install-prompt__ios-steps {
  margin: 0;
  padding-left: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-primary);
}
.install-prompt__ios-lead {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.install-prompt__ios-share-icon {
  vertical-align: middle;
  font-size: 18px;
}

.pwa-install-guide__lead {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pwa-install-guide__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.pwa-install-guide__step-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.pwa-install-guide__step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: var(--accent-primary);
  color: var(--text-on-accent);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.pwa-install-guide__step-text {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.5;
}

.pwa-install-guide__screenshot {
  width: 100%;
  max-width: 17.5rem;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
}
