/* notifications — owned by the notifications feature. Uses tokens from /styles.css only. */
/* Clerical list rows: 16px padding, no borders, flat tints. Unread rows sit on --raised with a small dot. */
.nf { padding-bottom: var(--s5); }
.nf-note { margin: var(--s3) var(--s4) 0; padding: var(--s2) var(--s3); border-radius: var(--r2); background: var(--raised2); color: var(--muted); font-size: var(--t-xs); line-height: var(--lh-xs); }
.nf-group + .nf-group { margin-top: var(--s2); }
.nf-h { margin: 0; padding: var(--s5) var(--s4) var(--s2); color: var(--text2); font: 600 var(--t-sm)/var(--lh-sm) var(--sans); }

.nf-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 8px; align-items: center; column-gap: var(--s3); padding: var(--s4); color: var(--text); font-size: var(--t-sm); line-height: var(--lh-sm); }
.nf-row:hover { background: var(--hover); }
.nf-row.unread { background: var(--raised); }
.nf-row.unread:hover { background: var(--raised2); }

.nf-ic { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--r2); }
.nf-plain { background: var(--raised2); color: var(--text2); }
.nf-row.unread .nf-plain { background: var(--tint-200); }
.nf-problem { background: var(--problem-soft); color: var(--problem-ink); }
.nf-progress { background: var(--progress-soft); color: var(--progress); }
.nf-position { background: var(--position_change-soft); color: var(--position_change); }
.nf-solved { background: var(--election-soft); color: var(--election); }

.nf-text { min-width: 0; overflow: hidden; color: var(--text2); white-space: nowrap; text-overflow: ellipsis; }
.nf-text b { color: var(--text); font-weight: 600; }
.nf-row.unread .nf-text { color: var(--text); }
.nf-time { color: var(--muted); font-size: var(--t-xs); line-height: var(--lh-xs); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--link); }

/* Phone width: one line would cut most titles, so allow two lines. */
@media (max-width: 560px) {
  .nf-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }
}
