/* Only the hosted StoveRope widget is affected; cart and checkout styles stay unchanged. */
#stoverope-chat-root {
  --sr-base-gap: 20px;
  --sr-bottom-clearance: 0px;
  bottom: calc(var(--sr-base-gap) + env(safe-area-inset-bottom, 0px) + var(--sr-bottom-clearance)) !important;
  max-width: calc(100vw - 32px);
}
#stoverope-chat-root .sr-panel {
  box-sizing: border-box;
  max-height: var(--sr-panel-max-height, calc(100dvh - 110px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#stoverope-chat-root .sr-panel header {
  position: sticky;
  top: 0;
  z-index: 1;
}
@media (max-width: 480px) {
  #stoverope-chat-root {
    --sr-base-gap: 16px;
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
  }
  #stoverope-chat-root .sr-fab {
    box-sizing: border-box;
    max-width: calc(100vw - 32px);
  }
}
