/*na-sello 2026-10-01 10:42:41 80f0c781*/
/* app_rep.css */
/* REPORTES
  reporte de todos los gastos por potrero*/
section{
  box-sizing: border-box;
}
#inRepGXPAnio{
  width:        33px;
  padding:      2px 4px 2px 4px;
  margin-left:  10px;
}



/*Nuevo Rep de DJ */
#divDJPieOut{
  float:      left;
  width:      100%;
  /* height:     30px; */
  text-align: center;
  background: #fff;
  padding:    5px;
  font-size:  20px;
  font-style: italic
}


#divDJRep{
  float:      left;
  width:      100%;
  max-width:  820px;
  background: #fff;
  display:    none;
  text-align: left;
  padding:    10px;
  z-index:    3
}

.divXRepDJ{
  float:  right;
  width:  30px
}

.tblDJCab{
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
}
  .tblDJCab tr td{
    padding:    2px 2px 2px 3px;
    text-align: center;
    /* border:     0.6px solid silver */
    /* border-bottom:  0.6px solid silver */
  }

  .tblDJCab tr td:nth-child(1){width: 200px}
  .tblDJCab tr td:nth-child(2){width: auto; text-align:center}
  .tblDJCab tr td:nth-child(3){width: 110px }
  .tblDJCab tr td:nth-child(4){width: 40px; font-size:0.8em}
  .tblDJCab tr td:nth-child(5){width: 110px; }
  .tblDJCab tr td:nth-child(6){width: 80px; }
  .tblDJCab tr td:nth-child(7){width: 80px; }

  .tblDJCab button{
    font-size:  18px;
  }

  #inDJInicio{
    /* border:     none; */
    width:      92px;
    text-align: center;
    font-size:  18px;
    color:      #0066CC
  }

  #inDJFin{
    /* border:     none; */
    width:      92px;
    text-align: center;
    font-size:  18px;
    color:      #0066CC
  }


/*DJ Total rep*/
.tblDJRep{
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  display:          block
}

  .tblDJRep thead tr{
    width:      120px;
    font-size:  14px;
    color:      #000;
    padding:    10px;
    text-align: center;
    background: #e4e1e1
  }
    .tblDJRep thead tr th{
      padding:    3px;
      border:     1px solid gray;
      font-weight:  normal
    }

  .tblDJRep tbody tr td{
    padding:    2px 4px 2px 4px;
    border:     0.6px solid silver;
    text-align: right;
    /* border-bottom:  0.6px solid silver */
  }
  .tblDJRep tbody tr:hover{
    background-color:  #FFFF99;
  }

  .tblDJRep tbody tr td:nth-child(1){width: 170px;text-align:left}
  .tblDJRep tbody tr td:nth-child(2){width: 116px; text-align:center}
  .tblDJRep tbody tr td:nth-child(3){width: 68px; text-align:right}
  .tblDJRep tbody tr td:nth-child(4){width: 68px; text-align:right}
  .tblDJRep tbody tr td:nth-child(5){width: 68px; text-align:right}
  .tblDJRep tbody tr td:nth-child(6){width: 68px; text-align:right}
  .tblDJRep tbody tr td:nth-child(7){width: 68px; text-align:right}
  .tblDJRep tbody tr td:nth-child(8){width: 68px; text-align:right}
  .tblDJRep tbody tr td:nth-child(9){width: 68px; text-align:right}
  .tblDJRep tbody tr td:nth-child(10){width: auto; text-align:right}
  /* .tblDJRep tr td:nth-child(6){width: 30px; text-align:center} */

  .tblDJRep tfoot tr td{
    padding:    2px 2px 2px 3px;
    text-align: center;
    font-size:  1em;
    background: #dbeafe; //FFFFCC;
    color:      #0066FF;
    border:     0.6px solid silver
  }

  .divFlechas{
    float:      right;
    width:      20px;
    padding:    2px;
    background: none
  }


.divDJResumen{
  float:      left;
  width:      450px;
  background: #fff;
  font-size:  16px;
  padding:    10px;
  margin-top: 20px;
  /* border:     1px solid green; */
}

