/* Patent-annuity cleanup and homepage-style public currency picker. */
.pa-hero .ps-button[href="/contact/"],
.pa-hero a[href="/contact/"] {
  display: none !important;
}

body.ps-site select.pkm-currency-native-v38242 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.ps-site .pkm-currency-picker-v38242 {
  position: relative;
  width: 100%;
  min-width: 0;
  color: #102543;
  font-size: 14px;
}

body.ps-site .pq-list-search .pkm-currency-trigger-v38242,
body.ps-site .patent-currency .pkm-currency-trigger-v38242,
body.ps-site .business-front-controls .pkm-currency-trigger-v38242,
body.ps-site .pkm-currency-trigger-v38242 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 20px !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 10px 0 13px !important;
  border: 1px solid #cfdbea !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  color: #102543 !important;
  box-shadow: 0 1px 2px rgba(15, 52, 96, .04) !important;
  font: inherit !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-align: left !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease !important;
}

body.ps-site .pq-list-search .pkm-currency-trigger-v38242:hover,
body.ps-site .patent-currency .pkm-currency-trigger-v38242:hover,
body.ps-site .business-front-controls .pkm-currency-trigger-v38242:hover,
body.ps-site .pkm-currency-trigger-v38242:hover {
  border-color: #8fb2e7 !important;
  background: #f8fbff !important;
  color: #075bcf !important;
  box-shadow: 0 0 0 3px rgba(12, 89, 219, .08) !important;
}

body.ps-site .pkm-currency-picker-v38242.is-open .pkm-currency-trigger-v38242,
body.ps-site .pkm-currency-trigger-v38242:focus-visible {
  outline: 0 !important;
  border-color: #6e9ee2 !important;
  background: #ffffff !important;
  color: #075bcf !important;
  box-shadow: 0 0 0 3px rgba(12, 89, 219, .10) !important;
}

body.ps-site .pkm-currency-trigger-value-v38242 {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.ps-site .pkm-currency-trigger-arrow-v38242 {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #edf5ff;
}

body.ps-site .pkm-currency-trigger-arrow-v38242::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #1763d7;
  border-bottom: 1.5px solid #1763d7;
  transform: rotate(45deg);
  transition: transform .18s ease, top .18s ease;
}

body.ps-site .pkm-currency-picker-v38242.is-open .pkm-currency-trigger-arrow-v38242::after {
  top: 8px;
  transform: rotate(225deg);
}

body.ps-site .pkm-currency-menu-v38242 {
  position: absolute;
  z-index: 180;
  top: calc(100% + 7px);
  right: 0;
  width: 256px;
  max-width: min(256px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid #d4dfed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 52, 96, .17);
}

body.ps-site .pkm-currency-menu-v38242[hidden] {
  display: none !important;
}

body.ps-site .pkm-currency-search-wrap-v38242 {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 10px;
  border-bottom: 1px solid #edf2f8;
  background: rgba(255, 255, 255, .98);
}

body.ps-site .pkm-currency-search-v38242 {
  display: block !important;
  width: 100% !important;
  height: 37px !important;
  min-height: 37px !important;
  margin: 0 !important;
  padding: 0 11px !important;
  border: 1px solid #d6e1ee !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  color: #102543 !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 13px !important;
}

body.ps-site .pkm-currency-search-v38242:focus {
  outline: 0 !important;
  border-color: #8eb1ee !important;
  box-shadow: 0 0 0 3px rgba(12, 89, 219, .08) !important;
}

body.ps-site .pkm-currency-options-v38242 {
  max-height: 320px;
  overflow: auto;
  padding: 7px;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #adc2de transparent;
}

body.ps-site .pkm-currency-options-v38242::-webkit-scrollbar { width: 7px; }
body.ps-site .pkm-currency-options-v38242::-webkit-scrollbar-track { background: transparent; }
body.ps-site .pkm-currency-options-v38242::-webkit-scrollbar-thumb {
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #adc2de;
}

body.ps-site .pq-list-search .pkm-currency-option-v38242,
body.ps-site .patent-currency .pkm-currency-option-v38242,
body.ps-site .business-front-controls .pkm-currency-option-v38242,
body.ps-site .pkm-currency-option-v38242 {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) 18px !important;
  align-items: center !important;
  gap: 7px !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 0 3px !important;
  padding: 8px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  color: #243b5a !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease !important;
}

body.ps-site .pkm-currency-option-v38242:last-child { margin-bottom: 0 !important; }

body.ps-site .pq-list-search .pkm-currency-option-v38242:hover,
body.ps-site .pq-list-search .pkm-currency-option-v38242:focus-visible,
body.ps-site .patent-currency .pkm-currency-option-v38242:hover,
body.ps-site .business-front-controls .pkm-currency-option-v38242:hover,
body.ps-site .pkm-currency-option-v38242:hover,
body.ps-site .pkm-currency-option-v38242:focus-visible {
  outline: 0 !important;
  border-color: #d5e5fb !important;
  background: #f2f7ff !important;
  color: #075bcf !important;
}

body.ps-site .pq-list-search .pkm-currency-option-v38242[aria-selected="true"],
body.ps-site .patent-currency .pkm-currency-option-v38242[aria-selected="true"],
body.ps-site .business-front-controls .pkm-currency-option-v38242[aria-selected="true"],
body.ps-site .pkm-currency-option-v38242[aria-selected="true"] {
  border-color: transparent !important;
  background: #ffffff !important;
  color: #075bcf !important;
  font-weight: 700 !important;
}

body.ps-site .pkm-currency-option-v38242[aria-selected="true"]::after {
  content: "✓";
  color: #075bcf;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

body.ps-site .pkm-currency-code-v38242 {
  color: inherit;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}

body.ps-site .pkm-currency-name-v38242 {
  min-width: 0;
  overflow-wrap: anywhere;
  color: inherit;
}

body.ps-site .pkm-currency-empty-v38242 {
  padding: 18px 12px;
  color: #7d8ca3;
  font-size: 13px;
  text-align: center;
}

@media (min-width: 1051px) {
  body.ps-site .cn-list-toolbar .pq-list-search label:has(> select[name="currency"]) {
    width: 150px !important;
    flex: 0 0 150px !important;
    min-width: 150px !important;
  }
}

@media (max-width: 680px) {
  body.ps-site .pkm-currency-menu-v38242 {
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
  }
}
