:root {
  --bg: #fbfbf9;
  --fg: #1c1d1f;
  --muted: #676a70;
  --line: #e2e2dd;
  --accent: #1f5f8b;
  --accent-fg: #fff;
  --panel: #fff;
  --danger: #a3332b;
  --code: #f1f1ec;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141517;
    --fg: #e7e7e4;
    --muted: #9a9da3;
    --line: #2d2f33;
    --accent: #6fb0dc;
    --accent-fg: #0e1a22;
    --panel: #1b1c1f;
    --danger: #f08a80;
    --code: #232529;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.brand { color: var(--fg); font-weight: 650; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.brand span { color: var(--muted); font-weight: 450; }
nav { display: flex; align-items: center; gap: 16px; font-size: 14px; }
nav a { color: var(--muted); }
#who { color: var(--muted); }
main { padding: 40px 16px 64px; }
h1 { font-size: 26px; margin: 0 0 8px; font-weight: 650; }
.lead { color: var(--muted); max-width: 62ch; margin: 0 0 28px; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }
code { background: var(--code); padding: 1px 5px; border-radius: 4px; }
button, input {
  font: inherit;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--fg);
  padding: 8px 14px;
}
input { flex: 1; min-width: 0; }
input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
button { cursor: pointer; }
button.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); font-weight: 550; }
button.link { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; }
button.danger { color: var(--danger); }
label { display: block; font-weight: 550; margin-bottom: 6px; }
.row { display: flex; gap: 8px; align-items: center; }
form { margin-bottom: 24px; }
.secret {
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 28px;
  background: var(--panel);
}
.secret p { margin: 0 0 10px; }
.secret code { flex: 1; overflow-x: auto; padding: 8px 10px; white-space: nowrap; }
.secret pre { background: var(--code); padding: 10px 12px; border-radius: 6px; overflow-x: auto; margin: 12px 0 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 550; color: var(--muted); border-bottom: 1px solid var(--line); padding: 8px 6px; }
td { border-bottom: 1px solid var(--line); padding: 10px 6px; vertical-align: middle; }
td:last-child { text-align: right; }
tr.revoked td { color: var(--muted); }
.muted { color: var(--muted); }
.error { color: var(--danger); }
@media (max-width: 600px) {
  #who { display: none; }
  nav { gap: 12px; white-space: nowrap; }
  th:nth-child(4), td:nth-child(4) { display: none; }
  .row { flex-wrap: wrap; }
}
