/**
 * The Wealth Events v1.15.76
 * Final-load contrast, link, arrow, and form polish.
 * Loaded after every workspace stylesheet so the active WordPress theme cannot
 * push dark typography or default blue links back into branded surfaces.
 */

:root {
	--twe-polish-purple: #6f2a85;
	--twe-polish-purple-dark: #3a1646;
	--twe-polish-gold: #e2bf68;
	--twe-polish-gold-light: #f3d98f;
	--twe-polish-white: #ffffff;
	--twe-polish-soft-white: rgba(255, 255, 255, .78);
	--twe-polish-ink: #271b2c;
}

/* -------------------------------------------------------------------------
 * Hero contrast — every Wealth Events hero uses a dark photographic or
 * gradient background. Explicit colors beat theme heading/link declarations.
 * ---------------------------------------------------------------------- */
body.twe-site [class*="-hero"] {
	color: var(--twe-polish-white) !important;
}
body.twe-site [class*="-hero"] h1,
body.twe-site [class*="-hero"] h2,
body.twe-site [class*="-hero"] h3,
body.twe-site [class*="-hero"] h4,
body.twe-site [class*="-hero"] h5,
body.twe-site [class*="-hero"] h6,
body.twe-site [class*="-hero"] strong,
body.twe-site [class*="-hero"] b,
body.twe-site [class*="-hero"] legend,
body.twe-site [class*="-hero"] label {
	color: var(--twe-polish-white) !important;
}
body.twe-site [class*="-hero"] h1 em,
body.twe-site [class*="-hero"] h2 em,
body.twe-site [class*="-hero"] h3 em,
body.twe-site [class*="-hero"] .twe-eyebrow,
body.twe-site [class*="-hero"] [class*="kicker"] {
	color: var(--twe-polish-gold-light) !important;
}
body.twe-site [class*="-hero"] p,
body.twe-site [class*="-hero"] li,
body.twe-site [class*="-hero"] small,
body.twe-site [class*="-hero"] span:not(.twe-eyebrow):not([class*="badge"]):not([class*="status"]) {
	color: var(--twe-polish-soft-white) !important;
}
body.twe-site [class*="-hero"] .twe-btn-gold,
body.twe-site [class*="-hero"] .twe-btn-gold span,
body.twe-site [class*="-hero"] .twe-btn-gold strong {
	color: #171019 !important;
}
body.twe-site [class*="-hero"] .twe-btn-outline-light,
body.twe-site [class*="-hero"] .twe-btn-outline,
body.twe-site [class*="-hero"] a:not(.twe-btn) {
	color: var(--twe-polish-white) !important;
}

/* The three screens reported in QA receive an extra specificity guard. */
body.twe-onboarding-site .twe-onboarding-hero-copy h1,
body.twe-journey-site .twe-journey-hero h1,
body.twe-engagement-site .twe-engagement-hero h1,
body.twe-onboarding-site .twe-onboarding-score strong,
body.twe-journey-site .twe-journey-hero-visual > strong,
body.twe-engagement-site .twe-engagement-command-card h2,
body.twe-engagement-site .twe-engagement-command-card > strong {
	color: #fff !important;
}

/* -------------------------------------------------------------------------
 * Known dark content surfaces below the heroes.
 * ---------------------------------------------------------------------- */
