/*na-sello 2026-09-29 11:01:33 c64907f8*/
/* app_agri.css Agricultura */
/** GASTOS DEL POTRERO */

.secFlotanteAgri{
  width:          100%;
  box-sizing:     border-box;  
  float:          left;
  margin-left:    1px;
  z-index:        3;
  background:     #fff;
  display:        none
}
  .divAgriTit{
    float:      left;
    width:      100%;
    padding:    5px;
    box-sizing: border-box         /*2026-10-08: con el padding no se pasa del 100% (daba scroll lateral)*/
  }
  /*2026-10-08, Nestor: "(use coma decimal)", "?" y X juntos en la esquina superior derecha, en una sola linea*/
  .divAgriDer{
    float:        right;
    white-space:  nowrap;
    line-height:  26px
  }

  #trigo{
    background: #fff;
    float:      left;
  }
  .divAgriBot{
    float:      left;
    width:      100%;
    padding:    3px;
    background: #fff;/* border-top: 10px solid #CCFFCC; */}
      .divAgriBot1{
        float:    right;
        padding:  4px;
      }
  #divAgriGastos{
    width:    100%;
    padding:  10px 0px;   /*2026-11-09, #331 (Natalia: "gastos y rendimiento deben quedar hasta el borde igual que labores"): sin margen a los costados*/
    display:  none
  }

  .divRinde0{
    width:      100%;
    float:      left;
    margin-top: 10px;
    border: 3px solid var(--celesteTotales);   /*2026-10-07 Nestor: antes #b9f3cc verde agua*/
    border-left: 0; border-right: 0;   /*2026-11-09, #331 (Natalia: "gastos y rendimiento deben quedar hasta el borde igual que labores"): sin margen a los costados*/
    /* background: #b9f3cc; */
    padding:    15px 0px 15px 0px;
    display:    none
  }
  .divRinde1{
    width:      100%;
    float:      left;
    background: #fff;/* border:1px solid gray */
  }
  .divRinde2{
    float:      left;
    text-align: left;
    width:      30px;
    padding:    0px 0px 0px 3px;
    /* border:1px solid gray */
  }
  .divRinde3{
    float:      left;
    padding: 4px 3px 4px 15px;
    border:1px solid gray;
    width: 100%;
    text-align: left;
  }

.divOutAgricultura{
  display:    none;
  width:      100%;
  border:     1px solid silver;
  padding:    0 0 1px 0;
  background: var(--celesteTotales) /*2026-10-07 Nestor: antes #CCFFCC verde agua*/;
  font-size:  1em
}

/** Agricultura **/
.divinAgriRBuscar{
  float: right;
  margin-right: 165px;
  width:        180px;
}
.inAgriGBuscar{
  border:     none;
  font-size:  1.1em;
  color:      red;
  width:      165px
}
  /*2026-10-08: vacio no ocupa lugar en el encabezado (el placeholder=" " del index sirve para detectarlo);
    cuando app_agri.js le pone "No hay gastos" aparece*/
  .inAgriGBuscar:placeholder-shown{display: none}

