/* Complementos de Control de Gastos sobre estilo.css (compartido con el portal de asistencia) */
.logos-entrada { display: flex; gap: 1.5rem; justify-content: center; align-items: center; margin-bottom: .5rem; }
.logos-entrada img { max-height: 48px; max-width: 45%; }
.resumen-reporte { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem 1.25rem; }
.resumen-reporte div { display: flex; flex-direction: column; }
.resumen-reporte span { font-size: .8rem; opacity: .7; }
.resumen-reporte small { font-size: .8rem; opacity: .7; }
.resumen-reporte .total strong { font-size: 1.35rem; }
.factura { padding-bottom: .5rem; }
.factura.rechazada { opacity: .75; }
.factura-cabeza { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.factura-acciones { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.factura-acciones strong { font-size: 1.1rem; }
table.conceptos td, table.conceptos th { font-size: .9rem; }
input.cuenta { min-width: 15rem; }
input.cuenta.falta { border-color: #c0392b; background: #fdecea; }
form.rechazo { display: inline-flex; gap: .3rem; align-items: center; }
form.rechazo input { width: 9rem; padding: .25rem .4rem; }
form.rechazo button { padding: .25rem .6rem; }
.acciones-reporte form { margin: .4rem .6rem .4rem 0; }
form.subir .filtros { align-items: flex-end; }
table.bitacora td { font-size: .85rem; }
@media (max-width: 700px) {
  input.cuenta { min-width: 10rem; }
  form.rechazo input { width: 6rem; }
}

/* ---------- Tablero (paleta de datos validada: s1 azul, s2 naranja) ---------- */
.tablero { --s1: #2a78d6; --s2: #eb6834; --rejilla: #e3e7ed; --eje: #52514e; }
.tablero-cabeza { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.tablero-cabeza h1 { margin-bottom: .3rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; margin: 1rem 0; }
.kpi { background: #fff; border: 1px solid var(--borde); border-radius: 10px; padding: .8rem 1rem; display: flex; flex-direction: column; gap: .15rem; }
.kpi span { font-size: .82rem; color: var(--gris); }
.kpi strong { font-size: 1.7rem; line-height: 1.2; color: var(--texto); font-variant-numeric: tabular-nums; }
.kpi small { font-size: .8rem; color: var(--gris); }
.kpi.alerta-kpi { border-color: var(--rojo); }
.leyenda { font-size: .85rem; color: var(--gris); display: flex; gap: .4rem 1rem; align-items: center; flex-wrap: wrap; margin: 0 0 .4rem; }
.muestra { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.muestra.s1 { background: var(--s1); } .muestra.s2 { background: var(--s2); }
svg.grafica { width: 100%; height: auto; display: block; }
svg.grafica .rejilla { stroke: var(--rejilla); stroke-width: 1; }
svg.grafica .base { stroke: #b8c0cc; stroke-width: 1; }
svg.grafica .eje { fill: var(--eje); font-size: 11px; font-variant-numeric: tabular-nums; }
svg .s1 { fill: var(--s1); } svg .s2 { fill: var(--s2); }
svg.grafica .golpe { fill: transparent; }
svg.grafica .mes:hover .golpe { fill: rgba(31, 41, 51, .06); }
.rejilla-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.ranking h2 { font-size: 1rem; }
.fila-ranking { margin: .45rem 0; }
.r-texto { display: flex; justify-content: space-between; gap: .6rem; font-size: .85rem; }
.r-nombre { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-valor { font-variant-numeric: tabular-nums; color: var(--gris); white-space: nowrap; }
svg.r-pista { width: 100%; height: 8px; display: block; margin-top: 3px; }
svg.r-pista .r-fondo { fill: #eef1f5; }
ul.pendientes { margin: 0 0 1rem; padding-left: 1.2rem; line-height: 1.8; }
