/* 统一下拉框：桌面和手机均使用干净的圆角、箭头和焦点态 */
select:not([multiple]){
  -webkit-appearance:none!important;appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237487a0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-size:14px 14px!important;background-position:right 11px center!important;background-repeat:no-repeat!important;
  background-color:var(--jx-ui-surface, #fff)!important;padding-right:32px!important;
  border:1px solid var(--jx-ui-border, #d7e1ef)!important;border-radius:9px!important;
  color:var(--jx-ui-text, #294460)!important;transition:border-color .16s,box-shadow .16s,background-color .16s;
  cursor:pointer;
}
select:not([multiple]):hover:not(:disabled){border-color:var(--jx-ui-border, #9bbbe9)!important;background-color:var(--jx-ui-surface, #fbfdff)!important;}
select:not([multiple]):focus-visible{outline:0!important;border-color:var(--jx-ui-border, #5f98ec)!important;box-shadow:0 0 0 3px #2575ec1c!important;}
select:not([multiple]):disabled{opacity:.58;cursor:not-allowed!important;}
select option{color:var(--jx-ui-text, #294460);background:var(--jx-ui-surface, #fff);}
.jx-select-popup{position:fixed;z-index:10000;padding:6px;background:var(--jx-ui-surface, #fff);border:1px solid var(--jx-ui-border, #dce6f3);border-radius:12px;box-shadow:0 15px 50px #173b6040;max-height:min(360px,62vh);display:flex;flex-direction:column;animation:jxSelectIn .12s ease-out;}
@keyframes jxSelectIn{from{opacity:.6;transform:translateY(-4px);}to{opacity:1;transform:translateY(0);}}
.jx-select-options{overflow:auto;overscroll-behavior:contain;min-height:0;max-height:310px;padding:2px;}
.jx-select-option{display:flex;gap:8px;align-items:center;justify-content:space-between;width:100%;background:var(--jx-ui-surface, #fff);border:0;border-radius:7px;min-height:36px;padding:9px 12px;text-align:left;font-size:13px;line-height:1.4;color:var(--jx-ui-text, #344f6e);cursor:pointer;}
.jx-select-option:hover,.jx-select-option.focused{background:var(--jx-ui-soft, #edf5ff);color:var(--jx-ui-accent, #1d62bd);}
.jx-select-option.selected{color:var(--jx-ui-accent, #1465c9);font-weight:650;}
.jx-select-option:disabled{opacity:.4;cursor:not-allowed;}
.jx-select-check{font-size:14px;color:var(--jx-ui-accent, #2375d6);}
.jx-select-search{height:36px;flex:0 0 auto;width:100%;border:1px solid var(--jx-ui-border, #e1e9f2);border-radius:7px;padding:0 11px;font-size:12px;outline:0;margin-bottom:5px;}
.jx-select-search:focus{border-color:var(--jx-ui-border, #7aa9ed);box-shadow:0 0 0 3px #3988f212;}
.jx-select-empty{padding:18px;color:var(--jx-ui-muted, #8b9cad);font-size:12px;text-align:center;}
@media(max-width:700px){.jx-select-popup{max-width:94vw;}}


/* Optional compact color tags for Excel-mode choice menus. */
.jx-select-option-tag{display:inline-flex;align-items:center;justify-content:center;max-width:100%;
 min-height:23px;padding:3px 9px;border:1px solid transparent;border-radius:6px;
 background:var(--jx-select-option-bg,var(--jx-ui-soft,#f0f3f7));color:var(--jx-select-option-ink,var(--jx-ui-text,#334861));
 font-size:12px;font-weight:650;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.jx-select-option-placeholder{color:var(--jx-ui-muted,#8796a9);font-weight:500;}
.jx-select-popup:has(.jx-select-option-tag) .jx-select-option{min-height:39px;padding:7px 10px;}

/* Opt-in field assignment picker. Keep all/confirm visible while the field list scrolls. */
.jx-select-popup-bulk .jx-select-search{margin-bottom:0}
.jx-select-popup-bulk .jx-select-options{flex:1 1 auto;max-height:none}
.jx-select-bulk-all,.jx-select-bulk-footer{flex:none;display:flex;align-items:center;gap:8px;padding:7px 8px;font-size:12px}
.jx-select-bulk-all{border-bottom:1px solid var(--jx-ui-border,#dce6f3);cursor:pointer}
.jx-select-bulk-all input{width:15px;height:15px;margin:0;accent-color:var(--jx-ui-accent,#286fe3);cursor:inherit}
.jx-select-bulk-footer{justify-content:space-between;flex-wrap:wrap;border-top:1px solid var(--jx-ui-border,#dce6f3)}
.jx-select-bulk-status{color:var(--jx-ui-muted,#687b94)}
.jx-select-bulk-apply{margin-left:auto;padding:6px 10px;border:1px solid var(--jx-ui-accent,#286fe3);border-radius:7px;
  background:var(--jx-ui-accent,#286fe3);color:var(--jx-ui-on-accent,#fff);font:inherit;font-weight:650}
.jx-select-popup-bulk .jx-select-option{justify-content:flex-start}
.jx-select-field-checkbox{display:grid;place-items:center;flex:0 0 15px;height:15px;border:1px solid var(--jx-ui-border,#c1d0e4);
  border-radius:4px;font-size:11px;line-height:1}
.jx-select-option.selected .jx-select-field-checkbox{border-color:var(--jx-ui-accent,#286fe3);background:var(--jx-ui-accent,#286fe3);color:var(--jx-ui-on-accent,#fff)}
.jx-select-field-status{margin-left:auto;color:var(--jx-ui-muted,#687b94);font-size:11px;white-space:nowrap}
.jx-select-popup-bulk .jx-select-option-configured:disabled{opacity:1;cursor:default}
/* Shared selector readability: groups, search and selected values. */
.jx-select-option{font-weight:560;letter-spacing:0}
.jx-select-search{font-size:13px;font-weight:520}
.jx-select-bulk-all,.jx-select-bulk-footer{font-size:13px;font-weight:580}
.jx-select-field-status{font-size:12px;font-weight:580}

/* Round 2: preserve theme semantics while enlarging secondary option metadata. */
.jx-select-option{font-weight:590;line-height:1.5}
.jx-select-empty,.jx-select-field-status,.jx-select-bulk-status{font-size:12px;font-weight:570}
.jx-select-popup .jx-select-search{font-size:13px;font-weight:560;min-height:36px}
.jx-select-popup :is(button,input):focus-visible{outline:2px solid var(--jx-ui-accent,#286fe3);outline-offset:1px}

/* Organization options: use the shared popup and search, not a second select. */
.jx-select-popup-org .jx-select-options{overflow-x:hidden;overscroll-behavior:contain}
.jx-select-popup-org .jx-select-option>span:first-child{min-width:0;overflow-wrap:anywhere;text-align:left}
.jx-select-org-group{min-width:0;padding:3px 0}
.jx-select-org-heading{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:6px 10px;border:0!important;border-radius:8px;background:var(--jx-ui-soft,#edf5ff)!important;box-shadow:none!important;color:var(--jx-ui-text,#344f6e);font:inherit;font-size:12px;font-weight:650;text-align:left}
.jx-select-org-heading::before{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);flex:none}
.jx-select-org-heading[aria-expanded=true]::before{transform:rotate(45deg)}
.jx-select-org-heading>span{min-width:0;overflow-wrap:anywhere}
.jx-select-org-heading>small{margin-left:auto;color:var(--jx-ui-muted,#75859b)}
.jx-select-org-group .jx-select-option{padding-left:22px}
@media(pointer:coarse){.jx-select-popup-org .jx-select-search{font-size:16px;min-height:40px}}
