/* A 股口径：涨/赚红，跌/亏绿。按钮语义（买入绿/卖出红）保持操作色，不跟涨跌走。 */
.profit-pos, .pnl-up { color: #dc2626 !important; font-weight: 600; }
.profit-neg, .pnl-down { color: #16a34a !important; font-weight: 600; }
.stat-value.profit { color: #dc2626 !important; }
.stat-value.loss { color: #16a34a !important; }

.nav-badge.pos { background: #fee2e2 !important; color: #b91c1c !important; }
.nav-badge.neg { background: #dcfce7 !important; color: #166534 !important; }
.nav-item.active .nav-badge.pos,
.nav-item.active .nav-badge.neg { background: rgba(255,255,255,0.22) !important; color: #fff !important; }

.holding-overview-summary .pos,
.holding-row .h-profit.pos { color: #dc2626 !important; }
.holding-overview-summary .neg,
.holding-row .h-profit.neg { color: #16a34a !important; }
