/* Explicit component colors keep Tutor and theme overrides from mixing palettes. */
body.bnb-lesson-page .tutor-learning-sidebar .tutor-learning-progress-text > span {
  color: inherit !important;
  font-variant-numeric: tabular-nums;
}

html[data-bnb-theme="light"] body.bnb-lesson-page .tutor-learning-progress-text,
html[data-bnb-theme="light"] body.bnb-lesson-page .tutor-learning-nav-item .tutor-text-subdued {
  color: #526070 !important;
}

html[data-bnb-theme="dark"] body.bnb-lesson-page .tutor-learning-progress-text > span {
  color: #f4f1ea !important;
}

html[data-bnb-theme="light"] body.bnb-account-screen .bnb-account-hub .bnb-account-kicker,
html[data-bnb-theme="light"] body.bnb-account-screen .bnb-account-hub .bnb-account-label {
  color: #7c5300 !important;
}

html[data-bnb-theme="light"] body.bnb-account-screen .bnb-account-hub .bnb-account-pay,
html[data-bnb-theme="light"] body.bnb-account-screen .bnb-account-hub .bnb-account-note {
  color: #526070 !important;
}

html[data-bnb-theme="dark"] body.bnb-account-screen .bnb-phone-gate label {
  color: #e8edf4 !important;
}

html[data-bnb-theme] body.bnb-account-screen .bnb-owned-package .bnb-owned-package-go,
html[data-bnb-theme] body.bnb-account-screen .bnb-owned-package .bnb-owned-package-enroll {
  color: #1a1400 !important;
}

html[data-bnb-theme="dark"] .bnb-contact {
  background: #102744;
  color: #e8edf4;
  border-color: rgba(227, 178, 60, .35);
}

html[data-bnb-theme="dark"] .bnb-contact p {
  color: #e8edf4 !important;
}

html[data-bnb-theme="dark"] .bnb-contact a,
html[data-bnb-theme="dark"] body.bnb-theme-enabled footer a[href*="privacy-policy"],
html[data-bnb-theme="dark"] body.bnb-theme-enabled footer a[href*="terms-of-service"],
html[data-bnb-theme="dark"] .bnb-faculty-fallback .bnb-faculty-kicker {
  color: #f0c75a !important;
}

html[data-bnb-theme="light"] body.bnb-lesson-page .bnb-copybook-missing,
html[data-bnb-theme="light"] body.bnb-lesson-page .bnb-chapter-index a,
html[data-bnb-theme="light"] .bnb-products .bnb-pr-kicker {
  color: #7c5300 !important;
}

html[data-bnb-theme="light"] .bnb-platform .course-price del,
html[data-bnb-theme="light"] .bnb-platform footer .copyright {
  color: #526070 !important;
}

html[data-bnb-theme="light"] .bnb-platform .bnb-offer-mini strong {
  color: #7c5300 !important;
}

html[data-bnb-theme="light"] .bnb-platform .bnb-cohort-hint,
html[data-bnb-theme="light"] .bnb-platform .bnb-cohort-hint span {
  color: #7c5300 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.bnb-save-row.is-discount td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.bnb-save-total strong {
  color: #146b3a !important;
}

body.woocommerce-checkout .woocommerce form .required {
  color: #b42318 !important;
}

.bnb-enroll-dialog {
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

.bnb-enroll-dialog .bnb-enroll-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .6rem .8rem;
}

html[data-bnb-theme] .bnb-enroll-dialog :is(a, button):focus-visible {
  outline: 3px solid var(--bnb-focus, #7c5300);
  outline-offset: 3px;
}
