.menu {
  max-width: 720px;
  margin: 0 auto 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.list {
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px 12px 0 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.item {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr auto;
  gap: 8px 12px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid #f3f4f6;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.item:last-child {
  border-bottom: none;
}

.item:hover,
.itemActive {
  background: #eff6ff;
}

.name {
  color: #1d4ed8;
  font-weight: 600;
  font-family: inherit;
}

.description {
  color: #64748b;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source {
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
}

.hint {
  display: flex;
  gap: 12px;
  padding: 5px 12px;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: #f8fafc;
}

.hint span {
  font-size: 11px;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .source {
    justify-self: start;
  }

  .hint {
    gap: 8px;
    flex-wrap: wrap;
  }
}
