/* FONTS:start */
/* Self-hosted, generated by tools/fetch_fonts.py -- do not edit by hand.
   Served from our own origin so no third-party DNS, TLS or render-blocking
   stylesheet sits in front of the first paint. */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-latin-ext--F63fjpt.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-latin--F63fjpt.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-latin-ext--F6qfjpt.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-latin--F6qfjpt.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-sans-latin-ext-zYXzKVEl.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-sans-latin-zYXzKVEl.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-sans-latin-ext-zYXzKVEl.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-sans-latin-zYXzKVEl.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-sans-latin-ext-zYXzKVEl.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-sans-latin-zYXzKVEl.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin-ext-cY9CfjOC.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin-cY9CfjOC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin-ext-cY9CfjOC.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin-cY9CfjOC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin-ext-cY9AfjOC.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin-cY9AfjOC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin-ext-cY9AfjOC.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin-cY9AfjOC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin-ext-cY9AfjOC.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin-cY9AfjOC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* FONTS:end */

/* adnocap.github.io — hand-written stylesheet. No framework.
   Type: Newsreader (reading), IBM Plex Sans (labels, tables), IBM Plex Mono (numbers, dates, code).
   Palette: near-monochrome paper and ink; blue is reserved for "mine" in charts and for links,
   red for losses, leaks and retracted numbers, grey for baselines. */

:root {
  color-scheme: light;
  --paper: #fbfbf9;
  --paper-2: #f3f3ef;
  --ink: #161616;
  --ink-2: #494a47;
  --ink-3: #66675f;
  --rule: #d4d5cf;
  --rule-2: #e4e5e0;
  --link: #1a5e96;
  --series: #1f77b4;
  --series-2: #e8871e;
  --neutral: #9a9b97;
  --loss: #c8362f;
  --live: #2a7f3e;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --measure: 640px;
  --gutter: 24px;
  --toc-col: 200px;
  --wide-extra: 260px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #171716;
    --paper-2: #1f1f1d;
    --ink: #e9e8e3;
    --ink-2: #b9b8b1;
    --ink-3: #8e8e88;
    --rule: #3b3b36;
    --rule-2: #2c2c29;
    --link: #7fb3e6;
    --series: #4a9be6;
    --series-2: #f0a04b;
    --neutral: #7c7d79;
    --loss: #ef6b64;
    --live: #5cc271;
  }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #171716;
    --paper-2: #1f1f1d;
    --ink: #e9e8e3;
    --ink-2: #b9b8b1;
    --ink-3: #8e8e88;
    --rule: #3b3b36;
    --rule-2: #2c2c29;
    --link: #7fb3e6;
    --series: #4a9be6;
    --series-2: #f0a04b;
    --neutral: #7c7d79;
    --loss: #ef6b64;
    --live: #5cc271;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  font-variation-settings: "opsz" 18;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent); }
a:hover { text-decoration-color: var(--link); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
img, svg { max-width: 100%; height: auto; }
::selection { background: color-mix(in srgb, var(--series) 22%, transparent); }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: 38px; font-variation-settings: "opsz" 40; margin: 6px 0 14px; }
h2 { font-size: 28px; font-variation-settings: "opsz" 28; margin: 60px 0 18px; padding-top: 20px; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
h3 { font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 36px 0 10px; line-height: 1.4; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: .45em; }
strong, b { font-weight: 600; }
em, i { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
code, kbd, samp { font-family: var(--mono); font-size: .86em; }
code { background: var(--paper-2); padding: .08em .35em; border-radius: 3px; }
pre { background: var(--paper-2); padding: 14px 16px; overflow-x: auto; border-radius: 3px; line-height: 1.5; font-size: 14.5px; }
pre code { background: none; padding: 0; font-size: inherit; }
small, .small { font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink-3); }
sup { line-height: 0; font-size: .72em; }
blockquote { margin: 0 0 1.1em; padding-left: 16px; border-left: 2px solid var(--rule); color: var(--ink-2); }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  body { font-size: 17px; }
  h1 { font-size: 31px; }
  h2 { font-size: 24px; margin-top: 46px; }
  .lede { font-size: 19px; }
}

