html * {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}

select,
input {
    border-radius: 0;
    border: 1px solid black;
    background-color: white;
    padding-left: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.gone {
    display: none;
}

.invisible {
    visibility: hidden;
}

.button {
    height: 22px;
    line-height: 22px;
    background-color: #eef;
    border: 1px solid black;
    text-align: center;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.button:hover {
    -moz-box-shadow: 0 0 5px #aaf;
    -webkit-box-shadow: 0 0 5px #aaf;
    box-shadow: 0 0 5px #aaf;
}

#header {
    display: block;
    position: relative;
    min-width: 640px;
    height: 60px;
}

#busyIndicator {
    display: block;
    position: absolute;
    width: 12px;
    height: 52px;
    border: 1px solid black;
}

.busyIndicator--idle {
    background-color: #0b0;
}

.busyIndicator--busy {
    background-color: #b00;
}

#progressBar {
    position: absolute;
    width: 398px;
    height: 24px;
    left: 20px;
    border: 1px solid black;
}

#progressIndicator {
    position: relative;
    height: 20px;
    margin: 2px;
    background-color: #cce;
}

#progressStep {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    max-width: 100%;
    pointer-events: none;
    width: auto;
}

#resolutionSelect {
    position: absolute;
    width: 400px;
    height: 24px;
    left: 20px;
}

#exportButton {
    position: absolute;
    width: 208px;
    left: 428px;
}

#planeSelect {
    display: block;
    position: absolute;
    width: 400px;
    height: 24px;
    top: 30px;
    left: 20px;
}

#configButton {
    position: absolute;
    width: 100px;
    top: 30px;
    left: 428px;
}

#resetConfigButton {
    position: absolute;
    width: 100px;
    top: 30px;
    left: 536px;
}


#canvasArea {
    display: block;
    position: relative;
    width: fit-content;
    height: fit-content;
    border: 1px solid black;
}

#svgOverlay {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: all;
}

#rangeArea {
    display: flex;
    flex-direction: column;
    justify-content: start;
    position: relative;
    min-width: 640px;
    top: 4px;
    height: 80px;
}

#coordsArea {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: relative;
    height: 24px;
}

#setRangeArea {
    display: flex;
    justify-content: start;
    align-items: baseline;
    position: relative;
    height: 30px;
}

#rangeInput {
    display: block;
    width: 574px;
    height: 24px;
}

#setRangeButton {
    display: block;
    width: 52px;
    margin-left: 8px;
}
