.tree-navigation{border:1px solid var(--line);background:#fff;border-top:0;justify-content:space-between;align-items:center;gap:16px;padding:12px 18px;display:flex}.tree-navigation p{color:#52645a;margin:0;font-size:13px;line-height:1.6}.tree-navigation p span{color:var(--muted);font-size:12px;display:block}.tree-navigation>div{flex-shrink:0;gap:8px;display:flex}.tree-navigation .btn{min-height:40px;padding:8px 11px;font-size:13px}.tree-viewport{cursor:grab}.tree-viewport.panning{cursor:grabbing;user-select:none}.tree-navigation:not([hidden])+.tree-viewport{height:760px}.ancestor-tree .tree-person{border-radius:7px;width:184px;height:116px;padding:10px 12px;box-shadow:0 3px 10px #1734290d}.ancestor-tree .tree-person strong{font-size:16px;line-height:1.3}.ancestor-tree .tree-surname{margin-top:3px;font-size:14px;line-height:1.3}.ancestor-tree .tree-life{margin-top:auto;font-size:12px}.ancestor-tree .tree-node-caption,.ancestor-tree .node-status{display:none}.ancestor-tree .moronatti-person{box-shadow:0 0 0 2px #a68b5360,0 3px 10px #1734290d}.ancestor-tree .tree-person:hover,.ancestor-tree .tree-person:focus-visible{z-index:2;box-shadow:0 0 0 4px #a68b5390,0 5px 20px #17342922}.ancestor-tree .tree-edge{stroke-width:2.5px}.ancestor-tree .moronatti-edge{stroke-width:4px}.generation-label{letter-spacing:1.3px;fill:#617367;font-family:inherit;font-size:13px}.legend .tree-route-key i{background:0 0;border:2px solid #ad925e;border-radius:2px;width:12px;height:10px}.tree-edge.pendiente{stroke:#777;stroke-dasharray:2 5;stroke-linecap:round}.tree-edge-label{fill:#3d6855;stroke:#f7f9f7;stroke-width:4px;paint-order:stroke;stroke-linejoin:round;font-size:11px}.tree-edge-label.familiar{fill:#626e88}.tree-edge-label.probable{fill:#926824}.tree-edge-label.pendiente{fill:#666}.legend .pending i{background:#777}.tree-person.pendiente{border-top-color:#777}.tree-person.pendiente .node-status{color:#666}.dialog-family{margin-top:20px}.dialog-family h3{margin:0;font-size:12px}.dialog-family p{margin:10px 0 0;font-size:13px}.dialog-family a{align-items:flex-start}.dialog-family a span.badge{color:#3d6855;white-space:normal;flex-shrink:0}.dialog-family a span.badge.familiar{color:#626e88}.dialog-family a span.badge.probable{color:#926824}.dialog-family a span.badge.pendiente{color:#666}@media (width<=700px){.tree-navigation{flex-direction:column;align-items:flex-start;gap:9px;padding:12px}.tree-navigation>div{width:100%}.tree-navigation .btn{flex:1}.tree-navigation:not([hidden])+.tree-viewport{height:590px}.zoom-controls{display:flex}.tree-toolbar .zoom-controls .icon-button{min-height:40px}.tree-navigation p{font-size:12px}}.tree-workspace{min-width:0}.tree-workspace .zoom-controls{flex-wrap:wrap;gap:5px;display:flex}.tree-workspace .zoom-controls .icon-button{min-width:40px;min-height:40px}.tree-workspace #tree-fullscreen{white-space:nowrap;margin-left:5px;font-size:13px}.tree-toolbar>*{min-width:0}.tree-canvas-help{border:1px solid var(--line);color:#52645a;background:#f0f4f1;border-top:0;flex-wrap:wrap;justify-content:space-between;gap:4px 18px;margin:0;padding:10px 18px;font-size:12px;line-height:1.6;display:flex}.tree-viewport{touch-action:none;overscroll-behavior:contain;isolation:isolate;overflow:hidden}#tree-sizer{width:100%;height:100%;margin:0;position:absolute;inset:0}#tree-stage{transform-origin:0 0;will-change:transform;position:absolute;top:0;left:0}.tree-viewport .tree-person{touch-action:none;user-select:none}.tree-viewport.panning,.tree-viewport.panning .tree-person{cursor:grabbing}.tree-viewport:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}.tree-workspace:is(:fullscreen,.is-fullscreen){box-sizing:border-box;background:#f7f9f7;flex-direction:column;width:100%;height:100dvh;padding:16px;display:flex;overflow:hidden}.tree-workspace.is-fullscreen{z-index:30;position:fixed;inset:0}.tree-workspace::backdrop{background:#f7f9f7}.tree-workspace:is(:fullscreen,.is-fullscreen) .tree-viewport{flex:1;height:auto;min-height:120px}.tree-workspace:is(:fullscreen,.is-fullscreen) :is(.tree-toolbar,.tree-canvas-help,.tree-context,.tree-navigation,.tree-bottom){flex-shrink:0}.tree-workspace:is(:fullscreen,.is-fullscreen) .tree-bottom{padding:10px 16px}@media (width<=700px){.tree-workspace .tree-toolbar{gap:8px}.tree-workspace .zoom-controls{flex:1;justify-content:flex-end;margin-left:0}.tree-workspace .tree-search{flex-basis:100%;order:3}.tree-workspace #tree-fullscreen{margin-left:0}.tree-canvas-help{padding:9px 12px}.tree-workspace:is(:fullscreen,.is-fullscreen){padding:8px}.tree-workspace:is(:fullscreen,.is-fullscreen) .tree-bottom>.muted{display:none}}@media (height<=550px){.tree-workspace:is(:fullscreen,.is-fullscreen) :is(.tree-canvas-help,.tree-bottom,.tree-navigation>p){display:none}.tree-workspace:is(:fullscreen,.is-fullscreen) .tree-navigation{padding:6px 12px}}@media (prefers-reduced-motion:reduce){.tree-person{transition:none}}
