:root{font:14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color:#173b30;background:#f5f7f4}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer}header{height:70px;display:flex;align-items:center;gap:24px;padding:0 30px;border-bottom:1px solid #dce4dc;background:#ffffffde;position:relative;z-index:5}.brand{font-size:13px;letter-spacing:.08em;font-weight:800;text-decoration:none;color:#163a2e;white-space:nowrap}.brand span{font-weight:400;margin-left:7px;color:#738579}.search{margin-left:auto;position:relative;width:270px}input{width:100%;border:1px solid #dbe3da;background:#f7f9f6;border-radius:22px;padding:9px 15px;outline:none;font-size:12px}input:focus{border-color:#339979}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #3b9c79;outline-offset:4px}#about{border:0;background:transparent;font-size:24px;color:#607d6d}main{height:calc(100dvh - 70px);position:relative;background-image:radial-gradient(#cbd8cd 1px,transparent 1px);background-size:24px 24px}#map{width:100%;height:100%;touch-action:none;cursor:grab}#map:active{cursor:grabbing}.edge{stroke:#a6b7aa;stroke-width:1.45;fill:none;vector-effect:non-scaling-stroke;transition:opacity .15s}.edge.documented{stroke:#a2a4c3;stroke-dasharray:5 5}.edge.inferred{stroke:#c19159;stroke-dasharray:6 6}.edge-hit{stroke:transparent;stroke-width:14;fill:none;cursor:pointer;vector-effect:non-scaling-stroke}.edge.lit{stroke:#267d62;stroke-width:2.4}.edge.inferred.lit{stroke:#bb7f32}.faded{opacity:.09}.bubble{cursor:grab;transition:opacity .15s}.bubble:active{cursor:grabbing}.bubble circle{stroke-width:1.5;stroke:#bfcec3;fill:#fff;filter:drop-shadow(0 4px 7px #264a3010)}.bubble.governance circle{fill:#244f3d;stroke:#244f3d}.bubble.safe circle{fill:#bfe6ca;stroke:#87bd99}.bubble.contract circle{fill:#e0e9ed;stroke:#b5c9d2}.bubble.person circle,.bubble.organization circle{fill:#f0e9d8;stroke:#d9cbaa}.bubble.unknown circle{fill:#eaece7;stroke:#cbd0c6}.bubble text{pointer-events:none;text-anchor:middle;fill:#203f32;font-weight:600;font-size:14px}.bubble.governance text{fill:white}.bubble .sub{font-size:11px;font-weight:450;fill:#708777}.bubble.governance .sub{fill:#bcd9c6}.bubble.selected circle{stroke:#168767;stroke-width:4}.bubble:hover circle{stroke:#168767;stroke-width:3}.edge-label{font-size:12px;fill:#325e48;paint-order:stroke;stroke:#f5f7f4;stroke-width:5px;stroke-linejoin:round;text-anchor:middle;pointer-events:none}.legend{position:absolute;left:26px;bottom:25px;display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:10px;color:#607769;max-width:75%;pointer-events:none;background:#f5f7f4e8;padding:9px 13px;border-radius:12px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:9px;height:9px;border-radius:50%;display:block}.legend .governance{background:#244f3d}.legend .safe{background:#9bcea9}.legend .contract{background:#afc6cf}.legend .person{background:#d9c8a0}.legend .unknown{background:#bdc5b7}.zoom{position:absolute;right:25px;bottom:28px;display:flex;border:1px solid #d5dfd4;border-radius:10px;background:#fff;box-shadow:0 3px 14px #163f3010;overflow:hidden}.zoom button{border:0;border-right:1px solid #e0e6de;background:white;width:39px;height:38px;font-size:20px;color:#345d48}.zoom button:last-child{border:0}.hint{position:absolute;left:30px;top:20px;color:#819087;font-size:11px;pointer-events:none}.stamp{position:absolute;right:28px;top:22px;font-size:9px;letter-spacing:.1em;color:#8a968c;pointer-events:none}#detail{position:absolute;right:25px;top:52px;width:310px;max-height:calc(100% - 135px);overflow:auto;background:#fffffff5;border:1px solid #d6e0d5;border-radius:15px;padding:22px;box-shadow:0 12px 45px #173c3018;z-index:3;backdrop-filter:blur(10px)}#detail h2{font-size:21px;line-height:1.3;margin:8px 20px 10px 0;font-weight:600}#detail p{font-size:12px;color:#657d6c}#detail .close{position:absolute;top:13px;right:13px;border:0;background:none;color:#6c8272;font-size:18px}#detail .tag{font-size:9px;font-weight:700;letter-spacing:.08em;color:#678b77}#detail .address{font:10px/1.6 ui-monospace,Consolas,monospace;word-break:break-all;display:block;color:#2c7d5b;text-decoration:none;margin:10px 0 15px}#detail .connection{display:block;width:100%;border:0;border-top:1px solid #edf0e9;text-align:left;padding:9px 0;background:none;color:#244d37;font-size:12px}#detail .connection small{display:block;font-size:10px;color:#859387;margin-top:2px}details{margin-top:16px;font-size:11px;color:#56755f}summary{cursor:pointer}details a{display:block;margin:9px 0;color:#327551;font-size:11px}#results{position:absolute;top:43px;background:white;border:1px solid #d6dfd3;border-radius:12px;box-shadow:0 8px 30px #193c3018;width:100%;max-height:330px;overflow:auto;padding:5px}#results button{display:block;width:100%;background:none;border:0;text-align:left;padding:9px 10px;font-size:12px;color:#2b553b}#results button:hover{background:#edf5e9;border-radius:6px}#results p{font-size:12px;margin:10px}a{color:#26744f}@media(max-width:650px){header{height:61px;padding:0 15px;gap:10px}.brand{font-size:11px;letter-spacing:.02em}.brand span{display:block;font-size:9px;margin:0}.search{width:185px}input{font-size:10px;padding:8px 11px}main{height:calc(100dvh - 61px)}.legend{left:10px;bottom:15px;gap:7px 12px;font-size:8px;max-width:68%;padding:8px}.legend i{width:7px;height:7px}.hint{font-size:9px;left:15px;top:15px}.stamp{display:none}.zoom{right:12px;bottom:24px}.zoom button{width:31px;height:33px}#detail{right:10px;top:40px;width:min(290px,90%);max-height:calc(100% - 120px)}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.views{display:flex;gap:3px;background:#e7eee6;padding:4px;border-radius:24px;margin-left:auto}.views button{border:0;background:none;padding:8px 17px;border-radius:20px;font-size:12px;color:#688070;white-space:nowrap}.views button[aria-pressed=true]{background:white;color:#204f37;box-shadow:0 2px 6px #294a3010}.search{margin-left:0}.zone{fill:#eaf0e7;fill-opacity:.55;stroke:#dce5d8;stroke-dasharray:5 8}.zone-label{font-size:11px;letter-spacing:2px;text-anchor:middle;fill:#81917f}.edge{stroke-width:1.2;stroke:#b8c7b8}.bubble.safe circle{stroke-width:3;fill:#aed9ba}.bubble.safe text{font-size:16px}.bubble.safe .sub{font-size:13px}.faded{opacity:.055}@media(max-width:800px){header{flex-wrap:wrap;height:110px;gap:8px;padding:10px 15px}.brand{margin-right:auto}.views{order:3;width:100%;justify-content:center}.views button{flex:1}.search{width:160px}main{height:calc(100dvh - 110px)}}
