🏛️ CEO Executive Summary

Total Cases Imported: 0

Last Import Timestamp:

Most Recent Case Title:

Top Project Manager:

📋 Case Overview

🔍 Case Preview

`; const blob = new Blob([fullHTML], { type: "text/html" }); const link = document.createElement("a"); link.href = URL.createObjectURL(blob); link.download = "case_report.html"; link.click(); } // 🧭 Resizer Logic const resizerX = document.getElementById("resizerX"); const leftPanel = document.getElementById("leftPanel"); const rightPanel = document.getElementById("rightPanel"); const splitContainer = document.getElementById("splitContainer"); let isDraggingX = false; resizerX.addEventListener("mousedown", () => { isDraggingX = true; document.body.style.cursor = "col-resize"; }); window.addEventListener("mousemove", e => { if (!isDraggingX) return; const rect = splitContainer.getBoundingClientRect(); const offsetX = e.clientX - rect.left; const percent = (offsetX / rect.width) * 100; leftPanel.style.width = `${percent}%`; rightPanel.style.width = `${100 - percent}%`; }); window.addEventListener("mouseup", () => { isDraggingX = false; document.body.style.cursor = "default"; }); const resizerY = document.getElementById("resizerY"); const verticalContainer = document.getElementById("verticalContainer"); let isDraggingY = false; resizerY.addEventListener("mousedown", () => { isDraggingY = true; document.body.style.cursor = "row-resize"; }); window.addEventListener("mousemove", e => { if (!isDraggingY) return; const offsetY = e.clientY - verticalContainer.getBoundingClientRect().top; verticalContainer.style.height = `${offsetY}px`; }); window.addEventListener("mouseup", () => { isDraggingY = false; document.body.style.cursor = "default"; }); // 🧠 Restore cases on page load window.addEventListener("DOMContentLoaded", loadFromLocalStorage);