html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  font: inherit;
  vertical-align: baseline;
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input, button, textarea, select {
  font: inherit;
}

html * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
}

:root {
  --primary-color: #393e46;
  --secondary-color: #222831;
  --secondary-color-lighten-20: #4c596d;
  --secondary-color-lighten-40: #7b8ba4;
  --tertiary-color: #eee;
  --error-color: #ef4040;
  --bg-color: #fafafa;
  --secondary-bg-color: #f0f0f0;
  --text-color: #333;
  --text-color-lighten-20: white;
  --icon-color: var(--primary-color);
  --light-text-color: #fff;
  --button-primary-color: var(--primary-color);
  --button-primary-bgcolor: #fff;
  --button-secondary-color: var(--text-color);
  --button-secondary-bgcolor: $ bg-color;
  --border-color: #d5d8dc;
  --border-hover-color: #9ca3af;
  --border-focus-color: #808998;
  --box-shadow-color: #c4ccd55e;
  --box-shadow-modal-color: #444;
  --modal-header-bg-color: var(--primary-color);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #4f5b66;
    --secondary-color: #1c2025;
    --secondary-color-lighten-20: #48525f;
    --secondary-color-lighten-40: #768597;
    --tertiary-color: #d1d1d1;
    --error-color: #ff6b6b;
    --bg-color: #121212;
    --secondary-bg-color: #222;
    --text-color: #fafafa;
    --text-color-lighten-20: white;
    --icon-color: var(--text-color);
    --light-text-color: #fff;
    --button-primary-color: #fff;
    --button-primary-bgcolor: var(--primary-color);
    --button-secondary-color: var(--text-color);
    --button-secondary-bgcolor: var(--bg-color);
    --border-color: #9ca7b2;
    --border-hover-color: #d5dadf;
    --border-focus-color: #f2f4f5;
    --box-shadow-color: #2830394d;
    --box-shadow-modal-color: #444;
    --modal-header-bg-color: var(--bg-color);
  }
}

.user-chat-message {
  font-variation-settings: "wght" 600;
}

#chat-title, .button-primary, ul li.selected, label, .modal-header h2 {
  font-variation-settings: "wght" 900;
}

.drop-down-menu-items, #sidebar, .list-item.selected, .chat-message-menu, .hamburger-menu:hover, #chat-header, .active-tab-button, .button-primary {
  box-shadow: 0 2px 5px var(--box-shadow-color);
}

.list-item.hover, .button:hover, .button.selected, input:focus, textarea:focus, [contenteditable]:focus {
  box-shadow: 2px 0 6px var(--box-shadow-color) inset;
}

.notification, .modal-content {
  box-shadow: 0 0 15px var(--box-shadow-modal-color);
}

