@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');
@import url('flags.css');

#debugdiv
{display:none}

:root {
	--calloutcol: #004f9d;
	--bgcolor: #F7F7F8;
	--lorblue: #004593;
	--lorpink: #EA368E;
}

*, body, h1, h2, h3, p, th, td {
	font-size: 12px;
	line-height:18px;
	font-family: 'Inter', sans-serif;
	-webkit-overflow-scrolling: touch;
}

div.fxcallout {
	border-radius: 25px;
	box-shadow: 1px 1px 25px 3px #777777 !important;
	padding:20px !important;
}



.fxcallout.over {
	box-shadow: 0px -5px 17px 2px #292929;
}

.fxcallout.under {
	box-shadow: 0px 5px 17px 2px #292929;
}

.fxcallout.left {
	box-shadow: -5px 0px 17px 2px #292929;
}

.fxcallout.right {
	box-shadow: 5px 0px 17px 2px #292929;
}

.fxcallout.overright {
	box-shadow: 5px -5px 17px 2px #292929;
}

.fxcallout.overleft {
	box-shadow: -5px -5px 17px 2px #292929;
}

.fxcallout.underright {
	box-shadow: 5px 5px 17px 2px #292929;
}

.fxcallout.underleft {
	box-shadow: -5px 5px 17px 2px #292929;
}



.fxcallout_button {
	border-radius: 25px !important;
	color: #004593;
	font-weight: 600;
}

.label {
	color: #00519C;
	/* Inter SM 16 */
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	display: inline-block;
}

select.regular {
	margin:0px;
	font-size:12px !important;
	padding:2px;
	border-radius:12px;
}

th {
	font-weight: 600;
	padding-left: 2px;
	padding-right: 5px;
	text-align: left;
	vertical-align: text-top;
}
th,.updatetab td,.boldlabel {
	color: #00519C;
	/* Inter SM 16 */
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 150%; /* 24px */
}
.normal {
	color:black;
	font-size: 12px;
	line-height: 18px;
	font-family: 'Inter', sans-serif;
}
.updatetab td {
	padding-bottom: 10px;
}

	.centerdiv {
		background-color: white;
		display: inline-block;
		padding: 20px;
		border-radius: 25px
	}

	hr {opacity:0.3}
