/*
 * Chatbot Chk - visitor chat widget styles.
 *
 * v1.12.0: theme-proof scoping.
 *   Every selector hangs from :is(#chatbot-chk-root,#chk-bubble-preview-root)
 *   (live widget + admin preview), i.e. ID specificity, and every descendant
 *   is first reset with `all: revert` (SVG excluded, so presentation
 *   attributes survive). Theme rules such as
 *     .elementor-kit-8 button { text-transform: uppercase; letter-spacing: ... }
 *     .elementor-kit-8 input:not([type="button"]):not([type="submit"]), textarea { color: ... }
 *     .elementor-kit-8 h2 { font-size: 52px; color: ... }
 *   can no longer bleed into the widget. Layering:
 *     reset  -> (1,0,0)   ID + :where()
 *     base   -> (1,0,1)   ID + element
 *     widget -> (1,1,0)+  ID + class
 *
 * v1.12.0 visual refresh ("checkmark"): one memorable element — an oversized
 * translucent check that draws itself across the header when the panel opens
 * (the brand is Digital *Checkmark*). Everything else stays quiet: cool
 * green-tinted canvas, hairline bot bubbles, brand-colored visitor bubbles,
 * a single pill composer with a round send button, amber reserved for humans.
 *
 * Theme variables (--chk-color, --chk-color-rgb, --chk-on-color, --chk-link)
 * are printed inline right after this stylesheet (chat-frontend.php).
 * Contrast: all text colors below are >= 4.5:1 on their background.
 */

/* ---------- Root + tokens ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) {
	--chk-ink: #102a1c;          /* body text: 15.4:1 on white */
	--chk-muted: #536459;        /* secondary text: 6.0:1 on white, 5.5:1 on canvas */
	--chk-canvas: #f4f7f5;       /* message area */
	--chk-line: #dde6e0;         /* hairlines */
	--chk-human: #b45309;        /* human agent accent: white text 5.0:1 */
	--chk-human-soft: #fff7ed;
	--chk-tint: rgba(var(--chk-color-rgb, 17, 101, 11), 0.08);
	--chk-tint-strong: rgba(var(--chk-color-rgb, 17, 101, 11), 0.14);
	--chk-shadow: 0 28px 64px -18px rgba(var(--chk-color-rgb, 17, 101, 11), 0.38), 0 6px 18px -6px rgba(16, 42, 28, 0.18);
	--chk-font: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--chk-font-display: "Manrope", "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--chk-ease: cubic-bezier(0.2, 0.9, 0.25, 1.05);

	position: fixed;
	bottom: 22px;
	z-index: 2147483000;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	width: auto;
	height: auto;
	font-family: var(--chk-font);
	font-size: 14.5px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5;
	color: var(--chk-ink);
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	text-align: left;
	text-indent: 0;
	text-shadow: none;
	text-decoration: none;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-sizing: border-box;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) :where(*:not(svg, svg *)) {
	all: revert;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) *,