#tblAgriGxPot{
  padding:          1px;
  border-collapse:  collapse;
  font-size:        1em;
  width:            100%
}
  #tblAgriGxPot tbody tr{
    background: #fff
  }
  /*2026-10-07, Nestor: colores estandar de los reportes. Titulos de columna en azul marino con letra blanca (antes
    gris #E0E0E0 con letra #404040) y la fila de totales en --celesteTotales (antes amarillo #FFFFCC)*/
  #tblAgriGxPot thead th{
    border:       1px solid #eaeaea;
    padding:      4px 3px 4px 3px;
    font-size:    0.9em;
    font-weight:  normal;
    background:   var(--azulMarino);
    color:        #fff
  }
  #tblAgriGxPot thead tr> th:nth-child(1){width: 15px} /*numero de fila*/
  #tblAgriGxPot thead tr> th:nth-child(2){width: 60px; white-space: nowrap; padding-left:1px; padding-right:4px} /*2026-11-09, #331 (Natalia: "reduce al mínimo la columna de fecha ... aumenta el ancho en columna Nombre ... en columna Campaña reduce el ancho lo más que se pueda"): 72 -> 60 px, lo justo para dd-mm-aa (medido: el texto ocupa 57 px)*/ /*2026-11-06, #331 (Natalia: "ajusta el ancho de la fecha, la cantidad de caracteres será siempre fija"): las dos tablas, el mismo ancho fijo, en un renglón*/
  #tblAgriGxPot thead tr> th:nth-child(3){width: auto} /*nombre*/
  #tblAgriGxPot thead tr> th:nth-child(4){width: 16%}   /*rubro. 2026-11-09, #331: 18 -> 16 %, para Nombre*/
  #tblAgriGxPot thead tr> th:nth-child(5){width: 8%}   /*N° fac*/
  #tblAgriGxPot thead tr> th:nth-child(6){width: 5%}   /*Cant*/
  #tblAgriGxPot thead tr> th:nth-child(7){width: 7%}   /*$x1*/
  #tblAgriGxPot thead tr> th:nth-child(8){width: 7%}  /*USDx1*/
  #tblAgriGxPot thead tr> th:nth-child(9){width: 11%}  /*$Tot*/
  #tblAgriGxPot thead tr> th:nth-child(10){width:11%} /*USDTot*/
  #tblAgriGxPot thead tr> th:nth-child(11){width:66px; padding-left:1px; padding-right:1px; font-size:0.8em}   /*2026-11-06, #331: campaña (antes oculta, sin uso); Natalia: "aumenta un poquito el ancho de campaña para separarla del borde"*/

  #tblAgriGxPot tbody td{
    border:     1px solid #D0D0D0;
    padding:    4px 2px 4px 2px;
    text-align: left;
    font-size:  0.85em
  }

  #tblAgriGxPot tbody tr> td:nth-child(1){width: 15px; text-align:right; font-size:0.8em; cursor:pointer; color:red} /*numero de fila*/
  #tblAgriGxPot tbody tr> td:nth-child(2){width: 60px; font-size:0.8em; text-align:center; white-space: nowrap; padding-left:1px; padding-right:4px}   /*2026-11-09, #331 (Natalia: "reduce al mínimo la columna de fecha ... aumenta el ancho en columna Nombre ... en columna Campaña reduce el ancho lo más que se pueda")*/
  #tblAgriGxPot tbody tr> td:nth-child(3){width: auto}
  #tblAgriGxPot tbody tr> td:nth-child(4){width: 16%}
  #tblAgriGxPot tbody tr> td:nth-child(5){width: 8%; text-align:right}
  #tblAgriGxPot tbody tr> td:nth-child(6){width: 5%; text-align:right}
  #tblAgriGxPot tbody tr> td:nth-child(7){width: 7%; text-align:right}
  #tblAgriGxPot tbody tr> td:nth-child(8){width: 7%; text-align:right}
  #tblAgriGxPot tbody tr> td:nth-child(9){ width: 11%; text-align:right; color:blue; background: #FFFFF0} /*; background:#F6F6F6;color:#003399*/
  #tblAgriGxPot tbody tr> td:nth-child(10){width: 11%; text-align:right; color:green; background: #FFFFF0}
  #tblAgriGxPot tbody tr> td:nth-child(11){width: 66px; text-align:left; padding-right: 4px}   /*2026-11-06, #331: campaña, separada del borde*/

