/* Family graph and form strip. Loaded after the legacy public-v2 rules. */
.v2-page .v2-tree.v2-tree {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 0 20px;
}
.v2-page .v2-tree-origin {
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: center;
  min-width: 185px;
  padding: 8px 16px 8px 0;
  background: transparent;
  border: 0;
  position: relative;
}
.v2-page .v2-tree-origin-label,
.v2-page .v2-tree-origin strong {
  display: block;
}
.v2-page .v2-tree-origin::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 18px;
  border-top: 1px solid var(--border-strong);
}
.v2-page .v2-tree-children,
.v2-page .v2-children {
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: center;
  margin: 0 0 0 18px;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--border-strong);
}
.v2-page .v2-tree > .v2-tree-children {
  display: flex;
  border-left: 1px solid var(--border-strong);
}
.v2-page .v2-branch {
  display: flex;
  align-items: center;
  min-width: 0;
  position: relative;
}
.v2-page .v2-branch > summary,
.v2-page .v2-node {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 2px;
  flex: none;
  width: 220px;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding: 5px 7px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  white-space: normal;
  font-size: 14px;
  line-height: 1.3;
}
.v2-page .v2-tree .v2-node:hover,
.v2-page .v2-tree .v2-branch > summary:hover,
.v2-page .v2-tree .v2-branch > summary:focus-visible {
  background: var(--muted);
}
.v2-page .v2-tree .v2-branch > summary:focus-visible {
  outline: 2px solid var(--foreground);
}
.v2-page .v2-tree-name {
  color: var(--muted-foreground);
  margin-right: 6px;
}
.v2-page .v2-tree-name.v2-tree-winner {
  color: var(--foreground);
  font-weight: 700;
}
.v2-page .v2-tree-record {
  color: var(--muted-foreground);
  font-size: 12px;
  margin-right: 6px;
}
.v2-page .v2-tree-badge + .v2-tree-badge {
  margin-left: 6px;
}
.v2-page .v2-tree .v2-branch > summary::before {
  margin-right: 6px;
}
.v2-page .v2-tree .v2-tree-more {
  margin-left: 6px;
}
.v2-page .v2-ribbon > .v2-gap {
  width: 1px;
  min-width: 1px;
  height: 23px;
  margin: 4px 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--border-strong);
}
.v2-page .v2-family-facts > div {
  flex-wrap: wrap;
}
.v2-page .v2-family-facts dt {
  white-space: nowrap;
}
@media (max-width: 759px) {
  .v2-page .v2-tree.v2-tree {
    display: block;
    overflow-x: auto;
  }
  .v2-page .v2-tree-origin {
    width: auto;
    min-width: 0;
    border: 0;
    padding: 5px 0 12px;
  }
  .v2-page .v2-tree-origin::after {
    display: none;
  }
  .v2-page .v2-tree-children,
  .v2-page .v2-children,
  .v2-page .v2-tree > .v2-tree-children {
    display: block;
    width: auto;
    min-width: 0;
    margin-left: 8px;
    padding-left: 12px;
  }
  .v2-page .v2-branch {
    display: block;
  }
  .v2-page .v2-branch > summary,
  .v2-page .v2-node {
    width: auto;
    font-size: 14px;
  }
}