.sw-nr-head {
  margin-bottom: 20px;
}
.sw-nr-head__title {
  font-size: 28px;
  line-height: 1.2;
}
.sw-nr-head__sub {
  font-size: 14px;
  margin: 6px 0 0;
}
.sw-nr-crumb {
  font-size: 13px;
  margin-bottom: 6px;
}
.sw-nr-head__actions {
  gap: 10px;
}
.sw-nr-head__actions .sw-export,
.sw-nr-head__actions .sw-create {
  height: 40px;
}
.sw-nr-head__actions svg {
  width: 16px;
  height: 16px;
}

.sw-nt-list {
  --bs-list-group-item-padding-x: 20px;
  --bs-list-group-item-padding-y: 15px;
  --bs-list-group-border-color: var(--sw-border);
  --bs-list-group-bg: transparent;
}
.sw-nt-group {
  --bs-list-group-item-padding-y: 10px;
  --bs-list-group-bg: var(--sw-bg-app);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.sw-nt-list .sw-nt-row:has(+ .sw-nt-group) {
  border-bottom-width: 0;
}
.sw-nt-row {
  gap: 12px;
}
.sw-nt__ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.sw-nt__ic svg {
  width: 18px;
  height: 18px;
}

.sw-nt__ic--critical {
  background: #fee2e2;
  color: #dc2626;
}
.sw-nt__ic--warning {
  background: #fef3c7;
  color: #d97706;
}
.sw-nt__ic--success {
  background: #dcfce7;
  color: #16a34a;
}
.sw-nt__ic--info {
  background: #ccfbf1;
  color: #0d9488;
}
.sw-nt__tc {
  flex: 1;
  min-width: 0;
}
.sw-nt__title {
  font-size: 14px;
}
.sw-nt__sub {
  font-size: 13px;
  line-height: 1.45;
  margin: 2px 0 0;
}
.sw-nt__right {
  padding-top: 1px;
}
.sw-nt__time {
  font-size: 12px;
}
.sw-nt__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sw-violet);
  flex-shrink: 0;
}

.sw-nt-row[data-read="true"] .sw-nt__dot {
  visibility: hidden;
}

.sw-nr {
  padding: 20px;
}
.sw-nr__title {
  font-size: 16px;
  color: #0f1020;
}
.sw-nr__sub {
  font-size: 12px;
  color: #9499a8;
  margin: 3px 0 0;
}
.sw-nr-sec-label {
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #9499a8;
  margin: 18px 0 10px;
}

.sw-nr-scope {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.sw-nr-field {
  min-width: 0;
}
.sw-nr-field__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #474f5c;
  margin-bottom: 6px;
}

.sw-nr .sw-dd--field .sw-dd__toggle {
  --bs-btn-bg: #fbfcfd;
  --bs-btn-border-color: #e5e8ec;
  --bs-btn-font-size: 12.5px;
  --bs-btn-font-weight: 500;
  --bs-btn-color: #0f1020;
  height: 42px;
}
.sw-nr .sw-dd--field .sw-dd__chev {
  color: #6b7280;
}

.sw-nr-events {
  --bs-list-group-item-padding-x: 0;
  --bs-list-group-item-padding-y: 12px;
  --bs-list-group-border-color: var(--sw-border);
  --bs-list-group-bg: transparent;
}

.card > .sw-nr-events {
  border: 0;
}
.sw-nr-event {
  gap: 12px;
}
.sw-nr-event__label {
  font-size: 14px;
  color: var(--sw-text);
}

.sw-nr-foot {
  margin-top: 20px;
}
.sw-nr-foot .sw-create {
  height: 40px;
}

/* =========================
  Responsive
========================= */
@media (max-width: 1200px) {
  .sw-nr-scope {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .sw-nr {
    padding: 16px;
  }
}

@media (max-width: 767px) {
  .sw-nr-head__title {
    font-size: 24px;
  }

  .sw-nr-head__actions > * {
    flex: 1;
    justify-content: center;
  }
  /* Save rule goes full width */
  .sw-nr-foot .sw-create {
    width: 100%;
    justify-content: center;
  }
}
