/* REV6.19: Sitewide contrast fixes. Loaded after page-specific inline styles. */
:root { --gold-on-light:#4D3516; }
/* Research article components: preserve light panels but enforce dark ink. */
.stage-card,.metric-card,.report-image-card,.study-badge,.key-result,
.result-table th,.result-table td {color:#182637;}
.stage-card {background:#F8FAFC;border-color:#C6CFD8;}
.stage-card h1,.stage-card h2,.stage-card h3,.stage-card h4,
.stage-card p,.stage-card li,.stage-card strong,
.metric-card h2,.metric-card h3,.metric-card p,.metric-card strong,
.metric-card .metric-label,.metric-card .metric-value,
.report-image-card strong,.report-image-card small,
.key-result,.key-result strong,.study-badge {color:#182637;}
.metric-card,.report-image-card,.key-result,.study-badge {background:#E9EFF3;border-color:#C6CFD8;}
.metric-card .metric-label,.report-image-card small {color:#465567;}
.result-table th {background:#DDE6EB;color:#182637;}
.result-table td {background:#F8FAFC;color:#182637;}
.result-table td strong {color:#182637;}
.stage-label {background:#132B43;color:#FFFFFF;}
/* Research and policy page elements with explicit light backgrounds. */
.notice,.disclaimer,.legal-warning,.modern-disclaimer,
.research-use-confirmation,.research-confirmation,
.checkout-confirmation,.bundle-discount,.bundle-offer {
 color:#182637;
}
.notice a,.disclaimer a,.legal-warning a,.modern-disclaimer a,
.research-use-confirmation a,.research-confirmation a,
.checkout-confirmation a,.bundle-discount a,.bundle-offer a {color:#4D3516;}
/* Light form surfaces, including those used on the checkout. */
input:not([type=checkbox]):not([type=radio]),textarea,select,option {background:#FFFFFF;color:#182637;}
input::placeholder,textarea::placeholder {color:#526274;opacity:1;}
/* Avoid invisible navy variable headings when a component uses a navy background. */
.container .stage-card .metric-value,.container .metric-card .metric-value {color:#182637;}
/* Gold on light backgrounds is replaced with dark bronze; gold on navy is untouched. */
[style*="background: white"] a,[style*="background:#fff"] a,
[style*="background: #fff"] a,[style*="background: #ffffff"] a {color:#4D3516;}
@media (prefers-contrast:more) { .stage-card,.metric-card,.report-image-card {border-width:2px;} }
