.ncnt-finder,
.ncnt-finder *,
.ncnt-finder *::before,
.ncnt-finder *::after {
	box-sizing: border-box;
}

.ncnt-finder {
	--ncnt-coral: #f4646b;
	--ncnt-gold: #ebbb42;
	--ncnt-blue: #4e8499;
	--ncnt-cream: #f6f3ed;
	--ncnt-border: rgba(20, 20, 20, 0.10);
	--ncnt-muted: #555;

	width: min(1180px, 100%);
	margin: 0 auto 74px;
	color: inherit;
}

.ncnt-finder__form {
	position: relative;
	padding: clamp(28px, 3.5vw, 42px);
	overflow: hidden;
	background:
		radial-gradient(
			circle at 18% 18%,
			rgba(244, 100, 107, 0.12),
			transparent 34%
		),
		radial-gradient(
			circle at 82% 18%,
			rgba(235, 187, 66, 0.12),
			transparent 34%
		),
		radial-gradient(
			circle at 52% 88%,
			rgba(78, 132, 153, 0.10),
			transparent 40%
		),
		rgba(246, 243, 237, 0.34);
	border: 1px solid var(--ncnt-border);
	border-radius: 26px;
	box-shadow: 0 8px 30px rgba(20, 20, 20, 0.045);
}

.ncnt-finder__form::after {
	content: "";
	position: absolute;
	top: 22px;
	right: 26px;
	width: 72px;
	height: 66px;
	background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5NiA4OCIgYXJpYS1oaWRkZW49InRydWUiPgo8ZGVmcz4KICA8cGF0dGVybiBpZD0iZ29sZERvdHMiIHdpZHRoPSI2IiBoZWlnaHQ9IjYiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgPGNpcmNsZSBjeD0iMyIgY3k9IjMiIHI9IjEuNTUiIGZpbGw9IiNlYmJiNDIiLz4KICA8L3BhdHRlcm4+CiAgPHBhdHRlcm4gaWQ9ImJsdWVEb3RzIiB3aWR0aD0iNiIgaGVpZ2h0PSI2IiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgIDxjaXJjbGUgY3g9IjMiIGN5PSIzIiByPSIxLjU1IiBmaWxsPSIjNGU4NDk5Ii8+CiAgPC9wYXR0ZXJuPgogIDxwYXR0ZXJuIGlkPSJjb3JhbERvdHMiIHdpZHRoPSI2IiBoZWlnaHQ9IjYiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgPGNpcmNsZSBjeD0iMyIgY3k9IjMiIHI9IjEuNTUiIGZpbGw9IiNmNDY0NmIiLz4KICA8L3BhdHRlcm4+CjwvZGVmcz4KPHBvbHlnb24gcG9pbnRzPSI0OC4wMCw0LjI2IDU4LjA4LDkuMzAgMTguNjAsMjkuMDQgOC41MiwyNC4wMCIgZmlsbD0idXJsKCNnb2xkRG90cykiLz48cG9seWdvbiBwb2ludHM9IjU1Ljk4LDguMjUgNjUuNjQsMTMuMDggNDAuMDIsMzkuNzUgMzAuMzYsMzQuOTIiIGZpbGw9InVybCgjZ29sZERvdHMpIi8+PHBvbHlnb24gcG9pbnRzPSI3Ny40MCwxOC45NiA4Ny40OCwyNC4wMCA0OC4wMCw0My43NCAzNy45MiwzOC43MCIgZmlsbD0idXJsKCNnb2xkRG90cykiLz48cG9seWdvbiBwb2ludHM9IjcuMjYsMjUuODAgMTcuMzQsMzAuODQgMTcuMzQsNjcuNTAgNy4yNiw2Mi40NiIgZmlsbD0idXJsKCNibHVlRG90cykiLz48cG9seWdvbiBwb2ludHM9IjE1LjI0LDI5Ljc5IDI0LjkwLDM0LjYyIDM4Ljc2LDc4LjIxIDI5LjEwLDczLjM4IiBmaWxsPSJ1cmwoI2JsdWVEb3RzKSIvPjxwb2x5Z29uIHBvaW50cz0iMzYuNjYsNDAuNTAgNDYuNzQsNDUuNTQgNDYuNzQsODIuMjAgMzYuNjYsNzcuMTYiIGZpbGw9InVybCgjYmx1ZURvdHMpIi8+PHBvbHlnb24gcG9pbnRzPSI0OS4yNiw0NS41NCA1OS4zNCw0MC41MCA1OS4zNCw3Ny4xNiA0OS4yNiw4Mi4yMCIgZmlsbD0idXJsKCNjb3JhbERvdHMpIi8+PHBvbHlnb24gcG9pbnRzPSI1Ny4yNCw0MS41NSA2Ni45MCwzNi43MiA4MC43Niw2Ni40NSA3MS4xMCw3MS4yOCIgZmlsbD0idXJsKCNjb3JhbERvdHMpIi8+PHBvbHlnb24gcG9pbnRzPSI3OC42NiwzMC44NCA4OC43NCwyNS44MCA4OC43NCw2Mi40NiA3OC42Niw2Ny41MCIgZmlsbD0idXJsKCNjb3JhbERvdHMpIi8+PC9zdmc+") center / contain no-repeat;
	opacity: 0.28;
	pointer-events: none;
}

