/* ─── GET-STARTED WIZARD ──────────────────────────────────────────────────── */
/* Conditionally enqueued via functions.php only on the Get Started template.  */

:root {
  --gs-cedars:     #173933;
  --gs-cedars-2:   #122e29;
  --gs-larch:      #CD9437;
  --gs-larch-text: #8b5e1a;
  --gs-harvest:    #E8B05C;
  --gs-cream:      #f5f0e8;
  --gs-white:      #ffffff;

  /* dept tile colors (mirror homepage) */
  --gs-lake:       #1D658D;
  --gs-subalpine:  #155F51;
  --gs-flatwater:  #069699;

  --gs-display: 'Raleway', sans-serif;
  --gs-body:    'Archivo', sans-serif;
  --gs-ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-get-started-page {
  background: var(--gs-cedars);
  color: var(--gs-white);
  font-family: var(--gs-body);
  overflow-x: hidden;
}

body.is-get-started-page a { color: inherit; }

/* Neutralize Genesis wrappers around the wizard */
body.is-get-started-page .site-inner,
body.is-get-started-page .content,
body.is-get-started-page .entry,
body.is-get-started-page .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Subtle grain (same noise SVG as homepage) */
body.is-get-started-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.038;
  pointer-events: none;
  z-index: 9000;
}

/* ─── Outer wrap ──────────────────────────────────────────────────────────── */
.gs-wrap {
  position: relative;
  min-height: calc(100vh - 130px); /* leave room for site header */
  padding: 64px 8vw 96px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ─── Progress dots ──────────────────────────────────────────────────────── */
.gs-progress {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
}
.gs-progress[hidden] { display: none; }
.gs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  transition: background 0.35s var(--gs-ease), transform 0.35s var(--gs-ease);
}
.gs-dot[data-gs-state="visited"] { background: rgba(205,148,55,0.55); }
.gs-dot[data-gs-state="current"] { background: var(--gs-larch); transform: scale(1.4); }

