html {
    height: 100%;
}

body {
    height: 100%;

    font-family: sans-serif;
    padding: 0;
    margin: 0;
    text-align: center;

    display: flex;
    flex-direction: column;
}



/* main ----------------------------------- */
.main {
    display: flex;
    flex-direction: row;

    flex: 1 0 auto;
}

/* side ------------------------------------ */
.side {
    padding: 1em;
    flex: 0 1 200px;
}

form {
    margin-top: 20px;
}
input[type="text"], input[type="number"] {
    padding: 8px;
    width: 250px;
}
button {
    padding: 10px 15px;
    cursor: pointer;
}
.vertical-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    text-align: left;

    row-gap: 0.5em;
}
.field--admin {
    background-color: darksalmon;
}
.field--payload {
    background-color: beige;
}

/* app ------------------------------------ */
.app {
    flex: 1 0 auto;
    display: flex;
    flex-direction: row;
}
.app-placeholder {
    display: flex;
    flex-direction: column;

    flex: 1 0 auto;
    background-color: lightgrey;
}

.app-placeholder iframe {
    width: 100%;
    height: 100%;
    border:1px solid black;
    box-sizing: border-box;
}