
:root { --bg: #f3f5ef; --card: #fff; --txt: #171a1c; --mut: #535c62; --line: #d9dee0; --acc: #3c6b2f; --on: #fff; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #131813; --card: #21272a; --txt: #f2f4f4; --mut: #aab2b6; --line: #363e42; --acc: #9fd08a; --on: #10200b; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 17px/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
main { max-width: 520px; margin: 0 auto; padding: 24px 16px 60px; }
h1 { margin: 0 0 8px; font-size: 28px; }
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 4px; }
input, select, textarea { font: inherit; width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--card); color: var(--txt); }
.check { flex-direction: row; align-items: center; gap: 10px; }
.check input { width: 24px; min-height: 24px; }
.trap { position: absolute; left: -9999px; }
button { font: inherit; font-weight: 700; min-height: 52px; border: 0; border-radius: 10px; background: var(--acc); color: var(--on); cursor: pointer; }
button:disabled { opacity: 0.6; }
.muted { color: var(--mut); margin: 0; }
.small { font-size: 14px; }
#message:empty { display: none; }
#message { margin: 0; font-weight: 600; }
