/* ============================================================================
   site-dark.css — site-wide dark mode for ALL public pages EXCEPT news.html
   (news.html has its own dedicated news-dark.css).
   Loaded LAST in <head> so its overrides win at equal specificity.
   Active when the OS prefers dark (and no explicit light opt-out), or when
   html[data-theme='dark'] is set by the floating theme toggle / preboot.

   Light mode stays byte-identical to the base: component rules resolve the
   --site-* palette, which defaults to the existing light design and is only
   overridden inside the dark blocks below.
   ========================================================================== */

/* ==================================================
   PART 1 — Palette defaults (light identity)
   ================================================== */
html body:not([data-page='news']):not(.managed-page){
  --site-ink:#10213A;
  --site-muted:#5f6d80;
  --site-line:rgba(11,31,58,.11);
  --site-line-strong:rgba(11,31,58,.14);
  --site-gold:#8b6816;
  --site-card-bg:linear-gradient(180deg,rgba(255,255,255,.99),rgba(248,244,236,.95));
  --site-card-soft:rgba(255,253,250,.92);
  --site-chip-bg:rgba(255,255,255,.78);
  --site-chip-ink:#32445d;
  --site-input-bg:rgba(255,255,255,.94);
  --site-icon-bg:linear-gradient(145deg,rgba(11,31,58,.08),rgba(212,166,74,.12));
  --site-inset:rgba(255,255,255,.72);
  --site-shadow-sm:0 14px 30px rgba(11,31,58,.06);
  --site-shadow-md:0 22px 48px rgba(11,31,58,.10);
  --site-shadow-lg:0 30px 68px rgba(11,31,58,.15);
  --site-pill-bg:rgba(255,255,255,.92);
  --site-value-bg:rgba(255,255,255,.82);
  --site-band-bg:linear-gradient(135deg,rgba(255,253,250,.98),rgba(241,221,176,.72));
  --site-band-line:rgba(154,116,25,.18);
  --site-support-surface:#ffffff;
  --site-support-form:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.94));
  --site-support-status:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,255,255,.90));
  --site-support-shell:linear-gradient(180deg,rgba(255,255,255,.84),rgba(255,255,255,.94));
  --site-support-signal:linear-gradient(180deg,rgba(212,166,74,.14),rgba(255,255,255,.94));
  --site-support-mini:rgba(11,31,58,.04);
  --site-support-tab:#ffffff;
  --site-support-panel:rgba(11,31,58,.05);
  --site-support-note:#f7f0df;
  --site-support-state:#8c6720;
  --site-support-icon:linear-gradient(135deg,rgba(11,31,58,.08),rgba(11,31,58,.03));
  --site-support-line:rgba(11,31,58,.06);
  --site-auth-card:rgba(255,255,255,.58);
  --site-auth-promo:linear-gradient(180deg,rgba(245,241,232,.88),rgba(245,241,232,.94));
  --site-auth-side:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.94));
  --site-auth-chip:rgba(255,255,255,.78);
  --site-auth-pane:rgba(255,255,255,.66);
  --site-auth-ornament:linear-gradient(145deg,rgba(255,255,255,.54),rgba(255,255,255,.24));
  --site-auth-ribbon:linear-gradient(135deg,rgba(212,166,74,.12),rgba(212,166,74,.04));
  --site-auth-input:rgba(255,255,255,.96);
  --site-body-bg:
    radial-gradient(circle at top left, rgba(212,166,74,.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(11,31,58,.09), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(245,241,232,0) 28%),
    var(--acw-header-paper,#F5F1E8);
  color:var(--site-ink);
  background:var(--site-body-bg) !important;
  font-size:15.5px;
  line-height:1.75;
}

html body:not([data-page='news']):not(.managed-page) .button,
html body:not([data-page='news']):not(.managed-page) .field label,
html body:not([data-page='news']):not(.managed-page) .summary-card p,
html body:not([data-page='news']):not(.managed-page) .summary-card li,
html body:not([data-page='news']):not(.managed-page) .info-card p,
html body:not([data-page='news']):not(.managed-page) .info-card li,
html body:not([data-page='news']):not(.managed-page) .card p,
html body:not([data-page='news']):not(.managed-page) .card li,
html body:not([data-page='news']):not(.managed-page) .panel p,
html body:not([data-page='news']):not(.managed-page) .panel li,
html body:not([data-page='news']):not(.managed-page) .field input,
html body:not([data-page='news']):not(.managed-page) .field textarea,
html body:not([data-page='news']):not(.managed-page) .field select,
html body:not([data-page='news']):not(.managed-page) .button.outline,
html body:not([data-page='news']):not(.managed-page) .chip,
html body:not([data-page='news']):not(.managed-page) .meta,
html body:not([data-page='news']):not(.managed-page) .note{
  font-size:13px;
  line-height:1.7;
}

/* ==================================================
   PART 2 — Component overrides (mode-agnostic; they
   resolve the --site-* palette above, so light stays
   identical and dark is applied by the blocks below.)
   ================================================== */

/* Shared shell surfaces (site-shell-unified refresh cards) */
main .feature-card,
main .page-card,
main .module-card{
  background:var(--site-card-bg) !important;
  border-color:var(--site-line) !important;
  box-shadow:var(--site-shadow-md) !important;
}

main .page-card .icon{
  background:var(--site-icon-bg) !important;
  box-shadow:none !important;
}

main .chip{
  background:var(--site-chip-bg) !important;
  border-color:var(--site-line) !important;
  color:var(--site-chip-ink) !important;
  box-shadow:none !important;
}

main .button.outline{
  background:var(--site-pill-bg) !important;
  border-color:var(--site-line-strong) !important;
  color:var(--site-ink) !important;
}

main input:not([type='checkbox']):not([type='radio']):not([type='range']),
main textarea,
main select{
  background:var(--site-input-bg);
  border-color:var(--site-line-strong);
  color:var(--site-ink);
  box-shadow:inset 0 1px 0 var(--site-inset);
}

main input::placeholder,
main textarea::placeholder{
  color:var(--site-muted);
}

main .section-head h2,
main .feature-copy h3,
main .page-card h3,
main .module-card h3{
  color:var(--site-ink);
}

main .section-head > p:not(.section-kicker),
main .feature-copy p,
main .page-card p,
main .module-card p,
main .footer-card p{
  color:var(--site-muted);
}

main .section-kicker{
  color:var(--site-gold);
}

/* ---- Home (data-page="home") ---- */
body[data-page='home'] .section-kicker,
body[data-page='home'] .home-route-index,
body[data-page='home'] .home-route-card:not(.home-route-card--lead) .home-route-cta,
body[data-page='home'] .home-feature-card .meta,
body[data-page='home'] .home-action-copy span{
  color:var(--site-gold);
}

body[data-page='home'] main .home-route-card:not(.home-route-card--lead){
  background:var(--site-card-soft) !important;
  box-shadow:var(--site-shadow-md) !important;
}

body[data-page='home'] main .home-route-card:not(.home-route-card--lead):hover{
  box-shadow:var(--site-shadow-lg) !important;
}

body[data-page='home'] .home-route-card:not(.home-route-card--lead) .icon{
  background:rgba(11,31,58,.055) !important;
}

body[data-page='home'] main .home-feature-card{
  background:var(--site-card-bg) !important;
  box-shadow:var(--site-shadow-md) !important;
}

body[data-page='home'] .home-action-band{
  background:var(--site-band-bg) !important;
  border-color:var(--site-band-line) !important;
  box-shadow:var(--site-shadow-md) !important;
}

/* ---- About (data-page="about") ---- */
body[data-page='about'] .side-card,
body[data-page='about'] .about-card,
body[data-page='about'] .report-card{
  background:var(--site-card-bg);
  border-color:var(--site-line);
  box-shadow:var(--site-shadow-md);
}

body[data-page='about'] .value-card{
  background:var(--site-value-bg);
  border-color:var(--site-line);
  box-shadow:var(--site-shadow-sm);
}

body[data-page='about'] .report-meta{
  background:var(--site-pill-bg);
  color:var(--site-ink);
  box-shadow:var(--site-shadow-sm);
}

body[data-page='about'] .report-body .button.secondary{
  background:var(--site-pill-bg);
  border-color:var(--site-line-strong);
  color:var(--site-ink);
}

body[data-page='about'] .eyebrow{
  color:var(--site-gold);
}

body[data-page='about'] .side-card h3,
body[data-page='about'] .about-card h3,
body[data-page='about'] .report-body h3,
body[data-page='about'] .section-head h2,
body[data-page='about'] .value-card strong{
  color:var(--site-ink);
}

body[data-page='about'] .side-card p,
body[data-page='about'] .about-card p,
body[data-page='about'] .report-body p,
body[data-page='about'] .section-head > p:not(.eyebrow),
body[data-page='about'] .value-card p,
body[data-page='about'] .about-list li{
  color:var(--site-muted);
}

/* ---- Support (data-page="support") ---- */
body[data-page='support'] .action-card{
  background:var(--site-support-surface);
}

body[data-page='support'] .status-card{
  background:var(--site-support-status);
}

body[data-page='support'] .action-shell{
  background:var(--site-support-shell);
}

body[data-page='support'] .form-panel{
  background:var(--site-support-form);
}

body[data-page='support'] .signal-card{
  background:var(--site-support-signal);
}

body[data-page='support'] .mini-stat{
  background:var(--site-support-mini);
  border-color:var(--site-line);
}

body[data-page='support'] .consultation-tab{
  background:var(--site-support-tab);
  border-color:var(--site-line-strong);
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}

body[data-page='support'] .consultation-tab:hover{
  background:rgba(212,166,74,.14);
  border-color:rgba(212,166,74,.42);
  color:#f2dfb3;
}

body[data-page='support'] .consultation-tab:active{
  transform:translateY(1px);
}

body[data-page='support'] .consultation-tab.active{
  background:#0B1F3A;
  border-color:#0B1F3A;
  color:#fff;
}

body[data-page='support'] .consultation-panel{
  background:var(--site-support-panel);
  border-color:var(--site-line);
}

body[data-page='support'] .secure-contact-note{
  background:var(--site-support-note);
  border-color:rgba(212,166,74,.32);
}

body[data-page='support'] .trust-ribbon{
  background:var(--site-support-panel);
  border-color:var(--site-line-strong);
}

body[data-page='support'] .action-state{
  color:var(--site-support-state);
}

body[data-page='support'] .action-icon{
  background:var(--site-support-icon);
}

body[data-page='support'] .action-top,
body[data-page='support'] .signal-list li{
  border-color:var(--site-support-line);
}

body[data-page='support'] .button.gold{
  color:#10213A;
}

/* ---- Auth (auth.html — no data-page hook) ---- */
.auth-card{
  background:var(--site-auth-card) !important;
  border-color:rgba(255,255,255,.14) !important;
}
.auth-card .promo{
  background:var(--site-auth-promo) !important;
  color:var(--site-ink) !important;
}
.auth-card .promo p{
  color:var(--site-muted) !important;
}
.auth-card .form-side{
  background:var(--site-auth-side) !important;
}
.auth-card .ornament-card,
.auth-card .promo-quote,
.auth-card .promo-point{
  background:var(--site-auth-pane) !important;
  border-color:var(--site-line) !important;
}
.auth-card .identity-ribbon{
  background:var(--site-auth-ribbon) !important;
}
.auth-card .form-side .input input,
.auth-card .form-side .code-input input{
  background:var(--site-auth-input) !important;
  border-color:var(--site-line-strong) !important;
  color:var(--site-ink) !important;
}
.auth-card .switch button,
.auth-card .lang-chip,
.auth-card .home-link,
.auth-card .ghost-link{
  background:var(--site-auth-chip) !important;
  border-color:var(--site-line-strong) !important;
  color:var(--site-ink) !important;
}
.auth-card .switch button.active{
  background:var(--site-navy,#0b1f3a) !important;
  border-color:var(--site-navy,#0b1f3a) !important;
  color:#fff !important;
}
.auth-card .form-head h2,
.auth-card .promo-title,
.auth-card .promo-point strong,
.auth-card .promo-quote p,
.auth-card .label{
  color:var(--site-ink) !important;
}
.auth-card .promo-point span{
  color:var(--site-muted) !important;
}
.auth-card .promo-ornament{
  background:var(--site-auth-ornament) !important;
  border-color:var(--site-line) !important;
}
.auth-card .promo-ornament::before{
  mix-blend-mode:screen;
  opacity:.14;
}
.auth-card .ornament-card strong{
  color:var(--site-ink) !important;
}
.auth-card .ornament-card span{
  color:var(--site-muted) !important;
}
.auth-card .promo-close{
  color:var(--site-ink) !important;
  border-color:rgba(212,166,74,.24) !important;
  background:rgba(212,166,74,.16) !important;
}

/* ---- Report submit (report-submit.html — main data-page-id hook) ---- */
main[data-page-id='reportSubmit'] .form-panel{
  background:var(--site-support-form) !important;
  border-color:var(--site-line) !important;
  color:var(--site-ink) !important;
}
main[data-page-id='reportSubmit'] .status-card,
main[data-page-id='reportSubmit'] .report-link-card{
  background:var(--site-support-status) !important;
  border-color:var(--site-line) !important;
  color:var(--site-ink) !important;
}
main[data-page-id='reportSubmit'] input,
main[data-page-id='reportSubmit'] textarea,
main[data-page-id='reportSubmit'] select{
  background:var(--site-auth-input) !important;
  border-color:var(--site-line-strong) !important;
  color:var(--site-ink) !important;
}

/* ==================================================
   PART 3 — Dark palettes
   Two blocks: automatic (system preference) and
   explicit toggle. Explicit is kept last so it wins.
   ================================================== */

/* ---- Automatic: OS dark, no explicit light opt-out ---- */
@media (prefers-color-scheme: dark){
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page){
    --site-ink:#e8eef6;
    --site-muted:#9db0c8;
    --site-line:rgba(255,255,255,.11);
    --site-line-strong:rgba(255,255,255,.16);
    --site-gold:#d8ad3e;
    --site-card-bg:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%);
    --site-card-soft:rgba(16,29,48,.94);
    --site-chip-bg:rgba(255,255,255,.06);
    --site-chip-ink:#c9d6e6;
    --site-input-bg:rgba(13,26,44,.9);
    --site-icon-bg:linear-gradient(145deg,rgba(255,255,255,.10),rgba(212,166,74,.12));
    --site-inset:rgba(255,255,255,.04);
    --site-shadow-sm:0 14px 30px rgba(0,0,0,.30);
    --site-shadow-md:0 22px 48px rgba(0,0,0,.34);
    --site-shadow-lg:0 30px 68px rgba(0,0,0,.42);
    --site-pill-bg:rgba(16,29,48,.92);
    --site-value-bg:rgba(255,255,255,.05);
    --site-band-bg:linear-gradient(135deg,rgba(16,29,48,.98),rgba(20,45,76,.94));
    --site-band-line:rgba(216,173,62,.24);
    --site-support-surface:#101d30;
    --site-support-form:linear-gradient(180deg,rgba(16,29,48,.98),rgba(16,29,48,.96));
    --site-support-status:linear-gradient(145deg,rgba(16,29,48,.96),rgba(13,26,44,.92));
    --site-support-shell:linear-gradient(180deg,rgba(13,26,44,.9),rgba(16,29,48,.96));
    --site-support-signal:linear-gradient(180deg,rgba(212,166,74,.12),rgba(16,29,48,.96));
    --site-support-mini:rgba(255,255,255,.05);
    --site-support-tab:#0d1a2c;
    --site-support-panel:rgba(255,255,255,.05);
    --site-support-note:rgba(212,166,74,.10);
    --site-support-state:#e2bd5e;
    --site-support-icon:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
    --site-support-line:rgba(255,255,255,.08);
    --site-auth-card:rgba(16,29,48,.86);
    --site-auth-promo:linear-gradient(180deg,rgba(16,29,48,.9),rgba(13,26,44,.95));
    --site-auth-side:linear-gradient(180deg,rgba(16,29,48,.98),rgba(13,26,44,.94));
    --site-auth-chip:rgba(255,255,255,.07);
    --site-auth-pane:rgba(255,255,255,.06);
    --site-auth-ornament:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
    --site-auth-ribbon:linear-gradient(135deg,rgba(212,166,74,.2),rgba(212,166,74,.05));
    --site-auth-input:rgba(13,26,44,.92);
    --site-body-bg:
      radial-gradient(circle at top left, rgba(212,166,74,.10), transparent 24%),
      radial-gradient(circle at bottom right, rgba(216,173,62,.06), transparent 26%),
      linear-gradient(180deg, rgba(13,26,44,.55), rgba(11,22,38,0) 28%),
      #0b1626;
    color-scheme:dark;
  }

  /* Select dropdown lists: solid colors so the native popup stays readable */
  html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) main select option,
  html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) main select optgroup{
    background:#0d1a2c;
    color:#e8eef6;
  }

  /* Select dropdown lists: solid colors so the native popup stays readable */
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) main select option,
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) main select optgroup{
    background:#0d1a2c;
    color:#e8eef6;
  }

  /* Home */
  html:not([data-theme='light']) body[data-page='home']{
    --home-paper:#0b1626;
    --home-white:#101d30;
    --home-ink:#e8eef6;
    --home-muted:#9db0c8;
    --home-line:rgba(255,255,255,.12);
    --home-shadow:0 24px 64px rgba(0,0,0,.4);
    --home-shadow-soft:0 14px 38px rgba(0,0,0,.3);
  }

  /* Support page tokens (inline :root vars used by its components) */
  html:not([data-theme='light']) body[data-page='support']{
    --bg:#0b1626;
    --surface:#101d30;
    --surface-soft:rgba(16,29,48,.96);
    --ink:#e8eef6;
    --muted:#9db0c8;
    --line:rgba(255,255,255,.12);
    --gold-soft:rgba(212,166,74,.16);
    --shadow:0 22px 56px rgba(0,0,0,.34);
    --shadow-soft:0 18px 40px rgba(0,0,0,.3);
    --primary:#c9d6e6;
  }

  /* Profile page tokens */
  html:not([data-theme='light']) body[data-page='profile']{
    --paper:#0b1626;
    --card:#101d30;
    --ink:#e8eef6;
    --muted:#9db0c8;
    --line:rgba(255,255,255,.12);
  }
  html:not([data-theme='light']) body[data-page='profile'] .profile-body{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
  }
  html:not([data-theme='light']) body[data-page='profile'] .edit-card{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
    box-shadow:0 14px 30px rgba(0,0,0,.30) !important;
  }
  html:not([data-theme='light']) body[data-page='profile'] .button.logout{
    background:rgba(255,255,255,.06) !important;
    border-color:rgba(255,255,255,.18) !important;
    color:#c9d6e6 !important;
  }
  html:not([data-theme='light']) body[data-page='profile'] .summary-card,
  html:not([data-theme='light']) body[data-page='profile'] .note{
    background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02)) !important;
    border-color:rgba(255,255,255,.12) !important;
    box-shadow:0 14px 28px rgba(0,0,0,.24) !important;
  }
  html:not([data-theme='light']) body[data-page='profile'] .status.error{color:#ffb06b !important}
  html:not([data-theme='light']) body[data-page='profile'] .status.success{color:#5fce91 !important}
  html:not([data-theme='light']) body[data-page='profile'] .summary-icon,
  html:not([data-theme='light']) body[data-page='profile'] .edit-card-icon,
  html:not([data-theme='light']) body[data-page='profile'] .security-card-icon{
    background:rgba(212,166,74,.22) !important;
    color:#f2dfb3 !important;
  }
  html:not([data-theme='light']) body[data-page='profile'] .security-method,
  html:not([data-theme='light']) body[data-page='profile'] .security-secret-row code{
    background:rgba(255,255,255,.05) !important;
    border-color:rgba(255,255,255,.12) !important;
  }
  html:not([data-theme='light']) body[data-page='profile'] .security-modal-box{
    background:#101d30 !important;
    border:1px solid rgba(255,255,255,.12) !important;
    box-shadow:0 30px 70px rgba(0,0,0,.5) !important;
  }
  html:not([data-theme='light']) body[data-page='profile'] .security-modal-close{color:#9db0c8 !important}

  /* news-live tokens */
  html:not([data-theme='light']) body[data-page='newsLive']{
    --paper:#0b1626;
    --card:#101d30;
    --ink:#e8eef6;
    --muted:#9db0c8;
    --line:rgba(255,255,255,.12);
  }

  /* news-story — tokens override the inline :root block in news-story.html / about-report.html */
  html:not([data-theme='light']) body[data-page='newsStory'],
html:not([data-theme='light']) body[data-page='aboutReport']{
    --paper:#0b1626;
    --line:rgba(255,255,255,.12);
    --ink:#e8eef6;
    --muted:#9db0c8;
    --gold:#d8ad3e;
    --card:#101d30;
    --shadow:0 20px 42px rgba(0,0,0,.30);
    --red:#ff6b6b;
    background:#0b1626 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] main,
html:not([data-theme='light']) body[data-page='aboutReport'] main{
    background:#0b1626 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-shell,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-shell{
    background:#101d30 !important;
    border-color:rgba(255,255,255,.12) !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-back a,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-back a,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-back-top a,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-back-top a{
    color:#c9d6e6 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-title,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-title{
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-summary,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-summary{
    color:#9db0c8 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-meta,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-meta{
    color:#9db0c8 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-meta-item,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-meta-item{
    color:#9db0c8 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-meta-icon,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-meta-icon{
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-meta-separator,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-meta-separator{
    background:rgba(255,255,255,.14) !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body{
    color:#dbe7f3 !important;
  }
  /* story-body prose readability */
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body h2,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body h2,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body h3,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body h3,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body h4,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body h4{
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body a,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body a{
    color:#8fc2ff !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body a:hover,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body a:hover{
    color:#b7d7ff !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body strong,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body strong,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body b,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body b{
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body blockquote,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body blockquote{
    background:#0d1a2c !important;
    border-inline-start-color:rgba(212,166,74,.45) !important;
    color:#c6d2e2 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-text-accent,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-text-accent{
    color:#8fc2ff !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-text-muted,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-text-muted{
    color:#9db0c8 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-text-strong,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-text-strong{
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-block-lead-intro,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-block-lead-intro{
    color:#c6d2e2 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-block-highlight-box,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-block-highlight-box{
    background:rgba(255,255,255,.05) !important;
    border-color:rgba(255,255,255,.14) !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-block-alert-note,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-block-alert-note{
    background:rgba(212,166,74,.12) !important;
    border-color:rgba(212,166,74,.35) !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-block-quote-feature,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-block-quote-feature{
    background:rgba(212,166,74,.08) !important;
    color:#dbe7f3 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-block-fact-card,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-block-fact-card{
    background:rgba(255,255,255,.04) !important;
    border-color:rgba(255,255,255,.10) !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-highlight-warm,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-highlight-warm{
    background:#fff2c9 !important;
    color:#182033 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-highlight-cool,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-highlight-cool{
    background:#dff0ff !important;
    color:#182033 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-media-card,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-media-card,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-media-feature,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-media-feature,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-player-card,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-player-card{
    background:#0d1a2c !important;
    border-color:rgba(255,255,255,.12) !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-body .acw-media figcaption,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-body .acw-media figcaption{
    color:#9db0c8 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-reader-tools,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-reader-tools{
    background:#101d30 !important;
    border-color:rgba(255,255,255,.12) !important;
    box-shadow:0 10px 24px rgba(0,0,0,.30) !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-tool-button,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-tool-button{
    background:#0d1a2c !important;
    border-color:rgba(255,255,255,.14) !important;
    color:#dbe7f3 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-tool-button:hover,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-tool-button:hover{
    border-color:rgba(212,166,74,.6) !important;
    color:#fff !important;
    box-shadow:0 7px 16px rgba(0,0,0,.3) !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-tool-primary,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-tool-primary,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-tool-primary:hover,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-tool-primary:hover{
    border-color:#1c3a61 !important;
    background:#1c3a61 !important;
    color:#fff !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-tool-button.saved,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-tool-button.saved{
    border-color:#c79a39 !important;
    background:rgba(199,154,57,.16) !important;
    color:#e2bd5e !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-floating-tools,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-floating-tools{
    background:rgba(13,26,44,.9) !important;
    border-color:rgba(255,255,255,.14) !important;
    box-shadow:0 18px 40px rgba(0,0,0,.42) !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-floating-button,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-floating-button{
    background:#0d1a2c !important;
    border-color:rgba(255,255,255,.14) !important;
    color:#dbe7f3 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-floating-button:hover,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-floating-button:hover{
    border-color:rgba(212,166,74,.6) !important;
    color:#fff !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-media,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-media{
    border-color:rgba(255,255,255,.1) !important;
    box-shadow:0 20px 44px rgba(0,0,0,.4) !important;
  }

  /* news-live components */
  html:not([data-theme='light']) body[data-page='newsLive'] .live-back a{
    color:#c9d6e6;
  }
  html:not([data-theme='light']) body[data-page='newsLive'] .live-title{
    color:#e8eef6;
  }
  html:not([data-theme='light']) body[data-page='newsLive'] .live-summary{
    color:#9db0c8;
  }
  html:not([data-theme='light']) body[data-page='newsLive'] .live-meta{
    color:#9db0c8;
  }
  html:not([data-theme='light']) body[data-page='newsLive'] .live-page{
    background:radial-gradient(circle at top right, rgba(212,166,74,.12), transparent 24%), linear-gradient(180deg,#101d30 0%,#0d1a2c 100%);
    border-color:var(--site-line);
    box-shadow:0 24px 56px rgba(0,0,0,.36);
  }
  html:not([data-theme='light']) body[data-page='newsLive'] .live-copy{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%);
    border-color:rgba(255,255,255,.1);
    box-shadow:0 20px 42px rgba(0,0,0,.30);
  }

  /* news-alerts */
  html:not([data-theme='light']) body[data-page='newsAlerts']{
    background:radial-gradient(circle at 15% 10%,rgba(215,177,46,.16),transparent 30%),linear-gradient(145deg,#0d1a2c,#0a1422);
    color:#e8eef6;
    color-scheme:dark;
  }
  html:not([data-theme='light']) body[data-page='newsAlerts'] .alert-result{
    border-color:rgba(255,255,255,.12);
    background:rgba(16,29,48,.94);
    box-shadow:0 28px 80px rgba(0,0,0,.4);
  }
  html:not([data-theme='light']) body[data-page='newsAlerts'] .alert-result p{
    color:#b7c5d7;
  }
  html:not([data-theme='light']) body[data-page='newsAlerts'] .alert-result a{
    border:1px solid rgba(255,255,255,.18);
  }
  html:not([data-theme='light']) body[data-page='newsAlerts'] .alert-result[data-state='error'] a{
    background:#1d3657;
    border-color:#41658d;
  }

  /* support chat widget panel */
  html:not([data-theme='light']) body[data-page='support'] .acw-chat-widget-panel{
    background:#101d30;
  }
  html:not([data-theme='light']) body[data-page='support'] .acw-chat-widget-panel iframe{
    background:#101d30;
  }
}

  /* ==== White-card dark coverage (donate/transparency/privacy/news-story) ==== */

  /* transparency */
  html:not([data-theme='light']) body[data-page='transparency'] .metric-card,
  html:not([data-theme='light']) body[data-page='transparency'] .assurance-card,
  html:not([data-theme='light']) body[data-page='transparency'] .process-panel,
  html:not([data-theme='light']) body[data-page='transparency'] .footer-panel,
  html:not([data-theme='light']) body[data-page='transparency'] .card{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
    box-shadow:0 14px 30px rgba(0,0,0,.30) !important;
  }
  html:not([data-theme='light']) body[data-page='transparency'] .metric-card strong,
  html:not([data-theme='light']) body[data-page='transparency'] .assurance-card h3,
  html:not([data-theme='light']) body[data-page='transparency'] .card h3{
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body[data-page='transparency'] .metric-card span,
  html:not([data-theme='light']) body[data-page='transparency'] .assurance-card p,
  html:not([data-theme='light']) body[data-page='transparency'] .card p,
  html:not([data-theme='light']) body[data-page='transparency'] .card li,
  html:not([data-theme='light']) body[data-page='transparency'] .process-panel p{
    color:#9db0c8 !important;
  }

  /* donate */
  html:not([data-theme='light']) body[data-page='donate']{
    --ink:#e8eef6;
    --muted:#9db0c8;
    --line:rgba(255,255,255,.12);
    --surface:rgba(16,29,48,.96);
  }
  html:not([data-theme='light']) body[data-page='donate'] .support-intro .panel,
  html:not([data-theme='light']) body[data-page='donate'] .summary-card,
  html:not([data-theme='light']) body[data-page='donate'] .info-card,
  html:not([data-theme='light']) body[data-page='donate'] .donation-card,
  html:not([data-theme='light']) body[data-page='donate'] .method-panel,
  html:not([data-theme='light']) body[data-page='donate'] .address-card,
  html:not([data-theme='light']) body[data-page='donate'] .footer-panel{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
  }
  html:not([data-theme='light']) body[data-page='donate'] .panel h2,
  html:not([data-theme='light']) body[data-page='donate'] .panel h3,
  html:not([data-theme='light']) body[data-page='donate'] .summary-card h3,
  html:not([data-theme='light']) body[data-page='donate'] .info-card h3{
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body[data-page='donate'] .panel p,
  html:not([data-theme='light']) body[data-page='donate'] .panel li,
  html:not([data-theme='light']) body[data-page='donate'] .summary-card p,
  html:not([data-theme='light']) body[data-page='donate'] .summary-card li,
  html:not([data-theme='light']) body[data-page='donate'] .info-card p{
    color:#9db0c8 !important;
  }
  html:not([data-theme='light']) body[data-page='donate'] .mini-stat{
    background:rgba(255,255,255,.05) !important;
    border-color:rgba(255,255,255,.11) !important;
  }
  html:not([data-theme='light']) body[data-page='donate'] .mini-stat strong{color:#e8eef6 !important}
  html:not([data-theme='light']) body[data-page='donate'] .mini-stat span{color:#9db0c8 !important}

  html:not([data-theme='light']) body[data-page='donate'] .donation-card .amount-chip,
  html:not([data-theme='light']) body[data-page='donate'] .donation-card .method-option{
    background:rgba(255,255,255,.06) !important;
    border-color:rgba(255,255,255,.14) !important;
    color:#e8eef6 !important;
    box-shadow:none !important;
  }
  html:not([data-theme='light']) body[data-page='donate'] .donation-card .amount-chip.active,
  html:not([data-theme='light']) body[data-page='donate'] .donation-card .method-option.active{
    background:rgba(212,166,74,.16) !important;
    border-color:rgba(212,166,74,.48) !important;
    color:#f2dfb3 !important;
  }
  html:not([data-theme='light']) body[data-page='donate'] .donation-card .method-option .method-copy span{
    color:#9db0c8 !important;
  }
  html:not([data-theme='light']) body[data-page='donate'] .donation-card .method-radio{
    border-color:rgba(255,255,255,.34) !important;
  }
  html:not([data-theme='light']) body[data-page='donate'] .donation-card .method-option.active .method-radio{
    border-color:#d4a64a !important;
  }
  html:not([data-theme='light']) body[data-page='donate'] .button.gold{
    color:#10213A !important;
  }

  /* donate-thanks */
  html:not([data-theme='light']) body[data-page='donateThanks'] .thanks-card{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
  }
  html:not([data-theme='light']) body[data-page='donateThanks'] .thanks-card h2{
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body[data-page='donateThanks'] .thanks-card p{
    color:#9db0c8 !important;
  }
  html:not([data-theme='light']) body[data-page='donateThanks'] .thanks-card code{
    background:rgba(255,255,255,.06) !important;
    border-color:rgba(255,255,255,.14) !important;
    color:#e2bd5e !important;
  }

  /* privacy */
  html:not([data-theme='light']) body[data-page='privacy'] .summary-card,
  html:not([data-theme='light']) body[data-page='privacy'] .card,
  html:not([data-theme='light']) body[data-page='privacy'] .panel{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
  }
  html:not([data-theme='light']) body[data-page='privacy'] .summary-card strong,
  html:not([data-theme='light']) body[data-page='privacy'] .card h3{
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body[data-page='privacy'] .summary-card span,
  html:not([data-theme='light']) body[data-page='privacy'] .card p,
  html:not([data-theme='light']) body[data-page='privacy'] .card li{
    color:#9db0c8 !important;
  }

  /* news-story lead card */
  html:not([data-theme='light']) body[data-page='newsStory'] .lead-story,
html:not([data-theme='light']) body[data-page='aboutReport'] .lead-story{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
    box-shadow:0 20px 42px rgba(0,0,0,.30) !important;
  }

  /* site-wide consent panel */
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) .acw-consent-panel{
    background:rgba(16,29,48,.97) !important;
    border-color:rgba(255,255,255,.12) !important;
    color:#c9d6e6 !important;
  }
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) .acw-consent-panel .acw-consent-button:not(.acw-consent-button--primary){
    background:rgba(255,255,255,.08) !important;
    border-color:rgba(255,255,255,.16) !important;
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) .field input,
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) .field textarea,
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) .field select{
    -webkit-appearance:none !important;
    appearance:none !important;
    background:rgba(13,26,44,.92) !important;
    border-color:rgba(255,255,255,.14) !important;
    color:#dbe7f3 !important;
  }
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) .field input::placeholder,
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) .field textarea::placeholder{
    color:#7f93ab !important;
  }
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) .field input:-webkit-autofill,
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) .field input:autofill{
    -webkit-box-shadow:0 0 0 1000px #0d1a2c inset !important;
    -webkit-text-fill-color:#dbe7f3 !important;
    caret-color:#d4a64a !important;
    transition:background-color 9999s ease-out 0s !important;
  }
  html:not([data-theme='light']) body:not([data-page='news']):not(.managed-page) .button.outline{
    background:rgba(255,255,255,.06) !important;
    border-color:rgba(255,255,255,.18) !important;
    color:#c9d6e6 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-related,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-related,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-related-card,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-related-card{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-related-head h2,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-related-head h2,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-related-card strong,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-related-card strong{
    color:#e8eef6 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-related-head span,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-related-head span,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-related-card time,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-related-card time{
    color:#9db0c8 !important;
  }
  html:not([data-theme='light']) body[data-page='newsStory'] .story-related-card-thumb-empty,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-related-card-thumb-empty,
  html:not([data-theme='light']) body[data-page='newsStory'] .story-more-thumb,
html:not([data-theme='light']) body[data-page='aboutReport'] .story-more-thumb{
    background:rgba(255,255,255,.08) !important;
  }

/* ---- Explicit toggle (kept last so it wins when both match) ---- */
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page){
  --site-ink:#e8eef6;
  --site-muted:#9db0c8;
  --site-line:rgba(255,255,255,.11);
  --site-line-strong:rgba(255,255,255,.16);
  --site-gold:#d8ad3e;
  --site-card-bg:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%);
  --site-card-soft:rgba(16,29,48,.94);
  --site-chip-bg:rgba(255,255,255,.06);
  --site-chip-ink:#c9d6e6;
  --site-input-bg:rgba(13,26,44,.9);
  --site-icon-bg:linear-gradient(145deg,rgba(255,255,255,.10),rgba(212,166,74,.12));
  --site-inset:rgba(255,255,255,.04);
  --site-shadow-sm:0 14px 30px rgba(0,0,0,.30);
  --site-shadow-md:0 22px 48px rgba(0,0,0,.34);
  --site-shadow-lg:0 30px 68px rgba(0,0,0,.42);
  --site-pill-bg:rgba(16,29,48,.92);
  --site-value-bg:rgba(255,255,255,.05);
  --site-band-bg:linear-gradient(135deg,rgba(16,29,48,.98),rgba(20,45,76,.94));
  --site-band-line:rgba(216,173,62,.24);
  --site-support-surface:#101d30;
  --site-support-form:linear-gradient(180deg,rgba(16,29,48,.98),rgba(16,29,48,.96));
  --site-support-status:linear-gradient(145deg,rgba(16,29,48,.96),rgba(13,26,44,.92));
  --site-support-shell:linear-gradient(180deg,rgba(13,26,44,.9),rgba(16,29,48,.96));
  --site-support-signal:linear-gradient(180deg,rgba(212,166,74,.12),rgba(16,29,48,.96));
  --site-support-mini:rgba(255,255,255,.05);
  --site-support-tab:#0d1a2c;
  --site-support-panel:rgba(255,255,255,.05);
  --site-support-note:rgba(212,166,74,.10);
  --site-support-state:#e2bd5e;
  --site-support-icon:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
  --site-support-line:rgba(255,255,255,.08);
  --site-auth-card:rgba(16,29,48,.86);
  --site-auth-promo:linear-gradient(180deg,rgba(16,29,48,.9),rgba(13,26,44,.95));
  --site-auth-side:linear-gradient(180deg,rgba(16,29,48,.98),rgba(13,26,44,.94));
  --site-auth-chip:rgba(255,255,255,.07);
  --site-auth-pane:rgba(255,255,255,.06);
  --site-auth-ornament:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  --site-auth-ribbon:linear-gradient(135deg,rgba(212,166,74,.2),rgba(212,166,74,.05));
  --site-auth-input:rgba(13,26,44,.92);
  --site-body-bg:
    radial-gradient(circle at top left, rgba(212,166,74,.10), transparent 24%),
    radial-gradient(circle at bottom right, rgba(216,173,62,.06), transparent 26%),
    linear-gradient(180deg, rgba(13,26,44,.55), rgba(11,22,38,0) 28%),
    #0b1626;
  color-scheme:dark;
}

html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .acw-consent-panel{
  background:rgba(16,29,48,.97) !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#c9d6e6 !important;
}
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .acw-consent-panel .acw-consent-button:not(.acw-consent-button--primary){
  background:rgba(255,255,255,.08) !important;
  border-color:rgba(255,255,255,.16) !important;
  color:#e8eef6 !important;
}
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .field input,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .field textarea,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .field select{
  -webkit-appearance:none !important;
  appearance:none !important;
  background:rgba(13,26,44,.92) !important;
  border-color:rgba(255,255,255,.14) !important;
  color:#dbe7f3 !important;
}
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .field input::placeholder,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .field textarea::placeholder{
  color:#7f93ab !important;
}
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .button.outline{
  background:rgba(255,255,255,.06) !important;
  border-color:rgba(255,255,255,.18) !important;
  color:#c9d6e6 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-related,
html[data-theme='dark'] body[data-page='aboutReport'] .story-related,
html[data-theme='dark'] body[data-page='newsStory'] .story-related-card,
html[data-theme='dark'] body[data-page='aboutReport'] .story-related-card{
  background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
  border-color:rgba(255,255,255,.11) !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-related-head h2,
html[data-theme='dark'] body[data-page='aboutReport'] .story-related-head h2,
html[data-theme='dark'] body[data-page='newsStory'] .story-related-card strong,
html[data-theme='dark'] body[data-page='aboutReport'] .story-related-card strong{
  color:#e8eef6 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-related-head span,
html[data-theme='dark'] body[data-page='aboutReport'] .story-related-head span,
html[data-theme='dark'] body[data-page='newsStory'] .story-related-card time,
html[data-theme='dark'] body[data-page='aboutReport'] .story-related-card time{
  color:#9db0c8 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-related-card-thumb-empty,
html[data-theme='dark'] body[data-page='aboutReport'] .story-related-card-thumb-empty,
html[data-theme='dark'] body[data-page='newsStory'] .story-more-thumb,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-thumb{
  background:rgba(255,255,255,.08) !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more{
  border-top-color:rgba(255,255,255,.11) !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-head h2,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-head h2{
  color:#e8eef6 !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-head span,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-head span{
  color:#9db0c8 !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-card,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-card{
  background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
  border-color:rgba(255,255,255,.11) !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-card h3,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-card h3{
  color:#e8eef6 !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-card .story-more-meta,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-card .story-more-meta{
  color:#9db0c8 !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-article,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-article{
  border-top-color:rgba(255,255,255,.11) !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-article .story-more-title a,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-article .story-more-title a{
  color:#8fc2ff !important;
  text-decoration:underline !important;
  text-underline-offset:3px !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-article .story-more-title a:hover,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-article .story-more-title a:hover{
  color:#b7d7ff !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-article .story-more-date,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-article .story-more-date{
  color:#9db0c8 !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-article .story-more-body,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-article .story-more-body{
  color:#c6d2e2 !important;
}

html[data-theme='dark'] body[data-page='newsStory'] .story-more-article .story-more-body blockquote,
html[data-theme='dark'] body[data-page='aboutReport'] .story-more-article .story-more-body blockquote{
  color:#a9bbd1 !important;
}

html[data-theme='dark'] body[data-page='home']{
  --home-paper:#0b1626;
  --home-white:#101d30;
  --home-ink:#e8eef6;
  --home-muted:#9db0c8;
  --home-line:rgba(255,255,255,.12);
  --home-shadow:0 24px 64px rgba(0,0,0,.4);
  --home-shadow-soft:0 14px 38px rgba(0,0,0,.3);
}

html[data-theme='dark'] body[data-page='support']{
  --bg:#0b1626;
  --surface:#101d30;
  --surface-soft:rgba(16,29,48,.96);
  --ink:#e8eef6;
  --muted:#9db0c8;
  --line:rgba(255,255,255,.12);
  --gold-soft:rgba(212,166,74,.16);
  --shadow:0 22px 56px rgba(0,0,0,.34);
  --shadow-soft:0 18px 40px rgba(0,0,0,.3);
  --primary:#c9d6e6;
}

html[data-theme='dark'] body[data-page='profile']{
  --paper:#0b1626;
  --card:#101d30;
  --ink:#e8eef6;
  --muted:#9db0c8;
  --line:rgba(255,255,255,.12);
}
html[data-theme='dark'] body[data-page='profile'] .profile-body{
  background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
  border-color:rgba(255,255,255,.11) !important;
}
html[data-theme='dark'] body[data-page='profile'] .edit-card{
  background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
  border-color:rgba(255,255,255,.11) !important;
  box-shadow:0 14px 30px rgba(0,0,0,.30) !important;
}
html[data-theme='dark'] body[data-page='profile'] .button.logout{
  background:rgba(255,255,255,.06) !important;
  border-color:rgba(255,255,255,.18) !important;
  color:#c9d6e6 !important;
}
html[data-theme='dark'] body[data-page='profile'] .summary-card,
html[data-theme='dark'] body[data-page='profile'] .note{
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02)) !important;
  border-color:rgba(255,255,255,.12) !important;
  box-shadow:0 14px 28px rgba(0,0,0,.24) !important;
}
html[data-theme='dark'] body[data-page='profile'] .status.error{color:#ffb06b !important}
html[data-theme='dark'] body[data-page='profile'] .status.success{color:#5fce91 !important}
html[data-theme='dark'] body[data-page='profile'] .summary-icon,
html[data-theme='dark'] body[data-page='profile'] .edit-card-icon,
html[data-theme='dark'] body[data-page='profile'] .security-card-icon{
  background:rgba(212,166,74,.22) !important;
  color:#f2dfb3 !important;
}
html[data-theme='dark'] body[data-page='profile'] .security-method,
html[data-theme='dark'] body[data-page='profile'] .security-secret-row code{
  background:rgba(255,255,255,.05) !important;
  border-color:rgba(255,255,255,.12) !important;
}
html[data-theme='dark'] body[data-page='profile'] .security-modal-box{
  background:#101d30 !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:0 30px 70px rgba(0,0,0,.5) !important;
}
html[data-theme='dark'] body[data-page='profile'] .security-modal-close{color:#9db0c8 !important}

html[data-theme='dark'] body[data-page='newsLive']{
  --paper:#0b1626;
  --card:#101d30;
  --ink:#e8eef6;
  --muted:#9db0c8;
  --line:rgba(255,255,255,.12);
}

html[data-theme='dark'] body[data-page='newsStory'],
html[data-theme='dark'] body[data-page='aboutReport']{
  --paper:#0b1626;
  --line:rgba(255,255,255,.12);
  --ink:#e8eef6;
  --muted:#9db0c8;
  --gold:#d8ad3e;
  --card:#101d30;
  --shadow:0 20px 42px rgba(0,0,0,.30);
  --red:#ff6b6b;
  background:#0b1626 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] main,
html[data-theme='dark'] body[data-page='aboutReport'] main{
  background:#0b1626 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-shell,
html[data-theme='dark'] body[data-page='aboutReport'] .story-shell{
  background:#101d30 !important;
  border-color:rgba(255,255,255,.12) !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-back a,
html[data-theme='dark'] body[data-page='aboutReport'] .story-back a,
html[data-theme='dark'] body[data-page='newsStory'] .story-back-top a,
html[data-theme='dark'] body[data-page='aboutReport'] .story-back-top a{
  color:#c9d6e6 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-title,
html[data-theme='dark'] body[data-page='aboutReport'] .story-title{
  color:#e8eef6 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-summary,
html[data-theme='dark'] body[data-page='aboutReport'] .story-summary{
  color:#9db0c8 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-meta,
html[data-theme='dark'] body[data-page='aboutReport'] .story-meta{
  color:#9db0c8 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-meta-item,
html[data-theme='dark'] body[data-page='aboutReport'] .story-meta-item{
  color:#9db0c8 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-meta-icon,
html[data-theme='dark'] body[data-page='aboutReport'] .story-meta-icon{
  color:#e8eef6 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-meta-separator,
html[data-theme='dark'] body[data-page='aboutReport'] .story-meta-separator{
  background:rgba(255,255,255,.14) !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body{
  color:#dbe7f3 !important;
}
/* story-body prose readability */
html[data-theme='dark'] body[data-page='newsStory'] .story-body h2,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body h2,
html[data-theme='dark'] body[data-page='newsStory'] .story-body h3,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body h3,
html[data-theme='dark'] body[data-page='newsStory'] .story-body h4,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body h4{
  color:#e8eef6 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body a,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body a{
  color:#8fc2ff !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body a:hover,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body a:hover{
  color:#b7d7ff !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body strong,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body strong,
html[data-theme='dark'] body[data-page='newsStory'] .story-body b,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body b{
  color:#e8eef6 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body blockquote,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body blockquote{
  background:#0d1a2c !important;
  border-inline-start-color:rgba(212,166,74,.45) !important;
  color:#c6d2e2 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-text-accent,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-text-accent{
  color:#8fc2ff !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-text-muted,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-text-muted{
  color:#9db0c8 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-text-strong,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-text-strong{
  color:#e8eef6 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-block-lead-intro,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-block-lead-intro{
  color:#c6d2e2 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-block-highlight-box,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-block-highlight-box{
  background:rgba(255,255,255,.05) !important;
  border-color:rgba(255,255,255,.14) !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-block-alert-note,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-block-alert-note{
  background:rgba(212,166,74,.12) !important;
  border-color:rgba(212,166,74,.35) !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-block-quote-feature,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-block-quote-feature{
  background:rgba(212,166,74,.08) !important;
  color:#dbe7f3 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-block-fact-card,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-block-fact-card{
  background:rgba(255,255,255,.04) !important;
  border-color:rgba(255,255,255,.10) !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-highlight-warm,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-highlight-warm{
  background:#fff2c9 !important;
  color:#182033 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-highlight-cool,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-highlight-cool{
  background:#dff0ff !important;
  color:#182033 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-card,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-card,
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-feature,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-feature,
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-player-card,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-player-card{
  background:#0d1a2c !important;
  border-color:rgba(255,255,255,.12) !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media figcaption,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media figcaption{
  color:#9db0c8 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-social .acw-social-embed-body,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-social .acw-social-embed-body{
  border-color:#22304a !important;
  background:#0f1a2c !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-social .acw-social-embed-media,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-social .acw-social-embed-media{
  background:#1a2940 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-social .acw-social-embed-link,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-social .acw-social-embed-link{color:#7ba3f0 !important}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-social .acw-social-author,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-social .acw-social-author,
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-social .acw-social-editorial,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-social .acw-social-editorial{color:#c9d6ea !important}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-social .acw-social-credit,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-social .acw-social-credit,
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-social .acw-social-stats,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-social .acw-social-stats,
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-social .acw-social-media-fallback,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-social .acw-social-media-fallback{color:#8ea2bd !important}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-social .acw-social-share,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-social .acw-social-share{
  background:#0d1a2c !important;
  border-color:rgba(255,255,255,.16) !important;
  color:#dbe7f3 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-body .acw-media-social .acw-social-share:hover,
html[data-theme='dark'] body[data-page='aboutReport'] .story-body .acw-media-social .acw-social-share:hover{
  border-color:rgba(212,166,74,.6) !important;
  color:#fff !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-reader-tools,
html[data-theme='dark'] body[data-page='aboutReport'] .story-reader-tools{
  background:#101d30 !important;
  border-color:rgba(255,255,255,.12) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.30) !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-tool-button,
html[data-theme='dark'] body[data-page='aboutReport'] .story-tool-button{
  background:#0d1a2c !important;
  border-color:rgba(255,255,255,.14) !important;
  color:#dbe7f3 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-tool-button:hover,
html[data-theme='dark'] body[data-page='aboutReport'] .story-tool-button:hover{
  border-color:rgba(212,166,74,.6) !important;
  color:#fff !important;
  box-shadow:0 7px 16px rgba(0,0,0,.3) !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-tool-primary,
html[data-theme='dark'] body[data-page='aboutReport'] .story-tool-primary,
html[data-theme='dark'] body[data-page='newsStory'] .story-tool-primary:hover,
html[data-theme='dark'] body[data-page='aboutReport'] .story-tool-primary:hover{
  border-color:#1c3a61 !important;
  background:#1c3a61 !important;
  color:#fff !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-tool-button.saved,
html[data-theme='dark'] body[data-page='aboutReport'] .story-tool-button.saved{
  border-color:#c79a39 !important;
  background:rgba(199,154,57,.16) !important;
  color:#e2bd5e !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-floating-tools,
html[data-theme='dark'] body[data-page='aboutReport'] .story-floating-tools{
  background:rgba(13,26,44,.9) !important;
  border-color:rgba(255,255,255,.14) !important;
  box-shadow:0 18px 40px rgba(0,0,0,.42) !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-floating-button,
html[data-theme='dark'] body[data-page='aboutReport'] .story-floating-button{
  background:#0d1a2c !important;
  border-color:rgba(255,255,255,.14) !important;
  color:#dbe7f3 !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-floating-button:hover,
html[data-theme='dark'] body[data-page='aboutReport'] .story-floating-button:hover{
  border-color:rgba(212,166,74,.6) !important;
  color:#fff !important;
}
html[data-theme='dark'] body[data-page='newsStory'] .story-media,
html[data-theme='dark'] body[data-page='aboutReport'] .story-media{
  border-color:rgba(255,255,255,.1) !important;
  box-shadow:0 20px 44px rgba(0,0,0,.4) !important;
}

html[data-theme='dark'] body[data-page='newsLive'] .live-back a{
  color:#c9d6e6;
}
html[data-theme='dark'] body[data-page='newsLive'] .live-title{
  color:#e8eef6;
}
html[data-theme='dark'] body[data-page='newsLive'] .live-summary{
  color:#9db0c8;
}
html[data-theme='dark'] body[data-page='newsLive'] .live-meta{
  color:#9db0c8;
}
html[data-theme='dark'] body[data-page='newsLive'] .live-page{
  background:radial-gradient(circle at top right, rgba(212,166,74,.12), transparent 24%), linear-gradient(180deg,#101d30 0%,#0d1a2c 100%);
  border-color:var(--site-line);
  box-shadow:0 24px 56px rgba(0,0,0,.36);
}
html[data-theme='dark'] body[data-page='newsLive'] .live-copy{
  background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%);
  border-color:rgba(255,255,255,.1);
  box-shadow:0 20px 42px rgba(0,0,0,.30);
}

html[data-theme='dark'] body[data-page='newsAlerts']{
  background:radial-gradient(circle at 15% 10%,rgba(215,177,46,.16),transparent 30%),linear-gradient(145deg,#0d1a2c,#0a1422);
  color:#e8eef6;
  color-scheme:dark;
}
html[data-theme='dark'] body[data-page='newsAlerts'] .alert-result{
  border-color:rgba(255,255,255,.12);
  background:rgba(16,29,48,.94);
  box-shadow:0 28px 80px rgba(0,0,0,.4);
}
html[data-theme='dark'] body[data-page='newsAlerts'] .alert-result p{
  color:#b7c5d7;
}
html[data-theme='dark'] body[data-page='newsAlerts'] .alert-result a{
  border:1px solid rgba(255,255,255,.18);
}
html[data-theme='dark'] body[data-page='newsAlerts'] .alert-result[data-state='error'] a{
  background:#1d3657;
  border-color:#41658d;
}

html[data-theme='dark'] body[data-page='support'] .acw-chat-widget-panel{
  background:#101d30;
}
html[data-theme='dark'] body[data-page='support'] .acw-chat-widget-panel iframe{
  background:#101d30;
}

/* ---- Dark readability pass ---- */
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page){
  font-size:15.5px;
  line-height:1.75;
  --site-muted:#b7c5d7;
  --site-line:rgba(255,255,255,.14);
  --site-line-strong:rgba(255,255,255,.18);
  --site-chip-ink:#d8e2ee;
}

html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .button,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .field label,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .summary-card p,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .summary-card li,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .info-card p,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .info-card li,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .card p,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .card li,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .panel p,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .panel li,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .field input,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .field textarea,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .field select,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .button.outline,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .chip,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .meta,
html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .note{
  font-size:13px;
  line-height:1.7;
}

  /* ==== White-card dark coverage (donate/transparency/privacy/news-story) ==== */

  /* transparency */
  html[data-theme='dark'] body[data-page='transparency'] .metric-card,
  html[data-theme='dark'] body[data-page='transparency'] .assurance-card,
  html[data-theme='dark'] body[data-page='transparency'] .process-panel,
  html[data-theme='dark'] body[data-page='transparency'] .footer-panel,
  html[data-theme='dark'] body[data-page='transparency'] .card{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
    box-shadow:0 14px 30px rgba(0,0,0,.30) !important;
  }
  html[data-theme='dark'] body[data-page='transparency'] .metric-card strong,
  html[data-theme='dark'] body[data-page='transparency'] .assurance-card h3,
  html[data-theme='dark'] body[data-page='transparency'] .card h3{
    color:#e8eef6 !important;
  }
  html[data-theme='dark'] body[data-page='transparency'] .metric-card span,
  html[data-theme='dark'] body[data-page='transparency'] .assurance-card p,
  html[data-theme='dark'] body[data-page='transparency'] .card p,
  html[data-theme='dark'] body[data-page='transparency'] .card li,
  html[data-theme='dark'] body[data-page='transparency'] .process-panel p{
    color:#9db0c8 !important;
  }

  /* donate */
  html[data-theme='dark'] body[data-page='donate']{
    --ink:#e8eef6;
    --muted:#9db0c8;
    --line:rgba(255,255,255,.12);
    --surface:rgba(16,29,48,.96);
  }
  html[data-theme='dark'] body[data-page='donate'] .support-intro .panel,
  html[data-theme='dark'] body[data-page='donate'] .summary-card,
  html[data-theme='dark'] body[data-page='donate'] .info-card,
  html[data-theme='dark'] body[data-page='donate'] .donation-card,
  html[data-theme='dark'] body[data-page='donate'] .method-panel,
  html[data-theme='dark'] body[data-page='donate'] .address-card,
  html[data-theme='dark'] body[data-page='donate'] .footer-panel{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
  }
  html[data-theme='dark'] body[data-page='donate'] .panel h2,
  html[data-theme='dark'] body[data-page='donate'] .panel h3,
  html[data-theme='dark'] body[data-page='donate'] .summary-card h3,
  html[data-theme='dark'] body[data-page='donate'] .info-card h3{
    color:#e8eef6 !important;
  }
  html[data-theme='dark'] body[data-page='donate'] .panel p,
  html[data-theme='dark'] body[data-page='donate'] .panel li,
  html[data-theme='dark'] body[data-page='donate'] .summary-card p,
  html[data-theme='dark'] body[data-page='donate'] .summary-card li,
  html[data-theme='dark'] body[data-page='donate'] .info-card p{
    color:#9db0c8 !important;
  }
  html[data-theme='dark'] body[data-page='donate'] .mini-stat{
    background:rgba(255,255,255,.05) !important;
    border-color:rgba(255,255,255,.11) !important;
  }
  html[data-theme='dark'] body[data-page='donate'] .mini-stat strong{color:#e8eef6 !important}
  html[data-theme='dark'] body[data-page='donate'] .mini-stat span{color:#9db0c8 !important}

  html[data-theme='dark'] body[data-page='donate'] .donation-card .amount-chip,
  html[data-theme='dark'] body[data-page='donate'] .donation-card .method-option{
    background:rgba(255,255,255,.06) !important;
    border-color:rgba(255,255,255,.14) !important;
    color:#e8eef6 !important;
    box-shadow:none !important;
  }
  html[data-theme='dark'] body[data-page='donate'] .donation-card .amount-chip.active,
  html[data-theme='dark'] body[data-page='donate'] .donation-card .method-option.active{
    background:rgba(212,166,74,.16) !important;
    border-color:rgba(212,166,74,.48) !important;
    color:#f2dfb3 !important;
  }
  html[data-theme='dark'] body[data-page='donate'] .donation-card .method-option .method-copy span{
    color:#9db0c8 !important;
  }
  html[data-theme='dark'] body[data-page='donate'] .donation-card .method-radio{
    border-color:rgba(255,255,255,.34) !important;
  }
  html[data-theme='dark'] body[data-page='donate'] .donation-card .method-option.active .method-radio{
    border-color:#d4a64a !important;
  }
  html[data-theme='dark'] body[data-page='donate'] .button.gold{
    color:#10213A !important;
  }

  /* donate-thanks */
  html[data-theme='dark'] body[data-page='donateThanks'] .thanks-card{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
  }
  html[data-theme='dark'] body[data-page='donateThanks'] .thanks-card h2{
    color:#e8eef6 !important;
  }
  html[data-theme='dark'] body[data-page='donateThanks'] .thanks-card p{
    color:#9db0c8 !important;
  }
  html[data-theme='dark'] body[data-page='donateThanks'] .thanks-card code{
    background:rgba(255,255,255,.06) !important;
    border-color:rgba(255,255,255,.14) !important;
    color:#e2bd5e !important;
  }

  /* privacy */
  html[data-theme='dark'] body[data-page='privacy'] .summary-card,
  html[data-theme='dark'] body[data-page='privacy'] .card,
  html[data-theme='dark'] body[data-page='privacy'] .panel{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
  }
  html[data-theme='dark'] body[data-page='privacy'] .summary-card strong,
  html[data-theme='dark'] body[data-page='privacy'] .card h3{
    color:#e8eef6 !important;
  }
  html[data-theme='dark'] body[data-page='privacy'] .summary-card span,
  html[data-theme='dark'] body[data-page='privacy'] .card p,
  html[data-theme='dark'] body[data-page='privacy'] .card li{
    color:#9db0c8 !important;
  }

  /* news-story lead card */
  html[data-theme='dark'] body[data-page='newsStory'] .lead-story,
html[data-theme='dark'] body[data-page='aboutReport'] .lead-story{
    background:linear-gradient(180deg,#101d30 0%,#0d1a2c 100%) !important;
    border-color:rgba(255,255,255,.11) !important;
    box-shadow:0 20px 42px rgba(0,0,0,.30) !important;
  }

  /* site-wide consent panel */
  html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .acw-consent-panel{
    background:rgba(16,29,48,.97) !important;
    border-color:rgba(255,255,255,.12) !important;
    color:#c9d6e6 !important;
  }
  html[data-theme='dark'] body:not([data-page='news']):not(.managed-page) .acw-consent-panel .acw-consent-button:not(.acw-consent-button--primary){
    background:rgba(255,255,255,.08) !important;
    border-color:rgba(255,255,255,.16) !important;
    color:#e8eef6 !important;
  }
