
/* Backend island logo: same circular visual language as the login logo. */
#appLogo{border-radius:50%!important;overflow:hidden!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;isolation:isolate!important}
#appLogo:not(.hasImage){display:grid!important;place-items:center!important;background:linear-gradient(135deg,var(--brand),#ff8b3d,var(--brand2))!important;color:#fff!important}
#appLogo.hasImage{background-color:transparent!important}
/* Light and dark overflow menus follow the active theme. */
body.theme-light #mobileOverflow{background:rgba(255,255,255,.97)!important;color:#132238!important;border-color:#dbe3ef!important;box-shadow:0 18px 48px rgba(15,31,56,.18)!important}
body.theme-light #mobileOverflow button{color:#132238!important;background:transparent!important}
body.theme-light #mobileOverflow button:hover,body.theme-light #mobileOverflow button.current{color:#132238!important;background:linear-gradient(135deg,rgba(232,63,91,.08),rgba(122,92,255,.13))!important}
body.theme-dark #mobileOverflow{background:rgba(13,23,40,.97)!important;color:#eef4ff!important;border-color:#34445f!important}
body.theme-dark #mobileOverflow button{color:#eef4ff!important}
/* Professional button text alignment, without changing sizes or brand colors. */
button,.btn,.iconBtn,.settingsMenuBtn,.adminTabs .btn,.mobileOverflow button{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
/* Primary submit/create actions belong on the right. */
#newUser,#newMailbox,#newProvider,#newDomain,#newRole{display:flex!important;width:max-content!important;margin-left:auto!important;margin-right:0!important;margin-bottom:12px!important}
.composeFooter,.settingsFooter,.profileActions,.pageActionBar,.modalbox .actions,.adminSectionHead .actions{justify-content:flex-end!important}
.composeFooter>span,.settingsFooter>span{margin-right:auto!important}
#domainPolicyForm>#saveDomainPolicy,#domainPolicyForm .composeFooter .btn{margin-left:auto!important}
.domainActions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;width:100%!important}
.domainActions .domainDelete{margin-left:auto!important}
/* Public domain color is always the exact saved palette color. */
#loginDomain{color:var(--xm-login-domain-color,var(--ink))!important;font-weight:800!important}
#loginDomain option{font-weight:750!important}
#quickMailboxModal{z-index:2147483400!important}
#toastHost{z-index:2147483647!important}
@media(max-width:850px){#newUser,#newMailbox,#newProvider,#newDomain,#newRole{margin-left:auto!important;width:max-content!important}.domainActions{justify-content:flex-end!important}.composeFooter,.settingsFooter{align-items:center!important;flex-direction:row!important}.composeFooter .btn,.settingsFooter .btn{width:auto!important;margin-left:auto!important}}

