/* Dedicated inbox controls stay independent of form/action button styling. */
html body.ui-modern .notification-bell {
    display: inline-flex; align-items: center; justify-content: center; position: relative;
    flex: 0 0 44px; width: 44px; min-height: 44px; padding: 8px;
    border: 1px solid #4b6255; border-radius: 12px; background: #16271f; color: #e9f3ed;
    cursor: pointer; box-shadow: none;
}
html body.ui-modern .notification-badge {
    position: absolute; top: -5px; right: -5px; min-width: 21px; padding: 2px 4px;
    border-radius: 20px; background: #c9f23b; color: #15200d; font-size: 11px; font-weight: 750;
}
html body.ui-modern .notification-inbox {
    position: fixed; inset: 0; margin: auto; width: min(520px, calc(100vw - 24px));
    max-width: none; max-height: calc(100dvh - 32px); padding: 22px;
    overflow-y: auto; border: 1px solid #45594d; border-radius: 18px;
    background: #14231b; color: #edf4ef; box-shadow: 0 24px 80px #0008;
}
.notification-inbox::backdrop { background: #07130caa; }
html body.ui-modern .notification-inbox-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html body.ui-modern .notification-inbox h2 { margin: 0; font-size: 22px; color: #edf4ef; }
html body.ui-modern .notification-inbox h3 { margin: 0 0 8px; font-size: 16px; color: #edf4ef; overflow-wrap: anywhere; }
html body.ui-modern .notification-inbox button {
    min-height: 44px; padding: 8px 12px; margin: 0; border: 1px solid #536b5b;
    border-radius: 9px; background: #22392b; color: #eff6f1; font-size: 13px;
    font-weight: 650; cursor: pointer; box-shadow: none;
}
html body.ui-modern .notification-inbox button:disabled { opacity: .5; cursor: default; }
html body.ui-modern :is(.notification-inbox button, .notification-bell):focus-visible { outline: 2px solid #c9f23b; outline-offset: 3px; }
html body.ui-modern .notification-inbox-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
html body.ui-modern .notification-inbox-status { color: #c0d1c5; font-size: 14px; margin: 12px 0; }
html body.ui-modern .notification-inbox-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
html body.ui-modern .notification-inbox-list li { margin: 0; padding: 16px; border: 1px solid #3d5144; border-radius: 12px; }
html body.ui-modern .notification-inbox-list li.is-unread { border-left: 3px solid #c9f23b; background: #1b3023; }
html body.ui-modern .notification-inbox-list p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: #d0ded5; overflow-wrap: anywhere; white-space: pre-line; }
html body.ui-modern .notification-item-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #b2c7b9; font-size: 12px; }
html body.ui-modern .notification-item-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html body.ui-modern .notification-inbox [data-inbox-more] { width: 100%; margin-top: 16px; }
html body.ui-modern :is(.notification-badge, [data-inbox-more])[hidden] { display: none; }
@media (max-width: 760px) {
    html body.ui-modern.ui-modern.ui-modern.ui-modern .header.has-notification-bell { gap: 10px; }
    html body.ui-modern .has-notification-bell .logo { margin-right: auto; }
    html body.ui-modern .has-notification-bell .notification-bell { order: 1; }
    html body.ui-modern .has-notification-bell .nav-toggle { order: 2; }
    html body.ui-modern .has-notification-bell .navbar { order: 3; }
    html body.ui-modern .notification-inbox { padding: 16px; }
}
