/* Progress stats */
.stats {
  margin-bottom: 1.75rem;
}
.bar {
  width: 100%;
  height: 8px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.bar.bar-sm {
  height: 5px;
  margin: 0.25rem 0 0.5rem;
}
.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition:
    width 0.3s,
    background-color 0.3s;
}
.bar-fill.complete {
  background: var(--green);
}
/* Fold / unfold controls */
.fold-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.fold-controls-sub {
  margin: 0.35rem 0 0.85rem;
}
.btn-sm {
  padding: 0.3rem 0.7rem;
  font-size: var(--text-sm);
}
.fold-link {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: var(--text-sm);
  padding: 0.1rem 0; /* text lines up with the description above */
}
.fold-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

