/* Teams-style pop-up cards for new notifications (bottom-right stack) */
#notifPopupStack { position: fixed; right: 18px; bottom: 18px; z-index: 9999; display: flex; flex-direction: column-reverse; gap: 10px; width: 360px; max-width: calc(100vw - 24px); pointer-events: none; }
.notif-popup { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; position: relative; padding: 12px 34px 12px 14px; background: var(--panel, #fff); color: var(--text, #1c2430); border: 1px solid var(--border, #d9dee5); border-left: 4px solid var(--accent, #9b1c31); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); cursor: pointer; text-align: left; animation: notifPopupIn .28s ease-out; overflow: hidden; }
.notif-popup:hover { box-shadow: 0 12px 34px rgba(0, 0, 0, .3); }
.notif-popup.leaving { animation: notifPopupOut .22s ease-in forwards; }
.notif-popup-icon { font-size: 22px; line-height: 1.2; flex: none; }
.notif-popup-body { min-width: 0; flex: 1; }
.notif-popup-title { font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.notif-popup-text { margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--muted, #5b6675); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.notif-popup-meta { margin-top: 5px; font-size: 11px; color: var(--muted, #5b6675); }
.notif-popup-close { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; opacity: .55; padding: 2px 4px; }
.notif-popup-close:hover { opacity: 1; }
.notif-popup-bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--accent, #9b1c31); opacity: .5; animation: notifPopupBar 10s linear forwards; }
.notif-popup:hover .notif-popup-bar { animation-play-state: paused; }
@keyframes notifPopupIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes notifPopupOut { to { transform: translateX(40px); opacity: 0; } }
@keyframes notifPopupBar { from { width: 100%; } to { width: 0; } }
