/* Stable report defaults. User overrides load afterward from wp-content/alo-audit-overrides/. */
.alo-audit-evidence-cache-note {
    color: #64748b;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}
.alo-audit-evidence-cache-attribution {
    display: block;
}
.alo-audit-evidence-archive-context {
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
}
:where(#alo-audit-report-header).alo-audit-report-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    padding: 16px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

:where(#alo-audit-report-header) .alo-audit-report-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

:where(#alo-audit-report-header) .alo-audit-report-logo-wrap--dark {
    padding: 8px 12px;
    border-radius: 10px;
    background: #000;
}

:where(#alo-audit-report-header) .alo-audit-report-logo {
    display: block;
    flex-shrink: 0;
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

:where(#alo-audit-report-header) .alo-audit-report-logo--fallback {
    max-width: 64px;
    max-height: 64px;
}

:where(#alo-audit-report-header) .alo-audit-report-logo--legacy-dark-inset {
    padding: 8px 12px;
    border-radius: 10px;
    background: #000;
}

:where(#alo-audit-report-header) .alo-audit-report-title-line {
    margin-bottom: 2px;
    color: #111827;
    font-size: 16px;
    font-weight: 500;
}

:where(#alo-audit-report-header) .website-title,
:where(#alo-audit-report-header) .website-sector {
    color: #111827;
    font-weight: 500;
}

:where(#alo-audit-report-header) .alo-audit-report-website {
    color: #111827;
    font-size: 20px;
    font-weight: 500;
    word-break: break-all;
}

:where(#alo-audit-report-header) .alo-audit-report-header__resolution {
    margin-top: 4px;
    color: #908d8d;
    font-size: 12px;
}

:where(#alo-audit-report-header) .alo-audit-report-timestamp {
    display: block;
    margin-top: 4px;
    color: #908d8d;
    font-size: 12px;
    font-weight: 400;
}

:where(#alo-audit-report-footer).alo-audit-report-footer {
    margin-top: 28px;
    padding: 16px 20px;
    text-align: center;
}

:where(#alo-audit-report-footer) .alo-audit-report-build-version {
    margin-bottom: 4px;
    color: #9ca3af;
    font-size: 11px;
}

:where(#alo-audit-report-footer) .alo-audit-report-footer__url {
    color: #9ca3af;
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
}

:where(#alo-audit-report-footer) .alo-audit-report-footer__notice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 3px 10px;
    border-radius: 99px;
    background: #f3f4f6;
}

:where(#alo-audit-report-footer) .alo-audit-report-footer__notice svg {
    fill: #6b7280;
}

:where(#alo-audit-report-footer) .alo-audit-report-footer__notice-text {
    color: #6b7280;
    font-size: 11px;
}

/* Keep the canonical table available for fallback/print without duplicating a
   rendered distribution chart or hiding the management findings disclosure. */
@media screen {
    #alo-audit-kpi-profile[data-chart-state="rendered"] > [data-alo-kpi-canonical-table="1"] {
        display: none;
    }
}
@media print {
    #alo-audit-kpi-profile > [data-alo-kpi-canonical-table="1"] {
        display: block;
    }
}
