#melNotifyRoot{font-family:inherit}#melNotifyBell{position:fixed;right:88px;top:105px;z-index:9990;border:1px solid #bbc9e8;background:#fff;color:#193d81;padding:8px 11px;border-radius:20px;cursor:pointer;box-shadow:0 3px 12px #091c4418}#melNotifyCount{background:#d91e3c;color:white;border-radius:12px;padding:2px 5px;font-size:11px}#melNotifyPanel{position:fixed;right:24px;top:151px;z-index:9991;width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 170px);overflow:hidden;background:white;color:#183052;border:1px solid #bccce7;border-radius:14px;box-shadow:0 12px 40px #1024473b}#melNotifyPanel[hidden]{display:none}#melNotifyPanel header{display:flex;justify-content:space-between;align-items:center;padding:14px;background:#164ab8;color:white}#melNotifyClose{background:transparent;border:0;color:white;font-size:24px;cursor:pointer}.mel-notify-body{padding:15px;overflow:auto;max-height:calc(100dvh - 230px);font-size:13px}.mel-notify-muted{font-size:12px;color:#586a83;line-height:1.5}.mel-notify-pref{display:flex;gap:9px;align-items:flex-start;padding:8px 0;line-height:1.4}.mel-notify-pref input{margin-top:3px}.mel-notify-actions{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.mel-notify-actions button{border:1px solid #a9bfee;color:#1847af;background:#f5f8ff;border-radius:7px;padding:7px 10px;cursor:pointer;font-size:12px}.mel-notify-event{padding:11px 7px;border-top:1px solid #e1e8f5;word-break:break-word}.mel-notify-event strong{font-size:12px}.mel-notify-unread{background:#edf4ff;border-left:3px solid #2261dc;padding-left:10px}@media(max-width:650px){#melNotifyBell{top:101px;right:15px}#melNotifyPanel{right:14px;top:145px}}

.mel-notify-options{border:1px solid #d3dff1;border-radius:8px;padding:8px 12px;margin:7px 0 12px}.mel-notify-options legend{font-weight:700;font-size:12px;padding:0 5px}.mel-notify-options:disabled{opacity:.5}.mel-notify-actions button:disabled{opacity:.5;cursor:not-allowed}

/* Notification delivery settings live in Account Centre, not the bell popover. */
#melNotifyAccountSettings .mel-notify-pref{font-size:14px;color:inherit}
#melNotifyAccountSettings .mel-notify-options{margin:12px 0 20px;max-width:740px}
#melNotifyAccountSettings .mel-notify-muted{font-size:13px}
#melNotifyOpenSettings{font-weight:700}
html[data-melapora-theme="dark"] #melNotifyAccountSettings .mel-notify-pref{color:#e5edf9}

/* V199: top navigation alignment; no floating bell over Add enquiry or other buttons. */
body > header .nav #melNotifyRoot{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto;order:0;z-index:2}
body > header .nav #melNotifyBell{position:relative;top:auto;right:auto;left:auto;bottom:auto;display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:42px;min-height:40px;padding:7px 9px;border-radius:999px;box-shadow:0 2px 8px #091c4412;line-height:1}
body > header .nav #melNotifyPanel{position:fixed;top:78px;right:max(16px,calc((100vw - 1180px)/2 + 20px));left:auto;max-height:calc(100dvh - 94px)}
@media(max-width:650px){body > header .nav #melNotifyBell{min-width:36px;min-height:36px;padding:6px}body > header .nav #melNotifyPanel{top:76px;right:10px;width:min(440px,calc(100vw - 20px));max-height:calc(100dvh - 86px)}}
