<div class="scenario-widget scenario-summary">
  <div class="scenario-widget__header">
    <span class="scenario-widget__location">{{ scenario.location }}, {{ scenario.country }}</span>
    <span class="scenario-widget__config">{{ scenario.venue_type | capitalize }} · {{ scenario.court_config }}</span>
  </div>
  <div class="scenario-widget__body">
    <div class="scenario-widget__metrics">
      <div class="scenario-widget__metric">
        <span class="scenario-widget__metric-label">{{ t.scenario_total_capex_label }}</span>
        <span class="scenario-widget__metric-value">&euro;{{ "{:,.0f}".format(d.capex) }}</span>
      </div>
      <div class="scenario-widget__metric">
        <span class="scenario-widget__metric-label">{{ t.scenario_monthly_ebitda_label }}</span>
        <span class="scenario-widget__metric-value">&euro;{{ "{:,.0f}".format(d.ebitdaMonth) }}</span>
      </div>
      <div class="scenario-widget__metric">
        <span class="scenario-widget__metric-label">IRR ({{ s.holdYears }}yr)</span>
        <span class="scenario-widget__metric-value">{{ "{:.1f}".format(d.irr * 100) }}%</span>
      </div>
    </div>
    <div class="scenario-widget__metrics">
      <div class="scenario-widget__metric">
        <span class="scenario-widget__metric-label">{{ t.scenario_payback_label }}</span>
        <span class="scenario-widget__metric-value">{% if d.paybackIdx >= 0 %}{{ d.paybackIdx + 1 }} {{ t.scenario_months_unit }}{% else %}N/A{% endif %}</span>
      </div>
      <div class="scenario-widget__metric">
        <span class="scenario-widget__metric-label">Cash-on-Cash</span>
        <span class="scenario-widget__metric-value">{{ "{:.1f}".format(d.cashOnCash * 100) }}%</span>
      </div>
      <div class="scenario-widget__metric">
        <span class="scenario-widget__metric-label">{{ t.scenario_ebitda_margin_label }}</span>
        <span class="scenario-widget__metric-value">{{ "{:.0f}".format(d.ebitdaMargin * 100) }}%</span>
      </div>
    </div>
  </div>
  <div class="scenario-widget__cta">
    <a href="{{ url_for('planner.index') }}">{{ t.scenario_cta_try_numbers }}</a>
  </div>
</div>
