.subpage-shell{padding-top:12px!important}.page-title.with-actions{min-height:auto!important;margin:0 0 8px!important;padding:0 4px!important;display:flex!important;align-items:center!important;gap:12px!important}.page-title.with-actions .eyebrow,.page-title.with-actions p{display:none!important}.page-title.with-actions h1{font-size:clamp(1.1rem,1.6vw,1.45rem)!important;line-height:1.15!important;margin:0!important}.page-title.with-actions .full-tree-link{padding:7px 10px!important;min-height:34px!important;font-size:.78rem!important;border-radius:10px!important;margin-left:auto!important;white-space:nowrap}.tree-v2-toolbar{position:static!important;top:auto!important;z-index:auto!important;display:flex;align-items:center;gap:8px;min-height:48px!important;padding:6px 10px!important;margin:0 0 6px!important;border-radius:12px!important;backdrop-filter:none!important}.tree-v2-toolbar label{display:flex;align-items:center;gap:6px;font-size:.82rem;white-space:nowrap}.tree-v2-toolbar select{min-height:34px!important;padding:5px 30px 5px 9px!important;font-size:.82rem!important}.tree-v2-toolbar button{min-height:34px!important;height:34px!important;padding:5px 10px!important;font-size:.8rem!important;border-radius:9px!important}.tree-v2-legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:5px 10px;margin:0 0 6px;border:1px solid var(--border);border-radius:11px;background:var(--card);min-height:34px}.tree-v2-legend span{display:inline-flex;align-items:center;gap:6px;font-size:.76rem}.tree-v2-legend strong{margin-left:auto;color:var(--primary);font-size:.78rem}.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.focus-dot{background:#f2b84b}.legend-line{width:21px;height:2.5px;border-radius:3px;display:inline-block}.partner-line{background:#f2b84b}.family-line{background:#7890aa}.tree-v2-viewport{height:calc(100dvh - 245px)!important;min-height:620px;max-height:none!important;position:relative;overflow:hidden!important;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;background-image:radial-gradient(circle at 1px 1px,rgba(120,144,170,.2) 1px,transparent 0);background-size:24px 24px;border-radius:16px;margin-bottom:0!important}.tree-v2-viewport.dragging{cursor:grabbing}.tree-v2-viewport *{-webkit-user-drag:none}.tree-is-panning,.tree-is-panning *{user-select:none!important;-webkit-user-select:none!important}.tree-v2-canvas{position:absolute!important;left:0;top:0;transform-origin:0 0;will-change:transform;transition:none!important}.tree-connectors,.tree-nodes{position:absolute;inset:0}.tree-connectors{overflow:visible;pointer-events:none}.connector{fill:none;stroke:#7890aa;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round;opacity:.94}.connector.partner{stroke:#F2B84B;stroke-width:3}.family-junction{fill:#7890aa;stroke:var(--card);stroke-width:2}.partner-junction{fill:#F2B84B;stroke:var(--card);stroke-width:2}.tree-node{position:absolute;width:190px;height:88px;z-index:2}.tree-person-card{width:190px;min-height:88px;border:1px solid var(--border);border-radius:15px;background:var(--card);box-shadow:0 6px 18px rgba(16,35,61,.1);overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.tree-person-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(16,35,61,.16)}.tree-person-card.is-focus{border:2px solid #f2b84b;box-shadow:0 0 0 4px rgba(242,184,75,.14),0 10px 28px rgba(16,35,61,.18)}.tree-person-card.is-placeholder{opacity:.72}.tree-card-main{display:flex!important;width:100%;min-height:62px;padding:8px!important;gap:9px;text-align:left;border:0!important;background:0 0!important;color:inherit!important;border-radius:0!important}.tree-card-main img,.tree-card-main>.avatar{width:46px!important;height:46px!important;min-width:46px;border-radius:12px;object-fit:cover}.tree-card-text{min-width:0;display:flex;flex-direction:column;line-height:1.2}.tree-card-text strong{font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:118px}.tree-card-text small{margin-top:4px;color:#b17a12;font-weight:800;font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:118px}.tree-card-text em{margin-top:3px;font-style:normal;font-size:.68rem;color:var(--muted);font-weight:650}.tree-recenter{display:block;width:100%;height:26px;padding:0 8px!important;border:0!important;border-top:1px solid var(--border)!important;border-radius:0!important;background:rgba(120,144,170,.06)!important;color:var(--primary)!important;font-size:.69rem!important;font-weight:700}.tree-recenter:hover{background:rgba(242,184,75,.14)!important}.tree-v2-hint{display:none!important}@media(max-width:900px){.page-title.with-actions{flex-wrap:wrap}.page-title.with-actions .full-tree-link{margin-left:0!important}.tree-v2-toolbar{flex-wrap:wrap}.tree-v2-toolbar .spacer{display:none}.tree-v2-legend strong{width:100%;margin-left:0}.tree-v2-viewport{height:calc(100dvh - 290px)!important;min-height:560px}}@media(max-width:720px){.subpage-shell{padding-top:8px!important}.page-title.with-actions h1{font-size:1.05rem!important}.tree-v2-toolbar{gap:6px;padding:6px!important}.tree-v2-toolbar label{width:auto;font-size:.75rem}.tree-v2-toolbar select{max-width:170px}.tree-v2-legend{gap:8px;padding:5px 7px}.tree-v2-viewport{height:calc(100dvh - 305px)!important;min-height:520px}.page-title.with-actions .full-tree-link{font-size:.72rem!important;padding:6px 8px!important}}[data-theme=dark] .tree-person-card{box-shadow:0 8px 22px rgba(0,0,0,.28)}[data-theme=dark] .tree-v2-viewport{background-image:radial-gradient(circle at 1px 1px,rgba(184,196,214,.14) 1px,transparent 0)}.connector.family{stroke:#55789d;stroke-width:2.25;opacity:.92}.connector.sibling-bus{stroke-width:2.35}.connector.child-drop{stroke-width:2.15}.connector.partner{stroke:#E9A91B;stroke-width:3.1}.family-junction{fill:#55789d;stroke:var(--card);stroke-width:2}.partner-junction{fill:#E9A91B;stroke:var(--card);stroke-width:2}.page-title.with-actions{display:none!important}.subpage-shell{padding-top:7px!important}.tree-v2-toolbar{margin-bottom:5px!important}.tree-v2-legend{margin-bottom:5px!important}.tree-v2-viewport{height:calc(100dvh - 190px)!important;min-height:650px!important}@media(max-width:900px){.tree-v2-viewport{height:calc(100dvh - 230px)!important;min-height:560px!important}}@media(max-width:720px){.tree-v2-viewport{height:calc(100dvh - 255px)!important;min-height:520px!important}}.connector.family{stroke:#55789d;stroke-width:2.2;opacity:.9}.connector.family-trunk{stroke-width:2.35}.connector.sibling-bus{stroke-width:2.25}.connector.child-drop{stroke-width:2.05}.connector.partner{stroke:#E9A91B;stroke-width:3.05}.partner-junction{fill:#E9A91B;stroke:var(--card);stroke-width:2}.family-junction{fill:#55789d;stroke:var(--card);stroke-width:2}.connector.family{shape-rendering:geometricPrecision}.connector.child-drop,.connector.family-trunk,.connector.sibling-bus{vector-effect:non-scaling-stroke}.connector.partner{vector-effect:non-scaling-stroke}.family-junction,.partner-junction{vector-effect:non-scaling-stroke}.tree-node{width:126px!important;height:154px!important}.tree-person-card{width:126px!important;min-height:154px!important;border-radius:14px!important}.tree-card-main{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:126px!important;padding:9px 7px 7px!important;gap:6px!important;text-align:center!important}.tree-card-main img,.tree-card-main>.avatar{width:52px!important;height:52px!important;min-width:52px!important;border-radius:12px!important;object-fit:cover!important}.tree-card-text{width:100%!important;min-width:0!important;align-items:center!important;line-height:1.16!important}.tree-card-text strong{font-size:.82rem!important;line-height:1.15!important;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;max-width:112px!important;min-height:1.9em!important}.tree-card-text small{margin-top:3px!important;font-size:.72rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:112px!important}.tree-card-text em{margin-top:3px!important;font-size:.66rem!important;white-space:nowrap!important;max-width:112px!important;overflow:hidden!important;text-overflow:ellipsis!important}.tree-recenter{height:28px!important;font-size:.66rem!important;padding:0 4px!important}.connector{stroke-linecap:butt!important;stroke-linejoin:miter!important;shape-rendering:geometricPrecision}.connector.family,.connector.partner,.family-junction,.partner-junction{vector-effect:non-scaling-stroke}.connector.family-trunk{stroke-width:2.3!important}.connector.sibling-bus{stroke-width:2.2!important}.connector.child-drop{stroke-width:2.05!important}.tree-v2-viewport{overscroll-behavior:contain}.tree-child-order{display:block;margin-top:2px;font-size:10px;line-height:1.15;font-weight:700;color:var(--primary,#315f8f);white-space:nowrap}.full-tree-canvas .tree-node{transition:left .12s ease,top .12s ease}.tree-search-wrap{position:relative;flex:0 1 230px;min-width:170px}.tree-search-wrap input{width:100%;height:34px;padding:5px 10px;border:1px solid var(--border);border-radius:9px;background:var(--card);color:var(--text);font:inherit;font-size:.8rem;outline:0}.tree-search-wrap input:focus{border-color:#7890aa;box-shadow:0 0 0 3px rgba(85,120,157,.12)}.tree-search-results{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 5px);max-height:310px;overflow:auto;padding:5px;background:var(--card);border:1px solid var(--border);border-radius:11px;box-shadow:0 12px 28px rgba(16,35,61,.18)}.tree-search-results button{display:flex!important;align-items:center;justify-content:space-between;gap:8px;width:100%;height:auto!important;min-height:38px!important;padding:7px 9px!important;border:0!important;background:0 0!important;color:var(--text)!important;text-align:left!important}.tree-search-results button:hover{background:rgba(85,120,157,.1)!important}.tree-search-results strong{font-size:.78rem}.tree-search-results small{font-size:.67rem;color:var(--muted)}.tree-search-empty{padding:10px;font-size:.76rem;color:var(--muted);text-align:center}.tree-card-actions{display:flex;height:28px;border-top:1px solid var(--border)}.tree-card-actions .tree-branch-toggle,.tree-card-actions .tree-recenter{height:28px!important;min-height:28px!important;border:0!important;border-radius:0!important;background:rgba(120,144,170,.06)!important;color:var(--primary)!important;font-size:.64rem!important;font-weight:750!important;padding:0 5px!important}.tree-card-actions .tree-recenter{flex:1;border-top:0!important}.tree-card-actions .tree-branch-toggle{flex:0 0 42px;border-left:1px solid var(--border)!important;color:#55789d!important}.tree-card-actions .tree-branch-toggle:hover,.tree-card-actions .tree-recenter:hover{background:rgba(242,184,75,.14)!important}.tree-card-actions .tree-branch-toggle.is-collapsed{background:rgba(85,120,157,.12)!important}.tree-nodes.has-path .tree-person-card:not(.is-path){opacity:.46;filter:saturate(.72)}.tree-person-card.is-path{border-color:#55789d!important;box-shadow:0 0 0 3px rgba(85,120,157,.13),0 8px 22px rgba(16,35,61,.14)!important}.tree-person-card.is-path-target{border-color:#f2b84b!important;box-shadow:0 0 0 4px rgba(242,184,75,.18),0 10px 26px rgba(16,35,61,.18)!important}.connector.path-active{stroke:#F2B84B!important;stroke-width:4!important;opacity:1!important;vector-effect:non-scaling-stroke}.partner-junction.path-active-junction{fill:#F2B84B!important;stroke-width:3!important}@media(max-width:900px){.tree-search-wrap{order:3;flex:1 1 210px}.tree-v2-toolbar .spacer{order:4}}@media(max-width:720px){.tree-search-wrap{flex:1 1 100%;min-width:100%}.tree-search-results{max-height:240px}}.tree-person-card{background:linear-gradient(180deg,#fffdf7 0,#f7fbff 100%)!important;border-color:rgba(85,120,157,.28)!important;box-shadow:0 7px 20px rgba(16,35,61,.1)!important}.tree-person-card:hover{background:linear-gradient(180deg,#fff9e8 0,#f3f8ff 100%)!important;box-shadow:0 10px 24px rgba(16,35,61,.15)!important}.tree-person-card.is-focus{background:linear-gradient(180deg,#fff3c9 0,#fffaf0 100%)!important;border-color:#f2b84b!important}.tree-person-card.is-path{background:linear-gradient(180deg,#f0f7ff 0,#fbfdff 100%)!important}.tree-person-card.is-path-target{background:linear-gradient(180deg,#fff1bd 0,#fff9e9 100%)!important}.tree-card-actions .tree-profile{flex:0 1 42px;height:28px!important;min-height:28px!important;border:0!important;border-left:1px solid var(--border)!important;border-radius:0!important;background:rgba(120,144,170,.06)!important;color:var(--primary)!important;font-size:.59rem!important;font-weight:750!important;padding:0 3px!important}.tree-card-actions .tree-profile:hover{background:rgba(242,184,75,.14)!important}.tree-card-actions .tree-branch-toggle{flex-basis:34px!important;font-size:.58rem!important;padding:0 2px!important}.clear-path-btn{background:rgba(242,184,75,.14)!important;color:#8a5c00!important;border-color:rgba(242,184,75,.48)!important;font-weight:800!important}.clear-path-btn[hidden]{display:none!important}.tree-v2-toolbar select#treeView{min-width:112px}.tree-v2-legend{display:flex;align-items:center}.tree-mode-tabs{display:inline-flex;align-items:center;gap:3px;margin:0 auto;padding:3px;border:1px solid var(--border);border-radius:10px;background:var(--card);box-shadow:0 2px 8px rgba(16,35,61,.05)}.tree-mode-tab{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:3px 8px;border-radius:7px;text-decoration:none;color:var(--muted);font-size:.69rem;font-weight:800;white-space:nowrap;border:1px solid transparent}a.tree-mode-tab:hover{color:var(--primary);background:rgba(242,184,75,.1)}.tree-mode-tab.is-active{color:#10233d;background:#f2b84b;border-color:rgba(16,35,61,.1);box-shadow:0 1px 5px rgba(16,35,61,.09)}.tree-v2-legend #relationReference{margin-left:0}.tree-v2-viewport{height:calc(100dvh - 190px)!important}@media(max-width:900px){.tree-v2-legend{flex-wrap:wrap}.tree-mode-tabs-inline{order:5;margin:3px auto 0}.tree-v2-legend #relationReference{order:6;width:auto;margin:3px 0 0 auto}.tree-v2-viewport{height:calc(100dvh - 230px)!important}}@media(max-width:720px){.tree-mode-tabs{flex:1 1 auto;justify-content:center}.tree-mode-tab{padding:3px 6px;font-size:.65rem}.tree-v2-legend #relationReference{width:100%;margin-left:0;text-align:center}.tree-v2-viewport{height:calc(100dvh - 255px)!important}}.tree-person-card.is-male:not(.is-focus):not(.is-path){background:linear-gradient(180deg,#eef7ff 0,#f9fcff 100%)!important;border-color:rgba(76,132,184,.34)!important}.tree-person-card.is-female:not(.is-focus):not(.is-path){background:linear-gradient(180deg,#fff2f7 0,#fffafd 100%)!important;border-color:rgba(190,112,145,.3)!important}.tree-person-card.is-gender-unknown:not(.is-focus):not(.is-path){background:linear-gradient(180deg,#f7f7f5 0,#fdfdfc 100%)!important}.tree-person-card.is-deceased{border-style:double!important;border-width:3px!important}.tree-person-card.is-deceased::before{content:'†';position:absolute;z-index:4;right:5px;top:3px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:rgba(16,35,61,.08);color:#6c7887;font-size:12px;font-weight:900;pointer-events:none}.tree-person-card{position:relative}.tree-person-card.is-focus{background:linear-gradient(180deg,#fff2bd 0,#fffaf0 100%)!important;border-color:#f2b84b!important}.tree-person-card.is-path{background:linear-gradient(180deg,#edf6ff 0,#fbfdff 100%)!important;border-color:#55789d!important}.tree-person-card.is-path-target{background:linear-gradient(180deg,#ffeaa3 0,#fff8e2 100%)!important;border-color:#f2b84b!important}.tree-card-actions .tree-branch-toggle{position:relative;display:flex!important;align-items:center;justify-content:center;gap:2px;overflow:visible!important}.tree-card-actions .tree-branch-toggle b{font-size:.58rem;line-height:1;font-weight:900}.tree-card-actions .tree-branch-toggle::after{content:attr(data-tip);position:absolute;z-index:80;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);min-width:150px;max-width:220px;padding:6px 8px;border-radius:8px;background:#10233d;color:#fff;font-size:.66rem;font-weight:700;line-height:1.25;white-space:normal;text-align:center;box-shadow:0 8px 20px rgba(16,35,61,.22);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease}.tree-card-actions .tree-branch-toggle:focus-visible::after,.tree-card-actions .tree-branch-toggle:hover::after{opacity:1;visibility:visible}.relationship-panel{position:absolute;z-index:30;left:12px;right:12px;bottom:12px;max-width:920px;margin:auto;padding:10px 40px 10px 12px;border:1px solid rgba(85,120,157,.3);border-radius:13px;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);box-shadow:0 12px 30px rgba(16,35,61,.18);color:var(--text);user-select:text;-webkit-user-select:text;cursor:default}.relationship-panel[hidden]{display:none!important}.relationship-panel-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:6px}.relationship-panel-head strong{font-size:.82rem;color:var(--primary)}.relationship-panel-head small{font-size:.72rem;color:#9a690d;font-weight:800}.relationship-panel-close{position:absolute;right:7px;top:7px;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border-radius:8px!important}.relationship-panel-summary{display:none!important}.relationship-panel-steps{display:flex;align-items:flex-end;gap:0;overflow-x:auto;overflow-y:hidden;padding:2px 1px 5px;scrollbar-width:thin;overscroll-behavior-x:contain}.rp-track-step{display:grid;grid-template-rows:auto auto;gap:5px;flex:0 0 auto;min-width:132px;max-width:180px}.rp-rel-chip{display:inline-flex;align-items:center;justify-content:center;justify-self:start;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:3px 7px;border-radius:999px;background:rgba(242,184,75,.14);border:1px solid rgba(242,184,75,.3);font-size:.68rem;font-weight:800}.rp-step{display:flex;flex-direction:column;min-width:132px;max-width:180px;padding:4px 7px;border-radius:8px;background:rgba(85,120,157,.07);box-sizing:border-box}.rp-step b{font-size:.69rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rp-step small{font-size:.61rem;color:var(--muted);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rp-track-arrow{color:#7890aa;font-weight:900;flex:0 0 28px;display:grid;place-items:end center;padding-bottom:13px}[data-theme=dark] .relationship-panel{background:rgba(16,35,61,.94)}.tree-node.is-offscreen{visibility:hidden;pointer-events:none}.tree-node{contain:layout paint style;content-visibility:auto;contain-intrinsic-size:126px 164px}@media(max-width:720px){.tree-v2-toolbar{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px!important;padding:5px!important;align-items:center}.tree-v2-toolbar .tree-field-caption{display:none!important}.tree-v2-toolbar label{width:100%!important;min-width:0!important;margin:0!important}.tree-v2-toolbar input,.tree-v2-toolbar select{width:100%!important;max-width:none!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:4px 7px!important;font-size:.72rem!important}.tree-field-person{grid-column:1/7;grid-row:1}.tree-search-wrap{grid-column:7/13;grid-row:1;min-width:0!important;width:100%!important}.tree-field-depth{grid-column:1/3;grid-row:2}.tree-field-view{grid-column:3/5;grid-row:2}.tree-v2-toolbar .spacer{display:none!important}#homeStart{grid-column:5/7;grid-row:2}#clearPath{grid-column:7/9;grid-row:2}#zoomOut{grid-column:9/10;grid-row:2}#zoomReset{grid-column:10/11;grid-row:2}#zoomIn{grid-column:11/12;grid-row:2}#fitTree{grid-column:12/13;grid-row:2}.tree-v2-toolbar button{width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:3px!important;font-size:.68rem!important}.tree-search-results{top:calc(100% + 4px);max-height:220px}.tree-node{width:112px!important;height:164px!important;contain-intrinsic-size:112px 164px}.tree-person-card{width:112px!important;min-height:164px!important;border-radius:13px!important}.tree-card-main{min-height:128px!important;padding:8px 5px 6px!important;gap:5px!important}.tree-card-main img,.tree-card-main>.avatar{width:48px!important;height:48px!important;min-width:48px!important}.tree-card-text em,.tree-card-text small,.tree-card-text strong{max-width:100px!important}.tree-card-text strong{font-size:.77rem!important}.tree-card-text small{font-size:.67rem!important}.tree-child-order{font-size:9px!important}.tree-card-actions{height:36px!important}.tree-card-actions .tree-branch-toggle,.tree-card-actions .tree-profile,.tree-card-actions .tree-recenter{height:36px!important;min-height:36px!important;font-size:.59rem!important}.tree-card-actions .tree-branch-toggle{flex-basis:33px!important}.tree-card-actions .tree-branch-toggle b{font-size:.56rem}.tree-card-actions .tree-branch-toggle::after{display:none}.relationship-panel{left:6px;right:6px;bottom:6px;max-width:none;padding:9px 38px 9px 9px;border-radius:11px}.relationship-panel-head strong{font-size:.76rem}.relationship-panel-summary{display:none}.rp-track-step{min-width:116px;max-width:145px}.rp-rel-chip{max-width:145px;font-size:.62rem}.rp-step{min-width:116px;max-width:145px;padding:4px 6px}.rp-step b{font-size:.65rem}.rp-step small{font-size:.58rem}.rp-track-arrow{flex-basis:22px;padding-bottom:12px}.modal .profile-modal{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;border-radius:0!important;overflow:auto!important}.modal .modal-backdrop{background:rgba(16,35,61,.4)!important}}.tree-search-results{max-height:360px;overflow-y:auto;overscroll-behavior:contain}.tree-search-results button small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:52%;text-align:right}#focusTree{white-space:nowrap}.tree-view-switch-row{justify-content:flex-end;gap:12px}.tree-view-switch-row .tree-mode-tabs{margin-left:auto}.tree-view-switch-row #relationReference{margin-left:0}@media (min-width:901px){.tree-v2-toolbar #fitTree,.tree-v2-toolbar #focusTree{min-width:72px}}@media (max-width:900px){#focusTree{grid-column:auto!important;grid-row:auto!important}.tree-view-switch-row{justify-content:space-between;align-items:center;flex-wrap:wrap}.tree-view-switch-row .tree-mode-tabs{margin-left:0}}.tree-view-switch-row{justify-content:flex-start!important}.tree-view-switch-row .tree-mode-tabs,.tree-view-switch-row .tree-mode-tabs-inline{margin:0!important;order:0!important}.tree-view-switch-row #relationReference{margin-left:auto!important}.tree-field-view{display:none!important}@media(min-width:721px){.tree-search-wrap{flex:1 1 330px;min-width:230px}}@media(max-width:720px){.tree-field-person{grid-column:1/7!important}.tree-search-wrap{grid-column:7/13!important}.tree-field-depth{grid-column:1/4!important;grid-row:2!important}#homeStart{grid-column:4/6!important;grid-row:2!important}#clearPath{grid-column:6/8!important;grid-row:2!important}#zoomOut{grid-column:8/9!important;grid-row:2!important}#zoomReset{grid-column:9/10!important;grid-row:2!important}#zoomIn{grid-column:10/11!important;grid-row:2!important}#focusTree{grid-column:11/12!important;grid-row:2!important}#fitTree{grid-column:12/13!important;grid-row:2!important}}.tree-v2-viewport{contain:layout paint;isolation:isolate;clip-path:inset(0 round 16px);overflow:hidden!important}.tree-v2-canvas{position:absolute!important;left:0!important;top:0!important;margin:0!important;max-width:none!important;max-height:none!important}.tree-v2-viewport .tree-connectors,.tree-v2-viewport .tree-nodes{max-width:none!important;max-height:none!important}.tree-card-actions .tree-recenter{background:rgba(242,184,75,.18)!important;color:#805600!important;font-weight:850!important}.tree-card-actions .tree-recenter:focus-visible,.tree-card-actions .tree-recenter:hover{background:rgba(242,184,75,.32)!important}.tree-card-actions .tree-profile{background:rgba(85,120,157,.1)!important;color:#315f8f!important;font-weight:800!important}.tree-card-actions .tree-profile:focus-visible,.tree-card-actions .tree-profile:hover{background:rgba(85,120,157,.2)!important}.tree-card-actions .tree-branch-toggle{gap:3px!important;font-variant-numeric:tabular-nums}.tree-card-actions .tree-branch-toggle:not(.is-collapsed){background:rgba(52,145,90,.1)!important;color:#287044!important}.tree-card-actions .tree-branch-toggle.is-collapsed{background:rgba(85,120,157,.16)!important;color:#315f8f!important}[data-theme=dark] .tree-card-actions .tree-recenter{color:#f2b84b!important}[data-theme=dark] .tree-card-actions .tree-profile{color:#b8c4d6!important}.tree-nav-group,.tree-zoom-group{display:contents}@media(max-width:720px){.tree-v2-toolbar{grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-template-rows:auto auto auto!important}.tree-field-person{grid-column:1/7!important;grid-row:1!important}.tree-search-wrap{grid-column:7/13!important;grid-row:1!important}.tree-field-depth{grid-column:1/4!important;grid-row:2!important}#clearPath{grid-column:4/7!important;grid-row:2!important}.tree-nav-group,.tree-zoom-group{display:flex!important;align-items:center;min-width:0;height:40px;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--card)}.tree-nav-group{grid-column:7/13!important;grid-row:2!important}.tree-zoom-group{grid-column:1/13!important;grid-row:3!important}.tree-nav-group button,.tree-zoom-group button{position:static!important;flex:1 1 0!important;width:auto!important;min-width:0!important;height:38px!important;min-height:38px!important;border:0!important;border-radius:0!important;margin:0!important;padding:3px 5px!important}.tree-nav-group button+button,.tree-zoom-group button+button{border-left:1px solid var(--border)!important}.tree-zoom-group #zoomReset{flex:1.35 1 0!important;font-weight:850!important}.tree-zoom-group #zoomIn,.tree-zoom-group #zoomOut{font-size:1rem!important;font-weight:900!important}#fitTree,#focusTree,#homeStart,#zoomIn,#zoomOut,#zoomReset{grid-column:auto!important;grid-row:auto!important}}.tree-search-results{background:rgba(247,249,252,.98)!important;border:1px solid rgba(85,120,157,.22)!important;box-shadow:0 14px 32px rgba(16,35,61,.18)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.tree-search-results button{background:0 0!important}.tree-search-results button:focus-visible,.tree-search-results button:hover{background:rgba(85,120,157,.09)!important}[data-theme=dark] .tree-search-results{background:rgba(16,35,61,.98)!important;border-color:rgba(184,196,214,.22)!important}[data-theme=dark] .tree-search-results button:focus-visible,[data-theme=dark] .tree-search-results button:hover{background:rgba(184,196,214,.1)!important}