.notification-preview-group, .notification-history-group { min-width: 0; border-bottom: 1px solid #cfdaea; }
.notification-group-heading { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 10px 14px; background: #edf4ff; border-bottom: 1px solid #dce6f5; }
.notification-group-title { min-width: 0; color: #1262bf; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.notification-group-count { font-size: 12px; white-space: nowrap; color: #3e5875; }
.notification-group-heading form { margin: 0; }
.notification-group-more { display: block; padding: 8px 14px; font-size: 12px; color: #1262bf; background: #f8fbff; }
.notification-preview-group .notification-preview-item { margin: 0 0 0 14px; border-left: 2px solid #dce6f5; }
.notification-history-group .notification-item { margin: 0 0 0 14px; border-left: 2px solid #dce6f5; border-radius: 0; }
.notification-history-group .notification-item-heading { flex-wrap: wrap; gap: 6px 14px; }
.notification-history-group .notification-message { white-space: pre-wrap; overflow-wrap: anywhere; }
.notification-group-read:disabled { cursor: default; opacity: .5; }
.notification-preview-group .notification-group-heading .notification-preview-action.notification-group-read {
  position: static;
  inset: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  filter: none;
  opacity: 1;
}
.notification-preview-group .notification-group-heading .notification-preview-action.notification-group-read:disabled { opacity: .5; }
@media (max-width: 700px) {
  .notification-group-heading { grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; padding: 8px 12px; }
  .notification-group-title { grid-column: 1 / -1; font-size: 14px; }
  .notification-group-read, .notification-group-heading .notification-action { min-width: 44px; min-height: 44px; }
  .notification-preview-group .notification-preview-item, .notification-history-group .notification-item { margin-left: 6px; }
}
