/* ========== General ========== */

body[data-color-scheme="light"] {
	--s-color-base: #fff;
	--s-color-invert-base: #000;
	--background-main: #f3f3f3;
	--background-search-bar: #f3f3f3;
	--background-secondary: #fafafa;
	--background-results: #fff;
	--placeholder-color: #8b8b95;
	--border-separator: #d8d8d8;
	--font-color: #000;
	--font-color-lighter: #8a8a8a;
	--glow-color-start: rgba(187, 219, 255, 0.65);
	--glow-color-end: rgba(255, 255, 255, 0);
}

body[data-color-scheme="dark"] {
	--s-color-base: #000;
	--s-color-invert-base: #fff;
	--background-main: #000;
	--background-search-bar: #1d1d1f;
	--background-secondary: #333;
	--background-results: #111;
	--placeholder-color: #98989d;
	--border-separator: #424245;
	--font-color: #fff;
	--font-color-lighter: #8a8a8a;
	--glow-color-start: rgba(0, 60, 120, 0.5);
	--glow-color-end: rgba(17, 17, 17, 0);
}

body[data-color-scheme="light"].theme-light .tile {
	--sk-tile-background: #f5f5f7;
}

body[data-color-scheme="light"].theme-light .answer-sidebar.tile {
	--sk-tile-background: #fafafa;
}

body[data-color-scheme="dark"].theme-dark .tile {
	--sk-tile-background: rgba(255, 255, 255, 0.05);
}

.search-b {
	background-color: var(--background-main);
}

.section-results {
	background-color: var(--background-results);
	padding-bottom: 4em;
}

main {
	min-height: 100vh;
}

sf-symbol {
	user-select: none;
	-webkit-user-select: none; /* Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE/Edge */
}

.hiding {
	display: none;
}

/* Default page styles */
body.no-query .section-search {
	margin-top: 8em;
	position: inherit;
	background-color: transparent;
}

body.no-query .section-results {
	padding-bottom: 0;
	margin-bottom: 0;
}

body.no-query .section.section-ps {
	margin-bottom: 10em;
	background-color: transparent;
}

/* ========== Homepage View ========== */

body.no-query {
	background-image: radial-gradient(
		ellipse 35% 15% at 50% 20%,
		var(--glow-color-start) -90%,
		transparent 100%
	);
}

body[data-color-scheme="dark"].no-query {
	background-image: radial-gradient(
		ellipse 35% 15% at 50% 20%,
		rgba(0, 50, 100, 0.4) -90%,
		transparent 100%
	);
}

body.no-query .search-form-container,
body.no-query .ps-container {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

body.no-query .ps-container {
	padding-left: 40px;
	padding-right: 40px;
}

@media only screen and (max-width: 734px) {
	body.no-query .ps-container {
		padding-left: 0;
		padding-right: 0;
	}
}

body.no-query .searchfield-container {
	display: flex;
	align-items: center;
	background: var(--background-results);
	border-radius: 18px;
	padding: 12px 20px;
	overflow: hidden;
	box-shadow:
		0 0 0 1px var(--glow-color-start),
		0 0 12px 0px var(--glow-color-start);
	transition: box-shadow 0.3s ease;
}

body[data-color-scheme="dark"].no-query .searchfield-container {
	box-shadow:
		0 0 0 1px rgba(100, 160, 220, 0.2),
		0 0 40px 4px rgba(0, 60, 120, 0.4);
}

#ask-icon {
	display: inline-flex;
	font-size: 22px;
	color: var(--placeholder-color);
}

body.no-query input.searchfield-input {
	flex: 1;
	margin-inline-start: 0;
	margin-inline-end: 0;
	padding-inline-start: 8px;
	padding-inline-end: 0;
}

button.ps-link {
	background: none;
	border: none;
	font-family: inherit;
	font-size: inherit;
	text-align: left;
	width: 100%;
}

.homepage-disclaimer {
	display: none;
}

body.no-query .homepage-disclaimer {
	display: block;
	text-align: center;
	/* margin-top: 0.75em; */
	color: var(--font-color-lighter);
}

/* ========== Tab Navigation ========== */

.tn-p {
	display: flex;
	justify-content: left;
}

@media only screen and (min-width: 735px) {
	.filters-block .tn-paddle {
		display: none !important;
	}
}

.tn-sf-icon {
	font-size: 17px;
}

.filters-block {
	margin: 2em 0;
}

.tn-label {
	display: flex !important;
	gap: 5px;
}

