:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif; color: #242321; background: #fdfcfc; font-size: 16px; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.9; }
a { color: #34563a; text-underline-offset: 0.25em; overflow-wrap: anywhere; }
a:hover { color: #15140f; }
a:focus-visible { outline: 2px solid #456352; outline-offset: 4px; border-radius: 2px; }
::selection { color: #15140f; background: #dfe8dc; }
.site-header, main, footer { max-width: 1160px; margin-inline: auto; padding-inline: 32px; }
.site-header { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px; border-bottom: 1px solid #d9d5ce; }
.site-header a { color: inherit; }
main { padding-block: 44px; }
h1 { font-size: 1.875rem; line-height: 1.4; font-weight: 650; letter-spacing: -0.02em; margin: 0 0 20px; text-wrap: balance; }
h2 { font-size: 1.1875rem; line-height: 1.6; margin: 0 0 16px; font-weight: 650; }
p { margin: 0 0 20px; }
strong { font-weight: 650; }
.status { font-size: 1rem; font-weight: 650; color: #71370d; margin-bottom: 8px; }
.metadata { color: #62605b; font-size: 0.875rem; }
.heading, .index { max-width: 760px; }
.heading { margin-bottom: 40px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 24px; }
.actions a { min-height: 44px; display: inline-flex; align-items: center; }
.reading-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 56px; align-items: start; }
.contents { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; font-size: 0.875rem; }
.contents p { margin-bottom: 8px; color: #62605b; }
.contents a { display: block; padding: 6px 4px; }
article { min-width: 0; max-width: 74ch; overflow-wrap: anywhere; }
section { scroll-margin-top: 24px; margin-bottom: 40px; }
.document-row { padding-block: 24px; border-bottom: 1px solid #d9d5ce; scroll-margin-top: 24px; }
.document-row h2 { margin-bottom: 8px; }
ul { padding-left: 24px; }
li { margin-bottom: 16px; }
footer { padding-block: 24px 40px; border-top: 1px solid #d9d5ce; font-size: 0.875rem; color: #62605b; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 16px; top: 8px; padding: 8px; background: #fff; z-index: 1; }
@media (max-width: 760px) {
  .site-header, main, footer { padding-inline: 20px; }
  main { padding-block: 28px; }
  h1 { font-size: 1.5rem; }
  .reading-layout { display: block; }
  .contents { position: static; max-height: none; margin-bottom: 36px; }
  .contents a { min-height: 44px; padding-block: 9px; }
  .heading { margin-bottom: 24px; }
}
@media print {
  :root { background: #fff; color: #000; }
  main { max-width: none; padding: 0; }
  .site-header, .contents, .actions, .skip, footer { display: none; }
  .reading-layout { display: block; }
  article, .heading { max-width: none; }
  h1, h2 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  a { color: inherit; }
}
