.nhscomp-filter {
	display: grid;
	gap: 1rem;
	margin: 0 0 1.5rem;
}

.nhscomp-filter--wizard {
	max-width: 100%;
	width: 100%;
}

.nhscomp-filter__page[hidden] {
	display: none;
}

.nhscomp-filter [data-nhscomp-field-option][hidden] {
	display: none !important;
}

.nhscomp-filter__stage {
	border: 1px solid #d8dde3;
	padding: 1rem;
}

.nhscomp-filter__page {
	border: 0;
	box-sizing: border-box;
	padding: 1rem;
	text-align: center;
	width: 100%;
}

.nhscomp-filter__stage h3 {
	margin-top: 0;
}

.nhscomp-filter__page h3 {
	margin-top: 0;
}

.nhscomp-filter__heading,
.nhscomp-results__heading {
	align-items: center;
	display: grid;
	gap: 1rem;
	margin-bottom: 2rem;
}

.nhscomp-filter__heading {
	grid-template-columns: minmax(14rem, 1fr) minmax(0, 42rem) minmax(14rem, 1fr);
}

.nhscomp-results__heading {
	grid-template-columns: max-content minmax(0, 1fr) max-content;
}

.nhscomp-filter__heading-copy,
.nhscomp-results__heading-copy {
	grid-column: 2;
	justify-self: center;
	min-width: 0;
	overflow-wrap: anywhere;
}

.nhscomp-filter__selection-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	grid-column: 3;
	justify-content: flex-end;
	justify-self: end;
}

.nhscomp-filter__selection-button {
	background: #fff;
	border: 1px solid #c7ced8;
	border-radius: 0;
	color: #333;
	cursor: pointer;
	font: inherit;
	font-size: .9rem;
	font-weight: 700;
	line-height: 1;
	padding: .65rem .8rem .55rem;
}

.nhscomp-filter__selection-button:hover,
.nhscomp-filter__selection-button:focus {
	border-color: #b3297f;
	color: #b3297f;
}

.nhscomp-filter__heading h3,
.nhscomp-results__heading h3 {
	display: inline-block;
	margin: 0;
}

.nhscomp-filter__subheader,
.nhscomp-results__subheader {
	color: #475467;
	font-size: 1rem;
	margin: .4rem 0 0;
}

.nhscomp-filter__restart,
.nhscomp-results__restart,
.nhscomp-results__share-toggle {
	align-items: center;
	background: #fff;
	border: 1px solid #d0d0d0;
	border-radius: 0;
	color: #333;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: -0.005rem;
	line-height: 1;
	overflow: hidden;
	padding: 12px 14px 10px;
	position: relative;
	text-decoration: none;
	transition: color .35s ease, border-color .35s ease;
}

.nhscomp-filter__restart {
	grid-column: 1;
	justify-self: start;
}

.nhscomp-results__restart {
	justify-self: start;
}

.nhscomp-results__heading-actions {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	grid-column: 1;
	justify-self: start;
}

.nhscomp-filter__restart::before,
.nhscomp-results__restart::before,
.nhscomp-results__share-toggle::before {
	background: #ae2573;
	content: "";
	inset: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s ease;
	z-index: 0;
}

.nhscomp-filter__restart:hover::before,
.nhscomp-filter__restart:focus::before,
.nhscomp-results__restart:hover::before,
.nhscomp-results__restart:focus::before,
.nhscomp-results__share-toggle:hover::before,
.nhscomp-results__share-toggle:focus::before {
	transform: scaleX(1);
}

.nhscomp-filter__restart:hover,
.nhscomp-filter__restart:focus,
.nhscomp-results__restart:hover,
.nhscomp-results__restart:focus,
.nhscomp-results__share-toggle:hover,
.nhscomp-results__share-toggle:focus {
	border-color: #ae2573;
	color: #fff;
	text-decoration: none;
}

.nhscomp-restart__icon,
.nhscomp-restart__text,
.nhscomp-results__share-icon,
.nhscomp-results__share-text {
	position: relative;
	z-index: 1;
}

.nhscomp-restart__icon,
.nhscomp-results__share-icon {
	background: currentColor;
	display: inline-block;
	flex: 0 0 auto;
	height: 14px;
	margin-right: 0;
	opacity: 0;
	transition: opacity .25s ease, width .25s ease, margin-right .25s ease, transform .35s ease;
	width: 0;
}

.nhscomp-restart__icon {
	mask: var(--nhscomp-icon-arrow-rotate-right) center / contain no-repeat;
	-webkit-mask: var(--nhscomp-icon-arrow-rotate-right) center / contain no-repeat;
	transform: translateX(-8px) scaleX(-1) rotate(-90deg);
}

