/*
 * Temporary marketing switch. Hide the Theme IA section itself (rather than
 * only its inner card) so its responsive vertical padding cannot leave a gap.
 */
body.lptia-bridge-active.lptia-marketing-matrices-hidden #tia-home-document-matrices {
	display: none !important;
	margin: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices {
	background: #fff !important;
	overflow: hidden;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices :is(.tia-container, .tia-row, .tia-column, .tia-embed) {
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix,
body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix *,
body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix *::before,
body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix *::after {
	box-sizing: border-box;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix {
	color: #1e1e1e;
	padding: clamp(88px, 9vw, 126px) 0;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__shell {
	align-items: center;
	background: #f7f6ff;
	border: 1px solid rgba(82, 51, 255, 0.1);
	border-radius: 36px;
	display: grid;
	gap: clamp(42px, 5vw, 72px);
	grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
	margin: 0 auto;
	max-width: 1200px;
	overflow: hidden;
	padding: clamp(44px, 5vw, 72px);
	position: relative;
	width: min(calc(100% - 40px), 1200px);
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__copy {
	min-width: 0;
	position: relative;
	z-index: 2;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__badge {
	align-items: center;
	background: #5233ff;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 780;
	gap: 8px;
	letter-spacing: 0.065em;
	line-height: 1;
	padding: 10px 14px;
	text-transform: uppercase;
	transform: rotate(-3deg);
	transform-origin: left center;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__badge svg {
	fill: none;
	height: 13px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.9;
	width: 13px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__copy h2 {
	color: #1e1e1e;
	font-size: clamp(38px, 4.1vw, 58px);
	font-weight: 770;
	letter-spacing: -0.056em;
	line-height: 1;
	margin: 24px 0 22px;
	max-width: 560px;
	text-align: left;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__copy h2 span {
	color: #5233ff;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__lead {
	color: #5f5a6c;
	font-size: clamp(17px, 1.55vw, 20px);
	font-weight: 450;
	letter-spacing: -0.02em;
	line-height: 1.5;
	margin: 0;
	max-width: 520px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__benefits {
	list-style: none;
	margin: 34px 0 0;
	padding: 0;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__benefits li {
	align-items: flex-start;
	border-top: 1px solid rgba(30, 30, 30, 0.1);
	display: grid;
	gap: 15px;
	grid-template-columns: 38px minmax(0, 1fr);
	padding: 18px 0;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__benefits li:last-child {
	padding-bottom: 0;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__benefit-icon {
	align-items: center;
	background: #ebe7ff;
	border-radius: 11px;
	color: #5233ff;
	display: flex;
	height: 38px;
	justify-content: center;
	width: 38px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__benefit-icon svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 20px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__benefits li > span:last-child {
	color: #696474;
	font-size: 14px;
	line-height: 1.45;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__benefits strong {
	color: #24232a;
	display: block;
	font-size: 16px;
	font-weight: 720;
	letter-spacing: -0.022em;
	line-height: 1.25;
	margin-bottom: 4px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__visual {
	align-items: center;
	display: flex;
	min-width: 0;
	position: relative;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui {
	background: #fff;
	border: 1px solid rgba(30, 30, 30, 0.09);
	border-radius: 25px;
	box-shadow: 0 30px 70px rgba(36, 27, 84, 0.16);
	min-width: 0;
	overflow: hidden;
	width: 100%;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__topbar {
	align-items: center;
	border-bottom: 1px solid #eceaf0;
	display: flex;
	justify-content: space-between;
	min-height: 64px;
	padding: 13px 18px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__title {
	align-items: center;
	color: #292632;
	display: flex;
	font-size: 14px;
	font-weight: 720;
	gap: 9px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__title svg {
	color: #5233ff;
	height: 22px;
	stroke-width: 1.7;
	width: 22px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__topbar > strong {
	background: #ebe7ff;
	border-radius: 999px;
	color: #5233ff;
	font-size: 12px;
	font-weight: 790;
	padding: 7px 10px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__modes {
	background: #f8f7fa;
	border-bottom: 1px solid #eceaf0;
	display: flex;
	gap: 5px;
	padding: 10px 13px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__modes span {
	border-radius: 8px;
	color: #85808e;
	font-size: 11px;
	font-weight: 680;
	padding: 7px 10px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__modes .is-active {
	background: #fff;
	box-shadow: 0 2px 8px rgba(30, 30, 30, 0.07);
	color: #5233ff;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__workspace {
	display: grid;
	grid-template-columns: minmax(170px, 0.78fr) minmax(330px, 1.42fr);
	min-height: 392px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__library {
	background: #fbfafc;
	border-right: 1px solid #eceaf0;
	padding: 16px 13px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__search {
	align-items: center;
	background: #fff;
	border: 1px solid #e6e3eb;
	border-radius: 9px;
	color: #9a96a0;
	display: flex;
	font-size: 10px;
	gap: 6px;
	line-height: 100%;
	margin-bottom: 12px;
	padding: 9px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__search svg {
	height: 13px;
	stroke-width: 1.7;
	width: 13px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__template {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 10px;
	display: grid;
	gap: 8px;
	grid-template-columns: 27px minmax(0, 1fr);
	margin-top: 5px;
	min-height: 62px;
	padding: 9px 8px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__template.is-selected {
	background: #f0edff;
	border-color: #dcd5ff;
	box-shadow: inset 3px 0 0 #5233ff;
	grid-template-columns: 27px minmax(0, 1fr) 18px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__file {
	align-items: center;
	background: #fff;
	border-radius: 8px;
	color: #5233ff;
	display: flex;
	height: 27px;
	justify-content: center;
	width: 27px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__file svg {
	height: 15px;
	stroke-width: 1.5;
	width: 15px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__template strong,
body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__template small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__template strong {
	color: #302d37;
	display: -webkit-box;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.22;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	white-space: normal;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__template small {
	color: #97929d;
	font-size: 8.5px;
	margin-top: 3px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__check {
	color: #5233ff;
	height: 17px;
	stroke-width: 2;
	width: 17px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__more {
	color: #5233ff;
	display: block;
	font-size: 10px;
	font-weight: 700;
	padding: 12px 8px 0;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__merge {
	align-items: stretch;
	background: #fff;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(118px, 0.72fr) minmax(185px, 1.28fr);
	grid-template-rows: auto 1fr;
	padding: 18px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__merge-head {
	align-items: center;
	background: #f8f7ff;
	border: 1px solid #e8e4ff;
	border-radius: 11px;
	display: flex;
	grid-column: 1 / -1;
	justify-content: space-between;
	min-width: 0;
	padding: 9px 11px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__merge-head span {
	color: #37323f;
	font-size: 10px;
	font-weight: 720;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__merge-head strong {
	background: #ebe7ff;
	border-radius: 999px;
	color: #5233ff;
	font-size: 8.5px;
	font-weight: 760;
	padding: 5px 7px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__source {
	background: #f8f7fb;
	border: 1px solid #e6e3ec;
	border-radius: 13px;
	box-shadow: 0 9px 25px rgba(31, 26, 51, 0.06);
	padding: 14px 12px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__source-label {
	color: #5233ff;
	display: block;
	font-size: 9px;
	font-weight: 760;
	letter-spacing: 0.06em;
	margin-bottom: 6px;
	text-transform: uppercase;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__source > strong {
	color: #2c2932;
	display: block;
	font-size: 11px;
	margin-bottom: 10px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__source > span:not(.lp-doc-matrix-ui__source-label) {
	border-top: 1px solid #e7e4eb;
	display: block;
	padding: 7px 0;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__source i,
body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__source b {
	display: block;
	font-style: normal;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__source i {
	color: #97929d;
	font-size: 8px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__source b {
	color: #4c4854;
	font-size: 9px;
	font-weight: 650;
	margin-top: 2px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document {
	background: #fff;
	border: 1px solid #dedbe4;
	border-radius: 8px;
	box-shadow: 0 14px 30px rgba(31, 26, 51, 0.1);
	min-height: 272px;
	padding: 18px 15px 45px;
	position: relative;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-type {
	color: #5233ff;
	float: right;
	font-size: 8px;
	font-weight: 800;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-kicker {
	color: #77717f;
	display: block;
	font-size: 7px;
	font-weight: 760;
	letter-spacing: 0.075em;
	margin-bottom: 6px;
	padding-right: 34px;
	text-transform: uppercase;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-title {
	color: #24222a;
	display: block;
	font-size: 12px;
	font-weight: 760;
	letter-spacing: -0.02em;
	margin-bottom: 13px;
	padding-right: 34px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-caption,
body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-copy {
	color: #686270;
	display: block;
	font-size: 8px;
	line-height: 1.45;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-section {
	color: #2f2b35;
	display: block;
	font-size: 7px;
	font-weight: 800;
	letter-spacing: 0.07em;
	margin-top: 12px;
	text-transform: uppercase;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-line {
	background: #e7e4eb;
	border-radius: 999px;
	display: block;
	height: 4px;
	margin: 8px 0;
	width: 72%;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-line.is-wide { width: 100%; }
body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-line.is-short { width: 48%; }

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-variable {
	animation: lpMatrixHighlight 4.8s ease-in-out infinite;
	background: #eeeaff;
	border-radius: 4px;
	color: #5233ff;
	display: inline-block;
	font-size: 8px;
	font-style: normal;
	font-weight: 720;
	margin: 2px 0;
	padding: 4px 6px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-variable.is-delayed {
	animation-delay: 1.1s;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__ready {
	align-items: center;
	background: #e8faf1;
	border-radius: 999px;
	bottom: 10px;
	color: #168a55;
	display: inline-flex;
	font-size: 8px;
	font-weight: 760;
	gap: 4px;
	left: 12px;
	padding: 6px 8px;
	position: absolute;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__ready svg {
	height: 11px;
	stroke-width: 2.1;
	width: 11px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__footer {
	align-items: center;
	background: #f8f7fa;
	border-top: 1px solid #eceaf0;
	display: flex;
	font-size: 9px;
	justify-content: space-between;
	min-height: 50px;
	padding: 11px 15px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__footer span {
	align-items: center;
	color: #5e5968;
	display: flex;
	gap: 7px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__footer i {
	animation: lpMatrixStatus 2.1s ease-in-out infinite;
	background: #28b878;
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(40, 184, 120, 0.12);
	height: 7px;
	width: 7px;
}

body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__footer strong {
	color: #5233ff;
	font-size: 9px;
	font-weight: 730;
}

@keyframes lpMatrixHighlight {
	0%, 35%, 100% { box-shadow: 0 0 0 0 rgba(82, 51, 255, 0); }
	48%, 65% { box-shadow: 0 0 0 4px rgba(82, 51, 255, 0.12); }
}

@keyframes lpMatrixStatus {
	0%, 100% { box-shadow: 0 0 0 3px rgba(40, 184, 120, 0.1); }
	50% { box-shadow: 0 0 0 7px rgba(40, 184, 120, 0.02); }
}

@media (max-width: 1050px) {
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__shell {
		gap: 46px;
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
		padding: 48px 42px;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui {
		transform: none;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__workspace {
		grid-template-columns: 148px minmax(270px, 1fr);
	}
}

@media (max-width: 900px) {
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__shell {
		grid-template-columns: 1fr;
		padding: 54px;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__copy h2,
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__lead {
		max-width: 680px;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__benefits {
		display: grid;
		gap: 0 24px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__benefits li {
		grid-template-columns: 38px minmax(0, 1fr);
	}
}

@media (max-width: 680px) {
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix {
		padding: 72px 0;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__shell {
		border-radius: 25px;
		gap: 38px;
		padding: 38px 20px 24px;
		width: min(calc(100% - 24px), 1200px);
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__copy h2 {
		font-size: clamp(36px, 11vw, 48px);
		margin-top: 20px;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix__benefits {
		display: block;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui {
		border-radius: 18px;
		margin: 0 -9px;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__workspace {
		grid-template-columns: 1fr;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__library {
		border-bottom: 1px solid #eceaf0;
		border-right: 0;
		display: grid;
		gap: 7px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 12px;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__search,
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__template:nth-of-type(n+4),
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__more {
		display: none;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__template,
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__template.is-selected {
		grid-template-columns: 27px minmax(0, 1fr);
		margin: 0;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__template.is-selected {
		grid-column: auto;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__check {
		display: none;
	}

}

@media (max-width: 767px) {
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__workspace {
		grid-template-columns: 1fr;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__merge {
		align-items: stretch;
		grid-template-columns: 1fr;
		padding: 18px 12px;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__merge-head {
		grid-column: 1;
	}
}

@media (max-width: 430px) {
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__modes span {
		font-size: 9px;
		padding-inline: 8px;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document {
		min-height: 230px;
	}

	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
}

body.home.lptia-automations-surface.lptia-bridge-active
	[data-feature-carousel-panel]
	#tia-home-document-matrices.lp-feature-matrix-visual {
	align-items: center;
	background: #f5f5f8 !important;
	box-sizing: border-box;
	display: flex;
	height: 100%;
	padding: clamp(14px, 2.6vw, 28px);
	width: 100%;
}

body.home.lptia-automations-surface.lptia-bridge-active
	[data-feature-carousel-panel]
	#tia-home-document-matrices.lp-feature-matrix-visual
	.lp-doc-matrix-ui {
	margin: auto;
	max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__document-variable,
	body.lptia-automations-surface.lptia-bridge-active #tia-home-document-matrices .lp-doc-matrix-ui__footer i {
		animation: none !important;
	}
}
