.custom-datagrid-scroll {
	width: max-content;
	overflow-x: auto;
}

.custom-datagrid-scroll-2 {
	overflow-x: visible;
	overflow-y: visible;
}

.nearest-payments-scroll {
	width: 100%;
	overflow-x: auto;
}

.nearest-payments-grid {
	min-width: max-content;
}

.nearest-payments-grid th,
.nearest-payments-grid td {
	white-space: nowrap;
}

.crm-status-tag-ellipsis {
	box-sizing: border-box;
	display: inline-block;
	max-width: 15rem;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	white-space: nowrap;
}


/* .commandbar .btn-tb - copied from .commandbar .btn-cb */
.commandbar .btn-tb {
	white-space: nowrap;
	background-color: transparent;
	text-transform: lowercase;
	color: #222;
	min-width: 0;
	min-height: 16px; /* !!! */
	padding: 0px 4px 0px 4px; /* !!! */
}

.commandbar .btn-tb:focus {
	outline: 1px dotted #9dacca;
	outline-offset: -2px;
}

.commandbar .btn-tb:hover {
	background-color: #fdf4bf;
	border-color: #e5c365;
	outline: 0;
}

.commandbar .btn-tb:active {
	background-color: #fff29d;
	box-shadow: 1px 1px 2px rgba(0,0,0,.2) inset;
	border-color: #e5c365;
	outline: 0;
}

.commandbar .btn-tb:disabled {
	color: #777;
}

.commandbar .btn-tb:disabled:hover {
	background-color: transparent;
	border-color: transparent;
}

.qf-flex-wrap {
    flex-wrap: wrap;
}

.ai-support-log-table {
	overflow-x: auto;
}

.ai-support-filter-groups {
	overflow-x: auto;
	background: #f7f9fb;
}

.ai-support-filter-row {
	min-width: max-content;
}

.ai-support-filter-row + .ai-support-filter-row {
	border-top: 1px solid #d8e0e7;
}

.ai-support-filter-title {
	color: #40566b;
}

.ai-support-agent-doc-logs {
	width: max-content;
	border-collapse: collapse;
	font-size: 12px;
}

.ai-support-agent-doc-logs th,
.ai-support-agent-doc-logs td {
	border: 1px solid #d8d8d8;
	padding: 4px 6px;
	max-width: 420px;
	vertical-align: top;
	white-space: pre-wrap;
	word-break: break-word;
}

.ai-support-agent-doc-logs th {
	position: sticky;
	top: 0;
	background: #f3f3f3;
	z-index: 1;
	white-space: nowrap;
}

.ai-support-session-logs .ai-support-chat-cell {
	min-width: 520px;
	max-width: 680px;
	white-space: normal;
}

.ai-support-session-logs .ai-support-automatic-classification-cell,
.ai-support-session-logs .ai-support-manual-classification-cell {
	min-width: 280px;
	max-width: 340px;
	white-space: normal;
}

.ai-support-chat-preview {
	max-height: 7.2em;
	overflow: hidden;
}

.ai-support-chat-full[hidden] {
	display: none;
}

.ai-support-chat-transcript {
	display: flex;
	flex-direction: column;
	gap: 8px;
	white-space: normal;
}

.ai-support-chat-message {
	max-width: 78%;
	padding: 7px 10px;
	border: 1px solid #d8e2ea;
	border-radius: 6px;
	white-space: pre-wrap;
	word-break: break-word;
	line-height: 1.35;
}

.ai-support-chat-question {
	align-self: flex-end;
	text-align: right;
	font-weight: 700;
	background: #eef7ff;
}

.ai-support-chat-answer {
	align-self: flex-start;
	text-align: left;
	font-weight: 400;
	background: #fff;
}

.ai-support-chat-open {
	margin-top: 6px;
	padding: 5px 12px;
	border: 1px solid #0b8f99;
	border-radius: 3px;
	background: #12a5ad;
	color: #fff;
	font-weight: 700;
	text-transform: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
	cursor: pointer;
}

.ai-support-chat-open:hover,
.ai-support-chat-open:focus {
	background: #0b8f99;
	border-color: #087780;
	color: #fff;
	outline: 0;
}

.ai-support-chat-modal-backdrop {
	position: fixed;
	z-index: 2000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .35);
}

.ai-support-chat-modal {
	width: min(980px, calc(100vw - 48px));
	max-height: calc(100vh - 64px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #b8c8d6;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
}

.ai-support-chat-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	font-weight: 700;
	border-bottom: 1px solid #d8d8d8;
	background: #f3f7fa;
}

