/* Keep the original entry size; use one reliable, selectable menu on both devices. */
#groupFilter{display:none!important}
#mobileGroupPickerButton{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;width:100%;height:44px;padding:0 12px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#182230;font:inherit;text-align:left;cursor:pointer}
#mobileGroupPickerButton::after{content:"⌄";flex:none;color:#344054}
#mobileGroupPickerButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#mobileGroupPickerDialog{position:fixed;margin:0;padding:0;border:1px solid #d5deec;border-radius:13px;background:#fff;color:#182230;box-shadow:0 16px 42px rgba(15,23,42,.18);max-height:min(70dvh,720px);overflow:hidden}
#mobileGroupPickerDialog[open]{display:block}
#mobileGroupPickerDialog::backdrop{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.mobilePickerHead{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;border-bottom:1px solid #e4e7ec;background:#fff}
.mobilePickerHead b{font-size:14px}.mobilePickerClose{width:30px;height:30px;border:0;border-radius:50%;background:#eef2f6;color:#344054;font-size:20px;cursor:pointer}
.mobilePickerList{max-height:calc(min(70dvh,720px) - 51px);overflow:auto;padding:5px;-webkit-overflow-scrolling:touch}
.mobilePickerSection{margin:5px 0 2px;padding:7px 10px;background:#edf3ff;color:#435b81;font-size:13px;font-weight:800}
.mobilePickerOption{display:block;width:100%;padding:10px 11px;border:0;border-radius:7px;background:#fff;color:#17253a;text-align:left;font:inherit;font-size:14px;cursor:pointer}
.mobilePickerOption:hover,.mobilePickerOption:focus-visible{background:#e7efff;outline:none}
.mobilePickerRegion{margin:5px 0 2px;padding:8px 10px;background:#edf3ff;color:#36558a;font-weight:800}
.mobilePickerRegion:hover,.mobilePickerRegion:focus-visible{background:#d7e6ff}
.mobilePickerOption[aria-current="true"]{background:#3d68c4;color:#fff;font-weight:700}

@media (max-width:760px){
  #groupFilter{display:none!important}
  #mobileGroupPickerButton{
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    min-width:0;width:100%;height:38px;padding:0 11px;
    border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#182230;
    font:inherit;font-size:12px;text-align:left;cursor:pointer
  }
  #mobileGroupPickerButton::after{content:"⌄";flex:none;font-size:17px;line-height:1;color:#344054}
  #mobileGroupPickerButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #mobileGroupPickerDialog{
    width:min(100vw,560px);max-width:100vw;height:min(78dvh,680px);max-height:78dvh;
    margin:auto 0 0;padding:0;border:0;border-radius:20px 20px 0 0;
    background:#f8fafc;color:#182230;box-shadow:0 -12px 34px rgba(15,23,42,.22)
  }
  #mobileGroupPickerDialog[open]{display:block}
  #mobileGroupPickerDialog::backdrop{background:rgba(15,23,42,.48)}
  .mobilePickerHead{display:flex;align-items:center;justify-content:space-between;padding:15px 16px 11px;border-bottom:1px solid #e4e7ec;background:#fff}
  .mobilePickerHead b{font-size:16px}.mobilePickerClose{width:34px;height:34px;border:0;border-radius:50%;background:#eef2f6;color:#344054;font-size:23px;line-height:1}
  .mobilePickerList{box-sizing:border-box;height:calc(100% - 61px);overflow-x:hidden;overflow-y:auto;padding:8px 10px 22px;-webkit-overflow-scrolling:touch}
  .mobilePickerSection{margin:9px 2px 5px;padding:7px 9px;border-radius:8px;background:#eaf0ff;color:#365fa8;font-size:12px;font-weight:700}
  .mobilePickerOption{display:block;width:100%;padding:12px 11px;border:0;border-bottom:1px solid #e9edf2;background:transparent;color:#182230;text-align:left;font:inherit;font-size:15px}
  .mobilePickerOption[aria-current="true"]{border-radius:10px;border-bottom-color:transparent;background:#e7efff;color:#2457ae;font-weight:700}
  .mobilePickerRegion{margin:8px 2px 3px;padding:9px 10px;border:0;border-radius:8px;background:#eaf0ff;color:#365fa8;font-size:13px;font-weight:800}
  .mobilePickerRegion[aria-current="true"]{background:#3d68c4;color:#fff}
}
