.notif-bell { position: relative; display: inline-flex; align-items: center; gap: 0.35rem; }
.notif-badge,
.pm-badge {
    display: inline-block;
    min-width: 1.25rem;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: center;
    background: var(--flash-error-bg);
    color: var(--flash-error-text);
    border: 1px solid transparent;
}
.notif-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 4.25rem 1rem 1rem;
}
.notif-overlay.open { display: flex; }
.notif-panel {
    width: min(36rem, 100%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    overflow: hidden;
}
.notif-panel header {
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
}
.notif-panel header strong { font-weight: 600; }
.notif-panel header button { font: inherit; cursor: pointer; }
.notification-panel { padding: 0.25rem 0; }
.notification-empty { margin: 0; padding: 0.85rem; color: var(--text-muted); }
.notification-mark-all {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0.25rem 0.85rem 0.5rem;
    border-bottom: 1px solid var(--border);
}
.notification-mark-all button { font: inherit; font-size: 0.85rem; cursor: pointer; }
.notification-list { list-style: none; margin: 0; padding: 0; }
.notification-item { border-top: 1px solid var(--border); }
.notification-item:first-child { border-top: none; }
.notification-link {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0.85rem;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: inherit;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}
.notification-item.unread .notification-link { font-weight: 600; }
.notification-date { color: var(--text-muted); font-size: 0.85rem; white-space: nowrap; }
