/* news-theme.css: dark theme (default) + light/dark switch + print. Scoped to html[data-theme="dark"] inside @media screen,
 so print is always light. New elements: style them with the --nw-* variables in news.css; add a rule here only for hard-coded colors. */
@media screen {
  html[data-theme="dark"] body.news-page{--nw-bg:#0a0a0a;--nw-card:#121412;--nw-ink:#e4e7e4;--nw-muted:#a3aea6;--nw-line:#24402a;--nw-dark:#0d1f0e;color-scheme:dark}
  html[data-theme="dark"] .news-page a{color:#7ee07a}
  html[data-theme="dark"] .news-page a:hover,html[data-theme="dark"] .news-page a:focus{color:#39ff14}
  html[data-theme="dark"] .nw-prompt{color:#39ff14}
  html[data-theme="dark"] .nw-masthead{background:linear-gradient(180deg,#0b0f0b 0%,#0d1a0e 100%);border-bottom-color:#2e7d32}
  html[data-theme="dark"] .nw-wordmark,html[data-theme="dark"] .nw-stamp__date,html[data-theme="dark"] .nw-stamp time{color:#fff}
  html[data-theme="dark"] .nw-wordmark .nw-prompt{color:#39ff14}
  html[data-theme="dark"] .nw-section__head h2,html[data-theme="dark"] .nw-card__headline,html[data-theme="dark"] .nw-ongoing__item h3,html[data-theme="dark"] .nw-elx h3,html[data-theme="dark"] .nw-elx__call,html[data-theme="dark"] .nw-sourcing h2{color:#fff}
  html[data-theme="dark"] .nw-card{box-shadow:0 0 0 1px rgba(57,255,20,.05),0 6px 18px rgba(0,0,0,.5)}
  html[data-theme="dark"] .nw-card:hover{box-shadow:0 0 0 1px rgba(57,255,20,.6),0 10px 26px rgba(0,0,0,.6)}
  html[data-theme="dark"] .nw-card__art{background:#e6f1e6}
  html[data-theme="dark"] .nw-grid--n1 .nw-card__art{background:linear-gradient(135deg,#16261a,#0f1a11)}
  html[data-theme="dark"] .nw-card__summary,html[data-theme="dark"] .nw-ongoing__item p,html[data-theme="dark"] .nw-sourcing ul,html[data-theme="dark"] .nw-elx__gov,html[data-theme="dark"] .nw-elx__races li{color:#c9d0ca}
  html[data-theme="dark"] .nw-tag{color:#9be39a;background:#12301a;border-color:#2e7d32}
  html[data-theme="dark"] .nw-tag--members{color:#39ff14;background:#000;border-color:#39ff14}
  html[data-theme="dark"] .nw-label--unconfirmed{background:#5d5d66}
  html[data-theme="dark"] .nw-confirm-note{background:#1b1b21;color:#d0d0d8;border-left-color:#8a8a96}
  html[data-theme="dark"] .nw-card[data-status="unconfirmed"]{border-color:#55555e}
  html[data-theme="dark"] .nw-correction{background:#2a2210;color:#f3dfa4}
  html[data-theme="dark"] .nw-byline,html[data-theme="dark"] .nw-byline--pending .nw-byline__who{color:#a3aea6}
  html[data-theme="dark"] .nw-byline__sep{color:#6f7a72}
  html[data-theme="dark"] .nw-byline__ok{color:#9be39a;background:#10261400;background:#102614;border-color:#2e7d32}
  html[data-theme="dark"] .nw-markets,html[data-theme="dark"] .nw-briefing{background:#050805;border:1px solid #2e7d32}
  html[data-theme="dark"] .nw-ongoing__item{border-left-color:#39ff14}
  html[data-theme="dark"] .nw-elx{box-shadow:0 0 0 1px rgba(57,255,20,.25)}
  html[data-theme="dark"] .nw-elx__bar{background:#050805}
  html[data-theme="dark"] .nw-elx__label{background:#2a2108;border-bottom-color:#5a4612;color:#f3d27a}
  html[data-theme="dark"] .nw-elx__row dt,html[data-theme="dark"] .nw-elx__count span{color:#7ee07a}
  html[data-theme="dark"] .nw-elx__count span{background:#12301a;border-color:#2e7d32}
  html[data-theme="dark"] .nw-elx__weekly p{color:#e4e7e4}
  html[data-theme="dark"] .nw-elx__conf--low{color:#f0b85a}
  html[data-theme="dark"] .nw-elx__conf--medium{color:#b8d97a}
  html[data-theme="dark"] .nw-elx__conf--high{color:#7ee07a}
  html[data-theme="dark"] .nw-elx__ed,html[data-theme="dark"] .nw-ed{background:#0b120c;border-color:#39ff14}
  html[data-theme="dark"] .nw-elx__ed-by,html[data-theme="dark"] .nw-elx__ed-grid dt,html[data-theme="dark"] .nw-ed__by{color:#39ff14}
  html[data-theme="dark"] .nw-ed__body{color:#e4e7e4}
  html[data-theme="dark"] .nw-elx__ed-grid dd{color:#fff}
  html[data-theme="dark"] .nw-sourcing{background:var(--nw-card)}
  html[data-theme="dark"] .nw-error{background:#121412;color:#e4e7e4;border-color:#3a4a3c}
  html[data-theme="dark"] .nw-error a{color:#7ee07a}
  html[data-theme="dark"] .nw-skip:focus{background:#000}
  html[data-theme="dark"] .nw-fc__track{background:#141814}
  html[data-theme="dark"] .nw-fc__mark{background:#3d3410;color:#f3d27a}
  html[data-theme="dark"] .nw-fc__name{color:#fff}
}
/* Theme switch */
.nw-theme-btn{display:inline-flex;align-items:center;gap:.35rem;margin-top:.45rem;padding:.4rem .7rem;min-height:36px;font:700 .78rem/1 var(--nw-mono);color:var(--nw-dark);background:#fff;border:1px solid var(--nw-green-2);border-radius:999px;cursor:pointer}
.nw-theme-btn:hover{border-color:var(--nw-lime)}
html[data-theme="dark"] .nw-theme-btn{color:#e4e7e4;background:#0d1a0e;border-color:#39ff14}
.news-page a:focus-visible,.news-page button:focus-visible,.news-page summary:focus-visible{outline:3px solid #39ff14;outline-offset:2px;box-shadow:0 0 0 5px #0d1f0e}
@media print{
  .site-header,.nw-secnav,.nw-theme-btn,.nw-skip,.help-chat,.help-chat-fab,.help-chat__backdrop,.nw-local{display:none!important}
  body.news-page{background:#fff!important;color:#000}
  .nw-masthead{padding-top:0;background:#fff}
  .nw-card,.nw-elx,.nw-ongoing__item{break-inside:avoid;box-shadow:none}
  .nw-briefing,.nw-markets,.nw-elx__bar,.site-footer{position:static;background:#fff!important;color:#000!important;border:1px solid #999;box-shadow:none}
  .nw-briefing *,.nw-markets *,.nw-elx__bar *,.site-footer *{color:#000!important}
  a,body.news-page .nw-briefing li a{color:#000!important}
}

html[data-theme="dark"] .nw-dev-note{background:#2a2210;color:#f3dfa4;border-left-color:#d39b00}
