/* Chart series (--ai-*: what the AI did, in stacking order; --bord: borderline entries) were checked with the dataviz palette validator in both modes, 15 Nov 2026.
   Palette: target type runs from mid blue (known biology) through deep blue (novel) to gold (first-in-class); undisclosed is a pale neutral with a darker outline.
   Red is kept for stopped programmes only. */
:root{
  --ground:#F5F6F8; --surface:#FFFFFF; --ink:#151A2D; --muted:#555D74; --faint:#7D8499; --rule:#DDE0E8;
  --hema:#3A4BA8; --hema-soft:#E6E9F6; --eosin:#C2366F; --eosin-soft:#F8E4EC;
  --prec:#7F8FD6; --novel:#3A4BA8; --fic:#C8860B; --unclear:#D3D5DA; --unclear-ring:#9EA2AD;
  --ok:#2C6E57; --ok-soft:#E2F0EA; --stop:#A3342A; --stop-soft:#F7E3E0; --unk:#5B6274; --unk-soft:#E9EBF0;
  --ai-design:#3A4BA8; --ai-target:#008C7A; --ai-both:#C8860B; --ai-antigen:#C2366F; --bord:#B9BFD6; --ch-none:#878C99; --ch-band:#F0F1F5;
  --serif:"Literata",Georgia,serif; --sans:"Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  /* One width for all running text: about 90 characters a line, the top of Butterick's 45–90 range (John, 15 Nov 2026).
     Deliberate exceptions keep their own: the home hero (display size), chart notes (sized to their card), tables and forms. */
  --measure:46rem;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --ground:#12141C; --surface:#1A1D28; --ink:#E7E9F1; --muted:#A8AEC2; --faint:#7F869C; --rule:#2B2F3E;
  --hema:#97A5EE; --hema-soft:#22284A; --eosin:#EE8DB2; --eosin-soft:#3A1F2B;
  --prec:#6F79A8; --novel:#97A5EE; --fic:#E8B547; --unclear:#3F4456; --unclear-ring:#6A6F80;
  --ok:#7FC8A9; --ok-soft:#173027; --stop:#E8998A; --stop-soft:#3A221D; --unk:#B4BACB; --unk-soft:#2A2F3D;
  --ai-design:#7383E6; --ai-target:#1FA390; --ai-both:#C08A10; --ai-antigen:#D55181; --bord:#525974; --ch-none:#A3A8B7; --ch-band:#21242F;
  color-scheme:dark;
}}
:root[data-theme="dark"]{
  --ground:#12141C; --surface:#1A1D28; --ink:#E7E9F1; --muted:#A8AEC2; --faint:#7F869C; --rule:#2B2F3E;
  --hema:#97A5EE; --hema-soft:#22284A; --eosin:#EE8DB2; --eosin-soft:#3A1F2B;
  --prec:#6F79A8; --novel:#97A5EE; --fic:#E8B547; --unclear:#3F4456; --unclear-ring:#6A6F80;
  --ok:#7FC8A9; --ok-soft:#173027; --stop:#E8998A; --stop-soft:#3A221D; --unk:#B4BACB; --unk-soft:#2A2F3D;
  --ai-design:#7383E6; --ai-target:#1FA390; --ai-both:#C08A10; --ai-antigen:#D55181; --bord:#525974; --ch-none:#A3A8B7; --ch-band:#21242F;
  color-scheme:dark;
}
*{box-sizing:border-box}
[hidden]{display:none!important}  /* hidden always wins over a component's display rule */
html{-webkit-text-size-adjust:100%;scroll-padding-top:104px}
body{margin:0;background:var(--ground);color:var(--ink);font:16px/1.6 var(--sans);-webkit-font-smoothing:antialiased}
/* The page never pans sideways on a phone; wide tables scroll inside their own frames (.tw). clip, unlike hidden, keeps the sticky header working. */
html,body{overflow-x:clip}
/* Long links and file names wrap instead of pushing the page wider. */
.prose a,.prose code,footer a{overflow-wrap:anywhere}
/* In tables a code token stays whole, so the column widens to fit it (the tables scroll in their own frames on phones). Fixed-layout .eq tables keep breaking. */
.prose table:not(.eq) code{overflow-wrap:normal}
a{color:var(--hema);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2px solid var(--hema);outline-offset:2px;border-radius:2px}
.wrap{max-width:1160px;margin:0 auto;padding:0 16px}
@media (min-width:720px){.wrap{padding:0 32px}}

/* Masthead */
.top{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:20px 0;border-bottom:1px solid var(--rule);position:sticky;top:0;z-index:20;background:var(--ground);box-shadow:0 0 0 100vmax var(--ground);clip-path:inset(0 -100vmax)}
.brand{font:650 1.05rem/1.2 var(--serif);color:var(--ink);text-decoration:none}
.brand-sub{display:block;font:400 .78rem/1.3 var(--sans,inherit);color:var(--muted);letter-spacing:.01em;margin-top:2px}
.top nav{display:flex;gap:20px;font-size:.92rem}
.top nav a{color:var(--muted);text-decoration:none;white-space:nowrap;text-decoration-thickness:2px;text-underline-offset:8px}
.top nav a:hover{color:var(--ink);text-decoration-line:underline;text-decoration-color:var(--rule)}
/* The page being viewed: ink text over a 2px accent bar. No weight change, so the items never shift between pages. */
.top nav a[aria-current="page"]{color:var(--ink);text-decoration-line:underline;text-decoration-color:var(--hema)}

