<div class="dealflow-dashboard-widget" style="display:flex;flex-direction:column;position:relative;flex:1 1 0;min-height:0;">
    <div style="flex:1;">
        <div style="font-size:24px;font-weight:700;margin-bottom:8px;">
            <a href="{{ path('mautic_dealflow_pipeline') }}" style="color:inherit;text-decoration:none;">${{ pipelineValue|number_format(0, '.', ',') }}</a>
        </div>
        <div style="font-size:13px;color:var(--text-secondary);">
            <a href="{{ path('mautic_dealflow_index') }}" style="color:inherit;text-decoration:none;">across {{ dealCount }} open deal{{ dealCount == 1 ? '' : 's' }}</a>
        </div>
    </div>
    {% include '@DealFlow/Dashboard/_config_popover.html.twig' %}
</div>
