.notification-count {
  display: inline-flex;
  min-width: 1.2rem;
  height: 1.2rem;
  align-items: center;
  justify-content: center;
  margin-left: .25rem;
  padding: 0 .28rem;
  border-radius: 999px;
  background: var(--coral, #e8734a);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
}

.brand-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: .55rem;
}

.brand-notifications {
  position: relative;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  place-items: center;
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  transition: color .2s, transform .2s;
}

.brand-notifications:hover {
  transform: translateY(-1px);
  color: #fff;
}

.brand-notifications .notification-count {
  position: absolute;
  top: -.35rem;
  right: -.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  padding: 0 .22rem;
  border: 2px solid var(--paper, #fff);
  font-size: .62rem;
}

.notifications-page__empty {
  display: grid;
  justify-items: start;
  gap: .75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.notifications-page__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.notifications-list {
  display: grid;
  gap: 0;
}

.notification-card {
  display: grid;
  gap: .8rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.notification-card:first-child {
  padding-top: 0;
}

.notification-card:last-child {
  border-bottom: 0;
}

.notification-card.is-unread {
  border-left: 4px solid var(--teal, #0f766e);
  padding-left: 1rem;
}

.notification-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.notification-card__head h2 {
  font-size: 1.05rem;
}

.notification-card__head time,
.notification-card__read {
  color: var(--muted);
  font-size: .82rem;
}

.notification-card > p {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.notification-card__read {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.notifications-page__empty {
  justify-items: center;
  text-align: center;
}

.backup-status {
  margin-bottom: 1rem;
}

.backup-status__details {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.backup-status__details div {
  display: grid;
  gap: .25rem;
  min-width: 0;
}

.backup-status__details span {
  color: var(--muted);
  font-size: .8rem;
}

.backup-status__details strong {
  overflow-wrap: anywhere;
}

.announcement-history__body {
  display: block;
  max-width: 32rem;
  margin-top: .2rem;
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.login-history__username {
  display: block;
  color: var(--muted);
}

.login-history__agent {
  max-width: 24rem;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: .8rem;
}

.system-health-note {
  display: grid;
  gap: .5rem;
}

.system-health-note h2 {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.05rem;
}

.system-health-note p {
  color: var(--muted);
}

@media (max-width: 760px) {
  .backup-status__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .notifications-page__head,
  .notification-card__head {
    align-items: stretch;
    flex-direction: column;
  }

  .backup-status__details {
    grid-template-columns: 1fr;
  }
}
