{% if name %}{{ name }} – {% endif %}{{ project_name|default:"API" }}
{% csrf_token %}
{# Apply theme before paint to avoid a flash of the wrong colour scheme. #}
{% comment %}
Tailwind CSS v4 — Play CDN (zero-build). The Play CDN does NOT support @apply,
so all styling is plain utility classes in the templates. The only custom CSS it
needs is the class-based dark variant (@variant works on the CDN).
{% endcomment %}
{# Plain CSS for JS-generated nodes + form fields (not utility-scannable). #}
{# highlight.js (CDN) for Raw JSON + code snippets. Two themes toggled by .dark. #}
{# Lucide icons (CDN). Render into SVG on load. #}
{# Theme Alpine components (decomposed); schema.js first (defines DRFTheme helpers). #}
{% if code_style %}{% endif %}