body.ask {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  font-family: "-apple-system-body", "ui-sans-serif", "-apple-system", "system-ui", "Segoe UI", "Helvetica", "Apple Color Emoji", "Arial", "sans-serif", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 17px;
  line-height: 1.8;
  color: #000;
  font-weight: 400;
}
body.ask #wrap {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}
body.ask #MainForm {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}
body.ask #main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
}
body.ask header {
  flex-shrink: 0;
}
body.ask footer {
  margin-top: 0;
  min-height: 60px;
  padding: 6px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.ask footer ul.links {
  margin: 0;
  width: 100%;
}
body.ask footer ul.links li {
  line-height: 1.8;
  text-align: center;
}
body.ask footer ul.links li a {
  color: inherit;
  font-size: 14px;
  text-decoration: underline;
}
body.ask footer ul.links li a:hover,
body.ask footer ul.links li a:focus {
  color: inherit;
  text-decoration: underline;
}
body.ask.ask-sidebar-open .ask-sidebar {
  width: 260px;
  flex-basis: 260px;
}
body.ask.ask-sidebar-open .ask-sidebar-history-wrap {
  opacity: 1;
  pointer-events: auto;
}
body.ask.ask-sidebar-open .ask-sidebar-settings-wrap {
  opacity: 1;
  pointer-events: auto;
}

.ask-shell {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  width: 100%;
}

.ask-sidebar {
  width: 56px;
  flex: 0 0 56px;
  background: transparent;
  color: inherit;
  border-right: 1px solid #d9d9d9;
  transition: width 0.2s ease, flex-basis 0.2s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.ask-sidebar-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  box-sizing: border-box;
  padding: 8px;
}

.ask-sidebar-history-wrap {
  flex: 1 1 auto;
  margin-top: 18px;
  padding: 0 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.ask-sidebar-action-wrap {
  margin-bottom: 12px;
  padding: 0 4px;
}

.btn-chatbot-sidebar-action {
  margin-bottom: 8px;
  text-align: left;
  background: #ffffff;
  border: 1px solid #d8d8d8;
}
.btn-chatbot-sidebar-action .chatbot-sidebar-action-label {
  margin-left: 8px;
}

.ask-sidebar-search-wrap {
  margin-bottom: 10px;
  padding: 0 4px;
}

.ask-sidebar-search-input {
  display: block;
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #111827;
  background: #f9fafb;
  box-sizing: border-box;
  outline: none;
}
.ask-sidebar-search-input:focus {
  border-color: #6b7280;
  background: #fff;
}
.ask-sidebar-search-input::placeholder {
  color: #9ca3af;
}

.ask-sidebar-history-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ask-sidebar-search-results {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
}

.ask-search-empty {
  padding: 0 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #9ca3af;
}

.ask-search-result-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  -webkit-line-clamp: unset;
}

.ask-search-result-title {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 13px;
  line-height: 1.5;
  color: #111827;
}
.ask-search-result-title strong {
  background: #ff8f8c;
  font-weight: 600;
}

.ask-search-result-date {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.4;
}

.ask-search-result-snippet {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ask-search-result-snippet strong {
  background: #ff8f8c;
  font-weight: 600;
}

.ask-sidebar-history-title {
  margin-bottom: 10px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #6b7280;
}

.ask-sidebar-history-empty {
  padding: 0 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #9ca3af;
}

.ask-sidebar-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ask-sidebar-settings-wrap {
  margin-top: auto;
  padding: 12px 4px 4px;
  border-top: 1px solid #e5e7eb;
  position: relative;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ask-sidebar-history-item + .ask-sidebar-history-item {
  margin-top: 6px;
}

.ask-sidebar-history-button {
  display: -webkit-box;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #111827;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.ask-sidebar-history-button:hover, .ask-sidebar-history-button:focus {
  background: #f3f4f6;
  outline: none;
}
.ask-sidebar-history-button.is-active {
  background: #eef6f7;
  color: #015864;
  font-weight: 600;
}

.ask-settings-panel {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: calc(100% + 10px);
  z-index: 20;
  padding: 14px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.ask-settings-panel[hidden] {
  display: none !important;
}

.ask-settings-panel::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
  transform: rotate(45deg);
}

.ask-settings-panel-header {
  margin-bottom: 10px;
}

.ask-settings-panel-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: #111827;
}

.ask-settings-panel-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ask-settings-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ask-settings-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #4b5563;
}

.ask-settings-input {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
  color: #111827;
  font-size: 15px;
  line-height: 1.4;
  box-sizing: border-box;
}
.ask-settings-input:focus {
  outline: none;
  border-color: #6b7280;
  background: #fff;
}
.ask-settings-input[readonly] {
  cursor: default;
}

.is-hidden {
  display: none !important;
}

.ask-sidebar-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ask-sidebar-toggle:hover, .ask-sidebar-toggle:focus, .ask-sidebar-toggle:active {
  background: transparent;
  color: #111827;
  outline: none;
}

.ask-main {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 32px;
  color: #000;
}

.ask-main-toolbar {
  display: none;
}

.ask-sidebar {
  position: sticky;
  top: 0;
  height: var(--ask-sidebar-height, calc(100vh - 60px));
  max-height: var(--ask-sidebar-height, calc(100vh - 60px));
  align-self: flex-start;
}

.ask-sidebar-inner {
  height: 100%;
}

.ask-sidebar-settings-wrap {
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 1;
}

#main .chatbot {
  flex: 1 1 auto;
  max-width: 1100px;
  margin: 0 auto;
  clear: both;
  padding: 12px 1px 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: inherit;
}
#main .chatbot .col-1,
#main .chatbot .col-7 {
  width: 20px;
}
#main .chatbot .col-2,
#main .chatbot .col-6 {
  width: 50px;
}
#main .chatbot .col-3,
#main .chatbot .col-5 {
  width: 30px;
}
#main .chatbot .col-4 {
  width: calc(100% - 160px);
}
#main .chatbot button[name=btn_clear_messages] {
  display: none;
}

