/* mobile.css - phone layout for every page (owner, 9 Nov 2026: "make the app a mobile friendly version"). Loaded last, applies only to narrow screens. */
@media (max-width: 700px) {
  input, select, textarea { font-size: 16px !important; }   /* iPhone zooms the page into any smaller field */
  header { flex-wrap: wrap; gap: 4px 8px; padding: 6px 8px; }
  header h1 { display: none; }
  .nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 8px 12px; font-size: 13px; }
  .btn { min-height: 34px; }
  .form { grid-template-columns: 1fr 1fr !important; }
  .card { overflow-x: auto; }
  .ptable { font-size: 12.5px; }
  .ptable tr:not(.pm-row) > :nth-child(4), .ptable tr:not(.pm-row) > :nth-child(5), .ptable tr:not(.pm-row) > :nth-child(9) { display: none; }
  .ptable tr > th[colspan], .ptable tr > td[colspan] { display: table-cell !important; }
  .pm-grid { grid-template-columns: 1fr; }
  #ticket { left: 0; right: 0; top: 0; width: 100%; max-height: 100dvh; border-radius: 0; z-index: 35; }
  #ocoPanel { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 58dvh; border-radius: 10px 10px 0 0; }
  .tb { gap: 4px; padding: 0 6px; }
}
