/*na-sello 2026-10-01 17:52:13 f417221b*/
html,body,div,section,span,iframe,h1,h2,h3,h5,h6,p,blockquote,pre,a,em,img,q,b,u,i,center,ol,ul,li,fieldset,form,label,legend,tbody,tfoot,thead,tr,th,td,footer,header,time,audio,video{margin:0;border:0;padding:0;}
:root {
  --fondoVerde:             #5f7063; /* (2026-09-30: ya no se usa, queda para volver atras) aquí defines la variable */
  --sombraGrisCálidoSuave:  #CCCCCC;
  --VerdeOscuroPastel:      #466868;
  --AzulGrisáceo:           #99CCCC;
  --BeigeClaro:             #E6D9C3;
  --LavandaSuave:           #CC99CC;
  --whitesmoke:             #f5f5f5;
  --azulMarino:             #334155;
  --celesteTotales:         #dbeafe;
  --azulPiedra:             #466a8d; /*2026-09-30, Nestor: fondo de TODA la app (antes --fondoVerde). Para volver al verde: poner aca #5f7063*/
}


html{
  width:      100%;
  height:     100%
}
body{
  width:            100%;
  height:           100%;
  background:       var(--azulPiedra); //#768d7b; //#9EB3A2; /*#303030;*/
  text-align:       center;
  font-size:        1em;
  font-family:      "Helvetica Neue","sans serif","verdana";
  /* overflow: auto; */
  padding-left: 2px;
  box-sizing:       border-box;
}
section{
  box-sizing:       border-box;
}
/* section,nav,div,textarea,iframe,input,fieldset,sel,ul,li,table,header{} */

/*** dentro de main está toda la app. Ahora vamos a poner una aside para que flote al costado  ***/
#main{
  float:        left;
  box-sizing:   border-box;
  max-width:    500px;
  //background:   #fff;
  margin-left:  1px
  /* height:     100%; */
}


div{
  font-size: 1.02em;
  font-family:      "Helvetica Neue","sans serif","verdana";
  box-sizing:       border-box;  /*** IMPORTANTE, NO SACAR! si se saca crece 6px el 'divTitTot' ***/
  /* width: 150px; */
}

table{
  width:            100%;
  border:           0;
  /* border-collapse:  separate; */
  /* border-spacing:   5px; */
  table-layout:     fixed;
  overflow:         hidden;
  padding:          0;
  margin:           0;
  background: #e4e1e1;
  font-size:        1em;
  font-family:      "Helvetica Neue","sans serif","verdana"; /*hay un @media*/
}

option{color:#000}
fieldset{
  border:     1px solid silver;
  padding:    5px;
  width:      100%;
  background: #fff
}
p{padding:5px}


/******NUEVOS BOTONES GENERALES, TODOS IGUALES *****/
button{
    /* width:    80px; */
    background:       #fff;
    padding: 7px 7px;
    /* 2026-09-23 CONTRASTE. #0066ff sobre blanco da 4,83:1: pasa AA pero no el 7:1 (AAA) que
       venimos usando. #0047b3 da 8,23:1 y a simple vista es el mismo azul. El #0066ff sigue
       siendo valido para BORDES y acentos, donde el contraste no cuenta. */
    color:            #0047b3;
    text-decoration:  none;
    font-size:        0.9em;
    border-radius:    3px;
    border:           1px solid silver;
    cursor:           pointer;
}
    button:hover{
      color:            #fff;
      text-decoration:  none;
      /* 2026-09-23: 'red' puro con letra blanca da 4,00:1, no pasa ni AA -- era la peor
         combinacion de toda la app. #b00020 da 7,33:1 y se sigue leyendo como rojo de alerta. */
      background:       #b00020; /*#F1CD48;*/ /*menuBn*/
      /* 2026-10-01, Nestor: "en el mouseOver no tengan borde blanco, solo cambian fondo a rojo y fuente a blanco".
         El borde gris claro (silver) sobre el rojo se veia blanco: se pinta del mismo rojo. Solo cambia el COLOR del
         borde, no su ancho, asi el boton no se mueve. */
      border-color:     #b00020;
    }

/** botones del menu **/
.menu-row button{                                      /* width:    80px; */
    background:       var(--azulPiedra);
    padding:          7px 7px;
    color:            #0066ff;
    text-decoration:  none;
    font-size:        0.9em;
    border-radius:    3px;                           // border:           1px solid silver;
    cursor:           pointer;
}
/*.menu-row button:hover{
      color:            #fff;
      text-decoration:  none;
      border:           #fff;
    }*/
/* 2026-10-01, Nestor: los iconos del menu de arriba, al pasar el mouse, como todos los botones: fondo rojo, sin borde,
   sin moverse. Hace falta esta regla porque '.menu-row button' (arriba) le gana a 'button:hover' y el fondo quedaba azul. */
/* 2026-10-16, Néstor (captura del menú con el sol nuevo): "cambia el mouse over de esos botones a un simple recuadro blanco en el
   borde del botón". Sin fondo: un filo blanco de 1 px por adentro (box-shadow inset, no border: el botón no cambia de tamaño). */
.menu-row button:hover{
    background:       none;
    color:            #fff;
    box-shadow:       inset 0 0 0 1px #fff;
}

/* botones en Peón
button{
  padding:        10px;
  border-radius:  4px;
  border:         1px solid transparent;
  font-size:      18px;
  cursor:         pointer
}
  button:hover{
    background: #FF4500;
    color:      #fff;
  }
.btnBorrar{
  background: lightpink;
  color:      #303030;
  font-size:  13px;
  padding:    5px;
}
.btnGuardar{
  background: #b5ee90;
  color:      #303030;
  margin-top: 4px
}
*/


.font7G{
  font-size:  0.7em;
  color:      gray
}
.font7S{
  font-size:  0.7em;
  color:      silver
}
.font12R{
  font-size:  1.2em;
  color:      red
}
.fS{
  font-size:  1em
}

.padTop6{padding-top: 4px}

.red{color:     red}
.green{color:   green}
.black{color:   #000}
.gray{color:    gray}
.gris{color:    #606060}
.violeta{color: #660066}
.gris30{color:  #303030}

.yellow{color:  yellow}
.suave{color:   #d8d8d8}
.maroon{color:  maroon}
.clrW{color:    #fff}
.bold{font-weight:  bold}

.center{text-align:   center}
.divCenter{display:   inline-block}
.right{text-align:    right}
.left{text-align:     left}
.top{vertical-align:  top}

.bdrNone{border:        none}
.peNone{pointer-events: none}

.bgNone{background:   none}
.BGw{background:     #fff;}
.bgEF{background:     #EFEFEF;}
/*2026-11-02, bitácora #218: fila de HOY de Historias que no coincide con el lote (jsHisHoyControl)*/
tr.hisHoyMal td{background: #FDECEA; color: #8A1C1C}
/*2026-11-02, #218 (4a vuelta): "Corregir" como botoncito en la columna Categoría, en un solo renglón*/
.hisHoyMarca{display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid #C0392B; border-radius: 10px; background: #fff;
             color: #C0392B; font-size: 0.85em; font-weight: bold; line-height: 1.5; white-space: nowrap; text-decoration: none}
.hisHoyMarca:hover{background: #C0392B; color: #fff}
.hisHoyX{float: right; margin: -2px -2px 0 8px; width: 22px; height: 22px; padding: 0;  
           font-size: 15px; line-height: 18px; cursor: pointer}
tr.hisHoyFoco td{outline: 2px solid #C0392B; outline-offset: -2px}
.hisHoyLote{color: #8A1C1C; font-weight: bold; text-decoration: underline}
.hisHoyAviso{float: left; width: 100%; padding: 6px 8px; margin: 4px 0; background: #FDECEA; color: #8A1C1C; border: 1px solid #E6B0AA; border-radius: 4px; text-align: left}
.bgLB{background:     #CDF9FF} /*light blue*/
.bgLP{background:     #f5e2e6} /*light pink*/
.bgY{background:      #FFFF66} /*light yellow*/

.none{display:        none;}
.block{display:       block;}
.noVisible{visibility:hidden}

.fRight{float: right}
.fLeft{float:  left} /*;margin-top: 3px;padding: 0px;*/
.wMax{width:   100%;}
.pad5{padding: 5px}
.txLeft{text-align: left}

.fsInherit{font-size: inherit}
.fnt08i{
        font-size:    0.8em;
        font-style:   italic
}

/*cursor*/
/* .csrDef{cursor: default} */
.csrHlp{cursor: help}

.bgVaca{
  border:     1px solid #D25252;
  background: #fff
} /*#800000   #D25252*/

.bgOveja{
  border:     1px solid #C29B8A;
  background: #fff
} /* #c6b790   #EBDCB5*/

.bgCaballo{
  border:     1px solid #886150;
  background: #fff
 } /*#633C2B */
.bgPotrero{
  border:     1px solid #C7FA94;
  background: #fff
} /*#99CC66   #B1E47E    #C7FA94*/

.nego{
  font-family: "Microsoft JhengHei UI", "Helvetica Neue","sans serif","verdana";
  font-size:   13px;
  color:      #eaeaea;
  width:      100%
}
.agro{
  font-family:  "Microsoft JhengHei UI light", "Helvetica Neue","sans serif","verdana";
  font-size:    13px;
  color:        #fdd548; //#FD9248;
}

/*#dCalculando{
  width:      500px;
  height:     50px;
  background: #fff;
  padding:    10px;
  float:      left;
  left:       0px;
  top:        1px;
  opacity:    0.8;
  color:      #000;
  font-size:  20px;
  z-index:    9999999;
  display:    none;
}*/

#divLogo{
  /* margin-top: 50px; */
  width:      500px;
  height:     500px;
  background: var(--azulPiedra);
  padding:    50px;                           /* display:    none; */
  position:   absolute;
  left:       1px;
  top:        47px;
  z-index:    9
}
/*2026-10-16, Néstor: logo nuevo (images/logo_na300.png, versionado en el repo) donde estaba el texto nego/Agro: menú (.logoNA, 50x50 del botón),
  pantalla del logo (.logoIni), cortina de carga y títulos del mapa. Las reglas .nego/.agro/.negoIni/.agroIni quedan para el
  texto de reserva, que aparece sólo si la imagen no carga (onerror en el HTML).*/
.logoNA{ display: block; max-width: 46px; max-height: 46px; width: auto; height: auto; margin: 0 auto; }   /*2026-10-16: sólo el sol (images/logo_sol.png); el logo entero a 46px no se leía*/
/* 2026-10-16, Néstor (captura del menú con el recuadro blanco del hover): "En el menú hay que ajustar el tamaño para que no
   sobresalga de su recuadro". El botón mide 50x50 con 7px de relleno (36 de contenido) y el sol medía 46x37: se salía 6px
   a la derecha en la PC y 10 en el celular. El primer botón lleva 2px de relleno y el sol se ajusta al contenido (46x37 en
   la PC, 32 de ancho en el celular, donde el botón mide 36). Medido sobre index.html a 1280 y 400px. */
#btn-home{ padding: 2px; }
#btn-home a{ display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
#btn-home .divNA{ float: none; width: 100%; height: 100%; padding: 0; display: flex; align-items: center; justify-content: center; }
#btn-home .logoNA{ max-width: 100%; max-height: 100%; margin: 0; }
.logoIni{ display: block; width: 300px; max-width: 100%; height: auto; margin: 0 auto 10px auto; }
.negoIni{
  font-family: "Microsoft JhengHei UI", "Helvetica Neue","sans serif","verdana";
  font-size:   40px;
  color:       silver;
  background:  var(--azulPiedra); //#303030;
  width:       100%;
}
.agroIni{
  font-family:  "Microsoft JhengHei UI light", "Helvetica Neue","sans serif","verdana";
  font-size:    40px;
  background:   var(--azulPiedra); //#303030;
  color:        #FD9248;
}



.divNA{
  width:      50px;
  float:      left;
  padding:    1px 3px 1px 3px;
  background: none;                               /* height:     400px; */
  font-size:  1em;
  box-sizing: border-box;  /* border: 1px solid lime; */
}

/*alert ->dialog*/
/*2026-11-07, Néstor ("pasalo a app.css"): a 390 px el cartel medía 470 y Aceptar quedaba FUERA de la pantalla (medido en la batería
  zr-mover, 29-10). Nunca más ancho que la pantalla; la fila de abajo (Cancelar, DME, Aceptar) es una fila flexible en vez de tres
  piezas con position:absolute, y en una pantalla angosta el DME sube a su renglón y los botones se reparten el ancho (abajo)*/
#dialogAcepto{
  width:      470px;
  max-width:  calc(100vw - 16px);
  box-sizing: border-box;
  position:   absolute;
  top:        100px;
  padding:    10px;
  background: #fff;
  color:      #0066FF;
  border:     1px solid silver;
  box-shadow: rgba(255, 255, 255, .4) 0 1px 0 0 inset;
}
  /*#dialogAcepto div{
    border: 1px solid black
  }*/

  #diaTxt{   /*2026-10-27, cartel de rotación: el ancho del diálogo (era 500px, más que el diálogo) y letra un poco menor, para que
               "¿Confirma rotar…", "desde…" y "al…" entren cada uno en un renglón*/
    width:      auto;
    box-sizing: border-box;
    margin-top: 1px;
    padding:    8px 10px;
    font-size:  1.1em;
    text-align: left;
    color:      #000;     /* border: 1px solid red; */
  }
  .divBtnDia{
    padding:     2px;
    width:       100%;
    box-sizing:  border-box;
    min-height:  50px;
    display:     flex;        /*2026-11-07: antes float + height 50px y los tres hijos absolute*/
    align-items: center;
    gap:         8px;
  }
    #btnDiaAcept{
      margin-left: auto;
      padding:     15px;
    }
    .btnDiaCancel{
      font-size: 0.9em;
      padding:   5px;
    }
    .dialogTiempo{
      color:      green;
      font-size:  0.8em;
      font-style: italic
    }
    #diaDME{
      flex:       1 1 auto;   /*2026-11-07: antes width 300px, absolute a 90px de la izquierda*/
      min-width:  0;
      padding:    2px 6px;
      text-align: left;
      color:      green;
    }
    @media (max-width: 500px){   /*2026-11-07: celular: el DME arriba, los dos botones grandes y parejos*/
      #dialogAcepto{ top: 70px; max-height: calc(100vh - 80px); overflow: auto; }
      .divBtnDia{ flex-wrap: wrap; gap: 10px; margin-top: 8px; }
      #diaDME{ flex: 1 1 100%; order: -1; }
      .btnDiaCancel, #btnDiaAcept{ flex: 1 1 0; min-height: 48px; margin-left: 0; font-size: 17px; }
    }

    /*2026-10-27, Néstor ("el cuadro de mensaje de rotación tiene que ser flotante y tener el cursor de arrastre en la esquina superior
      derecha"): el asa; touch-action:none para que en el celular arrastre el cartel y no la página*/
    .diaMover{
      position:     absolute;
      top:          2px;
      right:        4px;
      width:        28px;
      height:       28px;
      line-height:  28px;
      text-align:   center;
      font-size:    20px;
      color:        #666;
      cursor:       move;
      user-select:  none;
      touch-action: none;
      z-index:      2;
    }
    .diaMover:hover{ color: #0066FF; }
    #dialogAcepto #diaTxt{ padding-right: 30px; }   /*que el asa no tape el final del primer renglón*/

/**fin de dialog **/



/***** NUEVA PANTALLA DE INICIO *****/
#inVentasXCatAnio, #inComprasXCatAnio{
  border: none;
  width:  80px;
}
#secInicial{
  /* CORRECCION 2026-09-18 (pedido de Nestor: "que Inicial se ubique debajo del menu y no al
     costado"). #main es float: left con max-width 500px y adentro esta el menu; como secInicial es
     otro float: left, se acomodaba A LA DERECHA de main -- por eso el dashboard arrancaba a ~690px
     del borde y quedaba medio pantalla vacia a la izquierda. Con clear: left baja por debajo de
     main, o sea justo debajo de la barra de menu, y arranca en el margen izquierdo. */
  clear:      left;
  float:      left;
  /* NUEVO 2026-09-18: sin este 100% la seccion es un float y mide lo que mide su contenido (unos
     755px), asi que el tablero no tenia ancho donde repartirse por mas que #divIni fuera flex. */
  width:      100%;
  /* el 100vh se saco junto con el clear: ahora la seccion empieza DEBAJO del menu, asi que 100vh
     sumaba el alto del menu y generaba scroll vertical de mas incluso con la pantalla casi vacia.
     El fondo verde no se pierde: body ya tiene el mismo var(--azulPiedra). */
  min-height: 0;
  display:    none;
  background: var(--azulPiedra); /*2026-09-30 prueba; antes var(--azulPiedra)*/
  box-sizing: border-box;
}

  .dIniGrupo{
    /* float:      left; */
    /* max-width:  750px; */
    background: var(--azulPiedra); /*2026-09-30 prueba; antes var(--azulPiedra)*/
    box-sizing: border-box;
    /* border:     1px solid #FFFF66; */
    height:     auto;
  }
  .dIniGrupo::after {
    content:  "";
    display:  block;
    clear:    both;
  }

  /* 2026-10-06, Néstor: Inicial agrupada por función. Cada bloque (Campo, Hacienda, Comercial, Sanidad, Pasto y
     pastoreo, Clima y suelo) lleva un título y adentro sus cuadros (.dIniGrupo) de siempre. */
  /* 2026-10-06, Néstor: "cerrar la línea de cada grupo, que sea un cuadro que abarque todas las tarjetas de
     cada función". El título va arriba, dentro del marco. */
  /* 2026-10-06, Néstor: "que los cuadros se adapten a su contenido dejando un padding de 15px". Las tarjetas
     flotan dentro del cuadro como antes flotaban en la pantalla: dentro del marco cada cuadro de siempre
     (.dIniGrupo) reparte sus tarjetas en fila, sin márgenes propios, y la separación la da el gap (14px). */
  .dIniBloque{
    box-sizing:    border-box;
    margin:        0 0 10px 0;
    padding:       0 15px 15px 15px;
    border:        1px solid rgba(255,255,255,.45);
    border-radius: 10px;
    background:    rgba(255,255,255,.05);
  }
  .dIniBloque .dIniGrupo{
    background:   transparent;
    padding:      0;
    margin:       0;
    display:      flex;
    flex-wrap:    wrap;
    align-items:  flex-start;
    gap:          14px;
  }
  .dIniBloque .dIniGrupo::after{ display: none; }
  .dIniBloque .dIniGrupo > *:not(.iniX){ margin: 0 !important; }
  /*2026-11-24 (Néstor: "La nueva tarjeta quedó mal ubicada, tiene que acomodarse a la pantalla como todas"): en la PC (1150 px o más) .dIniGrupo
    va con flex 0 0 auto (no se achica) y, con cuatro tarjetas en Comercial, a 1280 px la fila se pasaba del cuadro. Dentro de un bloque, el grupo
    se angosta hasta el ancho del cuadro y sus tarjetas pasan al renglón de abajo, como en las otras medidas*/
  .dIniBloque .dIniBloqueCont > .dIniGrupo{ flex: 0 1 auto; max-width: 100%; min-width: 0; }
  /*2026-10-06: la lista de pasturas de Uso del suelo flota ENCIMA del grafico (position absolute): no es una
    tarjeta, guarda su ancho de 220px tambien en el celular (la regla de arriba de 100% la estiraba)*/
  #divIni #divPastosLista{ width: 220px !important; max-width: calc(100% - 4px) !important; box-sizing: border-box; }
  .dIniBloqueCont{
    display:      flex;
    flex-wrap:    wrap;
    align-items:  flex-start;
    gap:          14px;
  }
  .dIniBloqueTit{
    margin:         10px 0 10px 0;
    padding:        0;
    /*2026-10-06, Néstor: la fuente de la app (sans serif, Verdana), no la serif que tomaba el h2*/
    font-family:    Verdana, "Helvetica Neue", Arial, sans-serif;
    font-size:      1rem;
    font-weight:    600;
    letter-spacing: .03em;
    color:          #FDFDFD;
  }
  /*2026-10-14, Néstor: el nombre del campo actual al lado de "Campo" (para quien maneja más de un campo)*/
  .dIniCampoNom{
    font-weight:    400;
    letter-spacing: 0;
    opacity:        .92;
  }
  .dIniBloqueCont::after{ display: none; }   /*en flex el ::after sería un ítem más y sumaba 14px de gap a la derecha*/
  /*las tarjetas con width:100% en un flex se miden contra el cuadro y se apilaban: en pantalla de PC van con su ancho fijo*/
  /*en el celular cada tarjeta ocupa el ancho del cuadro, así ninguna se pasa del marco*/
  @media only screen and (max-width: 520px){
    .dIniBloque .dIniGrupo{ width: 100%; }
    .dIniBloque .dIniGrupo > *:not(.iniX){ width: 100% !important; max-width: none !important; box-sizing: border-box; }
  }
  /*entre el celular y la PC (tablet, ventana angosta) los bloques también flotan uno al lado del otro*/
  @media only screen and (min-width: 521px) and (max-width: 1149px){
    #divIni{ display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 14px; }
    .dIniBloque{ flex: 0 1 auto; max-width: 100%; margin: 0; }
  }
  @media only screen and (min-width: 521px){
    .dIniBloque .divIniLeft{        width: 320px; }
    .dIniBloque .dIniVentasConPie{  width: 310px; }
    .dIniBloque .dIniComprasConPie{ width: 320px; }
  }

  /*fila de cards chicas (Sanidad, Categorias, Pastoreos): estaba en un style inline del index*/
  .dIniCards{
    display:      flex;
    flex-wrap:    wrap;
    gap:          14px;
    align-items:  flex-start;
  }

  /* NUEVO 2026-09-18 (pedido de Nestor: "en PC se desaprovecha el ancho y hay que hacer mucho
     scroll"). Inicial era UNA columna de bloques apilados, cada uno con max-width 750px: en un
     monitor de 1920 quedaban 1100px vacios a la derecha y el tablero media varias pantallas de alto.
     Con esto los bloques se acomodan uno al lado del otro y llenan el ancho disponible; cada uno
     conserva su propio ancho natural (el max-width de arriba) y su maquetado interno.
     align-items: flex-start es imprescindible: sin eso el flex estira todos los bloques de una fila
     a la altura del mas alto y aparecen huecos enormes adentro de las cards.

     2026-09-18, SE PROBO Y SE DESCARTO un reparto en columnas (masonry: #divIni con column-width y
     los grupos en display:contents). En el papel packeaba mejor -- menos huecos, mas superficie
     util -- pero con los datos reales quedo peor: las cards se desparramaban con alturas dispares y
     los bloques con grafico (lluvias, uso del suelo) se desbordaban de su caja porque sus canvas
     tienen ancho fijo y no entran en una columna. Si se vuelve a intentar, primero hay que resolver
     que los graficos sean elasticos. */
  @media only screen and (min-width: 1150px){
    #divIni{
      display:      flex;
      flex-wrap:    wrap;
      align-items:  flex-start;
      align-content: flex-start;
      gap:          14px;
    }
    /* 2026-09-18, resultado de la prueba de Nestor: ANCHO UNICO para todos los bloques (662px, que
       es lo que mide el grafico de uso del suelo, el mas ancho). Dejarlos con su ancho natural daba
       columnas de anchos dispares y esa disparidad era buena parte de la sensacion de desorden; con
       una sola medida las columnas quedan alineadas de arriba abajo. El borde punteado hace visible
       donde empieza y termina cada bloque.
       OJO: esto vive DENTRO del media query a proposito. Suelto, en un celular forzaria 662px de
       ancho a cada bloque y romperia toda la pantalla chica. */
    .dIniGrupo{
      flex:         0 0 auto;
      /* width:        662px; */
      margin:       0;          /*el espacio lo da el gap*/
      /*2026-09-19: se saco el borde punteado (era solo para ver los limites mientras se probaba)*/
      border-radius: 6px;
      padding:      1px;
    }
    /*el bloque de cards chicas ya no necesita el max-width: el width de arriba manda*/

    /* 2026-10-06: los bloques por función se acomodan uno al lado del otro (o abajo) y adentro reparten
       sus cuadros en fila. flex 0 1 auto + max-width 100%: un bloque mide lo que mide en una fila y, si no
       entra en el ancho, se angosta y sus cuadros pasan al renglón de abajo. */
    .dIniBloque{
      flex:       0 1 auto;
      max-width:  100%;
      margin:     0;
    }
    .dIniBloqueCont{
      display:      flex;
      flex-wrap:    wrap;
      align-items:  flex-start;
      gap:          14px;
    }

  }


  #divIni{
    padding:    1px 3px 1px 3px;
    box-sizing: border-box;
    height:     100%;
    font-size:  1.1em;
    color:      #FDFDFD;
    background: var(--azulPiedra); /*2026-09-30 prueba; antes var(--azulPiedra) //#9EB3A2; //#303030;*/
  }


  .divIniPasto{
    float:          left;
    max-width:      660px !important;
    /* padding:        10px; */
    border:         0.6px solid #505050; /*#669900*/
    margin-bottom:  20px;
    overflow-x:     auto;
    -webkit-overflow-scrolling: touch;
  }

  .canPastos{
    width:      480px;
    height:     239px;
    background: #fff; //303030;
    margin:     10px 1px 1px 1px;
    font-size:  10px;
    color:      #000;      /* padding: 0px; */
  }
    #canPastos {
        width: 100% !important; /* Permite que el canvas llene su contenedor */
        height: auto !important;  /* Mantiene la proporción */
    }
    /* 2026-09-18: contenedor del canvas de suelos. Con el grafico elastico
       (GRAF_SUELOS_ELASTICO en app_tools.js) jsTotales le pone un alto en px calculado con la
       cantidad de pasturas, y el canvas lo llena. Sin la clase .grafElast todo queda como antes. */
    #divCanPastos{
      position: relative;
      width:    100%;
    }
    #divCanPastos.grafElast #canPastos{
      height: 100% !important;
    }
    .tblIni {
        width: 100% !important; /* Asegura que la tabla ocupe todo el ancho disponible */
    }







  .divIniLeft{
    float:        left;
    width:        100%;
    max-width:    320px;
    height:       210px;
    font-size:    0.8rem;
    background:   #fff; //whitesmoke; //#EBEBEB; //#303030;
    padding:      10px;
    color:        #000;
    margin:       3px 5px 20px;
    border-radius:  12px;
    box-shadow:     4px 4px 6px var(--VerdeOscuroPastel);
    border-radius:  5px; /* opcional: esquinas suaves */
  }

/*NUEVO para ubicar el gráfico por mes en inicial* /
.divIniLeftLluvias {
  position: relative;
  align-items: flex-end;
  justify-content: space-between;

  display: inline-flex; /* Cambiado de flex a inline-flex * /
  width: 300px;         /* Asegúrate de mantener el ancho fijo * /
  vertical-align: top;  /* Para que alinee bien con otros divs flotantes * /
}*/

.canvas-lluvias{
  border-left:  1px solid #ccc;
  margin-top:   10px;
  float:        left;
  width:        370px;
  height:       70px;
}

/* antes*/
.divIniLeftLluvias{
  float:        left;
  width:        250px;
  font-size:    0.9rem;
  background:   #fff; //#303030;
  padding:      10px;
  color:        #000;
  margin:       3px;
  border-radius:  12px;
  margin-bottom:  20px;
  border-radius:  5px;
}

  .divIniLeftGraf{
    float:        left;
    max-width:    650px !important;
    font-size:    0.9rem;
    background:   #fff; //#303030;
    padding:      10px;
    color:        #000;
    margin:       3px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    border-radius: 8px; /* opcional: esquinas suaves */
  }

  #dIniBarrasLluvias{
    float:        left;
    max-width:    490px;
    height:       120px;
    font-size:    0.9rem;
    background:   #fff; //#303030;
    padding:      25px 11px 6px 11px;
    color:        #000;
    margin:         4px;
    margin-bottom:  20px;
    box-shadow:     0 6px 14px rgba(0,0,0,0.25);
    border-radius:  5px;
  }
  .dIniLluvia1{
    float:    left;
    width:    100%;
    height:   50px;
  }
  .dIniLluvia2{
    float:    left;
    width:    100%;
  }



  .dIniVentasConPie{
    float:        left;
    width:        100%;
    max-width:    310px;
    font-size:    0.8rem;
    background:   #fff; //whitesmoke; //#EBEBEB; //#303030;
    padding:      10px;
    color:        #000;
    margin:       3px 3px 20px;
    border-radius:  12px;
    box-shadow:     4px 4px 6px var(--VerdeOscuroPastel);
    border-radius:  5px; /* opcional: esquinas suaves */
  }
  .dIniComprasConPie{
    width:        100%;
    max-width:    310px;
    float:        left;
    max-width:    320px;
    font-size:    0.8rem;
    background:   #fff; //whitesmoke; //#EBEBEB; //#303030;
    padding:      10px;
    color:        #000;
    margin:       3px 5px 20px;
    border-radius:  12px;
    box-shadow:     4px 4px 6px var(--VerdeOscuroPastel);
    border-radius:  5px; /* opcional: esquinas suaves */
  }

.card {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


/*nuevos svg separados! */
#liGanado svg{
    color: #CC6600;
}
.dIcon{
  float:    left;
}
.dIcon svg{
  color: #CC6600;
}

/*tablas*/
  .tblIni0{
    table-layout:     fixed;
    width:            100%;
    background-color: #fff; //whitesmoke;
    border-collapse:  collapse;
    box-sizing:       border-box;
    color:            #000;
    font-size:    0.75rem;
  }
  .tblIni0 thead th{
      color:        #0056b3; //#99CCFF;
      font-weight:  normal;

      font-style:   italic;
      text-align:   center;
      border:       1px solid silver;
      padding:      10px 3px 10px 3px;
  }

  .tblIni0 tbody tr:hover{
      background-color:  #EFEFEF;
      color:             #000
    }
    .tblIni0 tbody tr>td{
      padding:        5px 3px 5px 3px;
      border:         1px solid silver;
      text-align:     right;
      cursor:         default;
      font-size:    0.75rem;
    }
    .tblIni0  tr>td:nth-child(0){
                                      max-width:    auto;
    }
    .tblIni0  tr>td:nth-child(1){
                                      max-width:    50px;
    }
    .tblIni0  tr>th:nth-child(2){
                                      max-width:    80px;
    }
    .tblIni0  tr>td:nth-child(3){
                                      max-width:    80px;
    }


    /****************************** /
  .tblIni00{
    table-layout:     fixed;
    display:          block; /************* DEBE IR PAEA QUE RESPETE LOS WIDTH DE LAS CELDAS!!! *************** /
    width:            100%;
    background-color: #303030;
    border-collapse:  collapse;
  }
  .tblIni00 tbody tr:hover{
      background-color:  #EFEFEF;
      color:             #000
    }
    .tblIni00 tbody tr td{
      padding:        10px 5px 10px 4px;
      border:         1px solid #606060;
      text-align:     right;
      cursor:         default;
      border: 1px solid gray
    }
    .tblIni00 tbody tr>td:nth-child(1){width: 26%;
      padding-left: 10px;
      text-align:   center;
    }
    .tblIni00 tbody tr>td:nth-child(2){width: 17%}  /**************** PONIENDO UNO O MÁS % SE ARREGLA EL ANCHO DE LAS COLUMNAS!!! ********************* /
    .tblIni00 tbody tr>td:nth-child(3){width: 110px}
    .tblIni00 tbody tr>td:nth-child(4){width: 74px;}
    .tblIni00 tbody tr>td:nth-child(5){width: 70px}

/*Inicial Totales* /
  .tblIni000{
    table-layout:     fixed;
    display:          block; /************* DEBE IR PAEA QUE RESPETE LOS WIDTH DE LAS CELDAS!!! *************** /
    width:            100%;
    background-color: #303030;
    border-collapse:  collapse;
  }
  .tblIni000 tbody td{
      color:        #99CCFF;
      font-weight:  normal;
      font-style:   normal;
      text-align:   right;
      border:       1px solid #606060;
      padding:      10px 5px 10px 4px;
  }
    .tblIni000 tbody tr>td:nth-child(1){width: 26%;
      padding-left: 10px;
      text-align:   center;
      font-style:   italic;
      color:        #FF950A
    }
    .tblIni000 tbody tr>td:nth-child(2){width: 17%}
    .tblIni000 tbody tr>td:nth-child(3){width: 110px}
    .tblIni000 tbody tr>td:nth-child(4){width: 73px}
    .tblIni000 tbody tr>td:nth-child(5){width: 70px}
*/




/*inicial, resto*/
  .tblIni{
    table-layout:     fixed;
    width:            100%;
    box-sizing:       border-box;
    background-color: #fff; //#303030;
    border-collapse:  collapse;
    border-spacing:   0px;
    margin-top:       5px;
  }
    .tblIni thead th{        /* color:        #99CCFF; */
        font-weight:  normal;
        font-style:   italic;
        text-align:   left;
        border-bottom:1px solid silver;
        padding:      10px 3px 10px 4px;        /* background:   lightyellow */
    }
    .tblIni thead tr>th:nth-child(1){width: calc(100% - 140px)}
    .tblIni thead tr>th:nth-child(2){width: 140px; text-align:right;}
    .tblIni tbody tr td{
      padding:        5px 4px 5px 4px;       //border-bottom:  1px solid #606060;
      border:       1px solid silver;
      text-align:   left
    }
    .tblIni tbody tr:hover{
      background-color:  #EFEFEF;
      color:             #000
    }
    .tblIni tbody tr>td:nth-child(1){
      width:        calc(100% - 100px);
      padding-left: 10px;
      cursor:       default
    }
    .tblIni tbody tr>td:nth-child(2){
      text-align: right;
      width:      100px;
      cursor:     default
    }

.tblIniLluvias{
    table-layout:     fixed;
    width:            100%;
    box-sizing:       border-box;
    background-color: #fff; //#303030;
    border-collapse:  collapse;
    border-spacing:   0px;
    font-size:        0.75rem;
  }
    .tblIniLluvias thead th{        /* color:        #99CCFF; */
        font-weight:  normal;
        font-style:   italic;
        text-align:   left;
        border-bottom:1px solid silver;
        padding:      10px 3px 10px 4px;        /* background:   lightyellow */
    }
    /* .tblIniLluvias thead tr>th:nth-child(1){)} */
    /* .tblIniLluvias thead tr>th:nth-child(2){width: 60px; text-align:right;} */
    .tblIniLluvias tbody tr td{
      padding:        5px 4px 5px 4px;       //border-bottom:  1px solid #606060;
      border:       1px solid silver;
      text-align:   left
    }
    .tblIniLluvias tbody tr:hover{
      background-color:  #EFEFEF;
      color:             #000
    }
    .tblIniLluvias tbody tr>td:nth-child(1){
                                              width:        calc(100% - 60px);
                                              padding-left: 10px;
                                              cursor:       default
    }
    .tblIniLluvias tbody tr>td:nth-child(2){
                                              text-align: right;
                                              width:      60px;
                                              cursor:     default
    }
  .tblIniCargas{
    table-layout:     fixed;
    width:            100%;
    box-sizing:       border-box;
    background-color: #fff; //#303030;
    border-collapse:  collapse;
    border-spacing:   0px;
    margin-top:       5px;
  }
    .tblIniCargas thead th{
        color:        #0056b3;
        font-weight:  normal;
        font-style:   italic;
        text-align:   left;
        border-bottom:1px solid silver;
        padding:      10px 3px 10px 4px;        /* background:   lightyellow */
    }
    .tblIniCargas thead tr>th:nth-child(1){width: calc(100% - 100px)}
    .tblIniCargas thead tr>th:nth-child(2){width: 100px; text-align:right;}
    .tblIniCargas tbody tr td{
      padding:        5px 4px 5px 4px;       //border-bottom:  1px solid #606060;
      border:       1px solid silver;
      text-align:   left
    }
    .tblIniCargas tbody tr:hover{
      background-color:  #EFEFEF;
      color:             #000
    }
    .tblIniCargas tbody tr>td:nth-child(1){
      width:        calc(100% - 100px);
      padding-left: 10px;
      cursor:       default
    }
    .tblIniCargas tbody tr>td:nth-child(2){
      text-align: right;
      width:      100px;
      cursor:     default
    }



  .tblIniCampo{
    table-layout:     fixed;
    width:            100%;
    box-sizing:       border-box;
    background: none; //#fff; //#303030;
    border-collapse:  collapse;
    border-spacing:   0px;
    margin-top:       5px;
    font-size:    0.75rem;
  }
    .tblIniCampo thead th{
        font-weight:  normal;
        font-style:   italic;
        text-align:   left;
        font-size:    0.75rem;
        border-bottom:1px solid silver;
        padding:      10px 3px 10px 4px;
    }
    .tblIniCampo thead tr>th:nth-child(1){width: calc(100% - 95px)}
    .tblIniCampo thead tr>th:nth-child(2){width: 95px; text-align:right;}
    .tblIniCampo tbody tr td{
      padding:      5px 4px 5px 4px;
      border:       1px solid silver;
      text-align:   left
    }
    .tblIniCampo tbody tr:hover{
      background-color:  #FFFFCC;
      color:             #000
    }
    .tblIniCampo tbody tr>td:nth-child(1){
      width:        calc(100% - 80px);
      padding-left: 10px;
      cursor:       default
    }
    .tblIniCampo tbody tr>td:nth-child(2){
      text-align: right;
      width:      80px;
      cursor:     default
    }


    .iniPad{
      padding:10px;
    }
    .iniItalic{
      text-align:   left;
      font-style:   italic;
      padding-left: 4px !important;
      color:        #0056b3; //#2175c9; //#99CCFF
    }
    .dIniLluvia{
      float:  left;
    }
    .dIniLluviaTxt{
      float:        left;
      padding-top:  8px;
      padding-left: 10px;
      font-size:    0.6rem;
    }
    #iniLluviaTotal{
      font-size:      1rem;
      padding-top:    3px;
      padding-right:  5px;
      color:          #22ACFE;
      float:          right;
    }


    #dComprasXCat{
      margin-top: 5px;
    }
    #dVentasXCat{
      margin-top: 5px;
    }

    .iniItalic2{
      font-style:   italic;
      /* padding-left: 0px !important; */
      color:        #FF9506
    }
  #spaIniLMax{
    padding-left: 0px
  }
  #spaIniLMin{
    padding-left: 0px
  }




/* 2026-09-24: se elimino la regla #sincControl junto con su div (index.html) y con la linea de
   app_inicio.js que lo copiaba dentro de Mis datos. Era el boton de depuracion del semaforo de
   sincronizacion. Ver claude/informe-sinccontrol.md */

.a{
  text-decoration:  none;
  color:            #ff3;
  font:             1em "sans serif","verdana";
  text-align:       center;
  background:       none;
  padding-left:     5px;
}
  .a:hover{
    color:      blue;
    background: #fff
  }


/*factura de gastos: Borrar todos los gastos*/
.aGIB{
  text-decoration:  none;
  font-size:        2em;
  color:            red;
  background:       none;
  padding:          2px 3px
}
  .aGIB:hover{
    color:      #FFFFCC;
    background: #404040
  }





/*NUEVO botón general "X" para cerrar*/
.xBtn{
   //#334155;
   //#fff;
  
  padding:            2px 6px 4px 6px;
  
  font-weight:        800;
  font-size:          1em
}
  .xBtn::before{content: '\2715';}
  .xBtn:hover{
    
       /*2026-10-06, Néstor: el mismo rojo que el resto de los botones (antes #ff4500)*/
  }

/*NUEVO botón general "X" para cerrar*/
.xBtnIcono{
  
  
  
  padding:            2px 6px 4px 6px;
  
  font-weight:        550;
  font-size:          1em
}
  .xBtn:hover{
    
       /*2026-10-06, Néstor: el mismo rojo que el resto de los botones (antes #ff4500)*/
  }
/* EJEMPLO de botón sofisticado
<!-- HTML !-->
<button class="button-7" role="button">Button 7</button> */
/* CSS * /
.button-7{
  background-color:   #0095ff;
  border:             1px solid transparent;
  border-radius:      3px;
  box-shadow:         rgba(255, 255, 255, .4) 0 1px 0 0 inset;
  box-sizing:         border-box;
  color:              #fff;
  cursor:             pointer;
  display:            inline-block;
  font-family:        -apple-system,system-ui,"Segoe UI","Liberation Sans",sans-serif;
  font-size:          13px;
  font-weight:        400;
  line-height:        1.15385;
  margin:             0;
  outline:            none;
  padding:            8px .8em;
  position:           relative;
  text-align:         center;
  text-decoration:    none;
  user-select:        none;
  -webkit-user-select:none;
  touch-action:       manipulation;
  vertical-align:     baseline;
  white-space:        nowrap;
}

.button-7:hover,
.button-7:focus{ /*background-color: #07c;* /
  background-color: #FF4500;
  color:            #fff;
}

.button-7:focus {
  box-shadow: 0 0 0 4px rgba(0, 149, 255, .15);
}

.button-7:active {
  background-color: #0064bd;
  box-shadow:       none;
} */

.aX{
  padding:          4px 5px 0 5px;
  font-family:      "Helvetica Neue","sans serif","verdana";
  text-decoration:  none  /* height:30px */
}
  .aX:hover{background: #b00020; color:#fff}   /*2026-10-06, Néstor: el mismo rojo que el resto de los botones (antes #FF4500)*/

.aPot{
  text-decoration:  none;
  color:            #0066cc;
  font-size:        1em;
}
  .aPot:hover{color:red}

/*.aAuDJ{
  text-decoration:  none;
  color:            #0066FF;
  font-size:        1em;
  display:          none
}
  .aAuDJ:hover{color:red}*/

.aHB{
  text-decoration:  none;
  color:            #0066cc;
  font-size:        1em;
  font-weight:      bold
}
  .aHB:hover{color:red}

/*css  fot anchor title*/
a.aTip{
  cursor:   pointer;    /* border-bottom:  1px dashed; */    /* text-decoration: none */
}
a.aTip:hover{    /*cursor:   pointer;*/
    position: relative
}
a.aTip span{
    display: none
}
a.aTip:hover span{
    text-decoration: none;
    text-align: left;
    border-top: 1px solid #B0B0B0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding:    8px;
    display:    block;
    z-index:    100;
    background: #fff;
    left:       20px;
    margin:     10px;
    width:      370px;
    position:   absolute;
    top:        -90px;
    color:      #303030;
    font-weight: normal;
    font-size:  1.1em
}
/*fin de a.tip*/


/*css2  fot anchor title*/
.aH{
  text-decoration:  none;
  color:            #0066cc;
  font-size:        1em
}
  .aH:hover{color:red}
a.aTip2{
  cursor:   pointer;
}
a.aTip2:hover{
  position: relative
}
a.aTip2 span{
  display: none
}
a.aTip2:hover span{
    text-decoration: none;
    text-align: left;
    border-top: 1px solid #B0B0B0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding:    8px;
    display:    block;
    z-index:    100;
    background: #fff;
    left:       -120px;
    margin:     10px;
    min-width:  410px;
    max-width:  430px;
    position:   absolute;
    top:        10px;
    color:      #303030;
    font-weight: normal;
    font-size:  1.1em
}
/*fin de a.tip2*/

/** tool tip: REVISAR!!! intentar con 2 clases, una básica = para todos y otra particular con lo especial de cada caso*/
.cTT0{                            /* width:      100%; */
  position:   absolute;
  z-index:    100;                /* text-align: center; */
  padding:    10px 10px 10px 10px;
  background: #FFFF99;
  color:      #303030;
  margin-top: 5px;
  margin-left:5px;
  border:     1px solid #B0B0B0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.cTT{
  width:      100%;
  text-align: center;
/*  position:   absolute;
  z-index:    100;
  text-align: center;
  padding:    10px 10px 10px 10px;
  background: #FFFF99;
  color:      #303030;
  margin-top: 5px;
  margin-left:5px;
  border:     1px solid #B0B0B0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
/* 2026-09-22: la tablita de los globos de Totales (UG ahora / UG prom. anual, PV/ha).
   Antes los valores se alineaban con una tira de &nbsp; y con fuente proporcional quedaban
   desfasados. Hay que pisar tres cosas del  table{}  global de este mismo archivo:
   table-layout:fixed, el fondo gris y el overflow. */
.cTT0 .ttUG{
  table-layout:     auto;
  width:            auto;
  background:       none;
  border-collapse:  collapse;
  overflow:         visible;
  margin:           4px 0 0 0;
}
.cTT0 .ttUG td{
  padding:      0;
  border:       0;
  white-space:  nowrap;
  background:   none;
}
.cTT0 .ttUG td.ttNum{
  text-align:   right;
  padding-left: 14px;
  font-weight:  bold;
}

.cTT1{
  width:      235px;
  text-align: left;
  /* position:   absolute; */
  /* z-index:    100; */
  /*padding:    10px 10px 10px 10px;
  background: #FFFF99;
  color:      #303030;
  margin-top: 5px;
  margin-left:5px;
  border:     1px solid #B0B0B0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.cTT2, .cTT3{
  width:      400px;
  text-align: left;
  /*position:   absolute;
  z-index:    100;
  padding:    10px 10px 10px 10px;
  background: #FFFF99;
  color:      #303030;
  margin-top: 5px;
  margin-left:5px;
  border:     1px solid #B0B0B0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.cTT7{   /*2026-10-16: globos del menu de 3 rayitas (Descargar, Respaldo). 2026-11-23: DEBAJO del ítem, con el ancho del menú; ver TT.posCostado*/
  width:      340px;              /*lo pisa TT.posCostado con el ancho del menú*/
  margin:     0;                  /*2026-11-23: pegado al ítem (cTT0 trae un margen de 5 px)*/
  max-width:  calc(100vw - 8px);
  text-align: left;
  box-sizing: border-box;
}
.cTT4{
  width:      100%;
  max-width:  450px;
  text-align: left;
  /*position:   absolute;
  z-index:    100;
  padding:    10px 10px 10px 10px;
  background: #FFFF99;
  color:      #303030;
  margin-top: 5px;
  margin-left:5px;
  border:     1px solid #B0B0B0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.cTT5{ /*solo para RDP en Totales*/
  width:        100%;
  max-width:    500px;
  text-align:   left;
  margin-top:   30px;
  margin-left:  5px;
  cursor:       default
  /*position:   absolute;
  z-index:    100;
  padding:    10px 10px 10px 10px;
  background: #FFFF99;
  color:      #303030;
  margin-left:5px;
  border:     1px solid #B0B0B0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}

.cTT6{ /*Borra en Historia de parcelas*/
  width:      400px;
  text-align: left;
}




/*factura de gastos: Borrar todos los gastos*/
.menos{
  text-decoration:  none;
  /* font-size:        2em; */
  height:           22px;
  color:            red;
  background:       none;
  padding:          0px
}
  .menos:hover{
    color:      #FFFFCC;
    background: #404040
  }

/**** cerrar **/
.xTimes{
  font-size: 20px
}


.x{
  text-decoration:  none;
  color:            #0066cc;
  font-size:        20px;
  font-family:      'verdana';
  padding:          0px 4px 0px 4px;
  margin-right:     4px;
}
  .x:hover{background:#FF3300; color:#fff}

.xx{
  text-decoration:  none;
  color:            #00CCFF;
  font-size:        20px;
  font-family:      'verdana';
  padding:          0px;
  margin-right:     4px;
  cursor:           pointer
}
  .xx:hover{background:#FF3300}

/* respaldos... */
.X{
  text-decoration:  none;
  color:            #fff;
  padding-bottom:   3px;
  font-size:        20px;
  font-family:      'verdana',"Microsoft Sans Serif";
}
  .X:hover{color:red}

/*Totales*/
.XX{
  text-decoration:  none;
  color:            #fff;
  padding:          0px 8px 3px 8px;
  font-size:        20px;
  margin-left:      5px;
  font-family:      'verdana',"Microsoft Sans Serif";
}
  .XX:hover{
    background:#FF0A00;
  }


.aBtn{
  text-decoration:  none;
  color:            #0066cc;
  font-size:        0.9em;
}
  .aBtn:hover{color:red}


/*botones de guardar*/
.aBig{
  text-decoration:  none;
}

.aMenos{padding:4px;margin: 0 5px 5px 0}
  .aMenos:hover{background:yellow}

.aRDP{padding:4px; margin: 0 5px 5px 0}
  .aRDP:hover{background: lightpink}



.divOutLluvias{
  width:       100%;  /* max-width:   800px; */
  float:       left;
  padding:     0;
  margin:      0;
  background:  #fff;
  display:     none;
  font-size:   1em;
}

.tblLluviasDia{
  background-color: #FFF;
  border-collapse:  collapse;
  border-spacing:   0px;
  font-size:        0.8em;
  width:            987px
}
  .tblLluviasDia tr:nth-child(1){
    text-align: center;
    background: #f0f0f0
  }
  .tblLluviasDia tr:nth-child(14){
    color:        blue
  }

  .tblLluviasDia td:hover{
    background-color:  #FFFF99;
  }
  .tblLluviasDia tr td{
                        width:      25px;
                        height:     25px;
                        padding:    1px;
                        text-align: right;
                        border:     1px solid gray;
                        text-align: center;
                        font-size:   0.9em;
  }
  .tblLluviasDia tr>td:nth-child(1){
    width:      auto;
    min-width:  50px;;
    text-align: left;
    font-style: italic;
    background: #eaeaea;
  }
  .tblLluviasDia tr>td:nth-child(33){
    width:          40px;
    padding-right:  3px;
    font-weight:    bold;
    text-align:     right;
    background: #eaeaea;
  }


/* dentro de secFlotLluvia */
  #divDashX{
    width:      30px;
    float:      right;
    background: #fff;
    text-align: center;
    padding:    3px 3px 0px 3px
  }
  #divDash0{
    float:      left;
    /* width:      100%; OJO!!! #divDash0 estaba dos veces*/
    width:      120px;
    max-width:  987px;
    background: #fff;
    padding:    10px 3px 10px 3px;
  }
  #divDash0 input{
    width:      50px;
    font-size:  1.1em;
    text-align: center
  }

    .divDash01{
      float:      left;
      width:      200px;
      text-align: left;
      padding-left:10px
    }

    #divDash0 .divDash03{
      float:        left;
      width:        205px;
      border:       1px solid #eaeaea;
      padding:      1px;
      margin-right: 50px
    }
       #divDash0 .divDash03 span{font-size: 0.7em}


    #divDash0{
      float:        right;
      width:        60px;
      margin-right: 30px;
    }
    #divDash0{
      float:      left;
      width:      100%;
      max-width:  987px;
      background: #fff;
      padding:    10px 3px 10px 3px;
    }

    .divDash02{
      float:        right;
      width:        auto;          /*2026-11-25, bitácora #682 (Natalia: "el botón de guardar lluvias debe aparecer dentro de la pantalla de la grilla, está un poco afuera"): era 90 px con 30 de margen y «Guardar lluvias» con el tilde mide ~125: se salía por la derecha*/
      margin-right: 0;
      font-size:    1.4em;
      padding:      0px
    }

    .divDash04{
      background: #fff;
      width:      100%;
      box-sizing: border-box;   /*#682: con el relleno de 10 px pasaba 20 px del ancho de la grilla*/
      max-width:  987px;
      padding:    10px;
      color:      gray;
      float:      left;
      text-align: left;
      font-size:  0.8em
    }
      .divDash031{
        float:    left;
        padding:  1px;
      }
      .divDash04>button{
        font-size:  15px
      }
      .divDash04 .divNotaGLL{
        margin-right: 10px;
        width:        auto;
        float:        left;
        padding-top:  6px
      }

  #divLluviaxDia{
    float:          left;
    /* width:          100%; */
    /* max-width:      987px; */
    /* padding-bottom: 10px; */
    /* background:     #fff */
  }
  /* 2026-11-02: #divLluviaBarDia es la grafica del registro diario de lluvias; antes repetia el id divLluviaBar */
  #divLluviaBar, #divLluviaBarDia{
    float:        left;
    background:   #fff;
    width:        460px;
    margin-right: 0px;
    height:       270px;
    z-index:      99;
    border:       1px solid darkgray;
    /* display:      none; */
  }
    .btnLAXD{
      float:          right;
      width:          140px;
      margin-top:     3px;
      margin-right:   3px;
      cursor:         pointer;
      padding:        0px 1px 0px 1px;
      background:     #fff;
      color:          #00ccff;
      border-radius:  3px;
      border:         none
    }
    .btnLAXD:hover{
      background: red;
      color:      #fff
    }



  #divMapaLluvias{
    position:   absolute;
    background: #fff;
    border:     2px solid silver;
    width:      390px;
    height:     250px;
    z-index:    99;
    border:     1px solid darkgray;
    display:    none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding:    2px;
  }


  #canLluviasDia{
    background: #fff;
    width:      100%;
    height:     270px;
    /* float:      left; */
    /* display:    none */
  }




