/* ==========================================================================
   FormStar: the form interviews (Forms/<FORM>/section.html and question.html)
   --------------------------------------------------------------------------
   The interviews are generated by tools/FormWiz GUI/generate.js with their own
   markup, CSS and scripts. scripts/sync-layout.js gives every interview the
   site's header, footer and page head, loads tokens.css and formstar.css, then
   this file, then js/interview.js (progress, and clearing the generator's
   inline colors). This file restyles what the generator draws so an interview
   looks like the rest of the site: a navy page head, one white card on the
   blue-gray page, questions left-aligned in a single column, clear fields and
   one obvious next step.

   The generator's own CSS uses id selectors and !important, so most rules here
   start with "html body.fs-interview" and use !important to outrank them.
   ========================================================================== */
/* The generator's own stylesheets ask for Montserrat, which it loaded from Google Fonts: every visitor's
   address went to Google. The name now means the site's self-hosted Inter, and scripts/sync-layout.js takes
   the Google link out of every interview page (November 21, 2026). */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Page ---------------------------------------------------------------------- */
html body.fs-interview { background: var(--fs-bg-page) !important; color: var(--fs-text) !important; }
/* The generator gives the page its own light-blue background and a body one screen tall, so below
   the first screen a different blue showed between the card and the footer. One color, all the way
   down. */
html:has(> body.fs-interview) { background: var(--fs-bg-page) !important; }
html body.fs-interview #questions,
html body.fs-interview #questions *,
html body.fs-interview .modal-content *,
html body.fs-interview .alert-popup *,
html body.fs-interview .signin-modal * { font-family: var(--fs-font) !important; }
html body.fs-interview #questions { flex: 1 0 auto; margin: 0 !important; padding: 0 16px var(--fs-space-16) !important; background: none !important; }
html body.fs-interview #questions > section { margin: 0 !important; padding: 0 !important; background: none !important; }
html body.fs-interview #result:empty { display: none; }

/* The generator styles bare header, nav, section and footer elements for its own header and footer
   (a padded, centered flex header; a nav absolutely centered in it; every section a padded, centered
   grid). Undone here at the same weight, so the site's class rules for its own header, footer and page
   head still win, exactly as on every other page. */
:where(body.fs-interview) header { display: block; padding: 0; justify-content: normal; align-items: normal; flex-direction: row; background-color: transparent; }
:where(body.fs-interview) nav { position: static; left: auto; transform: none; display: block; gap: normal; z-index: auto; margin-top: 0; }
:where(body.fs-interview) nav a { color: inherit; font-weight: inherit; font-size: inherit; letter-spacing: normal; padding: 0; transition: none; }
:where(body.fs-interview) nav a:hover { color: inherit; background: none; box-shadow: none; }
:where(body.fs-interview) section { display: block; padding: 0; text-align: left; flex: none; gap: normal; }
:where(body.fs-interview) section p { margin-bottom: 0; }
:where(body.fs-interview) footer { padding: 0; text-align: left; background-color: transparent; color: inherit; }
.fs-interview-head, .fs-interview-head h1, .fs-interview-head p { text-align: left !important; }