/* Hero: the census */
.hero{display:grid;gap:40px;padding:56px 0 48px;align-items:start}
@media (min-width:960px){.hero{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:56px}}
.hero h1{font:500 clamp(2.1rem,4.4vw,3.35rem)/1.12 var(--serif);letter-spacing:-.015em;margin:0 0 22px;max-width:17ch;text-wrap:balance}
.hero p{font:400 1.13rem/1.65 var(--serif);color:var(--muted);margin:0 0 16px;max-width:36rem}
.hero .prerelease{font:400 .92rem/1.5 var(--sans);color:var(--ink);background:var(--unk-soft);border-left:3px solid var(--unk);border-radius:4px;padding:10px 14px;margin:0 0 28px;max-width:36rem}
.hero .prerelease b{font-weight:600}
.hero .asof{font:400 .86rem/1.5 var(--sans);color:var(--faint);margin:20px 0 0}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.btn{display:inline-block;font:500 .92rem/1 var(--sans);padding:11px 16px;border-radius:4px;border:1px solid var(--rule);background:var(--surface);color:var(--ink);text-decoration:none}
.btn:hover{border-color:var(--faint)}
.btn.primary{background:var(--hema);border-color:var(--hema);color:var(--surface)}
.btn.primary:hover{filter:brightness(1.08)}

figure.census{margin:0}
.census{background:var(--surface);border:1px solid var(--rule);border-radius:6px;padding:24px 22px 20px}
.hero .census-cap{font:500 1.02rem/1.45 var(--serif);color:var(--ink);margin:0 0 4px}
.hero .census-sub{font:400 .86rem/1.5 var(--sans);color:var(--muted);margin:0 0 22px}
.cols{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:end;min-height:230px}
.col{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;min-width:0}
.dots{display:flex;flex-wrap:wrap-reverse;gap:5px}
.dot{appearance:none;width:14px;height:14px;flex:none;border-radius:50%;border:0;padding:0;cursor:pointer;background:var(--c);box-shadow:inset 0 0 0 2px var(--r,var(--c))}
.dot.stopped{background:transparent}
.dot:hover{transform:scale(1.25)}
.dot:focus-visible{outline-offset:1px;border-radius:50%}
.empty-col{height:0}
.col-n{font:650 1.5rem/1 var(--serif);font-variant-numeric:lining-nums tabular-nums}
.col-l{font-size:.8rem;color:var(--muted);line-height:1.3;border-top:1px solid var(--rule);padding-top:8px}
.legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:20px 0 0;padding:14px 0 0;border-top:1px solid var(--rule);font-size:.82rem;color:var(--muted);list-style:none}
.legend li{display:flex;align-items:center;gap:7px}
.legend i{width:11px;height:11px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 2px var(--r,var(--c));display:inline-block}
.legend i.ring{background:transparent;--c:var(--muted)}
.tip{position:fixed;z-index:30;pointer-events:none;background:var(--ink);color:var(--ground);font-size:.82rem;line-height:1.4;padding:7px 10px;border-radius:4px;max-width:260px;opacity:0;transition:opacity .12s}
.tip.on{opacity:1}
@media (prefers-reduced-motion:no-preference){
  .dot{transition:transform .12s}
  .reveal .dot{animation:land .5s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i)*14ms)}
  @keyframes land{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
}

/* Body sections */
section.block{padding:48px 0;border-top:1px solid var(--rule)}
h2{font:500 1.7rem/1.25 var(--serif);letter-spacing:-.01em;margin:0 0 12px}
.intro{color:var(--muted);max-width:var(--measure);margin:0 0 28px}
.criteria{display:grid;gap:24px;margin:0;padding:0;list-style:none}
@media (min-width:760px){.criteria{grid-template-columns:repeat(3,1fr);gap:40px}}
.criteria h3{font:600 1rem/1.35 var(--sans);margin:0 0 6px}
.criteria p{margin:0;color:var(--muted);font-size:.95rem}

