.tfpl-protected {
	box-sizing: border-box;
	max-width: 42rem;
	margin: 1rem 0;
	padding: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 0.4rem;
	background: rgba(127, 127, 127, 0.06);
}

.tfpl-protected *,
.tfpl-protected *::before,
.tfpl-protected *::after {
	box-sizing: border-box;
}

.tfpl-prompt {
	margin: 0 0 0.75rem;
}

.tfpl-label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.tfpl-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: stretch;
}

.tfpl-email {
	flex: 1 1 15rem;
	min-width: 0;
	padding: 0.65rem 0.75rem;
	font: inherit;
}

.tfpl-submit,
.tfpl-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	font: inherit;
	line-height: 1.2;
	cursor: pointer;
}

.tfpl-submit:disabled {
	cursor: wait;
	opacity: 0.65;
}

.tfpl-status {
	min-height: 1.25em;
}

.tfpl-status:empty {
	display: none;
}

.tfpl-status.is-error {
	margin-bottom: 0.75rem;
	font-weight: 600;
}

.tfpl-status.is-authorized {
	min-height: 0;
}

.tfpl-form[hidden] {
	display: none !important;
}

@media (max-width: 480px) {
	.tfpl-row {
		flex-direction: column;
	}

	.tfpl-submit {
		width: 100%;
	}
}

.tfpl-authorized-content {
	max-width: 100%;
}

.tfpl-authorized-content .k2s-preview,
.tfpl-authorized-content iframe,
.tfpl-authorized-content video {
	max-width: 100%;
}

.tfpl-status.is-error a {
	text-decoration: underline;
}
