:root {
  color-scheme: light;
  font: 100%/1.6 system-ui, sans-serif;
  color: #242328;
  background: #f7f7f8;
  --paper: #fff;
  --border: #dedde2;
  --muted: #55545c;
  --link: #9c1823;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: #651219; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
h1, h2, h3 { line-height: 1.18; }
h1 { max-width: 20ch; margin: 0; font-size: clamp(2rem, 5vw, 3.65rem); letter-spacing: -0.035em; }
h2 { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
h3 { margin: 1.55rem 0 0.6rem; font-size: 1.1rem; }
p { margin: 0.65rem 0; }

.container { width: min(74rem, calc(100% - 2rem)); margin-inline: auto; }
.site-bar { background: var(--paper); border-block: 1px solid var(--border); }
.bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.6rem 1rem; min-height: 4.5rem; padding-block: 0.65rem; }
.brand { display: inline-flex; gap: 0.55rem; align-items: center; color: inherit; font-size: 1.3rem; font-weight: 750; text-decoration: none; }
.intro { padding-block: clamp(2rem, 7vw, 4.5rem) 2rem; }
.intro p { color: var(--muted); font-size: 1.125rem; }
.layout { display: grid; gap: 1.25rem 2rem; padding-bottom: 3rem; align-items: start; }

.contents, .sections > section { background: var(--paper); border: 1px solid var(--border); border-radius: 0.6rem; padding: clamp(1rem, 3vw, 1.8rem); min-width: 0; }
.contents h2 { font-size: 1.15rem; }
.contents ul { list-style: none; margin: 0; padding: 0; }
.contents a { display: block; padding-block: 0.3rem; }
.sections { display: grid; gap: 1rem; min-width: 0; }
.sections > section { scroll-margin-block-start: 1rem; }
.sections > section:target { border-color: var(--link); }

.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); margin: 0.8rem 0; }
.facts dt, .facts dd { border-bottom: 1px solid var(--border); margin: 0; padding: 0.6rem 0.75rem 0.6rem 0; overflow-wrap: anywhere; }
.facts dt { font-weight: 650; }
.text-list { padding-inline-start: 1.25rem; }
.text-list li + li { margin-top: 0.5rem; }
.files { list-style: none; margin: 0.85rem 0 0; padding: 0; }
.files a { display: block; padding-block: 0.55rem; border-bottom: 1px solid var(--border); }
.files span { margin-inline-start: 0.35em; color: var(--muted); font-size: 0.875rem; white-space: nowrap; }
.people article { border-top: 1px solid var(--border); padding-block: 0.35rem 0.7rem; }
.people article:first-child { margin-top: 1rem; }
.people h3 { margin-top: 0.65rem; }

table { border-collapse: collapse; width: 100%; margin-top: 1rem; }
caption { text-align: left; font-weight: 650; margin-bottom: 0.45rem; }
th, td { padding: 0.6rem 0.45rem; border-bottom: 1px solid var(--border); text-align: left; }
thead th { background: #f5f3f4; }
tbody th { font-weight: 500; }
th, td { vertical-align: top; overflow-wrap: anywhere; }
td > :first-child { margin-top: 0; }
.source-document { overflow-wrap: anywhere; }
.source-document > :first-child { margin-top: 0; }
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: -2px; }
.staff-table { min-width: 76rem; }
.staff-table th { font-weight: 650; }
.staff-table tbody th { min-width: 9rem; }
.staff-table td:nth-child(4), .staff-table td:nth-child(5), .staff-table td:nth-child(7) { min-width: 13rem; }
.skip { position: absolute; inset: 0 auto auto 1rem; padding: 0.4rem 0.6rem; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

@media (min-width: 56rem) {
  .layout { grid-template-columns: 17rem minmax(0, 1fr); }
  .contents { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; }
}

@media (max-width: 32rem) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { padding-bottom: 0.05rem; border-bottom: 0; }
  .facts dd { padding-top: 0.05rem; }
}
