/**
 * The grid the fields of a section sit in: as many columns of at least 240px
 * as the card holds, so two side by side on a desktop and one on a phone,
 * with no breakpoint of its own (the card is half the page on a desktop).
 */
export const FIELD_GRID =
  "grid grid-cols-[repeat(auto-fit,minmax(min(15rem,100%),1fr))] items-start gap-x-6 gap-y-4";

/** A field that takes the whole row of `FIELD_GRID`. */
export const FULL_ROW = "col-span-full";

/** A date input whose calendar button stays on the right edge. */
export const DATE_INPUT =
  "block w-full [&::-webkit-calendar-picker-indicator]:ml-auto [&::-webkit-calendar-picker-indicator]:cursor-pointer";
