.csr-strongs-reference {
	display: inline;
	cursor: help;
	text-decoration: underline dotted;
	text-underline-offset: 0.12em;
}

.csr-strongs-reference:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.csr-tooltip {
	position: fixed;
	z-index: 2147483000;
	display: none;
	width: min(420px, calc(100vw - 24px));
	max-height: min(520px, calc(100vh - 24px));
	overflow-y: auto;
	padding: 16px 18px;
	background: #fff;
	color: #1d2327;
	border: 1px solid #8c8f94;
	border-radius: 6px;
	box-shadow: 0 8px 28px rgba(0,0,0,.25);
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}

.csr-tooltip.csr-open {
	display: block;
}

.csr-tooltip h3 {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.2;
}

.csr-tooltip h4 {
	margin: 14px 0 4px;
	font-size: 15px;
	line-height: 1.3;
}

.csr-tooltip p {
	margin: 0;
	white-space: pre-line;
}

@media (max-width: 600px) {
	.csr-tooltip {
		left: 12px !important;
		right: 12px !important;
		bottom: 12px !important;
		top: auto !important;
		width: auto;
		max-height: 70vh;
	}
}


.csr-lookup {
	max-width: 760px;
}

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

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

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

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

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

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

.csr-lookup-result {
	padding: 20px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
}

.csr-lookup-result h2 {
	margin-top: 0;
}

.csr-lookup-result h3 {
	margin: 18px 0 6px;
	font-size: 1.05em;
}

.csr-lookup-result p {
	margin: 0;
	white-space: normal;
}

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

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


.csr-tooltip h4 {
	margin: 18px 0 6px;
	padding-bottom: 3px;
	border-bottom: 1px solid rgba(0,0,0,.12);
}

.csr-tooltip p + h4 {
	margin-top: 22px;
}


.csr-nested-reference {
	cursor: help;
	font-weight: 700;
	text-decoration: underline dotted;
	text-underline-offset: .12em;
}

.csr-nested-reference:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.csr-tooltip-depth-1,
.csr-tooltip-depth-2,
.csr-tooltip-depth-3,
.csr-tooltip-depth-4,
.csr-tooltip-depth-5,
.csr-tooltip-depth-6 {
	z-index: 2147483001;
}

@media (max-width: 600px) {
	.csr-tooltip {
		left: 12px !important;
		right: 12px !important;
		bottom: 12px !important;
		top: auto !important;
		width: auto !important;
		max-height: 70vh !important;
	}

	.csr-tooltip:not(:last-of-type) {
		display: none !important;
	}
}