.chatbot-container {
  margin-top: 50px;
  /*border: solid 1px #aaa;*/
}
.chatbot-container table {
  width: 100%;
  margin-bottom: 10px;
}
.chatbot-container td {
  border: solid 0px transparent;
}

#chatbot-graph {
  width: 100%;
  min-width: 100%;
  height: 560px;
  min-height: 560px;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: block;
}

.chatbot-graph-legend {
  display: none;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 14px;
}

.chatbot.chatbot-has-graph .chatbot-graph-legend {
  display: flex;
}

.chatbot-graph-references-container {
  margin-top: 8px;
}

.chatbot-graph-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #243140;
  font-size: 13px;
  line-height: 1.4;
}

.chatbot-graph-legend-marker {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chatbot-graph-legend-marker.is-related {
  background: #0394A6;
  border: 1px solid #015864;
}
.chatbot-graph-legend-marker.is-core {
  background: #DB7F7A;
  border: 1px solid #893c36;
}
.chatbot-graph-legend-marker.is-both {
  background: #0394A6;
  border: 1px solid #015864;
}
.chatbot-graph-legend-marker.is-both::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DB7F7A;
  border: 1px solid #893c36;
  transform: translate(-50%, -50%);
}

.chatbot-primary-tabs {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 24px;
  border-bottom: 1px solid #dbe3ec;
  position: relative;
  z-index: 5;
}

.chatbot-primary-tab {
  display: inline-block;
  position: relative;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  border: 0;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #7b8794;
  padding: 12px 18px 11px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  transition: color 0.18s ease, border-bottom-color 0.18s ease;
}
.chatbot-primary-tab:hover, .chatbot-primary-tab:focus {
  color: #243140;
  outline: none;
}
.chatbot-primary-tab.is-active {
  color: #111827;
  border-bottom-color: #0394a6;
}

