.family-tree,.family-tree-portal{font-family:var(--font-sans);font-synthesis:none;direction:rtl}body:has(.family-tree){overflow:hidden}:where(.family-tree,.family-tree-portal) :is(button),:is(button):where(.family-tree-portal),:where(.family-tree,.family-tree-portal) [role=button],[role=button]:where(.family-tree-portal){cursor:pointer}:where(.family-tree,.family-tree-portal) :is(button:disabled),:is(button:disabled):where(.family-tree-portal){cursor:default}:where(.family-tree,.family-tree-portal) :is(button:focus-visible),:is(button:focus-visible):where(.family-tree-portal),:where(.family-tree,.family-tree-portal) [role=button]:focus-visible,[role=button]:focus-visible:where(.family-tree-portal){outline:2px solid var(--ring);outline-offset:3px}:where(.family-tree) [role=button]:focus:not(:focus-visible){outline:none}:where(.family-tree,.family-tree-portal) :is(svg),:is(svg):where(.family-tree-portal){flex-shrink:0}:where(.family-tree,.family-tree-portal) :is(button[data-slot=button]),:is(button[data-slot=button]):where(.family-tree-portal){min-height:40px;font-size:14px}:where(.family-tree,.family-tree-portal) :is(button[data-size=icon],button[aria-label]),:is(button[data-size=icon],button[aria-label]):where(.family-tree-portal){min-width:40px}:where(.family-tree,.family-tree-portal) :is(button[data-slot=button]:disabled),:is(button[data-slot=button]:disabled):where(.family-tree-portal){opacity:.35}@media (width<=699px),(height<=500px){:where(.family-tree,.family-tree-portal) :is(button[data-slot=button]),:is(button[data-slot=button]):where(.family-tree-portal){min-width:44px;min-height:44px}}@media (prefers-reduced-motion:reduce){:where(.family-tree,.family-tree-portal) :is(*),:is(*):where(.family-tree-portal){scroll-behavior:auto!important;transition:none!important;animation:none!important}}:where(.family-tree) .edge{fill:none;stroke:var(--tree-edge);stroke-width:.65px;pointer-events:none}:where(.family-tree) .ancestry-edge{stroke:var(--tree-lineage);stroke-width:1.6px}:where(.family-tree) .relationship-edge{stroke:var(--relationship);stroke-width:2.2px}:where(.family-tree) .tree-edges path{stroke-linejoin:round;stroke-linecap:round}:where(.family-tree) .maternal-edge{stroke-dasharray:7 5}:where(.family-tree) .marriage-edge{stroke:var(--tree-edge);stroke-width:1px}:where(.family-tree) .marriage-edge:where(.related){stroke:var(--relationship);stroke-width:1.2px}:where(.family-tree) .same-person-edge{stroke:var(--tree-daughter-border);stroke-width:1.4px;stroke-dasharray:2 4;stroke-linecap:round}:where(.family-tree) .same-person-label{fill:var(--daughters-foreground)}:where(.family-tree) .maternal-edge-label{fill:var(--relationship-foreground);paint-order:stroke;stroke:var(--background);stroke-width:4px;pointer-events:none;font-size:12px;font-weight:700}:where(.family-tree) .person-node{--person-fill:var(--card);--person-stroke:var(--tree-node-border);--person-text:var(--foreground);--person-label:var(--tree-branch-label);--person-stroke-width:.75;--person-font-weight:500;cursor:pointer;outline:none}:where(.family-tree) .person-node:where(.daughter-node){--person-fill:var(--tree-daughter-fill);--person-stroke:var(--tree-daughter-border)}:where(.family-tree) .person-node:where(.in-lineage){--person-fill:var(--tree-lineage-fill);--person-stroke:var(--tree-lineage)}:where(.family-tree) .person-node:where([data-landmark]){--person-fill:var(--tree-branch-fill);--person-stroke:var(--tree-branch-border)}:where(.family-tree) .person-node:where(.in-relationship){--person-fill:var(--relationship-fill);--person-stroke:var(--relationship-border);--person-text:var(--relationship-foreground);--person-label:var(--relationship-foreground);--person-stroke-width:1.7}:where(.family-tree .kin-tree) .person-node:where(.daughter-node){--person-fill:var(--tree-daughter-fill);--person-stroke:var(--tree-daughter-border);--person-text:var(--foreground);--person-label:var(--daughters-foreground)}:where(.family-tree) .person-node:where(.endpoint){--person-fill:var(--secondary);--person-stroke:var(--primary);--person-text:var(--primary);--person-label:var(--primary);--person-stroke-width:2}:where(.family-tree) .person-node:where(.pin-b){--person-fill:var(--relationship-fill);--person-stroke:var(--relationship);--person-text:var(--relationship-foreground);--person-label:var(--relationship-foreground)}:where(.family-tree) .person-node:where(.selected){--person-fill:var(--tree-selected-fill);--person-stroke:var(--tree-selected-border);--person-text:var(--tree-selected-foreground);--person-label:var(--tree-selected-label);--person-stroke-width:2;--person-font-weight:600}:where(.family-tree) .person-node .person-card{fill:var(--person-fill);stroke:var(--person-stroke);stroke-width:var(--person-stroke-width)}:where(.family-tree) .person-node text{font-family:var(--font-sans);fill:var(--foreground);pointer-events:none;font-weight:500}:where(.family-tree) .person-node :is(.person-name,.landmark-label){fill:var(--person-text);font-weight:var(--person-font-weight)}:where(.family-tree) .person-node .landmark-label{fill:var(--person-label)}:where(.family-tree) .person-node:where(:hover,:focus-within) .person-card{stroke-width:2px}:where(.family-tree) .wife-locate{cursor:pointer;outline:none}:where(.family-tree) .wife-locate rect{fill:var(--secondary);stroke:var(--tree-daughter-border);stroke-width:1px}:where(.family-tree) .wife-locate path{fill:none;stroke:var(--daughters-foreground);stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}:where(.family-tree) .wife-locate:is(:hover,:focus-visible) rect{stroke:var(--daughters-foreground);stroke-width:1.5px}:where(.family-tree) .person-node .me-tag rect{fill:var(--primary);stroke:var(--card);stroke-width:1.5px}:where(.family-tree) .person-node .me-tag text{fill:var(--primary-foreground);font-weight:700}.family-tree .branch-reveal{pointer-events:none;animation:1.2s ease-out both branch-reveal-fade}.family-tree .branch-reveal-card{fill:var(--tree-reveal);fill-opacity:.22;stroke:none}.family-tree .person-node:is(.selected,.in-relationship,.endpoint) .branch-reveal-card{display:none}.family-tree .branch-reveal-edge{fill:none;stroke:var(--tree-reveal);stroke-width:1.25px}@keyframes branch-reveal-fade{0%{opacity:0}12.5%,25%{opacity:1}to{opacity:0}}:where(.family-tree) .person-node .branch-toggle{cursor:pointer;outline:none}:where(.family-tree) .person-node .branch-toggle rect{fill:var(--card);stroke:var(--tree-node-border);stroke-width:1px}:where(.family-tree) .person-node .branch-toggle path{fill:none;stroke:var(--primary);stroke-width:1.6px;pointer-events:none}:where(.family-tree) .person-node .branch-toggle text{fill:var(--primary);pointer-events:none;font-family:system-ui,sans-serif;font-weight:500}:where(.family-tree) .person-node .branch-toggle.collapsed rect{fill:var(--secondary);stroke:var(--tree-branch-border)}:where(.family-tree) .person-node .branch-toggle:is(:hover,:focus-visible) rect{fill:var(--accent);stroke:var(--primary);stroke-width:1.5px}:where(.family-tree) .person-node .branch-toggle.protected{opacity:.4;cursor:not-allowed}.family-tree .person-node .branch-toggle rect.branch-toggle-hit-area{fill:#0000;stroke:none;pointer-events:all;display:none}@media (width<=699px),(pointer:coarse){.family-tree .person-node .branch-toggle rect.branch-toggle-hit-area{display:block}}:where(.family-tree) .daughters-box rect{fill:var(--daughters-fill);stroke:var(--daughters-border);stroke-width:.75px}:where(.family-tree) .daughters-box text{fill:var(--daughters-foreground);font-weight:600}:where(.family-tree) .sons-box rect{fill:var(--card);stroke:var(--border);stroke-width:.75px}:where(.family-tree) .sons-box text{fill:var(--foreground);font-weight:600}:where(.family-tree) .noble-link{fill:none;stroke:var(--tree-noble);stroke-width:.65px;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}:where(.family-tree) .noble-link:where(.in-line){stroke-width:1.2px}:where(.family-tree) .noble-node{--noble-fill:var(--tree-noble-fill);--noble-stroke:var(--tree-noble);--noble-text:var(--tree-noble-foreground);--noble-font-weight:500;cursor:pointer;outline:none}:where(.family-tree) .noble-node:where(.noble-sayyid){--noble-fill:var(--card);--noble-stroke:var(--tree-noble-border);--noble-text:var(--foreground)}:where(.family-tree) .noble-node:where(.noble-prophet,.noble-entry){--noble-fill:var(--tree-noble-strong);--noble-text:var(--tree-noble-strong-foreground);--noble-font-weight:600}:where(.family-tree) .noble-node rect{fill:var(--noble-fill);stroke:var(--noble-stroke);stroke-width:.75px}:where(.family-tree) .noble-node:where(:hover,:focus-visible) rect{stroke:var(--tree-noble);stroke-width:2px}:where(.family-tree) .noble-node text{fill:var(--noble-text);font-family:var(--font-sans);font-weight:var(--noble-font-weight);pointer-events:none}
