.account-alerts{flex:none}.account-alerts summary{width:44px;height:44px;background:var(--surface);color:var(--ink);border-color:var(--line)}
.account-alerts .alert-count{right:-4px;top:-5px;border-color:var(--surface)}
.account-alerts[open] summary{color:var(--accent);background:var(--surface-accent,#eee8f8);border-color:var(--accent)}
.account-alerts .notice-popover{top:calc(100% + 24px);z-index:90;background:var(--surface);color:var(--ink);border-color:var(--line);text-align:left}
.account-alerts .notice-popover .button{max-width:100%;white-space:normal;min-height:44px}
.account-alerts .notice-popover-footer>a{min-height:44px;display:flex;align-items:center}
.account-notification-center{min-width:0}.account-notification-center .button{min-height:44px}.account-notification-center .notice-filters{flex-wrap:wrap}.account-notification-center .notice-filters .button{min-height:44px}
.account-notification-center .admin-notice,.account-alerts .admin-notice{overflow-wrap:anywhere}.account-notification-center h3,.account-alerts h3{line-height:1.45}
.has-account-alerts nav{align-items:center}.has-account-alerts nav>.button,.has-account-alerts .account-header-logout{min-height:44px}
@media(max-width:760px){
 .topbar.has-account-alerts{gap:6px}.topbar.has-account-alerts nav{gap:6px}.topbar.has-account-alerts nav>a[href="/products"]{display:none}
 .topbar.has-account-alerts .brand{gap:6px}.topbar.has-account-alerts .brand img{width:32px;height:32px}.topbar.has-account-alerts .brand strong{font-size:1rem}.topbar.has-account-alerts .brand small{font-size:.42rem;letter-spacing:1px;white-space:nowrap}
 .topbar.has-account-alerts nav>.button{padding:8px;font-size:.76rem}.topbar.has-account-alerts .account-header-logout{width:44px;padding:8px}
 .account-alerts .notice-popover{position:fixed;top:86px;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));width:auto;max-height:calc(100vh - 180px);max-height:calc(100dvh - 180px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px}
 .account-notification-center .row{flex-wrap:wrap}.account-notification-center .row>.button{min-height:44px}.account-notification-center .admin-notice{padding:18px 0}
}
@media(prefers-reduced-motion:reduce){.account-alerts *{scroll-behavior:auto}}

/* Small footer copy, with full touch targets for Android and iOS. */
.admin-alerts .notice-popover-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}
.admin-alerts .notice-popover-footer>a,.admin-alerts .notice-popover-footer>.notice-mark-all{flex:1 1 0;min-width:0;min-height:44px;display:flex;align-items:center;font:inherit;font-size:.72rem;font-weight:500;line-height:1.5;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.admin-alerts .notice-mark-all{justify-content:flex-end;text-align:right;padding:6px 0;border:0;border-radius:4px;background:transparent;color:var(--accent);cursor:pointer}
.admin-alerts .notice-mark-all:hover:not(:disabled){text-decoration:underline}
.admin-alerts .notice-mark-all:disabled{color:var(--muted);opacity:.75;cursor:default}
.admin-alerts .notice-mark-all:focus-visible{outline:2px solid var(--focus,var(--accent));outline-offset:3px}
