.sp-button--audit {
  color: #8f1727;
  border-color: rgba(184, 19, 45, .28);
  background: #fff4f5;
}

.sp-button--audit:hover {
  border-color: #b8132d;
  background: #ffe8eb;
}

.sp-modal--progress {
  width: min(720px, calc(100vw - 32px));
}

.sp-progress-correction__course {
  display: grid;
  gap: 5px;
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid #ece6e6;
  border-radius: 18px;
  background: #faf8f8;
}

.sp-progress-correction__course > span,
.sp-progress-correction__course small {
  color: #70747d;
  font-size: 13px;
}

.sp-progress-correction__course strong {
  color: #292b31;
  font-size: 18px;
}

.sp-progress-correction__warning {
  display: grid;
  gap: 4px;
  margin: 18px 0;
  padding: 15px 17px;
  border: 1px solid #f2cd64;
  border-radius: 16px;
  color: #735200;
  background: #fff8df;
}

.sp-progress-correction__warning span {
  line-height: 1.45;
}

.sp-progress-correction__history {
  margin-top: 22px;
}

.sp-progress-correction__history h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.sp-progress-correction__history-row {
  display: grid;
  gap: 8px;
  padding: 13px 0;
  border-top: 1px solid #ece6e6;
}

.sp-progress-correction__history-row div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.sp-progress-correction__history-row small {
  color: #7c8089;
  text-align: right;
}

.sp-progress-correction__history-row p {
  margin: 0;
  color: #4e5159;
  line-height: 1.45;
}

.sp-progress-correction__history-error {
  color: #b8132d;
}

@media (max-width: 640px) {
  .sp-modal--progress { width: calc(100vw - 20px); }
  .sp-progress-correction__history-row div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .sp-progress-correction__history-row small { text-align: left; }
}
