/* Punchlist — spec sheet, not a landing page.
   Near-black on off-white. One accent. Hard 1px rules. Monospace for every
   number, date, source and status token. No gradients, no shadows, no glass,
   no rounded corners. Carried forward from check.html. */

:root{
  --bg:#FBFAF8; --panel:#FFF; --ink:#16181A; --muted:#5A6068;
  --rule:#D8D5CF; --rule2:#EBE8E2; --strong:#16181A;
  /* AMBER SYSTEM — --accent is a FILL ONLY. Never use it as text or as a
     line: it is 2.06:1 on --bg and fails WCAG AA and the 3:1 UI minimum.
     Pair it with --ink (8.29:1, AAA). For accent-coloured TEXT, rules,
     focus rings and borders, use --accent-ink (6.22:1, AA). */
  --accent:#F59E0B; --accent-ink:#855300; --accent-d:#D97706;
  --accent-rule:#E8B45C; --wash:#FEF6E7;
  --ok:#2F6B34; --okbg:#EEF6EE; --okrule:#C8E0C9;
  --dead:#9E0000; --deadbg:#FDF0F0; --deadrule:#E8C4C4;
  --warn:#7A5A00; --warnbg:#FBF6E7; --warnrule:#E5D9AE;
  --info:#1F4E79; --infobg:#EDF3F9; --inforule:#C3D6E6;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img,svg{max-width:100%}
a{color:var(--accent-ink)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{
  outline:3px solid var(--accent-ink);outline-offset:2px}
h1,h2,h3,h4{line-height:1.15;letter-spacing:-.02em;margin:0;font-weight:700}
h1{font-size:clamp(28px,6vw,44px)}
h2{font-size:clamp(22px,4vw,30px)}
h3{font-size:19px}
p{margin:0 0 14px}
.wrap{max-width:880px;margin:0 auto;padding:0 20px}
.wrap-wide{max-width:1120px;margin:0 auto;padding:0 20px}
.mono{font-family:var(--mono)}
.muted{color:var(--muted)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;z-index:99;background:var(--ink);color:#fff;padding:10px 14px}

/* ---------- masthead ---------- */
.masthead{border-bottom:1px solid var(--rule);background:var(--panel);position:relative;z-index:20}
.masthead .wrap-wide{display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:13px 20px;flex-wrap:wrap}
.brand{font-weight:700;font-size:18px;display:flex;align-items:center;gap:9px;
  text-decoration:none;color:var(--ink)}
.brand .tick{width:11px;height:11px;background:var(--accent);flex:none}
.brand small{display:block;font-weight:400;font-size:11.5px;color:var(--muted);letter-spacing:0}
.masthead nav{display:flex;flex-wrap:wrap;gap:2px}
.masthead nav a{font-family:var(--mono);font-size:12.5px;color:var(--muted);
  /* 24px minimum tap target (WCAG 2.2 AA, 2.5.8). These rendered at 19px tall —
     a miss under a thumb, on the most-tapped control on the site. */
  text-decoration:none;padding:8px;min-height:24px;display:inline-flex;align-items:center}
.masthead nav a:hover,.masthead nav a[aria-current]{color:var(--ink)}
.masthead nav a[aria-current]{border-bottom:2px solid var(--accent-ink)}

/* ---------- hero ---------- */
.hero{padding:52px 0 40px;border-bottom:1px solid var(--rule)}
.kicker{font-family:var(--mono);font-size:12px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--accent-ink);font-weight:700;margin-bottom:14px}
.lede{font-size:clamp(16.5px,2.2vw,19px);color:var(--muted);margin:18px 0 0;max-width:60ch}
.lede strong{color:var(--ink)}
.ctarow{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);
  color:var(--ink);text-decoration:none;font-weight:600;font-size:16.5px;padding:14px 24px;
  /* Border is --accent-d, not --accent: an amber edge on the off-white page is
     2.06:1 and fails the 3:1 UI-component minimum, so the button would have no
     discernible boundary. --accent-d is 3.05:1 and stays visually amber. */
  border:1px solid var(--accent-d);min-height:48px;font-family:inherit;cursor:pointer}
.btn:hover{background:var(--accent-d);border-color:var(--accent-d)}
.btn.sec{background:transparent;color:var(--ink);border-color:var(--strong)}
/* Solid near-black button — the mockup's Contractor Login treatment. 17.80:1 */
.btn.dark{background:var(--strong);color:#fff;border-color:var(--strong)}
.btn.dark:hover{background:#000;border-color:#000}
.btn.sec:hover{background:var(--ink);color:#fff}
.btn:disabled{background:var(--rule);border-color:var(--rule);color:#8A8F95;cursor:not-allowed}

/* ---------- sections ---------- */
/* T-151. The legacy pages stack <section>s and use the 1px rule to separate
   them, and that is still right. The design pages do not: their partial lays
   out its own sections inside `.dc-page` with their own spacing, and this rule
   leaked a hairline across the bottom of each one, with the section's children
   flush against it and no inset — two cramped-padding findings on the homepage.

   The guard is wrapped in `:where()` and that is the whole point of it. T-152
   found that the first shipped form, `:not(.dc-page) > section`, was not the
   selector it looked like: `:not()` takes the specificity of its ARGUMENT, so
   the rule went from (0,0,1) to (0,1,1) and started beating three class rules
   it had always lost to — `.hero` (line ~60), `.pb0` and `.tier` (below). The
   founder approved this change on the premise that its only effect was
   removing a leaked hairline from six design pages; at (0,1,1) it also moved
   404.html's hero padding, re-drew the hairline `.pb0` deliberately suppresses
   on the change-log filter bar, and re-padded four `.tier` blocks. `:where()`
   contributes ZERO specificity, so the rule keeps its original (0,0,1) weight
   and every class rule wins again. Do not unwrap it.

   The two alternatives that were considered and rejected:
     · `main > section` drops the rule from every legacy <section> that is not
       a child of <main> — 404.html's hero among them. (An earlier version of
       this comment named arizona, california, hub, nevada and oregon here.
       That was wrong and T-152 caught it: those five pages carry their own
       inline <style> and never link style.css, so no selector in this file
       reaches them either way.)
     · an override — `.dc-page section{border-bottom:0}` or `{border-bottom:none}`
       — leaves the finding standing, because the shorthand is never expanded and
       the 1px longhand is still what the element resolves to.

   `section.tight` was dropped with T-152: no `.tight` element exists in any of
   the 27 built pages, so the rule matched nothing and only widened the surface
   this comment has to defend. */
:where(:not(.dc-page)) > section{padding:44px 0;border-bottom:1px solid var(--rule)}
.eyebrow{font-family:var(--mono);font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--muted);font-weight:700;margin-bottom:12px}
.sub{color:var(--muted);max-width:66ch;margin-top:10px}

/* ---------- reasoning block ---------- */
.why{border:1px solid var(--strong);background:var(--ink);color:#E8EAEC;font-family:var(--mono);
  font-size:13px;line-height:1.75;padding:16px 17px;overflow-x:auto}
.why .t{color:#9AA1A8;font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  display:block;margin-bottom:10px}
.why div{opacity:0;transform:translateY(4px)}
.why div.in{opacity:1;transform:none;transition:opacity .28s ease,transform .28s ease}
.why b{color:#fff;font-weight:700}
.why .r{color:#F0A87E}
.why .g{color:#9ED8A4}

/* ---------- stats ---------- */
.stats{display:grid;gap:0;border:1px solid var(--strong);background:var(--panel)}
@media(min-width:700px){.stats{grid-template-columns:1fr 1fr}}
.stat{padding:20px 20px 18px;border-bottom:1px solid var(--rule)}
@media(min-width:700px){.stat:nth-child(odd){border-right:1px solid var(--rule)}}
.stat .fig{font-family:var(--mono);font-size:clamp(26px,4vw,34px);font-weight:700;
  letter-spacing:-.02em;line-height:1.1;display:block}
.stat .claim{font-size:15.5px;margin:8px 0 0}
.stat .why-s{font-size:14px;color:var(--muted);margin:9px 0 0}
.stat .cite{font-family:var(--mono);font-size:11px;color:var(--muted);margin:12px 0 0;
  padding-top:10px;border-top:1px solid var(--rule2);display:block;word-break:break-word}
.stat .cite a{color:var(--muted)}
.stat .disagree{font-size:13.5px;background:var(--warnbg);border:1px solid var(--warnrule);
  padding:10px 12px;margin:12px 0 0;color:#5C4600}

/* empty slots left deliberately */
.slot{border:1px dashed var(--rule);padding:18px 20px;color:var(--muted);font-size:14.5px}
.slot strong{color:var(--ink)}

/* ---------- generic panel / sheet ---------- */
.panel{border:1px solid var(--strong);background:var(--panel);padding:22px 20px}
.panel + .panel{margin-top:-1px}
.sheet{border:1px solid var(--strong);background:var(--panel)}
.sheet-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;
  border-bottom:1px solid var(--strong);background:var(--ink);color:#fff}
.sheet-head strong{font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;font-family:var(--mono)}
.sheet-head span{font-family:var(--mono);font-size:11.5px;color:#C9CDD2}
.sheet-foot{padding:12px 16px;font-size:13.5px;color:var(--muted);background:#F4F2EE;
  border-top:1px solid var(--rule)}
/* The partial/unverified warning, fixed between the sheet header and the first
   dollar row. It is deliberately INSIDE the amount table's frame: a caveat that
   sits in the verdict paragraph three scroll-lengths above the money gets read
   by the reviewer and skipped by the contractor. Full-strength ink, not muted —
   this is the one line on the page that stops a wrong quote. */
.sheet-caveat{margin:0;padding:12px 16px;font-size:14px;line-height:1.5;color:var(--ink);
  background:var(--warnbg);border-bottom:1px solid var(--warn);border-left:4px solid var(--warn)}
table{width:100%;border-collapse:collapse;font-size:15px}
th,td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--rule);vertical-align:top}
thead th{font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);
  font-family:var(--mono);font-weight:700;background:#F4F2EE}
tbody tr:last-child td{border-bottom:none}
td.amt{font-family:var(--mono);font-weight:700;white-space:nowrap}
td.amt.q{color:var(--warn);font-size:12.5px;white-space:normal;font-weight:400}
.cond{color:var(--muted);font-size:13.5px;display:block;margin-top:4px}

/* label-caps — DESIGN.md's printed-technical-manual section header */
.label-caps{font-family:var(--mono);font-size:11px;font-weight:700;
  line-height:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}

/* ---------- badges ---------- */
.badge{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.07em;
  padding:4px 8px;white-space:nowrap;display:inline-block;border:1px solid}
/* Status tiers. Colour is reserved for VERIFIED — it is the source-of-truth
   signal and the only thing that earns the accent. Everything else is neutral,
   so a contractor's eye goes to what is actually confirmed. All pairs >= 4.5:1. */
.b-amounts-verified{background:var(--accent);color:var(--ink);border-color:var(--accent-d)}   /* 8.29:1 */
.b-partial{background:var(--panel);color:var(--ink);border-color:var(--strong)}                /* 17.80:1 */
.b-research{background:transparent;color:var(--muted);border-color:var(--rule)}                /* 6.09:1 */
.b-monitoring{background:var(--muted);color:#fff;border-color:var(--muted)}                    /* 6.35:1 */
/* Change-log tiers. Borders are the SOLID --dead/--warn/--info, never the matching
   --*rule variables: those measure 1.44:1, 1.31:1 and 1.33:1 against their own
   backgrounds, which leaves the badge with no discernible edge — the same failure
   documented for --accent above. Solid costs nothing visually and buys 6.1-8.3:1. */
.b-ended{background:var(--dead);color:#fff;border-color:var(--dead)}                  /* text 8.56:1 · edge 8.20:1 */
.b-nofunds{background:var(--deadbg);color:var(--dead);border-color:var(--dead)}       /* text 7.70:1 · edge 8.20:1 */
.b-closing{background:var(--warn);color:#fff;border-color:var(--warn)}                /* text 6.38:1 · edge 6.12:1 */
.b-record{background:var(--infobg);color:var(--info);border-color:var(--info)}        /* text 7.75:1 · edge 8.30:1 */
/* live-undated REUSES the .b-research pair rather than introducing a fifth colour: the
   ratio below is already measured, and a new pair would be a contrast claim nobody has
   checked. Neutral is also correct here — money that is still payable must not borrow
   --dead or --warn, which say the opposite. */
.b-live-undated{background:transparent;color:var(--muted);border-color:var(--rule)}   /* 6.09:1, as .b-research */
.stamp{display:inline-block;font-family:var(--mono);font-size:11px;color:var(--ok);
  background:var(--okbg);border:1px solid var(--okrule);padding:2px 6px;white-space:nowrap}
.stamp.old{color:var(--warn);background:var(--warnbg);border-color:var(--warnrule)}

/* ---------- coverage tiles ---------- */
.tiles{display:grid;gap:0;border:1px solid var(--strong);background:var(--panel)}
@media(min-width:640px){.tiles{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.tiles{grid-template-columns:repeat(4,1fr)}}
.tile{padding:18px;border-bottom:1px solid var(--rule);display:block;text-decoration:none;color:inherit}
@media(min-width:1000px){.tile{border-bottom:none;border-right:1px solid var(--rule)}
  .tile:last-child{border-right:none}}
.tile:hover{background:#F7F5F1}
.tile h3{font-size:17px;margin-bottom:10px}
.tile p{font-size:14px;color:var(--muted);margin:10px 0 0}
.tile .v{font-family:var(--mono);font-size:11px;color:var(--muted);display:block;margin-top:10px}
.tile.reveal{opacity:0;transform:translateY(8px)}
.tile.reveal.in{opacity:1;transform:none;transition:opacity .4s ease,transform .4s ease}

/* ---------- zip grid (the territory visual) ---------- */
.zipgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(15px,1fr));gap:3px;
  border:1px solid var(--strong);background:var(--panel);padding:14px}
.zipgrid i{display:block;aspect-ratio:1;background:var(--rule2);border:1px solid transparent;
  opacity:0;transform:scale(.6)}
.zipgrid i.in{opacity:1;transform:none;transition:opacity .3s ease,transform .3s ease,background .3s ease}
.zipgrid i.s-yes{background:#C8E0C9}
.zipgrid i.s-partial{background:#E5D9AE}
.zipgrid i.s-unverified{background:#C3D6E6}
.zipgrid i.s-no{background:#E8C4C4}
.zipgrid i.hot{background:var(--accent);border-color:var(--accent-d)}
.legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px;font-family:var(--mono);
  font-size:11.5px;color:var(--muted)}
.legend span{display:flex;align-items:center;gap:6px}
.legend b{width:11px;height:11px;display:inline-block;border:1px solid var(--rule)}

/* ---------- change log ---------- */
.log{border:1px solid var(--strong);background:var(--panel)}
.entry{padding:18px 20px;border-bottom:1px solid var(--rule)}
.entry:last-child{border-bottom:none}
.entry .meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:9px}
.entry .d{font-family:var(--mono);font-size:12px;font-weight:700}
.entry .st.ends{background:var(--warn);color:#fff;border-color:var(--warn)}  /* 6.38:1 */
.entry .st{font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;padding:3px 7px;
  border:1px solid var(--rule);color:var(--muted)}
.entry h3{font-size:16.5px;margin-bottom:8px}
.entry p{font-size:14.5px;color:var(--muted);margin:0 0 10px}
.entry .src{font-family:var(--mono);font-size:11px;color:var(--muted)}
.sev-closed,.sev-terminated,.sev-discontinued,.sev-exhausted{border-left:3px solid var(--dead)}
.sev-closing{border-left:3px solid var(--warn)}
.sev-correction,.sev-precedent{border-left:3px solid var(--info)}

/* ---- change-log tiers, filter, permalinks ---- */
.pb0{padding-bottom:22px;border-bottom:none}
.tier{padding:26px 0 34px;border-bottom:1px solid var(--rule)}
.tier-h{margin-bottom:16px}
.tier-h h2{margin:11px 0 0;font-size:clamp(19px,2.6vw,23px)}
.tier-h .sub{margin-top:7px;font-size:14.5px}
.tier-h .cnt{font-size:11.5px;color:var(--muted);margin:9px 0 0;letter-spacing:.06em}
.entry{scroll-margin-top:16px}
.entry:target{background:var(--wash);box-shadow:inset 3px 0 0 var(--accent-d)}
.permalink{margin-left:auto;font-family:var(--mono);font-size:13px;color:transparent;
  text-decoration:none;padding:0 4px}
.entry:hover .permalink,.entry .permalink:focus-visible,.entry:target .permalink{color:var(--accent-ink)} /* 6.49:1 */
.filterbar{display:flex;flex-wrap:wrap;border:1px solid var(--strong);background:var(--panel)}
.filterbar button{flex:1 1 auto;background:var(--panel);border:none;
  border-right:1px solid var(--rule);font-family:var(--mono);font-size:12px;
  letter-spacing:.06em;color:var(--muted);padding:13px 10px;cursor:pointer;min-height:48px}  /* 6.35:1 */
.filterbar button:last-child{border-right:none}
.filterbar button[aria-pressed=true]{background:var(--ink);color:#fff}                       /* 17.80:1 */
.filterbar button:hover:not([aria-pressed=true]){background:var(--wash);color:var(--ink)}
.tier[hidden],.entry[hidden]{display:none}

/* ---- which date counts ---- */
.dbx,.dbt{width:100%;border-collapse:collapse;border:1px solid var(--strong);background:var(--panel)}
.dbx th,.dbx td,.dbt th,.dbt td{text-align:left;padding:11px 13px;border-bottom:1px solid var(--rule);
  font-size:14.5px;vertical-align:top}
.dbt thead th{background:var(--ink);color:#fff;font-family:var(--mono);font-size:11.5px;                 /* 17.80:1 */
  letter-spacing:.06em;text-transform:uppercase}
.dbx tr:last-child th,.dbx tr:last-child td,.dbt tbody tr:last-child th,.dbt tbody tr:last-child td{border-bottom:none}
.dbt td.g{color:var(--ok)}
.dbt td.r{color:var(--dead);font-weight:600}
.dbt td .via{display:block;font-size:11.5px;font-weight:400;color:var(--muted);margin-top:3px}                                                            /* 8.20:1 */
.bs{font-size:11.5px;background:var(--wash);border:1px solid var(--accent-rule);padding:2px 7px;
  white-space:nowrap;color:var(--accent-ink)}                                                           /* 5.79:1 */
.dblist{border:1px solid var(--strong);background:var(--panel);margin-top:22px}
.dbrow{padding:20px;border-bottom:1px solid var(--rule)}
.dbrow:last-child{border-bottom:none}
.dbrow:target{background:var(--wash)}
.dbrow h3{font-size:16.5px;margin-bottom:12px;display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.basis{border-left:3px solid var(--rule);padding:2px 0 2px 15px;margin:0 0 15px}
.bh{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 8px}
.period{font-size:11px;color:var(--muted)}                                                              /* 6.35:1 */
.qk{font-family:var(--mono);font-size:10.5px;letter-spacing:.05em;padding:3px 7px;border:1px solid}
.qk-verbatim{background:var(--okbg);color:var(--ok);border-color:var(--ok)}
.qk-paraphrase{background:var(--warnbg);color:var(--warn);border-color:var(--warn)}                     /* 6.12:1 */
.plainly{font-size:14.5px;color:var(--muted);margin:0 0 9px}
.dbrow blockquote{margin:0 0 9px;padding:11px 14px;background:var(--bg);border:1px solid var(--rule);
  font-size:14.5px;font-style:normal}
.dbrow blockquote.verbatim{border-left:3px solid var(--ok);font-family:var(--mono);font-size:13px}
.dbrow blockquote.paraphrase{border-left:3px solid var(--warn)}
.deem,.caution,.trap,.dbnote{font-size:14px;margin:0 0 9px}
.deem{background:var(--infobg);border:1px solid var(--info);padding:11px 14px;color:var(--ink)}
.caution{background:var(--warnbg);border:1px solid var(--warn);padding:11px 14px;color:var(--ink)}
.trap{background:var(--deadbg);border:1px solid var(--dead);padding:11px 14px;color:var(--ink)}         /* 16.02:1 */
.dbnote{color:var(--muted)}
.dbrow .src{font-family:var(--mono);font-size:11px;color:var(--muted);margin:0}

/* ---- not Energy Trust ---- */
.deadbox{background:var(--deadbg);border-color:var(--dead)}
.nslist{border:1px solid var(--strong);background:var(--panel)}
.ns{padding:18px 20px;border-bottom:1px solid var(--rule)}
.ns:last-child{border-bottom:none}
.ns:target{background:var(--wash);box-shadow:inset 3px 0 0 var(--accent-d)}
.ns h3{font-size:16px;margin-bottom:8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ns .where{font-size:14px;color:var(--muted);margin:0 0 10px}
.ns .zips{display:block;font-size:11px;margin-top:4px;color:var(--muted);word-spacing:.2em}
.ns .tel{margin:0 0 10px;font-size:17px;font-weight:600}
.ns .tel a{font-family:var(--mono);color:var(--accent-ink);text-decoration:none;                        /* 6.49:1 */
  border-bottom:2px solid var(--accent-rule)}
.ns .tel.none{font-size:14.5px;font-weight:400;color:var(--muted)}
.ns .tl{display:block;font-size:12.5px;font-weight:400;color:var(--muted);margin-top:3px}
.ns .src{display:block;font-family:var(--mono);font-size:11px;font-weight:400;color:var(--muted);margin-top:6px}
.ns .fuelsplit{font-size:14px;background:var(--warnbg);border:1px solid var(--warn);
  padding:10px 13px;margin:0 0 9px;color:var(--ink)}
.ns.orphan{border-left:3px solid var(--warn)}

/* ---- homepage "what moved" band ---- */
.moved{background:var(--deadbg);border-top:1px solid var(--deadrule);
  border-bottom:1px solid var(--deadrule)}
.moved h2{color:var(--ink);font-size:clamp(19px,2.6vw,23px)}                                 /* 16.02:1 */
.moved .sub{color:var(--muted)}                                                              /*  5.71:1 */
.movedlist{margin:18px 0 0;border:1px solid var(--strong);background:var(--panel)}
.movedlist li{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;
  padding:12px 16px;border-bottom:1px solid var(--rule);font-size:14.5px}
.movedlist li:last-child{border-bottom:none}
.movedlist .dt{font-family:var(--mono);font-size:11.5px;color:var(--muted);flex:none}         /* 6.35:1 */
.movedlist a{color:var(--accent-ink);font-weight:600;text-decoration:none}                    /* 6.49:1 */
.movedlist a:hover{text-decoration:underline}

/* ---------- gaps ---------- */
.gap{padding:16px 20px;border-bottom:1px solid var(--rule)}
.gap:last-child{border-bottom:none}
.gap q{font-weight:600;display:block;font-size:16px;quotes:none}
.gap p{font-size:14.5px;color:var(--muted);margin:8px 0 0}
.gap .tag{font-family:var(--mono);font-size:10.5px;padding:2px 6px;border:1px solid var(--rule);
  color:var(--muted);margin-right:8px}

/* ---------- callouts ---------- */
.note{border:1px solid var(--rule);border-left:3px solid var(--accent-ink);background:var(--wash);
  padding:16px 18px;margin:20px 0;font-size:15.5px}
.note.warnbox{background:var(--warnbg);border-left-color:var(--warn);border-color:var(--warnrule)}
.note.deadbox{background:var(--deadbg);border-left-color:var(--dead);border-color:var(--deadrule)}
.note.okbox{background:var(--okbg);border-left-color:var(--ok);border-color:var(--okrule)}
.note p:last-child{margin-bottom:0}
.nots{list-style:none;padding:0;margin:0;border:1px solid var(--strong);background:var(--panel)}
.nots li{padding:14px 18px;border-bottom:1px solid var(--rule);font-size:15.5px;
  display:flex;gap:12px;align-items:flex-start}
.nots li:last-child{border-bottom:none}
.nots li::before{content:"NEVER";font-family:var(--mono);font-size:10px;font-weight:700;
  letter-spacing:.07em;color:var(--dead);background:var(--deadbg);border:1px solid var(--deadrule);
  padding:3px 6px;flex:none;margin-top:2px}

/* ---------- forms ---------- */
label{display:block;font-family:var(--mono);font-size:11.5px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:6px}
input,select,textarea{width:100%;font:inherit;font-size:17px;padding:13px 12px;min-height:50px;
  border:1px solid var(--strong);background:var(--panel);color:var(--ink);border-radius:0;
  -webkit-appearance:none;appearance:none;font-family:inherit}
select{background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),
  linear-gradient(135deg,var(--ink) 50%,transparent 50%);
  background-position:calc(100% - 19px) 22px,calc(100% - 13px) 22px;
  background-size:6px 6px;background-repeat:no-repeat;padding-right:38px}
input:disabled,select:disabled{background:#F1EFEB;color:var(--muted);border-color:var(--rule)}
.grid{display:grid;gap:16px}
@media(min-width:640px){.grid.two{grid-template-columns:1fr 1fr}.g-full{grid-column:1/-1}}
.hint{font-size:13.5px;color:var(--muted);margin:6px 0 0}
.hint.assumed{color:var(--warn)}

/* ---------- verdict ---------- */
.verdict{border:1px solid;padding:0;margin-bottom:22px}
.vhead{display:flex;gap:12px;align-items:center;padding:15px 17px;border-bottom:1px solid;flex-wrap:wrap}
.vhead .vb{font-family:var(--mono);font-size:11.5px;font-weight:700;letter-spacing:.07em;
  padding:5px 9px;white-space:nowrap}
.vhead strong{font-size:17px}
.vbody{padding:17px}
.vbody p{margin:0 0 10px;font-size:15.5px}.vbody p:last-child{margin:0}
/* The territory-status caveat. It has to survive being read alongside a green
   ENERGY TRUST badge and a dollar table, so it is ruled off rather than blended
   into the body copy. */
.vbody p.vcaveat{font-size:14.5px;margin-top:12px;padding:11px 13px;
  border-left:3px solid var(--warnrule,#b45309);background:rgba(255,255,255,.55)}
/* The results pane takes focus after a check (tabindex=-1) so a keyboard user
   is not left focused on an off-screen button. Make that visible. */
[data-f=out]:focus{outline:2px solid var(--accent,#b68235);outline-offset:4px}
[data-f=out]:focus:not(:focus-visible){outline:none}
.v-ok{border-color:var(--okrule);background:var(--okbg)}
.v-ok .vhead{border-color:var(--okrule)}.v-ok .vb{background:var(--ok);color:#fff}
.v-warn{border-color:var(--warnrule);background:var(--warnbg)}
.v-warn .vhead{border-color:var(--warnrule)}.v-warn .vb{background:var(--warn);color:#fff}
.v-dead{border-color:var(--deadrule);background:var(--deadbg)}
.v-dead .vhead{border-color:var(--deadrule)}.v-dead .vb{background:var(--dead);color:#fff}
.resolve{opacity:0;transform:translateY(8px)}
.resolve.in{opacity:1;transform:none;transition:opacity .3s ease,transform .3s ease}

/* ---------- portal ---------- */
.demoband{background:var(--warnbg);border-bottom:1px solid var(--warnrule);color:#5C4600;
  font-size:14px;padding:11px 0}
.demoband .wrap-wide{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.demoband button{background:none;border:1px solid var(--warnrule);color:#5C4600;font-size:12px;
  font-family:var(--mono);padding:5px 9px;cursor:pointer;min-height:auto}
.tabs{display:flex;flex-wrap:wrap;gap:0;border:1px solid var(--strong);border-bottom:none;background:var(--panel)}
.tabs button{flex:1 1 auto;background:var(--panel);border:none;border-right:1px solid var(--rule);
  border-bottom:1px solid var(--strong);font-family:var(--mono);font-size:12px;letter-spacing:.04em;
  text-transform:uppercase;font-weight:700;color:var(--muted);padding:14px 10px;cursor:pointer;
  min-height:48px;width:auto}
.tabs button:last-child{border-right:none}
.tabs button[aria-selected=true]{background:var(--ink);color:#fff;border-bottom-color:var(--ink)}
.pane{border:1px solid var(--strong);border-top:none;background:var(--panel);padding:22px 20px}
.pane[hidden]{display:none}
.alertbar{border:1px solid var(--warnrule);background:var(--warnbg);color:#5C4600;
  padding:14px 16px;margin-bottom:20px;font-size:15px}
.alertbar strong{color:#3D2F00}
.seq{list-style:none;margin:0;padding:0;border:1px solid var(--strong);background:var(--panel)}
.seq li{padding:13px 16px;border-bottom:1px solid var(--rule);font-size:15px;display:flex;gap:12px}
.seq li:last-child{border-bottom:none}
.seq .n{font-family:var(--mono);font-size:12px;color:var(--muted);flex:none;width:22px}
.seq .gate{background:var(--ink);color:#fff;font-family:var(--mono);font-size:13px;font-weight:700;
  letter-spacing:.08em;justify-content:center;text-align:center}
.seq .blocked{background:var(--warnbg)}
.seq small{display:block;color:var(--muted);font-size:13px;margin-top:3px}
.seq .blocked small{color:#5C4600}
.chk{list-style:none;margin:0;padding:0}
.chk li{padding:11px 0;border-bottom:1px solid var(--rule2);display:flex;gap:11px;align-items:flex-start;font-size:15px}
.chk input{width:auto;min-height:auto;margin:3px 0 0;flex:none;-webkit-appearance:checkbox;appearance:checkbox}
.copybox{font-family:var(--mono);font-size:12.5px;line-height:1.7;white-space:pre-wrap;
  border:1px solid var(--strong);background:#F7F5F1;padding:15px;overflow-x:auto;margin:0 0 12px}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(12px)}
.reveal.in{opacity:1;transform:none;transition:opacity .3s ease,transform .3s ease}

/* ---------- footer ---------- */
footer{padding:34px 0 60px;font-size:13.5px;color:var(--muted);background:var(--panel);
  border-top:1px solid var(--rule)}
footer p{max-width:74ch;margin:0 0 9px}
footer nav{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:16px}
footer nav a{font-family:var(--mono);font-size:12px;padding:4px 0;min-height:24px;
  display:inline-flex;align-items:center}   /* same 24px minimum as the masthead */
.datastamp{font-family:var(--mono);font-size:12px;border:1px solid var(--rule);
  background:var(--bg);padding:10px 12px;display:inline-block;margin-bottom:16px}

.nojs{padding:16px;border:1px solid var(--warnrule);background:var(--warnbg);margin:20px 0}

@media(prefers-reduced-motion:reduce){
  .why div,.tile.reveal,.reveal,.zipgrid i,.resolve{opacity:1!important;transform:none!important;transition:none!important}
}
@media print{
  .masthead,.ctarow,.tabs,.demoband,footer nav{display:none}
  body{background:#fff;font-size:12pt}
  .panel,.sheet,.log,.nots{border-color:#000}
  a{color:#000;text-decoration:underline}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:9pt;word-break:break-all}
}

/* Visually hidden — present for screen readers and heading structure, off-screen
   for sighted users. Used for section headings that the visual design carries
   through layout instead of a rendered title (WCAG 1.3.1, 2.4.6). */
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ---------- horizontally scrollable tables ----------
   Confines a wide table's overflow to the table instead of pushing the document
   sideways. NO min-width:max-content here — forcing it stops a prose-heavy table
   wrapping and blew sources.html out to 2158px on DESKTOP, breaking a page that
   was fine. The wrapper alone is enough. The edge shadow is the affordance:
   without it a phone user has no signal that more columns exist. */
.tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.tscroll[data-scrollable]{
  background:linear-gradient(to right,rgba(0,0,0,.10),rgba(0,0,0,0)),
             linear-gradient(to left,rgba(0,0,0,.10),rgba(0,0,0,0)) 100% 0;
  background-repeat:no-repeat;background-size:12px 100%,12px 100%;
  background-attachment:scroll,scroll}
.tscroll[data-scrollable]:focus-visible{outline:3px solid currentColor;outline-offset:2px}
