:root { --fg: #1d1d1f; --muted: #5f6368; --bg: #fff; --line: #e3e3e6; --accent: #2457c5; --warn: #b3261e; }
@media (prefers-color-scheme: dark) { :root { --fg: #ececf0; --muted: #a0a3a9; --bg: #16171a; --line: #2c2e33; --accent: #8ab0ff; --warn: #ff8a80; } }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--fg); background: var(--bg); }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 16px; }
header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
header a.brand { font-weight: 700; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
nav a { margin-left: 14px; }
a { color: var(--accent); }
footer { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 40px; }
footer a { margin-right: 14px; }
h1 { font-size: 1.6rem; line-height: 1.3; }
h2 { font-size: 1.2rem; margin-top: 32px; }
.muted { color: var(--muted); }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin: 16px 0; }
.big { font-size: 2rem; font-weight: 700; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
td, th { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
input[type=text], input[type=email], textarea { width: 100%; padding: 10px; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
textarea { min-height: 120px; }
label { display: block; margin-top: 12px; font-weight: 600; }
button { margin-top: 14px; padding: 10px 18px; font: inherit; border: 0; border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; }
button.danger { background: var(--warn); }
button.link { background: none; color: var(--accent); padding: 0; margin: 0; text-decoration: underline; }
.error { color: var(--warn); }
.code { font: 700 2rem/1 ui-monospace, Menlo, monospace; letter-spacing: .2em; }
form.inline { display: inline; }
