/* The motion belongs to notifications. Confirmation dialogs have their own layout. */
.croucher-motion-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999;
  width: min(360px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.croucher-motion-stack .croucher-motion-toast {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  height: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  background: var(--toast-bg, white);
  color: var(--toast-text, #141414);
  border: 1px solid currentColor;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
  opacity: 1;
  transform: none;
  transition: none;
  animation: croucher-toast-enter 200ms cubic-bezier(0,0,.2,1) both;
}
.croucher-motion-stack .croucher-toast--hide { animation: croucher-toast-exit 180ms ease-in both; }
.croucher-motion-toast .croucher-toast__content {
  display: block; flex: 1; min-width: 0; margin: 0; position: relative; top: 2px;
  font-size: 16px; font-weight: 400; line-height: 1.4; overflow: visible; overflow-wrap: anywhere;
}
.croucher-motion-toast .croucher-toast__icon, .croucher-motion-toast .croucher-toast__icon svg {
  display: block; flex: none; width: 24px; height: 24px; color: inherit;
}
.croucher-motion-toast .croucher-toast__close {
  position: static; display: grid; place-items: center; width: 28px; height: 28px;
  padding: 5px; color: inherit; background: transparent; border: 0; cursor: pointer;
}
.croucher-motion-toast .croucher-toast__close svg {width:16px;height:16px}
.croucher-motion-toast .toast-undo {font:inherit;color:inherit;background:transparent;border:0;text-decoration:underline;cursor:pointer}
.croucher-motion-toast :focus-visible,.croucher-motion-toast:focus-visible {outline:2px solid currentColor;outline-offset:2px}
@keyframes croucher-toast-enter {from {opacity:0;transform:translateY(-10px)} to {opacity:1;transform:none}}
@keyframes croucher-toast-exit {from {opacity:1;transform:none} to {opacity:0;transform:translateY(-10px)}}
@media (prefers-reduced-motion:reduce) {
  @keyframes croucher-toast-enter {from {opacity:0} to {opacity:1}}
  @keyframes croucher-toast-exit {from {opacity:1} to {opacity:0}}
}
@media (max-width:768px) {.croucher-motion-stack {left:50%;right:auto;transform:translateX(-50%)}}