/* tblAgriGastosPie */
.tblAgriPieC{
  width:            100%;
  padding:          1px;
  border-collapse:  collapse;
  border-spacing:   1px 5px;
  font-size:        0.9em;
  background:       var(--celesteTotales);   /*2026-10-07: antes #FFFFCC*/
  font-size:        1em;
}
  .tblAgriPieC td{   
    padding:   4px;
    /* border:    1px solid gray; */
    /*font-size: 0.8em;    /*  */
  }
  .tblAgriPieC tr> td:nth-child(1){width: 30px}
  .tblAgriPieC tr> td:nth-child(2){width: auto; color:#64748b; font-size: 0.8em; text-align:left}   /*2026-10-07: antes silver, que sobre el celeste no se leia*/
  .tblAgriPieC tr> td:nth-child(3){width: 125px}
  .tblAgriPieC tr> td:nth-child(4){width: 12%;text-align:right; color:blue}
  .tblAgriPieC tr> td:nth-child(5){width: 12%;text-align:right; color:green}


#tblAgriRinde{
  padding:          1px;
  border-collapse:  collapse;
  font-size:        1em;  /* background:       #CCFFCC; */
/* border: 2px solid lime; */
}
  #tblAgriRinde thead tr{
    border:     1px solid #D0D0D0;
    background: #fff
  }
  #tblAgriRinde thead th{   /*2026-10-07: colores estandar de los reportes (antes #E0E0E0 / #404040)*/
    border:       1px solid #D0D0D0;
    padding:      4px;
    font-size:    0.9em;
    font-weight:  normal;
    background:   var(--azulMarino);
    color:        #fff
  }
  #tblAgriRinde thead tr> th:nth-child(1){width: 15px; font-size:0.8em}   /*N°*/
  #tblAgriRinde thead tr> th:nth-child(2){width: 60px; text-align:center; font-size:0.8em; white-space: nowrap; padding-left:1px; padding-right:4px}   /*Rendimiento, fecha. 2026-11-06, #331 (Natalia: "ajusta el ancho de la fecha, la cantidad de caracteres será siempre fija"): las dos tablas, el mismo ancho fijo, en un renglón*/
  #tblAgriRinde thead tr> th:nth-child(3){width: auto}  /*cultivo*/
  #tblAgriRinde thead tr> th:nth-child(4){width: 7%}   /*ha*/
  #tblAgriRinde thead tr> th:nth-child(5){width: 7%}   /*Kg/ha*/
  #tblAgriRinde thead tr> th:nth-child(6){width: 10%}   /*U$S/Kg*/
  #tblAgriRinde thead tr> th:nth-child(7){width: 13%}   /*U$S/ha*/
  #tblAgriRinde thead tr> th:nth-child(8){width: 10%}   /*Kgs tot*/
  #tblAgriRinde thead tr> th:nth-child(9){width: 14%}   /*USD tot*/
  #tblAgriRinde thead tr> th:nth-child(10){width: 66px; padding-left:1px; padding-right:1px; font-size:0.8em}  /*2026-11-06, #331: campaña*/


  #tblAgriRinde tbody td{
    border:     1px solid #D0D0D0;
    padding:    4px 3px 4px 3px;
    font-size:  0.9em;
    background:   #fff;
  }

  #tblAgriRinde tbody tr> td:nth-child(1){width: 15px; text-align:right; cursor:pointer;color:red; font-size:0.8em} 
  #tblAgriRinde tbody tr> td:nth-child(2){width: 60px;text-align:center;font-size: 0.8em; white-space: nowrap; padding-left:1px; padding-right:4px}   /*2026-11-09, #331: 72 -> 60 px; Natalia: "un mínimo espacio a la derecha"*/
  #tblAgriRinde tbody tr> td:nth-child(3){width: auto;text-align:left}
  #tblAgriRinde tbody tr> td:nth-child(4){width: 7%; text-align:right}
  #tblAgriRinde tbody tr> td:nth-child(5){width: 7%; text-align:right}
  #tblAgriRinde tbody tr> td:nth-child(6){width: 10%; text-align:right}
  #tblAgriRinde tbody tr> td:nth-child(7){width: 13%; text-align:right; background: #FFFFF0; color:#CC0000}
  #tblAgriRinde tbody tr> td:nth-child(8){width: 10%; text-align:right; background: #FFFFF0; color:#CC0000}
  #tblAgriRinde tbody tr> td:nth-child(9){width: 14%; text-align:right; background: #FFFFF0; color:#CC0000}
  #tblAgriRinde tbody tr> td:nth-child(10){width: 66px; text-align:left; padding-right: 4px}   /*2026-11-06, #331: campaña, separada del borde*/
  /*2026-11-06, #331: el combo de campaña de cada fila y el de arriba*/
  select.selAgriCamp{ width: 100%; font-size: 0.75em; padding: 0; box-sizing: border-box }   /*2026-11-09, #331: 0.8 -> 0.75em, la columna más angosta*/
  .lblAgriCamp{ white-space: nowrap }
  #selAgriCamp{ font-size: 0.9em }