.ncnt-finder__intro {
	position: relative;
	z-index: 1;
	max-width: 790px;
	margin: 0 auto 18px;
	text-align: center;
}

.ncnt-finder__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 9px;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	opacity: .7;
}

.ncnt-finder__eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	background: currentColor;
	border-radius: 50%;
	opacity: .55;
}

.ncnt-finder__intro h1 {
	margin: 0;
	font-size: clamp(2.35rem, 4.3vw, 3.65rem);
	font-weight: 760;
	letter-spacing: -.045em;
	line-height: 1.02;
	text-wrap: balance;
}

.ncnt-finder__intro p {
	margin: 13px auto 0;
	max-width: 710px;
	font-size: .94rem;
	line-height: 1.6;
	color: var(--ncnt-muted);
}


.ncnt-finder__process {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	max-width: 930px;
	margin: 0 auto 22px;
}

.ncnt-finder__process-item {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid var(--ncnt-border);
	border-radius: 11px;
	font-size: .69rem;
	line-height: 1.35;
}

.ncnt-finder__process-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 25px;
	width: 25px;
	height: 25px;
	border-radius: 7px;
	font-size: .58rem;
	font-weight: 800;
}

.ncnt-finder__process-item:nth-child(1) .ncnt-finder__process-number {
	background: rgba(244, 100, 107, 0.11);
	color: #9f3940;
}

.ncnt-finder__process-item:nth-child(2) .ncnt-finder__process-number {
	background: rgba(235, 187, 66, 0.15);
	color: #7d6314;
}

.ncnt-finder__process-item:nth-child(3) .ncnt-finder__process-number {
	background: rgba(78, 132, 153, 0.11);
	color: #386678;
}

.ncnt-finder__process-item strong {
	font-weight: 800;
}

.ncnt-finder__search-row {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: end;
	max-width: 930px;
	margin: 0 auto;
}

.ncnt-finder__filters {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	max-width: 930px;
	margin: 18px auto 0;
}

.ncnt-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.ncnt-field > span,
.ncnt-purpose legend {
	font-size: .7rem;
	font-weight: 780;
	letter-spacing: .015em;
}

.ncnt-field input,
.ncnt-field select {
	width: 100%;
	min-height: 45px;
	padding: 9px 12px;
	font: inherit;
	font-size: .86rem;
	color: inherit;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid rgba(0, 0, 0, 0.13);
	border-radius: 10px;
}

