#tx-compare .health-indicator-group { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
#tx-compare .health-indicator-group legend { font-weight: 700; color: #002F6C; padding: 0 0 .5rem; }
#tx-compare .health-indicator-group .tx-category-btn { flex: 0 1 auto; min-height: 44px; }
#tx-compare .health-indicator-group .tx-category-btn[aria-pressed="true"] { background: #002F6C; color: #FFFFFF; }
.health-status { border-left: 4px solid #002F6C; background: #EFF4FA; padding: .85rem 1rem; color: #172239; line-height: 1.5; }
.health-status[data-state="fallback"] { border-color: #A14A10; background: #FFF3E8; }
.health-status[data-state="error"] { border-color: #A51F1F; background: #FFF0F0; }
#tx-compare .health-chart-frame { position: relative; height: 320px; min-width: 0; }
#tx-compare .health-chart-frame canvas { width: 100% !important; height: 100% !important; }
#tx-compare .health-chart-unit { font-weight: 600; color: #334155; margin: .25rem 0 1rem; }
#tx-compare .health-data-note { font-size: 1rem; line-height: 1.55; color: #334155; }
#tx-compare .health-source-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: .8rem 0 1rem; }
#tx-compare .health-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
#tx-compare .section-header > div:last-child { flex-wrap: wrap; }
#tx-compare .health-methods { margin: 1rem 0; border: 1px solid #C9D5E5; border-radius: .6rem; padding: .8rem 1rem; }
#tx-compare .health-methods summary { color: #002F6C; font-weight: 700; cursor: pointer; min-height: 32px; }
#tx-compare [hidden] { display: none !important; }
#tx-compare .table-wrapper { max-width: 100%; overflow-x: auto; }
@media (max-width: 600px) {
    #tx-compare .health-actions .ghost { flex: 1 1 130px; }
    #tx-compare .health-indicator-group .tx-category-btn { flex: 1 1 140px; }
    #tx-compare .tx-compare-controls { grid-template-columns: minmax(0, 1fr); }
    #tx-compare .chart-card { padding: 1rem; min-width: 0; }
}
