/* Shared persistent select dropdown — no replacement of native value/form state. */
.pb-persistent-select-menu {
  position: fixed;
  z-index: 2147483000;
  display: grid;
  gap: 2px;
  padding: 6px;
  max-width: calc(100vw - 16px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #94a3b8;
  border-radius: 10px;
  background: #fff;
  color: #172033;
  box-shadow: 0 16px 44px rgb(28 36 48 / 25%);
  box-sizing: border-box;
  font: inherit;
  font-size: 14px;
}
.pb-persistent-select-option {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #172033;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.pb-persistent-select-option:hover,
.pb-persistent-select-option:focus-visible,
.pb-persistent-select-option.selected { background: #e8f1ff; color: #164997; }
.pb-persistent-select-option.selected { font-weight: 700; }
.pb-persistent-select-option:disabled { opacity: .45; cursor: not-allowed; }
.pb-persistent-select-group { font-size: 12px; color: #667085; padding: 6px 8px 2px; font-weight: 700; }

/* r55: on iOS the user touches a button, not the WebKit native select. */
select.pb-native-select-proxied {
  position:absolute!important; width:1px!important; height:1px!important;
  min-width:0!important; min-height:0!important; margin:0!important;
  padding:0!important; border:0!important; opacity:0!important;
  clip-path:inset(50%)!important; pointer-events:none!important;
}
.pb-select-proxy-trigger {
  display:inline-flex; align-items:center; justify-content:space-between;
  gap:8px; width:100%; max-width:100%; min-width:0; min-height:38px;
  border:1px solid var(--line-strong,#cbd3dc); border-radius:8px;
  background:var(--panel-bg,#fff); color:inherit;
  padding:7px 27px 7px 10px; font:inherit; text-align:left;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  position:relative; cursor:pointer;
}
.pb-select-proxy-trigger::after {
  content:""; position:absolute; right:11px; top:42%; width:7px; height:7px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:rotate(45deg); opacity:.65;
}
.pb-select-proxy-trigger:disabled { opacity:.48; cursor:not-allowed; }
.pb-select-proxy-trigger:focus-visible { outline:3px solid rgba(91,91,214,.35);outline-offset:2px; }
