:root{color-scheme:dark;--bg:#090e0d;--panel:#111b17;--line:#25372d;--muted:#8fa397;--green:#c4fc76;--white:#edf5ec}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--white);font:15px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line);background:var(--panel);color:var(--white);border-radius:10px;padding:10px 17px;cursor:pointer}button:hover,.button:hover{border-color:var(--green)}.primary{background:var(--green);color:#10170d;border-color:var(--green);font-weight:650}input,select,textarea{border:1px solid var(--line);color:var(--white);background:#0b120e;border-radius:9px;padding:11px 13px;min-width:0}textarea{width:100%;min-height:170px;resize:vertical}header{max-width:1200px;margin:auto;padding:25px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:22px;letter-spacing:4px;font-weight:800}.mark{color:var(--green)}nav{display:flex;align-items:center;gap:24px;font-size:13px}main{max-width:1144px;margin:auto;padding:40px 0 70px}.eyebrow{font:11px/1.5 ui-monospace,monospace;letter-spacing:3px;color:var(--green);text-transform:uppercase}h1{font-size:clamp(40px,6vw,76px);line-height:1.05;letter-spacing:-3px;font-weight:550;margin:23px 0}h1 em{font-style:normal;color:var(--green)}h2{font-size:23px;line-height:1.25;font-weight:550;margin:0 0 20px}h3{font-weight:550;margin:0 0 12px}.muted{color:var(--muted)}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:55px;padding:35px 0 50px}.hero p{max-width:430px;font-size:16px;color:var(--muted)}.hero-art{border:1px solid var(--line);border-radius:18px;padding:24px;background:radial-gradient(ellipse at 50% 50%,#193121,transparent 70%);position:relative;overflow:hidden;min-height:280px}.hero-art svg{width:100%;height:280px}.hero-art line{stroke:#456436;stroke-width:1.2}.hero-art circle{fill:#192f1e;stroke:#83b656}.hero-art .core{fill:var(--green);stroke:var(--green)}.hero-art text{fill:#adbea5;font:11px ui-monospace,monospace}.legend{font-size:11px;letter-spacing:1.5px;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:14px;margin-bottom:42px;background:var(--panel)}.metric{padding:22px 25px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric strong{display:block;font-size:32px;font-weight:500;letter-spacing:-1px}.metric span{font-size:12px;color:var(--muted)}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:35px 0 22px}.section-head h2{margin:0}.layout{display:grid;grid-template-columns:1.4fr 1fr;gap:25px}.card{border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:25px}.search{display:flex;gap:8px}.search input{flex:1}.empty{padding:50px 10px;text-align:center;color:var(--muted)}.empty b{display:block;color:var(--white);margin-bottom:9px;font-weight:500}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.row:last-child{border:0}.pill{padding:3px 10px;border-radius:6px;background:#203022;color:var(--green);font-size:11px}.mono{font-family:ui-monospace,monospace;font-size:13px}footer{max-width:1144px;margin:auto;border-top:1px solid var(--line);padding:24px 0 35px;display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.actions{display:flex;gap:10px;flex-wrap:wrap}.tree-node{border-left:1px solid #3c5835;margin-left:10px;padding:8px 0 5px 15px}.node-line{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.node-line button{padding:4px 8px;font-size:12px}.ancestor{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.error{color:#ffac98;white-space:pre-wrap}.success{color:var(--green)}.hidden{display:none!important}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.65 ui-monospace,monospace;max-height:500px;overflow:auto}details{border-bottom:1px solid var(--line);padding:12px 0}summary{cursor:pointer;color:var(--green)}.admin-grid{display:grid;grid-template-columns:220px 1fr;gap:24px}.sidebar{display:flex;flex-direction:column;gap:8px;align-self:start}.sidebar button{text-align:left;justify-content:flex-start}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stat-grid .metric{border:1px solid var(--line);border-radius:10px}.formline{display:flex;gap:8px;margin:15px 0;flex-wrap:wrap}.formline input{flex:1}.legal{max-width:760px}.legal h1{font-size:40px;letter-spacing:-1px}.legal-text{white-space:pre-wrap}.hint{font-size:12px;color:var(--muted)}#user-detail{margin-top:20px}.chart{display:flex;align-items:flex-end;gap:5px;height:70px;padding:8px 0}.bar{flex:1;min-width:4px;background:#8eb45c;border-radius:3px 3px 0 0}.subsection{margin-top:25px}@media(max-width:900px){main,footer{margin:0 22px}.hero{gap:20px}.layout{grid-template-columns:1fr}.admin-grid{grid-template-columns:1fr}.sidebar{flex-direction:row;flex-wrap:wrap}.sidebar button{font-size:12px}.stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){header{padding:18px 22px}nav{gap:12px}nav .secondary{display:none}.hero{grid-template-columns:1fr;padding-top:10px}.hero-art{min-height:220px}.hero-art svg{height:210px}.metrics{grid-template-columns:repeat(2,1fr)}.metric{padding:16px}.metric strong{font-size:26px}h1{letter-spacing:-1.5px}.section-head{align-items:flex-start;flex-direction:column}.card{padding:20px}.search{flex-wrap:wrap}footer{gap:15px;flex-wrap:wrap}}

.search,.map-search{position:relative;z-index:12}
.name-suggestions{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:30;max-height:310px;overflow:auto;padding:5px;border:1px solid #496749;border-radius:12px;background:#102019;box-shadow:0 18px 38px #000b}
.name-suggestion{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:0;border-radius:7px;background:transparent;text-align:left}
.name-suggestion:hover,.name-suggestion.active{background:#28462e;border-color:transparent}
.name-suggestion strong{color:#d7ffa7;font:600 14px ui-monospace,monospace;overflow:hidden;text-overflow:ellipsis}
.name-suggestion small{color:#98b69b;font:11px ui-monospace,monospace;white-space:nowrap}
.name-suggestion-empty{display:block;padding:11px 12px;color:#b1c7af;font-size:13px}
