:root {
  --bg: #f7f8f2; --surface: #ffffff; --text: #1a2410; --muted: #5f6b55;
  --line: #e2e6d8; --primary: #5e8f12; --lime: #c6f04f; --on-lime: #1a2410;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #12160d; --surface: #1b2114; --text: #e8eedc; --muted: #a3ad95; --line: #2c3421; --primary: #a9d94a; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.brand { font-weight: 700; font-size: 22px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.badge { background: var(--lime); color: var(--on-lime); font-size: 12px; font-weight: 800; padding: 1px 7px; border-radius: 6px; }
nav.langs a { color: var(--muted); text-decoration: none; margin-left: 12px; font-size: 14px; }
nav.langs a[aria-current="true"] { color: var(--text); font-weight: 600; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
h3 { font-size: 16px; margin: 20px 0 4px; }
p, li { color: var(--text); }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 16px 0; }
.card ul { margin: 0; padding-left: 20px; }
a { color: var(--primary); }
table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 14px; }
.links a { display: block; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; text-decoration: none; color: var(--text); font-weight: 600; }
