#alaLynWidget {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 99999;
	font-family: Arial, Helvetica, sans-serif;
}

.ala-lyn-button {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #022B62;
	border: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	touch-action: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ala-lyn-button:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.ala-lyn-button:active {
	transform: scale(0.98);
}

.ala-lyn-button img {
	width: 40px;
	height: 40px;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}

#alaLynWidget.is-open .ala-lyn-button {
	display: none;
}

.ala-lyn-panel {
	display: none;
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 380px;
	height: 600px;
	max-height: calc(100vh - 80px);
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	flex-direction: column;
}

.ala-lyn-panel-open {
	display: flex;
}

.ala-lyn-header-actions {
	display: flex;
	align-items: center;
}

.ala-lyn-help-button {
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 4px;
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 1;
	padding: 5px 9px;
	margin-right: 10px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.ala-lyn-help-button:hover {
	opacity: 0.75;
}

.ala-lyn-help {
	display: none;
	position: absolute;
	top: 44px;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(20, 28, 40, 0.35);
	z-index: 2;
	padding: 12px;
	box-sizing: border-box;
}

.ala-lyn-help-open {
	display: block;
}

.ala-lyn-help-card {
	display: flex;
	flex-direction: column;
	max-height: 100%;
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.ala-lyn-help-head {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #e3e5e8;
	padding: 10px 12px;
}

.ala-lyn-help-title {
	font-size: 13px;
	font-weight: bold;
	color: #1c2b45;
}

.ala-lyn-help-close {
	background: none;
	border: none;
	color: #6b7278;
	font-size: 18px;
	line-height: 1;
	padding: 0 2px;
	cursor: pointer;
}

.ala-lyn-help-close:hover {
	color: #022B62;
}

.ala-lyn-help-body {
	overflow-y: auto;
	padding: 8px 10px 12px 10px;
}

.ala-lyn-help-group {
	color: #8a8f96;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	margin: 10px 4px 4px 4px;
}

.ala-lyn-help-question {
	display: block;
	width: 100%;
	text-align: left;
	background-color: #f5f7fa;
	border: 1px solid #e3e5e8;
	border-radius: 14px;
	color: #022B62;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1.3;
	padding: 7px 10px;
	margin-bottom: 5px;
	cursor: pointer;
}

.ala-lyn-help-question:hover {
	background-color: #e8eef6;
	border-color: #ccd6e2;
}

.ala-lyn-help-note {
	color: #8a8f96;
	font-size: 11px;
	line-height: 1.4;
	margin: 12px 4px 0 4px;
}

.ala-lyn-header {
	background-color: #022B62;
	color: #ffffff;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	border-bottom: 3px solid #FFA60A;
	cursor: move;
	touch-action: none;
	user-select: none;
}

.ala-lyn-brand {
	display: flex;
	align-items: center;
}

.ala-lyn-logo {
	width: 20px;
	height: 20px;
	margin-right: 8px;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}

.ala-lyn-title {
	font-size: 16px;
	font-weight: 600;
}

.ala-lyn-list {
	display: none;
	flex: 1;
	flex-direction: column;
	overflow: hidden;
	background-color: #ffffff;
}

.ala-lyn-list-open {
	display: flex;
}

.ala-lyn-list-top {
	flex-shrink: 0;
	padding: 12px 16px;
}

.ala-lyn-new {
	display: block;
	width: 100%;
	background-color: #022B62;
	border: none;
	border-radius: 6px;
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	padding: 10px 12px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.ala-lyn-new:hover {
	opacity: 0.9;
}

.ala-lyn-conversations {
	flex: 1;
	overflow-y: auto;
}

.ala-lyn-conversation {
	display: flex;
	align-items: baseline;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	border-top: 1px solid #ececec;
	color: #022B62;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	padding: 12px 16px;
	cursor: pointer;
}

.ala-lyn-conversation-title {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ala-lyn-conversation-when {
	flex-shrink: 0;
	margin-left: 10px;
	color: #8a8f96;
	font-size: 11px;
	white-space: nowrap;
}

.ala-lyn-conversation:hover {
	background-color: #f5f7fa;
}

.ala-lyn-list-note {
	padding: 20px 16px;
	font-size: 12px;
	text-align: center;
}

.ala-lyn-list-note:not(.lErr) {
	color: #8a8f96;
}

.ala-lyn-thread {
	display: none;
	flex: 1;
	flex-direction: column;
	overflow: hidden;
}

.ala-lyn-thread-open {
	display: flex;
}

.ala-lyn-subheader {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	background-color: #ffffff;
	border-bottom: 1px solid #e3e5e8;
	padding: 10px 14px;
}

.ala-lyn-back {
	background: none;
	border: none;
	color: #022B62;
	font-size: 16px;
	line-height: 1;
	padding: 0 12px 0 0;
	cursor: pointer;
}

.ala-lyn-back:hover {
	opacity: 0.7;
}

.ala-lyn-thread-title {
	font-size: 13px;
	font-weight: bold;
	color: #1c2b45;
}

.ala-lyn-close {
	background: none;
	border: none;
	color: #ffffff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
	transition: opacity 0.15s ease;
}

.ala-lyn-close:hover {
	opacity: 0.7;
}

.ala-lyn-messages {
	flex: 1;
	overflow-y: auto;
	background-color: #f7f7f8;
	padding: 16px;
}

.ala-lyn-intro {
	color: #8a8f96;
	font-size: 12px;
	text-align: center;
	margin-top: 24px;
	line-height: 1.5;
}

.ala-lyn-message {
	display: flex;
	margin-bottom: 14px;
}

.ala-lyn-message-user {
	justify-content: flex-end;
}

.ala-lyn-message-lyn {
	justify-content: flex-start;
}

.ala-lyn-col {
	display: flex;
	flex-direction: column;
	max-width: 80%;
}

.ala-lyn-message-user .ala-lyn-col {
	align-items: flex-end;
}

.ala-lyn-message-lyn .ala-lyn-col {
	align-items: flex-start;
}

.ala-lyn-body {
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.4;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.ala-lyn-message-user .ala-lyn-body {
	background-color: #022B62;
	color: #ffffff;
	border-bottom-right-radius: 4px;
}

.ala-lyn-message-lyn .ala-lyn-body {
	background-color: #ececec;
	border-bottom-left-radius: 4px;
}

.ala-lyn-message-lyn .ala-lyn-body:not(.lErr) {
	color: #333333;
}

.ala-lyn-code {
	margin: 4px 0;
	white-space: pre-wrap;
	font-family: Consolas, "Courier New", monospace;
	font-size: 12px;
}

.ala-lyn-pending {
	color: #777777;
	font-style: italic;
}

.ala-lyn-rating {
	align-self: stretch;
	margin-top: 6px;
	font-size: 11px;
	color: #777777;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.ala-lyn-took {
	margin-left: auto;
	font-size: 10px;
	color: #a9adb3;
}

.ala-lyn-star {
	border: none;
	background: transparent;
	color: #c8ccd2;
	font-size: 15px;
	line-height: 15px;
	padding: 0 1px;
	cursor: pointer;
}

.ala-lyn-star:hover,
.ala-lyn-star-on {
	color: #e8a700;
}

.ala-lyn-feedback-toggle {
	margin-left: 8px;
	border: none;
	background: transparent;
	color: #022B62;
	font-size: 11px;
	padding: 0 2px;
	text-decoration: underline;
	cursor: pointer;
}

.ala-lyn-feedback-toggle:hover {
	opacity: 0.8;
}

.ala-lyn-feedback {
	display: none;
	width: 100%;
	margin-top: 6px;
}

.ala-lyn-feedback-open {
	display: block;
	text-align: right;
}

.ala-lyn-feedback-hint {
	text-align: left;
	margin-bottom: 4px;
}

.ala-lyn-rating-comment {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d5d9de;
	border-radius: 10px;
	padding: 5px 8px;
	font-family: inherit;
	font-size: 12px;
	resize: vertical;
	outline: none;
}

.ala-lyn-rating-comment:focus {
	border-color: #022B62;
}

.ala-lyn-feedback-send {
	margin-top: 4px;
	border: none;
	border-radius: 14px;
	background-color: #022B62;
	color: #ffffff;
	font-size: 11px;
	padding: 4px 12px;
	cursor: pointer;
}

.ala-lyn-feedback-send:hover {
	opacity: 0.9;
}

.ala-lyn-rating-saved {
	display: block;
	width: 100%;
	margin-top: 4px;
}

.ala-lyn-rating-saved:empty {
	display: none;
}

.ala-lyn-composer {
	flex-shrink: 0;
	border-top: 1px solid #e3e5e8;
	background-color: #ffffff;
	padding: 10px 12px;
	display: flex;
	align-items: flex-end;
}

.ala-lyn-input {
	flex: 1;
	border: 1px solid #d5d9de;
	border-radius: 18px;
	padding: 8px 12px;
	resize: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.3;
	outline: none;
}

.ala-lyn-input:focus {
	border-color: #022B62;
}

.ala-lyn-send {
	margin-left: 8px;
	border: none;
	border-radius: 18px;
	background-color: #022B62;
	color: #ffffff;
	font-size: 13px;
	padding: 8px 16px;
	cursor: pointer;
}

.ala-lyn-send:hover {
	opacity: 0.9;
}

.ala-lyn-table-wrap {
	overflow-x: auto;
	max-width: 100%;
	margin: 4px 0;
}

.ala-lyn-table {
	border-collapse: collapse;
	font-size: 12px;
	white-space: nowrap;
}

.ala-lyn-table th,
.ala-lyn-table td {
	border: 1px solid #cccccc;
	padding: 2px 6px;
	text-align: left;
}

.ala-lyn-table th {
	background-color: #dddddd;
}

.ala-lyn-message-lyn .ala-lyn-body a {
	color: #022B62;
	text-decoration: underline;
}

.ala-lyn-export {
	display: block;
	margin-top: 4px;
	font-size: 12px;
}
