    /* ================================================================
       PRISM Global Design Bridge
       Injected via nav_component.html → applies to all 17 pages
       Uses `body` prefix for specificity over inline <style> blocks
       ================================================================ */

    /* ---- Design Tokens ---- */
    :root {
        --prism-blue: #1e40af;
        --prism-blue-light: #3b82f6;
        --prism-blue-dark: #1e3a8a;
        --prism-cyan: #06b6d4;
        --prism-text: #0f172a;
        --prism-text-secondary: #64748b;
        --prism-border: #e2e8f0;
        --prism-bg-soft: #f8fafc;
        --prism-radius: 16px;
        --prism-radius-sm: 10px;
        --prism-ease: cubic-bezier(.22, 1, .36, 1);
        --prism-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        --prism-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(59, 130, 246, 0.06);
        --prism-shadow-glow: 0 8px 30px rgba(59, 130, 246, 0.12);
    }

    /* ---- Global Card Upgrade ---- */
    body .card-custom {
        background: white;
        border-radius: var(--prism-radius);
        border: 1px solid var(--prism-border);
        box-shadow: var(--prism-shadow);
        transition: all 0.35s var(--prism-ease);
    }

    body .card-custom:hover {
        transform: translateY(-3px);
        box-shadow: var(--prism-shadow-hover);
        border-color: rgba(59, 130, 246, 0.15);
    }

    /* ---- Dashboard Header Upgrade ---- */
    body .dashboard-header {
        background: white;
        border-bottom: none;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
        position: relative;
    }

    body .dashboard-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--prism-blue) 0%, var(--prism-blue-light) 50%, var(--prism-cyan) 100%);
        opacity: 0.6;
    }

    body .dashboard-header h1 {
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    /* ---- Stat Card Upgrade ---- */
    body .stat-card {
        background: white;
        border-radius: var(--prism-radius);
        border: 1px solid var(--prism-border);
        border-left: none;
        box-shadow: var(--prism-shadow);
        transition: all 0.35s var(--prism-ease);
        position: relative;
        overflow: hidden;
    }

    body .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--prism-blue) 0%, var(--prism-cyan) 100%);
    }

    body .stat-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--prism-shadow-glow);
    }

    /* ---- Button Upgrade ---- */
    body .btn-primary {
        background: linear-gradient(135deg, var(--prism-blue) 0%, var(--prism-blue-light) 100%);
        border: none;
        border-radius: var(--prism-radius-sm);
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        transition: all 0.3s var(--prism-ease);
        position: relative;
    }

    body .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    body .btn-primary:active {
        transform: translateY(0);
    }

    /* ---- Card Title Icon Alignment ---- */
    body .card-title {
        font-weight: 700;
        letter-spacing: -0.3px;
    }

    /* ---- Tab Navigation Upgrade ---- */
    body .tab-navigation {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--prism-border);
    }

    body .nav-pills-custom .nav-link-custom {
        transition: all 0.25s var(--prism-ease);
        border-radius: var(--prism-radius-sm);
    }

    /* ---- Data Table Upgrade ---- */
    body .data-table {
        border-radius: var(--prism-radius);
        overflow: hidden;
        box-shadow: var(--prism-shadow);
    }

    body .data-table th {
        background: linear-gradient(135deg, var(--prism-blue) 0%, var(--prism-blue-dark) 100%);
    }

    /* ---- Global Transition Easing ---- */
    body .card,
    body .metric-card,
    body .comparison-item,
    body .search-container,
    body .search-filter-container {
        transition: all 0.35s var(--prism-ease);
    }

    body .card:hover {
        box-shadow: var(--prism-shadow-hover);
    }

    /* ---- Metric Card Refinement ---- */
    body .metric-card {
        border-radius: var(--prism-radius);
        border: none;
    }

    body .metric-card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    /* ================================================================
       Navigation Bar — Glassmorphic
       ================================================================ */
    .prism-nav {
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        color: var(--prism-text);
        box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
        position: sticky;
        top: 0;
        z-index: 1000;
        margin-bottom: 12px;
    }

    .prism-nav-container {
        max-width: 1800px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        padding: 0 20px;
    }

    /* Brand */
    .prism-brand {
        color: var(--prism-text);
        font-weight: 700;
        padding: 14px 0;
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        transition: opacity 0.2s;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .prism-brand:hover { opacity: 0.8; }

    .prism-brand i {
        font-size: 26px;
        background: linear-gradient(135deg, var(--prism-blue) 0%, var(--prism-blue-light) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .prism-brand-text {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .prism-brand-title {
        font-size: 20px;
        font-weight: 800;
        letter-spacing: -0.3px;
        background: linear-gradient(135deg, var(--prism-blue) 0%, var(--prism-blue-light) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .prism-brand-subtitle {
        font-size: 8.5px;
        font-weight: 600;
        color: var(--prism-text-secondary);
        letter-spacing: 0.6px;
        text-transform: uppercase;
    }

    /* Navigation Menu */
    .prism-nav-menu {
        display: flex;
        align-items: center;
        gap: 2px;
        flex: 1;
    }

    .prism-nav-right {
        display: flex;
        align-items: center;
        margin-left: auto;
        flex-shrink: 0;
    }

    .prism-nav-item {
        position: relative;
    }

    .prism-nav-link {
        color: var(--prism-text-secondary);
        text-decoration: none;
        font-weight: 600;
        font-size: 13.5px;
        padding: 18px 14px;
        display: flex;
        align-items: center;
        gap: 6px;
        border-bottom: 2px solid transparent;
        transition: all 0.25s var(--prism-ease);
        cursor: pointer;
        user-select: none;
        white-space: nowrap;
    }

    .prism-nav-link:hover {
        color: var(--prism-blue);
        background: rgba(59, 130, 246, 0.05);
        border-bottom-color: rgba(59, 130, 246, 0.3);
    }

    .prism-nav-link.active {
        color: var(--prism-blue);
        background: rgba(59, 130, 246, 0.06);
        border-bottom-color: var(--prism-blue);
    }

    .prism-nav-link i { font-size: 13px; }

    .prism-nav-link .dropdown-arrow {
        font-size: 9px;
        margin-left: 2px;
        transition: transform 0.3s var(--prism-ease);
    }

    .prism-nav-item.open .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Dropdown */
    .prism-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        min-width: 240px;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: all 0.25s var(--prism-ease);
        display: none;
        z-index: 150;
        padding: 8px 0;
    }

    .prism-nav-item.open .prism-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
    }

    .prism-nav-right .prism-dropdown {
        left: auto;
        right: 0;
        min-width: 180px;
    }

    .prism-dropdown-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        color: var(--prism-text-secondary);
        text-decoration: none;
        font-weight: 500;
        font-size: 13.5px;
        transition: all 0.2s var(--prism-ease);
        border-left: 3px solid transparent;
    }

    .prism-dropdown-link:hover {
        background: rgba(59, 130, 246, 0.05);
        color: var(--prism-blue);
        border-left-color: var(--prism-blue-light);
    }

    .prism-dropdown-link.active {
        background: rgba(59, 130, 246, 0.08);
        color: var(--prism-blue);
        border-left-color: var(--prism-blue-light);
        font-weight: 600;
    }

    .prism-dropdown-link i {
        font-size: 13px;
        color: var(--prism-text-secondary);
        width: 18px;
        text-align: center;
        flex-shrink: 0;
        transition: color 0.2s;
    }

    .prism-dropdown-link:hover i,
    .prism-dropdown-link.active i {
        color: var(--prism-blue-light);
    }

    .prism-dropdown-divider {
        height: 1px;
        background: var(--prism-border);
        margin: 6px 0;
    }

    .prism-dropdown-subheader {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px 5px;
        color: var(--prism-blue);
        font-weight: 700;
        font-size: 10.5px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }

    .prism-dropdown-subheader i {
        font-size: 11px;
        color: var(--prism-blue-light);
    }

    /* Mobile Toggle */
    .prism-mobile-toggle {
        display: none;
        background: transparent;
        border: none;
        color: var(--prism-text);
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        margin-left: auto;
    }

    .mobile-close { display: none; }

    /* ---- Mobile Responsive ---- */
    @media (max-width: 1100px) {
        .prism-mobile-toggle { display: block; }

        .prism-nav-menu,
        .prism-nav-right {
            position: fixed;
            top: 0;
            left: -100%;
            width: 300px;
            height: 100vh;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            flex-direction: column;
            align-items: stretch;
            gap: 0;
            padding-top: 60px;
            box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
            transition: left 0.35s var(--prism-ease);
            overflow-y: auto;
            z-index: 200;
        }

        .prism-nav-right {
            position: static;
            width: auto;
            height: auto;
            padding-top: 0;
            box-shadow: none;
            border-top: 1px solid var(--prism-border);
            margin-top: 10px;
            padding-top: 10px;
        }

        .prism-nav-menu.mobile-open {
            left: 0;
            display: flex;
        }

        .prism-nav-menu.mobile-open .prism-nav-right {
            display: flex;
        }

        .prism-nav-link {
            color: var(--prism-text-secondary);
            border-bottom: 1px solid #f1f5f9;
            border-left: 3px solid transparent;
            padding: 14px 20px;
        }

        .prism-nav-link:hover,
        .prism-nav-link.active {
            background: rgba(59, 130, 246, 0.05);
            color: var(--prism-blue);
            border-left-color: var(--prism-blue-light);
        }

        .prism-dropdown {
            position: static;
            box-shadow: none;
            border-radius: 0;
            background: var(--prism-bg-soft);
            backdrop-filter: none;
            transform: none !important;
            max-height: 0;
            overflow: hidden;
            min-width: unset;
            padding: 0;
        }

        .prism-nav-item.open .prism-dropdown {
            max-height: 2000px;
            transform: none !important;
            padding: 4px 0;
        }

        .prism-dropdown-link {
            padding-left: 30px;
            border-left: none;
            border-bottom: 1px solid #f1f5f9;
        }

        .prism-dropdown-link:hover {
            border-left: none;
        }

        .mobile-close {
            display: block;
            position: absolute;
            top: 15px;
            right: 15px;
            background: transparent;
            border: none;
            color: var(--prism-text-secondary);
            font-size: 28px;
            cursor: pointer;
            padding: 5px;
        }

        /* Drop backdrop-filter on mobile for performance */
        body .stat-card,
        body .tab-navigation {
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }
    }

    @media (max-width: 768px) {
        .prism-brand-subtitle { display: none; }
        .prism-brand-title { font-size: 18px; }
        .prism-brand i { font-size: 22px; }

        .prism-nav {
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
    }