.nhscomp-results__share-icon {
	mask: var(--nhscomp-icon-share-from-square) center / contain no-repeat;
	-webkit-mask: var(--nhscomp-icon-share-from-square) center / contain no-repeat;
	transform: translateX(-8px) rotate(-90deg);
}

.nhscomp-filter__restart:hover .nhscomp-restart__icon,
.nhscomp-filter__restart:focus .nhscomp-restart__icon,
.nhscomp-results__restart:hover .nhscomp-restart__icon,
.nhscomp-results__restart:focus .nhscomp-restart__icon {
	margin-right: 8px;
	opacity: 1;
	transform: translateX(0) scaleX(-1) rotate(0deg);
	width: 14px;
}

.nhscomp-results__share-toggle:hover .nhscomp-results__share-icon,
.nhscomp-results__share-toggle:focus .nhscomp-results__share-icon {
	margin-right: 8px;
	opacity: 1;
	transform: translateX(0) rotate(0deg);
	width: 14px;
}

.nhscomp-results__level-control {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
	grid-column: 3;
	justify-self: end;
}

.nhscomp-results__level-label {
	color: #1f2937;
	font-size: .95rem;
	font-weight: 700;
}

.nhscomp-results__level-filter {
	align-items: center;
	color: #1f2937;
	display: flex;
	font-size: .95rem;
	font-weight: 700;
	gap: .45rem;
}

.nhscomp-results__level-filter select {
	background: #fff;
	border: 1px solid #c7ced8;
	border-radius: 5px;
	color: #1f2937;
	font: inherit;
	min-width: 3rem;
	padding: .1rem .55rem 0;
}

.nhscomp-results__share {
	display: inline-block;
	margin-top: 0;
	position: relative;
}

.nhscomp-results__share-row button {
	align-items: center;
	background: #fff;
	border: 1px solid #b3297f;
	border-radius: 5px;
	color: #1f2937;
	cursor: pointer;
	display: flex;
	justify-content: center;
	font: inherit;
	font-weight: 700;
	padding: .45rem .75rem;
}

.nhscomp-results__share-row button span {
	display: none;
}

.nhscomp-results__share-row button::before {
	background: currentColor;
	content: "";
	display: block;
	height: 1.25rem;
	mask: var(--nhscomp-icon-copy) center / contain no-repeat;
	-webkit-mask: var(--nhscomp-icon-copy) center / contain no-repeat;
	width: 1.25rem;
}

.nhscomp-results__share-copy--copied span {
	display: none;
}

.nhscomp-results__share-row button.nhscomp-results__share-copy--copied::before {
	background: currentColor;
	content: "";
	display: block;
	height: 1.25rem;
	mask: var(--nhscomp-icon-check) center / contain no-repeat;
	-webkit-mask: var(--nhscomp-icon-check) center / contain no-repeat;
	width: 1.25rem;
}

.nhscomp-results__share-popup {
	background: #fff;
	border: 1px solid #c7ced8;
	border-radius: 5px;
	box-shadow: 0 12px 30px rgba(16, 24, 40, .16);
	box-sizing: border-box;
	left: 50%;
	max-width: calc(100vw - 2rem);
	min-width: min(24rem, calc(100vw - 2rem));
	padding: 1rem;
	position: absolute;
	top: calc(100% + .5rem);
	transform: translateX(calc(-50% + var(--nhscomp-share-popup-offset, 0px)));
	z-index: 5;
}

.nhscomp-results__share-popup p {
	color: #1f2937;
	font-size: .95rem;
	font-weight: 700;
	margin: 0 0 .75rem;
}

.nhscomp-results__share-row {
	display: flex;
	gap: .5rem;
}

.nhscomp-results__share-row input {
	border: 1px solid #c7ced8;
	border-radius: 5px;
	box-sizing: border-box;
	flex: 1 1 auto;
	font: inherit;
	min-width: 0;
	padding: .45rem .55rem;
}

