/* ====== Notifications (js/notifications.js) ====== */
.notif-list{max-width:760px}
.notif-group{margin-bottom:22px}
.notif-group h3{font-size:12px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--text-tertiary);margin:0 0 8px}
.notif-item{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;font:inherit;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px;margin-bottom:8px;cursor:pointer;transition:all var(--transition)}
.notif-item:hover{box-shadow:var(--shadow-sm);border-color:var(--text-tertiary)}
.notif-item:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.notif-item.unread{background:var(--accent-light);border-color:rgba(0,113,227,.28)}
:root[data-theme="dark"] .notif-item.unread{border-color:rgba(10,132,255,.35)}
.notif-ic{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--accent-light);color:var(--accent)}
.notif-ic svg{width:16px;height:16px}
.notif-green{background:var(--green-bg);color:var(--good-text)}
.notif-orange{background:var(--orange-bg);color:var(--warn-text)}
.notif-red{background:var(--red-bg);color:var(--red)}
.notif-purple{background:var(--purple-bg);color:var(--purple)}
.notif-teal{background:rgba(10,147,150,.1);color:var(--teal-text)}
.notif-gray{background:var(--surface-hover);color:var(--text-secondary)}
.notif-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.notif-title{font-size:13.5px;font-weight:550;line-height:1.4;color:var(--text-primary);overflow-wrap:anywhere}
.notif-item.unread .notif-title{font-weight:650}
.notif-more{display:inline-block;margin-left:6px;font-size:10.5px;font-weight:600;color:var(--accent);background:var(--surface);border:1px solid rgba(0,113,227,.28);border-radius:20px;padding:0 7px;vertical-align:1px;white-space:nowrap}
.notif-text{font-size:12.5px;line-height:1.45;color:var(--text-secondary);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.notif-meta{font-size:11.5px;color:var(--text-tertiary);overflow-wrap:anywhere}
.notif-dot{width:9px;height:9px;border-radius:50%;background:var(--accent);flex-shrink:0;margin-top:6px}
/* "New:" for screen readers (the dot says it on screen) */
.notif-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.notif-loading{font-size:12.5px;margin:0 0 12px}
.notif-empty{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}

/* The bell at the top on a phone (the menu is behind a button there) */
.notif-bell{display:none}
@media (max-width:900px){
  .mobile-bar .notif-bell{display:flex;position:relative;width:36px;height:36px;border:none;border-radius:10px;background:none;color:var(--text-primary);align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;padding:0}
  .mobile-bar .notif-bell svg{width:21px;height:21px}
  .mobile-bar .notif-bell.active{color:var(--accent)}
  .mobile-bar .notif-bell:active{background:var(--surface-hover)}
  .notif-bell-n{position:absolute;top:1px;right:-3px;min-width:18px;padding:0 5px;font-size:10.5px;line-height:18px;font-weight:600;background:var(--accent);color:#fff;border-radius:20px;text-align:center}
  .notif-item{padding:12px;gap:10px}
}
