.transaction-swipe {
  position: relative;
  overflow: hidden;
  background: var(--red);
  touch-action: pan-y;
}

.swipe-delete {
  position: absolute;
  inset-block: 0;
  width: 86px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  z-index: 0;
}

.swipe-delete-left { right: 0; }
.swipe-delete-right { left: 0; }

.transaction-swipe .transaction-row {
  position: relative;
  z-index: 1;
  background: var(--surface);
  transition: transform .2s ease;
  will-change: transform;
}

.transaction-swipe.dragging .transaction-row { transition: none; }
.transaction-swipe:last-child .transaction-row { border-bottom: 0; }

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-action {
  background: transparent;
  color: #ffd76b;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