/* ---------- header / footer ---------- */
.site-head {
  display: flex; align-items: baseline; justify-content: space-between;
  max-width: calc(var(--measure) + 2 * var(--wide-extra));
  margin: 0 auto; padding: 24px var(--gutter) 20px;
  border-bottom: 1px solid var(--rule);
}
.site-head .brand { font-family: var(--serif); font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.site-head nav { font-family: var(--sans); font-size: 15px; display: flex; gap: 22px; }
.site-head nav a { color: var(--ink-2); text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { color: var(--ink); }
.site-head nav a[aria-current="page"] { border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
/* three tabs and the name need 360.4px at the full gap, so a 360px phone would wrap the name */
@media (max-width: 400px) { .site-head nav { gap: 16px; } }

.site-foot {
  max-width: calc(var(--measure) + 2 * var(--wide-extra));
  margin: 80px auto 40px; padding: 22px var(--gutter) 0;
  border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: 14px; color: var(--ink-3);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
}
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }

/* ---------- article column ---------- */
.article {
  width: var(--measure); max-width: 100%;
  margin: 0 auto; padding: 36px var(--gutter) 0;
  position: relative;
}
.article > .wide { width: 100%; }
@media (min-width: 1000px) { .article > .wide { width: calc(100% + 140px); } }
@media (min-width: 1240px) { .article > .wide { width: calc(100% + var(--wide-extra)); } }
.article > .full { width: min(1200px, calc(100vw - 2 * var(--gutter))); }

/* asides: short notes set off from the text */
.note { display: block; font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 6px 0 20px; padding: 10px 14px; border-left: 2px solid var(--rule); background: var(--paper-2); }
.note b { color: var(--ink); font-weight: 600; }

/* ---------- on this page ---------- */
.toc { font-family: var(--sans); font-size: 13.5px; line-height: 1.5; margin: 0 0 32px; padding: 12px 0 10px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.toc .toc-h { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 3px 18px; }
.toc li { margin: 0; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 1240px) {
  .toc-wrap { position: absolute; top: 36px; bottom: 0; left: calc(-1 * (var(--toc-col) + 40px)); width: var(--toc-col); }
  .toc { position: sticky; top: 28px; border: 0; padding: 0; margin: 0; }
  .toc ol { display: block; }
  .toc li { margin: 0 0 6px; padding-left: 10px; border-left: 2px solid transparent; }
  .toc li.on { border-left-color: var(--ink); }
  .toc li.on a { color: var(--ink); }
}

/* ---------- page furniture ---------- */
.kicker { font-family: var(--sans); font-size: 13.5px; color: var(--ink-3); margin: 0 0 8px; }
.lede { font-size: 20.5px; line-height: 1.45; color: var(--ink-2); font-variation-settings: "opsz" 22; margin: 0 0 24px; }

/* download row, for a page whose point is the file */
.dl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 30px; }
.btn { display: inline-block; font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: 4px; padding: 13px 22px; text-decoration: none; }
.btn:hover { background: var(--link); border-color: var(--link); color: #fff; }
.dl-meta { font-family: var(--sans); font-size: 13.5px; color: var(--ink-3); }
.meta { font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--ink-2); display: grid; grid-template-columns: max-content 1fr; gap: 7px 18px; margin: 0 0 30px; padding: 14px 0 0; border-top: 1px solid var(--rule); }
.meta dt { color: var(--ink-3); }
.meta dd { margin: 0; }
.meta a { color: var(--ink); }
.stats + .meta { border-top: 0; padding-top: 0; }

.chip, .verdict { display: inline-block; font-family: var(--mono); font-size: 12px; line-height: 1.45; padding: 0 7px; border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-2); white-space: nowrap; vertical-align: 2px; }
.chip.live, .verdict.kept { color: var(--live); border-color: color-mix(in srgb, var(--live) 45%, transparent); }
.chip.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--live); margin-right: 6px; vertical-align: 1px; }
.chip.loss, .verdict.killed { color: var(--loss); border-color: color-mix(in srgb, var(--loss) 45%, transparent); }
.status { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.status.live { color: var(--live); }

/* headline numbers */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 16px 20px; margin: 4px 0 0; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat .v { display: block; font-family: var(--sans); font-weight: 600; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.stat .l { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-top: 5px; line-height: 1.35; }
.stat .v small { font-size: 16px; font-weight: 500; color: var(--ink-2); margin-left: 2px; }

/* ---------- figures ---------- */
.article { counter-reset: fig; }
.fig { margin: 34px 0 40px; padding-top: 14px; border-top: 1px solid var(--rule-2); }
.fig img { display: block; width: auto; max-width: 100%; max-height: 560px; height: auto; margin: 0 auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fig img { background: #f4f4f1; padding: 6px; border-radius: 3px; filter: brightness(.96); } }
:root[data-theme="dark"] .fig img { background: #f4f4f1; padding: 6px; border-radius: 3px; filter: brightness(.96); }
.fig figcaption { font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 12px; max-width: calc(var(--measure) - 2 * var(--gutter)); }
.fig figcaption::before { counter-increment: fig; content: "Figure " counter(fig); display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.fig figcaption .src { display: block; color: var(--ink-3); margin-top: 4px; font-size: 13px; }
.fig .chart { margin-bottom: 4px; }
.fig details.data { margin-top: 6px; }

/* ---------- tables ---------- */
.scroll { overflow-x: auto; margin: 22px 0 30px; }
.tbl { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 14.5px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 8px 10px 8px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule-2); }
.tbl th { font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.tbl td.n, .tbl th.n { text-align: right; font-family: var(--mono); font-size: 13.5px; white-space: nowrap; }
.tbl th.n { font-family: var(--sans); white-space: normal; }
@media (max-width: 640px) {
  .tbl.stack, .tbl.stack tbody { display: block; min-width: 0; }
  .tbl.stack thead { display: none; }
  .tbl.stack tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .tbl.stack tbody:first-child > tr:first-child { display: none; }
  .tbl.stack td { display: block; border: 0; padding: 2px 0; text-align: left; white-space: normal; }
  .tbl.stack td::before { content: attr(data-h); display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-top: 6px; }
  .tbl.stack td:first-child::before { display: none; }
  .tbl.stack td:first-child { font-weight: 600; }
}
.tbl tr.best td { font-weight: 600; }
.tbl.min { min-width: 640px; }
@media (max-width: 640px) { .tbl.min.stack { min-width: 0; } }
.tbl td.neg, .neg { color: var(--loss); }
.tbl caption { caption-side: bottom; text-align: left; font-size: 13px; color: var(--ink-3); padding-top: 8px; }
.tbl .verdict { font-family: var(--mono); font-size: 12.5px; text-transform: lowercase; }

/* ---------- strategy list ---------- */
.strats { list-style: none; padding: 0; margin: 18px 0 30px; font-family: var(--sans); font-size: 14.5px; line-height: 1.5; }
.strats li { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; padding: 14px 0; border-top: 1px solid var(--rule-2); margin: 0; }
.strats li:first-child { border-top-color: var(--rule); }
.strats .name { font-family: var(--serif); font-size: 17.5px; line-height: 1.3; color: var(--ink); }
.strats .name b { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--ink-3); display: block; margin-bottom: 2px; }
.strats .name .chip { display: inline-block; margin-top: 8px; vertical-align: 0; }
.strats dl { margin: 0; display: grid; grid-template-columns: 74px 1fr; gap: 3px 12px; }
.strats dt { color: var(--ink-3); }
.strats dd { margin: 0; color: var(--ink-2); }
.strats dd a { color: var(--ink); }
@media (max-width: 600px) { .strats li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- ledger (home) ---------- */
.ledger { list-style: none; padding: 0; margin: 8px 0 0; font-family: var(--sans); }
.ledger li { display: grid; grid-template-columns: 96px 1fr; gap: 3px 18px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--rule); margin: 0; }
.ledger li.year { grid-template-columns: 1fr; border-top: 0; padding: 34px 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ledger .when { font-family: var(--mono); font-size: 13px; color: var(--ink-3); white-space: nowrap; padding-top: 5px; }
.ledger .type { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; font-family: var(--sans); }
.filters button { font: inherit; font-family: var(--sans); font-size: 13.5px; line-height: 1.4; color: var(--ink-2); background: none; border: 1px solid var(--rule); border-radius: 3px; padding: 3px 10px; cursor: pointer; }
.filters button:hover { color: var(--ink); border-color: var(--ink-3); }
.filters button.on { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.filters button small { font-family: var(--mono); font-size: 11.5px; color: inherit; opacity: .7; margin-left: 4px; }
.ledger .head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ledger .head a, .ledger .title { font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--ink); }
.ledger .head a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--link) 55%, transparent); }
.ledger .head a:hover { text-decoration-color: var(--link); }
.ledger .result { display: block; color: var(--ink-2); margin-top: 4px; font-size: 15px; line-height: 1.45; }
.ledger .result b { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--ink); }
.ledger .result a { color: var(--ink); }
@media (max-width: 600px) { .ledger li { grid-template-columns: 1fr; gap: 2px; } .ledger .when { padding-top: 0; } .ledger .type { display: inline; margin: 0 0 0 10px; } }

/* ---------- home bio ---------- */
.bio { display: grid; grid-template-columns: 124px 1fr; gap: 26px; align-items: start; margin: 0 0 30px; }
.bio img { width: 124px; height: 124px; object-fit: cover; border-radius: 3px; filter: grayscale(1) contrast(1.02); }
.facts { font-family: var(--sans); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); display: grid; grid-template-columns: max-content 1fr; gap: 7px 16px; margin: 18px 0 0; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }
.facts a { color: var(--ink); }
@media (max-width: 520px) { .bio { grid-template-columns: 1fr; gap: 16px; } .bio img { width: 104px; height: 104px; } .facts { grid-template-columns: 1fr; gap: 2px 0; } .facts dd { margin-bottom: 8px; } }

/* ---------- log ---------- */
.entry { display: grid; grid-template-columns: 84px 1fr; gap: 4px 18px; padding: 20px 0; border-top: 1px solid var(--rule); }
.entry .when { font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding-top: 5px; }
.entry .head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); margin-bottom: 7px; }
.entry .head .proj { font-weight: 500; }
.entry h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.25; text-transform: none; letter-spacing: -0.005em; color: var(--ink); }
.entry p { margin-bottom: .6em; font-size: 17px; }
.small .verdict { margin-right: 3px; }
@media (max-width: 600px) { .entry { grid-template-columns: 1fr; gap: 2px; } .entry .when { padding-top: 0; } }