.secFlotante{
  box-sizing:     border-box;
  width:          calc(100% - 510px);
  height:         100%;
  float:          left;
  margin:         0px;
  display:        none;
  /* margin-top:     2px; */
  /* margin-left:    1px; */
  /* display:        block; */
  /* max-width: 600px; */
  /*background:     #00ff33; /*#006699*/
  /*border:         2px dashed red;
  /* padding:        2px; */
  /* text-align:     center; */
  /* padding:        0; */
}

  #secFlotLluvia{
    box-sizing:     border-box;
    width:          100%;
    max-width:      fit-content;
    height:         100%;
    float:          left;
    margin: 0px 0px 0px 2px;
    display:        none;
  }
    #inPluviometro{
      width:      30px;
      text-align: right
    }

  .secFlotanteStk{
    box-sizing:     border-box;
    width:          calc(100% - 465px);
    height:         100%;
    float:          left;
    margin:         0px;
    z-index:        3;
    display:        none
  }



#divTipoOut{
  float:          left;
  background:     #fff;
  padding-bottom: 15px;
  width:          460px;
}

  #divTipoOut .div1{
                    float:      left;
                    width: 460px;
                    background: var(--azulMarino);
                    color:      #fff;
                    text-align: center;
                    padding:    5px;
  }
  #divTipoOut #canvasTipo{
                    width: 430px;
  }

.divTipoRep{
            max-width: 460px;
            margin:     0 auto;
            float: left;
}


/* registro de usuarios */
.divOutRegistro{ /*usada en negoagro_registro.html*/
  float:              left;
  width:              100%;
  height:             100%;
  margin-bottom:      10px;
}

#divRegistro{
  max-width:          360px;
  margin:             0 auto;
  background: #cf9;
  z-index:    9
}
.divReg123{
  float:        left;
  color:        #404040;
  font-weight:  normal;
  font-size:    1em;
  text-align:   left
}

#divConFirma{
  max-width:          360px;
  /* max-height:         330px; */
  overflow:           hidden;
  margin:             0 auto;
  padding:    5px;
  display:    none;
  background: #FFFF99;
  border:     1px solid gray;
  font-size:  0.8em
}
  /*#divConFirma div  {padding: 2px; margin:0}/*; border:1px dashed black*/
  #divConFirma input{width: 130px; border:0; background: none; font-size: 1.1em}
  .divInputC{
    float:          left;
    width:          100%;
    max-width:      180px;
    padding:        2px 0 2px 15px;
    text-align:     left;
    border:         0;
    font-size:      1em;
    /* background: #fff; */
  }
  .divInConfirma{
    float:          left;
    width:          100%;
    max-width:      180px;
    padding:        2px 0 2px 15px;
    text-align:     left;
    border:         0;
    font-size:      1em;
    /* background: #fff; */
  }
  .divCancelar{
    float:          left;
    max-width:      100px;
    padding:        2px 0 2px 15px;
    text-align:     left;
    border:         0;
    font-size:      1em;
    /* background: #fff; */
    display: block;
  }
  .divLblC{
    float:      left;
    width:      130px;
    padding:    2px 2px 2px 0;
    text-align: left;   /*2026-11-21, Néstor: rótulos de formulario a la izquierda*/
    font-size:  1em
  }

/*potreros*/
.potCate{
  float:        left;
  font-size:    0.7em;
  color:        gray;
  padding-top:  4px;
  padding-left: 6px;
}

.potBovKgs{
  float:        left;
  margin-left:  5px;
  width:        85px;
  border:       0;
  font-size:    0.8em;
  text-align:   right;
  color:        #ff6600;
  padding-top:  4px;
}

  .potBovKgsLbl{
    float:        left;
    font-size:    0.8em;
    color:        #ff6600;
    padding-top:  4px;
    padding-left: 4px
  }



/*PRV parcelas*/
.divPRVTit{
  float:  left;
  width: 220px;
  /* padding-top:3px; */
  margin: 0;
  /* border: 1px solid gray */
}

.divParTotPot{
  /* width:        50px; */
  float:        left;
  padding-left: 5px;
  font-size:    0.7em;
  color:        gray;
  padding-top: 10px;
}
  #inParTotPot{
    width:      30px;
    background: none;
    border:     none;
    text-align: right;
    font-size:  0.9em;
    color:      #003399;
    margin-top: 3px;
  }
  .divPRVParTx{
    width:        auto;
    float:        left;
    text-align:   left;
    font-size:    0.7em;
    color:        gray;
    padding:      10px 1px 3px 5px
  }

.divPRVPot{
  width:        80px;
  float:        left;
  padding-left: 5px;
  text-align:   left;
  font-size:    0.7em;
  color:        gray;
  padding-top:  10px;
}
  #inPRVPot{
    width:      30px;
    background: none;
    border:     none;
    text-align: right;
    font-size:  0.9em;
    color:      #003399;
    margin-top: 3px;
  }





/*servicios /
.divMercado{
  width:      400px;
  /* display:    inline-block; * /
  height:     100%;
  background: #fff;
  display:    none
}
  #objMercado, #objAyuda{
    width:  100%;
    height: 100%
  }
*/
/*iframes de ayuda y soporte*/
#ifrAyuda{
  position: absolute;
  left:     0px;
  top:      40px;
  width:    100%;
  height:   100%;
}



/** ACTIVIDADES */
.divTitActi{
  float:      left;
  width:      180px;
  padding:    5px 2px 5px 2px;
  text-align: center
}
  .divST{
    float:      left;
    width:      150px;
    font-size:  1em;
    padding:    4px 0 4px 4px;
    color:      #a0a0a0
  }

/*CONTENEDORA DE noticias, tiempo, ...* /
.secServicios{
  float:          left;
  top:            52px;
  left:           1px;
  display:        none;
  width:          100%;
  max-width:      405px;
  height:         calc(100% - 90px);
  text-align:     center;
  margin-left:    1px;
  margin-bottom:  10px;
  background:     none;
}*/


/* El Tiempo * /
#divTiempo{
  float:          left;
  max-width:          405px;
  height:         100%;
  min-height:     550px;
  overflow:       hidden;
  margin-top:     10px;
  margin-bottom:  10px;
  background:     gray;
  display:        none
}
  #divTiempo .ifrTiempo{
              width:      100%;
              height:     100%;
              min-width:  400px;
              min-height: 400px
  }
*/


/*unir lotes*/
#secLotesUnir{
  position:   absolute;
  width:      360px;
  height:     300px;
  padding:    1px;
  background: #fff;
  border:     1px solid #FFCC66;
  overflow-y: auto;
  display:    none;
  font-size:  1em
}

/*rotación de caravanas*/
.divCatsPot{
  position:   absolute;
  width: 390px;
  height:     300px;
  padding:    1px;
  background: #fff;
  /* border:     1px solid #FFCC66; */
  border:     1px solid #B0B0B0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  overflow-y: auto;
  display:    none;
  font-size:  1em
}
  .divCatsIn{
    width:      100%;
    float:      left;
    margin-top: 5px;
    padding:    0 5px 10px 5px;
  }
  .divCaraNums{
    width:          100%;
    background:     #FFFFCC;
    padding:        5px;
    border:         1px solid #eaeaea;
    text-align:     left;
    font-size:      0.9em;
    margin-bottom:  5px
  }
  .divCatsEli{
    width:          100%;
    border:         1px solid #eaeaea;
    padding:        5px;
    margin-bottom:  5px
  }
  .but{
    font-size:      1em;
    width: 260px;
  }

.tblCats{
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  border-spacing:   0px;
  font:             0.9em "Helvetica Neue","sans serif", "verdana"
}
  .tblCats tr:hover{
    background-color:  #FFFF99;
  }
  .tblCats tr td{
    padding:  3px;
    cursor:   pointer;
    border:   1px solid #eaeaea
  }
  .tblCats tr>td:nth-child(1){width:60px; text-align: right; font-style:italic; color:gray}
  .tblCats tr>td:nth-child(2){width:214px;  text-align: left}
  .tblCats tr>td:nth-child(3){width:60px; text-align: left}


#tblLotes{
  table-layout:     auto;
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  border-spacing:   0px;
  font:             0.9em "Helvetica Neue","sans serif", "verdana";
}

  #tblLotes thead tr>td:nth-child(1){width:60px}
  #tblLotes thead tr>td:nth-child(2){width:214px}
  #tblLotes thead tr>td:nth-child(3){width:60px}

  #tblLotes thead tr th{
    background:   gray;
    color:        #fff;
    padding:      3px;
    font-weight:  normal
  }
  #tblLotes thead tr>td:nth-child(1){width:60px;  text-align: right; font-style:italic; color:gray}
  #tblLotes thead tr>td:nth-child(2){width:214px; text-align: left}
  #tblLotes thead tr>td:nth-child(3){width:60px;  text-align: right}


  #tblLotes tbody tr:hover{
    background-color:  #FFFF99;
  }
  #tblLotes tbody tr td{
    padding:  3px;
    cursor:   pointer;
    border:   1px solid #eaeaea
  }
  #tblLotes tbody tr>td:nth-child(1){width:60px; text-align:right; font-style:italic; color:gray}
  #tblLotes tbody tr>td:nth-child(2){width:214;  text-align:left}
  #tblLotes tbody tr>td:nth-child(3){width:60px;text-align: right;}



/*listado de Potreros*/
#secPotParTodos{
  width:      100%;
  background: #fff;
  border:     1px solid silver;
}


.tblPotTodos{
  width:      100%;
  background: #fff;
  border-collapse: collapse
}
  .tblPotTodos thead tr{
    background-color: #808080;
    color:            #fff;
    text-align:       center;
    cursor:           default;
  }

  .tblPotTodos thead tr th{
    padding:      5px 3px 5px 3px;
    cursor:       pointer;
    border:       1px solid #eaeaea;
    font-weight:  normal
  }
  .tblPotTodos thead tr>th:nth-child(1){width:50px}
  .tblPotTodos thead tr>th:nth-child(2){width:auto}
  .tblPotTodos thead tr>th:nth-child(3){width:90px}
  .tblPotTodos thead tr>th:nth-child(4){width:70px}

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

    .tblPotTodos tbody tr:hover{
      background-color:  #FFFFCC;
    }
    .tblPotTodos tr td{
      padding:  5px 3px 5px 3px;
      cursor:   pointer;
      border:   1px solid #eaeaea
    }
    .tblPotTodos tbody tr td:nth-child(1){width:50px; text-align:right}
    .tblPotTodos tbody tr>td:nth-child(2){width:auto; text-align:left}
    .tblPotTodos tbody tr>td:nth-child(3){width:90px; text-align:right}
    .tblPotTodos tbody tr>td:nth-child(4){width:70px; text-align:right}




/*liastado de parcelas*/
.btnParMenos{
  width:      15px;
  font-size:  1em;
  padding:    0px;
}

.tblParTodas{
  width:      100%;
  background: #fff;
  border-collapse:  collapse;
  border-spacing:   0px;
  margin-bottom:    20px;
}
  .tblParTodas .capt1{
    float:      left;
    width:      100%;
    text-align: left;
    color:      #000;
    font:       18px verdana;
    margin-bottom: 5px;
  }
  .tblParTodas .capt2{
    float:      left;
    text-align: left;
    color:      gray;
    font:       13px verdana;
    margin-bottom:  3px
  }

  .tblParTodas thead tr{
    background-color: var(--azulMarino);
    color:            #fff;
    text-align:       center;
    cursor:           default;
  }
  .tblParTodas thead tr th{
    padding:      5px 3px 5px 3px;
    cursor:       pointer;
    border:       1px solid #eaeaea;
    font-weight:  normal
  }
  /*2026-10-05: columna nueva "Dibujo" (4a); las siguientes corren un lugar*/
  .tblParTodas thead tr>th:nth-child(1){width:11%}
  .tblParTodas thead tr>th:nth-child(2){width:11%}
  .tblParTodas thead tr>th:nth-child(3){width:15%}
  .tblParTodas thead tr>th:nth-child(4){width:17%}
  .tblParTodas thead tr>th:nth-child(5){width:auto}
  .tblParTodas thead tr>th:nth-child(6){width:9%}
  .tblParTodas thead tr>th:nth-child(7){width:58px}
  .tblParTodas thead tr>th:nth-child(8){width:20px}

  .tblParTodas tfoot tr{
    background-color: var(--celesteTotales); //#ffff99; /*#CCFFCC verde agua*/
    color:            #000;
    text-align:       right;
    height:           30px;
  }

    .tblParTodas tbody tr:hover{
      background-color:  #FFFFCC;
    }

    .tblParTodas tbody tr td:nth-child(1){width:11%; text-align:right}
    .tblParTodas tbody tr>td:nth-child(2){width:11%; text-align:right;}
    .tblParTodas tbody tr>td:nth-child(3){width:15%; text-align:right;}
    .tblParTodas tbody tr>td:nth-child(4){width:17%; text-align:right; white-space:nowrap}
    .tblParTodas tbody tr>td:nth-child(5){width:auto; text-align:right}
    .tblParTodas tbody tr>td:nth-child(6){width:9%; text-align:right}
    .tblParTodas tbody tr>td:nth-child(7){width:58px; text-align:center}
    .tblParTodas tbody tr>td:nth-child(8){width:20px; text-align:center}

    .tblParTodas tbody tr td{
      border-bottom:  1px solid silver;
    }

  .inParDME{
    width:  30px
  }
  /*2026-10-05: superficie editable en Todas las parcelas*/
  .inParHas{ width: 58px; text-align: right; }
  .inParHasMal{ background: #ffd6d6; border: 1px solid #d32f2f; }   /*0 o invalida*/
  .inParHasDif{ background: #fff3c4; border: 1px solid #e0a800; }   /*difiere mas de 15 % del dibujo*/
  .tdParDib .spParDib{ color: #555; }
  .tdParDib .spParSinDib{ color: #aaa; }
  .btnParUsarDib{ width: 20px; padding: 0; margin-left: 3px; font-size: 13px; line-height: 16px; cursor: pointer; }
  .spParMsj{ font-size: 11px; line-height: 12px; white-space: nowrap; }





#secAgriGastos{
  float:        left;
  width:        100%;
  max-width:    1050px;
  background:   #fff;
  border:       1px solid #d7d3d3;
  /* display:      none; */
  /* margin-left:  1px; */
  padding:      5px;
}
  /*.btnVta{
    width:        60px;
    cursor:       pointer;
    margin-left:  20px;
    text-align:   center
  }

  #inVtaAnual{
    width:      52px;
    border:     1px solid #eaeaea;
    color:      #fff;
    background: none;
    font:       1.1em "Helvetica Neue","sans serif", "verdana";
    margin-left:15px
  }*/



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

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

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

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

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









/** venta anual**/
#secVtaAnual{
  float:        left;
  width:        100%;
  max-width:    670px;
  background:   silver;
  display:      none;
  margin-left:  1px;
}
  .btnVta{
    width:        85px;
    cursor:       pointer;
    margin-left:  20px;
    text-align:   center
  }

  #inVtaAnual{
    width:      52px;
    border:     1px solid silver;
    color:      #000;
    background: none;
    font:       1em "Helvetica Neue","sans serif", "verdana";
    margin-left:15px
  }

  /*tabla del listado*/
  .tblVtaAnual{
    width:            100%;
    background:       #fff;
    color:            #000;
    border-collapse:  collapse;
    /* font-size:        1rem; */
    font-size:        0.9rem;
    table-layout:     fixed;
  }
  /*título general del listado*/
  .tblVtaAnual caption{
    width:            100%;
    background:       #fff;
    color:            #334155;
    padding:          10px 5px;
    border-collapse:  collapse;
    font:             1.3em "Helvetica Neue","sans serif", "verdana"
  }

    .tblVtaAnual thead tr{
      background-color: #FFF;
      color:            #000;
      text-align:       center;
      cursor:           default;
    }

    .tblVtaAnual thead tr th{
      padding:      5px 3px 5px 3px;
      cursor:       pointer;
      border:       1px solid #eaeaea;
      font-weight:  normal;
      background-color: #334155; //azul oscuro;
      color:            #fff;    /*2026-09-23: era #f8fafc. Estandar de listados: titulos en
                                   var(--azulMarino) con letra BLANCA (10,35:1)*/
    }
    .tblVtaAnual thead tr>th:nth-child(1){width:40px}
    .tblVtaAnual thead tr>th:nth-child(2){width:110px}
    .tblVtaAnual thead tr>th:nth-child(3){width:auto;min-width:60px;overflow-x:hidden}
    .tblVtaAnual thead tr>th:nth-child(4){width:50px}
    .tblVtaAnual thead tr>th:nth-child(5){width:40px}
    .tblVtaAnual thead tr>th:nth-child(6){width:63px}
    .tblVtaAnual thead tr>th:nth-child(7){width:68px}
    .tblVtaAnual thead tr>th:nth-child(8){width:80px}

    .tblVtaAnual tfoot tr{
      //background-color: #CCFFCC; /*verde agua*/
      /*2026-09-23: era #1e3a8a. El pie usa var(--azulMarino) sobre var(--celesteTotales): 8,49:1*/
      color:            #334155;
      text-align:       right;
      background-color: #dbeafe; //#bdc3c7;
      font-weight: bold;
      border-top: 2px solid #1e3a8a;
    }

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


  .tblVtaAnual1{
    width:            270px;
    background:       #fff;
    color:            #000;
    border-collapse:  collapse;
    font-size:        0.8rem;
  }
    .tblVtaAnual1 tr:hover{
      background-color: #FFFF99;
    }
    .tblVtaAnual1 thead tr th{
        text-align:       center;
        background-color: #334155; //azul oscuro;
        color:            #fff;    /*2026-09-23: era #f8fafc, ver nota de arriba*/
        padding:          3px;
        font-weight:      normal;
      }
      .tblVtaAnual1 thead  tr>th:nth-child(1){width:120px}
      /*2026-10-16, Néstor: con la columna del cuadradito de color (.tblVtaAnualClr) los anchos salen del colgroup*/
      /*2026-10-16, Néstor: "hay que contemplar el ancho de algunas categorías" (Vaquillonaentorada no entraba en 110px): la tabla
        ocupa el ancho de la card, Categoría toma lo que sobra y un nombre largo se parte; los números no se parten*/
      .tblVtaAnual1.tblVtaAnualClr{ width: 100%; }
      .tblVtaAnualClr .colSw{ width: 20px; }  .tblVtaAnualClr .colCat{ width: auto; }  .tblVtaAnualClr .colCant{ width: 58px; }  .tblVtaAnualClr .colImp{ width: 72px; }
      .tblVtaAnual1.tblVtaAnualClr tbody tr>td:nth-child(2){ overflow-wrap: anywhere; word-break: break-word; }
      .tblVtaAnual1.tblVtaAnualClr tbody tr>td:nth-child(3), .tblVtaAnual1.tblVtaAnualClr tbody tr>td:nth-child(4), .tblVtaAnual1.tblVtaAnualClr tfoot td{ white-space: nowrap; }
      /*más específico que .tblVtaAnual1 thead tr>th:nth-child(n), que viene antes y fija 120/70/90: con layout fijo el ancho del th manda sobre el col*/
      .tblVtaAnual1.tblVtaAnualClr thead tr>th:nth-child(1), .tblVtaAnual1.tblVtaAnualClr thead tr>th:nth-child(2), .tblVtaAnual1.tblVtaAnualClr thead tr>th:nth-child(3), .tblVtaAnual1.tblVtaAnualClr thead tr>th:nth-child(4){ width: auto; }
      /*con más especificidad que las reglas de abajo (.tblVtaAnual1 tbody tr>td:nth-child(n)), que están después y ganaban*/
      .tblVtaAnual1.tblVtaAnualClr tbody tr>td:nth-child(2){ text-align: left; }  .tblVtaAnual1.tblVtaAnualClr tbody tr>td:nth-child(3), .tblVtaAnual1.tblVtaAnualClr tbody tr>td:nth-child(4){ text-align: right; }
      .tblVtaAnualClr .tdSw{ padding: 3px 2px; text-align: center; }
      .tblVtaAnualClr .tdSw i{ display: inline-block; width: 12px; height: 12px; border: 1px solid rgba(0,0,0,.2); vertical-align: middle; }
      .tblVtaAnual1 thead  tr>th:nth-child(2){width:70px}
      .tblVtaAnual1 thead  tr>th:nth-child(3){width:90px}



      .tblVtaAnual1 tbody tr td{
        padding:    3px;            /* cursor:   pointer; */
        border:     1px solid silver;
        background: #fff;
      }
      .tblVtaAnual1 tbody  tr>td:nth-child(1){text-align: left}
      .tblVtaAnual1 tbody  tr>td:nth-child(2){ text-align: right}
      .tblVtaAnual1 tbody  tr>td:nth-child(3){text-align: right}

      .tblVtaAnual1 thead tr{
        background-color: #334155; //azul oscuro;
        color: #fff;               /*2026-09-23: era #f8fafc*/
      }
      .tblVtaAnual1 tfoot tr{        //background-color: #CCFFCC; /*verde agua*/
        /*2026-09-23: era #1e3a8a, ver nota de arriba*/
        color:            #334155;
        text-align:       right;
        background-color: #dbeafe; //#bdc3c7;
        font-weight:      bold;
        border:           1px solid #dbeafe;
      }
      .tblVtaAnual1 tfoot tr td{
        padding:    5px;
      }

  #divVtaAnual{
    width:      100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Mejora el scroll en iOS */
    float:      left;
    background: #fff;
    padding:    5px
  }

  #canvasVtaAnual{
    background:     #fff;
    max-width:      410px;
    margin-top:     10px;
    margin-bottom:  10px;
  }
  #canvasCompraAnual{
    background:     #fff;
    max-width:      410px;
    margin-top:     10px;
    margin-bottom:  10px;
  }

  .dVtaNota{
    color:  #909090;
    font-size:  0.7rem;
    background: #fff;
    padding: 5px;
  }

