/* The step bar of the step-through explainers (prompt-anatomy, tokens):
   Back, numbered dots, Next. Linked after base.css by the pages that have
   one; each page styles its own .button and adds its own controls to the bar.
   Colours come from the page's palette, with the shared light palette as
   the fallback. */

.stepbar {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px clamp(16px, 3vw, 36px);
  border-bottom: 1px solid var(--line, #d8e0e6);
  background: var(--surface, #ffffff);
}

.step-dots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.step-dots button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong, #a8b5bf);
  border-radius: 50%;
  background: var(--surface, #ffffff);
  color: var(--muted, #61707d);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.step-dots button.is-done { background: var(--sidebar, #edf2f5); color: var(--ink, #15202a); }
.step-dots button[aria-current] { background: var(--ink, #15202a); border-color: var(--ink, #15202a); color: #fff; }

@media (max-width: 760px) {
  .step-dots { flex-wrap: wrap; }
}
