/* Mobile contact controls: keep desktop untouched. */
@media (max-width: 900px) {
  .site-header .header-book,
  .site-header .header-phone,
  .vib-home-hero__actions {
    display: none !important;
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .mobile-action-bar {
    grid-template-columns: minmax(56px, 1fr) minmax(138px, 1.8fr) minmax(68px, 1fr);
    gap: 6px;
    min-height: calc(72px + env(safe-area-inset-bottom));
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-action-bar a,
  .mobile-action-bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 8px 6px;
    border: 1px solid transparent;
    border-radius: var(--vib-radius-sm);
    font-family: inherit;
    font-size: clamp(13px, 3.5vw, 16px);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }
  .mobile-action-bar .mobile-action-bar__call,
  .mobile-action-bar .mobile-action-bar__text {
    color: var(--vib-blue-hover);
    background: transparent;
    border: 2px solid var(--vib-blue);
    border-radius: 999px;
    box-shadow: none;
  }
  .mobile-action-bar .mobile-action-bar__book {
    color: var(--vib-white);
    background: var(--vib-blue);
  }
  .mobile-action-bar .mobile-action-bar__text:disabled {
    opacity: 0.55;
    cursor: wait;
  }
  .mobile-action-bar a:focus-visible,
  .mobile-action-bar button:focus-visible {
    outline: 3px solid var(--vib-blue-hover);
    outline-offset: 2px;
  }
  /* Prevent the greeting, remembered open state, and launcher from flashing. */
  body:has(.mobile-action-bar) rosie-widget:not([data-vib-mobile-open]) {
    display: none !important;
  }
}
