
<section>
    <h2 style="font-family:'Plus Jakarta Sans',sans-serif; font-size:14px; font-weight:700; color:var(--text-strong); margin:0 0 12px;">
        <?php echo e($titulo); ?>

    </h2>

    
    <div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:16px;">
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $listas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lista): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div style="background:var(--surface-card); border:1px solid var(--border-subtle); border-radius:12px; overflow:hidden;">
                
                <a href="<?php echo e($lista['enlace']); ?>" wire:navigate
                   style="display:flex; align-items:center; gap:9px; padding:12px 18px 9px;">
                    
                    <span style="color:var(--orange-500); display:flex;">
                        <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor"
                             stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round">
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $lista['icono']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $trazo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <path d="<?php echo e($trazo); ?>" />
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                        </svg>
                    </span>
                    <span style="flex:1; font-size:11px; font-weight:600; letter-spacing:0.07em; text-transform:uppercase; color:var(--text-muted);">
                        <?php echo e($lista['titulo']); ?>

                    </span>
                    <span style="font-size:11.5px; font-weight:600; color:var(--text-link);">Ver tabla →</span>
                </a>

                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__empty_1 = true; $__currentLoopData = $lista['filas']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i => $fila): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                    <div style="display:flex; align-items:center; gap:10px; padding:6px 18px; border-top:1px solid var(--divider); font-size:12.5px;">
                        <span style="flex:none; width:16px; font-size:11px; color:var(--text-subtle);"><?php echo e($i + 1); ?></span>

                        <a href="<?php echo e($fila['url']); ?>" wire:navigate
                           title="<?php echo e($fila['nombre']); ?><?php echo e($fila['cliente'] ? ' · ' . $fila['cliente'] : ''); ?>"
                           style="flex:1; min-width:0; font-weight:400; color:var(--text-body); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;">
                            <?php echo e($fila['dominio']); ?>

                        </a>

                        <span style="flex:none; font-family:monospace; font-size:12px; font-weight:700; color:<?php echo e($signo ? 'var(--success-500)' : 'var(--text-strong)'); ?>;">
                            <?php echo e($signo); ?><?php echo e(number_format($fila['cuantos'], 0, ',', '.')); ?>

                        </span>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                    <div style="padding:10px 18px 14px; border-top:1px solid var(--divider); font-size:12.5px; color:var(--text-muted);">
                        <?php echo e(str_replace(':unidad', $lista['unidad'], $vacio)); ?>

                    </div>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    </div>
</section><?php /**PATH /var/www/html/resources/views/livewire/dashboard/partials/ranking.blade.php ENDPATH**/ ?>