:root{color-scheme:dark;--bg:#07101f;--panel:#0d182b;--panel2:#111f35;--text:#f3f7ff;--muted:#aab8cd;--line:#26364f;--accent:#5ea1ff;--good:#57d68d;--warn:#ffc76b}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 15% 0,#132b50 0,transparent 34%),var(--bg);color:var(--text);font:16px/1.55 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.fxv-shell{width:min(1080px,calc(100% - 32px));margin:auto}.fxv-top{display:flex;align-items:center;justify-content:space-between;padding:20px 0}.fxv-logo{width:158px;height:auto}.fxv-nav{display:flex;gap:16px;align-items:center}.fxv-nav a,.fxv-link{color:#cfe1ff;text-decoration:none}.fxv-hero{padding:58px 0 28px}.fxv-kicker{font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8ebcff;font-size:.78rem}.fxv-hero h1{font-size:clamp(2.2rem,6vw,4.4rem);line-height:1.02;max-width:850px;margin:12px 0 18px}.fxv-hero p{font-size:1.12rem;color:var(--muted);max-width:760px}.fxv-trust{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.fxv-chip{border:1px solid var(--line);background:#0a1527;border-radius:999px;padding:7px 11px;color:#cbd8eb;font-size:.88rem}.fxv-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.fxv-card{background:linear-gradient(180deg,rgba(17,31,53,.96),rgba(9,20,37,.96));border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 18px 60px rgba(0,0,0,.18)}.fxv-card h2,.fxv-card h3{margin-top:0}.fxv-field{margin:16px 0}.fxv-field label{display:block;font-weight:750;margin-bottom:7px}.fxv-field select,.fxv-field input{width:100%;background:#071426;color:var(--text);border:1px solid #334968;border-radius:12px;padding:12px 13px;font:inherit}.fxv-button{appearance:none;border:0;border-radius:12px;padding:13px 18px;font-weight:850;cursor:pointer;background:linear-gradient(135deg,#438eff,#76b5ff);color:#031126;text-decoration:none;display:inline-flex;justify-content:center;align-items:center}.fxv-button.secondary{background:#13233a;color:#e8f1ff;border:1px solid #355174}.fxv-button[disabled]{opacity:.5;cursor:not-allowed}.fxv-upload{border:1px dashed #42638d;border-radius:16px;padding:22px;text-align:center;background:#08162a}.fxv-upload input{margin-top:12px}.fxv-files{display:grid;gap:10px;margin-top:14px}.fxv-file{display:grid;grid-template-columns:1fr auto;gap:8px;border:1px solid var(--line);border-radius:12px;padding:12px;background:#0a1729}.fxv-file small{color:var(--muted)}.fxv-status{font-weight:850}.fxv-status.good{color:var(--good)}.fxv-status.warn{color:var(--warn)}.fxv-checks{display:grid;gap:10px;padding:0;list-style:none}.fxv-checks li{padding:12px;border:1px solid var(--line);border-radius:12px;background:#0a1729}.fxv-note{font-size:.9rem;color:var(--muted)}.fxv-result{margin-top:18px}.fxv-result[hidden]{display:none}.fxv-source{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line)}.fxv-source a{color:#9cc5ff}.fxv-guides{padding:34px 0 64px}.fxv-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.fxv-guide{border:1px solid var(--line);border-radius:16px;padding:18px;background:#0b182a;color:inherit;text-decoration:none}.fxv-guide p{color:var(--muted);margin-bottom:0}.fxv-disclaimer{margin:26px 0 60px;padding:18px;border-left:3px solid #55749b;background:#0b1728;color:#b8c6d8}.fxv-footer{border-top:1px solid var(--line);padding:28px 0 40px;color:var(--muted);font-size:.9rem}.fxv-article{max-width:820px;padding:48px 0 70px}.fxv-article h1{font-size:clamp(2.1rem,5vw,3.6rem);line-height:1.05}.fxv-article h2{margin-top:34px}.fxv-article p,.fxv-article li{color:#c3cede}.fxv-cta{margin:30px 0;padding:22px;border:1px solid #36577e;border-radius:18px;background:#10223c}@media(max-width:760px){.fxv-grid,.fxv-guide-grid{grid-template-columns:1fr}.fxv-nav{display:none}.fxv-hero{padding-top:35px}.fxv-card{padding:18px}}

.fxv-unlock{margin-top:16px;padding:18px;border:1px solid #42638d;border-radius:16px;background:#081a30}.fxv-share-row{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.fxv-unlock strong{font-size:1.05rem}#fullReport{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}@media(max-width:560px){.fxv-share-row .fxv-button{width:100%}}

.fxv-journey{margin:24px 0}.fxv-progress{height:12px;background:#132743;border-radius:999px;overflow:hidden;margin-top:14px}.fxv-progress-bar{height:100%;width:0;background:linear-gradient(90deg,#3478f6,#6aa5ff);transition:width .35s ease}.fxv-journey input[type=date]{width:100%;box-sizing:border-box;padding:12px;border-radius:10px;border:1px solid #385573;background:#07152f;color:#fff}
.fxv-local-vault{margin-top:24px}.fxv-vault-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid rgba(120,150,190,.22)}.fxv-vault-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.fxv-mini{appearance:none;border:1px solid #385573;border-radius:999px;padding:7px 11px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.fxv-local-vault button.fxv-link{background:none;border:0;cursor:pointer}@media(max-width:700px){.fxv-vault-row{align-items:flex-start;flex-direction:column}.fxv-vault-actions{justify-content:flex-start}}

.fxv-lang{display:flex;gap:6px;align-items:center}.fxv-lang a{padding:5px 8px;border-radius:8px;text-decoration:none}.fxv-lang a[aria-current="page"]{font-weight:700;background:rgba(127,127,127,.12)}

/* V7 — align Visa funnel with FilexFlow production UI */
html,body{min-height:100%}body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.fxv-page{width:min(1440px,calc(100% - 32px));margin:0 auto;padding:18px 0 36px}.fxv-header{margin:0;border-radius:22px}.fxv-header .logo-block{display:flex;align-items:center;flex:0 0 auto;min-width:0}.fxv-header .logo-image{width:158px;height:auto;object-fit:contain}.fxv-subnav{margin:12px 0 18px}.fxv-main{display:flex;flex-direction:column;gap:18px}.fxv-main>.fxv-hero,.fxv-main>.fxv-grid,.fxv-main>.fxv-card,.fxv-main>.fxv-guides,.fxv-main>.fxv-disclaimer{width:100%;margin:0}.fxv-hero{padding:42px 48px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(135deg,rgba(8,24,55,.96),rgba(3,10,28,.98) 60%,rgba(28,10,67,.65));overflow:hidden}.fxv-hero h1{max-width:920px;font-size:clamp(3rem,5.2vw,5.4rem);letter-spacing:-.055em}.fxv-card{border-radius:24px;background:rgba(7,16,35,.72);box-shadow:none}.fxv-grid{gap:18px}.fxv-button{border-radius:14px;background:#2563eb;color:#fff}.fxv-button.secondary{background:rgba(8,20,43,.76);color:#f8fafc;border:1px solid rgba(148,163,184,.24)}.fxv-field select,.fxv-field input{background:rgba(8,20,43,.76);border-color:rgba(148,163,184,.24)}.fxv-upload,.fxv-file,.fxv-checks li,.fxv-guide{background:rgba(8,20,43,.62);border-color:rgba(148,163,184,.2)}.fxv-guides{padding:28px 32px;border:1px solid var(--line);border-radius:24px;background:rgba(7,16,35,.62)}.fxv-disclaimer{border:1px solid rgba(148,163,184,.18);border-left:3px solid #55749b;border-radius:16px}.fxv-lang{display:none}
body[data-theme="light"] .fxv-hero,body[data-theme="light"] .fxv-card,body[data-theme="light"] .fxv-guides{background:#fff;border-color:#d9e2ef}body[data-theme="light"] .fxv-hero h1,body[data-theme="light"] .fxv-card h2,body[data-theme="light"] .fxv-card h3,body[data-theme="light"] .fxv-guides h2{color:#0f172a}body[data-theme="light"] .fxv-hero p,body[data-theme="light"] .fxv-note,body[data-theme="light"] .fxv-guide p{color:#526079}body[data-theme="light"] .fxv-field select,body[data-theme="light"] .fxv-field input,body[data-theme="light"] .fxv-upload,body[data-theme="light"] .fxv-file,body[data-theme="light"] .fxv-checks li,body[data-theme="light"] .fxv-guide{background:#f8fbff;color:#0f172a;border-color:#d9e2ef}body[data-theme="light"] .fxv-button.secondary{background:#f8fbff;color:#0f172a;border-color:#d9e2ef}
@media(max-width:760px){.fxv-page{width:calc(100% - 20px);padding-top:10px}.fxv-hero{padding:26px 18px}.fxv-hero h1{font-size:clamp(2.5rem,12vw,4rem)}.fxv-grid{grid-template-columns:1fr}.fxv-guides{padding:24px 18px}.fxv-header .logo-image{width:140px}}


/* V7.1 — comprehensive FilexFlow light-theme contrast pass */
html[data-theme="light"] body,
body[data-theme="light"]{
  --bg:#f5f8fc;
  --panel:#ffffff;
  --panel2:#f8fbff;
  --text:#0f172a;
  --muted:#526079;
  --line:#d9e2ef;
  --accent:#2563eb;
  --good:#16784a;
  --warn:#9a5a00;
  color:#0f172a;
  background:#f5f8fc;
}

html[data-theme="light"] .fxv-hero,
html[data-theme="light"] .fxv-card,
html[data-theme="light"] .fxv-guides,
body[data-theme="light"] .fxv-hero,
body[data-theme="light"] .fxv-card,
body[data-theme="light"] .fxv-guides{
  background:#ffffff;
  border-color:#d9e2ef;
  color:#0f172a;
}

html[data-theme="light"] .fxv-hero h1,
html[data-theme="light"] .fxv-card h1,
html[data-theme="light"] .fxv-card h2,
html[data-theme="light"] .fxv-card h3,
html[data-theme="light"] .fxv-guides h2,
html[data-theme="light"] .fxv-guides h3,
html[data-theme="light"] .fxv-field label,
html[data-theme="light"] .fxv-vault-row strong,
html[data-theme="light"] .fxv-status,
body[data-theme="light"] .fxv-hero h1,
body[data-theme="light"] .fxv-card h1,
body[data-theme="light"] .fxv-card h2,
body[data-theme="light"] .fxv-card h3,
body[data-theme="light"] .fxv-guides h2,
body[data-theme="light"] .fxv-guides h3,
body[data-theme="light"] .fxv-field label,
body[data-theme="light"] .fxv-vault-row strong,
body[data-theme="light"] .fxv-status{
  color:#0f172a;
}

html[data-theme="light"] .fxv-hero p,
html[data-theme="light"] .fxv-note,
html[data-theme="light"] .fxv-guide p,
html[data-theme="light"] .fxv-file small,
html[data-theme="light"] .fxv-footer,
html[data-theme="light"] .fxv-article p,
html[data-theme="light"] .fxv-article li,
html[data-theme="light"] .fxv-vault-row small,
body[data-theme="light"] .fxv-hero p,
body[data-theme="light"] .fxv-note,
body[data-theme="light"] .fxv-guide p,
body[data-theme="light"] .fxv-file small,
body[data-theme="light"] .fxv-footer,
body[data-theme="light"] .fxv-article p,
body[data-theme="light"] .fxv-article li,
body[data-theme="light"] .fxv-vault-row small{
  color:#526079;
}

html[data-theme="light"] .fxv-kicker,
body[data-theme="light"] .fxv-kicker{
  color:#2563eb;
}

html[data-theme="light"] .fxv-field select,
html[data-theme="light"] .fxv-field input,
html[data-theme="light"] .fxv-journey input[type=date],
html[data-theme="light"] .fxv-upload,
html[data-theme="light"] .fxv-file,
html[data-theme="light"] .fxv-checks li,
html[data-theme="light"] .fxv-guide,
html[data-theme="light"] .fxv-unlock,
body[data-theme="light"] .fxv-field select,
body[data-theme="light"] .fxv-field input,
body[data-theme="light"] .fxv-journey input[type=date],
body[data-theme="light"] .fxv-upload,
body[data-theme="light"] .fxv-file,
body[data-theme="light"] .fxv-checks li,
body[data-theme="light"] .fxv-guide,
body[data-theme="light"] .fxv-unlock{
  background:#f8fbff;
  color:#0f172a;
  border-color:#d9e2ef;
}

html[data-theme="light"] .fxv-chip,
body[data-theme="light"] .fxv-chip{
  background:#eef4ff;
  border-color:#d4e2fb;
  color:#183153;
}

html[data-theme="light"] .fxv-button.secondary,
body[data-theme="light"] .fxv-button.secondary{
  background:#f8fbff;
  color:#0f172a;
  border-color:#cbd7e6;
}

html[data-theme="light"] .fxv-mini,
body[data-theme="light"] .fxv-mini{
  color:#24405f;
  border-color:#8fa6c2;
  background:#ffffff;
}
html[data-theme="light"] .fxv-mini:hover,
body[data-theme="light"] .fxv-mini:hover{
  background:#eef4ff;
  border-color:#5e7fa4;
}

html[data-theme="light"] .fxv-link,
html[data-theme="light"] .fxv-nav a,
html[data-theme="light"] .fxv-source a,
body[data-theme="light"] .fxv-link,
body[data-theme="light"] .fxv-nav a,
body[data-theme="light"] .fxv-source a{
  color:#2563eb;
}

html[data-theme="light"] .fxv-status.good,
body[data-theme="light"] .fxv-status.good{color:#16784a}
html[data-theme="light"] .fxv-status.warn,
body[data-theme="light"] .fxv-status.warn{color:#9a5a00}

html[data-theme="light"] .fxv-progress,
body[data-theme="light"] .fxv-progress{
  background:#dbe5f2;
}

html[data-theme="light"] .fxv-vault-row,
body[data-theme="light"] .fxv-vault-row{
  border-bottom-color:#d9e2ef;
}

html[data-theme="light"] .fxv-disclaimer,
body[data-theme="light"] .fxv-disclaimer{
  background:#102238;
  border-color:#243f5d;
  border-left-color:#5ea1ff;
  color:#e7eef8;
}
html[data-theme="light"] .fxv-disclaimer strong,
body[data-theme="light"] .fxv-disclaimer strong{color:#ffffff}

html[data-theme="light"] .fxv-button[disabled],
body[data-theme="light"] .fxv-button[disabled]{
  opacity:1;
  background:#edf1f6;
  color:#68768a;
  border:1px solid #d8e0ea;
}

html[data-theme="light"] .fxv-footer a,
body[data-theme="light"] .fxv-footer a{color:#334155}


/* V7.2 — Workspace funnel account actions */
.fxv-workspace-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin:18px 0 10px;
}
.fxv-workspace-actions>.fxv-button,
.fxv-account-actions>.fxv-button{
  min-height:48px;
  margin:0;
  white-space:nowrap;
}
.fxv-account-actions{
  display:inline-flex;
  align-items:stretch;
  gap:8px;
  padding:5px;
  border:1px solid rgba(94,161,255,.34);
  border-radius:17px;
  background:rgba(37,99,235,.07);
}
.fxv-account-create{
  border-color:rgba(94,161,255,.45)!important;
}
.fxv-account-signin{
  color:#9cc5ff!important;
  border-color:rgba(94,161,255,.52)!important;
  font-weight:850;
}
.fxv-account-signin:hover,
.fxv-account-create:hover{
  border-color:#5ea1ff!important;
  transform:translateY(-1px);
}
.fxv-delete-workspace{
  display:inline-flex;
  margin:2px 0 8px;
  padding:0;
  font-weight:650;
}
html[data-theme="light"] .fxv-account-actions,
body[data-theme="light"] .fxv-account-actions{
  background:#f3f7ff;
  border-color:#b8cff4;
}
html[data-theme="light"] .fxv-account-signin,
body[data-theme="light"] .fxv-account-signin{
  background:#ffffff;
  color:#1557c9!important;
  border-color:#8eb4eb!important;
}
html[data-theme="light"] .fxv-account-create,
body[data-theme="light"] .fxv-account-create{
  background:#f8fbff;
  color:#0f172a;
  border-color:#c4d4ea!important;
}
@media(max-width:820px){
  .fxv-workspace-actions{align-items:stretch}
  .fxv-account-actions{display:flex;flex:1 1 100%;width:100%}
  .fxv-account-actions>.fxv-button{flex:1 1 0;white-space:normal;text-align:center}
}
@media(max-width:560px){
  .fxv-workspace-actions>.fxv-button{width:100%}
  .fxv-account-actions{flex-direction:column}
  .fxv-account-actions>.fxv-button{width:100%}
}


/* V8 — spacing, standard pill upload, funnel retention and warning emphasis */
.fxv-main{gap:22px}
.fxv-card{padding:30px}
.fxv-card>h2{margin-bottom:22px}
.fxv-field{margin:0 0 20px}
.fxv-field+ h3,.fxv-field+h3{margin-top:26px}
.fxv-checks{margin:12px 0 16px;gap:12px}
.fxv-checks li{padding:15px 16px}
.fxv-upload{padding:30px 24px}
.fxv-upload>strong{display:block;font-size:1.08rem;margin-bottom:6px}
.fxv-upload>.fxv-note{margin:4px auto 18px;max-width:760px}
.fxv-file-picker{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.fxv-file-input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}
.fxv-file-pill{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 18px;border-radius:999px;background:#2563eb;color:#fff;font-weight:800;cursor:pointer;box-shadow:0 8px 20px rgba(37,99,235,.22);transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.fxv-file-pill:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 10px 24px rgba(37,99,235,.28)}
.fxv-file-pill:focus-within{outline:3px solid rgba(96,165,250,.35);outline-offset:2px}
.fxv-file-selection{color:var(--muted);font-size:.95rem}
.fxv-files{margin-top:18px}
#runCheck{margin-top:20px!important}
.fxv-source{margin-top:26px;padding-top:22px}
.fxv-source>strong{display:block;margin-bottom:6px}
.fxv-source a{display:inline-block;margin-top:4px}
.fxv-local-vault>p{margin:8px 0 18px}
.fxv-vault-row{padding:18px 0}
.fxv-retention-callout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin:24px 0 18px;padding:18px 20px;border:1px solid rgba(96,165,250,.38);border-radius:18px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(59,130,246,.04))}
.fxv-retention-callout strong{display:block;font-size:1.02rem;margin-bottom:4px}
.fxv-retention-callout p{margin:0;color:var(--muted)}
.fxv-alert-button{border-radius:999px;white-space:nowrap}
.fxv-alert-status{grid-column:1/-1;margin-top:-8px}
.fxv-workspace-actions{margin-top:18px;align-items:stretch}
.fxv-account-actions{align-items:stretch}
.fxv-workspace-actions>.fxv-button,.fxv-account-actions>.fxv-button{min-height:52px}
.fxv-delete-workspace{margin-top:14px}
.fxv-guides{padding-top:34px;padding-bottom:34px}
.fxv-guide-grid{margin-top:16px;gap:16px}
.fxv-guide{padding:20px}
.fxv-disclaimer{margin:0;padding:22px 24px;border:1px solid rgba(245,158,11,.38);border-left:5px solid #f59e0b;border-radius:18px;background:linear-gradient(135deg,rgba(245,158,11,.12),rgba(8,20,43,.72));color:#eef4ff;font-size:1rem;line-height:1.6;box-shadow:0 12px 30px rgba(0,0,0,.08)}
.fxv-disclaimer strong{color:#ffd98a;font-size:1.05rem}
.fxv-footer{margin-top:4px}
html[data-theme="light"] .fxv-retention-callout,body[data-theme="light"] .fxv-retention-callout{background:linear-gradient(135deg,#eff6ff,#ffffff);border-color:#bfd7ff}
html[data-theme="light"] .fxv-retention-callout p,body[data-theme="light"] .fxv-retention-callout p{color:#475569}
html[data-theme="light"] .fxv-disclaimer,body[data-theme="light"] .fxv-disclaimer{background:#fff8e8;border-color:#f4c766;border-left-color:#d97706;color:#3f2a08}
html[data-theme="light"] .fxv-disclaimer strong,body[data-theme="light"] .fxv-disclaimer strong{color:#92400e}
html[data-theme="light"] .fxv-file-selection,body[data-theme="light"] .fxv-file-selection{color:#526079}
@media(max-width:900px){.fxv-retention-callout{grid-template-columns:1fr}.fxv-alert-button{justify-self:start}.fxv-card{padding:24px}}
@media(max-width:560px){.fxv-file-picker{align-items:stretch;flex-direction:column}.fxv-file-pill{width:100%}.fxv-alert-button{width:100%}.fxv-card{padding:20px 18px}.fxv-disclaimer{padding:19px 18px}}
