.ffnps-form,
.ffnps-response-form {
	--ffnps-blue: #003f68;
	--ffnps-green: #2db451;
	--ffnps-yellow: #f4b400;
	--ffnps-red: #df2434;
	max-width: 720px;
	color: #101820;
	font-family: Arial, Helvetica, sans-serif;
}

.ffnps-form h2,
.ffnps-response-form h2 {
	margin: 0 0 14px;
	color: var(--ffnps-blue);
	font-size: 32px;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: 0;
}

.ffnps-intro {
	max-width: 620px;
	margin: 0 0 24px;
	font-size: 20px;
	line-height: 1.45;
}

.ffnps-fieldset {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

.ffnps-fieldset legend,
.ffnps-message-label,
.ffnps-response-form h3 {
	display: block;
	margin: 0 0 14px;
	color: var(--ffnps-blue);
	font-size: 20px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: 0;
}

.ffnps-satisfaction-options {
	display: flex;
	gap: 22px;
	align-items: center;
	flex-wrap: wrap;
}

.ffnps-smiley {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.ffnps-smiley input,
.ffnps-score input {
	width: 18px;
	height: 18px;
	margin: 0;
}

.ffnps-face {
	display: inline-grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border: 3px solid currentColor;
	border-radius: 50%;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

.ffnps-smiley-positive {
	color: var(--ffnps-green);
}

.ffnps-smiley-neutral {
	color: var(--ffnps-yellow);
}

.ffnps-smiley-negative {
	color: var(--ffnps-red);
}

.ffnps-scale-labels {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	max-width: 640px;
	margin: 0 0 8px;
	font-size: 16px;
	font-style: italic;
}

.ffnps-scale-labels span:not(:last-child)::after {
	content: " ->";
	float: right;
	font-style: normal;
}

.ffnps-nps-scale {
	display: grid;
	grid-template-columns: repeat(10, minmax(42px, 1fr));
	gap: 10px;
	max-width: 640px;
}

.ffnps-score {
	display: grid;
	justify-items: center;
	gap: 6px;
	cursor: pointer;
}

.ffnps-score-circle {
	width: 26px;
	height: 26px;
	border: 3px solid currentColor;
	border-radius: 50%;
	background: #fff;
}

.ffnps-score-green {
	color: var(--ffnps-green);
}

.ffnps-score-yellow {
	color: var(--ffnps-yellow);
}

.ffnps-score-red {
	color: var(--ffnps-red);
}

.ffnps-score-number {
	color: #101820;
	font-size: 16px;
}

.ffnps-form textarea,
.ffnps-response-form textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0 0 18px;
	border: 1px solid #666;
	border-radius: 0;
	padding: 10px;
	font: inherit;
}

.ffnps-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 0;
	border-radius: 4px;
	padding: 0 18px;
	background: var(--ffnps-blue);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.ffnps-submit:hover,
.ffnps-submit:focus {
	background: #002c49;
	color: #fff;
}

.ffnps-notice {
	box-sizing: border-box;
	max-width: 720px;
	margin: 0 0 20px;
	border-left: 4px solid #2db451;
	padding: 12px 14px;
	background: #eef9f1;
	color: #102616;
}

.ffnps-error {
	border-left-color: #df2434;
	background: #fff0f1;
	color: #4f0c14;
}

.ffnps-readonly-text {
	box-sizing: border-box;
	margin: 0 0 18px;
	border: 1px solid #d5d9de;
	padding: 12px;
	background: #f8f9fb;
	white-space: normal;
}

.ffnps-standalone-response {
	margin: 0;
	padding: 32px;
	background: #fff;
}

.ffnps-standalone-response main {
	max-width: 760px;
	margin: 0 auto;
}

@media (max-width: 640px) {
	.ffnps-form h2,
	.ffnps-response-form h2 {
		font-size: 26px;
	}

	.ffnps-intro {
		font-size: 17px;
	}

	.ffnps-nps-scale {
		grid-template-columns: repeat(5, minmax(42px, 1fr));
	}

	.ffnps-scale-labels {
		grid-template-columns: 1fr;
	}

	.ffnps-scale-labels span::after {
		content: "" !important;
	}
}
