#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card__lbl {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: var(--texto-fuerte, #0f172a) !important;
  -webkit-text-fill-color: var(--texto-fuerte, #0f172a) !important;
  line-height: 1.2 !important;
  text-align: center !important;
  margin: 0 !important;
  hyphens: auto;
  overflow-wrap: anywhere;
}
/**
 * Dashboard Inicio — reorganización + interiores modernos (2026-07-07)
 * Headers sin cambio; cuerpos, chips Hoy, CONS y stat cards.
 */

/* ── Columna principal ── */
#pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Zona notificaciones (3 franjas CONS) ── */
#pg-dash .dash-inicio-notif-zone.dash-cons-alerts {
  margin: 0 0 12px;
  gap: 8px;
}

#pg-dash .dash-inicio-notif-zone .dash-cons-strip {
  border-radius: 12px;
  border: var(--borde-fino, 1px solid var(--gris-300, #cbd5e1));
  border-left-width: 4px;
  box-shadow: var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.9)),
    var(--manto-serio-panel-drop, 0 1px 3px rgba(15, 23, 42, 0.06));
}

#pg-dash .dash-inicio-notif-zone .dash-cons-strip__inner {
  padding: 10px 12px;
  min-height: 44px;
}

#pg-dash .dash-inicio-notif-zone .dash-cons-strip__ico {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

#pg-dash .dash-inicio-notif-zone .dash-cons-strip__msg {
  font-size: 12px;
  line-height: 1.4;
}

/* ── Cuerpos carne (venta / potrero) — panel gris suave ── */
#pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro__body--venta,
#pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-potrero-recom-section .dash-inicio-recuadro__body {
  padding: 12px;
  background: var(--superficie-pagina, #e8edf4);
  border-top: var(--borde-fino, 1px solid var(--gris-300, #cbd5e1));
}

/* Indicadores carne: cuerpo panel gris (como Hoy) */
#pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-perfil-carne-section .dash-inicio-recuadro__body {
  padding: 12px;
  background: var(--superficie-pagina, #e8edf4);
  border-top: none;
}

#pg-dash.dash-serio-v1 .dash-inicio-recuadro--hoy .dash-hoy-finca-host {
  margin: 0;
}

/* Badge contador en header Hoy */
#pg-dash .dash-inicio-recuadro__badge--count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  line-height: 1;
  flex-shrink: 0;
}

#pg-dash .dash-inicio-recuadro--hoy .dash-inicio-recuadro__head-actions {
  flex: 0 0 auto;
  margin-left: auto;
  gap: 6px;
}

#pg-dash .dash-inicio-recuadro--hoy .dash-inicio-recuadro__head .pes-serio-panel-htit-wrap,
#pg-dash .dash-inicio-recuadro--hoy .dash-inicio-recuadro__head .dash-inicio-recuadro__tit {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Hoy en la finca — chips fila legibles ── */
.hoy-finca-widget--compact {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  gap: 0 !important;
}

