/* Generated by lib/_tools/build_index_entries.py: the compound-page shell style (build_page.STYLE), unchanged. Edit the shell. */

/* Hallmark | redesign: polish | system: DESIGN.md v2 (locked; brand kept) | genre: editorial reference | built: the library generators, 6 Nov 2026
   critique: F1 tracked-mono labels under 12px, F2 h1 glow and reading-page halo, F3 15px body, F4 tracked square button, F5 no "you are here", F6 faux italic lede (all fixed in the v2 layer below)
   waive 62: .left>section.rvq is added by script, never in markup, so no-JS readers never see it hidden; .lxprog is aria-hidden decoration
   waive 24b: spacing off the 4px scale is legacy page furniture; the v2 layer does not re-space a kept layout (polish)
   waive 48: literal colours in the v1 rules predate the tokens; the v2 layer uses tokens only */
*{margin:0;padding:0;box-sizing:border-box}
a,a:link,a:visited{color:inherit}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--txt);font-family:var(--in);font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased}
canvas#field{position:fixed;inset:0;z-index:0;pointer-events:none}
.wrap{position:relative;z-index:1;max-width:1240px;margin:0 auto;padding:0 40px}

.ticks{display:flex;align-items:flex-end;height:14px;border-bottom:1px solid var(--rule)}
.ticks i{width:1px;background:var(--rule);height:6px;margin-right:7px}
.ticks i:nth-child(5n){height:13px;background:var(--rule2)}

nav{display:flex;justify-content:space-between;align-items:center;padding:22px 0;border-bottom:1px solid var(--rule)}
.secnav{position:sticky;top:0;z-index:5;display:flex;gap:26px;overflow-x:auto;padding:13px 0;
  border-bottom:1px solid var(--rule);background:rgba(0,0,0,.94);backdrop-filter:blur(9px);scrollbar-width:none}
/* 23 Aug 2026 -- the nav has always scrolled and has never had a way of saying
   so. Measured at 1440px, nine of twenty-three pages ran it off the right edge
   by up to 507px, and the link that goes first is always Sources -- the
   reference list, which is the page's whole claim to rigour. The scrollbar was
   deliberately hidden, so a scrollable strip read as a truncated one.

   THE WRAPPER STICKS, NOT THE NAV. A fade on a non-sticky wrapper detaches
   from a sticky child the instant you scroll, and a fade on the scroll
   container itself scrolls away with the content. The sticky element has to
   be the one the fade is attached to. .secnav keeps its own background so an
   ancestor with a different one cannot show through. */
.navwrap{position:sticky;top:0;z-index:5;background:rgba(0,0,0,.94);backdrop-filter:blur(9px)}
.secnav{position:static;z-index:auto;backdrop-filter:none;
  scrollbar-width:thin;scrollbar-color:var(--rule-hi) transparent}
.secnav::-webkit-scrollbar{height:3px}
.secnav::-webkit-scrollbar-track{background:transparent}
.secnav::-webkit-scrollbar-thumb{background:var(--rule-hi);border-radius:2px}
.navwrap.more::after{content:'';position:absolute;top:0;right:0;bottom:0;width:72px;pointer-events:none;
  z-index:2;background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,.75) 45%,rgba(0,0,0,.99) 100%)}
.secnav a{font-family:var(--jb);font-size:9px;letter-spacing:1.6px;text-transform:uppercase;color:var(--faint);
  text-decoration:none;white-space:nowrap;padding-bottom:2px;border-bottom:1px solid transparent;transition:.18s}
.secnav a:hover{color:var(--teal);border-color:var(--teal)}
/* secnav-wrap 1 Sep 2026 -- 17 of 48 pages ran the section nav off the right
   edge at 1440px, up to 517px of it, and the link that goes first is Sources.
   The 23 Aug fade made that visible; it did not make it reachable. Above the
   house breakpoint the strip wraps instead of scrolling. Below it the scroll
   and the fade stay, because on a phone that is the right pattern. */
@media(min-width:1081px){
  .secnav{flex-wrap:wrap;row-gap:9px;overflow-x:visible}
  .navwrap.more::after{display:none}
}
.crumb{font-family:var(--jb);font-size:9.5px;letter-spacing:1.6px;text-transform:uppercase;color:var(--faint)}
.crumb a{color:var(--dim);text-decoration:none}.crumb a:hover{color:var(--teal)}

.eb{display:flex;align-items:center;gap:16px;margin-bottom:38px}
.eb span{font-family:var(--jb);font-size:9.5px;letter-spacing:2.2px;text-transform:uppercase;color:var(--faint);white-space:nowrap}
.eb i{flex:1;height:1px;background:var(--rule)}

