/* Redesigned notifications feed (grouped rows, Today / This week / Earlier,
 * filter chips, inline actions). Scoped under .ntf-*, colors from the
 * move/tokens.css design system (spec values as fallbacks), dark via
 * html.dark — layers cleanly under the redesign's component CSS. */
.ntf-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
/* Phones: one scrolling row instead of wrapping onto a second line. */
@media (max-width: 640px) {
  .ntf-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
  .ntf-chips::-webkit-scrollbar { display: none; }
  .ntf-chip { flex: none; }
}
.ntf-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2, #37352f);
  box-shadow: inset 0 0 0 1px var(--hair, rgba(55, 53, 47, 0.09));
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
}
.ntf-chip.is-on {
  background: var(--fill, #f4f3ef);
  box-shadow: inset 0 0 0 1.5px var(--ink, #1f1f1f);
  color: var(--ink, #1f1f1f);
}
.ntf-chip--ghost { box-shadow: none; color: var(--mute, #787774); }

.ntf-section { padding: 4px 20px 0; }
@media (min-width: 768px) { .ntf-section { padding: 4px 32px 0; } }
.ntf-section__title {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--mute, #787774);
  padding: 14px 0 6px;
  margin: 0;
}
.ntf-list { display: flex; flex-direction: column; }
#ntf_live { padding: 0 20px; }
@media (min-width: 768px) { #ntf_live { padding: 0 32px; } }

.ntf-row {
  border-bottom: 1px solid var(--divider, rgba(55, 53, 47, 0.08));
}
.ntf-row:last-child { border-bottom: 0; }
.ntf-row__main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 2px;
  color: inherit;
  text-decoration: none;
}
.ntf-row.is-unread .ntf-row__title { font-weight: 600; }
.ntf-row__avatars { display: flex; flex: none; padding-top: 2px; }
.ntf-row__avatars .ntf-avatar { margin-left: -7px; }
.ntf-row__avatars .ntf-avatar:first-child { margin-left: 0; }
.ntf-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fill, #f4f3ef);
  color: var(--ink2, #37352f);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 0 2px var(--surface, #fff);
}
.ntf-avatar--bell { color: var(--mute, #787774); }
img.ntf-avatar { object-fit: cover; }
.ntf-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ntf-row__title { font-size: 15px; line-height: 20px; color: var(--ink, #1f1f1f); overflow-wrap: anywhere; }
.ntf-row__body { font-size: 13px; line-height: 18px; color: var(--mute, #787774); overflow-wrap: anywhere; }
.ntf-row__time { font-size: 12px; line-height: 16px; color: var(--mute2, #9b9a97); font-variant-numeric: tabular-nums; }
.ntf-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-hi, #d6b72f);
  margin-top: 8px;
}
.ntf-row__actions {
  display: flex;
  gap: 8px;
  padding: 0 2px 12px 48px;
  flex-wrap: wrap;
}
/* Row actions are the shared .mv-btn (sm). */
.ntf-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--mute, #787774);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
/* Empty state matches Home's: icon tile, heading, one line of help. */
.ntf-empty { gap: 4px; }
.ntf-empty__icon {
  width: 48px; height: 48px; border-radius: var(--r-tile, 18px);
  background: var(--fill, #f4f3ef); color: var(--mute, #787774);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.ntf-empty__title { margin: 0; font-size: 17px; line-height: 22px; font-weight: 600; color: var(--ink, #1f1f1f); }
.ntf-empty__meta { margin: 0; max-width: 320px; font-size: 13px; line-height: 18px; color: var(--mute, #787774); }
.ntf-more { display: flex; justify-content: center; padding: 16px 0 8px; }
