/* book72: wipe every mobile detail footer - AssistiveTouch owns actions. */
@media (max-width: 767px) {
  .pcs-dock-fab,
  #pcs-dock-fab-live {
    display: none !important;
    pointer-events: none !important;
  }

  /*
    Nuclear hide - beat live bundle display:flex / navy bar / safe-area padding.
    Buttons stay in DOM (display:none still queryable + .click() works).
  */
  html body .pcs-app .pcs-shell--detail-dock .pcs-dock,
  html body .pcs-shell--detail-dock .pcs-dock,
  html body .pcs-app .pcs-detail.has-dock .pcs-dock,
  html body .pcs-detail.has-dock > .pcs-dock,
  .pcs-shell--detail-dock .pcs-detail.has-dock .pcs-dock,
  .pcs-shell--detail-dock .pcs-dock,
  .pcs-invoice-detail.has-dock .pcs-dock,
  .pcs-quote-detail.has-dock .pcs-dock,
  .pcs-client-detail.has-dock .pcs-dock,
  nav.pcs-dock,
  .pcs-dock {
    display: none !important;
    visibility: hidden !important;
    position: fixed !important;
    left: -9999px !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    flex: 0 0 0 !important;
    z-index: -1 !important;
  }

  .pcs-shell--detail-dock .pcs-detail.has-dock {
    padding-bottom: 0 !important;
  }

  .pcs-shell--detail-dock .pcs-detail.has-dock .pcs-detail__scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: transparent !important;
  }
}
