.alca-wrap {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 99999;
	font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.alca-wrap.alca-inline {
	position: static;
	max-width: 480px;
	margin: 0 auto;
}
.alca-launcher {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #1e3a5f;
	color: #fff;
	border: none;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.alca-box {
	display: none;
	flex-direction: column;
	position: absolute;
	bottom: 68px;
	right: 0;
	width: 320px;
	height: 440px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0,0,0,.25);
	overflow: hidden;
}
.alca-inline .alca-box {
	position: static;
	width: 100%;
	height: 520px;
}
.alca-header {
	background: #1e3a5f;
	color: #fff;
	padding: 12px 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
}
.alca-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}
.alca-body {
	flex: 1;
	overflow-y: auto;
	padding: 10px;
	background: #f4f6f8;
}
.alca-messages { display: flex; flex-direction: column; gap: 8px; }
.alca-msg {
	max-width: 85%;
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 13.5px;
	line-height: 1.4;
}
.alca-msg-assistant {
	background: #fff;
	border: 1px solid #e1e4e8;
	align-self: flex-start;
}
.alca-msg-user {
	background: #1e3a5f;
	color: #fff;
	align-self: flex-end;
}
.alca-typing { opacity: .6; font-style: italic; }
.alca-wa-btn {
	display: block;
	text-align: center;
	margin-top: 6px;
	background: #25D366;
	color: #fff;
	padding: 10px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 13.5px;
}
.alca-input-row {
	display: flex;
	border-top: 1px solid #e1e4e8;
	padding: 8px;
	gap: 6px;
	background: #fff;
}
.alca-input {
	flex: 1;
	border: 1px solid #d0d5da;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 13.5px;
}
.alca-send {
	background: #1e3a5f;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 8px 14px;
	cursor: pointer;
	font-size: 13.5px;
}
.alca-lead-form { padding: 6px; }
.alca-lead-title { font-size: 13px; color: #444; margin: 4px 0 10px; }
.alca-lead-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 8px;
	padding: 8px 10px;
	border: 1px solid #d0d5da;
	border-radius: 8px;
	font-size: 13.5px;
}
.alca-lead-btn {
	width: 100%;
	background: #1e3a5f;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px;
	cursor: pointer;
	font-weight: 600;
}
@media (max-width: 600px) {
	.alca-box {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		border-radius: 0;
		padding-top: env(safe-area-inset-top, 0px);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
}
.alca-input:disabled, .alca-send:disabled {
	opacity: .5;
	cursor: not-allowed;
}
.alca-new-chat {
	background: transparent;
	border: 1px solid rgba(255,255,255,.5);
	color: #fff;
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 6px;
	cursor: pointer;
	margin-right: 8px;
}
.alca-field-hint {
	color: #b32d2e;
	font-size: 12px;
	margin: -4px 0 6px;
}
.alca-launcher-link {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
