/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Keep Channel Talk anchored to the viewport instead of the document flow. */
html body #ch-plugin {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  left: auto !important;
  top: auto !important;
  z-index: 9999 !important;
}

@media (max-width: 640px) {
  html body #ch-plugin {
    right: 16px !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }
}
