:root{--fx-ink:#19314a;--fx-muted:#65778a;--fx-line:#dce5e9;--fx-gold:#eab64e;--fx-paper:#fff}*{box-sizing:border-box}body{margin:0;background:#f3f7f7;color:var(--fx-ink);font-family:inherit}.fx-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px max(20px,calc((100vw - 1380px)/ 2));background:#fffdf8;border-bottom:1px solid var(--fx-line)}.fx-brand{font-weight:800;font-size:1.1rem}.fx-header a{text-decoration:none;color:inherit}.fx-header nav{display:flex;gap:18px;font-size:.88rem}.fx-shell{max-width:1380px;margin:auto;padding:22px 18px 40px}.fx-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.fx-heading h1{margin:3px 0;font-size:clamp(1.4rem,2.6vw,2rem)}.fx-heading p{margin:0;color:var(--fx-muted);font-size:.88rem}.fx-eyebrow{font-size:.7rem;letter-spacing:.14em;color:#95651b;font-weight:800}.fx-actions a,.fx-actions button,.fx-outline,.fx-tools button{border:1px solid var(--fx-line);border-radius:9px;padding:9px 12px;background:#fff;color:var(--fx-ink);text-decoration:none;font:inherit;font-size:.83rem;cursor:pointer}.fx-tools{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:14px}.fx-search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.fx-tools input{flex:1;min-width:190px;max-width:420px;border:1px solid var(--fx-line);border-radius:10px;padding:11px 13px;background:#fff;color:var(--fx-ink);font:inherit}.fx-tools #fxCount{font-size:.77rem;color:var(--fx-muted);margin-left:auto}.fx-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.85fr);gap:16px;align-items:start}.fx-detail,.fx-tree{background:var(--fx-paper);border:1px solid var(--fx-line);border-radius:17px;box-shadow:0 5px 24px #18314b0a}.fx-tree{min-height:65vh;overflow:hidden}.fx-tree-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:15px 18px;border-bottom:1px solid var(--fx-line)}.fx-muted,.fx-tree-head small{color:var(--fx-muted)}.fx-tree-body{padding:13px 12px;max-height:calc(100dvh - 230px);min-height:440px;overflow:auto}.fx-branch{margin-left:17px;border-left:1px solid #d8e2e9;padding-left:11px}.fx-root>.fx-branch{margin-left:16px}.fx-item{display:flex;align-items:center;gap:7px;min-height:49px;padding:5px 4px;border-radius:10px}.fx-item.is-selected{background:#fff1c9}.fx-toggle{width:29px;height:31px;flex:none;border:0;border-radius:7px;background:#edf2f5;color:#3b5d77;cursor:pointer;font-size:.9rem}.fx-toggle:disabled{opacity:.35;cursor:default}.fx-person{min-width:0;flex:1;display:flex;align-items:center;gap:10px;text-align:left;background:0 0;border:0;padding:3px;cursor:pointer;color:inherit;font:inherit}.fx-avatar{width:36px;height:36px;flex:none;border-radius:50%;background:#e7eced;display:grid;place-items:center;overflow:hidden;color:#708297}.fx-avatar img{width:100%;height:100%;object-fit:cover}.fx-person-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.fx-person-copy strong{font-size:.88rem;overflow-wrap:anywhere}.fx-person-copy small{font-size:.71rem;color:var(--fx-muted)}.fx-badge{flex:none;border-radius:99px;padding:4px 7px;background:#eef2f5;font-size:.67rem;color:#42617a}.fx-spouses{margin:0 0 4px 54px;display:flex;gap:5px;flex-wrap:wrap}.fx-spouses button{border:1px solid #e6d6af;border-radius:20px;background:#fff8e7;padding:4px 8px;font:inherit;font-size:.72rem;color:#73531e;cursor:pointer}.fx-detail{position:sticky;top:16px;padding:22px;max-height:calc(100dvh - 32px);overflow:auto}.fx-detail-top{display:flex;gap:13px;align-items:center}.fx-detail-top .fx-avatar{width:64px;height:64px}.fx-detail h2{font-size:1.25rem;margin:0 0 5px}.fx-detail h3{font-size:.9rem;margin:20px 0 8px}.fx-detail p{font-size:.82rem}.fx-detail-meta{color:var(--fx-muted);font-size:.78rem}.fx-detail-list{display:flex;flex-wrap:wrap;gap:7px}.fx-detail-list button{border:1px solid var(--fx-line);border-radius:9px;padding:8px 10px;background:#fff;color:inherit;font:inherit;font-size:.78rem;cursor:pointer}.fx-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.fx-actions a,.fx-actions button{background:#f4f7f8}.fx-empty{padding:20px;color:var(--fx-muted);font-size:.86rem}.fx-detail button:focus-visible,.fx-person:focus-visible,.fx-toggle:focus-visible{outline:3px solid #d99c26;outline-offset:2px}[hidden]{display:none!important}@media(max-width:800px){.fx-layout{grid-template-columns:1fr}.fx-tree-body{max-height:52dvh;min-height:280px}.fx-detail{position:static;max-height:none}.fx-header nav{gap:9px;font-size:.75rem}.fx-heading{align-items:flex-start}.fx-outline{white-space:nowrap}.fx-tools #fxCount{margin-left:0;width:100%}}@media(max-width:420px){.fx-header{padding:12px}.fx-header nav a:first-child{display:none}.fx-shell{padding:14px 9px}.fx-detail{padding:15px}.fx-tree-body{padding:8px 5px}.fx-branch{margin-left:11px;padding-left:7px}}.fx-depth-label{font-size:.76rem;color:var(--fx-muted);font-weight:700}.fx-tools select{border:1px solid var(--fx-line);border-radius:9px;padding:9px 30px 9px 10px;background:#c6eee1;color:var(--fx-ink);font:inherit;font-size:.8rem}.fx-item.is-lineage{background:#f0eae7;box-shadow:inset 3px 0 0 #eda383}.fx-item.is-selected{background:#fff0bf!important;box-shadow:inset 4px 0 0 #eab64e}.fx-subroot-label{margin:16px 4px 7px;padding:7px 10px;border-top:1px dashed #dbc994;color:#8a641f;font-size:.72rem;font-weight:800}.fx-generation{border-top:1px solid #edf0f1}.fx-generation:last-of-type{border-bottom:1px solid #edf0f1}.fx-generation summary{display:flex;justify-content:space-between;gap:8px;cursor:pointer;padding:9px 2px;color:var(--fx-ink);font-size:.78rem;font-weight:750;list-style:none}.fx-generation summary::-webkit-details-marker{display:none}.fx-generation summary:before{content:'▸';width:13px;color:#607a8f}.fx-generation[open] summary:before{content:'▾'}.fx-generation summary span{margin-left:auto;color:var(--fx-muted);font-size:.68rem;font-weight:650}.fx-generation-list{display:grid;gap:6px;padding:0 0 9px 15px}.fx-generation-list button{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;border:1px solid var(--fx-line);border-radius:8px;padding:7px 9px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}.fx-generation-list button strong{font-size:.76rem}.fx-generation-list button small{font-size:.64rem;color:var(--fx-muted)}.fx-section-title{margin-top:18px!important;margin-bottom:5px!important;color:#34556f}.fx-center-person{margin:15px 0 4px;padding:9px 10px;border-radius:9px;background:#fff4d1;font-size:.78rem;font-weight:800;color:#6f511c}@media(max-width:800px){.fx-depth-label{display:none}.fx-tools select{max-width:135px}}.fx-generation-list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;padding:1px 0 10px 13px}.fx-generation-list button{display:inline-flex;width:auto;max-width:100%;flex:0 1 auto;justify-content:center;white-space:normal;overflow-wrap:anywhere;padding:6px 10px;border-radius:9px;font-size:.77rem;line-height:1.35}.fx-budget{margin:13px 0 3px;color:var(--fx-muted);font-size:.73rem}.fx-detail{padding:18px}.fx-detail h3{margin:13px 0 6px}.fx-generation summary{padding:7px 2px}.fx-actions{margin-top:13px}.fx-generation-list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:7px;padding:2px 0 10px 15px}.fx-generation-list button{display:inline-flex;width:auto;max-width:100%;flex:0 1 auto;justify-content:flex-start;gap:9px;align-items:center;padding:6px 10px;border-radius:9px}.fx-generation-list button strong{white-space:normal;overflow-wrap:anywhere}.fx-generation-list button small{white-space:nowrap;flex:none}.fx-window-label{font-size:.76rem;color:var(--fx-muted);margin:12px 0 4px}.fx-toggle{width:27px;height:27px;border-radius:50%;padding:0;display:grid;place-items:center;background:#f3f7f8;border:1px solid #d8e4e9;color:#315a76;font-size:.76rem;box-shadow:0 1px 3px #18314b0b;transition:transform .15s ease,background .15s ease,border-color .15s ease}.fx-toggle:not(:disabled):hover{background:#e8f1f4;border-color:#b9cdd7;transform:scale(1.06)}.fx-toggle:disabled{background:0 0;border-color:transparent;box-shadow:none;opacity:.3}.fx-avatar{background:#eef4f5;border:1px solid #e1eaed}.fx-avatar-fallback{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#f1f6f7,#e5eef1)}.fx-avatar-fallback svg{width:72%;height:72%;fill:#70889a}.fx-avatar-fallback.is-female{background:linear-gradient(145deg,#f8f1f2,#eee6e8)}.fx-avatar-fallback.is-female svg{fill:#8a737d}.fx-avatar-fallback.is-male{background:linear-gradient(145deg,#edf4f7,#e2edf2)}.fx-avatar-fallback.is-male svg{fill:#617f92}.fx-branch{position:relative;border-left-color:#cadbe3}.fx-root>.fx-branch{border-left-width:1.5px}.fx-item{position:relative}.fx-branch>.fx-root>.fx-item:before{content:'';position:absolute;left:-12px;top:50%;width:11px;border-top:1px solid #cadbe3}.fx-relation-group{margin-top:13px}.fx-relation-group h3{margin:0 0 6px;font-size:.86rem}.fx-relation-group .fx-generation-list{padding:0;gap:7px}.fx-relation-group .fx-generation-list button{font-size:.77rem;background:#fff;padding:7px 10px}.fx-center-person{margin:14px 0 2px}@media(max-width:420px){.fx-toggle{width:25px;height:25px}.fx-avatar{width:34px;height:34px}.fx-branch>.fx-root>.fx-item:before{left:-8px;width:7px}}.fx-shell{max-width:1440px;padding-top:24px}.fx-heading{margin-bottom:12px}.fx-tools{display:grid;grid-template-columns:minmax(260px,1fr) auto auto auto auto;gap:9px;align-items:center;margin-bottom:8px}.fx-tools input{max-width:none;width:100%;min-height:44px}.fx-depth-label{white-space:nowrap;margin-left:2px}.fx-tools button,.fx-tools select,.fx-tree-link{min-height:44px}.fx-tree-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:1px solid var(--fx-line);border-radius:9px;padding:9px 12px;background:#fff;color:var(--fx-ink);text-decoration:none;font:inherit;font-size:.83rem}.fx-tools #fxCount{grid-column:1/-1;justify-self:end;margin:0 2px 2px;font-size:.76rem}.fx-tree{height:clamp(590px,72vh,820px);min-height:590px;display:flex;flex-direction:column}.fx-tree-head{flex:none}.fx-tree-body{flex:1;min-height:0;max-height:none;overflow:auto}.fx-branch{margin-left:12px;padding-left:8px}.fx-root>.fx-branch{margin-left:12px}.fx-branch>.fx-root>.fx-item:before{left:-9px;width:8px}@media(max-width:1050px){.fx-tools{grid-template-columns:minmax(230px,1fr) auto auto auto}.fx-tree-link{grid-column:4}.fx-tools #fxCount{grid-column:1/-1}}@media(max-width:800px){.fx-tools{display:flex;flex-wrap:wrap}.fx-tools input{flex:1 1 100%;max-width:none}.fx-depth-label{display:inline}.fx-tree-link{margin-left:0}.fx-tree{height:62dvh;min-height:430px}.fx-tools #fxCount{width:100%;margin-left:auto;text-align:right}}@media(max-width:420px){.fx-tree{height:58dvh;min-height:360px}.fx-branch{margin-left:8px;padding-left:6px}.fx-root>.fx-branch{margin-left:8px}.fx-branch>.fx-root>.fx-item:before{left:-7px;width:6px}}.fx-tools{grid-template-columns:minmax(360px,1fr) auto auto auto auto;flex-wrap:nowrap}.fx-depth-control{display:flex;align-items:center;gap:8px;white-space:nowrap}.fx-depth-control select{min-width:120px}.fx-layout{grid-template-columns:minmax(0,1.86fr) minmax(320px,1fr)}@media(max-width:1100px){.fx-tools{grid-template-columns:minmax(260px,1fr) auto auto auto auto}.fx-depth-control{gap:5px}.fx-depth-control select{min-width:105px}.fx-layout{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr)}}@media(max-width:800px){.fx-tools{display:flex;flex-wrap:wrap}.fx-tools input{flex:1 1 100%}.fx-depth-control{display:flex}.fx-layout{grid-template-columns:1fr}}.fx-tree{height:auto!important;min-height:50vh!important;max-height:150vh!important;display:flex;flex-direction:column;align-self:start;overflow:hidden}.fx-tree-head{flex:0 0 auto}.fx-tree-body{height:auto!important;min-height:0!important;max-height:none!important;flex:0 1 auto!important;overflow-y:auto!important;overflow-x:hidden}