.cbcr-lookup {
	max-width: 900px;
}

.cbcr-lookup-form {
	margin: 0 0 24px;
	padding: 18px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
}

.cbcr-lookup-controls {
	display: flex;
	gap: 10px;
	margin-top: 8px;
}

.cbcr-lookup-controls input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 12px;
	font-size: 16px;
}

.cbcr-lookup-controls button {
	padding: 10px 18px;
	cursor: pointer;
}

.cbcr-lookup-help {
	margin: 8px 0 0;
	font-size: 14px;
}

.cbcr-message {
	margin: 0 0 20px;
	padding: 12px 14px;
	border-left: 4px solid #d63638;
	background: #fff;
}

.cbcr-results > h2 {
	margin-bottom: 18px;
}

.cbcr-result-group {
	margin: 0 0 18px;
	padding: 18px 20px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
}

.cbcr-result-group h3 {
	margin: 0 0 10px;
	font-size: 1.1em;
}

.cbcr-result-group p {
	margin: 0;
	line-height: 1.65;
	white-space: pre-line;
}

@media (max-width: 600px) {
	.cbcr-lookup-controls {
		flex-direction: column;
	}

	.cbcr-lookup-controls button {
		width: 100%;
	}
}


.cbcr-result-count {
	margin: -8px 0 18px;
}

.cbcr-result-group h4 {
	margin: 16px 0 6px;
	font-size: 1em;
}

.cbcr-matched-heading {
	margin: 0 0 8px !important;
	padding-bottom: 10px;
	border-bottom: 1px solid #e2e4e7;
}


.cbcr-loading {
	margin: 0 0 20px;
	padding: 12px 14px;
	border-left: 4px solid #2271b1;
	background: #fff;
}


.cbcr-reference-list {
	margin: 0;
	padding-left: 1.35em;
	line-height: 1.75;
}

.cbcr-reference-list li {
	margin: 0 0 4px;
}

.cbcr-explore-link {
	display: inline-block;
	margin-left: 6px;
	font-size: .82em;
	font-weight: 600;
	text-decoration: none;
}



.cbcr-see-articles {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #dcdcde;
}

.cbcr-see-articles h4 {
	margin: 0 0 8px;
}

.cbcr-see-articles ul {
	margin: 0;
	padding-left: 1.35em;
}

.cbcr-see-articles li {
	margin: 0 0 5px;
}


button.cbcr-reference-button {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	line-height: inherit;
	text-align: left;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: .12em;
	cursor: pointer;
}

button.cbcr-reference-button:hover,
button.cbcr-reference-button:focus {
	text-decoration-style: solid;
}

button.cbcr-reference-button:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}


.cbcr-topic-form {
	position: relative;
}

.cbcr-topic-suggestions {
	position: absolute;
	z-index: 10000;
	left: 18px;
	right: 18px;
	margin-top: 2px;
	max-height: 320px;
	overflow-y: auto;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.cbcr-topic-option {
	display: block;
	width: 100%;
	margin: 0;
	padding: 9px 12px;
	border: 0;
	border-bottom: 1px solid #f0f0f1;
	background: #fff;
	color: #1d2327;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.cbcr-topic-option:last-child {
	border-bottom: 0;
}

.cbcr-topic-option:hover,
.cbcr-topic-option:focus {
	background: #f0f6fc;
	outline: none;
}