.ncnt-field input:focus,
.ncnt-field select:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.ncnt-finder__submit {
	min-height: 45px;
	padding-inline: 24px !important;
	border: 1px solid transparent !important;
	border-radius: 12px !important;
	background-color: #f4646b !important;
	color: #171717 !important;
	font-weight: 700 !important;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ncnt-finder__submit:hover,
.ncnt-finder__submit:focus-visible {
	background-color: #ebbb42 !important;
	color: #171717 !important;
}

.ncnt-purpose {
	position: relative;
	z-index: 1;
	max-width: 930px;
	margin: 22px auto 0;
	padding: 0;
	border: 0;
}

.ncnt-purpose legend {
	margin-bottom: 8px;
}

.ncnt-purpose__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ncnt-purpose__option {
	position: relative;
	cursor: pointer;
}

.ncnt-purpose__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ncnt-purpose__option span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 12px;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 720;
	line-height: 1;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ncnt-purpose__option input:checked + span {
	background: #4e8499;
	border-color: #4e8499;
	color: #fff;
	box-shadow: 0 7px 18px rgba(78, 132, 153, 0.18);
}

.ncnt-purpose__option:hover span {
	transform: translateY(-1px);
}

.ncnt-purpose__option input:focus-visible + span {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ncnt-finder__form-footer {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	max-width: 930px;
	margin: 15px auto 0;
}

.ncnt-finder__save-wrap {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.ncnt-finder__share-note {
	font-size: .68rem;
	line-height: 1.45;
	color: var(--ncnt-muted);
	opacity: .82;
}

.ncnt-finder__save-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.ncnt-finder__save-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 31px;
	padding: 6px 10px;
	color: inherit;
	background: rgba(255, 255, 255, 0.64);
	border: 1px solid rgba(20, 20, 20, 0.12);
	border-radius: 999px;
	font: inherit;
	font-size: .68rem;
	font-weight: 720;
	line-height: 1;
	cursor: pointer;
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ncnt-finder__save-button:hover {
	transform: translateY(-1px);
	border-color: rgba(20, 20, 20, 0.20);
	box-shadow: 0 5px 16px rgba(20, 20, 20, 0.05);
	background: rgba(255, 255, 255, 0.88);
}

.ncnt-finder__save-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.ncnt-finder__save-button.is-copied {
	background: rgba(78, 132, 153, 0.10);
	border-color: rgba(78, 132, 153, 0.20);
}

.ncnt-finder__save-feedback {
	min-height: 1.25em;
	font-size: .66rem;
	line-height: 1.35;
	color: var(--ncnt-muted);
}

.ncnt-finder__reset {
	flex: 0 0 auto;
	padding: 4px 0;
	color: inherit;
	background: transparent;
	border: 0;
	font: inherit;
	font-size: .74rem;
	font-weight: 680;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	opacity: .72;
}

.ncnt-finder__results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 30px 0 15px;
}

.ncnt-finder__status {
	font-size: .82rem;
	color: var(--ncnt-muted);
}

.ncnt-finder__status strong {
	font-size: .96rem;
	opacity: 1;
}

.ncnt-finder__active {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}

.ncnt-active-chip {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 5px 9px;
	background: rgba(78, 132, 153, 0.08);
	border: 1px solid rgba(78, 132, 153, 0.16);
	border-radius: 999px;
	font-size: .65rem;
	line-height: 1;
	opacity: .76;
}

.ncnt-active-chip strong {
	margin-right: 3px;
}

.ncnt-finder__results {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ncnt-result {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 22px;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: 17px;
	box-shadow: 0 7px 22px rgba(0, 0, 0, 0.035);
	transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.ncnt-result:hover {
	transform: translateY(-2px);
	border-color: rgba(0, 0, 0, 0.15);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.ncnt-result__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.ncnt-result h3 {
	min-width: 0;
	margin: 0;
	font-size: 1.2rem;
	letter-spacing: -.018em;
	line-height: 1.18;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.ncnt-result h3.ncnt-result__name--long {
	font-size: 1.08rem;
}

.ncnt-result h3.ncnt-result__name--unbroken {
	font-size: 1.02rem;
	overflow-wrap: anywhere;
}

.ncnt-result__copy {
	flex: 0 0 auto;
	padding: 5px 9px;
	color: inherit;
	background: rgba(246, 243, 237, 0.82);
	border: 1px solid var(--ncnt-border);
	border-radius: 7px;
	font: inherit;
	font-size: .68rem;
	font-weight: 720;
	cursor: pointer;
	transition: transform 150ms ease, background 150ms ease;
}

.ncnt-result__copy:hover {
	transform: translateY(-1px);
}

.ncnt-result__copy.is-copied {
	font-weight: 800;
}

.ncnt-result__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 11px;
}

.ncnt-result__tags span,
.ncnt-result__tags .ncnt-result__tag {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 7px;
	background: rgba(246, 243, 237, 0.72);
	border: 1px solid var(--ncnt-border);
	border-radius: 999px;
	font-size: .61rem;
	font-weight: 700;
	line-height: 1;
}

.ncnt-result__tags span:nth-child(3n + 1),
.ncnt-result__tags .ncnt-result__tag:nth-child(3n + 1) {
	background: rgba(244, 100, 107, 0.07);
	border-color: rgba(244, 100, 107, 0.16);
}

.ncnt-result__tags span:nth-child(3n + 2),
.ncnt-result__tags .ncnt-result__tag:nth-child(3n + 2) {
	background: rgba(235, 187, 66, 0.09);
	border-color: rgba(235, 187, 66, 0.19);
}

.ncnt-result__tags span:nth-child(3n),
.ncnt-result__tags .ncnt-result__tag:nth-child(3n) {
	background: rgba(78, 132, 153, 0.07);
	border-color: rgba(78, 132, 153, 0.16);
}

.ncnt-result__tag {
	margin: 0;
	font-family: inherit;
	color: inherit;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.ncnt-result__tag:hover {
	transform: translateY(-1px);
	border-color: rgba(20, 20, 20, 0.22);
	box-shadow: 0 4px 10px rgba(20, 20, 20, 0.045);
}

.ncnt-result__tag:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.ncnt-result__description {
	margin: 13px 0 0;
	font-size: .84rem;
	line-height: 1.58;
	opacity: .82;
}

.ncnt-result__collection {
	margin-top: 14px;
	font-size: .68rem;
	font-weight: 640;
	line-height: 1.4;
	opacity: .62;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.ncnt-result__collection span {
	font-weight: 800;
}


.ncnt-result__collection-context {
	display: grid;
	gap: 3px;
	margin-top: 14px;
	font-size: .67rem;
	line-height: 1.4;
}

.ncnt-result__collection-context strong {
	font-size: .69rem;
	font-weight: 760;
	opacity: .8;
}

.ncnt-result__collection-context span {
	opacity: .6;
}

.ncnt-result__also {
	margin-top: 13px;
	padding-top: 11px;
	border-top: 1px solid rgba(20, 20, 20, 0.075);
}

.ncnt-result__also-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 0;
	color: inherit;
	background: transparent;
	border: 0;
	font: inherit;
	font-size: .68rem;
	font-weight: 720;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
}

.ncnt-result__also-toggle:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ncnt-result__also-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	border-radius: 4px;
}

.ncnt-result__also-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 21px;
	width: 21px;
	height: 21px;
	background: rgba(78, 132, 153, 0.07);
	border: 1px solid rgba(78, 132, 153, 0.14);
	border-radius: 7px;
	font-size: .78rem;
	font-weight: 700;
	line-height: 1;
}

.ncnt-result__occurrences {
	display: grid;
	gap: 6px;
	max-height: 230px;
	margin-top: 9px;
	overflow: auto;
	padding-right: 2px;
}

.ncnt-result__occurrences[hidden] {
	display: none;
}

.ncnt-result__occurrence {
	display: grid;
	gap: 3px;
	width: 100%;
	padding: 8px 9px;
	color: inherit;
	background: rgba(246, 243, 237, 0.5);
	border: 1px solid rgba(20, 20, 20, 0.08);
	border-radius: 9px;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.ncnt-result__occurrence:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(20, 20, 20, 0.15);
}

.ncnt-result__occurrence:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.ncnt-result__occurrence strong {
	font-size: .69rem;
	font-weight: 760;
	line-height: 1.25;
}

.ncnt-result__occurrence span {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	font-size: .61rem;
	line-height: 1.3;
	opacity: .64;
}

.ncnt-result__source {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	margin-top: auto;
	padding-top: 15px;
	font-size: .74rem;
	font-weight: 760;
	text-decoration: none;
}

.ncnt-result__source span {
	transition: transform 150ms ease;
}

.ncnt-result__source:hover span {
	transform: translateX(2px);
}

.ncnt-empty {
	grid-column: 1 / -1;
	display: grid;
	gap: 6px;
	padding: 38px;
	text-align: center;
	border: 1px dashed rgba(0, 0, 0, 0.15);
	border-radius: 16px;
}

.ncnt-empty span {
	opacity: .7;
}

.ncnt-finder__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 30px;
}

.ncnt-finder__pagination button {
	padding: 8px 13px;
	color: inherit;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	font: inherit;
	font-size: .76rem;
	font-weight: 720;
	cursor: pointer;
}

.ncnt-finder__pagination button:disabled {
	cursor: default;
	opacity: .4;
}

.ncnt-finder__pagination span {
	font-size: .76rem;
	font-weight: 700;
	opacity: .7;
}

.ncnt-finder.is-loading .ncnt-finder__results {
	opacity: .48;
	pointer-events: none;
}

@media (max-width: 980px) {
	.ncnt-finder__filters {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

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

	.ncnt-finder__results-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.ncnt-finder__active {
		justify-content: flex-start;
	}
}

@media (max-width: 700px) {
	.ncnt-finder__search-row {
		grid-template-columns: 1fr;
	}

	.ncnt-finder__submit {
		width: 100%;
	}

	.ncnt-finder__filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ncnt-finder__form-footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 9px;
	}
}

@media (max-width: 520px) {
	.ncnt-finder__form::after {
		display: none;
	}

	.ncnt-finder {
		margin-top: 24px;
	}

	.ncnt-finder__form {
		padding: 27px 18px;
		border-radius: 19px;
	}

	.ncnt-finder__intro h1 {
		font-size: clamp(2.15rem, 10vw, 2.75rem);
	}

	.ncnt-finder__process {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.ncnt-finder__process-item {
		padding: 9px 11px;
	}

	.ncnt-purpose__options {
		gap: 6px;
	}

	.ncnt-purpose__option span {
		min-height: 34px;
		padding: 6px 10px;
		font-size: .68rem;
	}

	.ncnt-finder__filters,
	.ncnt-finder__results {
		grid-template-columns: 1fr;
	}

	.ncnt-finder__pagination {
		gap: 10px;
	}
}


@media (prefers-reduced-motion: reduce) {
	.ncnt-result__tag,
	.ncnt-result__occurrence,
	.ncnt-finder__save-button {
		transition: none;
	}

	.ncnt-result__tag:hover,
	.ncnt-result__occurrence:hover,
	.ncnt-finder__save-button:hover {
		transform: none;
	}
}

/* v0.4.0 search mode, clear-state and accessibility refinements */
.ncnt-search-mode {
	position: relative;
	z-index: 1;
	max-width: 930px;
	margin: 12px auto 0;
	padding: 0;
	border: 0;
}

.ncnt-search-mode legend {
	font-size: .68rem;
	font-weight: 780;
	letter-spacing: .015em;
	margin-bottom: 7px;
}

.ncnt-search-mode__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ncnt-search-mode__option {
	position: relative;
	cursor: pointer;
}

.ncnt-search-mode__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ncnt-search-mode__option > span {
	display: inline-grid;
	gap: 2px;
	min-height: 38px;
	padding: 7px 11px;
	background: rgba(255, 255, 255, 0.64);
	border: 1px solid rgba(20, 20, 20, 0.11);
	border-radius: 11px;
	line-height: 1.2;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ncnt-search-mode__option strong {
	font-size: .69rem;
	font-weight: 780;
}

.ncnt-search-mode__option small {
	font-size: .58rem;
	color: var(--ncnt-muted);
}

.ncnt-search-mode__option input:checked + span {
	background: rgba(78, 132, 153, 0.09);
	border-color: rgba(78, 132, 153, 0.26);
	box-shadow: 0 5px 14px rgba(20, 20, 20, 0.04);
}

.ncnt-search-mode__option:hover > span {
	transform: translateY(-1px);
}

.ncnt-search-mode__option input:focus-visible + span,
.ncnt-finder__reset:focus-visible,
.ncnt-result__copy:focus-visible,
.ncnt-result__source:focus-visible,
.ncnt-finder__pagination button:focus-visible,
.ncnt-finder__submit:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ncnt-finder__reset:disabled {
	cursor: default;
	opacity: .32;
	text-decoration: none;
}

.ncnt-result:focus-visible {
	outline: 2px solid rgba(78, 132, 153, 0.65);
	outline-offset: 4px;
}

.ncnt-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 520px) {
	.ncnt-search-mode__options {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.ncnt-search-mode__option > span {
		height: 100%;
	}
}


/* v0.4.1 centered quick-choice controls */
.ncnt-search-mode legend,
.ncnt-purpose legend {
	display: block;
	width: 100%;
	text-align: center;
}

.ncnt-search-mode__options,
.ncnt-purpose__options {
	justify-content: center;
}
