* { box-sizing: border-box; }
body {
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0; padding: 0; color: #1a1a1a; background: #fafafa;
}
header {
  background: #1f2937; color: white; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
header a { color: #93c5fd; margin-right: 16px; text-decoration: none; }
header a:hover { text-decoration: underline; }
main { max-width: 800px; margin: 32px auto; padding: 0 24px; }
h1 { margin-top: 0; }
.box {
  background: white; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 20px 24px; margin: 16px 0;
}
.muted { color: #6b7280; font-size: 14px; }
.btn {
  display: inline-block; background: #2563eb; color: white;
  padding: 10px 20px; border-radius: 6px; text-decoration: none;
  border: 0; font: inherit; cursor: pointer;
}
.btn-secondary { background: #6b7280; }
.btn-danger { background: #dc2626; }
.kv { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: #f3f4f6; padding: 12px; border-radius: 6px; white-space: pre-wrap; word-break: break-all; }
.diag { border-left: 3px solid #2563eb; padding-left: 12px; margin: 12px 0; }
.diag strong { color: #1f2937; }
.warn { border-left-color: #f59e0b; }
.err  { border-left-color: #dc2626; }
.ok   { border-left-color: #10b981; }
nav.steps { font-size: 14px; color: #6b7280; margin-bottom: 12px; }
nav.steps b { color: #1f2937; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 8px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
th { background: #f9fafb; }
