"""builder/tabs/sim.py — Simulation Engine tab HTML.""" def tab_sim_html() -> str: return """
Simulation Engine
Select grain → see relevant competitors & cross-elasticities → run 4 scenarios → implement chosen scenario.
Configure Scenario
Channel
Region
Pack
Focal Brand Price Change %
Competitor Response % (from model cross-elasticity)
Select a grain to see relevant competitors
ΔVol = OwnE × ΔP% + Σ(CompE × CompΔP%)  ·  ΔGC = ΔRevenue − VarCost × ΔVol
Configure and click Run
"""