.flask-result {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

.flask-result[hidden] {
	display: none !important;
}

body.flask-result-open {
	overflow: hidden;
}

.flask-result__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(28, 28, 28, 0.28);
}

.flask-result__dialog {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: 40px 36px;
	border: 1px solid #1c1c1c;
	border-radius: 0;
	background: #f6f4f0;
	box-shadow: 0 12px 40px rgba(28, 28, 28, 0.12);
}

.flask-result__title {
	margin: 0 0 16px;
	font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 32px;
	font-weight: 300;
	line-height: 40px;
	letter-spacing: -0.04em;
	color: #1c1c1c;
}

.flask-result--success .flask-result__title {
	color: #2f4b48;
}

.flask-result__body {
	margin: 0 0 28px;
	font-family: Inter, system-ui, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #1c1c1c;
}

.flask-result__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid #1c1c1c;
	border-radius: 2px;
	background: #1c1c1c;
	color: #ffffff;
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	text-decoration: none;
}

.flask-result__close:hover,
.flask-result__close:focus {
	background: #2f4b48;
	border-color: #2f4b48;
	color: #ffffff;
}
