.lfc-app,.lfc-app *{box-sizing:border-box}
.lfc-app{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#111827;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:100%;max-width:1320px;margin:0 auto;font-size:1.0625rem;line-height:1.52}
.lfc-wrap{border:2px solid #083141;border-radius:14px;padding:22px;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);box-shadow:0 10px 28px rgba(15,23,42,.10)}
.lfc-head{background:linear-gradient(135deg,#ecfeff 0%,#eff6ff 55%,#f8fafc 100%);border:1px solid #b8d8ec;border-radius:12px;padding:16px;margin:0 0 18px}
.lfc-eyebrow{font-size:.79rem;font-weight:900;color:#0f766e;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px}
.lfc-title{margin:0 0 10px;font-size:1.78rem;line-height:1.22;color:#083141;font-weight:900}
.lfc-sub{margin:0;color:#1e293b;font-size:1.03rem;line-height:1.52}
.lfc-section{margin:0 0 20px}
.lfc-section-panel{margin:0 0 20px;padding:16px 16px 18px;border-radius:14px;border:1px solid #b8d4e8;background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);box-shadow:0 8px 22px rgba(15,23,42,.06)}
.lfc-section-panel--inputs{border-color:#bae6fd;background:linear-gradient(180deg,#ecfeff 0%,#f8fbff 100%)}
.lfc-section-panel--scenario{border-color:#c7d2fe;background:linear-gradient(180deg,#eef2ff 0%,#f8fafc 100%);box-shadow:0 10px 26px rgba(15,23,42,.06)}
.lfc-section-panel .lfc-grid,.lfc-section-panel .lfc-table-wrap,.lfc-section-panel .lfc-bars{margin-top:12px}
.lfc-section-head{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #d8e6ef;font-size:1.02rem;font-weight:900;color:#083141;text-transform:uppercase;letter-spacing:.03em}
.lfc-section-panel .lfc-section-head{margin-bottom:14px;padding-bottom:12px;font-size:1.06rem}
.lfc-history .lfc-section-head{border-bottom-color:#fcd9bd}
.lfc-history-copy{margin:0 0 12px;font-size:.95rem;color:#1e293b;line-height:1.6}
.lfc-history-foot{margin:0;font-size:.82rem;color:#566373;font-style:italic;line-height:1.5}
.lfc-panel-sub{margin:-2px 0 12px;font-size:.875rem;line-height:1.55;color:#334155}

.lfc-section-help{margin:0 0 12px;font-size:.92rem;color:#334155;line-height:1.55}
.lfc-assumption-strip{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px;padding:12px 14px;background:linear-gradient(180deg,#f0fdf4 0%,#ecfdf5 100%);border:1px solid #86efac;border-radius:12px}

.lfc-chip{display:inline-flex;align-items:center;gap:5px;font-size:.81rem;font-weight:800;color:#14532d;padding:7px 12px;border-radius:999px;background:#fff;border:1px solid #bbf7d0;line-height:1.35}

.lfc-muted{font-size:.9rem;color:#334155;line-height:1.52}
.lfc-insight-muted{margin-top:.65em;padding-top:.65em;border-top:1px solid #bfdbfe;font-size:.9rem;color:#334155;line-height:1.52}

.lfc-mini-line{margin-top:12px;background:#fdf4ff;border:1px solid #e9d5ff;color:#581c87;border-radius:10px;padding:12px 14px;font-size:.9rem;line-height:1.55}

.lfc-jim{margin-top:18px;background:linear-gradient(145deg,#fffbeb 0%,#fef3c7 40%,#ffedd5 100%);border-color:#fcd34d;box-shadow:0 10px 28px rgba(120,53,15,.07)}

.lfc-jim-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}

.lfc-jim-badge{font-size:.73rem;font-weight:900;color:#92400e;background:#fef3c7;border:1px solid #fbbf24;border-radius:999px;padding:6px 11px;letter-spacing:.06em;text-transform:uppercase}

.lfc-section-head--jim{border-bottom-color:#fcd34d;margin-bottom:10px;text-transform:none;letter-spacing:0;font-size:1.08rem}

.lfc-jim-lead-wrap{margin:10px 0 14px}

.lfc-jim-par{margin:0 0 .75rem;font-size:.94rem;line-height:1.6;color:#422006}

.lfc-jim-par:last-child{margin-bottom:0}

.lfc-jim-impact{margin-top:8px;padding:14px 16px;border-radius:14px;border:1px solid #f59e0b;background:linear-gradient(180deg,#fff7ed 0%,#fffbeb 100%);text-align:center}

.lfc-jim-impact-kicker{margin:0 0 6px;font-size:.84rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#9a3412}

.lfc-jim-impact-years{font-size:2.05rem;line-height:1.05;font-weight:900;color:#7c2d12}

.lfc-jim-impact-sub{margin:6px 0 2px;font-size:.9rem;font-weight:700;color:#7c2d12}

.lfc-jim-impact-age{margin:0;font-size:.9rem;color:#78350f}

.lfc-jim-compare{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:12px}

.lfc-jim-compare-card{border:1px solid #fcd34d;background:#fff;border-radius:12px;padding:12px 13px}

.lfc-jim-compare-card--lift{border-color:#f59e0b;background:linear-gradient(180deg,#fff7ed 0%,#fffbeb 100%)}

.lfc-jim-compare-label{font-size:.8rem;font-weight:800;color:#78350f;line-height:1.35}

.lfc-jim-compare-value{margin-top:6px;font-size:1.5rem;line-height:1.1;font-weight:900;color:#7c2d12}

.lfc-jim-compare-gain{margin-top:8px;display:inline-block;padding:4px 9px;border-radius:999px;border:1px solid #f59e0b;background:#fff;font-size:.8rem;font-weight:900;color:#9a3412}

.lfc-jim-insight{margin-top:14px;padding:13px 15px;background:#fffaf0;border:1px solid #fde68a;border-radius:10px;font-size:.91rem;line-height:1.58;color:#713f12;display:flex;flex-direction:column;gap:.65rem}

.lfc-jim-insight-par{margin:0;line-height:inherit}

.lfc-jim-insight-muted{color:#57534e;font-weight:600;font-size:.88rem;line-height:1.5}

.lfc-jim-foot{margin:12px 0 0;font-size:.8rem;color:#57534e;font-style:italic;line-height:1.48}

.lfc-jim-case-study{margin-top:26px;padding-top:24px;border-top:2px dashed #d6d4d0}
.lfc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.lfc-field{display:flex;flex-direction:column;gap:6px;font-size:.95rem}
.lfc-field span{font-weight:700;color:#1e293b}
.lfc-input-wrap{position:relative}
.lfc-prefix{position:absolute;left:11px;top:50%;transform:translateY(-50%);font-size:.9rem;font-weight:800;color:#475569}
.lfc-suffix{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:.9rem;font-weight:800;color:#475569}
.lfc-input{border:1px solid #cbd5e1;border-radius:10px;padding:11px 12px;background:#fff;font-size:1em}
.lfc-input-wrap .lfc-input-money{padding-left:26px;width:100%}
.lfc-input-wrap .lfc-input-pct{padding-right:28px;width:100%}
.lfc-input:focus{outline:none;border-color:#083141;box-shadow:0 0 0 3px rgba(8,49,65,.15)}
/* Headline KPIs — warm latte pastels (deliberately distinct from mint-green assumption chips above) */
.lfc-kpi-shell{margin:6px 0 10px;padding:20px 18px 22px;border-radius:18px;border:2px solid #c9b298;background:linear-gradient(165deg,#fdfaf6 0%,#faf3ea 50%,#f5ebe2 100%);box-shadow:0 18px 48px rgba(91,61,43,.13)}
.lfc-kpi-shell-kicker{margin:0 0 16px;font-size:1rem;font-weight:900;color:#5a3422;letter-spacing:.12em;text-transform:uppercase;line-height:1.15;text-shadow:0 1px 0 #fff}

.lfc-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.lfc-kpi{background:linear-gradient(180deg,#fffcfa 0%,#faf5ee 100%);border:1px solid #e5d5c8;border-radius:16px;padding:15px 16px 17px;display:flex;flex-direction:column;min-height:100%}
.lfc-kpi-label{font-size:.78rem;font-weight:900;color:#6b5848;text-transform:uppercase;letter-spacing:.05em;line-height:1.35}
.lfc-kpi-value{font-size:1.38rem;font-weight:900;color:#3d2918;margin-top:8px;line-height:1.12;word-break:break-word}

.lfc-kpi--hero{grid-column:1/-1;padding:20px 20px 22px;border-width:2px;border-color:#d6ab7f;background:linear-gradient(180deg,#fff8ef 0%,#f8dfbf 45%,#fffdf9 100%);box-shadow:0 14px 36px rgba(166,118,74,.22)}
.lfc-kpi--hero .lfc-kpi-label{font-size:.82rem;color:#875533}
.lfc-kpi--hero .lfc-kpi-value{font-size:2.35rem;margin-top:10px;color:#5d3520;letter-spacing:-.02em}

.lfc-kpi--metric .lfc-kpi-value{font-size:1.45rem}

/* Monthly redirect — rosy latte foam */
.lfc-kpi--metric:not(.lfc-kpi--growth){border-color:#e2b6bf;background:linear-gradient(180deg,#fff8fb 0%,#fbe9ef 100%)}
.lfc-kpi--metric:not(.lfc-kpi--growth) .lfc-kpi-label{color:#8f4a60}
.lfc-kpi--metric:not(.lfc-kpi--growth) .lfc-kpi-value{color:#6f3045}

/* Compound growth — soft lavender mocha */
.lfc-kpi--growth{border-color:#c9bee8;background:linear-gradient(180deg,#faf8ff 0%,#eee9fb 100%)}
.lfc-kpi--growth .lfc-kpi-label{color:#5a4a85}
.lfc-kpi--growth .lfc-kpi-value{color:#45366c}

/* Extra versus spending — pistachio latte pastel */
.lfc-kpi--lift{grid-column:1/-1;border-width:2px;border-color:#b7d3b3;background:linear-gradient(100deg,#f7fbf4 0%,#e8f5df 42%,#fffefc 92%);box-shadow:0 10px 30px rgba(97,131,88,.16)}
.lfc-kpi--lift .lfc-kpi-label{color:#4f6f47}
.lfc-kpi--lift .lfc-kpi-value{font-size:1.95rem;margin-top:10px;color:#355b30}

@media (max-width:520px){.lfc-kpis{grid-template-columns:1fr}}
.lfc-insight{background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;padding:14px 16px;border-radius:10px;font-size:.97rem;line-height:1.55;margin-top:14px}
.lfc-insight p{margin:0 0 .65em;line-height:inherit}
.lfc-insight p:last-child{margin-bottom:0}
.lfc-table-wrap{margin-top:14px;border:1px solid #d6e2ea;border-radius:10px;overflow-x:auto;background:#fff}

.lfc-table{width:100%;border-collapse:collapse;font-size:.91rem;table-layout:auto}

.lfc-table--wide{min-width:640px}

.lfc-table--wide th,.lfc-table--wide td{white-space:nowrap}

.lfc-table--wide td:first-child,.lfc-table--wide th:first-child{white-space:normal;word-break:break-word}

@media (max-width:640px){.lfc-table--wide{font-size:.85rem;min-width:0;table-layout:fixed}.lfc-table--wide th,.lfc-table--wide td{white-space:normal}}
.lfc-table th,.lfc-table td{border:1px solid #e2e8f0;padding:10px 11px;text-align:left;word-break:break-word;vertical-align:top}
.lfc-table th{background:linear-gradient(180deg,#d6ebff 0%,#cde5ff 100%);color:#072f46;font-weight:900}
.lfc-bars{margin-top:14px;background:linear-gradient(180deg,#eef6ff 0%,#f8fbff 100%);border:1px solid #cfe0ec;border-radius:12px;padding:14px}
.lfc-bars h4{margin:0 0 12px;font-size:.95rem;font-weight:900;color:#083141;line-height:1.3}
.lfc-bar-row{display:grid;grid-template-columns:140px 1fr 110px;gap:11px;align-items:center;margin:9px 0}
.lfc-bar-label{font-size:.85rem;font-weight:800;color:#334155;line-height:1.35}
.lfc-bar-track{height:13px;background:#dbe7f3;border:1px solid #c5d5e4;border-radius:999px;overflow:hidden}
.lfc-bar-fill{height:100%;background:linear-gradient(90deg,#0ea5e9 0%,#059669 100%)}
.lfc-bar-value{font-size:.84rem;font-weight:900;color:#0f172a;text-align:right}
.lfc-explain{margin:16px 0;background:linear-gradient(180deg,#fff7ed 0%,#fef9c3 50%,#fdf2f8 100%);border:1px solid #f9d7b8;border-radius:14px;padding:14px}
.lfc-explain-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.lfc-explain-card{background:#fff;border:1px solid #d6e2ea;border-radius:10px;padding:12px}
.lfc-explain-title{font-size:.98rem;font-weight:900;color:#083141;margin-bottom:8px;line-height:1.3}
.lfc-explain-card p{margin:5px 0;font-size:.9rem;color:#1e293b;line-height:1.52}
.lfc-note{font-size:.9rem;color:#334155;line-height:1.55;background:#fff7ed;border:1px solid #fdba74;border-radius:10px;padding:12px 14px}
.lfc-download{margin-top:14px;padding:20px;border:2px solid #083141;background:linear-gradient(180deg,#eef9ff 0%,#f8fbff 100%);border-radius:14px;text-align:center}
.lfc-download h3{margin:0 0 8px;font-size:1.14rem;color:#083141;font-weight:900;line-height:1.3}
.lfc-download p{margin:0 auto 14px;max-width:780px;font-size:.98rem;color:#1e293b;line-height:1.52}
.lfc-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.lfc-btn{border:1px solid #cbd5e1;background:#fff;color:#0f172a;padding:11px 16px;border-radius:10px;cursor:pointer;font-weight:700;font-size:.96rem;line-height:1.35}
.lfc-btn-primary{background:#059669;border-color:#059669;color:#fff;min-width:260px;padding:13px 22px;font-size:.98rem}
.lfc-btn:hover{background:#f8fafc}
.lfc-btn-primary:hover{background:#047857;border-color:#047857}
.lfc-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.65);display:flex;align-items:center;justify-content:center;z-index:99999;padding:16px;font-size:1.0625rem}
.lfc-modal{max-width:540px;width:100%;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 25px 60px rgba(0,0,0,.35)}
.lfc-modal-header{display:flex;justify-content:space-between;align-items:flex-start;background:#083141;color:#fff;padding:18px}
.lfc-modal-titlewrap h3{margin:0;font-size:1.3rem;font-weight:900;line-height:1.25}
.lfc-modal-subtitle{margin:6px 0 0;font-size:.9rem;color:#dbeafe;line-height:1.45;text-decoration:underline;text-underline-offset:2px}
.lfc-close{border:none;background:rgba(255,255,255,.2);color:#fff;border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:1.25rem;line-height:1}
.lfc-modal-body{padding:18px;display:flex;flex-direction:column;gap:8px}
.lfc-label{font-size:.92rem;font-weight:800;color:#334155}
.lfc-snapshot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px}
.lfc-snapshot-item{border:1px solid #d6e2ea;background:#f8fbff;border-radius:8px;padding:9px 10px}
.lfc-snapshot-key{font-size:.76rem;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:.03em;margin-bottom:3px;line-height:1.35}
.lfc-snapshot-value{font-size:.92rem;font-weight:800;color:#083141;line-height:1.4}
.lfc-trust{font-size:.9rem;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;padding:10px;margin-top:8px;color:#14532d;line-height:1.5}
.lfc-modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 18px;background:#f8fafc}
.lfc-copy-note{margin-top:10px;font-size:.9rem;color:#1d4ed8;font-weight:700;line-height:1.45}
@media (max-width:640px){.lfc-wrap{padding:14px}.lfc-title{font-size:1.48rem}.lfc-actions{flex-direction:column}.lfc-btn,.lfc-btn-primary{width:100%;min-width:0}.lfc-bar-row{grid-template-columns:1fr}.lfc-snapshot-grid{grid-template-columns:1fr}.lfc-modal-footer{flex-direction:column}.lfc-modal-footer .lfc-btn{width:100%}.lfc-section-panel{padding:14px}}
