/* GET contribution participant selector: only affects #get-member-select on contribution form. */
.get-status-native.is-enhanced { position:absolute!important; width:1px!important; height:1px!important; opacity:0!important; pointer-events:none!important; clip-path:inset(50%)!important; }
.get-member-picker { position:relative; width:100%; font-size:14px; }
.get-member-trigger { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:46px; padding:10px 13px; border:1px solid #47645b; border-radius:10px; background:#20372f; color:#f4f8f6; text-align:left; cursor:pointer; font:inherit; }
.get-member-trigger:focus-visible,.get-member-option:focus-visible {outline:2px solid #68dfae;outline-offset:2px}
.get-member-display {display:flex; align-items:center; justify-content:space-between; gap:12px; flex:1; min-width:0}
.get-member-display .get-name {overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.get-member-label {font-size:12px; font-weight:700; flex-shrink:0; white-space:nowrap}
.get-member-label.due {color:#f5a740}.get-member-label.paid,.get-member-label.credit {color:#4bdda0}
.get-member-popover {z-index:50; position:absolute; top:calc(100% + 4px); left:0; right:0; max-height:min(60vh,430px); overflow-y:auto; overscroll-behavior:contain; border:1px solid #456459; border-radius:12px; padding:5px; background:#182c25; box-shadow:0 15px 32px #0006}
.get-member-popover[hidden] {display:none!important}
.get-member-heading {padding:11px 10px 5px; font-size:11px; letter-spacing:.06em; text-transform:uppercase; font-weight:700; color:#b3c7bc;}
.get-member-option {display:flex; justify-content:space-between; align-items:center; gap:12px; width:100%; border:0; border-radius:8px; padding:10px; background:transparent; color:#eff7f2; cursor:pointer; font:inherit; text-align:left}
.get-member-option:hover,.get-member-option[aria-selected="true"] {background:#29483b}
@media(max-width:520px){.get-member-popover {max-height:48vh}.get-member-option {padding:12px 9px}}

/* v2.4.1: Full-height scrollable participant list on narrow/mobile screens.
   Keep the native form select and existing JS selection logic unchanged. */
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .get-member-popover:not([hidden]) {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    height: min(72vh, 640px);
    height: min(72dvh, 640px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    z-index: 9999;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    box-sizing: border-box;
  }
  .get-member-option {min-height: 46px;}
  .get-member-heading {position: sticky; top: 0; z-index: 1; background: #182c25;}
}
