.imprint-dialog {
	position: fixed;
	inset: 0;
	margin: auto;
	width: min(900px, calc(100% - 32px));
	max-width: none;
	height: min(800px, 85dvh);
	max-height: 90dvh;
	padding: 0;
	border: 1px solid rgba(168, 85, 247, .25);
	border-radius: 20px;
	background: #fff;
	color: #111827;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}

.imprint-dialog::backdrop {
	background: rgba(17, 24, 39, .6);
}

.imprint-dialog[open] {
	display: flex;
	flex-direction: column;
}

.imprint-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid #e5e7eb;
}

.imprint-dialog__header h2 {
	margin: 0;
	font: 700 20px/1.4 'Noto Sans', sans-serif;
}

.imprint-dialog__close {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #111827;
	font: 28px/1 sans-serif;
	cursor: pointer;
}

.imprint-dialog__close:hover {
	background: #f3e8ff;
}

.imprint-dialog__close:focus-visible {
	outline: 2px solid #a855f7;
	outline-offset: 2px;
}

.imprint-dialog__frame {
	flex: 1;
	width: 100%;
	min-height: 0;
	border: 0;
	background: #fff;
}

html.imprint-dialog-open {
	overflow: hidden;
}
