[data-scada2d-hub],
.scada2d-island {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

[data-scada2d-hub]:empty::before {
    content: "Loading SCADA2D…";
}

.scada2d-island .scada2d-view {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    touch-action: none;
    user-select: none;
}

.scada2d-island .scada2d-canvas {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
}