@media (max-width: 470px) {
  #tblVtaAnual{
    font-size:  0.5rem;
  }
  #divVtaAnual{
    max-width:  470px;
  }

  /* Puedes usar pseudo-elementos :before para mostrar los nombres de las columnas */
}




/** MEDIOS ** /
#divMedios{
  float:      left;
  width:      400px;
  background: #fff;
  display:    none
}
  #divMedios .ifrMedios{
              width:  100%;
              max-width:  400px;
              height:     100%;
              min-height: 560px
  }*/

/*Configurar* /
#divConfigurar{
  float:      left;
  width:      100%;
  background: #fff;
  display:    none;
  text-align: left;
  padding:    10px 0
}*/


/** REPORTES*/
.ulRep{
  list-style-type:  none;
  margin:           0;
  padding:          0;
  overflow:         hidden;
  background:       #fff
}

  .clrTot{border:  1px solid #eaeaea}
  .clrCat{border:  1px solid #eaeaea}
  .clrAudi{border: 1px solid #eaeaea}
  .clrGas{border:  1px solid #eaeaea}
  .clrNone{border: 1px solid #fff}
  .clrDJ{background:#B9E6FF}
    .clrDJ > a[href*="javascript:"]{color:#404040}

  .ulRep li{
            float:        left;
            width:        30%;
            height:       90px;
            margin-left:  9px;
            margin-bottom:5px;
            background:   #c7e585;
  } /*#DFDFDF*/
  .ulRep li a{
              display:        block;              /* height: 95%; */
              color:          #404040;
              text-align:     center;
              padding:        15px 10px;
              text-decoration: none;
              font-size:      1.1em
  }

  .ulRep li a:hover{
                    background-color: #303030;
                    color:            #FFFFCC;
  }


.ulRepAgri{
  list-style-type:  none;
  margin:           0;
  padding:          0;
  overflow:         hidden;
  background:       #fff
}

  .clrAgri{border: 1px solid #006600}

  .ulRepAgri li{
            float:        left;
            width:        30%;
            height:       100px;
            margin-left:  9px;
            margin-bottom:5px;
            background:   #006600
  }
  .ulRepAgri li a{
              display:        block;
              height:         100%;
              color:          #fff;
              text-align:     center;
              padding:        15px 10px;
              text-decoration: none;
              font-size:      1.1em
  }

  .ulRepAgri li a:hover{
                    background-color: #303030;
                    color:            #FFFFCC;
  }




.ulRepVtas{
  list-style-type:  none;
  margin:           0;
  padding:          0;
  overflow:         hidden;
  background:       #fff
}

  .clrVtas{border: 1px solid #99FF99}

  .ulRepVtas li{
            float:        left;
            width:        30%;
            height:       100px;
            margin-left:  9px;
            margin-bottom:5px;
            background:   #89a03a; //#2E7D32; /*Verde bosque (fuerte, para resaltar categorías principales)*/
  }
  .ulRepVtas li a{
              display:        block;
              /* height:         100%; */
              color:          #fff; //#404040;
              text-align:     center;
              padding:        15px 10px;
              text-decoration: none;
              font-size:      1.1em
  }

  .ulRepVtas li a:hover{
                    background-color: #303030;
                    color:            #FFFFCC;
  }


.ulRepFin{
  list-style-type:  none;
  margin:           0;
  padding:          0;
  overflow:         hidden;
  background:       #fff
}
  .clrVtas{border: 1px solid #CCFFFF}

  .ulRepFin li{
            float:        left;
            width:        30%;
            height:       100px;
            margin-left:  9px;
            margin-bottom:5px;
            background:   #C5E1A5; /*Verde pastel (tono muy claro, casi neutro)*/
  }
  .ulRepFin li a{
              display:        block;
              height:         100%;
              color:          #404040;
              text-align:     center;
              padding:        15px 10px;
              text-decoration: none;
              font-size:      1.1em
  }

  .ulRepFin li a:hover{
                    background-color: #303030;
                    color:            #FFFFCC;
  }



.ulRepPRV{
  list-style-type:  none;
  margin:           0;
  padding:          0;
  overflow:         hidden;
  background:       #fff
}
  .clrPRV{border: 1px solid #FFCCFF}
  .ulRepPRV li{
        float:        left;
        width:        30%;
        height:       100px;
        margin-left:  9px;
        margin-bottom:5px;
        background:   #66BB6A; /*Verde claro (suave, ideal para botones secundarios)*/
  }
  .ulRepPRV li a{
        color:            #fff;
        display:          block;
        height:           100%;
        text-align:       center;
        padding:          15px 10px;
        text-decoration:  none;
        font-size:        1.1em
  }
  .ulRepPRV li a:hover{
                    background-color: #303030;
                    color:            #FFFFCC;
  }


.ulRepPDC{
  list-style-type:  none;
  margin:           0;
  padding:          0;
  overflow:         hidden;
  background:       #fff
}
  .clrPDC{border: 1px solid #FFC8C8}
  .ulRepPDC li{
        float:        left;
        width:        30%;
        height:       100px;
        margin-left:  10px;
        margin-bottom:5px;
        background:   #9CCC65; /* Verde lima suave (fresco, aporta contraste)*/
  }
  .ulRepPDC li a{
        color:          #fff; //#404040;
        display:        block;
        height:         100%;
        text-align:     center;
        padding:        15px 10px;
        text-decoration: none;
        font-size:      1.1em
  }
  .ulRepPDC li a:hover{
                    background-color: #303030;
                    color:            #FFFFCC;
  }


.ulRepHis{
  list-style-type:  none;
  margin:           0;
  padding:          0;
  overflow:         hidden;
  background:       #fff
}
  .clrHis1{border: 1px solid #FFFFCC}
  .ulRepHis li{
        float:        left;
        width:        30%;
        height:       100px;
        margin-left:  10px;
        margin-bottom:5px;
        background:   #F1F8E9; /*Verde muy pálido (casi blanco, perfecto para fondo o resaltar estados inactivos)*/
  }
  .ulRepHis li a{
        color:          #404040;
        display:        block;
        height:         100%;
        text-align:     center;
        padding:        15px 10px;
        text-decoration: none;
        font-size:      1.1em
  }
  .ulRepHis li a:hover{
                    background-color: #303030;
                    color:            #FFFFCC;
  }

.ulPotHis{
  list-style-type:  none;
  margin:           0;
  padding:          0;
  overflow:         hidden;
  background:       #fff
}
  .clrHis{border: 1px solid #FFD671}
  .ulPotHis li{
        float:        left;
        width:        30%;
        height:       100px;
        margin-left:  10px;
        margin-bottom:5px;
        background:   #709c7a;
  }
  .ulPotHis li a{
        color:          #fff;
        display:        block;
        height:         100%;
        text-align:     center;
        padding:        15px 10px;
        text-decoration: none;
        font-size:      1.1em
  }
  .ulPotHis li a:hover{
                    background-color: #303030;
                    color:            #FFFFCC;
  }

.calPQ{
  float:        right;
  color:        #FF6600;
  font-size:    1em;
  margin-right: 5px;
  padding:      0;
  width:        100%
}
.divRowDer{
  float:      left;
  width:      100%;
  background: #fff
}

#secReportes{
  float:      left;
  width:      100%;
  background: #fff;
  display:    none;
  text-align: left;
  padding:    10px 0
}

/* 2026-10-30, Néstor ("dibujar un borde que agrupe a los botones de un mismo color (tema) y agregar un ícono al grupo"): cada grupo de
   la botonera de reportes es un fieldset con el ícono del menú de arriba en el borde. jsRepGrupos (app_reps.js) oculta el que no tiene
   ningún botón a la vista */
.repGrupo{
  float:         left;
  clear:         both;
  box-sizing:    border-box;
  width:         calc(100% - 8px);
  margin:        4px 4px 8px 4px;
  padding:       2px 0 4px 0;
  border:        1px solid #9aa79c;
  border-radius: 6px;
  min-width:     0
}
  .repGrupo > legend{
    display:     flex;
    align-items: center;
    gap:         5px;
    padding:     0 6px;
    margin-left: 6px;
    font-size:   .85em;
    color:       #3f4a42
  }
  .repGrupoIco{
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    width:           28px;
    height:          28px;
    overflow:        hidden
  }
  /*2026-10-30, Néstor ("los íconos en color azul, sin el fondo redondo, simplemente sobre fondo blanco"): los íconos del menú vienen
    dibujados en blanco (relleno o trazo, a veces en el style del propio dibujo); acá se pintan del azul de la pantalla. El $ es sólo
    trazo (fill:none): ése no se rellena*/
  .repGrupoIco svg *:not([style*="fill:none"]):not([fill="none"]){ fill: var(--azulPiedra) !important; }
  .repGrupoIco svg [style*="stroke"], .repGrupoIco svg [stroke]:not([stroke="none"]){ stroke: var(--azulPiedra) !important; }
  /*2026-10-30, Néstor ("la paleta de verdes no ayuda y NO es armoniosa con los nuevos colores ... todos los botones con fondo blanco y
    letras negras"): dentro de los grupos, cada botón blanco con borde gris; el grupo ya lo da el recuadro con su ícono. Al pasar el
    mouse, el azul de la pantalla. Un botón deshabilitado (color silver en su estilo) queda gris*/
  /*grilla de 3 columnas: el alto de cada fila lo da el texto más largo (con alto fijo, 'Agua: caños, bebederos y tajamares' se salía en el celular)*/
  #secReportes .repGrupo ul{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px 6px; overflow: visible; background: transparent; }
  #secReportes .repGrupo li{ float: none !important; width: auto !important; height: auto !important; min-height: 80px; margin: 0 !important;
                             background: #fff !important; border: 1px solid #cbd5e1 !important; border-radius: 4px; }
  #secReportes .repGrupo li a{ height: 100%; box-sizing: border-box; padding: 12px 6px; }
  #secReportes .repGrupo li a{ color: #111 !important; }
  #secReportes .repGrupo li a[style*="silver"]{ color: silver !important; }
  #secReportes .repGrupo li a:hover{ background-color: var(--azulPiedra) !important; color: #fff !important; }
  #secReportes .repGrupo{ border-color: #94a3b8; }
  #secReportes .repGrupo > legend{ color: #1f2937; }
  /*2026-11-04, #254 (Natalia, con captura del menú: "esos botones deben estar uno al lado del otro"): en Historias, Historia de lotes e Historia de
    potreros están en dos bloques (repHis, repPot: jsVersiones los muestra por separado) y cada uno ocupaba un renglón entero. Cada bloque toma una
    columna de la grilla de tres, como en los otros grupos; el de la versión 400, que trae los dos, toma dos*/
  #secReportes .repGrupoHis > .divRowDer{ width: 33.333%; }
  #secReportes .repGrupoHis > #repHisPotV400{ width: 66.666%; }
  #secReportes .repGrupoHis > .divRowDer ul{ grid-template-columns: repeat(1, minmax(0, 1fr)); }
  #secReportes .repGrupoHis > #repHisPotV400 ul{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .repGrupoIco svg{ max-width: 22px; max-height: 22px }



/** REGISTRO DE PROCREO RDP */
.divTitRDP{
  width:      100%;
  background: #000;
  color:      #fff;
  padding:    5px;
}
.tblRDPTitHistoria{
  width:            100%;
  width:        630px;
  background:       #fff;
  color:            #000
}
  .tblRDPTitHistoria tr td{
    padding:        2px 0 2px 0;
    cursor:         default;
  }
  .tblRDPTitHistoria tr td:nth-child(1){width: 200px}
  .tblRDPTitHistoria tr td:nth-child(2){width: 200px}
  .tblRDPTitHistoria tr td:nth-child(3){width: auto}
  .tblRDPTitHistoria tr td:nth-child(4){width: 25px; text-align:center}

.tblRDPHistoria1{
  width:            100%;
  max-width:        630px;
  border-collapse:  separate;
  border-spacing:   1px 3px;
  font-size:        0.9em;
  background:       gray;
  color:            #fff;
}

  .tblRDPHistoria1 tr td{
    padding:        2px 0 2px 0;
    background:     gray;
    cursor:         default;
    border-bottom:  0.6px solid silver;
    text-align:     center
  }
  .tblRDPHistoria1 tr td:nth-child(1){width: 30px}
  .tblRDPHistoria1 tr td:nth-child(2){width: 90px}
  .tblRDPHistoria1 tr td:nth-child(3){width: 60px}
  .tblRDPHistoria1 tr td:nth-child(4){width: 90px}
  .tblRDPHistoria1 tr td:nth-child(5){width: 70px}
  .tblRDPHistoria1 tr td:nth-child(6){width: 90px}
  .tblRDPHistoria1 tr td:nth-child(7){width: 70px}

.tblRDPHistoria{
  width:            100%;
  max-width:        630px;
  background:       #fff;
  color:            #000;
  border-collapse:  separate;
  border-spacing:   1px 3px;
}
  .tblRDPHistoria tr td{
    padding:        2px 0 2px 0;
    cursor:         default;
    border-bottom:  0.6px solid silver
  }
  .tblRDPHistoria tr:hover{
    background-color:  #FFFF99;
  }
  .tblRDPHistoria tr td:nth-child(1){width: 30px; text-align:right}
  .tblRDPHistoria tr td:nth-child(2){width: 90px; text-align:right;  color:red}
  .tblRDPHistoria tr td:nth-child(3){width: 60px; text-align:center; color:red}
  .tblRDPHistoria tr td:nth-child(4){width: 90px; text-align:right;  color:green}
  .tblRDPHistoria tr td:nth-child(5){width: 70px; text-align:center; color:green}
  .tblRDPHistoria tr td:nth-child(6){width: 90px; text-align:right;  color:#0099FF}
  .tblRDPHistoria tr td:nth-child(7){width: 70px; text-align:center; color:#0099FF}


.divHxPxM{
  background: #303030;
  font-size:  1em;
  color:      #fff;
  width:      100%;
  max-width:  1150px;
  display:    none;
}
  #inAAHPM{
     width: 40px;
     text-align:  right;
     height:      20px;
  }
  #inPotN{
     width: 30px;
     text-align:  right;
     height:      20px;
  }

  .divHPM{
    width:        630px;
    height:       30px;
    background:   #E0E0E0;
    font-size:    0.8em;
    padding-top:  3px;
    padding-right:2px;
    color:        black;
    margin-top:   3px;
  }

  .divHPM2{
    width: 100%;
    height:       30px;
    background:   #E0E0E0;
    font-size:    0.8em;
    padding-top:  3px;
    padding-right:2px;
    color:        black;
    margin-top:   3px;
  }

  #divCanvas{
    display:  inline-block;
    display:  none
  }

/*listado de historias de cantidades en potreros*/
/*.divSPM{
  margin-top: 10px;
  background: #b6f4f4;
  /* padding:    2px; * /
  width:  400px;
  /* color:  black; * /
}*/
  .tblTitCan{
    width: 100%;
    background: #d0d0d0;
    color: black;
    border-collapse: separate;
    border-spacing:  2px;
  }

  .tblTitCan tr td{
    padding: 0px /* border:  1px solid black */
  }
  .tblTitCan tr td:nth-child(1){width:  125px; text-align:left;padding-left:3px}
  .tblTitCan tr td:nth-child(2){width:  40px; text-align:right;padding-right:5px}
  .tblTitCan tr td:nth-child(3){width:  40px; text-align:left}
  .tblTitCan tr td:nth-child(4){width:  60px}
  .tblTitCan tr td:nth-child(5){width:  30px; text-align:left}
  .tblTitCan tr td:nth-child(6){width:  80px; text-align:right}
  .tblTitCan tr td:nth-child(7){width:  auto; text-align:center}
  .tblTitCan tr td:nth-child(8){width:  30px; text-align:right}


/* Stk / pot / día */
#PotStkDia{
  background: #303030;
  font-size:  1em;
  color:      #fff;
  width:      100%;                                /* max-width:  1150px; */
  display:    none;
}


#divPotQ{
  width:      100%;
  height:     100%;
  background: #fff;
}

  .tblTitPQ{
    width:            100%;
    background:       var(--azulMarino);
    color:            #fff;
    border-collapse:  separate;
    border-spacing:   2px;
    font-size:        1.2em
  }

  .tblTitPQ tr td{
    padding: 0px
  }
  .tblTitPQ tr td:nth-child(1){width:  auto; text-align:left;  padding-left:3px}
  .tblTitPQ tr td:nth-child(2){width:  50px;  text-align:right; padding-right:5px}
  .tblTitPQ tr td:nth-child(3){width:  100px; text-align:left}
  .tblTitPQ tr td:nth-child(4){width:  13px}
  .tblTitPQ tr td:nth-child(5){width:  80px;  text-align:right}
  .tblTitPQ tr td:nth-child(6){width:  30px;  text-align:right}

  #inPotFec{
      width:      100%;
      padding:    1px;
      font-size:  1em;
      text-align: center
  }

  .butLst{
    width:    74px;
    height:   23px;
    padding:  0px;
    cursor:   pointer
  }

  .tblPotQ{
    width:            100%;
    background:       #fff;
    color:            #000;
    font-size:        0.8em;
    border-collapse:  collapse;
    box-sizing:       border-box;
  }
  .tblPotQ tr:first-child{
    background: #ccffff;
    text-align: center;
  }

  .tblPotQ tr:last-child td{
    padding:        6px 2px 6px 1px;
    font-size:      1em;                                   
  }

  .tblPotQ tr:last-child td:nth-child(3){
    text-align: center
  }
  .tblPotQ tr:last-child td:nth-child(5){
    text-align: center
  }
  .tblPotQ tr:last-child td:nth-child(7){
    text-align: center
  }
  .tblPotQ tr td{
    padding:    5px 3px 5px 3px;
    text-align: right;                                      
    border:     0.6px solid silver
  }
  .tblPotQ tr:hover{
    background-color:  #FFFF99;
  }
  .tblPotQ tr td:nth-child(1){width:  auto;  text-align:left}
  .tblPotQ tr td:nth-child(2){width:  50px;  color:#CC0000}
  .tblPotQ tr td:nth-child(3){width:  235px; text-align:left; cursor:default}
  .tblPotQ tr td:nth-child(4){width:  40px}
  .tblPotQ tr td:nth-child(5){width:  235px; text-align:left; cursor:default}
  .tblPotQ tr td:nth-child(6){width:  40px}
  .tblPotQ tr td:nth-child(7){width:  235px; text-align:left; cursor:default}
  .tblPotQ tr td:nth-child(8){width:  40px}

  .spUGTotHa{
    color:      blue;
    /* border:     0.6px solid gray; */
    margin:     0px 0px 0px 1px
  }
  #inUGTotHa{
    border:     0;
    background: none;
    color:      blue;
    width:      34px;
    /* font-size:  1em */
  }
  .spCUG{
    font-size:  0.8em;
    color:      #A0A0A0
  }

  .spUGTotHaP{
    color:        green;                              /* border:       0.6px solid gray; */
    margin:       0px 1px 0px 11px
  }
  #inUGTotHaP{
    border:       0;
    background:   none;
    color:        green;
    width:        34px;
    /* font-size:  1em */
  }


.tblPotStkTot{
  width:            100%;
  background:       #D0D0D0;
  border:           5px solid #D0D0D0;
  color:            #000;
  font-size:        0.8em;
  border-collapse:  separate;
  border-spacing:   1px;
  box-sizing:       border-box;
}
  .tblPotStkTot tr{
    padding:    5px 0px 5px 0px;
  }
  .tblPotStkTot tr td{
    padding:    5px 5px 5px 5px;
    text-align: left;
    background: #FFFF66;
    /* border:     0.6px solid silver; */
    cursor:     default
  }
  .tblPotStkTot tr td:nth-child(1){width:  auto}
  .tblPotStkTot tr td:nth-child(2){width:  7%; color:#CC0000}
  .tblPotStkTot tr td:nth-child(3){width:  1px;   background:#D0D0D0}

  .tblPotStkTot tr td:nth-child(4){width:  7%}
  .tblPotStkTot tr td:nth-child(5){width:  6%;  text-align:right}
  .tblPotStkTot tr td:nth-child(6){width:  6%;  text-align:right}
  .tblPotStkTot tr td:nth-child(7){width:  1px;   background:#D0D0D0}

  .tblPotStkTot tr td:nth-child(8){width:  7%}
  .tblPotStkTot tr td:nth-child(9){width:  6%;  text-align:right}
  .tblPotStkTot tr td:nth-child(10){width: 6%;  text-align:right}
  .tblPotStkTot tr td:nth-child(11){width: 1px;   background:#D0D0D0}

  .tblPotStkTot tr td:nth-child(12){width: 7%}
  .tblPotStkTot tr td:nth-child(13){width: 6%;  text-align:right}
  .tblPotStkTot tr td:nth-child(14){width: 6%;  text-align:right}








/*descanso de potreros*/
  .tblPotDesc{
    width:            460px;
    background:       #fff;
    color:            black;
    border-collapse:  separate;
    border-spacing:   1px;
    font-size:        0.9em;
    margin-bottom:    20px
  }
    .tblPotDesc tr:first-child{
      background: silver
    }
      .tblPotDesc tr:first-child td{
        text-align: center
      }
    .tblPotDesc tr td{
      padding:    5px 3px 5px 3px;      /* text-align: right; */
      border:     0.6px solid #eaeaea
    }
    .tblPotDesc tr:hover{
      background-color:  #ccffff;
    }
    .tblPotDesc tr td:nth-child(1){width: 50px; text-align:right}
    .tblPotDesc tr td:nth-child(2){width: auto; text-align:left}
    .tblPotDesc tr td:nth-child(3){width: 60px; text-align:right}





/*divGRDP*/
.divGRDP{
  width:          100%;
  max-width:      610px;
  margin-bottom:  5px;
  display:        none;
  padding:        10px;
  background:     #fff
}



/** PDC */
.divPiePDC{
  width:      100%;
  background: #eaeaea;
  color:      #000;
  padding:    5px;
  height: 40px;
}
  .divPiePDC div{
    float:      left;
    padding:    0 5px 0 5px;
    font-size:  0.9em
  }
  .divPiePDC .divPiePDCTx{
    padding-top: 8px
  }
  .divPiePDC .divPiePDCIn{
    padding-top: 4px
  }
  .divPiePDC .divBtnPDC{
    width:      120px;
    padding:    0 5px 0 5px
  }
  .divPiePDC #divComPDC{
    color:        #505050;
    padding-top: 10px;
    font-size:    0.7em;
    float:        left;
    margin-right: 20px;
  }



.divCerrarRDP{
  float:      right;
  width:      25px;
  text-align: center;
  padding:    2px
}

#secRDP{
  width:      100%;
  max-width:  500px;
  height:     920px;
  background: #fff;
  display:    none;
  margin-left: 1px;
  z-index:    3;
}
  .ifrRDPB{
    width:  100%;
    height: 920px;
  }
  .ifrRDPO{
    width:  100%;
    height: 920px;
  }

/*Bremermann*/
#secRDPBre{
  width:      100%;
  max-width:  500px;
  height:     990px;
  background: #fff;
  display:    none;
  margin-left: 1px;
  margin: 0px 0px 0px 1px;
  z-index:    3;
  box-sizing: border-box;
}
  .ifrRDPBreB{
    width:  100%;
    height: 1050px;
  }
  .ifrRDPBreO{
    width:  100%;
    height: 1050px;
  }

  .tblRDPBre{
    background:       #fff;
    width:            500px;
    color:            #000;
    border-collapse:  collapse;
    box-sizing:       border-box;
    table-layout:     fixed;
    font:             0.9em "Helvetica Neue","sans serif", "verdana"
  }


  .tblRDPBre .tbody0{
    background:   #fff;
    text-align:   left;
    color:        #000;
    font-size:    1em
  }
    .tblRDPBre .tbody0:nth-child(2){
      background:   #CCFFCC;
    }
    .tblRDPBre .tbody0:nth-child(4){
      background:   #EDEDED;
    }
    .tblRDPBre .tbody0:nth-child(6){
      background:   #FFFFCC;
    }
    .tblRDPBre .tbody0:nth-child(7){
      background:   #EDEDED;
    }

  .tblRDPBre .tbody{
    background:   #fff;
    text-align:   left;
    color:        #000;
    font-size:    1em
  }
  .tblRDPBre .thead{
    background:   gray;
    text-align:   center;
    color:        #fff;
    font-size:    1em
  }
  .thead td{
    text-align:   center  !important;
    color:        #fff    !important
  }
  .tblRDPBre tr:hover{
    background-color:  #FFFF99;
  }
  .tblRDPBre tr td{
    padding:        3px 2px 3px 2px;    /* cursor:         default */
    border:1px solid gray;
  }/* ;border:1px solid #eaeaea*/
  .tblRDPBre tr td input{
    padding:        1px;
    background:     none;
    border:         1px solid silver;
    width:          100%;
    text-align:     right
  }
  /*.tblRDPBre .tbody tr>td:nth-child(1){width: 63px;   text-align: center}
  .tblRDPBre .tbody tr>td:nth-child(2){width: 17px;    text-align: right; color: #336600}
  .tblRDPBre .tbody tr>td:nth-child(3){width: 280px;  text-align: left}
  .tblRDPBre .tbody tr>td:nth-child(4){width: 50px;   text-align: left}*/

  .tblRDPBre tr>td:nth-child(1){width: 63px;   text-align: center}
  .tblRDPBre tr>td:nth-child(2){width: 17px;    text-align: right; color: #336600}
  .tblRDPBre tr>td:nth-child(3){width: 280px;  text-align: left}
  .tblRDPBre tr>td:nth-child(4){width: 50px;   text-align: left}






 .tblRDP2Bre{
    background:       #fff;
    max-width:        100%;
    color:            #000;
    border-top:       6px solid gray;
    border-collapse:  collapse;
    font:             0.9em "Helvetica Neue","sans serif", "verdana"
 }
  .tblRDP2Bre tbody:nth-child(1){
    background:   silver;
  }
    .tblRDP2Bre tbody:nth-child(1) tr{
      text-align:   center;
    }
      .tblRDP2Bre tbody:nth-child(1)>tr>td{
        text-align:   center;
      }


  .tblRDP2Bre tbody:nth-child(2){
    background:   #FFE4FF;
  }
  .tblRDP2Bre tr td{
    padding:  3px 2px 3px 2px;
    border:   1px solid #eaeaea
  }

  .tblRDP2Bre tr td input{
    padding:        1px;
    background:     none;
    border:         1px solid silver;
    width:          100%;
    text-align:     right
  }

  .tblRDP2Bre tr>td:nth-child(1){width: 19%;   text-align: right}
  .tblRDP2Bre tr>td:nth-child(2){width: auto;  text-align: left}
  .tblRDP2Bre tr>td:nth-child(3){width: 50px;  text-align: left}
  .tblRDP2Bre tr>td:nth-child(4){width: 11%;   text-align: left}








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

.tblAuditoriaRep{
  width:            100%;
  max-width:        570px;
  background:       #fff;
  color:            #000;
  border-collapse:  separate;
  border-spacing:   1px 3px
}
  .tblAuditoriaRep tr td{
    padding:        2px 0 2px 0;
    border-bottom:  0.6px solid silver
  }
  .tblAuditoriaRep tr:hover{
    background-color:  #FFFF99;
  }

  .tblAuditoriaRep tr td:nth-child(1){width: 30px;  text-align:right}
  .tblAuditoriaRep tr td:nth-child(2){width: 60px;  text-align:center}
  .tblAuditoriaRep tr td:nth-child(3){width: 115px}
  .tblAuditoriaRep tr td:nth-child(4){width: 130px; white-space:nowrap; overflow:hidden}
  .tblAuditoriaRep tr td:nth-child(5){width: 50px;  text-align:right}
  .tblAuditoriaRep tr td:nth-child(6){width: 50px;  text-align:right}
  .tblAuditoriaRep tr td:nth-child(7){width: 50px;  text-align:right}
  .tblAuditoriaRep tr td:nth-child(8){width: 50px;  text-align:right}





/*PRVrota*/
.secRepPRVRota{
  float:          left;
  z-index:        99;
  width:          100%;
  max-width:      870px;
  border-radius:  4px !important;
  box-shadow:     0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  background:     #fff;
  display:        none;
  margin-left:    1px;
  border:         1px solid #fff;
  padding:        3px;
}
  /*.secRepPRVRota  div{
    border: 1px solid gray
  }*/

  #divRepPRVRotaSug{
    background:     lightyellow;
    border:         2px solig gray;
    width:          600px;
    position:       absolute;
    left:           20px;
    top:            50px;
    display:        none;
    padding:        10px;
    font-size:      1em;
    box-shadow:     0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    cursor:         move
  }

  .tblPRVSugerida{
    width:            100%;
    padding:          1px;
    border-collapse:  separate;
    border-spacing:   1px 5px;
    font-size:        1.3em;
    background:       #fff; /*#E4FFE6*/
  }

    .tblPRVSugerida caption{
      font-size:  0.9em;
      color:      red
    }
      .tblPRVSugerida caption span{
        font-size:  0.7em;
        color:      #000
      }

    .tblPRVSugerida tr{
      border:     5px solid #D0D0D0;
      background: #fff
    }
      .tblPRVSugerida tbody tr:hover{
        background: #FFFF99
      }

    .tblPRVSugerida th{
      border:       1px solid #D0D0D0;
      padding:      2px;
      font-size:    0.7em;
      font-weight:  normal;
      background:   #E0E0E0;
      color:        #303030;
      cursor:       pointer
    }
      .tblPRVSugerida th:hover{
        background: #00CCFF;
        color:      #fff
      }

    .tblPRVSugerida tr> th:nth-child(1){width: 25px}  /*N°*/
    .tblPRVSugerida tr> th:nth-child(2){width: 35px}  /*ha*/
    .tblPRVSugerida tr> th:nth-child(3){width: 10px}  /*especie*/
    .tblPRVSugerida tr> th:nth-child(4){width: 35px}  /*cat*/
    .tblPRVSugerida tr> th:nth-child(5){width: 55px;overflow-x:hidden} /*fecha ingreso*/
    .tblPRVSugerida tr> th:nth-child(6){width: 55px;overflow-x:hidden}  /*fecha salida 55px*/
    .tblPRVSugerida tr> th:nth-child(7){width: 40px}                /*ocupación*/
    .tblPRVSugerida tr> th:nth-child(8){width: 40px}                /*descanso*/
    .tblPRVSugerida tr> th:nth-child(9){width: 30px}                /*para DME*/
    .tblPRVSugerida tr> th:nth-child(10){width: 30px}   /*PV*/
    .tblPRVSugerida tr> th:nth-child(11){width: 0px; display:none}   /*UG*/

    .tblPRVSugerida td{
      border:     1px solid #D0D0D0;
      padding:    3px 1px 2px 1px;
      font-size:  0.7em;
      background: #fff
    }

    .tblPRVSugerida tr> td:nth-child(1){width: 30px; text-align:right}
    .tblPRVSugerida tr> td:nth-child(2){width: 30px;text-align:right}
    .tblPRVSugerida tr> td:nth-child(3){width: 10px;text-align:right}
    .tblPRVSugerida tr> td:nth-child(4){width: 35px;text-align:right}
    .tblPRVSugerida tr> td:nth-child(5){width: 55px; text-align:right;overflow-x:hidden}
    .tblPRVSugerida tr> td:nth-child(6){width: 55px; text-align:right;overflow-x:hidden}
    .tblPRVSugerida tr> td:nth-child(7){width: 40px; text-align:right}
    .tblPRVSugerida tr> td:nth-child(8){width: 40px; text-align:right} /*; background:#fff; color:#fff*/
    .tblPRVSugerida tr> td:nth-child(9){width: 30px; text-align:right}
    .tblPRVSugerida tr> td:nth-child(10){width: 30px; text-align:right}   /*PV*/
    .tblPRVSugerida tr> td:nth-child(11){width: 0px; display:none}   /*UG*/






  /*#titPRV{
    /* cursor:   move; * /
  }*/
  .titPRV{
    float:      left;
    width:      100%;
    padding:    10px 5px 10px 5px;
    background: #fff;
    color:      #505050
  }
  /*2026-11-02, bitácora #220: toda la barra de título arrastra el reporte (jsDragElement con 'titPRV'); sus botones no*/
  .titPRV{cursor: move}
  .titPRV button, .titPRV input, .titPRV a{cursor: pointer}







  #divPPRVGC{ /*Guardar Cambios*/
    float:        right;
    background:   #fff;
    padding:      1px 5px 2px 5px;
    display:      none
  }

  .divPPRV{ /*print*/
    float:        left;
    color:        #0066ff;
    margin-left:  10px;
    padding:      1px 5px 2px 5px
  }
  /*#divHPRV{ /*help* /
    float:        left;
    margin-left:  15px
  }*/

  .divTPRV{
    float:        left;
    font-size:    1.1em;
    cursor:       move;
    width: calc(100% - 350px);
    min-width: 450px;
    border:       1px dashed #eaeaea;
    color: green;
  }
    .spnTPRV{
      font-size:  0.8em;
      color:      gray;

    }

  /*botones Sugerir y Rotar*/
  #footPRV{
    float:        left;
    font-size:    1em;
    /* margin-left:  90px; */
    margin-top:   7px;
    width:        100%;
    padding:      6px;
    box-sizing:   border-box;
  }
    #footPRV .sugerir{
      float:        left;
      width:        210px;
      /* margin-left:  30px; */
    }

    #footPRV .aSugerir{
      background:       #FFFF99;
      padding: 5px 15px 5px 15px;
      color:            #0066ff;
      text-decoration:  none;
      font-size:        1em;
      border-radius:    3px
    }
      #footPRV .aSugerir:hover{
        color:            #fff;
        text-decoration:  none;
        background:       red
      }


    #footPRV .rotar{
      float:        right;
      /* width:        330px; */
      margin-right: 30px;
      text-align:   center;
    }

    #footPRV .rotar .aRotar{
      background:       #bfecb4; /*ESTE VERDE PODRÍA SER ESTÁNDAR ...??? */
      padding:          7px 15px 7px 15px;
      color:            #0066ff;
      text-decoration:  none;
      font-size:        1em;
      border-radius:    3px
    }
      #footPRV .rotar .aRotar:hover{
        color:            #fff;
        text-decoration:  none;
        background:       red
      }





  /* NUEVO 2026-09-17: el contenedor de la tabla. Si la ventana es tan angosta que la tabla no entra
     (o si algun potrero tiene un nombre larguisimo), se scrollea ESTA div y no se aplasta ni se
     recorta la tabla. Va aca y no en .secRepPRVRota a proposito: un overflow en la section
     recortaria el panel de sugerencias de rotacion, que es position: absolute adentro. */
  #divRepPRVRota{
    overflow-x: auto;
    max-width:  100%;
    /*OJO: el overflow crea un contexto de formato nuevo, y entonces esta div ya NO se superpone al
      titulo (.titPRV es float: left con width: 100%): sin este clear se quedaba con 0px de ancho
      pegada a la derecha del float y la tabla desaparecia de la vista*/
    clear:      both;
  }
  @media print{ #divRepPRVRota{ overflow-x: visible } }

  .tblPRVRota{
    width:            100%;
    background:       #e1dada;
    color:            #000;
    border-collapse:  separate;
    border-spacing:   1px;
    box-sizing:       border-box;
    font-size:        1em
  }
    .PRVRotar{
      background: #33FF99;
      padding:    1px
    }
    .PRVColTit{
      background: gray;
      padding:    2px;
      color:      #fff
    }

  .tblPRVRota thead{
    font-size:  0.9em;                /* background: #202020; */
    background: var(--azulMarino); //#fff;   /*#e1dada;*/
    color:      #fff;
  }
  //.tblPRVRota thead tr:nth-child(1){background:var(--azulMarino)}
  .tblPRVRota thead tr:nth-child(1) th{                                                   //background: #F0F0F0; /*excel color bkg*/
                                  /*2026-09-17: 4px -> 2px 5px. Tabla mas compacta = mas legible*/
                                  padding:    2px 5px;
                                  text-align: center;
                                  font-weight:normal;
                                  cursor:     default;
                                  border:     0.6px solid #eaeaea;
  }
  /* 2026-09-17: la columna 1 es "N° + nombre del potrero". Sin nowrap el navegador la partia en dos
     renglones ("1" arriba, "Tapera" abajo) cada vez que el panel quedaba angosto, y de paso hacia
     el doble de alto toda la tabla. Con nowrap + min-width la columna reclama su ancho y, si no
     entra, el que se mueve es el scroll horizontal de #divRepPRVRota, no el texto. */
  .tblPRVRota thead tr th:nth-child(1){width: auto; min-width: 110px; white-space: nowrap}
  .tblPRVRota thead tr th:nth-child(2){width: 10px}
  .tblPRVRota thead tr th:nth-child(3){width: 40px} /*lote*/
  .tblPRVRota thead tr th:nth-child(4){width: 40px}
  .tblPRVRota thead tr th:nth-child(5){width: 15%; min-width: 74px}  /*categoria: que no se coma el titulo*/
  .tblPRVRota thead tr th:nth-child(6){width: 30px}
  .tblPRVRota thead tr th:nth-child(7){width: 77px} /*fecha ingreso*/
  .tblPRVRota thead tr th:nth-child(8){width: 77px} /*fecha egreso*/
  .tblPRVRota thead tr th:nth-child(8) span{font-size: 0.8em}
  .tblPRVRota thead tr th:nth-child(9){width: 88px}   /*rotar*/
  .tblPRVRota thead tr th:nth-child(10){width:30px; color:green; display:none} /*; display:  none*/
  .tblPRVRota thead tr th:nth-child(11){width:25px; display:none} /*; display:  none*/


  .tblPRVRota tbody{
                      background:       #e1dada;
  }
  .tblPRVRota tbody tr{
    background-color:  #FFF;
  }

  .tblPRVRota tbody tr:hover{
    background-color:  #FFFF99;
  }
  .tblPRVRota tbody tr td{
                      /*2026-09-17: 4px 3px -> 1px 4px + line-height. Antes cada fila media 37px y con
                        la columna 1 partida en dos renglones, 46px: demasiado alto para leer 20 filas*/
                      padding:        1px 4px;
                      line-height:    1.25;
                      text-align:     right;
                      border:         1px solid #eaeaea;
                      /* background:     #fff; */
                      cursor:         default
  }
  .tblPRVRota tbody tr td:nth-child(1){width: auto; min-width: 110px; text-align:left; white-space: nowrap}
  .tblPRVRota tbody tr td:nth-child(2){width: 10px}
  .tblPRVRota tbody tr td:nth-child(3){width: 40px}
  .tblPRVRota tbody tr td:nth-child(4){width: 40px}
  .tblPRVRota tbody tr td:nth-child(5){width: 15%; min-width: 74px; text-align:left}
  .tblPRVRota tbody tr td:nth-child(6){width: 30px}
  .tblPRVRota tbody tr td:nth-child(7){width: 77px; text-align:center} /*fecha ingreso*/

  .tblPRVRota tr td:nth-child(8){width: 77px; text-align:left}                /*fecha egreso*/
    .tblPRVRota tr td:nth-child(8) span{font-size: 0.8em; font-style:italic}
    .tblPRVRota tr td:nth-child(8) input{
                                          /*2026-09-17: este input era el que fijaba el alto de la
                                            fila (padding 3px + 1em). Mas chico = tabla mas compacta*/
                                          font-size:  0.9em;
                                          font-style: italic;
                                          width:      68px;
                                          border:     1px solid silver;
                                          padding:    1px 3px
                                        }

  .tblPRVRota tr td:nth-child(9){width: 88px; text-align:left}    /*rotar*/

  .tblPRVRota tr td:nth-child(10){width:30px; text-align:left; display:none}     /*Sig ; display:  none*/
    .tblPRVRota tr td:nth-child(10) input{border:1px solid silver}

  .tblPRVRota tr td:nth-child(11){width:25px; display:none}                     /*Chk  ; display:  none */
    .tblPRVRota tr td:nth-child(11) input{width:      15px}

    .tblPRVRota tfoot{
      background: #fff
      /*display:  none;                /*ANTES: se habilitará solo para la versión automatizada*/
    }
    .tblPRVRota tfoot td{
      padding:    15px 10px 10px 10px;      /* border:   1px solid gray */
    }







  /*Ayuda en la tabla de PRV Rotaciones*/
  #tblPRVCaption{
    position:   absolute;
    left:       8px;
    top:        90px;
    display:    none;
    width:      830px;
    z-index:    9;
    text-align: left;
    background: #fff;
    padding:    10px;
    border:     1px solid silver;
    font-size: 0.9em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }


  #inPRVHoy{
    border:     0;
    font-size: 1.2em;
    color:      red;
    width: 109px;
    padding:    2px;
    text-align: center;
    cursor: move;
  }

  .inPRVSig{
    width:      27px;
    border:     none;
    font-size:  1em;
    text-align: right
  }
  /*.inPRVFE{
    width:      70px;
    font-size:  1em;
    border:     none;
    color: #0066ff;
    text-align: center;
  }
  .inPRVFE:focus{
    color:    #0099FF;
    outline:  0.6px solid silver
  }*/
  #inPRVPotRota{
    width:        40px;
    font-size:    0.9em;
    padding:      3px 2px 3px 2px;
    border:       1px solid silver;
    margin-right: 10px
  }