.tblDJResumen{
  width:            400px;
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  display:          block
}

  .tblDJResumen tr td{
    border:     0.6px solid silver;
    padding:    10px;
    text-align: right
  }

  .tblDJResumen tr td:nth-child(1){width: 50px;   text-align:center}
  .tblDJResumen tr td:nth-child(2){width: 200px;  text-align:left}
  .tblDJResumen tr td:nth-child(3){width: 90px;   text-align:right}
  .tblDJResumen tr td:nth-child(4){width: 110px;  text-align:right}


  .divDJResumen1{
    width:      100%;
    float:      left;
    background: #fff;
    font-size:  19px;
    padding:    10px
  }
  .divDJResumen2{
    width:        100%;
    float:        left;
    background:   #fff;
    font-size:    16px;
    padding-left: 30px;
  }

  .divDJResData1{
    float:        left;
    width:        120px;

  }
  .divDJResNum{
    margin-left:  20px;
    float:        left;
    width:        70px
  }



/*Gastos*/
.div1GXP{
  float:      left;
  width:      100%;
  text-align: center;
  background: #303030;
  padding:    1px 0px 1px 0px
}
.div2GXP{
  float:      left;
  width:      100%;
  background: var(--azulMarino);
  color:      #fff;
  text-align: center;
  padding:    5px
}
.div3GXP{
  float:        right;
  width:        20px;
  background:   none;
  text-align:   center;
  margin-right: 4px
}
.div4GXP{
  float:          left;
  width:          100%;
  background:     #fff;
  margin-bottom:  20px
}
  .butGXP{
    margin-left:  10px;
    width:        108px;
    cursor:       pointer
  }




/*Sanidad*/

/* ================================================================================================
   2026-09-25, reportado por Natalia: "el tamano de letra en botones y titulos parece menor al
   tamano de la letra del listado de tratamientos".

   ERA CIERTO, y la causa es una CASCADA DE `em` ANIDADOS. `em` es relativo al PADRE, no a la raiz:

     .tblNA          0.85rem        <- el listado, en rem (sistema de app_tablas.css)
       .capSaniFin   0.9em          -> 0.9 x 0.85 = 0.765rem     el caption ya sale mas chico
         boton/select 0.9em         -> 0.9 x 0.765 = 0.69rem     y los controles, mas todavia

   O sea que los botones terminaban un 19% mas chicos que las celdas de al lado. Nadie lo escribio
   asi: cada `0.9em` parecia razonable mirado solo.

   ARREGLO: estos cuatro pasan a `rem`, que es lo que ya usa el sistema de tablas, y quedan
   alineados con el listado. En rem el valor es el que se lee, no depende de donde este anidado.
   ================================================================================================ */
.btnSaniFin{
  
  
  
  margin-top: 3px;
  cursor:     pointer;
  min-width:  80px;   /*2026-11-25: dice "Guardar fin de tratamiento": crece con el texto*/
  padding:    4px 8px;
  font-size:  0.85rem      /*era 0.9em, que caia a 0.69rem por los em anidados*/
}
  .btnSaniFin:hover{
    
    }

  .capSaniFin{
    font-size:    0.85rem;   /*era 0.9em = 0.765rem*/
    padding-top:  3px;
    text-align:   center;
    /* background:   yellow; */
    padding:      5px 5px 5px 5px
  }


#inSaniSel{
  width:      105px;
  font-size:  0.85rem;     /*era 0.9em = 0.69rem*/
  margin-left:  10px;
  margin-top:   5px
}

#selSaniFin{
  width:      105px;
  font-size:  0.85rem;     /*era 0.9em = 0.69rem*/
  margin-left:  10px;
  margin-top:   5px
}

/* 2026-09-25 Natalia punto 6: el buscador de lote, al lado de los dos combos. Mismo tamano que
   ellos, por lo de arriba. Angosto a proposito: se escriben numeros de lote, no frases. */
