.bottom-nav-item.notification-trigger { position: relative; }
.bottom-nav-item .notification-badge { position: absolute; top: 3px; left: calc(50% + 5px); min-width: 18px; height: 18px; padding: 2px 4px; border: 2px solid #f6f7f5; border-radius: 20px; background: #c53649; color: white; font-size: 10px; line-height: 10px; }
.notification-badge[hidden] { display: none; }
.notification-panel { position: fixed; z-index: 65; right: max(24px, calc((100vw - 1280px) / 2)); bottom: var(--notification-bottom, 103px); width: 432px; max-width: calc(100vw - 24px); max-height: calc(100dvh - var(--notification-bottom, 103px) - 16px); display: flex; flex-direction: column; background: #fff; color: #18382e; border: 1px solid #dde6df; border-radius: 22px; box-shadow: 0 16px 64px #123a3033, 0 2px 8px #123a3010; overflow: hidden; }
.notification-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 20px 14px; gap: 12px; }
.notification-header h2 { font-size: 1.45rem; letter-spacing: -.04em; margin: 0 0 6px; }
.notification-header p { color: #65756e; font-size: .82rem; margin: 0; }
.notification-icon-button { display: inline-grid; place-items: center; width: 32px; height: 32px; min-width: 32px; border-radius: 50%; background: #f0f4f1; color: #50655a; }
.notification-filters { display: flex; gap: 5px; padding: 0 16px 14px; }
.notification-filters button { padding: 9px 12px; border-radius: 24px; background: transparent; color: #607268; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.notification-filters button.selected { color: #12654b; background: #e6f2eb; }
.notification-tools { display: flex; align-items: center; gap: 10px; padding: 10px 20px; border-top: 1px solid #edf1ed; border-bottom: 1px solid #edf1ed; font-size: .72rem; color: #607268; }
.notification-tools > span { margin-right: auto; }
.notification-tools > button:not(.notification-icon-button), .notification-footer button { background: transparent; color: #14644b; font-weight: 700; padding: 5px 0; font-size: .72rem; }
.notification-tools button:disabled { opacity: .45; cursor: default; }
.notification-list { overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 6px; }
.notification-row { display: flex; align-items: center; border-radius: 14px; margin-bottom: 3px; }
.notification-row.unread { background: #f1f7f3; }
.notification-row:hover { background: #eaf2ed; }
.notification-item { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 15px 10px; text-align: left; color: inherit; border-radius: 14px; background: transparent; min-width: 0; }
.notification-avatar { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; background: #e4ede8; color: #28614c; border-radius: 50%; font-size: 1.3rem; }
.notification-avatar.sporecyte { background: #eae8f5; color: #77649a; }
.notification-copy { display: grid; gap: 6px; min-width: 0; }
.notification-copy > strong { font-size: .83rem; line-height: 1.4; font-weight: 650; }
.notification-detail { color: #637369; font-size: .76rem; line-height: 1.5; overflow-wrap: anywhere; }
.notification-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #748379; font-size: .65rem; line-height: 1.5; }
.notification-status { border-radius: 6px; padding: 2px 6px; font-weight: 700; }
.notification-status.attention { color: #94601c; background: #fff0d9; }
.notification-status.handled { color: #21654a; background: #e1efe5; }
.notification-status.progress { color: #426a85; background: #e7eff5; }
.notification-unread-dot { flex: 0 0 7px; width: 7px; height: 7px; margin: 8px 0 0 auto; border-radius: 50%; background: #2a8062; }
.notification-read-button { flex: 0 0 30px; width: 30px; height: 34px; margin-right: 6px; border-radius: 8px; background: transparent; color: #547460; }
.notification-read-button:hover { background: #dceadf; }
.notification-empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 42px 24px; color: #63766a; }
.notification-empty > i { font-size: 2.4rem; color: #729783; }
.notification-empty strong { color: #304e3d; font-size: .94rem; }
.notification-empty p { margin: 0; max-width: 270px; font-size: .8rem; line-height: 1.6; }
.notification-error { padding: 12px 18px; margin: 0; color: #984e33; background: #fff3e7; font-size: .8rem; line-height: 1.5; }
.notification-error button { color: inherit; background: transparent; text-decoration: underline; }
.notification-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; padding: 12px 18px; border-top: 1px solid #edf1ed; font-size: .66rem; color: #748379; }
.notification-panel button:focus-visible { outline: 2px solid #287b5c; outline-offset: -2px; }
@media(max-width: 560px) {
 .desktop-role-shell .bottom-nav:has(.notification-trigger) { width: calc(100% - 20px); }
 .bottom-nav:has(.notification-trigger) { --primary-nav-grid: repeat(calc(var(--primary-nav-columns) - 1), minmax(0, 1fr)) 80px; gap: 3px; padding-left: 6px; padding-right: 6px; }
 .bottom-nav:has(.notification-trigger) .bottom-nav-item > span:not(.notification-badge) { font-size: .65rem; }
 .notification-panel { right: 10px; width: calc(100vw - 20px); max-width: none; border-radius: 20px; }
 .notification-header { padding: 18px 16px 12px; }
 .notification-filters { gap: 2px; padding: 0 10px 12px; }
 .notification-filters button { padding: 9px; font-size: .71rem; }
 .notification-tools { padding: 8px 16px; }
 .notification-avatar { flex-basis: 36px; width: 36px; height: 36px; }
 .notification-item { gap: 10px; }
 .notification-footer { flex-wrap: wrap; }
}
