:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --fg: #14202b;
  --muted: #5b6b79;
  --accent: #0a6ebd;
  --border: #dde3e9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1419;
    --surface: #151d24;
    --fg: #e8eef3;
    --muted: #93a3b1;
    --accent: #5aaee8;
    --border: #2a3641;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

header.site, main, footer.site {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 20px;
}

header.site { padding-top: 28px; }

.brand {
  color: var(--fg);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { color: var(--accent); }

main { padding-top: 48px; padding-bottom: 48px; }

.rule {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

.updated { color: var(--muted); margin: 0 0 2.5rem; }

h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 2.75rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

p { margin: 0 0 1rem; }

ul { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: 0.45rem; }

a { color: var(--accent); text-underline-offset: 2px; overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; }
th { font-weight: 650; border-bottom: 1px solid var(--border); }
tbody tr + tr td { border-top: 1px solid var(--border); }

address { font-style: normal; color: var(--muted); }

footer.site {
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site p { margin: 0; }

.notfound { text-align: center; padding-top: 18vh; }
.notfound .rule { margin-left: auto; margin-right: auto; }

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  header.site, footer.site { display: none; }
  .table-wrap { overflow: visible; border-color: #999; }
  table { min-width: 0; }
  a { color: inherit; }
}