.hoy-finca-widget__chips--modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 640px) {
  .hoy-finca-widget__chips--modern {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hoy-finca-chip--row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  grid-template-columns: unset !important;
  text-align: left !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  min-height: 64px !important;
  background: var(--gris-0, #ffffff) !important;
  border: var(--borde-fino, 1px solid var(--gris-300, #cbd5e1)) !important;
  border-radius: 12px !important;
  box-shadow: var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.9)),
    0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

.hoy-finca-chip--row::before {
  display: none !important;
}

.hoy-finca-chip--row .hoy-finca-chip__ico-wrap {
  grid-column: unset !important;
  grid-row: unset !important;
  justify-self: unset !important;
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--gris-50, #f8fafc);
  box-shadow: inset 0 0 0 1px var(--gris-200, #e2e8f0);
}

.hoy-finca-chip--row .hoy-finca-chip__ico {
  max-width: 28px !important;
  max-height: 28px !important;
}

.hoy-finca-chip__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.hoy-finca-chip--row .hoy-finca-chip__tit {
  grid-column: unset !important;
  grid-row: unset !important;
  width: 100%;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: var(--texto-fuerte, #0f172a) !important;
  text-align: left !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hoy-finca-chip__meta {
  font-size: 10px;
  font-weight: 700;
  color: var(--texto-suave, #64748b);
  line-height: 1.2;
}

.hoy-finca-chip--row .hoy-finca-chip__n {
  grid-column: unset !important;
  grid-row: unset !important;
  flex: 0 0 auto;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 15px !important;
  font-weight: 900 !important;
  font-variant-numeric: tabular-nums;
  color: var(--texto-fuerte, #0f172a) !important;
  background: var(--gris-100, #f1f5f9) !important;
  border: 1px solid var(--gris-300, #cbd5e1) !important;
  box-shadow: none !important;
}

/* Empty state Hoy */
.hoy-finca-empty--ok {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(168deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
}

.hoy-finca-empty__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.hoy-finca-empty__txt {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #166534 !important;
}

/* ── Listos para venta — layout compacto ── */
.dash-listos-venta-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100%;
  padding: 0 !important;
  min-height: 0 !important;
  border-radius: 12px !important;
  background: var(--gris-0, #ffffff) !important;
  border: var(--borde-fino, 1px solid var(--gris-300, #cbd5e1)) !important;
  box-shadow: var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.9)),
    var(--manto-serio-panel-drop, 0 1px 2px rgba(15, 23, 42, 0.06)) !important;
  text-align: left !important;
  cursor: pointer;
  overflow: hidden;
}

.dash-listos-venta-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: var(--gris-100, #f1f5f9);
  border-bottom: var(--borde-fino, 1px solid var(--gris-300, #cbd5e1));
}

.dash-listos-venta-card__fecha {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--texto-base, #334155);
  text-transform: capitalize;
}

.dash-listos-venta-card__pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--texto-suave, #64748b);
  background: var(--gris-0, #ffffff);
  border: 1px solid var(--gris-300, #cbd5e1);
}

.dash-listos-venta-card__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.dash-listos-venta-card__hero-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--gris-50, #f8fafc);
  border: 1px solid var(--gris-200, #e2e8f0);
}

.dash-listos-venta-card__val {
  font-size: 36px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: var(--texto-fuerte, #0f172a) !important;
  font-variant-numeric: tabular-nums;
}

.dash-listos-venta-card__hero-lbl {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto-suave, #64748b);
  text-align: center;
}

.dash-listos-venta-card__side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dash-listos-venta-card__money {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: var(--texto-fuerte, #0f172a) !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.dash-listos-venta-card__meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--texto-suave, #64748b);
  line-height: 1.35;
}

.dash-listos-venta-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-top: var(--borde-fino, 1px solid var(--gris-300, #cbd5e1));
  background: var(--gris-50, #f8fafc);
  font-size: 12px;
  font-weight: 800;
  color: var(--texto-base, #334155);
}

.dash-listos-venta-card__arrow {
  font-size: 14px;
  font-weight: 900;
  color: var(--texto-suave, #64748b);
}

/* Potrero — enlace compacto, no botón gigante */
.dash-potrero-recom-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px !important;
  height: 32px !important;
  max-height: 32px !important;
  padding: 0 12px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  border-radius: 8px !important;
  border: 1px solid var(--gris-300, #cbd5e1) !important;
  background: var(--gris-0, #ffffff) !important;
  color: var(--texto-base, #334155) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.dash-potrero-recom-link--sec {
  background: var(--gris-50, #f8fafc) !important;
}

.dash-potrero-recom-link:hover {
  filter: brightness(1.03);
}

#pg-dash[data-piel-inicio='carne'] .dash-potrero-recom-actions {
  margin-top: 8px;
  gap: 8px;
}

#pg-dash[data-piel-inicio='carne'] .dash-potrero-recom-actions .btn,
#pg-dash[data-piel-inicio='carne'] .dash-potrero-recom-actions .dash-potrero-recom-link {
  min-height: 32px !important;
  height: 32px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  border-color: var(--gris-300, #cbd5e1) !important;
  background: var(--gris-0, #ffffff) !important;
  color: var(--texto-base, #334155) !important;
  -webkit-text-fill-color: var(--texto-base, #334155) !important;
}

/* ── Stat card legacy (otros bloques) ── */

.dash-inicio-stat-card__val-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--gris-50, #f8fafc);
  border: 1px solid var(--gris-200, #e2e8f0);
}

.dash-inicio-stat-card__val {
  font-size: 32px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: var(--texto-fuerte, #0f172a) !important;
  font-variant-numeric: tabular-nums;
}

.dash-inicio-stat-card__unit {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto-suave, #64748b);
}

.dash-inicio-stat-card__detail {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-inicio-stat-card__money {
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #166534 !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.dash-inicio-stat-card__msg {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--texto-suave, #64748b) !important;
  line-height: 1.35;
}

/* ── Tablero carne KPIs ── */
#pg-dash[data-piel-inicio='carne'] #dash-perfil-carne-section .dash-inicio-recuadro__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#pg-dash[data-piel-inicio='carne'] .dash-perfil-carne-kpis {
  gap: 8px;
}

#pg-dash[data-piel-inicio='carne'] .dash-perfil-carne-kpi {
  border-radius: 12px;
  min-height: 0;
  padding: 0;
  background: var(--gris-0, #ffffff);
  border: var(--borde-fino, 1px solid var(--gris-300, #cbd5e1));
  box-shadow: var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.9)),
    0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.dash-perfil-carne-kpi__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border-bottom: none;
  min-height: 0;
  width: 100%;
  text-align: center;
}

.dash-perfil-carne-kpi__ico {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#pg-dash[data-piel-inicio='carne'] .dash-perfil-carne-kpi__lbl {
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--texto-suave, #64748b);
}

#pg-dash[data-piel-inicio='carne'] .dash-perfil-carne-kpi__val {
  font-size: clamp(17px, 4.2vw, 22px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  padding: 2px 10px 8px;
  line-height: 1.1;
  text-align: center;
}

#pg-dash[data-piel-inicio='carne'] .dash-perfil-carne-kpi--wide {
  grid-column: 1 / -1;
  align-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  #pg-dash[data-piel-inicio='carne'] .dash-perfil-carne-kpi--wide {
    grid-column: auto;
  }
}

#pg-dash[data-piel-inicio='carne'] .dash-perfil-carne-section__sub {
  margin: 0 0 4px;
  padding: 0 2px;
  color: var(--texto-base, #334155) !important;
  font-weight: 700;
  text-align: center;
}

/* Potrero recomendado — tarjeta interior */
#pg-dash[data-piel-inicio='carne'] .dash-potrero-recom-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--gris-0, #ffffff);
  border: var(--borde-fino, 1px solid var(--gris-300, #cbd5e1));
  box-shadow: var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.9)),
    0 1px 2px rgba(15, 23, 42, 0.05);
}

/* Potrero recomendado — tarjeta interior */

@media (max-width: 520px) {
  .hoy-finca-widget__chips--modern {
    grid-template-columns: 1fr;
  }

  .dash-inicio-stat-card {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
  }

  .dash-inicio-stat-card__val-wrap {
    width: 100%;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
  }

  .dash-inicio-stat-card__detail {
    align-items: center;
    text-align: center;
  }

  #pg-dash .dash-inicio-recuadro__head-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

/* ── Hero carne: foto ceba más clara + textos legibles ── */
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero.dash-serio-hero--title-strip,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero.dash-serio-hero--title-strip,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero.dash-serio-hero--title-strip {
  background-color: transparent !important;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.14) 0%, rgba(15, 23, 42, 0.05) 48%, rgba(15, 23, 42, 0.22) 100%),
    var(--hero-img) !important;
  background-size: auto, cover !important;
  background-position: center, center 38% !important;
  background-repeat: no-repeat, no-repeat !important;
  min-height: 112px !important;
}

html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-serio-hero__title,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero__title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-hero-clima__ico,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio #dash-hero-clima-ico,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-hero-clima__ico {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-hero-clima__ico .dash-clima-weather-img,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-hero-clima__ico .dash-hero-clima__png,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-hero-clima__ico img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn__ico {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 1 !important;
}

@media (max-width: 520px) {
  .dash-listos-venta-card__grid {
    grid-template-columns: 1fr;
  }

  .dash-listos-venta-card__hero-num {
    width: 100%;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }
}

/* ── Noticias: marquesina sin salto (shift en px, sin gap entre chunks) ── */
#pg-dash .dash-noticias-widget--ready .dash-noticias-widget__pulse {
  display: none !important;
}

#pg-dash .dash-noticias-marquee__mover {
  gap: 0 !important;
}

#pg-dash .dash-noticias-marquee__mover:not(.dash-noticias-marquee__mover--ready) {
  animation: none !important;
  transform: translate3d(0, 0, 0) !important;
}

#pg-dash .dash-noticias-marquee--shift-ready .dash-noticias-marquee__mover {
  animation: dashNoticiasMarqueeShift 75s linear infinite !important;
  will-change: transform;
}

@keyframes dashNoticiasMarqueeShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(var(--dash-noticias-shift, -50%), 0, 0);
  }
}

#pg-dash .dash-noticias-widget--ready .dash-noticias-marquee__chunk--dup {
  margin-left: 0 !important;
}

/* Copiloto Resumen: sin parpadeo de opacidad en remontajes */
#pg-dash #dash-copilot-proactive.copilot-proactive-host:not(:empty) {
  opacity: 1 !important;
  pointer-events: auto !important;
}

#pg-dash #dash-copilot-proactive.copilot-proactive-host:not(:empty).copilot-proactive-host--loading {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ── Tabs Inicio / Repro / Alertas — marco exterior = bloques Top 10 ── */
html body #pg-dash.dash-serio-v1 > .dash-tabs-bar,
html body #pg-dash.dash-serio-v1 > .dash-tabs-bar.dash-tabs-bar--segment {
  display: flex !important;
  visibility: visible !important;
  min-height: 44px !important;
  margin-bottom: 10px !important;
  border: var(--manto-serio-panel-borde, 1px solid #d1d5db) !important;
  border-radius: 14px !important;
  box-shadow:
    var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.78)),
    var(--manto-serio-panel-drop, 0 1px 2px rgba(15, 23, 42, 0.05)) !important;
  overflow: hidden !important;
}

html body #pg-dash.dash-serio-v1 .dash-tabs-bar.dash-tabs-bar--segment .dash-tab-btn,
html body #pg-dash.dash-serio-v1 .dash-tabs-bar.dash-tabs-bar--segment .dash-tab-btn.active,
html body #pg-dash.dash-serio-v1 .dash-tabs-bar.dash-tabs-bar--segment .dash-tab-btn.active:hover,
html body #pg-dash.dash-serio-v1 .dash-tabs-bar.dash-tabs-bar--segment .dash-tab-btn.active:active {
  border: var(--manto-serio-panel-borde, 1px solid #d1d5db) !important;
}

html body #pg-dash.dash-serio-v1 .dash-tabs-bar.dash-tabs-bar--segment .dash-tab-btn:hover:not(.active) {
  border-color: var(--gris-300, #cbd5e1) !important;
}

html body #pg-dash.dash-serio-v1 .dash-tabs-bar.dash-tabs-bar--segment .dash-tab-btn.active:hover {
  border-color: var(--gris-300, #cbd5e1) !important;
}

/* ── Tabs: solo color cuando están activos (sin cambiar tamaño) ── */
/* Inicio activo: misma píldora clara que el resto (texto oscuro legible; no blanco-sobre-blanco) */
#pg-dash.dash-serio-v1 .dash-tabs-bar.dash-tabs-bar--segment .dash-tab-btn--inicio.active {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

#pg-dash.dash-serio-v1 .dash-tabs-bar.dash-tabs-bar--segment .dash-tab-btn--alertas.active {
  background: linear-gradient(168deg, #fecaca 0%, #f87171 50%, #dc2626 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 2px 8px rgba(185, 28, 28, 0.2) !important;
}

/* Hero carne: sin icono ni textos redundantes (solo título) */
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero__ico-dash-inicio,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero__ico-dash-inicio,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero__ico-dash-inicio {
  display: none !important;
}

html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero__kicker,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero__kicker,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero__sub,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero__sub,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero__sub {
  display: none !important;
}

/* Clima hero: PNG con fondo transparente (sin recuadro) */
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-hero-clima__ico,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip #dash-hero-clima-ico,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-hero-clima__ico,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip #dash-hero-clima-ico,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-hero-clima__ico {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-hero-clima__ico img,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-hero-clima__ico svg,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-hero-clima__ico .dash-clima-weather-img,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-hero-clima__ico .dash-hero-clima__png,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-hero-clima__ico img,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-hero-clima__ico .dash-clima-weather-img,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-hero-clima__ico .dash-hero-clima__png,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-hero-clima__ico img {
  width: 32px !important;
  height: 32px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45)) !important;
}

/* Icono Inicio nav inferior: un poco más grande (solo img, sin cambiar recuadro .nb) */
/* tamaño/alineación de iconos de tabs: lo define dash-inicio-mejora-visual equal3 */

/* Icono Inicio nav inferior: mismo PNG que hero + misma altura que el resto del rail (--nav-ico-h) */

/* Tabs Inicio / Alertas: color visible activo e inactivo (sin cambiar altura) */
#pg-dash.dash-serio-v1 .dash-tabs-bar.dash-tabs-bar--segment .dash-tab-btn--inicio:not(.active) {
  background: linear-gradient(168deg, #f1f5f9 0%, #e2e8f0 55%, #cbd5e1 100%) !important;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

#pg-dash.dash-serio-v1 .dash-tabs-bar.dash-tabs-bar--segment .dash-tab-btn--alertas:not(.active) {
  background: linear-gradient(168deg, #fff1f2 0%, #fecdd3 52%, #fda4af 100%) !important;
  color: #9f1239 !important;
  -webkit-text-fill-color: #9f1239 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}

/* Hero CTAs: piel B2 vitrea sobre foto (capa final — no cajas blancas); fila propia pegada al borde derecho */
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row {
  gap: 6px !important;
  margin-top: 10px !important;
}

/* KPI Indicadores: iconos más legibles */
#pg-dash .dash-perfil-carne-kpi__ico {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
}

/* Dashboard Reproducción — paridad visual hub Carne (tarjetas blancas, sin Pebble) */
#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-hub-app-section {
  margin: 0 0 12px !important;
  padding: 0 12px !important;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-hub-app-panel {
  max-width: min(560px, 100%) !important;
  margin: 0 auto !important;
  padding: 12px !important;
  background: var(--superficie-pagina, #e8edf4) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-hub-app-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: stretch !important;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 92px !important;
  aspect-ratio: auto !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 6px 8px !important;
  border-radius: 12px !important;
  border: var(--borde-fino, 1px solid #cbd5e1) !important;
  background: var(--gris-0, #ffffff) !important;
  box-shadow: var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.92)),
    0 1px 3px rgba(15, 23, 42, 0.06) !important;
  overflow: visible !important;
  isolation: auto !important;
  transform: none !important;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s !important;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card::before,
#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card::after {
  content: none !important;
  display: none !important;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card:hover {
  transform: none !important;
  border-color: var(--gris-300, #cbd5e1) !important;
  background: var(--gris-0, #ffffff) !important;
  box-shadow: var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.95)),
    0 2px 6px rgba(15, 23, 42, 0.08) !important;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card:active {
  transform: scale(0.98) !important;
  opacity: 1 !important;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card__badge {
  top: 6px !important;
  right: 6px !important;
  left: auto !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  border: 1px solid var(--gris-300, #cbd5e1) !important;
  background: var(--gris-100, #f1f5f9) !important;
  color: var(--texto-fuerte, #0f172a) !important;
  -webkit-text-fill-color: var(--texto-fuerte, #0f172a) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
  z-index: 2 !important;
  pointer-events: none;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card__ico {
  width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  image-rendering: auto !important;
  transform: none !important;
  transition: none !important;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card:hover .dash-app-card__ico {
  transform: none !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-serio-hero__ico-inline {
  width: 44px !important;
  height: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  object-fit: contain !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub.repro-pebble-vida-20260418 .dash-serio-hero.dash-repro-hero-band .dash-serio-hero__ico-inline {
  filter: none !important;
  -webkit-filter: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

#pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card__lbl {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: var(--texto-fuerte, #0f172a) !important;
  -webkit-text-fill-color: var(--texto-fuerte, #0f172a) !important;
  line-height: 1.2 !important;
  text-align: center !important;
  margin: 0 !important;
  hyphens: auto;
  overflow-wrap: anywhere;
}

@media (max-width: 360px) {
  #pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-hub-app-grid {
    gap: 6px !important;
  }

  #pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card {
    min-height: 84px !important;
    padding: 8px 4px 6px !important;
    gap: 6px !important;
  }

  #pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card__ico {
    width: 40px !important;
    height: 40px !important;
    padding: 4px !important;
  }

  #pg-dash.dash-serio-v1 .dash-tab-panel.dash-repro-tab--hub .dash-app-card__lbl {
    font-size: 10px !important;
  }
}

/* ── Lupa sencilla en headers Anomalías / Comparativa ── */
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro__btn-head-ico--lupa {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  color: var(--texto-base, #334155);
}

/* ── Top 10 vacas lecheras — strip moderno (scroll snap, sin marquesina) ── */
html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 4px 2px 8px;
  margin: 0 -2px;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-strip--few {
  justify-content: center;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  padding: 8px 6px 10px;
  margin: 0;
  border: var(--borde-fino, 1px solid #cbd5e1);
  border-radius: 12px;
  background: var(--gris-0, #ffffff);
  box-shadow: var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.92)),
    0 1px 3px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
  position: relative;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card:hover {
  border-color: var(--gris-400, #94a3b8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 3px 8px rgba(15, 23, 42, 0.1);
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card:active {
  transform: scale(0.98);
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card__rank {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  color: var(--texto-base, #334155);
  background: linear-gradient(168deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--gris-300, #cbd5e1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card--rank-1 .dash-top5-leche-card__rank {
  color: #92400e;
  background: linear-gradient(168deg, #fef3c7 0%, #fde68a 100%);
  border-color: #fbbf24;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card--rank-2 .dash-top5-leche-card__rank {
  color: #334155;
  background: linear-gradient(168deg, #f8fafc 0%, #e2e8f0 100%);
  border-color: #94a3b8;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card--rank-3 .dash-top5-leche-card__rank {
  color: #9a3412;
  background: linear-gradient(168deg, #ffedd5 0%, #fed7aa 100%);
  border-color: #fdba74;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-avatar-ring {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: var(--borde-fino, 1px solid #cbd5e1);
  box-shadow: var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.92));
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-fallback-emoji {
  font-size: 24px;
  line-height: 1;
  opacity: 0.75;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card__name {
  font-size: 11px;
  font-weight: 800;
  color: var(--texto-fuerte, #0f172a);
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-card__arete {
  font-size: 9px;
  font-weight: 700;
  color: var(--texto-suave, #64748b);
  line-height: 1.2;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-litros-pill {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 900;
  color: var(--texto-fuerte, #0f172a);
  background: linear-gradient(168deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--gris-300, #cbd5e1);
  border-radius: 8px;
  padding: 3px 8px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 12px;
  border-radius: 12px;
  border: var(--borde-fino, 1px solid #cbd5e1);
  background: var(--gris-50, #f8fafc);
  text-align: center;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-empty__ico {
  font-size: 22px;
  line-height: 1;
  opacity: 0.85;
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-empty__tit {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--texto-fuerte, #0f172a);
}

html body #pg-dash.dash-serio-v1 #dash-top5-leche .dash-top5-leche-empty__sub {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--texto-suave, #64748b);
  line-height: 1.35;
  max-width: 28em;
}

/* ── Inicio · TODOS los bloques = misma piel que Top 10 (borde claro + radio 14px) ── */
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio {
  --dash-inicio-bloque-radius: 14px;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-hoy-finca-section,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-anomalias-section,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-compar-sem-section,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-score-descarte-section,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-noticias-section,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-clima-section,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio section[aria-labelledby='dash-inicio-tit-top5'],
html body #pg-dash #dash-hoy-finca-section,
html body #pg-dash #dash-anomalias-section,
html body #pg-dash #dash-compar-sem-section,
html body #pg-dash #dash-noticias-section {
  margin-bottom: 14px !important;
  background: #ffffff !important;
  border: var(--manto-serio-panel-borde, 1px solid #d1d5db) !important;
  border-radius: var(--dash-inicio-bloque-radius, 14px) !important;
  overflow: hidden !important;
  box-shadow:
    var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.78)),
    var(--manto-serio-panel-drop, 0 1px 2px rgba(15, 23, 42, 0.05)) !important;
  transform: none !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro:hover,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-hoy-finca-section:hover,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-anomalias-section:hover,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-compar-sem-section:hover,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-noticias-section:hover,
html body #pg-dash #dash-hoy-finca-section:hover,
html body #pg-dash #dash-anomalias-section:hover,
html body #pg-dash #dash-compar-sem-section:hover,
html body #pg-dash #dash-noticias-section:hover,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio section[aria-labelledby='dash-inicio-tit-top5']:hover {
  border-color: var(--gris-300, #cbd5e1) !important;
  box-shadow:
    var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.85)),
    0 2px 6px rgba(15, 23, 42, 0.08) !important;
  transform: none !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro > .dash-inicio-recuadro__head,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-hoy-finca-section > .dash-inicio-recuadro__head,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-perfil-carne-section > .dash-inicio-recuadro__head,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-anomalias-section > .dash-inicio-recuadro__head,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-compar-sem-section > .dash-inicio-recuadro__head,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-noticias-section > .dash-inicio-recuadro__head,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio section[aria-labelledby='dash-inicio-tit-top5'] > .dash-inicio-recuadro__head {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 14px 8px 10px !important;
  min-height: 44px !important;
  border-radius: 0 !important;
  background: var(--superficie-bloque-header, linear-gradient(168deg, #f1f5f9 0%, #e2e8f0 55%, #dbe2ea 100%)) !important;
  border-bottom: var(--borde-fuerte, 1px solid var(--gris-400, #94a3b8)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro > .dash-inicio-recuadro__body,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-hoy-finca-section > .dash-inicio-recuadro__body,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-anomalias-section > .dash-inicio-recuadro__body,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-compar-sem-section > .dash-inicio-recuadro__body,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-noticias-section > .dash-inicio-recuadro__body,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio section[aria-labelledby='dash-inicio-tit-top5'] > .dash-inicio-recuadro__body {
  padding: 12px 12px 14px !important;
  background: #ffffff !important;
  border-top: none !important;
  border-radius: 0 !important;
  min-height: 0 !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-anomalias-host,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-compar-sem-host,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-hoy-finca-host {
  margin: 0 !important;
}

/* Vacíos Anomalías / Comparativa / Hoy = misma caja que #dash-top5-leche .dash-top5-leche-empty */
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro__empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 16px 12px !important;
  min-height: 0 !important;
  border-radius: 12px !important;
  border: var(--borde-fino, 1px solid #cbd5e1) !important;
  border-style: solid !important;
  background: var(--gris-50, #f8fafc) !important;
  color: var(--texto-base, #334155) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro__empty-ico {
  font-size: 22px !important;
  line-height: 1 !important;
  opacity: 0.85 !important;
  flex-shrink: 0 !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro__empty-txt {
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: var(--texto-fuerte, #0f172a) !important;
  line-height: 1.35 !important;
  min-width: 0 !important;
}

/* Widgets envueltos: sin segundo marco (solo el section exterior, como Top 10) */
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro--wrap-widget .anom-widget,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro--wrap-widget .csem-widget,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro--wrap-widget .hoy-finca-widget,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-anomalias-section .anom-widget,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-compar-sem-section .csem-widget,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-hoy-finca-section .hoy-finca-widget {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro.anom-pebble-vida-20260418,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro.csem-pebble-vida-20260418,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-anomalias-section.anom-pebble-vida-20260418,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-compar-sem-section.csem-pebble-vida-20260418 {
  background: #ffffff !important;
  border: var(--manto-serio-panel-borde, 1px solid #d1d5db) !important;
  border-radius: var(--dash-inicio-bloque-radius, 14px) !important;
  box-shadow:
    var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.78)),
    var(--manto-serio-panel-drop, 0 1px 2px rgba(15, 23, 42, 0.05)) !important;
  transform: none !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro.anom-pebble-vida-20260418::before,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-inicio-recuadro.csem-pebble-vida-20260418::before,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-anomalias-section.anom-pebble-vida-20260418::before,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio #dash-compar-sem-section.csem-pebble-vida-20260418::before {
  content: none !important;
  display: none !important;
}

/* ── Inicio · Leche: orden debajo del hero (notif → Hoy → bloques leche) ── */
html body #pg-dash[data-piel-inicio='leche'] .dash-tab-panel--inicio .dash-inicio-content {
  display: flex !important;
  flex-direction: column !important;
}

html body #pg-dash[data-piel-inicio='leche'] .dash-inicio-content #dash-cons-alerts {
  order: 5 !important;
}

html body #pg-dash[data-piel-inicio='leche'] .dash-inicio-content #dash-hoy-finca-section {
  order: 10 !important;
}

html body #pg-dash[data-piel-inicio='leche'] .dash-inicio-content #dash-score-descarte-section {
  order: 15 !important;
}

html body #pg-dash[data-piel-inicio='leche'] .dash-inicio-content #dash-anomalias-section {
  order: 20 !important;
}

html body #pg-dash[data-piel-inicio='leche'] .dash-inicio-content #dash-compar-sem-section {
  order: 30 !important;
}

html body #pg-dash[data-piel-inicio='leche'] .dash-inicio-content section[aria-labelledby='dash-inicio-tit-top5'] {
  order: 40 !important;
}

html body #pg-dash[data-piel-inicio='leche'] .dash-inicio-content #dash-noticias-section {
  order: 50 !important;
}

html body #pg-dash[data-piel-inicio='leche'] .dash-inicio-content #dash-clima-section {
  order: 60 !important;
}

html body #pg-dash[data-piel-inicio='leche'] .dash-inicio-content .dash-sync-strip {
  order: 99 !important;
}

/* ── Hero CTAs: tokens B2 sobre foto (pisa index-inline / retained / btn-gris-ok) ── */
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  border: var(--manto-btn-b2-border, 1px solid rgba(148, 163, 184, 0.42)) !important;
  background: var(--manto-btn-b2-bg, linear-gradient(165deg, rgba(100, 116, 139, 0.38) 0%, rgba(71, 85, 105, 0.58) 45%, rgba(51, 65, 85, 0.72) 100%)) !important;
  color: var(--manto-btn-b2-color, rgba(248, 250, 252, 0.98)) !important;
  -webkit-text-fill-color: var(--manto-btn-b2-color, rgba(248, 250, 252, 0.98)) !important;
  text-shadow: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  box-shadow: var(--manto-btn-b2-shadow, 0 3px 14px rgba(15, 23, 42, 0.14)) !important;
  backdrop-filter: blur(12px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.12) !important;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok:hover,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok:hover,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok:hover,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok:hover {
  background: linear-gradient(165deg, rgba(100, 116, 139, 0.52) 0%, rgba(71, 85, 105, 0.68) 45%, rgba(51, 65, 85, 0.82) 100%) !important;
  border-color: rgba(203, 213, 225, 0.55) !important;
  box-shadow:
    var(--manto-btn-b2-shadow, 0 3px 14px rgba(15, 23, 42, 0.14)),
    0 4px 16px rgba(15, 23, 42, 0.2) !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok:active,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok:active,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok:active,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok:active {
  transform: scale(0.98) !important;
  background: linear-gradient(165deg, rgba(71, 85, 105, 0.62) 0%, rgba(51, 65, 85, 0.78) 55%, rgba(30, 41, 59, 0.88) 100%) !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok .dash-registro-diario-btn__ico,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn .dash-export-reporte-btn__ico,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok .dash-registro-diario-btn__ico,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn .dash-export-reporte-btn__ico {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)) brightness(1.05) !important;
}

html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok .dash-registro-diario-btn__lbl,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn .dash-export-reporte-btn__lbl,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok .dash-registro-diario-btn__lbl,
html body #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn .dash-export-reporte-btn__lbl {
  color: var(--manto-btn-b2-color, rgba(248, 250, 252, 0.98)) !important;
  -webkit-text-fill-color: var(--manto-btn-b2-color, rgba(248, 250, 252, 0.98)) !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

/* ── Hero CTAs Carne: misma fila centrada + vidrio blanco translúcido (solo carne) ── */
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: auto !important;
  max-width: 100% !important;
  gap: 8px !important;
  margin-top: 10px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  /* Misma reserva vertical que cuando los 2 CTAs iban apilados (no achicar el hero) */
  min-height: 82px !important;
  box-sizing: border-box !important;
}

html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .section-header .dash-serio-hero.dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.22) !important;
  background-image: none !important;
  background-color: rgba(255, 255, 255, 0.22) !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 8px rgba(15, 23, 42, 0.1) !important;
  -webkit-backdrop-filter: blur(4px) saturate(1.05) !important;
  backdrop-filter: blur(4px) saturate(1.05) !important;
}

html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok:hover,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok:hover,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok:hover,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok:hover,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok:hover,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok:hover {
  background: rgba(255, 255, 255, 0.32) !important;
  background-image: none !important;
  background-color: rgba(255, 255, 255, 0.32) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 3px 12px rgba(15, 23, 42, 0.12) !important;
  -webkit-backdrop-filter: blur(5px) saturate(1.08) !important;
  backdrop-filter: blur(5px) saturate(1.08) !important;
}

html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok:active,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok:active,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok:active,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok:active,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok:active,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn.btn-gris-ok:active {
  background: rgba(248, 250, 252, 0.4) !important;
  background-image: none !important;
  background-color: rgba(248, 250, 252, 0.4) !important;
  transform: scale(0.98) !important;
}

html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok .dash-registro-diario-btn__lbl,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn .dash-export-reporte-btn__lbl,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok .dash-registro-diario-btn__lbl,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn .dash-export-reporte-btn__lbl,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok .dash-registro-diario-btn__lbl,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn .dash-export-reporte-btn__lbl {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok .dash-registro-diario-btn__ico,
html body #pg-dash.dash-serio-v1[data-piel-inicio='carne'] .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn .dash-export-reporte-btn__ico,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok .dash-registro-diario-btn__ico,
body[data-perfil='carne'] #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn .dash-export-reporte-btn__ico,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-registro-diario-btn.btn-gris-ok .dash-registro-diario-btn__ico,
body.manto-piel-carne #pg-dash.dash-serio-v1 .dash-tab-panel--inicio .dash-serio-hero--title-strip .dash-inicio-hero-cta-row .dash-export-reporte-btn .dash-export-reporte-btn__ico {
  filter: none !important;
}

/* ── Anomalías de producción · interior (filas claras, sin rayas laterales) ── */
html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-section-lbl {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--texto-suave, #64748b);
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  min-height: 56px;
  box-sizing: border-box;
  background: var(--gris-0, #ffffff);
  border: var(--borde-fino, 1px solid var(--gris-300, #cbd5e1));
  border-radius: 12px;
  box-shadow:
    var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.9)),
    0 0 0 0 transparent;
  text-align: left;
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section button.anom-dash-row {
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section button.anom-dash-row:hover {
  border-color: var(--gris-400, #94a3b8);
  background: var(--gris-50, #f8fafc);
  box-shadow:
    var(--manto-serio-panel-inset, inset 0 1px 0 rgba(255, 255, 255, 0.95)),
    0 2px 6px rgba(15, 23, 42, 0.06);
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-row__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-row__tit {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--texto-fuerte, #0f172a);
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-row__meta {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--texto-suave, #64748b);
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-row__pct {
  flex: 0 0 auto;
  min-width: 52px;
  padding: 0 8px;
  min-height: 32px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 10px;
  background: var(--gris-100, #f1f5f9);
  border: 1px solid var(--gris-300, #cbd5e1);
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-row__pct-val {
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--texto-fuerte, #0f172a);
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-row__pct-lbl {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  color: var(--texto-suave, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-more {
  display: block;
  width: 100%;
  margin-top: 2px;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--texto-base, #334155);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-dash-more:hover {
  background: var(--gris-50, #f8fafc);
  color: var(--texto-fuerte, #0f172a);
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-widget {
  gap: 8px !important;
}

html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-widget__sum,
html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-widget__list,
html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-widget__more,
html body #pg-dash.dash-serio-v1 #dash-anomalias-section .anom-finca {
  display: none !important;
}