/* title block lives in the left column so the grid row never stretches */
.titleblock{padding-bottom:50px;border-bottom:1px solid var(--rule);margin-bottom:56px}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.chip{font-family:var(--jb);font-size:9px;letter-spacing:1.7px;text-transform:uppercase;color:var(--dim);border:1px solid var(--rule2);border-radius:var(--r-pill);padding:5px 11px}
h1{font-family:var(--sg);font-weight:600;font-size:clamp(38px,6.4vw,78px);letter-spacing:-2.8px;line-height:.98;margin-bottom:10px;text-shadow:0 0 18px rgba(233,235,237,.07),0 0 64px rgba(76,111,255,.16)}
.alias{font-family:var(--jb);font-size:9.5px;letter-spacing:1.4px;color:var(--faint);text-transform:uppercase;margin-bottom:30px;line-height:2}
.gist{border-left:2px solid var(--teal);padding-left:22px;margin-bottom:30px}
.gist p{font-family:var(--sg);font-weight:500;font-size:clamp(18px,2.2vw,25px);letter-spacing:-.7px;line-height:1.35;font-style:italic}
.badges{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.worth{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--rule2);border-radius:var(--r-pill);padding:9px 16px;font-family:var(--jb);font-size:9.5px;letter-spacing:1.7px;text-transform:uppercase}
.worth .dot{width:5px;height:5px;border-radius:50%;background:var(--amber)}
.worth .dot.go{background:var(--teal)}
.reviewed{font-family:var(--jb);font-size:9.5px;letter-spacing:1.5px;text-transform:uppercase;color:var(--faint)}

/* infobox */
.infobox{border:1px solid var(--rule2);background:var(--surf);align-self:start;border-radius:var(--r);overflow:hidden;box-shadow:var(--edge)}
.ibhead{padding:13px 18px;border-bottom:1px solid var(--rule2);font-family:var(--jb);font-size:9px;letter-spacing:2.2px;text-transform:uppercase;color:var(--faint);display:flex;justify-content:space-between}
.ibstruct{position:relative;border-bottom:1px solid var(--rule);background:
  linear-gradient(var(--rule) 1px,transparent 1px) 0 0/100% 38px,
  linear-gradient(90deg,var(--rule) 1px,transparent 1px) 0 0/38px 100%;
  background-color:#0A0A0B;padding:20px 16px 34px;min-height:268px;display:flex;align-items:center;justify-content:center}
.ibstruct img{width:100%;max-width:330px;aspect-ratio:4/3;object-fit:contain;display:block;
  filter:invert(1) hue-rotate(180deg) contrast(1.08);mix-blend-mode:screen}
.structlink{position:absolute;left:16px;bottom:11px;font-family:var(--jb);font-size:8px;letter-spacing:1.2px;
  text-transform:uppercase;color:var(--faint);text-decoration:none;border-bottom:1px solid var(--rule2)}
.structlink:hover{color:var(--teal);border-color:var(--teal)}
.ibfig{padding:24px 18px 18px;border-bottom:1px solid var(--rule)}
.ibcap{font-family:var(--jb);font-size:8.5px;letter-spacing:1.1px;color:var(--faint);text-transform:uppercase;line-height:1.75;margin-top:14px}
table.ib{width:100%;border-collapse:collapse}
table.ib tr{border-bottom:1px solid var(--rule)}
table.ib tr:last-child{border-bottom:none}
table.ib td{padding:9px 18px;font-size:12.5px;vertical-align:top}
table.ib td:first-child{font-family:var(--jb);font-size:8.5px;letter-spacing:1.3px;text-transform:uppercase;color:var(--faint);width:104px;padding-right:8px}
table.ib td:last-child{color:var(--txt)}
.mono{font-family:var(--jb);font-size:11px;letter-spacing:.4px;word-break:break-all}

/* residue chain */
.chain{display:flex;flex-wrap:wrap;gap:3px}
.res{width:100%;max-width:34px;flex:1 1 auto;text-align:center;border:1px solid var(--rule2);border-radius:2px;padding:6px 0 4px;position:relative}
.res b{display:block;font-family:var(--sg);font-weight:600;font-size:12px;line-height:1}
.res s{display:block;font-family:var(--jb);font-size:7px;letter-spacing:.4px;color:var(--faint);text-decoration:none;margin-top:3px}
.res.np{border-color:var(--rule2)}
.res.ba{border-color:rgba(245,181,68,.55);background:rgba(245,181,68,.07)}
.res.ac{border-color:rgba(76,111,255,.55);background:rgba(76,111,255,.07)}
/* .don marks a residue the page needs to single out; its meaning is set by each page key. */
.res.don{border-color:rgba(76,111,255,.7);background:rgba(76,111,255,.09)}
.res.don b{color:var(--teal)}

/* Full-width structure plate. */
.plate{border:1px solid var(--rule2);background:#0A0A0B;padding:26px 22px 18px;margin:6px 0 22px;
  background-image:linear-gradient(var(--rule) 1px,transparent 1px),linear-gradient(90deg,var(--rule) 1px,transparent 1px);
  background-size:100% 40px,40px 100%}
.plate img{width:100%;height:auto;display:block;filter:invert(1) hue-rotate(180deg) contrast(1.08);mix-blend-mode:screen}
.platecap{font-family:var(--jb);font-size:8.5px;letter-spacing:1.2px;text-transform:uppercase;color:var(--faint);line-height:1.8;margin-top:16px}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:6px 0 22px}
.duo figure{border:1px solid var(--rule2);background:#0A0A0B;padding:20px 16px 14px;
  background-image:linear-gradient(var(--rule) 1px,transparent 1px),linear-gradient(90deg,var(--rule) 1px,transparent 1px);
  background-size:100% 40px,40px 100%}
