
/* ChaseDesk dark dossiers v1
   Applies ONLY to permanent project articles. Do not style city/state indexes here.
   Keeps existing history, evidence, status categories and source links untouched. */
body[data-chasedesk-identity="article"] {
  color-scheme: dark;
  --cd-ink: #eff5f3;
  --cd-muted: #babfbd;
  --cd-copper: #f0b18a;
  --cd-copper-dark: #e8a17e;
  --cd-teal: #8ad8bd;
  --cd-pale-teal: #2d3531;
  --cd-rule: #484b4e;
  --cd-paper: #232527;
  --cd-warm: #18191b;
  --ink: #eff5f3;
  --muted: #babfbd;
  --brand: #eff5f3;
  --link: #8ad8bd;
  --accent: #8ad8bd;
  --line: #484b4e;
  --rule: #484b4e;
  --soft: #323536;
  --sage: #2d3531;
  --bg: #18191b;
  --paper: #232527;
  --light: #2d3531;
  --amber: #efc68b;
  --amber-bg: #493b29;
  background: radial-gradient(ellipse 72% 520px at 85% -80px, rgba(167,148,119,.075), transparent 75%),
              linear-gradient(160deg, #202123, #18191b 520px, #141517) !important;
  color: #eaf2ef;
}
body[data-chasedesk-identity="article"] :is(a,summary,button,input):focus-visible {
  outline-color: #f0b18a;
}
body[data-chasedesk-identity="article"] a,
body[data-chasedesk-identity="article"] main a:not([class]):not(:hover) {
  color: #92ddc5;
  text-decoration-color: #5c9c8c;
}
body[data-chasedesk-identity="article"] a:hover { color: #c5f4de; }
body[data-chasedesk-identity="article"] :is(h1,h2,h3,h4),
body[data-chasedesk-identity="article"] :is(.panel-title h3,.section-header h2,.snapshot-value,.figure strong,.cd-record-story h3,.cd-overview h2,.timeline h2,.timeline-title,.confidence-panel h2,.confidence-panel summary,.notes summary) {
  color: #f3f7f5;
}
body[data-chasedesk-identity="article"] :is(main, .article-body, .project-intelligence, .explainer, .stack, .grid, .sources) { color: #e6eeec; }
body[data-chasedesk-identity="article"] :is(
  .lead, .intro .lead, .hero .lead, .article-body p, .panel-content p,
  .timeline p, .timeline-text, .timeline-intro, .cd-record-story p, .cd-record-story .cd-record-lead,
  .cd-overview p, .cd-overview .cd-disclaimer, .explainer p, .intel-section p,
  .confidence-explainer, .confidence-legend, .claim-detail, .claim-detail small, .trade-item p,
  .cta p, .offer p, .notes p, .sources small, .snapshot-small, .visuals small,
  .warning p, .uncertainty p, .summary p
) { color: #cdd0ca !important; }
body[data-chasedesk-identity="article"] :is(
  .meta, .review, .snapshot-label, .figure span, .panel-title .meta,
  .fact dt, .cd-glance dt, .cd-record-facts dt, .timeline-date,
  .timeline time, .timeline .date, .verified-note, .latest-date, .eyebrow,
  .breadcrumbs, .breadcrumb, .section-header p, .confidence-hint,
  .timeline-kind, .source-review, .source-meta
) { color: #babfb8; }
body[data-chasedesk-identity="article"] :is(
  .review strong, .fact dd, .cd-glance dd, .cd-record-facts dd, .snapshot-item strong,
  .snapshot-value, .figure strong, .claim-detail strong, .panel-content strong
) { color: #eff5f3; }
body[data-chasedesk-identity="article"] :is(.eyebrow,.verified-note,.section-kicker) {
  color: #f0b18a;
}
body[data-chasedesk-identity="article"] :is(.breadcrumbs a,.breadcrumb a) {color: #9bdac5;}

/* Dark navigation and readable white logos, across adaptive and bespoke articles. */
body[data-chasedesk-identity="article"] :is(.site-nav, header:has(.top .back), header:has(.top a.back), header:has(.nav-inner)) {
  background: #1b1d1f !important;
  border-bottom: 1px solid #44484b !important;
  color: #ecf5ef !important;
}
body[data-chasedesk-identity="article"] .site-nav img,
body[data-chasedesk-identity="article"] header:has(.top .back) .top img,
body[data-chasedesk-identity="article"] header:has(.top a.back) .top img,
body[data-chasedesk-identity="article"] header:has(.nav-inner) img {
  filter: none !important;
}
body[data-chasedesk-identity="article"] :is(.site-nav a, .site-nav .nav-inner a, header .top a.back, .nav-inner a) {
  color: #d7e9e4 !important;
}
body[data-chasedesk-identity="article"] :is(.site-nav a,header .top a.back,.nav-inner a):hover { color: #fff !important; }
body[data-chasedesk-identity="article"] .intro { border-bottom-color: #44484b; background: transparent; }
body[data-chasedesk-identity="article"] :is(.hero,.intro) {background-color: transparent;}
body[data-chasedesk-identity="article"] :is(.statusbar, .hero .meta) { color: #c0c4c0; }

/* Every panel that could otherwise retain pale surfaces. */
body[data-chasedesk-identity="article"] :is(
  .panel, .snapshot, .summary, .cd-record-grid, .cd-record-story, .cd-overview,
  .timeline, .confidence-panel, .notes, .trade-item, .figure, .visuals a, .visual-link,
  .cd-glance div, .facts-card, .fact-card, .fact-panel,
  .sources-panel, .evidence-card, .intelligence-card, .project-card,
  .claim-card, .timeline-card, .info-card, .data-card, .callout,
  .project-intelligence, .page-nav a, .cta, .offer
) {
  background: #242628 !important;
  border-color: #484b4e !important;
  color: #eaf2f0;
  box-shadow: 0 8px 25px rgba(0,0,0,.11);
}
body[data-chasedesk-identity="article"] :is(
  .panel-title, .panel-content, .snapshot-item, .figure, .figures,
  .fact, .sources li, .timeline li, .timeline-list,
  .claim-list li, .confidence-legend, .trade-item,
  .cd-record-facts>div, .cd-glance div, .section-header,
  .article-body section, .intel-section
) {
  border-color: #484b4e !important;
}
body[data-chasedesk-identity="article"] :is(
  .cd-record-facts, .facts, .figures, dl, .panel-content, .confidence-content
) {color: #eaf2f0;}
body[data-chasedesk-identity="article"] .cd-record-facts { background: #2a2c2e !important; }
body[data-chasedesk-identity="article"] :is(.cd-overview,.cta,.offer,.cd-project-enquiries) {
  background: #292c2d !important;
  border-color: #48514c !important;
  color: #eaf2f0 !important;
}
body[data-chasedesk-identity="article"] :is(.cd-overview p,.cd-overview .cd-disclaimer,.cta p,.offer p) {color:#b9ccca!important;}
body[data-chasedesk-identity="article"] .cd-project-enquiries {border-left-color:#81d0ae!important;}
body[data-chasedesk-identity="article"] .cd-project-enquiries :is(strong,span) {color:#e6f4ee!important;}
body[data-chasedesk-identity="article"] .cd-project-enquiries a {color:#a4f0ce!important;}
body[data-chasedesk-identity="article"] :is(.snapshot-item:first-child,.uncertainty,.warning,.milestone-alert) {border-color:#e3a67c!important;}

/* Status, warnings and assessment labels stay semantically distinct. */
body[data-chasedesk-identity="article"] :is(.status,.cd-status,.confidence-score,.timeline-kind) {
  border: 1px solid #47635e;
  background: #2a322d;
  color: #b3edcf;
}
body[data-chasedesk-identity="article"] :is(.status.upcoming,.cd-status.upcoming,.timeline-kind-scheduled,.confidence-score.medium) {
  background: #493726!important;
  border-color: #84643f!important;
  color: #f5ce97!important;
}
body[data-chasedesk-identity="article"] :is(.status.archived,.cd-status.archived,.timeline-kind-unverified) {
  background: #303236!important;
  border-color: #555b61!important;
  color: #c9d6dd!important;
}
body[data-chasedesk-identity="article"] .confidence-score.low {
  background: #4c302d!important;
  border-color: #81534b!important;
  color: #f0bab0!important;
}
body[data-chasedesk-identity="article"] :is(.status:not(.upcoming):not(.archived),.cd-status.underway,.timeline-kind-recorded) {
  background: #29362f!important;
  color: #b6f1d6!important;
  border-color: #456c5e!important;
}
body[data-chasedesk-identity="article"] :is(.warning,.uncertainty,.milestone-alert) {
  background: #332a22!important;
  color: #f0c997!important;
}
body[data-chasedesk-identity="article"] :is(.warning p,.uncertainty p,.milestone-alert p) {color:#f0c997!important;}
body[data-chasedesk-identity="article"] :is(.timeline-list,.timeline-list li) {border-color:#49665d!important;}
body[data-chasedesk-identity="article"] .timeline-list li:before {border-color:#242628;}

/* Controls, expandable evidence and pages within articles. */
body[data-chasedesk-identity="article"] :is(input,textarea,select) {
  background: #242729;
  color: #eaf2f0;
  border-color: #535759;
}
body[data-chasedesk-identity="article"] :is(input,textarea)::placeholder {color:#99b2b1;}
body[data-chasedesk-identity="article"] :is(.btn,.page-nav a) {
  background: #264a45!important;
  border: 1px solid #426d61!important;
  color: #dff7eb!important;
}
body[data-chasedesk-identity="article"] :is(.btn,.page-nav a):hover {background:#306257!important;color:#fff!important;}
body[data-chasedesk-identity="article"] details summary {color: #f0f5f3;}
body[data-chasedesk-identity="article"] .notes[open] {background:#242628!important;}
body[data-chasedesk-identity="article"] .notes :is(h3,dt,dd) {color:#edf5f2;}
body[data-chasedesk-identity="article"] .sources :is(li,small) {background:transparent;}

/* Footer and native colour scheme; never touch non-article pages. */
body[data-chasedesk-identity="article"] :is(.footer, footer:not(.footer)) {
  background: #1b1d1f !important;
  border-color: #474b4d !important;
  color: #b6c9c5 !important;
}
body[data-chasedesk-identity="article"] :is(.footer a,footer:not(.footer) a) {color:#9fe0c8!important;}
body[data-chasedesk-identity="article"] :is(hr,table,th,td) {border-color:#484b4e;}
body[data-chasedesk-identity="article"] table {color:#e7f0ed;}
body[data-chasedesk-identity="article"] th {background:#303234;}
body[data-chasedesk-identity="article"] td {background:#242628;}
@media(prefers-reduced-motion:reduce){
  body[data-chasedesk-identity="article"] :is(.panel,.snapshot,.summary,.cd-record-grid,.timeline,.confidence-panel) {
    transition:none!important;
  }
}

/* Cross-template fallbacks for legacy top bars and dense fact tables.
   The body-level selectors outrank inconsistent inline styles. */
body[data-chasedesk-identity="article"] > header:not(.intro) {
  background: #1b1d1f !important;
  color: #eef6f2 !important;
  border-bottom: 1px solid #464a4b !important;
}
body[data-chasedesk-identity="article"] > header:not(.intro) a {
  color: #c8e7dc !important;
}
body[data-chasedesk-identity="article"] > header:not(.intro) img[src*="logo-light"] {filter:none!important;}
body[data-chasedesk-identity="article"] :is(
 .snapshot-label,.snapshot-small,.fact dt,.cd-glance dt,.timeline-date,
 .panel-title .meta,.timeline time,.meta,.review,.sources small,.timeline-kind,
 .confidence-hint,.claim-detail small,.cd-record-facts dt
) { color: #b8ccc7 !important; }
body[data-chasedesk-identity="article"] :is(
 .fact dd,.cd-glance dd,.snapshot-value,.snapshot-item strong,
 .panel-content strong,.cd-record-facts dd,.figure strong,.latest-date
) { color: #f0f8f4 !important; }
body[data-chasedesk-identity="article"] :is(.lead,.hero .lead,.intro .lead) {color:#d0d1cb!important;}
@media(prefers-reduced-motion:no-preference){
 body[data-chasedesk-identity="article"] .cd-reveal-pending {
   transition-duration: 380ms, 480ms;
 }
}

/* Editorial hero paragraph contrast across bespoke Arizona layouts.
   Some records render the deck as an unclassed paragraph rather than .lead. */
body[data-chasedesk-identity="article"] :is(.hero p,.intro p):not(.eyebrow):not(.meta):not(.sub) {
  color: #d2d4ce !important;
}
body[data-chasedesk-identity="article"] :is(.hero .eyebrow,.intro .eyebrow,.eyebrow) {
  color: #efba91 !important;
}
body[data-chasedesk-identity="article"] :is(.hero .sub,.intro .sub) {
  color: #c0c4be !important;
}

/* Article readability and density pass — November 2026
   Fix low-contrast literal colours in legacy Arizona records, trim empty
   whitespace in single-fact bands, and unify card hierarchy across templates.
   All changes are scoped to permanent articles only. */
body[data-chasedesk-identity="article"] {
  --cd-article-surface: #26282a;
  --cd-article-elevated: #2c3031;
  --cd-article-border: #494d50;
  --cd-article-text: #d4d5d0;
  --cd-article-subtle: #bcc3bd;
}
body[data-chasedesk-identity="article"] main :is(
  .latest p, .section p, .facts dd, .legacy-full p,
  .article p, .note, .confidence p, .cd-record-story p,
  .cd-overview p, .panel-content p, .timeline p, .explainer p,
  .snapshot-small, .trade-item p, .figure-item span
) {
  color: var(--cd-article-text) !important;
  opacity: 1;
}
body[data-chasedesk-identity="article"] main :is(
  .latest .eventdate, .eventdate, .dates, .review,
  .facts dt, .az-snapshot .label, .cd-glance dt,
  .figure-item span, .legacy-full dt, .legacy-full small
) {color:var(--cd-article-subtle)!important;}
body[data-chasedesk-identity="article"] main :is(
  .facts dd, .az-snapshot .value, .cd-glance dd,
  .figure-item strong, .legacy-full dd, .latest h2, .section h2
) {color:#f0f6f3!important;}
body[data-chasedesk-identity="article"] main :is(
  .section h2,.latest h2,.facts h2,.figure-panel h2
) {
  color: #eef6f2 !important;
  line-height: 1.3;
  letter-spacing: -.025em;
  font-weight: 740;
}
body[data-chasedesk-identity="article"] main .section p,
body[data-chasedesk-identity="article"] main .latest p,
body[data-chasedesk-identity="article"] main .article p,
body[data-chasedesk-identity="article"] main .cd-record-story p {
  font-size: 15px;
  line-height: 1.7;
}
body[data-chasedesk-identity="article"] main .section .review {
  font-size: 12px;
  line-height: 1.6;
}
body[data-chasedesk-identity="article"] main :is(.latest,.section,.facts,.az-snapshot,.figure-item,.owner-visuals a) {
  background: var(--cd-article-surface) !important;
  border-color: var(--cd-article-border) !important;
  color: #e6efeb !important;
  border-radius: 12px;
  box-shadow: none !important;
}
body[data-chasedesk-identity="article"] main .latest {
  background: var(--cd-article-elevated) !important;
  border-left: 3px solid #83d1b6 !important;
}
body[data-chasedesk-identity="article"] main .latest .eventdate {
  font-size: 12px;
  font-weight: 720;
  margin: 4px 0 10px;
}
body[data-chasedesk-identity="article"] main .latest p:last-child {
  margin-top: 12px;
}
body[data-chasedesk-identity="article"] main .body > :is(.latest,.section) {
  padding: 22px 25px !important;
  margin: 0 0 16px !important;
  border: 1px solid var(--cd-article-border);
}
body[data-chasedesk-identity="article"] main .body > .latest {
  border-left: 3px solid #83d1b6;
}
body[data-chasedesk-identity="article"] main .body > .section h2 {
  font-size: 18px;
  margin-bottom: 12px;
}
body[data-chasedesk-identity="article"] main .body > .latest h2 {
  font-size: 19px;
  margin-bottom: 9px;
}
body[data-chasedesk-identity="article"] main .body > .section p:last-child {
  margin-bottom: 0;
}
body[data-chasedesk-identity="article"] main .body > .section:has(> h2):hover,
body[data-chasedesk-identity="article"] main .latest:hover {
  border-color: #59645f !important;
}
/* Keep the two-column article readable without the giant empty gutters. */
@media(min-width:761px){
 body[data-chasedesk-identity="article"] main.layout {
   grid-template-columns:minmax(0,1.62fr) minmax(275px,.95fr);
   gap:18px;
   padding-top:26px;
 }
 body[data-chasedesk-identity="article"] main.layout > aside.facts {
   position:sticky;
   top:20px;
   align-self:start;
 }
}
body[data-chasedesk-identity="article"] main.layout > aside.facts {
  padding:22px 23px !important;
  background:#292b2d !important;
  border:1px solid #395056 !important;
  border-radius:12px;
}
body[data-chasedesk-identity="article"] main.layout > aside.facts h2 {
  font-size:17px;
  margin:0 0 13px;
}
body[data-chasedesk-identity="article"] main.layout > aside.facts dt {
  font-size:12px;
  color:#a9c3bd!important;
}
body[data-chasedesk-identity="article"] main.layout > aside.facts dd {
  font-size:14px;
  line-height:1.55;
  font-weight:640;
  color:#e8f3ed!important;
  overflow-wrap:anywhere;
}
body[data-chasedesk-identity="article"] main.layout > aside.facts dl div {
  border-color:#4b5051!important;
  padding:12px 0;
}
/* Single-fact snapshots become a slim information band, not a 2/3 empty slab. */
body[data-chasedesk-identity="article"] main .az-snapshot {
  border:1px solid #49534e!important;
  background:linear-gradient(102deg,#2e302e,#26292b 72%)!important;
  border-radius:12px;
}
body[data-chasedesk-identity="article"] main .az-snapshot .item {
  border-color:#49534e!important;
}
body[data-chasedesk-identity="article"] main .az-snapshot .label {
  color:#aac8be!important;
  font-size:11px;
  letter-spacing:.075em;
}
body[data-chasedesk-identity="article"] main .az-snapshot .value {
  color:#f1f7f3!important;
  font-size:clamp(17px,2vw,20px);
  line-height:1.4;
  font-weight:710;
}
body[data-chasedesk-identity="article"] main .az-snapshot:has(> .item:only-child) {
  grid-template-columns:minmax(0,1fr)!important;
  border-left:3px solid #82cdb2!important;
}
body[data-chasedesk-identity="article"] main .az-snapshot > .item:only-child {
  display:flex;
  align-items:center;
  gap:18px;
  padding:15px 23px!important;
  min-height:76px;
  border:0!important;
}
body[data-chasedesk-identity="article"] main .az-snapshot > .item:only-child .label {
  width:180px;
  flex:0 0 180px;
  margin:0;
}
body[data-chasedesk-identity="article"] main .az-snapshot > .item:only-child .value {
  font-size:17px;
  max-width:750px;
}
/* Sources and archived evidence receive the same contrast treatment. */
body[data-chasedesk-identity="article"] main .sources li {
  border-color:#494f50!important;
  color:#d4d5d0!important;
}
body[data-chasedesk-identity="article"] main .confidence {
  background:#26282a!important;
  border:1px solid #494d50!important;
  color:#eaf4ef!important;
  border-radius:12px;
}
body[data-chasedesk-identity="article"] main .confidence summary {
  color:#edf7f1!important;
  padding:15px 19px;
}
body[data-chasedesk-identity="article"] main .legacy-full {
  color:#d4d5d0!important;
}
body[data-chasedesk-identity="article"] main .legacy-full :is(p,li,dd,dt,small) {
  color:#ced0c8!important;
}
body[data-chasedesk-identity="article"] main .more {
  margin-top:16px;
}
body[data-chasedesk-identity="article"] main .more a {
  background:#303631!important;
  color:#b9f1d8!important;
  border:1px solid #526459!important;
  border-radius:9px;
}
body[data-chasedesk-identity="article"] main .more a:hover {
  background:#37443d!important;
}
/* Small-screen reading remains single-column, including single-fact records. */
@media(max-width:760px) {
 body[data-chasedesk-identity="article"] main.layout {
   grid-template-columns:minmax(0,1fr);
   gap:15px;
 }
 body[data-chasedesk-identity="article"] main.layout > aside.facts {
   position:static;
 }
 body[data-chasedesk-identity="article"] main .az-snapshot > .item:only-child {
   display:block;
   padding:17px 19px!important;
 }
 body[data-chasedesk-identity="article"] main .az-snapshot > .item:only-child .label {
   width:auto;
   margin-bottom:7px;
 }
 body[data-chasedesk-identity="article"] main .body > :is(.latest,.section) {
   padding:19px 19px!important;
   margin-bottom:13px!important;
 }
}
