/* Record stylesheet (plan §4.11), ported from the accepted design (design-preview/, operator 2026-11-04 "Design
   accepted") with its three changes: one filled navy badge for Passed and Failed alike (no red, blue or study colours),
   no link back to the campaign site's home in the masthead (the Worker adds the referrer back link), and share-card figures without the stray space before commas.
   Ink and navy only, no claret, no motion, light scheme only. One file, no inline styles, no generated text.
   The build fills the colour and font tokens from the vendored theme (src/tokens/map.json; errata E-39) and the font
   URLs with fingerprinted names under the record's asset path. No colour is written here by hand. */
@font-face{font-family:'Alegreya';font-style:normal;font-weight:400 700;font-display:optional;src:url('/bonds/_assets/font-display.34d902fd33.woff2') format('woff2')}
@font-face{font-family:'Alegreya Sans';font-style:normal;font-weight:400;font-display:optional;src:url('/bonds/_assets/font-text.624ea7e85a.woff2') format('woff2')}
@font-face{font-family:'Spline Sans Mono';font-style:normal;font-weight:400 500;font-display:optional;src:url('/bonds/_assets/font-mono.2b193a4f0f.woff2') format('woff2')}
:root {
  color-scheme: light;
  /* theme tokens, generated (src/tokens) */ --paper: #FFFFFF; --desk: #F1F3F7; --ink: #00205B; --ink-2: #223E71; --ink-3: #485F8A; --rule: #7D8EAC; --wash: rgba(0, 32, 91, 0.08); --focus: #223E71; --display: 'Alegreya', Georgia, serif; --body: 'Alegreya Sans', Arial, sans-serif; --mono: 'Spline Sans Mono', ui-monospace, monospace;
  --pad: clamp(16px, 5vw, 70px);
  --sheet-max: 1120px;
}
*{box-sizing:border-box}
html{background:var(--desk);color:var(--ink);font:18px/1.45 var(--body);font-variant-numeric:lining-nums;-webkit-text-size-adjust:100%}
body{margin:0}
a{color:inherit;text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
a,summary{min-height:24px}
a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.skip{position:absolute;left:-9999px;top:8px;background:var(--paper);padding:8px;border:2px solid var(--ink)}
.skip:focus{left:8px;z-index:4}
.preview{margin:0;padding:8px 16px;background:var(--ink);color:var(--paper);font:.8rem var(--mono);text-align:center;max-width:none}
.sheet{max-width:calc(var(--sheet-max) + 120px);margin:0 auto;background:var(--paper);min-height:100vh}
.rh,main,.crumbs,.about,.fdir,.fpub{padding-inline:var(--pad)}
h1,h2,h3,p,dl{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:500}
p{max-width:76ch;margin-bottom:8px}
li,dd{max-width:76ch}
ul{padding-left:1.2em;margin:0 0 12px}
li{margin-bottom:3px}
code{font:.82rem var(--mono)}

/* masthead: the record name, the navigation, then the byline (operator 2026-11-04, default R4). The record Worker may
   insert a .backlink paragraph just before the record name (default R6); it stays small and quiet. */
.rh{border-top:4px solid var(--ink);padding-top:16px}
.mast{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;border-bottom:1px solid var(--rule);padding-bottom:10px}
.mw{display:flex;flex-direction:column}
.mast-name{font:500 1.45rem/1.2 var(--display);letter-spacing:-.025em;text-decoration:none}
.mast nav{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:.94rem}
.mast nav a{display:inline-flex;align-items:center}
.mast nav [aria-current]{text-decoration-thickness:2px}
.backlink{margin:0 0 2px;font-size:.8rem;line-height:1.3}
.backlink a{display:inline-flex;align-items:center;gap:4px;color:var(--ink-2);text-decoration:none}
.backlink a:hover{text-decoration:underline}
.byline{font-size:.75rem;line-height:1.55;color:var(--ink-3);margin:4px 0 0;max-width:none}
.crumbs{padding-top:10px;font-size:.8rem;color:var(--ink-2)}
.crumbs ol{display:flex;flex-wrap:wrap;gap:2px 0;list-style:none;padding:0;margin:0}
.crumbs li{margin:0}
.crumbs .sep{padding:0 7px}
.crumbs a{display:inline-block}
.crumbs [aria-current]{text-decoration:none}

/* page head */
main{padding-top:clamp(22px,3.2vw,48px);padding-bottom:36px}
.kicker{display:flex;align-items:center;gap:.7rem;font:500 .75rem/1.4 var(--mono);letter-spacing:.07em;text-transform:uppercase;color:var(--ink-3);max-width:none}
.kicker::before{content:"";flex:none;width:2.3rem;height:2px;background:var(--ink)}
h1{font-size:clamp(2.5rem,4.9vw,4.25rem);line-height:1.04;letter-spacing:-.035em;max-width:20ch;margin:9px 0 12px}
h2{font-size:1.7rem;line-height:1.12;margin-bottom:12px}
h3{font-size:1.25rem;margin:16px 0 8px}
.sub{font-size:.95rem;color:var(--ink-2);margin-bottom:14px}
.coverage{border-left:2px solid var(--rule);padding-left:12px;margin:0 0 20px;max-width:87ch;font-size:.75rem;line-height:1.55;color:var(--ink-3)}
.lead{font:400 clamp(1.13rem,2vw,1.45rem)/1.35 var(--display);max-width:60ch;color:var(--ink-2)}
.note,.dns,.cite,.fine{font-size:.88rem;color:var(--ink-2);overflow-wrap:anywhere}
.notice{font:.8rem var(--mono)}
section{border-top:1px solid var(--rule);padding-top:16px;margin-top:26px}
section.sub,section.finder,section.az{border-top:0;padding-top:0;margin-top:18px;font-size:inherit;color:inherit}
main>section[id],tr[id],tbody[id]{scroll-margin-top:30px}

/* fact sentences, as a reading note: heading beside the sentences, then the cite line and T-08 */
.facts,.sides{display:flow-root;background:var(--desk);padding:20px clamp(16px,2.5vw,32px);margin:16px 0 28px;border:0}
.facts>*,.sides>*{margin-left:calc(25% + 38px)}
.facts>h2,.sides>h2{float:left;width:25%;margin:0;font-size:1.35rem}
.facts .m p:first-child{font-size:1.06rem}
.facts .m p{max-width:70ch}
.facts>p:last-child,.sides p:last-child{margin-bottom:0}

/* the campaign card (operator 2026-11-04; default R8): two equal navy buttons */
.btns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 12px}
.btns a{display:flex;flex-direction:column;gap:2px;background:var(--ink);color:var(--paper);padding:14px 18px;text-decoration:none;font:600 1.05rem var(--body)}
.btns span{font:500 .75rem var(--mono);letter-spacing:.06em;text-transform:uppercase}
.btns a:hover{background:var(--ink-2)}