/* ---------- charts (SVG rendered by charts.js) ---------- */
.chart { position: relative; font-family: var(--sans); }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .axis line, .chart .grid line { stroke: var(--rule); stroke-width: 1; shape-rendering: crispEdges; }
.chart text.tick, .chart .axis text { fill: var(--ink-3); font-size: 12px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.chart .label { fill: var(--ink-2); font-size: 12.5px; font-family: var(--sans); }
.chart .label.strong { fill: var(--ink); font-weight: 600; }
.chart .zero { stroke: var(--ink-3); stroke-width: 1; }
.chart .series-1 { fill: var(--series); stroke: var(--series); }
.chart .series-2 { fill: var(--series-2); stroke: var(--series-2); }
.chart .neutral { fill: var(--neutral); stroke: var(--neutral); }
.chart .loss { fill: var(--loss); stroke: var(--loss); }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { opacity: .10; stroke: none; }
.chart .dot { stroke: var(--paper); stroke-width: 2; }
.chart .hit { fill: transparent; stroke: none; cursor: default; }
.chart .marker { stroke: var(--ink-3); stroke-dasharray: 3 3; stroke-width: 1; }
.chart .label.halo { paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.chart .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.chart .legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: 3px; margin-right: 6px; }
.chart .legend i.dot { width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; }
.chart .tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--paper); font-size: 12.5px; font-family: var(--sans); padding: 5px 8px; border-radius: 3px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .1s; z-index: 2; }
.chart .tip b { font-family: var(--mono); font-weight: 500; }
.chart .tip.on { opacity: 1; }
.chart .crosshair { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0; }
.chart .crosshair.on { opacity: 1; }
details.data { font-family: var(--sans); font-size: 13.5px; color: var(--ink-3); margin: 4px 0 0; }
details.data summary { cursor: pointer; }
details.data table { margin-top: 6px; }