/* ─── Step container (stacked, one visible at a time) ──────────────────── */
.gs-steps {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gs-step {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--gs-ease), transform 0.45s var(--gs-ease);
}
.gs-step[hidden] { display: none; }
.gs-step.gs-step--active {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Step header ────────────────────────────────────────────────────────── */
.gs-step-head { text-align: left; }
.gs-eyebrow {
  display: block;
  font-family: var(--gs-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gs-larch);
  margin-bottom: 18px;
}
.gs-h {
  font-family: var(--gs-display);
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.8px;
  color: var(--gs-white);
  margin: 0 0 18px;
}
/* JS sets tabindex="-1" + .focus() on step change so screen readers announce
   the new heading. Sighted users don't need the focus ring on the H1 — the
   real interactive controls (option cards) have their own focus styles. */
.gs-h:focus { outline: none; }
.gs-sub {
  font-family: var(--gs-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 620px;
  margin: 0;
}

/* ─── Option cards ──────────────────────────────────────────────────────── */
.gs-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}
.gs-options--multi { grid-template-columns: 1fr 1fr; }

.gs-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 24px 26px;
  /* min-height pins the card so text that wraps on some options doesn't make
     those cards taller than their neighbors — keeps the grid row even and
     prevents layout shift when the user hovers between options. */
  min-height: 102px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.18s, background 0.18s;

  /* Force a stable composite layer so text rendering is identical in all
     interaction states. Without this, Chrome re-rasterizes the card on hover
     and renders text with subtly different sub-pixel positioning (~1.77px
     wider in hover state), which is enough to push borderline labels like
     "Building something owned by its members" from 2 lines down to 1 line
     and back as the cursor moves on/off. translateZ(0) is the cheapest way
     to pin the rasterization mode. */
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* Lock the label width to its content-area width so any rendering nudge
   can't change the wrap boundary. flex: 1 + min-width: 0 means the label
   takes exactly the remaining space and nothing else. */
.gs-option-label {
  flex: 1;
  min-width: 0;
}
/* No transform on hover. The translateY lift created a new stacking
   context and Chrome rendered text 1–2 sub-pixels narrower under that
   compositing path, which caused borderline-width labels (e.g. "Building
   something owned by its members") to suddenly fit on one line on hover
   and reflow the card from 2 lines to 1. Border + background change
   alone communicate the hover state clearly enough. */
/* style.css has a global `button:hover { border-width: 0 }` rule that wipes
   the option-card border on hover, gaining 2px of content width — just
   enough to let borderline labels reflow from 2 lines to 1 and back as the
   cursor moves on/off. Explicit border-width here defends against it.
   Same defensive override goes on the selected/pressed state below so
   hovering an already-selected card doesn't collapse its border either. */
body.is-get-started-page .gs-option:hover,
body.is-get-started-page .gs-option:focus,
body.is-get-started-page .gs-option[aria-checked="true"]:hover,
body.is-get-started-page .gs-option[aria-pressed="true"]:hover {
  border-width: 1px;
}
.gs-option:hover {
  border-color: rgba(205,148,55,0.5);
  background: rgba(255,255,255,0.045);
}
.gs-option:focus-visible {
  outline: 2px solid var(--gs-larch);
  outline-offset: 3px;
}
.gs-option[aria-checked="true"],
.gs-option[aria-pressed="true"] {
  border-color: var(--gs-larch);
  background: rgba(205,148,55,0.08);
  box-shadow: inset 0 0 0 1px rgba(205,148,55,0.55);
}

.gs-option-num {
  flex: 0 0 auto;
  font-family: var(--gs-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  padding-top: 3px;
}
.gs-option[aria-checked="true"] .gs-option-num,
.gs-option[aria-pressed="true"] .gs-option-num { color: var(--gs-larch); }

.gs-option-label {
  font-family: var(--gs-display);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: var(--gs-white);
}

/* Spans both grid columns so the lone 5th option doesn't leave an
   awkward empty cell next to it. Styling otherwise matches the rest. */
.gs-option--unsure {
  grid-column: 1 / -1;
}

/* ─── Textarea (narrative step) ────────────────────────────────────────── */
.gs-textarea-wrap { position: relative; }
.gs-textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  color: var(--gs-white);
  font-family: var(--gs-body);
  font-size: 17px;
  line-height: 1.65;
  padding: 22px 22px 40px;
  resize: vertical;
  min-height: 140px;
}
.gs-textarea::placeholder { color: rgba(255,255,255,0.32); font-style: italic; }
.gs-textarea:focus {
  outline: none;
  border-color: var(--gs-larch);
  background: rgba(255,255,255,0.05);
}
.gs-textarea-counter {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: var(--gs-body);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  pointer-events: none;
}

/* ─── Contact form ─────────────────────────────────────────────────────── */
.gs-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.gs-contact-form .gs-field--county { grid-column: 1 / -1; }
.gs-field { display: flex; flex-direction: column; gap: 8px; }
.gs-field-label {
  font-family: var(--gs-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.gs-field-optional { font-weight: 400; text-transform: none; letter-spacing: 0.5px; color: rgba(255,255,255,0.3); }
.gs-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  color: var(--gs-white);
  font-family: var(--gs-body);
  font-size: 16px;
  padding: 14px 16px;
}
.gs-input:focus {
  outline: none;
  border-color: var(--gs-larch);
  background: rgba(255,255,255,0.05);
}
.gs-input[aria-invalid="true"] {
  border-color: #c64a32;
  background: rgba(198,74,50,0.06);
}

/* Native <select> styled to match .gs-input on the dark wizard surface. */
.gs-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.5' stroke-width='1.5' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
/* The native dropdown list renders on a light surface, so force dark text. */
.gs-select option { color: #1a1a1a; }

.gs-county-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.gs-county-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--gs-body);
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}
.gs-county-options label:hover { border-color: rgba(205,148,55,0.5); }
.gs-county-options input { accent-color: var(--gs-larch); }
.gs-county-options label:has(input:checked) {
  border-color: var(--gs-larch);
  background: rgba(205,148,55,0.06);
}

/* ─── Footer (Back / Continue) ─────────────────────────────────────────── */
.gs-step-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 24px;
}
.gs-back-spacer { flex: 1; }

.gs-btn-back {
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-family: var(--gs-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: color 0.2s;
}
.gs-btn-back:hover { color: var(--gs-larch); }
.gs-btn-back::before { content: '← '; }
/* "Start over" on the reveal step isn't a single-step back, so drop the arrow. */
.gs-btn-back[data-gs-restart]::before { content: ''; }

/* Rules scoped under body.is-get-started-page so they beat Genesis's
   `button:disabled` defaults (which were forcing background:#eee on the
   disabled state and overriding our rgba). Specificity (0,2,1) > (0,1,1). */
body.is-get-started-page .gs-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--gs-larch);
  color: var(--gs-cedars);
  border: 0;
  padding: 17px 36px;
  border-radius: 3px;
  font-family: var(--gs-display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--gs-ease);
  text-decoration: none;
}
/* Hover only when the button is actually active. Disabled hovers should be
   silent — animating a "you can't click me" button is jarring. */
body.is-get-started-page .gs-btn-next:not([disabled]):hover {
  background: var(--gs-harvest);
  transform: translateY(-2px);
}
body.is-get-started-page .gs-btn-next[disabled] {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.35);
  cursor: not-allowed;
  transform: none;
}
.gs-arrow {
  display: inline-block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: width 0.3s var(--gs-ease);
}
.gs-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
body.is-get-started-page .gs-btn-next:not([disabled]):hover .gs-arrow { width: 32px; }

