.kpm-notify-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.kpm-notify-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #d5dfe3;
  border-radius: 12px;
  background: #fff;
  color: #183642;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.kpm-notify-button:hover {
  background: #edf5f3;
  border-color: #9dbbb4;
}
.kpm-notify-button svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
}
.kpm-notify-badge {
  min-width: 23px;
  padding: 2px 6px;
  border-radius: 20px;
  background: #b32d3d;
  color: white;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
}
.kpm-notify-badge[hidden],
.kpm-notify-dialog [hidden] {
  display: none !important;
}
.kpm-notify-dialog {
  width: calc(100% - 24px);
  max-width: 560px;
  max-height: 88dvh;
  margin: auto;
  padding: 24px;
  border: 1px solid #d5dfe3;
  border-radius: 20px;
  background: #f9fbfc;
  color: #183642;
  overflow: auto;
}
.kpm-notify-dialog::backdrop {
  background: #102b3c88;
}
.kpm-notify-dialog button,
.kpm-notify-dialog a {
  font: inherit;
}
.kpm-notify-heading,
.kpm-notify-tools,
.kpm-notify-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.kpm-notify-heading {
  margin-bottom: 14px;
}
.kpm-notify-heading h2 {
  margin: 0;
  font-size: 22px;
}
.kpm-notify-close,
.kpm-notify-action {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #cbd9de;
  border-radius: 9px;
  background: white;
  color: #234c58;
  cursor: pointer;
  font-size: 13px !important;
}
.kpm-notify-action:disabled {
  opacity: 0.5;
  cursor: default;
}
.kpm-notify-button:focus-visible,
.kpm-notify-dialog :focus-visible {
  outline: 3px solid #268a81;
  outline-offset: 3px;
}
.kpm-notify-summary {
  margin: 0 0 14px;
  font-weight: 650;
  line-height: 1.5;
}
.kpm-notify-pending {
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid #c3ddd6;
  background: #eaf4f0;
  border-radius: 12px;
}
.kpm-notify-pending p {
  margin: 0 0 12px;
  line-height: 1.5;
}
.kpm-notify-link {
  display: inline-block;
  color: #125f58;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kpm-notify-tools {
  margin: 12px 0;
}
.kpm-notify-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}
.kpm-notify-filter input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #197569;
}
.kpm-notify-status {
  min-height: 20px;
  margin: 10px 0;
  color: #526b75;
  font-size: 13px;
  line-height: 1.5;
}
.kpm-notify-status.is-error {
  color: #a42939;
}
.kpm-notify-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kpm-notify-item {
  padding: 16px;
  border: 1px solid #dde5e9;
  border-radius: 12px;
  background: white;
  overflow-wrap: anywhere;
}
.kpm-notify-item.is-unread {
  border-left: 4px solid #268a81;
  background: #f0f9f5;
}
.kpm-notify-item h3 {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.5;
}
.kpm-notify-item p {
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.6;
}
.kpm-notify-note {
  white-space: pre-wrap;
}
.kpm-notify-time {
  color: #586f79;
  font-size: 12px;
}
.kpm-notify-item button {
  margin-top: 10px;
}
.kpm-notify-pager {
  margin-top: 14px;
}
.kpm-notify-footer {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #dce5e9;
  font-size: 13px;
}
@media (max-width: 480px) {
  .kpm-notify-dialog {
    padding: 18px;
  }
  .kpm-notify-tools {
    align-items: flex-start;
  }
}
