/* detail.css — #panel-info, .panel-info-*, .ctx-*, .det-*, .detalle-panel */

#panel-info {
  position: absolute; bottom: 10px; left: 10px; right: 10px; z-index: 600;
  background: rgba(255,255,255,0.97); border: 0.5px solid #ddd;
  border-radius: 0; padding: 14px 16px; max-height: 55%; overflow-y: auto;
  font-size: 11px; line-height: 1.7;
  transform: translateY(10px); opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#panel-info.visible { transform: translateY(0); opacity: 1; pointer-events: all; }
.panel-info-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.panel-info-cerrar {
  width: 20px; height: 20px; border-radius: 50%; border: 0.5px solid #ddd;
  background: white; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #888; flex-shrink: 0; margin-left: 8px;
}
.panel-info-cerrar:hover { background: #f0f0f0; }
#panel-info .info-titulo { font-weight: 500; font-size: 12px; }
#panel-info .info-desc   { color: #555; margin-bottom: 10px; }
#panel-info .info-norma-label {
  font-size: 10px; font-weight: 500; color: #aaa;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px;
}
#panel-info .info-norma-item {
  color: #888; font-size: 10px; padding: 2px 0;
  display: flex; align-items: baseline; gap: 6px;
}
.info-pdf-link {
  font-size: 10px; color: #bbb; cursor: pointer;
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 3px;
}
.info-pdf-link:hover { color: #185FA5; }

/* — menú contextual — */
.ctx-depto-menu {
  z-index: 9999;
  background: white;
  border: 0.5px solid #ddd;
  border-radius: 8px;
  min-width: 130px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.ctx-depto-header {
  padding: 6px 11px 4px;
  font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .05em;
  color: #c4c4c4; white-space: nowrap;
  border-bottom: 0.5px solid #f0f0ec;
}
.ctx-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 11px;
  font-size: 12px; color: #333;
  cursor: pointer;
  border-bottom: 0.5px solid #f5f5f2;
}
.ctx-item:last-child { border-bottom: none; }
.ctx-item:hover { background: #f7f7f4; }
.ctx-item i { font-size: 14px; color: #aaa; }
.ctx-item-danger { color: #b91c1c; }
.ctx-item-danger i { color: #b91c1c; }

/* — det-sede (panel de hitos de sede) — */
/* Cumplimiento (tipo C, resumen del hito) */

.det-sec { padding: 10px 14px; border-bottom: 0.5px solid #f5f5f2; }
.det-pill { font-size: 10px; padding: 2px 7px; border-radius: 20px; }
.det-pill-ok      { background: #dcfce7; color: #166534; }
.det-pill-bad     { background: #fee2e2; color: #b91c1c; }
.det-pill-warn    { background: #fef3c7; color: #92400e; }
.det-pill-neutral { background: #f0f0ec; color: #666; }

/* — panel detalle lateral — */
.detalle-panel {
  flex: 1;
  overflow-y: auto;
  background: #ffffff;
  font-size: 11px;
  line-height: 1.5;
  min-height: 0;
}

.det-sec {
  padding: 10px 14px;
  border-bottom: 0.5px solid #f5f5f2;
}
.det-sec:last-child { border-bottom: none; }.det-seccion-titulo {
  font-size: 10px; font-weight: 500; color: #aaa;
  text-transform: uppercase; letter-spacing: 0.05em; margin: 8px 0 4px;
}
.det-vector      { margin-top: 8px; padding-top: 8px; border-top: 0.5px solid #f0f0f0; }
.det-vector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 16px; margin-top: 4px; }
.det-vector-item { display: flex; justify-content: space-between; font-size: 10px; }
.det-vector-clave   { color: #bbb; }
.det-vector-val     { font-weight: 500; color: #333; }
.det-vector-val.negativo { color: #c62828; }

/* — override: panel-info refinado — */
#panel-info { border-radius: 0 !important; border: 0.5px solid #e8e8e8 !important; }

/* ── Detalle contextual de variable (situaciones, avance, tipo C) ──────── */
/* ── Panel del proceso y resumenes por nivel ────────────────────────────────
   El markup de estos paneles existia desde el port pero sus clases nunca se
   estilaron, asi que el panel derecho sin seleccion se veia como texto plano.
   Siguen el mismo lenguaje del resto del detalle: borde de medio punto,
   etiqueta breve en mayusculas sobre cada bloque y numeros tabulares.        */
.dp-titulo {
  font-size: 14px; font-weight: 650; color: #1a1a1a;
  line-height: 1.3; margin-bottom: 5px;
}
.dp-desc {
  font-size: 11.5px; line-height: 1.55; color: #666;
  padding-bottom: 13px; margin-bottom: 14px;
  border-bottom: 0.5px solid #eceef2;
}

/* Cifras del conjunto. Una rejilla que se reacomoda en vez de una fila que
   se desborda cuando el panel es estrecho. */
.dp-metricas {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px; margin-bottom: 16px;
}
.dp-metric {
  background: #f7f8fa; border: 0.5px solid #eceef2; border-radius: 9px;
  padding: 9px 11px;
}
.dp-metric-num {
  font-size: 19px; font-weight: 700; color: #1a1a1a;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.dp-metric-lab {
  font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em;
  color: #9aa0a6; margin-top: 3px;
}

/* Etiqueta de bloque. La comparten el panel del proceso y las secciones de
   Estado, Actores y Conclusiones del detalle de un informe. */
.dp-seccion-lab {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; color: #9aa0a6; margin-bottom: 7px;
}

/* Reparto por departamento y por tema. */
.dp-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.dp-chip {
  font-size: 10.5px; color: #4a4a4a; background: #f2f4f7;
  border: 0.5px solid #e6e9ee; border-radius: 20px; padding: 3px 9px;
  white-space: nowrap;
}
.dp-chip b { font-weight: 650; color: #1a1a1a; font-variant-numeric: tabular-nums; }
.dp-chip-tema { background: #eef3fc; border-color: #dde6f6; color: #2f4a70; }
.dp-chip-tema b { color: #1d3557; }

/* Texto de la conclusion en las tarjetas por caso. */
.dp-conclusion { font-size: 12px; line-height: 1.5; color: #3a3a3a; }

.dp-vacio { color: #aaa; font-size: 12px; padding: 16px 2px; }

/* Confiabilidad */
.dc-confiab { background: #f7f8fa; border: 0.5px solid #eceef2; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.dc-confiab-lab { font-size: 12px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; }
.dc-confiab-bar { height: 8px; background: #ececec; border-radius: 4px; overflow: hidden; }
.dc-confiab-fill { height: 100%; border-radius: 4px; transition: width .4s ease; }
.dc-confiab-sub { font-size: 11px; color: #6b6b6b; margin-top: 5px; }

/* Lista de items (criterios / situaciones / actividades) */
.dc-lista { display: flex; flex-direction: column; gap: 8px; }
.dc-item { background: #fafafa; border: 0.5px solid #eee; border-radius: 8px; padding: 9px 11px; }
.dc-item-flag { border-color: #f3d0cc; background: #fdf6f5; }
.dc-item-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dc-item-tit { font-size: 11.5px; font-weight: 500; color: #1a1a1a; line-height: 1.3; }
.dc-pct { font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.dc-item-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 10px; color: #888; }
.dc-flag { font-size: 10px; color: #c0392b; margin-top: 5px; display: flex; align-items: center; gap: 6px; line-height: 1.3; }

/* Botón PDF (helpers.pdfBtn): «PDF · p. 6» en azul, o en gris «PDF · página no
   identificada» cuando la fuente no trae página y el visor abre el inicio. */
.det-pdf {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap;
  color: #2563c9; background: #eef3fc; padding: 2px 8px; border-radius: 6px;
  cursor: pointer;
}
.det-pdf:hover { background: #dfe9fb; }
.det-pdf-sinpag { color: #6b6b6b; background: #f1f1ef; font-weight: 500; }
.det-pdf-sinpag:hover { background: #e8e8e5; }

/* Trazabilidad de la fuente: gris, nunca rojo (no es una medida de confianza). */

/* ── Ficha del caso, detalle del hito y detalle de nivel ──────────────────── */
.dn-panel { padding: 16px 18px; }
.dn-eyebrow {
  font-size: 11px; font-weight: 600; color: #6b6b6b;
  text-transform: uppercase; letter-spacing: .05em;
}
.dn-titulo { font-size: 16px; font-weight: 700; color: #1a1a1a; margin: 2px 0 3px; line-height: 1.3; }
.dn-sub { font-size: 12px; color: #6b6b6b; margin-bottom: 14px; }
.dn-volver {
  display: inline-block; font-size: 11px; font-weight: 600; color: #6b6b6b;
  text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.dn-volver:hover { color: #2563c9; }
.dn-nota { font-size: 11px; color: #6b6b6b; line-height: 1.45; margin: 6px 0 12px; }
.dn-flecha { font-size: 15px; color: #c4c4c4; margin-left: auto; flex-shrink: 0; }

/* Estado del caso: la pastilla de la tabla y su explicación. */
.dk-estado {
  display: flex; align-items: flex-start; gap: 10px;
  background: #f7f8fa; border: 0.5px solid #eceef2; border-radius: 9px;
  padding: 10px 12px; margin-bottom: 8px;
}
.dk-estado .ct-pill { margin-top: 1px; }
.dk-estado-txt { font-size: 12px; line-height: 1.5; color: #333; }
.dk-total { font-size: 12px; color: #444; margin: 0 2px 16px; }

/* Un renglón por informe del caso. */
.dk-hitos { display: flex; flex-direction: column; gap: 7px; margin-bottom: 6px; }
.dk-hito {
  border: 0.5px solid #e6e8ec; border-left: 3px solid #8a94a3; border-radius: 8px;
  padding: 8px 10px; cursor: pointer; background: #fff;
}
.dk-hito:hover { background: #fafbfc; border-color: #d5d9df; border-left-color: #2563c9; }
.dk-hito-flag { border-left-color: #d9a441; background: #fffbeb; }
.dk-hito-cab { display: flex; align-items: flex-start; gap: 8px; }
.dk-hito-tit { font-size: 12px; color: #1a1a1a; line-height: 1.35; flex: 1; }
.dk-hito-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
  font-size: 11px; color: #6b6b6b; margin-top: 4px;
}
.dk-hito-motivo { font-size: 11px; line-height: 1.45; color: #92400e; margin-top: 5px; }
.dk-sinpdf { color: #9aa0a6; }
.dk-vig {
  flex-shrink: 0; min-width: 20px; padding: 0 6px; border-radius: 9px;
  font-size: 11px; font-weight: 700; line-height: 17px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.dk-vig-rojo  { background: #fbe7e4; color: #a8321f; }
.dk-vig-ambar { background: #fbf0d9; color: #80590c; }
.dk-vig-verde { background: #e2f2e7; color: #2b7a46; }
.dk-vig-gris  { background: #efefed; color: #6b6b6b; }

/* Fechas por confirmar: el aviso ámbar que ya existía. */
.dh-porconfirmar {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .03em;
  color: #92400e; background: #fef3c7; padding: 1px 7px; border-radius: 6px;
  vertical-align: middle; white-space: nowrap; flex-shrink: 0;
}
.dh-aviso {
  display: flex; align-items: flex-start; gap: 8px;
  background: #fffbeb; border: 1px solid #fde68a; border-left: 3px solid #d9a441;
  border-radius: 9px; padding: 9px 12px; margin: 4px 0 12px;
  font-size: 12px; line-height: 1.45; color: #92400e;
}

/* Detalle del hito: el informe, su fecha y lo que dice. */
.dh-informe { font-size: 12px; color: #333; margin-top: 2px; }
.dh-control { font-size: 11px; color: #6b6b6b; margin-top: 2px; }
.dh-nav {
  display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 4px;
  padding-bottom: 10px; border-bottom: 0.5px solid #eceef2;
}
.dh-nav-link {
  font-size: 11px; color: #4a4a4a; background: #f2f4f7; border: 0.5px solid #e6e9ee;
  border-radius: 12px; padding: 2px 9px; cursor: pointer;
}
.dh-nav-link:hover { color: #2563c9; border-color: #c9d8f3; }
/* Títulos de bloque del hito en minúscula normal: se leen como frase
   («Lo que dice el informe») y destacan sobre las etiquetas internas. */
.dp-seccion-lab.dh-lab {
  margin-top: 18px; font-size: 12.5px; font-weight: 700; color: #1a1a1a;
  text-transform: none; letter-spacing: 0;
}
.dh-sec { scroll-margin-top: 8px; }
.dh-cita {
  border-left: 3px solid #d4c89a; background: #fdfcf8;
  border-radius: 0 6px 6px 0; padding: 8px 10px; margin-bottom: 7px;
}
.dh-cita-txt { font-size: 12px; line-height: 1.55; color: #333; }
.dh-cita-pie { display: flex; justify-content: flex-end; gap: 6px; margin-top: 5px; }

/* Avance declarado por el informe (tipo B, una línea por métrica). */
.av-lista { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 4px; }
.av-linea {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  background: #f7f8fa; border: 0.5px solid #eceef2; border-radius: 8px; padding: 8px 10px;
}
.av-texto { font-size: 12px; color: #333; line-height: 1.45; }
.av-label { font-size: 11px; color: #6b6b6b; margin-top: 2px; }

/* Situaciones adversas: desglose del informe y una tarjeta por situación con
   el vocabulario de la Contraloría. */
.sit-resumen { margin: 2px 0 10px; }
.sit-desglose { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.sit-nofiguran { font-size: 11px; color: #6b6b6b; margin-top: 3px; }
details.sit-nofiguran summary { cursor: pointer; }
details.sit-nofiguran ul { margin: 5px 0 0; padding-left: 16px; }
details.sit-nofiguran li { margin-bottom: 3px; line-height: 1.4; color: #555; }
.sit-nf-ult { color: #8a8f96; }
.sit-item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.sit-origen { font-size: 11px; color: #6b6b6b; }
.sit-pill {
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 10px; white-space: nowrap;
}
.sit-pill-rojo  { background: #fbe7e4; color: #a8321f; }
.sit-pill-ambar { background: #fbf0d9; color: #80590c; }
.sit-pill-verde { background: #e2f2e7; color: #2b7a46; }
.sit-pill-gris, .sit-pill-tenue { background: #efefed; color: #6b6b6b; }
.sit-texto {
  font-size: 12px; line-height: 1.55; color: #2b2b2b; cursor: pointer;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}
.sit-texto-abierto { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* Listas de casos en los detalles de nivel y en Conclusiones por caso. */
.dn-casos { display: flex; flex-direction: column; gap: 6px; }
.dn-caso {
  display: flex; align-items: flex-start; gap: 9px; cursor: pointer;
  border: 0.5px solid #eceef2; border-radius: 8px; padding: 7px 10px; background: #fff;
}
.dn-caso:hover { background: #fafbfc; border-color: #d5d9df; }
.dn-caso .ct-pill { margin-top: 1px; }
.dn-caso-txt { flex: 1; min-width: 0; }
.dn-caso-nom { font-size: 12px; font-weight: 600; color: #1a1a1a; }
.dn-caso-sub { font-size: 11px; color: #6b6b6b; line-height: 1.4; margin-top: 2px; }
.dn-tarjeta {
  background: #fff; border: 1px solid #eceef2; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 10px;
}
.dn-tarjeta-cab { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.dn-tarjeta .dp-conclusion { margin: 9px 0 10px; }
.dn-fuentes-lab {
  font-size: 10px; font-weight: 600; color: #6b6b6b; text-transform: uppercase;
  letter-spacing: .04em; padding-top: 9px; border-top: 1px solid #f0f1f4; margin-bottom: 6px;
}
.dn-fuentes { display: flex; flex-wrap: wrap; gap: 6px; }
.dn-fuente { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #6b6b6b; }
/* Indicador de verificación de cada dato (Cap_5): verde verificado, ámbar sin verificar, gris sin fuente. */
.dv { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; flex: none; }
.dv-verde { background: #3a9d5d; }
.dv-ambar { background: #d9a441; }
.dv-gris  { background: #c4c7cc; }
.dv-leyenda { font-size: 11px; color: #6b6b6b; margin: 6px 0 2px; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.dv-leyenda .dv { margin-left: 8px; }
.dv-leyenda .dv:first-child { margin-left: 0; }

/* ── Mejoras de uso (2026-10-01) ──────────────────────────────────────────
   Colores por token del estilo «expediente» (expediente.css) con su hex de
   respaldo: tinta para la estructura, color solo para el estado del control,
   cobalto solo para el foco. Serif solo para el texto literal del informe.   */

/* «Ver solo este caso» en la ficha del caso. */
.dn-acciones { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.dn-acciones[hidden] { display: none; }
.dn-btn {
  font: inherit; font-family: var(--sans, Seravek, "Avenir Next", system-ui, sans-serif);
  font-size: 12.5px; font-weight: 600; line-height: 1.3;
  padding: 4px 10px; border-radius: 3px; cursor: pointer;
  color: var(--tinta, #1B2638); background: var(--papel, #fff);
  border: 1px solid var(--tinta-3, #5F6B7D);
}
.dn-btn:hover { background: var(--tinta, #1B2638); border-color: var(--tinta, #1B2638); color: #fff; }
.dn-btn:focus-visible { outline: 2px solid var(--cobalto, #285A97); outline-offset: 2px; }

/* Desglose del hito en la cabecera del detalle («8 vigentes = 1 nueva + …»).
   El punto repite la bolita del Gantt: lleno si hay pendientes, anillo si no. */
.dh-desglose {
  display: flex; align-items: flex-start; gap: 7px; margin-top: 6px;
  font-size: 13.5px; font-weight: 600; line-height: 1.4;
  color: var(--tinta, #1B2638); font-variant-numeric: tabular-nums;
}
.dh-desglose-pto { flex: none; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; }
.dh-desglose-pto[data-nivel="rojo"]  { background: var(--rojo, #8C2B22); }
.dh-desglose-pto[data-nivel="ambar"] { background: var(--ambar, #A06C0A); }
.dh-desglose-pto[data-nivel="verde"] { background: #E3F1EC; box-shadow: inset 0 0 0 1.5px var(--verde, #1F7A66); }
.dh-desglose-pto[data-nivel="gris"]  { background: var(--papel, #fff); box-shadow: inset 0 0 0 1.5px var(--gris, #7D8795); }

/* Marca de verificación como botón (clic, Enter o espacio) y lo que despliega. */
.dv-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-width: 20px; height: 20px; padding: 0 3px; vertical-align: middle;
  font: inherit; color: inherit; background: none; cursor: pointer;
  border: 1px solid transparent; border-radius: 3px;
}
.dv-btn .dv { margin-right: 0; }
.dv-btn:hover { background: var(--plancha, #F3F5F8); border-color: var(--regla, #C9D0D9); }
.dv-btn[aria-expanded="true"] { background: var(--plancha, #F3F5F8); border-color: var(--tinta-3, #5F6B7D); }
.dv-btn:focus-visible { outline: 2px solid var(--cobalto, #285A97); outline-offset: 1px; }
/* Proyector: la nota se cae para que la cita entre; la marca lo dice en su title. */

.av-linea { flex-wrap: wrap; }
.dv-panel {
  flex: 1 0 100%; margin-top: 8px; padding: 8px 10px 9px 12px;
  border-left: 2px solid var(--tinta-3, #5F6B7D); background: var(--plancha, #F3F5F8);
  font-family: var(--sans, Seravek, "Avenir Next", system-ui, sans-serif);
  font-size: 12.5px; line-height: 1.45; color: var(--tinta-2, #4A5567);
}
.dv-panel-estado { font-weight: 600; color: var(--tinta, #1B2638); }
.dv-panel-lab { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--tinta-3, #5F6B7D); }
.dv-panel-frag {
  margin-top: 2px; font-family: var(--serif, Charter, "Iowan Old Style", Georgia, serif);
  font-size: 13.5px; line-height: 1.5; color: var(--tinta, #1B2638);
}
.dv-panel-just { margin-top: 2px; color: var(--tinta-2, #4A5567); }
.dv-panel-nota { margin-top: 2px; color: var(--tinta-3, #5F6B7D); }

/* Panel general: el hallazgo calculado y su barra 18/1/11 (estado_caso, los
   mismos colores que las pastillas de la tabla: rojo y ámbar llenos, verde con
   anillo, gris hueco). */
.dp-reparto { margin: 6px 0 16px; }
.dp-reparto-tit { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--tinta, #1B2638); }
.dp-reparto-barra { display: flex; gap: 2px; height: 8px; margin: 8px 0 6px; }
.dp-rb { flex-basis: 0; min-width: 3px; }
.dp-rb:first-child { border-radius: 4px 0 0 4px; }
.dp-rb:last-child  { border-radius: 0 4px 4px 0; }
.dp-rb:only-child  { border-radius: 4px; }
.dp-reparto-ley {
  display: flex; flex-wrap: wrap; gap: 2px 14px;
  font-size: 12.5px; color: var(--tinta-2, #4A5567);
}
.dp-rl { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.dp-rl b { color: var(--tinta, #1B2638); font-weight: 700; font-variant-numeric: tabular-nums; }
.dp-rl-pto { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.dp-rb-rojo,  .dp-rl-rojo  { background: var(--rojo, #8C2B22); }
.dp-rb-ambar, .dp-rl-ambar { background: var(--ambar, #A06C0A); }
.dp-rb-verde, .dp-rl-verde { background: #E3F1EC; box-shadow: inset 0 0 0 1.5px var(--verde, #1F7A66); }
.dp-rb-gris,  .dp-rl-gris  { background: var(--papel, #fff); box-shadow: inset 0 0 0 1.5px var(--gris, #7D8795); }

/* Las cifras del inventario (casos, informes, departamentos, procesos) van en
   una línea, sin aspecto de tarjeta KPI: el hallazgo de arriba es lo que manda. */
.dp-metricas {
  display: flex; flex-wrap: wrap; gap: 2px 18px; margin-bottom: 16px;
  border-top: 1.5px solid var(--tinta, #1B2638); padding-top: 8px;
}
.dp-metric {
  flex: 0 0 auto; display: flex; align-items: baseline; gap: 5px;
  background: none; border: none; border-radius: 0; padding: 0;
}
.dp-metric-num { font-size: 15px; font-weight: 700; color: var(--tinta, #1B2638); line-height: 1.3; }
.dp-metric-lab {
  text-transform: none; letter-spacing: 0; margin-top: 0;
  font-size: 13px; color: var(--tinta-2, #4A5567);
}

/* ── Datos del informe (parte variable de cada informe, contrato v2) ───────── */
.di-barra { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; }
.di-buscar {
  flex: 1; min-width: 0; font: inherit; font-size: 12px; padding: 5px 8px;
  border: 1px solid #dcdcd8; border-radius: 6px; background: #fff; color: #1a1a1a;
}
.di-buscar:focus { outline: none; border-color: #2563c9; }
.di-cuenta { font-size: 11px; color: #6b6b6b; white-space: nowrap; }
.di-grupo { border-top: 1px solid #ececea; }
.di-grupo[hidden], .di-fila[hidden] { display: none; }
.di-grupo > summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  cursor: pointer; padding: 7px 0; font-size: 12px; font-weight: 700; color: #1a1a1a;
  list-style: none;
}
.di-grupo > summary::-webkit-details-marker { display: none; }
.di-grupo > summary::before { content: "▸"; color: #6b6b6b; margin-right: 6px; font-weight: 400; }
.di-grupo[open] > summary::before { content: "▾"; }
.di-grupo-nom { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.di-grupo-n { font-size: 11px; font-weight: 500; color: #6b6b6b; }
.di-fila { padding: 6px 0 8px 14px; border-top: 1px dotted #ececea; }
.di-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.di-nombre { font-size: 12px; color: #444; line-height: 1.4; overflow-wrap: anywhere; }
.di-cab .det-pdf { flex: none; }
.di-valor { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-top: 2px; font-variant-numeric: tabular-nums; }
.di-txt { font-size: 12px; line-height: 1.45; color: #1a1a1a; margin-top: 2px; overflow-wrap: anywhere; }
.di-gris { color: var(--tinta-3, #5F6B7D); }
.di-recorte { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.di-recorte.di-abierto { display: block; }
.di-mas { display: inline-block; font-size: 11px; color: #2563c9; cursor: pointer; margin-top: 2px; }
.di-mas:hover { text-decoration: underline; }
.di-els { margin: 4px 0 0; padding-left: 16px; font-size: 11.5px; line-height: 1.45; color: #444; }
.di-el { margin-bottom: 2px; overflow-wrap: anywhere; }
.di-el-extra { display: none; }
.di-els-todos .di-el-extra { display: list-item; }

.di-sit { font-size: 12px; color: var(--muted, #666); margin-top: 2px; }

/* ── V2: ficha del caso. Información general y variables en el tiempo ───── */
.dk-sec { margin-bottom: 6px; }
.dk-sec > .dp-seccion-lab.dh-lab:first-child { margin-top: 4px; }
.dk-info {
  display: grid; grid-template-columns: minmax(90px, 40%) 1fr; gap: 5px 10px;
  margin: 0 0 12px; font-size: 12px; line-height: 1.4;
}
.dk-info dt { color: #6b6b6b; }
.dk-info dd {
  margin: 0; color: #1a1a1a; display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 3px 6px; min-width: 0; overflow-wrap: anywhere;
}
.dk-info-val { font-weight: 600; font-variant-numeric: tabular-nums; }

.vt-scroll {
  overflow-x: auto; max-width: 100%; margin-bottom: 6px;
  border: 0.5px solid #e6e8ec; border-radius: 8px;
}
.vt-tabla { border-collapse: separate; border-spacing: 0; font-size: 11px; min-width: 100%; }
.vt-tabla th, .vt-tabla td {
  padding: 5px 4px; text-align: center; white-space: nowrap;
  border-bottom: 0.5px solid #eef0f3; font-variant-numeric: tabular-nums;
}
.vt-tabla tbody tr:last-child th, .vt-tabla tbody tr:last-child td { border-bottom: none; }
.vt-tabla thead th { font-size: 10px; font-weight: 600; color: #6b6b6b; background: #f7f8fa; }
.vt-tabla th[scope="row"], .vt-esq {
  position: sticky; left: 0; z-index: 1; text-align: left; background: #fff;
  font-weight: 500; color: #1a1a1a; white-space: normal; min-width: 84px; max-width: 110px; padding-left: 7px;
  line-height: 1.25; border-right: 0.5px solid #eef0f3;
}
.vt-esq { background: #f7f8fa; z-index: 2; }
.vt-celda { cursor: pointer; color: #333; min-width: 34px; }
.vt-celda:hover { outline: 1.5px solid #2563c9; outline-offset: -2px; }
.vt-cambia { font-weight: 700; color: #1a1a1a; background: #eef3fc; }
.vt-revisar { outline: 1.5px dashed #b7791f; outline-offset: -3px; }
.vt-revisar:hover { outline-style: dashed; }
.vt-raya { display: inline-block; width: 10px; height: 2px; background: #c4c8ce; vertical-align: middle; border-radius: 1px; }
.vt-activa th[scope="row"] { font-weight: 700; box-shadow: inset 3px 0 0 #2563c9; background: #f5f8fe; }
.vt-activa td { background-color: #fafcff; }
.vt-activa td.vt-cambia { background: #e3ecfb; }
.vt-elegida {
  display: inline-block; margin-left: 5px; padding: 0 5px; white-space: normal; border-radius: 6px;
  font-size: 9.5px; font-weight: 600; color: #2563c9; background: #eef3fc; vertical-align: 1px;
}
.vt-tabla th[scope="row"] .vt-elegida { display: block; width: fit-content; margin: 2px 0 0; }
/* Institución que agrupa los papeles de «Responsables» en la ficha. */
.dk-q-inst { font-size: 11px; font-weight: 600; color: #6b6b6b; margin: 8px 0 0; }
.vt-ley { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 10.5px; color: #6b6b6b; margin: 2px 0 0; }
.vt-ley > span { display: inline-flex; align-items: center; gap: 5px; }
.vt-m {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 16px;
  font-size: 10px; border-radius: 3px; color: #333;
}
.vt-m-cambia { font-weight: 700; background: #eef3fc; color: #1a1a1a; }
.vt-m-revisar { outline: 1.5px dashed #b7791f; outline-offset: -2px; }

/* ── V2: detalle del hito. Variables en este informe ────────────────────── */
.vi-var {
  border: 0.5px solid #e6e8ec; border-radius: 8px; padding: 9px 11px; margin-bottom: 8px; background: #fff;
}
.vi-activa { border-left: 3px solid #2563c9; background: #fbfcff; }
.vi-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 4px; }
.vi-nombre { font-size: 12.5px; font-weight: 700; color: #1a1a1a; }
.vi-cambio {
  font-size: 9.5px; font-weight: 600; color: #1d3557; background: #eef3fc;
  padding: 0 5px; border-radius: 6px;
}
.vi-vals {
  display: grid; grid-template-columns: minmax(80px, 42%) 1fr; gap: 3px 10px;
  margin: 2px 0 6px; font-size: 11.5px;
}
.vi-vals dt { color: #6b6b6b; }
.vi-vals dd { margin: 0; font-weight: 600; color: #1a1a1a; overflow-wrap: anywhere; }
.vi-prosa { font-size: 12px; line-height: 1.5; color: #3a3a3a; margin-bottom: 6px; }
.vi-revisar {
  font-size: 11px; line-height: 1.45; color: #92400e; background: #fffbeb;
  border: 1px dashed #d9a441; border-radius: 6px; padding: 5px 8px; margin-bottom: 6px;
}
.vi-cita { margin: 6px 0 0; }
.vi-de { font-size: 10px; font-weight: 600; color: #6b6b6b; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.lit-frag { font-family: Georgia, "Times New Roman", serif; overflow-wrap: anywhere; }
.dh-cita-prosa { border-left-color: #d5d9df; background: #fafafa; }

/* La tabla no cabe: sombra en el borde que tiene más columnas y un aviso. */
.vt-desliza { font-size: 10.5px; color: #6b6b6b; margin: -2px 0 4px; }
.vt-marco { position: relative; margin-bottom: 6px; }
.vt-marco .vt-scroll { margin-bottom: 0; }
.vt-marco::after {
  content: ""; position: absolute; top: 1px; bottom: 1px; right: 1px; width: 16px; z-index: 3;
  pointer-events: none; opacity: 0; transition: opacity .15s;
  border-radius: 0 8px 8px 0; background: linear-gradient(to right, rgba(27, 38, 56, 0), rgba(27, 38, 56, .18));
}
.vt-marco.vt-mas-der::after { opacity: 1; }
.dh-cita-prosa .dh-cita-txt { font-family: inherit; font-style: normal; }

/* ── V4: casos parecidos en la ficha ────────────────────────────────────── */
.dpa-lista { list-style: none; margin: 0 0 4px; padding: 0; }
.dpa-fila {
  display: grid; grid-template-columns: 10px 1fr; gap: 1px 8px; align-items: baseline;
  width: 100%; text-align: left; font: inherit; font-size: 12px; color: #1a1a1a;
  background: none; border: 0; border-bottom: 0.5px solid #eef0f3; padding: 6px 4px; cursor: pointer;
}
.dpa-fila:hover, .dpa-fila:focus-visible { background: #f4f6f9; }
.dpa-punto { width: 9px; height: 9px; border-radius: 50%; align-self: center; }
.dpa-nombre { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.dpa-sit { grid-column: 2; font-size: 10.5px; color: #6b6b6b; line-height: 1.35; margin-top: 2px; }
.dpa-sit-lab { font-weight: 600; color: #4a4a4a; }

/* ── Situaciones del caso en la ficha (prueba simulada, 16 nov) ─────────── */
.dks { margin: -8px 0 16px; }
.dks-grupo-tit { font-size: 11px; font-weight: 600; color: #4a4a4a; margin: 8px 2px 4px; }
.dks-n { color: #6b6b6b; font-weight: 500; }
.dks-lista { list-style: none; margin: 0; padding: 0; }
.dks-it { border-bottom: 0.5px solid #eef0f3; padding: 6px 2px; }
.dks-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.dks-pill { font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 10px; color: var(--dks-c, #6b6b6b);
  background: color-mix(in srgb, var(--dks-c, #6b6b6b) 12%, white); }
.dks-pill-nofigura { --dks-c: #6b6b6b; font-style: italic; }
.dks-nota { font-size: 10.5px; color: #6b6b6b; }
.dks-cab .det-pdf { margin-left: auto; }
.dks .sit-texto { -webkit-line-clamp: 3; }

/* ── Comparar casos elegidos (prueba simulada, 16 nov) ──────────────────── */
.dcmp-sec:empty { display: none; }
.dcmp-scroll { overflow-x: auto; margin: 0 0 4px; }
.dcmp { border-collapse: collapse; font-size: 11.5px; width: 100%; }
.dcmp th, .dcmp td { border-bottom: 0.5px solid #eef0f3; padding: 4px 6px; text-align: left; vertical-align: top; }
.dcmp tbody th { font-weight: 500; color: #6b6b6b; white-space: nowrap; }
.dcmp td { font-variant-numeric: tabular-nums; color: #1a1a1a; }
.dcmp-caso { font: inherit; font-weight: 600; color: #1a1a1a; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.dcmp-caso:hover, .dcmp-caso:focus-visible { text-decoration: underline; }
.dcmp-abierto { color: #2563c9; }
.dcmp-aviso { font-size: 11.5px; color: #6b6b6b; margin: 0 0 12px; }

/* ── Rediseño del 17 nov: resumen fijo y bloques plegables ───────────────── */
.fx-resumen {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin: 8px 0 12px; padding: 8px 10px;
  background: #F6F8FA; border-radius: 4px;
}
.fx-cifras { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--tinta, #1B2638); }
.fx-cifra { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.fx-cifra b { font-weight: 700; font-variant-numeric: tabular-nums; }
.fx-pto { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.fx-pto-rojo  { background: var(--rojo, #8C2B22); }
.fx-pto-ambar { background: var(--ambar, #A06C0A); }
.fx-pto-verde { background: var(--verde, #1F7A66); }
.fx-pto-gris  { background: #fff; box-shadow: inset 0 0 0 1.5px var(--gris, #7D8795); }

details.fx { border-top: 1px solid var(--regla, #C9D0D9); }
details.fx:last-of-type { border-bottom: 1px solid var(--regla, #C9D0D9); }
.fx-cab {
  list-style: none; cursor: pointer; padding: 9px 2px 8px 20px; position: relative;
  display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-items: baseline;
}
.fx-cab::-webkit-details-marker { display: none; }
.fx-cab::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  border: 5px solid transparent; border-left-color: var(--tinta-3, #5F6B7D);
  transition: transform .12s ease-out; transform-origin: 2px 5px;
}
details.fx[open] > .fx-cab::before { transform: rotate(90deg); }
.fx-cab:hover .fx-tit { text-decoration: underline; text-underline-offset: 2px; }
.fx-cab:focus-visible { outline: 2px solid #2563c9; outline-offset: -2px; }
.fx-tit { font-size: 13.5px; font-weight: 650; color: var(--tinta, #1B2638); }
.fx-n {
  font-size: 11.5px; font-variant-numeric: tabular-nums; color: var(--tinta-2, #4A5567);
  background: #EEF1F4; border-radius: 9px; padding: 1px 7px;
}
.fx-pista { grid-column: 1 / -1; font-size: 11.5px; color: var(--tinta-3, #5F6B7D); margin-top: 1px; }
details.fx[open] > .fx-cab .fx-pista { display: none; }
.fx-cuerpo { padding: 0 2px 12px; }
.fx-dice { margin: 4px 0 12px; }
@media (prefers-reduced-motion: reduce) { .fx-cab::before { transition: none; } }

/* Comparar: caja propia, filas iguales en gris y el mayor resaltado. */
.dcmp-caja { margin: 0 0 12px; padding: 8px 10px 6px; border: 1px solid var(--regla, #C9D0D9); border-radius: 4px; }
.dcmp-tit { font-size: 13px; font-weight: 650; color: var(--tinta, #1B2638); margin-bottom: 4px; }
.dcmp-caso { display: inline-flex; align-items: center; gap: 5px; }
.dcmp tr.dcmp-igual th, .dcmp tr.dcmp-igual td { color: #9AA3AF; }
.dcmp td.dcmp-max { font-weight: 700; color: var(--tinta, #1B2638); }
.dcmp tbody th .fx-pto { margin-right: 5px; vertical-align: 1px; }
.dcmp-nota { font-size: 11px; color: var(--tinta-3, #5F6B7D); margin-top: 4px; }

/* Casos parecidos: rango, cuánto se parecen y textos acotados. */
.dpa-lista > li + li { border-top: 1px solid #EEF1F4; }
.dpa-rango { color: var(--tinta-3, #5F6B7D); font-weight: 600; margin-right: 2px; }
.dpa-par { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--tinta-2, #4A5567); margin: 2px 0 1px; }
.dpa-barra { width: 64px; height: 5px; background: #E6EAEF; border-radius: 3px; overflow: hidden; display: inline-block; }
.dpa-barra i { display: block; height: 100%; background: var(--tinta-2, #4A5567); }
.dpa-sit { font-size: 11.5px; line-height: 1.4; color: #4a4a4a; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dcmp-pista { font-size: 11.5px; color: var(--tinta-3, #5F6B7D); margin: 0 0 10px; }
.dks-plegado > summary { cursor: pointer; list-style: none; } .dks-plegado > summary::-webkit-details-marker { display:none; } .dks-ver { font-weight: 400; color: #2563c9; font-size: 11.5px; margin-left: 4px; } .dks-plegado[open] .dks-ver { display: none; }

/* Lo que más se repite (views/detail/repetidas.js). Barra fina con extremos
   redondeados: el largo cuenta casos y el tramo rojo los que siguen vigentes. */
.rep-caja { margin: 4px 0 14px; padding: 10px 10px 8px; border: 1px solid var(--regla, #C9D0D9); border-radius: 4px; }
.rep-tit { font-size: 13.5px; font-weight: 650; color: var(--tinta, #1B2638); }
.rep-sub, .rep-nota, .rep-vacio { font-size: 11.5px; color: var(--tinta-3, #5F6B7D); margin: 2px 0 8px; line-height: 1.4; }
.rep-nota { margin: 6px 0 0; }
.rep-lista { list-style: none; margin: 0; padding: 0; }
.rep-fila { display: grid; grid-template-columns: 1fr; gap: 3px; width: 100%; text-align: left; font: inherit;
  background: none; border: 0; border-radius: 4px; padding: 6px 6px; cursor: pointer; color: var(--tinta, #1B2638); }
.rep-fila:hover { background: #F3F5F8; }
.rep-fila:focus-visible { outline: 2px solid #2563c9; outline-offset: 1px; }
.rep-elegido { background: #EAF1FC; box-shadow: inset 3px 0 0 #2563c9; }
.rep-nombre { font-size: 12px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rep-tema { font-size: 10.5px; font-weight: 600; color: var(--tinta-3, #5F6B7D); text-transform: uppercase; letter-spacing: .03em; }
.rep-barra { display: block; height: 8px; background: #EEF0F3; border-radius: 4px; overflow: hidden; }
.rep-total { display: block; height: 100%; background: #B8C0CC; border-radius: 4px; overflow: hidden; }
.rep-vig { display: block; height: 100%; background: var(--rojo, #8C2B22); }
.rep-cifra { font-size: 11.5px; color: var(--tinta-3, #5F6B7D); font-variant-numeric: tabular-nums; }
.rep-cifra b { color: var(--tinta, #1B2638); }
.rep-cifra-vig { color: var(--rojo, #8C2B22); }
.rep-mas > summary { font-size: 12px; color: #2563c9; cursor: pointer; padding: 4px 6px; }

/* Información general: un dato que cambia entre informes, con el valor de cada uno. */
.dk-info-cambia { display: inline-block; font-size: 11px; font-weight: 600; color: var(--tinta, #1B2638);
  border: 1px dashed var(--tinta-3, #5F6B7D); border-radius: 3px; padding: 0 5px; margin-bottom: 2px; }
.dk-info-hito { display: flex; align-items: baseline; gap: 6px; }
.dk-info-h { font-size: 11px; font-weight: 600; color: var(--tinta-3, #5F6B7D); min-width: 22px; }
/* Comparar: los nombres de fila y las cifras por hito se parten en líneas para
   que quepan las columnas de los casos sin desplazar. */
.dcmp tbody th { white-space: normal; min-width: 92px; }
.dcmp td { white-space: normal; }

/* Por ODPE, en el panel general. */
.sede-caja { margin: 4px 0 14px; padding: 10px 10px 8px; border: 1px solid var(--regla, #C9D0D9); border-radius: 4px; }
.sede-tabla { border-collapse: collapse; width: 100%; font-size: 12px; margin-top: 4px; }
.sede-tabla th, .sede-tabla td { border-bottom: 0.5px solid #eef0f3; padding: 4px 6px; text-align: left; }
.sede-tabla th { font-weight: 500; color: var(--tinta-3, #5F6B7D); }
.sede-tabla .num { text-align: right; font-variant-numeric: tabular-nums; }
.sede-btn { font: inherit; font-weight: 600; color: #2563c9; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.sede-btn:hover, .sede-btn:focus-visible { text-decoration: underline; }

/* ── Qué revisó cada informe: grupos de cada informe alineados por hito ──── */
.qr-ayuda, .qr-nota { font-size: 11.5px; color: var(--tinta-3, #5F6B7D); line-height: 1.4; margin: 2px 0 8px; }
.qr-nota { margin: 6px 0 0; }
.qr-scroll { overflow-x: visible; max-width: 100%; border: 0.5px solid var(--regla, #C9D0D9); border-radius: 8px; }
.qr-scroll.qr-ancha { overflow-x: auto; }
.qr-tabla { border-collapse: separate; border-spacing: 0; width: 100%; table-layout: fixed; font-size: 11px; }
.qr-ancha .qr-tabla { width: max-content; min-width: 100%; }
.qr-tabla th, .qr-tabla td { padding: 4px; vertical-align: top; border-bottom: 0.5px solid var(--regla, #C9D0D9); border-right: 0.5px solid var(--regla, #C9D0D9); }
.qr-tabla tr > :last-child { border-right: none; }
.qr-tabla tbody tr:last-child > * { border-bottom: none; }
.qr-tabla thead th { font-size: 10px; font-weight: 600; color: var(--tinta-3, #5F6B7D); background: var(--plancha, #F3F5F8); text-align: center; }
.qr-tabla thead th.qr-esq { text-align: left; padding-left: 7px; }
.qr-tabla th[scope="row"] {
  text-align: left; font-weight: 600; color: var(--tinta, #1B2638); background: var(--papel, #fff);
  line-height: 1.25; padding-left: 7px; overflow-wrap: break-word; hyphens: auto;
}
.qr-tabla th[scope="row"], .qr-esq { width: 108px; }
.qr-ancha .qr-tabla th[scope="row"], .qr-ancha .qr-esq { position: sticky; left: 0; z-index: 1; }
.qr-ancha .qr-tabla td { width: 96px; }
.qr-celda { padding: 0; }
.qr-btn {
  display: block; width: 100%; height: 100%; text-align: left; cursor: pointer;
  font: inherit; font-size: 11px; line-height: 1.25; color: var(--tinta, #1B2638);
  background: transparent; border: 0; padding: 4px; overflow-wrap: anywhere;
}
.qr-btn:hover { background: var(--plancha, #F3F5F8); outline: 1.5px solid var(--cobalto, #285A97); outline-offset: -2px; }
.qr-btn:focus-visible { outline: 2px solid var(--cobalto, #285A97); outline-offset: -2px; }
.qr-nom { display: block; color: var(--tinta-2, #4A5567); }
.qr-nom.qr-dist { color: var(--tinta, #1B2638); font-weight: 600; }
.qr-n { display: block; margin-top: 2px; font-size: 10px; color: var(--tinta-3, #5F6B7D); font-variant-numeric: tabular-nums; }
.qr-vacia { background: var(--plancha, #F3F5F8); text-align: center; vertical-align: middle !important; }
.qr-raya { display: inline-block; width: 10px; height: 2px; background: var(--regla, #C9D0D9); border-radius: 1px; vertical-align: middle; }
.di-grupo-elegido > summary { background: color-mix(in srgb, var(--cobalto, #285A97) 12%, transparent); }