/* ─── Reveal step ──────────────────────────────────────────────────────── */
.gs-step--reveal { gap: 32px; }
.gs-step--reveal .gs-h { font-size: clamp(36px, 5vw, 64px); }
.gs-step--reveal[data-gs-dept="bdc"] .gs-eyebrow { color: var(--gs-lake); }
.gs-step--reveal[data-gs-dept="fec"] .gs-eyebrow { color: var(--gs-subalpine); }
.gs-step--reveal[data-gs-dept="cdc"] .gs-eyebrow { color: var(--gs-flatwater); }
.gs-step--reveal[data-gs-dept="ced"] .gs-eyebrow { color: var(--gs-larch); }

.gs-reveal-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--gs-larch);
  border-radius: 3px;
}
.gs-step--reveal[data-gs-dept="bdc"] .gs-reveal-card { border-left-color: var(--gs-lake); }
.gs-step--reveal[data-gs-dept="fec"] .gs-reveal-card { border-left-color: var(--gs-subalpine); }
.gs-step--reveal[data-gs-dept="cdc"] .gs-reveal-card { border-left-color: var(--gs-flatwater); }
.gs-step--reveal[data-gs-dept="ced"] .gs-reveal-card { border-left-color: var(--gs-larch); }

.gs-reveal-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  flex-shrink: 0;
}
.gs-reveal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gs-reveal-lead-name {
  display: block;
  font-family: var(--gs-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--gs-white);
  margin-bottom: 3px;
}
.gs-reveal-lead-title {
  display: block;
  font-family: var(--gs-body);
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.gs-reveal-next {
  font-family: var(--gs-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

.gs-reveal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}
.gs-reveal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 3px;
  font-family: var(--gs-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--gs-white);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.gs-reveal-link:hover {
  border-color: var(--gs-larch);
  background: rgba(205,148,55,0.06);
}
.gs-reveal-link::after { content: '→'; opacity: 0.5; }

.gs-step-foot--reveal { margin-top: 24px; }
.gs-btn-home { background: transparent; border: 1px solid rgba(255,255,255,0.18); color: var(--gs-white); }
body.is-get-started-page .gs-btn-home:not([disabled]):hover { background: rgba(255,255,255,0.06); border-color: var(--gs-larch); color: var(--gs-white); }

/* ─── Reveal modes (default / sent / error) ───────────────────────────── */
[data-gs-reveal-when] { display: none; }
[data-gs-reveal-mode="default"] [data-gs-reveal-when="default"] { display: flex; }
[data-gs-reveal-mode="sent"]    [data-gs-reveal-when="sent"]    { display: flex; }
[data-gs-reveal-mode="error"]   [data-gs-reveal-when="error"]   { display: flex; }

.gs-reveal-submit {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.gs-reveal-submit-help {
  font-family: var(--gs-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 600px;
}
.gs-reveal-submit-help strong { color: var(--gs-white); font-weight: 600; }

.gs-reveal-sent {
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 26px;
  background: rgba(155,205,135,0.06);
  border: 1px solid rgba(155,205,135,0.18);
  border-radius: 3px;
}
.gs-reveal-sent-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gs-cedars);
  background: #a8c69a;
  border-radius: 50%;
  font-weight: 800;
}
.gs-reveal-sent-title {
  display: block;
  font-family: var(--gs-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--gs-white);
  margin-bottom: 4px;
}
.gs-reveal-sent-body {
  font-family: var(--gs-body);
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.gs-reveal-sent-body strong { color: var(--gs-white); font-weight: 600; }
.gs-reveal-sent-body a { color: var(--gs-larch); border-bottom: 1px solid rgba(205,148,55,0.4); }

.gs-reveal-error {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: rgba(198,74,50,0.08);
  border: 1px solid rgba(198,74,50,0.28);
  border-radius: 3px;
}
.gs-reveal-error > div { flex: 1; }
.gs-reveal-error .gs-btn-next { flex-shrink: 0; }

@media (max-width: 720px) {
  .gs-reveal-sent,
  .gs-reveal-error { flex-direction: column; align-items: flex-start; }
}

/* Hide the embedded Ninja Form — submitted programmatically */
.gs-nf-hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  /* Clear the mobile site header — it overlaps the wizard otherwise. */
  .gs-wrap { padding: 96px 5vw 72px; }
  .gs-progress { margin-bottom: 36px; }
  .gs-step { gap: 28px; }
  .gs-options,
  .gs-options--multi,
  .gs-contact-form { grid-template-columns: 1fr; gap: 10px; }
  .gs-option { padding: 18px 18px 20px; }
  .gs-option--unsure { grid-column: 1; }
  .gs-step-foot { flex-direction: row; gap: 14px; }
  .gs-btn-next { padding: 14px 22px; font-size: 11.5px; }
  .gs-reveal-card { grid-template-columns: 1fr; text-align: center; }
  .gs-reveal-photo { margin: 0 auto; width: 120px; height: 120px; }
  .gs-reveal-card { border-left: 0; border-top: 3px solid var(--gs-larch); }
}

/* ─── Loan Product Finder: result card extras ─────────────────────────────── */
.lf-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.lf-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.4;
}
.lf-facts-label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 700;
}
.lf-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.7;
  font-style: italic;
}
/* The finder card has no team photo, unlike the Get Started reveal, so collapse
   the 160px photo column the body would otherwise be squeezed into. */