.chatbot-primary-panels {
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.chatbot-primary-panel {
  display: none;
  width: 100%;
  min-width: 0;
  padding-top: 18px;
}
.chatbot-primary-panel.is-active {
  display: block;
}

.chatbot.chatbot-primary-tab-answer-active .chatbot-primary-tab[data-chatbot-tab=answer] {
  color: #111827;
  border-bottom-color: #0394a6;
}
.chatbot.chatbot-primary-tab-answer-active .chatbot-primary-tab[data-chatbot-tab=graph] {
  color: #7b8794;
  border-bottom-color: transparent;
}
.chatbot.chatbot-primary-tab-answer-active .chatbot-primary-panels > [data-chatbot-tab-panel=answer] {
  display: block !important;
}
.chatbot.chatbot-primary-tab-answer-active .chatbot-primary-panels > [data-chatbot-tab-panel=graph] {
  display: none !important;
}

.chatbot.chatbot-primary-tab-graph-active .chatbot-primary-tab[data-chatbot-tab=graph] {
  color: #111827;
  border-bottom-color: #0394a6;
}
.chatbot.chatbot-primary-tab-graph-active .chatbot-primary-tab[data-chatbot-tab=answer] {
  color: #7b8794;
  border-bottom-color: transparent;
}
.chatbot.chatbot-primary-tab-graph-active .chatbot-primary-panels > [data-chatbot-tab-panel=graph] {
  display: block !important;
}
.chatbot.chatbot-primary-tab-graph-active .chatbot-primary-panels > [data-chatbot-tab-panel=answer] {
  display: none !important;
}

.chatbot-graph-year-axis {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 10px;
  height: 32px;
  border-top: 1px solid #cbd5e1;
  pointer-events: none;
  overflow: hidden;
}

.chatbot-graph-year-axis-label {
  position: absolute;
  top: 6px;
  transform: translateX(-50%);
  font-size: 11px;
  line-height: 1.2;
  color: #64748b;
  white-space: nowrap;
}

.staff-info {
  width: 140px;
}

.staff-info-right {
  width: 140px;
  text-align: right;
}

.messenger-datetime {
  text-align: center;
  font-size: 90%;
}
.messenger-datetime td {
  padding: 10px 0 0 0;
}

.messenger-sender {
  font-size: 90%;
}
.messenger-sender td {
  padding: 4px 0 0 0;
}

.messenger-edge {
  width: 20px;
}

.messenger-padding {
  width: 50px;
}

.messenger-contents td > div {
  position: relative;
  border-radius: 10px;
  background-color: #eee;
  padding: 5px;
  padding-left: 15px;
  word-break: break-word;
  box-sizing: content-box;
}
.messenger-contents td > div:before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(176deg);
  left: -18px;
  bottom: 0px;
  border-left: 15px solid #eee;
  border-top: 15px solid #eee;
  border-right: 15px solid transparent;
  border-bottom: 15px solid transparent;
}
.messenger-contents td > div:after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(180deg);
  left: -20px;
  bottom: 5px;
  border-left: 10px solid #ffffff;
  border-top: 10px solid #ffffff;
  border-right: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.messenger-contents-left td > div {
  position: relative;
  border-radius: 10px;
  padding: 5px;
  background-color: #e7ffa7;
  word-break: break-word;
  box-sizing: content-box;
}
.messenger-contents-left td > div:before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(266deg);
  right: -18px;
  bottom: 0px;
  border-left: 15px solid #e7ffa7;
  border-top: 15px solid #e7ffa7;
  border-right: 15px solid transparent;
  border-bottom: 15px solid transparent;
}
.messenger-contents-left td > div:after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(270deg);
  right: -20px;
  bottom: 5px;
  border-left: 10px solid #ffffff;
  border-top: 10px solid #ffffff;
  border-right: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.chatbot-row-input {
  text-align: center;
  padding: 0 15px 24px;
  position: relative;
  flex-shrink: 0;
  background: #fff;
}

