/* Additive: deliberately does not replace app.css or its candidate-specific deltas. */
.dh-tenant-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    line-height: 1.15;
}
.dh-tenant-brand [hidden] { display: none !important; }
.dh-tenant-brand img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}
.dh-tenant-brand [data-dh-brand-fallback] { overflow-wrap: anywhere; font-weight: 700; }
.dh-tenant-brand--public { max-width: min(12rem, 52vw); }
.dh-tenant-brand--public img { max-width: min(12rem, 52vw); max-height: 3.6rem; }
.dh-tenant-brand--sidebar { max-width: 11.875rem; margin-bottom: 1rem; }
.dh-tenant-brand--sidebar img { max-width: 11.875rem; max-height: 4rem; }
.dh-tenant-brand--mobile { display: none; }
@media (max-width: 1199.98px) {
    [data-dh-client-branding] {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: .5rem !important;
    }
    [data-dh-client-branding] > .dh-topbar-copy { grid-column: 1 / -1; grid-row: 2; }
    [data-dh-client-branding] > form { grid-column: 2; grid-row: 1; }
    [data-dh-client-branding] > button { grid-column: 3; grid-row: 1; }
    .dh-tenant-brand--mobile { display: flex; max-width: min(7rem, 100%); }
    .dh-tenant-brand--mobile img { max-width: 100%; max-height: 2rem; }
    .dh-tenant-brand--mobile [data-dh-brand-fallback] { font-size: .8rem; }
}
