:root
{
	--uf-ink: #1d2733;
	--uf-muted: #67717d;
	--uf-subtle: #929ba6;
	--uf-canvas: #f4f6f8;
	--uf-surface: #ffffff;
	--uf-surface-soft: #f8fafc;
	--uf-sidebar: #172033;
	--uf-sidebar-soft: #202c43;
	--uf-line: #e2e7ef;
	--uf-line-strong: #cdd5df;
	--uf-accent: #e30613;
	--uf-accent-dark: #b80510;
	--uf-accent-soft: #fff1f2;
	--uf-accent-icon: #fda4af;
	--uf-blue: #e30613;
	--uf-blue-soft: #fff1f2;
	--uf-cyan: #3b82f6;
	--uf-cyan-soft: #eff6ff;
	--uf-amber: #8a6c3d;
	--uf-amber-soft: #f5f0e7;
	--uf-coral: #8b5149;
	--uf-coral-soft: #f4ecea;
	--uf-shadow: 0 8px 24px rgba(23, 32, 29, 0.06);
	--uf-sidebar-width: 270px;
}

.buy-button-mode
{
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid #bfdbfe;
	border-radius: 6px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 600;
}

.buy-button-mode svg
{
	width: 15px;
	height: 15px;
}

.buy-button-mode-live
{
	border-color: #fecaca;
	background: #fef2f2;
	color: #b91c1c;
}

.buy-button-summary
{
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	border: 1px solid var(--uf-line);
	border-radius: 6px;
	background: #ffffff;
	overflow: hidden;
}

.buy-button-summary > div
{
	display: flex;
	min-height: 82px;
	padding: 16px 18px;
	border-right: 1px solid var(--uf-line);
	flex-direction: column;
	justify-content: center;
}

.buy-button-summary > div:last-child
{
	border-right: 0;
}

.buy-button-summary span
{
	color: var(--uf-muted);
	font-size: 12px;
}

.buy-button-summary strong
{
	margin-top: 4px;
	color: var(--uf-ink);
	font-size: 24px;
}

.buy-button-summary .has-error strong
{
	color: #b91c1c;
}

.buy-button-v2-summary
{
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 1px;
	background: var(--uf-line);
}

.buy-button-v2-summary > div
{
	border: 0;
	background: #ffffff;
}

.buy-button-settings-panel label
{
	margin-bottom: 6px;
}

.buy-button-table
{
	min-width: 1540px;
}

.buy-button-product
{
	display: flex;
	min-width: 250px;
	align-items: center;
	gap: 10px;
}

.buy-button-product > img,
.buy-button-product > span
{
	display: inline-flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--uf-line);
	border-radius: 5px;
	background: #ffffff;
	object-fit: contain;
}

.buy-button-product > span svg
{
	width: 17px;
	height: 17px;
	color: var(--uf-muted);
}