.chatbot-conversation {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.chatbot-question-summary {
  display: none;
  max-width: min(720px, 100%);
  margin: 0 0 20px auto;
  padding: 12px 18px;
  border-radius: 22px;
  background: rgba(233, 233, 233, 0.5);
  text-align: left;
  line-height: 1.6;
  word-break: break-word;
}

.ask-chatbot-content-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  border: 1px solid #d0d7e2;
  border-radius: 18px;
  font-size: 16px;
  padding: 16px 12px 10px 14px;
  min-height: 64px;
  box-sizing: border-box;
  background: #ffffff;
}
.ask-chatbot-content-container #ask_chatbot_content {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  border: 0;
  min-height: 0;
  max-height: 7em;
  height: auto;
  padding: 0;
  margin-bottom: 12px;
  box-sizing: border-box;
  resize: none;
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.4;
  outline: none;
  background-color: #fff;
  color: inherit;
}
.ask-chatbot-content-container #ask_chatbot_content:focus, .ask-chatbot-content-container #ask_chatbot_content:focus-visible {
  outline: none;
  box-shadow: none;
  background: #fff;
}

.ask-chatbot-action-row {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}

.ask-chatbot-model-container {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  flex: 0 1 auto;
  margin-left: auto;
  min-width: 0;
}

.ask-chatbot-model-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

.ask-chatbot-model-select {
  width: min(100%, 360px);
  min-width: 240px;
  max-width: 360px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: #0f172a;
  text-align: right;
  text-align-last: right;
  appearance: auto;
  cursor: pointer;
}
.ask-chatbot-model-select:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}
.ask-chatbot-model-select option {
  text-align: left;
}

.btn-toggle-graph {
  min-width: 116px;
  height: 36px;
  padding: 0 10px 0 12px;
  border: 1px solid #d0d7e2;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.btn-toggle-graph:hover, .btn-toggle-graph:focus, .btn-toggle-graph:active {
  background: #f8fafc;
  color: #000;
  border-color: #c0cad8;
}
.btn-toggle-graph[disabled] {
  opacity: 0.45;
  color: #666;
}

.btn-toggle-graph-label {
  font-weight: 500;
}

.btn-toggle-graph-switch {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 38px;
  height: 22px;
  padding: 2px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background-color 0.2s ease;
}

.btn-toggle-graph-knob {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
  transition: transform 0.2s ease;
}

.btn-toggle-graph.is-on .btn-toggle-graph-switch {
  background: #111827;
}

.btn-toggle-graph.is-on .btn-toggle-graph-knob {
  transform: translateX(16px);
}

.btn-toggle-graph.is-off .btn-toggle-graph-switch {
  background: #94a3b8;
}

.btn-ask-chatbot-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 80px;
  height: 40px;
  margin-left: 0;
  flex-shrink: 0;
}
.btn-ask-chatbot-container [name=btn_ask_chatbot] {
  padding: 3px 10px 3px 8px;
  font-size: 20px;
}
.btn-ask-chatbot-container [name=btn_ask_chatbot][disabled] {
  background-color: #999 !important;
  border-color: #999 !important;
  color: #fff !important;
  cursor: not-allowed;
}
.btn-ask-chatbot-container .btn-cancel-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-ask-chatbot-container .ask-action-btn {
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .ask-chatbot-action-row {
    flex-wrap: wrap;
    align-items: stretch;
  }
  .ask-chatbot-model-container {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
  .ask-chatbot-model-select {
    width: 100%;
    max-width: none;
  }
}
.chatbot.chatbot-graph-hidden #chatbot-graph {
  display: none;
}

.chatbot-row-input .btn-clear-messages-container {
  margin-top: 50px;
  text-align: right;
}
.chatbot-row-input .btn-cancel-container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.ask-action-btn {
  background: #DB7F7A;
  border-color: #DB7F7A;
  width: 80px;
  height: 40px;
  padding: 0 8px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}
.ask-action-btn:hover, .ask-action-btn:focus, .ask-action-btn:active {
  background: #DB7F7A;
  border-color: #DB7F7A;
}

