:root {
  color-scheme: light;
  --ink: #162d36;
  --muted: #415963;
  --link: #075f6b;
  --rule: #c8d5d5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { max-width: 1190px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 52px); line-height: 1.55; }
a { color: var(--link); text-underline-offset: 0.19em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #126e99; outline-offset: 3px; }
.skip { position: absolute; top: 0; left: 0; transform: translateY(-150%); padding: 0.6em; background: white; }
.skip:focus { transform: none; }
header, footer, header nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5em 1.5em; }
header, footer { justify-content: space-between; padding: 1.1em 0; }
header { border-bottom: 1px solid var(--rule); }
header > a { color: var(--ink); font-weight: 700; text-decoration: none; }
main { display: grid; grid-template-columns: minmax(150px, 195px) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 70px); padding-top: 2.5rem; }
.contents { grid-column: 1; align-self: start; margin: 0; }
main > h1 { grid-column: 2; }
.contents ul { list-style: none; padding: 0; }
.contents li { margin: 0.6rem 0; font-size: 0.92rem; }
article { min-width: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1.12; text-wrap: balance; }
h1 { margin: 0 0 1.2rem; font-size: clamp(2.15rem, 4.5vw, 3.6rem); letter-spacing: -0.025em; }
h2 { margin: 2.2rem 0 0.9rem; padding-top: 1.35rem; border-top: 1px solid var(--rule); font-size: clamp(1.5rem, 2.8vw, 2rem); }
p { max-width: 72ch; }
blockquote { border-left: 3px solid #4a8681; padding-left: 1rem; margin: 1rem 0; color: var(--muted); }
img { display: block; max-width: 100%; height: auto; }
p:has(> img) { max-width: none; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 1em 0; }
table { border-collapse: collapse; min-width: 100%; font-size: 0.94rem; font-variant-numeric: tabular-nums; }
th, td { padding: 0.55rem 0.65rem; border-bottom: 1px solid var(--rule); text-align: left; }
thead { background: #edf3f2; }
tbody th { font-weight: 500; }
td:not(:first-child), th:not(:first-child) { text-align: right; }
footer { border-top: 1px solid var(--rule); margin-top: 3rem; }
@media (max-width: 740px) {
  main { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.3rem; }
  .contents { max-width: 100%; }
  .contents ul { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin: 0; }
  .contents li { margin: 0; }
  main h1 { margin-bottom: 0; }
}
@media print {
  header, footer, .contents, .skip { display: none; }
  main { display: block; padding: 0; }
  .table-scroll { overflow: visible; }
  th, td { padding: 3pt; }
  table { font-size: 8pt; }
  h2 { break-after: avoid; }
}
