/* 金牛暖色主题：绿色只保留给行情下跌等数据语义，品牌/导航/按钮统一为红金。 */
:root {
    --jn-accent: #ef4444 !important;
    --jn-accent-soft: rgba(239, 68, 68, 0.14) !important;
    --primary: #ef4444 !important;
    --primary-soft: rgba(239, 68, 68, 0.14) !important;
    --primary-line: rgba(239, 68, 68, 0.34) !important;
}

.brand-mark,
.avatar {
    color: #fff7ed !important;
    background: linear-gradient(135deg, #ef4444, #f59e0b) !important;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.18) !important;
}

.side-nav-link.active,
html.light .side-nav-link.active,
.main-nav-link.active,
.watchlist-filter-btn.active,
html.light .watchlist-filter-btn.active,
.stage-btn.active,
.context-chip.active,
.mode-tab.active {
    color: #991b1b !important;
    background: rgba(239, 68, 68, 0.10) !important;
    border-color: rgba(239, 68, 68, 0.24) !important;
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.18) !important;
}

.mobile-nav-toggle {
    color: #991b1b !important;
    background: rgba(254, 242, 242, 0.96) !important;
    border-color: rgba(239, 68, 68, 0.26) !important;
}

html.light .watchlist-filter-btn:hover,
html.light .side-nav-link:hover,
html.light .main-nav-link:hover {
    color: #7f1d1d !important;
    border-color: rgba(239, 68, 68, 0.26) !important;
    background: rgba(254, 242, 242, 0.78) !important;
}

.primary,
.button.primary,
.btn-analyze,
.watchlist-btn.primary,
html.light .watchlist-btn.primary,
html.light .btn-analyze,
.watchlist-btn.research-compact,
html.light .watchlist-btn.research-compact,
.submit,
.save-btn,
.summary-action,
.analysis-page-action.primary {
    color: #fff !important;
    border-color: rgba(239, 68, 68, 0.34) !important;
    background: linear-gradient(135deg, #ef4444, #f59e0b) !important;
    box-shadow: 0 12px 26px rgba(239, 68, 68, 0.18) !important;
}

.submit.register-btn,
.code-btn {
    color: #991b1b !important;
    border-color: rgba(239, 68, 68, 0.26) !important;
    background: rgba(239, 68, 68, 0.10) !important;
}

.login-shell .submit.register-btn {
    color: #fff !important;
    border: 1px solid rgba(220, 38, 38, 0.72) !important;
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
    box-shadow: none !important;
}

.login-shell .submit.register-btn:hover {
    background: linear-gradient(135deg, #dc2626, #ea580c) !important;
}

.login-shell .status {
    color: #b91c1c !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.login-shell .status:empty {
    min-height: 0 !important;
    margin-top: 0 !important;
}

.login-shell .status:not(:empty) {
    min-height: 22px !important;
    margin-top: 14px !important;
}

.input:focus,
input:focus,
select:focus,
textarea:focus,
.search-input:focus {
    border-color: rgba(239, 68, 68, 0.58) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14) !important;
    outline-color: rgba(239, 68, 68, 0.18) !important;
}

.status-pill,
.status-pill.up,
.tag.primary-tag,
.status,
.watchlist-btn.analyze-compact,
html.light .watchlist-btn.analyze-compact,
.watchlist-metric-value.muted-action,
.watchlist-edit-mark,
.detail-kicker {
    color: #991b1b !important;
    background: rgba(254, 242, 242, 0.86) !important;
    border-color: rgba(239, 68, 68, 0.22) !important;
}

.company-card:hover,
.watch-choice:hover,
.watchlist-metric.cost-edit-metric:hover,
.research-doc-card:hover,
.doc-card:hover,
.clue-card:hover {
    border-color: rgba(239, 68, 68, 0.32) !important;
    background: rgba(255, 247, 237, 0.78) !important;
}

.company-card.active,
.watch-choice.active {
    border-color: rgba(239, 68, 68, 0.62) !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.12) !important;
}

.analysis-progress-step.done,
.data-source-card.ok {
    border-color: rgba(245, 158, 11, 0.24) !important;
    background: rgba(255, 251, 235, 0.86) !important;
}

.analysis-progress-step.done .analysis-progress-dot {
    background: #f59e0b !important;
}

.data-status-pill.ok,
html.light .data-status-pill.ok,
.research-snapshot-pill.ok,
.pill.ok {
    color: #1d4ed8 !important;
    border-color: rgba(59, 130, 246, 0.30) !important;
    background: rgba(239, 246, 255, 0.82) !important;
}

.result-focus-badge,
html.light .result-focus-badge {
    color: #991b1b !important;
    border-color: rgba(239, 68, 68, 0.22) !important;
    background: rgba(254, 242, 242, 0.82) !important;
}

html.light .watchlist-metric.cost-edit-metric:hover,
html.light .watchlist-metric-value.muted-action,
html.light .watchlist-edit-mark {
    color: #991b1b !important;
    border-color: rgba(239, 68, 68, 0.22) !important;
    background: rgba(254, 242, 242, 0.72) !important;
}

.research-doc-card,
.doc-card {
    border-color: rgba(239, 68, 68, 0.18) !important;
}

.brand-panel {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.08), rgba(245, 158, 11, 0.06)) !important;
}

.move-positive-item {
    color: #7f1d1d !important;
    border-color: rgba(239, 68, 68, 0.22) !important;
    background: rgba(254, 242, 242, 0.82) !important;
}

.side-nav-link:hover,
.main-nav-link:hover,
.secondary-action-btn:hover,
.theme-toggle:hover {
    border-color: rgba(239, 68, 68, 0.30) !important;
    background: rgba(239, 68, 68, 0.08) !important;
}
