/* Only an enhanced native select gets the compact visual treatment. */
.worksheet-country-picker--ready {
  position: relative;
  display: inline-grid;
  isolation: isolate;
  inline-size: 6rem;
  max-inline-size: 100%;
  min-block-size: 44px;
  vertical-align: middle;
  color: #252525;
}
.worksheet-country-picker--ready > .worksheet-country-picker__display[hidden] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  inline-size: 100%;
  min-block-size: 44px;
  padding-inline: .65rem;
  background: #fff;
  border: 1px solid #8b8b84;
  border-radius: 0;
  color: inherit;
  pointer-events: none;
}
.worksheet-country-picker__code {font-variant-numeric: tabular-nums;white-space: nowrap;}
.worksheet-country-picker__display::after {
  content: "";
  inline-size: .45rem;
  block-size: .45rem;
  flex: 0 0 auto;
  border-inline-end: .1rem solid currentColor;
  border-block-end: .1rem solid currentColor;
  transform: translateY(-.1rem) rotate(45deg);
}
.worksheet-country-picker--ready > select.worksheet-country-picker__native {
  position: absolute;
  inset: 0;
  z-index: 1;
  inline-size: 100%;
  block-size: 100%;
  min-inline-size: 0;
  min-block-size: 44px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  font-size: max(1rem, 16px);
}
.worksheet-country-picker--ready:focus-within {outline: 2px solid #292929;outline-offset: 3px;}
.worksheet-country-picker--disabled > .worksheet-country-picker__display[hidden] {opacity: .65;}
.worksheet-country-picker--disabled > select.worksheet-country-picker__native {cursor: default;}
@media (forced-colors: active) {
  .worksheet-country-picker--ready {color: ButtonText;}
  .worksheet-country-picker--ready > .worksheet-country-picker__display[hidden] {
    background: ButtonFace;
    border-color: ButtonText;
  }
  .worksheet-country-picker--ready:focus-within {outline-color: Highlight;}
}
