:root { --theme-color: #d9272e; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; color: #172033; background: #fff; font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: #b51f26; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--theme-color); outline-offset: 3px; }
header, main, footer { max-width: 1080px; margin: auto; padding: 24px; }
header { border-bottom: 1px solid #d8dee8; }
.brand { font-size: 24px; font-weight: 700; text-decoration: none; }
nav, .source-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 16px; }
nav a, .source-links a { font-size: 14px; }
h1, h2, h3, h4 { line-height: 1.3; scroll-margin-top: 16px; overflow-wrap: anywhere; }
h2 { margin-top: 40px; }
article { min-width: 0; }
article p, article li { overflow-wrap: anywhere; }
pre { overflow: auto; padding: 18px; background: #f5f7fa; border: 1px solid #e7ecf2; border-radius: 6px; }
code { font: .9em/1.6 "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
:not(pre) > code { background: #f5f7fa; padding: 2px 4px; overflow-wrap: anywhere; }
table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; }
th, td { border: 1px solid #d8dee8; padding: 8px 12px; text-align: left; vertical-align: top; }
th { background: #f5f7fa; }
blockquote { border-left: 3px solid var(--theme-color); margin-left: 0; padding-left: 20px; color: #435066; }
footer { border-top: 1px solid #d8dee8; font-size: 14px; color: #435066; }
.skip-link { position: absolute; top: -100px; left: 12px; background: #fff; padding: 8px; }
.skip-link:focus { top: 8px; }
@media (max-width: 600px) { header, main, footer { padding: 18px; } h1 { font-size: 28px; } }
