/* Vermont Farm Fund, Loan Application, Apply Now (/programs-places/vermont-farm-fund/loan-application/apply/,
 * hand-built 2026-10-08, ClickUp 869ew7ne8). Design: Figma JKXVsbjCRt5Rk5ShNZ702G frame 9420:244786 (the
 * APPLICATION SUPPORT box and the LOAN APPLICATION form, step 1) and its step frames 8552:106133, 9420:245150,
 * 13042:174704, 13042:175072, 9261:155817, 9420:245556, 9261:156923.
 * Drawn: APPLICATION SUPPORT, a light-cream box 1104 wide, padding 24, brick Acumin Pro Condensed 900 30/40 over
 * granite Acumin Pro 24/32; then 112 below, LOAN APPLICATION (evergreen condensed 900 48/56) over a light-cream
 * section 1200 wide, padding 48, holding the five-step process bar (20 dots joined by 200 rules, bold 18/26 labels
 * under them), 40 below it a white card (padding 24, rows 24 apart, every second question on a #efefef band
 * across the card), and 40 below that Previous (granite outline pill) and Next (butter-yellow pill), centred.
 * The form is the site form runtime's own markup (form id vff-loan-application) and its stepped mode
 * (assets/forms-lowering.js steps()); forms-cae.css paints labels and controls as on the other forms. */
/* The old APPLICATION SUPPORT box: the pattern no longer emits it (PACKET-301 item 2); these rules only keep a page
 * served from the previous pattern tidy until the next boot. Dead after that boot; safe to delete then. */
