        body { font-family: 'Inter', system-ui, sans-serif; }
        .rtl-text {
            direction: rtl;
            text-align: right;
            unicode-bidi: isolate;
        }
        @keyframes pulse-dot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.2); }
        }
        .pulse-indicator {
            animation: pulse-dot 1.5s ease-in-out infinite;
        }

        /* Activity Log — modern dark-editor scrollbar */
        #activityLog::-webkit-scrollbar {
            width: 6px;
        }
        #activityLog::-webkit-scrollbar-track {
            background: transparent;
        }
        #activityLog::-webkit-scrollbar-thumb {
            background-color: #475569;
            border-radius: 3px;
        }
        #activityLog::-webkit-scrollbar-thumb:hover {
            background-color: #64748b;
        }
        #activityLog {
            scrollbar-width: thin;
            scrollbar-color: #475569 transparent;
        }

        /* Tom Select dark-mode overrides */
        .dark .ts-control,
        .dark .ts-control input,
        .dark .ts-dropdown {
            background-color: #0F0F12;
            color: #E2E2E8;
            border-color: #2A2A30;
        }
        .dark .ts-dropdown .option {
            color: #E2E2E8;
        }
        .dark .ts-dropdown .option:hover,
        .dark .ts-dropdown .active {
            background-color: #2A2A30;
            color: #E2E2E8;
        }
        .dark .ts-dropdown .selected {
            background-color: #1A1A1E;
        }
        .dark .ts-control .item,
        .dark .ts-control .ts-input {
            color: #E2E2E8;
        }
        .dark .ts-control input::placeholder {
            color: #8A8F98;
        }
