/* Guide runner (docs/leitfaden.md, "Device runner"): reuses the Sprechansicht's classes
   (participation.css) almost entirely — same look, different controller. Only what those classes
   do not already cover lives here. */

/* Transition sentence shown above the question text on the first question of a block. */
.leitfaden__ueberleitung {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

/* Rejected start (docs/wizards.md, "Offline start", mirrored for the guide flow): the template
   was withdrawn or the client id can never become valid — nothing more to show or retry. */
.leitfaden__fehler {
  margin: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--danger);
  border-radius: var(--radius-m);
  color: var(--danger);
  font-weight: 700;
  background: var(--surface);
}

.leitfaden__fehler[hidden] {
  display: none;
}

.leitfaden__fehler-home {
  display: inline-block;
  margin-top: var(--space-2);
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
}

/* participation.css never toggles `hidden` on the question or the button bar itself (the
   Sprechansicht only ever covers them with the overlay) — their `display: grid`/`fixed` beats
   the `[hidden]` default, so the guide runner needs its own override for the moment it swaps the
   whole page for the completion screen (docs/leitfaden.md) or the rejected-start message. */
.sprechansicht__frage[hidden],
.sprechansicht__leiste[hidden] {
  display: none;
}
