.abcsmart {
	--abcsmart-blue: #168ff0;
	--abcsmart-blue-bright: #2aa6f7;
	--abcsmart-blue-dark: #075ea9;
	--abcsmart-navy: #12233e;
	--abcsmart-text: #243244;
	--abcsmart-muted: #697586;
	--abcsmart-soft: #f2f4f7;
	--abcsmart-border: #dfe6ed;
	--abcsmart-green: #20b26b;
	bottom: 22px;
	font-family: inherit;
	position: fixed;
	right: 22px;
	z-index: 999980;
}

.abcsmart *,
.abcsmart *::before,
.abcsmart *::after {
	box-sizing: border-box;
}

.abcsmart [hidden] {
	display: none !important;
}

.abcsmart button,
.abcsmart input,
.abcsmart textarea {
	font-family: inherit;
}

.abcsmart__launcher {
	align-items: center;
	background: #fff !important;
	border: 3px solid var(--abcsmart-blue) !important;
	border-radius: 50% !important;
	box-shadow: 0 14px 34px rgba(23, 105, 224, 0.34), 0 4px 12px rgba(20, 34, 53, 0.18);
	color: #fff !important;
	cursor: pointer;
	display: flex;
	height: 89px !important;
	justify-content: center;
	min-height: 89px !important;
	padding: 2px !important;
	position: relative;
	transition: transform 180ms ease, box-shadow 180ms ease;
	width: 89px !important;
}

.abcsmart__launcher:hover {
	box-shadow: 0 17px 38px rgba(23, 105, 224, 0.4), 0 5px 14px rgba(20, 34, 53, 0.2);
	transform: translateY(-2px);
}

.abcsmart__launcher-photo {
	border-radius: 50%;
	display: block;
	height: 77px;
	object-fit: cover;
	width: 77px;
}

.abcsmart__unread {
	align-items: center;
	background: #25d366;
	border: 3px solid #fff;
	border-radius: 999px;
	color: #fff;
	display: flex;
	height: 26px;
	justify-content: center;
	position: absolute;
	right: -2px;
	top: -3px;
	width: 26px;
}

.abcsmart__unread svg {
	display: block;
	height: 15px;
	width: 15px;
}

.abcsmart__unread--attention {
	animation: abcsmart-whatsapp-attention 560ms ease-in-out 3;
}

.abcsmart__teaser {
	align-items: center;
	animation: abcsmart-rise 420ms ease both;
	background: #fff;
	border: 0;
	border-radius: 14px 14px 4px 14px;
	bottom: 12px;
	box-shadow: 0 11px 28px rgba(20, 34, 53, 0.14), 0 2px 8px rgba(20, 34, 53, 0.08);
	display: flex;
	max-width: calc(100vw - 118px);
	overflow: hidden;
	position: absolute;
	right: 97px;
	width: max-content;
}

.abcsmart__teaser--attention {
	animation: abcsmart-teaser-attention 620ms ease-in-out 3;
}

.abcsmart__teaser-main {
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	color: var(--abcsmart-text) !important;
	cursor: pointer;
	display: flex !important;
	font-size: 12.5px;
	font-weight: 650;
	letter-spacing: normal !important;
	line-height: 1.3;
	min-height: 44px;
	min-width: 0;
	padding: 9px 7px 9px 12px !important;
	text-align: left;
	text-transform: none !important;
	width: auto;
}

.abcsmart__teaser-main span {
	white-space: nowrap;
}

.abcsmart__teaser-close {
	align-items: center;
	background: #edf7ff !important;
	border: 0 !important;
	border-radius: 50% !important;
	color: var(--abcsmart-blue-dark) !important;
	cursor: pointer;
	display: flex;
	flex: 0 0 26px;
	font-size: 17px;
	height: 26px !important;
	justify-content: center;
	line-height: 1;
	margin: 0 4px 0 0;
	min-height: 26px !important;
	padding: 0 !important;
	position: static;
	transition: background-color 160ms ease, color 160ms ease;
	width: 26px !important;
	z-index: 2;
}

.abcsmart__teaser-close:hover {
	background: var(--abcsmart-blue) !important;
	color: #fff !important;
}

.abcsmart__panel {
	animation: abcsmart-rise 220ms ease both;
	background: #fff;
	border: 1px solid rgba(20, 34, 53, 0.1);
	border-radius: 24px;
	bottom: 99px;
	box-shadow: 0 28px 70px rgba(20, 34, 53, 0.22), 0 7px 22px rgba(20, 34, 53, 0.1);
	display: flex;
	flex-direction: column;
	height: auto;
	max-height: min(560px, calc(100vh - 127px));
	min-height: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	width: 360px;
	z-index: 3;
}

.abcsmart__panel:focus {
	outline: none;
}