.chatbot-container {
  margin-bottom: 24px;
}

.chatbot-copy-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 0;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: rgb(123, 121, 116);
  box-shadow: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.chatbot-copy-btn:hover, .chatbot-copy-btn:focus {
  background: transparent;
  border: none;
  color: rgb(18, 18, 18);
  box-shadow: none;
  transform: none;
  outline: none;
}
.chatbot-copy-btn .chatbot-copy-icon-wrap {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}
.chatbot-copy-btn .chatbot-copy-icon {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: all 0.2s ease;
}
.chatbot-copy-btn .chatbot-copy-icon-default {
  opacity: 1;
  transform: scale(1);
}
.chatbot-copy-btn .chatbot-copy-icon-success {
  opacity: 0;
  transform: scale(0.5);
}
.chatbot-copy-btn.is-copied {
  color: rgb(18, 18, 18);
}
.chatbot-copy-btn.is-copied .chatbot-copy-icon-default {
  opacity: 0;
  transform: scale(0.5);
}
.chatbot-copy-btn.is-copied .chatbot-copy-icon-success {
  opacity: 1;
  transform: scale(1);
}

.chatbot-feedback {
  display: none;
  justify-content: flex-start;
  gap: 4px;
  text-align: left;
}
.chatbot-feedback .chatbot-feedback-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: rgb(123, 121, 116);
  box-shadow: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.chatbot-feedback .chatbot-feedback-btn .feedback-icon {
  font-size: 18px;
  line-height: 1;
}
.chatbot-feedback .chatbot-feedback-btn:hover, .chatbot-feedback .chatbot-feedback-btn:focus {
  background: transparent;
  border: none;
  color: rgb(18, 18, 18);
  box-shadow: none;
  transform: none;
  outline: none;
}
.chatbot-feedback .chatbot-feedback-btn.is-selected, .chatbot-feedback .chatbot-feedback-btn.is-good-selected {
  background: transparent;
  border: none;
  color: #0294a6;
  box-shadow: none;
}
.chatbot-feedback .chatbot-feedback-btn.is-bad-selected {
  background: transparent;
  border: none;
  color: #DB7F7A;
  box-shadow: none;
}
.chatbot-feedback .chatbot-feedback-btn[disabled] {
  opacity: 1;
  cursor: not-allowed;
}

.chatbot-bottom-actions {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 4px;
  min-height: 40px;
}
.chatbot-bottom-actions > .chatbot-feedback-default-slot {
  flex: 1 1 auto;
  min-height: 32px;
  margin: 0;
  display: flex;
  align-items: center;
}
.chatbot-bottom-actions > .btn-clear-container {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
}

.chatbot.chatbot-is-empty {
  justify-content: center;
}
.chatbot.chatbot-is-empty .chatbot-row-input {
  margin-top: auto;
  margin-bottom: auto;
}
.chatbot.chatbot-is-empty #chatbot-graph,
.chatbot.chatbot-is-empty .chatbot-conversation,
.chatbot.chatbot-is-empty .chatbot-container,
.chatbot.chatbot-is-empty .chatbot-feedback,
.chatbot.chatbot-is-empty .chatbot-bottom-actions,
.chatbot.chatbot-is-empty .btn-cancel-container {
  display: none !important;
}

.chatbot.chatbot-has-conversation {
  justify-content: flex-start;
}
.chatbot.chatbot-has-conversation .chatbot-row-input {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin-top: 12px;
  padding-top: 16px;
  padding-bottom: 0;
  background: linear-gradient(to top, #fff 72%, rgba(255, 255, 255, 0));
}
.chatbot.chatbot-has-conversation .ask-chatbot-content-container {
  margin-bottom: 12px;
}

.chatbot.chatbot-graph-input-hidden .chatbot-row-input {
  display: none;
}

@media (max-width: 959px) {
  .ask-main {
    padding: 18px 14px 28px;
  }
  #main .chatbot {
    padding-top: 4px;
  }
  .chatbot.chatbot-has-conversation .chatbot-row-input {
    padding-left: 0;
    padding-right: 0;
  }
  .chatbot-row-input {
    padding-left: 0;
    padding-right: 0;
  }
}
.translated-message-separater {
  border-color: #ccc;
  margin: 3px;
}

