/**
 * BTS Site UX
 * Version: 0.1.32
 *
 * Owns durable front-end UX behavior and related component presentation.
 */

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

/* Mobile drawer navigation presentation. */
@media (max-width: 781px) {
	#masthead #drawer-navigation,
	#masthead #drawer-navigation .menu-bts-primary-container {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	#masthead #drawer-navigation ul,
	#masthead #drawer-navigation li {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	#masthead #drawer-navigation a {
		display: block !important;
		box-sizing: border-box !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 9px 0 !important;
		color: #161D26 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		font-size: 20px !important;
		line-height: 1.22 !important;
		font-weight: 700 !important;
		text-align: left !important;
		text-decoration: none !important;
	}

	#masthead #drawer-navigation a:hover,
	#masthead #drawer-navigation a:focus {
		color: #D8A12E !important;
	}

	#masthead #drawer-navigation .menu > li + li {
		border-top: 1px solid rgba(13, 41, 74, 0.08) !important;
	}

	#masthead #drawer-navigation .menu-item-has-children::before,
	#masthead #drawer-navigation .menu-item-has-children::after,
	#masthead #drawer-navigation .menu-item-has-children > a::after,
	#masthead #drawer-navigation .menu-item-has-children > a::before {
		content: none !important;
		display: none !important;
	}

	#masthead #drawer-navigation .menu-item-has-children > a {
		padding-top: 10px !important;
		padding-bottom: 5px !important;
	}

	#masthead #drawer-navigation .sub-menu {
		display: block !important;
		margin: 0 0 8px 0 !important;
		padding: 0 0 0 18px !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	#masthead #drawer-navigation .sub-menu a {
		padding: 6px 0 !important;
		color: #161D26 !important;
		font-size: 17px !important;
		line-height: 1.25 !important;
		font-weight: 650 !important;
	}
}

