#pg-command {
  width: min(700px, calc(100vw - 32px));
  max-width: min(700px, calc(100vw - 32px));
  margin: min(10dvh, 80px) auto auto;
  padding: 20px;
  max-height: calc(100dvh - 48px);
}
#pg-command-results {
  padding: 4px;
}
.pg-search-scope {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 12px;
}
.pg-search-scope select {
  width: auto;
  min-width: 0;
  flex: 1;
  margin: 0;
}
.pg-search-group h3 {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin: 14px 8px 6px;
}
#pg-command-results .pg-search-result {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 5px;
  margin: 2px 0;
  padding: 10px 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.pg-search-result > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.pg-search-result small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
#pg-command-status {
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0 8px;
}
#pg-command-retry[hidden] {
  display: none;
}
