:root {
  color-scheme: light dark;
  --text: #1a1a1a;
  --muted: #555;
  --border: #8884;
  --link: #0b57d0;
  --bg: #fff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8e8e8;
    --muted: #aaa;
    --border: #6666;
    --link: #8ab4f8;
    --bg: #121212;
  }
}
* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--link); }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.75rem; line-height: 1.3; }
h3 { font-size: 1rem; margin: 1.25rem 0 0.5rem; }
p, ul { margin: 0.5rem 0; }
ul { padding-left: 1.35rem; }
li { margin: 0.35rem 0; }
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
  margin: 0.75rem 0;
}
th, td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
th { font-weight: 600; }
.back { margin-bottom: 1.5rem; font-size: 0.95rem; }
.meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.5rem; }
.lang-switch { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.92rem; color: var(--muted); }
code { font-size: 0.9em; }
[hidden] { display: none !important; }