body.twe-site .twe-section.is-dark,
body.twe-site .twe-engagement-principles,
body.twe-site .twe-engagement-gate,
body.twe-site .twe-command-activity,
body.twe-site .twe-command-announcement,
body.twe-site .twe-journey-recommendation,
body.twe-site .twe-impact-shell,
body.twe-site .twe-autopilot-directive,
body.twe-site .twe-autopilot-rescue:not(.is-steady),
body.twe-site .twe-social-next-move,
body.twe-site .twe-why-cta,
body.twe-site .twe-public-ticket-card,
body.twe-site .twe-public-ticket-missing,
body.twe-site .twe-scanner-dialog {
	color: #fff !important;
}
body.twe-site .twe-section.is-dark :is(h1,h2,h3,h4,h5,h6,strong,b,legend,label),
body.twe-site .twe-engagement-principles :is(h1,h2,h3,h4,strong,b),
body.twe-site .twe-engagement-gate :is(h1,h2,h3,h4,strong,b),
body.twe-site .twe-command-activity :is(h1,h2,h3,h4,strong,b),
body.twe-site .twe-command-announcement > :is(div,section,article) :is(h1,h2,h3,h4,strong,b),
body.twe-site .twe-journey-recommendation :is(h1,h2,h3,h4,strong,b),
body.twe-site .twe-impact-shell :is(h1,h2,h3,h4,strong,b),
body.twe-site .twe-autopilot-directive :is(h1,h2,h3,h4,strong,b),
body.twe-site .twe-autopilot-rescue:not(.is-steady) :is(h1,h2,h3,h4,strong,b),
body.twe-site .twe-social-next-move :is(h1,h2,h3,h4,strong,b),
body.twe-site .twe-why-cta :is(h1,h2,h3,h4,strong,b) {
	color: #fff !important;
}
body.twe-site .twe-section.is-dark :is(p,li,small),
body.twe-site .twe-engagement-principles :is(p,li,small),
body.twe-site .twe-engagement-gate :is(p,li,small),
body.twe-site .twe-command-activity :is(p,li,small),
body.twe-site .twe-command-announcement > :is(div,section,article) :is(p,li,small),
body.twe-site .twe-journey-recommendation :is(p,li,small),
body.twe-site .twe-impact-shell > :is(div,section,article) :is(p,li,small),
body.twe-site .twe-autopilot-directive :is(p,li,small),
body.twe-site .twe-autopilot-rescue:not(.is-steady) :is(p,li,small),
body.twe-site .twe-social-next-move :is(p,li,small),
body.twe-site .twe-why-cta :is(p,li,small) {
	color: rgba(255,255,255,.76) !important;
}
body.twe-site .twe-section.is-dark a:not(.twe-btn),
body.twe-site .twe-engagement-principles a:not(.twe-btn),
body.twe-site .twe-engagement-gate a:not(.twe-btn),
body.twe-site .twe-command-activity a:not(.twe-btn),
body.twe-site .twe-journey-recommendation a:not(.twe-btn),
body.twe-site .twe-impact-shell a:not(.twe-btn),
body.twe-site .twe-autopilot-directive a:not(.twe-btn),
body.twe-site .twe-autopilot-rescue:not(.is-steady) a:not(.twe-btn),
body.twe-site .twe-social-next-move a:not(.twe-btn),
body.twe-site .twe-why-cta a:not(.twe-btn) {
	color: var(--twe-polish-gold-light) !important;
}

/* -------------------------------------------------------------------------
 * Replace unstyled WordPress blue links while preserving purpose-built cards.
 * ---------------------------------------------------------------------- */
