html:not([data-s68-stage-widget-ready]) :is([data-s68-launcher], .s68-collapse-launcher) {
  visibility: hidden;
}

/* Keep the chat controls above the persistent roof-photo action. */
body:has(.repair-quick) > :is([data-s68-launcher], .s68-collapse-launcher) {
  translate: 0 -5rem;
}

.embedded.external-launcher > #s68-chat[open] {
  position: relative !important;
  inset: auto !important;
  translate: none !important;
  transform: none !important;
  width: min(100% - 2rem, 38rem) !important;
  height: auto !important;
  max-height: min(38rem, 76dvh) !important;
  margin: 1rem auto !important;
  pointer-events: auto;
  scroll-margin-top: 5.5rem;
}

@media (max-width: 600px) {
  .embedded.external-launcher > #s68-chat[open] {
    width: calc(100% - 1rem) !important;
    max-height: 69dvh !important;
    margin: .5rem auto !important;
  }
}

@media (max-width: 600px) {
  #stroy68-unified-assistant:focus-within ~ :is([data-s68-launcher], .s68-collapse-launcher) {
    visibility: hidden;
  }
}
