.polylabels {
	color: white;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8px;
	font-weight: bold;
	text-align: center;
	/* width: 32px;  */
	border: 1px solid black;
	white-space: nowrap;
	padding: 2px;
	background-color: navy;
}

.lab_1line {
	width: auto !important;
	height: auto !important;
	/* margin-left: -19px !important; /* substitui o iconAnchor */
	/* margin-top:  -50px !important; */
	font-family:
		Verdana,
		Arial,
		Helvetica,
		sans-serif important;
	font-size: 11px;
	font-weight: normal;
	text-align: center;
	line-height: 11px !important;
	white-space: nowrap;
	border-radius: 4px;
	-moz-border-radius: 4px;

	padding: 1px !important;
	display: flex !important;
	justify-content: center !important; /* align horizontal */
	align-items: center !important; /* align vertical */
}

/* Setas de direção ao longo de traces (cachehere-map, showTraceArrows) */
.stc-trace-arrow-wrap {
	background: transparent !important;
	border: none !important;
	width: 18px !important;
	height: 18px !important;
}
.stc-trace-arrow-rot {
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-origin: 50% 50%;
}
.stc-trace-arrow {
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 16px solid #333;
	filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px rgba(0, 0, 0, 0.45));
}
/* cachehere-map, seta sem cor própria: branca com sombra sobre a linha (igual à simulação) */
.stc-trace-arrow.stc-trace-arrow-clara {
	border-left-width: 6px;
	border-right-width: 6px;
	border-bottom: 13px solid #fff;
	filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.95));
}

.pt_1line {
	font-family:
		Verdana,
		Arial,
		Helvetica,
		sans-serif important;
	font-size: 11px;
	font-weight: normal;
	line-height: 11px !important;
	width: auto !important;
	height: auto !important;
	/* margin-left: auto !important; */
	/* margin-top: auto !important; */
	white-space: nowrap;
	/* display: inline-block !important; */
	border-radius: 4px;
	-moz-border-radius: 4px;
	padding: 1px !important;
	display: flex !important;
	justify-content: center !important; /* align horizontal */
	align-items: center !important; /* align vertical */
}
/* teste sps para alinhas a bosta do icone com o texto do button*/
.webix_button .webix_icon_btn {
	position: relative; /* Needed for fine-tuned adjustments */
	top: 3px; /* Push the icon downward by 4px */
}

.lab_offline {
	color: #888;
	background-color: #ccc;
	border: 1px solid #888;
}
.lab_parked {
	color: #000 !important;
	background-color: #ccc !important;
	border: 1px solid #000 !important;
}
.lab_green_full {
	color: #ffc !important;
	background-color: #484 !important;
	border: 1px solid #fff !important;
}
.lab_green_hollow {
	color: #080 !important;
	background-color: #efe !important;
	border: 1px solid #040 !important;
}
.lab_red_full {
	color: #fff !important;
	background-color: #c00 !important;
	border: 1px solid #fff !important;
}
.lab_red_hollow {
	color: #c00 !important;
	background-color: #fcc !important;
	border: 1px solid #800 !important;
}
.lab_blue_full {
	color: #fff !important;
	background-color: #00c !important;
	border: 1px solid #fff !important;
}
.lab_blue_hollow {
	color: #00c !important;
	background-color: #ccf !important;
	border: 1px solid #008 !important;
}
.lab_yellow_full {
	color: #fff !important;
	background-color: #ebdd17 !important;
	border: 1px solid #fff !important;
}
.lab_yellow_hollow {
	color: #000 !important;
	background-color: #ffa !important;
	border: 1px solid #008 !important;
}
.lab_purple_full {
	color: #fff !important;
	background-color: #840096 !important;
	border: 1px solid #fff !important;
}
.lab_purple_hollow {
	color: #af60b9 !important;
	background-color: #fff !important;
	border: 1px solid #840096 !important;
}

.carlabels {
	color: #003300;
	background-color: white;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8px;
	font-weight: bold;
	text-align: center;
	border: 1px solid black;
	white-space: nowrap;
}
.pplabels {
	color: blue;
	background-color: white;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8px;
	font-weight: bold;
	text-align: center;
	border: 1px solid black;
	white-space: nowrap;
}
.pclabels {
	color: navy;
	background-color: #ffcccc;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8px;
	font-weight: bold;
	text-align: center;
	border: 1px solid black;
	white-space: nowrap;
}

.cdflabelsComum {
	color: #005800;
	/* background-color: #FFCCCC; */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-align: center;
	/* border: 1px solid black; */
	white-space: nowrap;
}
.cdflabelsTerminal {
	color: #800000;
	/* background-color: #FFCCCC; */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	/* border: 1px solid black; */
	white-space: nowrap;
}
.cdflabelsGaragem {
	color: navy;
	/* background-color: #FFCCCC; */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8px;
	font-weight: bold;
	text-align: center;
	/* border: 1px solid black; */
	white-space: nowrap;
}
.cdflabelsZonaVelocidade {
	color: navy;
	/* background-color: #FFCCCC; */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8px;
	font-weight: bold;
	text-align: center;
	/* border: 1px solid black; */
	white-space: nowrap;
}

