{% comment %}
Sync freshness indicator for Module A pages.
Expects template context: `last_synced_at` (ISO string or None),
`sync_failed` (bool), `sync_error` (string).
{% endcomment %}
{% if last_synced_at %}
Synced from server at {{ last_synced_at|slice:":19"|cut:"T" }} UTC
{% else %}
Never synced from backend
{% endif %}
{% if sync_failed %}
Sync with server failed — showing cached data
{% endif %}