:root {
  --x0-brand: #0b69a3;
  --x0-border: #d9e2ec;
  --x0-muted: #627d98;
  --x0-bg: #f6f8fa;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #1f2933;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--x0-bg); }
header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--x0-border);
}
header span { color: var(--x0-muted); font-size: 0.9rem; }
main { padding: 0.9rem 1rem 1.25rem; }
h1 { font-size: 1.15rem; margin: 0 0 0.5rem; }
p { margin: 0.4rem 0 0.75rem; }
.muted { color: var(--x0-muted); }
.warn {
  background: #fff3c4;
  border: 1px solid #f0d78c;
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
}
.hidden { display: none !important; }
.btn {
  display: inline-block;
  background: var(--x0-brand);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}
.btn.secondary { background: #627d98; }
.btn:disabled { opacity: 0.55; cursor: default; }
.steps {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}
.steps li {
  font-size: 0.75rem;
  color: var(--x0-muted);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--x0-border);
  background: #fff;
}
.steps li.active {
  color: #fff;
  background: var(--x0-brand);
  border-color: var(--x0-brand);
}
.steps li.done { border-color: var(--x0-brand); color: var(--x0-brand); }
label, .sr { display: block; font-weight: 600; margin-bottom: 0.25rem; }
select, input[type="password"], input[type="text"], input[type="email"] {
  width: 100%;
  max-width: 22rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--x0-border);
  border-radius: 6px;
  font: inherit;
  margin-top: 0.2rem;
}
pre {
  background: #eef2f7;
  padding: 0.65rem;
  border-radius: 6px;
  overflow-x: auto;
  white-space: pre-wrap;
  font-size: 0.78rem;
}
details { margin-top: 0.75rem; }
.foot { margin-top: 1.25rem; font-size: 0.85rem; }
a { color: var(--x0-brand); }
