.oshc-resource-survey {
	padding: clamp(2rem, 6vw, 5rem) 0;
}
.oshc-resource-survey__card {
	max-width: 52rem;
	margin-inline: auto;
	padding: clamp(1.25rem, 4vw, 3rem);
	background: #fff;
	border: 1px solid #e1e5e7;
	border-radius: 1rem;
}
.oshc-resource-survey__card h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.2;
}
.oshc-resource-survey__card > p {
	margin-block: 1rem 2rem;
}

/* The feedback survey uses ordinary stacked choices, independently of assessment scales. */
.oshc-resource-survey div.gform_wrapper.gravity-theme .gfield_radio {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	padding: 1rem;
}
.oshc-resource-survey div.gform_wrapper.gravity-theme .gfield_radio .gchoice {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start !important;
	gap: .75rem;
	margin: 0;
}
.oshc-resource-survey div.gform_wrapper.gravity-theme .gfield_radio .gfield-choice-input {
	position: relative;
	order: 0;
	flex: 0 0 22px;
	margin-top: 2px;
	transform: none;
}
.oshc-resource-survey div.gform_wrapper.gravity-theme .gfield_radio label {
	order: 1;
	margin: 0 !important;
	padding: 0;
	text-align: left !important;
	max-width: calc(100% - 34px);
	line-height: 1.5;
}
.oshc-resource-survey div.gform_wrapper.gravity-theme .gfield textarea {
	height: 8rem;
	min-height: 6rem;
	line-height: 1.5;
}
.oshc-resource-survey div.gform_wrapper.gravity-theme .gfield_required {
	margin-left: .25em;
}
.oshc-resource-survey div.gform_wrapper.gravity-theme .gfield_checkbox .gchoice,
.oshc-resource-survey div.gform_wrapper.gravity-theme .ginput_container_consent {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
}
.oshc-resource-survey div.gform_wrapper.gravity-theme input[type="checkbox"] {
	position: relative;
	flex: 0 0 22px;
	margin-top: 2px;
	transform: none;
}
.oshc-resource-survey div.gform_wrapper.gravity-theme .gfield_checkbox label,
.oshc-resource-survey div.gform_wrapper.gravity-theme .ginput_container_consent label {
	margin: 0;
	padding: 0;
	line-height: 1.5;
}
.oshc-resource-survey div.gform_wrapper.gravity-theme .gfield--type-checkbox,
.oshc-resource-survey div.gform_wrapper.gravity-theme .gfield--type-consent {
	margin-bottom: 1rem;
}
.oshc-survey-frame {
	margin: 0;
	background: #fcf7ee;
}
.oshc-resource-survey--embedded {
	padding: 0;
}
.oshc-resource-survey--embedded > .shell__container {
	width: 100%;
	max-width: none;
	padding: 0;
}
.oshc-resource-survey--embedded .oshc-resource-survey__card {
	border: 0;
	border-radius: 0;
	padding: 0 clamp(1rem, 4vw, 2rem) clamp(1rem, 4vw, 2rem);
	background: #fcf7ee;
}
.oshc-survey-dialog {
	width: min(52rem, calc(100vw - 2rem));
	max-width: none;
	height: min(54rem, calc(100dvh - 2rem));
	max-height: calc(100dvh - 2rem);
	padding: 0;
	margin: auto;
	border: 0;
	border-radius: 1rem;
	background: #fcf7ee;
	box-shadow: 0 1rem 4rem #0004;
	overflow: hidden;
}
.oshc-survey-dialog[open] {
	display: flex;
	flex-direction: column;
}
.oshc-survey-dialog::backdrop {
	background: #0008;
}
.oshc-survey-dialog__toolbar {
	display: flex;
	justify-content: flex-end;
	padding: .5rem 1rem 0;
}
.oshc-survey-dialog__close {
	display: grid;
	place-items: center;
	position: relative;
	top: 6px;
	width: 2.5rem;
	height: 2.5rem;
	min-width: 0;
	font: inherit;
	font-size: 1.75rem;
	line-height: 1;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #714fa0;
	color: #fff;
	cursor: pointer;
}
.oshc-survey-dialog__close:focus-visible {
	outline: 2px solid #503776;
	outline-offset: 2px;
}
.oshc-survey-dialog iframe {
	width: 100%;
	flex: 1;
	min-height: 0;
	border: 0;
	background: #fcf7ee;
}
