/* Shared readability corrections for the approved member/public surfaces.
   Keep the layout and brand hue; small text also needs 4.5:1 contrast. */
:root {
  --member-muted: rgba(0, 0, 0, .62);
  --member-meta: rgba(0, 0, 0, .58);
  --member-accent: #d91435;
  --member-accent-hover: #c81231;
  --muted: rgba(0, 0, 0, .62);
  --meta: rgba(0, 0, 0, .58);
  --accent: #d91435;
  --accent-hover: #c81231;
  --accent-active: #b8102d;
}

.activity-list-page--course .activity-badge,
.course-intro__eyebrow {
  color: #765908;
}

.ai-home-page .ai-subtitle,
.ai-home-page .ai-trust,
.ai-home-page .ai-service-note,
.ai-home-page .ai-service-note strong,
.ai-home-page .prompt-refresh {
  color: var(--member-muted);
}

.guest.pending {
  opacity: 1;
}
.guest.pending .gname,
.guest.pending .gtitle {
  color: var(--muted);
}

.lesson .ls,
.guest .guest-tag.upcoming {
  color: #087c32;
}

.ai-demo-head .tag,
.benefit-card .bc-freq {
  color: #c81231;
}

.handbook-footer button,
.handbook-footer .handbook-nav {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.handbook-footer .handbook-nav:last-child {
  justify-content: flex-end;
}

.hero-cue,
.hstage .label {
  opacity: 1;
  color: var(--muted);
}
.hstage .num {
  opacity: 1;
}

.activity-detail-topbar__brand {
  min-width: 44px;
  min-height: 44px;
}

.login-links button {
  min-height: 44px;
}

.course-learning-toast {
  visibility: hidden;
}
.course-learning-toast.is-visible {
  visibility: visible;
}

.lesson[role="button"]:focus-visible,
.guest[role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
