{# Section-title with a collapsible description. Pattern: every chart / table / panel in the audit has a heading ("Top Cost Drivers...") and a verbose explanatory paragraph underneath ("Logical jobs with at least one detection finding..."). The descriptions are useful the first time you land on the page and noise after that, so we now hide them by default and surface a little info-chevron next to the title that toggles the help text. Native ``
`` so it works without JS. The chevron rotates on open; the description is rendered as ``ui-card-meta`` inside the details body, matching the previous always-visible look when expanded. Parameters: - title (str) section heading (rendered in an

) - description (str, optional) help text revealed on click - open (bool) start expanded (default False) - aside (str, optional) right-side content next to the title - eg. "211 flagged of 7,235 scanned". Same ``ui-card-meta`` styling as the description. Call style: pass markup via ``{% call %}`` for richer asides. Example (rendered, not a literal call): section_title("Top 20 Spenders", description="The 20 highest-cost logical jobs in...", aside="last scanned 5m ago") #} {%- macro section_title(title, description=None, open=False, aside=None) -%}

{{ title }}

{%- if description %} {%- endif %}
{%- if aside %}

{{ aside | safe }}

{%- endif %} {%- if caller is defined %}
{{ caller() }}
{%- endif %}
{%- if description %}

{{ description | safe }}

{%- endif %}
{%- endmacro %}