/**
* There is an issue with importing the css file from JS:
* ```js
* import '@n26/nxd/styles.css' // fails to load
* ```
* As a workaround, we’re using a CSS import to load the nxd stylesheet, which
* means the import is handled by css-loader instead of mini-css-extract-plugin.
* This doesn’t result in an additional request as the file is being inlined.
*/
.pjycQLOQqd3rSkvbYOsz {
  right: 1rem;
  bottom: 1rem;
  height: calc(55px + 64px);
  width: 400px;
  max-width: 100%;
  transition: height calc(var(--duration, 1) * 0.5s) cubic-bezier(0.77, 0, 0.175, 1);
}

.pjycQLOQqd3rSkvbYOsz:focus {
  outline: 2px solid var(--primary-focus);
}

.dogKGj1ZdZbx8L9mCDbY {
  height: 80vh;
  max-height: calc(var(--chat-viewport-height, 80vh) - 1rem);
}

@media screen and (max-width: 768px) {
  .pjycQLOQqd3rSkvbYOsz {
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    /* Track the keyboard instantly; the open/close height animation would
       otherwise lag behind the keyboard and briefly expose the page below. */
    transition: none;
  }

  /* Pinned to the visual viewport (height + top offset set in JS from
     window.visualViewport), which shrinks when the on-screen keyboard opens so
     the input stays above it without pushing the window up or exposing the page.
     Falls back to dvh, then vh, when the variable or dynamic units are
     unavailable. */
  .dogKGj1ZdZbx8L9mCDbY {
    top: var(--chat-viewport-offset, 0px);
    height: 100vh;
    height: 100dvh;
    height: var(--chat-viewport-height, 100dvh);
    max-height: none;
  }
}

