:root { color-scheme: light dark; --bg: #f7f9fc; --surface: #fff; --text: #172b41; --muted: #4c6278; --line: #d7e0e9; --accent: #075aa8; }
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.7 system-ui, -apple-system, "Segoe UI", sans-serif; overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; max-width: 76rem; margin: auto; padding: 1.2rem 2rem; }
.brand { font-size: 1.25rem; font-weight: 750; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
main { max-width: 64rem; margin: 0 auto; padding: 2rem 3rem; background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; }
h1, h2, h3, h4 { line-height: 1.3; }
h1 { font-size: clamp(1.6rem, 4vw, 2.35rem); margin-top: 0; }
h2 { margin-top: 2.3rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
pre { max-width: 100%; padding: 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: .4rem; overflow-x: auto; white-space: pre; overflow-wrap: normal; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; }
:not(pre) > code { padding: .1em .3em; background: var(--bg); border-radius: .2rem; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 1.2rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: .7rem; border: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 8rem; }
th { background: var(--bg); }
blockquote { margin-left: 0; padding: .2rem 1rem; border-left: 4px solid var(--accent); color: var(--muted); }
img { max-width: 100%; }
footer { max-width: 64rem; margin: auto; padding: 1.5rem; text-align: center; color: var(--muted); }
.skip-link { position: absolute; top: .4rem; left: .4rem; transform: translateY(-160%); z-index: 2; padding: .6rem 1rem; background: var(--surface); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 640px) { header { padding: 1rem; } main { padding: 1.3rem 1rem; border-radius: 0; border-left: 0; border-right: 0; } th, td { padding: .5rem; } }
@media (prefers-color-scheme: dark) { :root { --bg: #101b27; --surface: #172535; --text: #edf3f9; --muted: #b4c6d7; --line: #3a4d61; --accent: #8fc9ff; } }