:is(#chatbot-chk-root,#chk-bubble-preview-root) *::before,
:is(#chatbot-chk-root,#chk-bubble-preview-root) *::after {
	box-sizing: border-box;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) [hidden] {
	display: none !important;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--right { right: 22px; }
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--left  { left: 22px; }

/* ---------- Base controls ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	text-align: center;
	text-decoration: none;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) button:disabled {
	cursor: not-allowed;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) input,
:is(#chatbot-chk-root,#chk-bubble-preview-root) textarea {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	font: inherit;
	color: var(--chk-ink);
	background: #fff;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	box-shadow: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) a {
	color: var(--chk-link, #11650b);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	cursor: pointer;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) a:hover {
	text-decoration-thickness: 2px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) svg {
	display: block;
	flex-shrink: 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) :focus-visible {
	outline: 3px solid var(--chk-link, #11650b);
	outline-offset: 2px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__header :focus-visible {
	outline-color: var(--chk-on-color, #fff);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-sr,
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__send-label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------- Launcher (squircle) ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 20px;
	background: var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
	box-shadow: 0 14px 30px -10px rgba(var(--chk-color-rgb, 17, 101, 11), 0.65), 0 3px 8px rgba(16, 42, 28, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transition: transform 0.2s var(--chk-ease), border-radius 0.2s var(--chk-ease), box-shadow 0.2s ease;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__toggle:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px -10px rgba(var(--chk-color-rgb, 17, 101, 11), 0.7), 0 4px 10px rgba(16, 42, 28, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__toggle:active {
	transform: translateY(0) scale(0.96);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--open .chk-bubble__toggle {
	border-radius: 50%;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__toggle-icon-open,
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__toggle-icon-close {
	display: flex;
	align-items: center;
	justify-content: center;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__toggle svg {
	width: 28px;
	height: 28px;
	color: inherit;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__toggle-icon-close svg {
	width: 24px;
	height: 24px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__toggle-icon-close,
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--open .chk-bubble__toggle-icon-open {
	display: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--open .chk-bubble__toggle-icon-close {
	display: flex;
	animation: chk-spin-in 0.22s var(--chk-ease);
}
@keyframes chk-spin-in {
	from { transform: rotate(-90deg) scale(0.6); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

/* Badge: unread count or a dot for an earlier conversation. */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__badge {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 2px solid #fff;
	border-radius: 11px;
	background: #c81e1e;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	pointer-events: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__badge--dot {
	top: -2px;
	right: -2px;
	min-width: 14px;
	width: 14px;
	height: 14px;
	padding: 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--open .chk-bubble__badge { display: none; }
/* A single attention cue when a reply arrives — not an endless pulse. */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__badge--pulse {
	animation: chk-badge-pop 0.5s var(--chk-ease) 2;
}
@keyframes chk-badge-pop {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.22); }
}

/* ---------- Panel ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__panel {
	position: absolute;
	bottom: 78px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: 392px;
	max-width: calc(100vw - 44px);
	height: 620px;
	max-height: calc(100vh - 112px);
	max-height: calc(100dvh - 112px);
	overflow: hidden;
	background: #fff;
	color: var(--chk-ink);
	border: 1px solid rgba(16, 42, 28, 0.08);
	border-radius: 22px;
	box-shadow: var(--chk-shadow);
	opacity: 0;
	transform: translateY(14px) scale(0.96);
	transition: opacity 0.2s ease, transform 0.26s var(--chk-ease);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--right .chk-bubble__panel { right: 0; transform-origin: bottom right; }
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--left  .chk-bubble__panel { left: 0; transform-origin: bottom left; }
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--open .chk-bubble__panel {
	opacity: 1;
	transform: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__panel:focus {
	outline: none;
}

/* ---------- Header (the one bold element) ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__header {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 12px;
	overflow: hidden;
	padding: 18px 12px 18px 18px;
	background:
		radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 55%),
		var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
}
/* Oversized translucent checkmark, drawn left-to-right once per opening. */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__header::after {
	content: '';
	position: absolute;
	z-index: -1;
	top: -26px;
	right: -18px;
	width: 180px;
	height: 150px;
	background: currentColor;
	opacity: 0.13;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 150'><path d='M14 84 L66 132 L166 22' fill='none' stroke='black' stroke-width='26' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 150'><path d='M14 84 L66 132 L166 22' fill='none' stroke='black' stroke-width='26' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
	clip-path: inset(0 0 0 0);
	pointer-events: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--open .chk-bubble__header::after {
	animation: chk-check-draw 0.7s 0.12s var(--chk-ease) both;
}
@keyframes chk-check-draw {
	from { clip-path: inset(0 100% 0 0); }
	to   { clip-path: inset(0 0 0 0); }
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__avatar {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background-color: rgba(255, 255, 255, 0.16);
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
	color: inherit;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__avatar svg {
	width: 24px;
	height: 24px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__header-text {
	flex: 1 1 auto;
	min-width: 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__title {
	display: block;
	overflow: hidden;
	margin: 0;
	font-family: var(--chk-font-display);
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: inherit;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__subtitle {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 3px;
	font-size: 12.5px;
	line-height: 1.3;
	color: inherit;
	opacity: 0.92;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__subtitle:empty { display: none; }
/* Status dot: a solid light with a soft ring (static, no blinking). */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__subtitle::before {
	content: '';
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #86efac;
	box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.28);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__end {
	flex-shrink: 0;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
	color: inherit;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__close {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: inherit;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__end:hover,
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__close:hover {
	background: rgba(255, 255, 255, 0.24);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__close svg {
	width: 20px;
	height: 20px;
}

/* ---------- Privacy notice (once per browser) ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__privacy {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 11px 18px;
	background: var(--chk-tint);
	border-bottom: 1px solid var(--chk-line);
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--chk-ink);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__privacy-msg {
	flex: 1 1 200px;
	margin: 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__privacy-msg p { margin: 0; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__privacy-msg a {
	font-weight: 600;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__privacy-btn {
	flex-shrink: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
	font-size: 12.5px;
	font-weight: 600;
}

/* ---------- Lead capture ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead {
	flex-shrink: 0;
	max-height: 60%;
	overflow-y: auto;
	padding: 16px 18px;
	background: linear-gradient(180deg, var(--chk-tint) 0%, rgba(255, 255, 255, 0) 100%), #fff;
	border-bottom: 1px solid var(--chk-line);
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--chk-ink);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-msg {
	margin: 0 0 10px;
	font-weight: 500;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-form {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-label {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--chk-ink);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-input {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #8a9a90; /* 3.1:1 non-text contrast */
	border-radius: 12px;
	background: #fff;
	color: var(--chk-ink);
	font-size: 14px;
	line-height: 1.3;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-input:focus {
	outline: none;
	border-color: var(--chk-link, #11650b);
	box-shadow: 0 0 0 3px var(--chk-tint-strong);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-input[aria-invalid="true"] {
	border-color: #b91c1c;
	box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-consent {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-submit {
	flex: 1 1 auto;
	padding: 11px 16px;
	border-radius: 999px;
	background: var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
	font-size: 14px;
	font-weight: 600;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-submit:hover {
	filter: brightness(1.08);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-submit:disabled {
	opacity: 0.65;
	cursor: progress;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-skip {
	padding: 8px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-skip:hover {
	background: var(--chk-canvas);
	color: var(--chk-ink);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-error {
	margin: 8px 0 0;
	font-size: 12.5px;
	line-height: 1.4;
	color: #b91c1c;
}
/* v1.12.3: one-time code step */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__otp {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__otp-msg {
	margin: 0 0 6px;
	font-weight: 500;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__otp-input {
	font-size: 22px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.45em;
	text-align: center;
	padding-left: calc(14px + 0.45em);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__otp-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px;
	margin: 8px 0 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__otp-link {
	padding: 4px 2px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--chk-link, #11650b);
	text-decoration: underline;
	text-underline-offset: 3px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__otp-link:disabled { opacity: 0.55; }

/* Required mode: the composer is disabled by JS (keyboard too); this only dims it. */
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--lead-required .chk-bubble__form {
	opacity: 0.55;
}

/* ---------- Messages ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__messages {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 18px 16px 14px;
	background: var(--chk-canvas);
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: rgba(16, 42, 28, 0.22) transparent;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__messages:focus-visible {
	outline-offset: -3px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg {
	display: block;
	max-width: 84%;
	padding: 10px 14px;
	border-radius: 18px;
	font-size: 14.5px;
	line-height: 1.5;
	overflow-wrap: anywhere;
	word-break: break-word;
	animation: chk-msg-in 0.2s var(--chk-ease);
}
@keyframes chk-msg-in {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: none; }
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--user {
	align-self: flex-end;
	background: var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
	border-bottom-right-radius: 6px;
	box-shadow: 0 6px 14px -8px rgba(var(--chk-color-rgb, 17, 101, 11), 0.6);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--user .chk-msg__body {
	white-space: pre-wrap;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--user a {
	color: inherit;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--assistant {
	align-self: flex-start;
	background: #fff;
	color: var(--chk-ink);
	border: 1px solid var(--chk-line);
	border-bottom-left-radius: 6px;
	box-shadow: 0 1px 2px rgba(16, 42, 28, 0.04);
}
/* Human agent: amber edge + tag, so a person never looks like the bot. */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--agent {
	border-color: #fcd9b0;
	background: linear-gradient(90deg, var(--chk-human-soft) 0%, #fff 60%);
	box-shadow: inset 3px 0 0 var(--chk-human);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg__agent-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	color: var(--chk-human);
}
/* v1.12.3: agent photo (or initial) + first name */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-agent-avatar {
	position: relative;
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--chk-human);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-agent-avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg__agent-name { color: var(--chk-human); }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__escalate-status.is-agent {
	background: #fff;
	box-shadow: inset 0 0 0 1px #f0d2b3;
	color: var(--chk-ink);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__escalate-status.is-agent::before { display: none; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__escalate-status .chk-agent-avatar {
	width: 20px;
	height: 20px;
	font-size: 10px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg__time {
	display: block;
	margin-top: 5px;
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	opacity: 0.8;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--user .chk-msg__time {
	text-align: right;
	opacity: 0.85;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--note {
	align-self: center;
	max-width: 92%;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	text-align: center;
	color: var(--chk-muted);
	animation: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--restored {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
	padding: 6px 12px 6px 6px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--chk-line);
	color: var(--chk-muted);
	font-weight: 500;
	text-align: left;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg__note-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--chk-tint-strong);
	color: var(--chk-link, #11650b);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-self: stretch;
	gap: 8px 10px;
	max-width: 100%;
	border: 1px solid #f5c2c2;
	border-radius: 14px;
	background: #fef4f4;
	color: #991b1b;
	font-size: 13.5px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg__error-text {
	flex: 1 1 160px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg__retry {
	padding: 6px 14px;
	border: 1px solid #b91c1c;
	border-radius: 999px;
	background: #fff;
	color: #991b1b;
	font-size: 12.5px;
	font-weight: 600;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg__retry:hover {
	background: #b91c1c;
	color: #fff;
}

/* Escalation confirmation (Yes / No) */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-confirm {
	display: flex;
	flex-wrap: wrap;
	align-self: flex-start;
	gap: 8px;
	animation: chk-msg-in 0.2s var(--chk-ease);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-confirm__btn {
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-confirm__btn--yes {
	background: var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-confirm__btn--no {
	background: #fff;
	color: var(--chk-ink);
	box-shadow: inset 0 0 0 1px #aebbb3;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-confirm__btn--no:hover {
	background: var(--chk-canvas);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-confirm__btn:disabled {
	opacity: 0.6;
	cursor: progress;
}

/* ---------- Markdown (assistant replies) ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md p {
	margin: 0 0 8px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md .chk-md-h {
	margin: 12px 0 4px;
	font-family: var(--chk-font-display);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.005em;
	text-transform: none;
	color: inherit;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md h3 { font-size: 15.5px; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md h4 { font-size: 14.5px; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md h5,
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md h6 { font-size: 14px; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md ul,
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md ol {
	margin: 4px 0 8px;
	padding: 0 0 0 1.25em;
	list-style-position: outside;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md ul { list-style-type: disc; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md ol { list-style-type: decimal; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md li {
	display: list-item;
	margin: 0 0 4px;
	padding-left: 2px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md li::marker {
	color: var(--chk-link, #11650b);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md strong { font-weight: 700; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md em { font-style: italic; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md a {
	font-weight: 600;
	word-break: break-word;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md code {
	padding: 1px 6px;
	border-radius: 6px;
	background: var(--chk-canvas);
	box-shadow: inset 0 0 0 1px var(--chk-line);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
	font-size: 12.5px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md pre {
	margin: 8px 0;
	padding: 10px 12px;
	overflow-x: auto;
	border-radius: 10px;
	background: var(--chk-canvas);
	box-shadow: inset 0 0 0 1px var(--chk-line);
	white-space: pre;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md pre code {
	padding: 0;
	background: none;
	box-shadow: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md hr {
	margin: 10px 0;
	border: 0;
	border-top: 1px solid var(--chk-line);
}
/* Must stay after the rules above (same specificity as .chk-md .chk-md-h). */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md > :first-child { margin-top: 0; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-md > :last-child { margin-bottom: 0; }

/* ---------- Typing indicator ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--typing {
	align-self: flex-start;
	padding: 13px 16px;
	background: #fff;
	border: 1px solid var(--chk-line);
	border-bottom-left-radius: 6px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-typing {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-typing > span {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--chk-color, #11650b);
	opacity: 0.35;
	animation: chk-typing 1.2s infinite ease-in-out;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-typing > span:nth-child(2) { animation-delay: 0.18s; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-typing > span:nth-child(3) { animation-delay: 0.36s; }
@keyframes chk-typing {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
	30%           { transform: translateY(-4px); opacity: 1; }
}

/* v1.12.4: opt-in offer for browser notifications (after escalating) */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-notify-offer {
	align-self: stretch;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 12px 14px;
	border: 1px dashed rgba(var(--chk-color-rgb, 17, 101, 11), 0.45);
	border-radius: 14px;
	background: #fff;
	font-size: 13px;
	line-height: 1.45;
	color: var(--chk-ink);
	animation: chk-msg-in 0.2s var(--chk-ease);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-notify-offer p { flex: 1 1 180px; margin: 0; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-notify-offer__btn {
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
	font-size: 12.5px;
	font-weight: 600;
}

/* ---------- Full-screen chat (v1.15.3) ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__expand {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: inherit;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__expand:hover {
	background: rgba(255, 255, 255, 0.24);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__expand-off,
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded .chk-bubble__expand-on {
	display: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded .chk-bubble__expand-off {
	display: block;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--preview .chk-bubble__expand {
	display: none;
}
@media (min-width: 481px) {
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded.chk-bubble--open::before {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 1;
		background: rgba(16, 42, 28, 0.38);
		-webkit-backdrop-filter: blur(3px);
		backdrop-filter: blur(3px);
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded .chk-bubble__panel {
		position: fixed;
		top: 20px;
		right: 20px;
		bottom: 20px;
		left: 20px;
		width: auto;
		max-width: none;
		height: auto;
		max-height: none;
		border-radius: 22px;
		transform-origin: center;
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded.chk-bubble--open .chk-bubble__toggle {
		visibility: hidden;
	}
	/* Comfortable reading column in the middle of the screen. */
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded .chk-bubble__messages {
		padding-right: max(20px, calc((100% - 820px) / 2));
		padding-left: max(20px, calc((100% - 820px) / 2));
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded .chk-bubble__form,
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded .chk-bubble__escalate,
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded .chk-bubble__lead,
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded .chk-bubble__privacy {
		width: calc(100% - 40px);
		max-width: 820px;
		margin-right: auto;
		margin-left: auto;
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded .chk-msg {
		max-width: 78%;
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--expanded .chk-bubble__header {
		padding-right: 18px;
		padding-left: 24px;
	}
}
@media (max-width: 480px) {
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__expand {
		display: none;
	}
}

/* ---------- Team events (v1.15.0) ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--team {
	display: inline-flex;
	align-self: center;
	align-items: center;
	gap: 8px;
	max-width: 92%;
	padding: 5px 12px 5px 6px;
	border: 1px solid #f0d2b3;
	border-radius: 999px;
	background: var(--chk-human-soft);
	font-size: 12.5px;
	line-height: 1.35;
	color: var(--chk-ink);
	animation: chk-msg-in 0.2s var(--chk-ease);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--team-queue {
	padding-left: 12px;
	border-color: var(--chk-line);
	background: #fff;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--team .chk-msg__time {
	margin: 0;
	font-size: 11px;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-team-stack {
	display: inline-flex;
	flex-shrink: 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-team-stack .chk-agent-avatar {
	box-shadow: 0 0 0 2px #fff;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-team-stack .chk-agent-avatar + .chk-agent-avatar {
	margin-left: -7px;
}
/* v1.20.5: in-chat rating of the assistant + "end conversation" card */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved--bot {
	position: relative;
	padding-top: 12px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved--bot .chk-rate {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__dismiss {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--chk-muted);
	font-size: 18px;
	line-height: 26px;
	cursor: pointer;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__dismiss:hover,
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__dismiss:focus-visible {
	background: var(--chk-tint);
	color: var(--chk-ink);
	outline: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__new {
	padding: 0;
	border: 0;
	background: none;
	color: var(--chk-color, #11650b);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--team { animation: none; }
}

/* ---------- Files (v1.14.0) ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__attach {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	align-self: flex-end;
	width: 36px;
	height: 36px;
	margin: 2px 0 2px -10px;
	border-radius: 50%;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__attach:hover:not(:disabled) {
	background: var(--chk-tint);
	color: var(--chk-link, #11650b);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__attach:disabled {
	cursor: progress;
	opacity: 0.5;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-files {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 6px;
	margin-top: 4px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--user .chk-files {
	justify-content: flex-end;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg--files .chk-msg__body + .chk-files {
	margin-top: 6px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-file {
	display: inline-flex;
	color: var(--chk-ink);
	text-decoration: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-file--image {
	display: block;
	max-width: 100%;
	flex: 0 0 auto;
	line-height: 0;
	overflow: hidden;
	border: 1px solid var(--chk-line);
	border-radius: 14px;
	background: #fff;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-file--image img {
	display: block;
	width: auto;
	max-width: 240px;
	height: auto;
	max-height: 200px;
	object-fit: contain;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-file--doc {
	align-items: center;
	gap: 10px;
	max-width: 260px;
	padding: 8px 12px 8px 8px;
	border: 1px solid var(--chk-line);
	border-radius: 14px;
	background: #fff;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-file--doc:hover {
	border-color: var(--chk-link, #11650b);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-file__ext {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--chk-tint-strong);
	color: var(--chk-link, #11650b);
	font-size: 10px;
	font-weight: 700;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-file__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-file__name {
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-file__size {
	font-size: 11.5px;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-file:focus-visible {
	outline: 2px solid var(--chk-link, #11650b);
	outline-offset: 2px;
}

/* ---------- Resolved card + rating (v1.13.0) ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved {
	align-self: stretch;
	margin: 6px 0 2px;
	padding: 14px 14px 12px;
	border: 1px solid var(--chk-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 24px -18px rgba(16, 42, 28, 0.45);
	animation: chk-msg-in 0.25s var(--chk-ease);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
	box-shadow: 0 0 0 4px var(--chk-tint);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__title {
	font-family: var(--chk-font-display);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--chk-ink);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__by {
	font-size: 13px;
	line-height: 1.45;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__time {
	flex: 0 0 auto;
	font-size: 11.5px;
	line-height: 1.6;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved__more {
	margin: 12px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate {
	margin: 12px 0 0;
	padding: 12px 12px 10px;
	border-radius: 14px;
	background: var(--chk-canvas);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__q {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--chk-ink);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__stars {
	display: inline-flex;
	gap: 2px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	color: #9aa8a0;
	transition: transform 0.15s var(--chk-ease), color 0.15s ease;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__star svg {
	display: block;
	fill: transparent;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linejoin: round;
	transition: fill 0.15s ease;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__star.is-on {
	color: #d97706;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__star.is-on svg {
	fill: #f59e0b;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__star:hover {
	transform: scale(1.12);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__star:active {
	transform: scale(0.94);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__stars[aria-busy="true"] .chk-rate__star {
	cursor: progress;
	opacity: 0.7;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__hint {
	min-height: 1em;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate.is-rated .chk-rate__q {
	color: var(--chk-link, #11650b);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__comment {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 10px 0 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__textarea {
	display: block;
	width: 100%;
	min-height: 56px;
	padding: 9px 12px;
	border: 1px solid #8a9a90;
	border-radius: 12px;
	background: #fff;
	color: var(--chk-ink);
	font: inherit;
	font-size: 13.5px;
	line-height: 1.4;
	resize: vertical;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__textarea:focus {
	outline: none;
	border-color: var(--chk-link, #11650b);
	box-shadow: 0 0 0 3px var(--chk-tint-strong);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__send {
	align-self: flex-end;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
	font-size: 12.5px;
	font-weight: 600;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__send[disabled] {
	opacity: 0.6;
	cursor: progress;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__done {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: var(--chk-link, #11650b);
}
@media (prefers-reduced-motion: reduce) {
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-resolved { animation: none; }
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__star { transition: none; }
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__star:hover, :is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-rate__star:active { transform: none; }
}

/* ---------- Escalation row ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__escalate {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 10px;
	padding: 10px 14px 2px;
	background: #fff;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__escalate-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px 8px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--chk-human);
	box-shadow: inset 0 0 0 1.5px #f0b37a;
	font-size: 13px;
	font-weight: 600;
}
/* Headset glyph (mask, inherits the text color). */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__escalate-btn::before {
	content: '';
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3a8 8 0 0 0-8 8v6a3 3 0 0 0 3 3h1v-7H6v-2a6 6 0 1 1 12 0v2h-2v7h1a3 3 0 0 0 1-.17V20a1 1 0 0 1-1 1h-4v2h4a3 3 0 0 0 3-3v-9a8 8 0 0 0-8-8z'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3a8 8 0 0 0-8 8v6a3 3 0 0 0 3 3h1v-7H6v-2a6 6 0 1 1 12 0v2h-2v7h1a3 3 0 0 0 1-.17V20a1 1 0 0 1-1 1h-4v2h4a3 3 0 0 0 3-3v-9a8 8 0 0 0-8-8z'/></svg>") center / contain no-repeat;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__escalate-btn:hover {
	background: var(--chk-human);
	color: #fff;
	box-shadow: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__escalate-btn:disabled {
	opacity: 0.65;
	cursor: progress;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__escalate-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--chk-human-soft);
	font-size: 12.5px;
	font-weight: 600;
	color: #8a3c0a; /* 6.9:1 on #fff7ed */
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__escalate-status::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--chk-human);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__resume-btn {
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff;
	color: var(--chk-ink);
	box-shadow: inset 0 0 0 1px #aebbb3;
	font-size: 12.5px;
	font-weight: 500;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__resume-btn:hover {
	background: var(--chk-canvas);
}

/* ---------- Lead form: newsletter opt-in ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-news {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 8px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #4b555c;
	cursor: pointer;
}
/* Themes routinely set appearance:none on checkboxes and leave them 0x0, so
   the widget draws its own instead of trusting the page. */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-news input {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	padding: 0;
	border: 1.5px solid #8a959e;
	border-radius: 4px;
	background: #fff;
	position: relative;
	cursor: pointer;
	transition: background .12s ease, border-color .12s ease;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-news input:checked {
	background: var(--chk-color, #11650b);
	border-color: var(--chk-color, #11650b);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-news input:checked::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-news input:focus-visible {
	outline: 2px solid var(--chk-color, #11650b);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-news input { transition: none; }
}

/* ---------- Turnstile ----------
   Empty and invisible until Cloudflare decides it needs a challenge; then the
   widget appears above the composer and the box grows to fit it. */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__turnstile-note {
	flex-shrink: 0;
	margin: 10px 12px 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #4b555c;
	text-align: center;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__turnstile {
	flex-shrink: 0;
	margin: 8px 12px 0;
	display: flex;
	justify-content: center;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__turnstile:empty {
	display: none;
	margin: 0;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__turnstile iframe {
	max-width: 100%;
}

/* ---------- Composer: one pill field with a round send button ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__form {
	display: flex;
	flex-shrink: 0;
	align-items: flex-end;
	gap: 6px;
	margin: 10px 12px 0;
	padding: 5px 5px 5px 16px;
	background: #fff;
	border: 1px solid #aebbb3; /* 3:1 non-text contrast */
	border-radius: 26px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__form:focus-within {
	border-color: var(--chk-link, #11650b);
	box-shadow: 0 0 0 4px var(--chk-tint-strong);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__input {
	display: block;
	flex: 1 1 auto;
	align-self: center;
	width: auto;
	min-width: 0;
	min-height: 24px;
	max-height: 120px;
	overflow-y: auto;
	resize: none;
	padding: 8px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--chk-ink);
	font-size: 14.5px;
	line-height: 1.45;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__input::placeholder {
	color: var(--chk-muted);
	opacity: 1;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__input:focus,
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__input:focus-visible {
	outline: none;
	box-shadow: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__input:disabled {
	background: transparent;
	cursor: not-allowed;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__send {
	position: relative;
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	background: var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
	line-height: 1;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__send:hover:not(:disabled) {
	transform: scale(1.06);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__send svg {
	width: 17px;
	height: 17px;
	margin-left: 2px; /* optical centering of the paper plane */
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__send:disabled {
	opacity: 0.45;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__powered {
	flex-shrink: 0;
	padding: 7px 12px 10px;
	background: #fff;
	font-size: 11.5px;
	text-align: center;
	color: var(--chk-muted);
}

/* ---------- Teaser ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__teaser {
	position: absolute;
	bottom: 78px;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	width: 272px;
	max-width: calc(100vw - 44px);
	background: #fff;
	color: var(--chk-ink);
	border: 1px solid var(--chk-line);
	border-radius: 18px;
	box-shadow: 0 18px 40px -16px rgba(16, 42, 28, 0.35);
	opacity: 0;
	transform: translateY(8px) scale(0.96);
	transition: opacity 0.25s ease, transform 0.3s var(--chk-ease);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--right .chk-bubble__teaser { right: 0; border-bottom-right-radius: 6px; }
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--left  .chk-bubble__teaser { left: 0; border-bottom-left-radius: 6px; }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__teaser--visible {
	opacity: 1;
	transform: none;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__teaser-msg {
	flex: 1 1 auto;
	padding: 14px 4px 14px 16px;
	border-radius: 18px 0 0 18px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	text-align: left;
	overflow-wrap: anywhere;
	color: inherit;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__teaser-close {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 6px 6px 0 0;
	border-radius: 50%;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__teaser-close:hover {
	background: var(--chk-canvas);
	color: var(--chk-ink);
}

/* ---------- In-panel dialog (v1.12.2, replaces window.confirm) ---------- */
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-dialog-layer {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 16px;
	background: rgba(16, 42, 28, 0.38);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	animation: chk-fade-in 0.16s ease;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-dialog {
	width: 100%;
	max-width: 340px;
	padding: 20px 20px 16px;
	background: #fff;
	color: var(--chk-ink);
	border-radius: 20px;
	box-shadow: 0 24px 48px -16px rgba(16, 42, 28, 0.45);
	animation: chk-dialog-up 0.22s var(--chk-ease);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-dialog__title {
	margin: 0 0 6px;
	font-family: var(--chk-font-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.005em;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-dialog__msg {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--chk-muted);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-dialog__actions {
	display: flex;
	gap: 8px;
	margin-top: 18px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-dialog__btn {
	flex: 1 1 0;
	min-height: 42px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-dialog__btn--ghost {
	background: #fff;
	color: var(--chk-ink);
	box-shadow: inset 0 0 0 1px #aebbb3;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-dialog__btn--ghost:hover { background: var(--chk-canvas); }
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-dialog__btn--primary {
	background: var(--chk-color, #11650b);
	color: var(--chk-on-color, #fff);
}
:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-dialog__btn--primary:hover { filter: brightness(1.08); }
@keyframes chk-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes chk-dialog-up {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}

/* ---------- Phones: full-screen panel ---------- */
@media (max-width: 480px) {
	:is(#chatbot-chk-root,#chk-bubble-preview-root) {
		bottom: 16px;
		bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px));
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--right { right: 16px; }
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--left  { left: 16px; }
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__toggle {
		width: 56px;
		height: 56px;
		border-radius: 18px;
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__teaser {
		bottom: 68px;
		width: 244px;
		max-width: calc(100vw - 32px);
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__teaser-msg { font-size: 13.5px; }
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__panel {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		max-width: none;
		height: 100vh;
		height: 100dvh;
		max-height: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		transform: translateY(16px);
	}
	/* JS sets --chk-vvh/--chk-vvt from visualViewport (on-screen keyboard). */
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--vv .chk-bubble__panel {
		top: var(--chk-vvt, 0px);
		bottom: auto;
		height: var(--chk-vvh, 100vh);
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--open .chk-bubble__toggle {
		visibility: hidden;
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__header {
		padding-top: max(14px, env(safe-area-inset-top));
		padding-right: max(10px, env(safe-area-inset-right));
		padding-bottom: 14px;
		padding-left: max(16px, env(safe-area-inset-left));
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__messages {
		padding-right: max(12px, env(safe-area-inset-right));
		padding-left: max(12px, env(safe-area-inset-left));
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__form {
		margin-right: max(10px, env(safe-area-inset-right));
		margin-left: max(10px, env(safe-area-inset-left));
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__powered {
		padding-bottom: max(10px, env(safe-area-inset-bottom));
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-msg { max-width: 88%; }
}
/* 16px fields: prevents iOS zoom-on-focus. */
@media (max-width: 480px), (pointer: coarse) {
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__input,
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__lead-input {
		font-size: 16px;
	}
}
/* Page scroll lock while the full-screen panel is open. */
html.chk-scroll-lock,
html.chk-scroll-lock body {
	overflow: hidden !important;
	overscroll-behavior: none;
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
	:is(#chatbot-chk-root,#chk-bubble-preview-root) *,
	:is(#chatbot-chk-root,#chk-bubble-preview-root) *::before,
	:is(#chatbot-chk-root,#chk-bubble-preview-root) *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-typing > span { opacity: 0.8; }
}
@media (forced-colors: active) {
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__header::after { display: none; }
	:is(#chatbot-chk-root,#chk-bubble-preview-root) .chk-bubble__form { border: 1px solid CanvasText; }
}
@media print {
	#chatbot-chk-root { display: none !important; }
}

/* ============================================================
 * ADMIN PREVIEW SCOPING (v1.11.4)
 *
 * Cuando el root tiene la clase chk-bubble--preview, sobreescribimos
 * position:fixed y dejamos que el panel se muestre inline dentro del
 * contenedor del admin. Asi el admin ve EXACTAMENTE lo mismo que
 * el visitante, pero sin que el bubble se "escape" del area de preview.
 * ============================================================ */
.chk-preview-scope {
	position: relative;
	min-height: 520px;
	padding: 16px;
	border: 1px dashed #c3c4c7;
	border-radius: 8px;
	background: linear-gradient(135deg, #fafbfc 0%, #f1f4f2 100%);
	overflow: hidden;
}
.chk-preview-scope-label {
	font-size: 12px;
	color: #50575e;
	margin: 0 0 8px 4px;
	font-weight: 600;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--preview {
	position: absolute;
	bottom: 16px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--preview.chk-bubble--right { right: 16px; left: auto; }
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--preview.chk-bubble--left  { left: 16px; right: auto; }
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--preview .chk-bubble__panel {
	position: absolute;
	top: auto;
	right: 76px;
	bottom: 0;
	left: auto;
	display: flex !important;
	width: 340px;
	height: 480px;
	max-height: none;
	border-radius: 22px;
	opacity: 1;
	transform: none;
	visibility: visible;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--preview.chk-bubble--left .chk-bubble__panel {
	right: auto;
	left: 76px;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--preview .chk-bubble__toggle { visibility: visible; }
/* Welcome bubble injected by the admin preview script. */
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--preview .chk-bubble__msg--assistant {
	display: inline-block;
	max-width: 85%;
	margin: 4px 0;
	padding: 10px 14px;
	border: 1px solid var(--chk-line);
	border-radius: 18px 18px 18px 6px;
	background: #fff;
	color: var(--chk-ink);
	font-size: 14px;
	line-height: 1.5;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
:is(#chatbot-chk-root,#chk-bubble-preview-root).chk-bubble--preview .chk-bubble__messages {
	display: block !important;
}
