#nav-notifications{gap:8px}   /* the badge already moves itself to the end (margin-left:auto): space-between pushed the label away from its icon when the badge was hidden */
#notif-badge{min-width:22px;padding:0 7px;border-radius:999px;background:var(--tk-signal);color:var(--tk-on-signal);font:600 12px/22px 'JetBrains Mono',monospace;text-align:center}
.notification-list{list-style:none;margin:18px 0;padding:0;display:grid;gap:10px}
.notification{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--tk-line);border-radius:12px;background:var(--tk-surface)}
.notification.unread{border-color:var(--tk-flow-line);background:var(--tk-flow-soft)}
.notification-text{display:grid;gap:2px;min-width:0}
.notification-open{width:auto;margin:0;padding:8px 14px}
.notification-actions{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 20px}
.notification-actions button{width:auto;margin:0}
.notification-prefs{border:1px solid var(--tk-line);border-radius:12px;padding:12px 14px}
.notification-prefs legend{font:500 13px/1.6 'JetBrains Mono',monospace;color:var(--tk-text-muted);padding:0 6px}
@media(max-width:600px){.notification{align-items:stretch}.notification-open{width:100%}}
