:root {
  color-scheme: light dark;
  --ink: #24282b;
  --paper: #fcfcfa;
  --faint: #5f676b;
  --rule: #c5cac6;
  --stripe: #f0f2ee;
  --link: #17608f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #dfe2e0;
    --paper: #1b1e20;
    --faint: #a2a9ac;
    --rule: #454b4e;
    --stripe: #25292b;
    --link: #8cc4ea;
  }
}

body {
  max-width: 43rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  font: 1rem/1.5 "PT Sans", "Trebuchet MS", Verdana, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

h1 {
  margin: 0 0 0.4rem;
  font-size: 1.75rem;
}

h2 {
  margin: 2.2rem 0 0.4rem;
  font-size: 1.25rem;
}

p {
  margin: 0.5rem 0 0.9rem;
}

a {
  color: var(--link);
}

nav a {
  display: inline-block;
  padding: 0.25rem 0;
  margin-right: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.3rem 0.4rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

thead th {
  border-bottom-width: 2px;
}

tbody th {
  font-weight: normal;
}

tbody tr:nth-child(even) {
  background: var(--stripe);
}

.notes td,
.notes thead th + th {
  text-align: center;
}

.ms td,
.ms th {
  padding-inline: 0.25rem;
}

.ms td,
.ms thead th + th {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--faint);
}
