/* V9 brand integration; no feature or sidebar changes. */
/* Public website */
.upg-topbar .upg-brand{min-width:0;line-height:1}
.upg-brand-logo{display:block;width:200px;max-width:100%;height:auto;object-fit:contain}
.upg-window-brand img{width:22px;height:22px;object-fit:contain;vertical-align:middle;margin-right:4px}
.upg-footer-logo{width:175px;height:auto;object-fit:contain;display:block}
/* Three V8 workspace headers: image wordmark and role label */
.v8-workspace .header .navbar-brand.v8-brand{flex-direction:column;align-items:flex-start;justify-content:center;gap:0;padding:2px 17px;overflow:hidden}
.v9-workspace-logo{display:block;width:170px;height:auto;max-height:51px;object-fit:contain;object-position:left center}
.v9-portal-label{display:block;font-size:9px;line-height:12px;letter-spacing:1.15px;text-transform:uppercase;font-weight:800;color:#667eab;margin:0 0 0 4px}
/* Header on login/register and public info pages */
.v9-login-logo,.v9-register-logo{display:block;width:200px;height:auto;max-width:100%;object-fit:contain;object-position:left center}
.v9-news-logo{width:200px;max-width:100%;height:auto;object-fit:contain;display:inline-block}
.v9-public-nav-logo{width:160px;height:auto;object-fit:contain;vertical-align:middle}
/* Main offerwall header/footer */
.top-row .logo{width:200px!important;max-width:75vw;height:auto!important;object-fit:contain}
.offerwall_main_footer .v9-footer-brand{width:180px;max-width:100%;height:auto;object-fit:contain}
@media(max-width:768px){
 .upg-brand-logo{width:150px}
 .v8-workspace .header .navbar-brand.v8-brand{padding-left:12px!important;padding-right:4px!important}
 .v9-workspace-logo{width:142px;max-height:43px}
 .v9-portal-label{font-size:8px;line-height:10px}
 .v9-login-logo,.v9-register-logo,.v9-news-logo{width:168px}
 .v9-public-nav-logo{width:136px}
 .top-row .logo{width:155px!important}
}
