/* Night-mode contrast fixes for public pages; light-mode rules are unchanged. */
html[data-theme=dark] body.xj-inner .market-processed-toolbar label{color:#dce6ed}
html[data-theme=dark] body.xj-inner :is(.market-processed-subtitle,.market-processed-toolbar){color:#b6c7d3}

/* Keep action text readable when card-heading link rules also match. */
html[data-theme=dark] body.xj-inner :is(.portal-button,.portal-filter button,.period-tabs .selected,.period-tabs button.selected){background:#ff9a4f;color:#24180f}
html[data-theme=dark] body.xj-inner :is(.portal-button,.portal-filter button):hover{background:#ffb36b;color:#24180f}
html[data-theme=dark] body.xj-inner .footer-brand span{color:#24180f}

html[data-theme=dark] body.xj-inner .trade-research-page .trade-research-heading>span,
html[data-theme=dark] body.xj-inner .trade-research-page .trade-research-heading>span a{color:#ffdbb7}
html[data-theme=dark] body.xj-inner .trade-research-page .trade-research-heading p{color:#f0dfd0}
html[data-theme=dark] body.xj-inner .trade-research-source a{color:#ffb36b}

html[data-theme=dark] body.xj-inner .decision-tool-nav span{background:#382b21;color:#ffbc86}
html[data-theme=dark] body.xj-inner .decision-tool-number{background:#ff9a4f;color:#24180f}
html[data-theme=dark] body.xj-inner .decision-tool-badge{background:#193e30;color:#a5e8c3}
/* The shared .neutral utility sets its color with !important. */
html[data-theme=dark] body.xj-inner .decision-tool-badge.neutral{background:#2b3946;color:#dce6ed!important}
html[data-theme=dark] body.xj-inner .weather-day span{color:#b6c7d3}
html[data-theme=dark] body.xj-inner .weather-day em{color:#ffce91}
html[data-theme=dark] body.xj-inner .confidence-badge{background:#382b21;color:#ffbc86}
html[data-theme=dark] body.xj-inner :is(.weather-meta a,.weather-footnote a,.overseas-public-rate a,.overseas-public-rates-note a,.overseas-company-grid a,.overseas-public-rate-prices b,.overseas-quote-card b,.overseas-route-metric){color:#ffbc86}
html[data-theme=dark] body.xj-inner :is(.overseas-public-rate-prices small,.overseas-company-grid span,.overseas-company-heading span,.overseas-route-metric small,.overseas-quote-form label small,.overseas-quote-count,.overseas-quote-card span,.overseas-quote-card p){color:#b6c7d3}
html[data-theme=dark] body.xj-inner #overseas-quote-feedback{color:#b6d9eb}
html[data-theme=dark] body.xj-inner .overseas-quote-card button{color:#ffb4a6}

html[data-theme=dark] body.xj-inner :is(.xj-exchange-country small,.xj-exchange-result strong,.xj-exchange-source a){color:#ffb36b}
html[data-theme=dark] body.xj-inner .portal-link{color:#ffb36b}
/* Article image captions carry legacy inline colors. */
html[data-theme=dark] body.xj-inner.xj-page-news figcaption{color:#b6c7d3!important}
