/* ============================================================
   convert.lior-ai.com - floating controls layer.
   SINGLE SOURCE OF TRUTH for every fixed control in the corners:
   accessibility FAB, Aria chat launcher, share FAB, WhatsApp,
   the disclaimer badge and the fixed legal bar.

   Loaded on every page: assets/share.js injects it, and the few
   pages that do not use share.js link it directly.

   Accessibility, Aria and share each own a slot along the
   bottom-start edge; WhatsApp is pinned to the bottom-end corner.
   All of them clear the fixed legal bar, which owns the very
   bottom strip of the viewport.

   Positions are physical (left/right), never logical, so RTL and
   LTR language pages lay out identically.

   Declared with high specificity on purpose: it must beat the
   per-page inline patches and the styles injected at runtime by
   the shared accessibility widget and the Aria widget. Never
   depend on either widget's internals - they are shared with
   client sites and can change without warning.

   Slots are spaced for a 72px worst-case control width, so this
   still holds if the shared accessibility widget changes size.
   ============================================================ */
html body{--lior-float-b:50px}
@media (max-width:640px){html body{--lior-float-b:72px}}
/* the legal bar must not paint over the controls or over the
   accessibility / Aria dialogs, which sit below 100000 */
html body #lior-legal-footer{z-index:89!important}
html body #a11yFab,
html body .a11y-fab{position:fixed!important;top:auto!important;right:auto!important;bottom:var(--lior-float-b)!important;left:16px!important;z-index:100000!important}
html body #xa-launcher{position:fixed!important;top:auto!important;right:auto!important;bottom:var(--lior-float-b)!important;left:96px!important;z-index:99998!important}
/* the launcher's text pill overlaps the share button on desktop widths */
html body #xa-launcher .xa-label{display:none!important}
html body #xa-proactive{top:auto!important;right:auto!important;left:16px!important;bottom:calc(var(--lior-float-b) + 150px)!important}
html body #lior-share{position:fixed!important;inset-inline-start:auto!important;inset-inline-end:auto!important;top:auto!important;right:auto!important;bottom:var(--lior-float-b)!important;left:172px!important;z-index:92!important}
html body .wa-float,
html body #wa-fab{inset-inline-start:auto!important;inset-inline-end:auto!important;top:auto!important;left:auto!important;bottom:var(--lior-float-b)!important;right:24px!important;z-index:90!important}
/* Disclaimer badge rides above the row, clear of every control */
html body #lior-disclaimer-badge{left:auto!important;right:12px!important;bottom:calc(var(--lior-float-b) + 78px)!important}
@media (max-width:400px){
  html body #a11yFab,html body .a11y-fab{left:12px!important}
  html body #xa-launcher{left:84px!important}
  html body #lior-share{left:152px!important}
  html body .wa-float,html body #wa-fab{right:12px!important}
}
