:root{--font-sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-family:var(--font-sans);color:#28364b;background:#fff;font-synthesis:none;font-size:14px;--muted:#7b8697;--line:#e9edf3;--navy:#2c3d52}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,svg:focus-visible{outline:3px solid #a28bdf;outline-offset:3px}button{border:0;background:none}button:hover{filter:brightness(.96)}[hidden]{display:none!important}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:16px}.brand{display:flex;gap:13px;text-decoration:none;color:var(--navy);align-items:center;font-family:var(--font-sans);font-size:25px;letter-spacing:-.8px}.brand-mark{background:var(--navy);color:#e0d4fe;width:43px;height:43px;display:grid;place-items:center;border-radius:13px;font-family:Arial,sans-serif;font-size:38px}.brand-sub{display:block;font:10px/1.8 ui-sans-serif,sans-serif;letter-spacing:1.7px;color:var(--muted);margin-top:2px}.header-actions{display:flex;align-items:center;gap:24px}.local-label{color:var(--muted);font-size:13px}.primary{background:var(--navy);color:#fff;border-radius:8px;padding:12px 17px;font-weight:550;font-size:14px}.workspace{display:flex;height:calc(100dvh - 88px);min-height:560px}.sidebar{width:246px;flex:none;border-right:1px solid var(--line);padding:29px 23px 20px;display:flex;flex-direction:column;overflow:auto}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.65px;color:var(--muted)}.sidebar-heading{display:flex;align-items:center;justify-content:space-between}.tiny-flower{font-size:23px;color:#8c79bc}h1{font:28px/1.2 var(--font-sans);letter-spacing:-.7px;margin:17px 0 11px}.intro{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 25px}.search{display:flex;align-items:center;gap:7px;background:#f6f8fb;border:1px solid #e7ebf0;border-radius:7px;padding:9px 10px}.search>span{font-size:22px;line-height:18px}.search input{min-width:0;width:100%;border:0;outline:none;background:transparent;font-size:12px;color:var(--navy)}kbd{color:#929baa;background:#fff;border:1px solid var(--line);border-radius:3px;padding:0 4px}.search-results{padding:6px 0;max-height:250px;overflow:auto}.search-results button{display:block;text-align:left;width:100%;padding:10px 7px;border-radius:5px;font-size:13px}.search-results button:hover{background:#f0ecfa}.search-results p{color:var(--muted);font-size:13px}.section-label{font-size:10px;font-weight:650;letter-spacing:1.1px;margin-top:30px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;color:var(--muted)}.text-button{font-size:12px;letter-spacing:0;font-weight:450;padding:2px;color:#657188;text-decoration:none}.text-button:hover{text-decoration:underline}.org-filters{display:flex;flex-direction:column;gap:5px}.org-filter{display:flex;align-items:center;gap:10px;padding:11px 10px;border-radius:7px;text-align:left;color:#48546a;border:1px solid transparent}.org-filter.active{background:var(--pale);border-color:color-mix(in srgb,var(--org) 12%,transparent)}.org-filter:not(.active){opacity:.55}.org-dot{height:9px;width:9px;display:inline-block;border-radius:50%;background:var(--org);flex:none}.org-filter .org-count{margin-left:auto;color:var(--org);font-size:12px}.org-filter .check{font-size:11px;color:var(--org)}.year-filter{display:flex;flex-wrap:wrap;gap:6px}.year-filter button{font-size:12px;border:1px solid var(--line);border-radius:6px;padding:8px 9px;color:#7b8697}.year-filter button.active{background:#edf0f6;color:#34465f;border-color:#dce2ec}.year-filter small{font-size:10px;margin-left:3px;opacity:.75}.sidebar-bottom{margin-top:auto;padding-top:30px}.how-to{border-top:1px solid var(--line);padding-top:22px}.how-to p{font-size:11px;color:#7b8697;display:flex;align-items:center;gap:7px;margin:13px 0}.legend-line{width:19px;height:2px;background:#8c79bc;flex:none}.legend-badge{font-size:9px;min-width:20px;display:inline-block;text-align:center;padding:3px 2px;border:1px solid #e3e7ed;border-radius:4px;color:#66748a}.how-to .legend-note{line-height:1.7;font-size:11px;padding-top:4px}.data-actions{display:flex;align-items:center;gap:8px;padding-top:17px;color:#acb4c0}.local-note{font-size:9px;color:#929baa;display:block;margin-top:8px}.map-shell{position:relative;flex:1;min-width:0;overflow:hidden;background-color:#f8f9fc;background-image:radial-gradient(#dce2eb .75px,transparent .75px);background-size:20px 20px}.map-heading{position:absolute;left:28px;right:24px;top:27px;display:flex;justify-content:space-between;align-items:center;gap:10px;z-index:2;pointer-events:none}.map-heading>div{background:#f8f9fcdd;padding:4px 8px 5px 0;border-radius:8px}.map-heading h2{font-size:20px;font-weight:550;letter-spacing:-.6px;margin:9px 0 0}.map-heading h2 span{font-size:11px;letter-spacing:0;font-weight:400;padding:4px 7px;background:#e9edf5;color:#768295;border-radius:5px;margin-left:5px;vertical-align:middle}.map-home{pointer-events:auto;display:flex;align-items:center;gap:6px;color:#66748a;font-size:20px;background:#ffffffd9;border:1px solid #e3e8ef;padding:9px;border-radius:7px}.map-home span{font-size:11px}#graph{width:100%;height:100%;touch-action:none;cursor:grab;display:block}#graph.dragging{cursor:grabbing}.graph-ring{fill:none;stroke:#e3e7f0;stroke-width:1;stroke-dasharray:4 8;pointer-events:none}.edge{fill:none;stroke-width:1.6;opacity:.34;pointer-events:stroke;transition:opacity .15s}.edge.related{stroke-width:2.3;opacity:.8}.edge.dim{opacity:.06}.node{cursor:pointer;outline:none;transition:opacity .15s}.node.dim{opacity:.17}.node .avatar{stroke-width:1.5;filter:drop-shadow(0 3px 4px #24385808)}.node:hover .avatar,.node:focus-visible .avatar{stroke-width:3;filter:drop-shadow(0 3px 6px #24385828)}.node.selected .selection{stroke:#344760;stroke-width:1.5;fill:none}.node .initials{font-size:13px;font-weight:600;text-anchor:middle;dominant-baseline:central;pointer-events:none}.node .name{font-size:12px;fill:#39465c;font-weight:550;text-anchor:middle;paint-order:stroke;stroke:#f8f9fc;stroke-width:4px;stroke-linejoin:round;pointer-events:none}.node .meta{font-size:10px;fill:#8290a4;text-anchor:middle;paint-order:stroke;stroke:#f8f9fc;stroke-width:3px;pointer-events:none}.node.root .initials{font:26px var(--font-sans);fill:white}.node.root .name{font-size:17px;font-weight:550}.node.root .meta{font-size:10px;letter-spacing:1.3px}.map-footer{position:absolute;bottom:23px;left:24px;display:flex;gap:18px;font-size:10px;color:#8b96a7;pointer-events:none}.gesture-hint i{font-style:normal;padding:0 5px}.zoom-controls{position:absolute;right:24px;bottom:19px;display:flex;align-items:center;background:#fff;border:1px solid #e3e8ef;border-radius:8px;padding:4px;box-shadow:0 3px 10px #253b5510}.zoom-controls button{height:32px;width:32px;font-size:20px}.zoom-controls span{font-size:11px;min-width:40px;text-align:center;color:#6e7b90}.zoom-controls .control-divider{min-width:1px;height:18px;background:#e5e9ef;margin:0 4px}.details{width:294px;flex:none;border-left:1px solid var(--line);padding:25px 23px;overflow:auto;background:white}.detail-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.icon-button{font-size:22px;color:#8893a5;width:29px;height:29px;border-radius:6px}.detail-avatar{height:64px;width:64px;border-radius:21px;background:var(--pale,#edf0f6);color:var(--org,#33465e);display:grid;place-items:center;font-size:22px;font-weight:500;margin-bottom:16px}.details h2{font:29px/1.15 var(--font-sans);letter-spacing:-.6px;margin:0 0 7px;overflow-wrap:anywhere}.person-sub{color:#8b95a5;font-size:12px;line-height:1.6;margin:0}.org-tags{display:flex;gap:5px;margin-top:13px;flex-wrap:wrap}.org-tag{padding:5px 8px;background:var(--pale);color:var(--org);border-radius:5px;font-size:10px;font-weight:600}.detail-stats{display:grid;grid-template-columns:1fr 1fr;margin-top:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0}.detail-stats>div+div{padding-left:20px;border-left:1px solid var(--line)}.detail-stats strong{font-size:23px;font-weight:500;display:block;margin-bottom:5px}.detail-stats span{font-size:10px;color:#8691a2}.detail-section{margin-top:25px}.detail-section h3{font-size:10px;letter-spacing:1.2px;font-weight:650;color:#8490a0;margin:0 0 12px}.relation-card{display:flex;gap:9px;align-items:center;text-align:left;width:100%;padding:10px 0;border-bottom:1px solid #f1f3f7}.mini-avatar{flex:none;width:30px;height:30px;border-radius:10px;background:var(--pale,#edf0f6);color:var(--org,#34465f);display:grid;place-items:center;font-size:10px;font-weight:600}.relation-info{min-width:0;flex:1}.relation-info strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.relation-info small{display:block;font-size:10px;color:#8a95a6;margin-top:3px}.relation-arrow{font-size:13px;color:#a2abba}.org-section-label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--org);font-weight:600;padding-top:12px;margin-bottom:3px}.org-section-label span:last-child{margin-left:auto;font-size:10px}.detail-empty{font-size:12px;line-height:1.7;color:#8993a3;background:#f7f8fb;padding:13px;border-radius:7px}.detail-footnote{font-size:11px;line-height:1.65;color:#8b95a5;margin-top:20px}.detail-add{width:100%;border:1px dashed #d8dfeb;border-radius:7px;padding:11px;font-size:12px;color:#69778c;margin-top:20px}.empty-state{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);background:#fff;padding:25px;text-align:center;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px #293f5410;min-width:270px}.empty-state h3{font-size:17px}.empty-state p{font-size:13px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:16px;width:min(460px,calc(100% - 30px));max-height:90dvh;padding:27px;color:var(--navy);box-shadow:0 20px 100px #13263c40}dialog::backdrop{background:#23314655;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:center;justify-content:space-between}dialog h2{font:29px var(--font-sans);margin:16px 0 10px}dialog p{font-size:13px;line-height:1.7;color:var(--muted)}dialog form>label,.form-row>label{display:block;font-size:12px;font-weight:550;margin-top:17px}dialog input:not([type=radio]),dialog select{width:100%;padding:11px 10px;background:#fff;border:1px solid #dce2eb;border-radius:6px;display:block;margin-top:7px;font-size:14px;color:var(--navy)}.form-row{display:flex;gap:14px}.form-row>label{flex:1}.person-mode{padding:0;border:0;margin:20px 0 0}.person-mode legend{font-size:12px;font-weight:550;margin-bottom:8px}.person-mode label{font-size:12px;margin-right:14px}.person-mode input{accent-color:#7660cf}.optional{font-size:11px;color:#909aa8;font-weight:400;margin-left:5px}.form-error{color:#b64151!important}.submit{width:100%;margin-top:5px}dialog .form-note{font-size:11px;margin-bottom:0;text-align:center}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#2c3d52;color:#fff;z-index:20;padding:13px 20px;border-radius:8px;box-shadow:0 5px 20px #2c3d5230;font-size:13px;max-width:90vw}.detail-closed{display:none}
@media(min-width:1600px){.sidebar{width:265px;padding:35px 28px}.details{width:315px;padding:28px}.map-heading{left:35px;top:32px}}
@media(max-width:1150px){.sidebar{width:218px;padding:25px 18px}.details{width:255px;padding:23px 18px}.local-label{display:none}.gesture-hint{display:none}.map-heading{left:19px;right:18px}.map-home span{display:none}.map-heading h2{font-size:18px}.eyebrow{font-size:9px}}
@media(max-width:850px){.topbar{height:74px;padding:0 18px}.brand{font-size:21px}.brand-sub{font-size:8px}.brand-mark{width:37px;height:37px;font-size:31px}.header-actions .primary{font-size:12px;padding:11px}.workspace{height:calc(100dvh - 74px);min-height:500px}.sidebar{width:185px;padding:20px 14px}.sidebar h1{font-size:25px}.intro{font-size:11px}.details{position:absolute;right:12px;top:171px;bottom:74px;width:250px;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 35px #273e561a;z-index:4}.map-heading{top:19px}.map-footer{left:15px}.zoom-controls{right:14px}}
@media(max-width:600px){.topbar{height:70px;padding:0 14px}.brand{font-size:19px;gap:8px}.brand-sub{font-size:7px;letter-spacing:1px}.brand-mark{width:32px;height:32px;font-size:28px;border-radius:10px}.header-actions .primary{font-size:11px;padding:10px 9px}.workspace{height:calc(100dvh - 70px);min-height:560px;display:flex;flex-direction:column}.sidebar{width:100%;padding:12px 14px;overflow:visible;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:10px}.sidebar-heading,.sidebar h1,.intro,.section-label,.how-to,.sidebar-bottom{display:none}.search{grid-column:1/-1;min-height:37px}.search input{font-size:14px}.search-results{position:absolute;top:119px;left:14px;right:14px;background:#fff;z-index:10;box-shadow:0 10px 20px #263b5420;padding:10px;border-radius:7px}.org-filters{grid-column:1/-1;flex-direction:row;gap:6px}.org-filter{flex:1;padding:7px 6px;font-size:11px;gap:5px;justify-content:center}.org-filter .org-count{margin-left:0;font-size:10px}.org-filter .check{display:none}.org-dot{width:6px;height:6px}.year-filter{grid-column:1/-1;gap:7px}.year-filter button{padding:5px 10px;font-size:11px}.map-shell{min-height:340px}.map-heading{top:13px;left:17px;right:13px}.map-heading .eyebrow{display:none}.map-heading h2{margin:0;font-size:17px}.map-heading h2 span{font-size:10px}.map-home{padding:5px 8px}.map-footer{bottom:23px;font-size:9px}.zoom-controls{bottom:14px}.zoom-controls button{width:28px;height:28px}.zoom-controls span{min-width:32px}.details{position:fixed;top:auto;left:10px;right:10px;bottom:10px;width:auto;max-height:47dvh;padding:17px 20px;border-radius:14px;z-index:5}.detail-top{margin-bottom:10px}.detail-avatar{float:left;width:45px;height:45px;border-radius:15px;font-size:17px;margin-right:13px;margin-bottom:9px}.details h2{font-size:24px}.org-tags{margin-top:9px}.detail-stats{clear:both;margin-top:15px;padding:11px 0}.detail-stats strong{font-size:19px}.detail-section{margin-top:18px}.detail-footnote{font-size:10px}.detail-add{margin-top:13px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep controls and relationship information readable at compact widths. */
.intro,.search input,.text-button,.year-filter button,.org-filter{font-size:14px}
.section-label,.eyebrow,.brand-sub,.how-to p,.how-to .legend-note,.local-note,.map-footer,.map-home span,.person-sub,.org-tag,.detail-stats span,.detail-section h3,.relation-info small,.org-section-label,.detail-footnote,.detail-add{font-size:12px}
.relation-info strong,.search-results button{font-size:14px}
.node .name{font-size:15px}.node .meta{font-size:12px}.node .initials{font-size:15px}
.brand-sub{font-size:10px}.sidebar .eyebrow,.section-label{font-size:11px}
.sidebar h1{font-size:27px}.sidebar .intro{font-size:12px}.map-heading .eyebrow{font-size:10px}
@media(max-width:850px){.sidebar h1{font-size:25px}.org-filter,.year-filter button{font-size:12px}.map-footer{font-size:10px}.brand-sub{font-size:8px}}
@media(max-width:600px){.sidebar-bottom{display:block;grid-column:1/-1;margin:0;padding:0}.sidebar-bottom .how-to,.sidebar-bottom .local-note{display:none}.data-actions{padding:0;justify-content:flex-end}.data-actions .text-button{font-size:11px}.org-filter,.year-filter button{font-size:12px}.map-heading h2{font-size:17px}.brand-sub{font-size:7px}.relation-info strong{font-size:14px}}
.co-big-bar{fill:none;stroke:#526174;stroke-width:3;stroke-linecap:square;opacity:.72}.co-big-label{font:600 11px var(--font-sans);fill:#526174;text-anchor:middle;paint-order:stroke;stroke:#f8f9fc;stroke-width:4px;stroke-linejoin:round}.co-big-edge.dim{opacity:.09}.co-big-edge.related .co-big-bar{opacity:1;stroke-width:4}.edge.external-edge{opacity:.23}.node.external .avatar{stroke-dasharray:3 3}.node.external .name{fill:#717d8d}.node.external .meta{fill:#627083;font-weight:650;letter-spacing:.7px}.external-tag{display:inline-block;background:#e9edf1;color:#596778;border:1px solid #d6dde5;border-radius:4px;padding:2px 5px;font-size:11px;font-weight:550;vertical-align:middle}.shared-littles{font-size:12px;color:#778395;line-height:1.6;margin:5px 0 12px}.relation-info .relation-source{font-size:11px;color:#7c8899}.legend-cobig{font-size:17px;color:#526174;line-height:12px}.legend-external{width:18px;height:18px;border:1px dashed #8996a5;border-radius:50%;background:#e9ecf0;flex:none}.details>.external-tag{margin:2px 0 8px}.map-heading h2 span{display:inline-block}.map-footer{max-width:calc(100% - 215px);flex-wrap:wrap;gap:5px 18px}
.co-big-label-bg{fill:#f8f9fc;opacity:.94;pointer-events:none}
.direct-cobig-group{margin:10px 0 14px;padding:10px 11px 3px;border:1px solid color-mix(in srgb,var(--cobig-org) 32%,white);border-left:4px solid var(--cobig-org);border-radius:8px;background:var(--cobig-pale)}
.direct-cobig-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--cobig-org);font-size:12px;margin-bottom:3px}
.direct-cobig-heading strong{font-weight:750;letter-spacing:.6px}
.direct-cobig-heading span{font-weight:600;text-align:right}
.direct-cobig-group .relation-card{border-bottom-color:color-mix(in srgb,var(--cobig-org) 15%,white)}
.direct-cobig-group .relation-card:last-child{border-bottom:0}
.generation-controls{margin-top:27px;padding-top:17px;border-top:1px solid var(--line)}
.generation-heading{display:flex;justify-content:space-between;gap:5px;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:.7px}
.generation-heading span:last-child{white-space:nowrap;letter-spacing:0;font-weight:500}
.generation-presets{display:flex;flex-wrap:wrap;gap:5px;margin-top:11px}
.generation-presets button,.generation-modes button{border:1px solid #dfe5ee;color:#637188;background:#fff;border-radius:6px;font-size:12px;padding:6px 8px}
.generation-presets button.active,.generation-modes button.active{background:#e8ebf5;color:#2c3d52;border-color:#a9b6ca;font-weight:650}
.generation-presets button[data-generation]:not([data-generation="all"])::before{content:"";display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px;vertical-align:-1px;background:var(--generation-color)}
.generation-modes{display:flex;margin-top:11px;gap:6px}
.generation-modes button{flex:1;white-space:nowrap}
.generation-range{display:flex;align-items:end;gap:5px;margin-top:10px}
.generation-range label{min-width:0;flex:1;color:#647187;font-size:11px}
.generation-range input{display:block;width:100%;height:31px;margin-top:4px;padding:4px 5px;border:1px solid #dfe5ee;border-radius:6px;color:var(--navy);background:#fff;font-size:12px}
.generation-range button{height:31px;padding:0 8px;border-radius:6px;background:var(--navy);color:#fff;font-size:12px}
.node .generation-badge{pointer-events:none;filter:drop-shadow(0 1px 2px #24385830)}
.node .generation-badge rect{stroke:#f8f9fc;stroke-width:2}
.node .generation-badge text{fill:#fff;font-size:12.5px;font-weight:750;text-anchor:middle;dominant-baseline:central;letter-spacing:-.4px}
.node.generation-focus .generation-badge{filter:drop-shadow(0 2px 5px #526b9b88)}
.node.generation-focus .generation-badge rect{stroke:#fff;stroke-width:3}
.node.generation-focus .avatar{stroke-width:2.5}
.node.generation-focus .name{font-weight:700}
.edge.generation-focus{stroke-width:2.3;opacity:.77}
.co-big-edge.generation-focus .co-big-bar{opacity:1;stroke-width:4}
.co-big-edge.related .co-big-bar{stroke:#263e5e;stroke-width:5}
.co-big-edge.related .co-big-label{fill:#263e5e;font-weight:750}
.edge.external-edge.generation-focus{opacity:.65}
@media(max-width:600px){.generation-controls{grid-column:1/-1;margin-top:0;padding-top:7px}.generation-heading{font-size:10px}.generation-presets{margin-top:6px}.generation-modes{margin-top:7px}.generation-range{margin-top:7px}.generation-range label{max-width:95px}.generation-range button{margin-right:auto}}
.search-wrap{position:relative;flex:none;z-index:6}
.search-results{position:absolute;top:calc(100% + 5px);left:0;right:0;max-height:min(300px,50dvh);overflow-y:auto;overscroll-behavior:contain;padding:6px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 28px #263b5420}
@media(max-width:600px){.search-wrap{grid-column:1/-1}.search-results{top:calc(100% + 5px);left:0;right:0;max-height:min(280px,45dvh)}}
.relationship-button{border:1px solid #dce2ec;border-radius:8px;padding:11px 13px;font-size:13px;font-weight:600;color:#40506a;background:#fff;white-space:nowrap}
.detail-relationship{width:100%;margin-top:20px;padding:11px;border:1px solid #bec9dc;border-radius:7px;background:#f5f7fb;font-size:12px;font-weight:650;color:#344760;text-align:center}
.relationship-pick{position:absolute;top:92px;left:50%;transform:translateX(-50%);z-index:5;background:#344760;color:#fff;border-radius:8px;padding:10px 12px;display:flex;align-items:center;gap:14px;white-space:nowrap;box-shadow:0 6px 20px #22304440;font-size:12px}
.relationship-pick button{color:#fff;text-decoration:underline;font-size:12px}
#relationship-dialog{width:min(520px,calc(100% - 30px))}
.relationship-person{margin-top:17px}
.relationship-person label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}
.relationship-person>div{display:flex;gap:7px;align-items:center}
#relationship-dialog .relationship-person input{flex:1;min-width:0;margin:0}
.relationship-person button{flex:none;border:1px solid #dce2ec;border-radius:6px;padding:10px;font-size:11px;color:#52647e}
.relationship-result{max-height:35dvh;overflow:auto;margin-top:15px}
.relationship-result h3{font-size:12px;color:#647188;margin:0 0 8px;text-transform:uppercase;letter-spacing:.7px}
.relationship-result p{margin:10px 0 0}
.relationship-answer{border:1px solid #e5eaf2;background:#f7f9fc;border-radius:7px;padding:12px;margin-top:7px;line-height:1.5}
.relationship-answer strong{display:block;font-size:13px;font-weight:600}
.relationship-answer small{display:block;color:#7d899a;font-size:11px;margin-top:5px}
@media(max-width:850px){.header-actions{gap:8px}.relationship-button span{display:none}.relationship-button{padding:9px 11px;font-size:19px;line-height:1}}
@media(max-width:600px){.relationship-pick{top:65px;max-width:calc(100% - 20px);white-space:normal}.relationship-person>div{flex-wrap:wrap}.relationship-person button{padding:8px}}
.graph-region{pointer-events:none}
.map-shell{background-color:var(--outer-region,hsl(211 52% 77%))}
.external-filter{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:12px;color:#68768b;cursor:pointer}.external-filter input{accent-color:#788697;margin:0}.external-filter small{margin-left:auto;color:#8b95a5;font-size:11px}
@media(max-width:600px){.external-filter{grid-column:1/-1;margin:0;font-size:11px}.external-filter small{margin-left:0}}
.graph-ring{fill:none;stroke:#9db5cc;stroke-width:1.8;stroke-dasharray:none;opacity:.9;vector-effect:non-scaling-stroke;pointer-events:none}
.graph-isobath-label{fill:#294664;font-weight:800;text-anchor:middle;dominant-baseline:central;paint-order:stroke;stroke:#f3f7fc;stroke-linejoin:round;pointer-events:none}
.graph-future-label{fill:#fff;stroke:#527ba3}
.map-heading>div,.map-home,.zoom-controls{background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(236,246,255,.58));-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);border:1px solid rgba(255,255,255,.75);box-shadow:0 7px 24px rgba(36,62,95,.14),inset 0 1px rgba(255,255,255,.8);border-radius:14px}
.map-heading>div{padding:7px 11px}
.map-heading h2{margin:0}
.map-heading h2 span{background:rgba(255,255,255,.48)}
.node.root .initials{font-size:15px;font-weight:600}
.node.root .name{font-size:15px}
.node.root .meta{font-size:12px}
.edge.external-edge{opacity:.34}
.edge.external-edge.dim{opacity:.06}
.edge.external-edge.related{opacity:.8}
.legend-generation{display:inline-grid;place-items:center;min-width:23px;height:18px;padding:0 4px;border-radius:9px;background:#16738b;color:white;font-size:10px;font-weight:750;flex:none}
