neet 2027

Asking for Preferences
Asking for Preferences
Here's a high-yield, dropper-specific NEET 2027 strategy targeting 700+ (AIR top 1000).

NEET 2027 Strategy — Dropper, Target 700+

Time available: ~14 months (May 2026 → May 2027)

Phase 1 — Diagnostic & Foundation Reset (May – June 2026) · 8 weeks

The biggest dropper mistake is rushing into new content. Start with a hard reset.
  1. Attempt a full NEET 2024 paper under exam conditions. Score it honestly.
  2. Chapter-wise audit — categorise every chapter as: Strong / Needs revision / Weak
  3. Fix your weakest subject first. Most droppers are uneven — Physics usually drags the score.
  4. Build a chapter list ranked by PYQ frequency (use NTA's official question bank or Edugorilla compilations).

Phase 2 — Revision + Strengthening (July – November 2026) · ~20 weeks

Biology (360 marks — non-negotiable)
  • NCERT lines are the exam. Read Class 11 + 12 NCERT Biology word-for-word, minimum 3 times.
  • Prioritised chapters: Genetics & Evolution, Human Physiology, Plant Physiology, Ecology, Reproduction
  • Flashcard every diagram (plant anatomy, nephron, heart, etc.)
  • Target: 340+/360 — this alone can place you in the top 1%
Chemistry (180 marks)
  • Physical Chem: Master numericals — mole concept, electrochemistry, chemical kinetics, thermodynamics
  • Organic Chem: Mechanism-based thinking. Named reactions + reagents from NCERT + N. Avasthi for practice
  • Inorganic Chem: Pure NCERT. Periodic trends, d-block, coordination compounds — memorise tables
  • Target: 160+/180
Physics (180 marks)
  • Conceptual clarity > shortcut formulas
  • High-yield: Mechanics, Electrostatics, Current Electricity, Modern Physics, Optics
  • HC Verma for concepts; then solve PYQs chapter-wise
  • Target: 160+/180 (most distinguishing subject at top ranks)

Phase 3 — PYQ Deep Dive (December 2026 – January 2027) · 8 weeks

  • Solve last 15 years of NEET PYQs chapter-wise (not year-wise)
  • Identify questions that repeat with twisted phrasing — these are gifts
  • For each wrong answer, trace it back to a specific NCERT line or concept

Phase 4 — Full Mock Test Blitz (February – April 2027) · 12 weeks

WeekActivity
1–42 full mocks/week (Aakash/Allen/NTA Abhyas)
5–83 full mocks/week + 1 minor test
9–12Daily subject tests + 2 full mocks/week
Mock test discipline:
  • Always 3-hour exam conditions, pen & paper
  • Spend 1 hour post-mock on error analysis — not on score
  • Maintain an "error log" — same mistakes twice = that chapter needs one more revision

Phase 5 — Final Revision (May 2027, ~3 weeks before exam)

  • Only NCERT + your error log. No new sources.
  • Rapid chapter cycling: complete Biology in 3 days, Chemistry in 2, Physics in 2
  • Sleep 7–8 hours — memory consolidation is real

Daily Schedule (Sample)

TimeActivity
6:00–8:00 AMBiology (NCERT reading / PYQs)
8:30–10:30 AMPhysics (concepts + numericals)
11:00–1:00 PMChemistry
2:30–4:30 PMRevision of morning topics
5:00–6:30 PMPYQ practice / weak chapter focus
8:00–9:00 PMFlashcard review / notes
Rest on Sundays — at minimum, keep afternoons free. Burnout is a real NEET dropout cause.

Resources (Minimal, High Quality)

SubjectBook/Resource
BiologyNCERT (primary), Trueman's (reference only)
PhysicsHC Verma (concepts), DC Pandey (MCQs)
ChemistryNCERT, N. Avasthi (Physical), MS Chauhan (Organic)
MocksNTA Abhyas App (free), Allen test series, Aakash iTutor
PYQsMTG 33 Years NEET Explorer or Disha PYQ Chapterwise

The 700+ Differentiator

At 700+, the margin is often 5–10 questions. These are won by:
  • Eliminating silly errors (practice OMR discipline)
  • Zero negative marking slips (attempt ~170–175 questions, not all 180)
  • NCERT diagrams and exact NCERT language in Biology MCQs
  • Not wasting time on impossible Physics questions — move on

Want me to break down any subject in more detail, or create a week-by-week schedule for a specific phase?

yes

Asking for Preferences

Biology Deep Dive — NEET 2027 (Target: 340+/360)

Biology is where NEET is won. At 700+, you simply cannot afford to drop more than ~20 marks here.

Chapter Priority (by PYQ frequency + marks potential)

🔴 Tier 1 — Highest Yield (Study 3+ times)

ChapterClassAvg. Questions/Year
Human Reproduction124–6
Genetics & Mendelian Inheritance125–7
Molecular Basis of Inheritance (DNA)125–7
Evolution123–5
Human Health & Disease124–6
Plant Kingdom113–5
Animal Kingdom114–6
Biological Classification112–4
Digestion & Absorption113–4
Breathing & Exchange of Gases112–4

🟡 Tier 2 — High Yield (Study 2 times)

ChapterClass
Reproductive Health12
Principles of Inheritance (Chromosomal basis)12
Microbes in Human Welfare12
Biotechnology: Principles & Processes12
Biotechnology & Its Applications12
Ecosystem12
Biodiversity & Conservation12
Body Fluids & Circulation11
Excretory Products & Elimination11
Locomotion & Movement11
Neural Control & Coordination11
Chemical Coordination (Endocrine)11
Cell: Structure & Function11
Biomolecules11

🟢 Tier 3 — Don't skip, but lighter revision

ChapterClass
Transport in Plants11
Mineral Nutrition11
Photosynthesis11
Respiration in Plants11
Plant Growth & Development11
Morphology of Flowering Plants11
Anatomy of Flowering Plants11
Structural Organisation in Animals11
Environmental Issues12
Organisms & Populations12

How to Study Each Chapter

Step 1 — NCERT First Pass (Reading) Read line-by-line, not for understanding but for familiarity. Don't stop at difficult lines — keep moving. Mark confusing sentences with a pencil.
Step 2 — NCERT Second Pass (Active)
  • Write chapter headings and sub-headings from memory (forces recall)
  • Draw every diagram from memory (nephron, heart, spermatogenesis, lac operon, etc.)
  • For tables (e.g., plant hormones, vitamins, diseases), convert them to flashcards
Step 3 — PYQs Chapter-wise After finishing each chapter, solve 15–20 years of PYQs for that chapter only. This reveals:
  • Exact NCERT lines NTA loves to quote
  • Trick phrasing patterns
  • Which diagrams come as MCQs
Step 4 — NCERT Third Pass (Targeted) Go back only to lines where you got PYQs wrong. Underline those sentences. These are gold.

Chapter-Specific Tips

Genetics & Molecular Biology (combined ~12–14 questions)
  • Pedigree analysis: practice 20+ pedigrees until you can call inheritance pattern in 30 seconds
  • DNA replication, transcription, translation — know exact enzymes, directions, sequences
  • Lac operon, human genome project numbers, DNA fingerprinting — NCERT exact figures
  • Codons: memorise start codon (AUG), stop codons (UAA, UAG, UGA)
Animal Kingdom
  • Don't try to memorise all animals — memorise the defining features of each phylum
  • Key: notochord position, coelom type, symmetry, examples NTA uses repeatedly
  • Chordates vs Non-chordates boundary questions appear every year
Plant Kingdom
  • Alternation of generations for each group (algae → bryophytes → pteridophytes → gymnosperms → angiosperms)
  • Examples: NTA asks specific example organisms. Make a list per group.
  • Ploidy questions (n, 2n, 3n in seeds) — very common
Human Physiology (4 chapters, ~15 questions collectively)
  • Nephron diagram must be perfect — every part, every process
  • ECG waves — P, Q, R, S, T and what each represents
  • Enzyme + site in digestion (exact sequence: mouth → stomach → small intestine)
  • Nerve impulse: resting potential numbers (−70 mV), action potential sequence
Human Health & Disease
  • Know causative agents for every disease: organism name, type (bacteria/virus/protozoa/fungus/helminth)
  • AIDS: CD4+ T-cell count, window period, transmission
  • Cancer: proto-oncogene vs oncogene, types of carcinogens
  • Innate vs adaptive immunity — specific cells and their roles
Biotechnology
  • Tools of recombinant DNA: restriction enzymes (types I, II, III — NTA loves Type II), vectors, competent cells
  • PCR: denaturation → annealing → extension, temperature at each step
  • Bt cotton, Golden Rice, Rosie the cow — specific applications with reasons
  • ELISA, Southern blotting, Northern blotting — know which detects what
Ecology (Ecosystem + Biodiversity + Organisms & Populations)
  • Food chain energy flow: 10% law, trophic levels, ecological pyramids (upright vs inverted)
  • Species diversity indices, biodiversity hotspots (India has 4), IUCN categories
  • Population interactions: all 6 types with examples (+/−, symbols, organism pairs)

Revision Cycle (14 months)

PeriodActivity
May–June 2026Complete all Tier 1 chapters (first + second pass)
July–Aug 2026Complete Tier 2 chapters + PYQs for Tier 1
Sep–Oct 2026Tier 3 chapters + PYQs for Tier 2
Nov 2026Full Biology PYQ revision (all chapters)
Dec 2026–Jan 2027Second full cycle: all chapters rapid revision
Feb–Apr 2027Weekly Biology mocks + error log revision
May 2027Only NCERT + error log, no new material

Common Dropper Mistakes in Biology

  • Reading NCERT passively — You must actively recall, not just read
  • Skipping inorganic-style Bio (Animal/Plant Kingdom) because it feels like "rote" — these chapters give free marks
  • Ignoring diagrams — At least 8–10 questions per year are diagram-based
  • Not tracking wrong PYQs — Every wrong answer has a source NCERT line. Find it.
  • Overusing reference books — Trueman's, Campbell etc. are for clarification only. The exam is NCERT.

Score Breakdown to Hit 340+

SectionTarget CorrectMarks
Botany (45 Qs)42–43 correct~168–172
Zoology (45 Qs)42–43 correct~168–172
Total~85/90~340+
That means you can afford to drop roughly 5 questions across all of Biology. It sounds tight — but with 3 full NCERT cycles and PYQ mastery, it's very achievable.

Want the same deep dive for Chemistry or Physics next, or a week-by-week timetable?

ues

Asking for Preferences
Here's the full breakdown for all three — Chemistry, Physics, and a complete week-by-week timetable.

Chemistry Deep Dive — Target: 160+/180

Chemistry has the most predictable scoring pattern. Physical Chem rewards practice, Organic rewards understanding, Inorganic rewards NCERT discipline.

Chapter Priority

🔴 Tier 1 — Highest Yield

ChapterTypeAvg Qs/Year
Mole Concept & StoichiometryPhysical2–3
Chemical BondingPhysical/Inorganic4–5
ThermodynamicsPhysical3–4
ElectrochemistryPhysical3–4
Chemical KineticsPhysical3–4
Coordination CompoundsInorganic4–5
Alcohols, Phenols & EthersOrganic3–4
Carbonyl Compounds (Aldehydes & Ketones)Organic3–4
BiomoleculesOrganic3–4
p-Block Elements (Group 15–18)Inorganic4–5

🟡 Tier 2 — High Yield

ChapterType
Atomic StructurePhysical
Equilibrium (Chemical + Ionic)Physical
SolutionsPhysical
Surface ChemistryPhysical
d & f Block ElementsInorganic
Haloalkanes & HaloarenesOrganic
AminesOrganic
PolymersOrganic
Chemistry in Everyday LifeOrganic
s-Block (Alkali & Alkaline Earth Metals)Inorganic

Physical Chemistry — How to Study

Core approach: Formula → Derivation understanding → Numericals → PYQs
  • Mole Concept: Master mole-mass-volume-number conversions cold. Limiting reagent, empirical/molecular formula, % composition — solve 50+ problems minimum.
  • Thermodynamics: Hess's law, bond enthalpy, Gibbs free energy (ΔG = ΔH − TΔS), spontaneity. NTA asks conceptual + 1–2 numerical.
  • Electrochemistry: Nernst equation, cell EMF, electrolysis (Faraday's laws), conductance. Solve every NCERT example + exercise.
  • Chemical Kinetics: Rate law, order vs molecularity, Arrhenius equation, integrated rate laws (zero, first order). Graphs of concentration vs time — very commonly tested.
  • Equilibrium: Ka, Kb, Kw, pH, buffer — know relationships. Le Chatelier's principle applied to industrial processes (Haber, Contact).
Resource: N. Avasthi for Physical Chem numericals (do only NEET-level problems, not JEE Advanced).

Inorganic Chemistry — How to Study

Core approach: NCERT → Tables → Flashcards → PYQs
Inorganic is pure memory — but smart memory, not brute force.
  • p-Block: Oxidation states, allotropes (phosphorus, sulphur, carbon), oxoacids (structures + names), anomalous behaviour of first member. Group 17 & 18 are exam favourites.
  • d-Block: Electronic configurations (especially exceptions: Cr, Cu, Mo, Ag), colour, paramagnetism, catalytic properties. Know which elements are used as catalysts in which reactions.
  • Coordination Compounds: IUPAC naming rules (practice 20+ compounds), isomerism types (geometric, optical, linkage, ionisation), Crystal Field Theory (high spin vs low spin, colour origin), VBT vs CFT — know limitations of each.
  • s-Block: Anomalous behaviour of Li and Be (diagonal relationship), flame colours, hardness of water, Portland cement composition.
Key habit: After reading each inorganic chapter, make a 1-page summary table. Revise only these tables in final weeks.

Organic Chemistry — How to Study

Core approach: Mechanism → Named Reactions → PYQs
  • Never memorise reactions without understanding the mechanism (nucleophile attacks electrophile, etc.)
  • Named reactions to master: Aldol condensation, Cannizzaro, Clemmensen, Wolff-Kishner, Reimer-Tiemann, Kolbe's, Hell-Volhard-Zelinsky, Sandmeyer, Balz-Schiemann, Hoffmann bromamide, Carbylamine test
  • Reagent → Product: NTA often gives a reagent and asks what it does. Make a reagent table: LiAlH4, NaBH4, HI, HBr, Br2/CCl4, KMnO4 (acidic/alkaline), ozonolysis, etc.
  • Biomolecules: Reducing vs non-reducing sugars, anomers, peptide bonds, enzyme classification, vitamins (fat vs water soluble, deficiency diseases)
  • Polymers: Addition vs condensation, natural vs synthetic, specific examples (Nylon-6 vs Nylon-6,6, Buna-S, PHBV, etc.)
Resource: MS Chauhan for Organic (Elementary Problems only for NEET).

Chemistry Score Breakdown

SectionTargetMarks
Physical (15–16 Qs)14–15 correct56–60
Inorganic (14–15 Qs)14–15 correct56–60
Organic (14–15 Qs)13–14 correct52–56
Total~43/45~164–172


Physics Deep Dive — Target: 160+/180

Physics separates AIR 500 from AIR 5000. Most droppers score 120–140 here. Pushing to 160+ is the single biggest rank jump available.

Chapter Priority

🔴 Tier 1 — Highest Yield

ChapterClassAvg Qs/Year
Laws of Motion112–3
Work, Energy & Power112–3
Rotational Motion112–4
Electrostatics124–5
Current Electricity124–5
Electromagnetic Induction122–3
Alternating Current122–3
Ray Optics123–4
Wave Optics122–3
Modern Physics (Dual Nature + Atoms + Nuclei)125–7
Semiconductors123–4

🟡 Tier 2

ChapterClass
Kinematics11
Gravitation11
Oscillations (SHM)11
Waves11
Thermal Properties + Thermodynamics11
Magnetic Effects of Current12
Moving Charges & Magnetism12

How to Study Physics

Step 1 — Concepts from HC Verma (Chapters 1 each) Read the concept section. Do the worked examples. Do NOT do all exercises — only the MCQ/short answer type.
Step 2 — NCERT Examples + Exercises Many NEET Physics questions are direct lifts from NCERT examples. Solve every single one.
Step 3 — PYQs (DC Pandey NEET Explorer or similar) After each chapter: solve 15 years of PYQs. Note which formulas appear most.

Chapter-Specific Tips

Modern Physics (~6–7 questions — most scorable in Physics)
  • Photoelectric effect: Einstein's equation (KE = hν − φ), threshold frequency, stopping potential — conceptual, not hard numericals
  • Bohr model: radius, velocity, energy at nth orbit — all formulae with n² and n relationships
  • Nuclear physics: binding energy per nucleon curve, mass defect, radioactive decay law (N = N₀e^−λt), half-life
  • These questions are highly formulaic — once you know the equations, they take 30 seconds each
Electrostatics + Current Electricity (~8–10 questions combined)
  • Coulomb's law, electric field, potential, capacitance — all inter-related, understand connections
  • Kirchhoff's laws: KVL + KCL — practice circuit problems until they're mechanical
  • Wheatstone bridge, potentiometer, meter bridge — direct NCERT questions appear every year
  • Internal resistance, EMF numericals — 1–2 questions guaranteed
Rotational Motion (hardest conceptual chapter)
  • Moment of inertia: memorise standard values (ring, disc, sphere, rod) for all axes
  • Parallel and perpendicular axis theorems
  • Rolling without slipping: v_cm, ω relationships — conservation of energy approach
  • Angular momentum conservation problems — practice 10+ before mocks
Optics (Ray + Wave, ~5–7 questions)
  • Mirror/lens formula, magnification — sign convention must be automatic
  • Refraction through prism: deviation, minimum deviation condition
  • Young's double slit: fringe width β = λD/d, conditions for maxima/minima
  • Diffraction grating, polarisation by Malus law — formulae only, no derivation needed
Semiconductors (~3–4 questions)
  • p-n junction: forward/reverse bias, depletion layer behaviour
  • Logic gates: AND, OR, NOT, NAND, NOR, XOR — truth tables and Boolean expressions
  • Rectifier circuits (half wave, full wave) — these are direct NCERT diagram questions

Physics Mistake to Avoid

  • Skipping numericals — You cannot "understand" Physics without doing problems. Minimum 10 numericals per chapter.
  • Ignoring units — Many NEET Physics questions are solved by dimensional analysis alone
  • Attempting everything — In the exam, identify the 35–38 "easy/medium" Physics questions in the first pass. Lock those. Attempt hard ones only if time remains.

Physics Score Breakdown

CategoryQuestionsTarget
Easy (direct formula/concept)~20All 20 correct
Medium (1–2 steps)~1513–14 correct
Hard (multi-step)~105–6 correct
Total45~38–40 correct = 152–160
Push hard questions with revision cycles and you'll cross 160.


Week-by-Week Timetable — May 2026 to May 2027

Structure: 6 days/week study. Sunday = light revision + rest. Daily hours: 8–9 hours (achievable, not burnout-inducing).

Phase 1 — Diagnostic + Foundation (May 10 – June 7, 2026) · 4 weeks

WeekFocus
Week 1 (May 10–16)Attempt NEET 2024 full paper → Score + audit all chapters → Make Weak/OK/Strong list
Week 2 (May 17–23)Bio: Animal Kingdom, Plant Kingdom, Biological Classification (NCERT 1st pass)
Week 3 (May 24–30)Chem: Mole Concept + Atomic Structure + Chemical Bonding (NCERT + problems)
Week 4 (May 31–Jun 7)Physics: Kinematics + Laws of Motion (HC Verma concepts + NCERT)

Phase 2 — Core Syllabus (June 8 – October 31, 2026) · 21 weeks

WeekBiologyChemistryPhysics
W5 (Jun 8–14)Cell Structure + BiomoleculesThermodynamicsWork, Energy & Power
W6 (Jun 15–21)Cell Division + MorphologyEquilibrium (Chemical)Rotational Motion (Part 1)
W7 (Jun 22–28)Plant Anatomy + Transport in PlantsEquilibrium (Ionic)Rotational Motion (Part 2)
W8 (Jun 29–Jul 5)Mineral Nutrition + PhotosynthesisSolutionsGravitation
W9 (Jul 6–12)Respiration + Plant GrowthElectrochemistrySHM + Waves
W10 (Jul 13–19)Human Digestion + BreathingChemical KineticsThermal Properties
W11 (Jul 20–26)Body Fluids + Circulations-BlockThermodynamics (Physics)
W12 (Jul 27–Aug 2)Excretory Systemp-Block Part 1 (Groups 13–14)Electrostatics Part 1
W13 (Aug 3–9)Locomotion + Neural Controlp-Block Part 2 (Groups 15–18)Electrostatics Part 2
W14 (Aug 10–16)Chemical Coordination (Endocrine)d & f BlockCurrent Electricity Part 1
W15 (Aug 17–23)Human ReproductionCoordination CompoundsCurrent Electricity Part 2
W16 (Aug 24–30)Reproductive HealthHaloalkanes & HaloarenesMagnetic Effects
W17 (Aug 31–Sep 6)Genetics + Mendelian LawsAlcohols, Phenols & EthersMoving Charges + Magnetism
W18 (Sep 7–13)Chromosomal Basis of InheritanceAldehydes & KetonesEMI
W19 (Sep 14–20)Molecular Basis (DNA + RNA)Carboxylic AcidsAlternating Current
W20 (Sep 21–27)EvolutionAminesRay Optics Part 1
W21 (Sep 28–Oct 4)Human Health & DiseaseBiomolecules (Chem)Ray Optics Part 2
W22 (Oct 5–11)Microbes in Human WelfarePolymers + Everyday LifeWave Optics
W23 (Oct 12–18)Biotechnology PrinciplesSurface ChemistryDual Nature of Radiation
W24 (Oct 19–25)Biotechnology ApplicationsGeneral Organic ChemistryAtoms + Nuclei
W25 (Oct 26–Nov 1)Ecosystem + Organisms & PopulationsRevision: Physical ChemSemiconductors + Communication

Phase 3 — PYQ Blitz (November 2 – December 28, 2026) · 8 weeks

WeekActivity
W26 (Nov 2–8)Bio PYQs: Animal Kingdom, Plant Kingdom, Classification, Cell
W27 (Nov 9–15)Bio PYQs: Plant Physiology (all 5 chapters)
W28 (Nov 16–22)Bio PYQs: Human Physiology (all 5 chapters)
W29 (Nov 23–29)Bio PYQs: Reproduction, Genetics, Molecular Biology
W30 (Nov 30–Dec 6)Bio PYQs: Evolution, Health, Biotech, Ecology + Chem PYQs: Physical
W31 (Dec 7–13)Chem PYQs: Inorganic (all chapters)
W32 (Dec 14–20)Chem PYQs: Organic (all chapters) + Physics PYQs: Mechanics
W33 (Dec 21–28)Physics PYQs: Electricity + Optics + Modern Physics

Phase 4 — Second Revision Cycle (December 29, 2026 – January 25, 2027) · 4 weeks

WeekActivity
W34 (Dec 29–Jan 4)Rapid Bio revision: Tier 1 chapters only (NCERT 3rd read)
W35 (Jan 5–11)Rapid Bio revision: Tier 2 + 3 chapters + error log
W36 (Jan 12–18)Rapid Chem revision: all 3 sections + flashcard tables
W37 (Jan 19–25)Rapid Physics revision: all Tier 1 chapters + formula sheet

Phase 5 — Mock Test Blitz (January 26 – April 26, 2027) · 13 weeks

WeekMocksExtra
W38–W41 (Jan 26–Feb 22)2 full mocks/weekPost-mock 1-hr error analysis each time
W42–W46 (Feb 23–Mar 29)3 full mocks/weekSubject-wise mini tests on weak chapters
W47–W51 (Mar 30–May 3)3–4 full mocks/weekOnly revise error log between mocks
Running total by W51: ~70–80 full mocks attempted

Phase 6 — Final Lockdown (May 4–18, 2027)

DayActivity
May 4–6Biology: NCERT rapid read (all 38 chapters in 3 days — ~12–14 chapters/day)
May 7–8Chemistry: NCERT + 1-page summary tables only
May 9–10Physics: Formula sheet + key concepts only
May 11–14Error log + weak chapter flashcards only. No new PYQs.
May 15–17Light revision + sleep 8 hours. No full papers.
May 18 (Exam)Carry admit card, pencils, trust your preparation

Summary Targets

SubjectTarget ScoreMax Drops
Biology340+ / 3605 questions
Chemistry164+ / 1804 questions
Physics156+ / 1808 questions
Total660+ raw → 700+ after cutoff
Note: NEET scoring is +4/−1. At 700, you need ~178–180 correct out of 200 attempted questions with near-zero negatives. Selective skipping of genuinely unknown questions is smarter than guessing.

Want me to create this as a downloadable PDF or Excel timetable you can print and follow?

yes

Asking for Preferences
Reading File
Reading File
Running Command

mkdir -p /home/daytona/workspace/neet2027

Writing File

~/neet2027/create_excel.py

from openpyxl import Workbook
from openpyxl.styles import (Font, PatternFill, Alignment, Border, Side)
from openpyxl.utils import get_column_letter

wb = Workbook()

# ── colour palette ──────────────────────────────────────────────
C_DARK_BG   = "1A237E"   # deep navy  – sheet headers
C_BIO       = "1B5E20"   # dark green – Biology
C_BIO_LIGHT = "C8E6C9"
C_CHEM      = "0D47A1"   # dark blue  – Chemistry
C_CHEM_LIGHT= "BBDEFB"
C_PHY       = "B71C1C"   # dark red   – Physics
C_PHY_LIGHT = "FFCDD2"
C_MOCK      = "4A148C"   # purple     – Mock/Revision
C_MOCK_LIGHT= "E1BEE7"
C_PHASE     = "E65100"   # orange     – Phase headers
C_PHASE_LIGHT="FFE0B2"
C_GOLD      = "F57F17"
C_WHITE     = "FFFFFF"
C_GREY_HDR  = "37474F"
C_GREY_ROW  = "ECEFF1"

def hdr_font(size=11, bold=True, color=C_WHITE):
    return Font(name="Arial", size=size, bold=bold, color=color)

def body_font(size=10, bold=False, color="000000"):
    return Font(name="Arial", size=size, bold=bold, color=color)

def fill(hex_color):
    return PatternFill("solid", start_color=hex_color, fgColor=hex_color)

def center(wrap=False):
    return Alignment(horizontal="center", vertical="center", wrap_text=wrap)

def left(wrap=True):
    return Alignment(horizontal="left", vertical="center", wrap_text=wrap)

thin = Side(style="thin", color="BDBDBD")
med  = Side(style="medium", color="757575")

def thin_border():
    return Border(left=thin, right=thin, top=thin, bottom=thin)

def med_border():
    return Border(left=med, right=med, top=med, bottom=med)

def style_cell(cell, fg, font, align, border=None):
    cell.fill    = fill(fg)
    cell.font    = font
    cell.alignment = align
    if border:
        cell.border = border

# ════════════════════════════════════════════════════════════════
# SHEET 1 – OVERVIEW
# ════════════════════════════════════════════════════════════════
ws1 = wb.active
ws1.title = "Overview"
ws1.sheet_view.showGridLines = False

ws1.column_dimensions["A"].width = 28
ws1.column_dimensions["B"].width = 22
ws1.column_dimensions["C"].width = 22
ws1.column_dimensions["D"].width = 22
ws1.column_dimensions["E"].width = 18

# Title
ws1.merge_cells("A1:E1")
ws1["A1"] = "NEET 2027 – Master Study Plan"
style_cell(ws1["A1"], C_DARK_BG, hdr_font(16, True), center())

ws1.merge_cells("A2:E2")
ws1["A2"] = "Dropper | Target: 700+ (AIR Top 1000) | May 2026 – May 2027"
style_cell(ws1["A2"], C_GOLD, hdr_font(11, False, "000000"), center())

ws1.row_dimensions[1].height = 36
ws1.row_dimensions[2].height = 22

# ── Score targets table ──
headers = ["Subject", "Total Marks", "Target Score", "Max Wrong", "% Accuracy"]
col_fills = [C_GREY_HDR, C_GREY_HDR, C_GREY_HDR, C_GREY_HDR, C_GREY_HDR]

for r in range(3,5): ws1.row_dimensions[r].height = 6  # spacer

r = 5
ws1.row_dimensions[r].height = 20
for c, h in enumerate(headers, 1):
    cell = ws1.cell(row=r, column=c, value=h)
    style_cell(cell, C_GREY_HDR, hdr_font(10), center(), thin_border())

data = [
    ("Biology",   360, "340+", "≤5 questions",  "94%"),
    ("Chemistry", 180, "164+", "≤4 questions",  "91%"),
    ("Physics",   180, "156+", "≤8 questions",  "87%"),
    ("TOTAL",     720, "660+", "",               "92%"),
]
row_cols = [C_BIO_LIGHT, C_CHEM_LIGHT, C_PHY_LIGHT, C_PHASE_LIGHT]
for i, (subj, total, tgt, wrong, acc) in enumerate(data):
    r += 1
    ws1.row_dimensions[r].height = 18
    for c, val in enumerate([subj, total, tgt, wrong, acc], 1):
        cell = ws1.cell(row=r, column=c, value=val)
        bold = (subj == "TOTAL")
        style_cell(cell, row_cols[i], body_font(10, bold), center(), thin_border())

# ── Phase overview table ──
r += 2
phase_data = [
    ("Phase",    "Period",                    "Duration", "Focus",                           "Key Activity"),
    ("Phase 1",  "May 10 – Jun 7, 2026",      "4 weeks",  "Diagnostic + Foundation Reset",   "Full paper attempt, chapter audit, weak-list"),
    ("Phase 2",  "Jun 8 – Oct 31, 2026",      "21 weeks", "Core Syllabus Coverage",          "All chapters: NCERT 1st + 2nd pass + problems"),
    ("Phase 3",  "Nov 2 – Dec 28, 2026",      "8 weeks",  "PYQ Blitz (15 years)",            "Chapter-wise PYQs for all 3 subjects"),
    ("Phase 4",  "Dec 29 – Jan 25, 2027",     "4 weeks",  "Second Revision Cycle",           "Rapid NCERT re-read + error log"),
    ("Phase 5",  "Jan 26 – Apr 26, 2027",     "13 weeks", "Mock Test Blitz",                 "70–80 full mocks + post-mock analysis"),
    ("Phase 6",  "May 4 – 18, 2027",          "2 weeks",  "Final Lockdown",                  "NCERT only + error log + sleep"),
]
ph_clrs = [C_GREY_HDR, C_PHASE_LIGHT, C_BIO_LIGHT, C_CHEM_LIGHT, C_PHY_LIGHT, C_MOCK_LIGHT, "FFF9C4"]
ws1.column_dimensions["E"].width = 40
for pi, row_vals in enumerate(phase_data):
    ws1.row_dimensions[r].height = 22
    is_hdr = (pi == 0)
    for c, val in enumerate(row_vals, 1):
        cell = ws1.cell(row=r, column=c, value=val)
        fg = C_GREY_HDR if is_hdr else ph_clrs[pi]
        fnt = hdr_font(10) if is_hdr else body_font(10)
        style_cell(cell, fg, fnt, left() if c >= 4 else center(), thin_border())
    r += 1

# ════════════════════════════════════════════════════════════════
# SHEET 2 – WEEK-BY-WEEK TIMETABLE
# ════════════════════════════════════════════════════════════════
ws2 = wb.create_sheet("Weekly Timetable")
ws2.sheet_view.showGridLines = False

cols_w = [8, 20, 26, 26, 26, 22]
col_letters = ["A","B","C","D","E","F"]
for i, w in enumerate(cols_w):
    ws2.column_dimensions[col_letters[i]].width = w

ws2.merge_cells("A1:F1")
ws2["A1"] = "NEET 2027 – Week-by-Week Timetable (May 2026 – May 2027)"
style_cell(ws2["A1"], C_DARK_BG, hdr_font(14, True), center())
ws2.row_dimensions[1].height = 34

ws2.merge_cells("A2:F2")
ws2["A2"] = "6 study days/week | 8–9 hours/day | Sunday = light revision/rest"
style_cell(ws2["A2"], C_GOLD, body_font(10, False, "000000"), center())
ws2.row_dimensions[2].height = 18

# column headers
r = 3
ws2.row_dimensions[r].height = 22
for c, h in enumerate(["Wk", "Period", "Biology", "Chemistry", "Physics", "Notes/Phase"], 1):
    cell = ws2.cell(row=r, column=c, value=h)
    style_cell(cell, C_GREY_HDR, hdr_font(10), center(), thin_border())

# weekly data: (wk, period, bio, chem, phy, notes)
weekly = [
    # Phase 1
    ("W1",  "May 10–16",   "Attempt NEET 2024 full paper → Chapter audit",      "Attempt NEET 2024 full paper → Chapter audit",           "Attempt NEET 2024 full paper → Chapter audit",  "PHASE 1 – Diagnostic"),
    ("W2",  "May 17–23",   "Animal Kingdom, Plant Kingdom, Bio Classification",  "Mole Concept + Atomic Structure",                        "Kinematics (NCERT + HC Verma)",                 ""),
    ("W3",  "May 24–30",   "Cell Structure + Biomolecules",                      "Chemical Bonding",                                       "Laws of Motion",                                ""),
    ("W4",  "May 31–Jun 7","Cell Division + Morphology of Plants",               "Thermodynamics",                                         "Work, Energy & Power",                          "End Phase 1"),
    # Phase 2
    ("W5",  "Jun 8–14",    "Plant Anatomy + Transport in Plants",                "Equilibrium (Chemical)",                                 "Rotational Motion Part 1",                      "PHASE 2 – Core Syllabus"),
    ("W6",  "Jun 15–21",   "Mineral Nutrition + Photosynthesis",                 "Equilibrium (Ionic) + pH",                               "Rotational Motion Part 2",                      ""),
    ("W7",  "Jun 22–28",   "Respiration in Plants + Plant Growth",               "Solutions",                                              "Gravitation",                                   ""),
    ("W8",  "Jun 29–Jul 5","Human Digestion & Absorption",                       "Electrochemistry",                                       "SHM + Waves",                                   ""),
    ("W9",  "Jul 6–12",    "Breathing & Exchange of Gases",                      "Chemical Kinetics",                                      "Thermal Properties",                            ""),
    ("W10", "Jul 13–19",   "Body Fluids & Circulation",                          "s-Block Elements",                                       "Thermodynamics (Physics)",                      ""),
    ("W11", "Jul 20–26",   "Excretory Products & Elimination",                   "p-Block Part 1 (Grp 13–14)",                             "Electrostatics Part 1",                         ""),
    ("W12", "Jul 27–Aug 2","Locomotion & Movement",                              "p-Block Part 2 (Grp 15–18)",                             "Electrostatics Part 2",                         ""),
    ("W13", "Aug 3–9",     "Neural Control & Coordination",                      "d & f Block Elements",                                   "Current Electricity Part 1",                    ""),
    ("W14", "Aug 10–16",   "Chemical Coordination (Endocrine)",                  "Coordination Compounds",                                 "Current Electricity Part 2",                    ""),
    ("W15", "Aug 17–23",   "Human Reproduction",                                 "Haloalkanes & Haloarenes",                               "Magnetic Effects of Current",                   ""),
    ("W16", "Aug 24–30",   "Reproductive Health",                                "Alcohols, Phenols & Ethers",                             "Moving Charges & Magnetism",                    ""),
    ("W17", "Aug 31–Sep 6","Principles of Inheritance + Genetics",               "Aldehydes & Ketones",                                    "Electromagnetic Induction",                     ""),
    ("W18", "Sep 7–13",    "Chromosomal Basis of Inheritance",                   "Carboxylic Acids & Derivatives",                         "Alternating Current",                           ""),
    ("W19", "Sep 14–20",   "Molecular Basis of Inheritance (DNA)",               "Amines",                                                 "Ray Optics Part 1",                             ""),
    ("W20", "Sep 21–27",   "Evolution",                                          "Biomolecules (Chemistry)",                               "Ray Optics Part 2",                             ""),
    ("W21", "Sep 28–Oct 4","Human Health & Disease",                             "Polymers + Chemistry in Everyday Life",                  "Wave Optics",                                   ""),
    ("W22", "Oct 5–11",    "Microbes in Human Welfare",                          "Surface Chemistry",                                      "Dual Nature of Radiation",                      ""),
    ("W23", "Oct 12–18",   "Biotechnology: Principles & Processes",              "General Organic Chemistry (GOC)",                        "Atoms",                                         ""),
    ("W24", "Oct 19–25",   "Biotechnology & Its Applications",                   "Revision: Physical Chemistry",                           "Nuclei",                                        ""),
    ("W25", "Oct 26–Nov 1","Ecosystem + Organisms & Populations + Biodiversity", "Revision: Inorganic Chemistry",                          "Semiconductors + Communication Systems",        "End Phase 2"),
    # Phase 3
    ("W26", "Nov 2–8",     "PYQs: Animal/Plant Kingdom, Classification, Cell",  "PYQs: Physical Chemistry (Part 1)",                      "PYQs: Mechanics (Kinematics–Rotational)",       "PHASE 3 – PYQ Blitz"),
    ("W27", "Nov 9–15",    "PYQs: Plant Physiology (all 5 chapters)",            "PYQs: Physical Chemistry (Part 2)",                      "PYQs: Gravitation, SHM, Waves, Thermal",        ""),
    ("W28", "Nov 16–22",   "PYQs: Human Physiology (all 5 chapters)",            "PYQs: Inorganic Chemistry (Part 1: s,p-block)",          "PYQs: Electrostatics + Current Electricity",    ""),
    ("W29", "Nov 23–29",   "PYQs: Reproduction + Genetics + Molecular Bio",      "PYQs: Inorganic Chemistry (Part 2: d-block, Coord.)",    "PYQs: Magnetism + EMI + AC",                    ""),
    ("W30", "Nov 30–Dec 6","PYQs: Evolution + Health + Biotech + Ecology",       "PYQs: Organic Chemistry (Part 1)",                       "PYQs: Optics (Ray + Wave)",                     ""),
    ("W31", "Dec 7–13",    "Error log revision – Biology",                       "PYQs: Organic Chemistry (Part 2)",                       "PYQs: Modern Physics (Dual+Atoms+Nuclei)",      ""),
    ("W32", "Dec 14–20",   "Biology weak chapters targeted revision",            "Error log revision – Chemistry",                         "PYQs: Semiconductors + Communication",          ""),
    ("W33", "Dec 21–28",   "Full Biology rapid revision",                        "Full Chemistry rapid revision",                          "Error log revision – Physics",                  "End Phase 3"),
    # Phase 4
    ("W34", "Dec 29–Jan 4","NCERT 3rd read: Tier 1 chapters",                   "Rapid revision: Physical Chemistry",                     "Rapid revision: Mechanics + Electricity",       "PHASE 4 – 2nd Revision"),
    ("W35", "Jan 5–11",    "NCERT 3rd read: Tier 2 + 3 chapters",               "Rapid revision: Inorganic Chemistry",                    "Rapid revision: Optics + Modern Physics",       ""),
    ("W36", "Jan 12–18",   "Error log + diagram flashcards",                     "Rapid revision: Organic Chemistry",                      "Formula sheet consolidation",                   ""),
    ("W37", "Jan 19–25",   "Full Biology mock + analysis",                       "Full Chemistry mock + analysis",                         "Full Physics mock + analysis",                  "End Phase 4"),
    # Phase 5
    ("W38", "Jan 26–Feb 1","2 Full Mocks + error analysis",                     "2 Full Mocks + error analysis",                          "2 Full Mocks + error analysis",                 "PHASE 5 – Mock Blitz"),
    ("W39", "Feb 2–8",     "2 Full Mocks + Bio weak chapter",                   "2 Full Mocks + Chem weak chapter",                       "2 Full Mocks + Phy weak chapter",               ""),
    ("W40", "Feb 9–15",    "2 Full Mocks + Bio PYQ targeted",                   "2 Full Mocks + Chem PYQ targeted",                       "2 Full Mocks + Phy PYQ targeted",               ""),
    ("W41", "Feb 16–22",   "2 Full Mocks + error log revision",                 "2 Full Mocks + error log revision",                      "2 Full Mocks + error log revision",             ""),
    ("W42", "Feb 23–Mar 1","3 Full Mocks + subject mini-tests",                 "3 Full Mocks + subject mini-tests",                      "3 Full Mocks + subject mini-tests",             ""),
    ("W43", "Mar 2–8",     "3 Full Mocks",                                      "3 Full Mocks",                                           "3 Full Mocks",                                  ""),
    ("W44", "Mar 9–15",    "3 Full Mocks + Bio error log",                      "3 Full Mocks + Chem error log",                          "3 Full Mocks + Phy error log",                  ""),
    ("W45", "Mar 16–22",   "3 Full Mocks",                                      "3 Full Mocks",                                           "3 Full Mocks",                                  ""),
    ("W46", "Mar 23–29",   "3 Full Mocks + NCERT rapid read",                   "3 Full Mocks + formula tables",                          "3 Full Mocks + formula sheet",                  ""),
    ("W47", "Mar 30–Apr 5","3–4 Full Mocks + error log only",                   "3–4 Full Mocks + error log only",                        "3–4 Full Mocks + error log only",               ""),
    ("W48", "Apr 6–12",    "3–4 Full Mocks",                                    "3–4 Full Mocks",                                         "3–4 Full Mocks",                                ""),
    ("W49", "Apr 13–19",   "3–4 Full Mocks",                                    "3–4 Full Mocks",                                         "3–4 Full Mocks",                                ""),
    ("W50", "Apr 20–26",   "Final mock + thorough analysis",                    "Final mock + thorough analysis",                         "Final mock + thorough analysis",                "End Phase 5"),
    # Phase 6
    ("W51", "May 4–6",     "NCERT rapid read: all 38 chapters",                 "NCERT + 1-page summary tables",                          "Formula sheet + key concepts only",             "PHASE 6 – Final Lockdown"),
    ("W52", "May 7–10",    "Error log + diagram flashcards",                    "Error log flashcards",                                   "Error log flashcards",                          ""),
    ("W53", "May 11–14",   "Light revision only, 8 hrs sleep",                  "Light revision only",                                    "Light revision only",                           ""),
    ("W54", "May 18",      "EXAM DAY – Trust your preparation",                 "EXAM DAY",                                               "EXAM DAY",                                      "NEET 2027"),
]

phase_rows = {
    "W1": C_PHASE, "W5": C_PHASE, "W26": C_PHASE,
    "W34": C_PHASE, "W38": C_PHASE, "W51": C_PHASE,
}

r = 4
for wk, period, bio, chem, phy, notes in weekly:
    ws2.row_dimensions[r].height = 32

    # decide row background
    phase_note = notes
    if "PHASE 1" in notes:
        row_bg = C_PHASE_LIGHT
    elif "PHASE 2" in notes:
        row_bg = C_BIO_LIGHT
    elif "PHASE 3" in notes or "End Phase 3" in notes:
        row_bg = C_CHEM_LIGHT
    elif "PHASE 4" in notes or "End Phase 4" in notes:
        row_bg = C_PHY_LIGHT
    elif "PHASE 5" in notes or "End Phase 5" in notes:
        row_bg = C_MOCK_LIGHT
    elif "PHASE 6" in notes:
        row_bg = "FFF9C4"
    elif "NEET 2027" in notes:
        row_bg = C_GOLD
    elif "End Phase" in notes:
        row_bg = "EEEEEE"
    else:
        row_bg = C_WHITE

    # phase header rows get orange bg
    is_phase_hdr = any(p in notes for p in ["PHASE 1","PHASE 2","PHASE 3","PHASE 4","PHASE 5","PHASE 6"])

    for c, val in enumerate([wk, period, bio, chem, phy, notes], 1):
        cell = ws2.cell(row=r, column=c, value=val)
        if is_phase_hdr:
            bg = C_PHASE
            fnt = hdr_font(9, True)
        elif "NEET 2027" in notes:
            bg = C_GOLD
            fnt = hdr_font(10, True, "000000")
        else:
            bg = row_bg
            fnt = body_font(9)
        style_cell(cell, bg, fnt, left(wrap=True), thin_border())
    r += 1

# ════════════════════════════════════════════════════════════════
# SHEET 3 – BIOLOGY CHAPTER PRIORITY
# ════════════════════════════════════════════════════════════════
ws3 = wb.create_sheet("Biology Chapters")
ws3.sheet_view.showGridLines = False
ws3.column_dimensions["A"].width = 6
ws3.column_dimensions["B"].width = 38
ws3.column_dimensions["C"].width = 10
ws3.column_dimensions["D"].width = 16
ws3.column_dimensions["E"].width = 14
ws3.column_dimensions["F"].width = 38

ws3.merge_cells("A1:F1")
ws3["A1"] = "Biology – Chapter Priority & Study Guide"
style_cell(ws3["A1"], C_BIO, hdr_font(14), center())
ws3.row_dimensions[1].height = 32

r = 2
for c, h in enumerate(["Tier","Chapter","Class","Avg Qs/Year","Priority","Study Method"], 1):
    cell = ws3.cell(row=r, column=c, value=h)
    style_cell(cell, C_GREY_HDR, hdr_font(10), center(), thin_border())
ws3.row_dimensions[r].height = 20

bio_chapters = [
    ("T1","Human Reproduction","12","4–6","★★★","NCERT 3x + PYQs + all diagrams"),
    ("T1","Genetics & Mendelian Inheritance","12","5–7","★★★","Pedigree practice + NCERT 3x"),
    ("T1","Molecular Basis of Inheritance (DNA)","12","5–7","★★★","Enzymes, sequences, lac operon"),
    ("T1","Evolution","12","3–5","★★★","NCERT exact text + Hardy-Weinberg"),
    ("T1","Human Health & Disease","12","4–6","★★★","Causative agents table + immunity"),
    ("T1","Plant Kingdom","11","3–5","★★★","Alternation of generations + examples"),
    ("T1","Animal Kingdom","11","4–6","★★★","Phylum features + coelom/notochord"),
    ("T1","Biological Classification","11","2–4","★★★","5-kingdom + virus/viroid/lichen"),
    ("T1","Digestion & Absorption","11","3–4","★★★","Enzyme + site table + absorption"),
    ("T1","Breathing & Exchange of Gases","11","2–4","★★★","Lung volumes, O2 dissociation curve"),
    ("T2","Reproductive Health","12","2–3","★★","Contraception + STI list"),
    ("T2","Chromosomal Basis","12","2–3","★★","Linkage, crossing over, sex determination"),
    ("T2","Microbes in Human Welfare","12","2–3","★★","Biogas, sewage, antibiotics, SCP"),
    ("T2","Biotechnology Principles","12","3–4","★★","RE enzymes, vectors, PCR, blotting"),
    ("T2","Biotechnology Applications","12","2–3","★★","Bt crops, golden rice, ELISA, gene therapy"),
    ("T2","Ecosystem","12","2–3","★★","Energy flow, pyramids, nutrient cycles"),
    ("T2","Biodiversity & Conservation","12","2–3","★★","IUCN categories, hotspots, in-situ/ex-situ"),
    ("T2","Body Fluids & Circulation","11","2–4","★★","Heart anatomy + ECG + blood groups"),
    ("T2","Excretory Products","11","2–3","★★","Nephron diagram + urine formation"),
    ("T2","Locomotion & Movement","11","2–3","★★","Sliding filament + joint types"),
    ("T2","Neural Control","11","2–3","★★","Neuron, synapse, resting/action potential"),
    ("T2","Chemical Coordination","11","2–3","★★","Hormones + glands + feedback loops"),
    ("T2","Cell Structure & Function","11","2–3","★★","Organelle functions + cell wall"),
    ("T2","Biomolecules","11","2–3","★★","Enzyme kinetics, Km, inhibition types"),
    ("T3","Transport in Plants","11","1–2","★","Osmosis, xylem, phloem"),
    ("T3","Mineral Nutrition","11","1–2","★","Macro/micro nutrients + deficiency"),
    ("T3","Photosynthesis","11","2–3","★","Z-scheme, Calvin cycle, C4/CAM"),
    ("T3","Respiration in Plants","11","1–2","★","Glycolysis, Krebs, ETC"),
    ("T3","Plant Growth & Development","11","1–2","★","Phytohormones + photoperiodism"),
    ("T3","Morphology of Flowering Plants","11","1–2","★","Root/stem/leaf/flower modifications"),
    ("T3","Anatomy of Flowering Plants","11","1–2","★","Tissue systems + secondary growth"),
    ("T3","Structural Org. in Animals","11","1–2","★","Epithelium/connective/muscle/neural"),
    ("T3","Organisms & Populations","12","1–2","★","Population interactions + growth curves"),
    ("T3","Environmental Issues","12","1–2","★","Pollution types + remediation"),
]

for chap in bio_chapters:
    r += 1
    ws3.row_dimensions[r].height = 22
    tier = chap[0]
    bg = C_BIO_LIGHT if tier == "T1" else ("E8F5E9" if tier == "T2" else C_WHITE)
    for c, val in enumerate(chap, 1):
        cell = ws3.cell(row=r, column=c, value=val)
        style_cell(cell, bg, body_font(9, tier=="T1"), center() if c <= 5 else left(), thin_border())

# ════════════════════════════════════════════════════════════════
# SHEET 4 – CHEMISTRY & PHYSICS CHAPTERS
# ════════════════════════════════════════════════════════════════
ws4 = wb.create_sheet("Chem & Physics Chapters")
ws4.sheet_view.showGridLines = False
for col, w in zip(["A","B","C","D","E","F","G","H","I","J"],
                  [6,28,12,14,6,28,10,14,8,30]):
    ws4.column_dimensions[col].width = w

ws4.merge_cells("A1:E1")
ws4["A1"] = "Chemistry – Chapter Priority"
style_cell(ws4["A1"], C_CHEM, hdr_font(13), center())
ws4.merge_cells("F1:J1")
ws4["F1"] = "Physics – Chapter Priority"
style_cell(ws4["F1"], C_PHY, hdr_font(13), center())
ws4.row_dimensions[1].height = 30

for c, h in enumerate(["Tier","Chapter","Type","Avg Qs/Year","Class"], 1):
    cell = ws4.cell(row=2, column=c, value=h)
    style_cell(cell, C_GREY_HDR, hdr_font(10), center(), thin_border())
for c, h in enumerate(["Tier","Chapter","Class","Avg Qs/Year","Key Tip"], 1):
    cell = ws4.cell(row=2, column=c+5, value=h)
    style_cell(cell, C_GREY_HDR, hdr_font(10), center(), thin_border())
ws4.row_dimensions[2].height = 20

chem = [
    ("T1","Mole Concept & Stoichiometry","Physical","2–3","11"),
    ("T1","Chemical Bonding","Phys/Inorg","4–5","11"),
    ("T1","Thermodynamics","Physical","3–4","11"),
    ("T1","Electrochemistry","Physical","3–4","12"),
    ("T1","Chemical Kinetics","Physical","3–4","12"),
    ("T1","Coordination Compounds","Inorganic","4–5","12"),
    ("T1","Alcohols, Phenols & Ethers","Organic","3–4","12"),
    ("T1","Aldehydes & Ketones","Organic","3–4","12"),
    ("T1","Biomolecules (Chem)","Organic","3–4","12"),
    ("T1","p-Block (Grp 15–18)","Inorganic","4–5","12"),
    ("T2","Atomic Structure","Physical","2–3","11"),
    ("T2","Equilibrium","Physical","3–4","11"),
    ("T2","Solutions","Physical","2–3","12"),
    ("T2","Surface Chemistry","Physical","1–2","12"),
    ("T2","d & f Block","Inorganic","2–3","12"),
    ("T2","Haloalkanes & Haloarenes","Organic","2–3","12"),
    ("T2","Amines","Organic","2–3","12"),
    ("T2","Polymers","Organic","2–3","12"),
    ("T2","Chemistry in Everyday Life","Organic","1–2","12"),
    ("T2","s-Block Elements","Inorganic","1–2","11"),
]

phy = [
    ("T1","Laws of Motion","11","2–3","Free body diagrams essential"),
    ("T1","Work, Energy & Power","11","2–3","Conservation laws"),
    ("T1","Rotational Motion","11","2–4","MI table + rolling problems"),
    ("T1","Electrostatics","12","4–5","E-field + potential + capacitors"),
    ("T1","Current Electricity","12","4–5","KVL/KCL + Wheatstone"),
    ("T1","Electromagnetic Induction","12","2–3","Lenz law + Faraday"),
    ("T1","Alternating Current","12","2–3","LCR circuits + resonance"),
    ("T1","Ray Optics","12","3–4","Mirror/lens formula + sign conv."),
    ("T1","Wave Optics","12","2–3","YDSE fringe width formula"),
    ("T1","Modern Physics","12","5–7","Photoelectric + Bohr + decay law"),
    ("T1","Semiconductors","12","3–4","p-n junction + logic gates"),
    ("T2","Kinematics","11","1–2","Equations of motion"),
    ("T2","Gravitation","11","1–2","Kepler + escape velocity"),
    ("T2","SHM","11","1–2","x=A sin(ωt) + energy"),
    ("T2","Waves","11","2–3","Standing waves + Doppler"),
    ("T2","Thermal Properties","11","1–2","Calorimetry + conduction"),
    ("T2","Thermodynamics (Phy)","11","1–2","PV diagrams + 1st/2nd law"),
    ("T2","Magnetic Effects","12","2–3","Biot-Savart + Ampere"),
    ("T2","Moving Charges","12","1–2","Cyclotron + galvanometer"),
]

r = 3
for i in range(max(len(chem), len(phy))):
    ws4.row_dimensions[r].height = 20
    if i < len(chem):
        tier, chap, typ, qs, cls = chem[i]
        bg = C_CHEM_LIGHT if tier == "T1" else "E3F2FD"
        for c, val in enumerate([tier, chap, typ, qs, cls], 1):
            cell = ws4.cell(row=r, column=c, value=val)
            style_cell(cell, bg, body_font(9, tier=="T1"), center() if c != 2 else left(), thin_border())
    if i < len(phy):
        tier, chap, cls, qs, tip = phy[i]
        bg = C_PHY_LIGHT if tier == "T1" else "FFEBEE"
        for c, val in enumerate([tier, chap, cls, qs, tip], 1):
            cell = ws4.cell(row=r, column=c+5, value=val)
            style_cell(cell, bg, body_font(9, tier=="T1"), center() if c not in [2,5] else left(), thin_border())
    r += 1

# ════════════════════════════════════════════════════════════════
# SHEET 5 – DAILY SCHEDULE
# ════════════════════════════════════════════════════════════════
ws5 = wb.create_sheet("Daily Schedule")
ws5.sheet_view.showGridLines = False
ws5.column_dimensions["A"].width = 20
ws5.column_dimensions["B"].width = 32
ws5.column_dimensions["C"].width = 20

ws5.merge_cells("A1:C1")
ws5["A1"] = "Recommended Daily Schedule (Mon–Sat)"
style_cell(ws5["A1"], C_DARK_BG, hdr_font(13), center())
ws5.row_dimensions[1].height = 30

r = 2
for c, h in enumerate(["Time Slot", "Activity", "Subject"], 1):
    cell = ws5.cell(row=r, column=c, value=h)
    style_cell(cell, C_GREY_HDR, hdr_font(10), center(), thin_border())
ws5.row_dimensions[r].height = 20

schedule = [
    ("6:00 – 8:00 AM",   "NCERT reading / PYQ solving",         "Biology",   C_BIO_LIGHT),
    ("8:30 – 10:30 AM",  "Concepts + Numericals",               "Physics",   C_PHY_LIGHT),
    ("10:30 – 11:00 AM", "Break + light snack",                 "–",         C_WHITE),
    ("11:00 AM – 1:00 PM","Theory + problems",                  "Chemistry", C_CHEM_LIGHT),
    ("1:00 – 2:30 PM",   "Lunch + rest (NO study)",             "–",         C_WHITE),
    ("2:30 – 4:30 PM",   "Revision of morning topics",          "All",       C_PHASE_LIGHT),
    ("4:30 – 5:00 PM",   "Short break / walk",                  "–",         C_WHITE),
    ("5:00 – 6:30 PM",   "PYQ practice / weak chapter focus",   "Rotating",  "FFF9C4"),
    ("6:30 – 7:00 PM",   "Break",                               "–",         C_WHITE),
    ("7:00 – 8:30 PM",   "Problem sets / mock section",         "Rotating",  C_MOCK_LIGHT),
    ("8:30 – 9:30 PM",   "Flashcard review / notes update",     "All",       C_PHASE_LIGHT),
    ("9:30 PM onwards",  "Wind down – NO screens, 8 hrs sleep", "–",         C_WHITE),
]

for time, act, subj, bg in schedule:
    r += 1
    ws5.row_dimensions[r].height = 22
    for c, val in enumerate([time, act, subj], 1):
        cell = ws5.cell(row=r, column=c, value=val)
        style_cell(cell, bg, body_font(10), center() if c != 2 else left(), thin_border())

# Sunday note
r += 2
ws5.merge_cells(f"A{r}:C{r}")
ws5[f"A{r}"] = "SUNDAY: Light revision (2 hrs max) + full rest. No new chapters. Recharge for the week."
style_cell(ws5[f"A{r}"], C_GOLD, body_font(10, True, "000000"), left())
ws5.row_dimensions[r].height = 24

# ── Save ──────────────────────────────────────────────────────
out = "/home/daytona/workspace/neet2027/NEET_2027_Study_Plan.xlsx"
wb.save(out)
print(f"Saved: {out}")
Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.

so give me neet 2027 paper level difficulty

Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.

in text

Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.
This is a shared conversation. Sign in to Orris to start your own chat.