.brand img {
    display: block;
    width: min(245px, 48vw);
    height: 46px;
    object-fit: contain;
    object-position: left center;
}

.side-brand-mark {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    padding: 3px;
    border-radius: 9px;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.side-brand-mark img,
.mobile-brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.side-brand-logo {
    display: block;
    width: 156px;
    max-width: 100%;
    height: 28px;
    object-fit: contain;
    object-position: left center;
    border-radius: 5px;
}

.side-brand small {
    grid-column: 2;
}

.mobile-brand {
    width: 38px;
    height: 38px;
    padding: 3px;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
    flex: 0 0 auto;
}

@media (max-width: 720px) {
    .side-brand {
        grid-template-columns: 38px minmax(0, 1fr) 40px;
        gap: 8px;
        padding: 10px 14px;
    }

    .side-brand-logo {
        width: min(164px, 100%);
    }
}

@media (max-width: 430px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    .nav {
        gap: 8px;
        padding-inline: 14px;
    }

    .nav nav {
        gap: 8px;
    }

    .brand img {
        width: min(178px, 46vw);
        height: 38px;
    }

    .auth-card {
        min-width: 0;
        padding-inline: clamp(20px, 7vw, 30px);
    }

    .auth-options {
        gap: 12px;
        flex-wrap: wrap;
    }
}

@media (max-width: 360px) {
    .mobile-brand {
        display: grid;
    }
}
.side-brand{background:#fff!important;box-shadow:none!important;border-radius:0!important;grid-template-columns:minmax(0,1fr) 10px!important}.side-brand-mark{display:none!important}.side-brand-logo{grid-column:1!important;grid-row:1!important;width:min(220px,100%)!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:left center!important}.side-brand small{grid-column:1!important;grid-row:2!important}.mobile-brand{background:#fff!important}.mobile-brand img{display:block;width:100%;height:auto!important;max-height:34px;object-fit:contain!important}.notification-bell svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
/* Definitive sidebar restyle: preserve the official 980x112 wordmark at native ratio. */
.side-brand {
    min-height: 96px;
    padding: 18px 16px 14px;
    gap: 2px;
    align-content: center;
}
.side-brand-logo {
    width: min(220px, 100%);
    height: auto;
    aspect-ratio 980 / 112;
    max-height: none;
    object-fit: contain;
    object-position: left center;
    flex: 0 0 auto;
}
.side-brand small {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: .14em;
    font-weight: 700;
}
.company-chip { margin: 12px; padding: 12px 13px; gap: 11px; background: #123b5d; border: 1px solid #2d5d7e; border-radius: 12px; box-shadow: inset 0 1px 0 #ffffff12; }
.company-chip > span { width: 36px; height: 36px; border-radius: 10px; background: #2aa66f; flex: 0 0 0 auto; box-shadow: 0 0 0 3px #fffff0d; }
.company-chip small { color: #a9c7d2; font-size: 9px; letter-spacing: .13em; line-height: 1.2; }
.company-chip b { color: #fff; font-size: 12px; line-height: 1.35; }
@media (max-width: 720px) { .side-brand { min-height: 88px; padding: 14px 16px 12px; } .side-brand-logo { width: min(220px, 100%); } }
@media (max-width: 430px) { .side-brand { min-height: 84px; padding-inline: 14px; } .side-brand-logo { width: min(210px, 100%); } .company-chip { margin: 10px; } }