*{box-sizing:border-box}html,body{margin:0;background:#fafbf7;color:#183f35;font-family:Tahoma,Arial,sans-serif}body{height:100dvh;overflow:hidden}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:#215b48;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #c68e39;outline-offset:3px}[hidden]{display:none!important}.ct-header{height:76px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid #dce4d8;background:#fff;padding:10px 30px}.ct-brand{display:flex;align-items:center;gap:12px;font-size:30px;text-decoration:none;font-weight:700;color:#174c3e}.ct-brand>span{font-size:20px;display:flex;flex-direction:column}.ct-brand small{font-size:8px;letter-spacing:2px;margin-top:4px;color:#6b7d73}.ct-heading{flex:1}.ct-heading h1{font-size:22px;margin:0 0 5px}.ct-heading>span{font-size:11px;color:#718275}.ct-header nav{display:flex;gap:20px;font-size:12px}.ct-header nav a{text-decoration:none}.ct-header nav a:last-child{padding:10px 17px;background:#eaf1e3;border-radius:8px;font-weight:700}.ct-skip{position:fixed;top:-70px;padding:14px;background:#fff;z-index:100}.ct-skip:focus{top:5px}.ct-app{height:calc(100dvh - 76px);display:flex;flex-direction:column;position:relative}.ct-discover{display:flex;align-items:center;gap:15px;padding:14px 28px;background:#fafbf7;z-index:12;flex-shrink:0}.ct-discover>label{font-size:13px;font-weight:700}.ct-search-wrap{display:flex;align-items:center;position:relative;max-width:620px;flex:1;background:white;border:1px solid #cad8c5;border-radius:10px;min-width:0}.ct-search-wrap>span{font-size:25px;color:#729564;padding:0 12px}.ct-search-wrap>input{border:0;background:none;min-width:0;flex:1;padding:13px 0 13px 12px;color:#173f32;outline:none;font-size:13px}.ct-search-wrap>button{background:none;border:0;font-size:22px;padding:4px 12px;color:#637861}.ct-counts{font-size:11px;color:#758370;margin-right:auto;white-space:nowrap}.ct-results{position:absolute;top:calc(100% + 8px);right:0;left:0;max-height:60vh;overflow:auto;background:#fff;box-shadow:0 12px 45px #26452d22;border:1px solid #cad6c2;border-radius:12px;padding:10px;z-index:30}.ct-search-count{font-size:11px;padding:4px 10px;color:#718366;line-height:1.8}.ct-result{width:100%;display:flex;flex-direction:column;align-items:start;gap:7px;background:#f6f8f2;border:1px solid transparent;border-radius:8px;padding:13px;margin-bottom:6px;text-align:right;color:#194a39}.ct-result:hover{border-color:#b6c6a8;background:#edf3e5}.ct-result strong{font-size:14px}.ct-result small{font-size:10px;color:#75816b}.ct-path{display:flex;align-items:center;gap:7px;overflow:auto;padding:8px 28px 12px;white-space:nowrap;min-height:43px;flex-shrink:0;scrollbar-width:thin}.ct-path-item{border:0;background:#edf2e6;border-radius:6px;padding:6px 10px;color:#506b43;font-size:11px;flex-shrink:0}.ct-path-item.current{background:#dce9cf;color:#174c3e;font-weight:700}.ct-path-separator{color:#95a587;font-size:12px}.ct-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-top:1px solid #e1e7dc;border-bottom:1px solid #d6dfd0;padding:9px 22px;min-height:51px;flex-shrink:0;z-index:5}.ct-toolbar>div{display:flex;gap:7px;align-items:center}.ct-toolbar button{background:#f3f6ed;border:1px solid #dbe4d1;border-radius:7px;min-height:33px;padding:7px 11px;font-size:11px;color:#325b27;white-space:nowrap}.ct-toolbar button:hover{background:#e6eedb}.ct-toolbar #ct-home{background:#174c3e;border-color:#174c3e;color:#fff}.ct-zoom output{font-size:10px;color:#738467;min-width:39px;text-align:center;direction:ltr}.ct-zoom #ct-minus,.ct-zoom #ct-plus{font-size:20px;padding:0 7px;min-width:32px}.ct-workspace{display:flex;position:relative;flex:1;min-height:0;overflow:hidden;direction:ltr}.ct-viewport{position:relative;flex:1;overflow:hidden;min-width:0;background-color:#f7f9f2;background-image:radial-gradient(#cbd5be 0.8px,transparent .8px);background-size:22px 22px;touch-action:none;cursor:grab;outline-offset:-4px!important}.ct-viewport.dragging{cursor:grabbing}.ct-scene{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform;direction:rtl}.ct-lines{position:absolute;top:0;left:0;pointer-events:none;overflow:visible}.ct-edge{fill:none;stroke:#b2c39f;stroke-width:1.7;vector-effect:non-scaling-stroke}.ct-edge.historical{stroke:#b8924d;stroke-dasharray:8 5;stroke-width:1.8}.ct-edge.candidate,.ct-edge.source{stroke:#9aa7b0;stroke-dasharray:2 6}.ct-edge.person{stroke:#5790a4;stroke-width:1.9}.ct-edge.spouse{stroke:#b093a7;stroke-dasharray:7 3}.ct-edge.bridge{stroke:#c38436;stroke-width:2.4;stroke-dasharray:9 5}.ct-edge.selected{stroke-width:3}.ct-edge.extra{opacity:.85}.ct-node{position:absolute;left:0;top:0;width:226px;height:132px;border:1px solid #b9cbb0;border-radius:12px;background:white;box-shadow:0 3px 7px #314b2610;display:flex;flex-direction:column;overflow:hidden;cursor:default;contain:layout style}.ct-node.selected{border:2px solid #367343;box-shadow:0 0 0 4px #c0d5a955,0 5px 18px #30472815}.ct-node-main{flex:1;border:0;background:none;padding:10px 13px 7px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#173f32;min-height:0;overflow:hidden;width:100%}.ct-node-type{font-size:9px;line-height:1.3;color:#859676}.ct-node-name{font-size:18px;line-height:1.35;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ct-node-meta{font-size:10px;line-height:1.3;color:#697d60;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.ct-node.city{background:#174c3e;border-color:#174c3e}.ct-node.city .ct-node-main{color:white}.ct-node.city .ct-node-type,.ct-node.city .ct-node-meta{color:#b8d2a4}.ct-node.city .ct-node-name{font-size:29px}.ct-node.city .ct-expand{background:#215d46;color:#e4f0dc;border-color:#387055}.ct-node.clan{background:#eaf2e0;border-color:#a6bc92}.ct-node.clan .ct-node-name{font-size:24px}.ct-node.history{background:#fffaf0;border-style:dashed;border-color:#bfa373}.ct-node.history .ct-node-type{color:#a18351}.ct-node.source{background:#edf4f6;border-color:#b2cbd1}.ct-node.source .ct-node-type{color:#6d919c}.ct-node.source .ct-node-name{font-size:16px}.ct-node.unplaced{background:#f2f2ee;border-color:#c3c6ba;border-style:dashed}.ct-node.unplaced .ct-node-name{font-size:19px}.ct-node.gap{border:1px dashed #bd9658;background:#fff7e8}.ct-node.gap .ct-node-name{font-size:16px;color:#8b6937}.ct-expand{border:0;border-top:1px solid #dce5d6;background:#f2f6eb;color:#4a7140;padding:7px 5px;min-height:29px;font-size:10px;width:100%}.ct-expand:hover,.ct-expand-mini:hover{background:#e0edcf}.ct-node-actions{display:flex;border-top:1px solid #dce5d6;min-height:31px;background:#f7faf2;flex-shrink:0}.ct-gen{border:0;background:transparent;flex:1;min-width:0;padding:6px 4px;color:#3d775a;font-size:10px;min-height:30px;white-space:nowrap}.ct-gen+ .ct-gen{border-right:1px solid #dce5d6}.ct-gen:hover:enabled{background:#e3f0d8}.ct-expand-mini{border:0;border-right:1px solid #dce5d6;background:#edf4e5;color:#4b723e;font-size:17px;width:34px}.ct-node-empty{font-size:9px;text-align:center;padding:8px;color:#839076;background:#f8faf5;border-top:1px solid #e1e7dc;min-height:29px}.ct-map-tip{position:absolute;bottom:16px;right:18px;max-width:calc(100% - 145px);padding:8px 12px;background:#ffffffee;border:1px solid #dbe4d1;border-radius:8px;font-size:10px;line-height:1.6;color:#698159;pointer-events:none;direction:rtl}.ct-map-counter{position:absolute;bottom:16px;left:16px;padding:8px 10px;background:#ffffffdf;border:1px solid #dbe4d1;border-radius:7px;font-size:10px;color:#6f7c64;pointer-events:none;direction:rtl}.ct-detail{direction:rtl;width:325px;flex-shrink:0;background:#fff;border-left:1px solid #d6dfce;overflow:auto;overscroll-behavior:contain}.ct-detail-top{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:15px 20px;background:#fffef9;border-bottom:1px solid #e2e8dc}.ct-detail-top>span{font-size:10px;color:#879376}.ct-detail-top>button{border:1px solid #dbe2d2;border-radius:7px;min-width:31px;min-height:31px;background:#f5f8ef;font-size:20px;color:#527346}.ct-detail-body,#ct-detail-body{padding:22px 21px 30px}.ct-detail h2{font-size:25px;line-height:1.55;margin:0 0 12px;color:#184b38}.ct-detail h3{font-size:15px;line-height:1.65;margin:22px 0 12px}.ct-detail p{font-size:12px;line-height:1.9}.ct-detail-meta{color:#7c8b6f;font-size:11px!important}.ct-note{font-size:12px;line-height:1.9;color:#6a765f}.ct-detail .ct-note{background:#f6f7ef;border-right:3px solid #c7d3b5;padding:11px 13px;border-radius:5px;overflow-wrap:anywhere}.ct-detail .ct-link{display:block;font-size:11px;margin:16px 0;line-height:1.8}.ct-button{display:inline-flex;justify-content:center;align-items:center;gap:6px;padding:10px 15px;min-height:40px;border:1px solid #d4dec8;border-radius:8px;background:#f5f8ee;color:#305f2f;font-size:12px;text-decoration:none;line-height:1.6}.ct-button:hover{background:#eaf1de}.ct-primary{background:#245e42;color:#fff;border-color:#245e42}.ct-primary:hover{background:#31714f}.ct-detail .ct-button{width:100%;margin:8px 0}.ct-detail-generations{display:flex;border:1px solid #d6e3c7;border-radius:8px;background:#f2f7eb;overflow:hidden}.ct-detail-generations .ct-gen{font-size:12px;min-height:42px}.ct-detail-chain{color:#5e7750}.ct-relatives{border:1px solid #e0e7d7;border-radius:10px;padding:12px;margin:17px 0}.ct-relatives summary{font-size:12px;cursor:pointer;color:#5b7847;line-height:1.8}.ct-related{width:100%;background:#f3f6ec;border:1px solid #e3e9dc;border-radius:7px;padding:10px 12px;text-align:right;margin:8px 0 0;font-size:12px;line-height:1.7;color:#28573d}.ct-relation{padding:15px;border:1px dashed #d1ba95;border-radius:10px;background:#fffaf0;margin:15px 0}.ct-relation>strong{font-size:14px;line-height:1.7}.ct-relation-kind{font-size:10px;display:block;color:#9c7c4b;margin-top:8px}.ct-relation .ct-note{padding:0;border:0;background:transparent;font-size:11px}.ct-detail hr{border:0;border-top:1px solid #e0e7d6;margin:25px 0}.ct-connection-card{border:1px solid #dbc59d;border-radius:11px;background:#fffbf1;padding:16px;margin:18px 0}.ct-connection-card h3{margin:0 0 12px;font-size:15px}.ct-connection-card .ct-note{border:0;padding:0;background:none;font-size:11px}.ct-legend{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 23px;padding:11px 18px;background:#fff;border-top:1px solid #dce4d2;font-size:10px;color:#738263;flex-shrink:0}.ct-legend>span{display:flex;align-items:center;gap:7px;white-space:nowrap}.ct-line-sample{display:inline-block;width:23px;border-top:2px solid #a5b794}.ct-line-sample.historical{border-top-style:dashed;border-color:#b8924d}.ct-line-sample.candidate{border-top-style:dotted;border-color:#8f9daa}.ct-line-sample.person{border-color:#5790a4}.ct-legend>button{background:none;border:0;text-decoration:underline;text-underline-offset:3px;font-size:10px;color:#476c3c;padding:0;min-height:20px}.ct-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.ct-nojs{position:fixed;inset:130px 20px auto;background:white;z-index:80;padding:30px;border:1px solid #cad8bd;border-radius:14px;line-height:1.9}#ct-dialog{border:1px solid #c8d4bc;border-radius:17px;background:#fffef9;max-width:550px;width:calc(100% - 30px);max-height:80dvh;color:#244e38;padding:23px;overscroll-behavior:contain}#ct-dialog::backdrop{background:#183b3177}.ct-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.ct-dialog-top h2{font-size:20px;line-height:1.7;margin:0}.ct-dialog-top>button{min-width:36px;min-height:36px;border:1px solid #d6e1c8;background:#f4f7ed;border-radius:8px;font-size:24px;color:#4b6c3f}#ct-dialog-body p{font-size:13px;line-height:2}.ct-choice{width:100%;padding:14px;text-align:right;border:1px solid #d7e3cb;border-radius:9px;background:#f4f8ed;margin:7px 0;font-size:14px;color:#28573a;line-height:1.7}#ct-dialog input{width:100%;padding:14px;border:1px solid #ccdaba;border-radius:8px;direction:ltr}
@media(max-width:1100px){.ct-counts{display:none}.ct-detail{width:295px}.ct-discover>label{font-size:12px}.ct-header{padding:10px 22px}}
@media(max-width:700px){.ct-header{height:63px;padding:9px 14px;gap:12px}.ct-brand{font-size:24px;gap:8px}.ct-brand>span{font-size:15px}.ct-brand small{font-size:6px;letter-spacing:1px}.ct-heading h1{font-size:18px;margin-bottom:4px}.ct-heading>span{font-size:8px;display:block}.ct-header nav a:first-child{display:none}.ct-header nav{gap:0;font-size:10px}.ct-header nav a:last-child{padding:9px 10px}.ct-app{height:calc(100dvh - 63px)}.ct-discover{padding:11px 14px;gap:0}.ct-discover>label{display:none}.ct-search-wrap{max-width:none}.ct-search-wrap>input{font-size:12px;padding:12px 0 12px 10px}.ct-search-wrap>span{padding:0 10px;font-size:23px}.ct-path{padding:2px 14px 10px;gap:5px;min-height:37px}.ct-path-item{font-size:10px;padding:5px 8px}.ct-toolbar{flex-wrap:wrap;padding:8px 12px;gap:8px;min-height:77px}.ct-toolbar>div:first-child{flex:1;flex-wrap:wrap;gap:5px}.ct-toolbar button{font-size:10px;padding:6px 9px;min-height:32px}.ct-zoom{margin-right:auto;gap:5px!important}.ct-zoom output{font-size:9px;min-width:34px}.ct-zoom #ct-minus,.ct-zoom #ct-plus{font-size:18px;min-width:30px}.ct-map-tip{font-size:8px;bottom:10px;right:10px;padding:7px 9px;max-width:calc(100% - 116px)}.ct-map-counter{bottom:10px;left:10px;font-size:8px;padding:7px 8px}.ct-legend{font-size:8px;gap:7px 11px;padding:9px 12px;justify-content:flex-start;min-height:51px}.ct-legend>span{gap:5px}.ct-line-sample{width:17px}.ct-legend>button{font-size:8px;min-height:16px}.ct-detail{position:absolute;z-index:10;bottom:0;right:0;left:0;width:100%;height:42%;max-height:46dvh;border:1px solid #b9cbae;border-radius:18px 18px 0 0;box-shadow:0 -8px 25px #2c472521}.ct-detail-top{padding:10px 17px}.ct-detail-top>span{font-size:10px}.ct-detail-top>button{min-width:32px;min-height:30px}.ct-detail h2{font-size:24px;margin:0 0 8px}#ct-detail-body{padding:16px 20px 25px}.ct-detail p{font-size:12px}.ct-detail .ct-note{font-size:11px;padding:9px 12px;margin:10px 0}.ct-relatives{margin:12px 0}.ct-result{padding:12px}.ct-result strong{font-size:13px}.ct-results{max-height:55dvh}.ct-search-count{font-size:10px}.ct-workspace.has-detail .ct-map-tip,.ct-workspace.has-detail .ct-map-counter{bottom:calc(42% + 9px)}.ct-connection-card{padding:15px}.ct-dialog-top h2{font-size:18px}#ct-dialog{padding:19px}}
@media(max-height:650px) and (min-width:701px){.ct-header{height:61px}.ct-app{height:calc(100dvh - 61px)}.ct-discover{padding-top:8px;padding-bottom:8px}.ct-path{padding-bottom:7px;min-height:36px}.ct-toolbar{min-height:45px;padding-top:6px;padding-bottom:6px}.ct-legend{padding:7px 15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
