/* GODSON CRM v9.2: phone comfort. Only applies on small screens; desktop is unchanged. */
@media (max-width: 760px) {
  /* Typing never zooms the page on iPhone (iOS zooms into any field under 16px). */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Comfortable tap size (44px, the size Apple and Google recommend for fingers). */
  main button:not(.icon-btn):not(.companion-pet),
  main select,
  main input[type="date"],
  .topbar button:not(.icon-btn) {
    min-height: 44px;
  }
  main a[href^="#/"]:not([class*="card"]):not([class*="tile"]) {
    padding-block: 6px;
  }

  /* Tony stays with you, but smaller so he covers less of the page. */
  .roaming-companion .companion-facing {
    scale: 0.66;
    transform-origin: 50% 100%;
    filter: none;
  }

  /* Smooth, native momentum scrolling for tab rows and wide tables. */
  .tabs,
  .table-wrap {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  /* No grey flash when tapping. */
  * {
    -webkit-tap-highlight-color: transparent;
  }
}