.buy-button-product div
{
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.buy-button-product strong
{
	max-width: 280px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.buy-button-product small,
.buy-button-cell-note,
.buy-button-suggestion,
.buy-button-error
{
	display: block;
	margin-top: 3px;
	color: var(--uf-muted);
	font-size: 11px;
}

.bundle-type-badge
{
	margin-left: 4px;
	vertical-align: middle;
}

.bundle-type-ap
{
	border-color: #93c5fd;
	background: #eff6ff;
	color: #1d4ed8;
}

.bundle-type-bp
{
	border-color: #c4b5fd;
	background: #f5f3ff;
	color: #6d28d9;
}

.bundle-type-bc
{
	border-color: #f9a8d4;
	background: #fdf2f8;
	color: #be185d;
}

.buy-button-suggestion
{
	color: #1d4ed8;
	font-weight: 600;
}

.buy-button-suggestion-cell
{
	display: flex;
	min-width: 112px;
	align-items: center;
	justify-content: flex-start;
	gap: 7px;
	color: #1d4ed8;
}

.buy-button-error
{
	max-width: 170px;
	overflow: hidden;
	color: #b91c1c;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.buy-button-api-response
{
	margin-top: 8px;
}

.buy-button-api-response summary
{
	cursor: pointer;
	font-weight: 600;
}

.buy-button-api-response pre
{
	max-width: 520px;
	max-height: 320px;
	margin: 8px 0 0;
	padding: 12px;
	overflow: auto;
	background: #f6f7f9;
	border-radius: 8px;
	font-size: 11px;
	white-space: pre-wrap;
}

.buy-button-steps
{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
}

.buy-button-actions
{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
}

.buy-button-pricing-modal
{
	overflow: hidden;
	border: 0;
	box-shadow: 0 24px 70px rgba(23, 32, 51, 0.18);
}

.buy-button-pricing-modal .modal-header
{
	padding: 18px 22px;
	border-bottom-color: var(--uf-line);
	background: linear-gradient(135deg, #ffffff 0%, var(--uf-accent-soft) 100%);
}

.buy-button-pricing-modal .modal-title
{
	margin-top: 2px;
	font-weight: 650;
}

.buy-button-pricing-modal .modal-body
{
	padding: 22px;
	background: var(--uf-surface-soft);
}

.buy-button-pricing-modal .modal-footer
{
	padding: 14px 22px;
	border-top-color: var(--uf-line);
}

.buy-button-pricing-sync
{
	display: flex;
	margin-bottom: 16px;
	padding: 12px 14px;
	align-items: center;
	gap: 11px;
	border: 1px solid #bfdbfe;
	border-radius: 7px;
	background: #eff6ff;
	color: #1d4ed8;
}

.buy-button-pricing-sync.is-success
{
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #15803d;
}

.buy-button-pricing-sync.is-error
{
	border-color: #fecaca;
	background: #fef2f2;
	color: #b91c1c;
}

.buy-button-pricing-sync div
{
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.buy-button-pricing-sync small
{
	color: inherit;
	opacity: 0.82;
}

.buy-button-pricing-product
{
	display: flex;
	margin-bottom: 16px;
	padding: 14px 16px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	background: var(--uf-surface);
}

.buy-button-pricing-product div
{
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.buy-button-pricing-product strong
{
	overflow: hidden;
	color: var(--uf-ink);
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.buy-button-pricing-product small
{
	margin-top: 3px;
	color: var(--uf-muted);
	font-size: 11px;
}

.buy-button-pricing-context,
.buy-button-pricing-results
{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	background: var(--uf-surface);
	overflow: hidden;
}

.buy-button-pricing-context > div,
.buy-button-pricing-results > div
{
	display: flex;
	min-height: 72px;
	padding: 13px 15px;
	border-right: 1px solid var(--uf-line);
	flex-direction: column;
	justify-content: center;
}

.buy-button-pricing-context > div:last-child,
.buy-button-pricing-results > div:last-child
{
	border-right: 0;
}

.buy-button-pricing-context span,
.buy-button-pricing-results span
{
	color: var(--uf-muted);
	font-size: 11px;
}

.buy-button-pricing-context strong,
.buy-button-pricing-results strong
{
	margin-top: 4px;
	color: var(--uf-ink);
	font-size: 15px;
}

.buy-button-pricing-context-group,
.buy-button-pricing-result-group
{
	margin-top: 14px;
}

.buy-button-pricing-group-title
{
	margin: 0 0 7px 2px;
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.buy-button-pricing-section
{
	margin-top: 14px;
	padding: 15px;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	background: rgba(248, 250, 252, .72);
}

.buy-button-pricing-section-header
{
	display: flex;
	margin-bottom: 12px;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.buy-button-pricing-section-header > div
{
	display: flex;
	flex-direction: column;
}

.buy-button-pricing-section-header strong
{
	color: var(--uf-ink);
	font-size: 13px;
}

.buy-button-pricing-section-header span
{
	margin-top: 2px;
	color: var(--uf-muted);
	font-size: 10px;
}

.buy-button-pricing-fields
{
	display: grid;
	margin: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.buy-button-pricing-fields--three
{
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buy-button-pricing-field
{
	padding: 15px;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	background: var(--uf-surface);
}

.buy-button-pricing-field label
{
	display: block;
	margin-bottom: 7px;
	color: var(--uf-ink);
	font-size: 12px;
	font-weight: 600;
}

.buy-button-pricing-field > small
{
	display: block;
	min-height: 30px;
	margin-top: 7px;
	color: var(--uf-muted);
	font-size: 10px;
	line-height: 1.45;
}

.buy-button-pricing-margin-control
{
	display: grid;
	width: 100%;
	grid-template-columns: 38px minmax(0, 1fr) 38px;
	gap: 6px;
}

.buy-button-pricing-margin-control .btn,
.buy-button-pricing-margin-control .form-control
{
	height: 38px;
}

.buy-button-pricing-margin-control .btn
{
	display: inline-flex;
	padding: 0;
	align-items: center;
	justify-content: center;
}

.buy-button-pricing-margin-control .btn svg
{
	width: 15px;
	height: 15px;
}

.buy-button-pricing-margin-control .form-control
{
	min-width: 0;
}

.buy-button-pricing-results
{
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buy-button-pricing-results .is-positive strong
{
	color: #15803d;
}

.buy-button-pricing-results .is-negative strong
{
	color: #b91c1c;
}

.buy-button-steps input
{
	width: 64px;
	height: 34px;
	padding: 5px 7px;
	border: 1px solid var(--uf-line);
	border-radius: 5px;
	font-size: 12px;
}

.buy-button-state-winning
{
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #15803d;
}

.buy-button-state-waiting_confirmation,
.buy-button-state-simulation,
.buy-button-state-monitoring,
.buy-button-state-syncing_price
{
	border-color: #bfdbfe;
	background: #eff6ff;
	color: #1d4ed8;
}

.buy-button-state-syncing_price
{
	position: relative;
	padding-left: 22px;
}

.buy-button-state-syncing_price::before
{
	position: absolute;
	top: 50%;
	left: 8px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	content: "";
	transform: translateY(-50%);
	animation: buy-button-sync-pulse 1.2s ease-in-out infinite;
}

@keyframes buy-button-sync-pulse
{
	0%,
	100%
	{
		opacity: 0.35;
		transform: translateY(-50%) scale(0.75);
	}
	50%
	{
		opacity: 1;
		transform: translateY(-50%) scale(1);
	}
}

.worklist-submit-progress
{
	position: fixed;
	z-index: 1090;
	inset: 0;
	display: grid;
	padding: 20px;
	place-items: center;
	background: rgba(23, 32, 51, 0.44);
	backdrop-filter: blur(3px);
}

.worklist-submit-progress-card
{
	display: grid;
	width: min(520px, 100%);
	padding: 22px;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(23, 32, 51, 0.25);
}

.worklist-submit-progress-card strong
{
	display: block;
	margin-bottom: 4px;
	color: var(--uf-ink);
	font-size: 16px;
}

.worklist-submit-progress-card p
{
	margin: 0 0 12px;
	color: var(--uf-muted);
	font-size: 12px;
}

.worklist-submit-progress-card .progress
{
	height: 5px;
}

@media (prefers-reduced-motion: reduce)
{
	.buy-button-state-syncing_price::before,
	.progress-bar-animated
	{
		animation: none;
	}
}


.buy-button-state-at_minimum,
.buy-button-state-paused_stock,
.buy-button-state-paused_manual
{
	border-color: #fde68a;
	background: #fffbeb;
	color: #a16207;
}

.buy-button-state-error
{
	border-color: #fecaca;
	background: #fef2f2;
	color: #b91c1c;
}

.buy-button-state-active,
.buy-button-state-increase
{
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #15803d;
}

.buy-button-state-activating,
.buy-button-state-decrease
{
	border-color: #bfdbfe;
	background: #eff6ff;
	color: #1d4ed8;
}

.buy-button-state-idle,
.buy-button-state-inactive,
.buy-button-state-no_stock
{
	border-color: #e2e8f0;
	background: #f8fafc;
	color: #475569;
}

.buy-button-state-paused,
.buy-button-state-price_modified,
.buy-button-state-manual_review
{
	border-color: #fde68a;
	background: #fffbeb;
	color: #a16207;
}

.buy-button-v2-api-row > td
{
	padding-top: 0;
	border-top: 0;
	background: #f8fafc;
}

.buy-button-v2-api-row details
{
	width: 100%;
}

.buy-button-v2-api-row summary
{
	width: max-content;
	cursor: pointer;
	color: #2563eb;
	font-size: 12px;
	font-weight: 600;
}

.buy-button-v2-api-row pre
{
	max-width: 100%;
	max-height: 420px;
	margin: 10px 0 4px;
	padding: 14px;
	overflow: auto;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #0f172a;
	color: #e2e8f0;
	font-size: 11px;
	line-height: 1.55;
	white-space: pre-wrap;
	word-break: break-word;
}

.buy-button-product-indicator
{
	display: inline-flex;
	margin-top: 5px;
	align-items: center;
	gap: 4px;
	border-color: #bfdbfe;
	background: #eff6ff;
	color: #1d4ed8;
}

.buy-button-product-indicator svg
{
	width: 12px;
	height: 12px;
}

.buy-button-v2-product-indicator
{
	border-color: #a7f3d0;
	background: #ecfdf5;
	color: #047857;
}

.bundle-product-indicator
{
	display: inline-flex;
	width: fit-content;
	margin-top: 5px;
	padding: 2px 6px;
	align-items: center;
	gap: 3px;
	font-size: 11px;
	border-color: #ddd6fe;
	background: #f5f3ff;
	color: #6d28d9;
	text-decoration: none;
}

.bundle-product-indicator:hover
{
	border-color: #c4b5fd;
	background: #ede9fe;
	color: #5b21b6;
}

.bundle-product-indicator svg
{
	width: 12px;
	height: 12px;
}

.bundle-product-indicator
{
	font-family: inherit;
	appearance: none;
	border: 1px solid #ddd6fe;
	cursor: pointer;
}

.bundle-product-indicator.bundle-type-ap
{
	border-color: #93c5fd;
	background: #eff6ff;
	color: #1d4ed8;
}

.bundle-product-indicator.bundle-type-bp
{
	border-color: #c4b5fd;
	background: #f5f3ff;
	color: #6d28d9;
}

.bundle-product-indicator.bundle-type-bc
{
	border-color: #f9a8d4;
	background: #fdf2f8;
	color: #be185d;
}

.bundle-detail-summary
{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.bundle-detail-summary span,
.bundle-detail-item-values span
{
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 6px;
	background: var(--uf-surface-muted);
	color: var(--uf-muted);
	font-size: 12px;
	font-weight: 600;
}

.bundle-detail-list
{
	display: grid;
	gap: 8px;
}

.bundle-detail-item
{
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1px solid var(--uf-line);
	border-radius: 8px;
}

.bundle-detail-item-image,
.bundle-detail-image-empty
{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 7px;
	background: var(--uf-surface-muted);
	overflow: hidden;
}

.bundle-detail-item-image img
{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bundle-detail-item-info
{
	min-width: 0;
}

.bundle-detail-item-info strong,
.bundle-detail-item-info small
{
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bundle-detail-item-info small
{
	margin-top: 3px;
	color: var(--uf-muted);
	font-size: 11px;
}

.bundle-detail-item-values
{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 5px;
}

@media (max-width: 1199px)
{
	.buy-button-summary
	{
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.buy-button-summary > div:nth-child(3)
	{
		border-right: 0;
	}

	.buy-button-summary > div:nth-child(-n+3)
	{
		border-bottom: 1px solid var(--uf-line);
	}

	.buy-button-v2-summary
	{
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.buy-button-v2-summary > div,
	.buy-button-v2-summary > div:nth-child(3),
	.buy-button-v2-summary > div:nth-child(-n+3)
	{
		border: 0;
	}
}

@media (max-width: 767px)
{
	.buy-button-pricing-context
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.buy-button-pricing-context > div:nth-child(2)
	{
		border-right: 0;
	}

	.buy-button-pricing-context > div:nth-child(-n+2)
	{
		border-bottom: 1px solid var(--uf-line);
	}

	.buy-button-pricing-fields
	{
		grid-template-columns: 1fr;
	}

	.buy-button-pricing-fields--three
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px)
{
	.buy-button-summary
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.buy-button-summary > div,
	.buy-button-summary > div:nth-child(3)
	{
		border-right: 1px solid var(--uf-line);
		border-bottom: 1px solid var(--uf-line);
	}

	.buy-button-summary > div:nth-child(even)
	{
		border-right: 0;
	}

	.buy-button-summary > div:nth-last-child(-n+2)
	{
		border-bottom: 0;
	}

	.buy-button-v2-summary
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.buy-button-v2-summary > div,
	.buy-button-v2-summary > div:nth-child(3),
	.buy-button-v2-summary > div:nth-child(even),
	.buy-button-v2-summary > div:nth-last-child(-n+2)
	{
		border: 0;
	}

	.buy-button-pricing-modal .modal-body
	{
		padding: 16px;
	}

	.buy-button-pricing-context,
	.buy-button-pricing-fields,
	.buy-button-pricing-fields--three,
	.buy-button-pricing-results
	{
		grid-template-columns: 1fr;
	}

	.buy-button-pricing-section
	{
		padding: 12px;
	}

	.buy-button-pricing-context > div,
	.buy-button-pricing-results > div
	{
		min-height: 62px;
		border-right: 0;
		border-bottom: 1px solid var(--uf-line);
	}

	.buy-button-pricing-context > div:last-child,
	.buy-button-pricing-results > div:last-child
	{
		border-bottom: 0;
	}
}

html,
body
{
	font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
	background: var(--uf-canvas);
	color: var(--uf-ink);
	letter-spacing: 0;
}

body
{
	font-size: 13px;
}

a
{
	color: var(--uf-accent-dark);
}

a:hover
{
	color: var(--uf-accent);
}

.wrapper
{
	background: var(--uf-canvas);
	min-height: calc(100vh - 4px);
}

.main
{
	background: var(--uf-canvas);
	min-width: 0;
}

.sidebar
{
	width: var(--uf-sidebar-width);
	min-width: var(--uf-sidebar-width);
	background: var(--uf-sidebar);
}

.sidebar-content
{
	background: var(--uf-sidebar);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.sidebar-brand
{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
	padding: 24px 22px 22px;
	background: var(--uf-sidebar);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand img
{
	width: 164px;
	height: 44px;
	object-fit: cover;
	border-radius: 5px;
}

.workspace-orders
{
	--uf-accent: #16a34a;
	--uf-accent-dark: #15803d;
	--uf-accent-soft: #f0fdf4;
	--uf-accent-icon: #86efac;
	--uf-blue: #16a34a;
	--uf-blue-soft: #f0fdf4;
	--uf-cyan: #22c55e;
	--uf-cyan-soft: #f0fdf4;
	--uf-sidebar-soft: #213b35;
}

.workspace-administration
{
	--uf-accent: #27272a;
	--uf-accent-dark: #09090b;
	--uf-accent-soft: #f4f4f5;
	--uf-accent-icon: #d4d4d8;
	--uf-blue: #27272a;
	--uf-blue-soft: #f4f4f5;
	--uf-cyan: #52525b;
	--uf-cyan-soft: #f4f4f5;
	--uf-sidebar: #111113;
	--uf-sidebar-soft: #27272a;
}

.workspace-switcher
{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	margin: 18px 14px 10px;
	padding: 4px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
}

.workspace-switcher-option
{
	display: flex;
	height: 42px;
	min-width: 0;
	align-items: center;
	justify-content: center;
	gap: 7px;
	color: #9eabc0;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 140ms ease, color 140ms ease;
}

.workspace-switcher-option svg
{
	width: 15px;
	height: 15px;
}

.workspace-switcher-option:hover
{
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
}

.workspace-switcher-option.active
{
	background: var(--uf-accent);
	color: #ffffff;
}

.brand-context,
.page-eyebrow,
.section-kicker,
.data-chip
{
	font-family: "Inter", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0;
	font-size: 10px;
	font-weight: 600;
}

.brand-context
{
	color: #94a3b8;
}

.sidebar-nav
{
	padding: 14px 12px 28px;
}

.sidebar-header
{
	color: #8290a5;
	font-family: "Inter", sans-serif;
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0;
	padding: 20px 12px 7px;
}

.sidebar-link,
a.sidebar-link
{
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 42px;
	margin: 2px 0;
	padding: 10px 12px;
	color: #c3ccda;
	background: transparent;
	border-left: 3px solid transparent;
	border-radius: 5px;
	font-weight: 600;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.sidebar-link svg
{
	width: 17px;
	height: 17px;
	color: #8f9db2;
	flex: 0 0 17px;
}

.sidebar-item.active > .sidebar-link,
.sidebar-item.active .sidebar-link:hover
{
	background: var(--uf-sidebar-soft);
	color: #ffffff;
	border-left-color: var(--uf-accent);
}

.sidebar-item.active .sidebar-link svg
{
	color: var(--uf-accent-icon);
}

.sidebar-link:hover
{
	background: rgba(255, 255, 255, 0.05);
	color: #ffffff;
}

.sidebar-count
{
	min-width: 24px;
	margin-left: auto;
	padding: 2px 6px;
	background: var(--uf-accent);
	border-radius: 5px;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

.sidebar-count-danger
{
	background: #dc2626;
}

.sidebar-group-toggle
{
	position: relative;
	width: 100%;
	border: 0;
	font-family: inherit;
	font-size: inherit;
	text-align: left;
}

.sidebar-group-chevron
{
	width: 15px !important;
	height: 15px !important;
	margin-left: auto;
	transition: transform 160ms ease;
}

.sidebar-group-toggle[aria-expanded="true"] .sidebar-group-chevron
{
	transform: rotate(180deg);
}

#sidebar .sidebar-group-toggle::after
{
	content: none !important;
	display: none !important;
	border: 0 !important;
}

.sidebar-dropdown
{
	margin: 1px 0 5px;
	padding: 3px 0 4px 39px;
}

.sidebar-subitem .sidebar-link,
.sidebar-subitem.active > .sidebar-link
{
	position: relative;
	min-height: 38px;
	margin: 0;
	padding: 8px 12px 8px 20px;
	background: transparent;
	border-left: 0;
	color: #9eabc0;
	font-size: 12px;
	font-weight: 500;
}

.sidebar-subitem .sidebar-link::before
{
	content: "";
	position: absolute;
	left: 4px;
	top: 50%;
	width: 5px;
	height: 5px;
	background: #66758b;
	border-radius: 50%;
	transform: translateY(-50%);
}

.sidebar-subitem .sidebar-link:hover,
.sidebar-subitem.active > .sidebar-link
{
	color: #ffffff;
}

.sidebar-group.active .sidebar-subitem > .sidebar-link:hover,
.sidebar-group.active .sidebar-subitem.active > .sidebar-link
{
	background: transparent;
	border-left: 0;
}

.sidebar-subitem.active > .sidebar-link::before
{
	background: var(--uf-accent);
}

#sidebar .sidebar-nested-group > .sidebar-link
{
	display: flex;
	align-items: center;
	min-height: 30px;
	padding: 7px 12px 7px 14px;
	background: transparent;
	border: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

#sidebar .sidebar-nested-group > .sidebar-link::before
{
	display: none;
}

#sidebar .sidebar-nested-group > .sidebar-link svg
{
	width: 14px;
	height: 14px;
	margin-right: 6px;
	opacity: 0.7;
}

#sidebar .sidebar-nested-group > .sidebar-dropdown
{
	display: block;
	margin: 0 0 7px 20px;
	padding: 2px 0 2px 13px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

#sidebar .sidebar-nested-group .sidebar-subitem .sidebar-link
{
	min-height: 30px;
	padding: 6px 10px;
	font-size: 10px;
	color: rgba(255, 255, 255, 0.78);
}

#sidebar .sidebar-nested-group .sidebar-subitem .sidebar-link:hover,
#sidebar .sidebar-nested-group .sidebar-subitem.active > .sidebar-link
{
	background: rgba(255, 255, 255, 0.06);
	border-radius: 4px;
	color: #ffffff;
}

.emag-product-sync-progress
{
	margin: 0;
	padding: 4px;
	background: transparent;
	border: 0;
}

.sync-modal-content
{
	border: 1px solid var(--uf-line);
	border-radius: 10px;
	box-shadow: 0 24px 70px rgba(16, 24, 20, .18);
}

.sync-modal-title
{
	display: flex;
	align-items: center;
	gap: 12px;
}

.sync-modal-title .modal-title
{
	margin: 0;
	font-size: 18px;
	font-weight: 650;
}

.sync-modal-icon
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 8px;
	background: var(--uf-accent-soft);
	color: var(--uf-accent);
}

.sync-modal-icon svg
{
	width: 21px;
	height: 21px;
}

.sync-progress-status
{
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--uf-ink);
	font-size: 13px;
}

.sync-progress-status svg
{
	width: 16px;
	height: 16px;
	color: var(--uf-accent);
}

.emag-product-sync-progress-bar
{
	height: 7px;
	margin: 0 0 18px;
	overflow: hidden;
	background: var(--uf-accent-soft);
	border-radius: 999px;
}

.emag-product-sync-progress-bar span
{
	display: block;
	width: 0;
	height: 100%;
	background: var(--uf-accent);
	border-radius: inherit;
}

.emag-product-sync-progress.is-running .emag-product-sync-progress-bar span
{
	width: 35%;
	animation: emag-sync-progress 1.2s ease-in-out infinite alternate;
}

.emag-product-sync-progress.is-determinate .emag-product-sync-progress-bar span
{
	animation: none;
	transform: none;
	transition: width 0.2s ease;
}

[data-sync-percent]
{
	margin-left: auto;
	font-variant-numeric: tabular-nums;
}

.emag-product-sync-progress-data
{
	display: flex;
	gap: 10px;
}

.sync-progress-stat
{
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 2px;
	min-width: 90px;
	padding: 10px 12px;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	background: var(--uf-surface-soft);
}

.sync-progress-stat b
{
	color: var(--uf-ink);
	font-size: 18px;
	line-height: 1;
}

.sync-progress-stat small
{
	color: var(--uf-muted);
	font-size: 11px;
}

@media (max-width: 640px)
{
	.sync-progress-stat { min-width: 75px; }
	.emag-product-sync-progress-data { flex-wrap: wrap; }
	.sync-progress-stat { flex-basis: calc(33.333% - 10px); }
}

@keyframes emag-sync-progress
{
	from { transform: translateX(-10%); }
	to { transform: translateX(195%); }
}

.navbar
{
	position: relative;
	z-index: 40;
	min-height: 82px;
	padding: 14px 26px;
	background: rgba(255, 255, 255, 0.96) !important;
	border-bottom: 1px solid var(--uf-line);
	box-shadow: none;
}

.sidebar-toggle
{
	border: 0;
	padding: 0;
	background: transparent;
	margin-right: 18px;
	color: var(--uf-ink);
}

.page-heading
{
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.page-eyebrow
{
	color: var(--uf-accent);
	margin-bottom: 4px;
}

.page-heading h1
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.navbar-actions,
.page-actions
{
	display: flex;
	align-items: center;
	gap: 10px;
}

.navbar-actions
{
	margin-left: auto;
}

.navbar-shortcuts { display:flex; align-items:center; gap:2px; }
.navbar-shortcut { display:grid; place-items:center; width:36px; height:36px; border:0; background:transparent; border-radius:5px; color:var(--uf-ink); }
.navbar-shortcut svg { width:19px; height:19px; }
.navbar-shortcut:is(:hover,:focus-visible,[aria-expanded="true"]) { color:var(--wn-action); background:#edf3fa; }
.navbar .navbar-shortcuts .dropdown { position:relative; }
.navbar-shortcuts .dropdown-menu-end { left:auto; right:0; transform:none; }
#header-notifications { position:relative; }
.wn-bell-count { position:absolute; top:0; right:0; min-width:14px; padding:0 3px; border-radius:5px; background:#b83450; color:white; font-size:10px; line-height:14px; font-weight:700; }
.navbar .wn-notice-menu { width:min(25rem,calc(100vw - 4rem)); padding:0; border-radius:10px; overflow:hidden; }
.wn-notice-head,.wn-notice-footer { display:flex; align-items:center; justify-content:space-between; padding:.8rem 1rem; margin:0; }
.wn-notice-head { font-weight:650; font-size:1rem; border-bottom:1px solid #e2e8ef; }
.wn-notice-head span { font-weight:500; font-size:.75rem; padding:.17rem .4rem; border-radius:5px; color:#245990; background:#e5effa; }
.wn-notice-footer { font-weight:600; font-size:.83rem; color:#23558a; background:#f6f8fb; border-top:1px solid #e2e8ef; }
.wn-notice-footer svg { width:15px; height:15px; }
.wn-notice-scroll { max-height:min(48vh,26rem); overflow:auto; }
.wn-notices-page { width:100%; max-width:72rem; margin-inline:auto; overflow:hidden; }
.wn-notices-title { display:flex; align-items:center; gap:.6rem; padding:1rem 1.25rem; }
.wn-notices-title h2 { margin:0; font-size:1.05rem; }
.wn-notices-title svg { width:19px; height:19px; color:#36648c; }
.wn-notices-title span { padding:.08rem .4rem; border-radius:5px; background:#e5effa; color:#295a89; font-size:.75rem; font-weight:500; }
.wn-notice-day { display:flex; align-items:center; gap:.5rem; margin:0; padding:.5rem 1.25rem; border-block:1px solid #e1e8ef; background:#f4f7fa; color:#4a6177; font-size:.76rem; font-weight:600; }
.wn-notice-day svg { width:13px; height:13px; }
.wn-notices-page .wn-notice-row { align-items:center; padding:1rem 1.25rem; gap:1rem; }
.wn-notices-page .wn-notice-copy { gap:.35rem; }
.wn-notices-page .wn-notice-ticket b { white-space:nowrap; padding:.06rem .32rem; margin-right:.18rem; border-radius:5px; background:#edf2f7; color:#415971; font-size:.74rem; font-weight:500; }
.wn-notices-page .wn-notice-empty { padding:2rem 1.25rem; }
@media(max-width:575px) {
	.wn-notices-page .wn-notice-row { grid-template-columns:32px minmax(0,1fr); gap:.3rem .65rem; padding:.85rem; align-items:start; }
	.wn-notices-page .wn-company-avatar { width:32px; height:32px; }
	.wn-notices-page .wn-notice-row time { grid-column:2; }
	.wn-notices-title,.wn-notice-day { padding-inline:.85rem; }
}
.wn-notice-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.15rem .8rem; align-items:start; padding:1rem; color:#23384e; }
.wn-notice-row + .wn-notice-row { border-top:1px solid #e4eaf0; }
.wn-notice-row:hover,.wn-notice-row:focus-visible { background:#f4f8fc; }
.wn-company-avatar { display:inline-grid; place-items:center; flex:none; width:40px; height:40px; padding:4px; border:1px solid #dce5ef; background:#f1f6fc; color:#355b84; font-size:.85rem; font-weight:600; border-radius:8px; }
.wn-company-avatar:has(img) { background:white; }
.wn-company-avatar img { width:100%; height:100%; min-height:0; object-fit:contain; }
.wn-notice-copy { display:grid; gap:.18rem; overflow-wrap:anywhere; }
.wn-notice-copy strong { font-size:.92rem; font-weight:600; line-height:1.4; }
.wn-notice-ticket { font-size:.82rem; color:#465d75; }
.wn-notice-ticket b { font-weight:600; }
.wn-notice-row time { font-size:.75rem; color:#596d83; }
.wn-notice-row time { font-variant-numeric:tabular-nums; }
.wn-notice-menu .wn-notice-row { grid-template-columns:auto minmax(0,1fr); padding:.75rem 1rem; }
.wn-notice-menu .wn-notice-row time { grid-column:2; }
.wn-notice-menu .wn-company-avatar { width:34px; height:34px; }
.wn-notice-empty { display:flex; flex-direction:row; align-items:center; gap:.65rem; padding:1.2rem; color:#53687b; }
.wn-notice-empty svg { width:19px; height:19px; color:#347754; }

.page-actions
{
	flex-wrap: wrap;
	justify-content: flex-end;
}

.system-state
{
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 32px;
	padding: 0 11px;
	border: 1px solid var(--uf-line);
	border-radius: 5px;
	background: var(--uf-surface-soft);
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.system-state-dot
{
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--uf-accent);
	box-shadow: 0 0 0 3px var(--uf-accent-soft);
}

.content
{
	background: var(--uf-canvas);
}

.workspace-scroll
{
	height: calc(100vh - 82px);
	overflow-y: auto;
	overflow-x: hidden;
	--workspace-top:22px;
	--workspace-side:24px;
	padding:var(--workspace-top) var(--workspace-side) 56px;
}

.card
{
	margin-bottom: 18px;
	background: var(--uf-surface);
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	box-shadow: none;
	overflow: visible;
}

.card-header
{
	padding: 18px 20px;
	background: transparent;
	border-bottom: 1px solid var(--uf-line);
}

.card-header:first-child
{
	border-radius: 7px 7px 0 0;
}

.card-body
{
	padding: 20px;
}

.filter-panel
{
	margin-top: 0;
	margin-bottom: 14px;
	background: #f8fafc;
}

[data-integration-products-results]
{
	position: relative;
}

.integration-products-filter-loading
{
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .72);
}

.filter-panel .card-body
{
	padding: 15px 18px 17px;
}

.hotness-dropdown
{
	position: relative;
}

.hotness-dropdown-toggle
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
}

.hotness-dropdown-toggle span
{
	overflow: hidden;
	text-overflow: ellipsis;
}

.hotness-dropdown-toggle svg
{
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.hotness-dropdown-menu
{
	display: none;
	position: absolute;
	z-index: 20;
	top: calc(100% + 5px);
	left: 0;
	width: max-content;
	min-width: 100%;
	max-width: 260px;
	padding: 6px;
	background: #fff;
	border: 1px solid #dfe3e8;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(31, 41, 55, .14);
}

.hotness-dropdown.is-open .hotness-dropdown-menu
{
	display: block;
}

.hotness-dropdown-menu label
{
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 5px;
	cursor: pointer;
	white-space: nowrap;
}

.hotness-dropdown-menu label:hover
{
	background: #f3f6fa;
}

.data-panel
{
	overflow: hidden;
}

.data-panel-header
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	background: #ffffff;
	border-bottom: 1px solid var(--uf-line);
}

.data-panel-header h2
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 15px;
	font-weight: 700;
}

.data-panel-header-actions
{
	display: flex;
	align-items: center;
	gap: 10px;
}

.channel-data-header
{
	border-left: 4px solid var(--uf-blue);
}

.integration-product-actions
{
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	white-space: nowrap;
}

.integration-product-actions .btn
{
	width: 28px;
	min-width: 28px;
	height: 28px;
	padding: 0;
}

.integration-product-actions .btn svg
{
	width: 13px;
	height: 13px;
}

.emag-products-export-modal .modal-body
{
	background: #f8fafc;
}

.emag-products-export-summary
{
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: #eef5ff;
	border: 1px solid #d8e7fb;
	border-radius: 8px;
}

.emag-products-export-summary-icon
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: var(--uf-blue);
	background: #ffffff;
	border: 1px solid #d8e7fb;
	border-radius: 7px;
}

.emag-products-export-summary-icon svg
{
	width: 18px;
	height: 18px;
}

.emag-products-export-summary strong,
.emag-products-export-summary span
{
	display: block;
}

.emag-products-export-summary span
{
	margin-top: 2px;
	color: var(--uf-muted);
	font-size: 12px;
}

.emag-products-export-toolbar
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 20px 0 12px;
}

.emag-products-export-toolbar > span
{
	color: var(--uf-ink);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.emag-products-export-toolbar > div
{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.emag-products-export-groups
{
	display: grid;
	gap: 12px;
}

.emag-products-export-group
{
	padding: 14px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 8px;
}

.emag-products-export-group h6
{
	margin: 0 0 10px;
	color: var(--uf-ink);
	font-size: 13px;
	font-weight: 700;
}

.emag-products-export-fields
{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
}

.emag-products-export-field
{
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 38px;
	margin: 0;
	padding: 8px 10px;
	background: #fbfcfd;
	border: 1px solid #e5eaf0;
	border-radius: 6px;
	cursor: pointer;
}

.emag-products-export-field:hover
{
	border-color: #b9cce5;
}

.emag-products-export-field .form-check-input
{
	flex: 0 0 auto;
	margin: 0;
}

.emag-products-export-field span
{
	color: #344152;
	font-size: 13px;
	font-weight: 600;
}

.emag-products-export-footer
{
	justify-content: space-between;
}

.emag-products-export-footer > span
{
	color: var(--uf-muted);
	font-size: 12px;
}

.emag-products-export-footer > div
{
	display: flex;
	gap: 8px;
}

@media(max-width: 575px)
{
	.emag-products-export-summary,
	.emag-products-export-toolbar,
	.emag-products-export-footer
	{
		align-items: stretch;
		flex-direction: column;
	}

	.emag-products-export-fields
	{
		grid-template-columns: 1fr;
	}

	.emag-products-export-footer > div
	{
		width: 100%;
	}

	.emag-products-export-footer .btn
	{
		flex: 1 1 0;
	}
}

.product-thumb
{
	width: 46px;
	height: 46px;
	padding: 3px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 5px;
	object-fit: contain;
}

.product-thumb-empty
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--uf-muted);
}

.product-thumb-empty svg
{
	width: 18px;
	height: 18px;
}

.product-link
{
	display: block;
	min-width: 180px;
	max-width: 360px;
	color: var(--uf-ink);
	line-height: 1.35;
}

.product-code-line
{
	display: block;
	margin-top: 4px;
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 600;
}

.worklist-remote-id
{
	display: inline-flex;
	margin-left: 7px;
	padding: 2px 5px;
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	border-radius: 3px;
	color: #4338ca;
	font-size: 9px;
	font-weight: 700;
}

.product-status
{
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 7px;
	border: 1px solid var(--uf-line);
	border-radius: 4px;
	font-size: 10px;
	font-weight: 600;
}

.product-status-active
{
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #15803d;
}

.product-status-inactive
{
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #64748b;
}

.emag-bulk-results
{
	max-height: 320px;
	overflow-y: auto;
	overflow-wrap: anywhere;
}

.emag-bulk-table
{
	width: 100%;
	min-width: 640px;
	table-layout: fixed;
}

.emag-bulk-table th:first-child
{
	width: 40%;
}

.emag-bulk-table th:last-child
{
	width: 26%;
}

.emag-bulk-table thead
{
	position: sticky;
	top: 0;
	z-index: 1;
	background: var(--uf-surface);
}

.emag-bulk-table .product-status
{
	min-width: 115px;
	justify-content: center;
}

[data-emag-bulk-actions] .dropdown-item,
[data-catalog-bulk-actions] .dropdown-item
{
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
}

[data-emag-bulk-actions] .dropdown-item svg,
[data-catalog-bulk-actions] .dropdown-item svg
{
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.category-mapping-summary
{
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin-bottom: 20px;
	font-size: 12px;
	color: var(--uf-muted);
}

.category-mapping-summary span
{
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
}

.category-mapping-summary strong
{
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--uf-ink);
}

.category-mapping-summary-mapped strong
{
	color: #15803d;
}

.category-mapping-summary-unmapped strong
{
	color: #be123c;
}

.emag-status-toggle
{
	width: 100px;
	height: 28px;
	gap: 7px;
	padding: 4px 9px;
	border-radius: 5px;
	font-size: 11px;
	line-height: 1;
	white-space: nowrap;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.emag-status-toggle::before
{
	content: "";
	width: 6px;
	height: 6px;
	flex: 0 0 6px;
	border-radius: 50%;
	background: currentColor;
}

.emag-status-toggle::after
{
	margin-left: auto;
	opacity: 0.65;
}

.emag-status-toggle:hover,
.emag-status-toggle[aria-expanded="true"]
{
	border-color: currentColor;
}

.emag-status-toggle:focus-visible
{
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.emag-status-toggle:disabled
{
	cursor: wait;
	opacity: 0.7;
}

.emag-status-menu
{
	min-width: 170px;
	padding: 5px;
	border: 1px solid var(--uf-line);
	border-radius: 6px;
	box-shadow: 0 6px 20px rgb(0 0 0 / 10%);
}

.emag-status-menu .dropdown-item
{
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 34px;
	padding: 7px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
}

.emag-status-menu .dropdown-item svg
{
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
}

.emag-status-menu [data-status="inactive"]
{
	color: #be123c;
}

.emag-status-menu [data-status="inactive"]:hover,
.emag-status-menu [data-status="inactive"]:focus
{
	background: #fff1f2;
}

.emag-status-menu [data-status="active"]
{
	color: #15803d;
}

.emag-status-menu [data-status="active"]:hover,
.emag-status-menu [data-status="active"]:focus
{
	background: #f0fdf4;
}

.product-status-error
{
	background: #fff1f2;
	border-color: #fecdd3;
	color: #be123c;
}

.product-status-pending
{
	background: #fffbeb;
	border-color: #fde68a;
	color: #a16207;
	min-width: 92px;
	justify-content: center;
	white-space: nowrap;
}

.product-status-new
{
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.integration-status-error-icon
{
	width: 14px;
	height: 14px;
	margin-left: 5px;
	color: #dc2626;
	stroke-width: 2.5;
}

.product-id-prefix
{
	font-weight: inherit;
}

.integration-product-meta
{
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 4px;
}

.empty-state
{
	display: flex;
	min-height: 280px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 14px;
	padding: 40px 20px;
	color: var(--uf-muted);
	text-align: center;
}

.empty-state > svg
{
	width: 32px;
	height: 32px;
}

.empty-state h3
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 16px;
}

.worklist-price-input
{
	width: 105px;
	min-width: 90px;
	text-align: right;
}

.worklist-final-price-control
{
	display: flex;
	min-width: 105px;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.worklist-final-price-control small
{
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

.worklist-percent-limit
{
	display: flex;
	min-width: 105px;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.worklist-percent-limit small
{
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

.worklist-stock-input
{
	width: 72px;
	min-width: 72px;
	text-align: center;
}

.worklist-metadata-input
{
	width: 150px;
	min-width: 120px;
	transition: border-color 140ms ease, box-shadow 140ms ease;
}

.worklist-product-name-input
{
	width: 340px;
	min-width: 260px;
}

.worklist-brand-input
{
	width: 220px;
	min-width: 180px;
}

.worklist-find-replace
{
	display: grid;
	grid-template-columns: minmax(74px, 1fr) 22px minmax(86px, 1fr) 34px;
	width: 220px;
	height: 36px;
	align-items: center;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	transition: border-color 140ms ease, box-shadow 140ms ease;
}

.worklist-find-replace-name
{
	width: 340px;
}

.worklist-find-replace .form-control,
.worklist-find-replace .btn
{
	height: 34px;
	min-height: 34px;
}

.worklist-find-replace .form-control
{
	min-width: 0;
	padding: 6px 9px;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: 12px;
}

.worklist-find-replace .form-control:focus
{
	background: #f8fafc;
	box-shadow: none;
}

.worklist-find-replace-arrow
{
	display: inline-flex;
	width: 22px;
	height: 34px;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
}

.worklist-find-replace-arrow svg
{
	width: 13px;
	height: 13px;
}

.worklist-find-replace .btn
{
	display: inline-flex;
	width: 34px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-width: 0 0 0 1px;
	border-color: #cbd5e1;
	border-radius: 0;
}

.worklist-find-replace .btn svg
{
	width: 14px;
	height: 14px;
}

.worklist-find-replace-saving .form-control
{
	background: #f8fafc;
}

.worklist-find-replace:focus-within
{
	border-color: #94a3b8;
	box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.14);
}

.worklist-find-replace-error
{
	border-color: #dc2626;
	box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.worklist-metadata-input.worklist-field-saving
{
	border-color: #94a3b8;
}

.worklist-metadata-input.worklist-field-saved
{
	border-color: #16a34a;
	box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.12);
}

.worklist-metadata-input.worklist-field-error
{
	border-color: #dc2626;
	box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.worklist-margin-control
{
	display: grid;
	grid-template-columns: 30px 64px 30px;
	width: 124px;
}

.worklist-margin-control .btn
{
	display: inline-flex;
	width: 30px;
	height: 36px;
	min-height: 36px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 0;
}

.worklist-margin-control .btn:first-child
{
	border-radius: 4px 0 0 4px;
}

.worklist-margin-control .btn:last-child
{
	border-radius: 0 4px 4px 0;
}

.worklist-margin-control .btn svg
{
	width: 14px;
	height: 14px;
}

.worklist-margin-control .worklist-price-input
{
	width: 64px;
	min-width: 64px;
	height: 36px;
	min-height: 36px;
	padding-right: 7px;
	padding-left: 7px;
	border-right: 0;
	border-left: 0;
	border-radius: 0;
	text-align: center;
}

.cronjob-output
{
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	max-width: 100%;
	max-height: 50vh;
	overflow: auto;
	font-size: 12px;
	margin: 12px 0 0;
}

.settings-cronjobs-table
{
	min-width: 1718px;
	table-layout: fixed;
}

.settings-cronjobs-table th:first-child
{
	width: 184px;
}

.settings-cronjobs-table th:nth-child(4)
{
	width: 164px;
}

.settings-cronjobs-table th:nth-child(5)
{
	width: 160px;
}

.settings-cronjobs-table th:last-child
{
	width: 54px;
}

.settings-cronjobs-table th:nth-child(4),
.settings-cronjobs-table td:nth-child(4) code
{
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
}

.cronjob-run-button
{
	white-space: nowrap;
}

.cronjob-run-button svg
{
	width: 14px;
	height: 14px;
}

.cronjob-command
{
	max-width: 680px;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

.cronjob-command input.form-control
{
	min-width: 0;
	height: 30px;
	font-family: monospace;
	font-size: 11px;
	line-height: 1.5;
}

.cronjob-command .btn-icon
{
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	padding: 6px;
}

.cronjob-command .btn-icon svg
{
	width: 14px;
	height: 14px;
}

.worklist-table
{
	font-size: 10px;
	line-height: 1.25;
}

.worklist-table > :not(caption) > * > *
{
	padding: 7px 6px;
}

.worklist-table thead th
{
	font-size: 8px;
}

.worklist-table .product-thumb
{
	width: 38px;
	height: 38px;
	padding: 2px;
}

.worklist-product-cell
{
	min-width: 150px;
	max-width: 240px;
	white-space: normal;
}

.worklist-code-cell
{
	max-width: 105px;
	word-break: break-word;
}

.worklist-brand-cell
{
	max-width: 95px;
	word-break: break-word;
}

.worklist-table th:nth-child(4),
.worklist-table td:nth-child(4)
{
	width: 110px;
}

.worklist-table .worklist-filter-input[data-worklist-filter="brand"]
{
	width: 100%;
	min-width: 38px;
	max-width: 95px;
}

.worklist-category-cell
{
	min-width: 110px;
	max-width: 170px;
}

.worklist-table .worklist-metadata-input
{
	width: 112px;
	min-width: 96px;
	height: 30px;
	min-height: 30px;
	padding: 5px 6px;
	font-size: 10px;
}

.worklist-table .worklist-price-input
{
	width: 76px;
	min-width: 68px;
	height: 30px;
	min-height: 30px;
	padding: 5px 6px;
	font-size: 10px;
}

.worklist-table .worklist-percent-limit
{
	min-width: 76px;
}

.worklist-table .worklist-final-price-control
{
	min-width: 76px;
}

.worklist-table .worklist-final-price-control small
{
	font-size: 9px;
}

.worklist-table .worklist-percent-limit small
{
	font-size: 9px;
}

.worklist-table .worklist-margin-control
{
	grid-template-columns: 24px 48px 24px;
	width: 96px;
}

.worklist-table .worklist-margin-control .btn
{
	width: 24px;
	height: 30px;
	min-height: 30px;
}

.worklist-table .worklist-margin-control .worklist-price-input
{
	width: 48px;
	min-width: 48px;
	height: 30px;
	min-height: 30px;
}

.worklist-table .worklist-filter-input
{
	min-width: 76px;
	height: 30px;
	min-height: 30px;
	padding: 5px 6px;
}

.worklist-table .worklist-bulk-markup
{
	width: 96px;
	flex-wrap: nowrap;
}

.worklist-table .worklist-bulk-markup .form-control,
.worklist-table .worklist-bulk-markup .btn
{
	flex: 0 0 30px;
	width: 30px;
	min-width: 30px;
	height: 30px;
	min-height: 30px;
	padding: 2px;
}

.worklist-table .worklist-bulk-markup .form-control
{
	flex-basis: 66px;
	width: 66px;
	min-width: 66px;
	font-size: 10px;
	text-align: center;
}

.worklist-table .worklist-bulk-markup .btn svg
{
	width: 14px;
	height: 14px;
}

@media(max-width: 1199px)
{
	.worklist-table > :not(caption) > * > *
	{
		padding: 5px 4px;
	}

	.worklist-table thead th
	{
		line-height: 1.15;
		white-space: normal;
	}

	.worklist-product-cell
	{
		min-width: 135px;
		max-width: 180px;
	}

	.worklist-image-column
	{
		display: none;
	}

	.worklist-category-cell
	{
		min-width: 95px;
		max-width: 130px;
	}
}

@media(max-width: 767px)
{
	.worklist-table .worklist-metadata-input,
	.worklist-table .worklist-price-input,
	.worklist-table .worklist-filter-input,
	.worklist-table .worklist-margin-control .btn,
	.worklist-table .worklist-margin-control .worklist-price-input
	{
		height: 36px;
		min-height: 36px;
	}
}

.worklist-tabs
{
	display: flex;
	gap: 0;
	padding: 0 20px;
	background: #ffffff;
	border-bottom: 1px solid var(--uf-line);
}

.bundle-summary-grid
{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 4px;
}

.bundle-summary-card
{
	display: flex;
	min-height: 86px;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border: 1px solid var(--uf-line);
	border-left: 4px solid var(--uf-accent);
	border-radius: 6px;
	background: #ffffff;
	box-shadow: var(--uf-shadow);
}

.bundle-summary-card span
{
	color: var(--uf-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.bundle-summary-card strong
{
	color: var(--uf-ink);
	font-size: 28px;
}

.bundle-summary-card-warning
{
	border-left-color: #d97706;
}

.bundle-editor-card,
.bundle-pairing-card
{
	height: calc(100% - 16px);
}

.bundle-form-lead
{
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	align-items: flex-end;
	gap: 18px;
	margin-bottom: 18px;
	padding: 14px;
	border: 1px solid #dbe7f4;
	border-radius: 10px;
	background: #f7fbff;
}

.bundle-form-lead p
{
	margin: 0 0 5px;
	color: var(--uf-muted);
	font-size: 12px;
	line-height: 1.55;
}

.bundle-items
{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bundle-item-row
{
	display: grid;
	grid-template-columns: minmax(0, 1fr) 82px 38px;
	align-items: center;
	gap: 8px;
}

.bundle-item-row > .form-control
{
	text-align: center;
}

.bundle-pairing-note
{
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0;
	padding: 12px 14px;
	border-radius: 9px;
	background: #eef6ff;
	color: #315678;
	font-size: 12px;
	line-height: 1.5;
}

.bundle-pairing-note svg
{
	width: 17px;
	min-width: 17px;
	height: 17px;
	margin-top: 1px;
}

.bundle-component-stack
{
	display: flex;
	min-width: 280px;
	max-width: 440px;
	flex-direction: column;
	gap: 5px;
}

.bundle-list-header
{
	padding-top: 14px;
	padding-bottom: 14px;
}

.bundle-table
{
	min-width: 1040px;
}

.bundle-table thead th
{
	padding-top: 10px;
	padding-bottom: 10px;
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.bundle-table tbody td
{
	padding-top: 13px;
	padding-bottom: 13px;
	vertical-align: top;
}

.bundle-product-cell
{
	min-width: 270px;
	max-width: 360px;
}

.bundle-product-heading
{
	display: flex;
	align-items: flex-start;
	gap: 7px;
	line-height: 1.35;
}

.bundle-product-heading strong
{
	font-size: 12px;
}

.bundle-product-id
{
	flex: 0 0 auto;
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 600;
}

.bundle-product-meta
{
	display: flex;
	flex-wrap: wrap;
	gap: 3px 8px;
	margin-top: 6px;
	color: var(--uf-muted);
	font-size: 10px;
}

.bundle-product-meta span + span
{
	position: relative;
	padding-left: 8px;
}

.bundle-product-meta span + span::before
{
	position: absolute;
	left: 0;
	content: '·';
}

.bundle-product-footer
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 8px;
	color: var(--uf-muted);
	font-size: 10px;
}

.bundle-created-by
{
	display: block;
	font-size: 11px;
	white-space: nowrap;
}

.bundle-component-stack > span
{
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 6px;
	font-size: 11px;
}

.bundle-component-stack small
{
	color: var(--uf-muted);
	font-size: 10px;
	white-space: nowrap;
}

.bundle-row-actions
{
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	min-width: 150px;
	padding-left: 10px;
	border-left: 1px solid var(--uf-line);
	white-space: nowrap;
}

.bundle-table code
{
	color: #315678;
	font-size: 11px;
}

.bundle-error-status
{
	display: inline-block;
	cursor: help;
	text-decoration: underline dotted;
	text-underline-offset: 3px;
}

.bundle-error-tooltip .tooltip-inner
{
	max-width: 420px;
	text-align: left;
	white-space: normal;
}

@media(max-width: 991px)
{
	.bundle-summary-grid
	{
		grid-template-columns: 1fr;
	}

	.bundle-summary-card
	{
		min-height: 68px;
	}
}

@media(max-width: 575px)
{
	.bundle-form-lead
	{
		grid-template-columns: 1fr;
	}

	.bundle-item-row
	{
		grid-template-columns: minmax(0, 1fr) 72px 38px;
	}
}

.worklist-tab
{
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	color: var(--uf-muted);
	border-bottom: 2px solid transparent;
	font-size: 12px;
	font-weight: 600;
}

.worklist-tab:hover,
.worklist-tab.active
{
	color: var(--uf-ink);
	border-bottom-color: var(--uf-blue);
	text-decoration: none;
}

.worklist-tab img
{
	width: 42px;
	height: 22px;
	object-fit: contain;
}

.category-mapping-warning
{
	display: inline-flex;
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
	margin-left: 6px;
	color: #a16207;
	vertical-align: middle;
}

.category-mapping-warning:hover
{
	color: #854d0e;
}

.category-mapping-warning svg
{
	width: 16px;
	height: 16px;
}

.altex-attribute-set-control
{
	display: grid;
	grid-template-columns: minmax(0, 1fr) 38px;
	gap: 8px;
	align-items: center;
}

.altex-attribute-set-link
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
}

.altex-attribute-set-link svg
{
	width: 16px;
	height: 16px;
}

.quick-category-mapping-dialog
{
	max-width: 720px;
}

#quick_category_mapping_modal .modal-content
{
	border-top: 3px solid #dc2626;
}

#quick_category_mapping_modal .modal-body
{
	padding: 0;
}

#quick_category_mapping_modal .modal-footer
{
	background: #f8fafc;
}

.quick-mapping-flow
{
	display: grid;
	grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
	align-items: stretch;
	padding: 22px;
	background: #f8fafc;
	border-bottom: 1px solid var(--uf-line);
}

.quick-mapping-endpoint
{
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
	padding: 14px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 6px;
}

.quick-mapping-endpoint > div
{
	min-width: 0;
}

.quick-mapping-endpoint strong,
.quick-mapping-endpoint small
{
	display: block;
}

.quick-mapping-endpoint strong
{
	margin-top: 3px;
	color: var(--uf-ink);
	font-size: 13px;
}

.quick-mapping-endpoint small
{
	margin-top: 4px;
	color: var(--uf-muted);
	font-size: 10px;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
}

.quick-mapping-icon
{
	display: inline-flex;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	align-items: center;
	justify-content: center;
	background: var(--uf-accent-soft);
	border-radius: 5px;
	color: var(--uf-accent-dark);
}

.quick-mapping-icon svg
{
	width: 17px;
	height: 17px;
}

.quick-mapping-target img
{
	width: 48px;
	height: 28px;
	object-fit: contain;
}

.quick-mapping-arrow
{
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--uf-muted);
}

.quick-mapping-arrow svg
{
	width: 14px;
	height: 14px;
}

.quick-mapping-selection
{
	padding: 22px;
}

.quick-mapping-selection-heading
{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.quick-mapping-selection .form-label
{
	display: block;
	margin: 3px 0 0 !important;
	color: var(--uf-ink);
	font-size: 14px;
}

#quick_category_mapping_modal .select2-container
{
	width: 100% !important;
}

.worklist-row-dirty > td
{
	background: #fffbeb !important;
}

.worklist-pricing-saved > td
{
	background: #f0fdf4 !important;
}

.worklist-pricing-error > td
{
	background: #fef2f2 !important;
}

.worklist-bulk-row > td
{
	background: #f8fafc !important;
	border-bottom: 2px solid var(--uf-line-strong);
}

.worklist-bulk-row > td:first-child
{
	color: var(--uf-muted);
	font-size: 11px;
	text-align: right;
}

.worklist-filter-row > td
{
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	background: #ffffff !important;
	border-bottom: 1px solid var(--uf-line);
}

.worklist-bulk-pricing
{
	display: grid;
	padding: 10px 12px;
	grid-template-columns: minmax(220px, 1fr) minmax(210px, 260px) minmax(250px, 300px);
	align-items: end;
	gap: 10px;
	border-bottom: 1px solid var(--uf-line);
	background: #f8fafc;
}

.worklist-bulk-pricing-copy
{
	display: flex;
	flex-direction: column;
}

.worklist-bulk-pricing-copy strong
{
	color: var(--uf-ink);
	font-size: 12px;
}

.worklist-bulk-pricing-copy small
{
	margin-top: 2px;
	color: var(--uf-muted);
	font-size: 10px;
}

.worklist-bulk-pricing-control label
{
	display: block;
	margin-bottom: 4px;
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 600;
}

.worklist-bulk-pricing-control .form-control,
.worklist-bulk-pricing-control .btn
{
	height: 32px;
	min-height: 32px;
	font-size: 11px;
}

@media(max-width: 991px)
{
	.worklist-bulk-pricing
	{
		grid-template-columns: 1fr 1fr;
	}

	.worklist-bulk-pricing-copy
	{
		grid-column: 1 / -1;
	}
}

@media(max-width: 575px)
{
	.worklist-bulk-pricing
	{
		grid-template-columns: 1fr;
	}

	.worklist-bulk-pricing-copy
	{
		grid-column: auto;
	}
}

.worklist-filter-input
{
	min-width: 92px;
	height: 34px;
	min-height: 34px;
	padding: 6px 8px;
	font-size: 11px;
}

.filter-actions
{
	display: grid;
	grid-template-columns: repeat(2, 36px);
	gap: 6px;
}

.filter-actions .btn
{
	width: 36px;
	padding: 8px;
}

.table-sort
{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: inherit;
	white-space: nowrap;
}

.table-sort:hover,
.table-sort.active
{
	color: var(--uf-accent);
}

.table-sort svg
{
	width: 13px;
	height: 13px;
}

.channel-mark
{
	width: 34px;
	height: 22px;
	padding: 3px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 4px;
	object-fit: contain;
}

.stock-value
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 26px;
	padding: 0 7px;
	background: var(--uf-surface-soft);
	border: 1px solid var(--uf-line);
	border-radius: 4px;
	font-family: "Inter", sans-serif;
	font-size: 10px;
	font-weight: 600;
}

.integration-value
{
	display: inline-block;
	font-variant-numeric: tabular-nums;
	min-width: 86px;
	white-space: nowrap;
}

.integration-value-mismatch
{
	color: #dc2626;
	font-weight: 700;
}

.settings-layout
{
	justify-content: center;
	padding-top: 8px;
}

.settings-workspace
{
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	align-items: start;
	gap: 24px;
	width: 100%;
	max-width: 1320px;
	margin: 8px auto 0;
}

.settings-section-nav
{
	position: sticky;
	top: 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
}

.settings-section-nav .section-kicker
{
	margin: 0 8px 7px;
}

.settings-section-nav a
{
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 10px;
	border-radius: 5px;
	color: #000000;
	font-size: 12px;
	font-weight: 500;
}

.settings-section-nav a:hover,
.settings-section-nav a:focus
{
	background: var(--uf-accent-soft);
	color: var(--uf-accent-dark);
	text-decoration: none;
}

.settings-section-nav svg
{
	width: 17px;
	height: 17px;
}

.settings-nav-logo
{
	display: grid;
	place-items: center;
	flex: 0 0 48px;
	width: 48px;
	height: 28px;
	padding: 4px 6px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 4px;
}

.settings-nav-logo img
{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.settings-nav-logo.settings-nav-logo-source
{
	background: #f8fafc;
	color: var(--uf-muted);
}

.settings-nav-logo.settings-nav-logo-source svg
{
	width: 18px;
	height: 18px;
}

.settings-nav-wordmark
{
	color: #202b5b;
	font-size: 10px;
	font-weight: 700;
}

.settings-section-nav a span
{
	min-width: 0;
}

.settings-section-nav a .settings-validation-check
{
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-left: auto;
	color: #16834b;
	stroke-width: 2;
}

.settings-sections
{
	min-width: 0;
}

.settings-sections .settings-page
{
	max-width: none;
}

.settings-sections [id]
{
	scroll-margin-top: 16px;
}

.settings-page
{
	display: block;
	width: 100%;
	max-width: 920px;
	margin: 8px auto 0;
}

.settings-page-header
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	margin-bottom: 14px;
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
}

.settings-page-header h2
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 16px;
	font-weight: 700;
}

.settings-form-surface
{
	display: block;
	width: 100%;
	min-height: 330px;
	background: #ffffff;
	border: 1px solid var(--uf-line-strong);
	border-radius: 7px;
	overflow: hidden;
}

#general-settings .settings-form-surface
{
	min-height: 0;
}

.data-panel .table-action .btn-icon
{
	width: 28px;
	height: 28px;
	min-width: 28px;
	padding: 5px;
}

.data-panel .table-action .btn-icon svg
{
	width: 15px;
	height: 15px;
}

.settings-form-heading
{
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 74px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--uf-line);
}

.settings-form-heading h3
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 14px;
	font-weight: 700;
}

.settings-fields
{
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	padding: 24px 20px 28px;
}

.settings-fields-emag
{
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-fields-columns
{
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-field-wide
{
	grid-column: 1 / -1;
}

.settings-field
{
	display: block;
	width: 100%;
}

.settings-field .form-control
{
	display: block;
	width: 100%;
	min-height: 42px;
}

.settings-field .form-text
{
	display: block;
	margin-top: 7px;
	color: var(--uf-muted);
	font-size: 10px;
	line-height: 1.45;
}

.settings-form-footer
{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 66px;
	padding: 14px 20px;
	background: #fafbfa;
	border-top: 1px solid var(--uf-line);
}

.settings-form-footer-split
{
	justify-content: space-between;
}

.emag-test-status
{
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 20px 20px;
	padding: 12px;
	border: 1px solid var(--uf-line);
	border-radius: 5px;
}

.emag-test-status svg
{
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
}

.emag-test-status div,
.emag-test-status span
{
	display: block;
}

.emag-test-status strong
{
	color: var(--uf-ink);
	font-size: 12px;
}

.emag-test-status span
{
	margin-top: 3px;
	color: var(--uf-muted);
	font-size: 10px;
}

.emag-test-status-ok
{
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #15803d;
}

.emag-test-status-error
{
	background: #fff7ed;
	border-color: #fed7aa;
	color: #c2410c;
}

.settings-bnr-status.is-empty
{
	background: #fafbfa;
	color: var(--uf-muted);
}

.settings-summary
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
}

.settings-summary h2
{
	margin: 0;
	font-size: 16px;
	font-weight: 700;
}

.settings-panel
{
	min-height: 0;
}

.settings-panel-title
{
	display: flex;
	align-items: center;
	gap: 12px;
}

.settings-icon
{
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	background: #f1f5f9;
	border-radius: 5px;
	color: var(--uf-muted);
}

.settings-icon svg
{
	width: 17px;
	height: 17px;
}

.settings-integration-logo
{
	display: grid;
	place-items: center;
	width: 52px;
	height: 36px;
	padding: 5px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 5px;
}

.settings-integration-logo img
{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.settings-page-actions
{
	display: flex;
	justify-content: flex-end;
	margin-top: 18px;
	padding: 16px 0;
}

.settings-copy-form
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 0 24px 24px;
	padding: 16px 18px;
	background: #f8fafc;
	border: 1px solid var(--uf-line);
	border-radius: 6px;
}

.settings-copy-form > div
{
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.settings-copy-form strong
{
	color: #111827;
	font-size: 13px;
	font-weight: 600;
}

.settings-copy-form span
{
	color: var(--uf-muted);
	font-size: 12px;
}

.settings-copy-form .btn
{
	flex: 0 0 auto;
}

.emag-offer-metrics
{
	display: flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.emag-offer-badge
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	padding: 4px 7px;
	border-radius: 4px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.emag-offer-rank-leading
{
	background: #16834b;
}

.emag-offer-rank-behind
{
	background: #dc2626;
}

.emag-offer-count
{
	background: #64748b;
}

.emag-hotness-super-hot
{
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.emag-hotness-hot
{
	background: #fff7ed;
	border-color: #fed7aa;
	color: #c2410c;
}

.emag-hotness-standard
{
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.emag-hotness-cold
{
	background: #ecfeff;
	border-color: #a5f3fc;
	color: #0e7490;
}

.emag-hotness-super-cold
{
	background: #eef2ff;
	border-color: #c7d2fe;
	color: #4338ca;
}

.source-process-list
{
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--uf-line-strong);
	border-radius: 7px;
	overflow: hidden;
}

.source-process-row
{
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-height: 92px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--uf-line);
}

.source-process-row:last-child
{
	border-bottom: 0;
}

.source-process-content
{
	min-width: 0;
}

.source-process-content h3
{
	margin: 0 0 4px;
	color: var(--uf-ink);
	font-size: 13px;
	font-weight: 700;
}

.source-process-content p,
.source-process-content small
{
	display: block;
	margin: 0;
	color: var(--uf-muted);
	font-size: 11px;
}

.source-process-content small
{
	margin-top: 6px;
}

.source-process-content small span
{
	margin-left: 8px;
}

.import-workspace
{
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 1040px;
	margin: 8px auto 0;
}

.import-header
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 22px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
}

.import-header h2
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 18px;
	font-weight: 700;
}

.import-metrics
{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.import-metric
{
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 104px;
	padding: 18px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
}

.import-metric span
{
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 700;
}

.import-metric strong
{
	color: var(--uf-ink);
	font-size: 25px;
	line-height: 1;
}

.import-console
{
	padding: 22px;
	background: #ffffff;
	border: 1px solid var(--uf-line-strong);
	border-radius: 7px;
}

.import-console-heading
{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.import-console-heading h3
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 15px;
	font-weight: 700;
}

.import-percentage
{
	color: var(--uf-accent);
	font-size: 20px;
	font-weight: 700;
}

.import-progress
{
	height: 10px;
	margin: 22px 0 14px;
	background: #e8edf3;
	border-radius: 4px;
	overflow: hidden;
}

.import-progress span
{
	display: block;
	width: 0;
	height: 100%;
	background: var(--uf-accent);
	transition: width 180ms ease;
}

.import-runtime
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: var(--uf-muted);
	font-size: 11px;
}

.import-error
{
	margin-top: 16px;
	padding: 11px 12px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 5px;
	color: #9a3412;
	font-size: 12px;
}

.import-actions
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid var(--uf-line);
}

.settings-footer
{
	display: flex;
	justify-content: flex-end;
	padding: 14px 20px;
	background: #fafbfa;
	border-top: 1px solid var(--uf-line);
}

.status-line-muted
{
	color: var(--uf-muted);
}

.product-editor
{
	padding-top: 4px;
}

.header-title,
.card-title
{
	color: var(--uf-ink);
	font-size: 14px;
	font-weight: 700;
}

.btn
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 36px;
	padding: 8px 13px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 700;
	box-shadow: none !important;
	letter-spacing: 0;
}

.btn svg
{
	width: 15px;
	height: 15px;
}

.btn-primary
{
	background: var(--uf-accent);
	border-color: var(--uf-accent);
	color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus
{
	background: var(--uf-accent-dark);
	border-color: var(--uf-accent-dark);
}

.btn-success
{
	background: var(--uf-blue);
	border-color: var(--uf-blue);
}

.btn-success:hover,
.btn-success:focus
{
	background: #255cc7;
	border-color: #255cc7;
}

.btn-light,
.btn-secondary
{
	background: var(--uf-surface);
	border-color: var(--uf-line-strong);
	color: var(--uf-ink);
}

.btn-light:hover,
.btn-secondary:hover
{
	background: var(--uf-surface-soft);
	border-color: #aeb9b1;
	color: var(--uf-ink);
}

.btn-danger
{
	background: var(--uf-coral);
	border-color: var(--uf-coral);
}

.btn.worklist-remove-button
{
	display: inline-flex;
	width: 26px;
	height: 26px;
	min-height: 26px;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: #fff1f2;
	border: 1px solid #fecdd3;
	border-radius: 4px;
	color: #be123c;
}

.btn.worklist-remove-button:hover,
.btn.worklist-remove-button:focus
{
	background: #ffe4e6;
	border-color: #fda4af;
	color: #9f1239;
}

.btn.worklist-remove-button .worklist-remove-icon
{
	display: block;
	width: 14px;
	height: 14px;
	fill: none;
	stroke: #be123c;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	visibility: visible;
}

.btn.worklist-remove-button:hover .worklist-remove-icon,
.btn.worklist-remove-button:focus .worklist-remove-icon
{
	stroke: #9f1239;
}

.btn.worklist-filter-reset
{
	display: inline-flex;
	width: 30px;
	height: 30px;
	min-height: 30px;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	color: #475569;
}

.btn.worklist-filter-reset:hover,
.btn.worklist-filter-reset:focus
{
	background: #e2e8f0;
	border-color: #94a3b8;
	color: #334155;
}

.btn.worklist-filter-reset .worklist-filter-reset-icon
{
	display: block;
	width: 14px;
	height: 14px;
	fill: none;
	stroke: #475569;
	stroke-width: 2;
	stroke-linecap: round;
	visibility: visible;
}

.btn.worklist-filter-reset:hover .worklist-filter-reset-icon,
.btn.worklist-filter-reset:focus .worklist-filter-reset-icon
{
	stroke: #334155;
}

.btn-info
{
	background: var(--uf-cyan);
	border-color: var(--uf-cyan);
	color: #ffffff;
}

.btn-group > .btn
{
	border-radius: 5px;
}

.dropdown-menu
{
	padding: 6px;
	border: 1px solid var(--uf-line);
	border-radius: 6px;
	box-shadow: var(--uf-shadow);
}

.dropdown-item
{
	padding: 9px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

.dropdown-item:hover
{
	background: var(--uf-accent-soft);
	color: var(--uf-accent-dark);
}

.form-label
{
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	margin-bottom: 6px !important;
}

.form-control,
.form-select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.select2-container--classic .select2-selection--single,
.select2-container--classic .select2-selection--multiple
{
	min-height: 38px;
	background-color: #ffffff;
	border: 1px solid var(--uf-line-strong);
	border-radius: 5px;
	color: var(--uf-ink);
	font-size: 12px;
	box-shadow: none;
}

.form-control,
.form-select
{
	padding: 8px 10px;
}

.form-control:focus,
.form-select:focus
{
	background-color: #ffffff;
	border-color: var(--uf-accent);
	box-shadow: 0 0 0 3px rgba(20, 125, 100, 0.12);
}

.form-control[readonly],
.form-control:disabled
{
	background: var(--uf-surface-soft);
	color: var(--uf-muted);
}

.form-check-input
{
	width: 17px;
	height: 17px;
	margin-top: 0;
	border-color: var(--uf-line-strong);
}

.form-check-input:checked
{
	background-color: var(--uf-accent);
	border-color: var(--uf-accent);
}

label.required
{
	position: relative;
}

label.required:after
{
	content: "*";
	color: var(--uf-coral);
	margin-left: 3px;
}

textarea.form-control
{
	min-height: 90px;
}

.input-has-error
{
	border-color: var(--uf-coral);
}

.table
{
	width: 100%;
	margin: 0;
	color: var(--uf-ink);
	font-size: 11px;
	vertical-align: middle;
}

.table > :not(caption) > * > *
{
	padding: 11px 10px;
	border-bottom-color: var(--uf-line);
	box-shadow: none;
}

.table thead th
{
	position: sticky;
	top: 0;
	z-index: 3;
	background: #f5f7fa !important;
	color: #637069;
	font-family: "Inter", sans-serif;
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0;
	white-space: nowrap;
	border-top: 1px solid var(--uf-line);
	border-bottom: 1px solid var(--uf-line-strong);
}

.table tbody tr
{
	background: #ffffff;
	transition: background-color 120ms ease;
}

.table tbody tr:hover
{
	background: #f8fafc;
}

.table tbody tr:hover td,
.table tbody tr:hover th
{
	background: transparent !important;
}

.table td a
{
	font-weight: 600;
}

.table td img
{
	object-fit: contain;
	border-radius: 4px;
}

.table-responsive,
.card-body:has(> form > .table),
.card-body:has(> .table)
{
	overflow-x: auto;
}

.badge
{
	padding: 5px 7px;
	border-radius: 5px;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
}

.bg-success
{
	background-color: var(--uf-accent) !important;
}

.bg-warning
{
	background-color: var(--uf-amber) !important;
	color: #ffffff;
}

.bg-danger
{
	background-color: var(--uf-coral) !important;
}

.bg-light
{
	background-color: var(--uf-surface-soft) !important;
}

.text-warning
{
	color: var(--uf-amber) !important;
}

.text-danger
{
	color: var(--uf-coral) !important;
}

.pagination
{
	gap: 4px;
}

.page-link
{
	min-width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--uf-line);
	border-radius: 5px !important;
	color: var(--uf-ink);
	font-size: 11px;
}

.active > .page-link
{
	background: var(--uf-accent);
	border-color: var(--uf-accent);
}

.modal-content
{
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	box-shadow: 0 18px 48px rgba(16, 24, 20, 0.16);
	overflow: hidden;
}

.modal-header,
.modal-footer
{
	border-color: var(--uf-line);
	padding: 16px 18px;
}

.modal-body
{
	padding: 20px;
}

.modal-title
{
	color: var(--uf-ink);
	font-size: 15px;
	font-weight: 700;
}

#loader_overlay
{
	position: absolute;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(238, 241, 237, 0.86);
	backdrop-filter: blur(3px);
}

body.loading #loader_overlay
{
	display: flex;
}

.loader-spinner-wrap
{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 700;
}

.loader_spinner,
.loading-spinner,
#calendar_loader
{
	width: 34px;
	height: 34px;
	border: 3px solid #d8dee7;
	border-top-color: var(--uf-accent);
	border-radius: 50%;
	animation: uf-spin 700ms linear infinite;
}

@keyframes uf-spin
{
	to
	{
		transform: rotate(360deg);
	}
}

.dashboard-shell
{
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.dashboard-operations
{
	gap: 18px;
}

.dashboard-intro-actions
{
	display: flex;
	align-items: center;
	gap: 8px;
}

.dashboard-intro-actions .btn span
{
	font-weight: 700;
}

.dashboard-section
{
	background: #fff;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	overflow: hidden;
}

.dashboard-section-heading
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 66px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--uf-line);
}

.dashboard-section-heading h3
{
	margin: 2px 0 0;
	font-size: 15px;
	font-weight: 700;
}

.panel-link
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
}

.panel-link svg
{
	width: 14px;
	height: 14px;
}

.marketplace-grid
{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketplace-card
{
	min-width: 0;
	padding: 18px;
	border-right: 1px solid var(--uf-line);
}

.marketplace-card:last-child
{
	border-right: 0;
}

.marketplace-card header,
.marketplace-card footer
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.marketplace-card header img
{
	display: block;
	max-width: 82px;
	height: 30px;
	object-fit: contain;
	object-position: left center;
}

.connection-state
{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 700;
}

.connection-state svg
{
	width: 14px;
	height: 14px;
}

.connection-state-ok
{
	color: #16834b;
}

.connection-state-warning
{
	color: #a86808;
}

.connection-state-error
{
	color: #bd3434;
}

.connection-state-off
{
	color: #7d8792;
}

.marketplace-card-total
{
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--uf-line);
	border-bottom: 1px solid var(--uf-line);
}

.marketplace-card-total span,
.marketplace-stat-grid span
{
	color: var(--uf-muted);
	font-size: 11px;
}

.marketplace-card-total strong
{
	font-size: 24px;
	line-height: 1;
}

.marketplace-stat-grid
{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 14px 0;
}

.marketplace-stat-grid div
{
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.marketplace-stat-grid strong
{
	font-size: 16px;
}

.marketplace-card footer
{
	padding-top: 12px;
	border-top: 1px solid var(--uf-line);
	color: var(--uf-muted);
	font-size: 10px;
}

.marketplace-card footer a
{
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
}

.marketplace-card footer svg
{
	width: 13px;
	height: 13px;
}

.dashboard-detail-grid
{
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
	gap: 18px;
}

.inventory-facts
{
	display: flex;
	gap: 24px;
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid var(--uf-line);
	color: var(--uf-muted);
	font-size: 11px;
}

.inventory-facts strong
{
	color: var(--uf-ink);
}

.connection-list
{
	display: flex;
	flex-direction: column;
}

.connection-list > div
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 42px;
	border-bottom: 1px solid var(--uf-line);
	font-size: 12px;
}

.connection-list > div:last-child
{
	border-bottom: 0;
}

.cron-status-list
{
	display: flex;
	flex-direction: column;
}

.cron-status-row
{
	display: grid;
	grid-template-columns: minmax(320px, 1fr) 120px 100px 90px;
	align-items: center;
	gap: 16px;
	min-height: 58px;
	padding: 9px 18px;
	border-bottom: 1px solid var(--uf-line);
}

.cron-status-row:last-child
{
	border-bottom: 0;
}

.cron-status-row > div
{
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.cron-status-row code
{
	color: var(--uf-ink);
	font-size: 11px;
	font-weight: 700;
}

.cron-status-row > div span,
.cron-schedule,
.cron-last-run
{
	color: var(--uf-muted);
	font-size: 10px;
}

.cron-schedule
{
	font-family: monospace;
}

.recent-runs .table
{
	font-size: 11px;
}

.dashboard-result
{
	max-width: 420px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ops-dashboard
{
	gap: 14px;
}

.ops-dashboard-header
{
	display: flex;
	min-height: 82px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
}

.ops-dashboard-header h2
{
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 700;
}

.ops-dashboard-header p
{
	margin: 0;
	color: var(--uf-muted);
	font-size: 11px;
}

.ops-dashboard-actions
{
	display: flex;
	align-items: center;
	gap: 8px;
}

.ops-dashboard-actions .btn span
{
	font-weight: 800;
}

.ops-summary-grid
{
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	background: #fff;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	overflow: hidden;
}

.ops-summary-item
{
	display: flex;
	min-width: 0;
	min-height: 104px;
	align-items: flex-start;
	gap: 12px;
	padding: 17px;
	color: var(--uf-ink);
	border-right: 1px solid var(--uf-line);
}

.ops-summary-item:last-child
{
	border-right: 0;
}

.ops-summary-item:hover
{
	background: #f8fafc;
	color: var(--uf-ink);
	text-decoration: none;
}

.ops-summary-icon
{
	display: grid;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	place-items: center;
	background: #f1f5f9;
	border-radius: 5px;
	color: #64748b;
}

.ops-summary-icon svg
{
	width: 16px;
	height: 16px;
}

.ops-summary-item > span:last-child
{
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.ops-summary-item small,
.ops-summary-item em
{
	color: var(--uf-muted);
	font-size: 10px;
	font-style: normal;
}

.ops-summary-item strong
{
	margin: 5px 0 3px;
	font-size: 24px;
	line-height: 1;
}

.ops-summary-item.has-warning .ops-summary-icon
{
	background: #fff7ed;
	color: #b45309;
}

.ops-summary-item.has-info .ops-summary-icon
{
	background: #eff6ff;
	color: #2563eb;
}

.ops-summary-item.has-danger .ops-summary-icon
{
	background: #fef2f2;
	color: #c2413b;
}

.ops-dashboard-primary-grid
{
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
	gap: 14px;
}

.dashboard-section-heading > div > span
{
	display: block;
	margin-top: 3px;
	color: var(--uf-muted);
	font-size: 10px;
}

.ops-attention-list
{
	max-height: 388px;
	overflow-y: auto;
}

.ops-attention-row
{
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) 16px;
	min-height: 62px;
	align-items: center;
	gap: 12px;
	padding: 10px 18px;
	color: var(--uf-ink);
	border-bottom: 1px solid var(--uf-line);
}

.ops-attention-row:last-child
{
	border-bottom: 0;
}

.ops-attention-row:hover
{
	background: #f8fafc;
	color: var(--uf-ink);
	text-decoration: none;
}

.ops-attention-row > svg
{
	width: 15px;
	height: 15px;
	color: var(--uf-muted);
}

.ops-attention-row > span:nth-child(2)
{
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.ops-attention-row strong
{
	font-size: 12px;
}

.ops-attention-row small
{
	color: var(--uf-muted);
	font-size: 10px;
}

.ops-attention-icon
{
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	background: #f1f5f9;
	border-radius: 5px;
	color: #64748b;
}

.ops-attention-icon svg
{
	width: 15px;
	height: 15px;
}

.ops-attention-row.is-error .ops-attention-icon
{
	background: #fef2f2;
	color: #c2413b;
}

.ops-attention-row.is-warning .ops-attention-icon
{
	background: #fff7ed;
	color: #b45309;
}

.ops-attention-row.is-info .ops-attention-icon
{
	background: #eff6ff;
	color: #2563eb;
}

.ops-all-clear
{
	display: flex;
	min-height: 220px;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 30px;
	color: #16834b;
}

.ops-all-clear > svg
{
	width: 24px;
	height: 24px;
}

.ops-all-clear div
{
	display: flex;
	flex-direction: column;
}

.ops-all-clear span
{
	color: var(--uf-muted);
	font-size: 10px;
}

.ops-inventory-total
{
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 18px 4px;
}

.ops-inventory-panel
{
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.ops-inventory-total span
{
	color: var(--uf-muted);
	font-size: 11px;
}

.ops-inventory-total strong
{
	font-size: 26px;
}

.stock-breakdown.ops-stock-breakdown
{
	flex: 1;
	gap: 16px;
	padding: 14px 18px 18px;
}

.ops-inventory-panel footer
{
	display: flex;
	margin-top: auto;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 18px;
	background: #f8fafc;
	border-top: 1px solid var(--uf-line);
	color: var(--uf-muted);
	font-size: 10px;
}

.ops-channels-table
{
	min-width: 980px;
	font-size: 11px;
}

.ops-channels-table > :not(caption) > * > *
{
	padding: 11px 14px;
	vertical-align: middle;
}

.ops-channel-name
{
	display: grid;
	grid-template-columns: 8px 58px minmax(70px, 1fr);
	align-items: center;
	gap: 9px;
}

.ops-channel-name img
{
	width: 54px;
	height: 24px;
	object-fit: contain;
	object-position: left center;
}

.ops-channel-health
{
	width: 8px;
	height: 8px;
	background: #22a35a;
	border-radius: 50%;
}

.ops-channel-health.is-warning
{
	background: #d28a13;
}

.ops-channel-health.is-error
{
	background: #c94a45;
}

.ops-sync-cell
{
	display: flex;
	width: 130px;
	flex-direction: column;
	gap: 5px;
}

.ops-sync-cell > span
{
	color: var(--uf-muted);
	font-size: 10px;
}

.ops-sync-cell > div
{
	height: 4px;
	background: #e5e7eb;
	border-radius: 2px;
	overflow: hidden;
}

.ops-sync-cell > div i
{
	display: block;
	height: 100%;
	background: #22a35a;
}

.ops-table-count
{
	display: inline-flex;
	min-width: 28px;
	height: 24px;
	align-items: center;
	justify-content: center;
	padding: 0 7px;
	background: #f1f5f9;
	border-radius: 4px;
	color: var(--uf-ink);
	font-weight: 700;
}

.ops-table-count.is-warning
{
	background: #fff7ed;
	color: #a85d08;
}

.ops-table-count.is-info
{
	background: #eff6ff;
	color: #1d4ed8;
}

.ops-table-count.is-danger
{
	background: #fef2f2;
	color: #b93834;
}

.ops-last-sync
{
	color: var(--uf-muted);
	white-space: nowrap;
}

.ops-empty-row
{
	padding: 28px;
	color: var(--uf-muted);
	text-align: center;
}

.ops-dashboard-secondary-grid
{
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
	gap: 14px;
}

.ops-nightly-list
{
	display: flex;
	flex-direction: column;
}

.ops-nightly-row
{
	display: grid;
	grid-template-columns: minmax(150px, 1fr) 150px 90px;
	min-height: 54px;
	align-items: center;
	gap: 14px;
	padding: 9px 18px;
	border-bottom: 1px solid var(--uf-line);
}

.ops-nightly-row:last-child
{
	border-bottom: 0;
}

.ops-nightly-row > div
{
	display: flex;
	align-items: center;
	gap: 10px;
}

.ops-nightly-row img
{
	width: 48px;
	height: 22px;
	object-fit: contain;
}

.ops-nightly-row > span:nth-child(2)
{
	color: var(--uf-muted);
	font-size: 10px;
}

.ops-connection-list
{
	padding: 0 18px;
}

.ops-recent-section .table
{
	min-width: 760px;
	font-size: 11px;
}

@media (max-width: 1199px)
{
	.ops-summary-grid
	{
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ops-summary-item:nth-child(3)
	{
		border-right: 0;
	}

	.ops-summary-item:nth-child(n+4)
	{
		border-top: 1px solid var(--uf-line);
	}

	.ops-dashboard-primary-grid,
	.ops-dashboard-secondary-grid
	{
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px)
{
	.ops-dashboard-header
	{
		align-items: stretch;
		flex-direction: column;
	}

	.ops-dashboard-actions
	{
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.ops-summary-grid
	{
		grid-template-columns: 1fr 1fr;
	}

	.ops-summary-item,
	.ops-summary-item:nth-child(3)
	{
		border-right: 1px solid var(--uf-line);
		border-top: 1px solid var(--uf-line);
	}

	.ops-summary-item:nth-child(even)
	{
		border-right: 0;
	}

	.ops-summary-item:first-child,
	.ops-summary-item:nth-child(2)
	{
		border-top: 0;
	}

	.ops-summary-item:last-child
	{
		grid-column: 1 / -1;
	}

	.ops-nightly-row
	{
		grid-template-columns: 1fr auto;
	}

	.ops-nightly-row > span:nth-child(2)
	{
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.ops-inventory-panel footer
	{
		flex-direction: column;
	}
}

.reservation-summary-grid
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.reservation-summary-item
{
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 3px 12px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	color: var(--uf-ink);
}

.reservation-summary-item:hover,
.reservation-summary-item.active
{
	border-color: var(--uf-accent);
	text-decoration: none;
}

.reservation-summary-item > div,
.reservation-integration
{
	display: flex;
	align-items: center;
	gap: 8px;
}

.reservation-summary-item img,
.reservation-integration img
{
	width: 28px;
	height: 20px;
	object-fit: contain;
}

.reservation-summary-item svg,
.reservation-integration svg
{
	width: 17px;
	height: 17px;
}

.reservation-summary-item span,
.reservation-integration
{
	font-size: 12px;
	font-weight: 700;
}

.reservation-summary-item strong
{
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	font-size: 22px;
}

.reservation-summary-item small
{
	color: var(--uf-muted);
	font-size: 10px;
}

.reservation-matrix th,
.reservation-matrix td
{
	white-space: nowrap;
}

.reservation-matrix th:first-child,
.reservation-matrix td:first-child
{
	min-width: 280px;
	white-space: normal;
}

.reservation-column-heading
{
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.reservation-column-heading img,
.reservation-column-heading svg
{
	width: 24px;
	height: 18px;
	object-fit: contain;
}

.reservation-amount span
{
	color: #a0a9b2;
}

.reservation-amount.has-reservation
{
	background: #f0fdf4;
	color: #166534;
}

.reservation-total-column
{
	border-left: 2px solid var(--uf-line-strong) !important;
	background: var(--uf-surface-soft) !important;
}

@media(max-width: 1199px)
{
	.marketplace-grid
	{
		grid-template-columns: 1fr;
	}

	.marketplace-card
	{
		border-right: 0;
		border-bottom: 1px solid var(--uf-line);
	}

	.marketplace-card:last-child
	{
		border-bottom: 0;
	}

	.cron-status-row
	{
		grid-template-columns: minmax(260px, 1fr) 110px 90px 75px;
	}
}

@media(max-width: 767px)
{
	.dashboard-intro-actions,
	.dashboard-detail-grid
	{
		width: 100%;
	}

	.dashboard-intro-actions .btn
	{
		flex: 1 1 0;
		justify-content: center;
	}

	.dashboard-detail-grid
	{
		grid-template-columns: 1fr;
	}

	.cron-status-row
	{
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 6px 12px;
		padding: 12px 14px;
	}

	.cron-schedule,
	.cron-last-run
	{
		display: none;
	}

	.dashboard-section-heading,
	.marketplace-card
	{
		padding-left: 14px;
		padding-right: 14px;
	}
}

.dashboard-intro
{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 26px;
	background: #ffffff;
	color: var(--uf-ink);
	border: 1px solid var(--uf-line);
	border-left: 4px solid var(--uf-accent);
	border-radius: 7px;
}

.section-kicker
{
	display: block;
	color: var(--uf-accent);
	margin-bottom: 7px;
}

.dashboard-intro .section-kicker
{
	color: var(--uf-muted);
}

.dashboard-intro h2
{
	max-width: 620px;
	margin: 0;
	color: var(--uf-ink);
	font-size: 23px;
	line-height: 1.35;
	font-weight: 650;
}

.metric-grid
{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.metric-card
{
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-height: 132px;
	padding: 18px;
	background: var(--uf-surface);
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	overflow: hidden;
}

.metric-card:after
{
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 3px;
	background: var(--uf-line-strong);
}

.metric-card-primary:after
{
	background: var(--uf-accent);
}

.metric-card-warning:after
{
	background: var(--uf-amber);
}

.metric-card-danger:after
{
	background: var(--uf-coral);
}

.metric-icon
{
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 5px;
	background: #f1f5f9;
	color: #64748b;
}

.metric-icon-cyan
{
	background: #f1f5f9;
	color: #64748b;
}

.metric-icon-amber
{
	background: #f1f5f9;
	color: #64748b;
}

.metric-icon-coral
{
	background: #f1f5f9;
	color: #64748b;
}

.metric-icon svg
{
	width: 17px;
	height: 17px;
}

.metric-content
{
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.metric-content > span
{
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 700;
}

.metric-content strong
{
	margin: 6px 0 4px;
	color: var(--uf-ink);
	font-family: "Inter", sans-serif;
	font-size: 25px;
	line-height: 1;
}

.metric-content small
{
	color: var(--uf-subtle);
	font-size: 10px;
}

.operations-grid
{
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
	gap: 14px;
}

.operation-panel
{
	display: flex;
	flex-direction: column;
	min-height: 286px;
	padding: 22px;
	background: var(--uf-surface);
	border: 1px solid var(--uf-line);
	border-radius: 7px;
}

.operation-panel-header
{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--uf-line);
}

.operation-panel h3,
.exception-strip h3
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 15px;
	font-weight: 700;
}

.data-chip
{
	padding: 6px 8px;
	background: var(--uf-surface-soft);
	border: 1px solid var(--uf-line);
	border-radius: 4px;
	color: var(--uf-muted);
	white-space: nowrap;
}

.stock-breakdown
{
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 26px 0;
}

.stock-row-label
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 9px;
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 700;
}

.stock-row-label span
{
	display: flex;
	align-items: center;
	gap: 8px;
}

.stock-row-label strong
{
	color: var(--uf-ink);
	font-family: "Inter", sans-serif;
}

.stock-dot
{
	width: 8px;
	height: 8px;
	border-radius: 2px;
}

.stock-dot-warehouse,
.stock-fill-warehouse
{
	background: #3b82f6;
}

.stock-dot-supplier,
.stock-fill-supplier
{
	background: #94a3b8;
}

.stock-dot-reserved,
.stock-fill-reserved
{
	background: #f59e0b;
}

.stock-track
{
	height: 8px;
	background: #edf1f5;
	border-radius: 3px;
	overflow: hidden;
}

.stock-fill
{
	display: block;
	height: 100%;
	min-width: 0;
	border-radius: 3px;
	transition: width 400ms ease;
}

.channel-logo
{
	width: 82px;
	height: 30px;
	object-fit: contain;
}

.channel-stats
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin: 24px 0;
	background: var(--uf-line);
	border: 1px solid var(--uf-line);
	border-radius: 5px;
	overflow: hidden;
}

.channel-stats > div
{
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 15px 12px;
	background: var(--uf-surface-soft);
}

.channel-stats span
{
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 700;
}

.channel-stats strong
{
	color: var(--uf-ink);
	font-family: "Inter", sans-serif;
	font-size: 21px;
}

.operation-footer
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid var(--uf-line);
	font-size: 11px;
	font-weight: 700;
}

.operation-footer a,
.exception-item
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.operation-footer svg
{
	width: 14px;
	height: 14px;
}

.status-line
{
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--uf-muted);
}

.status-line svg
{
	width: 15px;
	height: 15px;
}

.status-line-ok
{
	color: var(--uf-accent);
}

.status-line-warning
{
	color: var(--uf-amber);
}

.exception-strip
{
	display: grid;
	grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(130px, 0.6fr));
	align-items: stretch;
	background: var(--uf-surface);
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	overflow: hidden;
}

.exception-strip-title,
.exception-item
{
	padding: 18px 20px;
}

.exception-item
{
	justify-content: space-between;
	color: var(--uf-muted);
	border-left: 1px solid var(--uf-line);
	font-size: 11px;
	font-weight: 700;
}

.exception-item:hover
{
	background: var(--uf-surface-soft);
	color: var(--uf-accent-dark);
}

.exception-item strong
{
	color: var(--uf-ink);
	font-family: "Inter", sans-serif;
	font-size: 17px;
}

.login-shell
{
	background: #f4f6f9;
	border-top: 4px solid var(--uf-accent);
}

.login-shell > .container
{
	max-width: none;
	padding: 0;
}

.login-layout
{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 40px 24px;
}

.login-workspace
{
	width: min(100%, 420px);
}

.login-identity
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.login-logo
{
	width: 148px;
	height: auto;
}

.login-environment
{
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
}

.login-form-panel
{
	padding: 32px;
	background: #ffffff;
	border: 1px solid #dce2ea;
	border-radius: 7px;
	box-shadow: 0 8px 24px rgba(20, 35, 60, 0.06);
}

.login-form-heading
{
	margin-bottom: 26px;
}

.login-form-heading h1
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.25;
}

.login-form-heading p
{
	margin: 6px 0 0;
	color: var(--uf-muted);
	font-size: 12px;
}

.login-field
{
	margin-bottom: 18px;
}

.login-field .form-label
{
	margin-bottom: 7px;
	color: #344054;
	font-size: 11px;
	font-weight: 600;
}

.login-form-panel .form-control
{
	min-height: 44px;
	padding: 10px 12px;
	border-color: #cfd7e3;
	border-radius: 5px;
	font-size: 13px;
}

.login-form-panel .form-control:focus
{
	border-color: var(--uf-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.11);
}

.login-form-panel .btn
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	margin-top: 4px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 600;
}

.login-form-panel .btn svg
{
	width: 15px;
	height: 15px;
}

.login-footer
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 17px;
	color: #7a8699;
	font-size: 10px;
}

.login-status-dot
{
	width: 6px;
	height: 6px;
	background: #2f80ed;
	border-radius: 50%;
}

.dropzone.dz-clickable
{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 110px;
	background: var(--uf-surface-soft);
	border: 1px dashed #94a3b8;
	border-radius: 6px;
	color: var(--uf-muted);
}

.dropzone.dz-clickable:hover
{
	background: var(--uf-accent-soft);
	border-color: var(--uf-accent);
}

.sortable-image
{
	position: relative;
	width: 150px;
	height: 150px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 6px;
	cursor: grab;
}

.ui-sortable-placeholder
{
	width: 150px;
	height: 150px;
	background: var(--uf-surface-soft);
	border: 1px dashed var(--uf-line-strong);
	border-radius: 6px;
}

.delete-image
{
	position: absolute;
	inset: auto 0 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 7px;
	background: rgba(20, 25, 23, 0.88);
	color: #ff8d80;
	font-size: 10px;
	font-weight: 700;
}

.image-control:hover .delete-image
{
	display: flex;
}

.masonry-grid
{
	column-count: 6;
	column-gap: 10px;
}

.masonry-item
{
	break-inside: avoid;
	margin-bottom: 10px;
}

.masonry-item img
{
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--uf-line);
	border-radius: 6px;
}

.select2-container
{
	display: block;
	max-width: 100%;
	line-height: normal;
	vertical-align: top;
}

.select2-container--default .select2-selection--single,
.select2-container--classic .select2-selection--single
{
	display: flex;
	align-items: center;
	position: relative;
	height: 38px !important;
	min-height: 38px !important;
	background: #ffffff;
	background-image: none !important;
	border: 1px solid var(--uf-line-strong);
	border-radius: 5px;
	box-sizing: border-box;
	overflow: hidden;
	padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--classic .select2-selection--single .select2-selection__rendered
{
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 64px 0 10px;
	color: var(--uf-ink);
	font-size: 12px;
	line-height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container--classic .select2-selection--single .select2-selection__placeholder
{
	color: #94a3b8;
}

.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--classic .select2-selection--single .select2-selection__arrow
{
	position: absolute;
	top: 0;
	right: 0;
	width: 34px;
	height: 100% !important;
	background: var(--uf-surface-soft);
	background-image: none !important;
	border-left: 1px solid var(--uf-line);
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	border-radius: 0 4px 4px 0;
	box-sizing: border-box;
}

.select2-container--default .select2-selection--single .select2-selection__clear,
.select2-container--classic .select2-selection--single .select2-selection__clear
{
	position: absolute;
	right: 38px;
	top: 50%;
	color: var(--uf-muted);
	font-size: 15px;
	line-height: 1;
	transform: translateY(-50%);
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--classic.select2-container--focus .select2-selection--single,
.select2-container--classic.select2-container--open .select2-selection--single
{
	border-color: var(--uf-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.11);
}

.select2-container--default .select2-dropdown
{
	border-color: var(--uf-line-strong);
	box-shadow: 0 10px 24px rgba(20, 35, 60, 0.12);
}

.select2-search--dropdown .select2-search__field
{
	padding: 9px;
}

input[type="search"],
input[type="search"]:focus
{
	outline: none;
	outline-offset: 0;
}

.select2-container--default .select2-results__option
{
	padding: 8px 10px;
	font-size: 11px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected]
{
	background: var(--uf-accent);
}

.select2-container--classic .select2-results__option
{
	font-size: 11px;
}

.choices__inner
{
	min-height: 38px !important;
	padding: 5px 9px !important;
	background: #ffffff !important;
	border-color: var(--uf-line-strong) !important;
	border-radius: 5px !important;
}

.choices__list--multiple .choices__item
{
	background: var(--uf-blue) !important;
	border-color: var(--uf-blue) !important;
	border-radius: 4px !important;
}

tr.tr-checked
{
	background: var(--uf-blue-soft) !important;
	outline: 1px solid #b7c9ee;
}

tr.tr-checked > td
{
	background: var(--uf-blue-soft) !important;
}

.settings-toggle
{
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 1100;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	background: var(--uf-coral);
	color: #ffffff;
	border-radius: 5px;
}

@media(max-width: 1199px)
{
	.metric-grid
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.operations-grid
	{
		grid-template-columns: 1fr;
	}

	.exception-strip
	{
		grid-template-columns: 1fr 1fr 1fr;
	}

	.exception-strip-title
	{
		grid-column: 1 / -1;
		border-bottom: 1px solid var(--uf-line);
	}

	.exception-item:first-of-type
	{
		border-left: 0;
	}
}

@media(max-width: 991px)
{
	.settings-workspace
	{
		grid-template-columns: 1fr;
	}

	.settings-section-nav
	{
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.settings-section-nav .section-kicker
	{
		grid-column: 1 / -1;
	}

	.settings-copy-form
	{
		align-items: stretch;
		flex-direction: column;
	}

	.settings-copy-form .btn
	{
		width: 100%;
	}

	.navbar
	{
		padding: 12px 16px;
	}

	.system-state
	{
		display: none;
	}

	.workspace-scroll
	{
		--workspace-top:18px;
		--workspace-side:16px;
		padding:var(--workspace-top) var(--workspace-side) 48px;
	}

	.login-layout
	{
		padding: 32px 20px;
	}
}

@media(max-width: 767px)
{
	.quick-mapping-flow
	{
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 16px;
	}

	.quick-mapping-arrow
	{
		height: 24px;
		transform: rotate(90deg);
	}

	.quick-mapping-selection
	{
		padding: 18px 16px;
	}

	.data-panel-header
	{
		align-items: flex-start;
		flex-direction: column;
	}

	.data-panel-header-actions
	{
		width: 100%;
		justify-content: space-between;
	}

	.settings-fields-emag,
	.settings-fields-columns
	{
		grid-template-columns: 1fr;
	}

	.settings-field-wide
	{
		grid-column: auto;
	}

	.settings-form-footer-split
	{
		align-items: stretch;
		flex-direction: column;
	}

	.import-header,
	.import-runtime
	{
		align-items: flex-start;
		flex-direction: column;
	}

	.import-metrics
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.source-process-row
	{
		grid-template-columns: 36px minmax(0, 1fr);
	}

	.source-process-row form
	{
		grid-column: 1 / -1;
	}

	.source-process-row .btn
	{
		width: 100%;
	}

	.navbar
	{
		min-height: 72px;
	}

	.page-eyebrow
	{
		display: none;
	}

	.page-heading h1
	{
		font-size: 17px;
	}

	.navbar-actions
	{
		gap: 6px;
	}

	.page-actions .btn
	{
		min-width: 36px;
		padding: 8px 10px;
	}

	.workspace-scroll
	{
		height: calc(100vh - 72px);
	}

	.dashboard-intro
	{
		align-items: flex-start;
		flex-direction: column;
		padding: 20px;
	}

	.dashboard-intro h2
	{
		font-size: 19px;
	}

	.metric-grid
	{
		grid-template-columns: 1fr;
	}

	.metric-card
	{
		min-height: 108px;
	}

	.channel-stats
	{
		grid-template-columns: 1fr;
	}

	.exception-strip
	{
		grid-template-columns: 1fr;
	}

	.exception-strip-title
	{
		grid-column: auto;
	}

	.exception-item
	{
		border-left: 0;
		border-top: 1px solid var(--uf-line);
	}

	.operation-footer
	{
		align-items: flex-start;
		flex-direction: column;
	}

	.login-form-panel
	{
		padding: 26px 22px;
	}

	.table
	{
		font-size: 10px;
	}

	.card-body
	{
		padding: 15px;
	}
}

@media(max-width: 679px)
{
	table.is-responsive,
	table.is-responsive tbody,
	table.is-responsive tr,
	table.is-responsive td
	{
		display: block;
		width: 100%;
	}
	table.is-responsive thead
	{
		position: absolute;
		clip-path: inset(50%);
		width: 1px;
		height: 1px;
		overflow: hidden;
	}
	table.is-responsive td
	{
		padding: 8px;
		border-color: var(--uf-line);
		font-size: 11px;
		white-space: normal;
		overflow-wrap: anywhere;
	}
	table.is-responsive td[data-label]:not([data-label=""])::before
	{
		content: attr(data-label);
		display: inline-block;
		width: 32%;
		font-weight: 600;
	}
	table.is-responsive tr td:last-child
	{
		padding-bottom: 16px;
		border-bottom: 2px solid var(--uf-line-strong) !important;
	}
}

@media(prefers-reduced-motion: reduce)
{
	*,
	*:before,
	*:after
	{
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
.lost-products-table
{
	min-width: 1050px;
}

.lost-products-table .lost-products-selection
{
	width: 42px;
}

.lost-products-table .lost-products-image
{
	width: 64px;
}

.lost-products-table .lost-products-name
{
	min-width: 240px;
	max-width: 360px;
	overflow-wrap: anywhere;
}

.lost-products-table td:nth-child(4),
.lost-products-table td:nth-child(5)
{
	max-width: 180px;
	overflow-wrap: anywhere;
}

.lost-products-table td:nth-child(6),
.lost-products-table td:nth-child(7)
{
	white-space: nowrap;
}

.lost-products-table .integration-table-logo
{
	display: block;
	margin: 0 auto;
}

#lost_product_popup .modal-body
{
	min-height: 160px;
}

.lost-products-search {
	width: min(420px, 100%);
}

.integration-table-logo {
	display: block;
	max-width: 54px;
	max-height: 28px;
	object-fit: contain;
}
.cronjob-result {
	max-width: 320px;
}

.cronjob-table {
	table-layout: fixed;
	width: 100%;
}

.cronjob-table th,
.cronjob-table td {
	vertical-align: middle;
}

.cronjob-table th:nth-child(1),
.cronjob-table td:nth-child(1) {
	width: 15%;
}

.cronjob-table th:nth-child(2),
.cronjob-table td:nth-child(2) {
	width: 12%;
}

.cronjob-table th:nth-child(3),
.cronjob-table td:nth-child(3) {
	width: 8%;
}

.cronjob-table th:nth-child(4),
.cronjob-table td:nth-child(4) {
	width: 15%;
}

.cronjob-table th:nth-child(5),
.cronjob-table td:nth-child(5) {
	width: 17%;
}

.cronjob-table th:nth-child(6),
.cronjob-table td:nth-child(6) {
	width: 11%;
}

.cronjob-table th:nth-child(7),
.cronjob-table td:nth-child(7) {
	width: 8%;
}

.cronjob-table th:nth-child(8),
.cronjob-table td:nth-child(8) {
	width: 6%;
}

.cronjob-table th:nth-child(9),
.cronjob-table td:nth-child(9) {
	width: 4%;
}

.cronjob-table th:nth-child(10),
.cronjob-table td:nth-child(10) {
	width: 4%;
}

.cronjob-table td:nth-child(1),
.cronjob-table td:nth-child(4),
.cronjob-table td:nth-child(5) {
	overflow-wrap: anywhere;
}

.cronjob-table td:nth-child(3) code,
.cronjob-table td:nth-child(4) code {
	white-space: normal;
}

.pick-pack-statistics-cards {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}

.pick-pack-statistics-cards > div {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 15px 16px;
	border: 1px solid var(--uf-line);
	border-radius: 8px;
	background: var(--uf-surface);
	box-shadow: var(--uf-shadow);
}

.pick-pack-statistics-cards span {
	color: var(--uf-text-muted);
	font-size: 12px;
	font-weight: 600;
}

.pick-pack-statistics-cards strong {
	font-size: 24px;
	line-height: 1;
}

@media (max-width: 1100px) {
	.pick-pack-statistics-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.pick-pack-statistics-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cronjob-category-nav {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	margin-bottom: 20px;
	padding-bottom: 1px;
	overflow-x: auto;
}

.cronjob-category-nav .nav-link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 9px 13px;
	border: 1px solid var(--uf-line);
	border-radius: 6px;
	background: #ffffff;
	color: var(--uf-text-muted);
	font-weight: 600;
}

.cronjob-category-nav .nav-link:hover {
	border-color: #a9c3ee;
	color: var(--uf-accent);
}

.cronjob-category-nav .nav-link.active {
	border-color: var(--uf-accent);
	background: var(--uf-accent);
	color: #ffffff;
}

.cronjob-category-nav .nav-link svg {
	width: 16px;
	height: 16px;
}

.cronjob-category-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	background: #eef3fb;
	color: #34527a;
	font-size: 12px;
	font-weight: 700;
}

.cronjob-category-nav .nav-link.active .cronjob-category-count {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.cronjob-category-sections {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.cronjob-category-section {
	padding: 16px 18px 0;
	border: 1px solid var(--uf-line);
	border-radius: 8px;
	background: var(--uf-surface);
	box-shadow: var(--uf-shadow);
}

.cronjob-category-heading-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cronjob-category-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background: var(--uf-accent-soft);
	color: var(--uf-accent-dark);
}

.cronjob-category-icon svg {
	width: 16px;
	height: 16px;
}

.cronjob-category-section > .cronjob-category-heading .cronjob-category-count {
	background: var(--uf-accent-soft);
	color: var(--uf-accent-dark);
}

.cronjob-category-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 12px;
}

.cronjob-category-heading h2 {
	margin: 0 0 3px;
	font-size: 18px;
	line-height: 1.3;
}

.cronjob-category-heading p {
	margin: 0;
	color: var(--uf-text-muted);
	font-size: 13px;
}

.pending-products-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 16px;
	border: 1px solid var(--uf-line);
	border-radius: 6px;
	background: #ffffff;
}

.pending-products-summary > div {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 16px;
	border-right: 1px solid var(--uf-line);
}

.pending-products-summary > div:last-child {
	border-right: 0;
}

.pending-products-summary span {
	color: var(--uf-text-muted);
	font-size: 12px;
	font-weight: 600;
}

.pending-products-summary strong {
	color: var(--uf-ink);
	font-size: 18px;
}

.pending-product-name {
	display: block;
	min-width: 220px;
	max-width: 420px;
	line-height: 1.35;
}

.pending-product-category {
	min-width: 180px;
	max-width: 320px;
	color: var(--uf-text-muted);
	font-size: 12px;
}

.pending-product-result {
	min-width: 220px;
	max-width: 420px;
	color: var(--uf-text-muted);
	font-size: 12px;
	line-height: 1.45;
}

@media(max-width: 767px)
{
	.pending-products-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pending-products-summary > div:nth-child(2) {
		border-right: 0;
	}

	.pending-products-summary > div:nth-child(-n + 2) {
		border-bottom: 1px solid var(--uf-line);
	}
}

.cronjob-result > span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cronjob-response-content {
	min-height: 120px;
	border: 1px solid var(--uf-line);
	border-radius: 6px;
	background: #f8fafc;
	color: #172033;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.6;
	overflow: auto;
}

.cronjob-response-text {
	min-height: 118px;
	padding: 16px;
	font: inherit;
	white-space: pre-wrap;
	word-break: break-word;
}

.cronjob-json-table {
	width: 100%;
	background: #ffffff;
}

.cronjob-json-table > tbody > tr > th,
.cronjob-json-table > tbody > tr > td {
	padding: 9px 12px;
	border-color: var(--uf-line);
	vertical-align: top;
}

.cronjob-json-table > tbody > tr > th {
	width: 220px;
	background: #f8fafc;
	color: var(--uf-text-muted);
	font-size: 12px;
	font-weight: 700;
	word-break: break-word;
}

.cronjob-json-table .cronjob-json-table {
	border: 1px solid var(--uf-line);
	border-radius: 4px;
}

.cronjob-json-table .cronjob-json-table > tbody > tr > th {
	width: 170px;
}

.cronjob-json-scalar {
	white-space: pre-wrap;
	word-break: break-word;
}

.cronjob-json-boolean {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 1px 7px;
	border-radius: 4px;
	background: #e8f5ec;
	color: #20733a;
	font-size: 12px;
	font-weight: 700;
}

.cronjob-json-empty {
	color: var(--uf-text-muted);
	font-style: italic;
}

.lost-product-detail-title {
	display: flex;
	align-items: center;
	gap: 12px;
}

#lost_product_detail_modal .lost-product-detail-title
{
	margin-bottom: 16px;
}

#lost_product_detail_modal .lost-product-detail-title h3
{
	font-size: 16px;
	overflow-wrap: anywhere;
}

#lost_product_detail_modal .lost-product-match-summary strong,
#lost_product_detail_modal .marketplace-data-key
{
	overflow-wrap: anywhere;
}

@media(max-width: 767px)
{
	#lost_product_detail_modal .lost-product-match-summary
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#lost_product_detail_modal .lost-product-match-summary > div
	{
		padding: 12px;
	}
}

.lost-product-name-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--uf-accent);
	font: inherit;
	font-weight: 700;
	text-align: left;
}

.integration-product-name-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--uf-accent);
	font: inherit;
	text-align: left;
}
.integration-product-name-button:hover {
	text-decoration: underline;
}

.lost-product-name-button:hover {
	text-decoration: underline;
}

.lost-product-match-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--uf-line);
	border-bottom: 1px solid var(--uf-line);
}

.lost-product-match-summary > div {
	padding: 16px 18px;
	border-right: 1px solid var(--uf-line);
}

.lost-product-match-summary > div:last-child {
	border-right: 0;
}

.lost-product-match-summary span,
.lost-product-match-summary strong {
	display: block;
}

.lost-product-match-summary span {
	margin-bottom: 4px;
	color: var(--uf-muted);
	font-size: 11px;
}

.lost-product-api-payload {
	max-height: 680px;
	margin: 0;
	padding: 20px;
	overflow: auto;
	background: #111827;
	color: #dbeafe;
	font-size: 12px;
	line-height: 1.6;
	white-space: pre-wrap;
	word-break: break-word;
}

.marketplace-data-table-wrap {
	max-height: 520px;
	border-top: 1px solid var(--uf-line);
	border-bottom: 1px solid var(--uf-line);
}

.marketplace-data-table thead {
	position: sticky;
	top: 0;
	z-index: 1;
	background: var(--uf-surface-soft);
}

.marketplace-data-table th:first-child,
.marketplace-data-key {
	width: 34%;
}

.marketplace-data-key {
	color: var(--uf-muted);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 12px;
}

.marketplace-data-value {
	white-space: pre-wrap;
	word-break: break-word;
}

.integration-data-accordion {
	margin-top: 16px;
}

.integration-data-accordion .accordion-item {
	border-right: 0;
	border-left: 0;
	border-radius: 0;
}

.integration-data-accordion .accordion-button {
	padding: 14px 20px;
	font-size: 13px;
	font-weight: 700;
}

.lost-product-payload-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 12px;
}

.lost-product-payload-heading h3 {
	margin: 0;
	font-size: 15px;
}

.queue-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

.queue-page-subtitle {
	margin: 4px 0 0;
	color: var(--uf-muted);
	font-size: 12px;
}

.queue-toolbar {
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.queue-count-chip {
	white-space: nowrap;
}

.integration-queue-table {
	min-width: 920px;
}

.integration-queue-table th {
	white-space: nowrap;
}

.queue-product,
.queue-values {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.queue-product strong,
.queue-product small,
.queue-values strong,
.queue-values small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.queue-product strong {
	max-width: 300px;
}

.queue-product small,
.queue-values small,
.queue-date {
	color: var(--uf-muted);
	font-size: 11px;
}

.queue-update-type {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 5px;
	padding: 4px 7px;
	border: 1px solid var(--uf-line);
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
}

.queue-update-type svg {
	width: 13px;
	height: 13px;
}

.queue-update-type.is-stock {
	border-color: #bfdbfe;
	background: #eff6ff;
	color: #1d4ed8;
}

.queue-update-type.is-price {
	border-color: #fde68a;
	background: #fffbeb;
	color: #a16207;
}

.queue-retry-count {
	display: inline-flex;
	min-width: 28px;
	justify-content: center;
	padding: 3px 7px;
	border-radius: 4px;
	background: var(--uf-surface-muted);
	font-weight: 700;
}

.queue-summary-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 16px;
	padding: 18px;
	border: 1px solid var(--uf-line);
	border-radius: 8px;
	background: var(--uf-surface);
}

.queue-summary-identity,
.queue-integration,
.queue-live-status {
	display: flex;
	align-items: center;
}

.queue-summary-identity,
.queue-integration {
	gap: 9px;
}

.queue-summary-identity img,
.queue-integration img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.queue-summary-total {
	font-size: 22px;
	line-height: 28px;
}

.queue-summary-breakdown {
	display: flex;
	grid-column: 1 / -1;
	flex-wrap: wrap;
	gap: 6px 14px;
	color: var(--uf-muted);
	font-size: 12px;
}

.queue-summary-breakdown .has-errors,
.queue-error-cell.has-error {
	color: var(--uf-danger, #b42318);
}

.queue-live-status {
	gap: 6px;
	color: var(--uf-muted);
	font-size: 12px;
}

.queue-live-status > span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #12a150;
	box-shadow: 0 0 0 3px rgba(18, 161, 80, .12);
}

.queue-error-cell {
	max-width: 320px;
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.integration-queue-filter {
	width: 190px;
}

.integration-overview,
.integration-dashboard-section {
	border: 1px solid var(--uf-line);
	border-radius: 7px;
	background: var(--uf-surface);
	overflow: hidden;
}

.integration-overview-header {
	display: flex;
	min-height: 78px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 18px;
}

.integration-overview-identity {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 14px;
}

.integration-overview-logo {
	display: inline-flex;
	width: 104px;
	height: 46px;
	flex: 0 0 104px;
	align-items: center;
	justify-content: center;
	padding: 5px 8px;
	border: 1px solid var(--uf-line);
	border-radius: 5px;
	background: #ffffff;
}

.integration-overview-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.integration-overview-identity h2 {
	margin: 0 0 4px;
	font-size: 17px;
}

.integration-overview-identity > div > span,
.integration-overview-metric small,
.integration-overview-metric em,
.integration-reservation-state span,
.integration-reservation-note {
	color: var(--uf-muted);
	font-size: 11px;
}

.integration-overview-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--uf-line);
}

.integration-products-mini-stats {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.integration-products-mini-stat {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 58px;
	padding: 10px 12px;
	border: 1px solid var(--uf-line);
	border-radius: 8px;
	background: var(--uf-surface);
	color: var(--uf-ink);
	text-decoration: none;
}

.integration-products-mini-stat:hover {
	border-color: var(--uf-accent);
	background: var(--uf-surface-soft);
	color: var(--uf-ink);
	text-decoration: none;
}

.integration-products-mini-stat > span {
	display: inline-flex;
	flex: 0 0 30px;
	grid-row: 1 / span 2;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	background: var(--uf-accent-soft);
	color: var(--uf-accent-dark);
}

.integration-products-mini-stat > span svg {
	width: 15px;
	height: 15px;
}

.integration-products-mini-stat small {
	flex: 1 1 auto;
	margin: 0;
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
}

.integration-products-mini-stat strong {
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 20px;
	line-height: 1;
	white-space: nowrap;
}

.integration-products-mini-stat-paused > span {
	background: #f1f2f4;
	color: #667085;
}

.integration-products-mini-stat-price > span {
	background: #fff0e6;
	color: #b54708;
}

.integration-products-mini-stat-stock > span {
	background: #eaf4ff;
	color: #175cd3;
}

.integration-products-mini-stat-documentation > span {
	background: #f0eaff;
	color: #6941c6;
}

@media (max-width: 1100px) {
	.integration-products-mini-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.integration-products-mini-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.integration-overview-metric {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 16px 18px;
	border-right: 1px solid var(--uf-line);
	color: var(--uf-ink);
}

.integration-overview-metric:last-child {
	border-right: 0;
}

.integration-overview-metric:hover {
	background: var(--uf-surface-soft);
	color: var(--uf-ink);
	text-decoration: none;
}

.integration-metric-icon,
.integration-link-icon,
.integration-reservation-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--uf-accent-soft);
	border-radius: 5px;
	color: var(--uf-accent-dark);
}

.integration-metric-icon {
	width: 34px;
	height: 34px;
}

.integration-metric-icon svg {
	width: 16px;
	height: 16px;
}

.integration-overview-metric small,
.integration-overview-metric strong,
.integration-overview-metric em {
	display: block;
}

.integration-overview-metric strong {
	margin: 3px 0;
	font-size: 23px;
	line-height: 1;
}

.integration-overview-metric em {
	font-style: normal;
}

.integration-overview-metric.has-errors strong,
.integration-overview-metric.has-errors .integration-metric-icon {
	color: #b42318;
}

.integration-dashboard-section {
	height: 100%;
}

.integration-dashboard-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
	gap: 18px;
	align-items: stretch;
}

.integration-dashboard-section-header {
	display: flex;
	min-height: 66px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 18px;
	border-bottom: 1px solid var(--uf-line);
}

.integration-dashboard-section-header span {
	display: block;
	margin-bottom: 2px;
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.integration-dashboard-section-header h2 {
	margin: 0;
	font-size: 15px;
}

.integration-dashboard-section-header > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
}

.integration-dashboard-section-header > a svg {
	width: 13px;
	height: 13px;
}

.integration-dashboard-links > a {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto 16px;
	align-items: center;
	gap: 12px;
	min-height: 67px;
	padding: 12px 18px;
	border-bottom: 1px solid var(--uf-line);
	color: var(--uf-ink);
}

.integration-dashboard-links > a:last-child {
	border-bottom: 0;
}

.integration-dashboard-links > a:hover {
	background: var(--uf-surface-soft);
	text-decoration: none;
}

.integration-link-icon {
	width: 36px;
	height: 36px;
}

.integration-link-icon svg {
	width: 17px;
	height: 17px;
}

.integration-dashboard-links > a > svg {
	width: 15px;
	height: 15px;
	color: var(--uf-muted);
}

.integration-dashboard-links strong,
.integration-dashboard-links small {
	display: block;
}

.integration-link-value {
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.integration-dashboard-links small {
	margin-top: 3px;
	color: var(--uf-muted);
	font-size: 11px;
}

.integration-reservation-state {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 26px 20px 22px;
}

.integration-reservation-icon {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
}

.integration-reservation-icon svg {
	width: 20px;
	height: 20px;
}

.integration-reservation-state > div > strong,
.integration-reservation-state > div > span {
	display: block;
}

.integration-reservation-state > div > strong {
	font-size: 30px;
	line-height: 1;
}

.integration-reservation-state > div > span {
	margin-top: 5px;
}

.integration-reservation-note {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 20px 20px;
	padding: 10px 11px;
	border: 1px solid var(--uf-line);
	border-radius: 5px;
	background: var(--uf-surface-soft);
}

.integration-reservation-note svg {
	width: 14px;
	height: 14px;
}

.integration-dashboard-footer-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-top: 1px solid var(--uf-line);
	font-size: 12px;
	font-weight: 700;
}

.integration-dashboard-footer-link svg {
	width: 15px;
	height: 15px;
}

.integration-orders-result {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 15px;
	border: 1px solid #bbf7d0;
	border-radius: 7px;
	background: #f0fdf4;
	color: #166534;
}

.integration-orders-result strong {
	font-size: 12px;
}

.integration-orders-result span {
	color: #3f6f50;
	font-size: 11px;
	font-weight: 600;
}

.orders-shell
{
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px 0 36px;
}

.orders-page-header
{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.orders-page-header h2
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 18px;
	font-weight: 700;
}

.orders-page-header p
{
	margin: 5px 0 0;
	color: var(--uf-muted);
	font-size: 12px;
}

.orders-summary-grid
{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: var(--uf-surface);
	border: 1px solid var(--uf-line);
	border-radius: 6px;
}

.orders-marketplace-grid
{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.orders-dashboard-date-filter
{
	display: flex;
	align-items: flex-end;
	gap: 8px;
	margin-bottom: 12px;
}

.orders-dashboard-date-filter label
{
	margin-bottom: 5px;
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 600;
}

.orders-dashboard-date-filter input
{
	width: 170px;
}

.orders-dashboard-date-filter button
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.orders-dashboard-date-filter svg
{
	width: 14px;
	height: 14px;
}

.orders-marketplace-card
{
	display: block;
	padding: 16px;
	color: var(--uf-ink);
	background: var(--uf-surface);
	border: 1px solid var(--uf-line);
	border-radius: 6px;
	text-decoration: none;
}

.orders-marketplace-card > header
{
	margin-bottom: 16px;
}

.orders-marketplace-heading
{
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--uf-ink);
	text-decoration: none;
}

.orders-marketplace-heading:hover
{
	color: var(--uf-accent-dark);
}

.orders-marketplace-logo
{
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--uf-line);
	border-radius: 5px;
}

.orders-marketplace-logo img
{
	max-width: 25px;
	max-height: 25px;
}

.orders-marketplace-card > header strong
{
	font-size: 14px;
}

.orders-marketplace-metrics
{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.orders-marketplace-metric
{
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 8px;
	color: var(--uf-ink);
	border-radius: 5px;
	text-decoration: none;
}

.orders-marketplace-metric:hover
{
	color: var(--uf-accent-dark);
	background: var(--uf-accent-soft);
}

.orders-marketplace-metrics small
{
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 600;
}

.orders-marketplace-metrics b
{
	font-size: 20px;
}

.orders-summary-item
{
	display: grid;
	grid-template-columns: 34px 1fr auto;
	align-items: center;
	gap: 11px;
	min-width: 0;
	padding: 15px 16px;
	color: var(--uf-ink);
	border-right: 1px solid var(--uf-line);
	text-decoration: none;
}

.orders-summary-item:last-child
{
	border-right: 0;
}

.orders-summary-item:nth-child(3n)
{
	border-right: 0;
}

.orders-summary-item:nth-child(-n+3)
{
	border-bottom: 1px solid var(--uf-line);
}

.orders-summary-item:hover
{
	background: var(--uf-accent-soft);
	color: var(--uf-accent-dark);
}

.orders-summary-item > span
{
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	background: var(--uf-accent-soft);
	color: var(--uf-accent-dark);
	border-radius: 5px;
}

.orders-summary-item svg
{
	width: 16px;
	height: 16px;
}

.orders-summary-item small
{
	color: var(--uf-muted);
	font-size: 11px;
	font-weight: 600;
}

.orders-summary-item strong
{
	font-size: 22px;
	font-weight: 700;
}

.orders-data-panel
{
	min-height: 360px;
	background: var(--uf-surface);
	border: 1px solid var(--uf-line);
	border-radius: 6px;
}

.orders-data-heading
{
	display: flex;
	height: 64px;
	align-items: center;
	gap: 11px;
	padding: 0 18px;
	border-bottom: 1px solid var(--uf-line);
}

.orders-data-heading > span
{
	display: inline-flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	background: var(--uf-accent-soft);
	color: var(--uf-accent-dark);
	border-radius: 5px;
}

.orders-data-heading svg
{
	width: 15px;
	height: 15px;
}

.orders-data-heading h3,
.orders-data-heading small
{
	display: block;
}

.orders-data-heading h3
{
	margin: 0;
	color: var(--uf-ink);
	font-size: 13px;
	font-weight: 700;
}

.orders-data-heading small
{
	margin-top: 3px;
	color: var(--uf-muted);
	font-size: 10px;
}

.orders-heading-link
{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-left: auto;
	color: var(--uf-accent-dark);
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
}

.orders-heading-link svg
{
	width: 13px;
	height: 13px;
}

.orders-filter-panel
{
	padding: 14px;
	background: var(--uf-surface);
	border: 1px solid var(--uf-line);
	border-radius: 6px;
}

.orders-filter-form
{
	display: grid;
	grid-template-columns: minmax(260px, 2fr) repeat(7, minmax(105px, 1fr)) 38px 38px;
	align-items: end;
	gap: 10px;
}

.orders-filter-field
{
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 5px;
}

.orders-filter-field label
{
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
}

.orders-filter-field .form-control,
.orders-filter-field .form-select
{
	height: 38px;
	font-size: 12px;
}

.orders-table th,
.orders-items-table th
{
	white-space: nowrap;
}

.orders-table td
{
	padding-top: 14px;
	padding-bottom: 14px;
}

.orders-channel-heading,
.orders-channel-cell
{
	width: 58px;
	text-align: center;
}

.orders-select-cell
{
	width: 42px;
	text-align: center;
}

.orders-select-checkbox
{
	display: block;
	width: 18px;
	height: 18px;
	margin: 0 auto;
	accent-color: var(--uf-accent);
}

.orders-channel-cell .channel-mark
{
	width: 40px;
	height: 28px;
}

.orders-channel-fallback
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 28px;
	padding: 0 5px;
	background: #f4f4f5;
	border: 1px solid var(--uf-line);
	border-radius: 4px;
	color: var(--uf-muted);
	font-size: 9px;
	font-weight: 600;
}

.orders-document-cell
{
	min-width: 112px;
}

.packing-documents-modal
{
	border: 0;
	border-radius: 12px;
	box-shadow: 0 28px 80px rgba(20, 27, 24, .28);
}

.packing-documents-modal .modal-header,
.packing-documents-modal .modal-footer
{
	padding: 16px 24px;
	border-color: #e2e5e3;
}

.packing-documents-modal .modal-header span,
.packing-documents-order span,
.packing-documents-order small
{
	display: block;
	color: #66716c;
	font-size: 13px;
}

.packing-documents-modal .modal-header h2
{
	margin: 2px 0 0;
	font-size: 25px;
}

.packing-documents-modal .modal-body
{
	padding: 22px 24px;
}

.packing-documents-modal .modal-body > p
{
	margin: 18px 0;
	color: #66716c;
}

.packing-documents-order
{
	padding: 14px 16px;
	border-left: 4px solid #287a57;
	background: #f2f6f4;
}

.packing-documents-order strong
{
	display: block;
	margin: 2px 0;
	font-size: 22px;
}

.packing-document-actions
{
	display: grid;
	gap: 10px;
}

.packing-document-action
{
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 13px;
	width: 100%;
	padding: 14px;
	border: 1px solid #d9dddb;
	border-radius: 8px;
	background: #fff;
	color: #202826;
	text-align: left;
}

.packing-document-action:hover:not(:disabled)
{
	border-color: #7ea993;
	background: #f7faf8;
}

.packing-document-action:disabled
{
	cursor: not-allowed;
	opacity: .5;
}

.packing-document-action.is-complete
{
	border-color: #86b9a0;
	background: #e8f5ee;
	opacity: 1;
}

.packing-document-action > span
{
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 6px;
	background: #edf1ef;
	color: #287a57;
}

.packing-document-action div strong,
.packing-document-action div small
{
	display: block;
}

.packing-document-action div small
{
	margin-top: 2px;
	color: #6b7471;
}

.packing-document-action.is-loading > span svg
{
	animation: spin 1s linear infinite;
}

.packing-document-result
{
	margin-top: 14px;
	padding: 11px 13px;
	border-left: 3px solid #6d7772;
	background: #f1f3f2;
}

.packing-document-result.is-success
{
	border-left-color: #287a57;
	color: #236d4e;
}

.packing-document-result.is-error
{
	border-left-color: #b43b43;
	color: #a62f37;
}

.orders-document-number
{
	display: block;
	max-width: 150px;
	overflow: hidden;
	color: var(--uf-ink);
	font-size: 11px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

a.orders-document-number
{
	color: var(--uf-accent-dark);
	text-decoration: none;
}

.orders-document-empty
{
	color: var(--uf-subtle);
}

.orders-row-actions
{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	white-space: nowrap;
}

.orders-details-button
{
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.orders-details-button svg
{
	width: 14px;
	height: 14px;
}


.orders-order-number,
.orders-customer-name,
.orders-method,
.orders-total
{
	display: block;
	color: var(--uf-ink);
	font-size: 12px;
	font-weight: 600;
}

.orders-order-number
{
	color: var(--uf-accent-dark);
	text-decoration: none;
}

.orders-order-meta,
.orders-order-date
{
	display: block;
	margin-top: 3px;
	color: var(--uf-muted);
	font-size: 10px;
}

.orders-order-date
{
	color: var(--uf-subtle);
}

.orders-status
{
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	background: #f4f4f5;
	color: #3f3f46;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 600;
	white-space: nowrap;
}

.orders-status-processing
{
	background: var(--uf-accent-soft);
	color: var(--uf-accent-dark);
}

.orders-status-payment_required
{
	background: #fff7ed;
	color: #c2410c;
}

.orders-status-cancellation_requested
{
	background: #fff7ed;
	color: #c2410c;
}

.orders-status-completed,
.orders-status-in_transit,
.orders-status-delivered
{
	background: #ecfdf3;
	color: #15803d;
}

.orders-status-cancelled,
.orders-status-unclaimed
{
	background: #fff1f2;
	color: #be123c;
}

.order-payment-required
{
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	margin-bottom: 16px;
	padding: 16px;
	align-items: center;
	gap: 14px;
	border: 1px solid #fed7aa;
	border-radius: 6px;
	background: #fffaf5;
}

.order-payment-required-icon
{
	display: inline-flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: #ffedd5;
	color: #c2410c;
}

.order-payment-required-icon svg
{
	width: 19px;
	height: 19px;
}

.order-payment-required h3
{
	margin: 1px 0 3px;
	color: var(--uf-ink);
	font-size: 15px;
}

.order-payment-required p
{
	margin: 0;
	color: var(--uf-muted);
	font-size: 11px;
}

.order-payment-required [data-order-payment-result]
{
	grid-column: 2 / -1;
	margin: 0;
}

@media (max-width: 767px)
{
	.order-payment-required
	{
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.order-payment-required .btn
	{
		grid-column: 1 / -1;
	}

	.order-payment-required [data-order-payment-result]
	{
		grid-column: 1 / -1;
	}
}

.orders-ship-deadline
{
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 4px;
	background: #f4f4f5;
	color: #52525b;
	font-size: 10px;
	font-weight: 600;
	white-space: nowrap;
}

.orders-ship-deadline-overdue,
.orders-ship-deadline-today
{
	background: #fff1f2;
	color: #be123c;
}

.orders-ship-deadline-soon
{
	background: #fff7ed;
	color: #c2410c;
}

.orders-ship-deadline-normal
{
	background: #ecfdf3;
	color: #15803d;
}

.orders-unmatched
{
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	color: #b45309;
	font-size: 10px;
	font-weight: 600;
}

.orders-unmatched svg
{
	width: 12px;
	height: 12px;
}

.orders-bundle-components
{
	display: grid;
	gap: 6px;
	min-width: 260px;
	margin-top: 10px;
	padding: 8px 10px;
	background: var(--uf-accent-soft);
	border-left: 3px solid var(--uf-accent);
	border-radius: 0 5px 5px 0;
}

.orders-bundle-components-title
{
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--uf-accent-dark);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.orders-bundle-components-title svg
{
	width: 12px;
	height: 12px;
}

.orders-bundle-component
{
	display: flex;
	align-items: flex-start;
	gap: 7px;
	color: var(--uf-ink);
	font-size: 11px;
}

.orders-bundle-component-quantity
{
	flex: 0 0 auto;
	min-width: 28px;
	color: var(--uf-accent-dark);
}

.orders-bundle-component span
{
	display: block;
}

.orders-bundle-component small
{
	display: block;
	margin-top: 1px;
	color: var(--uf-muted);
	font-size: 9px;
}

.orders-pagination
{
	padding: 14px 18px;
	border-top: 1px solid var(--uf-line);
}

.orders-sync-result
{
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 1080;
	max-width: min(520px, calc(100vw - 44px));
	padding: 12px 14px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-left: 3px solid var(--uf-accent);
	box-shadow: var(--uf-shadow);
	font-size: 12px;
}

.orders-sync-result.is-error
{
	border-left-color: #dc2626;
}

.orders-sync-result.is-success
{
	border-left-color: #16a34a;
}

.orders-sync-progress
{
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 1081;
	width: min(430px, calc(100vw - 44px));
	padding: 16px;
	background: #ffffff;
	border: 1px solid var(--uf-line);
	border-radius: 12px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.orders-sync-progress-head
{
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.orders-sync-progress-icon
{
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	color: #2563eb;
	background: #eff6ff;
	border-radius: 9px;
}

.orders-sync-progress-icon svg
{
	width: 17px;
	height: 17px;
}

.orders-sync-progress-head strong,
.orders-sync-progress-head small
{
	display: block;
}

.orders-sync-progress-head strong
{
	font-size: 13px;
	color: #0f172a;
}

.orders-sync-progress-head small
{
	margin-top: 2px;
	font-size: 11px;
	color: #64748b;
}

.orders-sync-progress-head > b
{
	font-size: 11px;
	font-weight: 700;
	color: #475569;
}

.orders-sync-progress .progress
{
	height: 6px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}

.orders-sync-progress .progress-bar
{
	width: 0;
	background-color: #2563eb;
	transition: width .22s ease;
}

.orders-sync-progress.is-complete .orders-sync-progress-icon
{
	color: #15803d;
	background: #f0fdf4;
}

.orders-sync-progress.is-complete .progress-bar
{
	background-color: #16a34a;
}

.bundle-source-alert
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 9px;
	border: 1px solid #fecaca;
	border-radius: 5px;
	background: #fff7f7;
	color: #991b1b;
	font-size: 11px;
	font-weight: 700;
}

.bundle-source-alert:hover
{
	border-color: #fca5a5;
	color: #7f1d1d;
}

.bundle-source-alert svg
{
	width: 14px;
	height: 14px;
}

.bundle-source-alert strong
{
	display: grid;
	min-width: 18px;
	height: 18px;
	place-items: center;
	padding: 0 4px;
	border-radius: 9px;
	background: #dc2626;
	color: #ffffff;
	font-size: 10px;
}

.bundle-source-filter
{
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-bottom: 1px solid #fecaca;
	background: #fff7f7;
	color: #7f1d1d;
	font-size: 11px;
}

.bundle-source-filter svg
{
	width: 14px;
	height: 14px;
}

.bundle-source-filter a
{
	margin-left: auto;
	font-weight: 700;
}

.bundle-source-issue-row
{
	background: #fffdfd;
}

.bundle-source-missing-component
{
	padding-left: 8px;
	border-left: 3px solid #dc2626;
}

.bundle-source-missing-component em
{
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-left: 6px;
	color: #b91c1c;
	font-size: 9px;
	font-style: normal;
	font-weight: 700;
}

.bundle-source-missing-component em svg
{
	width: 11px;
	height: 11px;
}

.bundle-discrepancy-header
{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
}

.bundle-discrepancy-summary
{
	display: flex;
	flex: 0 0 auto;
	border: 1px solid var(--uf-line);
	border-radius: 10px;
	background: #ffffff;
	overflow: hidden;
}

.bundle-discrepancy-summary div
{
	min-width: 112px;
	padding: 12px 18px;
	border-left: 1px solid var(--uf-line);
	text-align: center;
}

.bundle-discrepancy-summary div:first-child
{
	border-left: 0;
}

.bundle-discrepancy-summary strong,
.bundle-discrepancy-summary span
{
	display: block;
}

.bundle-discrepancy-summary strong
{
	font-size: 22px;
	color: #991b1b;
}

.bundle-discrepancy-summary span
{
	margin-top: 2px;
	font-size: 11px;
	color: var(--uf-muted);
}

.bundle-discrepancy-list
{
	display: grid;
	gap: 14px;
}

.bundle-discrepancy-card
{
	border: 1px solid var(--uf-line);
	border-left: 4px solid #dc2626;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
	overflow: hidden;
}

.bundle-discrepancy-card > header,
.bundle-discrepancy-card > footer
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 18px;
}

.bundle-discrepancy-card > header
{
	border-bottom: 1px solid var(--uf-line);
}

.bundle-discrepancy-card > header h3
{
	margin: 2px 0;
	font-size: 16px;
}

.bundle-discrepancy-card > header small,
.bundle-discrepancy-component small
{
	display: block;
	color: var(--uf-muted);
	font-size: 11px;
}

.bundle-discrepancy-order
{
	font-size: 11px;
	font-weight: 800;
	color: #2563eb;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.bundle-discrepancy-statuses
{
	display: flex;
	align-items: center;
	gap: 10px;
}

.bundle-discrepancy-statuses > strong
{
	font-size: 12px;
	color: #991b1b;
}

.bundle-discrepancy-components
{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--uf-line);
}

.bundle-discrepancy-component
{
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: #ffffff;
}

.bundle-discrepancy-component > div:nth-child(2)
{
	min-width: 0;
}

.bundle-discrepancy-component > div:nth-child(2) > strong
{
	display: block;
	overflow: hidden;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bundle-discrepancy-image
{
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 6px;
	background: #f1f5f9;
	overflow: hidden;
}

.bundle-discrepancy-image img
{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bundle-discrepancy-image svg
{
	width: 18px;
	color: #94a3b8;
}

.bundle-discrepancy-component > span
{
	font-size: 14px;
	font-weight: 700;
	text-align: right;
}

.bundle-discrepancy-component > span b
{
	color: #dc2626;
}

.bundle-discrepancy-component > span small
{
	color: #dc2626;
}

.bundle-discrepancy-card > footer
{
	justify-content: flex-end;
	border-top: 1px solid var(--uf-line);
	background: #f8fafc;
}

.bundle-discrepancy-empty
{
	display: grid;
	min-height: 280px;
	place-items: center;
	align-content: center;
	gap: 8px;
	text-align: center;
}

.bundle-discrepancy-empty svg
{
	width: 38px;
	height: 38px;
	color: #16a34a;
}

.bundle-discrepancy-empty strong
{
	font-size: 17px;
}

.bundle-discrepancy-empty span
{
	color: var(--uf-muted);
}

.bundle-discrepancy-heading
{
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
}

.bundle-discrepancy-heading > div:last-child
{
	color: var(--uf-muted);
	font-size: 12px;
}

.bundle-discrepancy-heading > div:last-child strong
{
	color: var(--uf-text);
}

.bundle-discrepancy-table td
{
	padding-top: 9px;
	padding-bottom: 9px;
}

.bundle-discrepancy-table td > small,
.bundle-discrepancy-table td:first-child small
{
	display: block;
	margin-top: 2px;
	color: var(--uf-muted);
	font-size: 10px;
}

.bundle-discrepancy-table td:nth-child(2) .badge
{
	display: block;
	width: max-content;
	margin-top: 4px;
}

.bundle-discrepancy-items
{
	display: grid;
	gap: 4px;
	min-width: 340px;
}

.bundle-discrepancy-items > div
{
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
}

.bundle-discrepancy-items > div > span
{
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border: 1px solid var(--uf-line);
	background: #f8fafc;
	overflow: hidden;
}

.bundle-discrepancy-items img
{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bundle-discrepancy-items svg
{
	width: 13px;
	color: #94a3b8;
}

.bundle-discrepancy-items p
{
	min-width: 0;
	margin: 0;
}

.bundle-discrepancy-items p strong,
.bundle-discrepancy-items p small
{
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bundle-discrepancy-items p strong
{
	font-size: 11px;
}

.bundle-discrepancy-items p small
{
	color: var(--uf-muted);
	font-size: 9px;
}

.bundle-discrepancy-items > div > b
{
	font-size: 11px;
	color: #b91c1c;
}

@media(max-width: 575px)
{
	.orders-sync-progress
	{
		right: 12px;
		bottom: 12px;
		width: calc(100vw - 24px);
	}

	.bundle-discrepancy-header,
	.bundle-discrepancy-card > header
	{
		align-items: stretch;
		flex-direction: column;
	}

	.bundle-discrepancy-summary
	{
		width: 100%;
	}

	.bundle-discrepancy-summary div
	{
		flex: 1;
	}

	.bundle-discrepancy-components
	{
		grid-template-columns: 1fr;
	}

	.bundle-discrepancy-heading
	{
		align-items: stretch;
		flex-direction: column;
	}
}

.order-detail-toolbar
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.order-detail-head
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px;
	background: var(--uf-surface);
	border: 1px solid var(--uf-line);
	border-radius: 6px;
}

.order-detail-head > div:first-child > span
{
	color: var(--uf-accent-dark);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
}

.order-detail-head h2
{
	margin: 5px 0 0;
	font-size: 20px;
	font-weight: 700;
}

.order-detail-head p
{
	margin: 5px 0 0;
	color: var(--uf-muted);
	font-size: 11px;
}

.order-detail-total
{
	text-align: right;
}

.order-detail-total span,
.order-detail-total small
{
	display: block;
	color: var(--uf-muted);
	font-size: 10px;
}

.order-detail-total strong
{
	display: block;
	margin: 3px 0;
	font-size: 22px;
	font-weight: 700;
}

.order-detail-grid
{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.order-detail-panel
{
	min-width: 0;
	background: var(--uf-surface);
	border: 1px solid var(--uf-line);
	border-radius: 6px;
}

.order-detail-panel header
{
	display: flex;
	height: 48px;
	align-items: center;
	gap: 8px;
	padding: 0 15px;
	border-bottom: 1px solid var(--uf-line);
}

.order-detail-panel header svg
{
	width: 15px;
	height: 15px;
	color: var(--uf-accent);
}

.order-detail-panel h3
{
	margin: 0;
	font-size: 12px;
	font-weight: 700;
}

.order-detail-panel dl
{
	margin: 0;
	padding: 6px 15px 12px;
}

.order-detail-panel dl > div
{
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--uf-line);
}

.order-detail-panel dl > div:last-child
{
	border-bottom: 0;
}

.order-detail-panel dt
{
	color: var(--uf-muted);
	font-size: 10px;
	font-weight: 500;
}

.order-detail-panel dd
{
	min-width: 0;
	margin: 0;
	font-size: 11px;
	word-break: break-word;
}

.order-totals
{
	width: min(360px, 100%);
	margin-left: auto;
	padding: 14px 18px 18px;
}

.order-totals > div
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 6px 0;
	color: var(--uf-muted);
	font-size: 11px;
}

.order-totals strong
{
	color: var(--uf-ink);
	font-weight: 600;
}

.order-totals .order-total-final
{
	margin-top: 7px;
	padding-top: 12px;
	border-top: 1px solid var(--uf-line-strong);
	color: var(--uf-ink);
	font-size: 13px;
	font-weight: 700;
}

.order-total-final strong
{
	font-size: 16px;
}

.order-fulfillment
{
	margin-bottom: 16px;
	border: 1px solid var(--uf-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(31, 41, 55, .05);
	overflow: hidden;
}

.order-fulfillment-header
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--uf-line);
}

.order-fulfillment-header h3
{
	margin: 2px 0 0;
	font-size: 15px;
	font-weight: 700;
}

.order-fulfillment-complete,
.order-fulfillment-note
{
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #17834c;
	font-size: 12px;
	font-weight: 600;
}

.order-fulfillment-note
{
	color: var(--uf-muted);
}

.order-fulfillment-complete svg
{
	width: 16px;
	height: 16px;
}

.order-fulfillment-steps
{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-fulfillment-step
{
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 16px;
	border-right: 1px solid var(--uf-line);
}

.order-fulfillment-step:last-child
{
	border-right: 0;
}

.order-fulfillment-step-icon
{
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 9px;
	background: #f2f4f7;
	color: var(--uf-muted);
}

.order-fulfillment-step-icon svg
{
	width: 16px;
	height: 16px;
}

.order-fulfillment-step > div
{
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.order-fulfillment-step small,
.order-fulfillment-step span[data-step-message]
{
	color: var(--uf-muted);
	font-size: 10px;
}

.order-fulfillment-step strong
{
	font-size: 12px;
	font-weight: 700;
}

.order-fulfillment-step span[data-step-message]
{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.order-fulfillment-step.is-complete .order-fulfillment-step-icon
{
	background: #eaf8f0;
	color: #17834c;
}

.order-fulfillment-step.is-error .order-fulfillment-step-icon
{
	background: #fff0f0;
	color: #c93b3b;
}

.order-fulfillment-step.is-loading .order-fulfillment-step-icon
{
	background: #edf3ff;
	color: var(--uf-accent);
	animation: fulfillment-pulse 1.1s ease-in-out infinite;
}

.order-fulfillment-progress
{
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-top: 1px solid var(--uf-line);
	background: #f8faff;
	color: var(--uf-muted);
	font-size: 11px;
}

.order-fulfillment-progress[hidden]
{
	display: none;
}

.order-fulfillment-progress > span
{
	width: 14px;
	height: 14px;
	border: 2px solid #c9d5ec;
	border-top-color: var(--uf-accent);
	border-radius: 50%;
	animation: fulfillment-spin .7s linear infinite;
}

.settings-subsection-heading
{
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--uf-line);
}

.settings-subsection-heading strong,
.settings-subsection-heading small
{
	display: block;
}

.settings-subsection-heading small
{
	margin-top: 3px;
	color: var(--uf-muted);
}

.settings-inline-result
{
	display: inline-block;
	margin-left: 9px;
	color: var(--uf-muted);
	font-size: 11px;
}

.settings-inline-result.is-success
{
	color: #17834c;
}

.settings-inline-result.is-error
{
	color: #c93b3b;
}

.settings-field-check
{
	display: flex;
	align-items: center;
	min-height: 66px;
	padding-top: 24px;
}

@keyframes fulfillment-spin
{
	to { transform: rotate(360deg); }
}

@keyframes fulfillment-pulse
{
	50% { opacity: .55; }
}

.orders-empty-state
{
	display: flex;
	min-height: 294px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	padding: 32px;
	color: var(--uf-muted);
	text-align: center;
}

.orders-empty-state > svg
{
	width: 26px;
	height: 26px;
	margin-bottom: 5px;
	color: var(--uf-accent);
}

.orders-empty-state strong
{
	color: var(--uf-ink);
	font-size: 13px;
}

.orders-empty-state span
{
	font-size: 11px;
}

@media(max-width: 991px) {
	.orders-filter-form {
		grid-template-columns: minmax(220px, 1fr) repeat(3, 120px) 38px 38px;
	}

	.order-detail-grid {
		grid-template-columns: 1fr 1fr;
	}

	.order-fulfillment-steps {
		grid-template-columns: 1fr;
	}

	.order-fulfillment-step {
		border-right: 0;
		border-bottom: 1px solid var(--uf-line);
	}

	.order-fulfillment-step:last-child {
		border-bottom: 0;
	}

	.orders-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.orders-marketplace-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.orders-dashboard-date-filter {
		flex-wrap: wrap;
	}

	.orders-summary-item:nth-child(3n) {
		border-right: 1px solid var(--uf-line);
	}

	.orders-summary-item:nth-child(2n) {
		border-right: 0;
	}

	.orders-summary-item:nth-child(-n+4) {
		border-bottom: 1px solid var(--uf-line);
	}

	.queue-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.integration-overview-metrics {
		grid-template-columns: 1fr 1fr;
	}

	.integration-overview-metric:nth-child(2) {
		border-right: 0;
	}

	.integration-overview-metric:nth-child(-n+2) {
		border-bottom: 1px solid var(--uf-line);
	}

	.integration-dashboard-grid {
		grid-template-columns: 1fr;
	}
}

@media(max-width: 767px) {
	.orders-filter-form {
		grid-template-columns: 1fr 1fr;
	}

	.orders-filter-search {
		grid-column: 1 / -1;
	}

	.order-detail-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.order-fulfillment-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.order-detail-total {
		text-align: left;
	}

	.order-detail-grid {
		grid-template-columns: 1fr;
	}

	.orders-summary-grid {
		grid-template-columns: 1fr;
	}

	.orders-marketplace-grid {
		grid-template-columns: 1fr;
	}

	.orders-dashboard-date-filter input {
		width: 150px;
	}

	.orders-summary-item,
	.orders-summary-item:nth-child(2n),
	.orders-summary-item:nth-child(3n) {
		border-right: 0;
		border-bottom: 1px solid var(--uf-line);
	}

	.orders-summary-item:last-child {
		border-bottom: 0;
	}

	.lost-product-match-summary {
		grid-template-columns: 1fr 1fr;
	}

	.queue-summary-grid {
		grid-template-columns: 1fr;
	}

	.integration-overview-header {
		align-items: flex-start;
	}

	.integration-overview-logo {
		width: 78px;
		flex-basis: 78px;
	}

	.integration-overview-metrics {
		grid-template-columns: 1fr;
	}

	.integration-overview-metric,
	.integration-overview-metric:nth-child(2) {
		border-right: 0;
		border-bottom: 1px solid var(--uf-line);
	}

	.integration-overview-metric:last-child {
		border-bottom: 0;
	}

	.integration-link-value {
		display: none;
	}

	.integration-orders-result {
		flex-direction: column;
	}
}

.reassociation-intro {
	align-items: center;
	background: linear-gradient(135deg, #102a43 0%, #173f5f 58%, #1d5c78 100%);
	border-radius: 14px;
	color: #fff;
	display: flex;
	justify-content: space-between;
	overflow: hidden;
	padding: 24px 28px;
	position: relative;
}

.reassociation-intro::after {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	content: "";
	height: 180px;
	position: absolute;
	right: -54px;
	top: -72px;
	width: 180px;
}

.reassociation-intro h2 {
	color: #fff;
	font-size: 22px;
	margin: 3px 0 6px;
}

.reassociation-intro p {
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
	max-width: 680px;
}

.reassociation-intro .section-kicker {
	color: #79d7ff;
}

.reassociation-intro-metrics {
	display: flex;
	gap: 10px;
	position: relative;
	z-index: 1;
}

.reassociation-intro-metrics div {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	min-width: 108px;
	padding: 12px 16px;
}

.reassociation-intro-metrics strong,
.reassociation-intro-metrics span {
	display: block;
}

.reassociation-intro-metrics strong {
	font-size: 22px;
	line-height: 1;
}

.reassociation-intro-metrics span {
	color: rgba(255, 255, 255, 0.68);
	font-size: 11px;
	margin-top: 6px;
	text-transform: uppercase;
}

.reassociation-card {
	border: 1px solid #dbe5ee;
	box-shadow: 0 10px 26px rgba(30, 55, 75, 0.06);
	margin-bottom: 16px;
	overflow: hidden;
}

.reassociation-card-header,
.reassociation-card-footer {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 16px 20px;
}

.reassociation-card-header {
	border-bottom: 1px solid #e7edf2;
}

.reassociation-card-header h3 {
	font-size: 17px;
	margin: 2px 0 0;
}

.reassociation-link {
	align-items: center;
	color: #657786;
	display: flex;
	font-size: 12px;
	gap: 10px;
}

.reassociation-link svg {
	color: var(--bs-primary);
	height: 16px;
	width: 16px;
}

.reassociation-comparison {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reassociation-product {
	padding: 20px;
}

.reassociation-product + .reassociation-product {
	border-left: 1px solid #e7edf2;
}

.reassociation-product-local {
	background: #fbfcfd;
}

.reassociation-product-remote {
	background: #f7fbff;
}

.reassociation-product-label {
	align-items: center;
	display: flex;
	font-size: 11px;
	justify-content: space-between;
	letter-spacing: 0.05em;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.reassociation-product-label span {
	color: #6c7a86;
}

.reassociation-product-local .reassociation-product-label strong {
	color: #31485a;
}

.reassociation-product-remote .reassociation-product-label strong {
	color: var(--bs-primary);
}

.reassociation-product-summary {
	align-items: center;
	display: flex;
	gap: 14px;
	min-height: 76px;
}

.reassociation-product-summary h4 {
	font-size: 15px;
	line-height: 1.35;
	margin: 0 0 4px;
}

.reassociation-product-summary span {
	color: #74828d;
	font-size: 12px;
}

.reassociation-product-image {
	align-items: center;
	background: #fff;
	border: 1px solid #dde6ed;
	border-radius: 9px;
	display: flex;
	flex: 0 0 68px;
	height: 68px;
	justify-content: center;
	overflow: hidden;
	width: 68px;
}

.reassociation-product-image img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.reassociation-product-image svg {
	color: #a9b5bf;
	height: 24px;
	width: 24px;
}

.reassociation-data {
	border-top: 1px solid #e7edf2;
	margin: 16px 0 0;
	padding-top: 8px;
}

.reassociation-data div {
	align-items: baseline;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 6px 0;
}

.reassociation-data dt {
	color: #75838e;
	font-size: 11px;
	font-weight: 500;
}

.reassociation-data dd {
	font-size: 12px;
	margin: 0;
	text-align: right;
}

.reassociation-data dd code + code {
	margin-left: 5px;
}

.reassociation-card-footer {
	background: #fff;
	border-top: 1px solid #e7edf2;
}

.reassociation-empty-icon {
	color: #8ea4b5;
	height: 38px;
	width: 38px;
}

.reassociation-ean-form {
	align-items: flex-end;
	display: flex;
	gap: 8px;
}

.reassociation-ean-form label {
	color: #6d7d89;
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 4px 2px;
	text-transform: uppercase;
}

.reassociation-ean-form .form-control {
	min-width: 210px;
}

@media(max-width: 991px) {
	.reassociation-intro {
		align-items: flex-start;
		gap: 20px;
	}

	.reassociation-comparison {
		grid-template-columns: 1fr;
	}

	.reassociation-product + .reassociation-product {
		border-left: 0;
		border-top: 1px solid #e7edf2;
	}
}

@media(max-width: 767px) {
	.reassociation-intro,
	.reassociation-card-header,
	.reassociation-card-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.reassociation-intro-metrics {
		width: 100%;
	}

	.reassociation-intro-metrics div {
		flex: 1;
		min-width: 0;
	}

	.reassociation-link {
		justify-content: space-between;
		margin-top: 10px;
	}

	.reassociation-card-footer {
		gap: 14px;
	}

	.reassociation-card-footer .d-flex {
		width: 100%;
	}

	.reassociation-card-footer .btn {
		flex: 1;
	}

	.reassociation-ean-form {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.reassociation-ean-form .form-control {
		min-width: 0;
		width: 100%;
	}
}

.ean-verification-import-panel {
	margin-bottom: 20px;
}

.ean-verification-import-panel > .card-body {
	align-items: center;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1fr);
	padding: 20px;
}

.ean-verification-import-copy {
	align-items: center;
	display: flex;
	gap: 14px;
}

.ean-verification-import-copy h2 {
	font-size: 18px;
	margin: 3px 0 4px;
}

.ean-verification-import-copy p {
	color: #74828d;
	font-size: 12px;
	margin: 0;
}

.ean-verification-import-icon {
	align-items: center;
	background: #edf3ff;
	border-radius: 8px;
	color: #366fd3;
	display: flex;
	flex: 0 0 44px;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.ean-verification-import-icon svg {
	height: 19px;
	width: 19px;
}

.ean-verification-upload {
	align-items: flex-end;
	background: #f7f9fb;
	border: 1px solid #e5ebef;
	border-radius: 8px;
	display: flex;
	gap: 10px;
	padding: 12px;
}

.ean-verification-import-methods {
	min-width: 0;
}

.ean-verification-upload-field {
	flex: 1;
	min-width: 0;
}

.ean-verification-upload-field label,
.ean-verification-manual-field label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 5px 2px;
	text-transform: uppercase;
}

.ean-verification-import-divider {
	align-items: center;
	color: #8a969f;
	display: flex;
	font-size: 9px;
	gap: 10px;
	letter-spacing: 0.06em;
	margin: 8px 4px;
	text-transform: uppercase;
}

.ean-verification-import-divider::before,
.ean-verification-import-divider::after {
	background: #e3e9ed;
	content: "";
	flex: 1;
	height: 1px;
}

.ean-verification-manual {
	align-items: flex-end;
	background: #fff;
	border: 1px solid #e5ebef;
	border-radius: 8px;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(150px, 0.75fr) minmax(170px, 1fr) auto;
	padding: 12px;
}

.ean-verification-manual-field {
	min-width: 0;
}

.ean-verification-manual > .btn {
	white-space: nowrap;
}

.ean-verification-upload > .btn {
	flex: 0 0 auto;
	white-space: nowrap;
}

.ean-verification-upload-field small {
	color: #82909a;
	display: block;
	font-size: 10px;
	margin: 5px 0 0 2px;
}

.ean-verification-run-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.ean-verification-run-header h3 {
	font-size: 19px;
	margin: 3px 0 0;
}

.ean-verification-mapping-heading {
	align-items: flex-start;
	display: flex;
	gap: 20px;
	justify-content: space-between;
}

.ean-verification-mapping-heading h3 {
	font-size: 19px;
	margin: 3px 0 5px;
}

.ean-verification-mapping-heading p {
	color: #73818c;
	margin: 0;
}

.ean-verification-mapping-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 20px;
}

.ean-verification-mapping-grid label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	margin: 0 0 6px 2px;
	text-transform: uppercase;
}

.ean-verification-mapping-footer {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.ean-verification-mapping-pending {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

.ean-verification-mapping-pending span {
	margin-left: 5px;
}

.ean-verification-metrics {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 22px;
}

.ean-verification-metrics > div {
	background: #f6f8fa;
	border: 1px solid #e8edf1;
	border-radius: 9px;
	padding: 13px 15px;
}

.ean-verification-metrics span,
.ean-verification-metrics small {
	color: #778693;
	display: block;
	font-size: 11px;
}

.ean-verification-metrics strong {
	display: inline-block;
	font-size: 24px;
	line-height: 1.15;
	margin: 4px 5px 3px 0;
}

.ean-verification-metrics small {
	display: inline;
}

.ean-verification-progress {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-top: 16px;
}

.ean-verification-progress .progress {
	flex: 1;
	height: 7px;
}

.ean-verification-progress > span {
	color: #667783;
	font-size: 12px;
	font-weight: 600;
	min-width: 42px;
	text-align: right;
}

.ean-verification-table th {
	white-space: nowrap;
}

.ean-verification-table {
	min-width: 1050px;
}

.ean-verification-table td {
	font-size: 12px;
}

.ean-verification-local-status
{
	display: flex;
	min-width: 105px;
	align-items: flex-start;
	flex-direction: column;
	gap: 4px;
}

.ean-verification-local-status .product-status
{
	width: fit-content;
	text-decoration: none;
}

.ean-verification-local-status strong,
.ean-verification-local-status small
{
	line-height: 1.2;
}

.ean-verification-local-status small
{
	color: #84919b;
}

.ean-verification-result-actions {
	align-items: flex-end;
	display: flex;
	gap: 16px;
}

.ean-verification-hotness-filter
{
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 8px;
}

.ean-verification-filter-field > label {
	color: #71808c;
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 4px 2px;
	text-transform: uppercase;
}

.ean-verification-hotness-filter .hotness-dropdown-toggle
{
	width: 220px;
}

.ean-verification-filter-field > .form-select
{
	min-width: 180px;
}

.ean-verification-margin-range
{
	display: flex;
	gap: 6px;
}

.ean-verification-margin-range .form-control
{
	width: 86px;
}

.ean-verification-product {
	align-items: center;
	display: flex;
	gap: 11px;
	min-width: 330px;
}

.ean-verification-product-image {
	align-items: center;
	background: #f4f6f8;
	border: 1px solid #e5eaee;
	border-radius: 8px;
	display: flex;
	flex: 0 0 46px;
	height: 46px;
	justify-content: center;
	overflow: hidden;
	width: 46px;
}

.ean-verification-product-image img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.ean-verification-product a,
.ean-verification-product strong {
	color: #263641;
	display: block;
	font-weight: 600;
	line-height: 1.35;
	max-width: 390px;
}

.ean-verification-product span {
	color: #84919b;
	display: block;
	font-size: 11px;
	margin-top: 3px;
}

.ean-verification-empty-icon {
	color: #91a3b0;
	height: 34px;
	width: 34px;
}

@media(max-width: 991px) {
	.ean-verification-import-panel > .card-body {
		grid-template-columns: 1fr;
	}

	.ean-verification-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media(max-width: 575px) {
	.ean-verification-import-panel > .card-body {
		padding: 16px;
	}

	.ean-verification-upload,
	.ean-verification-run-header,
	.ean-verification-mapping-heading,
	.ean-verification-mapping-footer,
	.ean-verification-mapping-pending {
		align-items: stretch;
		flex-direction: column;
	}

	.ean-verification-manual {
		grid-template-columns: 1fr;
	}

	.ean-verification-manual > .btn {
		width: 100%;
	}

	.ean-verification-mapping-pending {
		gap: 12px;
	}

	.ean-verification-result-actions {
		align-items: stretch;
		flex-direction: column;
		margin-top: 14px;
		width: 100%;
	}

	.ean-verification-hotness-filter .form-select {
		width: 100%;
	}

	.ean-verification-mapping-grid {
		grid-template-columns: 1fr;
	}

	.ean-verification-run-header > .d-flex {
		align-items: stretch !important;
		flex-direction: column;
		margin-top: 16px;
	}

	.ean-verification-metrics {
		grid-template-columns: 1fr;
	}
}

.emag-ean-changer-search > .card-body {
	align-items: end;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
	padding: 24px;
}

.emag-ean-changer-heading {
	align-items: center;
	display: flex;
	gap: 16px;
}

.emag-ean-changer-heading h2,
.emag-ean-changer-product h3 {
	margin: 2px 0 4px;
}

.emag-ean-changer-heading p,
.emag-ean-changer-product p {
	color: #6c7a86;
	margin: 0;
}

.emag-ean-changer-icon {
	align-items: center;
	background: #eaf2ff;
	border-radius: 14px;
	color: #2457d6;
	display: flex;
	flex: 0 0 50px;
	height: 50px;
	justify-content: center;
}

.emag-ean-changer-search-form,
.emag-ean-changer-update {
	align-items: end;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.integration-products-filter-grid {
	gap: 12px 14px;
}

.integration-products-filter-grid > .form-group {
		flex: 1 1 180px;
		max-width: none;
		padding-left: 0;
		padding-right: 0;
		width: auto;
}

.integration-products-filter-grid > .integration-products-filter-wide {
		flex-basis: 240px;
}

.integration-products-filter-grid > .integration-products-filter-extra-wide {
		flex-basis: 300px;
}

.integration-product-status-toggle {
		height: 24px;
		min-height: 24px;
		padding: 0;
		width: 24px;
		min-width: 24px;
		border-radius: 4px;
}

.integration-product-status-toggle--paused {
		background: #f1f3f5;
		border-color: #d9dee3;
		color: #6c757d;
}

.integration-product-status-toggle--active {
		background: #eef8f1;
		border-color: #c9e7d2;
		color: #398557;
}

.emag-ean-changer-search-form label,
.emag-ean-changer-update label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 6px;
}

.emag-ean-changer-search-form .btn,
.emag-ean-changer-update .btn {
	height: 38px;
}

.emag-ean-changer-offer > .card-body {
	padding: 24px;
}

.emag-ean-changer-product {
	align-items: center;
	display: flex;
	gap: 18px;
}

.emag-ean-changer-product-image {
	align-items: center;
	background: #f4f6f8;
	border: 1px solid #e4e9ed;
	border-radius: 12px;
	display: flex;
	flex: 0 0 82px;
	height: 82px;
	justify-content: center;
	overflow: hidden;
}

.emag-ean-changer-product-image img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.emag-ean-changer-product-image svg {
	color: #91a3b0;
}

.emag-ean-changer-product-copy {
	min-width: 0;
}

.emag-ean-changer-product h3 a {
	color: inherit;
}

.emag-ean-changer-details {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 22px 0;
}

.emag-ean-changer-details > div {
	background: #f7f9fa;
	border: 1px solid #e8ecef;
	border-radius: 9px;
	min-width: 0;
	padding: 11px 13px;
}

.emag-ean-changer-details span,
.emag-ean-changer-details strong {
	display: block;
}

.emag-ean-changer-details span {
	color: #7d8992;
	font-size: 11px;
	font-weight: 700;
	margin-bottom: 3px;
	text-transform: uppercase;
}

.emag-ean-changer-details strong {
	overflow: hidden;
	text-overflow: ellipsis;
}

.emag-ean-changer-details code + code {
	margin-left: 6px;
}

.emag-ean-changer-update {
	background: #fff7f6;
	border: 1px solid #f4d9d5;
	border-radius: 10px;
	grid-template-columns: minmax(220px, 360px) auto;
	justify-content: start;
	padding: 14px;
}

@media(max-width: 991px) {
	.emag-ean-changer-search > .card-body {
		align-items: stretch;
		grid-template-columns: 1fr;
	}

	.emag-ean-changer-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media(max-width: 575px) {
	.emag-ean-changer-search > .card-body,
	.emag-ean-changer-offer > .card-body {
		padding: 16px;
	}

	.emag-ean-changer-search-form,
	.emag-ean-changer-update,
	.emag-ean-changer-details {
		grid-template-columns: 1fr;
	}

	.emag-ean-changer-product {
		align-items: flex-start;
	}

	.emag-ean-changer-update .btn {
		width: 100%;
	}
}
.catalog-table-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.catalog-table-search {
	position: relative;
	width: min(100%, 360px);
}

.catalog-table-search svg {
	position: absolute;
	left: 12px;
	top: 10px;
	width: 16px;
	height: 16px;
	color: #7b8794;
}

.catalog-table-search input {
	padding-left: 36px;
}

.catalog-table-filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	white-space: nowrap;
}

.category-margins-table th,
.category-margins-table td {
	min-width: 150px;
}

.category-margins-table th:first-child,
.category-margins-table td:first-child {
	min-width: 320px;
}

.category-margin-marketplace {
	text-align: center;
}

.category-margin-marketplace img {
	display: block;
	width: auto;
	height: 26px;
	max-width: 92px;
	margin: 0 auto 5px;
	object-fit: contain;
}

.category-margin-marketplace span {
	display: block;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.category-margins-table .input-group {
	width: 100px;
	margin: 0 auto;
}

.category-margins-table td:first-child small {
	display: block;
	margin-top: 3px;
	color: #7b8794;
}

.attributes-mapping-table
{
	min-width: 700px;
}

.attributes-mapping-table th,
.attributes-mapping-table td
{
	width: 33.333%;
	max-width: 360px;
	overflow-wrap: anywhere;
}

.attributes-mapping-table select
{
	min-width: 180px;
}

.catalog-table-toolbar.attributes-mapping-toolbar
{
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
}

.catalog-marketplace-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--uf-line);
}

.catalog-marketplace-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 48px;
	border: 1px solid var(--uf-line);
	border-radius: 6px;
	background: var(--uf-surface);
	opacity: .65;
}

.catalog-marketplace-tab.active {
	border-color: var(--uf-accent);
	opacity: 1;
	box-shadow: 0 0 0 2px var(--uf-accent-soft);
}

.catalog-marketplace-tab img {
	max-width: 88px;
	max-height: 28px;
	object-fit: contain;
}

.category-mapping-table td:first-child small {
	display: block;
	margin-top: 3px;
	color: #7b8794;
}

.category-mapping-table select {
	min-width: 360px;
}

#category_mapping_table_wrapper .dt-layout-row:last-child {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding: 8px;
	background: var(--uf-surface-soft);
}

#category_mapping_table_wrapper .dt-layout-row:last-child .dt-layout-start {
	grid-column: 1;
}

#category_mapping_table_wrapper .dt-layout-row:last-child .dt-layout-end {
	grid-column: 2;
}

#category_mapping_table_wrapper .dt-info {
	color: var(--uf-muted);
	font-size: 11px;
}

#category_mapping_table_wrapper .dt-paging {
	display: flex;
	gap: 4px;
}

#category_mapping_table_wrapper .dt-paging-button {
	min-width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
	border: 1px solid var(--uf-line) !important;
	border-radius: 5px !important;
	background: var(--uf-surface) !important;
	color: var(--uf-ink) !important;
	font-size: 11px;
}

#category_mapping_table_wrapper .dt-paging-button.current {
	background: var(--uf-accent) !important;
	border-color: var(--uf-accent) !important;
	color: #fff !important;
}

@media (max-width: 720px) {
	#category_mapping_table_wrapper .dt-layout-row:last-child { display: flex; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
	.catalog-table-toolbar { align-items: stretch; flex-direction: column; }
	.catalog-table-search { width: 100%; }
}

.ticket-fields
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	align-items: end;
	gap: 1rem;
}

.ticket-fields .form-label
{
	min-width: 0;
	margin: 0;
}

.ticket-fields .form-select
{
	padding-right: 2rem;
}

.ticket-fields > .btn
{
	justify-self: start;
	align-self: end !important;
}

@media (max-width: 679px)
{
	.ticket-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ticket-fields .ticket-search { grid-column: 1 / -1; }
}

.desk-detail {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(16rem, 19rem);
	grid-template-areas: "thread facts";
	gap: 1.25rem;
	align-items: start;
}
.desk-facts { grid-area: facts; }
.desk-thread { grid-area: thread; }
.desk-status {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	border-radius: 5px;
	padding: .18rem .65rem;
	font-size: .82rem;
	font-weight: 500;
	background: #edf0f4;
	color: #465468;
}
.desk-status::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.desk-status[data-role="user"], .desk-status[data-status="Nou"] { background: #dbeaff; color: #185ca5; }
.desk-status[data-role="admin"], .desk-status[data-status="În lucru"] { background: #e9dfff; color: #6541a5; }
.desk-status[data-status="Așteaptă clientul"] { background: #fff2d9; color: #815510; }
.desk-status[data-status="Active"], .desk-status[data-status="Rezolvat"] { background: #d7f2e3; color: #176844; }
.wn-menu-counts { display:inline-flex; align-items:center; gap:3px; margin-inline-start:auto; }
.wn-menu-counts .desk-status { justify-content:center; min-width:1.2rem; padding:1px 4px; font-size:.66rem; line-height:1.25; font-variant-numeric:tabular-nums; }
.wn-menu-counts .desk-status::before { display:none; }
.desk-properties { display: grid; grid-template-columns: auto 1fr; gap: .75rem 1rem; margin: 1.25rem 0 0; }
.desk-properties dt, .desk-event time { color: #617083; font-weight: 500; }
.desk-properties dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.desk-edit summary { font-weight: 600; cursor: pointer; }
.desk-edit form, .desk-compose { display: grid; gap: .8rem; }
.desk-edit form { padding-top: 1rem; }
.desk-edit label, .desk-compose label, .desk-directory-filter label { margin: 0; }
.desk-edit button, .desk-compose button { justify-self: start; }
.desk-section-head, .desk-event-meta, .desk-directory-heading, .desk-company-actions {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
}
.desk-section-head, .desk-event, .desk-compose { padding: 1.15rem 1.4rem; }
.desk-event, .desk-compose, .desk-company-actions { border-top: 1px solid #e2e7ed; }
.desk-event-meta time { font-size: .82rem; }
.desk-message { white-space: pre-wrap; overflow-wrap: anywhere; margin: .55rem 0 0; }
.desk-files { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.desk-files a { display: inline-flex; align-items: center; gap: .45rem; overflow-wrap: anywhere; max-width: 100%; }
.desk-files svg { width: 1rem; flex: none; }
.desk-compose { background: #f8fafc; }
.desk-directory-filter { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; }
.desk-directory-filter label:first-child { flex: 1 1 16rem; }
.desk-directory-heading { margin-bottom: 1rem; }
.desk-add-company { position: relative; }
.desk-add-company form { position: absolute; top: 100%; right: 0; z-index: 2; width: min(19rem, 88vw); }
.desk-companies { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.desk-companies .card { margin: 0; }
.desk-company-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .85rem; overflow-wrap: anywhere; }
.desk-company-head svg { flex: none; width: 2.35rem; height: 2.35rem; padding: .55rem; border-radius: .5rem; background: #eef2f6; color: #45576b; }
.desk-company-links { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.2rem 0 .75rem; }
.desk-company-links a { color: #42516a; }
.desk-company-links strong { display: block; font-size: 1.4rem; color: #202d40; }
.desk-company-actions { padding: .8rem 1.25rem; }
@media (max-width: 900px) {
	.desk-detail { grid-template-columns: 1fr; grid-template-areas: "facts" "thread"; gap: 0; }
}
@media (max-width: 575px) {
	.desk-directory-heading { align-items: start; flex-direction: column; }
	.desk-add-company { width: 100%; }
	.desk-add-company form { position: static; width: 100%; margin-top: .6rem; }
}
.desk-tabs { display: flex; flex-wrap: wrap; gap: .2rem; padding: .45rem .8rem 0; border-bottom: 1px solid #dee4eb; }
.desk-tabs a { color: #485469; padding: .75rem .6rem; font-weight: 600; border-bottom: 2px solid transparent; }
.desk-tabs a[aria-current] { color: #242e40; border-color: #dc172b; }
.desk-tabs span { background: #e2eaf4; padding: .12rem .4rem; border-radius: 5px; }
.desk-file-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem; border-top: 1px solid #e2e7ed; padding: .9rem 1.4rem; overflow-wrap: anywhere; }
.desk-file-row small, .desk-progress progress { display: block; color: #617083; }
.desk-progress progress { width: 100%; height: .45rem; accent-color: #24744e; }
.desk-completed { text-decoration: line-through; color: #617083; }

ticket-upload { display: block; min-width: 0; }
ticket-upload .desk-drop {
	display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem;
	padding: 1.1rem; margin: 0; border: 1px dashed #a1b1c4; border-radius: .65rem;
	background: #f4f7fb; color: #263750; cursor: pointer; position: relative;
}
.desk-upload-icon { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; color: #385576; border-radius: .65rem; background: #e4ecf6; }
.desk-upload-icon svg { width: 1.45rem; height: 1.45rem; }
.desk-drop small, .desk-upload-list small { color: #586b80; }
.desk-drop small { display: block; }
.desk-browse { display: none; }
ticket-upload.enhanced .desk-browse { display: block; margin-left: auto; padding: .42rem .75rem; border: 1px solid #bbc7d5; background: white; border-radius: .4rem; font-weight: 600; }
ticket-upload.enhanced .desk-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.desk-drop:focus-within, .desk-drop.dragging { outline: 2px solid #395f8e; outline-offset: 2px; background: #edf4ff; }
.desk-upload-list, .desk-upload-note { padding: 0; margin: 0; }
.desk-upload-list li { display: grid; grid-template-columns: 2.6rem 1fr auto auto; align-items: center; gap: .65rem; padding: .5rem 0; border-bottom: 1px solid #dce4ed; }
.desk-upload-list strong { overflow-wrap: anywhere; min-width: 0; }
.desk-file-preview { display: grid; place-items: center; height: 2.3rem; border-radius: .35rem; overflow: hidden; background: #e6edf4; color: #334766; font-size: .68rem; font-weight: 700; }
.desk-file-preview img { width: 100%; height: 100%; object-fit: cover; }
.desk-upload-list button { border: 0; border-radius: .35rem; background: transparent; color: #45576f; font-size: 1.45rem; min-width: 2.5rem; min-height: 2.5rem; }
.desk-upload-list button:hover { background: #f8e7e9; }
.desk-upload-note:not(:empty) { margin-top: .55rem; }
ticket-upload progress:not([hidden]) { display: block; width: 100%; height: .5rem; margin-top: .5rem; accent-color: #24744e; }
@media (max-width: 575px) {
	ticket-upload.enhanced .desk-browse { margin-left: 0; }
	.desk-upload-list li { gap: .4rem; }
}

.desk-check-row button:focus-visible { outline: 2px solid #245481; outline-offset: 2px; }
[data-ticket-status] small:not(:empty) { display: block; margin-top: .45rem; }
.desk-check-row { border-top: 1px solid #e2e7ed; }
.desk-check-row button { display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; padding: .9rem 1.4rem; border: 0; color: inherit; background: transparent; overflow-wrap: anywhere; }
.desk-check-row button:hover { background: #f5f8fb; }
.desk-check-box { flex: none; width: 1.2rem; height: 1.2rem; border: 1px solid #75859a; border-radius: .3rem; display: grid; place-items: center; line-height: 1; }
.desk-check-row [aria-pressed="true"] .desk-check-box { color: white; background: #256644; border-color: #256644; }
.desk-check-row small { display: block; color: #617083; }

.desk-state-menu { position: relative; }
.desk-state-menu summary, .desk-state-options button {
	display: flex; align-items: center; justify-content: space-between; width: 100%; gap: .75rem;
}
.desk-state-menu summary {
	list-style: none; cursor: pointer; padding: .55rem .75rem; border: 1px solid #c5d0dd;
	border-radius: .65rem; background: #fff; box-shadow: 0 1px 3px #2038580c;
}
.desk-state-menu summary::-webkit-details-marker { display: none; }
.desk-state-menu summary svg { width: 1rem; height: 1rem; color: #536780; }
.desk-state-menu[open] summary svg { transform: rotate(180deg); }
.desk-state-menu[open] summary, .desk-state-menu summary:hover { border-color: #8499b1; }
.desk-state-options {
	position: absolute; z-index: 5; inset: calc(100% + .35rem) 0 auto; padding: .3rem;
	border: 1px solid #d9e0e9; border-radius: .7rem; background: #fff; box-shadow: 0 .5rem 1.5rem #20385823;
}
.desk-state-options button { padding: .45rem; border: 0; border-radius: .4rem; background: transparent; }
.desk-state-options button:hover, .desk-state-options button[aria-pressed="true"] { background: #f0f4f8; }
.desk-state-check { visibility: hidden; color: #334e68; font-weight: 700; padding-right: .25rem; }
.desk-state-options button[aria-pressed="true"] .desk-state-check { visibility: visible; }
.desk-state-menu :focus-visible { outline: 2px solid #385c88; outline-offset: 1px; }

:root { --wn-action:#2056aa; --wn-ink:#1f324d; --wn-line:#dbe3ed; --wn-surface:#fff; --wn-radius:.65rem; --wn-space:1rem; }
.desk-detail .btn-primary,.wn-create .btn-primary,.ticket-fields .btn-primary,.navbar .page-actions .btn-primary { background:var(--wn-action); border-color:var(--wn-action); color:white; }
.wn-create { display:grid; gap:var(--wn-space); max-width:58rem; }
.wn-create button { justify-self:start; }
.wn-editor-modes { padding:.7rem 1rem; display:flex; gap:.4rem; }
.wn-editor-modes button { background:white; border:1px solid var(--wn-line); border-radius:.4rem; padding:.4rem .7rem; }
.wn-editor-modes [aria-pressed=true] { background:#e6effe; color:#193e78; }
.wn-note { background:#faf6ed; }
.wn-audit { font-size:.88rem; color:#526276; padding-block:.6rem; }
.wn-unread { display:inline-block; color:#194f9b; font-weight:600; margin-left:.4em; }
.desk-status[data-status="Așteaptă răspunsul tău"] { background:#fff1d2; color:#744d0a; }
.wn-prompt { border:1px solid var(--wn-line); border-radius:var(--wn-radius); color:var(--wn-ink); }
.wn-prompt { width:min(32rem,92vw); }
.wn-prompt label { display:block; margin:1rem 0; }
.wn-prompt::backdrop { background:#17283b70; }
[hidden].desk-compose,[hidden][data-bulk-value],[hidden][data-bulk-message] { display:none!important; }
@media (prefers-reduced-motion:reduce) { .desk-detail * { scroll-behavior:auto!important; transition:none!important; } }
.wn-ticket-context {
	display:flex; align-items:center; flex-wrap:wrap; gap:.5rem .7rem; margin:calc(-1 * var(--workspace-top)) calc(-1 * var(--workspace-side)) .85rem;
	padding:.65rem var(--workspace-side); background:#fff; border-bottom:1px solid #e1e7ef;
	font-size:.82rem; font-weight:550; color:#495f76;
}
.wn-ticket-context > div { display:flex; align-items:center; min-width:0; gap:.7rem; }
.wn-ticket-context > div + div::before { content:""; flex:none; width:3px; height:3px; border-radius:50%; background:#8796a6; }
.wn-ticket-context dd { display:flex; align-items:center; gap:.4rem; margin:0; overflow-wrap:anywhere; }
.wn-ticket-context time { font-variant-numeric:tabular-nums; }
.wn-ticket-context :is(svg,i) { width:.95rem; height:.95rem; flex:none; }
.wn-ticket-context .wn-avatar { width:1.5rem; height:1.5rem; }
.wn-ticket-context .wn-overdue { color:#a53345; font-weight:650; }
@media(max-width:575px) {
	.wn-ticket-context { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem .5rem; }
	.wn-ticket-context > div:nth-child(odd)::before { display:none; }
}
@media(max-width:900px) {
	.desk-detail { display:flex; flex-direction:column; }
	.desk-detail>.desk-thread,.desk-detail>.desk-facts { width:100%; }
	.desk-detail>.desk-thread { order:1; }
	.desk-detail>.desk-facts { order:2; }
}
.desk-files a,.desk-tabs a[aria-current] { color:var(--wn-action); }
.desk-tabs a[aria-current] { border-color:var(--wn-action); }
.wn-workspace { --uf-accent:var(--wn-action); --uf-accent-icon:#82adf4; }
.wn-workspace .workspace-switcher-option.active { background:var(--wn-action); }
.wn-workspace .desk-check-row button:focus-visible,.wn-workspace a:focus-visible { outline:2px solid #2c67ab; outline-offset:2px; }
.wn-facts-toggle { display:none; }
.wn-history-group { padding:.6rem 1.4rem; border-top:1px solid var(--wn-line); color:#526276; }
.wn-history-group .desk-event { padding:.5rem 0; }
@media(max-width:900px) {
	.desk-detail>.desk-facts { order:0; }
	.wn-facts-toggle { display:inline-block; margin-top:.7rem; }
	.desk-facts:not(.wn-expanded) .desk-properties,.desk-facts:not(.wn-expanded) .desk-edit,.desk-facts:not(.wn-expanded) .card-body+.card-body { display:none; }
}

.wn-field-title { font-size:.83rem; font-weight:600; color:#41536b; }
.desk-edit form:is([data-assignment-form],[data-priority-form]) { gap:.35rem; }
.wn-picker { position:relative; min-width:0; }
.wn-picker summary { display:flex; justify-content:space-between; align-items:center; gap:.55rem; min-height:2.65rem; padding:.4rem .65rem; border:1px solid #c5d0dd; background:#fff; border-radius:.65rem; cursor:pointer; }
.wn-picker summary::-webkit-details-marker { display:none; }
.wn-chevron { width:.5rem;height:.5rem;flex:none;border:solid #596d84;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-right:.25rem; }
.wn-picker[open] .wn-chevron { transform:rotate(225deg); }
.wn-picker-pop { position:absolute; z-index:9; top:calc(100% + .25rem); inset-inline:0; padding:.55rem; background:white; border:1px solid #cbd5e1; border-radius:.65rem; box-shadow:0 .65rem 1.6rem #20385824; }
.wn-person-list { max-height:14rem; overflow:auto; margin:.4rem 0; }
.wn-person-row { display:flex; align-items:center; gap:.55rem; padding:.45rem .3rem; cursor:pointer; overflow-wrap:anywhere; }
.wn-person-row[hidden] { display:none; }
.wn-person-row input { accent-color:var(--wn-action); }
.wn-avatar { display:inline-grid; place-items:center; flex:none; width:1.65rem; height:1.65rem; border-radius:50%; line-height:1; font-size:.67rem; font-weight:700; background:#dbeafa; color:#284f77; }
.wn-avatar[data-tone="1"] { background:#f3dfcf;color:#79441d; }
.wn-avatar[data-tone="2"] { background:#e5def5;color:#564080; }
.wn-avatar[data-tone="3"] { background:#ceeade;color:#21583d; }
.wn-avatar[data-tone="4"] { background:#f3dee5;color:#773953; }
.wn-people-summary,.wn-person-chip { display:flex; align-items:center; gap:.3rem; flex-wrap:wrap; }
.wn-person-chip { font-weight:500;font-size:.81rem; padding:.15rem .45rem .15rem .15rem; border-radius:5px;background:#f0f4f8; }
.wn-priority { display:inline-flex; align-items:center; gap:.45rem; padding:.22rem .65rem; border-radius:5px; font-weight:500; font-size:.82rem; color:#35577b;background:#e1ecf8; }
.wn-priority::before { content:""; width:.55rem;height:.55rem;background:currentColor;transform:rotate(45deg);border-radius:2px; }
.wn-priority[data-priority="Scăzută"] { color:#296450;background:#dcf1e6; }
.wn-priority[data-priority="Ridicată"],.desk-status[data-status="Așteaptă intern"] { color:#8b4b0e;background:#ffebc9; }
.wn-priority[data-priority="Urgentă"] { color:#a42645;background:#ffdae3; }
.desk-status[data-status="De făcut"] { color:#375f79;background:#deeff8; }
.desk-status[data-status="Închis"] { color:#40516b;background:#dfe5ef; }
.wn-priority-option { display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:white;border-radius:.4rem;padding:.45rem; }
.wn-priority-option:hover,.wn-person-row:hover,.wn-priority-option[aria-pressed=true] { background:#f2f5fa; }
.wn-picker :focus-visible { outline:2px solid #385c88;outline-offset:1px; }
ticket-choice { display:block; min-width:0; }
.wn-choice-person .wn-company-avatar { width:26px; height:26px; padding:2px; font-size:.66rem; line-height:1; }
.wn-choice-person { display:inline-flex; align-items:center; gap:.45rem; }
ticket-choice .select2-selection--single { display:flex;align-items:center;min-height:2.45rem; }
ticket-choice .select2-selection--multiple { min-height:2.45rem; }
ticket-choice .select2-container .select2-selection { border:1px solid #c5d0dd; border-radius:.55rem; }
.select2-results__option--highlighted .wn-choice-person { color:inherit; }

/* Closed ticket controls share one surface; colour belongs to the selected value. */
.wn-workspace {
	--wn-control-fill: #f4f7fa;
	--wn-control-line: #d7e0e9;
	--wn-control-focus: #3269ad;
}
.desk-state-menu > summary,
.wn-picker > summary,
ticket-choice .select2-container--default .select2-selection {
	min-width: 0;
	min-height: 40px;
	border: 1px solid var(--wn-control-line);
	border-radius: .55rem;
	background: var(--wn-control-fill);
	box-shadow: none;
}
.desk-state-menu > summary, .wn-picker > summary { padding: .42rem .7rem; }
ticket-choice .select2-container--default .select2-selection--single {
	height: 40px !important;
	min-height: 40px !important;
}
ticket-choice .select2-selection--single .select2-selection__rendered {
	padding: 0 2rem 0 .7rem;
	line-height: 1.35;
}
ticket-choice[data-kind="company"] .select2-selection--single .select2-selection__rendered {
	display: flex;
	align-items: center;
	height: 100%;
	line-height: 1.35;
}
.wn-picker > summary .wn-priority,
ticket-choice .select2-selection--single :is(.desk-status,.wn-priority) {
	padding: 0;
	background: transparent;
	font-size: .85rem;
	font-weight: 500;
}
.wn-picker > summary .wn-person-chip { padding: 0; background: transparent; }
.wn-picker > summary .wn-people-summary { min-width: 0; gap: .35rem .65rem; overflow-wrap: anywhere; }
ticket-choice .select2-container--default .select2-selection--single .select2-selection__arrow {
	width: 1.9rem;
	background: transparent;
	border: 0;
}
ticket-choice .select2-selection--single .select2-selection__arrow b { display: none; }
.wn-chevron, ticket-choice .select2-selection::after {
	width: .46rem; height: .46rem;
	border: solid #65778a; border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}
ticket-choice .select2-selection { position: relative; }
ticket-choice .select2-selection::after {
	content: ""; position: absolute; top: calc(50% - .34rem); right: .78rem; pointer-events: none;
}
ticket-choice .select2-container--open .select2-selection::after { transform: rotate(225deg); top: calc(50% - .15rem); }
ticket-choice .select2-selection--multiple { padding: .15rem 1.9rem .15rem .4rem; }
ticket-choice .select2-selection--multiple .select2-selection__choice {
	max-width: 100%; white-space: normal; overflow-wrap: anywhere;
	background: #fff; border: 1px solid var(--wn-control-line); border-radius: 5px;
}
.wn-picker[open] > summary, .desk-state-menu[open] > summary,
.wn-picker > summary:focus-visible, .desk-state-menu > summary:focus-visible,
ticket-choice .select2-container:is(.select2-container--focus,.select2-container--open) .select2-selection {
	border-color: var(--wn-control-focus); box-shadow: 0 0 0 2px #3269ad24; background: #fff;
}


ticket-date { display:block; min-width:0; }
ticket-date:has(.wn-date-trigger) label { margin-bottom:.3rem; }
.wn-date-trigger { width:100%; min-height:40px; display:flex; align-items:center; gap:.65rem; padding:.45rem .7rem; color:#334a65; font-weight:600; background:var(--wn-control-fill); border:1px solid var(--wn-control-line); border-radius:.55rem; }
.wn-date-trigger .wn-chevron { margin-left:auto; }
.wn-date-trigger[aria-expanded=true] .wn-chevron { transform:rotate(225deg); }
.wn-calendar-icon { width:1rem; height:.95rem; border:1.6px solid currentColor; border-radius:.2rem; background:linear-gradient(to bottom, transparent 26%,currentColor 26%,currentColor 37%,transparent 37%); }
.wn-calendar { position:fixed; inset:auto; margin:0; padding:.85rem; width:min(19rem,calc(100vw - 16px)); max-height:calc(100dvh - 16px); overflow:auto; border:1px solid #ced9e5; border-radius:.8rem; background:white; color:#263c55; box-shadow:0 .8rem 2rem #20385825; }
.wn-calendar button { color:inherit; border:0; border-radius:.45rem; background:transparent; }
.wn-month,.wn-date-actions { display:flex; align-items:center; gap:.25rem; }
.wn-month strong { margin-right:auto; font-size:1rem; text-transform:capitalize; }
.wn-month button { width:2.25rem; height:2.25rem; font-size:1.4rem; }
.wn-week,.wn-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); text-align:center; }
.wn-week { margin:.65rem 0 .25rem; color:#55677c; font-size:.76rem; font-weight:600; }
.wn-days button { min-height:2.15rem; padding:0; font-variant-numeric:tabular-nums; }
.wn-days .wn-other-month { color:#68798b; }
.wn-days [aria-current=date] { font-weight:750; text-decoration:underline; text-underline-offset:3px; }
.wn-calendar button:hover { background:#edf3fb; }
.wn-days [aria-pressed=true] { color:white; background:var(--wn-action,#2056aa); }
.wn-date-actions { border-top:1px solid #e1e7ed; padding-top:.5rem; margin-top:.5rem; }
.wn-date-actions button { padding:.4rem .55rem; color:#24568b; font-weight:600; }
.wn-date-actions [data-clear] { margin-left:auto; }
.wn-date-trigger:focus-visible,.wn-calendar button:focus-visible { outline:2px solid #3269ad; outline-offset:-2px; }

.desk-thread { --thread-gutter:clamp(.8rem,2vw,1.5rem); min-width:0; }
.desk-tabs.wn-section-tabs { padding:.65rem var(--thread-gutter,1rem); gap:.3rem; background:#f6f8fb; border-radius:inherit; border-bottom-left-radius:0; border-bottom-right-radius:0; }
.desk-tabs.wn-section-tabs a { display:inline-flex; align-items:center; gap:.4rem; padding:.5rem .7rem; border:1px solid transparent; border-radius:.5rem; }
.desk-tabs.wn-section-tabs a[aria-current] { border-color:#cdd9e8; background:white; color:#244f82; box-shadow:0 1px 2px #2339530b; }
.desk-tabs.wn-section-tabs svg,.wn-thread-head svg,.wn-editor-modes svg,.wn-send-row svg { width:1rem; height:1rem; }
.desk-tabs.wn-section-tabs span { font-size:.74rem; }
.wn-thread-head { padding:.95rem var(--thread-gutter) .25rem; }
.wn-stream { padding:0 var(--thread-gutter) 1rem; }
.wn-stream-day { display:flex; align-items:center; gap:.65rem; margin:.85rem 0; color:#53657a; font-size:.75rem; font-variant-numeric:tabular-nums; }
.wn-stream-day::after { content:""; flex:1; border-top:1px solid #e2e8f0; }
.wn-stream-entry { display:grid; grid-template-columns:2rem minmax(0,1fr); gap:.65rem; margin:.55rem 0; align-items:start; }
.wn-stream-entry > .wn-avatar { width:2rem; height:2rem; margin-top:.15rem; font-size:.72rem; }
.wn-message-card { min-width:0; padding:.65rem .9rem; background:#f4f7fb; border-radius:0 .75rem .75rem .75rem; }
.wn-message-card .desk-event-meta { justify-content:flex-start; gap:.35rem .6rem; }
.wn-message-card time { margin-left:auto; font-variant-numeric:tabular-nums; }
.wn-message-card .desk-message { margin:.25rem 0 0; line-height:1.55; }
.wn-private-entry .wn-message-card { background:#faf6ed; }
.wn-private-mark { display:inline-flex; align-items:center; gap:.3rem; color:#745117; font-size:.76rem; }
.wn-private-mark svg { width:.85rem; height:.85rem; }
.wn-message-card .desk-files a { padding:.3rem .55rem; border:1px solid #cbd8e7; background:#fff; border-radius:.4rem; color:#245583; }
.wn-stream .wn-history-group { margin:.6rem 0 .6rem 2.65rem; padding:.25rem 0; border:0; }
.wn-history-group summary { cursor:pointer; color:#536479; font-size:.8rem; }
.wn-history-group summary svg { width:.9rem; height:.9rem; vertical-align:-.1rem; }
.wn-history-group summary span { padding-left:.4rem; color:#647389; }
.wn-history-change { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem .45rem; margin-top:.35rem; font-size:.85rem; color:#485d73; overflow-wrap:anywhere; }
.wn-history-label { display:inline-flex; align-items:center; gap:.35rem; max-width:100%; }
.wn-history-change svg { width:.85rem; height:.85rem; flex:none; color:#61758b; }
.wn-history-value { max-width:100%; padding:.1rem .5rem; border:1px solid #dce4ed; border-radius:5px; background:white; }
.wn-history-current { background:#e6eff8; border-color:#d6e3f0; color:#294c6d; }
.wn-reply-box { margin:var(--thread-gutter) var(--thread-gutter) 0; border:1px solid #c9d6e5; border-radius:.75rem; overflow:hidden; }
.wn-reply-box .wn-editor-modes { padding:.5rem .75rem; background:#edf2f8; }
.wn-editor-modes button { display:inline-flex; align-items:center; gap:.35rem; }
.wn-reply-box .wn-editor-modes [aria-pressed=false] { background:transparent; border-color:transparent; }
.wn-reply-box .wn-editor-modes [aria-pressed=true] { background:white; border-color:#c5d2e2; }
.wn-reply-box .desk-compose { padding:1rem; background:white; }
.wn-reply-box .desk-compose.wn-note { background:#fff8e8; }
.wn-reply-box .desk-drop { padding:.65rem .75rem; }
.wn-send-row { display:flex; justify-content:space-between; align-items:end; flex-wrap:wrap; gap:.6rem; }
.wn-send-row > button:only-child { margin-left:auto; }
@media(max-width:575px) {
	.desk-tabs.wn-section-tabs { gap:.12rem; padding:.45rem; }
	.desk-tabs.wn-section-tabs a { padding:.45rem .32rem; gap:.23rem; }
	.wn-reply-box .desk-compose { padding:.75rem; }
	.wn-send-row > button { flex:1 1 auto; }
}

.wn-reply-box {
	margin:0; padding:1rem var(--thread-gutter) .85rem; border:0;
	border-bottom:1px solid var(--wn-line); border-radius:0; background:white; overflow:visible;
}
.wn-reply-box .wn-editor-modes {
	display:inline-flex; flex-wrap:wrap; gap:.15rem; padding:.18rem;
	background:#edf2f7; border-radius:.55rem;
}
.wn-reply-box .wn-editor-modes button {
	min-height:2rem; border:0; border-radius:.4rem; padding:.35rem .65rem; color:#536479; font-size:.82rem;
}
.wn-reply-box .wn-editor-modes [aria-pressed=true] { color:#224d7c; box-shadow:0 1px 3px #263b5524; }
.wn-reply-box .wn-editor-modes [data-editor=note][aria-pressed=true] { color:#754d15; background:#fff5d9; }
.wn-reply-box .desk-compose { border:0; padding:.25rem 0 0; gap:0; background:transparent; }
.wn-reply-box:has([data-editor=note][aria-pressed=true]) { background:#fffbf2; }
.wn-writing-area { display:block; min-width:0; }
.wn-writing-area textarea {
	display:block; width:100%; min-height:6rem; resize:vertical; padding:.8rem .25rem;
	color:#21334c; background:transparent; border:0; border-radius:.35rem; line-height:1.55; font:inherit;
}
.wn-writing-area textarea:focus-visible { outline:2px solid #99b4d2; outline-offset:-2px; }
.wn-writing-area textarea::placeholder { color:#61738a; }
.wn-reply-box .wn-send-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:.5rem; padding-top:.65rem; border-top:1px solid #e1e7ee; }
.wn-send-row > .btn { align-self:start; }
.wn-send-row ticket-upload .desk-drop {
	display:inline-flex; gap:.45rem; padding:.4rem .6rem; border:1px solid #d5dfe8; border-radius:.45rem; background:transparent;
}
.wn-send-row .desk-drop svg { width:1rem; height:1rem; }
.wn-file-hint { display:inline-block; color:#61738a; font-size:.73rem; margin:.25rem .45rem; }
.wn-reply-box .desk-compose.dragging { outline:2px dashed #4675ae; outline-offset:2px; background:#eff6ff; }
.wn-reply-box .wn-note .btn-primary { background:#79531a; border-color:#79531a; }
@media(max-width:575px) {
	.wn-file-hint { display:block; margin:.25rem 0; }
	.wn-reply-box .wn-editor-modes button { padding-inline:.45rem; }
}

thread-composer.wn-reply-box { display:block; padding:1rem var(--thread-gutter); border:0; background:transparent; }
.wn-compose-line { display:flex; align-items:center; gap:.6rem; }
.wn-compose-line > .wn-avatar { width:2.1rem; height:2.1rem; font-size:.76rem; }
.wn-compose-line button { min-height:2.55rem; border:0; border-radius:.55rem; background:transparent; color:#4d6279; }
.wn-compose-line .wn-compose-open { flex:1; min-width:0; text-align:start; font-weight:500; padding:.5rem .9rem; background:#f1f5f9; }
.wn-compose-line .wn-compose-open:hover { background:#e8eff6; color:#284967; }
.wn-compose-note { display:inline-flex; align-items:center; gap:.38rem; padding:0 .5rem; }
.wn-compose-line svg { width:1rem; height:1rem; }
.wn-compose-line [data-open-text],.wn-compose-fold { display:none; }
thread-composer[data-mode=public] [data-editor=public],thread-composer[data-mode=note] [data-editor=note] { color:#194978; background:#e9f1fb; font-weight:650; }
thread-composer[data-mode=note] [data-editor=note] { background:#faedce; color:#75511c; }
thread-composer:is([data-mode=public],[data-mode=note]) [data-idle-text] { display:none; }
thread-composer:is([data-mode=public],[data-mode=note]) :is([data-open-text],.wn-compose-fold) { display:inline-block; }
.wn-compose-fold { flex:none; width:2rem; }
.wn-compose-line .wn-has-draft::after { content:" •"; color:#2767ac; }
thread-composer .desk-compose { margin:.65rem 0 0 1rem; padding:0 0 0 1.55rem; background:transparent; }
thread-composer .desk-compose.wn-note { background:#faf6ed; border-left:0; }
thread-composer .wn-send-row { border:0; padding:.35rem 0; }
thread-composer .wn-writing-area textarea { min-height:5.5rem; }
.wn-compose-line button:focus-visible { outline:2px solid #3269ad; outline-offset:2px; }
@media(max-width:575px) {
	.wn-compose-line { gap:.25rem; }
	.wn-compose-line .wn-compose-open { padding-inline:.5rem; }
	thread-composer .desk-compose { margin-left:0; padding:0 0 0 .7rem; }
}

ticket-pluto-editor { display:block; min-width:0; }
.pluto-editor__toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:.3rem; padding:.2rem 0 .4rem; }
.pluto-editor__toolbar[hidden], ticket-pluto-editor label[hidden] { display:none; }
.pluto-editor__toolbar-group { display:flex; align-items:center; gap:.12rem; }
.pluto-editor__toolbar-group + .pluto-editor__toolbar-group { border-inline-start:1px solid #dce3ea; padding-inline-start:.35rem; }
.pluto-editor__button, .pluto-editor__format-select { border:0; color:#42546a; background:transparent; border-radius:.35rem; }
.pluto-editor__button { display:grid; place-items:center; min-width:1.95rem; height:1.95rem; font-weight:600; }
.pluto-editor__button svg { width:.95rem; height:.95rem; }
.pluto-editor__button:hover, .pluto-editor__button[aria-pressed=true] { background:#e3edf9; color:#214c83; }
.pluto-editor__format-select { width:auto; font-size:.85rem; }
.pluto-editor__canvas {
	--editor-tint:#f1f6fc; --editor-edge:#d2dfed; --editor-accent:#507aa7;
	border:1px solid var(--editor-edge); background:linear-gradient(160deg,var(--editor-tint),white 48%);
	padding:1rem 1.2rem; min-height:9rem; color:#23364c; font-size:1rem;
	line-height:1.65; caret-color:var(--editor-accent); border-radius:.65rem;
}
.wn-note .pluto-editor__canvas { --editor-tint:#fcf5e8; --editor-edge:#e5d7bb; --editor-accent:#986c2c; }
.pluto-editor__canvas:focus { outline:2px solid var(--editor-accent); outline-offset:-1px; }
.pluto-editor__canvas blockquote { background:var(--editor-tint); padding:.45rem .8rem; border-radius:0 .35rem .35rem 0; }
.pluto-editor__canvas pre { background:#f3f5f7; padding:.65rem .8rem; border-radius:.4rem; }
@media(max-width:575px) {
	.pluto-editor__canvas { min-height:8rem; padding:.8rem .9rem; }
}
.pluto-editor__canvas:empty::before { content:attr(data-placeholder); color:#61738a; pointer-events:none; }
.pluto-editor__canvas, .wn-rich-message { overflow-wrap:anywhere; }
:is(.pluto-editor__canvas,.wn-rich-message) :is(p,ul,ol,pre,blockquote) { margin:0 0 .5rem; }
:is(.pluto-editor__canvas,.wn-rich-message) blockquote { border-left:3px solid #adc3de; padding-left:.75rem; }
:is(.pluto-editor__canvas,.wn-rich-message) pre { white-space:pre-wrap; }
thread-composer .wn-send-row { display:flex; justify-content:flex-end; }

.wn-subtasks { margin-bottom:.65rem; padding-bottom:.75rem; border-bottom:1px solid #dce4ec; }
.wn-subtask-create { padding:.85rem var(--thread-gutter); margin:0; }
.wn-subtask-create input { min-height:2.55rem; border:0; border-radius:.55rem; color:#21334c; }
.wn-subtask-create input::placeholder { color:#4d6279; opacity:1; }
.wn-subtask-create input:focus-visible { outline:2px solid #3269ad; }
.wn-subtask-add { display:inline-flex; align-items:center; gap:.3rem; padding-inline:.65rem; }
.wn-subtask-add:hover { background:#e8eff6; }
.wn-subtasks .desk-check-row { display:flex; align-items:center; padding-inline:var(--thread-gutter); }
.wn-subtasks .desk-check-row button[name=done] { flex:none; width:auto; padding:.15rem; margin-inline-end:.55rem; }
.wn-subtask-copy { flex:1; min-width:0; padding-block:.55rem; overflow-wrap:anywhere; }
.wn-subtask-copy > span { font-weight:600; }
.wn-subtask-copy small { font-size:.76rem; margin-top:.12rem; }
.wn-subtasks .wn-subtask-delete { flex:none; width:2.5rem; height:2.5rem; justify-content:center; padding:0; color:#64748b; border-radius:.5rem; }
.wn-subtasks .wn-subtask-delete:hover { color:#a22f42; background:#fff0f1; }
.wn-subtask-delete svg { width:1rem; height:1rem; }

.wn-message-tools { display:inline-flex; flex:none; align-items:center; gap:.1rem; }
.wn-message-tools[hidden] { display:none; }
.wn-message-tools button {
	display:grid; place-items:center; width:1.75rem; height:1.75rem; padding:0;
	border:0; border-radius:.4rem; background:transparent; color:#647386;
}
.wn-message-tools svg { width:.85rem; height:.85rem; }
.wn-message-tools button:is(:hover,:focus-visible) { background:#e1e9f1; color:#304b68; }
.wn-message-tools button[value=delete]:is(:hover,:focus-visible) { background:#fbe6e8; color:#9a3344; }
@media (pointer:coarse) { .wn-message-tools button { width:2rem; height:2rem; } }

.wn-edited { border:0; border-radius:5px; background:transparent; color:#52677d; padding:.18rem .3rem; font-size:.76rem; }
.wn-edited:is(:hover,:focus-visible,[aria-expanded=true]) { background:#e3ebf3; color:#264a70; text-decoration:underline; }
.wn-versions { margin-top:.65rem; padding:.75rem .85rem; border:1px solid #d9e2eb; border-radius:.55rem; background:#ffffffb8; }
.wn-versions article + article { margin-top:.6rem; border-top:1px solid #dce4ec; padding-top:.6rem; }
.wn-version-meta { font-size:.76rem; color:#53667b; margin-bottom:.25rem; }

.wn-attachment-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; }
.wn-file-icon {
	display:grid; place-items:center; width:2.2rem; height:2.2rem;
	border-radius:.55rem; background:#edf1f6; color:#53677f;
}
.wn-file-icon svg { width:1.1rem; height:1.1rem; }
.wn-file-icon[data-kind=grid] { background:#e4f3ea; color:#32674b; }
.wn-file-icon:is([data-kind=image],[data-kind=film]) { background:#eeeafa; color:#69548c; }
.wn-file-icon[data-kind=code] { background:#e6eff8; color:#375d86; }
.wn-file-icon[data-kind=book-open] { background:#fbe8e7; color:#984942; }
.wn-file-icon[data-kind=archive] { background:#faf0df; color:#805d29; }

.wn-file-preview {
	width:min(54rem,94vw); max-height:88dvh; padding:0; border:1px solid #d2dee9;
	border-radius:.85rem; background:#fff; color:#283e55; box-shadow:0 1.25rem 4rem #152e4433;
}
.wn-file-preview[open] { display:flex; flex-direction:column; }
.wn-file-preview::backdrop { background:#17283b75; }
.wn-file-preview header { display:flex; align-items:center; gap:.6rem; padding:.8rem 1rem; border-bottom:1px solid #dee6ee; }
.wn-file-preview h2 { flex:1; min-width:0; margin:0; overflow-wrap:anywhere; font-size:1rem; }
.wn-file-preview header button { border:0; border-radius:.4rem; background:#eff3f7; width:2rem; height:2rem; font-size:1.25rem; line-height:1; }
.wn-preview-content { overflow:auto; padding:1rem; min-height:6rem; }
.wn-preview-content :is(img,video) { display:block; max-width:100%; max-height:68dvh; margin:auto; }
.wn-preview-content iframe { display:block; width:100%; height:66dvh; border:0; }
.wn-preview-content :is(article,pre) { white-space:pre-wrap; overflow-wrap:anywhere; margin:0; }
.wn-preview-content caption { caption-side:top; }
.wn-preview-content td { max-width:34rem; overflow-wrap:anywhere; }

.desk-facts .card-body { padding:0; }
.wn-facts-head {
	display:flex; justify-content:space-between; align-items:center; gap:.6rem;
	padding:.85rem 1rem; background:#f6f8fb; border-bottom:1px solid #e1e7ef;
	border-radius:inherit; border-top-left-radius:.65rem; border-top-right-radius:.65rem;
}
.wn-facts-head h2 { display:flex; align-items:center; gap:.6rem; margin:0; font-size:.98rem; font-weight:650; color:#293f58; }
.wn-facts-head h2 svg { width:1rem; height:1rem; color:#54718e; }
.wn-facts-head .wn-facts-toggle { margin:0; padding:.25rem .45rem; font-size:.79rem; border-color:transparent; }
.wn-facts-toggle .wn-chevron { display:inline-block; width:.4rem; height:.4rem; margin:0 .12rem .15rem .25rem; }
.wn-facts-toggle[aria-expanded=true] .wn-chevron { transform:rotate(225deg); margin-bottom:0; }
.desk-facts [data-ticket-status],.desk-facts .desk-edit > form,.desk-facts .wn-ticket-assignees,.desk-facts .wn-facts-readonly,
.desk-facts ticket-date:has(.wn-date-trigger) {
	display:grid; grid-template-columns:4.2rem minmax(0,1fr); align-items:center;
	gap:.5rem; margin:0; padding:.55rem 1rem;
}
.desk-facts [data-ticket-status],.desk-facts .wn-facts-readonly { padding-top:.85rem; }
.desk-facts [data-ticket-status] small:empty { display:none; }
.desk-facts [data-ticket-status] small:not(:empty) { grid-column:1/-1; }
.desk-facts .desk-edit form:has(ticket-date) { display:block; padding:.55rem 1rem .85rem; }
.desk-facts ticket-date:has(.wn-date-trigger) { padding:0; }
.desk-facts .wn-field-title,.desk-facts .form-label { margin:0; color:#576a7f; font-size:.8rem; font-weight:550; }
.desk-facts :is(.desk-state-menu,.wn-picker) > summary,.desk-facts .wn-date-trigger {
	width:100%; min-height:2.25rem; padding:.35rem .5rem; border:1px solid transparent; border-radius:.5rem;
	background:#f3f6fa; color:#2b425d; gap:.45rem;
}
.desk-facts :is(.desk-state-menu,.wn-picker) > summary:hover,.desk-facts .wn-date-trigger:hover { background:#eaf0f6; border-color:#d2dde9; }
.desk-facts .wn-chevron { width:.4rem; height:.4rem; }
.desk-facts .wn-picker > summary .wn-people-summary { display:grid; gap:.3rem; }
.desk-facts .wn-picker > summary .wn-person-chip { flex-wrap:nowrap; }
.desk-facts .wn-person-chip .wn-avatar { width:1.35rem; height:1.35rem; font-size:.59rem; }
.desk-facts :is(.wn-picker-pop,.desk-state-options) { left:auto; right:0; width:max(100%,13rem); max-width:80vw; z-index:15; }
.desk-facts .wn-date-trigger { font-size:.83rem; }
.desk-facts .wn-date-overdue .wn-date-trigger { color:#9e3546; }
.desk-facts .wn-facts-readonly .desk-status { justify-self:start; }

.desk-status[data-status="Comeback"] { background:#ffe7c1; color:#904b0c; }

.ticket-filter-panel > summary { display:flex; align-items:center; gap:.55rem; padding:.85rem 1rem; }
.ticket-filter-panel > summary svg { width:15px; height:15px; }
.ticket-filter-panel > summary::after { content:""; width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); }
.ticket-filter-panel[open] > summary::after { transform:rotate(225deg); }
.wn-result-count { margin-left:auto; color:#52657a; font-size:.8rem; }
.ticket-filter-panel ticket-date > .form-label { margin-bottom:0 !important; }
.ticket-filter-panel > form { padding:0 1rem 1rem; gap:.65rem .85rem; }
.wn-ticket-results { overflow:hidden; }
.wn-ticket-list { width:100%; border-collapse:collapse; color:#273b50; }
.wn-ticket-list th { padding:.65rem .75rem; background:#f4f7fa; color:#546579; font-size:.74rem; font-weight:650; }
.wn-ticket-list td { padding:.85rem .75rem; border-top:1px solid #e3e9ef; vertical-align:middle; }
.wn-ticket-list tbody tr:hover, .wn-ticket-list tr:focus-within { background:#f8fafd; }
.wn-list-subject { width:42%; overflow-wrap:anywhere; }
.wn-list-subject a:where(:not(.wn-ticket-company)) { color:#223b55; font-weight:650; line-height:1.45; }

.wn-list-id { color:#66788c; font-size:.82em; font-variant-numeric:tabular-nums; margin-right:.15rem; }
.wn-list-activity { white-space:nowrap; font-variant-numeric:tabular-nums; }
.wn-list-activity small { display:block; color:#617284; }
.wn-list-reply { min-width:10rem; }
.wn-list-reply-person { display:flex; align-items:center; gap:.45rem; }
.wn-list-reply-person > span:last-child { display:grid; min-width:0; }
.wn-list-reply-person strong { max-width:11rem; overflow:hidden; color:#324b63; font-size:.8rem; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.wn-list-reply-person small { color:#617284; font-size:.72rem; white-space:nowrap; }
.wn-list-reply .wn-avatar { width:1.45rem; height:1.45rem; font-size:.58rem; }
.wn-ticket-list :is(.desk-status,.wn-priority) { white-space:nowrap; }
.wn-list-owners .wn-person-chip { flex-wrap:nowrap; }
@media(max-width:1050px) {
	.wn-ticket-list, .wn-ticket-list tbody { display:block; }
	.wn-ticket-list thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
	.wn-ticket-list tbody tr { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; padding:1rem; }
	.wn-ticket-list tbody tr + tr { border-top:1px solid #dee6ee; }
	.wn-ticket-list td { padding:0; border:0; }
	.wn-list-subject { flex:1 1 calc(100% - 2rem); }
	.wn-list-reply { flex:1 1 11rem; min-width:0; }
	.wn-list-activity { margin-left:auto; font-size:.76rem; }
	.wn-list-activity small { display:inline; }
}

.wn-company-layout { display:grid; grid-template-columns:clamp(15rem,20vw,18rem) minmax(0,1fr); align-items:start; gap:1rem; }
.wn-company-nav { position:sticky; top:0; padding:.8rem .5rem; margin:0; }
.wn-company-nav h2 { margin:.25rem .6rem .65rem; font-size:.9rem; }
.wn-company-links { display:grid; gap:2px; max-height:65vh; overflow:auto; }
.wn-company-links a { display:flex; align-items:center; gap:.55rem; padding:.55rem .6rem; border-radius:5px; color:#43566c; font-size:.82rem; overflow-wrap:anywhere; }
.wn-company-links .wn-company-avatar { width:26px; height:26px; padding:2px; border-radius:5px; font-size:.66rem; }
.wn-company-links svg { flex:none; width:15px; height:15px; }
.wn-company-links a:hover { background:#f2f5f9; }
.wn-company-links a[aria-current] { color:#235b96; background:#e5effb; font-weight:650; }
.wn-company-results { min-width:0; container-type:inline-size; }
@media(max-width:1199px) {
	.wn-company-layout { grid-template-columns:minmax(0,1fr); gap:.75rem; }
	.wn-company-nav { position:static; }
	.wn-company-links { display:flex; }
	.wn-company-links a { flex:none; }
}

.wn-ticket-results { overflow:visible; }
.wn-list-trigger,.wn-list-clip { display:inline-flex; align-items:center; gap:.35rem; background:transparent; border:0; border-radius:5px; color:#485d73; padding:.15rem; }
.wn-list-trigger:hover,.wn-list-clip:hover { background:#eef3f8; }
.wn-list-options { min-width:10rem; max-width:calc(100vw - 2rem); max-height:min(18rem,55vh); overflow:auto; }
.wn-list-options .wn-person-row { white-space:nowrap; }
.wn-list-clip { vertical-align:middle; color:#365d83; font-size:.75rem; padding:.15rem .35rem; }
.wn-list-clip svg { width:14px; height:14px; }
.wn-list-files { max-height:80dvh; overflow:auto; }
.wn-list-files .wn-attachment-row { padding:.7rem 1rem; }
.wn-ticket-list .wn-person-chip { flex-wrap:nowrap; }

.wn-ticket-list th a { display:inline-flex; align-items:center; gap:.25rem; color:inherit; white-space:nowrap; }
.wn-ticket-list th svg { width:12px; height:12px; }
.wn-ticket-list th[aria-sort] a { color:var(--wn-action); }
@media(max-width:1050px) {
	.wn-ticket-list thead { position:static; display:block; width:auto; height:auto; overflow:visible; clip-path:none; }
	.wn-ticket-list thead tr { display:flex; flex-wrap:wrap; background:#f4f7fa; padding:.35rem; }
	.wn-ticket-list thead th { padding:.3rem .45rem; }
}

a[href], a[href]:is(:hover,:focus-visible) { text-decoration:none !important; }
.wn-workspace .content a[href]:not(.btn):is(:hover,:focus-visible),
.wn-workspace .navbar .dropdown-item[href]:is(:hover,:focus-visible) { color:#1959a6; }

/* Internal document library */
.wn-library { --library-ink:#18324b; --library-muted:#64788b; --library-line:#dfe7ee; width:100%; max-width:76rem; margin-inline:auto; display:grid; gap:1rem; }
.wn-library-hero { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:.35rem .15rem .15rem; }
.wn-library-kicker { display:block; margin-bottom:.45rem; color:#7db6e1; font-size:.68rem; font-weight:750; letter-spacing:.13em; text-transform:uppercase; }
.wn-library-hero .wn-library-kicker { margin-bottom:.25rem; color:#c51f32; }
.wn-library-hero h2 { margin:0; color:var(--library-ink); font-size:1.55rem; line-height:1.15; letter-spacing:-.025em; }
.wn-library-hero p { margin:.3rem 0 0; color:var(--library-muted); font-size:.82rem; }
.wn-library-stats { display:flex; gap:.65rem; flex:none; }
.wn-library-stats span { min-width:6.5rem; padding:.65rem .8rem; border:1px solid var(--library-line); border-radius:8px; background:#fff; color:var(--library-muted); font-size:.65rem; text-transform:uppercase; letter-spacing:.06em; }
.wn-library-stats strong { display:block; color:var(--library-ink); font-size:.95rem; letter-spacing:0; text-transform:none; }
.wn-library-top { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(15rem,.75fr); gap:1rem; }
.wn-library-upload { margin:0; padding:.55rem; border:1px solid var(--library-line); box-shadow:0 8px 24px rgba(30,55,75,.055); }
.wn-library-drop { display:flex; min-height:6.6rem; align-items:center; justify-content:center; gap:1rem; padding:1rem 1.2rem; border:1px dashed #9bb0c2; border-radius:8px; background:#f8fafc; color:var(--library-ink); cursor:pointer; transition:border-color .18s ease,background-color .18s ease,transform .18s ease; }
.wn-library-drop:is(:hover,:focus-within),.wn-library-drop.is-dragging { border-color:#2c6c9d; background:#edf5fa; }
.wn-library-drop.is-dragging { transform:scale(.995); }
.wn-library-drop > input { position:absolute; width:1px; height:1px; opacity:0; }
.wn-library-drop strong,.wn-library-drop small { display:block; }
.wn-library-drop strong { font-size:.92rem; }
.wn-library-drop small { margin-top:.2rem; color:var(--library-muted); font-size:.76rem; font-weight:400; }
.wn-library-upload-icon { display:grid; place-items:center; width:3rem; height:3rem; border-radius:9px; background:#e8f1f8; color:#285d85; }
.wn-library-upload-icon svg { width:1.3rem; }
.wn-library-upload-status { display:block; min-height:1em; margin-top:.2rem; color:#28704b; font-size:.72rem; }
.wn-library-upload-status.is-error { color:#b42333; }
.wn-library-capacity { margin:0; padding:1.05rem 1.2rem; border:1px solid var(--library-line); box-shadow:none; }
.wn-library-capacity strong { display:block; color:var(--library-ink); font-size:1.35rem; }
.wn-library-capacity strong small { color:var(--library-muted); font-size:.72rem; font-weight:500; }
.wn-library-capacity p { margin:.6rem 0 0; color:var(--library-muted); font-size:.75rem; }
.wn-library-meter { height:6px; margin-top:.65rem; overflow:hidden; border-radius:999px; background:#e6edf3; }
.wn-library-meter span { display:block; height:100%; min-width:2px; border-radius:inherit; background:linear-gradient(90deg,#245e8a,#d9192e); }
.wn-library-index { margin:0; overflow:hidden; border:1px solid var(--library-line); box-shadow:0 10px 30px rgba(27,54,78,.055); }
.wn-library-index[aria-busy="true"] [data-document-results] { opacity:.5; pointer-events:none; }
.wn-library-toolbar { display:flex; align-items:end; justify-content:space-between; gap:1rem; padding:1.1rem 1.25rem; background:#f8fafc; }
.wn-library-toolbar h2 { margin:0; color:var(--library-ink); font-size:1.08rem; }
.wn-library-toolbar form { display:flex; align-items:center; gap:.5rem; width:min(24rem,100%); padding:.55rem .75rem; border:1px solid #d6e0e8; border-radius:8px; background:#fff; }
.wn-library-toolbar form svg { width:15px; color:#6c8092; }
.wn-library-toolbar input { width:100%; border:0; outline:0; color:var(--library-ink); background:transparent; font-size:.82rem; }
.wn-library-row { display:grid; grid-template-columns:3rem minmax(12rem,1fr) 6rem auto; align-items:center; gap:1rem; padding:.85rem 1.25rem; border-top:1px solid var(--library-line); transition:background-color .18s ease,transform .18s ease; }
.wn-library-row:hover { background:#fafcfd; }
.wn-library-type { position:relative; display:grid; place-items:center; width:2.7rem; height:3rem; border-radius:7px; background:#eaf1f7; color:#335d7d; }
.wn-library-type svg { width:1.1rem; }
.wn-library-type img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.wn-library-type small { position:absolute; right:-.25rem; bottom:-.15rem; padding:.12rem .28rem; border-radius:3px; background:#284d69; color:#fff; font-size:.48rem; font-weight:750; letter-spacing:.04em; }
.wn-library-name { min-width:0; }
.wn-library-name > a { display:block; overflow:hidden; color:#1f3e59; font-size:.9rem; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.wn-library-name > span { display:block; margin-top:.2rem; color:var(--library-muted); font-size:.74rem; }
.wn-library-size { color:#516b81; font-size:.76rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.wn-library-actions { display:flex; align-items:center; justify-content:flex-end; gap:.45rem; }
.wn-library-actions .wn-record-menu > button { width:2.25rem; height:2.25rem; padding:0; background:#fff; }
.wn-library-empty { display:grid; place-items:center; min-height:16rem; padding:2rem; text-align:center; color:var(--library-muted); }
.wn-library-empty svg { width:2rem; height:2rem; margin-bottom:.5rem; color:#8198aa; }
.wn-library-empty h3 { margin:0; color:var(--library-ink); font-size:1rem; }
.wn-library-empty p { margin:.35rem 0 0; font-size:.82rem; }
.wn-library-pages { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.5rem; padding:.8rem; border-top:1px solid var(--library-line); color:var(--library-muted); font-size:.78rem; }
@media(max-width:900px) {
	.wn-library-hero { align-items:flex-start; flex-direction:column; }
	.wn-library-top { grid-template-columns:1fr; }
}
@media(max-width:640px) {
	.wn-library-hero { padding:.2rem 0; }
	.wn-library-stats { width:100%; }
	.wn-library-stats span { flex:1; min-width:0; }
	.wn-library-drop { align-items:center; flex-direction:column; text-align:center; }
	.wn-library-toolbar { align-items:stretch; flex-direction:column; }
	.wn-library-toolbar form { width:100%; }
	.wn-library-row { grid-template-columns:2.7rem minmax(0,1fr) auto; gap:.7rem; padding:.85rem; }
	.wn-library-size { grid-column:2; }
	.wn-library-actions { grid-column:3; grid-row:1 / span 2; }
	.wn-library-actions > .btn { width:2.25rem; overflow:hidden; padding:.45rem; color:transparent; gap:0; }
	.wn-library-actions > .btn svg { color:#435b70; flex:none; }
}
@media(prefers-reduced-motion:reduce) { .wn-library-row { transition:none; } }

.wn-company-directory,.wn-company-editor { width:100%; max-width:72rem; margin-inline:auto; }
.wn-company-directory { overflow:hidden; }
.wn-directory-toolbar,.wn-directory-row,.wn-company-section { padding:1rem 1.25rem; }
.wn-directory-toolbar { display:flex; align-items:end; gap:.75rem; background:#f7f9fc; flex-wrap:wrap; }
.wn-directory-toolbar label:first-child { flex:1 1 14rem; }
.wn-directory-toolbar .form-label,.wn-company-form .form-label { margin:0!important; }
.wn-directory-row { display:grid; grid-template-columns:minmax(12rem,1fr) 5rem 7rem 9rem auto; gap:1rem; align-items:center; border-top:1px solid #e3e9f0; }
.wn-directory-row .desk-status { justify-self:start; }
.wn-directory-row:hover { background:#f8fafd; }
.wn-directory-identity,.wn-company-section,.wn-company-brand,.wn-company-related a { display:flex; align-items:center; gap:.8rem; }
.wn-directory-identity { min-width:0; color:#263e58; overflow-wrap:anywhere; }
.wn-directory-identity small,.wn-company-form small { display:block; color:#617288; font-weight:400; margin-top:.25rem; }
.wn-directory-stat { color:#445b72; font-size:.82rem; }
.wn-directory-row .btn svg,.wn-domain-edit svg { width:14px; height:14px; }
.wn-company-editor { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:1rem; align-items:start; }
.wn-company-editor:not(:has(aside)) { max-width:40rem; grid-template-columns:1fr; }
.wn-company-editor.wn-company-tabs { display:flex; flex-direction:column; align-items:stretch; max-width:72rem; }
.wn-company-editor.wn-company-tabs:not(:has(aside)) { max-width:72rem; }
.wn-company-heading .wn-company-profile { display:flex; align-items:center; gap:.85rem; padding:1rem 1.25rem; }
.wn-company-heading .wn-record-menu { margin-inline-start:auto; }
.wn-company-heading .desk-tabs { flex-wrap:nowrap; overflow-x:auto; border-top:1px solid #e3e9f0; border-bottom:0; }
.wn-company-tickets .wn-people-summary { flex-wrap:wrap; }
@media(max-width:820px) {
	.wn-company-tickets .wn-ticket-list .wn-list-id { display:inline; }
	.wn-company-tickets .wn-ticket-list tbody tr { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem .65rem; }
	.wn-company-tickets .wn-ticket-list .wn-list-subject { flex-basis:100%; }
	.wn-company-heading .wn-company-profile { padding:.85rem; }
}
.wn-company-editor .card { margin:0; }
.wn-company-editor aside,.wn-company-form,.wn-company-form form { display:grid; gap:1rem; }
.wn-company-form { padding:1.25rem; }
.wn-company-form form { gap:.5rem; justify-items:start; }
.wn-company-form form label,.wn-company-brand label { width:100%; min-width:0; }
.wn-company-section { border-bottom:1px solid #e3e9f0; color:#38516b; }
.wn-company-section h2 { margin:0; font-size:1rem; }
.wn-company-section svg,.wn-company-related svg { width:17px; height:17px; }
.wn-company-brand .wn-company-avatar { width:54px; height:54px; }
.wn-domain-edit summary { display:flex; align-items:center; justify-content:space-between; gap:.65rem; cursor:pointer; color:#345473; overflow-wrap:anywhere; }
.wn-domain-edit form { margin-top:.6rem; }
.wn-company-related { padding:.5rem 1.25rem; }
.wn-company-related a { padding:.55rem 0; }
@media(max-width:1000px) {
	.wn-directory-row { grid-template-columns:minmax(0,1fr) auto; gap:.5rem .8rem; }
	.wn-directory-row .btn { justify-self:start; }
	.wn-company-editor { grid-template-columns:minmax(0,1fr); }
}

.wn-company-profile.card { grid-column:1/-1; display:flex; flex-direction:row; align-items:center; gap:1rem; padding:1.25rem; background:linear-gradient(110deg,#edf4fb,#fff 70%); }
.wn-company-profile .wn-company-avatar { width:56px; height:56px; font-size:1.15rem; }
.wn-company-profile h2 { font-size:1.25rem; margin:0 0 .35rem; overflow-wrap:anywhere; }
.wn-company-profile .btn,.wn-company-users header .btn { margin-left:auto; }
.wn-company-profile .btn svg,.wn-user-edit svg { width:15px; height:15px; }
.wn-section-count { padding:.1rem .4rem; border-radius:5px; color:#47647f; background:#edf3f9; font-size:.75rem; }
.wn-company-users { grid-column:1/-1; }
.wn-company-users ul { list-style:none; padding:0; margin:0; }
.wn-company-users li { display:flex; align-items:center; gap:.75rem; padding:.8rem 1.25rem; }
.wn-company-users li + li { border-top:1px solid #e5ebf1; }
.wn-company-users .wn-avatar { width:2.15rem; height:2.15rem; font-size:.75rem; }
.wn-user-identity { display:grid; gap:.08rem; flex:1; min-width:0; overflow-wrap:anywhere; }
.wn-member-heading { display:flex; flex-wrap:wrap; align-items:center; gap:.25rem .55rem; }
.wn-user-identity > span { color:#56697b; font-size:.81rem; }
.wn-user-edit { display:grid; place-items:center; width:2rem; height:2rem; border-radius:5px; color:#526981; }
.wn-user-edit:hover { background:#edf3f8; }
@media(max-width:575px) {
	.wn-company-profile.card { flex-wrap:wrap; }
	.wn-company-profile .btn { margin-left:0; }
	.wn-company-users li { gap:.45rem; padding:.75rem; }
}
.wn-settings { display:block; width:100%; max-width:62rem; margin-inline:auto; }
.wn-settings .card { margin:0; min-width:0; }
.wn-settings [hidden] { display:none!important; }
.wn-account-cover { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; gap:1.15rem; padding:1.65rem 2rem; border-radius:12px 12px 0 0; color:#fff; background:linear-gradient(110deg,#19344c,#24546a); }
.wn-account-cover::after { content:""; position:absolute; z-index:-1; inset:0 0 0 50%; background:repeating-radial-gradient(ellipse at 105% 150%,transparent 0 18px,#ffffff12 19px 20px,transparent 21px 32px); }
.wn-account-cover h2 { color:inherit; font-size:clamp(1.25rem,3vw,1.65rem); font-weight:600; margin:0 0 .18rem; }
.wn-account-cover > div:last-child { min-width:0; overflow-wrap:anywhere; }
.wn-account-cover span { color:#d6e5ec; }
.wn-settings-avatar,.wn-account-thumb { overflow:hidden; border-radius:50%; object-fit:cover; }
.wn-account-thumb { width:30px; height:30px; }
.wn-settings-avatar { display:grid; place-items:center; flex:none; width:62px; height:62px; border:2px solid #ffffffaa; background:#deeeef; color:#245164; font-size:1.3rem; font-weight:600; }
.wn-settings-avatar img { width:100%; height:100%; object-fit:cover; }
.wn-settings svg { width:16px; height:16px; }
.wn-profile-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:1rem; align-items:start; }
.wn-account-heading { padding:1.1rem 1.25rem .9rem; border-bottom:1px solid #e6ebef; }
.wn-account-heading h2 { margin:0; font-size:1.05rem; font-weight:650; }
.wn-setting-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.wn-photo-picker { display:grid; position:relative; justify-items:center; gap:.45rem; border:1px dashed #a4b9c9; border-radius:8px; padding:1.4rem .7rem; text-align:center; background:#f4f8fa; color:#33546a; cursor:pointer; overflow-wrap:anywhere; }
.wn-photo-picker svg { width:26px; height:26px; }
.wn-photo-picker input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.wn-photo-picker:focus-within { outline:2px solid #286eab; }
.wn-settings-actions { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
.wn-settings-preferences > section > footer { padding:1rem 1.25rem; border-top:1px solid #e5ebf0; }
.wn-preference-table { width:100%; border-collapse:collapse; font-size:.88rem; }
.wn-preference-table :is(th,td) { padding:.64rem .7rem; text-align:center; }
.wn-preference-table th:first-child { text-align:left; padding-left:1.25rem; }
.wn-preference-table thead { background:#f2f6f9; font-size:.76rem; color:#425970; }
.wn-preference-table thead svg { width:13px; margin-right:.32rem; }
.wn-preference-table tbody th { font-weight:500; }
.wn-preference-table tbody tr + tr { border-top:1px solid #edf1f4; }
.wn-preference-table tbody tr:hover { background:#f7fafc; }
.wn-settings input[type=checkbox] { width:17px; height:17px; accent-color:#26699a; vertical-align:middle; cursor:pointer; }
.wn-push-device { display:flex; align-items:center; gap:.75rem; margin:1rem 1.25rem; padding:.8rem 1rem; border-radius:8px; background:#edf5f5; color:#2c4d53; }
.wn-push-device > svg { flex:none; width:21px; height:21px; }
.wn-push-device div { flex:1; }
.wn-push-device small { display:block; color:#4e696d; }
.wn-digest-body { display:grid; gap:1rem; padding:1.25rem; }
.wn-digest-body > label { max-width:24rem; }
.wn-digest-schedule { display:grid; align-content:start; gap:.45rem; padding:1rem; min-width:0; border:1px solid #d9e3e9; border-radius:8px; }
.wn-digest-schedule:has(.wn-digest-enable input:checked) { border-color:#94bdc0; }
.wn-digest-enable { display:flex; align-items:center; justify-content:space-between; background:#f1f6f8; border-radius:5px; padding:.7rem; margin-bottom:.4rem; }
.wn-digest-schedule h3 { font-size:.85rem; margin:.65rem 0 .15rem; }
.wn-digest-type { display:flex; align-items:center; gap:.55rem; }
@media(max-width:720px) {
	.wn-profile-grid,.wn-setting-pair { grid-template-columns:minmax(0,1fr); }
	.wn-account-cover { padding:1.1rem; }
	.wn-preference-table thead svg { display:none; }
	.wn-push-device { flex-wrap:wrap; margin:.85rem; }
	.wn-push-device div { min-width:10rem; }
	.wn-preference-table :is(th,td) { padding:.55rem .35rem; }
}

.wn-avatar img { width:100%; height:100%; border-radius:inherit; object-fit:cover; }
.wn-app-settings { margin:1rem 1.25rem; padding:1rem; border:1px solid #d8e5e9; border-radius:8px; background:#f6f9fa; }
.wn-app-settings-head,.wn-app-device { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.65rem; }
.wn-app-settings h3 { font-size:.95rem; margin:0; }
.wn-app-settings small,.wn-app-empty { color:#53697a; }
.wn-app-device { border-top:1px solid #dbe5eb; padding-top:.75rem; margin-top:.75rem; overflow-wrap:anywhere; }
.wn-app-device p,.wn-app-empty { font-size:.83rem; margin:.35rem 0 0; }
.wn-app-empty { margin-top:.8rem; }

.desk-facts details.desk-state-menu > summary,
.desk-facts details.desk-state-menu > summary:is(:hover,:active,:focus-visible) {
	width:fit-content;
	padding-inline:0;
	background:transparent;
	border-color:transparent;
	box-shadow:none;
	outline:none;
	-webkit-tap-highlight-color:transparent;
}
@media (hover:hover) {
	.desk-facts .desk-state-menu > summary:hover .desk-status { filter:brightness(.96); }
}
.desk-facts .desk-state-menu[open] > summary .desk-status,
.desk-facts .desk-state-menu > summary:active .desk-status { box-shadow:inset 0 0 0 1px currentColor; }
.desk-facts .desk-state-menu > summary:focus-visible .desk-status { outline:2px solid var(--wn-action); outline-offset:2px; }

.wn-message-author,.wn-message-stamp { display:inline-flex; align-items:center; flex-wrap:wrap; gap:2px 6px; min-width:0; }
.wn-message-stamp { margin-inline-start:auto; justify-content:flex-end; }
.wn-message-stamp time { margin:0; }

thread-composer:has(> [data-edit-fields]) > .wn-compose-line { display:none!important; }
thread-composer.wn-reply-box > [data-edit-fields] { display:grid; gap:.35rem; margin:0; padding:0; border:0; }
.desk-thread:has(thread-composer > [data-edit-fields]) { display:flex; flex-direction:column; }
.desk-thread > thread-composer:has(> [data-edit-fields]) { order:2; position:sticky; bottom:0; z-index:4; max-height:68dvh; overflow:auto; background:white; border-top:1px solid var(--wn-line); }

/* ToDo dashboard */
.wn-todo { display:grid; gap:1rem; padding-bottom:2rem; }
.wn-todo-intro { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding:1.45rem 1.65rem; background:#fff; border:1px solid #dce5f0; border-radius:12px; }
.wn-todo-eyebrow { margin:0 0 .25rem; color:#2665b5; font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.wn-todo-intro h2 { margin:0; font-size:1.5rem; font-weight:700; letter-spacing:-.025em; color:#142a46; }
.wn-todo-intro p:last-child { margin:.4rem 0 0; color:#5d7087; font-size:.89rem; }
.wn-todo-summary { display:flex; align-items:stretch; gap:.55rem; flex:none; }
.wn-todo-summary > div { display:grid; min-width:5.8rem; padding:.55rem .85rem; border-radius:8px; background:#f1f6fc; text-align:center; }
.wn-todo-summary strong { font-size:1.25rem; line-height:1.25; color:#153d72; }
.wn-todo-summary span { font-size:.72rem; color:#61748a; }
.wn-todo-summary > div:last-child strong { color:#c14446; }
.wn-todo-toolbar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.85rem; }
.wn-todo-tabs { display:flex; gap:.3rem; padding:.25rem; border:1px solid #dce5f0; border-radius:9px; background:#fff; }
.wn-todo-tabs a { padding:.48rem .9rem; border-radius:6px; color:#536a84; font-size:.85rem; font-weight:600; text-decoration:none; white-space:nowrap; }
.wn-todo-tabs a:is(:hover,:focus-visible) { color:#1754a5; background:#eff5fc; }
.wn-todo-tabs a[aria-current="page"] { color:#fff; background:#235ca9; }
.wn-todo-search { display:flex; align-items:center; gap:.55rem; min-width:min(100%,21rem); padding:.45rem .8rem; background:#fff; border:1px solid #dce5f0; border-radius:8px; color:#7a8ca0; }
.wn-todo-search:focus-within { border-color:#4281d0; box-shadow:0 0 0 3px #4281d01a; }
.wn-todo-search svg { width:1rem; height:1rem; flex:none; }
.wn-todo-search input { width:100%; min-width:0; border:0; outline:0; background:none; color:#203751; font-size:.85rem; }
.wn-todo-results { display:flex; justify-content:space-between; gap:1rem; align-items:center; color:#687c91; font-size:.82rem; }
.wn-todo-results strong { color:#274363; }
.wn-todo-error { margin:0; padding:.7rem .9rem; color:#a9363a; background:#fff1f1; border:1px solid #f2c8c8; border-radius:6px; }
.wn-todo-list { display:grid; gap:.55rem; }
.wn-todo-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:1rem; align-items:center; min-height:6.2rem; padding:1rem 1.25rem; background:#fff; border:1px solid #dfe7f1; border-radius:9px; transition:border-color .15s,box-shadow .15s,opacity .2s; }
.wn-todo-row:hover { border-color:#b7cce5; box-shadow:0 5px 18px #173d7010; }
.wn-todo-row.is-completing { opacity:.48; pointer-events:none; }
.wn-todo-row form { margin:0; }
.wn-todo-check { display:grid; place-items:center; width:2rem; height:2rem; padding:0; border:1.5px solid #a9bfd8; border-radius:7px; background:#fff; color:transparent; cursor:pointer; }
.wn-todo-check svg { width:1.05rem; height:1.05rem; stroke-width:2.7; }
.wn-todo-check:is(:hover,:focus-visible) { color:#fff; border-color:#2767b8; background:#2767b8; outline:none; box-shadow:0 0 0 3px #2767b82b; }
.wn-todo-main { min-width:0; }
.wn-todo-topline { display:flex; align-items:center; gap:.48rem; margin-bottom:.25rem; }
.wn-todo-kind { color:#66809d; font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.075em; }
.wn-todo-priority { width:.43rem; height:.43rem; border-radius:50%; background:#2e94bd; }
.wn-todo-priority[data-priority="Scăzută"] { background:#4587c9; }
.wn-todo-priority[data-priority="Normală"] { background:#199ba2; }
.wn-todo-priority[data-priority="Ridicată"] { background:#e39a24; }
.wn-todo-priority[data-priority="Urgentă"] { background:#df4852; }
.wn-todo-number { color:#627c99; font-size:.75rem; font-weight:600; text-decoration:none; }
.wn-todo-title { display:block; width:fit-content; max-width:100%; overflow-wrap:anywhere; color:#172f4d; font-size:.98rem; line-height:1.35; font-weight:650; text-decoration:none; }
.wn-todo-title:hover,.wn-todo-number:hover { color:#1c67ba; }
.wn-todo-parent { margin:.15rem 0 0; color:#687b92; font-size:.79rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wn-todo-meta { display:flex; align-items:center; gap:.9rem; margin-top:.45rem; color:#6a7d91; font-size:.77rem; }
.wn-todo-meta > span, .wn-ticket-company { display:inline-flex; align-items:center; gap:.35rem; min-width:0; }
.wn-todo-meta .wn-company-avatar, .wn-ticket-company .wn-company-avatar { width:1.18rem; height:1.18rem; font-size:.52rem; flex:none; }
.wn-todo-due svg { width:.8rem; height:.8rem; }
.wn-todo-due.is-overdue { color:#c83b47; font-weight:650; }
.wn-todo-end { display:flex; align-items:center; gap:.85rem; }
.wn-todo-open { display:grid; place-items:center; width:1.7rem; height:1.7rem; color:#7990aa; border-radius:5px; }
.wn-todo-open svg { width:1rem; height:1rem; }
.wn-todo-open:hover { color:#1c67ba; background:#edf4fc; }
.wn-todo-empty { display:grid; justify-items:center; padding:3.25rem 1rem; background:#fff; border:1px dashed #cbd9e8; border-radius:9px; text-align:center; }
.wn-todo-empty > span { display:grid; place-items:center; width:3rem; height:3rem; color:#2677bd; background:#eaf4ff; border-radius:10px; }
.wn-todo-empty h3 { margin:.85rem 0 .15rem; font-size:1.05rem; }
.wn-todo-empty p { margin:0; color:#6b7e91; font-size:.87rem; }
.wn-todo-pagination { display:flex; justify-content:center; align-items:center; gap:1rem; padding:.5rem; color:#6a7d91; font-size:.83rem; }
.wn-todo-pagination a { color:#215fab; font-weight:600; }
@media (max-width:780px) {
 .wn-todo-intro { align-items:stretch; flex-direction:column; padding:1.1rem; }
 .wn-todo-intro h2 { font-size:1.27rem; }
 .wn-todo-intro p:last-child { font-size:.79rem; }
 .wn-todo-summary { width:100%; }
 .wn-todo-summary > div { flex:1; min-width:0; }
 .wn-todo-toolbar { display:grid; grid-template-columns:minmax(0,1fr); }
 .wn-todo-tabs { width:100%; max-width:100%; justify-content:space-around; overflow:auto; }
 .wn-todo-search { width:100%; min-width:0; }
 .wn-todo-results small { display:none; }
 .wn-todo-row { grid-template-columns:auto minmax(0,1fr); gap:.7rem; padding:.88rem; }
 .wn-todo-end { grid-column:2; justify-content:space-between; }
 .wn-todo-title { font-size:.91rem; }
 .wn-todo-meta { flex-wrap:wrap; gap:.25rem .7rem; }
 .wn-todo-open { display:none; }
}

/* Account settings actions follow their sections on larger screens. */
.wn-settings-dock,.wn-settings-preferences > section > footer.wn-settings-actions { display:flex; align-items:center; gap:.55rem; background:#fff; }
.wn-settings-dock[hidden] { display:none; }
.wn-settings-dock { justify-content:flex-end; margin:0; padding:1rem 1.25rem; border:0; border-top:1px solid #e5ebf0; }
.wn-settings-preferences > section > footer.wn-settings-actions { justify-content:flex-end; }
.wn-photo-feedback { display:flex; justify-content:space-between; align-items:center; gap:.5rem; min-height:1.5rem; margin-top:.55rem; color:#587089; font-size:.8rem; }
.wn-photo-remove { padding:0; border:0; background:none; color:#38699c; font:inherit; cursor:pointer; }
.wn-photo-remove:is(:hover,:focus-visible) { color:#164f8b; text-decoration:underline; }
.wn-photo-picker:has(input:disabled) { opacity:.65; pointer-events:none; }
.wn-device-dock [data-active-device-name] { flex:1; min-width:0; color:#526b84; font-size:.83rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.wn-account-channel-note { margin:0; padding:1rem 1.25rem; color:#587089; font-size:.87rem; }
.wn-account-devices .wn-account-heading p { margin:.35rem 0 0; color:#62768b; font-size:.85rem; }
.wn-device-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr)); gap:1rem; padding:1.25rem; }
.wn-device-card { min-width:0; border:1px solid #dce5ee; border-radius:10px; background:#fbfdff; overflow:hidden; }
.wn-device-card > header { display:flex; align-items:center; gap:.7rem; padding:1rem; border-bottom:1px solid #e5edf3; }
.wn-device-icon { display:grid; place-items:center; flex:none; width:38px; height:38px; border-radius:9px; color:#28629d; background:#e7f1fc; }
.wn-device-card > header > div { flex:1; min-width:0; }
.wn-device-card header strong,.wn-device-card header small { display:block; overflow-wrap:anywhere; }
.wn-device-card header small { margin-top:.2rem; color:#6c8195; font-size:.75rem; }
.wn-device-preferences { display:grid; gap:.85rem; padding:1rem; }
.wn-device-preferences .form-label { margin:0; }
.wn-device-preferences fieldset { padding:0; margin:0; border:0; }
.wn-device-preferences legend { float:none; width:auto; margin:0 0 .5rem; color:#415b74; font-size:.84rem; font-weight:600; }
.wn-device-types { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; }
.wn-device-types label { display:flex; gap:.45rem; align-items:start; color:#405870; font-size:.82rem; }
.wn-device-actions { display:flex; flex-wrap:wrap; gap:.5rem; padding-top:.8rem; border-top:1px solid #e5edf3; }

subtask-list { display:block; }
.desk-check-row button.wn-subtask-grip { width:1.75rem; flex:none; justify-content:center; padding:.3rem 0; color:#65778a; cursor:grab; touch-action:none; user-select:none; }
.desk-check-row button.wn-subtask-grip:active { cursor:grabbing; }

.wn-subtask-item.gu-mirror { background:#fff; border-radius:.4rem; box-shadow:0 4px 14px #253c5426; }
subtask-list > .wn-subtask-item.gu-transit {
	position:relative;
	background:#eef5ff;
	outline:2px dashed #4776ae;
	outline-offset:-2px;
	border-radius:.4rem;
	opacity:1;
}
subtask-list > .wn-subtask-item.gu-transit > form { visibility:hidden; }

ticket-ai { display:contents; }
.desk-tabs .wn-ai-tab {
	display:inline-flex; align-items:center; justify-content:center; gap:.35rem; padding:.45rem .7rem;
	border:1px solid transparent; border-radius:.5rem; background:transparent; color:#385d85;
	font:inherit; font-weight:600; white-space:nowrap;
}
.desk-tabs .wn-ai-tab:hover,.desk-tabs .wn-ai-tab:focus-visible { background:#eaf1fa; color:#244f82; }
@media (max-width:420px) {
	.desk-thread > .wn-section-tabs.desk-tabs a,.desk-tabs .wn-ai-tab { padding-inline:.35rem; gap:.25rem; }
}
ticket-ai dialog {
	box-sizing:border-box; width:min(46rem,calc(100vw - 1.5rem)); max-height:90dvh; overflow:auto;
	--ai-gutter:clamp(1rem,3vw,1.75rem); padding:0; border:1px solid #d5dfe9; border-radius:1rem;
	background:#fff; color:#273b50; box-shadow:0 20px 70px #142c4940;
}
ticket-ai dialog::backdrop { background:#192c4275; }
ticket-ai dialog header,ticket-ai dialog footer { display:flex; gap:.75rem; align-items:center; }
ticket-ai dialog header { padding:1rem var(--ai-gutter); padding-bottom:0; background:#fff; }
.wn-ai-heading-icon { display:grid; place-items:center; width:2rem; height:2rem; background:#e9f1fb; color:#386a9f; border-radius:.6rem; }
.wn-ai-heading-icon svg { width:1.15rem; }
ticket-ai h2 { margin:0; flex:1; font-size:1.2rem; }
ticket-ai form:not([hidden]) { display:flex; flex-direction:column; gap:1.15rem; padding:1.25rem var(--ai-gutter) 0; }
ticket-ai .form-control { box-sizing:border-box; width:100%; margin-top:.4rem; }
ticket-ai [data-ai-source] label { min-width:0; font-weight:600; }
ticket-ai [data-ai-source] small { margin-top:-.6rem; }
ticket-ai small { color:#586b7f; }
ticket-ai dialog footer { grid-column:1/-1; justify-content:flex-end; padding:1rem 0; border-top:1px solid #e0e7ee; }
ticket-ai .wn-ai-review-title,ticket-ai dialog:has([data-ai-review]:not([hidden])) .wn-ai-source-title { display:none; }
ticket-ai dialog:has([data-ai-review]:not([hidden])) .wn-ai-review-title { display:inline; }
ticket-ai [data-ai-source] textarea { min-height:8rem; padding:.8rem; resize:vertical; }
ticket-ai [data-ai-source] input[type=file] { padding:.5rem; border:1px dashed #b5c5d4; background:#f8fafc; }
ticket-ai [data-ai-source] input::file-selector-button { margin:0 .7rem 0 0; padding:.35rem .7rem; border:1px solid #d5dfe9; border-radius:.4rem; background:white; color:#344963; }
ticket-ai [data-ai-review] footer { justify-content:space-between; }
.wn-ai-feedback { margin:1rem var(--ai-gutter); color:#914533; overflow-wrap:anywhere; }
.wn-ai-feedback:has([data-ai-message]:empty) { display:none; }
.wn-ai-feedback :is(.wn-ai-orb,.wn-ai-dots) { display:none; }
.wn-ai-feedback.is-loading {
	display:flex; align-items:center; gap:.8rem; margin:1.5rem var(--ai-gutter); padding:1.05rem;
	border:1px solid #d6e5f4; border-radius:1.15rem 1.15rem 1.15rem .3rem;
	background:linear-gradient(115deg,#edf5ff,#f7f9fd); color:#244564;
}
.wn-ai-feedback small { display:block; margin-top:.15rem; }
.wn-ai-feedback.is-loading .wn-ai-orb {
	display:grid; place-items:center; flex:none; width:2.5rem; height:2.5rem; border-radius:50%;
	background:#315b87; color:white; box-shadow:0 0 0 4px #dce9f7;
}
.wn-ai-orb svg { width:1.15rem; }
.wn-ai-feedback.is-loading .wn-ai-dots { display:flex; gap:3px; margin-inline-start:auto; }
.wn-ai-dots i { width:5px; height:5px; background:#4d769e; border-radius:50%; }
@media (prefers-reduced-motion:no-preference) {
	.wn-ai-feedback.is-loading .wn-ai-dots i { animation:wn-ai-pulse 1.2s ease-in-out infinite; }
	.wn-ai-feedback.is-loading .wn-ai-dots i:nth-child(2) { animation-delay:.15s; }
	.wn-ai-feedback.is-loading .wn-ai-dots i:nth-child(3) { animation-delay:.3s; }
	ticket-ai [data-ai-review]:not([hidden]) { animation:wn-ai-reveal .18s ease-out; }
}
@keyframes wn-ai-pulse { 0%,65%,100% { transform:translateY(0); opacity:.5; } 30% { transform:translateY(-4px); opacity:1; } }
@keyframes wn-ai-reveal { from { opacity:.3; transform:translateY(4px); } to { opacity:1; transform:none; } }

.wn-ai-note { display:grid; gap:.5rem; padding:1rem; border:0; border-radius:.7rem; background:#f3f6fa; }
.wn-ai-note p { white-space:pre-wrap; overflow-wrap:anywhere; margin:0; line-height:1.6; color:#344963; }
.wn-ai-section-title svg { width:.95rem; height:.95rem; vertical-align:-.12em; }
.wn-ai-note [data-ai-edit] { display:inline-flex; align-items:center; gap:.35rem; background:#fff; color:#385775; }
.wn-ai-subtasks li:focus-within { background:#f3f7fc; }
.wn-ai-subtasks ul:not(:empty) { border:1px solid #dae2eb; border-radius:.65rem; overflow:hidden; }
.wn-ai-subtasks li:first-child { border-top:0; }
.wn-ai-note textarea,.wn-ai-subtasks textarea { box-sizing:border-box; width:100%; min-width:0; border:0; border-radius:.25rem; background:transparent; color:inherit; font:inherit; line-height:1.45; resize:vertical; }
.wn-ai-note textarea:focus-visible,.wn-ai-subtasks textarea:focus-visible { outline:2px solid #5483aa; outline-offset:2px; }
.wn-ai-note textarea { field-sizing:content; min-height:5rem; max-height:15rem; padding:.7rem .85rem; background:#fff; }
.wn-ai-section-title { display:flex; justify-content:space-between; align-items:baseline; gap:.6rem; }
.wn-ai-section-title h3 { margin:0; font-size:1rem; }
.wn-ai-section-title span { color:#576d80; font-size:.8rem; }
.wn-ai-subtasks ul { display:grid; margin:.6rem 0; padding:0; }
.wn-ai-subtasks li { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:.65rem; padding:.65rem .8rem; border-top:1px solid #e4e9ef; }
.wn-ai-subtasks input { margin-top:.3rem; accent-color:#376795; }
.wn-ai-subtasks textarea { field-sizing:content; min-height:1.5em; max-height:8em; }
.wn-ai-subtasks li:has(:disabled) { background:#f5f7f9; color:#657484; }
