/* ============================================================
   TECNOACCESS SINTESI AI — Block injected on /?s= search pages
   ============================================================ */

#aap-overview {
    margin: 0 0 32px;
    background: #1a1a1c;
    color: #ececec;
    border: 1px solid #2a2a2c;
    border-radius: 16px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

#aap-overview .aap-ov-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(212,160,90,.1) 0%, rgba(184,136,72,.05) 100%);
    border-bottom: 1px solid #2a2a2c;
}
#aap-overview .aap-ov-icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d4a05a 0%, #b88848 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
#aap-overview .aap-ov-title {
    font-weight: 600;
    font-size: 15px;
    color: #ececec;
    flex: 1;
}
#aap-overview .aap-ov-badge {
    background: rgba(245,158,11,.2);
    color: #f59e0b;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(245,158,11,.4);
}
#aap-overview .aap-ov-quota {
    font-size: 12px;
    color: #a0a0a8;
}

#aap-overview .aap-ov-body {
    padding: 18px 20px 20px;
}
#aap-overview .aap-ov-text {
    font-size: 15px;
    line-height: 1.65;
    color: #ececec;
    margin: 0 0 16px;
}
#aap-overview .aap-ov-text p:last-child { margin-bottom: 0; }
#aap-overview .aap-ov-text strong { font-weight: 600; }

#aap-overview .aap-ov-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a0a0a8;
    font-size: 14px;
    padding: 8px 0;
}
#aap-overview .aap-ov-loading::before {
    content: '';
    width: 18px; height: 18px;
    border: 2px solid #2a2a2c;
    border-top-color: #d4a05a;
    border-radius: 50%;
    animation: aap-ov-spin 0.8s linear infinite;
}
@keyframes aap-ov-spin {
    to { transform: rotate(360deg); }
}

#aap-overview .aap-ov-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    padding-top: 4px;
}
#aap-overview .aap-ov-sources-label {
    font-size: 11px;
    font-weight: 600;
    color: #6a6a72;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-right: 4px;
    align-self: center;
}
#aap-overview .aap-ov-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #232325;
    border: 1px solid #2a2a2c;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    color: #ececec;
    text-decoration: none;
    transition: all .15s;
}
#aap-overview .aap-ov-source:hover {
    border-color: #d4a05a;
    color: #d4a05a;
}
#aap-overview .aap-ov-source::before { content: '📄'; }

#aap-overview .aap-ov-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(212,160,90,.1);
    border-top: 1px solid #2a2a2c;
    color: #d4a05a;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all .15s;
}
#aap-overview .aap-ov-cta:hover {
    background: rgba(212,160,90,.2);
    text-decoration: none;
}
#aap-overview .aap-ov-cta::after { content: '→'; font-size: 16px; }

#aap-overview .aap-ov-error,
#aap-overview .aap-ov-exhausted {
    padding: 16px 20px;
    color: #a0a0a8;
    font-size: 14px;
    line-height: 1.5;
}
#aap-overview .aap-ov-exhausted strong { color: #ececec; }

@media (max-width: 600px) {
    #aap-overview {
        margin-left: -8px;
        margin-right: -8px;
        border-radius: 12px;
    }
    #aap-overview .aap-ov-header { padding: 12px 16px; }
    #aap-overview .aap-ov-body { padding: 14px 16px 16px; }
    #aap-overview .aap-ov-text { font-size: 14px; }
}
