/* TLA Partner Hub 1.0.294 — consistent, scoped public dark experience.
 * The approved midnight/cyan/magenta sector system applies only to public
 * /trusted-partners/ and /trusted-partner/ routes. The partner management
 * workspace, member command centre, TLA homepage and WordPress remain light.
 * Transparent partner logo artwork is not recoloured. Maps/ads retain source styles.
 */
body.tla-ph-public-dark-page {
  --tla-ph-bg:#050d20;--tla-ph-bg-alt:#0b1a33;--tla-ph-surface:#0d1d39;
  --tla-ph-soft:#152845;--tla-ph-border:#2a4971;
  --tla-ph-heading:#f7faff;--tla-ph-text:#ecf5ff;--tla-ph-muted:#bcd0e9;
  --tla-ph-muted-light:#9fb6d7;--tla-ph-blue:#42c9ff;
  --tla-ph-pastel-blue:#112c51;--tla-ph-pastel-violet:#231749;
  --uh-heading:#f7faff;--uh-text:#eef5ff;--uh-muted:#b9cbe7;
  --uh-line:rgba(133,181,244,.23);--uh-menu:#0a1830;--uh-soft:#112544;
  --uh-input:#0b2040;--uh-shadow:0 16px 42px rgba(0,0,0,.34);
  color-scheme:dark;background:#050d20!important;color:#eff7ff!important;
}
html:has(body.tla-ph-public-dark-page){background:#050d20!important}
body.tla-ph-public-dark-page :is(.site-main,.site-content,.page-content,.elementor-location-single,.elementor-widget-theme-post-content){background-color:transparent!important}
body.tla-ph-public-dark-page .tla-ph-shell:not(.tla-ph-partner-app){
 --tla-ph-bg:#050d20;--tla-ph-bg-alt:#0b1a33;--tla-ph-surface:#0d1d39;
 --tla-ph-soft:#152845;--tla-ph-border:#2a4971;
 --tla-ph-heading:#f7faff;--tla-ph-text:#ecf5ff;--tla-ph-muted:#bcd0e9;
 --tla-ph-muted-light:#9fb6d7;--tla-ph-blue:#42c9ff;
 color-scheme:dark;background-color:#050d20!important;color:#eef6ff!important;
}
body.tla-ph-public-dark-page .tla-ph-shell:not(.tla-ph-partner-app) :is(h1,h2,h3,h4,h5,h6){color:#f7faff!important}
body.tla-ph-public-dark-page .tla-ph-shell:not(.tla-ph-partner-app) :is(p,small,li){color:#bed2ec}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-frontend-eyebrow,.tla-ph-section-heading>div>span){color:#55d7ff!important}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-service-breadcrumbs,.tla-ph-service-breadcrumbs span,.tla-ph-service-breadcrumbs a){color:#b3d9f8!important}

/* Public pages have a navy, theme-aware global TLA header ONLY within this route.
 * We do not change the main header controller or the private workspace header. */
html body.tla-ph-public-dark-page #tla-uh,
html body.tla-ph-public-dark-page #tla-uh:not(.is-scrolled),
html body.tla-ph-public-dark-page #tla-uh.is-scrolled{
  --uh-menu:#0a1933;--uh-text:#f4f8ff;--uh-heading:#fff;
  --uh-muted:#bbcee7;--uh-soft:#11294c;--uh-line:#29466d;
  background:rgba(8,22,45,.97)!important;
  border-color:rgba(52,112,181,.42)!important;
  box-shadow:0 14px 36px rgba(2,10,27,.26)!important;
  color:#f3f9ff!important;
}
html body.tla-ph-public-dark-page #tla-uh :is(.tla-uh-link,.tla-uh-signout,.tla-uh-identity strong){color:#f3f8ff!important;-webkit-text-fill-color:#f3f8ff!important}
html body.tla-ph-public-dark-page #tla-uh :is(.tla-uh-identity small,.tla-uh-link small){color:#bfd0e9!important;-webkit-text-fill-color:#bfd0e9!important}
html body.tla-ph-public-dark-page #tla-uh .tla-uh-link:hover{background:#19365b!important}
html body.tla-ph-public-dark-page #tla-uh .tla-uh-identity{border-left-color:rgba(136,182,241,.35)!important}
/* The official dark-header logo version is shown, not a recreated graphic. */
html[data-tla-theme="light"] body.tla-ph-public-dark-page #tla-uh .tla-uh-light{display:none!important}
html[data-tla-theme="light"] body.tla-ph-public-dark-page #tla-uh .tla-uh-dark{display:block!important}
html body.tla-ph-public-dark-page #tla-uh-mobile{--uh-menu:#091831;--uh-text:#f3f8ff;--uh-heading:#fff;background:#0b1a33!important;color:#fff!important}
html body.tla-ph-public-dark-page #tla-uh :is(.tla-uh-burger i){background:#f5faff!important}

/* Finder: a legacy WHITE wizard background was painting over the neon canvas. */
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-fresh-guided,
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-fresh-guided-main,
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-finder{
 background:linear-gradient(150deg,#0c2040,#0a162f)!important;
 border-color:#2b5384!important;color:#eff7ff!important;
 box-shadow:0 18px 42px rgba(0,0,0,.23)!important;
}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-fresh-guided-main{min-width:0!important;border-radius:21px!important;padding:clamp(18px,2.2vw,30px)!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-finder{width:100%!important;max-width:none!important;margin:0!important;padding:clamp(13px,1.7vw,22px)!important;border-radius:19px!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-step{background:transparent!important;border:0!important;color:#f2f8ff!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-step legend{color:#fff!important;font-size:clamp(25px,3vw,36px)!important;line-height:1.18!important;margin-bottom:10px!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-step legend>span{background:linear-gradient(130deg,#18b6eb,#8b39e7)!important;color:#fff!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-step-copy{color:#c4d5ed!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-progress{color:#d6e5fa!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-progress>div{background:#203657!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh :is(.tla-ph-v1-sector-grid,.tla-ph-v1-step){min-width:0}
body.tla-ph-public-dark-page .tla-ph-match-fresh :is(.tla-ph-v1-service,.tla-ph-v1-location,.tla-ph-v1-optional-grid) :is(input,select,textarea){background:#102747!important;color:#f6fbff!important;border:1px solid #42638d!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh :is(.tla-ph-v1-inline-options label>span,.tla-ph-v1-timing label>span){background:#132a4b!important;border-color:#365781!important;color:#f7fbff!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh :is(.tla-ph-v1-inline-options,.tla-ph-v1-timing) input:checked+span{background:#252350!important;border-color:#ac66ff!important}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-fresh-guided-intro{background:#0e2240!important;border-color:#35557e!important}

/* Directory and sector page: no isolated light islands around dark partner cards. */
body.tla-ph-public-dark-page .tla-ph-directory :is(.tla-ph-directory-search,.tla-ph-directory-filters,.tla-ph-directory-group,.tla-ph-directory-intro,.tla-ph-directory-navigation),
body.tla-ph-public-dark-page .tla-ph-sector-public :is(.tla-ph-sector-spotlight,.tla-ph-sector-research,.tla-ph-sector-search),
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-service-explorer,.tla-ph-network-business-cta,.tla-ph-network-spotlight,.tla-ph-network-join-cta){
 background:linear-gradient(145deg,#0c1c39,#112042)!important;
 border-color:#2c507c!important;color:#eff7ff!important;
}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-directory,.tla-ph-sector-public) :is(input,select,textarea){background:#102542!important;color:#f6fbff!important;border-color:#365c89!important}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-directory,.tla-ph-sector-public) :is(input,textarea)::placeholder{color:#b7c9e5!important}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-directory,.tla-ph-sector-public) select option{background:#102542;color:#f6fbff}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card{background:#0b1934!important;border-color:#36567e!important;box-shadow:0 13px 30px rgba(0,0,0,.16)!important;color:#f5faff!important}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card.is-nationwide{border-color:#d0a84d!important;box-shadow:0 0 18px rgba(224,175,73,.13),0 12px 35px rgba(0,0,0,.18)!important}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card :is(h2,h3,h4,strong){color:#fff!important}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card :is(.tla-ph-directory-description,.tla-ph-directory-location){color:#c8d8f0!important}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card .tla-ph-directory-tags span{background:#142a4b!important;border-color:#32577e!important;color:#e5f4ff!important}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card .tla-ph-directory-logo{background:#fff!important}

/* Regions: the map, nationwide cards and regional navigation share one palette. */
body.tla-ph-public-dark-page .tla-ph-regional-hub,
body.tla-ph-public-dark-page .tla-ph-region-page{background:#050d20!important;color:#edf7ff!important}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-region-hero,.tla-ph-region-page-hero,.tla-ph-region-map-shell,.tla-ph-region-hero-note,.tla-ph-region-page-stat,.tla-ph-region-filter,.tla-ph-region-map-how,.tla-ph-uk-map-wrap){
 background:linear-gradient(145deg,#0d1e3b,#101a38)!important;
 border-color:#2c4c77!important;color:#edf6ff!important;box-shadow:0 16px 40px rgba(0,0,0,.17)!important;
}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-region-national-section,.tla-ph-region-card-section,.tla-ph-region-sector-section){background:transparent!important}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-card,
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-region-card,.tla-ph-region-sector-card,.tla-ph-service-journey-links a){
 background:linear-gradient(145deg,#0e2141,#101933)!important;
 border:1px solid #2c527d!important;color:#f5fbff!important;
 box-shadow:0 10px 29px rgba(0,0,0,.13)!important;
}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-card{border-color:#d4ad59!important;box-shadow:0 0 18px rgba(218,168,66,.13),0 13px 29px rgba(0,0,0,.16)!important}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-card :is(h4,strong){color:#f8fbff!important}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-card :is(p,small){color:#c5d6ef!important}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-pill{background:#493415!important;color:#ffda82!important;border:1px solid #a77b29!important}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-link{color:#55d6ff!important}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-icon{background:#fff!important;color:#0c3764!important}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-card strong{color:#f6faff!important}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-card p{color:#bdcfe9!important}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-card small{color:#4cd1ff!important}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-card>.dashicons{background:#15345c!important;color:#53d2ff!important}
body.tla-ph-public-dark-page .tla-ph-region-page .tla-ph-region-sector-card[data-tla-sector]{border-color:var(--tla-sector-accent)!important}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-region-page-stat,.tla-ph-region-hero-note) :is(p,small,span){color:#c3d6ed!important}

/* Generic PUBLIC-only information panels and navigation. Avoid touching ads/maps. */
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-public-state,.tla-ph-directory-empty,.tla-ph-service-journey-links a,.tla-ph-basic-location-summary,.tla-ph-network-quick-links a){background:#112544!important;color:#edf7ff!important;border-color:#35567c!important}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-public-state,.tla-ph-directory-empty,.tla-ph-service-journey-links a) :is(h2,h3,strong){color:#f5faff!important}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-public-state,.tla-ph-directory-empty,.tla-ph-service-journey-links a) :is(p,small){color:#bdcde7!important}
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-frontend-button-secondary,.tla-ph-region-national-link){color:#e8f6ff!important}
body.tla-ph-public-dark-page .tla-ph-shell a:focus-visible,
body.tla-ph-public-dark-page .tla-ph-shell button:focus-visible{outline:3px solid #60d8ff!important;outline-offset:3px}
/* Keep official company logos readable; retain authored ad artwork and maps. */
body.tla-ph-public-dark-page .tla-ph-shell :is(.tla-ph-directory-logo,.tla-ph-region-national-icon){background:#fff!important}
@media(max-width:767px){
 html body.tla-ph-public-dark-page #tla-uh{border-radius:0!important}
 body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-fresh-guided-main{padding:15px!important}
 body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-finder{padding:10px!important}
 body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-step legend{font-size:26px!important}
}
@media(prefers-reduced-motion:reduce){body.tla-ph-public-dark-page .tla-ph-shell *{scroll-behavior:auto!important}}

/* Directory's real template uses -hero / -claim-panel / -filter rather than
 * the older -search names. These were the remaining light islands in QA. */
body.tla-ph-public-dark-page .tla-ph-directory :is(.tla-ph-directory-hero,.tla-ph-directory-claim-panel,.tla-ph-directory-filter,.tla-ph-directory-legend,.tla-ph-directory-summary){
 background:linear-gradient(145deg,#0c203e,#121b3a)!important;
 border-color:#31527b!important;color:#eef7ff!important;
}
body.tla-ph-public-dark-page .tla-ph-directory :is(.tla-ph-directory-hero,.tla-ph-directory-claim-panel,.tla-ph-directory-filter,.tla-ph-directory-legend,.tla-ph-directory-summary) :is(h1,h2,h3,strong,label,span){color:#f3f8ff!important}
body.tla-ph-public-dark-page .tla-ph-directory :is(.tla-ph-directory-hero,.tla-ph-directory-claim-panel,.tla-ph-directory-filter,.tla-ph-directory-summary) p{color:#bcd0e9!important}
body.tla-ph-public-dark-page .tla-ph-directory .tla-ph-directory-filter :is(input,select,textarea){background:#0e2545!important;color:#f3f9ff!important;border-color:#395d86!important}
body.tla-ph-public-dark-page .tla-ph-directory .tla-ph-directory-filter :is(input,textarea)::placeholder{color:#bed2ed!important}
body.tla-ph-public-dark-page .tla-ph-directory .tla-ph-directory-filter select option{background:#0e2545!important;color:#f3f9ff!important}
body.tla-ph-public-dark-page .tla-ph-directory .tla-ph-directory-summary{border-radius:15px!important;padding:13px 17px!important}
body.tla-ph-public-dark-page .tla-ph-directory .tla-ph-directory-claim-icon{background:linear-gradient(140deg,#1746d0,#8f29ec)!important;color:#fff!important}
/* Partner profiles may have author-supplied full-width hero artwork. Do not
 * cover it, tint it, shift it or introduce padding around the source image. */
body.tla-ph-public-dark-page .tla-pp{--tla-ph-bg:#050d20;--tla-ph-surface:#0b1d39;--tla-ph-text:#eef7ff;--tla-ph-heading:#fff;--tla-ph-muted:#bed0e7;color:#ecf5ff;background:#050d20!important}
body.tla-ph-public-dark-page .tla-pp :is(.tla-pp-main,.tla-pp-section,.tla-pp-profile-content,.tla-pp-content-wrap){background-color:#081830;color:#edf7ff}
body.tla-ph-public-dark-page .tla-pp :is(.tla-pp-section,.tla-pp-profile-content,.tla-pp-content-wrap) :is(h2,h3,h4){color:#f8fbff!important}