.translated-message.is_translated,
.google-translation-logo {
  border-left: 4px solid #7ab6cd;
  padding-left: 8px;
  color: #777;
}

.typing-indicator-container {
  display: none;
}

#typing-indicator {
  display: flex;
  gap: 5px;
  margin: 20px 30px 10px;
}

#typing-indicator span {
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

#typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

#typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.8);
  }
  40% {
    transform: scale(1.4);
  }
}
.chatbot-status {
  margin-bottom: 30px;
  min-height: 3em;
  text-align: left;
  color: #767676;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}
.chatbot-status .glyphicon {
  padding-right: 5px;
  font-size: 80%;
  line-height: 1.5;
}
.chatbot-status .chatbot-status-text {
  flex: 1;
  overflow: hidden;
}

.chatbot-container {
  text-align: left;
  line-height: 1.8;
}
.chatbot-container a {
  color: #0394a6;
}
.chatbot-container a:hover, .chatbot-container a:active {
  color: #028595;
}
.chatbot-container sup {
  margin-right: 0;
  color: #f00;
}

#container_loading {
  text-align: center;
  margin-top: 50px;
}
#container_loading .sending-msg {
  font-size: 18px;
  line-height: 1.6;
  color: #999;
}
#container_loading .sending-msg .fa-spinner {
  font-size: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

#term_message {
  padding: 0 10px;
  font-size: 14px;
  color: #999;
  text-align: center;
}

#history_limit_message {
  margin: 12px 0 10px;
  padding: 12px 14px;
  border: 1px solid #f1aeb5;
  border-radius: 8px;
  background: #f8d7da;
  color: #842029;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.chatbot-container .chatbot-inline-reference {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  padding: 0 0.38em;
  margin: 0 0.12em;
  border-radius: 4px;
  background: #d9f0e3;
  color: #027a87;
  font-size: 15px;
  font-weight: normal;
  line-height: 1.6;
  text-decoration: none;
  vertical-align: baseline;
  position: relative;
  top: -0.02em;
}
.chatbot-container .chatbot-inline-reference:visited {
  color: #027a87;
  text-decoration: none;
}
.chatbot-container .chatbot-inline-reference:hover, .chatbot-container .chatbot-inline-reference:active {
  background: rgba(217, 240, 227, 0.7);
  color: #026672;
  text-decoration: none;
}
.chatbot-container .chatbot-inline-reference:focus, .chatbot-container .chatbot-inline-reference:focus-visible {
  color: #027a87;
  text-decoration: none;
  outline: none;
  box-shadow: 0 0 0 2px rgba(3, 148, 166, 0.18);
}

.chatbot-container sup .chatbot-inline-reference {
  font-size: 15px;
}

.chatbot-inline-reference-sup {
  margin-right: 0;
  color: inherit;
  vertical-align: baseline;
  line-height: inherit;
  position: static;
  top: auto;
}

.chatbot-references {
  margin-top: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

.chatbot-references-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.chatbot-references-toggle:hover .chatbot-references-title, .chatbot-references-toggle:focus-visible .chatbot-references-title {
  color: #028595;
}

.chatbot-references-title {
  font-weight: 600;
  font-size: 15px;
  color: #000;
  transition: color 0.2s ease;
}

.chatbot-references-toggle-icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-left: 12px;
}
.chatbot-references-toggle-icon::before, .chatbot-references-toggle-icon::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #6b7280;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.chatbot-references-toggle-icon::before {
  left: 1px;
  transform: rotate(-45deg);
}
.chatbot-references-toggle-icon::after {
  right: 1px;
  transform: rotate(45deg);
}