/* ========== Search Input ========== */

.searchfield-container {
	width: 100%;
}

.search-form-container {
	display: flex;
}

input.searchfield-input:focus {
	outline: none;
	box-shadow: none;
}

input.searchfield-input {
	font-size: 24px;
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 0;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 0.009em;
	font-family:
		SF Pro Display,
		SF Pro Icons,
		Helvetica Neue,
		Helvetica,
		Arial,
		sans-serif;
	position: relative;
	z-index: 1;
	margin-inline-start: -30px;
	margin-inline-end: -31px;
	padding-inline-start: 34px;
	padding-inline-end: 34px;
	box-sizing: border-box;
	background-color: transparent;
	color: var(--s-color-invert-base);
}

input.searchfield-input::-webkit-input-placeholder {
	color: var(--placeholder-color);
}

@media only screen and (max-width: 734px) {
	input.searchfield-input {
		font-size: 17px;
	}
}

input.searchfield-input:-moz-placeholder {
	color: var(--placeholder-color);
	opacity: 1;
}

input.searchfield-input::-moz-placeholder {
	color: var(--placeholder-color);
	opacity: 1;
}

input.searchfield-input:-ms-input-placeholder {
	color: var(--placeholder-color);
}

.ps-container {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ps-header,
.ps-link {
	font-size: 12px;
	line-height: 1.3333733333;
	font-weight: 400;
	letter-spacing: -0.01em;
	font-family:
		SF Pro Text,
		SF Pro Icons,
		Helvetica Neue,
		Helvetica,
		Arial,
		sans-serif;
	color: rgb(110, 110, 115);
	margin-bottom: 0.4em;
}

.ps-header {
	font-weight: 600;
	color: #000;
	margin-bottom: 0;
	font-size: 14px;
}

.ps-link {
	color: #666;
	font-weight: 600;
	cursor: pointer;
	padding: 3px 1px;
	border-radius: 2px;
	margin: 0;
	font-size: 14px !important;
}

body[data-color-scheme="dark"] .ps-link {
	color: #a2a2a2;
}

.ps-link:hover {
	background-color: rgba(0, 0, 0, 0.03);
	text-decoration: none;
}

body[data-color-scheme="dark"] .ps-link:hover {
	background-color: rgba(255, 255, 255, 0.05);
}

.ps-search-arrow-icon {
	font-size: 14px;
	color: #6e6e73;
	margin-right: 0.5em;
}

.flex-button-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 7px;
}

.source-block {
	margin-top: 3em;
	/* margin-top: 0.5em; */
}

.source-block .badge {
	margin-bottom: 0.6em;
}

.section.section-search {
	padding-top: 2em;
	padding-bottom: 2em;
	margin: 0;
	background-color: var(--background-search-bar);
	position: sticky;
	top: 0;
	z-index: 3;
	/* border-top: 1px solid var(--border-separator); */
}

/* @media only screen and (max-width: 1068px) {
	.section.section-search {
		top: 48px;
	}
} */

.section.section-ps {
	padding-top: 1em;
	padding-bottom: 2em;
	margin: 0;
	background-color: var(--background-search-bar);
	transition:
		opacity 0.3s ease-out,
		max-height 0.3s ease-out,
		margin 0.3s ease-out,
		padding 0.3s ease-out;
	overflow: hidden;
}