.inSaniBusca{
  width:        110px;
  font-size:    0.85rem;
  /* 2026-09-25, Natalia: "aparece casi superpuesto con el filtro de tratamientos". Los dos combos
     llevan 10px y entre ellos alcanza porque un <select> trae su propio aire; un <input> no, y
     pegado al combo de al lado los dos se leen como un solo control. Va mas separacion. */
  margin-left:  18px;
  margin-top:   5px;
  padding:      2px 4px;
  border:       1px solid silver;
}
  .inSaniBusca:focus{ outline: 2px solid #0066ff; outline-offset: 1px; }

/* 2026-09-25 Natalia punto 4: el encabezado de Fecha ordena. Se avisa que se puede clickear con el
   cursor y el subrayado punteado, no solo con la flecha: la flecha sola se lee como decoracion. */
.thSaniOrden{
  cursor:           pointer;
  text-decoration:  underline dotted;
  user-select:      none;
}
  .thSaniOrden:hover{ background: var(--naMarinoClaro, #1b3a6b); }
  #spSaniFlecha{ font-weight: bold; }

/* ================================================================================================
   2026-09-23, pedido de Nestor: "ubica el listado de sanidad contra el borde izquierdo de la
   pantalla, debajo del menu, asi creo que entraria siempre o al menos quedara mejor".

   POR QUE. El listado vive dentro de #secFlotante, que mide  calc(100% - 510px)  y flota AL LADO
   de #main (la franja del menu). O sea que arranca a ~565px del borde y le quedan ~770px en una
   pantalla de 1280 para diez columnas -- con media pantalla vacia a la izquierda.
   Medido en Chromium sobre los nueve CSS de la app: con el filtro en "Todos" o "Terminados"
   aparecen los <input type=date> de la fecha de fin y la columna "Siguiente" salta de 79px a
   200px (pill 60 + input 118). A 1152px de ventana el input se pasa 10px del borde del panel y la
   ultima columna -- la del check para dar por terminado -- queda ENTERA afuera.
   Eso explica DOS reportes de Natalia con una sola causa: "en Todos no aparece el check" y "en
   Terminados el recuadro de fecha aparece cortado y fuera de la tabla".

   Llevandolo al borde izquierdo, debajo del menu, la tabla pasa a tener el ancho entero de la
   ventana en vez de 770px: entran las diez columnas con aire de sobra.

   El float:none + clear:both lo baja debajo de #main y lo deja EN EL FLUJO, que es lo que
   corresponde para una lista larga: la pagina sigue creciendo y se scrollea normal. Con
   position:absolute quedaria flotando y el final de la lista podria no alcanzarse.
   Cuando Sanidad esta abierta, noDivs() ya escondio los paneles de potreros y lotes, asi que #main
   es solo la fila del menu y el listado queda justo abajo.

   La clase la pone y la saca noDivs() (app_tools.js), que es por donde pasan TODOS los paneles de
   #secFlotante: si se pusiera solo al abrir Sanidad, el panel siguiente -Venta anual, Gastos-
   heredaria el ancho sin que nadie lo pidiera.
   ================================================================================================ */
.secFlotante.flotAncho{
  width:      100%;
  max-width:  none;
  float:      none;
  clear:      both;
  padding:    0 4px 0 2px;
}
  .secFlotante.flotAncho #secSanidad{
    max-width: none;
    width:     100%;
    float:     none;
  }

#secSanidad{
  display:    block;
  max-width:  900px;
  float:      left;
  background: #eaeaea;
  /* 2026-09-18: 1.2 -> 0.9em. Ver la nota de la regla equivalente en app_media.css (MEDIA 11):
     el listado no entraba y se partia en dos renglones por celda. */
  font-size:  0.9em;
}

  .tblSanidadRep{
    width:            100%;
    padding:          1px;
    border-collapse:  collapse;
    border-spacing:   0.5px 5px;           /* font-size:        1.2em; */
    background:       #fff;
  }
    .tblSanidadRep tr{
      border:     1px solid #D0D0D0;
      background: #fff
    }
    .tblSanidadRep thead{
      background:   var(--azulMarino);
    }
    .tblSanidadRep th{
      border:       1px solid #D0D0D0;
      padding:      2px;
      font-size:    0.8em;
      font-weight:  normal;
      background:   var(--azulMarino);
      color:        #fff
    }
    .tblSanidadRep tr> th:nth-child(1){width:  40px}  /*lote*/
    .tblSanidadRep tr> th:nth-child(2){width:  auto}  /*categoría*/
    .tblSanidadRep tr> th:nth-child(3){width:  33px}  /*potrero*/
    .tblSanidadRep tr> th:nth-child(4){width:  12%}  /*fecha*/
    .tblSanidadRep tr> th:nth-child(5){width:  17%}   /*tratamiento*/
    .tblSanidadRep tr> th:nth-child(6){width:  4.9%}   /*cant*/
    .tblSanidadRep tr> th:nth-child(7){width:  18%}   /*obs*/
    .tblSanidadRep tr> th:nth-child(8){width:  15.3%}  /*fecha próxima: + n días*/
    .tblSanidadRep tr> th:nth-child(9){width:  4.5%}   /*kgs, peso prm del lote*/
    .tblSanidadRep tr> th:nth-child(10){width: 22px;}
      /*.tblSanidadRep tr> th:nth-child(9)>input:checked {
        background: green;
      }*/

    .tblSanidadRep tbody tr:hover{
      background-color:  #FFFF99;
    }

    .tblSanidadRep td{
      border:     1px solid #D0D0D0;
      padding:    6px 3px 5px 3px;
      font-size:  0.7em
    }

    .tblSanidadRep tr> td:nth-child(1){width: 40px; text-align:right}
    .tblSanidadRep tr> td:nth-child(2){width: auto;text-align:left; text-overflow:hidden}
    .tblSanidadRep tr> td:nth-child(3){width: 35px; text-align:right}
    .tblSanidadRep tr> td:nth-child(4){width: 12%; text-align:left}
    .tblSanidadRep tr> td:nth-child(5){width: 17%; text-align:left}
    .tblSanidadRep tr> td:nth-child(6){width: 4.9%; text-align:right}
    .tblSanidadRep tr> td:nth-child(7){width: 18%; text-align:left}
    .tblSanidadRep tr> td:nth-child(8){width: 14.2%; text-align:left}
    .tblSanidadRep tr> td:nth-child(9){width: 5%; text-align:right}
    .tblSanidadRep tr> td:nth-child(10){width: 20px}


















#secGIFac{
  margin:     0 auto;
  width:      500px;
  background: #fff;
  display:    none;
  text-align: left;
  padding:    0px;
  z-index:    2;
  float: left;
}
.tblGIFac{
  table-layout:     fixed;   /* box-sizing:       border-box; */
  width:            100%;
  background:       #eaeaea;
  color:            #000;
  border-collapse:  separate;
  border-spacing:   1px 1px;
  font-size:        1.3em;  /* margin-top:       2px; */
}
  .tblGIFac caption{
    width:            100%;
   // background:       #808080;
    color:            #fff;
    padding:          5px;
    border-collapse:  collapse;
    font:             1.1em "Helvetica Neue","sans serif", "verdana"
  }

  .tblGIFac tr td{
    padding:        3px 5px 2px 3px;
    border-bottom:  0.6px solid whitesmoke;
    /* border:  1px solid silver; */
    font-size:      0.7em
  }
  .tblGIFac tr{
    background-color:  #FFF;
  }
  .tblGIFac tr:hover{
    background-color:  #FFFF99;
  }
  /*2026-10-19, Néstor: "todos esos links en azul pasalos a un azul más claro, casi no se notan" (el N° de factura, #0066FF
    sobre la fila azul marino). Celeste claro, como los enlaces sobre fondo oscuro del registro, y blanco al pasar el mouse.*/
  .tblGIFac a.aPot{ color: #66CCFF; text-decoration: underline; }
  .tblGIFac a.aPot:hover{ color: #fff; }

  .tblGIFac tr td:nth-child(1){width:  auto;  text-align:center;white-space:nowrap; overflow:hidden}
  .tblGIFac tr td:nth-child(2){width:  100px; white-space:nowrap; overflow:hidden;  text-align:left}
  .tblGIFac tr td:nth-child(3){width:  20%;   text-align:right}
  .tblGIFac tr td:nth-child(4){width:  20%;   text-align:right}
  /* .tblGIFac tr td:nth-child(5){width:  18%;  text-align:right} */

#inRepGAnioFac{
  width:    32px;
  padding:  3px
}

/*flujo de caja, listado de rubros*/
#divFlujoCaja{
  width:          100%;
  float:          left;
  margin-bottom:  20px
}

