.person-editor_dialog__jlDDd{width:min(640px,calc(100% - 24px));max-height:calc(100svh - 32px);border:1px solid var(--border);border-radius:24px;padding:28px;color:var(--text-primary);background:var(--surface);box-shadow:var(--shadow-card)}.person-editor_dialog__jlDDd::backdrop{background:rgb(31 37 33/35%)}.person-editor_header__dGxre{display:flex;align-items:center;justify-content:space-between;gap:16px}.person-editor_header__dGxre h2{font-size:24px;letter-spacing:-.025em;margin:0}.person-editor_dialog__jlDDd button{min-height:44px;border:1px solid var(--border-strong);border-radius:12px;padding:10px 14px;color:var(--brand);background:var(--surface)}.person-editor_header__dGxre button{color:white;background:var(--brand);border-color:var(--brand)}.person-editor_status__T_4Yr{font-size:14px;line-height:1.5;color:var(--text-secondary);margin:16px 0 20px}.person-editor_status__T_4Yr[role=alert]{color:var(--danger-text)}.person-editor_dialog__jlDDd form{display:flex;flex-direction:column;gap:16px}.person-editor_dialog__jlDDd label{display:flex;flex-direction:column;gap:8px;font-size:14px;min-width:0;flex:1 1}.person-editor_dialog__jlDDd input,.person-editor_dialog__jlDDd select,.person-editor_dialog__jlDDd textarea{width:100%;min-height:48px;min-width:0;padding:12px;border:1px solid var(--border-strong);border-radius:12px;color:var(--text-primary);background:var(--surface);font-size:16px}.person-editor_dialog__jlDDd textarea{resize:vertical}.person-editor_row__ZEWFe{display:flex;gap:16px}.person-editor_dates__p6rJi{border:1px solid var(--border);border-radius:14px;padding:16px;margin:0}.person-editor_dates__p6rJi legend{padding:0 6px;font-size:14px}.person-editor_dateRow__OXbZT{display:flex;gap:12px;margin-top:12px}.person-editor_hint__ix4Xu{color:var(--text-secondary);font-size:12px;line-height:1.5;margin:0}.person-editor_conflict__LJWQU{background:var(--brand-soft);border-radius:12px;padding:16px;margin-top:20px;font-size:14px;line-height:1.5}.person-editor_conflict__LJWQU button{margin:6px 6px 0 0}.person-editor_discard__NrFgE{margin-top:16px}@media(max-width:600px){.person-editor_dialog__jlDDd{padding:20px;border-radius:20px}.person-editor_row__ZEWFe{flex-direction:column}.person-editor_header__dGxre h2{font-size:22px}}.person-editor_field__yGh6C{display:flex;flex-direction:column;gap:8px}.person-editor_differences__ufyzZ{overflow-wrap:anywhere}.person-editor_differences__ufyzZ dt{font-weight:600;margin-top:12px}.person-editor_differences__ufyzZ dd{margin:4px 0}.person-editor_conflict__LJWQU summary{cursor:pointer;padding:10px 0}.person-editor_dialog__jlDDd{overflow-wrap:anywhere;overflow-y:auto;min-width:0}.person-editor_header__dGxre{flex-wrap:wrap}.person-editor_header__dGxre h2{min-width:0;flex:1 1 180px}.person-editor_dialog__jlDDd button{max-width:100%;white-space:normal}.person-editor_dialog__jlDDd input[type=file]{overflow:hidden}.person-editor_dialog__jlDDd [data-task-target=true]{border-radius:14px;background:var(--brand-soft);padding:12px}.person-editor_dialog__jlDDd fieldset[data-task-target=true]{border-color:var(--brand)}.person-editor_fields__GSVgs{border:0;margin:0;padding:0;min-width:0;display:grid;gap:16px}.person-editor_photoSection__qAaKE{display:grid;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--border)}.person-editor_photoSection__qAaKE h3{margin:0;font-size:16px}.person-editor_footer__sfKCI{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid var(--border)}.person-editor_dialog__jlDDd .person-editor_primary__AOcaX{background:var(--brand);color:white;border-color:var(--brand)}@media(max-width:600px){.person-editor_footer__sfKCI button{width:100%}.person-editor_header__dGxre{align-items:flex-start}.person-editor_header__dGxre h2{overflow-wrap:anywhere}.person-editor_header__dGxre button{flex-shrink:0}}.person-editor_preview__No_vx{padding:14px;border-radius:12px;background:var(--brand-soft);line-height:1.5;margin:0}.person-editor_linkList__5oSlh{list-style:none;padding:0;display:grid;gap:12px}.person-editor_linkList__5oSlh li{min-width:0}.person-editor_linkList__5oSlh button{width:100%;display:grid;gap:8px;text-align:left}.person-editor_linkList__5oSlh span{font-size:14px}.person-editor_unlink__gKh_7{margin-top:20px;border-top:1px solid var(--border);padding-top:8px}.person-editor_unlink__gKh_7 summary{min-height:48px;cursor:pointer;padding:12px 0;color:var(--brand)}.person-editor_unlink__gKh_7 label{margin:12px 0}.person-editor_linkDialog__6PfkA .person-editor_header__dGxre h2{flex-basis:140px}.person-editor_linkDialog__6PfkA .person-editor_header__dGxre button{color:var(--brand);background:var(--surface);border-color:var(--border-strong)}.person-editor_relationshipChoices__XPIz6{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 16px}.person-editor_relationshipChoices__XPIz6 button{min-height:48px;padding:12px;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);color:var(--text-primary);font:inherit;text-align:left;overflow-wrap:anywhere}.person-editor_relationshipChoices__XPIz6 button[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand)}.person-editor_relationshipChoices__XPIz6 button:last-child:nth-child(odd){grid-column:1/-1}.person-editor_relationshipChoices__XPIz6 button:focus-visible{outline:3px solid var(--brand);outline-offset:2px}.tree-preview_page__qHsPT{max-width:1520px;margin:0 auto;padding:28px 40px}.tree-preview_header__ZibKE{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}.tree-preview_wordmark__IbJtW{display:inline-flex;align-items:center;gap:12px;font-size:17px;font-weight:600}.tree-preview_wordmark__IbJtW svg{color:var(--brand)}.tree-preview_badge__ZgSX6{font-size:13px;color:var(--text-secondary);border:1px solid var(--border-strong);border-radius:99px;padding:8px 12px;white-space:nowrap}.tree-preview_intro__zOdiS{padding:20px 0 16px}.tree-preview_eyebrow__tnibf{font-size:12px;color:var(--brand);font-weight:600}.tree-preview_intro__zOdiS .tree-preview_eyebrow__tnibf{margin:0 0 12px}.tree-preview_intro__zOdiS h1{margin:0 0 8px;font-size:clamp(26px,3vw,36px);font-weight:600;letter-spacing:-.04em;line-height:1.1}.tree-preview_intro__zOdiS>p:last-child{color:var(--text-secondary);font-size:16px;margin:0;line-height:1.5}.tree-preview_examples__xh1iS{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.tree-preview_examples__xh1iS button{border:1px solid var(--border);color:var(--text-secondary);background:var(--surface);border-radius:12px;min-height:44px;padding:10px 16px;font-size:13px}.tree-preview_examples__xh1iS button[aria-pressed=true]{color:var(--brand);border-color:var(--brand);background:var(--brand-soft)}.tree-preview_workspace__6h6dA{display:grid;grid-template-columns:minmax(0,1fr) 310px;border:1px solid var(--border);border-radius:24px;overflow:hidden;background:var(--surface);--tree-line:#879B8B}.tree-preview_canvasFrame__s_xlR{min-width:0;display:grid;grid-template-rows:minmax(0,1fr) auto;height:600px}.tree-preview_canvas__Bz9HE{min-width:0;min-height:0;background:var(--surface-subtle)}.tree-preview_card__9zTya{display:flex;align-items:center;gap:12px;width:100%;height:100%;padding:16px;border:1px solid var(--border-strong);border-radius:18px;background:var(--surface);text-align:left;color:var(--text-primary);box-shadow:0 5px 20px rgb(31 37 33/6%)}.tree-preview_card__9zTya[aria-pressed=true]{border:2px solid var(--brand);padding:15px;box-shadow:0 0 0 4px var(--brand-soft)}.tree-preview_card__9zTya:hover{border-color:var(--brand)}.tree-preview_cardText__mG9Op{min-width:0;flex:1 1}.tree-preview_firstName__IddW3,.tree-preview_lastName__ZIcJr{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.3}.tree-preview_firstName__IddW3{font-weight:600}.tree-preview_year__WtbIQ{display:block;margin-top:6px;color:var(--text-secondary);font-size:max(12px,calc(12px / var(--tree-zoom)));line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-preview_avatar__5QqD9{flex:0 0 40px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:14px;background:var(--brand-soft);color:var(--brand);font-weight:600}.tree-preview_handle__za97T{opacity:0;pointer-events:none}.tree-preview_canvasLabel__8yPm4{background:var(--surface);padding:8px 12px;border:1px solid var(--border);border-radius:99px;font-size:12px;color:var(--text-secondary);pointer-events:none}.tree-preview_panHint__yPNJW{color:var(--text-secondary);font-size:11px;line-height:1.5;pointer-events:none}.tree-preview_controls__18KhF{display:flex;gap:2px;padding:4px;background:var(--surface);border:1px solid var(--border);border-radius:14px}.tree-preview_close__3_rGx,.tree-preview_controls__18KhF button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:10px;background:var(--surface);color:var(--text-primary)}.tree-preview_close__3_rGx:hover,.tree-preview_controls__18KhF button:hover{background:var(--brand-soft)}.tree-preview_details__oPeXv{min-width:0;padding:24px;border-left:1px solid var(--border);display:flex;flex-direction:column}.tree-preview_detailsTop__FQIC3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.tree-preview_close__3_rGx{background:var(--surface-subtle);flex-shrink:0}.tree-preview_portrait__5peXM{display:grid;place-items:center;width:64px;height:72px;border-radius:20px;color:var(--brand);background:var(--brand-soft);font-size:23px;margin-bottom:20px}.tree-preview_details__oPeXv h2{font-size:25px;letter-spacing:-.025em;font-weight:600;margin:0 0 20px;line-height:1.2;overflow-wrap:anywhere}.tree-preview_facts__3aYhY{margin:0;display:grid;gap:16px}.tree-preview_facts__3aYhY dt{color:var(--text-secondary);font-size:11px;margin-bottom:4px}.tree-preview_facts__3aYhY dd{margin:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.tree-preview_about__1nuGY{font-size:13px;line-height:1.6;color:var(--text-secondary);margin:20px 0 0;overflow-wrap:anywhere}.tree-preview_question__b_Bog{margin-top:24px;padding:16px;border-radius:16px;background:var(--brand-soft)}.tree-preview_question__b_Bog span{font-size:10px;color:var(--brand);font-weight:600}.tree-preview_question__b_Bog p{font-size:13px;line-height:1.55;margin:8px 0 0}.tree-preview_note__Rok_d{margin:auto 0 0;padding-top:24px;font-size:11px;line-height:1.5;color:var(--text-secondary)}.tree-preview_empty__Px9zd{margin:auto 0;color:var(--text-secondary)}.tree-preview_empty__Px9zd svg{margin-bottom:24px;color:var(--brand)}.tree-preview_empty__Px9zd p{font-size:14px;line-height:1.6}.tree-preview_footer__qk_tQ{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:20px;font-size:11px;color:var(--text-secondary)}@media (max-width:1000px){.tree-preview_page__qHsPT{padding:24px}.tree-preview_workspace__6h6dA{grid-template-columns:minmax(0,1fr) 270px}.tree-preview_details__oPeXv{padding:20px}}@media (max-width:799px){.tree-preview_workspace__6h6dA{grid-template-columns:minmax(0,1fr)}.tree-preview_details__oPeXv{border-left:0;border-top:1px solid var(--border);padding:24px}.tree-preview_canvasFrame__s_xlR{height:550px}.tree-preview_facts__3aYhY{grid-template-columns:1fr 1fr}.tree-preview_note__Rok_d{padding-top:20px}}@media (max-width:639px){.tree-preview_page__qHsPT{padding:max(20px,env(safe-area-inset-top)) 16px 24px}.tree-preview_wordmark__IbJtW{font-size:14px;gap:8px}.tree-preview_wordmark__IbJtW svg{width:20px}.tree-preview_badge__ZgSX6{font-size:11px;padding:7px 9px}.tree-preview_intro__zOdiS{padding:16px 0 12px}.tree-preview_intro__zOdiS h1{font-size:28px}.tree-preview_intro__zOdiS>p:last-child{font-size:14px}.tree-preview_examples__xh1iS{gap:6px}.tree-preview_examples__xh1iS button{font-size:11px;padding:8px 11px}.tree-preview_canvasFrame__s_xlR{height:460px}.tree-preview_panHint__yPNJW{font-size:10px}.tree-preview_workspace__6h6dA{border-radius:20px}}.tree-preview_alias__kI7ux{display:block;font-size:10px;line-height:1.2;color:var(--brand);margin-top:5px}.tree-preview_relationships__PDIQO{margin-top:24px}.tree-preview_relationships__PDIQO h3{overflow-wrap:anywhere;margin:0 0 12px;font-size:13px;font-weight:600}.tree-preview_relationships__PDIQO ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}.tree-preview_relationships__PDIQO li{display:grid;grid-template-columns:minmax(64px,92px) minmax(0,1fr);gap:4px 10px;align-items:center}.tree-preview_familyGroup__Ucb3I+.tree-preview_familyGroup__Ucb3I{margin-top:14px}.tree-preview_familyGroup__Ucb3I h4{margin:0 0 4px;font-size:12px;font-weight:600}.tree-preview_relationships__PDIQO small{grid-column:2;overflow-wrap:anywhere}.tree-preview_relationships__PDIQO small,.tree-preview_relationships__PDIQO span{color:var(--text-secondary);font-size:11px}.tree-preview_relationships__PDIQO strong{min-width:0;font-size:13px;font-weight:500;overflow-wrap:anywhere}@media (min-width:800px){.tree-preview_details__oPeXv{max-height:600px;overflow-y:auto}}.tree-preview_details__oPeXv>*{flex-shrink:0}.tree-preview_loading__HSADF{min-height:600px;display:grid;place-content:center;justify-items:center;color:var(--text-secondary);border:1px solid var(--border);border-radius:24px}.tree-preview_loading__HSADF button{min-height:48px;padding:12px 20px;border:0;border-radius:14px;background:var(--brand);color:white}.tree-preview_sheetActions__FD6f1,.tree-preview_sheetHandle__m8O3b{display:none}.tree-preview_canvas__Bz9HE{touch-action:none}.tree-preview_detailsTop__FQIC3{position:sticky;top:-1px;background:var(--surface);z-index:1;padding-top:1px}@media (max-width:799px){.tree-preview_canvasFrame__s_xlR{height:min(680px,82svh);min-height:440px}.tree-preview_details__oPeXv[data-open=false]{display:none}.tree-preview_details__oPeXv[data-open=true]{position:fixed;z-index:20;left:12px;right:12px;bottom:0;height:var(--sheet-height);max-height:96svh;min-height:0;border:1px solid var(--border-strong);border-bottom:0;border-radius:24px 24px 0 0;background:var(--surface);box-shadow:0 -8px 40px rgb(31 37 33/12%);overflow-y:auto;overscroll-behavior:contain;padding:0 20px max(24px,env(safe-area-inset-bottom));transition:height var(--motion-panel) var(--ease-standard)}.tree-preview_details__oPeXv[data-dragging=true]{transition:none}.tree-preview_sheetHandle__m8O3b{display:grid;place-items:center;width:100%;height:44px;min-height:44px;border:0;background:transparent;touch-action:none}.tree-preview_sheetHandle__m8O3b span{width:40px;height:4px;background:var(--border-strong);border-radius:4px}.tree-preview_sheetActions__FD6f1{display:flex;margin-left:auto}.tree-preview_sheetActions__FD6f1 button{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:10px;background:var(--surface);color:var(--text-primary)}.tree-preview_details__oPeXv .tree-preview_portrait__5peXM{display:none}.tree-preview_detailsTop__FQIC3{margin-bottom:12px;padding-bottom:8px}.tree-preview_details__oPeXv h2{margin-bottom:20px}.tree-preview_details__oPeXv .tree-preview_empty__Px9zd{display:none}}.tree-preview_canvas__Bz9HE .react-flow__node{transition:transform var(--motion-branch) var(--ease-spatial)}.tree-preview_viewMenu__l791F{position:relative}.tree-preview_viewMenu__l791F summary{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;cursor:pointer;list-style:none}.tree-preview_viewMenu__l791F summary::-webkit-details-marker{display:none}.tree-preview_viewMenu__l791F[open] summary{background:var(--brand-soft)}.tree-preview_viewMenu__l791F>div{position:absolute;right:0;bottom:56px;min-width:230px;padding:6px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-card)}.tree-preview_viewMenu__l791F>div button{min-height:48px;width:100%;justify-content:start;padding:0 12px;white-space:nowrap;font-size:13px}@media (max-width:799px){.tree-preview_panHint__yPNJW{display:none}}.tree-preview_branchCard__89uHT{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--border-strong);border-radius:18px;color:var(--brand);background:var(--brand-soft);box-shadow:4px 4px 0 var(--surface),5px 5px 0 var(--border-strong),9px 9px 0 var(--surface),10px 10px 0 var(--border-strong)}.tree-preview_branchCard__89uHT strong{font-size:24px}.tree-preview_branchCard__89uHT span{font-size:13px}.tree-preview_branchCard__89uHT small{font-size:10px;max-width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-secondary)}.tree-preview_branchAction__PxFWr{margin-top:20px;min-height:48px;padding:12px;border:1px solid var(--border-strong);border-radius:12px;color:var(--brand);background:var(--surface);font-size:13px}.tree-preview_branchAction__PxFWr:hover{background:var(--brand-soft)}.tree-preview_miniInitials__gCmUJ{display:none}.tree-preview_canvas__Bz9HE{--tree-zoom:1}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_card__9zTya{gap:calc(8px / var(--tree-zoom));padding:calc(8px / var(--tree-zoom));box-shadow:none}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_cardText__mG9Op{flex:1 1}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_alias__kI7ux{display:none}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_year__WtbIQ{font-size:calc(12px / var(--tree-zoom));margin-top:calc(3px / var(--tree-zoom))}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_firstName__IddW3,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_lastName__ZIcJr{font-size:calc(12px / var(--tree-zoom));line-height:1.25}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_card__9zTya{position:absolute;top:50%;transform:translateY(-50%);height:max(100%,calc(44px / var(--tree-zoom)));padding:calc(8px / var(--tree-zoom));padding-right:calc(22px / var(--tree-zoom));box-shadow:none}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_alias__kI7ux,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_avatar__5QqD9,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_lastName__ZIcJr,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_year__WtbIQ{display:none}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_firstName__IddW3{font-size:calc(13px / var(--tree-zoom));line-height:1.3}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_branchCard__89uHT strong{font-size:calc(16px / var(--tree-zoom))}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_branchCard__89uHT span{font-size:calc(11px / var(--tree-zoom))}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_branchCard__89uHT small,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_pendingBadge__H0WVI{display:none}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_card__9zTya[data-pending=true]:before{content:"…";position:absolute;top:calc(2px / var(--tree-zoom));right:calc(6px / var(--tree-zoom));font-size:calc(12px / var(--tree-zoom));color:var(--brand)}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_card__9zTya[data-new-info=true] .tree-preview_firstName__IddW3{text-decoration:underline;text-decoration-color:#527eac;text-decoration-thickness:calc(2px / var(--tree-zoom));text-underline-offset:calc(3px / var(--tree-zoom))}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=mini] .tree-preview_branchCard__89uHT,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=mini] .tree-preview_card__9zTya{position:absolute;top:50%;transform:translateY(-50%);height:max(100%,calc(44px / var(--tree-zoom)));justify-content:center;padding:8px;border-radius:14px;box-shadow:none}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=mini] .tree-preview_avatar__5QqD9,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=mini] .tree-preview_branchCard__89uHT small,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=mini] .tree-preview_branchCard__89uHT span,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=mini] .tree-preview_cardText__mG9Op{display:none}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=mini] .tree-preview_miniInitials__gCmUJ{display:block;font-size:calc(12px / var(--tree-zoom));font-weight:600;color:var(--brand)}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=mini] .tree-preview_branchCard__89uHT strong{font-size:calc(12px / var(--tree-zoom))}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_branchCard__89uHT strong{font-size:calc(16px / var(--tree-zoom))}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_branchCard__89uHT span{font-size:calc(11px / var(--tree-zoom))}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_branchCard__89uHT small{font-size:calc(10px / var(--tree-zoom))}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_avatar__5QqD9{flex-basis:calc(24px / var(--tree-zoom));height:calc(30px / var(--tree-zoom));border-radius:calc(10px / var(--tree-zoom));font-size:calc(11px / var(--tree-zoom))}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=compact] .tree-preview_card__9zTya[data-alias=true]:after,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=mini] .tree-preview_card__9zTya[data-alias=true]:after,.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=overview] .tree-preview_card__9zTya[data-alias=true]:after{content:"↗";position:absolute;right:6px;top:4px;color:var(--brand);font-size:calc(9px / var(--tree-zoom))}.tree-preview_canvas__Bz9HE .tree-preview_branchCard__89uHT:focus-visible,.tree-preview_canvas__Bz9HE .tree-preview_card__9zTya:focus-visible{outline:calc(2px / var(--tree-zoom)) solid var(--brand);outline-offset:calc(2px / var(--tree-zoom))}.tree-preview_accountLink__B3rP_{min-height:44px;display:inline-flex;align-items:center;padding:8px;color:var(--brand)}.tree-preview_miniTree__Bcuag{display:block;width:100%;height:300px;overflow:hidden;margin:20px 0}.tree-preview_addControl__0B4eR button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border:0;border-radius:99px;padding:12px 20px;background:var(--brand);color:white;box-shadow:var(--shadow-card);font-size:14px}.tree-preview_addInDetails__oXxzT{min-height:48px;padding:12px;margin-bottom:12px;border:0;border-radius:12px;background:var(--brand);color:white}.tree-preview_warning__P5xcm{margin-bottom:16px;padding:16px;border-radius:16px;background:var(--brand-soft);font-size:14px;line-height:1.5}.tree-preview_warning__P5xcm button{min-height:44px;padding:10px 16px;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);color:var(--brand)}.tree-preview_cardEnter__e_a3H{animation:tree-preview_enterRelative__BvaBF var(--motion-branch) var(--ease-spatial) backwards}.tree-preview_canvas__Bz9HE .react-flow__edge{animation:tree-preview_enterConnector__244KL var(--motion-branch) var(--ease-standard) backwards}@keyframes tree-preview_enterRelative__BvaBF{0%{opacity:0;transform:translate(var(--entry-x),var(--entry-y)) scale(.85)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes tree-preview_enterConnector__244KL{0%{opacity:0}to{opacity:1}}.tree-preview_canvas__Bz9HE .react-flow__node[data-lod=mini] .tree-preview_miniInitials__gCmUJ:has(img){width:100%;height:100%;border-radius:inherit}.tree-preview_pendingBadge__H0WVI{position:absolute;top:5px;right:8px;padding:2px 6px;border-radius:8px;background:var(--brand-soft);color:var(--brand);font-size:10px;line-height:1.2}.tree-preview_ownerActions__WrSJ4{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px}.tree-preview_ownerActions__WrSJ4 a{display:inline-flex;align-items:center;text-decoration:none}.tree-preview_details__oPeXv .tree-preview_commonPortrait__sDwv6{display:grid}.tree-preview_card__9zTya{position:relative}.tree-preview_card__9zTya .tree-preview_completionDot__f4A_v{position:absolute;right:calc(9px / var(--tree-zoom));bottom:calc(9px / var(--tree-zoom));width:calc(9px / var(--tree-zoom));height:calc(9px / var(--tree-zoom));border-width:calc(2px / var(--tree-zoom));pointer-events:none}.tree-preview_completionHint__V2mAk{visibility:hidden;position:absolute;bottom:calc(100% + 6px / var(--tree-zoom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(180px / var(--tree-zoom));padding:calc(8px / var(--tree-zoom));border:1px solid var(--border-strong);border-radius:calc(8px / var(--tree-zoom));background:var(--surface);color:var(--text-primary);font-size:calc(12px / var(--tree-zoom));line-height:1.4;text-align:left;pointer-events:none;box-shadow:var(--shadow-card)}.tree-preview_card__9zTya:focus-visible .tree-preview_completionHint__V2mAk,.tree-preview_card__9zTya:hover .tree-preview_completionHint__V2mAk{visibility:visible}.tree-preview_canvas__Bz9HE .react-flow__node:has(.tree-preview_card__9zTya:focus-visible),.tree-preview_canvas__Bz9HE .react-flow__node:has(.tree-preview_card__9zTya:hover){z-index:2!important}.tree-preview_completeness__O7Z8B{margin-top:24px;padding:16px;border:1px solid var(--border);border-radius:14px}.tree-preview_completeness__O7Z8B h3{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:600;line-height:1.5}.tree-preview_completeness__O7Z8B p,.tree-preview_completeness__O7Z8B ul{margin:10px 0 0;font-size:12px;color:var(--text-secondary);line-height:1.6;overflow-wrap:anywhere}.tree-preview_completeness__O7Z8B ul{padding-left:18px}.tree-preview_headerLinks__nB0kk,.tree-preview_quickLinks__Y4ZjN{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px}.tree-preview_headerLinks__nB0kk a,.tree-preview_quickLinks__Y4ZjN a{min-height:48px;display:inline-flex;align-items:center}.tree-preview_treeSettings__Puv8b{margin:12px 0;border-bottom:1px solid var(--border);padding-bottom:8px}.tree-preview_treeSettings__Puv8b>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;gap:8px;color:var(--brand);list-style:none}.tree-preview_treeSettings__Puv8b>summary::-webkit-details-marker{display:none}.tree-preview_treeSettings__Puv8b>summary:before{content:"›";font-size:22px}.tree-preview_treeSettings__Puv8b[open]>summary:before{transform:rotate(90deg)}.tree-preview_treeSettings__Puv8b nav{margin:12px 0}.tree-preview_canvasToolbar__ug6O6{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:var(--surface);border-top:1px solid var(--border)}.tree-preview_canvasToolbar__ug6O6 .tree-preview_addControl__0B4eR{position:static;margin:0;max-width:100%}.tree-preview_canvasToolbar__ug6O6 .tree-preview_addControl__0B4eR button{border-radius:12px;min-height:48px;padding:10px 14px}.tree-preview_canvasToolbar__ug6O6 .tree-preview_panHint__yPNJW{flex:1 1 140px;margin:0}.tree-preview_canvasToolbar__ug6O6 .tree-preview_controls__18KhF{margin-left:auto}.tree-preview_canvasToolbar__ug6O6 .tree-preview_controls__18KhF>button,.tree-preview_canvasToolbar__ug6O6 .tree-preview_viewMenu__l791F summary{width:48px;height:48px}.tree-preview_sectionTarget__HvkM9{scroll-margin-top:16px;margin-top:20px}.tree-preview_quickLinks__Y4ZjN{margin-bottom:12px;color:var(--brand);font-size:14px}.tree-preview_viewerName___hBrb{font-size:14px;color:var(--text-secondary);overflow-wrap:anywhere}@media (max-width:639px){.tree-preview_canvasToolbar__ug6O6 .tree-preview_addControl__0B4eR{flex:1 1 100%}.tree-preview_canvasToolbar__ug6O6 .tree-preview_addControl__0B4eR button{width:100%}.tree-preview_canvasToolbar__ug6O6 .tree-preview_controls__18KhF{margin:0 auto}}.tree-preview_treePage__GW4ty{max-width:none;padding:var(--workspace-padding-top) var(--workspace-padding-inline) 20px;--workspace-height:max(380px,calc(100svh - 190px))}.tree-preview_treePage__GW4ty [hidden]{display:none!important}.tree-preview_workspaceHeading__pECXF{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 20px;min-height:48px;margin-bottom:4px}.tree-preview_workspaceHeading__pECXF h1{margin:0;font-size:clamp(20px,2vw,26px);line-height:1.3;font-weight:600;letter-spacing:-.025em}.tree-preview_treePage__GW4ty .tree-preview_canvasFrame__s_xlR{height:var(--workspace-height);min-height:0}.tree-preview_treePage__GW4ty .tree-preview_details__oPeXv{max-height:var(--workspace-height)}.tree-preview_treePage__GW4ty .tree-preview_workspace__6h6dA:has(.tree-preview_details__oPeXv[data-open=false]){grid-template-columns:minmax(0,1fr)}.tree-preview_treePage__GW4ty .tree-preview_details__oPeXv[data-open=false]{display:none}.tree-preview_treePage__GW4ty .tree-preview_loading__HSADF{min-height:var(--workspace-height)}.tree-preview_treePage__GW4ty .tree-preview_sectionTarget__HvkM9{max-width:none;margin:16px auto 0}.tree-preview_treePage__GW4ty .tree-preview_sectionTarget__HvkM9 h1{font-size:26px}.tree-preview_treePage__GW4ty #tree-preview_workspace-tree__qt0th:focus,.tree-preview_treePage__GW4ty .tree-preview_sectionTarget__HvkM9:focus{outline:none}.tree-preview_helpButton__DQpDX{min-height:44px;padding:10px 14px;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);color:var(--brand);font:inherit;font-size:14px}.tree-preview_cabinetActions__SEJMc{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:12px 0}.tree-preview_cabinetActions__SEJMc a{display:inline-flex;align-items:center;min-height:44px}@media(max-width:799px){.tree-preview_treePage__GW4ty{padding:var(--workspace-padding-top) var(--workspace-padding-inline) calc(146px + env(safe-area-inset-bottom));--workspace-height:max(320px,calc(100svh - 230px))}.tree-preview_treePage__GW4ty .tree-preview_workspace__6h6dA{border-radius:16px}.tree-preview_treePage__GW4ty .tree-preview_details__oPeXv[data-open=true]{max-height:96svh;z-index:20}.tree-preview_workspaceHeading__pECXF h1{font-size:20px}.tree-preview_treePage__GW4ty .tree-preview_sectionTarget__HvkM9{scroll-margin-top:12px}}.tree-preview_personActions__Ax_dE{display:grid;gap:12px;margin-top:20px}.tree-preview_personActions__Ax_dE:empty{display:none}.tree-preview_relativeName__5xXMZ{max-width:100%;white-space:normal;border:0;padding:4px 0;min-height:44px;background:transparent;color:var(--brand);font:inherit;text-align:left;text-decoration:underline;overflow-wrap:anywhere}.tree-preview_personActions__Ax_dE .tree-preview_branchAction__PxFWr{margin-top:0}.tree-preview_secondaryActions__cxy4B{margin-top:20px;border-top:1px solid var(--border);padding-top:8px}.tree-preview_secondaryActions__cxy4B summary{min-height:48px;padding:12px 0;color:var(--brand);cursor:pointer;font-size:13px}.tree-preview_secondaryActions__cxy4B>.tree-preview_branchAction__PxFWr{width:100%;margin-top:12px}.tree-preview_personActions__Ax_dE .tree-preview_addInDetails__oXxzT{margin-bottom:0}.tree-preview_familyHeading__2mDXq{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.tree-preview_familyHeading__2mDXq h3{margin:0;flex:1 1 140px}.tree-preview_familyHeading__2mDXq button{min-height:44px;border:1px solid var(--border-strong);border-radius:12px;padding:10px 12px;background:var(--surface);color:var(--brand);font-size:13px}.tree-preview_edgeHit__HnT60{pointer-events:stroke;cursor:pointer}.tree-preview_edgeHit__HnT60:focus-visible{stroke:var(--brand);stroke-opacity:.2;outline:none}.creation-person_fields__k8pu_{display:flex;flex-direction:column;gap:16px;min-width:0;border:0;padding:0;margin:0;text-align:left}.creation-person_fields__k8pu_ label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:14px;margin:0}.creation-person_fields__k8pu_ input{width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);color:var(--text-primary);font-size:16px}.creation-person_date__2NhaZ{min-width:0;margin:0;padding:12px;border:1px solid var(--border);border-radius:12px}.creation-person_date__2NhaZ legend{font-size:14px;padding:0 4px}.creation-person_hint__WbsRQ,.creation-person_optional___t_od{color:var(--text-secondary)}.creation-person_dateRow__1CkDy{display:flex;gap:10px}.creation-person_dateRow__1CkDy label{flex:1 1}.creation-person_date__2NhaZ .creation-person_toggle__WhXXA{min-height:44px;padding:8px 0;border:0;border-radius:8px;background:transparent;color:var(--brand);text-align:left;font-size:14px}.creation-person_hint__WbsRQ{font-size:12px;line-height:1.5;margin:0}.creation-person_error__PiS4b{color:var(--danger-text);font-size:14px;line-height:1.5}.creation-person_srOnly__EawE5{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.creation-person_fields__k8pu_ input:focus-visible,.creation-person_toggle__WhXXA:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.family-branch-controls_view__cA1zV{margin:6px 0;color:var(--text-secondary);font-size:13px;min-width:0}.family-branch-controls_toolbar__j_Lxw{display:flex;align-items:center;gap:8px}.family-branch-controls_toolbar__j_Lxw label{display:flex;flex:1 1 300px;min-width:0;max-width:470px}.family-branch-controls_toolbar__j_Lxw label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.family-branch-controls_toolbar__j_Lxw select{flex:1 1;min-width:0;width:100%;padding:8px 12px;color:var(--text-primary)}.family-branch-controls_toolbar__j_Lxw select,.family-branch-controls_view__cA1zV button{min-height:44px;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);font:inherit}.family-branch-controls_view__cA1zV button{padding:10px 12px;color:var(--brand);text-align:left;overflow-wrap:anywhere}.family-branch-controls_toolbar__j_Lxw>button{flex-shrink:0}.family-branch-controls_info__H3mNJ{display:flex;align-items:center;flex-wrap:wrap;gap:0 16px;min-height:44px}.family-branch-controls_info__H3mNJ p{margin:0;line-height:1.5}.family-branch-controls_info__H3mNJ details{position:relative}.family-branch-controls_view__cA1zV summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--brand);list-style:none}.family-branch-controls_view__cA1zV summary:before{content:"›";margin-right:8px;font-size:20px}.family-branch-controls_view__cA1zV details[open] summary:before{transform:rotate(90deg)}.family-branch-controls_view__cA1zV summary::-webkit-details-marker{display:none}.family-branch-controls_view__cA1zV ul{position:absolute;left:0;z-index:10;display:grid;gap:8px;margin:0;padding:12px;list-style:none;width:min(350px,calc(100vw - 40px));max-height:min(380px,60svh);overflow-y:auto;background:var(--surface);border:1px solid var(--border-strong);border-radius:14px;box-shadow:var(--shadow-card)}.family-branch-controls_view__cA1zV li{display:grid;gap:4px;min-width:0}.family-branch-controls_view__cA1zV li span{line-height:1.5;overflow-wrap:anywhere}@media(max-width:639px){.family-branch-controls_info__H3mNJ{gap:0 8px;justify-content:space-between}.family-branch-controls_info__H3mNJ details{position:static}.family-branch-controls_view__cA1zV{position:relative}.family-branch-controls_view__cA1zV ul{left:0;width:100%}}.family-branch-controls_related__UkEOd{position:relative;margin:4px 0}.family-branch-controls_related__UkEOd summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.family-branch-controls_related__UkEOd button{min-height:44px;width:100%;text-align:left;overflow-wrap:anywhere}.family-branch-controls_toolbar__j_Lxw{flex-wrap:wrap}.family-branch-controls_related__UkEOd summary:before{content:"›";margin-right:8px;font-size:18px}.family-branch-controls_related__UkEOd[open] summary:before{transform:rotate(90deg)}