
#heatmap-wrapper {
    width: 100%;
    height: 400px;
}




.fixed-panel {
    height: 520px;
}

/* Make the 3D viewport consistent and “card-like” */
#viewport {
position: relative;
border-radius: 12px;
overflow: hidden;
}

/* Make details readable and scrollable */
#detailsDiv {
height: 520px;          /* match viewport height */
overflow-y: auto;
}

.card {
border-radius: 12px;
}

.card-header {
font-weight: 600;
background-color: #f8f9fa;
}

/* Small helper so chain buttons don’t push layout */
.chain-buttons {
position: absolute;
left: 10px;
z-index: 10;
}
#chainButtonsContainerE1 { top: 10px; }
#chainButtonsContainerE2 { top: 45px; }

/* Control panel tucked in bottom-right */
.control-panel {
position: absolute;
bottom: 10px;
right: 10px;
z-index: 10;
display: grid;
gap: 6px;
}
.control-panel .top-controls,
.control-panel .middle-controls {
display: grid;
grid-auto-flow: column;
gap: 6px;
}
