/* Editable Select2 search must stay readable without mobile input zoom. */
@media(max-width:1200px) {
  html:has(body.as-site-shell.as-select-open),
  body.as-site-shell.as-select-open { overflow:hidden!important; overscroll-behavior:none; }
  body.as-site-shell .as-select-backdrop { position:fixed; inset:0; z-index:10050; background:#1A1A2E; opacity:.35; }
  body.as-site-shell .as-mobile-select-sheet { position:fixed!important; top:calc(var(--as-select-top,0px) + 12px)!important; left:50%!important; transform:translateX(-50%); width:calc(100% - 24px)!important; max-width:560px; height:calc(var(--as-select-height,100dvh) - 24px)!important; z-index:10060; }
  body.as-site-shell .as-mobile-select-sheet .select2-dropdown { position:static!important; display:flex!important; flex-direction:column; width:100%!important; height:100%; min-height:0; margin:0!important; padding:0; border:1px solid #E5EAF2; border-radius:16px; overflow:hidden; background:#FFFFFF; color:#1A1A2E; font-family:Poppins,sans-serif; }
  body.as-site-shell .as-mobile-select-sheet .select2-dropdown::before,
  body.as-site-shell .as-mobile-select-sheet .select2-dropdown::after { display:none!important; }
  body.as-site-shell .as-select-header { display:flex; flex:none; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; border-bottom:1px solid #E5EAF2; }
  body.as-site-shell .as-select-header strong { min-width:0; font:600 18px/1.3 Poppins,sans-serif; overflow-wrap:anywhere; }
  body.as-site-shell .as-select-close { flex:none; width:48px; height:48px; padding:0; border:1px solid #E5EAF2; border-radius:12px; background:#F7F9FB; color:#1A1A2E; font:400 28px/1 Poppins,sans-serif; }
  body.as-site-shell .as-mobile-select-sheet .select2-search--dropdown { flex:none; padding:12px 16px; }
  body.as-site-shell .as-mobile-select-sheet .select2-search__field { width:100%!important; height:48px; margin:0; padding:10px 12px; border:1px solid #E5EAF2; border-radius:12px; background:#FFFFFF; color:#1A1A2E; font:400 16px/1.5 Poppins,sans-serif; }
  body.as-site-shell .as-mobile-select-sheet .select2-results { display:flex; flex:1; min-height:0; padding:0 8px; overflow:hidden; }
  body.as-site-shell .as-mobile-select-sheet .select2-results > .select2-results__options { flex:1; width:100%; max-height:none!important; height:100%; margin:0; padding:0 8px; overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
  body.as-site-shell .as-mobile-select-sheet .select2-results__option { min-height:48px; padding:13px 12px; color:#1A1A2E; font:400 14px/1.6 Poppins,sans-serif; white-space:normal; overflow-wrap:anywhere; border-bottom:1px solid #E5EAF2; }
  body.as-site-shell .as-mobile-select-sheet .select2-results__option--highlighted[aria-selected] { background:#F7F9FB; color:#1A1A2E; }
  body.as-site-shell .as-mobile-select-sheet .select2-results__option[aria-selected=true] { background:#F7F9FB; color:#2D66DE; font-weight:600; }
  body.as-site-shell .as-select-done { text-transform:none; }
  body.as-site-shell .as-mobile-select-sheet .select2-results__option[aria-disabled=true] { color:#6B7280; }
  body.as-site-shell .as-select-footer { display:flex; flex:none; align-items:center; gap:12px; padding:12px 16px max(12px,env(safe-area-inset-bottom,0px)); border-top:1px solid #E5EAF2; background:#FFFFFF; }
  body.as-site-shell .as-select-count { flex:1; color:#6B7280; font:400 13px/1.5 Poppins,sans-serif; }
  body.as-site-shell .as-select-done { min-width:120px; min-height:48px; padding:10px 20px; border:1px solid #2D66DE; border-radius:12px; background:#2D66DE; color:#FFFFFF; font:500 14px/1.5 Poppins,sans-serif; }
  body.as-site-shell .as-mobile-select-sheet button:focus-visible,
  body.as-site-shell .as-mobile-select-sheet input:focus-visible,
  body.as-site-shell .as-mobile-select-sheet [tabindex]:focus-visible { outline:2px solid #2D66DE; outline-offset:-2px; }
  body.as-site-shell .select2-container .select2-search__field {
    font-size:16px!important;
  }
  body.as-site-shell .select2-results > .select2-results__options {
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
  }
}