#divFCRG{
  float:      left;
  width:      100%;
  background: #fff;
  display:    none
}
  #divFCRG div:first-of-type{
    float:        right;
    padding:      2px;
    text-align:   center;
    /* width:        30px; */
    margin-right: 2px
  }

/* cerrar flujo de caja rubros*/
.aRFDC{
  text-decoration:  none;
  color:            #0066cc;
  background:       #fff;
  padding:          0px 4px 0px 4px
}
  .aRFDC:hover{
    color:      #fff;
    background: red
  }



.divFCRubros{
  float:          left;
  width:          100%;
  background:     #fff;
  margin-bottom:  20px;
  padding:        10px
}
  .divFCRubros table{
    table-layout:     fixed;
    width:            100%;
    max-width:        550px;
    background:       #eaeaea;
    color:            #000;
    border-collapse:  collapse;    /* border-spacing:   1px 1px; */
    font-size:        1.3em;
  }
    .divFCRubros table tr td{
      padding:        3px 5px 2px 3px;
      border-bottom:  0.6px solid whitesmoke;
      border:         1px solid #eaeaea;
      font-size:      0.7em
    }
    .divFCRubros table tr{
      background-color:  #FFF;
    }
    .divFCRubros table tr:hover{
      background-color:  #FFFF99;
    }
    .divFCRubros table tr td:nth-child(1){width:  95px;  text-align:left}
    .divFCRubros table tr td:nth-child(2){width:  35px;  text-align:right;white-space:nowrap; overflow:hidden}
    .divFCRubros table tr td:nth-child(3){width:  auto;  white-space:nowrap; overflow:hidden;  text-align:left}
    .divFCRubros table tr td:nth-child(4){width:  100px; text-align:right}




