/* ============================================================
   FastLocations Prospect Briefing - EDO intake wizard
   Tokens, masthead, cards and fields follow StayOrGrow/intake.html
   and Projects/site_selection_intake.html so the three tools match.
   ============================================================ */
:root {
  --fl-blue: #123f7a; --fl-blue-hover: #0c2b56; --fl-blue-soft: #eaf1f9; --fl-blue-border: #c9dcf0;
  --fl-red: #d32323; --fl-red-hover: #b01919; --fl-teal: #0e7c86; --gold: #c9921f;
  --ink: #0f172a; --ink-secondary: #334155; --muted: #64748b; --muted-light: #94a3b8;
  --line: #e2e8f0; --line-soft: #f1f5f9; --field-bg: #f8fafc; --field-border: #cbd5e1; --bg: #f1f5f9; --card-bg: #fff;
  --ok: #15803d; --ok-tint: #f0fdf4; --warn: #b45309; --warn-tint: #fefce8; --bad: #d32323; --bad-tint: #fef2f2;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --shadow-card: 0 10px 30px -10px rgba(15,23,42,.08), 0 4px 6px -2px rgba(15,23,42,.04);
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 9999px;
  --sans: 'Inter', system-ui, -apple-system, sans-serif; --serif: 'DM Serif Display', Georgia, serif;
  --head: 'Plus Jakarta Sans', var(--sans); --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
p { margin: 0; }
a { color: var(--fl-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---- masthead ---- */
.masthead { background: radial-gradient(circle at 80% 20%, #1d5cae 0%, #10375f 100%); color: #fff; padding: 56px 24px 110px; position: relative; overflow: hidden; }
.masthead::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0); background-size: 24px 24px; pointer-events: none; }
.masthead .wrap { max-width: 960px; margin: 0 auto; position: relative; z-index: 1; }
.masthead .eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #bfdbfe; background: rgba(255,255,255,.1); padding: 4px 12px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.15); margin: 0 0 16px; }
.masthead h1 { font-size: clamp(32px, 4.5vw, 44px); margin: 0 0 14px; line-height: 1.15; color: #fff; font-family: var(--serif); font-weight: 400; }
.masthead h1 em { font-style: italic; color: #93c5fd; }
.masthead p { font-size: 16px; line-height: 1.6; color: #e2e8f0; max-width: 680px; }
.masthead .meta { margin-top: 20px; font-size: 13px; font-weight: 500; color: #bfdbfe; display: flex; gap: 12px; flex-wrap: wrap; }
.masthead .meta span { background: rgba(255,255,255,.1); padding: 4px 12px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.15); }

/* ---- progress ---- */
.fl-wrap { max-width: 960px; margin: 0 auto 80px; padding: 0 20px; position: relative; z-index: 2; }
.fl-prog { position: sticky; top: 68px; z-index: 40; max-width: 960px; margin: -38px auto 28px; padding: 0 20px; }
.fl-prog-in { display: flex; align-items: center; gap: 16px; padding: 10px 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 8px 24px -12px rgba(15,23,42,.15); }
.fl-steps { display: flex; gap: 6px; }
.fl-steps button { height: 28px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card-bg); color: var(--muted); font-size: 12px; font-weight: 700; transition: all .15s; }
.fl-steps button.is-now { background: var(--fl-blue); border-color: var(--fl-blue); color: #fff; }
.fl-steps button.is-done { color: var(--fl-blue); border-color: var(--fl-blue-border); background: var(--fl-blue-soft); }
.fl-steps button:disabled { opacity: .45; cursor: not-allowed; }
.fl-prog-track { flex: 1; height: 6px; background: #e2e8f0; border-radius: var(--r-pill); overflow: hidden; }
.fl-prog-fill { height: 100%; background: var(--fl-blue); border-radius: var(--r-pill); transition: width .3s; }
.fl-prog-label { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* ---- cards & steps ---- */
.fl-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 24px; }
.fl-step { display: none; }
.fl-step.is-on { display: block; animation: flIn .25s ease; }
@keyframes flIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fl-step-head { padding: 30px 34px 18px; border-bottom: 1px solid var(--line-soft); }
.fl-step-headline { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.fl-step-n { font-family: var(--head); font-size: 14px; font-weight: 700; color: var(--fl-blue); background: var(--fl-blue-soft); border: 1px solid var(--fl-blue-border); border-radius: var(--r-sm); width: 32px; height: 32px; display: grid; place-items: center; flex: none; }
.fl-step-head h2 { font-size: 21px; }
.fl-why { color: var(--muted); font-size: 13.5px; margin-left: 46px; max-width: 68ch; }
.fl-step-body { padding: 26px 34px 30px; }
.fl-sec { margin: 0 0 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.fl-sec:first-child { border-top: 0; padding-top: 0; }
.fl-sec h3 { font-size: 15px; margin-bottom: 4px; }
.fl-sec .fl-hint { margin-bottom: 14px; }
.fl-opt-tag { display: inline-block; margin-left: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px 8px; vertical-align: middle; }

.fl-f { margin-bottom: 20px; }
.fl-f:last-child { margin-bottom: 0; }
.fl-lab { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink-secondary); margin-bottom: 6px; }
.fl-lab .u { font-weight: 400; color: var(--muted-light); }
.fl-hint { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; max-width: 72ch; line-height: 1.45; }
.fl-in, .fl-sel, .fl-ta { width: 100%; padding: 10px 14px; border: 1px solid var(--field-border); border-radius: var(--r-sm); background: var(--field-bg); font-family: inherit; font-size: 14px; color: var(--ink); transition: all .15s; }
.fl-ta { min-height: 96px; resize: vertical; line-height: 1.5; }
.fl-in:hover, .fl-sel:hover, .fl-ta:hover { background: #fff; border-color: #94a3b8; }
.fl-in:focus, .fl-sel:focus, .fl-ta:focus { outline: none; border-color: var(--fl-blue); background: #fff; box-shadow: 0 0 0 3px rgba(24,82,157,.14); }
.fl-in[type=number], .fl-in.mono { font-family: var(--mono); }
.fl-in.is-bad { border-color: var(--bad); background: var(--bad-tint); }
.fl-err { display: none; color: var(--bad); font-size: 12.5px; margin-top: 6px; font-weight: 600; }
.fl-err.is-on { display: block; }
.fl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-bottom: 20px; }
.fl-grid.c3 { grid-template-columns: 1fr 1fr 1fr; }
.fl-grid:last-child { margin-bottom: 0; }
.fl-grid > .fl-f { display: flex; flex-direction: column; margin-bottom: 0; }
.fl-grid > .fl-f > .fl-in, .fl-grid > .fl-f > .fl-sel, .fl-grid > .fl-f > .fl-suffix, .fl-grid > .fl-f > .fl-join { margin-top: auto; }
.fl-suffix { position: relative; }
.fl-suffix .fl-unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12.5px; font-family: var(--mono); pointer-events: none; }
.fl-suffix .fl-in { padding-right: 64px; }
.fl-join { display: flex; gap: 8px; }
.fl-join .fl-in { flex: 1; }
.fl-join .fl-sel { width: auto; flex: 0 0 110px; }
.fl-cond { display: none; }
.fl-cond.is-on { display: block; }

.fl-choices { display: grid; gap: 10px; }
.fl-choices.c3 { grid-template-columns: repeat(3, 1fr); }
.fl-choice { position: relative; display: block; border: 1px solid var(--field-border); border-radius: var(--r-sm); padding: 12px 14px; cursor: pointer; transition: all .15s; background: var(--field-bg); }
.fl-choice:hover { border-color: #94a3b8; background: #fff; }
.fl-choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.fl-choice-t { font-weight: 600; font-size: 14px; display: block; }
.fl-choice-d { color: var(--muted); font-size: 12px; display: block; margin-top: 2px; line-height: 1.35; }
.fl-choice:has(input:checked) { border-color: var(--fl-blue); background: var(--fl-blue-soft); box-shadow: 0 0 0 1px var(--fl-blue) inset; }

.fl-check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer; }
.fl-check:hover { background: var(--fl-blue-soft); }
.fl-check input { margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--fl-blue); flex-shrink: 0; }
.fl-check-t { font-size: 14px; font-weight: 500; color: var(--ink-secondary); }
.fl-check-d { color: var(--muted); font-size: 12px; display: block; margin-top: 2px; line-height: 1.4; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--field-border); border-radius: var(--r-pill); background: var(--field-bg); font-size: 13px; font-weight: 500; color: var(--ink-secondary); cursor: pointer; user-select: none; transition: all .12s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--fl-blue-border); background: var(--fl-blue-soft); }
.chip:has(input:checked) { background: var(--fl-blue); border-color: var(--fl-blue); color: #fff; }
.chip .ord { display: none; font-family: var(--mono); font-size: 11px; font-weight: 700; background: rgba(255,255,255,.25); border-radius: 50%; width: 18px; height: 18px; line-height: 18px; text-align: center; }
.chip:has(input:checked) .ord { display: inline-block; }
.chip .d { display: none; }

/* org picker */
.picker { display: grid; grid-template-columns: 1fr 220px; gap: 12px; }
.picker select[size] { grid-column: 1 / -1; font-family: inherit; height: 200px; }
.picked { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--fl-blue-border); background: var(--fl-blue-soft); border-radius: var(--r-md); margin-top: 14px; }
.picked .cat { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fl-blue); }
.picked .nm { font-weight: 700; font-size: 16px; }
.picked .sub { font-size: 13px; color: var(--muted); }
.picked .sp { flex: 1; }
.badge { display: inline-block; font-family: var(--mono); font-size: 11px; padding: 2px 8px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--muted); }
.badge.ok { color: var(--ok); background: var(--ok-tint); border-color: #bbf7d0; }
.badge.warn { color: var(--warn); background: var(--warn-tint); border-color: #fde68a; }

/* logo picker */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.logo-opt { border: 1px solid var(--field-border); border-radius: var(--r-md); background: #fff; padding: 10px; cursor: pointer; text-align: center; transition: all .12s; }
.logo-opt:hover { border-color: var(--fl-blue-border); }
.logo-opt.is-on { border-color: var(--fl-blue); box-shadow: 0 0 0 2px var(--fl-blue-soft), 0 0 0 1px var(--fl-blue) inset; }
.logo-opt .img { height: 70px; display: grid; place-items: center; background: repeating-conic-gradient(#f8fafc 0 25%, #fff 0 50%) 0 0 / 16px 16px; border-radius: 6px; overflow: hidden; }
.logo-opt img { max-width: 100%; max-height: 64px; object-fit: contain; }
.logo-opt .l { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.logo-opt.is-broken { opacity: .35; pointer-events: none; }
.logo-preview { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--r-md); }
.logo-preview img { max-height: 56px; max-width: 220px; object-fit: contain; }
.logo-preview .no { color: var(--muted); font-size: 13px; }

/* incentives & sites lists */
.inc-list { display: grid; gap: 6px; }
.inc-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.inc-row input { margin-top: 3px; accent-color: var(--fl-blue); }
.inc-row .nm { font-weight: 600; font-size: 13.5px; }
.inc-row .ty { font-family: var(--mono); font-size: 11px; color: var(--fl-teal); margin-left: 8px; }
.inc-row .why { font-size: 12px; color: var(--muted); }
.inc-row .why b { color: var(--gold); font-weight: 600; }
.site-results { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-sm); margin-top: 8px; background: #fff; }
.site-results:empty { display: none; }
.site-res { padding: 9px 12px; border-bottom: 1px solid var(--line-soft); cursor: pointer; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.site-res:hover { background: var(--fl-blue-soft); }
.site-res .nm { font-weight: 600; flex: 1; }
.site-res .sz { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.site-chosen { display: grid; gap: 8px; margin-top: 12px; }
.site-card { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--fl-blue-border); background: var(--fl-blue-soft); border-radius: var(--r-sm); font-size: 13px; }
.site-card .nm { font-weight: 700; }
.site-card .sub { color: var(--muted); font-size: 12px; }
.site-card .sp { flex: 1; }
.x { background: none; border: 0; color: var(--muted); font-size: 18px; line-height: 1; padding: 2px 6px; }
.x:hover { color: var(--bad); }
.steps-list input { margin-bottom: 8px; }

/* nav row & buttons */
.fl-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 34px; border-top: 1px solid var(--line-soft); background: #fafbfc; }
.fl-btn { font-family: inherit; font-size: 14.5px; font-weight: 600; border: none; border-radius: var(--r-pill); padding: 12px 24px; transition: all .18s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.fl-btn:hover { text-decoration: none; }
.fl-btn-p { color: #fff; background: linear-gradient(135deg, var(--fl-red) 0%, var(--fl-red-hover) 100%); box-shadow: 0 4px 14px rgba(211,35,35,.35); }
.fl-btn-p:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(211,35,35,.45); }
.fl-btn-p:disabled { background: var(--muted-light); box-shadow: none; transform: none; cursor: not-allowed; }
.fl-btn-s { background: var(--fl-blue-soft); color: var(--fl-blue); }
.fl-btn-s:hover { background: #e2eaf5; }
.fl-btn-o { background: #fff; color: var(--fl-blue); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fl-btn-o:hover { background: var(--fl-blue-soft); border-color: var(--fl-blue-border); }
.fl-btn-sm { padding: 8px 14px; font-size: 13px; }
.fl-btn-blue { background: var(--fl-blue); color: #fff; }
.fl-btn-blue:hover { background: var(--fl-blue-hover); }
.fl-status { font-size: 13px; color: var(--muted); }
.fl-status.bad { color: var(--bad); font-weight: 600; }
.fl-status.ok { color: var(--ok); font-weight: 600; }

/* result */
.result-hero { padding: 34px; text-align: center; background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%); border-bottom: 1px solid var(--line-soft); }
.result-hero .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; font-size: 26px; }
.result-hero h2 { font-size: 24px; margin-bottom: 6px; }
.linkbox { display: grid; gap: 14px; }
.linkrow { display: grid; grid-template-columns: 130px 1fr auto; gap: 10px; align-items: center; }
.linkrow .l { font-weight: 600; font-size: 13px; color: var(--ink-secondary); }
.linkrow .l small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; }
.linkrow input { font-family: var(--mono); font-size: 12.5px; }
.note { background: var(--fl-blue-soft); border-left: 3px solid var(--fl-blue); padding: 12px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 13.5px; color: var(--ink-secondary); margin-top: 18px; }
.note.warn { background: var(--warn-tint); border-left-color: var(--warn); }
.draft { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 14px; min-height: 18px; }
.foot { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 30px; }
.foot .disc { max-width: 760px; margin: 0 auto 10px; font-size: 11.5px; line-height: 1.6; }

@media (max-width: 720px) {
  .fl-grid, .fl-grid.c3, .fl-choices.c3 { grid-template-columns: 1fr; }
  .fl-step-head, .fl-step-body, .fl-nav { padding-left: 18px; padding-right: 18px; }
  .fl-why { margin-left: 0; }
  .picker { grid-template-columns: 1fr; }
  .linkrow { grid-template-columns: 1fr; }
  .fl-prog { top: 60px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* "Forgot your access code?" */
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--fl-blue); font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--fl-blue-hover); }
.forgot { margin-top: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fafbfc; position: relative; }
.forgot h4 { font-size: 15px; margin-bottom: 6px; }
.fgdone { font-size: 14px; color: var(--ink-secondary); line-height: 1.6; }
.fgdone b { color: var(--ink); }
/* light (white) logos: shown on dark so they can be seen */
.logo-opt.on-dark .img { background: #0B1F3A; }
.logo-preview .pv { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 8px; }
.logo-preview .pv.on-dark { background: #0B1F3A; }
.logo-note { grid-column: 1 / -1; background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--r-md); padding: 10px 14px; font-size: 13px; line-height: 1.5; color: #713f12; }
.logo-note a { color: inherit; font-weight: 600; text-decoration: underline; }