body.twe-site main a:not([class]),
body.twe-site main a[class=""],
body.twe-site .twe-onboarding-step-actions > a,
body.twe-site .twe-event-day-questionnaire-edit,
body.twe-site .twe-ticket-view-link,
body.twe-site .twe-journey-picker form > a,
body.twe-site .twe-journey-section-heading > a,
body.twe-site .twe-command-issues a,
body.twe-site .twe-command-team-empty a,
body.twe-site .twe-command-inline-warning a {
	color: var(--twe-polish-purple) !important;
	font-weight: 850;
	text-decoration-color: rgba(111,42,133,.42);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
body.twe-site main a:not([class]):hover,
body.twe-site main a[class=""]:hover,
body.twe-site .twe-onboarding-step-actions > a:hover,
body.twe-site .twe-event-day-questionnaire-edit:hover,
body.twe-site .twe-ticket-view-link:hover,
body.twe-site .twe-journey-picker form > a:hover,
body.twe-site .twe-journey-section-heading > a:hover,
body.twe-site .twe-command-issues a:hover,
body.twe-site .twe-command-team-empty a:hover,
body.twe-site .twe-command-inline-warning a:hover {
	color: var(--twe-polish-purple-dark) !important;
	text-decoration-line: underline;
}

/* Stronger visual treatment for directional controls and action arrows. */
body.twe-site .twe-btn,
body.twe-site [class*="-action"],
body.twe-site [class*="-actions"] a,
body.twe-site [class*="-actions"] button {
	font-weight: 800;
}
body.twe-site .twe-command-action i,
body.twe-site .twe-lifecycle-tool-dock i,
body.twe-site .twe-footer-access-arrow {
	font-size: 1.18em !important;
	font-weight: 950 !important;
	line-height: 1 !important;
}
body.twe-site .twe-command-action i,
body.twe-site .twe-lifecycle-tool-dock a:hover i {
	color: var(--twe-polish-gold-light) !important;
}
body.twe-site .twe-footer-access-arrow {
	display: inline-grid;
	min-width: 30px;
	min-height: 30px;
	place-items: center;
	border: 1px solid rgba(226,191,104,.54);
	border-radius: 50%;
	color: var(--twe-polish-gold-light) !important;
}

/* -------------------------------------------------------------------------
 * Branded selects: enough vertical room for the first option and a visible
 * purple arrow. Native option-menu limitations still vary by browser.
 * ---------------------------------------------------------------------- */
body.twe-site select:not([multiple]) {
	box-sizing: border-box;
	min-height: 46px;
	padding-top: 10px !important;
	padding-right: 48px !important;
	padding-bottom: 10px !important;
	padding-left: 14px !important;
	line-height: 1.35 !important;
	color: var(--twe-polish-ink) !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%236f2a85' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 18px 18px !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
}
body.twe-site select:not([multiple]):focus {
	border-color: var(--twe-polish-purple) !important;
	box-shadow: 0 0 0 4px rgba(111,42,133,.16) !important;
}
body.twe-site select option {
	padding: 9px 12px;
	color: var(--twe-polish-ink) !important;
	background: #fff !important;
}
body.twe-site select option:checked {
	color: #fff !important;
	background: var(--twe-polish-purple) linear-gradient(0deg,var(--twe-polish-purple),var(--twe-polish-purple)) !important;
}

/* RSVP delivery choice: visible, touch-friendly, and not confused with a tiny
 * default WordPress checkbox. Text permission remains an explicit choice. */
body.twe-site .twe-rsvp-sms-choice {
	margin: 2px 0 0;
	padding: 18px;
	border: 1px solid #d9c8df;
	border-radius: 16px;
	background: #faf7fb;
}
body.twe-site .twe-rsvp-sms-choice legend {
	padding: 0 7px;
	color: #3a2142 !important;
	font-size: .82rem;
	font-weight: 900;
}
body.twe-site .twe-rsvp-sms-choice > p {
	margin: 0 0 12px;
	color: #6f6372 !important;
	font-size: .8rem;
}
body.twe-site .twe-rsvp-sms-choice-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 10px;
}
body.twe-site .twe-rsvp-sms-option {
	position: relative;
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 10px;
	align-items: flex-start;
	min-height: 88px;
	padding: 15px;
	border: 1px solid #d8cddd;
	border-radius: 13px;
	background: #fff;
	color: #2d2131 !important;
	cursor: pointer;
}
body.twe-site .twe-rsvp-sms-option:hover {
	border-color: #9d6bad;
	box-shadow: 0 9px 22px rgba(72,31,84,.08);
}
body.twe-site .twe-rsvp-sms-option:has(input:checked) {
	border-color: var(--twe-polish-purple);
	background: #f6eef8;
	box-shadow: 0 0 0 2px rgba(111,42,133,.13);
}
body.twe-site .twe-rsvp-sms-option input {
	width: 19px;
	height: 19px;
	margin: 2px 0 0;
	accent-color: var(--twe-polish-purple);
}
body.twe-site .twe-rsvp-sms-option strong,
body.twe-site .twe-rsvp-sms-option small {
	display: block;
	color: #2d2131 !important;
}
body.twe-site .twe-rsvp-sms-option small {
	margin-top: 5px;
	color: #746979 !important;
	font-size: .72rem;
	line-height: 1.45;
}
body.twe-site .twe-rsvp-sms-disclosure {
	display: block;
	margin-top: 12px;
	color: #716675 !important;
	font-size: .7rem;
	line-height: 1.55;
}
body.twe-site .twe-rsvp-result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

