/* ใบสมัครรายกิจกรรมในหน้าแก้กิจกรรม (event-form.js · 28 ต.ค. 2569 · Taste Skill)
   ตารางเส้นบาง ไม่มีการ์ดซ้อนการ์ด · ปุ่มสามสถานะแบบเดียวกับ "สถานะ" ของกิจกรรม · ไซส์ที่ไม่มีจางลง */
.healthy-formal .event-form-settings { display: grid; gap: 18px; }
.healthy-formal .ef-copy label { display: block; margin-bottom: 6px; color: #17211c; font-weight: 700; }
.healthy-formal .ef-copy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.healthy-formal .ef-copy-row select { min-width: 0; min-height: 44px; }
.healthy-formal .ef-section h3 { margin: 0 0 2px; color: #17211c; font-size: 1rem; }
.healthy-formal .ef-section .field-hint { margin: 0 0 8px; }
.healthy-formal .ef-fields, .healthy-formal .ef-sizes { width: 100%; border-collapse: collapse; }
.healthy-formal .ef-fields th, .healthy-formal .ef-fields td,
.healthy-formal .ef-sizes th, .healthy-formal .ef-sizes td { padding: 6px 4px; border-top: 1px solid #e3ebe6; text-align: left; vertical-align: middle; }
.healthy-formal .ef-fields tr:first-child th, .healthy-formal .ef-fields tr:first-child td { border-top: 0; }
.healthy-formal .ef-fields th { width: 34%; color: #17211c; font-weight: 600; }
.healthy-formal .ef-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3px; border-radius: 12px; background: #eef3f0; }
.healthy-formal .ef-modes button { min-height: 38px; padding: 4px 6px; border: 0; border-radius: 9px; background: transparent; color: #4b5b53; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.healthy-formal .ef-modes button[aria-checked="true"] { background: #fff; color: #194e31; box-shadow: 0 1px 2px rgba(23, 33, 28, .12); }
.healthy-formal .ef-modes button[data-mode="required"][aria-checked="true"] { background: #194e31; color: #fff; }
.healthy-formal .ef-modes button:focus-visible { outline: 3px solid #194e31; outline-offset: 1px; }
.healthy-formal .ef-sizes thead th { padding-top: 0; border-top: 0; color: #66736c; font-size: .82rem; font-weight: 600; }
.healthy-formal .ef-sizes tbody th { color: #17211c; font-weight: 800; }
.healthy-formal .ef-sizes td:first-child { width: 44px; }
.healthy-formal .ef-sizes input[type="checkbox"] { width: 22px; height: 22px; accent-color: #194e31; }
.healthy-formal .ef-sizes input[type="number"] { width: 100%; max-width: 110px; min-height: 40px; padding: 4px 10px; font-variant-numeric: tabular-nums; }
.healthy-formal .ef-sizes tr.is-off th, .healthy-formal .ef-sizes tr.is-off input[type="number"] { opacity: .45; }
.healthy-formal #eventSizesReset { margin-top: 8px; }
@media (max-width: 520px) {
  .healthy-formal .ef-fields th, .healthy-formal .ef-fields td { display: block; width: auto; border-top: 0; padding: 4px 0; }
  .healthy-formal .ef-fields tr { display: block; padding: 8px 0; border-top: 1px solid #e3ebe6; }
  .healthy-formal .ef-fields tr:first-child { border-top: 0; }
}
