.market-scope-selector {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: #111827;
  grid-column: 1 / -1;
  min-width: 0;
  font: inherit;
}
.market-scope-selector select {
  max-width: 100%;
  min-width: 0;
  padding: 9px 28px 9px 10px;
  border: 1px solid #d4d8df;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
}
.results-heading > .market-scope-selector {
  flex-basis: auto;
  justify-content: flex-start;
  padding: 0;
  margin-top: 9px;
}
body[data-search-scope] #sidebar .manager-sidebar-link > span:last-child {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.result-history { margin: 10px 0 0; font-size: 13px; color: #4b5563; }
.result-history summary { cursor: pointer; color: #111827; font-weight: 600; padding: 6px 0; }
.result-history dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0; }
.result-history dd { margin: 3px 0 0; color: #111827; }
.result-history p, .result-history dd { overflow-wrap: anywhere; white-space: pre-line; }
.result-history-note { margin: 6px 0; color: #6b7280; }
@media (max-width: 480px) {
  .market-scope-selector { width: 100%; font-size: 13px; }
  .market-scope-selector select { flex: 1; width: 100%; }
  .result-history dl { grid-template-columns: 1fr; }
}
