/* Platform-owned SiteHost attribution. No tenant selectors, fonts, JS or external assets. */
.aegis-platform-credit {
    --aegis-credit-surface: #f1f5f4;
    --aegis-credit-border: #d1dcda;
    --aegis-credit-ink: #184349;
    box-sizing: border-box;
    display: block;
    position: static;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 12px 18px;
    clear: both;
    border: 0;
    border-top: 1px solid var(--aegis-credit-border);
    border-radius: 0;
    background-color: var(--aegis-credit-surface);
    color: var(--aegis-credit-ink);
    text-align: center;
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.6;
    letter-spacing: .01em;
    box-shadow: none;
    text-transform: none;
    text-shadow: none;
}
.aegis-platform-credit a,
.aegis-platform-credit a:visited {
    color: var(--aegis-credit-ink);
    font: inherit;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
.aegis-platform-credit a:hover { text-decoration-thickness: 2px; }
.aegis-platform-credit a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
    border-radius: 2px;
}
@media (prefers-color-scheme: dark) {
    .aegis-platform-credit {
        --aegis-credit-surface: #17242a;
        --aegis-credit-border: #3b535d;
        --aegis-credit-ink: #e0edf1;
    }
}
/* Explicit site overrides win over OS preference. */
:is(html, body)[data-theme="dark"] .aegis-platform-credit,
:is(html, body).dark .aegis-platform-credit,
:is(html, body)[data-bs-theme="dark"] .aegis-platform-credit {
    --aegis-credit-surface: #17242a;
    --aegis-credit-border: #3b535d;
    --aegis-credit-ink: #e0edf1;
}
:is(html, body)[data-theme="light"] .aegis-platform-credit,
:is(html, body).light .aegis-platform-credit,
:is(html, body)[data-bs-theme="light"] .aegis-platform-credit {
    --aegis-credit-surface: #f1f5f4;
    --aegis-credit-border: #d1dcda;
    --aegis-credit-ink: #184349;
}
@media (prefers-reduced-motion: reduce) {
    .aegis-platform-credit, .aegis-platform-credit a { transition: none; animation: none; }
}