/* Virtual event check-in explainer shared by ticket and host desk. */
body.twe-site .twe-virtual-checkin-guide,
body.twe-site .twe-ticket-virtual-panel {
	border: 1px solid rgba(111,42,133,.24);
	border-radius: 20px;
	background: linear-gradient(135deg,#f9f4fb,#fffaf0);
	box-shadow: 0 14px 34px rgba(53,24,62,.08);
}
body.twe-site .twe-virtual-checkin-guide {
	display: grid;
	grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr);
	gap: 28px;
	align-items: center;
	margin: 22px 0 28px;
	padding: 26px;
}
body.twe-site .twe-virtual-checkin-guide h2,
body.twe-site .twe-ticket-virtual-panel h3 {
	margin: 7px 0 9px;
	color: #35153f !important;
}
body.twe-site .twe-virtual-checkin-guide p,
body.twe-site .twe-ticket-virtual-panel p {
	margin: 0;
	color: #6d6170 !important;
	line-height: 1.65;
}
body.twe-site .twe-virtual-checkin-steps {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 9px;
	margin-top: 17px;
}
body.twe-site .twe-virtual-checkin-steps span {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 8px;
	align-items: center;
	padding: 10px;
	border: 1px solid #e3d7e6;
	border-radius: 11px;
	background: #fff;
	color: #4b3d50 !important;
	font-size: .72rem;
	font-weight: 750;
}
body.twe-site .twe-virtual-checkin-steps b {
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 50%;
	background: #6f2a85;
	color: #fff !important;
}
body.twe-site .twe-virtual-checkin-actions {
	display: grid;
	gap: 10px;
}
body.twe-site .twe-virtual-checkin-actions .twe-btn {
	width: 100%;
}
body.twe-site .twe-virtual-checkin-warning {
	padding: 11px 13px;
	border: 1px solid #e3bd70;
	border-radius: 11px;
	background: #fff7df;
	color: #6f5010 !important;
	font-size: .72rem;
	line-height: 1.5;
}
body.twe-ticket-page .twe-ticket-virtual-panel {
	margin: 22px 0 0;
	padding: 18px;
}
body.twe-ticket-page .twe-ticket-virtual-panel .twe-btn {
	width: 100%;
	margin-top: 14px;
}
body.twe-ticket-page .twe-ticket-virtual-panel.is-checked-in {
	border-color: rgba(48,132,75,.35);
	background: linear-gradient(135deg,#effaf2,#fffaf0);
}

@media (max-width: 760px) {
	body.twe-site .twe-rsvp-sms-choice-grid,
	body.twe-site .twe-virtual-checkin-guide,
	body.twe-site .twe-virtual-checkin-steps {
		grid-template-columns: 1fr;
	}
	body.twe-site .twe-virtual-checkin-guide {
		padding: 20px;
	}
}

body.twe-site .twe-rsvp-sms-option.is-recommended::after {
	content: "Recommended";
	position: absolute;
	top: -9px;
	right: 10px;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--twe-polish-gold);
	color: #24172b;
	font-size: .58rem;
	font-weight: 950;
	letter-spacing: .06em;
	text-transform: uppercase;
}
body.twe-onboarding-site .twe-onboarding-ring small,
body.twe-engagement-site .twe-engagement-command-card > span {
	color: var(--twe-polish-gold-light) !important;
}

/* Additional dark workspace surfaces. These are intentionally explicit so
 * light form cards nested inside the same page keep their normal ink colors. */