/* Other counts */
.counts{display:grid;gap:14px;max-width:820px}
.count-row{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
@media (min-width:720px){.count-row{grid-template-columns:15rem minmax(0,1fr);gap:18px;align-items:center}}
.count-name{font-size:.92rem}
.count-name small{display:block;color:var(--faint);font-size:.8rem}
.bar{display:flex;align-items:center;gap:10px}
.bar span{height:14px;border-radius:2px;background:var(--prec);flex:none}
.bar.ours span{background:var(--hema)}
.bar b{font:650 1.1rem var(--serif);font-variant-numeric:tabular-nums}
.counts-note{color:var(--muted);font-size:.92rem;max-width:var(--measure);margin:22px 0 0}

/* Table */
.controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 14px}
.controls input,.controls select{font:inherit;font-size:.9rem;padding:9px 11px;border:1px solid var(--rule);border-radius:4px;background:var(--surface);color:var(--ink);min-width:0}
.controls input{flex:1 1 260px}
.controls select{flex:0 1 auto;max-width:100%}
.seg{display:inline-flex;border:1px solid var(--rule);border-radius:4px;overflow:hidden}
.seg button{font:500 .88rem var(--sans);border:0;background:var(--surface);color:var(--muted);padding:9px 13px;cursor:pointer}
.seg button+button{border-left:1px solid var(--rule)}
.seg button[aria-pressed="true"]{background:var(--hema-soft);color:var(--hema)}
.shown{font-size:.88rem;color:var(--muted);margin:0 0 10px}
.tw{overflow-x:auto;border:1px solid var(--rule);border-radius:6px;background:var(--surface)}
table{width:100%;border-collapse:collapse;font-size:.9rem}
th,td{text-align:left;padding:10px 14px;border-bottom:1px solid var(--rule);vertical-align:top}
th{font:600 .82rem var(--sans);color:var(--muted);background:var(--surface);position:sticky;top:0;white-space:nowrap}
th button{all:unset;cursor:pointer}
th button:focus-visible{outline:2px solid var(--hema);outline-offset:2px}
th[aria-sort] button::after{content:"";display:inline-block;margin-left:6px;border:4px solid transparent;vertical-align:middle}
th[aria-sort="ascending"] button::after{border-bottom-color:currentColor;margin-bottom:4px}
th[aria-sort="descending"] button::after{border-top-color:currentColor;margin-top:4px}
tbody tr.row{cursor:pointer}
tbody tr.row:hover td{background:var(--hema-soft)}
tbody tr.row[aria-expanded="true"] td{background:var(--hema-soft);border-bottom-color:transparent}
td.mol{font-weight:600}
td.mol button{all:unset;cursor:pointer}
td.mol button:focus-visible{outline:2px solid var(--hema);outline-offset:2px}
.tag{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;white-space:nowrap}
.tag i{width:9px;height:9px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 2px var(--r,var(--c));flex:none}
.tag i.ring{background:transparent}
.st{font-size:.8rem;padding:2px 8px;border-radius:3px;white-space:nowrap}
.st-ongoing{background:var(--ok-soft);color:var(--ok)}.st-stopped{background:var(--stop-soft);color:var(--stop)}.st-unknown{background:var(--unk-soft);color:var(--unk)}
.bl{font-size:.75rem;font-weight:500;color:var(--unk);background:var(--unk-soft);padding:1px 6px;border-radius:3px;margin-left:6px;vertical-align:1px}
tr.detail td{background:var(--hema-soft);padding:4px 14px 20px}
.dgrid{display:grid;grid-template-columns:10rem minmax(0,1fr);gap:8px 18px;margin:0;font-size:.88rem;max-width:62rem}
.dgrid dt{color:var(--muted)}.dgrid dd{margin:0;overflow-wrap:anywhere}
@media (max-width:720px){.hide-sm{display:none}.dgrid{grid-template-columns:minmax(0,1fr);gap:2px}.dgrid dd{margin-bottom:8px}}

/* Limits and citation */
.limits{display:grid;gap:18px;margin:0;padding:0;list-style:none;max-width:var(--measure)}
.limits li{padding-left:18px;border-left:3px solid var(--hema)}
.limits b{font-weight:600}
.cite{font:400 .95rem/1.6 var(--serif);background:var(--surface);border:1px solid var(--rule);border-radius:6px;padding:16px 18px;max-width:var(--measure);margin:16px 0 0}
footer{padding:28px 0 56px;border-top:1px solid var(--rule);font-size:.86rem;color:var(--faint)}
footer p{margin:0 0 6px;max-width:var(--measure)}
.noscript{padding:12px 14px;background:var(--unk-soft);color:var(--unk);border-radius:4px}

/* Methodology page */
.prose{max-width:var(--measure);padding:48px 0 56px}
.prose h1{font:500 clamp(2rem,4vw,2.8rem)/1.15 var(--serif);letter-spacing:-.015em;margin:0 0 8px}
.prose h1+p{color:var(--faint);font-size:.92rem;margin:0 0 32px}
.prose h2{margin:40px 0 12px;font-size:1.45rem}
.prose p,.prose li{font:400 1.05rem/1.7 var(--serif)}
.prose li{margin:0 0 8px}
.prose ul,.prose ol{padding-left:1.3rem}
.prose code{font:500 .88em var(--sans);background:var(--hema-soft);color:var(--hema);padding:1px 5px;border-radius:3px}
.prose .tw{margin:16px 0 24px}
.prose table{font-size:.92rem}
.prose table td,.prose table th{font-family:var(--sans)}
.prose table th{position:static}
.prose table.eq{table-layout:fixed}
.prose table.eq th{white-space:normal}
.prose table.eq th,.prose table.eq td{padding:9px 10px;overflow-wrap:break-word}
@media (max-width:600px){.prose table.eq{font-size:.74rem}.prose table.eq th,.prose table.eq td{padding:7px 3px;hyphens:auto}.prose table.eq th{font-size:.6rem;letter-spacing:-.01em;hyphens:manual}}

@media (max-width:560px){
  .top{flex-direction:column;align-items:flex-start;gap:6px;padding:12px 0}
  html{scroll-padding-top:128px}
  .top nav{gap:4px 14px;flex-wrap:wrap;font-size:.86rem}
  .census{padding:18px 14px 16px}
  .cols{gap:8px;min-height:0}
  .dots{gap:4px}
  .dot{width:11px;height:11px}
  .col-n{font-size:1.25rem}
}
.col-l{white-space:nowrap}
@media (max-width:560px){.col-l{font-size:.72rem}}

/* Target-type key */
.types{display:grid;gap:18px 32px;margin:36px 0 0;padding:0;list-style:none}
@media (min-width:760px){.types{grid-template-columns:repeat(2,minmax(0,1fr))}}
.types li{display:grid;grid-template-columns:14px minmax(0,1fr);gap:12px;align-items:start}
.types i{width:14px;height:14px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 2px var(--r,var(--c));margin-top:4px}
.types h3{font:600 1rem/1.35 var(--sans);margin:0 0 4px}
.types p{margin:0;color:var(--muted);font-size:.95rem}
.legend a{color:inherit}
.table-note{font-size:.86rem;color:var(--faint);margin:12px 0 0;max-width:var(--measure)}
td.due{white-space:nowrap}
td.due small{white-space:normal;max-width:9rem}
td.due small{display:block;color:var(--faint);font-size:.78rem}
td.ti small{display:block;color:var(--muted);font-size:.82rem;margin-top:2px}
td.nw{white-space:nowrap}
th,td{padding:10px 12px}

