/* The ticket name list is a top-layer popover, so cost cards cannot clip it. */
.ticket-name-autocomplete {
  position: fixed;
  inset: auto;
  z-index: 1000;
  box-sizing: border-box;
  margin: 0;
  padding: 4px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
  color: #253858;
  box-shadow: 0 8px 24px #172b4d1f;
  font: inherit;
}
.ticket-name-autocomplete [role="option"] {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.ticket-name-autocomplete [role="option"] strong { font-size: 13px; font-weight: 600; }
.ticket-name-autocomplete [role="option"] span,
.ticket-name-autocomplete-empty { color: #78869a; font-size: 12px; line-height: 1.5; }
.ticket-name-autocomplete [role="option"]:hover,
.ticket-name-autocomplete [aria-selected="true"] { background: #f0f3fd; }
.ticket-name-autocomplete-empty { padding: 10px; }
