:root { --bg:#fff7ec; --fg:#2b1a12; --muted:#7a5a48; --accent:#ff5a3c; --card:#ffffff; --line:#ecdcc8; }
@media (prefers-color-scheme: dark) { :root { --bg:#1a120e; --fg:#fff3e6; --muted:#c9a892; --card:#241913; --line:#3d2a20; } }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--fg); font:16px/1.65 ui-rounded,'SF Pro Rounded','Nunito',system-ui,sans-serif; }
header, main, footer { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header { display:flex; justify-content:space-between; align-items:center; padding-top:18px; padding-bottom:6px; }
.logo { font-weight:900; font-size:1.25rem; color:var(--fg); text-decoration:none; }
.logo span { color:var(--accent); }
nav a { margin-left:14px; color:var(--muted); font-weight:700; text-decoration:none; }
nav a:hover, nav a[aria-current] { color:var(--fg); }
h1 { font-size:2rem; line-height:1.2; margin:18px 0 4px; }
h2 { font-size:1.2rem; margin:28px 0 6px; }
.eff { color:var(--muted); margin-top:0; }
.short { background:var(--card); border:2px solid var(--line); border-radius:18px; padding:14px 18px; }
table { width:100%; border-collapse:collapse; font-size:.95rem; }
th, td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line); vertical-align:top; }
a { color:inherit; }
form { display:grid; gap:12px; background:var(--card); border:2px solid var(--line); border-radius:18px; padding:18px; }
label { display:grid; gap:4px; font-weight:700; font-size:.92rem; }
input, select, textarea { font:inherit; padding:10px 12px; border:2px solid var(--fg); border-radius:12px; background:var(--bg); color:var(--fg); }
textarea { min-height:140px; }
button { font:inherit; font-weight:800; background:var(--accent); color:#2b1a12; border:3px solid var(--fg); border-radius:999px; padding:12px 18px; cursor:pointer; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.note { color:var(--muted); font-size:.9rem; }
.ok { color:#0b7a46; font-weight:800; } .err { color:#c1121f; font-weight:800; }
footer { color:var(--muted); font-size:.85rem; padding-top:30px; padding-bottom:40px; }
