@keyframes readabler-ai-popup-show {
  0% {
    transform: translateY(calc(100% - 14px));
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes readabler-ai-popup-hide {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}
@keyframes readabler-ai-popup-close {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100% + 10px));
    opacity: 0;
  }
}
@keyframes readabler-ai-recognition-ongoing {
  0% {
    box-shadow: 0 0 0 0 rgb(255, 37, 43);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 37, 43, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(255, 37, 43);
  }
}
@keyframes readabler-ai-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes readabler-ai-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0.9);
  }
}
@keyframes readabler-ai-status--wait {
  100% {
    background-position: 100% 0, 100% 100%, 0 100%, 0 0;
  }
}
@keyframes readabler-ai-status--listen {
  25% {
    background-position: 100% 0, 0 100%, 100% 100%;
  }
  50% {
    background-position: 100% 0, 0 0, 100% 100%;
  }
  75% {
    background-position: 100% 0, 0 0, 0 100%;
  }
  100% {
    background-position: 100% 100%, 0 0, 0 100%;
  }
}
@keyframes readabler-tts-in {
  from {
    width: 0;
    height: 0;
  }
  to {
    width: 40px;
    height: 40px;
  }
}
/** Keyframes for animations. */
@keyframes readabler-bounce {
  from, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
@keyframes readabler-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes readabler-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes readabler-scale {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes readabler-slide-tr {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes readabler-slide-tl {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes readabler-slide-tt {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes readabler-slide-tt {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes readabler-slide-tb {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes readabler-flip-x {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}
@keyframes readabler-flip-y {
  from {
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}
@keyframes readabler-rotate {
  from {
    transform-origin: center;
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }
  to {
    transform-origin: center;
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes readabler-wobble {
  from {
    transform: scale3d(1, 1, 1);
  }
  10%, 20% {
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }
  40%, 60%, 80% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}
html {
  --readabler-font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue";
  --readabler-color-transparent: rgba(66, 103, 255, .2);
  --readabler-color-transparent-dark: rgba(33, 111, 243, .2);
  --readabler-color-transparent-15: rgba(66, 103, 255, .15);
  --readabler-color-transparent-15-dark: rgba(33, 111, 243, .15);
  --readabler-color-transparent-25: rgba(66, 103, 255, .25);
  --readabler-color-transparent-25-dark: rgba(33, 111, 243, .25);
  --readabler-color-transparent-50: rgba(66, 103, 255, .5);
  --readabler-color-transparent-50-dark: rgba(33, 111, 243, .5);
  --readabler-animate: 600ms;
  --readabler-text-magnifier-background-color: rgba(255, 255, 255, 0.9);
  --readabler-text-magnifier-background-color-light: rgba(255, 255, 255, 0.9);
  --readabler-text-magnifier-background-color-dark: rgba(255, 255, 255, 0.9);
  --readabler-text-magnifier-color: rgba(107, 107, 107, 1);
  --readabler-text-magnifier-color-light: rgba(107, 107, 107, 1);
  --readabler-text-magnifier-color-dark: rgba(107, 107, 107, 1);
  --readabler-text-magnifier-font-size: 36px;
  --readabler-btn-delay: 0s;
  --readabler-open-button-icon-size: 24px;
  --readabler-open-button-caption-size: 14px;
  --readabler-open-button-margin-top: 10px;
  --readabler-open-button-margin-right: 10px;
  --readabler-open-button-margin-bottom: 10px;
  --readabler-open-button-margin-left: 10px;
  --readabler-open-button-margin: var(--readabler-open-button-margin-top, 10px) var(--readabler-open-button-margin-right, 10px) var(--readabler-open-button-margin-bottom, 10px) var(--readabler-open-button-margin-left, 10px);
  --readabler-open-button-padding-top: 20px;
  --readabler-open-button-padding-right: 20px;
  --readabler-open-button-padding-bottom: 20px;
  --readabler-open-button-padding-left: 20px;
  --readabler-open-button-padding: var(--readabler-open-button-padding-top, 20px) var(--readabler-open-button-padding-right, 20px) var(--readabler-open-button-padding-bottom, 20px) var(--readabler-open-button-padding-left, 20px);
  --readabler-open-button-border-radius-top: 50px;
  --readabler-open-button-border-radius-right: 50px;
  --readabler-open-button-border-radius-bottom: 50px;
  --readabler-open-button-border-radius-left: 50px;
  --readabler-open-button-border-radius: var(--readabler-open-button-border-radius-top, 50px) var(--readabler-open-button-border-radius-right, 50px) var(--readabler-open-button-border-radius-bottom, 50px) var(--readabler-open-button-border-radius-left, 50px);
  --readabler-button-icon-color-light: rgba(255, 255, 255, 1);
  --readabler-button-icon-color-hover-light: rgba(33, 111, 243, 1);
  --readabler-button-icon-color-focus-light: rgba(33, 111, 243, 1);
  --readabler-button-background-color-light: rgba(33, 111, 243, 1);
  --readabler-button-background-color-hover-light: rgba(255, 255, 255, 1);
  --readabler-button-background-color-focus-light: rgba(255, 255, 255, 1);
  --readabler-button-icon-color-dark: rgba(255, 255, 255, 1);
  --readabler-button-icon-color-hover-dark: rgba(33, 111, 243, 1);
  --readabler-button-icon-color-focus-dark: rgba(33, 111, 243, 1);
  --readabler-button-background-color-dark: rgba(33, 111, 243, 1);
  --readabler-button-background-color-hover-dark: rgba(255, 255, 255, 1);
  --readabler-button-background-color-focus-dark: rgba(255, 255, 255, 1);
  --readabler-popup-background-color-light: rgba(255, 255, 255, 1);
  --readabler-popup-key-color-light: rgba(33, 111, 243, 1);
  --readabler-popup-text-color-light: rgba(51, 51, 51, 1);
  --readabler-popup-background-color-dark: rgba(22, 25, 27, 1);
  --readabler-popup-key-color-dark: rgba(33, 111, 243, 1);
  --readabler-popup-text-color-dark: rgba(222, 239, 253, 1);
  --readabler-popup-margin-top: 20px;
  --readabler-popup-margin-right: 20px;
  --readabler-popup-margin-bottom: 20px;
  --readabler-popup-margin-left: 20px;
  --readabler-popup-margin: var(--readabler-popup-margin-top, 20px) var(--readabler-popup-margin-right, 20px) var(--readabler-popup-margin-bottom, 20px) var(--readabler-popup-margin-left, 20px);
  --readabler-popup-border-radius-top: 20px;
  --readabler-popup-border-radius-right: 20px;
  --readabler-popup-border-radius-bottom: 20px;
  --readabler-popup-border-radius-left: 20px;
  --readabler-popup-border-radius: var(--readabler-popup-border-radius-top, 20px) var(--readabler-popup-border-radius-right, 20px) var(--readabler-popup-border-radius-bottom, 20px) var(--readabler-popup-border-radius-left, 20px);
  --readabler-overlay-color-light: rgba(2, 83, 238, .25);
  --readabler-overlay-color-dark: rgba(2, 83, 238, .25);
}

#readabler-ai {
  position: fixed;
  display: flex;
  justify-content: center;
  font-family: var(--readabler-font-family), sans-serif;
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  z-index: 99998;
}
#readabler-ai .readabler-ai-popup {
  position: absolute;
  bottom: 0;
  border-radius: var(--readabler-popup-border-radius, 12px);
  min-width: 400px;
  max-width: 440px;
  flex-direction: column;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation-name: readabler-ai-popup-close;
  animation-duration: 0s;
  animation-timing-function: linear;
  animation-fill-mode: both;
  margin: var(--readabler-popup-margin);
}
#readabler-ai[data-position=right] {
  justify-content: flex-end;
}
#readabler-ai[data-position=left] {
  justify-content: flex-start;
}
#readabler-ai.readabler-ai-overlay[aria-hidden=false] {
  height: 100%;
  width: 100%;
  transition: background-color 0.2s ease;
}
#readabler-ai[aria-hidden=""] .readabler-ai-popup {
  animation-name: readabler-ai-popup-close;
  animation-duration: 0.4s;
}
#readabler-ai[aria-hidden=false] .readabler-ai-popup {
  animation-name: readabler-ai-popup-show;
  animation-duration: 0.4s;
}
#readabler-ai[aria-hidden=true] .readabler-ai-popup {
  animation-name: readabler-ai-popup-hide;
  animation-duration: 0.4s;
}
@media (max-width: 440px) {
  #readabler-ai[aria-hidden=true] {
    min-width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
}

@media (max-width: 440px) {
  #readabler-ai .readabler-ai-popup {
    bottom: 0;
    min-width: 100%;
    max-width: 100%;
  }
}
/* Trigger button */
.mdp-readabler-trigger-button-box {
  position: fixed;
  z-index: 99998;
  font-family: var(--readabler-font-family), sans-serif;
  margin: var(--readabler-open-button-margin);
}
.mdp-readabler-trigger-button-box.top-left {
  top: 0;
  left: 0;
}
.mdp-readabler-trigger-button-box.top-right {
  top: 0;
  right: 0;
}
.mdp-readabler-trigger-button-box.left-center {
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
}
.mdp-readabler-trigger-button-box.right-center {
  top: 50%;
  right: 0;
  transform: translate(0%, -50%);
}
.mdp-readabler-trigger-button-box.bottom-left {
  bottom: 0;
  left: 0;
}
.mdp-readabler-trigger-button-box.bottom-center {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0%);
}
.mdp-readabler-trigger-button-box.bottom-right {
  bottom: 0;
  right: 0;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button {
  display: flex;
  align-items: center;
  outline: none;
  padding: var(--readabler-open-button-padding);
  border-radius: var(--readabler-open-button-border-radius);
  font-size: var(--readabler-open-button-icon-size);
  transition: 0.4s ease-in-out all;
  border: none;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button#mdp-readabler-trigger-button span:nth-child(2) {
  padding: calc(var(--readabler-open-button-padding-left) / 2);
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button#mdp-readabler-trigger-button:focus {
  outline: none;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button .mdp-readabler-trigger-button-icon svg {
  width: var(--readabler-open-button-icon-size);
  height: var(--readabler-open-button-icon-size);
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button .mdp-readabler-trigger-button-caption {
  font-size: var(--readabler-open-button-caption-size);
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button:hover, .mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button:focus {
  text-decoration: none;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button .mdp-readabler-button-icon {
  display: flex;
  align-self: center;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button.mdp-icon-position-before {
  flex-direction: row;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button.mdp-icon-position-before span:nth-child(2) {
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button.mdp-icon-position-after {
  flex-direction: row-reverse;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button.mdp-icon-position-after span:nth-child(2) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button.mdp-icon-position-above {
  flex-direction: column;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button.mdp-icon-position-above span:nth-child(2) {
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button.mdp-icon-position-below {
  flex-direction: column-reverse;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button.mdp-icon-position-below span:nth-child(2) {
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button span {
  display: flex;
  transition: all 0.15s linear;
}
.mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button span path {
  transition: all 0.15s linear;
}

.mdp-readabler-trigger-button-box {
  /** Hover animations. */
}
.mdp-readabler-trigger-button-box.mdp-entrance-bounce {
  animation-fill-mode: both;
  animation-name: readabler-bounce;
  animation-duration: 0.6s;
  animation-delay: var(--readabler-btn-delay);
}
.mdp-readabler-trigger-button-box.mdp-entrance-fade {
  animation-fill-mode: both;
  animation-name: readabler-fade;
  animation-duration: 0.6s;
  animation-delay: var(--readabler-btn-delay);
}
.mdp-readabler-trigger-button-box.mdp-entrance-flip-x {
  animation-fill-mode: both;
  animation-name: readabler-flip-x;
  animation-duration: 0.8s;
  animation-delay: var(--readabler-btn-delay);
  backface-visibility: visible !important;
}
.mdp-readabler-trigger-button-box.mdp-entrance-flip-y {
  animation-fill-mode: both;
  animation-name: readabler-flip-y;
  animation-duration: 0.8s;
  animation-delay: var(--readabler-btn-delay);
  backface-visibility: visible !important;
}
.mdp-readabler-trigger-button-box.mdp-entrance-scale {
  animation-fill-mode: both;
  animation-name: readabler-scale;
  animation-duration: 0.4s;
  animation-delay: var(--readabler-btn-delay);
}
.mdp-readabler-trigger-button-box.mdp-entrance-wobble {
  animation-fill-mode: both;
  animation-name: readabler-wobble;
  animation-duration: 0.5s;
  animation-delay: var(--readabler-btn-delay);
  backface-visibility: visible !important;
}
.mdp-readabler-trigger-button-box.mdp-entrance-rotate {
  animation-fill-mode: both;
  animation-name: readabler-rotate;
  animation-duration: 0.8s;
  animation-delay: var(--readabler-btn-delay);
}
.mdp-readabler-trigger-button-box.mdp-hover-bounce button:hover span, .mdp-readabler-trigger-button-box.mdp-hover-fade button:hover span, .mdp-readabler-trigger-button-box.mdp-hover-flip-x button:hover span, .mdp-readabler-trigger-button-box.mdp-hover-flip-y button:hover span, .mdp-readabler-trigger-button-box.mdp-hover-scale button:hover span, .mdp-readabler-trigger-button-box.mdp-hover-rotate button:hover span, .mdp-readabler-trigger-button-box.mdp-hover-wobble button:hover span {
  animation-fill-mode: both;
}
.mdp-readabler-trigger-button-box.mdp-hover-bounce button:hover span:nth-child(2), .mdp-readabler-trigger-button-box.mdp-hover-fade button:hover span:nth-child(2), .mdp-readabler-trigger-button-box.mdp-hover-flip-x button:hover span:nth-child(2), .mdp-readabler-trigger-button-box.mdp-hover-flip-y button:hover span:nth-child(2), .mdp-readabler-trigger-button-box.mdp-hover-scale button:hover span:nth-child(2), .mdp-readabler-trigger-button-box.mdp-hover-rotate button:hover span:nth-child(2), .mdp-readabler-trigger-button-box.mdp-hover-wobble button:hover span:nth-child(2) {
  animation-delay: 0.1s;
}
.mdp-readabler-trigger-button-box.mdp-hover-bounce button:hover span {
  animation-name: readabler-bounce;
  animation-duration: 0.6s;
}
.mdp-readabler-trigger-button-box.mdp-hover-fade button:hover span {
  animation-name: readabler-fade;
  animation-duration: 0.6s;
}
.mdp-readabler-trigger-button-box.mdp-hover-flip-x button:hover span {
  animation-name: readabler-flip-x;
  animation-duration: 0.8s;
  backface-visibility: visible !important;
}
.mdp-readabler-trigger-button-box.mdp-hover-flip-y button:hover span {
  animation-name: readabler-flip-y;
  animation-duration: 0.8s;
  backface-visibility: visible !important;
}
.mdp-readabler-trigger-button-box.mdp-hover-scale button:hover span {
  animation-name: readabler-scale;
  animation-duration: 0.4s;
}
.mdp-readabler-trigger-button-box.mdp-hover-rotate button:hover span {
  animation-name: readabler-rotate;
  animation-duration: 0.5s;
}
.mdp-readabler-trigger-button-box.mdp-hover-wobble button:hover span {
  animation-name: readabler-wobble;
  animation-duration: 0.5s;
  backface-visibility: visible !important;
}

#readabler-ai textarea,
#readabler-ai button {
  all: unset;
}
#readabler-ai textarea:disabled,
#readabler-ai button:disabled {
  cursor: default;
  opacity: 0.5;
  filter: grayscale(0.5);
}
#readabler-ai .readabler-ai-button {
  cursor: pointer;
  display: flex;
  padding: 10px;
  border-radius: 10px;
  z-index: 4;
  transition: all 0.2s ease-in-out;
  outline-color: transparent;
}
#readabler-ai .readabler-ai-button:focus {
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 2px;
  transition: all 0.2s ease-in-out;
}

#readabler-ai .readabler-ai-popup-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1px;
}

#readabler-ai .readabler-ai-reveal {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  width: 10%;
  transition: all 0.4s ease-in-out;
  cursor: grab;
}
#readabler-ai .readabler-ai-reveal:before {
  content: "";
  display: flex;
  width: 100%;
  height: 4px;
  border-radius: var(--readabler-popup-border-radius, 12px);
}
#readabler-ai .readabler-ai-reveal:hover {
  width: 40%;
}

#readabler-ai #readabler-ai-content {
  margin: 0 10px;
  position: relative;
}

#readabler-ai .readabler-ai-toolbar {
  display: flex;
  align-items: center;
  margin: 0 10px -4px 10px;
  border-radius: var(--readabler-popup-border-radius, 12px);
}
#readabler-ai .readabler-ai-toolbar .readabler-ai-toolbar-left {
  display: flex;
  flex-direction: row-reverse;
  flex: 1;
  justify-content: flex-end;
  align-items: normal;
  -moz-column-gap: 10px;
       column-gap: 10px;
  row-gap: 10px;
  padding: 0 0 14px 0;
}
#readabler-ai .readabler-ai-toolbar .readabler-ai-toolbar-right {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  padding: 0 0 14px 0;
}
#readabler-ai .readabler-ai-toolbar .readabler-ai-toolbar-center {
  display: flex;
  justify-content: center;
  padding: 0 0 14px 0;
}
#readabler-ai .readabler-ai-toolbar .readabler-ai-toolbar-center a {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}
#readabler-ai .readabler-ai-toolbar .readabler-ai-toolbar-center a:hover {
  text-decoration: none;
  color: var(--readabler-popup-key-color, rgb(33, 111, 243));
  transition: all 200ms ease-in-out;
}
#readabler-ai .readabler-ai-toolbar .readabler-ai-toolbar-center img {
  display: inline-flex;
  width: 20px;
  height: 20px;
}
#readabler-ai .readabler-ai-toolbar .readabler-ai-toolbar-center .readabler-ai-logo-text {
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
}