#divAgriPotName{
  padding: 3px 3px 3px 8px
}


/*select rubros en gastos de agricultura*/
.selR{
  width:              100%;
  appearance:         none;
  padding:            0px 0px 0px 3px;
  font-size:          1.1em;
  color:              #0066CC;
  background:         #fff;
  text-indent:        .01px;
  text-overflow:      '';
  border:             none;
  cursor:             pointer
}
  .selR option{
    color:      #006699;
    /* font-size:  1.2em; */
  }

/*2026-10-07, Nestor: ayuda de Agricultura, el "?" del encabezado y su panel*/
/*2026-10-08, Nestor: "probar como queda el ? sin circulo azul, solo el simbolo tal vez rojo naranjado"*/
.aAgriAyuda{
  display:          inline-block;
  margin:           0 6px 0 8px;
  color:            #E8590C;
  font-size:        1.35em;
  font-weight:      bold;
  text-decoration:  none;
  vertical-align:   middle
}
  .aAgriAyuda:hover{color: #b00020}
.divAgriAyuda{
  display:          none;
  clear:            both;
  position:         relative;
  margin:           4px 5px 8px 5px;
  padding:          10px 34px 6px 12px;
  background:       var(--celesteTotales);
  border-left:      4px solid var(--azulMarino);
  font-size:        0.95em;
  line-height:      1.45;
  text-align:       left
}
  .divAgriAyuda p{margin: 6px 0}
  .divAgriAyuda ul{margin: 2px 0 6px 0; padding-left: 20px}
  .divAgriAyuda li{margin: 0; padding: 1px 0; height: auto; line-height: 1.4; list-style: disc; float: none; display: list-item}
  .aAgriAyudaX{position: absolute; top: 4px; right: 8px; font-size: 1.3em; text-decoration: none; color: var(--azulMarino)}

/*para avisar coma decimal*/
.divComa{
  color:          gray;
  font-size:      0.6em;          /*2026-10-08, Nestor: antes 0.8em*/
  font-style:     italic;
  vertical-align: middle          /*2026-10-08: ahora va dentro de .divAgriDer, ya no flota sola*/
}

#inAgriPotNum{
  width:        30px;
  margin-left:  5px;
  height:       24px;   /*2026-11-25: el mismo alto que Buscar (la lupa, opción A)*/
  box-sizing:   border-box;
  vertical-align: middle
}
#inAgriPotNom{
  width:        180px;
  margin-left:  10px;
  border:       none;
  font-size:    1em
}
#butAgri{   /*2026-11-25 (Néstor, opción A): la lupa y "Buscar", del alto de la casilla del potrero*/
  margin-left:  10px;
  cursor:       pointer;
  padding:      0 10px 0 8px;
  height:       24px;
  box-sizing:   border-box;
}


