:root {
  --navy: #071a32;
  --ink: #18314a;
  --muted: #566c7e;
  --line: #dbe4eb;
  --blue: #1676b9;
  --teal: #087f8c;
  --canvas: #f5f8fb;
  --danger: #a32432;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font:
    14px/1.5 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 9px 13px;
  font-weight: 600;
}
button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid #e9a51b;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.primario {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.primario:hover {
  background: #125c91;
  color: white;
}
.skip {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 200;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
#navegacion {
  position: fixed;
  inset: 0 auto 0 0;
  width: 246px;
  background: var(--navy);
  color: #d6e3ee;
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 30;
}
.marca {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.7px;
  font-weight: 750;
}
.marca-icono {
  display: grid;
  place-items: center;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  background: #b9edf0;
  color: #075966;
  font-size: 12px;
  letter-spacing: 0;
}
.espacio {
  color: #9eb4c7;
  font-size: 12px;
  margin: 23px 6px 14px;
}
.buscar-menu {
  font-size: 11px;
  color: #b7c9d7;
}
.buscar-menu input {
  width: 100%;
  margin-top: 5px;
  background: #102e49;
  border: 1px solid #31516b;
  color: white;
  padding: 10px;
  border-radius: 7px;
  font-size: 13px;
}
.buscar-menu input::placeholder {
  color: #a7bdce;
}
.grupo {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 650;
  color: #8ca6bc;
  margin: 22px 10px 7px;
}
#menu a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #b6cbdc;
  padding: 9px 10px;
  margin: 2px 0;
  border-radius: 7px;
  font-size: 13px;
}
#menu a span {
  width: 19px;
  color: #8ec6df;
  text-align: center;
}
#menu a[aria-current="page"],
#menu a:hover {
  background: #183d5b;
  color: white;
  text-decoration: none;
}
.volver {
  margin: 24px 10px 10px;
  color: #b6cbdc;
  font-size: 12px;
}
.firma {
  border-top: 1px solid #274158;
  padding: 15px 10px 0;
  color: #8aa5bb;
  font-size: 11px;
}
.aplicacion {
  margin-left: 246px;
}
.barra {
  min-height: 70px;
  padding: 16px 30px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ruta {
  font-size: 13px;
  color: var(--muted);
}
.ruta span {
  margin: 0 10px;
  color: #9daebb;
}
.ruta b {
  color: var(--ink);
}
.cuenta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  flex-wrap: wrap;
}
.cuenta button {
  padding: 6px 11px;
}
.icono {
  display: none;
}
main {
  padding: 25px 30px;
  max-width: 1800px;
  margin: auto;
  min-height: calc(100vh - 115px);
}
.contexto {
  display: flex;
  gap: 13px;
  align-items: flex-end;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.contexto label {
  display: grid;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
}
.contexto select {
  min-width: 230px;
  max-width: 100%;
}
.contexto input,
.contexto select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: white;
  color: var(--ink);
  font-size: 13px;
}
.contexto button {
  font-size: 12px;
  padding: 8px 12px;
}
#conexion {
  margin-left: auto;
  font-size: 11px;
  max-width: 280px;
  color: var(--teal);
  padding-bottom: 9px;
}
.encabezado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 26px 0 22px;
}
.encabezado h1 {
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 0 0 7px;
}
.encabezado p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
.acciones {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.aviso {
  padding: 12px 15px;
  margin-top: 15px;
  background: #fff7e4;
  border: 1px solid #edc774;
  border-radius: 7px;
  color: #755214;
  font-size: 13px;
}
.metricas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.metrica {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.metrica span {
  font-size: 12px;
  color: var(--muted);
}
.metrica strong {
  display: block;
  font-size: 27px;
  letter-spacing: -1px;
  margin: 8px 0 3px;
  overflow-wrap: anywhere;
}
.metrica small {
  color: var(--muted);
  font-size: 11px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 18px;
  overflow: hidden;
}
.panel-cabecera {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 17px;
  margin: 0;
}
.panel-cabecera p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.filtros {
  display: flex;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  flex-wrap: wrap;
}
.filtros input,
.filtros select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  font-size: 13px;
  color: var(--ink);
  background: white;
}
.filtros input {
  flex: 1;
  min-width: 170px;
}
.filtros span {
  font-size: 12px;
  color: var(--muted);
}
.tabla {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th {
  text-align: left;
  background: #f8fafc;
  color: #566d81;
  font-size: 11px;
  font-weight: 650;
  padding: 12px 18px;
  white-space: nowrap;
}
td {
  padding: 14px 18px;
  border-top: 1px solid #edf1f5;
  vertical-align: middle;
  max-width: 330px;
  overflow-wrap: anywhere;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
td button {
  padding: 5px 9px;
  font-size: 12px;
  white-space: nowrap;
}
td .fila-acciones {
  display: flex;
  gap: 5px;
}
tbody tr:hover {
  background: #fafcfe;
}
.estado {
  display: inline-block;
  background: #eaf2f7;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 11px;
  color: #42617a;
  white-space: nowrap;
}
.estado.ok {
  background: #e4f5ef;
  color: #147052;
}
.estado.alerta {
  background: #fff0df;
  color: #97531b;
}
.estado.archivado {
  background: #f0f0f0;
  color: #626262;
}
.importe {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.negativo {
  color: var(--danger);
}
.vacio {
  text-align: center;
  padding: 42px 20px;
  color: var(--muted);
}
.vacio strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 8px;
}
.columnas {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}
.actividad {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid #edf1f5;
  font-size: 13px;
}
.actividad small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.actividad a {
  font-weight: 650;
}
.ayuda {
  padding: 17px 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.paginacion {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.paginacion button {
  padding: 6px 10px;
}
dialog {
  border: 0;
  border-radius: 12px;
  width: min(680px, calc(100% - 28px));
  max-height: 90vh;
  padding: 26px;
  color: var(--ink);
  box-shadow: 0 20px 80px #071a3240;
}
dialog::backdrop {
  background: #071a3280;
}
dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
dialog header button {
  border: 0;
  font-size: 23px;
  padding: 0 6px;
}
dialog h2 {
  font-size: 22px;
}
#editor-nota {
  font-size: 12px;
  color: var(--muted);
}
.campos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 23px 0;
}
.campos label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
}
.campos label.ancho {
  grid-column: 1/-1;
}
.campos input,
.campos select,
.campos textarea {
  width: 100%;
  border: 1px solid #c9d6e0;
  border-radius: 6px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  font-weight: 400;
}
.campos small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.pie-formulario {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.error {
  padding: 12px;
  border: 1px solid #edb3b9;
  background: #fff0f2;
  color: var(--danger);
  border-radius: 6px;
  font-size: 13px;
}
#notificacion {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  background: var(--navy);
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  z-index: 100;
  font-size: 13px;
}
footer {
  padding: 15px 30px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.reporte-barra {
  height: 8px;
  min-width: 2px;
  background: var(--teal);
  border-radius: 3px;
  margin: 6px 0;
}
.leyenda {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.acciones-secundarias {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.salto {
  white-space: pre-wrap;
}
.form-control-invalido {
  border-color: var(--danger) !important;
}
@media (min-width: 1550px) {
  main {
    padding: 32px 42px;
  }
  .barra {
    padding-left: 42px;
    padding-right: 42px;
  }
}
@media (max-width: 1100px) {
  #navegacion {
    width: 220px;
  }
  .aplicacion {
    margin-left: 220px;
  }
  .metricas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .columnas {
    grid-template-columns: 1fr;
  }
  .barra {
    padding: 15px 20px;
  }
  .ruta {
    display: none;
  }
  main {
    padding: 20px;
  }
  .encabezado {
    align-items: flex-start;
  }
  .acciones {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  #navegacion {
    transform: translateX(-100%);
    width: 265px;
  }
  #navegacion.abierto {
    transform: translateX(0);
    box-shadow: 0 0 0 100vmax #071a3240;
  }
  .aplicacion {
    margin-left: 0;
  }
  .icono {
    display: block;
  }
  .barra {
    padding: 12px 16px;
  }
  .cuenta {
    gap: 10px;
  }
  #identidad {
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .encabezado {
    flex-direction: column;
    gap: 16px;
  }
  .encabezado h1 {
    font-size: 26px;
  }
  .acciones {
    width: 100%;
  }
  .acciones button {
    flex: 1;
  }
  main {
    padding: 17px 14px;
  }
  .contexto {
    gap: 10px;
  }
  .contexto label:first-child {
    width: 100%;
  }
  .contexto select {
    width: 100%;
  }
  #conexion {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .metricas {
    gap: 10px;
  }
  .metrica {
    padding: 14px;
  }
  .metrica strong {
    font-size: 23px;
  }
  .panel-cabecera,
  .filtros {
    padding: 14px;
  }
  .campos {
    grid-template-columns: 1fr;
  }
  .campos label.ancho {
    grid-column: auto;
  }
  td,
  th {
    padding: 12px;
  }
  dialog {
    padding: 20px;
  }
  footer {
    text-align: left;
    padding: 15px;
  }
  #notificacion {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}
@media print {
  #navegacion,
  .barra,
  .contexto,
  .acciones,
  .filtros,
  .paginacion,
  .fila-acciones,
  footer {
    display: none !important;
  }
  .aplicacion {
    margin: 0;
  }
  main {
    padding: 0;
  }
  .panel {
    overflow: visible;
    break-inside: avoid;
  }
  .tabla {
    overflow: visible;
  }
  body {
    background: white;
  }
  .metricas {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Capa visual de producto: jerarquía, contraste y lectura de operación. */
:root {
  --navy: #10243d;
  --ink: #172a3f;
  --muted: #63758a;
  --line: #dce5ee;
  --blue: #175eaa;
  --teal: #007f79;
  --canvas: #f1f5f9;
  --danger: #b4233b;
}
body {
  background:
    radial-gradient(circle at 88% -10%, #d8eff5 0, transparent 29rem),
    linear-gradient(180deg, #f8fafc 0, var(--canvas) 46rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
button {
  min-height: 38px;
  border-radius: 9px;
  border-color: #d3dee9;
  box-shadow: 0 1px 1px #10243d0a;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
button:not(:disabled):hover {
  box-shadow: 0 4px 12px #0f2b4614;
  transform: translateY(-1px);
}
.primario {
  background: linear-gradient(135deg, #1765b4, #0b4d92);
  border-color: #0b4d92;
  box-shadow: 0 5px 12px #175eaa30;
}
.primario:hover { background: linear-gradient(135deg, #125798, #083f78); }
#navegacion {
  width: 264px;
  padding: 24px 14px 18px;
  background: linear-gradient(165deg, #102b47 0%, #0b2036 58%, #081b2f 100%);
  box-shadow: 7px 0 24px #071a3212;
}
.marca { font-size: 19px; letter-spacing: -.85px; padding: 0 5px; }
.marca-icono {
  width: 35px; height: 35px; border-radius: 11px;
  background: linear-gradient(145deg, #e5fbf7, #9ee5db);
  box-shadow: inset 0 1px #fff9, 0 3px 10px #0002;
}
.espacio { margin: 26px 7px 13px; }
.buscar-menu input { border-radius: 9px; background: #163b5b; border-color: #315d7d; }
.grupo { margin-top: 25px; color: #89a9c2; }
#menu a { border-radius: 9px; padding: 9px 11px; }
#menu a[aria-current="page"], #menu a:hover {
  background: linear-gradient(90deg, #1b4b70, #174260);
  box-shadow: inset 3px 0 #71dbd0;
}
.aplicacion { margin-left: 264px; }
.barra {
  min-height: 76px;
  padding: 15px 34px;
  background: #ffffffd9;
  backdrop-filter: blur(12px);
  border-bottom-color: #dce6ef;
}
.cuenta { gap: 11px; }
.cuenta > span { font-weight: 650; color: var(--ink); padding-right: 5px; }
main { max-width: 1680px; padding: 29px 36px 42px; }
.contexto {
  padding: 14px 16px;
  border: 1px solid #dce6ef;
  border-radius: 13px;
  background: #ffffffd4;
  box-shadow: 0 6px 18px #19345208;
}
.contexto input, .contexto select, .filtros input, .filtros select {
  border-radius: 8px;
  border-color: #ccd9e5;
  background: #fff;
}
#conexion { margin-left: 6px; font-weight: 600; color: #087b70; }
.encabezado { margin: 31px 0 23px; }
.encabezado h1 { font-size: clamp(29px, 3vw, 37px); letter-spacing: -1.35px; }
.encabezado p { font-size: 14px; }
.resumen-operativo {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 24px; margin-bottom: 17px; border: 1px solid #cfe1ea;
  border-radius: 15px; color: #f6fcff;
  background: linear-gradient(110deg, #123b5e, #13566c 58%, #08746f);
  box-shadow: 0 11px 26px #153c5b24;
}
.resumen-operativo h2 { font-size: 21px; margin: 4px 0; letter-spacing: -.5px; }
.resumen-operativo p { margin: 0; color: #d5edf2; font-size: 13px; }
.eyebrow { color: #aee9dc; font-size: 10px; font-weight: 800; letter-spacing: 1.25px; }
.resumen-operativo-acciones { display: flex; gap: 8px; flex-wrap: wrap; }
.resumen-operativo-acciones a, .resumen-operativo-acciones button { color: #f4ffff; border: 1px solid #b6e6df70; padding: 8px 11px; border-radius: 8px; font-size: 12px; font-weight: 700; background: #ffffff12; box-shadow: none; min-height: 0; }
.resumen-operativo-acciones a:hover, .resumen-operativo-acciones button:hover { background: #ffffff2a; border-color: #d7fffa; color: #fff; text-decoration: none; transform: none; box-shadow: none; }
.metricas { gap: 15px; }
.metrica {
  display: flex; gap: 14px; align-items: flex-start; min-height: 132px;
  padding: 19px; border-radius: 13px; border-color: #d9e4ed;
  box-shadow: 0 7px 18px #183c5a0b;
}
.metrica:nth-child(1) { border-top: 3px solid #1870bc; }
.metrica:nth-child(2) { border-top: 3px solid #b36b26; }
.metrica:nth-child(3) { border-top: 3px solid #b74a4d; }
.metrica:nth-child(4) { border-top: 3px solid #187d73; }
.metrica-icono { display: grid; place-items: center; flex: 0 0 33px; height: 33px; border-radius: 10px; color: #175eaa; background: #eaf4fd; font-size: 17px !important; font-weight: 800; }
.metrica:nth-child(2) .metrica-icono { color: #9a591b; background: #fff3e5; }
.metrica:nth-child(3) .metrica-icono { color: #a83439; background: #fff0f0; }
.metrica:nth-child(4) .metrica-icono { color: #087166; background: #e5f6f2; }
.metrica strong { font-size: clamp(23px, 2.1vw, 30px); margin: 5px 0 2px; }
.tablero-prioridades { margin: 18px 0; overflow: hidden; }
.tablero-prioridades .panel-cabecera { align-items: center; }
.tablero-prioridades .eyebrow { color: #138276; }
.prioridades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #e3ebf1; }
.prioridad, .prioridad-vacia { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px 18px; border-right: 1px solid #e3ebf1; border-bottom: 1px solid #e3ebf1; background: #fff; }
.prioridad:nth-child(3n) { border-right: 0; }
.prioridad > div, .prioridad-vacia > div { min-width: 0; flex: 1; }
.prioridad b, .prioridad-vacia b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #203b55; font-size: 13px; }
.prioridad small, .prioridad-vacia small { display: block; margin-top: 2px; color: #697e92; font-size: 11px; }
.prioridad a, .prioridad-vacia a { flex: 0 0 auto; color: #1765a9; font-size: 11px; font-weight: 750; }
.prioridad-senal, .prioridad-vacia > span { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border-radius: 50%; font-size: 15px; font-weight: 850; }
.prioridad-critica .prioridad-senal { background: #fff0f1; color: #b4233b; }
.prioridad-atencion .prioridad-senal { background: #fff4e5; color: #a65c0d; }
.prioridad-seguimiento .prioridad-senal { background: #e8f4fb; color: #1765a9; }
.prioridad-vacia { grid-column: 1 / -1; border-right: 0; background: linear-gradient(90deg, #f7fcfa, #fff); }
.prioridad-vacia > span { background: #dff5ec; color: #087563; }
.panel { border-radius: 13px; border-color: #d9e4ed; box-shadow: 0 7px 20px #183c5a0a; }
.panel-cabecera { padding: 18px 21px; background: linear-gradient(180deg, #fff, #fbfdff); }
h2 { letter-spacing: -.28px; }
.filtros { background: #fcfdff; }
th { background: #f3f7fa; color: #50677e; }
tbody tr { transition: background .12s ease; }
tbody tr:hover { background: #f2f8fc; }
.estado { border-radius: 999px; padding: 4px 9px; font-weight: 650; }
.actividad { padding: 15px 20px; }
.vacio { padding: 54px 24px; background: linear-gradient(180deg, #fff, #fbfdff); }
dialog { border-radius: 16px; border-color: #d7e2ec; box-shadow: 0 24px 70px #071a3260; }
#notificacion { border-radius: 12px; box-shadow: 0 12px 32px #07213836; }
@media (max-width: 760px) {
  #navegacion { width: 280px; }
  .barra { padding: 12px 15px; }
  main { padding: 18px 14px 34px; }
  .resumen-operativo { align-items: flex-start; flex-direction: column; padding: 19px; }
  .resumen-operativo-acciones { width: 100%; }
  .resumen-operativo-acciones a, .resumen-operativo-acciones button { flex: 1; text-align: center; }
  .metrica { min-height: 0; }
  .prioridades { grid-template-columns: 1fr; }
  .prioridad, .prioridad:nth-child(3n) { border-right: 0; }
}
@media print {
  .resumen-operativo { color: #172a3f; background: #fff; box-shadow: none; }
  .resumen-operativo p, .eyebrow { color: #566c7e; }
}

.control-periodo { overflow: hidden; }
.control-periodo .eyebrow { color: #138276; }
.control-resumen { display: grid; grid-template-columns: minmax(145px, auto) minmax(180px, 1fr) auto; align-items: center; gap: 18px; padding: 18px 21px; border-top: 1px solid #e1ebf2; border-bottom: 1px solid #e1ebf2; background: linear-gradient(90deg, #f7fcfb, #fff); }
.control-resumen strong { display: block; color: #174967; font-size: 26px; line-height: 1; }
.control-resumen span:not(.progreso-control span) { color: #657b8e; font-size: 12px; }
.control-resumen > b { color: #087568; font-size: 13px; white-space: nowrap; }
.progreso-control { height: 10px; overflow: hidden; border-radius: 999px; background: #dfece9; box-shadow: inset 0 1px 2px #143b3518; }
.progreso-control span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #148a7c, #54b9a5); transition: width .2s ease; }
.lista-control { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.control-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 13px; min-width: 0; padding: 18px 21px; border-right: 1px solid #e3ebf1; border-bottom: 1px solid #e3ebf1; background: #fff; }
.control-item:nth-child(2n) { border-right: 0; }
.control-icono { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; font-weight: 850; }
.control-ok .control-icono { color: #087563; background: #dff5ec; }
.control-pendiente .control-icono { color: #aa5b0e; background: #fff3e4; }
.control-item h3 { margin: 0; color: #223d57; font-size: 14px; }
.control-item p { margin: 3px 0 0; color: #687e91; font-size: 12px; line-height: 1.42; }
.control-resultado { min-width: 52px; text-align: right; }
.control-resultado strong { display: block; color: #263f57; font-size: 20px; }
.control-resultado small { display: block; color: #8a5a20; font-size: 10px; white-space: nowrap; }
.control-item a { color: #1765a9; font-size: 12px; font-weight: 750; white-space: nowrap; }
.revision-periodo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 21px; border-bottom: 1px solid #e3ebf1; background: #f7fcfb; }
.revision-periodo p { margin: 0; color: #496274; font-size: 13px; }
.alertas-resumen { display: flex; align-items: baseline; gap: 8px; padding: 14px 21px; border-bottom: 1px solid #e3ebf1; background: #fbfdff; color: #61798c; font-size: 13px; }
.alertas-resumen strong { margin-left: 12px; color: #174967; font-size: 22px; }
.alertas-resumen strong:first-child { margin-left: 0; color: #b4233b; }
.lista-alertas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alerta-operativa { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 17px 21px; border-right: 1px solid #e3ebf1; border-bottom: 1px solid #e3ebf1; }
.alerta-operativa:nth-child(2n) { border-right: 0; }
.alerta-operativa > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 850; }
.alerta-critica > span { color: #b4233b; background: #fff0f1; }
.alerta-atencion > span, .alerta-seguimiento > span { color: #a65c0d; background: #fff4e5; }
.alerta-operativa h3 { margin: 0; color: #223d57; font-size: 14px; }
.alerta-operativa p, .alerta-operativa small { display: block; margin: 3px 0 0; color: #687e91; font-size: 12px; }
.alerta-operativa a { color: #1765a9; font-size: 12px; font-weight: 750; white-space: nowrap; }
@media (max-width: 900px) { .lista-control { grid-template-columns: 1fr; } .control-item, .control-item:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .control-resumen { grid-template-columns: 1fr; gap: 10px; } .control-item { grid-template-columns: auto minmax(0, 1fr) auto; } .control-item a { grid-column: 2 / -1; } .revision-periodo { align-items: stretch; flex-direction: column; } }