.abcsmart__header {
	align-items: center;
	background: linear-gradient(135deg, #1288eb 0%, #25a2f4 100%);
	border-bottom: 0;
	display: flex;
	flex: 0 0 auto;
	justify-content: space-between;
	min-height: 82px;
	padding: 10px 12px 10px 13px;
}

.abcsmart__identity {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 0;
}

.abcsmart__avatar,
.abcsmart__mini-avatar {
	background: #eaf4ff;
	border-radius: 50%;
	display: block;
	object-fit: cover;
}

.abcsmart__avatar {
	border: 2px solid #fff;
	box-shadow: 0 3px 10px rgba(7, 94, 169, 0.23);
	flex: 0 0 60px;
	height: 60px;
	width: 60px;
}

.abcsmart__header h2 {
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 0;
}

.abcsmart__header p {
	align-items: center;
	color: rgba(255, 255, 255, 0.91);
	display: flex;
	font-size: 11.5px;
	gap: 6px;
	line-height: 1.35;
	margin: 4px 0 0;
}

.abcsmart__status-dot {
	background: #8bf0bb;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(32, 178, 107, 0.12);
	height: 7px;
	width: 7px;
}

.abcsmart__close {
	align-items: center;
	background: rgba(255, 255, 255, 0.16) !important;
	border: 0 !important;
	border-radius: 50% !important;
	color: #fff !important;
	cursor: pointer;
	display: flex;
	font-size: 23px;
	height: 42px !important;
	justify-content: center;
	line-height: 1;
	min-height: 42px !important;
	padding: 0 0 2px !important;
	width: 42px !important;
}

.abcsmart__body {
	background: #fff;
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 17px 14px 13px;
	scroll-behavior: smooth;
}

.abcsmart__messages {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.abcsmart__message-row {
	align-items: flex-end;
	display: flex;
	gap: 7px;
	max-width: 91%;
}

.abcsmart__message-row--user {
	align-self: flex-end;
	justify-content: flex-end;
}

.abcsmart__mini-avatar {
	border: 1px solid #d5e9fa;
	flex: 0 0 31px;
	height: 31px;
	margin-bottom: 2px;
	width: 31px;
}

.abcsmart__message {
	background: #f0f2f4;
	border-radius: 18px 18px 18px 6px;
	color: var(--abcsmart-text);
	font-size: 14.25px;
	font-weight: 480;
	line-height: 1.48;
	padding: 11px 13px;
	word-break: break-word;
}

.abcsmart__message--user {
	background: linear-gradient(145deg, var(--abcsmart-blue), #167fe4);
	border-radius: 18px 18px 6px 18px;
	color: #fff;
}

.abcsmart__typing {
	align-items: center;
	display: flex;
	gap: 4px;
	min-height: 39px;
	padding: 13px 15px;
}

.abcsmart__typing i {
	animation: abcsmart-dot 1s infinite ease-in-out;
	background: #9ba6b4;
	border-radius: 50%;
	display: block;
	height: 5px;
	width: 5px;
}

.abcsmart__typing i:nth-child(2) {
	animation-delay: 120ms;
}

.abcsmart__typing i:nth-child(3) {
	animation-delay: 240ms;
}

.abcsmart__notice {
	align-self: center;
	background: #fff9e8;
	border: 1px solid #f4df9b;
	border-radius: 12px;
	color: #705d20;
	font-size: 11.5px;
	line-height: 1.4;
	margin: 2px auto;
	max-width: 92%;
	padding: 8px 10px;
	text-align: center;
}

.abcsmart__stage {
	margin-top: 13px;
}

.abcsmart__choices {
	display: grid;
	gap: 7px;
	margin-left: 38px;
}

.abcsmart .abcsmart__choice {
	align-items: center;
	background: #fff !important;
	border: 1px solid #d5e0eb !important;
	border-radius: 13px !important;
	color: var(--abcsmart-text) !important;
	cursor: pointer;
	display: flex;
	font-size: 13.25px;
	font-weight: 700;
	letter-spacing: normal !important;
	justify-content: space-between;
	line-height: 1.3;
	min-height: 44px !important;
	padding: 10px 12px !important;
	text-align: left;
	text-transform: none !important;
	transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
	width: 100%;
}

.abcsmart__choice::after {
	color: var(--abcsmart-blue);
	content: "›";
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
	margin-left: 12px;
}

.abcsmart .abcsmart__choice:hover {
	background: #f7fbff !important;
	border-color: #8fc3f6 !important;
	transform: translateX(2px);
}

.abcsmart .abcsmart__choice--consent,
.abcsmart .abcsmart__choice--consent:hover {
	background: #16a34a !important;
	border-color: #16a34a !important;
	box-shadow: 0 7px 16px rgba(22, 163, 74, 0.2);
	color: #fff !important;
}

.abcsmart .abcsmart__choice--consent::after {
	color: #fff;
	content: "✓";
	font-size: 16px;
	font-weight: 800;
}

.abcsmart .abcsmart__choice--email::after {
	content: "✉";
	font-size: 15px;
}

.abcsmart__composer {
	background: #f1f3f5;
	border: 1px solid #d9e0e7;
	border-radius: 15px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 50px;
	margin-left: 38px;
	overflow: visible;
	position: relative;
}

.abcsmart__input-choice {
	display: grid;
	gap: 7px;
	margin-left: 38px;
}

.abcsmart__input-choice .abcsmart__composer,
.abcsmart__input-choice .abcsmart__choice--standalone {
	margin-left: 0;
}

.abcsmart .abcsmart__composer input:not(.abcsmart__honeypot-field),
.abcsmart .abcsmart__composer textarea {
	appearance: none;
	background: #f1f3f5 !important;
	border: 0 !important;
	border-radius: 15px !important;
	box-shadow: none !important;
	color: var(--abcsmart-text) !important;
	font-size: 16px !important;
	line-height: 1.35;
	margin: 0 !important;
	min-height: 48px !important;
	outline: 0;
	padding: 11px 12px !important;
	width: 100%;
}

.abcsmart .abcsmart__composer input::placeholder,
.abcsmart .abcsmart__composer textarea::placeholder {
	color: #8b96a4;
	opacity: 1;
}

.abcsmart .abcsmart__composer textarea {
	min-height: 86px !important;
	resize: vertical;
}

.abcsmart__send {
	align-items: center;
	align-self: end;
	background: var(--abcsmart-blue) !important;
	border: 0 !important;
	border-radius: 50% !important;
	color: #fff !important;
	cursor: pointer;
	display: flex;
	font-size: 19px;
	height: 38px !important;
	justify-content: center;
	margin: 5px !important;
	min-height: 38px !important;
	padding: 0 0 1px !important;
	width: 38px !important;
}

.abcsmart__honeypot-field {
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.abcsmart__honeypot {
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.abcsmart__field-error {
	color: #b42318;
	font-size: 11.5px;
	grid-column: 1 / -1;
	line-height: 1.35;
	margin: 0;
	padding: 0 10px 8px;
}

.abcsmart__saving {
	color: var(--abcsmart-muted);
	font-size: 12px;
	margin-left: 38px;
	padding: 7px 2px;
}

.abcsmart__product-step {
	display: grid;
	gap: 9px;
	margin-left: 38px;
}

.abcsmart__product-step .abcsmart__choices {
	margin-left: 0;
}

.abcsmart__product-card {
	align-items: center;
	background: linear-gradient(145deg, #f7fbff, #eef6ff);
	border: 1px solid #cfe5fa;
	border-radius: 15px;
	display: flex;
	gap: 11px;
	min-height: 78px;
	padding: 10px 12px;
}

.abcsmart__product-card img {
	background: #fff;
	border-radius: 10px;
	height: 56px;
	object-fit: contain;
	padding: 4px;
	width: 56px;
}

.abcsmart__product-card span {
	color: var(--abcsmart-muted);
	display: block;
	font-size: 10.5px;
	margin-bottom: 3px;
}

.abcsmart__product-card strong {
	color: var(--abcsmart-navy);
	display: block;
	font-size: 13.5px;
	line-height: 1.3;
}

.abcsmart__completion,
.abcsmart__direct {
	display: grid;
	gap: 10px;
	margin-left: 38px;
}

.abcsmart__compact-summary {
	background: #f7f9fb;
	border: 1px solid #e1e7ed;
	border-radius: 14px;
	padding: 11px;
}

.abcsmart__summary-label {
	color: var(--abcsmart-muted);
	display: block;
	font-size: 10.5px;
	font-weight: 750;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.abcsmart__summary-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.abcsmart__summary-chips span {
	background: #eaf4ff;
	border-radius: 999px;
	color: #15559f;
	font-size: 10.75px;
	line-height: 1.25;
	padding: 5px 8px;
}

.abcsmart__actions {
	display: grid;
	gap: 7px;
}

.abcsmart .abcsmart__primary,
.abcsmart .abcsmart__secondary,
.abcsmart .abcsmart__link-button,
.abcsmart .abcsmart__quiet-action {
	align-items: center;
	border-radius: 13px !important;
	cursor: pointer;
	display: flex;
	font-size: 13.25px;
	font-weight: 750;
	justify-content: center;
	letter-spacing: normal !important;
	line-height: 1.3;
	min-height: 45px !important;
	padding: 10px 12px !important;
	text-align: center;
	text-decoration: none !important;
	text-transform: none !important;
	width: 100%;
}

.abcsmart .abcsmart__primary {
	background: var(--abcsmart-blue) !important;
	border: 1px solid var(--abcsmart-blue) !important;
	color: #fff !important;
	box-shadow: 0 7px 16px rgba(23, 105, 224, 0.2);
}

.abcsmart .abcsmart__whatsapp-button,
.abcsmart .abcsmart__whatsapp-button:hover {
	background: #25d366 !important;
	border-color: #1fb85a !important;
	box-shadow: 0 8px 18px rgba(37, 211, 102, 0.24);
	color: #fff !important;
}

.abcsmart__whatsapp-icon {
	flex: 0 0 auto;
	height: 19px;
	margin-right: 8px;
	width: 19px;
}

.abcsmart .abcsmart__secondary,
.abcsmart .abcsmart__quiet-action {
	background: #fff !important;
	border: 1px solid #cbd8e5 !important;
	color: var(--abcsmart-blue-dark) !important;
}

.abcsmart__direct > p {
	color: var(--abcsmart-muted);
	font-size: 12px;
	margin: 0;
	text-align: center;
}

.abcsmart__social {
	border-top: 1px solid #e6ebf0;
	display: grid;
	gap: 7px;
	margin-top: 2px;
	padding-top: 10px;
}

.abcsmart__social p {
	color: var(--abcsmart-muted);
	font-size: 11.5px;
	line-height: 1.4;
	margin: 0;
	text-align: center;
}

.abcsmart__social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}

.abcsmart__social-links a {
	background: #eaf5ff;
	border-radius: 999px;
	color: var(--abcsmart-blue-dark);
	font-size: 11px;
	font-weight: 700;
	padding: 6px 9px;
	text-decoration: none;
}

.abcsmart__knowledge-result,
.abcsmart__knowledge-sources {
	display: grid;
	gap: 8px;
}

.abcsmart__knowledge-sources {
	background: #f5f9fd;
	border: 1px solid #dbe7f2;
	border-radius: 12px;
	padding: 10px;
}

.abcsmart__knowledge-sources > span {
	color: var(--abcsmart-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.abcsmart__knowledge-sources a {
	background: #fff;
	border: 1px solid #dce7f1;
	border-radius: 9px;
	color: var(--abcsmart-blue-dark);
	display: grid;
	gap: 2px;
	padding: 8px 9px;
	text-decoration: none;
}

.abcsmart__knowledge-sources a:hover {
	border-color: var(--abcsmart-blue);
}

.abcsmart__knowledge-sources small {
	color: var(--abcsmart-muted);
	font-size: 10px;
}

.abcsmart__knowledge-sources strong {
	font-size: 12px;
	line-height: 1.35;
}

.abcsmart__knowledge-next {
	color: var(--abcsmart-muted);
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.abcsmart__footer {
	align-items: center;
	background: #fbfcfd;
	border-top: 1px solid #edf1f4;
	color: #7b8795;
	display: flex;
	font-size: 9.75px;
	gap: 9px;
	justify-content: space-between;
	line-height: 1.35;
	min-height: 34px;
	padding: 7px 13px;
}

.abcsmart__footer a {
	color: var(--abcsmart-blue-dark);
	font-weight: 700;
}

.abcsmart__restart-button {
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin: -5px 0;
    border: 1px solid var(--abcsmart-blue-dark);
    border-radius: 8px;
    background: transparent;
    color: var(--abcsmart-blue-dark);
    font: inherit;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.abcsmart__restart-button:hover {
    background: rgba(0, 82, 155, 0.08);
    border-color: var(--abcsmart-blue-dark);
    color: var(--abcsmart-blue-dark);
}

.abcsmart__restart-button:focus-visible {
    outline: 3px solid var(--abcsmart-blue-dark);
    outline-offset: 2px;
    border-radius: 8px;
}

.abcsmart__restart-button:active {
    background: rgba(0, 82, 155, 0.16);
}

.abcsmart__restart-dialog {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 21px 18px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.96);
    border-radius: inherit;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    text-align: left;
    overflow-y: auto;
}

.abcsmart__restart-dialog-question {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #102a43;
    margin: 0 0 8px;
    text-align: left;
}

.abcsmart__restart-dialog-error {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #a71d2a;
    background: #fdeceb;
    border: 1px solid #f5c6c9;
    border-radius: 8px;
    padding: 8px 10px;
    margin: 0 0 10px;
}

.abcsmart__restart-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.abcsmart__restart-dialog-confirm,
.abcsmart__restart-dialog-cancel {
    min-height: 44px;
    min-width: 88px;
    padding: 0 16px;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.abcsmart__restart-dialog-confirm {
    border: 1px solid var(--abcsmart-blue-dark);
    background: var(--abcsmart-blue-dark);
    color: #ffffff;
}

.abcsmart__restart-dialog-confirm:hover {
    background: #005a9e;
    border-color: #005a9e;
}

.abcsmart__restart-dialog-confirm:focus-visible,
.abcsmart__restart-dialog-cancel:focus-visible {
    outline: 3px solid var(--abcsmart-blue-dark);
    outline-offset: 2px;
    border-radius: 8px;
}

.abcsmart__restart-dialog-confirm:active {
    background: #003b66;
    border-color: #003b66;
}

.abcsmart__restart-dialog-cancel {
    border: 1px solid var(--abcsmart-blue-dark);
    background: #ffffff;
    color: var(--abcsmart-blue-dark);
}

.abcsmart__restart-dialog-cancel:hover {
    background: rgba(0, 82, 155, 0.08);
    border-color: var(--abcsmart-blue-dark);
    color: var(--abcsmart-blue-dark);
}

.abcsmart__restart-dialog-cancel:active {
    background: rgba(0, 82, 155, 0.16);
}

.abcsmart__backdrop {
	background: rgba(20, 34, 53, 0.34);
	inset: 0;
	height: auto;
	position: fixed;
	width: auto;
	z-index: 1;
}

.abcsmart__launcher:focus-visible,
.abcsmart button:focus-visible,
.abcsmart input:focus-visible,
.abcsmart textarea:focus-visible,
.abcsmart a:focus-visible {
	outline: 3px solid #f6b73c !important;
	outline-offset: 2px !important;
}

body.abcsmart-lock {
	overflow: hidden;
}

@media (min-width: 681px) {
	.abcsmart__backdrop {
		display: none !important;
	}
}

@media (max-width: 900px) {
	.abcsmart {
		align-items: center;
		bottom: auto;
		display: flex;
		justify-content: flex-end;
		margin: 18px 14px max(18px, env(safe-area-inset-bottom));
		position: relative;
		right: auto;
		width: auto;
	}

	.abcsmart__panel {
		border-radius: 20px;
		bottom: max(10px, env(safe-area-inset-bottom));
		height: auto;
		max-height: calc(100dvh - 20px);
		position: fixed;
		right: 10px;
		width: min(400px, calc(100vw - 20px));
	}

	.abcsmart__teaser {
		display: none !important;
	}

	.abcsmart__teaser-main span {
		overflow-wrap: anywhere;
		white-space: normal;
	}

	.abcsmart__header {
		padding-left: 15px;
	}

	.abcsmart__body {
		padding: 15px 13px 12px;
	}

	.abcsmart__footer {
		padding-bottom: max(8px, env(safe-area-inset-bottom));
	}

	.abcsmart__close,
	.abcsmart .abcsmart__choice,
	.abcsmart .abcsmart__primary,
	.abcsmart .abcsmart__secondary,
	.abcsmart .abcsmart__link-button,
	.abcsmart .abcsmart__quiet-action {
		min-height: 44px !important;
	}

	.abcsmart__close {
		height: 44px !important;
		width: 44px !important;
	}

	.abcsmart__send {
		height: 44px !important;
		margin: 3px !important;
		min-height: 44px !important;
		width: 44px !important;
	}
}

/* Nos artigos longos, o convite aberto encobria tabelas e infograficos em
 * telas estreitas. Mantemos o launcher no tamanho aprovado e retiramos apenas
 * o balao automatico; o espaco final evita cobrir o ultimo controle da pagina. */
@media (max-width: 900px) {
	.abc-blog-article-modern .abcsmart__teaser {
		display: none !important;
	}

	.abc-blog-article-modern .abc-article {
		padding-bottom: 112px;
	}
}

.abcsmart__registration {
	display: grid;
	gap: 10px;
	text-align: left;
}
.abcsmart__handoff {
	display: grid;
	gap: 7px;
	padding: 11px;
	border: 1px solid #bfd5e9;
	border-radius: 12px;
	background: #f2f8fd;
}
.abcsmart__handoff-question {
	margin: 0 0 2px;
	color: #173856;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.45;
}
.abcsmart .abcsmart__handoff .abcsmart__choice:last-child {
	background: #fff !important;
	color: #40546a !important;
}
.abcsmart__registration-field {
	display: grid;
	gap: 4px;
	margin: 0;
	color: #243244;
	font-size: 14px;
}
.abcsmart .abcsmart__registration input:not([type="checkbox"]):not([type="hidden"]),
.abcsmart .abcsmart__registration textarea,
.abcsmart .abcsmart__registration select {
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #78889b;
	border-radius: 8px;
	background: #fff;
	color: #243244;
	font-size: 16px;
}
.abcsmart__registration-consent {
	display: flex;
	margin: 0;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	line-height: 1.45;
	color: #243244;
}
.abcsmart__registration-consent input {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: #075ea9;
}
.abcsmart__registration a { color: #075ea9; text-decoration: underline; font-size: 14px; }
.abcsmart__registration :focus-visible { outline: 2px solid #075ea9; outline-offset: 3px; }
.abcsmart__identity .abcsmart__avatar[hidden] { display: none; }

/* A etapa inicial cabe inteira no painel; a conversa volta ao layout normal. */
.abcsmart__panel--registration .abcsmart__header { min-height: 64px; padding-top: 7px; padding-bottom: 7px; }
.abcsmart__panel--registration .abcsmart__avatar { flex-basis: 44px; width: 44px; height: 44px; }
.abcsmart__panel--registration .abcsmart__body { padding: 11px 13px 10px; scroll-behavior: auto; }
.abcsmart__panel--registration .abcsmart__messages { gap: 6px; }
.abcsmart__panel--registration .abcsmart__message { padding-top: 9px; padding-bottom: 9px; }
.abcsmart__panel--registration .abcsmart__footer { display: none; }
.abcsmart__panel--registration .abcsmart__registration { gap: 6px; }
.abcsmart__panel--registration .abcsmart__registration-field { gap: 2px; font-size: 13px; }
.abcsmart__panel--registration .abcsmart__registration input:not([type="checkbox"]):not([type="hidden"]),
.abcsmart__panel--registration .abcsmart__registration select { min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.abcsmart__panel--registration .abcsmart__registration-consent { font-size: 12.5px; line-height: 1.35; }
.abcsmart__panel--registration .abcsmart__registration a { font-size: inherit; }
@media (max-width: 900px) {
	.abcsmart__panel--registration .abcsmart__body { padding: 10px 12px; }
}

@keyframes abcsmart-rise {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes abcsmart-whatsapp-attention {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
		opacity: 1;
		transform: scale(1);
	}
	50% {
		box-shadow: 0 0 0 7px rgba(37, 211, 102, 0.22);
		opacity: 0.68;
		transform: scale(1.18);
	}
}

@keyframes abcsmart-teaser-attention {
	0%, 100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
	50% {
		opacity: 0.48;
		transform: translateY(0) scale(0.985);
	}
}

@media (prefers-reduced-motion: reduce) {
	.abcsmart__unread--attention,
	.abcsmart__teaser--attention {
		animation: none;
	}
}

@keyframes abcsmart-dot {
	0%, 60%, 100% {
		opacity: 0.42;
		transform: translateY(0);
	}
	30% {
		opacity: 1;
		transform: translateY(-3px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.abcsmart *,
	.abcsmart *::before,
	.abcsmart *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* registration-addon.css
   Abertura com mais charme para .abcsmart__panel--registration.
   Somente regras novas com selectors existentes; incluir APÓS o CSS atual.
   Não altera JS de negócio, tradução, consentimento ou validação.
   Sem altura fixa: o painel continua se adaptando ao conteúdo (sem corte de erros/zoom). */

/* Cabeçalho: azul vivo reforçado, identificação mais presente e com avatar */
.abcsmart__panel--registration .abcsmart__header {
  background: linear-gradient(135deg, #0b7cff 0%, #1d9bff 100%);
  min-height: 66px;
  padding-top: 9px;
  padding-bottom: 9px;
}

/* Avatar: anel de destaque e sombra mais suave para ganhar presença */
.abcsmart__panel--registration .abcsmart__avatar {
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(6, 78, 145, 0.28);
  flex-basis: 46px;
  width: 46px;
  height: 46px;
}

/* Nome e estado online com respiro, sem aumentar altura do cabeçalho */
.abcsmart__panel--registration .abcsmart__header h2 {
  font-size: 17px;
  line-height: 1.15;
}

.abcsmart__panel--registration .abcsmart__header p {
  gap: 7px;
  line-height: 1.25;
  margin-top: 3px;
}

/* Corpo: retoma o fundo azul da sala inicial (preservado por Paulo), mantendo
   leitura e contraste sem roubar espaço vertical. */
.abcsmart__panel--registration .abcsmart__body {
  background: linear-gradient(180deg, #dceefd 0%, #e8f3fd 100%);
  padding: 12px 14px 12px;
}

/* Saudação em balão branco sobre o fundo azul, com borda leve e leitura clara */
.abcsmart__panel--registration .abcsmart__messages {
  gap: 7px;
}

.abcsmart__panel--registration .abcsmart__message {
  background: #ffffff;
  border: 1px solid rgba(7, 94, 169, 0.18);
  border-radius: 12px 12px 12px 4px;
  padding: 10px 11px;
  color: #1b2c42;
}

/* Rótulos escuros e legíveis sobre o fundo azul claro */
.abcsmart__panel--registration .abcsmart__registration {
  gap: 7px;
}

.abcsmart__panel--registration .abcsmart__registration-field {
  gap: 3px;
  font-size: 13.5px;
  color: #17283e;
  font-weight: 650;
}

/* Inputs brancos com borda azul visível e texto de alto contraste */
.abcsmart__panel--registration .abcsmart__registration input:not([type="checkbox"]):not([type="hidden"]),
.abcsmart__panel--registration .abcsmart__registration select {
  min-height: 42px;
  padding: 7px 11px;
  border: 1px solid #7ea9d3;
  border-radius: 9px;
  background: #ffffff;
  color: #16253a;
}

.abcsmart__panel--registration .abcsmart__registration input::placeholder {
  color: #4f6a87;
  opacity: 1;
}

/* Consentimento escuro e legível, checkbox com acento azul */
.abcsmart__panel--registration .abcsmart__registration-consent {
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #17283e;
}

.abcsmart__panel--registration .abcsmart__registration-consent input {
  accent-color: #0b6cd8;
}

.abcsmart__panel--registration .abcsmart__registration a {
  color: #075ea9;
}

/* CTA azul forte, com foco acessível e sem alterar texto do botão */
.abcsmart__panel--registration .abcsmart__registration .abcsmart__primary,
.abcsmart .abcsmart__panel--registration .abcsmart__primary {
  background: #0b6cd8 !important;
  border: 1px solid #0b6cd8 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700;
  min-height: 44px !important;
  padding: 10px 12px !important;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  box-shadow: none !important;
}

.abcsmart__panel--registration .abcsmart__registration .abcsmart__primary:hover,
.abcsmart .abcsmart__panel--registration .abcsmart__primary:hover {
  background: #0a5ebc !important;
  border-color: #0a5ebc !important;
  box-shadow: 0 6px 16px rgba(11, 108, 216, 0.28) !important;
}

.abcsmart__panel--registration .abcsmart__registration .abcsmart__primary:active,
.abcsmart .abcsmart__panel--registration .abcsmart__primary:active {
  transform: translateY(1px);
}

/* Foco visível e consistente em toda a etapa */
.abcsmart__panel--registration .abcsmart__registration :focus-visible {
  outline: 2px solid #0b6cd8;
  outline-offset: 2px;
}

/* Responsivo mobile: manter respiro sem aumentar altura total */
@media (max-width: 900px) {
  .abcsmart__panel--registration .abcsmart__body {
    padding: 11px 12px 12px;
  }

  .abcsmart__panel--registration .abcsmart__header {
    min-height: 62px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* Ana PT — fluxo por etapas, executor DeepSeek */
.abcsmart__pt-flow,
.abcsmart__pt-toolbar,
.abcsmart__pt-composer,
.abcsmart__pt-btns,
.abcsmart__contact-edit,
.abcsmart__contact-label,
.abcsmart__contact-buttons {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.abcsmart__pt-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.abcsmart__pt-sector,
.abcsmart__pt-mydata,
.abcsmart__pt-btn,
.abcsmart__pt-input,
.abcsmart__pt-send,
.abcsmart__contact-input {
  font: inherit;
  min-height: 42px;
  min-width: 0;
  box-sizing: border-box;
}

.abcsmart__pt-sector,
.abcsmart__pt-mydata,
.abcsmart__pt-btn,
.abcsmart__pt-input,
.abcsmart__pt-send,
.abcsmart__contact-input {
  color: #153455;
  border: 1px solid #bdccde;
  border-radius: 8px;
}

.abcsmart__pt-btns {
  display: grid;
  gap: 8px;
}

.abcsmart__pt-btn,
.abcsmart__pt-send,
.abcsmart__pt-mydata {
  white-space: normal;
  word-wrap: break-word;
}

.abcsmart__pt-composer {
  display: flex;
  gap: 8px;
}

.abcsmart__pt-input {
  flex: 1;
}

.abcsmart__pt-send {
  width: auto;
}

.abcsmart__contact-edit {
  display: grid;
  gap: 8px;
}

.abcsmart__contact-label {
  display: grid;
  gap: 4px;
  font-size: 14px;
  color: #153455;
}

.abcsmart__contact-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.abcsmart__pt-sector:focus-visible,
.abcsmart__pt-mydata:focus-visible,
.abcsmart__pt-btn:focus-visible,
.abcsmart__pt-input:focus-visible,
.abcsmart__pt-send:focus-visible,
.abcsmart__contact-input:focus-visible {
  outline: 2px solid #006acb;
  outline-offset: 2px;
}

.abcsmart__pt-error,
.abcsmart__field-error {
  color: #a52121;
  font-size: 13px;
}

.abcsmart__pt-error[hidden],
.abcsmart__field-error[hidden] {
  display: none;
}
.abcsmart__panel .abcsmart__pt-flow {
  display: grid;
  gap: 10px;
}
.abcsmart__panel .abcsmart__pt-toolbar select {
  flex: 1;
  width: 0;
}
.abcsmart__panel .abcsmart__pt-toolbar button {
  width: auto;
  flex: 0;
  padding: 8px 12px;
}
.abcsmart__panel .abcsmart__pt-send.abcsmart__primary {
  color: white;
  background: #0b6cd8;
  width: auto;
  padding: 8px 14px;
}
.abcsmart__panel .abcsmart__pt-input,
.abcsmart__panel .abcsmart__contact-input {
  font-size: 16px;
  width: 100%;
  padding: 8px 10px;
  background: white;
}
.abcsmart__panel .abcsmart__pt-sector {
  font-size: 14px;
  background: white;
  padding: 8px;
}
.abcsmart__panel .abcsmart__contact-buttons .abcsmart__primary,
.abcsmart__panel .abcsmart__contact-buttons .abcsmart__choice {
  margin: 0;
  min-height: 42px;
}

.abcsmart__panel .abcsmart__pt-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.abcsmart__panel .abcsmart__pt-toolbar .abcsmart__pt-sector {
  width: 100%;
  min-width: 0;
}

.abcsmart__panel .abcsmart__pt-toolbar .abcsmart__pt-mydata.abcsmart__choice {
  width: auto;
  white-space: nowrap;
  min-width: 90px;
  justify-content: center;
  padding: 8px 10px;
}

.abcsmart__panel .abcsmart__pt-toolbar .abcsmart__pt-mydata::after {
  content: none;
}

/* ANA3 (30/09): pergunta colada às opções; rodapé com [Meus dados] [Reiniciar atendimento]; busca de modelo com imagem. */
.abcsmart__panel .abcsmart__stage {
  margin-top: 8px;
}
.abcsmart__footer.abcsmart__footer--actions {
  justify-content: flex-end;
}
.abcsmart__footer.abcsmart__footer--actions > span,
.abcsmart__footer.abcsmart__footer--actions > a {
  display: none;
}
.abcsmart__footer .abcsmart__restart-button {
  font-size: 12px;
  min-height: 44px;
  padding: 0 12px;
  margin: 0;
}

/* A ação de encerrar permanece no rodapé, secundária ao atendimento. */
.abcsmart__header-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}
.abcsmart .abcsmart__end-button {
  background: transparent !important;
  border: 1px solid #cbd9e6 !important;
  border-radius: 8px;
  color: #36516b !important;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  min-height: 44px;
  padding: 6px 12px;
  text-transform: none !important;
}
.abcsmart .abcsmart__end-button:hover { background: #eef4fa !important; color: #073c71 !important; }
.abcsmart__end-button:focus-visible { outline: 3px solid #0758a5; outline-offset: 2px; }
.abcsmart__end-button[hidden] { display: none !important; }
.abcsmart__pt-btns--entry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.abcsmart__pt-radio-list { display: grid; gap: 7px; margin-bottom: 8px; }
.abcsmart__pt-radio-row { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 6px; }
.abcsmart .abcsmart__pt-radio-choose,
.abcsmart .abcsmart__pt-radio-link,
.abcsmart .abcsmart__pt-accessory-link {
  align-items: center;
  border: 1px solid #bed0e2;
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.3;
  min-height: 44px;
  padding: 8px;
  text-align: center;
  text-decoration: none;
}
.abcsmart .abcsmart__pt-radio-choose { background: #fff; color: #153455; cursor: pointer; }
.abcsmart .abcsmart__pt-radio-link,
.abcsmart .abcsmart__pt-accessory-link { background: #eaf4ff; color: #0758a5; }
.abcsmart .abcsmart__pt-accessory-link { margin-bottom: 8px; width: 100%; }
.abcsmart .abcsmart__pt-radio-choose:hover,
.abcsmart .abcsmart__pt-radio-link:hover,
.abcsmart .abcsmart__pt-accessory-link:hover { background: #dceeff; border-color: #6aa9e9; }
.abcsmart .abcsmart__pt-radio-choose:focus-visible,
.abcsmart .abcsmart__pt-radio-link:focus-visible,
.abcsmart .abcsmart__pt-accessory-link:focus-visible { outline: 3px solid #0758a5; outline-offset: 2px; }
.abcsmart .abcsmart__pt-skip.abcsmart__choice,
.abcsmart .abcsmart__pt-skip.abcsmart__choice:hover {
  background: #edf1f4 !important;
  border-color: #d4dce4 !important;
  color: #43576b !important;
  transform: none;
}
.abcsmart .abcsmart__pt-skip.abcsmart__choice::after { color: #65798b; }
.abcsmart__pt-hint { color: #36516b; font-size: 13px; line-height: 1.45; margin: 0; }
.abcsmart .abcsmart__pt-source {
  align-self: flex-start;
  color: #0758a5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0 37px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.abcsmart .abcsmart__pt-source:focus-visible { outline: 3px solid #0758a5; outline-offset: 3px; }
.abcsmart__end-dialog {
  align-items: center;
  background: rgba(2, 28, 52, .67);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: absolute;
  z-index: 30;
}
.abcsmart__end-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 42px rgba(0, 18, 37, .24);
  color: #10304d;
  max-width: 340px;
  padding: 22px;
  width: 100%;
}
.abcsmart__end-card p { font-size: 15px; line-height: 1.45; margin: 0 0 16px; }
.abcsmart__end-actions { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.abcsmart__end-actions button { min-height: 44px; }
@media (max-width: 480px) {
  .abcsmart__header-actions { gap: 4px; }
  .abcsmart .abcsmart__end-button { font-size: 11px; padding: 5px 8px; }
  .abcsmart__pt-btns--entry { gap: 7px; }
}
.abcsmart__pt-search {
  display: grid;
  gap: 6px;
}
.abcsmart__pt-search-status {
  color: var(--abcsmart-muted);
  font-size: 12.5px;
  margin: 0;
}
.abcsmart__pt-search-status:empty {
  display: none;
}
.abcsmart__pt-results {
  display: grid;
  gap: 6px;
  max-height: 232px;
  overflow-y: auto;
}
.abcsmart__pt-results:empty {
  display: none;
}
.abcsmart .abcsmart__pt-result {
  align-items: center;
  background: #fff;
  border: 1px solid #bdccde;
  border-radius: 8px;
  color: #153455;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 13.5px;
  gap: 10px;
  min-height: 48px;
  padding: 4px 10px 4px 4px;
  text-align: left;
  width: 100%;
}
.abcsmart .abcsmart__pt-result:hover,
.abcsmart .abcsmart__pt-result:focus-visible {
  border-color: var(--abcsmart-blue-dark);
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px rgba(7, 94, 169, 0.25);
}
.abcsmart .abcsmart__pt-result img {
  background: #f7f8fb;
  border-radius: 6px;
  flex: 0 0 40px;
  height: 40px;
  object-fit: contain;
  width: 40px;
}
.abcsmart .abcsmart__pt-link {
  text-decoration: none;
}
/* Dúvidas comuns: resposta logo abaixo da pergunta clicada. */
.abcsmart .abcsmart__pt-answer {
  background: #f4f8fd;
  border-left: 3px solid #1f6fd1;
  border-radius: 8px;
  color: #153455;
  font-size: 14px;
  line-height: 1.45;
  margin-top: -2px;
  padding: 10px 12px;
}
.abcsmart .abcsmart__pt-answer p {
  margin: 0;
}
.abcsmart .abcsmart__pt-answer-link {
  color: #1f6fd1;
  display: inline-block;
  font-weight: 600;
  margin-top: 6px;
}
.abcsmart .abcsmart__pt-btn[aria-expanded="true"] {
  border-color: #1f6fd1;
}

/* Ana sem operador: canais diretos e três conteúdos, sem reabrir a triagem. */
.abcsmart__availability-check {
  align-items: center;
  background: #f2f7fc;
  border-radius: 12px;
  color: #526887;
  display: flex;
  font-size: 13px;
  gap: 10px;
  min-height: 52px;
  padding: 10px 13px;
}
.abcsmart__offline {
  display: grid;
  gap: 16px;
}
.abcsmart__offline-section {
  display: grid;
  gap: 9px;
}
.abcsmart__offline-title {
  color: #17304f;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
  margin: 0;
}
.abcsmart__offline-channels {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.abcsmart .abcsmart__offline-channel {
  align-items: center;
  border: 1px solid #c9dcef;
  border-radius: 13px;
  color: #123b65;
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
  font-weight: 750;
  gap: 7px;
  justify-content: center;
  line-height: 1.2;
  min-height: 78px;
  padding: 9px 6px;
  text-align: center;
  text-decoration: none;
}
.abcsmart .abcsmart__offline-channel:hover {
  box-shadow: 0 7px 16px rgba(13, 83, 151, .11);
  transform: translateY(-1px);
}
.abcsmart .abcsmart__offline-channel--whatsapp {
  background: #effcf4;
  border-color: #8ee1af;
  color: #13703d;
}
.abcsmart .abcsmart__offline-channel--phone { background: #eef6ff; color: #0758bd; }
.abcsmart .abcsmart__offline-channel--email { background: #f5f3ff; color: #5142a6; }
.abcsmart__offline-channel-icon,
.abcsmart__offline-channel .abcsmart__whatsapp-icon {
  display: block;
  height: 25px;
  margin: 0;
  width: 25px;
}
.abcsmart__offline-channel-icon svg { display: block; height: 100%; width: 100%; }
.abcsmart__offline-topics {
  display: grid;
  gap: 7px;
}
.abcsmart .abcsmart__offline-topic {
  align-items: center;
  background: #fff;
  border: 1px solid #c9dcef;
  border-radius: 12px;
  color: #0b2850;
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr) 9px;
  line-height: 1.3;
  min-height: 58px;
  padding: 8px 12px 8px 9px;
  text-align: left;
  text-transform: none !important;
  letter-spacing: normal !important;
  width: 100%;
}
.abcsmart .abcsmart__offline-topic::after {
  border-right: 2px solid #087af1;
  border-top: 2px solid #087af1;
  content: "";
  height: 7px;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  width: 7px;
}
.abcsmart .abcsmart__offline-topic[aria-expanded="true"] {
  background: #f7fbff;
  border-color: #78b5ed;
}
.abcsmart .abcsmart__offline-topic[aria-expanded="true"]::after { transform: rotate(135deg); }
.abcsmart__offline-topic .abcsmart__pt-card-icon {
  height: 38px;
  width: 38px;
}
.abcsmart__offline-topic .abcsmart__pt-card-icon svg { height: 22px; width: 22px; }
.abcsmart__offline-topics .abcsmart__pt-answer {
  margin: 0 0 2px;
  padding: 11px 12px;
}
.abcsmart__offline-topics .abcsmart__pt-answer-link { text-underline-offset: 3px; }

/* Chat público 03/10 — fidelidade aos seis estados aprovados pelo Paulo. */
.abcsmart {
  --abcsmart-blue: #087af1;
  --abcsmart-blue-bright: #2ca7f4;
  --abcsmart-blue-dark: #0758bd;
  --abcsmart-navy: #071d48;
  --abcsmart-text: #101d31;
  --abcsmart-muted: #5b6d8a;
  --abcsmart-border: #cfe0f2;
  color-scheme: light;
}

.abcsmart__panel {
  border-color: rgba(12, 68, 128, .12);
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(7, 47, 92, .24), 0 8px 24px rgba(7, 47, 92, .1);
  max-height: min(560px, calc(100dvh - 126px));
  width: 360px;
}

.abcsmart__header,
.abcsmart__panel--registration .abcsmart__header {
  background: linear-gradient(125deg, #087af1 0%, #168cf2 55%, #2ca7f4 100%);
  min-height: 66px;
  padding: 8px 12px;
  position: relative;
}

.abcsmart__header::after {
  background: linear-gradient(120deg, transparent 12%, rgba(255,255,255,.08) 48%, transparent 72%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.abcsmart__identity,
.abcsmart__header-actions { position: relative; z-index: 1; }
.abcsmart__identity { gap: 10px; }
.abcsmart__avatar,
.abcsmart__panel--registration .abcsmart__avatar,
.abcsmart__operator-avatar {
  border: 2px solid #fff;
  box-shadow: 0 5px 14px rgba(1, 56, 117, .26);
  flex-basis: 44px;
  height: 44px;
  width: 44px;
}
.abcsmart__header h2,
.abcsmart__panel--registration .abcsmart__header h2 {
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -.025em;
}
.abcsmart__header p,
.abcsmart__panel--registration .abcsmart__header p {
  font-size: 12px;
  gap: 6px;
  margin-top: 3px;
}
.abcsmart__status-dot { height: 10px; width: 10px; }
.abcsmart__close {
  background: rgba(255,255,255,.16) !important;
  font-size: 26px;
  height: 44px !important;
  min-height: 44px !important;
  width: 44px !important;
}

.abcsmart__body,
.abcsmart__panel--registration .abcsmart__body {
  background: #fff;
  padding: 12px 14px;
  scrollbar-color: #9fc3e7 #edf5fc;
  scrollbar-width: thin;
}
.abcsmart__body::-webkit-scrollbar { width: 9px; }
.abcsmart__body::-webkit-scrollbar-track { background: #edf5fc; }
.abcsmart__body::-webkit-scrollbar-thumb { background: #9fc3e7; border: 2px solid #edf5fc; border-radius: 999px; }

.abcsmart__messages { gap: 8px; }
.abcsmart__message-row { align-items: flex-start; gap: 7px; max-width: 94%; }
.abcsmart__mini-avatar {
  border: 1px solid #d6e7f7;
  flex-basis: 30px;
  height: 30px;
  margin-top: 3px;
  width: 30px;
}
.abcsmart__message,
.abcsmart__panel--registration .abcsmart__message {
  background: #eef1f4;
  border: 0;
  border-radius: 18px 18px 18px 6px;
  color: #0d1728;
  font-size: 16px;
  font-weight: 470;
  line-height: 1.45;
  padding: 9px 12px;
}
.abcsmart__message--user {
  background: #087af1;
  color: #fff;
}
.abcsmart__stage { margin-top: 10px; }
.abcsmart__panel .abcsmart__pt-flow { gap: 10px; }
.abcsmart__panel .abcsmart__pt-btns { gap: 8px; }

.abcsmart .abcsmart__pt-card {
  align-items: center;
  border-color: #c9dcef !important;
  border-radius: 14px !important;
  display: grid;
  gap: 10px;
  grid-template-columns: 40px minmax(0,1fr) auto;
  min-height: 64px !important;
  padding: 10px 12px !important;
}
.abcsmart .abcsmart__pt-card::after { align-self: center; font-size: 34px; }
.abcsmart__pt-card-icon {
  align-items: center;
  background: #e8f3ff;
  border-radius: 50%;
  color: #0967d8;
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.abcsmart__pt-card-icon svg { height: 24px; width: 24px; }
.abcsmart__pt-card-copy { display: grid; gap: 4px; min-width: 0; }
.abcsmart__pt-card-copy strong {
  color: #062052;
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -.018em;
  line-height: 1.2;
}
.abcsmart__pt-card-copy small {
  color: #5b6d8a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}
.abcsmart__pt-btns--entry { grid-template-columns: 1fr; }
.abcsmart__pt-btns--entry .abcsmart__pt-card {
  align-content: center;
  grid-template-columns: 40px minmax(0,1fr) auto;
  grid-template-rows: auto;
  min-height: 64px !important;
  padding: 10px 12px !important;
}
.abcsmart__pt-btns--entry .abcsmart__pt-card-icon { grid-column: 1; }
.abcsmart__pt-btns--entry .abcsmart__pt-card-copy { align-self: center; gap: 4px; }
.abcsmart__pt-btns--entry .abcsmart__pt-card::after { grid-column: 3; grid-row: 1; }
.abcsmart__pt-btns--entry .abcsmart__pt-card-copy strong { font-size: 16px; }
.abcsmart__pt-btns--entry .abcsmart__pt-card-copy small { font-size: 12px; }
.abcsmart .abcsmart__pt-card:hover {
  background: #f7fbff !important;
  border-color: #78b5ed !important;
  box-shadow: 0 8px 18px rgba(22, 104, 188, .12);
  transform: translateY(-1px);
}
.abcsmart__pt-context-hint {
  align-items: center;
  background: #eef6ff;
  border-radius: 14px;
  color: #173a68;
  display: flex;
  font-size: 13px;
  gap: 12px;
  line-height: 1.45;
  margin: 0;
  padding: 13px 14px;
}
.abcsmart__pt-context-hint .abcsmart__pt-card-icon { height: 42px; width: 42px; }
.abcsmart__pt-context-hint .abcsmart__pt-card-icon svg { height: 24px; width: 24px; }

.abcsmart__registration,
.abcsmart__panel--registration .abcsmart__registration { gap: 12px; }
.abcsmart__panel--registration .abcsmart__messages { gap: 12px; }
.abcsmart__panel--registration .abcsmart__body { padding: 14px; }
.abcsmart__panel--registration .abcsmart__registration-field {
  color: #15223a;
  font-size: 15px;
  font-weight: 650;
  gap: 6px;
}
.abcsmart__panel--registration .abcsmart__registration input:not([type="checkbox"]):not([type="hidden"]),
.abcsmart__panel--registration .abcsmart__registration select {
  border-color: #91a9c2;
  border-radius: 11px;
  font-size: 16px;
  min-height: 52px;
  padding: 11px 13px;
}
.abcsmart__panel--registration .abcsmart__registration-consent {
  color: #24344e;
  font-size: 13.5px;
  line-height: 1.4;
}
.abcsmart__panel--registration .abcsmart__registration .abcsmart__primary {
  border-radius: 12px !important;
  font-size: 16px;
  min-height: 52px !important;
}
.abcsmart__panel--registration .abcsmart__footer { display: flex !important; }

.abcsmart__footer {
  background: #fff;
  border-top-color: #dfeaf5;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 52px;
  padding: 7px 12px max(7px, env(safe-area-inset-bottom));
}
.abcsmart__footer--designed > span:not(.abcsmart__footer-brand),
.abcsmart__footer--designed > a { display: none; }
.abcsmart__footer-brand {
  align-items: center;
  color: #0962c5;
  display: flex;
  gap: 8px;
  line-height: 1;
  margin-right: auto;
  white-space: nowrap;
}
.abcsmart__footer.abcsmart__footer--actions > .abcsmart__footer-brand { display: flex; }
.abcsmart__footer-brand-image {
  display: block;
  height: auto;
  max-height: 28px;
  max-width: 118px;
  object-fit: contain;
  width: auto;
}
.abcsmart__footer-brand strong { font-size: 20px; font-style: italic; font-weight: 900; letter-spacing: -.04em; }
.abcsmart__footer-brand span { border-left: 1px solid #bbcee2; font-size: 11px; padding-left: 8px; }
.abcsmart__footer.abcsmart__footer--actions { justify-content: space-between; }
.abcsmart__footer .abcsmart__restart-button,
.abcsmart .abcsmart__footer-back,
.abcsmart .abcsmart__end-button {
  align-items: center;
  background: #fff !important;
  border: 1px solid #9fb8d2 !important;
  border-radius: 9px;
  color: #26425f !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  justify-content: center;
  min-height: 44px;
  padding: 7px 12px;
}
.abcsmart .abcsmart__footer-back { color: #0758bd !important; }
.abcsmart .abcsmart__footer-back::before {
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  height: 9px;
  margin-right: 8px;
  transform: rotate(45deg);
  width: 9px;
}
.abcsmart__footer .abcsmart__mydata-button { color: #0758bd !important; }
.abcsmart__footer .abcsmart__mydata-button::before {
  background: #0758bd;
  border-radius: 50%;
  content: "";
  height: 16px;
  margin-right: 7px;
  width: 16px;
}

.abcsmart__human-form { display: grid; gap: 13px; }
.abcsmart__human-status {
  background: #fff;
  border: 1px solid #8ac9f4;
  border-radius: 15px;
  box-shadow: 0 7px 18px rgba(18, 119, 205, .09);
  display: grid;
  gap: 14px;
  grid-template-columns: 64px minmax(0,1fr);
  padding: 17px;
}
.abcsmart__queue-icon { grid-row: 1; }
.abcsmart__queue-copy { align-self: center; display: grid; gap: 5px; }
.abcsmart__queue-copy strong { color: #0758bd; font-size: 20px; line-height: 1.2; }
.abcsmart__queue-copy p { color: #536987; font-size: 13.5px; line-height: 1.4; margin: 0; }
.abcsmart__queue-connecting {
  align-items: center;
  background: #f1f5f9;
  border-radius: 12px;
  color: #526887;
  display: flex;
  font-size: 13px;
  gap: 10px;
  grid-column: 1 / -1;
  min-height: 48px;
  padding: 10px 13px;
}
.abcsmart__queue-spinner {
  animation: abcsmart-queue-spin 900ms linear infinite;
  border: 3px solid #b8c7d8;
  border-right-color: #087af1;
  border-radius: 50%;
  height: 22px;
  width: 22px;
}
.abcsmart__human-form--waiting .abcsmart__human-composer { display: none; }
.abcsmart__human-form--waiting > .abcsmart__choice[data-human-resume] { display: none; }
.abcsmart .abcsmart__whatsapp-waiting {
  align-items: center;
  background: #effcf4 !important;
  border-color: #8ee1af !important;
  color: #135f36 !important;
  display: flex;
  font-weight: 750;
  justify-content: center;
  min-height: 52px !important;
}
.abcsmart .abcsmart__whatsapp-waiting::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  height: 20px;
  margin-right: 9px;
  width: 20px;
}
.abcsmart__human-composer { display: grid; gap: 9px; }
.abcsmart__human-label { color: #17273f; font-size: 13px; font-weight: 700; }
.abcsmart__human-composer textarea {
  border: 1px solid #9fb5cc;
  border-radius: 12px;
  color: #15233a;
  font-size: 16px;
  height: 92px !important;
  max-height: 140px;
  min-height: 92px !important;
  padding: 13px;
  resize: vertical;
  width: 100%;
}
.abcsmart .abcsmart__human-send { border-radius: 12px !important; font-size: 15px; min-height: 50px !important; }

.abcsmart__operator-avatar--message {
  border-color: #d6e7f7;
  flex: 0 0 46px;
  height: 46px;
  margin-top: 3px;
  width: 46px;
}
.abcsmart__message-row--human { align-self: flex-start; max-width: 96%; }
.abcsmart__human-message { display: grid; gap: 5px; min-width: 0; }
.abcsmart__message-meta { align-items: baseline; color: #657792; display: flex; font-size: 11.5px; gap: 7px; padding-left: 4px; }
.abcsmart__message-meta strong { color: #304a69; font-size: 12px; }
.abcsmart__transfer-notice,
.abcsmart__transfer-confirmed {
  align-items: center;
  background: #eef6ff;
  border-radius: 14px;
  color: #16385f;
  display: flex;
  font-size: 13.5px;
  gap: 12px;
  line-height: 1.4;
  padding: 13px 14px;
}
.abcsmart__transfer-notice p { margin: 0; }
.abcsmart__transfer-icon {
  border-bottom: 2px solid #0c6edb;
  border-top: 2px solid #0c6edb;
  flex: 0 0 28px;
  height: 14px;
  position: relative;
}
.abcsmart__transfer-icon::before,
.abcsmart__transfer-icon::after {
  border: solid #0c6edb;
  content: "";
  height: 7px;
  position: absolute;
  transform: rotate(45deg);
  width: 7px;
}
.abcsmart__transfer-icon::before { border-width: 2px 2px 0 0; right: 0; top: -5px; }
.abcsmart__transfer-icon::after { border-width: 0 0 2px 2px; bottom: -5px; left: 0; }
.abcsmart__transfer-confirmed { background: #f1fbf4; color: #28603d; position: relative; }
.abcsmart__transfer-confirmed::before {
  align-items: center;
  background: #bdebc9;
  border-radius: 50%;
  content: "";
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
}
.abcsmart__transfer-confirmed::after {
  border-bottom: 2px solid #187137;
  border-right: 2px solid #187137;
  content: "";
  height: 11px;
  left: 24px;
  position: absolute;
  top: 20px;
  transform: rotate(45deg);
  width: 6px;
}

@keyframes abcsmart-queue-spin { to { transform: rotate(360deg); } }
@keyframes abcsmart-human-arrive {
  0% { box-shadow: inset 430px 0 0 rgba(255,255,255,.16); }
  100% { box-shadow: inset 0 0 0 rgba(255,255,255,0); }
}
@keyframes abcsmart-transfer-reveal {
  from { clip-path: inset(0 100% 0 0 round 14px); opacity: .5; }
  to { clip-path: inset(0 0 0 0 round 14px); opacity: 1; }
}
.abcsmart__panel--human-enter .abcsmart__header { animation: abcsmart-human-arrive 480ms cubic-bezier(.16,1,.3,1); }
.abcsmart__panel--human-enter .abcsmart__transfer-notice,
.abcsmart__panel--human-enter .abcsmart__transfer-confirmed { animation: abcsmart-transfer-reveal 420ms cubic-bezier(.16,1,.3,1) both; }
.abcsmart__panel--human-enter .abcsmart__transfer-confirmed { animation-delay: 90ms; }

@media (max-width: 900px) {
  body.abcsmart-lock .abcsmart { margin-left: 0; margin-right: 0; }
  .abcsmart__panel {
    border-radius: 20px;
    bottom: max(6px, env(safe-area-inset-bottom));
    max-height: min(560px, calc(100dvh - 24px));
    right: 12px;
    width: min(360px, calc(100vw - 24px));
  }
  .abcsmart__header,
  .abcsmart__panel--registration .abcsmart__header { min-height: 66px; padding: 8px 12px; }
  .abcsmart__avatar,
  .abcsmart__panel--registration .abcsmart__avatar,
  .abcsmart__operator-avatar { flex-basis: 44px; height: 44px; width: 44px; }
  .abcsmart__header h2,
  .abcsmart__panel--registration .abcsmart__header h2 { font-size: 20px; }
  .abcsmart__header p,
  .abcsmart__panel--registration .abcsmart__header p { font-size: 12px; }
  .abcsmart__body,
  .abcsmart__panel--registration .abcsmart__body { padding: 12px 14px; }
  .abcsmart__message { font-size: 16px; padding: 9px 12px; }
  .abcsmart__mini-avatar { flex-basis: 30px; height: 30px; width: 30px; }
  .abcsmart__pt-btns--entry { gap: 8px; }
  .abcsmart__pt-btns--entry .abcsmart__pt-card { min-height: 64px !important; padding: 10px 12px !important; }
  .abcsmart__pt-card-icon { height: 40px; width: 40px; }
  .abcsmart__pt-card-icon svg { height: 24px; width: 24px; }
  .abcsmart__pt-btns--entry .abcsmart__pt-card { grid-template-rows: auto; }
  .abcsmart__pt-btns--entry .abcsmart__pt-card-copy strong { font-size: 16px; }
  .abcsmart__pt-btns--entry .abcsmart__pt-card-copy small { font-size: 12px; }
  .abcsmart .abcsmart__pt-card { grid-template-columns: 40px minmax(0,1fr) auto; min-height: 64px !important; padding: 10px 12px !important; }
  .abcsmart__pt-card-copy strong { font-size: 16px; }
  .abcsmart__pt-card-copy small { font-size: 12.5px; }
  .abcsmart__footer { padding-left: 10px; padding-right: 10px; }
  .abcsmart__footer-brand strong { font-size: 18px; }
  .abcsmart__footer-brand span { display: none; }
  .abcsmart__footer .abcsmart__restart-button,
  .abcsmart .abcsmart__footer-back,
  .abcsmart .abcsmart__end-button { font-size: 11px; padding: 6px 9px; }
  .abcsmart__human-status { grid-template-columns: 54px minmax(0,1fr); padding: 14px; }
  .abcsmart__queue-copy strong { font-size: 17px; }
  .abcsmart__operator-avatar--message { flex-basis: 42px; height: 42px; width: 42px; }
}

@media (max-width: 480px) {
  .abcsmart__footer-brand { display: none !important; }
  .abcsmart__footer { flex-wrap: nowrap; justify-content: flex-end; }
  .abcsmart__panel--registration .abcsmart__body { padding: 14px; }
  .abcsmart__panel--registration .abcsmart__registration { gap: 9px; }
  .abcsmart__panel--registration .abcsmart__registration input:not([type="checkbox"]):not([type="hidden"]),
  .abcsmart__panel--registration .abcsmart__registration select { min-height: 48px; }
}

@media (max-width: 350px) {
  .abcsmart__pt-btns--entry { grid-template-columns: 1fr; }
  .abcsmart__pt-btns--entry .abcsmart__pt-card { min-height: 64px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .abcsmart__queue-spinner { animation-duration: 1.8s; }
  .abcsmart .abcsmart__offline-channel:hover { transform: none; }
  .abcsmart .abcsmart__offline-topic::after { transition: none; }
  .abcsmart__panel--human-enter .abcsmart__header,
  .abcsmart__panel--human-enter .abcsmart__transfer-notice,
  .abcsmart__panel--human-enter .abcsmart__transfer-confirmed { animation: none; }
}

/* B2 V-019 (10/10/2026): no celular, nas páginas de produto, com o aviso de cookies aberto o lançador sobe junto
 * e cobre o fim do H1 na primeira dobra. Enquanto o aviso estiver na tela, o lançador fica oculto só nessas páginas;
 * volta assim que o visitante aceita ou recusa. */
@media (max-width: 767px) {
	body.single-product:has(#cookie-notice.cookie-notice-visible) .abcsmart:not(:has(.abcsmart__panel:not([hidden]))),
	body[class*="product-template-"]:has(#cookie-notice.cookie-notice-visible) .abcsmart:not(:has(.abcsmart__panel:not([hidden]))) {
		visibility: hidden;
	}
}

/* B2 V-056: com a galeria em tela cheia (lightbox do Elementor) aberta, o lançador não fica por cima da foto. */
body:has(.elementor-lightbox.dialog-lightbox-widget:not([style*="none"])) .abcsmart {
	visibility: hidden;
}

/* Ana mantém sua imagem; colaboradores humanos são identificados só pelo nome. */
.abcsmart__author{font-size:12px;font-weight:750;line-height:1.3}
.abcsmart__author--bot{color:#075bbb;padding-left:4px}
.abcsmart__author--staff,.abcsmart__message-meta .abcsmart__author--staff{color:#086044}
.abcsmart__panel[data-chat-mode="human"] #abcsmart-title{background:#fff;color:#086044;border-radius:6px;padding:3px 8px;overflow-wrap:anywhere}
.abcsmart__message-row--human{gap:0}
.abcsmart__transfer-notice p{overflow-wrap:anywhere}
