/* --env-band-h: height of the pre-production band (environment-band.js); 0 in production. The pill keeps the same gap above it as it does without it. */
.sync-pill{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(16px + var(--env-band-h,0px) + env(safe-area-inset-bottom,0px));z-index:45;margin:0;
  padding:6px 14px;border-radius:999px;background:var(--card);color:var(--muted);border:1px solid var(--sep);font-size:13px;
  box-shadow:0 4px 14px rgba(0,0,0,.18);max-width:calc(100vw - 32px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.sync-pill.is-done{color:var(--text)}
/* Bottom bar up to 767 px (measured by Calidad: the side bar starts at 768): the pill stays above it. */
@media (max-width:767px){.sync-pill{bottom:calc(84px + var(--env-band-h,0px) + env(safe-area-inset-bottom,0px))}}
/* With the side navigation (768 px and up) the pill is centred in the content, never under the bar (Calidad, #129). */
@media (min-width:768px){body.has-navigation .sync-pill{left:calc(50% + var(--sidebar-width,0px) / 2);max-width:calc(100vw - var(--sidebar-width,0px) - 32px)}}
