@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

    /* ======================================================================
       RAG AI Chatbot Extremely Isolated CSS
       All selectors prefixed with #mps-chatbot-widget to strictly override host
       ====================================================================== */

    #mps-chatbot-widget {
        all: initial;
        display: block !important;
        position: static !important;
        z-index: 2147483640 !important;
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        color: #1e293b !important;
        text-align: left !important;
        direction: ltr !important;
        box-sizing: border-box !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;

        --mps-blue: #00aeef;
        --mps-blue-dark: #0088cc;
        --mps-blue-light: #00aeef22;
        --mps-blue-border: #00aeef44;
        --mps-blue-85: rgba(0, 174, 239, 0.85);
        --mps-blue-90: rgba(0, 174, 239, 0.9);
        --mps-blue-65: rgba(0, 174, 239, 0.65);
        --mps-blue-35: rgba(0, 174, 239, 0.35);
        --mps-blue-30: rgba(0, 174, 239, 0.3);
        --mps-blue-25: rgba(0, 174, 239, 0.25);
        --mps-blue-20: rgba(0, 174, 239, 0.2);
        --mps-blue-12: rgba(0, 174, 239, 0.12);
        --mps-blue-08: rgba(0, 174, 239, 0.08);
        --mps-navy: #0f1928;
        --mps-green: #64d84b;
        --mps-red: #ef4444;
        --mps-white: #ffffff;
        --mps-text: #000000;
        --mps-text-light: #444444;
        --mps-radius: 12px;
        --mps-border: #e6e9ee;
    }

    #mps-chatbot-widget *,
    #mps-chatbot-widget *::before,
    #mps-chatbot-widget *::after {
        box-sizing: border-box !important;
        margin: 0;
        padding: 0;
        max-width: none;
        max-height: none;
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
        letter-spacing: normal !important;
        text-transform: none !important;
        text-shadow: none !important;
        word-spacing: normal !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }

    /* Complete universal button & SVG protection inside widget */
    #mps-chatbot-widget button {
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        text-transform: none !important;
        text-shadow: none !important;
        box-sizing: border-box !important;
        outline: none !important;
        box-shadow: none;
        -webkit-appearance: none !important;
        appearance: none !important;
        cursor: pointer !important;
        border-style: solid !important;
    }

    #mps-chatbot-widget svg {
        flex-shrink: 0 !important;
        vertical-align: middle !important;
        box-sizing: content-box !important;
        display: inline-block !important;
        overflow: visible !important;
    }

    /* Image protection against host img resets */
    #mps-chatbot-widget img {
        max-width: none;
        max-height: none;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        vertical-align: middle !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    /* Strong Reset for inherited host site typography */
    #mps-chatbot-widget h1,
    #mps-chatbot-widget h2,
    #mps-chatbot-widget h3,
    #mps-chatbot-widget h4,
    #mps-chatbot-widget h5,
    #mps-chatbot-widget h6,
    #mps-chatbot-widget p,
    #mps-chatbot-widget span,
    #mps-chatbot-widget div,
    #mps-chatbot-widget a,
    #mps-chatbot-widget button,
    #mps-chatbot-widget input,
    #mps-chatbot-widget textarea,
    #mps-chatbot-widget label,
    #mps-chatbot-widget select,
    #mps-chatbot-widget ul,
    #mps-chatbot-widget ol,
    #mps-chatbot-widget li,
    #mps-chatbot-widget table,
    #mps-chatbot-widget tr,
    #mps-chatbot-widget th,
    #mps-chatbot-widget td,
    #mps-chatbot-widget strong,
    #mps-chatbot-widget b,
    #mps-chatbot-widget em,
    #mps-chatbot-widget i {
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        text-transform: none !important;
        line-height: normal !important;
        text-decoration: none !important;
        text-shadow: none !important;
        box-sizing: border-box !important;
    }

    #mps-chatbot-widget p {
        margin: 0 !important;
        padding: 0 !important;
    }

    #mps-chatbot-widget a {
        text-decoration: none !important;
    }

    #mps-chatbot-widget input,
    #mps-chatbot-widget textarea,
    #mps-chatbot-widget select {
        box-sizing: border-box !important;
        outline: none !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        background-color: #ffffff !important;
        border-radius: 8px !important;
    }

    #mps-chatbot-widget .mps-hidden {
        display: none !important;
    }

    /* ─── Launcher ─── */
    #mps-chatbot-widget button.mps-chat-launcher,
    #mps-chatbot-widget .mps-chat-launcher {
        position: fixed !important;
        bottom: 24px !important;
        right: 24px !important;
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        border: none !important;
        outline: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: linear-gradient(135deg, var(--mps-blue), var(--mps-blue-dark)) !important;
        color: var(--mps-white) !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 16px var(--mps-blue-35), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 2147483647 !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        line-height: 1 !important;
        overflow: visible !important;
    }

    #mps-chatbot-widget button.mps-chat-launcher:hover,
    #mps-chatbot-widget .mps-chat-launcher:hover {
        transform: scale(1.08) !important;
        box-shadow: 0 6px 24px var(--mps-blue-35), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }

    #mps-chatbot-widget button.mps-chat-launcher.mps-launcher-menu-open,
    #mps-chatbot-widget .mps-chat-launcher.mps-launcher-menu-open {
        transform: rotate(90deg) scale(1.04) !important;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    }

    /* Pending initial settings verification - launcher button stays strictly hidden to avoid flash */
    #mps-chatbot-widget button.mps-chat-launcher.mps-launcher-pending,
    #mps-chatbot-widget .mps-chat-launcher.mps-launcher-pending {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* In disabled mode, hide entire widget, embed container and Tawk */
    body.mps-mode-disabled #mps-chatbot-widget,
    body.mps-mode-disabled #mps-chatbot-embed-container,
    #mps-chatbot-widget.mps-mode-disabled,
    body.mps-mode-disabled .tawk-min-container,
    body.mps-mode-disabled div[class*="tawk-min-container"],
    body.mps-mode-disabled #tawk-bubble-container,
    body.mps-mode-disabled .tawk-bubble {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* In live_only mode, remove/hide custom launcher, greeting bubble, and dual menu */
    body.mps-mode-live-only #mps-chat-launcher,
    body.mps-mode-live-only #mps-chat-greeting,
    body.mps-mode-live-only #mps-dual-menu,
    body.mps-mode-live-only #mps-dual-backdrop,
    body.mps-mode-live-only #mps-chat-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Completely hide launcher when Live Support (Tawk.to) is open in Dual Mode */
    #mps-chatbot-widget button.mps-chat-launcher.mps-launcher-hidden-by-tawk,
    #mps-chatbot-widget .mps-chat-launcher.mps-launcher-hidden-by-tawk {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: scale(0.6) translateY(24px) !important;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
    }

    /* Hide ALL Tawk.to elements (minimized & maximized iframes/panels) when in Dual Mode ('both') and Live Support is not actively open */
    body.mps-mode-both:not(.mps-tawk-open) iframe[src*="tawk.to"],
    body.mps-mode-both:not(.mps-tawk-open) iframe[title*="chat"],
    body.mps-mode-both:not(.mps-tawk-open) div[id*="tawk"],
    body.mps-mode-both:not(.mps-tawk-open) div[class*="tawk"],
    body.mps-mode-both:not(.mps-tawk-open) .tawk-min-container,
    body.mps-mode-both:not(.mps-tawk-open) div[class*="tawk-min-container"],
    body.mps-mode-both:not(.mps-tawk-open) #tawk-bubble-container,
    body.mps-mode-both:not(.mps-tawk-open) .tawk-bubble,
    body.mps-mode-both:not(.mps-tawk-open) .tawk-attention-grabber,
    body.mps-mode-both:not(.mps-tawk-open) #tawk-attention-grabber,
    body.mps-mode-both:not(.mps-tawk-open) div[class*="attention-grabber"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* ─── Dual-Chat Speed Dial Menu & Backdrop ─── */
    #mps-chatbot-widget .mps-dual-backdrop {
        position: fixed !important;
        inset: 0 !important;
        background: transparent !important;
        z-index: 2147483645 !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease !important;
    }
    #mps-chatbot-widget .mps-dual-backdrop.mps-active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    #mps-chatbot-widget .mps-dual-menu {
        position: fixed !important;
        bottom: 96px !important;
        right: 24px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 12px !important;
        z-index: 2147483646 !important;
        pointer-events: none;
        opacity: 0;
        transform: translateY(18px) scale(0.9);
        transform-origin: bottom right;
        transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.32s cubic-bezier(0.34, 1.45, 0.64, 1) !important;
    }

    #mps-chatbot-widget .mps-dual-menu.mps-active {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    #mps-chatbot-widget button.mps-dual-item,
    #mps-chatbot-widget .mps-dual-item {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 8px 10px 8px 18px !important;
        border-radius: 999px !important;
        border: 1px solid rgba(255, 255, 255, 0.85) !important;
        background: rgba(255, 255, 255, 0.94) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), 
                    0 2px 6px rgba(0, 0, 0, 0.04),
                    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
        cursor: pointer !important;
        color: #1e293b !important;
        text-align: right !important;
        outline: none !important;
        user-select: none !important;
        transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
        font-family: inherit !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        text-decoration: none !important;
        line-height: normal !important;
    }

    #mps-chatbot-widget button.mps-dual-item:hover,
    #mps-chatbot-widget .mps-dual-item:hover {
        transform: translateX(-4px) scale(1.025) !important;
        background: #ffffff !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16), 
                    0 4px 10px rgba(0, 0, 0, 0.08) !important;
        border-color: rgba(255, 255, 255, 1) !important;
    }

    #mps-chatbot-widget button.mps-dual-item:active,
    #mps-chatbot-widget .mps-dual-item:active {
        transform: translateX(-2px) scale(0.98) !important;
    }

    #mps-chatbot-widget .mps-dual-item-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        line-height: 1.25 !important;
    }

    #mps-chatbot-widget .mps-dual-item-title {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        letter-spacing: -0.2px !important;
    }

    #mps-chatbot-widget .mps-dual-item-desc {
        font-size: 11px !important;
        font-weight: 500 !important;
        color: #64748b !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        margin-top: 2px !important;
    }

    #mps-chatbot-widget .mps-dual-item-avatar {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
        flex-shrink: 0 !important;
    }

    #mps-chatbot-widget button.mps-dual-item:hover .mps-dual-item-avatar,
    #mps-chatbot-widget .mps-dual-item:hover .mps-dual-item-avatar {
        transform: scale(1.08) rotate(4deg) !important;
    }

    #mps-chatbot-widget .mps-avatar-ai {
        background: linear-gradient(135deg, var(--mps-blue), var(--mps-blue-dark)) !important;
    }

    #mps-chatbot-widget .mps-avatar-live {
        background: linear-gradient(135deg, #10b981, #047857) !important;
    }

    #mps-chatbot-widget .mps-live-dot-pulse {
        display: inline-block !important;
        width: 7px !important;
        height: 7px !important;
        background: #10b981 !important;
        border-radius: 50% !important;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7) !important;
        animation: mpsPulseGreen 1.8s infinite !important;
    }

    @keyframes mpsPulseGreen {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        }
        70% {
            transform: scale(1);
            box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
        }
        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        }
    }

    #mps-chatbot-widget .mps-ai-dot-star {
        color: var(--mps-blue) !important;
        font-weight: 800 !important;
        font-size: 11px !important;
    }

    /* Staggered entrance animations */
    #mps-chatbot-widget .mps-dual-menu.mps-active .mps-item-live {
        animation: mpsSlideUpFade 0.32s cubic-bezier(0.16, 1, 0.3, 1) 0.03s both !important;
    }
    #mps-chatbot-widget .mps-dual-menu.mps-active .mps-item-ai {
        animation: mpsSlideUpFade 0.32s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both !important;
    }

    @keyframes mpsSlideUpFade {
        from {
            opacity: 0;
            transform: translateY(14px) scale(0.9);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* Mobile adjustments for speed dial */
    @media (max-width: 600px) {
        #mps-chatbot-widget .mps-dual-menu {
            bottom: 84px !important;
            right: 16px !important;
        }
        #mps-chatbot-widget button.mps-dual-item,
        #mps-chatbot-widget .mps-dual-item {
            padding: 6px 8px 6px 14px !important;
            gap: 10px !important;
        }
        #mps-chatbot-widget .mps-dual-item-title {
            font-size: 13px !important;
        }
        #mps-chatbot-widget .mps-dual-item-desc {
            font-size: 10px !important;
        }
        #mps-chatbot-widget .mps-dual-item-avatar {
            width: 38px !important;
            height: 38px !important;
            min-width: 38px !important;
            max-width: 38px !important;
            min-height: 38px !important;
            max-height: 38px !important;
        }
    }

    /* ─── Glassy Loading Launcher (100% Colorless Frosted Glass) ─── */
    #mps-chatbot-widget button.mps-chat-launcher.mps-launcher-loading,
    #mps-chatbot-widget .mps-chat-launcher.mps-launcher-loading {
        background: rgba(255, 255, 255, 0.55) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 
                    0 2px 6px rgba(0, 0, 0, 0.06), 
                    inset 0 0 16px rgba(255, 255, 255, 0.8) !important;
        overflow: hidden !important;
        cursor: pointer !important;
    }

    #mps-chatbot-widget button.mps-chat-launcher.mps-launcher-loading:hover,
    #mps-chatbot-widget .mps-chat-launcher.mps-launcher-loading:hover {
        transform: scale(1.04) !important;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16), 
                    0 2px 8px rgba(0, 0, 0, 0.08), 
                    inset 0 0 18px rgba(255, 255, 255, 0.9) !important;
    }

    #mps-chatbot-widget .mps-launcher-glass-loader {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: none !important;
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* Outer rotating glassy ring - completely colorless / neutral monochrome */
    #mps-chatbot-widget .mps-glass-orb-ring {
        position: absolute !important;
        inset: 3px !important;
        border-radius: 50% !important;
        padding: 2.5px !important;
        background: conic-gradient(
            from 0deg,
            transparent 0%,
            rgba(200, 200, 200, 0.15) 25%,
            rgba(120, 120, 120, 0.45) 70%,
            rgba(255, 255, 255, 0.95) 100%
        ) !important;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
        -webkit-mask-composite: xor !important;
        mask-composite: exclude !important;
        animation: mps-glass-spin 1.2s linear infinite !important;
    }

    /* Soft inner glow - pure neutral white */
    #mps-chatbot-widget .mps-glass-orb-glow {
        position: absolute !important;
        inset: 6px !important;
        border-radius: 50% !important;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(220, 220, 220, 0.2) 55%, transparent 70%) !important;
        animation: mps-glass-pulse 1.8s ease-in-out infinite !important;
    }

    /* Shimmering glass reflection across the sphere */
    #mps-chatbot-widget .mps-glass-orb-shimmer {
        position: absolute !important;
        top: -60% !important;
        left: -60% !important;
        width: 220% !important;
        height: 220% !important;
        background: linear-gradient(
            45deg,
            transparent 40%,
            rgba(255, 255, 255, 0.75) 50%,
            transparent 60%
        ) !important;
        animation: mps-glass-sweep 2.5s ease-in-out infinite !important;
        pointer-events: none !important;
    }

    /* Center pulsing icon - neutral dark charcoal / no color */
    #mps-chatbot-widget .mps-glass-orb-icon {
        position: relative !important;
        z-index: 2 !important;
        color: #4b5563 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15)) !important;
        animation: mps-glass-pulse 1.8s ease-in-out infinite !important;
    }

    @keyframes mps-glass-spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    @keyframes mps-glass-pulse {
        0%, 100% {
            transform: scale(0.92);
            opacity: 0.75;
        }
        50% {
            transform: scale(1.06);
            opacity: 1;
        }
    }

    @keyframes mps-glass-sweep {
        0% { transform: translate(-100%, -100%) rotate(45deg); }
        100% { transform: translate(100%, 100%) rotate(45deg); }
    }

    /* When loaded: smoothly transition launcher */
    #mps-chatbot-widget button.mps-chat-launcher.mps-launcher-loaded {
        transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                    border 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    #mps-chatbot-widget .mps-launcher-badge {
        position: absolute;
        top: 4px;
        right: 4px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--mps-green);
        border: 2px solid var(--mps-white);
        box-shadow: 0 0 6px rgba(100, 216, 75, 0.5);
        animation: mps-badge-pulse 2.5s infinite;
    }

    @keyframes mps-badge-pulse {
        0%, 100% {
            opacity: 1;
        }
        50% {
            opacity: 0.5;
        }
    }

    /* ─── Greeting Bubble ─── */
    #mps-chatbot-widget .mps-chat-greeting {
        position: fixed;
        bottom: 28px;
        right: 95px;
        background: #ffffff !important;
        padding: 10px 38px 10px 20px;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        display: flex;
        align-items: center;
        z-index: 2147483647;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: auto;
        border: 1px solid rgba(0, 0, 0, 0.05);
        animation: mps-greeting-slide-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        white-space: nowrap;
    }

    #mps-chatbot-widget .mps-chat-greeting:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    }

    #mps-chatbot-widget .mps-greeting-content {
        display: flex;
        flex-direction: column;
        line-height: 1.4;
    }

    #mps-chatbot-widget .mps-greeting-title {
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #475569 !important;
    }

    #mps-chatbot-widget .mps-greeting-sub {
        font-size: 13.5px !important;
        font-weight: 600 !important;
        color: var(--mps-blue) !important;
    }

    #mps-chatbot-widget button.mps-greeting-close,
    #mps-chatbot-widget .mps-greeting-close {
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: #f1f5f9 !important;
        background-color: #f1f5f9 !important;
        background-image: none !important;
        border: none !important;
        border-style: none !important;
        border-width: 0 !important;
        outline: none !important;
        box-shadow: none !important;
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        max-width: 22px !important;
        min-height: 22px !important;
        max-height: 22px !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        color: #64748b !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        transition: all 0.2s ease !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    #mps-chatbot-widget button.mps-greeting-close:hover,
    #mps-chatbot-widget .mps-greeting-close:hover {
        color: #0f172a !important;
        background: #e2e8f0 !important;
        background-color: #e2e8f0 !important;
        transform: translateY(-50%) scale(1.08) !important;
    }

    #mps-chatbot-widget button.mps-greeting-close svg,
    #mps-chatbot-widget .mps-greeting-close svg {
        width: 12px !important;
        height: 12px !important;
        stroke: currentColor !important;
        stroke-width: 2.5 !important;
        display: block !important;
        pointer-events: none !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    @keyframes mps-greeting-slide-in {
        from {
            opacity: 0;
            transform: translateX(20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* ─── Custom Launcher Icon (AI) ─── */
    #mps-chatbot-widget .mps-launcher-icon-custom {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        font-family: 'Inter', sans-serif;
    }

    #mps-chatbot-widget .mps-ai-text {
        font-size: 24px;
        font-weight: 800;
        color: #ffffff;
        letter-spacing: -0.5px;
    }

    #mps-chatbot-widget .mps-star-symbol {
        font-size: 16px;
        font-weight: 700;
        color: var(--mps-blue);
        position: absolute;
        top: -6px;
        right: -10px;
        text-shadow: 0 0 10px var(--mps-blue-35);
    }

    /* ─── Overlay and Panel ─── */
    #mps-chatbot-widget #mps-chat-overlay {
        position: fixed;
        inset: 0;
        z-index: 2147483646;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: auto;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned {
        background: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        pointer-events: none;
    }

    #mps-chatbot-widget.mps-right-aligned #mps-chat-overlay #mps-chat-panel {
        pointer-events: auto;
        width: min(400px, 92vw);
        height: calc(100vh - 140px);
        max-height: 850px;
        left: calc(100% - 24px);
        top: calc(100% - 95px);
        transform: translate(-100%, -100%);
        border-radius: 16px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    }

    #mps-chatbot-widget #mps-chat-panel {
        position: absolute;
        width: min(700px, 92vw);
        height: min(85vh, 720px);
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.92) !important;
        backdrop-filter: blur(32px);
        -webkit-backdrop-filter: blur(32px);
        border: 1px solid rgba(200, 200, 200, 0.3);
        border-radius: 20px;
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
        overflow: hidden;
        transition:
            width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            border-radius 0.4s ease,
            box-shadow 0.4s ease;
    }

    /* ─── Header ─── */
    #mps-chatbot-widget .mps-panel-header {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px;
        background: var(--mps-blue-85) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        color: #ffffff !important;
        flex-shrink: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        transition: padding 0.3s ease;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-panel-header {
        padding: 8px 14px;
    }

    #mps-chatbot-widget .mps-header-left {
        display: flex;
        align-items: center;
        gap: 12px;
        z-index: 2;
    }

    #mps-chatbot-widget .mps-header-right {
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 2;
    }

    #mps-chatbot-widget .mps-panel-avatar {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        position: relative;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-panel-avatar {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-panel-avatar svg {
        width: 16px;
        height: 16px;
    }

    #mps-chatbot-widget .mps-panel-title-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1;
        transition: all 0.3s ease;
    }

    #mps-chatbot-widget .mps-panel-title-container br,
    #mps-chatbot-widget .mps-panel-title-container p {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-panel-title-container {
        position: static;
        transform: none;
        align-items: flex-start;
        text-align: left;
        flex: 1;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    #mps-chatbot-widget .mps-panel-title {
        font-size: 18px !important;
        font-weight: 700 !important;
        text-align: center !important;
        color: #ffffff !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        white-space: nowrap !important;
        transition: font-size 0.3s ease, text-align 0.3s ease;
    }

    #mps-chatbot-widget .mps-panel-version {
        font-size: 10px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        font-weight: 600 !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-panel-title {
        font-size: 16px !important;
        text-align: left !important;
    }

    #mps-chatbot-widget .mps-panel-status {
        font-size: 11px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        transition: all 0.3s ease;
    }

    #mps-chatbot-widget .mps-panel-status span {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-panel-status {
        display: none !important;
    }

    #mps-chatbot-widget .mps-status-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--mps-green);
        box-shadow: 0 0 6px rgba(100, 216, 75, 0.6);
        transition: all 0.3s ease;
    }

    #mps-chatbot-widget #mps-avatar-status-dot {
        display: none;
        position: absolute;
        bottom: -2px;
        right: -2px;
        border: 2px solid var(--mps-blue);
        z-index: 10;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned #mps-avatar-status-dot {
        display: block;
    }

    #mps-chatbot-widget .mps-status-dot.mps-typing {
        background: #ff9800;
        box-shadow: 0 0 6px rgba(255, 152, 0, 0.6);
        animation: mps-badge-pulse 1.5s infinite;
    }

    #mps-chatbot-widget button.mps-panel-btn,
    #mps-chatbot-widget .mps-panel-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        transition: all 0.3s ease !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        line-height: 1 !important;
    }

    #mps-chatbot-widget button.mps-panel-btn:hover,
    #mps-chatbot-widget .mps-panel-btn:hover {
        background: rgba(255, 255, 255, 0.35) !important;
        color: #ffffff !important;
    }

    #mps-chatbot-widget .mps-panel-btn svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        display: block !important;
        stroke: currentColor !important;
        margin: 0 auto !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        box-sizing: content-box !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned button.mps-panel-btn,
    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-panel-btn {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        border-radius: 6px !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-panel-btn svg {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
    }

    /* ─── Messages Area ─── */
    #mps-chatbot-widget #mps-panel-messages {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        padding: 20px 24px;
        margin: 0 !important;
        transition: padding 0.3s ease;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
    }

    #mps-chatbot-widget #mps-panel-messages::-webkit-scrollbar {
        width: 5px;
    }

    #mps-chatbot-widget #mps-panel-messages::-webkit-scrollbar-track {
        background: transparent;
    }

    #mps-chatbot-widget #mps-panel-messages::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.08);
        border-radius: 10px;
        transition: background 0.3s;
    }

    #mps-chatbot-widget #mps-panel-messages::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.2);
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned #mps-panel-messages {
        padding: 16px 18px;
    }

    /* Welcome State */
    #mps-chatbot-widget .mps-welcome-state {
        margin: auto 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 20px 10px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    #mps-chatbot-widget .mps-welcome-state.mps-hidden,
    #mps-chatbot-widget .mps-welcome-state[style*="display: none"] {
        display: none !important;
    }

    #mps-chatbot-widget .mps-welcome-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 580px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        transition: max-width 0.3s ease !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-welcome-state {
        padding: 24px 12px !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-welcome-content {
        max-width: 100% !important;
    }

    #mps-chatbot-widget .mps-welcome-icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        border-radius: 18px !important;
        background: linear-gradient(135deg, var(--mps-blue), var(--mps-blue-dark)) !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 20px auto !important;
        box-shadow: 0 8px 24px var(--mps-blue-30) !important;
        transition: all 0.3s ease !important;
    }

    #mps-chatbot-widget .mps-welcome-icon svg {
        width: 30px !important;
        height: 30px !important;
        stroke: #ffffff !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-welcome-icon {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        border-radius: 14px !important;
        margin: 0 auto 14px auto !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-welcome-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    #mps-chatbot-widget .mps-welcome-heading {
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
        font-size: 23px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        line-height: 1.3 !important;
        letter-spacing: -0.02em !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        text-align: center !important;
        transition: font-size 0.3s ease !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-welcome-heading {
        font-size: 19px !important;
        margin: 0 0 8px 0 !important;
    }

    #mps-chatbot-widget p.mps-welcome-sub,
    #mps-chatbot-widget .mps-welcome-sub {
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        color: #64748b !important;
        line-height: 1.6 !important;
        max-width: 460px !important;
        margin: 0 auto 26px auto !important;
        padding: 0 12px !important;
        text-align: center !important;
        letter-spacing: normal !important;
        transition: font-size 0.3s ease !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned p.mps-welcome-sub,
    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-welcome-sub {
        font-size: 13px !important;
        margin: 0 auto 20px auto !important;
        padding: 0 8px !important;
        max-width: 100% !important;
    }

    #mps-chatbot-widget .mps-welcome-chips {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px 12px !important;
        width: 100% !important;
        max-width: 580px !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-welcome-chips {
        gap: 8px !important;
    }

    #mps-chatbot-widget button.mps-welcome-chip,
    #mps-chatbot-widget .mps-welcome-chip {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px 16px !important;
        min-height: 38px !important;
        height: auto !important;
        border-radius: 9999px !important;
        border: 1.5px solid var(--mps-blue-30) !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
        color: var(--mps-blue) !important;
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        cursor: pointer !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
        text-align: center !important;
        text-decoration: none !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        box-sizing: border-box !important;
        outline: none !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        vertical-align: middle !important;
        white-space: nowrap !important;
        word-break: normal !important;
        user-select: none !important;
        -webkit-user-select: none !important;
    }

    #mps-chatbot-widget button.mps-welcome-chip:hover,
    #mps-chatbot-widget .mps-welcome-chip:hover {
        background: var(--mps-blue) !important;
        background-color: var(--mps-blue) !important;
        color: #ffffff !important;
        border-color: var(--mps-blue) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 14px var(--mps-blue-25) !important;
    }

    #mps-chatbot-widget button.mps-welcome-chip:active,
    #mps-chatbot-widget .mps-welcome-chip:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 6px var(--mps-blue-20) !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned button.mps-welcome-chip,
    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-welcome-chip {
        padding: 7px 14px !important;
        min-height: 34px !important;
        font-size: 12px !important;
    }

    #mps-chatbot-widget .mps-suggestion-carousel {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 4px 24px 12px 24px;
        width: 100%;
        margin-top: 8px;
    }

    #mps-chatbot-widget button.mps-suggestion-pill {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 20px !important;
        min-height: 32px !important;
        border-radius: 20px !important;
        border: 1.5px solid var(--mps-blue) !important;
        background: #ffffff !important;
        color: var(--mps-blue) !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        cursor: pointer !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        margin: 4px 2px !important;
        white-space: nowrap !important;
        text-align: center !important;
        text-transform: none !important;
        letter-spacing: 0.3px !important;
        box-sizing: border-box !important;
        width: auto !important;
        max-width: 100% !important;
    }

    #mps-chatbot-widget button.mps-suggestion-pill:hover {
        background: var(--mps-blue) !important;
        transform: translateY(-1.5px) !important;
        box-shadow: 0 4px 10px var(--mps-blue-25) !important;
        color: #ffffff !important;
    }

    /* --- Highlighted PDF Pill --- */
    #mps-chatbot-widget button.mps-pdf-pill {
        background: var(--mps-blue) !important;
        border-color: var(--mps-blue-dark) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px var(--mps-blue-35) !important;
    }

    #mps-chatbot-widget button.mps-pdf-pill:hover {
        background: var(--mps-blue-dark) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 16px var(--mps-blue-35) !important;
    }

    #mps-chatbot-widget a.mps-category-pill {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 14px !important;
        border-radius: 20px !important;
        background: var(--mps-blue-light) !important;
        color: var(--mps-blue) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        border: 1.5px solid var(--mps-blue) !important;
        transition: all 0.2s ease !important;
        margin: 4px 2px !important;
        white-space: nowrap !important;
    }

    #mps-chatbot-widget a.mps-category-pill:hover {
        background: var(--mps-blue) !important;
        color: #ffffff !important;
        border-color: var(--mps-blue) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 10px var(--mps-blue-25) !important;
    }

    /* Message Bubbles */
    #mps-chatbot-widget .mps-msg {
        display: flex;
        gap: 10px;
        margin-bottom: 16px;
    }

    #mps-chatbot-widget .mps-msg.mps-user {
        justify-content: flex-end;
    }

    #mps-chatbot-widget .mps-msg.mps-assistant {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    #mps-chatbot-widget .mps-suggestion-section {
        width: calc(100% + 48px);
        margin-left: -24px;
        margin-right: -24px;
        margin-top: 4px;
    }

    #mps-chatbot-widget .mps-msg-avatar {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    #mps-chatbot-widget .mps-bot-av {
        background: #ffffff;
        color: var(--mps-blue);
        border: 1px solid var(--mps-blue);
    }

    #mps-chatbot-widget .mps-user-av {
        background: var(--mps-blue);
        color: var(--mps-white);
    }

    #mps-chatbot-widget .mps-msg-body {
        max-width: 75% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: auto !important;
    }

    #mps-chatbot-widget .mps-bubble {
        padding: 13px 16px;
        border-radius: 16px;
        line-height: 1.65;
        font-size: 13.5px !important;
        font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    }

    #mps-chatbot-widget .mps-assistant .mps-bubble {
        background: rgba(255, 255, 255, 0.85) !important;
        color: #374151 !important;
        border: 1px solid rgba(0, 0, 0, 0.04);
        border-bottom-left-radius: 4px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    }

    #mps-chatbot-widget .mps-user .mps-bubble {
        background: var(--mps-blue-90) !important;
        color: #ffffff !important;
        border: 1px solid var(--mps-blue-30);
        border-bottom-right-radius: 4px;
    }

    #mps-chatbot-widget .mps-assistant .mps-bubble p,
    #mps-chatbot-widget .mps-assistant .mps-bubble li,
    #mps-chatbot-widget .mps-assistant .mps-bubble span,
    #mps-chatbot-widget .mps-assistant .mps-bubble strong {
        color: #374151 !important;
        margin: 6px 0 !important;
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    }

    #mps-chatbot-widget .mps-bubble ul,
    #mps-chatbot-widget .mps-bubble ol {
        margin: 8px 0 !important;
        padding-left: 20px !important;
    }

    #mps-chatbot-widget .mps-bubble li {
        margin-bottom: 6px !important;
    }

    #mps-chatbot-widget .mps-bubble strong {
        font-weight: 700 !important;
        color: #111827 !important;
    }

    #mps-chatbot-widget .mps-assistant .mps-bubble h1,
    #mps-chatbot-widget .mps-assistant .mps-bubble h2,
    #mps-chatbot-widget .mps-assistant .mps-bubble h3 {
        color: #1e293b !important;
        font-weight: 700 !important;
        margin: 6px 0 4px !important;
    }

    #mps-chatbot-widget .mps-user .mps-bubble p,
    #mps-chatbot-widget .mps-user .mps-bubble li,
    #mps-chatbot-widget .mps-user .mps-bubble span,
    #mps-chatbot-widget .mps-user .mps-bubble strong,
    #mps-chatbot-widget .mps-user .mps-bubble h1,
    #mps-chatbot-widget .mps-user .mps-bubble h2,
    #mps-chatbot-widget .mps-user .mps-bubble h3 {
        color: #ffffff !important;
        font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
        font-size: 13.5px !important;
        margin: 6px 0 !important;
    }

    /* Markdown Element Styles */
    #mps-chatbot-widget .mps-bubble table {
        width: 100%;
        border-collapse: collapse;
        margin: 12px 0;
        font-size: 12px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        overflow: hidden;
    }

    #mps-chatbot-widget .mps-bubble th,
    #mps-chatbot-widget .mps-bubble td {
        padding: 8px 12px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        text-align: left;
    }

    #mps-chatbot-widget .mps-bubble th {
        background: rgba(0, 0, 0, 0.03);
        font-weight: 700;
        color: #1e293b;
    }

    #mps-chatbot-widget .mps-bubble tr:nth-child(even) {
        background: rgba(0, 0, 0, 0.01);
    }

    #mps-chatbot-widget .mps-bubble blockquote {
        margin: 12px 0;
        padding: 8px 16px;
        border-left: 4px solid var(--mps-blue-30);
        background: rgba(0, 174, 239, 0.05);
        font-style: italic;
        color: #475569;
    }

    #mps-chatbot-widget .mps-bubble code {
        font-family: 'JetBrains Mono', 'Fira Code', monospace;
        background: rgba(0, 0, 0, 0.05);
        padding: 2px 4px;
        border-radius: 4px;
        font-size: 0.9em;
    }

    #mps-chatbot-widget .mps-bubble pre {
        background: #1e293b;
        color: #f8fafc;
        padding: 16px;
        border-radius: 8px;
        overflow-x: auto;
        margin: 12px 0;
    }

    #mps-chatbot-widget .mps-bubble pre code {
        background: transparent;
        padding: 0;
        color: inherit;
    }

    /* Citations / Sources */
    #mps-chatbot-widget .mps-citation {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 2px 8px;
        background: var(--mps-blue-light);
        color: var(--mps-blue);
        border: 1px solid var(--mps-blue-border);
        border-radius: 12px;
        font-size: 10px;
        font-weight: 700;
        margin: 2px 4px 2px 0;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    #mps-chatbot-widget .mps-citation:hover {
        background: var(--mps-blue);
        color: #ffffff;
        transform: translateY(-1px);
    }

    #mps-chatbot-widget .mps-source-footer {
        margin-top: 12px;
        padding-top: 8px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 11px;
        color: #64748b;
    }

    /* Typing */
    #mps-chatbot-widget .mps-typing-bubble {
        display: flex;
        gap: 5px;
        align-items: center;
        padding: 14px 18px;
    }

    #mps-chatbot-widget .mps-tdot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--mps-blue);
        animation: mps-dotBounce 1.4s infinite ease-in-out;
    }

    #mps-chatbot-widget .mps-tdot:nth-child(2) {
        animation-delay: 0.16s;
    }

    #mps-chatbot-widget .mps-tdot:nth-child(3) {
        animation-delay: 0.32s;
    }

    @keyframes mps-dotBounce {
        0%, 80%, 100% {
            transform: scale(0.5);
            opacity: 0.35;
        }
        40% {
            transform: scale(1);
            opacity: 1;
        }
    }

    /* ─── Input Area ─── */
    #mps-chatbot-widget .mps-panel-input-area {
        padding: 14px 20px 12px;
        background: rgba(120, 120, 120, 0.15);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        flex-shrink: 0;
    }

    #mps-chatbot-widget .mps-pdf-container {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        padding-bottom: 2px;
    }

    #mps-chatbot-widget .mps-pdf-download-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        background: rgba(120, 120, 120, 0.1) !important;
        border: 1.5px solid var(--mps-blue-20) !important;
        color: var(--mps-blue) !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        padding: 0 20px !important;
        min-height: 34px !important;
        min-width: 180px !important;
        border-radius: 20px !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-transform: none !important;
        letter-spacing: 0.3px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        flex-shrink: 0 !important;
    }

    #mps-chatbot-widget .mps-pdf-download-btn:hover {
        background: var(--mps-blue) !important;
        color: #ffffff !important;
        border-color: var(--mps-blue);
        box-shadow: 0 5px 15px var(--mps-blue-25);
        transform: translateY(-1.5px);
    }

    #mps-chatbot-widget .mps-pdf-download-btn:active {
        transform: translateY(0);
    }

    #mps-chatbot-widget .mps-pdf-download-btn svg {
        stroke: currentColor;
    }

    #mps-chatbot-widget .mps-panel-input-wrap {
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.7);
        border: 1.5px solid rgba(255, 255, 255, 0.6);
        border-radius: var(--mps-radius);
        padding: 3px 3px 3px 16px;
    }

    #mps-chatbot-widget .mps-panel-input {
        flex: 1;
        padding: 11px 0;
        border: none;
        background: transparent;
        color: #1e293b !important;
        font-size: 14px !important;
        outline: none;
    }

    #mps-chatbot-widget button#mps-chat-send-btn,
    #mps-chatbot-widget button.mps-panel-send,
    #mps-chatbot-widget .mps-panel-send {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        border-radius: 10px !important;
        background: var(--mps-border) !important;
        color: var(--mps-text-light) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: not-allowed !important;
        transition: all 0.25s ease !important;
        flex-shrink: 0 !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        box-sizing: border-box !important;
        line-height: 1 !important;
    }

    #mps-chatbot-widget button#mps-chat-send-btn svg,
    #mps-chatbot-widget button.mps-panel-send svg,
    #mps-chatbot-widget .mps-panel-send svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        display: block !important;
        stroke: currentColor !important;
        fill: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        box-sizing: content-box !important;
    }

    #mps-chatbot-widget button#mps-chat-send-btn.mps-active,
    #mps-chatbot-widget button.mps-panel-send.mps-active,
    #mps-chatbot-widget .mps-panel-send.mps-active {
        background: var(--mps-blue) !important;
        color: var(--mps-white) !important;
        cursor: pointer !important;
    }

    #mps-chatbot-widget button#mps-chat-send-btn.mps-active:hover,
    #mps-chatbot-widget button.mps-panel-send.mps-active:hover,
    #mps-chatbot-widget .mps-panel-send.mps-active:hover {
        background: var(--mps-blue-dark) !important;
        color: var(--mps-white) !important;
        transform: scale(1.05) !important;
    }

    /* ─── Category Carousel ─── */
    #mps-chatbot-widget .mps-category-section-header {
        font-size: 13px;
        font-weight: 700;
        color: var(--mps-blue);
        margin: 16px 0 8px 28px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    #mps-chatbot-widget .mps-category-carousel {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #mps-chatbot-widget .mps-category-section {
        width: 100%;
        margin-top: 12px;
    }

    #mps-chatbot-widget .mps-category-section-header {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #64748b !important;
        margin-bottom: 10px;
        padding-left: 0;
    }

    #mps-chatbot-widget .mps-category-carousel::-webkit-scrollbar {
        display: none;
    }

    #mps-chatbot-widget .mps-category-card {
        width: 100%;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
        text-decoration: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-category-card {
        width: 100%;
    }

    #mps-chatbot-widget .mps-category-card:hover {
        transform: translateY(-4px);
        border-color: var(--mps-blue);
        box-shadow: 0 6px 16px var(--mps-blue-12);
    }

    #mps-chatbot-widget .mps-category-image-wrapper {
        width: 100%;
        height: 110px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #f1f5f9;
        padding: 5px;
    }

    #mps-chatbot-widget .mps-category-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    #mps-chatbot-widget .mps-category-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8fafc;
        color: #94a3b8;
    }

    #mps-chatbot-widget .mps-category-info {
        padding: 10px 8px;
        background: #fff;
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #mps-chatbot-widget .mps-category-name {
        font-size: 11.5px;
        font-weight: 700;
        color: var(--mps-blue);
        text-align: center;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* ─── Carousel & Products ─── */
    #mps-chatbot-widget .mps-carousel-wrapper {
        margin-top: 12px;
        width: 100%;
        position: relative;
    }

    #mps-chatbot-widget .mps-carousel-container {
        position: relative;
        display: flex;
        align-items: center;
    }

    #mps-chatbot-widget .mps-product-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #mps-chatbot-widget .mps-product-card {
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        display: flex;
        flex-direction: column;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    #mps-chatbot-widget .mps-product-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    #mps-chatbot-widget .mps-card-image-area {
        position: relative;
        width: 100%;
        padding-top: 75%;
        background: #f5f7fa;
        overflow: hidden;
    }

    #mps-chatbot-widget .mps-card-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    #mps-chatbot-widget .mps-card-info {
        padding: 10px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    #mps-chatbot-widget .mps-card-category {
        display: inline-block;
        align-self: flex-start;
        padding: 3px 8px;
        border-radius: 12px;
        background: var(--mps-blue-light);
        color: var(--mps-blue) !important;
        font-size: 9px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        border: 1px solid var(--mps-blue-border);
    }

    #mps-chatbot-widget .mps-card-name {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin: 0 0 4px !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex-grow: 1;
    }

    #mps-chatbot-widget .mps-card-price {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: var(--mps-blue) !important;
        margin-bottom: 8px !important;
    }

    #mps-chatbot-widget .mps-card-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: stretch !important;
        gap: 6px !important;
        margin-top: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    #mps-chatbot-widget a.mps-action-btn,
    #mps-chatbot-widget button.mps-action-btn,
    #mps-chatbot-widget .mps-action-btn {
        flex: 1 1 0% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        padding: 0 4px !important;
        margin: 0 !important;
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        outline: none !important;
        box-shadow: none !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        vertical-align: middle !important;
    }

    #mps-chatbot-widget a.mps-view-btn,
    #mps-chatbot-widget button.mps-view-btn,
    #mps-chatbot-widget .mps-view-btn {
        background: var(--mps-blue) !important;
        background-color: var(--mps-blue) !important;
        background-image: none !important;
        color: #ffffff !important;
        border: 1px solid var(--mps-blue) !important;
        border-style: solid !important;
        border-width: 1px !important;
    }

    #mps-chatbot-widget a.mps-view-btn:hover,
    #mps-chatbot-widget button.mps-view-btn:hover,
    #mps-chatbot-widget .mps-view-btn:hover {
        background: var(--mps-blue-dark) !important;
        background-color: var(--mps-blue-dark) !important;
        border-color: var(--mps-blue-dark) !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }

    #mps-chatbot-widget a.mps-enquire-btn,
    #mps-chatbot-widget button.mps-enquire-btn,
    #mps-chatbot-widget .mps-enquire-btn {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        color: var(--mps-blue) !important;
        border: 1px solid var(--mps-blue) !important;
        border-style: solid !important;
        border-width: 1px !important;
    }

    #mps-chatbot-widget a.mps-enquire-btn:hover,
    #mps-chatbot-widget button.mps-enquire-btn:hover,
    #mps-chatbot-widget .mps-enquire-btn:hover {
        background: var(--mps-blue-08) !important;
        background-color: var(--mps-blue-08) !important;
        color: var(--mps-blue) !important;
        border-color: var(--mps-blue) !important;
        text-decoration: none !important;
    }

    #mps-chatbot-widget button.mps-nav-arrow,
    #mps-chatbot-widget .mps-nav-arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        border-radius: 50% !important;
        border: 1px solid rgba(226, 232, 240, 0.9) !important;
        background: #ffffff !important;
        color: #334155 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
        transition: all 0.2s ease !important;
        z-index: 10 !important;
        padding: 0 !important;
        margin: 0 !important;
        outline: none !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        line-height: 1 !important;
    }

    #mps-chatbot-widget button.mps-nav-arrow:hover,
    #mps-chatbot-widget .mps-nav-arrow:hover {
        background: #ffffff !important;
        color: var(--mps-blue) !important;
        transform: translateY(-50%) scale(1.08) !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
        border-color: var(--mps-blue) !important;
    }

    #mps-chatbot-widget .mps-nav-arrow svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        display: block !important;
        stroke: currentColor !important;
        stroke-width: 2.5px !important;
        flex-shrink: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    #mps-chatbot-widget .mps-nav-prev {
        left: -16px !important;
    }

    #mps-chatbot-widget .mps-nav-next {
        right: -16px !important;
    }

    #mps-chatbot-widget .mps-pagination-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 10px 0 2px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: 20px !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    #mps-chatbot-widget .mps-dot,
    #mps-chatbot-widget span.mps-dot,
    #mps-chatbot-widget button.mps-dot {
        display: inline-block !important;
        width: 7px !important;
        height: 7px !important;
        min-width: 7px !important;
        max-width: 7px !important;
        min-height: 7px !important;
        max-height: 7px !important;
        border-radius: 50% !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: rgba(29, 60, 108, 0.25) !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin: 0 2px !important;
        font-size: 0 !important;
        line-height: 0 !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
        text-indent: -9999px !important;
        vertical-align: middle !important;
        transition: all 0.25s ease !important;
    }

    #mps-chatbot-widget .mps-dot::before,
    #mps-chatbot-widget .mps-dot::after,
    #mps-chatbot-widget span.mps-dot::before,
    #mps-chatbot-widget span.mps-dot::after,
    #mps-chatbot-widget button.mps-dot::before,
    #mps-chatbot-widget button.mps-dot::after {
        display: none !important;
        content: none !important;
    }

    #mps-chatbot-widget .mps-dot:hover,
    #mps-chatbot-widget span.mps-dot:hover,
    #mps-chatbot-widget button.mps-dot:hover {
        background: rgba(0, 174, 239, 0.6) !important;
    }

    #mps-chatbot-widget .mps-dot.mps-active,
    #mps-chatbot-widget span.mps-dot.mps-active,
    #mps-chatbot-widget button.mps-dot.mps-active {
        background: var(--mps-blue) !important;
        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        height: 7px !important;
        min-height: 7px !important;
        max-height: 7px !important;
        border-radius: 4px !important;
    }

    /* ─── Right-Aligned Carousel Overrides (Single Card View) ─── */
    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-product-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 20px !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned button.mps-nav-prev,
    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-nav-prev {
        left: -4px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned button.mps-nav-next,
    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-nav-next {
        right: -4px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-nav-arrow svg {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
    }

    #mps-chatbot-widget #mps-chat-overlay.mps-right-aligned .mps-category-carousel {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 20px !important;
    }

    /* ─── Responsive Carousel ─── */
    @media (max-width: 640px) {
        #mps-chatbot-widget .mps-product-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        #mps-chatbot-widget .mps-panel-title {
            font-size: 15px !important;
        }

        #mps-chatbot-widget .mps-category-carousel {
            grid-template-columns: repeat(2, 1fr) !important;
        }

        #mps-chatbot-widget .mps-nav-prev {
            left: -8px;
        }

        #mps-chatbot-widget .mps-nav-next {
            right: -8px;
        }
    }

    /* ─── Modal ─── */
    #mps-chatbot-widget #mps-enquiry-modal,
    #mps-chatbot-widget #mps-contact-modal,
    #mps-chatbot-widget #mps-download-modal {
        position: fixed;
        inset: 0;
        z-index: 2147483647;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #mps-chatbot-widget .mps-modal-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    #mps-chatbot-widget .mps-modal-content {
        position: relative !important;
        width: min(90%, 400px) !important;
        background: #ffffff !important;
        border-radius: 16px !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
        overflow: hidden !important;
        z-index: 1 !important;
        box-sizing: border-box !important;
    }

    #mps-chatbot-widget .mps-modal-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 20px !important;
        background: #f8fafc !important;
        border-bottom: 1px solid #e2e8f0 !important;
        box-sizing: border-box !important;
        min-height: 56px !important;
    }

    #mps-chatbot-widget .mps-modal-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.3 !important;
    }

    #mps-chatbot-widget button.mps-modal-close-btn,
    #mps-chatbot-widget .mps-modal-close-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #f1f5f9 !important;
        background-color: #f1f5f9 !important;
        background-image: none !important;
        border: none !important;
        border-style: none !important;
        border-width: 0 !important;
        outline: none !important;
        border-radius: 50% !important;
        color: #64748b !important;
        cursor: pointer !important;
        box-shadow: none !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
        flex-shrink: 0 !important;
        line-height: 1 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        font-size: 20px !important;
    }

    #mps-chatbot-widget button.mps-modal-close-btn:hover,
    #mps-chatbot-widget .mps-modal-close-btn:hover {
        background: #e2e8f0 !important;
        background-color: #e2e8f0 !important;
        color: #0f172a !important;
        transform: scale(1.06) !important;
        border: none !important;
        border-style: none !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    }

    #mps-chatbot-widget button.mps-modal-close-btn:active,
    #mps-chatbot-widget .mps-modal-close-btn:active {
        transform: scale(0.95) !important;
    }

    #mps-chatbot-widget button.mps-modal-close-btn svg,
    #mps-chatbot-widget .mps-modal-close-btn svg {
        width: 16px !important;
        height: 16px !important;
        stroke: currentColor !important;
        stroke-width: 2.2 !important;
        display: block !important;
        pointer-events: none !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #mps-chatbot-widget .mps-modal-body {
        padding: 20px;
    }

    #mps-chatbot-widget .mps-form-group {
        margin-bottom: 14px;
    }

    #mps-chatbot-widget .mps-form-group label {
        display: block;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        margin-bottom: 6px !important;
    }

    #mps-chatbot-widget .mps-form-group input,
    #mps-chatbot-widget .mps-form-group textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        font-size: 14px !important;
        color: #1e293b !important;
        background: #ffffff !important;
        outline: none;
        transition: border-color 0.2s;
        font-family: inherit;
    }

    #mps-chatbot-widget .mps-form-group input:focus,
    #mps-chatbot-widget .mps-form-group textarea:focus {
        border-color: var(--mps-blue);
    }

    #mps-chatbot-widget .mps-enq-submit {
        width: 100%;
        padding: 12px;
        background: var(--mps-blue) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 8px;
        font-size: 14px !important;
        font-weight: 700 !important;
        cursor: pointer;
        margin-top: 8px;
        transition: background 0.2s;
    }

    #mps-chatbot-widget .mps-enq-submit:hover {
        background: var(--mps-blue-dark) !important;
    }

    #mps-chatbot-widget .mps-enq-submit:disabled {
        background: #94a3b8 !important;
        cursor: not-allowed;
    }

    #mps-chatbot-widget .mps-form-feedback {
        margin-top: 12px;
        font-size: 13px !important;
        text-align: center;
        font-weight: 600 !important;
    }

    #mps-chatbot-widget .mps-form-feedback.mps-success {
        color: #16a34a !important;
    }

    #mps-chatbot-widget .mps-form-feedback.mps-error {
        color: #dc2626 !important;
    }
