/* AmbonManise v41.5 — Clear family rows & branch routing */
body:not(.cms21) .family-v35.fam313-graph{height:760px}

/* Parent/child lines are grouped per family unit, so Rio's children, Relly's children, etc. stay visually separate. */
.family-v35 .fam415-family-edge{
  stroke:#86a6b1!important;
  stroke-width:2.8!important;
  opacity:.96;
  vector-effect:non-scaling-stroke;
}
.family-v35 .fam415-family-edge.focused{
  stroke:#e2622f!important;
  stroke-width:3.8!important;
}
.family-v35 .fam415-family-edge.path-active{
  stroke:#0f8792!important;
  stroke-width:4.4!important;
}
.family-v35 .fam415-family-junction{
  fill:#fff;
  stroke:#789da8;
  stroke-width:2.6;
  vector-effect:non-scaling-stroke;
  pointer-events:none;
}
.family-v35 .fam415-family-junction.focused{
  fill:#fff8f4;
  stroke:#e2622f;
  stroke-width:3.2;
}
.family-v35 .fam415-family-junction.path-active{
  fill:#effcfd;
  stroke:#0f8792;
  stroke-width:3.5;
}

/* Give every generation more breathing room on screen. */
.family-v35 .fam313-lane{opacity:.72}
.family-v35[data-layout="network"] .fam313-lane,
.family-v35[data-layout="tree"] .fam313-lane{border-top-color:#cfdee3}

/* Fullscreen keeps the same generous spacing and uses all available height. */
.family-v35:fullscreen{height:100vh!important;min-height:100vh!important;background:#eef7f8}
.family-v35:fullscreen .fam313-canvas{
  inset:0!important;
  height:100vh!important;
  min-height:0!important;
}

@media(max-width:900px){
  body:not(.cms21) .family-v35.fam313-graph{height:700px}
}
@media(max-width:600px){
  body:not(.cms21) .family-v35.fam313-graph{height:640px}
  .family-v35 .fam415-family-edge{stroke-width:2.5!important}
}
