/* Update 2 Round 3 QA | user-confirmed Undo pill refinement, Oct 25.
   Deliberately scoped to Undo toasts; no transaction/undo logic changes. */
body .undo-toast,
body #action-undo-toast.undo-toast,
body #undo-toast.undo-toast,
body #card-undo-v125.undo-toast,
body .undo-toast.u2r3-undo-bloom,
body #action-undo-toast.u2r3-undo-glass {
  border-radius: 9999px !important;
  box-sizing: border-box !important;
  min-height: 52px;
  max-width: calc(100vw - 24px) !important;
  width: max-content !important;
  padding: 7px 9px 7px 19px !important;
  gap: 15px !important;
  align-items: center !important;
  justify-content: space-between !important;
  overflow: hidden;
}
body .undo-toast > span,
body #action-undo-toast.undo-toast > span,
body #undo-toast.undo-toast > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
}
body .undo-toast > button,
body #action-undo-toast.undo-toast > button,
body #undo-toast.undo-toast > button,
body .undo-toast.u2r3-undo-bloom button,
body #action-undo-toast.u2r3-undo-glass button {
  border-radius: 9999px !important;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 17px !important;
}
@media (max-width: 380px) {
  body .undo-toast,
  body #action-undo-toast.undo-toast,
  body #undo-toast.undo-toast,
  body #card-undo-v125.undo-toast {gap: 9px !important; padding-left: 14px !important}
}
