:host {
  line-height: initial;
  font-family: var(--rtk-font-family, sans-serif);

  font-feature-settings: normal;
  font-variation-settings: normal;
}

p {
  margin: var(--rtk-space-0, 0px);
  padding: var(--rtk-space-0, 0px);
}


:host {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#dialog {
  position: relative;
  max-height: 100%;
  max-width: 100%;
  padding: var(--rtk-space-0, 0px);
  border-width: var(--rtk-border-width-none, 0);
  border-style: none;
  background-color: transparent;
  color: rgb(var(--rtk-colors-text-1000, 255 255 255));
}

#dialog::backdrop {
  background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / 0.5);
  backdrop-filter: blur(12px) saturate(180%);
}

#dismiss-btn {
  position: absolute;
  top: var(--rtk-space-3, 12px);
  right: var(--rtk-space-3, 12px);
  z-index: 50;
}

::slotted(*) {
  /*
   * In Safari, 
   * Adding max-h-full might break settings, audio_playback and troubleshooting modals.
   * If you ever have to add max-h-full back,
   * Make sure to test with Safari.
   */
  max-width: 100%;
  height: auto;
  min-height: -moz-fit-content;
  min-height: fit-content;
}