/* home finders: two equal blocks */
.finders{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:14px;margin:15px 0}
/* .finders .finder outranks the section reset above (section.finder: no top border, no top padding), which had
   removed the box's navy top rule and its top padding (2026-11-05). */
.finders .finder{background:var(--desk);border-top:3px solid var(--ink);margin:0;padding:20px}
.finder h2{font-size:1.35rem}
.chips,.letters ul{display:flex;flex-wrap:wrap;gap:2px 12px;list-style:none;padding:0;margin:0 0 8px}
.chips li,.letters li{margin:0}
.chips a,.links a,.letters a,.cols a,.foot a{display:inline-block;min-height:24px}
.links,.cols{columns:3 14rem;column-gap:24px}
.cols{list-style:none;padding-left:0}
.links li,.cols li{break-inside:avoid}
.cols data{font:.75rem var(--mono);color:var(--ink-3)}
.letters{border-block:1px solid var(--rule);padding-block:8px}
.letters a{font:500 1rem var(--mono);padding:6px}

/* key figures */
.kf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;background:var(--desk);padding:16px;margin:0 0 12px}
.kf div{border-left:1px solid var(--rule);padding-left:10px}
.kf dt{font:.75rem var(--mono);color:var(--ink-3);padding-top:5px}
.kf dd{font:500 1.26rem var(--display);margin:2px 0}

/* "Large bonds, close votes" on the record home (preview 2026-11-05): a navy band, one total, a pass and a failure
   side by side. Tokens only; the result badge matches the table badge. */
.cb{background:var(--ink);color:var(--paper);padding:clamp(20px,3vw,36px) clamp(16px,2.5vw,32px);margin:6px 0 30px}
.cb h2{color:var(--paper);font-size:clamp(1.7rem,3.4vw,2.4rem);margin:0 0 10px}
.cb-total{font:400 clamp(1.08rem,1.8vw,1.32rem)/1.4 var(--display);max-width:60ch;margin:0 0 22px}
.cb-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cb-card{background:var(--paper);color:var(--ink);padding:20px clamp(16px,2vw,24px) 18px}
.cb-res{font:500 clamp(2rem,4vw,3rem)/1.1 var(--display);letter-spacing:-.02em;margin:0 0 14px}
.cb-res span{white-space:nowrap}
.cb-res b{display:inline-block;color:var(--paper);background:var(--ink);padding:0 .2em .06em;border-radius:4px;font:inherit;margin-right:.08em}
.cb-amt{font:600 clamp(1.45rem,2.9vw,1.9rem)/1.2 var(--display);margin:0 0 8px}
.cb-who{margin:0 0 12px;max-width:none}
.cb-votes{font:.84rem/1.4 var(--mono);color:var(--ink-2);margin:0}
.cb-note{font-size:.86rem;color:var(--desk);max-width:80ch;margin:18px 0 0}
.cb-note a{color:var(--paper);white-space:nowrap}
.cb-note a:focus-visible{outline-color:var(--paper)}
.cb-s{padding:clamp(16px,2.4vw,26px) clamp(14px,2.2vw,26px);margin:4px 0 26px}
.cb-s h2{font-size:clamp(1.35rem,2.4vw,1.7rem);margin-bottom:14px}
.cb-s .cb-res{font-size:clamp(1.7rem,3.2vw,2.35rem);margin-bottom:10px}
.cb-s .cb-amt{font-size:clamp(1.2rem,2.2vw,1.45rem)}
.cb-s .cb-note{margin-top:14px;font-size:.82rem}
.cb-none{display:flex;align-items:center}
.cb-none p{margin:0;color:var(--ink-2);font-size:.95rem;max-width:40ch}

