/* Stable report defaults. User overrides load afterward from wp-content/alo-audit-overrides/. */
:where(.alo-audit-explanation) { font-size: 16px; color: #9ca3af; margin-top: 6px; line-height: 1.6; font-style: italic; }
:where(.alo-audit-explanation__label) { font-style: normal; color: #d1d5db; font-weight: 500; }
:where(.alo-audit-ui-emphasis) { font-weight: 500; }
:where(.alo-audit-trust__insufficient-evidence) { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #f8fafc; color: #475569; font-size: 12px; line-height: 1.6; }
.alo-phase2-test-bubble-chart:not(.alo-phase2-local-market-chart)[data-alo-phase2-positioning-state="comparison"] > .alo-phase2-test-bubble-chart__canvas-wrap {
    height: var(--alo-comparable-chart-height, 420px) !important;
}
.alo-audit-reputation__heading { align-items: center; }
/* Retained reports keep their source; omit the former photo captions on display. */
.alo-audit-maps-place-photo > div { display: none; }
.alo-audit-evidence-cache-note {
    color: #64748b;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}
.alo-audit-evidence-cache-attribution {
    display: inline-flex;
    margin: 0 0 0 auto;
    padding-left: 10px;
    flex-shrink: 0;
}
:is(h1,h2,h3,h4,h5,h6):has(> .alo-audit-evidence-cache-attribution) {
    display: flex;
    align-items: center;
    gap: 10px;
}
.alo-audit-kpi-profile__chart,
.alo-audit-exec-peer-momentum svg text {
    font-family: inherit;
}
.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;
    box-sizing: border-box;
    width: 140px;
    height: 80px;
    padding: 10px;
    background: transparent;
}

:where(#alo-audit-report-header) .alo-audit-report-logo-wrap--dark {
    padding: 10px;
    border-radius: 10px;
    background: transparent;
}

/* White source artwork keeps contrast inside the image, never in the padding. */
#alo-audit-report-header .alo-audit-report-logo-wrap--dark > .alo-audit-report-logo {
    background: #000 !important;
}

:where(#alo-audit-report-header) .alo-audit-report-logo {
    display: block;
    flex-shrink: 0;
    max-width: 120px;
    max-height: 60px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* SVGs with only a viewBox otherwise collapse inside the shrink-to-fit flex wrapper. */
:where(#alo-audit-report-header) .alo-audit-report-logo[src$=".svg"],
:where(#alo-audit-report-header) .alo-audit-report-logo[src*=".svg?"] {
    width: 120px;
}

:where(#alo-audit-report-header) .alo-audit-report-logo--fallback {
    max-width: 64px;
    max-height: 60px;
}

:where(#alo-audit-report-header) .alo-audit-report-logo--legacy-dark-inset {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

: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-timestamp) a { color: inherit; text-decoration: none; }
:where(.alo-audit-report-timestamp) a:hover,
:where(.alo-audit-report-timestamp) a:focus-visible { text-decoration: underline; }
:where(.alo-audit-report-timestamp__market-link) { display: inline-flex; align-items: center; gap: 4px; }
:where(.alo-audit-report-timestamp__flag) { display: inline-block; vertical-align: middle; width: 20px; height: 15px; }
:where(.alo-audit-report-timestamp__separator) { margin: 0 4px; }

: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;
    }
}

.alo-phase2-local-market-chart .alo-phase2-test-bubble-chart__canvas-wrap { height: 360px !important; }
.alo-audit-report-details-heading { display:flex; align-items:center; gap:8px; margin:28px 0 18px; }
.alo-audit-report-details-heading .alo-audit-reputation__title { font-size:24px; }
.alo-audit-report-details-heading .alo-audit-reputation__subtitle { font-size:18px; }
.alo-audit-report-details-heading h2 { margin:0; font-weight:500; }