#readabler-ai .choices {
  position: relative;
  overflow: hidden;
  font-size: 16px;
  display: inline-flex;
  outline-color: transparent;
  border-radius: var(--readabler-popup-border-radius, 12px);
  min-height: 36px;
}
#readabler-ai .choices > .choices__inner {
  padding: 0 10px;
}
#readabler-ai .choices:focus {
  outline-width: 2px;
  outline-style: solid;
  outline-offset: 2px;
  transition: all 0.2s ease-in-out;
}
#readabler-ai .choices.is-open {
  overflow: visible;
}
#readabler-ai .choices.is-disabled .choices__inner,
#readabler-ai .choices.is-disabled .choices__input {
  cursor: not-allowed;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#readabler-ai .choices.is-disabled .choices__item {
  cursor: not-allowed;
}
#readabler-ai .choices [hidden] {
  display: none !important;
}
#readabler-ai .choices[data-type*=select-one] {
  cursor: pointer;
}
#readabler-ai .choices__inner {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  padding: 10px;
  height: 100%;
  border-radius: var(--readabler-popup-border-radius, 12px);
}
#readabler-ai .choices__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
#readabler-ai .choices__list--single {
  display: inline-block;
  width: 100%;
}
#readabler-ai .choices__list--single .choices__item {
  width: 100%;
}
#readabler-ai .choices__list--dropdown {
  visibility: hidden;
  z-index: 1;
  position: absolute;
  width: 100%;
  min-width: 80px;
  bottom: 100%;
  overflow: hidden;
  will-change: visibility;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  left: 0;
}
#readabler-ai .is-active.choices__list--dropdown {
  visibility: visible;
  z-index: 10;
}
.is-flipped #readabler-ai .choices__list--dropdown {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: -1px;
  border-radius: 0.25rem 0.25rem 0 0;
}
#readabler-ai .choices__list--dropdown .choices__list {
  position: relative;
  max-height: 300px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
}
#readabler-ai .choices__list--dropdown .choices__item {
  position: relative;
  padding: 10px;
  font-size: 14px;
}
@media (min-width: 640px) {
  #readabler-ai .choices__list--dropdown .choices__item--selectable::after {
    content: attr(data-select-text);
    font-size: 12px;
    opacity: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
}
#readabler-ai .choices__list--dropdown .choices__item--selectable.is-highlighted::after {
  opacity: 0.5;
}
#readabler-ai .choices__item {
  cursor: default;
}
#readabler-ai .choices__item--selectable {
  cursor: pointer;
}
#readabler-ai .choices__item--disabled {
  cursor: not-allowed;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  opacity: 0.5;
}
#readabler-ai .choices__heading {
  font-weight: 600;
  font-size: 12px;
  padding: 10px;
}
#readabler-ai .choices__button {
  text-indent: -9999px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
