.operation_toast_stack {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 9200;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.operation_toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) 28px;
  align-items: start;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  color: #111827;
  animation: operation_toast_enter 0.18s ease-out;
}

.operation_toast.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.operation_toast_marker {
  width: 4px;
  min-height: 44px;
  border-radius: 999px;
  background: #2563eb;
}

.operation_toast.is-success .operation_toast_marker {
  background: #16a34a;
}

.operation_toast.is-error .operation_toast_marker {
  background: #dc2626;
}

.operation_toast.is-warning .operation_toast_marker {
  background: #d97706;
}

.operation_toast_content {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.operation_toast_title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.operation_toast_message {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  overflow-wrap: anywhere;
}

.operation_toast_close {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.operation_toast_close:hover {
  border-color: rgba(37, 99, 235, 0.45);
  color: #1d4ed8;
}

@keyframes operation_toast_enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .operation_toast_stack {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}
