.stage-summary {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.stage-summary-card {
  position: relative;
  min-width: 0;
  min-height: 92px;
  overflow: hidden;
  padding: 13px 14px;
  border: 1px solid #dce7ed;
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(20, 55, 80, .05);
}

.stage-summary-card::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -24px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: currentColor;
  opacity: .055;
}

.stage-summary-card span,
.stage-summary-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-summary-card span {
  color: #718699;
  font-size: 10px;
  font-weight: 700;
}

.stage-summary-card small {
  margin-top: 3px;
  color: #8497a7;
  font-size: 8px;
  font-weight: 600;
}

.stage-summary-card > div {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 10px;
}

.stage-summary-card strong {
  color: #123a57;
  font-size: 25px;
  line-height: 1;
}

.stage-summary-card em {
  color: #7f92a2;
  font-size: 8px;
  font-style: normal;
}

.stage-summary-card.subject.started strong {
  color: #0b8d7f;
}

.stage-summary-card.exam.started strong {
  color: #be8712;
}

.stage-summary-card.not-started strong,
.stage-summary-card.in-progress strong {
  font-size: 13px;
  letter-spacing: .02em;
}

.stage-summary-card.not-started strong {
  color: #718ba1;
}

.stage-summary-card.in-progress strong {
  color: #be8712;
}

@media (max-width: 700px) {
  .stage-summary {
    display: flex;
    overflow-x: auto;
    padding-bottom: 3px;
    scroll-snap-type: x proximity;
    scrollbar-color: #c8d7e1 transparent;
    scrollbar-width: thin;
  }

  .stage-summary-card {
    flex: 0 0 112px;
    min-height: 86px;
    padding: 11px 12px;
    scroll-snap-align: start;
  }

  .stage-summary-card strong {
    font-size: 22px;
  }
}
