:root { --wood:#8a5a32; --wood-dark:#5b3a1f; --cream:#f7f0e4; --leaf:#4f7a3a; --ink:#2b2118; }
* { box-sizing: border-box; }
body { margin:0; font-family: "Segoe UI", system-ui, sans-serif; color:var(--ink);
       background: linear-gradient(180deg,#e9f1e1 0%, #f7f0e4 240px); }
header { background: linear-gradient(90deg,var(--wood-dark),var(--wood)); color:#fff; padding:14px 28px;
         display:flex; flex-wrap:wrap; align-items:center; gap:24px; box-shadow:0 2px 8px #0003; }
.brand { font-weight:700; font-size:1.2rem; letter-spacing:.02em; }
.brand span { color:#f3c98b; }
nav { display:flex; flex-wrap:wrap; gap:16px; align-items:center; }
nav a, button.link { color:#fbe9d0; text-decoration:none; background:none; border:none; font:inherit; cursor:pointer; padding:0; }
nav a:hover, button.link:hover { color:#fff; text-decoration:underline; }
main { max-width:1100px; margin:28px auto; padding:0 20px; }
h1 { color:var(--wood-dark); }
.card { background:#fff; border-radius:12px; padding:20px 24px; margin-bottom:20px; box-shadow:0 1px 6px #5b3a1f22; border-top:4px solid var(--wood); }
.card.narrow { max-width:440px; margin:40px auto; }
label { display:block; margin:12px 0; font-weight:600; }
input { display:block; width:100%; max-width:320px; margin-top:4px; padding:8px 10px; border:1px solid #c9b79f; border-radius:6px; font:inherit; }
button, .button { background:var(--leaf); color:#fff; border:none; padding:9px 18px; border-radius:6px; font:inherit; cursor:pointer; text-decoration:none; display:inline-block; }
button:hover, .button:hover { filter:brightness(1.1); }
button.small { padding:4px 10px; font-size:.85rem; background:var(--wood); }
form.inline { display:inline; }
table { width:100%; border-collapse:collapse; }
th, td { text-align:left; padding:8px 6px; border-bottom:1px solid #eee2d2; }
th { color:var(--wood-dark); font-size:.85rem; text-transform:uppercase; letter-spacing:.04em; }
tr.banned td { color:#a33; text-decoration:line-through; }
.muted { color:#7b6b5a; }
.error, .error ul { color:#b02a1a; }
.notice { background:#e4f2da; border-left:4px solid var(--leaf); padding:10px 14px; border-radius:6px; margin-bottom:18px; }
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; margin-bottom:20px; }
.tile { background:#fff; border-radius:12px; padding:16px; box-shadow:0 1px 6px #5b3a1f22; text-align:center; }
.tile b { display:block; font-size:2rem; color:var(--wood); }
.tile span { color:#7b6b5a; }