.divTblFC{
  float:          left;
  width:          100%;
  background:     #fff;
  margin-bottom:  20px;
}

/* FINANZAS */
#secFinanzas{
  margin:     0 auto;
  width:      450px;
  background: #fff;
  display:    none;
  text-align: left;
  padding:    0px 0px 20px 0px;
  z-index:    2;
  height:     350px
}
  .div1SecFin{
    float:      left;
    width:      100%;
    background: #808080;
    color:      #fff;
    font-size:  1.2em;
    padding:    10px 10px 10px 10px
  }
  .div2SecFin{
    float:      left;
    width:      100%;
    background: #fff
  }

/*IG*/
#pesoXDlr{
  background: #fff;
  text-align: left;
  border:     1px solid silver;
  padding:    2px 3px 2px 3px;
  width:      50px
}


.tblIGCoef{
  table-layout:     fixed;
  box-sizing:       border-box;
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  border-spacing:   0px;
  font-size:        1em;
  margin-top:       10px;
}
  .tblIGCoef tr td{
    padding:    5px;
    border:     0.6px solid whitesmoke;
    font-size:  0.9em;
    /* background: #fff; */

  }

  .tblIGCoef tr td:nth-child(1){width:  73px; text-align:left}
  .tblIGCoef tr td:nth-child(2){width:  auto; text-align:right}
  .tblIGCoef tr td:nth-child(3){width:  auto; text-align:right}
  .tblIGCoef tr td:nth-child(4){width:  auto; text-align:right}
  .tblIGCoef tr td:nth-child(5){width:  65px; text-align:right}

  .tblIGCoef .inIndFin{
    width:      100%;
    text-align: right;
    border:     none;
    font-size:  1em
  }

  #inIndFinAnio{
    width:      40px;
    text-align: right
  }

  .tblIGCoef td button{
    width:      100%;
    text-align: left;
    font-size:  0.8em;
  }


  .tblIGCoef tr:nth-child(1){
    font-size:  1em;
    background: #fff;
  }
    .tblIGCoef tr:nth-child(1) td:nth-child(2){
      text-align: left
    }
    .tblIGCoef tr:nth-child(1) td:nth-child(4){
      text-align: left
    }
  .tblIGCoef tr:nth-child(2){
    background: #eaeaea;

  }
  .tblIGCoef tr:nth-child(2) td{
    text-align: center
  }
  .tblIGCoef tr:nth-child(3){
    background: #fff;
  }
  .tblIGCoef tr:nth-child(4){
    background: #fff;
  }
  .tblIGCoef tr:nth-child(5){
    background: #fff;
  }


