/* Account menu stays in the top layer, rather than competing with dashboard cards. */
.shell>header:has(#profileMenu[open]){z-index:1800!important;overflow:visible!important}
#profileMenu{overflow:visible!important}
#profileMenu .profile-dropdown{box-sizing:border-box;width:340px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain;padding:20px;gap:12px;background:#fff;color:#123456;border:1px solid #dbe5eb;border-radius:16px;box-shadow:0 20px 65px #1234562b;font:400 16px/1.5 'DM Sans',sans-serif;z-index:1801!important}
#profileMenu .profile-dropdown[popover]{position:fixed;margin:0;inset:auto;display:none}
#profileMenu .profile-dropdown[popover]:popover-open{display:flex;flex-direction:column}
#profileMenu:not([open]) .profile-dropdown{display:none!important}
#profileMenu .profile-dropdown>*{flex-shrink:0;max-width:100%;overflow-wrap:anywhere;position:static}
#profileMenu .profile-dropdown button,#profileMenu .profile-dropdown a{font:inherit;min-height:46px;white-space:normal;text-align:left}
#profileMenu .profile-dropdown>small{font-size:14px;line-height:1.5}
body:has(#profileMenu[open]) .page-scroll-tools{visibility:hidden}
#profileMenu .profile-dropdown .plan-account-link{display:block;color:#1c665d;text-decoration:none;border-top:1px solid #e2e9ed;padding-top:12px;font-weight:650}
@media(max-width:480px){#profileMenu .profile-dropdown{padding:17px;width:calc(100vw - 24px);max-height:calc(100dvh - 90px)}}
