.material-archive-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #bfd2c8;
  border-radius: 13px;
  background: #f7faf8;
}

.material-archive-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.material-archive-progress progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #dfe7e2;
}

.material-archive-progress progress::-webkit-progress-bar {
  background: #dfe7e2;
}

.material-archive-progress progress::-webkit-progress-value {
  background: var(--green);
}

.material-archive-progress progress::-moz-progress-bar {
  background: var(--green);
}

.material-archive-progress small {
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-size: 9px;
}

.material-archive-result-summary {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #bfd2c8;
  border-radius: 13px;
  background: #f7faf8;
}

.material-archive-result-summary > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}

.material-archive-result-summary.has-errors > span {
  background: #a66c1b;
}

.material-archive-result-summary small,
.material-archive-result-summary strong {
  display: block;
}

.material-archive-result-summary small {
  min-height: 24px;
  color: var(--ink-faint);
  font-size: 8px;
  line-height: 1.3;
}

.material-archive-result-summary strong {
  margin-top: 5px;
  font-size: 18px;
}

.material-archive-failures a {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 15px;
  text-decoration: none;
}

@media (max-width: 480px) {
  .material-archive-result-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .material-archive-result-summary > span {
    grid-column: 1 / -1;
  }
}
