/* safepayee.org. Ported from the validated demo (v9): a clearing-house record.
   White paper, ruled lines, references in mono, one deep "verified" green for
   the brand, soft tinted pills for the types of source and the statuses.
   Light only.

   Fonts are self-hosted (scripts/fonts.mjs copies them from npm). Never Google
   Fonts, never a hotlink. */
@font-face{font-family:"Source Serif 4";src:url(/assets/fonts/source-serif-4-normal.woff2) format("woff2");font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url(/assets/fonts/source-serif-4-italic.woff2) format("woff2");font-weight:200 900;font-style:italic;font-display:swap}
@font-face{font-family:"Public Sans";src:url(/assets/fonts/public-sans-normal.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Public Sans";src:url(/assets/fonts/public-sans-italic.woff2) format("woff2");font-weight:100 900;font-style:italic;font-display:swap}
:root{
  --paper:#FFFFFF;
  --wash:#F3F6F5;
  --ink:#0E1A24;
  --muted:#56636D;
  --rule:#E1E7E5;
  --accent:#0A6B52;
  --accent-deep:#064A39;
  --accent-soft:#E2F1EB;
  --alert-soft:#FBE8E2; --alert-ink:#9C3519;
  --rule-soft:#E4ECF8;  --rule-ink:#22508C;
  --court-soft:#EEE8F7; --court-ink:#583A8A;
  --guide-soft:#FAF0D9; --guide-ink:#7F5300;
  --display:"Source Serif 4",Charter,"Iowan Old Style",Georgia,serif;
  --body:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --wrap:1180px;
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{margin:0}
html{scroll-padding-top:96px}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
.skip{position:absolute;left:12px;top:-60px;z-index:50;background:var(--ink);color:#fff;padding:10px 14px;border-radius:8px;font-weight:600}
.skip:focus{top:12px}
body{background:var(--paper);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--display);font-weight:700;letter-spacing:-.01em;text-wrap:balance;margin:0}
p{margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.mono{font-family:var(--mono);font-size:.78rem;letter-spacing:.02em}
.label{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.prose-link{color:var(--accent);background:var(--accent-soft);padding:0 .2em;border-radius:3px}
.prose-link:hover{background:#cfe8de}

/* Pills: soft tint of a hue with the deep version of the same hue */
.pill{display:inline-flex;align-items:center;gap:6px;font-family:var(--mono);font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;padding:3px 9px;border-radius:999px;white-space:nowrap;background:var(--pbg,#ECEFF1);color:var(--pfg,#3E4C57)}
.pill.alert{background:var(--alert-soft);color:var(--alert-ink)}
.pill.rule{background:var(--rule-soft);color:var(--rule-ink)}
.pill.court{background:var(--court-soft);color:var(--court-ink)}
.pill.guide{background:var(--guide-soft);color:var(--guide-ink)}
.pill.ok{background:var(--accent-soft);color:var(--accent-deep)}

/* Header */
.bar{border-bottom:1px solid var(--rule);background:var(--paper);position:sticky;top:0;z-index:20}
.bar .wrap{display:flex;align-items:center;gap:28px;height:72px}
.brand{display:flex;align-items:center;gap:8px}
.brand svg{width:24px;height:24px;flex:none}
.brand-name{font-family:var(--display);font-weight:700;font-size:1.32rem;letter-spacing:-.01em}
.byline-brand{font-size:.82rem;color:var(--muted);display:inline-flex;align-items:center;gap:4px;padding-left:12px;border-left:1px solid var(--rule)}
.byline-brand a{color:var(--ink);font-weight:600;display:inline-flex;align-items:center;gap:3px}
.byline-brand a:hover{color:var(--accent)}
.byline-brand svg{width:11px;height:11px}
.nav{display:flex;gap:4px;margin-left:auto;align-items:center}
.nav a{font-size:.94rem;padding:8px 12px;border-radius:8px;color:var(--muted)}
.nav a:hover{color:var(--ink);background:var(--wash)}
.nav a.on{color:var(--ink);font-weight:600}
.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--body);font-weight:600;font-size:.94rem;padding:10px 16px;border-radius:10px;border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer}
.btn:hover{background:var(--accent-deep);border-color:var(--accent-deep)}
.btn.ghost{background:transparent;color:var(--accent)}
.btn.ghost:hover{background:var(--accent-soft)}
.btn svg{width:15px;height:15px}
.menu-btn{display:none;margin-left:auto;background:none;border:1px solid var(--rule);border-radius:8px;width:42px;height:42px;cursor:pointer;color:var(--ink)}
.menu-btn svg{width:20px;height:20px}
.mobile-nav{display:none;border-bottom:1px solid var(--rule);padding:8px 24px 18px}
.mobile-nav a{display:block;padding:12px 0;border-bottom:1px solid var(--rule);font-weight:600}
.mobile-nav.open{display:block}

/* Dateline strip */
.dateline{border-bottom:1px solid var(--rule);background:var(--wash)}
.dateline .wrap{display:flex;gap:22px;align-items:center;height:38px;font-size:.8rem;color:var(--muted);overflow:hidden;white-space:nowrap}
.dateline strong{color:var(--ink);font-weight:600}
.dot{width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block}

/* Sections */
main{min-height:60vh}
.section{padding:56px 0}
.section + .section{border-top:1px solid var(--rule)}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap}
.sec-head h2{font-size:1.7rem}
.sec-head a{font-size:.9rem;color:var(--accent);font-weight:600;display:inline-flex;align-items:center;gap:6px}
.sec-head a svg{width:14px;height:14px}

/* Home lead */
.lead{display:grid;grid-template-columns:1.55fr 1fr;gap:44px;padding:44px 0 56px}

.standfirst{font-family:var(--display);font-size:1.2rem;line-height:1.5;color:#2A3843}
.meta{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;font-size:.84rem;color:var(--muted)}
.meta .sep{width:3px;height:3px;border-radius:50%;background:var(--muted)}
.latest{border-left:1px solid var(--rule);padding-left:32px;display:grid;align-content:start;gap:4px}
.latest h2{font-size:1.15rem;margin-bottom:10px;display:flex;align-items:center;gap:10px}

/* Checklist tool */
.checker{display:grid;grid-template-columns:1fr 1.25fr;gap:44px;align-items:start}
.checker-intro{display:grid;gap:16px}
.checker-intro h2{font-size:2rem;line-height:1.15}
.checker-intro p{color:#33434F}
.checklist{border:1px solid var(--rule);border-radius:16px;overflow:hidden}
.checklist-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:var(--wash);border-bottom:1px solid var(--rule);gap:12px;flex-wrap:wrap}
.meter{height:6px;background:var(--rule);border-radius:99px;overflow:hidden;width:140px}
.meter i{display:block;height:100%;width:0;background:var(--accent);transition:width .25s}
.check{display:grid;grid-template-columns:auto 1fr;gap:14px;padding:16px 20px;border-bottom:1px solid var(--rule);cursor:pointer}
.check:last-child{border-bottom:0}
.check input{appearance:none;width:22px;height:22px;border:1.5px solid #9AA8A3;border-radius:6px;margin:3px 0 0;cursor:pointer;display:grid;place-content:center}
.check input:checked{background:var(--accent);border-color:var(--accent)}
.check input:checked::after{content:"";width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
.check strong{display:block;font-size:1rem}
.check span{color:var(--muted);font-size:.9rem;line-height:1.5}

/* Trades */

/* Rules in force */
.rules{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

/* Ecosystem */

/* Page heads */
.page-head{padding:48px 0 30px;border-bottom:1px solid var(--rule)}
.crumbs{font-size:.84rem;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.crumbs a:hover{color:var(--accent)}
.page-head h1{font-size:clamp(2.1rem,4vw,3.2rem);line-height:1.1;max-width:20ch}
.page-head .standfirst{margin-top:14px;max-width:62ch}

/* Briefs register */
.filters{display:flex;gap:8px;flex-wrap:wrap;padding:22px 0}
.chip{font-family:var(--body);font-size:.88rem;padding:7px 14px;border-radius:999px;border:1px solid var(--rule);background:var(--paper);color:var(--ink);cursor:pointer}
.chip:hover{border-color:#B9C6C1}
.chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.register{border-top:1px solid var(--ink)}

.empty{padding:30px 4px;color:var(--muted)}

.entry{display:grid;grid-template-columns:130px 110px 1fr 24px;gap:18px;align-items:center;padding:18px 4px;border-bottom:1px solid var(--rule)}
.entry:hover h3{color:var(--accent)}
.entry h3{font-family:var(--body);font-size:1.02rem;font-weight:600;line-height:1.4;letter-spacing:0}
.entry .src{font-size:.82rem;color:var(--muted);margin-top:3px}
.entry .go{width:16px;height:16px;color:var(--muted)}

.compare{width:100%;border-collapse:collapse;margin:8px 0 26px;font-size:.93rem}
.compare th{font-family:var(--mono);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);text-align:left;padding:10px 12px;border-bottom:1px solid var(--ink);font-weight:500}
.compare td{padding:12px;border-bottom:1px solid var(--rule);vertical-align:top}
.yes{color:var(--accent-deep);font-weight:600}
.no{color:var(--alert-ink);font-weight:600}
.gap{display:grid;grid-template-columns:1fr 1fr;gap:20px}

@media (max-width:640px){
  .entry{grid-template-columns:1fr 20px;gap:6px}
  
  .entry .go{grid-column:2;grid-row:1}
  .gap{grid-template-columns:1fr}
}

/* Article */
.article-wrap{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:64px;padding:40px 24px 64px}
.article-meta{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;font-size:.86rem;color:var(--muted);padding:18px 0;border-bottom:1px solid var(--rule);margin-bottom:30px}
.article-body{max-width:68ch}
.article-body h2{font-size:1.55rem;margin:40px 0 14px}
.article-body p{margin:0 0 18px;font-size:1.06rem;line-height:1.72;color:#1F2D38}
.article-body ul{margin:0 0 20px;padding-left:22px}
.article-body li{margin-bottom:10px;font-size:1.04rem;line-height:1.65;color:#1F2D38}

.disclosure{border:1px solid var(--rule);border-radius:12px;padding:16px 18px;font-size:.9rem;color:var(--muted);background:var(--wash);margin:30px 0 0}
.disclosure b{color:var(--ink)}
.aside{display:grid;gap:22px;align-content:start;position:sticky;top:96px}
.aside-box{border:1px solid var(--rule);border-radius:14px;padding:18px;display:grid;gap:10px}
.aside-box h3{font-size:1rem;font-family:var(--body);font-weight:700;letter-spacing:0}
.aside-box ol{margin:0;padding-left:18px;font-size:.9rem;color:#33434F;display:grid;gap:6px}
.aside-box p{font-size:.88rem;color:var(--muted)}

/* Cards */

.card{display:grid;gap:12px;align-content:start}

.card h3{font-size:1.18rem;line-height:1.3}
.card:hover h3{color:var(--accent)}
.card p{font-size:.92rem;color:var(--muted)}

/* Guide */
.steps{display:grid;gap:0;border-top:1px solid var(--ink);margin-top:10px}
.step{display:grid;grid-template-columns:80px 1fr;gap:20px;padding:26px 0;border-bottom:1px solid var(--rule)}

.step h3{font-size:1.3rem;margin-bottom:8px}
.step p{color:#2E3D48;max-width:66ch}
.after{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

/* About */
.principles{display:grid;grid-template-columns:repeat(2,1fr);gap:0;border-top:1px solid var(--rule);border-left:1px solid var(--rule)}
.principle{padding:24px;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);display:grid;gap:8px;align-content:start}
.principle h3{font-size:1.15rem}
.principle p{color:#33434F;font-size:.95rem}

/* Contact */

form{display:grid;gap:18px}
.field{display:grid;gap:6px}
.field label{font-size:.88rem;font-weight:600}
.field input,.field select,.field textarea{font-family:var(--body);font-size:1rem;padding:12px 14px;border:1px solid #CBD5D1;border-radius:10px;background:#fff;color:var(--ink)}
.field textarea{min-height:150px;resize:vertical}
.field .hint{font-size:.82rem;color:var(--muted)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cf-turn:empty{display:none}
.cform .btn{justify-self:start}
.cform .btn[disabled]{opacity:.6;cursor:wait}
.notice{display:block;border-radius:10px;padding:14px 16px;font-size:.92rem;margin:0}
.notice:empty{display:none}
.notice.is-ok{background:var(--accent-soft);color:var(--accent-deep)}
.notice.is-bad{background:var(--alert-soft);color:var(--alert-ink)}

/* Footer */
footer{border-top:1px solid var(--ink);margin-top:40px;padding:48px 0 30px;background:var(--paper)}
.foot{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:36px}
.foot .foot-tag{font-family:var(--display);font-size:1.25rem;line-height:1.35;color:var(--ink);margin-top:16px;max-width:24ch}
.foot-cta{display:inline-flex;align-items:center;gap:6px;margin-top:16px;font-size:.92rem;font-weight:600;color:var(--accent)}
.foot-cta svg{width:14px;height:14px}
.foot-col summary{list-style:none;display:block;font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 12px;cursor:default;pointer-events:none}
.foot-col summary::-webkit-details-marker{display:none}
.foot-col summary svg{display:none}
/* Open above the phone breakpoint whatever the element says: the content is
   laid out and painted, and the summary is a heading. */
@media (min-width:641px){
  .foot-col::details-content{content-visibility:visible;display:block;height:auto}
  .foot-col > ul{display:grid}
}
.ecoline{display:grid;grid-template-columns:auto repeat(3,1fr);gap:0;margin-top:44px;border:1px solid var(--rule);border-radius:14px;overflow:hidden}
.ecoline .eco-label{padding:20px 22px;background:var(--wash);display:grid;align-content:center;gap:4px;border-right:1px solid var(--rule)}
.ecoline .eco-label strong{font-family:var(--display);font-size:1.05rem}
.ecoline a{padding:20px 22px;display:grid;gap:4px;border-right:1px solid var(--rule)}
.ecoline a:last-child{border-right:0}
.ecoline a:hover{background:var(--wash)}
.ecoline a strong{display:inline-flex;align-items:center;gap:6px;font-size:1rem}
.ecoline a strong svg{width:11px;height:11px;color:var(--muted)}
.ecoline a span{font-size:.86rem;color:var(--muted);line-height:1.45}
.foot-base a:hover{color:var(--accent)}
.foot-base nav{display:flex;gap:18px;flex-wrap:wrap}
.foot p{font-size:.9rem;color:var(--muted);margin-top:12px;max-width:38ch}
.foot h4{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 12px;font-weight:500}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:.92rem}
.foot ul a:hover{color:var(--accent)}
.foot ul a{display:inline-flex;align-items:center;gap:4px}
.foot ul a svg{width:11px;height:11px;color:var(--muted)}
.foot-base{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--rule);margin-top:40px;padding-top:20px;font-size:.84rem;color:var(--muted)}
.wordmark{font-family:var(--display);font-weight:700;letter-spacing:-.035em;line-height:.8;white-space:nowrap;color:var(--ink);margin-top:40px;user-select:none}
.wordmark svg{width:.62em;height:.62em;margin-bottom:.08em}

/* Responsive */
@media (max-width:1000px){
  .nav,.bar .btn-desk,.byline-brand{display:none}
  .menu-btn{display:grid;place-content:center}
  .lead,.checker,.article-wrap{grid-template-columns:1fr}
  .latest{border-left:0;padding-left:0;border-top:1px solid var(--rule);padding-top:20px}
  .rules,.after{grid-template-columns:1fr 1fr}
  
  .aside{position:static}
  .foot{grid-template-columns:1fr 1fr 1fr}
  .foot > div:first-child{grid-column:1/-1}
  .ecoline{grid-template-columns:1fr 1fr}
  .ecoline .eco-label{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--rule)}
}
@media (max-width:640px){
  .article-wrap{padding-left:18px;padding-right:18px}
  body{font-size:16px}
  .wrap{padding:0 18px}
  .rules,.after,.principles,.two{grid-template-columns:1fr}
  
  
  
  
  
  
  .step{grid-template-columns:1fr;gap:8px}
  
  .foot{grid-template-columns:1fr;gap:0}
  .foot-col{border-top:1px solid var(--rule)}
  .foot-col summary{cursor:pointer;pointer-events:auto;display:flex;justify-content:space-between;align-items:center;width:100%;padding:16px 0;margin:0}
  .foot-col summary svg{display:block;width:16px;height:16px;transition:transform .2s}
  .foot-col ul{padding-bottom:16px}
  .foot-col[open] summary svg{transform:rotate(180deg)}
  .foot > div:first-child{padding-bottom:24px}
  .ecoline{grid-template-columns:1fr}
  .ecoline a{border-right:0;border-top:1px solid var(--rule)}
  .dateline .hide-sm{display:none}
}

/* Bulbea mentions: follow link, new tab */
a.bl{color:var(--accent);font-weight:600;background:var(--accent-soft);padding:0 .2em;border-radius:3px}
a.bl:hover{background:#cfe8de}
a.bl.dark{color:#8FD8BE;background:transparent;padding:0}
.foot-base a.bl{background:transparent;padding:0;color:var(--ink)}
/* v4: categories */

a.pill:hover{filter:brightness(.96)}
a.chip{display:inline-flex;align-items:center;gap:6px}
.chip[aria-current="page"]{background:var(--ink);border-color:var(--ink);color:#fff}

.article-body .steps h3{font-size:1.3rem}
.article-body .gap{margin:10px 0 26px}
.filters{padding:22px 0 30px}

/* v6: article blocks */

.article-body .lede{font-family:var(--display);font-size:1.22rem;line-height:1.6;color:var(--ink)}

.answer{font-size:1.08rem;font-weight:600;color:var(--ink);border-left:3px solid var(--accent);padding-left:14px;margin:0 0 20px!important}

.src-mark{display:inline-block;font-family:var(--mono);font-size:.62rem;line-height:1;padding:2px 4px;margin-left:2px;border-radius:4px;background:var(--wash);color:var(--muted);vertical-align:super}

.callout{background:var(--accent-soft);border-radius:14px;padding:18px 20px;margin:26px 0;color:var(--accent-deep)}
.callout p{margin:6px 0 0!important;color:var(--accent-deep)!important;font-size:1rem!important}
.callout .label{color:var(--accent-deep)}
.stops{display:grid;gap:0;border:1px solid var(--rule);border-radius:14px;overflow:hidden;margin:6px 0 22px}
.stops > div{padding:16px 20px;border-bottom:1px solid var(--rule)}
.stops > div:last-child{border-bottom:0}
.stops b{display:block;margin-bottom:4px}
.stops p{margin:0!important;font-size:.98rem!important;color:#33434F!important}

.sources{margin-top:26px;border-top:1px solid var(--ink);padding-top:16px}
.sources ol{margin:10px 0 0;padding-left:22px;font-size:.9rem;color:var(--muted)}
.sources li{margin-bottom:6px}
.toc ol{list-style:decimal;padding-left:18px}
.notfound{padding:90px 24px 110px;display:grid;gap:18px;max-width:760px}
.notfound h1{font-size:clamp(2.2rem,4.5vw,3.4rem);line-height:1.08}
.nf-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ---------- v7: the record ---------- */
/* The record card: what the entry rests on, before a word of prose. */
.recard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--rule);border-radius:14px;overflow:hidden;margin:0 0 30px;background:var(--wash)}
.recard > div{padding:14px 16px;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);display:grid;gap:4px}
.recard > div:nth-child(3n){border-right:0}
.recard > div:nth-last-child(-n+3){border-bottom:0}
.recard span{font-family:var(--mono);font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.recard b{font-size:.92rem;line-height:1.4;color:var(--ink)}
/* Three addresses side by side, the differing characters marked. */
.dtable td.mono{font-size:.86rem}
.dtable mark{background:var(--alert-soft);color:var(--alert-ink);border-radius:3px;padding:0 2px;font-weight:700}
.dtable td.yes{color:var(--accent-deep);font-weight:600}
.dtable td.no{color:var(--alert-ink);font-weight:600}
/* Where an entry sits among the ones before it. */
.rtime{list-style:none;margin:6px 0 24px!important;padding:0!important;border-left:2px solid var(--rule)}
.rtime li{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:0 0 18px 20px!important;position:relative;margin:0!important}
.rtime li::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid var(--alert-ink)}
.rtime li.is-now::before{background:var(--accent);border-color:var(--accent)}
.rtime time{font-family:var(--mono);font-size:.78rem;color:var(--muted);padding-top:2px}
.rtime b{color:var(--ink)}
.rtime div{font-size:.98rem;line-height:1.6;color:#33434F}
/* Source markers are links to their entry, and the entry lights up. */
a.src-mark{text-decoration:none}
a.src-mark:hover{background:var(--accent-soft);color:var(--accent-deep)}
.sources li{scroll-margin-top:120px;border-radius:4px;transition:background .3s}
.sources li.hit{background:var(--accent-soft);color:var(--ink)}
/* The closing block of every entry: Bulbea, pointed at the reader's trade. */
.bend{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;border:1px solid #BFDCCF;background:linear-gradient(180deg,#F5FBF8,#fff);border-radius:14px;padding:22px 24px;margin:34px 0 0}
.bend h3{font-size:1.3rem;margin:8px 0 6px}
.bend p{margin:0!important;font-size:.98rem!important;color:#33434F!important}
.bend .label{color:var(--accent-deep)}
/* The home page's one call to action: Bulbea. */
.bband{background:var(--ink);color:#E8EEEB;border-radius:18px;padding:44px;display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center}
.bband .label{color:#8FD8BE}
.bband h2{color:#fff;font-size:2rem;line-height:1.15;margin:12px 0 14px}
.bband p{color:#B8C6C0;margin:0}
.bband-steps{display:grid;gap:12px}
.bband-steps > div{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start;border:1px solid #24323C;border-radius:12px;padding:14px 16px}
.bband-steps b{font-family:var(--mono);font-size:.78rem;color:#8FD8BE;padding-top:2px}
.bband-steps span{color:#E8EEEB;font-size:.95rem;line-height:1.5}
.btn-light{background:#fff;border-color:#fff;color:var(--ink);justify-self:start;margin-top:6px}
.btn-light:hover{background:#E2F1EB;border-color:#E2F1EB;color:var(--ink)}
/* Steps on the two check pages. */
.pstep{display:grid;grid-template-columns:110px 1fr;gap:18px;padding:20px 0;border-top:1px solid var(--rule)}
.pstep > b{font-family:var(--mono);font-size:1.1rem;color:var(--accent)}
.pstep > b.when{font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;padding-top:5px}
.pstep h3{font-size:1.15rem;margin:0 0 6px}
.pstep p{margin:0!important}
/* An empty category. */
.jempty{border:1px dashed #B9C6C1;border-radius:14px;padding:26px;display:grid;gap:14px;margin:0 0 48px}
.jempty p{color:#33434F;max-width:60ch;margin:0}
@media (max-width:900px){
  .bband{grid-template-columns:1fr;padding:32px 24px;gap:28px}
  .recard{grid-template-columns:1fr 1fr}
  .recard > div:nth-child(3n){border-right:1px solid var(--rule)}
  .recard > div:nth-child(2n){border-right:0}
  .recard > div:nth-last-child(-n+3){border-bottom:1px solid var(--rule)}
  .recard > div:nth-last-child(-n+2){border-bottom:0}
}
@media (max-width:640px){
  .bend{grid-template-columns:1fr}
  .bend .btn{justify-self:start}
  .rtime li{grid-template-columns:1fr;gap:4px}
  .pstep{grid-template-columns:1fr;gap:6px}
  .bband h2{font-size:1.6rem}
}
.card .pill{justify-self:start}
.rtime a.rlink{font-weight:700;color:var(--ink);background:linear-gradient(var(--accent-soft),var(--accent-soft)) no-repeat 0 100%/100% .45em}
.rtime a.rlink:hover{color:var(--accent-deep)}
/* ---------- v8: the record as a register ---------- */
.rhero{padding-top:56px;padding-bottom:28px;display:grid;gap:16px}
.rhero h1{font-size:clamp(2rem,4vw,3rem);line-height:1.1;max-width:22ch}
.rhero .standfirst{max-width:62ch}
.rhero-a{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px}
/* The register table. */
.reg{border:1px solid var(--rule);border-radius:14px;overflow:hidden;background:#fff}
.reg-h,.reg-r{display:grid;grid-template-columns:130px 230px minmax(0,1fr) 110px;gap:20px;align-items:center;padding:14px 20px}
.reg-h{background:var(--wash);border-bottom:1px solid var(--rule);font-family:var(--mono);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.reg-r{border-bottom:1px solid var(--rule);color:var(--ink);transition:background .15s}
.reg-r:last-child{border-bottom:0}
.reg-r:hover{background:#F8FBFA}
.reg-r:hover .reg-t b{color:var(--accent)}
.reg-ref{font-size:.82rem;color:var(--ink);font-weight:600}
.reg-doc{display:grid;gap:2px}
.reg-doc b{font-size:.9rem;font-weight:600;line-height:1.35}
.reg-doc small{font-size:.8rem;color:var(--muted)}
.reg-t{display:grid;gap:6px;justify-items:start}
.reg-t b{font-family:var(--display);font-size:1.08rem;line-height:1.35;font-weight:600}
.reg-s{justify-self:start}
/* The sources, by type. */
.srcs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.src{border:1px solid var(--rule);border-radius:14px;padding:20px;display:grid;gap:12px;align-content:start;justify-items:start}
.src:hover{border-color:#B9C6C1}
.src p{font-size:.9rem;color:#33434F;margin:0;line-height:1.55}
.src-last{font-size:.84rem;color:var(--muted);border-top:1px solid var(--rule);padding-top:10px;width:100%}
.src-last .mono{color:var(--ink)}
/* The head of an entry. */
.rhead{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:6px 0 14px}
.rhead .mono{font-size:.86rem;font-weight:600;color:var(--ink)}
.recard{grid-template-columns:repeat(3,minmax(0,1fr))}
.recard b{overflow-wrap:anywhere}
.article-wrap > article{min-width:0}
@media (max-width:1000px){.article-wrap{grid-template-columns:minmax(0,1fr)}}
@media (max-width:900px){.article-body .recard,.recard{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.recard{grid-template-columns:minmax(0,1fr)}.recard > div{border-right:0!important;border-bottom:1px solid var(--rule)!important}.recard > div:last-child{border-bottom:0!important}}
/* Sections of an entry: fixed headings, numbered like a register. */
.rsec{scroll-margin-top:96px;padding-top:6px}
.article-body .rsec h2{display:flex;gap:14px;align-items:baseline;font-size:1.35rem;margin:38px 0 14px;padding-top:18px;border-top:1px solid var(--rule)}
.rsec h2 .mono{font-size:.8rem;color:var(--accent);font-weight:600}
.dwrap{overflow-x:auto;margin:6px 0 20px}
.dwrap .dtable{min-width:560px;margin:0}
.clist{counter-reset:c;list-style:none;padding:0!important;margin:6px 0 20px!important;display:grid;gap:10px}
.clist li{counter-increment:c;position:relative;padding:12px 14px 12px 48px!important;border:1px solid var(--rule);border-radius:10px;margin:0!important;font-size:1rem}
.clist li::before{content:counter(c,decimal-leading-zero);position:absolute;left:14px;top:13px;font-family:var(--mono);font-size:.78rem;color:var(--accent);font-weight:600}
.rtime a.rlink{font-family:var(--mono);font-size:.84rem;font-weight:600;margin-right:6px}
.cite{font-size:.86rem!important;color:#33434F!important;line-height:1.5}
.bend .btn.ghost{white-space:nowrap}
@media (max-width:1000px){
  .srcs{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .reg-h{display:none}
  .reg-r{grid-template-columns:1fr auto;gap:8px 12px;padding:16px}
  .reg-ref{grid-column:1;grid-row:1}
  .reg-s{grid-column:2;grid-row:1;justify-self:end}
  .reg-t{grid-column:1 / -1;grid-row:2}
  .reg-doc{grid-column:1 / -1;grid-row:3}
}
@media (max-width:640px){
  .srcs{grid-template-columns:1fr}
  .rhero{padding-top:36px;padding-bottom:18px}
}
/* v9: one reading layout, rail on the right */
.rmain{min-width:0}
.article-wrap{align-items:start}
.article-wrap.flush{padding-top:0}
.aside .checklist{border-radius:14px}
.compact .aside .checklist-head{padding:14px 16px}
.compact .aside .meter{width:100%}
.compact .aside .checklist-head > span:last-child{width:100%;flex-direction:column;align-items:flex-start!important}
.compact .aside .check{padding:12px 16px;gap:12px}
.compact .aside .check span{display:none}
.compact .aside .check strong{font-size:.92rem;line-height:1.35}
.steps-toc ol{list-style:none;padding-left:0;display:grid;gap:10px}
.steps-toc .when{display:block;font-family:var(--mono);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:2px}
.article-body h2[id],.pstep[id]{scroll-margin-top:96px}
@media (max-width:1000px){
  .rail-first .aside{order:-1}
  .compact .aside .check span{display:block}
  .article-wrap.flush{padding-top:0}
}

/* gap block as a comparison table */
.gaptab{border:1px solid var(--rule);border-radius:14px;overflow:hidden;margin:10px 0 26px}
.gaptab table{width:100%;border-collapse:collapse;font-size:.94rem}
.gaptab thead th{background:var(--wash);padding:12px 16px;border-bottom:1px solid var(--rule);text-align:center;font-weight:400;white-space:nowrap}
.gaptab thead th:first-child{text-align:left}
.gaptab tbody th{text-align:left;font-weight:400;color:#2E3D48;padding:11px 16px;line-height:1.4}
.gaptab td{text-align:center;padding:11px 16px;width:150px}
.gaptab td svg{width:20px;height:20px;vertical-align:middle}
.gaptab tbody tr+tr th,.gaptab tbody tr+tr td{border-top:1px solid var(--rule)}
.gaptab td+td,.gaptab th+th{border-left:1px solid var(--rule)}
.gaptab .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:640px){
  .gaptab thead{display:none}
  .gaptab tbody tr{display:grid;grid-template-columns:1fr 1fr;padding:12px 14px;gap:8px 10px}
  .gaptab tbody tr+tr{border-top:1px solid var(--rule)}
  .gaptab tbody tr+tr th,.gaptab tbody tr+tr td{border-top:0}
  .gaptab tbody th{grid-column:1/-1;padding:0;font-weight:600}
  .gaptab td{width:auto;padding:0;border:0!important;text-align:left;display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--muted)}
  .gaptab td::before{content:attr(data-col);order:2}
  .gaptab td svg{order:1;width:18px;height:18px;flex:none}
}
/* test: underline on prose links, on top of the green highlight */
.prose-link,a.bl{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em;text-decoration-color:rgba(10,107,82,.55)}
.prose-link:hover,a.bl:hover{text-decoration-color:var(--accent)}
a.bl.dark{text-decoration-color:rgba(143,216,190,.6)}
.foot-base a.bl{text-decoration:none}

/* ---------- The site's own additions to the demo ---------- */
/* A category pill draws its two tones from categories.json, through D1. */
/* The contents in a rail are anchors, so every section has an address. */
.toc a{font-size:.9rem;color:#33434F;line-height:1.45}
.toc a:hover,.toc a.is-on{color:var(--accent)}
.aside-box .btn,.checker-intro .btn{justify-self:start}
.checklist-state{display:flex;align-items:center;gap:12px}
.rmain .article-body > :first-child,.doc-date + h2{margin-top:0}
.doc-date{color:var(--muted);margin-bottom:26px!important}
.article-body .guide-h2{margin-top:10px}
.register{padding-bottom:56px}
.section--tight{padding-top:8px}
.section--flush{padding-top:0}
.band-end{padding-bottom:64px}
.nf-reg{margin-top:30px}
.page-head h1.entry-h1{max-width:26ch}
.article-meta.entry-meta{border:0;margin:14px 0 0;padding:0}
.sources li:target{background:var(--accent-soft);color:var(--ink)}
.jpager{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:24px 0 0}
.jpg{display:inline-flex;align-items:center;gap:6px;min-width:38px;height:38px;justify-content:center;padding:0 12px;border:1px solid var(--rule);border-radius:10px;font-size:.9rem}
.jpg.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
.jpg svg{width:14px;height:14px}
.jpg-gap{color:var(--muted);padding:0 4px}

/* The Bulbea page: a statement, what it does against what it does not, and
   one tile per kind of party. */
.statement{max-width:68ch}
.statement h2{margin:10px 0 12px}
.statement p{color:#33434F;font-size:1.06rem;margin:0 0 12px}
.does{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.does-card{border:1px solid var(--rule);border-radius:14px;padding:24px;display:grid;gap:14px;align-content:start}
.does-card ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.does-card li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;font-size:.96rem;color:#33434F;line-height:1.5}
.does-card li svg{width:20px;height:20px;margin-top:2px}
.does-card .pill{justify-self:start}
.tiles-intro{color:#33434F;max-width:68ch;margin:-8px 0 22px}
.src.tile{color:var(--ink)}
.src.tile strong{font-size:1.02rem}
.src.tile:hover{border-color:#B9C6C1}
.src.tile .src-last{display:inline-flex;align-items:center;gap:6px}
.src.tile .src-last svg{width:11px;height:11px}
.src.tile:target{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
@media (max-width:760px){.does{grid-template-columns:minmax(0,1fr)}}

/* Text set apart to be copied as it is: the press boilerplate. */
.boiler{display:grid;gap:12px;margin:18px 0 8px}
.boiler-item{background:var(--wash);border:1px solid var(--rule);border-radius:12px;padding:16px 18px}
.boiler-item .label{display:block;margin-bottom:6px}
.article-body .boiler-item p{margin:0 0 8px;font-size:.98rem}
.article-body .boiler-item p:last-child{margin-bottom:0}

/* A select draws its own chevron, the same as the footer's, instead of the
   browser's arrow: the native one differs on every system. */
.select{position:relative;display:grid}
.select select{appearance:none;-webkit-appearance:none;padding-right:42px;cursor:pointer}
.select svg{position:absolute;right:14px;top:50%;width:18px;height:18px;margin-top:-9px;color:var(--muted);pointer-events:none}
.select select:focus + svg{color:var(--accent)}
