
@keyframes lfos-in{
  0%{transform:translateX(120%) scale(0.96);opacity:0}
  100%{transform:translateX(0) scale(1);opacity:1}
}
@keyframes lfos-out{
  0%{transform:translateX(0) scale(1);opacity:1}
  100%{transform:translateX(120%) scale(0.96);opacity:0}
}
@keyframes lfos-progress{
  from{width:100%}
  to{width:0%}
}
@keyframes lfos-check{
  to{stroke-dashoffset:0}
}
.lfos-toast-viewport.lfos-toast-viewport{
  position:fixed;
  right:24px;
  bottom:max(24px, env(safe-area-inset-bottom));
  width:min(380px, calc(100vw - 48px));
  /* ON THE ONE LADDER (A-04): the toast layer inside #overlay-root — above a
     dialog (--z-modal), under a tooltip and the command palette. It used to be
     z-index 99999 in <body>, competing with the overlay root from outside. */
  z-index:var(--z-toast);
  display:flex;
  flex-direction:column;
  gap:8px;
  pointer-events:none;
}
.lfos-toast{max-width:380px}
@media(max-width:600px){
  .lfos-toast-viewport.lfos-toast-viewport{
    right:12px;
    left:12px;
    bottom:max(12px, env(safe-area-inset-bottom));
    width:auto;
  }
  .lfos-toast{max-width:none}
}
@media(prefers-reduced-motion:reduce){
  .lfos-toast{animation-duration:1ms!important}
  .lfos-toast-progress{animation:none!important;width:100%!important}
  .lfos-toast-check{animation:none!important;stroke-dashoffset:0!important}
}
