+
+
+
+
+
+
+
+ update('leave_uk_year', clampInt(e.target.value, 0, 60))}
+ className="mt-1 w-full rounded-md border border-slate-300 bg-white px-3 py-2 text-sm tabular-nums focus:outline-none focus:ring-2 focus:ring-slate-400"
+ />
+
+
+
+
+
+
+
+ value={strategy}
+ onChange={(v) => update('strategy', v)}
+ options={STRATEGY_OPTIONS}
+ size="sm"
+ />
+
+
+
+ {strategy === 'vpw_floor' && (
+
+
+ update('floor_gbp', e.target.value)}
+ className="mt-1 w-full rounded-md border border-slate-300 bg-white px-3 py-2 text-sm tabular-nums focus:outline-none focus:ring-2 focus:ring-slate-400"
+ />
+
+ )}
+
+ {strategy === 'custom' && (
+
+ )}
+
+ );
+}
+
+function ReturnsCard({
+ form,
+ update,
+ returnsMode,
+}: {
+ form: SimulateRequest;
+ update: