{% load static %} {% comment %} Partial: partials/app_card.html — renders a single LARA app card. Expects `item` with keys: name, color, description, image, class_apps, instance_apps. {% endcomment %}
{# ── Coloured header ── #}

{{ item.name }}

{# ── Body ── #}
{# Optional thumbnail #} {% if item.image %}
{{ item.name }}
{% endif %} {# Description + action buttons #}

{{ item.description }}

{# ── Class apps ── #} {% if item.class_apps %}
{# Mobile (< sm): wrapping rounded chips — easy tap targets #}
{% for app_link in item.class_apps %} {{ app_link.name }} {% endfor %}
{# Desktop (≥ sm): segmented / joined pill-group #}
{% endif %} {# ── Instance apps ── #} {% if item.instance_apps %}
{# Mobile: wrapping chips #}
{% for app_link in item.instance_apps %} {{ app_link.name }} {% endfor %}
{# Desktop: joined pill-group #}
{% endif %}
{# /flex-1 #}
{# /flex col→row #}
{# /p-4 body #}