/* All viewports: stay above the untouched Google badge lane with a 16px gap.
   Reserve its 60px height + 14px bottom offset + 16px separation.
   Safe-area space is additional, not a replacement; Google CSS is untouched. */
.telegram-enquiry {position:fixed;z-index:80;left:auto;right:max(16px,env(safe-area-inset-right));bottom:calc(90px + env(safe-area-inset-bottom,0px));display:inline-flex;align-items:center;min-height:48px;max-width:calc(100vw - max(16px,env(safe-area-inset-left)) - max(16px,env(safe-area-inset-right)));padding:12px 18px;border:2px solid #65d4e8;border-radius:999px;background:#10141e;color:#fff;font:600 15px/1.4 sans-serif;text-decoration:none;box-shadow:0 4px 16px #0004;}
.telegram-enquiry:hover {background:#244452;color:#fff;}
.telegram-enquiry:focus-visible {outline:3px solid #ff925c;outline-offset:4px;}
/* Let the final footer links scroll clear of both floating controls. */
body {padding-bottom:calc(164px + env(safe-area-inset-bottom,0px));}
/* Do not cover form controls or compete with the mobile keyboard/modal. */
body:has(dialog[open]) .telegram-enquiry,
body.assistant-form-visible .telegram-enquiry,
body:has(#contact-form :focus) .telegram-enquiry {visibility:hidden;}
@media (max-height:480px) {.telegram-enquiry {visibility:hidden;}}
@media print {.telegram-enquiry {display:none;}}
