/** Stepper */

.stepper {
  list-style: none; margin: 20px 8px; padding: 0;
  display: flex; justify-content: space-between;
  position: relative;
}

/* Track + progress fill */
.stepper::before, .stepper::after {
  content: ""; position: absolute; top: 11px; height: 2px;
  border-radius: 1px;
}

.stepper::before { left: 12px; right: 12px; background: var(--line2); }

.stepper::after  {
  left: 12px;
  width: calc((100% - 24px) * var(--progress, 0));
  background: var(--accent);
  transition: width .3s cubic-bezier(.4,.1,.3,1);
}

.stepper__node {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: relative;
	z-index: 1; /* above the track */
}

.stepper__node button {
  width: 24px; height: 24px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--panel);
  color: var(--muted); font: 600 11px/1 var(--font-sans);
  cursor: pointer;
}

.stepper__node.is-done button {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

.stepper__node.is-active button {
  border-color: var(--ink); color: var(--ink);
}

.stepper__label {
  font-size: 12px; color: var(--muted); white-space: nowrap;
}

.stepper__node.is-active .stepper__label {
  color: var(--ink); font-weight: 600;
}

.stepper__dot {
	padding: 0;
	margin: 0;
}