/* ============================================================
   MERIDIAN DISPATCH // TERMINAL OVERRIDE LAYER
   Mr Robot / data-console grammar
   Loaded AFTER inline <style> on every Dispatch page.
   ============================================================ */

/* ---------- palette override ---------- */
:root {
  --paper: #050706;
  --card: #070a08;
  --ink: #e8f0e9;
  --muted: #8a968c;
  --faint: #5e6b60;
  --line: #142016;
  --line2: #1e2e21;
  --bronze: #43d96b;
  --bronze-deep: #43d96b;
  --bronze-wash: rgba(67,217,107,.08);
  --red: #e4485c;
  --red-wash: rgba(228,72,92,.1);
  --dark: #050706;
  --gA: #43d96b;
  --gB: #43d96b;
  --gC: #8a968c;
  --serif: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- global base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { background: #050706; }

body {
  background: #050706;
  color: #c8d1c9;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* scanline overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,.015) 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
  z-index: 9999;
}

a { color: inherit; }
a:hover { color: #43d96b; }

/* ---------- skip link ---------- */
.skip { background: #070a08; color: #43d96b; border: 1px solid #1e2e21; }

/* ---------- ticker ---------- */
.ticker {
  background: #070a08 !important;
  color: #8a968c !important;
  border-bottom: 1px solid #1e2e21 !important;
}
.ticker .wrap {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
}
.ticker .tk-label {
  background: #e4485c !important;
  color: #050706 !important;
  font-weight: 700;
  letter-spacing: .16em;
}
.ticker .tk-br {
  background: #e4485c !important;
  color: #050706 !important;
}
.ticker a { color: #8a968c !important; }
.ticker a:hover { color: #e8f0e9 !important; }
.ticker .dot { color: #5e6b60 !important; }
.ticker .tk-live { color: #43d96b !important; }
.ticker .tk-live i { background: #43d96b !important; }

/* ---------- nav ---------- */
.nav {
  background: #050706 !important;
  border-bottom: 1px solid #142016 !important;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav .wrap > a:first-child { color: #5e6b60 !important; }
.nav .wrap > a:first-child:hover { color: #43d96b !important; }

.brand .wm b { color: #e8f0e9 !important; }
.brand .wm span { color: #e4485c !important; }
.brand .sec {
  color: #5e6b60 !important;
  border-left-color: #1e2e21 !important;
}

.navlinks a {
  color: #5e6b60 !important;
  font-family: var(--mono);
}
.navlinks a:hover { color: #e8f0e9 !important; }
.navlinks a.on {
  color: #43d96b !important;
  border-bottom: 2px solid #43d96b !important;
}

/* ---------- stats bar ---------- */
.statsbar {
  background: #050706 !important;
  border-bottom: 1px solid #142016 !important;
}
.statsbar .wrap {
  display: flex !important;
}
.statsbar .st {
  color: #5e6b60 !important;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  flex: 1;
  text-align: center;
  padding: 18px 12px;
  border-right: 1px solid #142016;
}
.statsbar .st:last-child { border-right: none; }
.statsbar .st b {
  color: #e8f0e9 !important;
  display: block;
  font-size: 22px;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.statsbar .st.alert b { color: #e4485c !important; }

/* ---------- front page grid: lead + wire split ---------- */
.front {
  display: grid !important;
  grid-template-columns: 1.35fr 1fr !important;
  gap: 0 !important;
  padding: 0 !important;
}
.front > div:first-child,
.front > div:first-of-type {
  border-right: 1px solid #142016;
}
/* lead dispatch */
.lead {
  padding: 44px 48px !important;
}
.lead .kick {
  margin-bottom: 18px !important;
}
.lead .kick .utag {
  font-size: 10px;
  letter-spacing: .22em;
  color: #e4485c;
  background: transparent !important;
  border: none;
  padding: 0;
  font-weight: 400;
}
.lead .kick .utag::before { content: "> "; }
.lead h1 {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 30px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #e8f0e9 !important;
  letter-spacing: -.01em !important;
}
.lead h1 a { color: #e8f0e9 !important; }
.lead h1 a:hover { color: #43d96b !important; }
.lead .dek,
.lead p.dek {
  font-family: 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  color: #8a968c !important;
  font-weight: 400 !important;
}
.lead .meta {
  color: #5e6b60 !important;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
}

/* rail → wire panel */
.rail {
  padding: 0 !important;
}
.rail .panel {
  border: none !important;
  border-bottom: 1px solid #142016 !important;
  background: transparent !important;
  margin-bottom: 0 !important;
}
.rail .panel-h {
  padding: 14px 40px !important;
  border-bottom: 1px solid #142016 !important;
  background: transparent !important;
}
.rail .panel-h .t {
  color: #43d96b !important;
  font-family: var(--mono);
}
.rail .panel-h .t::before { content: "> "; }
.rail .panel-h .live { color: #43d96b !important; }
.rail .panel-h .live i { background: #43d96b !important; }

.wireline {
  padding: 15px 40px !important;
  border-bottom: 1px solid #142016 !important;
  display: flex !important;
  gap: 16px !important;
  align-items: baseline !important;
  flex-wrap: wrap;
}
.wireline .wm1 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 2px;
  flex: none;
  width: 100%;
}
.wireline .wd { color: #5e6b60 !important; flex: none; width: 90px; }
.wireline h4 {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: #c8d1c9 !important;
  font-weight: 400 !important;
}
.wireline:hover h4 { color: #e8f0e9 !important; }

.panel-f {
  padding: 11px 40px !important;
}
.panel-f a { color: #43d96b !important; }

/* urgency tags in terminal palette */
.utag {
  font-family: var(--mono) !important;
  font-size: 8.5px !important;
  letter-spacing: .14em !important;
  padding: 2px 7px !important;
  font-weight: 600 !important;
  border: 1px solid !important;
}
.u-BREAKING {
  background: transparent !important;
  color: #e4485c !important;
  border-color: rgba(228,72,92,.5) !important;
}
.u-ELEVATED {
  background: transparent !important;
  color: #43d96b !important;
  border-color: rgba(67,217,107,.4) !important;
}
.u-NORMAL {
  background: transparent !important;
  color: #8a968c !important;
  border-color: #1e2e21 !important;
}

/* tag pills */
.tag {
  border-color: #1e2e21 !important;
  color: #8a968c !important;
  background: transparent !important;
}
/* grade badges */
.grade {
  border: 1px solid !important;
}
.gA { color: #43d96b !important; border-color: #43d96b !important; }
.gB { color: #43d96b !important; border-color: rgba(67,217,107,.5) !important; }
.gC { color: #8a968c !important; border-color: #5e6b60 !important; }

/* status badges */
.status { font-family: var(--mono) !important; }
.s-ACTIVE { color: #e4485c !important; border-color: #e4485c !important; background: transparent !important; }
.s-INDICTED { color: #e8f0e9 !important; background: rgba(228,72,92,.2) !important; border-color: #e4485c !important; }
.s-SANCTIONED { color: #43d96b !important; border-color: rgba(67,217,107,.4) !important; background: rgba(67,217,107,.06) !important; }
.s-PARTIALLY { color: #8a968c !important; border-color: #5e6b60 !important; background: transparent !important; }
.s-UNVERIFIED { color: #5e6b60 !important; border-color: #1e2e21 !important; background: transparent !important; }

/* atlas card on front page */
.atlascard {
  background: #070a08 !important;
  color: #c8d1c9 !important;
  border: 1px solid #1e2e21 !important;
}
.atlascard .gridbg {
  background-image:
    linear-gradient(rgba(67,217,107,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,217,107,.04) 1px, transparent 1px) !important;
  background-size: 26px 26px !important;
}
.atlascard .t { color: #43d96b !important; }
.atlascard .cs {
  border-color: rgba(67,217,107,.4) !important;
  color: #43d96b !important;
}
.atlascard .go { color: #e8f0e9 !important; }
.atlascard .go:hover { color: #43d96b !important; }

/* methodology panel on front */
.rail .panel:last-of-type div[style] {
  color: #8a968c !important;
}
.rail .panel:last-of-type div[style] a { color: #43d96b !important; }

/* ---------- section heads ---------- */
.sechead h2 {
  font-family: var(--mono) !important;
  color: #43d96b !important;
}
.sechead h2::before { content: "> "; }
.sechead .rule {
  background: #142016 !important;
}
.sechead a { color: #43d96b !important; }

/* ---------- story cards (front page dispatches list) ---------- */
.story {
  border-top: 1px solid #142016 !important;
  padding: 22px 0;
}
.story h3 {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  color: #e8f0e9 !important;
}
.story h3 a { color: #e8f0e9 !important; }
.story h3 a:hover { color: #43d96b !important; }
.story p {
  color: #8a968c !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
}
.story .kick { margin-bottom: 8px; }

/* ---------- page heads (wire, atlas, sources, etc.) ---------- */
.pagehead {
  border-bottom: 1px solid #142016 !important;
  padding: 46px 0 30px;
}
.pagehead .crumb { color: #5e6b60 !important; }
.pagehead .crumb a { color: #43d96b !important; }
.pagehead h1 {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 700 !important;
  color: #e8f0e9 !important;
  font-size: 32px !important;
  letter-spacing: -.01em;
}
.pagehead .dek {
  font-family: 'Inter', sans-serif !important;
  color: #8a968c !important;
  font-weight: 400 !important;
}

/* ---------- wire page filters ---------- */
.filters {
  border-bottom: 1px solid #142016 !important;
  padding: 16px 0;
}
.filters .mono { color: #5e6b60 !important; }
.fgroup .fl { color: #5e6b60 !important; }
.fbtn {
  border: 1px solid #1e2e21 !important;
  color: #8a968c !important;
  background: transparent !important;
  font-family: var(--mono) !important;
}
.fbtn:hover { border-color: #43d96b !important; color: #43d96b !important; }
.fbtn.on {
  background: rgba(67,217,107,.12) !important;
  color: #43d96b !important;
  border-color: #43d96b !important;
}

/* ---------- wire items ---------- */
.witem {
  border-bottom: 1px solid #142016 !important;
  padding: 24px 0;
}
.witem .wdate { color: #5e6b60 !important; }
.witem h3 {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  color: #e8f0e9 !important;
}
.witem p {
  color: #8a968c !important;
  font-family: 'Inter', sans-serif !important;
}
.witem .wsrc .org { color: #5e6b60 !important; }
.witem .wsrc a { color: #43d96b !important; }
.witem .wsrc a:hover { color: #e8f0e9 !important; }

/* ---------- cards grid (dispatches, citizen-ops, get-involved, etc.) ---------- */
.cards {
  gap: 0 !important;
}
.card {
  background: #070a08 !important;
  border: 1px solid #1e2e21 !important;
  border-radius: 0 !important;
  padding: 24px;
}
.card h3 {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  color: #e8f0e9 !important;
}
.card .sub { color: #5e6b60 !important; }
.card p {
  color: #8a968c !important;
  font-family: 'Inter', sans-serif !important;
}
.card .tags .tag {
  border-color: #1e2e21 !important;
  color: #5e6b60 !important;
}

/* buttons */
.btn {
  border: 1px solid #1e2e21 !important;
  color: #e8f0e9 !important;
  background: transparent !important;
  font-family: var(--mono) !important;
  border-radius: 0 !important;
}
.btn:hover {
  background: rgba(67,217,107,.12) !important;
  border-color: #43d96b !important;
  color: #43d96b !important;
}
.btn.solid {
  background: rgba(67,217,107,.15) !important;
  border-color: #43d96b !important;
  color: #43d96b !important;
}
.btn.solid:hover {
  background: #43d96b !important;
  color: #050706 !important;
}

/* ---------- article pages ---------- */
.article {
  padding: 46px 0 70px;
}
.article .crumb { color: #5e6b60 !important; }
.article .crumb a { color: #43d96b !important; }
.article .kick .tag { border-color: #1e2e21 !important; color: #5e6b60 !important; }
.article h1 {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 700 !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  color: #e8f0e9 !important;
  letter-spacing: -.01em;
}
.article .dek {
  font-family: 'Inter', sans-serif !important;
  color: #8a968c !important;
  font-weight: 400 !important;
  font-size: 16px !important;
}
.article .byline {
  border-top: 1px solid #142016 !important;
  border-bottom: 1px solid #142016 !important;
  color: #5e6b60 !important;
}
.article .byline span { color: #5e6b60 !important; }
.article .body p {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #c8d1c9 !important;
}
.article .body h2 {
  font-family: var(--mono) !important;
  color: #43d96b !important;
  font-size: 11px !important;
  letter-spacing: .22em !important;
  text-transform: uppercase;
  margin: 40px 0 16px;
}
.article .body h2::before { content: "> "; }
.article .body strong { color: #e8f0e9; }

/* source manifest */
.srcman {
  background: #070a08 !important;
  border: 1px solid #1e2e21 !important;
}
.srcman .smh {
  border-bottom: 1px solid #142016 !important;
  color: #43d96b !important;
  font-family: var(--mono);
}
.srcman a {
  border-bottom-color: #142016 !important;
  color: #8a968c !important;
}
.srcman a:hover { color: #e8f0e9 !important; }
.srcman a span { color: #43d96b !important; }

/* correction note */
.article .meta a { color: #43d96b !important; }

/* ---------- atlas page ---------- */
.mapbox {
  background: #070a08 !important;
  border: 1px solid #1e2e21 !important;
}
.mapbox .gridbg {
  background-image:
    linear-gradient(rgba(67,217,107,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,217,107,.05) 1px, transparent 1px) !important;
  background-size: 30px 30px !important;
}
.mapbox .mlabel { color: #5e6b60 !important; }
.mdot.red { background: #e4485c !important; box-shadow: 0 0 16px rgba(228,72,92,.8) !important; }
.mdot.bronze { background: #43d96b !important; box-shadow: 0 0 14px rgba(67,217,107,.8) !important; }
.mdot.grey { background: #5e6b60 !important; }

.comingsoon { background: rgba(5,7,6,.72) !important; }
.comingsoon .csbox {
  border: 1px solid #43d96b !important;
  background: rgba(7,10,8,.95) !important;
}
.comingsoon .cs1 { color: #43d96b !important; }
.comingsoon .cs2 { color: #5e6b60 !important; }

/* register entries */
.centry {
  border-bottom: 1px solid #142016 !important;
}
.centry h3 {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 600 !important;
  color: #e8f0e9 !important;
}
.centry .cc { color: #5e6b60 !important; }
.centry p {
  color: #8a968c !important;
  font-family: 'Inter', sans-serif !important;
}
.centry .csrc a { color: #43d96b !important; }

/* ---------- forms (tips, get-involved) ---------- */
.formgrid {
  padding: 40px 0 70px;
}
.fcol h2 {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 700 !important;
  color: #e8f0e9 !important;
}
.fcol .fintro {
  color: #8a968c !important;
  font-family: 'Inter', sans-serif !important;
}

.chanbox {
  background: #070a08 !important;
  border: 1px solid #1e2e21 !important;
}
.chanbox .chn { color: #e8f0e9 !important; }
.chanbox p { color: #8a968c !important; }
.chanbox .chh .tag { border-color: #1e2e21 !important; color: #5e6b60 !important; }

.notice {
  border-top-color: #1e2e21 !important;
}
.notice .nt { color: #43d96b !important; }
.notice p { color: #8a968c !important; }

label { color: #5e6b60 !important; }
input[type=text], input[type=email], textarea, select {
  background: #070a08 !important;
  border: 1px solid #1e2e21 !important;
  color: #e8f0e9 !important;
  font-family: var(--mono) !important;
  border-radius: 0 !important;
}
input:focus, textarea:focus, select:focus {
  border-color: #43d96b !important;
  outline: none;
}
input::placeholder, textarea::placeholder { color: #5e6b60 !important; }

.risks { }
.riskbtn {
  border: 1px solid #1e2e21 !important;
  color: #8a968c !important;
  background: transparent !important;
  font-family: var(--mono) !important;
}
.riskbtn.on {
  border-color: #43d96b !important;
  color: #43d96b !important;
  background: rgba(67,217,107,.08) !important;
}
.fnote { color: #5e6b60 !important; }

.submitbtn {
  background: rgba(67,217,107,.15) !important;
  color: #43d96b !important;
  border: 1px solid #43d96b !important;
  font-family: var(--mono) !important;
  border-radius: 0 !important;
}
.submitbtn:hover {
  background: #43d96b !important;
  color: #050706 !important;
}

.formok {
  border-color: #43d96b !important;
  background: rgba(67,217,107,.08) !important;
  color: #43d96b !important;
}
.formerr {
  border-color: #e4485c !important;
  background: rgba(228,72,92,.08) !important;
  color: #e4485c !important;
}

/* ---------- stats band ---------- */
.band {
  background: #070a08 !important;
  border-top: 1px solid #1e2e21 !important;
  border-bottom: 1px solid #1e2e21 !important;
}
.band .wrap {
  padding: 36px 28px;
}
.band .bn {
  font-family: 'JetBrains Mono', monospace !important;
  color: #e8f0e9 !important;
}
.band .bl { color: #8a968c !important; }
.band .bs { color: #5e6b60 !important; }

/* ---------- quote block ---------- */
.quote {
  background: #070a08 !important;
  color: #c8d1c9 !important;
  border-top: 1px solid #1e2e21;
  border-bottom: 1px solid #1e2e21;
}
.quote .q {
  font-family: 'Inter', sans-serif !important;
  color: #e8f0e9 !important;
  font-weight: 300;
}
.quote .qa { color: #5e6b60 !important; }

/* ---------- tools grid ---------- */
.tool {
  background: #070a08 !important;
  border: 1px solid #1e2e21 !important;
}
.tool .tn { color: #43d96b !important; }
.tool h3 {
  font-family: 'JetBrains Mono', monospace !important;
  color: #e8f0e9 !important;
}
.tool p { color: #8a968c !important; }

/* tiers */
.tiers {
  background: #070a08 !important;
  border: 1px solid #1e2e21 !important;
}
.tier {
  border-bottom-color: #142016 !important;
}
.tier .tn { color: #43d96b !important; }
.tier p { color: #8a968c !important; }

/* ---------- subscribe bar ---------- */
.subbar {
  background: #070a08 !important;
  border-top: 1px solid #1e2e21 !important;
}
.subbar .sblabel { color: #43d96b !important; }
.subbar .sbtext { color: #8a968c !important; }
.subbar input[type=email] {
  border: 1px solid #1e2e21 !important;
  background: transparent !important;
  color: #e8f0e9 !important;
}
.subbar input[type=email]::placeholder { color: #5e6b60 !important; }
.subbar input[type=email]:focus { border-color: #43d96b !important; }
.subbar .sbbtn {
  background: rgba(67,217,107,.15) !important;
  color: #43d96b !important;
  border: 1px solid #43d96b !important;
}
.subbar .sbbtn:hover {
  background: #43d96b !important;
  color: #050706 !important;
}
.subbar .sbok { color: #43d96b !important; }

/* ---------- footer ---------- */
footer {
  background: #050706 !important;
  border-top: 1px solid #142016 !important;
}
.fgrid .fh { color: #43d96b !important; }
.fgrid a { color: #8a968c !important; }
.fgrid a:hover { color: #e8f0e9 !important; }
.fgrid p { color: #5e6b60 !important; }
.fbase {
  border-top: 1px solid #142016 !important;
}
.fbase .l { color: #5e6b60 !important; }

/* ---------- livewire flash ---------- */
@keyframes lwflash {
  0% { background: rgba(67,217,107,.15); }
  100% { background: transparent; }
}
.lw-new { animation: lwflash 2.6s ease-out; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .front {
    grid-template-columns: 1fr !important;
  }
  .front > div:first-child,
  .front > div:first-of-type {
    border-right: none !important;
    border-bottom: 1px solid #142016;
  }
  .lead { padding: 30px 20px !important; }
  .lead h1 { font-size: 24px !important; }
  .pagehead h1 { font-size: 24px !important; }
  .article h1 { font-size: 24px !important; }
  .cards, .tools { grid-template-columns: 1fr !important; }
  .formgrid { grid-template-columns: 1fr !important; }
  .band .wrap { grid-template-columns: 1fr 1fr !important; }
  .fgrid { grid-template-columns: 1fr 1fr !important; }
  .witem { grid-template-columns: 1fr !important; }
  .centry { grid-template-columns: 1fr !important; }
  .centry .cright { text-align: left !important; padding: 0 0 4px !important; }
  .wireline { padding: 15px 20px !important; }
  .rail .panel-h { padding: 14px 20px !important; }
  .panel-f { padding: 11px 20px !important; }
  .statsbar .st { font-size: 8px; padding: 12px 6px; }
  .statsbar .st b { font-size: 16px; }
  .navlinks {
    mask-image: linear-gradient(90deg, #000 92%, transparent) !important;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent) !important;
  }
}

@media (max-width: 640px) {
  .statsbar .wrap {
    flex-wrap: wrap;
    gap: 0;
  }
  .statsbar .st {
    flex: 0 0 33.333%;
    border-bottom: 1px solid #142016;
  }
  .lead h1 { font-size: 20px !important; }
  .wrap, .narrow { padding-left: 18px !important; padding-right: 18px !important; }
}

/* ---------- link color in body copy ---------- */
.meta a,
.meta span a {
  color: #43d96b !important;
}

/* ---------- crumb on article pages (inline style override) ---------- */
div[class*="crumb"][style] {
  color: #5e6b60 !important;
}
div[class*="crumb"][style] a,
.crumb a[style] {
  color: #43d96b !important;
}

/* ---------- misc inline-style overrides ---------- */
/* the "← MERIDIANOFFICE.ORG" link has inline style */
.nav .wrap > a[style] {
  color: #5e6b60 !important;
}
.nav .wrap > a[style]:hover {
  color: #43d96b !important;
}

/* crumb breadcrumbs with inline color */
.mono[style*="color"] {
  color: #5e6b60 !important;
}
.mono[style*="color"] a[style] {
  color: #43d96b !important;
}

/* meta with inline margin:0 */
.kick .meta[style] span {
  color: #5e6b60 !important;
}

/* methodology panel text color */
.rail .panel div[style*="padding"] {
  color: #8a968c !important;
}
.rail .panel div[style*="padding"] a[style] {
  color: #43d96b !important;
}

/* sources page article style content */
.article .body ul,
.article .body ol {
  color: #c8d1c9;
  font-family: 'Inter', sans-serif;
  padding-left: 24px;
  margin-bottom: 20px;
}
.article .body li {
  margin-bottom: 8px;
  line-height: 1.65;
}
.article .body a {
  color: #43d96b;
}
.article .body a:hover { color: #e8f0e9; }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #050706; }
::-webkit-scrollbar-thumb { background: #1e2e21; }
::-webkit-scrollbar-thumb:hover { background: #43d96b; }

/* ---------- selection ---------- */
::selection { background: rgba(67,217,107,.25); color: #e8f0e9; }
::-moz-selection { background: rgba(67,217,107,.25); color: #e8f0e9; }

/* Approved compact Dispatch footer. Navigation already lives in the masthead. */
footer .fgrid { display: none !important; }
footer .fbase {
  min-height: 58px;
  align-items: center;
  border-top: 0 !important;
  padding: 20px 0 !important;
}
footer .fbase .l:first-child::after {
  content: " // EVERY CLAIM GRADED A/B/C // RSS + JSON OPEN";
  color: #43d96b;
}
@media (max-width: 640px) {
  footer .fbase { align-items: flex-start; flex-direction: column; }
}

/* Uninterrupted Meridian wash: Dispatch inherits one terminal type system. */
html body *:not(#meridian-terminal-wash) {
  font-family: var(--mono) !important;
}

/* ============================================================
   FIXES 2026-08-24: statsbar clipping + nav overflow
   ============================================================ */

/* Statsbar: inline style pins .wrap to 42px, but the terminal
   two-line stat (22px number + label + 18px padding) needs ~75px.
   Labels were clipped mid-glyph on every Dispatch page. */
.statsbar .wrap {
  height: auto !important;
  min-height: 0 !important;
  gap: 0 !important;
  align-items: stretch !important;
  overflow: visible !important;
}

/* Nav: masthead + tagline + 8 links overflow below ~1820px and the
   last links clipped with no affordance ("ABOU"). Shed weight in
   steps instead of clipping. */
@media (max-width: 1820px) {
  .brand .sec { display: none !important; }
}
@media (max-width: 1280px) {
  .navlinks { gap: 13px !important; }
  .navlinks a { letter-spacing: .1em !important; }
}
@media (max-width: 1100px) {
  .navlinks {
    mask-image: linear-gradient(90deg, #000 92%, transparent) !important;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent) !important;
  }
}

/* Tagline returns above 1820px; nav still ran ~7px over up to ~2000px.
   Tighten link gap slightly in that band. */
@media (min-width: 1821px) and (max-width: 2100px) {
  .navlinks { gap: 18px !important; }
}
