:root { color-scheme: light dark; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 12px 24px; border-bottom: 1px solid #ccc;
}
header .home { font-weight: 600; text-decoration: none; }
header nav a { margin-left: 12px; }
header .who { opacity: .7; }
main { max-width: 860px; margin: 0 auto; padding: 24px 16px 48px; }
footer { max-width: 860px; margin: 0 auto; padding: 0 16px 24px; opacity: .6; font-size: 13px; }
h1 { font-size: 22px; margin-top: 28px; }
h2 { font-size: 17px; margin-top: 24px; }
p.banner { margin: 0; padding: 8px 24px; background: #f3f3c0; color: #4a4a00; font-size: 13px; }
p.warn { padding: 10px 12px; border-left: 3px solid #b58900; background: rgba(181,137,0,.08); }
p.muted { opacity: .7; font-size: 13px; }
table { border-collapse: collapse; margin: 12px 0; width: 100%; }
table.kv th { text-align: left; width: 220px; vertical-align: top; font-weight: 600; }
table.kv th, table.kv td { padding: 4px 8px; border-bottom: 1px solid #ddd; }
table.grid th, table.grid td { padding: 6px 8px; border: 1px solid #ddd; text-align: left; }
code, pre { font-family: Consolas, "Courier New", monospace; font-size: 13px; }
pre.token {
  padding: 12px; border: 1px solid #999; background: rgba(127,127,127,.12);
  word-break: break-all; white-space: pre-wrap;
}
form label { display: block; margin: 10px 0; }
button, a.button {
  display: inline-block; padding: 8px 14px; margin-top: 8px;
  border: 1px solid #666; background: rgba(127,127,127,.12);
  border-radius: 3px; cursor: pointer; text-decoration: none; font-size: 15px;
}
button:hover, a.button:hover { background: rgba(127,127,127,.25); }

/* the sign-out control is a form (Y2B-31) but reads as the link it replaced */
header form.signout { display: inline; }
header form.signout button {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; cursor: pointer;
}
