:host {
  all:initial;
  font-family:inherit;
  --color-primary-50: #f7fbff;
  --color-primary-100: #ecf4ff;
  --color-primary-200: #d7e7ff;
  --color-primary-300: #c0d9ff;
  --color-primary-400: #a6c9ff;
  --color-primary-500: #8fbaff;
  --color-primary-600: #769ad4;
  --color-primary-700: #5f7dad;
  --color-primary-800: #4f6891;
  --color-primary-900: #32435f;
  --color-primary-950: #1d283b;
  --color-secondary-50: #f7fbff;
  --color-secondary-100: #ecf4ff;
  --color-secondary-200: #d7e7ff;
  --color-secondary-300: #c0d9ff;
  --color-secondary-400: #a6c9ff;
  --color-secondary-500: #8fbaff;
  --color-secondary-600: #769ad4;
  --color-secondary-700: #5f7dad;
  --color-secondary-800: #4f6891;
  --color-secondary-900: #32435f;
  --color-secondary-950: #1d283b;
  --user-message-bubble-color: #8fbaff;
  --assistant-message-bubble-color: #F5F5F5;
  --send-button-color: #8fbaff;
  --bb-brand-color: #8fbaff;
  --bb-send-surface: color-mix(in srgb, #8fbaff 14%, #ffffff);
  --bb-send-bg: #8fbaff;
  --bb-send-icon-color: #000000;
  --bb-iframe-ring: color-mix(in srgb, #8fbaff 15%, #CED8E7);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --system-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
#bubble {
  position:fixed;
  width:120px;
  height:38px;
  border-radius:var(--bubble-border-radius,30px);
  background-color:transparent;
  color:#FFFFFF;
  border:none;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
  cursor:pointer;
  z-index:2147483646;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:var(--bubble-icon-size,28px);
  font-family:inherit;
  transition:width 0.3s ease,border-radius 0.3s ease,transform 0.3s ease;
  overflow:hidden;
  white-space:nowrap;
  box-sizing:border-box;
  padding:0
}
#bubble.bubble-pill {
  width:max-content;
  padding:0 19px 0 0;
  border-radius:var(--bubble-border-radius,30px)
}
#bubble img {
  border-radius:inherit
}
#bubble.bubble-pill svg {
  width:28px;
  height:28px;
  flex-shrink:0
}
#bubble:hover {
  transform:scale(1.1)
}
#bubble svg {
  width:var(--bubble-icon-size,60%);
  height:var(--bubble-icon-size,60%);
  flex-shrink:0
}
#bubble-cloud {
  position:fixed;
  display:block;
  max-width:min(260px,calc(100vw - var(--offset-x,2px) - var(--bubble-width,120px) - 56px));
  margin:0;
  padding:12px 16px;
  border:none;
  border-radius:20px;
  background-color:transparent;
  color:#ffffff;
  font-family:inherit;
  font-size:14px;
  font-weight:400;
  line-height:1.35;
  text-align:left;
  white-space:normal;
  cursor:pointer;
  z-index:2147483646;
  box-sizing:border-box;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,0.2))
}
#bubble-cloud .cloud-label {
  position:relative;
  display:block
}
#bubble-cloud .cloud-edge {
  position:absolute;
  left:14px;
  right:14px;
  height:12px;
  pointer-events:none;
  background-repeat:repeat-x;
  background-position:center;
  background-size:22px 12px
}
#bubble-cloud .cloud-edge-top {
  top:-11px;
  background-image:radial-gradient(circle 11px at 11px 12px,transparent 100%,transparent 100%)
}
#bubble-cloud .cloud-edge-bottom {
  bottom:-11px;
  background-image:radial-gradient(circle 11px at 11px 0,transparent 100%,transparent 100%)
}
#bubble-cloud::before,#bubble-cloud::after {
  content:"";
  position:absolute;
  border-radius:50%;
  background-color:transparent
}
#bubble-cloud::after {
  width:12px;
  height:12px;
  bottom:10px
}
#bubble-cloud::before {
  width:6px;
  height:6px;
  bottom:2px
}
#bubble-cloud.pos-bottom-right,#bubble-cloud.pos-top-right {
  right:calc(var(--offset-x,2px) + var(--bubble-width,120px) + 24px);
  transform-origin:right center;
  animation:bubble-cloud-in-right 240ms cubic-bezier(0.23,1,0.32,1) both
}
#bubble-cloud.pos-bottom-left,#bubble-cloud.pos-top-left {
  left:calc(var(--offset-x,2px) + var(--bubble-width,120px) + 24px);
  transform-origin:left center;
  animation:bubble-cloud-in-left 240ms cubic-bezier(0.23,1,0.32,1) both
}
#bubble-cloud.pos-bottom-right,#bubble-cloud.pos-bottom-left {
  bottom:calc(var(--offset-y,0px) + 11px)
}
#bubble-cloud.pos-top-right,#bubble-cloud.pos-top-left {
  top:calc(var(--offset-y,0px) + 11px)
}
#bubble-cloud.pos-bottom-right::after,#bubble-cloud.pos-top-right::after {
  right:-8px
}
#bubble-cloud.pos-bottom-right::before,#bubble-cloud.pos-top-right::before {
  right:-20px
}
#bubble-cloud.pos-bottom-left::after,#bubble-cloud.pos-top-left::after {
  left:-8px
}
#bubble-cloud.pos-bottom-left::before,#bubble-cloud.pos-top-left::before {
  left:-20px
}
#bubble-cloud.chat-open {
  animation:none;
  opacity:0;
  pointer-events:none;
  transition:opacity 160ms ease
}
@keyframes bubble-cloud-in-right {
  from {
    opacity:0;
    transform:translateX(10px) scale(0.95)
  }
  to {
    opacity:1;
    transform:translateX(0) scale(1)
  }
}
@keyframes bubble-cloud-in-left {
  from {
    opacity:0;
    transform:translateX(-10px) scale(0.95)
  }
  to {
    opacity:1;
    transform:translateX(0) scale(1)
  }
}
@media(prefers-reduced-motion:reduce) {
  #bubble-cloud {
    animation:none
  }
}
#close-button {
  position:fixed;
  width:120px;
  height:38px;
  border-radius:var(--bubble-border-radius,30px);
  background-color:transparent;
  color:#FFFFFF;
  border:none;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
  cursor:pointer;
  z-index:2147483646;
  display:none;
  align-items:center;
  justify-content:center;
  font-size:var(--bubble-icon-size,28px);
  transition:all 0.3s ease;
  padding:0;
  overflow:hidden;
  opacity:0;
  pointer-events:none
}
#close-button.visible {
  display:flex;
  opacity:1;
  pointer-events:all
}
#close-button:hover {
  transform:scale(1.1)
}
#close-button svg {
  width:var(--bubble-icon-size,60%);
  height:var(--bubble-icon-size,60%)
}
#iframe-container {
  position:fixed;
  width:var(--iframe-width,480px);
  height:var(--iframe-height,1000px);
  border-radius:18px;
  box-shadow:0 8px 32px rgba(0,0,0,0.2);
  z-index:2147483647;
  overflow:hidden;
  transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
  opacity:0;
  transform:translateY(20px) scale(0.95);
  pointer-events:none;
  display:none;
  background-color:#ffffff;
  top:auto;
  right:auto;
  bottom:auto;
  left:auto;
  margin:0;
  padding:0;
  border:0;
  color:inherit
}
#iframe-container.open {
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:all;
  display:block
}
#iframe {
  width:100%;
  height:100%;
  border:none;
  background-color:#ffffff
}
.pos-bottom-right {
  bottom:var(--offset-y,0px);
  right:var(--offset-x,2px)
}
.pos-bottom-left {
  bottom:var(--offset-y,0px);
  left:var(--offset-x,2px)
}
.pos-top-right {
  top:var(--offset-y,0px);
  right:var(--offset-x,2px)
}
.pos-top-left {
  top:var(--offset-y,0px);
  left:var(--offset-x,2px)
}
#iframe-container.pos-bottom-right {
  bottom:var(--icon-offset-y,144px);
  right:var(--offset-x,2px)
}
#iframe-container.pos-bottom-left {
  bottom:var(--icon-offset-y,144px);
  left:var(--offset-x,2px)
}
#iframe-container.pos-top-right {
  top:var(--icon-offset-y,144px);
  right:var(--offset-x,2px)
}
#iframe-container.pos-top-left {
  top:var(--icon-offset-y,144px);
  left:var(--offset-x,2px)
}
#iframe-container.centered-layout {
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%)
}
#iframe-container.centered-layout.open {
  transform:translateX(-50%) translateY(0) scale(1)
}
#iframe-container.centered-layout.pos-bottom-right,#iframe-container.centered-layout.pos-bottom-left {
  bottom:var(--icon-offset-y,144px)
}
#iframe-container.centered-layout.pos-top-right,#iframe-container.centered-layout.pos-top-left {
  top:var(--icon-offset-y,144px)
}
#iframe-container.kb-float {
  max-height:calc(var(--bb-keyboard-avail,100dvh) - var(--icon-offset-y,144px) - 16px)
}
#iframe-container.kb-float.pos-bottom-right,#iframe-container.kb-float.pos-bottom-left {
  bottom:calc(var(--icon-offset-y,144px) + var(--bb-keyboard-gap,0px))
}
#iframe-container.kb-float.pos-top-right,#iframe-container.kb-float.pos-top-left {
  top:calc(var(--icon-offset-y,144px) + var(--bb-keyboard-offset,0px))
}
#iframe-container.fullscreen-mobile {
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100vw !important;
  height:100vh !important;
  height:-webkit-fill-available !important;
  border-radius:0 !important;
  transform:none !important;
  overscroll-behavior:none;
  -webkit-overflow-scrolling:touch
}
@supports (height:100dvh) {
  #iframe-container.fullscreen-mobile {
    height:100dvh !important
  }
}
#iframe-container.fullscreen-mobile.open {
  transform:none !important
}
#iframe-container.panel-fullscreen {
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100vw !important;
  height:100vh !important;
  max-width:none !important;
  max-height:none !important;
  border-radius:0 !important;
  transform:none !important;
  transition:none !important
}
@supports (height:100dvh) {
  #iframe-container.panel-fullscreen {
    height:100dvh !important
  }
}
#iframe-container.panel-fullscreen.open {
  transform:none !important
}
#iframe-container.panel-fullscreen .panel-resize-handle {
  display:none
}
.panel-resize-handle {
  position:absolute;
  margin:0;
  padding:0;
  border:none;
  background:transparent;
  touch-action:none;
  z-index:2
}
.panel-resize-handle.axis-x {
  top:0;
  bottom:0;
  width:12px;
  cursor:ew-resize
}
.panel-resize-handle.axis-y {
  left:0;
  right:0;
  height:12px;
  cursor:ns-resize
}
.panel-resize-handle.axis-xy {
  width:20px;
  height:20px;
  z-index:3
}
.panel-resize-handle.edge-x-left {
  left:0
}
.panel-resize-handle.edge-x-right {
  right:0
}
.panel-resize-handle.axis-y.edge-y-top,.panel-resize-handle.axis-xy.edge-y-top {
  top:0
}
.panel-resize-handle.axis-y.edge-y-bottom,.panel-resize-handle.axis-xy.edge-y-bottom {
  bottom:0
}
.panel-resize-handle.axis-y.edge-x-left,.panel-resize-handle.axis-y.edge-x-right {
  left:0;
  right:0
}
.panel-resize-handle.axis-xy.edge-x-left.edge-y-top,.panel-resize-handle.axis-xy.edge-x-right.edge-y-bottom {
  cursor:nwse-resize
}
.panel-resize-handle.axis-xy.edge-x-right.edge-y-top,.panel-resize-handle.axis-xy.edge-x-left.edge-y-bottom {
  cursor:nesw-resize
}
.panel-resize-handle:focus-visible {
  outline:2px solid #8fbaff;
  outline-offset:-2px
}
#iframe-container.resizing {
  transition:none !important
}
#iframe-container.resizing #iframe {
  pointer-events:none
}
@media(max-width:768px) {
  .panel-resize-handle {
    display:none
  }
}
#iframe-container.bubble-drawer {
  position:fixed;
  left:var(--bb-drawer-side-gap,0px);
  right:var(--bb-drawer-side-gap,0px);
  width:auto;
  max-width:none;
  top:max(env(safe-area-inset-top,0px),var(--bb-drawer-top-gap,48px));
  bottom:calc(var(--bb-drawer-bottom-gap,16px) + env(safe-area-inset-bottom,0px) + var(--bb-keyboard-total,0px));
  height:auto;
  max-height:none;
  border-radius:22px;
  overflow:visible;
  background:#ffffff;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(110%);
  box-shadow:0 -2px 12px rgba(0,0,0,0.08),0 -12px 48px rgba(0,0,0,0.22);
  transition:opacity 0.35s cubic-bezier(0.22,0.61,0.36,1),transform 0.35s cubic-bezier(0.22,0.61,0.36,1),visibility 0s linear 0.35s
}
#iframe-container.bubble-drawer.open {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  display:flex;
  transform:translateY(var(--bb-keyboard-offset,0px));
  transition:opacity 0.35s cubic-bezier(0.22,0.61,0.36,1),transform 0.35s cubic-bezier(0.22,0.61,0.36,1),visibility 0s linear 0s
}
#iframe-container.bubble-drawer.kb-open {
  top:max(env(safe-area-inset-top,0px),8px);
  bottom:calc(8px + var(--bb-keyboard-total,0px))
}
#iframe-container.bubble-drawer #iframe {
  flex:1 1 auto;
  min-height:0;
  height:auto;
  border-radius:22px;
  overflow:hidden;
  background:transparent
}
#iframe-container.bubble-drawer #bb-drawer-handle {
  display:flex
}
#iframe-container.bubble-drawer.open ~ #bb-drawer-scrim {
  display:block;
  pointer-events:auto
}
#bb-drawer-handle {
  display:none;
  flex:0 0 auto;
  width:100%;
  height:40px;
  align-items:center;
  justify-content:center;
  cursor:grab;
  touch-action:none;
  background:transparent;
  position:relative;
  z-index:1;
  margin-bottom:-40px
}
#bb-drawer-handle::after {
  content:"";
  display:block;
  width:40px;
  height:5px;
  border-radius:9999px;
  background:rgba(60,60,67,0.3);
  margin-bottom:58px
}
#bb-drawer-handle:active {
  cursor:grabbing
}
#bb-drawer-scrim {
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.08);
  z-index:2147483646;
  pointer-events:none;
  opacity:1
}
#size-panel {
  position:fixed;
  bottom:0px;
  right:2px;
  width:480px;
  height:1000px;
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 32px);
  border-radius:18px;
  box-shadow:0 8px 32px rgba(0,0,0,0.2);
  z-index:2147483647;
  overflow:hidden;
  background-color:#ffffff;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(20px) scale(0.95);
  transition:opacity 0.3s cubic-bezier(0.4,0,0.2,1),transform 0.3s cubic-bezier(0.4,0,0.2,1),visibility 0s linear 0.3s
}
#size-panel.open {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
  transition:opacity 0.3s cubic-bezier(0.4,0,0.2,1),transform 0.3s cubic-bezier(0.4,0,0.2,1),visibility 0s linear 0s
}
#size-panel iframe {
  width:100%;
  height:100%;
  border:none;
  display:block;
  background-color:#ffffff
}
@media (max-width:768px) {
  #size-panel {
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100vw;
    height:100dvh;
    max-width:100vw;
    max-height:100dvh;
    border-radius:0
  }
}
:host(.size-panel-open) #bubble,:host(.size-panel-open) #bubble-cloud,:host(.size-panel-open) #close-button,:host(.size-panel-open) #chips-container,:host(.size-panel-open) #bottom-bar,:host(.size-panel-open) #bb-chips-container,:host(.size-panel-open) #sidebar-launcher {
  opacity:0 !important;
  pointer-events:none !important
}
#chips-container {
  position:fixed;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:2147483646;
  pointer-events:auto
}
#chips-container.pos-bottom-right {
  align-items:flex-end;
  bottom:calc(var(--offset-y,0px) + var(--bubble-height,38px) + 16px);
  right:var(--offset-x,2px)
}
#chips-container.pos-bottom-left {
  align-items:flex-start;
  bottom:calc(var(--offset-y,0px) + var(--bubble-height,38px) + 16px);
  left:var(--offset-x,2px)
}
#chips-container.pos-top-right {
  align-items:flex-end;
  top:calc(var(--offset-y,0px) + var(--bubble-height,38px) + 16px);
  right:var(--offset-x,2px)
}
#chips-container.pos-top-left {
  align-items:flex-start;
  top:calc(var(--offset-y,0px) + var(--bubble-height,38px) + 16px);
  left:var(--offset-x,2px)
}
#chips-container.hidden {
  display:none
}
.chip {
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  border-radius:12px;
  font-size:12px;
  font-weight:500;
  line-height:20px;
  font-family:inherit;
  border:none;
  background-color:#8fbaff;
  color:#ffffff;
  box-shadow:0 2px 8px rgba(0,0,0,0.2);
  white-space:nowrap;
  cursor:default;
  pointer-events:none;
  transition:none;
}
@media(prefers-reduced-motion:reduce) {
  #bubble {
    transition:width 0.3s ease,border-radius 0.3s ease,transform 0.3s ease !important
  }
  #close-button {
    transition:all 0.3s ease !important
  }
  #iframe-container {
    transition:all 0.3s cubic-bezier(0.4,0,0.2,1) !important
  }
  #iframe-container.fullscreen-mobile {
    transition:none !important
  }
  #bottom-bar {
    transition:transform 0.35s cubic-bezier(0.22,0.61,0.36,1) !important
  }
  #bottom-bar-wrapper {
    transition:background 0.35s cubic-bezier(0.22,0.61,0.36,1),padding 0.35s cubic-bezier(0.22,0.61,0.36,1),width 0.35s cubic-bezier(0.22,0.61,0.36,1),margin 0.35s cubic-bezier(0.22,0.61,0.36,1),border-radius 0.35s cubic-bezier(0.22,0.61,0.36,1) !important
  }
  #bottom-bar-inner {
    transition:margin 0.35s cubic-bezier(0.22,0.61,0.36,1),width 0.35s cubic-bezier(0.22,0.61,0.36,1),border-radius 0.35s cubic-bezier(0.22,0.61,0.36,1),background 0.14s cubic-bezier(0.4,0,0.2,1),border-color 0.14s cubic-bezier(0.4,0,0.2,1),box-shadow 0.14s cubic-bezier(0.4,0,0.2,1) !important
  }
  #bottom-bar-inner.bb-enter {
    animation:loopsai-slide-in-bottom 0.35s cubic-bezier(0.22,0.61,0.36,1) forwards !important
  }
  #iframe-container.bottom-bar-iframe {
    transition:opacity 0.35s cubic-bezier(0.22,0.61,0.36,1),transform 0.35s cubic-bezier(0.22,0.61,0.36,1),bottom 220ms cubic-bezier(0.4,0,0.2,1),visibility 0s linear 0.35s !important
  }
  #iframe-container.bottom-bar-iframe.open {
    transition:opacity 0.35s cubic-bezier(0.22,0.61,0.36,1),transform 0.35s cubic-bezier(0.22,0.61,0.36,1),bottom 220ms cubic-bezier(0.4,0,0.2,1),visibility 0s linear 0s !important
  }
  #iframe-container.bottom-bar-iframe.bb-drawer {
    transition:transform 0.5s cubic-bezier(0.32,0.72,0,1) !important
  }
  .bb-chip {
    transition:scale 0.15s ease-out,box-shadow 0.15s ease-out !important
  }
  #iframe-container.sidebar-iframe {
    transition:transform 0.35s cubic-bezier(0.22,0.61,0.36,1),opacity 0.2s ease !important
  }
}
#bubble {
  box-shadow:none !important;
  transform:scale(1.2) !important
}
#close-button {
  transform:scale(1.2) !important
}
#bubble {
  bottom:80px !important;
  right:10px !important
}
#bubble:has(> div),#close-button {
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  overflow:hidden !important
}
:is(#saved-inline-priority, .saved-inline-4) {
  --offset-x: 2px;
  --offset-y: 0px;
  --icon-offset-y: 130px;
  --iframe-width: 480px;
  --iframe-height: 761px;
}
:is(#saved-inline-priority, .saved-inline-5) {
  --offset-x: 2px;
  --offset-y: 0px;
  --bubble-icon-size: 66px;
  --bubble-border-radius: 30px;
  width: 120px;
  height: 38px;
}
:is(#saved-inline-priority, .saved-inline-6) {
  width:120px;
  height:38px;
  border-radius:inherit;
  object-fit:cover;
}
:is(#saved-inline-priority, .saved-inline-7) {
  --offset-x: 2px;
  --offset-y: 0px;
  --bubble-icon-size: 22px;
  --bubble-border-radius: 50px;
  width: 40px;
  height: 40px;
}
:is(#saved-inline-priority, .saved-inline-8) {
  width:40px;
  height:40px;
  border-radius:inherit;
  object-fit:cover;
}
