.notification-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; }
.notification-toggle__label { font-size: 12px; font-weight: 600; }
.notification-toggle > i { font-size: 18px; }
.notification-count { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 20px; padding: 3px 6px; border-radius: 7px; font-size: 11px; font-weight: 700; line-height: 1.2; }
.notification-count--new { color: #fff; background: #396ec0; }
.notification-count--tasks { color: #754207; background: #ffdf99; }
.sb-topnav .notifications-dropdown-menu.notification-center { width: 420px; max-width: calc(100vw - 24px); min-width: 0; padding: 0; margin-top: 10px; right: 0; left: auto; border: 1px solid #dbe4ef; border-radius: 16px; box-shadow: 0 18px 56px #142e532e; color: #25354c; background: #fff; overflow: hidden; z-index: 2050; }
.notification-center__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 15px; border-bottom: 1px solid #e8edf4; }
.notification-center__header strong { font-size: 18px; letter-spacing: -.3px; color: #182c49; }
.notification-center__header p { margin: 3px 0 0; font-size: 12px; color: #64748b; }
.notification-all { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 9px; background: #eef4fc; color: #285692; font-weight: 700; font-size: 12px; white-space: nowrap; }
.notification-center__scroll { max-height: min(560px, calc(100vh - 225px)); max-height: min(560px, calc(100dvh - 225px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #becadd transparent; }
.notification-section { padding: 14px 10px 8px; }
.notification-section + .notification-section { border-top: 1px solid #e8edf4; }
.notification-section__heading { display: flex; align-items: center; gap: 8px; padding: 0 8px; margin-bottom: 8px; }
.notification-section__heading h6 { margin: 0; color: #364961; font-size: 12px; font-weight: 800; letter-spacing: .2px; }
.notification-section__heading > span { padding: 1px 6px; border-radius: 6px; background: #edf1f6; color: #53657c; font-size: 11px; font-weight: 700; }
.notification-section__hint { margin: -3px 8px 10px; color: #64748b; font-size: 12px; }
.notification-row { --notice-color: #3564a6; --notice-bg: #ecf3ff; display: flex; width: 100%; gap: 10px; padding: 12px 9px; margin: 0 0 5px; border: 1px solid transparent; border-radius: 10px; background: #fff; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.sb-topnav .notification-center .notification-row { color: #25354c !important; }
.notification-row:hover { background: #f5f8fc; border-color: #e3eaf4; text-decoration: none; }
.notification-row:focus-visible, .notification-all:focus-visible, .notification-center__footer button:focus-visible { outline: 3px solid #4e80c3; outline-offset: -3px; }
.notification-row--warning { --notice-color: #8a520e; --notice-bg: #fff1d7; }
.notification-row--waiting { --notice-color: #596c83; --notice-bg: #edf1f6; }
.notification-row--success { --notice-color: #267355; --notice-bg: #e8f6ee; }
.notification-row--danger { --notice-color: #b13c41; --notice-bg: #ffebec; }
.notification-task { background: #fffcf5; border-color: #f0e5cb; }
.notification-task.notification-row--waiting { background: #f8fafc; border-color: #e8edf4; }
.notification-row__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 32px; height: 32px; margin-top: 2px; border-radius: 10px; background: var(--notice-bg); color: var(--notice-color); font-size: 14px; }
.notification-row__content { flex: 1; min-width: 0; }
.notification-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.notification-row__meta time { color: #68778b; font-size: 10px; margin-left: auto; white-space: nowrap; }
.notification-pill { display: inline-block; padding: 2px 6px; border-radius: 5px; font-size: 10px; font-weight: 700; line-height: 1.5; color: var(--notice-color); background: var(--notice-bg); }
.notification-project { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 11px; color: #66778c; }
.notification-row__title { display: block; font-size: 13px; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
.notification-row__body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 4px; font-size: 12px; line-height: 1.45; color: #5b6b80; overflow-wrap: anywhere; }
.notification-row__action { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: #3564a6; font-size: 11px; font-weight: 700; }
.notification-row__action i { font-size: 9px; }
.notification-unread-dot { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #427acd; }
.notification-more { display: block; padding: 10px 8px; color: #3564a6; font-size: 12px; text-align: center; }
.notification-empty { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 20px 10px 24px; text-align: center; }
.notification-empty > i { font-size: 24px; color: #3a876a; }
.notification-empty strong { color: #304661; font-size: 13px; }
.notification-empty span { color: #6b7b90; font-size: 12px; }
.notification-center__footer { padding: 11px 16px; border-top: 1px solid #e8edf4; background: #f8fafc; text-align: center; }
.notification-center__footer button { border: 0; padding: 4px 8px; background: transparent; color: #345b8e; font-size: 12px; font-weight: 700; cursor: pointer; }
.notification-center__footer button i { margin-right: 5px; }
.notification-center__footer > span { display: block; margin-top: 3px; color: #66778c; font-size: 11px; }
@media (max-width: 575.98px) {
  .notification-center__header { padding: 15px; }
  .notification-section { padding: 12px 7px 6px; }
  .notification-count { padding: 3px 5px; }
  .notification-toggle { gap: 4px; }
  .notification-toggle__label { display: none; }
}