/* tables: a focusable, labelled scroll region with a fixed first column */
.tbl{width:100%;max-width:100%;overflow:auto;margin-bottom:14px}
/* a scrollbar that is always drawn (2026-11-05): Mac browsers hide an overlay scrollbar until the reader scrolls, so a
   wide table looked cut off with no way in. Styling the WebKit scrollbar makes Chrome and Safari draw a classic one;
   Firefox follows the system setting and keeps the fade and the hint line. The hint line (.sh, written in the markup)
   sticks to the left edge while the table scrolls; browsers with scroll-state queries show it only while the table
   can still scroll to the right. */
.tbl::-webkit-scrollbar{height:12px}
.tbl::-webkit-scrollbar-track{background:var(--desk)}
.tbl::-webkit-scrollbar-thumb{background:var(--ink-3);border:3px solid var(--desk);border-radius:6px}
@supports not selector(::-webkit-scrollbar){.tbl{scrollbar-width:thin;scrollbar-color:var(--ink-3) var(--desk)}}
.sh{position:sticky;left:0;width:max-content;max-width:100%;margin:0;padding:6px 0 0;font-size:.84rem;color:var(--ink-2)}
@supports (container-type:scroll-state){
  .tbl{container-type:scroll-state}
  .sh{display:none}
  @container scroll-state(scrollable:right){.sh{display:block}}
}
table{border-collapse:separate;border-spacing:0;font-size:.9rem;width:100%}
caption{color:var(--ink-2);text-align:left;padding:4px 0 12px;caption-side:top}
th,td{text-align:left;vertical-align:top;border-bottom:1px solid var(--rule);padding:8px 11px}
thead th{background:var(--desk);font:500 .75rem var(--mono);border-block:1px solid var(--ink);white-space:nowrap}
tbody th{font-weight:400;min-width:9rem}
th:first-child{position:sticky;left:0;z-index:1;background:var(--paper)}
thead th:first-child{background:var(--desk)}
th.grp{position:static;font:500 1.05rem var(--display);background:var(--desk)}
td{white-space:nowrap}
td:has(data){font-family:var(--mono);font-variant-numeric:tabular-nums}
td:nth-last-child(-n+3):not(:has(data)){white-space:normal;min-width:11rem}
.tbl td:empty,.tbl td:last-child{min-width:0}
.tbl a{display:inline-block;padding-block:2px}
.cl{display:none}
/* one result badge, filled navy, for Passed and Failed alike; "Awaiting official results" keeps its dashed outline */
td>b{display:inline-block;color:var(--paper);background:var(--ink);padding:.15em .48em;border-radius:3px;line-height:1.3;font:600 .9rem var(--body)}
.await{display:inline-block;border:1px dashed var(--ink);padding:0 4px;white-space:normal;font-family:var(--body)}
td .note{font-family:var(--body);color:var(--ink-2)}

/* a shared row link: the row says "Linked result" (CSS :target, no script) */
.lk{display:none}
tr:target .lk{display:block;margin-top:2px;font:500 .75rem var(--mono)}
tr:target>*{background:var(--wash)}
tr:target>th:first-child{background:linear-gradient(var(--wash),var(--wash)) var(--paper);box-shadow:inset 4px 0 0 var(--ink)}
:target:not(tr){background:var(--wash)}
details{margin:5px 0}
summary{cursor:pointer;text-decoration:underline;text-underline-offset:.18em;padding-block:2px}
details p{margin:6px 0}
details.rc p{min-width:16rem;max-width:40ch;font-family:var(--body);overflow-wrap:anywhere;white-space:normal}
details.earlier{margin:8px 0 12px}
.corr{display:block;margin-top:4px;padding-left:8px;border-left:3px solid var(--ink);font-family:var(--body);white-space:normal}

/* share this page */
.share{background:var(--desk);padding:18px 22px;border:0;overflow-wrap:anywhere}
.share p{margin:0}

