.tracker-icon-button--bell {
  position: relative;
  text-decoration: none;
}

.notification-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--danger);
  color: var(--text-contrast);
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.notification-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.notification {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--border-neutral);
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--surface-card);
}

.notification--unread {
  border-left: 3px solid var(--text-accent);
  background: var(--surface-app);
}

.notification-main { flex: 1 1 auto; min-width: 0; }
.notification-title { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--text-main); }
.notification-body { margin: 0 0 6px; font-size: 13px; color: var(--text-light); }

.notification-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
}

.notification-actions form { margin: 0; }

.notification-prefs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.notification-prefs-table th {
  text-align: left;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  padding: 0 10px 8px;
  border-bottom: 1px solid var(--border-neutral);
}

.notification-prefs-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--surface-sunken);
  vertical-align: top;
}

.notification-prefs-channel { width: 80px; text-align: center; }

.notification-prefs-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-main); }
.notification-prefs-desc { display: block; font-size: 12px; color: var(--text-light); margin-top: 2px; }

.notification-prefs input[type="submit"] { margin-top: 16px; }

.notification-prefs-suspended {
  padding: 12px 16px;
  border: 1px solid var(--warning);
  border-radius: 8px;
  background: var(--warning-quiet);
  color: var(--warning);
  font-size: 13px;
  margin-bottom: 16px;
}
