:root {
  color-scheme: light;
  --dapi-navy: #294a5a;
  --dapi-teal: #265557;
  --dapi-verde: #40946b;
  --dapi-menta: #64ee85;
  --fondo: #ecf1f4;
  --superficie: #ffffff;
  --superficie-2: #f2f6f8;
  --superficie-3: #e6edf1;
  --borde: #d6e0e6;
  --borde-fuerte: #b9c8d1;
  --texto: #1f2f3b;
  --texto-2: #50646f;
  --texto-3: #7d909b;
  --barra: #2c3e50;
  --barra-texto: #ffffff;
  --barra-texto-2: #b8c6d1;
  --lateral: #233744;
  --lateral-activo: rgba(100, 238, 133, 0.14);
  --acento: #40946b;
  --acento-texto: #2c7a55;
  --acento-suave: #e3f3ea;
  --sobre-acento: #ffffff;
  --enlace: #1f6f8b;
  --prod: #3e936a;
  --prod-t: #2a7650;
  --prod-s: #e4f3eb;
  --sinprod: #eba91f;
  --sinprod-t: #8f6200;
  --sinprod-s: #fdf3d9;
  --paro: #db4a3e;
  --paro-t: #bf3327;
  --paro-s: #fbe6e3;
  --noprog: #98a9b3;
  --noprog-t: #5d707b;
  --noprog-s: #edf1f3;
  --sincom: #6b7fd6;
  --sincom-t: #4355ab;
  --sincom-s: #e8ebfa;
  --info: #3b8fb5;
  --info-s: #e2f0f6;
  --plan: #5f7885;
  --camara: #17232e;
  --sombra: 0 1px 2px rgba(31, 47, 59, 0.06), 0 4px 14px rgba(31, 47, 59, 0.05);
  --velo: rgba(20, 32, 42, 0.5);
  --fuente: "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radio: 12px;
  --radio-s: 8px;
  --hueco: 16px;
  --lateral-ancho: 248px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --fondo: #1a2835;
    --superficie: #28495a;
    --superficie-2: #213b4a;
    --superficie-3: #1c3340;
    --borde: #3b6274;
    --borde-fuerte: #4f7a8d;
    --texto: #ffffff;
    --texto-2: #b9cbd5;
    --texto-3: #8ea7b3;
    --barra: #29495a;
    --barra-texto: #ffffff;
    --barra-texto-2: #a9c0cb;
    --lateral: #1f3542;
    --lateral-activo: rgba(100, 238, 133, 0.14);
    --acento: #64ee85;
    --acento-texto: #64ee85;
    --acento-suave: rgba(100, 238, 133, 0.13);
    --sobre-acento: #10261c;
    --enlace: #8fd3ee;
    --prod: #64ee85;
    --prod-t: #64ee85;
    --prod-s: rgba(100, 238, 133, 0.12);
    --sinprod: #f4b840;
    --sinprod-t: #f4b840;
    --sinprod-s: rgba(244, 184, 64, 0.13);
    --paro: #fc6b5b;
    --paro-t: #ff8b7d;
    --paro-s: rgba(252, 107, 91, 0.14);
    --noprog: #7b8f9f;
    --noprog-t: #a9b9c4;
    --noprog-s: rgba(123, 143, 159, 0.16);
    --sincom: #9aa8f5;
    --sincom-t: #b3bdf8;
    --sincom-s: rgba(154, 168, 245, 0.15);
    --info: #6cc0e4;
    --info-s: rgba(108, 192, 228, 0.13);
    --plan: #9fb6c2;
    --camara: #15212b;
    --sombra: 0 1px 2px rgba(0, 0, 0, 0.2), 0 6px 18px rgba(0, 0, 0, 0.16);
    --velo: rgba(6, 12, 18, 0.66);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --fondo: #1a2835;
  --superficie: #28495a;
  --superficie-2: #213b4a;
  --superficie-3: #1c3340;
  --borde: #3b6274;
  --borde-fuerte: #4f7a8d;
  --texto: #ffffff;
  --texto-2: #b9cbd5;
  --texto-3: #8ea7b3;
  --barra: #29495a;
  --barra-texto: #ffffff;
  --barra-texto-2: #a9c0cb;
  --lateral: #1f3542;
  --lateral-activo: rgba(100, 238, 133, 0.14);
  --acento: #64ee85;
  --acento-texto: #64ee85;
  --acento-suave: rgba(100, 238, 133, 0.13);
  --sobre-acento: #10261c;
  --enlace: #8fd3ee;
  --prod: #64ee85;
  --prod-t: #64ee85;
  --prod-s: rgba(100, 238, 133, 0.12);
  --sinprod: #f4b840;
  --sinprod-t: #f4b840;
  --sinprod-s: rgba(244, 184, 64, 0.13);
  --paro: #fc6b5b;
  --paro-t: #ff8b7d;
  --paro-s: rgba(252, 107, 91, 0.14);
  --noprog: #7b8f9f;
  --noprog-t: #a9b9c4;
  --noprog-s: rgba(123, 143, 159, 0.16);
  --sincom: #9aa8f5;
  --sincom-t: #b3bdf8;
  --sincom-s: rgba(154, 168, 245, 0.15);
  --info: #6cc0e4;
  --info-s: rgba(108, 192, 228, 0.13);
  --plan: #9fb6c2;
  --camara: #15212b;
  --sombra: 0 1px 2px rgba(0, 0, 0, 0.2), 0 6px 18px rgba(0, 0, 0, 0.16);
  --velo: rgba(6, 12, 18, 0.66);
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
html,
body,
#root {
  height: 100%;
}
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--fuente);
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: var(--enlace);
  text-decoration: none;
}
img,
svg {
  max-width: 100%;
}
table {
  border-collapse: collapse;
}
:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 2px;
  border-radius: 4px;
}
.num {
  font-variant-numeric: tabular-nums;
}
.oculto-visual {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
.e-prod {
  --c: var(--prod);
  --ct: var(--prod-t);
  --cs: var(--prod-s);
}
.e-sinprod {
  --c: var(--sinprod);
  --ct: var(--sinprod-t);
  --cs: var(--sinprod-s);
}
.e-paro {
  --c: var(--paro);
  --ct: var(--paro-t);
  --cs: var(--paro-s);
}
.e-noprog,
.e-comida {
  --c: var(--noprog);
  --ct: var(--noprog-t);
  --cs: var(--noprog-s);
}
.e-sincom {
  --c: var(--sincom);
  --ct: var(--sincom-t);
  --cs: var(--sincom-s);
}
.e-info {
  --c: var(--info);
  --ct: var(--texto-2);
  --cs: var(--info-s);
}
.app {
  display: grid;
  grid-template-columns: var(--lateral-ancho) minmax(0, 1fr);
  min-height: 100%;
}
.app.riel {
  --lateral-ancho: 68px;
}
.app.riel .lateral {
  width: 68px;
  transition: width 0.16s ease;
  overflow: hidden;
}
.app.riel:not(.plegado) .lateral {
  width: 248px;
  box-shadow: 10px 0 30px #00000047;
}
.principal {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.lateral {
  background: var(--lateral);
  color: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  min-width: 0;
  z-index: 40;
}
.lateral-marca {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 14px;
  min-height: 64px;
}
.lateral-marca svg {
  flex: none;
}
.marca-txt {
  min-width: 0;
  line-height: 1.15;
}
.marca-txt b {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marca-txt small {
  color: #a9c0cb;
  font-size: 12px;
  white-space: nowrap;
}
.lateral-nav {
  flex: 1;
  overflow-y: auto;
  padding: 6px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
}
.nav-titulo {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ea7b3;
  padding: 16px 10px 6px;
  white-space: nowrap;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radio-s);
  color: #d3dfe6;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  position: relative;
  min-height: 42px;
}
.nav-item svg {
  flex: none;
  width: 19px;
  height: 19px;
  opacity: 0.9;
}
.nav-item span.nav-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.nav-item:hover {
  background: #ffffff12;
  color: #fff;
}
.nav-item.activo {
  background: var(--lateral-activo);
  color: #fff;
}
.nav-item.activo svg {
  color: var(--dapi-menta);
  opacity: 1;
}
.nav-item.activo:before {
  content: "";
  position: absolute;
  left: -10px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--dapi-menta);
}
.nav-insignia {
  flex: none;
  font-size: 11px;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--paro);
  color: #fff;
}
.nav-plus {
  flex: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(100, 238, 133, 0.5);
  color: var(--dapi-menta);
}
.lateral-pie {
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lateral-pie .pie-txt {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #a9c0cb;
  line-height: 1.3;
}
.lateral-pie .pie-txt b {
  display: block;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn-icono {
  flex: none;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radio-s);
  border: 0;
  background: transparent;
  color: inherit;
}
.btn-icono:hover {
  background: #7f7f7f2e;
}
.btn-icono svg {
  width: 19px;
  height: 19px;
}
.app.plegado .marca-txt,
.app.plegado .nav-txt,
.app.plegado .nav-titulo,
.app.plegado .pie-txt,
.app.plegado .nav-plus {
  display: none;
}
.app.plegado .nav-item {
  justify-content: center;
  padding: 10px 0;
}
.app.plegado .nav-insignia {
  position: absolute;
  top: 3px;
  right: 3px;
  padding: 0 5px;
}
.app.plegado .lateral-marca {
  justify-content: center;
  padding-inline: 0;
}
.app.plegado .lateral-pie {
  justify-content: center;
}
.velo {
  display: none;
}
.barra {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--barra);
  color: var(--barra-texto);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  min-height: 64px;
}
.barra-menu {
  display: none;
}
.barra-titulo {
  flex: 1;
  min-width: 0;
}
.barra-titulo h1 {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.barra-titulo p {
  font-size: 13px;
  color: var(--barra-texto-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.barra-der {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.chip-linea {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.chip-linea i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dapi-menta);
}
.reloj {
  text-align: right;
  line-height: 1.15;
  white-space: nowrap;
}
.reloj b {
  display: block;
  font-size: 20px;
  font-weight: 900;
}
.reloj span {
  font-size: 12px;
  color: var(--barra-texto-2);
}
.usuario-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 4px 6px;
  border-radius: var(--radio-s);
  text-align: left;
}
.usuario-btn:hover {
  background: #ffffff1a;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dapi-verde);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  flex: none;
}
.usuario-txt {
  line-height: 1.2;
  max-width: 150px;
}
.usuario-txt b,
.usuario-txt span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.usuario-txt span {
  font-size: 12px;
  color: var(--barra-texto-2);
}
.menu-flot {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 250px;
  background: var(--superficie);
  color: var(--texto);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 8px;
  z-index: 60;
}
.menu-flot .menu-cab {
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--borde);
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--texto-2);
}
.menu-flot .menu-cab b {
  display: block;
  color: var(--texto);
  font-size: 14px;
}
.menu-op {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  border-radius: var(--radio-s);
  text-align: left;
  font-weight: 700;
}
.menu-op:hover {
  background: var(--superficie-2);
}
.menu-op svg {
  width: 17px;
  height: 17px;
  color: var(--texto-2);
}
.rel {
  position: relative;
}
.contexto {
  background: var(--superficie);
  border-bottom: 1px solid var(--borde);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
}
.ctx-filtros {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}
.ctx-campo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--superficie-2);
  border: 1px solid var(--borde);
  border-radius: var(--radio-s);
  padding: 0 4px 0 10px;
  height: 36px;
  min-width: 0;
}
.ctx-campo svg {
  width: 15px;
  height: 15px;
  color: var(--texto-3);
  flex: none;
}
.ctx-campo select,
.ctx-campo input {
  border: 0;
  background: transparent;
  height: 34px;
  font-weight: 700;
  min-width: 0;
  max-width: 170px;
  padding-right: 4px;
}
.ctx-campo select:focus-visible,
.ctx-campo input:focus-visible {
  outline: none;
}
.ctx-campo:focus-within {
  border-color: var(--acento);
}
.ctx-campo.fijo {
  padding-right: 10px;
  font-weight: 700;
  color: var(--texto-2);
}
.ctx-turno {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 250px;
  max-width: 420px;
}
.ctx-turno .txt {
  font-size: 13px;
  color: var(--texto-2);
  white-space: nowrap;
}
.ctx-turno .txt b {
  color: var(--texto);
}
.ctx-turno .progreso {
  flex: 1;
  min-width: 60px;
}
.ctx-resumen {
  display: none;
}
.sim-chip {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--sinprod-s);
  color: var(--sinprod-t);
  white-space: nowrap;
}
.contenido {
  flex: 1;
  padding: 20px;
  container-type: inline-size;
  container-name: pag;
  min-width: 0;
}
.pagina {
  display: flex;
  flex-direction: column;
  gap: var(--hueco);
  max-width: 1680px;
  margin: 0 auto;
}
.pie-app {
  padding: 10px 20px 18px;
  color: var(--texto-3);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 1099px) {
  .app,
  .app.riel,
  .app.plegado {
    grid-template-columns: minmax(0, 1fr);
    --lateral-ancho: 272px;
  }
  .app.riel .lateral,
  .app.riel:not(.plegado) .lateral {
    width: 272px;
    overflow: visible;
    box-shadow: none;
  }
  .lateral {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 272px;
    max-width: 86vw;
    transform: translate(-102%);
    transition: transform 0.22s ease;
    height: auto;
  }
  .app.cajon .lateral {
    transform: none;
    box-shadow: 8px 0 30px #00000059;
  }
  .app.cajon .velo {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--velo);
    z-index: 35;
  }
  .app.plegado .marca-txt,
  .app.plegado .nav-txt,
  .app.plegado .pie-txt,
  .app.plegado .nav-titulo {
    display: block;
  }
  .app.plegado .nav-plus {
    display: inline-block;
  }
  .app.plegado .nav-item {
    justify-content: flex-start;
    padding: 10px;
  }
  .app.plegado .lateral-marca {
    justify-content: flex-start;
    padding-inline: 16px;
  }
  .barra-menu {
    display: inline-grid;
    margin-left: -8px;
  }
  .lateral-pie .plegar {
    display: none;
  }
}
@media (max-width: 899px) {
  .chip-linea span.largo,
  .reloj span,
  .usuario-txt {
    display: none;
  }
  .barra {
    padding: 8px 14px;
    min-height: 56px;
    gap: 8px;
  }
  .barra-titulo h1 {
    font-size: 17px;
  }
  .barra-titulo p {
    display: none;
  }
  .contexto {
    padding: 8px 14px;
  }
  .contenido {
    padding: 14px;
  }
  :root {
    --hueco: 12px;
  }
}
@media (max-width: 699px) {
  .reloj,
  .chip-linea,
  .ctx-filtros {
    display: none;
  }
  .ctx-resumen {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: var(--superficie-2);
    border: 1px solid var(--borde);
    border-radius: var(--radio-s);
    padding: 8px 10px;
    font-weight: 700;
    text-align: left;
    min-width: 0;
  }
  .ctx-resumen span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ctx-resumen svg {
    width: 16px;
    height: 16px;
    color: var(--texto-3);
    flex: none;
  }
  .ctx-turno {
    flex-basis: 100%;
    max-width: none;
    margin-left: 0;
  }
  .sim-chip {
    display: none;
  }
}
.tarjeta {
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tarjeta-cab {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 14px 16px 0;
  flex-wrap: wrap;
}
.tarjeta-cab h2 {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}
.tarjeta-cab .sub {
  font-size: 12.5px;
  color: var(--texto-3);
}
.tarjeta-cab .cab-izq {
  min-width: 0;
  flex: 1 1 180px;
}
.tarjeta-cab .cab-der {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--texto-3);
  font-size: 12.5px;
}
.tarjeta-cuerpo {
  padding: 14px 16px 16px;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tarjeta-pie {
  padding: 0 16px 14px;
  font-size: 12px;
  color: var(--texto-3);
}
.tarjeta.resalta {
  border-color: var(--c);
  box-shadow:
    0 0 0 1px var(--c),
    var(--sombra);
}
.rejilla {
  display: grid;
  gap: var(--hueco);
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, var(--min, 280px)), 1fr)
  );
}
.dos,
.dos-a,
.dos-b,
.tres {
  display: grid;
  gap: var(--hueco);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.estira {
  align-items: stretch;
}
@container pag (min-width: 900px) {
  .dos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dos-a {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
  .dos-b {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  }
  .tres {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container pag (min-width: 1250px) {
  .tres {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.fila {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  flex-wrap: wrap;
  min-width: 0;
}
.fila.entre {
  justify-content: space-between;
}
.col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.crece {
  flex: 1;
  min-width: 0;
}
.tenue {
  color: var(--texto-3);
}
.sec {
  color: var(--texto-2);
}
.chico {
  font-size: 12.5px;
}
.fuerte {
  font-weight: 900;
}
.corta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.t-ok {
  color: var(--prod-t);
}
.t-alerta {
  color: var(--sinprod-t);
}
.t-mal {
  color: var(--paro-t);
}
.kpi {
  padding: 14px 16px;
  gap: 6px;
  display: flex;
  flex-direction: column;
}
.kpi-cab {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  color: var(--texto-2);
  font-size: 13.5px;
}
.kpi-cab .meta {
  font-size: 12.5px;
  color: var(--texto-3);
  white-space: nowrap;
}
.kpi-valor {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.kpi-valor small {
  font-size: 14px;
  font-weight: 400;
  color: var(--texto-2);
  letter-spacing: 0;
}
.kpi-nota {
  font-size: 13px;
}
.kpi-lineas {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
}
.kpi-factor {
  display: grid;
  grid-template-columns: auto minmax(16px, 1fr) auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--texto-2);
}
.kpi-factor b {
  text-align: right;
  color: var(--texto);
  min-width: 34px;
}
.kpi-factor span:first-child {
  min-width: 92px;
}
.cont {
  container-type: inline-size;
  container-name: pag;
  min-width: 0;
}
.progreso {
  height: 6px;
  border-radius: 999px;
  background: var(--superficie-3);
  overflow: hidden;
  display: block;
}
.progreso > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--c, var(--acento));
}
.progreso.partes {
  display: flex;
  gap: 2px;
  background: transparent;
}
.progreso.partes > i {
  border-radius: 2px;
}
.punto {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
  display: inline-block;
  flex: none;
}
.e-sincom.punto,
.e-sincom .punto {
  background: repeating-linear-gradient(
    135deg,
    var(--c) 0 2px,
    transparent 2px 4px
  );
  outline: 1.5px solid var(--c);
  outline-offset: -1.5px;
}
.pastilla {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 13px;
  color: var(--ct);
  white-space: nowrap;
}
.pastilla.caja {
  background: var(--cs);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
}
.etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--superficie-3);
  color: var(--texto-2);
  white-space: nowrap;
}
.etiqueta svg {
  width: 12px;
  height: 12px;
}
.etiqueta.verde {
  background: var(--prod-s);
  color: var(--prod-t);
}
.etiqueta.ambar {
  background: var(--sinprod-s);
  color: var(--sinprod-t);
}
.etiqueta.rojo {
  background: var(--paro-s);
  color: var(--paro-t);
}
.etiqueta.azul {
  background: var(--info-s);
  color: var(--texto-2);
}
.leyenda {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--texto-2);
}
.leyenda span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.leyenda .caja-plan {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--plan);
  border-radius: 2px;
}
.leyenda .caja-llena {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--c);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radio-s);
  border: 1px solid var(--borde-fuerte);
  background: var(--superficie);
  color: var(--texto);
  font-weight: 900;
  font-size: 13.5px;
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.btn:hover {
  border-color: var(--acento);
}
.btn.primario {
  background: var(--acento);
  border-color: var(--acento);
  color: var(--sobre-acento);
}
.btn.primario:hover {
  filter: brightness(1.06);
}
.btn.suave {
  background: var(--superficie-2);
  border-color: var(--borde);
}
.btn.contorno {
  border-color: var(--acento);
  color: var(--acento-texto);
  background: transparent;
}
.btn.fantasma {
  border-color: transparent;
  background: transparent;
  color: var(--texto-2);
}
.btn.fantasma:hover {
  background: var(--superficie-2);
}
.btn.peligro {
  color: var(--paro-t);
  border-color: var(--paro);
  background: transparent;
}
.btn.chico {
  height: 32px;
  padding: 0 10px;
  font-size: 12.5px;
}
.btn.grande {
  height: 52px;
  font-size: 16px;
  padding: 0 20px;
}
.btn.bloque {
  width: 100%;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.campo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.campo > span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--texto-2);
}
.campo > small {
  font-size: 12px;
  color: var(--texto-3);
}
.entrada {
  height: 40px;
  border-radius: var(--radio-s);
  border: 1px solid var(--borde-fuerte);
  background: var(--superficie);
  padding: 0 11px;
  width: 100%;
  min-width: 0;
}
textarea.entrada {
  height: auto;
  padding: 9px 11px;
  resize: vertical;
  min-height: 72px;
}
.entrada:focus-visible {
  outline: none;
  border-color: var(--acento);
  box-shadow: 0 0 0 3px var(--acento-suave);
}
.entrada.chica {
  height: 34px;
}
.form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.pestanas {
  display: flex;
  gap: 4px;
  background: var(--superficie-3);
  padding: 4px;
  border-radius: 10px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}
