#simulation-container {
    display: flex;
    gap: 20px;
    max-height: 80vh;
}

#beamCanvas {
    flex: 2;
    cursor: pointer;
    touch-action: none;
    user-select: none;
    max-height: 100%;
}

.calculation-steps {
    flex: 1;
    margin-top: 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    font-family: monospace;
    overflow-y: auto;
    max-height: 100%;
}

.calculation-steps h3 {
    margin-top: 0;
    color: #333;
}

.calculation-steps p {
    margin: 5px 0;
    line-height: 1.4;
}