:root { color-scheme: light; font-family: system-ui, sans-serif; color: #20242a; background: #fafafa; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
header, footer { padding: 20px max(24px, calc((100vw - 1200px) / 2)); background: #fff; }
header { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid #ddd; }
header a:first-child { font-size: 1.4rem; font-weight: 750; text-decoration: none; color: #20242a; }
a { color: #174c90; text-underline-offset: .18em; }
a:hover { color: #102f59; }
a:focus-visible { outline: 3px solid #174c90; outline-offset: 4px; }
.layout { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; padding: 36px 24px; }
nav { display: flex; flex-direction: column; gap: 4px; align-self: start; }
nav a { padding: 9px 10px; border-radius: 6px; text-decoration: none; }
nav a[aria-current] { background: #e8eef7; color: #173f73; font-weight: 650; }
main { max-width: 75ch; min-width: 0; }
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; margin: 0 0 28px; letter-spacing: -.02em; }
h2 { font-size: 1.5rem; margin: 40px 0 12px; line-height: 1.3; }
p, ul, ol { margin: 0 0 20px; }
li + li { margin-top: 7px; }
pre { background: #edf0f3; padding: 18px; border-radius: 8px; overflow: auto; line-height: 1.55; }
code { font-size: .9em; overflow-wrap: anywhere; }
table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; }
td, th { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid #d4d8dd; min-width: 130px; }
footer { font-size: .9rem; color: #4e5660; border-top: 1px solid #ddd; }
.skip { position: absolute; top: -60px; background: white; padding: 8px; }
.skip:focus { top: 8px; }
::selection { background: #b9d3f4; color: #102944; }
@media (max-width: 760px) { .layout { grid-template-columns: 1fr; gap: 28px; } nav { border-bottom: 1px solid #ddd; padding-bottom: 18px; } header { flex-wrap: wrap; } }