.wp-site-blocks .wp-block-post-content > .alignfull.vffla-support,
.vffla-support.vffla-support {
  box-sizing: border-box;
  inline-size: min(1104px, 100% - 32px) !important;
  max-inline-size: none !important;
  margin: 64px auto 0 !important;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--wp--preset--color--light-cream, #f7f4e2);
}
.vffla-support > * { margin-block: 0 !important; }
.vffla-support__heading.vffla-support__heading {
  font-family: var(--wp--preset--font-family--acumin-pro-condensed);
  font-weight: 900;
  font-size: 30px;
  line-height: 40px;
  color: var(--wp--preset--color--primary-brick, #b15533);
  text-transform: uppercase;
}
.vffla-support__text.vffla-support__text {
  font-family: var(--wp--preset--font-family--acumin-pro);
  font-size: 24px;
  line-height: 32px;
  color: var(--wp--preset--color--primary-granite-gray, #767769);
}
/* ── FORM BLOCK = CONTACT › SEND A MESSAGE (Kate, "Dev Notes: VFF Loan Application › Application Form", 2026-10-16,
 * ClickUp 869ew7ne8, PACKET-301 item 2). The section is the cream panel, inset on the greenhouse photo exactly as the
 * Contact form block is (forms-cae.css "GLOBAL: the form card ON its photo band": panel 1072 wide, padding 48 40, photo
 * 56 above and below and 64 each side, 116 above the frame / 56 below; under 1024 the panel is full width and the photo
 * a 32 band above and below). That global rule keys on a photo block in front of the form section; this page has no
 * photo block, so the same backdrop is drawn here on the page's own class. The title sits inside the panel in the
 * Contact form-title style; the alternating white / grey question rows are gone (labels and white inputs on the cream,
 * 24 apart as on Contact). */
.wp-site-blocks .wp-block-post-content > .alignfull.vffla-section,
.vffla-section.vffla-section {
  position: relative;
  box-sizing: border-box;
  inline-size: min(1072px, 100%) !important;
  max-inline-size: none !important;
  margin: 116px auto 56px !important;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: var(--wp--preset--color--light-cream, #f7f4e2);
}
/* Backdrop photo (client QA sheet VFF row 24, ticket 1amzwvgauey, PACKET-394): PhotoShelter I0000xFLOMfQpPTU (Chappelle's
 * Potatoes) replaces the greenhouse pair, same slot rule (faded photo on top, its seamless tile repeating down; made by
 * tools/cae/photoswaps1105-formbg-place.py). Same photo on Connect With Us (forms-cae.css) and Become a Board Member
 * (fix-vffboard-cae.css). */
.vffla-section.vffla-section::before {
  content: "";
  position: absolute;
  inset: -56px -64px;
  z-index: -1;
  background:
    url("../images/client-final/cae-form-bg-faded-I0000xFLOMfQpPTU-1200.webp") center top / 100% auto no-repeat,
    #F5F5F5 url("../images/client-final/cae-form-bg-tile-I0000xFLOMfQpPTU-1200.webp") center top / 100% auto repeat-y;
  pointer-events: none;
}
.vffla-section.vffla-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: inherit;
  pointer-events: none;
}
.vffla-section > * { margin-block: 0 !important; }
.vffla-section__heading.vffla-section__heading {
  font-family: var(--wp--preset--font-family--acumin-pro-condensed);
  font-size: var(--wp--preset--font-size--h-2-acumin-black, 48px);
  line-height: var(--wp--custom--line-heights--h-2-acumin-black, 56px);
  font-weight: var(--wp--custom--font-weights--h-2-acumin-black, 900);
  color: var(--wp--preset--color--primary-brick, #b15533);
  text-align: center;
  text-transform: uppercase;
}
/* Under the title (Kate, PACKET-301 item 2): the support sentence, centred; a standard yellow Send a Message button (the
 * Loan Application landing's Before You Begin button: CAE Button Cond, p-2 condensed 20/28, padding 12 24 11, radius 40,
 * 10 to the arrow, 51 tall) to Contact with Vermont Farm Fund / I have a question preset; then the Contact divider
 * (1px #C7C6C6, full panel width) and the step indicator 32 below it. Title to sentence 16, sentence to button 24,
 * button to divider 32 (Contact: title to divider 16, divider to form 32). */
.vffla-section.vffla-section { gap: 16px; }
.vffla-section.vffla-section > .vffla-section__actions { margin-block-start: 8px !important; }
.vffla-section.vffla-section > .vffla-section__rule,
.vffla-section.vffla-section > .vffla-form { margin-block-start: 16px !important; }
.vffla-section__intro.vffla-section__intro {
  font-family: var(--wp--preset--font-family--acumin-pro);
  font-size: 24px;
  line-height: 32px;
  color: var(--wp--preset--color--primary-granite-gray, #767769);
  text-align: center;
}
.vffla-section__actions.vffla-section__actions { display: flex; justify-content: center; gap: 0; }
.vffla-section__cta.vffla-section__cta { margin: 0; }
.vffla-section__cta > .wp-block-button__link.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 12px 24px 11px;
  border: 0;
  border-radius: 40px;
  background-color: var(--wp--preset--color--primary-butter-yellow, #f2a518);
  color: var(--wp--preset--color--white, #ffffff);
  font-family: "CAE Button Cond", "Acumin Pro Condensed", sans-serif;
  font-size: var(--wp--preset--font-size--p-2-regular-acumin-pro-cond, 20px);
  line-height: var(--wp--custom--line-heights--p-2-regular-acumin-pro-cond, 28px);
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}
.vffla-section__cta > .wp-block-button__link > .button-icon { display: block; inline-size: 20px; block-size: 20px; margin: 0; }
.vffla-section__rule.vffla-section__rule {
  inline-size: 100%;
  max-inline-size: none;
  block-size: 0;
  margin-inline: 0;
  border: 0;
  border-block-start: 1px solid #c7c6c6;
  background: none;
  opacity: 1;
}
@media (max-width: 599.98px) {
  .vffla-section__intro.vffla-section__intro { font-size: 20px; line-height: 28px; }
}
.vffla-form.site-form--flow.site-form--flow {
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-sizing: border-box;
  padding: 0;
  background-color: transparent;
}
.vffla-form.site-form--flow > .site-form__hp {
  position: absolute;
  inline-size: 0;
  block-size: 0;
  overflow: hidden;
}
/* Step indicator (Kate's spec): numbered circles on a white strip (1px light border, padding 28 16 24), joined by a 2px
 * #C7C6C6 line; circles 52, mint green, white number centred (Acumin Pro Condensed bold 24); the current step is a yellow
 * circle with its label bold evergreen; labels 18, #606055, centred under each circle. Six steps (2026-11-05, client QA
 * sheet VFF row 29, 1amzwvgauf6: page 6 = Attachments); the seventh panel (What's Next?) stays hidden from the indicator. */
.vffla-form .site-form__stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  box-sizing: border-box;
  margin: 0;
  padding: 28px 16px 24px;
  list-style: none;
  background-color: var(--wp--preset--color--white, #ffffff);
  border: 1px solid #c7c6c6;
  scroll-margin-top: 24px;
}
.vffla-form .site-form__stepper-item:nth-child(n+7) { display: none; }
.vffla-form .site-form__stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
  text-align: center;
  opacity: 1;
}
.vffla-form .site-form__stepper-item:not(:nth-child(6))::after {
  content: "";
  position: absolute;
  inset-block-start: 25px;
  inset-inline-start: calc(50% + 26px);
  inline-size: calc(100% - 52px);
  block-size: 2px;
  border: 0;
  background-color: #c7c6c6;
}
.vffla-form .site-form__stepper-num,
.vffla-form .site-form__stepper-item.is-done .site-form__stepper-num {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  inline-size: 52px;
  block-size: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--wp--preset--color--primary-mint-green, #83b390);
  font-family: var(--wp--preset--font-family--acumin-pro-condensed, "Acumin Pro Condensed"), sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--wp--preset--color--white, #ffffff);
}
/* Numerals centred in their circles (Kate 869ew7ne8 90120277601863, 2026-10-17: "the numbers aren't vertically centered in
 * the circles"). Acumin Pro Condensed's ascent is taller than its descent, so the line-height-1 line box that flex centres
 * put the figure's ink high: measured 2.5 device px high in Chromium and 1.5 in WebKit in the 52 circle, 3.0 / 1.5 in the
 * 36 phone circle. Top padding inside the border-box circle moves the centred figure down by half of itself: 5 px (52)
 * and 6 px (36) put the ink within half a device px of centre in both engines (the engines differ by one device px). */
.vffla-form .site-form__stepper-num,
.vffla-form .site-form__stepper-item.is-done .site-form__stepper-num { padding-block-start: 5px; }
@media (max-width: 781.98px) {
  .vffla-form .site-form__stepper-num,
  .vffla-form .site-form__stepper-item.is-done .site-form__stepper-num { padding-block-start: 6px; }
}
.vffla-form .site-form__stepper-item.is-active .site-form__stepper-num {
  border: 0;
  background: var(--wp--preset--color--primary-butter-yellow, #f2a518); /* Kate: primary-yellow; the theme slug is primary-butter-yellow, #F2A518 */
}
.vffla-form .site-form__stepper-label {
  max-inline-size: 236px;
  font-family: var(--wp--preset--font-family--acumin-pro);
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  color: #606055;
}
/* Two-line step labels (Kate 869ew7ne8 90120277589918, 2026-10-17 13:40Z: "Can you make all the step labels fall on two
 * lines so that there is more white space between them"). Each step name carries its own break at the natural word break
 * (data-step-name in the page pattern: Business / Information, Business Structure / and Background, Loan Application /
 * Information, Signer / Information, Reference / Information); the label keeps that break, so every label is two lines,
 * every step the same height, and each label is only as wide as its longer line, which opens the white space between
 * neighbouring steps. A width alone cannot do it: the bold current label "Business Structure" (149.7) is wider than the
 * regular "Signer Information" (142.9). */
.vffla-form .site-form__stepper-label { white-space: pre-line; }
.vffla-form .site-form__stepper-item.is-active .site-form__stepper-label {
  font-weight: 700;
  color: var(--wp--preset--color--primary-evergreen, #004f39);
}
/* One panel: the questions straight on the cream, 24 apart (Contact). */
.vffla-form .site-form__step {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
  background-color: transparent;
}
.vffla-form .site-form__step[hidden] { display: none; }
.vffla-form .site-form__step-legend {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.vffla-form .site-form__step > * { margin: 0; padding-inline: 0; box-sizing: border-box; }
.vffla-form .site-form__step > .vffla-form__field--band { background-color: transparent; padding-block: 0; }
.vffla-form .site-form__step > .vffla-form__field[hidden],
.vffla-form .vffla-form__group[hidden] { display: none; }
.vffla-form .site-form__label,
.vffla-form legend.site-form__label {
  font-family: var(--wp--preset--font-family--acumin-pro);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--wp--preset--color--primary-granite-gray, #767769);
}
.vffla-form .vffla-form__intro {
  font-family: var(--wp--preset--font-family--acumin-pro);
  font-size: 20px;
  line-height: 28px;
  color: var(--wp--preset--color--primary-granite-gray, #767769);
}
.vffla-form .vffla-form__next-heading {
  margin: 0;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed);
  font-weight: 900;
  font-size: 30px;
  line-height: 40px;
  color: var(--wp--preset--color--primary-evergreen, #004f39);
}
.vffla-form .vffla-form__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Section labels - Application Attachments:, Signer 1-6, Reference 1-5 - one style: big and in brick
 * (Kate, ClickUp 869ew7ne8: "make section labels like this big and in brick: Application Attachments:").
 * 24/32 bold = the section-label size of the 3Lane staging build of this form (P1 Bold 24/32); colour = the
 * theme's primary-brick token. */
.vffla-form .vffla-form__subhead,
.vffla-form .vffla-form__group-title {
  margin: 0;
  font-family: var(--wp--preset--font-family--acumin-pro);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--wp--preset--color--primary-brick, #B15533);
}
.vffla-form .vffla-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}
.vffla-form .vffla-form__grid > * { grid-column: 1 / -1; margin: 0; min-inline-size: 0; }
.vffla-form .vffla-form__grid > .vffla-form__field--half { grid-column: auto; }
.vffla-form .site-form__control { box-sizing: border-box; inline-size: 100%; }
/* The step buttons: Previous (granite outline) and Next / Submit (butter yellow), centred, 24 apart. Kate (PACKET-301
 * item 3): Next / Previous / Submit match the Submit button on the other form pages exactly - "CAE Button Cond",
 * "Acumin Pro Condensed" regular (not CAE Button Pro), the p-1 condensed size (23.99 at 1440, Contact's own token),
 * line-height 24, padding 15.5 24, 55 tall, radius 40, 10 to the arrow. Values = the Contact Submit as served
 * (/contact/, measured 2026-10-16: 23.9984/24, 15.5/24, 54.98 tall, radius 40, gap 10, arrow 20 design px = 16 presented). */
.vffla-form .site-form__stepnav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0;
}
.vffla-form .site-form__stepnav [hidden] { display: none !important; }
.vffla-form .site-form__stepnav .wp-block-button__link.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  block-size: 55px;
  box-sizing: border-box;
  padding: 15.5px 24px !important;
  border-radius: 40px;
  font-family: "CAE Button Cond", "Acumin Pro Condensed", sans-serif;
  font-weight: 400;
  font-size: var(--wp--preset--font-size--p-1-pro-cond-regular, 24px);
  line-height: 24px !important;
  background-color: var(--wp--preset--color--primary-butter-yellow, #f2a518);
  color: var(--wp--preset--color--white, #ffffff);
}
.vffla-form .site-form__stepnav .wp-block-button__link > .button-icon { display: block; inline-size: 20px; block-size: 20px; margin: 0; }
.vffla-form .site-form__stepnav .site-form__stepnav-btn--back > .wp-block-button__link.wp-block-button__link {
  background-color: transparent;
  border: 1px solid var(--wp--preset--color--primary-granite-gray, #767769);
  color: var(--wp--preset--color--primary-granite-gray, #767769);
}
/* Validation = the browser's own tooltip only (Kate, PACKET-301 item 4): no error text under the fields. The pattern no
 * longer carries p.site-form__error, so the stepped runtime has no region to write into; this rule covers a served
 * page that still has them until the next boot. Next / Submit on an empty required field focus the first invalid
 * field of the step and call reportValidity() (assets/forms-lowering.js validate()), as on the other site forms. */
.vffla-form .site-form__error { display: none !important; }
.vffla-form > .vffla-form__actions[hidden],
.vffla-form > .vffla-form__actions:not(:has(button)) { display: none; }
@media (max-width: 1023.98px) {
  .wp-site-blocks .wp-block-post-content > .alignfull.vffla-section,
  .vffla-section.vffla-section { margin: 92px auto 32px !important; }
  .vffla-section.vffla-section::before { inset: -32px 0; }
}
@media (max-width: 599.98px) {
  .wp-site-blocks .wp-block-post-content > .alignfull.vffla-section,
  .vffla-section.vffla-section { padding: 48px 25px; }
}
@media (max-width: 781.98px) {
  .vffla-form .site-form__stepper { grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 20px 4px 16px; }
  .vffla-form .site-form__stepper-num, .vffla-form .site-form__stepper-item.is-done .site-form__stepper-num { inline-size: 36px; block-size: 36px; font-size: 18px; }
  .vffla-form .site-form__stepper-item:not(:nth-child(6))::after { inset-block-start: 17px; inset-inline-start: calc(50% + 18px); inline-size: calc(100% - 36px); }
  .vffla-form .site-form__stepper-label { font-size: 13px; line-height: 18px; }
  .vffla-form .vffla-form__grid { grid-template-columns: minmax(0, 1fr); }
  .vffla-form .vffla-form__grid > .vffla-form__field--half { grid-column: 1 / -1; }
}

/* The drawn upload box (frames 9420:245150 / 13042:174704 / 13042:175072): 140 tall, white, 1px #C7C6C6 dashed 8/8,
 * radius 5, a 48 light-cream circle with the evergreen document icon over "Click here to upload or drag your file";
 * "Size limit: 10MB" under it. The native input covers the box, transparent (the Employment Apply Now idiom). */
.vffla-form .site-form__dropzone { position: relative; min-width: 0; margin-block-start: 12px; }
.vffla-form .site-form__dropzone-face {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 140px;
  padding: 0 16px;
  border-radius: 5px;
  background-color: var(--wp--preset--color--white, #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;
  cursor: pointer;
}
.vffla-form .site-form__file {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
  font-size: 0;
}
.vffla-form .site-form__dropzone:focus-within .site-form__dropzone-face,
.vffla-form .site-form__dropzone.is-dragover .site-form__dropzone-face {
  outline: 2px solid var(--wp--preset--color--primary-mint-green, #83b390);
  outline-offset: 2px;
}
.vffla-form .site-form__dropzone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--light-cream, #f7f4e2);
}
.vffla-form .site-form__dropzone-icon img { display: block; width: 28.8px; height: 28.8px; max-width: none; }
.vffla-form .site-form__dropzone-text {
  display: block;
  text-align: center;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: 20px;
  line-height: 28px;
  color: var(--wp--preset--color--primary-granite-gray, #767769);
}
.vffla-form .site-form__dropzone-text strong { font-weight: 700; color: var(--wp--preset--color--primary-evergreen, #004f39); }
.vffla-form .site-form__dropzone-chosen {
  margin: 8px 0 0;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: 16px;
  line-height: 24px;
  color: var(--wp--preset--color--primary-evergreen, #004f39);
  overflow-wrap: anywhere;
}
.vffla-form .site-form__dropzone-chosen:empty { display: none; }
.vffla-form .site-form__field--file .site-form__help {
  margin: 12px 0 0;
  font-family: var(--wp--preset--font-family--acumin-pro, inherit);
  font-size: 16px;
  line-height: 24px;
  color: var(--wp--preset--color--primary-granite-gray, #767769);
}
/* A radio question's legend sits inside its band (a bare legend straddles the fieldset's top edge).
 * Question to first option = the site's 10 px (the global choice-group margin-top, Kate 2026-10-12, Community Room
 * form): the legend's own 12 px margin and the fieldset's 12 px flex gap stacked on top of it made 34 (ClickUp
 * 869ew7ne8, Kate: "why do some labels and radio buttons have excessive gap"). */
.vffla-form fieldset.vffla-form__field { row-gap: 0; }
.vffla-form fieldset.vffla-form__field > legend.site-form__label { float: left; inline-size: 100%; padding: 0; margin: 0; }
.vffla-form fieldset.vffla-form__field > .site-form__choice-group { clear: both; }
/* A parenthesised description inside a question reads in the regular weight; the question keeps its 700
 * (ClickUp 869ew7ne8, Kate: "do NOT bold these descriptions in parentheses"). Same weight as the (optional) mark. */
.vffla-form .site-form__paren { font-weight: var(--wp--custom--font-weights--p-2-regular, 400); }

/* PREVIEW ALL QUESTIONS (client QA sheet VFF row 30, ticket 1amzwvgauf7; assets/forms-lowering.js steps() preview()):
 * the toggle sits right-aligned above the step indicator as a granite outline pill (the Previous button's look, smaller);
 * in preview every page shows under its own heading (the step legend, made visible as an evergreen condensed title),
 * read-only, and the per-program attachment rows carry an "Only for: ..." tag. */
.vffla-form .site-form__preview-bar { margin: 0; }
/* View toggle (ClickUp 1amzwvgbekj, Kate 2026-11-10): "Fill Out Step by Step [switch] Preview All Questions", the same look as the
 * List View / Map View toggle on Our Borrowers and Events (72x38 yellow track, 30 knob 4 inset, 11 gap, 120ms). Replaces the old
 * granite outline pill and its "Back to the application" state. */
.vffla-form .site-form__view-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 8px 0 24px;
  font-family: var(--wp--preset--font-family--acumin-pro, "Acumin Pro", sans-serif);
}
.vffla-form .site-form__view-label {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: var(--wp--preset--color--primary-granite-gray, #606055);
  white-space: nowrap;
  cursor: pointer;
}
.vffla-form .site-form__view-label.is-active { color: var(--wp--preset--color--primary-evergreen, #004f39); font-weight: 700; }
.vffla-form .site-form__view-label:not(.is-active):hover { color: var(--wp--preset--color--primary-evergreen, #004f39); }
.vffla-form .site-form__view-switch {
  position: relative;
  flex: 0 0 72px;
  box-sizing: border-box;
  width: 72px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background: var(--wp--preset--color--primary-butter-yellow, #f2a518);
  cursor: pointer;
}
.vffla-form .site-form__view-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 120ms;
}
.vffla-form.site-form--preview .site-form__view-knob { transform: translateX(34px); }
/* Bottom copy: preview mode only, thin divider above */
.vffla-form .site-form__view-toggle--bottom { margin: 32px 0 8px; padding-top: 28px; border-top: 1px solid rgba(0, 0, 0, .12); }
.vffla-form:not(.site-form--preview) .site-form__view-toggle--bottom { display: none; }
.vffla-form.site-form--preview .site-form__stepper[hidden],
.vffla-form.site-form--preview .site-form__stepnav[hidden] { display: none; }
.vffla-form.site-form--preview .site-form__step-legend {
  position: static;
  inline-size: auto;
  block-size: auto;
  overflow: visible;
  clip: auto;
  margin: 0 0 8px;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed);
  font-weight: 900;
  font-size: 30px;
  line-height: 40px;
  color: var(--wp--preset--color--primary-evergreen, #004f39);
}
.vffla-form.site-form--preview .site-form__step + .site-form__step { padding-block-start: 32px; border-block-start: 1px solid #c7c6c6; }
.vffla-form .site-form__preview-tag {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 0 10px;
  border-radius: 12px;
  background-color: var(--wp--preset--color--primary-mint-green, #83b390);
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  vertical-align: middle;
}
@media (max-width: 599.98px) {
  .vffla-form .site-form__view-label { font-size: 16px; }
  .vffla-form.site-form--preview .site-form__step-legend { font-size: 24px; line-height: 32px; }
}

/* Phone stepper: two rows of three (seat, 2026-11-05; client QA sheet batch, vision row vffapply-390 FAIL 2026-11-04).
 * At 390 the six-column stepper is 350 wide, ~57 per step, and the two-line labels (61..68 wide, scrollWidth 76..85)
 * overlap their neighbours with no gap. Three steps per row gives each ~111; the labels keep their two-line breaks at
 * 12/16 with overflow-wrap as the safety for a longer word, and the connector after step 3 (the row's last) is hidden
 * so no line runs off the right edge. Steps 7+ stay hidden as above. */
@media (max-width: 599.98px) {
  .vffla-form .site-form__stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; padding: 20px 8px 16px; }
  .vffla-form .site-form__stepper-item:nth-child(3)::after { display: none; }
  .vffla-form .site-form__stepper-label { font-size: 12px; line-height: 16px; max-inline-size: 100%; overflow-wrap: anywhere; }
}

/* PREVIEW-ONLY NOTICE (VFF Loan Application, Kate Shawver, ClickUp 1amzwvgaufc 097253): a read-only banner at the top
 * of the Preview All Questions view (injected by forms-lowering.js preview(), just under the toggle and above the
 * questions), so the preview does not read as the submittable form. Shown in preview mode only -- the same
 * :not(.site-form--preview){display:none} gate as the bottom toggle copy. */
.vffla-form .vffla-preview-notice {
  margin: 0 0 24px;
  padding: 16px 20px;
  background-color: var(--wp--preset--color--light-cream, #f7f4e2);
  border-inline-start: 4px solid var(--wp--preset--color--primary-evergreen, #004f39);
  color: var(--wp--preset--color--primary-granite-gray, #606055);
  font-family: var(--wp--preset--font-family--acumin-pro, "Acumin Pro", sans-serif);
  font-size: 18px;
  line-height: 28px;
}
.vffla-form .vffla-preview-notice strong { color: var(--wp--preset--color--primary-evergreen, #004f39); font-weight: 700; }
.vffla-form:not(.site-form--preview) .vffla-preview-notice { display: none; }

/* Non-editable look in preview (B2): the preview panels are already inert (forms-lowering.js sets [inert]); this gives
 * the controls a muted, greyed, no-pointer treatment so the view visibly is not fillable. Steps view is untouched.
 * The view toggle, labels and switch are <button>s and are not matched, so switching back stays fully interactive. */
.vffla-form.site-form--preview :is(input, select, textarea, .site-form__control) {
  pointer-events: none;
  cursor: default;
  background-color: #f1f0ec;
  border-color: #d9d7cf;
  color: #8a8a80;
  box-shadow: none;
  -webkit-text-fill-color: #8a8a80;
}
