.members-graph{color:#37142b;max-width:46rem}
.members-graph:empty,.mg-result:empty{display:none}
.members-graph h3{font-size:1.2rem;margin:1.2rem 0 .55rem}
.members-graph details{margin:.8rem 0}.members-graph summary{cursor:pointer;text-underline-offset:.2em;font-weight:650;width:fit-content}
.members-graph form label{display:block;font-weight:700;margin:.5rem 0}
.members-graph .mg-search>div{display:flex;gap:.55rem;flex-wrap:wrap}
.members-graph input[name=handle]{font:inherit;min-width:8rem;max-width:100%;flex:1 1 10rem;padding:.65rem;border:1px solid #997887;border-radius:2px;background:#fffaf2;color:#36142b}
.members-graph button{font:inherit;cursor:pointer;min-height:44px;padding:.35em .6em;border:0;background:transparent;color:#4e233d;text-underline-offset:.2em;text-decoration:underline}
.members-graph .mg-primary{background:#36142a;color:#fff1df;padding:.6rem 1rem;text-decoration:none;font-weight:700}
.mg-list{list-style:none;margin:0;padding:0}
.mg-list li,.mg-result{border-block-end:1px solid #c8acb6;padding:.6rem 0;display:flex;align-items:center;gap:.65rem;justify-content:space-between;flex-wrap:wrap}
.mg-person{display:flex;gap:.55rem;align-items:center}.mg-person>div{display:grid;gap:.12em}.mg-person img{object-fit:contain}.mg-person small{color:#684453}
.mg-controls{display:flex;align-items:center;gap:.4em;flex-wrap:wrap}.mg-controls details{margin:0}.members-graph label:has(input[type=checkbox]){display:block;padding:.6rem 0}
.members-graph :is(input,button,summary,a):focus-visible{outline:2px solid #983060;outline-offset:3px}

.mg-group-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.mg-group-head h3{margin:.5rem 0}.mg-groups .mg-list small{display:block}.mg-group-form{padding:.8rem 0}.mg-group-form input:not([type=checkbox]){display:block;max-width:100%;font:inherit;background:#fffaf3;border:1px solid #997887;padding:.55em}.mg-group-form fieldset{margin:.8rem 0;padding:.5rem 1rem;border:1px solid #c8acb6}
