@import url('/site-polish.css');
.brand-logo,.mail-brand-logo{content:url('/favicon.png')!important;display:block!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;transform:none!important;overflow:visible!important;flex:0 0 auto;filter:drop-shadow(0 8px 22px rgba(34,211,238,.12)) drop-shadow(0 6px 18px rgba(244,114,182,.08))}.brand-logo.small{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important}.brand-logo.login{width:124px!important;height:124px!important;margin:0 auto 18px}.crm-brand .brand-logo{width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important}.mail-brand-logo{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important}.mail-brand-logo.large{width:132px!important;height:132px!important;margin:0 auto 14px}.brand-row{align-items:center}.button.danger{border:1px solid rgba(255,77,109,.5);background:rgba(255,77,109,.08);color:#ff8da3}.button.danger:hover{border-color:#ff4d6d;background:rgba(255,77,109,.15);color:#fff}

/* CRM chrome hardening. Old cached CRM markup placed the unread count as a loose sidebar child; never render that state. */
.crm-sidebar>#unreadBadge{display:none!important;position:static!important;width:0!important;height:0!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
.crm-sidebar>.crm-mail-link{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-width:0!important}
.crm-sidebar>.crm-mail-link>#unreadBadge{display:inline-grid!important;position:static!important;place-items:center!important;width:auto!important;height:24px!important;min-width:24px!important;margin:0 0 0 auto!important;padding:0 7px!important;overflow:visible!important;border-radius:999px!important;background:#050506!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important;font-size:11px!important;font-weight:900!important;line-height:1!important}
.crm-sidebar>.crm-mail-link>#unreadBadge.hidden{display:none!important}
.crm-sidebar>.crm-sidebar-footer{margin-top:auto!important;width:100%!important;min-width:0!important;overflow:hidden!important}
.crm-sidebar>.crm-sidebar-footer .session-identity{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:9px 10px!important;border:1px solid var(--line-soft)!important;border-radius:13px!important;background:var(--panel)!important;overflow:hidden!important}
.crm-sidebar>.crm-sidebar-footer .session-avatar{position:static!important;display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;padding:0!important;border-radius:50%!important;background:var(--accent-soft)!important;color:var(--accent-2)!important;border:1px solid rgba(103,232,249,.2)!important;font-weight:800!important;overflow:hidden!important}
.crm-sidebar>.crm-sidebar-footer .session-identity>div:last-child{flex:1 1 auto!important;min-width:0!important;width:auto!important;background:transparent!important;overflow:hidden!important}
.crm-sidebar>.crm-sidebar-footer .session-identity strong,.crm-sidebar>.crm-sidebar-footer .session-identity span{display:block!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.crm-sidebar>.crm-sidebar-footer .session-identity strong{font-size:13px!important;line-height:1.25!important;color:var(--text)!important}.crm-sidebar>.crm-sidebar-footer .session-identity span{margin-top:2px!important;color:var(--muted)!important;font-size:10px!important;letter-spacing:.06em!important;text-transform:uppercase!important}

/* Native From picker: force a dark popup in Chromium/Windows as well as the closed select. */
#composeFrom{color-scheme:dark!important;background:#0d0d10!important;color:#f8f8fb!important;border:1px solid #2a2a33!important;border-radius:8px!important;padding:6px 8px!important}
#composeFrom option,#composeFrom optgroup{background:#0d0d10!important;color:#f8f8fb!important}
#composeFrom option:checked{background:#1f6feb!important;color:#fff!important}

@media(max-width:760px){.brand-logo.small{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important}.crm-brand .brand-logo{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important}.crm-sidebar>.crm-sidebar-footer{display:none!important}.crm-sidebar>.crm-mail-link>#unreadBadge{min-width:20px!important;height:20px!important;padding:0 5px!important;font-size:10px!important}}