/** GASTOS AÑO */
#secGastosAnio{
  /* margin:     0 auto; */
  width:      600px;
  background: var(--azulPiedra);
  display:    none;
  text-align: left;
  padding:    1px 0;
  z-index:    2
}

.tblGastosAnio{
  table-layout:     fixed;
  box-sizing:       border-box;
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  separate;
  border-spacing:   1px 3px;
  font-size:        1.3em;
  margin-top:       2px;
}
  .tblGastosAnio tr:nth-child(1){
    color:      #fff;
    background: #334155:
  }
  .tblGastosAnio tr td{
    padding:        3px 5px 2px 3px;
    border-bottom:  0.6px solid whitesmoke;
    font-size:      0.7em
  }
  .tblGastosAnio tr:hover{
    background-color:  #FFFF99;
  }


  .tblGastosAnio tr td:nth-child(1){width:  11%;  text-align:center;white-space:nowrap; overflow:hidden}
  .tblGastosAnio tr td:nth-child(2){width:  auto;  white-space:nowrap; overflow:hidden;  text-align:left}
  .tblGastosAnio tr td:nth-child(3){width:  10%;  text-align:right}
  .tblGastosAnio tr td:nth-child(4){width:  10%;  text-align:right}
  .tblGastosAnio tr td:nth-child(5){width:  10%;  text-align:right}
  .tblGastosAnio tr td:nth-child(6){width:  15%;  text-align:right}
  .tblGastosAnio tr td:nth-child(7){width:  14%;  text-align:right}


.tblGastosAnioTot{
  table-layout:     fixed;
  box-sizing:       border-box;
  width:            100%;
  background:       gray;
  color:            #fff;
  border-collapse:  separate;
  border-spacing:   1px 3px;
  font-size:        1.1em;
  font-weight:      normal;
  margin-top:       2px;
}
  .tblGastosAnioTot tr td{
    padding:        12px 5px 12px 3px;
  }

  .tblGastosAnioTot tr td:nth-child(1){width:  11%;  text-align:center}
  .tblGastosAnioTot tr td:nth-child(2){width:  auto;  white-space:nowrap; overflow:hidden;  text-align:left}
  .tblGastosAnioTot tr td:nth-child(3){width:  10%;  text-align:right}
  .tblGastosAnioTot tr td:nth-child(4){width:  10%;  text-align:right}
  .tblGastosAnioTot tr td:nth-child(5){width:  10%;  text-align:right}
  .tblGastosAnioTot tr td:nth-child(6){width:  15%;  text-align:right}
  .tblGastosAnioTot tr td:nth-child(7){width:  14%;  text-align:right}




/** flujo de caja **/
#secFlujoCaja{
  width:      100%;
  max-width:  850px;
  float:      left;
  display:    none;
}
.titAAAA{
  width:      100%;
  float:      left;
  text-align: center;
  background: var(--azulMarino);   /*2026-10-19, Néstor (Flujo de caja): "cambia el gris por azul marino"*/
  color:      #fff
}
  .titAAAA span{
    color:        #FFFFCC;
    font-size:    0.7em;
    cursor:       pointer;
    padding:      1px 3px 1px 3px;
    margin-left:  10px
  }
    .titAAAA span:hover{
      color:        yellow;
      background:   red
    }

  #inAAAAFC{
    width:      45px;
    padding:    1px 3px 1px 3px;
    font-size:  1em
  }


.tblFlujoCaja{
  table-layout:     fixed;
  box-sizing:       border-box;
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  separate;
  border-spacing:   1px 3px;
  font-size:        1.3em;
  /* margin-top:       2px; */
}
  .tblFlujoCaja tr:hover{
    background-color:  #FFFF99;
  }
  .tblFlujoCaja tr td{
    padding:        3px 5px 2px 3px;
    border-bottom:  0.6px solid whitesmoke;
    font-size:      0.7em
  }
  .tblFlujoCaja tr td:nth-child(1){width:  5%;   text-align:center;white-space:nowrap; overflow:hidden}
  .tblFlujoCaja tr td:nth-child(2){width:  15%;  white-space:nowrap; overflow:hidden;  text-align:left}
  .tblFlujoCaja tr td:nth-child(3){width:  10%;  text-align:right}
  .tblFlujoCaja tr td:nth-child(4){width:  15%;  text-align:right}
  .tblFlujoCaja tr td:nth-child(5){width:  15%;  text-align:right}
  .tblFlujoCaja tr td:nth-child(6){width:  10%;  text-align:right}
  .tblFlujoCaja tr td:nth-child(7){width:  15%;  text-align:right}
  .tblFlujoCaja tr td:nth-child(8){width:  15%;  text-align:right}


