.milestone-banner {
  margin: 0 0 22px;
  padding: 20px 22px;
  border: 1px solid rgba(22, 71, 52, .22);
  border-left: 6px solid #164734;
  border-radius: 14px;
  background: #eaf6ef;
}

.milestone-banner strong,
.milestone-banner span {
  display: block;
}

.milestone-banner strong {
  font-size: 18px;
}

.milestone-banner span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.tier-progress {
  margin: 0 0 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.tier-progress h2 {
  margin: 0 0 6px;
  font: 700 30px/1.15 "Atkinson Hyperlegible", Inter, sans-serif;
}

.tier-progress > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.tier-progress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tier-progress-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #faf8f1;
}

.tier-progress-item header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tier-progress-item strong {
  font-size: 15px;
}

.tier-progress-item span {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.tier-progress-item progress {
  width: 100%;
  height: 12px;
  accent-color: #164734;
}

.tier-progress-item p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.library-card.completed {
  border-color: #2c795c;
  box-shadow: inset 0 4px 0 #2c795c;
}

.library-card.completed > span::after {
  content: " · Completed";
  color: #176844;
}

@media (max-width: 760px) {
  .tier-progress-grid {
    grid-template-columns: 1fr;
  }
}
