html {
  height: 100%;
  overflow: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  margin: 0;
  font-family: Work Sans, sans-serif;
  overflow: auto;
}

#root {
  height: 100%;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace;
}

.hoverable {
  border: 1px solid #0000;
}

.hoverable:hover {
  border: 1px solid var(--colors-brand-gold) !important;
}

.cursor-pointer {
  cursor: pointer;
}

.pointer-events-auto {
  pointer-events: auto;
}

::-webkit-scrollbar {
  display: none;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.App {
  color: #fff;
  height: 100%;
}

.App-logo {
  pointer-events: none;
  height: 40vmin;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: 20s linear infinite App-logo-spin;
  }
}

.App-header {
  color: #fff;
  background-color: #282c34;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  font-size: calc(10px + 2vmin);
  display: flex;
}

.App-link {
  color: #61dafb;
}

.mfa-div {
  flex-direction: row;
  place-items: center;
  width: 100vw;
  height: 100%;
  display: flex;
}

.mfa-form {
  flex-direction: column;
  place-items: center;
  width: 100%;
  display: flex;
}

.mfa-item {
  box-sizing: border-box;
  color: #fff;
  width: 60%;
  margin-bottom: 1em;
  font-family: Anonymous Pro, monospace;
}

.mfa-item .custom-btn {
  margin-bottom: 1em;
}

.cancel-btn {
  color: #ff4c4d;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.full-shade {
  z-index: 20;
  backdrop-filter: blur(2px);
  width: 100vw;
  height: 100%;
  animation-duration: 1s;
  position: fixed;
  top: 0;
}

.graph-modal {
  width: 50%;
  height: 85vh;
  padding: 0;
  position: absolute;
  top: 7.5vh;
  left: 25%;
}

.graph-modal-content {
  color: #fff;
  width: calc(100% - 64px);
  height: calc(100% - 64px);
  padding: 32px;
  animation-duration: 1s;
  position: relative;
  font-family: ocr-a-std, Fallback, sans-serif !important;
}

.graph-modal-content form label {
  background-color: var(--colors-neutral-gray20);
  box-shadow: none;
  border: 1px solid var(--colors-neutral-gray40);
  color: #f2f2f2;
  margin: 0;
}

.graph-modal-content img {
  filter: invert() sepia(0%) saturate(7427%) hue-rotate(11deg) brightness(120%) contrast(120%);
  cursor: pointer;
  width: 2em;
  height: 2em;
  position: absolute;
  top: 8px;
  right: 8px;
}

.search-bar-wrapper {
  width: 100%;
  margin-bottom: var(--spacing-06);
  z-index: 3;
  position: sticky;
  top: -1px;
}

.search-bar-wrapper form label {
  background-color: var(--colors-neutral-gray20);
  box-shadow: none;
  border: 1px solid var(--colors-neutral-gray40);
  color: #f2f2f2;
  margin: 0;
}

.modal-content form {
  flex-direction: column;
  display: flex;
}

.graph-modal-content form button {
  width: 100%;
  margin-top: 4px;
}

.graph-modal-content .delete-form {
  width: calc(100% - 14px);
  position: absolute;
  bottom: 5px;
}

.graph-modal-content > input {
  color: #fff;
  background: #000;
  border-top: none;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: none;
  outline: none;
  margin-bottom: 4px;
  font-family: ocr-a-std, Fallback, sans-serif !important;
}

.graph-modal-content label {
  color: #fff;
  text-align: left;
  background: #000;
  font-family: ocr-a-std, Fallback, sans-serif !important;
}

.file-drag-over {
  border: 1px solid #8ef1ff !important;
}

#file-input {
  z-index: 2;
  color: #0000;
  cursor: pointer;
  background-color: #0000;
  border: none;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  top: 0;
  left: 0;
}

#file-input::file-selector-button {
  display: none;
}

.graph-upload-location {
  width: 80%;
  height: 80%;
  margin: 0 auto;
  position: relative;
}