.tblFlujoCajaTot{
  table-layout:     fixed;
  box-sizing:       border-box;
  width:            100%;
  color:            #fff;
  border-collapse:  separate;
  border-spacing:   1px 3px;
  font-size:        1em;
  font-weight:      normal;
  margin-top:       2px;
}
  .tblFlujoCajaTot tr td{
    padding:        12px 5px 12px 3px;
  }

  .tblFlujoCajaTot tr td:nth-child(1){width:  5%;  text-align:center}
  .tblFlujoCajaTot tr td:nth-child(2){width:  15%;  text-align:center}
  .tblFlujoCajaTot tr td:nth-child(3){width:  10%;  white-space:nowrap; overflow:hidden;  text-align:left}
  .tblFlujoCajaTot tr td:nth-child(4){width:  15%;  text-align:right}
  .tblFlujoCajaTot tr td:nth-child(5){width:  15%;  text-align:right}
  .tblFlujoCajaTot tr td:nth-child(6){width:  10%;  text-align:right}
  .tblFlujoCajaTot tr td:nth-child(7){width:  15%;  text-align:right}
  .tblFlujoCajaTot tr td:nth-child(8){width:  15%;  text-align:right}


/* ================================================================================================
   2026-10-14 VENTAS Y COMPRAS DE GANADO (js/src/app_repVentas.js, #secVtaAnual > #divRepVta).
   Néstor: "esto es necesario, mejorando diseño y funcionalidades x ej más filtros". Sobre el
   sistema único de tablas (app_tablas.css): card .dNA, tabla .tblNA. Las columnas .rvCel se
   esconden en el celular (raza, potrero, peso, US$/kg) y quedan en el CSV.
   ================================================================================================ */
