
/* defaluts */

/* awesome icons */

.ze-fa-light, .ze-fas {
  display: inline-block;
  vertical-align: middle;
}

.ze-fa-light::before, .ze-fas::before {
  display: block;
  content: '';
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ze-fa-magnifying-glass::before {
  width: 1em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/magnifying-glass-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/magnifying-glass-light.svg') no-repeat center;
}

.ze-fa-angle-right::before {
  width: 0.6em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/angle-right-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/angle-right-light.svg') no-repeat center;
}

.ze-fa-stars::before {
  width: 1.2em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/stars-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/stars-light.svg') no-repeat center;
}

.ze-fa-hand-back-point-up::before {
  width: 0.9em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/hand-back-point-up-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/hand-back-point-up-light.svg') no-repeat center;
}

.ze-fa-file-lines::before {
  width: 0.8em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/file-lines-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/file-lines-light.svg') no-repeat center;
}

.ze-fa-folder-open::before {
  width: 1.2em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/folder-open-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/folder-open-light.svg') no-repeat center;
}

.ze-fa-pen-to-square::before {
  width: 1em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/pen-to-square-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/pen-to-square-light.svg') no-repeat center;
}

.ze-fa-arrow-right::before {
  width: 0.6em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/arrow-right-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/arrow-right-light.svg') no-repeat center;
}

.ze-fa-circle-question::before {
  width: 1em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/circle-question-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/circle-question-light.svg') no-repeat center;
}

.ze-fa-paper-plane-top::before {
  width: 1.1em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/paper-plane-top-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/paper-plane-top-light.svg') no-repeat center;
}

.ze-fa-arrow-left::before {
  width: 0.6em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/arrow-left-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/arrow-left-light.svg') no-repeat center;
}

.ze-fa-chevron-down::before {
  width: 1em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/chevron-down-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/chevron-down-light.svg') no-repeat center;
}

.ze-fa-spinner::before {
  width: 1em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/spinner-solid.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/spinner-solid.svg') no-repeat center;
}

.ze-fa-list::before {
  width: 1em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/list-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/list-light.svg') no-repeat center;
}

.ze-fa-tag::before {
  width: 1em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/tag-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/tag-light.svg') no-repeat center;
}

.ze-fa-link-horizontal::before {
  width: 1em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/link-horizontal-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/link-horizontal-light.svg') no-repeat center;
}

.ze-fa-check::before {
  width: 1em;
  -webkit-mask: url('https://wiki.ze.io/media/awesome/check-light.svg') no-repeat center;
  mask: url('https://wiki.ze.io/media/awesome/check-light.svg') no-repeat center;
}

:dir(rtl) :is(.ze-fa-angle-right, .ze-fa-paper-plane-top, .ze-fa-arrow-right, .ze-fa-arrow-left)::before {
  transform: scale(-1, 1);
}

.ze-spin-loader {
  width: 11px;
  height: 11px;
  border: 2px solid #007acc;
  border-top-color: transparent;
  border-radius: 100%;
  animation-name: ze-spin;
  animation-duration: 0.75s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  box-sizing: border-box;
}

/* awesome icons */


/* button */

.btnIcon {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s background;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 24px 24px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333333;
  border: unset;
  background: unset;
  padding: 0;
}

.btnIcon:has(span) {
  padding-inline: 10px;
  gap: 6px;
}

.btnIcon.small {
  min-width: 30px;
  min-height: 30px;
  border-radius: 15px;
  font-size: 16px;
}

.btnIcon[disabled] {
  cursor: not-allowed;
}

.btnIcon:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.btnIcon span {
  font-size: 14px;
}

/* button */


/* popup */

.popup-wrap {
  position: fixed;
  display: flex;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  inset-inline: 0;
  backdrop-filter: blur(3px);
  justify-content: center;
  padding: 30px 0;
  box-sizing: border-box;
  align-items: flex-start;
  animation-name: opacity-fade-in;
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
  animation-fill-mode: forwards;
  z-index: 999;
}

html:has(.popup-wrap:not([style*="display: none"]):not([style*="display:none"])) {
  overflow: hidden;
  padding-inline-end: 15px;
}

.popup-wrap.closing {
  animation-name: ze-ze-opacity-fade-in;
}

.popup-close-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  inset-inline: 0;
  z-index: -1;
}