.duo img{width:100%;height:auto;display:block;filter:invert(1) hue-rotate(180deg) contrast(1.08);mix-blend-mode:screen}
.duo figcaption{font-family:var(--jb);font-size:8.5px;letter-spacing:1.2px;text-transform:uppercase;color:var(--faint);line-height:1.8;margin-top:12px}
.key{display:flex;gap:16px;flex-wrap:wrap;font-family:var(--jb);font-size:8px;letter-spacing:1.1px;text-transform:uppercase;color:var(--faint);margin-top:14px}
.key i{display:inline-block;width:8px;height:8px;border:1px solid var(--rule2);margin-right:5px;vertical-align:-1px}
.key i.ba{border-color:rgba(245,181,68,.55);background:rgba(245,181,68,.07)}
.key i.ac{border-color:rgba(76,111,255,.55);background:rgba(76,111,255,.07)}
.key i.don{border-color:rgba(76,111,255,.7);background:rgba(76,111,255,.09)}

/* ===== body grid ===== */
.cols{display:grid;grid-template-columns:1fr 386px;gap:0;border-bottom:1px solid var(--rule)}
.left{padding:58px 56px 66px 0;border-right:1px solid var(--rule)}
.right{padding:58px 0 66px 44px}
section{margin-bottom:60px}
section:last-child{margin-bottom:0}
h2{font-family:var(--sg);font-weight:600;font-size:clamp(23px,3vw,33px);letter-spacing:-1.3px;line-height:1.13;margin-bottom:18px}
h3{font-family:var(--sg);font-weight:600;font-size:15.5px;letter-spacing:.3px;text-transform:uppercase;margin:32px 0 12px}
p{color:var(--dim);margin-bottom:15px;max-width:66ch}
p strong{color:var(--txt);font-weight:500}
p:last-child{margin-bottom:0}
sup a{color:var(--teal);text-decoration:none;font-size:10px;font-family:var(--jb)}
sup+sup::before{content:",";color:var(--teal);font-size:10px;font-family:var(--jb);vertical-align:super;padding:0 1px}

/* pathway diagram */
.path{border:1px solid var(--rule);background:var(--surf);padding:30px 28px;margin:26px 0}
.pstep{display:grid;grid-template-columns:118px 1fr;gap:20px;padding:15px 0;border-bottom:1px solid var(--rule);align-items:start}
.pstep:last-child{border-bottom:none;padding-bottom:0}
.pstep:first-child{padding-top:0}
.pnode{font-family:var(--jb);font-size:10px;letter-spacing:1.1px;color:var(--teal);text-transform:uppercase;border:1px solid rgba(76,111,255,.4);border-radius:2px;padding:7px 8px;text-align:center;background:rgba(76,111,255,.06)}
.pnode.warn{color:var(--amber);border-color:rgba(245,181,68,.4);background:rgba(245,181,68,.06)}
.pdesc{font-size:13.5px;color:var(--dim);line-height:1.72}
.pdesc b{color:var(--txt);font-weight:500}

/* evidence ladder */
.ladder{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}
.rung{font-family:var(--jb);font-size:9px;letter-spacing:1.6px;text-transform:uppercase;border:1px solid var(--rule2);
  border-radius:2px;padding:8px 13px;color:var(--faint)}
.rung.on{border-color:var(--teal);color:var(--teal);background:rgba(76,111,255,.07)}