#secVtaAnual{ background: transparent; max-width: 1100px; }     /*pisa el silver/670px viejo de app.css*/
.dRepVta{ margin: 0 0 12px 0; }
  .dRepVta .dNATit{ display: flex; align-items: baseline; gap: 10px; }
  .dRepVta .rvPeriodo{ font-weight: 400; font-size: 0.75rem; opacity: .9; white-space: nowrap; }   /*2026-11-25, bitácora #655 (Natalia: "que el título y la fecha quede en una sola línea"): la fecha no se parte y es un poco más chica; medido con letra ancha (la Verdana de Windows), entra a 500 px*/
  .dRepVta .rvX{ margin-left: auto; font-size: 1.3rem; line-height: 1; text-decoration: none; padding: 0 4px; }
  .rvFiltros{ padding: 8px 10px 2px 10px; background: var(--naSup1); border-bottom: 1px solid var(--naLineaSuave); }
    .rvFila{ display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-bottom: 6px; }
    .rvFila label{ font-size: 0.8rem; color: var(--naTexto2); white-space: nowrap; }
    .rvFila select, .rvFila input{ font-size: 0.85rem; padding: 3px 4px; border: 1px solid var(--naLinea); border-radius: 4px; background: #fff; color: var(--naTexto); margin-left: 3px; }
    .rvFila input.rvLote{ width: 64px; }
    .rvFila .rvChk input{ margin: 0 4px 0 6px; vertical-align: middle; }
  /* 2026-11-25 (Néstor, filtros de Gastos e ingresos, opción B): rótulos en una columna, casillas alineadas como en una tabla */
  .rvGrilla{ display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; align-items: center; margin-bottom: 6px; }
    .rvGrilla .rvEt{ font-size: 0.8rem; color: var(--naTexto2); white-space: nowrap; text-align: left; }
    .rvGrilla select, .rvGrilla input[type=date]{ font-size: 0.85rem; padding: 3px 4px; border: 1px solid var(--naLinea); border-radius: 4px; background: #fff; color: var(--naTexto); }
    .rvGrilla select, .rvGrilla input{ margin: 0; }   /*sin los márgenes heredados: todas las casillas arrancan en la misma línea*/
    .rvGrilla select{ width: 190px; max-width: 100%; justify-self: start; }
    .rvGrilla .rvDos{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 0; margin: 0; }   /*sin el relleno que trae span en los reportes*/
    .rvGrilla .rvChk{ font-size: 0.8rem; color: var(--naTexto2); white-space: nowrap; }
    .rvGrilla .rvChk input{ margin: 0 4px 0 0; vertical-align: middle; }

  .rvResumen{ display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; }
    .rvCifra{ flex: 1 1 120px; background: var(--naSup1); border-radius: 6px; padding: 6px 10px; }
    .rvCifraTit{ font-size: 0.75rem; color: var(--naTexto2); }
    .rvCifraVal{ font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
    .rvCifraSub{ font-size: 0.75rem; color: var(--naTexto2); }
    .rvCifraNota{ flex: 1 1 100%; font-size: 0.75rem; color: var(--naTexto2); padding: 0 2px; }
    .rvMas{ color: var(--naBien); }  .rvMenos{ color: var(--naMal); }
  .rvAviso{ padding: 0 10px; font-size: 0.85rem; }
    .rvAviso span{ display: block; margin: 0 0 8px 0; padding: 6px 8px; border-radius: 4px; }
    .rvSinPrecio{ background: var(--naAvisoBg); color: var(--naAviso); }
    .rvSinFecha{ background: var(--naAvisoBg); color: var(--naAviso); }
    .rvVacio{ background: var(--naSup1); color: var(--naTexto2); }
    .rvError{ background: var(--naMalBg); color: var(--naMal); }
    .rvCargando{ color: var(--naTexto2); }
  .rvTabla{ overflow-x: auto; }
    .tblRepVta thead th{ cursor: pointer; user-select: none; }
    .tblRepVta thead th.rvOrd{ text-decoration: underline; }
    .tblRepVta tr.rvFilaSinPrecio td{ color: var(--naTexto2); font-style: italic; }
  .rvDos{ display: flex; flex-wrap: wrap; gap: 12px; padding: 10px; align-items: flex-start; }
    .rvGrupos{ flex: 1 1 380px; }
    .rvGraf{ flex: 0 1 300px; min-width: 240px; background: #fff; }
    .rvSubTit{ font-size: 0.85rem; font-weight: 600; margin: 0 0 6px 0; }
    .rvSubTit select{ font-size: 0.85rem; margin-left: 4px; }
  .rvMeses{ padding: 0 10px 10px 10px; background: #fff; }
  .rvPie{ padding: 8px 10px 12px 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-top: 1px solid var(--naLineaSuave); }
    .rvBtn{ padding: 5px 10px; font-size: 0.85rem; cursor: pointer; }
    .rvBtn:hover{ }
    .rvNota{ font-size: 0.75rem; color: var(--naTexto2); }
/* 2026-10-16 GASTOS E INGRESOS POR RUBRO (js/src/app_finRep.js, #secFinRep > #divRepFin): misma card y mismas clases rv*
   que Ventas y Compras; sólo lo propio va acá. */
#secFinRep{ float: left; width: 100%; max-width: 1100px; background: transparent; }
  .tblRepFin td .rfRuta{ font-size: 0.75rem; color: var(--naTexto2); }
  .tblRepFin tfoot td{ font-weight: 600; }
@media only screen and (max-width: 620px){
  /*2026-10-14, Natalia (bitácora #18): en el celular la tabla se salía (Importe no se veía, la fecha en dos renglones).
    Quedan Lote, Categoría, Fecha, Cant. e Importe; letra y relleno más chicos que los de .tblNA en pantalla chica.*/
  .dRepVta .rvCel, .dRepVta .rvCel2{ display: none; }
  .dRepVta .tblNA{ font-size: 0.8rem; }
  .dRepVta .tblNA thead th, .dRepVta .tblNA tbody td, .dRepVta .tblNA tfoot td{ padding: 6px 4px; }
  .dRepVta .tblNA .rvFecha{ white-space: nowrap; }
  .dRepVta .tblNA td.rvCat{ max-width: 32vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rvFila label{ white-space: normal; }
  .rvCifraVal{ font-size: 1rem; }
}
