/* TLA Partner Hub v1.0.345 — dark public surfaces: WCAG-conscious contrast.
 * Single last-loaded override after the legacy public cascade.
 * Intentionally scoped to public Hub content, not My TLA / partner admin / ads / logos.
 */
html body :is(.tla-ph-directory,.tla-ph-sector-public,.tla-ph-region-page,.tla-ph-regional-hub,.tla-ph-network-home,.tla-ph-public-profile,.tla-ph-match-fresh,.tla-ph-related-partners){
 --tla-ph-heading:#ffffff;
 --tla-ph-text:#f3f7ff;
 --tla-ph-muted:#d3e1f5;
 --tph-title:#ffffff;
 --tph-text:#f3f7ff;
 --tph-muted:#d3e1f5;
 color:#f3f7ff;
}
/* Nationwide and regular directory cards — overriding legacy :is() and is-pro variants. */
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-related-partners,.tla-ph-public-profile) .tla-ph-directory-card{
 color:#f3f7ff!important;
 background:#101d31!important;
}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-related-partners,.tla-ph-public-profile) .tla-ph-directory-card:is(.is-nationwide,.is-pro){
 background:#101d31!important;
 border-color:rgba(224,185,105,.83)!important;
 box-shadow:0 0 0 1px rgba(231,185,100,.10),0 10px 30px rgba(0,0,0,.18)!important;
}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-related-partners,.tla-ph-public-profile) .tla-ph-directory-card :is(h2,h3,h4,.tla-ph-directory-card-identity,.tla-ph-directory-compact-name){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-related-partners,.tla-ph-public-profile) .tla-ph-directory-card :is(.tla-ph-directory-description,.tla-ph-directory-location,.tla-ph-directory-compact-meta){
 color:#e8f1ff!important;-webkit-text-fill-color:#e8f1ff!important;
 opacity:1!important;
}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-related-partners,.tla-ph-public-profile) .tla-ph-directory-card .tla-ph-directory-description{
 font-size:clamp(13px,1vw,15px)!important;
 line-height:1.6!important;
}
/* These long full descriptions were overflowing the nationwide cards by hundreds of px.
 * Preserve full descriptions on profiles; keep discovery cards quickly scannable. */
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-card.is-nationwide .tla-ph-directory-description{
 display:-webkit-box!important;-webkit-box-orient:vertical!important;
 -webkit-line-clamp:6!important;line-clamp:6!important;
 overflow:hidden!important;
}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-related-partners) .tla-ph-directory-card .tla-ph-directory-tags span{
 background:#19314e!important;border:1px solid #456180!important;
 color:#f0f6ff!important;-webkit-text-fill-color:#f0f6ff!important;
}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-card .tla-ph-availability:not(.is-open){color:#e8f1ff!important;}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-card .tla-ph-availability.is-open{color:#70f2c9!important;}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-card .tla-ph-directory-discount{color:#e8f1ff!important;}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-card .tla-ph-tier-pill.is-nationwide{
 color:#ffe8a5!important;-webkit-text-fill-color:#ffe8a5!important;
 background:#523913!important;border:1px solid #a67f36!important;
}
/* Light company logo plate retains its existing light treatment. */
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-logo{background:#fff!important}
/* Finder, directories, sectors and regions: typography against dark surfaces. */
html body :is(.tla-ph-directory,.tla-ph-sector-public,.tla-ph-region-page,.tla-ph-regional-hub,.tla-ph-network-home) :is(
 .tla-ph-sector-directory-hero,.tla-ph-directory-hero,.tla-ph-directory-group,
 .tla-ph-directory-summary,.tla-ph-directory-filter,.tla-ph-region-page-hero,
 .tla-ph-region-header,.tla-ph-region-national-header,.tla-ph-section-heading,
 .tla-ph-sector-hero,.tla-ph-region-intro,.tla-ph-network-intro
 ) :is(h1,h2,h3,h4,strong){color:#fff!important}
html body :is(.tla-ph-directory,.tla-ph-sector-public,.tla-ph-region-page,.tla-ph-regional-hub,.tla-ph-network-home) :is(
 .tla-ph-sector-directory-hero,.tla-ph-directory-hero,.tla-ph-directory-group,
 .tla-ph-directory-summary,.tla-ph-directory-filter,.tla-ph-region-page-hero,
 .tla-ph-region-header,.tla-ph-region-national-header,.tla-ph-section-heading,
 .tla-ph-sector-hero,.tla-ph-region-intro,.tla-ph-network-intro
 ) :is(p,small,li){color:#e4efff!important}
/* Staged levels and comparative/compact cards stay legible. */
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-related-partners,.tla-ph-public-profile) :is(.tla-ph-partner-row,.tla-ph-compare-card){color:#f0f7ff!important}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-related-partners,.tla-ph-public-profile) :is(.tla-ph-partner-row,.tla-ph-compare-card) :is(
 .tla-ph-partner-row-name,.tla-ph-compare-identity h3,.tla-ph-compare-card h3
 ){color:#fff!important}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-related-partners,.tla-ph-public-profile) :is(.tla-ph-partner-row,.tla-ph-compare-card) :is(
 .tla-ph-partner-row-description,.tla-ph-partner-row-location,.tla-ph-compare-description,.tla-ph-compare-location
 ){color:#dfecff!important}
/* Profiles: limit to known dark content and never recolour logo plates or artwork. */
html body .tla-ph-public-profile :is(.tla-ph-profile-experience,.tla-ph-basic-public-listing,.tla-pp-main,.tla-pp-section,.tla-pp-profile-content){color:#f3f8ff!important}
html body .tla-ph-public-profile :is(.tla-ph-profile-experience,.tla-ph-basic-public-listing) :is(h1,h2,h3,h4,h5,strong,summary){color:#fff!important}
html body .tla-ph-public-profile :is(.tla-ph-profile-experience,.tla-ph-basic-public-listing) :is(p,li,small,.tla-ph-profile-tagline){color:#e3efff!important}
html body .tla-ph-public-profile :is(.tla-ph-profile-experience,.tla-ph-basic-public-listing) a:not(.tla-ph-frontend-button):not(.tla-ph-claim-cta){color:#8ce2ff!important}
html body .tla-ph-public-profile .tla-pp :is(.tla-pp-main,.tla-pp-section,.tla-pp-profile-content,.tla-pp-content-wrap) :is(h1,h2,h3,h4,strong){color:#fff!important}
html body .tla-ph-public-profile .tla-pp :is(.tla-pp-main,.tla-pp-section,.tla-pp-profile-content,.tla-pp-content-wrap) :is(p,li,small){color:#e3efff!important}
/* Keep white lettering on blue primary actions. */
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-public-profile) :is(.tla-ph-directory-card,.tla-ph-compare-card) :is(.tla-ph-frontend-button,.tla-ph-compare-action){color:#fff!important;-webkit-text-fill-color:#fff!important}
/* Mobile constraints: titles must wrap and cards must never push wider than screen. */
@media(max-width:767px){
 html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-card{min-width:0!important}
 html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-card h2{overflow-wrap:anywhere}
}
/* Section captions are distinct from paragraph copy, and should remain easy to spot. */
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-section-heading > div > span{color:#8de1ff!important}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-section-heading > strong{color:#f6fbff!important}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) :is(.tla-ph-directory-basic-note,.tla-ph-network-scope-note){color:#dfeeff!important}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-card :is(p,small){color:#e8f1ff!important}
/* Neutral status pills are dark, not light grey with invisible pale lettering. */
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-card .tla-ph-availability:is(.is-neutral,.is-closed){
 background:#19324f!important;border:1px solid #3b5b7c!important;
 color:#e8f1ff!important;-webkit-text-fill-color:#e8f1ff!important;
}
html body .tla-ph-directory .tla-ph-directory-basic-note{background:#132843!important;border-color:#39587b!important}
html body .tla-ph-directory .tla-ph-directory-basic-note p{color:#e8f1ff!important}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-filter label>span{color:#fff!important}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public) .tla-ph-directory-summary :is(strong,span){color:#ecf5ff!important}
