{# Full /tax tab variant: projection card + inline config form. #}
{% include "_projection_card.html" with context %} {% if has_tax_config and projection %}
Breakdown
Short-term gain
{% if projection.realized_st_gain < 0 %}−{% elif projection.realized_st_gain > 0 %}+{% endif %}${{ "{:,.2f}".format(projection.realized_st_gain|float|abs) }}
Long-term gain
{% if projection.realized_lt_gain < 0 %}−{% elif projection.realized_lt_gain > 0 %}+{% endif %}${{ "{:,.2f}".format(projection.realized_lt_gain|float|abs) }}
Qualified div
${{ "{:,.2f}".format(projection.qualified_div|float) }}
Ordinary div
${{ "{:,.2f}".format(projection.ordinary_div|float) }}
Interest income
${{ "{:,.2f}".format(projection.interest_income|float) }}
{% endif %}
{{ "Update" if has_tax_config else "Enable" }} tax projection
Enter your filing status and tax rates to project this year's federal + state tax bill on realized gains, dividends, and interest.
{% include "_projection_form.html" %}