section.section-ps.hiding {
	opacity: 0;
	max-height: 0;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

/* ========== Results ========== */

.search-message {
	font-weight: bold;
	margin: 3em 0;
	/* text-align: center; */
	list-style: none !important;
}

.loading {
	padding-top: 2em;
}

.loading b {
	background: linear-gradient(
		90deg,
		var(--placeholder-color) 0%,
		var(--placeholder-color) 25%,
		var(--font-color) 50%,
		var(--placeholder-color) 75%,
		var(--placeholder-color) 100%
	);
	background-size: 200% 100%;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
	0% {
		background-position: 200% center;
	}
	100% {
		background-position: -200% center;
	}
}

.search-results {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.search-result {
	padding: 2em 0;
	border-bottom: 1px solid var(--border-separator);
}

.search-result:first-child {
	border-top: 1px solid var(--border-separator);
}

.search-sf-icon {
	margin-right: 4px;
	font-size: 20px;
}

ul.breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	margin-top: 10px;
	/* gap: 1em; */
	list-style: none !important;
	margin: 0;
	color: var(--font-color-lighter);
	font-size: 14px;
	margin-top: 0.25em;
}

.breadcrumb-list-item {
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media only screen and (max-width: 734px) {
	.breadcrumb-list-item {
		max-width: 150px;
	}

	ul.breadcrumb-list {
		font-size: 12px;
	}
}

.breadcrumb-separator {
	font-size: 10px;
	margin: 0 7px;
	color: var(--font-color-lighter);
	flex-shrink: 0;
}

.thumbnail {
	position: relative;
	aspect-ratio: 16/9;
	height: 150px;
	/* margin-bottom: 1em; */
}

.thumbnail-scrim {
	transition: opacity 0.3s ease;
}

.thumbnail .thumbnail-button {
	scale: 0.8;
}

.result-thumbnail:hover .thumbnail-scrim {
	opacity: 0.3;
}

.result-video {
	display: flex;
	gap: 1.5em;
	align-items: center;
}

@media only screen and (max-width: 734px) {
	.result-video {
		flex-direction: column;
		align-items: flex-start;
		gap: 1em;
	}
}

.results-video-details {
	display: flex;
	flex-direction: column;
}

.results-video-details .result-title {
	margin-top: 0;
	/* font-size: 14px;
	font-weight: 400; */
}

@media only screen and (max-width: 734px) {
	.result-video .result-title {
		text-wrap: pretty;
	}
}

.result-description {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	line-clamp: 2;
	text-wrap: pretty;
}

/* Video duration badge overlay */
.video-duration {
	position: absolute;
	bottom: 8px;
	right: 15px;
	display: block;
	padding: 4px 6px;
	background: #000;
	background-color: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 0.7em;
	font-weight: 700;
	line-height: 1;
	border-radius: 4px;
	z-index: 2;
}

/* Video event name */
.result-event-name {
	font-size: 14px;
	font-weight: 400;
	color: var(--font-color-lighter);
	margin-top: 0;
}

/* ========== Event Results ========== */
.session-times {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 0.5em 0.5em;
}

@media only screen and (max-width: 1068px) {
	.session-times {
		grid-template-columns: 1fr;
		gap: 0.5em 0;
	}
}

.source-time {
	border: 1px solid rgba(0, 102, 204, 0.5);
	border-radius: 8px;
	padding: 4px 6px;
	font-size: 12px;
	width: 100%;
	text-align: center;
	max-width: 205px;
}

.source-title-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 0.5em;
	margin-bottom: 0.25em;
}

.source-title {
	font-weight: bold;
}

.source-title-event-icon {
	font-size: 21px;
	vertical-align: middle;
}

/* ========== Featured Results ========== */
.featured-section {
	margin-bottom: 2em;
}

.featured-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--font-color);
	gap: 1.5em;
	padding: 1.5em 2em;
}

.featured-wrapper:hover {
	text-decoration: none;
}

.featured-description {
	text-wrap: pretty;
}

@media only screen and (max-width: 734px) {
	.featured-description {
		text-wrap: stable;
	}
}

.featured-results-image {
	border-radius: 8px;
}

/* ========== Override ========== */

html body.theme-dark#search .search-result.has-thumbnail .result-thumbnail img {
	border: unset;
}

.result-thumbnail .thumbnail-image {
	scale: 1.03;
}

.search-b .globalnav-item.globalnav-search {
	pointer-events: none;
}

/* ========== Top Tab Navigation ========== */

body.no-query .section-nav {
	display: none;
}

.section-nav {
	background-color: var(--background-search-bar);
	padding: 0;
	margin: 0;
	border-bottom: 1px solid var(--border-separator);
	position: sticky;
	top: 88px;
	z-index: 3;
}

.section-nav .section-content {
	display: flex;
	gap: 8px;
	z-index: 3;
}

.top-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 400;
	padding: 10px 10px 8px;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	color: var(--font-color-lighter);
	cursor: pointer;
	/* transition:
		color 0.2s,
		border-color 0.2s; */
}

.top-tab sf-symbol {
	font-size: 14px;
}

.top-tab:hover {
	color: var(--font-color);
}

.top-tab-active {
	color: var(--font-color);
	font-weight: 600;
	border-bottom-color: var(--font-color);
}

/* ========== Answer View ========== */

.section-answer {
	background-color: var(--background-results);
	padding-top: 4em;
	padding-bottom: 6em;
	overflow: visible !important;
	position: relative;
}

.section-answer .section-content {
	position: relative;
	z-index: 1;
}

