<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Advanced Airway Management: Difficult and Failed Airway</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        :root {
            --primary: #5b86e5;
            --secondary: #36d1dc;
            --accent: #ff7e5f;
            --danger: #e74c3c;
            --warning: #ffb347;
            --success: #2ecc71;
            --light: #f8f9fa;
            --dark: #2d3436;
            --text: #2d3436;
            --gray: #636e72;
        }

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

        body {
            font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.7;
            color: var(--text);
            background-color: #f5f7fa;
            position: relative;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        body::after {
            content: "AIRWAY";
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-15deg);
            font-size: 15vw;
            font-weight: 900;
            color: rgba(91, 134, 229, 0.03);
            z-index: -1;
            pointer-events: none;
            white-space: nowrap;
            opacity: 0.8;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 3rem 0;
            margin-bottom: 2rem;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }

        header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" fill="none" stroke="white" stroke-width="0.5" stroke-opacity="0.1"><path d="M20,50 Q35,20 50,50 T80,50"/></svg>');
            opacity: 0.3;
        }

        h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            font-weight: 700;
            position: relative;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        h2 {
            color: var(--primary);
            margin: 3rem 0 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--accent);
            font-size: 2rem;
            font-weight: 600;
            position: relative;
        }

        h2::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100px;
            height: 2px;
            background: var(--secondary);
        }

        h3 {
            color: var(--primary);
            margin: 2rem 0 1rem;
            font-size: 1.5rem;
            font-weight: 600;
        }

        h4 {
            color: var(--dark);
            margin: 1.5rem 0 1rem;
            font-size: 1.3rem;
        }

        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            padding: 2rem;
            margin-bottom: 2.5rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        }

        ul, ol {
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
        }

        li {
            margin-bottom: 0.8rem;
            position: relative;
            padding-left: 1.8rem;
            font-size: 1.1rem;
            line-height: 1.7;
        }

        li:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.7rem;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
        }

        .nested-list {
            padding-left: 1.5rem;
            margin-top: 0.5rem;
        }

        .nested-list li:before {
            background: var(--gray);
            width: 6px;
            height: 6px;
            top: 0.6rem;
        }

        .emergency-box {
            background: linear-gradient(to right, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
            border-left: 4px solid var(--danger);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.2); }
            70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
            100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
        }

        .warning-box {
            background: linear-gradient(to right, rgba(255, 179, 71, 0.1), rgba(255, 179, 71, 0.05));
            border-left: 4px solid var(--warning);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }

        .info-box {
            background: linear-gradient(to right, rgba(91, 134, 229, 0.1), rgba(91, 134, 229, 0.05));
            border-left: 4px solid var(--primary);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            border-radius: 8px;
            overflow: hidden;
        }

        th {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            font-weight: 600;
            padding: 1rem;
            text-align: left;
        }

        td {
            padding: 1rem;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            background: white;
        }

        tr:nth-child(even) td {
            background-color: #f9f9f9;
        }

        tr:hover td {
            background-color: #f1f7fe;
        }

        .clinical-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .feature-card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            border-left: 3px solid var(--secondary);
        }

        .feature-card h4 {
            color: var(--secondary);
            margin-bottom: 0.8rem;
        }

        .algorithm-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            padding: 2rem;
            margin-bottom: 2.5rem;
            border-left: 6px solid var(--primary);
        }

        .algorithm-step {
            display: flex;
            margin-bottom: 1.5rem;
            align-items: flex-start;
        }

        .step-number {
            background-color: var(--primary);
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            flex-shrink: 0;
            font-weight: bold;
        }

        .step-content {
            flex: 1;
        }

        /* Summary Panel Styles */
        .summary-icon {
            position: fixed;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            background-color: var(--primary);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            z-index: 1000;
            transition: all 0.3s ease;
        }
        
        .summary-icon:hover {
            background-color: var(--secondary);
            transform: translateY(-50%) scale(1.1);
        }
        
        .summary-panel {
            position: fixed;
            right: -400px;
            top: 0;
            width: 380px;
            height: 100vh;
            background-color: white;
            box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            padding: 20px;
            overflow-y: auto;
            z-index: 999;
            transition: right 0.3s ease;
        }
        
        .summary-panel.active {
            right: 0;
        }
        
        .summary-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary);
        }
        
        .close-summary {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: var(--danger);
        }
        
        .summary-section {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(0,0,0,0.1);
        }
        
        .summary-section:last-child {
            border-bottom: none;
        }

        @media (max-width: 768px) {
            .container {
                padding: 1.5rem;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            h2 {
                font-size: 1.7rem;
            }
            
            .summary-panel {
                width: 300px;
            }
            
            .summary-icon {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }
            
            body::after {
                font-size: 12vw;
            }
        }
    </style>
</head>
<body>
    <div class="summary-icon" id="summaryIcon">
        <i class="fas fa-list-alt"></i>
    </div>
    
    <div class="summary-panel" id="summaryPanel">
        <div class="summary-header">
            <h3>Airway Management Summary</h3>
            <button class="close-summary" id="closeSummary"><i class="fas fa-times"></i></button>
        </div>
        <div class="card">
            <div class="summary-section">
                <h4><i class="fas fa-lungs" style="color: var(--primary);"></i> Key Questions After Failed Intubation</h4>
                <ul>
                    <li>Is the patient oxygenated?</li>
                    <li>Can oxygenation be improved?</li>
                    <li>Were conditions ideal?</li>
                    <li>Can view/technique be improved?</li>
                    <li>Are there alternatives?</li>
                    <li>Is surgical airway needed?</li>
                </ul>
            </div>
            
            <div class="summary-section">
                <h4><i class="fas fa-exclamation-triangle" style="color: var(--danger);"></i> Oxygenation Priority</h4>
                <ul>
                    <li>Patients need oxygen, not a tube</li>
                    <li>Max 3 intubation attempts (DAS guidelines)</li>
                    <li>Cease attempts if SpO₂ ≤92%</li>
                    <li>Reoxygenate before further attempts</li>
                </ul>
            </div>
            
            <div class="summary-section">
                <h4><i class="fas fa-wind" style="color: var(--secondary);"></i> Improving Oxygenation</h4>
                <ul>
                    <li>Apnoeic oxygenation if airway clear</li>
                    <li>Bag-mask ventilation (reduce cricoid if needed)</li>
                    <li>Supraglottic airway device (SAD) as rescue</li>
                </ul>
            </div>
            
            <div class="summary-section">
                <h4><i class="fas fa-tools" style="color: var(--accent);"></i> Improving Intubation Conditions</h4>
                <ul>
                    <li>Ensure full muscle relaxation</li>
                    <li>Use appropriate tube size</li>
                    <li>Have smaller tubes available</li>
                    <li>Consider intubating bougie</li>
                </ul>
            </div>
            
            <div class="summary-section">
                <h4><i class="fas fa-search" style="color: var(--warning);"></i> Improving Laryngeal View</h4>
                <ul>
                    <li>Clear secretions with suction</li>
                    <li>Optimize head position</li>
                    <li>Adjust/release cricoid pressure</li>
                    <li>External laryngeal manipulation (BURP)</li>
                    <li>Alternative laryngoscope/videolaryngoscope</li>
                </ul>
            </div>
            
            <div class="summary-section">
                <h4><i class="fas fa-first-aid" style="color: var(--danger);"></i> CICO Situation</h4>
                <ul>
                    <li>Insert SAD immediately</li>
                    <li>Needle cricothyroidotomy</li>
                    <li>Surgical cricothyroidotomy</li>
                    <li>Tracheostomy</li>
                </ul>
            </div>
        </div>
    </div>

    <header>
        <div class="container">
            <h1>Advanced Airway Management</h1>
            <p>Difficult and Failed Airway Protocols</p>
        </div>
    </header>

    <div class="container">
        <div class="card">
            <h2>Initial Assessment After Failed Intubation</h2>
            <p>During a failed first attempt at intubation during RSI, the fundamental questions are:</p>
            
            <div class="clinical-features">
                <div class="feature-card">
                    <h4>Oxygenation Status</h4>
                    <ul>
                        <li>Is the patient oxygenated sufficiently to enable further attempts at intubation safely?</li>
                        <li>If not, can oxygenation be improved?</li>
                    </ul>
                </div>
                <div class="feature-card">
                    <h4>Technical Factors</h4>
                    <ul>
                        <li>Were the intubating conditions ideal?</li>
                        <li>Can the laryngeal view be improved?</li>
                        <li>Can the intubation technique be improved?</li>
                    </ul>
                </div>
                <div class="feature-card">
                    <h4>Contingency Planning</h4>
                    <ul>
                        <li>Should further attempts fail, are there suitable alternatives?</li>
                        <li>Should further attempts fail, is a surgical airway necessary and possible?</li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="card">
            <h2>Ensuring Oxygenation</h2>
            
            <div class="info-box">
                <h4>Fundamental Principle</h4>
                <p>Patients need oxygen, not a tube. Maintain adequate arterial blood saturation during all airway interventions.</p>
            </div>
            
            <ul>
                <li>The Difficult Airway Society guidelines recommend a maximum of <strong>three attempts at intubation</strong></li>
                <li>Continuous SpO₂ monitoring is essential</li>
                <li>Cease intubation attempts and reoxygenate before SpO₂ reaches 92% (the steep part of the oxyhemoglobin dissociation curve)</li>
                <li>Delegate a team member to monitor and announce when SpO₂ reaches 92%</li>
                <li>Critical desaturation should be avoided where possible, even when oxygenation failure prompted intubation</li>
            </ul>
        </div>

        <div class="card">
            <h2>Improving Oxygenation</h2>
            
            <div class="algorithm-step">
                <div class="step-number">1</div>
                <div class="step-content">
                    <h4>Apnoeic Oxygenation</h4>
                    <p>If the airway is clear, apnoeic oxygenation may assist in delaying arterial blood desaturation.</p>
                </div>
            </div>
            
            <div class="algorithm-step">
                <div class="step-number">2</div>
                <div class="step-content">
                    <h4>Bag-Mask Ventilation</h4>
                    <p>If the patient is still paralyzed, bag-mask ventilation is the first choice.</p>
                    <ul>
                        <li>Maintain cricoid pressure initially</li>
                        <li>If ventilation proves difficult, reduce or release it under direct vision</li>
                    </ul>
                </div>
            </div>
            
            <div class="algorithm-step">
                <div class="step-number">3</div>
                <div class="step-content">
                    <h4>Supraglottic Airway Device (SAD)</h4>
                    <p>If SpO₂ continues to decrease despite optimal bag-mask ventilation, the first rescue technique of choice is to insert a SAD.</p>
                </div>
            </div>
        </div>

        <div class="card">
            <h2>Improving Intubating Conditions</h2>
            
            <div class="warning-box">
                <h4>Muscle Relaxation</h4>
                <p>Attempting intubation in the presence of muscle tone will cause problems: either failure to see the larynx because of gagging or failure to pass the tracheal tube because of cord closure.</p>
            </div>
            
            <ul>
                <li>Do not attempt laryngoscopy until the muscle relaxant is fully effective</li>
                <li>For suxamethonium: wait until after fasciculations have stopped</li>
                <li>Loss of jaw tone indicates onset of relaxation</li>
                <li>If conditions are not optimal, maintain oxygenation while awaiting muscle relaxation</li>
                <li>Use a malleable stylet for better tube direction (remove if using intubating bougie)</li>
                <li>Avoid tubes that are too large for the larynx</li>
                <li>Have tubes 1-2 sizes smaller immediately available</li>
                <li>Consider using an intubating bougie (coude-tipped single-use tracheal tube introducer preferred)</li>
            </ul>
        </div>

        <div class="card">
            <h2>Improving Laryngeal View and Intubation Technique</h2>
            
            <div class="info-box">
                <h4>Golden Rule</h4>
                <p>Always make the first attempt, the best attempt.</p>
            </div>
            
            <h3>Interventions to Improve View</h3>
            <ul>
                <li><strong>Clear secretions, blood or debris</strong> rapidly with a wide-bore suction device</li>
                <li><strong>Ensure optimal positioning</strong> - head fully extended at atlanto-occipital joint with neck flexed</li>
                <li><strong>Reduce or release cricoid pressure</strong> - continue laryngoscopy to observe effect on view and detect regurgitation</li>
                <li><strong>External manipulation of the larynx</strong> - Backwards, Upwards and Rightwards Pressure (BURP) manoeuvre by an assistant</li>
                <li><strong>Use an alternative laryngoscope</strong> - McCoy blade or videolaryngoscope</li>
                <li><strong>Change practitioner</strong> - fresh perspective and technique</li>
            </ul>
            
            <h3>Failed First Attempt Mnemonic: O HELP</h3>
            <div class="clinical-features">
                <div class="feature-card">
                    <h4>O - Oxygenation</h4>
                    <p>Ensure adequate oxygenation before further attempts</p>
                </div>
                <div class="feature-card">
                    <h4>H - Head Elevation</h4>
                    <p>Optimize patient positioning</p>
                </div>
                <div class="feature-card">
                    <h4>E - External Manipulation</h4>
                    <p>BURP manoeuvre on the larynx</p>
                </div>
                <div class="feature-card">
                    <h4>L - Laryngoscope Change</h4>
                    <p>Try different blade or videolaryngoscope</p>
                </div>
                <div class="feature-card">
                    <h4>P - Pal (Call for Assistance)</h4>
                    <p>Get help from experienced colleagues</p>
                </div>
            </div>
        </div>

        <div class="card">
            <h2>"Can't Intubate, Can Oxygenate" Situation</h2>
            
            <p>If repeat laryngoscopy fails, but oxygenation is maintained, consider:</p>
            
            <div class="clinical-features">
                <div class="feature-card">
                    <h4>Respiratory Status</h4>
                    <ul>
                        <li>Is spontaneous breathing present?</li>
                        <li>Is ventilation adequate?</li>
                    </ul>
                </div>
                <div class="feature-card">
                    <h4>Airway Assessment</h4>
                    <ul>
                        <li>Is the airway still at risk?</li>
                        <li>Is intubation the only option at this time?</li>
                    </ul>
                </div>
            </div>
            
            <h3>Management Considerations</h3>
            <ul>
                <li>After suxamethonium without opioid, neuromuscular function likely recovering</li>
                <li>Synchronize ventilatory assistance with spontaneous respiration</li>
                <li>Gradual return to pre-RSI state if appropriate</li>
                <li>Assess urgency based on airway risk and respiratory adequacy</li>
                <li>Choose between continuing intubation sequence or maintaining airway without intubation</li>
                <li>Consider alternative techniques by experienced practitioners:
                    <ul class="nested-list">
                        <li>Fibreoptic methods</li>
                        <li>Retrograde techniques</li>
                        <li>Intubating laryngeal masks</li>
                        <li>Light wands</li>
                    </ul>
                </li>
            </ul>
        </div>

        <div class="card">
            <h2>"Can't Intubate, Can't Oxygenate" (CICO) Situation</h2>
            
            <div class="emergency-box">
                <h4>Emergency Situation</h4>
                <p>If repeat laryngoscopy fails and oxygenation is not maintained, immediate action is required.</p>
            </div>
            
            <div class="algorithm-step">
                <div class="step-number">1</div>
                <div class="step-content">
                    <h4>First Rescue Technique</h4>
                    <p><strong>Insert supraglottic airway device (SAD)</strong> - the primary rescue technique of choice</p>
                </div>
            </div>
            
            <div class="algorithm-step">
                <div class="step-number">2</div>
                <div class="step-content">
                    <h4>If SAD Fails</h4>
                    <p>Proceed to advanced rescue techniques for ventilation:</p>
                    <ul>
                        <li><strong>Needle cricothyroidotomy</strong></li>
                        <li><strong>Surgical cricothyroidotomy</strong></li>
                        <li><strong>Tracheostomy</strong></li>
                    </ul>
                </div>
            </div>
            
            <h3>Decision Making in CICO</h3>
            <ul>
                <li>Time is critical - rapid sequential progression through options</li>
                <li>Use the technique with which you are most familiar and skilled</li>
                <li>Team preparation and regular training improves outcomes</li>
                <li>Have all necessary equipment readily available and checked</li>
            </ul>
        </div>

        <div class="card">
            <h2>Preparation and Prevention</h2>
            
            <h3>Pre-Intubation Assessment</h3>
            <ul>
                <li>Perform thorough airway assessment before RSI</li>
                <li>Identify predictors of difficult airway:
                    <ul class="nested-list">
                        <li>Mallampati score III or IV</li>
                        <li>Limited mouth opening (<3cm)</li>
                        <li>Short thyromental distance (<6cm)</li>
                        <li>Limited neck mobility</li>
                        <li>Obesity or anatomical abnormalities</li>
                    </ul>
                </li>
                <li>Have a backup plan for difficult airway scenarios</li>
            </ul>
            
            <h3>Equipment Preparation</h3>
            <ul>
                <li>Ensure all airway equipment is available and functioning</li>
                <li>Have multiple sizes of endotracheal tubes available</li>
                <li>Prepare alternative devices (videolaryngoscope, bougie, SAD)</li>
                <li>Have emergency surgical airway equipment readily accessible</li>
                <li>Use a standardized checklist before each intubation</li>
            </ul>
            
            <h3>Team Preparation</h3>
            <ul>
                <li>Clearly assign roles before procedure</li>
                <li>Establish clear communication plan</li>
                <li>Review emergency protocols regularly</li>
                <li>Practice difficult airway scenarios through simulation</li>
            </ul>
        </div>
    </div>

    <footer style="text-align: center; padding: 20px; background-color: #f4f4f4; color: #555; font-family: 'Poppins', sans-serif; font-size: 14px;">
        &copy; All rights reserved to <strong>MedicaExam</strong>
    </footer>

    <script>
        // Summary panel functionality
        const summaryIcon = document.getElementById('summaryIcon');
        const summaryPanel = document.getElementById('summaryPanel');
        const closeSummary = document.getElementById('closeSummary');
        
        summaryIcon.addEventListener('click', function() {
            summaryPanel.classList.add('active');
        });
        
        closeSummary.addEventListener('click', function() {
            summaryPanel.classList.remove('active');
        });
        
        // Close panel when clicking outside
        document.addEventListener('click', function(event) {
            if (!summaryPanel.contains(event.target) && event.target !== summaryIcon) {
                summaryPanel.classList.remove('active');
            }
        });

        // Disable shortcuts
        document.addEventListener('keydown', function(e) {
            const blockedCombos = ['c', 'u', 's', 'p', 'a', 'x', 'i', 'j'];
            if (e.ctrlKey && blockedCombos.includes(e.key.toLowerCase())) {
                e.preventDefault();
            }
            if (e.key === 'F12') e.preventDefault();
        });
        
        // Disable right-click
        document.addEventListener('contextmenu', function(e) {
            e.preventDefault();
        });
        
        // Disable downloads
        document.addEventListener('DOMContentLoaded', function() {
            const downloadLinks = document.querySelectorAll('a[download]');
            downloadLinks.forEach(link => {
                link.removeAttribute('download');
                link.addEventListener('click', function(e) {
                    e.preventDefault();
                    alert("Download not allowed!");
                });
            });
        });
    </script>
    <script src="../security.js"></script>

</body>
</html>