.aysa-ai-visibility__trend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.aysa-ai-visibility__trend,
.aysa-ai-visibility__signal-group {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    padding: 20px;
}

.aysa-ai-visibility__trend header,
.aysa-ai-visibility__signal-group > header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.aysa-ai-visibility__trend header h2,
.aysa-ai-visibility__signal-group h2 {
    margin: 0;
}

.aysa-ai-visibility__trend header p {
    color: #646970;
    margin: 5px 0 0;
}

.aysa-ai-visibility__trend header > strong {
    font-size: 26px;
}

.aysa-ai-visibility__trend-delta {
    font-size: 18px;
    font-weight: 600;
}

.aysa-ai-visibility__trend ol {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.aysa-ai-visibility__trend li {
    align-items: center;
    border-top: 1px solid #f0f0f1;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 9px 0;
}

.aysa-ai-visibility__trend li small,
.aysa-ai-visibility__signal-list article small {
    color: #646970;
}

.aysa-ai-visibility__signals {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.aysa-ai-visibility__signal-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.aysa-ai-visibility__signal-list article {
    background: #f6f7f7;
    border-radius: 7px;
    padding: 14px;
}

.aysa-ai-visibility__signal-list article p {
    white-space: pre-wrap;
}

@media (max-width: 480px) {
    .aysa-ai-visibility__trend-grid,
    .aysa-ai-visibility__signal-list {
        grid-template-columns: 1fr;
    }
}
