/*
 * fix-fcpickup-gf-cae.css -- page-scoped overlay, Farm Connex / Schedule a Pickup or Delivery, GRAVITY FORMS
 * variant only (seat, 2026-10-24; enqueued by inc/cae-fx-gf.php on that page when the imported form renders).
 *
 * The page's look is fix-fcpickup-cae.css (the cream panel, the white card, the centred heading + rule, the
 * paired half-width rows, labels/controls/help in the site's form engine sizes, the yellow centred Submit).
 * The native form carries that look on .site-form__* classes; Gravity Forms renders .gfield/.ginput_* instead.
 * Scoped to .fcpickup-form--gf, the wrapper ONLY inc/cae-fx-gf.php emits (the schedule page swap and the
 * [cae_fx_gf] shortcode), so no other form on the site can match. Every rule here maps a Gravity Forms class onto
 * the SAME declaration the native rule carries, nothing new is
 * drawn. Lengths are FRAME px (the site presents at zoom 0.8), as in the sibling file.
 */

/* ---- the card holds GF's wrapper as it held the native rows; GF's own outer margins off ---- */
.fcpickup-form--gf {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.fcpickup-form--gf .fcpickup-form__card {
  display: block;
}
.fcpickup-form--gf .fcpickup-form__rule {
  margin: 24px 0;
}
.fcpickup-form--gf .gform_wrapper {
  margin: 0;
  max-width: none;
}
.fcpickup-form--gf .gform_wrapper .gform_heading {
  display: none; /* the card's own heading is drawn above */
}

/* DRIVER FORM only: the card heading is the page's h1 ([cae_fx_gf] level 1, inc/cae-fx-gf.php); the page styles no
   heading, so it keeps the size it had as an h2 (the browser's 1.5em; no theme.json heading style) */
.cae-page--driver-form h1.fcpickup-form__heading {
  font-size: 1.5em;
}

/* ---- rows: GF's grid keeps the form's own half/full widths; the gaps are the native card's served 24 x 24 ---- */
.fcpickup-form--gf .gform_wrapper .gform_fields {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  column-gap: 24px;
  row-gap: 24px;
}
.fcpickup-form--gf .gform_wrapper .gfield {
  margin: 0;
  padding: 0;
  border: 0;
}

/* ---- labels: the engine's p-2-bold in granite (the native .site-form__label serves rgb(96,96,85)); no asterisk,
   "(optional)" on the rest (Kate's 09-27 ruling) ---- */
.fcpickup-form--gf .gform_wrapper .gfield_label,
.fcpickup-form--gf .gform_wrapper legend.gfield_label {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: var(--wp--preset--font-size--p-2-regular, 20px);
  line-height: var(--wp--custom--line-heights--p-2-regular, 28px);
  font-weight: var(--wp--custom--font-weights--p-2-bold, 700);
  color: var(--wp--preset--color--primary-granite-gray, #606055);
}
.fcpickup-form--gf .gform_wrapper .gfield_required {
  display: none;
}
/* ...except a field whose own label already says it is optional (.cae-no-optional, set by the bridge: "Special Instructions
   (if any)", field 22; Kate 1amzwvgcj17: "Special Instructions (if any) (optional)" is redundant) */
.fcpickup-form--gf .gform_wrapper .gfield:not(.gfield_contains_required):not(.gfield--type-html):not(.gfield--type-section):not(.gfield_visibility_hidden):not(.cae-no-optional) > .gfield_label::after {
  content: " (optional)";
  font-weight: var(--wp--custom--font-weights--p-2-regular, 400);
  color: var(--wp--preset--color--primary-granite-gray, #767769);
}

/* ---- controls: the engine's field box (.site-form__control: 14 x 16 padding, 1px #c7c6c6), 58 frame px tall ---- */
.fcpickup-form--gf .gform_wrapper input[type="text"],
.fcpickup-form--gf .gform_wrapper input[type="email"],
.fcpickup-form--gf .gform_wrapper input[type="tel"],
.fcpickup-form--gf .gform_wrapper input[type="number"],
.fcpickup-form--gf .gform_wrapper input[type="url"],
.fcpickup-form--gf .gform_wrapper select,
.fcpickup-form--gf .gform_wrapper textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid #c7c6c6;
  border-radius: var(--form-r, 4px);
  box-shadow: none;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: var(--wp--preset--font-size--p-2-regular, 20px);
  line-height: var(--wp--custom--line-heights--p-2-regular, 28px);
  font-weight: var(--wp--custom--font-weights--p-2-regular, 400);
  letter-spacing: normal;
  color: var(--wp--preset--color--primary-granite-gray, #606055);
}
.fcpickup-form--gf .gform_wrapper input::placeholder,
.fcpickup-form--gf .gform_wrapper textarea::placeholder {
  color: var(--wp--preset--color--primary-granite-gray, #767769);
  opacity: 1;
}
.fcpickup-form--gf .gform_wrapper input:focus-visible,
.fcpickup-form--gf .gform_wrapper select:focus-visible,
.fcpickup-form--gf .gform_wrapper textarea:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary-mint-green, #83b390);
  outline-offset: 2px;
}
.fcpickup-form--gf .gform_wrapper textarea,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield textarea {
  display: block; /* inline-block leaves a descender gap under it */
  height: 150px; /* GF prints rows="10"; the native textarea is min-height 150 */
  min-height: 150px;
  border-radius: 5px;
}
/* selects: the native .site-form__control--select (white, radius 5, the site's dropdown chevron 16 in from the right).
   The plain <select> (no enhanced UI) and Chosen's face (GF "enhanced user interface") get the same box. */
.fcpickup-form--gf .gform_wrapper select,
.fcpickup-form--gf .gform_wrapper .chosen-container-single .chosen-single {
  padding-right: 52px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 5px;
  background-color: #ffffff;
  background-image: url("../cae-global-icon-dropdown-i15264-190539-1127-70779-985-168258.svg");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) 50%;
  background-size: 24px 24px;
}
.fcpickup-form--gf .gform_wrapper .chosen-container {
  width: 100% !important; /* Chosen writes an inline px width at init */
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: var(--wp--preset--font-size--p-2-regular, 20px);
}
.fcpickup-form--gf .gform_wrapper .chosen-container-single .chosen-single {
  display: block;
  box-sizing: border-box;
  height: auto;
  padding: 14px 52px 14px 16px;
  border: 1px solid #c7c6c6;
  box-shadow: none;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: var(--wp--preset--font-size--p-2-regular, 20px);
  line-height: var(--wp--custom--line-heights--p-2-regular, 28px);
  font-weight: var(--wp--custom--font-weights--p-2-regular, 400);
  color: var(--wp--preset--color--primary-granite-gray, #606055);
  text-decoration: none;
}
.fcpickup-form--gf .gform_wrapper .chosen-container-single .chosen-single span {
  height: auto;
  margin-right: 0;
  line-height: inherit;
}
.fcpickup-form--gf .gform_wrapper .chosen-container-single .chosen-single div {
  display: none; /* Chosen's sprite arrow; the chevron is the face's background */
}
.fcpickup-form--gf .gform_wrapper .chosen-container-active .chosen-single,
.fcpickup-form--gf .gform_wrapper .chosen-container-active.chosen-with-drop .chosen-single {
  border-color: #c7c6c6;
  background-color: #ffffff;
  background-image: url("../cae-global-icon-dropdown-i15264-190539-1127-70779-985-168258.svg");
  box-shadow: none;
  outline: 2px solid var(--wp--preset--color--primary-mint-green, #83b390);
  outline-offset: 2px;
}
.fcpickup-form--gf .gform_wrapper .chosen-container .chosen-drop {
  border-color: #c7c6c6;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}
.fcpickup-form--gf .gform_wrapper .chosen-container .chosen-results li {
  padding: 8px 16px;
  line-height: var(--wp--custom--line-heights--p-2-regular, 28px);
  color: var(--wp--preset--color--primary-granite-gray, #606055);
}
.fcpickup-form--gf .gform_wrapper .chosen-container .chosen-results li.highlighted {
  background: var(--wp--preset--color--light-cream, #f7f4e2);
  color: var(--wp--preset--color--primary-evergreen, #004f39);
}
.fcpickup-form--gf .gform_wrapper input[type="number"] {
  -moz-appearance: textfield;
}
.fcpickup-form--gf .gform_wrapper input[type="number"]::-webkit-inner-spin-button,
.fcpickup-form--gf .gform_wrapper input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ---- choices (radio / checkbox): the engine's .site-form__choice-* (forms-cae.css): rows 12 apart, the 16 x 16
   radius-2 1px #F2A518 box drawn as a real control, white tick when checked, label p-2-regular granite ---- */
.fcpickup-form--gf .gform_wrapper .gfield_radio,
.fcpickup-form--gf .gform_wrapper .gfield_checkbox {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fcpickup-form--gf .gform_wrapper .gchoice {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}
.fcpickup-form--gf .gform_wrapper .gchoice label {
  margin: 0;
  max-width: none;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: var(--wp--preset--font-size--p-2-regular, 20px);
  line-height: var(--wp--custom--line-heights--p-2-regular, 28px);
  font-weight: var(--wp--custom--font-weights--p-2-regular, 400);
  color: var(--wp--preset--color--primary-granite-gray, #606055);
  cursor: pointer;
}
.fcpickup-form--gf .gform_wrapper .gchoice input[type="radio"],
.fcpickup-form--gf .gform_wrapper .gchoice input[type="checkbox"] {
  flex: 0 0 auto;
  box-sizing: border-box;
  position: relative;
  top: calc(8px - 0.36em);
  width: 16px;
  height: 16px;
  margin: 0;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: var(--wp--preset--font-size--p-2-regular, 20px);
  background-color: transparent;
  border: 1px solid var(--wp--preset--color--primary-butter-yellow, #f2a518);
  border-radius: 2px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.fcpickup-form--gf .gform_wrapper .gchoice input[type="radio"] {
  border-radius: 50%;
}
.fcpickup-form--gf .gform_wrapper .gchoice input[type="radio"]:checked,
.fcpickup-form--gf .gform_wrapper .gchoice input[type="checkbox"]:checked {
  background-color: var(--wp--preset--color--primary-butter-yellow, #f2a518);
}
.fcpickup-form--gf .gform_wrapper .gchoice input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round' d='M3.6 8.3l2.8 2.8 5.9-6.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
}
.fcpickup-form--gf .gform_wrapper .gchoice input[type="radio"]:checked {
  box-shadow: inset 0 0 0 3px #ffffff;
}
.fcpickup-form--gf .gform_wrapper .gchoice input[type="radio"]:focus-visible,
.fcpickup-form--gf .gform_wrapper .gchoice input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary-butter-yellow, #f2a518);
  outline-offset: 2px;
}
.fcpickup-form--gf .gform_wrapper .gchoice input[type="checkbox"]::before,
.fcpickup-form--gf .gform_wrapper .gchoice input[type="radio"]::before {
  content: none; /* gravity-theme draws its own tick on some installs */
}

/* ---- help text: small grey UNDER its control (.site-form__help: 12 field gap - 2 = 10).
   Each field is a column whose parts are re-ordered label -> control -> description -> messages, so the imported
   form's per-field "description above" placement (and GF's form-level setting) both draw the native order; the
   bridge also sets the placement to 'below' at render time (inc/cae-fx-gf.php) so the DOM order matches. The
   number fields' "Please enter a number from x to y" instruction runs on after the description, as the native
   help paragraph does (wraps to its own line when the description fills the row). ---- */
.fcpickup-form--gf .gform_wrapper .gfield:not(.gfield--type-html):not(.gfield--type-section):not(.gfield--type-hidden):not(.gform_hidden):not(.gfield_visibility_hidden) {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start; /* the grid stretches a half to its row partner's height: keep the rows packed at the top */
  column-gap: 0.25em;
  row-gap: 0;
  font-size: var(--wp--preset--font-size--p-3-regular, 16px);
}
.fcpickup-form--gf .gform_wrapper .gfield > * {
  flex: 0 0 100%;
  min-width: 0;
  order: 5;
}
.fcpickup-form--gf .gform_wrapper .gfield > .gfield_label {
  order: 0;
}
.fcpickup-form--gf .gform_wrapper .gfield > .ginput_container {
  order: 1;
}
.fcpickup-form--gf .gform_wrapper .gfield > .gfield_description:not(.validation_message):not(.gfield_validation_message) {
  order: 2;
}
.fcpickup-form--gf .gform_wrapper .gfield > .ginput_container_number {
  display: contents; /* the input and its range instruction become the field's own rows */
}
.fcpickup-form--gf .gform_wrapper .ginput_container_number > input {
  flex: 0 0 100%;
  order: 1;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_number > .instruction,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield .ginput_container_number > .instruction {
  flex: 0 1 auto;
  order: 3;
  align-self: flex-end;
  width: auto; /* gravity-theme gives every description width 100% */
  margin: 0;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_number > :not(input):not(.instruction) {
  flex: 0 0 100%;
  order: 4;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_number + .gfield_description,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield--type-number > .gfield_description:not(.instruction):not(.validation_message):not(.gfield_validation_message) {
  flex: 0 1 auto;
  width: auto;
}
.fcpickup-form--gf .gform_wrapper .instruction strong {
  font-weight: 400;
}
/* the bridge (R1) carries the range hint in the description of fields it tags .cae-range-in-help, as the native help
   paragraph does: GF's own instruction would repeat the same words, so it is not drawn; the description is the row */
.fcpickup-form--gf .gform_wrapper .gfield.cae-range-in-help .ginput_container_number > .instruction {
  display: none;
}
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield--type-number.cae-range-in-help > .gfield_description:not(.instruction):not(.validation_message):not(.gfield_validation_message) {
  flex: 0 0 100%;
  width: 100%;
}
.fcpickup-form--gf .gform_wrapper .gfield_description,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield .gfield_description {
  margin: 10px 0 0;
  padding: 0;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: var(--wp--preset--font-size--p-3-regular, 16px);
  line-height: 24px;
  font-weight: 400;
  color: var(--wp--preset--color--primary-granite-gray, #606055);
}
.fcpickup-form--gf .gform_wrapper .gfield_description:empty {
  display: none;
}
/* the imported Value description ends in an empty inline-styled 19 x 24 spacer div; it would push the range
   instruction to a line of its own (the native help is one line) */
.fcpickup-form--gf .gform_wrapper .gfield_description > div:empty {
  display: none !important;
}
/* a fieldset's legend is not a flex item (as the native fieldset): the choice list carries the label gap */
.fcpickup-form--gf .gform_wrapper fieldset.gfield > legend.gfield_label {
  margin: 0;
}
.fcpickup-form--gf .gform_wrapper fieldset.gfield > .ginput_container {
  margin-top: 10px;
}

/* ---- Weight and Value: the native card stacks them full width (the import pairs them as halves) ---- */
.fcpickup-form--gf .gform_wrapper.gravity-theme .gform_fields .gfield.gfield--type-number {
  grid-column: 1 / -1;
}

/* ---- the form's section break draws the native card's section rule (1px #c7c6c6, row gaps either side) ---- */
.fcpickup-form--gf .gform_wrapper .gfield.gsection {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #c7c6c6;
}
.fcpickup-form--gf .gform_wrapper .gfield.gsection .gsection_title:empty {
  display: none;
}

/* ---- dates: the field box with the site's green calendar icon 16 in from the right (.cae-datefield). The imported
   fields carry calendarIconType "none", so GF draws no trigger: the icon is the input's own background and the
   input opens the picker on focus/click as it already does. If a trigger image is ever drawn, it sits on the icon. ---- */
.fcpickup-form--gf .gform_wrapper .ginput_container_date {
  position: relative;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_date input[type="text"] {
  padding-right: 56px;
  background-image: url("../cae-global-icon-calendar-i15264-190526-1127-70779-985-168258.svg");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) 50%;
  background-size: 24px 24px;
  cursor: pointer;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_date .ui-datepicker-trigger {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 24px;
  height: 24px;
  margin: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

/* ---- uploads: the native drop zone. The bridge (gform_field_content) wraps each GF file input in the native
   .site-form__dropzone markup -- the input laid over a drawn face (cream disc + upload icon + "Click here to upload
   your file") and a chosen-file line -- so fix-fcpickup-cae.css's .site-form__dropzone* rules (this page's sheet,
   scoped to .fcpickup-form, which the GF card also carries) draw it exactly as the native form: 160 frame px tall.
   GF's accepted-types line follows the zone, as the native help does. Without the bridge markup (an older bridge)
   the bare input keeps the dashed box. ---- */
.fcpickup-form--gf .gform_wrapper .ginput_container_fileupload {
  display: flex;
  flex-direction: column;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_fileupload > .site-form__dropzone {
  order: 0;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_fileupload > .gform_fileupload_rules {
  order: 1;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_fileupload > .validation_message {
  order: 2;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_fileupload .site-form__dropzone > input.site-form__file {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  z-index: 1;
  font-size: 0;
  cursor: pointer;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_fileupload:not(:has(.site-form__dropzone)) {
  box-sizing: border-box;
  padding: 24px 16px;
  border-radius: 5px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect x='0' y='0' width='100%25' height='100%25' rx='5' ry='5' fill='none' stroke='%23C7C6C6' stroke-width='2' stroke-dasharray='8 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}
.fcpickup-form--gf .gform_wrapper .ginput_container_fileupload:not(:has(.site-form__dropzone)) input[type="file"] {
  width: 100%;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: var(--wp--preset--font-size--p-3-regular, 16px);
  line-height: 24px;
  color: var(--wp--preset--color--primary-granite-gray, #606055);
}
.fcpickup-form--gf .gform_wrapper .gform_fileupload_rules {
  display: block;
  margin-top: 10px;
  font-size: var(--wp--preset--font-size--p-3-regular, 16px);
  line-height: 24px;
  color: var(--wp--preset--color--primary-granite-gray, #606055);
}

/* ---- Submit: the native .site-form__submit pill -- butter yellow, white "Submit" in the button face (24/24) and the
   site's next chevron 10 after it; centred 34 under the last row (the native actions row: 10 margin + 24 card gap).
   The bridge (gform_submit_button) renders GF's submit as a <button> carrying the chevron; the input form keeps
   the same box without it. ---- */
.fcpickup-form--gf .gform_wrapper .gform_footer {
  display: flex;
  justify-content: center;
  margin: 34px 0 0;
  padding: 0;
}
/* DRIVER FORM only (body.cae-page--driver-form; staging run fx-live-compare-1126 2026-11-26: page 411 wide at 375).
   inc/cae-fx-gf.php prints the Turnstile box (inc/cae-turnstile.php: width 100%, flex 0 0 auto) before the submit
   inside this footer; with the row above (flex, no wrap, centred) box + button overflow the card by the button's
   width, half on each side, and the card is edge to edge on a phone. Wrapping gives the box its own line and centres
   Submit under it, as on the native forms. */
.cae-page--driver-form .fcpickup-form--gf .gform_wrapper .gform_footer {
  flex-wrap: wrap;
}
.fcpickup-form--gf .gform_wrapper .gform_footer input[type="submit"],
.fcpickup-form--gf .gform_wrapper .gform_footer button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 15.5px 24px;
  border: 0;
  border-radius: 40px;
  background-color: var(--wp--preset--color--primary-butter-yellow, #f2a518);
  color: #ffffff;
  font-family: "CAE Button Cond", "Acumin Pro Condensed", sans-serif;
  font-size: clamp(15.747px, -2.3584px + 0.984rem + 0.737vw, 24px); /* the native .site-form__submit's fluid size */
  line-height: 24px;
  font-weight: 400;
  text-transform: none;
  cursor: pointer;
}
.fcpickup-form--gf .gform_wrapper .gform_footer button[type="submit"] > .button-icon {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
}
.fcpickup-form--gf .gform_wrapper .gform_footer input[type="submit"]:focus-visible,
.fcpickup-form--gf .gform_wrapper .gform_footer button[type="submit"]:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary-mint-green, #83b390);
  outline-offset: 2px;
}

/* ---- validation: GF's summary box and per-field messages in the site's voice ---- */
.fcpickup-form--gf .gform_wrapper .gform_validation_errors {
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 1px solid var(--wp--preset--color--primary-brick, #b5462c);
  border-radius: var(--form-r, 4px);
  background: #ffffff;
  box-shadow: none;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  color: var(--wp--preset--color--primary-brick, #b5462c);
}
.fcpickup-form--gf .gform_wrapper .gform_validation_errors > h2 {
  margin: 0;
  font-size: var(--wp--preset--font-size--p-2-regular, 20px);
  line-height: var(--wp--custom--line-heights--p-2-regular, 28px);
  font-weight: var(--wp--custom--font-weights--p-2-bold, 700);
}
.fcpickup-form--gf .gform_wrapper .gfield_validation_message,
.fcpickup-form--gf .gform_wrapper .validation_message {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: var(--wp--preset--font-size--p-3-regular, 16px);
  line-height: 24px;
  color: var(--wp--preset--color--primary-brick, #b5462c);
}
.fcpickup-form--gf .gform_wrapper .gfield_error input,
.fcpickup-form--gf .gform_wrapper .gfield_error select,
.fcpickup-form--gf .gform_wrapper .gfield_error textarea {
  border-color: var(--wp--preset--color--primary-brick, #b5462c);
}

/* ---- the on-page confirmation (replaces the imported redirect to the Farm Connex copy) ---- */
.fcpickup-form--gf .fcpickup-form__thanks {
  box-sizing: border-box;
  padding: 24px;
  border-radius: var(--form-r, 4px);
  background-color: var(--wp--preset--color--light-cream, #f7f4e2);
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: var(--wp--preset--font-size--p-2-regular, 20px);
  line-height: var(--wp--custom--line-heights--p-2-regular, 28px);
  color: var(--wp--preset--color--primary-evergreen, #004f39);
  text-align: center;
}
.fcpickup-form--gf .fcpickup-form__thanks p {
  margin: 0;
}
.fcpickup-form--gf .fcpickup-form__thanks p + p {
  margin-top: 16px;
}

/* ---- 700 and under: GF already stacks its grid; the dashed box text wraps ---- */
@media (max-width: 700px) {
  .fcpickup-form--gf .gform_wrapper .gform_fields {
    grid-row-gap: 24px;
    row-gap: 24px;
  }
}

/* ---- GF's size classes (input.small/.medium/.large = 25/50/100 % in gravity-theme) are overridden: every control
   fills its column, as the native rows do (measured 2026-10-24: 'medium' company/email boxes at 221 px in 459 px
   columns). Specificity carries .gravity-theme so the theme's own rule loses on the same property. ---- */
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield input.small,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield input.medium,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield input.large,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield select.small,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield select.medium,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield select.large,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield textarea.small,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield textarea.medium,
.fcpickup-form--gf .gform_wrapper.gravity-theme .gfield textarea.large,
.fcpickup-form--gf .gform_wrapper .gfield input.small,
.fcpickup-form--gf .gform_wrapper .gfield input.medium,
.fcpickup-form--gf .gform_wrapper .gfield input.large,
.fcpickup-form--gf .gform_wrapper .gfield select.small,
.fcpickup-form--gf .gform_wrapper .gfield select.medium,
.fcpickup-form--gf .gform_wrapper .gfield select.large,
.fcpickup-form--gf .gform_wrapper .gfield textarea.small,
.fcpickup-form--gf .gform_wrapper .gfield textarea.medium,
.fcpickup-form--gf .gform_wrapper .gfield textarea.large {
  width: 100%;
  max-width: none;
}

/* ===== D08H (Kate, ClickUp 1amzwvgd08h, 2026-11-20, approved spec items 4-7). The section classes come from the bridge
 * (inc/cae-fx-gf.php CAE_FX_GF_SCHEDULE_BANDS -> cae-fxband / cae-fxband--<section> / --cream|--white; cae-fxcond on the
 * conditional freight rows), so only the schedule form is banded; the Driver Receipt card ([cae_fx_gf]) keeps its 24 gaps.
 * 4. BANDS by related section, not by row: Contact cream, Dates white, Locations + Special Instructions cream, Freight /
 *    Product type white, Weight + Value + Description cream, Documents white; each field 16 / 18 padding, no gaps between
 *    bands (grid gaps 0; the halves of a pair sit edge to edge on the same ground). */
/* SCOPE: every D08H rule that does not hang on a schedule-only class (cae-fxband / cae-fxcond / cae-no-optional) hangs on
   the schedule card's id, so the Driver Receipt card (form 5, same .fcpickup-form--gf sheet) keeps trunk's look. The id is
   matched as an ATTRIBUTE ([id="..."], class weight), not #id: an #id would outweigh the conditional-row rules below. */
/* 7. choices (Kate item 7, whole schedule form): marks 20 x 20; the label centred on the mark (flex centring) and nudged 2
   down; 20 between options; the checked checkbox's white tick bolder (stroke 1.18 -> 2.4 on a 16 px tick, was 13). Trunk's
   (Driver Receipt): 16 x 16 marks on the text baseline, 12 between options. */
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper .gfield_radio,
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper .gfield_checkbox {
  gap: 20px;
}
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper .gchoice {
  align-items: center;
}
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper .gchoice label {
  position: relative;
  top: 2px;
}
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper .gchoice input[type="radio"],
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper .gchoice input[type="checkbox"] {
  top: 0;
  width: 20px;
  height: 20px;
}
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper .gchoice input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.4 8.4l3 3 6.2-6.6'/%3E%3C/svg%3E");
  background-size: 16px 16px;
}
.fcpickup-form--gf .gform_wrapper .gform_fields:has(> .cae-fxband),
.fcpickup-form--gf .gform_wrapper.gravity-theme .gform_fields:has(> .cae-fxband) {
  grid-column-gap: 0;
  grid-row-gap: 0;
  column-gap: 0;
  row-gap: 0;
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxband {
  box-sizing: border-box;
  padding: 16px 18px;
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxband--cream {
  background-color: var(--wp--preset--color--light-cream, #F7F4E2);
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxband--white {
  background-color: #ffffff;
}
/* a banded fieldset's legend is laid out as the field's first row (a float takes it out of the fieldset border, so the
   band's own 16 px top padding sits above it and the legend has no padding of its own: "flush") */
.fcpickup-form--gf .gform_wrapper fieldset.gfield.cae-fxband > legend.gfield_label {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
}
/* 5. FIELDS. The two dates each full width on their own line. */
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper.gravity-theme .gform_fields .gfield.gfield--type-date {
  grid-column: 1 / -1;
}
/* Product/Freight Type(s): 28 more above it (16 + 28), 8 from the legend to the list. */
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxband--freight.gfield--type-checkbox {
  padding-top: 44px;
}
.fcpickup-form--gf .gform_wrapper fieldset.gfield.cae-fxband--freight.gfield--type-checkbox > .ginput_container {
  margin-top: 8px;
}
/* the grey divider under the freight section (field 63, the form's only section break) is not drawn */
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxband.gsection {
  display: none;
}
/* Admin-only fields (visibility "hidden": 47, 48, 54, the Freight help html 43) and GF's admin "Hidden" badge take no
   space on the front end. !important: Gravity Forms' conditional logic writes an inline display when it shows a field. */
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper .gfield.gfield_visibility_hidden,
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper .admin-hidden-markup {
  display: none !important;
}
/* 51, 52, 53 (the Freight Type radios) full width */
.fcpickup-form--gf .gform_wrapper.gravity-theme .gform_fields .gfield.cae-fxcond--choice {
  grid-column: 1 / -1;
}
/* 7. 16 between a fieldset's description and its options (the description prints under the options) */
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper fieldset.gfield > .gfield_description,
.fcpickup-form--gf[id="site-form-farmconnex-schedule"] .gform_wrapper.gravity-theme fieldset.gfield > .gfield_description {
  margin-top: 16px;
}
/* 6. CONDITIONAL FREIGHT ROWS (open when Refrigerated / Frozen / Dry is ticked): a light green #E6F2EA band across the full
 *    row of the card, evergreen text; each row 10 / 18 padding, 24 on top of the first open row and 24 under the last (by
 *    what is shown: Gravity Forms hides a row with an inline display:none); radio options indented 20 and 12 apart; radios
 *    white with a 1.5 px green #3F8F62 ring, checked = an evergreen dot inside a light green #CDE9D7 ring. The count box
 *    keeps the half-column width it had. */
.fcpickup-form--gf .gform_wrapper.gravity-theme .gform_fields .gfield.cae-fxcond {
  grid-column: 1 / -1;
  padding: 10px 18px;
  background-color: #E6F2EA;
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond:not([style*="none"]):not(.cae-fxcond:not([style*="none"]) ~ .cae-fxcond) {
  padding-top: 24px;
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond:not([style*="none"]):not(:has(~ .cae-fxcond:not([style*="none"]))) {
  padding-bottom: 24px;
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond > .gfield_label,
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond > legend.gfield_label,
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond .gchoice label,
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond .gfield_description {
  color: var(--wp--preset--color--primary-evergreen, #004F39);
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond--count > .ginput_container {
  max-width: calc(50% - 18px);
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond .gfield_radio {
  gap: 12px;
  padding-left: 20px;
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond .gchoice input[type="radio"] {
  background-color: #ffffff;
  border: 1.5px solid #3F8F62;
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond .gchoice input[type="radio"]:checked {
  background-color: var(--wp--preset--color--primary-evergreen, #004F39);
  box-shadow: inset 0 0 0 3.5px #CDE9D7;
}
.fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond .gchoice input[type="radio"]:focus-visible {
  outline-color: #3F8F62;
}
@media (max-width: 700px) {
  .fcpickup-form--gf .gform_wrapper .gfield.cae-fxcond--count > .ginput_container {
    max-width: none;
  }
}

/* 1amzwvgcj5h (Kate 2026-11-17: "show the file name and a remove link"): the Remove button assets/js/fcpickup-gf-cae.js puts
   after "Selected file: <name> (<size>)" under an upload zone. Drawn as a text link in the line's own type and evergreen,
   underlined, no box; hover drops the underline (the site's link idiom); keyboard focus keeps the browser's ring. */
.fcpickup-form--gf .site-form__dropzone-chosen .site-form__dropzone-remove {
  margin: 0 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--wp--preset--color--primary-evergreen, #004f39);
  text-decoration: underline;
  cursor: pointer;
}
.fcpickup-form--gf .site-form__dropzone-chosen .site-form__dropzone-remove:hover {
  text-decoration: none;
}
