/* Student > Progress: restore right-aligned lifetime overview only. */
.progress-pro-page .monthly-learning-overview.is-alltime {
  direction: rtl;
  text-align: right;
  align-items: stretch !important;
}
.progress-pro-page .monthly-learning-overview.is-alltime .progress-overall-summary {
  width: 100%;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: right !important;
  direction: rtl;
}
.progress-pro-page .monthly-learning-overview.is-alltime .progress-score-ring {
  align-self: flex-start !important;
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
}
.progress-pro-page .monthly-learning-overview.is-alltime .progress-overall-description {
  width: 100%;
  align-self: stretch;
  text-align: right !important;
}
.progress-pro-page .monthly-learning-overview.is-alltime .progress-overall-description p {
  max-width: none;
  margin-inline: 0 !important;
  text-align: right !important;
}
.progress-pro-page .monthly-learning-overview.is-alltime .progress-overall-description .page-eyebrow {
  justify-content: flex-start;
  text-align: right;
}
.progress-pro-page .monthly-learning-overview.is-alltime .progress-alltime-evidence {
  align-self: stretch;
  justify-content: flex-start !important;
  text-align: right;
}

/* Student > Reading: separate one-mark eraser, never remove other highlights. */
.cz-reading-pencil-v2 .cz-reading-pencil-eraser {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--ui-border);
  border-radius: 11px;
  color: var(--ui-text);
  background: var(--ui-surface-2);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.cz-reading-pencil-v2 .cz-reading-pencil-eraser[aria-pressed="true"] {
  color: #fff;
  background: #536ed8;
  border-color: #536ed8;
}
.cz-reading-pencil-v2 .cz-reading-pencil-eraser:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.cz-reading-pencil-v2.is-erasing {
  box-shadow: 0 13px 35px rgba(56, 83, 170, .2);
  border-color: #7890de;
}
.cz-reading-pencil-v2 .cz-reading-pencil-guide { flex-basis: 100%; }
.cz-reading-pencil-v2[hidden] { display: none !important; }
@media (max-width: 540px) {
  .cz-reading-pencil-v2 .cz-reading-pencil-toggle,
  .cz-reading-pencil-v2 .cz-reading-pencil-eraser { flex: 1 1 42%; }
}
