/* Proposed fixed dimensions; tree layout anchors must adopt this height when integrated. */
.tree-person-card { height: 430px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.tree-person-card .tree-portrait {
  height: 238px;
  flex: 0 0 238px;
  min-height: 238px;
  max-height: 238px;
}
.tree-person-card .tree-person-details {
  flex: 0 0 auto;
  min-height: auto;
  padding: 10px 8px 11px;
}
.tree-person-details > * { flex-shrink: 0; }
.tree-person-card .tree-person-surname {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 22.6px;
  padding-bottom: 1px;
  white-space: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tree-person-card .tree-person-given {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tree-person-card .tree-person-maiden {
  font-size: 11px;
  line-height: 1.35;
  margin-top: 4px;
}
.tree-person-card .tree-person-dates {
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
}
.tree-person-card .tree-person-age {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 5px;
}
.tree-person-card .tree-person-age-type {
  display: none;
}
.tree-person-card:hover,
:is(.chart .node:hover, .mobile-node:hover) .tree-person-card {
  outline: 2px solid #1765ef;
  outline-offset: -2px;
  box-shadow: 0 6px 18px #263b5524;
}
.tree-person-card.female:hover,
:is(.chart .node.female:hover, .mobile-node.female:hover) .tree-person-card {
  outline-color: #e14762;
}
@media(prefers-reduced-motion:reduce) { .tree-person-card { transition: none; } }

.mobile-card-world .mobile-node{height:430px}.layout-drag-ghost{height:430px}.chart .person-foreign{height:430px}
