:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #303746;
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background-image: linear-gradient(#edf0f4 1px, transparent 1px), linear-gradient(90deg, #edf0f4 1px, transparent 1px);
  background-size: 36px 36px;
}
main { width: 100%; max-width: 1320px; margin: 0 auto; padding: 64px 32px 80px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 28px; font-size: 16px; }
a { color: #303746; text-decoration: none; text-underline-offset: 4px; transition: color .2s; }
a:hover { color: #303746; text-decoration: underline; }
a:focus-visible { outline: 2px solid #303746; outline-offset: 4px; border-radius: 3px; }
h1, h2, p, li { color: #303746; font-size: 16px; font-weight: 400; line-height: 1.4; letter-spacing: normal; }
h1 { margin: 0; font-size: 18px; font-weight: 600; }
h1 + p { margin-top: 0; }
h2 { margin: 12px 0 2px; font-size: 18px; font-weight: 600; }
.section-number { margin: 0; font-size: 20px; font-weight: 600; }
.subsection-number { margin-top: 0; margin-bottom: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding-left: 24px; }
li { margin: 0; }
.meta, .notice { color: #303746; font-size: 16px; font-weight: 400; line-height: 1.6; margin-bottom: 24px; }
footer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #dce1e9; font-size: 16px; font-weight: 400; color: #303746; }
html[data-theme="dark"] { color-scheme: dark; color: #fff; background: #101218; }
html[data-theme="dark"] body { background-color: #101218; background-image: linear-gradient(#252a35 1px, transparent 1px), linear-gradient(90deg, #252a35 1px, transparent 1px); }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] p, html[data-theme="dark"] li, html[data-theme="dark"] footer { color: #fff; }
html[data-theme="dark"] a { color: #fff; }
html[data-theme="dark"] a:hover { color: #fff; }
html[data-theme="dark"] footer { border-top-color: #3a404d; }
@media (max-width: 640px) { main { padding: 32px 20px 48px; } }
@media print { body { background: #fff; } main { max-width: none; padding: 0; } nav, footer { display: none; } h2 { break-after: avoid; } a { color: inherit; } }