/* Corrections form */
.cform{display:grid;gap:18px;max-width:46rem;background:var(--surface);border:1px solid var(--rule);border-radius:6px;padding:22px}
.frow{display:grid;gap:6px;margin:0;min-width:0}
.frow label,.frow legend{font-weight:600;font-size:.92rem}
.opt{font-weight:400;color:var(--faint);font-size:.82rem;margin-left:4px}
.cform input[type=text],.cform input[type=url],.cform input[type=email],.cform select,.cform textarea{font:inherit;font-size:.95rem;padding:9px 11px;border:1px solid var(--rule);border-radius:4px;background:var(--ground);color:var(--ink);width:100%;min-width:0}
.cform textarea{resize:vertical}
.fgrid{border:0;padding:0;display:grid;gap:12px}
@media (min-width:640px){.fgrid{grid-template-columns:1fr 1fr}.fgrid legend,.fgrid .fcheck,.fgrid .fhint{grid-column:1/-1}}
.fgrid div{display:grid;gap:6px}
.fgrid div label{font-weight:500}
.fcheck{display:flex;gap:8px;align-items:center;font-weight:400!important}
.fhint{margin:0;font-size:.84rem;color:var(--faint)}
.ferr{margin:0;font-size:.84rem;color:var(--stop);min-height:0}
.ferr:empty{display:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.factions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.fstatus{margin:0;font-size:.92rem;color:var(--muted)}
.fstatus.ok{color:var(--ok)}.fstatus.bad{color:var(--stop)}
.logh{font:500 1.3rem/1.3 var(--serif);margin:40px 0 12px}
small.sub{display:block;color:var(--faint);font-size:.8rem}
.suggest{margin:14px 0 0;font-size:.88rem}

/* Question page */
.q{max-width:52rem}.q>p,.q>ul,.q>ol{max-width:var(--measure)}
.tr{margin:20px 0 8px;font-family:var(--sans)}
.tr-cap{font:600 1rem/1.4 var(--serif);margin:0 0 4px}
.prose .tr-legend{padding:0 0 14px;margin:10px 0 20px;border-top:0;border-bottom:1px solid var(--rule)}
.prose .tr-legend li{font:inherit;margin:0}
.tr-legend .sep{flex-basis:100%;height:0}
.k-band{width:22px;height:12px;background:var(--fp-band);border-radius:2px;display:inline-block}
.k-med{width:2px;height:14px;background:var(--ink);display:inline-block}
.k-est{width:1.5px;height:10px;background:var(--faint);display:inline-block}
.k-ai{position:relative;width:26px;height:12px;display:inline-block}
.k-ai::before{content:"";position:absolute;left:0;right:0;top:5px;height:2px;background:var(--hema)}
.k-ai::after{content:"";position:absolute;left:8px;top:1px;width:10px;height:10px;border-radius:50%;background:var(--hema)}
:root{--fp-band:#E9EBF1;--st1:#c17429;--st2:#2f6e1f;--st3:#b46aae;--st4:#854271;--st5:#28a16d}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--fp-band:#262A39;--st1:#ac571d;--st2:#61a253;--st3:#df7a9b;--st4:#a8488d;--st5:#4a71b1}}
:root[data-theme="dark"]{--fp-band:#262A39;--st1:#ac571d;--st2:#61a253;--st3:#df7a9b;--st4:#a8488d;--st5:#4a71b1}
.shp{display:inline-block;width:9px;height:9px;background:var(--c)}
.shp.s1{clip-path:inset(0)}
.shp.s2{clip-path:polygon(50% 0,100% 100%,0 100%)}
.shp.s3{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.shp.s4{clip-path:polygon(0 0,100% 0,50% 100%)}
.shp.s5{clip-path:polygon(35% 0,65% 0,65% 35%,100% 35%,100% 65%,65% 65%,65% 100%,35% 100%,35% 65%,0 65%,0 35%,35% 35%)}
.k-studies{flex-basis:100%;font-weight:600;color:var(--ink);margin-top:2px}
.tr-rows{display:grid;gap:10px}
.tr-row{display:grid;grid-template-columns:11rem minmax(0,1fr);grid-template-areas:"name fp" "stack fp";column-gap:26px;row-gap:6px}
.tr-axis{display:grid;grid-template-columns:11rem minmax(0,1fr);column-gap:26px}
.tr-name{grid-area:name;align-self:end}
.tr-stack{grid-area:stack;align-self:start}
.fp{grid-area:fp}
.tr-name{font-size:.92rem;line-height:1.35}
.tr-name small{display:block;color:var(--faint);font-size:.8rem}
.tr-stack{display:flex;gap:2px;height:22px;min-width:2.5rem}
.tr-seg{display:flex;align-items:center;justify-content:center;font:600 .74rem var(--sans);border-radius:2px;min-width:18px;cursor:default}
.tr-seg.on{background:var(--hema);color:var(--surface)}
.tr-seg.stop{background:var(--stop);color:var(--surface)}
.tr-seg.run{background:var(--unclear);box-shadow:inset 0 0 0 1.5px var(--unclear-ring);color:var(--ink)}
.fp{display:grid;grid-template-rows:18px 34px 18px;font-size:.8rem}
.fp-lab{position:relative}
.fp-lab span{position:absolute;white-space:nowrap;transform:translateX(-50%)}
.fp-lab span.l{transform:none}.fp-lab span.r{transform:translateX(-100%)}
.fp-top span{bottom:1px;color:var(--ink);font-weight:600}
.fp-bot span{top:2px;color:var(--hema);font-weight:600}
.fp-bot span.few,.fp-bot span.none{color:var(--faint);font-weight:400}
.fp-track{position:relative;border-right:1px solid var(--rule);background:linear-gradient(to right,var(--rule) 1px,transparent 1px) 0 0/20% 100% repeat-x}
.fp-band{position:absolute;top:6px;height:16px;background:var(--fp-band);border-radius:2px}
.fp-est{position:absolute;top:8px;height:12px;width:1.5px;margin-left:-.75px;background:var(--c);opacity:.5}
.fp-est .shp{position:absolute;top:-4px;left:-2.75px;width:7px;height:7px}
.fp-med{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--ink)}
.fp-ci{position:absolute;top:26px;height:2px;background:var(--hema)}
.fp-ci::before,.fp-ci::after{content:"";position:absolute;top:-4px;width:2px;height:10px;background:inherit}
.fp-ci::before{left:-1px}.fp-ci::after{right:-1px}
.fp-pt{position:absolute;top:20px;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:var(--hema);box-shadow:0 0 0 2px var(--surface)}
.fp-ci.few{background:var(--unclear-ring)}
.fp-pt.few{background:var(--unclear);box-shadow:inset 0 0 0 2px var(--unclear-ring),0 0 0 2px var(--surface)}
.fp-hit{position:absolute;top:0;bottom:0;width:12px;margin-left:-6px}
.tr-axis{margin-top:2px}
.tr-ticks{position:relative;height:16px;font-size:.74rem;color:var(--muted);font-variant-numeric:tabular-nums}
.tr-ticks span{position:absolute;transform:translateX(-50%)}
.tr-ticks span:first-child{transform:none}.tr-ticks span:last-child{transform:translateX(-100%)}
.tr-axis-t{grid-column:2;font-size:.78rem;color:var(--faint);text-align:center;margin-top:-6px}
.tr-table{margin:18px 0 0;font-size:.88rem}
.tr-table summary{cursor:pointer;color:var(--hema)}
.tr-read{font-weight:500}
.tr-src li{font-size:.95rem}
@media (max-width:640px){
  .tr-row{grid-template-columns:1fr;grid-template-areas:"name" "stack" "fp";padding-bottom:8px}
  .tr-axis{grid-template-columns:1fr}.tr-axis>span{display:none}.tr-axis-t{grid-column:1}
}
.prose .tr-legend:not(.tr-studies){border-bottom:0;padding-bottom:0;margin-bottom:12px}
.prose .tr-legend.tr-studies{margin-top:0;gap:6px 18px}
.tr-studies a{color:inherit;text-decoration:none}
.tr-studies a:hover{text-decoration:underline}
.tr-yrs{color:var(--faint)}
.prose .tr-legend .k-studies{font:600 .82rem var(--sans)}
.legend i.shp,.tag i.shp{border-radius:0;box-shadow:none;width:10px;height:10px}
.tr-studies .shp{opacity:.6}
.count-name a{color:inherit;text-decoration-color:var(--rule)}
.count-name a:hover{color:var(--hema);text-decoration-color:currentColor}
.count-name sup{font-size:.7em;margin-left:2px}
.count-name sup a{color:var(--hema);text-decoration:none}
.refs{max-width:var(--measure);margin:18px 0 0;padding-left:1.3rem;font-size:.82rem;line-height:1.55;color:var(--faint)}
.refs li{margin:0 0 6px}
.refs li:target{color:var(--ink)}
.ctg{overflow-x:auto}
.ctg table{font-size:.82rem;width:100%;border-collapse:collapse;margin:2px 0 4px}
.ctg th{position:static;background:none;padding:2px 10px 4px 0;text-align:left;border-bottom:1px solid var(--rule)}
.ctg td{padding:5px 10px 5px 0;vertical-align:top;border-bottom:1px solid var(--rule)}
.ctg td small{display:block;color:var(--faint);font-size:.76rem;line-height:1.35}
.ctg-note{color:var(--faint);font-size:.76rem}
.ctg td,.ctg th{overflow-wrap:normal;word-break:normal}
.ladder-h{margin:34px 0 6px;font-size:1.05rem}
.ladder{margin-top:12px;max-width:820px}
.ladder th,.ladder td{padding:8px 10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--rule)}
.ladder .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.ladder small{display:block;color:var(--faint);font-size:.76rem;font-weight:400;line-height:1.35}
.ladder b{font:650 1rem var(--serif)}
.ladder .sm{display:none}
/* Six list columns: let the long list names wrap so the table fits the content column. */
.ladder thead th{vertical-align:bottom}.ladder thead th.num{white-space:normal}.ladder thead small{white-space:nowrap}
.ladder thead a{color:inherit;text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:3px}.ladder thead a:hover{color:var(--hema);text-decoration-color:currentColor}
/* Phones: short two-line column labels and tight cells so the whole ladder fits without sideways scrolling. */
@media (max-width:560px){
  .ladder .lg{display:none}.ladder .sm{display:inline}
  .ladder table{width:100%;font-size:.8rem}
  .ladder th,.ladder td{padding:7px 4px}
  .ladder th:first-child,.ladder td:first-child{padding-left:8px}
  .ladder th:last-child,.ladder td:last-child{padding-right:8px}
  .ladder thead th{font-size:.68rem;line-height:1.2;letter-spacing:-.01em;hyphens:manual;vertical-align:bottom}
  .ladder thead th.num{white-space:normal}
  .ladder small{font-size:.66rem;line-height:1.3}
  .ladder b{font-size:.9rem}
}
@media (max-width:360px){.ladder table{font-size:.74rem}.ladder th,.ladder td{padding:6px 3px}.ladder thead th{font-size:.62rem}.ladder b{font-size:.84rem}}

/* Registry table: wider than the text column on wide screens, with a cue when it scrolls */
td.ph small{display:block;color:var(--muted);font-size:.82rem;margin-top:2px;max-width:16rem}
td.ph .nw{white-space:nowrap}
.tw-wide{--w:max(100%,min(1320px,100vw - 64px));position:relative;width:var(--w);margin-left:calc((100% - var(--w)) / 2)}
.tw-wide::after{content:"";position:absolute;top:1px;right:1px;bottom:1px;width:40px;border-radius:0 6px 6px 0;pointer-events:none;background:linear-gradient(to right,transparent,var(--surface));opacity:0;transition:opacity .15s}
.tw-wide.more::after{opacity:1}
@media (max-width:720px){.tw-wide{--w:100%}}

/* Bibliography */
.bib{padding-left:1.3rem}
.bib li{margin:0 0 18px;scroll-margin-top:120px}
.bib li:target{background:var(--surface);box-shadow:0 0 0 10px var(--surface);border-radius:2px}
.bib-ref{display:block}
.bib-meta{display:block;font:500 .78rem/1.5 var(--sans);color:var(--faint);margin-top:2px}
.bib-note{display:block;font:400 .95rem/1.6 var(--serif);color:var(--muted);margin-top:2px}
.bib-dl{font:500 .9rem var(--sans)}

/* Chat panel ("Ask the registry", assets/chat.js) */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.chat-fab{position:fixed;right:20px;bottom:20px;z-index:42;touch-action:none;user-select:none;width:56px;height:56px;border-radius:50%;border:0;padding:0;display:grid;place-items:center;background:var(--hema);color:var(--surface);box-shadow:0 6px 20px rgba(21,26,45,.28);cursor:pointer;transition:transform .15s ease}
.chat-fab:hover{transform:scale(1.05)}
.chat-fab:focus-visible{outline:3px solid var(--fic);outline-offset:3px}
.chat-fab svg{width:26px;height:26px}
.chat-fab .i-open{fill:currentColor}
.chat-fab .i-close{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;display:none}
.chat-fab[aria-expanded="true"] .i-open{display:none}
.chat-fab[aria-expanded="true"] .i-close{display:block}
@media (prefers-reduced-motion:reduce){.chat-fab{transition:none}.chat-fab:hover{transform:none}}
.chat-hint{position:fixed;right:86px;bottom:32px;z-index:42;font:600 .86rem/1 var(--sans);color:var(--ink);background:var(--surface);border:1px solid var(--rule);border-radius:999px;padding:9px 13px;box-shadow:0 4px 14px rgba(21,26,45,.14);cursor:pointer;white-space:nowrap}
.chat-hint[hidden]{display:none}
.chat-hint::after{content:"";position:absolute;right:-6px;top:50%;width:10px;height:10px;background:var(--surface);border-right:1px solid var(--rule);border-top:1px solid var(--rule);transform:translateY(-50%) rotate(45deg)}
.chat-fab[aria-expanded="true"]~.chat-hint{display:none}
.chat-panel{position:fixed;z-index:41;right:20px;bottom:88px;width:min(420px,calc(100vw - 40px));height:min(620px,calc(100vh - 112px));display:flex;flex-direction:column;background:var(--surface);color:var(--ink);border:1px solid var(--rule);border-radius:10px;box-shadow:0 12px 40px rgba(21,26,45,.22);overflow:hidden}
.chat-panel[hidden]{display:none}
.chat-panel header{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--rule)}
.chat-panel h2{font:600 1rem/1.2 var(--serif);margin:0;flex:1}
.chat-new{font:500 .8rem/1 var(--sans);color:var(--muted);background:none;border:1px solid var(--rule);border-radius:4px;padding:6px 8px;cursor:pointer}
.chat-note{font:400 .8rem/1.45 var(--sans);color:var(--muted);background:var(--unk-soft);margin:0;padding:8px 14px}
.chat-log{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.chat-msg{font:400 .93rem/1.55 var(--sans);max-width:92%;padding:9px 12px;border-radius:8px;overflow-wrap:anywhere}
.chat-msg p,.chat-msg ul,.chat-msg ol{margin:0 0 8px}
.chat-msg>:last-child{margin-bottom:0}
.chat-msg ul,.chat-msg ol{padding-left:20px}
.chat-msg.you{align-self:flex-end;background:var(--hema-soft)}
.chat-msg.bot{align-self:flex-start;background:var(--ground);border:1px solid var(--rule)}
.chat-msg.pending{color:var(--muted);font-style:italic}
.chat-msg.error{border-color:var(--stop);background:var(--stop-soft)}
.chat-form{border-top:1px solid var(--rule);padding:10px 14px 8px;display:flex;flex-direction:column;gap:6px}
.chat-form textarea,.chat-pw input{font:inherit;font-size:.93rem;width:100%;padding:8px 10px;border:1px solid var(--rule);border-radius:6px;background:var(--ground);color:var(--ink);resize:none}
.chat-pw{font:500 .78rem/1.4 var(--sans);color:var(--muted);display:flex;flex-direction:column;gap:4px}
.chat-pw[hidden]{display:none}
.chat-remember{display:flex;gap:6px;align-items:center;font:400 .78rem/1.4 var(--sans);color:var(--muted)}
.chat-row{display:flex;justify-content:space-between;align-items:center}
.chat-row .btn{padding:9px 16px}
.chat-count{font:400 .75rem var(--sans);color:var(--faint)}
.chat-privacy{font:400 .74rem/1.4 var(--sans);color:var(--faint);margin:0}
.chat-privacy a{color:inherit}
.chat-me{font:400 .74rem/1.4 var(--sans);color:var(--muted);margin:0}
.chat-me button{font:inherit;color:var(--hema);background:none;border:0;padding:0;text-decoration:underline;cursor:pointer}
@media (max-width:719px){
  /* The sheet follows the visible area (chat.js sets --vv-top and --vv-h); with the keyboard up it fills it, so the question box sits just above the keys. 16px text stops iOS zooming in on focus. */
  .chat-panel{left:0;right:0;top:var(--vv-top,0px);bottom:auto;height:calc(var(--vv-h,100dvh) - 84px);width:auto;border-radius:0 0 12px 12px;border-top:0}
  .chat-panel.kb{height:var(--vv-h);border-radius:0}
  .chat-fab.kb{visibility:hidden}
  /* Phones only (the sheet covers the page): while it is open the page behind does not scroll, and the conversation's scroll does not pass to it at either end. On wider screens the chat is a small window and the page scrolls as usual. */
  html.chat-lock,html.chat-lock body{overflow:hidden;overscroll-behavior:none}
  .chat-log{overscroll-behavior:contain}
  .chat-form textarea,.chat-pw input{font-size:16px}
  .chat-fab{right:14px;bottom:14px}
  .chat-hint{right:80px;bottom:26px}
}
.chat-fab.dragging{transform:scale(1.08);cursor:grabbing;transition:none}
.chat-panel.dragging{opacity:.96;box-shadow:0 18px 50px rgba(21,26,45,.3)}
@media (min-width:720px){.chat-panel header{cursor:move;touch-action:none;user-select:none}}
@media print{.chat-fab,.chat-hint,.chat-panel{display:none}}

/* Registry page: the table scrolls in its own frame with its header pinned */
.reg-page h1,.ch-page h1{font:500 clamp(1.8rem,3.4vw,2.4rem)/1.15 var(--serif);margin:0 0 6px}
/* The release stamp under each figures page's heading (scripts/version.py writes it; the page script completes it). */
.reg-page .asof,.ch-page .asof,.q>.asof{font:400 .86rem/1.5 var(--sans);color:var(--faint);margin:0 0 16px}
.reg-page .tw{max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);overflow:auto;overscroll-behavior:contain}
.reg-page .tw>table>thead th{position:sticky;top:0;z-index:3;box-shadow:inset 0 -1px 0 var(--rule)}
.reg-page .ctg th{position:static}
/* iPad landscape and small laptops: all nine columns fit the frame with no sideways scroll (headers and target-type tags wrap, tighter padding). Wider screens are unchanged; phones hide five columns and may scroll. */
@media (min-width:721px) and (max-width:1319px){.reg-page .tw>table>thead th{white-space:normal;vertical-align:bottom}.reg-page .tw>table>thead th,.reg-page .tw>table>tbody>tr.row>td{padding-left:8px;padding-right:8px}.reg-page tr.row .tag,.reg-page tr.row td.nw{white-space:normal}}
@media (min-width:721px) and (max-width:1100px){.reg-page .tw>table{font-size:.84rem}.reg-page .tw>table>thead th,.reg-page .tw>table>tbody>tr.row>td{padding-left:6px;padding-right:6px}}
/* An open entry's details stay within the frame's visible width, so a phone never has to pan sideways to read them. */
.reg-page .tw{container-type:inline-size}
.reg-page tr.detail td>*{position:sticky;left:14px;max-width:calc(100vw - 64px);max-width:calc(100cqw - 28px)}
.reg-page tr.detail .dgrid{max-width:min(62rem,calc(100vw - 64px));max-width:min(62rem,calc(100cqw - 28px))}
/* Home page: search box that opens the registry page */
.reg-jump{display:flex;flex-wrap:wrap;gap:10px;max-width:640px;margin-top:14px}
.reg-jump input{flex:1;min-width:220px;font:inherit;font-size:.95rem;padding:10px 12px;border:1px solid var(--rule);border-radius:4px;background:var(--surface);color:var(--ink)}
.corr-page h1{font:500 clamp(1.8rem,3.4vw,2.4rem)/1.15 var(--serif);margin:0 0 10px}

h1 a.fn{text-decoration:none;font-size:.55em;vertical-align:super;margin-left:.08em;color:var(--hema);cursor:help}
h1 a.fn:hover,h1 a.fn:focus-visible{text-decoration:underline}
#h-note{border-radius:6px;padding:4px 8px;margin-left:-8px;margin-right:-8px;transition:background-color .2s,color .2s,box-shadow .2s}
.hero:has(a.fn:hover) #h-note,.hero:has(a.fn:focus-visible) #h-note,#h-note:target{background:var(--hema-soft);color:var(--ink);box-shadow:0 0 0 1px var(--hema)}
.hero .eyebrow{font:600 .8rem/1.2 var(--sans,inherit);letter-spacing:.09em;text-transform:uppercase;color:var(--muted,inherit);opacity:.85;margin:0 0 10px}
/* Changelog: changes to the register (scripts/build_site.py) */
.prose .reg-table td{vertical-align:top}
.prose .reg-table td:nth-child(2),.prose .reg-table td:nth-child(3){white-space:nowrap}
.prose .reg-table ul{margin:6px 0 0;padding-left:1.1rem}
.prose .reg-table li{font:inherit;margin:0 0 3px}
.prose .reg-table summary{cursor:pointer}
.reg-date,.reg-d{color:var(--faint);font-size:.85em}
.prose .reg-dl{font-size:.92rem}
.prose .reg-line{font:400 .88rem/1.5 var(--sans);color:var(--ink);background:var(--surface);border-left:3px solid var(--hema);border-radius:4px;padding:6px 10px;margin:-4px 0 12px}
.prose .reg-line.quiet{color:var(--muted);background:none;border-left-color:var(--rule)}

/* Charts page (charts.html, #charts): a stat tile, columns by year and ranked bars, all drawn from the data by registry.js.
   Marks follow the census and the dataviz specs: thin bars, 2px surface gaps, rounded data ends, counts printed at the column cap
   instead of a y-axis. Borderline (--bord) is a pale step below 3:1, read with the printed counts, the key and each table view. */
.ch-page h1{margin-bottom:14px}
.more-link{margin:28px 0 0}
.ch-controls{margin:0 0 18px}
.ch-shown{font-size:.88rem;color:var(--muted)}
.ch-grid{display:grid;gap:18px}
@media (min-width:960px){.ch-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ch-wide{grid-column:1/-1}}
.ch{min-width:0}
.ch-cap{font:500 1.14rem/1.35 var(--serif);letter-spacing:0;color:var(--ink);margin:0}
.ch-take{font-size:.95rem;line-height:1.45;color:var(--ink);margin:4px 0 0;max-width:62ch;text-wrap:balance}
.ch-sub{font-size:.82rem;line-height:1.45;color:var(--muted);margin:3px 0 0}
.ch-note{font-size:.84rem;line-height:1.5;color:var(--muted);margin:14px 0 0;max-width:58ch;text-wrap:pretty}
.ch-legend{margin:14px 0 0;padding:0;border-top:0}
.ch-legend[hidden]{display:none}
.legend i.sq{border-radius:2px}
/* Stat tile: the cohort total as the page's one hero figure, a supporting share and the running total as a sparkline */
.ch-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px 40px}
.ch-head>div:first-child{flex:1 1 20rem;min-width:0}
.ch-stat{flex:0 1 auto;min-width:0}
.ch-stat-row{display:flex;align-items:flex-end;gap:16px}
.ch-hero{font:600 3.25rem/.9 var(--sans);font-variant-numeric:lining-nums proportional-nums;letter-spacing:-.02em;color:var(--ink)}
.ch-spark{display:block;flex:none;overflow:visible}
.ch-spark polyline{fill:none;stroke:var(--faint);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.ch-spark circle{fill:var(--hema);stroke:var(--surface);stroke-width:2}
.ch-stat-l{font-size:.88rem;line-height:1.4;color:var(--ink);margin:8px 0 0}
.ch-stat-s{font-size:.84rem;line-height:1.4;color:var(--muted);margin:2px 0 0}
/* Columns */
.ch-cols,.ch-xl{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr))}
.ch-cols{height:210px;margin-top:18px;border-bottom:1px solid var(--rule)}
.ch-cols.has-band{--hr:1.35rem}
.ch-col{grid-row:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:2px;height:100%;padding:0 2px;min-width:0;cursor:default}
.ch-col.band{background:var(--ch-band)}
.ch-col.gap{border-right:1px solid var(--rule)}
.ch-col:hover .ch-seg{filter:brightness(1.08)}
.ch-col:focus-visible{outline:2px solid var(--hema);outline-offset:-2px;border-radius:3px}
.ch-bandlab{grid-row:1;align-self:start;text-align:center;font-size:.72rem;line-height:1.2;color:var(--muted);padding:6px 4px 0;pointer-events:none;text-wrap:balance}
.ch-tot{font:600 .82rem/1 var(--sans);font-variant-numeric:lining-nums tabular-nums;color:var(--ink);margin-bottom:3px}
.ch-tot.zero{color:var(--faint);font-weight:400}
.ch-seg{flex:none;width:min(100%,24px);background:var(--c);min-height:2px}
.ch-seg.end{border-radius:4px 4px 0 0}
.ch-xl{font-size:.74rem;color:var(--muted);text-align:center;margin-top:6px;font-variant-numeric:tabular-nums}
.ch-xl span{min-width:0;overflow:hidden;white-space:nowrap}
.ch-xl .s{display:none}
@media (max-width:560px){.ch-xl .l{display:none}.ch-xl .s{display:inline}.ch-tot{font-size:.74rem}.ch-cols.has-band{--hr:2.3rem}.ch-hero{font-size:3rem}}
/* Ranked bars: the label column fits the longest name; on a phone the bar drops under its name */
.ch-bars{--lab:3rem;display:grid;grid-template-columns:fit-content(15rem) minmax(0,1fr);gap:9px 14px;margin-top:16px}
.ch-bars.has-share{--lab:5.6rem} /* room after the longest bar for its count and share */
.ch-why .ch-bars{grid-template-columns:fit-content(22rem) minmax(0,1fr);margin-top:0}
.ch-bar{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:center;font-size:.86rem;line-height:1.3;cursor:default;border-radius:3px}
.ch-bar>span:first-child{color:var(--ink)}
.ch-bar:focus-visible{outline:2px solid var(--hema);outline-offset:3px}
.ch-track{display:flex;align-items:center;gap:2px;min-width:0}
.ch-track i{height:14px;background:var(--c);flex:none}
.ch-track i:last-of-type{border-radius:0 4px 4px 0}
.ch-track b{font:600 .82rem var(--sans);font-variant-numeric:lining-nums tabular-nums;margin-left:6px}
.ch-share{font-weight:400;color:var(--muted);margin-left:.2em}
.ch-bar:hover .ch-track i{filter:brightness(1.08)}
@media (max-width:560px){.ch-bars,.ch-why .ch-bars{grid-template-columns:minmax(0,1fr);row-gap:10px}.ch-bar{row-gap:3px}.ch-track i{height:10px}}
.ch-why{margin:22px 0 0;padding-top:16px;border-top:1px solid var(--rule)}
.ch-why h3{font:600 .9rem/1.4 var(--sans);margin:0 0 12px}
