/*
 * TLA Identity System v1.1: site application layer.
 *
 * Applies the approved v1.1 palette to TLA-owned components only, by
 * re-pointing the tokens those components already read. No layout,
 * spacing, order or content rules live here.
 *
 * Scope: html[data-tla-brand="1.1"], added by this plugin. Without the
 * attribute (plugin off, or ?tla_brand=0 for administrators) nothing here
 * applies and the previous design returns unchanged.
 *
 * Palette (tla-brand-tokens.css):
 *   navy #10243A, dark navy #080F1C, gold #B39558 (never text on white),
 *   white, warm neutral #F6F4EF, slate #526174, line #D9DEE5,
 *   technology purple #6D28D9 (ORBIT, Ask TLA, AI Document Studio only),
 *   tech surface #F0EAFB, tech on dark #C4B5FD.
 */

/* 1. Association layer: the site-wide orbital tokens (Partner Hub) ------- */
html[data-tla-brand]:not(#tla-brand-x)[data-tla-orbital] {
	--orb-bg: #FFFFFF;
	--orb-bg-2: #F6F4EF;
	--orb-surface: #FFFFFF;
	--orb-mist: #F6F4EF;
	--orb-powder: #F6F4EF;
	--orb-text: #10243A;
	--orb-body: #10243A;
	--orb-muted: #526174;
	--orb-soft: #526174;
	--orb-faint: #526174;
	--orb-line: #D9DEE5;
	--orb-line-2: rgba(16, 36, 58, .22);
	--orb-accent: #10243A;
	--orb-accent-ink: #080F1C;
	--orb-accent-soft: rgba(16, 36, 58, .06);
	--orb-accent-line: rgba(16, 36, 58, .28);
	--orb-cyan: #526174;
	--orb-core: #B39558;
	--orb-gold: #B39558;
	--orb-card: #FFFFFF;
	--orb-card-line: #D9DEE5;
	--orb-glass: rgba(255, 255, 255, .92);
	--orb-gold-btn: linear-gradient(#10243A, #10243A);
	--orb-gold-btn-hover: linear-gradient(#080F1C, #080F1C);
	--orb-gold-text: #FFFFFF;
	--orb-gold-glow: 0 0 0 0 transparent;
	--orb-focus: #6D28D9;
	--orb-hero: linear-gradient(#FFFFFF, #FFFFFF);
	--orb-rings: none;
	--orb-band: linear-gradient(#10243A, #10243A);
	--orb-rings-night: none;
	--orb-x-01: #10243A;
	--orb-x-02: #10243A;
	--orb-x-03: #526174;
	--orb-x-04: #10243A;
	--orb-x-11: #10243A;
	--orb-x-12: #10243A;
	--orb-x-13: #526174;
	--orb-x-14: #080F1C;
	--orb-x-21: #080F1C;
	--orb-x-22: #080F1C;
	--orb-x-23: #10243A;
	--orb-x-24: #10243A;
	--orb-x-31: #10243A;
	--orb-x-32: #10243A;
	--orb-x-41: #F6F4EF;
	--orb-x-42: #F6F4EF;
	--orb-x-43: #FFFFFF;
	--orb-x-45: #D9DEE5;
	--orb-x-51: #526174;
	--orb-x-52: #526174;
	--orb-x-53: #526174;
	--orb-x-54: #D9DEE5;
	--orb-x-55: #F6F4EF;
	--orb-x-61: 16, 36, 58;
	--orb-x-62: 16, 36, 58;
	--orb-x-63: 179, 149, 88;
	--orb-x-71: 16, 36, 58;
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-orbital][data-tla-theme="dark"] {
	--orb-bg: #080F1C;
	--orb-bg-2: #10243A;
	--orb-surface: #10243A;
	--orb-mist: #080F1C;
	--orb-powder: #10243A;
	--orb-text: #FFFFFF;
	--orb-body: #D9DEE5;
	--orb-muted: #D9DEE5;
	--orb-soft: #D9DEE5;
	--orb-faint: #D9DEE5;
	--orb-line: rgba(255, 255, 255, .14);
	--orb-line-2: rgba(255, 255, 255, .24);
	--orb-accent: #B39558;
	--orb-accent-ink: #FFFFFF;
	--orb-accent-soft: rgba(179, 149, 88, .14);
	--orb-accent-line: rgba(179, 149, 88, .40);
	--orb-cyan: #B39558;
	--orb-core: #B39558;
	--orb-card: #10243A;
	--orb-card-line: rgba(255, 255, 255, .14);
	--orb-glass: rgba(16, 36, 58, .92);
	--orb-focus: #C4B5FD;
	--orb-hero: linear-gradient(#080F1C, #080F1C);
	--orb-gold-btn: linear-gradient(#FFFFFF, #FFFFFF);
	--orb-gold-btn-hover: linear-gradient(#F6F4EF, #F6F4EF);
	--orb-gold-text: #10243A;
	--orb-x-01: #B39558;
	--orb-x-02: #B39558;
	--orb-x-03: #D9DEE5;
	--orb-x-04: #B39558;
}
/* Always-dark sections and dark pages: accent text in gold on navy (5.5:1). */
html[data-tla-brand]:not(#tla-brand-x)[data-tla-orbital] body :is(.tla-llp .llp-final, .tla-contact-v2 .tc-hero, .ab-cta, .ab-band, .tlap-cta-band, #tla-business-membership-page .cta, .chk2-band, .tla-kb-article-cta-band, .tla-orb-night),
html[data-tla-brand]:not(#tla-brand-x)[data-tla-orbital] body.tla-ph-public-dark-page,
html[data-tla-brand]:not(#tla-brand-x)[data-tla-orbital] body :is(.tla-knowledge-section, [style*="background-color:#202022"], [style*="background-color: #202022"], [style*="background:#202022"], [style*="background: #202022"]),
html[data-tla-brand]:not(#tla-brand-x)[data-tla-orbital] body.page-id-9366 .elementor-9366 {
	--orb-x-01: #B39558;
	--orb-x-02: #B39558;
	--orb-x-03: #D9DEE5;
	--orb-x-04: #B39558;
	--orb-accent: #B39558;
	--orb-accent-ink: #FFFFFF;
}
/* White surfaces keep the light accents whatever surrounds them. */
html[data-tla-brand]:not(#tla-brand-x)[data-tla-orbital] body :is(.pmpro_card.pmpro_content_message, .te, .tla-document-launcher-card, .tla-starter-pack-banner, [style*="background:#fff"], [style*="background: #fff"], [style*="background-color:#fff"], [style*="background-color: #fff"]) {
	--orb-x-01: #10243A;
	--orb-x-02: #10243A;
	--orb-x-03: #526174;
	--orb-x-04: #10243A;
	--orb-accent: #10243A;
	--orb-accent-ink: #080F1C;
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-orbital][data-tla-theme] {
	--tla-navy: #10243A;
	--tla-cyan-soft: rgba(16, 36, 58, .06);
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-orbital] ::selection { background: rgba(179, 149, 88, .35); }

/* Homepage and marketing pages (.tlh3 tokens). */
html[data-tla-brand]:not(#tla-brand-x) .tlh3 {
	--o-bg: #FFFFFF;
	--o-bg-2: #F6F4EF;
	--o-mist: #F6F4EF;
	--o-powder: #F6F4EF;
	--o-text: #10243A;
	--o-muted: #526174;
	--o-soft: #526174;
	--o-line: #D9DEE5;
	--o-line-2: rgba(16, 36, 58, .22);
	--o-accent: #10243A;
	--o-cyan: #526174;
	--o-ring: rgba(16, 36, 58, .10);
	--o-ring-2: rgba(16, 36, 58, .18);
	--o-core: #B39558;
	--o-gold: #B39558;
	--o-gold-arc: rgba(179, 149, 88, .55);
	--o-panel: #FFFFFF;
	--o-panel-line: #D9DEE5;
	--o-card: #FFFFFF;
	--o-tab-bg: rgba(16, 36, 58, .05);
	--o-tab-on: #10243A;
	--o-tab-on-text: #FFFFFF;
	--o-solid: #10243A;
	--o-solid-hover: #080F1C;
	--o-solid-text: #FFFFFF;
	--o-gold-btn: linear-gradient(#10243A, #10243A);
	--o-gold-btn-hover: linear-gradient(#080F1C, #080F1C);
	--o-gold-text: #FFFFFF;
	--o-focus: #6D28D9;
	--o-hero: linear-gradient(#FFFFFF, #FFFFFF);
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] .tlh3,
html[data-tla-brand]:not(#tla-brand-x) .tlh3 .tlh3-brief,
html[data-tla-brand]:not(#tla-brand-x) .tlh3 .tlh3-partners {
	--o-bg: #080F1C;
	--o-bg-2: #10243A;
	--o-mist: #080F1C;
	--o-powder: #10243A;
	--o-text: #FFFFFF;
	--o-muted: #D9DEE5;
	--o-soft: #D9DEE5;
	--o-line: rgba(255, 255, 255, .14);
	--o-line-2: rgba(255, 255, 255, .24);
	--o-accent: #B39558;
	--o-cyan: #B39558;
	--o-ring: rgba(179, 149, 88, .14);
	--o-ring-2: rgba(179, 149, 88, .30);
	--o-core: #B39558;
	--o-panel: rgba(16, 36, 58, .92);
	--o-panel-line: rgba(255, 255, 255, .16);
	--o-card: #10243A;
	--o-card-hover: #10243A;
	--o-tab-bg: rgba(255, 255, 255, .06);
	--o-tab-on: #FFFFFF;
	--o-tab-on-text: #10243A;
	--o-solid: #FFFFFF;
	--o-solid-hover: #F6F4EF;
	--o-solid-text: #10243A;
	--o-gold-btn: linear-gradient(#FFFFFF, #FFFFFF);
	--o-gold-btn-hover: linear-gradient(#F6F4EF, #F6F4EF);
	--o-gold-text: #10243A;
	--o-gold: #B39558;
	--o-focus: #C4B5FD;
	--o-hero: linear-gradient(#080F1C, #080F1C);
}
html[data-tla-brand]:not(#tla-brand-x) .tlh3 .tlh3-brief { background: #10243A; }
html[data-tla-brand]:not(#tla-brand-x) body:has(.tlh3) { background: #FFFFFF !important; }
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] body:has(.tlh3) { background: #080F1C !important; }
html[data-tla-brand]:not(#tla-brand-x) .tlh3 .tlh3-sector-note { color: #B39558; }
html[data-tla-brand]:not(#tla-brand-x) .tlrc-feed .tlrc-feed-list li::before { border-color: #10243A; }

/* Primary and secondary association actions: flat navy, outlined secondary, 48px. */
html[data-tla-brand]:not(#tla-brand-x) :is(.tlh3-btn-gold, .tlh3-btn-solid, .kb-btn) {
	background: #10243A !important;
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
	border-color: #10243A !important;
	box-shadow: none !important;
	min-height: 48px;
}
html[data-tla-brand]:not(#tla-brand-x) :is(.tlh3-btn-gold, .tlh3-btn-solid, .kb-btn):hover { background: #080F1C !important; border-color: #080F1C !important; }
html[data-tla-brand]:not(#tla-brand-x) .tlh3 :is(.tlh3-brief, .tlh3-partners) :is(.tlh3-btn-gold, .tlh3-btn-solid),
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] :is(.tlh3-btn-gold, .tlh3-btn-solid, .kb-btn) {
	background: #FFFFFF !important;
	color: #10243A !important;
	-webkit-text-fill-color: #10243A !important;
	border-color: #FFFFFF !important;
}
html[data-tla-brand]:not(#tla-brand-x) .tlh3-btn-ghost {
	background: #FFFFFF !important;
	color: #10243A !important;
	-webkit-text-fill-color: #10243A !important;
	border: 1px solid #10243A !important;
	min-height: 48px;
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] .tlh3-btn-ghost,
html[data-tla-brand]:not(#tla-brand-x) .tlh3 :is(.tlh3-brief, .tlh3-partners) .tlh3-btn-ghost {
	background: transparent !important;
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
	border-color: rgba(255, 255, 255, .72) !important;
}

/* Focus (tokens): 2px purple outline, 3px offset, white separation. */
html[data-tla-brand]:not(#tla-brand-x) body :is(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid #6D28D9 !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 3px #FFFFFF !important;
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] body :is(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline-color: #C4B5FD !important; box-shadow: 0 0 0 3px #080F1C !important; }

/* 2. Header (snippet 112 markup, unchanged) ------------------------------- */
/* The v1.1 horizontal lockup carries the name, so the separate identity text is hidden. */
html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-logo { gap: 0 !important; }
html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-identity { display: none !important; }
html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-logo img:is(.tla-uh-light, .tla-uh-dark) {
	width: auto !important;
	height: 40px !important;
	max-width: none !important;
	aspect-ratio: 1400 / 240;
	object-fit: contain !important;
}
@media (min-width: 1001px) and (max-width: 1279px) {
	/* The desktop header is already full at these widths: keep the lockup near its previous footprint. */
	html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-logo img:is(.tla-uh-light, .tla-uh-dark) { height: 30px !important; }
}
@media (max-width: 480px) {
	/* Complete logo kept at 140px or wider, clear of the header controls. */
	html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-logo img:is(.tla-uh-light, .tla-uh-dark) { width: 168px !important; height: auto !important; max-width: none !important; }
}
@media (max-width: 359px) {
	html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-logo img:is(.tla-uh-light, .tla-uh-dark) { width: 142px !important; }
}
/* Header surface and border: flat palette in place of the pink/blue rim. */
html[data-tla-brand]:not(#tla-brand-x) #tla-uh {
	background: var(--uh-menu) !important;
	border-color: transparent transparent #D9DEE5 !important;
	box-shadow: 0 1px 0 rgba(16, 36, 58, .04) !important;
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] #tla-uh { border-bottom-color: rgba(255, 255, 255, .14) !important; }
html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-action.is-primary,
html[data-tla-brand]:not(#tla-brand-x) #tla-uh-mobile .tla-uh-action.is-primary,
html[data-tla-brand]:not(#tla-brand-x) .tla-uh-submit {
	background: #10243A !important;
	border-color: #10243A !important;
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
	box-shadow: none !important;
}
html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-action.is-primary:hover { background: #080F1C !important; }
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] #tla-uh .tla-uh-action.is-primary,
html[data-tla-brand]:not(#tla-brand-x) body.home #tla-uh:not(.is-scrolled) .tla-uh-action.is-primary {
	background: #FFFFFF !important;
	border-color: #FFFFFF !important;
	color: #10243A !important;
	-webkit-text-fill-color: #10243A !important;
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="light"] body.home:has(.tlh3) #tla-uh:not(.is-scrolled) .tla-uh-action.is-primary {
	background: #10243A !important;
	border-color: #10243A !important;
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
}
html[data-tla-brand]:not(#tla-brand-x) #tla-uh :is(.tla-uh-tab-new, .tla-uh-badge.is-launching) {
	background: #F6F4EF !important;
	color: #10243A !important;
	-webkit-text-fill-color: #10243A !important;
	border: 1px solid #B39558 !important;
}
html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-icon { background: #F6F4EF !important; color: #10243A !important; }
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] #tla-uh .tla-uh-icon { background: rgba(255, 255, 255, .08) !important; color: #FFFFFF !important; }
html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-card.is-featured,
html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-card.is-disabled.is-featured:hover {
	background: #F6F4EF !important;
	border-color: #D9DEE5 !important;
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] #tla-uh .tla-uh-card.is-featured { background: rgba(255, 255, 255, .05) !important; border-color: rgba(255, 255, 255, .14) !important; }
html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-uh-switch { color: #10243A !important; }
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] #tla-uh .tla-uh-switch { color: #FFFFFF !important; }
/* Site search button in the header: association navy. */
html[data-tla-brand]:not(#tla-brand-x) #tla-uh .tla-ss-hbtn { background: #10243A !important; color: #FFFFFF !important; border-color: #10243A !important; }

/* 3. Technology products: purple actions inside their own wrappers only ---- */
/* Ask TLA (component, header launcher and panel). Inline styles were mapped to
   --orb-x-* by the orbital palette swap, so those tokens are re-pointed here. */
html[data-tla-brand]:not(#tla-brand-x) :is(.tla-ask, .tla-ask-launch, .tla-ask-panel, .tla-ask-hbtn, [data-tla-product="ask-tla"]) {
	--a-brand: linear-gradient(#6D28D9, #6D28D9);
	--orb-x-01: #6D28D9;
	--orb-x-02: #6D28D9;
	--orb-x-03: #6D28D9;
	--orb-x-04: #6D28D9;
	--orb-x-11: #6D28D9;
	--orb-x-12: #6D28D9;
	--orb-x-13: #6D28D9;
	--orb-x-14: #5B21B6;
	--orb-x-61: 109, 40, 217;
	--orb-x-62: 109, 40, 217;
	--orb-x-63: 109, 40, 217;
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] :is(.tla-ask, .tla-ask-panel) {
	--orb-x-01: #C4B5FD;
	--orb-x-02: #C4B5FD;
	--orb-x-03: #C4B5FD;
	--orb-x-04: #C4B5FD;
}
html[data-tla-brand]:not(#tla-brand-x) body :is(.tla-ask-hbtn, .tla-ask-launch) {
	background: #6D28D9 !important;
	border-color: #6D28D9 !important;
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
	box-shadow: none !important;
}
html[data-tla-brand]:not(#tla-brand-x) body :is(.tla-ask-hbtn, .tla-ask-launch) svg { color: #FFFFFF !important; }
html[data-tla-brand]:not(#tla-brand-x) body :is(.tla-ask-hbtn, .tla-ask-launch):hover { background: #5B21B6 !important; }
html[data-tla-brand]:not(#tla-brand-x) .tla-ask-sticky__btn { background: #6D28D9 !important; color: #FFFFFF !important; box-shadow: none !important; }
html[data-tla-brand]:not(#tla-brand-x) .tla-ask-sticky__btn:hover { background: #5B21B6 !important; }
html[data-tla-brand]:not(#tla-brand-x) .tla-ask-sticky__spark { color: #C4B5FD !important; }
html[data-tla-brand]:not(#tla-brand-x) .tla-ask-sticky__place { color: rgba(255, 255, 255, .78) !important; }
/* Trial invitations shown inside Ask TLA cards are association actions. */
html[data-tla-brand]:not(#tla-brand-x) .tla-ask__card-cta { color: #10243A !important; }

/* Ask TLA accents hard-coded in its component styles. */
html[data-tla-brand]:not(#tla-brand-x) .tla-ask .tla-ask__go { background: #6D28D9 !important; color: #FFFFFF !important; }
html[data-tla-brand]:not(#tla-brand-x) .tla-ask .tla-ask__box svg, html[data-tla-brand]:not(#tla-brand-x) .tla-ask :is(.tla-ask__mic, .tla-ask__gps) { color: #6D28D9 !important; }
html[data-tla-brand]:not(#tla-brand-x) .tla-ask :is(.tla-ask-pill, .tla-ask__kicker, .tla-ask__card-badge) { color: #C4B5FD !important; background: rgba(196, 181, 253, .14) !important; border-color: rgba(196, 181, 253, .32) !important; }
html[data-tla-brand]:not(#tla-brand-x) .tla-ask .tla-ask-pill svg { color: #C4B5FD !important; }
html[data-tla-brand]:not(#tla-brand-x) .tla-ask .tla-ask__nw-all { color: #C4B5FD !important; }

/* AI Document Studio. */
html[data-tla-brand]:not(#tla-brand-x) :is(.tla-studio-page, .tla-document-studio, .tla-studio-access, [data-tla-product="ai-document-studio"]) {
	--studio-blue: #6D28D9;
	--studio-pink: #6D28D9;
	--studio-cyan: #6D28D9;
	--studio-text: #10243A;
	--studio-heading: #10243A;
	--studio-muted: #526174;
	--studio-panel-soft: #F6F4EF;
	--studio-border: #D9DEE5;
}
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] :is(.tla-studio-page, .tla-document-studio, .tla-studio-access) {
	--studio-blue: #C4B5FD;
	--studio-pink: #6D28D9;
	--studio-cyan: #C4B5FD;
	--studio-bg: #080F1C;
	--studio-bg-alt: #080F1C;
	--studio-panel: #10243A;
	--studio-panel-soft: #10243A;
	--studio-text: #FFFFFF;
	--studio-heading: #FFFFFF;
	--studio-muted: #D9DEE5;
}
html[data-tla-brand]:not(#tla-brand-x) .tla-studio-button--primary {
	background: #6D28D9 !important;
	box-shadow: none !important;
	min-height: 48px;
}
html[data-tla-brand]:not(#tla-brand-x) .tla-studio-button--primary:hover { background: #5B21B6 !important; }
html[data-tla-brand]:not(#tla-brand-x) :is(.tla-studio-loading, .tla-studio-page [aria-busy="true"]) {
	background: #F0EAFB;
	color: #6D28D9;
}

/* ORBIT. Purple actions and selected states; the association palette elsewhere. */
html[data-tla-brand]:not(#tla-brand-x) :is(.tla-orbit, .tla-orbit-pf-hero-wrap, [data-tla-product="orbit"]) {
	--pink: #6D28D9;
	--purple: #6D28D9;
	--blue: #6D28D9;
	--cyan: #526174;
	--tla-navy: #10243A;
	--tla-blue: #6D28D9;
	--tla-muted: #526174;
	--tla-card-tint: #F6F4EF;
	--tla-line: #D9DEE5;
	--tla-btn: linear-gradient(#6D28D9, #6D28D9);
	--tla-btn-hover: linear-gradient(#5B21B6, #5B21B6);
	--tla-pill-bg: #F0EAFB;
	--tla-pill-fg: #6D28D9;
	--tla-focus: #6D28D9;
	--tla-link: #6D28D9;
	--tla-tint: #F0EAFB;
	--rv-primary: #6D28D9;
	--rv-focus: #6D28D9;
	/* ORBIT acquisition and gate: the trial action is purple (Product Branding Reference). */
	--orb-gold-btn: linear-gradient(#6D28D9, #6D28D9);
	--orb-gold-btn-hover: linear-gradient(#5B21B6, #5B21B6);
	--orb-gold-text: #FFFFFF;
	--orb-gold-glow: 0 0 0 0 transparent;
}
html[data-tla-brand]:not(#tla-brand-x) .tla-orbit.is-dark,
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] :is(.tla-orbit, .tla-orbit-pf-hero-wrap) {
	--tla-navy: #FFFFFF;
	--tla-blue: #C4B5FD;
	--tla-card: #10243A;
	--tla-card-tint: #10243A;
	--tla-pill-bg: rgba(196, 181, 253, .16);
	--tla-pill-fg: #C4B5FD;
	--tla-focus: #C4B5FD;
	--tla-link: #C4B5FD;
	--tla-tint: rgba(196, 181, 253, .10);
	--rv-focus: #C4B5FD;
}
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__navitem { color: #10243A; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__navitem:is(.is-active, [aria-current="page"]) {
	position: relative;
	background: #6D28D9 !important;
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
	border-color: #6D28D9 !important;
	box-shadow: inset 3px 0 0 #C4B5FD !important;
}
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__navitem:is(.is-active, [aria-current="page"]) :is(.tla-orbit__navlabel, .tla-orbit__navcopy, .tla-orbit__navicon, small, span, svg) {
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
}
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__navitem.is-active::before { background: #C4B5FD !important; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit.is-dark .tla-orbit__navitem { color: #FFFFFF; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__tabs button.tla-orbit__tab.is-active {
	background: #6D28D9 !important;
	border-color: #6D28D9 !important;
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
}
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit :is(.tla-orbit__loading, [aria-busy="true"].tla-orbit__panel, .tla-orbit__processing) {
	background: #F0EAFB;
	color: #6D28D9;
}
/* ORBIT acquisition page (Partner Hub, data-tla-product="orbit"): inline styles were
   mapped to --orb-x-* by the orbital palette swap, so actions there resolve to purple. */
html[data-tla-brand]:not(#tla-brand-x) .tlap[data-tla-product="orbit"] {
	--orb-x-01: #6D28D9;
	--orb-x-02: #6D28D9;
	--orb-x-04: #6D28D9;
	--orb-x-11: #6D28D9;
	--orb-x-12: #6D28D9;
	--orb-x-14: #5B21B6;
	--orb-x-61: 109, 40, 217;
	--orb-x-62: 109, 40, 217;
}
html[data-tla-brand]:not(#tla-brand-x) .tlap[data-tla-product="orbit"] .tlap-btn-pri { background: #6D28D9 !important; color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; }
html[data-tla-brand]:not(#tla-brand-x) .tlap[data-tla-product="orbit"] .tlap-btn-pri:hover { background: #5B21B6 !important; }
html[data-tla-brand]:not(#tla-brand-x) .tlap[data-tla-product="orbit"] .tlap-cta-band .tlap-btn-pri { background: #FFFFFF !important; color: #6D28D9 !important; -webkit-text-fill-color: #6D28D9 !important; }
html[data-tla-brand]:not(#tla-brand-x) .tlap[data-tla-product="orbit"] .tlap-btn-sec { background: #FFFFFF !important; color: #10243A !important; -webkit-text-fill-color: #10243A !important; border: 1px solid #10243A !important; }

/* The approved ORBIT lockup replaces the ORBIT wordmark; on dark surfaces it sits on a white plate. */
html[data-tla-brand]:not(#tla-brand-x) .tla-orbit img.tla-brand-product { width: 100% !important; height: auto !important; max-width: 100% !important; max-height: none !important; aspect-ratio: 1100 / 245; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__brandblock :is(.tla-orbit__brand-img, .tla-orbit__rail-logo) { width: min(100%, 200px) !important; max-width: 200px !important; min-width: 160px !important; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__gate-logo { width: 260px !important; max-width: 100% !important; }
/* ORBIT actions, selected icon chip and surfaces. */
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit :is(button, a):is(.tla-orbit__btn--primary, .tla-orbit__btn--accent),
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit-review :is(button, a).tla-orbit-review__btn--primary {
	background-color: #6D28D9 !important;
	background-image: none !important;
	border-color: #6D28D9 !important;
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
	box-shadow: none !important;
}
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit :is(button, a):is(.tla-orbit__btn--primary, .tla-orbit__btn--accent):hover { background-color: #5B21B6 !important; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__navitem.is-active .tla-orbit__navicon { background: rgba(255, 255, 255, .16) !important; box-shadow: none !important; color: #FFFFFF !important; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit:not(.is-dark) { --bg: #FFFFFF !important; --panel-2: #F6F4EF !important; --heading: #10243A !important; --text: #10243A !important; --muted: #526174 !important; --line: #D9DEE5 !important; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__bg { display: none !important; }
html[data-tla-brand]:not(#tla-brand-x) :is(.tla-orbit.is-dark, [data-tla-theme="dark"] .tla-orbit) img.tla-brand-product { background: #FFFFFF; border-radius: 8px; padding: 6px 10px; box-sizing: content-box; }
html[data-tla-brand]:not(#tla-brand-x) .tla-orbit .tla-orbit__brand-separator,
html[data-tla-brand]:not(#tla-brand-x) .tla-orbit .tla-orbit__tla-brand { display: none !important; }
/* ORBIT 0.3.0-alpha.97+: the product name and "By TLA" set in type (rail and gate). */
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__brand-name { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; line-height: 1.1 !important; width: auto !important; min-width: 0 !important; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__brand-name .tla-product-heading { font: 600 1.875rem/1.1 Inter, Arial, sans-serif; color: #10243A; letter-spacing: .01em; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__brand-name .tla-product-endorsement { font: 500 .875rem/1.4 Inter, Arial, sans-serif; color: #526174; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit.is-dark .tla-orbit__brand-name .tla-product-heading { color: #FFFFFF; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit.is-dark .tla-orbit__brand-name .tla-product-endorsement { color: #D9DEE5; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit .tla-orbit__gate-logo.tla-orbit__brand-name { align-items: center !important; margin: 0 auto 8px !important; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-orbit:not(.is-dark) .tla-orbit__main { background: #FFFFFF !important; }
/* The ORBIT name and its "By TLA" endorsement (added by this plugin). */
html[data-tla-brand]:not(#tla-brand-x) .tla-brand-endorse {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 4px;
	font: 500 .875rem/1.4 Inter, Arial, sans-serif;
	color: #526174;
}
html[data-tla-brand]:not(#tla-brand-x) .tla-brand-endorse strong { font-weight: 700; color: #10243A; letter-spacing: .02em; }
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] .tla-brand-endorse,
html[data-tla-brand]:not(#tla-brand-x) .tla-orbit.is-dark .tla-brand-endorse { color: #D9DEE5; }
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] .tla-brand-endorse strong,
html[data-tla-brand]:not(#tla-brand-x) .tla-orbit.is-dark .tla-brand-endorse strong { color: #FFFFFF; }

/* 4. Footer (Elementor 24127 markup, unchanged) --------------------------- */
html[data-tla-brand]:not(#tla-brand-x) img:is(.tla-ft-logo-light-theme, .tla-ft-logo-dark-theme) {
	width: 190px !important;
	height: auto !important;
	max-width: 100% !important;
	aspect-ratio: 1000 / 330;
}

/* Footer (follows the light and dark themes): newsletter action and badges. */
html[data-tla-brand]:not(#tla-brand-x) body .tla-newsletter-submit { background: #10243A !important; color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; border-color: #10243A !important; }
html[data-tla-brand]:not(#tla-brand-x) body .tla-newsletter-submit:hover { background: #080F1C !important; }
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] body .tla-newsletter-submit { background: #FFFFFF !important; color: #10243A !important; -webkit-text-fill-color: #10243A !important; border-color: #FFFFFF !important; }
html[data-tla-brand]:not(#tla-brand-x) :is(.tla-ft-badge-cyan, .tla-ft-badge-cyan .tla-ft-badge-dot) { color: #10243A !important; }
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] :is(.tla-ft-badge-cyan, .tla-ft-badge-cyan .tla-ft-badge-dot) { color: #B39558 !important; }
html[data-tla-brand]:not(#tla-brand-x) .tla-uh-mobile-group-title { color: #526174 !important; }
html[data-tla-brand]:not(#tla-brand-x)[data-tla-theme="dark"] .tla-uh-mobile-group-title { color: #D9DEE5 !important; }

/* 5. Partner badges (approved artwork; sizes from the guidelines). -------- */
html[data-tla-brand]:not(#tla-brand-x) img.tla-brand-badge { width: 220px; max-width: 100%; height: auto; }

/* 6. Acquisition actions in gold (v1.1.1) -------------------------------------
   Gold #B39558 with navy #10243A text (5.5:1); hover #A3874D (4.6:1).
   Reserved for high-value acquisition: the free trial, joining or upgrading
   membership and applying to TLA Partner Agents. Identified by destination,
   so the same action is gold wherever it appears (homepage hero, Free Trial,
   Membership, ORBIT acquisition, Partner Agents landing, header, Knowledge
   Base trial band, trial prompts). Secondary and outlined actions keep their
   style; every other TLA action stays navy, and product actions stay purple. */
html[data-tla-brand]:not(#tla-brand-x):not(#tla-brand-y):not(#tla-brand-z) body :is(
	a.tlh3-btn, a.tlap-btn, a.tla-uh-action.is-primary, a.tla-orbit__btn, a.elementor-button, a.kb-btn,
	.tla-kb-article-cta-band a, .tlrc-feed a.tlh3-btn
):not(.tlh3-btn-ghost):not(.tlap-btn-sec):not(.tla-orbit__btn--ghost):is(
	[href*="/evaluation"], [href*="membership-checkout"], [href*="landlord-membership-plans"],
	[href*="#tlap-ap-apply"], [href*="/agent-partners"], [href*="#tlrc-a-trial"], [href$="/membership/"]
),
html[data-tla-brand]:not(#tla-brand-x):not(#tla-brand-y):not(#tla-brand-z) body #tlap-ap-apply button[type="submit"] {
	background: #B39558 !important;
	background-image: none !important;
	border-color: #B39558 !important;
	color: #10243A !important;
	-webkit-text-fill-color: #10243A !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
html[data-tla-brand]:not(#tla-brand-x):not(#tla-brand-y):not(#tla-brand-z) body :is(
	a.tlh3-btn, a.tlap-btn, a.tla-uh-action.is-primary, a.tla-orbit__btn, a.elementor-button, a.kb-btn,
	.tla-kb-article-cta-band a, .tlrc-feed a.tlh3-btn
):not(.tlh3-btn-ghost):not(.tlap-btn-sec):not(.tla-orbit__btn--ghost):is(
	[href*="/evaluation"], [href*="membership-checkout"], [href*="landlord-membership-plans"],
	[href*="#tlap-ap-apply"], [href*="/agent-partners"], [href*="#tlrc-a-trial"], [href$="/membership/"]
):is(:hover, :active),
html[data-tla-brand]:not(#tla-brand-x):not(#tla-brand-y):not(#tla-brand-z) body #tlap-ap-apply button[type="submit"]:is(:hover, :active) {
	background: #A3874D !important;
	border-color: #A3874D !important;
	color: #10243A !important;
	-webkit-text-fill-color: #10243A !important;
}
/* Icons and arrows inside gold actions follow the navy text. */
html[data-tla-brand]:not(#tla-brand-x):not(#tla-brand-y):not(#tla-brand-z) body :is(a.tlh3-btn, a.tlap-btn, a.tla-uh-action.is-primary, a.tla-orbit__btn, a.elementor-button):is([href*="/evaluation"], [href*="membership-checkout"], [href*="landlord-membership-plans"], [href*="#tlap-ap-apply"], [href*="/agent-partners"], [href*="#tlrc-a-trial"], [href$="/membership/"]) :is(span, svg) {
	color: inherit !important;
	-webkit-text-fill-color: inherit !important;
}

/* 7. Ask TLA panel (1.1.2) -----------------------------------------------------
   The panel sat under the fixed header (z-index 999995 against 1000000), so its
   top was hidden. While Ask TLA is open the header and the sticky Ask bar step
   aside, and the panel sits above everything as a focused, full-attention view. */
html[data-tla-brand]:not(#tla-brand-x) body #tla-ask-panel { z-index: 1000005 !important; }
html[data-tla-brand]:not(#tla-brand-x):has(#tla-ask-panel:not([hidden])) :is(#tla-uh, #tla-uh-mobile, .tla-ask-sticky) {
	visibility: hidden !important;
	pointer-events: none !important;
}

/* 8. Footer (1.1.2): the v1.1 primary lockup already carries the name, so the
   repeated "The Landlord Association" kicker beneath it is removed. */
html[data-tla-brand]:not(#tla-brand-x) .tla-ft-brand-kicker { display: none !important; }
