/* The step bar of the start-something flows (components/_flow_steps.html): numbered dots joined by a
   line; done ones ink with a tick, the current one marigold-ringed. */
.flow-steps { margin: 0 0 var(--space-5); }
.flow-steps-count { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 10px; }
.flow-steps ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; align-items: center; }
.flow-steps li { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; color: var(--text-muted); font-weight: 600; font-size: 14px; }
.flow-steps li + li::before { content: ""; flex: 0 0 16px; height: 2px; background: var(--line); border-radius: 2px; }
.flow-steps-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px;
  font-weight: 800; border: 2px solid var(--line); background: var(--surface); color: var(--text-muted); }
.flow-steps-dot .icon { width: 14px; height: 14px; }
.flow-steps-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-steps .is-done { color: var(--text); }
.flow-steps .is-done .flow-steps-dot { background: var(--cmu-ink); border-color: var(--cmu-ink); color: var(--cmu-paper); }
[data-bs-theme="dark"] .flow-steps .is-done .flow-steps-dot { background: var(--cmu-paper); border-color: var(--cmu-paper); color: var(--cmu-ink); }
.flow-steps .is-current { color: var(--text); }
.flow-steps .is-current .flow-steps-dot { border-color: var(--cmu-marigold); color: var(--text); box-shadow: 0 0 0 3px rgba(255, 176, 31, .25); }
/* Phones: the other steps show just their number; the current step keeps its name. */
@media (max-width: 480px) {
  .flow-steps li { flex: 0 0 auto; }
  .flow-steps .is-next .flow-steps-label, .flow-steps .is-done .flow-steps-label { position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
