.tool-launcher {
	width: 100%;
}

.tool-launcher__status {
	margin: 0 0 12px;
	min-height: 1.5em;
	text-align: center;
}

.tool-launcher__status:empty,
.tool-launcher__status[hidden] {
	display: none;
}

.tool-launcher__iframe-wrapper {
	position: relative;
	width: 100%;
	min-height: var(--tool-launcher-iframe-height, 800px);
}

.tool-launcher__loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--tool-launcher-iframe-height, 800px);
	background: #fff;
}

.tool-launcher__loading[hidden] {
	display: none;
}

.tool-launcher__spinner {
	width: 40px;
	height: 40px;
	border: 3px solid rgba(0, 0, 0, 0.12);
	border-top-color: #111;
	border-radius: 50%;
	animation: tool-launcher-spin 0.8s linear infinite;
}

.tool-launcher__iframe {
	display: block;
	width: 100%;
	height: var(--tool-launcher-iframe-height, 800px);
	border: none;
	background: #fff;
}

.tool-launcher__iframe[hidden] {
	display: none;
}

.tool-launcher--guest-gate {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 2rem 1rem;
	text-align: center;
}

.tool-launcher--guest-gate p {
	margin: 0;
}

@keyframes tool-launcher-spin {
	to {
		transform: rotate(360deg);
	}
}
