.aga-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-rows: 1fr;
    height: calc(100vh - 150px); /* fill viewport height - minus header */
}

.controls-panel {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #f7f7f7;
    overflow-y: auto;
}

.controls-panel label {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.controls-panel button {
    margin-top: 10px;
}

.plots-panel {
    display: grid;
    grid-template-columns: 1fr 1fr; /* two columns, side by side */
    gap: 10px;
    padding: 10px;
}

.plot {
    width: 100%;
    height: 100%; /* let Plotly fill its grid cell */
}