.pestanas::-webkit-scrollbar {
  display: none;
}
.pestana {
  border: 0;
  background: transparent;
  padding: 7px 13px;
  border-radius: 7px;
  font-weight: 700;
  color: var(--texto-2);
  white-space: nowrap;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pestana svg {
  width: 15px;
  height: 15px;
}
.pestana.activa {
  background: var(--superficie);
  color: var(--texto);
  box-shadow: 0 1px 2px #0000001f;
  font-weight: 900;
}
.tabla-scroll {
  overflow-x: auto;
  max-width: 100%;
  border-radius: var(--radio-s);
}
.tabla {
  width: 100%;
  font-size: 13.5px;
}
.tabla th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--texto-3);
  padding: 8px 10px;
  border-bottom: 1px solid var(--borde);
  white-space: nowrap;
}
.tabla td {
  padding: 10px;
  border-bottom: 1px solid var(--borde);
  vertical-align: middle;
}
.tabla tr:last-child td {
  border-bottom: 0;
}
.tabla .d {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tabla tbody tr.clic {
  cursor: pointer;
}
.tabla tbody tr.clic:hover td {
  background: var(--superficie-2);
}
.tabla tr.total td {
  font-weight: 900;
  background: var(--superficie-2);
}
.tabla td.nw,
.tabla th.nw {
  white-space: nowrap;
}
.lista {
  display: flex;
  flex-direction: column;
}
.lista > * + * {
  border-top: 1px solid var(--borde);
}
.aviso {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  min-width: 0;
}
.aviso .punto {
  margin-top: 0;
}
.aviso .txt {
  flex: 1;
  min-width: 0;
}
.aviso .txt b {
  display: block;
  font-size: 14px;
}
.aviso .txt span {
  font-size: 12.5px;
  color: var(--texto-2);
  display: block;
}
.aviso.info {
  background: var(--superficie-2);
  border-radius: var(--radio-s);
  padding: 11px 12px;
  border-top: 0;
  margin-top: 6px;
}
@container pag (max-width: 520px) {
  .aviso {
    flex-wrap: wrap;
  }
  .aviso .txt {
    flex: 1 1 220px;
  }
  .aviso .punto + .txt + .btn {
    margin-left: 21px;
  }
}
.vacio {
  text-align: center;
  padding: 26px 16px;
  color: var(--texto-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.vacio svg {
  width: 30px;
  height: 30px;
  color: var(--prod);
}
.vacio b {
  color: var(--texto);
  font-size: 15px;
}
.nota {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--info-s);
  border-radius: var(--radio-s);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--texto-2);
}
.nota svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--info);
}
.nota.ambar {
  background: var(--sinprod-s);
}
.nota.ambar svg {
  color: var(--sinprod-t);
}
.modal-velo {
  position: fixed;
  inset: 0;
  background: var(--velo);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}
