        :root {
            --bg-primary: #0a0e1a;
            --bg-secondary: #12172a;
            --bg-tertiary: #1a2138;
            --bg-elevated: #222b42;
            --accent-primary: #00d4aa;
            --accent-hover: #00ebc0;
            --accent-muted: #004d3d;
            --text-primary: #e8eef7;
            --text-secondary: #8b96b0;
            --text-tertiary: #5c6b89;
            --border-subtle: #2a3552;
            --border-bright: #3d4d6f;
            --status-success: #00d4aa;
            --status-pending: #fbbf24;
            --status-error: #f87171;
            --status-imported: #60a5fa;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            -webkit-font-smoothing: antialiased;
        }
        #root { width: 100%; min-height: 100vh; }
        .mono { font-family: 'JetBrains Mono', monospace; }

        /* Animations */
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

        /* Scrollbar */
        ::-webkit-scrollbar { width: 8px; height: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg-secondary); }
        ::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

        /* Ícone do seletor de data nativo (input[type=date]) — o navegador desenha
           esse ícone em preto por padrão, o que fica invisível sobre o fundo escuro
           do tema. Regra global para não depender de cada tela repetir isso (só
           2 telas tinham essa correção local antes de virar regra global — ver
           PATTERNS.md, seção de iconografia). */
        input[type="date"]::-webkit-calendar-picker-indicator {
            filter: invert(1);
            cursor: pointer;
        }

        /* Button styles */
        .btn {
            padding: 10px 20px;
            border-radius: 8px;
            border: none;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.15s ease;
            font-family: 'DM Sans', sans-serif;
        }
        .btn-primary {
            background: var(--accent-primary);
            color: var(--bg-primary);
        }
        .btn-primary:hover {
            background: var(--accent-hover);
            transform: translateY(-1px);
        }
        .btn-secondary {
            background: var(--bg-elevated);
            color: var(--text-primary);
            border: 1px solid var(--border-bright);
        }
        .btn-secondary:hover {
            background: var(--bg-tertiary);
        }
        .btn-danger {
            background: var(--status-error);
            color: white;
        }
        .btn-danger:hover {
            background: #dc2626;
        }

        /* Input styles */
        .input {
            width: 100%;
            background: var(--bg-secondary);
            border: 1px solid var(--border-subtle);
            border-radius: 8px;
            padding: 10px 14px;
            color: var(--text-primary);
            font-size: 14px;
            font-family: 'DM Sans', sans-serif;
            transition: border 0.15s ease;
        }
        .input:focus {
            outline: none;
            border-color: var(--accent-primary);
        }
        .input::placeholder {
            color: var(--text-tertiary);
        }

        /* Select styles */
        .select {
            width: 100%;
            background: var(--bg-secondary);
            border: 1px solid var(--border-subtle);
            border-radius: 8px;
            padding: 10px 14px;
            color: var(--text-primary);
            font-size: 14px;
            font-family: 'DM Sans', sans-serif;
            cursor: pointer;
        }
        .select:focus {
            outline: none;
            border-color: var(--accent-primary);
        }

        /* Card styles */
        .card {
            background: var(--bg-secondary);
            border: 1px solid var(--border-subtle);
            border-radius: 12px;
            padding: 24px;
            animation: slideUp 0.3s ease;
        }

        /* Table styles */
        .table-container {
            overflow-x: auto;
            overflow-y: visible;
            border-radius: 12px;
            border: 1px solid var(--border-subtle);
        }
        table {
            width: 100%;
            min-width: 2250px;
            border-collapse: collapse;
            background: var(--bg-secondary);
        }
        th {
            background: var(--bg-tertiary);
            padding: 14px 12px;
            text-align: left;
            font-weight: 600;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-secondary);
            border-bottom: 1px solid var(--border-subtle);
            white-space: nowrap;
            position: sticky;
            top: 0;
            z-index: 10;
        }
        td {
            padding: 12px;
            border-bottom: 1px solid var(--border-subtle);
            font-size: 13px;
            white-space: nowrap;
        }
        tr:hover {
            background: var(--bg-tertiary);
        }

        /* Status badges */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
        }
        .badge-success { background: rgba(0, 212, 170, 0.15); color: var(--status-success); }
        .badge-pending { background: rgba(251, 191, 36, 0.15); color: var(--status-pending); }
        .badge-error { background: rgba(248, 113, 113, 0.15); color: var(--status-error); }
        .badge-imported { background: rgba(96, 165, 250, 0.15); color: var(--status-imported); }

        /* Ícone girando — usado em indicadores de "processando" (ex: barras de progresso de jobs) */
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