.popup {
  opacity: 0;
  position: relative;
  width: calc(100% - 60px);
  max-height: 100%;
  max-width: 800px;
  border-top: none;
  z-index: 99;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  background: white;
  box-sizing: border-box;
  border-radius: 10px;
  color: #3e3e3e;
  box-shadow: rgba(0, 0, 0, 0.20) 0px 14px 28px, rgba(0, 0, 0, 0.18) 0px 10px 10px;
  overflow: hidden;
  animation-name: popup-anim;
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
  animation-fill-mode: forwards;
}

.popup-wrap.closing .popup {
  animation-name: popup-anim-close;
}

@keyframes popup-anim {
  0% {
    opacity: 0;
    transform: translate3d(0px, -20px, 0px);
    pointer-events: none;
  }
  100% {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
    pointer-events: auto;
  }
}

@keyframes popup-anim-close {
  0% {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
    pointer-events: auto;
  }
  100% {
    opacity: 0;
    transform: translate3d(0px, -20px, 0px);
    pointer-events: none;
  }
}

/* popup */


/* anims */

@keyframes opacity-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes ze-ze-opacity-fade-in {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes ze-slide-in {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes ze-slide-out {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes ze-spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);    
  }
}

/* anims */

/* END defaluts */

html:has(.ze-wiki-container) {
  scroll-behavior: smooth;
}

.ze-wiki-container {
  display: flex;
  width: 100%;
  min-height: 800px;
  box-sizing: border-box;
  overflow: hidden;
}

.ze-wiki-page-content {
  width: 33.33%;
  flex-grow: 1;
}

.ze-wiki-title-link {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-inline-start: 6px;
  font-size: 20px;
  cursor: pointer;
  visibility: hidden;
}

:is(h2, h3):hover > .ze-wiki-title-link {
  visibility: visible;
}

.ze-wiki-title-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.ze-wiki-title-link:has(.ze-fa-check) {
  background: rgba(0, 128, 0, 0.1);
  color: green;
}

/* nav */

header {
  position: relative;
  z-index: 200;
}

:root {
  --ze-wiki-top-position: 50px;
  --ze-wiki-outside-scroll: 0px;
}

.ze-wiki-nav-wrap .popup-close-background {
  display: none;
}

.ze-wiki-nav-sidebar {
  position: fixed;
  width: 33.33%;
  max-width: 460px;
  min-width: 250px;
  height: calc(100vh - var(--ze-wiki-outside-scroll));
  background: white;
  border-inline-end: 1px solid #ddd;
  padding-top: var(--ze-wiki-top-position);
  top: 0;
  inset-inline-start: 0;
  box-sizing: border-box;
}

.ze-wiki-nav {
  width: 100%;
  height: 100%;
  padding: 20px 30px;
  box-sizing: border-box;
  overflow-y: auto;
}

.ze-wiki-nav-title {
  position: absolute;
  display: none;
  writing-mode: tb-rl;
  transform: rotate(-180deg); 
  color: #a0a0aa;
  font-size: 13px;
  top: calc(var(--ze-wiki-top-position) + 30px);
  inset-block: 0;
  align-items: center;
}

.ze-wiki-nav-skeleton {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #f9f9f9;
  top: var(--ze-wiki-top-position);
  inset-inline: 0;
  padding: 20px 30px;
  box-sizing: border-box;
  z-index: 1;
}

.ze-wiki-nav-skeleton-item {
  width: 100%;
  height: 1.2em;
  padding: 8px 0;
}

