attachment
attachment

make microbiology notes in this format for my neet pg exam 2026

analyse_media
Reading File
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Running Command

mkdir -p /home/daytona/workspace/micro-atlas && ls /home/daytona/workspace/

Writing File

~/micro-atlas/micro_atlas.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Microbiology 700+ Bootcamp Atlas</title>
<style>
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Inter', Arial, sans-serif;
    background: #ffffff;
    width: 1100px;
    margin: 0 auto;
    font-size: 11px;
    color: #1a1a2e;
  }

  /* ---- HEADER ---- */
  .header {
    background: #0B1B3D;
    padding: 10px 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #F9A825;
  }
  .page-badge {
    background: #1a3a6e;
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 6px;
    text-align: center;
    min-width: 54px;
    border: 2px solid #F9A825;
  }
  .header-center { text-align: center; flex: 1; padding: 0 12px; }
  .header-center .main-title {
    font-size: 26px; font-weight: 900; color: #ffffff;
    letter-spacing: 1px; line-height: 1.1;
    text-transform: uppercase;
  }
  .header-center .sub-title {
    font-size: 13px; font-weight: 700; color: #F9A825;
    letter-spacing: 2px; margin-top: 2px;
    text-transform: uppercase;
  }
  .header-badges {
    display: flex; gap: 14px; justify-content: center;
    margin-top: 5px; flex-wrap: wrap;
  }
  .header-badges span {
    font-size: 10px; font-weight: 700; color: #e0e0e0;
  }
  .header-badges span::before { content: "★ "; color: #F9A825; }
  .vision-badge {
    background: #1a3a6e;
    border-radius: 8px;
    padding: 6px 10px;
    text-align: center;
    border: 2px solid #F9A825;
    min-width: 90px;
  }
  .vision-badge .v-title { font-size: 14px; font-weight: 900; color: #F9A825; }
  .vision-badge .v-items { font-size: 8px; color: #ccc; line-height: 1.5; }

  /* ---- MAIN GRID ---- */
  .main-grid {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 6px;
    padding: 6px;
    background: #f0f2f5;
  }

  /* ---- SECTION PANEL ---- */
  .panel {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
  }
  .panel-header {
    padding: 7px 10px;
    color: #fff;
    font-weight: 800;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .bact-header { background: #7B1FA2; }
  .viro-header { background: #00838F; }

  /* Core domain items */
  .domain-item {
    display: flex; align-items: flex-start;
    padding: 5px 8px; border-bottom: 1px solid #f0f0f0; gap: 7px;
  }
  .domain-icon {
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0; margin-top: 1px;
  }
  .bact-icon { background: #EDE7F6; }
  .viro-icon { background: #E0F7FA; }
  .domain-text { }
  .domain-title { font-weight: 700; font-size: 10px; color: #1a1a2e; }
  .domain-sub { font-size: 9px; color: #666; line-height: 1.4; margin-top: 1px; }

  /* ---- CENTER MIND MAP ---- */
  .mind-map-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .mind-map-container {
    position: relative;
    width: 440px;
    height: 330px;
  }
  .center-hub {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #0B1B3D;
    color: #fff;
    border-radius: 50%;
    width: 108px; height: 108px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    font-weight: 900;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    z-index: 10;
    border: 3px solid #F9A825;
  }
  .hub-main { font-size: 13px; color: #F9A825; font-weight: 900; line-height: 1.1; }
  .hub-sub { font-size: 7.5px; color: #ccc; margin-top: 3px; line-height: 1.3; }
  .hub-icon { font-size: 18px; margin-bottom: 2px; }

  .node {
    position: absolute;
    border-radius: 50%;
    width: 80px; height: 80px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 8.5px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    cursor: default;
  }
  .node-icon { font-size: 16px; margin-bottom: 2px; }
  .node-title { font-size: 8.5px; font-weight: 800; color: #fff; line-height: 1.2; }
  .node-sub { font-size: 7px; color: rgba(255,255,255,0.85); line-height: 1.2; margin-top: 1px; }

  /* Node colors */
  .n-bact   { background: #7B1FA2; top: 8px;  left: 130px; }
  .n-viro   { background: #00838F; top: 8px;  right: 130px; }
  .n-fungi  { background: #2E7D32; bottom: 8px; right: 120px; }
  .n-para   { background: #E65100; bottom: 8px; left: 120px; }
  .n-immuno { background: #1565C0; top: 95px; left: 14px; }
  .n-diag   { background: #AD1457; top: 95px; right: 14px; }
  .n-stain  { background: #4A148C; bottom: 80px; left: 14px; }
  .n-abx    { background: #006064; bottom: 80px; right: 14px; }

  /* SVG connector lines */
  .connector-svg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 1;
  }

  /* ---- THREE COLUMN BOTTOM GRID ---- */
  .three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    padding: 0 6px 6px;
    background: #f0f2f5;
  }

  /* Gold Standards */
  .gold-panel .panel-header { background: #2E7D32; }
  .gold-row {
    display: flex; align-items: center;
    padding: 4px 8px; border-bottom: 1px solid #f0f0f0; gap: 6px;
  }
  .gold-check { color: #2E7D32; font-size: 12px; font-weight: 900; }
  .gold-topic { font-size: 9.5px; font-weight: 700; flex: 1; color: #1a1a2e; }
  .gold-value { font-size: 9px; color: #555; text-align: right; flex: 1; }

  /* Key Principles */
  .key-panel { background: #fff; border-radius: 8px; border: 2px solid #E65100; overflow: hidden; }
  .key-header {
    background: #fff; color: #E65100; font-weight: 900; font-size: 11px;
    padding: 7px 10px; text-align: center;
    border-bottom: 2px solid #E65100; text-transform: uppercase;
  }
  .key-row {
    display: flex; align-items: center;
    padding: 3px 8px; gap: 7px; border-bottom: 1px solid #f5f5f5;
  }
  .key-letter {
    min-width: 20px; height: 20px;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 900; color: #fff;
  }
  .key-text { font-size: 9.5px; color: #333; }

  /* High Yield Fact File */
  .hiyield-panel .panel-header { background: #6A1B9A; }
  .hiyield-row {
    display: flex; align-items: flex-start;
    padding: 3.5px 8px; border-bottom: 1px solid #f0f0f0; gap: 5px;
  }
  .hiyield-star { color: #6A1B9A; font-size: 11px; flex-shrink: 0; margin-top: 1px; }
  .hiyield-text { font-size: 9.5px; color: #333; line-height: 1.4; }
  .hiyield-text b { color: #1a1a2e; }

  /* ---- FOUR COL BOTTOM ---- */
  .four-col {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    gap: 6px;
    padding: 0 6px 6px;
    background: #f0f2f5;
  }
  .def-panel { background: #E3F2FD; border: 2px solid #1565C0; border-radius: 8px; padding: 7px 9px; }
  .def-title { font-size: 11px; font-weight: 800; color: #1565C0; margin-bottom: 4px; text-transform: uppercase; }
  .def-item { font-size: 9px; color: #333; line-height: 1.5; margin-bottom: 1px; padding-left: 8px; position: relative; }
  .def-item::before { content: "•"; position: absolute; left: 0; color: #1565C0; }

  .abbr-panel { background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 7px 9px; }
  .abbr-title { font-size: 11px; font-weight: 800; color: #333; margin-bottom: 4px; text-transform: uppercase; }
  .abbr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 8px; }
  .abbr-row { display: flex; gap: 4px; font-size: 8.5px; padding: 1.5px 0; border-bottom: 1px dotted #eee; }
  .abbr-key { font-weight: 800; color: #0B1B3D; min-width: 38px; }
  .abbr-val { color: #555; }

  .exam-panel { background: #FCE4EC; border: 2px solid #AD1457; border-radius: 8px; padding: 7px 9px; }
  .exam-title { font-size: 11px; font-weight: 800; color: #AD1457; margin-bottom: 4px; text-transform: uppercase; }
  .exam-step { display: flex; align-items: flex-start; gap: 5px; margin-bottom: 3px; font-size: 9.5px; color: #333; }
  .exam-num { background: #AD1457; color: #fff; border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 800; flex-shrink: 0; }

  /* ---- PEARL CARDS ---- */
  .pearl-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 6px;
    padding: 0 6px 6px;
    background: #f0f2f5;
  }
  .pearl-card { border-radius: 8px; padding: 7px 9px; }
  .pyq-card { background: #FFF9C4; border: 2px solid #F9A825; }
  .inicet-card { background: #E8F5E9; border: 2px solid #2E7D32; }
  .trap-card { background: #FFEBEE; border: 2px solid #C62828; }
  .mantra-card { background: #F3E5F5; border: 2px solid #7B1FA2; }

  .pearl-icon { font-size: 16px; }
  .pearl-head { font-size: 10px; font-weight: 800; margin: 2px 0; }
  .pyq-card .pearl-head { color: #E65100; }
  .inicet-card .pearl-head { color: #1B5E20; }
  .trap-card .pearl-head { color: #C62828; }
  .mantra-card .pearl-head { color: #4A148C; }
  .pearl-body { font-size: 8.5px; color: #444; line-height: 1.5; }
  .trap-item::before { content: "• "; color: #C62828; font-weight: 700; }

  /* ---- FOOTER ---- */
  .footer-bar {
    background: #0B1B3D;
    text-align: center;
    padding: 8px;
    color: #F9A825;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
  }
</style>
</head>
<body>

<!-- HEADER -->
<div class="header">
  <div class="page-badge">PAGE<br>1</div>
  <div class="header-center">
    <div class="main-title">Microbiology 700+ Bootcamp Atlas</div>
    <div class="sub-title">Master Map of Medical Microbiology</div>
    <div class="header-badges">
      <span>High Yield</span>
      <span>Exam Focused</span>
      <span>Concept Based</span>
      <span>PYQ Driven</span>
    </div>
  </div>
  <div class="vision-badge">
    <div class="v-title">🎯 VISION</div>
    <div class="v-items">Understand<br>Organize<br>Remember<br>Score 700+</div>
  </div>
</div>

<!-- TOP MAIN GRID: Bacteriology | Mind Map | Virology -->
<div class="main-grid">

  <!-- LEFT: BACTERIOLOGY CORE DOMAINS -->
  <div class="panel">
    <div class="panel-header bact-header">🦠 Bacteriology – Core Domains</div>
    <div class="domain-item">
      <div class="domain-icon bact-icon">🔬</div>
      <div class="domain-text">
        <div class="domain-title">Gram Positive Cocci</div>
        <div class="domain-sub">Staph aureus, Strep pyogenes, Strep pneumoniae, Enterococcus</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon bact-icon">⚗️</div>
      <div class="domain-text">
        <div class="domain-title">Gram Negative Bacilli</div>
        <div class="domain-sub">E. coli, Klebsiella, Salmonella, Shigella, Pseudomonas, H. influenzae</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon bact-icon">🧫</div>
      <div class="domain-text">
        <div class="domain-title">Spore-forming Bacteria</div>
        <div class="domain-sub">Clostridium tetani, C. botulinum, C. perfringens, B. anthracis</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon bact-icon">🔴</div>
      <div class="domain-text">
        <div class="domain-title">Intracellular Organisms</div>
        <div class="domain-sub">Mycobacteria, Rickettsia, Chlamydia, Brucella, Legionella</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon bact-icon">🌀</div>
      <div class="domain-text">
        <div class="domain-title">Spirochetes</div>
        <div class="domain-sub">Treponema pallidum, Leptospira, Borrelia – Weil Felix, Dark field</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon bact-icon">💊</div>
      <div class="domain-text">
        <div class="domain-title">Atypical Bacteria</div>
        <div class="domain-sub">Mycoplasma, Chlamydia – no cell wall; Legionella – silver stain</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon bact-icon">🧪</div>
      <div class="domain-text">
        <div class="domain-title">Culture Media (KEY)</div>
        <div class="domain-sub">LJ, BCYE, Thayer-Martin, MacConkey, Blood agar, Chocolate agar</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon bact-icon">⚡</div>
      <div class="domain-text">
        <div class="domain-title">Bacterial Toxins</div>
        <div class="domain-sub">Exotoxins vs Endotoxins; Superantigens; AB toxins; Biofilm</div>
      </div>
    </div>
  </div>

  <!-- CENTER: MIND MAP -->
  <div class="mind-map-wrap">
    <div class="mind-map-container">
      <!-- SVG connectors -->
      <svg class="connector-svg" viewBox="0 0 440 330">
        <!-- Center hub at ~220,165 -->
        <!-- Node centers approximated -->
        <line x1="220" y1="165" x2="170" y2="48"  stroke="#7B1FA2" stroke-width="2" stroke-dasharray="5,4" opacity="0.7"/>
        <line x1="220" y1="165" x2="310" y2="48"  stroke="#00838F" stroke-width="2" stroke-dasharray="5,4" opacity="0.7"/>
        <line x1="220" y1="165" x2="50"  y2="135" stroke="#1565C0" stroke-width="2" stroke-dasharray="5,4" opacity="0.7"/>
        <line x1="220" y1="165" x2="390" y2="135" stroke="#AD1457" stroke-width="2" stroke-dasharray="5,4" opacity="0.7"/>
        <line x1="220" y1="165" x2="50"  y2="225" stroke="#4A148C" stroke-width="2" stroke-dasharray="5,4" opacity="0.7"/>
        <line x1="220" y1="165" x2="390" y2="225" stroke="#006064" stroke-width="2" stroke-dasharray="5,4" opacity="0.7"/>
        <line x1="220" y1="165" x2="160" y2="282" stroke="#E65100" stroke-width="2" stroke-dasharray="5,4" opacity="0.7"/>
        <line x1="220" y1="165" x2="320" y2="282" stroke="#2E7D32" stroke-width="2" stroke-dasharray="5,4" opacity="0.7"/>
      </svg>

      <!-- Nodes -->
      <div class="node n-bact">
        <div class="node-icon">🦠</div>
        <div class="node-title">Bacteriology</div>
        <div class="node-sub">Gram stain, Culture, Toxins</div>
      </div>
      <div class="node n-viro">
        <div class="node-icon">🧬</div>
        <div class="node-title">Virology</div>
        <div class="node-sub">DNA/RNA, Replication, Vaccines</div>
      </div>
      <div class="node n-immuno">
        <div class="node-icon">🛡️</div>
        <div class="node-title">Immunology</div>
        <div class="node-sub">Innate, Adaptive, Antibodies</div>
      </div>
      <div class="node n-diag">
        <div class="node-icon">🔭</div>
        <div class="node-title">Diagnostics</div>
        <div class="node-sub">Culture, PCR, Serology</div>
      </div>
      <div class="node n-stain">
        <div class="node-icon">🎨</div>
        <div class="node-title">Staining</div>
        <div class="node-sub">Gram, ZN, PAS, Silver</div>
      </div>
      <div class="node n-abx">
        <div class="node-icon">💉</div>
        <div class="node-title">Antimicrobials</div>
        <div class="node-sub">Mechanism, Resistance</div>
      </div>
      <div class="node n-para">
        <div class="node-icon">🪱</div>
        <div class="node-title">Parasitology</div>
        <div class="node-sub">Protozoa, Helminths, Vectors</div>
      </div>
      <div class="node n-fungi">
        <div class="node-icon">🍄</div>
        <div class="node-title">Mycology</div>
        <div class="node-sub">Dimorphic, Candida, Aspergillus</div>
      </div>

      <!-- Center Hub -->
      <div class="center-hub">
        <div class="hub-icon">🧠</div>
        <div class="hub-main">MICRO<br>MASTER<br>MAP</div>
        <div class="hub-sub">Think Systematically<br>Score Consistently</div>
      </div>
    </div>
  </div>

  <!-- RIGHT: VIROLOGY + MYCOLOGY/PARASITOLOGY -->
  <div class="panel">
    <div class="panel-header viro-header">🧬 Virology – Core Domains</div>
    <div class="domain-item">
      <div class="domain-icon viro-icon">🧬</div>
      <div class="domain-text">
        <div class="domain-title">DNA Viruses (mnemonic)</div>
        <div class="domain-sub">HHAPPPy = Herpes, Hepadna, Adeno, Papilloma, Pox, Parvo, Polyoma</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon viro-icon">🔴</div>
      <div class="domain-text">
        <div class="domain-title">RNA Viruses</div>
        <div class="domain-sub">Picorna, Reo, Rhabdo, Flavi, Toga, Retro, Orthomyxo, Paramyxo</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon viro-icon">🩺</div>
      <div class="domain-text">
        <div class="domain-title">Hepatitis Viruses</div>
        <div class="domain-sub">A&E feco-oral; B,C,D blood-borne; HBsAg, anti-HBs, HDV needs HBV</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon viro-icon">🌐</div>
      <div class="domain-text">
        <div class="domain-title">Arboviruses</div>
        <div class="domain-sub">Dengue, Chikungunya, JE, Yellow fever – Aedes/Culex vectors</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon viro-icon">🧫</div>
      <div class="domain-text">
        <div class="domain-title">Mycology Key Points</div>
        <div class="domain-sub">Candida (most common), Aspergillus (Cx+), Crypto (India ink), Mucor</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon viro-icon">🌡️</div>
      <div class="domain-text">
        <div class="domain-title">Dimorphic Fungi</div>
        <div class="domain-sub">Histoplasma, Blastomyces, Coccidioides, Sporothrix – mold at 25°C, yeast at 37°C</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon viro-icon">🪱</div>
      <div class="domain-text">
        <div class="domain-title">Parasitology</div>
        <div class="domain-sub">Malaria, Amoebiasis, Giardia, Leishmania; Helminths: Ascaris, Hook, Tape</div>
      </div>
    </div>
    <div class="domain-item">
      <div class="domain-icon viro-icon">⚡</div>
      <div class="domain-text">
        <div class="domain-title">Vector-borne Diseases</div>
        <div class="domain-sub">Mosquito, Tick, Sandfly, Louse, Mite – link pathogen to vector!</div>
      </div>
    </div>
  </div>
</div>

<!-- THREE COLUMN: Gold Standards | Key Principles | High Yield Fact File -->
<div class="three-col">

  <!-- Gold Standards -->
  <div class="panel gold-panel">
    <div class="panel-header">🥇 Gold Standards</div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">TB Diagnosis</span><span class="gold-value">Culture on LJ medium</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">Syphilis Dx (confirm)</span><span class="gold-value">FTA-ABS / TPHA</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">Malaria Diagnosis</span><span class="gold-value">Thick &amp; Thin Blood Smear</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">Typhoid Diagnosis</span><span class="gold-value">Blood culture (1st week)</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">Meningitis Dx</span><span class="gold-value">CSF culture + Gram stain</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">Viral Load HIV</span><span class="gold-value">RT-PCR (most sensitive)</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">Fungal Meningitis</span><span class="gold-value">India ink / Latex Agglutination</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">Kala-azar Diagnosis</span><span class="gold-value">Splenic aspirate – highest yield</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">Strep Throat Confirm</span><span class="gold-value">Throat culture (gold std)</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">Clostridium difficile</span><span class="gold-value">Stool toxin assay / PCR</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">Pertussis Culture</span><span class="gold-value">Bordet-Gengou medium</span></div>
    <div class="gold-row"><span class="gold-check">✓</span><span class="gold-topic">AMR Sensitivity Test</span><span class="gold-value">Kirby-Bauer Disk Diffusion</span></div>
  </div>

  <!-- Key Principles -->
  <div class="key-panel">
    <div class="key-header">KEY PRINCIPLES (Remember!)</div>
    <div class="key-row"><div class="key-letter" style="background:#E65100">G</div><div class="key-text">Gram stain is the FIRST step in bacterial identification</div></div>
    <div class="key-row"><div class="key-letter" style="background:#2E7D32">R</div><div class="key-text">Reservoir host differs from definitive/intermediate host</div></div>
    <div class="key-row"><div class="key-letter" style="background:#1565C0">A</div><div class="key-text">Atypical organisms lack cell walls – β-lactams don't work</div></div>
    <div class="key-row"><div class="key-letter" style="background:#7B1FA2">M</div><div class="key-text">Media specificity: always link organism to its culture medium</div></div>
    <div class="key-row"><div class="key-letter" style="background:#AD1457">S</div><div class="key-text">Serological tests: know sensitivity vs specificity of each</div></div>
    <div class="key-row"><div class="key-letter" style="background:#00838F">T</div><div class="key-text">Toxin type (AB, superantigen, endotoxin) determines mechanism</div></div>
    <div class="key-row"><div class="key-letter" style="background:#E65100">A</div><div class="key-text">Antibiotic mechanism must link to bacterial target structure</div></div>
    <div class="key-row"><div class="key-letter" style="background:#2E7D32">I</div><div class="key-text">Intracellular bugs need cell-penetrating antibiotics (Macrolides, FQ)</div></div>
    <div class="key-row"><div class="key-letter" style="background:#1565C0">N</div><div class="key-text">Normal flora turns pathogenic when host immunity falls</div></div>
    <div class="key-row"><div class="key-letter" style="background:#7B1FA2">V</div><div class="key-text">Virus classification: DNA/RNA → ss/ds → +/- sense → envelope</div></div>
    <div class="key-row"><div class="key-letter" style="background:#AD1457">E</div><div class="key-text">Evasion mechanisms: capsule, biofilm, IgA protease, intracellular</div></div>
    <div class="key-row"><div class="key-letter" style="background:#006064">C</div><div class="key-text">Clinical correlation ties organism → disease → complication → Rx</div></div>
  </div>

  <!-- High Yield Fact File -->
  <div class="panel hiyield-panel">
    <div class="panel-header">★ High Yield Fact File</div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Most common cause of UTI: <b>E. coli</b></span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Most common cause of meningitis in neonates: <b>GBS (Group B Strep)</b></span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Most common cause of CAP: <b>Strep pneumoniae</b></span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Most common opportunistic fungal infection: <b>Candida albicans</b></span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Most common cause of viral encephalitis: <b>HSV-1</b></span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Most common helminth worldwide: <b>Ascaris lumbricoides</b></span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Malaria species causing blackwater fever: <b>P. falciparum</b></span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Smallest bacterium: <b>Mycoplasma</b> (no cell wall)</span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Largest bacterium (visible to naked eye): <b>Thiomargarita</b></span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Most heat-resistant spores: <b>Clostridium</b> &amp; <b>Bacillus</b></span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Obligate anaerobe: <b>Bacteroides fragilis</b> (most common)</span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Obligate aerobe: <b>Mycobacterium tuberculosis</b></span></div>
    <div class="hiyield-row"><span class="hiyield-star">★</span><span class="hiyield-text">Virus that integrates into host genome: <b>HIV, HPV, EBV</b></span></div>
  </div>
</div>

<!-- FOUR COL: Definitions | Abbreviations | Exam Approach | Staining -->
<div class="four-col">

  <!-- Important Definitions -->
  <div class="def-panel">
    <div class="def-title">Important Definitions</div>
    <div class="def-item"><b>Pathogenicity:</b> Ability to cause disease</div>
    <div class="def-item"><b>Virulence:</b> Degree/severity of disease caused</div>
    <div class="def-item"><b>Commensals:</b> Normal flora, no harm in situ</div>
    <div class="def-item"><b>Opportunist:</b> Causes disease only in immunocompromised</div>
    <div class="def-item"><b>Sepsis:</b> Life-threatening organ dysfunction from infection</div>
    <div class="def-item"><b>MIC:</b> Minimum Inhibitory Concentration</div>
    <div class="def-item"><b>MRSA:</b> Methicillin-resistant Staph aureus (mecA gene)</div>
    <div class="def-item"><b>Zoonosis:</b> Animal-to-human transmitted infection</div>
  </div>

  <!-- Abbreviations -->
  <div class="abbr-panel">
    <div class="abbr-title">Abbreviations (Must Know)</div>
    <div class="abbr-grid">
      <div class="abbr-row"><span class="abbr-key">ZN</span><span class="abbr-val">Ziehl-Neelsen stain</span></div>
      <div class="abbr-row"><span class="abbr-key">AFB</span><span class="abbr-val">Acid-Fast Bacilli</span></div>
      <div class="abbr-row"><span class="abbr-key">LJ</span><span class="abbr-val">Lowenstein-Jensen medium</span></div>
      <div class="abbr-row"><span class="abbr-key">PCR</span><span class="abbr-val">Polymerase Chain Reaction</span></div>
      <div class="abbr-row"><span class="abbr-key">MIC</span><span class="abbr-val">Min. Inhibitory Conc.</span></div>
      <div class="abbr-row"><span class="abbr-key">ELISA</span><span class="abbr-val">Enzyme-linked Immunosorbent Assay</span></div>
      <div class="abbr-row"><span class="abbr-key">CAP</span><span class="abbr-val">Community-Acquired Pneumonia</span></div>
      <div class="abbr-row"><span class="abbr-key">MRSA</span><span class="abbr-val">Methicillin-Resistant S. aureus</span></div>
      <div class="abbr-row"><span class="abbr-key">VDRL</span><span class="abbr-val">Venereal Disease Research Lab</span></div>
      <div class="abbr-row"><span class="abbr-key">CMV</span><span class="abbr-val">Cytomegalovirus</span></div>
      <div class="abbr-row"><span class="abbr-key">EBV</span><span class="abbr-val">Epstein-Barr Virus</span></div>
      <div class="abbr-row"><span class="abbr-key">VZV</span><span class="abbr-val">Varicella-Zoster Virus</span></div>
      <div class="abbr-row"><span class="abbr-key">TB</span><span class="abbr-val">Tuberculosis</span></div>
      <div class="abbr-row"><span class="abbr-key">HSV</span><span class="abbr-val">Herpes Simplex Virus</span></div>
    </div>
  </div>

  <!-- Exam Approach -->
  <div class="exam-panel">
    <div class="exam-title">Exam Approach</div>
    <div class="exam-step"><div class="exam-num">1</div>Identify organism → Gram stain result</div>
    <div class="exam-step"><div class="exam-num">2</div>Link to specific disease/syndrome</div>
    <div class="exam-step"><div class="exam-num">3</div>Recall specific culture medium or diagnostic test</div>
    <div class="exam-step"><div class="exam-num">4</div>Identify virulence factor or toxin</div>
    <div class="exam-step"><div class="exam-num">5</div>Apply antibiotic mechanism of action</div>
    <div class="exam-step"><div class="exam-num">6</div>Eliminate wrong options by exception</div>
  </div>

  <!-- Quick Staining Reference -->
  <div style="background:#E8F5E9; border: 2px solid #2E7D32; border-radius:8px; padding:7px 9px;">
    <div style="font-size:11px; font-weight:800; color:#1B5E20; margin-bottom:4px; text-transform:uppercase;">🎨 Staining Quick Ref</div>
    <div style="font-size:9px; color:#333; line-height:1.6;">
      <b>ZN:</b> TB, Leprosy, Nocardia<br>
      <b>India Ink:</b> Cryptococcus<br>
      <b>PAS:</b> Fungi, Histoplasma<br>
      <b>Silver (GMS):</b> Aspergillus, PCP<br>
      <b>Giemsa:</b> Malaria, Leishmania<br>
      <b>Dark Field:</b> Treponema (syphilis)<br>
      <b>Gram (+ve):</b> Purple/Blue<br>
      <b>Gram (-ve):</b> Pink/Red<br>
    </div>
  </div>
</div>

<!-- PEARL ROW -->
<div class="pearl-row">
  <div class="pearl-card pyq-card">
    <div class="pearl-icon">💡</div>
    <div class="pearl-head">PYQ PEARL</div>
    <div class="pearl-body">&gt;60% questions are application-based. Link organism → disease → lab diagnosis → drug. Concept clarity is the key!</div>
  </div>
  <div class="pearl-card inicet-card">
    <div class="pearl-icon">⭐</div>
    <div class="pearl-head">INI-CET PEARL</div>
    <div class="pearl-body">Focus on: next-best investigation, antibiotic of choice for specific organisms, mechanism of resistance (ESBL, MRSA, VRE) and treatment of complications.</div>
  </div>
  <div class="pearl-card trap-card">
    <div class="pearl-icon">⚠️</div>
    <div class="pearl-head">EXAM TRAP</div>
    <div class="pearl-body">
      <div class="trap-item">Don't confuse screening vs confirmatory tests</div>
      <div class="trap-item">Don't mix Widal (screening) with culture (gold std)</div>
      <div class="trap-item">Don't ignore viral vs bacterial differentiation clues</div>
    </div>
  </div>
  <div class="pearl-card mantra-card">
    <div class="pearl-icon">🧠</div>
    <div class="pearl-head">QUICK REVISION MANTRA</div>
    <div class="pearl-body" style="font-weight:800; color:#4A148C; font-size:10px; margin-top:4px;">
      Revise → Recall → Apply<br>
      <span style="font-size:12px; color:#7B1FA2;">REPEAT!</span>
    </div>
  </div>
</div>

<!-- FOOTER -->
<div class="footer-bar">
  ★ CONSISTENT STUDY + SMART REVISION + PYQ PRACTICE = 700+ IS POSSIBLE ★
</div>

</body>
</html>
Running Command

which wkhtmltopdf; which chromium-browser; which chromium; which google-chrome; …

Running Command

chromium --headless --no-sandbox --disable-gpu --screenshot=/home/daytona/worksp…

Running Command

chromium --headless --no-sandbox --disable-gpu --print-to-pdf=/home/daytona/work…

Loading Image
Running Command

ls -lh /home/daytona/workspace/micro-atlas/; python3 -c " from PIL import Image …

Your Microbiology 700+ Bootcamp Atlas is ready! Here are all three download formats:
Download your files:

micro atlas

Image · PNG

micro atlas

PDF Document · PDF

micro atlas

HTML File · HTML


Here's exactly what's packed into Page 1 - Master Map of Microbiology, matching your OBG atlas format:
Layout (mirrors the OBG atlas exactly):
SectionContent
HeaderDark navy bar, Page badge, title badges (High Yield, PYQ Driven...), VISION badge
Left ColumnBacteriology Core Domains - 8 topics with colored icons
Center Mind Map8 spoke nodes (Bacteriology, Virology, Immunology, Diagnostics, Staining, Antimicrobials, Parasitology, Mycology) around a dark hub
Right ColumnVirology + Mycology/Parasitology Core Domains
Gold Standards12 gold standard diagnostic tests (e.g., TB → LJ culture, Malaria → thick/thin smear)
Key PrinciplesGRAMSTAINVEC acronym - 12 principles for exam strategy
High Yield Fact File13 star-marked "most common" facts (UTI, meningitis, CAP, etc.)
Bottom RowDefinitions, Abbreviations grid, Exam Approach steps, Staining Quick Reference
Pearl CardsPYQ Pearl, INI-CET Pearl, Exam Trap, Quick Revision Mantra
FooterGold bar with the study mantra
Color coding (discipline-matched):
  • Purple (#7B1FA2) = Bacteriology
  • Teal (#00838F) = Virology
  • Green (#2E7D32) = Gold Standards / Culture
  • Gold (#F9A825) = High Yield stars
  • Navy (#0B1B3D) = Headers

why cant i download it

Running Command

ls -lh /home/daytona/workspace/micro-atlas/ && file /home/daytona/workspace/micr…

Running Command

python3 -c " import base64 with open('/home/daytona/workspace/micro-atlas/micro_…

The files are confirmed valid on the server side. Here's every way you can get them:

Option 1 - Try these direct links again (click, don't right-click):

micro atlas

PDF Document · PDF

micro atlas

Image · PNG

micro atlas

HTML File · HTML


Option 2 - Save the HTML yourself (most reliable)
The HTML file contains everything needed to print/save as PDF from your browser:
  1. Open micro_atlas.html from the link above
  2. Press Ctrl+P (or Cmd+P on Mac)
  3. Choose "Save as PDF" - you'll get a perfect print-quality version

Option 3 - Why the link might not work
The sandbox download links work only when the chat platform supports file serving from the sandbox path /home/daytona/workspace/.... If your platform doesn't support it, the link will appear broken. This is a platform limitation, not a file issue - the files are real and valid (PDF: 310KB, PNG: 349KB, 1100×1700px).

The HTML file is self-contained and is your best bet - open it in any browser and Ctrl+P to PDF. Would you like me to make any changes to the content or layout before you save it?

Create more pages (Bacteria taxonomy, Virology classification, Parasitology)

Finding Sources
Finding Sources
Finding Sources
Writing File

~/micro-atlas/page2_bacteria.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Microbiology Atlas - Page 2: Bacteria Taxonomy</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',Arial,sans-serif;background:#fff;width:1100px;margin:0 auto;font-size:11px;color:#1a1a2e;}

/* HEADER */
.header{background:#0B1B3D;padding:10px 16px 8px;display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid #F9A825;}
.page-badge{background:#1a3a6e;color:#fff;font-weight:900;font-size:13px;padding:8px 10px;border-radius:6px;text-align:center;min-width:54px;border:2px solid #F9A825;}
.header-center{text-align:center;flex:1;padding:0 12px;}
.main-title{font-size:24px;font-weight:900;color:#fff;letter-spacing:1px;text-transform:uppercase;}
.sub-title{font-size:12px;font-weight:700;color:#F9A825;letter-spacing:2px;margin-top:2px;text-transform:uppercase;}
.header-badges{display:flex;gap:14px;justify-content:center;margin-top:5px;}
.header-badges span{font-size:10px;font-weight:700;color:#e0e0e0;}
.header-badges span::before{content:"★ ";color:#F9A825;}
.vision-badge{background:#1a3a6e;border-radius:8px;padding:6px 10px;text-align:center;border:2px solid #F9A825;min-width:90px;}
.vision-badge .v-title{font-size:14px;font-weight:900;color:#F9A825;}
.vision-badge .v-items{font-size:8px;color:#ccc;line-height:1.5;}

/* SHARED */
.bg{background:#f0f2f5;padding:6px;display:flex;flex-direction:column;gap:6px;}
.panel{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #ddd;}
.ph{padding:7px 12px;color:#fff;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:0.5px;}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
.row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;}
.row4{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;}

/* TAXONOMY TABLE */
.tax-table{width:100%;border-collapse:collapse;}
.tax-table th{padding:5px 8px;font-size:9.5px;font-weight:800;text-align:left;border-bottom:2px solid #ddd;}
.tax-table td{padding:4px 8px;font-size:9px;border-bottom:1px solid #f0f0f0;vertical-align:top;line-height:1.4;}
.tax-table tr:nth-child(even) td{background:#fafafa;}
.org{font-weight:700;color:#1a1a2e;}
.tag{display:inline-block;padding:1px 5px;border-radius:10px;font-size:8px;font-weight:700;margin:1px 2px;}
.gp{background:#EDE7F6;color:#6A1B9A;}
.gn{background:#E8F5E9;color:#1B5E20;}
.afb{background:#FFF9C4;color:#E65100;}
.spi{background:#E3F2FD;color:#1565C0;}
.atyp{background:#FCE4EC;color:#AD1457;}

/* Gram stain visual */
.gram-visual{display:flex;gap:8px;padding:10px 12px;align-items:flex-start;}
.gram-col{flex:1;}
.gram-header{font-size:11px;font-weight:900;text-align:center;padding:6px;border-radius:6px 6px 0 0;color:#fff;}
.gram-pos-hdr{background:#7B1FA2;}
.gram-neg-hdr{background:#C62828;}
.gram-body{border:2px solid #ddd;border-top:none;border-radius:0 0 6px 6px;padding:6px;}
.gram-section{margin-bottom:6px;}
.gram-section-title{font-size:9px;font-weight:800;color:#555;margin-bottom:3px;text-transform:uppercase;border-bottom:1px solid #eee;padding-bottom:2px;}
.gitem{display:flex;align-items:flex-start;gap:5px;padding:2px 0;border-bottom:1px dotted #f0f0f0;}
.gitem-name{font-size:9.5px;font-weight:700;flex:1;}
.gitem-note{font-size:8.5px;color:#666;flex:1.2;}
.gbullet{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:3px;}
.gbullet-pos{background:#7B1FA2;}
.gbullet-neg{background:#C62828;}

/* Mnemonics */
.mnemonic-box{background:#FFF9C4;border:2px solid #F9A825;border-radius:8px;padding:8px 12px;margin:0;}
.mnemonic-title{font-size:10px;font-weight:800;color:#E65100;margin-bottom:4px;}
.mnemonic-item{font-size:9px;color:#333;line-height:1.6;margin-bottom:2px;}
.mnemonic-item b{color:#0B1B3D;}

/* Special properties table */
.prop-table{width:100%;border-collapse:collapse;}
.prop-table th{background:#37474F;color:#fff;padding:5px 8px;font-size:9.5px;font-weight:700;text-align:left;}
.prop-table td{padding:4px 8px;font-size:9px;border-bottom:1px solid #eee;vertical-align:top;}
.prop-table tr:hover td{background:#f5f5f5;}
.prop-key{font-weight:700;color:#1565C0;}
.prop-eg{color:#2E7D32;font-style:italic;}

/* Culture media */
.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:8px;}
.media-card{border-radius:6px;padding:6px 8px;border:1px solid rgba(0,0,0,0.1);}
.media-name{font-size:9.5px;font-weight:800;margin-bottom:2px;}
.media-for{font-size:8.5px;color:#555;line-height:1.4;}

/* Antibiotic targets */
.abx-section{padding:8px 12px;}
.abx-row{display:flex;align-items:flex-start;gap:8px;padding:3px 0;border-bottom:1px solid #f0f0f0;}
.abx-target{font-size:9.5px;font-weight:800;flex:1;color:#0B1B3D;}
.abx-drug{font-size:9px;color:#1565C0;flex:1.5;}
.abx-eg{font-size:8.5px;color:#666;flex:1;}

/* HY Fact file */
.hy-item{display:flex;align-items:flex-start;padding:3.5px 8px;border-bottom:1px solid #f0f0f0;gap:5px;}
.hy-star{color:#6A1B9A;font-size:11px;flex-shrink:0;}
.hy-text{font-size:9.5px;color:#333;line-height:1.4;}

/* Pearl cards */
.pearl-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;}
.pearl-card{border-radius:8px;padding:7px 9px;}
.pyq-card{background:#FFF9C4;border:2px solid #F9A825;}
.inicet-card{background:#E8F5E9;border:2px solid #2E7D32;}
.trap-card{background:#FFEBEE;border:2px solid #C62828;}
.mantra-card{background:#F3E5F5;border:2px solid #7B1FA2;}
.pearl-icon{font-size:16px;}
.pearl-head{font-size:10px;font-weight:800;margin:2px 0;}
.pyq-card .pearl-head{color:#E65100;}
.inicet-card .pearl-head{color:#1B5E20;}
.trap-card .pearl-head{color:#C62828;}
.mantra-card .pearl-head{color:#4A148C;}
.pearl-body{font-size:8.5px;color:#444;line-height:1.5;}

/* footer */
.footer-bar{background:#0B1B3D;text-align:center;padding:8px;color:#F9A825;font-size:11px;font-weight:800;letter-spacing:1px;}
</style>
</head>
<body>

<!-- HEADER -->
<div class="header">
  <div class="page-badge">PAGE<br>2</div>
  <div class="header-center">
    <div class="main-title">Microbiology Bootcamp Atlas – Bacteria Taxonomy</div>
    <div class="sub-title">Classification · Gram Stain · Culture Media · Antibiotic Targets</div>
    <div class="header-badges">
      <span>High Yield</span><span>Exam Focused</span><span>PYQ Driven</span><span>NEET PG 2026</span>
    </div>
  </div>
  <div class="vision-badge">
    <div class="v-title">🎯 PAGE 2</div>
    <div class="v-items">Bacteriology<br>Taxonomy<br>Master Sheet</div>
  </div>
</div>

<div class="bg">

  <!-- ROW 1: Gram Pos + Gram Neg side by side -->
  <div class="row2">

    <!-- GRAM POSITIVE -->
    <div class="panel">
      <div class="ph" style="background:#7B1FA2;">🟣 GRAM POSITIVE BACTERIA – Master List</div>
      <div class="gram-visual" style="padding:8px;">
        <div style="width:100%;">

          <div class="gram-section">
            <div class="gram-section-title">COCCI</div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Staphylococcus aureus</div><div class="gitem-note">Coagulase +ve; TSST-1, PVL toxin; MRSA → mecA gene</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">S. epidermidis</div><div class="gitem-note">Coagulase -ve; prosthetic valve endocarditis; novobiocin sensitive</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">S. saprophyticus</div><div class="gitem-note">Coagulase -ve; novobiocin RESISTANT; UTI in young women</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Strep. pyogenes (GAS)</div><div class="gitem-note">β-hemolysis; M protein; ARF, PSGN; bacitracin sensitive</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Strep. agalactiae (GBS)</div><div class="gitem-note">Neonatal meningitis; CAMP test +ve; bacitracin RESISTANT</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Strep. pneumoniae</div><div class="gitem-note">α-hemolysis; lancet-shaped diplococci; optochin sensitive; CAP, meningitis</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Enterococcus faecalis</div><div class="gitem-note">γ-hemolysis; bile esculin +ve; VRE (vancomycin-resistant enterococcus)</div></div>
          </div>

          <div class="gram-section">
            <div class="gram-section-title">BACILLI (Spore-forming)</div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Bacillus anthracis</div><div class="gitem-note">Non-motile; Medusa head colonies; anthrax (cutaneous MC); EF+LF+PA toxins</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Bacillus cereus</div><div class="gitem-note">Food poisoning; fried rice; emetic (preformed) + diarrheal toxin</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Clostridium tetani</div><div class="gitem-note">Drumstick/tennis racket spores; tetanospasmin → inhibits GABA/glycine</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Clostridium botulinum</div><div class="gitem-note">Subterminal spores; flaccid paralysis; blocks ACh release at NMJ</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Clostridium perfringens</div><div class="gitem-note">Stormy clot; double zone hemolysis; gas gangrene; Nagler rxn</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">C. difficile</div><div class="gitem-note">Pseudomembranous colitis; Toxin A+B; after antibiotics; Rx: Vancomycin/Fidaxomicin</div></div>
          </div>

          <div class="gram-section">
            <div class="gram-section-title">BACILLI (Non-spore forming)</div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Listeria monocytogenes</div><div class="gitem-note">Tumbling motility; cold enrichment; neonatal meningitis, unpasteurized dairy</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Corynebacterium diphth.</div><div class="gitem-note">Club-shaped; metachromatic granules (Babes-Ernst); diphtheria toxin → ADP ribosylation EF-2</div></div>
            <div class="gitem"><div class="gbullet gbullet-pos"></div><div class="gitem-name">Actinomyces israelii</div><div class="gitem-note">Filamentous; sulfur granules; cervicofacial abscess; NOT acid-fast</div></div>
          </div>

          <div class="gram-section">
            <div class="gram-section-title">ACID FAST (Modified Gram)</div>
            <div class="gitem"><div class="gbullet" style="background:#E65100"></div><div class="gitem-name">Mycobacterium tuberculosis</div><div class="gitem-note">ZN stain; LJ medium; obligate aerobe; cord factor (TDM); Ghon complex</div></div>
            <div class="gitem"><div class="gbullet" style="background:#E65100"></div><div class="gitem-name">M. leprae</div><div class="gitem-note">Cannot be cultured; armadillo footpad; Virchow cells; Fite-Faraco stain</div></div>
            <div class="gitem"><div class="gbullet" style="background:#FF7043"></div><div class="gitem-name">Nocardia</div><div class="gitem-note">Weakly acid-fast; filamentous; Madura foot (mycetoma); TMP-SMX</div></div>
          </div>
        </div>
      </div>
    </div>

    <!-- GRAM NEGATIVE -->
    <div class="panel">
      <div class="ph" style="background:#C62828;">🔴 GRAM NEGATIVE BACTERIA – Master List</div>
      <div style="padding:8px;">

        <div class="gram-section">
          <div class="gram-section-title">COCCI</div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Neisseria gonorrhoeae</div><div class="gitem-note">Oxidase +ve; Thayer-Martin; intracellular diplococci; no capsule; STI, PID</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Neisseria meningitidis</div><div class="gitem-note">Capsule present; Waterhouse-Friderichsen; meningitis + DIC; serogroup B/C/W</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Moraxella catarrhalis</div><div class="gitem-note">Oxidase +ve; hockey puck sign; URTI, otitis media; β-lactamase producer</div></div>
        </div>

        <div class="gram-section">
          <div class="gram-section-title">ENTEROBACTERIACEAE (Lactose fermenters)</div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">E. coli</div><div class="gitem-note">MC UTI; IMViC (++--); ETEC: traveler's diarrhea; EHEC O157:H7: HUS</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Klebsiella pneumoniae</div><div class="gitem-note">Mucoid colonies; currant jelly sputum; ESBL producer; nosocomial pneumonia</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Enterobacter / Citrobacter</div><div class="gitem-note">Late lactose fermenters; nosocomial; carbapenem resistance (NDM-1)</div></div>
        </div>

        <div class="gram-section">
          <div class="gram-section-title">ENTEROBACTERIACEAE (Non-lactose fermenters)</div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Salmonella typhi</div><div class="gitem-note">H2S +ve; Widal test; blood cx (wk1) → stool cx (wk2-3); rose spots; bradycardia</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Shigella spp.</div><div class="gitem-note">No H2S; no motility; dysentery; Shiga toxin → HUS; smallest infective dose</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Proteus mirabilis</div><div class="gitem-note">Urease +ve; swarming motility; kidney stones (struvite); Weil-Felix (OX19)</div></div>
        </div>

        <div class="gram-section">
          <div class="gram-section-title">NON-FERMENTERS</div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Pseudomonas aeruginosa</div><div class="gitem-note">Pyocyanin (blue-green); grape odor; burns/CF/ICU; intrinsic resistance; imipenem</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Acinetobacter baumannii</div><div class="gitem-note">ESKAPE pathogen; MDR; VAP; OXA-type carbapenemase</div></div>
        </div>

        <div class="gram-section">
          <div class="gram-section-title">CURVED / SPIRAL GN RODS</div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Vibrio cholerae</div><div class="gitem-note">Comma-shaped; rice-water stool; cholera toxin (inc. cAMP); TCBS medium</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Campylobacter jejuni</div><div class="gitem-note">Seagull wing; GBS trigger; oxidase +ve; Guillain-Barré; poultry</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">H. pylori</div><div class="gitem-note">Urease +ve; CLO test; PUD/gastric ca; Rx: triple therapy (PPI+Amox+Clarithro)</div></div>
        </div>

        <div class="gram-section">
          <div class="gram-section-title">SMALL GN RODS (Fastidious)</div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Haemophilus influenzae</div><div class="gitem-note">Requires X+V factors; chocolate agar; Pfeiffer's bacillus; epiglottitis (type b)</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Bordetella pertussis</div><div class="gitem-note">Bordet-Gengou medium; whooping cough; pertussis toxin (inc. cAMP)</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Brucella spp.</div><div class="gitem-note">Intracellular; undulant fever; raw milk/cheese; Malta fever; Castañeda medium</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Yersinia pestis</div><div class="gitem-note">Safety pin appearance (bipolar); plague; rat flea (Xenopsylla cheopis)</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Legionella pneumophila</div><div class="gitem-note">Silver stain / BCYE medium; Pontiac fever; urine antigen test; AC water</div></div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Francisella tularensis</div><div class="gitem-note">Tularemia; rabbit fever; tick/rabbit bite; ulceroglandular MC form</div></div>
        </div>

        <div class="gram-section">
          <div class="gram-section-title">ANAEROBES</div>
          <div class="gitem"><div class="gbullet gbullet-neg"></div><div class="gitem-name">Bacteroides fragilis</div><div class="gitem-note">MC anaerobe; polysaccharide capsule; intra-abdominal abscess; metronidazole</div></div>
        </div>
      </div>
    </div>
  </div>

  <!-- ROW 2: Culture Media + Antibiotic Mechanisms + Mnemonics -->
  <div class="row3">

    <!-- Culture Media -->
    <div class="panel">
      <div class="ph" style="background:#2E7D32;">🧫 Culture Media – Organism Linkage</div>
      <table class="tax-table" style="width:100%;">
        <tr><th style="background:#E8F5E9;color:#1B5E20;">Medium</th><th style="background:#E8F5E9;color:#1B5E20;">Organism</th><th style="background:#E8F5E9;color:#1B5E20;">Key Feature</th></tr>
        <tr><td class="org">Lowenstein-Jensen (LJ)</td><td>M. tuberculosis</td><td>Inspissated egg; 6-8 weeks</td></tr>
        <tr><td class="org">BCYE (Buffered Charcoal YE)</td><td>Legionella</td><td>Cysteine + iron supplement</td></tr>
        <tr><td class="org">Bordet-Gengou</td><td>Bordetella pertussis</td><td>Potato-glycerol-blood</td></tr>
        <tr><td class="org">Thayer-Martin (VCN)</td><td>Neisseria</td><td>Chocolate agar + antibiotics</td></tr>
        <tr><td class="org">MacConkey Agar</td><td>GN enterobacteria</td><td>Lactose fermenters = pink</td></tr>
        <tr><td class="org">Blood Agar</td><td>Strep, Staph</td><td>Hemolysis pattern (α/β/γ)</td></tr>
        <tr><td class="org">Chocolate Agar</td><td>H. influenzae, N. gonorrhoeae</td><td>X+V factors released</td></tr>
        <tr><td class="org">TCBS</td><td>Vibrio cholerae</td><td>Yellow colonies</td></tr>
        <tr><td class="org">Tellurite medium</td><td>C. diphtheriae</td><td>Black colonies; black-grey</td></tr>
        <tr><td class="org">Castañeda medium</td><td>Brucella</td><td>Biphasic agar + broth</td></tr>
        <tr><td class="org">Skirrow / Campy-BAP</td><td>Campylobacter</td><td>42°C, microaerophilic</td></tr>
        <tr><td class="org">Sabouraud Dextrose</td><td>Fungi</td><td>Low pH; chloramphenicol added</td></tr>
        <tr><td class="org">Buffered glycerol saline</td><td>Shigella transport</td><td>Cary-Blair for Salmonella</td></tr>
        <tr><td class="org">PPLO / Hayflick</td><td>Mycoplasma</td><td>Fried egg colonies</td></tr>
      </table>
    </div>

    <!-- Antibiotic Mechanisms -->
    <div class="panel">
      <div class="ph" style="background:#1565C0;">💊 Antibiotic Mechanisms & Resistance</div>
      <div class="abx-section">
        <div style="font-size:10px;font-weight:800;color:#1565C0;margin-bottom:4px;border-bottom:1px solid #ddd;padding-bottom:3px;">TARGET → DRUG CLASS → EXAMPLE</div>
        <div class="abx-row"><span class="abx-target">Cell Wall (PBP)</span><span class="abx-drug">β-lactams (Pen, Ceph, Carba)</span><span class="abx-eg">Amoxicillin, Meropenem</span></div>
        <div class="abx-row"><span class="abx-target">Cell Wall (transglycosylase)</span><span class="abx-drug">Vancomycin (D-Ala-D-Ala)</span><span class="abx-eg">MRSA, VRE</span></div>
        <div class="abx-row"><span class="abx-target">30S ribosome</span><span class="abx-drug">Aminoglycosides (16S rRNA)</span><span class="abx-eg">Gentamicin, Amikacin</span></div>
        <div class="abx-row"><span class="abx-target">30S ribosome</span><span class="abx-drug">Tetracyclines (block aa-tRNA)</span><span class="abx-eg">Doxycycline, Tigecycline</span></div>
        <div class="abx-row"><span class="abx-target">50S ribosome</span><span class="abx-drug">Macrolides (23S rRNA)</span><span class="abx-eg">Azithromycin, Clarithromycin</span></div>
        <div class="abx-row"><span class="abx-target">50S ribosome</span><span class="abx-drug">Chloramphenicol (peptidyl transferase)</span><span class="abx-eg">Gray baby syndrome</span></div>
        <div class="abx-row"><span class="abx-target">50S ribosome</span><span class="abx-drug">Linezolid (oxazolidinone)</span><span class="abx-eg">MRSA, VRE – oral bioavailability</span></div>
        <div class="abx-row"><span class="abx-target">50S ribosome</span><span class="abx-drug">Clindamycin (translocation)</span><span class="abx-eg">Anaerobes, C. acnes</span></div>
        <div class="abx-row"><span class="abx-target">DNA Gyrase (GyrA/B)</span><span class="abx-drug">Fluoroquinolones</span><span class="abx-eg">Ciprofloxacin, Levofloxacin</span></div>
        <div class="abx-row"><span class="abx-target">RNA Polymerase (β-subunit)</span><span class="abx-drug">Rifamycins</span><span class="abx-eg">Rifampicin – TB, prophylaxis</span></div>
        <div class="abx-row"><span class="abx-target">Cell Membrane</span><span class="abx-drug">Polymyxins (colistin)</span><span class="abx-eg">MDR GN last resort</span></div>
        <div class="abx-row"><span class="abx-target">Folate synthesis (DHPS)</span><span class="abx-drug">Sulfonamides</span><span class="abx-eg">Sulfamethoxazole</span></div>
        <div class="abx-row"><span class="abx-target">Folate synthesis (DHFR)</span><span class="abx-drug">Trimethoprim</span><span class="abx-eg">TMP-SMX for PCP, UTI</span></div>
        <div style="font-size:10px;font-weight:800;color:#C62828;margin-top:6px;margin-bottom:3px;">KEY RESISTANCE MECHANISMS</div>
        <div class="abx-row"><span class="abx-target">β-lactamase</span><span class="abx-drug">Destroys β-lactam ring</span><span class="abx-eg">ESBL (Klebsiella, E. coli)</span></div>
        <div class="abx-row"><span class="abx-target">mecA gene</span><span class="abx-drug">Altered PBP2a</span><span class="abx-eg">MRSA → use Vancomycin</span></div>
        <div class="abx-row"><span class="abx-target">vanA/vanB</span><span class="abx-drug">D-Ala-D-Lac substitution</span><span class="abx-eg">VRE → use Linezolid</span></div>
        <div class="abx-row"><span class="abx-target">NDM-1 (metallo-β-lactamase)</span><span class="abx-drug">Carbapenem resistance</span><span class="abx-eg">→ Colistin / Ceftazidime-Avibactam</span></div>
      </div>
    </div>

    <!-- Mnemonics + High Yield -->
    <div style="display:flex;flex-direction:column;gap:6px;">
      <div class="panel">
        <div class="ph" style="background:#E65100;">⭐ Special Properties – High Yield</div>
        <table class="prop-table">
          <tr><th>Property</th><th>Organism</th></tr>
          <tr><td class="prop-key">Capsule (anti-phagocytic)</td><td class="prop-eg">S. pneumoniae, Klebsiella, H. influenzae b, N. meningitidis, E. coli K1</td></tr>
          <tr><td class="prop-key">Urease +ve</td><td class="prop-eg">H. pylori, Proteus, Klebsiella, Crypto, Ureaplasma</td></tr>
          <tr><td class="prop-key">Oxidase +ve</td><td class="prop-eg">Neisseria, Pseudomonas, Campylobacter, Vibrio, Legionella</td></tr>
          <tr><td class="prop-key">Catalase +ve</td><td class="prop-eg">Staph, E. coli, Klebsiella (most GN); Strep NEGATIVE</td></tr>
          <tr><td class="prop-key">Coagulase +ve</td><td class="prop-eg">S. aureus ONLY (among Staph)</td></tr>
          <tr><td class="prop-key">IgA protease</td><td class="prop-eg">S. pneumoniae, H. influenzae, N. gonorrhoeae, N. meningitidis</td></tr>
          <tr><td class="prop-key">Biofilm formation</td><td class="prop-eg">S. epidermidis, P. aeruginosa, S. mutans</td></tr>
          <tr><td class="prop-key">Motile (peritrichous)</td><td class="prop-eg">Salmonella, E. coli, Proteus, Listeria (tumbling)</td></tr>
          <tr><td class="prop-key">Non-motile</td><td class="prop-eg">Shigella, Klebsiella, Y. pestis, B. anthracis</td></tr>
          <tr><td class="prop-key">Superantigens</td><td class="prop-eg">TSST-1 (S. aureus), Strep pyrogenic exotoxin A (scarlet fever)</td></tr>
        </table>
      </div>

      <div class="mnemonic-box">
        <div class="mnemonic-title">🧠 KEY MNEMONICS (Exam Savers)</div>
        <div class="mnemonic-item"><b>DNA viruses = HHAPPPy:</b> Herpes, Hepadna, Adeno, Papilloma, Parvo, Pox, Polyoma</div>
        <div class="mnemonic-item"><b>Urease +ve = PUNCH K:</b> Proteus, Ureaplasma, Nocardia, Cryptococcus, H. pylori, Klebsiella</div>
        <div class="mnemonic-item"><b>Oxidase +ve = PVNCH:</b> Pseudomonas, Vibrio, Neisseria, Campylobacter, H. pylori</div>
        <div class="mnemonic-item"><b>Exotoxin → cAMP ↑:</b> Cholera toxin, ETEC LT, Pertussis toxin, Anthrax EF, B. anthracis</div>
        <div class="mnemonic-item"><b>No cell wall:</b> Mycoplasma, Ureaplasma, L-forms – β-lactams useless!</div>
        <div class="mnemonic-item"><b>Spore formers:</b> Bacillus (aerobe) + Clostridium (anaerobe) → "BC spores"</div>
        <div class="mnemonic-item"><b>IgA protease = HING:</b> H. influenzae, IgA1 protease, N. gonorrhoeae/meningitidis, S. pneumoniae</div>
      </div>
    </div>
  </div>

  <!-- ROW 3: High Yield Facts + Atypicals + Pearl Cards -->
  <div class="row2">
    <!-- Atypical / Intracellular -->
    <div class="panel">
      <div class="ph" style="background:#AD1457;">🦠 Atypical & Obligate Intracellular Bacteria</div>
      <table class="tax-table">
        <tr><th style="background:#FCE4EC;color:#880E4F;">Organism</th><th style="background:#FCE4EC;color:#880E4F;">Disease</th><th style="background:#FCE4EC;color:#880E4F;">Diagnosis</th><th style="background:#FCE4EC;color:#880E4F;">Treatment</th></tr>
        <tr><td class="org">Chlamydia trachomatis (A-C)</td><td>Trachoma (leading infective blindness)</td><td>Giemsa: Halberstaedter-Prowazek bodies</td><td>Azithromycin</td></tr>
        <tr><td class="org">C. trachomatis (D-K)</td><td>STI, PID, neonatal conjunctivitis</td><td>NAAT (most sensitive)</td><td>Doxycycline</td></tr>
        <tr><td class="org">C. trachomatis (L1-L3)</td><td>Lymphogranuloma venereum</td><td>Groove sign; Frei test</td><td>Doxycycline 3 weeks</td></tr>
        <tr><td class="org">Chlamydophila pneumoniae</td><td>CAP, atypical pneumonia</td><td>Complement fixation</td><td>Macrolide/Doxycycline</td></tr>
        <tr><td class="org">Chlamydophila psittaci</td><td>Psittacosis (bird fever)</td><td>Serology</td><td>Doxycycline</td></tr>
        <tr><td class="org">Rickettsia rickettsii</td><td>RMSF (rash centripetal)</td><td>Weil-Felix OX2+OX19</td><td>Doxycycline</td></tr>
        <tr><td class="org">R. prowazekii</td><td>Epidemic typhus (louse)</td><td>Weil-Felix OX19+++</td><td>Doxycycline</td></tr>
        <tr><td class="org">R. typhi</td><td>Endemic/Murine typhus (flea)</td><td>Weil-Felix OX19+</td><td>Doxycycline</td></tr>
        <tr><td class="org">Coxiella burnetii</td><td>Q fever (no rash); livestock</td><td>Weil-Felix NEGATIVE</td><td>Doxycycline</td></tr>
        <tr><td class="org">Mycoplasma pneumoniae</td><td>Walking pneumonia; cold agglutinins</td><td>Cold agglutinins (IgM); NAAT</td><td>Macrolide/Doxy</td></tr>
        <tr><td class="org">Ureaplasma urealyticum</td><td>Urethritis, chorioamnionitis</td><td>Culture in urea medium</td><td>Doxycycline/Azithro</td></tr>
        <tr><td class="org">Treponema pallidum</td><td>Syphilis (primary: painless chancre)</td><td>Dark field; FTA-ABS (confirm)</td><td>Benzathine Penicillin</td></tr>
        <tr><td class="org">Leptospira interrogans</td><td>Weil's disease; jaundice+renal+uveitis</td><td>MAT; culture in EMJH medium</td><td>Penicillin/Doxycycline</td></tr>
        <tr><td class="org">Borrelia burgdorferi</td><td>Lyme disease; bull's eye rash (EM)</td><td>ELISA + Western Blot</td><td>Doxycycline</td></tr>
        <tr><td class="org">Borrelia recurrentis</td><td>Relapsing fever (louse)</td><td>Peripheral blood smear</td><td>Doxycycline</td></tr>
      </table>
    </div>

    <!-- High Yield Facts -->
    <div class="panel">
      <div class="ph" style="background:#6A1B9A;">★ High Yield Bacteriology Facts</div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Most common cause of <b>food poisoning</b>: S. aureus (preformed toxin, fastest onset 1-6h)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Most common cause of <b>bacterial meningitis</b> (adults): S. pneumoniae</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Most common cause of <b>meningitis neonates</b>: GBS (Strep agalactiae)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Most common cause of <b>sepsis</b> in India: E. coli, Klebsiella</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Most common cause of <b>CAP</b>: Strep pneumoniae → atypical CAP: Mycoplasma (younger)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Toxin inhibiting <b>GABA/glycine</b>: Tetanospasmin (tetanus) → spastic paralysis</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Toxin inhibiting <b>ACh release</b>: Botulinum toxin → flaccid paralysis (descending)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Organism with <b>ADP ribosylation of EF-2</b>: C. diphtheriae + Pseudomonas exotoxin A</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Organism with <b>ADP ribosylation of G-protein</b>: Cholera (Gs↑), Pertussis (Gi↓)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Waterhouse-Friderichsen</b> syndrome: N. meningitidis → bilateral adrenal hemorrhage</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>HUS triad</b>: Microangiopathic hemolysis + Thrombocytopenia + Renal failure → EHEC O157:H7</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Antibiotic of choice for TB</b>: HRZE × 2 months + HR × 4 months (DOTS)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Drug for MRSA</b>: Vancomycin (IV) / Linezolid (oral) / Daptomycin</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Widal test</b>: Agglutination against O (somatic) and H (flagellar) Ag of Salmonella; screening only</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Plague</b>: Yersinia pestis; Rat → Flea (Xenopsylla cheopis) → Human; Bubonic MC form</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Anthrax</b>: Cutaneous MC; Woolsorter's disease = pulmonary; Mediastinal widening on CXR</span></div>
    </div>
  </div>

  <!-- Pearl Row -->
  <div class="pearl-row">
    <div class="pearl-card pyq-card">
      <div class="pearl-icon">💡</div>
      <div class="pearl-head">PYQ PEARL</div>
      <div class="pearl-body">Gram stain + culture medium + toxin mechanism is the most tested trio. Always link: Organism → Stain → Medium → Disease → Drug of choice.</div>
    </div>
    <div class="pearl-card inicet-card">
      <div class="pearl-icon">⭐</div>
      <div class="pearl-head">INI-CET PEARL</div>
      <div class="pearl-body">Antibiotic resistance mechanisms are heavily tested: MRSA (mecA), ESBL, VRE (vanA), NDM-1. Know which drug to use when resistance is present.</div>
    </div>
    <div class="pearl-card trap-card">
      <div class="pearl-icon">⚠️</div>
      <div class="pearl-head">EXAM TRAP</div>
      <div class="pearl-body">
        • Widal = screening; blood culture = gold std for typhoid<br>
        • Shigella: non-motile, no H2S (vs Salmonella: motile, H2S +ve)<br>
        • C. diphtheriae: NOT acid-fast; Nocardia: weakly acid-fast
      </div>
    </div>
    <div class="pearl-card mantra-card">
      <div class="pearl-icon">🧠</div>
      <div class="pearl-head">QUICK REVISION MANTRA</div>
      <div class="pearl-body" style="font-weight:800;color:#4A148C;font-size:10px;margin-top:4px;">
        Gram → Culture → Toxin → Disease → Drug<br>
        <span style="font-size:12px;color:#7B1FA2;">REPEAT!</span>
      </div>
    </div>
  </div>

</div>
<div class="footer-bar">★ BACTERIOLOGY MASTERED = 150+ MARKS SECURED IN NEET PG MICROBIOLOGY ★</div>
</body>
</html>
Writing File

~/micro-atlas/page3_virology.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Microbiology Atlas - Page 3: Virology Classification</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',Arial,sans-serif;background:#fff;width:1100px;margin:0 auto;font-size:11px;color:#1a1a2e;}

.header{background:#0B1B3D;padding:10px 16px 8px;display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid #00BCD4;}
.page-badge{background:#1a3a6e;color:#fff;font-weight:900;font-size:13px;padding:8px 10px;border-radius:6px;text-align:center;min-width:54px;border:2px solid #00BCD4;}
.header-center{text-align:center;flex:1;padding:0 12px;}
.main-title{font-size:24px;font-weight:900;color:#fff;letter-spacing:1px;text-transform:uppercase;}
.sub-title{font-size:12px;font-weight:700;color:#00BCD4;letter-spacing:2px;margin-top:2px;text-transform:uppercase;}
.header-badges{display:flex;gap:14px;justify-content:center;margin-top:5px;}
.header-badges span{font-size:10px;font-weight:700;color:#e0e0e0;}
.header-badges span::before{content:"★ ";color:#00BCD4;}
.vision-badge{background:#1a3a6e;border-radius:8px;padding:6px 10px;text-align:center;border:2px solid #00BCD4;min-width:90px;}
.vision-badge .v-title{font-size:14px;font-weight:900;color:#00BCD4;}
.vision-badge .v-items{font-size:8px;color:#ccc;line-height:1.5;}

.bg{background:#f0f2f5;padding:6px;display:flex;flex-direction:column;gap:6px;}
.panel{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #ddd;}
.ph{padding:7px 12px;color:#fff;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:0.5px;}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
.row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;}

/* VIRUS CLASSIFICATION TREE */
.vtree{padding:8px 10px;}
.vtree-branch{margin-bottom:8px;}
.vtree-main{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:6px;margin-bottom:4px;}
.vtree-main-label{font-size:11px;font-weight:900;color:#fff;}
.vtree-sub{margin-left:16px;display:grid;grid-template-columns:1fr 1fr;gap:3px;}
.vcard{border-radius:6px;padding:5px 7px;border-left:3px solid;}
.vcard-name{font-size:9.5px;font-weight:800;}
.vcard-props{font-size:8.5px;color:#555;line-height:1.5;margin-top:1px;}
.vcard-disease{font-size:8.5px;font-style:italic;}

/* DNA colors */
.dna-bg{background:#E3F2FD;}
.dna-border{border-color:#1565C0;}
.dna-hdr{background:#1565C0;}
.rna-bg{background:#E8F5E9;}
.rna-border{border-color:#2E7D32;}
.rna-hdr{background:#2E7D32;}
.retro-bg{background:#FCE4EC;}
.retro-border{border-color:#C62828;}

/* Tables */
.vtab{width:100%;border-collapse:collapse;}
.vtab th{padding:5px 8px;font-size:9.5px;font-weight:800;text-align:left;border-bottom:2px solid #ddd;}
.vtab td{padding:4px 8px;font-size:9px;border-bottom:1px solid #f0f0f0;vertical-align:top;line-height:1.4;}
.vtab tr:nth-child(even) td{background:#fafafa;}
.vtab .org{font-weight:700;color:#0B1B3D;}

/* Hepatitis summary */
.hep-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:8px;}
.hep-card{border-radius:8px;padding:7px;text-align:center;border:2px solid;}
.hep-letter{font-size:18px;font-weight:900;margin-bottom:3px;}
.hep-prop{font-size:8px;color:#333;line-height:1.6;}

/* Oncogenic viruses */
.onco-row{display:flex;align-items:flex-start;padding:3.5px 8px;gap:6px;border-bottom:1px solid #f0f0f0;}
.onco-virus{font-size:9.5px;font-weight:800;min-width:120px;color:#0B1B3D;}
.onco-cancer{font-size:9px;color:#C62828;flex:1;}
.onco-note{font-size:8.5px;color:#666;flex:1;}

/* HY Fact */
.hy-item{display:flex;align-items:flex-start;padding:3.5px 8px;border-bottom:1px solid #f0f0f0;gap:5px;}
.hy-star{color:#006064;font-size:11px;flex-shrink:0;}
.hy-text{font-size:9.5px;color:#333;line-height:1.4;}

/* Vaccines */
.vax-row{display:flex;align-items:flex-start;padding:3.5px 8px;gap:6px;border-bottom:1px solid #f0f0f0;}
.vax-dis{font-size:9.5px;font-weight:700;min-width:140px;}
.vax-type{font-size:8.5px;color:#1565C0;flex:1;}
.vax-note{font-size:8.5px;color:#666;flex:1.2;}

/* Pearl */
.pearl-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;}
.pearl-card{border-radius:8px;padding:7px 9px;}
.pyq-card{background:#FFF9C4;border:2px solid #F9A825;}
.inicet-card{background:#E8F5E9;border:2px solid #2E7D32;}
.trap-card{background:#FFEBEE;border:2px solid #C62828;}
.mantra-card{background:#E0F7FA;border:2px solid #006064;}
.pearl-icon{font-size:16px;}
.pearl-head{font-size:10px;font-weight:800;margin:2px 0;}
.pyq-card .pearl-head{color:#E65100;}
.inicet-card .pearl-head{color:#1B5E20;}
.trap-card .pearl-head{color:#C62828;}
.mantra-card .pearl-head{color:#006064;}
.pearl-body{font-size:8.5px;color:#444;line-height:1.5;}
.footer-bar{background:#0B1B3D;text-align:center;padding:8px;color:#00BCD4;font-size:11px;font-weight:800;letter-spacing:1px;}
</style>
</head>
<body>

<div class="header">
  <div class="page-badge">PAGE<br>3</div>
  <div class="header-center">
    <div class="main-title">Microbiology Bootcamp Atlas – Virology Classification</div>
    <div class="sub-title">DNA/RNA Viruses · Hepatitis · Oncogenic · Vaccines · Antiviral Drugs</div>
    <div class="header-badges">
      <span>High Yield</span><span>Exam Focused</span><span>PYQ Driven</span><span>NEET PG 2026</span>
    </div>
  </div>
  <div class="vision-badge">
    <div class="v-title">🧬 PAGE 3</div>
    <div class="v-items">Virology<br>Classification<br>Master Sheet</div>
  </div>
</div>

<div class="bg">

  <!-- ROW 1: DNA Viruses + RNA Viruses -->
  <div class="row2">

    <!-- DNA VIRUSES -->
    <div class="panel">
      <div class="ph dna-hdr">🔵 DNA VIRUSES – Complete Classification (Mnemonic: HHAPPPy)</div>
      <div class="vtree">

        <div class="vtree-branch">
          <div class="vtree-main dna-hdr" style="border-radius:6px;"><div class="vtree-main-label">dsDNA VIRUSES (All enveloped except Adeno, Papilloma, Parvo)</div></div>
          <div class="vtree-sub">
            <div class="vcard dna-bg dna-border">
              <div class="vcard-name" style="color:#1565C0;">Herpesviridae (dsDNA, Enveloped)</div>
              <div class="vcard-props">HSV-1: oral herpes, encephalitis (temporal lobe)<br>HSV-2: genital herpes, neonatal herpes<br>VZV: chickenpox → shingles; Hutchinson's sign<br>EBV: mono, Burkitt's lymphoma, NPC, PTLD<br>CMV: owl-eye inclusions; TORCH; CMV retinitis<br>HHV-6: Roseola infantum (6th disease)<br>HHV-8: Kaposi's sarcoma (AIDS)</div>
              <div class="vcard-disease" style="color:#1565C0;">Rx: Acyclovir (HSV/VZV), Ganciclovir (CMV)</div>
            </div>
            <div class="vcard dna-bg dna-border">
              <div class="vcard-name" style="color:#1565C0;">Hepadnaviridae (partially dsDNA)</div>
              <div class="vcard-props">Hepatitis B virus; reverse transcriptase<br>HBsAg: surface Ag (1st to appear)<br>HBeAg: active replication marker<br>Anti-HBs: immunity marker<br>HBcAb IgM: acute infection<br>Window period: only anti-HBc IgM +ve</div>
              <div class="vcard-disease" style="color:#1565C0;">Rx: Tenofovir, Entecavir</div>
            </div>
            <div class="vcard dna-bg dna-border">
              <div class="vcard-name" style="color:#1565C0;">Adenoviridae (dsDNA, NON-enveloped)</div>
              <div class="vcard-props">Pharyngoconjunctival fever; follicular conjunctivitis<br>Swimming pool conjunctivitis<br>Hemorrhagic cystitis (Ad 11, 21)<br>Infantile diarrhea (Ad 40, 41)</div>
              <div class="vcard-disease" style="color:#1565C0;">No specific antiviral</div>
            </div>
            <div class="vcard dna-bg dna-border">
              <div class="vcard-name" style="color:#1565C0;">Papillomaviridae (dsDNA, NON-env)</div>
              <div class="vcard-props">HPV 6,11: genital warts (condyloma acuminata)<br>HPV 16,18: cervical cancer, oropharyngeal ca<br>HPV 1-4: plantar/common warts<br>Integration into host genome → E6 (p53↓), E7 (pRb↓)</div>
              <div class="vcard-disease" style="color:#1565C0;">Vaccine: Gardasil (4-valent), Cervarix (bivalent)</div>
            </div>
            <div class="vcard dna-bg dna-border">
              <div class="vcard-name" style="color:#1565C0;">Poxviridae (dsDNA, Enveloped, largest)</div>
              <div class="vcard-props">Variola (smallpox): eradicated 1980<br>Vaccinia: vaccine strain<br>Molluscum contagiosum: umbilicated papules<br>Monkeypox: rash + lymphadenopathy</div>
              <div class="vcard-disease" style="color:#1565C0;">Replicates in cytoplasm (only one!)</div>
            </div>
            <div class="vcard dna-bg dna-border">
              <div class="vcard-name" style="color:#1565C0;">Parvoviridae (ssDNA, NON-env, smallest)</div>
              <div class="vcard-props">Parvovirus B19: 5th disease (slapped cheek)<br>Aplastic crisis in sickle cell disease<br>Hydrops fetalis in pregnancy</div>
              <div class="vcard-disease" style="color:#1565C0;">IVIG for aplastic crisis</div>
            </div>
            <div class="vcard dna-bg dna-border">
              <div class="vcard-name" style="color:#1565C0;">Polyomaviridae</div>
              <div class="vcard-props">JC virus: PML (progressive multifocal leukoencephalopathy)<br>BK virus: hemorrhagic cystitis in transplant<br>Reactivate in immunocompromised</div>
              <div class="vcard-disease" style="color:#1565C0;">No effective antiviral</div>
            </div>
            <div class="vcard dna-bg dna-border">
              <div class="vcard-name" style="color:#1565C0;">Herpesviridae – Diagnosics</div>
              <div class="vcard-props">HSV encephalitis: temporal lobe on MRI<br>CSF: lymphocytes ↑, PCR HSV most sensitive<br>Tzanck smear: multinucleated giant cells<br>EBV: Monospot test (heterophile Ab)</div>
              <div class="vcard-disease" style="color:#C62828;">CMV: pp65 antigenemia; shell-vial culture</div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- RNA VIRUSES -->
    <div class="panel">
      <div class="ph rna-hdr">🟢 RNA VIRUSES – Complete Classification</div>
      <div class="vtree">

        <div style="font-size:10px;font-weight:800;color:#2E7D32;margin-bottom:4px;padding:0 2px;">+ssRNA (directly translated like mRNA):</div>
        <div class="vtree-sub" style="margin-left:0;margin-bottom:6px;">
          <div class="vcard rna-bg rna-border">
            <div class="vcard-name" style="color:#2E7D32;">Picornaviridae (+ss, Non-env)</div>
            <div class="vcard-props">Poliovirus: anterior horn (LMN); OPV/IPV<br>HAV: feco-oral; hepatitis A (self-limiting)<br>Rhinovirus: common cold (MC cause)<br>Coxsackievirus A: HFMD, herpangina<br>Coxsackie B: Bornholm's disease, myocarditis<br>Echovirus: neonatal sepsis/meningitis</div>
          </div>
          <div class="vcard rna-bg rna-border">
            <div class="vcard-name" style="color:#2E7D32;">Flaviviridae (+ss, Enveloped)</div>
            <div class="vcard-props">Dengue: Aedes aegypti; SD/DHF; NS1 Ag (early)<br>Yellow fever: jungle (sylvatic) vs urban; vaccine LAV<br>JE: Culex mosquito; pig + wading bird<br>Zika: microcephaly; Guillain-Barré; sexual transmission<br>HCV: most common post-transfusion hepatitis; cirrhosis<br>WNV: West Nile; flaccid paralysis; crow deaths</div>
          </div>
          <div class="vcard rna-bg rna-border">
            <div class="vcard-name" style="color:#2E7D32;">Togaviridae (+ss, Enveloped)</div>
            <div class="vcard-props">Rubella virus: CRS (cataracts, PDA, deafness)<br>Chikungunya: Aedes aegypti; arthralgia MC<br>Eastern/Western equine encephalitis</div>
          </div>
          <div class="vcard rna-bg rna-border">
            <div class="vcard-name" style="color:#2E7D32;">Caliciviridae (+ss, Non-env)</div>
            <div class="vcard-props">Norovirus: MC viral gastroenteritis in adults<br>Rotavirus: MC viral diarrhea in children (dsRNA Reovirus)<br>Hepatitis E: feco-oral; fatal in pregnancy (20%)</div>
          </div>
          <div class="vcard rna-bg rna-border">
            <div class="vcard-name" style="color:#2E7D32;">Coronaviridae (+ss, Enveloped)</div>
            <div class="vcard-props">SARS-CoV-2: COVID-19; ACE2 receptor<br>SARS-CoV-1: SARS (2002-03)<br>MERS-CoV: camels; droplet spread</div>
          </div>
        </div>

        <div style="font-size:10px;font-weight:800;color:#E65100;margin-bottom:4px;padding:0 2px;">-ssRNA (needs RNA-dependent RNA polymerase first):</div>
        <div class="vtree-sub" style="margin-left:0;margin-bottom:6px;">
          <div class="vcard" style="background:#FFF3E0;border-left:3px solid #E65100;">
            <div class="vcard-name" style="color:#E65100;">Orthomyxoviridae (segmented, Env)</div>
            <div class="vcard-props">Influenza A/B/C: Hemagglutinin+Neuraminidase<br>Antigenic drift: minor (epidemics)<br>Antigenic shift: major (pandemics) – only Flu A<br>Rx: Oseltamivir (neuraminidase inhibitor)<br>Reassortment: exchange of RNA segments</div>
          </div>
          <div class="vcard" style="background:#FFF3E0;border-left:3px solid #E65100;">
            <div class="vcard-name" style="color:#E65100;">Paramyxoviridae (-ss, Env, NON-segmented)</div>
            <div class="vcard-props">Measles: Koplik's spots; Warthin-Finkeldey cells<br>Mumps: parotitis; orchitis; meningitis<br>RSV: MC bronchiolitis infants; Rx: Palivizumab<br>Parainfluenza: croup (barking cough)<br>Nipah/Hendra: zoonotic; fruit bats</div>
          </div>
          <div class="vcard" style="background:#FFF3E0;border-left:3px solid #E65100;">
            <div class="vcard-name" style="color:#E65100;">Rhabdoviridae (-ss, Env, bullet-shaped)</div>
            <div class="vcard-props">Rabies: Negri bodies (hippocampus); dogs/bats<br>Street virus → Fixed virus (Pasteur)<br>PEP: RIG + vaccine (5 doses)</div>
          </div>
          <div class="vcard" style="background:#FFF3E0;border-left:3px solid #E65100;">
            <div class="vcard-name" style="color:#E65100;">Filoviridae (-ss, filamentous)</div>
            <div class="vcard-props">Ebola: hemorrhagic fever; fruit bats<br>Marburg: hemorrhagic fever; supportive Rx</div>
          </div>
          <div class="vcard" style="background:#FFF3E0;border-left:3px solid #E65100;">
            <div class="vcard-name" style="color:#E65100;">Bunyaviridae (segmented trisegmented)</div>
            <div class="vcard-props">Hantavirus: rodents; hemorrhagic fever; HCPS<br>Rift Valley fever; Crimean Congo (tick)</div>
          </div>
          <div class="vcard" style="background:#FFF3E0;border-left:3px solid #E65100;">
            <div class="vcard-name" style="color:#E65100;">Arenaviridae (bisegmented)</div>
            <div class="vcard-props">Lassa fever: rodents; West Africa<br>LCMV: lymphocytic choriomeningitis (mice)</div>
          </div>
        </div>

        <div style="font-size:10px;font-weight:800;color:#C62828;margin-bottom:4px;padding:0 2px;">dsRNA + Retroviruses:</div>
        <div class="vtree-sub" style="margin-left:0;">
          <div class="vcard retro-bg retro-border">
            <div class="vcard-name" style="color:#C62828;">Reoviridae (dsRNA, segmented, Non-env)</div>
            <div class="vcard-props">Rotavirus: MC diarrhea in children; wheel-shaped<br>Reovirus, Orbivirus (Colorado tick fever)</div>
          </div>
          <div class="vcard retro-bg retro-border">
            <div class="vcard-name" style="color:#C62828;">Retroviridae (+ssRNA → DNA via RT)</div>
            <div class="vcard-props">HIV-1: AIDS; CD4+ T cell; gp120+gp41<br>Diagnosis: ELISA → Western Blot (confirm)<br>p24 Ag: earliest lab marker<br>HTLV-1: adult T-cell leukemia (Japan/Caribbean)<br>Rx: HAART (NRTI+NNRTI+PI or INSTI)</div>
          </div>
        </div>
      </div>
    </div>
  </div>

  <!-- ROW 2: Hepatitis + Oncogenic Viruses -->
  <div class="row2">

    <!-- HEPATITIS SUMMARY -->
    <div class="panel">
      <div class="ph" style="background:#FF6F00;">🫀 Hepatitis Viruses – Complete Comparison</div>
      <div class="hep-grid">
        <div class="hep-card" style="background:#FFF9C4;border-color:#F9A825;">
          <div class="hep-letter" style="color:#E65100;">A</div>
          <div class="hep-prop"><b>RNA</b> (Picorna)<br>Feco-oral<br>No chronicity<br>No carrier<br>Self-limiting<br>HAV IgM = acute<br>Rx: Supportive<br>Vaccine available</div>
        </div>
        <div class="hep-card" style="background:#E3F2FD;border-color:#1565C0;">
          <div class="hep-letter" style="color:#1565C0;">B</div>
          <div class="hep-prop"><b>DNA</b> (Hepadna)<br>Blood/sexual/vertical<br>Chronicity 5-10%<br>HBsAg (1st marker)<br>HBeAg = replication<br>Window: anti-HBc only<br>Rx: Tenofovir<br>Vaccine: 3 doses</div>
        </div>
        <div class="hep-card" style="background:#E8F5E9;border-color:#2E7D32;">
          <div class="hep-letter" style="color:#2E7D32;">C</div>
          <div class="hep-prop"><b>RNA</b> (Flavi)<br>Blood-borne (IVDU)<br>Chronicity 75-85%<br>Post-transfusion MC<br>MC→cirrhosis<br>NS5B polymerase<br>Rx: Sofosbuvir + Daclatasvir<br>No vaccine</div>
        </div>
        <div class="hep-card" style="background:#F3E5F5;border-color:#7B1FA2;">
          <div class="hep-letter" style="color:#7B1FA2;">D</div>
          <div class="hep-prop"><b>RNA</b> (defective)<br>Needs HBV (HBsAg coat)<br>Blood/sexual<br>Co-infection or superinfection<br>Superinfection worse<br>Delta Ag<br>Rx: HBV vaccine prevents D<br>HDV+HBV = severe</div>
        </div>
        <div class="hep-card" style="background:#FCE4EC;border-color:#C62828;">
          <div class="hep-letter" style="color:#C62828;">E</div>
          <div class="hep-prop"><b>RNA</b> (Hepevirus)<br>Feco-oral<br>No chronicity (immunocomp: yes)<br><b>20% mortality in pregnancy!</b><br>Epidemic form<br>HEV IgM = acute<br>Rx: Supportive<br>Vaccine: China only</div>
        </div>
      </div>
      <div style="padding:6px 10px;">
        <table class="vtab">
          <tr><th style="background:#FF6F00;color:#fff;">Marker</th><th style="background:#FF6F00;color:#fff;">Window</th><th style="background:#FF6F00;color:#fff;">Acute</th><th style="background:#FF6F00;color:#fff;">Chronic</th><th style="background:#FF6F00;color:#fff;">Immunity (Vaccine)</th><th style="background:#FF6F00;color:#fff;">Past Infection</th></tr>
          <tr><td>HBsAg</td><td>-</td><td>+</td><td>+</td><td>-</td><td>-</td></tr>
          <tr><td>HBsAb (anti-HBs)</td><td>-</td><td>-</td><td>-</td><td>+</td><td>+</td></tr>
          <tr><td>HBcAb IgM</td><td>+</td><td>+</td><td>-</td><td>-</td><td>-</td></tr>
          <tr><td>HBcAb IgG</td><td>+</td><td>+</td><td>+</td><td>-</td><td>+</td></tr>
          <tr><td>HBeAg</td><td>-</td><td>+</td><td>+ (some)</td><td>-</td><td>-</td></tr>
          <tr><td>HBeAb</td><td>-</td><td>-</td><td>+ (some)</td><td>-</td><td>+</td></tr>
        </table>
      </div>
    </div>

    <!-- ONCOGENIC VIRUSES + ANTIVIRAL DRUGS -->
    <div style="display:flex;flex-direction:column;gap:6px;">
      <div class="panel">
        <div class="ph" style="background:#AD1457;">🎗️ Oncogenic Viruses – Cancer Association</div>
        <div class="onco-row"><span class="onco-virus">EBV (HHV-4)</span><span class="onco-cancer">Burkitt's lymphoma, NPC, Hodgkin's, PTLD, oral hairy leukoplakia</span><span class="onco-note">LMP-1 activates NF-κB; t(8;14) in Burkitt's</span></div>
        <div class="onco-row"><span class="onco-virus">HBV + HCV</span><span class="onco-cancer">Hepatocellular carcinoma (HCC)</span><span class="onco-note">HBV integrates → HCC; HCV chronic→cirrhosis→HCC</span></div>
        <div class="onco-row"><span class="onco-virus">HPV 16, 18</span><span class="onco-cancer">Cervical ca, oropharyngeal, anal, vulvar, vaginal</span><span class="onco-note">E6→p53↓; E7→pRb↓; Gardasil 9 prevents</span></div>
        <div class="onco-row"><span class="onco-virus">HTLV-1</span><span class="onco-cancer">Adult T-cell leukemia/lymphoma (ATL)</span><span class="onco-note">Japan, Caribbean; Tax protein activates IL-2R</span></div>
        <div class="onco-row"><span class="onco-virus">HHV-8 (KSHV)</span><span class="onco-cancer">Kaposi's sarcoma (AIDS), PEL, Castleman's disease</span><span class="onco-note">CD4 < 200; spindle cells + vascular channels</span></div>
        <div class="onco-row"><span class="onco-virus">MCV (Merkel cell polyoma)</span><span class="onco-cancer">Merkel cell carcinoma (rare skin cancer)</span><span class="onco-note">Elderly + immunocompromised</span></div>
        <div style="padding:6px 8px;background:#FFF9C4;font-size:9px;color:#E65100;font-weight:700;margin:4px 8px;border-radius:4px;">
          ⭐ EBV associations: IM (Monospot +ve, heterophile Ab), Burkitt's (jaw tumor in Africa, t8;14), NPC (South China), Hodgkin's (mixed cellularity MC in India), Hairy leukoplakia (HIV patients), PTLD (post-transplant)
        </div>
      </div>

      <div class="panel">
        <div class="ph" style="background:#006064;">💉 Antiviral Drugs – Mechanism & Use</div>
        <table class="vtab">
          <tr><th style="background:#E0F7FA;color:#006064;">Drug</th><th style="background:#E0F7FA;color:#006064;">Mechanism</th><th style="background:#E0F7FA;color:#006064;">Use / Key Toxicity</th></tr>
          <tr><td class="org">Acyclovir</td><td>Guanosine analogue; inhibits viral DNA pol (needs viral TK)</td><td>HSV-1/2, VZV; nephrotoxicity (IV)</td></tr>
          <tr><td class="org">Ganciclovir</td><td>Inhibits CMV DNA polymerase (UL97 kinase activation)</td><td>CMV retinitis; myelosuppression (BM)</td></tr>
          <tr><td class="org">Oseltamivir</td><td>Neuraminidase inhibitor → prevents viral release</td><td>Influenza A+B; within 48h of symptoms</td></tr>
          <tr><td class="org">Ribavirin</td><td>Guanosine analogue; inhibits RNA-dependent RNA pol</td><td>RSV (aerosol), HCV (+ PEG-IFN), Lassa</td></tr>
          <tr><td class="org">Zidovudine (AZT)</td><td>NRTI – nucleoside RT inhibitor; chain termination</td><td>HIV; anemia, myopathy; PMTCT</td></tr>
          <tr><td class="org">Tenofovir (TDF)</td><td>NRTI (nucleotide); inhibits RT and HBV polymerase</td><td>HIV + HBV; nephrotoxicity</td></tr>
          <tr><td class="org">Efavirenz</td><td>NNRTI – non-nucleoside RT inhibitor</td><td>HIV; CNS side effects; teratogenic</td></tr>
          <tr><td class="org">Lopinavir/Ritonavir</td><td>PI – inhibits viral protease (gag-pol cleavage)</td><td>HIV; GI side effects, lipodystrophy</td></tr>
          <tr><td class="org">Raltegravir</td><td>INSTI – integrase strand transfer inhibitor</td><td>HIV; well-tolerated; preferred in pregnancy</td></tr>
          <tr><td class="org">Sofosbuvir</td><td>HCV NS5B polymerase inhibitor (nucleotide)</td><td>HCV genotype 1-6; pan-genotypic; &gt;95% SVR</td></tr>
          <tr><td class="org">Interferon-α</td><td>Antiviral state via JAK-STAT; NK cell activation</td><td>HBV (pegylated), HCV, Kaposi's</td></tr>
        </table>
      </div>
    </div>
  </div>

  <!-- ROW 3: Vaccines + HY Facts -->
  <div class="row2">
    <!-- Vaccines -->
    <div class="panel">
      <div class="ph" style="background:#2E7D32;">💉 Viral Vaccines – Classification & Type</div>
      <div class="vax-row" style="background:#E8F5E9;font-weight:800;font-size:9.5px;"><span style="min-width:140px;">LIVE ATTENUATED</span><span style="color:#2E7D32;flex:2;">Replicates; strong CMI + humoral; contraindicated in pregnancy/immunocomp</span></div>
      <div class="vax-row"><span class="vax-dis">MMR (Measles, Mumps, Rubella)</span><span class="vax-type">Live attenuated</span><span class="vax-note">9 months + 15-18 months; avoid in HIV (CD4&lt;200)</span></div>
      <div class="vax-row"><span class="vax-dis">OPV (Salk IPV = killed)</span><span class="vax-type">Live attenuated (oral)</span><span class="vax-note">VAPP risk; IPV preferred in developed countries</span></div>
      <div class="vax-row"><span class="vax-dis">Yellow fever (17D strain)</span><span class="vax-type">Live attenuated</span><span class="vax-note">Single dose; lifelong immunity; egg-based</span></div>
      <div class="vax-row"><span class="vax-dis">Varicella (Oka strain)</span><span class="vax-type">Live attenuated</span><span class="vax-note">15 months + 4-6 years; also zoster vaccine (Zostavax)</span></div>
      <div class="vax-row"><span class="vax-dis">BCG (TB)</span><span class="vax-type">Live attenuated (Mycobacterium bovis)</span><span class="vax-note">At birth; intradermal; protects against miliary TB/meningitis</span></div>
      <div class="vax-row"><span class="vax-dis">Rotavirus (RotaTeq/Rotarix)</span><span class="vax-type">Live attenuated</span><span class="vax-note">6, 10, 14 weeks; reduces severe diarrhea</span></div>
      <div class="vax-row" style="background:#E3F2FD;font-weight:800;font-size:9.5px;margin-top:3px;"><span style="min-width:140px;">KILLED / INACTIVATED</span><span style="color:#1565C0;flex:2;">No replication; safer; booster needed; humoral immunity MC</span></div>
      <div class="vax-row"><span class="vax-dis">IPV (Salk)</span><span class="vax-type">Killed</span><span class="vax-note">No VAPP risk; used in immunocompromised</span></div>
      <div class="vax-row"><span class="vax-dis">Rabies (HDCV/PCECV)</span><span class="vax-type">Killed</span><span class="vax-note">PEP: RIG (day 0) + vaccine (0,3,7,14,28)</span></div>
      <div class="vax-row"><span class="vax-dis">Influenza (inactivated)</span><span class="vax-type">Split-virion, subunit</span><span class="vax-note">Annual; updated each year; egg allergy caution</span></div>
      <div class="vax-row"><span class="vax-dis">Hepatitis A</span><span class="vax-type">Killed (formalin)</span><span class="vax-note">2 doses; 95% protection; endemic travel</span></div>
      <div class="vax-row" style="background:#FFF9C4;font-weight:800;font-size:9.5px;margin-top:3px;"><span style="min-width:140px;">SUBUNIT / RECOMBINANT</span><span style="color:#E65100;flex:2;">Specific antigen only; very safe; poor immunogen → adjuvant needed</span></div>
      <div class="vax-row"><span class="vax-dis">Hepatitis B (HBsAg)</span><span class="vax-type">Recombinant HBsAg</span><span class="vax-note">3 doses (0, 1, 6 months); at birth in India</span></div>
      <div class="vax-row"><span class="vax-dis">HPV (Gardasil 4/9, Cervarix)</span><span class="vax-type">VLP (virus-like particle)</span><span class="vax-note">9-26 years; 3 doses; prevents CIN+cancer</span></div>
      <div class="vax-row"><span class="vax-dis">Pneumococcal (PCV13/PPSV23)</span><span class="vax-type">Conjugate / Polysaccharide</span><span class="vax-note">PCV conjugated = T-cell dependent, better in infants</span></div>
      <div class="vax-row"><span class="vax-dis">COVID-19 (mRNA: Moderna/Pfizer)</span><span class="vax-type">mRNA (novel platform)</span><span class="vax-note">Spike protein; lipid nanoparticle delivery</span></div>
    </div>

    <!-- High Yield Virology Facts -->
    <div class="panel">
      <div class="ph" style="background:#006064;">★ High Yield Virology Facts</div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Only DNA virus that replicates in <b>cytoplasm</b>: Poxvirus</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Smallest virus: <b>Parvovirus B19</b> (ssDNA) | Largest virus: <b>Poxvirus</b></span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">Only <b>partially dsDNA</b> virus: Hepadnavirus (HBV) with RT</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">MC cause of <b>viral diarrhea in children</b>: Rotavirus (dsRNA, wheel-shaped)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">MC cause of <b>viral diarrhea in adults</b>: Norovirus (calicivirus)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">MC cause of <b>viral encephalitis</b>: HSV-1 (temporal lobe; Cowdry type A bodies)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Congenital rubella</b>: cataracts + PDA + sensorineural deafness (blueberry muffin)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Negri bodies</b>: Rabies (hippocampus/Purkinje) | <b>Cowdry A</b>: HSV/VZV | <b>Owl-eye</b>: CMV</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Koplik's spots</b>: Measles (buccal mucosa, pathognomonic) → appears before rash</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Dengue NS1 antigen</b>: earliest marker (day 1-5); IgM from day 5; NS1 for early diagnosis</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>HIV diagnosis</b>: ELISA (screen) → Western Blot (confirm) | p24 = earliest marker</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>CD4 count thresholds</b>: &lt;500 → start ART; &lt;200 → AIDS; &lt;200 → PCP prophylaxis (TMP-SMX)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Influenza pandemic</b>: only Influenza A (antigenic shift – new HA/NA combination)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Rabies</b>: longest incubation if bite on leg (weeks-months); face bite = shortest</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Hepatitis E</b>: 20% mortality in pregnancy → acute liver failure; enterically transmitted</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>VAPP</b>: Vaccine-associated paralytic poliomyelitis → rare (1:2.4 million); OPV type 3 MC</span></div>
    </div>
  </div>

  <!-- Pearl Row -->
  <div class="pearl-row">
    <div class="pearl-card pyq-card">
      <div class="pearl-icon">💡</div>
      <div class="pearl-head">PYQ PEARL</div>
      <div class="pearl-body">DNA/RNA classification + inclusion bodies + specific vectors (Aedes vs Culex) are the most tested virology topics. Memorize HHAPPPy and inclusion body mnemonics cold.</div>
    </div>
    <div class="pearl-card inicet-card">
      <div class="pearl-icon">⭐</div>
      <div class="pearl-head">INI-CET PEARL</div>
      <div class="pearl-body">HBV serology interpretation, HIV CD4 thresholds, and antiviral drug mechanisms (NRTI vs NNRTI vs PI vs INSTI) are consistently tested. Know the HBV window period pattern.</div>
    </div>
    <div class="pearl-card trap-card">
      <div class="pearl-icon">⚠️</div>
      <div class="pearl-head">EXAM TRAP</div>
      <div class="pearl-body">
        • Rotavirus = dsRNA (NOT ssRNA) – Reoviridae<br>
        • HAV and HEV: feco-oral, NO chronicity<br>
        • HBV vaccine only prevents HDV infection<br>
        • IPV (killed) vs OPV (live) – VAPP only with OPV
      </div>
    </div>
    <div class="pearl-card mantra-card">
      <div class="pearl-icon">🧬</div>
      <div class="pearl-head">QUICK REVISION MANTRA</div>
      <div class="pearl-body" style="font-weight:800;color:#006064;font-size:10px;margin-top:4px;">
        DNA/RNA → ±ss → Envelope → Disease → Inclusion body → Drug<br>
        <span style="font-size:12px;color:#00838F;">REPEAT!</span>
      </div>
    </div>
  </div>

</div>
<div class="footer-bar">★ VIROLOGY MASTERED = 120+ MARKS SECURED IN NEET PG MICROBIOLOGY ★</div>
</body>
</html>
Writing File

~/micro-atlas/page4_parasitology.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Microbiology Atlas - Page 4: Parasitology</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',Arial,sans-serif;background:#fff;width:1100px;margin:0 auto;font-size:11px;color:#1a1a2e;}

.header{background:#0B1B3D;padding:10px 16px 8px;display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid #43A047;}
.page-badge{background:#1a3a6e;color:#fff;font-weight:900;font-size:13px;padding:8px 10px;border-radius:6px;text-align:center;min-width:54px;border:2px solid #43A047;}
.header-center{text-align:center;flex:1;padding:0 12px;}
.main-title{font-size:24px;font-weight:900;color:#fff;letter-spacing:1px;text-transform:uppercase;}
.sub-title{font-size:12px;font-weight:700;color:#A5D6A7;letter-spacing:2px;margin-top:2px;text-transform:uppercase;}
.header-badges{display:flex;gap:14px;justify-content:center;margin-top:5px;}
.header-badges span{font-size:10px;font-weight:700;color:#e0e0e0;}
.header-badges span::before{content:"★ ";color:#A5D6A7;}
.vision-badge{background:#1a3a6e;border-radius:8px;padding:6px 10px;text-align:center;border:2px solid #43A047;min-width:90px;}
.vision-badge .v-title{font-size:14px;font-weight:900;color:#A5D6A7;}
.vision-badge .v-items{font-size:8px;color:#ccc;line-height:1.5;}

.bg{background:#f0f2f5;padding:6px;display:flex;flex-direction:column;gap:6px;}
.panel{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #ddd;}
.ph{padding:7px 12px;color:#fff;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:0.5px;}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
.row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;}

/* Tables */
.ptab{width:100%;border-collapse:collapse;}
.ptab th{padding:5px 8px;font-size:9.5px;font-weight:800;text-align:left;border-bottom:2px solid #ddd;}
.ptab td{padding:4px 8px;font-size:9px;border-bottom:1px solid #f0f0f0;vertical-align:top;line-height:1.4;}
.ptab tr:nth-child(even) td{background:#fafafa;}
.org{font-weight:700;color:#1a1a2e;}

/* Protozoa cards */
.proto-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px;}
.pcard{border-radius:6px;padding:7px 9px;border-left:4px solid;}
.pcard-title{font-size:10px;font-weight:800;margin-bottom:3px;}
.pcard-body{font-size:8.5px;color:#333;line-height:1.6;}
.pcard-drug{font-size:9px;font-weight:700;margin-top:3px;}

/* Malaria table special */
.mal-table{width:100%;border-collapse:collapse;}
.mal-table th{padding:5px 8px;font-size:9px;font-weight:800;text-align:center;border:1px solid #ddd;}
.mal-table td{padding:4px 8px;font-size:8.5px;border:1px solid #eee;text-align:center;vertical-align:top;line-height:1.4;}
.mal-sp{background:#FF8A80;color:#fff;font-weight:800;}
.mal-viv{background:#80D8FF;color:#1a1a2e;font-weight:800;}
.mal-mal{background:#CCFF90;color:#1a1a2e;font-weight:800;}
.mal-ov{background:#FFD180;color:#1a1a2e;font-weight:800;}

/* Helminth section */
.helm-item{display:flex;align-items:flex-start;gap:6px;padding:4px 8px;border-bottom:1px solid #f0f0f0;}
.helm-icon{font-size:14px;flex-shrink:0;margin-top:1px;}
.helm-name{font-size:9.5px;font-weight:700;min-width:130px;color:#1a1a2e;}
.helm-detail{font-size:9px;color:#444;line-height:1.4;flex:1;}
.helm-drug{font-size:9px;font-weight:700;color:#2E7D32;flex:0.8;}

/* Vector table */
.vec-badge{display:inline-block;padding:2px 7px;border-radius:10px;font-size:8px;font-weight:700;color:#fff;}

/* HY Fact */
.hy-item{display:flex;align-items:flex-start;padding:3.5px 8px;border-bottom:1px solid #f0f0f0;gap:5px;}
.hy-star{color:#2E7D32;font-size:11px;flex-shrink:0;}
.hy-text{font-size:9.5px;color:#333;line-height:1.4;}

/* Pearl */
.pearl-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;}
.pearl-card{border-radius:8px;padding:7px 9px;}
.pyq-card{background:#FFF9C4;border:2px solid #F9A825;}
.inicet-card{background:#E8F5E9;border:2px solid #2E7D32;}
.trap-card{background:#FFEBEE;border:2px solid #C62828;}
.mantra-card{background:#E8F5E9;border:2px solid #43A047;}
.pearl-icon{font-size:16px;}
.pearl-head{font-size:10px;font-weight:800;margin:2px 0;}
.pyq-card .pearl-head{color:#E65100;}
.inicet-card .pearl-head{color:#1B5E20;}
.trap-card .pearl-head{color:#C62828;}
.mantra-card .pearl-head{color:#1B5E20;}
.pearl-body{font-size:8.5px;color:#444;line-height:1.5;}
.footer-bar{background:#0B1B3D;text-align:center;padding:8px;color:#A5D6A7;font-size:11px;font-weight:800;letter-spacing:1px;}
</style>
</head>
<body>

<div class="header">
  <div class="page-badge">PAGE<br>4</div>
  <div class="header-center">
    <div class="main-title">Microbiology Bootcamp Atlas – Parasitology</div>
    <div class="sub-title">Protozoa · Helminths · Vectors · Life Cycles · Antiparasitic Drugs</div>
    <div class="header-badges">
      <span>High Yield</span><span>Exam Focused</span><span>PYQ Driven</span><span>NEET PG 2026</span>
    </div>
  </div>
  <div class="vision-badge">
    <div class="v-title">🪱 PAGE 4</div>
    <div class="v-items">Parasitology<br>Master Sheet</div>
  </div>
</div>

<div class="bg">

  <!-- ROW 1: Malaria full table + Blood Protozoa -->
  <div class="row2">

    <!-- MALARIA SPECIES COMPARISON -->
    <div class="panel">
      <div class="ph" style="background:#C62828;">🦟 Malaria – Complete Species Comparison (NEET Favorite!)</div>
      <div style="padding:6px 8px;">
        <table class="mal-table">
          <tr>
            <th>Feature</th>
            <th class="mal-sp">P. falciparum</th>
            <th class="mal-viv">P. vivax</th>
            <th class="mal-mal">P. malariae</th>
            <th class="mal-ov">P. ovale</th>
          </tr>
          <tr>
            <td><b>Cycle duration</b></td>
            <td>36-48h (tertian)</td>
            <td>48h (tertian)</td>
            <td>72h (quartan)</td>
            <td>48h (tertian)</td>
          </tr>
          <tr>
            <td><b>RBC preference</b></td>
            <td>All RBCs</td>
            <td>Reticulocytes (young)</td>
            <td>Old RBCs</td>
            <td>Reticulocytes</td>
          </tr>
          <tr>
            <td><b>Schüffner's dots</b></td>
            <td>Absent</td>
            <td>Present</td>
            <td>Absent</td>
            <td>Present</td>
          </tr>
          <tr>
            <td><b>Maurer's cleft</b></td>
            <td>Present</td>
            <td>Absent</td>
            <td>Absent</td>
            <td>Absent</td>
          </tr>
          <tr>
            <td><b>Hypnozoites</b></td>
            <td>Absent</td>
            <td>Present (relapse!)</td>
            <td>Absent (recrudescence)</td>
            <td>Present (relapse)</td>
          </tr>
          <tr>
            <td><b>RBC appearance</b></td>
            <td>Normal/crenated; multiple rings</td>
            <td>Enlarged, ameboid</td>
            <td>Normal/band forms</td>
            <td>Oval, fimbriated</td>
          </tr>
          <tr>
            <td><b>Gametocytes</b></td>
            <td>Banana/crescent shaped</td>
            <td>Round</td>
            <td>Round</td>
            <td>Round</td>
          </tr>
          <tr>
            <td><b>Key complications</b></td>
            <td>CM, SBF, Blackwater fever, ARDS, DIC</td>
            <td>Splenic rupture (MC)</td>
            <td>NS (quartan nephrosis)</td>
            <td>Mild, self-limiting</td>
          </tr>
          <tr>
            <td><b>Treatment</b></td>
            <td>ACT (Artem + Lumefantrine)<br>+IV Artesunate if severe</td>
            <td>CQ + Primaquine (8 wks)<br>kills hypnozoites</td>
            <td>CQ (no Primaquine needed)</td>
            <td>CQ + Primaquine</td>
          </tr>
          <tr>
            <td><b>Prophylaxis for relapse</b></td>
            <td>Not applicable</td>
            <td>Primaquine (terminal)</td>
            <td>Not needed</td>
            <td>Primaquine</td>
          </tr>
        </table>
        <div style="background:#FFF9C4;padding:5px 8px;font-size:8.5px;color:#E65100;font-weight:700;margin-top:4px;border-radius:4px;">
          ⭐ Definitive host for malaria = Anopheles female mosquito (sexual cycle) | Intermediate host = Human (asexual schizogony)
          | Vector: female Anopheles mosquito | Sporozoites injected → liver (pre-erythrocytic) → blood (erythrocytic)
        </div>
        <div style="background:#FFEBEE;padding:5px 8px;font-size:8.5px;color:#C62828;font-weight:700;margin-top:4px;border-radius:4px;">
          🔴 Cerebral malaria (P. falciparum): Rosette formation, cytoadherence, sequestration in cerebral capillaries; PfEMP-1 on knobs | Rx: IV Artesunate (drug of choice for severe falciparum)
        </div>
      </div>
    </div>

    <!-- BLOOD/TISSUE PROTOZOA -->
    <div class="panel">
      <div class="ph" style="background:#6A1B9A;">🩸 Blood & Tissue Protozoa</div>
      <div class="proto-grid">
        <div class="pcard" style="background:#F3E5F5;border-color:#7B1FA2;">
          <div class="pcard-title" style="color:#6A1B9A;">Leishmania donovani</div>
          <div class="pcard-body">
            Kala-azar (visceral leishmaniasis)<br>
            Vector: Female sandfly (Phlebotomus)<br>
            Reservoir: Dog/Jackal; India = no animal reservoir<br>
            LD bodies (amastigotes) in macrophages<br>
            <b>Dx:</b> Splenic aspirate (highest yield); rK39 strip test<br>
            Napier's aldehyde test (formol gel)<br>
            Hepatosplenomegaly + pancytopenia + fever<br>
          </div>
          <div class="pcard-drug" style="color:#6A1B9A;">Rx: Amphotericin B liposomal (drug of choice in India) / Miltefosine (oral)</div>
        </div>

        <div class="pcard" style="background:#E3F2FD;border-color:#1565C0;">
          <div class="pcard-title" style="color:#1565C0;">Trypanosoma brucei</div>
          <div class="pcard-body">
            African sleeping sickness<br>
            Vector: Tsetse fly (Glossina)<br>
            Winterbottom's sign (posterior cervical LN)<br>
            Chancre at bite site → Stage 2: encephalitis<br>
            Trypomastigotes in blood smear<br>
            Antigenic variation → evades immunity<br>
          </div>
          <div class="pcard-drug" style="color:#1565C0;">Rx: Pentamidine (stage 1) / Melarsoprol (stage 2 - CNS)</div>
        </div>

        <div class="pcard" style="background:#FCE4EC;border-color:#C62828;">
          <div class="pcard-title" style="color:#C62828;">Trypanosoma cruzi</div>
          <div class="pcard-body">
            Chagas disease (South America)<br>
            Vector: Reduviid bug (Triatoma – "kissing bug")<br>
            Romaña's sign (periorbital edema)<br>
            Chagoma (skin lesion at bite)<br>
            Intracellular: amastigotes in cardiac muscle<br>
            Cardiomegaly, megacolon, megaesophagus<br>
          </div>
          <div class="pcard-drug" style="color:#C62828;">Rx: Benznidazole / Nifurtimox</div>
        </div>

        <div class="pcard" style="background:#E8F5E9;border-color:#2E7D32;">
          <div class="pcard-title" style="color:#2E7D32;">Toxoplasma gondii</div>
          <div class="pcard-body">
            Definitive host: Cat (sexual cycle → oocysts in feces)<br>
            TORCH infection: microcephaly, chorioretinitis, intracranial calcifications<br>
            AIDS: reactivation → multiple ring-enhancing lesions (brain)<br>
            Diagnosis: Sabin-Feldman dye test; IgM for acute<br>
            Owl-eye tachyzoites (pseudocysts in tissue)<br>
          </div>
          <div class="pcard-drug" style="color:#2E7D32;">Rx: Pyrimethamine + Sulfadiazine (+ Leucovorin)</div>
        </div>

        <div class="pcard" style="background:#FFF9C4;border-color:#F9A825;">
          <div class="pcard-title" style="color:#E65100;">Plasmodium knowlesi</div>
          <div class="pcard-body">
            Simian malaria (zoonosis from macaques)<br>
            Southeast Asia; Borneo<br>
            24h cycle (quotidian fever)<br>
            Can be severe, fatal<br>
            Resembles P. malariae morphologically<br>
            PCR for confirmation<br>
          </div>
          <div class="pcard-drug" style="color:#E65100;">Rx: Chloroquine / ACT</div>
        </div>

        <div class="pcard" style="background:#FFEBEE;border-color:#E53935;">
          <div class="pcard-title" style="color:#C62828;">Babesia microti</div>
          <div class="pcard-body">
            Vector: Ixodes tick (USA - Northeast)<br>
            RBC intraerythrocytic; Maltese cross (tetrad)<br>
            Asplenic patients: severe/fatal<br>
            No hypnozoites; no pigment<br>
            Tick-borne; zoonosis from deer mouse<br>
          </div>
          <div class="pcard-drug" style="color:#C62828;">Rx: Atovaquone + Azithromycin</div>
        </div>
      </div>
    </div>
  </div>

  <!-- ROW 2: Intestinal Protozoa + Helminths -->
  <div class="row2">

    <!-- INTESTINAL PROTOZOA -->
    <div class="panel">
      <div class="ph" style="background:#E65100;">🦠 Intestinal Protozoa</div>
      <table class="ptab">
        <tr>
          <th style="background:#FBE9E7;color:#BF360C;">Organism</th>
          <th style="background:#FBE9E7;color:#BF360C;">Disease</th>
          <th style="background:#FBE9E7;color:#BF360C;">Diagnosis</th>
          <th style="background:#FBE9E7;color:#BF360C;">Treatment</th>
        </tr>
        <tr>
          <td class="org">Entamoeba histolytica</td>
          <td>Amoebic dysentery; liver abscess<br>Flask-shaped ulcer; anchovy sauce pus</td>
          <td>Stool: trophozoite with RBC (hematophagous)<br>Liver abscess: ELISA serology; aspiration = anchovy sauce<br>Iodine stain: 4 nuclei in cyst</td>
          <td>Metronidazole + Diloxanide furoate (luminal)<br>Liver abscess: Metro; drain if no response</td>
        </tr>
        <tr>
          <td class="org">Giardia lamblia (intestinalis)</td>
          <td>Giardiasis; frothy fatty stool (malabsorption)<br>No dysentery; no fever typically</td>
          <td>Stool: trophozoite (binucleate, face-like) or cyst<br>Duodenal aspirate (string test)<br>ELISA Ag detection (most sensitive)</td>
          <td>Metronidazole × 7 days<br>Tinidazole (single dose)</td>
        </tr>
        <tr>
          <td class="org">Cryptosporidium parvum</td>
          <td>Watery diarrhea; AIDS (severe, cholera-like)<br>Acid-fast oocysts in stool</td>
          <td>Modified ZN stain (acid-fast oocysts)<br>ELISA Ag; PCR</td>
          <td>Nitazoxanide (immunocomp); HAART for AIDS</td>
        </tr>
        <tr>
          <td class="org">Isospora belli (Cystoisospora)</td>
          <td>AIDS diarrhea; Charcot-Leyden crystals<br>Eosinophilia (unique among opportunistic!)</td>
          <td>Modified ZN stain; large oval oocysts</td>
          <td>TMP-SMX (drug of choice)</td>
        </tr>
        <tr>
          <td class="org">Cyclospora cayetanensis</td>
          <td>Traveler's diarrhea; food/waterborne</td>
          <td>Modified ZN stain; auto-fluorescence (green-blue under UV)</td>
          <td>TMP-SMX</td>
        </tr>
        <tr>
          <td class="org">Microsporidium spp.</td>
          <td>AIDS diarrhea; disseminated in severe immunocomp</td>
          <td>Modified trichrome stain; EM (gold standard)</td>
          <td>Albendazole; Fumagillin (eye)</td>
        </tr>
        <tr>
          <td class="org">Trichomonas vaginalis</td>
          <td>Vaginitis: strawberry cervix, frothy yellow discharge<br>NO CYST stage; only trophozoite</td>
          <td>Wet mount: motile pear-shaped trophozoite<br>Rapid Ag test / NAAT (most sensitive)</td>
          <td>Metronidazole (single dose 2g); treat partner</td>
        </tr>
        <tr>
          <td class="org">Acanthamoeba spp.</td>
          <td>Contact lens keratitis; GAE (granulomatous amoebic encephalitis)</td>
          <td>Corneal scraping; confocal microscopy; culture on E. coli lawn</td>
          <td>PHMB + Propamidine (eye); Miltefosine (CNS)</td>
        </tr>
        <tr>
          <td class="org">Naegleria fowleri</td>
          <td>PAM (primary amoebic meningoencephalitis)<br>Swimming in warm fresh water; rapid death (1 week)</td>
          <td>CSF: motile amoebae; No cyst in CNS</td>
          <td>Amphotericin B + Miltefosine (poor prognosis)</td>
        </tr>
      </table>
    </div>

    <!-- HELMINTHS -->
    <div class="panel">
      <div class="ph" style="background:#2E7D32;">🪱 Helminths – Nematodes, Cestodes, Trematodes</div>

      <div style="padding:4px 8px;font-size:10px;font-weight:800;color:#2E7D32;border-bottom:1px solid #eee;">NEMATODES (Roundworms)</div>
      <div class="helm-item">
        <div class="helm-icon">🪱</div>
        <div class="helm-name">Ascaris lumbricoides</div>
        <div class="helm-detail">MC helminth worldwide; Loeffler's syndrome (larva migrans in lung); intestinal obstruction MC complication</div>
        <div class="helm-drug">Albendazole / Mebendazole</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🪱</div>
        <div class="helm-name">Hookworm (Ancylostoma/Necator)</div>
        <div class="helm-detail">Penetrates skin → lung → gut; MC cause of iron deficiency anemia in helminth; Ancylostoma = Old World, Necator = New World</div>
        <div class="helm-drug">Albendazole + Iron</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🪱</div>
        <div class="helm-name">Strongyloides stercoralis</div>
        <div class="helm-detail">Autoinfection → hyperinfection in immunocomp; only helminth with autoinfection; filariform larva penetrates skin</div>
        <div class="helm-drug">Ivermectin (DOC)</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🪱</div>
        <div class="helm-name">Enterobius vermicularis (Pinworm)</div>
        <div class="helm-detail">Perianal itch (nocturnal); Scotch tape test (morning); MC helminth in temperate countries; whole family Rx</div>
        <div class="helm-drug">Mebendazole / Pyrantel pamoate</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🪱</div>
        <div class="helm-name">Trichuris trichiura (Whipworm)</div>
        <div class="helm-detail">Trichuriasis; rectal prolapse in heavy infection; barrel-shaped eggs; tea handle appearance</div>
        <div class="helm-drug">Albendazole / Mebendazole</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🦟</div>
        <div class="helm-name">Wuchereria bancrofti</div>
        <div class="helm-detail">Lymphatic filariasis; elephantiasis; nocturnal periodicity; vector: Culex; microfilaria in blood at night</div>
        <div class="helm-drug">DEC (diethylcarbamazine) DOC</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">👁️</div>
        <div class="helm-name">Loa loa (Eye worm)</div>
        <div class="helm-detail">Visible subconjunctival migration; Calabar swelling; vector: Chrysops (mango fly); diurnal periodicity</div>
        <div class="helm-drug">DEC (DOC) / Albendazole</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🦟</div>
        <div class="helm-name">Onchocerca volvulus</div>
        <div class="helm-detail">River blindness; black fly (Simulium); subcutaneous nodules (onchocercoma); Mazzotti test</div>
        <div class="helm-drug">Ivermectin (DOC)</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🐱</div>
        <div class="helm-name">Toxocara canis</div>
        <div class="helm-detail">Visceral larva migrans; dog roundworm; hypereosinophilia; ocular involvement → blindness</div>
        <div class="helm-drug">Albendazole</div>
      </div>

      <div style="padding:4px 8px;font-size:10px;font-weight:800;color:#1565C0;border-bottom:1px solid #eee;border-top:1px solid #eee;margin-top:2px;">CESTODES (Tapeworms)</div>
      <div class="helm-item">
        <div class="helm-icon">🪱</div>
        <div class="helm-name">Taenia solium (Pork tapeworm)</div>
        <div class="helm-detail">Taeniasis (intestinal); Cysticercosis (larval stage in human tissue = accidental host); Neurocysticercosis → seizures; MC cause of acquired epilepsy in developing world</div>
        <div class="helm-drug">Praziquantel; Albendazole (NCC)</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🐄</div>
        <div class="helm-name">Taenia saginata (Beef tapeworm)</div>
        <div class="helm-detail">Proglottids in stool; longer than T. solium; scolex without hooks (unarmed); no cysticercosis in humans</div>
        <div class="helm-drug">Praziquantel</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🐕</div>
        <div class="helm-name">Echinococcus granulosus</div>
        <div class="helm-detail">Hydatid cyst disease; liver MC (70%) then lung; dog-sheep cycle; daughter cysts; PAIR procedure; Casoni test</div>
        <div class="helm-drug">Albendazole + PAIR (no open surgery!)</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🐟</div>
        <div class="helm-name">Diphyllobothrium latum (Fish tapeworm)</div>
        <div class="helm-detail">Longest tapeworm; raw fish; Vit B12 deficiency → megaloblastic anemia; plerocercoid larva</div>
        <div class="helm-drug">Praziquantel</div>
      </div>

      <div style="padding:4px 8px;font-size:10px;font-weight:800;color:#AD1457;border-bottom:1px solid #eee;border-top:1px solid #eee;margin-top:2px;">TREMATODES (Flukes)</div>
      <div class="helm-item">
        <div class="helm-icon">🐌</div>
        <div class="helm-name">Schistosoma mansoni/japonicum/haematobium</div>
        <div class="helm-detail">S. haematobium → hematuria, bladder ca (SCC); S. mansoni → pipe-stem fibrosis (liver); S. japonicum → MC eggs in tissue; vector: Biomphalaria snail; cercarial dermatitis</div>
        <div class="helm-drug">Praziquantel (DOC all Schistosoma)</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🐟</div>
        <div class="helm-name">Clonorchis sinensis (Chinese liver fluke)</div>
        <div class="helm-detail">Raw fish; biliary obstruction → cholangiocarcinoma; opisthorchiasis (cats/dogs reservoir)</div>
        <div class="helm-drug">Praziquantel</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🥩</div>
        <div class="helm-name">Fasciola hepatica (Sheep liver fluke)</div>
        <div class="helm-detail">Watercress; halzoun (laryngeal form from raw liver); peripheral eosinophilia; biliary fluke</div>
        <div class="helm-drug">Triclabendazole (DOC) / Bithionol</div>
      </div>
      <div class="helm-item">
        <div class="helm-icon">🦀</div>
        <div class="helm-name">Paragonimus westermani (Lung fluke)</div>
        <div class="helm-detail">Rusty/blood-stained sputum; crabs/crayfish; chest X-ray: ring shadows; brain involvement possible</div>
        <div class="helm-drug">Praziquantel</div>
      </div>
    </div>
  </div>

  <!-- ROW 3: Vectors + HY Parasitology Facts -->
  <div class="row2">

    <!-- VECTOR DISEASE LINKAGE -->
    <div class="panel">
      <div class="ph" style="background:#00695C;">🦟 Vector – Disease – Organism Master Table</div>
      <table class="ptab">
        <tr>
          <th style="background:#E0F2F1;color:#004D40;">Vector</th>
          <th style="background:#E0F2F1;color:#004D40;">Disease</th>
          <th style="background:#E0F2F1;color:#004D40;">Pathogen</th>
          <th style="background:#E0F2F1;color:#004D40;">Key Feature</th>
        </tr>
        <tr><td class="org">Anopheles ♀ (mosquito)</td><td>Malaria</td><td>Plasmodium spp.</td><td>Definitive host; sexual cycle in mosquito</td></tr>
        <tr><td class="org">Aedes aegypti (mosquito)</td><td>Dengue, Chikungunya, Zika, Yellow fever</td><td>Flavivirus/Togavirus</td><td>Day-biting; breeds in stagnant water</td></tr>
        <tr><td class="org">Culex (mosquito)</td><td>Filariasis, JE, WNV</td><td>Wuchereria, Flavivirus</td><td>Nocturnal; paddy fields</td></tr>
        <tr><td class="org">Sandfly (Phlebotomus)</td><td>Kala-azar, Cutaneous leishmaniasis</td><td>Leishmania spp.</td><td>Painless sandfly bite; no buzz</td></tr>
        <tr><td class="org">Tsetse fly (Glossina)</td><td>African sleeping sickness</td><td>T. brucei</td><td>Both sexes bite; painful bite</td></tr>
        <tr><td class="org">Reduviid bug (Triatoma)</td><td>Chagas disease</td><td>T. cruzi</td><td>"Kissing bug"; bites face at night</td></tr>
        <tr><td class="org">Louse (Pediculus humanus)</td><td>Epidemic typhus, Relapsing fever, Trench fever</td><td>R. prowazekii, Borrelia recurrentis, Bartonella quintana</td><td>Crushed louse feces infective</td></tr>
        <tr><td class="org">Rat flea (Xenopsylla cheopis)</td><td>Plague, Murine typhus</td><td>Y. pestis, R. typhi</td><td>Regurgitation into bite wound</td></tr>
        <tr><td class="org">Ixodes tick</td><td>Lyme disease, Babesiosis, RMSF (Dermacentor)</td><td>B. burgdorferi, Babesia, R. rickettsii</td><td>Nymph stage MC infects humans</td></tr>
        <tr><td class="org">Dermacentor tick</td><td>RMSF, Tularemia, Colorado tick fever</td><td>R. rickettsii, F. tularensis</td><td>Dog tick; western USA</td></tr>
        <tr><td class="org">Mite (Sarcoptes scabiei)</td><td>Scabies</td><td>Sarcoptes scabiei</td><td>Burrow in finger webs; Norwegian scabies in immunocomp</td></tr>
        <tr><td class="org">Mite (Trombiculidae)</td><td>Scrub typhus</td><td>Orientia tsutsugamushi</td><td>Eschar at bite site; Weil-Felix OXK</td></tr>
        <tr><td class="org">Black fly (Simulium)</td><td>River blindness (Onchocerciasis)</td><td>Onchocerca volvulus</td><td>Breeds in fast-flowing rivers</td></tr>
        <tr><td class="org">Chrysops (Mango fly)</td><td>Loiasis</td><td>Loa loa</td><td>Calabar swellings; subconjunctival worm</td></tr>
        <tr><td class="org">Cyclops (copepod)</td><td>Guinea worm (Dracunculiasis), Diphyllobothrium</td><td>D. medinensis, D. latum</td><td>Eradication ongoing; blister on leg</td></tr>
        <tr><td class="org">Freshwater snail (Biomphalaria)</td><td>Schistosomiasis</td><td>Schistosoma spp.</td><td>Cercariae penetrate skin; no definitive arthropod vector</td></tr>
      </table>
    </div>

    <!-- HIGH YIELD PARASITOLOGY FACTS -->
    <div class="panel">
      <div class="ph" style="background:#1B5E20;">★ High Yield Parasitology Facts</div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">MC cause of <b>eosinophilia</b>: Parasitic infection (helminths MC); Tissue-invasive helminths cause highest eosinophilia</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Definitive host</b> = sexual reproduction; <b>Intermediate host</b> = asexual/larval stages</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Anchovy sauce</b> pus in liver aspirate → Entamoeba histolytica liver abscess (amoebic abscess)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Banana/crescent-shaped gametocytes</b>: P. falciparum ONLY (pathognomonic)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Relapse in malaria</b>: P. vivax and P. ovale (hypnozoites in liver); <b>Recrudescence</b>: P. malariae (sub-patent blood infection persists)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Neurocysticercosis</b>: MC cause of acquired epilepsy in India; ring-enhancing lesions on CT/MRI brain; T. solium</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Scotch tape test</b>: Enterobius vermicularis (pinworm); applied to perianal skin in the morning before bathing</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Vitamin B12 deficiency</b> from helminth: Diphyllobothrium latum (fish tapeworm) absorbs B12 in terminal ileum</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Hydatid cyst</b>: Liver MC (65-70%) → Lung (15%); NEVER aspirate blindly (risk of anaphylaxis); PAIR procedure</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Iron deficiency anemia</b> from helminth: Hookworm (Ancylostoma/Necator) – MC helminth cause of anemia</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Schistosoma haematobium</b>: hematuria → squamous cell carcinoma of bladder; terminal spine on egg</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Autoinfection</b>: Strongyloides stercoralis ONLY (among helminths); hyperinfection syndrome in immunocomp → sepsis</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Malaria in pregnancy</b>: use Quinine in 1st trimester; ACT in 2nd/3rd trimester; avoid Primaquine (G6PD hemolysis)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Drug of choice summary</b>: Malaria falciparum = ACT; Kala-azar = AmB liposomal; Filaria = DEC; Strongyloides = Ivermectin; Hydatid = Albendazole</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Naegleria fowleri</b>: "brain-eating amoeba"; warm freshwater; 97%+ mortality; only amoeba entering through cribriform plate</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Toxoplasma</b>: classic triad in congenital = Chorioretinitis + Hydrocephalus + Intracranial calcifications (periventricular)</span></div>
    </div>
  </div>

  <!-- Pearl Row -->
  <div class="pearl-row">
    <div class="pearl-card pyq-card">
      <div class="pearl-icon">💡</div>
      <div class="pearl-head">PYQ PEARL</div>
      <div class="pearl-body">Vector-disease-organism linkage and malaria species comparison are the highest-yield parasitology topics. Memorize definitive vs intermediate host for all major parasites.</div>
    </div>
    <div class="pearl-card inicet-card">
      <div class="pearl-icon">⭐</div>
      <div class="pearl-head">INI-CET PEARL</div>
      <div class="pearl-body">Drug of choice for each parasite is heavily tested: Ivermectin (Strongyloides, Onchocerca), DEC (filariasis), Praziquantel (trematodes/cestodes), Artesunate (severe falciparum).</div>
    </div>
    <div class="pearl-card trap-card">
      <div class="pearl-icon">⚠️</div>
      <div class="pearl-head">EXAM TRAP</div>
      <div class="pearl-body">
        • P. vivax relapse ≠ P. malariae recrudescence<br>
        • Primaquine contraindicated in G6PD deficiency + pregnancy<br>
        • Amoebic liver abscess: STERILE pus, no trophozoites usually<br>
        • Hydatid: NEVER open surgery without coverage
      </div>
    </div>
    <div class="pearl-card mantra-card">
      <div class="pearl-icon">🪱</div>
      <div class="pearl-head">QUICK REVISION MANTRA</div>
      <div class="pearl-body" style="font-weight:800;color:#1B5E20;font-size:10px;margin-top:4px;">
        Parasite → Vector → Life Cycle → Disease → Drug<br>
        <span style="font-size:12px;color:#2E7D32;">REPEAT!</span>
      </div>
    </div>
  </div>

</div>
<div class="footer-bar">★ PARASITOLOGY MASTERED = 100+ MARKS SECURED IN NEET PG MICROBIOLOGY ★</div>
</body>
</html>
Running Command

chromium --headless --no-sandbox --disable-gpu \ --screenshot=/home/daytona/w…

Running Command

chromium --headless --no-sandbox --disable-gpu \ --print-to-pdf=/home/daytona…

Create more pages (Bacteria taxonomy, Virology classification, Parasitology)

Running Command

ls -lh /home/daytona/workspace/micro-atlas/

Running Command

chromium --headless --no-sandbox --disable-gpu --print-to-pdf=/home/daytona/work…

Running Command

python3 -c " import subprocess result = subprocess.run(['python3', '-c', 'import…

Running Command

pdfunite \ /home/daytona/workspace/micro-atlas/micro_atlas.pdf \ /home/dayto…

All done! Here are all your files:

📚 Microbiology Bootcamp Atlas – Complete Bundle

Combined 4-Page PDF (Best for printing):

Microbiology Bootcamp Atlas Complete

PDF Document · PDF

- 1.1 MB, 4 pages

Individual Pages:

PageTopicPDFPNGHTML
Page 1Master Map

micro atlas

PDF Document · PDF

micro atlas

Image · PNG

micro atlas

HTML File · HTML

Page 2Bacteria Taxonomy

page2 bacteria

PDF Document · PDF

page2 bacteria

Image · PNG

page2 bacteria

HTML File · HTML

Page 3Virology Classification

page3 virology

PDF Document · PDF

page3 virology

Image · PNG

page3 virology

HTML File · HTML

Page 4Parasitology

page4 parasitology

PDF Document · PDF

page4 parasitology

Image · PNG

page4 parasitology

HTML File · HTML


What's inside each page:

Page 2 - Bacteria Taxonomy
  • Full Gram +ve and Gram -ve master lists with toxins, culture media, special tests
  • Atypical/intracellular bacteria table (Rickettsia, Chlamydia, Spirochetes, Mycoplasma)
  • Antibiotic mechanisms + resistance (MRSA, ESBL, VRE, NDM-1)
  • Key mnemonics (PUNCH K, PVNCH, spore formers)
Page 3 - Virology Classification
  • All DNA viruses (HHAPPPy) + All RNA viruses with diseases and inclusion bodies
  • Hepatitis A-E full comparison table + HBV serology interpretation grid
  • Oncogenic viruses (EBV, HBV, HPV, HTLV-1, HHV-8)
  • Antiviral drugs (NRTI/NNRTI/PI/INSTI/NS5B) + Vaccine types
Page 4 - Parasitology
  • Malaria species full comparison (P. falciparum vs vivax vs malariae vs ovale)
  • Blood/tissue protozoa (Leishmania, Toxoplasma, Trypanosoma, Babesia)
  • Intestinal protozoa (E. histolytica, Giardia, Cryptosporidium, Trichomonas)
  • Helminths: Nematodes + Cestodes + Trematodes with drugs of choice
  • Vector-Disease-Organism master table (16 vectors)
Tip: If download links don't work directly, open the HTML files in your browser and press Ctrl+P → Save as PDF for a perfect print.

Create a mycology & fungal diseases page (Candida, Aspergillus, Cryptococcus, Dimorphic fungi)

Finding Sources
Finding Sources
Writing File

~/micro-atlas/page5_mycology.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Microbiology Atlas - Page 5: Mycology & Fungal Diseases</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',Arial,sans-serif;background:#fff;width:1100px;margin:0 auto;font-size:11px;color:#1a1a2e;}

/* ── HEADER ── */
.header{background:#0B1B3D;padding:10px 16px 8px;display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid #FF8F00;}
.page-badge{background:#1a3a6e;color:#fff;font-weight:900;font-size:13px;padding:8px 10px;border-radius:6px;text-align:center;min-width:54px;border:2px solid #FF8F00;}
.header-center{text-align:center;flex:1;padding:0 12px;}
.main-title{font-size:24px;font-weight:900;color:#fff;letter-spacing:1px;text-transform:uppercase;}
.sub-title{font-size:12px;font-weight:700;color:#FFCC02;letter-spacing:2px;margin-top:2px;text-transform:uppercase;}
.hbadges{display:flex;gap:14px;justify-content:center;margin-top:5px;}
.hbadges span{font-size:10px;font-weight:700;color:#e0e0e0;}
.hbadges span::before{content:"★ ";color:#FF8F00;}
.vision-badge{background:#1a3a6e;border-radius:8px;padding:6px 10px;text-align:center;border:2px solid #FF8F00;min-width:90px;}
.vision-badge .vt{font-size:14px;font-weight:900;color:#FFCC02;}
.vision-badge .vi{font-size:8px;color:#ccc;line-height:1.5;}

/* ── LAYOUT ── */
.bg{background:#f0f2f5;padding:6px;display:flex;flex-direction:column;gap:6px;}
.panel{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #ddd;}
.ph{padding:7px 12px;color:#fff;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:0.5px;}
.r2{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
.r3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;}
.r4{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;}

/* ── FUNGUS HERO CARDS (top row) ── */
.hero-row{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;}
.hero-card{border-radius:8px;overflow:hidden;border:2px solid;}
.hero-hdr{padding:8px 10px;color:#fff;font-weight:900;font-size:11px;text-align:center;}
.hero-icon{font-size:28px;text-align:center;padding:6px 0;}
.hero-body{padding:6px 9px 8px;}
.hero-prop{font-size:8.5px;color:#333;line-height:1.65;margin-bottom:2px;}
.hero-prop b{color:#1a1a2e;}
.hero-drug{font-size:9px;font-weight:800;padding:4px 8px;border-radius:4px;margin-top:4px;text-align:center;}

/* Candida */
.cand-border{border-color:#E91E63;}
.cand-hdr{background:#E91E63;}
.cand-drug{background:#FCE4EC;color:#AD1457;}
/* Aspergillus */
.asp-border{border-color:#FF6F00;}
.asp-hdr{background:#FF6F00;}
.asp-drug{background:#FFF3E0;color:#E65100;}
/* Cryptococcus */
.cry-border{border-color:#1565C0;}
.cry-hdr{background:#1565C0;}
.cry-drug{background:#E3F2FD;color:#0D47A1;}
/* Mucor */
.muc-border{border-color:#6A1B9A;}
.muc-hdr{background:#6A1B9A;}
.muc-drug{background:#F3E5F5;color:#4A148C;}

/* ── DIMORPHIC FUNGI TABLE ── */
.dtab{width:100%;border-collapse:collapse;}
.dtab th{padding:5px 8px;font-size:9.5px;font-weight:800;text-align:left;border-bottom:2px solid #ddd;}
.dtab td{padding:4.5px 8px;font-size:9px;border-bottom:1px solid #f0f0f0;vertical-align:top;line-height:1.5;}
.dtab tr:nth-child(even) td{background:#fafafa;}
.org{font-weight:700;color:#1a1a2e;}
.geo-badge{display:inline-block;padding:1px 6px;border-radius:10px;font-size:8px;font-weight:700;}

/* ── STAINING + MEDIA TABLE ── */
.stab{width:100%;border-collapse:collapse;}
.stab th{padding:5px 8px;font-size:9.5px;font-weight:800;text-align:left;border-bottom:2px solid #ddd;}
.stab td{padding:4px 8px;font-size:9px;border-bottom:1px solid #f0f0f0;vertical-align:top;line-height:1.4;}
.stab tr:nth-child(even) td{background:#fafafa;}

/* ── ANTIFUNGAL DRUGS ── */
.drug-row{display:flex;align-items:flex-start;padding:4px 8px;gap:6px;border-bottom:1px solid #f0f0f0;}
.drug-name{font-size:9.5px;font-weight:800;min-width:155px;color:#0B1B3D;}
.drug-mech{font-size:9px;color:#1565C0;flex:1.4;}
.drug-use{font-size:9px;color:#333;flex:1.5;}
.drug-tox{font-size:8.5px;color:#C62828;flex:1;}

/* ── CLINICAL SYNDROMES ── */
.syn-item{display:flex;align-items:flex-start;padding:4px 8px;gap:6px;border-bottom:1px solid #f0f0f0;}
.syn-icon{font-size:14px;flex-shrink:0;}
.syn-title{font-size:9.5px;font-weight:700;min-width:140px;color:#1a1a2e;}
.syn-body{font-size:9px;color:#444;line-height:1.4;flex:1;}
.syn-rx{font-size:9px;font-weight:700;color:#2E7D32;min-width:130px;}

/* ── COMPARISON TABLE (Aspergillus vs Mucor) ── */
.comp-table{width:100%;border-collapse:collapse;}
.comp-table th{padding:5px 8px;font-size:9.5px;font-weight:800;text-align:center;border-bottom:2px solid #ddd;border:1px solid #eee;}
.comp-table td{padding:4px 8px;font-size:9px;border:1px solid #eee;vertical-align:top;line-height:1.4;text-align:center;}
.comp-table .feature-col{text-align:left;font-weight:700;background:#fafafa;}

/* ── OPPORTUNISTIC FUNGI ── */
.opp-card{border-radius:6px;padding:7px 9px;border-left:4px solid;margin-bottom:4px;}
.opp-title{font-size:10px;font-weight:800;margin-bottom:3px;}
.opp-body{font-size:8.5px;color:#333;line-height:1.6;}
.opp-rx{font-size:9px;font-weight:700;margin-top:3px;}

/* ── HIGH YIELD FACTS ── */
.hy-item{display:flex;align-items:flex-start;padding:3.5px 8px;border-bottom:1px solid #f0f0f0;gap:5px;}
.hy-star{color:#FF8F00;font-size:11px;flex-shrink:0;}
.hy-text{font-size:9.5px;color:#333;line-height:1.4;}

/* ── GOLD STANDARDS ── */
.gs-row{display:flex;align-items:center;padding:4px 8px;border-bottom:1px solid #f0f0f0;gap:6px;}
.gs-check{color:#2E7D32;font-size:12px;font-weight:900;}
.gs-topic{font-size:9.5px;font-weight:700;flex:1;}
.gs-value{font-size:9px;color:#444;flex:1.4;}

/* ── MNEMONIC BOX ── */
.mnem-box{background:#FFF9C4;border:2px solid #F9A825;border-radius:8px;padding:8px 12px;}
.mnem-title{font-size:10px;font-weight:800;color:#E65100;margin-bottom:4px;}
.mnem-item{font-size:9px;color:#333;line-height:1.7;}
.mnem-item b{color:#0B1B3D;}

/* ── KEY PRINCIPLES ACRONYM ── */
.kp-row{display:flex;align-items:center;padding:3px 8px;gap:7px;border-bottom:1px solid #f5f5f5;}
.kp-letter{min-width:20px;height:20px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;color:#fff;}
.kp-text{font-size:9.5px;color:#333;}

/* ── PEARL ROW ── */
.pearl-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;}
.pearl-card{border-radius:8px;padding:7px 9px;}
.pyq-card{background:#FFF9C4;border:2px solid #F9A825;}
.inicet-card{background:#E8F5E9;border:2px solid #2E7D32;}
.trap-card{background:#FFEBEE;border:2px solid #C62828;}
.mantra-card{background:#FFF3E0;border:2px solid #FF8F00;}
.pearl-icon{font-size:16px;}
.pearl-head{font-size:10px;font-weight:800;margin:2px 0;}
.pyq-card .pearl-head{color:#E65100;}
.inicet-card .pearl-head{color:#1B5E20;}
.trap-card .pearl-head{color:#C62828;}
.mantra-card .pearl-head{color:#E65100;}
.pearl-body{font-size:8.5px;color:#444;line-height:1.5;}

.footer-bar{background:#0B1B3D;text-align:center;padding:8px;color:#FFCC02;font-size:11px;font-weight:800;letter-spacing:1px;}
</style>
</head>
<body>

<!-- HEADER -->
<div class="header">
  <div class="page-badge">PAGE<br>5</div>
  <div class="header-center">
    <div class="main-title">Microbiology Bootcamp Atlas – Mycology &amp; Fungal Diseases</div>
    <div class="sub-title">Candida · Aspergillus · Cryptococcus · Mucor · Dimorphic Fungi · Antifungals</div>
    <div class="hbadges">
      <span>High Yield</span><span>Exam Focused</span><span>PYQ Driven</span><span>NEET PG 2026</span>
    </div>
  </div>
  <div class="vision-badge">
    <div class="vt">🍄 PAGE 5</div>
    <div class="vi">Mycology<br>Master Sheet</div>
  </div>
</div>

<div class="bg">

<!-- ══ ROW 1: 4 HERO CARDS ══ -->
<div class="hero-row">

  <!-- CANDIDA -->
  <div class="hero-card cand-border">
    <div class="hero-hdr cand-hdr">🍄 Candida albicans</div>
    <div class="hero-icon">🌸</div>
    <div class="hero-body">
      <div class="hero-prop"><b>Type:</b> Yeast; forms pseudohyphae &amp; true hyphae (germ tube = pathognomonic)</div>
      <div class="hero-prop"><b>Germ Tube Test:</b> +ve in serum at 37°C → ID C. albicans (only species)</div>
      <div class="hero-prop"><b>Chlamydospores:</b> Thick-walled, terminal; on cornmeal agar</div>
      <div class="hero-prop"><b>Stain:</b> Gram +ve budding yeast on KOH; PAS stain</div>
      <div class="hero-prop"><b>Culture:</b> Sabouraud dextrose agar; CHROMagar (green colonies = C. albicans)</div>
      <div class="hero-prop"><b>Virulence factors:</b> Germ tubes, phospholipases, adhesins (Als proteins), biofilm on catheters</div>
      <div class="hero-prop"><b>MC clinical forms:</b> Oral thrush, vulvovaginitis, diaper rash, esophagitis (AIDS), candidemia (ICU)</div>
      <div class="hero-prop"><b>Risk factors:</b> Antibiotics, steroids, diabetes, HIV, neutropenia, catheters, TPN</div>
      <div class="hero-prop"><b>Fluconazole resistance:</b> C. krusei (intrinsic); C. glabrata (reduced susceptibility); C. auris (MDR)</div>
      <div class="hero-drug cand-drug">Oral/esophageal: Fluconazole | Candidemia: Echinocandin (Caspofungin DOC)</div>
    </div>
  </div>

  <!-- ASPERGILLUS -->
  <div class="hero-card asp-border">
    <div class="hero-hdr asp-hdr">🔥 Aspergillus fumigatus</div>
    <div class="hero-icon">🌿</div>
    <div class="hero-body">
      <div class="hero-prop"><b>Type:</b> Mold; septate hyphae at 45° (acute angle) branching → distinguishes from Mucor</div>
      <div class="hero-prop"><b>Stain:</b> GMS (Gomori Methenamine Silver) stain; H&amp;E (fruiting bodies)</div>
      <div class="hero-prop"><b>Culture:</b> Sabouraud agar; blue-green colonies (A. fumigatus); black (A. niger); yellow-green (A. flavus)</div>
      <div class="hero-prop"><b>Conidiophore:</b> Flask-shaped vesicle with phialides (uniseriate/biseriate)</div>
      <div class="hero-prop"><b>Galactomannan Ag:</b> Serum/BAL; sensitivity 70-90% for invasive aspergillosis</div>
      <div class="hero-prop"><b>β-D-glucan:</b> Non-specific fungal marker; positive in Aspergillus, Candida, PCP</div>
      <div class="hero-prop"><b>Aspergilloma:</b> Fungal ball in pre-existing lung cavity; Monad sign/Air crescent sign on CT</div>
      <div class="hero-prop"><b>ABPA:</b> Allergic bronchopulmonary aspergillosis; elevated IgE, eosinophilia; in asthmatics/CF</div>
      <div class="hero-prop"><b>Invasive:</b> Neutropenic patients; halo sign (CT) → air crescent sign (late); angioinvasive</div>
      <div class="hero-prop"><b>Aflatoxin:</b> A. flavus/parasiticus → hepatocellular carcinoma risk (stored grains)</div>
      <div class="hero-drug asp-drug">ABPA: Pred + Itraconazole | Invasive: Voriconazole (DOC) | Aspergilloma: Surgery</div>
    </div>
  </div>

  <!-- CRYPTOCOCCUS -->
  <div class="hero-card cry-border">
    <div class="hero-hdr cry-hdr">🫧 Cryptococcus neoformans</div>
    <div class="hero-icon">🔵</div>
    <div class="hero-body">
      <div class="hero-prop"><b>Type:</b> Encapsulated yeast; large polysaccharide capsule (main virulence factor)</div>
      <div class="hero-prop"><b>India Ink:</b> Negative staining → capsule appears as clear halo around yeast; CSF</div>
      <div class="hero-prop"><b>Mucicarmine stain:</b> Capsule stains red (carmine); diagnostic on tissue section</div>
      <div class="hero-prop"><b>Latex agglutination:</b> Detects capsular polysaccharide Ag in CSF/serum; most sensitive</div>
      <div class="hero-prop"><b>Urease +ve:</b> Important biochemical property; differentiates from Candida</div>
      <div class="hero-prop"><b>Melanin production:</b> Laccase enzyme; converts DOPA → melanin; protects from oxidants</div>
      <div class="hero-prop"><b>Source:</b> Pigeon droppings (C. neoformans); eucalyptus trees (C. gattii)</div>
      <div class="hero-prop"><b>C. gattii:</b> Affects immunocompetent hosts; Pacific Northwest; forms cryptococcomas</div>
      <div class="hero-prop"><b>Disease:</b> Meningitis (AIDS, MC fungal meningitis); India ink → narrow-neck budding; CSF ↑ pressure</div>
      <div class="hero-prop"><b>CNS findings:</b> Soap bubble lesions (basal ganglia); ↑ opening pressure; manage with LPs</div>
      <div class="hero-drug cry-drug">Induction: AmB + 5-Flucytosine (2 wks) → Consolidation: Fluconazole (8 wks) → Maintenance: Fluconazole</div>
    </div>
  </div>

  <!-- MUCOR/RHIZOPUS -->
  <div class="hero-card muc-border">
    <div class="hero-hdr muc-hdr">🌪️ Mucormycosis (Mucor/Rhizopus)</div>
    <div class="hero-icon">🍂</div>
    <div class="hero-body">
      <div class="hero-prop"><b>Type:</b> Mold; broad aseptate (coenocytic) hyphae at 90° (right angle) branching</div>
      <div class="hero-prop"><b>Genera:</b> Mucor, Rhizopus (most common), Lichtheimia (Absidia), Cunninghamella</div>
      <div class="hero-prop"><b>Rhizopus:</b> Has rhizoids (root-like structures) at base of sporangiophores</div>
      <div class="hero-prop"><b>Stain:</b> H&amp;E, GMS; broad ribbon-like aseptate hyphae; irregular twisting</div>
      <div class="hero-prop"><b>CT/MRI:</b> Reverse halo sign (atoll sign) on CT chest; perineural invasion on MRI</div>
      <div class="hero-prop"><b>Pathogenesis:</b> Iron overload + acidosis → ideal growth; angioinvasion → thrombosis → necrosis</div>
      <div class="hero-prop"><b>Risk factors:</b> DKA (MC), neutropenia, iron chelation (Deferoxamine), transplant, burns</div>
      <div class="hero-prop"><b>Rhinocerebral form:</b> MC; DKA; black necrotic eschar on palate/nasal mucosa → orbital → brain</div>
      <div class="hero-prop"><b>Pulmonary form:</b> Neutropenic patients; hemoptysis; consolidation with central necrosis</div>
      <div class="hero-prop"><b>Deferoxamine paradox:</b> Used to treat iron overload BUT acts as siderophore for Mucor → worsens infection</div>
      <div class="hero-drug muc-drug">Liposomal AmB (DOC) + Surgical debridement (essential); Isavuconazole (2nd line)</div>
    </div>
  </div>
</div>

<!-- ══ ROW 2: Dimorphic Fungi + Aspergillus vs Mucor comparison ══ -->
<div class="r2">

  <!-- DIMORPHIC FUNGI -->
  <div class="panel">
    <div class="ph" style="background:#4E342E;">🌡️ Dimorphic Fungi – "Mold in Cold (25°C), Yeast in Heat (37°C)"</div>
    <table class="dtab">
      <tr>
        <th style="background:#EFEBE9;color:#3E2723;">Organism</th>
        <th style="background:#EFEBE9;color:#3E2723;">Geography</th>
        <th style="background:#EFEBE9;color:#3E2723;">Morphology (Tissue/37°C)</th>
        <th style="background:#EFEBE9;color:#3E2723;">Key Disease &amp; Features</th>
        <th style="background:#EFEBE9;color:#3E2723;">Diagnosis</th>
        <th style="background:#EFEBE9;color:#3E2723;">Treatment</th>
      </tr>
      <tr>
        <td class="org">Histoplasma capsulatum</td>
        <td><span class="geo-badge" style="background:#BBDEFB;color:#1565C0;">Ohio/Mississippi valley (USA)</span><br>Bird/bat droppings</td>
        <td>Small intracellular yeast (2-4 µm) inside macrophages; "capsule" is artifact (no true capsule)</td>
        <td>Histoplasmosis: flu-like → pulmonary → disseminated (AIDS); "coin lesions" calcified; hepatosplenomegaly; oral ulcers</td>
        <td>Urine Ag (most sensitive for disseminated); Methenamine silver; culture (BSL-3); serology</td>
        <td>Mild: Itraconazole | Severe/Disseminated: AmB → Itraconazole</td>
      </tr>
      <tr>
        <td class="org">Blastomyces dermatitidis</td>
        <td><span class="geo-badge" style="background:#C8E6C9;color:#1B5E20;">Great Lakes/Southeast USA; India rare</span><br>Soil, decaying wood</td>
        <td>Large yeast (8-15 µm); thick double refractile wall; broad-based budding (single bud)</td>
        <td>Blastomycosis: pulmonary (MC) → skin (verrucous lesions) → bone (osteolytic); affects immunocompetent!</td>
        <td>KOH of sputum/skin scraping; culture; urine Ag (cross-reacts with Histoplasma)</td>
        <td>Mild-mod: Itraconazole | Severe/CNS: AmB liposomal</td>
      </tr>
      <tr>
        <td class="org">Coccidioides immitis / posadasii</td>
        <td><span class="geo-badge" style="background:#FFF9C4;color:#F57F17;">Southwest USA, Mexico (desert)</span><br>"San Joaquin Valley fever"</td>
        <td>Large spherules (20-60 µm) filled with endospores (2-5 µm); rupture → new spherules</td>
        <td>Valley fever: flu-like (60% asymptomatic); erythema nodosum; disseminated: meningitis (fatal if untreated); skin, bone</td>
        <td>Serology: IgM (early, EIA); IgG (CF, late = dissemination); spherules on KOH; culture (BSL-3)</td>
        <td>Mild: Fluconazole/Itraconazole | Meningitis: Fluconazole (lifelong) | Severe: AmB</td>
      </tr>
      <tr>
        <td class="org">Paracoccidioides brasiliensis</td>
        <td><span class="geo-badge" style="background:#F3E5F5;color:#6A1B9A;">South America (Brazil MC)</span><br>Soil, agriculture workers</td>
        <td>"Captain's wheel" / "Pilot's wheel" appearance; multiple buds around mother cell (pathognomonic)</td>
        <td>Paracoccidioidomycosis: Pulmonary → mucocutaneous (oral lesions, mulberry-like stomatitis); adrenal involvement</td>
        <td>KOH scraping; biopsy; serology (double diffusion); culture</td>
        <td>Itraconazole (DOC) | Severe: AmB → Itraconazole</td>
      </tr>
      <tr>
        <td class="org">Sporothrix schenckii</td>
        <td><span class="geo-badge" style="background:#E8F5E9;color:#1B5E20;">Worldwide (rose thorns, sphagnum moss)</span><br>"Rose gardener's disease"</td>
        <td>Yeast at 37°C: cigar-shaped (asteroid bodies in tissue); mold at 25°C: rosette conidia along hyphae</td>
        <td>Sporotrichosis: lymphocutaneous MC (ascending nodules along lymphatic chain); pulmonary (rare); fixed cutaneous</td>
        <td>Culture (gold standard); biopsy with PAS/GMS; asteroid bodies on H&amp;E</td>
        <td>Lymphocutaneous: Itraconazole (DOC) | Disseminated: AmB | Pulmonary: Itraconazole</td>
      </tr>
      <tr>
        <td class="org">Talaromyces (Penicillium) marneffei</td>
        <td><span class="geo-badge" style="background:#FBE9E7;color:#BF360C;">Southeast Asia (Thailand, India NE)</span><br>Bamboo rats as reservoir</td>
        <td>Intracellular yeast with transverse septum (divides by fission, not budding); resembles Histoplasma</td>
        <td>Talaromycosis: AIDS-defining (CD4 &lt;100); fever, weight loss, skin lesions (umbilicated papules like molluscum); hepatosplenomegaly</td>
        <td>Bone marrow biopsy; blood culture; skin scraping; serology; urine Ag</td>
        <td>Induction: AmB × 2 wks → Itraconazole × 10 wks → Maintenance: Itraconazole</td>
      </tr>
    </table>
    <div style="background:#FFF9C4;padding:5px 10px;font-size:8.5px;color:#E65100;font-weight:700;margin:4px 8px;border-radius:4px;">
      ⭐ Mnemonic: <b>"HBCPST" dimorphic fungi = Histoplasma, Blastomyces, Coccidioides, Paracoccidioides, Sporothrix, Talaromyces</b> | All are thermally dimorphic: mold (25°C) ⟷ yeast (37°C) EXCEPT Coccidioides (spherule, not yeast) and Sporothrix (cigar-shaped yeast)
    </div>
  </div>

  <!-- ASPERGILLUS vs MUCOR COMPARISON + CLINICAL SYNDROMES -->
  <div style="display:flex;flex-direction:column;gap:6px;">

    <!-- Aspergillus vs Mucor -->
    <div class="panel">
      <div class="ph" style="background:#37474F;">⚔️ Aspergillus vs Mucormycosis – Exam Comparison</div>
      <table class="comp-table">
        <tr>
          <th class="feature-col" style="background:#ECEFF1;">Feature</th>
          <th style="background:#FFF3E0;color:#E65100;">Aspergillus</th>
          <th style="background:#F3E5F5;color:#6A1B9A;">Mucor/Rhizopus</th>
        </tr>
        <tr><td class="feature-col">Hyphae</td><td>Septate, narrow (3-6 µm), 45° acute angle branching</td><td>Aseptate/pauciseptate (broad, 6-25 µm), 90° right angle</td></tr>
        <tr><td class="feature-col">Stain</td><td>GMS stain (black hyphae); H&amp;E shows fruiting bodies</td><td>GMS/H&amp;E; broad ribbon-like hyphae; folds on itself</td></tr>
        <tr><td class="feature-col">MC host</td><td>Neutropenic (leukemia/BMT); ABPA in asthma/CF</td><td>DKA (most classic), neutropenic, deferoxamine use</td></tr>
        <tr><td class="feature-col">CT chest sign</td><td>Halo sign (early) → Air crescent sign (late recovery)</td><td>Reverse halo (atoll sign); wedge-shaped consolidation</td></tr>
        <tr><td class="feature-col">Angioinvasion</td><td>Yes → hemorrhagic infarction</td><td>Yes (more aggressive) → black necrotic tissue</td></tr>
        <tr><td class="feature-col">Serum marker</td><td>Galactomannan Ag; β-D-glucan</td><td>β-D-glucan NEGATIVE (distinguishing!)</td></tr>
        <tr><td class="feature-col">MC clinical form</td><td>Pulmonary (invasive), aspergilloma, ABPA</td><td>Rhinocerebral (MC in DKA); pulmonary in neutropenic</td></tr>
        <tr><td class="feature-col">Drug of choice</td><td>Voriconazole (invasive aspergillosis)</td><td>Liposomal Amphotericin B + surgical debridement</td></tr>
        <tr><td class="feature-col">Prophylaxis in high-risk</td><td>Posaconazole (AML, BMT, GVHD)</td><td>No established prophylaxis; control DKA/DM</td></tr>
      </table>
    </div>

    <!-- Clinical Syndromes by Immune Status -->
    <div class="panel">
      <div class="ph" style="background:#1565C0;">🛡️ Fungal Infections by Immune Status</div>
      <div style="padding:5px 8px;font-size:9px;font-weight:800;color:#1565C0;border-bottom:1px solid #eee;">IMMUNOCOMPETENT HOST</div>
      <div class="syn-item"><span class="syn-icon">🌱</span><span class="syn-title">Dermatophytosis</span><span class="syn-body">Tinea capitis, corporis, pedis, unguium; Trichophyton, Microsporum, Epidermophyton; KOH mount</span><span class="syn-rx">Terbinafine (nail) / Topical azoles</span></div>
      <div class="syn-item"><span class="syn-icon">🌾</span><span class="syn-title">Tinea versicolor</span><span class="syn-body">Malassezia furfur; spaghetti &amp; meatballs (KOH); hypo/hyperpigmented patches; hot humid climate</span><span class="syn-rx">Topical Selenium sulfide / Ketoconazole</span></div>
      <div class="syn-item"><span class="syn-icon">🌵</span><span class="syn-title">Mycetoma (Madura foot)</span><span class="syn-body">Triad: swelling + sinuses + grains; Eumycetoma (fungal: Madurella) vs Actinomycetoma (bacteria: Nocardia/Actinomyces)</span><span class="syn-rx">Eumycetoma: Itraconazole + Surgery</span></div>
      <div style="padding:5px 8px;font-size:9px;font-weight:800;color:#C62828;border-bottom:1px solid #eee;border-top:1px solid #eee;margin-top:2px;">IMMUNOCOMPROMISED HOST (CD4 &lt;200 / Neutropenia)</div>
      <div class="syn-item"><span class="syn-icon">🦠</span><span class="syn-title">PCP (Pneumocystis jirovecii)</span><span class="syn-body">NOT a true fungus (reclassified); bilateral interstitial infiltrates; "ground glass" CT; bat-wing pattern; LDH ↑; HIV MC cause of death</span><span class="syn-rx">TMP-SMX (DOC) | Pentamidine (2nd) | Prophylaxis: CD4 &lt;200</span></div>
      <div class="syn-item"><span class="syn-icon">💀</span><span class="syn-title">Invasive Candidiasis</span><span class="syn-body">Candidemia (ICU/TPN/catheters); endophthalmitis (chorioretinal lesions); hepatosplenic candidiasis</span><span class="syn-rx">Echinocandin (Caspofungin DOC for candidemia)</span></div>
      <div class="syn-item"><span class="syn-icon">🧠</span><span class="syn-title">Cryptococcal Meningitis</span><span class="syn-body">CD4 &lt;100; headache + ↑ ICP; India ink + latex agglutination; opening pressure management critical</span><span class="syn-rx">AmB + 5-FC (2 wks) → Fluconazole</span></div>
      <div class="syn-item"><span class="syn-icon">🫁</span><span class="syn-title">Invasive Aspergillosis</span><span class="syn-body">ANC &lt;500; halo sign on CT; galactomannan in BAL; risk of dissemination to brain/sinuses</span><span class="syn-rx">Voriconazole (DOC)</span></div>
    </div>
  </div>
</div>

<!-- ══ ROW 3: Antifungal Drugs + Staining/Media + HY Facts ══ -->
<div class="r3">

  <!-- ANTIFUNGAL DRUGS -->
  <div class="panel">
    <div class="ph" style="background:#1B5E20;">💊 Antifungal Drugs – Mechanism, Use &amp; Toxicity</div>
    <div class="drug-row" style="background:#E8F5E9;font-weight:800;">
      <span class="drug-name">Drug</span>
      <span class="drug-mech">Mechanism</span>
      <span class="drug-use">Clinical Use</span>
      <span class="drug-tox">Key Toxicity</span>
    </div>
    <div style="padding:4px 8px;font-size:9px;font-weight:800;color:#1B5E20;border-bottom:1px solid #eee;background:#F1F8E9;">POLYENES (bind ergosterol → pores)</div>
    <div class="drug-row"><span class="drug-name">Amphotericin B (deoxycholate)</span><span class="drug-mech">Binds ergosterol → membrane pores → cell death; fungicidal</span><span class="drug-use">Severe systemic: Cryptococcus, Mucor, Candida, Histoplasma, Aspergillus</span><span class="drug-tox">Nephrotoxicity (↓K+, ↓Mg2+), infusion rxn, anemia</span></div>
    <div class="drug-row"><span class="drug-name">Liposomal AmB (L-AmB)</span><span class="drug-mech">Same mechanism; lipid encapsulation reduces toxicity</span><span class="drug-use">DOC for Kala-azar, Cryptococcal meningitis, Mucormycosis, Histoplasma</span><span class="drug-tox">Less nephrotoxic; infusion fever still present</span></div>
    <div class="drug-row"><span class="drug-name">Nystatin</span><span class="drug-mech">Binds ergosterol → pores; too toxic for systemic use</span><span class="drug-use">Topical only: oral/cutaneous candidiasis, "swish &amp; swallow"</span><span class="drug-tox">GI upset (oral); contact dermatitis (topical)</span></div>
    <div style="padding:4px 8px;font-size:9px;font-weight:800;color:#1565C0;border-bottom:1px solid #eee;background:#E3F2FD;">AZOLES (inhibit ergosterol synthesis)</div>
    <div class="drug-row"><span class="drug-name">Fluconazole</span><span class="drug-mech">Inhibits 14α-demethylase (CYP51) → ↓ ergosterol synthesis; fungistatic</span><span class="drug-use">Candida (oral/esophageal/vaginal/meningitis prophylaxis), Cryptococcus (consolidation/maintenance)</span><span class="drug-tox">Hepatotoxicity; drug interactions (CYP450); teratogenic</span></div>
    <div class="drug-row"><span class="drug-name">Itraconazole</span><span class="drug-mech">Same CYP51 inhibition; broad spectrum</span><span class="drug-use">Dimorphic fungi (Histoplasma, Blastomyces, Sporotrichosis); Aspergillus; ABPA</span><span class="drug-tox">Negative inotrope (↓cardiac contractility); many drug interactions</span></div>
    <div class="drug-row"><span class="drug-name">Voriconazole</span><span class="drug-mech">CYP51 inhibition; extended spectrum vs Aspergillus; fungicidal</span><span class="drug-use">DOC for invasive Aspergillosis; Fusarium; Scedosporium; also Candida</span><span class="drug-tox">Visual disturbances (photopsia); hepatotoxicity; hallucinations; photosensitivity → skin cancer</span></div>
    <div class="drug-row"><span class="drug-name">Posaconazole</span><span class="drug-mech">Broadest azole spectrum (includes Mucor)</span><span class="drug-use">Prophylaxis in AML/BMT; salvage therapy Mucormycosis; invasive Aspergillus</span><span class="drug-tox">QTc prolongation; hepatotoxicity; drug interactions</span></div>
    <div class="drug-row"><span class="drug-name">Isavuconazole</span><span class="drug-mech">CYP51 inhibition; active against Mucor (unlike other azoles)</span><span class="drug-use">Invasive Aspergillosis; Mucormycosis (DOC alternative to AmB)</span><span class="drug-tox">↓QTc interval (unlike other azoles); hepatotoxicity</span></div>
    <div class="drug-row"><span class="drug-name">Ketoconazole</span><span class="drug-mech">CYP51; also inhibits human steroidogenesis</span><span class="drug-use">Topical: tinea versicolor, dermatophytes; oral rarely used now</span><span class="drug-tox">Hepatotoxicity; inhibits testosterone/cortisol (gynecomastia, adrenal insufficiency)</span></div>
    <div style="padding:4px 8px;font-size:9px;font-weight:800;color:#4A148C;border-bottom:1px solid #eee;background:#F3E5F5;">ECHINOCANDINS (inhibit β-1,3-glucan synthase)</div>
    <div class="drug-row"><span class="drug-name">Caspofungin</span><span class="drug-mech">Inhibits β-1,3-D-glucan synthase → disrupts cell wall; fungicidal vs Candida</span><span class="drug-use">DOC for candidemia (ICU); salvage Aspergillosis; Candida esophagitis (fluconazole-resistant)</span><span class="drug-tox">Minimal; ↑LFTs; histamine release (flushing)</span></div>
    <div class="drug-row"><span class="drug-name">Micafungin / Anidulafungin</span><span class="drug-mech">Same as Caspofungin</span><span class="drug-use">Candida infections; safe in liver disease; Micafungin: safe in pregnancy (animal data)</span><span class="drug-tox">Well-tolerated; ↑LFTs; phlebitis at infusion site</span></div>
    <div style="padding:4px 8px;font-size:9px;font-weight:800;color:#E65100;border-bottom:1px solid #eee;background:#FBE9E7;">OTHER ANTIFUNGALS</div>
    <div class="drug-row"><span class="drug-name">5-Flucytosine (5-FC)</span><span class="drug-mech">→ 5-FU intracellularly → inhibits DNA/RNA synthesis; fungistatic alone</span><span class="drug-use">ALWAYS combined (synergy with AmB); Cryptococcal meningitis induction</span><span class="drug-tox">Myelosuppression (dose-dependent); GI; monitor renal function (excretion)</span></div>
    <div class="drug-row"><span class="drug-name">Terbinafine</span><span class="drug-mech">Inhibits squalene epoxidase → ↑ squalene (toxic to cell)</span><span class="drug-use">DOC for onychomycosis (nail fungus); tinea capitis; dermatophytosis</span><span class="drug-tox">Hepatotoxicity (rare); taste disturbance; GI</span></div>
    <div class="drug-row"><span class="drug-name">Griseofulvin</span><span class="drug-mech">Inhibits microtubule polymerization → arrests mitosis; deposits in keratin</span><span class="drug-use">Tinea capitis (child); dermatophytosis of skin/nails (now replaced by terbinafine)</span><span class="drug-tox">Teratogenic; disulfiram-like reaction; hepatotoxicity; photosensitivity</span></div>
  </div>

  <!-- STAINING + CULTURE MEDIA -->
  <div style="display:flex;flex-direction:column;gap:6px;">
    <div class="panel">
      <div class="ph" style="background:#00695C;">🎨 Fungal Stains &amp; Culture Media</div>
      <table class="stab">
        <tr><th style="background:#E0F2F1;color:#004D40;">Stain / Test</th><th style="background:#E0F2F1;color:#004D40;">What It Shows</th><th style="background:#E0F2F1;color:#004D40;">Organism / Use</th></tr>
        <tr><td class="org">KOH Mount</td><td>Dissolves keratin; reveals hyphae/spores</td><td>ALL fungi; skin scrapings, nail, sputum – first-line</td></tr>
        <tr><td class="org">India Ink (Nigrosin)</td><td>Negative stain; capsule appears as clear halo</td><td>Cryptococcus neoformans in CSF</td></tr>
        <tr><td class="org">PAS (Periodic Acid-Schiff)</td><td>Fungal cell wall polysaccharides → magenta</td><td>Candida, Histoplasma, Aspergillus (tissue sections)</td></tr>
        <tr><td class="org">GMS (Gomori Methenamine Silver)</td><td>Cell wall → black/brown against green background</td><td>All fungi; PCP (Pneumocystis jirovecii) – BEST stain</td></tr>
        <tr><td class="org">Calcofluor White</td><td>Binds chitin/cellulose; fluorescent under UV</td><td>Rapid screening of ALL fungi (most sensitive stain)</td></tr>
        <tr><td class="org">Mucicarmine</td><td>Mucopolysaccharide capsule → red</td><td>Cryptococcus (capsule turns carmine red)</td></tr>
        <tr><td class="org">Giemsa / Wright</td><td>Intracellular yeast within macrophages</td><td>Histoplasma, Talaromyces (bone marrow aspirate)</td></tr>
        <tr><td class="org">Germ Tube Test</td><td>Serum at 37°C × 3h → germ tube formation</td><td>C. albicans ONLY (diagnostic; no germ tube = non-albicans)</td></tr>
        <tr><td class="org">Chlamydospore (cornmeal agar)</td><td>Large thick-walled terminal spore</td><td>C. albicans (differentiates from other Candida species)</td></tr>
        <tr><td class="org">CHROMagar Candida</td><td>Chromogenic; C. albicans = GREEN colonies</td><td>Species identification: C. tropicalis (blue), C. krusei (pink)</td></tr>
        <tr><td class="org">Ziehl-Neelsen (Modified)</td><td>Acid-fast oocysts</td><td>Cryptosporidium, Cyclospora, Isospora (NOT fungi but same stain)</td></tr>
      </table>
      <div style="padding:5px 8px;font-size:9.5px;font-weight:800;color:#00695C;border-top:1px solid #eee;margin-top:2px;">CULTURE MEDIA FOR FUNGI</div>
      <table class="stab">
        <tr><th style="background:#E0F2F1;color:#004D40;">Medium</th><th style="background:#E0F2F1;color:#004D40;">Use</th><th style="background:#E0F2F1;color:#004D40;">Special Feature</th></tr>
        <tr><td class="org">Sabouraud Dextrose Agar (SDA)</td><td>Universal fungal culture medium</td><td>Low pH (5.6); chloramphenicol inhibits bacteria; incubate 25-30°C</td></tr>
        <tr><td class="org">Corn Meal Agar</td><td>Identify Candida species</td><td>Chlamydospores (C. albicans); pseudohyphae patterns</td></tr>
        <tr><td class="org">BCYE (Buffered Charcoal YE)</td><td>Histoplasma, Legionella</td><td>Cysteine + iron; slow growing (4-6 weeks for Histoplasma)</td></tr>
        <tr><td class="org">Birdseed Agar (Niger seed)</td><td>Cryptococcus neoformans</td><td>Melanin production → brown colonies (laccase)</td></tr>
        <tr><td class="org">Mycosel Agar</td><td>Dermatophytes</td><td>SDA + cyclohexamide (inhibits saprophytes)</td></tr>
      </table>
    </div>

    <!-- Opportunistic Fungi (PCP, Trichosporon etc.) -->
    <div class="panel">
      <div class="ph" style="background:#AD1457;">🔬 Other Clinically Important Fungi</div>
      <div class="opp-card" style="background:#FCE4EC;border-color:#E91E63;">
        <div class="opp-title" style="color:#AD1457;">Pneumocystis jirovecii (PCP)</div>
        <div class="opp-body">Formerly P. carinii; classified as fungus by rRNA; no ergosterol (azoles/AmB INEFFECTIVE); MC opportunistic infection in AIDS (CD4&lt;200); bilateral "ground glass" opacities on CT; LDH markedly elevated; BAL: GMS shows cup-shaped (helmet-shaped) cysts; trophic forms; cannot be cultured in vitro</div>
        <div class="opp-rx" style="color:#1B5E20;">Rx: TMP-SMX (DOC) | Pentamidine (2nd line) | Prophylaxis: TMP-SMX when CD4&lt;200 | Adjuvant steroids if PaO2&lt;70 mmHg</div>
      </div>
      <div class="opp-card" style="background:#E3F2FD;border-color:#1565C0;">
        <div class="opp-title" style="color:#1565C0;">Fusarium spp.</div>
        <div class="opp-body">Septate hyphae (similar to Aspergillus); banana-shaped macroconidia; fusariosis in neutropenic/HSCT; skin lesions + fungemia; UNIQUE: positive blood cultures (unlike Aspergillus)</div>
        <div class="opp-rx" style="color:#1B5E20;">Rx: Voriconazole or Liposomal AmB</div>
      </div>
      <div class="opp-card" style="background:#E8F5E9;border-color:#2E7D32;">
        <div class="opp-title" style="color:#2E7D32;">Dermatophytes (Tinea)</div>
        <div class="opp-body">3 genera: <b>Trichophyton</b> (most common; affects hair/skin/nails), <b>Microsporum</b> (hair/skin, NOT nails), <b>Epidermophyton</b> (skin/nails, NOT hair) | Wood's lamp: Microsporum = yellow-green fluorescence | Favus: T. schoenleinii | Tinea nigra: Hortaea werneckii (superficial)</div>
        <div class="opp-rx" style="color:#1B5E20;">Topical: Clotrimazole/Miconazole | Systemic: Terbinafine (nails) / Griseofulvin (tinea capitis)</div>
      </div>
      <div class="opp-card" style="background:#FFF9C4;border-color:#F9A825;">
        <div class="opp-title" style="color:#E65100;">Candida auris (Emerging Threat)</div>
        <div class="opp-body">Pan-drug resistant emerging pathogen; WHO critical priority fungus; nosocomial outbreaks in ICU; misidentified as C. haemulonii by conventional tests; requires MALDI-TOF for ID; colonizes skin for months; forms biofilm</div>
        <div class="opp-rx" style="color:#C62828;">Rx: Echinocandin (first line); resistance to fluconazole + AmB + echinocandin reported</div>
      </div>
      <div class="opp-card" style="background:#F3E5F5;border-color:#7B1FA2;">
        <div class="opp-title" style="color:#6A1B9A;">Trichosporon asahii</div>
        <div class="opp-body">White piedra (hair); disseminated trichosporonosis in neutropenic; beta-glucan positive; glucuronoxylomannan (cross-reacts with Cryptococcus latex agglutination!)</div>
        <div class="opp-rx" style="color:#1B5E20;">Rx: Voriconazole (echinocandins NOT effective)</div>
      </div>
    </div>
  </div>

  <!-- HIGH YIELD FACTS + KEY PRINCIPLES -->
  <div style="display:flex;flex-direction:column;gap:6px;">
    <div class="panel">
      <div class="ph" style="background:#6A1B9A;">★ High Yield Mycology Facts</div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">MC fungal pathogen overall: <b>Candida albicans</b> (most common cause of fungal infections)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">MC cause of <b>fungal meningitis</b>: Cryptococcus neoformans (AIDS); C. gattii (immunocompetent)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">MC cause of <b>invasive fungal infection</b> in neutropenic: Aspergillus fumigatus</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text">MC cause of <b>oral thrush in AIDS</b>: Candida albicans (CD4 &lt;200)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Germ tube test</b> positive = C. albicans ONLY; negative in C. tropicalis, C. glabrata, C. krusei</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>β-D-glucan NEGATIVE</b>: Cryptococcus, Mucormycetes (Mucor/Rhizopus) — important distinguishing feature</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Aflatoxin</b> (Aspergillus flavus) → HCC risk; found in stored peanuts/grains in tropical countries</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Deferoxamine</b> (iron chelator) paradoxically worsens Mucormycosis — acts as siderophore for fungus</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>"Mold in Cold, Yeast in Heat"</b>: All dimorphic fungi — mold at 25°C (lab), yeast at 37°C (body); EXCEPT Coccidioides forms spherules</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Rose gardener's disease</b>: Sporothrix schenckii; rose thorn prick → lymphocutaneous sporotrichosis</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Captain's wheel</b>: Paracoccidioides brasiliensis — multiple buds around mother cell (Brazil, South America)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Echinocandins do NOT work</b> on: Cryptococcus (no β-1,3-glucan in wall), Trichosporon, dimorphic fungi</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Aspergilloma</b>: "fungal ball" in old TB cavity; Monad sign (mobile mass) + air crescent sign on CT; watch hemoptysis</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Flucytosine (5-FC)</b>: NEVER use alone (rapid resistance develops); always combine with AmB (for Cryptococcus)</span></div>
      <div class="hy-item"><span class="hy-star">★</span><span class="hy-text"><b>Wood's lamp</b>: Microsporum canis/audouinii → yellow-green fluorescence (mnemonic: Micro = glow); Trichophyton does NOT fluoresce</span></div>
    </div>

    <!-- Key Principles Acronym + Mnemonics -->
    <div class="panel">
      <div class="ph" style="background:#E65100;">🧠 KEY PRINCIPLES – FUNGAL (Remember!)</div>
      <div class="kp-row"><div class="kp-letter" style="background:#E91E63;">F</div><div class="kp-text">Fungal cell wall has ergosterol (NOT cholesterol) — target of polyenes &amp; azoles</div></div>
      <div class="kp-row"><div class="kp-letter" style="background:#FF6F00;">U</div><div class="kp-text">Ubiquitous organisms — environment is the source for most fungi (no person-to-person)</div></div>
      <div class="kp-row"><div class="kp-letter" style="background:#2E7D32;">N</div><div class="kp-text">Neutropenia + chemotherapy = Aspergillus / Candida risk; CD4 &lt;200 = Cryptococcus / PCP</div></div>
      <div class="kp-row"><div class="kp-letter" style="background:#1565C0;">G</div><div class="kp-text">Galactomannan = Aspergillus marker | Beta-D-glucan = pan-fungal (not Crypto/Mucor)</div></div>
      <div class="kp-row"><div class="kp-letter" style="background:#6A1B9A;">A</div><div class="kp-text">Azoles inhibit CYP51 (14-alpha demethylase) → multiple CYP450 drug interactions</div></div>
      <div class="kp-row"><div class="kp-letter" style="background:#C62828;">L</div><div class="kp-text">Liposomal AmB = safer than conventional AmB; preferred for Mucor, Crypto, Histoplasma, Kala-azar</div></div>
      <div style="margin:6px 8px 0;"><div class="mnem-box">
        <div class="mnem-title">🧠 MYCOLOGY MNEMONICS (Exam Savers)</div>
        <div class="mnem-item"><b>Dimorphic fungi = HBCPST:</b> Histoplasma, Blastomyces, Coccidioides, Paracoccidioides, Sporothrix, Talaromyces</div>
        <div class="mnem-item"><b>Aspergillus forms = 3As:</b> Aspergilloma + Allergic (ABPA) + Angioinvasive (invasive)</div>
        <div class="mnem-item"><b>Mucor risk = "DKA + Iron":</b> Diabetic Ketoacidosis, deferoxamine, neutropenia = classic risk triad</div>
        <div class="mnem-item"><b>Cryptococcus = "Pigeon + India Ink + ICP":</b> Pigeon droppings → meningitis → India ink → raised ICP → serial LPs</div>
        <div class="mnem-item"><b>Echinocandins = "Candin hits the WALL":</b> β-1,3-glucan synthase → cell WALL breakdown; Candida/Aspergillus; NOT Crypto</div>
        <div class="mnem-item"><b>Septate vs Aseptate hyphae = "45 vs 90":</b> Aspergillus = 45° (septate); Mucor = 90° right angle (aseptate)</div>
        <div class="mnem-item"><b>Dermatophyte genera = "TEM":</b> Trichophyton (hair+skin+nail), Epidermophyton (skin+nail), Microsporum (hair+skin)</div>
      </div></div>
    </div>
  </div>
</div>

<!-- ══ GOLD STANDARDS + PEARL ROW ══ -->
<div class="r2">
  <div class="panel">
    <div class="ph" style="background:#2E7D32;">🥇 Gold Standards in Mycology Diagnosis</div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Candida identification</span><span class="gs-value">Germ tube test (C. albicans) + CHROMagar; culture on SDA</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Cryptococcal meningitis</span><span class="gs-value">India ink stain CSF + Latex agglutination (capsular Ag)</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Invasive Aspergillosis</span><span class="gs-value">Serum/BAL Galactomannan + CT chest (halo sign) + culture</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Mucormycosis</span><span class="gs-value">Tissue biopsy (broad aseptate hyphae) + culture on SDA</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Histoplasmosis (disseminated)</span><span class="gs-value">Urine Histoplasma Ag (most sensitive); bone marrow biopsy</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Coccidioidomycosis</span><span class="gs-value">Serology (IgM early; CF-IgG for dissemination); spherules on KOH</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Sporotrichosis</span><span class="gs-value">Culture on SDA (gold standard); biopsy with PAS/GMS stain</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">PCP (Pneumocystis)</span><span class="gs-value">BAL with GMS stain (cup-shaped cysts); PCR most sensitive</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Tinea/Dermatophytes</span><span class="gs-value">KOH mount of skin scraping; culture on Mycosel agar</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Talaromycosis</span><span class="gs-value">Bone marrow biopsy; blood culture (positive in 90% disseminated)</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Pan-fungal screening</span><span class="gs-value">β-D-Glucan (serum): positive in Candida, Aspergillus, PCP (NOT Mucor/Crypto)</span></div>
    <div class="gs-row"><span class="gs-check">✓</span><span class="gs-topic">Fungal meningitis CSF</span><span class="gs-value">India ink + Latex Ag + Culture + β-D-glucan; Opening pressure monitoring</span></div>
  </div>

  <!-- Pearl Row (2-col layout inside) -->
  <div class="pearl-row" style="height:fit-content;align-self:start;">
    <div class="pearl-card pyq-card">
      <div class="pearl-icon">💡</div>
      <div class="pearl-head">PYQ PEARL</div>
      <div class="pearl-body">Germ tube test, India ink, dimorphic fungus geography, and Aspergillus vs Mucor hyphae differences are the highest-yield mycology questions in NEET PG. Memorize the "45 vs 90 degree rule."</div>
    </div>
    <div class="pearl-card inicet-card">
      <div class="pearl-icon">⭐</div>
      <div class="pearl-head">INI-CET PEARL</div>
      <div class="pearl-body">Antifungal mechanism &amp; drug of choice is heavily tested: Voriconazole (Aspergillus), Liposomal AmB (Mucor), Echinocandin (candidemia ICU), TMP-SMX (PCP). Know when echinocandins FAIL (Crypto, Mucor, Trichosporon).</div>
    </div>
    <div class="pearl-card trap-card">
      <div class="pearl-icon">⚠️</div>
      <div class="pearl-head">EXAM TRAP</div>
      <div class="pearl-body">
        • PCP = fungus (NOT protozoa); AmB/azoles useless (no ergosterol)<br>
        • β-D-glucan NEGATIVE in Mucor and Cryptococcus<br>
        • Germ tube +ve = C. albicans ONLY; not C. tropicalis<br>
        • Deferoxamine worsens Mucormycosis (acts as siderophore)
      </div>
    </div>
    <div class="pearl-card mantra-card">
      <div class="pearl-icon">🍄</div>
      <div class="pearl-head">QUICK REVISION MANTRA</div>
      <div class="pearl-body" style="font-weight:800;color:#E65100;font-size:10px;margin-top:4px;">
        Stain → Morphology → Risk Host → Disease → Drug<br>
        <span style="font-size:12px;color:#FF8F00;">REPEAT!</span>
      </div>
    </div>
  </div>
</div>

</div><!-- end bg -->
<div class="footer-bar">★ MYCOLOGY MASTERED = COMPLETE YOUR MICRO 700+ BOOTCAMP ATLAS ★</div>
</body>
</html>
Running Command

# Render PNG chromium --headless --no-sandbox --disable-gpu \ --screenshot=/h…

Page 5 is done and the complete bundle is updated. Here are your files:

🍄 Page 5 – Mycology & Fungal Diseases

Individual Page 5:

page5 mycology

PDF Document · PDF

|

page5 mycology

Image · PNG

|

page5 mycology

HTML File · HTML

Updated Complete 5-Page Atlas:

Microbiology Bootcamp Atlas Complete

PDF Document · PDF

— 2.3 MB, all 5 pages

What's on Page 5:

4 Hero Cards (top row)
  • Candida albicans - germ tube, CHROMagar, biofilm, fluconazole resistance species
  • Aspergillus fumigatus - halo sign, ABPA, galactomannan, aspergilloma, aflatoxin
  • Cryptococcus neoformans - India ink, mucicarmine, latex agglutination, pigeon droppings, soap bubble lesions
  • Mucormycosis - aseptate hyphae 90°, DKA risk, deferoxamine paradox, rhinocerebral form
Dimorphic Fungi Table (6 organisms)
  • Histoplasma, Blastomyces, Coccidioides (spherules), Paracoccidioides (captain's wheel), Sporothrix (rose gardener), Talaromyces - all with geography, morphology, diagnosis, and treatment
Aspergillus vs Mucor comparison table - 9 features side by side
Complete Antifungal Drug Table - Polyenes → Azoles → Echinocandins → 5-FC → Terbinafine, with mechanism, use, and toxicity for every drug
Staining & Culture Media reference - KOH, India ink, GMS, PAS, calcofluor white, mucicarmine, CHROMagar, birdseed agar
Other fungi - PCP, Fusarium, Dermatophytes (TEM mnemonic), C. auris, Trichosporon
15 High Yield facts + Gold Standards + Mnemonics (HBCPST, 45 vs 90°, TEM rule)

Create Page 6: Immunology & Host Defenses against Infections

Finding Sources
Finding Sources
Writing File

~/micro-atlas/page6_immunology.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Microbiology Atlas – Page 6: Immunology & Host Defenses</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',Arial,sans-serif;background:#fff;width:1100px;margin:0 auto;font-size:11px;color:#1a1a2e;}

/* ── HEADER ── */
.header{background:#0B1B3D;padding:10px 16px 8px;display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid #26C6DA;}
.page-badge{background:#1a3a6e;color:#fff;font-weight:900;font-size:13px;padding:8px 10px;border-radius:6px;text-align:center;min-width:54px;border:2px solid #26C6DA;}
.header-center{text-align:center;flex:1;padding:0 12px;}
.main-title{font-size:24px;font-weight:900;color:#fff;letter-spacing:1px;text-transform:uppercase;}
.sub-title{font-size:12px;font-weight:700;color:#80DEEA;letter-spacing:2px;margin-top:2px;text-transform:uppercase;}
.hbadges{display:flex;gap:14px;justify-content:center;margin-top:5px;}
.hbadges span{font-size:10px;font-weight:700;color:#e0e0e0;}
.hbadges span::before{content:"★ ";color:#26C6DA;}
.vision-badge{background:#1a3a6e;border-radius:8px;padding:6px 10px;text-align:center;border:2px solid #26C6DA;min-width:90px;}
.vision-badge .vt{font-size:13px;font-weight:900;color:#80DEEA;}
.vision-badge .vi{font-size:8px;color:#ccc;line-height:1.5;}

/* ── LAYOUT ── */
.bg{background:#f0f2f5;padding:6px;display:flex;flex-direction:column;gap:6px;}
.panel{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #ddd;}
.ph{padding:7px 12px;color:#fff;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:0.5px;}
.r2{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
.r3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;}
.r4{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;}

/* ── INNATE vs ADAPTIVE COMPARISON CARDS ── */
.compare-row{display:grid;grid-template-columns:1fr 80px 1fr;gap:0;background:#fff;border-radius:8px;overflow:hidden;border:1px solid #ddd;}
.comp-left{padding:10px;background:#E3F2FD;}
.comp-mid{background:#0B1B3D;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:11px;color:#26C6DA;writing-mode:vertical-rl;text-transform:uppercase;letter-spacing:2px;}
.comp-right{padding:10px;background:#E8F5E9;}
.comp-title{font-size:11px;font-weight:900;margin-bottom:6px;}
.comp-left .comp-title{color:#1565C0;}
.comp-right .comp-title{color:#2E7D32;}
.comp-item{font-size:9px;color:#333;line-height:1.7;padding-left:10px;position:relative;}
.comp-item::before{content:"▸";position:absolute;left:0;font-size:9px;}
.comp-item b{color:#0B1B3D;}
.comp-left .comp-item::before{color:#1565C0;}
.comp-right .comp-item::before{color:#2E7D32;}

/* ── CELLS TABLE ── */
.ctab{width:100%;border-collapse:collapse;}
.ctab th{padding:5px 8px;font-size:9.5px;font-weight:800;text-align:left;border-bottom:2px solid #ddd;}
.ctab td{padding:4px 8px;font-size:9px;border-bottom:1px solid #f0f0f0;vertical-align:top;line-height:1.45;}
.ctab tr:nth-child(even) td{background:#fafafa;}
.org{font-weight:700;color:#1a1a2e;}
.tag{display:inline-block;padding:1px 6px;border-radius:10px;font-size:8px;font-weight:700;margin:1px 2px;}

/* ── CYTOKINE TABLE ── */
.cktab{width:100%;border-collapse:collapse;}
.cktab th{padding:5px 8px;font-size:9.5px;font-weight:800;text-align:left;border-bottom:2px solid #ddd;}
.cktab td{padding:4px 8px;font-size:9px;border-bottom:1px solid #f0f0f0;vertical-align:top;line-height:1.45;}
.cktab tr:nth-child(even) td{background:#fafafa;}

/* ── COMPLEMENT PATH VISUAL ── */
.comp-path{padding:8px 10px;}
.path-row{display:flex;align-items:center;gap:4px;margin-bottom:5px;flex-wrap:wrap;}
.path-box{border-radius:5px;padding:4px 8px;font-size:8.5px;font-weight:700;white-space:nowrap;}
.path-arrow{font-size:14px;color:#666;font-weight:700;}
.path-label{font-size:8px;color:#888;min-width:90px;font-style:italic;}

/* ── HYPERSENSITIVITY ── */
.hs-card{border-radius:8px;overflow:hidden;border:2px solid;margin-bottom:0;}
.hs-hdr{padding:6px 10px;color:#fff;font-weight:900;font-size:11px;}
.hs-body{padding:7px 10px;}
.hs-prop{font-size:8.5px;color:#333;line-height:1.65;}
.hs-prop b{color:#1a1a2e;}
.hs-eg{font-size:8.5px;font-style:italic;margin-top:3px;}

/* ── IMMUNODEFICIENCY TABLE ── */
.idtab{width:100%;border-collapse:collapse;}
.idtab th{padding:5px 8px;font-size:9.5px;font-weight:800;text-align:left;border-bottom:2px solid #ddd;}
.idtab td{padding:4px 8px;font-size:9px;border-bottom:1px solid #f0f0f0;vertical-align:top;line-height:1.4;}
.idtab tr:nth-child(even) td{background:#fafafa;}
.org{font-weight:700;}

/* ── ANTIBODY / IMMUNOGLOBULIN ── */
.ab-row{display:flex;align-items:flex-start;padding:4px 8px;gap:6px;border-bottom:1px solid #f0f0f0;}
.ab-class{font-size:11px;font-weight:900;min-width:38px;}
.ab-prop{font-size:9px;color:#333;flex:1;line-height:1.45;}

/* ── HY FACTS ── */
.hy-item{display:flex;align-items:flex-start;padding:3.5px 8px;border-bottom:1px solid #f0f0f0;gap:5px;}
.hy-star{font-size:11px;flex-shrink:0;}
.hy-text{font-size:9.5px;color:#333;line-height:1.4;}

/* ── PEARL ── */
.pearl-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;}
.pearl-card{border-radius:8px;padding:7px 9px;}
.pyq-card{background:#FFF9C4;border:2px solid #F9A825;}
.inicet-card{background:#E8F5E9;border:2px solid #2E7D32;}
.trap-card{background:#FFEBEE;border:2px solid #C62828;}
.mantra-card{background:#E0F7FA;border:2px solid #26C6DA;}
.pearl-icon{font-size:16px;}
.pearl-head{font-size:10px;font-weight:800;margin:2px 0;}
.pyq-card .pearl-head{color:#E65100;}
.inicet-card .pearl-head{color:#1B5E20;}
.trap-card .pearl-head{color:#C62828;}
.mantra-card .pearl-head{color:#006064;}
.pearl-body{font-size:8.5px;color:#444;line-height:1.5;}

/* ── KEY PRINCIPLES ── */
.kp-row{display:flex;align-items:center;padding:3px 8px;gap:7px;border-bottom:1px solid #f5f5f5;}
.kp-letter{min-width:20px;height:20px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;color:#fff;}
.kp-text{font-size:9.5px;color:#333;}

/* ── MNEM BOX ── */
.mnem-box{background:#FFF9C4;border:2px solid #F9A825;border-radius:8px;padding:8px 12px;}
.mnem-title{font-size:10px;font-weight:800;color:#E65100;margin-bottom:4px;}
.mnem-item{font-size:9px;color:#333;line-height:1.7;}
.mnem-item b{color:#0B1B3D;}

.footer-bar{background:#0B1B3D;text-align:center;padding:8px;color:#80DEEA;font-size:11px;font-weight:800;letter-spacing:1px;}
</style>
</head>
<body>

<!-- HEADER -->
<div class="header">
  <div class="page-badge">PAGE<br>6</div>
  <div class="header-center">
    <div class="main-title">Microbiology Bootcamp Atlas – Immunology &amp; Host Defenses</div>
    <div class="sub-title">Innate · Adaptive · Complement · Cytokines · Hypersensitivity · Immunodeficiency</div>
    <div class="hbadges">
      <span>High Yield</span><span>Exam Focused</span><span>PYQ Driven</span><span>NEET PG 2026</span>
    </div>
  </div>
  <div class="vision-badge">
    <div class="vt">🛡️ PAGE 6</div>
    <div class="vi">Immunology<br>Host Defense<br>Master Sheet</div>
  </div>
</div>

<div class="bg">

<!-- ══ ROW 1: INNATE vs ADAPTIVE + CELLS OF IMMUNITY ══ -->
<div class="r2">

  <!-- INNATE vs ADAPTIVE COMPARISON -->
  <div class="compare-row">
    <div class="comp-left">
      <div class="comp-title">🔵 INNATE IMMUNITY (Non-specific)</div>
      <div class="comp-item"><b>Speed:</b> Immediate (minutes to hours); no memory</div>
      <div class="comp-item"><b>Cells:</b> Neutrophils, Macrophages, NK cells, Dendritic cells, Mast cells, Basophils, Eosinophils, ILC</div>
      <div class="comp-item"><b>Recognition:</b> PRRs (Pattern Recognition Receptors) → PAMPs &amp; DAMPs</div>
      <div class="comp-item"><b>PRRs:</b> TLRs (toll-like), NLRs (NOD-like), CLRs (C-type lectin), RIG-I (cytoplasmic dsRNA), cGAS-STING</div>
      <div class="comp-item"><b>TLR locations:</b> TLR1/2/4/5/6 on cell surface; TLR3/7/8/9 in endosomes (viral nucleic acids)</div>
      <div class="comp-item"><b>TLR4:</b> Recognizes LPS (gram-neg endotoxin) via MD-2 + CD14; activates NF-κB → TNF-α, IL-1β, IL-6</div>
      <div class="comp-item"><b>TLR9:</b> Recognizes unmethylated CpG DNA (bacterial/viral); TLR3: dsRNA; TLR7/8: ssRNA</div>
      <div class="comp-item"><b>Inflammasome:</b> NLRP3 complex → cleaves pro-IL-1β &amp; pro-IL-18 → mature IL-1β, IL-18 (pyroptosis)</div>
      <div class="comp-item"><b>Complement:</b> Classical / Lectin / Alternative → C3b (opsonization), C3a/C5a (anaphylatoxins), MAC</div>
      <div class="comp-item"><b>Physical barriers:</b> Skin (acidic pH), Mucus (IgA, lysozyme, lactoferrin), Cilia, Gastric acid (pH 2)</div>
      <div class="comp-item"><b>NK cells:</b> Kill virus-infected cells &amp; tumor cells; missing-self recognition (↓MHC-I → kill); perforin/granzyme</div>
      <div class="comp-item"><b>Opsonins:</b> IgG, C3b, MBL; coat microbes → recognized by Fc-R and CR on phagocytes</div>
    </div>
    <div class="comp-mid">IMMUNITY</div>
    <div class="comp-right">
      <div class="comp-title">🟢 ADAPTIVE IMMUNITY (Specific)</div>
      <div class="comp-item"><b>Speed:</b> Days to weeks; generates immunological memory</div>
      <div class="comp-item"><b>Cells:</b> T lymphocytes (CD4+ Th, CD8+ Tc, Treg), B lymphocytes, Plasma cells, Memory cells</div>
      <div class="comp-item"><b>Recognition:</b> Antigen-specific receptors (TCR, BCR) → clonal selection</div>
      <div class="comp-item"><b>MHC-I:</b> On all nucleated cells; presents endogenous (intracellular) peptides to CD8+ T cells (CTL)</div>
      <div class="comp-item"><b>MHC-II:</b> On APCs only (DCs, macrophages, B cells); presents exogenous peptides to CD4+ T cells</div>
      <div class="comp-item"><b>CD4+ T helper subsets:</b> Th1 (IFN-γ → intracellular bugs), Th2 (IL-4/5/13 → parasites/allergy), Th17 (IL-17 → extracellular bacteria/fungi), Treg (IL-10/TGF-β → tolerance)</div>
      <div class="comp-item"><b>Th1 vs Th2 switch:</b> IL-12 → Th1 (IFN-γ); IL-4 → Th2; IL-6+TGF-β → Th17; TGF-β alone → Treg</div>
      <div class="comp-item"><b>CD8+ CTL:</b> Kills via perforin/granzyme B; also FasL-Fas pathway; eliminates virus-infected &amp; tumor cells</div>
      <div class="comp-item"><b>B cell activation:</b> T-dependent Ag → CD40L:CD40 + cytokines → class switching; T-independent → IgM only</div>
      <div class="comp-item"><b>Class switching:</b> IgM → IgG (IL-4), IgE (IL-4/IL-13), IgA (TGF-β + IL-5), IgG1/IgG3 (IFN-γ)</div>
      <div class="comp-item"><b>Somatic hypermutation:</b> Germinal center; AID enzyme; affinity maturation → high-affinity Abs</div>
      <div class="comp-item"><b>Primary vs secondary response:</b> Primary: IgM first (lag 7-10d); Secondary: IgG faster, higher, longer (memory B cells)</div>
    </div>
  </div>

  <!-- CELLS OF THE IMMUNE SYSTEM -->
  <div class="panel">
    <div class="ph" style="background:#1565C0;">🔬 Cells of the Immune System – Origin, Markers &amp; Function</div>
    <table class="ctab">
      <tr>
        <th style="background:#E3F2FD;color:#0D47A1;">Cell Type</th>
        <th style="background:#E3F2FD;color:#0D47A1;">Origin / Lineage</th>
        <th style="background:#E3F2FD;color:#0D47A1;">Key Surface Markers</th>
        <th style="background:#E3F2FD;color:#0D47A1;">Function / Notes</th>
      </tr>
      <tr><td class="org">Neutrophil (PMN)</td><td>Bone marrow; myeloid; 50-70% WBC; half-life 6-8h</td><td>CD66b, CD16, CD11b; Fc-R; CR3</td><td>First to arrive (acute inflammation); phagocytosis + oxidative burst; NETs; MC blood cell</td></tr>
      <tr><td class="org">Macrophage</td><td>Monocyte → tissue; long-lived; M1 (classical) vs M2 (alternative)</td><td>CD14, CD64, CD11b, MHC-II, TLRs, CD16</td><td>Phagocytosis, APC, cytokine production; M1: TNF/IL-12 (kill); M2: IL-10/TGF-β (repair)</td></tr>
      <tr><td class="org">Dendritic Cell (DC)</td><td>Myeloid (mDC) or Plasmacytoid (pDC); bone marrow</td><td>CD11c, CD83, MHC-II, CD80/86; pDC: CD123</td><td>BEST APC; bridge innate &amp; adaptive; pDC: type I IFN factory (viral infections); Birbeck granules (Langerhans)</td></tr>
      <tr><td class="org">Mast Cell</td><td>Bone marrow → tissue; IgE receptor (FcεRI)</td><td>CD117 (c-Kit), FcεRI, CD203c</td><td>Type I HS (anaphylaxis); degranulation → histamine, leukotrienes, tryptase; also Th2 immune responses</td></tr>
      <tr><td class="org">NK Cell</td><td>Bone marrow; innate lymphoid; large granular lymphocyte</td><td>CD56+, CD16+, CD3− (distinguishes from T cells)</td><td>Kill MHC-I low cells; ADCC via FcγRIII (CD16); produce IFN-γ; important in EBV, CMV, tumor surveillance</td></tr>
      <tr><td class="org">CD4+ T Helper</td><td>Thymus; positive &amp; negative selection; MHC-II restricted</td><td>CD4, CD3, TCR, CD28, CD40L</td><td>Orchestrates adaptive immunity; Th1/Th2/Th17/Treg subsets; HIV target (gp120 binds CD4)</td></tr>
      <tr><td class="org">CD8+ CTL</td><td>Thymus; MHC-I restricted; cytotoxic</td><td>CD8, CD3, TCR, CD28, CD95L (FasL)</td><td>Kill virus-infected, tumor, allograft cells; perforin + granzyme B pathway; IFN-γ; immune surveillance</td></tr>
      <tr><td class="org">Regulatory T (Treg)</td><td>Thymus (natural) or periphery (induced)</td><td>CD4+CD25+FoxP3+ (master TF)</td><td>Suppress autoimmunity; IL-10 + TGF-β; FoxP3 mutation → IPEX syndrome (polyendocrinopathy)</td></tr>
      <tr><td class="org">B Lymphocyte</td><td>Bone marrow; B cell follicles in lymph nodes / spleen</td><td>CD19, CD20, CD21, CD40, BCR (sIgM+sIgD), MHC-II</td><td>Ab production; APC; memory; germinal center reaction; rituximab targets CD20</td></tr>
      <tr><td class="org">Plasma Cell</td><td>Activated B cell → plasmablast → plasma cell</td><td>CD38++, CD138 (syndecan-1); CD20−</td><td>Ab-secreting factory; little surface Ig; long-lived plasma cells in bone marrow; multiple myeloma</td></tr>
      <tr><td class="org">Eosinophil</td><td>Bone marrow; IL-5 dependent; 1-4% WBC</td><td>CD49d, FcεRII (CD23), CD16</td><td>Helminth killing (major basic protein); type I &amp; type IV HS; Charcot-Leyden crystals</td></tr>
      <tr><td class="org">Basophil</td><td>Bone marrow; rare (&lt;1%); circulating equivalent of mast cell</td><td>FcεRI, CD203c, CD123</td><td>Type I HS; IgE-mediated degranulation; IL-4 production; basophilia in CML</td></tr>
    </table>
  </div>
</div>

<!-- ══ ROW 2: COMPLEMENT + CYTOKINES ══ -->
<div class="r2">

  <!-- COMPLEMENT SYSTEM -->
  <div class="panel">
    <div class="ph" style="background:#00695C;">🔄 Complement System – 3 Pathways</div>
    <div class="comp-path">
      <!-- Classical -->
      <div style="font-size:9.5px;font-weight:800;color:#1565C0;margin-bottom:3px;">CLASSICAL PATHWAY (Ab-Ag complex → C1q)</div>
      <div class="path-row">
        <div class="path-box" style="background:#E3F2FD;color:#1565C0;">IgG/IgM + Ag</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#E3F2FD;color:#1565C0;">C1q binds Fc</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#BBDEFB;color:#1565C0;">C1r + C1s activate</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#90CAF9;color:#0D47A1;">C4 + C2 → C3 convertase (C4b2a)</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#64B5F6;color:#fff;font-weight:800;">C3b ↓ + C5 convertase</div>
      </div>
      <!-- Lectin -->
      <div style="font-size:9.5px;font-weight:800;color:#2E7D32;margin-bottom:3px;margin-top:5px;">LECTIN PATHWAY (MBL binds mannose on microbe)</div>
      <div class="path-row">
        <div class="path-box" style="background:#E8F5E9;color:#2E7D32;">MBL/Ficolin + mannose</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#E8F5E9;color:#2E7D32;">MASP-1 + MASP-2</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#C8E6C9;color:#1B5E20;">C4 + C2 → C4b2a (same as classical)</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#66BB6A;color:#fff;font-weight:800;">C3b ↓</div>
      </div>
      <!-- Alternative -->
      <div style="font-size:9.5px;font-weight:800;color:#E65100;margin-bottom:3px;margin-top:5px;">ALTERNATIVE PATHWAY (spontaneous C3 hydrolysis on microbial surface)</div>
      <div class="path-row">
        <div class="path-box" style="background:#FFF3E0;color:#E65100;">C3 tick-over (H₂O)</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#FFF3E0;color:#E65100;">C3b on surface + Factor B</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#FFE0B2;color:#E65100;">Factor D cleaves B → C3bBb (C3 convertase)</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#FF8A65;color:#fff;font-weight:800;">Properdin stabilizes</div>
      </div>
      <!-- Terminal -->
      <div style="font-size:9.5px;font-weight:800;color:#6A1B9A;margin-bottom:3px;margin-top:6px;">TERMINAL PATHWAY (all 3 pathways converge)</div>
      <div class="path-row">
        <div class="path-box" style="background:#F3E5F5;color:#6A1B9A;">C5 convertase cleaves C5</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#F3E5F5;color:#6A1B9A;">C5b + C6 + C7 + C8 + C9</div>
        <div class="path-arrow">→</div>
        <div class="path-box" style="background:#CE93D8;color:#4A148C;font-weight:800;">MAC (C5b-9): pore in gram-neg cell membrane</div>
      </div>
    </div>
    <div style="padding:0 8px 6px;">
      <table class="ctab">
        <tr><th style="background:#E0F2F1;color:#004D40;">Fragment</th><th style="background:#E0F2F1;color:#004D40;">Function</th><th style="background:#E0F2F1;color:#004D40;">Deficiency → Clinical Result</th></tr>
        <tr><td class="org">C3b</td><td>Opsonization (coats microbe for phagocytosis); CR1 on phagocytes</td><td>C3 deficiency → recurrent encapsulated bacteria</td></tr>
        <tr><td class="org">C3a, C5a</td><td>Anaphylatoxins → mast cell degranulation, chemotaxis (C5a &gt; C3a); C5a = most potent chemotaxin</td><td>Excessive activation → anaphylaxis</td></tr>
        <tr><td class="org">C5a</td><td>Neutrophil chemotaxis; opsonin; most potent anaphylatoxin</td><td>C5-C9 deficiency → Neisseria infections (meningitis/gonococcal)</td></tr>
        <tr><td class="org">MAC (C5b-9)</td><td>Lyses gram-negative bacteria (outer membrane pore)</td><td>Terminal complement deficiency → recurrent Neisseria (classic!)</td></tr>
        <tr><td class="org">C1q</td><td>Binds IgG (2 molecules) or IgM (1 molecule); initiates classical</td><td>C1q def → SLE-like (immune complex accumulation)</td></tr>
        <tr><td class="org">DAF (CD55), CD59</td><td>Regulators: prevent MAC on host cells</td><td>DAF/CD59 deficiency → PNH (paroxysmal nocturnal hemoglobinuria)</td></tr>
        <tr><td class="org">C1-inhibitor (C1-INH)</td><td>Inhibits C1r/C1s; also inhibits kallikrein (bradykinin)</td><td>C1-INH deficiency → Hereditary Angioedema (bradykinin-mediated!)</td></tr>
        <tr><td class="org">Factor H / Factor I</td><td>Regulate alternative pathway; Factor H displaces Bb; Factor I cleaves C3b</td><td>Factor H def → membranoproliferative GN; aHUS</td></tr>
      </table>
    </div>
  </div>

  <!-- CYTOKINES -->
  <div class="panel">
    <div class="ph" style="background:#AD1457;">📡 Cytokines – Source, Target &amp; Function</div>
    <table class="cktab">
      <tr>
        <th style="background:#FCE4EC;color:#880E4F;">Cytokine</th>
        <th style="background:#FCE4EC;color:#880E4F;">Source</th>
        <th style="background:#FCE4EC;color:#880E4F;">Target / Function</th>
        <th style="background:#FCE4EC;color:#880E4F;">Clinical Relevance</th>
      </tr>
      <tr><td class="org" style="color:#C62828;">IL-1β</td><td>Macrophages, DCs</td><td>Fever (hypothalamic PGE2↑); acute phase; activates T/B cells; IL-1β = endogenous pyrogen with IL-6, TNF-α</td><td>Anakinra (IL-1R antagonist): CAPS, gout, SJIA; Canakinumab</td></tr>
      <tr><td class="org" style="color:#C62828;">IL-2</td><td>Th1 cells (CD4+)</td><td>T cell proliferation &amp; survival (autocrine + paracrine); NK cell activation; Treg maintenance</td><td>Aldesleukin (IL-2): renal cell ca, melanoma; Tacrolimus blocks IL-2 signaling</td></tr>
      <tr><td class="org" style="color:#1565C0;">IL-4</td><td>Th2, mast cells, basophils</td><td>B cell class switch → IgE, IgG1; Th2 differentiation; ↓Th1; IgE-mediated allergy</td><td>Dupilumab (anti-IL-4Rα): atopic dermatitis, asthma</td></tr>
      <tr><td class="org" style="color:#1565C0;">IL-5</td><td>Th2, ILC2</td><td>Eosinophil differentiation, activation, survival; IgA class switch (with TGF-β)</td><td>Mepolizumab (anti-IL-5): eosinophilic asthma, EGPA</td></tr>
      <tr><td class="org" style="color:#2E7D32;">IL-6</td><td>Macrophages, Th2, endothelium</td><td>Acute phase proteins (CRP, fibrinogen); fever; B cell differentiation → plasma cell; Th17 differentiation (with TGF-β)</td><td>Tocilizumab (IL-6R blocker): RA, CRS (COVID/CAR-T)</td></tr>
      <tr><td class="org" style="color:#2E7D32;">IL-8 (CXCL8)</td><td>Macrophages, endothelium</td><td>Neutrophil chemotaxis (MC chemokine for PMN); angiogenesis; released in sepsis</td><td>Neutrophil influx at infection sites; marker of acute inflammation</td></tr>
      <tr><td class="org" style="color:#E65100;">IL-10</td><td>Treg, macrophages, Th2</td><td>Anti-inflammatory; ↓MHC-II on APCs; ↓IL-12; ↓TNF; tolerogenic; prevents autoimmunity</td><td>Elevated in chronic infections (HIV, TB) helping pathogen persistence</td></tr>
      <tr><td class="org" style="color:#E65100;">IL-12</td><td>Macrophages, DCs (triggered by bacteria/intracellular)</td><td>Th1 differentiation; NK cell activation; IFN-γ production; bridges innate &amp; adaptive; anti-tumor</td><td>IL-12 deficiency → susceptibility to mycobacteria; MSMD</td></tr>
      <tr><td class="org" style="color:#6A1B9A;">IL-17</td><td>Th17 cells; ILC3</td><td>Recruits neutrophils; defends vs extracellular bacteria &amp; fungi (Candida, Staph); mucosal immunity</td><td>Secukinumab (anti-IL-17A): psoriasis, AS; IL-17R mutation → Candida susceptibility</td></tr>
      <tr><td class="org" style="color:#6A1B9A;">IFN-γ</td><td>Th1, CD8+ T, NK cells</td><td>Macrophage classical activation (M1); ↑MHC-I &amp; II; ↑iNOS; antiviral; granuloma formation (TB); anti-tumor</td><td>IFN-γ receptor defects → disseminated mycobacterial/Salmonella (MSMD)</td></tr>
      <tr><td class="org" style="color:#AD1457;">IFN-α/β (Type I IFN)</td><td>All cells (IFN-β); pDCs (IFN-α; TLR7/9)</td><td>Antiviral state (ISGs); ↑MHC-I; PKR activation (inhibits translation); NK/CTL activation</td><td>Pegylated IFN-α: Hep B/C, melanoma, hairy cell leukemia; autos in lupus pathogenesis</td></tr>
      <tr><td class="org" style="color:#C62828;">TNF-α</td><td>Macrophages, T cells, mast cells</td><td>Fever + acute phase; vascular permeability; septic shock (high doses); apoptosis; cachexia; granuloma formation</td><td>Anti-TNF (Infliximab, Adalimumab): RA, IBD, psoriasis; risk of TB reactivation!</td></tr>
      <tr><td class="org" style="color:#1565C0;">TGF-β</td><td>Treg, macrophages, platelets</td><td>Immunosuppressive; Treg induction; IgA class switch (with IL-5); tissue repair; fibrosis</td><td>Excess TGF-β → fibrosis (liver, lung, kidney); inhibits anti-tumor immunity</td></tr>
      <tr><td class="org" style="color:#2E7D32;">GM-CSF</td><td>T cells, endothelium, macrophages</td><td>Granulocyte + monocyte differentiation from bone marrow; DC maturation</td><td>Sargramostim: neutropenia after chemo; filgrastim (G-CSF): febrile neutropenia</td></tr>
    </table>
  </div>
</div>

<!-- ══ ROW 3: HYPERSENSITIVITY (4 types) ══ -->
<div class="panel">
  <div class="ph" style="background:#37474F;">⚡ Hypersensitivity Reactions – Gell &amp; Coombs Classification (Types I–IV)</div>
  <div class="r4" style="padding:6px;gap:5px;">

    <!-- TYPE I -->
    <div class="hs-card" style="border-color:#E91E63;">
      <div class="hs-hdr" style="background:#E91E63;">TYPE I – Immediate / Anaphylactic</div>
      <div class="hs-body">
        <div class="hs-prop"><b>Mechanism:</b> IgE (on mast cells/basophils) + Ag → crosslinks FcεRI → degranulation</div>
        <div class="hs-prop"><b>Mediators:</b> Histamine (immediate), Leukotrienes (late, LTC4/D4), Prostaglandins, Tryptase</div>
        <div class="hs-prop"><b>Time:</b> Seconds to minutes (early phase); 4-8h (late phase – eosinophils)</div>
        <div class="hs-prop"><b>Sensitization:</b> First exposure → IgE production &amp; mast cell coating; NO reaction</div>
        <div class="hs-prop"><b>Reaction:</b> Second exposure → rapid mast cell degranulation</div>
        <div class="hs-eg" style="color:#C62828;"><b>Examples:</b> Anaphylaxis (penicillin, bee sting, latex); Asthma (extrinsic); Allergic rhinitis; Urticaria; Atopic dermatitis; Food allergy; Allergic bronchospasm</div>
        <div style="background:#FCE4EC;padding:4px 6px;border-radius:4px;margin-top:4px;font-size:8.5px;color:#AD1457;font-weight:700;">Dx: Skin prick test; serum total IgE; specific IgE (RAST/ImmunoCAP); tryptase (anaphylaxis marker) | Rx: Adrenaline (1st line anaphylaxis); Antihistamines; Corticosteroids; β2-agonist</div>
      </div>
    </div>

    <!-- TYPE II -->
    <div class="hs-card" style="border-color:#E65100;">
      <div class="hs-hdr" style="background:#E65100;">TYPE II – Cytotoxic / Ab-mediated</div>
      <div class="hs-body">
        <div class="hs-prop"><b>Mechanism:</b> IgG or IgM binds Ag on cell surface → complement activation (MAC) + ADCC by NK cells + phagocytosis</div>
        <div class="hs-prop"><b>Time:</b> Minutes to hours after Ab binding</div>
        <div class="hs-prop"><b>Subtypes:</b> (a) Cell destruction (complement/ADCC); (b) Impaired function (receptor blocking); (c) Stimulation (Ab activates receptor)</div>
        <div class="hs-eg" style="color:#BF360C;"><b>Examples:</b></div>
        <div class="hs-prop">• Hemolytic anemia (autoimmune, drug-induced: methyldopa, penicillin)</div>
        <div class="hs-prop">• Transfusion reactions (ABO mismatch); Hemolytic Disease of Newborn (Rh)</div>
        <div class="hs-prop">• ITP (anti-platelet IgG); Pemphigus vulgaris (anti-desmoglein)</div>
        <div class="hs-prop">• Goodpasture's (anti-GBM); Myasthenia Gravis (anti-AChR – blocks)</div>
        <div class="hs-prop">• Graves' disease (anti-TSH-R – stimulates = type II stimulatory)</div>
        <div style="background:#FBE9E7;padding:4px 6px;border-radius:4px;margin-top:4px;font-size:8.5px;color:#BF360C;font-weight:700;">Dx: Direct Coombs test (DAT); anti-GBM Ab; anti-AChR Ab; Anti-desmoglein Ab</div>
      </div>
    </div>

    <!-- TYPE III -->
    <div class="hs-card" style="border-color:#1565C0;">
      <div class="hs-hdr" style="background:#1565C0;">TYPE III – Immune Complex</div>
      <div class="hs-body">
        <div class="hs-prop"><b>Mechanism:</b> Ag-Ab (IgG/IgM) complexes deposit in vessels/tissues → complement activation → C3a/C5a → neutrophil influx → lysosomal damage</div>
        <div class="hs-prop"><b>Time:</b> 3-10 days (serum sickness pattern)</div>
        <div class="hs-prop"><b>Hallmark:</b> Low complement (C3↓, C4↓, CH50↓); positive ANA/ANCA; fibrinoid necrosis</div>
        <div class="hs-eg" style="color:#0D47A1;"><b>Examples:</b></div>
        <div class="hs-prop">• SLE (anti-dsDNA + lupus nephritis); PSGN post-strep</div>
        <div class="hs-prop">• Serum sickness (horse serum, drugs – fever, urticaria, arthritis 7-10d)</div>
        <div class="hs-prop">• Arthus reaction (local): repeated skin injection → local necrosis</div>
        <div class="hs-prop">• Polyarteritis nodosa (HBV); Cryoglobulinemia (HCV)</div>
        <div class="hs-prop">• Hypersensitivity pneumonitis (farmer's lung – IgG + inhaled Ag)</div>
        <div style="background:#E3F2FD;padding:4px 6px;border-radius:4px;margin-top:4px;font-size:8.5px;color:#0D47A1;font-weight:700;">Dx: ↓Complement; immunofluorescence shows "lumpy-bumpy" IgG + C3 deposits; ANA, ANCA</div>
      </div>
    </div>

    <!-- TYPE IV -->
    <div class="hs-card" style="border-color:#2E7D32;">
      <div class="hs-hdr" style="background:#2E7D32;">TYPE IV – Delayed / Cell-mediated (DTH)</div>
      <div class="hs-body">
        <div class="hs-prop"><b>Mechanism:</b> Sensitized CD4+ Th1 cells + APC → IL-2, IFN-γ → macrophage activation; NO antibody involved; 48-72 hours</div>
        <div class="hs-prop"><b>Subtype IVa:</b> DTH (Th1, 48-72h); <b>IVb:</b> eosinophilic (Th2); <b>IVc:</b> CTL-mediated (CD8+); <b>IVd:</b> neutrophilic (Th17 + IL-17)</div>
        <div class="hs-prop"><b>Mantoux (TST):</b> PPD → Type IV DTH → induration at 48-72h (not whealing)</div>
        <div class="hs-eg" style="color:#1B5E20;"><b>Examples:</b></div>
        <div class="hs-prop">• Contact dermatitis (poison ivy, nickel, PPD hair dye)</div>
        <div class="hs-prop">• Tuberculin test (PPD/Mantoux); TB granuloma formation</div>
        <div class="hs-prop">• Granulomatous disease: Sarcoidosis, TB, Leprosy, Crohn's</div>
        <div class="hs-prop">• Transplant rejection (chronic); Celiac disease (gluten)</div>
        <div class="hs-prop">• Steven-Johnson syndrome (drug-induced, CTL-mediated)</div>
        <div style="background:#E8F5E9;padding:4px 6px;border-radius:4px;margin-top:4px;font-size:8.5px;color:#1B5E20;font-weight:700;">Dx: Patch testing (contact dermatitis); Mantoux &gt;10mm = positive (≥5mm if HIV/immunocomp); IGRA (interferon-gamma release assay) not affected by BCG</div>
      </div>
    </div>
  </div>
</div>

<!-- ══ ROW 4: IMMUNODEFICIENCY + IMMUNOGLOBULINS ══ -->
<div class="r2">

  <!-- IMMUNODEFICIENCY -->
  <div class="panel">
    <div class="ph" style="background:#4A148C;">🚫 Primary Immunodeficiency Disorders</div>
    <table class="idtab">
      <tr>
        <th style="background:#EDE7F6;color:#4A148C;">Disorder</th>
        <th style="background:#EDE7F6;color:#4A148C;">Defect</th>
        <th style="background:#EDE7F6;color:#4A148C;">Infections / Features</th>
        <th style="background:#EDE7F6;color:#4A148C;">Lab Finding / Rx</th>
      </tr>
      <tr><td class="org">SCID (X-linked)</td><td>γc chain (IL-2Rγ) mutation → no T &amp; B &amp; NK cells; IL-7 signaling defect</td><td>All infections from birth; absent thymic shadow; graft vs host from maternal T cells</td><td>Absent lymphocytes; ↓↓Ig all; Rx: HSCT (curative)</td></tr>
      <tr><td class="org">ADA deficiency (SCID)</td><td>Adenosine deaminase deficiency → deoxyadenosine toxic to lymphocytes</td><td>Combined T + B deficiency; "bare lymphocyte syndrome" variant</td><td>↑Deoxyadenosine; Rx: ADA-PEG, HSCT, gene therapy (1st gene therapy success)</td></tr>
      <tr><td class="org">DiGeorge Syndrome</td><td>22q11.2 deletion → thymic aplasia → no T cells; parathyroid aplasia (↓PTH → hypoCa)</td><td>Viral/fungal infections (T cell defect); tetany; conotruncal heart defects (TOF, truncus)</td><td>↓T cells; ↓Ca; absent thymic shadow; FISH 22q11.2; Rx: Thymic transplant</td></tr>
      <tr><td class="org">Bruton's XLA</td><td>BTK (Bruton's tyrosine kinase) mutation → no B cells/Ab (mature B cell block)</td><td>Recurrent encapsulated bacteria (Strep pneum, H. flu) after 6 months; normal T cells; OK vs PCP</td><td>Absent B cells (CD19/20−); ↓↓ all Ig; Rx: IV IgG monthly</td></tr>
      <tr><td class="org">CVID</td><td>Late-onset Ab deficiency; heterogeneous; poor B cell differentiation</td><td>Recurrent sinopulmonary infections; Giardia; autoimmune; bronchiectasis; lymphoma risk</td><td>↓IgG, ↓IgA, ↓IgM; normal B cell number; Rx: IV/SC IgG</td></tr>
      <tr><td class="org">Selective IgA Deficiency</td><td>Failure of IgA B cells to mature; most common PID (1:500)</td><td>Often asymptomatic; sinopulmonary; GI (Giardia, celiac); anaphylaxis to blood transfusion (anti-IgA Ab)</td><td>↓IgA (&lt;7 mg/dL); normal IgG &amp; IgM; Rx: IgG-depleted blood products (no IgA)</td></tr>
      <tr><td class="org">Wiskott-Aldrich Syndrome</td><td>WASp protein mutation (X-linked); cytoskeletal defect → abnormal T &amp; B cells</td><td>Triad: eczema + thrombocytopenia + recurrent infections; IgM ↓↓, IgA/IgE ↑, IgG normal</td><td>↓Small platelets; ↓IgM; Rx: HSCT</td></tr>
      <tr><td class="org">Ataxia-Telangiectasia</td><td>ATM gene (DNA repair kinase) mutation → AR; cerebellar ataxia + telangiectasias</td><td>Combined T + B defect; sinopulmonary; lymphoma/leukemia risk; ↑AFP</td><td>↓IgA, IgE; ↓T cells; ↑AFP; Rx: Supportive; IgG infusion</td></tr>
      <tr><td class="org">Hyper-IgM Syndrome</td><td>CD40L (X-linked) or CD40/AID mutation → no class switching (stuck at IgM)</td><td>Encapsulated bacteria; Pneumocystis (Th1 defect); Cryptosporidium; neutropenia</td><td>↑IgM; ↓↓ IgG, IgA, IgE; Rx: IV IgG + PCP prophylaxis</td></tr>
      <tr><td class="org">CGD (Chronic Granulomatous Disease)</td><td>NADPH oxidase defect → no respiratory burst/superoxide; phagocyte killing defect</td><td>Catalase+ve bacteria (Staph, Klebsiella, Serratia, Aspergillus, Nocardia); lymphadenopathy; granulomas</td><td>Dihydrorhodamine test (DHR) or NBT test NEGATIVE; Rx: IFN-γ + TMP-SMX prophylaxis</td></tr>
      <tr><td class="org">Leukocyte Adhesion Deficiency (LAD)</td><td>CD18 (β2 integrin) defect → neutrophils can't roll/adhere/migrate to tissues</td><td>Delayed umbilical cord separation; marked ↑ WBC; recurrent bacterial infections without pus</td><td>↑↑ WBC (leukocytosis without infection); absent CD18 on PMNs; Rx: HSCT</td></tr>
      <tr><td class="org">Chediak-Higashi</td><td>LYST gene mutation → giant lysosomes fail to fuse with phagosomes; partial albinism</td><td>Staph, Strep recurrent infections; oculocutaneous albinism; neuropathy; hemophagocytic lymphohistiocytosis</td><td>Giant cytoplasmic granules in PMNs (pathognomonic); Rx: HSCT</td></tr>
      <tr><td class="org">C5-C9 Deficiency</td><td>Terminal complement deficiency → no MAC formation</td><td>Recurrent Neisseria (meningitidis + gonorrhoeae); classic PID association with Neisseria!</td><td>↓CH50 (total complement); normal C3, C4; Rx: Meningococcal vaccine; prophylactic antibiotics</td></tr>
    </table>
  </div>

  <!-- IMMUNOGLOBULINS + SECONDARY IMMUNODEFICIENCY -->
  <div style="display:flex;flex-direction:column;gap:6px;">

    <!-- Immunoglobulins -->
    <div class="panel">
      <div class="ph" style="background:#006064;">🔬 Immunoglobulins (Antibody Classes)</div>
      <div class="ab-row" style="background:#E0F7FA;font-weight:800;"><span class="ab-class" style="color:#006064;">Class</span><span class="ab-prop">Properties, Function, Clinical Relevance</span></div>
      <div class="ab-row"><span class="ab-class" style="color:#C62828;">IgG</span><span class="ab-prop"><b>Most abundant in serum (80%); 4 subclasses (IgG1-4)</b> | Only Ab crosses placenta (maternal protection) | Long half-life (21d) | Opsonization + complement (IgG1, IgG3 best) + ADCC | IgG4: blocking Ab; non-inflammatory | Deficient in Bruton's, CVID, SCID | Used therapeutically (IV IgG, monoclonal abs)</span></div>
      <div class="ab-row"><span class="ab-class" style="color:#1565C0;">IgA</span><span class="ab-prop"><b>Most abundant antibody in secretions (tears, saliva, breast milk, colostrum, gut);</b> exists as dimer (secretory IgA = sIgA + J chain + secretory component) | First line mucosal defense vs gut/respiratory pathogens | <b>Most common PID = Selective IgA deficiency</b> | Anaphylaxis risk in IgA-def patients receiving blood products (anti-IgA IgE)</span></div>
      <div class="ab-row"><span class="ab-class" style="color:#2E7D32;">IgM</span><span class="ab-prop"><b>Pentamer; first Ab produced in primary immune response; largest Ab</b> | Best complement activator (classical pathway; 1 IgM = 2 IgG needed for C1q) | ABO blood group antibodies (natural IgM) | NOT transferred across placenta | IgM+: acute infection (Hep A, Hep B, EBV monospot) | Elevated in Hyper-IgM syndrome | Cold agglutinins = IgM (Mycoplasma, EBV)</span></div>
      <div class="ab-row"><span class="ab-class" style="color:#E65100;">IgE</span><span class="ab-prop"><b>Lowest serum concentration; highest affinity for FcεRI on mast cells/basophils</b> | Mediates Type I hypersensitivity (allergy, anaphylaxis) | Elevated in: atopy, parasitic infections (helminths), Hyper-IgE (Job's syndrome), Wiskott-Aldrich | Omalizumab (anti-IgE): severe asthma, urticaria | IgE half-life on mast cells = weeks (unlike serum half-life of 2 days)</span></div>
      <div class="ab-row"><span class="ab-class" style="color:#6A1B9A;">IgD</span><span class="ab-prop"><b>Low serum concentration; primarily on naive B cell surface (with IgM) as BCR</b> | Function: B cell activation signal | Hyper-IgD syndrome: MVK gene mutation; periodic fever; not truly IgD-mediated</span></div>
      <div style="padding:4px 8px;font-size:9px;background:#FFF9C4;color:#E65100;font-weight:700;margin-top:2px;">⭐ Mnemonic: <b>GAMED</b> = order from most to least abundant: IgG (80%) > IgA (13%) > IgM (6%) > IgE (&lt;0.001%) > IgD (trace) | IgG = only Ab to cross placenta | IgA = MC in secretions | IgM = first produced + largest + best complement</div>
    </div>

    <!-- Secondary Immunodeficiency + Host Defenses -->
    <div class="panel">
      <div class="ph" style="background:#37474F;">🛡️ Secondary Immunodeficiency &amp; Host Defense Evasion</div>
      <div style="padding:6px 8px;">
        <div style="font-size:9.5px;font-weight:800;color:#C62828;margin-bottom:4px;border-bottom:1px solid #eee;padding-bottom:2px;">SECONDARY CAUSES OF IMMUNODEFICIENCY (Acquired)</div>
        <table class="ctab" style="margin-bottom:6px;">
          <tr><th style="background:#ECEFF1;color:#37474F;">Condition</th><th style="background:#ECEFF1;color:#37474F;">Immune Defect</th><th style="background:#ECEFF1;color:#37474F;">Characteristic Infection</th></tr>
          <tr><td class="org">HIV/AIDS (CD4 &lt;200)</td><td>CD4+ T cell depletion; macrophage dysfunction</td><td>PCP, Crypto, CMV, MAC, Toxoplasma, Histoplasma</td></tr>
          <tr><td class="org">Neutropenia (ANC &lt;500)</td><td>Phagocyte deficiency</td><td>Pseudomonas, Klebsiella, Aspergillus, Candida; Febrile neutropenia</td></tr>
          <tr><td class="org">Splenectomy / Asplenia</td><td>↓IgM production; ↓opsonization; ↓filtration</td><td>Encapsulated bacteria: S. pneumoniae, H. influenzae, N. meningitidis (OPSI)</td></tr>
          <tr><td class="org">Corticosteroids</td><td>Lymphopenia; ↓cytokines; ↓phagocytosis</td><td>TB reactivation, PCP, fungal, bacterial sepsis</td></tr>
          <tr><td class="org">Anti-TNF therapy</td><td>↓granuloma formation; ↓macrophage killing</td><td>TB reactivation (screen with TST/IGRA before use!)</td></tr>
          <tr><td class="org">Diabetes mellitus</td><td>PMN dysfunction; ↓complement; vascular insufficiency</td><td>Mucormycosis (DKA), Staph, UTI, Candida, necrotizing fasciitis</td></tr>
          <tr><td class="org">Complement deficiency</td><td>C1-C4: SLE-like; C5-C9: lytic defect</td><td>C3↓: encapsulated bacteria; C5-9↓: Neisseria</td></tr>
        </table>
        <div style="font-size:9.5px;font-weight:800;color:#1565C0;margin-bottom:4px;border-bottom:1px solid #eee;padding-bottom:2px;">MICROBIAL EVASION OF HOST IMMUNITY</div>
        <div class="hy-item"><span class="hy-star" style="color:#C62828;">▸</span><span class="hy-text"><b>Capsule:</b> Anti-phagocytic; blocks C3b binding → S. pneumoniae, Klebsiella, H. influenzae b, N. meningitidis, Cryptococcus</span></div>
        <div class="hy-item"><span class="hy-star" style="color:#C62828;">▸</span><span class="hy-text"><b>Intracellular survival:</b> Prevents phagolysosomal fusion → TB, Leishmania, Listeria; escape into cytoplasm → Listeria (ActA), Rickettsia</span></div>
        <div class="hy-item"><span class="hy-star" style="color:#C62828;">▸</span><span class="hy-text"><b>IgA protease:</b> Cleaves secretory IgA → S. pneumoniae, H. influenzae, N. meningitidis, N. gonorrhoeae</span></div>
        <div class="hy-item"><span class="hy-star" style="color:#C62828;">▸</span><span class="hy-text"><b>Protein A (S. aureus):</b> Binds Fc of IgG → blocks opsonization + complement; Protein G (Strep)</span></div>
        <div class="hy-item"><span class="hy-star" style="color:#C62828;">▸</span><span class="hy-text"><b>Antigenic variation:</b> Influenza (shift/drift), HIV (hypermutation), Borrelia (VMP proteins), Neisseria (pili phase variation)</span></div>
        <div class="hy-item"><span class="hy-star" style="color:#C62828;">▸</span><span class="hy-text"><b>Biofilm:</b> S. epidermidis, P. aeruginosa, S. mutans; antibiotic resistance, blocks phagocytosis</span></div>
        <div class="hy-item"><span class="hy-star" style="color:#C62828;">▸</span><span class="hy-text"><b>Leukocidin (PVL):</b> S. aureus → kills PMNs; seen in CA-MRSA necrotizing pneumonia in young adults</span></div>
        <div class="hy-item"><span class="hy-star" style="color:#C62828;">▸</span><span class="hy-text"><b>HIV evasion:</b> Downregulates MHC-I (via Nef) to escape CTL; rapid antigenic mutation; latent reservoir in CD4+ memory T cells</span></div>
      </div>
    </div>
  </div>
</div>

<!-- ══ ROW 5: HY FACTS + KEY PRINCIPLES + PEARL ROW ══ -->
<div class="r3">

  <!-- HY FACTS -->
  <div class="panel">
    <div class="ph" style="background:#6A1B9A;">★ High Yield Immunology Facts</div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text">MC primary immunodeficiency: <b>Selective IgA deficiency</b> (1:500 in general population)</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text">Only Ab that crosses placenta: <b>IgG</b> (via FcRn – neonatal Fc receptor) → maternal passive immunity</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text">First Ab produced in primary response: <b>IgM</b>; dominant Ab in secondary response: <b>IgG</b></span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>NBT (Nitroblue tetrazolium) test</b>: Negative in CGD → no superoxide (NADPH oxidase defect)</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>DiGeorge</b>: 22q11.2 deletion; thymic aplasia → T cell deficiency; hypocalcemia (tetany); conotruncal defects</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>Bruton's XLA</b>: Only boys; no B cells; all Ig ↓; infections after 6 months (maternal IgG wanes)</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>C5-C9 deficiency</b>: Recurrent Neisseria meningitidis/gonorrhoeae → MAC needed to lyse encapsulated GN</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>Mantoux/TST</b>: Type IV (DTH) – read at 48-72h; &gt;10mm positive; &gt;5mm in HIV/immunocomp</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>C3 deficiency</b>: Most severe complement deficiency → recurrent encapsulated organisms + SLE-like</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>IL-12 / IFN-γ receptor defects</b>: MSMD – Mendelian Susceptibility to Mycobacterial Disease; BCG vaccination → disseminated BCGosis</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>IPEX syndrome</b>: FoxP3 mutation → no Tregs → multi-organ autoimmunity (polyendocrinopathy, enteropathy, X-linked)</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>Type I IFN (IFN-α/β)</b>: Produced in response to viral dsRNA (TLR3); creates "antiviral state" via ISGs; pDC is major source</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>Anaphylaxis Rx</b>: Adrenaline (epinephrine) IM into lateral thigh = first and only mandatory drug; 0.5 mg (1:1000)</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#6A1B9A;">★</span><span class="hy-text"><b>Splenectomy infections</b> (OPSI): S. pneumoniae (MC) &gt; H. influenzae &gt; N. meningitidis → vaccinate 2 wks before; prophylactic penicillin</span></div>
  </div>

  <!-- KEY PRINCIPLES ACRONYM -->
  <div class="panel">
    <div class="ph" style="background:#0277BD;">🧠 KEY PRINCIPLES – IMMUNOLOGY (Remember!)</div>
    <div class="kp-row"><div class="kp-letter" style="background:#E91E63;">I</div><div class="kp-text">Innate is immediate &amp; non-specific; Adaptive is specific &amp; has memory – know both work together</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#1565C0;">M</div><div class="kp-text">MHC-I presents to CD8+ (kill); MHC-II presents to CD4+ (help) – "8 × 1 = 8, 4 × 2 = 8"</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#2E7D32;">M</div><div class="kp-text">Memory is the key advantage of adaptive immunity – secondary response is faster, stronger, IgG dominant</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#6A1B9A;">U</div><div class="kp-text">Understand which cell defects → which type of infection: T cell → viral/fungal; B cell → encapsulated bacteria; PMN → catalase+ve bacteria; Complement terminal → Neisseria</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#E65100;">N</div><div class="kp-text">Never forget complement regulators: DAF/CD59 (PNH), C1-INH (Hereditary angioedema), Factor H (aHUS)</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#00695C;">E</div><div class="kp-text">Each hypersensitivity type: I=IgE; II=IgG/IgM+cell surface; III=immune complexes; IV=T cells (no Ab)</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#AD1457;">H</div><div class="kp-text">Hyper-IgM = can't class switch (CD40L/CD40 defect) → stuck at IgM; ALL other Ig ↓↓</div></div>
    <div style="margin:6px 8px 0;">
      <div class="mnem-box">
        <div class="mnem-title">🧠 IMMUNOLOGY MNEMONICS (Exam Savers)</div>
        <div class="mnem-item"><b>Cytokines causing fever (endogenous pyrogens) = "IL-1, IL-6, TNF-α":</b> All 3 act on hypothalamus → PGE2 → fever</div>
        <div class="mnem-item"><b>Hypersensitivity types = "ACID":</b> Anaphylactic (I), Cytotoxic (II), Immune complex (III), Delayed/DTH (IV)</div>
        <div class="mnem-item"><b>IgG subclasses: "GM cars":</b> IgG1 (most) = opsonization; IgG2 = polysaccharide Ag; IgG3 = complement; IgG4 = non-inflammatory/blocking</div>
        <div class="mnem-item"><b>CGD organisms = "SSNACK":</b> Staphylococcus, Serratia, Nocardia, Aspergillus, Candida, Klebsiella (all catalase +ve)</div>
        <div class="mnem-item"><b>SCID = "Both T and B gone":</b> X-linked = γc chain; ADA = adenosine; MHC-II def = "bare lymphocyte syndrome"</div>
        <div class="mnem-item"><b>Th subsets = "12→Th1 (IFN-γ), 4→Th2 (IL-4/5/13), 6+TGF→Th17, TGF alone→Treg"</b></div>
        <div class="mnem-item"><b>Complement defect + Neisseria = "C5-C9 terminal deficiency":</b> MAC cannot form → gram-neg not lysed</div>
      </div>
    </div>
  </div>

  <!-- GOLD STANDARDS + PEARL ROW vertical -->
  <div style="display:flex;flex-direction:column;gap:6px;">
    <div class="panel">
      <div class="ph" style="background:#2E7D32;">🥇 Gold Standards – Immunology Diagnosis</div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>Bruton's XLA</b>: Flow cytometry – absent CD19+/CD20+ B cells; serum Ig all ↓</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>SCID</b>: T cell enumeration (CD3/CD4/CD8); absent lymphocytes; ADA levels</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>DiGeorge</b>: FISH 22q11.2 deletion; T cell numbers; serum Ca/PTH</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>CGD</b>: DHR (Dihydrorhodamine) flow test or NBT slide test – NO oxidative burst</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>Complement disorders</b>: CH50 (total); C3; C4; specific factor assays (Factor H, C1-INH)</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>Type I HS (allergy)</b>: Skin prick test; total IgE; specific IgE (ImmunoCAP); serum tryptase</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>Type II HS</b>: Direct Coombs (DAT); anti-GBM Ab; AChR Ab; desmoglein Ab</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>Type III HS (SLE)</b>: ANA, anti-dsDNA; ↓C3/C4; renal biopsy IF (lumpy-bumpy)</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>Type IV HS</b>: Patch test (contact); Mantoux/TST (tuberculin); IGRA (QuantiFERON)</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>LAD</b>: Flow cytometry – absent CD18/CD11b on PMNs; ↑↑ WBC count baseline</span></div>
    </div>

    <div class="pearl-row" style="display:flex;flex-direction:column;gap:5px;">
      <div class="pearl-card pyq-card">
        <div class="pearl-icon">💡</div>
        <div class="pearl-head">PYQ PEARL</div>
        <div class="pearl-body">Hypersensitivity types + primary immunodeficiency table (organism ↔ defect ↔ infection) are the most tested immunology topics. "Cell defect → typical infection" is a classic PYQ pattern.</div>
      </div>
      <div class="pearl-card inicet-card">
        <div class="pearl-icon">⭐</div>
        <div class="pearl-head">INI-CET PEARL</div>
        <div class="pearl-body">Cytokine targets for biologic therapy (anti-TNF, anti-IL-6, anti-IL-17) and complement pathway defects are high-yield. Know which biologics reactivate TB (anti-TNF agents).</div>
      </div>
      <div class="pearl-card trap-card">
        <div class="pearl-icon">⚠️</div>
        <div class="pearl-head">EXAM TRAP</div>
        <div class="pearl-body">
          • Type IV HS = NO antibody (T cell only)<br>
          • Hereditary angioedema = C1-INH deficiency → bradykinin (NOT histamine → antihistamines FAIL)<br>
          • IGRA not affected by BCG vaccination (unlike Mantoux)<br>
          • IgA deficiency → anaphylaxis to IgA-containing blood
        </div>
      </div>
      <div class="pearl-card mantra-card">
        <div class="pearl-icon">🛡️</div>
        <div class="pearl-head">QUICK REVISION MANTRA</div>
        <div class="pearl-body" style="font-weight:800;color:#006064;font-size:10px;margin-top:4px;">
          Cell type → Defect → Infection → Lab → Treatment<br>
          <span style="font-size:12px;color:#26C6DA;">REPEAT!</span>
        </div>
      </div>
    </div>
  </div>
</div>

</div><!-- end bg -->
<div class="footer-bar">★ IMMUNOLOGY MASTERED = YOUR MICRO BOOTCAMP ATLAS IS NOW COMPLETE (6 PAGES) ★</div>
</body>
</html>
Running Command

chromium --headless --no-sandbox --disable-gpu \ --screenshot=/home/daytona/w…

Page 6 is done. Here are your downloads:

🛡️ Page 6 – Immunology & Host Defenses

Individual Page 6:

page6 immunology

PDF Document · PDF

|

page6 immunology

Image · PNG

|

page6 immunology

HTML File · HTML

Complete 6-Page Atlas (Updated):

Microbiology Bootcamp Atlas Complete

PDF Document · PDF

— 2.7 MB, all 6 pages

What's on Page 6:

Innate vs Adaptive Immunity - Side-by-side comparison panel covering TLRs (TLR4/LPS, TLR9/CpG), inflammasome, NK cells, opsonins, MHC-I/II, Th1/Th2/Th17/Treg subsets, class switching, somatic hypermutation, primary vs secondary response
Cells of the Immune System - Full table: Neutrophil, Macrophage, DC, Mast cell, NK, CD4+, CD8+, Treg, B cell, Plasma cell, Eosinophil, Basophil — with origin, surface markers, and function
Complement System - Visual pathway diagram showing all 3 pathways (Classical → C1q; Lectin → MBL/MASP; Alternative → Factor D/Properdin) converging on MAC, with deficiency consequences
Cytokines table - 14 cytokines with source, target/function, and clinical drug relevance (IL-1β, IL-2, IL-4, IL-5, IL-6, IL-8, IL-10, IL-12, IL-17, IFN-γ, IFN-α/β, TNF-α, TGF-β, GM-CSF)
Hypersensitivity Types I–IV - All 4 types with mechanism, timing, mediators, and specific disease examples
Primary Immunodeficiency table - 13 disorders: SCID, DiGeorge, Bruton's, CVID, IgA deficiency, WAS, AT, Hyper-IgM, CGD, LAD, Chediak-Higashi, C5-C9 deficiency — each with defect, infection, lab finding, treatment
Immunoglobulin classes - IgG/IgA/IgM/IgE/IgD with GAMED mnemonic
Secondary immunodeficiency + Microbial evasion strategies - HIV, neutropenia, asplenia, steroids, anti-TNF, DM + capsule, intracellular survival, IgA protease, Protein A, antigenic variation, biofilm

Create Page 7: Laboratory Diagnostics & Antibiotic Susceptibility Testing

Finding Sources
Finding Sources
Finding Sources
Writing File

~/micro-atlas/page7_lab_diagnostics.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Microbiology Atlas – Page 7: Lab Diagnostics & Antibiotic Susceptibility</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',Arial,sans-serif;background:#fff;width:1100px;margin:0 auto;font-size:11px;color:#1a1a2e;}

/* ── HEADER ── */
.header{background:#0B1B3D;padding:10px 16px 8px;display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid #FF7043;}
.page-badge{background:#1a3a6e;color:#fff;font-weight:900;font-size:13px;padding:8px 10px;border-radius:6px;text-align:center;min-width:54px;border:2px solid #FF7043;}
.header-center{text-align:center;flex:1;padding:0 12px;}
.main-title{font-size:24px;font-weight:900;color:#fff;letter-spacing:1px;text-transform:uppercase;}
.sub-title{font-size:12px;font-weight:700;color:#FFAB91;letter-spacing:2px;margin-top:2px;text-transform:uppercase;}
.hbadges{display:flex;gap:14px;justify-content:center;margin-top:5px;}
.hbadges span{font-size:10px;font-weight:700;color:#e0e0e0;}
.hbadges span::before{content:"★ ";color:#FF7043;}
.vision-badge{background:#1a3a6e;border-radius:8px;padding:6px 10px;text-align:center;border:2px solid #FF7043;min-width:90px;}
.vision-badge .vt{font-size:13px;font-weight:900;color:#FFAB91;}
.vision-badge .vi{font-size:8px;color:#ccc;line-height:1.5;}

/* ── LAYOUT ── */
.bg{background:#f0f2f5;padding:6px;display:flex;flex-direction:column;gap:6px;}
.panel{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #ddd;}
.ph{padding:7px 12px;color:#fff;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:0.5px;}
.r2{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
.r3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;}
.r4{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;}

/* ── GENERAL TABLE ── */
.gtab{width:100%;border-collapse:collapse;}
.gtab th{padding:5px 8px;font-size:9.5px;font-weight:800;text-align:left;border-bottom:2px solid #ddd;}
.gtab td{padding:4px 8px;font-size:9px;border-bottom:1px solid #f0f0f0;vertical-align:top;line-height:1.45;}
.gtab tr:nth-child(even) td{background:#fafafa;}
.org{font-weight:700;color:#1a1a2e;}

/* ── AST VISUAL ── */
.ast-visual{padding:8px 12px;}
.zone-bar{display:flex;height:28px;border-radius:6px;overflow:hidden;margin:6px 0;border:1px solid #ddd;}
.zone-seg{display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:800;color:#fff;}
.zone-r{background:#C62828;flex:1.2;}
.zone-i{background:#FF8F00;flex:0.8;}
.zone-s{background:#2E7D32;flex:2;}
.zone-labels{display:flex;font-size:8px;color:#555;margin-top:2px;gap:0;}
.zone-l{flex:1.2;text-align:center;}
.zone-lm{flex:0.8;text-align:center;}
.zone-ls{flex:2;text-align:center;}

/* ── MIC LADDER ── */
.mic-row{display:flex;align-items:center;gap:6px;padding:3px 8px;border-bottom:1px solid #f0f0f0;}
.mic-label{font-size:9px;font-weight:700;min-width:110px;color:#1a1a2e;}
.mic-bar-wrap{flex:1;background:#eee;border-radius:4px;height:12px;overflow:hidden;}
.mic-bar{height:12px;border-radius:4px;}
.mic-val{font-size:9px;color:#555;min-width:80px;}

/* ── SENSITIVITY SPECIFICITY VISUAL ── */
.ss-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px;}
.ss-card{border-radius:6px;padding:8px;border:2px solid;}
.ss-title{font-size:10px;font-weight:800;margin-bottom:4px;}
.ss-formula{font-size:9px;color:#333;background:#f9f9f9;padding:4px 6px;border-radius:4px;margin:3px 0;font-family:monospace;}
.ss-note{font-size:8.5px;color:#555;line-height:1.5;margin-top:3px;}

/* ── SPECIMEN COLLECTION TABLE ── */
.spec-item{display:flex;align-items:flex-start;padding:4px 8px;gap:6px;border-bottom:1px solid #f0f0f0;}
.spec-icon{font-size:14px;flex-shrink:0;}
.spec-site{font-size:9.5px;font-weight:700;min-width:110px;color:#1a1a2e;}
.spec-detail{font-size:9px;color:#444;flex:1;line-height:1.4;}
.spec-note{font-size:8.5px;color:#E65100;flex:1;font-weight:600;}

/* ── SEROLOGY LADDER ── */
.sero-row{display:flex;align-items:flex-start;padding:3.5px 8px;gap:6px;border-bottom:1px solid #f0f0f0;}
.sero-test{font-size:9.5px;font-weight:700;min-width:140px;color:#1a1a2e;}
.sero-mech{font-size:9px;color:#333;flex:1.5;line-height:1.4;}
.sero-eg{font-size:9px;color:#1565C0;flex:1.2;font-style:italic;}

/* ── MOLECULAR METHODS ── */
.mol-card{border-radius:6px;padding:7px 9px;border-left:4px solid;margin-bottom:4px;}
.mol-title{font-size:10px;font-weight:800;margin-bottom:3px;}
.mol-body{font-size:8.5px;color:#333;line-height:1.6;}

/* ── HY FACTS ── */
.hy-item{display:flex;align-items:flex-start;padding:3.5px 8px;border-bottom:1px solid #f0f0f0;gap:5px;}
.hy-star{font-size:11px;flex-shrink:0;}
.hy-text{font-size:9.5px;color:#333;line-height:1.4;}

/* ── RESISTANCE MECHANISMS ── */
.res-card{border-radius:6px;padding:6px 9px;border-left:4px solid;margin-bottom:4px;background:#fff;}
.res-title{font-size:9.5px;font-weight:800;margin-bottom:2px;}
.res-body{font-size:8.5px;color:#333;line-height:1.55;}

/* ── KEY PRINCIPLES ── */
.kp-row{display:flex;align-items:center;padding:3px 8px;gap:7px;border-bottom:1px solid #f5f5f5;}
.kp-letter{min-width:20px;height:20px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;color:#fff;}
.kp-text{font-size:9.5px;color:#333;}

/* ── MNEM BOX ── */
.mnem-box{background:#FFF9C4;border:2px solid #F9A825;border-radius:8px;padding:7px 10px;}
.mnem-title{font-size:10px;font-weight:800;color:#E65100;margin-bottom:4px;}
.mnem-item{font-size:9px;color:#333;line-height:1.7;}
.mnem-item b{color:#0B1B3D;}

/* ── PEARL ── */
.pearl-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;}
.pearl-card{border-radius:8px;padding:7px 9px;}
.pyq-card{background:#FFF9C4;border:2px solid #F9A825;}
.inicet-card{background:#E8F5E9;border:2px solid #2E7D32;}
.trap-card{background:#FFEBEE;border:2px solid #C62828;}
.mantra-card{background:#FBE9E7;border:2px solid #FF7043;}
.pearl-icon{font-size:16px;}
.pearl-head{font-size:10px;font-weight:800;margin:2px 0;}
.pyq-card .pearl-head{color:#E65100;}
.inicet-card .pearl-head{color:#1B5E20;}
.trap-card .pearl-head{color:#C62828;}
.mantra-card .pearl-head{color:#BF360C;}
.pearl-body{font-size:8.5px;color:#444;line-height:1.5;}

.footer-bar{background:#0B1B3D;text-align:center;padding:8px;color:#FFAB91;font-size:11px;font-weight:800;letter-spacing:1px;}
</style>
</head>
<body>

<!-- HEADER -->
<div class="header">
  <div class="page-badge">PAGE<br>7</div>
  <div class="header-center">
    <div class="main-title">Microbiology Bootcamp Atlas – Lab Diagnostics &amp; AST</div>
    <div class="sub-title">Specimen · Staining · Culture · Serology · Molecular · Sensitivity/Specificity · AST</div>
    <div class="hbadges">
      <span>High Yield</span><span>Exam Focused</span><span>PYQ Driven</span><span>NEET PG 2026</span>
    </div>
  </div>
  <div class="vision-badge">
    <div class="vt">🔬 PAGE 7</div>
    <div class="vi">Lab Diagnostics<br>AST Master</div>
  </div>
</div>

<div class="bg">

<!-- ══ ROW 1: SPECIMEN COLLECTION + STAINING REFERENCE ══ -->
<div class="r2">

  <!-- SPECIMEN COLLECTION -->
  <div class="panel">
    <div class="ph" style="background:#1565C0;">🧪 Specimen Collection – Site, Container &amp; Timing</div>
    <div class="spec-item"><span class="spec-icon">🩸</span><span class="spec-site">Blood Culture</span><span class="spec-detail">2 sets (aerobic + anaerobic) before antibiotics; 10 mL each; venipuncture; skin decontamination with chlorhexidine; 2 separate sites ideally; bottle → lab within 2h</span><span class="spec-note">Typhoid: wk1 blood; wk2–3 stool/urine | SBE: 3 sets over 1h</span></div>
    <div class="spec-item"><span class="spec-icon">🧠</span><span class="spec-site">CSF (Meningitis)</span><span class="spec-detail">LP in 3 tubes: (1) cell count; (2) biochemistry protein/glucose; (3) microbiology culture + Gram stain; aseptic technique; send IMMEDIATELY</span><span class="spec-note">Do NOT refrigerate CSF! Neisseria dies at cold; send warm</span></div>
    <div class="spec-item"><span class="spec-icon">🫁</span><span class="spec-site">Sputum (Respiratory)</span><span class="spec-detail">Early morning, deep cough specimen; before antibiotics; 3 consecutive samples for AFB; &gt;25 PMN &amp; &lt;10 sqepi per LPF = adequate</span><span class="spec-note">Rejection criteria: &lt;25 PMN or &gt;10 epithelial cells/LPF = saliva, not sputum</span></div>
    <div class="spec-item"><span class="spec-icon">🚽</span><span class="spec-site">Stool/Feces</span><span class="spec-detail">Fresh stool preferred; ova &amp; parasites: 3 samples on alternate days; C. difficile: liquid stool only; transport: Cary-Blair (Salmonella/Shigella); SAF (parasites); PVA fixative</span><span class="spec-note">Rectal swab acceptable for Shigella | GVS for Campylobacter</span></div>
    <div class="spec-item"><span class="spec-icon">🍑</span><span class="spec-site">Urine (UTI)</span><span class="spec-detail">Midstream clean-catch; &gt;10⁵ CFU/mL = significant bacteriuria; straight catheter &gt;10³ CFU/mL; suprapubic aspiration: any growth significant; boric acid preservative</span><span class="spec-note">Dipstick: leucocyte esterase + nitrite = UTI screening; culture = gold std</span></div>
    <div class="spec-item"><span class="spec-icon">🔴</span><span class="spec-site">Wound / Abscess</span><span class="spec-detail">Aspirate from deep; swab is less ideal; anaerobic transport (port-a-cul); tissue biopsy best for chronic wounds; send in thioglycollate broth</span><span class="spec-note">Surface swabs often show colonizers, not true pathogens</span></div>
    <div class="spec-item"><span class="spec-icon">🫀</span><span class="spec-site">Genital Specimens</span><span class="spec-detail">Urethral/cervical swab in Amies transport; NAAT preferred for Chlamydia/Gonorrhea; GBS: rectovaginal swab at 35–37 weeks; Trichomonas: wet mount immediately</span><span class="spec-note">Gonococcal culture: transport to lab &lt;30 min; inoculate Thayer-Martin at bedside</span></div>
    <div class="spec-item"><span class="spec-icon">🦷</span><span class="spec-site">Throat Swab</span><span class="spec-detail">Posterior pharynx + tonsillar crypts; avoid tongue; Strep Group A: direct Ag test or culture on blood agar; Diphtheria: Albert's stain for metachromatic granules</span><span class="spec-note">Per-nasal swab (Bordet-Gengou) for Bordetella pertussis; calcium alginate swab</span></div>
    <div class="spec-item"><span class="spec-icon">👁️</span><span class="spec-site">Eye Swab / Corneal Scraping</span><span class="spec-detail">Platinum spatula scraping → glass slide (Gram + Giemsa + KOH + culture); Chlamydia trachoma: Giemsa → intracytoplasmic inclusions; conjunctival scrapings</span><span class="spec-note">Viral conjunctivitis: viral transport medium (VTM)</span></div>
    <div class="spec-item"><span class="spec-icon">🩹</span><span class="spec-site">Skin / Hair / Nail</span><span class="spec-detail">Skin scraping from edge; nail clippings (distal/proximal border); plucked hair with bulb; transport dry in paper envelope; KOH mount + Sabouraud culture</span><span class="spec-note">Wood's lamp: Microsporum → yellow-green fluorescence (in-clinic screening)</span></div>
    <div class="spec-item"><span class="spec-icon">🫀</span><span class="spec-site">Bone Marrow Aspirate</span><span class="spec-detail">Highest yield for disseminated infections; Leishmania (LD bodies), Histoplasma, Talaromyces, Salmonella (wk1), Brucella culture; Giemsa stain</span><span class="spec-note">Splenic aspirate: highest yield (95%) for Kala-azar but risky</span></div>
    <div style="padding:5px 8px;background:#E3F2FD;font-size:8.5px;color:#1565C0;font-weight:700;margin:0;">
      ⭐ TRANSPORT MEDIA: Cary-Blair (Salmonella, Shigella, Campylobacter) | Stuart's/Amies (Neisseria, general bacteria) | Alkaline peptone water (Vibrio cholerae – enrichment) | EMJH (Leptospira) | VTM (viruses) | SAF/MIF (parasites) | Selenite F broth (Salmonella enrichment)
    </div>
  </div>

  <!-- STAINING REFERENCE MASTER -->
  <div class="panel">
    <div class="ph" style="background:#AD1457;">🎨 Staining Reference – Complete Master Table</div>
    <table class="gtab">
      <tr>
        <th style="background:#FCE4EC;color:#880E4F;">Stain</th>
        <th style="background:#FCE4EC;color:#880E4F;">Principle</th>
        <th style="background:#FCE4EC;color:#880E4F;">Organism / Use</th>
        <th style="background:#FCE4EC;color:#880E4F;">Result / Appearance</th>
      </tr>
      <tr><td class="org">Gram Stain</td><td>Crystal violet → iodine → acetone decolorize → safranin counterstain</td><td>All bacteria; first line; smear preparation</td><td>GP: purple/violet | GN: pink/red | Cell wall thickness key</td></tr>
      <tr><td class="org">Ziehl-Neelsen (ZN)</td><td>Carbol fuchsin (heat fixed) + acid-alcohol decolorize + methylene blue</td><td>Mycobacteria (TB, leprosy), Nocardia (weakly)</td><td>AFB: red (acid-fast) against blue background; beaded/cord arrangement (TB)</td></tr>
      <tr><td class="org">Modified ZN (cold)</td><td>Weak acid (1% H₂SO₄) decolorizer; no heat</td><td>Cryptosporidium, Cyclospora, Isospora, Nocardia</td><td>Oocysts: red/pink; variable staining; Cyclospora: wrinkled appearance</td></tr>
      <tr><td class="org">Fite-Faraco Stain</td><td>Modified ZN using oils to preserve lipid-rich cell wall</td><td>M. leprae (best stain), Nocardia</td><td>Beaded red rods within macrophages (Virchow cells); globi in lepromatous</td></tr>
      <tr><td class="org">Albert's Stain</td><td>Albert's A + B solutions</td><td>Corynebacterium diphtheriae</td><td>Metachromatic granules (volutin): blue-black/green beads in bluish rods (Chinese letter/cuneiform arrangement)</td></tr>
      <tr><td class="org">Loeffler's Methylene Blue</td><td>Simple alkaline stain</td><td>C. diphtheriae metachromatic granules; vibrios; rapid stain</td><td>Granules stain darker blue (metachromasia); rods stain pale blue</td></tr>
      <tr><td class="org">India Ink (Nigrosin)</td><td>Negative staining; particles too large to enter capsule</td><td>Cryptococcus neoformans (CSF)</td><td>Clear halo (capsule) around yeast against dark background; narrow-neck budding</td></tr>
      <tr><td class="org">Giemsa Stain</td><td>Azure B + eosin; Romanowsky-type stain</td><td>Malaria (RBCs), Leishmania, Trypanosoma, Chlamydia (inclusions), Borrelia</td><td>Malaria: Schüffner's dots (vivax/ovale); Maurer's clefts (falciparum); banana gametocytes (falciparum)</td></tr>
      <tr><td class="org">Leishman Stain</td><td>Romanowsky stain; methanol-fixed blood films</td><td>Malaria, Leishmania, Trypanosoma (blood films)</td><td>LD bodies in macrophages (Leishmania); trypomastigotes (Trypanosoma)</td></tr>
      <tr><td class="org">Wright's Stain</td><td>Similar to Giemsa; methanol fixative included</td><td>Blood parasites, blood cells differential</td><td>Thick &amp; thin films: Plasmodium species differentiation; basophilic stippling</td></tr>
      <tr><td class="org">PAS (Periodic Acid-Schiff)</td><td>Oxidizes glycols → aldehydes → Schiff reagent → magenta</td><td>Fungi (Aspergillus, Histoplasma, Candida), Cryptosporidium, Whipple's (T. whipplei)</td><td>Fungi: magenta/pink cell walls; T. whipplei: PAS +ve macrophages in small bowel</td></tr>
      <tr><td class="org">GMS (Gomori Methenamine Silver)</td><td>Chromic acid oxidizes cell wall → silver deposits → black</td><td>ALL fungi; PCP (Pneumocystis jirovecii)</td><td>Black fungal cell walls; PCP: cup-shaped (helmet-shaped) cysts against green background</td></tr>
      <tr><td class="org">Calcofluor White</td><td>Binds chitin/cellulose → fluorescent (UV light)</td><td>All fungi; rapid screening; most sensitive</td><td>Bright blue-green fluorescence under UV (fluorescent microscopy)</td></tr>
      <tr><td class="org">Mucicarmine (Mayer's)</td><td>Carmine dye binds mucopolysaccharide capsule</td><td>Cryptococcus neoformans (tissue section)</td><td>Capsule stains deep red/carmine; confirms Crypto in tissue</td></tr>
      <tr><td class="org">Hematoxylin &amp; Eosin (H&amp;E)</td><td>Hematoxylin (nuclei blue) + Eosin (cytoplasm pink)</td><td>Histopathology of all tissues; viral inclusions</td><td>Negri bodies (rabies), owl-eye (CMV), Cowdry A (HSV/VZV); Warthin-Finkeldey (measles)</td></tr>
      <tr><td class="org">Silver Stain (Warthin-Starry)</td><td>Silver impregnation of small organisms</td><td>H. pylori (gastric biopsy), Legionella, Treponema, Bartonella</td><td>Black organisms against yellow/brown background; Legionella: difficult to see on H&amp;E, needs silver</td></tr>
      <tr><td class="org">Dark Field Microscopy</td><td>Oblique light; organisms appear bright against dark background</td><td>Treponema pallidum (syphilis primary chancre); Leptospira</td><td>Bright spiral organisms against black field; corkscrew motility (Leptospira); T. pallidum: tight spirals</td></tr>
      <tr><td class="org">Trichrome (Masson's)</td><td>Trichrome dye combination</td><td>Microsporidia (modified Weber trichrome); Entamoeba cysts</td><td>Microsporidia: pink/red spores with diagonal stripe; 4-nuclei cysts of Entamoeba</td></tr>
      <tr><td class="org">Kinyoun's Stain</td><td>Cold ZN modification; no heat step</td><td>AFB; same as ZN but no Bunsen burner required</td><td>Same as ZN: red AFB on blue background; convenient for field</td></tr>
      <tr><td class="org">Auramine-Rhodamine</td><td>Fluorescent acid-fast stain; binds mycolic acid</td><td>Screening for Mycobacteria (sputum smear); faster than ZN</td><td>Fluorescent yellow-orange rods under UV; confirm positives with ZN</td></tr>
    </table>
  </div>
</div>

<!-- ══ ROW 2: CULTURE MEDIA COMPREHENSIVE + SEROLOGY ══ -->
<div class="r2">

  <!-- CULTURE MEDIA COMPLETE -->
  <div class="panel">
    <div class="ph" style="background:#2E7D32;">🧫 Culture Media – Complete Classification &amp; Organism Linkage</div>
    <div style="padding:4px 8px;font-size:9px;font-weight:800;color:#1B5E20;border-bottom:1px solid #eee;background:#F1F8E9;">NON-SELECTIVE (Support growth of most organisms)</div>
    <table class="gtab">
      <tr><th style="background:#E8F5E9;color:#2E7D32;">Medium</th><th style="background:#E8F5E9;color:#2E7D32;">Composition Key</th><th style="background:#E8F5E9;color:#2E7D32;">Organisms / Use</th><th style="background:#E8F5E9;color:#2E7D32;">Special Feature</th></tr>
      <tr><td class="org">Blood Agar (BA)</td><td>5% sheep blood + nutrient agar</td><td>Streptococci, Staph, most bacteria</td><td>Hemolysis pattern: α (green), β (clear), γ (no lysis); chocolate agar = heated BA</td></tr>
      <tr><td class="org">Chocolate Agar</td><td>Heated blood → releases X (hemin) + V (NAD) factors</td><td>H. influenzae (requires X+V), N. gonorrhoeae</td><td>Brown color from heated RBCs; "chocolate" appearance; grows fastidious organisms</td></tr>
      <tr><td class="org">Nutrient Broth/Agar</td><td>Peptone + beef extract</td><td>Non-fastidious bacteria; general enrichment</td><td>Simplest medium; no blood or special factors</td></tr>
    </table>
    <div style="padding:4px 8px;font-size:9px;font-weight:800;color:#1565C0;border-bottom:1px solid #eee;background:#E3F2FD;margin-top:3px;">SELECTIVE MEDIA (Inhibit some organisms to isolate target)</div>
    <table class="gtab">
      <tr><td class="org">MacConkey Agar</td><td>Bile salts + crystal violet (inhibit GP); neutral red (pH indicator)</td><td>GN Enterobacteriaceae; UTI screening</td><td>Lactose fermenters = pink/red colonies; non-fermenters = colorless (Salmonella, Shigella, Proteus)</td></tr>
      <tr><td class="org">Thayer-Martin (VCN)</td><td>Chocolate agar + Vancomycin + Colistin + Nystatin</td><td>Neisseria gonorrhoeae &amp; meningitidis</td><td>Antibiotics eliminate normal flora; oxidase +ve diplococci on VCN = Neisseria; Modified New York City medium also used</td></tr>
      <tr><td class="org">Mannitol Salt Agar (MSA)</td><td>7.5% NaCl (selective for Staph) + mannitol + phenol red</td><td>Staphylococci (selective); S. aureus (differential)</td><td>S. aureus: ferments mannitol → yellow colonies; S. epidermidis: pink colonies (no mannitol)</td></tr>
      <tr><td class="org">Salmonella-Shigella Agar (SS)</td><td>Bile salts + sodium citrate + neutral red + thiosulfate</td><td>Salmonella (black H₂S+ centers), Shigella (colorless)</td><td>Highly selective; inhibits coliforms; H₂S = black colonies (Salmonella); Shigella = colorless</td></tr>
      <tr><td class="org">TCBS (Thiosulfate Citrate Bile Sucrose)</td><td>High pH (8.6), bile salts, sodium thiosulfate</td><td>Vibrio cholerae (yellow - sucrose +ve); V. parahaemo (blue-green - sucrose -ve)</td><td>V. cholerae grows as large yellow colonies; alkaline pH favors Vibrio</td></tr>
      <tr><td class="org">Bordet-Gengou</td><td>Potato-glycerol-blood agar; penicillin added</td><td>Bordetella pertussis (whooping cough)</td><td>"Mercury drop" colonies; pearlescent; β-hemolysis; per-nasal calcium alginate swab</td></tr>
      <tr><td class="org">BCYE (Buffered Charcoal YE)</td><td>Charcoal (absorbs toxic metabolites) + cysteine + iron + yeast extract</td><td>Legionella pneumophila; Histoplasma, Francisella</td><td>Cannot grow on ordinary media; L-cysteine is essential; colonies at 3-5d (dark gray); yeast extract supports growth</td></tr>
    </table>
    <div style="padding:4px 8px;font-size:9px;font-weight:800;color:#E65100;border-bottom:1px solid #eee;background:#FBE9E7;margin-top:3px;">DIFFERENTIAL MEDIA (Distinguish between organisms)</div>
    <table class="gtab">
      <tr><td class="org">Lowenstein-Jensen (LJ)</td><td>Inspissated egg (coagulated) + malachite green + glycerol</td><td>Mycobacterium tuberculosis (eugonic), M. bovis (dysgonic)</td><td>Rough buff/cream colonies at 6-8 wks; malachite green inhibits non-mycobacteria; M. bovis needs pyruvate</td></tr>
      <tr><td class="org">Tellurite Medium (Hoyle's/Tinsdale)</td><td>Blood + potassium tellurite</td><td>Corynebacterium diphtheriae</td><td>C. diphtheriae reduces tellurite → grey/black colonies with brown halo (Tinsdale); biotype gravis (flat), mitis (smooth), intermedius</td></tr>
      <tr><td class="org">Xylose Lysine Deoxycholate (XLD)</td><td>Bile deoxycholate + xylose + lysine + thiosulfate + phenol red</td><td>Salmonella (pink/red with black H₂S center); Shigella (red, no H₂S)</td><td>Preferred over SS agar by some labs; Shigella = red without black center; Salmonella = pink with black</td></tr>
      <tr><td class="org">Skirrow's (Campy-BAP)</td><td>Blood + Vancomycin + Trimethoprim + Polymyxin; 42°C microaerophilic</td><td>Campylobacter jejuni (MC); C. coli</td><td>Incubate at 42°C in 5-10% O₂; seagull-wing morphology on Gram stain; oxidase +ve</td></tr>
      <tr><td class="org">PPLO / Hayflick Medium</td><td>Horse serum + yeast extract + penicillin (inhibits bacteria)</td><td>Mycoplasma pneumoniae ("fried egg" colonies)</td><td>Obligate requirement for cholesterol; colonies bury into agar; "fried egg" appearance at center</td></tr>
      <tr><td class="org">Castañeda Biphasic</td><td>Solid (tryptose agar) + liquid (tryptose broth) phases</td><td>Brucella spp. (slow grower, 4-6 wks)</td><td>Tilt bottle to flood solid phase; reduces handling (aerosol risk); CO₂ incubation for B. abortus</td></tr>
      <tr><td class="org">Sabouraud Dextrose Agar (SDA)</td><td>Glucose (2-4%) + peptone; low pH 5.6; chloramphenicol + gentamicin</td><td>All fungi; universal fungal medium</td><td>Low pH inhibits bacteria; antibiotics added to prevent bacterial contamination; incubate 25-30°C (fungi)</td></tr>
    </table>
    <div style="padding:4px 8px;font-size:9px;font-weight:800;color:#6A1B9A;border-bottom:1px solid #eee;background:#EDE7F6;margin-top:3px;">ENRICHMENT BROTHS (Increase yield of target before plating)</div>
    <table class="gtab">
      <tr><td class="org">Selenite F Broth</td><td>Sodium selenite (inhibits coliforms)</td><td>Salmonella &amp; Shigella from stool; subculture to SS/XLD after 6-12h</td><td>Plating after &gt;24h reduces yield (Salmonella overgrown)</td></tr>
      <tr><td class="org">Alkaline Peptone Water</td><td>pH 8.4-9.0; simple peptone broth</td><td>Vibrio cholerae enrichment from stool</td><td>Alkaline pH selects Vibrio; subculture to TCBS after 6h incubation</td></tr>
      <tr><td class="org">Thioglycollate Broth</td><td>Sodium thioglycollate (reduces O₂); supports anaerobes</td><td>Anaerobes; mixed cultures; blood cultures</td><td>Organisms grow at bottom (anaerobes), middle (facultatives), top (aerobes)</td></tr>
    </table>
  </div>

  <!-- SEROLOGY + MOLECULAR METHODS -->
  <div style="display:flex;flex-direction:column;gap:6px;">

    <!-- SEROLOGY -->
    <div class="panel">
      <div class="ph" style="background:#6A1B9A;">🔬 Serological Tests – Principles &amp; Applications</div>
      <div class="sero-row" style="background:#EDE7F6;font-weight:800;font-size:9.5px;"><span class="sero-test">Test Type</span><span class="sero-mech">Principle</span><span class="sero-eg">Examples</span></div>
      <div class="sero-row"><span class="sero-test">ELISA (EIA)</span><span class="sero-mech">Enzyme-linked Ab detects Ag or Ab; colorimetric; automated; high throughput; screening test</span><span class="sero-eg">HIV (screen), HBsAg, HCV Ab, Dengue NS1, Toxoplasma IgM, HSV IgG, CMV</span></div>
      <div class="sero-row"><span class="sero-test">Western Blot</span><span class="sero-mech">SDS-PAGE separates proteins by size → transfer to membrane → detect specific bands; confirmatory</span><span class="sero-eg">HIV confirmation (gp120, gp41, p24 bands); Lyme disease (Borrelia); HSV-2 confirm</span></div>
      <div class="sero-row"><span class="sero-test">VDRL / RPR</span><span class="sero-mech">Flocculation test; non-treponemal; reagin Ab (cardiolipin + lecithin + cholesterol Ag); screening</span><span class="sero-eg">Syphilis screening; titres follow treatment response; false +ve in SLE, malaria, TB, pregnancy</span></div>
      <div class="sero-row"><span class="sero-test">TPHA / FTA-ABS</span><span class="sero-mech">Treponemal tests; specific T. pallidum Ag; confirmatory; remain +ve lifelong</span><span class="sero-eg">Confirm syphilis after VDRL +ve; FTA-ABS = first to become +ve (primary syphilis)</span></div>
      <div class="sero-row"><span class="sero-test">Widal Test</span><span class="sero-mech">Tube agglutination; detects Ab vs Salmonella O (somatic) &amp; H (flagellar) Ag</span><span class="sero-eg">Typhoid (screening); significant titre: O &gt;1:80, H &gt;1:160; cross-reactions common; NOT gold std</span></div>
      <div class="sero-row"><span class="sero-test">Weil-Felix Test</span><span class="sero-mech">Cross-reacting Ab between Rickettsia and Proteus OX strains (heterophile Ag)</span><span class="sero-eg">Epidemic typhus: OX19 +++; RMSF: OX2 + OX19; Scrub typhus: OXK only; Q fever: NEGATIVE</span></div>
      <div class="sero-row"><span class="sero-test">Complement Fixation (CF)</span><span class="sero-mech">Ag-Ab complex fixes complement → no hemolysis; semi-quantitative; older method</span><span class="sero-eg">Coccidioidomycosis (IgG-CF indicates dissemination); chlamydial LGV; influenza; Mycoplasma (cold agglutinins)</span></div>
      <div class="sero-row"><span class="sero-test">Latex Agglutination</span><span class="sero-mech">Ab-coated latex beads + Ag → agglutination; rapid; qualitative/semi-quantitative</span><span class="sero-eg">Cryptococcal Ag (CSF/serum); GBS (rapid ID); Meningococcal Ag; Strep pneumoniae Ag (urine)</span></div>
      <div class="sero-row"><span class="sero-test">Hemagglutination (HA)</span><span class="sero-mech">Ag or Ab coated RBCs + test sample → agglutination pattern</span><span class="sero-eg">Influenza HA (viral Ag); HBsAg (passive HA); Monospot (EBV heterophile Abs agglutinate horse RBCs)</span></div>
      <div class="sero-row"><span class="sero-test">Immunofluorescence (IF)</span><span class="sero-mech">Fluorescent Ab binds Ag → visualized under UV microscope; Direct (DFA) or Indirect (IFA)</span><span class="sero-eg">Rabies (DFA brain tissue = gold std); Chlamydia DFA; ANA (IFA for SLE); Legionella urine DFA; FTA-ABS (IFA)</span></div>
      <div class="sero-row"><span class="sero-test">Sabin-Feldman Dye Test</span><span class="sero-mech">Toxoplasma gondii tachyzoites + test serum → specific Ab blocks methylene blue uptake → clear cells</span><span class="sero-eg">Gold std for Toxoplasma diagnosis; live organisms needed; replaced by ELISA/PCR in practice</span></div>
      <div class="sero-row"><span class="sero-test">Paul-Bunnell / Monospot</span><span class="sero-mech">Heterophile Ab (IgM) in EBV mononucleosis agglutinate sheep/horse RBCs; rapid slide test</span><span class="sero-eg">EBV infectious mononucleosis; false -ve: children &lt;4 yrs, early disease; VCA IgM more sensitive</span></div>
      <div class="sero-row"><span class="sero-test">CLO / Urease Test</span><span class="sero-mech">H. pylori urease converts urea → ammonia + CO₂ → pH change → color change</span><span class="sero-eg">H. pylori rapid urease test on gastric biopsy; ¹³C-UBT (urea breath test) = non-invasive gold std for active infection</span></div>
      <div class="sero-row"><span class="sero-test">Tuberculin (Mantoux/TST)</span><span class="sero-mech">Type IV DTH; PPD (purified protein derivative) injected ID → induration at 48-72h</span><span class="sero-eg">TB screening; ≥10mm positive (general); ≥5mm if HIV/immunocomp; BCG vaccinated: use IGRA instead</span></div>
      <div class="sero-row"><span class="sero-test">IGRA (QuantiFERON-TB Gold)</span><span class="sero-mech">Whole blood IFN-γ release when stimulated with ESAT-6 + CFP-10 (TB-specific Ag); in-vitro DTH</span><span class="sero-eg">LTBI screening; NOT affected by BCG vaccination (ESAT-6 absent in BCG); preferred in BCG-vaccinated countries</span></div>
    </div>

    <!-- MOLECULAR METHODS -->
    <div class="panel">
      <div class="ph" style="background:#00695C;">🧬 Molecular Diagnostic Methods</div>
      <div class="mol-card" style="background:#E0F2F1;border-color:#00695C;">
        <div class="mol-title" style="color:#00695C;">PCR (Polymerase Chain Reaction) – Workhorse of Molecular Diagnostics</div>
        <div class="mol-body">Amplifies specific DNA/RNA sequences exponentially (3 steps: denature 95°C → anneal 50-65°C → extend 72°C) | <b>Sensitivity: ~100%; Specificity: ~100%</b> | Types: Conventional PCR (gel), Real-time/Quantitative PCR (qPCR; Ct value – lower = more copies), Nested PCR (2 rounds, most sensitive), Multiplex PCR (multiple targets simultaneously), RT-PCR (for RNA viruses: HIV viral load, HCV, SARS-CoV-2) | Applications: HIV viral load, HCV genotyping, TB rapid (Xpert MTB/RIF), CSF HSV encephalitis, Dengue, STI (Chlamydia/Gonorrhea NAAT), C. difficile</div>
      </div>
      <div class="mol-card" style="background:#E8F5E9;border-color:#2E7D32;">
        <div class="mol-title" style="color:#2E7D32;">Xpert MTB/RIF (GeneXpert) – NEET PG High Yield!</div>
        <div class="mol-body">Cartridge-based real-time PCR; detects M. tuberculosis AND rifampicin resistance (rpoB gene mutations) simultaneously in 2 hours | WHO endorsed for smear-negative TB, TB/HIV, pediatric TB | Sputum: 1 sample (vs 3 for ZN smear) | Does NOT replace culture (cannot test full DST) | Ultra version more sensitive | India: rolled out under RNTCP/NTEP nationally | Sensitivity: 88% (smear-neg TB: 67%); Specificity: 99%</div>
      </div>
      <div class="mol-card" style="background:#E3F2FD;border-color:#1565C0;">
        <div class="mol-title" style="color:#1565C0;">NAAT (Nucleic Acid Amplification Test)</div>
        <div class="mol-body">Umbrella term for PCR, LAMP, TMA, SDA | <b>Gold std for Chlamydia trachomatis &amp; N. gonorrhoeae</b> (superior to culture; urine/genital swab acceptable) | First-void urine preferred for Chlamydia NAAT | Sensitivity &gt;95% vs culture ~50-80% | TMA (transcription-mediated amplification): isothermal; used for Chlamydia, HIV-1 RNA, HCV RNA</div>
      </div>
      <div class="mol-card" style="background:#FFF3E0;border-color:#E65100;">
        <div class="mol-title" style="color:#E65100;">Line Probe Assay (LPA / GenoType MTBDRplus)</div>
        <div class="mol-body">DNA strip-based hybridization; detects MTB + rifampicin resistance (rpoB) + isoniazid resistance (katG, inhA) directly from sputum | Results in 1 day vs 6-8 wks culture | First-line MDR-TB screening in high-burden countries | Approved by WHO; used in RNTCP India</div>
      </div>
      <div class="mol-card" style="background:#F3E5F5;border-color:#7B1FA2;">
        <div class="mol-title" style="color:#7B1FA2;">MALDI-TOF MS (Matrix-Assisted Laser Desorption/Ionization)</div>
        <div class="mol-body">Identifies organisms by protein mass spectra (fingerprint); replaces biochemical panels in modern labs | Fast (minutes); accurate; cost-effective for high volume | Identifies bacteria, fungi, mycobacteria | Required for C. auris identification (misidentified by conventional API methods) | Cannot detect resistance directly</div>
      </div>
      <div class="mol-card" style="background:#FCE4EC;border-color:#C62828;">
        <div class="mol-title" style="color:#C62828;">WGS (Whole Genome Sequencing) &amp; Metagenomics</div>
        <div class="mol-body">WGS: complete genome; tracks outbreaks (C. auris, MRSA, Salmonella clusters); full resistance profiling | Metagenomics (mNGS): sequences ALL DNA in sample; identifies unknown/rare pathogens; used in encephalitis of unknown etiology; expensive | 16S rRNA sequencing: identifies bacteria from culture-negative samples</div>
      </div>
    </div>
  </div>
</div>

<!-- ══ ROW 3: AST METHODS + SENSITIVITY/SPECIFICITY ══ -->
<div class="r2">

  <!-- AST COMPLETE -->
  <div class="panel">
    <div class="ph" style="background:#BF360C;">💊 Antibiotic Susceptibility Testing (AST) – Complete Guide</div>

    <!-- Disk Diffusion Visual -->
    <div class="ast-visual">
      <div style="font-size:10px;font-weight:800;color:#BF360C;margin-bottom:4px;">KIRBY-BAUER DISK DIFFUSION – Principle &amp; Interpretation</div>
      <div style="background:#f9f9f9;border:1px solid #ddd;border-radius:6px;padding:6px 10px;margin-bottom:6px;">
        <div style="font-size:9px;color:#333;line-height:1.6;">
          <b>Principle:</b> Antibiotic-impregnated paper disks placed on Mueller-Hinton agar (MHA) inoculated with standardized bacterial suspension (0.5 McFarland = ~1.5 × 10⁸ CFU/mL) → Antibiotic diffuses outward → Zone of inhibition (ZOI) measured after 16-18h at 35°C<br>
          <b>CLSI breakpoints</b> classify organisms as Susceptible (S), Intermediate (I), or Resistant (R) based on ZOI diameter<br>
          <b>Inverse relationship:</b> Larger ZOI = more susceptible | Smaller ZOI = more resistant
        </div>
        <!-- Zone bar visual -->
        <div style="margin-top:6px;">
          <div style="font-size:8.5px;color:#555;margin-bottom:3px;font-weight:700;">Zone Diameter Interpretation (example: Ampicillin vs E. coli):</div>
          <div class="zone-bar">
            <div class="zone-seg zone-r">RESISTANT (&lt;13mm)</div>
            <div class="zone-seg zone-i">INTERMED (14-16mm)</div>
            <div class="zone-seg zone-s">SUSCEPTIBLE (&gt;17mm)</div>
          </div>
          <div style="display:flex;font-size:8px;color:#555;margin-top:2px;">
            <div style="flex:1.2;text-align:center;">↑ Resistant: Use alternative drug</div>
            <div style="flex:0.8;text-align:center;">↑ I: Use higher dose or different site</div>
            <div style="flex:2;text-align:center;">↑ Susceptible: Drug will likely work at standard dose</div>
          </div>
        </div>
      </div>

      <div style="font-size:10px;font-weight:800;color:#1565C0;margin-bottom:4px;">BROTH MICRODILUTION (MIC Determination – Gold Standard)</div>
      <table class="gtab" style="margin-bottom:6px;">
        <tr><th style="background:#E3F2FD;color:#1565C0;">Parameter</th><th style="background:#E3F2FD;color:#1565C0;">Definition</th><th style="background:#E3F2FD;color:#1565C0;">Clinical Significance</th></tr>
        <tr><td class="org">MIC</td><td>Minimum Inhibitory Concentration: lowest conc. of antibiotic that prevents visible growth after 18-24h</td><td>Susceptible: MIC ≤ breakpoint; Resistant: MIC &gt; breakpoint; guides dose selection</td></tr>
        <tr><td class="org">MBC</td><td>Minimum Bactericidal Concentration: lowest conc. that kills ≥99.9% (3-log reduction) of organisms</td><td>MBC/MIC ratio: ≤4 = bactericidal; &gt;4 = bacteriostatic; important in endocarditis/meningitis</td></tr>
        <tr><td class="org">MBEC</td><td>Minimum Biofilm Eradication Concentration: conc. needed to kill biofilm organisms</td><td>Much higher than MIC; clinically relevant for prosthetic valve endocarditis, catheter infections</td></tr>
        <tr><td class="org">PAE</td><td>Post-Antibiotic Effect: persistent inhibition after drug removed; organisms remain suppressed</td><td>Aminoglycosides + fluoroquinolones: long PAE → once-daily dosing strategy (e.g., gentamicin OD dosing)</td></tr>
        <tr><td class="org">PK/PD Indices</td><td>Time &gt; MIC (Time-dependent: β-lactams, vancomycin) | AUC/MIC (Conc-dependent: aminoglycosides, FQ) | Cmax/MIC (Aminoglycosides)</td><td>β-lactams: maximize time above MIC (continuous infusion); Aminoglycosides: maximize peak (OD dosing)</td></tr>
      </table>

      <div style="font-size:10px;font-weight:800;color:#2E7D32;margin-bottom:4px;">E-TEST (Epsilometer Test)</div>
      <div style="background:#E8F5E9;padding:5px 8px;border-radius:4px;font-size:9px;color:#333;margin-bottom:6px;line-height:1.5;">Plastic strip with continuous gradient of antibiotic (exponential dilutions) placed on MHA inoculated plate → Elliptical ZOI forms → MIC read at intersection of inhibition ellipse and strip scale | Advantages: combines disk diffusion convenience + MIC accuracy | Used for: S. pneumoniae (penicillin MIC), H. influenzae, anaerobes, difficult organisms | More expensive than disk diffusion</div>

      <div style="font-size:10px;font-weight:800;color:#6A1B9A;margin-bottom:4px;">AUTOMATED SUSCEPTIBILITY TESTING SYSTEMS</div>
      <table class="gtab">
        <tr><th style="background:#EDE7F6;color:#4A148C;">System</th><th style="background:#EDE7F6;color:#4A148C;">Method</th><th style="background:#EDE7F6;color:#4A148C;">Turnaround / Features</th></tr>
        <tr><td class="org">VITEK 2</td><td>Colorimetric/turbidimetric; 64-well card with antibiotics; fluorescence detection</td><td>4-10 hours; ID + AST simultaneously; most widely used automated system</td></tr>
        <tr><td class="org">BD Phoenix</td><td>Redox + turbidity; 136-well panel</td><td>8-16 hours; excellent for ESKAPE pathogens; ESBL + carbapenemase detection</td></tr>
        <tr><td class="org">Microscan WalkAway</td><td>Turbidimetric + chromogenic; panel format</td><td>16-20 hours; urine culture panels available; ID + MIC in one run</td></tr>
        <tr><td class="org">Sensititre (Trek)</td><td>Fluorescence-based; freeze-dried antibiotics in microtitre wells</td><td>16-20 hours; excellent for fastidious organisms; manual or automated reader</td></tr>
      </table>
    </div>
  </div>

  <!-- SENSITIVITY / SPECIFICITY + RESISTANCE MECHANISMS -->
  <div style="display:flex;flex-direction:column;gap:6px;">

    <!-- Sensitivity/Specificity -->
    <div class="panel">
      <div class="ph" style="background:#37474F;">📊 Sensitivity, Specificity &amp; Predictive Values</div>
      <div class="ss-grid">
        <div class="ss-card" style="border-color:#2E7D32;background:#E8F5E9;">
          <div class="ss-title" style="color:#2E7D32;">Sensitivity (True Positive Rate)</div>
          <div class="ss-formula">Sensitivity = TP / (TP + FN) × 100</div>
          <div class="ss-note"><b>= Ability to detect true positives (diseased people)</b><br>High sensitivity → few false negatives<br>Used for <b>SCREENING</b> tests (don't miss the disease!)<br>Sensitive test: NEGATIVE result rules OUT disease<br>Mnemonic: <b>SnNout</b> – Sensitive test Negative = rule OUT</div>
        </div>
        <div class="ss-card" style="border-color:#1565C0;background:#E3F2FD;">
          <div class="ss-title" style="color:#1565C0;">Specificity (True Negative Rate)</div>
          <div class="ss-formula">Specificity = TN / (TN + FP) × 100</div>
          <div class="ss-note"><b>= Ability to correctly identify true negatives (healthy)</b><br>High specificity → few false positives<br>Used for <b>CONFIRMATORY</b> tests (avoid false +ve labels!)<br>Specific test: POSITIVE result rules IN disease<br>Mnemonic: <b>SpPin</b> – Specific test Positive = rule IN</div>
        </div>
        <div class="ss-card" style="border-color:#E65100;background:#FFF3E0;">
          <div class="ss-title" style="color:#E65100;">PPV (Positive Predictive Value)</div>
          <div class="ss-formula">PPV = TP / (TP + FP) × 100</div>
          <div class="ss-note"><b>= If test is +ve, probability person truly has disease</b><br>↑ Prevalence → ↑ PPV (even with same sensitivity/specificity)<br>Low prevalence setting → low PPV (many false positives)<br>Critical when deciding to treat based on a positive test</div>
        </div>
        <div class="ss-card" style="border-color:#6A1B9A;background:#F3E5F5;">
          <div class="ss-title" style="color:#6A1B9A;">NPV (Negative Predictive Value)</div>
          <div class="ss-formula">NPV = TN / (TN + FN) × 100</div>
          <div class="ss-note"><b>= If test is –ve, probability person is truly disease-free</b><br>↑ Prevalence → ↓ NPV<br>High prevalence → negative test less reassuring<br>Critical when ruling out disease in a population</div>
        </div>
      </div>
      <!-- 2×2 Table -->
      <div style="padding:4px 10px 8px;">
        <div style="font-size:9.5px;font-weight:800;color:#37474F;margin-bottom:4px;">2×2 CONTINGENCY TABLE</div>
        <table style="width:100%;border-collapse:collapse;font-size:9px;">
          <tr>
            <td style="padding:4px 8px;border:2px solid #ddd;background:#ECEFF1;font-weight:700;" colspan="2" rowspan="2"></td>
            <td style="padding:4px 8px;border:2px solid #ddd;background:#C8E6C9;font-weight:800;text-align:center;color:#1B5E20;" colspan="2">DISEASE STATUS</td>
          </tr>
          <tr>
            <td style="padding:4px 8px;border:2px solid #ddd;background:#E8F5E9;font-weight:700;text-align:center;">Disease +ve</td>
            <td style="padding:4px 8px;border:2px solid #ddd;background:#E8F5E9;font-weight:700;text-align:center;">Disease –ve</td>
          </tr>
          <tr>
            <td style="padding:4px 8px;border:2px solid #ddd;background:#BBDEFB;font-weight:800;color:#1565C0;writing-mode:vertical-rl;text-align:center;vertical-align:middle;" rowspan="2">TEST</td>
            <td style="padding:4px 8px;border:2px solid #ddd;background:#E3F2FD;font-weight:700;">Test +ve</td>
            <td style="padding:6px 8px;border:2px solid #ddd;background:#E8F5E9;text-align:center;font-weight:800;color:#2E7D32;">TP (True +ve)</td>
            <td style="padding:6px 8px;border:2px solid #ddd;background:#FFEBEE;text-align:center;font-weight:800;color:#C62828;">FP (False +ve)<br><span style="font-size:7.5px;font-weight:400;">Type I Error</span></td>
          </tr>
          <tr>
            <td style="padding:4px 8px;border:2px solid #ddd;background:#E3F2FD;font-weight:700;">Test –ve</td>
            <td style="padding:6px 8px;border:2px solid #ddd;background:#FFEBEE;text-align:center;font-weight:800;color:#C62828;">FN (False –ve)<br><span style="font-size:7.5px;font-weight:400;">Type II Error (Miss)</span></td>
            <td style="padding:6px 8px;border:2px solid #ddd;background:#E8F5E9;text-align:center;font-weight:800;color:#2E7D32;">TN (True –ve)</td>
          </tr>
        </table>
        <div style="display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;">
          <div style="background:#E8F5E9;border:1px solid #A5D6A7;border-radius:4px;padding:3px 7px;font-size:8.5px;"><b>Sensitivity</b> = TP/(TP+FN)</div>
          <div style="background:#E3F2FD;border:1px solid #90CAF9;border-radius:4px;padding:3px 7px;font-size:8.5px;"><b>Specificity</b> = TN/(TN+FP)</div>
          <div style="background:#FFF3E0;border:1px solid #FFE082;border-radius:4px;padding:3px 7px;font-size:8.5px;"><b>PPV</b> = TP/(TP+FP)</div>
          <div style="background:#F3E5F5;border:1px solid #CE93D8;border-radius:4px;padding:3px 7px;font-size:8.5px;"><b>NPV</b> = TN/(TN+FN)</div>
          <div style="background:#FCE4EC;border:1px solid #F48FB1;border-radius:4px;padding:3px 7px;font-size:8.5px;"><b>Accuracy</b> = (TP+TN)/Total</div>
          <div style="background:#FFF9C4;border:1px solid #FFE082;border-radius:4px;padding:3px 7px;font-size:8.5px;"><b>LR+</b> = Sensitivity/(1–Spec)</div>
        </div>
      </div>
    </div>

    <!-- Resistance Mechanisms (additional AST context) -->
    <div class="panel">
      <div class="ph" style="background:#C62828;">🔴 Key Resistance Mechanisms &amp; Detection Methods</div>
      <div style="padding:6px 8px;">
        <div class="res-card" style="border-color:#C62828;">
          <div class="res-title" style="color:#C62828;">ESBL (Extended Spectrum β-Lactamase)</div>
          <div class="res-body">CTX-M (MC worldwide), TEM, SHV enzymes; plasmid-mediated; Klebsiella pneumoniae, E. coli | Detects: <b>Combined disk test</b> (cefotaxime ± clavulanic acid; ≥5mm increase = ESBL +ve); phenotypic | Treatment: Carbapenems (imipenem/meropenem) | Screen for in all GN isolates</div>
        </div>
        <div class="res-card" style="border-color:#6A1B9A;">
          <div class="res-title" style="color:#6A1B9A;">Carbapenemase (CRE / CPE)</div>
          <div class="res-body">KPC (K. pneumoniae carbapenemase); NDM-1 (New Delhi metallo-β-lactamase); OXA-48; VIM, IMP | Detection: <b>Modified Hodge Test (MHT)</b> (clover-leaf indentation); <b>Carba NP test</b> (colorimetric, rapid); mCIM/eCIM test; PCR for gene typing | Treatment: Ceftazidime-avibactam, Colistin, Aztreonam-avibactam; often XDR/PDR</div>
        </div>
        <div class="res-card" style="border-color:#FF8F00;">
          <div class="res-title" style="color:#E65100;">MRSA (Methicillin-Resistant S. aureus)</div>
          <div class="res-body">mecA gene → encodes PBP2a (low affinity for all β-lactams) | Detection: <b>Cefoxitin disk (30 µg)</b> surrogate for mecA; zone ≤21mm = MRSA; MIC ≥4 µg/mL oxacillin = MRSA; ChromID MRSA agar; PCR for mecA | CA-MRSA: USA300 clone; PVL +ve; skin/soft tissue; LA-MRSA: livestock (mecC gene)</div>
        </div>
        <div class="res-card" style="border-color:#1565C0;">
          <div class="res-title" style="color:#1565C0;">VRE (Vancomycin-Resistant Enterococcus)</div>
          <div class="res-body">vanA (high-level; transfers to S. aureus → VRSA) or vanB gene; D-Ala-D-Lac substitution | Detection: BHI agar with 6 µg/mL vancomycin (screen); MIC ≥32 µg/mL = resistant; PCR vanA/vanB | E. faecium (MC VRE); Treatment: Linezolid (oral = IV), Daptomycin, Tigecycline</div>
        </div>
        <div class="res-card" style="border-color:#2E7D32;">
          <div class="res-title" style="color:#2E7D32;">MDR-TB / XDR-TB Drug Resistance Testing</div>
          <div class="res-body">MDR-TB: resistant to Isoniazid + Rifampicin | Pre-XDR-TB: MDR + any fluoroquinolone | XDR-TB: Pre-XDR + bedaquiline or linezolid | Detection: <b>LPA (Line Probe Assay)</b> – rpoB (RIF), katG/inhA (INH), direct from sputum, 1 day | Culture-based DST: 6-8 weeks (MGIT 960 liquid culture: 2-3 wks) | Xpert Ultra detects RIF resistance only | Sequencing: full resistance profile</div>
        </div>
      </div>
    </div>
  </div>
</div>

<!-- ══ ROW 4: HY FACTS + KEY PRINCIPLES + PEARL ROW ══ -->
<div class="r3">

  <!-- HY FACTS -->
  <div class="panel">
    <div class="ph" style="background:#4A148C;">★ High Yield Lab Diagnostics Facts</div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text">Gold standard antibiotic susceptibility test: <b>Broth microdilution (MIC determination)</b>; Kirby-Bauer = most used routine method</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>Mueller-Hinton Agar (MHA)</b>: Standard medium for Kirby-Bauer disk diffusion; low in sulfonamide antagonists; pH 7.2-7.4; Ca²⁺/Mg²⁺ supplemented for aminoglycosides</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>McFarland 0.5 standard</b>: ~1.5 × 10⁸ CFU/mL; standard inoculum for disk diffusion and MIC; compared to BaSO₄ turbidity standard</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>Sensitivity test rule</b>: SnNout – Sensitive test Negative = rule out (screening); SpPin – Specific test Positive = rule in (confirm)</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>VDRL false positives</b>: SLE, malaria, pregnancy, infectious mononucleosis, TB, leprosy, hepatitis, antiphospholipid syndrome ("SMITE PL")</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>Q fever (Coxiella burnetii)</b>: ONLY Rickettsia with NEGATIVE Weil-Felix test (no cross-reaction with Proteus OX strains)</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>Transport media</b>: Cary-Blair = gold std stool transport for enteric pathogens; Stuart's/Amies = bacterial swabs; EMJH = Leptospira culture; VTM = viruses</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>Significant bacteriuria</b>: ≥10⁵ CFU/mL (MSU, clean-catch); ≥10³ (catheter); ANY growth (suprapubic aspirate) = significant</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>Cefoxitin disk surrogate</b>: Used to detect MRSA (mecA); ≤21mm ZOI = MRSA; more reliable than oxacillin disk for Staph</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>IGRA vs TST</b>: IGRA not affected by BCG vaccination or environmental NTM; preferred in BCG-vaccinated adults; both detect LTBI (not active TB)</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>Sputum adequacy</b>: Accept if &gt;25 PMN and &lt;10 squamous epithelial cells per low-power field; otherwise represents saliva, not lower respiratory</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>Xpert MTB/RIF (GeneXpert)</b>: WHO endorsed; 2-hour result; detects TB + RIF resistance simultaneously; single sputum sample</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>Rabies diagnosis gold standard</b>: DFA (Direct Fluorescent Antibody) on brain tissue (hippocampus/cerebellum); Negri bodies on H&amp;E = classic but less sensitive</span></div>
    <div class="hy-item"><span class="hy-star" style="color:#4A148C;">★</span><span class="hy-text"><b>Time-dependent antibiotics</b> (maximize time &gt; MIC): β-lactams, vancomycin → continuous or prolonged infusion | <b>Concentration-dependent</b> (maximize Cmax/AUC): aminoglycosides, fluoroquinolones → once-daily high-dose</span></div>
  </div>

  <!-- KEY PRINCIPLES ACRONYM -->
  <div class="panel">
    <div class="ph" style="background:#BF360C;">🧠 KEY PRINCIPLES – LAB DIAGNOSTICS (Remember!)</div>
    <div class="kp-row"><div class="kp-letter" style="background:#C62828;">S</div><div class="kp-text">Specimen quality determines result quality – wrong specimen = wrong answer (GIGO: garbage in, garbage out)</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#E65100;">C</div><div class="kp-text">Collect before antibiotics wherever possible – antibiotics inhibit culture; PCR is more tolerant to prior antibiotic exposure</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#2E7D32;">R</div><div class="kp-text">Right transport medium, right temperature, right time – do NOT refrigerate CSF; send gonococcal culture warm immediately</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#1565C0;">E</div><div class="kp-text">Each test has sensitivity AND specificity limitations – screening test: high sensitivity; confirmatory: high specificity</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#6A1B9A;">E</div><div class="kp-text">E-test and broth microdilution give MIC; disk diffusion gives zone sizes converted to S/I/R by CLSI breakpoints</div></div>
    <div class="kp-row"><div class="kp-letter" style="background:#AD1457;">N</div><div class="kp-text">NAAT (PCR) is the gold standard for Chlamydia/Gonorrhea – superior to culture in sensitivity and ease of specimen (urine acceptable)</div></div>
    <div style="margin:6px 8px 0;">
      <div class="mnem-box">
        <div class="mnem-title">🧠 LAB DIAGNOSTICS MNEMONICS (Exam Savers)</div>
        <div class="mnem-item"><b>SnNout &amp; SpPin:</b> Sensitive test Negative = rules OUT; Specific test Positive = rules IN</div>
        <div class="mnem-item"><b>VDRL false +ve = "SMITE PL":</b> SLE, Malaria, Infectious mono, TB, Endocarditis, Pregnancy, Leprosy</div>
        <div class="mnem-item"><b>Weil-Felix pattern:</b> OX19+++ = Epidemic typhus; OX2+OX19 = RMSF; OXK ONLY = Scrub typhus; NEGATIVE = Q fever</div>
        <div class="mnem-item"><b>McFarland 0.5 = "HALF a billion":</b> 0.5 McFarland = ~1.5 × 10⁸ CFU/mL (inoculum standard)</div>
        <div class="mnem-item"><b>Time vs Concentration-dependent ABX:</b> "β-LACK time" → β-lactams time-dependent; "AMIGO" → Aminoglycosides once-daily (concentration-dependent)</div>
        <div class="mnem-item"><b>Culture timing for typhoid:</b> Week 1 = Blood; Weeks 2-3 = Stool + Urine; Widal increases after week 2</div>
        <div class="mnem-item"><b>MDR-TB definition:</b> Resistant to INH + RIF | XDR = MDR + fluoroquinolone + bedaquiline/linezolid (new WHO 2021 definition)</div>
      </div>
    </div>
  </div>

  <!-- PEARL ROW -->
  <div style="display:flex;flex-direction:column;gap:5px;">
    <div class="panel">
      <div class="ph" style="background:#2E7D32;">🥇 Gold Standard Diagnostic Tests – Quick Reference</div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>AST gold standard:</b> Broth microdilution (MIC) per CLSI/EUCAST guidelines</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>Typhoid gold std:</b> Blood culture (week 1); stool/urine culture (weeks 2-3)</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>Syphilis confirm:</b> FTA-ABS or TPHA (treponemal); VDRL/RPR = screening only</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>Chlamydia/Gonorrhea:</b> NAAT (urine or swab); culture on Thayer-Martin for GC</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>TB rapid Dx:</b> Xpert MTB/RIF; smear (ZN) for screening; LJ culture = gold std</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>Rabies diagnosis:</b> DFA on brain tissue (gold std); corneal impression smear</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>H. pylori active infection:</b> ¹³C Urea Breath Test (UBT) or stool Ag test (non-invasive); CLO test (biopsy)</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>MRSA detection:</b> Cefoxitin disk (surrogate); PCR for mecA; chromogenic agar</span></div>
      <div class="hy-item"><span class="hy-star" style="color:#2E7D32;">✓</span><span class="hy-text"><b>ESBL detection:</b> Combined disk test (cefotaxime ± clavulanate); ≥5mm increase = ESBL +ve</span></div>
    </div>

    <div class="pearl-row" style="display:flex;flex-direction:column;gap:5px;">
      <div class="pearl-card pyq-card">
        <div class="pearl-icon">💡</div>
        <div class="pearl-head">PYQ PEARL</div>
        <div class="pearl-body">Stain-organism linkage (ZN, Giemsa, India Ink, Albert's), culture media (LJ, BCYE, MacConkey, TCBS), and transport media are classic PYQ topics. Also learn SnNout/SpPin for MCQ calculation.</div>
      </div>
      <div class="pearl-card inicet-card">
        <div class="pearl-icon">⭐</div>
        <div class="pearl-head">INI-CET PEARL</div>
        <div class="pearl-body">AST terminology (MIC, MBC, PAE, PK/PD indices), resistance detection methods (ESBL combined disk, Cefoxitin for MRSA, Carba NP), and molecular methods (Xpert, LPA, NAAT) are heavily tested in INI-CET.</div>
      </div>
      <div class="pearl-card trap-card">
        <div class="pearl-icon">⚠️</div>
        <div class="pearl-head">EXAM TRAP</div>
        <div class="pearl-body">
          • CSF: NEVER refrigerate (Neisseria dies)<br>
          • Widal is SCREENING, NOT gold standard for typhoid<br>
          • Disk diffusion gives S/I/R, NOT actual MIC value<br>
          • Q fever (Coxiella): Weil-Felix NEGATIVE (unique!)<br>
          • IGRA not affected by BCG (unlike TST/Mantoux)
        </div>
      </div>
      <div class="pearl-card mantra-card">
        <div class="pearl-icon">🔬</div>
        <div class="pearl-head">QUICK REVISION MANTRA</div>
        <div class="pearl-body" style="font-weight:800;color:#BF360C;font-size:10px;margin-top:4px;">
          Specimen → Stain → Culture → Serology → Molecular → Report → Treat<br>
          <span style="font-size:12px;color:#FF7043;">REPEAT!</span>
        </div>
      </div>
    </div>
  </div>
</div>

</div><!-- end bg -->
<div class="footer-bar">★ LAB DIAGNOSTICS MASTERED = COMPLETE MICRO 700+ BOOTCAMP ATLAS – ALL 7 PAGES DONE ★</div>
</body>
</html>
Running Command

chromium --headless --no-sandbox --disable-gpu \ --screenshot=/home/daytona/w…

Page 7 is done. Your complete 7-page atlas is ready:

🔬 Page 7 – Lab Diagnostics & Antibiotic Susceptibility Testing

Individual Page 7:

page7 lab diagnostics

PDF Document · PDF

|

page7 lab diagnostics

Image · PNG

|

page7 lab diagnostics

HTML File · HTML

Complete 7-Page Atlas (Final):

Microbiology Bootcamp Atlas Complete

PDF Document · PDF

— 3.1 MB, all 7 pages

What's on Page 7:

Specimen Collection (11 sites) - Blood culture, CSF (don't refrigerate!), sputum adequacy criteria, stool transport media (Cary-Blair, SAF, PVA), urine CFU thresholds, wound/abscess, genital, throat, eye, skin/nail, bone marrow
Staining Master Table (20 stains) - Gram, ZN, Modified ZN, Fite-Faraco, Albert's, Loeffler's, India ink, Giemsa, Leishman, Wright's, PAS, GMS, Calcofluor white, Mucicarmine, H&E, Warthin-Starry silver, Dark field, Trichrome, Kinyoun's, Auramine-rhodamine
Culture Media (25 media) - Non-selective, selective, differential, enrichment - all with organisms, composition, and distinguishing features
Serological Tests (15 tests) - ELISA, Western blot, VDRL/RPR, TPHA/FTA-ABS, Widal, Weil-Felix (with OX pattern table), complement fixation, latex agglutination, immunofluorescence, Sabin-Feldman, Paul-Bunnell/Monospot, CLO/urease, Mantoux/TST, IGRA
Molecular Methods - PCR types, Xpert MTB/RIF, NAAT, LPA/GenoType, MALDI-TOF, WGS/metagenomics
AST Methods - Kirby-Bauer disk diffusion (with zone bar visual), broth microdilution MIC/MBC/MBEC/PAE/PK-PD, E-test, VITEK 2/BD Phoenix automated systems
Sensitivity/Specificity - Full 2×2 table, SnNout/SpPin, PPV/NPV with prevalence effect explained
Resistance Detection - ESBL (combined disk), Carbapenemase (Carba NP, MHT), MRSA (cefoxitin disk), VRE (vanA/vanB), MDR-TB/XDR-TB (LPA, Xpert, MGIT)

Your Complete Atlas Summary:

PageTopicPages
1Master MapOverview
2Bacteria TaxonomyGram+/Gram−, Atypicals, ABX mechanisms
3VirologyDNA/RNA classification, Hepatitis, Vaccines, Antivirals
4ParasitologyMalaria comparison, Protozoa, Helminths, Vectors
5MycologyCandida/Aspergillus/Crypto/Mucor, Dimorphic fungi, Antifungals
6ImmunologyInnate/Adaptive, Complement, Cytokines, Hypersensitivity, Immunodeficiency
7Lab Diagnostics + ASTStains, Culture, Serology, Molecular, MIC, Resistance
This is a shared conversation. Sign in to Orris to start your own chat.