@import url('question.css');
@import url('act-btns.css');
@import url('floating-widget.css');

/* variables */
:root {
  --t3as-primary-color: #f2f1f1;
  --t3as-secondary-color: #d5d4d4;
  --t3as-text-color: #000;
  --t3as-gray-color: #b0b0b0;
  --t3as-light-gray-color: #f4f8fb;
  --t3as-medium-gray-color: #e7ecea;
  --t3as-dark-gray-color: #666;
  --t3as-error-color: #dc3545;
  --t3as-icon-size-small: 16px;
  --t3as-icon-size: 20px;
  --t3as-icon-size-medium: 32px;
  --t3as-icon-size-large: 48px;
  --t3as-icon-size-mega: 64px;
  --t3as-speech-highlight-bg: rgba(37, 99, 235, 0.38);
}

.tx-ns-t3as .icon {
  color: inherit;
  display: inline-flex;
  flex-shrink: 0;
  position: relative;
  white-space: nowrap;
}

.ns-t3as-main-wrap,
.ns-t3as-main-wrap *,
.ns-t3as-main-wrap *:before,
.ns-t3as-main-wrap *:after {
  box-sizing: border-box;
}

.tx-ns-t3as.ns-t3as-search--with-style .icon {
  color: var(--t3as-text-color, #000);
}

.tx-ns-t3as .icon.icon-size-small {
  --t3as-icon-size: var(--t3as-icon-size-small);
}

.tx-ns-t3as .icon.icon-size-medium {
  --t3as-icon-size: var(--t3as-icon-size-medium);
}

.tx-ns-t3as .icon.icon-size-large {
  --t3as-icon-size: var(--t3as-icon-size-large);
}

.tx-ns-t3as button,
.tx-ns-t3as a {
  outline: 2px dashed transparent !important;
  outline-offset: 2px;
}

.tx-ns-t3as button:focus-visible,
.tx-ns-t3as a:focus-visible {
  outline-color: inherit !important;
}

.t3as-flex {
  display: flex;
}

.t3as-flex-center {
  align-items: center;
}

.t3as-flex-wrap {
  flex-wrap: wrap;
}

.t3as-flex-nowrap {
  flex-wrap: nowrap;
}

.t3as-flex-column {
  flex-direction: column;
}

.t3as-flex-column-reverse {
  flex-direction: column-reverse;
}

.t3as-flex-row {
  flex-direction: row;
}

.t3as-flex-row-reverse {
  flex-direction: row-reverse;
}

.t3as-justify-center {
  justify-content: center;
}

.t3as-justify-end {
  justify-content: flex-end;
}

.t3as-justify-start {
  justify-content: flex-start;
}

.t3as-justify-between {
  justify-content: space-between;
}

.t3as-absolute-center-horizontal,
.t3as-absolute-center,
.t3as-absolute-full {
  position: absolute;
}

.t3as-absolute-center-horizontal {
  left: 50%;
  transform: translateX(-50%);
}

.t3as-absolute-center {
  top: 50%;
  transform: translateY(-50%);
}

.t3as-absolute-full,
.t3as-fixed-full {
  bottom: 0;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
}

.t3as-fixed-full {
  position: fixed;
}

.ns-t3as-full-width {
  padding-left: 20px;
  padding-right: 20px;
}

.tx-ns-t3as-search {
  margin-bottom: 40px;
  padding: 40px 0;
  position: relative;
}

.ns-t3as-search-box {
  position: relative;
}

.ns-t3as-search-box,
.ns-t3as-search-form,
.ns-t3as-search-box__inner {
  position: relative;
  width: 100%;
}

.ns-t3as-search-form {
  align-items: center;
  overflow: visible;
}

.ns-t3as-search-box__inner,
.ns-t3as-recent-search-wrap {
  background-color: #f4f8fb;
  border-radius: 25px;
  flex-wrap: wrap;
  padding: 15px;
}

.ns-t3as-search--with-style .ns-t3as-container {
  margin: 0 auto;
  max-width: 1200px;
}

.ns-t3as-search--with-style .ns-t3as-search-form .ns-t3as-search-form__input {
  border: 1px solid var(--t3as-medium-gray-color);
  box-shadow: none;
  color: var(--t3as-text-color);
  font-size: 16px;
  max-width: 100%;
}

.ns-t3as-search-form .ns-t3as-search-form__input {
  border-radius: 25px;
  padding: 10px 50px 10px 20px;
  transition: all 0.3s ease 0s;
  width: 100%;
}

.ns-t3as-search-form__input::placeholder {
  color: var(--t3as-gray-color);
}

.ns-t3as-search-form__input::-webkit-input-placeholder {
  color: var(--t3as-gray-color);
}

.ns-t3as-search-form__input::-moz-placeholder {
  color: var(--t3as-gray-color);
}

.ns-t3as-search--with-style .ns-t3as-search-form__input::placeholder {
  color: var(--t3as-text-color);
  opacity: 0.5;
}

.ns-t3as-search--with-style .ns-t3as-search-form__input::-webkit-input-placeholder {
  color: var(--t3as-text-color);
  opacity: 0.5;
}

.ns-t3as-search--with-style .ns-t3as-search-form__input::-moz-placeholder {
  color: var(--t3as-text-color);
  opacity: 0.5;
}

.ns-t3as-search-form__icon {
  left: 15px;
}

.ns-t3as-search-form__icon,
.ns-t3as-search-form__icon .icon,
.ns-t3as-search-form__icon span {
  line-height: 20px;
}

.ns-t3as-search-form__icon svg {
  color: var(--t3as-gray-color);
  max-width: 16px;
  transition: color 0.3s ease 0s;
}

.ns-t3as-search--with-style .ns-t3as-search-form__icon svg {
  color: var(--t3as-text-color);
}

.ns-t3as-search-form--with-btn .ns-t3as-search-form__input {
  padding-right: 145px;
}

.ns-t3as-search-form--no-btn .ns-t3as-search-form__input {
  padding-left: 40px;
  padding-right: 80px;
}

.ns-t3as-search-form__input.is-listening::placeholder {
  color: var(--t3as-secondary-color);
  opacity: 1;
}

.ns-t3as-search--with-style .ns-t3as-search-form__input.is-listening::placeholder {
  color: var(--t3as-secondary-color);
  opacity: 1;
}

.ns-t3as-search--with-style .ns-t3as-search-form .ns-t3as-search-form__input:focus {
  border-color: var(--t3as-dark-gray-color);
  box-shadow: none;
  outline: none;
}

.ns-t3as-search-form__input:focus ~ .ns-t3as-search-form__icon svg {
  color: inherit;
}

.ns-t3as-search--with-style .ns-t3as-search-form__input:focus ~ .ns-t3as-search-form__icon svg {
  color: var(--t3as-text-color);
}

.ns-t3as-search--with-style .ns-t3as-btn {
  background: var(--t3as-primary-color);
  border: 0;
  border-radius: 20px;
  color: var(--t3as-text-color);
  padding: 7px 25px;
  transition: all 0.3s ease 0s;
}

.ns-t3as-search-form .ns-t3as-search-form__button {
  align-items: center;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  display: inline-flex;
  height: 100%;
  justify-content: center;
  min-width: 45px;
  padding: 5px 25px;
}

.ns-t3as-search-form__button.ns-t3as-act-btn--disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.ns-t3as-search-form__button .icon {
  width: auto;
}

.ns-t3as-search--with-style .ns-t3as-btn:hover {
  background: var(--t3as-secondary-color);
}

.ns-t3as-search-ai-result-wrap {
  margin-bottom: 20px;
  margin-top: 20px;
  position: relative;
}

.ns-t3as-search-key-features__inner {
  max-height: 0;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

.ns-t3as-search-key-features__inner.show {
  max-height: 1000px;
  opacity: 1;
}

.ns-t3as-search-key-feature-block {
  margin-bottom: 20px;
}

.ns-t3as-search-key-feature-block:last-child {
  margin-bottom: 0;
}

.ns-t3as-search-key-feature-block strong {
  display: block;
  line-height: normal;
  margin-bottom: 0;
}

.ns-t3as-border-square input,
.ns-t3as-border-square textarea,
.ns-t3as-border-square button,
.ns-t3as-border-square .ns-t3as-btn,
.ns-t3as-border-square .btn,
.ns-t3as-border-square .ns-t3as-recent-search-wrap,
.ns-t3as-border-square .ns-t3as-recent-search-inner,
.ns-t3as-border-square .t3as-recent-search-lists a,
.ns-t3as-border-square .ns-t3as-search-box__inner,
.ns-t3as-border-square .ns-t3as-search-results-link,
.ns-t3as-border-square .ns-t3as-search-results-wrap,
.ns-t3as-border-square .ns-t3as-search-form__input {
  border-radius: 0;
}

.ns-t3as-border-medium-rounded input,
.ns-t3as-border-medium-rounded textarea,
.ns-t3as-border-medium-rounded button,
.ns-t3as-border-medium-rounded .ns-t3as-btn,
.ns-t3as-border-medium-rounded .btn,
.ns-t3as-border-medium-rounded .ns-t3as-recent-search-wrap,
.ns-t3as-border-medium-rounded .ns-t3as-recent-search-inner,
.ns-t3as-border-medium-rounded .t3as-recent-search-lists a,
.ns-t3as-border-medium-rounded .ns-t3as-search-box__inner,
.ns-t3as-border-medium-rounded .ns-t3as-search-results-link,
.ns-t3as-border-medium-rounded .ns-t3as-search-results-wrap,
.ns-t3as-border-medium-rounded .ns-t3as-search-form__input {
  border-radius: 10px;
}

.ns-t3as-border-semi-rounded input,
.ns-t3as-border-semi-rounded textarea,
.ns-t3as-border-semi-rounded button,
.ns-t3as-border-semi-rounded .ns-t3as-btn,
.ns-t3as-border-semi-rounded .btn,
.ns-t3as-border-semi-rounded .ns-t3as-recent-search-wrap,
.ns-t3as-border-semi-rounded .t3as-recent-search-lists a,
.ns-t3as-border-semi-rounded .ns-t3as-search-box__inner,
.ns-t3as-border-semi-rounded .ns-t3as-recent-search-inner,
.ns-t3as-border-semi-rounded .ns-t3as-search-results-link,
.ns-t3as-border-semi-rounded .ns-t3as-search-results-wrap,
.ns-t3as-border-semi-rounded .ns-t3as-search-form__input {
  border-radius: 4px;
}

.ns-t3as-more-link {
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
}

.ns-t3as-more-link:hover {
  text-decoration: none;
}

.ns-t3as-search-key-less-text {
  display: none;
}

.ns-t3as-search-key-more > span,
.ns-t3as-act-btn svg {
  pointer-events: none;
}

.ns-t3as-search-key-more--active .ns-t3as-search-key-more-text {
  display: none;
}

.ns-t3as-search-key-more--active .ns-t3as-search-key-less-text {
  display: block;
}

.ns-t3as-recent-search-wrap {
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 10px);
  transition: all 0.3s ease 0s;
  width: 100%;
  z-index: 1;
}

.ns-t3as-recent-search-inner {
  background: #fff;
  border: 1px solid var(--t3as-medium-gray-color);
  border-radius: 25px;
  padding: 15px 10px 10px;
}

.ns-t3as-recent-search-wrap--active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.ns-t3as-recent-search-title {
  color: currentColor;
  padding-left: 12px;
}

.ns-t3as-search--with-style .ns-t3as-recent-search-title {
  color: var(--t3as-text-color);
}

.t3as-recent-search-lists {
  list-style: none;
  margin: 0;
  padding: 0;
}

.t3as-recent-search-lists li {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0 0 5px;
  padding: 0 !important;
  transition: all 0.3s ease-in-out 0s;
}

.t3as-recent-search-lists li::before,
.t3as-recent-search-lists li::after {
  display: none !important;
}

.t3as-recent-search-lists li a {
  border-radius: 25px;
  cursor: pointer;
  display: block;
  opacity: 0.7;
  overflow: hidden;
  padding: 8px 25px 8px 40px;
  position: relative;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.t3as-recent-search-lists li a::before {
  background-color: currentColor;
  content: '';
  height: 16px;
  left: 15px;
  mask-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjguNDU1IDI4LjQ1NSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0yNy43NjEgMjQuNDA4bC02LjAyLTYuMDJhMTEuODc5IDExLjg3OSAwIDEwLTMuMzUzIDMuMzUzbDYuMDIgNi4wMmEyLjM3MSAyLjM3MSAwIDAwMy4zNTMtMy4zNTNNMy41NTcgMTEuODU3YTguMyA4LjMgMCAxMTguMyA4LjMgOC4zMDkgOC4zMDkgMCAwMS04LjMtOC4zIi8+PC9zdmc+');
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
}

.ns-t3as-icon-search-edges li a::before {
  mask-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNTAgNTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIxIDNDMTEuNjAyIDMgNCAxMC42MDIgNCAyMHM3LjYwMiAxNyAxNyAxN2MzLjM1NSAwIDYuNDYtLjk4NCA5LjA5NC0yLjY1NmwxMi4yODEgMTIuMjgxIDQuMjUtNC4yNUwzNC41IDMwLjI4MUMzNi42OCAyNy40MjEgMzggMjMuODggMzggMjBjMC05LjM5OC03LjYwMi0xNy0xNy0xN3ptMCA0YzcuMiAwIDEzIDUuOCAxMyAxM3MtNS44IDEzLTEzIDEzUzggMjcuMiA4IDIwIDEzLjggNyAyMSA3eiIvPjwvc3ZnPg==');
}

.ns-t3as-icon-search-compact li a::before {
  mask-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNjQgNjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI0IDIuODg5QzEyLjM2NiAyLjg4OSAyLjg4OSAxMi4zNjYgMi44ODkgMjRTMTIuMzY2IDQ1LjExMSAyNCA0NS4xMTFhMjEgMjEgMCAwMDEzLjI5OS00LjczOGwxNC44MzIgMTguNThzMy4yNDguNDgzIDUuMjY1LTEuNjE5YzIuMDMxLTIuMTE4IDEuNTU1LTUuMiAxLjU1NS01LjJMNDAuMzczIDM3LjNBMjEgMjEgMCAwMDQ1LjExMSAyNGMwLTExLjYzNC05LjQ3Ny0yMS4xMTEtMjEuMTExLTIxLjExMXptMCA0LjIyMkExNi44NTcgMTYuODU3IDAgMDE0MC44ODkgMjQgMTYuODU3IDE2Ljg1NyAwIDAxMjQgNDAuODg5IDE2Ljg1NyAxNi44NTcgMCAwMTcuMTExIDI0IDE2Ljg1NyAxNi44NTcgMCAwMTI0IDcuMTExeiIvPjwvc3ZnPg==');
}

.ns-t3as-icon-search-magnify-glass li a::before {
  mask-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjI2MiAxNC44NjdsMi40OCAyLjQ4Yy0uMzc5LjcyMy0uNDE4IDEuNDQyLS4wMiAxLjg0bDQuNTI4IDQuNTI4Yy41Ny41NyAxLjgxMy4yNTggMi43NjYtLjcuOTU3LS45NTYgMS4yNy0yLjE5NS42OTktMi43NjVsLTQuNTI0LTQuNTI3Yy0uNDAyLS4zOTktMS4xMi0uMzYtMS44NDMuMDE1bC0yLjQ4LTIuNDc2ek04LjUgMEE4LjQ5OSA4LjQ5OSAwIDAwMCA4LjVDMCAxMy4xOTUgMy44MDUgMTcgOC41IDE3UzE3IDEzLjE5NSAxNyA4LjUgMTMuMTk1IDAgOC41IDB6bTAgMTVhNi41IDYuNSAwIDExMC0xMyA2LjUgNi41IDAgMDEwIDEzeiIvPjwvc3ZnPg==');
}

.t3as-recent-search-lists li a:hover {
  background-color: var(--t3as-light-gray-color);
  opacity: 1;
}

.ns-t3as-search--with-style .t3as-recent-search-lists a::before {
  background-color: var(--t3as-text-color);
}

[data-t3as='ai-search-open'] * {
  pointer-events: none;
}

.ns-t3as-search-results-wrap {
  border-radius: 25px;
  margin: 20px 0;
}

.ns-t3as-search-results-wrap .ai-can-make-mistakes.form-text {
  clear: both;
  display: block;
  font-style: italic;
  margin-top: 10px;
  padding-top: 0 !important;
  width: 100%;
}

.tx-ns-t3as-search .ns-t3as-search-results-wrap > .ai-can-make-mistakes.form-text:not(.d-none),
.nst3as-ai-search-result-injector > .ai-can-make-mistakes.form-text:not(.d-none) {
  margin-bottom: 12px;
  margin-top: 12px;
}

.ns-t3as-search-results-wrap .ai-can-make-mistakes.form-text hr {
  margin-bottom: 0rem !important;
}

.ns-t3as-search-results p a.ns-t3as-search-results-link {
  align-items: center;
  display: inline-flex;
  margin-left: 3px;
  max-width: 100%;
  vertical-align: middle;
}

.ns-t3as-additional-link {
  text-decoration: underline;
  color: inherit;
}

.ns-t3as-search--with-style .ns-t3as-additional-link {
  color: var(--t3as-text-color) !important;
}

.ns-t3as-additional-link:hover {
  text-decoration: none !important;
}

.ns-t3as-speak-word.is-active {
  background-color: var(--t3as-speech-highlight-bg, rgba(37, 99, 235, 0.38));
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  outline: 1px solid rgba(37, 99, 235, 0.22);
}

.ns-t3as-search-results mark.ns-t3as-speak-word.is-active,
.ns-t3as-search-results strong .ns-t3as-speak-word.is-active,
.ns-t3as-search-results b .ns-t3as-speak-word.is-active,
.ns-t3as-search-content mark.ns-t3as-speak-word.is-active,
.ns-t3as-search-content strong .ns-t3as-speak-word.is-active,
.ns-t3as-search-content b .ns-t3as-speak-word.is-active {
  background-color: var(--t3as-speech-highlight-bg, rgba(37, 99, 235, 0.38)) !important;
  color: inherit;
  outline: 1px solid rgba(37, 99, 235, 0.22);
}

.ns-t3as-search-results mark.ns-t3as-key-highlight,
.ns-t3as-search-content mark.ns-t3as-key-highlight,
.ns-t3as-chat-mode__answer mark.ns-t3as-key-highlight  {
  background-color: rgba(59, 130, 246, 0.32);
  border-radius: 3px;
  color: inherit;
  font-weight: inherit;
  padding: 0.06em 0.28em;
}

.ns-t3as-search-results h1,
.ns-t3as-search-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.ns-t3as-search-results h2,
.ns-t3as-search-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.ns-t3as-search-results h3,
.ns-t3as-search-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 1rem 0 0.5rem;
}

.ns-t3as-search-results .ns-t3as-search-content p,
.ns-t3as-search-content p {
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.ns-t3as-search-content hr.ns-t3as-section-sep,
.ns-t3as-chat-mode__answer hr.ns-t3as-section-sep {
  border: 0;
  border-top: 1px solid var(--t3as-medium-gray-color, #d0d0d0);
  margin: 1rem 0;
}

.ns-t3as-search-results .ns-t3as-search-content ul,
.ns-t3as-search-content ul {
  line-height: 1.5;
  margin: 0.35rem 0 1rem;
  padding-left: 1.4rem;
}

.ns-t3as-search-results .ns-t3as-search-content li,
.ns-t3as-search-content li {
  margin-bottom: 0.5rem;
}

.ns-t3as-search-results .ns-t3as-search-content b,
.ns-t3as-search-results .ns-t3as-search-content strong,
.ns-t3as-search-content b,
.ns-t3as-search-content strong {
  font-weight: 700;
}

.ns-t3as-search-results-link {
  align-items: center;
  background-color: var(--t3as-light-gray-color);
  border-radius: 6px;
  color: var(--t3as-text-color);
  display: inline-flex;
  gap: 8px;
  line-height: 1.35;
  max-width: 100%;
  min-height: 26px;
  min-width: 0;
  padding: 6px 10px 6px 8px;
  position: relative;
  text-decoration: none;
  text-indent: 0;
  transition: background-color 0.3s ease 0s;
  word-break: break-word;
}

.ns-t3as-search-results-link::before {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iY3VycmVudENvbG9yIj48cGF0aCBkPSJNMTMuNyAzLjhsLTEuNC0xLjRjLS44LS44LTItLjgtMi44IDBMNS45IDUuOWMtLjguOC0uOCAyIDAgMi44bDEuMiAxLjIuOS0uOEw2LjkgOGMtLjQtLjQtLjQtMSAwLTEuNGwzLjItMy4yYy40LS40IDEtLjQgMS40IDBsMS4xIDEuMWMuNC40LjQgMSAwIDEuNGwtMS4zIDEuM2MuMi40LjQuOS40IDEuNGwyLTJjLjctLjguNy0yLjEgMC0yLjh6Ii8+PHBhdGggZD0iTTguOSA2LjFsLS45LjhMOS4xIDhjLjQuNC40IDEgMCAxLjRsLTMuMiAzLjJjLS40LjQtMSAuNC0xLjQgMGwtMS4xLTEuMWMtLjQtLjQtLjQtMSAwLTEuNGwxLjMtMS4zYy0uMi0uNC0uNC0uOS0uNC0xLjRsLTIgMmMtLjguOC0uOCAyIDAgMi44bDEuNCAxLjRjLjguOCAyIC44IDIuOCAwbDMuNS0zLjVjLjgtLjguOC0yIDAtMi44TDguOSA2LjF6Ii8+PC9nPjwvc3ZnPg==');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  flex-shrink: 0;
  height: 16px;
  width: 16px;
}

.ns-t3as-source-links {
  background-color: #f7f8fa;
  border-radius: 20px;
  list-style: none;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  position: sticky;
  top: 20px;
  z-index: 0;
  max-height: 535px;
  scrollbar-width: thin;
  overflow-y: auto;
  scrollbar-color: var(--t3as-medium-gray-color) transparent;
}

.ns-t3as-source-links__show-all-item {
  padding: 0 20px 20px 20px !important;
}

.ns-t3as-source-links__show-all-item .ns-t3as-source-links__show-all {
  border-color: transparent;
  background-color: #e9ebf0;
  border-radius: 50px;
  justify-content: center;
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
  padding: 8px 14px;
  font-weight: 400;
  transition: background-color 0.3s ease 0s;
}

.ns-t3as-source-links__show-all-item .ns-t3as-source-links__show-all:hover {
  background-color: var(--t3as-medium-gray-color);
}

.ns-t3as-source-links__show-all-item--hidden {
  display: none;
}

.ns-t3as-source-links__toggle-close-item {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 6px 12px 0 12px !important;
  position: sticky !important;
  top: 0;
  z-index: 2;
  background: #f7f8fa;
}

.ns-t3as-source-links__toggle-close-item--hidden {
  display: none;
}

.ns-t3as-source-links__toggle-close {
  align-items: center;
  background: #f7f8fa;
  border: transparent;
  color: #e5e7eb;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 24px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 24px;
}

.ns-t3as-source-links__toggle-close svg {
  transition: all 0.3s ease;
}

.ns-t3as-source-links__toggle-close:hover svg {
  transform: scale(1.1);
}

.ns-t3as-source-card {
  padding: 5px 20px 4px 20px !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.ns-t3as-source-card__info {
  max-width: calc(100% - 82px);
}

.ns-t3as-source-card:hover .ns-t3as-source-card__title-text,
.ns-t3as-source-card:hover .ns-t3as-source-card__meta {
  text-decoration: underline;
}

.ai-overview {
  overflow: visible;
  padding-bottom: 12px;
}

.ai-overview__head {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}

.ai-overview__icon {
  color: var(--t3as-dark-gray-color);
  flex-shrink: 0;
}

.ai-overview__title {
  color: var(--t3as-text-color);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.ai-overview__voice {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin-left: 2px;
}

.ns-t3as-speech-debug {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 8px;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  left: 0;
  line-height: 1.45;
  max-width: min(320px, 92vw);
  padding: 8px 10px;
  position: absolute;
  top: calc(100% + 6px);
  z-index: 20;
}

.ns-t3as-speech-debug[hidden] {
  display: none;
}

.ai-overview__voice {
  position: relative;
}

.ns-t3as-speech-debug__title {
  color: #93c5fd;
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ns-t3as-speech-debug__list {
  display: grid;
  gap: 4px;
  margin: 0;
}

.ns-t3as-speech-debug__row {
  display: grid;
  gap: 8px;
  grid-template-columns: 52px 1fr;
  margin: 0;
}

.ns-t3as-speech-debug__row dt {
  color: #94a3b8;
  font-weight: 600;
  margin: 0;
}

.ns-t3as-speech-debug__row dd {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ns-t3as-listen-btn {
  align-items: center;
  background: var(--t3as-light-gray-color);
  border: 1px solid var(--t3as-medium-gray-color);
  border-radius: 50%;
  color: var(--t3as-dark-gray-color);
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-family: inherit;
  height: 32px;
  justify-content: center;
  padding: 0;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  vertical-align: middle;
  width: 32px;
}

.ns-t3as-listen-btn:hover:not(:disabled) {
  background: var(--t3as-medium-gray-color);
  border-color: var(--t3as-secondary-color);
  color: var(--t3as-text-color);
}

.ns-t3as-listen-btn:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--t3as-secondary-color) 55%, transparent);
  outline: none;
}

.ns-t3as-listen-btn:disabled {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}

.ns-t3as-listen-btn__icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.ns-t3as-listen-btn__icon--pause {
  display: none;
}

.ns-t3as-listen-btn.is-speaking .ns-t3as-listen-btn__icon--listen {
  display: none;
}

.ns-t3as-listen-btn.is-speaking .ns-t3as-listen-btn__icon--pause {
  display: inline-flex;
}

.ns-t3as-listen-btn svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.ns-t3as-listen-btn[data-tooltip]::after {
  background: var(--t3as-text-color);
  border-radius: 8px;
  bottom: calc(100% + 8px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--t3as-text-color) 18%, transparent);
  color: var(--t3as-light-gray-color);
  content: attr(data-tooltip);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  left: 50%;
  letter-spacing: 0.01em;
  line-height: 1.25;
  opacity: 0;
  padding: 6px 10px;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  transition: opacity 0.15s ease, visibility 0.15s ease;
  visibility: hidden;
  white-space: nowrap;
  z-index: 100;
}

.ns-t3as-listen-btn[data-tooltip]:hover::after,
.ns-t3as-listen-btn[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.ns-t3as-listen-btn.is-paused {
  animation: none;
  background: var(--t3as-light-gray-color);
  border-color: var(--t3as-secondary-color);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--t3as-secondary-color) 40%, transparent);
  color: var(--t3as-text-color);
}

.ns-t3as-listen-btn.is-speaking {
  animation: ns-t3as-listen-pulse 1.6s ease-in-out infinite;
  background: var(--t3as-medium-gray-color);
  border-color: var(--t3as-secondary-color);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--t3as-secondary-color) 35%, transparent);
  color: var(--t3as-text-color);
}

