/* ============================================================
   navesta-seller-funnel.css — the public Seller Funnel.
   Navesta's own visual system (tokens.css, navesta-account.css), lighter:
   one focused column, one question at a time, phone first.
   ============================================================ */
.funnel-header { border-bottom: 1px solid var(--border); background: var(--bg-card); }
.funnel-header__inner { max-width: 760px; margin: 0 auto; padding: var(--space-3) var(--space-5); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 56px; }
.funnel-header__account { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--text); text-decoration: none; padding: var(--space-2) 0; }
.funnel-header__account:hover { text-decoration: underline; }

.funnel-main { max-width: 560px; margin: 0 auto; padding: var(--space-8) var(--space-5) var(--space-16); outline: none; }
.funnel-view > * + * { margin-top: var(--space-6); }
.funnel-step, .funnel-result { display: grid; gap: var(--space-4); min-width: 0; }
.funnel-title { font-family: var(--font-serif); font-weight: 500; font-size: var(--text-3xl, 2rem); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); outline: none; }
.funnel-lede { color: var(--text-secondary); font-size: var(--text-lg); }
.funnel-progress { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--text-secondary); }

.funnel-form { display: grid; gap: var(--space-4); }
.funnel-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-4); min-width: 0; }
.funnel-legend { font-weight: var(--weight-semibold); padding: 0; margin-bottom: var(--space-1); }
.funnel-pair { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-3); }
.funnel-form input[type="text"] { width: 100%; min-height: 48px; font-size: 16px; }
.funnel-cta { min-height: 52px; justify-content: center; font-size: var(--text-base); }
.funnel-add-unit { justify-self: start; min-height: 44px; margin: calc(var(--space-3) * -1) 0; font-size: var(--text-sm); }
.funnel-form [hidden] { display: none; }
.funnel-form > .funnel-cta, .funnel-save > .funnel-cta { width: 100%; }
.funnel-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.funnel-actions .funnel-cta { flex: 1 1 auto; }
.funnel-for { padding-top: var(--space-4); border-top: 1px solid var(--border); }

/* The home, as the person described it. */
.funnel-home { display: grid; gap: 2px; }
.funnel-home__street { font-weight: var(--weight-semibold); overflow-wrap: anywhere; }
.funnel-home__kind { color: var(--text-secondary); }

/* The answer: proceeds at closing, then cash after sale. */
.funnel-result__top { display: grid; gap: var(--space-5); min-width: 0; }
.funnel-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; margin-top: var(--space-2); }
.funnel-figure { min-width: 0; display: grid; gap: 2px; }
.funnel-figure__value { font-family: var(--font-serif); font-size: var(--text-2xl); line-height: 1.15; overflow-wrap: anywhere; }
.funnel-figure__value.is-incomplete, .funnel-result .sp-answer__value.is-incomplete { font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--text-secondary); }
.funnel-result .sp-answer__value { overflow-wrap: anywhere; }
.funnel-section { display: grid; gap: var(--space-2); min-width: 0; }
.funnel-edits { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.funnel-more__body { display: grid; gap: var(--space-4); }

/* Saving is the person's choice — offered once, plainly. */
.funnel-save { display: grid; gap: var(--space-2); padding-top: var(--space-5); border-top: 1px solid var(--border-hover); }
.funnel-save__state { font-weight: var(--weight-semibold); }
.funnel-save__state.is-saved::before { content: '✓ '; }
.funnel-prompt { display: grid; gap: var(--space-3); }
/* The professional's affiliation, wherever the page names them — quiet, never the brand. */
.funnel-affiliation { margin: 0; }
.pp-help .funnel-affiliation { margin-top: calc(var(--space-1) * -1); }
.funnel-prompt__title { font-family: var(--font-serif); font-weight: 500; font-size: var(--text-xl); outline: none; }
.funnel-plans .row { align-items: flex-start; }

@media (min-width: 720px) {
  .funnel-main { padding-top: var(--space-12); }
  .funnel-result { max-width: 560px; }
}
@media (max-width: 420px) {
  .funnel-main { padding: var(--space-5) var(--space-4) var(--space-12); }
  .funnel-title { font-size: var(--text-2xl); }
  .funnel-lede { font-size: var(--text-base); }
  .funnel-step, .funnel-result { gap: var(--space-3); }
  .funnel-form { gap: var(--space-3); }
  .funnel-fieldset { gap: var(--space-3); }
  /* Phones: the three fields and the button come first; the notes follow the button. */
  .funnel-form--start > .funnel-state, .funnel-form--start > .funnel-note { order: 2; }
  /* Phones: the two figures one under the other, each label beside its figure. */
  .funnel-figures { grid-template-columns: 1fr; gap: var(--space-2); }
  .funnel-figure { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: var(--space-3); }
  .funnel-figure__value { font-size: var(--text-xl); text-align: right; }
  .funnel-result .sp-answer__value { font-size: var(--text-2xl); text-align: right; }
  .funnel-edits .btn { flex: 1 1 100%; justify-content: center; }
}