.answer-glow {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 150px;
	background: linear-gradient(to bottom, var(--glow-color-start), var(--glow-color-end));
	pointer-events: none;
	z-index: 0;
	opacity: 1;
	transition: opacity 0.5s ease;
	animation: glowPulse 3s ease-in-out infinite;
}

.answer-glow.hidden {
	opacity: 0;
	animation: none;
}

@keyframes glowPulse {
	0%,
	100% {
		opacity: 0.4;
	}
	50% {
		opacity: 1;
	}
}

.answer-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 3em;
}

@media only screen and (max-width: 734px) {
	.answer-layout {
		grid-template-columns: 1fr;
		gap: 2em;
	}
}

.answer-main {
	min-width: 0;
}

.answer-section-block {
	margin-bottom: 2em;
}

.answer-fade-in {
	animation: answerFadeIn 0.3s ease;
}

@keyframes answerFadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

h3.answer-section-title {
	font-size: 19px;
	font-weight: 600;
	margin-bottom: 0.5em;
}

.answer-paragraph {
	margin-bottom: 1em;
	line-height: 1.6;
}

.answer-sidebar {
	position: sticky;
	top: 150px;
	align-self: start;
	width: 100%;
	height: fit-content;
	overflow: visible !important;
	--sk-tile-padding: 1.5em;
}

/* Only cap-and-scroll on screens wide enough to use the two-column layout
   where the sidebar is sticky. Below 735px the sidebar stacks below the
   answer and natural page scroll handles long source lists. */
@media only screen and (min-width: 735px) {
	.answer-sidebar.sources-expanded {
		max-height: calc(100vh - 170px);
		overflow-y: auto !important;
	}
}

.answer-sidebar .tile-content {
	overflow: visible;
}

.answer-sources-header {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-bottom: 1.5em;
}

.answer-source-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.answer-source-list.smaller {
	line-height: 20px;
}

.answer-show-all-btn {
	margin-top: 1.25em;
	opacity: 0.5;
}

body[data-color-scheme="light"] .answer-show-all-btn {
	background: #f0f0f0;
	color: rgb(29, 29, 31);
	opacity: 1;
}

body[data-color-scheme="dark"] .answer-show-all-btn {
	background: #292929;
	color: #fff;
}

.answer-source-icon {
	font-size: 17px;
	margin-right: 4px;
}

.answer-source-item a {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: flex;
}

/* .answer-source-domain { */
/* font-size: 12px; */
/* color: var(--font-color-lighter); */
/* margin-top: 2px; */
/* } */

.answer-actions {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: 1px solid var(--border-separator);
	display: flex;
	align-items: center;
	gap: 1.5em;
}

.answer-actions:empty {
	display: none;
}

.answer-actions-inline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 3em;
	opacity: 0.8;
}

.answer-actions-inline sf-symbol {
	font-size: 1.35em;
	vertical-align: middle;
	padding-bottom: 2px;
}

/* Answer loading state */
.answer-loading {
	padding: 2em 0;
}

.answer-loading b {
	background: linear-gradient(
		90deg,
		var(--placeholder-color) 0%,
		var(--placeholder-color) 25%,
		var(--font-color) 50%,
		var(--placeholder-color) 75%,
		var(--placeholder-color) 100%
	);
	background-size: 200% 100%;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: shimmer 1.5s ease-in-out infinite;
}

/* Answer code blocks */
.answer-code-block {
	margin: 0 0 1em;
}

.answer-code-block pre {
	margin: 0;
}

.answer-code-block.has-header pre {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.code-block-header {
	display: flex;
	align-items: center;
	gap: 6px;
	justify-content: space-between;
	padding: 8px 16px;
	font-size: 13px;
	border: var(--code-border);
	border-bottom: none;
	border-radius: 6px 6px 0 0;
	background: var(--code-background-xcode);
	color: var(--font-color);
}

.code-block-lang {
	display: flex;
	align-items: center;
	gap: 6px;
}

.code-block-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.code-copy-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--font-color-lighter);
	padding: 2px 4px;
	border-radius: 4px;
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
}

.code-copy-btn:hover {
	color: var(--font-color);
}

.code-line {
	display: block;
}

.line-num {
	user-select: none;
	display: inline-block;
	/* width: 2em; */
	margin-right: 1.5em;
	text-align: right;
	color: rgba(0, 0, 0, 0.3);
	font-variant-numeric: tabular-nums;
}

body[data-color-scheme="dark"] .line-num {
	color: rgba(255, 255, 255, 0.3);
}

