.komimport-ai-chat {
	position: fixed;
	right: 20px;
	bottom: calc(20px + var(--komimport-consent-offset, 0px));
	z-index: 2147483000;
	box-sizing: border-box;
	font-family: Arial, sans-serif;
	color: #1f2933;
}

.komimport-ai-chat__auth-modal {
	position: fixed;
	top: var(--komimport-auth-visual-top, 0px);
	left: var(--komimport-auth-visual-left, 0px);
	width: var(--komimport-auth-visual-width, 100vw);
	height: var(--komimport-auth-visual-height, 100dvh);
	z-index: 2147483646;
	display: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
	background: rgba(15, 23, 42, .62);
	overscroll-behavior: contain;
	touch-action: none;
}

.komimport-ai-chat__auth-modal.is-open { display: flex; }
.komimport-ai-chat__auth-modal [hidden] { display: none !important; }

.komimport-ai-chat__auth-dialog {
	position: relative;
	width: min(440px, 100%);
	max-height: 100%;
	overflow: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
	box-sizing: border-box;
	padding: 28px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .32);
	color: #172033;
}

.komimport-ai-chat__auth-close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 30px;
	line-height: 1;
	min-width: 44px;
	min-height: 44px;
	padding: 4px;
	cursor: pointer;
}

.komimport-ai-chat__auth-title { margin: 0 32px 8px 0; font-size: 24px; }
.komimport-ai-chat__auth-intro { margin: 0 0 18px; color: #526078; line-height: 1.45; }
.komimport-ai-chat__auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.komimport-ai-chat__auth-tab,
.komimport-ai-chat__auth-secondary,
.komimport-ai-chat__auth-submit { min-height: 44px; border-radius: 9px; font-weight: 700; cursor: pointer; }
.komimport-ai-chat__auth-tab { border: 1px solid #cbd5e1; background: #f8fafc; color: #334155; }
.komimport-ai-chat__auth-tab.is-active { border-color: #0866c6; background: #eaf3ff; color: #0756a6; }
.komimport-ai-chat__auth-form { display: grid; gap: 10px; }
.komimport-ai-chat__auth-input { width: 100%; min-height: 44px; box-sizing: border-box; border: 1px solid #b8c4d4; border-radius: 9px; padding: 10px 12px; font: inherit; }
.komimport-ai-chat__auth-input:focus { outline: 3px solid rgba(8, 102, 198, .18); border-color: #0866c6; }
.komimport-ai-chat__auth-password-field { position: relative; }
.komimport-ai-chat__auth-password-field .komimport-ai-chat__auth-input { padding-right: 54px; }
.komimport-ai-chat__auth-password-toggle { position: absolute; top: 50%; right: 2px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #526078; cursor: pointer; transform: translateY(-50%); }
.komimport-ai-chat__auth-password-toggle:hover { background: #eef4f8; color: #0756a6; }
.komimport-ai-chat__auth-password-toggle:focus-visible { outline: 3px solid rgba(8, 102, 198, .24); }
.komimport-ai-chat__auth-password-toggle::before { content: ""; position: absolute; left: 11px; top: 14px; width: 18px; height: 12px; border: 2px solid currentColor; border-radius: 70% 30% 70% 30%; transform: rotate(45deg); }
.komimport-ai-chat__auth-password-toggle::after { content: ""; position: absolute; left: 18px; top: 18px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.komimport-ai-chat__auth-password-toggle[aria-pressed="true"]::after { box-shadow: 0 0 0 2px #fff; }
.komimport-ai-chat__auth-remember { display: flex; gap: 8px; align-items: center; min-height: 44px; font-size: 14px; }
.komimport-ai-chat__auth-status { min-height: 20px; color: #8a3b00; font-size: 14px; line-height: 1.4; }
.komimport-ai-chat__auth-submit { border: 0; background: #0866c6; color: #fff; padding: 10px 14px; }
.komimport-ai-chat__auth-secondary { border: 1px solid #cbd5e1; background: #fff; color: #334155; padding: 9px 14px; }
.komimport-ai-chat__auth-link { border: 0; background: transparent; color: #0756a6; padding: 5px; text-decoration: underline; cursor: pointer; font: inherit; justify-self: center; }
.komimport-ai-chat__auth-submit:disabled,
.komimport-ai-chat__auth-secondary:disabled,
.komimport-ai-chat__auth-logout:disabled { opacity: .6; cursor: wait; }
.komimport-ai-chat__auth-profile { display: grid; gap: 14px; }
.komimport-ai-chat__auth-profile-email { padding: 14px; border: 1px solid #d8e1ec; border-radius: 10px; background: #f8fafc; color: #172033; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.komimport-ai-chat__auth-logout { min-height: 44px; border: 1px solid #b42318; border-radius: 9px; padding: 10px 14px; background: #fff; color: #b42318; font: inherit; font-weight: 700; cursor: pointer; }
.komimport-ai-chat__auth-logout:hover,
.komimport-ai-chat__auth-logout:focus-visible { background: #fff1f0; outline: 3px solid rgba(180, 35, 24, .16); }

body.komimport-ai-chat--auth-modal-open {
	overflow: hidden;
	overscroll-behavior: none;
}

@media (max-width: 520px) {
	.komimport-ai-chat__auth-modal {
		padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
		align-items: flex-end;
	}
	.komimport-ai-chat__auth-dialog {
		width: 100%;
		max-height: 100%;
		padding: 24px 18px max(18px, env(safe-area-inset-bottom));
		border-radius: 18px 18px 8px 8px;
	}
	.komimport-ai-chat__auth-input { font-size: 16px; }
	.komimport-ai-chat__auth-title { font-size: 21px; }
	.komimport-ai-chat__auth-link { min-height: 44px; }
	.komimport-ai-chat__auth-password-toggle,
	.komimport-ai-chat__auth-logout { min-height: 44px; }
}

@media (max-width: 560px) {
	.komimport-ai-chat__parts-pdf-stage { min-height: 260px; padding: 8px; }
	.komimport-ai-chat__parts-pdf-toolbar { gap: 3px; padding: 5px; }
	.komimport-ai-chat__parts-pdf-toolbar button { min-width: 30px; height: 30px; padding: 0 6px; font-size: 11px; }
	.komimport-ai-chat__manual-buy { width: 100%; align-self: stretch; }
	.komimport-ai-chat__manual-purchase-modal { padding: 0; align-items: stretch; }
	.komimport-ai-chat__manual-purchase-dialog { width: 100%; max-width: none; max-height: 100dvh; min-height: 100dvh; border-radius: 0; }
	.komimport-ai-chat__manual-purchase-body { padding: 12px; }
	.komimport-ai-chat__manual-purchase-copy-row { align-items: stretch; flex-direction: column; }
}

body.komimport-ai-chat-standalone-route {
	width: 100%;
	max-width: 100%;
	min-height: 100%;
	margin: 0;
	background: #eef4f8;
	overflow: hidden;
	overscroll-behavior: none;
	touch-action: pan-y;
}

.komimport-ai-chat * {
	box-sizing: border-box;
}

.komimport-ai-chat__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 8px;
	background: #0b75b7;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 8px 24px rgba(11, 117, 183, .28);
	cursor: pointer;
}

.komimport-ai-chat__toggle-icon {
	width: 20px;
	height: 20px;
	border: 2px solid currentColor;
	border-radius: 6px;
	position: relative;
}

.komimport-ai-chat__toggle-icon:after {
	content: "";
	position: absolute;
	left: 3px;
	bottom: -6px;
	width: 8px;
	height: 8px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	background: #0b75b7;
	transform: rotate(-20deg);
}

.komimport-ai-chat__panel {
	display: none;
	width: min(380px, calc(100vw - 24px));
	height: min(540px, calc(100vh - 40px));
	min-width: 320px;
	min-height: 360px;
	max-width: calc(100vw - 24px);
	max-height: calc(100vh - 40px);
	position: relative;
	background: #fff;
	border: 1px solid #d6e1ea;
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(16, 42, 67, .28);
	overflow: hidden;
}

.komimport-ai-chat.is-open .komimport-ai-chat__toggle {
	display: none;
}

.komimport-ai-chat.is-open .komimport-ai-chat__panel {
	display: flex;
	flex-direction: column;
}

.komimport-ai-chat.is-resizing,
.komimport-ai-chat.is-resizing * {
	user-select: none;
}

.komimport-ai-chat--standalone {
	position: relative;
	left: 0;
	top: 0;
	right: auto;
	bottom: auto;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	height: 100vh;
	height: 100dvh;
	height: var(--komimport-app-height, var(--komimport-visual-vh, 100dvh));
	max-height: var(--komimport-app-height, var(--komimport-visual-vh, 100dvh));
	--komimport-stable-vh: 100vh;
	--komimport-keyboard-offset: 0px;
	--komimport-layout-vw: 100%;
	--komimport-visual-vw: 100%;
	--komimport-visual-left: 0px;
	padding: clamp(10px, 1.2vw, 18px);
	display: flex;
	align-items: stretch;
	justify-content: center;
	background:
		linear-gradient(90deg, rgba(11, 45, 77, .035) 1px, transparent 1px),
		linear-gradient(0deg, rgba(11, 45, 77, .03) 1px, transparent 1px),
		radial-gradient(circle at 18% 82%, rgba(11, 117, 183, .10), transparent 28%),
		#eef4f8;
	background-size: 52px 52px, 52px 52px, auto, auto;
	overflow: hidden;
}

.komimport-ai-chat--standalone .komimport-ai-chat__toggle,
.komimport-ai-chat--standalone .komimport-ai-chat__resize,
.komimport-ai-chat--standalone .komimport-ai-chat__close {
	display: none !important;
}

.komimport-ai-chat--standalone .komimport-ai-chat__panel,
.komimport-ai-chat--standalone.is-open .komimport-ai-chat__panel {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	max-width: 100%;
	max-height: 100%;
	border-radius: 8px;
	border: 1px solid rgba(183, 209, 229, .74);
	background: #fff;
	box-shadow: 0 18px 44px rgba(16, 42, 67, .13);
	overflow: hidden;
}

.komimport-ai-chat__standalone-shell {
	width: min(1480px, 100%);
	height: 100%;
	min-width: 0;
	min-height: 0;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(246, 249, 252, .92);
	box-shadow: 0 24px 60px rgba(16, 42, 67, .22);
}

.komimport-ai-chat--standalone .komimport-ai-chat__header {
	flex: 0 0 92px;
	min-height: 92px;
	position: relative;
	padding: 18px 36px;
	flex-wrap: nowrap;
	background: linear-gradient(135deg, #062643 0%, #123b5d 56%, #0a2e4e 100%);
}

.komimport-ai-chat--standalone .komimport-ai-chat__heading {
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: 46px minmax(0, max-content);
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	max-width: min(360px, calc(50% - 180px));
	min-width: 0;
}

.komimport-ai-chat--standalone .komimport-ai-chat__heading::before {
	content: "";
	grid-row: 1 / span 2;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 55% 58%, #123b5d 0 3px, transparent 4px),
		linear-gradient(90deg, transparent 10px, #123b5d 10px 13px, transparent 13px 18px, #123b5d 18px 21px, transparent 21px),
		#ffc400;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
	transform: rotate(-90deg);
	transform-origin: center;
}

.komimport-ai-chat--standalone .komimport-ai-chat__title {
	font-size: 23px;
	line-height: 1.05;
}

.komimport-ai-chat--standalone .komimport-ai-chat__subtitle {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	color: rgba(255, 255, 255, .86);
}

.komimport-ai-chat--standalone .komimport-ai-chat__title--catalog {
	gap: 0;
}

.komimport-ai-chat--standalone .komimport-ai-chat__title-logo {
	display: none;
}

.komimport-ai-chat--standalone .komimport-ai-chat__header-actions {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: 0;
	transform: translate(-50%, -50%);
	z-index: 1;
}

.komimport-ai-chat__standalone-main {
	min-height: 0;
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(520px, 1fr) minmax(220px, 280px);
	gap: 26px;
	padding: 28px 36px 24px;
	overflow: hidden;
}

.komimport-ai-chat__standalone-chat {
	min-width: 0;
	min-height: 0;
	display: flex;
}

.komimport-ai-chat__standalone-rail {
	min-width: 0;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	overflow: hidden;
}

.komimport-ai-chat__standalone-rail--left {
	position: relative;
}

.komimport-ai-chat__standalone-rail--left .komimport-ai-chat__standalone-card {
	position: relative;
	z-index: 1;
}

.komimport-ai-chat__standalone-card {
	padding: 16px 18px;
	border: 1px solid rgba(221, 232, 241, .86);
	border-radius: 8px;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 16px 38px rgba(16, 42, 67, .08);
	color: #17324d;
}

.komimport-ai-chat__standalone-card-title,
.komimport-ai-chat__standalone-help-title {
	margin: 0 0 14px;
	color: #17324d;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
}

.komimport-ai-chat__standalone-list,
.komimport-ai-chat__standalone-steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.komimport-ai-chat__standalone-list-item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 7px 0;
	color: #17324d;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.komimport-ai-chat__standalone-list-icon {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid #a9d3f5;
	background: #edf7ff;
	position: relative;
}

.komimport-ai-chat__standalone-list-icon::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 5px;
	width: 6px;
	height: 6px;
	border: 1.5px solid #4c95cf;
	border-radius: 2px;
}

.komimport-ai-chat__standalone-list-icon--image {
	border-color: #d4e7f7;
	background: #f5fbff;
	overflow: hidden;
}

.komimport-ai-chat__standalone-list-icon--image::after {
	display: none;
}

.komimport-ai-chat__standalone-list-icon-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 3px;
	opacity: .82;
}

.komimport-ai-chat__standalone-list-button {
	appearance: none;
	border: 0;
	padding: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 800;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
}

.komimport-ai-chat__standalone-list-button:hover,
.komimport-ai-chat__standalone-list-button:focus-visible {
	color: #0b75b7;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.komimport-ai-chat__standalone-list--checks .komimport-ai-chat__standalone-list-icon {
	border: 0;
	background: #37b579;
}

.komimport-ai-chat__standalone-list--checks .komimport-ai-chat__standalone-list-icon::after {
	left: 5px;
	top: 4px;
	width: 6px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	border-radius: 0;
	transform: rotate(45deg);
}

.komimport-ai-chat__standalone-help {
	position: relative;
	min-height: 162px;
	padding: 18px;
	border-color: #dbe8f1;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	align-items: stretch;
	background:
		radial-gradient(circle at 86% 82%, rgba(255, 196, 0, .14), transparent 36%),
		linear-gradient(135deg, #fff 0%, #f6fbff 100%);
	box-shadow: 0 10px 25px rgba(19, 61, 94, .08);
}

.komimport-ai-chat__standalone-help-copy {
	position: relative;
	z-index: 2;
	max-width: 170px;
}

.komimport-ai-chat__standalone-help-title {
	margin-bottom: 12px;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.12;
	color: #102f4b;
}

.komimport-ai-chat__standalone-help-text,
.komimport-ai-chat__standalone-muted {
	margin: 0;
	color: #53677c;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
}

.komimport-ai-chat__standalone-help-text {
	max-width: 118px;
	color: #5d7182;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.32;
}

.komimport-ai-chat__standalone-help-art {
	position: absolute;
	right: 8px;
	bottom: 10px;
	z-index: 1;
	width: 100px;
	height: 96px;
	border-radius: 14px;
	overflow: hidden;
	background: transparent;
}

.komimport-ai-chat__standalone-help-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right bottom;
}

.komimport-ai-chat__standalone-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.komimport-ai-chat__standalone-tag {
	appearance: none;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border: 1px solid #dbe6ee;
	border-radius: 6px;
	background: #f7fafc;
	color: #17324d;
	font-size: 12px;
	line-height: 1;
	font-family: inherit;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.komimport-ai-chat__standalone-tag:hover,
.komimport-ai-chat__standalone-tag:focus-visible {
	border-color: #9dc8e9;
	background: #eef7ff;
	color: #0b75b7;
}

.komimport-ai-chat__standalone-excavator-img {
	display: block;
	position: absolute;
	z-index: 0;
	left: 8px;
	right: 8px;
	bottom: -10px;
	width: calc(100% - 16px);
	height: 168px;
	object-fit: contain;
	object-position: center bottom;
	opacity: .18;
	filter: grayscale(1) contrast(.9);
	pointer-events: none;
}

.komimport-ai-chat__standalone-step {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 12px;
	padding: 7px 0;
}

.komimport-ai-chat__standalone-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #2493f2;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.komimport-ai-chat__standalone-step:nth-child(odd) .komimport-ai-chat__standalone-step-number {
	background: #7bc2fb;
}

.komimport-ai-chat__standalone-step-copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: #53677c;
	font-size: 12px;
	line-height: 1.35;
}

.komimport-ai-chat__standalone-step-copy strong {
	color: #17324d;
	font-size: 12.5px;
}

.komimport-ai-chat__standalone-diagram-art {
	height: 142px;
	margin: 14px 0 8px;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.komimport-ai-chat__standalone-diagram-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.komimport-ai-chat__standalone-link {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	color: #0b75b7;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.komimport-ai-chat__standalone-link::after {
	content: "↗";
	margin-left: 5px;
	font-size: 12px;
}

.kpart-chat-footer {
	flex: 0 0 82px;
	height: 82px;
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr) 280px;
	align-items: center;
	gap: 24px;
	padding: 0 36px;
	background: linear-gradient(135deg, #061f3d 0%, #082b50 100%);
	color: #d6e4ef;
	border-radius: 0 0 16px 16px;
	font-size: 13px;
}

.kpart-chat-footer__copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: #9fb4c4;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.kpart-chat-footer__features {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 54px;
	min-width: 0;
}

.kpart-chat-footer__feature {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #d6e4ef;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.kpart-chat-footer__icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	display: inline-block;
	color: #8ea9bd;
	background-color: currentColor;
	opacity: .95;
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
}

.kpart-chat-footer__icon--secure {
	-webkit-mask-image: url('https://k-part.com/chat-assets/icon-secure-search.svg?v=20260702-footer-2');
	mask-image: url('https://k-part.com/chat-assets/icon-secure-search.svg?v=20260702-footer-2');
}

.kpart-chat-footer__icon--data {
	-webkit-mask-image: url('https://k-part.com/chat-assets/icon-official-data.svg?v=20260702-footer-2');
	mask-image: url('https://k-part.com/chat-assets/icon-official-data.svg?v=20260702-footer-2');
}

.kpart-chat-footer__icon--updated {
	-webkit-mask-image: url('https://k-part.com/chat-assets/icon-always-updated.svg?v=20260702-footer-2');
	mask-image: url('https://k-part.com/chat-assets/icon-always-updated.svg?v=20260702-footer-2');
}

.kpart-chat-footer__icon--support {
	width: 26px;
	height: 26px;
	color: #d6e4ef;
	-webkit-mask-image: url('https://k-part.com/chat-assets/icon-support-headset.svg?v=20260702-footer-2');
	mask-image: url('https://k-part.com/chat-assets/icon-support-headset.svg?v=20260702-footer-2');
}

.kpart-chat-footer__icon--arrow {
	width: 14px;
	height: 14px;
	color: #8cc6ff;
	-webkit-mask-image: url('https://k-part.com/chat-assets/icon-arrow-right.svg?v=20260702-footer-2');
	mask-image: url('https://k-part.com/chat-assets/icon-arrow-right.svg?v=20260702-footer-2');
	transition: transform .18s ease, color .18s ease;
}

.kpart-chat-footer__support {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	justify-self: end;
	gap: 10px;
	color: #d6e4ef;
	font-size: 13px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.kpart-chat-footer__support-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.kpart-chat-footer__support b {
	display: block;
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
}

.kpart-chat-footer__support span span {
	color: #8cc6ff;
	font-size: 12px;
	font-weight: 700;
}

.kpart-chat-footer__support:hover .kpart-chat-footer__icon--arrow,
.kpart-chat-footer__support:focus-visible .kpart-chat-footer__icon--arrow {
	color: #b9ddff;
	transform: translateX(2px);
}

@media (max-width: 1280px) {
	.kpart-chat-footer {
		grid-template-columns: 220px minmax(0, 1fr) 220px;
		gap: 18px;
		padding: 0 24px;
	}

	.kpart-chat-footer__features {
		gap: 28px;
	}

	.kpart-chat-footer__feature,
	.kpart-chat-footer__support,
	.kpart-chat-footer__support b {
		font-size: 12px;
	}
}

.komimport-ai-chat--standalone .komimport-ai-chat__catalog-modal {
	padding: 8px;
}

.komimport-ai-chat--standalone .komimport-ai-chat__catalog-dialog {
	width: min(1680px, calc(100vw - 16px));
	height: calc(100vh - 16px);
	height: calc(100dvh - 16px);
	height: calc(var(--komimport-visual-vh, 100dvh) - 16px);
	min-width: min(720px, calc(100vw - 16px));
	min-height: min(460px, calc(100vh - 16px));
	min-height: min(460px, calc(100dvh - 16px));
	max-width: calc(100vw - 16px);
	max-height: calc(100vh - 16px);
	max-height: calc(100dvh - 16px);
	max-height: calc(var(--komimport-visual-vh, 100dvh) - 16px);
}

.komimport-ai-chat--standalone .komimport-ai-chat__messages {
	flex: 1 1 auto;
	min-height: 0;
	padding: 14px 34px;
	background: #fbfdff;
	-webkit-overflow-scrolling: touch;
}

.komimport-ai-chat__resize {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 4;
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 8px 0 6px 0;
	background: rgba(255, 255, 255, .12);
	cursor: nwse-resize;
	touch-action: none;
}

.komimport-ai-chat__resize:before,
.komimport-ai-chat__resize:after {
	content: "";
	position: absolute;
	left: 6px;
	top: 6px;
	border-top: 2px solid rgba(255, 255, 255, .75);
	border-left: 2px solid rgba(255, 255, 255, .75);
}

.komimport-ai-chat__resize:before {
	width: 10px;
	height: 10px;
}

.komimport-ai-chat__resize:after {
	width: 5px;
	height: 5px;
}

.komimport-ai-chat__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	min-height: 96px;
	padding: 12px 14px;
	background: #123b5d;
	color: #fff;
}

.komimport-ai-chat__heading {
	min-width: 112px;
	flex: 0 1 130px;
	order: 1;
}

.komimport-ai-chat__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.komimport-ai-chat__title--catalog {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.komimport-ai-chat__title-text {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.komimport-ai-chat__title-logo {
	width: auto;
	height: 18px;
	max-width: 92px;
	flex: 0 0 auto;
	display: block;
	object-fit: contain;
	border-radius: 2px;
	background: #fff;
}

.komimport-ai-chat__subtitle {
	margin-top: 2px;
	font-size: 12px;
	color: rgba(255, 255, 255, .78);
	line-height: 1.25;
}

.komimport-ai-chat__mode-switch {
	order: 3;
	display: inline-flex;
	align-items: center;
	gap: 2px;
	min-width: 0;
	flex: 1 0 100%;
	padding: 3px;
	border-radius: 7px;
	background: rgba(255, 255, 255, .12);
}

.komimport-ai-chat__mode-button {
	min-width: 0;
	flex: 1 1 0;
	min-height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 8px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: rgba(255, 255, 255, .82);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__mode-button--catalog {
	padding-left: 6px;
	padding-right: 6px;
}

.komimport-ai-chat__mode-text {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.komimport-ai-chat__mode-logo {
	width: auto;
	height: 16px;
	max-width: 78px;
	flex: 0 0 auto;
	display: block;
	object-fit: contain;
	border-radius: 2px;
	background: #fff;
}

.komimport-ai-chat__mode-button:hover,
.komimport-ai-chat__mode-button:focus {
	background: rgba(255, 255, 255, .12);
	color: #fff;
	outline: none;
}

.komimport-ai-chat__mode-button.is-active {
	background: #fff;
	color: #123b5d;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.komimport-ai-chat__header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	order: 2;
	margin-left: auto;
}

.komimport-ai-chat__profile-button {
	min-height: 34px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 9px;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__profile-button[hidden] { display: none !important; }

.komimport-ai-chat__profile-button.is-guest {
	border: 1px solid rgba(255, 255, 255, .58);
	background: rgba(255, 255, 255, .18);
}

.komimport-ai-chat__profile-button:hover,
.komimport-ai-chat__profile-button:focus-visible { background: rgba(255, 255, 255, .24); outline: 2px solid rgba(255, 255, 255, .75); }
.komimport-ai-chat__profile-icon { position: relative; width: 16px; height: 16px; flex: 0 0 16px; font-size: 0; }
.komimport-ai-chat__profile-icon::before { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.komimport-ai-chat__profile-icon::after { content: ""; position: absolute; left: 2px; bottom: 1px; width: 12px; height: 7px; border-radius: 8px 8px 3px 3px; background: currentColor; }

@media (max-height: 520px) {
	.komimport-ai-chat__profile-button { min-width: 44px; min-height: 44px; justify-content: center; padding: 0; }
	.komimport-ai-chat__profile-label { display: none; }
}

.komimport-ai-chat__order-open {
	min-height: 34px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 0 10px;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__order-open:hover,
.komimport-ai-chat__order-open:focus {
	background: rgba(255, 255, 255, .22);
	outline: none;
}

.komimport-ai-chat__language-picker {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
}

.komimport-ai-chat__clear-dialog,
.komimport-ai-chat__language-button {
	min-height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__clear-dialog:hover,
.komimport-ai-chat__clear-dialog:focus,
.komimport-ai-chat__language-button:hover,
.komimport-ai-chat__language-button:focus {
	background: rgba(255, 255, 255, .22);
	outline: none;
}

.komimport-ai-chat__language-button {
	min-width: 68px;
	gap: 5px;
	padding: 0 8px;
}

.komimport-ai-chat__language-flag {
	font-size: 17px;
	line-height: 1;
}

.komimport-ai-chat__language-code {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .02em;
}

.komimport-ai-chat__language-chevron {
	font-size: 10px;
	line-height: 1;
	opacity: .8;
}

.komimport-ai-chat__language-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 30;
	min-width: 104px;
	padding: 4px;
	border: 1px solid rgba(18, 59, 93, .18);
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.komimport-ai-chat__language-menu[hidden] {
	display: none;
}

.komimport-ai-chat__language-option {
	width: 100%;
	min-height: 32px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 7px;
	padding: 0 8px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: #123b5d;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.komimport-ai-chat__language-option:hover,
.komimport-ai-chat__language-option:focus,
.komimport-ai-chat__language-option.is-active {
	background: #e9f3fb;
	outline: none;
}

.komimport-ai-chat__language-option[data-chat-lang-option="auto"] {
	border-bottom: 1px solid #dbe6ee;
	margin-bottom: 3px;
}

.komimport-ai-chat__order-open-count {
	min-width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	border-radius: 999px;
	background: #ffc400;
	color: #17202a;
	font-size: 12px;
	font-weight: 800;
}

.komimport-ai-chat__order-open.is-empty .komimport-ai-chat__order-open-count {
	background: rgba(255, 255, 255, .22);
	color: #fff;
}

.komimport-ai-chat__close {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__messages {
	flex: 1;
	padding: 14px;
	overflow: auto;
	background: #f6f9fc;
}

.komimport-ai-chat__message {
	max-width: 88%;
	margin: 0 0 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.42;
	white-space: pre-wrap;
}

.komimport-ai-chat__message-line,
.komimport-ai-chat__section-title {
	overflow-wrap: anywhere;
}

.komimport-ai-chat__message-line--catalog-scope,
.komimport-ai-chat__message-line--catalog-scope-engine,
.komimport-ai-chat__message-line--catalog-scope-note {
	margin: 12px 0 6px;
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.35;
}

.komimport-ai-chat__message-line--catalog-scope-engine {
	padding-top: 0;
}

.komimport-ai-chat__message-line--catalog-scope strong,
.komimport-ai-chat__message-line--catalog-scope-engine strong,
.komimport-ai-chat__message-line--catalog-scope-note strong {
	font-weight: 800;
}

.komimport-ai-chat__message-line--catalog-block {
	margin-top: 9px;
	font-weight: 800;
}

.komimport-ai-chat__message-line--catalog-group {
	margin-top: 5px;
}

.komimport-ai-chat__catalog-result-groups {
	display: block;
	margin: 6px 0;
	white-space: normal;
}

.komimport-ai-chat__catalog-result-node {
	margin: 2px 0;
}

.komimport-ai-chat__catalog-result-node--level-1 {
	margin-left: 12px;
}

.komimport-ai-chat__catalog-result-node--level-2,
.komimport-ai-chat__catalog-result-node--level-3 {
	margin-left: 16px;
}

.komimport-ai-chat__catalog-result-summary {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 30px;
	padding: 3px 0;
	list-style: none;
	cursor: pointer;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-result-summary::-webkit-details-marker {
	display: none;
}

.komimport-ai-chat__catalog-result-chevron {
	flex: 0 0 auto;
	width: 13px;
	color: #60768a;
	font-size: 12px;
	line-height: 1;
	transition: transform 0.15s ease;
}

.komimport-ai-chat__catalog-result-node[open] > .komimport-ai-chat__catalog-result-summary .komimport-ai-chat__catalog-result-chevron {
	transform: rotate(90deg);
}

.komimport-ai-chat__catalog-result-label {
	min-width: 0;
	color: #1f2933;
	font-weight: 800;
	line-height: 1.25;
}

.komimport-ai-chat__catalog-result-applicability-trigger {
	position: relative;
	flex: 0 0 auto;
	padding: 2px 7px;
	border: 1px solid #9fd3b3;
	border-radius: 999px;
	background: #effaf3;
	color: #267245;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
	cursor: help;
	user-select: none;
}

.komimport-ai-chat__catalog-result-applicability-trigger:hover,
.komimport-ai-chat__catalog-result-applicability-trigger:focus,
.komimport-ai-chat__catalog-result-applicability-trigger--open {
	border-color: #2b9555;
	background: #dff5e7;
	outline: none;
}

.komimport-ai-chat__catalog-result-applicability-tooltip {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	z-index: 30;
	display: none;
	width: max-content;
	max-width: min(360px, calc(100vw - 48px));
	padding: 7px 9px;
	border: 1px solid #b9d7c4;
	border-radius: 6px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(31, 41, 51, 0.18);
	color: #1f2933;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-result-applicability-tooltip::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 100%;
	width: 9px;
	height: 9px;
	border-right: 1px solid #b9d7c4;
	border-bottom: 1px solid #b9d7c4;
	background: #ffffff;
	transform: translateY(-5px) rotate(45deg);
}

.komimport-ai-chat__catalog-result-applicability-trigger:hover .komimport-ai-chat__catalog-result-applicability-tooltip,
.komimport-ai-chat__catalog-result-applicability-trigger:focus .komimport-ai-chat__catalog-result-applicability-tooltip,
.komimport-ai-chat__catalog-result-applicability-trigger--open .komimport-ai-chat__catalog-result-applicability-tooltip {
	display: block;
}

@media (max-width: 560px) {
	.komimport-ai-chat__catalog-result-applicability-trigger .komimport-ai-chat__catalog-result-applicability-tooltip {
		position: fixed !important;
		top: 36% !important;
		right: 12px !important;
		left: 12px !important;
		bottom: auto !important;
		width: auto !important;
		max-width: none !important;
	}

	.komimport-ai-chat__catalog-result-applicability-trigger .komimport-ai-chat__catalog-result-applicability-tooltip::after {
		display: none !important;
	}
}

.komimport-ai-chat__catalog-result-meta {
	flex: 0 1 auto;
	min-width: 0;
	color: #60768a;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.komimport-ai-chat__catalog-result-count {
	flex: 0 0 auto;
	margin-left: auto;
	padding: 2px 6px;
	border-radius: 999px;
	background: #edf4fa;
	color: #466278;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
}

.komimport-ai-chat__catalog-result-children {
	margin-left: 13px;
	padding-left: 9px;
	border-left: 1px solid #dbe8f2;
}

.komimport-ai-chat__catalog-result-node:not([open]) > .komimport-ai-chat__catalog-result-children {
	display: none !important;
}

.komimport-ai-chat__catalog-result-rows {
	margin: 2px 0 6px;
}

.komimport-ai-chat__catalog-result-row {
	margin: 2px 0;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__exact-prefix-model {
	margin: 5px 0 7px;
	color: #1f2933;
	font-weight: 800;
}

.komimport-ai-chat__exact-book {
	margin: 7px 0;
	padding: 8px 10px;
	border: 1px solid #dbe8f2;
	border-radius: 8px;
	background: #fbfdff;
}

.komimport-ai-chat__exact-book-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.komimport-ai-chat__exact-book-label {
	min-width: 0;
	color: #1f2933;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__exact-book-section {
	margin-top: 7px;
	color: #526c82;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-result-rows--compact {
	margin-left: 0;
}

@media (max-width: 760px) {
	.komimport-ai-chat__catalog-result-groups {
		overflow: visible;
	}

	.komimport-ai-chat__catalog-result-groups > .komimport-ai-chat__catalog-result-node {
		min-width: 0;
	}

	.komimport-ai-chat__catalog-result-groups .komimport-ai-chat__catalog-result-summary {
		flex-wrap: wrap;
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.komimport-ai-chat__catalog-result-groups .komimport-ai-chat__catalog-result-label,
	.komimport-ai-chat__catalog-result-groups .komimport-ai-chat__catalog-result-meta,
	.komimport-ai-chat__catalog-result-groups .komimport-ai-chat__catalog-result-row {
		flex: 0 1 auto;
		min-width: 0;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}

.komimport-ai-chat__catalog-result-more {
	margin: 4px 0 2px;
	padding: 5px 9px;
	border: 1px solid #b7d1e5;
	border-radius: 6px;
	background: #f5fbff;
	color: #0b75b7;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
}

.komimport-ai-chat__catalog-result-more:hover,
.komimport-ai-chat__catalog-result-more:focus {
	border-color: #0b75b7;
	background: #eaf5fd;
	outline: none;
}

.komimport-ai-chat__catalog-page-groups {
	display: block;
	margin: 4px 0 7px;
	white-space: normal;
}

.komimport-ai-chat__catalog-page-group {
	margin: 3px 0;
}

.komimport-ai-chat__catalog-page-summary {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 3px 0;
	list-style: none;
	cursor: pointer;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-page-summary::-webkit-details-marker {
	display: none;
}

.komimport-ai-chat__catalog-page-chevron {
	flex: 0 0 auto;
	width: 13px;
	color: #60768a;
	font-size: 12px;
	line-height: 1;
	transition: transform 0.15s ease;
}

.komimport-ai-chat__catalog-page-group[open] > .komimport-ai-chat__catalog-page-summary .komimport-ai-chat__catalog-page-chevron {
	transform: rotate(90deg);
}

.komimport-ai-chat__catalog-page-parent {
	min-width: 0;
	color: #1f2933;
	font-weight: 800;
	line-height: 1.25;
}

.komimport-ai-chat__catalog-page-count {
	flex: 0 0 auto;
	margin-left: auto;
	padding: 2px 6px;
	border-radius: 999px;
	background: #edf4fa;
	color: #466278;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
}

.komimport-ai-chat__catalog-page-children {
	margin-left: 13px;
	padding-left: 9px;
	border-left: 1px solid #dbe8f2;
}

.komimport-ai-chat__catalog-page-child {
	display: flex;
	align-items: baseline;
	gap: 6px;
	width: 100%;
	margin: 3px 0;
	padding: 3px 0;
	border: 0;
	background: transparent;
	color: #0b75b7;
	font: inherit;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-page-child:hover,
.komimport-ai-chat__catalog-page-child:focus {
	color: #084f7c;
	outline: none;
}

.komimport-ai-chat__catalog-page-child-label {
	min-width: 0;
}

.komimport-ai-chat__catalog-page-child-meta {
	flex: 0 0 auto;
	color: #60768a;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.komimport-ai-chat__message-line--serial {
	color: #c62828;
	font-weight: 800;
}

.komimport-ai-chat__message-time {
	display: block;
	margin-top: 7px;
	color: #7b8da0;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	text-align: right;
	white-space: nowrap;
}

.komimport-ai-chat__message--user .komimport-ai-chat__message-time {
	color: rgba(255, 255, 255, .78);
}

.komimport-ai-chat__message--error .komimport-ai-chat__message-time {
	color: #b8584d;
}

.komimport-ai-chat__chat-captcha {
	min-height: 78px;
	margin-top: 10px;
	overflow: hidden;
}

.komimport-ai-chat__serial-quick-wrap {
	margin-top: 8px;
}

.komimport-ai-chat__serial-quick-hint {
	margin: 0 0 6px;
	color: #237447;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.komimport-ai-chat__serial-quick {
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 0;
	padding: 8px 9px;
	border: 1px solid #9fd8b3;
	border-radius: 7px;
	background: #f2fbf5;
}

.komimport-ai-chat__serial-quick-field {
	display: flex;
	flex: 1 1 130px;
	min-width: 120px;
	flex-direction: column;
	gap: 4px;
}

.komimport-ai-chat__serial-quick-label {
	min-width: 0;
	color: #237447;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
}

.komimport-ai-chat__serial-quick-input {
	width: 100%;
	min-width: 86px;
	height: 30px;
	padding: 0 8px;
	border: 1px solid #8dc8a6;
	border-radius: 6px;
	background: #fff;
	color: #1f2933;
	font: inherit;
	font-size: 13px;
}

.komimport-ai-chat__serial-quick-button {
	flex: 0 0 auto;
	height: 30px;
	padding: 0 8px;
	border: 0;
	border-radius: 6px;
	background: #2f8f57;
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.komimport-ai-chat__serial-quick-button:hover,
.komimport-ai-chat__serial-quick-button:focus {
	background: #247345;
}

.komimport-ai-chat__mobile-examples {
	display: grid;
	gap: 10px;
	margin-top: 12px;
	white-space: normal;
}

.komimport-ai-chat__mobile-examples-group {
	display: grid;
	gap: 6px;
}

.komimport-ai-chat__mobile-examples-title {
	color: #32526d;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
}

.komimport-ai-chat__mobile-examples-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.komimport-ai-chat__mobile-example {
	min-height: 32px;
	padding: 6px 9px;
	border: 1px solid #c9dceb;
	border-radius: 999px;
	background: #f5f9fd;
	color: #0b5688;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__mobile-example:hover,
.komimport-ai-chat__mobile-example:focus {
	border-color: #0b75b7;
	background: #eaf5fd;
	outline: none;
}

.komimport-ai-chat__catalog-number {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0b75b7;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.komimport-ai-chat__catalog-number:hover,
.komimport-ai-chat__catalog-number:focus {
	color: #084f7c;
	outline: none;
}


.komimport-ai-chat__catalog-page-link {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 3px 0;
	text-align: left;
	white-space: normal;
}

.komimport-ai-chat__model-choice {
	display: block;
	width: 100%;
	margin: 5px 0;
	padding: 8px 10px;
	border: 1px solid #b7d1e5;
	border-radius: 6px;
	background: #f4f9fd;
	color: #123b5d;
	font: inherit;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__model-choice:hover,
.komimport-ai-chat__model-choice:focus {
	border-color: #0b75b7;
	background: #eaf5fd;
	outline: none;
}

.komimport-ai-chat__suggested-queries {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 9px;
}

.komimport-ai-chat__suggested-query {
	padding: 7px 10px;
	border: 1px solid #0b75b7;
	border-radius: 6px;
	background: #eaf5fd;
	color: #075b91;
	font: inherit;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
}

.komimport-ai-chat__suggested-query:hover,
.komimport-ai-chat__suggested-query:focus {
	background: #d8edfa;
	outline: none;
}

.komimport-ai-chat__section-title {
	margin-top: 8px;
	font-weight: 700;
}

.komimport-ai-chat__section-title:first-child {
	margin-top: 0;
}

.komimport-ai-chat__message--bot {
	background: #fff;
	border: 1px solid #dbe6ee;
	color: #1f2933;
}

.komimport-ai-chat__message--user {
	margin-left: auto;
	background: #0b75b7;
	color: #fff;
}

.komimport-ai-chat__message--error {
	background: #fff4f2;
	border-color: #f2b8ad;
	color: #9b1c10;
}

.komimport-ai-chat__link {
	display: block;
	margin-top: 8px;
	color: #0b75b7;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.komimport-ai-chat__form {
	display: flex;
	gap: 8px;
	padding: 10px;
	border-top: 1px solid #d6e1ea;
	background: #fff;
	position: relative;
	overflow: visible;
}

.komimport-ai-chat__part-language-notice {
	padding: 7px 10px 0;
	border-top: 1px solid #d6e1ea;
	background: #fff;
	color: #5b6f7f;
	font-size: 11px;
	line-height: 1.3;
}

.komimport-ai-chat__part-language-notice[hidden] {
	display: none;
}

.komimport-ai-chat__part-language-notice + .komimport-ai-chat__form {
	border-top: 0;
}

.komimport-ai-chat__catalog-minimized-tray {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	padding: 8px 10px;
	border-top: 1px solid #d6e1ea;
	background: #f7fbff;
	box-shadow: 0 -8px 18px rgba(20, 47, 71, .06);
}

.komimport-ai-chat__catalog-minimized-tray[hidden] {
	display: none;
}

.komimport-ai-chat__catalog-minimized-card {
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 28px;
	align-items: stretch;
	border: 1px solid #c9d7e2;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(20, 47, 71, .08);
}

.komimport-ai-chat__catalog-minimized-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding: 6px 8px;
	border: 0;
	background: transparent;
	color: #1f2933;
	text-align: left;
	cursor: pointer;
}

.komimport-ai-chat__catalog-minimized-main:hover,
.komimport-ai-chat__catalog-minimized-main:focus-visible {
	background: #eef6ff;
	outline: none;
}

.komimport-ai-chat__catalog-minimized-title,
.komimport-ai-chat__catalog-minimized-subtitle,
.komimport-ai-chat__catalog-minimized-meta,
.komimport-ai-chat__catalog-minimized-mobile-meta {
	min-width: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-minimized-mobile-meta {
	display: none;
}

.komimport-ai-chat__catalog-minimized-title {
	-webkit-line-clamp: 1;
	color: #17202a;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.18;
}

.komimport-ai-chat__catalog-minimized-subtitle {
	-webkit-line-clamp: 1;
	color: #30465a;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.18;
}

.komimport-ai-chat__catalog-minimized-meta {
	-webkit-line-clamp: 1;
	color: #607489;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.16;
}

.komimport-ai-chat__catalog-minimized-close {
	width: 28px;
	height: 100%;
	min-height: 58px;
	border: 0;
	border-left: 1px solid #d6e1ea;
	background: #f2f7fc;
	color: #46657f;
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__catalog-minimized-close:hover,
.komimport-ai-chat__catalog-minimized-close:focus-visible {
	background: #e4f0fb;
	color: #123b5d;
	outline: none;
}

@media (max-width: 980px) {
	.komimport-ai-chat__catalog-minimized-tray {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.komimport-ai-chat__catalog-minimized-tray {
		grid-template-columns: minmax(0, 1fr);
		gap: 5px;
		padding: 5px 8px;
	}

	.komimport-ai-chat__catalog-minimized-card {
		grid-template-columns: minmax(0, 1fr) 30px;
	}

	.komimport-ai-chat__catalog-minimized-main {
		gap: 1px;
		padding: 5px 8px;
	}

	.komimport-ai-chat__catalog-minimized-title {
		-webkit-line-clamp: 1;
		font-size: 11px;
		line-height: 1.15;
	}

	.komimport-ai-chat__catalog-minimized-subtitle,
	.komimport-ai-chat__catalog-minimized-meta {
		display: none;
	}

	.komimport-ai-chat__catalog-minimized-mobile-meta {
		display: -webkit-box;
		-webkit-line-clamp: 1;
		color: #51687d;
		font-size: 10.5px;
		font-weight: 800;
		line-height: 1.15;
	}

	.komimport-ai-chat__catalog-minimized-close {
		width: 30px;
		min-height: 42px;
	}
}

.komimport-ai-chat__query-history[hidden] {
	display: none;
}

.komimport-ai-chat__query-history {
	position: absolute;
	left: 10px;
	right: 114px;
	bottom: calc(100% + 6px);
	z-index: 20;
	max-height: min(320px, 40vh);
	overflow: hidden;
	border: 1px solid #c9d7e2;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(20, 47, 71, .18);
}

.komimport-ai-chat__query-history-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	border-bottom: 1px solid #e5edf3;
	background: #f7fbfe;
}

.komimport-ai-chat__query-history-title {
	min-width: 0;
	color: #34495e;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.komimport-ai-chat__query-history-clear {
	border: 0;
	background: transparent;
	color: #0b75b7;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.komimport-ai-chat__query-history-clear:hover,
.komimport-ai-chat__query-history-clear:focus {
	color: #074f7c;
	outline: none;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.komimport-ai-chat__query-history-list {
	max-height: calc(min(320px, 40vh) - 34px);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 4px;
}

.komimport-ai-chat__query-history-item {
	display: block;
	width: 100%;
	min-width: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #1f2933;
	font: inherit;
	font-size: 14px;
	line-height: 1.25;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 8px 9px;
	cursor: pointer;
}

.komimport-ai-chat__query-history-item:hover,
.komimport-ai-chat__query-history-item:focus,
.komimport-ai-chat__query-history-item.is-active {
	background: #eaf5fd;
	color: #075b91;
	outline: none;
}

.komimport-ai-chat__input {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: 1px solid #b7c7d4;
	border-radius: 6px;
	padding: 0 11px;
	font-size: 14px;
	outline: none;
}

.komimport-ai-chat__input:focus {
	border-color: #0b75b7;
	box-shadow: 0 0 0 2px rgba(11, 117, 183, .14);
}

.komimport-ai-chat__query-history-toggle {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border: 1px solid #b7c7d4;
	border-radius: 6px;
	background: #f6fafc;
	color: #24465e;
	font: inherit;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__query-history-toggle:hover,
.komimport-ai-chat__query-history-toggle:focus,
.komimport-ai-chat__query-history-toggle[aria-expanded="true"] {
	border-color: #0b75b7;
	background: #eaf5fd;
	color: #075b91;
	outline: none;
}

.komimport-ai-chat__query-history-toggle:disabled {
	opacity: .45;
	cursor: default;
}

.komimport-ai-chat__send {
	width: 44px;
	height: 40px;
	border: 0;
	border-radius: 6px;
	background: #ffc400;
	color: #17202a;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
}

.komimport-ai-chat__send:disabled,
.komimport-ai-chat__query-history-toggle:disabled,
.komimport-ai-chat__input:disabled {
	opacity: .55;
}

.komimport-ai-chat__send:disabled,
.komimport-ai-chat__input:disabled {
	cursor: wait;
}

.komimport-ai-chat__input[readonly] {
	cursor: wait;
}

.komimport-ai-chat__catalog-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483002;
	padding: 18px;
	background: rgba(11, 31, 51, .48);
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	color: #1f2933;
	overscroll-behavior: contain;
}

.komimport-ai-chat__catalog-modal.is-open {
	display: flex;
}

body.komimport-ai-chat--catalog-recaptcha-active .komimport-ai-chat {
	z-index: 1900000000;
}

body.komimport-ai-chat--catalog-recaptcha-active .komimport-ai-chat__catalog-modal {
	z-index: 1900000001;
}

body.komimport-ai-chat--catalog-modal-open {
	overflow: hidden;
}

.komimport-catalog-landing-preview {
	position: relative;
	display: grid;
	grid-template-columns: minmax(170px, 40%) minmax(0, 1fr);
	min-height: 126px;
	max-height: 144px;
	width: 100%;
	margin: 14px 0 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid #e0e8ef;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(18, 63, 98, .12);
	color: #102235;
	cursor: pointer;
	font-family: Arial, sans-serif;
	text-align: left;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.komimport-catalog-landing-preview__media {
	display: block;
	align-self: stretch;
	min-height: 126px;
	overflow: hidden;
	background: #eaf0f5;
}

.komimport-catalog-landing-preview__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 56%;
}

.komimport-catalog-landing-preview__media--fallback {
	position: relative;
	background: linear-gradient(135deg, #dbe8f0, #f5f8fa);
}

.komimport-catalog-landing-preview__fallback-grid {
	position: absolute;
	inset: 13px;
	border: 2px solid #6f91a6;
	background: repeating-linear-gradient(0deg, transparent 0 18px, rgba(55, 91, 115, .16) 19px 20px), repeating-linear-gradient(90deg, transparent 0 25px, rgba(55, 91, 115, .14) 26px 27px);
	transform: rotate(-4deg);
}

.komimport-catalog-landing-preview__fallback-number {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 14px;
	padding: 7px 8px;
	overflow: hidden;
	border-radius: 5px;
	background: rgba(16, 34, 53, .88);
	color: #fff;
	font: 700 12px/1.2 Arial, sans-serif;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.komimport-catalog-landing-preview__content {
	display: flex;
	min-width: 0;
	padding: 16px 20px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 3px;
}

.komimport-catalog-landing-preview__title {
	display: block;
	max-width: 100%;
	color: #102235;
	font: 700 18px/1.2 Arial, sans-serif;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.komimport-catalog-landing-preview__meta,
.komimport-catalog-landing-preview__description {
	display: block;
	max-width: 100%;
	color: #456277;
	font: 600 14px/1.3 Arial, sans-serif;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.komimport-catalog-landing-preview__description {
	font-weight: 400;
}

.komimport-catalog-landing-preview__label {
	display: inline-flex;
	min-height: 36px;
	max-width: 100%;
	margin-top: 7px;
	padding: 0 13px;
	align-items: center;
	border-radius: 8px;
	background: #ffc400;
	color: #102235;
	font: 700 14px/1.2 Arial, sans-serif;
	box-shadow: 0 4px 12px rgba(160, 113, 0, .16);
	white-space: nowrap;
}

.komimport-catalog-landing-preview__label::after {
	content: '›';
	margin-left: 9px;
	font-size: 23px;
	font-weight: 400;
	line-height: 1;
}

.komimport-catalog-landing-preview:hover,
.komimport-catalog-landing-preview:focus-visible {
	border-color: #9ab8cc;
	box-shadow: 0 12px 28px rgba(18, 63, 98, .18);
	transform: translateY(-1px);
}

.komimport-catalog-landing-preview:focus-visible {
	outline: 3px solid #0b70b7;
	outline-offset: 3px;
}

.komimport-catalog-landing-preview.is-loading .komimport-catalog-landing-preview__label { opacity: .7; }
.komimport-catalog-landing-preview.is-error .komimport-catalog-landing-preview__label { background: #f3e5e5; color: #9d2525; }

@media (max-width: 640px) {
	.komimport-catalog-landing-preview {
		grid-template-columns: 108px minmax(0, 1fr);
		min-height: 112px;
		max-height: none;
		margin-top: 12px;
		border-radius: 12px;
	}
	.komimport-catalog-landing-preview__media { min-height: 112px; }
	.komimport-catalog-landing-preview__content { padding: 13px 14px; }
	.komimport-catalog-landing-preview__title { font-size: 16px; }
	.komimport-catalog-landing-preview__meta,
	.komimport-catalog-landing-preview__description { font-size: 13px; }
	.komimport-catalog-landing-preview__label { min-height: 34px; margin-top: 5px; padding: 0 10px; font-size: 13px; }
}

@media (max-width: 360px) {
	.komimport-catalog-landing-preview { grid-template-columns: 82px minmax(0, 1fr); }
	.komimport-catalog-landing-preview__content { padding: 9px 10px; }
	.komimport-catalog-landing-preview__title { font-size: 14px; }
	.komimport-catalog-landing-preview__meta {
		font-size: 12px;
		line-height: 1.2;
		overflow: visible;
		text-overflow: clip;
		white-space: normal;
	}
	.komimport-catalog-landing-preview__description { display: none; }
	.komimport-catalog-landing-preview__label { min-height: 30px; margin-top: 3px; padding: 0 8px; font-size: 11px; }
}

.komimport-ai-chat__catalog-dialog {
	position: relative;
	width: min(1180px, calc(100vw - 28px));
	height: min(760px, calc(100vh - 28px));
	min-width: min(720px, calc(100vw - 28px));
	min-height: min(460px, calc(100vh - 28px));
	max-width: calc(100vw - 28px);
	max-height: calc(100vh - 28px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	resize: none;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 20px 70px rgba(0, 0, 0, .34);
}

/* The catalog modal is appended to body, so this class is shared by both the
   standalone catalog and the Komimport product-page card. */
.komimport-ai-chat__catalog-modal--canonical-card {
	padding: 8px;
}

.komimport-ai-chat__catalog-dialog--canonical-card {
	width: min(1680px, calc(100vw - 16px));
	height: calc(100vh - 16px);
	height: calc(100dvh - 16px);
	height: calc(var(--komimport-visual-vh, 100dvh) - 16px);
	min-width: min(720px, calc(100vw - 16px));
	min-height: min(460px, calc(100vh - 16px));
	min-height: min(460px, calc(100dvh - 16px));
	max-width: calc(100vw - 16px);
	max-height: calc(100vh - 16px);
	max-height: calc(100dvh - 16px);
	max-height: calc(var(--komimport-visual-vh, 100dvh) - 16px);
}

.komimport-ai-chat__catalog-analogs-dialog {
	box-sizing: border-box;
	position: absolute;
	z-index: 30;
	right: 14px;
	bottom: 14px;
	width: min(640px, calc(100% - 28px));
	max-height: min(440px, calc(100% - 28px));
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto minmax(0, 1fr);
	gap: 8px 12px;
	padding: 14px;
	overflow: hidden;
	border: 1px solid #b9cde0;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 18px 46px rgba(7, 31, 53, .32);
	color: #1f2933;
	font-family: Arial, sans-serif;
}

.komimport-ai-chat__catalog-analogs-dialog[hidden] { display: none; }

.komimport-ai-chat__catalog-page-report-button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 32px;
	max-width: 100%;
	border: 1px solid #c86d4b;
	border-radius: 7px;
	background: #fff8f4;
	color: #8a351d;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
	padding: 4px 8px;
	cursor: pointer;
}
.komimport-ai-chat__catalog-page-report-button:hover,
.komimport-ai-chat__catalog-page-report-button:focus-visible { background: #ffe9df; }
@media (max-width: 420px) {
	.komimport-ai-chat__catalog-page-report-button {
		min-height: 30px;
		font-size: 11px;
		padding: 4px 7px;
	}
}
@media (max-width: 340px) {
	.komimport-ai-chat__catalog-page-report-button {
		white-space: normal;
		text-align: center;
	}
}
.komimport-ai-chat__catalog-report-dialog {
	position: absolute;
	inset: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	background: rgba(255,255,255,.98);
	color: #173b5a;
}
.komimport-ai-chat__catalog-report-dialog[hidden] { display: none; }
.komimport-ai-chat__catalog-report-title { margin: 0; padding-right: 36px; font-size: 20px; }
.komimport-ai-chat__catalog-report-close { position: absolute; top: 14px; right: 16px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.komimport-ai-chat__catalog-report-context { margin: 0; color: #50677b; }
.komimport-ai-chat__catalog-report-comment { min-height: 120px; width: 100%; box-sizing: border-box; resize: vertical; padding: 10px; font: inherit; }
.komimport-ai-chat__catalog-report-status { min-height: 1.2em; margin: 0; }
.komimport-ai-chat__catalog-report-actions { display: flex; justify-content: flex-end; gap: 10px; }
.komimport-ai-chat__catalog-report-actions button { border-radius: 7px; padding: 9px 15px; font: inherit; font-weight: 700; cursor: pointer; }
.komimport-ai-chat__catalog-report-submit { border: 1px solid #0b6eae; background: #0b6eae; color: #fff; }
.komimport-ai-chat__catalog-report-cancel { border: 1px solid #9fb2c2; background: #fff; color: #24445f; }

.komimport-ai-chat__catalog-analogs-title {
	margin: 0;
	min-width: 0;
	color: #123b5d;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-analogs-close {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid #c8d6e2;
	border-radius: 6px;
	background: #f5f8fb;
	color: #234d70;
	font: 800 22px/1 Arial, sans-serif;
	cursor: pointer;
}

.komimport-ai-chat__catalog-analogs-close:hover,
.komimport-ai-chat__catalog-analogs-close:focus {
	border-color: #7da5c5;
	background: #e6f0f8;
	outline: none;
}

.komimport-ai-chat__catalog-analogs-status {
	grid-column: 1 / -1;
	margin: 0;
	color: #536471;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.komimport-ai-chat__catalog-analogs-table-wrap {
	grid-column: 1 / -1;
	min-width: 0;
	min-height: 0;
	overflow: auto;
	border: 1px solid #dce6ee;
	border-radius: 6px;
	background: #fff;
}

.komimport-ai-chat__catalog-analogs-list {
	width: 100%;
	min-width: 420px;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 13px;
}

.komimport-ai-chat__catalog-analogs-list th,
.komimport-ai-chat__catalog-analogs-list td {
	padding: 9px 10px;
	border-bottom: 1px solid #e2e9f0;
	text-align: left;
	vertical-align: top;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-analogs-list th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: #eef5fa;
	color: #31536d;
	font-size: 12px;
	font-weight: 800;
}

.komimport-ai-chat__catalog-analogs-number-heading,
.komimport-ai-chat__catalog-analog-number { width: 42%; }

.komimport-ai-chat__catalog-analog-number strong {
	color: #123b5d;
	font-weight: 800;
}

.komimport-ai-chat__catalog-analogs-list tr:last-child td { border-bottom: 0; }

.komimport-ai-chat__catalog-icon-button {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid #b9cde0;
	border-radius: 5px;
	background: #fff;
	color: #1d5e91;
	cursor: pointer;
}

.komimport-ai-chat__catalog-icon-button svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.komimport-ai-chat__catalog-icon-button:hover,
.komimport-ai-chat__catalog-icon-button:focus {
	border-color: #6f9cbd;
	background: #eaf3fa;
	outline: none;
}

.komimport-ai-chat__catalog-book-dir,
.komimport-ai-chat__catalog-number-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.komimport-ai-chat__catalog-book-dir {
	margin-top: 3px;
	color: #dce9f3;
	font-size: 12px;
	font-weight: 700;
}

.komimport-ai-chat__catalog-book-dir-value {
	padding: 2px 4px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .12);
	color: inherit;
	font: 700 12px/1.2 Consolas, Monaco, monospace;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-book-dir-copy {
	flex: 0 0 auto;
	background: rgba(255, 255, 255, .96);
}

.komimport-ai-chat__catalog-number-actions {
	justify-content: flex-end;
	vertical-align: middle;
}

.komimport-ai-chat__catalog-modal.is-maximized {
	top: var(--komimport-visual-top, 0px);
	right: 0;
	bottom: auto;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	height: var(--komimport-visual-vh, 100dvh);
	padding: 0;
	align-items: stretch;
	justify-content: stretch;
}

.komimport-ai-chat__catalog-dialog.is-maximized {
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	max-width: 100%;
	max-height: 100%;
	border-radius: 0;
	box-shadow: none;
}

.komimport-ai-chat__catalog-dialog.is-maximized .komimport-ai-chat__catalog-resize {
	display: none;
}

.komimport-ai-chat__catalog-resize {
	position: absolute;
	z-index: 8;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: rgba(18, 59, 93, .10);
	color: transparent;
	opacity: .82;
	touch-action: none;
}

.komimport-ai-chat__catalog-resize:before,
.komimport-ai-chat__catalog-resize:after {
	content: "";
	position: absolute;
	border-radius: 999px;
	background: rgba(18, 59, 93, .42);
}

.komimport-ai-chat__catalog-resize:before {
	width: 16px;
	height: 2px;
}

.komimport-ai-chat__catalog-resize:after {
	width: 2px;
	height: 16px;
}

.komimport-ai-chat__catalog-resize:hover,
.komimport-ai-chat__catalog-resize:focus {
	background: rgba(18, 59, 93, .18);
	opacity: 1;
	outline: none;
}

.komimport-ai-chat__catalog-resize--nw {
	top: 0;
	left: 0;
	border-bottom-right-radius: 8px;
	cursor: nwse-resize;
}

.komimport-ai-chat__catalog-resize--ne {
	top: 0;
	right: 0;
	border-bottom-left-radius: 8px;
	cursor: nesw-resize;
}

.komimport-ai-chat__catalog-resize--nw,
.komimport-ai-chat__catalog-resize--ne {
	background: rgba(255, 255, 255, .14);
}

.komimport-ai-chat__catalog-resize--sw {
	bottom: 0;
	left: 0;
	border-top-right-radius: 8px;
	cursor: nesw-resize;
}

.komimport-ai-chat__catalog-resize--se {
	right: 0;
	bottom: 0;
	border-top-left-radius: 8px;
	cursor: nwse-resize;
}

.komimport-ai-chat__catalog-resize--nw:before,
.komimport-ai-chat__catalog-resize--nw:after {
	top: 7px;
	left: 7px;
}

.komimport-ai-chat__catalog-resize--nw:before,
.komimport-ai-chat__catalog-resize--nw:after,
.komimport-ai-chat__catalog-resize--ne:before,
.komimport-ai-chat__catalog-resize--ne:after {
	background: rgba(255, 255, 255, .74);
}

.komimport-ai-chat__catalog-resize--ne:before,
.komimport-ai-chat__catalog-resize--ne:after {
	top: 7px;
	right: 7px;
}

.komimport-ai-chat__catalog-resize--sw:before,
.komimport-ai-chat__catalog-resize--sw:after {
	left: 7px;
	bottom: 7px;
}

.komimport-ai-chat__catalog-resize--se:before,
.komimport-ai-chat__catalog-resize--se:after {
	right: 7px;
	bottom: 7px;
}

.komimport-ai-chat__catalog-dialog.is-column-resizing,
.komimport-ai-chat__catalog-dialog.is-column-resizing * {
	cursor: col-resize !important;
	user-select: none;
}

.komimport-ai-chat__catalog-header {
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px 10px 16px;
	background: #123b5d;
	color: #fff;
}

.komimport-ai-chat__catalog-heading {
	position: relative;
	z-index: 10;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.komimport-ai-chat__catalog-title {
	min-width: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.komimport-ai-chat__catalog-heading-links {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 20px;
}

.komimport-ai-chat__catalog-kpart-link {
	width: max-content;
	max-width: 100%;
	color: #dbeafe;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: underline;
	text-underline-offset: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.komimport-ai-chat__catalog-kpart-link:hover {
	color: #fff;
}

.komimport-ai-chat__catalog-shop-manual {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 24px;
	padding: 2px 8px;
	border: 1px solid rgba(255, 255, 255, .42);
	border-radius: 5px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__catalog-shop-manual[hidden] {
	display: none !important;
}

.komimport-ai-chat__catalog-shop-manual svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.komimport-ai-chat__catalog-shop-manual:hover,
.komimport-ai-chat__catalog-shop-manual:focus-visible {
	background: rgba(255, 255, 255, .24);
	outline: 2px solid rgba(255, 255, 255, .58);
	outline-offset: 1px;
}

.komimport-ai-chat__shop-manual-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483005;
	padding: 20px;
	align-items: center;
	justify-content: center;
	background: rgba(7, 20, 33, .76);
	font-family: Arial, sans-serif;
}

.komimport-ai-chat__shop-manual-modal.is-open {
	display: flex;
}

.komimport-ai-chat__shop-manual-dialog {
	width: min(960px, calc(100vw - 32px));
	height: min(820px, calc(100vh - 32px));
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .46);
	color: #1f2933;
}

.komimport-ai-chat__shop-manual-dialog.is-parts-pdf {
	width: min(1680px, calc(100vw - 32px));
	height: calc(100vh - 32px);
	border: 2px solid #6f879b;
	border-radius: 12px;
	box-shadow: 0 26px 90px rgba(0, 0, 0, .5);
}

.komimport-ai-chat__shop-manual-dialog.is-parts-pdf .komimport-ai-chat__shop-manual-body {
	overflow: hidden;
}

.komimport-ai-chat__shop-manual-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 9px 12px 9px 16px;
	background: #123b5d;
	color: #fff;
}

.komimport-ai-chat__shop-manual-title {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 15px;
	font-weight: 800;
}

.komimport-ai-chat__shop-manual-close {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, .15);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__shop-manual-body {
	min-height: 0;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	overflow: auto;
	padding: 12px;
}

.komimport-ai-chat__shop-manual-pickers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.komimport-ai-chat__shop-manual-picker {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
}

.komimport-ai-chat__shop-manual-picker select {
	width: 100%;
	min-height: 34px;
	border: 1px solid #b8c7d3;
	border-radius: 6px;
	background: #fff;
	color: #1f2933;
}

.komimport-ai-chat__shop-manual-meta {
	color: #52677a;
	font-size: 12px;
}

.komimport-ai-chat__shop-manual-language-fallback {
	padding: 8px 10px;
	border-left: 3px solid #d89b00;
	background: #fff8dc;
	color: #5d4a13;
	font-size: 12px;
}

.komimport-ai-chat__shop-manual-language-error {
	padding: 8px 10px;
	border-left: 3px solid #c7483d;
	background: #fff0ef;
	color: #7a2721;
	font-size: 12px;
}

.komimport-ai-chat__shop-manual-gallery {
	min-height: 0;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
}

.komimport-ai-chat__shop-manual-stage {
	position: relative;
	min-height: 300px;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid #d6e1ea;
	border-radius: 8px;
	background: #eef3f7;
}

.komimport-ai-chat__shop-manual-stage > img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform-origin: center center;
	touch-action: none;
	transition: transform .12s ease-out;
	user-select: none;
}

.komimport-ai-chat__shop-manual-stage.is-zoomed > img {
	cursor: grab;
}

.komimport-ai-chat__shop-manual-stage.is-zoomed > img:active {
	cursor: grabbing;
}

.komimport-ai-chat__shop-manual-zoom {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	gap: 4px;
	z-index: 2;
}

.komimport-ai-chat__shop-manual-zoom button {
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border: 0;
	border-radius: 5px;
	background: rgba(18, 59, 93, .86);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.komimport-ai-chat__shop-manual-prev,
.komimport-ai-chat__shop-manual-next {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 52px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 6px;
	background: rgba(18, 59, 93, .78);
	color: #fff;
	font-size: 34px;
	cursor: pointer;
}

.komimport-ai-chat__shop-manual-prev { left: 10px; }
.komimport-ai-chat__shop-manual-next { right: 10px; }
.komimport-ai-chat__shop-manual-prev:disabled,
.komimport-ai-chat__shop-manual-next:disabled { opacity: .25; cursor: default; }

.komimport-ai-chat__shop-manual-count {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 4px 8px;
	border-radius: 5px;
	background: rgba(18, 59, 93, .82);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.komimport-ai-chat__shop-manual-empty {
	padding: 24px;
	color: #52677a;
	text-align: center;
}

.komimport-ai-chat__shop-manual-thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px;
}

.komimport-ai-chat__shop-manual-thumb {
	flex: 0 0 68px;
	height: 84px;
	overflow: hidden;
	padding: 2px;
	border: 2px solid transparent;
	border-radius: 6px;
	background: #eef3f7;
	cursor: pointer;
}

.komimport-ai-chat__shop-manual-thumb.is-active { border-color: #1473b9; }
.komimport-ai-chat__shop-manual-thumb img { width: 100%; height: 100%; object-fit: cover; }

.komimport-ai-chat__shop-manual-loading {
	margin: auto;
	padding: 28px;
	color: #52677a;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.komimport-ai-chat__shop-manual-loading.is-language {
	margin: 0;
	padding: 8px 10px;
	border-radius: 6px;
	background: #eef3f7;
	font-size: 12px;
	text-align: left;
}

.komimport-ai-chat__parts-pdf-viewer {
	min-height: 0;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	border: 2px solid #8ca4b7;
	border-radius: 10px;
	overflow: hidden;
	background: #dfe6ec;
}

.komimport-ai-chat__parts-pdf-toolbar {
	position: relative;
	z-index: 4;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 7px;
	background: #123b5d;
	color: #fff;
}

.komimport-ai-chat__parts-pdf-toolbar button {
	min-width: 34px;
	height: 32px;
	padding: 0 9px;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 5px;
	background: rgba(255,255,255,.13);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.komimport-ai-chat__parts-pdf-toolbar button:disabled { opacity: .35; cursor: default; }
.komimport-ai-chat__parts-pdf-toolbar span { min-width: 58px; text-align: center; font-size: 12px; font-weight: 800; }

.komimport-ai-chat__parts-pdf-stage {
	position: relative;
	min-height: 340px;
	flex: 1 1 auto;
	overflow-x: auto;
	overflow-y: auto;
	padding: 24px;
	overscroll-behavior: contain;
	background: #d4dde5;
}

.komimport-ai-chat__parts-pdf-stage.is-fit-width {
	overflow-x: hidden;
}

.komimport-ai-chat__parts-pdf-pages {
	width: max-content;
	min-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.komimport-ai-chat__parts-pdf-pages.is-fit-width {
	width: 100%;
	min-width: 0;
}

.komimport-ai-chat__parts-pdf-page {
	position: relative;
	flex: 0 0 auto;
	overflow: hidden;
	box-sizing: border-box;
	border: 1px solid #aebdca;
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0,0,0,.18);
}

.komimport-ai-chat__parts-pdf-page::before {
	content: attr(data-page-number);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #7d8b96;
	font-size: 14px;
	font-weight: 700;
}

.komimport-ai-chat__parts-pdf-page.is-rendered::before { display: none; }

.komimport-ai-chat__parts-pdf-page canvas {
	display: block;
	max-width: none;
	margin: 0;
	background: #fff;
}

.komimport-ai-chat__parts-pdf-annotations {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.komimport-ai-chat__parts-pdf-purchase-link {
	position: absolute;
	z-index: 2;
	min-width: 44px;
	min-height: 28px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
	pointer-events: auto;
}

.komimport-ai-chat__parts-pdf-purchase-link:hover,
.komimport-ai-chat__parts-pdf-purchase-link:focus-visible {
	border-color: #0e6dad;
	background: rgba(14,109,173,.12);
	outline: none;
}

.komimport-ai-chat__parts-pdf-purchase-link--static {
	left: 33%;
	top: 60%;
	width: 34%;
	height: 6%;
}

.komimport-ai-chat__parts-pdf-loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	background: rgba(239,244,248,.9);
	color: #31516a;
	font-weight: 700;
}

.komimport-ai-chat__parts-pdf-loading[hidden] {
	display: none !important;
}

.komimport-ai-chat__parts-pdf-page--image {
	height: auto !important;
}

.komimport-ai-chat__parts-pdf-page--image > img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	background: #fff;
}

.komimport-ai-chat__parts-pdf-page--placeholder {
	position: relative;
}

.komimport-ai-chat__parts-pdf-quality-status {
	position: absolute;
	left: 50%;
	bottom: 14px;
	max-width: calc(100% - 28px);
	padding: 7px 11px;
	border-radius: 8px;
	transform: translateX(-50%);
	background: rgba(15, 57, 87, .88);
	color: #fff;
	font-size: 13px;
	line-height: 1.25;
	text-align: center;
}

.komimport-ai-chat__parts-pdf-page--purchase {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 594.96 / 841.92;
}

.komimport-ai-chat__parts-pdf-fallback-purchase {
	display: flex;
	max-width: 520px;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 40px;
	color: #1f3f57;
	font-size: 18px;
	line-height: 1.45;
	text-align: center;
}

.komimport-ai-chat__parts-pdf-fallback-purchase-title {
	font-size: 30px;
	font-weight: 900;
}

.komimport-ai-chat__parts-pdf-page.is-error::before {
	content: "Could not load page";
}

.komimport-ai-chat__parts-pdf-retry {
	padding: 8px 14px;
	border: 0;
	border-radius: 6px;
	background: #1473b9;
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.komimport-ai-chat__parts-pdf-footer {
	position: relative;
	z-index: 4;
	flex: 0 0 auto;
	display: flex;
	justify-content: flex-end;
	padding: 8px 10px;
	border-top: 1px solid #c6d2dc;
	background: #fff;
}

.komimport-ai-chat__parts-pdf-footer .komimport-ai-chat__manual-buy {
	min-width: 230px;
}

.komimport-ai-chat__parts-pdf-page-buy,
.komimport-ai-chat__manual-buy {
	padding: 10px 16px;
	border: 0;
	border-radius: 6px;
	background: #f5b400;
	color: #132f46;
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	cursor: pointer;
}

.komimport-ai-chat__parts-pdf-page-buy {
	position: sticky;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	box-shadow: 0 4px 18px rgba(0,0,0,.3);
}

.komimport-ai-chat__parts-pdf-page-buy[hidden] { display: none; }
.komimport-ai-chat__manual-buy { align-self: flex-end; }

.komimport-ai-chat__manual-purchase-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483010;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(7,20,33,.82);
	font-family: Arial,sans-serif;
}

.komimport-ai-chat__manual-purchase-modal.is-open { display: flex; }
.komimport-ai-chat__manual-purchase-dialog { width: min(560px,calc(100vw - 28px)); max-height: calc(100vh - 28px); display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.5); color: #1f2933; }
.komimport-ai-chat__manual-purchase-header { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px 9px 16px; background: #123b5d; color: #fff; }
.komimport-ai-chat__manual-purchase-title { font-size: 15px; font-weight: 900; }
.komimport-ai-chat__manual-purchase-close { width: 34px; height: 34px; border: 0; border-radius: 6px; background: rgba(255,255,255,.15); color: #fff; font-size: 26px; cursor: pointer; }
.komimport-ai-chat__manual-purchase-body { display: flex; flex-direction: column; gap: 12px; overflow: auto; padding: 16px; }
.komimport-ai-chat__manual-purchase-summary { padding: 14px; border: 1px solid #d6e1ea; border-radius: 8px; background: #f6f9fb; }
.komimport-ai-chat__manual-purchase-name { font-size: 16px; font-weight: 900; }
.komimport-ai-chat__manual-purchase-meta { margin-top: 5px; color: #52677a; font-size: 12px; }
.komimport-ai-chat__manual-purchase-price { margin-top: 8px; color: #0f766e; font-size: 28px; font-weight: 900; }
.komimport-ai-chat__manual-purchase-warning { margin: 0; padding: 10px; border-left: 4px solid #e7a800; background: #fff8dd; font-size: 13px; line-height: 1.4; }
.komimport-ai-chat__manual-purchase-field { display: grid; gap: 5px; font-size: 12px; font-weight: 800; }
.komimport-ai-chat__manual-purchase-field input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #b8c7d3; border-radius: 6px; background: #fff; color: #1f2933; font: inherit; }
.komimport-ai-chat__manual-purchase-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.komimport-ai-chat__manual-purchase-tabs button { min-height: 40px; border: 1px solid #b8c7d3; border-radius: 6px; background: #f4f7f9; color: #28465d; font: inherit; font-weight: 900; cursor: pointer; }
.komimport-ai-chat__manual-purchase-tabs button.is-active { border-color: #1473b9; background: #e8f3fb; color: #0b5688; }
.komimport-ai-chat__manual-purchase-panel { display: grid; gap: 10px; }
.komimport-ai-chat__manual-purchase-panel p { margin: 0; color: #52677a; }
.komimport-ai-chat__manual-paypal-buttons { min-height: 90px; position: relative; z-index: 1; }
.komimport-ai-chat__manual-purchase-success { padding: 14px; border-radius: 6px; background: #eaf8ef; color: #176127; font-weight: 800; line-height: 1.4; }
.komimport-ai-chat__manual-purchase-paypal,.komimport-ai-chat__manual-purchase-usdt { min-height: 44px; border: 0; border-radius: 6px; color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.komimport-ai-chat__manual-purchase-paypal { background: #0070ba; }
.komimport-ai-chat__manual-purchase-usdt { background: #0f766e; }
.komimport-ai-chat__manual-purchase-paypal:disabled,.komimport-ai-chat__manual-purchase-usdt:disabled { opacity: .55; cursor: wait; }
.komimport-ai-chat__manual-purchase-usdt-warning { padding: 10px; border-radius: 6px; background: #fff1f1; color: #8c2323; font-size: 12px; font-weight: 700; line-height: 1.4; }
.komimport-ai-chat__manual-purchase-copy-row { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid #d6e1ea; border-radius: 6px; }
.komimport-ai-chat__manual-purchase-copy-row code { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; color: #123b5d; font-size: 12px; }
.komimport-ai-chat__manual-purchase-copy-row button { flex: 0 0 auto; min-height: 32px; border: 0; border-radius: 5px; background: #e8f3fb; color: #0b5688; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.komimport-ai-chat__manual-purchase-message { min-height: 18px; color: #8c2323; font-size: 13px; font-weight: 700; }
.komimport-ai-chat__manual-purchase-loading { padding: 32px; color: #52677a; text-align: center; font-weight: 700; }

.komimport-ai-chat__catalog-kpart-mobile-link {
	display: none;
}

.komimport-ai-chat__catalog-search-tools {
	position: relative;
	z-index: 20;
	flex: 1 1 650px;
	max-width: 760px;
	min-width: 360px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.komimport-ai-chat__catalog-model-search {
	position: relative;
	flex: 1 1 320px;
	min-width: 180px;
}

.komimport-ai-chat__catalog-model-search-input {
	width: 100%;
	min-width: 0;
	height: 34px;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, .36);
	border-radius: 6px;
	background: rgba(255, 255, 255, .96);
	color: #17202a;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	padding: 0 10px;
	outline: none;
}

.komimport-ai-chat__catalog-model-search-input::placeholder {
	color: #66788a;
	font-weight: 600;
}

.komimport-ai-chat__catalog-model-search-input:focus {
	border-color: #93c5fd;
	box-shadow: 0 0 0 2px rgba(147, 197, 253, .35);
}

.komimport-ai-chat__catalog-model-search-input:disabled {
	cursor: wait;
	opacity: .7;
}

.komimport-ai-chat__catalog-model-results {
	position: absolute;
	top: calc(100% + 5px);
	left: 0;
	right: 0;
	z-index: 80;
	max-height: min(52vh, 420px);
	overflow-y: auto;
	box-sizing: border-box;
	padding: 4px;
	border: 1px solid #b8cad9;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(10, 32, 50, .24);
}

.komimport-ai-chat__catalog-model-results[hidden] {
	display: none;
}

.komimport-ai-chat__catalog-model-results-count {
	position: sticky;
	top: -4px;
	z-index: 2;
	margin: -4px -4px 4px;
	padding: 7px 9px;
	border-bottom: 1px solid #d6e1ea;
	background: #f4f8fb;
	color: #345269;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
}

.komimport-ai-chat__catalog-model-option {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(90px, auto) minmax(0, 1fr);
	gap: 2px 9px;
	padding: 8px 9px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: #17202a;
	text-align: left;
	cursor: pointer;
}

.komimport-ai-chat__catalog-model-option:hover,
.komimport-ai-chat__catalog-model-option:focus-visible,
.komimport-ai-chat__catalog-model-option.is-active {
	background: #e8f2fb;
	outline: none;
}

.komimport-ai-chat__catalog-model-option-model {
	grid-row: 1 / span 2;
	font-size: 13px;
	font-weight: 800;
	color: #123b5d;
}

.komimport-ai-chat__catalog-model-option-book {
	min-width: 0;
	font-size: 12px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-model-option-meta {
	min-width: 0;
	font-size: 11px;
	color: #607487;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__catalog-model-status {
	position: absolute;
	top: calc(100% + 4px);
	left: 4px;
	right: 4px;
	z-index: 70;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	color: #e4f2ff;
	pointer-events: none;
}

.komimport-ai-chat__catalog-model-status.is-error {
	color: #ffd7d7;
}

.komimport-ai-chat__catalog-book-search {
	position: relative;
	z-index: 10;
	flex: 1 1 320px;
	max-width: none;
	min-width: 180px;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.komimport-ai-chat__catalog-book-search-input {
	width: 100%;
	min-width: 0;
	height: 34px;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, .36);
	border-radius: 6px;
	background: rgba(255, 255, 255, .96);
	color: #17202a;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	padding: 0 10px;
	outline: none;
}

.komimport-ai-chat__catalog-book-search-input::placeholder {
	color: #66788a;
	font-weight: 600;
}

.komimport-ai-chat__catalog-book-search-input:focus {
	border-color: #93c5fd;
	box-shadow: 0 0 0 2px rgba(147, 197, 253, .35);
}

.komimport-ai-chat__catalog-book-search-submit {
	flex: 0 0 auto;
	min-width: 70px;
	height: 34px;
	border: 0;
	border-radius: 6px;
	background: #e6f2ff;
	color: #123b5d;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__catalog-book-search-submit:hover,
.komimport-ai-chat__catalog-book-search-submit:focus {
	background: #fff;
	outline: none;
}

.komimport-ai-chat__catalog-book-search-input:disabled,
.komimport-ai-chat__catalog-book-search-submit:disabled {
	cursor: not-allowed;
	opacity: .62;
}

.komimport-ai-chat__catalog-actions {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.komimport-ai-chat__catalog-order-open {
	flex: 0 0 auto;
}

.komimport-ai-chat__catalog-save {
	min-height: 34px;
	padding: 0 12px;
	border: 0;
	border-radius: 6px;
	background: #ffc400;
	color: #17202a;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__catalog-save:hover,
.komimport-ai-chat__catalog-save:focus {
	background: #ffd84d;
	outline: none;
}

.komimport-ai-chat__catalog-save-status {
	min-width: 76px;
	color: #b8f7c5;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-align: right;
}

.komimport-ai-chat__catalog-minimize,
.komimport-ai-chat__catalog-close {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	flex: 0 0 auto;
}

.komimport-ai-chat__catalog-minimize:hover,
.komimport-ai-chat__catalog-minimize:focus-visible,
.komimport-ai-chat__catalog-close:hover,
.komimport-ai-chat__catalog-close:focus-visible {
	background: rgba(255, 255, 255, .24);
	outline: none;
}

.komimport-ai-chat__catalog-body {
	position: relative;
	flex: 1;
	min-height: 0;
	display: grid;
	grid-template-columns:
		minmax(160px, var(--catalog-nav-width, 250px))
		8px
		minmax(220px, var(--catalog-image-width, 38%))
		8px
		minmax(300px, 1fr);
	background: #f4f7fa;
}

.komimport-ai-chat__catalog-body.is-single-page {
	grid-template-columns:
		minmax(220px, var(--catalog-image-width, 45%))
		8px
		minmax(300px, 1fr);
}

.komimport-ai-chat__catalog-nav-wrap,
.komimport-ai-chat__catalog-image-wrap,
.komimport-ai-chat__catalog-list-wrap {
	min-width: 0;
	min-height: 0;
	overflow: auto;
}

.komimport-ai-chat__catalog-more {
	display: block;
	margin: 14px auto 18px;
	padding: 10px 18px;
	border: 1px solid #f28c28;
	border-radius: 8px;
	background: #fff;
	color: #9b4e00;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.komimport-ai-chat__catalog-more:hover:not(:disabled) {
	background: #fff4e8;
}

.komimport-ai-chat__catalog-more:disabled {
	opacity: .65;
	cursor: wait;
}

.komimport-ai-chat__catalog-splitter {
	position: relative;
	z-index: 4;
	width: 8px;
	min-width: 8px;
	border: 0;
	padding: 0;
	background: #e3edf5;
	cursor: col-resize;
	touch-action: none;
}

.komimport-ai-chat__catalog-splitter:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2px;
	height: 44px;
	border-radius: 999px;
	background: #9fb5c8;
	transform: translate(-50%, -50%);
}

.komimport-ai-chat__catalog-splitter:hover,
.komimport-ai-chat__catalog-splitter:focus {
	background: #d4e4f0;
	outline: none;
}

.komimport-ai-chat__catalog-splitter:hover:before,
.komimport-ai-chat__catalog-splitter:focus:before,
.komimport-ai-chat__catalog-dialog.is-column-resizing .komimport-ai-chat__catalog-splitter:before {
	background: #4a6f8f;
}

.komimport-ai-chat__catalog-nav-wrap {
	padding: 10px 8px;
	background: #f8fbfd;
	border-right: 1px solid #d6e1ea;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.komimport-ai-chat__catalog-nav-title {
	position: sticky;
	top: 0;
	z-index: 1;
	margin: -10px -8px 8px;
	padding: 10px 10px 8px;
	background: #f8fbfd;
	border-bottom: 1px solid #dce8f0;
	color: #243b53;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}

.komimport-ai-chat__catalog-nav-empty {
	padding: 8px 4px;
	color: #60758a;
	font-size: 12px;
	line-height: 1.35;
}

.komimport-ai-chat__catalog-nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: max-content;
}

.komimport-ai-chat__catalog-nav-node {
	margin: 1px 0;
	padding: 0;
}

.komimport-ai-chat__catalog-nav-row {
	display: grid;
	grid-template-columns: 22px max-content;
	align-items: start;
	gap: 2px;
	padding-left: calc(var(--level, 0) * 10px);
	min-width: max-content;
}

.komimport-ai-chat__catalog-nav-toggle,
.komimport-ai-chat__catalog-nav-link {
	border: 0;
	background: transparent;
	font-family: Arial, sans-serif;
	cursor: pointer;
}

.komimport-ai-chat__catalog-nav-toggle {
	width: 22px;
	height: 26px;
	padding: 0;
	color: #526b80;
	font-size: 12px;
	line-height: 26px;
	text-align: center;
}

.komimport-ai-chat__catalog-nav-toggle:disabled {
	cursor: default;
	opacity: .28;
}

.komimport-ai-chat__catalog-nav-link {
	width: auto;
	max-width: none;
	min-height: 26px;
	box-sizing: border-box;
	padding: 5px 6px;
	border-radius: 4px;
	color: #25384a;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	white-space: nowrap;
	overflow-wrap: normal;
}

.komimport-ai-chat__catalog-nav-node.has-children > .komimport-ai-chat__catalog-nav-row .komimport-ai-chat__catalog-nav-link {
	font-weight: 800;
}

.komimport-ai-chat__catalog-nav-node.is-folder > .komimport-ai-chat__catalog-nav-row .komimport-ai-chat__catalog-nav-link {
	color: #163a59;
}

.komimport-ai-chat__catalog-nav-node.is-engine-book > .komimport-ai-chat__catalog-nav-row .komimport-ai-chat__catalog-nav-link {
	color: #0f4f63;
}

.komimport-ai-chat__catalog-nav-node.has-children.is-expanded > .komimport-ai-chat__catalog-nav-row .komimport-ai-chat__catalog-nav-link {
	background: #eef6fc;
}

.komimport-ai-chat__catalog-nav-node.is-live-context > .komimport-ai-chat__catalog-nav-row .komimport-ai-chat__catalog-nav-link {
	color: #526b80;
	background: #f3f7fa;
}

.komimport-ai-chat__catalog-nav-node.is-live-result > .komimport-ai-chat__catalog-nav-row .komimport-ai-chat__catalog-nav-link {
	background: #e3f5ea;
	color: #153d2d;
	box-shadow: inset 3px 0 0 #2f9e44;
	font-weight: 800;
}

.komimport-ai-chat__catalog-nav-node.is-live-part-match > .komimport-ai-chat__catalog-nav-row .komimport-ai-chat__catalog-nav-link {
	box-shadow: inset 3px 0 0 #0878b9;
}

.komimport-ai-chat__catalog-nav-link:hover,
.komimport-ai-chat__catalog-nav-link:focus {
	background: #e8f2fb;
	outline: none;
}

.komimport-ai-chat__catalog-live-match {
	background: #ffe08a;
	color: inherit;
	border-radius: 2px;
	padding: 0 .08em;
}

.komimport-ai-chat__catalog-book-search-status {
	display: block;
	flex-basis: 100%;
	min-height: 1.2em;
	color: #6b4e00;
	font-size: 12px;
	padding-top: 4px;
}

.komimport-ai-chat__catalog-table tr.is-source-match td,
.komimport-ai-chat__catalog-nav-link.is-source-match {
	background: #dceeff;
	box-shadow: inset 3px 0 0 #3485c5;
}

.komimport-ai-chat__catalog-nav-node.is-current > .komimport-ai-chat__catalog-nav-row .komimport-ai-chat__catalog-nav-link {
	background: #d8ecff;
	color: #123f63;
	box-shadow: inset 4px 0 0 #1976b9, 0 0 0 1px #9bc7ea;
	font-weight: 800;
}

.komimport-ai-chat__catalog-image-wrap {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 12px;
	background: #fff;
	border-right: 1px solid #d6e1ea;
	cursor: grab;
	overscroll-behavior: contain;
	touch-action: none;
	user-select: none;
	-webkit-overflow-scrolling: touch;
}

.komimport-ai-chat__catalog-image-wrap.is-panning {
	cursor: grabbing;
}

.komimport-ai-chat__catalog-image-stage {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	min-width: 100%;
	min-height: 100%;
	line-height: 0;
}

.komimport-ai-chat__catalog-image {
	display: block;
	position: absolute;
	max-width: none;
	object-fit: fill;
}

.komimport-ai-chat__catalog-labels {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.komimport-ai-chat__catalog-label {
	position: absolute;
	z-index: 1;
	box-sizing: content-box;
	display: block;
	color: #0000ff;
	font-weight: 700;
	text-align: center;
	text-shadow: 0 0 2px #fff, 0 0 2px #fff;
	white-space: nowrap;
	border-radius: 999px;
	font-family: Tahoma, Arial, Verdana, sans-serif;
	cursor: pointer;
	pointer-events: auto;
}

.komimport-ai-chat__catalog-label.is-highlighted {
	border: 2px solid #2b0808;
	background: #ff0000;
	color: #fff;
	text-shadow: none;
}

.komimport-ai-chat__catalog-label.is-selected {
	border: 2px solid #2b0808;
	border-radius: 999px;
	background: #ff0000;
	color: #fff;
	text-shadow: none;
}

.komimport-ai-chat__catalog-label:focus {
	outline: 2px solid #ffc400;
	outline-offset: 2px;
}

.komimport-ai-chat__catalog-list-wrap {
	background: #fff;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.komimport-ai-chat__catalog-table {
	width: max-content;
	min-width: 100%;
	border-collapse: collapse;
	font-size: 12px;
	line-height: 1.28;
}

.komimport-ai-chat__catalog-table th,
.komimport-ai-chat__catalog-table td {
	padding: 6px 7px;
	border: 1px solid #d6e1ea;
	text-align: left;
	vertical-align: top;
	white-space: nowrap;
}

.komimport-ai-chat__catalog-table th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: #eef4f8;
	font-weight: 700;
	color: #243b53;
}

.komimport-ai-chat__catalog-table th:nth-child(7),
.komimport-ai-chat__catalog-table td:nth-child(7),
.komimport-ai-chat__catalog-table th:nth-child(8),
.komimport-ai-chat__catalog-table td:nth-child(8) {
	display: none;
}

.komimport-ai-chat__catalog-table tr.is-highlighted td {
	background: #e6f7ed;
	color: #0f3d2e;
	font-weight: 700;
}

.komimport-ai-chat__catalog-table tr.is-selected td {
	background: #d9f4e5;
	color: #0f3d2e;
	font-weight: 700;
}

.komimport-ai-chat__catalog-table tr.is-selected {
	outline: 2px solid #2f9e44;
	outline-offset: -2px;
}

.komimport-ai-chat__catalog-table tr.is-not-selectable td {
	color: #536471;
}

.komimport-ai-chat__catalog-part-hierarchy {
	display: inline-block;
	margin-right: 4px;
	color: #365a70;
	font-weight: 700;
	letter-spacing: 1px;
	white-space: pre;
}

.komimport-ai-chat__catalog-part-marker {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: -1px 4px 0 0;
	vertical-align: middle;
	object-fit: contain;
}

.komimport-ai-chat__catalog-select-cell {
	width: 74px;
	min-width: 74px;
	text-align: center;
}

.komimport-ai-chat__catalog-table th:first-child {
	width: 74px;
	min-width: 74px;
	text-align: center;
	white-space: nowrap;
}

.komimport-ai-chat__catalog-select-actions {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	white-space: nowrap;
}

.komimport-ai-chat__catalog-select {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
}

.komimport-ai-chat__catalog-price-button {
	width: 24px;
	height: 24px;
	padding: 0;
	border: 1px solid #b9cbd9;
	border-radius: 5px;
	background: #fff;
	color: #153e63;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__catalog-price-button:hover,
.komimport-ai-chat__catalog-price-button:focus {
	border-color: #0875bd;
	background: #eaf5fc;
	outline: none;
}

.komimport-ai-chat__catalog-comment {
	width: 180px;
	max-width: 30vw;
	box-sizing: border-box;
	border: 1px solid #c8d6e2;
	border-radius: 4px;
	padding: 5px 6px;
	font-size: 12px;
	line-height: 1.25;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.komimport-ai-chat__catalog-comment.is-saved {
	border-color: #2f9e44;
	background: #ecfdf3;
	box-shadow: 0 0 0 2px rgba(47, 158, 68, .18);
}

.komimport-ai-chat__order-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483003;
	padding: 18px;
	background: rgba(11, 31, 51, .48);
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	color: #1f2933;
	overscroll-behavior: contain;
}

body.komimport-ai-chat--order-modal-open {
	overflow: hidden;
}

.komimport-ai-chat__order-modal.is-open {
	display: flex;
}

.komimport-ai-chat__order-dialog {
	width: min(960px, calc(100vw - 28px));
	max-height: min(760px, calc(100vh - 28px));
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 20px 70px rgba(0, 0, 0, .34);
	overscroll-behavior: contain;
}

.komimport-ai-chat__order-modal-header {
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px 10px 16px;
	background: #123b5d;
	color: #fff;
}

.komimport-ai-chat__order-modal-title {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.komimport-ai-chat__order-modal-count {
	margin-top: 2px;
	color: rgba(255, 255, 255, .78);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.komimport-ai-chat__order-modal-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.komimport-ai-chat__order-view-prices,
.komimport-ai-chat__order-request-prices,
.komimport-ai-chat__order-export {
	height: 34px;
	padding: 0 12px;
	border: 0;
	border-radius: 6px;
	background: #f7c948;
	color: #0f253a;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}

.komimport-ai-chat__order-view-prices {
	background: #d9f2e3;
	color: #123b2a;
}

.komimport-ai-chat__order-request-prices {
	background: #ffd166;
}

.komimport-ai-chat__order-view-prices:hover,
.komimport-ai-chat__order-view-prices:focus,
.komimport-ai-chat__order-request-prices:hover,
.komimport-ai-chat__order-request-prices:focus,
.komimport-ai-chat__order-export:hover,
.komimport-ai-chat__order-export:focus {
	background: #ffd95c;
	outline: none;
}

.komimport-ai-chat__order-view-prices:hover,
.komimport-ai-chat__order-view-prices:focus {
	background: #c7ebd5;
}

.komimport-ai-chat__order-view-prices:disabled,
.komimport-ai-chat__order-request-prices:disabled,
.komimport-ai-chat__order-export:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.komimport-ai-chat__order-modal-close {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__order-modal-close:hover,
.komimport-ai-chat__order-modal-close:focus {
	background: rgba(255, 255, 255, .22);
	outline: none;
}

.komimport-ai-chat__order-prices-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483004;
	padding: 18px;
	background: rgba(11, 31, 51, .34);
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	color: #1f2933;
	overscroll-behavior: contain;
}

.komimport-ai-chat__order-prices-modal.is-open {
	display: flex;
}

body.komimport-ai-chat--order-prices-modal-open {
	overflow: hidden;
}

.komimport-ai-chat__order-prices-dialog {
	width: min(1500px, calc(100vw - 28px));
	max-height: min(720px, calc(100vh - 28px));
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	border: 1px solid #c8d6e2;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 56px rgba(0, 0, 0, .32);
	overflow: hidden;
}

.komimport-ai-chat__order-prices-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	background: #153e63;
	color: #fff;
}

.komimport-ai-chat__order-prices-heading {
	flex: 1 1 auto;
	min-width: 0;
}

.komimport-ai-chat__order-prices-title {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.komimport-ai-chat__order-prices-status {
	margin-top: 2px;
	min-height: 15px;
	color: rgba(255, 255, 255, .78);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
}

.komimport-ai-chat__order-prices-status.is-error {
	color: #ffd0cc;
}

.komimport-ai-chat__order-prices-contacts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-top: 5px;
	color: rgba(255, 255, 255, .92);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.komimport-ai-chat__order-prices-contacts[hidden] {
	display: none !important;
}

.komimport-ai-chat__order-prices-contacts-text {
	display: flex;
	flex: 0 1 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 3px 12px;
	min-width: 0;
}

.komimport-ai-chat__order-prices-contact {
	color: #fff;
	white-space: nowrap;
	cursor: text;
	-webkit-user-select: text;
	user-select: text;
}

.komimport-ai-chat__order-prices-contact-actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-left: 0;
}

.komimport-ai-chat__order-prices-contact-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, .62);
	border-radius: 6px;
	color: #fff;
	font: inherit;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.komimport-ai-chat__order-prices-copy {
	background: rgba(255, 255, 255, .12);
}

.komimport-ai-chat__order-prices-operator {
	border-color: #69b7e8;
	border-radius: 999px;
	background: #1684c7;
	box-shadow: 0 2px 8px rgba(5, 57, 91, .28);
}

.komimport-ai-chat__order-prices-operator::before {
	content: "";
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	margin-right: 6px;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 12a8 8 0 0 1 16 0v4a2 2 0 0 1-2 2h-2v-6h4M4 12v6h4v-6H4m8 8h3'/%3E%3C/svg%3E");
}

.komimport-ai-chat__order-prices-contact-action:hover,
.komimport-ai-chat__order-prices-contact-action:focus {
	color: #fff;
	text-decoration: none;
	outline: 2px solid rgba(255, 255, 255, .88);
	outline-offset: 1px;
}

.komimport-ai-chat__order-prices-copy:hover,
.komimport-ai-chat__order-prices-copy:focus {
	background: rgba(255, 255, 255, .22);
}

.komimport-ai-chat__order-prices-operator:hover,
.komimport-ai-chat__order-prices-operator:focus {
	background: #0d6ea9;
}

.komimport-ai-chat__order-prices-contact-feedback {
	flex: 1 0 100%;
	color: rgba(255, 255, 255, .88);
	font-size: 11px;
	font-weight: 700;
}

.komimport-ai-chat__order-prices-contact-feedback:empty {
	display: none;
}

.komimport-ai-chat__order-prices-close {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__order-prices-close:hover,
.komimport-ai-chat__order-prices-close:focus {
	background: rgba(255, 255, 255, .22);
	outline: none;
}

.komimport-ai-chat__order-prices-body {
	min-height: 160px;
	overflow: auto;
	padding: 12px;
	background: #f6f9fc;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.komimport-ai-chat__order-prices-footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 10px 12px;
	border-top: 1px solid #d6e1ea;
	background: #fff;
}

.komimport-ai-chat__order-prices-save {
	min-width: 128px;
	height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: 6px;
	background: #2c9f54;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.komimport-ai-chat__order-prices-save:hover,
.komimport-ai-chat__order-prices-save:focus {
	background: #238646;
	outline: none;
}

.komimport-ai-chat__order-prices-save:disabled {
	background: #a8bdad;
	cursor: default;
}

.komimport-ai-chat__order-prices-empty {
	padding: 16px;
	border: 1px solid #d6e1ea;
	border-radius: 6px;
	background: #fff;
	color: #536471;
	font-size: 14px;
	font-weight: 700;
}

.komimport-ai-chat__order-prices-captcha {
	padding: 16px;
	border: 1px solid #d6e1ea;
	border-radius: 6px;
	background: #fff;
}

.komimport-ai-chat__order-prices-captcha-title {
	color: #1c344b;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.komimport-ai-chat__order-prices-captcha-note {
	margin-top: 6px;
	color: #536471;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.komimport-ai-chat__order-prices-captcha-widget {
	min-height: 78px;
	margin-top: 12px;
	overflow: hidden;
}

.komimport-ai-chat__order-prices-table-wrap {
	overflow-x: auto;
	overflow-y: visible;
	border: 1px solid #d6e1ea;
	border-radius: 6px;
	background: #fff;
	overscroll-behavior: contain;
}

.komimport-ai-chat__order-prices-table {
	width: 100%;
	min-width: 0;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 13px;
	line-height: 1.3;
}

.komimport-ai-chat__order-prices-table th,
.komimport-ai-chat__order-prices-table td {
	padding: 9px 10px;
	border-bottom: 1px solid #d6e1ea;
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
	overflow: hidden;
	text-overflow: ellipsis;
}

.komimport-ai-chat__order-prices-table th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #edf4fa;
	color: #243b53;
	font-size: 12px;
	font-weight: 800;
}

.komimport-ai-chat__order-prices-table tr.is-group-base td {
	background: #fff;
}

.komimport-ai-chat__order-prices-table tr.is-group-alt td {
	background: #f2f5f8;
}

.komimport-ai-chat__order-prices-table tr.is-offer-selected td {
	background: #e4f6ea;
}

.komimport-ai-chat__order-prices-table tr:last-child td {
	border-bottom: 0;
}

.komimport-ai-chat__order-prices-table tr.is-missing td {
	color: #6b7785;
}

.komimport-ai-chat__order-prices-number {
	color: #0875bd;
	font-weight: 800;
}

.komimport-ai-chat__order-prices-price {
	font-weight: 800;
}

.komimport-ai-chat__order-photo-links {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
}

.komimport-ai-chat__order-photo-thumb {
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	overflow: hidden;
	border: 1px solid #b9cbd9;
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
}

.komimport-ai-chat__order-photo-thumb:hover,
.komimport-ai-chat__order-photo-thumb:focus-visible {
	border-color: #0875bd;
	outline: 2px solid rgba(8, 117, 189, .28);
	outline-offset: 2px;
}

.komimport-ai-chat__order-photo-thumb:disabled {
	cursor: default;
	opacity: .82;
}

.komimport-ai-chat__order-photo-thumb-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
}

.komimport-ai-chat__order-photo-count {
	position: absolute;
	right: 2px;
	bottom: 2px;
	min-width: 16px;
	padding: 1px 3px;
	border-radius: 4px;
	background: rgba(12, 42, 68, .9);
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
}

.komimport-ai-chat__order-photo-thumb-error {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 2px;
	box-sizing: border-box;
	color: #6b7785;
	font-size: 8px;
	font-weight: 700;
	line-height: 1.05;
	text-align: center;
}

.komimport-ai-chat__order-photo-thumb-error[hidden] {
	display: none;
}

.komimport-ai-chat__photo-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483006;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 24px;
	background: rgba(4, 12, 20, .9);
	font-family: Arial, sans-serif;
	overscroll-behavior: contain;
}

.komimport-ai-chat__photo-lightbox.is-open {
	display: flex;
}

body.komimport-ai-chat--photo-lightbox-open {
	overflow: hidden;
}

.komimport-ai-chat__photo-lightbox-dialog {
	position: relative;
	width: min(1400px, 92vw);
	height: min(900px, 88vh);
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	outline: none;
}

.komimport-ai-chat__photo-lightbox-stage {
	position: relative;
	min-width: 0;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.komimport-ai-chat__photo-lightbox-image {
	display: block;
	max-width: 100%;
	max-height: 84vh;
	object-fit: contain;
	box-shadow: 0 12px 44px rgba(0, 0, 0, .42);
}

.komimport-ai-chat__photo-lightbox-close,
.komimport-ai-chat__photo-lightbox-prev,
.komimport-ai-chat__photo-lightbox-next {
	position: absolute;
	z-index: 2;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .38);
	border-radius: 6px;
	background: rgba(9, 29, 46, .82);
	color: #fff;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__photo-lightbox-close:hover,
.komimport-ai-chat__photo-lightbox-close:focus-visible,
.komimport-ai-chat__photo-lightbox-prev:hover,
.komimport-ai-chat__photo-lightbox-prev:focus-visible,
.komimport-ai-chat__photo-lightbox-next:hover,
.komimport-ai-chat__photo-lightbox-next:focus-visible {
	background: #174f78;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.komimport-ai-chat__photo-lightbox-close {
	top: 0;
	right: 0;
	font-size: 28px;
}

.komimport-ai-chat__photo-lightbox-prev,
.komimport-ai-chat__photo-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
	font-size: 34px;
}

.komimport-ai-chat__photo-lightbox-prev {
	left: 0;
}

.komimport-ai-chat__photo-lightbox-next {
	right: 0;
}

.komimport-ai-chat__photo-lightbox-counter {
	justify-self: center;
	margin-top: 8px;
	padding: 4px 8px;
	border-radius: 5px;
	background: rgba(9, 29, 46, .82);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.komimport-ai-chat__photo-lightbox-error {
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 6px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.komimport-ai-chat__order-prices-table.has-supplier-370 th:nth-child(2),
.komimport-ai-chat__order-prices-table.has-supplier-370 td:nth-child(2) {
	width: 145px;
}

.komimport-ai-chat__order-prices-table.has-supplier-370 th:nth-child(4),
.komimport-ai-chat__order-prices-table.has-supplier-370 td:nth-child(4),
.komimport-ai-chat__order-prices-table.has-supplier-370 th:nth-child(5),
.komimport-ai-chat__order-prices-table.has-supplier-370 td:nth-child(5),
.komimport-ai-chat__order-prices-table.has-supplier-370 th:nth-child(6),
.komimport-ai-chat__order-prices-table.has-supplier-370 td:nth-child(6) {
	width: 112px;
}

.komimport-ai-chat__order-prices-table.has-supplier-370 th:nth-child(7),
.komimport-ai-chat__order-prices-table.has-supplier-370 td:nth-child(7) {
	width: 230px;
}

.komimport-ai-chat__order-prices-table.has-supplier-370 th:nth-child(8),
.komimport-ai-chat__order-prices-table.has-supplier-370 td:nth-child(8) {
	width: 150px;
}

.komimport-ai-chat__order-prices-table.has-supplier-photos th:nth-child(4),
.komimport-ai-chat__order-prices-table.has-supplier-photos td:nth-child(4) {
	width: 72px;
}

.komimport-ai-chat__order-prices-table.has-supplier-photos th:nth-child(5),
.komimport-ai-chat__order-prices-table.has-supplier-photos td:nth-child(5),
.komimport-ai-chat__order-prices-table.has-supplier-photos th:nth-child(6),
.komimport-ai-chat__order-prices-table.has-supplier-photos td:nth-child(6),
.komimport-ai-chat__order-prices-table.has-supplier-photos th:nth-child(7),
.komimport-ai-chat__order-prices-table.has-supplier-photos td:nth-child(7) {
	width: 112px;
}

.komimport-ai-chat__order-prices-table.has-supplier-photos th:nth-child(8),
.komimport-ai-chat__order-prices-table.has-supplier-photos td:nth-child(8) {
	width: 230px;
}

.komimport-ai-chat__order-prices-table.has-supplier-photos th:nth-child(9),
.komimport-ai-chat__order-prices-table.has-supplier-photos td:nth-child(9) {
	width: 150px;
}

.komimport-ai-chat__availability-badge {
	display: inline-block;
	max-width: 100%;
	padding: 4px 7px;
	border: 1px solid #b9c8d5;
	border-radius: 6px;
	background: #eef3f6;
	color: #405363;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	white-space: normal;
}

.komimport-ai-chat__availability-badge.is-in_stock {
	border-color: #91cfaa;
	background: #e7f6ed;
	color: #176b38;
}

.komimport-ai-chat__availability-badge.is-contact_dealer {
	border-color: #dfc36c;
	background: #fff7d9;
	color: #6c5712;
}

.komimport-ai-chat__availability-badge.is-out_of_stock {
	border-color: #d8a3a3;
	background: #faecec;
	color: #8b3030;
}

.komimport-ai-chat__order-prices-select {
	width: 62px;
	text-align: center;
}

.komimport-ai-chat__order-prices-table th:nth-child(1),
.komimport-ai-chat__order-prices-table td:nth-child(1) {
	width: 70px;
}

.komimport-ai-chat__order-prices-table th:nth-child(2),
.komimport-ai-chat__order-prices-table td:nth-child(2) {
	width: 170px;
}

.komimport-ai-chat__order-prices-table th:nth-child(4),
.komimport-ai-chat__order-prices-table td:nth-child(4) {
	width: 132px;
}

.komimport-ai-chat__order-prices-table th:nth-child(5),
.komimport-ai-chat__order-prices-table td:nth-child(5) {
	width: 126px;
}

.komimport-ai-chat__order-prices-table th:nth-child(6),
.komimport-ai-chat__order-prices-table td:nth-child(6) {
	width: 112px;
}

.komimport-ai-chat__order-prices-checkbox {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #2c9f54;
	cursor: pointer;
}

@media (max-width: 760px) {
	.komimport-ai-chat__order-prices-modal {
		top: var(--komimport-visual-top, 0px);
		right: 0;
		bottom: auto;
		left: 0;
		width: 100%;
		max-width: 100%;
		height: var(--komimport-visual-vh, 100dvh);
		align-items: stretch;
		justify-content: stretch;
		padding: 0;
	}

	.komimport-ai-chat__order-prices-dialog {
		width: 100%;
		max-width: 100%;
		height: 100vh;
		height: 100dvh;
		height: var(--komimport-visual-vh, 100dvh);
		max-height: 100vh;
		max-height: 100dvh;
		max-height: var(--komimport-visual-vh, 100dvh);
		grid-template-rows: auto minmax(0, 1fr) auto;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.komimport-ai-chat__order-prices-header {
		position: sticky;
		top: 0;
		z-index: 4;
		align-items: flex-start;
		gap: 8px;
		padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
	}

	.komimport-ai-chat__order-prices-heading {
		min-width: 0;
	}

	.komimport-ai-chat__order-prices-contacts {
		align-items: flex-start;
	}

	.komimport-ai-chat__order-prices-contacts-text {
		flex: 0 1 auto;
	}

	.komimport-ai-chat__order-prices-contact-actions {
		width: auto;
		margin-left: 0;
	}

	.komimport-ai-chat__order-prices-contact-action {
		flex: 0 0 auto;
		min-height: 36px;
		white-space: normal;
	}

	.komimport-ai-chat__order-prices-title {
		font-size: 15px;
	}

	.komimport-ai-chat__order-prices-status {
		font-size: 12px;
	}

	.komimport-ai-chat__order-prices-close {
		width: 36px;
		height: 36px;
		flex: 0 0 auto;
	}

	.komimport-ai-chat__order-prices-body {
		min-height: 0;
		padding: 8px;
	}

	.komimport-ai-chat__order-prices-footer {
		padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom) + var(--komimport-visual-bottom, 0px)) max(10px, env(safe-area-inset-left));
	}

	.komimport-ai-chat__order-prices-save {
		width: 100%;
	}

	.komimport-ai-chat__order-prices-table-wrap {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.komimport-ai-chat__order-prices-table {
		min-width: 0;
		table-layout: auto;
	}

	.komimport-ai-chat__order-prices-table thead {
		display: none;
	}

	.komimport-ai-chat__order-prices-table,
	.komimport-ai-chat__order-prices-table tbody,
	.komimport-ai-chat__order-prices-table tr,
	.komimport-ai-chat__order-prices-table td {
		display: block;
		width: 100%;
	}

	.komimport-ai-chat__order-prices-table tr {
		box-sizing: border-box;
		margin: 0 0 8px;
		padding: 10px;
		border: 1px solid #d6e1ea;
		border-radius: 7px;
		background: #fff;
	}

	.komimport-ai-chat__order-prices-table tr.is-group-alt {
		background: #f3f6f9;
	}

	.komimport-ai-chat__order-prices-table tr.is-offer-selected {
		border-color: #2f9e44;
		box-shadow: 0 0 0 2px rgba(47, 158, 68, .14);
	}

	.komimport-ai-chat__order-prices-table tr:last-child {
		margin-bottom: 0;
	}

	.komimport-ai-chat__order-prices-table th,
	.komimport-ai-chat__order-prices-table td {
		width: auto !important;
	}

	.komimport-ai-chat__order-prices-table td {
		display: grid;
		box-sizing: border-box;
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 8px;
		padding: 4px 0;
		border-bottom: 0;
		white-space: normal;
		overflow: visible;
		overflow-wrap: anywhere;
		text-overflow: clip;
	}

	.komimport-ai-chat__order-prices-table td::before {
		content: attr(data-label);
		color: #536471;
		font-size: 11px;
		font-weight: 800;
		line-height: 1.35;
	}

	.komimport-ai-chat__order-prices-table.has-supplier-370 td {
		grid-template-columns: 94px minmax(0, 1fr);
	}

	.komimport-ai-chat__order-prices-table.has-supplier-370 .komimport-ai-chat__order-prices-price {
		font-size: 16px;
	}

	.komimport-ai-chat__order-prices-table.has-supplier-370 .komimport-ai-chat__order-prices-dimensions {
		line-height: 1.35;
	}

	.komimport-ai-chat__order-photo-links {
		min-height: 44px;
	}

	.komimport-ai-chat__order-photo-thumb {
		width: 44px;
		height: 44px;
	}

	.komimport-ai-chat__order-prices-select {
		text-align: left;
	}

	.komimport-ai-chat__order-prices-checkbox {
		width: 22px;
		height: 22px;
	}
}

@media (max-width: 760px) {
	.komimport-ai-chat__photo-lightbox {
		padding: calc(54px + env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
	}

	.komimport-ai-chat__photo-lightbox-dialog {
		width: 100%;
		height: 100%;
	}

	.komimport-ai-chat__photo-lightbox-image {
		max-width: 100%;
		max-height: calc(100dvh - 96px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
	}

	.komimport-ai-chat__photo-lightbox-close {
		top: calc(-46px - env(safe-area-inset-top));
		right: 0;
	}

	.komimport-ai-chat__photo-lightbox-prev,
	.komimport-ai-chat__photo-lightbox-next {
		width: 42px;
		height: 48px;
	}
}

.komimport-ai-chat__order-quote-modal,
.komimport-ai-chat__support-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483004;
	padding: 18px;
	background: rgba(11, 31, 51, .34);
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	color: #1f2933;
	overscroll-behavior: contain;
}

.komimport-ai-chat__order-quote-modal.is-open,
.komimport-ai-chat__support-modal.is-open {
	display: flex;
}

.komimport-ai-chat__order-quote-dialog,
.komimport-ai-chat__support-dialog {
	width: min(420px, calc(100vw - 28px));
	display: grid;
	gap: 10px;
	padding: 14px;
	border: 1px solid #c8d6e2;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 56px rgba(0, 0, 0, .32);
}

.komimport-ai-chat__support-dialog.is-sent {
	min-height: 248px;
	padding: 28px 24px 24px;
	place-items: center;
	text-align: center;
}

.komimport-ai-chat__support-dialog.is-sent .komimport-ai-chat__support-title,
.komimport-ai-chat__support-dialog.is-sent .komimport-ai-chat__support-email,
.komimport-ai-chat__support-dialog.is-sent .komimport-ai-chat__support-message,
.komimport-ai-chat__support-dialog.is-sent .komimport-ai-chat__support-status,
.komimport-ai-chat__support-dialog.is-sent .komimport-ai-chat__support-actions {
	display: none !important;
}

.komimport-ai-chat__order-quote-title,
.komimport-ai-chat__support-title {
	color: #123b5d;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.komimport-ai-chat__order-quote-email,
.komimport-ai-chat__order-quote-comment,
.komimport-ai-chat__support-email,
.komimport-ai-chat__support-message {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #c8d6e2;
	border-radius: 5px;
	background: #fff;
	color: #1f2933;
	font: inherit;
	font-size: 14px;
	line-height: 1.3;
}

.komimport-ai-chat__order-quote-email,
.komimport-ai-chat__support-email {
	height: 38px;
	padding: 8px 10px;
}

.komimport-ai-chat__order-quote-comment,
.komimport-ai-chat__support-message {
	min-height: 76px;
	padding: 8px 10px;
	resize: vertical;
}

.komimport-ai-chat__order-quote-captcha {
	min-height: 78px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
}

.komimport-ai-chat__order-quote-status,
.komimport-ai-chat__support-status {
	min-height: 16px;
	color: #536471;
	font-size: 12px;
	line-height: 1.3;
}

.komimport-ai-chat__order-quote-status.is-error,
.komimport-ai-chat__support-status.is-error {
	color: #b42318;
}

.komimport-ai-chat__order-quote-actions,
.komimport-ai-chat__support-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.komimport-ai-chat__order-quote-cancel,
.komimport-ai-chat__order-quote-send,
.komimport-ai-chat__support-cancel,
.komimport-ai-chat__support-send {
	height: 34px;
	padding: 0 12px;
	border: 0;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.komimport-ai-chat__order-quote-cancel,
.komimport-ai-chat__support-cancel {
	background: #e8eef5;
	color: #243b53;
}

.komimport-ai-chat__order-quote-send,
.komimport-ai-chat__support-send {
	background: #f7c948;
	color: #0f253a;
}

.komimport-ai-chat__order-quote-cancel:hover,
.komimport-ai-chat__order-quote-cancel:focus,
.komimport-ai-chat__support-cancel:hover,
.komimport-ai-chat__support-cancel:focus {
	background: #d7e2ec;
	outline: none;
}

.komimport-ai-chat__order-quote-send:hover,
.komimport-ai-chat__order-quote-send:focus,
.komimport-ai-chat__support-send:hover,
.komimport-ai-chat__support-send:focus {
	background: #ffd95c;
	outline: none;
}

.komimport-ai-chat__order-quote-cancel:disabled,
.komimport-ai-chat__order-quote-send:disabled,
.komimport-ai-chat__order-quote-email:disabled,
.komimport-ai-chat__order-quote-comment:disabled,
.komimport-ai-chat__support-cancel:disabled,
.komimport-ai-chat__support-send:disabled,
.komimport-ai-chat__support-email:disabled,
.komimport-ai-chat__support-message:disabled {
	opacity: .65;
	cursor: wait;
}

.komimport-ai-chat__support-done {
	display: grid;
	justify-items: center;
	gap: 12px;
	width: 100%;
}

.komimport-ai-chat__support-done[hidden] {
	display: none;
}

.komimport-ai-chat__support-done-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #37b579;
	color: #fff;
	font-size: 28px;
	font-weight: 900;
	line-height: 1;
}

.komimport-ai-chat__support-done-title {
	color: #123b5d;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.25;
}

.komimport-ai-chat__support-done-text {
	max-width: 320px;
	color: #536471;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
}

.komimport-ai-chat__support-done-close {
	height: 36px;
	min-width: 104px;
	padding: 0 16px;
	border: 0;
	border-radius: 6px;
	background: #f7c948;
	color: #0f253a;
	font-size: 13px;
	font-weight: 900;
	cursor: pointer;
}

.komimport-ai-chat__support-done-close:hover,
.komimport-ai-chat__support-done-close:focus {
	background: #ffd95c;
	outline: none;
}

.komimport-ai-chat__support-dialog {
	box-sizing: border-box;
	width: min(440px, calc(100vw - 28px));
	height: min(680px, calc(100dvh - 36px));
	max-height: 760px;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	gap: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid #c8d6e2;
	border-radius: 18px;
	background: #f4f8fb;
	box-shadow: 0 22px 70px rgba(3, 25, 43, .38);
}

.komimport-ai-chat__support-header {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 10px 8px 16px;
	border-bottom: 1px solid #d7e2ec;
	background: #164a70;
}

.komimport-ai-chat__support-header .komimport-ai-chat__support-title {
	color: #fff;
	font-size: 15px;
}

.komimport-ai-chat__support-close {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font: 700 26px/1 Arial, sans-serif;
	cursor: pointer;
}

.komimport-ai-chat__support-close:hover,
.komimport-ai-chat__support-close:focus {
	background: rgba(255, 255, 255, .24);
	outline: 2px solid rgba(255, 255, 255, .82);
	outline-offset: 1px;
}

.komimport-ai-chat__support-frame {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	min-height: 0;
	display: block;
	grid-row: 2;
	grid-column: 1;
	border: 0;
	background: #f4f8fb;
	opacity: 0;
	transition: opacity .15s ease;
}

.komimport-ai-chat__support-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	grid-row: 2;
	grid-column: 1;
	color: #5c7183;
	background: #f4f8fb;
	font-size: 13px;
	font-weight: 800;
}

.komimport-ai-chat__support-retry {
	grid-row: 2;
	grid-column: 1;
	justify-self: center;
	align-self: center;
	z-index: 1;
	height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: 6px;
	background: #f7c948;
	color: #0f253a;
	font: 800 13px/1 Arial, sans-serif;
	cursor: pointer;
}

.komimport-ai-chat__support-retry:hover,
.komimport-ai-chat__support-retry:focus {
	background: #ffd95c;
	outline: 2px solid #1d5e91;
	outline-offset: 2px;
}

.komimport-ai-chat__support-dialog.is-loaded .komimport-ai-chat__support-frame {
	opacity: 1;
}

.komimport-ai-chat__support-dialog.is-loaded .komimport-ai-chat__support-loading {
	visibility: hidden;
}

.komimport-ai-chat__support-dialog.is-error .komimport-ai-chat__support-loading {
	align-self: end;
	padding: 0 20px 74px;
	text-align: center;
	color: #8a3b18;
}

@media (max-width: 600px) {
	.komimport-ai-chat__support-modal {
		top: var(--komimport-visual-top, 0px);
		right: 0;
		bottom: auto;
		left: 0;
		width: 100%;
		height: var(--komimport-visual-vh, 100dvh);
		padding: 0;
		align-items: stretch;
		justify-content: stretch;
	}

	.komimport-ai-chat__support-dialog {
		width: 100%;
		height: 100%;
		max-height: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.komimport-ai-chat__support-header {
		padding-top: max(8px, env(safe-area-inset-top));
		padding-right: max(10px, env(safe-area-inset-right));
		padding-left: max(16px, env(safe-area-inset-left));
	}
}

.komimport-ai-chat__order-modal-body {
	padding: 12px;
	overflow: auto;
	background: #f6f9fc;
	overscroll-behavior: contain;
}

.komimport-ai-chat__order-empty {
	padding: 14px;
	border: 1px solid #d6e1ea;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	line-height: 1.35;
}

.komimport-ai-chat__order-kit {
	margin: 8px 0 0;
	padding: 8px;
	border: 1px solid #c8d6e2;
	border-radius: 8px;
	background: #fff;
	color: #1f2933;
	font-size: 13px;
	line-height: 1.3;
}

.komimport-ai-chat__order-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.komimport-ai-chat__order-title {
	font-size: 14px;
	font-weight: 700;
}

.komimport-ai-chat__order-count {
	color: #536471;
	font-size: 12px;
	font-weight: 600;
}

.komimport-ai-chat__order-list {
	display: grid;
	gap: 7px;
}

.komimport-ai-chat__order-group {
	display: grid;
	gap: 7px;
	padding: 7px;
	border: 1px solid #d6e1ea;
	border-radius: 7px;
	background: #fff;
}

.komimport-ai-chat__order-group-title {
	color: #123b5d;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__order-item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(260px, 42%);
	gap: 8px;
	align-items: center;
	padding: 6px 7px;
	border: 1px solid #e0e8ef;
	border-radius: 6px;
	background: #f8fafc;
}

.komimport-ai-chat__order-main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 3px 7px;
	min-width: 0;
	overflow: hidden;
}

.komimport-ai-chat__order-selected-offer {
	grid-column: 1 / -1;
	min-width: 0;
	color: #1f6f43;
	font-size: 12px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__order-selected-offer::before {
	content: "";
	color: #66a27a;
}

.komimport-ai-chat__order-number,
.komimport-ai-chat__catalog-number {
	font: inherit;
}

.komimport-ai-chat__order-number {
	display: inline-block;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0b7abf;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.komimport-ai-chat__order-name {
	grid-column: 1 / -1;
	min-width: 0;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__order-meta {
	grid-column: 1 / -1;
	min-width: 0;
	margin-top: 0;
	color: #536471;
	font-size: 12px;
	overflow-wrap: anywhere;
}

.komimport-ai-chat__order-meta::before {
	content: "· ";
	color: #8fa1b0;
}

.komimport-ai-chat__order-controls {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 32px;
	gap: 6px;
	align-items: center;
}

.komimport-ai-chat__order-qty,
.komimport-ai-chat__order-comment {
	box-sizing: border-box;
	border: 1px solid #c8d6e2;
	border-radius: 4px;
	background: #fff;
	font-size: 13px;
	line-height: 1.25;
}

.komimport-ai-chat__order-qty {
	width: 58px;
	padding: 5px 4px;
	text-align: center;
}

.komimport-ai-chat__order-comment {
	width: 100%;
	padding: 6px 7px;
}

.komimport-ai-chat__order-remove {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 5px;
	background: #e8eef5;
	color: #243b53;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.komimport-ai-chat__order-remove:hover {
	background: #d7e2ec;
}

.komimport-ai-chat__catalog-loading,
.komimport-ai-chat__catalog-empty {
	grid-column: 1 / -1;
	margin: 16px;
	padding: 14px;
	border: 1px solid #d6e1ea;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	line-height: 1.35;
}

.komimport-ai-chat__catalog-empty--tree-only {
	align-self: center;
	justify-self: center;
	max-width: 420px;
	color: #234052;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	text-align: center;
}

.komimport-ai-chat__catalog-captcha {
	grid-column: 1 / -1;
	align-self: center;
	justify-self: center;
	width: min(430px, calc(100% - 32px));
	box-sizing: border-box;
	margin: 24px 16px;
	padding: 24px;
	border: 1px solid #d5dee8;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(21, 52, 77, .12);
}

.komimport-ai-chat__catalog-captcha-title {
	margin: 0 0 8px;
	color: #173247;
	font-size: 21px;
	line-height: 1.25;
}

.komimport-ai-chat__catalog-captcha-note {
	margin: 0 0 18px;
	color: #5b6f7f;
	font-size: 14px;
	line-height: 1.45;
}

.komimport-ai-chat__catalog-captcha-stage {
	min-height: 78px;
}

.komimport-ai-chat__catalog-google-captcha {
	min-height: 78px;
	overflow: hidden;
}

.komimport-ai-chat__catalog-captcha-fallback {
	display: block;
	margin: 10px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #315f86;
	font: inherit;
	font-size: 13px;
	line-height: 1.35;
	text-align: left;
	text-decoration: underline;
	cursor: pointer;
}

.komimport-ai-chat__catalog-captcha-fallback:hover,
.komimport-ai-chat__catalog-captcha-fallback:focus-visible {
	color: #173247;
}

.komimport-ai-chat__catalog-local-captcha {
	display: flex;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
	min-height: 78px;
	padding: 16px;
	border: 1px solid #cfd8e3;
	border-radius: 7px;
	background: #fafafa;
	cursor: pointer;
}

.komimport-ai-chat__catalog-local-captcha-checkbox {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	margin: 0;
	accent-color: #1a73e8;
	cursor: pointer;
}

.komimport-ai-chat__catalog-local-captcha-copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: #202124;
}

.komimport-ai-chat__catalog-local-captcha-copy strong {
	font-size: 18px;
	line-height: 1.2;
}

.komimport-ai-chat__catalog-local-captcha-copy small {
	color: #6b7280;
	font-size: 12px;
	line-height: 1.3;
}

@media (max-width: 560px) {
	.komimport-ai-chat__catalog-captcha {
		width: calc(100% - 20px);
		margin: 14px 10px;
		padding: 18px;
	}

	.komimport-ai-chat__catalog-captcha-title {
		font-size: 19px;
	}
}

.komimport-ai-chat__catalog-content-loading {
	position: absolute;
	top: 14px;
	left: calc(var(--catalog-nav-width, 250px) + 8px + (100% - var(--catalog-nav-width, 250px) - 8px) / 2);
	z-index: 12;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: calc(100% - 32px);
	padding: 9px 12px;
	border: 1px solid #c9d8e4;
	border-radius: 999px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 8px 24px rgba(18, 59, 93, .16);
	color: #123b5d;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	transform: translateX(-50%);
	pointer-events: none;
}

.komimport-ai-chat__catalog-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid #c9d8e4;
	border-top-color: #123b5d;
	border-radius: 999px;
	animation: komimport-ai-chat-spin .75s linear infinite;
}

@keyframes komimport-ai-chat-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 960px) {
	.komimport-ai-chat__catalog-body {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(130px, 24%) minmax(220px, 38%) minmax(0, 38%);
	}

	.komimport-ai-chat__catalog-body.is-single-page {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(220px, 50%) minmax(0, 50%);
	}

	.komimport-ai-chat__catalog-splitter {
		display: none;
	}

	.komimport-ai-chat__catalog-content-loading {
		left: 50%;
	}

	.komimport-ai-chat__catalog-nav-wrap {
		border-right: 0;
		border-bottom: 1px solid #d6e1ea;
	}

	.komimport-ai-chat__catalog-image-wrap {
		border-right: 0;
		border-bottom: 1px solid #d6e1ea;
	}

	.komimport-ai-chat__catalog-header {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		align-items: center;
	}

	.komimport-ai-chat__catalog-heading {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
		min-width: 0;
	}

	.komimport-ai-chat__catalog-actions {
		grid-column: 2;
		grid-row: 1;
		max-width: 100%;
	}

	.komimport-ai-chat__catalog-search-tools {
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		max-width: none;
		min-width: 0;
	}
}

@media (max-width: 760px) {
	.komimport-ai-chat__query-history {
		left: 8px;
		right: 110px;
		max-height: min(40vh, var(--komimport-query-history-max-height, 320px));
		border-radius: 8px;
	}

	.komimport-ai-chat__query-history-list {
		max-height: calc(min(40vh, var(--komimport-query-history-max-height, 320px)) - 34px);
	}

	html,
	body {
		width: 100%;
		max-width: 100%;
		overflow: hidden;
		overscroll-behavior: none;
	}

	.komimport-ai-chat,
	.komimport-ai-chat *,
	.komimport-ai-chat *::before,
	.komimport-ai-chat *::after {
		box-sizing: border-box;
	}

	.komimport-ai-chat {
		max-width: 100%;
		overflow-x: hidden;
	}

	.komimport-ai-chat--standalone {
		position: relative;
		left: 0;
		top: 0;
		right: auto;
		bottom: auto;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		height: 100vh;
		height: 100dvh;
		height: var(--komimport-app-height, var(--komimport-visual-vh, 100dvh));
		max-height: var(--komimport-app-height, var(--komimport-visual-vh, 100dvh));
		padding: 0;
		overflow: hidden;
		touch-action: pan-y;
	}

	.komimport-ai-chat__standalone-shell {
		width: 100%;
		max-width: 100%;
		height: 100%;
		min-height: 0;
		max-height: 100%;
		grid-template-rows: auto minmax(0, 1fr);
		border-radius: 0;
		box-shadow: none;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__header {
		flex: 0 0 auto;
		min-height: 82px;
		padding: 12px 14px;
		flex-wrap: wrap;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__heading {
		display: block;
		flex: 0 1 130px;
		max-width: none;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__header-actions {
		position: static;
		margin-left: auto;
		transform: none;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__heading::before {
		display: none;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__title {
		font-size: 15px;
		line-height: 1.25;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__subtitle {
		font-size: 12px;
	}

	.komimport-ai-chat__standalone-main {
		flex: 1 1 auto;
		min-height: 0;
		display: block;
		padding: 0;
		overflow: hidden;
	}

	.komimport-ai-chat__standalone-chat {
		width: 100%;
		max-width: 100%;
		height: 100%;
		min-height: 0;
		overflow: hidden;
	}

	.komimport-ai-chat__standalone-rail,
	.komimport-ai-chat__standalone-footer {
		display: none;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__panel,
	.komimport-ai-chat--standalone.is-open .komimport-ai-chat__panel {
		width: 100%;
		max-width: 100%;
		height: 100%;
		min-height: 0;
		max-height: 100%;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		overflow: hidden;
	}

	body.komimport-ai-chat-standalone-route input,
	body.komimport-ai-chat-standalone-route textarea,
	body.komimport-ai-chat-standalone-route select {
		font-size: 16px;
	}

	body.komimport-ai-chat-standalone-route .komimport-ai-chat__input {
		width: 100%;
		min-width: 0;
		font-size: 16px;
	}

	body.komimport-ai-chat-standalone-route .komimport-ai-chat__catalog-modal,
	body.komimport-ai-chat-standalone-route .komimport-ai-chat__order-modal,
	body.komimport-ai-chat-standalone-route .komimport-ai-chat__order-prices-modal,
	body.komimport-ai-chat-standalone-route .komimport-ai-chat__order-quote-modal,
	body.komimport-ai-chat-standalone-route .komimport-ai-chat__support-modal {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
	}

	.komimport-ai-chat__catalog-modal {
		align-items: stretch;
		justify-content: stretch;
		padding: 0;
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
		top: var(--komimport-visual-top, 0px);
		bottom: auto;
		height: var(--komimport-visual-vh, 100dvh);
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__catalog-modal {
		padding: 0;
	}

	.komimport-ai-chat__catalog-dialog {
		width: 100%;
		height: 100vh;
		height: 100dvh;
		height: var(--komimport-visual-vh, 100dvh);
		min-width: 0;
		min-height: 0;
		max-width: 100%;
		max-height: 100vh;
		max-height: 100dvh;
		max-height: var(--komimport-visual-vh, 100dvh);
		border-radius: 0;
		box-shadow: none;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__catalog-dialog {
		width: 100%;
		height: 100vh;
		height: 100dvh;
		height: var(--komimport-visual-vh, 100dvh);
		min-width: 0;
		min-height: 0;
		max-width: 100%;
		max-height: 100vh;
		max-height: 100dvh;
		max-height: var(--komimport-visual-vh, 100dvh);
		border-radius: 0;
		box-shadow: none;
	}

	.komimport-ai-chat__catalog-resize {
		display: none;
	}

		.komimport-ai-chat__catalog-header {
			min-height: 0;
			display: grid;
			grid-template-columns: minmax(0, 1fr);
			grid-template-rows: auto auto auto;
			align-items: start;
			gap: 4px;
			padding: max(7px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 6px max(8px, env(safe-area-inset-left));
	}

	.komimport-ai-chat__catalog-heading {
		grid-column: 1;
		grid-row: 2;
		width: 100%;
		min-width: 0;
	}

	.komimport-ai-chat__catalog-title {
		font-size: 11px;
		line-height: 1.1;
		font-weight: 700;
		letter-spacing: 0;
		white-space: normal;
		overflow-wrap: anywhere;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.komimport-ai-chat__catalog-kpart-link {
			display: none !important;
		}

	.komimport-ai-chat__catalog-heading-links {
		min-height: 20px;
	}

	.komimport-ai-chat__catalog-shop-manual {
		min-height: 22px;
		padding: 2px 6px;
		font-size: 10px;
	}

	.komimport-ai-chat__catalog-shop-manual svg {
		width: 15px;
		height: 15px;
	}

	.komimport-ai-chat__shop-manual-modal {
		padding: 0;
		align-items: stretch;
	}

	.komimport-ai-chat__shop-manual-dialog {
		width: 100%;
		height: 100dvh;
		max-width: none;
		max-height: none;
		border-radius: 0;
	}

	.komimport-ai-chat__shop-manual-dialog.is-parts-pdf {
		width: 100%;
		height: 100dvh;
		border-width: 0;
		border-radius: 0;
	}

	.komimport-ai-chat__shop-manual-title {
		font-size: 13px;
	}

	.komimport-ai-chat__shop-manual-body {
		padding: 8px;
	}

	.komimport-ai-chat__shop-manual-pickers {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.komimport-ai-chat__shop-manual-picker {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.komimport-ai-chat__shop-manual-stage {
		min-height: 220px;
	}

	.komimport-ai-chat__shop-manual-thumb {
		flex-basis: 58px;
		height: 70px;
	}

		.komimport-ai-chat__catalog-book-search {
			width: 100%;
			max-width: none;
			min-width: 0;
			gap: 5px;
		}

		.komimport-ai-chat__catalog-search-tools {
			grid-column: 1;
			grid-row: 3;
			width: 100%;
			max-width: none;
			min-width: 0;
			display: grid;
			grid-template-columns: minmax(0, 1fr);
			gap: 4px;
		}

		.komimport-ai-chat__catalog-model-search {
			width: 100%;
			min-width: 0;
		}

		.komimport-ai-chat__catalog-model-search-input {
			height: 32px;
			font-size: 12px;
			padding: 0 9px;
		}

		.komimport-ai-chat__catalog-model-results {
			max-height: min(42vh, 330px);
		}

		.komimport-ai-chat__catalog-book-search-input {
			height: 32px;
			font-size: 12px;
			padding: 0 9px;
		}

		.komimport-ai-chat__catalog-book-search-submit {
			min-width: 66px;
			height: 32px;
			font-size: 12px;
		}

		.komimport-ai-chat__catalog-kpart-mobile-link {
			position: relative;
		width: 32px;
		height: 32px;
		flex: 0 0 32px;
		align-self: flex-start;
		box-sizing: border-box;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: 1px solid rgba(255, 255, 255, .32);
		border-radius: 999px;
		background: rgba(255, 255, 255, .12);
		color: transparent;
		font-size: 0;
		line-height: 1;
		text-decoration: none;
		overflow: visible;
		white-space: nowrap;
	}

	.komimport-ai-chat__catalog-kpart-mobile-link::before {
		content: 'K';
		width: 21px;
		height: 21px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 999px;
		background: #fff;
		color: #123b5d;
		font-size: 14px;
		font-weight: 900;
		line-height: 1;
	}

	.komimport-ai-chat__catalog-kpart-mobile-link::after {
		content: '';
		position: absolute;
		top: 7px;
		right: 7px;
		width: 7px;
		height: 7px;
		border-top: 2px solid #dbeafe;
		border-right: 2px solid #dbeafe;
		transform: translate(3px, -3px);
	}

	.komimport-ai-chat__catalog-kpart-mobile-link:hover,
	.komimport-ai-chat__catalog-kpart-mobile-link:focus {
		background: rgba(255, 255, 255, .22);
		outline: none;
	}

	.komimport-ai-chat__catalog-actions {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
		align-items: flex-start;
		gap: 5px;
	}

	.komimport-ai-chat__catalog-save {
		margin-left: auto;
	}

	.komimport-ai-chat__catalog-order-open {
		padding: 0 8px;
	}

	.komimport-ai-chat__language-picker--catalog .komimport-ai-chat__language-button {
		min-width: 54px;
		min-height: 32px;
		padding: 0 6px;
	}

	.komimport-ai-chat__language-picker--catalog.is-open {
		width: 68px;
		flex: 0 0 68px;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.komimport-ai-chat__language-picker--catalog .komimport-ai-chat__language-menu {
		position: static;
		top: auto;
		right: auto;
		width: 92px;
		min-width: 92px;
		box-sizing: border-box;
	}

	.komimport-ai-chat__catalog-save {
		min-height: 32px;
		padding: 0 10px;
		font-size: 12px;
	}

	.komimport-ai-chat__catalog-save-status {
		min-width: 0;
		max-width: 58px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.komimport-ai-chat__catalog-minimize,
	.komimport-ai-chat__catalog-close {
		width: 32px;
		height: 32px;
		font-size: 21px;
	}

	.komimport-ai-chat__catalog-body {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(92px, 19%) minmax(250px, 45%) minmax(180px, 36%);
	}

	.komimport-ai-chat__catalog-body.is-single-page {
		grid-template-rows: minmax(0, 58fr) minmax(0, 42fr);
	}

	.komimport-ai-chat__catalog-body.is-single-page .komimport-ai-chat__catalog-image-wrap {
		grid-row: 1;
	}

	.komimport-ai-chat__catalog-body.is-single-page .komimport-ai-chat__catalog-list-wrap {
		grid-row: 2;
	}

	.komimport-ai-chat__catalog-content-loading {
		left: 50%;
	}

	.komimport-ai-chat__catalog-nav-wrap {
		padding: 8px 6px;
		border-right: 0;
		border-bottom: 1px solid #d6e1ea;
	}

	.komimport-ai-chat__catalog-nav-title {
		margin: -8px -6px 6px;
		padding: 8px 8px 7px;
		font-size: 12px;
	}

	.komimport-ai-chat__catalog-nav-row {
		grid-template-columns: 22px max-content;
		padding-left: calc(var(--level, 0) * 8px);
	}

	.komimport-ai-chat__catalog-nav-toggle,
	.komimport-ai-chat__catalog-nav-link {
		min-height: 28px;
	}

	.komimport-ai-chat__catalog-nav-link {
		padding: 6px;
		font-size: 12px;
	}

	.komimport-ai-chat__catalog-nav-node.is-live-result > .komimport-ai-chat__catalog-nav-row .komimport-ai-chat__catalog-nav-link {
		min-height: 34px;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.komimport-ai-chat__catalog-image-wrap {
		padding: 8px;
		border-right: 0;
		border-bottom: 1px solid #d6e1ea;
	}

	.komimport-ai-chat__catalog-table {
		font-size: 11px;
	}

	.komimport-ai-chat__catalog-table th,
	.komimport-ai-chat__catalog-table td {
		padding: 6px;
	}

	.komimport-ai-chat__catalog-comment {
		width: 128px;
		max-width: 128px;
	}
}

@media (max-width: 560px) {
	.komimport-ai-chat {
		left: 12px;
		right: 12px;
		bottom: calc(12px + var(--komimport-consent-offset, 0px));
	}

	.komimport-ai-chat__toggle {
		width: 100%;
		justify-content: center;
	}

	.komimport-ai-chat__profile-button {
		min-width: 44px;
		min-height: 44px;
		justify-content: center;
		padding: 0;
	}

	.komimport-ai-chat__profile-label { display: none; }

	.komimport-ai-chat__panel {
		width: 100%;
		height: min(520px, calc(100vh - 24px - var(--komimport-consent-offset, 0px)));
		min-width: 0;
		min-height: min(360px, calc(100vh - 24px - var(--komimport-consent-offset, 0px)));
		max-width: 100%;
	}

	.komimport-ai-chat__resize {
		display: none;
	}

	.komimport-ai-chat__header {
		gap: 8px;
	}

	.komimport-ai-chat__order-open {
		padding: 0 8px;
	}

	.komimport-ai-chat__clear-dialog {
		padding: 0 8px;
		font-size: 12px;
	}

	.komimport-ai-chat__order-open-label {
		display: none;
	}

	.komimport-ai-chat__catalog-modal {
		padding: 0;
	}

	.komimport-ai-chat__catalog-dialog {
		width: 100%;
		height: 100vh;
		height: 100dvh;
		height: var(--komimport-visual-vh, 100dvh);
		min-width: 0;
		min-height: 0;
		max-width: 100%;
		max-height: 100vh;
		max-height: 100dvh;
		max-height: var(--komimport-visual-vh, 100dvh);
		resize: none;
	}

	.komimport-ai-chat__catalog-resize {
		display: none;
	}

	.komimport-ai-chat__catalog-body {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(90px, 18%) minmax(240px, 44%) minmax(170px, 38%);
	}

		.komimport-ai-chat__catalog-image-wrap {
			max-width: 100%;
			border-right: 0;
			border-bottom: 1px solid #d6e1ea;
		}

	.komimport-ai-chat__order-modal {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
		padding: 8px;
	}

	.komimport-ai-chat__order-quote-modal {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
	}

	.komimport-ai-chat__order-quote-dialog {
		width: calc(100% - 28px);
		max-width: calc(100% - 28px);
	}

		.komimport-ai-chat__order-dialog {
			width: calc(100% - 16px);
			max-width: calc(100% - 16px);
			max-height: calc(100vh - 16px);
		}

	.komimport-ai-chat__order-modal-header {
		gap: 8px;
		padding: 10px 8px 10px 12px;
	}

	.komimport-ai-chat__order-modal-title-wrap {
		min-width: 0;
		flex: 1 1 auto;
	}

	.komimport-ai-chat__order-modal-title {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 15px;
	}

	.komimport-ai-chat__order-modal-actions {
		flex: 0 0 auto;
		gap: 6px;
	}

	.komimport-ai-chat__order-view-prices,
	.komimport-ai-chat__order-request-prices,
	.komimport-ai-chat__order-export {
		position: relative;
		width: 44px;
		height: 44px;
		padding: 0;
		overflow: hidden;
		border-radius: 7px;
		font-size: 0;
		line-height: 1;
		text-indent: 0;
	}

	.komimport-ai-chat__order-view-prices::before {
		content: attr(data-currency-symbol);
		display: block;
		margin-top: 5px;
		font-size: 20px;
		font-weight: 900;
		line-height: 18px;
	}

	.komimport-ai-chat__order-view-prices::after {
		content: attr(data-mobile-label);
		display: block;
		margin-top: 1px;
		font-size: 10px;
		font-weight: 900;
		line-height: 11px;
	}

	.komimport-ai-chat__order-request-prices::before {
		content: "@";
		display: block;
		font-size: 25px;
		font-weight: 900;
		line-height: 44px;
	}

	.komimport-ai-chat__order-export::before {
		content: "XLS";
		display: block;
		font-size: 14px;
		font-weight: 900;
		letter-spacing: .2px;
		line-height: 44px;
	}

	.komimport-ai-chat__order-prices-dialog {
		width: 100%;
		max-width: 100%;
		height: 100vh;
		height: 100dvh;
		max-height: 100vh;
		max-height: 100dvh;
	}

		.komimport-ai-chat__order-item {
			grid-template-columns: minmax(0, 1fr);
			gap: 4px;
			padding: 6px;
		}

		.komimport-ai-chat__order-controls {
			grid-template-columns: 44px minmax(0, 1fr) 32px;
			gap: 4px;
		}

	.komimport-ai-chat__order-qty {
		width: 44px;
		padding: 5px 3px;
	}

	.komimport-ai-chat__order-remove {
		width: 30px;
		height: 30px;
	}

	.komimport-ai-chat__catalog-comment {
		width: 150px;
		max-width: none;
	}

	.komimport-ai-chat--standalone {
		position: relative;
		left: 0;
		right: auto;
		bottom: auto;
		padding: 0;
		top: 0;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		height: 100vh;
		height: 100dvh;
		height: var(--komimport-app-height, var(--komimport-visual-vh, 100dvh));
		max-height: var(--komimport-app-height, var(--komimport-visual-vh, 100dvh));
		overflow: hidden;
		touch-action: pan-y;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__panel,
	.komimport-ai-chat--standalone.is-open .komimport-ai-chat__panel {
		width: 100%;
		max-width: 100%;
		height: 100%;
		max-height: 100%;
		min-height: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		overflow: hidden;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 44px 44px;
		gap: 8px;
		width: 100%;
		max-width: 100%;
		align-items: center;
		position: relative;
		z-index: 12;
		padding: 8px 8px calc(10px + env(safe-area-inset-bottom));
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__input {
		grid-column: 1;
		width: 100%;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__query-history-toggle {
		grid-column: 2;
		width: 44px;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__send {
		grid-column: 3;
		width: 44px;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__input,
	.komimport-ai-chat--standalone .komimport-ai-chat__query-history-toggle,
	.komimport-ai-chat--standalone .komimport-ai-chat__send {
		height: 44px;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__query-history-toggle,
	.komimport-ai-chat--standalone .komimport-ai-chat__send {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 44px;
		min-height: 44px;
		padding: 0;
		line-height: 1;
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__query-history {
		left: 8px;
		right: 112px;
		max-height: min(40vh, var(--komimport-query-history-max-height, 320px));
	}

	.komimport-ai-chat--standalone .komimport-ai-chat__query-history-list {
		max-height: calc(min(40vh, var(--komimport-query-history-max-height, 320px)) - 34px);
	}

}

@media (max-width: 960px) and (max-height: 500px) {
	.komimport-ai-chat__catalog-actions {
		align-items: flex-start;
	}

	.komimport-ai-chat__language-picker--catalog.is-open {
		width: 68px;
		flex: 0 0 68px;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.komimport-ai-chat__language-picker--catalog .komimport-ai-chat__language-menu {
		position: static;
		top: auto;
		right: auto;
		width: 92px;
		min-width: 92px;
		box-sizing: border-box;
	}
}

.komimport-ai-chat__catalog-mobile-tabs,
.komimport-ai-chat__catalog-zoom-controls {
	display: none;
}

@media (max-width: 760px) {
	.komimport-ai-chat__catalog-modal--canonical-card {
		padding: 0;
	}

	.komimport-ai-chat__catalog-dialog--canonical-card {
		width: 100%;
		height: 100%;
		min-width: 0;
		min-height: 0;
		max-width: 100%;
		max-height: 100%;
		border-radius: 0;
	}

	.komimport-ai-chat__catalog-analogs-dialog {
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: min(56%, 420px);
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: 12px 12px 0 0;
	}

	.komimport-ai-chat__catalog-header {
		padding-top: max(7px, env(safe-area-inset-top));
	}

	.komimport-ai-chat__catalog-actions {
		gap: 5px;
	}

	.komimport-ai-chat__catalog-save {
		min-height: 30px;
		padding: 0 8px;
		font-size: 12px;
	}

	.komimport-ai-chat__catalog-body {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: 38px minmax(0, 58fr) minmax(0, 42fr);
		height: 100%;
		min-width: 0;
		overflow: hidden;
		background: #fff;
	}

		.komimport-ai-chat__catalog-mobile-tabs {
			display: grid;
			grid-row: 1;
			box-sizing: border-box;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 4px;
		padding: 5px 6px;
		background: #edf4f9;
		border-bottom: 1px solid #cfdeea;
	}

	.komimport-ai-chat__catalog-mobile-tab {
		min-width: 0;
		height: 28px;
		border: 1px solid #c6d7e4;
		border-radius: 6px;
		background: #fff;
		color: #21435f;
		font: 700 12px/1 Arial, sans-serif;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.komimport-ai-chat__catalog-mobile-tab.is-active {
		border-color: #123b5d;
		background: #123b5d;
		color: #fff;
	}

	.komimport-ai-chat__catalog-splitter {
		display: none;
	}

	.komimport-ai-chat__catalog-body[data-mobile-tab="main"] .komimport-ai-chat__catalog-nav-wrap {
		display: none;
	}

	.komimport-ai-chat__catalog-body[data-mobile-tab="sections"] .komimport-ai-chat__catalog-image-wrap,
	.komimport-ai-chat__catalog-body[data-mobile-tab="sections"] .komimport-ai-chat__catalog-list-wrap {
		display: none;
	}

	.komimport-ai-chat__catalog-body[data-mobile-tab="sections"] .komimport-ai-chat__catalog-nav-wrap {
		display: block;
		grid-row: 2 / 4;
		box-sizing: border-box;
		width: 100%;
		height: 100%;
		border: 0;
	}

	.komimport-ai-chat__catalog-image-wrap {
		position: relative;
		grid-row: 2;
		box-sizing: border-box;
		width: 100%;
		height: 100%;
		padding: 6px;
		border-right: 0;
		border-bottom: 1px solid #d6e1ea;
	}

	.komimport-ai-chat__catalog-zoom-controls {
		position: sticky;
		left: calc(100% - 38px);
		top: 7px;
		z-index: 7;
		display: inline-grid;
		gap: 4px;
		align-self: flex-start;
		margin-left: -34px;
		pointer-events: auto;
	}

	.komimport-ai-chat__catalog-zoom-button {
		width: 30px;
		height: 28px;
		border: 1px solid #b9ccdc;
		border-radius: 6px;
		background: rgba(255, 255, 255, .94);
		color: #173b5a;
		font: 800 12px/1 Arial, sans-serif;
		box-shadow: 0 1px 4px rgba(16, 42, 67, .18);
	}

	.komimport-ai-chat__catalog-list-wrap {
		grid-row: 3;
		box-sizing: border-box;
		width: 100%;
		height: 100%;
		overflow-x: hidden;
		overflow-y: auto;
		border: 0;
		background: #fff;
	}

	.komimport-ai-chat__catalog-table {
		width: 100%;
		min-width: 0;
		table-layout: fixed;
		border-collapse: collapse;
		font-size: 12px;
		line-height: 1.18;
	}

	.komimport-ai-chat__catalog-table th,
	.komimport-ai-chat__catalog-table td {
		height: 30px;
		box-sizing: border-box;
		padding: 3px 4px;
		border: 1px solid #d7e2eb;
		vertical-align: middle;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.komimport-ai-chat__catalog-table th {
		height: 24px;
		top: 0;
		padding-top: 2px;
		padding-bottom: 2px;
		font-size: 11px;
		line-height: 1.1;
	}

	.komimport-ai-chat__catalog-table th:first-child {
		font-size: 0;
	}

	.komimport-ai-chat__catalog-table th:first-child::before {
		content: "✓";
		font-size: 11px;
	}

	.komimport-ai-chat__catalog-table th:nth-child(1),
	.komimport-ai-chat__catalog-table td:nth-child(1) {
		width: 56px;
		min-width: 56px;
		max-width: 56px;
		text-align: center;
	}

	.komimport-ai-chat__catalog-table th:nth-child(2),
	.komimport-ai-chat__catalog-table td:nth-child(2) {
		width: 27px;
		min-width: 27px;
		max-width: 27px;
		text-align: center;
	}

	.komimport-ai-chat__catalog-table th:nth-child(3),
	.komimport-ai-chat__catalog-table td:nth-child(3) {
		width: 112px;
	}

	.komimport-ai-chat__catalog-table th:nth-child(5),
	.komimport-ai-chat__catalog-table td:nth-child(5) {
		width: 34px;
		text-align: center;
	}

	.komimport-ai-chat__catalog-table th:nth-child(n+6),
	.komimport-ai-chat__catalog-table td:nth-child(n+6) {
		display: none;
	}

	.komimport-ai-chat__catalog-select-cell {
		width: 56px;
		min-width: 56px;
	}

	.komimport-ai-chat__catalog-select-actions {
		gap: 3px;
	}

	.komimport-ai-chat__catalog-select {
		width: 19px;
		height: 19px;
	}

	.komimport-ai-chat__catalog-price-button {
		width: 23px;
		height: 23px;
		border-radius: 5px;
		font-size: 14px;
	}

	.komimport-ai-chat__catalog-table tr.is-highlighted td,
	.komimport-ai-chat__catalog-table tr.is-selected td {
		background: #dff4e8;
		color: #0f3d2e;
		font-weight: 800;
	}

	.komimport-ai-chat__catalog-table tr.is-selected {
		outline: 1px solid #2f9e44;
		outline-offset: -1px;
	}

	.komimport-ai-chat__catalog-part-hierarchy {
		margin-right: 2px;
		letter-spacing: 0;
	}

	.komimport-ai-chat__catalog-part-marker {
		width: 13px;
		height: 13px;
		margin-right: 2px;
	}

	.komimport-ai-chat__catalog-nav-wrap {
		box-sizing: border-box;
		padding: 8px 6px calc(10px + env(safe-area-inset-bottom));
		overflow-x: hidden;
	}

	.komimport-ai-chat__catalog-nav-list {
		min-width: 0;
	}

	.komimport-ai-chat__catalog-nav-row {
		grid-template-columns: 22px minmax(0, 1fr);
		min-width: 0;
		padding-left: calc(var(--level, 0) * 8px);
	}

	.komimport-ai-chat__catalog-nav-link {
		width: 100%;
		max-width: 100%;
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

/* Stable catalog header: the page/book title never competes with search controls. */
.komimport-ai-chat__catalog-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto auto;
	align-items: center;
	gap: 6px;
}

.komimport-ai-chat__catalog-heading {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	min-width: 0;
}

.komimport-ai-chat__catalog-title {
	display: block;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow-wrap: normal;
	-webkit-line-clamp: unset;
	-webkit-box-orient: initial;
}

.komimport-ai-chat__catalog-controls-row {
	grid-column: 1;
	grid-row: 2;
	min-width: 0;
	display: grid;
	grid-template-columns: max-content minmax(420px, 1fr) max-content;
	align-items: center;
	gap: 10px;
}

.komimport-ai-chat__catalog-controls-row .komimport-ai-chat__catalog-heading-links,
.komimport-ai-chat__catalog-controls-row .komimport-ai-chat__catalog-search-tools,
.komimport-ai-chat__catalog-controls-row .komimport-ai-chat__catalog-actions {
	min-width: 0;
}

.komimport-ai-chat__catalog-controls-row .komimport-ai-chat__catalog-search-tools {
	width: 100%;
	max-width: none;
	flex: none;
}

.komimport-ai-chat__catalog-book-search-status {
	display: none;
}

.komimport-ai-chat__catalog-book-search-status.is-error {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 70;
	display: block;
	box-sizing: border-box;
	margin: 0;
	padding: 4px 7px;
	border-radius: 4px;
	background: #fff2d6;
	color: #6b3f00;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	box-shadow: 0 4px 10px rgba(10, 32, 50, .18);
	pointer-events: none;
}

.komimport-ai-chat__catalog-nav-live-state {
	margin: 4px 6px 8px;
	padding: 7px 9px;
	border-radius: 6px;
	background: #eef6fc;
	color: #31536d;
	font-size: 12px;
	line-height: 1.3;
}

.komimport-ai-chat__catalog-nav-live-state.is-error {
	background: #fff2d6;
	color: #6b3f00;
}

.komimport-ai-chat__catalog-nav-more.is-auto-loading {
	min-height: 18px;
	pointer-events: none;
}

.komimport-ai-chat__catalog-nav-auto-loader {
	display: block;
	padding: 2px 10px;
	color: #69839a;
	text-align: center;
}

@media (max-width: 1280px) {
	.komimport-ai-chat__catalog-controls-row {
		grid-template-columns: minmax(0, 1fr) max-content;
		grid-template-rows: auto auto;
		align-items: center;
	}

	.komimport-ai-chat__catalog-controls-row .komimport-ai-chat__catalog-heading-links {
		grid-column: 1;
		grid-row: 1;
	}

	.komimport-ai-chat__catalog-controls-row .komimport-ai-chat__catalog-actions {
		grid-column: 2;
		grid-row: 1;
	}

	.komimport-ai-chat__catalog-controls-row .komimport-ai-chat__catalog-search-tools {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

@media (max-width: 760px) {
	.komimport-ai-chat__catalog-header {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-items: start;
		gap: 4px;
	}

	.komimport-ai-chat__catalog-title {
		font-size: 11px;
		line-height: 1.2;
	}

	.komimport-ai-chat__catalog-controls-row {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		align-items: start;
		gap: 4px;
	}

	.komimport-ai-chat__catalog-controls-row .komimport-ai-chat__catalog-actions {
		grid-column: 1;
		grid-row: 1;
	}

	.komimport-ai-chat__catalog-controls-row .komimport-ai-chat__catalog-heading-links {
		grid-column: 1;
		grid-row: 2;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px;
	}

	.komimport-ai-chat__catalog-controls-row .komimport-ai-chat__catalog-search-tools {
		grid-column: 1;
		grid-row: 3;
	}
}
/* Compact paid-access content rendered above the catalog-limit dialog. */
.komimport-ai-chat__subscription-offers-modal { position:fixed; inset:0; z-index:2147483647; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(9,18,31,.78); box-sizing:border-box; }
.komimport-ai-chat__subscription-offers-dialog { position:relative; width:min(680px, 100%); max-height:calc(100vh - 32px); overflow:auto; box-sizing:border-box; padding:28px; border-radius:18px; background:#fff; color:#172033; box-shadow:0 24px 70px rgba(0,0,0,.45); }
.komimport-ai-chat__subscription-offers-close { position:absolute; top:8px; right:12px; border:0; background:transparent; font-size:30px; cursor:pointer; }
.kpart-subscription-offers { padding-right:22px; }
.kpart-subscription-offers h2 { margin-top:0; }
.kpart-subscription-offers__copy img { display:none; }
.kpart-subscription-offers__checkout { display:inline-block; margin-top:12px; padding:12px 15px; border-radius:9px; background:#1769e0; color:#fff; font-weight:700; text-decoration:none; }
@media (max-width:640px) { .komimport-ai-chat__subscription-offers-modal { padding:8px; } .komimport-ai-chat__subscription-offers-dialog { max-height:calc(100vh - 16px); padding:22px 16px; } }

.komimport-ai-chat__subscription-offers-dialog .kpart-subscription-offers__copy {
	margin-bottom: 16px;
}

.komimport-ai-chat__subscription-offers-dialog .kpart-subscription-checkout--compact {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.komimport-ai-chat__subscription-offers-dialog .kpart-subscription-plan {
	min-width: 0;
	padding: 14px;
	border: 1px solid #d8e0ea;
	border-radius: 12px;
	background: #fff;
}

.komimport-ai-chat__subscription-offers-dialog .kpart-subscription-plan h3 {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.35;
}

.komimport-ai-chat__subscription-offers-dialog .kpart-subscription-checkout__status {
	grid-column: 1 / -1;
	margin: 4px 0 0;
	color: #a12a2a;
}

@media (max-width: 640px) {
	.komimport-ai-chat__subscription-offers-dialog .kpart-subscription-checkout--compact {
		grid-template-columns: 1fr;
	}

	.komimport-ai-chat__subscription-offers-dialog .kpart-subscription-plan {
		padding: 12px;
	}
}
