.graph-container-main {
    width: 100vw;
    height: calc(100vh - 80px); /* adjust 80px to match header height */
    margin-top: 0;
    position: relative;
    background: #fff;
    overflow: hidden;
    z-index: 1;
}

#graph { width: 100%; height: 100%; }

.node-modal {
    display:none;
    position:fixed;
    top:10%;
    left:50%;
    transform:translateX(-30%);
    background:#fff;
    border:2px solid #4f3cc9;
    border-radius:8px;
    z-index:1000;
    max-height:1000px;
    max-width:1500px;
    box-shadow:0 4px 24px rgba(0,0,0,0.18);
    overflow:hidden
}

.node-modal-content {
    padding:1em;
    overflow-y:auto;
    max-height:60vh;
}