give more detailed information about this ppt as PG scholar from dept of Kaumarabhritya
python3 -c " from pptx import Presentation prs = Presentation('/tmp/workspace/attachments/1481f620-958b-4533-b053-e30c5a620443/PTSR sleep disturbance final.pptx') print(f'Total slides: {len(prs.slides)}') for i, slide in enumerate(prs.slides, 1): print(f'\n===== SLIDE {i} =====') for shape in slide.shapes: if shape.has_text_frame: text = shape.text_frame.text.strip() if text: print(text) # Check for tables if shape.shape_type == 19: # TABLE table = shape.table for row in table.rows: row_text = ' | '.join([cell.text.strip() for cell in row.cells]) print(f'TABLE ROW: {row_text}') "
digital addiction sleep disturbance puberty adolescents
Kaumarabhritya Nidranasha digital addiction Ayurveda puberty menstrual health
screen time sleep quality melatonin adolescents circadian rhythm
Artava Dhatu Rasa Dhatu Apana Vata menstrual cycle Ayurveda Kaumarabhritya PMOS
https://impactfactor.org/PDF/IJDDT/16/IJDDT,Vol16,Issue18s,A…
physical activity menstrual health adolescent reproductive hormones
| Step | Event |
|---|---|
| Kisspeptin neuron maturation | Pulsatile GnRH release from hypothalamus |
| GnRH stimulates anterior pituitary | FSH + LH secretion |
| FSH | Follicular development, estrogen secretion |
| LH | Ovulation trigger, progesterone secretion |
| Rising estrogen | Breast development, uterine growth, menarche |
| Average age | 12 years (range 10-14 years) in girls |
Digital Notification/Gaming/Social Media
↓
Ventral Tegmental Area (VTA) activated
↓
Dopamine released into Mesolimbic pathway
↓
Nucleus Accumbens (Reward Center) activated → Pleasure & Motivation
↓
Repeated stimulation → Tolerance (need more stimulation)
↓
Habit Formation → Compulsive Digital Use → Addiction
Screen emits Blue Light (400-490 nm)
↓
Retinal ipRGCs (intrinsically photosensitive Retinal Ganglion Cells) detect it
↓
Signal travels via Retinohypothalamic Tract → Suprachiasmatic Nucleus (SCN)
↓
SCN suppresses Pineal Gland signal
↓
Melatonin secretion suppressed (normally peaks at ~9-10 PM)
↓
Circadian rhythm phase-delayed (internal clock shifts later)
↓
Sleep onset delayed → Reduced total sleep time → Fragmented REM sleep
↓
Hormonal Imbalance → Poor Health Outcomes
| Ayurvedic Concept | Meaning | Application to Digital Addiction |
|---|---|---|
| Prajnaparadha | Crime against wisdom / willful intellectual error | Knowing the harm of excess screen use but continuing compulsively |
| Asatmyendriyartha Samyoga | Unwholesome contact of senses with their objects | Atiyoga (excessive use) of Chakshu (visual sense) with screens; Atiyoga of Shrotra (auditory sense) with earphones |
| Parinama | Adverse seasonal/time factors | Night-time device use against natural Dinacharya rhythm |
निद्रायत्तं सुखं दुःखं पुष्टिः कार्श्यं बलाबलम् । वृषता क्लैब्यम् ज्ञानमज्ञानं जीवितं न च ॥ "Happiness, misery, nourishment, emaciation, strength, weakness, virility, sterility, knowledge, ignorance, life itself - all depend on Nidra."
| Type | Description |
|---|---|
| Tamobhava Nidra | Sleep caused by Tamas Guna predominance |
| Shleshmasamudbhava | Sleep from Kapha aggravation |
| Manashrama Sambhava | Sleep from mental exhaustion |
| Sharira Shrama Sambhava | Sleep from physical exhaustion |
| Agantuki Nidra | Sleep from disease/drugs |
| Ratri Swabhava Prabhava | Natural nocturnal sleep (the ideal type) |
| Age Group | Recommended Sleep |
|---|---|
| 6-12 years | 9-12 hours/night |
| 13-18 years | 8-10 hours/night |
लाघवं कर्मसामर्थ्यं दीप्तोऽग्निर्मेदसः क्षयः । विभक्तघनगात्रत्वं व्यायामादुपजायते ॥ "Lightness of body, capacity for work, enhancement of Agni (digestive fire), reduction of Meda (fat), well-built firm physique - these arise from Vyayama."
Vyayama (Exercise)
↓
Balanced Doshas + Improved Agni
↓
Healthy Dhatu formation (especially Rasa → Rakta → ... → Artava)
↓
Balanced Hormones (LH/FSH/Estrogen pulsatility)
↓
Healthy Puberty + Regular Menstrual Health (Artava Suddhi)
Digital Addiction (Prajnaparadha + Asatmyendriyartha Samyoga)
↓
Dopamine dysregulation + Blue light → Nidranasha (Sleep Disturbance)
↓
Hormonal disruption: LH/FSH pulsatility loss, Melatonin suppression
↓
Artava Dushti / PMOS / Menstrual Irregularities
↑
Aggravated by Sedentary Behavior (Absence of Vyayama)
| Intervention | Modern Equivalent | Mechanism |
|---|---|---|
| Dinacharya | Circadian hygiene | Aligns biological clock with natural light cycles |
| Ritucharya | Seasonal adaptation | Adjusts diet and activity to prevent seasonal Dosha imbalance |
| Ahara - Sattvika diet, Medhya Rasayana | Anti-inflammatory, neuronutritive | Supports Manovaha Srotas, reduces Vata-Pitta |
| Brahmi, Shankhapushpi | Adaptogen/nootropic | Reduces anxiety, improves memory, Rasayana for Manas |
| Ashwagandha | Adaptogen | Reduces cortisol, supports hormonal balance, Balya |
| Guduchi | Immunomodulator | Rasayana, Tridosha-shamaka, Ojas-builder |
| Vyayama (Yoga) | Physical activity | Dopamine regulation, sleep improvement, Agni correction |
| Nasya with Brahmi ghrita | CNS support | Targets Manovaha Srotas via nasal route |
| Abhyanga (oil massage) | Parasympathetic activation | Calms Vata, improves sleep quality |
| Sadvritta (ethical conduct) | Behavioral therapy | Limits screen use, encourages real-world social interaction |
prepare new ppt of 10-12 slides on the same topic with more expanded information in point of view as PG scholar from dept of Kaumarabhritya
mkdir -p /tmp/workspace/kaumarabhritya-ppt
~/kaumarabhritya-ppt/build_ppt.py
from pptx import Presentation
from pptx.util import Inches, Pt, Emu
from pptx.dml.color import RGBColor
from pptx.enum.text import PP_ALIGN, MSO_ANCHOR
from pptx.util import Inches, Pt
import copy
from lxml import etree
# ─── Color Palette ──────────────────────────────────────────────────────────
DARK_GREEN = RGBColor(0x1A, 0x5C, 0x38) # header / accent
MID_GREEN = RGBColor(0x2E, 0x8B, 0x57) # sub-header
LIGHT_GREEN = RGBColor(0xD6, 0xEF, 0xDB) # slide background tint
GOLD = RGBColor(0xC8, 0x9A, 0x00) # Sanskrit shloka / highlight
WHITE = RGBColor(0xFF, 0xFF, 0xFF)
DARK_GREY = RGBColor(0x22, 0x22, 0x22)
MED_GREY = RGBColor(0x44, 0x44, 0x44)
LIGHT_GREY = RGBColor(0xF4, 0xF4, 0xF4)
CREAM = RGBColor(0xFF, 0xFB, 0xF0)
ORANGE_ACC = RGBColor(0xE0, 0x6C, 0x00)
# ─── Helpers ────────────────────────────────────────────────────────────────
def add_rect(slide, x, y, w, h, fill_rgb=None, line_rgb=None, line_width=Pt(0)):
from pptx.util import Emu
shape = slide.shapes.add_shape(1, x, y, w, h) # MSO_SHAPE_TYPE.RECTANGLE = 1
shape.line.width = line_width
if fill_rgb:
shape.fill.solid()
shape.fill.fore_color.rgb = fill_rgb
else:
shape.fill.background()
if line_rgb:
shape.line.color.rgb = line_rgb
else:
shape.line.fill.background()
return shape
def add_tb(slide, x, y, w, h, word_wrap=True):
tb = slide.shapes.add_textbox(x, y, w, h)
tf = tb.text_frame
tf.word_wrap = word_wrap
tf.margin_left = Inches(0.05)
tf.margin_right = Inches(0.05)
tf.margin_top = Inches(0.03)
tf.margin_bottom= Inches(0.03)
return tf
def add_para(tf, text, bold=False, size=Pt(14), color=DARK_GREY,
align=PP_ALIGN.LEFT, italic=False, space_before=Pt(0), space_after=Pt(0)):
p = tf.add_paragraph()
p.text = text
p.alignment = align
p.space_before = space_before
p.space_after = space_after
r = p.runs[0] if p.runs else p.add_run()
r.font.bold = bold
r.font.italic = italic
r.font.size = size
r.font.color.rgb = color
r.font.name = "Calibri"
return p
def first_para(tf, text, bold=False, size=Pt(14), color=DARK_GREY,
align=PP_ALIGN.LEFT, italic=False):
p = tf.paragraphs[0]
p.text = text
p.alignment = align
r = p.runs[0] if p.runs else p.add_run()
r.font.bold = bold
r.font.italic = italic
r.font.size = size
r.font.color.rgb = color
r.font.name = "Calibri"
return p
def slide_bg(slide, color=LIGHT_GREEN):
add_rect(slide, Inches(0), Inches(0), Inches(13.333), Inches(7.5), fill_rgb=color)
def header_bar(slide, title_text, subtitle_text=""):
add_rect(slide, Inches(0), Inches(0), Inches(13.333), Inches(1.2), fill_rgb=DARK_GREEN)
tf = add_tb(slide, Inches(0.3), Inches(0.05), Inches(12.5), Inches(0.65))
first_para(tf, title_text, bold=True, size=Pt(26), color=WHITE, align=PP_ALIGN.LEFT)
if subtitle_text:
add_para(tf, subtitle_text, bold=False, size=Pt(13), color=LIGHT_GREEN, align=PP_ALIGN.LEFT)
# Gold bottom stripe
add_rect(slide, Inches(0), Inches(1.2), Inches(13.333), Inches(0.06), fill_rgb=GOLD)
def footer_bar(slide, slide_no, total=12):
add_rect(slide, Inches(0), Inches(7.2), Inches(13.333), Inches(0.3), fill_rgb=DARK_GREEN)
tf = add_tb(slide, Inches(0.2), Inches(7.2), Inches(8), Inches(0.3))
first_para(tf, "Dept. of PG Studies in Kaumarabhritya | JSSAMC, Mysuru",
size=Pt(9), color=LIGHT_GREEN)
tf2 = add_tb(slide, Inches(11.5), Inches(7.2), Inches(1.5), Inches(0.3))
first_para(tf2, f"{slide_no} / {total}", size=Pt(9), color=WHITE, align=PP_ALIGN.RIGHT)
def section_label(slide, text, x=Inches(0.3), y=Inches(1.32), w=Inches(3.5), h=Inches(0.32)):
add_rect(slide, x, y, w, h, fill_rgb=MID_GREEN)
tf = add_tb(slide, x+Inches(0.08), y+Inches(0.03), w-Inches(0.1), h-Inches(0.06))
first_para(tf, text, bold=True, size=Pt(11), color=WHITE)
def bullet_box(slide, items, x, y, w, h, bullet="•", title=None,
title_color=MID_GREEN, item_size=Pt(13), title_size=Pt(14)):
add_rect(slide, x, y, w, h, fill_rgb=WHITE,
line_rgb=MID_GREEN, line_width=Pt(1.2))
tf = add_tb(slide, x+Inches(0.12), y+Inches(0.1), w-Inches(0.2), h-Inches(0.15))
if title:
first_para(tf, title, bold=True, size=title_size, color=title_color)
else:
first_para(tf, items[0] if items else "", bold=False, size=item_size, color=DARK_GREY)
items = items[1:]
for item in items:
add_para(tf, f"{bullet} {item}", size=item_size, color=DARK_GREY,
space_before=Pt(2))
def shloka_box(slide, shloka, ref, x=Inches(0.3), y=Inches(5.6), w=Inches(12.7), h=Inches(1.35)):
add_rect(slide, x, y, w, h, fill_rgb=CREAM, line_rgb=GOLD, line_width=Pt(1.5))
tf = add_tb(slide, x+Inches(0.2), y+Inches(0.12), w-Inches(0.35), h-Inches(0.25))
first_para(tf, shloka, bold=True, italic=True, size=Pt(13), color=GOLD)
add_para(tf, ref, size=Pt(11), color=MED_GREY, italic=True, space_before=Pt(4))
# ─── Presentation Setup ──────────────────────────────────────────────────────
prs = Presentation()
prs.slide_width = Inches(13.333)
prs.slide_height = Inches(7.5)
blank = prs.slide_layouts[6]
TOTAL = 12
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 1 – TITLE SLIDE
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
# Full background
add_rect(sl, Inches(0), Inches(0), Inches(13.333), Inches(7.5), fill_rgb=DARK_GREEN)
# Decorative stripe
add_rect(sl, Inches(0), Inches(5.8), Inches(13.333), Inches(0.08), fill_rgb=GOLD)
add_rect(sl, Inches(0), Inches(1.55), Inches(13.333), Inches(0.08), fill_rgb=GOLD)
# Institution
tf = add_tb(sl, Inches(0.5), Inches(0.2), Inches(12.3), Inches(0.5))
first_para(tf, "JSS Ayurveda Medical College, Mysuru | Dept. of PG Studies in Kaumarabhritya",
size=Pt(13), color=LIGHT_GREEN, align=PP_ALIGN.CENTER)
# Main title
tf2 = add_tb(sl, Inches(0.5), Inches(1.7), Inches(12.3), Inches(1.9))
first_para(tf2, "ROLE OF DIGITAL ADDICTION, SLEEP DISTURBANCE", bold=True, size=Pt(30), color=WHITE, align=PP_ALIGN.CENTER)
add_para(tf2, "AND PHYSICAL ACTIVITY IN PUBERTY", bold=True, size=Pt(30), color=WHITE, align=PP_ALIGN.CENTER, space_before=Pt(4))
add_para(tf2, "An Ayurvedic & Evidence-Based Perspective", bold=False, size=Pt(16),
color=GOLD, align=PP_ALIGN.CENTER, space_before=Pt(10))
# Divider
add_rect(sl, Inches(3), Inches(3.8), Inches(7.333), Inches(0.04), fill_rgb=GOLD)
# Presenter / Guide
tf3 = add_tb(sl, Inches(1.0), Inches(3.95), Inches(5.5), Inches(1.6))
first_para(tf3, "PRESENTER", bold=True, size=Pt(12), color=GOLD)
add_para(tf3, "Dr. Rushikesh Salunkhe", bold=True, size=Pt(15), color=WHITE, space_before=Pt(3))
add_para(tf3, "2nd Year PG Scholar", size=Pt(13), color=LIGHT_GREEN)
add_para(tf3, "Dept. of PG Studies in Kaumarabhritya", size=Pt(12), color=LIGHT_GREEN)
tf4 = add_tb(sl, Inches(7.5), Inches(3.95), Inches(5.5), Inches(1.6))
first_para(tf4, "GUIDE", bold=True, size=Pt(12), color=GOLD)
add_para(tf4, "Dr. Srihari S", bold=True, size=Pt(15), color=WHITE, space_before=Pt(3))
add_para(tf4, "Professor & Head", size=Pt(13), color=LIGHT_GREEN)
add_para(tf4, "Dept. of PG Studies in Kaumarabhritya", size=Pt(12), color=LIGHT_GREEN)
footer_bar(sl, 1, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 2 – CONTENTS
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Contents", "Overview of Topics")
contents = [
("01", "Introduction & Ayurvedic Framework of Puberty"),
("02", "Physiology of Puberty – Modern & Ayurvedic"),
("03", "Digital Addiction – Definition, Epidemiology & ICD-11"),
("04", "Dopamine Reward Pathway & Neuroscience"),
("05", "Blue Light Exposure & Circadian Disruption"),
("06", "Digital Addiction in Ayurveda (Prajnaparadha, Srotas Dushti)"),
("07", "Sleep Disturbance – Nidranasha in Ayurveda"),
("08", "Nidranasha & Impact on Artava Chakra"),
("09", "Physical Activity – Vyayama in Kaumarabhritya"),
("10", "Ayurvedic Management & Rasayana Therapy"),
("11", "References"),
]
col_w = Inches(6.3)
for i, (num, title) in enumerate(contents):
col = i % 2
row = i // 2
x = Inches(0.3) + col * Inches(6.7)
y = Inches(1.38) + row * Inches(0.56)
add_rect(sl, x, y, col_w, Inches(0.5),
fill_rgb=MID_GREEN if int(num) % 2 == 1 else DARK_GREEN,
line_rgb=GOLD, line_width=Pt(0.5))
tf = add_tb(sl, x + Inches(0.12), y + Inches(0.05), col_w - Inches(0.15), Inches(0.42))
first_para(tf, f" {num} {title}", bold=False, size=Pt(13), color=WHITE)
footer_bar(sl, 2, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 3 – INTRODUCTION & AYURVEDIC FRAMEWORK
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Introduction", "Ayurvedic Framework of Puberty & Menstrual Health")
# Left column
bullet_box(sl,
title="Modern Perspective",
items=[
"Menstrual cycle = dynamic physiological process regulated by HPG axis",
"Influences: sleep, mood, thermoregulation, autonomic function",
"Menarche marks onset of reproductive health (avg. age 12 yrs)",
"PMOS – Puberty-related Menstrual Onset Syndrome – dysmenorrhea, mood swings, acne",
],
x=Inches(0.3), y=Inches(1.38), w=Inches(6.2), h=Inches(2.3),
title_color=MID_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Ayurvedic Perspective (Artava Chakra)",
items=[
"Artava = Upadhatu of Rasa Dhatu (Charaka) / Rakta Dhatu (Sushruta)",
"Governed by Tridosha – Vata (Apana), Pitta (Pachaka), Kapha (Shleshaka)",
"Apana Vata: controls Artava Pravrutti (menstrual flow onset)",
"Healthy Rasa-Rakta Dhatu → healthy Artava Dhatu",
"Mithya Ahara + Vihara + Chinta → Rasa Vaha Srotas Dushti → Artava Dushti",
],
x=Inches(6.8), y=Inches(1.38), w=Inches(6.2), h=Inches(2.3),
title_color=DARK_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Kaumarabhritya Relevance",
items=[
"Kashaypiya Samhita: Dhatuparipurnata governs onset of menarche (Rajaswala Avastha)",
"PMOS correlates to Artava Dushti, Anaratava, Yoni Vyapat",
"Adolescent girls (Kumari 10–16 yrs) are most vulnerable to Dosha imbalance",
"Digital addiction is a new-age Nidana for reproductive disorders in this age group",
],
x=Inches(0.3), y=Inches(3.82), w=Inches(12.7), h=Inches(1.72),
title_color=ORANGE_ACC, item_size=Pt(12.5)
)
shloka_box(sl,
shloka="रसादेव रजः स्त्रीणां मासि मासि त्र्यहं स्त्रवेत् ।",
ref="Menstrual blood flows monthly from Rasa Dhatu — Raja Prakarana 3/204",
y=Inches(5.62), h=Inches(0.85)
)
footer_bar(sl, 3, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 4 – PHYSIOLOGY OF PUBERTY
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Physiology of Puberty", "Modern & Ayurvedic Understanding")
bullet_box(sl,
title="Modern HPG Axis Activation",
items=[
"KNDy neurons (Kisspeptin-NKB-Dynorphin) in arcuate nucleus mature → pulsatile GnRH",
"GnRH → Ant. Pituitary → FSH + LH",
"FSH: follicular development, estrogen secretion",
"LH: triggers ovulation, progesterone secretion",
"Rising estrogen → breast development, uterine growth, menarche (avg 12 yrs)",
"Kisspeptin receptor mutations → precocious (gain) / delayed (loss) puberty",
],
x=Inches(0.3), y=Inches(1.38), w=Inches(6.3), h=Inches(2.5),
title_color=MID_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Ayurvedic Concept – Rajaswala Avastha",
items=[
"Puberty = Dhatuparipurnata (sequential maturation of 7 Dhatus to Artava)",
"Acharya Kashyapa: Swabhava (natural phenomenon) governs onset of Rajas",
"Vata (Apana + Vyana): controls expulsion and circulation of Artava",
"Pitta: enzymatic metabolic drive = steroidogenesis correlate",
"Kapha: structural substrate (Rasa, Rakta Dhatu) for menstrual fluid",
"Menarche = Rajodarshanam; delayed = Anaratava; early = Asrija Pradara",
],
x=Inches(6.8), y=Inches(1.38), w=Inches(6.2), h=Inches(2.5),
title_color=DARK_GREEN, item_size=Pt(12.5)
)
# Flow chart text
add_rect(sl, Inches(0.3), Inches(4.0), Inches(12.7), Inches(0.38), fill_rgb=MID_GREEN)
tf = add_tb(sl, Inches(0.4), Inches(4.03), Inches(12.5), Inches(0.32))
first_para(tf, "Hypothalamus → GnRH → Anterior Pituitary → FSH + LH → Ovaries → Estrogen/Progesterone → Pubertal Changes → Menarche",
size=Pt(13), color=WHITE, align=PP_ALIGN.CENTER)
bullet_box(sl,
title="Hormonal Impact on Sleep During Puberty",
items=[
"Adolescent circadian clock is biologically phase-delayed (night owl tendency)",
"LH pulses occur predominantly during sleep in early puberty (Boyar et al., 1972)",
"Sleep disruption → impaired LH pulsatility → delayed/irregular menarche",
"Progesterone: promotes NREM sleep; estrogen: REM-promoting effect",
],
x=Inches(0.3), y=Inches(4.48), w=Inches(12.7), h=Inches(1.65),
title_color=ORANGE_ACC, item_size=Pt(12.5)
)
footer_bar(sl, 4, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 5 – DIGITAL ADDICTION
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Digital Addiction", "Definition, Epidemiology & ICD-11 Classification")
bullet_box(sl,
title="Definition & Classification",
items=[
"Persistent, compulsive engagement with digital tech causing functional impairment",
"WHO ICD-11 (2019): Gaming Disorder – recognized behavioral addiction",
"Types: Smartphone addiction, Social Media Addiction, Internet Gaming Disorder",
"WHO (2020): Recommends <2 hrs recreational screen time/day for children",
"Characterized by: salience, tolerance, mood modification, withdrawal, relapse",
],
x=Inches(0.3), y=Inches(1.38), w=Inches(6.3), h=Inches(2.35),
title_color=MID_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Epidemiology",
items=[
"Global prevalence of problematic smartphone use in adolescents: ~20-30%",
"Girls: more vulnerable to social media addiction",
"Boys: more vulnerable to gaming disorder",
"Indian adolescents: average 6-8 hrs/day screen time (post-COVID)",
"Screen time increased 50-100% during COVID-19 pandemic globally",
],
x=Inches(6.8), y=Inches(1.38), w=Inches(6.2), h=Inches(2.35),
title_color=DARK_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Why Adolescents Are Especially Vulnerable",
items=[
"Immature prefrontal cortex (PFC) → poor impulse control and decision-making",
"Nucleus accumbens reward sensitivity peaks during adolescence (fMRI evidence)",
"High testosterone levels increase reward-seeking behavior and risk-taking",
"Dopamine circuits are maximally plastic and vulnerable during pubertal window",
"Social media 'likes' = variable reward schedule = strongest dopamine reinforcement loop",
],
x=Inches(0.3), y=Inches(3.83), w=Inches(12.7), h=Inches(1.72),
title_color=ORANGE_ACC, item_size=Pt(12.5)
)
shloka_box(sl,
shloka="प्रज्ञापराधं खलु मूलं रोगाणाम् ।",
ref="Willful intellectual error (Prajnaparadha) is the root cause of all diseases — Charaka Samhita, Sharira Sthana 1",
y=Inches(5.62), h=Inches(0.85)
)
footer_bar(sl, 5, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 6 – DOPAMINE REWARD PATHWAY & BLUE LIGHT
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Dopamine Reward Pathway & Blue Light Exposure",
"Neurobiological Mechanisms of Digital Addiction")
# Dopamine pathway box
bullet_box(sl,
title="Dopamine Reward Loop (Mesolimbic Pathway)",
items=[
"Digital notification/gaming/social media → activates Ventral Tegmental Area (VTA)",
"VTA releases Dopamine into Mesolimbic pathway → Nucleus Accumbens (reward center)",
"Pleasure & motivation → repeated use → tolerance (receptor downregulation)",
"Habit formation → compulsive use → addiction",
"Chronic use: anhedonia, depression, inability to find real-world pleasure",
"Variable reward (social 'likes') = slot machine behavior = strongest reinforcer",
],
x=Inches(0.3), y=Inches(1.38), w=Inches(6.3), h=Inches(2.75),
title_color=MID_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Blue Light Mechanism (400–490 nm)",
items=[
"Screen blue light detected by ipRGCs (intrinsically photosensitive retinal ganglion cells)",
"Signal travels via Retinohypothalamic Tract → SCN (master clock)",
"SCN suppresses pineal gland → melatonin secretion inhibited",
"Even 2 hrs evening screen use suppresses melatonin by ~22%",
"Circadian phase delayed → sleep onset late → reduced total sleep + REM",
"Maximally harmful during puberty (adolescent circadian clock already phase-delayed)",
],
x=Inches(6.8), y=Inches(1.38), w=Inches(6.2), h=Inches(2.75),
title_color=DARK_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Downstream Hormonal Consequences Relevant to Kaumarabhritya",
items=[
"Suppressed melatonin → disrupted LH pulsatility → anovulatory cycles",
"Elevated cortisol (from poor sleep) → suppresses GnRH → hypothalamic amenorrhea",
"Increased ghrelin, decreased leptin → obesity → hyperinsulinemia → PCOS-like features",
"Dopamine downregulation → impaired prolactin regulation → galactorrhea, cycle disruption",
],
x=Inches(0.3), y=Inches(4.23), w=Inches(12.7), h=Inches(1.72),
title_color=ORANGE_ACC, item_size=Pt(12.5)
)
footer_bar(sl, 6, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 7 – DIGITAL ADDICTION IN AYURVEDA
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Digital Addiction in Ayurveda",
"Prajnaparadha, Asatmyendriyartha Samyoga & Srotas Dushti")
bullet_box(sl,
title="Ayurvedic Nidana (Pathological Triad)",
items=[
"PRAJNAPARADHA: Knowing the harm of excess screen use, yet continuing compulsively",
"ASATMYENDRIYARTHA SAMYOGA: Atiyoga of Chakshu (eye) with screens; Atiyoga of Shrotra with earphones",
"PARINAMA: Night-time device use against natural Dinacharya (circadian) rhythm",
],
x=Inches(0.3), y=Inches(1.38), w=Inches(12.7), h=Inches(1.55),
title_color=MID_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Dosha Involvement – Detailed Analysis",
items=[
"VATA (Ruksha, Chala, Laghu): restlessness, insomnia, dry eyes, anxiety, Apana Vata Vikrti → menstrual irregularity",
"PITTA (Tikshna, Ushna): digital eye strain (Timira), irritability, acne (Bhrajaka Pitta), headaches",
"KAPHA (with sedentary behaviour): Sthoulya (obesity), Tandra, slow Agni, Ama accumulation",
"MANASIKA VIKARA: Chittodvega (anxiety), Nidranasha (insomnia), Avasada (depression), Smriti Bhramsha",
"OJAS DEPLETION: poor immunity, chronic fatigue, delayed/irregular menarche, Artava Dushti",
],
x=Inches(0.3), y=Inches(3.05), w=Inches(12.7), h=Inches(2.15),
title_color=DARK_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Srotas Affected",
items=[
"Manovaha Srotas – primary: digital content overstimulates Rajasika & Tamasika Manas",
"Pranavaha Srotas – shallow breathing during screen use",
"Annavaha Srotas – mindless snacking, irregular Ahara Kala",
"Artavavaha Srotas – impaired Artava flow via Apana Vata Vikrti",
],
x=Inches(0.3), y=Inches(5.3), w=Inches(12.7), h=Inches(1.62),
title_color=ORANGE_ACC, item_size=Pt(12.5)
)
footer_bar(sl, 7, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 8 – SLEEP DISTURBANCE & NIDRA
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Sleep Disturbance & Nidra",
"Scientific Mechanisms & Ayurvedic Concept of Trayopastambha")
bullet_box(sl,
title="Sleep Disturbance – Scientific Mechanism",
items=[
"Blue light → melatonin suppression → circadian phase delay",
"Reduced REM: impairs emotional regulation, memory, hormonal pulsatility",
"Reduced NREM (SWS): impairs GH secretion (70% secreted in SWS) → stunted pubertal growth",
"Disrupted nocturnal LH pulses → impaired folliculogenesis → anovulatory cycles",
"Poor sleep → ghrelin↑, leptin↓ → obesity, insulin resistance → PCOS features",
"Adolescents need 8–10 hrs/night; digital addiction reduces this to 5–6 hrs",
],
x=Inches(0.3), y=Inches(1.38), w=Inches(6.3), h=Inches(2.8),
title_color=MID_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Nidra – Trayopastambha",
items=[
"Nidra = one of three pillars of life (Ahara, Nidra, Brahmacharya) – CS Su.11",
"Types: Tamobhava, Shleshmasamudbhava, Manashrama Sambhava, Ratri Swabhava Prabhava (ideal)",
"During Nidra: Dhatu Poshana, Ojas Sanchaya, Kapha (anabolic) dominance",
"Nidra governed by Tamas Guna predominance in Manas – withdrawal of senses",
"Ideal: Ratri Swabhava Prabhava Nidra – natural nocturnal sleep",
],
x=Inches(6.8), y=Inches(1.38), w=Inches(6.2), h=Inches(2.8),
title_color=DARK_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Nidranasha – Causes, Effects & Kaumarabhritya Impact",
items=[
"Nidana: Atiyoga of Chakshu (screen use), Vata-Pitta aggravation, Chinta (social media anxiety), irregular Dinacharya",
"Upadrava: Klama (fatigue), Smriti Bhramsha, Chittodvega, hormonal imbalance, Artava Dushti",
"Key point: Nidranasha → Apana Vata Vikrti → impaired Artava Pravrutti → menstrual disorders",
],
x=Inches(0.3), y=Inches(4.3), w=Inches(12.7), h=Inches(1.5),
title_color=ORANGE_ACC, item_size=Pt(12.5)
)
shloka_box(sl,
shloka="निद्रायत्तं सुखं दुःखं पुष्टिः कार्श्यं बलाबलम् । वृषता क्लैब्यम् ज्ञानमज्ञानं जीवितं न च ॥",
ref="Happiness, nourishment, strength, virility, knowledge and life itself — all depend on Nidra. — Charaka Samhita, Sutra Sthana 21/36",
y=Inches(5.87), h=Inches(1.1)
)
footer_bar(sl, 8, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 9 – NIDRANASHA & ARTAVA CHAKRA
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Nidranasha & Impact on Artava Chakra",
"Kaumarabhritya Perspective on Sleep-Menstrual Connection")
# Pathway flow
add_rect(sl, Inches(0.3), Inches(1.38), Inches(12.7), Inches(0.5), fill_rgb=DARK_GREEN)
tf = add_tb(sl, Inches(0.4), Inches(1.4), Inches(12.5), Inches(0.45))
first_para(tf,
"Digital Addiction → Nidranasha → Vata-Pitta Vriddhi → Apana Vata Vikrti → Artava Dushti → Menstrual Disorders",
bold=True, size=Pt(13.5), color=WHITE, align=PP_ALIGN.CENTER)
bullet_box(sl,
title="Pathogenesis Chain (Samprapti)",
items=[
"Nidana: Atiyoga of Chakshu + Prajnaparadha + Chinta + Irregular Dinacharya",
"Vata & Pitta Vriddhi → Manovaha Srotas Dushti → Chittodvega, Nidranasha",
"Nidranasha → Dhatu Akshaya (tissue depletion) → Rasa Dhatu Kshaya",
"Rasa Dhatu Kshaya → Artava Dhatu Kshaya (Upadhatu deficit)",
"Apana Vata Dushti (due to Vata Vriddhi) → impaired Artava Pravrutti",
"Result: Anaratava (oligomenorrhea), Pradara, Kashtartava, PMOS symptoms",
],
x=Inches(0.3), y=Inches(2.0), w=Inches(6.3), h=Inches(2.95),
title_color=MID_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Modern Correlation",
items=[
"Sleep deprivation → elevated cortisol → GnRH suppression",
"Disrupted nocturnal LH pulsatility → failure of follicular maturation",
"Hyperprolactinemia (from dopamine dysregulation) → anovulation",
"Obesity (poor sleep → ghrelin↑) → hyperinsulinemia → hyperandrogenism → PCOS",
"Hypothalamic amenorrhea in severe cases (similar to exercise-induced)",
"BMC Psychology (2024): sleep disorder + anxiety = strongest predictor of menstrual irregularity in adolescents",
],
x=Inches(6.8), y=Inches(2.0), w=Inches(6.2), h=Inches(2.95),
title_color=DARK_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Clinical Features in Kumari Avastha (10–16 yrs)",
items=[
"Delayed menarche (Anaratava) | Painful periods (Kashtartava) | Heavy flow (Rakta Pradara)",
"Mood disorders (Manodukha) | Acne (Pidaka – Pitta) | Weight gain (Sthoulya – Kapha)",
],
x=Inches(0.3), y=Inches(5.05), w=Inches(12.7), h=Inches(1.02),
title_color=ORANGE_ACC, item_size=Pt(12.5)
)
shloka_box(sl,
shloka="वातेन हि विना योनिर्न दुष्यति कदाचन । तस्मात् प्रथमतो वायुं शमयेत् तत्र तत्त्ववित् ॥",
ref="Without Vata aggravation, the uterus never becomes disordered; hence Vata must be pacified first. — Ashtanga Hridayam",
y=Inches(6.12), h=Inches(1.1)
)
footer_bar(sl, 9, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 10 – PHYSICAL ACTIVITY & VYAYAMA
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Physical Activity & Vyayama",
"WHO Guidelines, Scientific Evidence & Kaumarabhritya Application")
bullet_box(sl,
title="WHO Recommendations (2020)",
items=[
"Adolescents 5–17 yrs: minimum 60 min MVPA (moderate-to-vigorous) daily",
"Vigorous aerobic + muscle/bone strengthening: ≥3 days/week",
"Limit recreational screen time: <2 hours/day",
"Reduce all prolonged sitting; replace with any movement",
],
x=Inches(0.3), y=Inches(1.38), w=Inches(6.3), h=Inches(2.2),
title_color=MID_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Scientific Evidence",
items=[
"Regular PA improves sleep quality, reduces sleep onset latency, stabilizes circadian rhythm",
"PA reduces cortisol + increases GABA → reduces digital-addiction-driven anxiety",
"PA provides healthy dopamine surge → reduces compulsive device use",
"Moderate exercise reduces prostaglandin-mediated dysmenorrhea (RCT: Nutrients 2025)",
"BMC Psychology (2024): PA → anxiety↓ → mobile dependence↓ (chain mediation)",
"CAUTION: Excessive exercise → RED-S → hypothalamic amenorrhea (Artava Kshaya)",
],
x=Inches(6.8), y=Inches(1.38), w=Inches(6.2), h=Inches(2.2),
title_color=DARK_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Vyayama in Ayurveda – Charaka Samhita Su. 7/31",
items=[
"Benefits: Laghava (lightness), Karma Samarthya (work capacity), Deepta Agni, Medas Kshaya, Vibhakta Gatratva",
"Ardha Shakti Vyayama (half-capacity exercise) recommended – avoid Ativyayama (excessive exercise)",
"Ativyayama Dushti: Vata Vriddhi → trembling, breathlessness, Artava Kshaya",
"Suitable for Kumari: Surya Namaskar, Trikonasana, Pavanamuktasana, Bhujangasana",
"Pranayama: Anuloma-Viloma (Vata), Sheetali (Pitta), Kapalbhati (Kapha + Medas)",
"Vyayama chain: Balanced Doshas → Healthy Dhatus → Balanced Hormones → Regular Artava",
],
x=Inches(0.3), y=Inches(3.7), w=Inches(12.7), h=Inches(2.5),
title_color=ORANGE_ACC, item_size=Pt(12.5)
)
shloka_box(sl,
shloka="लाघवं कर्मसामर्थ्यं दीप्तोऽग्निर्मेदसः क्षयः । विभक्तघनगात्रत्वं व्यायामादुपजायते ॥",
ref="Lightness, capacity for work, kindled Agni, reduction of fat, well-built physique — these arise from Vyayama. — CS Su. 7/31",
y=Inches(6.27), h=Inches(1.1)
)
footer_bar(sl, 10, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 11 – AYURVEDIC MANAGEMENT & RASAYANA
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Ayurvedic Management & Rasayana Therapy",
"Comprehensive Kaumarabhritya Approach")
bullet_box(sl,
title="Lifestyle Interventions (Dinacharya & Sadvritta)",
items=[
"Dinacharya: structured daily routine – early waking (Brahma Muhurta), device-free morning/night",
"Ritucharya: seasonal diet and activity adjustments to prevent Dosha imbalance",
"Sadvritta: ethical conduct → limit screen time, encourage real-world social bonding",
"Ratri Charya: avoid screen 1–2 hrs before sleep; practice Abhyanga (oil massage) for Vata",
],
x=Inches(0.3), y=Inches(1.38), w=Inches(6.3), h=Inches(2.25),
title_color=MID_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="Rasayana Therapy for Kumari",
items=[
"Brahmi Ghrita (oral/Nasya): targets Manovaha Srotas, reduces anxiety, improves memory",
"Shankhapushpi: Medhya Rasayana – calms Vata in Manas, improves sleep",
"Ashwagandha (Withania somnifera): adaptogen, reduces cortisol, Balya, hormonal balance",
"Guduchi: Tridosha-shamaka, Rasayana, Ojas builder, immunomodulator",
"Shatavari: premier female Rasayana – supports Artava Dhatu, balances Apana Vata",
],
x=Inches(6.8), y=Inches(1.38), w=Inches(6.2), h=Inches(2.25),
title_color=DARK_GREEN, item_size=Pt(12.5)
)
# Table header
add_rect(sl, Inches(0.3), Inches(3.75), Inches(12.7), Inches(0.38), fill_rgb=MID_GREEN)
tf_h = add_tb(sl, Inches(0.4), Inches(3.77), Inches(12.5), Inches(0.34))
first_para(tf_h, "Intervention | Ayurvedic Equivalent | Mechanism of Action",
bold=True, size=Pt(12), color=WHITE, align=PP_ALIGN.CENTER)
rows = [
("Screen detox / device curfew", "Indriya Nigraha, Sadvritta", "Breaks Asatmyendriyartha Samyoga"),
("Yoga + Pranayama daily", "Vyayama + Pranayama", "Dopamine regulation, Vata-Pitta balance, sleep quality"),
("Warm milk + Ashwagandha before sleep", "Nidrajanana Upaya", "Melatonin precursor (tryptophan) + adaptogen"),
("Abhyanga (sesame oil massage)", "Snehana", "Calms Vata, activates parasympathetic, improves sleep"),
("Sattvika Ahara (light evening meal)", "Ahara Niyama", "Reduces Tamas, supports Nidra onset naturally"),
]
row_cols = [LIGHT_GREY, WHITE]
for ri, (col1, col2, col3) in enumerate(rows):
y = Inches(4.13) + ri * Inches(0.38)
bg = row_cols[ri % 2]
add_rect(sl, Inches(0.3), y, Inches(12.7), Inches(0.38), fill_rgb=bg,
line_rgb=MID_GREEN, line_width=Pt(0.5))
tf_r = add_tb(sl, Inches(0.4), y + Inches(0.04), Inches(12.4), Inches(0.32))
first_para(tf_r, f"{col1} | {col2} | {col3}", size=Pt(11), color=DARK_GREY)
footer_bar(sl, 11, TOTAL)
# ════════════════════════════════════════════════════════════════════════════
# SLIDE 12 – CONCLUSION & REFERENCES
# ════════════════════════════════════════════════════════════════════════════
sl = prs.slides.add_slide(blank)
slide_bg(sl)
header_bar(sl, "Conclusion & References", "")
bullet_box(sl,
title="Conclusion",
items=[
"Digital addiction → Dopamine dysregulation + Blue light → Nidranasha → Artava Dushti",
"Nidranasha disrupts nocturnal LH pulsatility → directly impairs pubertal menstrual health",
"Prajnaparadha + Asatmyendriyartha Samyoga = Ayurvedic nidana for digital addiction",
"Apana Vata Vikrti is the key mechanism linking sleep disorder to menstrual irregularity",
"Vyayama, Dinacharya, Rasayana (Brahmi, Shatavari, Ashwagandha) = holistic Kaumarabhritya management",
"Integration of modern evidence with Ayurvedic principles offers comprehensive care for adolescent girls",
],
x=Inches(0.3), y=Inches(1.38), w=Inches(12.7), h=Inches(2.45),
title_color=MID_GREEN, item_size=Pt(12.5)
)
bullet_box(sl,
title="References",
items=[
"Charaka Samhita – Sutra Sthana 7/31 (Vyayama), 11/35 (Nidra/Trayopastambha), Sharira Sthana 1",
"Sushruta Samhita – Shareera Sthana (Artava Dhatu, Rajodarshanam)",
"Ashtanga Hridayam – Shareera Sthana (Yoni Vyapat, Apana Vata)",
"Kashyapa Samhita – Kaumarabhritya (Dhatuparipurnata, Rajaswala Avastha)",
"Guyton & Hall Medical Physiology – Ch.82 (HPG Axis, KNDy neurons, Puberty)",
"WHO Guidelines on Physical Activity & Sedentary Behaviour (2020) | ICD-11 (2019)",
"Ahir J et al. Digital Media Overuse in Children – Ayurvedic Perspective. IJDDT 2024",
"PMC12924122 – Social Media Addiction through Ayurveda & Neuroscience (2025)",
"Fatima G et al. Mobile Phone Addiction & Sleep Quality in Adolescents. Cureus 2026 (PMID 41769498)",
"BMC Psychology (2024) – PA, Anxiety & Mobile Dependence Chain Mediation Model",
"Nutrients (2025) – HIIT & Probiotic on Dysmenorrhea (PMID 40004951)",
],
x=Inches(0.3), y=Inches(3.95), w=Inches(12.7), h=Inches(3.0),
title_color=DARK_GREEN, item_size=Pt(11),
bullet="-"
)
footer_bar(sl, 12, TOTAL)
# ─── Save ────────────────────────────────────────────────────────────────────
out_path = "/tmp/workspace/kaumarabhritya-ppt/Digital_Addiction_Sleep_Puberty_Kaumarabhritya.pptx"
from io import BytesIO
buf = BytesIO()
prs.save(buf)
with open(out_path, "wb") as f:
f.write(buf.getvalue())
print(f"Saved: {out_path}")
print(f"Slides: {len(prs.slides)}")
python3 /tmp/workspace/kaumarabhritya-ppt/build_ppt.py 2>&1
python3 -c " from pptx import Presentation prs = Presentation('/tmp/workspace/kaumarabhritya-ppt/Digital_Addiction_Sleep_Puberty_Kaumarabhritya.pptx') print(f'Total slides: {len(prs.slides)}') for i, slide in enumerate(prs.slides, 1): texts = [] for shape in slide.shapes: if shape.has_text_frame: t = shape.text_frame.text.strip() if t: texts.append(t[:80]) print(f'Slide {i}: {texts[0] if texts else \"(no text)\"}') import os size = os.path.getsize('/tmp/workspace/kaumarabhritya-ppt/Digital_Addiction_Sleep_Puberty_Kaumarabhritya.pptx') print(f'File size: {size/1024:.1f} KB') "
Digital Addiction Sleep Puberty Kaumarabhritya
Presentation · PPTX
| Slide | Title |
|---|---|
| 1 | Title slide - Dr. Rushikesh Salunkhe, JSSAMC Mysuru |
| 2 | Contents (all 11 topics mapped) |
| 3 | Introduction & Ayurvedic Framework (PMOS, Artava Chakra, Rasa Dhatu) |
| 4 | Physiology of Puberty - KNDy neurons, HPG axis + Rajaswala Avastha |
| 5 | Digital Addiction - ICD-11, epidemiology, adolescent neurovulnerability |
| 6 | Dopamine Reward Pathway + Blue Light mechanism (400-490 nm) |
| 7 | Digital Addiction in Ayurveda - Prajnaparadha, Srotas Dushti, Dosha analysis |
| 8 | Sleep Disturbance & Nidra - Trayopastambha, types of Nidra, shloka |
| 9 | Nidranasha → Artava Chakra - Samprapti, modern correlation, shloka |
| 10 | Physical Activity & Vyayama - WHO guidelines, RCT evidence, Ardha Shakti |
| 11 | Ayurvedic Management - Dinacharya, Rasayana table (Brahmi, Shatavari, Ashwagandha) |
| 12 | Conclusion + 11 references (Charaka, Sushruta, Guyton, WHO, PubMed PMIDs) |