@keyframes ns-t3as-listen-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--t3as-secondary-color) 35%, transparent);
  }

  50% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--t3as-secondary-color) 25%, transparent);
  }
}

.ns-t3as-rating-row {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 24px;
  max-width: 100%;
  overflow: visible;
  position: relative;
  width: 100%;
  z-index: 2;
}

.ns-t3as-rating-row--chat-assistant {
  margin-top: 16px;
  width: 100%;
}

.ns-t3as-rating-btn[data-rating] {
  pointer-events: auto;
}

.ns-t3as-rating-btn {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  box-shadow: none;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  min-width: 32px;
  padding: 0;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  width: 32px;
}

.ns-t3as-rating-btn:hover:not(.is-active):not(:disabled) {
  background: #f3f4f6;
  color: #374151;
}

.ns-t3as-rating-btn:focus-visible:not(.is-active) {
  outline: 2px solid var(--t3as-primary-color, #3a85e6);
  outline-offset: 2px;
}

.ns-t3as-rating-btn[data-tooltip]::after {
  background: #111827;
  border-radius: 8px;
  bottom: calc(100% + 8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 13px;
  font-weight: 500;
  left: 50%;
  line-height: 1.25;
  opacity: 0;
  padding: 6px 10px;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  transition: opacity 0.15s ease, visibility 0.15s ease;
  visibility: hidden;
  white-space: nowrap;
  z-index: 100;
}

.ns-t3as-rating-btn[data-tooltip]:hover::after,
.ns-t3as-rating-btn[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.ns-t3as-rating-row .ns-t3as-rating-btn:first-child[data-tooltip]::after,
.ns-t3as-copy-response-btn[data-tooltip]::after {
  left: 0;
  right: auto;
  transform: translateX(0);
}

/* Right-align only the trailing feedback button, not a lone copy button (:only-child). */
.ns-t3as-rating-row .ns-t3as-rating-btn:last-child:not(:only-child)[data-tooltip]::after {
  left: auto;
  right: 0;
  transform: translateX(0);
}

/* Widget modal scrollport clips horizontally; keep copy/feedback tooltips inside. */
.ns-t3as-search-widget-wrap .ns-t3as-rating-btn[data-tooltip]::after,
.ns-t3as-widget-modal-wrap .ns-t3as-rating-btn[data-tooltip]::after {
  z-index: 300;
}

.ns-t3as-chat-mode .ns-t3as-rating-btn[data-tooltip]::after {
  bottom: auto;
  top: calc(100% + 8px);
  z-index: 300;
}

.ns-t3as-rating-btn.is-active {
  background: #e9ebf0;
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.06);
  color: #111827;
}

.ns-t3as-rating-btn[data-rating="negative"].is-active,
.ns-t3as-rating-btn[data-rating="-1"].is-active {
  background: #e9ebf0;
  color: #111827;
}

.ns-t3as-rating-row.is-submitted {
  pointer-events: auto;
}

.ns-t3as-rating-row.is-submitted .ns-t3as-rating-btn[data-rating] {
  cursor: default;
  pointer-events: none;
}

.ns-t3as-rating-btn[data-rating="positive"].is-active,
.ns-t3as-rating-btn[data-rating="1"].is-active {
  background: #16a34a;
  color: #fff;
}

.ns-t3as-rating-row.is-submitted .ns-t3as-rating-btn.is-active {
  transform: scale(1.06);
}

.ns-t3as-rating-row.is-submitted .ns-t3as-rating-btn[data-rating="positive"].is-active,
.ns-t3as-rating-row.is-submitted .ns-t3as-rating-btn[data-rating="1"].is-active {
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.35);
  color: #fff;
}

.ns-t3as-rating-row.is-submitted .ns-t3as-rating-btn[data-rating="negative"].is-active,
.ns-t3as-rating-row.is-submitted .ns-t3as-rating-btn[data-rating="-1"].is-active {
  background: #fee2e2;
  border-color: #fca5a5;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
  color: #b91c1c;
}

.ns-t3as-rating-row.is-submitted .ns-t3as-rating-btn.is-active svg {
  stroke-width: 2.4;
}

.ns-t3as-rating-btn.is-bounce {
  animation: ns-t3as-rating-bounce 0.45s ease;
}

@keyframes ns-t3as-rating-bounce {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.18);
  }
}

