:root{--money:#69c892;--attack:#e2a64f;--defence:#71a9c7;--land:#d2bd73;--research:#b9a1dc;--infrastructure:#9fbd82;--power:#f0d43e}
html[data-theme="light"]{--money:#247348;--attack:#985b08;--defence:#216b82;--land:#75621f;--research:#68488c;--infrastructure:#496b38;--power:#8f7300}
.value-positive,.value-money{color:var(--money)!important}
.value-negative{color:var(--red)!important}
.value-attack{color:var(--attack)!important}
.value-defence{color:var(--defence)!important}
.value-land{color:var(--land)!important}
.value-research{color:var(--research)!important}
.value-infrastructure{color:var(--infrastructure)!important}
.value-power{color:var(--power)!important}
.value-neutral{color:var(--text)!important}
.value-positive,.value-negative,.value-money,.value-attack,.value-defence,.value-land,.value-research,.value-infrastructure,.value-power{font-variant-numeric:tabular-nums}
.metric-attack{border-top-color:var(--attack)!important}
.metric-defence{border-top-color:var(--defence)!important}
.metric-money{border-top-color:var(--money)!important}
.metric-negative{border-top-color:var(--red)!important}
.metric-land{border-top-color:var(--land)!important}
.metric-research{border-top-color:var(--research)!important}
.metric-infrastructure{border-top-color:var(--infrastructure)!important}
.finance-vitals .value-money,
.finance-vitals article:first-child strong,
.interest-status b:first-of-type,
.recent-interest strong,
.finance-history#my-orders td:nth-child(2),
.finance-history#my-orders td:nth-child(5),
.market-depth-list li strong,
.market-card dl div:nth-child(-n+3) dd,
.income-panel dd,
.research-card dl div:first-child dd{color:var(--money)}
.finance-history[aria-labelledby="bank-history"] td:nth-child(4),
.finance-history[aria-labelledby="bank-history"] td:nth-child(5){color:var(--money);font-weight:800}
.research-heading .eyebrow,
.research-branch-title strong,
.research-card .branch-label,
.research-effects strong,
.research-gates strong{color:var(--research)}
.research-card{border-top-color:var(--research)}
.operation-card:has(.missile-actions) dl div:nth-child(2) dd,
.operation-card:has(form[action*="/satellites/construct"]) dl div:nth-child(3) dd{color:var(--money)}
@media(prefers-contrast:more){.value-positive,.value-negative,.value-money,.value-attack,.value-defence,.value-land,.value-research,.value-infrastructure,.value-power{text-decoration:underline;text-decoration-thickness:.12em;text-underline-offset:.18em}}