.chatbot-references.is-expanded .chatbot-references-toggle-icon::before {
  transform: rotate(45deg);
}
.chatbot-references.is-expanded .chatbot-references-toggle-icon::after {
  transform: rotate(-45deg);
}

.chatbot-references-toggle:hover .chatbot-references-toggle-icon::before, .chatbot-references-toggle:hover .chatbot-references-toggle-icon::after,
.chatbot-references-toggle:focus-visible .chatbot-references-toggle-icon::before,
.chatbot-references-toggle:focus-visible .chatbot-references-toggle-icon::after {
  background: #028595;
}

.chatbot-references-body {
  margin-top: 12px;
}

.chatbot-references-list {
  margin: 0;
  padding: 0;
}
.chatbot-references-list .ritem {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  word-break: break-word;
}
.chatbot-references-list .rnum {
  flex: 0 0 auto;
  min-width: 24px;
}
.chatbot-references-list .rtext {
  flex: 1 1 auto;
  min-width: 0;
}
.chatbot-references-list .chatbot-reference-metrics {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.chatbot-references-list .chatbot-reference-metric {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 4px;
  background: #eef6f7;
  color: #48606d;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}
.chatbot-references-list a {
  color: #0394a6;
  text-decoration: none;
}
.chatbot-references-list a:visited {
  color: #0394a6;
}
.chatbot-references-list a:hover, .chatbot-references-list a:active {
  color: #028595;
  text-decoration: none;
}
.chatbot-references-list a:focus, .chatbot-references-list a:focus-visible {
  color: #0394a6;
  text-decoration: none;
  outline: none;
  box-shadow: none;
}
.chatbot-references-list .chatbot-reference-title-link {
  color: #0394a6;
  font-size: 15px;
  text-decoration: none;
}
.chatbot-references-list .chatbot-reference-title-link:visited, .chatbot-references-list .chatbot-reference-title-link:hover, .chatbot-references-list .chatbot-reference-title-link:active, .chatbot-references-list .chatbot-reference-title-link:focus, .chatbot-references-list .chatbot-reference-title-link:focus-visible {
  color: #0394a6;
  text-decoration: none;
}
.chatbot-references-list .chatbot-reference-url {
  margin-top: 2px;
  word-break: break-word;
}
.chatbot-references-list .ref-web-tag {
  color: #5f6b7a;
  white-space: nowrap;
}

.chatbot-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}

.chatbot-data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d8dde6;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
}
.chatbot-data-table th,
.chatbot-data-table td {
  padding: 12px 14px;
  border: 1px solid #d8dde6;
  vertical-align: top;
  text-align: left;
  font-weight: 400;
  background: #fff;
}
.chatbot-data-table thead th {
  font-weight: 700;
  background: #f8f9fb;
}
.chatbot-data-table sup {
  white-space: nowrap;
}

.chatbot-turn {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.chatbot-turn + .chatbot-turn {
  margin-top: 40px;
}
.chatbot-turn > .chatbot-turn-answer-body,
.chatbot-turn > .chatbot-turn-references {
  width: 100%;
  align-self: stretch;
  text-align: left;
}
.chatbot-turn > .chatbot-turn-actions {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  margin-top: 4px;
}
.chatbot-turn > .chatbot-turn-actions > .chatbot-turn-feedback-slot {
  display: flex;
  align-items: center;
  min-height: 32px;
}
.chatbot-turn.is-pending > .chatbot-turn-actions > .chatbot-turn-copy-btn,
.chatbot-turn.is-pending > .chatbot-turn-actions > .chatbot-turn-feedback-slot {
  display: none;
}

.chatbot-turn-question {
  display: inline-block;
  max-width: min(720px, 100%);
  margin-bottom: 16px;
  padding: 12px 18px;
  border-radius: 22px;
  background: rgba(233, 233, 233, 0.5);
  text-align: left;
  line-height: 1.6;
  word-break: break-word;
}

/*# sourceMappingURL=ask.css.map */
