.group-progress {
  display: inline-flex;
  min-width: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-left: 1px solid #c5e6f0;
  color: #406d7d;
  background: #f3fbfe;
  font-size: .82rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.group-progress[data-status="in_progress"] {
  color: #6d4a00;
  background: #fff1ad;
}

.group-progress[data-status="mastered"] {
  color: #0c633b;
  background: #dff8e9;
}

.group-progress[data-status="unavailable"] {
  color: #6b7280;
  background: #f3f4f6;
}

.activity-head {
  gap: 12px;
  flex-wrap: wrap;
}

.activity-progress {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border: 1px solid #a7d6e6;
  border-radius: 14px;
  color: #315f70;
  background: #f4fbfe;
  box-shadow: inset 0 1px #fff;
}

.activity-progress__status {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.activity-progress__status:focus-visible,
.activity-progress__reset:focus-visible {
  outline: 3px solid #8b3f00;
  outline-offset: 3px;
}

.activity-progress__reset {
  min-width: 56px;
  min-height: 44px;
  margin-inline-start: 2px;
  border: 1px solid #a7d6e6;
  border-radius: 11px;
  color: #315f70;
  background: #fff;
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}

.activity-progress__reset:hover {
  background: #e8f6fb;
}

.activity-progress__symbol {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #315f70;
  background: #dbeef5;
  font-size: 1.35rem;
  font-weight: 950;
}

.activity-progress__copy {
  display: flex;
  min-width: 118px;
  flex-direction: column;
  line-height: 1.15;
}

.activity-progress__copy strong {
  font-size: .88rem;
}

.activity-progress__copy small {
  margin-top: 3px;
  color: #517785;
  font-size: .72rem;
  font-weight: 700;
}

.activity-progress[data-status="in_progress"] {
  border-color: #e4be52;
  background: #fff8d8;
}

.activity-progress[data-status="in_progress"] .activity-progress__symbol {
  color: #6d4a00;
  background: #ffe89a;
}

.activity-progress[data-status="mastered"] {
  border-color: #78c49a;
  background: #e8f8ef;
}

.activity-progress[data-status="mastered"] .activity-progress__symbol {
  color: #0c633b;
  background: #ccefdc;
}

.activity-progress[data-status="unavailable"] {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.activity-progress[data-status="unavailable"] .activity-progress__symbol {
  color: #6b7280;
  background: #e5e7eb;
}

@media (max-width: 560px) {
  .group--with-progress {
    grid-column: 1 / -1;
  }

  .group-progress {
    min-width: 58px;
    padding-inline: 7px;
    font-size: .82rem;
  }

  .activity-head {
    align-items: flex-start;
  }

  .activity-title {
    flex-basis: 100%;
  }

  .activity-progress {
    flex: 1;
  }

  .activity-progress__status {
    flex: 1;
  }
}

@media (forced-colors: active) {
  .group-progress,
  .activity-progress,
  .activity-progress__symbol,
  .activity-progress__reset {
    border: 1px solid ButtonText;
  }
}