#readabler-ai .choices__button:focus {
  outline: none;
}
#readabler-ai .choices__input {
  display: inline-block;
  vertical-align: baseline;
  font-size: 14px;
  margin-bottom: 5px;
  border: 0;
  border-radius: 0;
  max-width: 100%;
  padding: 4px 0 4px 2px;
}
#readabler-ai .choices__input:focus {
  outline: 0;
}
#readabler-ai .choices__input::-webkit-search-decoration, #readabler-ai .choices__input::-webkit-search-cancel-button, #readabler-ai .choices__input::-webkit-search-results-button, #readabler-ai .choices__input::-webkit-search-results-decoration {
  display: none;
}
#readabler-ai .choices__input::-ms-clear, #readabler-ai .choices__input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}
[dir=rtl] #readabler-ai .choices__input {
  padding-right: 2px;
  padding-left: 0;
}
#readabler-ai .choices__placeholder {
  opacity: 0.5;
}

#readabler-ai .readabler-ai-language-label {
  font-size: 0;
  line-height: 0;
  width: 0;
  padding: 0;
  margin: 0;
}
#readabler-ai .readabler-ai-language {
  display: flex;
  flex-direction: row;
  align-items: center;
  row-gap: 8px;
  -moz-column-gap: 8px;
       column-gap: 8px;
}
#readabler-ai .readabler-ai-language-flag {
  width: 20px;
  height: 20px;
  min-height: 20px;
  min-width: 20px;
  max-height: 20px;
  max-width: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
