/* Heatmap Grid */
.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.heatmap-item {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-align: center;
    padding: 0.25rem;
    box-shadow: var(--shadow-sm);
}

.heatmap-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.heatmap-symbol {
    font-weight: 700;
    margin-bottom: 0.1rem;
    font-size: 0.75rem;
}

.heatmap-val {
    font-size: 0.7rem;
    opacity: 0.9;
}