:root { --bg:#F4F7F1; --card:#fff; --text:#13241A; --muted:#66766C; --line:#E2E9DF; --green:#17633A; --deep:#0E4A2A; --red:#CC3D3D; --soft:#E6F2E3; }
@media (prefers-color-scheme: dark) { :root { --bg:#0C1410; --card:#151F19; --text:#E7F0E9; --muted:#93A399; --line:#243229; --green:#55C784; --soft:#1B2B21; } }
* { box-sizing:border-box; }
body { margin:0; font:16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; background:var(--bg); color:var(--text); }
header { background:linear-gradient(135deg,#0E4A2A,#1E7A45); color:#fff; padding:28px 20px; }
header h1 { margin:0 auto; max-width:760px; font-size:24px; } header p { margin:6px auto 0; max-width:760px; opacity:.85; }
main { max-width:760px; margin:0 auto; padding:20px 16px 60px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:20px; margin-bottom:16px; }
h2 { font-size:18px; margin:0 0 8px; } a { color:var(--green); }
input { font:inherit; width:100%; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--card); color:var(--text); margin:6px 0 12px; }
button { font:inherit; font-weight:700; border:0; border-radius:12px; padding:12px 18px; color:#fff; background:var(--green); cursor:pointer; }
button.danger { background:var(--red); } button:disabled { opacity:.5; }
.msg { padding:12px 14px; border-radius:12px; background:var(--soft); margin-top:12px; font-weight:600; }
.msg.err { background:#FDE8E6; color:var(--red); } .hidden { display:none; } small { color:var(--muted); }