#readabler-ai .readabler-ai-language-flag img {
  height: 100%;
  max-width: unset;
}
#readabler-ai .readabler-ai-language-code {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  white-space: nowrap;
}
@media (max-width: 320px) {
  #readabler-ai .readabler-ai-language-code {
    display: none;
  }
}

#readabler-ai-visual-interface {
  margin: 10px 0 10px 6px;
  position: relative;
  max-height: 220px;
  overflow-y: auto;
}
#readabler-ai-visual-interface[aria-hidden=true] {
  display: none;
}
#readabler-ai-visual-interface::-webkit-scrollbar-track {
  border-radius: 2px;
  background-color: transparent;
}
#readabler-ai-visual-interface::-webkit-scrollbar {
  width: 10px;
}
#readabler-ai-visual-interface::-webkit-scrollbar-thumb {
  border-radius: 2px;
}
#readabler-ai-visual-interface:focus, #readabler-ai-visual-interface:focus-within, #readabler-ai-visual-interface:focus-visible {
  outline: none;
}
#readabler-ai-visual-interface .readabler-ai-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#readabler-ai-visual-interface .readabler-ai-section:after {
  content: "";
  display: block;
  height: 1px;
  margin: 10px 14px 10px 4px;
}
#readabler-ai-visual-interface .readabler-ai-section:last-of-type:after {
  display: none;
}
#readabler-ai-visual-interface .readabler-ai-section .readabler-ai-section-header {
  display: flex;
  flex-direction: row;
  margin: 4px 0 0 0;
  line-height: 1.5;
}
#readabler-ai-visual-interface .readabler-ai-section .readabler-ai-section-header span {
  font-size: 20px;
  font-weight: 600;
}
#readabler-ai-visual-interface .readabler-ai-section:first-of-type .readabler-ai-section-header {
  margin-top: 0;
}
#readabler-ai-visual-interface .readabler-ai-section > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  -moz-column-gap: 10px;
       column-gap: 10px;
  row-gap: 10px;
  margin: 0 10px 0 0;
  padding: 0 4px;
}
#readabler-ai-visual-interface .readabler-ai-icon {
  display: flex;
  margin-top: 4px;
  width: 24px;
  height: 24px;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
#readabler-ai-visual-interface .readabler-ai-label {
  width: 100%;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  padding: 0 10px;
}

#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-action {
  display: flex;
  position: relative;
  gap: 10px;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-action.size-full {
  width: 100%;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-action.size-half {
  width: calc(50% - 5px);
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-action.size-third {
  width: calc((100% - 20px) / 3);
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-action:hover .readabler-ai-tooltip, #readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-action:focus .readabler-ai-tooltip {
  opacity: 1;
}

#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-spinner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100px;
  border-radius: 8px;
  -moz-column-gap: 4px;
       column-gap: 4px;
  row-gap: 4px;
  overflow: hidden;
  transition: all ease-in-out 0.3s;
  outline-color: transparent;
  position: relative;
  gap: 10px;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-spinner.size-full {
  width: 100%;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-spinner.size-half {
  width: calc(50% - 5px);
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-spinner.size-third {
  width: calc((100% - 20px) / 3);
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-spinner:hover .readabler-ai-tooltip, #readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-spinner:focus .readabler-ai-tooltip {
  opacity: 1;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-spinner:hover {
  transition: all ease-in-out 0.3s;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-spinner:focus-within {
  transition: all ease-in-out 0.3s;
  outline-width: 2px;
  outline-style: solid;
  outline-offset: 2px;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-spinner-form {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 4px;
       column-gap: 4px;
  row-gap: 4px;
  margin-bottom: 10px;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-spinner-form input {
  border: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  opacity: 1;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  max-width: 43%;
  height: 28px;
}

#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-links-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(100% - 40px);
  padding: 20px;
  border-radius: 8px;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-links-form label {
  width: unset;
  display: contents;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-links-form select {
  border-radius: 8px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  margin: 0;
  padding: 0 10px;
  width: 100%;
  background: transparent;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-links-form select:hover {
  transition: all ease-in-out 0.3s;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-links-form select:focus {
  outline-width: 2px;
  outline-style: solid;
  outline-offset: 2px;
}
#readabler-ai-visual-interface .readabler-ai-section > div .readabler-ai-links-form select option {
  font-family: var(--readabler-font-family), sans-serif;
}

#readabler-ai-visual-interface button {
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all ease-in-out 0.3s;
  background-color: transparent;
  outline-color: transparent;
  font-weight: 500;
  z-index: 3;
}
#readabler-ai-visual-interface button:hover {
  transition: all ease-in-out 0.3s;
}
#readabler-ai-visual-interface button:focus {
  transition: all ease-in-out 0.3s;
  outline-width: 2px;
  outline-style: solid;
  outline-offset: 4px;
}
#readabler-ai-visual-interface button.readabler-ai-action-toggle {
  min-height: 100px;
  border-radius: 8px;
  -moz-column-gap: 4px;
       column-gap: 4px;
  row-gap: 4px;
  overflow: hidden;
}
#readabler-ai-visual-interface button.readabler-ai-action-toggle[data-status=true]:after {
  content: "";
  position: absolute;
  display: flex;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  z-index: 4;
  border-radius: 50%;
  box-sizing: border-box;
  opacity: 0.5;
}
#readabler-ai-visual-interface button.readabler-ai-action-toggle[data-status=true]:hover:after {
  opacity: 1;
}
#readabler-ai-visual-interface button.readabler-ai-tooltip {
  position: absolute;
  line-height: 20px !important;
  font-size: 14px;
  font-weight: 500;
  top: 10px;
  right: 10px;
  display: flex;
  cursor: help;
  z-index: 4;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
#readabler-ai-visual-interface button.readabler-ai-tooltip:hover {
  opacity: 1;
}
#readabler-ai-visual-interface button.readabler-ai-tooltip:focus {
  opacity: 1;
}
#readabler-ai-visual-interface button.readabler-ai-spinner-plus, #readabler-ai-visual-interface button.readabler-ai-spinner-minus {
  width: 28px;
  height: 28px;
  min-height: 28px;
  min-width: 28px;
  max-height: 28px;
  max-width: 28px;
  border-radius: 50%;
  background-color: transparent;
  font-size: 28px;
  line-height: 28px;
  padding: 0;
  margin: 0;
  border: none;
}
#readabler-ai-visual-interface button.readabler-ai-spinner-plus:focus, #readabler-ai-visual-interface button.readabler-ai-spinner-minus:focus {
  outline: none;
}

