.prod-page{padding:0;animation:prodFadeIn .4s ease-out}
@keyframes prodFadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.prod-header{background:linear-gradient(135deg,#1e3a8a 0%,#312e81 100%);color:#fff;padding:24px 32px;border-radius:16px 16px 0 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
.prod-header-title{display:flex;align-items:center;gap:16px}
.prod-header-icon{width:56px;height:56px;background:rgba(255,255,255,.15);border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.prod-header-title h2{font-size:24px;font-weight:700;margin:0;letter-spacing:-.3px}
.prod-header-title p{font-size:13px;opacity:.85;margin:2px 0 0 0}
.prod-filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.prod-filter-group{display:flex;flex-direction:column;gap:4px}
.prod-filter-group label{font-size:10px;text-transform:uppercase;letter-spacing:.5px;opacity:.7;font-weight:600;margin:0}
.prod-filter-group input{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.2);color:#fff;padding:6px 10px;border-radius:8px;font-size:13px;font-family:inherit;width:140px}
.prod-filter-group input:focus{outline:none;background:rgba(255,255,255,.25);border-color:rgba(255,255,255,.4)}
.prod-filter-group input::placeholder{color:rgba(255,255,255,.5)}
.prod-btn-filter{background:#fff;color:#1e3a8a;border:none;padding:8px 18px;border-radius:8px;font-weight:700;font-size:13px;cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s;font-family:inherit}
.prod-btn-filter:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.2)}
.prod-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;padding:24px 32px;background:#f8fafc}
.prod-kpi{background:#fff;border-radius:14px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.04);border-left:4px solid var(--kpi-color,#3182ce);display:flex;align-items:center;gap:16px;transition:all .3s;position:relative;overflow:hidden}
.prod-kpi::before{content:'';position:absolute;top:0;right:0;width:80px;height:80px;background:var(--kpi-color,#3182ce);opacity:.06;border-radius:50%;transform:translate(30px,-30px)}
.prod-kpi:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.08)}
.prod-kpi-icon{width:48px;height:48px;background:var(--kpi-color,#3182ce);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff;flex-shrink:0}
.prod-kpi-content{flex:1}
.prod-kpi-label{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-weight:600;margin-bottom:4px}
.prod-kpi-value{font-size:26px;font-weight:800;color:#0f172a;line-height:1}
.prod-kpi-sub{font-size:11px;color:#94a3b8;margin-top:4px}
.prod-charts{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;padding:0 32px 24px;background:#f8fafc}
@media(max-width:1024px){.prod-charts{grid-template-columns:1fr}}
.prod-chart-card{background:#fff;border-radius:14px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.prod-chart-title{font-size:14px;font-weight:700;color:#0f172a;margin-bottom:4px;display:flex;align-items:center;gap:8px}
.prod-chart-title i{color:#3182ce;font-size:13px}
.prod-chart-subtitle{font-size:11px;color:#94a3b8;margin-bottom:16px}
.prod-chart-canvas-wrap{position:relative;height:280px}
.prod-ranking{padding:0 32px 24px;background:#f8fafc}
.prod-ranking-card{background:#fff;border-radius:14px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.prod-ranking-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;flex-wrap:wrap;gap:10px}
.prod-ranking-title{font-size:14px;font-weight:700;color:#0f172a;display:flex;align-items:center;gap:8px}
.prod-ranking-title i{color:#f59e0b}
.prod-btn-export{background:#16a34a;color:#fff;border:none;padding:8px 14px;border-radius:8px;font-weight:600;font-size:12px;cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s;font-family:inherit}
.prod-btn-export:hover{background:#15803d;transform:translateY(-1px)}
.prod-table{width:100%;border-collapse:collapse}
.prod-table th{background:#f1f5f9;color:#475569;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;padding:12px 14px;text-align:left;border-bottom:2px solid #e2e8f0}
.prod-table th:first-child{border-top-left-radius:8px}
.prod-table th:last-child{border-top-right-radius:8px;text-align:right}
.prod-table td{padding:14px;border-bottom:1px solid #f1f5f9;font-size:13px;color:#1e293b;vertical-align:middle}
.prod-table td:last-child{text-align:right}
.prod-table tr:hover{background:#f8fafc}
.prod-table tr:last-child td{border-bottom:none}
.prod-avatar-cell{display:flex;align-items:center;gap:12px}
.prod-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#3182ce,#805ad5);color:#fff;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.prod-avatar.operario{background:linear-gradient(135deg,#38a169,#48bb78)}
.prod-avatar.supervisor{background:linear-gradient(135deg,#805ad5,#9f7aea)}
.prod-avatar.administrador{background:linear-gradient(135deg,#3182ce,#4299e1)}
.prod-avatar.guardia{background:linear-gradient(135deg,#d69e2e,#ecc94b)}
.prod-user-info{display:flex;flex-direction:column;gap:2px}
.prod-user-name{font-weight:700;color:#0f172a;font-size:13px}
.prod-user-rol{font-size:11px;color:#64748b}
.prod-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:600}
.prod-badge-success{background:#dcfce7;color:#166534}
.prod-badge-info{background:#dbeafe;color:#1e40af}
.prod-badge-purple{background:#f3e8ff;color:#6b21a8}
.prod-badge-warning{background:#fef3c7;color:#92400e}
.prod-bar-cell{display:flex;align-items:center;gap:8px}
.prod-bar-wrap{flex:1;height:8px;background:#f1f5f9;border-radius:4px;overflow:hidden;max-width:100px}
.prod-bar-fill{height:100%;background:linear-gradient(90deg,#3182ce,#4299e1);border-radius:4px;transition:width .6s ease}
.prod-valor{font-weight:700;color:#0f172a;font-family:'Courier New',monospace;font-size:13px}
.prod-empty-state{text-align:center;padding:60px 20px;color:#94a3b8}
.prod-empty-state i{font-size:64px;opacity:.3;margin-bottom:16px}
.prod-empty-state h3{font-size:16px;color:#64748b;margin:0 0 4px 0}
.prod-empty-state p{font-size:13px;color:#94a3b8;margin:0}
@media(max-width:768px){.prod-header{flex-direction:column;align-items:stretch;padding:20px}.prod-filters{flex-direction:column;align-items:stretch}.prod-filter-group input{width:100%}.prod-kpis{grid-template-columns:1fr 1fr;padding:20px}.prod-charts{padding:0 20px 20px}.prod-ranking{padding:0 20px 20px}.prod-chart-canvas-wrap{height:220px}.prod-table{font-size:12px}.prod-table th,.prod-table td{padding:10px 8px}}
