@media (max-width: 820px) {
  #app .ff-phone-work .ff-slide-history-row {
    --history-slide: 0px;
    position: relative;
    display: flow-root;
    overflow: clip;
  }

  #app .ff-phone-work .ff-slide-history-row[data-history-open] {
    --history-slide: 72px;
  }

  #app .ff-phone-work .ff-slide-history-row :is(.ff-phone-job,.ff-client-work-row) {
    position: relative;
    z-index: 1;
    transform: translateX(calc(-1 * var(--history-slide)));
    transition: transform 150ms ease-out;
    touch-action: pan-y;
  }

  #app .ff-phone-work .ff-slide-history-row[data-history-dragging] :is(.ff-phone-job,.ff-client-work-row) {
    transition: none;
  }

  #app .ff-phone-work .ff-slide-history-row:not(:is([data-history-filed],[data-history-open],[data-history-dragging])) :is(.ff-phone-job > span:last-child,.ff-client-row-end > span:last-child) {
    visibility: hidden;
  }

  #app .ff-phone-work .ff-slide-history-row :is(.ff-slide-arrow,.ff-slide-action,.ff-slide-restore) {
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: 50%;
    min-height: 44px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
  }

  #app .ff-phone-work .ff-slide-history-row :is(.ff-slide-arrow,.ff-slide-action,.ff-slide-restore)[hidden] {
    display: none;
  }

  #app .ff-phone-work .ff-slide-arrow {
    width: 44px;
    padding-inline-end: 9px;
    z-index: 2;
    text-align: end;
    background: transparent;
    color: #124432;
    font: 700 1.4rem/1 system-ui,sans-serif;
  }

  #app .ff-phone-work .ff-slide-history-row:is([data-history-open],[data-history-dragging]) .ff-slide-arrow {
    visibility: hidden;
  }

  #app .ff-phone-work .ff-slide-action {
    width: 68px;
  }

  #app .ff-phone-work :is(.ff-slide-action,.ff-slide-restore) {
    padding-inline: 5px;
    color: white;
    background: #124432;
    font: 700 .8rem/1.2 system-ui,sans-serif;
  }

  #app .ff-phone-work .ff-slide-action {
    border: 1px solid #2b694c;
    background: #eaf1e1;
    color: #124432;
  }

  #app .ff-phone-work .ff-slide-restore {
    z-index: 2;
  }

  #app .ff-phone-work .ff-bid-history .ff-slide-history-private {
    margin-inline: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #app .ff-phone-work .ff-slide-history-row :is(.ff-phone-job,.ff-client-work-row) {
    transition: none;
  }
}