/*PRV parcelas historia*/
.secRepPRVPH{
  float:        left;
  width:        500px;
  background:   #fff;
  display:      none;
  margin-left:  1px;
  z-index:      3;
  /* border:       1px dotted silver; */
}
/*listado de la historia de las parcelas*/
.tblPRVParHis{
  box-sizing:       border-box;
  padding:          0px;
  margin:           0px;
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  font-size:        1em
}
  .tblPRVParHis tr th{
    font-size:      0.8em;
    border:         0.6px solid silver;
    text-align:     center;
    padding:        4px;    /* color:          #fff; */
    font-weight:    normal;
    font-style:     italic;
    cursor:         default
  }
  .tblPRVParHis tr th:nth-child(1){width: 30px}
  .tblPRVParHis tr th:nth-child(2){width: 45px}
  .tblPRVParHis tr th:nth-child(3){width: 10px}
  .tblPRVParHis tr th:nth-child(4){width: auto}
  .tblPRVParHis tr th:nth-child(5){width: 64px}
  .tblPRVParHis tr th:nth-child(6){width: 64px}
  .tblPRVParHis tr th:nth-child(7){width: 30px}
  .tblPRVParHis tr th:nth-child(8){width: 45px}
  /* .tblPRVParHis tr th:nth-child(9){width: 46px} */

  .tblPRVParHis tr td{
                      padding:        6px 4px;
                      font-size:      0.8em;                      /* background:     #fff; */
                      text-align:     right;
                      border:         0.6px solid silver;
                      cursor:         default
  }
  .tblPRVParHis tr:hover{
    background-color:  #FFFF99;
  }
  .tblPRVParHis tr td:nth-child(1){width: 30px; text-align:right}
  .tblPRVParHis tr td:nth-child(2){width: 42px}
  .tblPRVParHis tr td:nth-child(3){width: 10px}
  .tblPRVParHis tr td:nth-child(4){width: auto; text-align:left}
  .tblPRVParHis tr td:nth-child(5){width: 65px; text-align:center}
  .tblPRVParHis tr td:nth-child(6){width: 65px; text-align:center}
  .tblPRVParHis tr td:nth-child(7){width: 35px}
  .tblPRVParHis tr td:nth-child(8){width: 45px}
  /*2026-11-05, bitácora #311: Cant y UG/ha de cada pastoreo, el período, el buscador y el resumen por parcela*/
  .tblPRVParHis tr th:nth-child(9),  .tblPRVParHis tr td:nth-child(9){width: 36px}
  .tblPRVParHis tr th:nth-child(10), .tblPRVParHis tr td:nth-child(10){width: 46px; white-space: nowrap}
  .tblPRVParHis tr th:nth-child(11), .tblPRVParHis tr td:nth-child(11){width: 46px; white-space: nowrap}
  .phTit{ padding: 4px 4px 2px; font-size: 0.85em; font-weight: bold; text-align: left; }
  .tblPHRes{ width: 100%; table-layout: auto; }
  /*con Cant, UG/ha y kg/ha son 11 columnas en 500 px: menos relleno y anchos nuevos (la columna Lote quedaba en 0 y se encimaba con la fecha)*/
  .tblPRVParHis tr th, .tblPRVParHis tr td{ padding-left: 2px; padding-right: 2px; }
  .tblPRVParHis tr td:nth-child(1), .tblPRVParHis tr th:nth-child(1){ width: 28px; } .tblPRVParHis tr td:nth-child(2), .tblPRVParHis tr th:nth-child(2){ width: 40px; } .tblPRVParHis tr td:nth-child(3), .tblPRVParHis tr th:nth-child(3){ width: 12px; }
  .tblPRVParHis tr td:nth-child(5), .tblPRVParHis tr th:nth-child(5), .tblPRVParHis tr td:nth-child(6), .tblPRVParHis tr th:nth-child(6){ width: 60px; white-space: nowrap; } .tblPRVParHis tr td:nth-child(7), .tblPRVParHis tr th:nth-child(7){ width: 30px; }
  .tblPRVParHis tr td:nth-child(8), .tblPRVParHis tr th:nth-child(8){ width: 42px; } .tblPRVParHis tr td:nth-child(9), .tblPRVParHis tr th:nth-child(9){ width: 36px; } .tblPRVParHis tr td:nth-child(10), .tblPRVParHis tr th:nth-child(10){ width: 42px; } .tblPRVParHis tr td:nth-child(11), .tblPRVParHis tr th:nth-child(11){ width: 44px; }
  .tblPHRes td:first-child{ text-align: left; white-space: nowrap; }
  .tblPHRes .phMas{ color: #2e7d32; font-size: 0.85em; } .tblPHRes .phMenos{ color: #c62828; font-size: 0.85em; }
  .tblPHRes tr.phTotal td{ font-weight: bold; background: #f2f5f8; } .tblPHRes tr.phActual td{ background: #fffbe6; }
  /*#311 (05-11, Natalia: "podría ser una tablita, que esté visible al lado de la gráfica o debajo"): dos tablitas debajo de la torta*/
  #divParHisRank{ display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 6px 4px; }
  /*06-11, Natalia: "en una sola tabla, indicando la condición ... el fondo más claro, con las líneas de las celdas visibles"*/
  .tblPHRank{ width: auto; table-layout: auto; font-size: 0.85em; border-collapse: collapse; background: #fff; }
  .tblPHRank caption{ text-align: left; font-weight: bold; padding: 2px 0; }
  #divParHisRank .tblPHRank th{ background: #f2f5f8; color: #333; }
  .tblPHRank th, .tblPHRank td{ padding: 3px 10px; border: 1px solid #b0b8c0; text-align: right; white-space: nowrap; }
  .tblPHRank th:first-child, .tblPHRank td.phCond{ text-align: left; }   /*06-11: la condición abarca varias filas; en las otras, la primera celda es el potrero (número)*/
  @media (max-width: 480px){ .tblPHRank th, .tblPHRank td{ padding: 3px 5px; } .tblPHRank th{ white-space: normal; } }   /*a 390 px medía 416*/
  .tblPHRank tbody tr{ cursor: pointer; } .tblPHRank tbody tr:hover td{ background: #ffffcc; }
  /*#311: las sugerencias de la comparación de dos parcelas*/
  .phComp{ margin: 6px 4px; padding: 6px 10px; border: 1px solid #cfd8dc; border-radius: 4px; background: #f7fbf7; font-size: 0.85em; text-align: left; }
  .phComp ul{ margin: 4px 0 2px 18px; padding: 0; } .phComp li{ margin: 2px 0; }
  /*06-11, Natalia: críticos, positivos y recomendaciones*/
  .phCompTit{ font-weight: bold; margin-bottom: 4px; } .phCompDos{ border-color: #90a4ae; background: #f5f8fa; } .phCompB{ margin: 4px 0; } .phCompB > b{ display: block; } .phMal > b{ color: #b71c1c; } .phBien > b{ color: #1b5e20; } .phRec > b{ color: #0d47a1; }
  .tblPHRank td.phCond{ text-align: left; vertical-align: middle; font-weight: bold; background: #f7f9fb; }
  .phBarra{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 4px; font-size: 0.85em; text-align: left; }
  .phBarra a{ text-decoration: none; color: #0066CC; padding: 0 3px; }
  .phBarra .phPer{ font-weight: bold; white-space: nowrap; }
  .phBarra .phTodo{ white-space: nowrap; }
  .phBarra .phBusca{ white-space: nowrap; }
  #inPHPot, #inPHPar, #inPHPot2, #inPHPar2{ width: 42px; text-align: right; padding: 2px; border: 1px solid silver; font-size: 1em; box-sizing: border-box; }
  /*en el celular el reporte medía 500 px fijos y la página se corría de costado*/
  @media (max-width: 520px){ .secRepPRVPH{ width: 100%; } .secRepPRVPH .divTPRV{ min-width: 0; width: auto; } .tblPRVParHis tr td, .tblPRVParHis tr th{ padding: 4px 2px; font-size: 0.72em; } .tblPRVParHis tr td:nth-child(3), .tblPRVParHis tr th:nth-child(3), .tblPRVParHis tr td:nth-child(7), .tblPRVParHis tr th:nth-child(7){ display: none; } .tblPRVParHis tr td:nth-child(1), .tblPRVParHis tr th:nth-child(1){ width: 26px; } .tblPRVParHis tr td:nth-child(2), .tblPRVParHis tr th:nth-child(2){ width: 32px; } .tblPRVParHis tr td:nth-child(5), .tblPRVParHis tr th:nth-child(5), .tblPRVParHis tr td:nth-child(6), .tblPRVParHis tr th:nth-child(6){ width: 54px; } .tblPRVParHis tr td:nth-child(8), .tblPRVParHis tr th:nth-child(8){ width: 34px; } .tblPRVParHis tr td:nth-child(9), .tblPRVParHis tr th:nth-child(9){ width: 28px; } .tblPRVParHis tr td:nth-child(10), .tblPRVParHis tr th:nth-child(10){ width: 34px; } .tblPRVParHis tr td:nth-child(11), .tblPRVParHis tr th:nth-child(11){ width: 36px; } #divRepParHis .tblPHRes th, #divRepParHis .tblPHRes td{ font-size: 0.7em; padding: 3px 1px; } #divRepParHis .tblPHRes th{ white-space: normal; } }
  .phBarra button{ font-size: 1em; padding: 2px 6px; }
  .phRes{ padding: 2px 4px; font-size: 0.85em; text-align: left; }
  .phDet{ padding: 2px 4px 6px; font-size: 0.85em; text-align: left; }
  .phDet summary{ cursor: pointer; color: #0066CC; }
  /* 2026-11-21: la flecha la pone la regla general del final de este archivo (antes ::marker propio) */
  .tblPHRes{ border-collapse: collapse; margin-top: 4px; background: #fff; }
  .tblPHRes th, .tblPHRes td{ border: 1px solid silver; padding: 3px 4px; text-align: right; font-size: 0.95em; }
  .tblPHRes th{ font-weight: normal; font-style: italic; }
  .phNota{ color: #666; font-size: 0.9em; padding-top: 3px; }
  /* .tblPRVParHis tr td:nth-child(9){width: 46px} */

/*fila azul que separa potreros*/
.tblPRVParHisP{
  width:        100%;
  font-size:    0.9em;
  text-align:   center;
  background:   #66CCFF;
  color:        #fff;
  font-weight:  normal
}
  .tblPRVParHisP td{padding:5px 7px 5px 5px}
  .tblPRVParHisP tr td:nth-child(1){width: auto}
  .tblPRVParHisP tr td:nth-child(2){width: 48px; text-align:right}

#canParHis{
  padding:  20px
  display=  'none';
}





/** Proceso de Cría **/
#secProcesoCria{
  float:      left;
  max-width: 900px;
  background: #000;
  text-align: center;
  padding:    1px 1px;
  width:      100%;
  display:    none;
  z-index:    3;
  font-size:  1em;
  margin-left:1px;
}


.imgProCria{
  width:      100%;
  max-width:  800px
}
.divProCria{
  position:   relative;
  display:    inline-block;
  text-align: center;
  background: #fff;
  color:      #006699;
  font-size:  0.9em
}
.PDCFecha{
  position: absolute;
  top:      9%;
  left:     4px;
  font-size:  0.8em;
  width:    100px;
  color:    #339900
}
.vIns{
  position: absolute;
  top: 78px;
  left: 22%;
}
.vResto{
  position: absolute;
  top: 31%;
  left: 4%;
}
.vaq2Mas{
  position: absolute;
  top: 45.5%;
  left: 4%;
}
.vEnto{
  position: absolute;
  top: 168px;
  left: 20%;
}
.vTactadas{
  position: absolute;
  top: 46.5%;
  left: 20%;
}
.vPre{
    position: absolute;
    top:  38%;
    left: 35%;
}
.vCria{
  position: absolute;
  top:  31%;
  left: 52%;
}
.vCut{
  position: absolute;
  top:  43%;
  left: 52%;
}


/** índices de procreo */
.indices{
  position:     absolute;
  width:        34px;
  height:       25px;
  cursor:       default;
  z-index:      3;
  font-size:    0.6em;
  text-align:   right;
  padding-top:  4px
}
.vGor{
  position: absolute;
  top:  73%;
  left: 78%;
}
.vInv{
  position: absolute;
  top:  73%;
  left: 64%;
}
.tMama{
  position: absolute;
  top:  28%;
  left: 64%;
}
.tMamo{
  position: absolute;
  top:  49%;
  left: 64%;
}
.tera{
  position: absolute;
  top:  23%;
  left: 78%;
}
.tero{
  position: absolute;
  top:  39%;
  left: 78%;
}
.tCT{
  position: absolute;
  top:  55%;
  left: 78%;
}
.vaq12{
  position: absolute;
  top: 24%;
  left: 90%;
}
.novi{
  position: absolute;
  top: 40%;
  left: 90%;
}
.toro{
  position: absolute;
  top:  55%;
  left: 90%
}
.toroCab{
  position: absolute;
  top:  69%;
  left: 90%;
}
.vNoapta{
  position: absolute;
  top: 70%;
  left: 10%;
}
.vVacia{
  position: absolute;
  top: 70%;
  left: 26%;
}
.vEntoMu{
  position: absolute;
  top: 70%;
  left: 39%;
}
.mPPNatal{
  position: absolute;
  top:  74%;
  left: 52%;
}

/*INDICES*/
.iPrenez{ /*índice de preñez*/
  top: 34%;
  left:     26.5%;
}
.iTacPre{
  top: 39%;
  left:     26.5%;
}
.iParida{/*índices de vacas paridas/preñadas*/
  top: 33.5%;
  left:     42.2%;
}
.iParida2{ /*índice de vacas paridas/entoradas*/
  top: 37.4%;
  left: 42.5%;
}
.iVGor{
  position: absolute;
  top: 68%;
  left: 69.5%;
}
.iVInv{
  position: absolute;
  top:  72%;
  left: 69.5%;
}
.iTMama{
  top: 34%;
  left:  55.7%;
}
.iTMamo{
  top: 38%;
  left: 55.7%;
}
.iTera{
  top: 23%;
  left: 69.7%;
}
.iTero{
  top: 42.5%;
  left: 69.7%;
}
.iVaq2{
  top:  20%;
  left: 82%;
}
.iNovi{
  top:  36.5%;
  left: 82%;
}
.iTCT{
  top: 47%;
  left: 68.5%;
}
.iToroCT{
  top:  52%;
  left: 82%;
}

/*ABAJO*/
.rodeo{
  position:   absolute;
  top:        90%;
  left:       40%;
  font-size:  0.7em;
  color:      #000
}
.rodeo #rodeo{
  float:        right;
  color:        #006699;
  margin-left:  10px;
  font-size:    1.3em
}
.vTodas{
  position:   absolute;
  top:        90%;
  left:       55%;
  font-size:  0.7em;
  color:      #000
}
.vTodas #vTodas{
  float:        right;
  color:        #006699;
  margin-left:  10px;
  font-size:    1.3em
}
.rodeoResto{
  position:   absolute;
  top:        90%;
  left:       75%;
  font-size:  0.7em;
  color:      #000
}
.rodeoResto     #rodeoResto{
  float:        right;
  color:        #006699;
  margin-left:  10px;
  font-size:    1.3em
}


/*nueva table PDC*/
.tblPDCCoef{
  width:          450px;
  background:     #fff;
  margin-top:     20px;
  margin-bottom:  30px;
  font-size:      0.9em;
  border-collapse:  collapse;
}
  .tblPDCCoef thead tr{
    background-color: #808080;
    color:            #fff;
    text-align:       center;
    cursor:           default
  }
  .tblPDCCoef thead th{
    padding:          4px 3px 4px 3px
  }

  .tblPDCCoef thead tr>th:nth-child(1){width:320px}
  .tblPDCCoef thead tr>th:nth-child(2){width:auto}

  .tblPDCCoef tbody tr:hover{
    background-color:  #FFFFCC;
  }

.tblPDCCoef td{
  border-bottom:   1px solid #eaeaea;
  padding:         5px 3px 4px 10px
}
  .tblPDCCoef tr>td:nth-child(1){width:320px; text-align:left}
  .tblPDCCoef tr>td:nth-child(2){width:auto;  text-align:right}



/** REGISTRO DE PROCREO: RDP **/
.divRDPOut{
  padding:    0;
  background: #fff;
  width:      100%;
  height:     100%;
}
.tblRDPPie{
  background:       #eaeaea;
  width:            100%;
  color:            #000;
  border-collapse:  separate;
  border-spacing:   1px;
  font:             0.9em "Helvetica Neue","sans serif", "verdana"
}
  .tblRDPPie tr td{
    padding:    2px 7px 2px 7px
  }

  .tblRDPPie tr td button{
    color:      #0066CC;
    text-align: center;
    max-width:  100px
  }

  .tblRDPPie tr>td:nth-child(1){width:20%}
    .tblRDPPie tr>td:nth-child(1) button{color: red;}
  .tblRDPPie tr>td:nth-child(2){width:15%}
  .tblRDPPie tr>td:nth-child(3){width:30%;text-align: right}
  .tblRDPPie tr>td:nth-child(4){width:auto;text-align: right}



.tblRDPTit{
  background:       #eaeaea;
  width:            100%;
  color:            #000;
  border-collapse:  separate;
  border-spacing:   1px;
  font:             0.9em "Helvetica Neue","sans serif", "verdana"
}
  .tblRDPTit tr td{
    padding:  3px;     /* border:   1px solid red */
  }

  .tblRDPTit tr td #rodeo, #toro, #planillaNum{
    padding:        5px 2px 5px 2px;
    width:          35px
  }
  #carneros{
    padding:        5px 2px 5px 2px;
    width:          35px
  }

  .tblRDPTit tr>td:nth-child(1){width:40px; text-align: right}
  .tblRDPTit tr>td:nth-child(2){width:35px; text-align: left; border-right:1px solid silver}
  .tblRDPTit tr>td:nth-child(3){width:65px; text-align: right}
  .tblRDPTit tr>td:nth-child(4){width:35px; text-align: left; border-right:1px solid silver}
  .tblRDPTit tr>td:nth-child(5){width:65px; text-align: right; color:#0066ff}
  .tblRDPTit tr>td:nth-child(6){width:35px; text-align: right}
  .tblRDPTit tr>td:nth-child(7){width:60px; text-align: right; border-right:1px solid silver}
  .tblRDPTit tr>td:nth-child(8){width:auto; text-align: right;padding-right:3px}





.tblRDP{
  background:       #fff;
  max-width:        99%;
  color:            #000;
  border-collapse:  collapse;
  font:             0.9em "Helvetica Neue","sans serif", "verdana";
  box-sizing:       border-box;
}
  .tblRDP .tbody{
    background:   #fff;
    text-align:   left;
    color:        #000;
    font-size:    1em
  }
  .tblRDP .thead{
    background:   gray;
    text-align:   center;
    color:        #fff;
    font-size:    1em
  }
  .thead td{
    text-align:   center  !important;
    color:        #fff    !important
  }

  .tblRDP tr:hover{
    background-color:  #FFFF99;
  }
  .tblRDP tr td{
    padding:        3px 3px 3px 2px;
    box-sizing:     border-box;
    /* cursor:         default */
  }/* ;border:1px solid #eaeaea*/

  .tblRDP tr td input{
    padding:        1px;
    background:     none;
    border:         1px solid silver;
    width:          86px;
    text-align:     right;
    box-sizing:     border-box;
  }

  .tblRDP tr>td:nth-child(1){width: 19%;   text-align: right}
  .tblRDP tr>td:nth-child(2){width: 7%;    text-align: left; color: #336600}
  .tblRDP tr>td:nth-child(3){width: auto;  text-align: left}
  .tblRDP tr>td:nth-child(4){width: 18%;   text-align: left}

  .btnRDP, .btnWCPC{
    background: #fff;
    color:      #0066ff;
    border:     1px solid silver;
    margin-top: 3px;
    cursor:     pointer;
    width:      60px;
    padding:    4px
  }
  .btnRDP2{
    background: #fff;
    color:      #0066ff;
    border:     1px solid silver;
    margin-top: 3px;
    cursor:     pointer;
    width:      80px;
    padding:    4px
  }

  .lblTactadas{
    margin-bottom: 4px;
    font-size:     0.8rem;
  }
    #inRDPChk{
      margin:  0px;
      width:   20px;
    }



/******** SANIDAD DE LOS LOTES ********/
/*.divSaniLote{
  color:      #fff;
  font-size:  3px
}*/
.divBovS{
  /* display:  none */
}

#inSaniRep{
  width:        100px;
  font-size:    1em;
  background:   none;
  border:       none;
  padding-top:  4px;
  padding-left: 20px;
  color:        rgb(204,0,0)
}


.tblSanidad{
  padding:          1px;
  border-collapse:  separate;
  border-spacing:   0.5px 5px;
  font-size:        1.2em;
  background:       var(--celesteTotales) /*2026-10-07 Nestor: antes #CCFFCC verde agua*/;
}
  .tblSanidad tr{
    border:     1px solid #D0D0D0;
    background: #fff
  }
  .tblSanidad th{
    border:       1px solid #D0D0D0;
    padding:      2px;
    font-size:    0.7em;
    font-weight:  normal;
    background:   #E0E0E0;
    color:        gray;
    cursor:       default
  }
  .tblSanidad th{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis }   /*2026-11-02: a 390 px "Tratamiento" se montaba sobre "Cant"*/
  .tblSanidad tr> th:nth-child(1){width: 80px} /*fecha dd-mm-aa. 2026-11-02, Néstor ("que no pase eso de que corta la fecha"): ancho fijo, antes 12%. 03-11, #238 (Natalia: "el segundo caracter del año se ve cortado"): 62 -> 80, en Windows la letra es Verdana (medido: 69 px de texto)*/
  .tblSanidad tr> th:nth-child(2){width: auto}  /*tratamiento*/
  .tblSanidad tr> th:nth-child(3){width: 38px}  /*cant. 2026-11-02: ancho fijo para los números (antes 7%: a 390 px se cortaba)*/
  .tblSanidad tr> th:nth-child(4){width: 22%}   /*obs. 03-11: 30% -> 22%, con la fecha a 80px el tratamiento quedaba partido a 390 px*/
  .tblSanidad tr> th:nth-child(5){width: 30px}  /*fecha próxima: + n días*/
  .tblSanidad tr> th:nth-child(6){width: 38px}  /*kgs prom del lote. 2026-11-02: antes 6%, "210" bajaba de renglón*/


  .tblSanidad td{
    border:     1px solid #D0D0D0;
    padding:    3px 2px 2px 2px;
    font-size:  0.7em
  }

  .tblSanidad tr> td:nth-child(1){width: 80px; text-align:left; white-space:nowrap; overflow:hidden; cursor:pointer} /*2026-11-02: una sola línea, el tamaño de las demás (antes 0.6em)*/
  .tblSanidad tr> td:nth-child(2){width: auto;text-align:left}
  .tblSanidad tr> td:nth-child(3){width: 38px; text-align:right; white-space:nowrap}
  .tblSanidad tr> td:nth-child(4){width: 22%; text-align:left}
  .tblSanidad tr> td:nth-child(5){width: 30px; text-align:right; white-space:nowrap}
  .tblSanidad tr> td:nth-child(6){width: 38px; text-align:right; white-space:nowrap}
  /*2026-10-27, Néstor ("los números a la derecha y el texto a la izquierda"): los nombres de columna, como su columna (heredaban el
    centrado del body)*/
  .tblSanidad tr> th:nth-child(1), .tblSanidad tr> th:nth-child(2), .tblSanidad tr> th:nth-child(4){ text-align:left }
  .tblSanidad tr> th:nth-child(3), .tblSanidad tr> th:nth-child(5), .tblSanidad tr> th:nth-child(6){ text-align:right }
























/*reportes por tipos=categorías*/
#divTiposRep{
  /* margin: 0 auto; */
  width: 500px;
  margin-top: 0;
  background: none;
  display:    none;
  text-align: left;
  padding:    1px 0;
  float: left;
}

.tblTipoCantRep{
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  separate;
  border-spacing:   1px 3px
}
  .tblTipoCantRep tr td{
    padding:        2px 5px 2px 5px;
    border-bottom:  0.6px solid silver
  }
  .tblTipoCantRep tr:hover{
    background-color:  #FFFF99;
  }

  .tblTipoCantRep tr td:nth-child(1){width: 200px;  text-align:left}
  .tblTipoCantRep tr td:nth-child(2){width: 100px;  text-align:right}
  .tblTipoCantRep tr td:nth-child(3){width: 50px;   text-align:right}


/*hacia / desde en rotación */
.divHD{
  float:          right;
  padding-right:  2px;   /* padding-left: 2px; */
  background:     #fafadb;
  width:          113px;
  font-size:      0.99em;
}


/*lamadas desde el menucito*/
.divs{
  width:      100%;
  float:      left;
  height:     100%;
  overflow:   hidden;
  background: #fff;
  padding:    0;
  display:    none
} /*antes #dfdfdf*/

.divsCortas{width:100%;float:left;height:380px; overflow:hidden;background:#fff;padding:10px;display:none;border:1px solid gray;font-size:1.4em;color:gray} /*antes #dfdfdf*/



.divHeader{
  float:    left;
  width:    100%;
  padding:  30px
}



.divMenu{
  float:            left;
  width:            100%;
  padding-top:      3px;
  padding-bottom:   3px;
  background:       var(--azulPiedra);
}

.menuUl{
      float:            left;
      list-style-type:  none;
      margin:           0;
      width:            100%;
      padding:          3px 0 5px 0;
      overflow:         hidden;
      background:       none;
      height:           44px
  }






.tblMenuLi{
  width:            100%;
  background:       black;
  color:            #fff;
  border-collapse:  separate;
  border-spacing:   6px 0;
}
  .tblMenuLi tr td{
    padding:    0;
    text-align: center;
       /* border:     0.5px solid #303030 */
  }

  .tblMenuLi tr td:nth-child(1){width: auto}
  .tblMenuLi tr td:nth-child(2){width: 11%}
  .tblMenuLi tr td:nth-child(3){width: 11%}
  .tblMenuLi tr td:nth-child(4){width: 11%}
  .tblMenuLi tr td:nth-child(5){width: 11%}
  .tblMenuLi tr td:nth-child(6){width: 11%}
  .tblMenuLi tr td:nth-child(7){width: 11%}
  .tblMenuLi tr td:nth-child(8){width: 11%}
  .tblMenuLi tr td:nth-child(9){width: 11%}

  .menuLi{ /*menu principal*/
    width:        100%;
    padding:      8px 0 0 3px;
    /* width:        50px; */
    /* height:       44px; */
    /* display:      block; lo saco pq al refrescar se ven todos*/
    cursor:       pointer;
    text-align:   center;
    /* display:      none; */
    /* border:  1px solid lime; */
  }
  /* 2026-10-01, Nestor: "sin borde blanco y que no se muevan". Este borde de 1px aparecia solo al pasar el mouse y
     agrandaba el icono del menu 2px (lo empujaba). El rojo lo pone el boton que lo contiene (button:hover).
  .menuLi:hover{
    border:           1px solid #fff;
  } */

  .liLedA{ /*leds*/
    float:        left;
    padding:      0;
    width:        45px;
    display:      none;
    margin:       10px 10px 5px 10px;
    cursor:       pointer;
    text-align:   center;
    z-index:      4
  }

  .menuLiHH{
    float:          left;
    list-style-type:none;
    margin:         0;
    padding:        3px 5px 0 0;
    overflow:       hidden;
    background:     none     /* border:       1px dashed yellow */
  }

  .menuLiH{
    float:          left;
    list-style-type:none;
    margin:         0 0 0 10px;
    padding:        3px 5px 0 0;
    overflow:       hidden;
    background:     none
  }
    .menuLiH a{
      color:            white;
      text-align:       center;
      padding:          4px 5px 0 5px;
      text-decoration:  none;
      border:           0;
      height:           30px;
      font-size:        1em
    }
    .menuLiH a:hover{ background-color: red}
    .menuLiH a:active{background-color: #4CAF50}



  .menuLiLeft{
    text-align: center;
    width:      auto;
    margin-left:0;
  }

  .menuLiRight{
    float:      left;
    text-align: center;
    padding:    4px 0 0 0;
    width:      auto;
    margin-left:1px;
    border:     0
  }
  .menuLiRight a{
    color:            white;
    text-align:       center;
    padding:          4px 5px 0 5px;
    text-decoration:  none;
    border:           0;
    height:           30px;
    font-size:        1em
  }
  .menuLiRight a:hover{ background-color: red}
  .menuLiRight a:active{background-color: #4CAF50}

  .menuLiMsg{
    float: left;
    margin:0 2px 0 3px;
    padding-top:6px;
  }
  .menuLiMsg a{
    width:            100%;
    padding:          4px 1px 0 1px;
    text-align:       center;
    text-decoration:  none;
    color:            white;
    font-size:        0.8em
  }
  .menuLiMsg a:hover{ background-color: red}
  .menuLiMsg a:active{background-color: #4CAF50}

  .menuLiMsg150{
    float:        left;
    height:       25px;
    width:        150px;
    margin-left:  10px;
    padding-top:  7px;
  }
  .menuLiMsg250i{
    float:        left;
    width:        250px;
    margin-left:  10px;
    padding-top:  7px;
    font-style:   italic;
    color:        #fff
  }






/*flechas*/
.arrow-upW {
  float:         right;
  width:         0;
  height:        0;
  border-left:   7px solid transparent;
  border-right:  7px solid transparent;
  border-bottom: 7px solid #fff;
  margin-top:    10px;
  margin-left:   4px;
}

.arrow-downW{
  float:        right;
  width:        0;
  height:       0;
  border-left:  7px solid transparent;
  border-right: 7px solid transparent;
  border-top:   7px solid #fff;
  margin-top:   7px;
  margin-left:  4px;
}

.arrow-upB{
  float:         right;
  width:         0;
  height:        0;
  border-left:   7px solid transparent;
  border-right:  7px solid transparent;
  border-bottom: 7px solid #0066FF;
  margin-top:    10px;
}

.arrow-downB{
  float:        right;
  width:        0;
  height:       0;
  border-left:  7px solid transparent;
  border-right: 7px solid transparent;
  border-top:   7px solid #0066FF;
  margin-top:   7px;
}

/*Totales*/
/*contenedor de flechas*/
.divOutArrow{
  float:    right;
  padding: 10px 5px 0px 5px;
  /* border:   1px solid black; */
  cursor:   pointer;
}
  .divOutArrow:hover{
    background: red;
    /* border-top: 5px solid #fff; */
  }
.aDownGray{
  float:          right;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #a0a0a0;
  border-bottom: 7px solid transparent;
  margin-top:     7px;
  margin-right: 2px;
  /* display:        block; */
}

  /*.aDownGray:hover{
    border-top: 5px solid #fff;
  }*/
  /*flecha para todas las categorías*/
.aDownBig{
  float:          right;
  border-left:    8px solid transparent;
  border-right:   8px solid transparent;
  border-top: 10px solid #3d87f6;
  border-bottom:  8px solid transparent;
  /* margin-top:     7px; */
  /* margin-right:   3px; */
  /* display:        block; */
}
  .aUpBig{
    float:          right;
    border-left:   8px solid transparent;
    border-right:  8px solid transparent;
    border-bottom: 11px solid red;
    display:       none                        /* margin-top:     7px; */  /* margin-right:   3px; */  /* display:        block; */
  }
  .aUpGray{
    float:          right;                                      /* float:         right; */  /* width:         0; */  /* height:        0; */
    border-left:   8px solid transparent;
    border-right:  8px solid transparent;
    border-bottom: 8px solid #a0a0a0;
    margin-bottom: 9px;                           /* cursor:         pointer; */
    display:       none
  }





.tblApp1{
  width:      100%;
  background: #EFEFEF;
  border-collapse:  collapse;
  color:      #202020
}
  .tblApp1 td{padding:1px} /*; border:1px solid silver*/

  .tblApp1 tr td:nth-child(1){
                             width:       39px;
                             text-align:  center;
                             border:      0.5px solid silver;
  }
    .tblApp1 tr td:nth-child(1) span{
                             font-size:   1.2em;
                             color:       #0066cc;
                             cursor:      pointer;
    }
    .tblApp1 tr>td:nth-child(2){width:auto}
    .tblApp1 tr>td:nth-child(3){
                                width:      100px;
                                color:      #ff6600;
                                font-size:  0.8em;
    }
    .tblApp1 tr>td:nth-child(4){width:85px; text-align:center}

.tblAppPot{
  background:       #EFEFEF; 
  font-size:        1em;
  color:            #606060;
  border-collapse:  separate;
  border-spacing:   2px 1px
}
  .tblAppPot tr{height:   35px}
  .tblAppPot td{padding:  1px}
  .tblAppPot tr td:first-child {width:131px;text-align:left; cursor:default}
  .tblAppPot tr>td:nth-child(2){width:33%;  text-align:left; cursor:default}
  .tblAppPot tr>td:nth-child(3){width:auto; text-align:left}
  .tblAppPot tr td:first-child >a{  color:#0066CC;  text-decoration:none}


.tblApp2{
  background:       #faf8f8;
  font-size:        1em;
  color:            #606060;
  border-collapse:  separate;
  border-spacing:   5px 1px;
  table-layout:     auto;
  width:            100%
}
  .tblApp2 td{
    padding:1px 1px 3px 1px;
    /* border: 1px solid gray; */
  }
  .tblApp2 tr td:nth-child(1){  width:30%;     text-align:left}
  .tblApp2 tr td:first-child>a{ color:#0066CC; text-decoration:none}
  .tblApp2 tr>td:nth-child(2){  width:34%;     text-align:left}
  .tblApp2 tr>td:nth-child(3){  width:auto;    text-align:left}


/*---------------------------*/
.dUsuarioCreaLoteCancelar{
  background: #fff;
  float:      right;
}
  .dUsuarioCreaLoteCancelar:hover{
    background: #FFFF66;
  }

.tblNuevoLote{
  background:       #faf8f8;
  font-size:        1em;
  color:            #606060;
  border-collapse:  separate;
  border-spacing:   5px 1px;
  table-layout:     auto;
  width:            100%
}
  .tblNuevoLote td{
    padding:1px 1px 3px 1px;
  }
  .tblNuevoLote tr td:nth-child(1){  width:35%;     text-align:left}
    .tblNuevoLote tr td:first-child>a{ color:#0066CC; text-decoration:none}
  .tblNuevoLote tr>td:nth-child(2){  width:30%;     text-align:left}
  .tblNuevoLote tr>td:nth-child(3){  width:auto;    text-align:left}
/*---------------------------*/


.tblApp2P{  /* table-layout:     initial; */
  background:       #EFEFEF;
  font-size:        1em;
  color:            #606060;
  border-collapse:  separate;
  border-spacing:   5px 1px;
  table-layout:     auto;
  width:            100%;
}
  .tblApp2P td{padding:1px 1px 3px 1px; }

  .tblApp2P tr td:nth-child(1){  width:30%;   text-align:left}
    .tblApp2P tr td:first-child>a{ color:#0066CC; text-decoration:none}
  .tblApp2P tr>td:nth-child(2){  width:34%;   text-align:left;padding-right:3px; font-size:0.9em}
  .tblApp2P tr>td:nth-child(3){  width:auto;   text-align:left;padding-right:3px; font-size:0.9em}


.tblApp2N{
  background:       #EFEFEF;
  font-size:        1em;
  color:            #606060;
  border-collapse:  separate;
  border-spacing:   5px 1px
}
  .tblApp2N td{padding:1px 1px 3px 1px} /*; border: 0.5px dashed gray*/
  .tblApp2N tr td:nth-child(1){  width:32%;    text-align:left}
    .tblApp2N tr td:first-child>a{color:#0066CC; text-decoration:none}
  .tblApp2N tr>td:nth-child(2){  width:68%;     text-align:left}
    .tblApp2N tr>td:nth-child(2) text-area{     width:200px}
  .tblApp2N tr>td:nth-child(3){  width:auto;   text-align:right;padding-right:3px; font-size:0.9em}


.divTblApp2MRV{
  float:  right;
  width:  75px
}

.aMasDatos{
  text-decoration:  none;
  text-align:       right;
  margin-right: 3px;
  font-size:        1.1em;
  padding: 4px 4px 4px 3px;
  /* border:           1px solid silver; */
}
.divAMDatos{
  width:      100%;
  float:      right;
  text-align: right;
  font-size:  0.8em
}
/*.aMasDatos[data-title]
      .tblApp1 tr td:first-child span[data-title]{
        position:   relative;
        cursor:     pointer
      }

      .aMasDatos[data-title]:hover::before{
        content:      attr(data-title);
        position:     relative;
        top:          1px;
        left:         -10px;             /* display:      inline-block; * /
        padding:      3px 6px;
        background:   #ffffcc;
        color:        #000;
        font-size:    14px;
        font-family:  sans-serif;
        white-space:  nowrap;
        outline:      gray solid 1px
      }*/

/*apartar lotes*/
.divApartar{
  float:    right;
  padding:  5px 10px 1px 1px;
  display:  none
}

#divSeparar{
  position:   absolute;
  left:       35px;
  top:        300px;
  padding:    0px;
  background: rgb(239,239,239);
  display:    none;
  font-size:  1em;
  width:      145px;
  padding:    3px;
  /* color:      silver */
}
  .divSeparar0{
    float:    left;
    width: 120px;
  }

  .divSeparar1{
    background: #ff9900;
    color:      #000;
    width: 120px;
    padding:    6px 5px 5px 25px;
    text-align: left
  }
    .divSeparar1 span{
      font-size:  0.8em;
    }
    xDSeparar{
      padding:    0px 2px 1px 2px;
      float:      left;
      width:      100%;
      text-align: right
    }
  /*para mensajes!*/
  #divSeparar2{
    float:      left;
    background: #fff;
    color:      #000;
    width: 100%;
    padding:    0px 3px 3px 3px;
    display:    none;
    background: none
  }
    #taDivSep2{
      background: #fff;
      color:      #000;
      width:      99%;
      height:     40px;
      padding:    3px;
      resize:     none;
      font-size:  1.1em
    }


  #divSeparar table{
    width:            120px;
    background:       #ff9900;
    border-collapse:  separate;
    border-spacing:   2px;
    /* margin-left:      10px; */
  }
    /*#divSeparar table tr{
    }*/
    #divSeparar table td{          /* border:               1px solid gray; */
      padding:              0px;
      height:               23px;
      background:           #fff;
      /* user-modify:          read-write; */
      /* -webkit-user-modify:  read-write; */
      /* -moz-user-modify:     read-write; */
  }
    #divSeparar table input{
      width:      53px;
      border:     none;
      padding:    2px;
      color:      #000;
      font-size:  1em
    }





.tblLluviaPorMes{
  background:       #efefef;
  color:            gray;
  display:          none;
  font-size:        1em;
  border-collapse:  separate;
  border-spacing:   1px 1px;
}
  .tblLluviaPorMes td{padding:2px 4px 2px 4px} /*; border:1px dashed red*/
  .tblLluviaPorMes tr td:first-child {width:100px; text-align:left}
  .tblLluviaPorMes tr>td:nth-child(2){width:150px; text-align:left}
  .tblLluviaPorMes tr>td:nth-child(3){width:auto}
  .tblLluviaPorMes tr>td:nth-child(4){width:30px}

  .inMes{
    background: none;
    width:      100%;
    font-size:  1.1em;
    border:     none
  }
  .inMm{
    background  :#fff;
    width:      35px;
    font-size:  1.1em;
    text-align: right
  }
  .inTot{
    width:      30px;
    /* font-size:  0.4em; */
    background: none;
    border:     none;
    text-align: right
  }




.sel{
  width:              100%;
  padding: 4px;
  font-size:          1.0em;
  color:              #202020;
  background:         #fff;
  text-indent:        .01px;
  /* text-overflow:      ''; */
}
/* select::-ms-expand{display:none} */
select option { color: black; }            /* select option:first-child{color: green} */

.selNegoCpny{
  width: 280px;
  padding:            3px;
  font-size:          1.0em;
  color:              #0066FF;
  background:         #fff;
  /* text-indent:        .01px; */
  /* text-overflow:      '' */
}
/*select moneda*/
.selMone{
  width:              100%;
  appearance:         none;
	/* -webkit-appearance: none; */
  height:             25px;
  padding:            0px 0px 0px 3px;
  font-size:          1.0em;
  color:              #0066CC;
  background:         #fff;
  text-indent:        .01px;
  /* text-overflow:      ''; */
  cursor:             pointer
}
  .selMone option{
    /* padding: 3px 1px 2px 3px; */
    color:   #0066CC;
  }
  .selMone option:hover{
    color:   red;
  }


/*nacimientos*/
.divPVOI{
  /* border:       0.6px solid red; */
  padding:      4px 3px 4px 0px;
  font-size:    11px;
  float:        left
}
  .spnPVOI{
    font-size:    12px;
    float:        left;
    margin-right: 4px;
    padding-top:  6px
  }
.spnNacAca{
  float:      left;
  border:     1px solid red;
  width:      20px;
  height:     20px;
  background: #fff;
  font-size:  12px;
  /* margin-bottom:  4px; */
}

.divNaci{
  float:      left;
  width:      70px;
  padding:    4px 3px 4px 0px;
  font-size:  11px;
}

.tblNac{
    width:            100%;
    border-collapse:  collapse;
    box-sizing:       border-box;
    padding:          0px;
    background:       none;
    /* display:          block; */
  }
    /*.tblNac tr td{
      border:1px solid gray;
    }*/
    .tblNac tr>td:nth-child(1){width:55px}
    .tblNac tr>td:nth-child(2){
      width:        30px;
      font-size:    0.8em;
      padding-top:  2px;
      text-align:   right
    }
    .tblNac tr>td:nth-child(3){
      width:        auto
      padding-top:  2px;
    }
    .tblNac tr>td:nth-child(4){width:23px}

  .inMMAA{
    width:        15px;
    font-size:    0.9em;
    text-align:   right;
    margin-left:  1px;
  }
  .inPVOI{
    width:        16px;
    font-size:    12px;
    text-align:   right;
    margin-left:  1px;
  }

/*cambiar por input !!!*/
#bovNacDia{
  width:        20px;
  height:       20px;
  margin-left:  1px;
  float:        left;
  background:   #fff;
  font-size:    0.9em;
  text-align:   right;
  border:       1px solid black;
}



.inNroPot{
  width:      40px;
  font-size:  1.1em;
  padding:    4px;
  text-align: right;
  background: none
}
.inNro{
  width: 50px;
  font-size:  1.1em;
  padding: 2px 4px 2px 4px;
  text-align: right;   /*2026-10-27, Néstor: los números a la derecha (Sanos, Muertos, Enfermos del lote)*/
}

.inNro100{
  width:      100%;
  font-size:  1.1em;
  padding:    4px;
  text-align: right   /*2026-10-27: números a la derecha (nacidos machos/hembras)*/
}

.inNro2{
  width:        62px;
  font-size:    1.1em;  /* padding: 1px; */
  text-align:   right;  /* border:       0; */
  margin-left:  5px;
  margin-right: 0px;
}
.inNro3{
  width:        45px;
  font-size:    1.1em;
  padding:      2px;
  text-align:   right;
  border:       0;
  margin-left:  3px
}

.inHB{
  width:      50px;
  float:      left;
  margin:     3px 0 0 30px;
  border:     0;
  font-size:  0.9em;
  background: none;
  color:      #000
}
.inHB1{
  width:      50px;
  float:      left;
  margin:     3px 0 0 5px;
  border:     0;
  background: none;
  font-size:  1em;
  text-align: left;
  /* color:      #800000 */
}
.inHB2{
  width:      30px;
  float:      left;
  margin:     3px 0 0 5px;
  border:     0;
  font-size:  1em;
  text-align: left;
  padding-left:3px
  /* color:      #800000 */
}

.inH1{
  width:      55px;
  float:      right;
  /* margin:     3px 0 0 5px; */
  border:     0;
  font-size:  1em;
  text-align: right;
  /* color:      #800000 */
}
.inH2{
  width:      25px;
  float:      right;
  /* margin:     3px 0 0 5px; */
  border:     0;
  font-size:  1em;
  text-align: right;
  color:      #262626
}

.inDicose{
  width:      100px;
  font-size:  1.1em;
  padding:    4px;
  text-align: left;
  color:      #606060;
  border:     0;
  background: none
}


.decoN{text-decoration:none;color:#ff6;font:16px "Microsoft JhengHei Light","sans serif","verdana"}

.negoAgro{color:#fff;font:20px "Microsoft JhengHei Light","sans serif","verdana"}

.fecha{
  max-width:  120px;
  text-align: center;
  padding:    4px;
  font-size:  1.1em;
  border:     1px solid #fff;
}
.taNotas{
  width:      100%;
  height:     100px;
  font-size:  1.4em;
  padding:    4px;
}
.taNotasBOE{width:96%;height:40px;font-size:1.4em;padding:4px}

/* potreros. divPotNN, NN: N° y Nombre */
.divPotNN{
  max-width: 421px;
  min-width: 300px;
  position:   absolute;
  top:        160px;
  left:       4px;
  background: #fff;
  height:     265px;
  overflow-x: hidden;
  overflow-y: auto;
  z-index:    3;
  display:    none;
}

  .selDivPot{
    width:              100%;
    height:             260px;
    padding:            10px;
    font-size:          1.0em;
    color:              #0066CC;
    background:         #fff;
    border-color:       #D0D0D0;
    text-indent:        .01px;
    text-overflow:      '';
    cursor:             pointer
  }
    .selDivPot option{
      padding: 3px 1px 2px 3px;
      color:   #0066CC;
    }
    .selDivPot option:hover{
      color:   red;
    }


.potHas{
  width:      60px;
  font-size:  1.1em;
  color:      #202020;
  padding:    3px 2px 3px 2px;
  text-align: right;
  background: none;
  border:     1px solid #F0F0F0;
}
  .potHas:hover{
    background: #fff;
    border:     1px solid gray;
    color:      #000
  }
.potHa{
  width: 40px;
  font-size:  1em;
  color:      #202020;
  padding:    3px 2px 3px 2px;
  text-align: left;
  background: none;
  border:     1px solid #F0F0F0;
}
  .potHa:hover{
    background: #fff;
    border:     1px solid gray;
    color:      #000
  }

#potConeat{
  width: 35px;
  font-size:  1.1em;
  color:      #202020;
  padding:    5px 3px 5px 0;
  text-align: right;
  background: none;
  border:     1px solid #F0F0F0;
}
  #potConeat:hover{
    background:#fff;
    border:1px solid gray;
    color:      #000
  }

#potNombre{
  width:      100%;
  font-size:  1.1em;
  color:      #202020;
  padding:    5px;
  background: none;
  border:     1px solid #F0F0F0
}
  #potNombre :hover{
    background: #fff;
    color:      #000
  }

.inPotKgs{
  width: 80px;
  color:        #ff6600;
  background:   none;
  font-size:    16.64px; /*REVISAR ESTOS TAMAÑOS, LÍO CON EL em*/
  text-align:   right;                             /* margin-right: 4px; */
  border:       0;
  cursor:       default
}

#spaPotKgsHaP{
  font-size:  0.7em;
  color:      green;
  cursor:     default
}




/*lista de totales de animales*/
/*#divOutTot{
  width:          100%;
  float:          left;
  padding:        1px;
  margin-bottom:  5px;
  background:     #33CCFF;
  font-size:      1em;
  box-sizing:     border-box;
} */


/*Totales*/
#secTotales{
  float:          left;
  display:        none;
  width:          100%;
  max-width:      550px;
  float:          left;
  padding:        1px 1px 20px 1px;
  margin-bottom:  20px;
  background:     var(--azulPiedra);
  font-size:      0.8rem;
  position:       relative; /*ancla para los popups .divCatCombo/.divRazaCombo (categoría/raza)*/
}

  .sRepro{
    padding:  5px 0px 5px 10px;
    float:    left;
  }

  .divTitTotales{
                float:      left;
                width:      100%;
                padding:    3px;
                background: #334155; //#33CCFF;
                color:      #FFF
  }

    .divTitTot{
                  float:      left;
                  width:      100%;
                  padding:    1px 3px 2px 3px;
                  /* background: #33CCFF; */
                  color:      #FFF;
                  box-sizing: border-box;
                  display:    none
    }
    .divTitTot1{
      float:  left;
      width:  calc(100% - 40px)
    }
      .divTitTot11{
        float:        left;
        padding-top:  6px
      }
    .divTotTit{
      float:        left;
      width:        100%;
      padding-top:  8px;
      padding-left:  8px;
    }

    /* .divTotTit div{border:1px solid #fff} */

      .divTotTit .divTotCatCar{
          float:        right;
          /* width: 160px; */
          font-size:    0.95em;
          /* padding-top:  5px; */
          margin-left: 15px;
          text-align:   center
      }
    /* 2026-09-17: se eliminaron .divTotTit1 y .divTotTit1 span junto con el div #divTotalesLin2
       (la "linea 2" de los titulos de Totales, con los links al Registro De Procreo, que ya estaban
       comentados hace tiempo). Eran las dos unicas reglas de esa clase y solo las usaba ese div.
       .divTotTit NO se elimino: la usa tambien la linea 1 de los titulos de Totales. */

    #aTotCara{
      display: none
    }

  /*en divTitTotales, Totales*/
  .inCampoNom{
    font-style:   italic;
    font-size:    0.9em;
    border:       0;
    padding:      0;
    width:        141px;
    color:        #fff;
    background:   none
  }                                           /* #divTitTotales>div{padding-left:3px} */

  #divTotales{
              float:      left;
              font-size:  0.8rem;
              width:      100%;
              padding:    0px 0 10px 0;
              /* display:    none; */
              background: #fff;   /*#CCFFFF;*/
              font:       1em "Microsoft JhengHei","sans serif","verdana"
  }                                                                                    /* #divTotales div{border: 0.5px solid silver} */

  /*#divTotales{
    border:   1px solid black
  }*/

.inTotQ{
  float: left;
  border:   1px solid silver;
  width: 35px;
  /* font-size: 0.9em; */
  text-align: right;
  /* margin-right: 2px; */
}


  .dTr{
    width:        100%;
    float:        left;
    /* background: #ccffff; */
    font-size:    1em;
    padding-top:  7px;
    border-top: 5px solid #fff;
    /* border: 0.5px solid #808080; */
    /* margin-top:   5px; */
  }
    .dTr input{
      font-size:    0.9em;
    }

    /*línea amarilla al final de Totales*/
    .divTrTot{
      width:      100%;
      float:      left;
      margin:     10px 0 0 0;
      background: #FFFF99;
      border-top: 1px solid #E4E4E4
    }

    .divTotCrear1{
      float:        left;
      padding-top:  8px
    }

  /* ===========================================================================================
     CORRECCION 2026-09-22, reportado por Nestor ("esto es inadmisible"): en la lista de potreros de
     Totales las columnas se montaban unas sobre otras -- el N° de potrero caia sobre Bovinos y las
     hectareas sobre Bovinos tambien, y el titulo se leia "HasBov" pegado.

     LA CAUSA, medida con el CSS real:
       1) .dColPot llevaba  width: 140px !important  SIEMPRE. Esos 140px tienen sentido solo de
          650px para arriba, que es donde se muestra el NOMBRE del potrero (.dColPotNom pasa a
          display:block y .divColP a 200px). Por debajo de 650 el nombre esta oculto, la celda mide
          35-38px... y adentro seguia habiendo una caja de 140px. Desbordaba 102px sobre las dos
          columnas siguientes.
       2) .divCol2 -- las hectareas de cada potrero -- era  width: 0px  y solo recibia 30px a partir
          de min-width:432px. O sea: CERO en todos los celulares, y 30px insuficientes en
          escritorio (un "1.250,5" necesita 50).

     NO FALTABA ESPACIO: medido a 475px de ventana, el contenido de la fila entero ocupa 283px de
     los 473 disponibles. Sobraban 190px. El problema era el reparto, no el ancho.

     Los anchos de abajo salen de medir lo que necesita cada columna (el titulo o el dato, lo que
     sea mas ancho) y dejarle aire. Las medidas estan en docs/errores-inicial-2026-09-21.md.
     =========================================================================================== */
    .divCol{
            width:        40px;  /*2026-09-22: 45 -> 40. "Bov" (titulo) necesita 33, "1328" 38*/
            margin-left:  2px;
            float:        left;
            padding:      3px 0 3px 0;
            text-align:   right;
            cursor:       default;
            padding:      3px 0 3px 5px;
    }
    .divColB{ /*solo bovinos en Totales*/
            width:        80px;
            margin-left:  2px;
            float:        left;
            padding:      3px 0 3px 0;
            text-align:   right;
    }


    .divCol0{
            margin-right: 3px;
            width: 30px;
            margin-left: 2px;
            float:        left;
            padding: 1px 2px 1px 1px;
    }

    .divCol2{
            width:        50px;  /*2026-09-22: era 0px. "1.250,5" necesita 50*/
            margin-left:  3px;
            float:        left;
            padding: 3px 0 3px 0;
    }
    .divColP{
            max-width:    150px;
            margin-left:  5px;
            float:        left;
            padding:      3px 0 3px 0;
    }

    /** NUEVO: pastotipo en Totales + Categorías **/
    .divCol12{
            width:      235px;
            float:      left;
            padding:    3px 0 3px 30px;
            text-align: left;
            display:    block;
            color:      #006600;
    }


    .divColP{
            width:      35px; /*ancho normal*/
            float:      left;
            padding:    3px 0 3px 0;
            /* border:     1px solid gray; */
            /* background: #FFCCFF */
    }
    /*.div ColPn{
            margin-right: 3px;
            width:        35px;
            float:        left;
            text-align:   right;
            /* border:     1px dotted red * /
            padding: 1px 1px 1px 1px;
    }*/
    .dColPot{
      /*2026-09-22: era 140px !important en todas las pantallas. Ahora ocupa lo que necesita; los
        140px vuelven en app_media.css a partir de 650px, que es donde se muestra el nombre del
        potrero y la celda tiene lugar de verdad.*/
      width:        auto !important;
      white-space:  nowrap;
    }
    .dColPotNom{
            width:        110px; /*ancho del nombre del pot*/
            float:        left;
            display:      none;
            padding-left: 5px;
            padding-right: 6px; /*2026-09-22: con un nombre largo, "Cañada Grande195" quedaba pegado*/
            overflow:     hidden;
            white-space:  nowrap;
            text-overflow: ellipsis;
            text-align:   left;
            /* border:     1px dashed black */
    }

    .divColU{
      width:        66px;  /*2026-09-22: 80 -> 66. "0,85/0,90" necesita 63*/
      float:        left;
      padding:      3px 0 3px 0;
      text-align:   right;
      margin-left:  5px;
      /* font-size:    1em; */
      color:        green;
      cursor:       default;
      /* border:       1px dotted black; */
    }
    .divColPV{
      width:        48px;  /*2026-09-22: 80 -> 48. "PV/ha" (titulo) necesita 42*/
      float:        left;
      padding:      3px 0 3px 0;
      text-align:   right;
      margin-left:  5px;
      /* font-size:    1em; */
      color:        #000;
      cursor:       default;
      /* border:       1px dashed red; */
    }


    [data-title]:hover:after{
      content:       attr(data-title);
      background:    yellow;
      padding:       5px;
      border-radius: 1px;
      border:        1px solid #eaeaea;
      z-index:       999
    }

    .divColV{
      /* width: 45px; */
      float:        right;
      padding:      3px 0 3px 0;
      text-align:   right;
      margin-left:  5px;
      cursor:       default;
      /* border:       0.7px solid gray; */
      color:        #000;
      /* background:   yellow; */
    }
    .divColVB{  /*solo para bovinos, versión 400 (casao F Bove)*/
      width:        45px;
      float:        right;
      padding:      3px 0 3px 0;
      text-align:   right;
      margin-left:  5px;
      cursor:       default;
      border:       0.7px solid gray;
      color:        #000;
    }

    .divColMap  {
                width:      13px;
                float:      right;
                padding: 4px 1px 0 1px;
                margin-left:  2px;
                text-align: center;
    }

    .divColCat{
      width:        145px; /*2026-10-12 Nestor: con la barra de scroll de Windows (17px) el check y el "-" bajaban a otra linea: -10px*/
      border-right: 0.6px solid #ece8e8;
      float:        left;
      padding:      3px 0 3px 5px;
      /* color:        maroon; */
      /* text-align:   left; */
      /* white-space:  nowrap; */
      /* overflow:     hidden; */
      cursor:       pointer;
      margin-left:  3px;
      margin-right: 3px;
      /* background: none; */
      /* border-right: 1px solid silver; */
      /* font-size: 1em; */
    }

    .divColRaza{
      width:        130px; /*2026-10-12 Nestor: con la barra de scroll de Windows (17px) el check y el "-" bajaban a otra linea: -10px*/
      float:        left;
      padding:      3px 0 3px 5px;
      text-align:   left;
      cursor:       pointer;
      margin-left:  3px;
      font-size: 1em;
    }

    .divColPeso{
      float:        left;
      color:        #000;
      /* padding:      3px 0 3px 5px; */
      margin-top: 4px;
      margin-left: 3px;
      border: 1px solid #eaeaea;
      width: 40px;
    }
      .inTotPeso{                    /* no lo acepta...??? font-size:10px */
        width:      40px;
        padding:    2px 0px 2px 0px;
        border:     none;
        text-align: right;
      }
    .totCreaX{
      float:        right;
      /* padding:      0px 0px 11px 3px; */
      margin-top: 13px;
      /* margin-right: 1px; */
    }

    .btnTotGuarda{
      width: 35px;
      font-size:  1em;
      padding: 0px 0px 0px 5px;
      /* text-align: center; */
    }
    .btnTotMenos{
      width:      12px;
      font-size:  1em;
      padding:    0px;
    }


  /** más 1 fila en Totales NUEVO **/
  /* pointer-events:none */
  .crearLote{
    float:        left;
    margin-left:  40px;
    cursor:       pointer;
    color:        blue
  }
    .crearLote:hover{
      color:        white;
      background:   #FF0000
    }

  .totMas1Fila{
    width:      100%;
    float:      left;
    font-size:  16px;
    text-align: left;
    background: #eaeaea;
    padding: 10px 2px 1px 5px;
  }
      .totMas1Fila1{
        width:    100%;
        float:    left;
        display:  none;
        /* border:         1px solid red; */
        border-bottom:  0.5px solid silver;
        /* border:         1px solid #a5a5a9; */
        background:   #eaeaea;
        padding:      1px 0px 1px 0px;
        text-align:   center
      }                                        /*.totMas1Fila1 div{border:         1px solid #a5a5a9;}*/

    .div1Col0{
      float:        left;
      padding:      3px 5px 3px 5px;
      /* margin-top:   4px; */
      /* border:       1px solid red; */
      width:        45px;
      /* background:   #eaeaea; */
    }
        .in1Pot{
          width:  30px;
          text-align: right
        }

    .div1Col{
      width: 40px;
      float: left;
      padding:      3px 0 3px 5px;
      /* margin-left:  10px; */
    }

    .div1ColCat{
      /* width:        120px; */
      /* border-right: 0.6px solid #ece8e8; */
      /* width:        140px; */
      float:        left;
      padding:      3px 5px 3px 5px;
      /* color:        maroon; */
      text-align:   left;
      white-space:  nowrap;
      overflow:     hidden;
      cursor:       pointer;
      margin-left:  1px;
      /* margin-right: 3px; */
    }
      .in1Cat{
        width: 130px;
        /* background: lightgreen; */
      }
      .in1Cat:disabled{
        background: #fff;
      }

    .div1ColRaza{
      /* width:        140px; */
      float:        left;
      padding:      3px 5px 3px 5px;
      color:        maroon;
      text-align:   left;
      white-space:  nowrap;
      overflow:     hidden;
      cursor:       pointer;
      margin-left:  1px;
      /* border-bottom: 1px solid silver; */
    }

    .div1ColPeso{
      float:        left;
      padding:      3px 5px 3px 5px;
      /* margin-top:   4px; */
      /* margin-left:  3px; */
      /* border:       1px solid red; */
    }

    .in1Q{
      width: 30px;
    }

    .in1Raza{
      width: 110px;
    }
    .in1Raza:disabled{
      background: #fff;
    }
    .in1Peso{
      /* width:  40px; */
      width: 30px;
    }


  .selTotCat{
    width:          145px;
    padding:        2px;
    font-size:      0.7rem;
    color:          #202020;
    background:     #fff;
    text-indent:    .01px;
  }

  .selTotRaza{
    width:          115px;
    padding:        2px;
    font-size:      0.7rem;
    color:          #202020;
    background:     #fff;
    text-indent:    .01px;
  }

    .divColBtnChk{
      float:        left;
      width:        30px;
      font-size:    1em;
      padding:      4px 0px 0px 0px;
      text-align:   center;
      margin-left:  10px
    }

    .div1ColBtnChk{
      float:        right;
      width: 44px;
      font-size:    1em;
      padding:      4px 0px 0px 0px;
      text-align:   center;
      margin-left: 4px;
    }

    .divColBtnMenos{
      width:        20px;
      float:        left;
      font-size:    1em;
      padding:      4px 0px 0px 0px;
      text-align:   center;
      margin-left:  10px;
    }

    /*flota a la derecha el N° de hato*/
    .divTotHato{
      width:        40px;
      /* padding:      3px 0 3px 5px; */
      float:        left;
      color:        red;
      font-size:    0.9em;
      margin-top:   7px;
      margin-left:  5px;
      /* margin-right: 3px; */
    }
    .inTotCat{
      width:      122px; /*2026-10-12: acompana a .divColCat (-10px)*/
      padding:    2px 0px 2px 0px;
      border:     none;
      background: none;
      font-size: 0.9em;
    }
    .inTotRaza{
      width:      104px; /*2026-10-12: acompana a .divColRaza (-10px)*/
      padding:    2px 0px 2px 0px;
      border:     none;
      background: none;
      font-size: 0.9em;
    }

    .divColCatOvi{
      width:        auto;
      float:        left;
      padding:      3px 0 3px 0;
      color:        #606060;
      text-align:   left;
      white-space:  nowrap;
      overflow:     hidden
    }

    .divColCatEqui{
      width:        auto;
      float:        left;
      padding:      3px 0 3px 0;
      color:        #660066;
      text-align:   left;
      white-space:  nowrap;
      overflow:     hidden
    }

    .divColTot{
      width:      15%;
      float:      left;
      padding:    3px 0 3px 0;
      text-align: right
    }
    .divColTotV{
      width:      auto;
      float:      right;
      padding:    3px 6px 3px 0;
      text-align: right;
      cursor:     default
    }

    .divColPTot{
      width:      35px;
      float:      left;
      padding:    3px 0 3px 0;
      text-align: right
    }

  .divTrTit{
        width:        100%;
        float:        left;
        background:   #dbeafe;
        padding-top: 10px;
        /* 2026-09-22, pedido de Nestor: los titulos de Totales siempre a la vista.
           El scroll de las filas lo hace #divTotFilas (jsTotalesCaja, app_totales.js); esto es la
           red por si esa caja no se arma: aun asi los titulos quedan pegados arriba al scrollear.
           El fondo tiene que ser opaco -- y lo es -- porque las filas pasan por abajo. */
        position:     sticky;
        top:          0;
        z-index:      6;
  }

  /* 2026-09-22: la caja que scrollea, con las filas de potreros. La arma jsTotalesCaja() moviendo
     los nodos, no viene en el HTML. Los titulos quedan arriba y las filas de totales abajo, las dos
     fuera de la caja, asi que no se van de pantalla. El alto lo calcula jsTotalesCajaAlto(). */
  #divTotFilas{
        width:        100%;
        float:        left;
        overflow-y:   auto;
        overflow-x:   hidden;
        -webkit-overflow-scrolling: touch;
  }

  .divTrYes{
      width:    100%;
      /* font-size: 1em; */
      float:    left;
      display:  block;
      border:   0.5px solid rgb(246,246,246);
      border-bottom: 0.5px solid silver;
  }
    .divTrYes:hover{
      background: #FFFFCC
    }

  /*para botón Categorías en Totales*/
  .dCatAll{
    float:    right;
    width:    30px;
    /* padding:  7px 4px 2px 3px; */
    cursor:   pointer
  }
    .catsSwitch{
      width:    5px;
      display:  none;
    }

  .divTrNone{
    width:    100%;
    float:    left;
    display:  none
  }

  .lbl{
    width:      100%;
    display:    block;
    font-size:  10px;
    color:      #303030;
    text-align: center;
    font-style: normal;
    /* border: 1px solid red; */
    /* padding:      3px 0 3px 5px; */
  }

