.kfp-form {
	--kfp-border: #d5d8dc;
	--kfp-error: #a82035;
	--kfp-muted: #626970;
	max-width: 860px;
	margin: 0 auto;
}

.kfp-form__field {
	margin: 0 0 1.6rem;
}

.kfp-form label,
.kfp-form legend {
	display: block;
	margin-bottom: 0.45rem;
	font-weight: 700;
}

.kfp-form input[type="text"],
.kfp-form input[type="url"],
.kfp-form select,
.kfp-form textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--kfp-border);
	border-radius: 2px;
	background: #fff;
	color: inherit;
	font: inherit;
	line-height: 1.5;
}

.kfp-form input[type="text"]:focus,
.kfp-form input[type="url"]:focus,
.kfp-form select:focus,
.kfp-form textarea:focus {
	border-color: #2271b1;
	outline: 2px solid #2271b1;
	outline-offset: 1px;
}

.kfp-form textarea {
	resize: vertical;
}

.kfp-form__fieldset {
	padding: 0;
	border: 0;
}

.kfp-form__choices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: 0.55rem 1rem;
}

.kfp-form .kfp-form__choice {
	display: flex;
	gap: 0.45rem;
	align-items: center;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}

.kfp-form .kfp-form__choice input {
	flex: 0 0 auto;
	margin: 0;
}

.kfp-form__required {
	color: var(--kfp-error);
}

.kfp-form__help,
.kfp-form__notice {
	margin: 0.4rem 0 0;
	color: var(--kfp-muted);
	font-size: 0.9em;
}

.kfp-form__actions {
	margin-top: 2rem;
}

.kfp-form__actions button {
	padding: 0.75rem 1.4rem;
	border: 0;
	border-radius: 2px;
	background: #a82035;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.kfp-form__actions button:hover:not(:disabled),
.kfp-form__actions button:focus-visible {
	background: #86192a;
}

.kfp-form__actions button:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

.kfp-form__actions button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.kfp-form__message {
	max-width: 860px;
	box-sizing: border-box;
	margin: 0 auto 1.5rem;
	padding: 0.85rem 1rem;
	border-left: 4px solid #2271b1;
	background: #f0f6fc;
}

.kfp-form__message--error {
	border-left-color: #a82035;
	background: #fcf0f1;
}

.kfp-form__message--success {
	border-left-color: #008a20;
	background: #edfaef;
}

.kfp-form__message p,
.kfp-form__message ul {
	margin: 0;
}

@media (max-width: 600px) {
	.kfp-form__choices {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem 0.8rem;
	}

	.kfp-form__actions button {
		width: 100%;
	}
}

.kfp-form__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.kfp-form__message ul {
	margin-top: 0.5rem;
	padding-left: 1.4rem;
}