body.twe-site :is(
	.twe-conversion-gate,
	.twe-conversion-event-action,
	.twe-conversion-principles,
	.twe-lifecycle-approval-strip,
	.twe-lifecycle-next-action,
	.twe-exec-events.is-alt,
	.twe-exec-table,
	.twe-exec-outcomes.is-dark,
	.twe-exec-gate,
	.twe-ops-section.is-alt,
	.twe-ops-tool-card,
	.twe-ops-gate,
	.twe-platform-preview-message,
	.twe-platform-page-row.is-head,
	.twe-social-phase-card,
	.twe-engagement-activity-head,
	.twe-intelligence-review,
	.twe-intelligence-gate,
	.twe-relationship-profile-head,
	.twe-relationship-action-card,
	.twe-relationship-principles,
	.twe-relationship-gate,
	.twe-legacy-stat-grid article.is-purple,
	.twe-legacy-proof
) {
	color: #fff !important;
}
body.twe-site :is(
	.twe-conversion-gate,
	.twe-conversion-event-action,
	.twe-conversion-principles,
	.twe-lifecycle-approval-strip,
	.twe-lifecycle-next-action,
	.twe-exec-events.is-alt,
	.twe-exec-table,
	.twe-exec-outcomes.is-dark,
	.twe-exec-gate,
	.twe-ops-section.is-alt,
	.twe-ops-tool-card,
	.twe-ops-gate,
	.twe-platform-preview-message,
	.twe-platform-page-row.is-head,
	.twe-social-phase-card,
	.twe-engagement-activity-head,
	.twe-intelligence-review,
	.twe-intelligence-gate,
	.twe-relationship-profile-head,
	.twe-relationship-action-card,
	.twe-relationship-principles,
	.twe-relationship-gate,
	.twe-legacy-stat-grid article.is-purple,
	.twe-legacy-proof
) :is(h1,h2,h3,h4,h5,h6,strong,b,legend,th) {
	color: #fff !important;
}
body.twe-site :is(
	.twe-conversion-gate,
	.twe-conversion-event-action,
	.twe-conversion-principles,
	.twe-lifecycle-approval-strip,
	.twe-lifecycle-next-action,
	.twe-exec-events.is-alt,
	.twe-exec-table,
	.twe-exec-outcomes.is-dark,
	.twe-exec-gate,
	.twe-ops-section.is-alt,
	.twe-ops-tool-card,
	.twe-ops-gate,
	.twe-platform-preview-message,
	.twe-social-phase-card,
	.twe-intelligence-review,
	.twe-intelligence-gate,
	.twe-relationship-profile-head,
	.twe-relationship-action-card,
	.twe-relationship-principles,
	.twe-relationship-gate,
	.twe-legacy-stat-grid article.is-purple,
	.twe-legacy-proof
) :is(p,li,small,td) {
	color: rgba(255,255,255,.76) !important;
}
body.twe-site :is(
	.twe-conversion-gate,
	.twe-conversion-event-action,
	.twe-conversion-principles,
	.twe-lifecycle-approval-strip,
	.twe-lifecycle-next-action,
	.twe-exec-events.is-alt,
	.twe-exec-table,
	.twe-exec-outcomes.is-dark,
	.twe-exec-gate,
	.twe-ops-section.is-alt,
	.twe-ops-tool-card,
	.twe-ops-gate,
	.twe-platform-preview-message,
	.twe-social-phase-card,
	.twe-intelligence-review,
	.twe-intelligence-gate,
	.twe-relationship-profile-head,
	.twe-relationship-action-card,
	.twe-relationship-principles,
	.twe-relationship-gate,
	.twe-legacy-stat-grid article.is-purple,
	.twe-legacy-proof
) a:not(.twe-btn) {
	color: var(--twe-polish-gold-light) !important;
}

/* Keep directional cues visible even when a theme lowers link opacity. */
body.twe-site :is(.twe-command-action,.twe-lifecycle-tool-dock a,.twe-onboarding-lifecycle-map a,.twe-footer-column a) {
	opacity: 1 !important;
}
body.twe-site :is(.twe-command-action,.twe-lifecycle-tool-dock a,.twe-onboarding-lifecycle-map a):focus-visible {
	outline: 3px solid var(--twe-polish-gold-light) !important;
	outline-offset: 3px;
}


