:root {
  --bg: #ffffff; --fg: #1f2937; --muted: #6b7280; --accent: #1d4ed8; --line: #e5e7eb; --soft: #f3f4f6; --brand: #0f172a;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1120; --fg: #e5e7eb; --muted: #9ca3af; --accent: #93c5fd; --line: #1f2937; --soft: #111827; --brand: #020617; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.site-header { background: var(--brand); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.brand { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.1rem; letter-spacing: .01em; }
.site-header nav a { color: #cbd5e1; text-decoration: none; margin-left: 18px; font-size: .95rem; }
.site-header nav a:hover { color: #fff; }
main { padding-top: 28px; padding-bottom: 48px; }
h1 { font-size: 2rem; line-height: 1.2; margin: .4em 0 .5em; }
h2 { font-size: 1.3rem; margin: 2em 0 .5em; padding-top: .6em; border-top: 1px solid var(--line); }
h3 { font-size: 1.1rem; margin: 1.5em 0 .4em; }
p, ul { margin: 0 0 1em; }
ul { padding-left: 1.3em; }
li { margin: .3em 0; }
a { color: var(--accent); }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft); padding: .1em .35em; border-radius: 4px; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); }
td:first-child { font-weight: 600; white-space: nowrap; }
.lead { font-size: 1.1rem; color: var(--muted); }
.cards { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards a { display: block; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--fg); background: var(--soft); }
.cards a:hover { border-color: var(--accent); }
.cards strong { display: block; color: var(--accent); font-size: 1.1rem; margin-bottom: 4px; }
.cards span { color: var(--muted); font-size: .95rem; }
.note { border-left: 4px solid #dc2626; padding: 10px 14px; background: var(--soft); border-radius: 0 8px 8px 0; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 20px 0 32px; }
@media (max-width: 520px) { td:first-child { white-space: normal; } h1 { font-size: 1.6rem; } }
