@media (max-width:820px) {
  #app .ff-phone-work :is(.ff-bid-more,.ff-bid-file,.ff-bid-restore)[hidden],
  #app .ff-phone-work :is([data-history-empty],.ff-bid-history[hidden]) {
    display: none !important;
  }

  #app .ff-phone-work .ff-bid-history-row {
    position: relative;
    display: flow-root;
  }

  #app .ff-phone-work .ff-bid-history-row[data-history-modes="waiting"] .ff-phone-job {
    touch-action: pan-y;
  }

  #app .ff-phone-work .ff-bid-history-row[data-history-modes]:not([data-history-modes="off"]) .ff-phone-job>span:last-child {
    visibility: hidden;
  }

  #app .ff-phone-work :is(.ff-bid-more,.ff-bid-file,.ff-bid-restore) {
    position: absolute;
    inset-inline-end: 4px;
    inset-block-start: 50%;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    min-height: 44px;
    color: #124432;
    background: #fff;
    font: 700 .86rem/1.2 Inter,system-ui,sans-serif;
    padding: 0 8px;
    cursor: pointer;
  }

  #app .ff-phone-work .ff-bid-more {
    min-width: 44px;
    font-size: 1.5rem;
    padding: 0;
  }

  #app .ff-phone-work .ff-bid-history-scope {
    margin-inline-start: 8px;
    color: #555e59;
    font: 500 .75rem/1.2 Inter,system-ui,sans-serif;
  }

  #app .ff-phone-work :is(.ff-bid-file,.ff-bid-restore) {
    color: white;
    background: #124432;
  }

  #app .ff-phone-work .ff-bid-history-row[data-history-reveal="true"] .ff-bid-more {
    visibility: hidden;
  }
}
