/* Touch screens only (a finger is the main pointer): what goes with static/js/longpress-menu.js.
   A mouse sees none of it.
   1. The rows that carry a right-click menu do not start a text selection or the browser's own callout when the
      finger rests on them, so the long press reaches the menu.
   2. Menu rows are at least the normal control height, so a finger can hit them. */
@media (hover: none) and (pointer: coarse) {
  .explorer,
  #crm-contacts-list .crm-card,
  #crm-companies-list .crm-card {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
  .explorer input, .explorer textarea,
  #crm-contacts-list .crm-card input, #crm-contacts-list .crm-card textarea,
  #crm-companies-list .crm-card input, #crm-companies-list .crm-card textarea {
    -webkit-user-select: text;
    user-select: text;
  }
  .xmenu-item,
  .context-menu-item {
    min-height: var(--ctl-h, 40px);
    box-sizing: border-box;
  }
  .xmenu-item { display: flex; align-items: center; }
}