/** REPORTES DE AGRICULTURA **/
/*Agri Gastos por Rubro: tblAgriRepGXRubro -> tARGXR */
#secAgriRepGXR{
  float:        left;
  width:        610px;
  max-width:    1050px;
  background:   #fff;
  border:       1px solid silver;
  box-sizing:   border-box;
  padding:      5px;
}
.tARGXR{
  /* width:            440px; */
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  font:             0.9em "Helvetica Neue","sans serif", "verdana";
  box-sizing:       border-box;
  /* display: block; */
}
/*título general del listado*/
  /*2026-10-16, Néstor (captura de Gastos/Rubro): "Cambia el fondo gris por el celeste que tenemos definido y con letras en
    negro": caption y encabezados de las dos tablas pasan de #808080/blanco a --celesteTotales/negro*/
  .tARGXR caption{
    /* width:            100%; */
    background:       var(--celesteTotales, #dbeafe);
    color:            #000;
    padding:          5px;
    border-collapse:  collapse;
    font:             1.1em "Helvetica Neue","sans serif", "verdana"
  }
  .tARGXR thead tr{
    background-color: var(--celesteTotales, #dbeafe);   /*2026-10-16: antes #808080 / #fff*/
    color:            #000;
    text-align:       center;
    cursor:           default;
  }

  .tARGXR thead tr th{
    padding:      5px 3px 5px 3px;
    cursor:       pointer;
    border:       1px solid #eaeaea;
    font-weight:  normal;
    background:   var(--celesteTotales, #dbeafe);   /*2026-10-16: el th global de app.css pinta #334155 encima de la fila; medido*/
    color:        #000;
  }
  .tARGXR thead tr>th:nth-child(1){width:120px}
  .tARGXR thead tr>th:nth-child(2){width:130px}
  .tARGXR thead tr>th:nth-child(3){width:100px;}
  .tARGXR thead tr>th:nth-child(4){width:80px}
  .tARGXR thead tr>th:nth-child(5){width:80px;}

  .tARGXR tbody tr:hover{
    background-color:  #FFFFCC;
  }
  .tARGXR tr td{
    padding:  5px 3px 5px 3px;
    cursor:   pointer;
    border:   1px solid #eaeaea
  }
  .tARGXR tbody tr td:nth-child(1){width:120px; text-align: left}
  .tARGXR tbody tr>td:nth-child(2){width:130px;  text-align: left; color:#CC0000}
  .tARGXR tbody tr>td:nth-child(3){width:100px;  text-align: left }
  .tARGXR tbody tr>td:nth-child(4){width:80px;  text-align: right; color:#3366CC}
  .tARGXR tbody tr>td:nth-child(5){width:80px;  text-align: right; color:green}



.tARGXRD{  /* width:            440px; */
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  font:             0.9em "Helvetica Neue","sans serif", "verdana";
  box-sizing:       border-box;                                                                  /* display: block; */
}
  .tARGXRD thead tr{
    background-color: var(--celesteTotales, #dbeafe);   /*2026-10-16: antes #808080 / #fff*/
    color:            #000;
    text-align:       center;
    cursor:           default;
  }

  .tARGXRD thead tr th{
    padding:      5px 3px 5px 3px;
    cursor:       pointer;
    border:       1px solid #eaeaea;
    font-weight:  normal;
    background:   var(--celesteTotales, #dbeafe);   /*2026-10-16: el th global de app.css pinta #334155 encima de la fila; medido*/
    color:        #000;
  }
  .tARGXRD thead tr>th:nth-child(1){width:290px}
  .tARGXRD thead tr>th:nth-child(2){width:80px}
  .tARGXRD thead tr>th:nth-child(3){width:80px;}

  .tARGXRD tbody tr:hover{
    background-color:  #FFFFCC;
  }
  .tARGXRD tr td{
    padding:  5px 3px 5px 3px;
    cursor:   pointer;
    border:   1px solid #eaeaea
  }
  .tARGXRD tbody tr td:nth-child(1){width:290px; text-align: left}
  .tARGXRD tbody tr>td:nth-child(2){width:80px;  text-align: right; color:#3366CC}
  .tARGXRD tbody tr>td:nth-child(3){width:80px;  text-align: right; color:green}

.spSilver{color:#BCBCBC; font-size: 0.8em}
/*2026-10-16, Néstor: "al final agrega un pequeño pie chart que muestre la distribución porcentual de los gastos".
  Una torta por moneda con gastos (Pesos / Dólares), chica, con los cuatro grupos de la primera tabla.*/
.agriGXRTortas{ display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 4px 0; }
  .agriGXRTorta{ flex: 0 1 290px; max-width: 100%; background: #fff; border: 1px solid #eaeaea; padding: 4px; box-sizing: border-box; }
  .agriGXRTorta canvas{ max-width: 100%; }

































/*tabla del listado*/
.tblAgriRepRinde{
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  font:             0.9em "Helvetica Neue","sans serif", "verdana"
}
  /*título general del listado*/
  .tblAgriRepRinde caption{
    width:            100%;
    background:       #808080;
    color:            #fff;
    padding:          5px;
    border-collapse:  collapse;
    font:             1.1em "Helvetica Neue","sans serif", "verdana"
  }

  .tblAgriRepRinde thead tr{
    background-color: #808080;
    color:            #fff;
    text-align:       center;
    cursor:           default;
  }

  .tblAgriRepRinde thead tr th{
    padding:      5px 3px 5px 3px;
    cursor:       pointer;
    border:       1px solid #eaeaea;
    font-weight:  normal
  }
  .tblAgriRepRinde thead tr>th:nth-child(1){width:50px}
  .tblAgriRepRinde thead tr>th:nth-child(2){width:90px}
  .tblAgriRepRinde thead tr>th:nth-child(3){width:auto;min-width:60px;overflow-x:hidden}
  .tblAgriRepRinde thead tr>th:nth-child(4){width:100px}
  .tblAgriRepRinde thead tr>th:nth-child(5){width:60px}
  .tblAgriRepRinde thead tr>th:nth-child(6){width:60px}
  .tblAgriRepRinde thead tr>th:nth-child(7){width:70px}
  .tblAgriRepRinde thead tr>th:nth-child(8){width:70px}
  .tblAgriRepRinde thead tr>th:nth-child(9){width:80px}


  .tblAgriRepRinde tfoot tr{
    background-color: #ffff99; /*#CCFFCC verde agua*/
    color:            #000;
    text-align:       right;
  }

  .tblAgriRepRinde tbody tr:hover{
    background-color:  #FFFFCC;
  }
  .tblAgriRepRinde tr td{
    padding:  5px 3px 5px 3px;
    cursor:   pointer;
    border:   1px solid #eaeaea
  }
  .tblAgriRepRinde tbody tr td:nth-child(1){width:50px;  text-align: right}
  .tblAgriRepRinde tbody tr>td:nth-child(2){width:90px;  text-align: left}
  .tblAgriRepRinde tbody tr>td:nth-child(3){width:auto;  text-align: left; min-width:60px; overflow-x:hidden}
  .tblAgriRepRinde tbody tr>td:nth-child(4){width:100px; text-align: left}
  .tblAgriRepRinde tbody tr>td:nth-child(5){width:60px;  text-align: right}
  .tblAgriRepRinde tbody tr>td:nth-child(6){width:60px;  text-align: right}
  .tblAgriRepRinde tbody tr>td:nth-child(7){width:70px;  text-align: right}
  .tblAgriRepRinde tbody tr>td:nth-child(8){width:70px;  text-align: right}
  .tblAgriRepRinde tbody tr>td:nth-child(9){width:80px;  text-align: right}

/*2026-10-08, Nestor: "no es responsive". En pantallas angostas: arriba el trigo y a la derecha
  "(use coma decimal)", "?" y X; abajo, a lo ancho y alineado a la izquierda, el potrero, Buscar y el nombre.*/
@media only screen and (max-width: 640px){
  #divAgriPotName{
    clear:      both;
    float:      none;
    width:      100%;
    box-sizing: border-box;
    text-align: left;
    padding:    4px 0 0 2px
  }
  #inAgriPotNom{
    width:      130px
  }
  .inAgriGBuscar{
    display:    block;
    width:      100%;
    margin:     2px 0 0 0
  }
}

/*2026-10-12, Natalia 4 ("agricultura cel vertical: se ve mal, no aparece mensaje indicando girar el cel").
  app.css tiene table{table-layout:fixed} GLOBAL: en 390px la tabla se reparte el ancho en partes iguales y "Nombre"
  queda de 20px, con "fertilizante" partido letra por letra. En pantalla angosta las dos tablas (Gastos y Rendimiento)
  tienen su ancho natural (min-width) y se deslizan a lo ancho dentro de su contenedor; y en vertical se muestra el
  aviso .dAvisoGirar, que desaparece solo al girar. El aviso sirve para cualquier pantalla con tablas anchas.*/
.dAvisoGirar{
  display:       none;
  clear:         both;          /*arranca debajo de los flotantes del encabezado*/
  margin:        4px 6px 2px 6px;
  padding:       6px 28px 6px 8px;
  position:      relative;
  background:    #fff7e6;
  border:        1px solid #f0c36d;
  border-radius: 4px;
  font-size:     0.85em;
  color:         #202020;
  line-height:   1.4
}
  .dAvisoGirar a{
    position:        absolute;
    right:           6px;
    top:             2px;
    font-size:       1.4em;
    text-decoration: none;
    color:           #8a4b00
  }
@media only screen and (max-width: 640px) and (orientation: portrait){
  .dAvisoGirar{ display: block }
}
/*2026-11-06, #331: hasta 1024 px (antes 640). Con la columna Campaña, entre 640 y 1000 px el ancho fijo dejaba a Nombre sin lugar (medido: 0 px a 700,
  la palabra letra por letra): ahí también la tabla toma el ancho de su contenido y se desliza a lo ancho dentro de su caja*/
@media only screen and (max-width: 1024px){
  #divAgriGastos, #divRindeTbl{
    overflow-x:                 auto;
    -webkit-overflow-scrolling: touch
  }
  #tblAgriGxPot, #tblAgriRinde{
    table-layout: auto;
    min-width:    620px
  }
  /*2026-11-06, #331: con el ancho automático, la fecha no queda más angosta en una tabla que en la otra (siempre dd-mm-aa)*/
  /*2026-11-09, #331: fecha y campaña con ancho fijo en px (con width en % el ancho automático les repartía sobrante) y lo que sobra a Nombre / Cultivo*/
  #tblAgriGxPot tbody tr> td:nth-child(2), #tblAgriRinde tbody tr> td:nth-child(2){ width: 60px; min-width: 0 }
  #tblAgriGxPot tbody tr> td:nth-child(11), #tblAgriRinde tbody tr> td:nth-child(10){ width: 66px; min-width: 66px }   /*2026-11-09, #331: en el Windows de Natalia 58 px cortaba el combo ("2025/2")*/
  #tblAgriGxPot tbody tr> td:nth-child(11) select.selAgriCamp, #tblAgriRinde tbody tr> td:nth-child(10) select.selAgriCamp{ width: 100% }   /*2026-11-09, #331: el ancho de su celda (66 px), no el del texto*/
  #tblAgriGxPot tbody tr> td:nth-child(3){ min-width: 110px }
  /* CORRECCION 2026-10-12, reportado por Natalia ("la parte de rendimiento no muestra los registros, girando o en pc si"):
     el encabezado "Rendimiento" (.divRinde1) es un float:left de 100%; con overflow-x:auto #divRindeTbl pasa a ser un
     bloque que no puede pisar floats y quedaba con 0px de ancho al costado del float (medido: x=383, width=0 en 390px).
     clear:both lo manda debajo del encabezado, a todo el ancho. En horizontal/PC no pasa porque overflow es visible. */
  #divRindeTbl{
    clear:      both;
    width:      100%;
    box-sizing: border-box
  }
}

/* 2026-11-04 EL REPORTE AGRÍCOLA ÚNICO (js/src/app_agriRep.js, #secAgriRep > #divAgriRep): la misma card y las mismas clases rv* que
   Ventas y Gastos e ingresos por rubro (app_reps.css); acá sólo lo propio. Cada tabla define el ancho y la alineación de sus columnas
   (colgroup + raT texto a la izquierda / raN números a la derecha / raF fechas), lleva naNoAlinear y tiene su propio scroll
   horizontal (.rvTabla) para no correr la página en el celular. */
#secAgriRep{ float: left; width: 100%; max-width: 1100px; background: transparent; }
  .dRepAgri .raCotiz{ width: 56px; }
  .dRepAgri table.tblNA{ table-layout: fixed; width: 100%; }
  .dRepAgri .tblRepAgri, .dRepAgri .tblRepAgriInd{ min-width: 760px; }
  .dRepAgri .tblRepAgriG{ min-width: 900px; }
  .dRepAgri .tblRepAgriR{ min-width: 700px; }
  .dRepAgri .tblRepAgriRub{ min-width: 300px; }
  .dRepAgri col.raC1{ width: 22%; }
  .dRepAgri col.raC2{ width: 16%; }
  .dRepAgri col.raCn{ width: 88px; }
  .dRepAgri col.raCr{ width: 64px; }
  .dRepAgri col.raCpot{ width: 44px; }
  .dRepAgri col.raCfec{ width: 82px; }
  .dRepAgri col.raCfac{ width: 70px; }
  .dRepAgri .raT{ text-align: left; overflow: hidden; text-overflow: ellipsis; }
  .dRepAgri .raN{ text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .dRepAgri .raF{ text-align: left; white-space: nowrap; }
  .dRepAgri .tblNA thead th{ white-space: normal; vertical-align: bottom; line-height: 1.2; overflow-wrap: anywhere; }   /*los títulos largos en dos renglones, sin pisarse (medido a 1366 px)*/
  .dRepAgri .tblRepAgriRub .raT{ white-space: normal; text-overflow: clip; }   /*el rubro entero, aunque baje de renglón (a 390 px se cortaba)*/
  .dRepAgri .raChico{ font-size: 0.8em; color: var(--naTexto2); }
  .dRepAgri tr.raTot td{ font-weight: 600; background: var(--celesteTotales, #dbeafe); }
  .dRepAgri td.raMB{ font-weight: 600; }
  .dRepAgri tr.raNiv0 td{ font-weight: 600; color: #0066CC; }
  .dRepAgri tr.raNiv1 td.raT{ padding-left: 18px; font-weight: 600; }
  .dRepAgri tr.raNiv2 td.raT{ padding-left: 34px; }
  .dRepAgri .raPlegado{ margin: 6px 10px; }
  .dRepAgri .raPlegado > summary{ cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--naLink); padding: 4px 0; list-style: none; }
  .dRepAgri .raPlegado > summary::-webkit-details-marker{ display: none; }
  /*24-11 (Néstor: "Estandariza todas ... como las de Totales"): la flecha la pone la regla general de app.css (el triángulo de Totales)*/
  .dRepAgri .raExplica{ font-size: 0.8rem; color: var(--naTexto2); text-align: left; }
  .dRepAgri .raExplica p{ margin: 4px 0; }
  .dRepAgri .raSub{ margin-top: 10px; text-align: left; }
  .dRepAgri .raTortas{ display: flex; flex-direction: column; gap: 8px; }
@media only screen and (max-width: 620px){
  .dRepAgri .tblNA{ font-size: 0.8rem; }
  .dRepAgri .tblNA thead th, .dRepAgri .tblNA tbody td, .dRepAgri .tblNA tfoot td{ padding: 6px 4px; }
  .dRepAgri col.raCn{ width: 76px; }
}
