.warehouse-hint-host{
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  align-self: start;
  min-width: 0;
  padding-left: 0;
}

.warehouse-hint-host[hidden]{
  display: none !important;
}

.warehouse-hint-frame{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: min(72vw, 980px);
  padding: 6px 10px;
  border: 1px solid #91a1ad;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(237, 242, 247, 0.98));
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
  overflow: hidden;
  animation: warehouseHintIn .22s ease forwards;
}

.warehouse-hint-prompt{
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: clamp(280px, 36vw, 430px);
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.warehouse-hint-prompt-text{
  overflow: hidden;
  text-overflow: ellipsis;
}

.warehouse-hint-actions{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.warehouse-hint-btn{
  height: 28px;
  margin: 0;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.warehouse-hint-btn:hover{
  background: #f8fafc;
}

.warehouse-hint-btn.accept{
  border-color: #0f766e;
  background: linear-gradient(180deg, #20c9bb, #0fa597);
  color: #ffffff;
}

.warehouse-hint-btn.accept:hover{
  background: linear-gradient(180deg, #1bb7ab, #0d9488);
}

.warehouse-hint-track{
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.warehouse-hint-chip{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 220px;
  padding: 5px 10px;
  border: 1px solid #9fb0bd;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.warehouse-hint-chip-label{
  overflow: hidden;
  text-overflow: ellipsis;
}

.warehouse-hint-chip-count{
  color: #0f766e;
  font-weight: 800;
}

@keyframes warehouseHintIn{
  from{
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1200px){
  .warehouse-hint-frame{
    max-width: min(72vw, 820px);
  }
}

@media (max-width: 900px){
  .warehouse-hint-frame{
    gap: 8px;
    padding: 6px 8px;
    max-width: min(68vw, 620px);
  }

  .warehouse-hint-prompt{
    max-width: min(42vw, 320px);
    font-size: 12px;
  }

  .warehouse-hint-chip{
    max-width: 180px;
    font-size: 11px;
  }
}