/* about this record, then the footer (design-preview mock-option-a) */
.about{background:var(--desk);padding-block:20px;margin-top:16px}
.about h2,.fpub h2,.fdir h2{font:600 .95rem/1.25 var(--body);margin:0 0 8px}
.about p,.fpub p{font-size:.75rem;line-height:1.55;color:var(--ink-2);margin:0 0 4px}
.foot{background:var(--desk)}
.fdir{background:var(--ink);color:var(--paper);padding-block:32px;display:grid;grid-template-columns:1fr 2fr;gap:clamp(24px,4vw,56px)}
.fdir a{color:var(--paper)}
.fdir a:focus-visible{outline:2px solid var(--focus);box-shadow:0 0 0 2px var(--paper)}
.fname{font:500 1.63rem/1.1 var(--display);text-decoration:none;max-width:15ch}
.fid p{max-width:30ch;margin:10px 0;font-size:.92rem}
.fdir nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fdir ul{list-style:none;padding:0;margin:0}
.fdir li{margin:1px 0}
.fdir nav a{font-size:.9rem;text-decoration:none;line-height:1.3;padding-block:3px}
.fdir a:hover,.fdir [aria-current]{text-decoration:underline}
.fpub{padding-block:20px 32px}
.fpub .foot-strong{font-weight:600;color:var(--ink)}
.fpub .fine{max-width:none;margin-top:12px;border-top:1px solid var(--rule);padding-top:12px}

@media (max-width:800px){
  .fdir{grid-template-columns:1fr}
  .fid p,.fname{max-width:none}
}
@media (max-width:760px){
  .kf{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mast nav{gap:6px 13px}
  .mast nav a{min-height:30px}
}
@media (max-width:720px){
  .facts>*,.sides>*{margin-left:0}
  .facts>h2,.sides>h2{float:none;width:auto;margin-bottom:8px}
}
@media (max-width:600px){
  html{font-size:16px}
  .rh{padding-top:10px}
  .mast{gap:2px}
  main{padding-top:1.15rem}
  h1{font-size:clamp(2.2rem,9vw,2.65rem)}
  .finders,.btns{grid-template-columns:1fr;gap:8px}
  .cb-pair{grid-template-columns:1fr}
  .finders .finder{padding:12px}
  .links,.cols{columns:1}
  .fdir{padding-block:24px;gap:22px}
  .fdir nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .fdir nav a{padding-block:4px}
  /* stacked rows with repeated labels (the design's default phone table) */
  .stk table,.stk tbody,.stk tr,.stk caption{display:block;width:100%}
  .stk thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
  .stk tr{border-bottom:1px solid var(--rule);padding:.55rem 0}
  .stk th,.stk td{display:block;position:static;border:0;min-width:0;white-space:normal;overflow-wrap:anywhere}
  .stk th{padding:4px 8px}
  .stk td{position:relative;padding:3px 8px 3px 42%}
  .stk td:empty{display:none}
  .stk td.src{padding-left:8px}
  .stk .cl{display:block;position:absolute;left:8px;width:38%;font:.84rem/1.28 var(--body);color:var(--ink-2)}
  .stk details.rc p{min-width:0}
  .stk tr:target{outline:2px solid var(--focus);outline-offset:-2px}
  .stk tr:target>th:first-child{box-shadow:none}
  .stk .sh{display:none}
}
@media screen{
  .tbl{background:linear-gradient(to left,var(--paper) 35%,transparent) right center/36px 100% local no-repeat,linear-gradient(to left,var(--wash),transparent) right center/14px 100% scroll no-repeat}
}
@media (forced-colors:active){
  td>b,.await{border:1px solid CanvasText}
  tr:target>*{outline:2px solid Highlight}
  .finder,.about,.facts,.sides,.kf,.cb,.cb-card{border:1px solid CanvasText}
}
/* print: the record, its operator line (T-01, in the footer's publisher block) and "About this record" always print */
@media print{
  html,body,.sheet{background:var(--paper);font-size:11pt}
  .sheet{max-width:none}
  .rh,main,.crumbs,.about,.fpub{padding-inline:0}
  .skip,.crumbs,.preview,.mast nav,.fdir,.sides,.share,.sh{display:none}
  .about,.fpub,.foot{display:block;background:var(--paper)}
  .tbl{overflow:visible;background:none}
  th:first-child{position:static}
  th,td{padding:3px}
  tr{break-inside:avoid}
  td>b{color:var(--ink);background:none;border:1px solid var(--ink)}
  .facts,.kf,.finder{background:none;border:1px solid var(--rule)}
  .cb,.cb-card{background:none;color:var(--ink);border:1px solid var(--rule)}
  .cb h2,.cb-note,.cb-note a{color:var(--ink)}
  a{text-decoration:none}
}
