#tlLanguagePicker{display:inline-flex!important;align-items:center;gap:4px;flex-shrink:0;direction:ltr;padding:3px 6px;border:1px solid #8091a9;border-radius:10px;background:#10233d;color:white;min-height:38px}
#tlLanguagePicker label{margin:0!important;padding:0!important;font-size:17px;color:inherit}
#tlPlatformLanguage{display:block!important;width:102px!important;max-width:120px!important;min-width:0!important;margin:0!important;padding:6px 3px!important;border:0!important;background:#10233d!important;color:#fff!important;font:600 14px Arial,Tahoma,sans-serif!important;cursor:pointer;height:auto!important}
#tlPlatformLanguage:focus-visible{outline:2px solid #ffbd18;outline-offset:2px}
#tlLanguagePicker.tl-language-standalone{position:relative;margin:10px;justify-self:end;grid-column:1/-1}
html[lang="en"] body,html[lang="tr"] body{direction:ltr}
html[lang="ur"] body,html[lang="ar"] body{direction:rtl}
html[lang="ur"] body{font-family:Tahoma,Arial,sans-serif;line-height:1.65}
html[dir="ltr"] .activity-chip,html[dir="ltr"] .load-quick-actions{direction:ltr}
html[dir="ltr"] input[type="email"],html[dir="ltr"] input[type="tel"]{direction:ltr}
.tl-approved-header-v2{grid-template-columns:40px minmax(0,1fr) auto!important}
.tl-approved-header-v2 .actions{width:auto!important;display:flex!important;align-items:center;gap:5px!important}
html[lang="en"] .btn,html[lang="tr"] .btn,html[lang="ur"] .btn{white-space:normal;overflow-wrap:break-word}
@media(max-width:480px){#tlPlatformLanguage{width:83px!important;font-size:12px!important}#tlLanguagePicker{gap:2px;padding:2px 4px}.topactions{flex-wrap:wrap!important}}
@media(max-width:420px){.tl-approved-header-v2 .brand{font-size:15px!important}.tl-approved-header-v2 .brand img{width:25px!important;height:25px!important}.tl-approved-header-v2 .round{width:30px!important;height:30px!important;min-width:30px!important}.tl-approved-header-v2{gap:4px!important;padding-inline:7px!important}.tl-approved-header-v2 #tlPlatformLanguage{width:72px!important}.tl-approved-header-v2 #tlLanguagePicker label{font-size:14px}}
/* Older feature bundles hard-code RTL: follow the selected language instead. */
html[dir="ltr"] .tl-approved-home-v2,html[dir="ltr"] .tl-reference-copy,html[dir="ltr"] .tl-reference-facts,html[dir="ltr"] .tl-install-prompt,html[dir="ltr"] .tl-password-row{direction:ltr!important}
html[dir="ltr"] .hero-copy,html[dir="ltr"] .hero-sub,html[dir="ltr"] .tl-reference-copy,html[dir="ltr"] .tl-reference-copy *{text-align:start!important}
html[dir="ltr"] body :is(.tl-simple-route,.tl-reference-facts-six,.tl-clean-card-header,.tl-clean-brief,.tl-clean-details,.tl-clean-actions,.tl-clean-tabs,.tl-clean-route,.listing-owner-tools,.tl-approved-home,.tl-market-tools,.tl-completed-head,.tl-track-steps,.play-inline-actions,.tl-home-route-search,.tl-directory-dialog),html[dir="ltr"] body .tl-approved-home-v2 :is(.cats,.tabs-v2,.stat,.cat,.searchbox,.stats),html[dir="ltr"] #authDialog.tl-auth-reference-v2>.dialog,html[dir="ltr"] #authDialog #tlSignupContact{direction:ltr!important}

/* Compact native language menu: reserve space for the complete brand on phones. */
@media(max-width:600px){
 .tl-approved-header-v2{grid-template-columns:30px minmax(0,1fr) auto!important;gap:6px!important;padding-inline:8px!important}
 .tl-approved-header-v2 .brand{min-width:0!important;white-space:nowrap!important;font-size:15px!important}
 .tl-approved-header-v2 .brand img{width:25px!important;height:25px!important;flex-shrink:0}
 .tl-approved-header-v2 .actions{gap:4px!important;flex-shrink:0}
 .tl-approved-header-v2 .round{width:30px!important;min-width:30px!important;height:30px!important}
 .tl-approved-header-v2 #tlLanguagePicker{position:relative!important;box-sizing:border-box!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;justify-content:center;gap:0!important}
 .tl-approved-header-v2 #tlLanguagePicker label{font-size:18px!important;line-height:1;pointer-events:none}
 .tl-approved-header-v2 #tlPlatformLanguage{position:absolute!important;inset:0!important;width:100%!important;max-width:100%!important;height:100%!important;padding:0!important;opacity:0!important;cursor:pointer}
 .tl-approved-header-v2 #tlLanguagePicker:focus-within{outline:2px solid #ffbd18;outline-offset:2px}
}
