/* admin-live: shared layout helpers for the M1 admin-config screens (screens/manage.js, screens/private-admin.js,
   screens/crm.js). Reusable grid rows for the payment-rules/occupancy/rooms/departures editors, kept as real classes
   (not inline styles) so they collapse to one column on a 390px phone the same way every other .form-grid does. */
.row-4 { display: grid; gap: 12px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .6fr) minmax(0, .5fr) auto; align-items: end; }
.row-3a { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; }
.row-occ { display: grid; gap: 12px; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
@media (max-width: 640px) {
  .row-4, .row-3a, .row-occ { grid-template-columns: minmax(0, 1fr); }
  .row-4 > button.icon-btn, .row-3a > button.icon-btn { justify-self: end; }
}

/* Trip-status select used on the trips/private-trips lists and in each editor's header. */
.pagehead select.select { min-height: 44px; }

/* Booking-window / mandatory-fee / room rows read as one grouped block rather than loose fields. */
.row-4 .field, .row-3a .field, .row-occ .field { margin: 0; }

/* Month-picker grid (private trip booking config) — buttons already wrap via grid-auto's auto-fill; this just
   keeps the "on" state readable against both themes. */
@media (max-width: 480px) {
  .pagehead__actions select.select { width: 100%; }
}