.tippy-box[data-animation=fade][data-state=hidden] {
  opacity: 0;
}

.tippy-box[data-theme~=readabler-ai] {
  font-family: var(--readabler-font-family), sans-serif;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.tippy-box[data-theme~=readabler-ai-menu] {
  border-radius: 8px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  width: 250px;
}

@media (prefers-color-scheme: light) {
  #mdp-readabler-trigger-button {
    color: var(--readabler-button-icon-color-light);
    background: var(--readabler-button-background-color-light);
  }
  #mdp-readabler-trigger-button svg {
    fill: var(--readabler-button-icon-color-light);
  }
  #mdp-readabler-trigger-button:hover {
    color: var(--readabler-button-icon-color-hover-light);
    background: var(--readabler-button-background-color-hover-light);
  }
  #mdp-readabler-trigger-button:hover svg {
    fill: var(--readabler-button-icon-color-hover-light);
  }
  #mdp-readabler-trigger-button:focus, #mdp-readabler-trigger-button:active, #mdp-readabler-trigger-button:focus-visible {
    color: var(--readabler-button-icon-color-focus-light);
    background: var(--readabler-button-background-color-focus-light);
    box-shadow: 0 0 0 3px var(--readabler-button-background-color-focus-light);
  }
  #mdp-readabler-trigger-button:focus svg, #mdp-readabler-trigger-button:active svg, #mdp-readabler-trigger-button:focus-visible svg {
    fill: var(--readabler-button-icon-color-focus-light);
  }
  #readabler-ai.readabler-ai-overlay[aria-hidden=false] {
    background: var(--readabler-overlay-color-light);
  }
  #readabler-ai .readabler-ai-assistant {
    color: var(--readabler-popup-text-color-light);
  }
  #readabler-ai .readabler-ai-button path {
    fill: var(--readabler-popup-text-color-light);
  }
  #readabler-ai .readabler-ai-button:hover {
    background: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
  }
  #readabler-ai .readabler-ai-button:focus {
    outline-color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai .readabler-ai-button:hover path, #readabler-ai .readabler-ai-button:focus path {
    fill: var(--readabler-popup-key-color-light);
  }
  #readabler-ai .readabler-ai-button#readabler-ai-statement-collapse, #readabler-ai .readabler-ai-button#readabler-ai-help-collapse {
    background-image: linear-gradient(180deg, var(--readabler-popup-background-color-light), var(--readabler-popup-background-color-light), transparent);
    color: var(--readabler-popup-text-color-light);
  }
  #readabler-ai .readabler-ai-button#readabler-ai-statement-collapse svg, #readabler-ai .readabler-ai-button#readabler-ai-help-collapse svg {
    fill: var(--readabler-popup-text-color-light);
  }
  #readabler-ai .readabler-ai-button#readabler-ai-statement-collapse:hover, #readabler-ai .readabler-ai-button#readabler-ai-statement-collapse:focus, #readabler-ai .readabler-ai-button#readabler-ai-help-collapse:hover, #readabler-ai .readabler-ai-button#readabler-ai-help-collapse:focus {
    color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai .readabler-ai-popup {
    background: var(--readabler-popup-background-color-light);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
  }
  #readabler-ai .readabler-ai-reveal:before {
    background: #cdcdcd;
  }
  #readabler-ai .readabler-ai-reveal:hover:before {
    background: var(--readabler-popup-text-color-light);
  }
  #readabler-ai #readabler-ai-content label[for=readabler-ai-textarea] {
    color: var(--readabler-popup-background-color-light);
    background: rgba(89, 89, 89, 0.2);
  }
  #readabler-ai #readabler-ai-content #readabler-ai-textarea {
    color: var(--readabler-popup-text-color-light);
  }
  #readabler-ai .readabler-ai-language-code {
    color: var(--readabler-popup-text-color-light);
  }
  #readabler-ai .choices__list.choices__list--dropdown {
    scrollbar-width: thin;
    scrollbar-color: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1)) var(--readabler-popup-background-color-light);
    background: var(--readabler-popup-background-color-light);
  }
  #readabler-ai #readabler-ai-visual-interface::-webkit-scrollbar-thumb {
    background-color: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
  }
  #readabler-ai #readabler-ai-visual-interface:focus::-webkit-scrollbar-track, #readabler-ai #readabler-ai-visual-interface:focus-within::-webkit-scrollbar-track, #readabler-ai #readabler-ai-visual-interface:focus-visible::-webkit-scrollbar-track {
    background-color: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
  }
  #readabler-ai #readabler-ai-visual-interface:focus::-webkit-scrollbar-thumb, #readabler-ai #readabler-ai-visual-interface:focus-within::-webkit-scrollbar-thumb, #readabler-ai #readabler-ai-visual-interface:focus-visible::-webkit-scrollbar-thumb {
    background-color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai #readabler-ai-visual-interface .readabler-ai-section {
    color: var(--readabler-popup-text-color-light);
  }
  #readabler-ai #readabler-ai-visual-interface .readabler-ai-section:after {
    background-color: var(--readabler-color-transparent-25, rgba(33, 150, 243, 0.25));
  }
  #readabler-ai #readabler-ai-visual-interface .readabler-ai-icon {
    background-color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai #readabler-ai-visual-interface .readabler-ai-action-toggle[data-status=true] .readabler-ai-icon {
    background-color: var(--readabler-popup-background-color-light);
  }
  #readabler-ai .readabler-ai-spinner {
    border: 2px solid var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
  }
  #readabler-ai .readabler-ai-spinner:hover {
    background-color: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
    border: 2px solid var(--readabler-popup-key-color-light);
  }
  #readabler-ai .readabler-ai-spinner:hover input {
    color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai .readabler-ai-spinner:focus-within {
    background-color: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
    border: 2px dotted var(--readabler-popup-key-color-light);
    outline-color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai .readabler-ai-spinner:focus-within input {
    color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai .readabler-ai-spinner-form input {
    color: var(--readabler-popup-text-color-light);
  }
  #readabler-ai .readabler-ai-links-form {
    border: 2px solid var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
  }
  #readabler-ai .readabler-ai-links-form select {
    border: 2px solid var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
    color: var(--readabler-popup-text-color-light);
  }
  #readabler-ai .readabler-ai-links-form select:hover {
    background-color: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
    border: 2px solid var(--readabler-popup-key-color-light);
  }
  #readabler-ai .readabler-ai-links-form select:focus {
    border: 2px dotted var(--readabler-popup-key-color-light);
    outline-color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai .readabler-ai-links-form select option {
    color: var(--readabler-popup-text-color-light);
  }
  #readabler-ai button:focus {
    outline-color: var(--readabler-popup-key-color-light);
    color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai button.readabler-ai-action-toggle {
    border: 2px solid var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
  }
  #readabler-ai button.readabler-ai-action-toggle:hover {
    background-color: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
    border: 2px solid var(--readabler-popup-key-color-light);
    color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai button.readabler-ai-action-toggle:focus {
    background-color: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
    border: 2px dotted var(--readabler-popup-key-color-light);
  }
  #readabler-ai button.readabler-ai-action-toggle[data-status=true] {
    background-color: var(--readabler-popup-key-color-light);
    border: 2px solid var(--readabler-popup-key-color-light);
    color: var(--readabler-popup-background-color-light);
  }
  #readabler-ai button.readabler-ai-action-toggle[data-status=true] .readabler-ai-icon {
    background-color: var(--readabler-popup-background-color-light);
  }
  #readabler-ai button.readabler-ai-action-toggle[data-status=true]:after {
    background: var(--readabler-popup-background-color-light);
  }
  #readabler-ai button.readabler-ai-tooltip {
    color: var(--readabler-popup-key-color-light);
    background: var(--readabler-popup-background-color-light);
  }
  #readabler-ai button.readabler-ai-spinner-plus, #readabler-ai button.readabler-ai-spinner-minus {
    color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai button.readabler-ai-spinner-plus:hover, #readabler-ai button.readabler-ai-spinner-plus:focus, #readabler-ai button.readabler-ai-spinner-minus:hover, #readabler-ai button.readabler-ai-spinner-minus:focus {
    background: var(--readabler-popup-key-color-light);
    color: var(--readabler-popup-background-color-light);
  }
  #readabler-ai .choices:hover {
    color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai .choices:focus {
    outline-color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai .choices.is-open {
    color: var(--readabler-popup-key-color-light);
  }
  #readabler-ai .choices.is-disabled .choices__inner,
  #readabler-ai .choices.is-disabled .choices__input {
    background-color: #f9f9f9;
  }
  #readabler-ai .choices .choices__inner:hover {
    background: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
  }
  #readabler-ai .choices .choices__item--selectable.is-highlighted {
    background-color: var(--readabler-color-transparent-15, rgba(33, 150, 243, 0.1));
  }
  #readabler-ai .choices .choices__input {
    background-color: #f9f9f9;
  }
  .tippy-box[data-theme~=readabler-ai] {
    background-color: var(--readabler-popup-background-color-light);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: var(--readabler-popup-text-color-light);
  }
  .tippy-box[data-theme~=readabler-ai-menu] {
    background-color: var(--readabler-popup-background-color-light);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: var(--readabler-popup-text-color-light);
  }
}
@media (prefers-color-scheme: dark) {
  #mdp-readabler-trigger-button {
    color: var(--readabler-button-icon-color-dark);
    background: var(--readabler-button-background-color-dark);
  }
  #mdp-readabler-trigger-button svg {
    fill: var(--readabler-button-icon-color-dark);
  }
  #mdp-readabler-trigger-button:hover {
    color: var(--readabler-button-icon-color-hover-dark);
    background: var(--readabler-button-background-color-hover-dark);
  }
  #mdp-readabler-trigger-button:hover svg {
    fill: var(--readabler-button-icon-color-hover-dark);
  }
  #mdp-readabler-trigger-button:focus, #mdp-readabler-trigger-button:active, #mdp-readabler-trigger-button:focus-visible {
    color: var(--readabler-button-icon-color-focus-dark);
    background: var(--readabler-button-background-color-focus-dark);
    box-shadow: 0 0 0 3px var(--readabler-button-background-color-focus-dark);
  }
  #mdp-readabler-trigger-button:focus svg, #mdp-readabler-trigger-button:active svg, #mdp-readabler-trigger-button:focus-visible svg {
    fill: var(--readabler-button-icon-color-focus-dark);
  }
  #readabler-ai.readabler-ai-overlay[aria-hidden=false] {
    background: var(--readabler-overlay-color-dark);
  }
  #readabler-ai .readabler-ai-assistant {
    color: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai .readabler-ai-button path {
    fill: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai .readabler-ai-button:hover {
    background: var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
  }
  #readabler-ai .readabler-ai-button:focus {
    outline-color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .readabler-ai-button:hover path, #readabler-ai .readabler-ai-button:focus path {
    fill: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .readabler-ai-button#readabler-ai-statement-collapse, #readabler-ai .readabler-ai-button#readabler-ai-help-collapse {
    background-image: linear-gradient(180deg, var(--readabler-popup-background-color-dark), var(--readabler-popup-background-color-dark), transparent);
    color: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai .readabler-ai-button#readabler-ai-statement-collapse svg, #readabler-ai .readabler-ai-button#readabler-ai-help-collapse svg {
    fill: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai .readabler-ai-button#readabler-ai-statement-collapse:hover, #readabler-ai .readabler-ai-button#readabler-ai-statement-collapse:focus, #readabler-ai .readabler-ai-button#readabler-ai-help-collapse:hover, #readabler-ai .readabler-ai-button#readabler-ai-help-collapse:focus {
    color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .readabler-ai-popup {
    background: var(--readabler-popup-background-color-dark);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
  }
  #readabler-ai .readabler-ai-reveal:before {
    background: #5b5b5b;
  }
  #readabler-ai .readabler-ai-reveal:hover:before {
    background: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai #readabler-ai-content label[for=readabler-ai-textarea] {
    color: var(--readabler-popup-background-color-dark);
    background: rgba(224, 224, 224, 0.2);
  }
  #readabler-ai #readabler-ai-content #readabler-ai-textarea {
    color: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai .readabler-ai-language-code {
    color: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai .choices__list.choices__list--dropdown {
    scrollbar-width: thin;
    scrollbar-color: var(--readabler-popup-text-color-dark) var(--readabler-popup-background-color-dark);
    background: var(--readabler-popup-background-color-dark);
  }
  #readabler-ai #readabler-ai-visual-interface::-webkit-scrollbar-thumb {
    background-color: var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
  }
  #readabler-ai #readabler-ai-visual-interface:focus::-webkit-scrollbar-track, #readabler-ai #readabler-ai-visual-interface:focus-within::-webkit-scrollbar-track, #readabler-ai #readabler-ai-visual-interface:focus-visible::-webkit-scrollbar-track {
    background-color: var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
  }
  #readabler-ai #readabler-ai-visual-interface:focus::-webkit-scrollbar-thumb, #readabler-ai #readabler-ai-visual-interface:focus-within::-webkit-scrollbar-thumb, #readabler-ai #readabler-ai-visual-interface:focus-visible::-webkit-scrollbar-thumb {
    background-color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai #readabler-ai-visual-interface .readabler-ai-section {
    color: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai #readabler-ai-visual-interface .readabler-ai-section:after {
    background-color: var(--readabler-color-transparent-25-dark, rgba(107, 159, 247, 0.25));
  }
  #readabler-ai #readabler-ai-visual-interface .readabler-ai-icon {
    background-color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai #readabler-ai-visual-interface .readabler-ai-action-toggle[data-status=true] .readabler-ai-icon {
    background-color: var(--readabler-popup-background-color-dark);
  }
  #readabler-ai .readabler-ai-spinner {
    border: 2px solid var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
  }
  #readabler-ai .readabler-ai-spinner:hover {
    background-color: var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
    border: 2px solid var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .readabler-ai-spinner:hover input {
    color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .readabler-ai-spinner:focus-within {
    background-color: var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
    border: 2px dotted var(--readabler-popup-key-color-dark);
    outline-color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .readabler-ai-spinner:focus-within input {
    color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .readabler-ai-spinner-form input {
    color: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai .readabler-ai-links-form {
    border: 2px solid var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
  }
  #readabler-ai .readabler-ai-links-form select {
    border: 2px solid var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
    color: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai .readabler-ai-links-form select:hover {
    background-color: var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
    border: 2px solid var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .readabler-ai-links-form select:focus {
    border: 2px dotted var(--readabler-popup-key-color-dark);
    outline-color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .readabler-ai-links-form select option {
    color: var(--readabler-popup-text-color-dark);
  }
  #readabler-ai button:focus {
    outline-color: var(--readabler-popup-key-color-dark);
    color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai button.readabler-ai-action-toggle {
    border: 2px solid var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
  }
  #readabler-ai button.readabler-ai-action-toggle:hover {
    background-color: var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
    border: 2px solid var(--readabler-popup-key-color-dark);
    color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai button.readabler-ai-action-toggle:focus {
    background-color: var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
    border: 2px dotted var(--readabler-popup-key-color-dark);
  }
  #readabler-ai button.readabler-ai-action-toggle[data-status=true] {
    background-color: var(--readabler-popup-key-color-dark);
    border: 2px solid var(--readabler-popup-key-color-dark);
    color: var(--readabler-popup-background-color-dark);
  }
  #readabler-ai button.readabler-ai-action-toggle[data-status=true] .readabler-ai-icon {
    background-color: var(--readabler-popup-background-color-dark) !important;
  }
  #readabler-ai button.readabler-ai-action-toggle[data-status=true]:after {
    background: var(--readabler-popup-background-color-dark);
  }
  #readabler-ai button.readabler-ai-tooltip {
    color: var(--readabler-popup-key-color-dark);
    background: var(--readabler-popup-background-color-dark);
  }
  #readabler-ai button.readabler-ai-spinner-plus, #readabler-ai button.readabler-ai-spinner-minus {
    color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai button.readabler-ai-spinner-plus:hover, #readabler-ai button.readabler-ai-spinner-plus:focus, #readabler-ai button.readabler-ai-spinner-minus:hover, #readabler-ai button.readabler-ai-spinner-minus:focus {
    background: var(--readabler-popup-key-color-dark);
    color: var(--readabler-popup-background-color-dark);
  }
  #readabler-ai .choices:hover {
    color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .choices:focus {
    outline-color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .choices.is-open {
    color: var(--readabler-popup-key-color-dark);
  }
  #readabler-ai .choices.is-disabled .choices__inner,
  #readabler-ai .choices.is-disabled .choices__input {
    background-color: #f9f9f9;
  }
  #readabler-ai .choices .choices__inner:hover {
    background: var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
  }
  #readabler-ai .choices .choices__item--selectable.is-highlighted {
    background-color: var(--readabler-color-transparent-15-dark, rgba(107, 159, 247, 0.15));
  }
  #readabler-ai .choices .choices__input {
    background-color: #f9f9f9;
  }
  .tippy-box[data-theme~=readabler-ai] {
    background-color: var(--readabler-popup-background-color-dark);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: var(--readabler-popup-text-color-dark);
  }
  .tippy-box[data-theme~=readabler-ai-menu] {
    background-color: var(--readabler-popup-background-color-dark);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: var(--readabler-popup-text-color-dark);
  }
}
.mdp-readabler-dark-contrast .mdp-readabler-profile-title {
  background: #181818;
  color: #a2e6cc;
  padding: 0 4px;
  border-radius: 4px;
  display: inline;
}
.mdp-readabler-dark-contrast .mdp-readabler-profile-short {
  background: #181818;
  color: #fff;
  padding: 0 4px;
  border-radius: 4px;
}
.mdp-readabler-dark-contrast ::-moz-placeholder {
  color: #d1d1d1;
}
.mdp-readabler-dark-contrast ::placeholder {
  color: #d1d1d1;
}

