/* V2.5.1 — neutral, theme-aware learning text. */
html {
  --reading-ink: #242629;
  --reading-secondary: #51565c;
}
html[data-theme="dark"] {
  --reading-ink: #f3f2ee;
  --reading-secondary: #c4c6c9;
}

html :is(.focus-reading, .resource-copy) {
  color: var(--reading-ink) !important;
  font-size: 1.125rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
html :is(.focus-reading, .resource-copy) :is(p, span, strong, b, em, i, li, ul, ol, h1, h2, h3, h4, h5, h6, td, th, div) {
  color: inherit !important;
}
html :is(.lesson-content, .focus-card) > header :is(h1, h2, h3),
html :is(.lesson-content, .focus-card) > header p {
  color: var(--reading-ink) !important;
}
html :is(.player-page, .focus-page) :is(.eyebrow, .unit-parent-title, .focus-progress, .lesson-group-copy small, .lesson-group-count, .unit-meta) {
  color: var(--reading-secondary) !important;
}
html :is(.lesson-sidebar .sidebar-module, .lesson-group-copy strong, .side-lesson, .side-lesson strong) {
  color: var(--reading-ink) !important;
}
html .focus-reading a:not(.btn),
html .resource-copy a:not(.btn) {
  color: var(--reading-ink) !important;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
  font-weight: 700;
}
html .focus-reading a:not(.btn):hover { text-decoration-thickness: .14em; }
html .focus-reading a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
html .focus-reading blockquote {
  background: var(--surface-soft) !important;
  color: var(--reading-ink) !important;
  border-color: var(--line);
}
html .focus-reading figcaption { color: var(--reading-secondary) !important; }
html :is(.player-page, .focus-page) :is(.sidebar-module span, .lesson-community-question p, .lesson-community-question-actions > span) {
  color: var(--reading-secondary) !important;
}
