/* 鸿盟 · 全局表单控件统一（2026-11-22）
   解决各系统里「输入框大、下拉框小」不齐的问题：所有录入区控件统一 42px 高、同样的圆角与内边距。
   只作用于表单区（.field / .fld / .frow / .form-row / .grid），不动工具栏里的小筛选器。 */

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea,
.fld input:not([type="checkbox"]):not([type="radio"]),
.fld select,
.fld textarea,
.frow input:not([type="checkbox"]):not([type="radio"]),
.frow select,
.form-row input:not([type="checkbox"]):not([type="radio"]),
.form-row select,
.hm-form-row input[type="text"],
.hm-form-row input[type="tel"],
.hm-form-row input[type="number"],
.hm-form-row select {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  line-height: 40px !important;
  box-sizing: border-box !important;
  vertical-align: middle;
}

/* 多行文本保持块状，但宽度与圆角对齐 */
.field textarea,
.fld textarea {
  height: auto !important;
  min-height: 96px !important;
  padding: 10px 14px !important;
  line-height: 1.7 !important;
}

/* 下拉框右侧留出箭头位置，避免文字压到箭头上 */
.field select,
.fld select,
.frow select,
.form-row select,
.hm-form-row select {
  padding-right: 34px !important;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%238A6A2A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

/* 只读/锁定态：灰底，但尺寸与其它控件一致 */
.field input[readonly],
.fld input[readonly],
.field select:disabled,
.fld select:disabled {
  background-color: #F7F4EC !important;
}

/* 日期/时间等原生选择器也拉齐高度 */
.field input[type="date"],
.field input[type="time"],
.fld input[type="date"],
.fld input[type="time"] {
  height: 42px !important;
  padding: 0 12px !important;
  line-height: 40px !important;
}

/* 表单里的 label 统一，不挤在控件边上 */
.field > label,
.fld > label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  line-height: 1.5;
}
