/*
 * SleepBaby.org 2.5.8 homepage color and component contract.
 *
 * This late, cache-safe layer permanently binds each homepage surface to one
 * explicit foreground/background pair.  It deliberately assigns both `color`
 * and `-webkit-text-fill-color` to the anchor and every inline descendant so
 * archived inline colors, global link rules, visited state, and Chromium text
 * fill cannot split a control into mismatched colors.
 *
 * Layout, protected Workshop copy, review order, routing, and v2.5.7 assisted
 * continuity remain unchanged.
 */

body.sb-home-precovid-2019.sleepbaby-homepage {
	--sb258-ink: #24142d;
	--sb258-ink-soft: #493c50;
	--sb258-plum: #2b1539;
	--sb258-plum-hover: #462456;
	--sb258-plum-active: #21102c;
	--sb258-night: #152040;
	--sb258-night-hover: #202f55;
	--sb258-green: #315f59;
	--sb258-green-hover: #28504c;
	--sb258-green-active: #213f3d;
	--sb258-paper: #fffdfa;
	--sb258-paper-soft: #faf6fc;
	--sb258-near-white: #fffdfa;
	--sb258-mint: #c8f5df;
	--sb258-mint-hover: #b8edcf;
	--sb258-mint-active: #a8e2c1;
	--sb258-link: #174f82;
	--sb258-link-hover: #0e3e6e;
	--sb258-link-active: #092e52;
	--sb258-focus: #0b65b1;
	--sb258-line: #cfc3d4;
	color: var(--sb258-ink) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor,
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(p, li, h1, h2, h3, h4, h5, h6, blockquote, address, label, small, figcaption) {
	color: var(--sb258-ink);
}

/* Reset archived inline paint only in ordinary, light reading blocks. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] > :is(.thrv_text_element, .thrv_heading):not(.sb-home-chapter) :is(p, li, h2, h3, h4, span, strong, em, b, i),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15dcd52b5a6"] :is(p, span, strong, em, b, i) {
	color: var(--sb258-ink) !important;
	-webkit-text-fill-color: var(--sb258-ink) !important;
	text-shadow: none !important;
}

/* Ordinary inline reading links: one state system, including nested spans. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] > .thrv_text_element a:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] > .thrv_text_element a:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i) {
	color: var(--sb258-link) !important;
	-webkit-text-fill-color: var(--sb258-link) !important;
	text-decoration-color: currentColor !important;
	text-decoration-thickness: .08em !important;
	text-underline-offset: .18em !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] > .thrv_text_element a:is(:hover, :focus-visible),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] > .thrv_text_element a:is(:hover, :focus-visible) :is(span, strong, em, b, i) {
	color: var(--sb258-link-hover) !important;
	-webkit-text-fill-color: var(--sb258-link-hover) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] > .thrv_text_element a:active,
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] > .thrv_text_element a:active :is(span, strong, em, b, i) {
	color: var(--sb258-link-active) !important;
	-webkit-text-fill-color: var(--sb258-link-active) !important;
}

/* Masthead and chapter rail: paper/plum controls in every link state. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(.sb-home-masthead__nav, .sb-home-chapters) a:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(.sb-home-masthead__nav, .sb-home-chapters) a:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i) {
	color: var(--sb258-plum) !important;
	-webkit-text-fill-color: var(--sb258-plum) !important;
	text-decoration: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(.sb-home-masthead__nav, .sb-home-chapters) a:is(:hover, :focus-visible) {
	border-color: #bca9c5 !important;
	background-color: #eee8fb !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(.sb-home-masthead__nav, .sb-home-chapters) a:is(.is-current-section, .is-active, [aria-current="location"]),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(.sb-home-masthead__nav, .sb-home-chapters) a:is(.is-current-section, .is-active, [aria-current="location"]) :is(span, strong, em, b, i) {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
	background-color: #2b1539 !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-home-chapters__label {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
	background-color: var(--sb258-plum) !important;
}

/* Hero night stage and its light decision console. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-169e7153da2"] {
	background-color: var(--sb258-plum) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor h1[data-css="tve-u-15ddcf2d07a"],
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor h1[data-css="tve-u-15ddcf2d07a"] :is(span, strong, em, b, i) {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(.sb-cro-hero-module, .sb-assisted-continuity-deck) {
	color: var(--sb258-ink) !important;
	background-color: var(--sb258-paper) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(.sb-cro-hero-module, .sb-assisted-continuity-deck) :is(
	.sb-cro-hero-module__eyebrow,
	.sb-assisted-continuity-deck__title,
	.sb-assisted-continuity-deck__copy,
	.sb-assisted-continuity-deck__path li,
	.sb-assisted-continuity-deck__path li span,
	.sb-cro-hero-module__proof li
) {
	color: #2f163a !important;
	-webkit-text-fill-color: #2f163a !important;
}

/* Guided primary is always dark plum on mint—including its arrow. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-cro-hero-module a.sb-cro-hero-module__guided.sb-cro-hero-module__primary:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-cro-hero-module a.sb-cro-hero-module__guided.sb-cro-hero-module__primary:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i, .sb-cro-cta__arrow) {
	color: var(--sb258-plum) !important;
	-webkit-text-fill-color: var(--sb258-plum) !important;
	text-decoration: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-cro-hero-module a.sb-cro-hero-module__guided.sb-cro-hero-module__primary:is(:link, :visited, :hover, :focus-visible, :active) {
	background-color: var(--sb258-mint) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-cro-hero-module a.sb-cro-hero-module__guided.sb-cro-hero-module__primary:is(:hover, :focus-visible) {
	background-color: var(--sb258-mint-hover) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-cro-hero-module a.sb-cro-hero-module__guided.sb-cro-hero-module__primary:active {
	background-color: var(--sb258-mint-active) !important;
}

/* Guided secondary is plum on opaque paper, never browser-blue. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-cro-hero-module__guided:not(.sb-cro-hero-module__primary):is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-cro-hero-module__guided:not(.sb-cro-hero-module__primary):is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i, .sb-cro-cta__arrow) {
	color: var(--sb258-plum) !important;
	-webkit-text-fill-color: var(--sb258-plum) !important;
	text-decoration: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-cro-hero-module__guided:not(.sb-cro-hero-module__primary):is(:link, :visited, :hover, :focus-visible, :active) {
	background-color: var(--sb258-paper) !important;
}

/* Cold supporting Workshop action remains near-white on the proven night fill. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-cro-hero-module:not(.sb-cro-hero-module--article-assisted):not(.sb-assisted-continuity-deck) a.sb-cro-cta:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-cro-hero-module:not(.sb-cro-hero-module--article-assisted):not(.sb-assisted-continuity-deck) a.sb-cro-cta:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i, .sb-cro-cta__arrow) {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
	text-decoration: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-cro-hero-module:not(.sb-cro-hero-module--article-assisted):not(.sb-assisted-continuity-deck) a.sb-cro-cta:is(:link, :visited, :hover, :focus-visible, :active) {
	background-color: var(--sb258-night) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-cro-hero-module:not(.sb-cro-hero-module--article-assisted):not(.sb-assisted-continuity-deck) a.sb-cro-cta:is(:hover, :focus-visible) {
	background-color: var(--sb258-night-hover) !important;
}

/* Assisted continuity reverses priority: plum on mint, label and arrow alike. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(.sb-cro-hero-module--article-assisted, .sb-assisted-continuity-deck) a.sb-cro-cta:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(.sb-cro-hero-module--article-assisted, .sb-assisted-continuity-deck) a.sb-cro-cta:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i, .sb-cro-cta__arrow) {
	color: #2f163a !important;
	-webkit-text-fill-color: #2f163a !important;
	text-decoration: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(.sb-cro-hero-module--article-assisted, .sb-assisted-continuity-deck) a.sb-cro-cta:is(:link, :visited, :hover, :focus-visible, :active) {
	background-color: var(--sb258-mint) !important;
}

/*
 * Paid-Quora continuity at the measured 430px viewport.  The scroll action is
 * the unmistakable first decision; Workshop access remains present, readable,
 * and deliberately quieter.  This changes hierarchy only—never wording,
 * routing, or interaction behavior.
 */
body.sb-home-precovid-2019.sleepbaby-homepage.sb-cro-quora-paid-home #tve_editor .sb-cro-hero-module--quora-paid {
	border-color: #b69ec2 !important;
	background-color: var(--sb258-paper) !important;
	background-image: linear-gradient(155deg, #fffdfa 0%, #f8f2fb 58%, #edf9f4 100%) !important;
	box-shadow: 0 24px 58px rgba(23, 11, 32, .30), inset 0 1px rgba(255, 255, 255, .95) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage.sb-cro-quora-paid-home #tve_editor .sb-cro-hero-module--quora-paid .sb-cro-hero-module__eyebrow {
	align-self: flex-start;
	margin-bottom: 4px !important;
	padding: 7px 11px !important;
	border: 1px solid #a9d7c1 !important;
	border-radius: 999px !important;
	color: #3b2148 !important;
	-webkit-text-fill-color: #3b2148 !important;
	background-color: #e5f8ef !important;
	letter-spacing: .075em !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage.sb-cro-quora-paid-home #tve_editor .sb-cro-hero-module--quora-paid a.sb-cro-hero-module__guided.sb-cro-hero-module__primary:is(:link, :visited, :hover, :focus-visible, :active) {
	min-height: 64px !important;
	border: 2px solid #4d8c70 !important;
	border-radius: 16px !important;
	background-color: var(--sb258-mint) !important;
	background-image: linear-gradient(135deg, #d8fae9, #b5eccf) !important;
	box-shadow: 0 13px 28px rgba(49, 95, 89, .22), inset 0 1px rgba(255, 255, 255, .92) !important;
	font-size: clamp(20px, 5.3vw, 24px) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage.sb-cro-quora-paid-home #tve_editor .sb-cro-hero-module.sb-cro-hero-module--quora-paid a.sb-cro-cta--supporting:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage.sb-cro-quora-paid-home #tve_editor .sb-cro-hero-module.sb-cro-hero-module--quora-paid a.sb-cro-cta--supporting:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i, .sb-cro-cta__arrow) {
	color: var(--sb258-plum) !important;
	-webkit-text-fill-color: var(--sb258-plum) !important;
	text-decoration: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage.sb-cro-quora-paid-home #tve_editor .sb-cro-hero-module.sb-cro-hero-module--quora-paid a.sb-cro-cta--supporting:is(:link, :visited, :hover, :focus-visible, :active) {
	min-height: 52px !important;
	border-color: #a995b3 !important;
	background-color: var(--sb258-paper) !important;
	background-image: none !important;
	box-shadow: none !important;
	font-size: 17px !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage.sb-cro-quora-paid-home #tve_editor .sb-cro-hero-module.sb-cro-hero-module--quora-paid a.sb-cro-cta--supporting:is(:hover, :focus-visible) {
	border-color: #775f83 !important;
	background-color: #f2edf6 !important;
}

@media (max-width: 430px) {
	body.sb-home-precovid-2019.sleepbaby-homepage.sb-cro-quora-paid-home #tve_editor .sb-cro-hero-module--quora-paid {
		gap: 10px !important;
		padding: clamp(18px, 5.6vw, 24px) !important;
		border-radius: 21px !important;
	}

	body.sb-home-precovid-2019.sleepbaby-homepage.sb-cro-quora-paid-home #tve_editor .sb-cro-hero-module--quora-paid .sb-cro-hero-module__proof {
		grid-template-columns: 1fr !important;
		gap: 6px !important;
	}

	body.sb-home-precovid-2019.sleepbaby-homepage.sb-cro-quora-paid-home #tve_editor .sb-cro-hero-module--quora-paid .sb-cro-hero-module__proof li {
		min-height: 44px !important;
	}
}