/* Mobile accordion behavior/presentation. */
@media (max-width: 781px) {
	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu {
		position: relative !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu > a {
		padding-right: 48px !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu > a::before,
	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu > a::after,
	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu::before,
	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu::after {
		content: none !important;
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-native-submenu-toggle-suppressed {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-submenu-toggle {
		appearance: none !important;
		-webkit-appearance: none !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		position: absolute !important;
		right: 0 !important;
		z-index: 20 !important;
		width: 44px !important;
		min-width: 44px !important;
		height: 40px !important;
		min-height: 40px !important;
		margin: 0 !important;
		padding: 0 !important;
		color: #161D26 !important;
		background: transparent !important;
		background-color: transparent !important;
		background-image: none !important;
		border: 0 !important;
		border-radius: 999px !important;
		box-shadow: none !important;
		text-shadow: none !important;
		cursor: pointer !important;
		font-family: inherit !important;
		font-size: 28px !important;
		font-weight: 800 !important;
		line-height: 1 !important;
		text-align: center !important;
		text-indent: 0 !important;
		pointer-events: auto !important;
		touch-action: manipulation !important;
		-webkit-tap-highlight-color: transparent !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu:not(.bts-submenu-is-open) > .bts-submenu-toggle {
		top: 50% !important;
		transform: translateY(-50%) !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu.bts-submenu-is-open > .bts-submenu-toggle {
		top: 2px !important;
		transform: none !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-submenu-toggle[aria-expanded="true"] {
		color: #D8A12E !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-submenu-toggle::before,
	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-submenu-toggle::after,
	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-submenu-toggle *:not(.screen-reader-text)::before,
	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-submenu-toggle *:not(.screen-reader-text)::after {
		content: none !important;
		display: none !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-submenu-toggle:focus {
		outline: none !important;
		box-shadow: none !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-submenu-toggle:focus-visible {
		color: #D8A12E !important;
		outline: 2px solid rgba(216, 161, 46, 0.62) !important;
		outline-offset: 3px !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-submenu-toggle:hover {
		color: #D8A12E !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu:not(.bts-submenu-is-open) > .sub-menu {
		display: none !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu.bts-submenu-is-open > .sub-menu {
		display: block !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu.bts-submenu-is-open > a {
		padding-bottom: 8px !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu > .sub-menu {
		margin: 0 0 10px 0 !important;
		padding: 0 0 0 16px !important;
	}

	#masthead #drawer-navigation.bts-mobile-nav--accordion-ready .bts-site-ux-has-submenu > .sub-menu a {
		padding-top: 6px !important;
		padding-bottom: 6px !important;
		font-size: 17px !important;
		line-height: 1.25 !important;
		font-weight: 700 !important;
	}
}

@media (min-width: 782px) {
	#masthead #drawer-navigation .bts-submenu-toggle,
	#masthead #drawer-navigation .bts-native-submenu-toggle-suppressed {
		display: none !important;
	}
}

/* Mobile table overflow support with unified table + caption scroll frames. */
@media (max-width: 800px) {
	.entry-content .bts-table-overflow-shell {
		position: relative;
	}

	.entry-content .bts-table-scroll-frame {
		position: relative;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		background-color: #F6F8FA;
		background-image: none;
		scrollbar-width: thin;
	}

	.entry-content .bts-table-scroll-frame table {
		margin-top: 0;
		margin-bottom: 0;
	}

	.entry-content .bts-table-scroll-frame .bts-table-scroll-caption,
	.entry-content .bts-table-scroll-frame > figcaption,
	.entry-content .bts-table-scroll-frame > .wp-element-caption,
	.entry-content .bts-table-scroll-frame > .wp-block-table__caption,
	.entry-content .bts-table-scroll-frame > .bts-table-caption,
	.entry-content .bts-table-scroll-frame > .bts-table-note {
		box-sizing: border-box;
		display: block;
		width: var(--bts-table-scroll-content-width, auto);
		margin: 0;
		padding: 0.75rem 0.9rem;
		color: #161D26;
		background: #F6F8FA;
		border-top: 1px solid rgba(13, 41, 74, 0.14);
		font-size: 0.95rem;
		line-height: 1.45;
	}

	.entry-content .bts-table-scroll-edge {
		position: absolute;
		top: var(--bts-table-edge-top, 0);
		height: var(--bts-table-edge-height, 100%);
		width: 34px;
		z-index: 6;
		pointer-events: none;
		opacity: 0;
		transition: opacity 140ms ease;
	}

	.entry-content .bts-table-scroll-edge--left {
		left: 0;
		background:
			linear-gradient(to right, rgba(13, 41, 74, 0.30), rgba(13, 41, 74, 0.12) 35%, rgba(13, 41, 74, 0));
		border-radius: 0 18px 18px 0;
	}

	.entry-content .bts-table-scroll-edge--right {
		right: 0;
		background:
			linear-gradient(to left, rgba(13, 41, 74, 0.42), rgba(13, 41, 74, 0.16) 38%, rgba(13, 41, 74, 0));
		border-radius: 18px 0 0 18px;
	}

	.entry-content .bts-table-overflow-shell.bts-can-scroll-left > .bts-table-scroll-edge--left,
	.entry-content .bts-table-overflow-shell.bts-can-scroll-right > .bts-table-scroll-edge--right {
		opacity: 1;
	}

	:is(.bts-page-pricing, .bts-pricing-page) .bts-compare-table {
		min-width: 640px;
	}

	:is(.bts-page-pricing, .bts-pricing-page) .bts-compare-table col.bts-col-module {
		width: 50%;
	}

	:is(.bts-page-pricing, .bts-pricing-page) .bts-compare-table col.bts-col-free,
	:is(.bts-page-pricing, .bts-pricing-page) .bts-compare-table col.bts-col-pro,
	:is(.bts-page-pricing, .bts-pricing-page) .bts-compare-table col.bts-col-ultra {
		width: 16.666%;
	}
}


/* News filter active-state and presentation. */
.bts-post-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: baseline;
	max-width: 900px;
	margin: 0 auto 28px !important;
	padding: 0;
}

.bts-post-filter__link {
	display: inline;
	min-height: 0;
	padding: 0;
	color: #0D294A !important;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none !important;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none !important;
}

.bts-post-filter__link:is(:hover, :focus) {
	color: #D8A12E !important;
	text-decoration-line: underline !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.22em !important;
}

.bts-post-filter__link:is(.is-active, [aria-current="page"]),
.bts-post-filter__link[data-bts-site-ux-active="true"] {
	color: #0D294A !important;
	text-decoration-line: underline !important;
	text-decoration-color: #D8A12E !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 0.24em !important;
}

@media (max-width: 781px) {
	.bts-post-filter {
		gap: 14px;
		margin-bottom: 22px !important;
	}

	.bts-post-filter__link {
		font-size: 14px;
	}
}


/* News archive page titles and Query Loop cards. */
body.bts-page-news-index .entry-header {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

body.bts-page-news-index .entry-header .entry-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.bts-page-news-index .site-main > article {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.bts-page-news-index .entry-content > .wp-block-query,
body.bts-page-news-index .entry-content .bts-news-index .wp-block-query,
body.bts-page-news-index .entry-content .bts-news-list {
	max-width: 900px;
	margin: 0 auto !important;
}

body.bts-page-news-index .entry-content .wp-block-query .wp-block-post-template {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

@media (min-width: 782px) {
	body.bts-page-news-index .entry-content .wp-block-query .wp-block-post-template > .wp-block-post {
		margin: 0 0 28px !important;
		padding: 26px 30px 28px !important;
		background: #F6F8FA !important;
		border: 1px solid #DADFE6 !important;
		border-radius: 12px !important;
	}

	body.bts-page-news-index .entry-content .wp-block-query .wp-block-post-title {
		margin-top: 0 !important;
		margin-bottom: 12px !important;
		font-size: 30px !important;
		line-height: 1.18 !important;
		letter-spacing: -0.01em !important;
	}
}

@media (max-width: 781px) {
	body.bts-page-news-index .entry-content .wp-block-query .wp-block-post-template > .wp-block-post {
		margin: 0 0 22px !important;
		padding: 20px 18px !important;
		background: #F6F8FA !important;
		border: 1px solid #DADFE6 !important;
		border-radius: 12px !important;
	}

	body.bts-page-news-index .entry-content .wp-block-query .wp-block-post-title {
		margin-top: 0 !important;
		margin-bottom: 10px !important;
	}
}

body.bts-page-news-index .entry-content .wp-block-query .wp-block-post-title a {
	color: #0D294A !important;
	background-image: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	font-size: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	text-decoration-line: underline !important;
	text-decoration-style: solid !important;
	text-decoration-color: currentColor !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.16em !important;
}

body.bts-page-news-index .entry-content .wp-block-query .wp-block-post-title a:is(:hover, :focus) {
	color: #D8A12E !important;
}

body.bts-page-news-index .entry-content .wp-block-query .wp-block-post-excerpt {
	margin-top: 0 !important;
	margin-bottom: 16px !important;
}

body.bts-page-news-index .entry-content .wp-block-query .wp-block-post-excerpt p:last-child {
	margin-bottom: 0 !important;
}

body.bts-page-news-index .entry-content .wp-block-query .wp-block-separator {
	display: none !important;
}

body.bts-page-news-index .entry-content .wp-block-query .wp-block-post-date {
	margin-top: 18px !important;
	margin-bottom: 0 !important;
	color: #0D294A !important;
	font-size: 16px !important;
	line-height: 1.45 !important;
}

body.bts-page-news-index .entry-content .wp-block-query .bts-news-list__empty,
body.bts-page-news-index .entry-content .bts-news-list__empty {
	max-width: 900px;
	margin: 0 auto !important;
	padding: 20px 24px;
	color: #0D294A;
	background: #F6F8FA;
	border: 1px solid #DADFE6;
	border-radius: 12px;
}


/* Strategies landing card component. */
body.bts-page-strategies .entry-content h2 a {
	color: #0D294A !important;
	background-image: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	text-decoration-line: underline !important;
	text-decoration-style: solid !important;
	text-decoration-color: currentColor !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.16em !important;
}

body.bts-page-strategies .entry-content h2 a:is(:hover, :focus) {
	color: #D8A12E !important;
	text-decoration-line: underline !important;
	text-decoration-style: solid !important;
	text-decoration-color: currentColor !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.16em !important;
}

@media (min-width: 782px) {
	body.bts-page-strategies .entry-content > h2.wp-block-heading {
		max-width: 900px;
		margin: 0 auto !important;
		padding: 24px 30px 8px !important;
		background: #F6F8FA !important;
		border: 1px solid #DADFE6 !important;
		border-bottom: 0 !important;
		border-radius: 12px 12px 0 0 !important;
	}

	body.bts-page-strategies .entry-content > h2.wp-block-heading:first-of-type {
		margin-top: 28px !important;
	}

	body.bts-page-strategies .entry-content > h2.wp-block-heading + p {
		max-width: 900px;
		margin: 0 auto !important;
		padding: 0 30px 12px !important;
		background: #F6F8FA !important;
		border-left: 1px solid #DADFE6 !important;
		border-right: 1px solid #DADFE6 !important;
	}

	body.bts-page-strategies .entry-content > h2.wp-block-heading + p + p {
		max-width: 900px;
		margin: 0 auto 24px !important;
		padding: 0 30px 24px !important;
		background: #F6F8FA !important;
		border-left: 1px solid #DADFE6 !important;
		border-right: 1px solid #DADFE6 !important;
		border-bottom: 1px solid #DADFE6 !important;
		border-radius: 0 0 12px 12px !important;
		font-size: 0.95em;
		line-height: 1.55;
	}

	body.bts-page-strategies .entry-content > h2.wp-block-heading + p strong {
		display: block;
		color: #161D26;
		font-weight: 700;
		line-height: 1.5;
	}
}

@media (max-width: 781px) {
	body.bts-page-strategies .entry-content > h2.wp-block-heading {
		margin: 0 !important;
		padding: 20px 18px 8px !important;
		background: #F6F8FA !important;
		border: 1px solid #DADFE6 !important;
		border-bottom: 0 !important;
		border-radius: 12px 12px 0 0 !important;
	}

	body.bts-page-strategies .entry-content > h2.wp-block-heading:first-of-type {
		margin-top: 24px !important;
	}

	body.bts-page-strategies .entry-content > h2.wp-block-heading + p {
		margin: 0 !important;
		padding: 0 18px 12px !important;
		background: #F6F8FA !important;
		border-left: 1px solid #DADFE6 !important;
		border-right: 1px solid #DADFE6 !important;
	}

	body.bts-page-strategies .entry-content > h2.wp-block-heading + p + p {
		margin: 0 0 22px !important;
		padding: 0 18px 20px !important;
		background: #F6F8FA !important;
		border-left: 1px solid #DADFE6 !important;
		border-right: 1px solid #DADFE6 !important;
		border-bottom: 1px solid #DADFE6 !important;
		border-radius: 0 0 12px 12px !important;
		font-size: 0.95em;
		line-height: 1.55;
	}

	body.bts-page-strategies .entry-content > h2.wp-block-heading + p strong {
		display: block;
		color: #161D26;
		font-weight: 700;
		line-height: 1.5;
	}
}


/* Desktop active navigation state. */
@media (min-width: 782px) {
	html body #masthead nav.main-navigation.main-navigation > div > ul.menu > li.current-menu-item > a,
	html body #masthead nav.main-navigation.main-navigation > div > ul.menu > li.current_page_item > a,
	html body #masthead nav.main-navigation.main-navigation > div > ul.menu > li.current-menu-ancestor > a,
	html body #masthead nav.main-navigation.main-navigation > div > ul.menu > li.current_page_parent > a,
	html body #masthead nav.main-navigation.main-navigation > div > ul.menu > li > a[aria-current="page"] {
		color: #D8A12E !important;
	}
}



/* Strategy diagnostics table system.
   v0.1.32 explicit-class-first pilot for Dividend Aristocrats.
   Runtime bts-site-ux-table--* classes remain fallback targets only. */

/* Shared explicit table helpers. */
.entry-content .wp-block-table.bts-editable-table--caution-flags tbody td:first-child,
.entry-content .wp-block-table.bts-editable-table--drawdown-summary tbody td:first-child,
.entry-content .wp-block-table.bts-editable-table--calendar-summary tbody td:first-child,
.entry-content .wp-block-table.bts-editable-table--rolling-window-summary tbody td:first-child,
.entry-content .wp-block-table.bts-editable-table--implementation-guardrails tbody td:first-child {
	font-weight: 700;
}

/* Metrics tables retain scorecard-specific styling hooks. */
.entry-content .wp-block-table.bts-editable-table--metrics thead th:nth-child(2),
.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(2) {
	text-align: left;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(2) {
	font-weight: 700;
}

.entry-content .wp-block-table.bts-editable-table--metrics thead th:nth-child(3),
.entry-content .wp-block-table.bts-editable-table--metrics thead th:nth-child(4),
.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(3),
.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(4) {
	text-align: center;
	vertical-align: middle;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(3),
.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(4) {
	white-space: nowrap;
}

/* Desktop table layouts. */
@media (min-width: 801px) {
	/* Report summary: Item / Value. */
	.entry-content .wp-block-table.bts-editable-table--report-summary table,
	.entry-content .bts-site-ux-table--report-summary table {
		width: 100% !important;
		min-width: 0 !important;
		table-layout: fixed !important;
	}

	.entry-content .wp-block-table.bts-editable-table--report-summary table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--report-summary table :is(th, td):first-child {
		width: 26% !important;
		min-width: 26% !important;
		max-width: 26% !important;
	}

	.entry-content .wp-block-table.bts-editable-table--report-summary table :is(th, td):nth-child(2),
	.entry-content .bts-site-ux-table--report-summary table :is(th, td):nth-child(2) {
		width: 74% !important;
		min-width: 74% !important;
		max-width: 74% !important;
	}

	/* Mechanics: Setting / Strategy / Benchmark. */
	.entry-content .wp-block-table.bts-editable-table--mechanics table,
	.entry-content .bts-site-ux-table--mechanics table {
		width: 100% !important;
		min-width: 0 !important;
		table-layout: fixed !important;
	}

	.entry-content .wp-block-table.bts-editable-table--mechanics table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--mechanics table :is(th, td):first-child {
		width: 26% !important;
		min-width: 26% !important;
		max-width: 26% !important;
	}

	.entry-content .wp-block-table.bts-editable-table--mechanics table :is(th, td):nth-child(2),
	.entry-content .wp-block-table.bts-editable-table--mechanics table :is(th, td):nth-child(3),
	.entry-content .bts-site-ux-table--mechanics table :is(th, td):nth-child(2),
	.entry-content .bts-site-ux-table--mechanics table :is(th, td):nth-child(3) {
		width: 37% !important;
		min-width: 37% !important;
		max-width: 37% !important;
		text-align: left !important;
	}

	/* Caution flags / drawdown / calendar / guardrail comparison tables. */
	.entry-content .wp-block-table.bts-editable-table--caution-flags table,
	.entry-content .wp-block-table.bts-editable-table--drawdown-summary table,
	.entry-content .wp-block-table.bts-editable-table--calendar-summary table,
	.entry-content .wp-block-table.bts-editable-table--implementation-guardrails table {
		width: 100% !important;
		min-width: 0 !important;
		table-layout: auto !important;
	}

	.entry-content .wp-block-table.bts-editable-table--caution-flags table :is(th, td),
	.entry-content .wp-block-table.bts-editable-table--drawdown-summary table :is(th, td),
	.entry-content .wp-block-table.bts-editable-table--calendar-summary table :is(th, td),
	.entry-content .wp-block-table.bts-editable-table--implementation-guardrails table :is(th, td) {
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}

	/* Rolling window metric tables: Metric / Strategy / Benchmark. */
	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table,
	.entry-content .bts-site-ux-table--rolling-window table {
		width: 100% !important;
		min-width: 0 !important;
		table-layout: fixed !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--rolling-window table :is(th, td):first-child {
		width: 36% !important;
		min-width: 36% !important;
		max-width: 36% !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table :is(th, td):nth-child(2),
	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table :is(th, td):nth-child(3),
	.entry-content .bts-site-ux-table--rolling-window table :is(th, td):nth-child(2),
	.entry-content .bts-site-ux-table--rolling-window table :is(th, td):nth-child(3) {
		width: 32% !important;
		min-width: 32% !important;
		max-width: 32% !important;
		text-align: center !important;
	}

	/* Rolling window summary tables: Diagnostic / Result. */
	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table {
		width: 100% !important;
		min-width: 0 !important;
		table-layout: fixed !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table :is(th, td):first-child {
		width: 34% !important;
		min-width: 34% !important;
		max-width: 34% !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table :is(th, td):nth-child(2) {
		width: 66% !important;
		min-width: 66% !important;
		max-width: 66% !important;
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}

	/* Rolling return extremes: Window / Series / Best CAGR / Worst CAGR. */
	.entry-content .wp-block-table.bts-editable-table--rolling-return-extremes table,
	.entry-content .bts-site-ux-table--rolling-return-extremes table {
		width: 100% !important;
		min-width: 0 !important;
		table-layout: fixed !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-return-extremes table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--rolling-return-extremes table :is(th, td):first-child {
		width: 13% !important;
		min-width: 13% !important;
		max-width: 13% !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-return-extremes table :is(th, td):nth-child(2),
	.entry-content .bts-site-ux-table--rolling-return-extremes table :is(th, td):nth-child(2) {
		width: 15% !important;
		min-width: 15% !important;
		max-width: 15% !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-return-extremes table :is(th, td):nth-child(3),
	.entry-content .wp-block-table.bts-editable-table--rolling-return-extremes table :is(th, td):nth-child(4),
	.entry-content .bts-site-ux-table--rolling-return-extremes table :is(th, td):nth-child(3),
	.entry-content .bts-site-ux-table--rolling-return-extremes table :is(th, td):nth-child(4) {
		width: 36% !important;
		min-width: 36% !important;
		max-width: 36% !important;
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}

	/* Rolling relative extremes: Window / Lead / Lag. */
	.entry-content .wp-block-table.bts-editable-table--rolling-relative-extremes table,
	.entry-content .bts-site-ux-table--rolling-relative-extremes table {
		width: 100% !important;
		min-width: 0 !important;
		table-layout: fixed !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-relative-extremes table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--rolling-relative-extremes table :is(th, td):first-child {
		width: 16% !important;
		min-width: 16% !important;
		max-width: 16% !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-relative-extremes table :is(th, td):nth-child(2),
	.entry-content .wp-block-table.bts-editable-table--rolling-relative-extremes table :is(th, td):nth-child(3),
	.entry-content .bts-site-ux-table--rolling-relative-extremes table :is(th, td):nth-child(2),
	.entry-content .bts-site-ux-table--rolling-relative-extremes table :is(th, td):nth-child(3) {
		width: 42% !important;
		min-width: 42% !important;
		max-width: 42% !important;
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}
}

/* Mobile table layouts. */
@media (max-width: 800px) {
	/* Metrics tables. */
	.entry-content .wp-block-table.bts-editable-table--metrics {
		--bts-metrics-mobile-width: 500px;
		--bts-metrics-bridge-width: 32px;
		--bts-metrics-metric-width: 168px;
		--bts-metrics-strategy-width: 150px;
		--bts-metrics-benchmark-width: 150px;
		max-width: 100% !important;
		overflow-x: auto !important;
	}

	.entry-content .wp-block-table.bts-editable-table--metrics table {
		width: var(--bts-metrics-mobile-width) !important;
		min-width: var(--bts-metrics-mobile-width) !important;
		table-layout: fixed !important;
	}

	.entry-content .wp-block-table.bts-editable-table--metrics :is(th, td):first-child {
		width: var(--bts-metrics-bridge-width) !important;
		min-width: var(--bts-metrics-bridge-width) !important;
		max-width: var(--bts-metrics-bridge-width) !important;
	}

	.entry-content .wp-block-table.bts-editable-table--metrics :is(th, td):nth-child(2) {
		box-sizing: border-box !important;
		width: var(--bts-metrics-metric-width) !important;
		min-width: var(--bts-metrics-metric-width) !important;
		max-width: var(--bts-metrics-metric-width) !important;
		overflow-wrap: break-word !important;
		word-break: normal !important;
	}

	.entry-content .wp-block-table.bts-editable-table--metrics :is(th, td):nth-child(3) {
		box-sizing: border-box !important;
		width: var(--bts-metrics-strategy-width) !important;
		min-width: var(--bts-metrics-strategy-width) !important;
		max-width: var(--bts-metrics-strategy-width) !important;
		overflow-wrap: break-word !important;
		word-break: normal !important;
	}

	.entry-content .wp-block-table.bts-editable-table--metrics :is(th, td):nth-child(4) {
		box-sizing: border-box !important;
		width: var(--bts-metrics-benchmark-width) !important;
		min-width: var(--bts-metrics-benchmark-width) !important;
		max-width: var(--bts-metrics-benchmark-width) !important;
		overflow-wrap: break-word !important;
		word-break: normal !important;
	}

	/* Report summary. */
	.entry-content .wp-block-table.bts-editable-table--report-summary table,
	.entry-content .bts-site-ux-table--report-summary table {
		min-width: 500px !important;
		table-layout: auto !important;
	}

	.entry-content .wp-block-table.bts-editable-table--report-summary table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--report-summary table :is(th, td):first-child {
		width: 180px !important;
		min-width: 180px !important;
	}

	/* Mechanics. */
	.entry-content .wp-block-table.bts-editable-table--mechanics table,
	.entry-content .bts-site-ux-table--mechanics table {
		min-width: 760px !important;
		table-layout: auto !important;
	}

	.entry-content .wp-block-table.bts-editable-table--mechanics table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--mechanics table :is(th, td):first-child {
		min-width: 220px !important;
	}

	.entry-content .wp-block-table.bts-editable-table--mechanics table :is(th, td):nth-child(2),
	.entry-content .wp-block-table.bts-editable-table--mechanics table :is(th, td):nth-child(3),
	.entry-content .bts-site-ux-table--mechanics table :is(th, td):nth-child(2),
	.entry-content .bts-site-ux-table--mechanics table :is(th, td):nth-child(3) {
		min-width: 270px !important;
	}

	/* Generic text-heavy comparison tables. */
	.entry-content .wp-block-table.bts-editable-table--caution-flags table,
	.entry-content .wp-block-table.bts-editable-table--drawdown-summary table,
	.entry-content .wp-block-table.bts-editable-table--calendar-summary table,
	.entry-content .wp-block-table.bts-editable-table--implementation-guardrails table {
		min-width: 700px !important;
		table-layout: auto !important;
	}

	.entry-content .wp-block-table.bts-editable-table--caution-flags table :is(th, td),
	.entry-content .wp-block-table.bts-editable-table--drawdown-summary table :is(th, td),
	.entry-content .wp-block-table.bts-editable-table--calendar-summary table :is(th, td),
	.entry-content .wp-block-table.bts-editable-table--implementation-guardrails table :is(th, td) {
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}

	/* Rolling-window Metric / Strategy / Benchmark tables. */
	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table,
	.entry-content .bts-site-ux-table--rolling-window table {
		min-width: 600px !important;
		table-layout: auto !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--rolling-window table :is(th, td):first-child {
		width: 240px !important;
		min-width: 240px !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table :is(th, td):nth-child(2),
	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table :is(th, td):nth-child(3),
	.entry-content .bts-site-ux-table--rolling-window table :is(th, td):nth-child(2),
	.entry-content .bts-site-ux-table--rolling-window table :is(th, td):nth-child(3) {
		width: 180px !important;
		min-width: 180px !important;
		text-align: center !important;
	}

	/* Rolling-window Diagnostic / Result summary tables. */
	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table {
		min-width: 620px !important;
		table-layout: auto !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table :is(th, td):first-child {
		width: 210px !important;
		min-width: 210px !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table :is(th, td):nth-child(2) {
		width: 410px !important;
		min-width: 410px !important;
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}

	/* Rolling return extremes. */
	.entry-content .wp-block-table.bts-editable-table--rolling-return-extremes table,
	.entry-content .bts-site-ux-table--rolling-return-extremes table {
		min-width: 760px !important;
		table-layout: auto !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-return-extremes table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--rolling-return-extremes table :is(th, td):first-child {
		width: 130px !important;
		min-width: 130px !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-return-extremes table :is(th, td):nth-child(2),
	.entry-content .bts-site-ux-table--rolling-return-extremes table :is(th, td):nth-child(2) {
		width: 145px !important;
		min-width: 145px !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-return-extremes table :is(th, td):nth-child(3),
	.entry-content .wp-block-table.bts-editable-table--rolling-return-extremes table :is(th, td):nth-child(4),
	.entry-content .bts-site-ux-table--rolling-return-extremes table :is(th, td):nth-child(3),
	.entry-content .bts-site-ux-table--rolling-return-extremes table :is(th, td):nth-child(4) {
		width: 240px !important;
		min-width: 240px !important;
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}

	/* Rolling relative extremes. */
	.entry-content .wp-block-table.bts-editable-table--rolling-relative-extremes table,
	.entry-content .bts-site-ux-table--rolling-relative-extremes table {
		min-width: 650px !important;
		table-layout: auto !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-relative-extremes table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--rolling-relative-extremes table :is(th, td):first-child {
		width: 130px !important;
		min-width: 130px !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-relative-extremes table :is(th, td):nth-child(2),
	.entry-content .wp-block-table.bts-editable-table--rolling-relative-extremes table :is(th, td):nth-child(3),
	.entry-content .bts-site-ux-table--rolling-relative-extremes table :is(th, td):nth-child(2),
	.entry-content .bts-site-ux-table--rolling-relative-extremes table :is(th, td):nth-child(3) {
		width: 260px !important;
		min-width: 260px !important;
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}
}


/* Dividend Aristocrats explicit-table pilot polish.
   Aligns Column A across rolling-window metric and summary tables. */
@media (min-width: 801px) {
	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table :is(th, td):first-child,
	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--rolling-window table :is(th, td):first-child {
		width: 36% !important;
		min-width: 36% !important;
		max-width: 36% !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table :is(th, td):nth-child(2),
	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table :is(th, td):nth-child(3),
	.entry-content .bts-site-ux-table--rolling-window table :is(th, td):nth-child(2),
	.entry-content .bts-site-ux-table--rolling-window table :is(th, td):nth-child(3) {
		width: 32% !important;
		min-width: 32% !important;
		max-width: 32% !important;
		text-align: center !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table :is(th, td):nth-child(2) {
		width: 64% !important;
		min-width: 64% !important;
		max-width: 64% !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--drawdown-summary table :is(th, td) {
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}
}

@media (max-width: 800px) {
	.entry-content .wp-block-table.bts-editable-table--rolling-window-metrics table :is(th, td):first-child,
	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table :is(th, td):first-child,
	.entry-content .bts-site-ux-table--rolling-window table :is(th, td):first-child {
		width: 240px !important;
		min-width: 240px !important;
		text-align: left !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table {
		min-width: 620px !important;
		table-layout: auto !important;
	}

	.entry-content .wp-block-table.bts-editable-table--rolling-window-summary table :is(th, td):nth-child(2) {
		width: 380px !important;
		min-width: 380px !important;
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}

	.entry-content .wp-block-table.bts-editable-table--drawdown-summary table :is(th, td) {
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}
}






/* Unified figure captions.
   Figure text is figure text: image and table captions share one foundation. */
.entry-content figcaption.wp-element-caption {
	color: #161D26 !important;
	font-size: 15px !important;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
}

/* Editable Gutenberg table caption spacing.
   Keep this structural exception narrow so image captions and table captions share typography. */
.entry-content figure.wp-block-table.bts-editable-table table {
	margin-bottom: 0;
}

.entry-content figure.wp-block-table.bts-editable-table figcaption.wp-element-caption {
	margin-top: .35em !important;
}





/* Editable informational table alignment.
   Migrated from Additional CSS so bts-editable-table--info owns its durable structure. */
.entry-content .wp-block-table.bts-editable-table--info tbody td:first-child {
	font-weight: 700;
}

.entry-content .wp-block-table.bts-editable-table--info thead th,
.entry-content .wp-block-table.bts-editable-table--info tbody td {
	text-align: left;
}

/* Editable strategy comparison and metrics tables.
   Migrated from Additional CSS so structural compare/metrics visuals are plugin-owned.
   Membership-level module headers retain their semantic background-color model:
   Free Account = navy, Pro = teal, Ultra Pro = gold, all with white text. */
.entry-content .wp-block-table.bts-editable-table--compare table {
	min-width: 560px;
}

.entry-content .wp-block-table.bts-editable-table--compare tbody td:first-child {
	font-weight: 700;
}

.entry-content .wp-block-table.bts-editable-table--metrics thead th:first-child {
	width: 32px;
	min-width: 32px;
	max-width: 32px;
	padding: 0;
	color: transparent;
	font-size: 0;
	line-height: 0;
}

.entry-content .wp-block-table.bts-editable-table--metrics thead th:nth-child(2),
.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(2) {
	text-align: left;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(2) {
	font-weight: 700;
}

.entry-content .wp-block-table.bts-editable-table--metrics thead th:nth-child(3),
.entry-content .wp-block-table.bts-editable-table--metrics thead th:nth-child(4),
.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(3),
.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(4) {
	text-align: center;
	vertical-align: middle;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(3),
.entry-content .wp-block-table.bts-editable-table--metrics tbody td:nth-child(4) {
	white-space: nowrap;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody td:first-child {
	position: relative;
	width: 32px;
	min-width: 32px;
	max-width: 32px;
	padding: 0;
	background: #F6F8FA;
	color: transparent !important;
	font-size: 0;
	line-height: 0;
	text-align: center;
	vertical-align: middle;
	overflow: visible;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(1) td:first-child::before,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(4) td:first-child::before,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(8) td:first-child::before {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8F9BA7;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	pointer-events: none;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(1) td:first-child::before {
	content: "ACTIVITY";
	height: 300%;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(4) td:first-child::before {
	content: "RISK";
	height: 400%;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(8) td:first-child::before {
	content: "RESULT";
	height: 200%;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(1) td:first-child,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(2) td:first-child,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(4) td:first-child,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(5) td:first-child,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(6) td:first-child,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(8) td:first-child {
	border-bottom-color: #F6F8FA;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(2) td:first-child,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(3) td:first-child,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(5) td:first-child,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(6) td:first-child,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(7) td:first-child,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(9) td:first-child {
	border-top-color: #F6F8FA;
}

.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(4) td,
.entry-content .wp-block-table.bts-editable-table--metrics tbody tr:nth-child(8) td {
	border-top: 2px solid #DADFE6;
}

/* Monthly and annual return matrix.
   Migrated from Additional CSS so BTS Site UX owns monthly/annual return tables. */
.entry-content .bts-return-matrix {
	width: 100%;
	max-width: none;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-content .bts-return-matrix table {
	width: auto;
	min-width: 710px;
	table-layout: fixed;
	font-size: 1.2rem;
	line-height: 1.22;
	font-variant-numeric: tabular-nums;
}

.entry-content .bts-return-matrix th,
.entry-content .bts-return-matrix td {
	padding: .30rem .12rem;
	text-align: right;
	white-space: nowrap;
	vertical-align: middle;
}

.entry-content .bts-return-matrix tbody td,
.entry-content .bts-return-matrix tbody td * {
	font-weight: 400 !important;
}

.entry-content .bts-return-matrix thead th,
.entry-content .bts-return-matrix thead th * {
	font-size: 1.28rem !important;
	font-weight: 700 !important;
	line-height: 1.18 !important;
}

.entry-content .bts-return-matrix th:first-child,
.entry-content .bts-return-matrix td:first-child,
.entry-content .bts-return-matrix th:first-child *,
.entry-content .bts-return-matrix td:first-child * {
	text-align: left;
	color: #161D26 !important;
	font-weight: 700 !important;
	width: 3.1rem;
}

.entry-content .bts-return-matrix th:not(:first-child):not(:last-child),
.entry-content .bts-return-matrix td:not(:first-child):not(:last-child) {
	width: 3.05rem;
}

.entry-content .bts-return-matrix th:last-child,
.entry-content .bts-return-matrix td:last-child,
.entry-content .bts-return-matrix th:last-child *,
.entry-content .bts-return-matrix td:last-child * {
	font-weight: 700 !important;
	width: 3.7rem;
}

.entry-content .bts-return-matrix .bts-return-positive {
	color: #138A36;
}

.entry-content .bts-return-matrix .bts-return-negative {
	color: #C62828;
}

.entry-content .bts-return-matrix .bts-return-zero {
	color: #161D26;
}

.entry-content .bts-return-matrix tbody tr:not(:last-child):not(.bts-return-average-row) td:not(:first-child):not(:last-child),
.entry-content .bts-return-matrix tbody tr:not(:last-child):not(.bts-return-average-row) td:not(:first-child):not(:last-child) * {
	color: #161D26 !important;
	font-weight: 400 !important;
}

.entry-content .bts-return-matrix tbody tr:not(.bts-return-average-row) td:last-child.bts-return-positive,
.entry-content .bts-return-matrix tbody tr:not(.bts-return-average-row) td:last-child .bts-return-positive {
	color: #138A36 !important;
}

.entry-content .bts-return-matrix tbody tr:not(.bts-return-average-row) td:last-child.bts-return-negative,
.entry-content .bts-return-matrix tbody tr:not(.bts-return-average-row) td:last-child .bts-return-negative {
	color: #C62828 !important;
}

.entry-content .bts-return-matrix tbody tr:not(.bts-return-average-row) td:last-child.bts-return-zero,
.entry-content .bts-return-matrix tbody tr:not(.bts-return-average-row) td:last-child .bts-return-zero {
	color: #161D26 !important;
}

.entry-content .bts-return-matrix .bts-return-average-row th,
.entry-content .bts-return-matrix .bts-return-average-row td,
.entry-content .bts-return-matrix .bts-return-average-row *,
.entry-content .bts-return-matrix tbody tr:last-child th,
.entry-content .bts-return-matrix tbody tr:last-child td,
.entry-content .bts-return-matrix tbody tr:last-child *,
.entry-content .bts-return-matrix tfoot th,
.entry-content .bts-return-matrix tfoot td,
.entry-content .bts-return-matrix tfoot * {
	font-weight: 700 !important;
}

.entry-content .bts-return-matrix .bts-return-average-row th,
.entry-content .bts-return-matrix .bts-return-average-row td,
.entry-content .bts-return-matrix tbody tr:last-child th,
.entry-content .bts-return-matrix tbody tr:last-child td,
.entry-content .bts-return-matrix tfoot th,
.entry-content .bts-return-matrix tfoot td {
	background: #FFFAE6;
	border-top: 2px solid #DADFE6;
}

.entry-content .bts-return-matrix .bts-return-average-row td.bts-return-positive,
.entry-content .bts-return-matrix .bts-return-average-row .bts-return-positive,
.entry-content .bts-return-matrix tbody tr:last-child td.bts-return-positive,
.entry-content .bts-return-matrix tbody tr:last-child .bts-return-positive,
.entry-content .bts-return-matrix tfoot td.bts-return-positive,
.entry-content .bts-return-matrix tfoot .bts-return-positive {
	color: #138A36 !important;
}

.entry-content .bts-return-matrix .bts-return-average-row td.bts-return-negative,
.entry-content .bts-return-matrix .bts-return-average-row .bts-return-negative,
.entry-content .bts-return-matrix tbody tr:last-child td.bts-return-negative,
.entry-content .bts-return-matrix tbody tr:last-child .bts-return-negative,
.entry-content .bts-return-matrix tfoot td.bts-return-negative,
.entry-content .bts-return-matrix tfoot .bts-return-negative {
	color: #C62828 !important;
}

.entry-content .bts-return-matrix .bts-return-average-row td.bts-return-zero,
.entry-content .bts-return-matrix .bts-return-average-row .bts-return-zero,
.entry-content .bts-return-matrix tbody tr:last-child td.bts-return-zero,
.entry-content .bts-return-matrix tbody tr:last-child .bts-return-zero,
.entry-content .bts-return-matrix tfoot td.bts-return-zero,
.entry-content .bts-return-matrix tfoot .bts-return-zero {
	color: #161D26 !important;
}

@media (max-width: 900px) {
	.entry-content .bts-return-matrix table {
		min-width: 710px;
	}
}

/* Legacy per-page mobile return-table fallbacks consolidated into the reusable monthly/annual class. */
@media (max-width: 760px) {
	.entry-content .bts-return-table--monthly-annual {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		-webkit-overflow-scrolling: touch;
	}

	.entry-content .bts-return-table--monthly-annual table {
		width: max-content !important;
		min-width: 920px !important;
		table-layout: auto !important;
	}

	.entry-content .bts-return-table--monthly-annual th,
	.entry-content .bts-return-table--monthly-annual td {
		white-space: nowrap !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	.entry-content .bts-return-table--monthly-annual th {
		text-align: center !important;
	}

	.entry-content .bts-return-table--monthly-annual td {
		text-align: right !important;
	}

	.entry-content .bts-return-table--monthly-annual th:first-child,
	.entry-content .bts-return-table--monthly-annual td:first-child {
		min-width: 88px !important;
		text-align: left !important;
	}
}

/* Strategy membership unlock strips and level-aware separators.
   Durable strategy child-page scoping replaces hard-coded page-ID lists. */
body.parent-pageid-52 .entry-content span[style*="border-radius:999px"][style*="display:inline-block"],
body.page-child.parent-pageid-52 .entry-content span[style*="border-radius:999px"][style*="display:inline-block"] {
	display: block !important;
	width: min(520px, 72%) !important;
	max-width: 520px !important;
	box-sizing: border-box !important;
	padding: 0.48em 1em !important;
	border-radius: 4px 0 0 4px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}

body.parent-pageid-52 .entry-content span[style*="background-color:#0D294A"][style*="border-radius:999px"],
body.parent-pageid-52 .entry-content span[style*="background-color: #0D294A"][style*="border-radius:999px"],
body.page-child.parent-pageid-52 .entry-content span[style*="background-color:#0D294A"][style*="border-radius:999px"],
body.page-child.parent-pageid-52 .entry-content span[style*="background-color: #0D294A"][style*="border-radius:999px"] {
	background: linear-gradient(90deg, #0D294A 0%, #0D294A 62%, rgba(13, 41, 74, 0.55) 84%, rgba(13, 41, 74, 0) 100%) !important;
	color: #FFFFFF !important;
}

body.parent-pageid-52 .entry-content span[style*="background-color:#8F9BA7"][style*="border-radius:999px"],
body.parent-pageid-52 .entry-content span[style*="background-color: #8F9BA7"][style*="border-radius:999px"],
body.parent-pageid-52 .entry-content span[style*="background-color:#2D7F6D"][style*="border-radius:999px"],
body.parent-pageid-52 .entry-content span[style*="background-color: #2D7F6D"][style*="border-radius:999px"],
body.page-child.parent-pageid-52 .entry-content span[style*="background-color:#8F9BA7"][style*="border-radius:999px"],
body.page-child.parent-pageid-52 .entry-content span[style*="background-color: #8F9BA7"][style*="border-radius:999px"],
body.page-child.parent-pageid-52 .entry-content span[style*="background-color:#2D7F6D"][style*="border-radius:999px"],
body.page-child.parent-pageid-52 .entry-content span[style*="background-color: #2D7F6D"][style*="border-radius:999px"] {
	background: linear-gradient(90deg, #2D7F6D 0%, #2D7F6D 62%, rgba(45, 127, 109, 0.55) 84%, rgba(45, 127, 109, 0) 100%) !important;
	color: #FFFFFF !important;
}

body.parent-pageid-52 .entry-content span[style*="background-color:#D8A12E"][style*="border-radius:999px"],
body.parent-pageid-52 .entry-content span[style*="background-color: #D8A12E"][style*="border-radius:999px"],
body.page-child.parent-pageid-52 .entry-content span[style*="background-color:#D8A12E"][style*="border-radius:999px"],
body.page-child.parent-pageid-52 .entry-content span[style*="background-color: #D8A12E"][style*="border-radius:999px"] {
	background: linear-gradient(90deg, #D8A12E 0%, #D8A12E 62%, rgba(216, 161, 46, 0.55) 84%, rgba(216, 161, 46, 0) 100%) !important;
	color: #FFFFFF !important;
}

body.parent-pageid-52 .entry-content .bts-locked-module--free .bts-upgrade-separator,
body.page-child.parent-pageid-52 .entry-content .bts-locked-module--free .bts-upgrade-separator,
body.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color:#0D294A"][style*="border-radius:999px"]),
body.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color: #0D294A"][style*="border-radius:999px"]),
body.page-child.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color:#0D294A"][style*="border-radius:999px"]),
body.page-child.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color: #0D294A"][style*="border-radius:999px"]) {
	background: linear-gradient(90deg, #0D294A 0, #0D294A 64px, #DADFE6 64px, #DADFE6 100%) !important;
}

body.parent-pageid-52 .entry-content .bts-locked-module--pro .bts-upgrade-separator,
body.page-child.parent-pageid-52 .entry-content .bts-locked-module--pro .bts-upgrade-separator,
body.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color:#8F9BA7"][style*="border-radius:999px"]),
body.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color: #8F9BA7"][style*="border-radius:999px"]),
body.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color:#2D7F6D"][style*="border-radius:999px"]),
body.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color: #2D7F6D"][style*="border-radius:999px"]),
body.page-child.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color:#8F9BA7"][style*="border-radius:999px"]),
body.page-child.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color: #8F9BA7"][style*="border-radius:999px"]),
body.page-child.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color:#2D7F6D"][style*="border-radius:999px"]),
body.page-child.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color: #2D7F6D"][style*="border-radius:999px"]) {
	background: linear-gradient(90deg, #2D7F6D 0, #2D7F6D 64px, #DADFE6 64px, #DADFE6 100%) !important;
}

body.parent-pageid-52 .entry-content .bts-locked-module--ultrapro .bts-upgrade-separator,
body.page-child.parent-pageid-52 .entry-content .bts-locked-module--ultrapro .bts-upgrade-separator,
body.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color:#D8A12E"][style*="border-radius:999px"]),
body.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color: #D8A12E"][style*="border-radius:999px"]),
body.page-child.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color:#D8A12E"][style*="border-radius:999px"]),
body.page-child.parent-pageid-52 .entry-content hr.bts-upgrade-separator:has(+ p span[style*="background-color: #D8A12E"][style*="border-radius:999px"]) {
	background: linear-gradient(90deg, #D8A12E 0, #D8A12E 64px, #DADFE6 64px, #DADFE6 100%) !important;
}

/* Strategy upgrade checklist hanging-indent alignment. */
body.parent-pageid-52 .entry-content .bts-upgrade-checklist [role="listitem"],
body.page-child.parent-pageid-52 .entry-content .bts-upgrade-checklist [role="listitem"] {
	position: relative !important;
	padding-left: 1.65em !important;
}

body.parent-pageid-52 .entry-content .bts-upgrade-checklist [role="listitem"] span[aria-hidden="true"]:first-child,
body.page-child.parent-pageid-52 .entry-content .bts-upgrade-checklist [role="listitem"] span[aria-hidden="true"]:first-child {
	position: absolute !important;
	left: 0 !important;
	top: 0.02em !important;
	width: 1em !important;
	text-align: center !important;
}


/* Monthly/annual return matrix mobile sticky Year column.
   Mobile-only enhancement: keep Column A visible while Jan-Dec-Annual scroll horizontally. */
@media (max-width: 760px) {
	.entry-content .bts-return-matrix table,
	.entry-content .bts-return-table--monthly-annual table {
		border-collapse: separate !important;
		border-spacing: 0 !important;
	}

	.entry-content .bts-return-matrix table :is(th, td):first-child,
	.entry-content .bts-return-table--monthly-annual table :is(th, td):first-child {
		position: sticky !important;
		left: 0 !important;
		z-index: 4 !important;
		background: #FFFAE6 !important;
		background-clip: padding-box !important;
		box-shadow: 7px 0 10px -12px rgba(13, 41, 74, 0.85) !important;
	}

	.entry-content .bts-return-matrix table thead th:first-child,
	.entry-content .bts-return-table--monthly-annual table thead th:first-child {
		z-index: 6 !important;
		background: #0D294A !important;
		color: #FFFFFF !important;
	}

	.entry-content .bts-return-matrix table tbody tr:nth-child(odd) td:first-child,
	.entry-content .bts-return-matrix table tbody tr:nth-child(even) td:first-child,
	.entry-content .bts-return-table--monthly-annual table tbody tr:nth-child(odd) td:first-child,
	.entry-content .bts-return-table--monthly-annual table tbody tr:nth-child(even) td:first-child {
		background: #FFFAE6 !important;
	}

	.entry-content .bts-return-matrix table tbody tr:last-child td:first-child,
	.entry-content .bts-return-matrix table .bts-return-average-row td:first-child,
	.entry-content .bts-return-matrix table tfoot td:first-child,
	.entry-content .bts-return-table--monthly-annual table tbody tr:last-child td:first-child,
	.entry-content .bts-return-table--monthly-annual table .bts-return-average-row td:first-child,
	.entry-content .bts-return-table--monthly-annual table tfoot td:first-child {
		z-index: 5 !important;
		background: #FFFAE6 !important;
	}

	.entry-content .bts-return-matrix table :is(th, td):first-child::after,
	.entry-content .bts-return-table--monthly-annual table :is(th, td):first-child::after {
		content: "";
		position: absolute;
		top: 0;
		right: -1px;
		bottom: 0;
		width: 1px;
		background: #DADFE6;
		pointer-events: none;
	}
}
