{% set a=result.advanced %}

{{ 'विस्तृत कुंडली विश्लेषण' if lang=='hi' else 'Advanced Kundli Analysis' }}

{% for label,chart in [('नवांश (D9)' if lang=='hi' else 'Navamsa (D9)',a.d9),('चंद्र कुंडली' if lang=='hi' else 'Chandra Kundli',a.chandra)] %}

{{ label }}

{% for x,y in [(160,65),(80,20),(25,65),(80,145),(25,225),(80,275),(160,225),(240,275),(295,225),(240,145),(295,65),(240,20)] %}{% set h=chart[loop.index0] %}{{ h.sign }}{% for group in h.planets|batch(2) %}{{ group|join(' ') }}{% endfor %}{% endfor %}
{% endfor %}

{{ 'ग्रहों की राशि स्थिति' if lang=='hi' else 'Planetary dignity by sign' }}

{% for p in a.dignity %}{% endfor %}
{{ p.name }}{{ p.status }}

{{ 'विंशोत्तरी महादशा और अंतर्दशा' if lang=='hi' else 'Vimshottari Mahadasha and Antardasha' }}

{{ '365.25 दिन का वर्ष; तिथियाँ UTC में अनुमानित हैं। प्रथम अवधि जन्म से दिखाई गई है।' if lang=='hi' else 'Approximate UTC dates using a 365.25-day year. First period is clipped to birth.' }}

{% for p in a.periods %}
{{ p.name }} · {{ p.start }} – {{ p.end }}
{% for s in p.sub %}{% endfor %}
{{ s.name }}{{ s.start }} – {{ s.end }}
{% endfor %}

{{ 'मांगलिक दोष की प्रारंभिक जाँच' if lang=='hi' else 'Preliminary Manglik screening' }}

{{ 'भाव 1, 2, 4, 7, 8, 12; अपवादों की जाँच नहीं की गई है।' if lang=='hi' else 'Checks houses 1, 2, 4, 7, 8, 12; cancellation rules are not evaluated.' }}

{% for m in a.manglik %}

{{ m.reference }}: {{ m.house }} · {{ ('नियम लागू' if lang=='hi' else 'Rule matched') if m.matched else ('नियम लागू नहीं' if lang=='hi' else 'Rule not matched') }}

{% endfor %}

{{ 'चयनित योगों की प्रारंभिक जाँच' if lang=='hi' else 'Selected yoga screening' }}

{{ 'केवल राशि आधारित नियम; ग्रह बल और अन्य शर्तें शामिल नहीं हैं।' if lang=='hi' else 'Sign-based rules only; strength, combustion and other conditions are not assessed.' }}

{% for y in a.yogas %}

{{ y.name }}: {{ ('नियम लागू' if lang=='hi' else 'Rule matched') if y.matched else ('नियम लागू नहीं' if lang=='hi' else 'Rule not matched') }}

{% endfor %}

{{ 'इन परिणामों से विवाह, स्वास्थ्य या वित्तीय निर्णय न लें।' if lang=='hi' else 'These traditional indicators should not determine marriage, health or financial decisions.' }}