:root { color-scheme:light; --background:#fff; --ink:#1e2a38; --muted:#596777; --line:#dfe4e9; --accent:#1a3a5c; --subtle:#f5f6f8; }
* { box-sizing:border-box; }
html { scroll-padding-top:24px; }
body { margin:0; color:var(--ink); background:var(--background); font-family:"Noto Sans SC",sans-serif; font-size:16px; line-height:1.9; overflow-wrap:anywhere; }
a { color:var(--accent); text-underline-offset:4px; }
a:hover { text-decoration-thickness:2px; }
a:focus-visible, [tabindex]:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
::selection { background:var(--accent); color:var(--background); }
.skip-link { position:absolute; left:16px; top:-100px; padding:8px 16px; background:var(--background); }
.skip-link:focus { top:8px; }
.site-header { width:min(1120px,100%); margin:auto; padding:22px 32px; display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:1px solid var(--line); }
.brand { font-size:20px; font-weight:700; text-decoration:none; white-space:nowrap; }
.site-header nav { display:flex; flex-wrap:wrap; gap:8px 24px; font-size:14px; }
.site-header nav a { padding:6px 0; text-decoration:none; }
.site-header nav a[aria-current] { font-weight:700; text-decoration:underline; }
.site-header nav a:hover { text-decoration:underline; }
main { width:min(1120px,100%); margin:auto; padding:48px 32px 64px; }
h1 { margin:0; font-size:36px; line-height:1.4; font-weight:700; text-wrap:balance; }
.document-header > p { margin:12px 0 24px; color:var(--muted); }
.draft-notice { background:var(--subtle); padding:18px 22px; margin-bottom:40px; font-size:14px; }
.draft-notice p { margin:4px 0 0; color:var(--muted); }
.document-layout { display:grid; grid-template-columns:218px minmax(0,1fr); gap:48px; align-items:start; }
.contents { position:sticky; top:24px; max-height:calc(100vh - 48px); overflow:auto; font-size:14px; }
.contents h2 { font-size:15px; margin:0 0 12px; }
.contents ol { list-style:none; margin:0; padding:0; }
.contents a { display:block; padding:7px 0; text-decoration:none; color:var(--muted); }
.contents a:hover { color:var(--accent); text-decoration:underline; }
article { min-width:0; }
article h2 { font-size:23px; line-height:1.55; margin:42px 0 16px; text-wrap:balance; }
article p { margin:0 0 18px; }
article ol { padding-left:1.6em; margin:0; }
article li { padding-left:4px; margin-bottom:14px; }
article strong { font-weight:700; }
.table-scroll { max-width:100%; overflow-x:auto; margin:22px 0; scrollbar-color:var(--muted) var(--subtle); }
table { border-collapse:collapse; width:100%; min-width:580px; font-size:14px; line-height:1.8; }
th,td { border:1px solid var(--line); padding:14px; text-align:left; vertical-align:top; }
th { background:var(--subtle); font-weight:600; }
th:first-child,td:first-child { min-width:110px; }
footer { width:min(1120px,100%); margin:auto; border-top:1px solid var(--line); padding:24px 32px 40px; font-size:14px; color:var(--muted); }
footer p { margin:12px 0 0; }
@media(max-width:760px) {
  .site-header { padding:16px 20px; align-items:flex-start; flex-direction:column; gap:10px; }
  .site-header nav { gap:8px 20px; }
  main { padding:30px 20px 40px; }
  h1 { font-size:28px; }
  .document-layout { display:block; }
  .contents { position:static; max-height:none; margin-bottom:32px; padding-bottom:24px; border-bottom:1px solid var(--line); }
  .contents ol { columns:2; column-gap:22px; }
  .contents li { break-inside:avoid; }
  .draft-notice { margin-bottom:28px; padding:16px; }
  article h2 { font-size:21px; margin-top:32px; }
  footer { padding:24px 20px; }
}
@media(prefers-color-scheme:dark) { :root { color-scheme:dark; --background:#141a20; --ink:#ecf0f4; --muted:#b5c1ce; --line:#3c4855; --accent:#b3d3ef; --subtle:#202a34; } }
@media print {
  :root { color-scheme:light; --background:#fff; --ink:#000; --muted:#333; --line:#aaa; --accent:#000; --subtle:#fff; }
  .site-header,.contents,.skip-link,footer { display:none; }
  main { width:100%; padding:0; }
  .document-layout { display:block; }
  .table-scroll { overflow:visible; }
  table { min-width:0; }
  h2 { break-after:avoid; }
  tr { break-inside:avoid; }
}
