/* The setup wizard: one column in the middle, like GNOME's first start. */
.wizard { max-width: 560px; margin: 6vh auto 48px; padding: 0 16px; }
.wizard h1 { font-size: 26px; margin: 0 0 6px; text-align: center; }
.wizard .lead { color: var(--dim-fg); margin: 0 0 24px; text-align: center; }
.steps { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; }
.steps span { width: 8px; height: 8px; border-radius: 50%; background: var(--button-bg); }
.steps span.now { background: var(--accent); }
.wizard .buttons { justify-content: space-between; }
.wizard details { margin-top: 12px; }
.wizard summary { cursor: pointer; color: var(--dim-fg); }
label.choice { display: flex; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; }
label.choice + label.choice { border-top: 1px solid var(--border); }
label.choice .title { display: block; font-weight: 700; }
label.choice .description { display: block; }
.phase { display: flex; justify-content: space-between; padding: 12px 14px; }
.phase + .phase { border-top: 1px solid var(--border); }
.phase .state { color: var(--dim-fg); }
.phase.done .state { color: var(--success-text); }
.phase.now .state, .phase.failed .state { font-weight: 700; color: var(--accent); }
.phase.failed .state { color: var(--destructive-text); }
pre.problem { white-space: pre-wrap; font-size: 12px; background: var(--button-bg); padding: 12px; border-radius: 8px; }
/* Links that look like buttons ("Back", "Continue", "Open the dashboard"). */
a.button { display: inline-flex; align-items: center; text-decoration: none; }
a.button:hover { background: var(--button-hover); }
a.button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
a.button.suggested { background: var(--accent); color: var(--accent-fg); }
a.button.suggested:hover { filter: brightness(1.08); }
a.button.pill { border-radius: 999px; padding: 10px 32px; }
.wizard .buttons > span { display: flex; gap: 12px; flex-wrap: wrap; }
.wizard .boxed-list + .boxed-list, .wizard .boxed-list + .banner { margin-top: 16px; }
.wizard .banner { margin-bottom: 16px; }
/* A note, not a problem (the demo's hints): the accent's blue, not red. */
.wizard .banner.info { background: color-mix(in srgb, var(--accent) 15%, transparent); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* The emergency sheet: printed on its own, the rest of the page left out. */
.sheet { margin: 24px 0 8px; }
.sheet h2 { font-size: 18px; margin: 0 0 6px; }
.secret { display: grid; gap: 6px; padding: 12px 14px; }
.secret + .secret { border-top: 1px solid var(--border); }
.secret .name { font-weight: 700; }
.secret code { font-family: "Source Code Pro", "DejaVu Sans Mono", monospace; font-size: 17px;
  word-break: break-all; letter-spacing: 0.02em; }
@media print {
  .no-print, .steps { display: none !important; }
  body, .boxed-list { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .boxed-list { border: 1px solid #000; }
  .description { color: #000 !important; }
}
