{# Sticky bottom bar — same .mkt chip styling as the old dashboard
header, extended with the market's headline index price + 1d change.
Refreshed every 60s via HTMX. #}
{% for m in markets %}
{{ m.code }}{{ m.label }}
{% if m.index %}
{{ m.index.label }}{{ m.index.price_fmt }}
{%- if m.index.change_1d_pct is not none -%}
{{ "%+.2f"|format(m.index.change_1d_pct) }}%
{%- else -%}
—
{%- endif -%}
{% else %}
—
{% endif %}