.pg-notifications .nf-card {
  padding: 6px 6px;
}
.pg-notifications .notif-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.pg-notifications #nf-list > .notif-row:last-child {
  border-bottom: 0;
}
.pg-notifications .notif-row:hover {
  background: var(--fill);
}
.pg-notifications .notif-row:focus-visible {
  outline: 2px solid var(--indigo-3);
  outline-offset: -2px;
}
.pg-notifications .notif-row.unread {
  background: var(--accent-tint);
}
.pg-notifications .notif-row {
  transition: background .15s linear;
}
.pg-notifications .notif-row.unread:hover {
  background: color-mix(in srgb, var(--accent-tint), var(--accent) 8%);
}
.pg-notifications .notif-main {
  flex: 1;
  min-width: 0;
}
.pg-notifications .notif-title {
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.35;
}
.pg-notifications .notif-row.unread .notif-title {
  font-weight: 800;
  color: var(--text);
}
.pg-notifications .notif-body {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pg-notifications .notif-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 5px;
}
.pg-notifications .notif-time svg {
  width: 12px;
  height: 12px;
}
.pg-notifications .notif-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 3px;
}
.modal:has(.nf-detail) .modal-head h3 {
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.modal:has(.nf-detail):focus-visible {
  outline: none;
}
.nf-detail .nf-detail-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.nf-detail .nf-detail-time svg {
  width: 13px;
  height: 13px;
}
.nf-detail .nf-detail-body {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.nf-detail .nf-detail-body.muted {
  color: var(--muted);
}
.pg-notifications .notif-ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.pg-notifications .notif-ic svg {
  width: 19px;
  height: 19px;
}
.pg-notifications .notif-ic-assignment {
  background: var(--accent-tint);
  color: var(--indigo-3);
}
.pg-notifications .notif-ic-chat {
  background: var(--accent-tint);
  color: var(--accent);
}
.pg-notifications .notif-ic-chat_priority {
  background: var(--accent);
  color: var(--on-accent);
}
.pg-notifications .notif-ic-grade {
  background: var(--g-100);
  color: var(--g-700);
}
.pg-notifications .notif-ic-announcement {
  background: var(--warning-tint);
  color: var(--warning);
}
.pg-notifications .notif-ic-event {
  background: var(--info-tint);
  color: var(--info);
}
.pg-notifications .notif-ic-material {
  background: var(--accent-tint);
  color: var(--accent);
}
.pg-notifications .notif-ic-ticket {
  background: var(--fill-2);
  color: var(--text-2);
}
.pg-notifications .notif-ic-attendance {
  background: var(--danger-tint);
  color: var(--danger);
}
.pg-notifications .notif-ic-info {
  background: var(--fill-2);
  color: var(--text-2);
}
.pg-notifications .notif-side {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  margin-top: 6px;
}
.pg-notifications .notif-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--accent-ring);
  margin-right: 4px;
}
.pg-notifications .notif-x {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 0;
}
.pg-notifications .notif-x svg {
  width: 15px;
  height: 15px;
}
.pg-notifications .notif-x:hover {
  background: var(--danger-tint);
  color: var(--danger);
}
.pg-notifications .notif-x[disabled] {
  opacity: .5;
  pointer-events: none;
}
@media (max-width: 760px) {
  .pg-notifications .notif-row {
    padding: 12px 10px;
    gap: 11px;
  }
  .pg-notifications .notif-ic {
    width: 36px;
    height: 36px;
  }
  .pg-notifications .notif-ic svg {
    width: 17px;
    height: 17px;
  }
}