.modal {
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: 14px;
  width: min(100%, var(--ancho, 520px));
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px #00000059;
}
.modal-cab {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 10px;
}
.modal-cab h2 {
  font-size: 18px;
  font-weight: 900;
}
.modal-cab p {
  font-size: 13px;
  color: var(--texto-2);
}
.modal-cuerpo {
  padding: 6px 18px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-pie {
  padding: 12px 18px 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  border-top: 1px solid var(--borde);
}
@media (max-width: 599px) {
  .modal-velo {
    padding: 0;
    place-items: end stretch;
  }
  .modal {
    width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 92vh;
    border-bottom: 0;
  }
  .modal-pie .btn {
    flex: 1;
  }
}
.tostada {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%);
  background: var(--texto);
  color: var(--fondo);
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px #0000004d;
  max-width: calc(100vw - 32px);
}
.tostada svg {
  width: 17px;
  height: 17px;
  color: var(--prod);
  flex: none;
}
.tip {
  position: fixed;
  z-index: 130;
  pointer-events: none;
  background: var(--texto);
  color: var(--fondo);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12.5px;
  line-height: 1.35;
  max-width: 240px;
  box-shadow: 0 6px 20px #0000004d;
}
.tip b {
  display: block;
  font-size: 13px;
}
.cargando {
  display: grid;
  gap: var(--hueco);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.cargando i {
  height: 110px;
  border-radius: var(--radio);
  background: var(--superficie);
  border: 1px solid var(--borde);
  opacity: 0.6;
}
.delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 900;
  font-size: 12.5px;
  white-space: nowrap;
}
.delta svg {
  width: 14px;
  height: 14px;
}
.g-horas {
  display: grid;
  grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr));
  gap: 4px 6px;
  align-items: end;
}
.g-hora {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.g-hora .val {
  font-size: 12px;
  font-weight: 900;
  height: 16px;
  white-space: nowrap;
}
.g-hora .barras {
  height: var(--alto, 170px);
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  border-bottom: 1px solid var(--borde-fuerte);
}
.g-hora .b-plan {
  width: 42%;
  max-width: 22px;
  border: 1.5px solid var(--plan);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}
.g-hora .b-real {
  width: 42%;
  max-width: 22px;
  background: var(--prod);
  border-radius: 4px 4px 0 0;
}
.g-hora.bajo .b-real {
  background: var(--sinprod);
}
.g-hora.en-curso .b-real {
  opacity: 0.75;
}
.g-hora .eti {
  font-size: 11.5px;
  color: var(--texto-3);
  white-space: nowrap;
}
.g-hora:hover .barras {
  background: var(--superficie-2);
}
@container pag (max-width: 520px) {
  .g-hora .val,
  .g-hora .eti {
    font-size: 10px;
  }
  .g-horas {
    gap: 4px 3px;
  }
}
.g-tiempo {
  display: grid;
  grid-template-columns: minmax(84px, max-content) minmax(0, 1fr);
  gap: 7px 12px;
  align-items: center;
  font-size: 12.5px;
}
.g-tiempo .nom {
  color: var(--texto-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g-tiempo .pista {
  display: flex;
  height: 12px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--superficie-3);
  position: relative;
}
.g-tiempo .pista.alta {
  height: 22px;
  border-radius: 5px;
}
.g-tiempo .pista > i {
  display: block;
  height: 100%;
  background: var(--c);
  min-width: 0;
}
.g-tiempo .pista > i.e-fut {
  background: transparent;
}
.g-tiempo .pista > i.e-comida {
  background: repeating-linear-gradient(
    135deg,
    var(--noprog) 0 3px,
    transparent 3px 6px
  );
  opacity: 0.6;
}
.g-tiempo .pista > i.e-sincom {
  background: repeating-linear-gradient(
    135deg,
    var(--sincom) 0 3px,
    var(--sincom-s) 3px 6px
  );
}
.g-tiempo .eje {
  position: relative;
  height: 16px;
  color: var(--texto-3);
  font-size: 11.5px;
}
.g-tiempo .eje span {
  position: absolute;
  transform: translate(-50%);
  white-space: nowrap;
}
.g-tiempo .eje span:first-child {
  transform: none;
}
.g-tiempo .eje span.fin {
  transform: translate(-100%);
}
.g-tiempo .eje span.ahora {
  color: var(--texto);
  font-weight: 900;
}
.g-tiempo .ahora-l {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 2px;
  background: var(--texto);
}
.g-causas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.g-causa .cab {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 5px;
}
.g-causa .cab span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.g-causa .cab b {
  white-space: nowrap;
  font-weight: 900;
}
.g-causa .cab small {
  color: var(--texto-3);
  font-weight: 400;
  margin-left: 6px;
}
.g-causa .riel {
  height: 6px;
  border-radius: 999px;
  background: var(--superficie-3);
}
.g-causa .riel i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--c, var(--paro));
  min-width: 3px;
}
.g-causa.sin-causa .cab span:first-child {
  color: var(--sinprod-t);
}
.g-causa.sin-causa .riel i {
  background: var(--sinprod);
}
.g-causa.clic {
  cursor: pointer;
}
.g-linea {
  width: 100%;
}
.g-linea svg {
  display: block;
  overflow: visible;
}
.g-linea text {
  fill: var(--texto-3);
  font-size: 11px;
  font-family: var(--fuente);
}
.g-linea .rej {
  stroke: var(--borde);
  stroke-width: 1;
}
.g-linea .meta {
  stroke: var(--texto-3);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}