@media (max-width: 760px) {
	.nhscomp-filter__heading,
	.nhscomp-results__heading {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.nhscomp-filter__restart,
	.nhscomp-results__restart,
	.nhscomp-results__heading-actions,
	.nhscomp-results__level-control,
	.nhscomp-filter__heading-copy,
	.nhscomp-results__heading-copy,
	.nhscomp-filter__selection-actions,
	.nhscomp-filter__heading-spacer,
	.nhscomp-results__heading-spacer {
		grid-column: 1;
	}

	.nhscomp-filter__restart,
	.nhscomp-results__heading-actions,
	.nhscomp-results__level-control {
		justify-self: start;
	}

	.nhscomp-filter__heading-spacer,
	.nhscomp-results__heading-spacer {
		display: none;
	}

	.nhscomp-filter__selection-actions {
		justify-content: center;
		justify-self: center;
	}

	.nhscomp-results__heading {
		grid-template-columns: minmax(0, 1fr) auto;
		justify-items: stretch;
	}

	.nhscomp-results__heading-copy {
		grid-column: 1 / -1;
		grid-row: 1;
		justify-self: center;
	}

	.nhscomp-results__heading-actions {
		grid-column: 1;
		grid-row: 2;
		justify-self: start;
	}

	.nhscomp-results__level-control {
		grid-column: 2;
		grid-row: 2;
		justify-self: end;
	}
}

.nhscomp-filter__radio,
.nhscomp-filter__check {
	align-items: center;
	display: flex;
}

.nhscomp-filter__choices,
.nhscomp-filter__values {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
	margin-top: .5rem;
	place-content: center;
}

.nhscomp-filter__choices > .nhscomp-filter__radio {
	flex: 0 1 calc(25% - 1.125rem);
	min-width: 220px;
}

.nhscomp-filter__values > .nhscomp-filter__check {
	flex: 0 1 calc(25% - 1.125rem);
	min-width: 220px;
}

.nhscomp-filter__option {
	background: #fff;
	border: 2px solid #4b5563;
	border-radius: 5px;
	box-sizing: border-box;
	color: #4b5563;
	cursor: pointer;
	flex-direction: column;
	font-size: 1.2rem;
	font-weight: 700;
	gap: 1rem;
	justify-content: center;
	min-height: 222px;
	padding: 1.5rem;
	position: relative;
	text-align: center;
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, opacity 0.7s ease, transform 0.3s ease;
	width: 100%;
}

.nhscomp-filter__option--fade {
	opacity: 0;
}

.nhscomp-filter__option--visible {
	opacity: 1;
}

.nhscomp-filter__option:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nhscomp-filter__option:has(.nhscomp-filter__native:checked) {
	background: #ffffff;
	border-color: #b3297f;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
	color: #b3297f;
	transform: translateY(-6px);
}

.nhscomp-filter__check.nhscomp-filter__option {
	font-size: 1.15rem;
}

.nhscomp-filter__choices {
	margin-bottom: 1.5rem;
	margin-top: .5rem;
}

@media (max-width: 900px) {
	.nhscomp-filter__values > .nhscomp-filter__check {
		flex-basis: calc(50% - .75rem);
	}
}

@media (max-width: 560px) {
	.nhscomp-filter__choices > .nhscomp-filter__radio,
	.nhscomp-filter__values > .nhscomp-filter__check {
		flex-basis: 100%;
		max-width: 100%;
		width: 100%;
	}
}

.nhscomp-filter__native {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.nhscomp-filter__option-label {
	display: block;
	line-height: 1.2;
}

.nhscomp-filter__option-check {
	align-items: center;
	background: #b3297f;
	border: 4px solid #ffffff;
	border-radius: 999px;
	bottom: -1.15rem;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
	display: flex;
	height: 3.5rem;
	justify-content: center;
	left: 50%;
	opacity: 0;
	position: absolute;
	transform: translate(-50%, 20%) scale(0);
	transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1), opacity 0.2s ease;
	width: 3.5rem;
}

.nhscomp-filter__option-check::before {
	background: #fff;
	content: "";
	display: block;
	height: 1.35rem;
	mask: var(--nhscomp-icon-check) center / contain no-repeat;
	-webkit-mask: var(--nhscomp-icon-check) center / contain no-repeat;
	width: 1.35rem;
}

.nhscomp-filter__native:checked ~ .nhscomp-filter__option-check {
	opacity: 1;
	transform: translate(-50%, 20%) scale(1);
}

.nhscomp-filter__option-icon {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	height: 5rem;
	transition: transform 0.3s ease;
	width: 5rem;
}

.nhscomp-filter__option-icon--level {
	background-image: var(--nhscomp-icon-filter-level);
}

.nhscomp-filter__option-icon--category {
	background-image: var(--nhscomp-icon-filter-categories);
}

.nhscomp-filter__option-icon--activity-area {
	background-image: var(--nhscomp-icon-filter-activity-area);
}

.nhscomp-filter__option-icon--task {
	background-image: var(--nhscomp-icon-filter-task);
}

.nhscomp-filter__check.nhscomp-filter__option .nhscomp-filter__option-check {
	height: 2.5rem;
	transform: translate(-50%, 7%) scale(0);
	width: 2.5rem;
}

.nhscomp-filter__check.nhscomp-filter__option .nhscomp-filter__native:checked ~ .nhscomp-filter__option-check {
	transform: translate(-50%, 7%) scale(1);
}

.nhscomp-filter__native:checked ~ .nhscomp-filter__option-label {
	color: #b3297f;
}

.nhscomp-filter__option:focus-within {
	border-color: #b3297f;
	box-shadow: 0 0 0 3px rgba(179, 41, 127, .18);
}

.nhscomp-filter__muted {
	color: #667085;
	margin: .5rem 0 0;
}

.nhscomp-button {
	display: inline-block;
	padding: .8rem 2rem;
	border: 1px solid #b3297f;
	background: #b3297f;
	color: #fff;
	cursor: pointer;
	font-size: 1.05rem;
	font-weight: 700;
	min-width: 9rem;
	text-decoration: none;
}

.nhscomp-filter__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: center;
	margin-top: 4rem;
	position: relative;
}

