Create a super aesthetic, handwritten-style revision note page for the topic: Inguinal hernia • Make it look like neet pg exam notes written on a page (top view, clean layout, colorful headings, underlines, boxes). • Keep it crisp, high-yield, and exam-oriented. • Use clear headings and organize content like this (modify if needed for topic): ○ Definition ○ Etiology ○ Types ○ History taking ○ Clinical examination ○ Important clinical points for viva ○ Important clinical questions that can be asked during viva with answers ○ Key points / last-minute revision box • Highlight important keywords. • Include one memory trick / one-line summary • Keep handwriting-style fonts, pastel colors, and clean spacing • Notes should be oriented from Harrison's (International Medicine textbook) • Add 3 tricky questions with answers which I should know about • Add 3 difficult questions for the exercise and 3 difficult MCQ for exercise from this topic

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

ls -la /home/daytona/workspace/ 2>/dev/null || echo "workspace may not exist"

Running Command

mkdir -p /home/daytona/workspace/inguinal-hernia-notes

Writing File

~/inguinal-hernia-notes/inguinal_hernia_notes.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Inguinal Hernia - NEET PG Revision Notes</title>
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Kalam:wght@300;400;700&family=Patrick+Hand&display=swap" rel="stylesheet">
<style>
  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: #f0ece3;
    font-family: 'Kalam', cursive;
    min-height: 100vh;
    padding: 20px;
    background-image:
      radial-gradient(circle at 20% 50%, rgba(255,220,180,0.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(200,220,255,0.15) 0%, transparent 50%);
  }

  .page {
    max-width: 1000px;
    margin: 0 auto;
    background: #fffdf7;
    border-radius: 8px;
    box-shadow: 4px 4px 20px rgba(0,0,0,0.12), 0 0 0 1px #e8e0d0;
    padding: 48px 52px 60px;
    position: relative;
    /* lined paper effect */
    background-image:
      repeating-linear-gradient(
        transparent,
        transparent 31px,
        #e8dfd0 31px,
        #e8dfd0 32px
      );
    background-size: 100% 32px;
    background-position: 0 48px;
  }

  /* Red margin line */
  .page::before {
    content: '';
    position: absolute;
    left: 88px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(220, 100, 100, 0.25);
    border-radius: 1px;
  }

  /* Paper hole punches */
  .hole {
    position: absolute;
    left: -14px;
    width: 28px;
    height: 28px;
    background: #f0ece3;
    border-radius: 50%;
    border: 1px solid #d0c8bc;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  }
  .hole:nth-child(1) { top: 80px; }
  .hole:nth-child(2) { top: 280px; }
  .hole:nth-child(3) { top: 480px; }
  .hole:nth-child(4) { top: 680px; }

  /* ===== HEADER ===== */
  .page-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 14px;
    position: relative;
  }
  .subject-tag {
    display: inline-block;
    background: #ff6b9d;
    color: white;
    font-family: 'Caveat', cursive;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .main-title {
    font-family: 'Caveat', cursive;
    font-size: 46px;
    font-weight: 700;
    color: #2c3e72;
    line-height: 1.1;
    text-decoration: underline;
    text-decoration-color: #ff6b9d;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
  }
  .subtitle {
    font-family: 'Patrick Hand', cursive;
    font-size: 15px;
    color: #888;
    margin-top: 6px;
    letter-spacing: 0.5px;
  }
  .date-tag {
    position: absolute;
    top: 0;
    right: 0;
    font-family: 'Caveat', cursive;
    font-size: 15px;
    color: #aaa;
    transform: rotate(2deg);
  }

  /* ===== MEMORY TRICK BANNER ===== */
  .memory-trick {
    background: linear-gradient(135deg, #fff9c4, #fff3a0);
    border: 2.5px solid #f9c74f;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 28px;
    position: relative;
    transform: rotate(-0.5deg);
  }
  .memory-trick::before {
    content: '💡 MEMORY TRICK';
    font-family: 'Caveat', cursive;
    font-size: 12px;
    font-weight: 700;
    color: #e67e00;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
  }
  .memory-trick p {
    font-family: 'Patrick Hand', cursive;
    font-size: 15.5px;
    color: #5a3e00;
    line-height: 1.5;
  }
  .memory-trick strong {
    color: #c0392b;
    font-weight: 700;
  }

  /* ===== TWO-COLUMN LAYOUT ===== */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
  }
  .three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-bottom: 22px;
  }

  /* ===== SECTION CARDS ===== */
  .card {
    border-radius: 10px;
    padding: 16px 18px 18px;
    position: relative;
    border: 2px solid transparent;
  }
  .card-blue   { background: #e8f4ff; border-color: #90c4f5; }
  .card-pink   { background: #fde8f5; border-color: #f5a3d0; }
  .card-green  { background: #e6f7ee; border-color: #7ecfa4; }
  .card-orange { background: #fff2e6; border-color: #ffb87a; }
  .card-purple { background: #f0e8ff; border-color: #c4a0f0; }
  .card-teal   { background: #e0f7f7; border-color: #6dcfcf; }
  .card-red    { background: #fde8e8; border-color: #f5a0a0; }
  .card-yellow { background: #fffde0; border-color: #e8cc60; }

  .card-title {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 2px dashed rgba(0,0,0,0.12);
  }
  .card-blue   .card-title { color: #1a5fa8; }
  .card-pink   .card-title { color: #b5006e; }
  .card-green  .card-title { color: #1a7a45; }
  .card-orange .card-title { color: #b55a00; }
  .card-purple .card-title { color: #6a28b8; }
  .card-teal   .card-title { color: #0a7a7a; }
  .card-red    .card-title { color: #a00; }
  .card-yellow .card-title { color: #7a6200; }

  .card ul {
    list-style: none;
    padding: 0;
  }
  .card ul li {
    font-family: 'Patrick Hand', cursive;
    font-size: 14.5px;
    color: #333;
    padding: 3px 0 3px 18px;
    position: relative;
    line-height: 1.5;
  }
  .card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #888;
    font-size: 12px;
    top: 5px;
  }
  .card p {
    font-family: 'Patrick Hand', cursive;
    font-size: 14.5px;
    color: #333;
    line-height: 1.6;
  }

  /* ===== HIGHLIGHT CHIPS ===== */
  .hl { background: #ffecb3; padding: 1px 5px; border-radius: 4px; font-weight: 700; color: #7a4f00; }
  .hl-pink { background: #fce4ec; padding: 1px 5px; border-radius: 4px; font-weight: 700; color: #880e4f; }
  .hl-blue { background: #e3f2fd; padding: 1px 5px; border-radius: 4px; font-weight: 700; color: #0d47a1; }
  .hl-green { background: #e8f5e9; padding: 1px 5px; border-radius: 4px; font-weight: 700; color: #1b5e20; }
  .hl-red { background: #ffebee; padding: 1px 5px; border-radius: 4px; font-weight: 700; color: #b71c1c; }
  .hl-purple { background: #f3e5f5; padding: 1px 5px; border-radius: 4px; font-weight: 700; color: #4a148c; }

  /* ===== TABLE ===== */
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Patrick Hand', cursive;
    font-size: 13.5px;
    margin-top: 8px;
  }
  .compare-table th {
    background: #5b8dee;
    color: white;
    padding: 7px 10px;
    text-align: left;
    font-family: 'Caveat', cursive;
    font-size: 15px;
    font-weight: 700;
  }
  .compare-table th:first-child { border-radius: 6px 0 0 0; }
  .compare-table th:last-child { border-radius: 0 6px 0 0; }
  .compare-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #d0d8ee;
    vertical-align: top;
    line-height: 1.4;
    color: #333;
  }
  .compare-table tr:nth-child(even) td { background: #f0f4ff; }
  .compare-table tr:last-child td:first-child { border-radius: 0 0 0 6px; }
  .compare-table tr:last-child td:last-child { border-radius: 0 0 6px 0; }

  /* ===== VIVA SECTION ===== */
  .viva-q {
    background: #fffaf0;
    border-left: 4px solid #f39c12;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin-bottom: 10px;
  }
  .viva-q .q {
    font-family: 'Caveat', cursive;
    font-size: 16px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 4px;
  }
  .viva-q .a {
    font-family: 'Patrick Hand', cursive;
    font-size: 14px;
    color: #2c3e50;
    line-height: 1.5;
  }
  .viva-q .a strong { color: #1a5276; }

  /* ===== TRICKY QS ===== */
  .tricky-q {
    background: #fff8f0;
    border: 2px solid #e67e22;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 12px;
    position: relative;
  }
  .tricky-badge {
    position: absolute;
    top: -10px;
    left: 14px;
    background: #e67e22;
    color: white;
    font-family: 'Caveat', cursive;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 10px;
  }
  .tricky-q .q {
    font-family: 'Caveat', cursive;
    font-size: 16px;
    font-weight: 700;
    color: #7d3c98;
    margin-top: 4px;
    margin-bottom: 6px;
  }
  .tricky-q .a {
    font-family: 'Patrick Hand', cursive;
    font-size: 14px;
    color: #2c3e50;
    line-height: 1.55;
  }

  /* ===== MCQ SECTION ===== */
  .mcq-block {
    background: #f0f8ff;
    border: 2px solid #5b8dee;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
  }
  .mcq-block .q {
    font-family: 'Caveat', cursive;
    font-size: 17px;
    font-weight: 700;
    color: #1a3a6b;
    margin-bottom: 10px;
  }
  .mcq-options {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .mcq-options li {
    font-family: 'Patrick Hand', cursive;
    font-size: 14px;
    color: #333;
    background: white;
    border: 1.5px solid #c5d8f5;
    border-radius: 6px;
    padding: 5px 10px;
  }
  .mcq-options li.correct {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
    font-weight: 700;
  }
  .mcq-options li.correct::after {
    content: ' ✓';
    color: #28a745;
    font-weight: 700;
  }
  .mcq-exp {
    font-family: 'Patrick Hand', cursive;
    font-size: 13.5px;
    color: #555;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #c5d8f5;
    line-height: 1.5;
  }
  .mcq-exp strong { color: #1a5276; }

  /* ===== EXERCISE Qs ===== */
  .exercise-q {
    background: #f5f0ff;
    border: 2px solid #9b59b6;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
  }
  .exercise-q .q {
    font-family: 'Caveat', cursive;
    font-size: 16px;
    font-weight: 700;
    color: #6c3483;
  }
  .exercise-q .hint {
    font-family: 'Patrick Hand', cursive;
    font-size: 13px;
    color: #888;
    margin-top: 4px;
    font-style: italic;
  }

  /* ===== LAST MINUTE BOX ===== */
  .last-min-box {
    background: linear-gradient(135deg, #fff0f5, #f5f0ff);
    border: 3px solid #ff6b9d;
    border-radius: 14px;
    padding: 20px 24px;
    margin-top: 24px;
    position: relative;
  }
  .last-min-box::before {
    content: '⚡ LAST-MINUTE REVISION BOX';
    font-family: 'Caveat', cursive;
    font-size: 14px;
    font-weight: 700;
    color: #ff6b9d;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
  }
  .last-min-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
  }
  .last-min-item {
    font-family: 'Patrick Hand', cursive;
    font-size: 14px;
    color: #2c3e50;
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.45;
  }
  .last-min-item::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #ff6b9d;
    font-size: 11px;
    top: 6px;
  }

  /* ===== SECTION DIVIDER ===== */
  .section-divider {
    text-align: center;
    margin: 20px 0 16px;
    position: relative;
  }
  .section-divider::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 1.5px;
    background: linear-gradient(to right, transparent, #c8bfb0, transparent);
  }
  .section-divider span {
    background: #fffdf7;
    padding: 0 14px;
    font-family: 'Caveat', cursive;
    font-size: 13px;
    color: #aaa;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
  }

  /* Wide card */
  .card-wide { grid-column: 1 / -1; }

  /* Bold text in cards */
  .card b, .card strong { font-weight: 700; }

  /* Sticker / label */
  .sticker {
    display: inline-block;
    background: #ff6b9d;
    color: white;
    font-family: 'Caveat', cursive;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .sticker-purple { background: #9b59b6; }
  .sticker-teal   { background: #16a085; }
  .sticker-orange { background: #e67e22; }

  /* FULL WIDTH section title */
  .big-section-title {
    font-family: 'Caveat', cursive;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e72;
    border-bottom: 3px solid;
    padding-bottom: 4px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .big-section-title.pink  { border-color: #ff6b9d; color: #b5006e; }
  .big-section-title.blue  { border-color: #5b8dee; color: #1a3a8f; }
  .big-section-title.green { border-color: #2ecc71; color: #145a32; }
  .big-section-title.orange{ border-color: #e67e22; color: #7d3c00; }
  .big-section-title.purple{ border-color: #9b59b6; color: #4a148c; }
</style>
</head>
<body>
<div class="page">
  <!-- Paper holes -->
  <div class="hole"></div>
  <div class="hole"></div>
  <div class="hole"></div>
  <div class="hole"></div>

  <!-- HEADER -->
  <div class="page-header">
    <div class="subject-tag">General Surgery · NEET PG</div>
    <div class="main-title">Inguinal Hernia</div>
    <div class="subtitle">High-Yield Revision Notes | Sources: Bailey &amp; Love · Schwartz · B&amp;L 28th Ed</div>
    <div class="date-tag">June 2026</div>
  </div>

  <!-- MEMORY TRICK -->
  <div class="memory-trick">
    <p>🧠 <strong>MILD = Direct | SPICE = Indirect:</strong> <strong>M</strong>edial, <strong>I</strong>nferior epigastric (medial to it), <strong>L</strong>ess likely to strangulate, <strong>D</strong>irect = Direct (old men, acquired weakness) | <strong>S</strong>ac (processus vaginalis), <strong>P</strong>atent processus, <strong>I</strong>nferior epigastric (lateral to it), <strong>C</strong>an reach scrotum, <strong>E</strong>ntrapment risk higher</p>
    <p style="margin-top:6px">📌 <strong>One-line summary:</strong> Inguinal hernia = protrusion through the inguinal canal — <em>indirect</em> (lateral, through deep ring, congenital/acquired) or <em>direct</em> (medial, through Hesselbach's triangle, always acquired) — repaired by Lichtenstein (gold standard open) or TEP/TAPP (laparoscopic).</p>
  </div>

  <!-- ROW 1: Definition + Etiology -->
  <div class="two-col">
    <div class="card card-blue">
      <div class="card-title">📖 Definition</div>
      <p>Protrusion of abdominal contents through a <span class="hl">weakness or defect in the inguinal region</span> of the anterior abdominal wall.</p>
      <br>
      <ul>
        <li>Most common hernia in <span class="hl-blue">men</span> (10× more than women)</li>
        <li>Right side more common than left (due to later descent of right testis)</li>
        <li>Patient often calls it a <span class="hl">"rupture"</span></li>
        <li>Contents: omentum, small bowel, sigmoid (left), caecum (right)</li>
        <li>Bladder can herniate into <span class="hl-pink">direct hernia</span></li>
      </ul>
    </div>
    <div class="card card-pink">
      <div class="card-title">⚡ Etiology</div>
      <ul>
        <li><span class="hl-pink">Indirect:</span> Failure of obliteration of <span class="hl">processus vaginalis</span> (congenital) or stretching of deep ring (acquired)</li>
        <li><span class="hl-blue">Direct:</span> Weakness of transversalis fascia in <span class="hl">Hesselbach's triangle</span> — always <span class="hl-red">acquired</span></li>
        <li>Raised intraabdominal pressure: <b>chronic cough, constipation, BPH, ascites, heavy lifting</b></li>
        <li>Premature infants — high risk (processus vaginalis not yet closed)</li>
        <li>Connective tissue disorders, family history</li>
        <li>Previous abdominal surgery</li>
      </ul>
    </div>
  </div>

  <!-- INGUINAL CANAL ANATOMY -->
  <div class="card card-teal" style="margin-bottom:22px">
    <div class="card-title">🏛️ Inguinal Canal Anatomy (Must Know!)</div>
    <div style="display:grid; grid-template-columns: 1fr 1fr; gap: 14px;">
      <ul>
        <li><span class="hl">Anterior wall:</span> External oblique aponeurosis (+ internal oblique laterally)</li>
        <li><span class="hl">Posterior wall:</span> Transversalis fascia (+ conjoint tendon medially)</li>
        <li><span class="hl">Roof:</span> Arching fibres of internal oblique + transversus abdominis → <b>conjoint tendon</b></li>
        <li><span class="hl">Floor:</span> Inguinal (Poupart's) ligament</li>
      </ul>
      <ul>
        <li><span class="hl">Deep ring:</span> Midpoint of inguinal ligament, <b>lateral</b> to inferior epigastric vessels, defect in transversalis fascia</li>
        <li><span class="hl">Superficial ring:</span> Inverted V defect in external oblique aponeurosis, above pubic tubercle</li>
        <li><span class="hl">Contents (males):</span> Testicular A, V, lymphatics, vas deferens, cremasteric muscle, 3 nerves (ilioinguinal, iliohypogastric, genital br. genitofemoral)</li>
        <li><span class="hl">Contents (female):</span> Round ligament</li>
      </ul>
    </div>
    <p style="margin-top:10px; font-family:'Patrick Hand',cursive; font-size:14px; background:#d0f0f0; padding:7px 10px; border-radius:6px;">
      <b>Hesselbach's Triangle:</b> <span class="hl-blue">Lateral border</span> = Inferior epigastric vessels | <span class="hl-blue">Medial border</span> = Lateral edge of rectus abdominis | <span class="hl-blue">Inferior border</span> = Inguinal ligament (iliopubic tract)
    </p>
  </div>

  <!-- TYPES TABLE -->
  <div class="card card-green card-wide" style="margin-bottom:22px">
    <div class="card-title">🔀 Types — Direct vs Indirect vs Sliding vs Pantaloon</div>
    <table class="compare-table">
      <tr>
        <th>Feature</th>
        <th>Indirect (Lateral)</th>
        <th>Direct (Medial)</th>
        <th>Femoral</th>
      </tr>
      <tr>
        <td><b>Relation to inf. epigastric</b></td>
        <td><span class="hl-blue">Lateral</span></td>
        <td><span class="hl-pink">Medial</span></td>
        <td>Below inguinal lig.</td>
      </tr>
      <tr>
        <td><b>Origin</b></td>
        <td>Deep inguinal ring → follows canal</td>
        <td>Directly through Hesselbach's triangle</td>
        <td>Femoral canal (medial to femoral vein)</td>
      </tr>
      <tr>
        <td><b>Sac</b></td>
        <td>Remnant of <span class="hl">processus vaginalis</span></td>
        <td>No true sac; peritoneum pushed forward</td>
        <td>Through femoral ring</td>
      </tr>
      <tr>
        <td><b>Age/Sex</b></td>
        <td>Any age; <b>M &gt; F</b></td>
        <td>Elderly men</td>
        <td><span class="hl-red">Women</span> (narrow pelvis misleads)</td>
      </tr>
      <tr>
        <td><b>Reaches scrotum?</b></td>
        <td><span class="hl-green">YES</span></td>
        <td><span class="hl-red">NO</span> (broad base)</td>
        <td>No (goes to upper thigh)</td>
      </tr>
      <tr>
        <td><b>Strangulation risk</b></td>
        <td><b>Higher</b> (narrow neck)</td>
        <td><b>Lower</b> (broad neck)</td>
        <td><span class="hl-red">Highest</span> of all!</td>
      </tr>
      <tr>
        <td><b>Zieman's test finger</b></td>
        <td>Ring finger (lateral)</td>
        <td>Index finger (medial)</td>
        <td>Middle finger</td>
      </tr>
    </table>
    <p style="margin-top:10px; font-family:'Patrick Hand', cursive; font-size:14px; background:#d4f5e5; padding:7px 10px; border-radius:6px;">
      <b>Sliding hernia:</b> Retroperitoneal organ forms part of sac wall (colon on left = sigmoid; right = caecum). Caution at repair — don't excise sac!<br>
      <b>Pantaloon hernia:</b> Both direct + indirect present simultaneously, straddling inferior epigastric vessels. Looks like 2-legged trousers.
    </p>
  </div>

  <!-- HISTORY + EXAMINATION -->
  <div class="two-col">
    <div class="card card-orange">
      <div class="card-title">📋 History Taking</div>
      <ul>
        <li><span class="hl">Onset:</span> Gradual vs sudden — when first noticed?</li>
        <li><span class="hl">Site:</span> Groin/scrotum/labia — right or left?</li>
        <li><span class="hl">Reducibility:</span> Disappears lying down? Manual reduction needed?</li>
        <li><span class="hl">Pain:</span> Aching, dragging — ask re: severe sudden pain (strangulation!)</li>
        <li><span class="hl">Precipitating factors:</span> Cough? Straining? Lifting?</li>
        <li><b>Obstructive symptoms:</b> Vomiting, absolute constipation → incarceration</li>
        <li><b>Predisposing causes:</b> Chronic cough (TB, COPD), BPH, constipation, ascites</li>
        <li>Previous hernia / repair (recurrence?)</li>
        <li>Family history</li>
        <li><b>Fitness for surgery:</b> Comorbidities, medications (anticoagulants)</li>
      </ul>
    </div>
    <div class="card card-purple">
      <div class="card-title">🔍 Clinical Examination</div>
      <ul>
        <li><b>Position:</b> Standing + lying down</li>
        <li><span class="hl-purple">Inspect:</span> Swelling in groin/scrotum, visible cough impulse</li>
        <li><span class="hl-purple">Palpate:</span>
          <ul style="margin-left:14px; margin-top:4px">
            <li>Feel swelling — reducibility, consistency, tenderness</li>
            <li><span class="hl">Cough impulse</span> — expansile (hernia) vs transmitted</li>
            <li><b>Invagination test:</b> Finger invaginates scrotum up to external ring</li>
            <li><b>Zieman's test:</b> 3 fingers over sites — index=direct, ring=indirect, middle=femoral</li>
          </ul>
        </li>
        <li><span class="hl-purple">Percussion:</span> Resonant (bowel) or dull (omentum)</li>
        <li><span class="hl-purple">Auscultation:</span> Bowel sounds in swelling?</li>
        <li>Transillumination — negative (vs hydrocele which is +ve)</li>
        <li>Check opposite side, examine abdomen for cause</li>
      </ul>
    </div>
  </div>

  <!-- CLINICAL POINTS FOR VIVA -->
  <div style="margin: 22px 0 14px;">
    <div class="big-section-title orange">🎯 Important Clinical Points for Viva</div>
    <div class="three-col">
      <div class="card card-orange" style="transform:rotate(-0.5deg)">
        <div class="card-title" style="font-size:17px">Anatomical Points</div>
        <ul>
          <li>Deep ring = <span class="hl">midpoint of inguinal ligament</span></li>
          <li>Superficial ring = <span class="hl">above & lateral to pubic tubercle</span> (femoral hernia is below & lateral)</li>
          <li>Indirect hernia is lateral to inf. epigastric vessels; exits through <span class="hl">internal (deep) ring</span></li>
          <li>Conjoint tendon = fusion of internal oblique + transversus — forms roof + posterior wall medially</li>
          <li>In female, round ligament is in canal (not testicular artery)</li>
        </ul>
      </div>
      <div class="card card-red" style="transform:rotate(0.5deg)">
        <div class="card-title" style="font-size:17px">Surgical Points</div>
        <ul>
          <li><span class="hl-red">Herniotomy</span> = excision of sac only → children</li>
          <li><span class="hl-red">Herniorrhaphy</span> = sac + repair of floor → adults</li>
          <li><span class="hl-red">Hernioplasty</span> = mesh repair → modern standard</li>
          <li><b>Bassini (1890)</b> = conjoint tendon → inguinal ligament repair</li>
          <li><b>Shouldice</b> = best tissue repair (&lt;2% failure); double-breasting transversalis fascia</li>
          <li><span class="hl">Lichtenstein</span> = tension-free mesh repair = <b>GOLD STANDARD open repair</b></li>
          <li>TEP/TAPP = laparoscopic; preferred for bilateral + recurrent hernias</li>
        </ul>
      </div>
      <div class="card card-yellow" style="transform:rotate(-0.3deg)">
        <div class="card-title" style="font-size:17px">Complications</div>
        <ul>
          <li><span class="hl">Irreducible</span> = cannot be reduced; incarcerated</li>
          <li><span class="hl-red">Obstructed</span> = bowel obstructed but blood supply intact</li>
          <li><span class="hl-red">Strangulated</span> = blood supply compromised → EMERGENCY</li>
          <li>Richter's hernia = only part of bowel wall strangulated (no obstruction initially)</li>
          <li>Maydl's hernia (hernia-en-W) = strangulation of loop inside abdomen</li>
          <li>Post-op: <b>ilioinguinal nerve damage</b> (most common nerve), hematoma, infection, recurrence</li>
          <li>Chronic groin pain (CPIIP) in ~10-15%</li>
        </ul>
      </div>
    </div>
  </div>

  <!-- VIVA Q&A -->
  <div style="margin-bottom: 20px;">
    <div class="big-section-title blue">🎙️ Viva Questions with Answers</div>
    <div class="two-col">
      <div>
        <div class="viva-q">
          <div class="q">Q1. How do you distinguish direct from indirect inguinal hernia clinically?</div>
          <div class="a"><strong>Indirect:</strong> Hernia enters deep ring (lateral to inf. epigastric vessels), can reach scrotum, appears at upper-outer area, controlled by finger over deep ring (at midpoint inguinal ligament). <strong>Direct:</strong> Medial to inf. epigastric vessels, through Hesselbach's triangle, broad-based, usually does NOT descend to scrotum, NOT controlled by finger over deep ring.</div>
        </div>
        <div class="viva-q">
          <div class="q">Q2. Why does indirect hernia have a higher risk of strangulation than direct?</div>
          <div class="a">Indirect hernia has a <strong>narrow neck</strong> at the deep inguinal ring. The constriction easily compromises blood supply. Direct hernia has a <strong>wide/broad neck</strong> through Hesselbach's triangle — unlikely to strangulate.</div>
        </div>
        <div class="viva-q">
          <div class="q">Q3. What is Lichtenstein repair and why is it gold standard?</div>
          <div class="a">Tension-free open mesh repair — a polypropylene mesh is sutured to the inguinal ligament and conjoint tendon, reinforcing the posterior wall without creating tension. Gold standard because: low recurrence (&lt;1%), can be done under local anaesthesia, reproducible, suitable for most patients.</div>
        </div>
      </div>
      <div>
        <div class="viva-q">
          <div class="q">Q4. What nerve is at risk in inguinal hernia repair?</div>
          <div class="a"><strong>Ilioinguinal nerve</strong> (most commonly injured — causes medial thigh/scrotum hypoesthesia), <strong>Iliohypogastric nerve</strong>, and <strong>Genital branch of genitofemoral nerve</strong> (loss of cremasteric reflex). All 3 pass through the inguinal canal.</div>
        </div>
        <div class="viva-q">
          <div class="q">Q5. What is a sliding hernia? Why is it important?</div>
          <div class="a">Sliding hernia = retroperitoneal viscus (sigmoid left, caecum right) forms part of the sac wall. Important because <strong>the bowel IS part of the sac</strong> — inadvertent excision of sac causes bowel injury.</div>
        </div>
        <div class="viva-q">
          <div class="q">Q6. TEP vs TAPP — what's the difference?</div>
          <div class="a"><strong>TEP (Total ExtraPeritoneal)</strong>: entire repair done extraperitoneally, peritoneum not breached — less risk of intraperitoneal injury. <strong>TAPP (TransAbdominal PrePeritoneal)</strong>: enter abdomen first, then go preperitoneal — allows inspection of contralateral side. Both use mesh. TEP preferred; TAPP if unclear anatomy.</div>
        </div>
      </div>
    </div>
  </div>

  <!-- TRICKY QUESTIONS -->
  <div style="margin-bottom: 22px;">
    <div class="big-section-title purple">🧩 Tricky Questions You Must Know!</div>
    <div class="tricky-q">
      <div class="tricky-badge">TRICKY 1</div>
      <div class="q">A patient has a groin swelling that is below and lateral to the pubic tubercle, does not transilluminate, and has a positive cough impulse. What is the most likely diagnosis and how does it differ from an inguinal hernia?</div>
      <div class="a"><strong>Answer: Femoral hernia.</strong> Femoral hernia passes below and lateral to the pubic tubercle (below inguinal ligament, medial to femoral vein). Inguinal hernia is above and medial to the pubic tubercle. Trick: "Femoral = below & lateral to pubic tubercle; Inguinal = above & medial." Femoral hernias carry the <strong>HIGHEST strangulation risk</strong> of all hernias — always operate promptly!</div>
    </div>
    <div class="tricky-q">
      <div class="tricky-badge">TRICKY 2</div>
      <div class="q">In Richter's hernia, why can strangulation occur WITHOUT intestinal obstruction?</div>
      <div class="a"><strong>Answer:</strong> In Richter's hernia, only the <strong>antimesenteric wall (knuckle)</strong> of the bowel is trapped in the hernia defect — not the full lumen. So bowel contents can still pass → NO obstruction. But that knuckle of bowel wall can strangulate and perforate silently. Classically occurs in <strong>femoral hernia</strong>. High mortality because obstruction symptoms are absent, causing delayed diagnosis.</div>
    </div>
    <div class="tricky-q">
      <div class="tricky-badge">TRICKY 3</div>
      <div class="q">Why do women have a higher rate of femoral hernia compared to inguinal hernia, and why is the diagnosis often missed?</div>
      <div class="a"><strong>Answer:</strong> Women have a <strong>wider pelvis</strong> → femoral canal is wider → more prone to femoral hernia. But paradoxically, the hernia is small and deep in the groin fat. It is easily missed because: (1) often not visible; (2) presents as incarceration/strangulation directly; (3) a "direct inguinal hernia" diagnosed in a woman should make you suspect a missed femoral hernia — this is a common surgical trap in exams! Always look below inguinal ligament in women.</div>
    </div>
  </div>

  <!-- DIFFICULT EXERCISE QUESTIONS -->
  <div style="margin-bottom: 22px;">
    <div class="big-section-title green">✏️ Difficult Exercise Questions (Practice These!)</div>
    <div class="exercise-q">
      <div class="q">Q1. A 70-year-old male smoker presents with a 6-hour history of sudden severe groin pain, vomiting, and failure to pass flatus/stool. On exam: tender, irreducible, firm swelling in right groin with overlying erythema. What is your management plan and what surgical approach would you take?</div>
      <div class="hint">Hint: Think about strangulated hernia management — fluid resuscitation, antibiotics, emergency surgery. Consider whether bowel resection needed. What findings during surgery suggest strangulated vs obstructed?</div>
    </div>
    <div class="exercise-q">
      <div class="q">Q2. Discuss the anatomical basis for why direct inguinal hernia rarely strangulates, but when sliding hernia repair is performed, what specific surgical precaution must be taken and why?</div>
      <div class="hint">Hint: Wide neck = Hesselbach's triangle anatomy. Sliding = viscus forms sac wall. Relate to anatomy of posterior inguinal wall and the planes of dissection.</div>
    </div>
    <div class="exercise-q">
      <div class="q">Q3. Compare and contrast the Shouldice repair and Lichtenstein repair in terms of: recurrence rates, suitability for different patient populations, complications, and current guidelines.</div>
      <div class="hint">Hint: Shouldice — tissue repair, excellent in expert hands, technically demanding; Lichtenstein — mesh, universal. EHS (European Hernia Society) guidelines favour mesh for most adults. Think about mesh complications (mesh rejection, seroma, chronic pain).</div>
    </div>
  </div>

  <!-- MCQ EXERCISE -->
  <div style="margin-bottom: 24px;">
    <div class="big-section-title pink">🎯 Difficult MCQ Exercise</div>

    <div class="mcq-block">
      <div class="q">MCQ 1. A surgeon performing a Lichtenstein repair for a right indirect inguinal hernia inadvertently divides a structure running in the inguinal canal. Post-operatively, the patient complains of loss of sensation over the medial thigh and anterior scrotum, but the cremasteric reflex is intact. Which nerve was most likely injured?</div>
      <ul class="mcq-options">
        <li>A. Iliohypogastric nerve</li>
        <li class="correct">B. Ilioinguinal nerve</li>
        <li>C. Genital branch of genitofemoral nerve</li>
        <li>D. Lateral cutaneous nerve of thigh</li>
      </ul>
      <div class="mcq-exp"><strong>Explanation:</strong> The <strong>ilioinguinal nerve</strong> supplies the medial thigh, anterior scrotum/labia majora, and upper inner thigh. Cremasteric reflex is mediated by the <strong>genital branch of genitofemoral nerve</strong> (motor to cremaster). Iliohypogastric = suprapubic/inguinal region sensation. This is the most commonly injured nerve in inguinal hernia repair.</div>
    </div>

    <div class="mcq-block">
      <div class="q">MCQ 2. During laparoscopic repair of an inguinal hernia, the surgeon identifies the "Triangle of Doom" and the "Triangle of Pain." Which structures define these danger zones, and which artery is at greatest risk in the Triangle of Doom?</div>
      <ul class="mcq-options">
        <li>A. External iliac artery</li>
        <li class="correct">B. External iliac vessels (artery + vein)</li>
        <li>C. Inferior epigastric artery</li>
        <li>D. Internal iliac artery</li>
      </ul>
      <div class="mcq-exp"><strong>Explanation:</strong> <strong>Triangle of Doom</strong> = bounded by vas deferens medially and gonadal vessels laterally. Contains <strong>external iliac artery + vein</strong> — NO staples/clips here (catastrophic bleeding). <strong>Triangle of Pain</strong> = below iliopubic tract between gonadal vessels and lateral border — contains genitofemoral and lateral femoral cutaneous nerves — no stapling here either (chronic nerve pain).</div>
    </div>

    <div class="mcq-block">
      <div class="q">MCQ 3. A 58-year-old woman is found to have a right inguinal hernia. At surgery, the hernia is found to be directly lateral to the inferior epigastric vessels and its sac wall is partially formed by the caecum. What type of hernia is this and which specific type name applies?</div>
      <ul class="mcq-options">
        <li>A. Direct inguinal hernia</li>
        <li>B. Pantaloon hernia</li>
        <li class="correct">C. Sliding indirect inguinal hernia</li>
        <li>D. Richter's hernia</li>
      </ul>
      <div class="mcq-exp"><strong>Explanation:</strong> Lateral to inferior epigastric vessels = <strong>indirect</strong> hernia. The caecum forming part of the sac wall = <strong>sliding hernia</strong> (retroperitoneal organ pulled into sac). On the right, the caecum typically slides; on the left, the sigmoid colon. The sac forms <em>secondarily</em> around the pulled-down retroperitoneal structure. Key surgical caution: do NOT blindly excise the sac!</div>
    </div>
  </div>

  <!-- LAST MINUTE BOX -->
  <div class="last-min-box">
    <div class="last-min-grid">
      <div class="last-min-item">Most common hernia overall = <span class="hl">indirect inguinal</span></div>
      <div class="last-min-item">Most common hernia in females that strangulates = <span class="hl-red">femoral hernia</span></div>
      <div class="last-min-item">Hernia that NEVER reaches scrotum = <span class="hl-blue">direct inguinal</span> (and femoral)</div>
      <div class="last-min-item">Hernia in children = always <span class="hl">indirect</span> (congenital)</div>
      <div class="last-min-item">Zieman's test: Index = direct, <span class="hl">Ring = indirect</span>, Middle = femoral</div>
      <div class="last-min-item">Highest strangulation risk = <span class="hl-red">femoral hernia</span></div>
      <div class="last-min-item"><span class="hl">Lichtenstein</span> = gold standard open repair (tension-free mesh)</div>
      <div class="last-min-item">Laparoscopic repair preferred: bilateral + <span class="hl">recurrent hernias</span></div>
      <div class="last-min-item">Most common nerve damaged in repair = <span class="hl-purple">ilioinguinal nerve</span></div>
      <div class="last-min-item">Shouldice repair = best tissue repair; &lt;2% recurrence in expert hands</div>
      <div class="last-min-item"><span class="hl">Richter's hernia</span> = strangulation WITHOUT obstruction (antimesenteric wall only)</div>
      <div class="last-min-item"><span class="hl">Pantaloon hernia</span> = both direct + indirect together (straddles epigastrics)</div>
      <div class="last-min-item">Sliding hernia: right = caecum, left = <span class="hl">sigmoid colon</span></div>
      <div class="last-min-item"><span class="hl">Maydl's (hernia-en-W)</span> = 2 loops herniate, middle loop strangulates inside abdomen</div>
      <div class="last-min-item">Triangle of Doom (laparoscopic) = vas + gonadal vessels → <span class="hl-red">ext. iliac vessels</span></div>
      <div class="last-min-item">Bassini (1890) = first formal inguinal hernia repair — conjoint tendon to inguinal ligament</div>
    </div>
  </div>

  <!-- FOOTER -->
  <div style="text-align:center; margin-top:24px; font-family:'Caveat', cursive; font-size:14px; color:#bbb;">
    ✨ Study smart. Revise often. You've got this! ✨
  </div>

</div>
</body>
</html>
Generating Image

A beautiful top-view handwritten-style NEET PG medical revision notes page for "Inguinal Hernia" on a cream-colored lined notebook paper. Colorful pastel headings in handwriting fonts: pink, blue, green, orange, purple. Sections include Definition, Types (with a comparison table for direct vs indirect hernia), Anatomy (Hesselbach's triangle borders), Surgical Repairs (Lichtenstein, Shouldice, Bassini, TEP, TAPP), Complications (strangulation, Richter's, Pantaloon, Maydl's), Viva Q&A boxes, and a Last-Minute Revision star box. Yellow highlighter on key terms. Red underlines on critical points. Neat bullet points with arrow markers. Small anatomical diagram sketch of inguinal canal in corner. Memory trick sticky note in yellow. Clean spacing, colorful section dividers, paper hole punches on the left. Aesthetic and professional medical student handwritten notes style.

This is a shared conversation. Sign in to Orris to start your own chat.