/* LaMariDiarios v2.10.48 · árbol editorial: claridad sin saturación visual.
   Nuevos nombres de recursos para invalidar cachés del navegador y del servidor.
   Reglas de presentación únicamente: no se modifican datos de ascendencia. */

/* Las rutas principales mantienen su significado sin dominar las tarjetas. */
.kd-lineage-explorer .kd-lineage-explorer-svg path{
  fill:none!important;
  vector-effect:non-scaling-stroke!important;
  stroke-linejoin:round!important;
  stroke-linecap:round!important;
}
.kd-lineage-explorer .kd-lineage-explorer-svg path.certainty-documented{
  stroke:#287b4a!important;stroke-width:3px!important;stroke-dasharray:none!important;
}
.kd-lineage-explorer .kd-lineage-explorer-svg path.certainty-disputed{
  stroke:#b58b49!important;stroke-width:2.6px!important;stroke-dasharray:10 7!important;
}
.kd-lineage-explorer .kd-lineage-explorer-svg path.certainty-unknown{
  stroke:#a8b7ae!important;stroke-width:2px!important;stroke-dasharray:2 8!important;
}

/* Leyenda compacta: trazos equivalentes al árbol, sin bloques de color fuertes. */
.kd-lineage-explorer .kd-lineage-explorer-legend{gap:8px;align-items:center}
.kd-lineage-explorer .kd-lineage-explorer-legend > span{
  padding:8px 11px!important;
  font-size:10px!important;
  font-weight:750!important;
  line-height:1.3;
  box-shadow:none!important;
}
.kd-lineage-explorer .kd-lineage-explorer-legend .is-solid{
  background:#f2f8f4!important;border:1px solid #dce9df!important;color:#2b6742!important;
}
.kd-lineage-explorer .kd-lineage-explorer-legend .is-solid i{
  border-top:3px solid #287b4a!important;
}
.kd-lineage-explorer .kd-lineage-explorer-legend .is-dashed{
  background:#fcf8ef!important;border:1px solid #eee3cd!important;color:#846630!important;
}
.kd-lineage-explorer .kd-lineage-explorer-legend .is-dashed i{
  border-top:3px dashed #b58b49!important;
}
.kd-lineage-explorer .kd-lineage-explorer-legend .is-muted{
  background:#f5f7f6!important;border:1px solid #e3e9e5!important;color:#64736b!important;
}
.kd-lineage-explorer .kd-lineage-explorer-legend .is-muted i{
  border-top:3px dotted #a8b7ae!important;
}
.kd-lineage-explorer .kd-lineage-explorer-legend i{
  width:27px!important;min-width:27px!important;flex:0 0 27px!important;height:0!important;
  display:inline-block!important;
}

/* Tarjetas discretas, pero con una jerarquía clara y accesibilidad al foco. */
.kd-lineage-explorer .kd-lineage-explorer-node{
  background:#fafbfa!important;
  border:1px solid #e9eee9!important;
  box-shadow:0 2px 7px rgba(25,58,35,.035)!important;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease!important;
}
.kd-lineage-explorer .kd-lineage-explorer-node.kind-root{
  background:#eff7f1!important;
  border:1px solid #c8dfcf!important;
  box-shadow:0 3px 12px rgba(25,92,51,.075)!important;
}
.kd-lineage-explorer .kd-lineage-explorer-node.kind-root .kd-lineage-explorer-node-copy strong{
  color:#205837!important;-webkit-text-fill-color:#205837!important;font-weight:850!important;
}
.kd-lineage-explorer .kd-lineage-explorer-node.kind-semantic{
  background:#f4f7f4!important;
  border:1px solid #d7e2d9!important;
}
.kd-lineage-explorer .kd-lineage-explorer-node.direction-outgoing{
  border-style:dashed!important;
}
.kd-lineage-explorer a.kd-lineage-explorer-node:hover{
  background:#f1f6f1!important;
  border-color:#bed9c6!important;
  box-shadow:0 6px 16px rgba(35,73,46,.09)!important;
}
.kd-lineage-explorer a.kd-lineage-explorer-node:focus-visible{
  outline:3px solid #247e49!important;
  outline-offset:3px!important;
}
@media(prefers-reduced-motion:reduce){
  .kd-lineage-explorer .kd-lineage-explorer-node{transition:none!important}
}