.gs-reveal-card.lf-fund-card { display: block; text-align: left; }
/* Text-only reveal card (no photo/facts column) — used by the grant finder. */
.gs-reveal-card.gs-reveal-card--text { display: block; text-align: left; }

/* ── Stage 2 application steps ──────────────────────────────────────────── */
.gs-contact-form .gs-field--full { grid-column: 1 / -1; }
.gs-subgroup { margin-top: 26px; }
.gs-subgroup > .gs-field-label { display: block; margin-bottom: 12px; }
.gs-options--compact { display: flex; flex-wrap: wrap; gap: 12px; }
.gs-options--compact .gs-option { flex: 1 1 200px; padding: 16px 20px; }
.gs-checks { display: grid; gap: 10px; }
.gs-check {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 15px 18px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 3px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.gs-check:hover { border-color: rgba(255,255,255,0.3); }
.gs-check input { margin-top: 2px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--gs-larch); cursor: pointer; }
.gs-check span { color: rgba(255,255,255,0.74); font-family: var(--gs-body); font-size: 15.5px; line-height: 1.5; }
.gs-check:has(input:checked) { border-color: var(--gs-larch); background: rgba(255,255,255,0.05); }
.gs-check:has(input:checked) span { color: var(--gs-white); }
.gs-step--app .gs-subgroup[data-gs-reveal-when="default"] { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }

/* Save & finish later bar (shown only during application steps) */
.gf-savebar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 30px auto 0; max-width: 760px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
}
.gf-save-btn {
  background: none; border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8); font-family: var(--gs-body);
  font-size: 13px; letter-spacing: 0.5px; padding: 10px 18px;
  border-radius: 3px; cursor: pointer; transition: border-color 0.15s, color 0.15s;
}
.gf-save-btn:hover { border-color: var(--gs-larch); color: var(--gs-white); }
.gf-save-btn:disabled { opacity: 0.5; cursor: default; }
.gf-save-status { font-family: var(--gs-body); font-size: 13px; color: rgba(255,255,255,0.55); }

/* Supporting-document uploads */
.gf-uploads { display: flex; flex-direction: column; gap: 12px; }
.gf-upload-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gf-upload-list:empty { display: none; }
.gf-upload-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 3px;
  font-family: var(--gs-body); font-size: 14.5px; color: rgba(255,255,255,0.8);
}
.gf-upload-item.is-pending { opacity: 0.65; }
.gf-upload-item.is-error { border-color: #c64a32; color: #e9a08f; }
.gf-upload-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-upload-remove {
  background: none; border: 0; color: rgba(255,255,255,0.5);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; flex-shrink: 0;
}
.gf-upload-remove:hover { color: var(--gs-white); }
.gf-upload-add {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 12px 22px; border: 1px dashed rgba(255,255,255,0.3); border-radius: 3px;
  color: rgba(255,255,255,0.8); font-family: var(--gs-body); font-size: 14px;
  letter-spacing: 0.5px; cursor: pointer; transition: border-color 0.15s, color 0.15s;
}
.gf-upload-add:hover { border-color: var(--gs-larch); color: var(--gs-white); }
.gf-upload-hint { margin: 0; font-family: var(--gs-body); font-size: 12.5px; color: rgba(255,255,255,0.4); }

/* "Before you begin" prep step */
.gf-prep-list { margin: 0; padding-left: 22px; font-family: var(--gs-body); color: rgba(255,255,255,0.78); line-height: 1.7; }
.gf-prep-list li { margin-bottom: 6px; }
.gf-prep-note { font-family: var(--gs-body); color: rgba(255,255,255,0.62); font-style: italic; border-left: 3px solid var(--gs-larch); padding-left: 14px; margin: 0; line-height: 1.6; }

/* ─── Loan Product Finder: BDC blue base instead of the Get Started green ───── */
/* Only the page background is a solid color; every card/dot/overlay is a
   translucent white on top, so they re-tint to blue automatically. */
body.is-loan-finder-page { background: #254E69; }