.nhscomp-filter__validation {
	background: #fff;
	border: 1px solid #b3297f;
	color: #1f2937;
	font-size: .95rem;
	font-weight: 700;
	left: calc(50% + 5rem);
	max-width: min(18rem, calc(50vw - 6rem));
	padding: .55rem .75rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.nhscomp-filter__validation::before {
	background: #fff;
	border-bottom: 1px solid #b3297f;
	border-left: 1px solid #b3297f;
	content: "";
	height: .55rem;
	left: -.34rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
	width: .55rem;
}

@media (max-width: 640px) {
	.nhscomp-filter__validation {
		bottom: calc(100% + .75rem);
		left: 50%;
		max-width: min(18rem, calc(100vw - 2rem));
		top: auto;
		transform: translateX(-50%);
	}

	.nhscomp-filter__validation::before {
		border: 0;
		border-bottom: 1px solid #b3297f;
		border-right: 1px solid #b3297f;
		bottom: -.34rem;
		left: 50%;
		top: auto;
		transform: translateX(-50%) rotate(45deg);
	}
}

.nhscomp-button--secondary {
	background: #fff;
	color: #1f2937;
	border-color: #c7ced8;
}

.nhscomp-results {
	display: block;
	width: 100%;
}

.nhscomp-accordion {
	display: grid;
	gap: 1.5rem;
	width: 100%;
}

.nhscomp-accordion__item {
	background: transparent;
	border: 0;
	box-sizing: border-box;
	width: 100%;
}

.nhscomp-accordion__content {
	box-sizing: border-box;
	display: block;
	height: 0;
	overflow: hidden;
	transition: height .65s ease;
	visibility: hidden;
}

.nhscomp-accordion__item[open] > .nhscomp-accordion__content {
	height: auto;
	visibility: visible;
}

.nhscomp-accordion__panel {
	box-sizing: border-box;
}

.nhscomp-accordion__item--task,
.nhscomp-accordion__item--competency {
	margin: 0;
}

.nhscomp-accordion__item--activity > .nhscomp-accordion__summary {
	background: #eceeef;
	border-radius: 5px;
	color: #555;
	font-size: 1.35rem;
	font-weight: 700;
	padding: 1.25rem 1.7rem;
}

.nhscomp-accordion__item--activity.nhscomp-accordion__item--active > .nhscomp-accordion__summary,
.nhscomp-accordion__item--activity[open]:not([data-nhscomp-accordion-ready="1"]) > .nhscomp-accordion__summary {
	background: #c9007a;
	color: #fff;
}

.nhscomp-accordion__item--task > .nhscomp-accordion__summary,
.nhscomp-accordion__item--competency > .nhscomp-accordion__summary {
	border-bottom: 1px solid #d8d8d8;
	color: #111827;
	font-size: 1.05rem;
	font-weight: 500;
	padding: .65rem 0;
}

.nhscomp-accordion__item--task:last-of-type > .nhscomp-accordion__summary {
	border-bottom: 0;
}

.nhscomp-accordion__item--competency:last-of-type > .nhscomp-accordion__summary {
	border-bottom: 0;
}

.nhscomp-accordion__item--task.nhscomp-accordion__item--active > .nhscomp-accordion__summary,
.nhscomp-accordion__item--competency.nhscomp-accordion__item--active > .nhscomp-accordion__summary,
.nhscomp-accordion__item--task[open]:not([data-nhscomp-accordion-ready="1"]) > .nhscomp-accordion__summary,
.nhscomp-accordion__item--competency[open]:not([data-nhscomp-accordion-ready="1"]) > .nhscomp-accordion__summary {
	font-weight: 700;
}

.nhscomp-accordion__summary {
	align-items: center;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	list-style: none;
	width: 100%;
}

.nhscomp-accordion__summary::-webkit-details-marker {
	display: none;
}

.nhscomp-accordion__summary::marker {
	content: "";
}

.nhscomp-accordion__summary:focus {
	outline: 2px solid #1f6feb;
	outline-offset: 2px;
}

.nhscomp-accordion__label {
	display: block;
	min-width: 0;
}

.nhscomp-accordion__chevron {
	display: block;
	flex: 0 0 1.25rem;
	height: 1.25rem;
	position: relative;
	width: 1.25rem;
}

.nhscomp-accordion__chevron::before {
	background: currentColor;
	content: "";
	display: block;
	height: .85rem;
	left: 50%;
	mask: var(--nhscomp-icon-chevron-down) center / contain no-repeat;
	-webkit-mask: var(--nhscomp-icon-chevron-down) center / contain no-repeat;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transform-origin: center;
	width: .85rem;
}

.nhscomp-accordion__item.nhscomp-accordion__item--active > .nhscomp-accordion__summary .nhscomp-accordion__chevron::before,
.nhscomp-accordion__item[open]:not([data-nhscomp-accordion-ready="1"]) > .nhscomp-accordion__summary .nhscomp-accordion__chevron::before {
	transform: translate(-50%, -50%) rotate(180deg);
}

.nhscomp-accordion__panel--activity {
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 5px;
	margin-top: 1rem;
	padding: 2rem 2.15rem;
}

.nhscomp-accordion__panel--task {
	padding: 2rem 0 0 1.15rem;
}

.nhscomp-accordion__panel--competency {
	padding: 1.9rem 0 0 2.15rem;
}

.nhscomp-results__section-title {
	color: #0072bc;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 .9rem;
}

.nhscomp-card {
	background: #fff;
	border: 0;
	margin: 0 0 2rem;
	padding: 0;
}

.nhscomp-card__title {
	margin: 0 0 .35rem;
	font-size: .9rem;
	text-transform: uppercase;
	letter-spacing: 0;
	color: #475467;
}

.nhscomp-card__competency {
	margin: 0 0 .75rem;
}

.nhscomp-card__meta {
	display: block;
	margin: 0;
}

.nhscomp-card__meta > div {
	margin: 0 0 1.7rem;
}

.nhscomp-card__meta dt {
	color: #0072bc;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 .75rem;
}

.nhscomp-card__meta dd {
	color: #111827;
	margin: 0;
}

.nhscomp-supplement {
	background: transparent;
	border: 0;
	margin: 0 0 2rem;
	padding: 0;
}

.nhscomp-supplement h4,
.nhscomp-supplement h5 {
	color: #0072bc;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 .9rem;
}

.nhscomp-supplement h5 {
	margin-top: 1.6rem;
}

.nhscomp-supplement ul {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.nhscomp-supplement li {
	border-bottom: 1px solid #d8d8d8;
	margin: 0;
	padding: .65rem 0;
}

.nhscomp-supplement--provisions li:last-child {
	border-bottom: 0;
}

.nhscomp-job-role {
	align-items: center;
	display: flex !important;
	gap: 1rem;
	justify-content: space-between;
}

.nhscomp-job-role__title {
	min-width: 0;
}

.nhscomp-job-role__button {
	border: 1px solid #e44aa2;
	color: #111827;
	display: inline-flex;
	flex: 0 0 auto;
	padding: .55rem 1rem;
	text-decoration: none;
}

.nhscomp-job-role__button:hover,
.nhscomp-job-role__button:focus {
	text-decoration: none;
}

.nhscomp-supplement a.nhscomp-provision-link {
	background: currentColor;
	border: 0;
	display: inline-block;
	height: .85em;
	margin-left: .35rem;
	-webkit-mask: var(--nhscomp-icon-up-right-from-square) center / contain no-repeat;
	mask: var(--nhscomp-icon-up-right-from-square) center / contain no-repeat;
	padding: 0;
	text-decoration: none;
	vertical-align: .05em;
	width: .85em;
}

.nhscomp-supplement a.nhscomp-provision-link:hover,
.nhscomp-supplement a.nhscomp-provision-link:focus {
	text-decoration: none;
}

.nhscomp-provider,
.nhscomp-identifier {
	color: #667085;
}

@media (max-width: 700px) {
	.nhscomp-accordion__panel--activity {
		padding: 1.25rem;
	}

	.nhscomp-accordion__panel--task,
	.nhscomp-accordion__panel--competency {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nhscomp-accordion__content,
	.nhscomp-accordion__item[open] > .nhscomp-accordion__content {
		transition: none;
	}
}