.mdp-readabler-dark-contrast p,
.mdp-readabler-light-contrast p {
  border-radius: 4px;
}
.mdp-readabler-dark-contrast .mdp-readabler-action-box .mdp-readabler-action-box-content .mdp-readabler-title,
.mdp-readabler-light-contrast .mdp-readabler-action-box .mdp-readabler-action-box-content .mdp-readabler-title {
  padding: 0 4px;
  border-radius: 4px;
}
.mdp-readabler-dark-contrast label.mdp-switch,
.mdp-readabler-light-contrast label.mdp-switch {
  border-radius: 1rem;
}
.mdp-readabler-dark-contrast #mdp-readabler-popup-footer button span,
.mdp-readabler-light-contrast #mdp-readabler-popup-footer button span {
  padding: 0 4px;
  border-radius: 4px;
}
.mdp-readabler-dark-contrast #mdp-readabler-popup-footer .mdp-readabler-statement,
.mdp-readabler-light-contrast #mdp-readabler-popup-footer .mdp-readabler-statement {
  padding: 4px 8px !important;
  border-radius: 4px;
}
.mdp-readabler-dark-contrast .mdp-readabler-subheader h4,
.mdp-readabler-light-contrast .mdp-readabler-subheader h4 {
  padding: 0 8px !important;
  border-radius: 4px;
  display: inline-block;
}
.mdp-readabler-dark-contrast #mdp-readabler-online-dictionary-box label,
.mdp-readabler-light-contrast #mdp-readabler-online-dictionary-box label {
  display: inline-block;
  padding-right: 4px;
  border-radius: 4px;
}

