:root {
  color-scheme: light dark;
  --bg: #ffffff; --fg: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7; --field: #ffffff;
  --accent: #0071e3; --accent-fg: #ffffff; --danger: #d70015; --ok: #1a7f37; --note: #f5f5f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1c1e; --fg: #f5f5f7; --muted: #a1a1a6; --line: #3a3a3c; --field: #2c2c2e;
    --accent: #0a84ff; --danger: #ff453a; --ok: #30d158; --note: #2c2c2e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.bar a { color: var(--fg); text-decoration: none; }
.brand { font-weight: 600; }
main { max-width: 560px; margin: 0 auto; padding: 40px 24px 64px; }
h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 16px; }
h2 { font-size: 21px; margin: 0 0 8px; }
section { padding: 24px 0; border-top: 1px solid var(--line); }
section:first-of-type { margin-top: 24px; }
p { margin: 0 0 16px; }
.lead { font-size: 21px; color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
a { color: var(--accent); }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type=email] {
  width: 100%; font: inherit; padding: 10px 12px; margin-bottom: 16px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--field); color: var(--fg);
}
input:focus-visible, button:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
button, .button {
  display: inline-block; font: inherit; font-weight: 500; padding: 10px 20px; min-height: 44px;
  border-radius: 980px; border: 1px solid var(--line); background: transparent; color: var(--fg);
  cursor: pointer; text-decoration: none; text-align: center;
}
button.primary, .button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
button.destructive { color: var(--danger); }
button:disabled { opacity: .5; cursor: default; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
form { margin: 0 0 16px; }
.error { color: var(--danger); }
.warning, .notice { background: var(--note); border-radius: 12px; padding: 12px 16px; }
.online { color: var(--ok); font-weight: 600; }
.offline { color: var(--muted); font-weight: 600; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 12px; }
th, td { text-align: left; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; }
ul { padding-left: 20px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
@media (max-width: 600px) { table { display: block; overflow-x: auto; } }
