.uca-ccn-finder {
	box-sizing: border-box;
	margin: 1.5rem 0;
	padding: 1.4rem;
	border: 1px solid #d5ccdd;
	border-top: 4px solid #582c83;
	background: #fff;
	color: #5b5e5e;
	font-family: inherit;
	box-shadow: 0 3px 12px rgba(35, 37, 37, .04);
}

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

.uca-ccn-finder h2 {
	margin: 0;
	color: #232525;
	font-size: 1.5rem;
	line-height: 1.2;
}

.uca-ccn-finder p {
	margin: .65rem 0 1.15rem;
}

.uca-ccn-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	flex-wrap: wrap;
}

.uca-ccn-tag {
	padding: .3rem .5rem;
	background: #f1ebf6;
	color: #582c83;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .04rem;
}

.uca-ccn-finder label {
	display: block;
	margin-bottom: .3rem;
	color: #232525;
	font-size: 2rem;
	font-weight: 600;
}

.uca-ccn-finder input,
.uca-ccn-finder select,
.uca-ccn-finder button {
	font: inherit;
}

.uca-ccn-finder input,
.uca-ccn-finder select {
	width: 100%;
	height: 3rem;
	margin: 0;
	padding: .45rem .7rem;
	border: 1px solid #8c8e92;
	border-radius: 0;
	background: #fff;
	color: #232525;
}

.uca-ccn-finder small {
	display: block;
	margin-top: .3rem;
	font-size: 1.5rem;
	line-height: 2;
}

.uca-ccn-finder :focus-visible {
	outline: 3px solid #176ca4;
	outline-offset: 3px;
}

.uca-ccn-title-lookup {
	max-width: 60rem;
}

.uca-ccn-autocomplete {
	position: relative;
}

.uca-ccn-suggestions {
	position: absolute;
	z-index: 100;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 21rem;
	overflow-y: auto;
	border: 1px solid #7d6a8e;
	background: #fff;
	box-shadow: 0 10px 24px rgba(35, 37, 37, .16);
}

.uca-ccn-suggestion {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	min-height: 3.8rem;
	padding: .65rem .8rem;
	border: 0;
	border-bottom: 1px solid #dedee1;
	background: #fff;
	text-align: left;
	cursor: pointer;
}

.uca-ccn-suggestion:last-child {
	border-bottom: 0;
}

.uca-ccn-suggestion:hover,
.uca-ccn-suggestion[aria-selected="true"] {
	background: #f2edf6;
}

.uca-ccn-suggestion-title {
	color: #232525;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
}

.uca-ccn-suggestion-code {
	flex: none;
	color: #582c83;
	font-size: 1.5rem;
	font-weight: 600;
	white-space: nowrap;
}

.uca-ccn-suggestion-empty {
	padding: .8rem;
	font-size: .9rem;
}

.uca-ccn-or {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 1.4rem 0 1rem;
	color: #6b6d6d;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: .02rem;
	text-transform: uppercase;
}

.uca-ccn-or::before,
.uca-ccn-or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #dedee1;
}

.uca-ccn-form {
	display: grid;
	grid-template-columns: minmax(10rem, 1fr) minmax(10rem, 1fr) auto;
	gap: .85rem;
	align-items: start;
}

.uca-ccn-submit {
	min-height: 3rem;
	margin-top: 1.85rem;
	padding: .55rem 1rem;
	border: 1px solid #582c83;
	border-radius: 0;
	background: #582c83;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.uca-ccn-submit:hover,
.uca-ccn-submit:focus {
	background: #402063;
}

.uca-ccn-submit:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.uca-ccn-result {
	margin-top: 1.25rem;
}

.uca-ccn-result-card,
.uca-ccn-message {
	padding: 1rem 1.15rem;
	border-left: 4px solid #582c83;
	background: #f6f4f8;
}

.uca-ccn-result-card + .uca-ccn-result-card {
	margin-top: .8rem;
}

.uca-ccn-message {
	border-left-color: #997729;
	background: #fbf6e9;
	color: #57431d;
}

.uca-ccn-result-title {
	margin-bottom: .85rem;
	color: #232525;
	font-size: 2rem;
	font-weight: 600;
}

.uca-ccn-mapping {
	display: grid;
	grid-template-columns: 1fr 1.5rem 1.35fr;
	align-items: center;
	gap: .8rem;
}

.uca-ccn-old-number {
	color: #232525;
	font-size: 1.75rem;
	font-weight: 600;
}

.uca-ccn-new-number {
	color: #582c83;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.uca-ccn-arrow {
	color: #582c83;
	font-size: 1.25rem;
}

.uca-ccn-result-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin-top: .9rem;
	padding-top: .75rem;
	border-top: 1px solid #ded7e6;
}

.uca-ccn-result-bottom small {
	margin: 0;
}

.uca-ccn-copy {
	min-height: 2.3rem;
	padding: .35rem .65rem;
	border: 1px solid #582c83;
	border-radius: 0;
	background: #fff;
	color: #582c83;
	font-size: .82rem;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
}

.uca-ccn-copy:hover,
.uca-ccn-copy:focus {
	background: #eee6f6;
}

.uca-ccn-finder .uca-ccn-data-note {
	margin: .8rem 0 0;
	font-size: 1rem;
}

@media (max-width: 780px) {
	.uca-ccn-form {
		grid-template-columns: 1fr 1fr;
	}

	.uca-ccn-submit {
		grid-column: 1 / -1;
		margin-top: 0;
	}
}

@media (max-width: 560px) {
	.uca-ccn-finder {
		padding: 1rem;
	}

	.uca-ccn-form,
	.uca-ccn-mapping {
		grid-template-columns: 1fr;
	}

	.uca-ccn-arrow {
		transform: rotate(90deg);
	}

	.uca-ccn-suggestion {
		align-items: flex-start;
		flex-direction: column;
		gap: .2rem;
	}

	.uca-ccn-suggestion-code {
		white-space: normal;
	}

	.uca-ccn-result-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.uca-ccn-finder * {
		scroll-behavior: auto;
	}
}

