:root { color-scheme: light dark; --fg: #1f2328; --muted: #59636e; --bg: #fff; --side: #f6f8fa;
  --line: #d1d9e0; --link: #0969da; --code: #eff2f5; }
@media (prefers-color-scheme: dark) { :root { --fg: #e6edf3; --muted: #9198a1; --bg: #0d1117;
  --side: #151b23; --line: #3d444d; --link: #4493f8; --code: #262c36; } }
* { box-sizing: border-box; }
body { margin: 0; display: flex; min-height: 100vh; color: var(--fg); background: var(--bg);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
nav.side { flex: 0 0 260px; padding: 24px 16px; background: var(--side); border-right: 1px solid var(--line);
  position: sticky; top: 0; height: 100vh; overflow-y: auto; font-size: 14px; }
nav.side .site { display: block; font-weight: 600; font-size: 18px; color: var(--fg); margin-bottom: 16px; }
nav.side .group { margin: 16px 0 4px; color: var(--muted); font-weight: 600; text-transform: uppercase;
  font-size: 12px; letter-spacing: .04em; }
nav.side ul { list-style: none; margin: 0; padding: 0; }
nav.side li a { display: block; padding: 3px 8px; border-radius: 6px; color: var(--fg); }
nav.side li a.current { background: var(--line); font-weight: 600; }
main { flex: 1; min-width: 0; max-width: 900px; padding: 32px 48px 64px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 1.6em 0 .6em; position: relative; }
h1 { margin-top: 0; padding-bottom: .3em; border-bottom: 1px solid var(--line); }
h2 { padding-bottom: .3em; border-bottom: 1px solid var(--line); }
.anchor { position: absolute; left: -1em; padding-right: .2em; color: var(--muted); visibility: hidden; }
h1:hover .anchor, h2:hover .anchor, h3:hover .anchor, h4:hover .anchor { visibility: visible; }
code { font: 85% ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; background: var(--code);
  padding: .2em .4em; border-radius: 6px; }
pre { background: var(--code); padding: 16px; border-radius: 6px; overflow-x: auto; line-height: 1.45; }
pre code { padding: 0; background: none; font-size: 85%; }
table { border-collapse: collapse; display: block; overflow-x: auto; margin: 1em 0; }
th, td { border: 1px solid var(--line); padding: 6px 13px; text-align: left; vertical-align: top; }
blockquote { margin: 0; padding: 0 1em; color: var(--muted); border-left: .25em solid var(--line); }
img { max-width: 100%; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
@media (max-width: 800px) { body { display: block; } nav.side { position: static; height: auto;
  border-right: 0; border-bottom: 1px solid var(--line); } main { padding: 24px 20px 48px; } }
