/* contabilizar.css — Sección Contabilizar */
#asec-contab .ctb-drop{border:2px dashed #94a3b8;border-radius:16px;background:#f8fafc;padding:26px 18px;text-align:center;cursor:pointer;transition:.15s}
#asec-contab .ctb-drop.over,#asec-contab .ctb-drop:hover{border-color:#6366f1;background:#eef2ff}
#asec-contab .ctb-drop b{display:block;font-size:1rem;color:#0f172a;margin-bottom:4px}
#asec-contab .ctb-drop span{font-size:.8rem;color:#64748b}
#asec-contab .ctb-files{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
#asec-contab .ctb-file{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:6px 8px 6px 14px;font-size:.78rem;color:#0f172a}
#asec-contab .ctb-file small{color:#64748b}
#asec-contab .ctb-file button{border:none;background:#f1f5f9;border-radius:50%;width:22px;height:22px;cursor:pointer;color:#475569;font-weight:700;line-height:1}
#asec-contab .ctb-file.bad{border-color:#fca5a5;background:#fef2f2}
#asec-contab .ctb-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:18px 0}
#asec-contab .ctb-k{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px 16px}
#asec-contab .ctb-k .v{font-size:1.9rem;font-weight:900;color:#0f172a;line-height:1.1}
#asec-contab .ctb-k .l{font-size:.78rem;font-weight:700;color:#475569;margin-top:2px}
#asec-contab .ctb-k .s{font-size:.72rem;color:#94a3b8;margin-top:2px}
#asec-contab .ctb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px;align-items:start}
#asec-contab .ctb-grid .admin-card{margin-bottom:0}
#asec-contab table.ctb-t{width:100%;border-collapse:collapse;font-size:.82rem}
#asec-contab .ctb-t th{text-align:right;font-size:.72rem;color:#64748b;font-weight:700;padding:6px 8px;border-bottom:1px solid #e2e8f0}
#asec-contab .ctb-t th:first-child,#asec-contab .ctb-t td:first-child{text-align:left}
#asec-contab .ctb-t td{padding:7px 8px;border-bottom:1px solid #f1f5f9;text-align:right;color:#0f172a;font-variant-numeric:tabular-nums}
#asec-contab .ctb-t td:first-child{font-weight:600}
#asec-contab .ctb-t td{white-space:nowrap}
#asec-contab .ctb-t td:first-child{white-space:normal}
#asec-contab .ctb-t.chk td:nth-child(2),#asec-contab .ctb-t.chk th:nth-child(2){text-align:left;white-space:normal}
#asec-contab .ctb-bar{display:block;height:5px;border-radius:3px;background:#e2e8f0;margin-top:4px;overflow:hidden}
#asec-contab .ctb-bar i{display:block;height:100%;background:#6366f1;border-radius:3px}
#asec-contab .ctb-scroll{max-height:420px;overflow:auto}
#asec-contab .ctb-btn{background:#0f172a;color:#fff;border:none;border-radius:10px;padding:9px 16px;font-size:.82rem;font-weight:700;cursor:pointer}
#asec-contab .ctb-btn:hover{background:#1e293b}
#asec-contab .ctb-btn.sec{background:#fff;color:#334155;border:1px solid #cbd5e1}
#asec-contab .ctb-btn:disabled{opacity:.6;cursor:wait}
#asec-contab .ctb-note{font-size:.75rem;color:#64748b;margin-top:10px}
#asec-contab .ctb-err{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:12px;padding:10px 14px;font-size:.8rem;margin-top:12px}
