.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}

.panel {
  width: min(780px, 96vw);
  max-height: min(600px, 90vh);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--glass-bg);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inputWrapper {
  position: relative;
}

.shortcutBadge {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: inline-flex;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--color-text-secondary);
  background: var(--color-bg-muted);
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.results {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.emptyState {
  padding: 64px 24px;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 15px;
}

.loading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resultsList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.closeHint {
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px 20px;
  border-top: 1px solid var(--color-border-light);
  font-size: 12px;
  color: var(--color-text-secondary);
}
