        /* DHS CISA House Style Guide Implementation */
        
        /* Header and Navigation Styles */
        .site-security-header {
            background: #1e3a8a;
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-height: 80px;
            width: 100%;
            margin: 0;
            position: relative;
        }
        
        /* Unstick navigation for report tabs to improve readability */
        .site-security-header.unstick-nav {
            position: static !important;
            top: auto !important;
            z-index: auto !important;
            width: 100% !important;
            left: auto !important;
            right: auto !important;
            margin-left: 0 !important;
        }
        
        /* Ensure report sections have proper spacing when navigation is unstuck */
        #executive_summary, #final_report {
            margin-top: 0 !important;
            padding-top: 1rem !important;
        }
        
        /* CISA Style Report Formatting */
        .cisa-report {
            font-family: 'Source Sans Pro', Arial, sans-serif;
            line-height: 1.6;
            color: #1a1a1a;
            background: #ffffff;
        }
        
        .cisa-report h1 {
            color: #1e3a8a;
            font-size: 2.25rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            border-bottom: 3px solid #1e3a8a;
            padding-bottom: 0.5rem;
        }
        
        .cisa-report h2 {
            color: #1e3a8a;
            font-size: 1.875rem;
            font-weight: 600;
            margin-top: 2rem;
            margin-bottom: 1rem;
            border-bottom: 2px solid #e5e7eb;
            padding-bottom: 0.25rem;
        }
        
        .cisa-report h3 {
            color: #374151;
            font-size: 1.5rem;
            font-weight: 600;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
        }
        
        .cisa-report h4 {
            color: #4b5563;
            font-size: 1.25rem;
            font-weight: 600;
            margin-top: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .cisa-report p {
            margin-bottom: 1rem;
            text-align: justify;
        }
        
        .cisa-report ul, .cisa-report ol {
            margin-bottom: 1rem;
            padding-left: 2rem;
        }
        
        .cisa-report li {
            margin-bottom: 0.5rem;
        }
        
        .cisa-report table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.9rem;
        }
        
        .cisa-report th {
            background: #1e3a8a;
            color: white;
            padding: 0.75rem;
            text-align: left;
            font-weight: 600;
        }
        
        .cisa-report td {
            padding: 0.75rem;
            border: 1px solid #d1d5db;
        }
        
        .cisa-report tr:nth-child(even) {
            background: #f9fafb;
        }
        
        .cisa-report .highlight {
            background: #fef3c7;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            font-weight: 600;
        }
        
        .cisa-report .vulnerability-high {
            color: #dc2626;
            font-weight: 600;
        }
        
        .cisa-report .vulnerability-medium {
            color: #d97706;
            font-weight: 600;
        }
        
        .cisa-report .vulnerability-low {
            color: #059669;
            font-weight: 600;
        }
        
        /* Override any conflicting styles in reports */
        .cisa-report * {
            background: none !important;
            background-image: none !important;
            background-color: transparent !important;
        }
        
        .cisa-report {
            background: #ffffff !important;
            color: #1a1a1a !important;
        }
        
        .cisa-report h1, .cisa-report h2, .cisa-report h3, .cisa-report h4 {
            background: none !important;
            background-image: none !important;
            background-color: transparent !important;
        }
        
        .cisa-report .report-header, .cisa-report .executive-header {
            background: #ffffff !important;
            background-image: none !important;
        }
        
        .cisa-report .metric-card, .cisa-report .summary-metrics {
            background: #f8f9fa !important;
            background-image: none !important;
            border: 1px solid #dee2e6 !important;
        }
        
        /* Fix text colors on dark blue backgrounds */
        .cisa-report .report-header,
        .cisa-report .executive-header,
        .cisa-report .metric-card,
        .cisa-report .summary-metrics,
        .cisa-report .vulnerability-item,
        .cisa-report .options-for-consideration {
            color: #ffffff !important;
        }
        
        /* Ensure all text on blue backgrounds is white */
        .cisa-report [style*="background"] *,
        .cisa-report [style*="background-color"] *,
        .cisa-report .blue-background *,
        .cisa-report .dark-background * {
            color: #ffffff !important;
        }
        
        /* Specific fixes for common dark background elements */
        .cisa-report h1, .cisa-report h2, .cisa-report h3, .cisa-report h4,
        .cisa-report p, .cisa-report div, .cisa-report span {
            color: inherit !important;
        }
        
        /* Override any dark text on blue backgrounds */
        .cisa-report .report-section {
            color: #1a1a1a !important;
        }
        
        .cisa-report .report-section h2 {
            color: #1e3a8a !important;
        }
        
        /* Comprehensive fix for all dark background text */
        .cisa-report * {
            color: #ffffff !important;
        }
        
        /* But keep normal text dark on light backgrounds */
        .cisa-report .report-section,
        .cisa-report .report-section *,
        .cisa-report .vulnerability-list,
        .cisa-report .vulnerability-list *,
        .cisa-report .options-for-consideration,
        .cisa-report .options-for-consideration * {
            color: #1a1a1a !important;
        }
        
        /* Headers should be blue on light backgrounds */
        .cisa-report .report-section h1,
        .cisa-report .report-section h2,
        .cisa-report .report-section h3,
        .cisa-report .report-section h4 {
            color: #1e3a8a !important;
        }
        
        /* Header should never be sticky - always scroll normally */
        .site-security-header,
        body.report-mode .site-security-header {
            position: relative !important;
            top: auto !important;
            z-index: auto !important;
        }
        
        .header-left {
            display: flex;
            align-items: center;
            padding-left: 20px;
        }
        
        .header-right {
            text-align: right;
            padding-right: 20px;
        }
        
        .header-content {
            /* max-width: 1200px; */
            /* margin: 0 auto; */
            padding: 0 20px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            min-height: 80px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-left: 0px;
        }
        
        .logo img {
            height: 70px;
            width: auto;
        }
        
        .logo-text h1 {
            color: white;
            font-size: 32px;
            font-weight: bold;
            margin: 0;
            line-height: 1.1;
        }
        
        .logo-text p {
            color: white;
            font-size: 16px;
            margin: 0;
            line-height: 1.1;
            font-weight: 500;
        }
        
        .assessment-info {
            text-align: right;
            margin-left: auto;
        }
        
        .assessment-info p {
            margin: 3px 0;
            font-size: 14px;
            color: white;
        }
        
        .auto-save-status {
            color: #10b981;
            font-weight: 500;
        }
        
        .assessment-progress {
            position: sticky !important;
            top: 0 !important;
            z-index: 1000 !important;
            background: #f8f9fa;
            border-bottom: 1px solid #e5e7eb;
            padding: 0.25rem 0;
            margin-top: 0;
            transform: translateZ(0);
        }
        
        .progress-header {
            /* max-width: 1200px; */
            /* margin: 0 auto; */
            padding: 0 20px 0.5rem 20px;
        }
        
        .progress-header h3 {
            color: #1e3a8a;
            font-size: 18px;
            font-weight: bold;
            margin: 0 0 8px 0;
        }
        
        .progress-text {
            color: #6b7280;
            font-size: 14px;
            margin-bottom: 1rem;
        }
        
        .progress-bar {
            height: 8px;
            background: #e5e7eb;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 1rem;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #3b82f6, #1e40af);
            transition: width 0.3s ease;
        }
        
        .progress-steps {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            justify-content: flex-start;
            align-items: center;
        }
        
        /* CISA Navigation Tabs Styling */
        .nav-tabs {
            display: flex;
            background: #ffffff;
            border-radius: 8px;
            padding: 0.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.12);
            border: 1px solid #d6d7d9;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.25rem;
        }
        
        .nav-tab {
            background: none;
            border: none;
            padding: 1rem;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            color: #5b616b;
            transition: all 0.3s ease;
            font-family: 'Franklin Gothic', 'Arial', 'Helvetica', sans-serif;
            font-size: 1.125rem;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            border: 2px solid transparent;
        }
        
        .nav-tab:hover {
            background-color: #e1f3fd;
            color: #0071bc;
            border-color: #0071bc;
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .nav-tab.active {
            background-color: #112e51;
            color: #ffffff;
            border-color: #112e51;
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        /* Landing Page Button Styling */
        .landing-actions {
            text-align: center;
            margin: 2rem 0;
        }
        
        .landing-actions .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        /* Executive Report Readability Improvements */
        .strategic-recommendations {
            margin: 2rem 0;
            padding: 1.5rem;
            background: #f8f9fa;
            border-radius: 8px;
            border-left: 4px solid #0071bc;
        }
        
        .strategic-recommendations h2 {
            color: #112e51;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid #0071bc;
            padding-bottom: 0.5rem;
        }
        
        .recommendations-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .recommendations-list li {
            background: #ffffff;
            margin: 1rem 0;
            padding: 1.5rem;
            border-radius: 6px;
            border: 1px solid #e5e7eb;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            line-height: 1.6;
            font-size: 1rem;
            color: #374151;
        }
        
        .recommendations-list li:before {
            content: "📋";
            margin-right: 0.5rem;
            font-size: 1.2rem;
        }
        
        .recommendations-list li strong {
            color: #112e51;
            font-weight: 600;
        }
        
        /* Executive Summary Content Styling */
        .executive-summary-content {
            max-width: 100%;
            line-height: 1.6;
        }
        
        .executive-summary-content h2 {
            color: #112e51;
            font-size: 1.75rem;
            font-weight: 700;
            margin: 2rem 0 1rem 0;
            border-bottom: 2px solid #0071bc;
            padding-bottom: 0.5rem;
        }
        
        .executive-summary-content h3 {
            color: #1e3a8a;
            font-size: 1.25rem;
            font-weight: 600;
            margin: 1.5rem 0 1rem 0;
        }
        
        .executive-summary-content p {
            margin: 1rem 0;
            color: #374151;
            font-size: 1rem;
        }
        
        /* CISA Executive Summary Style Guidelines */
        .executive-summary {
            font-family: 'Franklin Gothic', 'Arial', 'Helvetica', sans-serif;
            line-height: 1.6;
            color: #1b1b1b;
            background: #ffffff;
            margin: 0 auto;
            padding: 2rem;
        }
        
        .executive-summary h1 {
            color: #112e51;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            border-bottom: 3px solid #0071bc;
            padding-bottom: 0.5rem;
        }
        
        .executive-summary h2 {
            color: #112e51;
            font-size: 1.5rem;
            font-weight: 600;
            margin: 2rem 0 1rem 0;
            border-bottom: 2px solid #0071bc;
            padding-bottom: 0.25rem;
        }
        
        .executive-summary h3 {
            color: #1e3a8a;
            font-size: 1.25rem;
            font-weight: 600;
            margin: 1.5rem 0 0.75rem 0;
        }
        
        .executive-summary h4 {
            color: #1e3a8a;
            font-size: 1.1rem;
            font-weight: 600;
            margin: 1.25rem 0 0.5rem 0;
        }
        
        .executive-summary p {
            margin: 1rem 0;
            color: #1b1b1b;
            font-size: 1rem;
        }
        
        .executive-summary ul, .executive-summary ol {
            margin: 1rem 0;
            padding-left: 2rem;
        }
        
        .executive-summary li {
            margin: 0.5rem 0;
            color: #1b1b1b;
            line-height: 1.6;
        }
        
        .executive-summary strong {
            color: #112e51;
            font-weight: 600;
        }
        
        .executive-summary table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            background: #ffffff;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.12);
        }
        
        .executive-summary th {
            background: #f1f1f2;
            color: #112e51;
            font-weight: 600;
            padding: 1rem;
            text-align: left;
            border-bottom: 2px solid #d6d7d9;
        }
        
        .executive-summary td {
            padding: 1rem;
            border-bottom: 1px solid #d6d7d9;
            color: #1b1b1b;
        }
        
        .executive-summary tr:hover {
            background: #e1f3fd;
        }
        
        /* CISA Blue Background with White Text */
        .executive-summary .blue-background {
            background: #112e51;
            color: #ffffff;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 1rem 0;
        }
        
        .executive-summary .blue-background h1,
        .executive-summary .blue-background h2,
        .executive-summary .blue-background h3,
        .executive-summary .blue-background h4,
        .executive-summary .blue-background p,
        .executive-summary .blue-background strong {
            color: #ffffff !important;
        }
        
        .executive-summary .light-blue-background {
            background: #e1f3fd;
            color: #112e51;
            padding: 1rem;
            border-radius: 6px;
            margin: 1rem 0;
            border-left: 4px solid #0071bc;
        }
        
        .executive-summary .light-blue-background h3,
        .executive-summary .light-blue-background h4,
        .executive-summary .light-blue-background p,
        .executive-summary .light-blue-background strong {
            color: #112e51 !important;
        }
        
        /* CISA Alert Boxes */
        .cisa-alert {
            padding: 1rem 1.5rem;
            border-radius: 4px;
            margin: 1.5rem 0;
            border-left: 4px solid;
            font-weight: 500;
        }
        
        .cisa-alert-info {
            background-color: #e1f3fd;
            border-left-color: var(--cisa-primary-blue);
            color: var(--cisa-primary-blue);
        }
        
        .cisa-alert-warning {
            background-color: rgba(255, 193, 7, 0.1);
            border-left-color: #ffc107;
            color: #856404;
        }
        
        .cisa-alert-success {
            background-color: rgba(94, 151, 50, 0.1);
            border-left-color: var(--cisa-green);
            color: var(--cisa-green);
        }
        
        .cisa-alert-danger {
            background-color: rgba(196, 18, 48, 0.1);
            border-left-color: var(--cisa-red);
            color: var(--cisa-red);
        }
        
        /* CISA Executive Dashboard */
        .executive-dashboard {
            background: #f8f9fa;
            border: 1px solid #d6d7d9;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 2rem 0;
        }
        
        .executive-dashboard h3 {
            color: #112e51;
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .dashboard-metrics {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .metric-card {
            background: #ffffff;
            border: 1px solid #d6d7d9;
            border-radius: 4px;
            padding: 1rem;
            text-align: center;
        }
        
        .metric-value {
            font-size: 2rem;
            font-weight: 700;
            color: #112e51;
            margin-bottom: 0.5rem;
        }
        
        .metric-label {
            font-size: 0.9rem;
            color: #5b616b;
            font-weight: 500;
        }
        
        /* Stylish CISA Back to Top Button */
        .cisa-back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #112e51 0%, #0071bc 100%);
            color: #ffffff;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(17, 46, 81, 0.3);
            z-index: 1000;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: none;
            align-items: center;
            justify-content: center;
            font-family: 'Franklin Gothic', 'Arial', 'Helvetica', sans-serif;
            font-weight: 600;
        }
        
        .cisa-back-to-top:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 20px rgba(17, 46, 81, 0.4);
            background: linear-gradient(135deg, #0071bc 0%, #112e51 100%);
        }
        
        .cisa-back-to-top:active {
            transform: translateY(-1px) scale(1.02);
        }
        
        .back-to-top-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
        }
        
        .cisa-back-to-top i {
            font-size: 1.2rem;
            margin-bottom: 2px;
        }
        
        .back-to-top-text {
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        
        /* Show button when scrolled down */
        .cisa-back-to-top.show {
            display: flex;
            animation: slideInUp 0.3s ease-out;
        }
        
        .cisa-back-to-top.hide {
            animation: slideOutDown 0.3s ease-in;
        }
        
        @keyframes slideInUp {
            from {
                transform: translateY(100px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        @keyframes slideOutDown {
            from {
                transform: translateY(0);
                opacity: 1;
            }
            to {
                transform: translateY(100px);
                opacity: 0;
            }
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .cisa-back-to-top {
                bottom: 20px;
                right: 20px;
                width: 50px;
                height: 50px;
            }
            
            .cisa-back-to-top i {
                font-size: 1rem;
            }
            
            .back-to-top-text {
                font-size: 0.6rem;
            }
        }
        
        .progress-step {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: white;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 14px;
        }
        
        .progress-step:hover {
            background: #f1f5f9;
            border-color: #3b82f6;
        }
        
        .progress-step.active {
            background: #3b82f6;
            color: white;
            border-color: #1e40af;
        }
        
        .step-number {
            background: #6b7280;
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }
        
        .progress-step.active .step-number {
            background: white;
            color: #3b82f6;
        }
        
        .step-label {
            font-weight: 500;
        }
        
        /* Ensure proper layout structure */
        .site-security-container {
            width: 100%;
            /* max-width: 1200px; */
            /* margin: 0 auto; */
            padding: 0 0 120px 0; /* Space for fixed bottom elements */
            position: relative;
        }
        
        /* Robust sticky navigation implementation */
        .assessment-progress {
            position: -webkit-sticky; /* Safari support */
            position: sticky;
            top: 0;
            z-index: 1000;
            background: #f8f9fa;
            border-bottom: 1px solid #dee2e6;
            width: 100%;
            margin: 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            /* Force hardware acceleration for better performance */
            transform: translateZ(0);
            will-change: transform;
        }
        
        /* Ensure sticky works even with dynamic content */
        .assessment-progress[style*="display: block"] {
            position: -webkit-sticky !important;
            position: sticky !important;
            top: 0 !important;
        }
        
        /* Force sticky behavior with maximum specificity */
        body .assessment-progress,
        html body .assessment-progress,
        .site-security-container .assessment-progress {
            position: -webkit-sticky !important;
            position: sticky !important;
            top: 0 !important;
            z-index: 1000 !important;
        }
        
        /* Fix gap between navigation and content */
        .site-security-container {
            padding-top: 0 !important;
        }
        
        /* Ensure proper spacing between header, progress bar, and content */
        .site-security-header {
            margin-bottom: 0 !important;
        }
        
        .assessment-progress {
            margin-bottom: 0 !important;
        }
        
        .section {
            margin-top: 0 !important;
            padding-top: 1rem !important;
        }
        
        .section-header {
            margin-top: 0 !important;
            padding-top: 0 !important;
        }
        
        /* Fix gaps on pages 2-8 by targeting specific elements */
        .section .alert {
            margin-top: 0 !important;
            margin-bottom: 0.5rem !important;
        }
        
        .section .question-item {
            margin-top: 0 !important;
            margin-bottom: 0.5rem !important;
        }
        
        .section .question-item:first-child {
            margin-top: 0 !important;
        }
        
        /* Remove any default margins from form elements in sections */
        .section .form-row,
        .section .form-group,
        .section .card,
        .section .card-body {
            margin-top: 0 !important;
            margin-bottom: 0.5rem !important;
        }
        
        /* Ensure consistent spacing for all content in sections 2-8 */
        .section > *:first-child {
            margin-top: 0 !important;
        }
        
        .section > *:last-child {
            margin-bottom: 0 !important;
        }
        
        /* Ensure no margins on body/html that could push content down */
        html, body {
            margin: 0 !important;
            padding: 0 !important;
        }
        
        /* Fix any layout issues - REMOVED CONFLICTING RULE */
        
        /* Uniform title styling across all sections */
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: #1e3a8a;
            margin: 0 0 1rem 0;
            padding: 1rem 0 0.5rem 0;
            line-height: 1.2;
            border-bottom: 3px solid #1e3a8a;
            width: 100%;
        }
        
        /* Ensure all h2 elements in sections follow the same pattern */
        .section h2 {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: #1e3a8a;
            margin: 0 0 1rem 0;
            padding: 1rem 0 0.5rem 0;
            line-height: 1.2;
            border-bottom: 3px solid #1e3a8a;
            width: 100%;
        }
        
        /* Override any conflicting title styles */
        .section-header h2,
        .section-header .section-title,
        #landing_page h2,
        #facility_info h2,
        #dependencies h2,
        #physical_security h2,
        #security_systems h2,
        #vip_planning h2,
        #planning_emergency h2,
        #executive_summary h2,
        #final_report h2 {
            text-align: center !important;
            font-size: 2.5rem !important;
            font-weight: 700 !important;
            color: #1e3a8a !important;
            margin: 0 0 1rem 0 !important;
            padding: 1rem 0 0.5rem 0 !important;
            line-height: 1.2 !important;
            border-bottom: 3px solid #1e3a8a !important;
            width: 100% !important;
        }
        
        .section-description {
            text-align: center;
            font-size: 1.25rem;
            color: #6b7280;
            margin: 0 0 3rem 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .section-description i {
            color: #1e3a8a;
            font-size: 1.5rem;
        }
        
        /* Typography - DHS CISA Standards */
        body {
            font-family: 'Franklin Gothic', 'Arial', 'Helvetica', sans-serif;
            font-size: 14px;
            line-height: 1.6;
            color: #212529;
            background-color: #ffffff;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.75rem;
        }
        
        h1 { font-size: 2.25rem; }
        h2 { font-size: 1.875rem; }
        h3 { font-size: 1.5rem; }
        h4 { font-size: 1.25rem; }
        h5 { font-size: 1.125rem; }
        h6 { font-size: 1rem; }
        
        /* Color Palette - DHS CISA Standards */
        :root {
            /* CISA Official Color Palette */
            --cisa-primary-blue: #005288;      /* DHS Blue */
            --cisa-light-blue: #0078AE;       /* DHS Light Blue */
            --cisa-gray: #C0C2C4;             /* DHS Gray */
            --cisa-dark-gray: #5A5B5D;        /* DHS Dark Gray */
            --cisa-red: #C41230;              /* DHS Red */
            --cisa-green: #5E9732;           /* DHS Green */
            --old-glory-blue: #002868;        /* Old Glory Blue */
            --old-glory-red: #BF0A30;         /* Old Glory Red */
            
            /* Legacy variables for compatibility */
            --primary-blue: var(--cisa-primary-blue);
            --secondary-blue: var(--cisa-light-blue);
            --accent-blue: var(--cisa-light-blue);
            --light-blue: #ebf8ff;
            --success-green: var(--cisa-green);
            --warning-orange: #ed8936;
            --danger-red: var(--cisa-red);
            --neutral-gray: var(--cisa-dark-gray);
            --light-gray: var(--cisa-gray);
            --border-gray: #e2e8f0;
        }
        
        /* Cards Grid - DHS CISA Layout Standards */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
            width: 100%;
        }
        
        @media (max-width: 1200px) {
            .cards-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .cards-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }
        
        /* Professional card styling */
        .cards-grid .card {
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            overflow: hidden;
            transition: box-shadow 0.2s ease;
        }
        
        .cards-grid .card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        .cards-grid .card-header {
            background: #f1f1f2;
            border-bottom: 1px solid #d6d7d9;
            padding: 1rem 1.5rem;
            margin-bottom: 1rem;
        }
        
        .cards-grid .card-header h4 {
            margin: 0;
            color: #112e51;
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: -0.025em;
            line-height: 1.3;
        }
        
        .cards-grid .card-header h6 {
            margin: 0;
            color: #112e51;
            font-size: 1.1rem;
            font-weight: 600;
            letter-spacing: -0.025em;
            line-height: 1.3;
        }
        
        .cards-grid .card-body {
            padding: 1.5rem;
        }
        
        .cards-grid .form-group {
            margin-bottom: 1.25rem;
        }
        
        .cards-grid .form-group:last-child {
            margin-bottom: 0;
        }
        
        /* Process Steps - CISA Style Grid */
        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .process-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 1rem;
            padding: 2rem 1.5rem;
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            min-height: 200px;
        }
        
        .process-step:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transform: translateY(-2px);
        }
        
        .step-icon {
            flex-shrink: 0;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            box-shadow: 0 4px 8px rgba(30, 58, 138, 0.3);
        }
        
        .step-content h5 {
            margin: 0 0 0.75rem 0;
            color: #1f2937;
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: -0.025em;
            text-align: center;
        }
        
        .step-content p {
            margin: 0;
            color: #6b7280;
            font-size: 0.95rem;
            line-height: 1.5;
            text-align: center;
        }
        
        /* Fix bottom navigation covering form fields - MERGED INTO ABOVE */
        
        .section {
            margin-bottom: 2rem;
            display: none;
            padding: 0 20px;
            margin-top: 0;
        }
        
        /* Ensure consistent spacing for all sections */
        .section.active {
            display: block;
            margin-top: 0;
            padding-top: 0.25rem;
        }
        
        /* Help Text and Tooltips */
        .help-text {
            color: #6b7280;
            font-size: 0.9rem;
            font-style: italic;
            margin-bottom: 1rem;
            line-height: 1.4;
        }
        
        .help-icon {
            color: #3b82f6;
            cursor: help;
            margin-left: 0.25rem;
            font-size: 0.9rem;
        }
        
        .help-icon:hover {
            color: #1e40af;
        }
        
        /* Tooltip styling */
        .tooltip {
            position: relative;
            display: inline-block;
        }
        
        .tooltip .tooltiptext {
            visibility: hidden;
            width: 300px;
            background-color: #1f2937;
            color: #fff;
            text-align: left;
            border-radius: 6px;
            padding: 8px 12px;
            position: absolute;
            z-index: 1000;
            bottom: 125%;
            left: 50%;
            margin-left: -150px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.85rem;
            line-height: 1.4;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #1f2937 transparent transparent transparent;
        }
        
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        
        /* Ensure last section has extra bottom padding */
        .section:last-child {
            padding-bottom: 150px;
        }
        
        /* CISA Form Input Styling - Blue Focus States */
        .form-input:focus, .form-select:focus, .form-textarea:focus {
            outline: none;
            border-color: #0071bc;
            box-shadow: 0 0 0 3px rgba(0, 113, 188, 0.1);
        }
        
        .form-input, .form-select, .form-textarea {
            border: 2px solid #d6d7d9;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        
        .form-input:hover, .form-select:hover, .form-textarea:hover {
            border-color: #0071bc;
        }
        
        /* Data Management Panel Styling */
        .data-management-panel {
            position: sticky;
            bottom: 0;
            background: #ffffff;
            border-top: 3px solid #1e3a8a;
            box-shadow: 0 -4px 15px rgba(30,58,138,0.2);
            z-index: 1000;
            margin-top: 2rem;
        }
        
        .save-status-indicator {
            padding: 8px 12px;
            background: #ffffff;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            font-weight: bold;
            min-height: 20px;
            display: flex;
            align-items: center;
        }
        
        .report-section {
            margin-bottom: 2rem;
            padding: 1.5rem;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            background-color: #fafafa;
        }
        
        .report-section h5 {
            color: #2c3e50;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .report-section .help-text {
            color: #6c757d;
            font-size: 0.9em;
            margin-bottom: 1rem;
        }
        
        .help-icon {
            color: #007bff;
            cursor: help;
            margin-left: 0.25rem;
            font-size: 0.9em;
        }
        
        .help-icon:hover {
            color: #0056b3;
        }
        
        /* Tooltip styles */
        .tooltip {
            position: relative;
            display: inline-block;
        }
        
        .tooltip .tooltiptext {
            visibility: hidden;
            width: 300px;
            background-color: #333;
            color: #fff;
            text-align: left;
            border-radius: 6px;
            padding: 8px 12px;
            position: absolute;
            z-index: 1000;
            bottom: 125%;
            left: 50%;
            margin-left: -150px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.9em;
            line-height: 1.4;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }
        
        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }
        
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        
        .form-check-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 500;
        }
        
        .validation-summary {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 20px;
            margin: 20px 0;
        }
        
        .validation-counts {
            display: flex;
            gap: 15px;
            margin: 15px 0;
            flex-wrap: wrap;
        }
        
        .validation-counts span {
            padding: 5px 10px;
            border-radius: 4px;
            font-weight: bold;
            font-size: 0.9em;
        }
        
        .error-count {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        
        .warning-count {
            background: #fff3cd;
            color: #856404;
            border: 1px solid #ffeaa7;
        }
        
        .recommendation-count {
            background: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }
        
        .validation-section {
            margin: 15px 0;
        }
        
        .error-header, .warning-header, .recommendation-header {
            margin: 10px 0 5px 0;
            font-size: 1.1em;
        }
        
        .error-list, .warning-list, .recommendation-list {
            margin: 0;
            padding-left: 20px;
        }
        
        .error-item {
            color: #721c24;
            margin: 5px 0;
        }
        
        .warning-item {
            color: #856404;
            margin: 5px 0;
        }
        
        .recommendation-item {
            color: #0c5460;
            margin: 5px 0;
        }
        
        .validation-actions {
            margin-top: 20px;
            display: flex;
            gap: 10px;
        }
        
        .field-link {
            color: #e74c3c;
            text-decoration: none;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .field-link:hover {
            color: #c0392b;
            text-decoration: underline;
            background-color: #fdf2f2;
            padding: 2px 4px;
            border-radius: 3px;
        }
        
        .success {
            color: #28a745;
            font-weight: bold;
        }
        
        .warning {
            color: #ffc107;
            font-weight: bold;
        }
        
        .error {
            color: #dc3545;
            font-weight: bold;
        }
        
        .scoring-breakdown {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 15px;
            margin: 10px 0;
        }
        
        .scoring-breakdown li {
            margin: 5px 0;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
        }
        
        .data-management-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            background: #1e3a8a;
            border-bottom: 1px solid #1e3a8a;
            color: #ffffff;
            font-weight: 600;
        }
        
        .data-management-header h4 {
            color: #ffffff;
            margin: 0;
            font-size: 1.1rem;
        }
        
        .data-management-header h4 i {
            color: #ffffff;
            margin-right: 0.5rem;
        }
        
        .data-management-content {
            padding: 1rem 1.5rem;
            display: block;
        }
        
        /* Data Management Toggle Button - DHS Blue Styling */
        .data-management-header button {
            background: #ffffff;
            color: #1e3a8a;
            border: 2px solid #1e3a8a;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .data-management-header button:hover {
            background: #1e3a8a;
            color: #ffffff;
            border-color: #1e3a8a;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(30,58,138,0.3);
        }
        
        .data-management-header button:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(30,58,138,0.3);
        }
        
        .data-management-header button i {
            font-size: 1rem;
            transition: transform 0.3s ease;
        }
        
        .data-management-header button:hover i {
            transform: scale(1.1);
        }
        
        .data-management-content.collapsed {
            display: none;
        }
        
        .data-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: end;
        }
        
        .control-group {
            flex: 1;
            min-width: 200px;
        }
        
        .control-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        /* Data Management Control Buttons - DHS Blue Styling */
        .data-management-content .btn {
            background: #1e3a8a;
            color: #ffffff;
            border: 2px solid #1e3a8a;
            border-radius: 6px;
            padding: 0.5rem 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .data-management-content .btn:hover {
            background: #ffffff;
            color: #1e3a8a;
            border-color: #1e3a8a;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(30,58,138,0.3);
        }
        
        .data-management-content .btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(30,58,138,0.3);
        }
        
        .data-management-content .btn i {
            font-size: 0.9rem;
        }
        
        /* Save button specific styling */
        .data-management-content .btn-primary {
            background: #1e3a8a;
            border-color: #1e3a8a;
        }
        
        .data-management-content .btn-success {
            background: #38a169;
            border-color: #38a169;
        }
        
        .data-management-content .btn-success:hover {
            background: #ffffff;
            color: #38a169;
            border-color: #38a169;
        }
        
        /* Data Management Form Inputs - DHS Styling */
        .data-management-content .form-input {
            border: 2px solid #d6d7d9;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        
        .data-management-content .form-input:focus {
            border-color: #1e3a8a;
            box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
            outline: none;
        }
        
        .data-management-content .form-label {
            color: #1e3a8a;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
        }
        
        /* Data Management Status Indicators */
        .data-management-content .status-indicator {
            font-weight: 600;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.85rem;
        }
        
        .data-management-content .status-indicator.ready {
            background: #d4edda;
            color: #155724;
        }
        
        .data-management-content .status-indicator.saved {
            background: #d1ecf1;
            color: #0c5460;
        }
        
        .data-management-content .status-indicator.error {
            background: #f8d7da;
            color: #721c24;
        }
        
        /* Validation Section Styles */
        .validation-content {
            max-width: 100%;
            margin: 0 auto;
        }
        
        .validation-header {
            margin-bottom: 2rem;
        }
        
        .validation-controls {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }
        
        .validation-results {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 1rem;
        }
        
        .validation-summary {
            margin-bottom: 2rem;
        }
        
        .validation-summary h4 {
            color: #495057;
            margin-bottom: 1rem;
        }
        
        .validation-details h4 {
            color: #495057;
            margin-bottom: 1rem;
        }
        
        .validation-actions {
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid #dee2e6;
        }

        .form-analysis-results {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 1rem;
        }

        .field-analysis-item {
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 0.75rem;
            margin-bottom: 0.5rem;
        }

        .field-analysis-item.success {
            border-left: 4px solid #28a745;
        }

        .field-analysis-item.warning {
            border-left: 4px solid #ffc107;
        }

        .field-analysis-item.error {
            border-left: 4px solid #dc3545;
        }
        
        .validation-item {
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .validation-item.error {
            border-left: 4px solid #dc3545;
        }
        
        .validation-item.warning {
            border-left: 4px solid #ffc107;
        }
        
        .validation-item.success {
            border-left: 4px solid #28a745;
        }
        
        .validation-field-link {
            color: #007bff;
            text-decoration: none;
            font-weight: bold;
        }
        
        .validation-field-link:hover {
            text-decoration: underline;
        }
        
        .validation-section {
            font-size: 0.9rem;
            color: #6c757d;
            margin-top: 0.25rem;
        }
        
        /* VIP Executive Summary Styles */
        .vip-executive-content {
            max-width: 100%;
            margin: 0 auto;
        }
        
        .vip-dashboard {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 2rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            color: white;
        }
        
        .vip-score-card {
            text-align: center;
        }
        
        .vip-score-card h3 {
            margin-bottom: 1rem;
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        .score-display {
            font-size: 4rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .recommendation {
            font-size: 1.5rem;
            font-weight: bold;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            display: inline-block;
        }
        
        .recommendation.approve {
            background: #28a745;
            color: white;
        }
        
        .recommendation.conditional {
            background: #ffc107;
            color: #212529;
        }
        
        .recommendation.deny {
            background: #dc3545;
            color: white;
        }
        
        .vip-controls {
            display: flex;
            gap: 1rem;
        }
        
        .vip-results {
            margin-top: 2rem;
        }
        
        .vip-summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .vip-card {
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .vip-card h4 {
            color: #495057;
            margin-bottom: 1rem;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 0.5rem;
        }
        
        .vip-recommendation {
            background: #f8f9fa;
            border: 2px solid #dee2e6;
            border-radius: 8px;
            padding: 2rem;
            margin-top: 2rem;
        }
        
        .vip-recommendation h4 {
            color: #495057;
            margin-bottom: 1rem;
        }
        
        .show-stopper {
            background: #f8d7da;
            border: 1px solid #f5c6cb;
            color: #721c24;
            padding: 0.75rem;
            border-radius: 4px;
            margin-bottom: 0.5rem;
        }
        
        .quick-win {
            background: #d4edda;
            border: 1px solid #c3e6cb;
            color: #155724;
            padding: 0.75rem;
            border-radius: 4px;
            margin-bottom: 0.5rem;
        }
        
        .quick-win h5 {
            margin-bottom: 0.5rem;
            font-weight: bold;
        }
        
        .quick-win .cost {
            font-weight: bold;
            color: #0c5460;
        }
        
        .security-matrix {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .matrix-item {
            text-align: center;
            padding: 1rem;
            border-radius: 4px;
            border: 1px solid #dee2e6;
        }
        
        .matrix-item.good {
            background: #d4edda;
            border-color: #c3e6cb;
        }
        
        .matrix-item.fair {
            background: #fff3cd;
            border-color: #ffeaa7;
        }
        
        .matrix-item.poor {
            background: #f8d7da;
            border-color: #f5c6cb;
        }
        
        .matrix-item h5 {
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }
        
        .matrix-item .score {
            font-size: 1.5rem;
            font-weight: bold;
        }
        
        /* VIP Final Report Styles */
        .vip-report-content {
            max-width: 100%;
            margin: 0 auto;
        }
        
        .vip-report-controls {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            justify-content: center;
        }
        
        .vip-report-display {
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .vip-report-section {
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #e9ecef;
        }
        
        .vip-report-section h3 {
            color: #495057;
            margin-bottom: 1rem;
        }
        
        .vip-report-section h4 {
            color: #6c757d;
            margin-bottom: 0.5rem;
        }
        
        .vulnerability-item {
            background: #f8f9fa;
            border-left: 4px solid #dc3545;
            padding: 1rem;
            margin-bottom: 0.5rem;
            border-radius: 0 4px 4px 0;
        }
        
        .mitigation-item {
            background: #f8f9fa;
            border-left: 4px solid #28a745;
            padding: 1rem;
            margin-bottom: 0.5rem;
            border-radius: 0 4px 4px 0;
        }
        
        .mitigation-item h5 {
            margin-bottom: 0.5rem;
            color: #155724;
        }
        
        .mitigation-item .cost {
            font-weight: bold;
            color: #0c5460;
        }
        
        .mitigation-item .roi {
            color: #28a745;
            font-weight: bold;
        }
        
        /* Placeholder Content Styles */
        .placeholder-content {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 60vh;
            padding: 2rem;
        }
        
        .placeholder-card {
            background: #ffffff;
            border: 2px dashed #dee2e6;
            border-radius: 12px;
            padding: 3rem;
            text-align: center;
            max-width: 600px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .placeholder-icon {
            color: #6c757d;
            margin-bottom: 1.5rem;
        }
        
        .placeholder-card h3 {
            color: #495057;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }
        
        .placeholder-card p {
            color: #6c757d;
            margin-bottom: 2rem;
            line-height: 1.6;
        }
        
        .placeholder-features {
            text-align: left;
            margin: 2rem 0;
            padding: 1.5rem;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        .placeholder-features h4 {
            color: #495057;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }
        
        .placeholder-features ul {
            margin: 0;
            padding-left: 1.5rem;
        }
        
        .placeholder-features li {
            color: #6c757d;
            margin-bottom: 0.5rem;
        }
        
        .placeholder-status {
            margin-top: 2rem;
        }
        
        .status-badge {
            display: inline-block;
            background: #007bff;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        /* Notification System Styles */
        .notification-container {
            position: fixed;
            top: 20px;
            right: -400px;
            z-index: 9999;
            transition: right 0.3s ease-in-out;
        }
        
        .notification {
            background: #ffffff;
            border-left: 4px solid #007bff;
            border-radius: 4px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            margin-bottom: 10px;
            padding: 15px 20px;
            min-width: 300px;
            max-width: 400px;
            position: relative;
            transform: translateX(100%);
            transition: transform 0.3s ease-in-out;
        }
        
        .notification.show {
            transform: translateX(0);
        }
        
        .notification.success {
            border-left-color: #28a745;
        }
        
        .notification.warning {
            border-left-color: #ffc107;
        }
        
        .notification.error {
            border-left-color: #dc3545;
        }
        
        .notification.info {
            border-left-color: #17a2b8;
        }
        
        .notification-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 5px;
        }
        
        .notification-title {
            font-weight: 600;
            color: #495057;
            margin: 0;
        }
        
        .notification-close {
            background: none;
            border: none;
            font-size: 18px;
            color: #6c757d;
            cursor: pointer;
            padding: 0;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .notification-close:hover {
            color: #495057;
        }
        
        .notification-message {
            color: #6c757d;
            margin: 0;
            line-height: 1.4;
        }
        
        .notification-icon {
            margin-right: 10px;
            font-size: 16px;
        }
        
        .notification.success .notification-icon {
            color: #28a745;
        }
        
        .notification.warning .notification-icon {
            color: #ffc107;
        }
        
        .notification.error .notification-icon {
            color: #dc3545;
        }
        
        .notification.info .notification-icon {
            color: #17a2b8;
        }
        
        /* Vulnerability Report Styling */
        .vulnerability-section {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 20px;
            margin: 15px 0;
        }
        
        /* FIFA Suitability Analysis Styling */
        .fifa-suitability-section {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: white;
            padding: 30px;
            border-radius: 12px;
            margin: 20px 0;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .fifa-score-card {
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
            padding: 20px;
            margin: 20px 0;
            backdrop-filter: blur(10px);
        }
        
        .fifa-score-card h3 {
            color: #fff;
            font-size: 2em;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .fifa-categories {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .fifa-category {
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
            padding: 15px;
            backdrop-filter: blur(5px);
        }
        
        .fifa-category h4 {
            color: #fff;
            margin-bottom: 10px;
            font-size: 1.2em;
        }
        
        .score-bar {
            background: rgba(255,255,255,0.2);
            border-radius: 20px;
            height: 20px;
            position: relative;
            margin: 10px 0;
            overflow: hidden;
        }
        
        .score-fill {
            background: linear-gradient(90deg, #ff6b6b 0%, #ffd93d 50%, #6bcf7f 100%);
            height: 100%;
            border-radius: 20px;
            transition: width 0.5s ease;
        }
        
        .score-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-weight: bold;
            font-size: 0.9em;
        }
        
        .fifa-category p {
            color: rgba(255,255,255,0.9);
            font-size: 0.9em;
            margin-top: 10px;
        }
        
        .fifa-recommendation {
            background: rgba(255,255,255,0.2);
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
            text-align: center;
            font-size: 1.1em;
            border: 2px solid rgba(255,255,255,0.3);
        }
        
        .vulnerability-header {
            color: #dc3545;
            font-size: 1.1em;
            margin-bottom: 10px;
            border-bottom: 2px solid #dc3545;
            padding-bottom: 5px;
        }
        
        .vulnerability-summary {
            font-style: italic;
            color: #6c757d;
            margin-bottom: 15px;
        }
        
        .vulnerability-item {
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 15px;
            margin: 10px 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .vuln-header {
            font-weight: bold;
            color: #495057;
            margin-bottom: 8px;
            font-size: 1.05em;
        }
        
        .vuln-description {
            color: #6c757d;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .vuln-options {
            background: #f8f9fa;
            padding: 10px;
            border-radius: 4px;
            margin-top: 10px;
        }
        
        .option-item {
            margin: 5px 0;
            padding: 5px 0;
            border-bottom: 1px solid #e9ecef;
        }
        
        .option-item:last-child {
            border-bottom: none;
        }
        
        .option-more, .vulnerability-more {
            font-style: italic;
            color: #6c757d;
            text-align: center;
            margin: 10px 0;
        }
        
        .matched-questions {
            background: #f8f9fa;
            border-left: 3px solid #007bff;
            padding: 8px 12px;
            margin: 8px 0;
            border-radius: 0 4px 4px 0;
        }
        
        .question-match {
            font-size: 0.9em;
            color: #495057;
            margin: 2px 0;
        }
        
        .severity-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.8em;
            font-weight: bold;
            margin-right: 8px;
        }
        
        .severity-badge.high {
            background-color: #dc3545;
            color: white;
        }
        
        .severity-badge.medium {
            background-color: #ffc107;
            color: #212529;
        }
        
        .severity-badge.low {
            background-color: #28a745;
            color: white;
        }
        
        .vuln-category {
            font-size: 0.9em;
            color: #6c757d;
            margin: 4px 0;
            font-style: italic;
        }
        
        .option-meta {
            font-size: 0.8em;
            color: #6c757d;
            font-style: italic;
        }
        
        .vulnerability-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }
        
        .vulnerability-modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 90%;
            /* max-width: 1200px; */
            max-height: 80vh;
            overflow-y: auto;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .vulnerability-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #dc3545;
        }
        
        .vulnerability-modal-close {
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        
        .vulnerability-modal-close:hover {
            color: #000;
        }
        
        /* Vulnerability Mapping Styling */
        .mapping-statistics {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 15px;
            margin: 15px 0;
        }
        
        .mapping-statistics h4 {
            color: #495057;
            margin-bottom: 10px;
        }
        
        .mapping-statistics p {
            margin: 5px 0;
            color: #6c757d;
        }
        
        .mapping-section {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            padding: 15px;
            margin: 15px 0;
        }
        
        .mapping-section h4 {
            color: #dc3545;
            border-bottom: 2px solid #dc3545;
            padding-bottom: 5px;
            margin-bottom: 15px;
        }
        
        .mapping-subsection {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 12px;
            margin: 10px 0;
        }
        
        .mapping-subsection h5 {
            color: #495057;
            margin-bottom: 8px;
        }
        
        .mapping-subsection p {
            margin: 5px 0;
            font-size: 0.9em;
            color: #6c757d;
        }
        
        .mapping-vulnerabilities {
            margin-top: 10px;
        }
        
        .mapping-vuln-item {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 4px;
            padding: 8px;
            margin: 5px 0;
        }
        
        .mapping-vuln-desc {
            font-size: 0.85em;
            color: #6c757d;
            margin-top: 3px;
        }
        
        .mapping-more {
            font-style: italic;
            color: #6c757d;
            text-align: center;
            margin: 10px 0;
        }
        
        /* Professional Report Styling */
        .executive-summary, .full-report {
            font-family: 'Franklin Gothic', 'Arial', 'Helvetica', sans-serif;
            line-height: 1.6;
            color: #212529;
            /* max-width: 1200px; */
            /* margin: 0 auto; */
            padding: 2rem;
            background: white;
        }
        
        .report-header {
            background: var(--primary-blue);
            color: white;
            padding: 3rem 2rem;
            border-radius: 16px 16px 0 0;
            text-align: center;
            box-shadow: 0 8px 25px rgba(26, 54, 93, 0.2);
            position: relative;
            overflow: hidden;
            margin-bottom: 0;
        }
        
        .report-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
            pointer-events: none;
        }
        
        .report-header h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
            z-index: 1;
        }
        
        .report-header .subtitle {
            font-size: 1.25rem;
            font-weight: 300;
            opacity: 0.9;
            margin-bottom: 2rem;
            position: relative;
            z-index: 1;
        }
        
        .report-meta {
            background: #ffffff;
            padding: 2rem;
            border-radius: 0 0 16px 16px;
            margin: 0;
            border: 1px solid #e5e7eb;
            box-shadow: 0 4px 6px rgba(30, 64, 175, 0.1);
            font-size: 1rem;
            color: #1e40af;
            font-weight: 500;
        }
        
        .report-meta p {
            margin: 0.5rem 0;
            font-weight: 500;
        }
        
        .methodology-section, .facility-overview, .overall-assessment, 
        .security-systems-analysis, .physical-security-analysis, 
        .security-personnel-analysis, .vulnerabilities-section, 
        .enhancement-opportunities, .strategic-recommendations {
            margin: 3rem 0;
            padding: 2rem;
            background: #f8f9fa;
            border-radius: 8px;
            border-left: 4px solid var(--primary-blue);
        }
        
        .methodology-section h2, .facility-overview h2, .overall-assessment h2,
        .security-systems-analysis h2, .physical-security-analysis h2,
        .security-personnel-analysis h2, .vulnerabilities-section h2,
        .enhancement-opportunities h2, .strategic-recommendations h2 {
            color: #1f2937;
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid var(--border-gray);
            padding-bottom: 0.5rem;
        }
        
        .system-category {
            background: white;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 6px;
            border: 1px solid var(--border-gray);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .system-category h3 {
            color: #374151;
            font-size: 1.25rem;
            margin-bottom: 1rem;
            border-bottom: 1px solid var(--border-gray);
            padding-bottom: 0.5rem;
        }
        
        .system-category p {
            margin: 0.75rem 0;
            line-height: 1.5;
        }
        
        .assessment-score {
            background: var(--primary-blue);
            color: white;
            padding: 2rem;
            border-radius: 8px;
            text-align: center;
            margin: 2rem 0;
        }
        
        .assessment-score h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        
        .score-explanation {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .strengths-weaknesses {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin: 2rem 0;
        }
        
        .strengths, .areas-for-improvement {
            background: white;
            padding: 1.5rem;
            border-radius: 6px;
            border: 1px solid var(--border-gray);
        }
        
        .strengths h3 {
            color: var(--success-green);
            margin-bottom: 1rem;
        }
        
        .areas-for-improvement h3 {
            color: var(--warning-orange);
            margin-bottom: 1rem;
        }
        
        .vulnerability-item {
            background: white;
            border: 1px solid var(--border-gray);
            border-radius: 6px;
            padding: 1.5rem;
            margin: 1rem 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .vulnerability-item.high {
            border-left: 4px solid var(--danger-red);
        }
        
        .vulnerability-item.medium {
            border-left: 4px solid var(--warning-orange);
        }
        
        .vulnerability-item.low {
            border-left: 4px solid var(--success-green);
        }
        
        .vulnerability-item h4 {
            color: #1f2937;
            margin-bottom: 0.75rem;
            font-size: 1.1rem;
        }
        
        .severity-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .severity-badge.high {
            background-color: var(--danger-red);
            color: white;
        }
        
        .severity-badge.medium {
            background-color: var(--warning-orange);
            color: white;
        }
        
        .severity-badge.low {
            background-color: var(--success-green);
            color: white;
        }
        
        .opportunity-item {
            background: white;
            border: 1px solid var(--border-gray);
            border-radius: 6px;
            padding: 1.5rem;
            margin: 1rem 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            border-left: 4px solid var(--accent-blue);
        }
        
        .opportunity-item h4 {
            color: #1f2937;
            margin-bottom: 0.75rem;
            font-size: 1.1rem;
        }
        
        .table-of-contents {
            background: var(--light-gray);
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
        }
        
        .table-of-contents h2 {
            color: #1f2937;
            margin-bottom: 1rem;
        }
        
        .table-of-contents ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .table-of-contents li {
            margin: 0.5rem 0;
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--border-gray);
        }
        
        .table-of-contents a {
            color: #374151;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
        }
        
        .table-of-contents a:hover {
            color: #1f2937;
            text-decoration: underline;
        }
        
        .disclaimer {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 6px;
            padding: 1rem;
            margin: 1rem 0;
        }
        
        .disclaimer p {
            color: #856404;
            margin: 0;
            font-style: italic;
        }
        
        .next-steps {
            background: var(--light-blue);
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
            border-left: 4px solid var(--accent-blue);
        }
        
        .next-steps h2 {
            color: #1f2937;
            margin-bottom: 1rem;
        }
        
        .next-steps ol {
            margin: 0;
            padding-left: 1.5rem;
        }
        
        .next-steps li {
            margin: 0.75rem 0;
            color: #4a5568;
            font-weight: 500;
        }
        
        .positive-feedback {
            background: #d4edda;
            border: 1px solid #c3e6cb;
            border-radius: 6px;
            padding: 1rem;
            margin: 1rem 0;
        }
        
        .positive-feedback h4 {
            color: var(--success-green);
            margin-bottom: 0.75rem;
            font-size: 1rem;
        }
        
        .vip-hosting-analysis {
            background: #f0f8ff;
            border: 2px solid #1e88e5;
            border-radius: 8px;
            padding: 2rem;
            margin: 2rem 0;
        }
        
        .vip-hosting-analysis h3 {
            color: #1e88e5;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid #1e88e5;
            padding-bottom: 0.5rem;
        }
        
        .hosting-score {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .score-display {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .score-number {
            font-size: 3rem;
            font-weight: bold;
            color: #1e88e5;
        }
        
        .readiness-level {
            font-size: 1.5rem;
            font-weight: bold;
            color: #1e40af;
            background: #eff6ff;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            border: 1px solid #3b82f6;
        }
        
        .hosting-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }
        
        .hosting-category {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            padding: 1rem;
        }
        
        .hosting-category h4 {
            color: #1e88e5;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }
        
        .assessment-breakdown {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .breakdown-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .breakdown-item {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            padding: 1.5rem;
            margin: 0.5rem 0;
        }
        
        .breakdown-item.present {
            border-color: #1e40af;
            background: #eff6ff;
        }
        
        .breakdown-item.missing {
            border-color: #3b82f6;
            background: #f0f9ff;
        }
        
        .breakdown-item h5 {
            margin: 0 0 0.75rem 0;
            font-size: 1.1rem;
            font-weight: 600;
            color: #1e40af;
        }
        
        .breakdown-item p {
            margin: 0.5rem 0;
            font-size: 1rem;
            line-height: 1.5;
            color: #374151;
        }
        
        .assessment-summary {
            background: #eff6ff;
            border: 1px solid #3b82f6;
            border-radius: 4px;
            padding: 1rem;
            margin-top: 1rem;
            color: #1e40af;
        }
        
        .analysis-section {
            background: #f8fafc;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            padding: 1.5rem;
            margin: 1rem 0;
        }
        
        .analysis-section h4 {
            color: #1e40af;
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
            border-bottom: 2px solid #3b82f6;
            padding-bottom: 0.5rem;
        }
        
        .analysis-section p {
            line-height: 1.6;
            margin-bottom: 0.75rem;
        }
        
        .positive-feedback ul {
            margin: 0;
            padding-left: 1.25rem;
        }
        
        .positive-feedback li {
            margin: 0.5rem 0;
            color: #155724;
            font-weight: 500;
        }
        
        .emergency-planning-analysis {
            margin: 3rem 0;
            padding: 2rem;
            background: #f8f9fa;
            border-radius: 8px;
            border-left: 4px solid var(--primary-blue);
        }
        
        .emergency-planning-analysis h2 {
            color: #1f2937;
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid var(--border-gray);
            padding-bottom: 0.5rem;
        }
        
        .planning-assessment, .training-assessment, .exercise-assessment {
            background: white;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 6px;
            border: 1px solid var(--border-gray);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .planning-assessment h4, .training-assessment h4, .exercise-assessment h4 {
            color: #374151;
            margin-bottom: 1rem;
            font-size: 1.1rem;
            border-bottom: 1px solid var(--border-gray);
            padding-bottom: 0.5rem;
        }
        
        .planning-assessment ul, .training-assessment ul, .exercise-assessment ul {
            margin: 0;
            padding-left: 1.25rem;
        }
        
        .planning-assessment li, .training-assessment li, .exercise-assessment li {
            margin: 0.75rem 0;
            line-height: 1.5;
            color: #4a5568;
        }
        
        .planning-assessment li strong, .training-assessment li strong, .exercise-assessment li strong {
            color: #1f2937;
            font-weight: 600;
        }
        
        .standards-overview {
            background: #e3f2fd;
            border: 1px solid #bbdefb;
            border-radius: 6px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .standards-overview h3 {
            color: #1f2937;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }
        
        .standards-overview ul {
            margin: 0;
            padding-left: 1.25rem;
        }
        
        .standards-overview li {
            margin: 0.5rem 0;
            color: #4a5568;
        }
        
        .standards-overview li strong {
            color: #1f2937;
            font-weight: 600;
        }
        
        .opportunity-item {
            background: white;
            border: 1px solid var(--border-gray);
            border-radius: 6px;
            padding: 1.5rem;
            margin: 1rem 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            border-left: 4px solid var(--accent-blue);
        }
        
        .opportunity-item h4 {
            color: #1f2937;
            margin-bottom: 0.75rem;
            font-size: 1.1rem;
        }
        
        .opportunity-item p {
            margin: 0.5rem 0;
            line-height: 1.5;
        }
        
        .opportunity-item strong {
            color: #374151;
            font-weight: 600;
        }
        
        .executive-dashboard {
            background: var(--primary-blue);
            color: white;
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
        }
        
        .executive-dashboard h2 {
            color: white;
            margin-bottom: 1.5rem;
            text-align: center;
        }
        
        .dashboard-metrics {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
        
        .dashboard-metrics .metric-card {
            background: rgba(255, 255, 255, 0.1);
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            backdrop-filter: blur(10px);
        }
        
        .dashboard-metrics .metric-card h3 {
            font-size: 2.5rem;
            margin: 0 0 0.5rem 0;
            color: white;
        }
        
        .dashboard-metrics .metric-card p {
            margin: 0;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
        }
        
        .executive-overview {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
            border-left: 4px solid var(--primary-blue);
        }
        
        .executive-overview h2 {
            color: #1f2937;
            margin-bottom: 1rem;
        }
        
        .key-findings {
            background: white;
            padding: 1.5rem;
            border-radius: 6px;
            margin: 1.5rem 0;
            border: 1px solid var(--border-gray);
        }
        
        .key-findings h3 {
            color: #374151;
            margin-bottom: 1rem;
        }
        
        .key-findings ul {
            margin: 0;
            padding-left: 1.25rem;
        }
        
        .key-findings li {
            margin: 0.75rem 0;
            line-height: 1.5;
        }
        
        .key-findings strong {
            color: #1f2937;
            font-weight: 600;
        }

/* Report readability improvements when navigation is unstuck */
.site-security-header.unstick-nav ~ .assessment-progress ~ .site-security-container {
    padding-top: 0 !important;
}

.site-security-header.unstick-nav ~ .assessment-progress ~ .site-security-container .section {
    margin-top: 0 !important;
    padding-top: 1rem !important;
}

/* Ensure report content has proper spacing */
#executive_summary .container,
#final_report .container {
    padding-top: 1rem;
}

/* Make report sections more readable with unstuck navigation */
#executive_summary .section-header,
#final_report .section-header {
    margin-top: 0;
    padding-top: 1rem;
}

/* Ensure report content is not cut off */
#executive_summary .section,
#final_report .section {
    min-height: auto;
    padding-bottom: 2rem;
}
/* Dynamic Vulnerability Analysis Styles */
.vulnerability-indicator {
    border: 2px solid #dc3545 !important;
    background-color: #f8d7da !important;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.3) !important;
    animation: vulnerabilityPulse 2s infinite;
}

.enhancement-indicator {
    border: 2px solid #28a745 !important;
    background-color: #d4edda !important;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.3) !important;
    animation: enhancementGlow 2s infinite;
}

@keyframes vulnerabilityPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(220, 53, 69, 0.3); }
    50% { box-shadow: 0 0 16px rgba(220, 53, 69, 0.6); }
}

@keyframes enhancementGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(40, 167, 69, 0.3); }
    50% { box-shadow: 0 0 16px rgba(40, 167, 69, 0.6); }
}

/* Security Score Classes */
.score-excellent {
    color: #28a745;
    font-weight: bold;
}

.score-good {
    color: #17a2b8;
    font-weight: bold;
}

.score-fair {
    color: #ffc107;
    font-weight: bold;
}

.score-poor {
    color: #dc3545;
    font-weight: bold;
}

/* Vulnerability Counter Styles */
.vulnerability-count {
    color: #dc3545;
    font-weight: bold;
    background: #f8d7da;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #dc3545;
}

.enhancement-count {
    color: #28a745;
    font-weight: bold;
    background: #d4edda;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #28a745;
}

/* Real-time Analysis Panel */
.dynamic-analysis-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    background: white;
    border: 2px solid var(--cisa-primary-blue);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.dynamic-analysis-panel h4 {
    color: var(--cisa-primary-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.vulnerability-item {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    border-left: 4px solid;
    font-size: 0.9rem;
}

.vulnerability-item.high {
    background: #f8d7da;
    border-left-color: #dc3545;
}

.vulnerability-item.medium {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.vulnerability-item.low {
    background: #d1ecf1;
    border-left-color: #17a2b8;
}

.vulnerability-field {
    font-weight: bold;
    color: var(--cisa-dark-gray);
}

.vulnerability-intent {
    color: var(--cisa-dark-gray);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Progress Bar Enhancements */
.progress-fill[data-score] {
    transition: width 0.5s ease, background-color 0.5s ease;
}

.progress-fill[data-score= 100] {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.progress-fill[data-score]:not([data-score=100]) {
    background: linear-gradient(90deg, var(--cisa-primary-blue), var(--cisa-light-blue));
}
/* Analysis Panel Additional Styles */
.analysis-summary {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.summary-item {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.no-vulnerabilities {
    text-align: center;
    color: #28a745;
    font-weight: bold;
    padding: 1rem;
    background: #d4edda;
    border-radius: 4px;
    border: 1px solid #28a745;
}

.vulnerability-list {
    max-height: 200px;
    overflow-y: auto;
}

#analysis-toggle {
    background: var(--cisa-primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

#analysis-toggle:hover {
    background: var(--cisa-dark-blue);
}

#analysis-toggle.active {
    background: #dc3545;
}
/* Header should always scroll normally */
.site-security-header {
    position: relative !important;
}

/* Ensure header stays at top of viewport */
body {
    margin: 0;
    padding: 0;
}

/* Fix any potential overflow issues */
.site-security-container {
    overflow-x: hidden;
}
/* References Section Styles */
.references-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e9ecef;
}

.references-overview {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--cisa-dark-gray);
}

.references-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.reference-category {
    background: white;
    border-radius: 6px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.reference-category h4 {
    color: var(--cisa-primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--cisa-light-blue);
    padding-bottom: 0.5rem;
}

.reference-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
    color: var(--cisa-dark-gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

.reference-list li:last-child {
    border-bottom: none;
}

.reference-list li:before {
    content: '•';
    color: var(--cisa-primary-blue);
    font-weight: bold;
    margin-right: 0.5rem;
}

.references-note {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.references-note p {
    margin: 0;
    color: var(--cisa-dark-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Missing CSS Classes - Critical Issue Fix */

/* Form Section Styles */
.form-section {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

.form-section.completed {
    border-color: #28a745;
    background: #f8fff9;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.form-section .form-group {
    margin-bottom: 15px;
}

.form-section .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #495057;
}

.form-section .form-group input,
.form-section .form-group select,
.form-section .form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.form-section .form-group input:focus,
.form-section .form-group select:focus,
.form-section .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Progress Container Styles */
.progress-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.progress-container .progress-header {
    margin-bottom: 15px;
}

.progress-container .progress-header h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.progress-container .progress-text {
    color: #6c757d;
    font-size: 14px;
}

.progress-container .progress-bar {
    width: 100%;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-container .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
}

/* Main Content Styles */
.main-content {
    padding: 20px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

.main-content .section {
    margin-bottom: 30px;
}

.main-content .section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.main-content .section-title {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.main-content .section-description {
    color: #6c757d;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Executive Summary Container */
.executive-summary-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.executive-summary-container h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.executive-summary-container .summary-content {
    color: #495057;
    line-height: 1.6;
}

.executive-summary-container .summary-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.executive-summary-container .metric-card {
    background: white;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    text-align: center;
}

.executive-summary-container .metric-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.executive-summary-container .metric-label {
    color: #6c757d;
    font-size: 0.9em;
}

/* Comprehensive Full Report */
.comprehensive-full-report {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.comprehensive-full-report h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2em;
    border-bottom: 3px solid #007bff;
    padding-bottom: 10px;
}

.comprehensive-full-report h2 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.comprehensive-full-report h3 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.comprehensive-full-report .report-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #f8f9fa;
}

.comprehensive-full-report .report-section h2 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.comprehensive-full-report .vulnerability-item {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    border-left: 4px solid #dc3545;
}

.comprehensive-full-report .vulnerability-item.high {
    border-left-color: #dc3545;
}

.comprehensive-full-report .vulnerability-item.medium {
    border-left-color: #fd7e14;
}

.comprehensive-full-report .vulnerability-item.low {
    border-left-color: #17a2b8;
}

.comprehensive-full-report .options-for-consideration {
    background: #d4edda;
    padding: 15px;
    border-radius: 4px;
    margin: 10px 0;
    border-left: 4px solid #28a745;
}

.comprehensive-full-report .options-for-consideration h4 {
    color: #155724;
    margin-bottom: 10px;
}

.comprehensive-full-report .options-for-consideration ul {
    margin: 10px 0;
    padding-left: 20px;
}

.comprehensive-full-report .options-for-consideration li {
    margin: 5px 0;
    color: #155724;
}

/* Cross-Browser Compatibility - Critical Issue Fix */

/* CSS Grid Support with Fallbacks */
@supports (display: grid) {
    .executive-summary-container .summary-metrics {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* Fallback for browsers without Grid support */
@supports not (display: grid) {
    .executive-summary-container .summary-metrics {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .executive-summary-container .metric-card {
        flex: 1 1 200px;
        margin: 5px;
    }
}

/* Flexbox Support with Fallbacks */
.site-security-header {
    display: flex;
    display: -webkit-flex; /* Safari */
    display: -ms-flexbox; /* IE 10 */
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    align-items: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
}

/* IE 10/11 Flexbox Support */
.site-security-header {
    -ms-flex-direction: row;
    -ms-flex-wrap: nowrap;
}

/* Modern CSS with Fallbacks */
.progress-container .progress-fill {
    background: #28a745; /* Fallback */
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
    -moz-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
}

/* Box Shadow with Fallbacks */
.comprehensive-full-report {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Border Radius with Fallbacks */
.form-section,
.progress-container,
.executive-summary-container,
.comprehensive-full-report {
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
}

/* CSS Variables with Fallbacks */
:root {
    --cisa-primary-blue: #1e3a8a;
    --cisa-light-blue: #3b82f6;
    --cisa-dark-gray: #374151;
    --cisa-light-gray: #f3f4f6;
}

/* Fallback colors for browsers without CSS variable support */
.site-security-header {
    background: #1e3a8a; /* Fallback */
    background: var(--cisa-primary-blue);
    color: white;
}

/* Responsive Design with Fallbacks */
@media (max-width: 768px) {
    .site-security-header {
        flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        padding: 10px;
    }
    
    .main-content {
        padding: 10px;
    }
    
    .form-section {
        margin: 10px 0;
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    .site-security-header,
    .progress-container {
        display: none;
    }
    
    .main-content {
        padding: 0;
        box-shadow: none;
    }
    
    .comprehensive-full-report {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .form-section {
        border: 2px solid #000;
    }
    
    .vulnerability-item {
        border-left: 6px solid #000;
    }
    
    .options-for-consideration {
        border-left: 6px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .progress-container .progress-fill {
        transition: none;
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --cisa-primary-blue: #3b82f6;
        --cisa-light-blue: #60a5fa;
        --cisa-dark-gray: #f3f4f6;
        --cisa-light-gray: #1f2937;
    }
    
    .main-content {
        background: #1f2937;
        color: #f3f4f6;
    }
    
    .form-section {
        background: #374151;
        border-color: #4b5563;
        color: #f3f4f6;
    }
    
    .comprehensive-full-report {
        background: #1f2937;
        color: #f3f4f6;
    }
}
