{# _upsell.html — Reusable badge macros for the upsell / plan-gating UI. Usage: {% from '_upsell.html' import crown_badge, max_badge, beta_pill, locked_btn %} Macros: crown_badge() — small amber crown SVG (Premium-locked) max_badge() — small "MAX" pill (MAX-locked) beta_pill() — "Beta" pill (e.g. guide generation) locked_btn(plan, label, extra_classes='') — renders a button that opens the upgrade modal instead of performing any action. plan = 'premium' | 'max' label = human label used in modal title extra_classes = additional Tailwind classes #} {# Inline crown SVG — 14×14, amber, used for Premium-gated items #} {% macro crown_badge() %}{% endmacro %} {# MAX pill #} {% macro max_badge() %}MAX{% endmacro %} {# Beta pill #} {% macro beta_pill() %}{{ _('Beta') }}{% endmacro %}