/* Keep listing action menus inside their mobile card and viewport. */
@media (max-width: 760px) {
  #landlordView #ownerManagement .owner-property-menu-layer,
  #landlordView #cohostSection .owner-property-menu-layer {
    top: 60px !important;
    right: 0 !important;
    left: auto !important;
    box-sizing: border-box !important;
    width: min(244px, calc(100vw - 24px), 100%) !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 80px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  #landlordView #ownerManagement .owner-property-menu-items > button,
  #landlordView #cohostSection .owner-property-menu-items > button {
    box-sizing: border-box !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}