/* signature */
.sig{border:1px solid var(--rule);background:var(--surf);padding:28px;margin-bottom:20px;border-radius:var(--r);box-shadow:var(--edge)}
.sighead{font-family:var(--jb);font-size:9.5px;letter-spacing:2.2px;text-transform:uppercase;color:var(--teal);
  border-bottom:1px solid var(--rule);padding-bottom:13px;margin-bottom:20px;display:flex;justify-content:space-between;gap:12px}
.sighead em{font-style:normal;color:var(--faint)}
.sigrow{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.sigrow:last-child{margin-bottom:0}
.siglab{font-family:var(--jb);font-size:9.5px;letter-spacing:1.7px;color:var(--faint);width:112px;text-transform:uppercase;flex-shrink:0}
.bars{display:flex;gap:4px}
.bars i{width:32px;height:11px;background:var(--rule);border-radius:2px}
.bars i.on{background:var(--teal)}
.sigval{font-family:var(--jb);font-size:10px;color:var(--dim);margin-left:4px}
.legend{font-family:var(--jb);font-size:9px;letter-spacing:1.1px;color:var(--faint);line-height:1.95;text-transform:uppercase;border-top:1px solid var(--rule);margin-top:20px;padding-top:15px}

.panel{border:1px solid var(--rule);background:var(--surf);padding:26px;margin-bottom:20px}
.bignum{font-family:var(--sg);font-weight:600;font-size:42px;letter-spacing:-1.8px;line-height:1}
.bignum em{font-style:normal;font-size:16px;color:var(--dim);letter-spacing:0}
.cur{display:flex;gap:6px;margin-bottom:20px}
.cur button{background:none;border:1px solid var(--rule2);color:var(--faint);font-family:var(--jb);font-size:9px;letter-spacing:1.5px;padding:6px 11px;cursor:pointer;text-transform:uppercase;border-radius:2px;transition:.18s}
.cur button.active{border-color:var(--teal);color:var(--teal)}
.cur button:hover{color:var(--txt)}

table.spec{width:100%;border-collapse:collapse}
table.spec tr{border-bottom:1px solid var(--rule)}
table.spec tr:last-child{border-bottom:none}
table.spec td{padding:11px 0;vertical-align:top;font-size:13.5px}
table.spec td:first-child{font-family:var(--jb);font-size:9px;letter-spacing:1.5px;text-transform:uppercase;color:var(--faint);width:106px;padding-right:14px}
table.spec td:last-child{color:var(--txt)}

table.cmp{width:100%;border-collapse:collapse;margin:22px 0;font-size:13px}
table.cmp th{font-family:var(--jb);font-size:9px;letter-spacing:1.5px;text-transform:uppercase;color:var(--faint);text-align:left;padding:9px 12px 9px 0;border-bottom:1px solid var(--rule2);font-weight:400;vertical-align:bottom}
table.cmp td{padding:11px 12px 11px 0;border-bottom:1px solid var(--rule);color:var(--dim);vertical-align:top}
table.cmp td:first-child{font-family:var(--jb);font-size:9px;letter-spacing:1.4px;text-transform:uppercase;color:var(--faint);width:112px}
table.cmp td.hit{color:var(--txt)}
table.cmp td.bad{color:var(--amber)}

.inset{border:1px solid var(--rule2);background:var(--surf2);padding:24px;margin:24px 0;border-radius:var(--r)}
.inset .k{font-family:var(--jb);font-size:9px;letter-spacing:2.2px;text-transform:uppercase;color:var(--teal);margin-bottom:11px;display:block}
ul.plain{list-style:none;margin:0 0 15px}
ul.plain li{color:var(--dim);margin-bottom:11px;padding-left:20px;position:relative;max-width:66ch}
ul.plain li:before{content:"";position:absolute;left:0;top:11px;width:7px;height:1px;background:var(--teal)}
ul.plain li strong{color:var(--txt);font-weight:500}

.bridge{padding:84px 0;border-bottom:1px solid var(--rule)}
.bridge h2{max-width:19ch}
.btn{display:inline-flex;align-items:center;gap:11px;background:var(--teal);color:var(--bg);border:1px solid var(--teal);font-family:var(--sg);font-weight:600;font-size:11.5px;letter-spacing:1.9px;text-transform:uppercase;padding:17px 30px;text-decoration:none;border-radius:2px;transition:.2s;margin-top:12px}
.btn .arw{width:15px;height:1px;background:var(--bg);transition:.2s}
.btn:hover{background:transparent;color:var(--teal)}
.btn:hover .arw{width:24px;background:var(--teal)}

footer{padding:52px 0 62px}
ol.refs{list-style:none;counter-reset:r;margin-bottom:34px;column-count:2;column-gap:48px}
ol.refs li{counter-increment:r;font-size:12px;color:var(--dim);line-height:1.72;margin-bottom:13px;padding-left:28px;position:relative;break-inside:avoid}
ol.refs li:before{content:counter(r);position:absolute;left:0;top:1px;font-family:var(--jb);font-size:9px;color:var(--teal)}
ol.refs a{color:var(--dim);text-decoration:none;border-bottom:1px solid var(--rule2)}
ol.refs a:hover{color:var(--teal);border-color:var(--teal)}
.disc{font-size:11.5px;color:var(--faint);line-height:1.85;max-width:92ch;margin-top:14px}
.legal summary{font-family:var(--jb);font-size:9px;letter-spacing:1.8px;text-transform:uppercase;color:var(--faint);cursor:pointer;list-style:none}
.legal summary::-webkit-details-marker{display:none}
.legal summary:before{content:"+ ";color:var(--teal)}
.legal[open] summary:before{content:"- "}
.legal summary:hover{color:var(--txt)}

@media(max-width:1080px){
  .cols{grid-template-columns:1fr;gap:0}
  .infobox{margin-bottom:44px}
  .left{padding:52px 0;border-right:none;border-bottom:1px solid var(--rule)}
  .right{padding:52px 0 0}
  .wrap{padding:0 22px}
  .pstep{grid-template-columns:1fr;gap:11px}
  .duo{grid-template-columns:1fr}
  ol.refs{column-count:1}
}
@media(max-width:430px){
  .crumb{display:none}
  .siglab{width:82px;font-size:8.5px;letter-spacing:1.2px}
  .sigrow{gap:10px}
  /* 22 Aug 2026: this was a hand-computed calc() and it under-subtracted by ~10px,
     so every compound page overflowed its viewport by exactly that at <=430px.
     Replaced with flex, which needs no arithmetic and cannot drift. */
  .bars{flex:1 1 auto;min-width:0}
  .bars i{flex:1 1 0;width:auto;min-width:12px;height:10px}
  .sigval{flex:0 0 auto}
  /* 22 Aug 2026: .eb span is nowrap, and the longest section label on a page
     (the bridge heading) is wider than a 360px viewport. Every compound page
     overflowed by the difference. Let the label wrap below 430px. */
  .eb span{white-space:normal}
  .res{max-width:none;flex:1 1 0;min-width:0;padding:5px 0 3px}
  .res s{display:none}
  .res b{font-size:11px}
  table.ib td:first-child{width:88px;font-size:8px}
  table.spec td:first-child{width:92px}
  table.cmp td:first-child{width:90px}
  .secnav{gap:18px}
  .sighead{flex-direction:column;gap:5px}
}
@media print{canvas#field{display:none}body{background:#fff;color:#111}}

/* --- pathway connectors, 12 Aug. The diagram had no visual sequence. --- */
/* NOTE: .pstep is display:grid, so pseudo-elements on IT become grid items and
   reorder the columns. These live on .pnode, which is a grid item, not a container. */
.pnode{position:relative}
/* stub from the node into the gap, then the spine down to the next node */
.pnode::after{content:"";position:absolute;left:100%;top:50%;width:20px;height:1px;
  background:rgba(76,111,255,.35)}
.pnode::before{content:"";position:absolute;left:calc(100% + 10px);top:50%;
  height:calc(100% + 34px);width:1px;background:rgba(76,111,255,.18)}
.pstep:last-child .pnode::before{display:none}
.pnode.warn::after{background:rgba(245,181,68,.35)}
@media(max-width:1080px){.pnode::after,.pnode::before{display:none}}

/* --- Signature bars fill on scroll, 12 Aug --- */
.bars i{transform-origin:left center;transform:scaleX(1)}
.sig.armed .bars i{transform:scaleX(0)}
.sig.armed.in .bars i{transform:scaleX(1);
  transition:transform .55s cubic-bezier(.22,1,.36,1)}
.sig.armed.in .sigrow:nth-child(1) .bars i{transition-delay:.00s}
.sig.armed.in .sigrow:nth-child(2) .bars i{transition-delay:.07s}
.sig.armed.in .sigrow:nth-child(3) .bars i{transition-delay:.14s}
.sig.armed.in .sigrow:nth-child(4) .bars i{transition-delay:.21s}
.sig.armed.in .sigrow:nth-child(5) .bars i{transition-delay:.28s}
.sig.armed.in .sigrow:nth-child(6) .bars i{transition-delay:.35s}
@media(prefers-reduced-motion:reduce){
  .sig.armed .bars i,.sig.armed.in .bars i{transform:scaleX(1);transition:none}
}

/* --- section reveals, ported from the landing page 12 Aug.
   Library pages had zero IntersectionObserver; the landing page had three. --- */
.left>section{opacity:1;transform:none}
.left>section.rvq{opacity:0;transform:translateY(14px)}
.left>section.rvq.seen{opacity:1;transform:none;
  transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1)}
@media(prefers-reduced-motion:reduce){
  .left>section.rvq,.left>section.rvq.seen{opacity:1;transform:none;transition:none}
}

/* --- component pass, 12 Aug --------------------------------------------- */
/* .inset is the most-used block on a compound page and was
   a flat box identical to every other box. A coloured left rule separates it
   from body copy far better than a full border does. */
.inset{border-left:2px solid rgba(76,111,255,.55);
  border-top-color:rgba(255,255,255,.04);border-right-color:rgba(255,255,255,.04);
  border-bottom-color:rgba(255,255,255,.04)}
.inset.warn{border-left-color:rgba(245,181,68,.6)}
/* structures link out to PubChem and gave no affordance that they were clickable */
.ibstruct img{transition:opacity .3s,transform .3s}
.ibstruct:hover img{opacity:.82;transform:scale(1.015)}
.ibstruct a.structlink{transition:color .25s}
.ibstruct:hover a.structlink{color:var(--teal)}
/* the evidence ladder sits right under the section heading, so give it room */
.ladder{margin-top:18px}

/* --- 22 Aug 2026: wide tables scroll inside themselves rather than pushing the page.
   A four-column table.cmp has a min-content width larger than a phone viewport, and
   because .left is a 1fr grid track that widened the whole column and overflowed the
   document. Found by rendering at 320-430px, not by any static check. --- */
@media(max-width:700px){
  table.cmp{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  table.cmp td:first-child{width:auto;min-width:96px}
}

/* --- 22 Aug 2026: grid blow-out guard.
   `1fr` means minmax(auto,1fr), so ANY descendant with a large min-content widens
   the whole track and pushes the document sideways. That is how a four-column table
   and a nowrap chip each managed to overflow a phone viewport by 100px. minmax(0,1fr)
   plus min-width:0 contains the problem inside the element that has it. --- */
.cols{grid-template-columns:minmax(0,1fr) 386px}
.left,.right{min-width:0}
@media(max-width:1080px){.cols{grid-template-columns:minmax(0,1fr)}}
/* .chip in compound.css is the pill filter and carries white-space:nowrap. The title
   chips on a compound page share the class name and must be allowed to wrap. */
.chips .chip{white-space:normal}

/* hatnote — the correction banner, taken verbatim from the Adipotide page */
.hatnote{border-left:2px solid var(--rule2);padding:10px 0 10px 16px;margin:0 0 26px;
  font-size:13.5px;color:var(--dim)}
.hatnote b{color:var(--txt);font-weight:500}

/* === Library v2 layer, 6 Nov 2026 ==========================================
   Brings the compound pages onto DESIGN.md v2 (4 Nov) without touching a word
   of content. The rules above are the v1 page; this block overrides them, so
   the history stays readable and the change is one block to review or revert.
   Faults it fixes, by name (DESIGN.md "Critique checklist" + Hallmark floor):
     F1 labels in tracked capitals, set in mono at 7 to 9.5px (v2: nothing
        under 12px, labels are Inter in sentence case, mono only for data)
     F2 a glow on the h1 (v2: no glows) and a halo on a reading page (v2: the
        halo is for the landing hero and the library home only)
     F3 body copy at 15px (v2 body is 16px)
     F4 an uppercase, tracked button (v2: pill, sentence case, 48px on touch)
     F5 the section nav gives no sign of where you are on a long page
   Motion stays transform/opacity only; compound.css switches every transition
   and animation off under prefers-reduced-motion. */
html,body{overflow-x:clip}
body{font-size:16px;line-height:1.65}
p{font-size:16px}
h1{text-shadow:none;letter-spacing:-.03em;overflow-wrap:anywhere}
h2{letter-spacing:-.025em}
h3{font-size:18px;letter-spacing:-.01em;text-transform:none}


/* F1: labels. Inter, a step down, sentence case, untracked. */
.secnav a,.crumb,.eb span,.chip,.ibhead,.structlink,.ibcap,table.ib td:first-child,
.platecap,.duo figcaption,.key,.rung,.siglab,.legend,table.spec td:first-child,
table.cmp th,table.cmp td:first-child,.inset .k,.legal summary,.alias,.worth,.pnode,
.cur button,.ledger .ldk,.sighead{
  font-family:var(--in);letter-spacing:0;text-transform:none}
.secnav a{font-size:13.5px}
.crumb{font-size:13px}
.eb span{font-size:13px;color:var(--faint)}
.chip{font-size:13px;padding:5px 12px}
.alias{font-size:13px;line-height:1.6}
.ibhead{font-size:13px}
.structlink{font-size:12px}
.ibcap,.platecap,.duo figcaption{font-size:12.5px;line-height:1.6}
table.ib td{font-size:13.5px}
table.ib td:first-child{font-size:12.5px;width:112px}
.key{font-size:12px}
.rung{font-size:12.5px}
.sighead{font-size:13px;font-weight:500}
.siglab{font-size:13px}
.legend{font-size:12.5px;line-height:1.7}
table.spec td:first-child,table.cmp td:first-child{font-size:12.5px}
table.cmp th{font-size:12.5px}
table.cmp{font-size:14px}
.inset .k{font-size:13.5px;font-weight:500}
.legal summary{font-size:13px}
.pnode{font-size:12.5px;font-weight:500}
.cur button{font-size:12.5px;border-radius:var(--r-pill);padding:6px 12px}
.pdesc{font-size:15px}
/* data keeps mono, at 12px or more */
.reviewed{font-size:12px;letter-spacing:.02em;text-transform:none}
.mono{font-size:12.5px}
.sigval{font-size:12px}
sup a{font-size:12px}
sup+sup::before{font-size:12px}
ol.refs li{font-size:13px;overflow-wrap:anywhere}
.ledger .lrow p,.lxpn b{overflow-wrap:break-word;min-width:0}
ol.refs li:before{font-size:12px}
.disc{font-size:12.5px}
.worth{font-size:13.5px;font-weight:500;padding:8px 16px}
@media(max-width:430px){
  .siglab{width:84px;font-size:12px}
  table.ib td:first-child{width:92px;font-size:12px}
}

/* The ledger: a signed list. The sign carries the state, the label names it. */
.ledger .lrow{display:flex;flex-direction:row;gap:14px;padding:15px 0}
@media(max-width:560px){.ledger .lrow{flex-direction:column;gap:6px}.ledger .ldk{flex:none}}
.ledger .ldk{font-size:13px;font-weight:500;flex:0 0 116px;padding-top:2px}
.ledger .lfor .ldk{color:var(--yes-t)}
.ledger .lagainst .ldk{color:var(--no-t)}
.ledger .lopen .ldk{color:var(--dep-t)}
.ledger .ldk::before{font-family:var(--jb);display:inline-block;width:1.4em}
.ledger .lfor .ldk::before{content:'+'}
.ledger .lagainst .ldk::before{content:'\2212'}
.ledger .lopen .ldk::before{content:'?'}
.ledger .lrow p{font-size:15.5px}

/* F4: the bridge button */
.btn{font-family:var(--in);font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;
  border-radius:var(--r-pill);padding:14px 26px;min-height:48px}
.btn:focus-visible{outline:2px solid var(--teal);outline-offset:3px}

/* F5: where you are. The current section's link turns to ink; a hairline under
   the nav fills with the page. Both are progressive: no JS, or no support for
   scroll timelines, and the nav is the v1 nav. */
.secnav a[aria-current="true"]{color:var(--txt);border-color:var(--dim)}
.navwrap .lxprog{position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--dim);
  transform-origin:0 50%;transform:scaleX(0);opacity:0;pointer-events:none}
@supports (animation-timeline:scroll()){
  @media(prefers-reduced-motion:no-preference){
    .navwrap .lxprog{opacity:.7;animation:lxprog linear both;animation-timeline:scroll(root)}
  }
}
@keyframes lxprog{to{transform:scaleX(1)}}

/* Previous / next within the goal. Two links, side by side; on a phone, stacked. */
.lxpn{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:44px 0;border-bottom:1px solid var(--rule)}
.lxpn a{display:block;padding:18px 20px;border:1px solid var(--rule2);border-radius:var(--r);background:var(--surf);
  text-decoration:none;transition:border-color .2s,transform .2s}
.lxpn a:hover{border-color:var(--faint);transform:translateY(-1px)}
.lxpn a:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.lxpn .lxprev{text-align:left}
.lxpn .lxnext{text-align:right}
.lxpn small{display:block;font-size:13px;color:var(--faint);margin-bottom:4px}
.lxpn b{font-family:var(--sg);font-weight:600;font-size:19px;color:var(--txt);letter-spacing:-.01em}
@media(max-width:600px){.lxpn{grid-template-columns:minmax(0,1fr)}.lxpn .lxnext{text-align:left}}

/* The research timeline: one mark per dated paper in the source list, on a
   year axis. Derived at build time from the references themselves. */
.lxspan{margin:4px 0 30px;max-width:720px}
.lxspan p{font-size:14px;color:var(--dim);margin-bottom:12px}
.lxaxis{position:relative;height:30px;border-bottom:1px solid var(--rule2)}
.lxaxis i{position:absolute;bottom:0;width:2px;height:16px;margin-left:-1px;background:var(--dim);border-radius:1px}
.lxaxis i.lx2{height:22px}.lxaxis i.lx3{height:28px}
.lxyrs{display:flex;justify-content:space-between;font-family:var(--jb);font-size:12px;color:var(--faint);margin-top:6px}

/* The library footer's markup is shared with the homepage builder (build_landing.py
   reads it), so it is restyled here, on library pages only, not rewritten. */
[data-libfoot] p[style*="JetBrains"]{font-family:var(--in)!important;font-size:13px!important;
  letter-spacing:0!important;text-transform:none!important}

/* Page-level widgets that restate a label in tracked mono caps (their rules sit in
   each page's extracss, which loads after this block, hence the .wrap prefix). */
.wrap .absent .k,.wrap .watch .k,.wrap .ladder .rung,.wrap .pricetab span,.wrap .tcap,
.wrap .qtop span,.wrap .pklab span,.wrap .rvq>p,.wrap table th,.wrap .panel>div:first-child{
  font-family:var(--in);letter-spacing:0;text-transform:none}
.wrap .absent .k,.wrap .watch .k{font-size:13.5px;font-weight:500}
.wrap .ladder .rung,.wrap .pricetab span,.wrap .tcap,.wrap .qtop span,.wrap .pklab span,
.wrap .rvq>p,.wrap table th,.wrap .panel>div:first-child{font-size:12.5px}
.wrap .pkscale span{font-size:12px;text-transform:none;letter-spacing:0}

/* Explainer loops (HyperFrames renders, sources in _tools/_src/explainers/). The
   poster is the finished frame, so with no JS or reduced motion the figure still
   explains; a script plays it only while it is on screen and motion is welcome. */
.lxvid{margin:26px 0 30px;max-width:520px}
.lxvid video{display:block;width:100%;height:auto;aspect-ratio:1/1;border:1px solid var(--rule2);border-radius:var(--r);background:var(--bg)}
.lxvid figcaption{font-size:13px;color:var(--faint);line-height:1.6;margin-top:10px;max-width:66ch}

/* Captions and keys written with inline styles on individual pages: same rule,
   reached by attribute, since an inline style only yields to !important. */
.left [style*="text-transform:uppercase"],.right [style*="text-transform:uppercase"]{
  font-family:var(--in)!important;font-size:12.5px!important;letter-spacing:0!important;text-transform:none!important}
.wrap td.mono,.wrap .mono span{font-size:12px}
.wrap table th.on{font-family:var(--in);font-size:12.5px;letter-spacing:0;text-transform:none}
.wrap table.dose td:first-child,.wrap table.dose th{font-family:var(--in);font-size:12.5px;letter-spacing:0;text-transform:none}
/* Phone pass (6 Nov 2026). compound.css gives every section 64px of padding top
   and bottom, and the shell adds a 60px margin, so on a phone sections sat about
   190px apart. The stacked ledger also kept its desktop label width, which turns
   into a label HEIGHT once the row stacks. */
@media(max-width:700px){
  .left>section{padding:28px 0;margin-bottom:8px}
  .eb{margin-bottom:22px}
  .titleblock{padding-bottom:28px}
  .lxpn{padding:28px 0}
  .bridge{padding:52px 0}
}
@media(max-width:560px){
  .ledger .lrow{flex-direction:column;gap:4px}
  .ledger .ldk{flex:none;padding-top:0;width:auto}
}
/* F6: the lede was a synthesised oblique (Space Grotesk ships no italic), set
   up to 25px. Roman, and a size that holds a five-line lede. */
.gist p{font-style:normal;font-size:clamp(18px,1.9vw,22px);letter-spacing:-.01em;line-height:1.45}
/* The title block and the ledger each drew a rule: one rule between them, not two. */
.titleblock{padding-bottom:36px;margin-bottom:0}
.titleblock+.ledger{border-top:none;margin:0 0 30px}
.titleblock+.ledger+*,.titleblock+.ledger+section{margin-top:44px}

/* index entries only */
.ix{min-width:0}
.nc{color:var(--faint)}
table.ib{table-layout:fixed}
table.ib td{overflow-wrap:anywhere}
