:root { color-scheme: light dark; --bg: #faf7f2; --fg: #22201c; --muted: #6b645a; --accent: #c2541b; --card: #ffffff; --line: #e4ddd2; }
@media (prefers-color-scheme: dark) { :root { --bg: #17140f; --fg: #efe9df; --muted: #a89f92; --accent: #f08a4b; --card: #221e18; --line: #3a342b; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
header .brand { font-weight: 700; color: var(--accent); text-decoration: none; font-size: 18px; }
nav a { margin-left: 14px; color: var(--fg); }
main { max-width: 760px; margin: 0 auto; padding: 16px; }
footer { max-width: 760px; margin: 0 auto; padding: 16px; color: var(--muted); font-size: 14px; }
a { color: var(--accent); }
h1 { font-size: 28px; line-height: 1.2; }
h2 { font-size: 20px; margin-top: 28px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
form { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 12px; }
input[type=text] { width: 100%; padding: 10px; font: inherit; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); }
label.check { display: flex; gap: 8px; align-items: flex-start; }
button { padding: 12px 16px; font: inherit; font-weight: 600; color: #fff; background: #a3341b; border: 0; border-radius: 8px; cursor: pointer; }
.error { color: #b3261e; font-weight: 600; }
.ok { color: #2e7d32; font-weight: 600; }
address { font-style: normal; color: var(--muted); }
