/* The original main-site widget owns its appearance and actions. */
/* Keep the existing fallback visible until the widget declares itself ready. */
html.inae-contact-dock-ready {
  --story-bottom: var(--inae-contact-dock-height, 0px);
  scroll-padding-bottom: calc(var(--inae-contact-dock-height, 0px) + 20px);
}

html.inae-contact-dock-ready body {
  padding-bottom: var(--inae-contact-dock-height, 0px);
}

html.inae-contact-dock-ready body > .mobile-actions {
  display: none;
}

/* Both pinned stories already subtract --story-bottom from their stage. */
/* Their chapter navigation, next control and reservation CTA stay in that stage. */
@media (max-width: 1100px) {
  html.inae-contact-dock-ready .main-nav {
    max-height: calc(100dvh - var(--story-header) - var(--inae-contact-dock-height, 0px));
  }
}

/* The original tablet chat launcher sits above the bar at the right edge. */
/* Keep story controls beside it while reserving only the native bar height. */
@media (min-width: 769px) and (max-width: 1279px) {
  html.inae-contact-dock-ready .story-ready .ps-controls,
  html.inae-contact-dock-ready .inae-brand-story .bottom-guide {
    right: 130px;
  }
}

@media (max-width: 760px) {
  /* Remove the old dock's built-in footer allowance; body uses the shared height. */
  html.inae-contact-dock-ready .site-footer {
    padding-bottom: 25px;
  }
}

@media print {
  html.inae-contact-dock-ready body {
    padding-bottom: 0;
  }
}
