/* Hide FAB on desktop — mobile-only element */
@media screen and (min-width: 769px) {
    .chart-fab {
        display: none !important;
    }
}

/* Floating Action Button (FAB) — triggers mobile split-screen dashboard */
.chart-fab {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: var(--km-primary, #004242);
    color: var(--km-text-light, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 66, 66, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: transform 140ms ease-out, background-color 140ms ease-out, opacity 140ms ease-out;
}

.chart-fab i {
    font-size: 24px;
}

.chart-fab:hover {
    transform: scale(1.05);
    background: var(--km-primary-hover, #005b5c);
}

.chart-fab:active {
    transform: scale(0.95);
}

/* Collapse FAB when the split-screen dashboard is open */
.app-container.mobile-split-active .chart-fab {
    transform: scale(0) rotate(90deg);
    opacity: 0;
    pointer-events: none;
}

/* Legacy nested wrapper selector removed: live node is #chart-peek-strip */
