.lh-impact-popup,
.lh-impact-popup * {
	box-sizing: border-box;
}

.lh-impact-popup[hidden],
.lh-impact-popup__details[hidden] {
	display: none !important;
}

.lh-impact-popup {
	position: fixed;
	z-index: 90;
	right: 24px;
	bottom: 24px;
	width: min(350px, calc(100vw - 32px));
	max-height: min(78vh, 680px);
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid var(--lh-line, #e8e5dc);
	border-radius: 18px;
	background: var(--lh-white, #fffefa);
	color: var(--lh-ink, #29283d);
	box-shadow: 0 16px 48px rgba(32, 32, 68, .2);
	font-family: var(--lh-font-body, Inter, ui-sans-serif, system-ui, sans-serif);
	font-size: 14px;
	line-height: 1.45;
}

.lh-impact-popup__accent {
	height: 3px;
	background: linear-gradient(90deg, var(--lh-indigo, #4b3bd0) 0 68%, var(--lh-orange, #e78524) 68% 100%);
}

.lh-impact-popup__inner {
	padding: 10px;
}

.lh-impact-popup__topline,
.lh-impact-popup__brand,
.lh-impact-popup__apps-heading,
.lh-impact-popup__platforms,
.lh-impact-popup__platform,
.lh-impact-popup__expand,
.lh-impact-popup__source {
	display: flex;
	align-items: center;
}

.lh-impact-popup__topline {
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.lh-impact-popup__brand {
	gap: 7px;
	color: var(--lh-indigo, #4b3bd0);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .12em;
	text-decoration: none;
	text-transform: uppercase;
}

.lh-impact-popup__brand-mark {
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	border-radius: 7px;
	background: var(--lh-indigo-pale, #eeecff);
	color: var(--lh-indigo, #4b3bd0);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0;
}

.lh-impact-popup button {
	font: inherit;
	cursor: pointer;
}

.lh-impact-popup__hide {
	display: inline-flex;
	min-width: 80px;
	min-height: 32px;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--lh-muted, #686982);
	font-size: 9px !important;
	font-weight: 600;
	line-height: 1.3;
}

.lh-impact-popup__hide:hover {
	background: #f3f0e9;
	color: var(--lh-navy, #202044);
}

.lh-impact-popup__metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px 6px;
	margin: 0;
	padding: 7px;
	border-radius: 10px;
	background: #f7f5ef;
	list-style: none;
}

.lh-impact-popup__metrics li {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 5px;
}

.lh-impact-popup__metric-icon {
	display: grid;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	place-items: center;
	border-radius: 8px;
	background: var(--lh-indigo-pale, #eeecff);
	color: var(--lh-indigo, #4b3bd0);
	font-size: 12px;
	line-height: 1;
}

.lh-impact-popup__metric-icon svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.lh-impact-popup__metrics strong {
	flex: 0 0 auto;
	color: var(--lh-navy, #202044);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1;
}

.lh-impact-popup__metrics li > span:last-child {
	min-width: 0;
	color: var(--lh-muted, #686982);
	font-size: 9px;
	line-height: 1.2;
}

.lh-impact-popup__expand {
	width: 100%;
	min-height: 31px;
	justify-content: space-between;
	gap: 8px;
	margin-top: 6px;
	padding: 5px 8px;
	border: 1px solid var(--lh-line, #e8e5dc);
	border-radius: 8px;
	background: transparent;
	color: var(--lh-indigo, #4b3bd0);
	font-size: 10px;
	font-weight: 700;
	text-align: left;
}

.lh-impact-popup__expand:hover {
	background: #f8f6f1;
}

.lh-impact-popup__expand svg,
.lh-impact-popup__source > svg {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.lh-impact-popup__expand[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.lh-impact-popup__details {
	display: grid;
	gap: 12px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--lh-line, #e8e5dc);
}

.lh-impact-popup__section,
.lh-impact-popup__publication {
	min-width: 0;
}

.lh-impact-popup__section h2,
.lh-impact-popup__publication h2 {
	margin: 0 0 5px;
	color: var(--lh-navy, #202044);
	font-family: var(--lh-font-display, Poppins, ui-sans-serif, system-ui, sans-serif);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.lh-impact-popup__section p,
.lh-impact-popup__publication p {
	margin: 0;
	color: var(--lh-ink, #29283d);
	font-size: 10px;
	line-height: 1.55;
}

.lh-impact-popup__eyebrow {
	margin: 0 0 4px !important;
	color: var(--lh-indigo, #4b3bd0) !important;
	font-size: 9px !important;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lh-impact-popup__caveat {
	margin-top: 7px !important;
	padding: 7px 8px;
	border: 1px solid #e5dfd2;
	border-radius: 8px;
	background: #f8f6f1;
	color: var(--lh-muted, #686982) !important;
	font-size: 9px !important;
}

.lh-impact-popup__text-link {
	display: inline-block;
	margin-top: 6px;
	color: var(--lh-indigo, #4b3bd0);
	font-size: 9px;
	font-weight: 700;
	text-decoration: none;
}

.lh-impact-popup__text-link:hover,
.lh-impact-popup__source:hover {
	color: var(--lh-navy, #202044);
	text-decoration: underline;
	text-decoration-color: var(--lh-orange, #e78524);
}

.lh-impact-popup__apps-heading {
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 7px;
}

.lh-impact-popup__apps-heading h2 {
	margin: 0;
}

.lh-impact-popup__platforms {
	gap: 4px;
}

.lh-impact-popup__platform {
	gap: 4px;
	padding: 3px 6px;
	border: 1px solid var(--lh-line, #e8e5dc);
	border-radius: 999px;
	background: var(--lh-white, #fffefa);
	color: var(--lh-navy, #202044);
	font-size: 8px;
	font-weight: 700;
	line-height: 1;
}

.lh-impact-popup__platform:first-child {
	color: #547a61;
}

.lh-impact-popup__platform svg {
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	fill: currentColor;
}

.lh-impact-popup__app-list {
	display: grid;
	gap: 5px;
}

.lh-impact-popup__app {
	padding: 7px 8px;
	border: 1px solid var(--lh-line, #e8e5dc);
	border-radius: 9px;
	background: var(--lh-white, #fffefa);
}

.lh-impact-popup__app h3,
.lh-impact-popup__highlight h3 {
	margin: 0 0 3px;
	color: var(--lh-navy, #202044);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.35;
}

.lh-impact-popup__app h3 a {
	color: inherit;
	text-decoration: none;
}

.lh-impact-popup__app h3 a:hover {
	color: var(--lh-indigo, #4b3bd0);
	text-decoration: underline;
}

.lh-impact-popup__app p {
	color: var(--lh-muted, #686982);
	font-size: 9px;
}

.lh-impact-popup__app .lh-impact-popup__text-link {
	margin-top: 4px;
}

.lh-impact-popup__highlight {
	padding: 8px 9px;
	border-radius: 9px;
	background: #f8f6f1;
}

.lh-impact-popup__highlight ul {
	margin: 0;
	padding-left: 16px;
	color: var(--lh-ink, #29283d);
	font-size: 9px;
	line-height: 1.5;
}

.lh-impact-popup__highlight li + li {
	margin-top: 3px;
}

.lh-impact-popup__source {
	justify-content: space-between;
	gap: 8px;
	margin-top: 6px;
	padding: 8px 9px;
	border: 1px solid var(--lh-line, #e8e5dc);
	border-radius: 9px;
	color: var(--lh-indigo, #4b3bd0);
	text-decoration: none;
}

.lh-impact-popup__source strong,
.lh-impact-popup__source small {
	display: block;
}

.lh-impact-popup__source strong {
	font-size: 9px;
	line-height: 1.4;
}

.lh-impact-popup__source small {
	margin-top: 3px;
	color: var(--lh-muted, #686982);
	font-size: 8px;
}

.lh-impact-popup__publication {
	padding: 8px 9px;
	border-radius: 9px;
	background: var(--lh-indigo-pale, #eeecff);
}

.lh-impact-popup__publication h2 a {
	color: inherit;
	text-decoration: none;
}

.lh-impact-popup__publication h2 a:hover {
	text-decoration: underline;
	text-decoration-color: var(--lh-orange, #e78524);
}

.lh-impact-popup__publication p:last-child {
	margin-top: 3px;
	color: var(--lh-muted, #686982);
	font-size: 9px;
}

.lh-impact-popup a:focus-visible,
.lh-impact-popup button:focus-visible {
	outline: 2px solid var(--lh-indigo, #4b3bd0);
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.lh-impact-popup {
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom));
	}
	body.lh-install-visible .lh-impact-popup {
		bottom: calc(104px + env(safe-area-inset-bottom));
	}
}

@media (max-width: 360px) {
	.lh-impact-popup {
		right: 8px;
		bottom: calc(8px + env(safe-area-inset-bottom));
		width: calc(100vw - 16px);
	}
	body.lh-install-visible .lh-impact-popup {
		bottom: calc(100px + env(safe-area-inset-bottom));
	}
	.lh-impact-popup__metric-icon {
		width: 20px;
		height: 20px;
		flex-basis: 20px;
		font-size: 10px;
	}
	.lh-impact-popup__metrics strong {
		font-size: 13px;
	}
	.lh-impact-popup__metrics li > span:last-child,
	.lh-impact-popup__hide {
		font-size: 8px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lh-impact-popup *,
	.lh-impact-popup *::before,
	.lh-impact-popup *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
