...urn ONLY valid JSON. No markdown, no commentary, no extra keys.\n"
)

USER_TEMPLATE = """Analyze the following text extract and return JSON with exactly this schema:

{{
  "id": "{id}",
  "labels": ["..."],
  "score": 0,
  "notes": "..."
}}

Rules:
- Output must be valid JSON.
- score must be an integer 0..100.
- labels must be a JSON array of strings.
- notes must be a string (can be empty).
- Do no...