
        /* ============================================================
           CRITICAL FALLBACKS
           ============================================================ */
        .hidden { display: none !important; }
        
        /* ============================================================
           INDUSTRIAL PREMIUM LIGHT THEME — Rakantham Lead Manager
           ============================================================ */

        /* --- BASE & RESETS --- */
        html, body {
            max-width: 100vw;
            overflow-x: hidden;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', 'Roboto', sans-serif;
            background-color: #eef0f4;
            color: #1e293b;
            -webkit-font-smoothing: antialiased;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: 'Rajdhani', 'Oswald', sans-serif;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #0f172a;
        }

        /* --- ANIMATIONS --- */
        .fade-in {
            animation: fadeIn 0.4s ease-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(8px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse-red {
            0% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
            }

            70% {
                transform: scale(1);
                box-shadow: 0 0 0 8px rgba(249, 115, 22, 0);
            }

            100% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
            }
        }

        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }

            100% {
                background-position: 200% 0;
            }
        }

        @keyframes glowPulse {

            0%,
            100% {
                box-shadow: 0 0 15px rgba(249, 115, 22, 0.1);
            }

            50% {
                box-shadow: 0 0 25px rgba(249, 115, 22, 0.2);
            }
        }

        .notification-pulse {
            animation: pulse-red 2s infinite;
        }

        /* --- STATUS PILLS (Light Theme) --- */
        .status-pending {
            background-color: #fef3c7;
            color: #b45309;
            border: 1px solid #fcd34d;
        }

        .status-interested {
            background-color: #d1fae5;
            color: #047857;
            border: 1px solid #6ee7b7;
        }

        .status-call-later {
            background-color: #dbeafe;
            color: #1d4ed8;
            border: 1px solid #93c5fd;
        }

        .status-not-interested {
            background-color: #fee2e2;
            color: #dc2626;
            border: 1px solid #fca5a5;
        }

        .status-completed {
            background-color: #ede9fe;
            color: #7c3aed;
            border: 1px solid #c4b5fd;
        }

        /* --- TABLE STYLES (Light) --- */
        .table-container {
            overflow-x: auto;
            width: 100%;
            -webkit-overflow-scrolling: touch;
        }

        th,
        td {
            white-space: normal !important;
            word-wrap: break-word;
            overflow-wrap: break-word;
            min-width: auto;
        }

        th:last-child,
        td:last-child {
            width: 100px;
            min-width: 100px;
            white-space: nowrap !important;
        }

        table {
            border-collapse: separate;
            border-spacing: 0;
        }

        thead th {
            background: #f1f5f9 !important;
            color: #475569 !important;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            font-size: 0.7rem;
            border-bottom: 2px solid #f97316 !important;
            padding: 0.75rem 1rem !important;
        }

        tbody tr {
            background: #ffffff;
            transition: all 0.2s ease;
            border-bottom: 1px solid #e2e8f0;
        }

        tbody tr:nth-child(even) {
            background: #f8fafc;
        }

        tbody tr:hover {
            background: rgba(249, 115, 22, 0.06) !important;
        }

        /* Reminder due today — orange highlight at TOP of table */
        tbody tr.reminder-due-row {
            background: linear-gradient(90deg, #fff7ed 0%, #ffedd5 100%) !important;
            border-left: 4px solid #f97316 !important;
            border-bottom: 1px solid #fed7aa !important;
        }
        tbody tr.reminder-due-row:hover {
            background: linear-gradient(90deg, #ffedd5 0%, #fed7aa 100%) !important;
        }

        tbody td {
            color: #334155;
            border-bottom: 1px solid #e2e8f0;
            padding: 0.6rem 1rem !important;
        }

        /* --- SCROLLBAR --- */
        ::-webkit-scrollbar {
            width: 12px;
            height: 12px;
        }

        ::-webkit-scrollbar-track {
            background: #e2e8f0;
            border-radius: 6px;
        }

        ::-webkit-scrollbar-thumb {
            background: #1e293b;
            border-radius: 6px;
            border: 2px solid #e2e8f0;
            box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #0f172a;
            box-shadow: inset 0 0 6px rgba(0,0,0,0.35);
        }

        ::-webkit-scrollbar-corner {
            background: #e2e8f0;
        }

        /* --- FORM CONTROLS (Light) --- */
        select,
        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="number"],
        input[type="file"],
        textarea {
            background-color: #ffffff !important;
            border: 1px solid #d1d5db !important;
            color: #1e293b !important;
            border-radius: 6px;
            transition: all 0.25s ease;
        }

        select:focus,
        input:focus,
        textarea:focus {
            border-color: #f97316 !important;
            box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12) !important;
            outline: none !important;
        }

        select option {
            background: #ffffff;
            color: #1e293b;
        }

        /* --- TOAST STYLES (Light) --- */
        .toast {
            min-width: 280px;
            background: #ffffff;
            color: #1e293b;
            padding: 16px 20px;
            border-radius: 8px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            font-size: 13px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.3s, transform 0.3s;
            pointer-events: auto;
            border-left: 4px solid #f97316;
        }

        .toast.show {
            opacity: 1;
            transform: translateY(0);
        }

        .toast-info {
            border-left: 4px solid #f97316;
        }

        /* --- CSS VARIABLES (Light Industrial) --- */
        :root {
            --panel-bg: #ffffff;
            --panel-border: #e2e8f0;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --accent-primary: #f97316;
            --accent-secondary: #fb923c;
            --success: #10b981;
            --radius: 8px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --card-bg: #ffffff;
            --border: #e2e8f0;
        }

        /* --- PARTS SEARCH STYLES (Light) --- */
        .search-container {
            display: flex;
            justify-content: center;
            animation: fadeInUp 0.8s ease-out 0.2s both;
            margin-bottom: 1.5rem;
        }

        .search-input {
            width: 100%;
            background: #ffffff !important;
            border: 1px solid #d1d5db !important;
            color: #1e293b !important;
            padding: 1rem 1.5rem;
            font-size: 1.1rem;
            border-radius: 50px;
            outline: none;
            transition: var(--transition);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
        }

        .search-input:focus {
            border-color: #f97316 !important;
            box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06) !important;
        }

        .search-input::placeholder {
            color: #94a3b8;
        }

        .stats {
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.9rem;
            animation: fadeIn 1s both;
            margin-bottom: 1rem;
        }

        .results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .part-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: var(--radius);
            padding: 1.5rem;
            transition: var(--transition);
            position: relative;
            animation: fadeInUp 0.5s ease-out both;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        }

        .part-card:hover {
            transform: translateY(-4px);
            border-color: #f97316;
            box-shadow: 0 8px 24px rgba(249, 115, 22, 0.12);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .part-number {
            font-size: 1.2rem;
            font-weight: 600;
            color: #ea580c;
        }

        .part-model {
            font-size: 0.8rem;
            background: #f1f5f9;
            padding: 0.3rem 0.6rem;
            border-radius: 4px;
            color: #64748b;
            font-weight: 500;
        }

        .part-description {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            line-height: 1.4;
            color: #334155;
        }

        .pricing-section {
            background: #f8fafc;
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1.5rem;
            border: 1px dashed #cbd5e1;
        }

        .price-input-group {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .price-input-group label {
            font-size: 0.9rem;
            color: #64748b;
            width: 80px;
            flex-shrink: 0;
        }

        .price-input {
            flex: 1;
            min-width: 0;
            background: #ffffff !important;
            border: 1px solid #d1d5db !important;
            color: #1e293b !important;
            padding: 0.6rem;
            border-radius: 6px;
            outline: none;
            transition: var(--transition);
        }

        .price-input:focus {
            border-color: #f97316 !important;
        }

        .price-result {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 1rem;
            border-top: 1px dashed #cbd5e1;
        }

        .price-result span {
            font-size: 0.9rem;
            color: #64748b;
            font-weight: 500;
        }

        .price-value {
            font-size: 1.4rem;
            font-weight: 700;
            color: #059669;
        }

        .btn-search {
            background: #ffffff;
            color: #334155;
            border: 1px solid #d1d5db;
            padding: 0.6rem 1rem;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-weight: 500;
        }

        .btn-search:hover:not(:disabled) {
            background: #f1f5f9;
            border-color: #f97316;
            color: #ea580c;
        }

        .btn-search:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* --- INDUSTRIAL BUTTON SYSTEM --- */
        .ind-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            font-weight: 600;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            transition: all 0.25s ease;
            border: 1px solid transparent;
            cursor: pointer;
        }

        .ind-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        /* --- MOBILE --- */
        @media (max-width: 768px) {
            .table-container {
                font-size: 0.75rem;
            }

            th,
            td {
                padding: 0.35rem !important;
            }
        }

        /* ============================================================
           BUSINESS CONTACTS MODULE
           ============================================================ */
        .bc-panel {
            position: fixed;
            inset: 0;
            z-index: 100;
            background: rgba(0,0,0,0.82);
            backdrop-filter: blur(6px);
            display: flex;
            align-items: flex-start;
            justify-content: center;
            overflow-y: auto;
            padding: 1rem;
        }
        .bc-panel-inner {
            background: #f8fafc;
            border-radius: 20px;
            width: 100%;
            max-width: 1140px;
            margin: auto;
            box-shadow: 0 40px 100px rgba(0,0,0,0.5);
            overflow: hidden;
            animation: fadeInUp 0.3s ease-out;
            min-height: 80vh;
        }
        .bc-panel-header {
            background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
            padding: 1.25rem 1.75rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 3px solid rgba(255,255,255,0.1);
        }
        .bc-tabs-bar {
            display: flex;
            gap: 0;
            background: #ffffff;
            border-bottom: 2px solid #e2e8f0;
            overflow-x: auto;
            flex-wrap: nowrap;
            padding: 0 1rem;
        }
        .bc-tab {
            padding: 0.8rem 1.1rem;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            color: #94a3b8;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            white-space: nowrap;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.35rem;
            font-family: 'Rajdhani', sans-serif;
        }
        .bc-tab:hover { color: #7c3aed; }
        .bc-tab.active {
            color: #7c3aed;
            border-bottom-color: #7c3aed;
        }
        .bc-search-bar {
            padding: 1rem 1.5rem;
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }
        .bc-search-input {
            flex: 1;
            min-width: 200px;
            background: #f8fafc !important;
            border: 1.5px solid #e2e8f0 !important;
            color: #1e293b !important;
            padding: 0.6rem 1rem;
            border-radius: 50px;
            outline: none;
            font-size: 0.85rem;
            transition: all 0.2s;
        }
        .bc-search-input:focus {
            border-color: #7c3aed !important;
            box-shadow: 0 0 0 3px rgba(124,58,237,0.1) !important;
        }
        .bc-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.1rem;
            padding: 1.25rem 1.5rem;
        }
        .bc-contact-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            padding: 1.2rem;
            transition: all 0.2s ease;
            box-shadow: 0 1px 4px rgba(0,0,0,0.05);
            position: relative;
        }
        .bc-contact-card:hover {
            border-color: #7c3aed;
            box-shadow: 0 8px 28px rgba(124,58,237,0.12);
            transform: translateY(-2px);
        }
        .bc-cat-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            font-family: 'Rajdhani', sans-serif;
        }
        .bc-cat-manpower { background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; }
        .bc-cat-jaw      { background: #dbeafe; color: #1d4ed8; border: 1px solid #93c5fd; }
        .bc-cat-cone     { background: #d1fae5; color: #047857; border: 1px solid #6ee7b7; }
        .bc-cat-vsi      { background: #ede9fe; color: #7c3aed; border: 1px solid #c4b5fd; }
        .bc-cat-other    { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
        .bc-phone-chip {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #eff6ff;
            border: 1px solid #bfdbfe;
            border-radius: 20px;
            padding: 3px 10px;
            font-size: 0.72rem;
            color: #1d4ed8;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.15s;
        }
        .bc-phone-chip:hover { background: #dbeafe; color: #1e40af; }
        .bc-wa-chip {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #f0fdf4;
            border: 1px solid #86efac;
            border-radius: 20px;
            padding: 3px 10px;
            font-size: 0.72rem;
            color: #166534;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.15s;
        }
        .bc-wa-chip:hover { background: #dcfce7; }
        /* BC Form Modal */
        .bc-form-modal {
            position: fixed;
            inset: 0;
            z-index: 110;
            background: rgba(0,0,0,0.75);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        .bc-form-inner {
            background: #ffffff;
            border-radius: 16px;
            width: 100%;
            max-width: 560px;
            max-height: 92vh;
            overflow-y: auto;
            box-shadow: 0 30px 80px rgba(0,0,0,0.35);
            animation: fadeInUp 0.25s ease-out;
        }
        @media (max-width: 640px) {
            .bc-cards-grid { grid-template-columns: 1fr; padding: 1rem; }
            .bc-tabs-bar { padding: 0 0.5rem; }
            .bc-tab { padding: 0.7rem 0.75rem; font-size: 0.65rem; }
        }
    