/* Adams Auto Tech – guided enquiry panel. All rules scoped to .aat-chat. */
.aat-chat {
	--aat-navy: #092b48;
	--aat-blue: #3889af;
	--aat-teal: #3a9d82;
	--aat-pale: #e6f3f7;
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	width: min(380px, calc(100vw - 32px));
	max-height: min(620px, calc(100vh - 32px));
	background: #fff;
	color: var(--aat-navy);
	border: 1px solid #d5e6ee;
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(9, 43, 72, 0.18);
	font-family: "Plus Jakarta Sans", "Noto Sans Malayalam", sans-serif;
	font-size: 15px;
	line-height: 1.5;
}
.aat-chat[hidden] { display: none; }
.aat-chat[lang="ml-IN"] { line-height: 1.7; }
.aat-chat__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 16px 12px;
	border-bottom: 1px solid #e3eef3;
}
.aat-chat__title { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--aat-navy); }
.aat-chat__badge { margin: 4px 0 0; font-size: 12px; color: #4a6577; }
.aat-chat__close {
	min-width: 44px; min-height: 44px; border: 0; border-radius: 10px;
	background: var(--aat-pale); color: var(--aat-navy); font-size: 24px; line-height: 1; cursor: pointer;
}
.aat-chat__body { padding: 14px 16px; overflow-y: auto; flex: 1 1 auto; }
.aat-chat__msg { margin: 0 0 12px; padding: 10px 12px; background: var(--aat-pale); border-radius: 12px 12px 12px 4px; }
.aat-chat__msg--q { background: transparent; padding: 0; font-weight: 700; }
.aat-chat__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.aat-chat__choice,
.aat-chat__primary,
.aat-chat__secondary {
	min-height: 44px; padding: 10px 14px; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer;
}
.aat-chat__choice { background: #fff; color: var(--aat-navy); border: 1px solid var(--aat-blue); text-align: left; }
.aat-chat__choice:hover { background: var(--aat-pale); }
.aat-chat__primary { background: var(--aat-blue); color: #fff; border: 1px solid var(--aat-blue); }
.aat-chat__primary:hover { background: #2d7393; }
.aat-chat__primary[disabled] { opacity: 0.7; cursor: progress; }
.aat-chat__secondary { background: #fff; color: var(--aat-navy); border: 1px solid #b9cfd9; }
.aat-chat__label { display: block; margin: 10px 0 4px; font-weight: 700; }
.aat-chat__input {
	box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px;
	border: 1px solid #9fbccb; border-radius: 10px; font: inherit; color: var(--aat-navy); background: #fff;
}
.aat-chat__check { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; min-height: 44px; }
.aat-chat__check input { width: 20px; height: 20px; }
.aat-chat__nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
.aat-chat__summary { margin: 0 0 8px; padding-left: 18px; }
.aat-chat__error { margin: 8px 0 0; color: #a12a2a; font-weight: 600; min-height: 1em; }
.aat-chat__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.aat-chat__foot { padding: 10px 16px 14px; border-top: 1px solid #e3eef3; font-size: 13px; }
.aat-chat__call { display: inline-block; min-height: 24px; color: var(--aat-blue); font-weight: 700; text-decoration: underline; }
.aat-chat__privacy { margin: 4px 0 0; color: #4a6577; }
@media (max-width: 767px) {
	.aat-chat { right: 8px; left: 8px; bottom: 8px; width: auto; max-height: calc(100vh - 16px); }
}

/* narrow screens: long choices wrap instead of overflowing the panel */
.aat-chat__choice { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
