:root { --text: #1d2b33; --muted: #5b6b73; --bg: #ffffff; --line: #e1e6e9; --accent: #047a88; --field: #ffffff; --ok: #1f6b43; --okbg: #e3f4ea; --err: #a3262a; --errbg: #fbe7e7; }
@media (prefers-color-scheme: dark) {
  :root { --text: #e6ecef; --muted: #a6b4ba; --bg: #141c20; --line: #2a363c; --accent: #4fc1cf; --field: #1b252a; --ok: #8fd8ad; --okbg: #1d3328; --err: #f3a5a5; --errbg: #3a2022; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 -apple-system, "Helvetica Neue", Arial, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 40px; }
header.top { max-width: 720px; margin: 0 auto; padding: 20px 16px 0; display: flex; align-items: center; gap: 10px; }
header.top a { color: var(--text); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
header.top img { width: 32px; height: 32px; }
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 18px; margin: 28px 0 6px; }
p, li { margin: 0 0 10px; }
a { color: var(--accent); }
code { font-size: 14px; }
.meta, .muted { color: var(--muted); font-size: 14px; }
.hero img { width: 72px; height: 72px; }
footer { max-width: 720px; margin: 0 auto; padding: 16px 16px 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); }
form { display: grid; gap: 14px; margin-top: 16px; }
label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button { font: inherit; font-weight: 700; color: #fff; background: var(--accent); border: 0; border-radius: 6px; padding: 10px 18px; cursor: pointer; justify-self: start; }
button[disabled] { opacity: .6; cursor: default; }
.note { padding: 10px 12px; border-radius: 6px; }
.note.ok { color: var(--ok); background: var(--okbg); }
.note.err { color: var(--err); background: var(--errbg); }
[hidden] { display: none !important; }
