.root {
	color: var(--color-text-primary);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	font-family: var(--font-family);
	box-sizing: border-box;
}

.main {
	background-color: var(--color-background);
	color: var(--color-text-primary);
	border: var(--border-width) solid var(--color-border);
	box-shadow: var(--box-shadow-dimensions-large) var(--color-box-shadow-strong);
	display: flex;
	flex-direction: column;
	height: calc(75 * var(--grid-base));
	left: 50%;
	max-height: 100%;
	max-width: 100%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(80 * var(--grid-base));
}

.underlayVisible {
	background-color: var(--color-box-shadow-strong);
}

.title {
	border-bottom: var(--border-width) solid var(--color-border);
	box-sizing: border-box;
	flex: 0 0 auto;
	font-size: var(--font-size-title);
	height: calc(7 * var(--grid-base));
	padding: calc(2 * var(--grid-base));
	position: relative;
	text-align: left;
}

.content {
	flex: 1 1 auto;
	overflow: auto;
	padding: calc(2 * var(--grid-base));
}

.close {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 0;
	padding: var(--grid-base);
	position: absolute;
	right: calc(2 * var(--grid-base));
	top: 50%;
	transform: translateY(-50%);
	color: var(--color-text-primary);
}

.close .closeIcon {
	display: flex;
	font-size: var(--font-size-title);
}

.actions {
	border-top: 1px solid var(--color-border);
	padding: calc(2 * var(--grid-base));
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