/* Chapter banners: explicit light or dark contracts, never inherited legacy paint. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] :is(
	.sb-home-chapter--science,
	.sb-home-chapter--story,
	.sb-home-chapter--tips,
	.sb-home-chapter--discover,
	.sb-home-chapter--bonuses,
	.sb-home-chapter--reviews,
	.sb-home-chapter--guarantee
) {
	color: var(--sb258-ink) !important;
	background-color: var(--sb258-paper) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] :is(
	.sb-home-chapter--science,
	.sb-home-chapter--story,
	.sb-home-chapter--tips,
	.sb-home-chapter--discover,
	.sb-home-chapter--bonuses,
	.sb-home-chapter--reviews,
	.sb-home-chapter--guarantee
) :is(h2, h3, h4, p, span, strong, em, b, i) {
	color: var(--sb258-ink) !important;
	-webkit-text-fill-color: var(--sb258-ink) !important;
	text-shadow: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] :is(.sb-home-chapter--workshop, .sb-home-chapter--final) {
	color: var(--sb258-near-white) !important;
	background-color: var(--sb258-plum) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] :is(.sb-home-chapter--workshop, .sb-home-chapter--final) :is(h2, h3, h4, p, span, strong, em, b, i) {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
	text-shadow: none !important;
}

/* Numbered teaching cards stay paper/ink; their number medallions stay white/plum. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-ct-name="Number Box 5"] {
	color: var(--sb258-ink) !important;
	background-color: var(--sb258-paper) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-ct-name="Number Box 5"] :is(p, li, h2, h3, h4, span, strong, em, b, i) {
	color: var(--sb258-ink) !important;
	-webkit-text-fill-color: var(--sb258-ink) !important;
	text-shadow: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-ct-name="Number Box 5"] p[data-css="tve-u-1698df34e1d"],
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-ct-name="Number Box 5"] p[data-css="tve-u-1698df34e1d"] :is(span, strong, em, b, i) {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-ct-name="Number Box 5"] p[data-css="tve-u-1698df34e1d"] {
	background-color: var(--sb258-plum) !important;
}

/* Dark decision panels: all copy is opaque near-white. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-ct-name="Exciting Download Button"] {
	color: var(--sb258-near-white) !important;
	background-color: #251130 !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-ct-name="Exciting Download Button"] :is(p, li, h2, h3, h4, span, strong, em, b, i, small) {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
	text-shadow: none !important;
}

/* Every upgraded access button is white on deep green in all states. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-cro-cta.sb-cro-cta--legacy-upgraded:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-cro-cta.sb-cro-cta--legacy-upgraded:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i, .sb-cro-cta__arrow) {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
	text-decoration: none !important;
	text-shadow: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-cro-cta.sb-cro-cta--legacy-upgraded:is(:link, :visited, :hover, :focus-visible, :active) {
	/* Reset the full background shorthand: legacy v256 uses an !important
	 * gradient, so background-color alone cannot own the final painted pixels. */
	background: var(--sb258-green) !important;
	filter: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-cro-cta.sb-cro-cta--legacy-upgraded:is(:hover, :focus-visible) {
	background: var(--sb258-green-hover) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-cro-cta.sb-cro-cta--legacy-upgraded:active {
	background: var(--sb258-green-active) !important;
}

/* No-JS fallback for the archived bitmap actions uses the same green/white contract. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-ct-name="Exciting Download Button"] .tve_image_frame > a[href*="/purchase/"]:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-ct-name="Exciting Download Button"] .tve_image_frame > a[href*="/purchase/"]:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i) {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
	text-decoration: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-ct-name="Exciting Download Button"] .tve_image_frame > a[href*="/purchase/"]:is(:link, :visited, :hover, :focus-visible, :active) {
	background: var(--sb258-green) !important;
}

/* Editorial review sheets are light surfaces; legacy colored names cannot leak. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] :is(
	[data-css="tve-u-15ddce293d5"],
	[data-css="tve-u-16ab6a5d9a7"],
	[data-css="tve-u-169b3273af3"],
	[data-css="tve-u-16a04b85e96"],
	[data-css="tve-u-16a04b8a472"],
	[data-css="tve-u-16a04b8f253"],
	[data-css="tve-u-16a04ccf1f6"],
	[data-css="tve-u-16a04ce820d"]
) {
	color: var(--sb258-ink) !important;
	background-color: var(--sb258-paper) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] :is(
	[data-css="tve-u-15ddce293d5"],
	[data-css="tve-u-16ab6a5d9a7"],
	[data-css="tve-u-169b3273af3"],
	[data-css="tve-u-16a04b85e96"],
	[data-css="tve-u-16a04b8a472"],
	[data-css="tve-u-16a04b8f253"],
	[data-css="tve-u-16a04ccf1f6"],
	[data-css="tve-u-16a04ce820d"]
) :is(p, li, h2, h3, h4, span, strong, em, b, i) {
	color: var(--sb258-ink) !important;
	-webkit-text-fill-color: var(--sb258-ink) !important;
	text-shadow: none !important;
}

/* Baby-won't-sleep field guide: explicit light surface hierarchy. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-home-reasons {
	color: var(--sb258-ink) !important;
	background-color: #f7f4ff !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-home-reasons :is(h2, h3, h4, p, li, span, strong, em, b, i) {
	color: inherit;
	-webkit-text-fill-color: currentColor;
}

/* Diagnostic jump controls remain plum on paper despite later generic link rules. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] .sb-home-reasons__index a:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] .sb-home-reasons__index a:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i) {
	color: var(--sb258-plum) !important;
	-webkit-text-fill-color: var(--sb258-plum) !important;
	text-decoration: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] .sb-home-reasons__index a:is(:link, :visited, :hover, :focus-visible, :active) {
	background-color: var(--sb258-paper) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] .sb-home-reasons__index a:is(:hover, :focus-visible) {
	background-color: #eee8fb !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-home-reasons__index a::before {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
	background-color: var(--sb258-plum) !important;
}

/* Field-guide reading links remain recognizable blue on every light sub-surface. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-home-reasons :is(
	.sb-home-reasons__intro,
	.sb-home-reasons__checklist,
	.sb-home-reasons__safety,
	.sb-home-reasons__list,
	.sb-home-reasons__source-note
) a:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-home-reasons :is(
	.sb-home-reasons__intro,
	.sb-home-reasons__checklist,
	.sb-home-reasons__safety,
	.sb-home-reasons__list,
	.sb-home-reasons__source-note
) a:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i) {
	color: var(--sb258-link) !important;
	-webkit-text-fill-color: var(--sb258-link) !important;
	text-decoration-color: currentColor !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-home-reasons :is(
	.sb-home-reasons__intro,
	.sb-home-reasons__checklist,
	.sb-home-reasons__safety,
	.sb-home-reasons__list,
	.sb-home-reasons__source-note
) a:is(:hover, :focus-visible),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-home-reasons :is(
	.sb-home-reasons__intro,
	.sb-home-reasons__checklist,
	.sb-home-reasons__safety,
	.sb-home-reasons__list,
	.sb-home-reasons__source-note
) a:is(:hover, :focus-visible) :is(span, strong, em, b, i) {
	color: var(--sb258-link-hover) !important;
	-webkit-text-fill-color: var(--sb258-link-hover) !important;
}

/* Guide shelf: card copy stays ink; reading cue stays blue. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor .sb-home-library {
	color: var(--sb258-ink) !important;
	background-color: #f2faf7 !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-home-guide-card__link:is(:link, :visited, :hover, :focus-visible, :active) {
	color: var(--sb258-ink) !important;
	-webkit-text-fill-color: var(--sb258-ink) !important;
	background-color: #ffffff !important;
	text-decoration: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-home-guide-card__link:is(:link, :visited, :hover, :focus-visible, :active) :is(h3, .sb-home-guide-card__excerpt) {
	color: var(--sb258-ink) !important;
	-webkit-text-fill-color: var(--sb258-ink) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-home-guide-card__link:is(:link, :visited, :hover, :focus-visible, :active) .sb-home-guide-card__meta {
	color: #35675d !important;
	-webkit-text-fill-color: #35675d !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-home-guide-card__link:is(:link, :visited, :hover, :focus-visible, :active) .sb-home-guide-card__read,
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor a.sb-home-guide-card__link:is(:link, :visited, :hover, :focus-visible, :active) .sb-home-guide-card__read :is(span, strong, em, b, i) {
	color: var(--sb258-link) !important;
	-webkit-text-fill-color: var(--sb258-link) !important;
	text-decoration-color: currentColor !important;
}

/* Named production blocker: plum action can never inherit generic blue. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] a.sb-home-library__all:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] a.sb-home-library__all:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i) {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
	text-decoration: none !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] a.sb-home-library__all:is(:link, :visited, :hover, :focus-visible, :active) {
	background-color: var(--sb258-plum) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] a.sb-home-library__all:is(:hover, :focus-visible) {
	background-color: var(--sb258-plum-hover) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] a.sb-home-library__all:active {
	background-color: var(--sb258-plum-active) !important;
}

/* Archive legal footer: complete dark-surface state contract through 2026 line. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4ae806c"] {
	color: var(--sb258-near-white) !important;
	background-color: #202842 !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4ae806c"] :is(p, span, strong, em, b, i) {
	color: var(--sb258-near-white) !important;
	-webkit-text-fill-color: var(--sb258-near-white) !important;
}

body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] [data-css="tve-u-15de4ae806c"] a:is(:link, :visited, :hover, :focus-visible, :active),
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor [data-css="tve-u-15de4b388bf"] [data-css="tve-u-15de4ae806c"] a:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i) {
	color: #d9f7ea !important;
	-webkit-text-fill-color: #d9f7ea !important;
	text-decoration-color: currentColor !important;
	text-underline-offset: .2em !important;
}

/* One focus language for every homepage control. */
body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor :is(a, button, summary):focus-visible {
	outline: 3px solid var(--sb258-focus) !important;
	outline-offset: 4px !important;
}

@media (prefers-reduced-motion: reduce) {
	/* The repeated-id :is() is a specificity shield against archived !important shorthands. */
	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor) *,
	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor) *::before,
	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor) *::after {
		scroll-behavior: auto !important;
		animation: none !important;
		transition: none !important;
		animation-duration: 0s !important;
		animation-delay: 0s !important;
		transition-duration: 0s !important;
		transition-delay: 0s !important;
		transform: none !important;
	}
}