.dirtyrow {
	background-color: #fcc;
}
.dirtyrow.webix_row_select {
	background-color: #faa !important;
}

.sps_message_area {
	position: fixed;
	right: 5px;
	width: 350px;
	z-index: 1000;
}
.sps_message_area_wide {
	position: fixed;
	right: 5px;
	width: 700px;
	z-index: 1000;
}
.sps_no_transition {
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}
/* base */
.sps_info div {
	padding: 5px 10px;
	background-color: #cfc;
	border-radius: 3px;
	border: 1px solid #b8b8b8;
}
.sps_info {
	cursor: pointer;
	min-width: 120px;
	font-family: Tahoma, Arial;
	z-index: 10000;
	overflow: hidden;
	margin: 5px 5px 10px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.sps_info img {
	float: left;
	margin-right: 20px;
}
.sps_info.hidden {
	height: 0;
	min-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	border-width: 0;
	margin-top: 0;
	margin-bottom: 0;
	overflow: hidden;
}

/* adicionais */
.sps_hard,
.sps_soft,
.sps_error,
.sps_info,
.sps_clipboard {
	font-size: 13px;
	color: #333;
	box-shadow: 0 0 10px #888;
	padding: 0;
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #fff;
}

.sps_error {
	background-color: #d81b1b;
	border: 1px solid #ff3c3c;
	box-shadow: 0 0 10px #000;
}
.sps_error div {
	background-color: #d81b1b;
	border: 1px solid #940000;
	color: #fff;
}

.sps_soft {
	background-color: #ff9;
	border: 1px solid #9f9;
}
.sps_soft div {
	border: 1px solid orange;
	background-color: #ff9;
	color: #000;
}

.sps_hard {
	background-color: #f99;
	border: 1px solid #9f9;
}
.sps_hard div {
	border: 1px solid orange;
	background-color: #f99;
	color: #000;
}

.sps_clipboard {
	background-color: #000000;
	border: 1px solid #ccccff;
}
.sps_clipboard div {
	border: 1px solid black;
	background-color: #ccccff;
	color: #000;
}

.hardrow {
	background-color: #fcc;
}
.errorrow {
	background-color: #f86b6b;
	color: #fff;
}
.disabledrow {
	background-color: #ffffff;
	color: #dddddd;
}

.softrow {
	background-color: #ffc;
}
.inforow {
	background-color: #dfd;
}

.closurefret0 {
	background-color: #ffffff;
	color: #808080;
}
.closurefret1 {
	background-color: #eeeeee;
}
.closurefret3 {
	background-color: #bae5ad;
}
.closurefret2 {
	background-color: #f3e9bb;
}

.closure0 {
	background-color: #ffffff;
	color: #cccccc;
}
.closure1 {
	background-color: #eeeeee;
}
.closure2 {
	background-color: #bae5ad;
}
.closure3 {
	background-color: #f3e9bb;
}
.closure4 {
	background-color: #ffeded;
}
.closure5 {
	background-color: rgba(163, 255, 206, 0.56);
}
.closure-1 {
	background-color: #fff200;
}

.hora_atraso {
	color: #b00000;
}
.hora_adiant {
	color: #c46500;
}
.hora_certa {
	color: #208020;
	font-weight: bold;
}
.hora_quase {
	color: #20c020;
}

/* metas.php: partida real fora da tolerância da meta */
.webix_cell.hora_fora_tol {
	background-color: #d32f2f;
	color: #fff;
}

.closure6 {
	background-color: #ffb3b3;
}
.carrovago {
	background-color: #ff0000 !important;
	color: #ffffff !important;
}
.sobrep1 {
	background-color: #ecd900 !important;
	color: #000000 !important;
}
.sobrep2 {
	background-color: rgba(236, 217, 0, 0.38) !important;
	color: #000000 !important;
}

.unreadrow {
	font-weight: bolder;
}
.ackrequestedrow {
	color: black;
}
.minerow {
	color: navy;
}
.systemrow {
	background-color: #d81b1b;
	color: #fff;
}

.row-strike {
	text-decoration: line-through !important;
}
.row-gray {
	color: gray !important;
}
.row-bold {
	font-weight: bold !important;
}

.rating_bar_element {
	background: #eee;
	width: 1px;
	height: 12px;
	margin-top: 6px;
	float: left;
	cursor: pointer;
}
.rating_star {
	background: green;
}

.pinocchio {
	box-shadow: 5px 10px 18px #888888;
	margin: 10px 10px 10px 10px;
	height: 240px !important;
}

.spsformitem {
	margin-left: 200px !important;
}

.sps_vertical {
	writing-mode: vertical-lr;
	text-orientation: mixed !important;
	height: 100% !important;
	margin-left: -2px !important;
}

.pipoca.webix_toolbar {
	background-color: #7e6090;
}
/* redefinindo para fazer o label ficar vertical, usar junto com sps_vertical*/
.webix_toolbar .webix_el_label .webix_el_box {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	/* color: rgba(50, 50, 50, 0.9); */
	/* sps */
	height: fit-content !important;
}

.bundasps_vertical {
	/* Safari */
	-webkit-transform: rotate(-90deg);
	/* Firefox */
	-moz-transform: rotate(-90deg);
	/* IE */
	-ms-transform: rotate(-90deg);
	/* Opera */
	-o-transform: rotate(-90deg);
	/* Internet Explorer */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.webix_inp_png {
	cursor: pointer;
	background-color: #eeeeee;
	/* border-radius: 50%; */
}

.webix_user_picture {
	cursor: pointer;
	background-color: #eeeeee;
	border-radius: 50%;
	width: 50px;
	height: 50px;
}

.webix_user_picture2 {
	border-radius: 50%;
	cursor: pointer;
	width: 50px;
	height: 50px;
	margin: -4px;
}

.webix_user_picture3 {
	border-radius: 50%;
	width: 50px;
	height: 50px;
	/* margin: -10px; */
	border-width: 0px !important;
}

.tooltip::after {
	z-index: -1;
	background: rgba(0, 0, 0, 0.8);
	border-radius: 0px 8px 8px 8px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
	color: #fff;
	content: attr(data-tooltip);
	margin-top: 24px;
	opacity: 0;
	padding: 3px 7px;
	position: absolute;
	visibility: hidden;

	transition: all 0.4s ease-in-out;
}

.tooltip:hover::after {
	opacity: 1;
	visibility: visible;
}

.varlogjr textarea {
	font-family: monospace !important;
	font-size: 12px !important;
	color: black !important;
}
.sps_progress_result {
	height: 100%;
	float: left;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
	background: #00678d;
}
.sps_progress_bar_element {
	background-color: #f5f5f5;
	border-radius: 4px;
	width: 100%;
	height: 12px;
	-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
	margin-top: 6px;
	float: left;
	overflow: hidden;
	cursor: pointer;
}

.webix_list_item[webix_l_id^='f_'] {
	background-color: #ecffe7 !important;
}

.webix_list_item[webix_l_id^='fo_'] {
	background-color: #f5efac !important;
	font-weight: bold !important;
}
.webix_list_item[webix_l_id^='li_'] {
	background-color: #ffd7d7 !important;
}
.webix_list_item[webix_l_id^='it_'] {
	background-color: #ffefef !important;
}

.webix_list_item[webix_l_id^='g_'] {
	background-color: #dce0f1 !important;
}

/*
.webix_accordionitem.horizontal.collapsed .webix_accordionitem_header, .webix_accordionitem.collapsed .webix_accordionitem_header {
	background-color: #abc9da !important;
}
*/

.icon_yellow {
	color: yellow !important;
}
.icon_red {
	color: #ff6666 !important;
}

.icon_off {
	color: #ccc !important;
	text-decoration: line-through black !important;
}
.cursor-pointer {
	cursor: pointer;
}
.cell-link-style {
	cursor: pointer;
	text-decoration: underline;
}

.multilinefooter {
	line-height: 20px !important;
	text-align: right;
}
/*
.webix_column > div, .webix_table_cell {
	 border-right: 1px solid rgba(210, 214, 216, 0.35) !important;
}

.webix_view .webix_toolbar {
	background-color: #eeeeee !important;
}

 */

/* severidades das metas */
.sss_atr {
	color: red;
}
.sss_adt {
	color: green;
}
.ss_atr {
	color: red;
	font-weight: bold;
}
.ss_adt {
	color: green;
	font-weight: bold;
}
.s_atr {
	color: red;
}
.s_adt {
	color: green;
}

/* isso era pro sencha */

.s_sev {
	font-weight: bolder !important;
}
.x-future {
	background-color: #d0ffd0;
}
.x-past {
	background-color: #ffffd0;
}
.x-past-perigo {
	background-color: #ffc8c8;
}

.vertical-center {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%; /* Ensure it takes full row height */
}

/* centraliza filtros rich (multiSelectFilter, richSelectFilter, etc.) no cabeçalho da datatable */
.webix_dtable .webix_hcell.webix_div_filter {
	display: flex;
	align-items: center;
	padding: 0px 5px;
}
.webix_dtable .webix_hcell.webix_div_filter .webix_richfilter {
	margin-top: 0;
	width: 100%;
}

.timeline_sinotico .webix_timeline_date {
	height: 60px !important;
	top: 10px !important;
	overflow: visible !important;
	line-height: 16px !important;
}

.timeline_sinotico .webix_timeline_event {
	top: 65px !important;
}

.timeline_sinotico .webix_timeline_item svg {
	margin-top: 15px !important;
}

.sinotico_finished {
	background-color: #fff8e1;
	border-radius: 4px;
}

.icon_powerfleet_svg {
	background-image: none;
	background-color: currentColor; /* herda a cor do tema */
	-webkit-mask-image: url('/images/powerfleet_colormark.svg');
	mask-image: url('/images/powerfleet_colormark.svg');
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: middle;
}

/* =============================================
   Agente MIX — Chat (assistente.php)
   ============================================= */
@keyframes assistFadeUp {
	from { opacity: 0; transform: translateY(5px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes __ASSISTENTEdotPulse {
	0%, 80%, 100% { transform: scale(.6); opacity: .4; }
	40%           { transform: scale(1);  opacity: 1; }
}
@keyframes __ASSISTENTEcursorBlink {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0; }
}
.__ASSISTENTEdot {
	display: inline-block;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: #6ab187;
	animation: __ASSISTENTEdotPulse 1.4s ease-in-out infinite;
}
.__ASSISTENTEdot:nth-child(2) { animation-delay: .16s; }
.__ASSISTENTEdot:nth-child(3) { animation-delay: .32s; }
.__ASSISTENTEcursor {
	display: inline-block;
	width: 2px; height: 14px;
	background: #1e6b3c;
	margin-left: 2px;
	vertical-align: middle;
	animation: __ASSISTENTEcursorBlink .8s step-end infinite;
}

/* =============================================
   Menu principal (sidebar) — scroll fino estilizado
   ============================================= */
.webix_sidebar {
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(120, 120, 120, 0.45) transparent;
}

.webix_sidebar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.webix_sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.webix_sidebar::-webkit-scrollbar-thumb {
    background: rgba(120, 120, 120, 0.45);
    border-radius: 3px;
}

.webix_sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(120, 120, 120, 0.7);
}

/* Sidebar header */
.assist-sidebar {
	background: #f8fafc !important;
	border-right: 1px solid var(--assist-border, #e8f0eb) !important;
}
.assist-sbhdr { background: #fff !important; border-bottom: 1px solid var(--assist-border, #e8f0eb) !important; }
.assist-sbtitle {
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--assist-label, #3d6b50);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	gap: 8px;
}
.assist-sbtitle i { color: var(--assist-muted, #7c9e8a); font-size: 12px; }

/* History list */
.assist-hlist .webix_list_item  { border: 0 !important; background: transparent !important; padding: 0 !important; }
.assist-hlist .webix_selected,
.assist-hlist .webix_selected:hover {
	background: var(--assist-selection, #d1fae5) !important;
	box-shadow: inset 3px 0 0 var(--assist-brand, #1e6b3c);
}
.assist-hlist .webix_list_item:hover { background: var(--assist-hover, #e8f4ec) !important; }
.assist-hi {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	height: 100%;
	box-sizing: border-box;
	border-bottom: 1px solid var(--assist-border, #e8f0eb);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.assist-hi-av {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--assist-selection, #d1fae5);
	color: var(--assist-brand, #1e6b3c);
	font-size: 12px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	letter-spacing: .02em;
}
.assist-hlist .webix_selected .assist-hi-av {
	background: linear-gradient(135deg, var(--assist-accent, #22c55e) 0%, var(--assist-brand, #1e6b3c) 100%);
	color: #fff;
}
.assist-hi-body { flex: 1; min-width: 0; }
.assist-hi-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.assist-hi-title {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
}
.assist-hi-count {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	background: #f1f5f9;
	border-radius: 999px;
	min-width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 7px;
	flex: 0 0 auto;
}
.assist-hlist .webix_selected .assist-hi-count {
	background: #dcfce7;
	color: #166534;
}
.assist-hi-preview {
	margin-top: 5px;
	font-size: 12px;
	line-height: 1.45;
	color: #64748b;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.assist-hi-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin-top: 6px;
	font-size: 10px;
	color: var(--assist-muted, #7c9e8a);
}
.assist-hi-meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.assist-hi-time { font-size: 11px; color: var(--assist-muted, #7c9e8a); margin-top: 2px; }

/* Chat header */
.assist-chat-hdr { background: #fff !important; border-bottom: 1px solid var(--assist-border, #e8f0eb) !important; }
.assist-chat-hdr-in {
	padding: 12px 16px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.assist-chat-hdr-main {
	display: flex;
	align-items: center;
	gap: 12px;
}
.assist-av-lg {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--assist-brand, #1e6b3c) 0%, var(--assist-brand-dark, #0f4a28) 100%);
	color: #fff;
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.assist-ainfo { flex: 1; min-width: 0; }
.assist-aname { font-size: 15px; font-weight: 700; color: #0f172a; line-height: 1.2; margin-bottom: 5px; }
.assist-chat-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.assist-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: #64748b;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	padding: 3px 10px;
}
.assist-pill i { color: #94a3b8; font-size: 10px; }
.assist-pill-title {
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.assist-asts {
	display: flex; align-items: center; gap: 5px;
	font-size: 11px; color: var(--assist-muted, #6ab187); margin-top: 2px;
}
.assist-asts-dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--assist-accent, #22c55e); box-shadow: 0 0 0 2px var(--assist-selection, #dcfce7);
	flex: 0 0 auto;
}
.assist-chat-updated {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #f1f5f9;
	font-size: 11px;
	color: #94a3b8;
}
.assist-chat-updated i { margin-right: 5px; }
.assist-conv-title {
	font-size: 12px; color: #94a3b8;
	max-width: 220px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	text-align: right;
}

/* Messages area */
.assist-chat-bg { background: #f1f5f9 !important; }
.assist-msgs-wrap {
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	min-height: 100%;
}
.assist-thread {
	padding: 18px 20px 24px;
}
.assist-empty-state {
	min-height: 220px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.assist-empty-ico { font-size: 36px; color: var(--assist-tint-border, #c8dfd0); }
.assist-empty-txt { font-size: 13px; color: var(--assist-muted, #a8c5b2); }

/* User message */
.assist-mu { display: flex; justify-content: flex-end; margin: 16px 0; }
.assist-mu-inner { max-width: 72%; min-width: 120px; }
.assist-mu-lbl {
	font-size: 10px;
	font-weight: 600;
	color: #64748b;
	text-align: right;
	margin-bottom: 5px;
	letter-spacing: .02em;
}
.assist-mu-lbl i { margin-right: 4px; color: #94a3b8; }
.assist-mu-bbl {
	background: linear-gradient(135deg, var(--assist-brand, #1e6b3c) 0%, var(--assist-brand-dark, #0f4a28) 100%);
	color: #f0fdf4;
	border-radius: 16px 16px 4px 16px;
	padding: 11px 15px;
	font-size: 13.5px; line-height: 1.55;
	word-break: break-word;
	box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.assist-mu-time { font-size: 10px; color: var(--assist-muted, #a8c5b2); margin-top: 4px; text-align: right; padding-right: 2px; }

/* Agent message */
.assist-ma { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; }
.assist-ma-av {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--assist-brand, #1e6b3c) 0%, var(--assist-brand-dark, #0f4a28) 100%);
	color: #fff;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin-top: 18px;
	box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.assist-ma-wrap { flex: 1; min-width: 0; max-width: calc(100% - 42px); }
.assist-ma-lbl {
	font-size: 10px;
	font-weight: 700;
	color: var(--assist-label, #3d6b50);
	text-transform: uppercase;
	letter-spacing: .05em;
	margin-bottom: 5px;
}
.assist-ma-lbl i { margin-right: 4px; color: #64748b; }
.assist-ma-bbl {
	background: #fff;
	border-radius: 4px 16px 16px 16px;
	padding: 12px 16px;
	font-size: 13.5px; line-height: 1.6; color: #0f172a;
	border-left: 3px solid var(--assist-accent, #22c55e);
	box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.04);
	word-break: break-word;
}
.assist-ma-status {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed #e2e8f0;
	font-size: 12px;
	line-height: 1.4;
	color: #64748b;
	font-style: italic;
}
.assist-ma-status i {
	margin-right: 4px;
	color: var(--assist-label, #3d6b50);
}
.assist-ma-time { font-size: 10px; color: var(--assist-muted, #a8c5b2); margin-top: 4px; padding-left: 2px; }

/* Markdown inside assistant bubble */
.assist-md-p { margin: 6px 0; }
.assist-md-p:first-child { margin-top: 0; }
.assist-md-p:last-child { margin-bottom: 0; }
.assist-md-h1, .assist-md-h2, .assist-md-h3,
.assist-md-h4, .assist-md-h5, .assist-md-h6 {
	margin: 12px 0 6px 0;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}
.assist-md-h1 { font-size: 18px; }
.assist-md-h2 { font-size: 16px; }
.assist-md-h3 { font-size: 14px; }
.assist-md-h4, .assist-md-h5, .assist-md-h6 { font-size: 13px; }
.assist-md-li {
	margin: 4px 0 4px 18px;
	list-style: disc;
	color: #334155;
}
.assist-md-quote {
	margin: 8px 0;
	padding: 8px 12px;
	border-left: 3px solid #94a3b8;
	background: #f8fafc;
	color: #334155;
	border-radius: 0 8px 8px 0;
}
.assist-md-code {
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	padding: 1px 5px;
	border-radius: 4px;
	font-size: 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.assist-md-pre {
	margin: 10px 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: #0f172a;
	color: #e2e8f0;
	overflow: auto;
	font-size: 12px;
	line-height: 1.5;
}
.assist-md-pre code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.assist-md-code-lang {
	font-size: 10px;
	color: #94a3b8;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: .05em;
}
.assist-md-table-wrap {
	overflow: auto;
	margin: 10px 0;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}
.assist-md-table {
	border-collapse: collapse;
	width: 100%;
	font-size: 12px;
}
.assist-md-table th {
	border: 1px solid #e2e8f0;
	padding: 7px 10px;
	background: #f8fafc;
	text-align: left;
	font-weight: 700;
	color: #334155;
	white-space: nowrap;
}
.assist-md-table td {
	border: 1px solid #e2e8f0;
	padding: 7px 10px;
	color: #0f172a;
}
.assist-md-table tbody tr:nth-child(even) td { background: #fafbfc; }
.assist-md-img {
	max-width: 100%;
	max-height: 420px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	margin: 6px 0;
	display: block;
}
.assist-ma-bbl a { color: #2563eb; text-decoration: underline; }
.assist-ma-bbl strong { font-weight: 700; }
.assist-ma-bbl em { font-style: italic; }

/* Input area */
.assist-input-wrap { border-top: 1px solid var(--assist-border, #e8f0eb) !important; background: #fff !important; }

/* Disclaimer footer */
.assist-disclaimer-wrap { background: #fff !important; }
.assist-disclaimer {
	padding: 0 16px 8px;
	font-size: 11px;
	line-height: 1.4;
	color: var(--assist-muted, #a8c5b2);
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.assist-empty-note {
	max-width: 420px;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--assist-muted, #a8c5b2);
	text-align: center;
}

/* Assistente — typing dots */
.__ASSISTENTEdot {
	display: inline-block;
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--assist-label, #3d6b50);
	animation: assistDot 1.2s infinite ease-in-out;
}
.__ASSISTENTEdot:nth-child(2) { animation-delay: .2s; }
.__ASSISTENTEdot:nth-child(3) { animation-delay: .4s; }
@keyframes assistDot {
	0%, 80%, 100% { transform: scale(0.6); opacity: .4; }
	40%           { transform: scale(1);   opacity: 1;  }
}

/* Assistente — blinking cursor */
.__ASSISTENTEcursor {
	display: inline-block;
	width: 2px; height: 14px;
	background: var(--assist-brand, #1e6b3c);
	border-radius: 1px;
	margin-left: 2px;
	vertical-align: middle;
	animation: assistCursor .7s step-end infinite;
}
@keyframes assistCursor {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0; }
}

/* Assistente — mic recording animation */
@keyframes __ASSISTENTEmicPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.5); }
	60%       { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}
.__ASSISTENTEmic-recording .webix_el_button button,
.__ASSISTENTEmic-recording button {
	animation: __ASSISTENTEmicPulse 1.1s ease-in-out infinite !important;
	background: #ef4444 !important;
	border-color: #ef4444 !important;
	color: #fff !important;
}

/* Dashboard IA — auditoria de chats */
.dia-audit-sidebar {
	background: #f8fafc !important;
	border-right: 1px solid #e2e8f0 !important;
}
.dia-audit-sbhdr {
	background: #fff !important;
	border-bottom: 1px solid #e2e8f0 !important;
}
.dia-audit-sbtitle {
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #64748b;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	gap: 8px;
}
.dia-audit-sbtitle i { color: #94a3b8; font-size: 12px; }
.dia-audit-search .webix_el_search input,
.dia-audit-search input {
	border: 0 !important;
	border-bottom: 1px solid #e2e8f0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	font-size: 13px !important;
	padding-left: 12px !important;
}
.dia-audit-list .webix_list_item {
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
}
.dia-audit-list .webix_selected,
.dia-audit-list .webix_selected:hover {
	background: #ecfdf5 !important;
	box-shadow: inset 3px 0 0 #22c55e;
}
.dia-audit-list .webix_list_item:hover {
	background: #f1f5f9 !important;
}
.dia-audit-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid #eef2f7;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	height: 100%;
	box-sizing: border-box;
}
.dia-audit-item-av {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
	color: #475569;
	font-size: 12px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	letter-spacing: .02em;
}
.dia-audit-list .webix_selected .dia-audit-item-av {
	background: linear-gradient(135deg, #86efac 0%, #22c55e 100%);
	color: #fff;
}
.dia-audit-item-body {
	flex: 1;
	min-width: 0;
}
.dia-audit-item-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.dia-audit-item-title {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
}
.dia-audit-item-count {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	background: #f1f5f9;
	border-radius: 999px;
	min-width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 7px;
	flex: 0 0 auto;
}
.dia-audit-list .webix_selected .dia-audit-item-count {
	background: #dcfce7;
	color: #166534;
}
.dia-audit-item-preview {
	margin-top: 5px;
	font-size: 12px;
	line-height: 1.45;
	color: #64748b;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.dia-audit-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin-top: 6px;
	font-size: 10px;
	color: #94a3b8;
}
.dia-audit-item-meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.dia-audit-archived {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 6px;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #92400e;
	background: #fef3c7;
	vertical-align: middle;
}
.dia-audit-msgs {
	background: #f1f5f9 !important;
}
.dia-audit-empty,
.dia-audit-empty-inline {
	height: 100%;
	min-height: 180px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #94a3b8;
	font-size: 13px;
	text-align: center;
	padding: 24px;
}
.dia-audit-empty i,
.dia-audit-empty-inline i {
	font-size: 28px;
	color: #cbd5e1;
}
.dia-audit-msgs-wrap {
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	min-height: 100%;
}
.dia-audit-chat-hdr {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	padding: 14px 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
	position: sticky;
	top: 0;
	z-index: 2;
}
.dia-audit-chat-hdr-main {
	display: flex;
	align-items: center;
	gap: 12px;
}
.dia-audit-chat-av {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg, #64748b 0%, #475569 100%);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}
.dia-audit-chat-info { flex: 1; min-width: 0; }
.dia-audit-chat-title {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
	margin-bottom: 6px;
}
.dia-audit-chat-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.dia-audit-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: #64748b;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	padding: 3px 10px;
}
.dia-audit-pill i { color: #94a3b8; font-size: 10px; }
.dia-audit-chat-updated {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #f1f5f9;
	font-size: 11px;
	color: #94a3b8;
}
.dia-audit-chat-updated i { margin-right: 5px; }
.dia-audit-thread {
	padding: 18px 20px 28px;
}
/* user bubble */
.dia-audit-mu {
	display: flex;
	justify-content: flex-end;
	margin: 16px 0;
}
.dia-audit-mu-inner { max-width: 72%; min-width: 120px; }
.dia-audit-mu-lbl {
	font-size: 10px;
	font-weight: 600;
	color: #64748b;
	text-align: right;
	margin-bottom: 5px;
	letter-spacing: .02em;
}
.dia-audit-mu-lbl i { margin-right: 4px; color: #94a3b8; }
.dia-audit-mu-bbl {
	color: #fff;
	border-radius: 16px 16px 4px 16px;
	padding: 11px 15px;
	font-size: 13.5px;
	line-height: 1.55;
	word-break: break-word;
	box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
/* assistant bubble */
.dia-audit-ma {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0;
}
.dia-audit-ma-av {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	color: #fff;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin-top: 18px;
	box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.dia-audit-ma-wrap { flex: 1; min-width: 0; max-width: calc(100% - 42px); }
.dia-audit-ma-lbl {
	font-size: 10px;
	font-weight: 700;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: .05em;
	margin-bottom: 5px;
}
.dia-audit-ma-lbl i { margin-right: 4px; color: #64748b; }
.dia-audit-tokens {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: #64748b;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
}
.dia-audit-tokens i { margin-right: 3px; font-size: 8px; }
.dia-audit-ma-bbl {
	background: #fff;
	border-radius: 4px 16px 16px 16px;
	padding: 12px 16px;
	font-size: 13.5px;
	line-height: 1.6;
	color: #0f172a;
	border-left: 3px solid #22c55e;
	box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.04);
	word-break: break-word;
}
/* markdown inside assistant bubble */
.dia-audit-md-p { margin: 6px 0; }
.dia-audit-md-p:first-child { margin-top: 0; }
.dia-audit-md-p:last-child { margin-bottom: 0; }
.dia-audit-md-h1, .dia-audit-md-h2, .dia-audit-md-h3,
.dia-audit-md-h4, .dia-audit-md-h5, .dia-audit-md-h6 {
	margin: 12px 0 6px 0;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}
.dia-audit-md-h1 { font-size: 18px; }
.dia-audit-md-h2 { font-size: 16px; }
.dia-audit-md-h3 { font-size: 14px; }
.dia-audit-md-h4, .dia-audit-md-h5, .dia-audit-md-h6 { font-size: 13px; }
.dia-audit-md-li {
	margin: 4px 0 4px 18px;
	list-style: disc;
	color: #334155;
}
.dia-audit-md-quote {
	margin: 8px 0;
	padding: 8px 12px;
	border-left: 3px solid #94a3b8;
	background: #f8fafc;
	color: #334155;
	border-radius: 0 8px 8px 0;
}
.dia-audit-md-code {
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	padding: 1px 5px;
	border-radius: 4px;
	font-size: 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.dia-audit-md-pre {
	margin: 10px 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: #0f172a;
	color: #e2e8f0;
	overflow: auto;
	font-size: 12px;
	line-height: 1.5;
}
.dia-audit-md-pre code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.dia-audit-md-code-lang {
	font-size: 10px;
	color: #94a3b8;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: .05em;
}
.dia-audit-md-table-wrap {
	overflow: auto;
	margin: 10px 0;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}
.dia-audit-md-table {
	border-collapse: collapse;
	width: 100%;
	font-size: 12px;
}
.dia-audit-md-table th {
	border: 1px solid #e2e8f0;
	padding: 7px 10px;
	background: #f8fafc;
	text-align: left;
	font-weight: 700;
	color: #334155;
	white-space: nowrap;
}
.dia-audit-md-table td {
	border: 1px solid #e2e8f0;
	padding: 7px 10px;
	color: #0f172a;
}
.dia-audit-md-table tbody tr:nth-child(even) td {
	background: #fafbfc;
}
.dia-audit-ma-bbl a {
	color: #2563eb;
	text-decoration: underline;
}
.dia-audit-ma-bbl strong { font-weight: 700; }
.dia-audit-ma-bbl em { font-style: italic; }

/* ---- Mensagens (inbox estilo Outlook) ---- */
.stc-msg-root {
	background: #f4f6f8;
}
.stc-msg-toolbar {
	background: #fff !important;
	border-bottom: 1px solid #e5e7eb;
}
.stc-msg-title .webix_el_box,
.stc-msg-title {
	font-weight: 700;
	color: #1e293b;
}
.stc-msg-list {
	background: #fff;
	border-top: 1px solid #e5e7eb;
}
.stc-msg-list .webix_list_item {
	border: 0 !important;
	border-bottom: 1px solid #eef2f6 !important;
	padding: 0 !important;
	line-height: 1.3;
	background: #fff !important;
	color: inherit !important;
}
.stc-msg-list .webix_list_item:hover {
	background: #f8fafc !important;
}
.stc-msg-list .webix_selected,
.stc-msg-list .webix_selected:hover {
	background: #e8f1fb !important;
	box-shadow: inset 3px 0 0 #2563eb;
}
.stc-msg-list .webix_list_item.systemrow {
	background: #fff !important;
	color: inherit !important;
}
.stc-msg-list .webix_list_item.minerow {
	color: inherit !important;
}
.stc-msg-list .unreadrow .stc-msg-from {
	font-weight: 800;
	color: #0f172a;
}
.stc-msg-list .unreadrow .stc-msg-preview {
	color: #334155;
	font-weight: 600;
}
.stc-msg-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	padding: 10px 14px;
	height: 100%;
	box-sizing: border-box;
}
.stc-msg-item-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
}
.stc-msg-from {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}
.stc-msg-time {
	font-size: 11px;
	color: #94a3b8;
	flex: 0 0 auto;
}
.stc-msg-preview {
	font-size: 12px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.stc-msg-flags {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	margin-top: 1px;
}
.stc-msg-chip,
.stc-msg-badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .02em;
	padding: 1px 7px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #475569;
	text-transform: uppercase;
}
.stc-msg-chip-sys,
.stc-msg-badge-sys {
	background: #fee2e2;
	color: #b91c1c;
}
.stc-msg-chip-agent,
.stc-msg-badge-agent {
	background: #dbeafe;
	color: #1d4ed8;
}
.stc-msg-empty-pane,
.stc-msg-empty {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	text-align: center;
	gap: 8px;
	font-size: 15px;
}
.stc-msg-empty .webix_icon,
.stc-msg-empty .far,
.stc-msg-empty .fas {
	font-size: 42px;
	margin-bottom: 6px;
	color: #cbd5e1;
}
.stc-msg-empty-sub {
	font-size: 12px;
	color: #94a3b8;
}
.stc-msg-empty-sm {
	padding: 16px;
	color: #94a3b8;
	font-size: 13px;
}
.stc-msg-rhead-wrap,
.stc-msg-rhead-wrap .webix_template {
	padding: 0 !important;
}
.stc-msg-rhead {
	padding: 6px 8px 0 8px;
}
.stc-msg-rhead-from {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}
.stc-msg-rhead-to {
	font-size: 12px;
	color: #64748b;
	margin-top: 2px;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.stc-msg-rmeta-wrap .webix_template {
	padding: 0 14px !important;
}
.stc-msg-rmeta {
	font-size: 11px;
	color: #94a3b8;
}
.stc-msg-rscroll {
	background: #fff;
	border-top: 1px solid #eef2f6;
}
.stc-msg-rbody .webix_template {
	padding: 16px 20px 32px 20px !important;
}
.stc-msg-composer .webix_richtext_container {
	background: #fff;
}
.stc-msg-composer .webix_richtext_editor {
	min-height: 140px;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.5;
}
.stc-md-body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.55;
	color: #0f172a;
	max-width: 820px;
	overflow-x: auto;
}
.stc-md-body h1,
.stc-md-body h2,
.stc-md-body h3,
.stc-md-body h4 {
	margin: 1.1em 0 .45em;
	line-height: 1.25;
	color: #0f172a;
}
.stc-md-body h1 { font-size: 1.45em; }
.stc-md-body h2 { font-size: 1.25em; border-bottom: 1px solid #e5e7eb; padding-bottom: .2em; }
.stc-md-body h3 { font-size: 1.1em; }
.stc-md-body p { margin: 0 0 .8em; }
.stc-md-body ul,
.stc-md-body ol { margin: 0 0 .8em 1.3em; padding: 0; }
.stc-md-body li { margin: .2em 0; }
.stc-md-body blockquote {
	margin: 0 0 .8em;
	padding: .4em 0 .4em 12px;
	border-left: 3px solid #cbd5e1;
	color: #475569;
	background: #f8fafc;
}
.stc-md-body code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .9em;
	background: #f1f5f9;
	padding: .1em .35em;
	border-radius: 4px;
}
.stc-md-body pre {
	background: #0f172a;
	color: #e2e8f0;
	padding: 12px 14px;
	border-radius: 8px;
	overflow: auto;
	margin: 0 0 .9em;
}
.stc-md-body pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}
.stc-md-body table {
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	display: table;
	width: auto;
	max-width: 100%;
	margin: 0 0 1em;
	font-size: 13px;
}
.stc-md-body thead { display: table-header-group; }
.stc-md-body tbody { display: table-row-group; }
.stc-md-body tr { display: table-row; }
.stc-md-body th,
.stc-md-body td {
	display: table-cell;
	border: 1px solid #e2e8f0;
	padding: 7px 10px;
	text-align: left;
	vertical-align: top;
}
.stc-md-body th {
	background: #f8fafc;
	font-weight: 700;
	color: #334155;
}
.stc-md-body tbody tr:nth-child(even) td {
	background: #fafbfc;
}
.stc-md-body a {
	color: #2563eb;
	text-decoration: underline;
}
.stc-md-body img {
	max-width: 100%;
	height: auto;
}
.stc-md-body hr {
	border: 0;
	border-top: 1px solid #e5e7eb;
	margin: 1.2em 0;
}
