{# Bundled portfolio body: split into two sections — 1) Portfolio (KPIs + curves + allocation + wash-watch) 2) Tax planning (offset budget + year-end projection) Rendered by /portfolio/body in one shot. #}
Portfolio
{% include "_portfolio_kpis.html" %}
{# Top row — two charts side by side at 50/50 #}
{% include "_portfolio_equity_curve.html" %}
{% include "_portfolio_cash_curve.html" %}
{# Allocation moved to its own row, full width #}
{% include "_portfolio_allocation.html" %}
{# Wash-sale watch moved to the Tax page wash-sales tab — that's its natural home. The portfolio panel intentionally stays free of tax-detection UI. #} {% if (offset_budget is defined and offset_budget) or (has_tax_config is defined) or (projection is defined) %}
Tax planning
Open Tax page →
{% if offset_budget is defined and offset_budget %} {% set budget = offset_budget %} {% include "_offset_budget_tile.html" with context %} {% endif %} {% include "_projection_card.html" with context %}
{% endif %}