/* Keep uploaded company artwork inside its natural aspect ratio on every surface. */
.tenant-brand { display: inline-flex; align-items: center; max-width: 100%; }
.tenant-brand-mark {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    background: #8795a6;
    border: 1px solid #dfe5ec;
    border-radius: 7px;
    overflow: hidden;
}
.tenant-brand-mark[data-background="light"] { background: #f5f7fa; }
.tenant-brand-mark[data-background="dark"] { background: #20344c; border-color: #435a73; }
.tenant-brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.app-sidebar .tenant-brand-mark { width: 169px; height: 63px; padding: 6px 9px; }
.app-sidebar .tenant-brand:focus-visible { outline: 3px solid #77ceff; outline-offset: 4px; border-radius: 7px; }
.tenant-brand-mobile, .tenant-login-mobile { display: none; }
.has-tenant-brand .login-brand .tenant-brand-mark { width: clamp(200px,21vw,300px); height: clamp(110px,12vw,165px); padding: 12px 18px; border-radius: 12px; }
.has-tenant-brand .login-brand h1 { margin: 22px 0 0; font-size: clamp(26px,3vw,45px); overflow-wrap: anywhere; }
.has-tenant-brand .tenant-brand-credit { margin: 28px 0 0; padding-top: 14px; border-top: 1px solid #d9e2ec; color: #53657a; font-size: 12px; }
@media(max-width:760px) {
    .tenant-brand-mobile { display: flex; flex: none; }
    .tenant-brand-mobile .tenant-brand-mark { width: 64px; height: 34px; padding: 3px; border-radius: 5px; }
    .has-tenant-brand .login-brand { display: none; }
    .has-tenant-brand .login-form { padding: 32px 22px; }
    .tenant-login-mobile { display: block; margin-bottom: 20px; }
    .tenant-login-mobile .tenant-brand-mark { width: 172px; height: 82px; padding: 7px 10px; }
}
@media print {
    .tenant-brand-mobile { display: none; }
}
