/* Numbered intake steps (2026-08-01).
   Emphasis is progressive — the next action is filled, completed actions go
   quiet — but NOTHING is ever disabled: a user who types straight into the form
   must still reach step 3 without touching step 1. Numbering that blocked the
   manual route would break it in order to guide the assisted one. */
.specwiz-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  margin-right: 0.5em;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  font-size: 0.8em;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
  flex: none;
}
.specwiz-step-primary { font-weight: 600; }
.specwiz-step-done { opacity: 0.6; }
.specwiz-step-optional {
  margin-left: 0.5em;
  font-size: 0.72em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

/* The question list starts collapsed so the paragraph box is the front door.
   One click opens it — the manual route stays intact for anyone who prefers
   typing into fields. */
.specwiz-fields-disclosure { margin: 0.75rem 0; }
.specwiz-fields-summary {
  cursor: pointer;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted, #8a8a99);
  user-select: none;
}
.specwiz-fields-summary:focus-visible {
  outline: 2px solid var(--accent-purple, #7c6cff);
  outline-offset: 2px;
  border-radius: 3px;
}
.specwiz-fields-disclosure[open] > .specwiz-fields-summary {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule, #d3d8e0);
}

/* Explicit, because the UA's closed-<details> hiding is being overridden by an
   app stylesheet that sets `display` on the content div — the fields rendered
   at full height with the disclosure shut. Stating it here is deterministic and
   cheaper than hunting which rule wins. */
.specwiz-fields-disclosure:not([open]) > .specwiz-form { display: none; }
