/* batch3d：行動裝置表單自動縮放修正
 *
 * 成因：iOS Safari 與部分 Android 在對焦 font-size < 16px 的表單控制項時會自動放大頁面，
 * 且對焦結束後不會自動還原，造成「點一次欄位之後整頁維持放大、畫面一直跳」。
 *
 * 本檔只把 <16px 的表單控制項拉到 16px，不動 viewport、
 * 不使用 maximum-scale / user-scalable=no（長輩需要雙指放大）。
 * 僅在手機／觸控裝置生效，桌機版面完全不受影響。
 * app.css 內 114 處固定寬與其餘字級整改屬批次四，本檔不碰。
 *
 * 選擇器需與被覆蓋的規則等特異度才能勝出（同特異度時後載入者贏），
 * 故完整重述原選擇器，不使用簡寫。
 */
@media (max-width: 860px), (pointer: coarse) {

  /* 乘客端「正常版」：app.css 將全部表單控制項壓到 14px（主因） */
  body.passenger-normal-legacy.passenger-size-normal input,
  body.passenger-normal-legacy.passenger-size-normal select,
  body.passenger-normal-legacy.passenger-size-normal textarea {
    font-size: 16px !important;
  }

  /* 乘客端 AI 助理輸入列：15px */
  body.passenger-v284-legacy-spec .xin-helper-input-row input {
    font-size: 16px !important;
  }

  /* 共用元件下拉：15px / 14px */
  .ui89-form-card select,
  .ui104-schedule-direction-select select {
    font-size: 16px !important;
  }

  /* 營運後台與系統總後台：裸 <input> 無任何字級規則，落到瀏覽器預設約 13.3px。
     （司機端與執行單位後台的輸入框皆帶 class="input"，已是 16.5px，不需處理） */
  body.role-operations input,
  body.role-operations select,
  body.role-operations textarea,
  body.role-master input,
  body.role-master select,
  body.role-master textarea {
    font-size: 16px;
  }
}
