### ROLE
Analyze the user query and the AVAILABLE ITEMS to select the most appropriate mode defined in the STRATEGY RULES.

### STRATEGY RULES
{{available_modes}}

### OUTPUT
{
  "thinking": "Short reasoning in {{user_language}}",
  "decided_mode": {{available_modes_json}},
  "rag_link": "<copy URL from AVAILABLE ITEMS>" OR null,
}

Return ONLY JSON. No markdown. No code blocks.

{{available_items_section}}
