.toast-host {
  position: fixed;
  top: calc(44px + 12px);
  right: 20px;
  left: auto;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
  max-width: min(420px, calc(100vw - 40px));
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 0 1px rgba(15, 23, 42, 0.08);
  pointer-events: auto;
  transform: translateX(calc(100% + 28px));
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.38s ease;
}
.toast.is-visible {
  transform: translateX(0);
  opacity: 1;
}
.toast.is-leaving {
  transform: translateX(calc(100% + 28px));
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.4, 0, 1, 1), opacity 0.28s ease;
}
.toast--success {
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #237804;
}
.toast--error {
  background: #fff2f0;
  border: 1px solid #ffccc7;
  color: #cf1322;
}
.toast__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.toast__text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