/* Page head: the site's navy band, with the card rising out of it */
.fs-interview-head { padding: var(--fs-space-10) 0 128px !important; }
.fs-interview-head .fs-container { max-width: 808px; }
/* Back, then the crumbs, on one line */
.fs-interview-head__nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--fs-space-3) var(--fs-space-4); margin-bottom: var(--fs-space-5); }
.fs-interview-head .fs-crumbs { margin: 0; }
.fs-interview-back {
  display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 34px; padding: 0 14px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(255, 255, 255, 0.06);
  color: var(--fs-white) !important; font-size: var(--fs-text-sm); font-weight: 600; line-height: 1; text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s;
}
.fs-interview-back svg { width: 16px; height: 16px; transform: scaleX(-1); }
.fs-interview-back:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12); }
.fs-interview-back:focus-visible { outline: 3px solid var(--fs-gold-500); outline-offset: 2px; }
.fs-interview-head__code { margin: 0 0 var(--fs-space-2) !important; color: var(--fs-gold-500) !important; font-size: var(--fs-text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.fs-interview-head h1 { margin: 0; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }

/* The card ------------------------------------------------------------------ */
html body.fs-interview #box {
  position: relative; z-index: 1; box-sizing: border-box !important; width: 100% !important; max-width: 760px !important;
  margin: -96px auto 0 !important; padding: 0 !important; text-align: left !important;
  border: 1px solid var(--fs-border) !important; border-radius: 20px !important; background: var(--fs-white) !important;
  box-shadow: 0 1px 2px rgba(11, 36, 71, 0.06), 0 16px 48px rgba(11, 36, 71, 0.14) !important;
}
html body.fs-interview #customForm { margin: 0 !important; padding: 0 !important; text-align: left !important; }
html body.fs-interview #box center { display: block; text-align: left !important; }

/* Progress (js/interview.js) replaces the generator's stepper of form numbers */
html body.fs-interview #stepperProgressBar { display: none !important; }
.fs-progress { padding: var(--fs-space-6) var(--fs-space-10) var(--fs-space-5); border-bottom: 1px solid var(--fs-border); }
.fs-progress__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--fs-space-4); margin-bottom: var(--fs-space-3); font-size: var(--fs-text-sm); line-height: 1.3; }
.fs-progress__name { min-width: 0; color: var(--fs-blue-700); font-weight: 700; }
/* An answer FormStar filled in: an "i" on the question's heading, and its note (js/interview.js markFilled). */
.fs-filled { position: relative; display: inline-block; margin-left: 6px; vertical-align: middle; line-height: 0; }
.fs-filled__i { display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 999px; background: var(--fs-blue-50, #eff6ff); color: var(--fs-blue-700); cursor: help; }
.fs-filled__i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fs-filled__i:hover, .fs-filled__i[aria-expanded="true"] { background: var(--fs-blue-100, #dbeafe); }
.fs-filled__i:focus-visible { outline: 3px solid var(--fs-blue-200, #bfdbfe); outline-offset: 2px; }
.fs-filled__note { position: relative; display: block; z-index: 30; margin: 4px 0 10px; width: fit-content; max-width: min(420px, 100%); padding: 10px 12px; border-radius: var(--fs-radius-sm); background: var(--fs-navy-900); color: var(--fs-white); font-size: var(--fs-text-sm); font-weight: 500; line-height: 1.45; text-align: left; white-space: normal; box-shadow: var(--fs-shadow); }
.fs-filled__note::before { content: ""; position: absolute; top: -5px; left: 18px; width: 10px; height: 10px; background: inherit; transform: rotate(45deg); }
.fs-filled__note[hidden] { display: none; }


/* "Pick up where you left off" (js/interview.js drafts). */
.fs-draft-offer { margin: var(--fs-space-5) var(--fs-space-10) 0; padding: var(--fs-space-4) var(--fs-space-5); border: 1px solid #bfd3f5; border-radius: var(--fs-radius-sm); background: var(--fs-blue-50, #eff6ff); }
.fs-draft-offer p { margin: 0 0 var(--fs-space-3); color: var(--fs-navy-900); font-weight: 600; }
.fs-draft-offer__actions { display: flex; flex-wrap: wrap; gap: var(--fs-space-2); }
@media (max-width: 560px) { .fs-draft-offer { margin: var(--fs-space-4) var(--fs-space-5) 0; } }

/* Back one step in the form (js/interview.js), left of "17% complete". */
.fs-progress__row { align-items: center; justify-content: flex-start; gap: var(--fs-space-3); }
.fs-progress__back { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; margin: -4px 0; padding: 0; border: 1px solid var(--fs-border); border-radius: 999px; background: var(--fs-white); color: var(--fs-navy-900); cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease; }
.fs-progress__back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.fs-progress__back:hover { background: var(--fs-gray-50); border-color: var(--fs-gray-300); }
.fs-progress__back:focus-visible { outline: 3px solid var(--fs-blue-200, #bfdbfe); outline-offset: 2px; }
.fs-progress__back.is-off { opacity: 0.35; cursor: default; }
.fs-progress__back.is-off:hover { background: var(--fs-white); border-color: var(--fs-border); }
.fs-progress__track { height: 8px; overflow: hidden; border-radius: 999px; background: var(--fs-gray-200); }
.fs-progress__fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--fs-blue-600); transition: width 0.3s ease; }
.fs-progress.is-done .fs-progress__name { color: var(--fs-green-700); }
.fs-progress.is-done .fs-progress__fill { background: var(--fs-green-600); }

/* A section: its title, then its questions */
html body.fs-interview .section-form-card {
  margin: 0 !important; padding: var(--fs-space-8) var(--fs-space-10) var(--fs-space-8) !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
}
/* One question at a time (question.html) has no section card around the questions: the section
   itself takes the same padding. */
html body.fs-interview.form-style-question #customForm > .section { padding: var(--fs-space-8) var(--fs-space-10) var(--fs-space-8) !important; }
html body.fs-interview .section-title {
  margin: 0 0 var(--fs-space-2) !important; padding: 0 !important; text-align: left !important;
  color: var(--fs-navy-900) !important; font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.75rem) !important; font-weight: 800 !important;
  line-height: 1.2 !important; letter-spacing: -0.02em; text-decoration: none !important;
}

/* Questions ----------------------------------------------------------------- */
html body.fs-interview .question-container {
  max-width: none !important; margin: 0 !important; padding: var(--fs-space-6) 0 !important; text-align: left !important;
  border: 0 !important; border-top: 1px solid var(--fs-gray-200) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
}
html body.fs-interview .fw-question-title { display: block !important; margin: 0 0 var(--fs-space-1) !important; padding: 0 !important; text-align: left !important; }
html body.fs-interview .question-text {
  display: block !important; margin: 0 !important; padding: 0 !important; text-align: left !important;
  color: var(--fs-navy-900) !important; font-size: 1.125rem !important; font-weight: 700 !important; line-height: 1.4 !important; letter-spacing: -0.01em;
}
html body.fs-interview .question-subtitle {
  max-width: 62ch; margin: var(--fs-space-1) 0 0 !important; padding: 0 !important; text-align: left !important;
  color: var(--fs-text-muted) !important; font-size: var(--fs-text-sm) !important; line-height: 1.5 !important;
}
html body.fs-interview .question-container > br,
html body.fs-interview .question-nav ~ br { display: none !important; }

/* Text fields, dropdowns, dates and long answers */
html body.fs-interview .text-input-container { display: block !important; width: 100% !important; max-width: 520px !important; margin: var(--fs-space-3) 0 0 !important; text-align: left !important; }
html body.fs-interview #box input[type="text"], html body.fs-interview #box input[type="email"], html body.fs-interview #box input[type="tel"],
html body.fs-interview #box input[type="number"], html body.fs-interview #box input[type="date"], html body.fs-interview #box input:not([type]),
html body.fs-interview #box select, html body.fs-interview #box textarea {
  box-sizing: border-box !important; width: 100% !important; max-width: 520px !important; min-height: 48px; margin: var(--fs-space-3) 0 0 !important; padding: 11px 14px !important;
  border: 1.5px solid var(--fs-gray-300) !important; border-radius: 10px !important; background-color: var(--fs-white) !important;
  color: var(--fs-text) !important; font-size: 1rem !important; line-height: 1.4 !important; text-align: left !important;
  box-shadow: inset 0 1px 2px rgba(11, 36, 71, 0.05) !important; transition: border-color 0.15s, box-shadow 0.15s;
}
html body.fs-interview .date-input-container { display: block !important; box-sizing: border-box; width: 100% !important; max-width: 520px !important; margin: var(--fs-space-3) 0 0 !important; text-align: left !important; }
html body.fs-interview .text-input-container input, html body.fs-interview .text-input-container select, html body.fs-interview .text-input-container textarea,
html body.fs-interview .date-input-container input { margin-top: 0 !important; }
html body.fs-interview #box textarea { max-width: none !important; min-height: 132px; resize: vertical; }
html body.fs-interview #box select {
  -webkit-appearance: none; appearance: none; padding-right: 44px !important; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b2447' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 18px !important;
}
html body.fs-interview #box input::placeholder, html body.fs-interview #box textarea::placeholder { color: var(--fs-gray-500) !important; opacity: 1; text-align: left !important; }
html body.fs-interview #box input:hover, html body.fs-interview #box select:hover, html body.fs-interview #box textarea:hover { border-color: var(--fs-gray-400) !important; }
html body.fs-interview #box input:focus, html body.fs-interview #box select:focus, html body.fs-interview #box textarea:focus {
  outline: none !important; border-color: var(--fs-blue-600) !important; box-shadow: 0 0 0 4px rgba(29, 91, 219, 0.16) !important;
}
html body.fs-interview #box input[type="checkbox"], html body.fs-interview #box input[type="radio"] { width: 20px !important; height: 20px !important; min-height: 0; margin: 0 !important; padding: 0 !important; box-shadow: none !important; accent-color: var(--fs-blue-600); }

/* Several boxes for one answer (an address) and the entries of a table (each income source) */
html body.fs-interview .entry-container {
  display: block !important; box-sizing: border-box !important; width: 100% !important; min-width: 0 !important; max-width: 560px !important;
  margin: var(--fs-space-3) 0 0 !important; padding: var(--fs-space-4) var(--fs-space-5) var(--fs-space-5) !important; text-align: left !important;
  border: 1px solid var(--fs-border) !important; border-radius: 14px !important; background: var(--fs-gray-50) !important; box-shadow: none !important;
}
html body.fs-interview .entry-container h1, html body.fs-interview .entry-container h2, html body.fs-interview .entry-container h3,
html body.fs-interview .entry-container h4, html body.fs-interview .entry-container h5, html body.fs-interview .entry-container legend {
  margin: 0 0 var(--fs-space-1) !important; color: var(--fs-navy-900) !important; font-size: var(--fs-text-sm) !important; font-weight: 700 !important; text-align: left !important;
}
html body.fs-interview .entry-container label { display: block; margin: var(--fs-space-3) 0 0 !important; color: var(--fs-gray-700) !important; font-size: var(--fs-text-sm) !important; font-weight: 600 !important; text-align: left !important; }
html body.fs-interview .address-field { width: 100% !important; margin: 0 !important; text-align: left !important; }
html body.fs-interview .entry-container input, html body.fs-interview .entry-container select,
html body.fs-interview .address-field input, html body.fs-interview .address-field select, html body.fs-interview .address-input { max-width: none !important; }
html body.fs-interview .entry-container > :first-child, html body.fs-interview .entry-container .address-field:first-child input { margin-top: 0 !important; }

/* A label over each box of a several-box answer (js/interview.js) */
/* Each label hugs its own box (6px) and stands clear of the box above (20px), so it can't be read
   as the caption of the one before. #box, because the generator's own box rules carry an id. */
html body.fs-interview #box .fs-box-label, html body.fs-interview #box .entry-container .fw-date-caption { display: block; margin: 20px 0 6px !important; color: var(--fs-gray-700) !important; font-size: var(--fs-text-sm) !important; font-weight: 600 !important; line-height: 1.4 !important; text-align: left !important; }
/* The panel's first label sits at its top (js/interview.js marks it .fs-first: the wrappers around
   each box, with scripts and hidden inputs among them, defeat :first-child). */
html body.fs-interview #box .fs-box-label.fs-first, html body.fs-interview #box .entry-container .fw-date-caption.fs-first { margin-top: 0 !important; }
html body.fs-interview #box .fs-box-label + input, html body.fs-interview #box .fs-box-label + select, html body.fs-interview #box .fs-box-label + textarea { margin-top: 0 !important; }
html body.fs-interview #box .entry-container br { display: none !important; }
/* With a label over the box, the same words inside it say everything twice: the placeholder is
   kept (the fill tools read it) but not shown. */
html body.fs-interview #box .fs-box-label + input::placeholder, html body.fs-interview #box .fs-box-label + textarea::placeholder { color: transparent !important; }

/* A date inside a several-box answer: the generator floats its caption over the box's border, a
   400px box indented inside the panel. Here it is one more labelled box, like the others. */
html body.fs-interview .entry-container .fw-date-field {
  position: static !important; display: block !important; width: 100% !important; max-width: none !important; height: auto !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
}
html body.fs-interview .entry-container .fw-date-caption { position: static !important; transform: none !important; padding: 0 !important; background: none !important; pointer-events: none; }
html body.fs-interview .entry-container .fw-date-field input[type="date"] { width: 100% !important; max-width: none !important; margin: 0 !important; }

/* Choices you can tick: a card per choice */
html body.fs-interview #checkmark, html body.fs-interview [class^="checkbox-group"] { display: grid !important; gap: var(--fs-space-2); box-sizing: border-box; width: 100% !important; max-width: 560px; margin: var(--fs-space-3) 0 0 !important; text-align: left !important; }
html body.fs-interview .checkbox-inline { display: block !important; box-sizing: border-box !important; width: 100% !important; max-width: 560px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
html body.fs-interview .checkbox-label {
  display: flex !important; align-items: center; gap: var(--fs-space-3); box-sizing: border-box !important; width: 100% !important; min-height: 52px; margin: 0 !important;
  padding: 12px 16px !important; text-align: left !important; cursor: pointer;
  border: 1.5px solid var(--fs-gray-300) !important; border-radius: 12px !important; background: var(--fs-white) !important;
  color: var(--fs-navy-900) !important; font-size: 1rem !important; font-weight: 600 !important; transition: border-color 0.15s, background 0.15s;
}
html body.fs-interview .checkbox-label:hover { border-color: var(--fs-blue-500) !important; background: var(--fs-blue-50) !important; }
html body.fs-interview .checkbox-label:has(input:checked) { border-color: var(--fs-blue-600) !important; background: var(--fs-blue-50) !important; box-shadow: inset 0 0 0 1px var(--fs-blue-600) !important; }

/* An unanswered question, once you leave it or press Next */
html body.fs-interview .validation-error {
  /* The generator shows and hides it with an inline display, so it stays a block here. */
  margin: var(--fs-space-2) 0 0 !important; text-align: left !important;
  color: var(--fs-red-700) !important; font-size: var(--fs-text-sm) !important; font-weight: 600 !important; line-height: 1.4;
}
html body.fs-interview .validation-error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: var(--fs-space-2); vertical-align: -4px; border-radius: 50%; background: var(--fs-red-700); color: var(--fs-white); font-size: 12px; font-weight: 800; line-height: 1; }
html body.fs-interview #box .form-field-required input, html body.fs-interview #box .form-field-required select, html body.fs-interview #box .form-field-required textarea { border-color: var(--fs-red-700) !important; }

/* Back and Next: one clear next step ----------------------------------------- */
html body.fs-interview .question-nav {
  display: flex !important; align-items: center; justify-content: space-between !important; gap: var(--fs-space-3);
  margin: var(--fs-space-2) 0 0 !important; padding: var(--fs-space-6) 0 0 !important; border-top: 1px solid var(--fs-border) !important; background: var(--fs-white);
}
html body.fs-interview .question-nav-btn {
  display: inline-flex !important; align-items: center; justify-content: center; width: auto !important; min-width: 128px !important; height: 52px !important;
  margin: 0 !important; padding: 0 22px !important; border-radius: 12px !important; box-shadow: none !important; opacity: 1 !important; cursor: pointer;
  font-size: 0 !important; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
html body.fs-interview .question-nav-btn::after { font-size: 1rem; font-weight: 650; letter-spacing: 0; }
html body.fs-interview .question-nav-btn.question-prev { border: 1.5px solid var(--fs-gray-300) !important; background: var(--fs-white) !important; color: var(--fs-navy-900) !important; }
html body.fs-interview .question-nav-btn.question-prev::after { content: "\2190\00a0 Back"; }
html body.fs-interview .question-nav-btn.question-prev:hover:not(:disabled) { border-color: var(--fs-gray-400) !important; background: var(--fs-gray-50) !important; }
html body.fs-interview .question-nav-btn.question-prev:disabled { visibility: hidden; }
html body.fs-interview .question-nav-btn.question-next { margin-left: auto !important; border: 0 !important; background: var(--fs-blue-600) !important; color: var(--fs-white) !important; box-shadow: 0 2px 6px rgba(29, 91, 219, 0.28) !important; }
html body.fs-interview .question-nav-btn.question-next::after { content: "Next \00a0\2192"; }
html body.fs-interview .question-nav-btn.question-next.submit-mode { background: var(--fs-green-600) !important; box-shadow: 0 2px 6px rgba(26, 138, 80, 0.3) !important; }
html body.fs-interview .question-nav-btn.question-next.submit-mode::after { content: "Finish \00a0\2192"; }
html body.fs-interview .question-nav-btn.question-next:hover:not(:disabled) { background: var(--fs-blue-700) !important; }
html body.fs-interview .question-nav-btn.question-next.submit-mode:hover:not(:disabled) { background: var(--fs-green-700) !important; }
/* Not ready: still the primary button, quieter. A press reaches the bar, which says what's missing (js/interview.js). */
html body.fs-interview .question-nav-btn.question-next:disabled { background: var(--fs-blue-600) !important; color: var(--fs-white) !important; opacity: 0.5 !important; box-shadow: none !important; pointer-events: none !important; }
html body.fs-interview .question-nav:has(.question-next:disabled) { cursor: default; }
html body.fs-interview .question-nav-btn:focus-visible { outline: 3px solid var(--fs-focus) !important; outline-offset: 2px; }

/* Under the card: what happens to the answers (js/interview.js) */
.fs-interview-note { display: flex; align-items: flex-start; justify-content: center; gap: var(--fs-space-2); max-width: 760px; margin: var(--fs-space-5) auto 0 !important; padding: 0 var(--fs-space-4); color: var(--fs-text-muted); font-size: var(--fs-text-sm); line-height: 1.5; text-align: left; }
.fs-interview-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--fs-green-600); }

/* Buttons and dialogs the interview draws (preview, add another, alerts) */
html body.fs-interview #box button:not(.question-nav-btn):not(.close), html body.fs-interview .alert-buttons button, html body.fs-interview .signin-modal-button { border-radius: 10px !important; font-weight: 650 !important; }
html body.fs-interview .alert-popup, html body.fs-interview .signin-modal, html body.fs-interview .modal-content { border: 1px solid var(--fs-border) !important; border-radius: 18px !important; box-shadow: var(--fs-shadow-lg) !important; color: var(--fs-text) !important; }

/* Public, free interviews: no developer controls, no cart or checkout */
#fillMinimumPathBtn, #fillMaximumPathBtn, #exportNamesIdsBtn, #exportFlowchartBtn, #viewFlowchartBtn,
#downloadPayloadBtn, #debugMenu, #clearSectionAnswersBtn, #clearAllAnswersBtn,
#productionCheckoutTools, #viewCartBtn, #addToCartBtn, #cart-icon-link, #cart-overlay, #cart-side-menu { display: none !important; }

/* The finish: "Your forms are ready", with one clear download ------------------ */
html body.fs-interview .thank-you-message {
  box-sizing: border-box; max-width: none; margin: 0 !important; padding: var(--fs-space-10) var(--fs-space-10) var(--fs-space-10) !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
  color: var(--fs-navy-900) !important; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem) !important; font-weight: 800 !important; line-height: 1.2; text-align: center;
}
html body.fs-interview .thank-you-message::before {
  content: ""; display: block; width: 64px; height: 64px; margin: 0 auto var(--fs-space-5); border-radius: 50%; background: var(--fs-green-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%231a8a50' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 32px no-repeat;
}
html body.fs-interview .thank-you-message span { display: block; max-width: 44ch; margin: var(--fs-space-3) auto 0; color: var(--fs-text-muted) !important; font-size: 1rem !important; font-weight: 500 !important; line-height: 1.5; }
html body.fs-interview .thank-you-message > br { display: none; }
/* The finish screen's note about My Forms > Your documents (js/my-documents.js). */
html body.fs-interview .fs-docs-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--fs-space-3); max-width: 34rem; margin: var(--fs-space-5) auto 0; padding: var(--fs-space-4) var(--fs-space-5); border: 1px solid var(--fs-border); border-radius: var(--fs-radius-sm); background: var(--fs-gray-50); text-align: center; }
html body.fs-interview .fs-docs-note[hidden] { display: none; }
html body.fs-interview .fs-docs-note__text { margin: 0; flex: 1 1 100%; color: var(--fs-navy-900); font-size: 1rem; font-weight: 600; line-height: 1.5; }
html body.fs-interview .fs-docs-note__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--fs-space-2); }
html body.fs-interview .fs-docs-note--done { border-color: #a7d7b8; background: #eefaf2; }
html body.fs-interview .fs-docs-note--done .fs-docs-note__text::before { content: "\2713  "; color: #16803c; }
html body.fs-interview .fs-docs-note--error { border-color: #f1b4b4; background: #fdf1f1; }
html body.fs-interview .fs-docs-note--busy .fs-docs-note__text { color: var(--fs-text-muted); font-weight: 500; }
html body.fs-interview #pdfDevTools { display: grid !important; gap: var(--fs-space-3); max-width: 360px; margin: var(--fs-space-8) auto 0; }
html body.fs-interview #pdfDevTools br { display: none; }
html body.fs-interview #pdfDevTools button { width: 100%; min-height: 52px; margin: 0 !important; border-radius: 12px !important; font-size: 1rem !important; font-weight: 650 !important; cursor: pointer; }
html body.fs-interview #downloadPdfBtn { border: 0 !important; background: var(--fs-blue-600) !important; color: var(--fs-white) !important; box-shadow: 0 2px 6px rgba(29, 91, 219, 0.28) !important; }
html body.fs-interview #downloadPdfBtn:hover { background: var(--fs-blue-700) !important; }
html body.fs-interview #previewPdfsBtn, html body.fs-interview #backFromThankYouBtn, html body.fs-interview #restartFormBtn { border: 1.5px solid var(--fs-gray-300) !important; background: var(--fs-white) !important; color: var(--fs-navy-900) !important; }
html body.fs-interview #previewPdfsBtn:hover, html body.fs-interview #backFromThankYouBtn:hover, html body.fs-interview #restartFormBtn:hover { border-color: var(--fs-gray-400) !important; background: var(--fs-gray-50) !important; }

/* Quick exit on safety interviews (scripts/sync-layout.js) ------------------- */
.fs-quick-exit { position: fixed; right: 16px; bottom: 16px; z-index: 10050; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--fs-red-700); color: var(--fs-white) !important; font: 700 1rem/1 var(--fs-font); text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.fs-quick-exit:hover { background: #911c13; }

/* Phones --------------------------------------------------------------------- */
@media (max-width: 640px) {
  .fs-interview-head { padding: var(--fs-space-6) 0 96px !important; }
  html body.fs-interview #questions { padding: 0 10px var(--fs-space-10) !important; }
  html body.fs-interview #box { margin-top: -72px !important; border-radius: 16px !important; }
  .fs-progress { padding: var(--fs-space-4) var(--fs-space-5) var(--fs-space-4); }
  html body.fs-interview .section-form-card, html body.fs-interview.form-style-question #customForm > .section { padding: var(--fs-space-6) var(--fs-space-5) 0 !important; }
  html body.fs-interview .question-container { padding: var(--fs-space-5) 0 !important; }
  html body.fs-interview #box input, html body.fs-interview #box select, html body.fs-interview .text-input-container, html body.fs-interview .entry-container { max-width: none !important; }
  html body.fs-interview .entry-container { padding: var(--fs-space-4) !important; }
  /* Back and Next stay in reach while a long section scrolls */
  html body.fs-interview .question-nav {
    position: sticky; bottom: 0; z-index: 5; margin: 0 calc(-1 * var(--fs-space-5)) !important;
    padding: var(--fs-space-3) var(--fs-space-5) calc(var(--fs-space-3) + env(safe-area-inset-bottom)) !important;
    border-radius: 0 0 16px 16px; box-shadow: 0 -8px 20px rgba(11, 36, 71, 0.08);
  }
  html body.fs-interview .question-nav-btn { flex: 1 1 0; min-width: 0 !important; }
  html body.fs-interview .question-nav-btn.question-prev:disabled { display: none !important; }
  html body.fs-interview .thank-you-message { padding: var(--fs-space-8) var(--fs-space-5) !important; }
  /* Above the Back and Next bar, clear of the header's menu button */
  .fs-quick-exit { right: 12px; bottom: calc(88px + env(safe-area-inset-bottom)); min-height: 44px; padding: 0 16px; font-size: 0.95rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
}

/* The Ctrl+` test fill's note (js/interview.js) */
#fs-test-toast { position: fixed; left: 50%; bottom: 24px; z-index: 10060; transform: translate(-50%, 12px); padding: 10px 16px; border-radius: 10px; background: var(--fs-navy-900); color: var(--fs-white); font: 600 0.875rem/1.3 var(--fs-font); box-shadow: var(--fs-shadow-lg); opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s; }
#fs-test-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
