.search-console-drilldown {
    display: block;
}

.search-console-drilldown__header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.search-console-drilldown__title-wrap {
    align-items: flex-start;
    display: flex;
    gap: 0.7rem;
    min-width: 0;
}

.search-console-drilldown__title-icon {
    color: var(--p-primary-color);
    margin-top: 0.15rem;
}

.search-console-drilldown__title {
    color: var(--p-text-color);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.search-console-drilldown__description {
    color: var(--p-text-muted-color);
    font-size: 0.875rem;
    margin: 0.15rem 0 0;
}

.search-console-drilldown__context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: -0.25rem 0 1rem;
}

.search-console-drilldown__kpis {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.search-console-drilldown__setup-message {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
}

.search-console-drilldown__setup-copy {
    color: var(--p-text-muted-color);
    display: grid;
    font-size: 0.875rem;
    gap: 0.15rem;
    min-width: 0;
}

.search-console-drilldown__setup-copy strong {
    color: var(--p-text-color);
    font-size: 0.9rem;
}

.search-console-drilldown__chart {
    margin-bottom: 1rem;
}

.search-console-drilldown__section-title {
    color: var(--p-text-color);
    font-size: 0.84rem;
    font-weight: 800;
    margin: 0 0 0.55rem;
}

.search-console-drilldown__content {
    display: block;
}

@media (min-width: 768px) {
    .search-console-drilldown__kpis {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .search-console-drilldown__header {
        flex-direction: column;
    }

    .search-console-drilldown__setup-message {
        align-items: stretch;
        flex-direction: column;
    }
}