.ze-wiki-nav-skeleton-item::before {
  content: '';
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: darkgray;
  background: linear-gradient(to right, #eeeeee 10%, #dddddd 18%, #eeeeee 33%);
  background-size: 800px 104px;
}

.ze-wiki-nav-toggle {
  position: absolute;
  display: flex;
  width: 26px;
  height: 30px;
  background: white;
  border: 1px solid #dddddd;
  border-start-end-radius: 9px;
  border-end-end-radius: 9px;
  cursor: pointer;
  font-size: 20px;
  top: calc(var(--ze-wiki-top-position) + 30px);
  inset-inline-start: 100%;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 100;
}

.ze-wiki-nav-toggle.mobile {
  position: fixed;
  width: 34px;
  height: 34px;
  display: none;
  top: calc(var(--ze-wiki-top-position) + 100px);
  inset-inline-start: 0;
  font-size: 16px;
  padding-inline-end: 5px;
}

.ze-wiki-nav-folder-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ze-wiki-nav-article-list {
  display: none;
  list-style: none;
  margin: 0;
  margin-inline-start: 6px;
  padding-inline-start: 16px;
  border-inline-start: 1px solid #c1c1c1;
}

.ze-wiki-nav-folder.active > .ze-wiki-nav-article-list {
  display: block;
}

.ze-wiki-nav-folder-title {
  display: flex;
  padding: 8px 0;
  width: 100%;
  text-align: start;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.ze-wiki-nav-folder-title:hover,
.ze-wiki-nav-folder-title.ze-wiki-nav-curr-page {
  color: #007acc;
}

.ze-wiki-nav-folder-arrow {
  display: flex;
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: -2px;
  align-items: center;
  justify-content: center;
}

.ze-wiki-nav-folder-arrow::before {
  width: 1em;
}

.ze-wiki-nav-folder-icon {
  width: 15px;
  height: 15px;
}

.ze-wiki-nav-folder-link {
  color: currentColor;
  text-decoration: unset;
  cursor: pointer;
}

.ze-wiki-nav-folder-link:hover {
  border-bottom: unset;
  color: currentColor;
}

/*.ze-wiki-nav-folder-title.ze-wiki-nav-curr-page > .ze-wiki-nav-folder-link {*/
/*  pointer-events: none;*/
/*}*/

.ze-wiki-nav-folder.active > .ze-wiki-nav-folder-title > .ze-wiki-nav-folder-arrow {
  transform: rotate(90deg);
}

:dir(rtl) .ze-wiki-nav-folder.active > .ze-wiki-nav-folder-title > .ze-wiki-nav-folder-arrow {
  transform: rotate(-90deg);
}

.ze-wiki-nav-article {
  display: flex;
  padding: 8px 0;
  gap: 12px;
  color: #333;
  text-decoration: unset;
  cursor: pointer;
}

/*.ze-wiki-nav-article {*/
/*  display: flex;*/
/*  padding: 8px 0;*/
/*  gap: 10px;*/
/*  color: #333;*/
/*  text-decoration: unset;*/
/*  cursor: pointer;*/
/*  padding-left: 21px;*/
/*}*/

.ze-wiki-nav-article:hover,
.ze-wiki-nav-article-item.ze-wiki-nav-curr-page > .ze-wiki-nav-article {
  color: #007acc;
  border-bottom: unset;
}

/*.ze-wiki-nav-article-item.ze-wiki-nav-curr-page > .ze-wiki-nav-article {*/
/*  pointer-events: none;*/
/*}*/

.ze-wiki-nav-article-icon {
  margin: 0.1em 0;
}

.ze-wiki-nav-article-icon::before {
  width: 1em;
}

@media (min-width: 901px) {
  .ze-wiki-nav-wrap {
    width: 33.33%;
    max-width: 460px;
    min-width: 250px;
  }
  
  .ze-wiki-nav-wrap:has(.ze-wiki-nav-sidebar.closed),
  .ze-wiki-nav-sidebar.closed {
    width: 80px;
    min-width: unset;
  }
  
  .ze-wiki-nav-sidebar.closed .ze-wiki-nav-skeleton {
    visibility: hidden;
  }
  
  .ze-wiki-nav-sidebar.closed .ze-wiki-nav {
    visibility: hidden;
  }
  
  .ze-wiki-nav-sidebar.closed .ze-wiki-nav-title {
    display: flex;
  }
  
  .ze-wiki-nav-toggle i {
    transform: scale(-1, 1);
  }
  
  .ze-wiki-nav-sidebar.closed .ze-wiki-nav-toggle i {
    transform: unset;
  }
}

@media (max-width: 900px) {
  .ze-wiki-nav-toggle.mobile {
    display: flex;
  }
  
  .ze-wiki-nav-wrap {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    inset-inline: 0;
    z-index: 999;
  }
  
  .ze-wiki-nav-wrap .popup-close-background {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    animation-name: opacity-fade-in;
    animation-duration: 0.3s;
    animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
    animation-fill-mode: forwards;
  }
  
  .ze-wiki-nav-wrap.closing .popup-close-background {
    animation-name: ze-ze-opacity-fade-in;
  }
  
  .ze-wiki-nav-wrap .popup-close-background {
    display: block;
  }
  
  .ze-wiki-nav-wrap.active {
    display: block;
  }
  
  .ze-wiki-nav-skeleton {
    top: 0;
  }
  
  .ze-wiki-nav-sidebar {
    position: absolute;
    width: calc(100% - 150px);
    max-width: 450px;
    padding-top: 0;
    animation-name: ze-slide-in;
    animation-duration: 0.3s;
    animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
    animation-fill-mode: forwards;
  }
  
  .ze-wiki-nav-wrap.closing .ze-wiki-nav-sidebar {
    animation-name: ze-slide-out;
  }
  
  .ze-wiki-nav-sidebar .ze-wiki-nav-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  .ze-wiki-nav {
    padding: 13px 20px;
  }
  
  .ze-wiki-nav-sidebar {
    max-width: calc(100% - 70px);
  }
}
 
/* nav */



/* outline */

.ze-wiki-outline-sidebar {
  position: fixed;
  width: 33.33%;
  max-width: 460px;
  min-width: 250px;
  height: calc(100vh - var(--ze-wiki-outside-scroll));
  background: white;
  border-inline-start: 1px solid #ddd;
  padding-top: var(--ze-wiki-top-position);
  top: 0;
  inset-inline-end: 0;
  box-sizing: border-box;
  color: #3c3c3c;
}

.ze-wiki-outline-title {
  padding: 20px 30px;
  padding-bottom: 0;
}

.ze-wiki-outline {
  width: 100%;
  height: 100%;
  padding: 20px 30px;
  padding-top: 10px;
  box-sizing: border-box;
  overflow-y: auto;
}

.ze-wiki-outline-item {
  border-inline-start: 2px solid #dddddd;
  padding-inline-start: 10px;
}

.ze-wiki-outline-item.ze-wiki-outline-item-curr {
  border-color: #007acc;
}

.ze-wiki-outline-item-title {
  display: flex;
  padding: 8px 0;
  width: 100%;
  text-align: start;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.ze-wiki-outline-item.ze-wiki-outline-item-curr .ze-wiki-outline-item-title {
  color: #007acc;
}

.ze-wiki-outline-item-arrow {
  display: flex;
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: -2px;
  align-items: center;
  justify-content: center;
}

.ze-wiki-outline-item.active .ze-wiki-outline-item-arrow {
  transform: rotate(90deg);
}

:dir(rtl) .ze-wiki-outline-item.active .ze-wiki-outline-item-arrow {
  transform: rotate(-90deg);
}

.ze-wiki-outline-item-arrow::before {
  width: 1em;
}

.ze-wiki-outline-item-title a {
  text-decoration: unset;
  color: currentColor;
}

.ze-wiki-outline-sub-items {
  display: none;
}

.ze-wiki-outline-item.active > .ze-wiki-outline-sub-items {
  display: block;
}

.ze-wiki-outline-sub-item {
  display: flex;
  margin-inline-start: 6px;
  padding: 8px 0;
  padding-inline-start: 25px;
  width: 100%;
  text-align: start;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: unset;
  color: currentColor;
  box-sizing: border-box;
  border-inline-start: 2px solid #dddddd;
}

.ze-wiki-outline-sub-item.ze-wiki-outline-item-curr {
  color: #007acc;
  border-color: #007acc;
}

.ze-wiki-outline-toggle {
  position: absolute;
  display: flex;
  width: 26px;
  height: 30px;
  background: white;
  border: 1px solid #dddddd;
  border-end-start-radius: 9px;
  border-start-start-radius: 9px;
  cursor: pointer;
  font-size: 20px;
  top: calc(var(--ze-wiki-top-position) + 30px);
  inset-inline-end: 100%;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 100;
}

.ze-wiki-outline-toggle.mobile {
  position: fixed;
  width: 34px;
  height: 34px;
  display: none;
  top: calc(var(--ze-wiki-top-position) + 100px);
  inset-inline-end: 0;
  font-size: 16px;
  padding-inline-start: 1px;
  border-inline-end: 0;
}

@media (min-width: 1301px) {
  .ze-wiki-outline-wrap {
    width: 33.33%;
    max-width: 460px;
    min-width: 250px;
  }
  
  .ze-wiki-outline-wrap:has(.ze-wiki-outline-sidebar.closed),
  .ze-wiki-outline-sidebar.closed {
    width: 80px;
    min-width: unset;
  }
  
  .ze-wiki-outline-sidebar.closed .ze-wiki-outline {
    visibility: hidden;
  }
  
  .ze-wiki-outline-sidebar.closed .ze-wiki-outline-title {
    writing-mode: tb-rl;
    color: #a0a0aa;
  }
  
  .ze-wiki-outline-sidebar.closed .ze-wiki-outline-title span {
    transform: rotate(-180deg);
  }
  
  .ze-wiki-outline-sidebar.closed .ze-wiki-outline-toggle i {
    transform: scale(-1, 1);
  }
}

@media (max-width: 1300px) {
  .ze-wiki-outline-toggle.mobile {
    display: flex;
  }
  
  .ze-wiki-outline-wrap {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    inset-inline: 0;
    z-index: 999;
  }
  
  .ze-wiki-outline-wrap .popup-close-background {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    animation-name: opacity-fade-in;
    animation-duration: 0.3s;
    animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
    animation-fill-mode: forwards;
  }
  
  .ze-wiki-outline-wrap.closing .popup-close-background {
    animation-name: ze-ze-opacity-fade-in;
  }
  
  .ze-wiki-outline-wrap .popup-close-background {
    display: block;
  }
  
  .ze-wiki-outline-wrap.active {
    display: block;
  }
  
  .ze-wiki-outline-skeleton {
    top: 0;
  }
  
  .ze-wiki-outline-sidebar {
    position: absolute;
    width: calc(100% - 150px);
    max-width: 450px;
    padding-top: 0;
    animation-name: ze-slide-in;
    animation-duration: 0.3s;
    animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
    animation-fill-mode: forwards;
    inset-inline-end: unset;
    inset-inline-start: 0;
  }
  
  .ze-wiki-outline-wrap.closing .ze-wiki-outline-sidebar {
    animation-name: ze-slide-out;
  }
  
  .ze-wiki-outline-sidebar .ze-wiki-outline-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  .ze-wiki-nav {
    padding: 13px 20px;
  }
  
  .ze-wiki-nav-sidebar {
    max-width: calc(100% - 70px);
  }
}

/* outline */


/* ai */

.ai-chat {
  min-height: 400px;
}

.ai-chat-head-wrap {
  padding: 15px;
  padding-bottom: 10px;
}

.ai-chat-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccd5e1;
}

.ai-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
  overflow-y: auto;
  padding: 0 25px;
}

.ai-chat-messages::-webkit-scrollbar-track
{
  background-color: #F5F5F5;
}

.ai-chat-messages::-webkit-scrollbar
{
  width: 6px;
  background-color: #F5F5F5;
}

.ai-chat-messages::-webkit-scrollbar-thumb
{
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
}

.autocomplete-items .ai-chat-message-wrap {
  padding-block: 10px;
}

.ai-chat-message {
  position: relative;
  display: flex;
  background: #4888eee3;
  padding: 15px 20px;
  border-radius: 10px;
  color: white;
  text-align: start;
  gap: 8px;
  flex-direction: column;
}

.ai-chat-message-wrap.transparent .ai-chat-message {
  background: unset;
  padding-block: 0;
  color: unset;
}

.ai-chat-message:has(.ai-chat-message-icon) {
  padding-inline-end: 50px;
}

.ai-chat-message-title {
  display: flex;
  font-size: 16px;
  line-height: 1.375;
  align-items: flex-start;
  gap: 4px;
}

.ai-chat-message-title-icon {
  display: flex;
  width: 22px;
  height: 22px;
  font-size: 19px;
  margin-inline-end: 4px;
  justify-content: center;
  align-items: center;
}

.ai-chat-message-title .text {
  width: 100%;
  flex-grow: 1;
}

.ai-chat-message-loading {
  font-style: italic;
  font-size: 14px;
}

.ai-chat-message-loading-anim {
  display: inline-block;
  vertical-align: middle;
  width: 5px;
  height: 15px;
  background: currentColor;
  animation: loading-anim 0.75s steps(1, end) infinite;
  margin-inline-end: 4px;
}

@keyframes loading-anim {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.ai-chat-message-text {
  font-size: 14px;
  line-height: 1.4;
}

.ai-chat-message-text-link {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 100%;
  text-align: center;
  font-size: 11px;
  line-height: 16px;
  vertical-align: middle;
  cursor: pointer;
  margin: 0 2px;
}

.ai-chat-message-text-link:hover {
  background: #4888ee96;
}

.ai-chat-message-icon {
  position: absolute;
  top: 50%;
  inset-inline-end: 20px;
  font-size: 22px;
  transform: translateY(-50%) !important;
}

.search-input-wrap {
  padding: 15px;
}

.search-input {
  display: flex;
  min-height: 40px;
  background: rgba(0, 0, 0, 0.0125);
  padding: 4px 5px;
  align-items: center;
  border: 1px solid #ccd5e1;
  border-radius: 40px;
  box-sizing: border-box;
}

.search-input.search {
  background: #f7f7f7;
}

.search-input.search:has(input:focus) {
  background: white;
  outline: 2px solid #4888eee3;
}

.search-input-icon {
  display: flex;
  width: 30px;
  height: 30px;
  color: #4888ee;
  font-size: 18px;
  align-items: center;
  justify-content: center;
}

.search-input-icon.ze-fa-magnifying-glass {
  font-size: 16px;
}

.ai-chat-message .search-input {
  background: white;
  padding-inline: 5px;
  border-radius: 5px;
  margin-top: 20px;
  border: unset;
}

.search-input-button {
  color: #4888ee;
  padding-inline-start: 2px;
}

.ai-chat-message .search-input-button {
  color: #255eba;
}

.search-input input {
  background: unset;
  border: unset;
  flex-grow: 1;
  padding: 0 5px;
  font-size: 15px;
  align-self: stretch;
  outline: unset;
}

.ai-chat-message .search-input input {
  padding: 0 10px;
}

/* ai */


/* autocomplete */

.autocomplete {
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.autocomplete-items {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
  padding-bottom: 15px;
  padding-inline: 25px;
}

.autocomplete-items::-webkit-scrollbar-track
{
  background-color: unset;
}

.autocomplete-items::-webkit-scrollbar
{
  width: 6px;
  background-color: unset;
  border-radius: 2px;
}

.autocomplete-items::-webkit-scrollbar-thumb
{
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.autocomplete-item, contactSearch {
  padding: 12px 20px;
  cursor: pointer;
  background-color: #fff;
  text-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-radius: 10px;
  transition: 0.2s background;
}

.search-no-results {
  text-align: center;
}

.search-contact-us {
  text-decoration: underline;
  cursor: pointer;
}

.autocomplete-item__title {
  color: #0065ff;
  font-weight: bold;
  font-size: 16px;
}

.autocomplete-item__path {
  color: #70707a;
}

.autocomplete-item__text {
  color: #18181b;
  font-size: 13px;
  word-wrap: break-word;


  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis

}

.autocomplete-item:hover {
  background-color: #ededed;
}

.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.GrayText {
  color: #666;
}

/* autocomplete */



/* skeleton */

@keyframes placeHolderShimmer{
  0%{
      background-position: -468px 0
  }
  100%{
      background-position: 468px 0
  }
}

/* skeleton */


/* main */

.zeWiki--index__rootFolders a {
  word-break: word-break;
}

/* main */