.contacthead {
	color: black;
	font-size: 20px;
	font-family: Inter;
	font-weight: 600;
	line-height: 20.60px;
	word-wrap: break-word
}
/*.divarea {
	border-radius: 20px;
	border: 1px solid var(--cool-gray-100, #F3F4F6);
	background: var(--white, #FFF);
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 1px 3px 0px rgba(0, 0, 0, 0.10);
	display: flex;
	padding: 25px;
	flex-direction: column;
	align-items: flex-start;
	gap: 25px;
	align-self: stretch;
}
*/
.divarea {
	border-radius: 20px;
	border: 1px solid var(--cool-gray-100, #F3F4F6);
	background: var(--white, #FFF);
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 1px 3px 0px rgba(0, 0, 0, 0.10);
	display: inline-block;
	padding: 25px;
}
/*	.divarea.row {
		flex-direction: row;
	}
*/
	.divarea.row {
		display: flex !important;
		flex-direction: row !important;
	}



.deleteconfirm {
	border-radius:25px;
}

.deletecancel {
	border-radius: 25px;
}



.contactregisterhead {
padding-top:20px;
font-size:16px;
}
.bluebutton {
	display: inline-flex;
	padding: 10px 15px;
	justify-content: center;
	align-items: center;
	border-radius: 25px;
	background: var(--LOR-BLUE, #004593);
	color: white;
	text-transform: uppercase;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	border:0px;
}

button,.buttonlink {
	border-radius: 25px;
	border: 1px solid var(--LOR-BLUE, #004593);
	background: var(--white, #FFF);
	color: var(--LOR-BLUE, #004593);
	/* Inter R 12 */
	font-family: Inter;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
}
.buttonlink {
	padding: 3px;
	border-radius: 5px;
	margin:0px;
}

.tabletx {
}
.statstable th, .usertable th {
	background-color: #006f97;
	color: white;
	font-weight: 600;
	padding-left: 2px;
	padding-right: 5px;
	text-align: left;
	vertical-align: text-top;
}

h1 {
	margin: 0px;
	display: inline-block;
	color: #004F9D;
	text-decoration: none;
	font-weight: 600;
	font-size: 30px;
	line-height: 30px;
	text-transform: uppercase;
}

h2 {
	color: #004593;
	font-size: 20px;
	font-family: Inter;
	font-weight: 800;
	line-height: 30px;
	word-wrap: break-word;
	text-transform:uppercase;
}

h3 {
	color: #00519C;
	font-size: 16px;
	font-family: Inter;
	font-weight: 600;
	/*line-height: 24px;*/
	margin:0px;
	word-wrap: break-word
}
h3.s20{font-size:20px}

h4 {
	color: #004593;
	font-size: 16px;
	font-family: Inter;
	font-weight: 800;
	line-height: 24px;
	word-wrap: break-word
}

code {
	font-family: 'Courier New';
	color: black;
}

.flexcontainer {
	display:flex;
	gap:20px;
	flex-wrap:wrap;
}


a {
	text-decoration: none;
	font-weight: normal;
	color: var(--lorpink);
}
/*a,a:hover,a:active {color:red}*/
.mainheader {
	display: none
}

.forminput {
	width:100%;
}

.bluebutt {
	border: 0px;
	/*background-color: #006f97;*/
	text-transform: uppercase;
	padding: 8px 60px;
	/*color: white;*/
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	min-width: 150px;
}

.greenbutt, .greenbuttsmall,.pinkbutton, button.submit {
	border:0px;
	border-radius:25px;
	background-color: var(--lorblue);
	padding: 8px 18px;
	color: white;
	font-weight: 600;
	text-decoration: none;
	/*width:100%;*/
}

.greenbuttsmall {
	padding: 2px 8px;
}

.pinkbutton, button.submit {
	background: var(--LOR-PINK, #EA368E);
}
.addbutton {
	border-radius: 25px;
	border: 1px solid var(--LOR-BLUE, #004593);
	background: var(--white, #FFF);
	color: var(--LOR-BLUE, #004593);
	background-image: url(images/plus.svg);
	background-repeat: no-repeat;
	padding: 5px;
	padding-left: 20px;
	background-position-y: 5px;
	background-position-x: 5px;
}

button.blueiconbutton {
	background-color: var(--LOR-BLUE, #004593);
	background-image: url(images/plus.svg);
	background-repeat: no-repeat;
	padding: 5px;
	padding-left: 25px;
	background-position-y: 7px;
	background-position-x: 5px;
	color: white;
	border-radius: 5px;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	padding-right: 10px;
	/*margin-right: 5px;*/
	/*margin-left: 5px;*/
}

.calendar {
	border: 0px;
	background: var(--cool-gray-050, #F9FAFB);
	padding: 8px;
	border-radius: 5px;
	cursor: pointer;
	background-image: url('_include/images/calendar.png') !important;
	background-position: center right 5px;
	background-repeat: no-repeat;
	background-size: 10px 10px;
}

.numonline {
	display: inline-block;
	font-size: 12px;
	text-align: center;
	background: var(--Accept, #16A713);
	padding: 10px;
	padding-top: 8px;
	padding-bottom: 15px;
	color: white;
	/*font-weight: bold;*/
	height: 10px;
	width: 15px;
	border-radius: 50%;
}
	.numonline.big {
		padding-top: 12px;
		height: 16px;
		width: 25px;
		font-size: 20px;
	}

.activitydiv {
	margin-top: 10px;
	background-color: #ffffff;
	max-height: 400px;
	overflow: auto;
	margin-bottom: 20px;
}

h4 {
	margin: 0px;
	/*letter-spacing: 2px;*/
}

input, select, textarea,.input {
	padding:10px;
	border:0px;
	background: #F7F7F8;
	border-radius: 25px;
}

	input.value::-ms-clear {
		display: none;
	}

	input[type=color] {padding:0px}



.tip {
	-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
	box-shadow: inset 0px 1px 0px 0px #ffffff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
	background: -moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background: -webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background: -o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background: -ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background: linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0);
	background-color: #ffffff;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 1px solid #dcdcdc;
	display: inline-block;
	cursor: pointer;
	color: #666666;
	font-size: 15px;
	text-decoration: none;
}

.namebar {
	display: flex
}

	.namebar * {
		margin: 3px
	}

/*#region The dashboard's top bar: logo, menu, then the agent's tools and own menu on the right */
.topbar {
	-webkit-user-select: none;
	user-select: none;
	height: 52px;
	box-sizing: border-box;
	border-bottom: 1px solid #E5E7EB;
	background: white;
	padding: 0 16px;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 20px;
}

.topbar_logo { height: 30px; }
.topbar_burger { display: none; cursor: pointer; }

.topnav {
	display: flex;
	align-items: stretch;
	height: 100%;
	flex: 1;
	min-width: 0;
}

	.topnav > a, .topmenu_title {
		display: flex;
		align-items: center;
		padding: 0 12px;
		color: #374151;
		font-size: 13px;
		font-weight: 500;
		cursor: pointer;
		border-bottom: 2px solid transparent;
		white-space: nowrap;
	}

	.topnav > a:hover, .topmenu:hover > .topmenu_title, .topmenu.open > .topmenu_title { color: var(--lorblue); }
	.topnav > a.current, .topmenu.current > .topmenu_title { color: var(--lorblue); border-bottom-color: var(--lorblue); }

.topmenu {
	position: relative;
	display: flex;
}

	.topnav .topmenu_title:after {
		content: "";
		width: 6px;
		height: 6px;
		margin: -3px 0 0 7px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg);
		opacity: 0.6;
	}

.topmenu_panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: white;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
	padding: 6px;
	z-index: 30;
}

.topmenu.open > .topmenu_panel { display: block; }

@media (hover: hover) and (min-width: 901px) {
	.topmenu:hover:not(.shut) > .topmenu_panel { display: block; }
}

	.topmenu_panel a {
		display: block;
		padding: 6px 10px;
		border-radius: 4px;
		color: #1f2937;
		font-size: 13px;
		white-space: nowrap;
		cursor: pointer;
	}

		.topmenu_panel a:hover { background: #F3F4F6; color: var(--lorblue); }

.topmenu_panel.topmenu_wide { padding: 12px 8px; }
.topmenu.open > .topmenu_wide { display: flex; gap: 8px; }

@media (hover: hover) and (min-width: 901px) {
	.topmenu:hover:not(.shut) > .topmenu_wide { display: flex; gap: 8px; }
}

.topmenu_group { min-width: 170px; }

	.topmenu_group h5 {
		margin: 0 0 4px 0;
		padding: 0 10px;
		font-size: 11px;
		line-height: 18px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: #6B7280;
	}

.topbar_tools {
	display: flex;
	align-items: center;
	gap: 12px;
}

.topbar_icon { width: 20px; cursor: pointer; opacity: 0.75; }
	.topbar_icon:hover { opacity: 1; }

.topmenu_user .topmenu_title { padding: 0; }
.topmenu_user .topmenu_panel { left: auto; right: 0; min-width: 240px; }
.topbar_photo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

.topmenu_me {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 10px 10px 10px;
	margin-bottom: 4px;
	border-bottom: 1px solid #F3F4F6;
	font-size: 12px;
	color: #6B7280;
}

	.topmenu_me b { font-size: 13px; color: #111827; font-weight: 600; }
	.topmenu_me label { cursor: pointer; }
	.topmenu_me img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }

.topmenu_lang { padding: 4px 10px; }
	.topmenu_lang select { width: 100%; }

#tabletx {
	position: fixed;
	top: 52px;
	left: 0px;
	bottom: 0px;
	overflow: auto;
	z-index: 2;
	padding: 20px 24px;
	box-sizing: border-box;
}

/* a narrow screen: the menu folds under the burger, its groups open in place */
@media screen and (max-width: 900px) {
	.topbar { gap: 10px; padding: 0 10px; }
	.topbar_burger { display: block; }
	.topbar_logo { height: 26px; }
	.topnav {
		display: none;
		position: fixed;
		top: 52px;
		left: 0;
		right: 0;
		max-height: calc(100vh - 52px);
		overflow: auto;
		height: auto;
		flex-direction: column;
		background: white;
		border-bottom: 1px solid #E5E7EB;
		box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
		padding: 6px 0;
	}
	.topnav.open { display: flex; }
	.topbar_tools { margin-left: auto; }
	.topnav > a, .topmenu_title { padding: 10px 16px; border-bottom: 0; }
	.topnav .topmenu { flex-direction: column; }
	.topnav .topmenu_title:after { display: none; }
	.topnav .topmenu_title { color: #6B7280; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; padding-bottom: 2px; cursor: default; }
	.topnav .topmenu_panel { display: block !important; position: static; border: 0; box-shadow: none; padding: 0 0 0 8px; }
	.topnav .topmenu_group { padding-top: 6px; }
	.topnav .topmenu_panel a { padding: 8px 16px; }
	#tabletx { padding: 14px; }
}

@media screen and (max-width: 480px) {
	.topbar_icon:first-child { display: none; }
}
/*#endregion */

.menubutton, .settingsbutton {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	display: block;
	cursor: pointer;
	font-size: 16px;
	font-family: Inter;
	font-weight: 600;
	line-height: 25px;
	word-wrap: break-word ;
	padding-left: 50px;
	padding-top:5px;
	background-repeat: no-repeat;
	background-position-x: 5px;
	background-position-y: 5px;
	border-radius: 5px;
	color:black;
	margin:10px;
}

	.menubutton:hover {
/*		background-color: #b1eafe;
*/		color: #004593;
		color: #3898EC;
	}

	.menubutton:active {
		position: relative;
		color: #004593;
		top: 1px;
	}

.chatnav {
	background-color: white;
	display: flex;
	position: fixed;
	bottom: 0px;
	height: 45px;
	left: 0px;
	right: 0px;
	z-index: 550;
	box-shadow: 4px 3px 0px 0px gainsboro;
}

.chatname {margin:10px;}

.chatswapbutton {
	border: 1px solid gainsboro;
	background-color: whitesmoke;
	margin: 2px;
	border-radius: 3px;
}

.grid, .htab {
	border: 0px
}

	.grid td, .htab td {
		border: 0px;
		border-bottom: 1px solid gainsboro;
		padding: 5px
	}



.dealership {
	border-radius: 25px;
	border: 1px solid var(--cool-gray-100, #F3F4F6);
	background: var(--white, #FFF);
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 1px 3px 0px rgba(0, 0, 0, 0.10);
	cursor: pointer;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 10px;
	padding:10px;

/*	box-shadow: 0px 1px 15px #dcdcdc;
	font-size: 20px;
	padding: 5px;
	text-decoration: none;

	border-radius: 5px;*/
}
	.dealership:hover {
		background: var(--LOR-BLUE, #004593);
		color: white;
	}
	.dealership.expanded:hover {
		background: var(--white, #FFF) !important;
		color: unset !important;
	}

input:: placeholder {
	font-size: 9pt;
	color: gray;
	font-weight: normal;
}

/*#region CHAT*/
#tabletx {
	right: 371px
}

@media screen and ( max-width: 640px ) {
	.lor_chatbar {
		width: 100%;
		position: fixed;
		bottom: 0px;
		background-color: navy;
		color: white;
		box-shadow: 0px 2px 5px 0px #aeaeae;
		display: inline-block;
		cursor: pointer;
		font-size: 15px;
		padding: 10px;
		text-decoration: none;
		z-index: 16000;
		transition: all 0.5s ease;
		box-sizing: border-box;
		border-radius: 5px 5px 0px 0px;
		max-height: 90%;
	}
	#tabletx {right:0px}
}

.lor_inbox, .lor_inbox * {
	box-sizing: border-box;
}
.lor_inbox {
	position: fixed;
	width: 360px;
	top: 52px;
	right: 0px;
	bottom: 0px;
	z-index: 5;
	border-left: 1px solid #E5E7EB;
	background-color: #F9FAFB;
	overflow: auto;
}

.lor_inbox_header {
	position: sticky;
	top: 0;
	z-index: 1;
	height: 44px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: white;
	border-bottom: 1px solid #E5E7EB;
}

	.lor_inbox_header img { width: 18px; }
	.app .lor_inbox_header h2 { margin: 0; font-size: 14px; flex: 1; }

.lor_inbox_count {
	min-width: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: var(--lorpink);
	color: white;
	font-size: 11px;
	font-weight: 600;
	line-height: 20px;
	text-align: center;
}

.lor_inbox_empty {
	padding: 16px 14px;
	color: #6B7280;
}

@media screen and ( max-width: 640px ) {
	.lor_inbox {
		display: none;
		position: fixed;
		left: 0px;
		top: 0px;
		bottom: 45px;
		right: 0px;
		width: auto;
		overflow: auto;
		z-index: 5;
		/*box-shadow: 0px 0px 4px 3px gainsboro;*/
		/*border-radius: 5px;*/
	}
}

/* one chat in the inbox: who and the time on the first line, the company, then the last message */
.lor_inbox_chat {
	position: relative;
	display: block;
	padding: 10px 14px 10px 17px;
	border-bottom: 1px solid #E5E7EB;
	background: white;
	cursor: pointer;
}

	.lor_inbox_chat:hover { background: #F3F4F6; }
	.lor_inbox_chat.selected { background: #EEF3FA; }
	.lor_inbox_chat.selected:before, .lor_inbox_chat.unread:before {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: 3px;
		background: var(--lorblue);
	}
	.lor_inbox_chat.unread:before { background: var(--lorpink); }
	.lor_inbox_chat.unread .lor_inbox_chatheader, .lor_inbox_chat.unread .lor_inbox_message { color: #111827; font-weight: 600; }

.lor_inbox_line {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lor_inbox_chatheader {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #111827;
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
}

.lor_inbox_time {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #6B7280;
	font-size: 11px;
	white-space: nowrap;
}

	.lor_inbox_time:before {
		content: "";
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background: #16A713;
	}

	.lor_inbox_time.callback:before { background: #F47421; }

.lor_inbox_company, .lor_inbox_message {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	line-height: 17px;
	color: #6B7280;
}

.lor_inbox_message { color: #374151; margin-top: 2px; }

.lor_chatclose {
	position:absolute;
	right:0px;
	top:0px;
	cursor:pointer;
}

/* the open chat, beside the inbox */
.chatwindow {
	display: none;
	position: fixed;
	width: 380px;
	top: 60px;
	right: 368px;
	bottom: 8px;
	z-index: 6;
	overflow: hidden;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	background: white;
	box-shadow: 0 10px 30px rgba(17, 24, 39, 0.18);
}

	.chatwindow * {
		box-sizing: border-box;
	}

@media screen and ( max-width: 640px ) {
	.chatwindow {
		left: 0px;
		top: 52px;
		bottom: 45px;
		right: 0px;
		width: auto;
		border-radius: 0;
		border: 0;
		box-shadow: none;
	}
}

.chatpane {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.chathead {
	padding: 14px 14px 0 16px;
	border-bottom: 1px solid #E5E7EB;
}

.chathead_top {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

	.chathead_top > div { flex: 1; min-width: 0; }

.chathead_name {
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
	color: #111827;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chathead_company {
	font-size: 12px;
	line-height: 16px;
	color: #6B7280;
}

/* closes the window, not the chat */
.app button.chathead_close {
	flex: none;
	width: 28px;
	height: 28px;
	min-height: 0;
	margin: -4px -6px 0 0;
	padding: 4px;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	background: none;
	cursor: pointer;
}

	.app button.chathead_close:hover { background: #F3F4F6; }
	.chathead_close img { width: 20px; height: 20px; display: block; }

/* the page the customer is on */
.chathead_item {
	margin-top: 10px;
	padding: 7px 10px;
	border-radius: 6px;
	background: #F9FAFB;
}

	.chathead_itemtitle, .chathead_itemdesc {
		font-size: 12px;
		line-height: 17px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.chathead_itemtitle { color: #374151; }
	.chathead_itemdesc { color: #111827; font-weight: 600; }

.chathead_contact {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 3px 12px;
	margin-top: 10px;
	font-size: 12px;
	line-height: 17px;
}

	.chathead_contact > *, .chathead_contact i { font-size: 12px; line-height: 17px; }
	.chathead_contact span { color: #6B7280; }
	.chathead_contact div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.chathead_contact i { color: #9CA3AF; }

.chattools {
	display: flex;
	margin: 10px -14px 0 -14px;
	border-top: 1px solid #F3F4F6;
}

.chattool {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 7px 2px;
	font-size: 11px;
	line-height: 14px;
	color: #374151;
	cursor: pointer;
	white-space: nowrap;
}

	.chattool:hover { background: #F3F4F6; color: var(--lorblue); }
	.chattool img { width: 20px; height: 20px; }
	.chattool label { font-size: 11px; line-height: 14px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; }
	.chattool.chattool_end { color: #B91C1C; }

#chathistorycontainer {
	position: relative;
	flex: 1;
	min-height: 0;
	overflow: auto;
	background: #F9FAFB;
}

/* a chat's state instead of the conversation: a request, missed, declined, transferred */
.chatstate {
	padding: 30px 24px;
	text-align: center;
	color: #374151;
}

	.app .chatstate h2 { margin: 0 0 4px 0; font-size: 11px; line-height: 16px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lorblue); }
	.app .chatstate h1, .app .chatstate h3 { display: block; margin: 0 0 12px 0; font-size: 17px; line-height: 24px; color: #111827; text-transform: none; }
	.chatstate img { max-width: 100%; border-radius: 6px; }
	.chatstate_item { margin: 10px 0 16px 0; font-size: 12px; color: #6B7280; }
	.chatstate_countdown { margin: 12px 0 20px 0; color: #B91C1C; font-weight: 600; }
	.chatstate_actions { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
	.app .chatstate_actions button { min-width: 100px; padding: 8px 16px; }

/* Video call (videocall.htm), at the top of the chat history */
.lor_videodiv {
	position: sticky;
	top: 0;
	z-index: 2;
	margin-bottom: 10px;
	border-radius: 15px;
	overflow: hidden;
	background: #111;
}

	.lor_videodiv iframe {
		display: block;
		width: 100%;
		height: 260px;
		border: 0;
	}

/* when the chat it belongs to isn't open: beside the chat window */
.lor_videofloat {
	position: fixed;
	top: 75px;
	right: 731px;
	width: 360px;
	z-index: 6;
	box-shadow: -5px 5px 16.2px 2px rgba(0, 0, 0, 0.25);
}

@media screen and ( max-width: 640px ) {
	.lor_videofloat {
		top: 5px;
		left: 5px;
		right: 5px;
		width: auto;
	}
}

.chathistorydiv {
	position: relative;
	padding: 12px 10px 4px 10px;
}
/* The customer away from their screen, or back (msgqueue.js customeraway) */
.chat_away {
	clear: both;
	text-align: center;
	font-size: 11px;
	color: #6B7280;
	padding: 4px 0;
}

.chattoolcontainer {
	border-radius: 8px;
	background: #FFF;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.18);
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	max-height: calc(100% - 20px);
	overflow: auto;
	z-index: 10;
	padding: 14px;
	margin: 10px;
	display: none;
}
.chatmaskdiv {
	position: absolute;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.44);
	backdrop-filter: blur(2px);
	top: 0px;
	z-index: 9;
	display: none;
}

.chatwindow > * {
	height: 100%;
}

/*#endregion */


/*#region SWITCHES: a track and knob with its label beside it, as wide as the label (Available, Expand all) */
.onoffswitch {
	position: relative;
	display: inline-flex;
	-webkit-user-select: none;
	user-select: none;
}

.onoffswitch-checkbox {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.onoffswitch-label {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	white-space: nowrap;
	color: #344054;
	font-weight: 500;
}

	.onoffswitch-label:before {
		content: "";
		flex: none;
		width: 34px;
		height: 20px;
		border-radius: 10px;
		background: #D0D5DD;
		transition: background-color 0.2s ease;
	}

	.onoffswitch-label:after {
		content: "";
		position: absolute;
		left: 2px;
		top: 50%;
		width: 16px;
		height: 16px;
		margin-top: -8px;
		border-radius: 50%;
		background: white;
		box-shadow: 0 1px 3px rgba(16, 24, 40, 0.25);
		transition: transform 0.2s ease;
	}

.onoffswitch-checkbox:checked + .onoffswitch-label:before { background: #12B76A; }
.onoffswitch-checkbox:checked + .onoffswitch-label.showactivity:before { background: var(--lorblue); }
.onoffswitch-checkbox:checked + .onoffswitch-label:after { transform: translateX(14px); }
.onoffswitch-checkbox:focus-visible + .onoffswitch-label:before { box-shadow: 0 0 0 3px rgba(0, 69, 147, 0.2); }

/* not available is the state an agent must notice */
#menu_chatavail .onoffswitch-label:before { background: #F04438; }
#menu_chatavail .onoffswitch-checkbox:checked + .onoffswitch-label:before { background: #12B76A; }
/* the label says the state: Available when on, Not available when off */
.onoffswitch-label span { font: inherit; color: inherit; }
.onoffswitch-checkbox:checked + .onoffswitch-label .switch_off,
.onoffswitch-checkbox:not(:checked) + .onoffswitch-label .switch_on { display: none; }
/*#endregion */


/*#region BUTTONS ETC*/



.redbutt, .delete, .closebutton,.deletesingle {
	background-image: url('images/delete.png');
	border: 0px;
	/*background-color:#ff0000;*/
	/*text-transform:uppercase;*/
	/*padding:2px 8px;*/
	/*color:white;*/
	/*background-color: whitesmoke;*/
	background-repeat: no-repeat;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	color: black;
	border: 1px solid gray;
	border-radius: 5px;
	padding: 3px 7px;
	padding-left: 24px;
	background-position: 4px 3px;
	font-weight: normal;
	display: inline-block;
}
.delete, .deletesingle {
	background-image: url('images/deleteblue.svg');
	border-radius: 25px;
	border: 1px solid var(--LOR-BLUE, #004593);
	background-repeat: no-repeat;
	color: var(--LOR-BLUE, #004593)
}


.deletesingle {
	width: -4px;
	height: 20px;
	/* padding: 3px; */
	background-position-x: 8px;
	background-position-y: 4px;
}
.closebutton {
	background-image: url('images/close_black.svg');
}

.compact {
	/*line-height:10px;*/
	padding-bottom: 5px;
	margin-bottom: 5px;
	margin-top: 5px;
}

.bgbutton {
	background-repeat: no-repeat;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	padding-left: 18px;
	border: 0px;
	color: black;
	border: 1px solid gray;
	border-radius: 5px;
	padding: 3px 7px;
	padding-left: 24px;
	background-position: 4px 3px;
	font-weight: normal;
	display: inline-block;
	background-color: white;
}

.contactinput {
	width: 200px;
	padding: 10px;
	border: solid 1px #006f97;
	color: #21b5e9;
	font-weight: 600;
	font-size: 14px;
}

	.contactinput:focus {
		font-size: 14px;
	}

.contacttextarea {
	border: solid 1px #006f97;
	color: #21b5e9;
	width: 454px;
	padding: 10px;
	font-weight: 600;
	font-size: 14px;
}

	.contacttextarea:focus {
		font-size: 14px;
	}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: gray; /* Change this to your desired color */
	font-style: italic; /* Optional: Adjust other styles if needed */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #21b5e9;
	font-weight: 600;
	font-size: 14px;
}

:-ms-input-placeholder { /* Microsoft Edge */
	color: #21b5e9;
	font-weight: 600;
	font-size: 14px;
}

.notificationsdiv {
	overflow: hidden;
	display: none;
	background-color: white;
	border: 1px solid gainsboro;
	position: fixed;
	right: 40px;
	top: 60px;
	bottom: 50px;
	width: 350px;
	z-index: 3;
}

@media screen and ( max-width: 640px ) {
	.notificationsdiv {
		overflow: auto;
		right: 0px;
		width: 100%;
		bottom: 0px;
	}
}

#notificationsicon {
	cursor: pointer;
	width: 50px;
	height: 38px;
	background-image: url('images/baseline_notifications_black_18dp.png');
	background-repeat: no-repeat;
	background-position-y: 7px;
	float: right;
}

#numnotifications {
	font-size: 10px;
	margin-left: 24px;
	padding-right: 3px;
	background-color: #fa3e3e;
	border-radius: 3px;
	color: white;
	padding-left: 3px;
	padding-top: 2px;
	padding-bottom: 2px;
	display: none
}

.userbutton {
	margin-right: 0px;
	background-image: url('images/icon-profile.png');
	background-repeat: no-repeat;
	padding-left: 45px;
	font-weight: bold
}


.buttoncontact {
	margin-top: auto;
	margin-bottom: auto;
	padding: 12px 24px;
	border: 1px solid #3898ec;
	border-radius: 8px;
	-webkit-transition: all 300ms ease;
	transition: all 300ms ease;
	font-size: 16px;
}

	.buttoncontact:hover {
		background-color: #006f97;
	}

	.buttoncontact.contacttop {
		margin-top: 6px;
		margin-bottom: auto;
	}

.w-button {
	display: inline-block;
	padding: 9px 15px;
	background-color: #3898EC;
	color: white;
	border: 0;
	line-height: inherit;
	text-decoration: none;
	cursor: pointer;
	/*border-radius: 0;*/
}


/* a message: the visitor's on the left, the agent's on the right */
.lor_speech {
	display: flex;
	font-size: 13px;
	line-height: 18px;
	background: white;
	border: 1px solid #E5E7EB;
	padding: 7px 10px;
	text-decoration: none;
	margin-bottom: 8px;
	border-radius: 10px;
	word-break: break-word;
	min-width: 0;
}
	.lor_speech.fromdealer {
		grid-column-start: 2;
		grid-column-end: 4;
		justify-self: end;
		background: #EAF0F8;
		border-color: #D6E1F0;
		border-bottom-right-radius: 3px;
	}
	.lor_speech.fromuser {
		grid-column-start: 1;
		grid-column-end: 3;
		justify-self: start;
		border-bottom-left-radius: 3px;
	}
.chathistory_name {
	color: var(--LOR-BLUE-Hover, #114177);
	font-size: 11px;
	font-weight: 600;
	line-height: 15px;
	margin-bottom: 1px;
}
	.chathistory_name.fromme {
		color: var(--LOR-PINK-Hover, #BE2871);
	}
	.chatline {
		display: grid;
		grid-template-columns: 36px minmax(0, 1fr) 36px;
	}
.chattyping {
	color: #6B7280;
	font-style: italic;
	font-size: 12px;
	padding: 0 4px 6px 4px;
}
/*#endregion */

input:focus {
	outline: none;
}

.chatsenddiv {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-top: 1px solid #E5E7EB;
	background: white;
}
.app input.chatmessagebox {
	flex: 1;
	min-width: 0;
	padding: 8px 12px;
	border: 1px solid #D1D5DB;
	border-radius: 18px;
	background: white;
	font-size: 13px;
}
	.app input.chatmessagebox:focus { border-color: var(--lorblue); }
.app button.chatsend {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50% !important;
	background: var(--lorblue);
	cursor: pointer;
}
	.chatsend img { width: 18px; }

/*#region Chat customisation (chat_style_frame.xsl): the settings beside the two previews */
.cs_top {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.cs_intro {
	color: #4b5563;
	max-width: 760px;
}

/* the previews stay beside the settings; when they don't both fit, they go one under the other */
.cs_page {
	display: flex;
	flex-wrap: wrap; /* with the inbox open there's no room beside the settings: the previews go under them */
	align-items: flex-start;
	gap: 20px;
}

.cs_settings {
	flex: 0 1 540px;
	min-width: 360px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cs_settings .divarea, .cs_preview .divarea {
	display: block;
	padding: 18px 20px;
}

.cs_settings h2, .cs_preview h2 {
	margin: 0 0 12px 0;
	font-size: 17px;
}

.cs_preview {
	position: sticky;
	top: 10px;
	flex: 1 1 520px;
	min-width: 0;
	max-height: calc(100vh - 20px);
	overflow: auto;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	flex-wrap: wrap;
}

/* a phone: the settings, then the previews */
@media screen and (max-width: 900px) {
	.cs_page {
		flex-wrap: wrap;
	}

	.cs_settings {
		min-width: 0;
	}

	.cs_preview {
		position: static;
		max-height: none;
	}
}

.cs_form {
	width: 100%;
	border-collapse: collapse;
}

	.cs_form th {
		width: 150px;
		text-align: left;
		vertical-align: top;
		padding: 12px 10px 8px 0;
		font-weight: 600;
	}

	.cs_form td {
		vertical-align: top;
		padding: 6px 0;
	}

	.cs_form tr + tr {
		border-top: 1px solid #f3f4f6;
	}

	.cs_form input[type=text], .cs_form select {
		padding: 5px 8px;
		border: 1px solid #d1d5db;
		border-radius: 6px;
		font-size: 13px;
	}

.cs_text {
	width: 230px;
}

.cs_hint {
	display: block;
	color: #6b7280;
	font-size: 12px;
	margin-top: 4px;
}

.cs_colour {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

	.cs_colour input[type=color] {
		width: 36px;
		height: 30px;
		padding: 2px;
		border: 1px solid #d1d5db;
		border-radius: 6px;
		background: white;
		cursor: pointer;
	}

.cs_source {
	width: 80px;
	text-align: right;
	white-space: nowrap;
}

.cs_inherited {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 10px;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 11px;
	margin-top: 6px;
}

.cs_reset {
	border: 0;
	background: none;
	padding: 0;
	margin-top: 8px;
	color: var(--LOR-BLUE, #004593);
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}

.cs_iconpic {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 6px;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
	margin-top: 4px;
}

/* a choice of a few, as one row of buttons: the radio is hidden and its label lights up */
.cs_seg {
	display: inline-flex;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	overflow: hidden;
	background: white;
}

	.cs_seg label {
		cursor: pointer;
	}

	.cs_seg input {
		position: absolute;
		opacity: 0;
		pointer-events: none;
	}

	.cs_seg span {
		display: inline-block;
		padding: 6px 12px;
		font-size: 13px;
		color: #374151;
	}

	.cs_seg label + label span {
		border-left: 1px solid #d1d5db;
	}

	.cs_seg input:checked + span {
		background: var(--LOR-BLUE, #004593);
		color: white;
	}

.cs_toolbar {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

	.cs_toolbar select {
		padding: 6px 8px;
		border: 1px solid #d1d5db;
		border-radius: 8px;
		font-size: 13px;
	}

/* the previews: a web page drawn at its real width and scaled down, and the chat window at its real size */
.cs_site {
	position: relative;
	overflow: hidden;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #f3f4f6;
}

	.cs_site iframe, .cs_window iframe {
		display: block;
		border: 0;
	}

.cs_site.cs_desktop {
	width: 468px;
	height: 297px;
}

	.cs_site.cs_desktop iframe {
		width: 1040px;
		height: 660px;
		transform: scale(0.45);
		transform-origin: 0 0;
	}

.cs_site.cs_phone {
	width: 263px;
	height: 490px;
	border-radius: 24px;
	border-width: 6px;
	border-color: #1f2937;
}

	.cs_site.cs_phone iframe {
		width: 375px;
		height: 700px;
		transform: scale(0.7);
		transform-origin: 0 0;
	}

/* the chat window as it is: 280px wide, its frame transparent and as tall as the longest screen */
.cs_window iframe {
	width: 280px;
	height: 640px;
	background: transparent;
}
/*#endregion */

/*#region The dashboard's look (body class="app"; the login and public pages keep the older one).
	Geist, one type scale (page title 20, card heading 15, body 13, labels and table headers 11-12),
	white cards on a light grey page, 32px controls, quiet tables. LOR blue is the action colour, pink the accent. */
.app {
	--ink: #101828;
	--ink2: #344054;
	--muted: #667085;
	--line: #EAECF0;
	--line2: #D0D5DD;
	--page: #F5F6F8;
	--hover: #F9FAFB;
	--primary: var(--lorblue);
	--primaryhover: #00387A;
	--ring: 0 0 0 3px rgba(0, 69, 147, 0.15);
	--shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
	--font: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--ink);
	background: var(--page);
	-webkit-font-smoothing: antialiased;
	font-variant-numeric: tabular-nums;
}

	.app, .app * { font-family: var(--font) !important; }
	.app code, .app pre { font-family: ui-monospace, Consolas, monospace !important; }
	.app #tabletx code, .app #tabletx pre { white-space: pre-wrap; overflow-wrap: anywhere; } /* a long snippet wraps in its box */
	.app .lor_cellcode, .app .lor_cellcode option { font-family: 'Twemoji Country Flags', var(--font) !important; } /* its flags come from the flag font */

:where(.app *), :where(.app) p, :where(.app) td, :where(.app) th { font-size: 13px; line-height: 20px; } /* as little weight as the base rule: any class's own size wins */

/* the page: a title, then cards; doubled line breaks and breaks after headings collapse */
.app #tabletx { padding: 24px 24px 40px 24px; }
.app #tabletx br + br, .app #tabletx h1 + br, .app #tabletx h2 + br { display: none; }
.app h1 { display: block; margin: 0 0 20px 0; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: -0.01em; }
.app h2 { margin: 20px 0 10px 0; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: -0.005em; }
.app .divarea h2:first-child, .app .centerdiv h2:first-child { margin-top: 0; }
.app h3, .app h3.s20 { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.app h4 { font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ink); }
.app #tabletx a { color: var(--primary); }
	.app #tabletx a:hover { color: var(--primaryhover); }
.app hr { border: 0; border-top: 1px solid var(--line); opacity: 1; margin: 16px 0; }
.app .label, .app .boldlabel, .app .updatetab td { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--ink2); }
.app .contacthead { font-size: 15px; line-height: 22px; }

/* cards */
.app .divarea, .app .centerdiv {
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box; /* never wider than the page: a wide list scrolls inside its card */
	max-width: 100%;
	overflow-x: auto;
	margin-bottom: 16px; /* cards stacked down a page stand apart */
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: white;
	box-shadow: var(--shadow);
}
.app .flexcontainer { gap: 16px; }

/* fields: 32px tall, a hairline border and a focus ring */
.app input, .app select, .app textarea, .app .input {
	box-sizing: border-box;
	min-height: 32px;
	padding: 5px 10px;
	border: 1px solid var(--line2);
	border-radius: 6px;
	background-color: white;
	color: var(--ink);
	font-size: 13px;
	box-shadow: var(--shadow);
	transition: border-color 0.15s, box-shadow 0.15s;
}
	.app input:focus, .app select:focus, .app textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.app input[type=checkbox], .app input[type=radio] { min-height: 0; padding: 0; box-shadow: none; accent-color: var(--primary); width: 15px; height: 15px; vertical-align: -2px; }
.app input[type=color] { padding: 2px; }
.app input[type=file] { padding: 4px; box-shadow: none; }
.app select { padding-right: 28px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23667085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; }
.app select[multiple] { background-image: none; padding-right: 10px; }
.app select.regular { border-radius: 6px; font-size: 13px !important; padding: 5px 28px 5px 10px; }
.app ::placeholder { color: #98A2B3; font-style: normal; }
.app input[type=radio] + label, .app input[type=checkbox] + label { margin: 0 12px 0 4px; }

/* buttons: secondary by default; LOR blue for actions, pink kept for the pink ones */
.app button, .app .buttonlink, .app .bgbutton, .app .addbutton, .app .w-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
	min-height: 32px;
	padding: 0 14px;
	border: 1px solid var(--line2);
	border-radius: 6px !important;
	background-color: white;
	color: var(--ink2);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
	vertical-align: middle;
}
	.app button:hover, .app .buttonlink:hover, .app .bgbutton:hover, .app .addbutton:hover { background-color: var(--hover); color: var(--ink); }
	.app button:focus-visible { outline: none; box-shadow: var(--ring); }
/* one filled colour for every action button, Save included; pink stays an accent, never a second button colour */
.app .greenbutt, .app .greenbuttsmall, .app .bluebutton, .app .bluebutt, .app button.blueiconbutton, .app .w-button, .app .pinkbutton, .app button.submit {
	border-color: var(--primary);
	background-color: var(--primary);
	color: white;
	font-weight: 500;
	text-transform: none;
}
	.app .greenbutt:hover, .app .greenbuttsmall:hover, .app .bluebutton:hover, .app .bluebutt:hover, .app button.blueiconbutton:hover, .app .pinkbutton:hover, .app button.submit:hover { background-color: var(--primaryhover); border-color: var(--primaryhover); color: white; }
/* a Save on its own line under a list or its Add button stands clear of it; in a row of buttons it lines up with the rest */
.app #tabletx :is(table, .addnew) + button.submit { margin-top: 12px; }
.app .greenbuttsmall { min-height: 26px; padding: 0 10px; font-size: 12px; }
.app .bluebutt { min-width: 0; }
.app .bgbutton, .app .addbutton, .app button.blueiconbutton { padding-left: 30px; background-repeat: no-repeat; background-position: 10px center !important; background-size: 14px 14px !important; } /* pages set their own positions inline */
.app .addbutton { background-image: url(images/plus.svg); }
.app .delete, .app .deletesingle, .app .redbutt, .app .closebutton {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 32px;
	padding: 0 12px 0 32px;
	border: 1px solid var(--line2);
	border-radius: 6px !important;
	background-color: white;
	background-position: 10px center;
	background-size: 14px 14px;
	color: var(--ink2);
	font-weight: 500;
	box-shadow: var(--shadow);
}
.app .deletesingle { width: 32px; padding: 0; background-position: center; }
	.app .delete:hover, .app .deletesingle:hover, .app .redbutt:hover { border-color: #FDA29B; background-color: #FEF3F2; color: #B42318; }
.app .deleteconfirm { border-color: #D92D20 !important; background-color: #D92D20 !important; color: white !important; }

/* tables: a list (a table with a header row) gets quiet column headers, row lines and a hover */
.app #tabletx table { border-collapse: collapse; }
.app th { padding: 8px 10px; text-align: left; vertical-align: middle; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.app td { padding: 6px 10px; vertical-align: middle; }
.app table[data-table] > * > tr > td, .app table[data-table] > * > tr > th { padding-left: 5px; padding-right: 5px; } /* rows of fields: the fields give the spacing */
.app td > table > tbody > tr:only-child > td:only-child { padding: 0; } /* a table holding one field in a cell adds no spacing of its own */
/* the line under the headings is drawn on the first row, which has every column even when the headings don't */
.app table:has(> thead) > tbody > tr > td, .app table:has(> thead) > tr > td { border-bottom: 1px solid var(--line); }
.app table:has(> thead) > tbody:first-of-type > tr:first-child > td { border-top: 1px solid var(--line); }
.app table:has(> thead) > tbody > tr:last-child > td { border-bottom: 0; }
.app table:has(> thead) > tbody > tr:hover > td { background: var(--hover); }
/* a list on the page itself is a card of its own; inside a card it stays plain */
.app #tabletx table:has(> thead) { border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow); }
.app #tabletx table:has(> thead):not(:is(.divarea, .centerdiv, .card, table) table) { display: block; width: fit-content; max-width: 100%; overflow-x: auto; } /* too wide: it scrolls, not the page */
.app #tabletx :is(.divarea, .centerdiv, .card, table) table:has(> thead) { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
	.app #tabletx :is(.divarea, .centerdiv, .card, table) table:has(> thead) > thead th { background: transparent; }
/* a form of labels beside fields: the label is sentence case, level with the field's first line */
.app table:not(:has(> thead)) > tbody > tr > th, .app table:not(:has(> thead)) > tr > th { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 500; color: var(--ink2); vertical-align: top; padding-top: 12px; }
.app .statstable, .app .usertable { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: white; }
.app .statstable th, .app .usertable th { background: #F9FAFB; color: var(--muted); border-bottom: 1px solid var(--line); }
.app .statstable td, .app .usertable td { border-bottom: 1px solid var(--line); }
.app .grid td, .app .htab td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.app .updatetab td { padding: 4px 10px 4px 0; }

/* badges and live counts */
.app .numonline { box-sizing: border-box; width: auto; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 12px; background: #ECFDF3; color: #067647; font-size: 12px; font-weight: 600; line-height: 24px; text-align: center; }
.app .numonline.big { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; font-size: 20px; line-height: 44px; }

/* the help tour */
.app div.fxcallout { border-radius: 10px; padding: 14px !important; box-shadow: 0 12px 32px rgba(16, 24, 40, 0.2) !important; }
.app .fxcallout_button { border-radius: 6px !important; }
/*#endregion */

/*#region The page kit: every dashboard page is built from these (see CLAUDE.md, Notes)
	page_head  the title and the page's own actions on one line
	cards      a grid of cards side by side, each at least 380px, as many across as fit
	card       a white card; .slim (640px) for a short list or form, .mid (880px)
	card_head  the card's heading and its one main action; card_body its content; card_foot its Save
	form       labels beside fields, two columns; a .full child spans both
	list       a list table edge to edge in its card; td.actions holds a row's buttons, right-aligned
	toolbar    filters in a row, each a .field with its label above
	inline_add a field and its Add button on one line; empty: the line shown when a list has nothing */
.app .page_head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 20px 0; }
	.app .page_head h1 { margin: 0; flex: 1; }
	.app .page_actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.app .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 16px; align-items: start; margin-bottom: 16px; }
	.app .cards > .card { margin-bottom: 0; }

.app .card {
	display: block;
	box-sizing: border-box;
	max-width: 100%;
	overflow-x: auto; /* a list wider than the screen (the inbox open, a phone) scrolls inside its card */
	margin: 0 0 16px 0;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: white;
	box-shadow: var(--shadow);
}
	.app .card.slim { max-width: 640px; } /* not .narrow: the engine has a .narrow 20px high */
	.app .card.mid { max-width: 880px; }
.app .card_head { display: flex; align-items: center; gap: 12px; min-height: 52px; box-sizing: border-box; padding: 10px 20px; border-bottom: 1px solid var(--line); }
	.app .card_head h2 { margin: 0; flex: 1; font-size: 15px; line-height: 22px; }
	.app .card_head .count { color: var(--muted); font-weight: 400; margin-left: 4px; }
.app .card_body { padding: 20px; overflow-x: auto; }
	.app .card_body.flush { padding: 0; }
.app .card_foot { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: #FCFCFD; border-radius: 0 0 10px 10px; }
	.app #tabletx .card_foot button.submit { margin-top: 0; }
	.app .card_foot > .inline_add { flex: 1; min-width: 0; }
.app .section_label { margin: 20px 0 8px 0; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
	.app .section_label:first-child { margin-top: 0; }

.app .form { display: grid; grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); gap: 12px 20px; align-items: center; }
	.app .form > label, .app .form > .label { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--ink2); }
	.app .form > label.top { align-self: start; padding-top: 7px; }
	.app .form > .full { grid-column: 1 / -1; }
	.app .cards .form { grid-template-columns: minmax(90px, 130px) minmax(0, 1fr); gap: 12px 14px; } /* cards side by side: a narrower label column */
	.app .form input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), .app .form select, .app .form textarea { width: 100%; max-width: 420px; }
	.app .form .short { max-width: 140px !important; }
	.app .form .choices { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
	.app .form .choices label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--ink); }

.app #tabletx table.list { display: table; width: 100%; border: 0; border-radius: 0; box-shadow: none; background: transparent; border-collapse: collapse; }
	.app table.list > thead th { padding: 10px 12px; border-bottom: 1px solid var(--line); background: transparent; }
	.app table.list > tbody > tr > td { padding: 8px 12px; border-top: 0; border-bottom: 1px solid var(--line); }
	.app table.list > tbody > tr:last-child > td { border-bottom: 0; }
	.app table.list > * > tr > :first-child { padding-left: 20px; }
	.app table.list > * > tr > :last-child { padding-right: 20px; }
	.app table.list td.actions { width: 1%; white-space: nowrap; text-align: right; }
	.app table.list td.actions > * + * { margin-left: 6px; }
	.app table.list td.actions > * { vertical-align: middle; } /* a link beside an icon button sits level with it */
	.app table.list td.num, .app table.list th.num { text-align: right; }
	.app table.list > tfoot > tr > td { padding: 12px 20px; border-top: 1px solid var(--line); background: #FCFCFD; }
	.app table.list input:not([type=checkbox]):not([type=radio]), .app table.list select, .app table.list textarea { width: 100%; }
	.app table.list :is(input[type=text], input:not([type]), input[type=email], input[type=url], input[type=tel], textarea) { min-width: 120px; }
	.app table.list td.num input { min-width: 72px; text-align: right; } /* an amount needs less */ /* a text column never squeezes below a readable width; the card scrolls instead */

.app .toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
	.app .field { display: flex; flex-direction: column; gap: 4px; }
	.app .field > label { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink2); }
	.app .toolbar .buttons { display: flex; gap: 8px; }
	.app .toolbar select { min-width: 160px; max-width: 260px; } /* a long option name doesn't stretch the filter */

/* a list whose lines open their record (data-href) */
.app table.list.rows > tbody > tr { cursor: pointer; }
	.app table.list.rows > tbody > tr:hover > td { background: #F9FAFB; }
.app .person { display: inline-flex; align-items: center; gap: 10px; }
	.app .person img { width: 28px; height: 28px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); }
	.app .person b { font-weight: 500; }
.app .spacer { flex: 1; }
/* a record in the centred modal (tiplockcenter) */
.app .modal { width: 560px; max-width: 100%; }
	.app .modal .form { grid-template-columns: 110px minmax(0, 1fr); }
	.app .modal .card_head { display: block; padding-top: 14px; } /* a block, not flex, so its line runs under the popup's floated Close */
	.app .modal .card_foot { border-radius: 0; }
	.app .modal .card_foot + .card_foot { border-top: 0; padding-top: 0; } /* deactivating or removing: its own line below Save */
.app .delete { white-space: nowrap; }

/* on a phone: a form's labels go above their fields, and a list whose lines open records shows each line as a small card */
@media screen and (max-width: 640px) {
	.app .form, .app .cards .form, .app .modal .form { grid-template-columns: minmax(0, 1fr); gap: 4px; }
		.app .form > label:not(:first-child), .app .form > .label:not(:first-child) { margin-top: 10px; }
		.app .form > label.top { padding-top: 0; }
	.app table.list.rows { display: block; }
		.app table.list.rows > thead { display: none; }
		.app table.list.rows > tbody { display: block; }
		.app table.list.rows > tbody > tr { display: block; padding: 10px 16px; border-top: 1px solid var(--line); }
		.app table.list.rows > tbody > tr > td { display: block; padding: 1px 0; border: 0; text-align: left; }
		.app table.list.rows > tbody > tr > td:empty { display: none; }
		.app table.list.rows > tbody > tr > td + td { color: var(--muted); }
		.app table.list.rows > tbody > tr > td[data-label]::before { content: attr(data-label) " "; } /* a figure carries its label */
		.app table.list.rows > tbody > tr > td.actions { padding-top: 6px; }
	.app .modal { width: auto; }
}

.app .inline_add { display: flex; gap: 8px; align-items: center; max-width: 560px; }
	.app .inline_add input, .app .inline_add select { flex: 1; min-width: 0; }
.app .empty { padding: 28px 20px; text-align: center; color: var(--muted); }
.app .tip table.list { width: 100%; border-collapse: collapse; } /* a list in a popup fills it too */
/* a record's form: glue binds a record only inside a table, so a .form sits in the one cell of a headingless list */
.app table.list:not(:has(> thead)) > tbody > tr:only-child > td:only-child { padding: 20px; border: 0; }
.app table.list:not(:has(> thead)) > tbody > tr:only-child:hover > td { background: transparent; }
.app .picfield { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
	.app .picfield img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.app table.list td > img, .app table.list td > a > img { border-radius: 50%; object-fit: cover; vertical-align: middle; } /* people's photos in lists */
.app table.list td input[type=time] + input[type=time] { margin-top: 4px; } /* start above end */
.app .warning { color: #B42318; font-weight: 600; }
.app table.list select { min-width: 130px; }

/* figure tiles on the statistics pages */
.app .cards.tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.app .tile .card_body { padding: 14px 16px; }
.app .tile_value { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ink); }
.app .tile_label { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted); }

/* charts (fx:chart2) on the statistics pages: their numbers, labels and legend at body size */
.app .fxchart text, .app .fxchart-legend, .app .fxchart-key { font-size: 13px; }

/* a breakdown on the statistics pages: the main share as a figure, one bar of the parts, then a line a part */
.app .breakdown { --ok: #12B76A; --warn: #F79009; --bad: #F04438; display: flex; flex-direction: column; gap: 14px; }
.app .breakdown_head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.app .breakdown_figure { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ink); }
	.app .breakdown_figure.ok { color: #067647; }
.app .breakdown_label { font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ink); }
.app .breakdown_of { font-size: 12px; line-height: 20px; color: var(--muted); }
.app .breakdown_bar { display: flex; gap: 3px; height: 12px; border-radius: 6px; overflow: hidden; background: var(--line); }
.app .breakdown_seg { flex-basis: 0; min-width: 6px; }
	.app .breakdown_seg.ok { background: var(--ok); }
	.app .breakdown_seg.warn { background: var(--warn); }
	.app .breakdown_seg.bad { background: var(--bad); }
.app .breakdown.animate .breakdown_seg { transform-origin: left center; animation: breakdown_grow 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.app .breakdown.animate .breakdown_seg + .breakdown_seg { animation-delay: 0.08s; }
	.app .breakdown.animate .breakdown_seg + .breakdown_seg + .breakdown_seg { animation-delay: 0.16s; }
@keyframes breakdown_grow { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .app .breakdown.animate .breakdown_seg { animation: none; } }
.app .breakdown_rows { display: flex; flex-direction: column; }
.app .breakdown_row { display: grid; grid-template-columns: 10px 1fr auto 44px; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--ink2); }
	.app .breakdown_row:first-child { border-top: none; padding-top: 0; }
	.app .breakdown_row.sub { padding-left: 20px; border-top-style: dashed; }
	.app .breakdown_row > span { font-size: 13px; line-height: 20px; }
	.app .breakdown_row.sub > span { font-size: 12px; color: var(--muted); }
.app .breakdown_dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
	.app .breakdown_row.ok .breakdown_dot { background: var(--ok); }
	.app .breakdown_row.warn .breakdown_dot { background: var(--warn); }
	.app .breakdown_row.bad .breakdown_dot { background: var(--bad); }
.app .breakdown_count { font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.app .breakdown_pct { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.app .card_body > .cards:last-child { margin-bottom: 0; }

/* visitor cards (activity.xsl) inside each merchant on the Dashboard */
.app .visitor { margin-bottom: 10px; box-shadow: none; }
.app .visitor .card_head { min-height: 44px; padding: 8px 16px; }
.app .visitor_icon { width: 20px; height: 20px; }
.app .visitor .reachout { font-size: 12px; color: var(--muted); }
.app .visitor_page { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-start; padding: 12px 16px; border-top: 1px solid var(--line); }
	.app .visitor .card_head + .visitor_page { border-top: 0; }
.app .visitor_thumb { flex: none; border: 1px solid var(--line); border-radius: 6px; }
.app .visitor_page > svg { flex: none; }
.app .visitor_text { flex: 1 1 260px; min-width: 0; }
.app .visitor_title { font-weight: 500; color: var(--ink); }
.app .visitor_desc { font-size: 12px; line-height: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.app .visitor_source { margin-top: 6px; font-size: 12px; overflow-wrap: anywhere; }
.app .visitor table.timeline { margin-top: 6px; }
	.app .visitor table.timeline td { padding: 1px 8px 1px 0; font-size: 12px; color: var(--ink2); }
.app #tabletx table.plain { width: 100%; table-layout: fixed; border: 0; border-radius: 0; box-shadow: none; background: transparent; } /* a table there only to bind rows: no look of its own */
	.app table.plain > tbody > tr > td { padding: 0; border: 0; }
.app .muted { color: var(--muted); }
/*#endregion */

/*#region Auto responses (chatresponses.xsl): two equal cards, each a list of responses by section */
.app .resp_card { flex: 1 1 420px; min-width: 0; }
.app .resp_card h4 { margin: 18px 0 6px 0; font-size: 11px; line-height: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.app .resp_list { width: 100%; }
	.app .resp_list td { padding: 4px 0; }
	.app .resp_list td:first-child { width: 100%; }
	.app .resp_list .resp_del { padding-left: 8px; vertical-align: top; }
	.app .resp_list textarea { display: block; width: 100%; resize: vertical; }
	.app .resp_list tfoot td { padding-top: 6px; }
.app .resp_save { margin-top: 20px; }
/*#endregion */

/*#region Dashboard (overview.xsl): live visitors per merchant */
.app .live_head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	margin-bottom: 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: white;
	box-shadow: var(--shadow);
	cursor: default;
}
	.live_head_title { flex: 1; }
	.app .live_head_title b { display: block; font-size: 15px; line-height: 22px; font-weight: 600; }
	.app .live_head_title span { font-size: 12px; color: var(--muted); }
	.app .live_head .activitydiv { display: none; }

.app .dealership {
	margin: 0 0 8px 0;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: white;
	box-shadow: var(--shadow);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}
	.app .dealership:hover { background: white; color: inherit; border-color: var(--line2); }
	.app .dealership.expanded:hover { background: white !important; }
.app .dealer_name { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; }
.app .activitydiv { flex-basis: 100%; margin: 0; max-height: 480px; background: transparent; cursor: default; }
	.app .activitydiv:empty { display: none; }
	.app .activitydiv table td { padding: 6px 10px; vertical-align: top; border: 0; }
	.app .activitydiv table table td { padding: 1px 8px 1px 0; color: var(--ink2); font-size: 12px; }
	.app .activitydiv img.activity_thumb { border-radius: 6px; }
/*#endregion */

/* The dialling-code dropdowns: the flag before each code comes from the flag font (flags.css) */
.lor_cellcode {
	font-family: 'Twemoji Country Flags', 'Inter', sans-serif;
}

/*#region Sign-in pages (body class="auth"): Login, Login_forgot, Login_otp, Login_register, Login_register_user, Login_ChooseCompany.
	The dashboard's look on a page of its own: the language top right, one centred card (logo, heading, an error box,
	fields with their labels above, a full-width button, the secondary links), Contact and Terms at the foot. */
.auth {
	--ink: #101828;
	--ink2: #344054;
	--muted: #667085;
	--line: #EAECF0;
	--line2: #D0D5DD;
	--page: #F5F6F8;
	--primary: var(--lorblue);
	--primaryhover: #00387A;
	--ring: 0 0 0 3px rgba(0, 69, 147, 0.15);
	--shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
	--font: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: var(--page);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
}
	.auth, .auth * { font-family: var(--font) !important; box-sizing: border-box; }
	.auth .lor_cellcode, .auth .lor_cellcode option { font-family: 'Twemoji Country Flags', var(--font) !important; } /* its flags come from the flag font */

:where(.auth *), :where(.auth) p { font-size: 14px; line-height: 20px; } /* as little weight as the base rule: any class's own size wins */

/* the page: language top right, the card in the middle, the links at the foot */
.auth_top { display: flex; justify-content: flex-end; padding: 12px 16px; }
	.auth .auth_top select { width: auto; min-height: 30px; padding: 4px 28px 4px 10px; font-size: 12px; color: var(--ink2); }
.auth_main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px 40px 16px; }
.auth_foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; padding: 16px; }
	.auth .auth_foot a { font-size: 12px; line-height: 16px; color: var(--muted); }
	.auth .auth_foot a:hover { color: var(--ink); }

/* the card */
.auth_card {
	width: 100%;
	max-width: 400px;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: white;
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
}
	.auth_card.wide { max-width: 560px; }
.auth_logo { display: block; margin: 0 0 20px 0; text-align: center; }
	.auth_logo img { display: inline-block; width: 140px; height: auto; }
.auth h1 { display: block; margin: 0 0 24px 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; text-align: center; color: var(--ink); }
.auth a { color: var(--primary); text-decoration: none; }
	.auth a:hover { color: var(--primaryhover); }

/* the form: an error box, then the fields stacked with their labels above, then the button */
.auth_form { display: flex; flex-direction: column; gap: 16px; }
.auth_stepbox > * + * { margin-top: 16px; } /* a registration step: shown and hidden by script, so spaced without flex */
.auth_grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
	.auth_grid > .full { grid-column: 1 / -1; }
.auth .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
	.auth .field > label { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink2); }
.auth_error { padding: 10px 12px; border: 1px solid #FECDCA; border-radius: 8px; background: #FEF3F2; color: #B42318; font-size: 13px; line-height: 18px; font-weight: 500; }
	.auth_error:empty { display: none; }
	.auth form:not(.auth_form) > .auth_error:not(:empty) { margin-bottom: 16px; } /* the registration form is not a flex column */
.auth_step { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
	.auth .auth_step span { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
	.auth .auth_step .auth_stepno { letter-spacing: 0; color: #98A2B3; }

/* fields: 36px, a hairline border and the blue focus ring */
.auth input, .auth select, .auth textarea {
	width: 100%;
	min-height: 36px;
	margin: 0;
	padding: 7px 12px;
	border: 1px solid var(--line2);
	border-radius: 6px;
	background-color: white;
	color: var(--ink);
	font-size: 14px;
	line-height: 20px;
	box-shadow: var(--shadow);
	transition: border-color 0.15s, box-shadow 0.15s;
}
	.auth input:focus, .auth select:focus, .auth textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
	.auth textarea { resize: vertical; }
	.auth ::placeholder { color: #98A2B3; font-style: normal; }
.auth select { padding-right: 32px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23667085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.auth input[type=checkbox] { width: 16px; height: 16px; min-height: 0; padding: 0; flex: none; box-shadow: none; accent-color: var(--primary); }
.auth_check { display: inline-flex; align-items: center; gap: 8px; color: var(--ink2); cursor: pointer; }
.auth_phone { display: flex; gap: 8px; }
	.auth .auth_phone select { flex: none; width: auto; }
	.auth .auth_phone input { flex: 1; min-width: 0; }

/* the button: LOR blue, the card's width */
.auth .greenbutt {
	display: block;
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--primary);
	border-radius: 6px;
	background-color: var(--primary);
	color: white;
	font-size: 14px;
	line-height: 38px;
	font-weight: 600;
	text-align: center;
	text-transform: none;
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: background-color 0.15s, border-color 0.15s;
}
	.auth .greenbutt:hover { border-color: var(--primaryhover); background-color: var(--primaryhover); }
	.auth .greenbutt:focus-visible { outline: none; box-shadow: var(--ring); }
	.auth .auth_stepbox > .greenbutt { margin-top: 20px; } /* the step's spacing, which the button's own margin rule would cancel */

/* below the button: the secondary links and the terms line, small and muted */
.auth .auth_links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; }
	.auth .auth_links a { font-size: 13px; line-height: 18px; color: var(--muted); }
	.auth .auth_links a:hover { color: var(--primary); }
	.auth .auth_links a:only-child { margin: 0 auto; }
.auth .auth_note { margin: 0; font-size: 12px; line-height: 18px; color: var(--muted); }
	.auth .auth_note a { font-size: 12px; line-height: 18px; }

/* choosing a company: one row each, the list scrolls inside the card when long */
.auth_choices { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
.auth .auth_choice {
	display: block;
	padding: 11px 36px 11px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 3l3 3-3 3' fill='none' stroke='%23667085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: var(--ink);
	font-weight: 500;
	transition: border-color 0.15s, background-color 0.15s;
}
	.auth .auth_choice:hover { border-color: var(--primary); background-color: #F5F8FC; color: var(--primary); }

/* a phone: the card fills the width, pairs of fields stack */
@media (max-width: 560px) {
	.auth_grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
	.auth_main { align-items: flex-start; padding: 8px 16px 24px 16px; }
	.auth_card { padding: 24px 20px; }
	.auth_logo { margin-bottom: 16px; }
	.auth h1 { margin-bottom: 20px; }
}
/*#endregion */