body.mdp-readabler-dark-contrast h1,
body.mdp-readabler-dark-contrast h1 span,
body.mdp-readabler-dark-contrast h2,
body.mdp-readabler-dark-contrast h2 span,
body.mdp-readabler-dark-contrast h3,
body.mdp-readabler-dark-contrast h3 span,
body.mdp-readabler-dark-contrast h4,
body.mdp-readabler-dark-contrast h4 span,
body.mdp-readabler-dark-contrast h5,
body.mdp-readabler-dark-contrast h5 span,
body.mdp-readabler-dark-contrast h6,
body.mdp-readabler-dark-contrast h6 span {
  background-color: #181818 !important;
  color: #a2e6cc !important;
}

body.mdp-readabler-dark-contrast,
body.mdp-readabler-dark-contrast p,
body.mdp-readabler-dark-contrast li,
body.mdp-readabler-dark-contrast label,
body.mdp-readabler-dark-contrast input,
body.mdp-readabler-dark-contrast select,
body.mdp-readabler-dark-contrast textarea,
body.mdp-readabler-dark-contrast legend,
body.mdp-readabler-dark-contrast code,
body.mdp-readabler-dark-contrast pre,
body.mdp-readabler-dark-contrast dd,
body.mdp-readabler-dark-contrast dt,
body.mdp-readabler-dark-contrast span,
body.mdp-readabler-dark-contrast blockquote {
  color: #fff !important;
  background-color: #181818 !important;
}

