/**
 * GM Dashboard — sticky KPI strip (cards only; month nav scrolls away).
 */
.gm-dashboard-kpi-sticky {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: var(--bs-body-bg);
    padding-bottom: 0.25rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991.98px) {
    .gm-dashboard-kpi-sticky {
        position: static;
        box-shadow: none;
    }
}

.gm-goals-comparison-table th,
.gm-goals-comparison-table td {
    font-size: 0.875rem;
}

.gm-goals-comparison-table .metric-label {
    font-weight: 600;
    white-space: nowrap;
}

.gm-daily-detail-table {
    font-size: 0.85rem;
}

.gm-daily-detail-table th,
.gm-daily-detail-table td {
    white-space: nowrap;
}

.gm-daily-detail-table .metric-label {
    position: sticky;
    left: 0;
    z-index: 1;
    font-weight: 600;
    background: var(--bs-body-bg);
    box-shadow: 2px 0 4px -2px rgba(0, 0, 0, 0.12);
}

.gm-daily-detail-table thead .metric-label {
    background: var(--bs-light);
    z-index: 2;
}

/* Dual run-rate KPI: Actuals only + Actuals + Proj in one tile */
.gm-kpi-dual-run-rate .card-body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.gm-kpi-dual-lines {
    margin-top: 0.15rem;
    text-align: left;
}

.gm-kpi-dual-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    line-height: 1.25;
}

.gm-kpi-dual-line + .gm-kpi-dual-line {
    margin-top: 0.2rem;
}

.gm-kpi-dual-method {
    font-size: 0.7rem;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}

.gm-kpi-dual-value {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.gm-kpi-dual-line-blended .gm-kpi-dual-value {
    font-size: 1.1rem;
}

.gm-kpi-dual-note {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: right;
    margin-top: 0.15rem;
}