@media (forced-colors: active) {
	/* Eliminate every author WebKit fill so system colors are authoritative. */
	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor):is(#tve_editor),
	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor):is(#tve_editor) *,
	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor):is(#tve_editor) *::before,
	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor):is(#tve_editor) *::after {
		-webkit-text-fill-color: currentColor !important;
		forced-color-adjust: auto !important;
	}

	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor):is(#tve_editor) :is(
		.sb-home-masthead,
		.sb-home-chapters,
		[data-css="tve-u-169e7153da2"],
		.sb-cro-hero-module,
		.sb-assisted-continuity-deck,
		.sb-assisted-continuity-deck__actions,
		.sb-assisted-continuity-deck__path li,
		.sb-cro-hero-module__proof li,
		.sb-home-chapter,
		[data-ct-name="Number Box 5"],
		[data-ct-name="Exciting Download Button"],
		.sb-home-reasons,
		.sb-home-reasons__index,
		.sb-home-reasons__checklist,
		.sb-home-reasons__safety,
		.sb-home-reasons__list > li,
		.sb-home-library,
		.sb-home-guide-card__link,
		[data-css="tve-u-15de4ae806c"]
	) {
		border-color: CanvasText !important;
		color: CanvasText !important;
		background: Canvas !important;
		box-shadow: none !important;
		filter: none !important;
	}

	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor):is(#tve_editor) a:is(:link, :visited, :hover, :focus-visible, :active),
	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor):is(#tve_editor) a:is(:link, :visited, :hover, :focus-visible, :active) :is(span, strong, em, b, i) {
		border-color: LinkText !important;
		color: LinkText !important;
		-webkit-text-fill-color: LinkText !important;
		background: Canvas !important;
	}

	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor):is(#tve_editor) :is(a, button, summary):focus-visible {
		outline: 3px solid Highlight !important;
	}
}

@media print {
	body.sb-home-precovid-2019.sleepbaby-homepage,
	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor),
	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor) * {
		color: #111111 !important;
		-webkit-text-fill-color: #111111 !important;
		background: #ffffff !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	body.sb-home-precovid-2019.sleepbaby-homepage #tve_editor:is(#tve_editor) a {
		text-decoration: underline !important;
	}
}
