.field-row {
    position: relative;        /* 讓候選清單可以靠這個定位 */
    display: inline-block;
}

/* 外框：像一般選單的下拉框 */
.suggest-list {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: .25rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    min-width: 320px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

/* 每一筆候選 */
.suggest-item {
  padding: .35rem .75rem;
  cursor: pointer;
  line-height: 1.4;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* 條碼 / 客代比較像 code 的感覺可以用等寬字體，如果你想要： */
  /* font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; */
  white-space: nowrap;       /* 不換行，超出時往右捲 */
}

/* 滑過去高亮 */
.suggest-item:hover {
  background: #f0f4ff;
}

/* 第一次 / 最後一行邊角圓一點 */
.suggest-item:first-child {
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}
.suggest-item:last-child {
  border-bottom-left-radius: .5rem;
  border-bottom-right-radius: .5rem;
}

