/* October brand: width controls scale; height always follows the intrinsic ratio. */
html body img[data-iw-brand]{object-fit:contain!important;object-position:center!important;filter:none!important;mix-blend-mode:normal!important;box-sizing:border-box!important;}
html body.login-bg .iw-auth-v2 .iw-auth-top .iw-auth-brand{display:block;max-width:100%;}
html body.login-bg .iw-auth-v2 .iw-auth-top .iw-auth-brand img[data-iw-brand]{display:block!important;width:220px!important;height:auto!important;max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon .iw-nav-logo.iw-nav-logo-compact{height:70px!important;min-height:70px!important;flex:0 0 70px!important;padding-top:6px!important;padding-bottom:6px!important;}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon .iw-nav-logo.iw-nav-logo-compact a.iw-nav-logo-link{display:flex!important;align-items:center!important;justify-content:center!important;height:58px!important;min-height:0!important;max-height:none!important;max-width:100%!important;padding:0!important;overflow:visible!important;}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon .iw-nav-logo.iw-nav-logo-compact img.logoimaginaweb[data-iw-brand]{display:block!important;width:192px!important;height:auto!important;max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;object-fit:contain!important;filter:none!important;mix-blend-mode:normal!important;}
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-logo{min-width:0!important;max-width:150px!important;}
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-logo img[data-iw-brand]{display:block!important;width:100%!important;max-width:150px!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;object-fit:contain!important;}
/* The administrative header is 64px tall: the complete mark fits inside 52px. */
html body.iw-admin-shell .navigation a.logo{padding:6px 20px!important;justify-content:center!important;}
html body.iw-admin-shell .navigation a.logo img[data-iw-brand]{display:block!important;width:180px!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;object-fit:contain!important;filter:none!important;mix-blend-mode:normal!important;}
html body.iw-admin-shell.iw-shell-collapsed .navigation a.logo{padding:6px 8px!important;}
html body.iw-admin-shell.iw-shell-collapsed .navigation a.logo img[data-iw-brand]{width:54px!important;max-width:100%!important;height:auto!important;max-height:none!important;}
html body .login-container h1.logo{height:auto!important;padding:24px 0 0!important;margin:0 0 12px!important;}
html body .login-container h1.logo a{display:flex!important;justify-content:center!important;max-width:100%!important;}
html body .login-container h1.logo img[data-iw-brand]{display:block!important;width:260px!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;margin:0 auto!important;}
/* Mailbox uses both the WHMCS shell and its own standalone document. */
html body .iwm-mailbox-page #mailboxai-whmcs.iwm-state-app>#iwm-sidebar.sidebar .s-logo-brand,html body .iwm-mailbox-page #mailboxai-whmcs.iwm-state-app>#iwm-sidebar.sidebar .s-logo-brand .iwm-logo-link{height:58px!important;min-height:58px!important;max-width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;}
html body .iwm-mailbox-page #mailboxai-whmcs.iwm-state-app>#iwm-sidebar.sidebar img.s-logo-image[data-iw-brand]{display:block!important;width:180px!important;height:auto!important;max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;filter:none!important;mix-blend-mode:normal!important;}
html body .brand img.brand-image[data-iw-brand],html body img.choice-brand[data-iw-brand],html body .brand img[data-iw-brand]{width:min(220px,100%)!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;}
@media(max-width:1274px){html body.iw-admin-shell .navigation a.logo{padding:6px 12px!important;}html body.iw-admin-shell .navigation a.logo img[data-iw-brand]{width:150px!important;}}
@media(max-width:991px){html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon .iw-nav-logo.iw-nav-logo-compact img.logoimaginaweb[data-iw-brand]{width:168px!important;}html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-logo{width:130px!important;max-width:100%!important;}}
@media(max-width:600px){html body.login-bg .iw-auth-v2 .iw-auth-top .iw-auth-brand img[data-iw-brand]{width:200px!important;}html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-logo img[data-iw-brand]{max-width:130px!important;}}
@media(min-width:992px){html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon:is(.active,.leftSideBarClosed) .iw-nav-logo.iw-nav-logo-compact img.logoimaginaweb[data-iw-brand]{width:48px!important;}}