.g-linea .linea {
  fill: none;
  stroke: var(--acento);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.g-linea .area {
  fill: var(--acento);
  opacity: 0.1;
}
.g-linea .pt {
  fill: var(--superficie);
  stroke: var(--acento);
  stroke-width: 2;
}
.g-linea .pt.bajo {
  stroke: var(--sinprod);
}
.g-linea .guia {
  stroke: var(--texto-3);
  stroke-width: 1;
}
.camara {
  position: relative;
  background: #e2e7ea;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  color: #fff;
  border: 2px solid transparent;
  min-width: 0;
  max-width: 100%;
}
.camara.alerta {
  border-color: var(--paro);
}
.camara.alerta-ambar {
  border-color: var(--sinprod);
}
.camara > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.camara .capa {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #101c269e, #101c2600 24% 70%, #101c26c7);
  pointer-events: none;
}
.camara .rayas {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(20, 32, 42, 0.03) 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
}
.camara .arriba,
.camara .abajo {
  position: absolute;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.camara .arriba {
  top: 8px;
}
.camara .abajo {
  bottom: 8px;
  align-items: flex-end;
}
.camara .vivo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.camara .vivo i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fc6b5b;
  animation: parpadeo 1.6s infinite;
}
.camara .hora {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}
.camara .nombre {
  font-weight: 900;
  font-size: 14px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.camara .nota-cam {
  opacity: 0.9;
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.camara .nota-cam.mal {
  color: #ff8b7d;
  font-weight: 700;
}
.camara .nota-cam.ambar {
  color: #f4b840;
  font-weight: 700;
}
.camara .sim {
  position: absolute;
  left: 10px;
  top: 28px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #00000073;
  padding: 2px 7px;
  border-radius: 4px;
  opacity: 0.85;
  white-space: nowrap;
}
.camara.clic {
  cursor: pointer;
}
.camara.detenida .mov {
  animation-play-state: paused !important;
}
.mosaico {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@keyframes parpadeo {
  50% {
    opacity: 0.25;
  }
}
@keyframes banda {
  to {
    transform: translate(-40px);
  }
}
@keyframes baja {
  0%,
  to {
    transform: translateY(0);
  }
  45%,
  55% {
    transform: translateY(26px);
  }
}
@keyframes gira {
  to {
    transform: rotate(360deg);
  }
}
@keyframes vaiven {
  0%,
  to {
    transform: translate(0);
  }
  50% {
    transform: translate(70px);
  }
}
@keyframes chispa {
  0%,
  to {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@keyframes avanza {
  0% {
    transform: translate(-60px);
  }
  to {
    transform: translate(420px);
  }
}
.mov {
  transform-box: fill-box;
  transform-origin: center;
}
.kpis {
  display: grid;
  gap: var(--hueco);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.kpis > * {
  grid-column: span 12;
}
@container pag (min-width: 430px) {
  .kpis[data-n="4"] > *,
  .kpis[data-n="6"] > * {
    grid-column: span 6;
  }
  .kpis[data-n="5"] > * {
    grid-column: span 6;
  }
  .kpis[data-n="5"] > :first-child {
    grid-column: span 12;
  }
}
@container pag (min-width: 760px) {
  .kpis[data-n="5"] > *,
  .kpis[data-n="5"] > :first-child {
    grid-column: span 4;
  }
  .kpis[data-n="5"] > :nth-child(n + 4) {
    grid-column: span 6;
  }
  .kpis[data-n="6"] > * {
    grid-column: span 4;
  }
}
@container pag (min-width: 1020px) {
  .kpis[data-n="4"] > * {
    grid-column: span 3;
  }
}
@container pag (min-width: 1180px) {
  .kpis[data-n="5"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .kpis[data-n="5"] > *,
  .kpis[data-n="5"] > :first-child,
  .kpis[data-n="5"] > :nth-child(n + 4) {
    grid-column: span 1;
  }
  .kpis[data-n="6"] > * {
    grid-column: span 2;
  }
}
@media (max-width: 1279px) {
  .barra .sim-chip {
    display: none;
  }
}
.logo-ec {
  color: var(--logo, #64ee85);
  flex: none;
}
.login-logo.movil {
  --logo: var(--acento);
}
.arranque {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--dapi-navy);
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--fondo);
}
.login-marca {
  background: linear-gradient(
    155deg,
    var(--dapi-navy) 0%,
    var(--dapi-teal) 100%
  );
  color: #fff;
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.login-marca:after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -170px;
  width: 340px;
  height: 340px;
  opacity: 0.7;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(100, 238, 133, 0.13) 0 28px,
      transparent 28px 56px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(100, 238, 133, 0.13) 0 28px,
      transparent 28px 56px
    );
  border-radius: 28px;
  transform: rotate(-8deg);
  pointer-events: none;
}
.login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.login-logo b {
  display: block;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}
.login-logo span {
  font-size: 14px;
  opacity: 0.8;
}
.login-logo.movil {
  display: none;
  color: var(--texto);
}
.login-lema {
  max-width: 520px;
  position: relative;
  z-index: 1;
}
.login-lema h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.login-lema p {
  font-size: 17px;
  opacity: 0.88;
  margin-top: 14px;
  max-width: 46ch;
}
.login-puntos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  position: relative;
  z-index: 1;
}
.login-puntos li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.45;
}
.login-puntos svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--dapi-menta);
  margin-top: 1px;
}
.login-puntos span {
  opacity: 0.92;
}
.login-firma {
  opacity: 0.7;
  position: relative;
  z-index: 1;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 48px);
  min-width: 0;
}
.login-form {
  width: min(100%, 440px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.login-form h2 {
  font-size: 26px;
  font-weight: 900;
}
.login-form .ojo {
  position: absolute;
  right: 2px;
  top: 1px;
  color: var(--texto-2);
}
.login-error {
  background: var(--paro-s);
  color: var(--paro-t);
  padding: 10px 12px;
  border-radius: var(--radio-s);
  font-weight: 700;
}
.login-demo {
  margin-top: 8px;
  border: 1px dashed var(--borde-fuerte);
  border-radius: var(--radio);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.login-roles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 8px;
}
.login-rol {
  text-align: left;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio-s);
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.login-rol:hover {
  border-color: var(--acento);
}
.login-rol span {
  font-size: 12.5px;
  color: var(--texto-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 899px) {
  .login {
    grid-template-columns: minmax(0, 1fr);
  }
  .login-marca {
    display: none;
  }
  .login-logo.movil {
    display: flex;
    margin-bottom: 6px;
  }
  .login-panel {
    place-items: start center;
  }
}
.titular {
  padding: 18px 20px;
  gap: 14px;
  background: var(--superficie);
  border-left: 0;
}
.titular-cab {
  display: flex;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  align-items: center;
}
.titular h2 {
  font-size: clamp(20px, 2.6cqw, 30px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 30ch;
}
.hechos h3 {
  font-size: 13.5px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.hechos h3 svg {
  width: 16px;
  height: 16px;
}
.hechos ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--texto-2);
  font-size: 13.5px;
}
.prioridades {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prioridades li {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--superficie-2);
  border: 1px solid var(--borde);
  border-radius: var(--radio-s);
  padding: 12px;
}
.prioridades .orden {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: var(--cs);
  color: var(--ct);
  border: 1.5px solid var(--c);
}
.prioridades .crece {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.etiqueta {
  align-self: flex-start;
}
.mapa {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr));
  gap: 10px;
}
.maq {
  text-align: left;
  background: var(--superficie-2);
  border: 1.5px solid var(--borde);
  border-radius: 10px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.maq.marca {
  border-color: var(--c);
  background: var(--cs);
}
.maq:hover {
  border-color: var(--acento);
}
.maq > b {
  font-size: 13.5px;
}
.maq-pie {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}
.maq-pie strong {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.1;
}
.maq-pie span {
  font-size: 12px;
  color: var(--texto-3);
  white-space: nowrap;
}
.maq .pastilla {
  font-size: 12px;
}
.opciones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap: 8px;
}
.opciones.una {
  grid-template-columns: minmax(0, 1fr);
}
.opcion {
  text-align: left;
  min-height: 58px;
  background: var(--superficie-2);
  border: 1.5px solid var(--borde);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.opcion span {
  font-size: 12px;
  color: var(--texto-3);
}
.opcion:hover {
  border-color: var(--acento);
}
.opcion.sel {
  border-color: var(--acento);
  background: var(--acento-suave);
  box-shadow: 0 0 0 1px var(--acento);
}
.opcion.pend {
  border-color: var(--sinprod);
}
.opcion.pend span {
  color: var(--sinprod-t);
  font-weight: 700;
}
.clips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 8px;
}
.clip {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: var(--superficie-2);
  border: 1px solid var(--borde);
  border-radius: var(--radio-s);
  padding: 8px 10px;
  min-width: 0;
}
.clip:hover {
  border-color: var(--acento);
}
.clip-ico {
  width: 38px;
  height: 30px;
  border-radius: 6px;
  background: var(--camara);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.clip-ico svg {
  width: 16px;
  height: 16px;
}
.clip .crece {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
}
.clip .crece b {
  font-size: 13px;
}
.barra-maq {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.barra-maq > .btn {
  flex: none;
  padding: 0 10px;
}
.chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
  padding: 2px;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--borde);
  background: var(--superficie);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  color: var(--texto-2);
}
.chip.sel {
  background: var(--texto);
  color: var(--fondo);
  border-color: var(--texto);
}
.ficha-corta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 14px 18px;
  padding: 14px 16px;
}
.ficha-corta > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  align-items: flex-start;
}
.ficha-corta b {
  font-size: 15.5px;
  overflow-wrap: anywhere;
}
.ficha-corta .tenue {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hxh tr.bajo td {
  background: var(--sinprod-s);
}
.hxh tr.futura td {
  color: var(--texto-3);
}
.entrada.pendiente {
  border-color: var(--sinprod);
  background: var(--superficie);
  font-weight: 700;
}
@container pag (max-width: 760px) {
  .opc {
    display: none;
  }
}
.maq-tarjeta {
  padding: 14px;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}
.maq-tarjeta:hover {
  border-color: var(--acento);
}
.maq-nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  text-align: left;
}
.maq-nums div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.maq-nums b {
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}
.ordenes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 200px;
}
.orden-chip {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  background: var(--superficie-2);
  border: 1px solid var(--borde);
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 12.5px;
  white-space: nowrap;
}
.carga {
  display: grid;
  grid-template-columns: minmax(60px, 1fr) 44px;
  gap: 8px;
  align-items: center;
}
.carga b {
  text-align: right;
}
.paso {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--superficie-2);
  border-radius: var(--radio-s);
  padding: 12px;
  font-size: 13.5px;
}
.orden-fila {
  display: grid;
  grid-template-columns: 26px minmax(0, 0.8fr) minmax(0, 1.5fr) minmax(
      0,
      0.9fr
    ) auto;
  gap: 8px 10px;
  align-items: start;
  background: var(--superficie-2);
  border: 1px solid var(--borde);
  border-radius: var(--radio-s);
  padding: 10px;
}
.orden-n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--superficie-3);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12.5px;
  margin-top: 24px;
}
.orden-acc {
  display: flex;
  margin-top: 20px;
}
@media (max-width: 699px) {
  .orden-fila {
    grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr);
  }
  .orden-fila .campo:nth-of-type(2) {
    grid-column: 2 / -1;
    grid-row: 2;
  }
  .orden-fila .campo:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
  }
  .orden-acc {
    grid-column: 2 / -1;
    margin-top: 0;
    justify-content: flex-end;
  }
}
.plan-prev {
  background: var(--superficie-2);
  border-radius: var(--radio-s);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mini-horas {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  align-items: end;
  height: 96px;
}
.mini-horas div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 2px;
  min-width: 0;
}
.mini-horas i {
  width: 70%;
  max-width: 30px;
  background: var(--plan);
  opacity: 0.55;
  border-radius: 3px 3px 0 0;
  min-height: 1px;
}
.mini-horas b {
  font-size: 11px;
  order: -1;
}
.mini-horas span {
  font-size: 10.5px;
  color: var(--texto-3);
}
.semana th.hoy {
  color: var(--acento-texto);
}
.sem-dia {
  display: flex;
  gap: 3px;
}
.sem-t {
  flex: 1;
  min-width: 34px;
  border: 0;
  border-radius: 6px;
  background: var(--cs);
  color: var(--ct);
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  border-bottom: 3px solid var(--c);
}
.sem-t small {
  font-size: 10px;
  opacity: 0.85;
}
.sem-t b {
  font-size: 13px;
}
.sem-t:hover {
  outline: 2px solid var(--acento);
}
.cap-cab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
}
.cap-botones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}
.cap-boton {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  min-height: 84px;
  padding: 14px 16px;
  border-radius: var(--radio);
  background: var(--superficie);
  border: 1.5px solid var(--borde);
  box-shadow: var(--sombra);
  min-width: 0;
}
.cap-boton .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cs);
  color: var(--ct);
  display: grid;
  place-items: center;
  flex: none;
}
.cap-boton .ico svg {
  width: 24px;
  height: 24px;
}
.cap-boton .crece {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cap-boton b {
  font-size: 16px;
  line-height: 1.2;
}
.cap-boton .crece span {
  font-size: 13px;
  color: var(--texto-2);
  overflow: hidden;
  text-overflow: ellipsis;
}
.cap-boton:hover:not(:disabled) {
  border-color: var(--c);
}
.cap-boton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cap-botones.kiosco .cap-boton {
  min-height: 104px;
}
.cap-botones.kiosco .cap-boton b {
  font-size: 18px;
}
.contador {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  gap: 10px;
}
.contador .entrada {
  height: 52px;
  text-align: center;
  font-size: 26px;
  font-weight: 900;
}
.contador .btn {
  padding: 0;
}
.migas {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 14px;
}
.migas svg {
  width: 15px;
  height: 15px;
  color: var(--texto-3);
}
.migas button {
  border: 0;
  background: transparent;
  padding: 5px 9px;
  border-radius: 7px;
  font-weight: 700;
  color: var(--enlace);
}
.migas button:hover:not(:disabled) {
  background: var(--superficie-3);
}
.migas button.actual {
  color: var(--texto);
  font-weight: 900;
  background: var(--superficie);
  border: 1px solid var(--borde);
}
.migas button:disabled {
  cursor: default;
}
.kpi-btn {
  text-align: left;
  cursor: pointer;
  align-items: flex-start;
}
.kpi-btn .kpi-cab {
  width: 100%;
}
.kpi-btn.sel {
  border-color: var(--acento);
  box-shadow:
    0 0 0 1px var(--acento),
    var(--sombra);
}
.incidencia {
  display: flex;
  gap: 12px 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  padding: 14px 4px;
  width: 100%;
}
.incidencia:first-child {
  border-top: 0;
}
.incidencia:hover {
  background: var(--superficie-2);
}
.incidencia .crece {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.incidencia b {
  font-size: 15px;
}
.inc-datos {
  flex: 0 1 230px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  min-width: 0;
}
.inc-datos span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.inc-datos svg {
  width: 14px;
  height: 14px;
  color: var(--texto-3);
  flex: none;
}
.mejora-nums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.mejora-nums div {
  display: flex;
  flex-direction: column;
}
.mejora-nums b {
  font-size: 22px;
  font-weight: 900;
}
.config {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hueco);
  align-items: start;
}
.config-lista {
  display: none;
}
@container pag (min-width: 980px) {
  .config {
    grid-template-columns: 236px minmax(0, 1fr);
  }
  .config-sel {
    display: none;
  }
  .config-lista {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--superficie);
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    padding: 8px;
    position: sticky;
    top: 124px;
  }
}
.nav-conf {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 9px 10px;
  border-radius: var(--radio-s);
  font-weight: 700;
  color: var(--texto-2);
}
.nav-conf svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.nav-conf:hover {
  background: var(--superficie-2);
}
.nav-conf.activo {
  background: var(--acento-suave);
  color: var(--texto);
  font-weight: 900;
}
.nav-conf.activo svg {
  color: var(--acento-texto);
}
.aspectos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
}
.aspecto {
  text-align: left;
  background: var(--superficie-2);
  border: 1.5px solid var(--borde);
  border-radius: var(--radio);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.aspecto.sel {
  border-color: var(--acento);
  box-shadow: 0 0 0 1px var(--acento);
}
.aspecto-prev {
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 24% 1fr;
  border: 1px solid var(--borde);
  background: #ecf1f4;
}
.aspecto-prev i {
  background: #233744;
}
.aspecto-prev span {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 10px;
  align-content: start;
}
.aspecto-prev span b {
  height: 28px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #d6e0e6;
}
.aspecto-prev span b:first-child {
  grid-column: 1 / -1;
  height: 14px;
  background: #2c3e50;
  border: 0;
}
.aspecto-prev.oscuro {
  background: #1a2835;
}
.aspecto-prev.oscuro i {
  background: #1f3542;
}
.aspecto-prev.oscuro span b {
  background: #28495a;
  border-color: #3b6274;
}
.aspecto-prev.oscuro span b:first-child {
  background: #29495a;
}
.aspecto-prev.sistema {
  background: linear-gradient(105deg, #ecf1f4 0 50%, #1a2835 50% 100%);
}
.aspecto-prev.sistema span b {
  background: linear-gradient(105deg, #fff 0 50%, #28495a 50% 100%);
  border-color: #9fb3bd;
}
.aspecto-prev.sistema span b:first-child {
  background: #2c3e50;
}
.permisos td,
.permisos th {
  text-align: center;
}
.permisos td:first-child,
.permisos th:first-child {
  text-align: left;
}
.permisos svg {
  width: 16px;
  height: 16px;
}
.vista {
  min-height: 100vh;
  background: var(--fondo);
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  container-name: pag;
}
.vbarra {
  background: var(--barra);
  color: var(--barra-texto);
  display: flex;
  align-items: center;
  gap: 10px 20px;
  padding: 10px 18px;
  flex-wrap: wrap;
  margin: 12px 12px 0;
  border-radius: 14px;
}
.vbarra small {
  display: block;
  color: var(--barra-texto-2);
  font-size: 12.5px;
}
.vmarca {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vmarca b {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
}
.vplanta {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 1.2;
}
.vplanta b {
  font-size: 16px;
}
.vturno {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.vturno .progreso {
  background: #ffffff29;
  height: 7px;
}
.vturno .progreso i {
  background: var(--dapi-menta);
}
.vreloj {
  text-align: right;
  line-height: 1.15;
}
.vreloj b {
  font-size: 24px;
  font-weight: 900;
  display: block;
}
.vbarra.compacta .vplanta,
.vbarra.compacta .vreloj small {
  display: none;
}
@media (max-width: 899px) {
  .vplanta,
  .vreloj small,
  .vcompleta {
    display: none;
  }
  .vbarra {
    margin: 8px 8px 0;
    padding: 8px 12px;
    gap: 8px 12px;
  }
  .vmarca b {
    font-size: 16px;
  }
  .vreloj b {
    font-size: 20px;
  }
  .vturno {
    order: 5;
    flex-basis: 100%;
  }
  .vreloj {
    margin-left: auto;
  }
}
.tv {
  height: 100vh;
}
.tv-total {
  text-align: right;
  line-height: 1.1;
}
.tv-total b {
  font-size: 26px;
  font-weight: 900;
  display: block;
  color: var(--dapi-menta);
}
.tv-rejilla {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  min-height: 0;
}
.tv-tarjeta {
  background: var(--superficie);
  border: 2px solid var(--borde);
  border-top: 8px solid var(--c);
  border-radius: 14px;
  padding: clamp(10px, 1.3vw, 22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.tv-tarjeta.e-paro,
.tv-tarjeta.e-sinprod,
.tv-tarjeta.e-sincom {
  border-color: var(--c);
  background: linear-gradient(var(--cs), var(--cs)), var(--superficie);
}
.tv-tarjeta header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tv-tarjeta h2 {
  font-size: clamp(18px, 2.1vw, 36px);
  font-weight: 900;
  line-height: 1.1;
}
.tv-tarjeta .pastilla {
  font-size: clamp(12px, 1.15vw, 20px);
  padding: 0.3em 0.8em;
}
.tv-centro {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 28px);
  flex-wrap: wrap;
}
.tv-pct {
  font-size: clamp(40px, 6.2vw, 108px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
}
.tv-pct small {
  font-size: clamp(11px, 1vw, 17px);
  font-weight: 400;
  color: var(--texto-2);
  letter-spacing: 0;
  margin-top: 4px;
}
.tv-pzs {
  display: flex;
  flex-direction: column;
  font-size: clamp(12px, 1.05vw, 18px);
  color: var(--texto-2);
  min-width: 0;
}
.tv-pzs b {
  font-size: clamp(20px, 2.4vw, 42px);
  font-weight: 900;
  color: var(--texto);
  line-height: 1.1;
}
.tv-fila {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid var(--borde);
  padding-top: 8px;
}
.tv-fila div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tv-fila span {
  font-size: clamp(10.5px, 0.9vw, 15px);
  color: var(--texto-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tv-fila b {
  font-size: clamp(16px, 1.7vw, 30px);
  font-weight: 900;
  white-space: nowrap;
}
.tv-tarjeta footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: clamp(11.5px, 1vw, 17px);
  color: var(--texto-2);
  min-width: 0;
}
.tv-causa {
  color: var(--paro-t);
  font-weight: 900;
  min-width: 0;
}
.tv-pie {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding: 0 16px 12px;
}
.tv-puntos {
  display: inline-flex;
  gap: 6px;
}
.tv-puntos button {
  width: 26px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: var(--borde-fuerte);
  padding: 0;
}
.tv-puntos button.on {
  background: var(--acento);
}
@media (max-width: 999px) {
  .tv {
    height: auto;
  }
  .tv-rejilla {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }
  .tv-pct {
    font-size: 52px;
  }
  .tv-tarjeta h2 {
    font-size: 20px;
  }
}
@media (max-width: 599px) {
  .tv-rejilla {
    grid-template-columns: minmax(0, 1fr);
  }
}
.centro-cuerpo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hueco);
  padding: 12px;
  align-items: start;
}
@media (min-width: 1500px) {
  .centro-cuerpo {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  }
}
@media (min-width: 900px) and (max-width: 1499px) {
  .centro .mosaico {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.movil {
  align-items: center;
}
.movil-marco {
  width: min(100%, 480px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
  container-type: inline-size;
  container-name: pag;
}
.movil-cab {
  background: var(--barra);
  color: var(--barra-texto);
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-radius: 0 0 18px 18px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.movil-cab .progreso {
  background: #ffffff29;
}
.movil-cab .progreso i {
  background: var(--dapi-menta);
}
.movil-sec {
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  margin: 0 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movil-sec h2 {
  font-size: 15.5px;
  font-weight: 900;
}
.titular-m h1 {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}
.movil-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 12px;
}
.movil-kpis div {
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.movil-kpis span {
  font-size: 13px;
  color: var(--texto-2);
}
.movil-kpis b {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}
.movil-kpis b i {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: var(--texto-2);
}
.movil-kpis small {
  color: var(--texto-3);
  font-size: 12px;
}
.movil-maq {
  width: 100%;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  text-align: left;
}
.movil-maq:first-child {
  border-top: 0;
}
.tablet-cuerpo {
  padding: 14px;
}
.hxh td.razon {
  min-width: 180px;
}
@container pag (max-width: 560px) {
  .opc2 {
    display: none;
  }
  .hxh td.razon {
    min-width: 132px;
  }
  .hxh th,
  .hxh td {
    padding-inline: 6px;
  }
  .hxh .etiqueta {
    display: none;
  }
}

/* Cámara real (producción): video del gateway de planta */
.camara-real {
  background: #17232e;
}
.camara-real .camara-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0f171e;
}
.camara-vacia {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #b9cbd5;
  text-align: center;
  padding: 16px;
  font-size: 13px;
}
.camara-vacia small {
  color: #8ea7b3;
}
.camara-clic {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.camara-real .capa {
  pointer-events: none;
}

/* Vinculación de pantalla de planta (Smart TV) */
.vincular {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, var(--dapi-navy) 0%, var(--dapi-teal) 100%);
  color: #fff;
  padding: 24px;
}
.vincular-caja {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  max-width: 760px;
}
.vincular-ico {
  color: var(--dapi-menta);
}
.vincular-txt {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.4;
  opacity: 0.92;
}
.vincular-codigo {
  display: flex;
  gap: clamp(8px, 1.2vw, 16px);
  font-size: clamp(44px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.vincular-codigo span {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(100, 238, 133, 0.55);
  border-radius: 14px;
  padding: 0.05em 0.28em;
  min-width: 1.1em;
}
.vincular .tenue {
  color: #b9cbd5;
}
.vincular .login-logo b {
  font-size: 28px;
}
