.toast-root {
  z-index: 13000;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  pointer-events: none;
}
.toast.factly-notification {
  display: flex;
  min-width: 0;
  max-width: none;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: var(--factly-ink, #13293d);
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 24px rgba(19, 41, 61, .2);
  pointer-events: auto;
}
.factly-notification > span { flex: 1; min-width: 0; }
.factly-notification__close {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--radius-md, 8px);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.factly-notification__close:focus-visible { outline: 3px solid var(--factly-teal, #18c3cb); outline-offset: 3px; }