body.mdp-readabler-dark-contrast a,
body.mdp-readabler-dark-contrast h1 a,
body.mdp-readabler-dark-contrast h2 a,
body.mdp-readabler-dark-contrast h3 a,
body.mdp-readabler-dark-contrast h4 a,
body.mdp-readabler-dark-contrast h5 a,
body.mdp-readabler-dark-contrast h6 a {
  background-color: #181818 !important;
  color: #f7c79b !important;
}

body.mdp-readabler-light-contrast h1,
body.mdp-readabler-light-contrast h1 span,
body.mdp-readabler-light-contrast h2,
body.mdp-readabler-light-contrast h2 span,
body.mdp-readabler-light-contrast h3,
body.mdp-readabler-light-contrast h3 span,
body.mdp-readabler-light-contrast h4,
body.mdp-readabler-light-contrast h4 span,
body.mdp-readabler-light-contrast h5,
body.mdp-readabler-light-contrast h5 span,
body.mdp-readabler-light-contrast h6,
body.mdp-readabler-light-contrast h6 span {
  color: #075F39 !important;
  background-color: #fff !important;
}

body.mdp-readabler-light-contrast,
body.mdp-readabler-light-contrast p,
body.mdp-readabler-light-contrast li,
body.mdp-readabler-light-contrast label,
body.mdp-readabler-light-contrast input,
body.mdp-readabler-light-contrast select,
body.mdp-readabler-light-contrast textarea,
body.mdp-readabler-light-contrast legend,
body.mdp-readabler-light-contrast code,
body.mdp-readabler-light-contrast pre,
body.mdp-readabler-light-contrast dd,
body.mdp-readabler-light-contrast dt,
body.mdp-readabler-light-contrast span,
body.mdp-readabler-light-contrast blockquote {
  color: #27272d !important;
  background-color: #fff !important;
}

body.mdp-readabler-light-contrast a,
body.mdp-readabler-light-contrast h1 a,
body.mdp-readabler-light-contrast h2 a,
body.mdp-readabler-light-contrast h3 a,
body.mdp-readabler-light-contrast h4 a,
body.mdp-readabler-light-contrast h5 a,
body.mdp-readabler-light-contrast h6 a {
  color: #074FBB !important;
  background-color: #fff !important;
}

@media (prefers-color-scheme: dark) {
  .mdp-readabler-light-contrast .mdp-readabler-icon {
    background-color: var(--readabler-popup-key-color-dark) !important;
  }
  .mdp-readabler-light-contrast .mdp-readabler-toggle-box.mdp-active .mdp-readabler-icon {
    background-color: var(--readabler-popup-background-color-dark) !important;
  }
  .mdp-readabler-light-contrast .mdp-readabler-toggle-box.mdp-active span {
    color: var(--readabler-popup-text-color-dark) !important;
  }
}
@media (prefers-color-scheme: light) {
  .mdp-readabler-light-contrast .mdp-readabler-icon {
    background-color: var(--readabler-popup-key-color-light) !important;
  }
  .mdp-readabler-light-contrast .mdp-readabler-toggle-box.mdp-active .mdp-readabler-icon {
    background-color: var(--readabler-popup-background-color-light) !important;
  }
  .mdp-readabler-light-contrast .mdp-readabler-toggle-box.mdp-active span {
    color: var(--readabler-popup-text-color-light) !important;
  }
}
body.mdp-readabler-text-magnifier #mdp-readabler-text-magnifier-tooltip {
  position: fixed;
  padding: 10px 16px;
  border-radius: 12px;
  line-height: 1.45;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  z-index: 99999;
  word-break: break-word;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  font-family: var(--readabler-font-family), sans-serif;
  font-size: var(--readabler-text-magnifier-font-size) !important;
}

@media (prefers-color-scheme: dark) {
  body.mdp-readabler-text-magnifier #mdp-readabler-text-magnifier-tooltip {
    background-color: var(--readabler-text-magnifier-background-color-dark) !important;
    color: var(--readabler-text-magnifier-color-dark) !important;
  }
}
@media (prefers-color-scheme: light) {
  body.mdp-readabler-text-magnifier #mdp-readabler-text-magnifier-tooltip {
    background-color: var(--readabler-text-magnifier-background-color-light) !important;
    color: var(--readabler-text-magnifier-color-light) !important;
  }
}
#readabler-ai .readabler-ai-svg {
  display: flex;
  width: 16px;
  height: 16px;
}

#readabler-ai-action-text-magnifier .readabler-ai-icon {
  -webkit-mask-image: url("../svg/toggles/text-magnifier.svg");
          mask-image: url("../svg/toggles/text-magnifier.svg");
}

#readabler-ai-action-dark-contrast .readabler-ai-icon {
  -webkit-mask-image: url("../svg/toggles/dark-contrast.svg");
          mask-image: url("../svg/toggles/dark-contrast.svg");
}

#readabler-ai-action-light-contrast .readabler-ai-icon {
  -webkit-mask-image: url("../svg/toggles/light-contrast.svg");
          mask-image: url("../svg/toggles/light-contrast.svg");
}