﻿/* ============================================================
   chart-indicators.css — lower-pane indicator switcher.
   Load with the other chart stylesheets on the stock page.
   ============================================================ */

.chart-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.chart-ind {
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.2;
    cursor: pointer;
}

    .chart-ind:hover {
        background: var(--surface);
        color: var(--accent);
    }

    .chart-ind.is-active {
        border-color: var(--ew-brand);
        background: var(--ew-brand);
        color: var(--ew-dark);
        font-weight: 700;
    }

@media (max-width: 700px) {
    /* Full-width row of equal thirds: at 358px the three labels would otherwise
       wrap awkwardly, and these are 44px-tall touch targets rather than the
       34px the desktop toolbar uses. */
    .chart-indicators {
        gap: 0.3rem;
    }

    .chart-ind {
        flex: 1 1 0;
        min-height: 40px;
        padding: 0.4rem 0.25rem;
        text-align: center;
    }
}
