/* Relationship workspace: quiet by default; colour only conveys a signal. */
:root{color-scheme:light}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:"Public Sans",sans-serif;color:#293326;background:#f7f8f4}
button,input{font:inherit}
button,a,input,summary{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.4;cursor:default}
:focus-visible{outline:2px solid #4e6250;outline-offset:4px}
.graph-header{min-height:128px;padding:24px 32px;display:flex;align-items:center;gap:44px;border-bottom:1px solid #dce1d8;background:#fff}
.graph-header .nav-logo{display:flex;align-items:center;gap:10px;color:#293326;text-decoration:none;font-size:20px;font-weight:600;white-space:nowrap}
.graph-header .nav-logo::before{display:none}
.graph-heading{flex:1}
.graph-eyebrow{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#64705f}
.graph-heading h1{font-family:"Source Serif 4",Georgia,serif;font-weight:400;font-size:30px;margin:6px 0 0;letter-spacing:-.035em}
.graph-search{width:310px;flex-shrink:0}
.graph-search label{display:block;font-size:11px;margin-bottom:7px}
.graph-search>div{display:flex}
.graph-search input{width:100%;min-width:0;border:1px solid #cfd6cb;border-radius:5px 0 0 5px;padding:10px 12px;font-size:13px}
.graph-search button{border:1px solid #293326;border-radius:0 5px 5px 0;background:#293326;color:white;padding:10px 16px;font-size:12px}
.graph-search p{margin:5px 0 0;font-size:11px;min-height:13px;color:#8b401f}
.graph-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;height:calc(100dvh - 129px);min-height:500px;position:relative}
.graph-stage{position:relative;overflow:hidden;background:radial-gradient(#dfe4db .7px,transparent .7px) 12px 12px/24px 24px}
.graph-toolbar{position:absolute;inset:0 0 auto;z-index:2;padding:20px 24px;display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;pointer-events:none;background:linear-gradient(#f7f8f4 60%,transparent)}
.graph-context{min-width:0;max-width:100%}
.graph-context h2{font-size:14px;font-weight:600;margin:0;max-width:480px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.graph-context p{font-size:11px;color:#66715f;margin:6px 0 0}
.graph-tools{display:flex;gap:5px;align-self:start;pointer-events:auto;flex-wrap:wrap}
.graph-tools button,#closeDetails{border:1px solid #d7ddd2;background:#fff;color:#34402f;border-radius:5px;min-height:34px;padding:7px 10px;font-size:11px}
.graph-tools button:hover:not(:disabled){background:#e9ede5}
#detailsToggle,#closeDetails{display:none}
#graph{display:block;width:100%;height:100%;touch-action:none}
.graph-node{cursor:pointer;outline:none}
.graph-node .node-halo{fill:none;stroke:#4e6250;stroke-width:1.5;opacity:0}
.graph-node.is-selected .node-halo,.graph-node:focus-visible .node-halo{opacity:1}
.graph-node .node-symbol{stroke-width:1.5;vector-effect:non-scaling-stroke}
.graph-node .node-label{font-family:"Public Sans",sans-serif;font-size:11px;fill:#293326;paint-order:stroke;stroke:#f7f8f4;stroke-width:4px;stroke-linejoin:round;pointer-events:none}
.graph-node .node-type{font-size:9px;fill:#6e7967;paint-order:stroke;stroke:#f7f8f4;stroke-width:3px;pointer-events:none}
.graph-link{stroke:#b3bdae;stroke-width:1;fill:none;vector-effect:non-scaling-stroke}
.graph-link.is-active{stroke:#596e50;stroke-width:1.5}
.link-label{font-size:9px;fill:#4e6250;paint-order:stroke;stroke:#f7f8f4;stroke-width:4px;text-anchor:middle;pointer-events:none}
.graph-state{position:absolute;inset:100px 24px 64px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;pointer-events:none}
.graph-state[hidden]{display:none}
.graph-state-mark{display:grid;place-items:center;border:1px solid #d5dcd0;border-radius:12px;width:52px;height:52px;font-family:"Source Serif 4",serif;font-size:21px;margin-bottom:22px;color:#66775e;background:#f7f8f4}
.graph-state h2{font-family:"Source Serif 4",serif;font-size:28px;font-weight:400;margin:0 0 12px;letter-spacing:-.03em}
.graph-state p{font-size:13px;line-height:1.8;max-width:430px;margin:0}
.graph-state small{font-size:11px;line-height:1.7;color:#697461;max-width:410px;margin-top:14px}
.graph-legend{position:absolute;bottom:0;left:0;right:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 18px;padding:14px 18px;background:#f7f8f4eF;font-size:10px;color:#5d6c54;pointer-events:none}
.graph-legend span{display:flex;align-items:center;gap:6px}
.graph-legend i{width:7px;height:7px;display:inline-block;background:#73816d;border-radius:1px}
.graph-legend .legend-person{border-radius:50%;background:transparent;border:1.5px solid #73816d}
.graph-legend .legend-review{background:#975a16;border-radius:50%}
.graph-legend .legend-sanction{background:#b42318;border-radius:50%}
.graph-inspector{background:#fff;border-left:1px solid #dce1d8;overflow:auto;padding:22px 22px 28px}
.inspector-heading{display:flex;align-items:center;justify-content:space-between}
.graph-selection{padding:22px 0;border-bottom:1px solid #e5e9e1}
.graph-selection h2{font-size:18px;line-height:1.4;font-weight:500;margin:0 0 10px;overflow-wrap:anywhere}
.graph-selection p{font-size:12px;line-height:1.75;color:#5c6953;margin:7px 0 0}
.node-badge{display:inline-block;border:1px solid #dbe1d6;border-radius:4px;padding:5px 7px;font-size:10px;line-height:1.5;margin-top:7px}
.node-badge[data-signal="sanction"]{border-color:#e8c3bf;color:#a1261d;background:#fdf6f5}
.node-badge[data-signal="review"],.node-badge[data-signal="pep"],.node-badge[data-signal="inactive"]{border-color:#e6d4ba;color:#87551a;background:#fcf9f2}
.node-facts{margin:18px 0 0;font-size:11px}
.node-facts>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eef0eb}
.node-facts dt{color:#697660}
.node-facts dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:65%}
.node-related{padding:0;list-style:none}
.node-related li{font-size:11px;line-height:1.6;margin:8px 0}
.node-related button{border:0;background:none;text-align:left;padding:0;color:#34492b;text-decoration:underline;text-underline-offset:3px;font-size:11px}
.graph-directory h2{font-size:12px;font-weight:600;margin:22px 0 12px}
#nodeSearch{width:100%;border:1px solid #d7ddd2;border-radius:5px;padding:10px;font-size:11px;background:#fcfcfa}
#directoryCount{font-size:10px;color:#6f7a66;line-height:1.7;margin:10px 0}
#nodeList{list-style:none;padding:0;margin:0}
#nodeList button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 7px;border:0;border-bottom:1px solid #edf0e9;background:white;text-align:left;color:#293326;font-size:11px;line-height:1.5;border-radius:3px}
#nodeList button:hover,#nodeList button[aria-pressed="true"]{background:#f1f4ed}
.directory-dot{width:7px;height:7px;flex-shrink:0;border-radius:1px;background:#73816d}
.directory-dot.is-person{border-radius:50%}
.directory-label{min-width:0;overflow-wrap:anywhere}
.directory-label small{display:block;font-size:9px;color:#6c7763}
.graph-limitations{border-top:1px solid #e5e9e1;margin-top:22px;padding-top:18px;font-size:11px;color:#5f6d56}
.graph-limitations summary{cursor:pointer;font-weight:500}
.graph-limitations p{font-size:11px;line-height:1.8}
.graph-limitations a{color:#34492b;text-underline-offset:3px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.embed .graph-header{display:none}
body.embed .graph-workspace{height:100dvh;min-height:0;display:block}
body.embed .graph-stage{height:100%}
body.embed .graph-toolbar{padding:14px 16px}
body.embed #detailsToggle,body.embed #closeDetails{display:block}
body.embed .graph-inspector{display:none;position:absolute;z-index:4;inset:0 0 0 auto;width:min(340px,94%);box-shadow:-14px 0 35px #2933260e}
body.embed .graph-inspector.is-open{display:block}
@media(max-width:1000px){
 .graph-header{gap:24px;padding:20px}.graph-header .nav-logo{font-size:17px}.graph-heading h1{font-size:25px}.graph-search{width:250px}
 .graph-workspace{grid-template-columns:minmax(0,1fr) 290px}
}
@media(max-width:760px){
 .graph-header{flex-wrap:wrap;gap:18px;padding:16px 20px}.graph-heading{min-width:160px}.graph-heading h1{font-size:23px}.graph-search{width:100%}
 .graph-workspace{height:calc(100dvh - 202px);min-height:440px;display:block}.graph-stage{height:100%}
 .graph-toolbar{padding:16px;gap:12px}.graph-context h2{max-width:calc(100vw - 32px);font-size:13px}
 #detailsToggle,#closeDetails{display:block}
 .graph-inspector{display:none;position:absolute;z-index:4;inset:0 0 0 auto;width:min(340px,94%);box-shadow:-14px 0 35px #2933260e}
 .graph-inspector.is-open{display:block}
 .graph-state h2{font-size:24px}.graph-state p{font-size:12px}.graph-state small{font-size:10px}
 .graph-legend{font-size:9px;gap:8px 12px;padding:12px}.graph-tools button{font-size:10px;padding:7px 9px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
