.ttfm-form {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.ttfm-field {
	flex: 1 1 100%;
	min-width: 0;
}

.ttfm-width-half {
	flex: 1 1 calc( 50% - 0.5rem );
}

.ttfm-width-third {
	flex: 1 1 calc( 33.333% - 0.67rem );
}

.ttfm-form label,
.ttfm-form legend {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.ttfm-form input[type="text"],
.ttfm-form input[type="email"],
.ttfm-form input[type="url"],
.ttfm-form input[type="tel"],
.ttfm-form input[type="number"],
.ttfm-form input[type="date"],
.ttfm-form input[type="time"],
.ttfm-form input[type="datetime-local"],
.ttfm-form input[type="file"],
.ttfm-form input[type="range"],
.ttfm-form select,
.ttfm-form textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ttfm-required {
	margin-left: 0.15em;
}

.ttfm-group {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}

.ttfm-check {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400;
	margin-bottom: 0.25rem;
}

.ttfm-check input {
	margin-top: 0.25rem;
}

.ttfm-composite .ttfm-part {
	margin-bottom: 0.5rem;
}

.ttfm-composite .ttfm-part label {
	font-weight: 400;
	font-size: 0.9em;
}

.ttfm-help {
	margin: 0.35rem 0 0;
	font-size: 0.9em;
	opacity: 0.8;
}

.ttfm-error {
	margin: 0.35rem 0 0;
	font-weight: 600;
}

.ttfm-errors {
	border: 2px solid currentColor;
	padding: 1rem 1.25rem;
	margin-bottom: 1.25rem;
}

.ttfm-errors-title {
	margin-top: 0;
	font-weight: 700;
}

.ttfm-errors ul {
	margin: 0;
	padding-left: 1.2rem;
}

.ttfm-done,
.ttfm-closed {
	border-left: 4px solid currentColor;
	padding: 0.75rem 1rem;
}

.ttfm-privacy {
	flex: 1 1 100%;
	font-size: 0.9em;
	opacity: 0.85;
	margin: 0;
}

.ttfm-actions {
	flex: 1 1 100%;
}

.ttfm-submit[aria-busy="true"] {
	opacity: 0.6;
	cursor: progress;
}

.ttfm-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ttfm-divider {
	flex: 1 1 100%;
	border: 0;
	border-top: 1px solid currentColor;
	opacity: 0.25;
}

@media screen and ( max-width: 600px ) {
	.ttfm-width-half,
	.ttfm-width-third {
		flex-basis: 100%;
	}
}
