.qs-list {
  margin-top: 10px;
  max-height: min(48dvh, 330px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.qs-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) minmax(0, auto) auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 8px;
  border-radius: 5px;
  color: var(--text);
  cursor: pointer;
}
.qs-option:hover {
  background: var(--hover);
}
.qs-option[aria-selected="true"] {
  background: var(--selected);
  box-shadow: inset 2px 0 var(--muted);
}
.qs-title,
.qs-context {
  min-width: 0;
  overflow-wrap: anywhere;
}
.qs-context {
  max-width: 115px;
  font-size: 12px;
  color: var(--muted);
}
.qs-symbol {
  text-align: center;
  color: var(--muted);
}
.qs-current {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 480px) {
  #dialog-body .qs-input {
    font-size: 16px;
  }
  .qs-option {
    min-height: 44px;
    gap: 5px;
  }
  .qs-context {
    max-width: 76px;
  }
}
.qs-symbol .icon {
  width: 17px;
  height: 17px;
}
.qs-status:not(:empty) {
  margin: 10px 0 4px;
  color: var(--muted);
  font-size: 13px;
}
.notebook-search-results {
  margin-top: 4px;
  max-height: min(47dvh, 390px);
}
.notebook-search-results .qs-option {
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 2px;
  padding-block: 9px;
}
.notebook-search-results .qs-symbol {
  grid-column: 1;
  grid-row: 1 / 3;
}
.notebook-search-results .qs-title,
.notebook-search-results .qs-context {
  grid-column: 2;
}
.notebook-search-results .qs-title {
  line-height: 1.5;
}
.notebook-search-results .qs-context {
  max-width: none;
}
.notebook-search-more {
  margin-top: 8px;
}
.qs-shortcut {
  color: var(--dim);
  font: 12px/1.5 var(--font-mono);
  white-space: nowrap;
}
.canvas-nav-heading {
  margin-top: 18px;
}
