/* Preserve the approved square logo and wide custom logos without distortion. */
body .topbar .brand,body.authenticated .topbar .brand{width:auto}
body .topbar .brand img,body.authenticated .topbar .brand img{width:auto;height:72px;max-width:192px;object-fit:contain}
.auth-brand{height:220px}
.auth-brand img{width:200px;height:200px;max-width:calc(100% - 60px);object-fit:contain}
.legal-top img{width:auto;height:90px;max-width:192px;object-fit:contain}
.connect-card img{display:block;width:auto;height:150px;max-width:100%;max-height:none;margin:0 auto 20px;object-fit:contain;object-position:center}
.inst-final img{position:static;display:block;width:auto;height:150px;max-width:192px;margin-top:30px;object-fit:contain;opacity:1}
@media(max-width:900px){
 body .topbar .brand img,body.authenticated .topbar .brand img{height:60px;max-width:170px}
}
@media(max-width:640px){
 body .topbar .brand img,body.authenticated .topbar .brand img{height:56px;max-width:110px}
 .auth-brand{height:190px}
 .auth-brand img{width:172px;height:172px}
 .legal-top img{height:72px;max-width:130px}
}
