/* Approved InfraOne lockup: outlined artwork, never a typeset substitute. */
.brand .brand-lockup,.footer-brand .brand-lockup,.drawer-top .brand-lockup{display:block;width:256px;height:80px;object-fit:contain;object-position:center;flex:none;max-width:none;border-radius:0;filter:none!important;box-shadow:none!important;background:transparent}
.brand,.footer-brand{gap:0}.drawer-top .brand-lockup{width:208px;height:65px}
.content-page .brand .brand-lockup{width:232px;height:73px}
[data-theme="dark"] .brand-lockup,.header-shell .brand .brand-lockup{content:url('/assets/brand/infraone-dark.svg')}
a.phone-cta,.site-footer .footer-human>a.phone-cta{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;max-width:100%;min-height:48px;padding:10px 15px;border:1px solid #D94A0E;border-radius:6px;background:transparent;color:#A74408;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;box-sizing:border-box;white-space:normal}
a.phone-cta strong,.site-footer .footer-human>a.phone-cta strong{display:block;color:inherit;font-size:19px;font-weight:700;line-height:1.35;margin:0}
a.phone-cta:hover{background:#FFF2E5;text-decoration:none}.phone-cta:focus-visible{outline:3px solid #D94A0E;outline-offset:4px}
.call-direct{margin:20px 0 0}.call-note{display:block;font-size:13px;line-height:1.6;margin-top:8px;color:inherit}
[data-theme="dark"] a.phone-cta,.header-shell a.phone-cta,.hero-shell a.phone-cta{color:#FF9933;border-color:#FF9933}
[data-theme="dark"] a.phone-cta:hover,.hero-shell a.phone-cta:hover{background:rgba(255,153,51,.08)}
.phone-cta [lang="en"],.call-note [lang="en"]{display:none}
html[lang^="en"] .phone-cta [lang="en"],html[lang^="en"] .call-note [lang="en"]{display:inline}
html[lang^="en"] .phone-cta [lang="th"],html[lang^="en"] .call-note [lang="th"]{display:none}
@media(max-width:600px){.brand .brand-lockup,.content-page .brand .brand-lockup{width:190px;height:60px}.footer-brand .brand-lockup{width:240px;height:75px}}
@media(max-width:360px){.brand .brand-lockup,.content-page .brand .brand-lockup{width:150px;height:48px}.drawer-top .brand-lockup{width:180px;height:57px}}

/* Mobile chat occupies its own right-hand lane beside telephone details.
   The provider's unsolicited greeting must not cover a call or quote CTA. */
@media(max-width:640px){
  body>div:has(>button[aria-label="Dismiss message"]){display:none!important}
  body>button:is([aria-label="Open chat"],[aria-label="Open Chat"],[aria-label="เปิดแชท"],[aria-label="เปิดแชต"]){
    width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important;
    right:calc(12px + env(safe-area-inset-right,0px))!important;
    bottom:calc(var(--analytics-notice-height,0px) + 12px + env(safe-area-inset-bottom,0px))!important;
  }
  .call-direct,.footer-human{padding-right:calc(80px + env(safe-area-inset-right,0px))}
  a.phone-cta strong{white-space:nowrap}
}