/*combo de categorías en Totales*/
.divCatCombo{
  background:   #fff;
  /* border:       3px solid silver; */
  /* box-shadow:   0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
  /* box-shadow:   rgba(255, 255, 255, .4) 0 1px 0 0 inset; */
  width: 145px;
  /* min-height:   130px; */
  position:     absolute;
  top:          100px;
  left:         100px;
  text-align:   left;
  padding:      0px;
  display:      none;
}

/*combo de razas en Totales*/
.divRazaCombo{
  background:   #fff;
  width:        115px;
  position:     absolute;
  top:          0px;
  left:         0px;
  text-align:   left;
  /* padding:      10px; */
  /* z-index:      99999; */
  /* display: none; */
}


/* Historias de potreros, bovinos, ...*/
#divHistoriasOut{
  margin:         0;
  float:          left;
  width:          100%;
  overflow:       hidden;
  background:     var(--azulPiedra); /*verde new bg*/
  display:        none
}

#divHistorias{
  /* border:         1px solid #3CBC8D; */
  margin-bottom:  20px;
  margin-top:     10px;
  background:     none;
  font-size:      1em;
  /* width:          100%; */
  float: left;
}

 /* #divHisBOE{
    float:      left;
    width:      100%;
    padding:    0 3px 0 3px;
    background: #3CBC8D;
    color:      #FFF;
    font-size:  1.2em
  }
  #divHisBOE > div{padding-left:3px}*/

  .tblTecnica{font-size: 0.9em}
  .tblTecnica tr:nth-child(1) td{background:#505050; color:#fff}
  .tblTecnica tr:nth-child(2) td{background:#505050; color:#fff}

  .tblTecnica td{padding:3px 2px 3px 2px} /*; border:1px dashed red*/
  .tblTecnica tr>td:nth-child(1){width: 50px}
  .tblTecnica tr>td:nth-child(2){width: 50px}
  .tblTecnica tr>td:nth-child(3){width: 35px}
  .tblTecnica tr>td:nth-child(4){width: auto}
  .tblTecnica tr>td:nth-child(5){width: auto}

  .divHisCenter{
    display:        inline-block;
    position:       relative;
    width:          100%;
    /* max-width:      800px; */
    padding-bottom: 2px;
    margin-left: 0px;
    background:     none;
  }

    .repCpny{
      float:        left;
      padding-left: 5px;
      font-style:   italic;
      color:        #eaeaea
    }
    .divHisCenter .repTit{
      float:        left;
      padding-left: 60px;
      color:        #fff
    }

  #hisBovCat{
    width:        40px;
    margin-left:  10px;
    margin-right: 20px;
    background:   #F0F0F0;
    border:       1px solid silver
  }
  #hisBovCat:hover{
    background:   #fff;
    color:        #000
  }

  .tblHistoriasPotTit{
    background:#CCFF99;
    font-size:0.9em
  }
    .tblHistoriasPotTit tr:nth-child(1) td{ color:#006600}
    .tblHistoriasPotTit tr:nth-child(2) td{background:#CCFF99; color:#006600}

    .tblHistoriasPotTit td{padding:5px 5px 5px 5px} /*; border:1px dashed red*/
    .tblHistoriasPotTit tr>td:nth-child(1){width: 20px}
    .tblHistoriasPotTit tr>td:nth-child(2){width: auto}
    .tblHistoriasPotTit tr>td:nth-child(3){width: 70px;text-align:right}
    .tblHistoriasPotTit tr>td:nth-child(4){width: 50px;text-align:right}
    .tblHistoriasPotTit tr>td:nth-child(5){width: 50px;text-align:right}

  .tblHistoriasPot{
    background:       #fff;
    font-size:        0.9em;
    border:           1px solid silver;
    margin-bottom:    5px;
    border-collapse:  separate;
    border-spacing:   2px
  }
    /* .tblHistoriasPot tr:nth-child(3) td{background:#FFFFCC; color:#663300} */
    .tblHistoriasPot td{padding:3px 3px 3px 3px} /*; border:1px dashed red*/
    .tblHistoriasPot tr>td:nth-child(1){width: 20px}
    .tblHistoriasPot tr>td:nth-child(2){width: auto}
    .tblHistoriasPot tr>td:nth-child(3){width: 70px;text-align:right}
    .tblHistoriasPot tr>td:nth-child(4){width: 50px;text-align:right}
    .tblHistoriasPot tr>td:nth-child(5){width: 50px;text-align:right}

#divPotreros{
  background: #303030;
  display:    none
}



/*nuevas Historias*/
/*Rep de Historias de Bov y Ovi (lotes)*/
.divTitLote{
  float:      left;
  width:      100%;
  background: #334155;
  padding:    4px;
}

.divBuscaLote{
  padding-top:  5px;
  font-size:    0.8em;
  color:        silver;
  float:        right;
  /* color:        #fff */
}

/*2026-10-30, bitácora #204: Carga del ejercicio (UG/ha), jsRepUGAnual (app_reps.js). Números a la derecha, texto a la izquierda*/
.repUGA{ float: left; width: 100%; max-width: 500px;   /*2026-11-25 (Néstor: "mira el ancho excesivo en reportes"): 720 -> 500, el ancho del menú*/
  background: #fff; text-align: left; padding: 0 0 8px 0; font-size: 0.9em; }
  .repUGATit{ background: #334155; color: #fff; padding: 6px 8px; position: relative; }
  .repUGAX{ position: absolute; right: 4px; top: 2px; }
  .repUGAEsp, .repUGAEj{ padding: 6px 8px 0 8px; }
  .repUGAEsp button{ padding: 2px 10px; margin-right: 4px; cursor: pointer; }
  .repUGAEsp button.activo{ font-weight: bold; border-color: #0047b3; }
  .repUGAEj button{ cursor: pointer; padding: 1px 6px; }
  .repUGAEj button:disabled{ opacity: .35; cursor: default; }
  /*2026-11-03, bitácora #260 (Natalia: "al pasar el mouse sobre los botones debe colorearlos en rojo y las letras blancas, igual que en el resto
    del software"): el mismo rojo de .aX y de los demás botones*/
  .repUGAEsp button:hover, .repUGAEj button:not(:disabled):hover{ }
  .repUGAPer{ color: #555; font-size: 0.9em; }
  .repUGAVacio{ padding: 10px 8px; color: #555; }
  .tblRepUGA, .tblRepUGAEst{ width: calc(100% - 16px); margin: 8px; border-collapse: collapse; }
  .tblRepUGA th, .tblRepUGA td, .tblRepUGAEst th, .tblRepUGAEst td{ padding: 3px 5px; border-bottom: 1px solid #e2e8f0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .tblRepUGA .n, .tblRepUGAEst .n{ text-align: right; }
  .tblRepUGA .t, .tblRepUGAEst .t{ text-align: left; }
  .tblRepUGA thead th, .tblRepUGAEst thead th{ background: #f1f5f9; }
  .tblRepUGA tfoot td{ border-top: 2px solid #94a3b8; font-weight: bold; }
  .tblRepUGA col.cN{ width: 38px; } .tblRepUGA col.cH{ width: 64px; } .tblRepUGA col.cD{ width: 46px; } .tblRepUGA col.cU{ width: 62px; }
  .tblRepUGAEst col.eP{ width: 34px; } .tblRepUGAEst col.eL{ width: 74px; } .tblRepUGAEst col.eA{ width: 46px; } .tblRepUGAEst col.eF{ width: 66px; }
  .tblRepUGAEst col.eD{ width: 38px; } .tblRepUGAEst col.eU{ width: 48px; }
  @media (max-width: 520px){ .tblRepUGAEst col.eL{ width: 50px; } .tblRepUGAEst col.eF{ width: 72px; } .tblRepUGAEst col.eA{ width: 40px; } .tblRepUGAEst col.eC, .tblRepUGAEst .eCat{ display: none; } .tblRepUGAEst col.eC{ width: 0; visibility: collapse; } .repUGA{ font-size: 0.85em; } }
  .repUGASinUG{ margin: 0 8px; color: #92400e; font-size: 0.9em; }
  /*2026-11-02, bitácora #235: Historia de potreros por ejercicio (jsRepHisPotPinta)*/
  .repHPSel{ margin-left: 6px; max-width: 180px; }
  /*2026-11-03, bitácora #254 (Natalia: "volver a formato de diseño anterior"): Historia de potreros y de lotes con la tabla de la pantalla
    de Historias (.tblHisLote): encabezado oscuro, renglones con borde, Días en verde, Peso/Kgs/Kg/día en rojo, fila gris de hoy y celeste del
    total. Anchos en <colgroup> (table-layout fijo, §7); en el celular la tabla se corre de costado adentro de su caja, no la página*/
  .repHisScroll{ overflow: auto; margin: 6px 0 0 0; max-height: calc(100vh - 230px); }
  /*#260 (Natalia: "títulos de las columnas deben quedar fijos, el scroll se hace en las filas"): la caja se scrollea adentro y el encabezado queda*/
  .tblRepHis thead th{ position: sticky; top: 0; z-index: 2; }
  .tblRepHis{ width: 100%; font-size: 0.95em; border-collapse: collapse; border-spacing: 0; background: #fff; table-layout: fixed; }
  .tblRepHisLote{ min-width: 770px; } .tblRepHisPot{ min-width: 490px; }   /*#261: con 690 'Categoría' no entraba a 390 px*/
  .tblRepHis{ overflow: visible; }   /*#260: una tabla con overflow hidden (lo hereda) no deja fijo el encabezado*/
  .tblRepHis thead th{ background: #334155; color: #fff; padding: 5px 3px; border: 0.6px solid #e0e0e0; text-align: center; font-weight: normal;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tblRepHis tbody td{ padding: 5px 3px 5px 4px; border: 0.6px solid #e0e0e0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tblRepHis tbody td.t{ text-align: left; }
  .tblRepHis tbody tr:hover td{ background: #FFFF99; }
  .tblRepHis td.d{ color: #009900; } .tblRepHis td.k{ color: #FF3333; }
  .tblRepHis col.cL{ width: 64px; } .tblRepHis col.cC{ width: auto; } .tblRepHis col.cF{ width: 88px; } .tblRepHis col.cP{ width: 170px; }
  .tblRepHis col.cN{ width: 46px; } .tblRepHis col.cD{ width: 46px; } .tblRepHis col.cW{ width: 50px; } .tblRepHis col.cK{ width: 62px; } .tblRepHis col.cU{ width: 54px; }   /*#261: los títulos enteros (Kg/día, UGhá) también con Verdana*/
  .tblRepHis tr.repHisHoy td{ background: #EFEFEF; }
  .tblRepHis tr.repHisSub td{ background: #dbeafe; }
  .tblRepHis tr.repHisSep td{ background: #F0F0F0; height: 8px; padding: 0; border: none; }
  .tblRepHis tr.repHPPotTit td{ background: #f1f5f9; white-space: normal; }   /*2026-11-04, bitácora #235 (Natalia: "sacar la barra azul que aparece al inicio de la fila de cada potrero"): sin el borde izquierdo*/
  .tblRepHis tr.repHPPotTit span{ color: #555; font-size: 0.9em; }
  .tblRepHis tr.repHPSigue td{ background: #f0fdf4; }
  .tblRepHis tr.repHPMal td{ background: #ffedd5; }   /*#244: "sigue" en la historia pero hoy no está acá; potrero que no existe*/
  .tblRepHis td.repHPNoHis, .tblRepHis td.repHPHoy{ white-space: normal; }
  /*2026-11-03, bitácora #261 (Natalia: "el texto aparece cortado, debe quedar un margen en los bordes y el texto completamente a la vista"): el
    aviso ocupa todo el ancho de la tabla, que en el celular es más ancha que la pantalla. Va en una caja que se queda a la vista al correr la tabla
    de costado (sticky) y no pasa del ancho de la pantalla, con margen*/
  .tblRepHis td.repHPNoHis, .tblRepHis td.repHPHoy{ padding: 0; }
  .repHisAviso{ position: sticky; left: 0; box-sizing: border-box; max-width: min(100%, calc(100vw - 24px)); padding: 6px 10px; white-space: normal; overflow-wrap: anywhere; }
  .repUGA.repHisAncho{ max-width: 900px; }
  .repHPNoHis{ color: #92400e; margin-top: 2px; }
  .repHPNoHis a{ color: #92400e; font-weight: bold; text-decoration: underline; }
  .repHPHoy{ color: #334155; }
  .repHLEditar{ font-size: 1.1em; text-decoration: none; }
  .tblRepHis .repHLBorraTodo, .tblRepHis .repHLBorraTodo .menos{ display: inline-block; vertical-align: middle; }   /*#254: el − (borra toda la historia) al lado del ✎*/
  .repHLResumen{ margin: 6px 8px; }
  .tblRepHis tbody.hisHoyFoco td{ background: #fef3c7; }
  .repHPVacios{ margin: 10px 8px 0 8px; }
  .repHPVacios > summary{ cursor: pointer; }   /*#235: plegado*/
/*2026-10-30, bitácora #210: Stock por potrero a una fecha (jsRepStockPinta)*/
.stkScroll{ width: 100%; overflow-x: auto; background: #fff; }
.tblRepStk{ width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; color: #1f2937; font-size: 0.85em; text-align: left; }
  .tblRepStk thead th{ color: #1f2937; }
  .tblRepStk th, .tblRepStk td{ padding: 3px 4px; border-bottom: 1px solid #e2e8f0; vertical-align: top; overflow: hidden; }
  .tblRepStk thead th{ background: #f1f5f9; }
  .tblRepStk .n{ text-align: right; } .tblRepStk .t{ text-align: left; }
  .tblRepStk col.sP{ width: 150px; } .tblRepStk col.sU{ width: 52px; }
  .tblRepStk .stkLote{ color: #888; font-size: 0.9em; }
  .tblRepStk tr.stkNoExiste td{ color: #92400e; background: #fffbeb; }
  .repUGADet{ margin: 4px 8px; }
  .repUGADet > summary{ cursor: pointer; color: #0066CC; }
  .repUGADet > div{ padding: 4px 0; color: #444; }

/*2026-10-18: "Desde AAAA" y el botón "Ver también AAAA" del reporte de Historias (jsHistoriasAniosBoton)*/
.divHisAnios{
  padding:      3px 12px 0 0;
  font-size:    0.8em;
  color:        silver;
  float:        right;
  white-space:  nowrap;
}
  /*2026-10-30, bitácora #208 (Natalia: "'Desde 2025 Ver también 2024' no se ajusta bien, aparece superpuesta"): .butLst tiene 74px fijos y
    'Ver también 2024' no entraba: el texto salía del botón y pisaba 'Buscar Lote'. Ancho según el texto y separado de lo que sigue*/
  .divHisAnios{ margin-right: 10px; }
  .divHisAnios .butLst{ margin-left: 6px; font-size: 1em; width: auto; padding: 0 8px; white-space: nowrap; }

.tblHisLote{
  width:            100%;
  font-size:        0.9em;
  border-collapse:  collapse;
  border-spacing:   0;
  background:       #fff;
}

  .tblHisLote thead tr{
    background:     #334155; /*celeste #dbeafe*/
    color:          #fff
  }
  .tblHisLote thead th{
    padding:    5px 3px 5px 4px;
    cursor:     default;
    border:     0.6px solid #e0e0e0;
    text-align: center;
    font-weight:normal
  }

  .tblHisLote thead tr>th:nth-child(1){width: 40px}
  .tblHisLote thead tr>th:nth-child(2){width: auto}
  .tblHisLote thead tr>th:nth-child(3){width: 74px}
  .tblHisLote thead tr>th:nth-child(4){width: 190px}
  .tblHisLote thead tr>th:nth-child(5){width: 35px}
  .tblHisLote thead tr>th:nth-child(6){width: 35px}
  .tblHisLote thead tr>th:nth-child(7){width: 40px}
  .tblHisLote thead tr>th:nth-child(8){width: 40px}
  .tblHisLote thead tr>th:nth-child(9){width: 45px}
  .tblHisLote thead tr>th:nth-child(10){width: 40px}

  .tblHisLote tbody tr{                                              /* background:       #fff; */
    margin-bottom:    5px;
  }
  .tblHisLote tbody tr:hover{
    background-color: #FFFF99;
  }

  .tblHisLote tbody td{
    padding:    5px 3px 5px 4px;
    text-align: right;
    cursor:     default;
    border:     0.6px solid #e0e0e0;
  }
  .tblHisLote tbody tr>td:nth-child(1){width: 40px}
  .tblHisLote tbody tr>td:nth-child(2){width: auto; text-align:left}
  .tblHisLote tbody tr>td:nth-child(3){width: 74px}
  .tblHisLote tbody tr>td:nth-child(4){width: 190px; text-align:left}
  .tblHisLote tbody tr>td:nth-child(5){width: 35px}
  .tblHisLote tbody tr>td:nth-child(6){width: 35px; color: #009900}

  .tblHisLote tbody tr>td:nth-child(7){width: 40px;   color: #FF3333}
  .tblHisLote tbody tr>td:nth-child(8){width: 40px;   color: #FF3333}
  .tblHisLote tbody tr>td:nth-child(9){width: 45px; color: #FF3333}
  .tblHisLote tbody tr>td:nth-child(10){width: 40px; text-align:right}







/** Rep Historia de los potreros para versión 100... o todas??? **/
/*nuevas Historias*/
.divTitPot{
  float:      left;
  width:      100%
}
.tblHPot{
  background:       var(--azulMarino);
  width:            100%;
  font-size:        0.9em;
  border-collapse:  collapse;
  border-spacing:   0;
  table-layout:     fixed
}

  .tblHPot thead tr{
    background:       #303030;
    color:            #fff
  }

  .tblHPot thead td{
    padding:    5px 4px 5px 4px;
    text-align: center;
    cursor:     default;
    border:     0.6px solid #e0e0e0;
  }

  .tblHPot thead tr>td:nth-child(1){width: 30px}
  .tblHPot thead tr>td:nth-child(2){width: auto} /*nombre del pot solo width>1300px*/
  .tblHPot thead tr>td:nth-child(3){width: 80px}
  .tblHPot thead tr>td:nth-child(4){width: auto}
  .tblHPot thead tr>td:nth-child(5){width: 40px}
  .tblHPot thead tr>td:nth-child(6){width: 40px}
  .tblHPot thead tr>td:nth-child(7){width: 40px}

  .tblHPot tbody tr{
    background:       #fff;             /* margin-bottom:    5px; */
  }

  .tblHPot tr.bdrBot{background: #dbeafe} /*ex #FFFFCC*/
  .tblHPot tr.bgNone{background: #e0e0e0}
  .tblHPot tr.bgEF{background:   #EFFFFF}

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

  .tblHPot tbody td{
    padding:    5px 4px 5px 4px;
    text-align: center;
    cursor:     default;
    border:     0.6px solid #e0e0e0;
  }

  .tblHPot tbody tr>td:nth-child(1){text-align:right;}
  .tblHPot tbody tr>td:nth-child(2){text-align:left; display:block;white-space:nowrap; overflow:hidden} /*nombre del pot solo width>1300px*/
  .tblHPot tbody tr>td:nth-child(4){text-align:left}
  .tblHPot tbody tr>td:nth-child(5){text-align:right}
  .tblHPot tbody tr>td:nth-child(6){text-align:right; color:#009900; font-weight:bold}
  .tblHPot tbody tr>td:nth-child(7){text-align:right}


/*.tblHPot100{
  background:       #fff;
  width:            100%;
  font-size:        0.9em;  
  margin-bottom:    5px;
  border-collapse:  collapse;
  border-spacing:   0px
}
  .tblHPot100 tr:hover{
    background-color:  #FFFF99;
  }
  .tblHPot100 td{
    padding:  5px 4px 5px 4px;
    border:   0.6px solid #e0e0e0;
    cursor:   default;
  }
  .tblHPot100 tr>td:nth-child(1){width: 30px;   text-align:left}
  .tblHPot100 tr>td:nth-child(2){width: auto;   text-align:left; overflow-x:hidden} /*nombre del pot solo width>1300px* /
  .tblHPot100 tr>td:nth-child(3){width: 80px}
  .tblHPot100 tr>td:nth-child(4){width: auto;   text-align:left}
  .tblHPot100 tr>td:nth-child(5){width: 40px;   text-align:right}
  .tblHPot100 tr>td:nth-child(6){width: 40px;   text-align:right; color:#009900}
  .tblHPot100 tr>td:nth-child(7){width: 40px;   text-align:right}

      .tblHPot100 tr.bdrBot{background: #FFFFCC}*/




/*UG Anual por Potrero*/
.tblUGAPot{
  background:       #fff;
  width:            100%;
  max-width:        460px;
  box-sizing:       border-box;
  font-size:        0.9em;
  margin-bottom:    5px;
  border-collapse:  collapse;
  border-spacing:   0px;
}
  /*título general del listado*/
  .tblUGAPot caption{
    background:       #334155;
    color:            #fff;
    padding:          5px;
    border-collapse:  collapse;
    font:             1.1em "Helvetica Neue","sans serif", "verdana"
  }
    .tblUGAPot caption input{
      text-align: right;
      background: none;
      font:       15px "Helvetica Neue","sans serif", "verdana"
    }
    .tblUGAPot caption #inPre{
      width:      70px;
      border:     none;
      color:      #fff;
      margin-right: 10px
    }
    .tblUGAPot caption #inUGPA{
      width:        48px;
      margin-left:  5px;
      color:        #0066cc;
      background:   #fff
    }
    .tblUGAPot thead tr{
      background-color: #dbeafe;
      color:            #000;
      text-align:       center;
      cursor:           default
    }

    .tblUGAPot thead tr th{
      padding:      5px 3px 5px 3px;
      cursor:       pointer;
      border:       1px solid #eaeaea;
      font-weight:  normal
    }
    .tblUGAPot thead tr>th:nth-child(1){width: 40px}
    .tblUGAPot thead tr>th:nth-child(2){width: auto}
    .tblUGAPot thead tr>th:nth-child(3){width: 65px; display:none}
    .tblUGAPot thead tr>th:nth-child(4){width: 45px; display:none}
    .tblUGAPot thead tr>th:nth-child(5){width: 60px}

    .tblUGAPot tfoot tr{
      background-color: #dbeafe; /*celeste*/
      color:            #334155; /*azul*/
      text-align:       right;
      font-weight:      bold;
    }
    .tblUGAPot tfoot tr>td:nth-child(2){text-align: right}

    .tblUGAPot tbody tr.trNormal {background: #fff; color:gray; display:none}
    .tblUGAPot tbody tr.trPotTot {background: #fff} /*; font-weight:bold*/

    .tblUGAPot tbody tr:hover{
      background-color:  #FFFFCC;
    }

    .tblUGAPot tr:hover{
      background-color:  #FFFF99;
    }
    .tblUGAPot td{
      padding:  6px 4px 6px 4px;
      border:   0.6px solid #e0e0e0;
      cursor:   default;
    }
    .tblUGAPot tr>td:nth-child(1){width: 40px;   text-align:right}
    .tblUGAPot tr>td:nth-child(2){width: auto;   text-align:left}
    .tblUGAPot tr>td:nth-child(3){width: 65px;   text-align:right; display:none}
    .tblUGAPot tr>td:nth-child(4){width: 45px;   text-align:right; display:none}
    .tblUGAPot tr>td:nth-child(5){width: 60px;   text-align:right}















.divYMI{
  float:    left;
  padding:  1px;
  width:    23px;
  height:   23px
}

.divRG{
  float:    left;
  padding:  1px;
  width:    8px;
  height:   10px;
}

.divSVGFVI{
  float:   left;
  margin:  0;
  padding: 0;
  width:   25px;
  border:  none
}

.divSVGPA{
  float:          left;
  padding-top:    2px;
  padding-left:   13px;
  width:          25px
}

.divHato1{
  width:      100%;
  float:      left;
  padding: 10px 3px 10px 3px;
  background: #c7ebf7;
  font-size:  1em;
  color:      #000;
  text-align: right;
  /* margin-top: 5px; */
}
  .divHatoTbl{
    width:  100%;
    float:  left
  }

  .divHatoPie{
    width:      100%;
    float:      left;
    font-size:  1em;
    color:      #606060;
    background: #EFEFEF;
    padding:    5px 3px 5px 3px;
  }
    .dEliminaLote{
      float:        left;
      font-size:    0.6rem;
      padding-top:  4px;
      color:        red;
      font-style:   italic;
    }
  .divPNom{
    position:   absolute;
    left:       300px;
    top:        113px;
    display:    none;
    font-size:  1em;
    z-index:    9;
    color:      gray;
  }

.lblHB{
  float:      left;
  margin: 3px 0 0 1px;
  border:     0;
  font-size:  1em;
}
.lblHPK{
  float:      left;
  margin:     4px 0 0 4px;
  border:     0;
  font-size:  0.9em;
  color:      #FF6600
}

.HatoKgs{
  width:      50px;
  float:      left;
  margin:     4px 0 0 5px;
  border:     0;
  background: none;
  font-size:  0.9em;
  text-align: right;
  color:      #FF6600
}


.correlativo{
  width: 40px;
  border:     0;
  background: none;
  color:      #EFEFEF;
}

/*potreros*/
/*#btnGastos{
  background-color: #4CAF50;
  border:           none;
  color:            white;
  padding:          5px 20px;
  text-align:       center;
  text-decoration:  none;
  display:          inline-block;
  font-size:        1em;
  margin:           0 2px;
  cursor:           pointer
}*/

















/* divs ... */
.divPotResumenes{
  float:      left;
  width:      100%;
  padding:    0 0 10px 0;
  font-size:  1em;
  border:     1px solid #CCFF99;
  margin-bottom: 20px
}
  /* .divPotResumenes div{font-size: 1em} */
  /* .divPotResumenes table{font-size: 0.8em} */
/*float:left; width:100%; padding:0px; font-size:0.8em; margin-top:20px; margin-bottom:20px; border:1px solid #CCFF99*/

.divTitResumenes{
  float:        left;
  width:        100%;
  padding:      10px 0 10px 0;
  font-size:    1em;
  background:   #CCFF99;
  color:        #006600;
  text-align:   center
}
/*float:left; width:100%; padding:10px 0 10px 0; font-size:1em; background:#CCFF99; color:#006600; text-align:center*/


/*descansos*/
.tblDescansos{
  width:            99%;
  font-size:        0.8em;
  border-collapse:  separate;
  border-spacing:   2px;
  color:            #000;
  background:       #fff
}

  .tblDescansos tr {border-bottom: 1px solid #eaeaea}
  .tblDescansos tr:first-child  {background: #eaeaea}

  .tblDescansos td{
    padding:  2px;
    /* border: 1px solid silver */
  }
  .tblDescansos tr> td:nth-child(1){width: 70px}
  .tblDescansos tr> td:nth-child(2){width: 70px}
  .tblDescansos tr> td:nth-child(3){width: 100px}
  .tblDescansos tr> td:nth-child(4){width: 170px}




#divOutPot{
  width:          100%;
  float:          left;
  padding:        0;
  /* margin-left:    2px; */
  border-top:     1px solid #D0D0D0;
  border-bottom:  2px solid #303030;
}

.divOutHato{
  width:          100%;
  float:          left;
  /* margin-bottom:  20px; */
  background:     #fff;
  display:        none; /*con esto podemos parametrizar y no mostrar las 3 especies*/
}
  .divTodos{
      width:      100%;
      float:      left;
      /* display:    none; */
      background: #303030
  }
    .divHato{
      width:      100%;
      float:      left;
      margin-bottom: 10px;
      /* display: block; */
    }

    .divHatoMas{ /*para crear cats*/
      width:          490px;
      position:       absolute;
      left:           5px;
      top:            100px;
      padding:        5px 5px 15px 5px;
      margin-bottom:  10px;
      border:         1px solid #D0D0D0;
      background:     #FFF;
      box-shadow:     0 4px 8px 0 #000000, 0 4px 5px 0 silver;      /* z-index:        99 */
    }

    /* ====================================================================
       #divNuevoLote (jsUsuarioCreaLote, app_lotes.js). Ajustes visuales
       pedidos: 1) alinear el borde derecho de campos/combos con el del
       botón Guardar; 2) prolijar fuentes y alineación inferior de PVOI y
       mm/aa; 3) reutiliza .divHatoMas para 'flotar encima' como antes.
       Todo scopeado a #divNuevoLote: no toca clases globales usadas por
       el resto de la app. 06/09/2026
       ==================================================================== */
    #divNuevoLote .tblApp2P,
    #divNuevoLote .tblApp2N{
      width: 100%;
    }

    #divNuevoLote .divPVOI{
      display:      flex;
      float:        none;
      align-items:  flex-end;
      padding:      0 3px 2px 0;
    }
      #divNuevoLote .spnPVOI{
        float:        none;
        padding-top:  0;
        margin-right: 4px;
        font-size:    12px;
        line-height:  16px;
      }
      #divNuevoLote .inPVOI{
        font-size:    12px;
        line-height:  16px;
      }

    #divNuevoLote .tblNac tr>td{
      vertical-align: bottom;
    }
      #divNuevoLote .tblNac tr>td:nth-child(2){
        padding-top: 0;
        font-size:   12px;
        line-height: 16px;
      }
      #divNuevoLote .inMMAA{
        font-size:   12px;
        line-height: 16px;
      }


  #potTotal{
    width:    34px
  }


/* hatos */
.tblTitPot{
  background:       #fff;
  color:            gray;
  border-collapse:  separate;
  border-spacing:   0 10px;
  font-size:        1.1em;
  /* display:          none */
}
  .tblTitPot tr>td{
    padding:  1px
  }

  .tblTitPot tr>td:nth-child(1){width:40px}
  .tblTitPot tr>td:nth-child(2){width:35px; text-align:left}
  .tblTitPot tr>td:nth-child(3){width:74px}
  .tblTitPot tr>td:nth-child(4){width:15px}
  .tblTitPot tr>td:nth-child(5){width:auto; text-align:left}
  .tblTitPot tr>td:nth-child(6){width:35px; text-align:left}
  .tblTitPot tr>td:nth-child(7){width:70px; text-align:right; padding-right:3px}

  .tblTitPot input{
    font-size:  100%;
    width:      100%;
    border:     0;
    text-align: right;
  }

  .in100{
    width:      100%;
    border:     0;
    text-align: right;
  }
  /*.inHa{
    width:      75px;
    font-size:  1.2em;
    text-align: right;
    border:     0
  }*/

  /*#potValorTotal{
    width:      70px;
    border:     0;
    font-size:  1em;
    text-align: right;
    color:      #000;
    background: none
  }*/

  .clrPot{ color:#008000}
  .clrLlu{ color:#0066FF; width:33%}
  .clrBov{ color:gray}
  .clrOvi{ color:gray}
  .clrEqui{color:gray}

  .divTitHato{
    width:      100%;
    float:      left;
    padding:    8px 3px 7px 3px;
    font-size:  1.2em; /*inherit;*/
    text-align: right;
    color:      #404040;
    border-top: 1px solid #D0D0D0;
    box-sizing: border-box;
  }

    .divTitHato>input{
        width:      45px    }

    .divTitHato1{
      float:      left;
      width:      100px;
      text-align: left;
    }

    .divTitLluvias{
      float:    left;
      width:    210px;
      /* padding-top:3px; */
      margin:   0;
      /* background:yellow; */
    }

    .divTitLluviasR{
      float:        right;
      max-width:    150px;
      text-align:   right;
      padding-top:  5px;
      margin:       0;
      font-size:    1em;       /* border:       2px solid red; */
    }

    .divTitGGIG{
      float:    right;
      width: 230px;      /* padding-top:3px; */
      margin:   0;      /* background:yellow; */
    }

    .divTrazaFolders{
      float:        left;
      width:        300px;
      padding-top:  3px;
      margin:       0;
      font-size:    0.9em
    }


    .divTitTraza{
      float: left;
      width: 90px;
      text-align:   right;
      padding-top:  5px;
      margin:       0;
      font-size:    0.8em;            /* background: yellow; */
    }
    .divAFleTraza{
      float:        right;
      width:        25px;
      text-align:   center;
      padding:      4px 0 0 0;
      margin-left:  5px
    }

    .divTrazaSira{
      float:      left;
      /* width:      36px; */
      margin-right: 10px;
      /* height:     30px; */
      padding-top:5px;
      font-size:  0.7em;
      color:      gray;
      /* background: lime; */
    }

    .divTrazaBal{
      float:      left;
      /* width:      40px; */
      /* height:     30px; */
      padding-top:5px;
      margin-right: 10px;
      font-size:  0.7em;
      color:      gray;
      text-align: right;
      display:    block
    }




/** PRV **/
/*tabla de colores de los días de descanso de las parcelas*/
.tblColDesc{
    width:            130px;
    margin-top:       20px;
    margin-bottom:    20px;
    margin-left:      15px;
    padding:          1px;
    border-collapse:  separate;
    border-spacing:   1px 5px;

    background:       #fff;
    font-size:        0.8em;
}
  .tblColDesc td{
    /* background:     #fff; */
    padding:    3px 1px 2px 1px;

    /* font-size:  0.7em */
  }

  .tblColDesc tr:nth-child(1){background: #000}
    .tblColDesc tr:nth-child(1) td{
                                    text-align:   left;
                                    color:        #99CCFF;
                                    font-style:   italic;
                                    font-size:    1.2em
                                  }
  .tblColDesc tr> td:nth-child(1){width: auto}  /*días de descanso */
  .tblColDesc tr:nth-child(2){background: #fff; text-align: right}
  .tblColDesc tr:nth-child(3){background: red; text-align: right}
  .tblColDesc tr:nth-child(4){background: #FF6600; text-align: right}
  .tblColDesc tr:nth-child(5){background: orange; text-align: right}
  .tblColDesc tr:nth-child(6){background: yellow; text-align: right}
  .tblColDesc tr:nth-child(7){background: #669900; text-align: right}
  .tblColDesc tr:nth-child(8){background: #fff; text-align: center}
      /* .tblColDesc tr:nth-child(8)>button{margin-right:30px} */

  .tblColDesc input{
    width:      25px;
    text-align: right
  }


.divTitPRV{
      float:      left;
      padding:    3px 0 0 3px;
}

  .divPRV{
      float:      left;
      width:      100%;
      padding:    0 2px 0 2px;
      font-size:  0.9em;
      background: #fff; /*#CCFFCC*/
      display:    none;
  }
  .divTblPrv{
      max-height: 400px;
      padding:    0px;
      /* 2026-09-22: era overflow-x: hidden, o sea que lo que no entraba a lo ancho se PERDIA,
         sin aviso y sin forma de llegar. Con las dos columnas nuevas de medicion de pasto quedaban
         directamente invisibles. Ahora se scrollea, igual que el reporte de Sanidad. */
      overflow-x: auto;
      overflow-y: scroll;
      border:     0.5px solid #d0d0d0;
  }



  .tblPRV{
    width:            100%;
    padding:          1px;
    margin:           0px;
    border-collapse:  separate;
    border-spacing:   0px 7px;
    font-size:        1.3em;
    background:       #fff; /*#E4FFE6*/

  }

    .tblPRV thead th{
      border:       1px solid #D0D0D0;
      padding:      2px;
      font-size:    0.7em;
      font-weight:  normal;
      background:   #E0E0E0;
      color:        gray;
      cursor:       default
    }
    .tblPRV thead tr>th:nth-child(1){width: 21px}  /*N°*/
    .tblPRV thead tr>th:nth-child(2){width: 45px}  /*ha*/
    .tblPRV thead tr>th:nth-child(3){width: 10px}  /*especie*/
    .tblPRV thead tr>th:nth-child(4){width: 40px}  /*cat*/
    .tblPRV thead tr>th:nth-child(5){width: 65px;overflow-x:hidden} /*fecha ingreso*/
    .tblPRV thead tr>th:nth-child(6){width: 65px;overflow-x:hidden}  /*fecha salida 55px*/
    .tblPRV thead tr>th:nth-child(7){width: 25px; text-align:center}                /*para DME*/
    .tblPRV thead tr> th:nth-child(8){width: 45px}                /*ocupación*/
    .tblPRV thead tr> th:nth-child(9){width: 45px}                /*descanso*/
    /* 2026-09-22 ORDEN NUEVO: las columnas de datos primero, las de accion al final.
       10 y 11 son ahora la medicion de pasto; el visto y el menos pasaron a 13 y 14. */
    .tblPRV thead tr> th:nth-child(10){width: 32px; text-align:center}   /*pasto al entrar, cm*/
    .tblPRV thead tr> th:nth-child(11){width: 32px; text-align:center}   /*pasto al salir, cm*/
    .tblPRV thead tr> th:nth-child(12){width:0px; display:none}   /* era antes orden de ingreso, ahora es el índice en la tabla para eliminar pastoreos*/
    /* NUEVO 2026-09-22: medicion de pasto (PRE y POS). El ancho va explicito a proposito: el
       `table{table-layout:fixed}` global de la linea 58 reparte por lo que declara la PRIMERA fila,
       y una columna sin ancho se queda sin lugar.
       2026-09-22 (segunda vuelta) 46->32 y encabezado en dos lineas, "Entra cm" / "Sale cm":
       ademas de ocupar menos, pone la unidad a la vista sin depender del tooltip.
       Los anchos de arriba son ahora una SUGERENCIA, no una imposicion: ver la nota de
       table-layout mas abajo. */
    .tblPRV thead tr> th:nth-child(13){width: 30px;}               /*Guardar la fila*/
    .tblPRV thead tr> th:nth-child(14){width: 20px;}               /*eliminar*/
    /*2026-11-20, bitácora #604 (Natalia: "botón eliminar pastoreo: está muy pegado al botón de guardar, y en pantalla táctil intentando guardar
      se toca eliminar"): Eliminar se separa de Guardar con 56 px de aire. Donde la tabla ya se corre (pantalla angosta), queda fuera de la vista
      hasta correrla; en pantalla ancha sigue sin barra horizontal (pedido de Néstor del 22-09, más abajo).*/
    /*2026-11-23, bitácora #604 (Natalia: "achica la celda de eliminar parecido al tamaño del botón de guardar actual, agranda un poquito el
      tamaño de la celda del botón guardar"): los 56 px de aire se van; Guardar en una celda de 42 px y Eliminar en una de 30, cada botón
      centrado en la suya (quedan unos 15 px entre los dos, antes 3).*/
    .tblPRV thead tr> th:nth-child(13),
    .tblPRV tbody tr> td:nth-child(13){ width: 42px; min-width: 42px; text-align: center; }
    .tblPRV thead tr> th:nth-child(14),
    .tblPRV tbody tr> td:nth-child(14){ width: 30px; min-width: 30px; padding-left: 0; padding-right: 0; text-align: center; }

    /* 2026-09-22 SIN SCROLL HORIZONTAL, a pedido de Nestor.
       Primero intente ajustar los anchos en pixeles hasta que la suma entrara en el contenedor.
       ESE ENFOQUE ESTA MAL y se vio enseguida: las medidas dependen de la fuente, y la fuente del
       Windows de Nestor no es la del entorno donde yo mido. Entraba en mi prueba y en su pantalla
       las fechas se partian en dos lineas.
       Lo correcto es no imponer la suma: con table-layout AUTO el navegador reparte el ancho
       disponible segun el contenido, y con nowrap se asegura de darle a cada columna lo que su
       texto necesita antes que partirlo. La tabla queda siempre del ancho del contenedor, sin
       scroll, con cualquier fuente y a cualquier ancho. Los width: de arriba pasan a ser pistas
       que el navegador respeta cuando puede.
       Esto pisa a proposito el `table{table-layout:fixed}` global de la linea 58, y solo para
       esta tabla. De paso se arreglo el encabezado "DME", que con ancho fijo venia cortado. */
    .tblPRV{
      table-layout: auto;
      width:        100%;
    }
    .tblPRV th,
    .tblPRV td{ white-space: nowrap; }

    .tblPRV tbody td{
      border-right:   0.5px solid #d0d0d0;
      border-bottom:  0.5px solid #d0d0d0;
      padding:        3px 1px 2px 1px;
      font-size:      0.7em
    }
    .tblPRV tbody tr{
      border:     1px solid #D0D0D0;
      background: #fff
    }
    .tblPRV tbody tr:hover{
      background: #FFFF66
    }
    .tblPRV tbody tr> td:nth-child(1){width: 21px; text-align:right}
    .tblPRV tbody tr> td:nth-child(2){width: 45px;text-align:right}
    .tblPRV tbody tr> td:nth-child(3){width: 10px;text-align:right}
    .tblPRV tbody tr> td:nth-child(4){width: 40px;text-align:right}
    .tblPRV tbody tr> td:nth-child(5){width: 65px; text-align:center;overflow-x:hidden}
    .tblPRV tbody tr> td:nth-child(6){width: 65px; text-align:center;overflow-x:hidden}
    .tblPRV tbody tr> td:nth-child(7){width: 25px; text-align:center}
    .tblPRV tbody tr> td:nth-child(8){width: 45px; text-align:right}
    .tblPRV tbody tr> td:nth-child(9){width: 45px; text-align:right} /*; background:#fff; color:#fff*/
    /* 2026-09-25 Natalia punto 9: "PRV: el ancho de la fecha con el scroll horizontal".
       El thead se renumero el 2026-09-22, cuando las columnas de ACCION se movieron al final. El
       tbody NO: quedo con el mapa viejo de 12 columnas. Hoy la 10 y la 11 son las celdas de
       medicion de pasto, asi que "Entra cm" tomaba el ancho del boton de guardar (30px) y
       "Sale cm" el del boton de eliminar (20px) MAS su hover rojo -- se ve a simple vista pasando
       el mouse por "Sale cm", que se pintaba de rojo como si fuera el boton de borrar --. Y las
       columnas 13 y 14, las de accion de verdad, se quedaban sin ninguna regla.
       Renumerado para que coincida con el thead. */
    .tblPRV tbody tr> td:nth-child(10){width: 32px; text-align:center} /*pasto al entrar, cm*/
    .tblPRV tbody tr> td:nth-child(11){width: 32px; text-align:center} /*pasto al salir, cm*/
    .tblPRV tbody tr> td:nth-child(12){width: 0px; display:none} /*orden de ingreso: el índice en la tabla*/
    .tblPRV tbody tr> td:nth-child(13){width: 30px; }/*grabar*/
    .tblPRV tbody tr> td:nth-child(14){width: 20px; }/*eliminar*/
      .tblPRV tbody tr> td:nth-child(14):hover{background: red; color:#fff}



.tblPRVMas1fila{
  width:            100%;
  border-collapse:  collapse;
  border-spacing:   0px;
  margin-top:       15px;
  /* border-spacing:   5px 15px; */
  color:            #000;
  font-size:        1em;
  background:       #fff; /*#E4FFE6*/
}
  .tblPRVMas1fila tr{background: none} /*#CCFFCC*/
  .tblPRVMas1fila td{
                    padding:  0;                     /* border:   1px solid gray; */
  }

  .tblPRVMas1fila tr> td:nth-child(1){width: auto; text-align:left}
  .tblPRVMas1fila tr> td:nth-child(2){width: 20%; text-align:center}
  .tblPRVMas1fila tr> td:nth-child(3){width: 20%; text-align:center}
  .tblPRVMas1fila tr> td:nth-child(4){width: 5%}
  .tblPRVMas1fila tr> td:nth-child(5){width: 20%; text-align:center}

  /*.tblPRVMas1fila{
    width: 100%;
  }*/
  .btnPasMenos{
    width:      12px;
    font-size:  1em;
    padding:    0px;
  }

  .btnPasGuarda{
    width:      30px;
    font-size:  1em;
    padding:    0px;
    text-align: right
  }

  .inBorra1Parc{
    width: 25px;
    display:none;
    /* border:   none */
  }

  .bgRR{
    /* background:     #ff6666; */
    background:     #fff;
    width:          120px;
    border-radius: 3px;
    border-color:   red
  }
  .btnParcE{
    cursor:     pointer;
    width:      80px;
    padding:    10px 2px 10px 2px;
    
                                  /*  */
  }
    .btnParcE:hover{
      
      }

  .btnParcG{
    cursor:         pointer;
    width:          100%;
    padding:        10px 5px 10px 5px;
    
    
    
    
    
    /* display:        none; */
  }
    .btnParcG:hover{
      
      }

  .btnPasLis{
    cursor:         pointer;
    width:          80px;
    padding:        10px 5px 10px 5px;
    
    
    
    /* display:        none; */
  }
    .btnPasLis:hover{
      
      }

  .btnFilaA{
    cursor:         pointer;
    width:          90px;
    padding:        10px 5px 10px 5px;
    
    
    
    }
    .btnFilaA:hover{
      
      }

  .btnParcA{
    cursor:         pointer;
    width:          110px;
    padding:        10px 5px 10px 5px;
    
    
    
    /* }
    .btnParcA:hover{
      
      
      /* }

  .btnParcR{
    
    
    cursor:         pointer;
    width:          80px;
    
    padding:        12px 6px 11px 5px;
    }
    .btnParcR:hover{
      
      }

  .btnParcM{
    
    
    cursor:       pointer;
    width:        80px;
    
    /* padding:  8px 3px 0px 3px; */
    
    padding: 5px 3px 5px 3px;
  }
    .btnParcM:hover{
      
      }
  .spParcM{
    padding-top:  5px;
    height:       27px;
    width:        40px;
    float:        left;
    margin-right: 15px;
  }


  #divPRVAyuda{
      width:      100%;
      font-size:  13px;
      color:      #202020;
      text-align: left;
      padding:    20px 10px 20px 10px;
      display:    none;
  }
    .divBtnPRVAyuda{
      float:      left;
      width:      100%;
      text-align: left;
      margin-top: 10px;
      margin-bottom:10px
    }

  .divTitHatoImg{
    float:      left;
    padding: 0 0 0 3px;      /* font-size:  0.7em; */
  }
  .divTitHatoImgOvi{
    float:  left;
    padding:3px 0 0 3px
  }


    .divTitHatoPot input{
      width:      45px;
      float:      left;
      margin:     3px 0 0 10px;
      border:     0;
      font-size:  .9em;
      color:      #000
    }



.divSubTitHato{
  width:      100%;
  float:      left;
  padding:    10px 3px 10px 3px;
  font-size:  1.2em;
  text-align: right;
  color:      #404040;
  background: #fff;
  border-top: 1px solid #D0D0D0;
  /* border:1px solid black */
}

/*similar a divSubTitHato*/
.divTrazaTit{
  width:      100%;
  height:     62px;
  float:      left;
  padding:    10px 3px 10px 3px;
  font-size:  1.2em;
  text-align: right;
  color:      #404040;
  background: #FFF;
  border-top: 1px solid #D0D0D0;
  /* display:    none; */
  /* border:1px solid black */
}
  /*.divTrazaTit div{
    border:1px dashed red
  }*/

  .caraImg{
    float:        left;
    width:        25px;
    height:       30px;
    padding-top:  5px;
    padding-left: 5px;
    text-align:   left
  }

.divTotFle{
  float:        right;
  width:        30px;
  padding-top:  4px;
  text-align:   center
}


.divFle{
  float:        right;
  width:        60px;
  padding-top:  9px;
  text-align:   center
}
  .divAFle{
    float:        right;
    width:        25px;
    text-align:   center;
    margin-left:  5px
  }

  .divDFle{ /*flecha derecha de Totales*/
    float:          right;
    width:          27px;
    text-align:     center;
    margin-left:    5px;
    margin-bottom:  2px;
  }

  .divAFleLluvia{
    float:        right;
    width:        25px;
    text-align:   center;
    padding:      8px 0 0 0;
    margin-left:  3px;
  }

  .divMas{
    float:        right;
    width:        25px;
    text-align:   center;
    display:      block;
    margin-right: 5px
  }

/*gastos / ingresos*/
.divTitGGIGR{
  float:        right;
  max-width: 170px;
  text-align:   right;
  padding-top:  5px;
  margin: 0px 10px 0px 0px;
  font-size:    1em;
  /* border:       1px solid red; */
}

.divSVGOut{float:left;padding:2px 1px 1px 3px;width:33px;height:30px}/*div out svg*/


/* usada en eliminar un lote y en cerrar adjuntos nuevos*/
.divCerrar{
  float:      right;
  /* width:      70px; */
  text-align: center;
  padding:    2px 3px 3px 0
}
.divTitNego{
  color:      #99CCFE;
  font-style: italic;
  width:      100%;
  text-align: left
}
.divXNego{
  float:      right;
  width:      30px;
  text-align: right;
  background: transparent;   /*2026-10-06, Néstor: sin el fondo negro, la cruz blanca sobre el fondo general (antes #000)*/
  padding:    2px 3px 3px 0
}
.divXHis{
  float:      right;
  width:      30px;
  text-align: right;
  padding:    2px 3px 3px 0
}
.divMasX{
  float:      right;
  width:      100%;
  text-align: left;
  padding:    2px 3px 10px 0;
  font:       italic 12px verdana;
  color:      gray
}




/* 2026-11-12, Néstor: "soporte.html y noticias.html no se usan, son viejos" y "negoagro_noticias.php no se usa más": se sacaron #divSoporte, #ifrSoporte y #secNoticias (ya comentado). */
/*Ayuda*/
#divAyuda{
  width:      100%;
  position:   absolute;
  left:       0;
  top:        42px;
  height:     100%;
  overflow:   hidden;
  background: #fff;
  padding:    1px;
  display:    none;
}

  .divAyuTxt{float:left;width:100%;overflow:auto;height:95%;padding:20px 0 20px 0}
    .divAyuTxt p{background:#fff;font-size:1.2em}
    .divAyuTxt p a{text-decoration:none;color:#0066cc}

  .divAyuTit{
            float:      left;
            width:      100%;
            padding:    8px 10px 8px 10px;
            background: var(--azulPiedra);
            color:      #fff
  }

.h2{color:#fff;font-weight:normal;font-size:1em;padding:2px 0 2px 0}
.h3{color: #008000;font-weight: normal;font-size: 1.2em}
.usr{
  float:        left;
  margin-left:  10px;
  color:        #fff;
  font-weight:  normal;
  font-size:    1em;
  padding:      4px 0 4px 0
}
#inUsr{
  width:      100px;
  color:      #fff;
  background: 0;
  border:     0
}
.h4{
  margin:       0;
  border:       0;
  padding:      0;
  color:        green;
  font-weight:  normal;
  font-size:    1.2em
}
.h5{
  color:        #404040;
  font-weight:  normal;
  font-size:    1.1em
}
.h6{
  color:        #404040;
  font-weight:  normal;
  font-size:    1em
}

li{/* margin-left:30px; */padding-bottom:10px}




/*Login de usuarios*/
#divIfrLogin{
  /* width: 500px; */
  height: auto;     /*2026-10-16: era 560px; el login nuevo (html/login.html, tarjeta azul marino) mide ~640px y con 505 quedaba cortado (medido)*/
  padding: 0px;
  display:  none;
  background: none;
  /* border: 1px solid lime; */
}
  #divIfrLogin iframe{
    width: 100%;
    height: 670px;    /*2026-10-16: era 505px*/
    /* border: 1px dotted lime; */
  }

#divLogin{
  position:   absolute;
  left:       0;
  top:        0;
  width:      100%;
  background: #cf9;
  z-index:    9;
  display:    none;
  padding:    0
}
#divLoginOut{
  margin:     0 auto;
  width:      360px;
  background: none
} /*debe ser la única con ancho definido*/

#divLoginTxt{
  margin:     0 auto;
  width:      100%;
  max-width:  100%;
  overflow:   auto;
  padding:    5px;
  font-size:  0.8em;
  background: #E0E0E0
}
  .divLbl{
    float:      left;
    width:      110px;
    padding:    5px;
    text-align: left;   /*2026-11-21, Néstor: rótulos de formulario a la izquierda*/
    font-size:  0.8em;
    margin-top: 7px
  }
  /*.divRecuerdame{
    float:          left;
    width:          100px;
    padding:        12px 5px 0 5px;
    text-align:     left;
    margin-bottom:  5px
*/

  .divInput{
    float:          left;
    width:          100%;
    max-width:      220px;
    padding:        2px;
    text-align:     right;
    margin-bottom:  5px
  }
    .divInput input{width:100%; padding:3px; font-size:1em}



/*clase de select con "pisada" para manejar la primera opción y el texto inicial*/
.selComboRegistro{
                  font-size:      1em;
                  padding:        3px;
                  width:          100%;
                  background:     #fff;
                  text-indent:    0.01px;
                  text-overflow:  ''
}
  .selComboRegistro option:first-child{
                  display: none;
  }

.divPriv{
  margin:         0 auto;
  padding:        20px;
  font:           0.9em "arial rounded","verdana";
  width:          100%;
  vertical-align: top;
  color:          #606060;
  text-align:     justify;
  background:     #fff;
  border:         2px solid #eaeaea;
}

.trans{opacity:.4}
.full{opacity:1}

#clkPotrero{   /*2026-11-25: la portera y "Guardar potrero", como la vaquita del lote (.clkBovinos)*/
  margin:     0 auto;
  cursor:     pointer;
  color:      #0066cc;
  width:      110px;
  height:     96px;
  text-align: center;
  border:     1px solid #D0D0D0;
  box-sizing: border-box;
  display:    flex;
  flex-direction: column;
  align-items:    center;
  justify-content: center;
  gap:        8px;
  line-height: 1.1
}
  #clkPotrero:hover{color:red; background:white}
  #clkPotrero span{background:none}

/*para cancelar al crear uno nuevo cuando se arrepiente*/
#divXPotNuevo{
  display:    none;
  position:   relative;
  top: -80px;
  left:       160px;
  padding:    4px;
  /* border:     1px solid silver; */
  background: red;
  width: 25px;
  text-align: center;
  height:     30px;
  color: #fff;
}


.clkBovinos{
  float:        right;
  cursor:       pointer;
  width:        110px;
  height:       90px;
  text-align:   right;
  border:       1px solid #D0D0D0;
  color:        #0066cc;
  text-align:   center;
  margin-right: 5px;
}
  .clkBovinos:hover{color:red; background:white}

/* .clkOvinos {margin:0 auto;width:110px;cursor:pointer;height:94px;  text-align:center; border:1px solid silver} */
/* .clkEquinos{margin:0 auto;width:130px;cursor:pointer;height:114px; text-align:center; border:1px solid silver} */

/* 2026-10-06: se sacaron #bovAyuda y #potAyuda: apuntaban a bovayuda.jpg y potayuda.jpg (carpeta images), que no existen,
   y esos ids no estan en la app. */




/******* tabla de Historias en divs *******/
.divTbl{
  display:    inline-block;
  position:   relative;
  max-width:  450px;
  font-size:  1em;
}
  .divTblRow{
    width: 450px;
    float: left
  }
  .divTblRow>div{
    padding-top:  6px;
    float:        left;
    height:       30px
  }
  .divTblRow1{
    float:      left;
    width:      450px;                 /* padding:    0 3px 0 3px; */
    background: #505050; /*#3CBC8D;*/
    color:      #FFF;
    font-size:  1.1em
  }
    .divTblRow1>div{
      padding-top:  3px;
      float:        left;
      height:       30px
    }

    .dTC1{
      width:    60px
    }
    .dTC2{
      width:    60px;
      border-left:  1px solid silver
    }
    .dTC3{
      width:    50px;
      border-left:  1px solid silver
    }
    .dTC4{
      width:    140px;
      border-left:  1px solid silver
    }
    .dTC5{
      width:    130px;
      border-left:  1px solid silver
    }
    .dTC6{
      width:  0
    }
    .dTC7{
      width:  0
    }
/***** fin de tabla de Historias en divs ***/





/**habla*/
.inHablaOnOff{
  background: none;
  width:      20px;
  color:      #fFF;
  border:     none;
  font-size:  14px;
}

.divNego{
  float:      left;
  /* position:   absolute; */
  /* left:       1px; */
  /* top:        1px; */
  padding:    10px 10px 20px 10px;
  background: var(--azulPiedra);
  width:      500px;
  display:    none
}
  .tblNego{
    width:            100%;
    background:       none;
    color:            #fff;
    border-collapse:  separate;
    border-spacing:   6px;
    font-size:        1em
  }
    .tblNego tr td{padding:3px} /*; border:1px solid white*/
    .tblNego tr td:first-child{width:160px; text-align:right}
    .tblNego tr>td:nth-child(2){width:auto; text-align:left}

    #tblNego0{font-size: 1.1em}
    #tblNego1{
      font-size: 0.7em; color:silver
    }




  .menuA{color:white;text-align:center;padding:4px 3px 5px 3px;text-decoration:none;border:0;height:32px} /*;display:block*/
  .menuA:hover{background-color:#111}
  .menuA:active{background-color:#4CAF50}


/*para menucito?*/
.ul4{
  list-style-type:  none;
  margin:           0;
  padding:          0;
  overflow:         hidden;
  background:       var(--azulPiedra);
  text-align:       left;
  width:            max-content;   /*2026-11-23, Néstor (captura del menú ☰: "Tengo un problema" y "Exportar mis datos" en dos renglones): "los botones
                                     deberían ocupar solo una línea". Antes 130px fijos; ahora lo que mide el ítem más largo*/
  min-width:        130px  /* border:1px dashed yellow */
}
  .ul4 li{    /* display:        none; */
    float:          none;            /*2026-11-23: antes left; con el ancho "max-content" de .ul4 los ítems flotantes se sumaban (501 px)*/
    height:         50px;
    width:          100%;
    margin-top:     2px;
    margin-left:    0
  }

  .ul4 li a{
    display:          block;
    color:            #fff;
    text-decoration:  none;
    padding-top:      12px;
    width:            100%;
    height:           90%;
    font-size:        1.1em;
    padding-left:      5px;
    padding-right:    14px;          /*2026-11-23: un renglón por ítem (ver .ul4)*/
    white-space:      nowrap;
    box-sizing:       border-box
  }

  .ul4 li a:hover{
    background-color: red;
    color:            #FFF
  }

/*2026-10-16, Néstor ("1. sí" a sacar Descargar y Borrar del menú de 3 rayitas): en "siempre online" no hay datos locales que
  descargar ni borrar; Descargar hacía lo mismo que Recargar (volver a bajar todo a memoria) y Borrar vaciaba claves que ya
  no tienen nada. Los <li> quedan en index.html porque app_iniCreacion.js les sigue poniendo display block/none en 8
  lugares (sacarlos del DOM rompería eso con "Cannot set properties of null"); esta regla gana al estilo inline.*/
#mDescargar, #mBorrar{ display: none !important; }
/*2026-11-23, Néstor (captura de la Ayuda, "Descargue datos: Menú + Descargar"…): "Esta ayuda es vieja, hay que sacarla hasta tener una versión
  nueva o ... tener otra forma de ayuda online". Se oculta el ítem (el único camino a #divAyuda); la ayuda en línea es ☰ › Tengo un problema
  (módulo soporte). El <li> y la sección quedan para la versión nueva.*/
#mAyuda{ display: none !important; }
#divMenucito{
  position:   absolute;  /*dentro de un div relative*/
  left:       0 !important;
  top:        50px !important;
  padding:    5px;
  background-color: var(--azulPiedra);
  width:      max-content;  /*2026-11-23: antes 450px fijos (un fondo azul más ancho que los ítems); ahora lo que mide el menú*/  /* height:     600px; */
  display:    none;
  z-index:    4; /*;border:1px solid lime*/
}

#divNotificaciones{
  width:      310px;
  min-height: 350px;
  padding:    0px;
  margin-left:  10px;
  border:     1px solid silver;
  display:    none;
  float:      left;
  text-align: left;
  background: rgb(238,238,238);
  font:       13.5px verdana
}
  #divNotificaciones span{
                            font-style: italic;
                            color:      red;
                            padding:  0px 10px 0px 5px
                          }
  #divNotificaciones p{
    padding:  6px
  }

/*.blink{
  animation: bb 1s 8;
}
  @keyframes bb{
    0%  { background-color: #ffff33}
    /* 49% { background-color: #fff; } * /
    50% { background-color: #000}
    /* 99% { background-color: #000; } * /
    100%{ background-color: #ffff33}
  }*/


/*PastoreosLog*/
#secPasLog{
  width: 960px;
  height:       700px;
  background:   #fff;
  position:     absolute;
  left:         10px;
  top:          50px;
  display:      none;
  padding:      0px;
  z-index:      9;
  text-align:   left;
  border:       1px solid #303030;
  overflow-y:   scroll
}


.tblPasLog{
      width:            100%;
      background-color: #FFF;
      border-collapse:  collapse;
      border-spacing:   0px;
      font-size:        0.9em
}
    .tblPasLog thead{
      background-color: gray;
      color:            #fff;
    }
      .tblPasLog thead th{
        font-weight: normal;
        padding:      2px;
        text-align:   center
      }
      .tblPasLog thead tr>th:nth-child(1){width:27px}
      .tblPasLog thead tr>th:nth-child(2){width:25px}
      .tblPasLog thead tr>th:nth-child(3){width:80px}
      .tblPasLog thead tr>th:nth-child(4){width:95px}
      /* .tblPasLog thead tr>th:nth-child(5){width:30px} */
      .tblPasLog thead tr>th:nth-child(5){width:40px}
      .tblPasLog thead tr>th:nth-child(6){width:45px}
      .tblPasLog thead tr>th:nth-child(7){width:40px}
      .tblPasLog thead tr>th:nth-child(8){width:60px}
      .tblPasLog thead tr>th:nth-child(9){width:30px}
      .tblPasLog thead tr>th:nth-child(10){width:45px}
      .tblPasLog thead tr>th:nth-child(11){width:45px}
      .tblPasLog thead tr>th:nth-child(12){width:45px}
      .tblPasLog thead tr>th:nth-child(13){width:95px}
      .tblPasLog thead tr>th:nth-child(14){width:95px}
      .tblPasLog thead tr>th:nth-child(15){width:auto}

      .tblPasLog tbody tr:hover{
        background-color:  #FFFF99;
      }
      .tblPasLog tbody tr td{
        padding:  3px;
        cursor:   pointer;
        border:   1px solid #eaeaea;
        text-align: right
      }

      .tblPasLog tbody tr>td:nth-child(1){width:27px}
      .tblPasLog tbody tr>td:nth-child(2){width:25px}
      .tblPasLog tbody tr>td:nth-child(3){width:80px; text-align:left}
      .tblPasLog tbody tr>td:nth-child(4){width:95px}
      /* .tblPasLog tbody tr>td:nth-child(5){width:30px} */
      .tblPasLog tbody tr>td:nth-child(5){width:40px}
      .tblPasLog tbody tr>td:nth-child(6){width:45px}
      .tblPasLog tbody tr>td:nth-child(7){width:40px}
      .tblPasLog tbody tr>td:nth-child(8){width:60px}
      .tblPasLog tbody tr>td:nth-child(9){width:30px}
      .tblPasLog tbody tr>td:nth-child(10){width:45px}
      .tblPasLog tbody tr>td:nth-child(11){width:45px}
      .tblPasLog tbody tr>td:nth-child(12){width:45px}
      .tblPasLog tbody tr>td:nth-child(13){width:95px}
      .tblPasLog tbody tr>td:nth-child(14){width:95px}
      .tblPasLog tbody tr>td:nth-child(15){width:auto}


.tblPasLog caption{
  width:  100%;
  padding:  3px
}
.tblPasLog caption>div{
  float:        left;
  color:        #3366CC;
  font-size:    1.1em;
  padding-left: 10px
}
.tblPasLog caption .divX{
  float:          right;
  padding-right:  10px
}


.btnPasSubir{
  margin:   0px 20px 0px 50px;
}



/*respaldo*/
#secRespaldo{
  width:        420px;
  background:   #fff;
  position:     absolute;
  left:         10px;
  top:          50px;
  display:      none;
  padding:      0px;
  border:       1px solid #303030
}
  #secRespaldo .divRespTit{
                            float:          left;
                            width:          100%;
                            padding:        5px 10px 5px 10px;
                            background:     #303030;
                            color:          #fff;
                            text-align:     left;
                            margin-bottom:  10px;
                          }
  .divRespPot{
    padding: 16px 20px 20px 10px;
    width:      120px;
    height:     96px;
    float:      left;
    text-align: left;
    background: #ccffff;
    margin:     5px 5px 15px 11px;
    border:     1px solid #eaeaea
  }
    .divRespPot:hover{
      background: #FFFFCC;
    }
    .divRespPot a{
      background:       none;
      text-decoration:  none;
      color:            #0099CC;
      font-size:        1.1em
    }
    .divRespPot a:hover{
      color:      #303030;
    }

    .divRPotNota{
      float:  left;
      padding:16px 20px 20px 20px;
      margin: 5px 5px 15px 11px;
      width:  250px;
      border: 1px solid #eaeaea;
      color:  #A0A0A0;
      text-align: left;
    }

/*varios campos en una misma app*/
/* #trCampos{ */
  /* display:  none */
/* } */





/* ================================================================================================
   EL CARTEL DE AVISOS   -- rehecho 2026-09-24, a pedido de Nestor ("modernizarlo o eliminarlo").

   Antes era una FRANJA de ancho completo, con position:absolute y el 'top' puesto en la posicion
   del mouse, que aparecia y desaparecia de golpe. Con varias operaciones seguidas -- el arranque
   disparaba decenas -- eso es el "pestaneo" que se veia.

   Ahora: chico, fijo arriba al centro, con transicion corta, y sin tapar clics (pointer-events).
   Los tres colores estan medidos sobre blanco: 7,13 / 8,31 / 8,72 : 1, los tres AAA. Los viejos
   NO cumplian -- el verde #33CC66 daba 2,11:1 y el rojo 4,00:1.
   ================================================================================================ */
/* OJO: la base va SOLO por clase, sin  #divMsgZoom .
   Al escribir esto se probo con  #divMsgZoom, .msgZoom{...opacity:0}  y el cartel quedo INVISIBLE:
   ese id pesa (1,0,0) y le ganaba a  .msgZoom.msgZoomVisible{opacity:1} , que pesa (0,2,0). Es la
   misma trampa de especificidad que ya mordio en la card de Materia Seca. Con todo en clases, la
   cuenta cierra: (0,1,0) para la base y (0,2,0) para el estado visible. Lo agarro la medicion, no
   la lectura del CSS. */
.msgZoom{
  position:       fixed;
  /*debajo de la barra de menu (~48px de alto): arriba del todo tapaba dos iconos. Los clics pasan
    igual por el pointer-events, pero un cartel encima del menu se ve mal.*/
  top:            56px;
  left:           50%;
  transform:      translateX(-50%) translateY(-10px);
  max-width:      min(560px, calc(100vw - 24px));
  box-sizing:     border-box;
  padding:        9px 18px;
  border-radius:  8px;
  color:          #fff;
  font-size:      0.9rem;
  line-height:    1.3;
  text-align:     center;
  box-shadow:     0 3px 14px rgba(0,0,0,.3);
  opacity:        0;
  transition:     opacity .18s ease, transform .18s ease;
  display:        none;
  pointer-events: none;   /*el cartel viejo ocupaba todo el ancho y se comia los clics de abajo*/
  z-index:        100000;
}
.msgZoom.msgZoomVisible{
  opacity:   1;
  transform: translateX(-50%) translateY(0);
}
.msgZoom.msgZoomOk{      background: #166534; }   /* 7,13:1 */
.msgZoom.msgZoomError{   background: #991B1B; }   /* 8,31:1 */
.msgZoom.msgZoomEnCurso{ background: #1E40AF; }   /* 8,72:1 */

/*quien prefiera menos movimiento, que no lo tenga*/
@media (prefers-reduced-motion: reduce){
  .msgZoom{ transition: none; }
}


/** BLASINA Y SUS PROVEDORES*/
.divBannersBlasina{float:left;width:100%}
  .divBB{float:left;width:100%;padding:10px;border:1px solid #E0E0E0;margin:10px 0 10px 0}



/** tbl Contactos Por Origen */
#tblCtctPorOrigen{width:100%;background:#fff;color:#000;border-collapse:separate;border-spacing:3px;font:0.9em "Helvetica Neue","sans serif", "verdana"}
  #tblCtctPorOrigen tr:first-child{background:#000;color:#fff;text-align:center}

  #tblCtctPorOrigen tr td{padding:5px;border-bottom:1px solid #eaeaea}/*;border:1px solid #eaeaea*/
  #tblCtctPorOrigen tr>td:nth-child(1){width:40px}
  #tblCtctPorOrigen tr>td:nth-child(2){width:10%}
  #tblCtctPorOrigen tr>td:nth-child(3){width:16%}
  #tblCtctPorOrigen tr>td:nth-child(4){width:20%}
  #tblCtctPorOrigen tr>td:nth-child(5){width:12%}
  #tblCtctPorOrigen tr>td:nth-child(6){width:16%}
  #tblCtctPorOrigen tr>td:nth-child(7){width:90px}
  #tblCtctPorOrigen tr>td:nth-child(8){width:20px}

#divCtctsOrigen{position:absolute;top:35px;right:2px;width:250px;display:none;padding:20px;background:gray;color:#fff;font:16px "verdana"}
  #divCtctsOrigen div{width:100%;float:left;padding-bottom:5px}
  #divCtctsOrigen input{float:right;width:50px;color:#fff;background:none;border:none;text-align:right}



#divPorDepartamento{float:left;width:300px;margin-bottom:30px}
#tblPorDepartamento{width:100%;background:#fff;color:#000;border-collapse:separate;border-spacing:3px;font:0.9em "Helvetica Neue","sans serif", "verdana"}
  #tblPorDepartamento tr:first-child{background:#000;color:#fff;text-align:center}
  #tblPorDepartamento tr:nth-child(2){background:#fff;color:#000}

  #tblPorDepartamento tr td{padding:5px;border-bottom:1px solid #eaeaea}/*;border:1px solid #eaeaea*/
  #tblPorDepartamento tr>td:nth-child(1){width:80px;text-align:right}
  #tblPorDepartamento tr>td:nth-child(2){width:auto}


/** parametrización de combo de categorías */
#divCatUG{
  background: #fff;
  float:      left;
  width:      100%;
  max-width: 460px;
  position:   absolute;
  top:        50px;
  display:    none;
  font-size:  1em;
  padding:    3px 3px 15px 3px;
  box-sizing: border-box;
}
  #divCatUGX{
    float:      right;
    padding:    0px;
    height:     20px;
    width: 20px;
    /* border: 1px solid gray; */
    /* margin-right: 3px */
  }
    #divCatUGX  a{
      font-family:      "Microsoft JhengHei UI light", "Helvetica Neue","sans serif","verdana";
      text-decoration:  none;
    }
    #divCatUGXX{
      width:    20px;
      height:   20px;
      padding:  0px
    }
    #divCatUGCaption{
      float:      left;
      text-align: left;
      background: #eaeaea;
      padding: 5px;
      font-size:  0.9em;
    }
  #divCatUGHTML{
    background: #fff;
    margin:     0 auto;
    width:      370px;
    padding:    10px;
    border:     1px solid #eaeaea
  }
    /*tabla de categorías y UGs*/
    .tblCatUG{
      width:            350px;
      background-color: #FFF;
      border-collapse:  collapse;
      border-spacing:   0px;
      font-size:        0.9em
    }

    .tblCatUG thead{
      background-color: gray;
      color:            #fff;
    }
      .tblCatUG thead th{
        font-weight: normal;
        padding:      2px
      }
      .tblCatUG tr:hover{
        background-color:  #FFFF99;
      }
      .tblCatUG tbody tr td{
        padding:  3px;
        cursor:   pointer;
        border:   1px solid #eaeaea
      }
      .tblCatUG tbody tr>td:nth-child(1){width:200px; text-align:left}
      .tblCatUG tbody tr>td:nth-child(2){width:80px;  text-align:center}
      .tblCatUG tbody tr>td:nth-child(3){width:60px;  text-align:center}

    .divCatUGE{
      float:      left;
      width:      100%;
      /* max-width: 370px; */
    }

    .tblCatUGE{ /*Especies*/
      /* width:            330px; */
      background-color: rgb(204,255,204);
      border-collapse:  collapse;
      border-spacing:   0px;
      font-size:        1.1em
    }
      .tblCatUGE tbody tr td{
        padding:  5px;
        /* border:   1px solid #eaeaea */
      }
      .tblCatUGE tr>td:nth-child(1){width:1px}
      .tblCatUGE tr>td:nth-child(2){width:90px; text-align:left}
      .tblCatUGE tr>td:nth-child(3){width:70px;  text-align:center}
      .tblCatUGE tr>td:nth-child(4){width:70px;  text-align:center}
      .tblCatUGE tr>td:nth-child(5){width:70px;  text-align:center}
      .tblCatUGE tr>td:nth-child(6){width:1px}

.btnUGCat{
  min-width:  150px;   /*2026-11-25: "Guardar categorías", con el tilde*/
  margin-top: 10px
}





/*cambio de password*/
#secCtctPass{
  width:      405px;
  text-align: center;
  clear:      both;
  background: #fff;
  padding:    5px;
  border:     1px solid silver;
  font-size:  0.9em;
  display:    none
}

.tblCtctPass{
  width:            390px;
  border-collapse:  separate;
  border-spacing:   1px;
  background:       #fff
}

.tblCtctPass tr td{padding: 5px}/*;border:1px solid #eaeaea*/
  .tblCtctPass tr td>input{width: 90%} /*;border:1px solid #eaeaea*/
  .tblCtctPass tr>td:nth-child(1){width: 150px; text-align:right}
  .tblCtctPass tr>td:nth-child(2){width: 150px}




/*.divPieHome{
  width:      100%;
  clear:      both;
  text-align: center;
  background: #fff;
  padding:    9px;
  border-top: 1px solid #d0d0d0
}*/



/** msc-style.css **/
  .msc-confirm{
      display:  none;
      color:    #006699;
      position: fixed;
      top:      0;
      left:     0;
      width:    100%;
      height:   100%;
      font-family: "Microsoft JhengHei UI Light", "Helvetica Neue","sans serif","verdana";
  }
  .msc-overlay{
      position:         fixed;
      top:              0;
      height:           100%;
      width:            100%;
      /* max-width:        450px; */
      opacity: 0.6;
      left:             0;
      background-color: #b0afaf;
      z-index:          20;
  }

  .msc-confirm button{
      
      
      cursor:     pointer;
  }

  .msc-confirm button:focus{
      outline: none;
  }

  .msc-close{
      position:       absolute;
      top:            0;
      right:          0;
      width:          40px;
      height:         40px;
      /* border-radius:  20px; */
      font-size:      1.2em;
      text-align:     center;
      vertical-align: middle;
  }
  .msc-close:hover{
      background: #eee;
  }

  .msc-content{
      position:   relative;
      z-index:    21;
      background: #fff;
      /* opacity:    1.0; */
      max-width:  450px;
      margin: 0% auto;
      padding: 0px 0px 20px 0px;
      text-align: center;
  }
  /* este media es solo para msc*/
  @media (max-width: 600px){
    .msc-content{
      padding: 0px 0px 10px 0px;
    }
  }

  .msc-title{
      font-size: 1.5em;
      font-family: "Microsoft JhengHei UI Light", "Helvetica Neue","sans serif","verdana";
      color: white;
      margin:     0;
      padding:    5px;
      background: silver;
  }
  .msc-body{
      margin-bottom:  1em;
      padding: 15px;
      font-family: "Microsoft JhengHei UI", "Helvetica Neue","sans serif","verdana";
  }
  .msc-body p{
      margin: 0 0 10px 0;
  }

  .msc-input{
      box-sizing:     border-box;
      width:          100%;
      height:         38px;
      font-size:      14px;
      text-align:     center;
      letter-spacing: 0.02em;
      font-weight:    400;
      font-style:     normal;
      font-family:    "Helvetica Neue","sans serif","verdana"; /*"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva,Verdana,sans-serif;*/
      border:         none;
      border-bottom:  1px solid rgba(0,0,0,0.15);
      padding:        0 15px
  }

  .msc-input:focus{
      outline:      none;
      border-color: #0F985A
  }


  .msc-action button{
      padding:        10px 5px 10px 5px;
      font-family:    "Microsoft JhengHei UI", "Helvetica Neue","sans serif","verdana";
      width: 90px;
  }
  .msc-action button:focus{
      outline: none
  }

  button.mscOk{
      /*#33CC66;*/
      }
  button.mscOk:hover, button.mscOk:focus{
      
      }

  button.mscCancel{
      
      
      margin-right: 40px;
  }
  button.mscCancel:hover, button.mscCancel:focus{
      
      }

  .msc-sub{
      white-space: pre-line;
      font-size:   1.2em;
      color:       #505050;
      text-align: left;
  }
  .msc_sub2{
      white-space:  pre-line;
      font-size:    1em;
      color:        #A0A0A0;
      text-align: left;
  }
  /*@-webkit-keyframes scale-fade{
      0%{opacity:0;-webkit-transform:scale(.8) rotateX(-40deg);transform:scale(.8) rotateX(-40deg)}
      50%{opacity:1}70%{-webkit-transform:scale(1.05) rotateX(0);transform:scale(1.05) rotateX(0)}
      100%{-webkit-transform:scale(1) rotateX(0);transform:scale(1) rotateX(0)}
  }*/
  /*@keyframes scale-fade{
      0%{
        opacity:0;
        /* -webkit-transform:scale(.8) rotateX(-40deg); * /
        transform:scale(.8) rotateX(-40deg)
      }
      50%{
        opacity:    1
      }
      70%{
        /* -webkit-transform:scale(1.05) rotateX(0); * /
        transform:  scale(1.05) rotateX(0)
      }
      100%{
        /* -webkit-transform:scale(1) rotateX(0); * /
        transform:  scale(1) rotateX(0)
      }
  }*/
  /* .msc-confirm--animate{ */
      /* -webkit-transform-origin: bottom center; */
      /* -ms-transform-origin: bottom center; */
      /* transform-origin: bottom center; */
      /* -webkit-animation: scale-fade 300ms forwards cubic-bezier(.8, .02, .45, -1.09); */
      /* animation:        scale-fade 50ms forwards cubic-bezier(.8, .02, .45, .91); */
  /* } */

/*** fin de msc ***/








/*#divCiudad{
  float:          left;
  width:          150px;
  background:     #fff;
  margin-left:    10px;
}*/


.selCombo{
  font-size:          0.9em;
  padding:            2px;
  width:              100%;
  background:         #fff;   /* -moz-appearance:    none; */
  appearance:         none;
  /* -webkit-appearance: none; */
  text-indent:        0.01px; /* text-overflow:      '' */
}

/******************************************
<div class="menu-row">
  <button class="menu-btn" id="btn-home">Inicio</button>
  <button class="menu-btn" id="btn-weather">Clima</button>
  <button class="menu-btn" id="btn-admin">Admin</button>
  <button class="menu-btn" id="btn-settings">Configuración</button>
</div>
 */

.menu-row{
  display:          flex;
  flex-direction:   row;
  justify-content:  space-around; /* o space-between / center */
  align-items:      center;
  /* padding:          5px; */
  background-color: var(--azulPiedra); //#9EB3A2; /*#303030;*/
  /* width:            500px */
}

.menu-btn{
  padding:          1px;
  /* font-size:        14px; */
  border:           none;
  background-color: #303030;
  color:            white;
  border-radius:    4px;
  cursor:           pointer;
  width:            50px;
}
.menu-btn.hidden{
  display: none;
}

.menuBn{
  padding:          1px;
  /* font-size:        14px; */
  border:           none;
  color:            white;
  border-radius:    4px;
  width:            50px;
  height:           50px;
}
/* 2026-10-02, Nestor: "Celular vertical: Mapa, totales, sanidad, GG: el ancho esta limitado, por lo menos
   deberia ajustarse al ancho del menu superior no menos". Causa: los ~10 botones del menu miden 50px fijos
   (500px en total) y en un celular de 360-412px el menu se salia de la pantalla (habia que correr de costado
   para llegar a Totales, Agricultura, Ganado) mientras Mapa, Totales, Sanidad y GG usan el ancho de la pantalla:
   quedaban mas angostos que el menu. Arreglo: en pantallas angostas los botones se reparten el ancho
   (flex 1 1 0) en vez de medir 50px cada uno, asi el menu mide lo mismo que la pantalla y que los paneles,
   sin scroll de costado. Los iconos son de 25-30px y entran sobrados en 36px (celular de 360). */
@media (max-width: 520px){
  /* #main es un float sin ancho: mide lo que pide su contenido (el menu) y no la pantalla. Con 100% queda
     del ancho de la pantalla y el menu se reparte adentro. */
  #main{ width: 100%; margin-left: 0; }
  /* app_media.css (MEDIA 6, de cuando el menu era una lista) le pone 44px fijos al icono: no entraba en el boton */
  .menu-row .menuLi{ padding-left: 0; width: auto; margin: 0; }
  .menu-row .menuBn{
    flex:       1 1 0;
    width:      auto;
    min-width:  0;
    padding:    7px 0;
  }
  .menu-row .menuBn svg{ max-width: 100%; }
  /* el logo "nego Agro" del primer boton media 50px fijos y se cortaba */
  .menu-row .divNA{ width: 100%; padding: 1px 0; }
  .menu-row .divNA .nego, .menu-row .divNA .agro{ font-size: 12px; }
  /* 2026-10-05: el grafico de lluvias de Inicial (canvas fijo de 370px + 22 de relleno + margenes) pasaba el ancho
     de un celular de 390px y daba scroll horizontal. Se ajusta al ancho disponible. */
  #dIniBarrasLluvias{ box-sizing: border-box; width: calc(100% - 8px); max-width: 490px; }
  .canvas-lluvias{ width: 100%; }
  /* 2026-10-05: Todas las parcelas en el celular: con la columna nueva "Dibujo" no entraba. Se oculta el alambrado
     (es solo informativo; en la fila de totales esa celda va vacia) y se achican letra e inputs. */
  .tblParTodas thead tr th{ padding: 5px 1px; font-size: 13px; }
  .tblParTodas thead tr>th:nth-child(5), .tblParTodas tbody tr>td:nth-child(5){ display: none; }
  .inParHas{ width: 46px; }
}

/*function toggleButton(id, shouldShow) {
  const btn = document.getElementById(id);
  if (btn) {
    btn.classList.toggle('hidden', !shouldShow);
  }
}

// Ejemplo: ocultar el botón de admin si no hay permisos
const userHasAdminAccess = false;
toggleButton('btn-admin', userHasAdminAccess);

 ***************************/
/*app.css*/

/* 2026-10-07, Natalia 6 / Nestor: "todas las filas de nombres de columnas en los listados las ponemos azul".
   Una sola regla para los titulos de columna (th) de todos los listados: fondo azul marino y letra blanca, como los
   reportes nuevos. Quedan afuera, a proposito, las tarjetas de Inicial (tblIni*, dPCTbl: encabezado blanco con letra
   azul, otro diseño) y los cartelitos del mapa (tblInfoWin, tblPastosLista) y del clima. Los :not() ademas le dan
   peso a la regla para ganarle a los grises viejos de cada tabla sin usar !important.
   2026-10-16, Néstor (captura de Agricultura › Gastos/Rubro): "Cambia el fondo gris por el celeste que tenemos definido y con
   letras en negro": ese reporte (.tARGXR y .tARGXRD) queda afuera y se pinta en app_agri.css. */
table:not([class*="tblIni"]):not(.tblInfoWin):not(.tblClima):not(.tblClimaSimple):not(.dPCTbl):not(.tblPastosLista):not(.tARGXR):not(.tARGXRD) > thead > tr > th,
table:not([class*="tblIni"]):not(.tblInfoWin):not(.tblClima):not(.tblClimaSimple):not(.dPCTbl):not(.tblPastosLista):not(.tARGXR):not(.tARGXRD) > tbody > tr:first-child > th,
table:not([class*="tblIni"]):not(.tblInfoWin):not(.tblClima):not(.tblClimaSimple):not(.dPCTbl):not(.tblPastosLista):not(.tARGXR):not(.tARGXRD) > tr:first-child > th,
table:not([class*="tblIni"]):not(.tblInfoWin):not(.tblClima):not(.tblClimaSimple):not(.dPCTbl):not(.tblPastosLista):not(.tARGXR):not(.tARGXRD) > thead > tr > td,
table.tblGIFac > tbody > tr:first-child > td{   /*2026-10-07: los que usan td en el encabezado (Descanso, UGPA, facturas)*/
  background: var(--azulMarino);
  color:      #fff;
}
table:not([class*="tblIni"]):not(.tblInfoWin):not(.tblClima):not(.tblClimaSimple):not(.dPCTbl):not(.tblPastosLista):not(.tARGXR):not(.tARGXRD) > thead > tr > th a,
table:not([class*="tblIni"]):not(.tblInfoWin):not(.tblClima):not(.tblClimaSimple):not(.dPCTbl):not(.tblPastosLista):not(.tARGXR):not(.tARGXRD) > tbody > tr:first-child > th a{
  color:      #fff;
}


/* ==================================================================================================
   2026-10-16, AVISOS de Inicial (app_iniAvisos.js). Néstor: "una card chiquita en el Home con un texto chico y un led
   verde, amarillo, naranja o rojo según la importancia del caso"; después, "una señal de que en algún módulo hay
   alertas... y que los avisos estén en la parte de ese módulo en Home" (alternativa B): semáforo en el título de
   Campo, led en el título del bloque de cada tema y la lista adentro del bloque, blanca como las cards.
   ================================================================================================== */
.avLed{
  display:        inline-block;
  flex:           0 0 auto;
  width:          13px;
  height:         13px;
  border-radius:  50%;
  background:     #bbb;
  box-shadow:     inset 0 0 3px rgba(255,255,255,.7), 0 0 0 1px rgba(0,0,0,.25), 0 0 4px rgba(0,0,0,.25);
  vertical-align: middle;
}
.avLed-verde{    background: #2ecc40; }
.avLed-amarillo{ background: #ffd500; }
.avLed-naranja{  background: #ff8c00; }
/*2026-10-16, Néstor: "que sea parpadeante (algo que me indique que es una cosa a atender ahora)": el rojo late. Sólo el
  rojo, para que el parpadeo siga queriendo decir "ahora". Quien pidió menos movimiento en el sistema no lo ve parpadear.*/
.avLed-rojo{     background: #e0301e; animation: avLate 1.2s ease-in-out infinite; }
@keyframes avLate{ 0%, 100%{ box-shadow: inset 0 0 3px rgba(255,255,255,.7), 0 0 0 1px rgba(0,0,0,.25), 0 0 4px rgba(224,48,30,.6); opacity: 1; }
                   50%{      box-shadow: inset 0 0 3px rgba(255,255,255,.7), 0 0 0 1px rgba(0,0,0,.25), 0 0 9px 2px rgba(224,48,30,.9); opacity: .55; } }
@media (prefers-reduced-motion: reduce){ .avLed-rojo{ animation: none; } }
/*2026-10-18, Néstor (lista de avisos de pastoreos con 18 filas rojas): "que solo haga blinking el led rojo de arriba, no
  lo de cada fila, molesta la vista". Late el de arriba (filtro, título del bloque, semáforo); los de cada fila, quietos.*/
.avFila .avLed-rojo{ animation: none; }
/*un led con su cantidad al lado ("● 2 ● 11"), en el semáforo y en el título del bloque*/
.avLedN{ display: inline-flex; align-items: center; gap: 3px; margin-right: 6px; }
.avLedN:last-child{ margin-right: 0; }
.avLedN{ cursor: pointer; padding: 1px 4px; border-radius: 10px; border: 1px solid transparent; }
.avLedN:hover{ border-color: rgba(255,255,255,.6); }
.avLedNOn{ background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.8); }
.avSemPalabra{ margin-right: 8px; opacity: .85; }
.avPalabra{ margin-left: 4px; font-size: 0.85rem; opacity: .9; }
.avLed-gris{     background: #bbb; }
/* semáforo general, en el título de Campo (a la derecha del nombre del campo) */
/*2026-10-16, Néstor ("queda muy mal"): el semáforo en su propio renglón debajo de "Campo · nombre", centrado como el título,
  y con permiso para partirse; antes iba en la misma línea con nowrap y se salía del bloque, que es angosto*/
.iniAvisosSem{ display: block; font-weight: 400; letter-spacing: 0; font-size: 0.85rem; margin: 3px 0 0 0; white-space: normal; line-height: 1.5; }
.avSemItem{ display: inline-flex; align-items: center; gap: 5px; margin-right: 12px; cursor: pointer; opacity: .95; }
.avSemItem[onclick]:hover{ text-decoration: underline; }
.avSemItem .avLed{ width: 12px; height: 12px; }
/* led en el título del bloque del tema */
.avBloqueLed{ display: inline-flex; align-items: center; gap: 5px; margin-left: 12px; font-weight: 400; letter-spacing: 0; font-size: 0.9rem; cursor: pointer; vertical-align: middle; }
.avBloqueLed:hover b{ text-decoration: underline; }
.avBloqueNom{ font-size: 0.85rem; opacity: .9; }
/* la lista del tema, adentro del bloque y arriba de sus cards; con alto máximo y scroll (Néstor, 16-10: "500px para probar") */
.avBloqueLista{
  flex:           1 1 100%;
  width:          100%;
  box-sizing:     border-box;
  font-size:      0.8rem;
  color:          #202020;
  text-align:     left;
  background:     #fff;
  border-radius:  8px;
  box-shadow:     0 1px 4px rgba(0,0,0,.25);
  padding:        0 10px 8px 10px;
  max-height:     500px;
  overflow-y:     auto;
  overscroll-behavior: contain;
}
.avListaTit{ font-style: italic; color: #0047b3; padding: 8px 0 2px 0; }
.avFiltro{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 0 6px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1; background: #fff; }
.avChip{ display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid #ccc; border-radius: 12px; cursor: pointer; background: #f6f6f6; line-height: 1.4; user-select: none; }
.avChip:hover{ border-color: #888; }
.avChipOn{ background: var(--azulPiedra); color: #fff; border-color: var(--azulPiedra); }
.avChip .avLed{ width: 11px; height: 11px; }
.avCerrar{ margin-left: auto; cursor: pointer; color: #888; font-size: 1.2em; padding: 0 4px; }
.avCerrar:hover{ color: #000; }
.avFila{ display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; border-bottom: 1px dotted #e4e4e4; }
.avFila .avLed{ margin-top: 2px; }
.avCuerpo{ flex: 1 1 auto; min-width: 0; }
.avDet{ color: #666; font-size: 0.9em; }
.avDeber{ color: #1a3a5c; font-size: 0.9em; font-style: italic; }   /*2026-11-06: el deber de cada aviso*/
.avNota{ color: #666; padding: 4px 0; font-size: 0.9em; }


/* ==================================================================================================
   2026-10-16, CARD GASTOS E INGRESOS de Inicial (app_iniFinanzas.js), bloque Comercial. Néstor: "Quiero que en el Home
   también figuren estos valores, pero sin los botones Cargar". Blanca como las vecinas (Ventas / Compras por categoría).
   Los anchos de columna van en el <colgroup> que arma el JS (table-layout: fixed global, CLAUDE.md §7).
   ================================================================================================== */
.dIniFinanzasCard{
  display:        block;
  font-size:      0.8rem;
  color:          #000;
  background:     #fff;
  border-radius:  8px;
  box-shadow:     0 1px 4px rgba(0,0,0,.25);
  padding:        12px 10px 12px;
  width:          300px;
  max-width:      100%;
  box-sizing:     border-box;
  overflow:       hidden;
}
.dIniFinanzasCard > *{ float: none !important; clear: both; }
.dIniFinanzasCard .iniItalic{ display: block; margin-bottom: 6px; }
.tblIniFin{ width: 100%; border-collapse: collapse; table-layout: fixed; }
.tblIniFin .colFinRot{ width: 88px; }   /*2026-11-18 (#525, Natalia: "ampliar la 1a"): 72 -> 88, "Gasto / cab." y "Resultado" enteros; las de monedas se reparten el resto*/
.tblIniFin th{ background: var(--celesteTotales); color: #000; font-weight: 600; text-align: right; padding: 3px 6px; border: 1px solid silver; }
.tblIniFin th:first-child{ text-align: left; }
.tblIniFin td{ padding: 3px 6px; border: 1px solid silver; white-space: nowrap; background: #fff; }   /*el td global trae fondo gris*/
.tblIniFin .tdFinRot{ text-align: left; }
.tblIniFin .tdFinNum{ text-align: right; font-weight: bold; }
.tblIniFin .trFinIng .tdFinRot{ color: #1a7f1a; }
.tblIniFin .trFinGas .tdFinRot{ color: #c0392b; }
.tblIniFin .trFinRes td{ background: var(--celesteTotales); }
.tblIniFin .finNeg{ color: #c0392b; }
.tblIniFin .finFac{ display: block; font-weight: normal; color: #666; font-size: 0.85em; line-height: 1.1; }
.tblIniFin .finNada{ color: #999; font-weight: normal; }
.dIniFinVacio{ color: #666; padding: 4px 0; }
/*2026-10-16: filas de indicadores (gasto por ha / UG / cabeza) y la hacienda valuada*/
.tblIniFin .trFinInd td{ font-size: 0.92em; color: #333; }
.tblIniFin .trFinInd .tdFinNum{ font-weight: normal; }
.tblIniFin .trFinInd .tdFinRot{ color: #555; cursor: help; }
.dIniFinHac{ margin-top: 8px; padding-top: 6px; border-top: 1px dotted #ccc; }
.dIniFinHacRot{ color: #555; cursor: help; }
.dIniFinHac .finFac{ display: block; color: #666; font-size: 0.85em; }
.dIniFinLinks{ margin-top: 8px; display: flex; justify-content: space-between; }
.dIniFinLinks a{ color: #0066cc; }

/*2026-10-16, Néstor: leyenda HTML de las tortas de Ventas/Compras (jsCharts), a la izquierda y una categoría por renglón*/
.pieLeyenda{ text-align: left; padding: 4px 6px 0 6px; font-size: 11px; line-height: 1.6; }
.pieLeyItem{ display: block; white-space: nowrap; }
.pieLeyItem i{ display: inline-block; width: 15px; height: 11px; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.15); }

/* 2026-10-19, Néstor: "un número interno que indique la última actualización de negoagro ... en inicial debajo de todo bien
   chiquito y que al pasar el mouse se agrande o tooltip". El pie de versión (jsVersionPie, app_onlineGuard.js). */
.naVersion{
  clear:        both;
  position:     relative;
  box-sizing:   border-box;
  width:        100%;
  padding:      6px 14px 12px 14px;
  text-align:   right;
  font:         normal 9px/1.3 Verdana, sans-serif;
  color:        rgba(255, 255, 255, 0.45);
  cursor:       pointer;
  user-select:  none;
}
  .naVersion #spNaVersion{ transition: font-size .15s, color .15s; }
  .naVersion:hover #spNaVersion,
  .naVersion:focus #spNaVersion,
  .naVersion.abierto #spNaVersion{ font-size: 12px; color: #fff; }
  .naVersion.naVersionNueva #spNaVersion{ color: #ffd54f; }
  .naVersion:focus{ outline: none; }
  .naVersionCaja{
    display:       none;
    position:      absolute;
    right:         14px;
    bottom:        100%;
    z-index:       60;
    max-width:     calc(100vw - 32px);
    padding:       8px 10px;
    border-radius: 6px;
    background:    #fff;
    color:         #334155;
    box-shadow:    0 4px 16px rgba(0, 0, 0, 0.35);
    text-align:    left;
    font:          normal 12px/1.45 Verdana, sans-serif;
    cursor:        default;
  }
  .naVersion:hover .naVersionCaja,
  .naVersion:focus .naVersionCaja,
  .naVersion.abierto .naVersionCaja{ display: block; }
  .naVersionCaja table{ table-layout: auto; width: auto; border-collapse: collapse; background: transparent; margin: 0; }
  .naVersionCaja tr, .naVersionCaja td{ background: transparent; border: 0; }
  .naVersionCaja td{ padding: 1px 0; vertical-align: top; word-break: break-all; font: inherit; color: #334155; text-align: left; }
  .naVersionCaja td:first-child{ padding-right: 12px; color: #64748b; white-space: nowrap; word-break: normal; }
  .naVersionAviso{ margin-top: 6px; color: #b45309; }
  .naVersionCopia{ margin-top: 6px; color: #0066cc; font-size: 11px; }

/* 2026-10-19: la carga en PV de Inicial en una sola tabla, una columna por especie y el total (index.html, #tblIniCargaPVBov).
   Pisa los anchos de .tblIniCargas (pensados para 2 columnas). */
  .tblIniCargaPV thead tr>th:nth-child(1){ width: 34%; }
  .tblIniCargaPV thead tr>th:nth-child(n+2){ width: auto; text-align: right; padding-left: 2px; padding-right: 4px; }
  .tblIniCargaPV tbody tr>td:nth-child(n+2){ text-align: right; padding-left: 2px; white-space: nowrap; }
  .tblIniCargaPV tbody tr>td:last-child, .tblIniCargaPV thead tr>th:last-child{ font-weight: bold; }
  /*2026-10-27 (idiomas, Inicial): el Total en negrita (1.046,9) no entraba en su columna y se cortaba, también en español. Con el
    layout fijo de app.css las columnas sin ancho se reparten en partes iguales: el Total lleva el suyo, un poco más ancho.*/
  .tblIniCargaPV thead tr>th:nth-child(1){ width: 26%; }
  .tblIniCargaPV thead tr>th:last-child{ width: 20%; }

/* 2026-10-19: MÓDULO destinos, en la capa de Uso del suelo (app_destinos.js). Las tablas son .dPCTbl de la capa; esto es lo propio. */
  .dstTbl td{ vertical-align: top; }
  .dstAnios{ margin-top: 6px; }
  .dstFila a{ color: #0066cc; text-decoration: none; white-space: nowrap; }
  .dstEdit > td{ background: #f8fafc; padding: 6px 4px; }
  .dstEditTbl{ table-layout: auto; width: 100%; border-collapse: collapse; }
  .dstEditTbl th{ font-weight: normal; color: #64748b; text-align: left; padding: 2px 4px; }
  .dstEditTbl td{ padding: 2px 4px; }
  .dstEditTbl select, .dstEditTbl input{ font-size: 12px; padding: 2px; max-width: 100%; }
  .dstBtn{ font-size: 12px; padding: 2px 8px; cursor: pointer; }

/* 2026-10-26 PERFILES (php/negoagro_perfiles.php, jsModulosAplicar en app_tools.js). Néstor: "que los operarios de campo no vean la
   parte comercial ni funciones de administración del campo". Esto sólo esconde: el servidor rechaza lo que el perfil no puede hacer.
   OPERARIO: sin precios ni valores (US$/kg del lote y del lote nuevo, US$/ha y valor del campo en KUSD), sin gastos del lote y del
   potrero, sin Venta ni Compra, sin Mis datos y sin crear potreros. */
html.perfil-operario td:has(> div > input[id*="ValorKilo"]),
html.perfil-operario td:has(> div > #nlValorKilo),
html.perfil-operario td:has(> #potValor),
html.perfil-operario td:has(#potValorTotal),
html.perfil-operario td:has(#potValorTotal) + td,
html.perfil-operario td:has(input[id*="RadioVenta"]),
html.perfil-operario td:has(#nlCompra),
html.perfil-operario .divOutGastosBOE,
html.perfil-operario #divOutGastos,
html.perfil-operario #mMisDatos,
html.perfil-operario #aMasPot{ visibility: hidden !important; }
html.perfil-operario .divOutGastosBOE,
html.perfil-operario #divOutGastos,
html.perfil-operario #mMisDatos{ display: none !important; }
/* SÓLO LECTURA: un aviso fijo, chico, abajo a la izquierda */
html.perfil-lectura body::after{ content: "Sólo lectura"; position: fixed; left: 8px; bottom: 8px; z-index: 9999; padding: 3px 10px;
  border-radius: 10px; background: #fde68a; color: #7c5800; font: 600 12px/1.4 Arial, sans-serif; pointer-events: none; }

/* 2026-10-27, Néstor ("empezá con el CSS de Totales tabla por tabla"): TOTALES, columna por columna. La lista de potreros no es una
   <table> (son divs), así que el ajuste automático (app_alinear.js) no la toca: la alineación va acá. Los nombres de columna estaban
   con la clase "center" y quedaban corridos de sus números; ahora cada uno va como su columna.
     encabezados:     Pot (texto) a la izquierda; ha, Bov, Ovi, Equi, UG, PV/ha (números) a la derecha
     fila de potrero: ha a la derecha (las otras ya lo estaban)
     filas de lotes y "Crear un lote nuevo": parcela, cantidad, peso y lote (números) a la derecha, con sus rótulos;
                      categoría y raza (texto) a la izquierda, con sus rótulos */
.divTrTit .divColP                                                 { text-align: left  !important; }
.divTrTit .divCol, .divTrTit .divCol2, .divTrTit .divColU,
.divTrTit .divColPV, .divCol2                                      { text-align: right !important; }
.divCol0 .lbl, .divCol .lbl, .divColPeso .lbl, .divTotHato, .divTotHato .lbl,
.div1Col0 .lbl, .div1Col .lbl, .div1ColPeso .lbl,
.in1Q, .in1Peso, .in1Pot, .inTotQ, .inTotPeso                     { text-align: right; }
.divColCat .lbl, .divColRaza .lbl, .div1ColCat .lbl, .div1ColRaza .lbl,
.inTotCat, .inTotRaza, .in1Cat, .in1Raza                           { text-align: left; }

/* 2026-10-27, Néstor: en las tablas, los números a la derecha y el texto a la izquierda, en todo el software. Las clases las pone
   js/src/app_alinear.js mirando el contenido de cada casilla. na-num gana siempre; na-txt no le gana a una regla propia de la pantalla. */
td.na-num, th.na-num, input.na-num{ text-align: right !important; }
td.na-txt, th.na-txt{ text-align: left; }

/*2026-11-02, #238: fecha de sanidad con calendario (jsSaniFechaCasilla, app_tools.js)*/
td.saniFechaMal{ background: #fee2e2 !important; outline: 1px solid #dc2626; }
input.saniFechaCal{ font-size: 14px; border: 1px solid #334155; background: #fff; }

/*2026-11-17, Néstor ("¿no sería conveniente que los botones 'guardar' queden deshabilitados hasta que el servidor conteste guardado ok?"):
  el botón que inició una operación (jsOpBotonBloquea, app_operacion.js) queda así hasta que el servidor contesta, bien o mal*/
.naGuardando{ opacity: .45 !important; pointer-events: none !important; cursor: wait !important; }

/* 2026-11-21, NORMA DE TODO EL SISTEMA (Néstor: "Cuando un título tiene una flechita ... hacia abajo ABRE, hacia arriba CIERRA"; antes, en
   CLAUDE.md §5: "flecha ▼ cerrado / ▲ abierto"). Todo <details> lleva su flecha a la derecha del título: ▼ cerrado, ▲ abierto. Se apaga la
   flecha propia del navegador (► cerrado, ▼ abierto: justo al revés). Un plegado con su propio chevron (Mis datos, el clima) lo dibuja en su
   ::after con más especificidad y sigue igual; no agregar flechas a mano en el texto del summary. */
details > summary{ list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker{ display: none; }
/* 2026-11-24, Néstor: "Todas esas flechitas hacelas más grandes, como las de Totales ... dedos gruesos"; y después: "Mira el tamaño que
   tienen las flechas en Totales ... Estandariza todas las nuevas como las de Totales": el mismo triángulo gris de .aDownGray (14 x 7 px,
   #a0a0a0), hacia abajo cerrado y hacia arriba abierto */
details > summary::after{ content: ''; display: inline-block; vertical-align: middle; margin-left: 0.5em; width: 0; height: 0;
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 7px solid #a0a0a0; border-bottom: 0; }
details[open] > summary::after{ content: ''; border-top: 0; border-bottom: 7px solid #a0a0a0; }

/* 2026-11-25 (Néstor: "Los títulos en todos los reportes tienen que estar centrados. En el contenido, los valores de texto alineados a la
   izquierda y los numéricos a la derecha"): los títulos de columna, centrados en todas las tablas; gana a la alineación propia de cada una
   (el contenido sigue como estaba: texto a la izquierda, números a la derecha) */
thead th, thead td, table > tbody > tr:first-child > th{ text-align: center !important; }
  /*  ...salvo el título de una tarjeta de Inicial ("Carga total en UG"): es el título de la tarjeta, no de una columna */
  thead th.iniItalic{ text-align: left !important; }
/* 2026-11-25: el título de la tarjeta de carga en PV, arriba de la tabla (como "Carga total en UG" en la de al lado) */
.tblIniCargaPV caption{ caption-side: top; text-align: left; padding: 8px 3px 6px 4px; }

/* 2026-11-25 (Néstor: "Guardar con textos más claros y el tilde verde"; "me gusta la idea de uniformizar todos los Guardar con un símbolo como ese check de fondo verde"):
   todo Guardar lleva el tilde verde a la izquierda y dice qué guarda. Es la única marca de color aprobada sobre el botón estándar.
   El tilde es un dibujo propio (no el emoji, que cambia en cada celular). docs/botones-2026-11-25.md */
button.btnGuardar{ display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; white-space: nowrap; }
  button.btnGuardar::before{ content: ''; display: inline-block; vertical-align: middle; margin-right: 6px; flex: none; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='4' fill='%2322c55e'/%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
/* 2026-11-25 (Néstor, opción A: "Buscar" con una lupa chica a la izquierda, del alto de la casilla de al lado): la lupa toma el color de la letra */
button.btnBuscar{ display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; white-space: nowrap; }
  button.btnBuscar::before{ content: ''; display: inline-block; vertical-align: middle; margin-right: 5px; flex: none; width: 13px; height: 13px; background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.32 12.9l5.39 5.4-1.41 1.4-5.4-5.38A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.32 12.9l5.39 5.4-1.41 1.4-5.4-5.38A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ENLACES, 2026-11-26 (Néstor: "Probemos usar #0066CC para los links"; "sí, hacelo regla general para todos los enlaces"):
   todo enlace de la app (un <a> o un texto que se toca para ir a otra pantalla) va en #0066CC. Es la letra por defecto de
   todo <a> (con :where no le gana a ninguna regla propia: el menú, los botones de reportes y los que son botones siguen como
   están) y el color de las reglas de enlaces que había con otros azules (#3399FF, #1D4ED8, #0066FF, #0099FF, #1e40af).
   Los botones NO: su letra sigue siendo #0047b3 (la regla button de arriba). */
:where(a){ color: #0066cc; }
