.cc-fsa {
	box-sizing: border-box;
	clear: both;
	margin: 0 0 24px;
	padding: 18px;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 12px;
	background: #fff;
}

.cc-fsa *,
.cc-fsa *::before,
.cc-fsa *::after {
	box-sizing: border-box;
}

.cc-fsa__toggle {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 0;
	border-radius: 8px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.cc-fsa__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.cc-fsa__field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}

.cc-fsa__field select,
.cc-fsa__field input[type="number"] {
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
}

.cc-fsa__checks {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.cc-fsa__checks label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.cc-fsa__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.cc-fsa__actions .button {
	min-height: 42px;
	padding: 10px 18px;
}

.cc-fsa__active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
}

.cc-fsa__active span {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.07);
}

.cc-fsa__results {
	clear: both;
	margin: 0 0 16px;
}

@media (max-width: 900px) {
	.cc-fsa__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.cc-fsa {
		padding: 12px;
	}

	.cc-fsa__toggle {
		display: flex;
	}

	.cc-fsa__panel {
		display: none;
		padding-top: 14px;
	}

	.cc-fsa.is-open .cc-fsa__panel {
		display: block;
	}

	.cc-fsa__grid {
		grid-template-columns: 1fr;
	}

	.cc-fsa__actions .button {
		flex: 1 1 100%;
		text-align: center;
	}
}
