:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #0b0e14; color: #f0f6fc; line-height: 1.7; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #58e3b9; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: #a6f5dc; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #facc15; outline-offset: 4px; }
.page-header, main, footer { width: min(100% - 2rem, 58rem); margin-inline: auto; }
.page-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-bottom: 1px solid #354155; }
main { padding-block: 1.5rem 3rem; }
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.2; overflow-wrap: anywhere; }
h2 { font-size: 1.3rem; line-height: 1.4; margin-top: 2.2rem; scroll-margin-top: 1rem; }
p, li, td, th { overflow-wrap: anywhere; }
.draft-notice, .editorial-note { border-left: 4px solid #facc15; padding: 1rem 1.2rem; background: #222019; color: #fff0b3; }
.draft-notice p { margin-bottom: 0; }
.contents { background: #121824; border: 1px solid #354155; border-radius: .75rem; padding: 1rem 1.5rem; margin-block: 2rem; }
.contents h2 { margin-top: 0; }
.contents ol { list-style: none; padding: 0; }
.contents li { margin-block: .4rem; }
code { font-size: .9em; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: .75rem; border: 1px solid #354155; vertical-align: top; }
th { background: #121824; }
footer { display: flex; flex-wrap: wrap; gap: 1rem 2rem; border-top: 1px solid #354155; padding-block: 1.5rem 3rem; }
.skip-link { position: absolute; left: 1rem; top: -5rem; background: #121824; padding: .75rem; z-index: 2; }
.skip-link:focus { top: .5rem; }
@media print {
  :root { color-scheme: light; background: white; color: black; }
  a { color: black; }
  .skip-link, footer { display: none; }
  .draft-notice, .editorial-note { color: black; background: #fff9dd; }
  .contents, th { background: white; }
}
