.mg-scan-suggestions {
  position: fixed;
  z-index: 1200;
  box-sizing: border-box;
  overflow-y: auto;
  color: #203142;
  background: #fff;
  border: 1px solid #cdd8e3;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgb(25 44 65 / 20%);
  font-size: 14px;
  line-height: 1.35;
  overscroll-behavior: contain;
}
.mg-scan-suggestions[hidden] { display: none !important; }
.mg-scan-suggestions ul { margin: 0; padding: 6px; list-style: none; }
.mg-scan-suggestion {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px;
  border-radius: 7px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.mg-scan-suggestion[aria-selected="true"], .mg-scan-suggestion:hover { background: #eaf3fc; }
.mg-scan-suggestion-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mg-scan-suggestion:first-child .mg-scan-suggestion-heading { padding-right: 22px; }
.mg-scan-suggestion-heading strong { color: #135a9d; font-size: 15px; font-variant-numeric: tabular-nums; }
.mg-scan-suggestion-source { color: #526679; white-space: nowrap; font-size: 11px; }
.mg-scan-suggestion-name { font-weight: 500; }
.mg-scan-suggestion-detail {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #526679;
  font-size: 12px;
}
.mg-scan-suggestion-status { margin: 0; padding: 10px 34px 10px 16px; border-top: 1px solid #e6edf4; color: #526679; font-size: 12px; }
.mg-scan-suggestions .mg-scan-suggestions-close {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 1;
  width: 30px;
  height: 30px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: #526679;
  background: transparent;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
.mg-scan-suggestions .mg-scan-suggestions-close:hover { background: #eaf3fc; }
.mg-scan-suggestions .mg-scan-suggestions-close:focus-visible { outline: 2px solid #135a9d; outline-offset: -3px; }
.scan-number-suggestions { margin: 12px 0; padding: 12px; border: 1px solid #9ab9d5; border-radius: 9px; background: #f1f7fd; }
.scan-number-suggestions p { margin: 0 0 8px; font-size: 13px; line-height: 1.5; }
.scan-number-suggestions button { display: block; width: 100%; margin: 6px 0 0; padding: 10px 12px; text-align: left; overflow-wrap: anywhere; }
html[data-theme="dark"] .scan-number-suggestions { background: #182c40; border-color: #507b9e; color: #e9f2fa; }
