/* Reported historical pedigree: preserve visible ancestry threads at deep generations.
   Scope narrowly: no changes to registry data, accepted-pedigree tree, or test mating. */
@media screen {
 :root[data-pitvu-theme] .profile-pedigree.pedigree-compact:not(.atlas-reading) .tree-node[data-density-generation]{
   overflow-wrap:normal;
   word-break:normal;
   border-radius:7px;
   padding:8px 10px;
 }
 :root[data-pitvu-theme] .profile-pedigree.pedigree-compact:not(.atlas-reading) .tree-node[data-density-generation].is-density-remote {
   min-height:var(--pedigree-node-height)!important;
   padding:6px 9px!important;
   align-content:center;
   grid-template-columns:minmax(0,1fr) 25px 25px;
   column-gap:5px;
 }
 :root[data-pitvu-theme] .profile-pedigree.pedigree-compact:not(.atlas-reading) .tree-node.is-density-remote > :is(.pedigree-node-name,strong) {
   display:-webkit-box!important;
   -webkit-box-orient:vertical;
   -webkit-line-clamp:2;
   grid-column:1!important;
   grid-row:1;
   max-height:2.65em!important;
   min-height:0!important;
   white-space:normal!important;
   overflow:hidden!important;
   overflow-wrap:break-word!important;
   word-break:normal!important;
   text-overflow:clip!important;
   font-size:12.5px!important;
   line-height:1.28!important;
   font-weight:620;
   align-content:initial;
 }
 :root[data-pitvu-theme] .profile-pedigree.pedigree-compact:not(.atlas-reading) .tree-node.is-density-remote > .pedigree-repeat-cue {
   font-size:11px;
 }
 :root[data-pitvu-theme] .profile-pedigree.pedigree-compact:not(.atlas-reading) .atlas-connections path {
   stroke-width:1.65px;
   stroke-linecap:round;
   stroke-linejoin:round;
   opacity:.92;
 }
 :root[data-pitvu-theme] .profile-pedigree.pedigree-compact:not(.atlas-reading) .atlas-connections path.is-highlight {
   stroke-width:2.8px;
   opacity:1;
 }
 :root[data-pitvu-theme] .profile-pedigree.pedigree-compact.atlas-ready:not(.atlas-reading) .atlas-viewport {
   height:clamp(480px,73vh,830px);
 }
}
@media screen and (max-width:700px) {
 :root[data-pitvu-theme] .profile-pedigree.pedigree-compact.atlas-ready:not(.atlas-reading) .atlas-viewport {height:580px}
}
