.medical-graph{color:var(--foreground)}.graph-heading{margin:1rem 0 2rem}.graph-heading h1{font-size:2.6rem;font-weight:550;letter-spacing:-.05em;line-height:1.1;margin:0 0 .7rem}.graph-heading p{color:var(--muted-foreground);font-size:.9rem}.graph-shell{border:1px solid var(--border);border-radius:1rem;background:var(--card);overflow:clip}.graph-toolbar{display:flex;align-items:center;gap:.6rem;padding:.85rem;border-bottom:1px solid var(--border)}.graph-search-wrap{position:relative;flex:1;min-width:0}.medical-graph input,.medical-graph select,.medical-graph button{font:inherit;font-size:.8rem;color:var(--foreground);background:0 0;border:1px solid var(--border);border-radius:.5rem;padding:.55rem .7rem}.medical-graph input{width:100%;background:var(--background)}.medical-graph select{max-width:145px;background:var(--card)}.medical-graph button{cursor:pointer;text-align:left}.medical-graph button:hover{background:var(--muted)}.medical-graph :is(button,input,select,summary,a):focus-visible{outline:2px solid #6caed8;outline-offset:3px}#graph-results{position:absolute;top:calc(100% + .5rem);left:0;right:0;z-index:10;border:1px solid var(--border);border-radius:.7rem;padding:.35rem;background:var(--card);box-shadow:0 12px 40px #0003;max-height:300px;overflow:auto}#graph-results[hidden]{display:none}#graph-results button{width:100%;display:block;border:0}#graph-results p{padding:.5rem;color:var(--muted-foreground);font-size:.8rem}.graph-map-wrap{position:relative}#medical-map{height:490px;width:100%}.graph-zoom{position:absolute;bottom:1rem;right:1rem;display:flex;gap:.25rem}.graph-zoom button{background:var(--card);min-width:32px;text-align:center;padding:.35rem .6rem}#graph-status{position:absolute;bottom:1.2rem;left:1.2rem;margin:0;color:var(--muted-foreground);font-size:.7rem;pointer-events:none;max-width:60%}.graph-selection{border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem 1.5rem}.graph-tag{font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-foreground);margin:0 0 .45rem}.graph-selection h2{font-size:1.1rem;font-weight:550;margin:0 0 .4rem}#graph-summary{color:var(--muted-foreground);font-size:.8rem;line-height:1.6;margin:0}#graph-article{flex-shrink:0;font-size:.8rem}.medical-graph a{text-decoration:underline;text-underline-offset:4px}.graph-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem;align-items:center;margin:1rem 0 1.5rem;color:var(--muted-foreground);font-size:.7rem}.graph-legend{display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:0;padding:0}.graph-legend li::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--system-color);margin-right:.4rem;vertical-align:middle}.medical-graph details{border-top:1px solid var(--border);padding:.8rem 0}.medical-graph summary{cursor:pointer;font-size:.8rem;color:var(--muted-foreground)}.graph-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){#medical-map{height:430px}.graph-toolbar{gap:.4rem;padding:.65rem}.medical-graph select{max-width:105px}.graph-selection{padding:1rem;flex-direction:column;align-items:start;gap:.8rem}.graph-footer>span{display:none}}#medical-map{height:600px;cursor:grab;touch-action:none}#graph-study-status{font-size:.7rem;color:var(--muted-foreground);margin:.5rem 0 0}.graph-legend li::before{background:var(--concept-color)}.graph-expanded{position:fixed;inset:0;z-index:1000;background:var(--background);padding:1rem 2rem;overflow:auto}.graph-expanded .graph-heading{display:none}.graph-expanded #medical-map{height:calc(100dvh - 225px);min-height:350px}@media(max-width:600px){#medical-map{height:530px}.graph-expanded{padding:.5rem}.graph-footer>span{display:inline}.graph-toolbar{flex-wrap:wrap}.graph-search-wrap{flex-basis:45%}.graph-legend{gap:.65rem}}#graph-article{max-width:240px}#graph-tags{color:var(--concept-color)}