#intellisense-container {
  position: absolute;
  background-color: white;
  z-index: 999999;
  border-radius: 5px;
  filter: drop-shadow(#00000044 3px 3px 3px);
  padding: 5px;
  border: 1px solid #bbbbbb;
  max-height: 35vh;
  max-width: 35vw;
  overflow: auto;
}

div:focus #intellisense-container {
  border: 2px solid #6a93d2 !important;
}

.intellisense-option {
  z-index: 999999;
  .dcg-static-mathquill-view * {
    pointer-events: none;
  }

  * {
    cursor: pointer !important;
  }

  cursor: pointer !important;
}

.intellisense-clickable:hover,
.selected-intellisense-option {
  background-color: #eeeeee;
}

.intellisense-options-table {
  border-spacing: 0;
}

.partial-function-call-container {
  border-bottom: 1px solid #bbbbbb;
}

.pfc-params {
  display: flex;
  flex-wrap: wrap;
  max-width: 60vw;
}

.pfc-param-selected {
  background: #ff8800;
  border-radius: 5px;
}

.pfc-latex {
  display: flex;
}

.pfc-doc-param {
  border-bottom: 1px solid #bbbbbb;
  border-top: 1px solid #bbbbbb;
}

.jump-to-def-btn {
  border-radius: 5px;
  padding: 2px;
  transition: background-color 0.15s;
  cursor: pointer;
  opacity: 0;
}
tr:hover .jump-to-def-btn,
.selected-intellisense-row .jump-to-def-btn {
  opacity: 1;
}

.dsm-intellisense-docstring {
  white-space: pre-line;
}

.dsm-intellisense-jump-to-def-menu {
  overflow-x: hidden;
  background-color: white;
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  top: 30vh;
  left: 30vw;
  width: 40vw;
  height: 40vh;
  z-index: 1;
  border: 1px solid #bbbbbb;
  filter: drop-shadow(#00000044 3px 3px 3px);

  ul {
    list-style: none;
    padding-inline-start: 0px;
  }

  li,
  li * {
    cursor: pointer !important;
  }

  li {
    border-top: 1px solid #bbbbbb;
  }

  li:hover,
  li.selected {
    background-color: #eeeeee;
  }

  .dsm-intellisense-header {
    display: flex;
    margin: 0;

    button {
      background: none;
      border: none;
      width: 50px;
      font-size: 25px;
      cursor: pointer;
      border-radius: 5px;
      transition: opacity 0.25s;
      color: black;
      opacity: 0.2;
    }

    button:hover {
      opacity: 0.6;
    }
  }
}

.intellisense-enabled [data-is-doc] {
  border-bottom: none !important;
}

.intellisense-enabled [data-is-doc] + * {
  border-top: none !important;
}
