.header-search-wrap { position: relative; min-width: 0; }
.search-status {
  position: absolute;
  top: 3px;
  right: 94px;
  bottom: auto;
  z-index: 2;
  max-width: calc(100% - 112px);
  margin: 0;
  padding: 1px 4px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  overflow: hidden;
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}
.search-status:empty { display: none; }
.search-status.error { color: var(--danger); }
.search-box {
  display: flex;
  min-width: 0;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
}
.search-box:focus-within { border-color: var(--accent); box-shadow: var(--focus-ring); }
.search-box input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0px 12px;
  color: var(--text);
}
.search-box input::placeholder { color: var(--text-faint); }

#idInput:focus-visible {
  outline: none;
  box-shadow: none;
}
.search-box button {
  min-width: 82px;
  margin: 4px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.search-box button:disabled { opacity: 0.55; cursor: progress; }
.suggestions {
  position: absolute;
  z-index: 70;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: none;
  overflow: hidden;
  border: 1px solid var(--panel-line-strong);
  border-radius: 10px;
  background: var(--panel-raised);
  box-shadow: var(--shadow-lift);
}
.suggestions.active { display: block; }
.suggestion-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid var(--panel-line);
  background: transparent;
  text-align: left;
}
.suggestion-item:last-child { border-bottom: 0; }
.suggestion-item:hover, .suggestion-item.active { background: var(--accent-soft); }
.suggestion-name { font-weight: 600; }
.suggestion-meta { color: var(--text-faint); font: 11px "JetBrains Mono", monospace; white-space: nowrap; }
