.msp247-hd-thread:has(.msp247-hd-public-message--system:only-child) {
	padding: 16px;
}

.msp247-hd-public-message--system {
	align-self: center;
	width: min(100%, 680px);
	padding: 13px 16px;
	border-color: #d2e5e9;
	border-radius: 14px;
	background: #f3f9fa;
	box-shadow: none;
}

.msp247-hd-public-message--system header {
	align-items: center;
	margin: 0 0 4px;
	padding: 0;
	border: 0;
}

.msp247-hd-public-message--system header strong {
	color: #08718a;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.msp247-hd-public-message--system header span {
	font-size: 11px;
}

.msp247-hd-public-message--system div {
	color: #29485a;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.4;
}

.msp247-hd-satisfaction {
	position: relative;
	overflow: hidden;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 24px !important;
	background: #fff;
	box-shadow: 0 24px 65px rgba(15, 54, 72, .16) !important;
}

.msp247-hd-feedback-heading {
	padding: 34px 38px 30px;
	background: #0c4055;
}

.msp247-hd-feedback-heading-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 15px;
}

.msp247-hd-feedback-kicker {
	margin: 0 !important;
	color: #6fd1e3 !important;
	font-size: 11px !important;
	font-weight: 850;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.msp247-hd-feedback-heading-meta > span {
	padding: 7px 11px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	color: #d7eef3;
	font-size: 11px;
	font-weight: 700;
}

.msp247-hd-feedback-heading h2,
.msp247-hd-satisfaction--complete h2 {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(29px, 4vw, 40px);
	font-weight: 850;
	letter-spacing: -.025em;
	line-height: 1.08;
}

.msp247-hd-feedback-heading > p:last-child {
	max-width: 640px;
	margin: 0;
	color: #d9e9ee;
	font-size: 15px;
	line-height: 1.6;
}

.msp247-hd-feedback-form {
	padding: 30px 38px 36px;
}

.msp247-hd-satisfaction fieldset {
	margin: 0 0 27px;
}

.msp247-hd-satisfaction legend {
	margin: 0;
	color: #163247;
	font-size: 17px;
	font-weight: 850;
}

.msp247-hd-rating-instruction {
	margin: 5px 0 15px;
	color: #60727e;
	font-size: 13px;
}

.msp247-hd-rating {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 9px;
}

.msp247-hd-rating label {
	position: relative;
	min-width: 0;
}

.msp247-hd-rating span {
	display: flex;
	min-height: 78px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 10px 4px;
	border: 1px solid #cfdee3;
	border-radius: 15px;
	background: #f9fbfc;
	color: #163247;
	text-align: center;
	transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.msp247-hd-rating span:hover {
	border-color: #60b3c5;
	background: #f1fafc;
	transform: translateY(-2px);
	box-shadow: 0 9px 22px rgba(7, 134, 163, .1);
}

.msp247-hd-rating span strong {
	font-size: 25px;
	font-weight: 850;
	line-height: 1;
}

.msp247-hd-rating span small {
	color: #60727e;
	font-size: 10px;
	font-weight: 750;
	line-height: 1.1;
}

.msp247-hd-rating input:checked + span {
	border-color: #0786a3;
	background: #0786a3;
	color: #fff;
	box-shadow: 0 11px 24px rgba(7, 134, 163, .25);
	transform: translateY(-3px);
}

.msp247-hd-rating label:nth-child(1) input:checked + span {
	border-color: #a43d3d;
	background: #a43d3d;
	box-shadow: 0 11px 24px rgba(164, 61, 61, .22);
}

.msp247-hd-rating label:nth-child(2) input:checked + span {
	border-color: #b86825;
	background: #b86825;
	box-shadow: 0 11px 24px rgba(184, 104, 37, .22);
}

.msp247-hd-rating label:nth-child(3) input:checked + span {
	border-color: #56727e;
	background: #56727e;
	box-shadow: 0 11px 24px rgba(86, 114, 126, .22);
}

.msp247-hd-rating label:nth-child(5) input:checked + span {
	border-color: #168c3a;
	background: #168c3a;
	box-shadow: 0 11px 24px rgba(22, 140, 58, .23);
}

.msp247-hd-rating input:checked + span small {
	color: #fff;
}

.msp247-hd-rating input:focus-visible + span {
	outline: 3px solid rgba(7, 134, 163, .24);
	outline-offset: 3px;
}

.msp247-hd-rating-selection {
	min-height: 22px;
	margin: 13px 0 0;
	color: #70808a;
	font-size: 13px;
	font-weight: 650;
	text-align: center;
}

.msp247-hd-rating-selection.is-selected {
	color: #163247;
	font-weight: 800;
}

.msp247-hd-feedback-comment {
	margin-bottom: 24px !important;
	padding-top: 24px;
	border-top: 1px solid #e4ecef;
}

.msp247-hd-feedback-comment > span {
	display: block;
	color: #163247;
	font-size: 17px;
	font-weight: 850;
}

.msp247-hd-feedback-comment > small {
	display: block;
	margin-top: 5px;
	color: #60727e;
	font-size: 13px;
	font-weight: 500;
}

.msp247-hd-feedback-comment textarea {
	min-height: 116px;
	resize: vertical;
}

.msp247-hd-feedback-comment textarea::placeholder {
	color: #87959d;
}

.msp247-hd-feedback-actions {
	display: grid;
	grid-template-columns: minmax(190px, 230px) 1fr;
	align-items: center;
	gap: 18px;
}

.msp247-hd-feedback-actions .msp247-hd-button {
	width: 100%;
}

.msp247-hd-feedback-actions p {
	margin: 0;
	color: #60727e;
	font-size: 12px;
	line-height: 1.45;
}

.msp247-hd-satisfaction--complete {
	padding: 38px !important;
	background: #0c4055;
}

.msp247-hd-feedback-complete {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 22px;
}

.msp247-hd-satisfaction--complete .msp247-hd-feedback-kicker {
	margin-bottom: 18px !important;
}

.msp247-hd-satisfaction--complete p {
	max-width: 650px;
	margin: 0;
	color: #d9e9ee;
	font-size: 15px;
	line-height: 1.6;
}

.msp247-hd-feedback-score {
	display: flex;
	width: 88px;
	height: 88px;
	align-items: baseline;
	justify-content: center;
	padding-top: 27px;
	border-radius: 22px;
	background: #fff;
	color: #0786a3;
	font-size: 34px;
	font-weight: 850;
	line-height: 1;
}

.msp247-hd-feedback-score span {
	font-size: 14px;
}

@media (max-width: 720px) {
	.msp247-hd-thread:has(.msp247-hd-public-message--system:only-child) {
		padding: 12px;
	}

	.msp247-hd-public-message--system header {
		flex-direction: row;
		gap: 10px;
	}

	.msp247-hd-satisfaction {
		border-radius: 20px !important;
	}

	.msp247-hd-feedback-heading {
		padding: 27px 23px 25px;
	}

	.msp247-hd-feedback-heading-meta {
		margin-bottom: 13px;
	}

	.msp247-hd-feedback-heading-meta > span {
		padding: 6px 9px;
		font-size: 10px;
	}

	.msp247-hd-feedback-form {
		padding: 23px;
	}

	.msp247-hd-feedback-heading h2,
	.msp247-hd-satisfaction--complete h2 {
		font-size: 29px;
	}

	.msp247-hd-feedback-heading > p:last-child {
		font-size: 14px;
		line-height: 1.55;
	}

	.msp247-hd-rating {
		gap: 6px;
	}

	.msp247-hd-rating span {
		min-height: 68px;
		gap: 4px;
		border-radius: 13px;
	}

	.msp247-hd-rating span strong {
		font-size: 21px;
	}

	.msp247-hd-rating span small {
		display: block;
		font-size: 8px;
	}

	.msp247-hd-feedback-comment {
		padding-top: 21px;
	}

	.msp247-hd-feedback-comment textarea {
		min-height: 104px;
	}

	.msp247-hd-feedback-actions {
		grid-template-columns: 1fr;
		gap: 10px;
		padding-right: 54px;
	}

	.msp247-hd-feedback-actions p {
		font-size: 11px;
	}

	.msp247-hd-satisfaction--complete {
		padding: 28px 23px !important;
	}

	.msp247-hd-feedback-complete {
		grid-template-columns: 1fr;
	}

	.msp247-hd-feedback-score {
		width: 76px;
		height: 76px;
		padding-top: 22px;
		border-radius: 18px;
	}
}
