/* === Page Tickers === */

@layer page {
    .tickers-layout {
        display: grid;
        grid-template-columns: minmax(280px, 360px) 1fr;
        gap: 18px;
        align-items: start;
    }
    .tickers-list {
        max-height: 74vh;
        overflow-y: auto;
    }
    /* Barre des DEUX AXES de tri : elle ne porte que les boutons qui ouvrent la section, jamais les
       filtres eux-mêmes — l'écran au repos appartient à la liste. */
    .tickers-bar {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 16px;
        margin-bottom: 16px;
    }
    .tickers-filter-panel {
        margin-bottom: 16px;
    }
    /* l'attribut [hidden] prime (sinon affichage permanent) */
    .tickers-filter-title {
        margin: 0 0 4px;
    }
    /* Puce « indice de référence » : un ATTRIBUT du cours, jamais une catégorie (migration 022). */
    .tickers-benchmark {
        margin-left: 6px;
    }
    .tickers-caption {
        margin-top: 1px;
    }
    /* Le seuil de retournement : son libellé et sa saisie, en ligne. */
    .tickers-threshold {
        flex-direction: row;
        align-items: center;
        gap: var(--canon-space-2);
    }
    .indicators-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    .chart-tools {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
    }
    @media (max-width: 800px) {
        .tickers-layout {
            grid-template-columns: 1fr;
        }
    }


    .category-separator {
        color: var(--canon-theme-faint);
        font-weight: var(--canon-weight-body);
    }
}