.row {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

.grw {
  flex-grow: 1;
}

.grw-6 {
  flex-grow: 6;
}

.flex-align-end {
  align-self: flex-end;
}

.justify-left {
  justify-content: left;
}

.height-100 {
  height: 100%;
}

html * {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Ubuntu, Roboto, Helvetica Neue, Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: .5em;
  margin-bottom: .5em;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

.icon {
  margin-right: .25rem;
}

i[class^="icon-"] {
  color: var(--icon-color);
  vertical-align: middle;
  filter: grayscale();
  font-size: .75rem;
}

svg {
  vertical-align: middle;
  width: 1.5rem;
  height: 1.5rem;
}

.user-icon {
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: .25rem .75rem 0 0;
  font-size: .75rem;
  display: flex;
}

.system-icon {
  color: var(--text-color);
  background-color: var(--tertiary-color);
}

.you-icon {
  background-color: var(--text-color);
  color: var(--bg-color);
}

.icon-export:before {
  content: "🗨⬇";
}

.icon-flag:before {
  content: "❗";
}

.icon-bad:before {
  content: "👎";
}

.icon-good:before {
  content: "👍";
}

.icon-close:before {
  content: "×";
}

.icon-download:before {
  content: "💾";
}

.icon-copy:before {
  content: "📋";
}

.icon-selected:before {
  content: "›";
}

.icon-edit:before {
  content: "🖋";
}

.icon-new:before {
  content: "+";
  font-size: .875rem;
}

.icon-search:before {
  content: "🔍";
}

.icon-clear:before {
  content: "🗑";
}

.icon-settings:before {
  content: "🛠";
}

.icon-refresh:before {
  content: "↻";
}

.icon-send:before {
  content: "📩";
}

.icon-delete-alt:before {
  content: "❌";
}

.icon-delete:before {
  content: "✖";
}

.icon-abort:before {
  content: "×";
  color: var(--red);
}

.icon-save:before {
  content: "💾";
}

.icon-menu:before {
  content: "⋮";
}

.icon-user:before {
  content: "👤";
}

.icon-robot:before {
  content: "🤖";
}

.icon-speech:before {
  content: "💬";
}

.icon-speech2:before {
  content: "🗨";
}

.icon-scroll-to-top:before {
  content: "↥";
}

.icon-scroll-to-end:before {
  content: "↧";
}

:root svg rect {
  fill: var(--text-color);
  stroke: var(--bg-color);
}

:root .icon-settings rect {
  stroke: var(--text-color);
  fill: var(--bg-color);
}

@media (prefers-color-scheme: dark) {
  :root svg rect {
    fill: var(--text-color);
    stroke: var(--bg-color);
  }
}

.modal {
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  background-color: #00000080;
  width: 100%;
  height: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  overflow: scroll;
}

.modal-header {
  background-color: var(--modal-header-bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1rem;
  font-weight: 700;
}

.modal-header .button {
  color: var(--text-color);
  background-color: var(--bg-color);
  border-radius: .1rem;
  padding: .35rem;
  line-height: .5rem;
}

.modal-header h2 {
  color: var(--light-text-color);
}

.modal-content {
  background: var(--bg-color);
  width: 640px;
  min-width: 320px;
  max-width: 50vw;
  margin: auto;
}

.modal-body {
  padding: 1rem;
}

.modal.show {
  z-index: 20000;
  opacity: 1;
}

label {
  padding-bottom: .5rem;
  display: block;
}

textarea {
  resize: none;
  padding: .5rem;
}

input, textarea {
  border: 1px solid var(--border-color);
  width: 100%;
  padding: .5rem .75rem;
  display: inline-block;
}

input.error, textarea.error {
  border: 1px solid var(--error-color) !important;
}

input:focus, textarea:focus, [contenteditable]:focus {
  border: 1px solid var(--border-color);
  border-color: var(--secondary-color-lighten-40);
  outline: none !important;
}

input:hover, textarea:hover {
  border: 1px solid var(--secondary-color-lighten-40);
}

.input {
  margin-bottom: .5rem;
}

ul {
  flex-direction: column;
  width: 100%;
  display: flex;
}

ul li {
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid #0000;
  justify-content: left;
  width: 100%;
  padding: .5rem .75rem;
  display: flex;
  position: relative;
}

ul li .col {
  text-overflow: "";
  overflow: hidden;
}

ul li button {
  visibility: hidden;
  padding: 0 .5rem;
}

ul li.selected, ul li.hover {
  border-top-color: #cccccc5e;
}

ul li.hover button {
  visibility: visible;
}

ul li.hover:after {
  display: none;
}

button {
  background-color: var(--button-secondary-bgcolor);
  z-index: 1;
  cursor: pointer;
  border: none;
}

.button {
  cursor: pointer;
  border-radius: 3px;
  padding: .5rem .75rem;
}

.button i {
  vertical-align: middle;
  display: inline-block;
}

.button:hover {
  position: relative;
  top: 1px;
}

.button-sm {
  padding: .25rem .5rem;
}

.button:hover i[class^="icon-"], .button.selected i[class^="icon-"] {
  filter: grayscale(0%);
}

.button-small {
  padding: .25rem 1rem;
}

.button-mini {
  padding: 0;
}

.buttons {
  display: flex;
}

.buttons .button {
  border-radius: 0;
  width: 100%;
}

.button-large {
  padding: 0 2rem;
}

.hidden {
  display: none;
}

.float-right {
  float: right;
}

.mt-1 {
  margin-top: .5rem;
}

.d-inline {
  display: inline-block;
}

.d-block {
  display: block;
}

.waiting {
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: 2s linear infinite spin;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .7;
    transform: scale(1.3);
  }

  100% {
    opacity: .8;
    transform: scale(.9);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .7;
    transform: scale(1.2);
  }
}

@keyframes change-color {
  0% {
    background-color: #00f;
  }

  33% {
    background-color: red;
  }

  67% {
    background-color: green;
  }

  100% {
    background-color: #00f;
  }
}

body, html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  color: var(--text-color);
  background-color: var(--bg-color);
}

.chat-link {
  display: inline-block;
}

a {
  text-decoration: none;
}

.max-width-80 {
  max-width: 80%;
}

.text-right {
  text-align: right;
}

ul li {
  transition: all .3s;
}

#sidebar {
  transition: min-width .5s ease-out, max-width .5s ease-out;
}

#sidebar.collapsed {
  transition: min-width .5s ease-in, max-width .5s ease-in;
}

.modal {
  opacity: 0;
  transition: opacity .5s;
}

.modal .modal-content {
  transition: transform .5s ease-in;
  transform: scale(.9);
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
  transition: opacity .5s;
}

.modal.show .modal-content {
  transition: transform .5s ease-out;
  transform: scale(1);
}

@media (width <= 1024px) {
  html {
    font-size: .875rem;
  }
}

@media (width <= 768px) {
  html {
    font-size: .75rem;
  }
}

.hoverable {
  visibility: collapse;
  transition: visibility;
}

.hover .hoverable {
  visibility: visible;
  transition: visibility .7s ease-in-out;
}

.tab-container {
  border: 1px solid #ccc;
  display: flex;
}