.graph-upload-location img {
  width: 40%;
  height: auto;
  margin-bottom: 50px;
  position: absolute;
  top: 30%;
  left: 30%;
  filter: invert(9%) saturate(7061%) hue-rotate(173deg) brightness() contrast(65%) !important;
}

.graph-upload-location p {
  text-align: center;
  color: #51ffc8;
  width: 100%;
  font-size: .8em;
  position: absolute;
  top: 80%;
}

.graph-modal-content table {
  background-color: #444;
  border-radius: 12px;
  width: 100%;
  max-height: calc(100% - 6em);
  display: block;
  overflow: scroll;
}

.graph-modal-content tbody {
  width: 100%;
  display: table;
}

.graph-modal-content td {
  white-space: nowrap;
  border-bottom: 1px solid #0000004d;
  width: 100%;
  padding: 8px;
}

.graph-modal-content #lines-0 {
  background-color: #444;
  font-weight: 700;
  position: sticky;
}

.graph-menu {
  color: #fff;
  background: #1c1c1c;
  border: 1px solid #ffffff0d;
  border-radius: 12px;
  width: calc(100% - 64px);
  height: calc(100% - 64px);
  padding: 32px;
  animation-duration: 1s;
  box-shadow: 4px 4px #00000026;
  font-family: ocr-a-std, Fallback, sans-serif !important;
}

.graph-menu-header {
  box-sizing: border-box;
  background-color: #1a1a1a;
  border-bottom: 1px solid #ffffff1a;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 3em;
  display: flex;
  position: absolute;
  top: 1px;
  left: 1px;
}

.graph-menu-header p {
  margin-bottom: -.3em;
  padding-left: 16px;
}

.graph-menu-list {
  width: calc(100% - 32px);
  height: calc(100% - 2.5em);
  position: absolute;
  top: 0;
  left: 16px;
  overflow-y: auto;
}

.graph-menu-list .action-section {
  z-index: 2;
  box-sizing: border-box;
  background-color: #1c1c1c;
  border-bottom: 1px solid #ffffff0f;
  width: 100%;
  height: fit-content;
  padding: 4px;
  display: flex;
  position: sticky;
  top: 0;
}

.action-section i {
  width: 1em;
  height: 1em;
}

.header-text {
  position: relative;
}

.header-text img {
  aspect-ratio: 1;
  filter: invert() sepia(0%) saturate(7445%) hue-rotate(124deg) brightness(106%) contrast();
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
}

.help-text {
  color: #51ffc8;
  font-size: 10px;
  position: absolute;
  top: 100%;
}

@keyframes slideOut {
  from {
    opacity: 1;
    left: 0;
  }

  to {
    opacity: 0;
    left: 100vw;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    left: 100vw;
  }

  to {
    opacity: 1;
    left: 0;
  }
}

@media only screen and (width <= 600px) {
  .graph-modal {
    width: 90%;
    height: 85vh;
    padding: 0;
    position: absolute;
    top: 7.5vh;
    left: 5%;
  }
}

.App {
  background-color: var(--colors-neutral-gray10);
  height: 100%;
  position: relative;
}

.App .modal {
  z-index: 10;
  background: var(--colors-neutral-gray10);
  width: 30em;
  max-width: 100%;
  padding: 8px;
  position: fixed;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}

.App .grayScreen {
  z-index: 9;
  background-color: #969696e6;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.App .slideOutRightCenter {
  animation: .3s forwards slideOutRightCenter !important;
}

.App .custom-modal {
  z-index: 11;
  background: #212121;
  width: 30em;
  max-width: calc(100% - 32px);
  max-height: 50em;
  transition: all .5s;
  position: fixed;
}

.App .custom-modal > p {
  margin: 40px 16px;
  font-size: 1.3125em;
  font-weight: bold;
}

.App .modal-content {
  margin: 40px 12px;
}

.App .modal-content p {
  margin: 8px 0;
  font-size: 1.3125em;
  font-weight: bold;
}

.App .modal-forms {
  margin: 8px auto auto;
}

.App .custom-modal footer {
  width: 100%;
  position: absolute;
  bottom: 0;
}