.answer-paragraph code {
	font-family: "Menlo", monospace;
	font-size: 0.9em;
}

p.answer-paragraph code {
	background: var(--code-background);
	border: var(--code-border);
	border-radius: 4px;
	padding: 1px 5px;
}

/* ========== Top Results Tiles ========== */

.top-results-tiles {
	padding-bottom: 3em;
	margin-bottom: 3em;
	border-bottom: 1px solid var(--border-separator);
}

.top-results-header {
	display: flex;
	align-items: baseline;
	gap: 0.5em;
	margin-bottom: 1.25em;
}

.top-results-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--font-color);
}

.top-results-view-all {
	font-size: 14px;
}

.top-results-separator {
	font-size: 10px;
}

.top-results-grid {
	gap: 12px;
}

.top-result-tile {
	display: block;
	padding: 14px 16px;
	color: var(--font-color);
	text-decoration: none;
}

.top-result-tile:hover {
	text-decoration: none;
	background: rgba(0, 0, 0, 0.1);
}

body[data-color-scheme="dark"] .top-result-tile:hover {
	background: rgba(255, 255, 255, 0.15);
}

.top-result-icon {
	color: var(--s-color-figure-blue);
	margin-right: 2px;
}

.top-result-tile .link:hover {
	text-decoration: none;
}

.top-result-content {
	min-width: 0;
}

.top-result-title {
	font-size: 14px;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: flex;
	gap: 2px;
}

.top-result-description {
	font-size: 12px;
	color: var(--font-color-lighter);
	margin: 4px 0 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.answer-error {
	padding: 2em 0;
}

/* ========== Citation Pills ========== */

.citation-wrapper {
	position: relative;
	display: inline-block;
	vertical-align: baseline;
}

.answer-citation {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 500;
	color: var(--font-color);
	background: rgba(0, 0, 0, 0.06);
	padding: 2px 8px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1.5;
}

.answer-citation sf-symbol {
	font-size: 1.2em;
}

.answer-citation-label {
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Icon-only variant rendered inside the code-block header */
.citation-icon-wrapper {
	margin: 0;
	display: inline-flex;
	align-items: center;
}

.answer-citation-icon sf-symbol {
	font-size: 16px;
}

.answer-citation-count {
	flex-shrink: 0;
}

.answer-citation:hover {
	background: rgba(0, 0, 0, 0.1);
}

body[data-color-scheme="dark"] .answer-citation {
	background: rgba(255, 255, 255, 0.1);
}

body[data-color-scheme="dark"] .answer-citation:hover {
	background: rgba(255, 255, 255, 0.15);
}

/* Icon variant overrides — placed after dark-mode rules so source order wins
   the specificity tie on hover. */
body .answer-citation.answer-citation-icon,
body .answer-citation.answer-citation-icon:hover {
	background: none;
	padding: 2px 4px;
	border-radius: 4px;
	color: var(--font-color-lighter);
}

body .answer-citation.answer-citation-icon:hover {
	color: var(--font-color);
}

/* Citation popover card */

.citation-popover {
	position: absolute;
	bottom: calc(100% + 4px);
	left: 0;
	z-index: 10;
	background: var(--background-results);
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
	min-width: 260px;
	max-width: 360px;
	display: none;
	pointer-events: auto;
}

/* Transparent bridge fills the gap so moving from pill to popover doesn't close it */
.citation-popover::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 8px;
}

.citation-wrapper:hover .citation-popover,
.citation-wrapper.citation-open .citation-popover {
	display: block;
}

.citation-popover-link {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 16px;
	color: var(--font-color);
	text-decoration: none;
	border-radius: 0;
	border-bottom: 1px solid var(--border-separator);
}

.citation-popover-link:first-child {
	border-radius: 12px 12px 0 0;
}

.citation-popover-link:last-child {
	border-bottom: none;
	border-radius: 0 0 12px 12px;
}

.citation-popover-link:only-child {
	border-radius: 12px;
}

.citation-popover-link:hover {
	background: var(--background-secondary);
	text-decoration: none;
}

.citation-popover-title {
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.citation-popover-domain {
	font-size: 12px;
}

body[data-color-scheme="dark"] .citation-popover {
	background: #1d1d1d;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

body[data-color-scheme="dark"] .citation-popover-link:hover {
	background: #1a1a1a;
}

.hidden {
	display: none;
}

.compound-item-list {
	margin-bottom: 2em !important;
}
