* {cursor: default;
    user-select: none;
    outline: none !important;}

body {display: block;
    width: 100vw;
    height: 100vh;
    margin: 0;
    font-family: sans-serif;
    font-size: 15px;
    color: #fff;
    background: #111;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    overflow: auto;
    --s: 754px;}

app-dialogs {display: block;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 3;}
app-dialogs[open] {pointer-events: all;
    background: rgba(0,0,0,0.1);}

app-ui {display: block;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;}
app-ui > div {display: block;
    position: absolute;
    pointer-events: all;
    background: rgba(40,40,40,0.8);
    overflow: hidden;
    backdrop-filter: blur(10px);}
app-ui > .top {left: 0;
    top: 0;
    right: 0;
    height: 40px;
    padding: 8px;
    text-align: center;
    box-shadow: 0 -10px 7px 10px rgba(0,0,0,0.5);}
app-ui > .top #settings-button {position: absolute;
    right: 8px;
    top: 8px;}
app-ui > .left {left: 0;
    top: calc(50% - 150px);
    width: 200px;
    height: 300px;
    padding: 13px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    border-radius: 0 3px 3px 0;}
app-ui > .right {right: 0;
    top: calc(50% - 150px);
    width: 350px;
    width: calc((100vw - var(--s) - 72px) / 2);
    height: 300px;
    padding: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    border-radius: 3px 0 0 3px;}
app-ui > .bottom {left: 0;
    bottom: 0;
    right: 0;
    height: 13px;
    padding: 3px 4px;
    line-height: 15px;
    font-size: 12px;
    color: #aaa;
    box-shadow: 0 10px 5px 10px rgba(0,0,0,0.5);}

app-render {display: block;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 56px 0 19px 0;
    overflow: auto;
    scrollbar-width: none;
    z-index: 1;}
app-render::-webkit-scrollbar {width: 0;
    height: 0;}
app-render canvas {display: inline-block;
    margin: 20px 0;
    transform: translate3d(calc(0.5 * (100vw - var(--s))), 0, 0);
    backface-visibility: hidden;
    background: transparent;}
app-render canvas:not(:first-child) {position: absolute;}

app-dialog {display: block;
    position: fixed;
    left: 50%;
    top: 50%;
    min-width: 300px;
    max-width: 700px;
    height: auto;
    background: rgba(40,40,40,0.9);
    box-shadow: 0 5px 20px rgba(0,0,0,0.8);
    border-radius: 3px;
    transform: translate3d(-50%, -50%, 0);
    backdrop-filter: blur(10px);
    pointer-events: all;}
app-dialog.info {min-width: 300px;
    max-width: 400px;}
app-dialog .content {display: block;
    min-height: 22px;
    padding: 20px 20px 0 20px;}
app-dialog .actions {display: block;
    height: 30px;
    padding: 20px 15px 15px 15px;
    text-align: right;}
app-dialog .actions button {margin: 0 0 0 5px;}
app-dialog .actions button.left {float: left;}

button, select, input {display: inline-block;
    height: 20px;
    margin: 5px;
    padding: 5px 20px;
    font: unset;
    line-height: 20px;
    color: #fff;
    border: none;
    background: rgba(90,90,90,0.9);
    border-radius: 3px;
    box-sizing: content-box;
    cursor: pointer;
    outline: none;}
button.icon {padding: 5px 3px;
    background: transparent;}
input:invalid {background: rgba(90,20,20,0.9);}
input[type="color"], select {padding: 5px 7px;}
input[type="number"], input[type="text"] {width: 150px;
    padding: 5px;cursor: text;}
input[type="number"] {width: 50px;}
input[type="range"] {padding: 5px 0;
    width: 200px;}
app-color-picker {display: inline-block;
    white-space: nowrap;}
app-color-picker input[type="color"]:not(:last-child) {margin-right: 0;
    float: left;}

fieldset {display: block;
    margin: 5px;
    padding: 10px;
    border: 1px solid #444;
    overflow: hidden;}
fieldset legend {padding: 0 5px;
    font-size: 17px;}

.icon {font-family: "Material Icons";
    font-size: 24px;}

.settings-view {display: block;}
.settings-view .title {font-size: 18px;
    margin: 0 0 8px 0;}
.settings-view table {width: 100%;
    border-collapse: collapse;}
.settings-view table td {padding: 0;
    border: none;}

app-points-view {display: inline-flex;
    height: 40px;
    line-height: 40px;
    overflow: hidden;}
app-points-view input[type="range"] {width: 400px;}

.layer-selector {display: flex;
    justify-content: space-evenly;}
.layer-selector > div {display: block;
    padding: 10px;
    margin: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    cursor: pointer;}

app-layer-view {display: block;
    height: 100%;
    text-align: right;}
app-layer-view > .title {display: block;
    height: 30px;
    padding: 0 0 0 6px;
    line-height: 30px;
    font-size: 18px;
    float: left;}
app-layer-view > button {margin: 0;}
app-layer-view .layers {display: block;
    height: calc(100% - 80px);
    margin: 10px 0;
    text-align: left;
    overflow: auto;}
app-layer-view .layers .layer {display: flex;
    align-items: center;}
app-layer-view .layers .layer .position {display: block;
    width: 40px;
    height: 40px;
    float: left;}
app-layer-view .layers .layer .position > div {display: inline-block;
    width: 40px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    float: left;}
app-layer-view .layers .layer .position > div.disabled {opacity: 0.5;
    pointer-events: none;}
app-layer-view .layers .layer .title {display: inline-block;
    width: calc(100% - 170px);
    padding: 0 5px;
    line-height: 18px;}
app-layer-view .layers .layer .actions {display: block;
    width: 120px;
    height: 40px;
    text-align: right;
    float: right;}
app-layer-view .layers .layer .actions > div {display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;}
app-layer-view .layers .divider {display: block;
    height: 1px;
    margin: 8px;
    background: rgba(255,255,255,0.07);}
app-layer-view .layers .divider:last-child {display: none;}
app-layer-view .layers:empty {text-align: center;
    color: rgba(255,255,255,0.5);}
app-layer-view .layers:empty:after {content: "Keine Ebenen vorhanden.";}