.App .custom-modal header, .custom-modal nav {
  height: 3em;
  margin: -8px -8px 8px;
}

.App .custom-modal header {
  box-sizing: border-box;
  background: #8ef1ff;
  justify-content: center;
  align-items: center;
  height: fit-content;
  display: flex;
}

.App .custom-modal header img {
  height: 3em;
  padding: 30px;
  filter: invert(0%) sepia(0%) saturate(7500%) hue-rotate(297deg) brightness(101%) contrast(104%) !important;
}

.App .custom-modal header span {
  margin-left: 1.5em;
  font-size: 1.3125em;
}

.App .custom-modal form {
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 6em);
  display: flex;
}

.App .custom-modal form > div {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  min-width: 0;
  margin: 24px 24px 0;
  display: flex;
}

.App .custom-modal nav {
  display: flex;
}

.App .custom-modal nav a {
  cursor: pointer;
  flex: 1;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.App .custom-modal nav a button {
  width: 100%;
}

.App .custom-modal nav button {
  cursor: pointer;
  color: #fff;
  background: #414141;
  border: none;
  border-bottom: 1px solid #414141;
  outline: none;
  flex: 1;
  height: 100%;
  margin-left: 0;
  margin-right: 0;
}

.App .underlined-tab {
  border-bottom: 1px solid #87f0fe !important;
}

.App .slideInRight {
  animation: .3s forwards slideInRight;
}

.App .slideOutRight {
  animation: .3s forwards slideOutRightCenter;
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translate(100%, -50%);
  }

  to {
    opacity: 1;
    transform: translate(50%, -50%);
  }
}

@keyframes slideInRightCenter {
  from {
    opacity: 0;
    right: 0%;
    transform: translate(100%, -50%);
  }

  to {
    opacity: 1;
    right: 50%;
    transform: translate(50%, -50%);
  }
}

@keyframes slideOutRightCenter {
  from {
    opacity: 1;
    right: 50%;
  }

  to {
    opacity: 0;
    right: -50%;
  }
}

.xbox-container {
  right: var(--spacing-02) !important;
  top: var(--spacing-02) !important;
  height: var(--spacing-08) !important;
  width: var(--spacing-08) !important;
  justify-self: end !important;
  position: absolute !important;
}

.xbox-container i {
  width: max-content;
  height: max-content;
}

.modal-header {
  font-size: var(--spacing-04);
  left: var(--spacing-04) !important;
  top: var(--spacing-03half) !important;
  height: var(--spacing-08) !important;
  justify-self: end !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
}

.main-menu-list-changes {
  padding-right: var(--spacing-04);
}

.result-list-changes {
  box-sizing: border-box;
}

.chat-page {
  background-color: var(--colors-neutral-gray10);
  grid-template-rows: 100%;
  grid-template-columns: auto 1fr;
  width: 100%;
  height: 100%;
  display: grid;
  position: relative;
}

.chat-left {
  border-right: 1px solid var(--colors-neutral-gray20);
  background-color: var(--colors-neutral-gray15);
  width: 280px;
  height: 100%;
  overflow-x: visible;
}

.chat-left-close {
  width: 4em;
}

.chat-right {
  grid-template-rows: 100%;
  grid-template-columns: 1fr auto;
  width: 100%;
  height: 100%;
  display: grid;
  position: relative;
  overflow-y: hidden;
}

.chat-side {
  width: 100%;
  height: 100%;
}

.chat-nav-menu {
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  gap: 0;
  width: 100%;
  height: 100%;
  display: grid;
  position: relative;
}

.chat-nav-menu .chat-menu-list {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible auto;
}

.chat-nav-menu .chat-menu-button-wrapper {
  box-sizing: border-box;
  grid-template-rows: 100%;
  grid-template-columns: 1fr auto;
  gap: 1em;
  width: 100%;
  height: 100%;
  padding: 1em;
  display: grid;
  position: relative;
}

.settings-button {
  height: 2em;
  width: 4em !important;
}

.chat-nav-menu .chat-menu-button-wrapper button {
  margin: 0;
}

