/* Notification controls stay separate from navigation and never block an open form. */
.dusty-alerts{position:relative;display:inline-flex;align-items:center}
body .alerts-bell{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:8px;border:0;background:transparent;color:#344754;cursor:pointer;border-radius:8px}
.alerts-bell svg{width:24px;height:24px}.alerts-count{position:absolute;top:0;right:0;min-width:18px;height:18px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:#c63138;color:white;font:700 11px/18px system-ui;text-align:center;border:1px solid white}
.alerts-count[hidden],.alerts-panel[hidden]{display:none}
.alerts-panel{position:absolute;z-index:1500;right:0;top:52px;width:min(360px,calc(100vw - 32px));max-height:70vh;overflow-y:auto;background:#fff;color:#243746;border:1px solid #d8e1e7;border-radius:12px;box-shadow:0 8px 28px #10293826;padding:16px;box-sizing:border-box}
.alerts-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px}.alerts-panel h2{font-size:18px;margin:0}.alerts-panel button{min-height:44px;border:0;background:transparent;color:#166882;font:600 13px system-ui;cursor:pointer}.alerts-controls{display:flex;justify-content:space-between;gap:12px;margin-top:4px}.alerts-panel ul{list-style:none;margin:8px 0;padding:0}.alerts-panel li{list-style:none;border-top:1px solid #e6ebef;padding:10px 0}.alerts-entry{display:block;text-decoration:none;color:#243746;font-size:14px;line-height:1.4}.alerts-entry[data-unread="true"]{font-weight:700;border-left:3px solid #00688d;padding-left:9px}.alerts-entry a{color:inherit;text-decoration:none}.alerts-entry a:hover,.alerts-entry a:focus-visible{text-decoration:underline}.alerts-subject,.alerts-summary{font-weight:700}.alerts-panel .alerts-subject{color:#166882}.alerts-toast .alerts-subject,.alerts-toast .alerts-summary{color:#fff}.alerts-panel .alerts-summary{color:#243746}.alerts-meta{display:flex;align-items:baseline;gap:8px;margin-top:2px}.alerts-detail{flex:1 1 auto;min-width:0;font-weight:600;color:#243746}.alerts-panel time{flex:0 0 auto;margin:0 0 0 auto;font:400 12px system-ui;color:#687886;text-align:right;white-space:nowrap}.alerts-panel [data-alert-status]{font-size:13px;color:#687886;margin:4px 0}.alerts-panel> a{color:#166882;min-height:44px;display:flex;align-items:center}
.alerts-toasts{position:fixed;right:18px;bottom:max(20px,env(safe-area-inset-bottom));z-index:1600;width:min(350px,calc(100vw - 32px));display:flex;flex-direction:column;gap:8px;pointer-events:none}
.alerts-toast{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#243746;color:white;border-radius:10px;box-shadow:0 4px 20px #10293830;pointer-events:auto;font-size:14px}.alerts-toast a{color:white;text-decoration:none;flex:1}.alerts-toast button{border:0;color:white;background:transparent;min-width:32px;min-height:32px;font-size:20px;cursor:pointer}
body[data-mobile-menu-position="bottom"] .alerts-toasts{bottom:100px}
@media(max-width:600px){.alerts-panel{position:fixed;top:var(--alerts-top,150px);right:12px;max-height:var(--alerts-height,calc(100dvh - 250px))}.alerts-toasts{bottom:95px;right:16px}}
@media(prefers-reduced-motion:no-preference){.alerts-toast{animation:alert-arrival .18s ease-out}@keyframes alert-arrival{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