.ns-t3as-feedback-toast {
  font-size: 13px;
  color: var(--t3as-text-color, #374151);
  left: 0;
  margin-top: 0;
  max-width: min(100%, 280px);
  opacity: 0;
  position: absolute;
  top: calc(100% + 6px);
  transition: opacity 0.3s ease;
  white-space: nowrap;
  width: max-content;
  z-index: 3;
}

.ns-t3as-feedback-toast.is-visible {
  opacity: 1;
}

.ns-t3as-feedback-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-basis: 100%;
  margin-top: 8px;
  width: 100%;
}

.ns-t3as-feedback-reason-chip {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: var(--t3as-text-color, #374151);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.3;
  padding: 6px 12px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ns-t3as-feedback-reason-chip:hover {
  background: #e9ebf0;
  border-color: #d1d5db;
}

.ns-t3as-copy-response-btn.is-copied {
  background: #e9ebf0;
}

.ns-t3as-source-card__title-text {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
}

.ns-t3as-source-card__title-text,
.ns-t3as-source-card__snippet {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.ns-t3as-source-card__meta {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ns-t3as-source-card__image {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
}

.ns-t3as-source-card__image a {
  padding: 0;
}

.ns-t3as-source-card__image img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.ns-t3as-source-card::before,
.ns-t3as-source-links__toggle-close-item::before,
.ns-t3as-source-links__count::before,
.ns-t3as-source-links__show-all-item::before {
  display: none;
}

.ns-t3as-source-links__count,
.ns-t3as-source-links__toggle-close-item {
  padding-top: 15px !important;
  padding-bottom: 10px !important;
}

.ns-t3as-source-card:last-child {
  margin-bottom: 0;
}

.ns-t3as-source-card--collapsed {
  display: none;
}

.ns-t3as-source-links__count {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  padding-left: 26px !important;
  margin-bottom: 0 !important;
  margin-top: 5px;
}

.ns-t3as-source-links__count-icons {
  display: inline-flex;
  margin-right: 2px;
}

.ns-t3as-source-links__count-icon {
  border-radius: 50%;
  display: inline-block;
  height: 24px;
  width: 24px;
  border: 1px solid var(--t3as-medium-gray-color);
  background-color: #eef2f7;
  overflow: hidden;
  flex-shrink: 0;
}

.ns-t3as-source-links__count-icon img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.ns-t3as-source-links__count-icon + .ns-t3as-source-links__count-icon {
  margin-left: -7px;
}

/* Static color icons are disabled in favor of OG image icons. */
/* .ns-t3as-source-links__count-icon--one { */
/*   background: #f28c28; */
/* } */
/* .ns-t3as-source-links__count-icon--two { */
/*   background: #4f7ecf; */
/* } */
/* .ns-t3as-source-links__count-icon--three { */
/*   background: #2f3f6f; */
/* } */

.ns-t3as-source-links__count-text {
  color: var(--t3as-text-color);
  font-size: 14px;
  line-height: 1.4;
}

.ns-t3as-source-links__count--hidden {
  display: none !important;
}

.ns-t3as-source-card .ns-t3as-source-card__title.ns-t3as-search-results-link {
  box-sizing: border-box;
  display: inline-flex;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  max-width: 100%;
  width: 100%;
}

.ns-t3as-source-card__meta {
  color: var(--t3as-text-color, #374151);
  font-size: 0.8125rem;
  opacity: 0.8;
  line-height: 1.4;
  margin: 0 0 0.4rem;
  word-break: break-word;
}

.ns-t3as-source-card__snippet {
  color: var(--t3as-text-color, #374151);
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
  opacity: 0.92;
}

.ns-t3as-source-links li:not(.ns-t3as-source-card) {
  margin: 6px 0;
}

.ns-t3as-source-links .ns-t3as-search-results-link {
  max-width: 100%;
}

.ns-t3as-search-results-link:hover {
  background-color: var(--t3as-medium-gray-color);
}

.ns-t3as-link-hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ns-t3as-click-disable {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ns-t3as-loader {
  position: relative;
}

.ns-t3as-loader.is-active,
.ns-t3as-loader--typing.is-active,
.ns-t3as-loader--skeleton.is-active {
  align-items: center;
  display: flex !important;
  min-height: 24px;
  padding: 8px 0;
}

.ns-t3as-loader--skeleton.is-active {
  align-items: stretch;
  min-height: 160px;
  padding: 8px 0 12px;
}

.ns-t3as-loader--typing.is-active .ns-t3as-skeleton-loader {
  display: none !important;
}

.ns-t3as-loader--skeleton.is-active .ns-t3as-skeleton-loader {
  display: flex !important;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.ns-t3as-loader--skeleton.is-active .ns-t3as-typing-dots {
  display: none !important;
}

.ns-t3as-loader--typing.is-active .ns-t3as-typing-dots {
  display: inline-flex !important;
}

.ns-t3as-loader--skeleton:not(.is-active) .ns-t3as-typing-dots {
  display: none;
}

.ns-t3as-loader--skeleton:not(.is-active) .ns-t3as-skeleton-loader {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.ns-t3as-loader :last-child {
  margin-bottom: 0;
}

.ns-t3as-search-results .ns-t3as-loader {
  box-sizing: border-box;
  flex: 1 1 100%;
  margin-bottom: 12px;
  max-width: 100%;
  width: 100%;
}

.ns-t3as-skeleton-loader {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.ns-t3as-skeleton-text {
  animation: t3as-shimmer 0.8s infinite linear;
  background: linear-gradient(
    90deg,
    var(--t3as-medium-gray-color) 25%,
    var(--t3as-light-gray-color) 50%,
    var(--t3as-medium-gray-color) 75%
  );
  background-size: 200% 100%;
  border-radius: 4px;
  display: block;
  height: 20px;
  width: 100%;
}

.ns-t3as-skeleton-text--short {
  width: 100%;
}

@keyframes t3as-shimmer {
  0% {
    background-position: 100%;
  }

  100% {
    background-position: -100%;
  }
}

.ns-t3as-search-results-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
}

.ns-t3as-search-results :last-child {
  margin-bottom: 0;
}

.ns-t3as-stream-wait {
  align-items: center;
  display: flex;
  margin-top: 8px;
  min-height: 28px;
  padding: 4px 0 8px;
  width: 100%;
}

.ns-t3as-stream-wait.ns-t3as-loader--skeleton {
  align-items: stretch;
  min-height: 160px;
  padding: 8px 0 12px;
}

.ns-t3as-stream-wait.ns-t3as-loader--skeleton .ns-t3as-skeleton-loader {
  display: flex !important;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.ns-t3as-stream-wait.ns-t3as-loader--skeleton .ns-t3as-typing-dots {
  display: none !important;
}

.ns-t3as-stream-wait.ns-t3as-loader--typing .ns-t3as-skeleton-loader {
  display: none !important;
}

.ns-t3as-search-results > .ns-t3as-search-content + .ns-t3as-stream-wait {
  margin-top: 12px;
}

.ns-t3as-stream-wait .ns-t3as-typing-dots {
  display: inline-flex !important;
}

.ns-t3as-search-content.ns-t3as-is-streaming {
  contain: layout style;
}

.typewriter-cursor {
  animation: blink 1s step-start infinite;
  color: #000;
  display: inline-block;
  font-weight: bold;
  margin-left: 2px;
}

@keyframes blink {
  50% { opacity: 0; }
}

.ns-t3as-search-preparing {
  color: var(--t3as-gray-color);
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

.ns-t3as-search-preparing .typewriter-cursor {
  color: inherit;
}

.ns-t3as-search-results-wrap .ns-t3as-search-results :last-child {
  margin-bottom: 0;
}

.ns-t3as-search-results-wrap .ns-t3as-search-results br {
  display: none;
}

.ns-t3as-typing-dots {
  align-items: center;
  display: inline-flex !important;
  gap: 5px;
  min-height: 20px;
  padding: 4px 0;
}

.ns-t3as-typing-dots > span {
  animation: ns-t3as-typing-dot 1.4s ease-in-out infinite;
  background-color: var(--t3as-dark-gray-color);
  border-radius: 50%;
  display: block !important;
  flex-shrink: 0;
  height: 8px;
  width: 8px;
}

.ns-t3as-typing-dots > span:nth-child(2) {
  animation-delay: 0.16s;
}

.ns-t3as-typing-dots > span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes ns-t3as-typing-dot {
  0%,
  60%,
  100% {
    opacity: 0.55;
  }

  30% {
    opacity: 1;
  }
}

.nst3as-ai-search-result-injector {
  display: none;
  margin-bottom: 30px;
}

.ns-t3as-search--with-style .ns-t3as-search-results ul {
  list-style: none;
}

.ns-t3as-search--with-style .ns-t3as-search-results > ul,
.ns-t3as-search--with-style .ns-t3as-search-results > ol {
  margin: 0 0 20px;
  padding: 0;
}

.ns-t3as-search--with-style .ns-t3as-search-results ol {
  list-style-type: upper-roman;
  padding-left: 0;
}

.ns-t3as-search--with-style .ns-t3as-search-results ul ul,
.ns-t3as-search--with-style .ns-t3as-search-results ol ul,
.ns-t3as-search--with-style .ns-t3as-search-results ul ol,
.ns-t3as-search--with-style .ns-t3as-search-results ol ol {
  margin-bottom: 10px;
  margin-top: 10px;
}

.ns-t3as-search--with-style .ns-t3as-search-results ul li,
.ns-t3as-search--with-style .ns-t3as-search-results ol li {
  margin: 0 0 10px;
}

.ns-t3as-search--with-style .ns-t3as-search-results ul li {
  padding: 0 0 0 18px;
  position: relative;
}

.ns-t3as-search--with-style .ns-t3as-search-results ol > li {
  padding-left: 30px;
}

.ns-t3as-search--with-style .ns-t3as-search-results ul li::after,
.ns-t3as-search--with-style .ns-t3as-search-results ul ol li::before {
  display: none;
}

.ns-t3as-search--with-style .ns-t3as-search-results ul li::before {
  background-color: var(--t3as-text-color);
  border: 0;
  border-radius: 50%;
  content: '';
  height: 5px;
  left: 0;
  position: absolute;
  top: 10px;
  width: 5px;
}

.ns-t3as-border-square .ns-t3as-search-results ul li::before {
  border-radius: 0;
}

.ns-t3as-search-box__title {
  gap: 10px;
  margin-bottom: 15px;
}

.ns-t3as-main-wrap.ns-t3as-search--with-style {
  color: var(--t3as-text-color);
}

.ns-t3as-search--with-style .ns-t3as-search-results * {
  color: inherit;
}

.ns-t3as-error-message {
  display: none;
  width: 100%;
}

.ns-t3as-error-message__text {
  color: var(--t3as-error-color);
  display: block;
  font-size: 14px;
  line-height: 20px;
  margin-top: 7px;
  width: 100%;
}

.ns-t3as-error-message--active {
  display: block;
}

.ns-t3as-search-form--with-btn .ns-t3as-search-form__button {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.ns-t3as-search-results a:not(.ns-t3as-search-results-link) {
  text-decoration: underline;
}

.ns-t3as-search-results a:not(.ns-t3as-search-results-link):hover {
  text-decoration: none;
}

.tx-ns-t3as-search .ns-t3as-search-results,
.ns-t3as-search-widget-wrap .ns-t3as-search-results,
.nst3as-ai-search-result-injector .ns-t3as-search-results,
.ns-t3as-chat-mode .ns-t3as-search-results {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  overflow: visible;
}

.tx-ns-t3as-search .ns-t3as-search-results .ns-t3as-search-content,
.ns-t3as-search-widget-wrap .ns-t3as-search-results .ns-t3as-search-content,
.nst3as-ai-search-result-injector .ns-t3as-search-results .ns-t3as-search-content,
.ns-t3as-chat-mode .ns-t3as-search-results .ns-t3as-search-content {
  overflow: visible;
}

.ns-t3as-search-results > .ns-t3as-rating-row {
  border-top: 1px solid var(--t3as-medium-gray-color, #e5e7eb);
  flex: 1 1 100%;
  margin-top: 20px;
  max-width: 100%;
  padding-top: 16px;
  width: 100%;
}

.ns-t3as-search-results > .ns-t3as-rating-row.is-submitted {
  justify-content: flex-start;
  width: 100%;
}

.tx-ns-t3as-search .ns-t3as-search-results .ns-t3as-source-links .ns-t3as-source-card .ns-t3as-source-card__title,
.ns-t3as-search-widget-wrap .ns-t3as-search-results .ns-t3as-source-links .ns-t3as-source-card .ns-t3as-source-card__title,
.nst3as-ai-search-result-injector .ns-t3as-search-results .ns-t3as-source-links .ns-t3as-source-card .ns-t3as-source-card__title,
.ns-t3as-chat-mode .ns-t3as-search-results .ns-t3as-source-links .ns-t3as-source-card .ns-t3as-source-card__title {
  background: transparent;
  display: block !important;
  font-weight: initial;
}

.ns-t3as-source-links .ns-t3as-source-card .ns-t3as-source-card__title {
  height: 100%;
  margin-left: 5px;
}

@media (min-width: 993px) {
  .ns-t3as-recent-search-wrap {
    padding-left: 15px;
    padding-right: 15px;
  }

  .ns-t3as-search-form .ns-t3as-search-form__input {
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .ns-t3as-search-results-wrap {
    margin-bottom: 25px;
    margin-top: 25px;
    padding-bottom: 20px;
  }

  .ns-t3as-search-preparing {
    font-size: 18px;
  }

  .ns-t3as-search--with-style .ns-t3as-search-results ul li {
    padding-left: 20px;
  }

  .ns-t3as-search--with-style .ns-t3as-search-results ul li::before {
    height: 6px;
    top: 10px;
    width: 6px;
  }
}

@media (min-width: 1200px) {
  .ns-t3as-full-width {
    padding-left: 40px;
    padding-right: 40px;
  }

  .ns-t3as-search-ai-result-wrap {
    margin-bottom: 30px;
    margin-top: 30px;
  }

  .ns-t3as-search-box__inner,
  .ns-t3as-recent-search-wrap {
    padding: 20px;
  }

  .tx-ns-t3as-search .ns-t3as-search-results .ns-t3as-search-content,
  .ns-t3as-search-widget-wrap .ns-t3as-search-results .ns-t3as-search-content,
  .nst3as-ai-search-result-injector .ns-t3as-search-results .ns-t3as-search-content,
  .ns-t3as-chat-mode .ns-t3as-search-results .ns-t3as-search-content {
    width: 66%;
    padding-right: 40px;
  }

  .ns-t3as-search-results > .ns-t3as-rating-row {
    max-width: 62%;
  }

  .tx-ns-t3as-search .ns-t3as-search-results .ns-t3as-source-links,
  .ns-t3as-search-widget-wrap .ns-t3as-search-results .ns-t3as-source-links,
  .nst3as-ai-search-result-injector .ns-t3as-search-results .ns-t3as-source-links,
  .ns-t3as-chat-mode .ns-t3as-search-results .ns-t3as-source-links {
    width: 33%;
    padding-left: 0;
  }

  .ns-t3as-widget-modal-wrap--sidebar .ns-t3as-search-results .ns-t3as-search-content {
    width: 60%;
  }

  .ns-t3as-widget-modal-wrap--sidebar .ns-t3as-search-results .ns-t3as-source-links {
    width: 40%;
  }

  .ns-t3as-widget-modal-wrap--sidebar .ns-t3as-chat-mode .ns-t3as-search-results .ns-t3as-search-content {
    width: 60%;
  }

  .ns-t3as-widget-modal-wrap--sidebar .ns-t3as-chat-mode .ns-t3as-search-results .ns-t3as-source-links {
    width: 40%;
  }

  .ns-t3as-widget-modal-wrap--sidebar .ns-t3as-search-results.ns-t3as-search-results--disabled .ns-t3as-search-content,
  .tx-ns-t3as-search .ns-t3as-search-results.ns-t3as-search-results--disabled .ns-t3as-search-content,
  .ns-t3as-search-widget-wrap .ns-t3as-search-results.ns-t3as-search-results--disabled .ns-t3as-search-content,
  .nst3as-ai-search-result-injector .ns-t3as-search-results.ns-t3as-search-results--disabled .ns-t3as-search-content,
  .ns-t3as-chat-mode .ns-t3as-search-results.ns-t3as-search-results--disabled .ns-t3as-search-content {
    width: 100%;
    padding-right: 0;
  }

  .ns-t3as-search-results--disabled .ns-t3as-rating-row {
    max-width: 100%;
  }

  .ns-t3as-source-links {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* User chat bubbles: right-align inside the answer column, not over the source sidebar */
  .ns-t3as-chat-mode__messages--disabled.ns-t3as-chat-mode__messages .ns-t3as-chat-mode__bubble--user {
    margin-right: 0;
  }

  .ns-t3as-chat-mode__messages .ns-t3as-chat-mode__bubble--user {
    margin-right: 37%;
  }
}

.section.section-default:has(.ns-t3as-container) {
  overflow: visible !important;
}

/* --- AI Search: Chatbot Mode (follow-up conversation) --- */
.ns-t3as-chat-mode {
  margin-top: 1.25rem;
}

.ns-t3as-chat-mode__header {
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

.ns-t3as-chat-mode__messages {
  /* max-height: 420px; */
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.ns-t3as-chat-mode__bubble {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.ns-t3as-chat-mode__bubble--user {
  align-self: flex-end;
  width: auto;
  max-width: min(92%, 520px);
  margin-left: auto;
  margin-right: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  line-height: 1.45;
  font-size: 0.95rem;
  background: var(--t3as-primary-color, #e8f0fe);
  color: var(--t3as-text-color, #111);
  text-align: left;
}

.ns-t3as-chat-mode__bubble--assistant {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.ns-t3as-chat-mode__bubble--pending {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.ns-t3as-chat-mode__bubble--pending .ns-t3as-skeleton-loader {
  max-width: 100%;
  min-width: min(100%, 280px);
  width: 100%;
}

.ns-t3as-chat-mode__stream-body {
  white-space: pre-wrap;
  word-break: break-word;
}

.ns-t3as-chat-mode__stream-body--loading {
  min-width: min(100%, 520px);
  max-width: 100%;
  width: 100%;
}

.ns-t3as-chat-mode__bubble--assistant .ns-t3as-chat-mode__skeleton {
  padding: 0.35rem 0 0.5rem;
}

.ns-t3as-chat-mode__typing-loader {
  align-items: center;
  display: inline-flex;
  min-height: 24px;
  padding: 0.35rem 0 0.5rem;
}

.ns-t3as-chat-mode__typing-loader .ns-t3as-typing-dots {
  display: inline-flex;
}

.ns-t3as-chat-mode__answer {
  word-break: break-word;
}

.ns-t3as-chat-mode__answer h1,
.ns-t3as-search-results--chat-assistant h1,
.ns-t3as-search-results .ns-t3as-chat-mode__answer h1,
.ns-t3as-search-results .ns-t3as-search-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.ns-t3as-chat-mode__answer h2,
.ns-t3as-search-results .ns-t3as-search-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.ns-t3as-chat-mode__answer h3,
.ns-t3as-search-results .ns-t3as-search-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 1rem 0 0.5rem;
}

.ns-t3as-chat-mode__answer p {
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.ns-t3as-chat-mode__answer p:last-child {
  margin-bottom: 0;
}

.ns-t3as-chat-mode__answer ul {
  line-height: 1.5;
  margin: 0.35rem 0 1rem;
  padding-left: 1.4rem;
}

.ns-t3as-chat-mode__answer li {
  margin-bottom: 0.5rem;
}

.ns-t3as-chat-mode__answer b,
.ns-t3as-chat-mode__answer strong {
  font-weight: 700;
}

.ns-t3as-chat-mode__composer {
  margin: 0;
}

.ns-t3as-chat-mode--awaiting .ns-t3as-chat-mode__composer {
  pointer-events: none;
  user-select: none;
}

.ns-t3as-chat-mode--awaiting .ns-t3as-chat-mode__messages {
  opacity: 0.92;
}

.ns-t3as-chat-mode__composer,
.ns-t3as-chat-mode__field,
.ns-t3as-chat-mode__field-body {
  overflow: visible;
}

.ns-t3as-chat-mode__field {
  position: relative;
  border: 1px solid var(--t3as-medium-gray-color, #c5cdd6);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ns-t3as-chat-mode__field-body {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  padding: 0.65rem 0.75rem 0.65rem 0.85rem;
}

.ns-t3as-chat-mode__field--busy .ns-t3as-chat-mode__field-body {
  opacity: 0.72;
}

.ns-t3as-chat-mode__loader-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.ns-t3as-chat-mode__loader-overlay--visible {
  display: flex;
}

.ns-t3as-chat-mode__loader-overlay--visible .ns-t3as-loader,
.ns-t3as-chat-mode__loader-overlay--visible .search-loader {
  display: block !important;
  margin: 0 auto;
  width: min(100%, 320px);
}

.ns-t3as-chat-mode__label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.ns-t3as-chat-mode__input {
  display: block;
  width: 100%;
  min-height: 52px;
  max-height: 200px;
  resize: none;
  padding: 0.35rem 0.15rem 0.35rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  line-height: 1.45;
  color: var(--t3as-text-color, #111827);
  outline: none;
  box-shadow: none;
}

.ns-t3as-chat-mode__input::placeholder {
  color: var(--t3as-dark-gray-color, #9ca3af);
}

.ns-t3as-chat-mode__input.is-listening::placeholder {
  color: var(--t3as-secondary-color);
  opacity: 1;
}

.ns-t3as-chat-mode__input:focus {
  outline: none;
}

.ns-t3as-chat-mode__voice-wrap {
  display: inline-flex;
  flex-shrink: 0;
  margin-bottom: 2px;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.ns-t3as-chat-mode__voice {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--t3as-dark-gray-color, #6b7280);
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  overflow: visible;
  padding: 0;
  position: relative;
  width: 34px;
}

.ns-t3as-chat-mode__voice svg,
.ns-t3as-chat-mode__voice .ns-t3as-voice-btn__icon,
.ns-t3as-chat-mode__voice .ns-t3as-voice-btn__rings {
  pointer-events: none;
}

.ns-t3as-chat-mode__voice:hover:not(:disabled) {
  color: var(--t3as-secondary-color);
}

.ns-t3as-chat-mode__voice-wrap[data-tooltip]::after {
  background: #111827;
  border-radius: 8px;
  bottom: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 13px;
  font-weight: 500;
  left: auto;
  line-height: 1.25;
  opacity: 0;
  padding: 6px 10px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: -100%;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  visibility: hidden;
  white-space: nowrap;
  z-index: 300;
}

.ns-t3as-chat-mode__voice-wrap[data-tooltip]:hover::after,
.ns-t3as-chat-mode__voice-wrap[data-tooltip]:focus-within::after {
  opacity: 1;
  visibility: visible;
}

.ns-t3as-chat-mode__voice-wrap:has(.ns-t3as-chat-mode__voice.is-listening)[data-tooltip]::after {
  content: attr(data-tooltip-listening);
}

.ns-t3as-chat-mode__voice.is-listening {
  color: var(--t3as-secondary-color);
}

.ns-t3as-chat-mode__voice:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.ns-t3as-chat-mode__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
  padding-bottom: 2px;
  opacity: 1;
  max-width: 44px;
  overflow: visible;
  transition: opacity 0.18s ease, max-width 0.22s ease, margin 0.22s ease;
}

.ns-t3as-chat-mode__actions--hidden {
  opacity: 0;
  max-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

.ns-t3as-chat-mode__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--t3as-dark-gray-color, #6b7280);
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease, color 0.15s ease;
}

.ns-t3as-chat-mode__close:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--t3as-text-color, #111827);
}

.ns-t3as-chat-mode__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  position: relative;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.35);
  transition: transform 0.12s ease, background 0.15s ease, opacity 0.15s ease;
}

.ns-t3as-chat-mode__close[data-tooltip]::after,
.ns-t3as-chat-mode__submit[data-tooltip]::after {
  background: #111827;
  border-radius: 8px;
  bottom: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 13px;
  font-weight: 500;
  left: auto;
  line-height: 1.25;
  opacity: 0;
  padding: 6px 10px;
  pointer-events: none;
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.15s ease, visibility 0.15s ease;
  visibility: hidden;
  white-space: nowrap;
  z-index: 300;
}

.ns-t3as-chat-mode__close[data-tooltip]:hover::after,
.ns-t3as-chat-mode__close[data-tooltip]:focus-visible::after,
.ns-t3as-chat-mode__submit[data-tooltip]:hover::after,
.ns-t3as-chat-mode__submit[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.ns-t3as-chat-mode__submit:hover:not(:disabled) {
  background: #1d4ed8;
  transform: scale(1.03);
}

.ns-t3as-chat-mode__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.ns-t3as-chat-mode__submit svg {
  display: block;
  margin-left: 2px;
  margin-top: 0;
}

.ns-t3as-chat-mode__status {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--t3as-dark-gray-color, #6b7280);
}

.ns-t3as-chat-mode__status--hidden {
  display: none;
}

.ns-t3as-chat-mode__status--error {
  color: var(--t3as-error-color, #b91c1c);
}

.ns-t3as-chat-mode__close:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
