:root { --fg: #1c1f24; --muted: #5d6470; --line: #d9dde3; --bg: #f7f8fa; --card: #fff; --accent: #1d4ed8; --danger: #b42318; --ok: #0f7b3e; --note: #fff6db; }
@media (prefers-color-scheme: dark) { :root { --fg: #e6e8eb; --muted: #9aa3ae; --line: #343a42; --bg: #14171b; --card: #1b1f24; --accent: #7aa2ff; --danger: #ff7a6b; --note: #3a3220; } }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); }
.top { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 12px 24px; background: var(--card); border-bottom: 1px solid var(--line); }
.brand { font-weight: 650; color: var(--fg); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
nav a { color: var(--fg); text-decoration: none; } nav a:hover { color: var(--accent); }
main { max-width: 1100px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: 1.6rem; margin: 0 0 16px; } h2 { font-size: 1.15rem; margin: 32px 0 12px; }
a { color: var(--accent); }
.narrow { max-width: 420px; }
form label { display: block; margin: 0 0 12px; font-weight: 500; }
input, select { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; font: inherit; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
input[type=checkbox] { display: inline; width: auto; margin: 0 6px 0 0; }
label.check { font-weight: 400; margin-bottom: 6px; }
fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px 4px; margin: 0 0 12px; } legend { padding: 0 4px; font-weight: 500; }
button { padding: 8px 16px; font: inherit; font-weight: 550; color: #fff; background: var(--accent); border: 0; border-radius: 6px; cursor: pointer; }
button.danger { background: var(--danger); } button.small { padding: 4px 10px; font-size: .85rem; }
button.link { background: none; color: var(--fg); padding: 0; font-weight: 400; } button.link:hover { color: var(--accent); }
form.inline { display: inline; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 16px; align-items: end; }
.grid .wide { grid-column: 1 / -1; } .grid button.wide { justify-self: start; margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 6px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .82rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
tr.off td { color: var(--muted); }
.muted { color: var(--muted); } .small { font-size: .85rem; }
.error { color: var(--danger); font-weight: 550; }
.notice { background: var(--note); padding: 10px 12px; border-radius: 6px; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; }
code.secret { display: inline-block; padding: 10px 12px; background: var(--card); border: 1px dashed var(--line); border-radius: 6px; word-break: break-all; font-size: 1rem; user-select: all; }
pre { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 12px; overflow-x: auto; font-size: .85rem; }
.facts dt { font-weight: 600; margin-top: 8px; } .facts dd { margin: 2px 0 0; }