/* -------------------------------------------------------------------------
 * v1.15.75 — Ticket access and Wallet button visibility.
 * Mobile browsers and some themes override anchor text colors aggressively.
 * These selectors load last and protect both the link and its inner label.
 * ---------------------------------------------------------------------- */
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-apple,
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-apple:link,
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-apple:visited,
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-apple:hover,
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-apple:focus,
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-apple span {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	opacity: 1 !important;
}
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-google,
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-google:link,
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-google:visited,
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-google:hover,
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-google:focus,
body.twe-ticket-page .twe-public-ticket-wallet-buttons a.twe-wallet-button-google span {
	color: #171717 !important;
	-webkit-text-fill-color: #171717 !important;
	opacity: 1 !important;
}
body.twe-ticket-page .twe-ticket-access-panel {
	color: #fff !important;
}
body.twe-ticket-page .twe-ticket-access-panel h3 {
	color: #fff !important;
}
body.twe-ticket-page .twe-ticket-access-panel > p:not(.twe-ticket-access-url) {
	color: rgba(255,255,255,.78) !important;
}
body.twe-ticket-page .twe-ticket-access-panel .twe-ticket-access-url strong,
body.twe-ticket-page .twe-ticket-access-panel .twe-ticket-access-url a {
	color: var(--twe-polish-gold-light) !important;
	-webkit-text-fill-color: var(--twe-polish-gold-light) !important;
}


/* -------------------------------------------------------------------------
 * v1.15.76 — Global contrast guard.
 *
 * This is intentionally component- and state-level rather than a user-facing
 * "font color" setting. The active WordPress theme may apply its heading,
 * button, visited-link, or text-fill colors after a workspace is rendered.
 * These final rules keep dark Wealth Events surfaces readable in every state.
 * ---------------------------------------------------------------------- */
body.twe-site .twe-context-help-trigger,
body.twe-site .twe-context-help-trigger:link,
body.twe-site .twe-context-help-trigger:visited,
body.twe-site .twe-context-help-trigger:hover,
body.twe-site .twe-context-help-trigger:focus,
body.twe-site .twe-context-help-trigger:active {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	text-shadow: none !important;
}
body.twe-site .twe-context-help-trigger > span,
body.twe-site .twe-context-help-trigger:hover > span,
body.twe-site .twe-context-help-trigger:focus > span {
	color: #28112f !important;
	-webkit-text-fill-color: #28112f !important;
}
body.twe-site .twe-context-help-panel,
body.twe-site .twe-context-help-panel :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend,p,small,li) {
	-webkit-text-fill-color: currentColor;
}
body.twe-site .twe-context-help-panel h2,
body.twe-site .twe-context-help-panel h3,
body.twe-site .twe-context-help-panel strong {
	color: #261d2a !important;
}
body.twe-site .twe-context-help-panel p,
body.twe-site .twe-context-help-panel small {
	color: #746b77 !important;
}

