:root { --bg:#f6f7f9; --fg:#1c1f24; --muted:#6b7280; --card:#fff; --line:#e5e7eb; --accent:#2563eb; --err:#b91c1c; }
* { box-sizing: border-box; }
body { margin:0; font:15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background:var(--bg); color:var(--fg); }
.top { display:flex; justify-content:space-between; align-items:center; padding:12px 20px; background:var(--card); border-bottom:1px solid var(--line); }
.top nav { display:flex; gap:16px; align-items:center; }
.top form { margin:0; }
.brand { font-weight:600; color:var(--fg); text-decoration:none; }
main { padding:24px 20px; max-width:1200px; margin:0 auto; }
.card { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:24px; }
.narrow { max-width:380px; margin:48px auto; }
label { display:block; margin-bottom:12px; }
input[type=text], input[type=password] { display:block; width:100%; padding:8px; border:1px solid var(--line); border-radius:6px; margin-top:4px; }
button { padding:8px 16px; border:0; border-radius:6px; background:var(--accent); color:#fff; cursor:pointer; }
.top button { background:none; color:var(--accent); padding:0; }
.error { color:var(--err); }
.muted { color:var(--muted); }
.tiles { display:flex; gap:16px; flex-wrap:wrap; }
.tile { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:16px 20px; min-width:180px; }
.tile .num { font-size:28px; font-weight:600; }
