{% macro metric_tile(label, value, delta='', tone='neutral') -%} {{ label }} {{ value }} {% if delta %}{{ delta }}{% endif %} {%- endmacro %} {% macro kpi_card(label, value, subtitle='', tone='neutral') -%} {{ label }} {{ value }} {% if subtitle %}{{ subtitle }}{% endif %} {%- endmacro %} {% macro stat_block(label, value, detail='', tone='neutral') -%} {{ label }} {{ value }} {% if detail %}{{ detail }}{% endif %} {%- endmacro %} {% macro empty_state(title, message, action_text='', action_href='', tone='neutral') -%} {{ title }} {{ message }} {% if action_text and action_href %} {{ action_text }} {% endif %} {%- endmacro %} {% macro loading_state(lines=3) -%}
{{ message }}
{{ item.detail }}