/* */
body{
	display: block;
}

.titlebar.back{
	width: 100%;
	height: 64px;

	display: flex;
	flex-flow: row nowrap;	
	justify-content: flex-start;
	align-items: center;

	user-select: none;
}

.main.back{
	width: 100%;
	height: calc(100% - 64px);

	display: flex;
	flex-flow: row-reverse;
	justify-content: flex-start;
	align-items: start;
}

.floating-btn{
	width: 64px;
	height: fit-content;
	aspect-ratio: 1;

	position: fixed;

	display: flex;
	justify-content: center;
	align-items: center;
}

/* Buttons */
#btn-save{
	bottom: 16px;
	right: 16px;
}

/* Title bar */
.titlebar.icon{
	width: fit-content;
	height: 48px;
	aspect-ratio: 1;

	padding: 8px;
}

.titlebar.label{
	width: fit-content;
	height: fit-content;

	padding: 0px 4px;
	transform: translateY(-2px);
}

/* Main Part */
.main.pane{
	width: 50%;
	height: 100%;

	display: block;
	padding: 16px;
	
	overflow-y: auto;
}

/* Preferences Pane */
.main.pane.preferences-pane{
}

.main.sub-block{
	width: 100%;
	height: fit-content;
}

.main.sub-label{
	width: 100%;
	height: fit-content;
}

.main.sub-row{
	width: 100%;
	height: fit-content;

	margin: 4px 0px;
	padding: 0px 4px;

	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
}

.main.input-label{
	width: 96px;
	height: fit-content;
	margin-right: 8px;
}

.main.input-field{
	max-width: 600px;
	width: 100%;
	height: fit-content;
	padding: 0px 4px;
}

textarea.main.input-field{
	min-height: 240px;
	padding: 4px;
}

/* Preview Pane */
.main.pane.preview-pane{
	padding: 64px 16px;
}

.main.pane.preview-pane > *{
	margin: auto;
}