:root { --fg: #1d1d1f; --muted: #666; --bg: #fafafa; --accent: #2a6df4; --line: #ddd; }
@media (prefers-color-scheme: dark) {
  :root { --fg: #eee; --muted: #aaa; --bg: #161618; --accent: #6d9bff; --line: #333; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, sans-serif; color: var(--fg); background: var(--bg); }
.top, main, .bottom { max-width: 760px; margin: 0 auto; padding: 16px; }
.top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; color: var(--fg); text-decoration: none; }
nav a { margin-left: 16px; color: var(--accent); text-decoration: none; }
.bottom { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
code { background: rgba(127,127,127,.15); padding: 1px 5px; border-radius: 4px; }
.status { border-collapse: collapse; width: 100%; }
.status th, .status td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.gb { display: grid; gap: 10px; margin-bottom: 24px; }
.gb label { display: grid; gap: 4px; }
.gb input, .gb textarea { font: inherit; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: inherit; }
.gb button { justify-self: start; font: inherit; padding: 8px 16px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; cursor: pointer; }
.entry { border-top: 1px solid var(--line); padding: 8px 0; }
.entry small { color: var(--muted); }
.error { color: #d33; } .note { color: var(--muted); }
