.chart-card {
    min-height: 320px;
}

th.sortable {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

th.sortable:hover {
    background: var(--bs-tertiary-bg);
}

.sort-icon {
    font-size: 0.7rem;
    margin-left: 3px;
    color: var(--bs-secondary-color);
}

.sort-active .sort-icon {
    color: var(--bs-primary);
}

.col-sorted {
    font-weight: bold;
}

.cell-high {
    background-color: #fffde7 !important;
}

.w-90 { width: 90px; }
.min-w-220 { min-width: 220px; }
.text-xs { font-size: 0.75rem; }
.text-sm-stat { font-size: 0.8rem; }
.text-primary-light { color: #90caf9; }
.text-primary-mid { color: #42a5f5; }
.text-primary-dark { color: #1565c0; }
.text-warn { color: #e65100; }
.text-dark-subtle { color: #333; }
.badge-inherit-size { font-size: inherit; }

.color-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    vertical-align: middle;
}
.color-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}
.period-badge {
    padding: 1px 5px;
    border-radius: 3px;
}