.tab-button {
  cursor: pointer;
  background-color: #f0f0f0;
  border: none;
  outline: none;
  padding: 10px 20px;
}

.tab-content {
  display: none;
}

#chat-app {
  flex-direction: column;
  height: 100vh;
  display: flex;
}

#chat-header {
  z-index: 4;
  border-bottom: 1px solid #ddd;
}

#chat-header .button {
  height: 100%;
}

.hamburger-menu {
  cursor: pointer;
  padding-left: .75rem;
  padding-right: .5rem;
  display: inline-block;
}

.hamburger-menu .bar {
  background-color: #333;
  width: 1.5rem;
  height: 2px;
  margin: 6px 0;
  transition: all .4s;
}

#chat-history {
  -webkit-mask-image: linear-gradient(180deg, var(--white) 95%, transparent);
  mask-image: linear-gradient(180deg, var(--white) 95%, transparent);
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
  max-width: 1024px;
  padding-top: 1rem;
  display: flex;
  overflow-y: auto;
}

.chat-message {
  padding: 0 .5rem .5rem;
  position: relative;
}

.chat-message .drop-down-menu {
  z-index: 100;
  position: absolute;
  top: 0;
  right: 0;
}

.user-chat-message .system-icon {
  display: none;
}

.assistant-chat-message {
  margin-bottom: .5rem;
}

.assistant-chat-message .you-icon {
  display: none;
}

.chat-message-menu {
  background: var(--bg-color);
  z-index: 300;
  padding: .5rem;
  position: absolute;
}

#chat-form {
  border-top: 1px solid #cccccc5e;
  flex: 0 0 60px;
  align-items: center;
  display: flex;
}

#chat-form .textarea {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  display: flex;
}

#chat-form .buttons {
  height: 100%;
  display: flex;
  position: relative;
}

#chat-form button {
  background-color: var(--bg-color);
}

#chat-form textarea {
  resize: none;
  border: 0;
  padding: 1rem;
}

#chat-form .icon-send {
  font-size: 1.2rem;
}

#message-input {
  width: 100%;
  padding: .25rem;
}

.chat-list-item {
  z-index: 2;
}

.chat-list-item .chat-title {
  -webkit-mask-image: linear-gradient(90deg, var(--white) 95%, transparent);
  mask-image: linear-gradient(90deg, var(--white) 95%, transparent);
}

.chat-list-item .button {
  padding: .25rem .75rem;
}

.list-item.selected {
  background: var(--white);
  z-index: 2;
}

.list-item.hover {
  z-index: 3;
}

#chat-area {
  flex-direction: row;
  flex-grow: 1;
  display: flex;
  overflow: auto;
}

#chat-menu-button {
  background-color: var(--secondary-bg-color);
}

#chat-model-info {
  padding: .25rem;
  box-shadow: inset 1px 1px 2px #ddd;
}

#chat-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: .5rem .25rem;
  font-size: 1.2rem;
  overflow: hidden;
}

#sidebar {
  background-color: var(--secondary-bg-color);
  border-right: 1px solid #cccccc5e;
  min-width: 200px;
  max-width: 480px;
  overflow-y: auto;
}

#sidebar .buttons {
  flex-grow: 1;
  width: 100%;
  display: flex;
}

#search-input {
  padding-left: .75rem;
}

#sidebar.collapsed {
  min-width: 0;
  max-width: 0;
  padding: 0;
}

#new-chat-button {
  padding: .5rem 1.25rem;
}

.drop-down-menu {
  position: relative;
}

.drop-down-menu-items {
  background: var(--bg-color);
  white-space: nowrap;
  font-size: .75rem;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

.drop-down-menu-items i[class^="icon-"]:before {
  padding-right: .5rem;
}

.drop-down-menu-items .text {
  padding: .5rem;
}

.drop-down-menu-items.visible {
  z-index: 10000;
  display: inline-block;
}

.drop-down-menu-right .drop-down-menu-items {
  left: auto;
  right: 0 !important;
}

.drop-down-menu-top .drop-down-menu-items {
  top: auto;
  bottom: 100%;
}

.notification {
  z-index: 30000;
  color: var(--text-color);
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  width: calc(100vw - 2rem);
  margin: 1rem;
  padding: 1rem;
  position: fixed;
  top: 0;
  left: 0;
}

.notification .button {
  border-radius: 2px;
  padding: .5rem;
  line-height: .5rem;
}

.notification-error {
  background: var(--error-color);
}

.speech {
  border: var(--border) solid black;
  background: #f0f0f0;
  border-radius: 10px;
  max-width: 300px;
  margin: 40px;
  padding: 20px;
  position: relative;
}

.speech:after {
  content: "";
  z-index: 1;
  border: 10px solid #0000;
  border-left-width: 0;
  border-right: 20px solid #f0f0f0;
  width: 0;
  display: block;
  position: absolute;
  top: calc(50% - 10px);
  left: -20px;
}

/*# sourceMappingURL=index.7388f1a7.css.map */
