/* Beyond+ Lead Tracker widget. Matches the previous widget: 54px button, 25px from right and bottom. */
.blt-widget {
	--blt-color: #E17335;
	--blt-size: 54px;
	--blt-right: 25px;
	--blt-bottom: 25px;
	--blt-gap: 12px;
	--blt-text: #1f2328;
	--blt-muted: #6b7280;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.4;
	color: var(--blt-text);
}
.blt-widget *, .blt-widget *::before, .blt-widget *::after { box-sizing: border-box; }
.blt-widget [hidden] { display: none !important; }

.blt-btn {
	position: fixed;
	right: var(--blt-right);
	bottom: var(--blt-bottom);
	width: var(--blt-size);
	height: var(--blt-size);
	border: 0;
	border-radius: 50%;
	background: var(--blt-color);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
	z-index: 997;
	padding: 0;
	margin: 0;
	transition: transform .15s ease, box-shadow .15s ease;
}
.blt-btn:hover, .blt-btn:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 0, 0, .28); }
.blt-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.blt-btn svg { display: block; }

.blt-bubble {
	position: fixed;
	right: calc(var(--blt-right) + var(--blt-size) + var(--blt-gap));
	bottom: var(--blt-bottom);
	min-height: var(--blt-size);
	max-width: min(300px, calc(100vw - var(--blt-right) - var(--blt-size) - var(--blt-gap) - 16px));
	display: flex;
	align-items: center;
	padding: 10px 14px;
	border: 0;
	border-radius: 14px;
	background: #fff;
	color: var(--blt-text);
	font: inherit;
	text-align: left;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
	cursor: pointer;
	z-index: 998;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .25s ease, transform .25s ease;
}
.blt-bubble.blt-show { opacity: 1; transform: none; }
.blt-bubble::after {
	content: "";
	position: absolute;
	right: -6px;
	bottom: calc(var(--blt-size) / 2 - 6px);
	width: 12px;
	height: 12px;
	background: #fff;
	transform: rotate(45deg);
}

.blt-panel {
	position: fixed;
	right: var(--blt-right);
	bottom: calc(var(--blt-bottom) + var(--blt-size) + var(--blt-gap));
	width: min(360px, calc(100vw - var(--blt-right) * 2));
	max-height: calc(100vh - var(--blt-bottom) - var(--blt-size) - var(--blt-gap) - 24px);
	overflow: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .24);
	z-index: 998;
}
.blt-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 14px 12px;
	background: var(--blt-color);
	color: #fff;
}
.blt-logo { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 3px; flex: 0 0 auto; }
.blt-head-text { flex: 1 1 auto; min-width: 0; }
.blt-title { font-weight: 700; font-size: 15px; }
.blt-status { font-size: 12.5px; opacity: .92; display: flex; align-items: center; gap: 6px; }
.blt-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d1d5db; flex: 0 0 auto; }
.blt-online .blt-status::before { background: #3ddc84; }
.blt-close {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.blt-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.blt-body { padding: 14px; }
.blt-intro { margin: 0 0 10px; color: var(--blt-text); }
.blt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.blt-chip {
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	color: var(--blt-text);
	border-radius: 999px;
	padding: 6px 11px;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
.blt-chip:hover { border-color: var(--blt-color); }
.blt-chip.is-active { background: var(--blt-color); border-color: var(--blt-color); color: #fff; }
.blt-label { display: block; font-size: 12.5px; color: var(--blt-muted); margin-bottom: 4px; }
.blt-text {
	width: 100%;
	resize: vertical;
	min-height: 72px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 10px;
	font: inherit;
	font-size: 14px;
	color: var(--blt-text);
	background: #fff;
}
.blt-text:focus { outline: 2px solid var(--blt-color); outline-offset: 1px; border-color: var(--blt-color); }
.blt-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #25D366;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
}
.blt-cta:hover { filter: brightness(.95); }
.blt-cta:focus-visible { outline: 2px solid var(--blt-text); outline-offset: 2px; }
.blt-fine { margin: 10px 0 0; font-size: 12px; color: var(--blt-muted); text-align: center; }

@media (prefers-reduced-motion: reduce) {
	.blt-widget * { transition: none !important; animation: none !important; }
	.blt-bubble { opacity: 1; transform: none; }
}
@media print { .blt-widget { display: none !important; } }
