:root {
  color-scheme: light dark;
  --page: #ffffff;
  --ink: #111111;
  --ink-2: #555555;
  --ink-3: #8a8a8a;
  --rule: #e6e6e6;
  --s0: #2a78d6;
  --s1: #eb6834;
  --s2: #1baf7a;
  --s3: #eda100;
  --s4: #e87ba4;
  --s5: #008300;
  --s6: #6250d6;
  --mark: #111111;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #1a1a19;
    --ink: #f0efec;
    --ink-2: #c3c2b7;
    --ink-3: #8c8b84;
    --rule: #30302d;
    --s0: #3987e5;
    --s1: #d95926;
    --s2: #199e70;
    --s3: #c98500;
    --s4: #d55181;
    --s5: #008300;
    --s6: #9085e9;
    --mark: #f0efec;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; }
a { color: inherit; }
.hero, .section, .footer { max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.hero { padding-top: 48px; text-align: center; }
.hero h1 { margin: 0; font: 700 clamp(30px, 5.5vw, 46px)/1.1 Georgia, "Times New Roman", serif; }
.lede { margin: 12px auto 0; max-width: 56ch; font-size: 17px; color: var(--ink-2); }
.stamp { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }
.nav { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 22px; padding: 10px 20px; background: var(--page); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 14px; min-height: 43px; }
.nav a { color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) { .nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; } .nav::-webkit-scrollbar { display: none; } }

.section { padding-top: 40px; }
.section h2 { margin: 0 0 8px; padding-bottom: 6px; font: 700 26px/1.2 Georgia, "Times New Roman", serif; border-bottom: 1px solid var(--ink); }
.grid > h2 { grid-column: 1 / -1; margin: 48px 0 0; }
.grid > h2:first-child { margin-top: 0; }
.section h2, .card { scroll-margin-top: 60px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 48px; }
@media (max-width: 800px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.card { padding: 24px 0 0; }
.card h3 { position: relative; margin: 0; font-size: 17px; font-weight: 700; }
.info { width: 18px; height: 18px; margin-left: 4px; padding: 0; border: 1px solid var(--ink-3); border-radius: 50%; background: none; color: var(--ink-2); font: 700 11px/16px "Helvetica Neue", Helvetica, Arial, sans-serif; vertical-align: 2px; cursor: help; }
.info:hover, .info.open { border-color: var(--ink); color: var(--ink); }
.infotip { display: none; position: absolute; left: 0; top: calc(100% + 6px); z-index: 4; width: min(380px, 100%); padding: 10px 12px; border-radius: 6px; background: var(--ink); color: var(--page); font-size: 14px; font-weight: 400; line-height: 1.45; }
.info:hover + .infotip, .info:focus-visible + .infotip, .info.open + .infotip { display: block; }
.card .sub { margin: 1px 0 0; font-size: 14px; color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.key { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; background: var(--s0); }
.key.s1 { background: var(--s1); }
.key.s2 { background: var(--s2); }
.key.s3 { background: var(--s3); }
.key.s4 { background: var(--s4); }
.key.s5 { background: var(--s5); }
.key.s6 { background: var(--s6); }

.plot { position: relative; margin-top: 12px; }
.plot svg { display: block; overflow: visible; }
.plot text { font-size: 11.5px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.gl, .cross { stroke: var(--rule); stroke-width: 1; }
line.gl.zero { stroke: var(--ink-3); }
.cross { stroke: var(--ink-3); }
.mark { stroke: var(--mark); stroke-width: 1.5; }
.plot text.marklabel { fill: var(--mark); font-weight: 700; font-size: 12px; }
.line { fill: none; stroke: var(--s0); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.dot { fill: var(--s0); stroke: var(--page); stroke-width: 2; }
.line.s1 { stroke: var(--s1); }
.dot.s1, .fill.s1 { fill: var(--s1); }
.line.s2 { stroke: var(--s2); }
.dot.s2, .fill.s2 { fill: var(--s2); }
.line.s3 { stroke: var(--s3); }
.dot.s3, .fill.s3 { fill: var(--s3); }
.line.s4 { stroke: var(--s4); }
.dot.s4, .fill.s4 { fill: var(--s4); }
.line.s5 { stroke: var(--s5); }
.dot.s5, .fill.s5 { fill: var(--s5); }
.line.s6 { stroke: var(--s6); }
.dot.s6, .fill.s6 { fill: var(--s6); }
.fill { fill: var(--s0); stroke: var(--page); stroke-width: 1; }
.plot text.end { fill: var(--ink); font-weight: 700; font-size: 12px; }
.hit { fill: transparent; cursor: crosshair; touch-action: pan-y; }
.tip { position: absolute; pointer-events: none; background: var(--page); border: 1px solid var(--rule); border-radius: 4px; padding: 6px 10px; font-size: 13px; white-space: nowrap; color: var(--ink-2); }
.tip .yr { font-weight: 700; color: var(--ink); }
.tip b { color: var(--ink); }

.foot { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.foot summary { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; cursor: pointer; list-style: none; }
.foot summary::-webkit-details-marker { display: none; }
.foot .tbl { flex: none; text-decoration: underline; text-underline-offset: 3px; }
.foot .stale { font-style: italic; }
.tablewrap { max-height: 260px; overflow: auto; margin: 6px 0 10px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 4px 8px 4px 0; text-align: right; border-bottom: 1px solid var(--rule); }
th { position: sticky; top: 0; background: var(--page); color: var(--ink-2); }
th:first-child, td:first-child { text-align: left; }

.footer { margin-top: 56px; padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); text-align: center; }
.footer p { margin: 0 0 6px; }