.ai-support-chat-modal-close {
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.ai-support-chat-modal-body {
	padding: 14px;
	overflow: auto;
}

.ai-support-assessment {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ai-support-assessment-item {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	align-items: start;
	gap: 6px;
}

.ai-support-assessment-label {
	padding-top: 2px;
	color: #667;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.ai-support-assessment-item .tag-label {
	width: fit-content;
	max-width: 100%;
	white-space: normal;
}

.ai-support-manual-heading {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 2px;
}

.ai-support-manual-meta {
	margin-top: 2px;
	color: #667;
	font-size: 10px;
	line-height: 1.35;
}

.ai-support-manual-comment {
	max-height: 3.7em;
	overflow: hidden;
	padding: 6px 8px;
	border-left: 3px solid #b8a3df;
	background: #f7f3fc;
	color: #4b3e5f;
	font-size: 11px;
	line-height: 1.35;
}

.ai-support-manual-empty {
	padding: 8px;
	border: 1px dashed #c8d2d8;
	border-radius: 4px;
	background: #fafcfd;
	color: #667;
	font-size: 11px;
	text-align: center;
}

.ai-support-classification-controls {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}

.ai-support-classification-controls .btn {
	min-height: 26px;
	padding: 3px 7px;
	border: 1px solid #b8c8d6;
	border-radius: 3px;
	background: #f7fafc;
	color: #1d5961;
	font-size: 11px;
	font-weight: 700;
	text-transform: none;
	cursor: pointer;
}

.ai-support-classification-controls .btn:hover,
.ai-support-classification-controls .btn:focus {
	border-color: #0b8f99;
	background: #eaf7f8;
	outline: 0;
}

.ai-support-classification-modal {
	width: min(760px, calc(100vw - 48px));
}

.ai-support-classification-modal-body {
	padding: 14px;
	overflow: auto;
}

.ai-support-classification-session {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
	padding: 8px 10px;
	border-radius: 4px;
	background: #f3f7fa;
	font-size: 12px;
}

.ai-support-classification-session span {
	color: #667;
}

.ai-support-classification-session strong {
	min-width: 0;
	overflow-wrap: anywhere;
}

.ai-support-classification-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ai-support-classification-form label {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-weight: 700;
}

.ai-support-classification-form label > span {
	font-size: 12px;
}

.ai-support-classification-form select,
.ai-support-classification-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #b8c8d6;
	border-radius: 4px;
	background: #fff;
	color: #222;
	font: inherit;
}

.ai-support-classification-form select {
	height: 34px;
	padding: 4px 8px;
}

.ai-support-classification-form textarea {
	min-height: 88px;
	padding: 8px;
	resize: vertical;
}

.ai-support-classification-comment {
	margin-top: 12px;
}

.ai-support-classification-comment small {
	font-weight: 400;
	color: #667;
}

.ai-support-classification-error {
	min-height: 18px;
	margin-top: 8px;
	color: #b20d30;
	font-size: 12px;
}

.ai-support-classification-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.ai-support-classification-actions .btn {
	min-height: 34px;
	padding: 6px 14px;
	border: 1px solid #9eb2bf;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

.ai-support-classification-actions .btn-primary {
	border-color: #0b8f99;
	background: #12a5ad;
	color: #fff;
	font-weight: 700;
}

.ai-support-classification-actions .btn:disabled {
	opacity: .65;
	cursor: wait;
}

@media (max-width: 680px) {
	.ai-support-classification-modal {
		width: calc(100vw - 16px);
		max-height: calc(100dvh - 16px);
	}

	.ai-support-classification-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ai-analytics-session-logs .ai-analytics-chat-cell {
	min-width: 520px;
	max-width: 680px;
	white-space: normal;
}

.ai-analytics-session-logs .ai-analytics-trace-cell {
	min-width: 180px;
	max-width: 220px;
	white-space: normal;
}

.ai-analytics-chat-preview {
	max-height: 7.2em;
	overflow: hidden;
}

.ai-analytics-session-details-hidden[hidden] {
	display: none;
}

.ai-analytics-details-open {
	margin-top: 6px;
	padding: 5px 12px;
	border: 1px solid #0b8f99;
	border-radius: 3px;
	background: #12a5ad;
	color: #fff;
	font-weight: 700;
	text-transform: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
	cursor: pointer;
}

.ai-analytics-details-open:hover,
.ai-analytics-details-open:focus {
	background: #0b8f99;
	border-color: #087780;
	color: #fff;
	outline: 0;
}

.ai-analytics-chat-modal-backdrop {
	position: fixed;
	z-index: 2000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .35);
}

.ai-analytics-chat-modal {
	width: min(1100px, calc(100vw - 48px));
	max-height: calc(100vh - 64px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #b8c8d6;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
}

.ai-analytics-chat-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	font-weight: 700;
	border-bottom: 1px solid #d8d8d8;
	background: #f3f7fa;
}

.ai-analytics-chat-modal-close {
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.ai-analytics-chat-modal-body {
	padding: 14px;
	overflow: auto;
}

.ai-analytics-help-modal {
	width: min(860px, calc(100vw - 48px));
}

.ai-analytics-session-details {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 14px;
	align-items: start;
}

.ai-analytics-session-main {
	min-width: 0;
}

.ai-analytics-session-sidebar {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.ai-analytics-detail-section {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ai-analytics-detail-title {
	font-size: 13px;
	font-weight: 700;
	color: #52657d;
	text-transform: uppercase;
}

.ai-analytics-help-section + .ai-analytics-help-section {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #d8e2ea;
}

.ai-analytics-detail-list {
	margin: 0;
	padding-left: 18px;
}

.ai-analytics-detail-pre {
	margin: 0;
	white-space: pre-wrap;
	word-break: break-word;
}

.ai-analytics-trace-summary {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ai-analytics-trace-summary > div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ai-analytics-trace-summary .tag-label {
	display: inline-block;
	margin: 0;
	white-space: nowrap;
}

@media (max-width: 980px) {
	.ai-analytics-session-details {
		grid-template-columns: minmax(0, 1fr);
	}
}
.support-schedule { padding: 12px; min-width: 900px; }
.support-schedule-editor { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; padding: 12px; margin-bottom: 10px; background: #f5f7fa; border: 1px solid #dce1e7; border-radius: 4px; }
.support-schedule-editor label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: #5a6470; }
.support-schedule-editor input, .support-schedule-editor select { min-width: 130px; height: 32px; padding: 4px 7px; border: 1px solid #bfc7d1; border-radius: 3px; background: white; }
.support-schedule-editor .ss-comment input { min-width: 190px; }
.support-schedule-legend { display: flex; gap: 8px; align-items: center; margin: 8px 0; color: #59636e; }
.support-schedule-legend .ss-dot { width: 12px; height: 12px; border-radius: 3px; margin-left: 8px; }
.support-schedule-week { margin-bottom: 18px; scroll-margin-top: 8px; }
.support-schedule-table-wrap { overflow: auto; border: 2px solid #21aebe; }
.support-schedule-table { border-collapse: collapse; background: white; }
.support-schedule-table th, .support-schedule-table td { border: 1px solid #aeb8c2; text-align: center; white-space: nowrap; }
.support-schedule-week-grid { width: max-content; min-width: 100%; table-layout: fixed; }
.support-schedule-week-grid thead th { background: #cfe9c0; border-color: #21aebe; }
.support-schedule-week-grid .ss-week-label { position: sticky; left: 0; z-index: 3; min-width: 112px; width: 112px; background: #d8ecf1; color: #17485c; font-size: 14px; font-weight: 700; }
.support-schedule-week-grid .ss-week-day { height: 28px; font-size: 13px; }
.support-schedule-week-grid .ss-week-date { height: 27px; font-size: 12px; }
.support-schedule-week-grid .ss-weekend { background: #f5c7c7; }
.support-schedule-week-grid .ss-outside { opacity: .58; }
.support-schedule-week-grid .ss-slot-employee { min-width: 36px; width: 36px; height: 88px; padding: 3px 0; writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 700; background: #e3eef1; color: #1f3d4b; }
.support-schedule-week-grid .ss-time { position: sticky; left: 0; z-index: 2; min-width: 112px; width: 112px; height: 25px; padding: 2px 6px; background: #e1f2f4; border-color: #21aebe; color: #123f4a; font-size: 12px; font-weight: 600; }
.support-schedule-week-grid .ss-slot { min-width: 36px; width: 36px; height: 25px; padding: 0; cursor: pointer; font-size: 10px; }
.support-schedule-week-grid .ss-slot.ss-weekend.ss-empty { background: #fce7e7; }
.ss-week-totals { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 7px 10px; background: #dcecf2; border: 1px solid #74b6c4; border-top: 0; }
.support-schedule-table .ss-cell:hover { box-shadow: inset 0 0 0 2px #1265bf; }
.support-schedule-table .ss-cell.ss-selected { box-shadow: inset 0 0 0 3px #075ed1; background: #b9d7ff !important; }
.support-schedule-table .ss-work, .support-schedule-legend .ss-work { background: #8fc77d; color: #174e25; }
.support-schedule-table .ss-leave, .support-schedule-legend .ss-leave { background: #ffd464; color: #664500; }
.support-schedule-table .ss-sick, .support-schedule-legend .ss-sick { background: #ef9ca3; color: #6e1220; }
.support-schedule-week-grid .ss-slot.ss-work { border-color: #3f884a !important; box-shadow: inset 0 0 0 1px rgba(27, 91, 38, .34); }
.support-schedule-week-grid .ss-slot.ss-leave { border-color: #bb8c10 !important; box-shadow: inset 0 0 0 1px rgba(122, 86, 0, .32); }
.support-schedule-week-grid .ss-slot.ss-sick { border-color: #b84957 !important; box-shadow: inset 0 0 0 1px rgba(116, 18, 31, .30); }
.support-schedule-table .ss-empty { color: #a6adb5; }

/*
 * Lightweight mobile admin shell.
 * Activated only for adm.quincefin.dev or the local ?mobile=1 preview flag.
 */
.qf-mobile-admin {
	--qf-mobile-ink: #16383d;
	--qf-mobile-muted: #6b7d80;
	--qf-mobile-brand: #0b7f86;
	--qf-mobile-brand-dark: #07545a;
	--qf-mobile-accent: #e7b85a;
	--qf-mobile-surface: #ffffff;
	--qf-mobile-canvas: #f2f7f6;
	--qf-mobile-border: #d9e7e5;
	--qf-mobile-header-height: 56px;
	--qf-mobile-switcher-height: 52px;
	--qf-mobile-nav-height: 72px;
}

.qf-mobile-admin body {
	background: var(--qf-mobile-canvas);
	color: var(--qf-mobile-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.qf-mobile-admin .header,
.qf-mobile-admin header {
	height: var(--qf-mobile-header-height);
	padding: 0 14px;
	background: linear-gradient(120deg, #073e45, #0b6970);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 6px 24px rgba(13, 61, 66, .16);
	z-index: 40;
}

.qf-mobile-admin .header .h-menu,
.qf-mobile-admin header .h-menu,
.qf-mobile-admin .header .app-subtitle,
.qf-mobile-admin header .app-subtitle,
.qf-mobile-admin .header > a.nav-admin,
.qf-mobile-admin header > a.nav-admin {
	display: none;
}

.qf-mobile-admin .header .h-block .app-title,
.qf-mobile-admin header .h-block .app-title {
	font-size: 15px;
	font-weight: 750;
	letter-spacing: .02em;
}

.qf-mobile-admin .header .h-block .app-logo,
.qf-mobile-admin header .h-block .app-logo {
	padding-right: 8px;
}

.qf-mobile-admin .qf-mobile-page-title {
	position: absolute;
	left: 50%;
	max-width: 52vw;
	transform: translateX(-50%);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 15px;
	font-weight: 650;
	letter-spacing: .01em;
}

.qf-mobile-admin .header .aligner,
.qf-mobile-admin header .aligner {
	flex-grow: 1;
}

.qf-mobile-admin .header .btn,
.qf-mobile-admin header .btn {
	min-width: 42px;
	height: 44px;
	border-radius: 12px;
}

.qf-mobile-admin .nav-bar,
.qf-mobile-admin .side-bar,
.qf-mobile-admin .side-bar-compact,
.qf-mobile-admin .footer,
.qf-mobile-admin footer {
	display: none !important;
}

.qf-mobile-admin .content-view,
.qf-mobile-admin .content-view.partial-page,
.qf-mobile-admin .content-view.full-page,
.qf-mobile-admin .content-view.full-view,
.qf-mobile-admin .nav-bar-menu .content-view.partial-page,
.qf-mobile-admin .nav-bar-menu .content-view.full-page {
	left: 0 !important;
	top: var(--qf-mobile-header-height) !important;
	bottom: var(--qf-mobile-nav-height) !important;
	background: var(--qf-mobile-canvas);
}

.qf-mobile-admin.qf-route-tenant-search .content-view,
.qf-mobile-admin.qf-route-tenant-segment .content-view {
	top: calc(var(--qf-mobile-header-height) + var(--qf-mobile-switcher-height)) !important;
}

.qf-mobile-admin .page.page-grid {
	background: var(--qf-mobile-canvas);
	grid-template-rows: auto minmax(0, 1fr) auto;
}

.qf-mobile-admin .page.page-grid .page-content {
	padding: 10px;
	-webkit-overflow-scrolling: touch;
}

.qf-mobile-admin .page.page-grid .page-toolbar {
	border-bottom: 1px solid var(--qf-mobile-border);
	background: rgba(255, 255, 255, .94);
}

.qf-mobile-admin .toolbar {
	gap: 6px;
	padding: 8px 10px;
	background: transparent;
	color: var(--qf-mobile-ink);
	-webkit-overflow-scrolling: touch;
}

.qf-mobile-admin .toolbar > .separator {
	display: none;
}

.qf-mobile-admin .toolbar .btn {
	min-height: 38px;
	padding: 7px 11px;
	border-radius: 10px;
	border-color: var(--qf-mobile-border);
	background: #fff;
	box-shadow: 0 1px 2px rgba(13, 65, 69, .06);
}

.qf-mobile-admin .toolbar .btn-primary,
.qf-mobile-admin .toolbar .btn.btn-primary {
	border-color: var(--qf-mobile-brand);
	background: var(--qf-mobile-brand);
	color: #fff;
}

.qf-mobile-admin .control-group .input-group {
	min-height: 40px;
	border-radius: 10px;
	border-color: #bed3d1;
	background: #fff;
	box-shadow: 0 1px 2px rgba(13, 65, 69, .04);
}

.qf-mobile-admin .control-group .input-group input,
.qf-mobile-admin .control-group .input-group select {
	font-size: 16px;
}

.qf-mobile-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	height: var(--qf-mobile-nav-height);
	padding: 7px max(6px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
	border-top: 1px solid rgba(9, 75, 80, .13);
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 -8px 28px rgba(21, 64, 67, .09);
	backdrop-filter: blur(14px);
}

.qf-mobile-nav-item {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 3px;
	border-radius: 12px;
	color: #64787b;
	font-size: 10px;
	font-weight: 650;
	line-height: 1;
	text-decoration: none;
}

.qf-mobile-nav-item:hover,
.qf-mobile-nav-item:focus {
	color: var(--qf-mobile-brand-dark);
	text-decoration: none;
}

.qf-mobile-nav-item.active {
	background: #e4f3f2;
	color: var(--qf-mobile-brand-dark);
}

.qf-mobile-nav-item svg {
	width: 23px;
	height: 23px;
}

.qf-mobile-segment-switcher {
	position: fixed;
	left: 0;
	right: 0;
	top: var(--qf-mobile-header-height);
	z-index: 35;
	display: flex;
	align-items: center;
	gap: 6px;
	height: var(--qf-mobile-switcher-height);
	padding: 7px 10px;
	overflow-x: auto;
	border-bottom: 1px solid var(--qf-mobile-border);
	background: rgba(242, 247, 246, .96);
	box-shadow: 0 3px 14px rgba(15, 65, 69, .05);
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.qf-mobile-segment-switcher::-webkit-scrollbar {
	display: none;
}

.qf-mobile-segment-switcher a {
	display: inline-flex;
	min-width: 42px;
	height: 36px;
	align-items: center;
	justify-content: center;
	padding: 0 13px;
	border: 1px solid var(--qf-mobile-border);
	border-radius: 18px;
	background: #fff;
	color: #547074;
	font-size: 13px;
	font-weight: 650;
	white-space: nowrap;
	text-decoration: none;
}

.qf-mobile-segment-switcher a.active {
	border-color: var(--qf-mobile-brand);
	background: var(--qf-mobile-brand);
	color: #fff;
	box-shadow: 0 5px 16px rgba(11, 127, 134, .2);
}

.qf-mobile-admin .data-grid-container,
.qf-mobile-admin .data-grid-container.fixed-header,
.qf-mobile-admin .data-grid-container.fixed-header > .data-grid-body.fixed-header {
	height: auto;
	min-height: 0;
	overflow: visible;
	margin-top: 0;
}

.qf-mobile-admin .custom-datagrid-scroll,
.qf-mobile-admin .custom-datagrid-scroll-2 {
	width: 100%;
	overflow: visible;
}

.qf-mobile-admin table.qf-mobile-card-grid,
.qf-mobile-admin table.qf-mobile-card-grid > tbody {
	display: block;
	width: 100%;
}

.qf-mobile-admin table.qf-mobile-card-grid colgroup,
.qf-mobile-admin table.qf-mobile-card-grid > thead {
	display: none;
}

.qf-mobile-admin table.qf-mobile-card-grid > tbody > tr.dg-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
	margin: 0 0 10px;
	padding: 14px;
	border: 1px solid var(--qf-mobile-border);
	border-radius: 16px;
	background: var(--qf-mobile-surface) !important;
	box-shadow: 0 5px 20px rgba(15, 71, 74, .065);
	cursor: pointer;
}

.qf-mobile-admin table.qf-mobile-card-grid > tbody > tr.dg-row.active {
	border-color: var(--qf-mobile-brand);
	box-shadow: 0 0 0 2px rgba(11, 127, 134, .12), 0 7px 20px rgba(15, 71, 74, .08);
}

.qf-mobile-admin table.qf-mobile-card-grid > tbody > tr.dg-row > td {
	display: none;
	min-width: 0;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	color: var(--qf-mobile-ink);
	font-size: 14px;
	line-height: 1.35;
	word-break: break-word;
}

.qf-mobile-admin table.qf-mobile-card-grid > tbody > tr.dg-row > td::before {
	display: block;
	margin-bottom: 3px;
	content: attr(data-label);
	color: var(--qf-mobile-muted);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .055em;
	line-height: 1.2;
	text-transform: uppercase;
}

.qf-mobile-admin table.qf-mobile-card-grid td[data-field="id"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="status"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="segment"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="login"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="tariff"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="вартість"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="activeto"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="lasttrdate"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="users-max"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="comp-max"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="crm"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="ai"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="crmstatus"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="crm-статус"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="activity-date"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="phone-number"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="phonenumber"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="останній-коментар"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="admin-user-name"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="adm-personname"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="adm-phone"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="created"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="cntusers"] {
	display: block !important;
}

.qf-mobile-admin table.qf-mobile-card-grid td[data-field="id"] {
	grid-column: 1;
	font-size: 20px;
	font-weight: 800;
	color: var(--qf-mobile-brand-dark);
}

.qf-mobile-admin table.qf-mobile-card-grid td[data-field="status"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="crmstatus"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="crm-статус"] {
	align-self: start;
}

.qf-mobile-admin table.qf-mobile-card-grid td[data-field="login"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="admin-user-name"],
.qf-mobile-admin table.qf-mobile-card-grid td[data-field="останній-коментар"] {
	grid-column: 1 / -1;
}

.qf-mobile-admin table.qf-mobile-card-grid td[data-field="останній-коментар"] {
	padding-top: 9px;
	border-top: 1px solid #edf2f1 !important;
	color: #39575b;
}

.qf-mobile-admin table.qf-mobile-card-grid .tag-label {
	margin: 0;
	border-radius: 999px;
	padding: 4px 8px;
	font-size: 12px;
}

.qf-mobile-admin .data-grid-empty {
	position: static !important;
	margin: 20px 0 !important;
	padding: 24px;
	border: 1px dashed #bdd2d0;
	border-radius: 16px;
	background: rgba(255, 255, 255, .8);
	color: var(--qf-mobile-muted);
	text-align: center;
}

.qf-mobile-admin .qf-tenant-search-page .page-content {
	padding: 0;
}

.qf-mobile-admin .qf-tenant-search {
	width: min(680px, calc(100% - 20px));
	margin: 0 auto;
	padding: 18px 0 32px;
}

.qf-mobile-admin .qf-tenant-search-form {
	padding: 15px;
	border: 1px solid var(--qf-mobile-border);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 7px 24px rgba(15, 71, 74, .07);
}

.qf-mobile-admin .qf-tenant-search-form > label {
	display: block;
	margin: 0 0 7px;
	color: var(--qf-mobile-muted);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .035em;
}

.qf-mobile-admin .qf-tenant-search-control {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.qf-mobile-admin .qf-tenant-search-control input {
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #b9cfcd;
	border-radius: 12px;
	background: #fbfdfd;
	color: var(--qf-mobile-ink);
	font-size: 18px;
	font-weight: 650;
	outline: none;
}

.qf-mobile-admin .qf-tenant-search-control input:focus {
	border-color: var(--qf-mobile-brand);
	box-shadow: 0 0 0 3px rgba(11, 127, 134, .13);
}

.qf-mobile-admin .qf-tenant-search-control button,
.qf-mobile-admin .qf-tenant-open {
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: var(--qf-mobile-brand);
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	box-shadow: 0 6px 16px rgba(11, 127, 134, .2);
	cursor: pointer;
}

.qf-mobile-admin .qf-tenant-search-control button:hover,
.qf-mobile-admin .qf-tenant-search-control button:focus,
.qf-mobile-admin .qf-tenant-open:hover,
.qf-mobile-admin .qf-tenant-open:focus {
	background: var(--qf-mobile-brand-dark);
}

.qf-mobile-admin .qf-search-intro,
.qf-mobile-admin .qf-search-message {
	margin-top: 12px;
	padding: 22px 18px;
	border: 1px dashed #b8d0ce;
	border-radius: 17px;
	background: rgba(255, 255, 255, .68);
}

.qf-mobile-admin .qf-search-intro h2 {
	margin: 5px 0 7px;
	font-size: clamp(22px, 6vw, 30px);
	line-height: 1.15;
}

.qf-mobile-admin .qf-search-intro p {
	margin: 0;
	color: var(--qf-mobile-muted);
	font-size: 14px;
	line-height: 1.55;
}

.qf-mobile-admin .qf-search-kicker {
	color: var(--qf-mobile-brand);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.qf-mobile-admin .qf-search-message {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 5px;
	color: #557075;
}

.qf-mobile-admin .qf-search-message.error {
	border-style: solid;
	border-color: #eac8c4;
	background: #fff8f7;
	color: #8e342b;
}

.qf-mobile-admin .qf-search-message.loading {
	align-items: center;
	flex-direction: row;
}

.qf-mobile-admin .qf-search-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid #b9d5d4;
	border-top-color: var(--qf-mobile-brand);
	border-radius: 50%;
	animation: qf-mobile-spin .8s linear infinite;
}

@keyframes qf-mobile-spin {
	to { transform: rotate(360deg); }
}

.qf-mobile-admin .qf-tenant-result {
	margin-top: 12px;
	padding: 18px;
	border: 1px solid var(--qf-mobile-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(15, 71, 74, .085);
}

.qf-mobile-admin .qf-tenant-result-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.qf-mobile-admin .qf-tenant-result-heading h2 {
	margin: 4px 0 0;
	font-size: 25px;
	line-height: 1.1;
}

.qf-mobile-admin .qf-tenant-status {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	background: #e6f3f2;
	color: var(--qf-mobile-brand-dark);
	font-size: 11px;
	font-weight: 750;
	text-align: center;
}

.qf-mobile-admin .qf-tenant-result-login {
	margin-top: 11px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f1f6f5;
	font-size: 15px;
	font-weight: 650;
	word-break: break-word;
}

.qf-mobile-admin .qf-tenant-result-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	margin: 17px 0;
}

.qf-mobile-admin .qf-tenant-result-grid > div {
	min-width: 0;
}

.qf-mobile-admin .qf-tenant-result-grid dt,
.qf-mobile-admin .qf-tenant-comment > span {
	margin-bottom: 3px;
	color: var(--qf-mobile-muted);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.qf-mobile-admin .qf-tenant-result-grid dd {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	word-break: break-word;
}

.qf-mobile-admin .qf-tenant-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: -3px 0 14px;
}

.qf-mobile-admin .qf-tenant-flags span {
	padding: 4px 9px;
	border-radius: 999px;
	background: #fff1cc;
	color: #73510f;
	font-size: 11px;
	font-weight: 750;
}

.qf-mobile-admin .qf-tenant-comment {
	margin: 0 0 15px;
	padding: 12px;
	border-radius: 11px;
	background: #f7f9f9;
	color: #405c60;
	font-size: 13px;
	line-height: 1.5;
	white-space: pre-wrap;
}

.qf-mobile-admin .qf-tenant-comment > span {
	display: block;
}

.qf-mobile-admin .qf-tenant-open {
	width: 100%;
}

.qf-mobile-admin.qf-route-tenant-segment .page-toolbar > .stack-panel,
.qf-mobile-admin.qf-route-tenant-segment .page-toolbar .stack-panel {
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.qf-mobile-admin.qf-route-tenant-segment .page-toolbar .toolbar {
	flex-wrap: nowrap;
	min-width: max-content;
}

.qf-mobile-admin.qf-route-tenant-search .page-toolbar .toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
}

.qf-mobile-admin.qf-route-tenant-search .page-toolbar .qf-tenant-search-input,
.qf-mobile-admin.qf-route-tenant-search .page-toolbar .qf-tenant-search-input .input-group {
	width: 100% !important;
}

.qf-mobile-admin.qf-route-ai-support .page-toolbar .toolbar {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: end;
}

.qf-mobile-admin.qf-route-ai-support .page-toolbar .control-group,
.qf-mobile-admin.qf-route-ai-support .page-toolbar .control-group .input-group {
	width: 100% !important;
}

.qf-mobile-admin.qf-route-ai-support .page-toolbar .toolbar > :first-child {
	grid-column: 1 / -1;
}

.qf-mobile-admin.qf-route-ai-support .page-toolbar .toolbar > span {
	display: none;
}

.qf-mobile-admin .ai-support-log-table {
	border: 0 !important;
	overflow: visible;
}

.qf-mobile-admin table.qf-mobile-html-grid,
.qf-mobile-admin table.qf-mobile-html-grid > tbody {
	display: block;
	width: 100%;
}

.qf-mobile-admin table.qf-mobile-html-grid > thead {
	display: none;
}

.qf-mobile-admin table.qf-mobile-html-grid > tbody > tr {
	display: block;
	margin-bottom: 12px;
	padding: 14px;
	border: 1px solid var(--qf-mobile-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 5px 20px rgba(15, 71, 74, .065);
}

.qf-mobile-admin table.qf-mobile-html-grid > tbody > tr > td {
	display: block;
	min-width: 0 !important;
	max-width: none !important;
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid #edf2f1;
	white-space: normal;
	word-break: break-word;
}

.qf-mobile-admin table.qf-mobile-html-grid > tbody > tr > td:last-child {
	border-bottom: 0;
}

.qf-mobile-admin table.qf-mobile-html-grid > tbody > tr > td::before {
	display: block;
	margin-bottom: 4px;
	content: attr(data-label);
	color: var(--qf-mobile-muted);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.qf-mobile-admin table.qf-mobile-html-grid .ai-support-chat-cell,
.qf-mobile-admin table.qf-mobile-html-grid .ai-support-chat-message {
	min-width: 0;
	max-width: 100%;
}

.qf-mobile-admin .ai-support-chat-open {
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 10px;
	background: var(--qf-mobile-brand);
}

.qf-mobile-admin .ai-support-chat-modal {
	width: min(720px, calc(100vw - 20px));
	max-height: calc(100dvh - 24px);
	border: 0;
	border-radius: 18px;
	overflow: hidden;
}

.qf-mobile-admin .support-schedule {
	min-width: 0;
	padding: 10px 2px 18px;
}

.qf-mobile-admin .support-schedule-editor {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 12px;
	border-color: var(--qf-mobile-border);
	border-radius: 14px;
	background: #fff;
}

.qf-mobile-admin .support-schedule-editor label,
.qf-mobile-admin .support-schedule-editor input,
.qf-mobile-admin .support-schedule-editor select {
	min-width: 0;
	width: 100%;
}

.qf-mobile-admin .support-schedule-editor input,
.qf-mobile-admin .support-schedule-editor select {
	height: 42px;
	border-color: #bed3d1;
	border-radius: 10px;
	font-size: 16px;
}

.qf-mobile-admin .support-schedule-editor .ss-comment {
	grid-column: 1 / -1;
}

.qf-mobile-admin .support-schedule-editor .btn {
	min-height: 42px;
	border-radius: 10px;
}

.qf-mobile-admin .support-schedule-legend {
	flex-wrap: wrap;
	gap: 5px 8px;
	padding: 3px 4px;
	font-size: 12px;
}

.qf-mobile-admin .support-schedule-legend .ss-dot {
	margin-left: 2px;
}

.qf-mobile-admin .support-schedule-week {
	margin-bottom: 14px;
	border-radius: 14px;
	box-shadow: 0 5px 20px rgba(15, 71, 74, .055);
}

.qf-mobile-admin .support-schedule-table-wrap {
	border-width: 1px;
	border-color: #72bcc1;
	border-radius: 14px 14px 0 0;
	-webkit-overflow-scrolling: touch;
}

.qf-mobile-admin .support-schedule-week-grid .ss-week-label,
.qf-mobile-admin .support-schedule-week-grid .ss-time {
	min-width: 70px;
	width: 70px;
}

.qf-mobile-admin .support-schedule-week-grid .ss-slot-employee,
.qf-mobile-admin .support-schedule-week-grid .ss-slot {
	min-width: 31px;
	width: 31px;
}

.qf-mobile-admin .ss-week-totals {
	gap: 7px 12px;
	padding: 9px 10px;
	border-color: #b6d8da;
	border-radius: 0 0 14px 14px;
	font-size: 12px;
}

.qf-mobile-admin.qf-route-support-schedule .page-toolbar .toolbar {
	justify-content: space-between;
}

.qf-mobile-admin.qf-route-support-schedule .page-toolbar .toolbar > span {
	font-size: 15px;
}

.qf-mobile-admin.qf-mobile-auth .qf-mobile-bottom-nav,
.qf-mobile-admin.qf-mobile-auth .qf-mobile-segment-switcher,
.qf-mobile-admin.qf-mobile-auth .qf-mobile-page-title {
	display: none;
}

.qf-mobile-admin.qf-mobile-auth .content-view,
.qf-mobile-admin.qf-mobile-auth .content-view.partial-page,
.qf-mobile-admin.qf-mobile-auth .content-view.full-page,
.qf-mobile-admin.qf-mobile-auth .content-view.full-view {
	top: var(--qf-mobile-header-height) !important;
	bottom: 0 !important;
}

@media (max-width: 680px) {
	.qf-mobile-admin .header .h-block .app-title,
	.qf-mobile-admin header .h-block .app-title,
	.qf-mobile-admin .header .h-block .app-logo,
	.qf-mobile-admin header .h-block .app-logo {
		display: none;
	}

	.qf-mobile-admin .qf-mobile-page-title {
		left: 14px;
		max-width: calc(100vw - 110px);
		transform: none;
	}

	.qf-mobile-admin .page.page-grid .page-content {
		padding: 8px;
	}

	.qf-mobile-admin table.qf-mobile-card-grid > tbody > tr.dg-row {
		gap: 9px 12px;
		padding: 13px;
		border-radius: 14px;
	}

	.qf-mobile-admin.qf-route-tenant-search .page-toolbar .toolbar {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.qf-mobile-admin.qf-route-tenant-search .page-toolbar .toolbar .btn:nth-of-type(n+2) {
		display: none;
	}

	.qf-mobile-admin.qf-route-ai-support .page-toolbar .toolbar {
		grid-template-columns: minmax(0, 1fr);
		max-height: 235px;
		overflow-y: auto;
	}

	.qf-mobile-admin.qf-route-ai-support .page-toolbar .toolbar > :first-child {
		grid-column: 1;
	}

	.qf-mobile-admin .modal-stack .modal-wrapper,
	.qf-mobile-admin .inline-modal-wrapper {
		padding: 0;
	}

	.qf-mobile-admin .modal-stack .modal-wrapper .modal-window:not(.modal-small),
	.qf-mobile-admin .inline-modal-wrapper .modal-window:not(.modal-small) {
		width: 100vw !important;
		height: 100dvh !important;
		max-width: none !important;
		margin: 0;
		border-radius: 0;
	}

	.qf-mobile-admin .modal-header {
		min-height: 54px;
		padding: 10px 12px;
		background: #e5f1ef;
		cursor: default;
	}

	.qf-mobile-admin .modal-footer {
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	}

	.qf-mobile-admin .modal-footer .btn {
		min-height: 42px;
		margin-left: 0 !important;
		border-radius: 10px;
	}

	.qf-mobile-admin .ai-support-chat-modal-backdrop {
		align-items: stretch;
		padding: 8px;
	}

	.qf-mobile-admin .ai-support-chat-modal {
		width: 100%;
		max-height: none;
		border-radius: 14px;
	}
}

@media (min-width: 900px) {
	.qf-mobile-admin table.qf-mobile-card-grid > tbody,
	.qf-mobile-admin .ai-support-log-table > div > table.qf-mobile-html-grid > tbody {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		align-items: start;
	}

	.qf-mobile-admin table.qf-mobile-card-grid > tbody > tr.dg-row,
	.qf-mobile-admin table.qf-mobile-html-grid > tbody > tr {
		margin-bottom: 0;
	}
}

/* Mobile data surfaces stay as complete tables and scroll horizontally. */
.qf-mobile-admin .data-grid-container,
.qf-mobile-admin .data-grid-container.fixed-header,
.qf-mobile-admin .data-grid-container.fixed-header > .data-grid-body.fixed-header,
.qf-mobile-admin .data-grid-body,
.qf-mobile-admin .custom-datagrid-scroll,
.qf-mobile-admin .custom-datagrid-scroll-2,
.qf-mobile-admin .ai-support-log-table,
.qf-mobile-admin .nearest-payments-scroll,
.qf-mobile-admin .support-schedule-table-wrap {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: auto !important;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.qf-mobile-admin table.data-grid,
.qf-mobile-admin table.qf-mobile-card-grid,
.qf-mobile-admin table.qf-mobile-scroll-table,
.qf-mobile-admin table.qf-mobile-html-grid,
.qf-mobile-admin table.ai-support-agent-doc-logs,
.qf-mobile-admin table.nearest-payments-grid,
.qf-mobile-admin table.support-schedule-week-grid {
	display: table !important;
	width: max-content !important;
	min-width: 100% !important;
	max-width: none !important;
	table-layout: auto;
}

.qf-mobile-admin table.qf-mobile-card-grid colgroup,
.qf-mobile-admin table.qf-mobile-card-grid > colgroup,
.qf-mobile-admin table.qf-mobile-scroll-table > colgroup,
.qf-mobile-admin table.qf-mobile-html-grid > colgroup {
	display: table-column-group !important;
}

.qf-mobile-admin table.qf-mobile-card-grid > thead,
.qf-mobile-admin table.qf-mobile-scroll-table > thead,
.qf-mobile-admin table.qf-mobile-html-grid > thead {
	display: table-header-group !important;
}

.qf-mobile-admin table.qf-mobile-card-grid > tbody,
.qf-mobile-admin table.qf-mobile-scroll-table > tbody,
.qf-mobile-admin table.qf-mobile-html-grid > tbody {
	display: table-row-group !important;
}

.qf-mobile-admin table.qf-mobile-card-grid > tbody > tr.dg-row,
.qf-mobile-admin table.qf-mobile-scroll-table > tbody > tr,
.qf-mobile-admin table.qf-mobile-html-grid > tbody > tr {
	display: table-row !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: default;
}

.qf-mobile-admin table.qf-mobile-card-grid > tbody > tr.dg-row > td,
.qf-mobile-admin table.qf-mobile-scroll-table > tbody > tr > td,
.qf-mobile-admin table.qf-mobile-html-grid > tbody > tr > td {
	display: table-cell !important;
	min-width: max-content !important;
	max-width: 420px !important;
	padding: 6px 8px !important;
	border: 0 !important;
	border-right: 1px solid var(--qf-mobile-border) !important;
	border-bottom: 1px solid var(--qf-mobile-border) !important;
	background: #fff !important;
	vertical-align: middle;
	white-space: nowrap;
	word-break: normal;
}

.qf-mobile-admin table.qf-mobile-card-grid > tbody > tr.dg-row > td::before,
.qf-mobile-admin table.qf-mobile-scroll-table > tbody > tr > td::before,
.qf-mobile-admin table.qf-mobile-html-grid > tbody > tr > td::before {
	display: none !important;
	content: none !important;
}

.qf-mobile-admin table.qf-mobile-scroll-table th,
.qf-mobile-admin table.qf-mobile-html-grid th,
.qf-mobile-admin table.ai-support-agent-doc-logs th,
.qf-mobile-admin table.nearest-payments-grid th,
.qf-mobile-admin table.support-schedule-week-grid th {
	white-space: nowrap;
}

.qf-mobile-admin table.ai-support-agent-doc-logs td {
	min-width: 110px;
	max-width: 420px;
	white-space: pre-wrap;
}