/* Known recurring dark containers across the platform. */
body.twe-site :is(
	.twe-host-manage-dropdown,
	.twe-journey-hero-visual,
	.twe-journey-host-guide,
	.twe-platform-savebar,
	.twe-platform-preview-message,
	.twe-platform-gate,
	.twe-ops-gate,
	.twe-intelligence-gate,
	.twe-relationship-gate,
	.twe-engagement-gate,
	.twe-conversion-gate,
	.twe-exec-events.is-alt,
	.twe-exec-outcomes.is-dark,
	.twe-command-activity,
	.twe-command-announcement,
	.twe-impact-shell,
	.twe-autopilot-directive,
	.twe-social-next-move,
	.twe-why-cta,
	.twe-public-ticket-card,
	.twe-scanner-dialog
) {
	color: #fff !important;
}
body.twe-site :is(
	.twe-host-manage-dropdown,
	.twe-journey-hero-visual,
	.twe-journey-host-guide,
	.twe-platform-savebar,
	.twe-platform-preview-message,
	.twe-platform-gate,
	.twe-ops-gate,
	.twe-intelligence-gate,
	.twe-relationship-gate,
	.twe-engagement-gate,
	.twe-conversion-gate,
	.twe-exec-events.is-alt,
	.twe-exec-outcomes.is-dark,
	.twe-command-activity,
	.twe-command-announcement,
	.twe-impact-shell,
	.twe-autopilot-directive,
	.twe-social-next-move,
	.twe-why-cta,
	.twe-public-ticket-card,
	.twe-scanner-dialog
) :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend) {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
body.twe-site :is(
	.twe-host-manage-dropdown,
	.twe-journey-hero-visual,
	.twe-journey-host-guide,
	.twe-platform-savebar,
	.twe-platform-preview-message,
	.twe-platform-gate,
	.twe-ops-gate,
	.twe-intelligence-gate,
	.twe-relationship-gate,
	.twe-engagement-gate,
	.twe-conversion-gate,
	.twe-exec-events.is-alt,
	.twe-exec-outcomes.is-dark,
	.twe-command-activity,
	.twe-command-announcement,
	.twe-impact-shell,
	.twe-autopilot-directive,
	.twe-social-next-move,
	.twe-why-cta,
	.twe-public-ticket-card,
	.twe-scanner-dialog
) :is(p,li,small) {
	color: rgba(255,255,255,.78) !important;
	-webkit-text-fill-color: rgba(255,255,255,.78) !important;
}
body.twe-site :is(
	.twe-host-manage-dropdown,
	.twe-journey-hero-visual,
	.twe-journey-host-guide,
	.twe-platform-savebar,
	.twe-platform-preview-message,
	.twe-platform-gate,
	.twe-ops-gate,
	.twe-intelligence-gate,
	.twe-relationship-gate,
	.twe-engagement-gate,
	.twe-conversion-gate,
	.twe-exec-events.is-alt,
	.twe-exec-outcomes.is-dark,
	.twe-command-activity,
	.twe-command-announcement,
	.twe-impact-shell,
	.twe-autopilot-directive,
	.twe-social-next-move,
	.twe-why-cta,
	.twe-public-ticket-card,
	.twe-scanner-dialog
) :is(.twe-eyebrow,[class*="kicker"],[class*="pilot"]) {
	color: var(--twe-polish-gold-light) !important;
	-webkit-text-fill-color: var(--twe-polish-gold-light) !important;
}

/* Runtime contrast audit adds this only when computed text/background contrast
 * is actually too low. This protects new pages and future theme changes without
 * flattening deliberately branded gold, green, or status colors that already
 * pass contrast. */
body.twe-site .twe-auto-contrast-light {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	text-shadow: 0 1px 1px rgba(0,0,0,.16);
}
body.twe-site a.twe-auto-contrast-light,
body.twe-site button.twe-auto-contrast-light {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
body.twe-site .twe-auto-contrast-light.twe-eyebrow {
	color: var(--twe-polish-gold-light) !important;
	-webkit-text-fill-color: var(--twe-polish-gold-light) !important;
}

/* -------------------------------------------------------------------------
 * v1.15.78 — Workspace typography normalization.
 *
 * v1.16.11 — Private operating workspaces use ONE heading system, and it is the
 * homepage editorial serif: Georgia at weight 400 with a gold slanted accent
 * word. Previously this block forced the sans stack at weight 850, which is why
 * workspace heroes did not match the homepage.
 * ---------------------------------------------------------------------- */
body.twe-site:is(
	.twe-approval-site,
	.twe-social-studio-site,
	.twe-journey-site,
	.twe-lifecycle-site,
	.twe-intelligence-site,
	.twe-relationship-site,
	.twe-engagement-site,
	.twe-conversion-site,
	.twe-legacy-site,
	.twe-executive-site,
	.twe-platform-site,
	.twe-operations-site,
	.twe-onboarding-site,
	.twe-checkin-site,
	.twe-review-center-site,
	.twe-sms-site
) {
	--twe-workspace-heading-font: var(--twe-serif);
}

body.twe-site:is(
	.twe-approval-site,
	.twe-social-studio-site,
	.twe-journey-site,
	.twe-lifecycle-site,
	.twe-intelligence-site,
	.twe-relationship-site,
	.twe-engagement-site,
	.twe-conversion-site,
	.twe-legacy-site,
	.twe-executive-site,
	.twe-platform-site,
	.twe-operations-site,
	.twe-onboarding-site,
	.twe-checkin-site,
	.twe-review-center-site,
	.twe-sms-site
) :is(h1,h2,h3) {
	font-family: var(--twe-workspace-heading-font) !important;
	font-style: normal !important;
	text-transform: none;
}

body.twe-site:is(
	.twe-approval-site,
	.twe-social-studio-site,
	.twe-journey-site,
	.twe-lifecycle-site,
	.twe-intelligence-site,
	.twe-relationship-site,
	.twe-engagement-site,
	.twe-conversion-site,
	.twe-legacy-site,
	.twe-executive-site,
	.twe-platform-site,
	.twe-operations-site,
	.twe-onboarding-site,
	.twe-checkin-site,
	.twe-review-center-site,
	.twe-sms-site
) :is(h1,h2,h3) em {
	font-family: inherit !important;
	font-style: italic !important;
	font-weight: 400 !important;
	letter-spacing: inherit !important;
}

body.twe-site:is(
	.twe-approval-site,
	.twe-social-studio-site,
	.twe-journey-site,
	.twe-lifecycle-site,
	.twe-intelligence-site,
	.twe-relationship-site,
	.twe-engagement-site,
	.twe-conversion-site,
	.twe-legacy-site,
	.twe-executive-site,
	.twe-platform-site,
	.twe-operations-site,
	.twe-onboarding-site,
	.twe-checkin-site,
	.twe-review-center-site,
	.twe-sms-site
) main :is(
	[class*="hero"] h1,
	[class*="gate"] h1
) {
	max-width: 940px;
	font-size: clamp(3.5rem, 7.4vw, 7.6rem) !important;
	font-weight: 400 !important;
	line-height: .88 !important;
	letter-spacing: -.062em !important;
}

body.twe-site:is(
	.twe-approval-site,
	.twe-social-studio-site,
	.twe-journey-site,
	.twe-lifecycle-site,
	.twe-intelligence-site,
	.twe-relationship-site,
	.twe-engagement-site,
	.twe-conversion-site,
	.twe-legacy-site,
	.twe-executive-site,
	.twe-platform-site,
	.twe-operations-site,
	.twe-onboarding-site,
	.twe-checkin-site,
	.twe-review-center-site,
	.twe-sms-site
) main :is(
	.twe-section-title,
	[class*="heading"] h2,
	[class*="intro"] h2,
	[class*="section"] > h2,
	[class*="section"] > div > h2
) {
	font-size: clamp(2rem, 4vw, 3.75rem) !important;
	font-weight: 400 !important;
	line-height: .98 !important;
	letter-spacing: -.045em !important;
}

body.twe-site:is(
	.twe-approval-site,
	.twe-social-studio-site,
	.twe-journey-site,
	.twe-lifecycle-site,
	.twe-intelligence-site,
	.twe-relationship-site,
	.twe-engagement-site,
	.twe-conversion-site,
	.twe-legacy-site,
	.twe-executive-site,
	.twe-platform-site,
	.twe-operations-site,
	.twe-onboarding-site,
	.twe-checkin-site,
	.twe-review-center-site,
	.twe-sms-site
) main h3 {
	font-weight: 400 !important;
	letter-spacing: -.025em !important;
}

@media (max-width: 700px) {
	body.twe-site:is(
		.twe-approval-site,
		.twe-social-studio-site,
		.twe-journey-site,
		.twe-lifecycle-site,
		.twe-intelligence-site,
		.twe-relationship-site,
		.twe-engagement-site,
		.twe-conversion-site,
		.twe-legacy-site,
		.twe-executive-site,
		.twe-platform-site,
		.twe-operations-site,
		.twe-onboarding-site,
		.twe-checkin-site,
		.twe-review-center-site
	) main :is([class*="hero"] h1,[class*="gate"] h1) {
		font-size: clamp(2.9rem, 13vw, 4.2rem) !important;
		line-height: .95 !important;
	}
}


/* v1.16.1 — focused acceptance-test visual corrections. */
body.twe-site select option:checked,
body.twe-site select option:hover,
body.twe-site select option:focus {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	background-color: var(--twe-polish-purple) !important;
	background-image: linear-gradient(var(--twe-polish-purple),var(--twe-polish-purple)) !important;
}
body.twe-site .twe-branded-select-option.is-selected,
body.twe-site .twe-branded-select-option.is-selected:hover,
body.twe-site .twe-branded-select-option.is-selected:focus-visible {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
body.twe-platform-site .twe-launch-score-ring strong,
body.twe-platform-site .twe-launch-score-ring strong.twe-auto-contrast-light {
	color: #2e1737 !important;
	-webkit-text-fill-color: #2e1737 !important;
	text-shadow: none !important;
}
