/* Figma: success 982:6109 and removal 976:30139. Undo is not supported. */
.notification-stack {
  position: fixed;
  inset: var(--notification-top, 72px) 16px auto;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  pointer-events: none;
}
body > .notification-stack { zoom: calc(1 / var(--app-zoom, 1)); }
/* Reserve room below the modal heading so feedback never covers its controls. */
dialog > .notification-stack {
  position: static;
  inset: auto;
  flex: none;
  max-height: 30dvh;
  padding: 12px 16px;
  overflow-y: auto;
  pointer-events: auto;
}
.notification-stack:not(:has(.notification-toast)) { display: none; }
.notification-stack .notification-toast {
  box-sizing: border-box;
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  width: 350px;
  max-width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 16px;
  background: #000;
  color: #fff;
  box-shadow: 0 16px 20px -8px rgba(3, 5, 18, .1);
  font: 400 16px/22px "Inter", "Segoe UI", Arial, sans-serif;
  text-align: left;
  white-space: normal;
  pointer-events: auto;
}
.notification-toast__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #004d41;
}
.notification-toast[data-notification-variant="danger"] .notification-toast__icon { background: #590d11; }
.notification-toast__message { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.notification-stack .notification-toast__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
.notification-toast img { display: block; width: 24px; height: 24px; }
.notification-stack .notification-toast__close:hover { background: #ffffff26; }
.notification-toast:focus-visible, .notification-toast__close:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 600px) {
  body > .notification-stack { inset-inline: 12px; }
}