.chat-menu-list .chat-selector {
  box-sizing: border-box;
  cursor: pointer;
  color: gray;
  border-left: 1px solid #0000;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr auto;
  width: 100%;
  padding: .5em 1em;
  display: grid;
}

.chat-overview {
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: start;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.selected-chat {
  background-color: #000;
  color: var(--colors-neutral-light) !important;
  border-left: 1px solid #fff733 !important;
}

.selected-chat .model-vkg-info {
  color: #fff733 !important;
}

.chat-selector:hover {
  background-color: var(--colors-semi-transparent-light5) !important;
  color: var(--colors-neutral-light) !important;
}

.chat-options {
  display: none;
  position: relative;
}

.chat-selector:hover .chat-options {
  justify-content: end;
  align-items: center;
  gap: var(--spacing-02);
  box-sizing: border-box;
  height: 100%;
  padding: var(--spacing-02);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.chat-options i {
  height: var(--spacing-04);
  width: var(--spacing-04);
  cursor: pointer;
  padding: var(--spacing-02);
}

.chat-options i:hover {
  background-color: var(--colors-neutral-gray30);
  border-radius: var(--spacing-01);
}

.chat-menu-list .chat-selector .model-vkg-info {
  font-family: var(--font-families-stylized), monospace;
  font-size: var(--font-sizes-small);
  color: var(--colors-brand-bright-green);
}

.chat-nav-menu .chat-menu-header {
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  gap: 1em;
  width: 100%;
  height: 4em;
  padding: 1em;
  display: flex;
  position: relative;
}

.chat-nav-menu .chat-menu-header .btn-wrapper {
  text-align: start;
  width: 100%;
  height: fit-content;
}

.chat-nav-menu .chat-menu-header button {
  height: 2em;
  width: 4em !important;
}

.chat-nav-menu .chat-menu-header button span, .settings-button span {
  justify-content: center;
  align-items: center;
  width: 1em;
  height: 1em;
  display: flex;
}

.chat-menu-header > i, .chat-menu-header > img {
  width: 1.5em;
  height: 1.5em;
}

.chat-menu-header > img {
  filter: brightness(0) saturate() invert(99%) sepia(1%) saturate(0%) hue-rotate(46deg) brightness(112%) contrast();
}

.chat-menu-header button {
  width: 100%;
  margin: 0;
}

.has-title {
  width: 1.5em;
  height: 1.5em;
}

.chat-page p {
  margin-bottom: 0;
}

.chat-input-wrapper {
  box-sizing: border-box;
  width: 100%;
  height: 0;
  position: relative;
  bottom: 0;
}

.header-toggle {
  display: none;
}

@media (width <= 900px) {
  .chat-page {
    grid-template-columns: 1fr;
  }

  .chat-left {
    z-index: 5;
    position: absolute;
  }

  .chat-left-close {
    border-bottom: 1px solid var(--colors-neutral-gray20);
    border-right: 0 solid #0000;
    width: 100%;
    height: 4em;
  }

  .chat-menu-header {
    justify-content: flex-start !important;
  }

  .chat-right {
    grid-template-rows: 100% 0;
    grid-template-columns: 1fr;
    height: calc(100% - 4em);
    margin-top: 4em;
  }

  .chat-side {
    height: 100%;
  }

  .header-toggle {
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 1.5em);
    height: 100%;
    padding-left: 8px;
    display: flex;
  }

  .header-toggle .header-span {
    font-size: 1.25em;
  }

  .header-toggle > * {
    margin-bottom: 0;
  }
}

.chat-initialization {
  box-sizing: border-box;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  gap: 2em;
  width: 100%;
  height: 100%;
  padding: 2em;
  display: grid;
  position: relative;
}

.chat-initialization > * {
  max-width: 500px;
}

.chat-info {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
  width: 100%;
  display: flex;
  position: relative;
}

.chat-info img {
  filter: invert(99%) sepia(1%) saturate(0%) hue-rotate(46deg) brightness(112%) contrast();
  width: 100%;
}

.chat-info .chat-blurb {
  text-align: start;
  width: 100%;
}

.chat-selections {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
  width: 100%;
  display: flex;
  position: relative;
}

.search-bar-wrapper {
  width: 100%;
  margin-bottom: var(--spacing-06);
  z-index: 3;
  position: sticky;
  top: 0;
}

.search-bar-wrapper form label {
  background-color: var(--colors-neutral-gray10);
  box-shadow: none;
  border: 1px solid var(--colors-neutral-gray20);
  color: #f2f2f2;
  margin: 0;
}

@media (width <= 900px) {
  .chat-initialization {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 0;
    display: flex;
  }
}

.select-card {
  box-sizing: border-box;
  background-color: var(--colors-neutral-gray5);
  border: 1px solid var(--colors-brand-gold);
  cursor: pointer;
  border-radius: .5em;
  width: 100%;
  padding: .5em;
  position: relative;
}

.select-card:hover {
  background-color: var(--colors-neutral-gray20);
}

.select-card .card-title {
  color: var(--colors-neutral-gray90);
  font-size: var(--font-sizes-normal);
  line-height: var(--font-sizes-normal);
}

.card-wrapper {
  cursor: pointer;
  width: 100%;
  margin-bottom: 1em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.card-wrapper .link-btn div {
  overflow: hidden;
}

.chat-input {
  box-sizing: border-box;
  background-color: var(--colors-neutral-gray5);
  border: 1px solid var(--colors-neutral-gray20);
  border-radius: .75em;
  width: calc(100% - 2.5em);
  height: fit-content;
  margin: 1em 1.25em;
  padding: 1em;
  position: absolute;
  bottom: 0;
}

.submit-icon {
  pointer-events: auto;
  cursor: pointer;
}

.submit-icon-disabled {
  filter: opacity(.5) !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

.chat-feed {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0;
  position: relative;
}

@media (width <= 900px) {
  .chat-feed {
    height: 100%;
  }
}

.param-input {
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1em;
  width: 100%;
  display: grid;
}

.param-input label {
  margin-bottom: var(--spacing-02);
}

.info {
  color: var(--colors-neutral-gray50);
  font-family: var(--font-families-normal);
  margin-bottom: var(--spacing-08);
  font-size: 12px;
}

.citations {
  width: 0;
  height: 100%;
}

@keyframes renderCitations {
  0% {
    opacity: 0;
    display: block;
  }

  1% {
    opacity: .01;
    width: 10px;
    display: block;
  }

  100% {
    opacity: 1;
    width: 400px;
    display: block;
  }
}

.citations-open {
  width: 400px;
  animation-name: renderCitations;
  animation-duration: .2s;
}

.source-toggle {
  white-space: nowrap;
  position: absolute;
  top: 1em;
  right: 1em;
}

.citation-list {
  box-sizing: border-box;
  width: 100%;
  height: calc(100% - 3em);
  margin-top: 3em;
  overflow: auto;
}

.citations-open .citation-list {
  padding: 1em;
}

.citation-tag {
  border: 1px solid var(--colors-semi-transparent-light20);
  background-color: var(--colors-semi-transparent-light5);
  width: 100%;
  height: 68px;
  padding: var(--spacing-02);
  box-sizing: border-box;
  border-radius: 4px;
  grid-template-rows: 100%;
  grid-template-columns: 32px calc(100% - 64px) 32px;
  align-items: center;
  margin-bottom: 1em;
  display: grid;
}

.citation-tag-closed {
  cursor: pointer;
}

.citation-tag:hover {
  background-color: var(--colors-semi-transparent-light10);
}

.citation-tag-open {
  align-items: flex-start;
  height: fit-content;
}

.citation-number {
  font-family: var(--font-families-stylized);
  color: var(--colors-brand-bright-blue);
  aspect-ratio: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
}

.citation-body {
  height: 100%;
  overflow: hidden;
}

.citation-toggle {
  aspect-ratio: 1;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
}

@media (width >= 900px) {
  .citations {
    position: relative;
  }
}

@media (width <= 900px) {
  .citations {
    width: 0;
    height: 0;
    display: none;
  }
}

