      /* Reset protégé pour l'intégration */
        .zb_analytics_container * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .zb_analytics_container {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f9fafb;
            color: #111827;
            line-height: 1.6;
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        .zb_header {
            margin-bottom: 2rem;
        }

        .zb_header h1 {
            font-size: 2rem;
            font-weight: bold;
            color: #111827;
            margin-bottom: 0.5rem;
        }

        .zb_header p {
            color: #6b7280;
            font-size: 1rem;
        }

        .zb_filters_card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .zb_filters {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
        }

        .zb_filter_group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .zb_filter_group svg {
            width: 1rem;
            height: 1rem;
            color: #6b7280;
        }

        .zb_analytics_container select, 
        .zb_analytics_container input {
            border: 1px solid #d1d5db;
            border-radius: 8px;
            padding: 0.5rem 0.75rem;
            font-size: 0.875rem;
            transition: all 0.2s;
            font-family: inherit;
        }

        .zb_analytics_container select:focus, 
        .zb_analytics_container input:focus {
            outline: none;
            border-color: #0d9488;
            box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
        }

        .zb_search_input {
            min-width: 16rem;
            flex: 1;
        }

        .zb_export_btn {
            background: #0d9488;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: inherit;
        }

        .zb_export_btn:hover {
            background: #0f766e;
        }

        .zb_summary_card {
            background: linear-gradient(135deg, #0d9488 0%, #2563eb 100%);
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            margin-bottom: 2rem;
            color: white;
        }

        .zb_summary_header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .zb_summary_title {
            font-size: 1.25rem;
            font-weight: bold;
        }

        .zb_summary_period {
            font-size: 0.875rem;
            opacity: 0.9;
        }

        .zb_summary_metrics {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
        }

        .zb_summary_metric {
            text-align: center;
        }

        .zb_summary_metric_value {
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 0.25rem;
        }

        .zb_summary_metric_label {
            font-size: 0.875rem;
            opacity: 0.9;
        }

        .zb_stats_grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .zb_stat_card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
            padding: 1.5rem;
        }

        .zb_stat_header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .zb_stat_content h3 {
            font-size: 0.875rem;
            font-weight: 500;
            color: #6b7280;
            margin-bottom: 0.25rem;
        }

        .zb_stat_content p {
            font-size: 1.5rem;
            font-weight: bold;
            color: #111827;
        }

        .zb_stat_icon {
            width: 3rem;
            height: 3rem;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .zb_stat_icon.zb_teal { background: #ccfbf1; color: #0d9488; }
        .zb_stat_icon.zb_blue { background: #dbeafe; color: #2563eb; }
        .zb_stat_icon.zb_purple { background: #e9d5ff; color: #7c3aed; }
        .zb_stat_icon.zb_yellow { background: #fef3c7; color: #d97706; }
        .zb_stat_icon.zb_green { background: #d1fae5; color: #059669; }

        .zb_stat_footer {
            font-size: 0.75rem;
            color: #6b7280;
            margin-top: 0.5rem;
        }

        .zb_stat_footer.zb_positive { color: #059669; }
        .zb_stat_footer.zb_negative { color: #dc2626; }

        .zb_charts_grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .zb_chart_card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
            padding: 1.5rem;
        }

        .zb_chart_title {
            font-size: 1.125rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 1rem;
        }

        .zb_chart_container {
            position: relative;
            height: 300px;
        }

        .zb_activity_section {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .zb_activity_card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
            padding: 1.5rem;
        }

        .zb_activity_list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .zb_activity_item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem;
            background: #f9fafb;
            border-radius: 8px;
        }

        .zb_activity_left {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .zb_activity_icon {
            font-size: 1.125rem;
        }

        .zb_activity_details h4 {
            font-size: 0.875rem;
            font-weight: 500;
            color: #111827;
            margin-bottom: 0.125rem;
        }

        .zb_activity_details p {
            font-size: 0.75rem;
            color: #6b7280;
        }

        .zb_activity_right {
            text-align: right;
        }

        .zb_activity_right p:first-child {
            font-size: 0.875rem;
            font-weight: 500;
            color: #111827;
        }

        .zb_activity_right p:last-child {
            font-size: 0.75rem;
            color: #6b7280;
        }

        .zb_sessions_table {
            background: white;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
            overflow: hidden;
        }

        .zb_table_header {
            padding: 1.5rem;
            border-bottom: 1px solid #e5e7eb;
        }

        .zb_table_header h3 {
            font-size: 1.125rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 0.25rem;
        }

        .zb_table_header p {
            font-size: 0.875rem;
            color: #6b7280;
        }

        .zb_table_container {
            overflow-x: auto;
        }

        .zb_analytics_container table {
            width: 100%;
            border-collapse: collapse;
        }

        .zb_analytics_container thead {
            background: #f9fafb;
        }

        .zb_analytics_container th {
            padding: 0.75rem 1.5rem;
            text-align: left;
            font-size: 0.75rem;
            font-weight: 500;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .zb_analytics_container td {
            padding: 1rem 1.5rem;
            border-top: 1px solid #e5e7eb;
            font-size: 0.875rem;
        }

        .zb_analytics_container tr:hover {
            background: #f9fafb;
        }

        .zb_app_cell {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .zb_app_icon {
            width: 2rem;
            height: 2rem;
            background: #ccfbf1;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.875rem;
        }

        .zb_app_name {
            font-weight: 500;
            color: #111827;
        }

        .zb_date_cell div:first-child {
            color: #111827;
            margin-bottom: 0.125rem;
        }

        .zb_date_cell div:last-child {
            color: #6b7280;
            font-size: 0.75rem;
        }

        .zb_status_badge {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 500;
        }

        .zb_status_active {
            background: #dbeafe;
            color: #1d4ed8;
        }

        .zb_status_completed {
            background: #d1fae5;
            color: #065f46;
        }

        .zb_status_error {
            background: #fee2e2;
            color: #991b1b;
        }

        .zb_progress_bar {
            width: 3rem;
            height: 0.5rem;
            background: #e5e7eb;
            border-radius: 9999px;
            overflow: hidden;
            margin-left: 0.5rem;
        }

        .zb_progress_fill {
            height: 100%;
            background: #0d9488;
            border-radius: 9999px;
            transition: width 0.3s ease;
        }

        .zb_table_footer {
            padding: 1rem 1.5rem;
            border-top: 1px solid #e5e7eb;
            text-align: center;
        }

        .zb_load_more_btn {
            color: #0d9488;
            background: none;
            border: none;
            font-weight: 500;
            cursor: pointer;
            font-size: 0.875rem;
            font-family: inherit;
        }

        .zb_load_more_btn:hover {
            color: #0f766e;
        }

        @media (max-width: 768px) {
            .zb_analytics_container {
                padding: 1rem;
            }
            
            .zb_filters {
                flex-direction: column;
                align-items: stretch;
            }
            
            .zb_summary_metrics {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .zb_stats_grid {
                grid-template-columns: 1fr;
            }
            
            .zb_charts_grid {
                grid-template-columns: 1fr;
            }
            
            .zb_activity_section {
                grid-template-columns: 1fr;
            }
        }