/* ---------- misc ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.tight { margin-bottom: .4em; }
.callout { border: 1px solid var(--rule); border-radius: 3px; padding: 14px 18px; margin: 24px 0; font-size: 17px; background: var(--paper-2); }
.callout .t { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.callout .old { font-family: var(--mono); color: var(--loss); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.cvline { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; margin: 18px 0 6px; }
.cv { display: grid; grid-template-columns: 96px 1fr; gap: 4px 22px; align-items: start; margin: 26px 0 0; }
.cv .cvline { margin-top: 0; }
.cv .logo { min-height: 44px; display: flex; align-items: center; justify-content: center; padding-top: 2px; }
.cv .logo img { width: auto; height: auto; max-width: 96px; max-height: 44px; filter: grayscale(1); opacity: .88; }
.cv .logo img.seal { max-height: 64px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cv .logo img { background: #f4f4f1; padding: 5px 7px; border-radius: 3px; max-height: 40px; } }
:root[data-theme="dark"] .cv .logo img { background: #f4f4f1; padding: 5px 7px; border-radius: 3px; max-height: 40px; }
.cv .wordmark { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .02em; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 3px; padding: 5px 10px; }
@media (max-width: 520px) { .cv { grid-template-columns: 64px 1fr; gap: 4px 14px; } .cv .logo img { max-width: 64px; max-height: 32px; } .cv .wordmark { font-size: 13px; padding: 4px 6px; } }
.cvline .where { font-family: var(--mono); font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.cvline b { font-weight: 600; }
.skills { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 1.1em; }
.skills dt { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-2); padding-top: 3px; }
.skills dd { margin: 0; font-size: 17px; }
@media (max-width: 520px) { .skills { grid-template-columns: 1fr; gap: 2px 0; } .skills dd { margin-bottom: 10px; } }

@media print {
  .site-head nav, .site-foot, details.data, .toc-wrap { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .note { margin: 6px 0; border-left: 1px solid #000; padding-left: 8px; }
  .article { margin: 0; width: auto; }
  .btn { background: none; color: #000; border: 1px solid #000; }
  a { color: #000; text-decoration: none; }
}
