/* Signal Highlights page — extends market screener card grid */

.highlights-main {
    padding-top: 0;
}

.highlights-featured-section {
    margin-top: 0;
}

.highlights-featured-label {
    margin-bottom: 1rem;
}

.highlights-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .highlights-grid-modern {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1100px) {
    .highlights-grid-modern {
        gap: 1.5rem;
    }
}

.highlights-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 0;
}

.highlights-card-headline {
    margin: 0;
    padding: 0;
    border-radius: 0;
    font-size: var(--type-2xl);
    font-weight: 800;
    letter-spacing: var(--track-title);
    line-height: 1.2;
    color: var(--text-primary);
    background: none;
    border: none;
}

.highlights-card-headline i {
    display: none;
}

.highlights-loading {
    grid-column: 1 / -1;
}

.highlights-load-more-sentinel {
    grid-column: 1 / -1;
    width: 100%;
    height: 1px;
    pointer-events: none;
}

.highlights-card-wrap .allocation-card-modern {
    height: 100%;
}

#highlights-cards.highlights-grid-modern
    .allocation-metrics-modern.equity-card-metrics-market
    > .review-allocation-sparkline-wrap
    .review-allocation-sparkline-inner,
#highlights-cards.highlights-grid-modern
    .allocation-metrics-modern.equity-card-metrics-market
    > .review-allocation-sparkline-wrap
    .review-allocation-sparkline-canvas {
    height: 148px;
    min-height: 148px;
    box-sizing: border-box;
}

#highlights-cards .allocation-show-more-btn {
    margin-top: 10px;
}

#highlights-cards .allocation-metrics-expandable--highlight-read.expanded {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

#highlights-cards .allocation-metrics-expandable--highlight-read
    .metric-item-modern.allocation-metric-badge-cell {
    grid-column: span 2;
}

#highlights-cards .allocation-metrics-expandable--highlight-read
    .metric-item-modern.market-allocation-vibe-badge {
    grid-column: span 3;
}

#highlights-cards .allocation-metrics-expandable.expanded .allocation-stage-probability-modern {
    grid-column: 1 / -1;
    margin-top: 4px;
}
