/* DG-CHAR reader support. Independently authored; CC0-1.0. */
.lesson .math:not(.math-display) {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  vertical-align: baseline;
  overflow-x: auto;
  overflow-y: hidden;
}
.lesson .math-display {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
/* Pinned source revisions must wrap in the course's references on phones. */
.references {
  overflow-wrap: anywhere;
}
