.erp-search-picker{width:min(1180px,96vw);max-width:96vw;height:min(780px,91vh);max-height:91vh;margin:auto;padding:0;border:1px solid #91aaa9;border-radius:10px;background:var(--bs-body-bg,#fff);color:var(--bs-body-color,#173641);box-shadow:0 14px 55px #0005;overflow:hidden}
.erp-search-picker[open]{display:flex;flex-direction:column}
.erp-search-picker::backdrop{background:#142b3d66}
.erp-search-picker-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #cbd8dd;background:var(--bs-tertiary-bg,#eef5f7)}
.erp-search-picker-head h2{margin:0;font-size:1.15rem}
.erp-search-picker-toolbar{display:flex;gap:8px;padding:14px 16px 8px;align-items:center}
.erp-search-picker-toolbar input{flex:1;min-width:140px}
.erp-search-picker-toolbar button,.erp-search-picker-footer button{white-space:nowrap}
.erp-search-picker-help,.erp-search-picker-status{margin:0;padding:2px 16px 8px;font-size:.9rem}
.erp-search-picker-help{color:var(--bs-secondary-color,#52676d)}
.erp-search-picker-table{flex:1 1 0;min-height:0;overflow:auto;border-block:1px solid #cbd8dd;overscroll-behavior:contain}
.erp-search-picker-head,.erp-search-picker-toolbar,.erp-search-picker-help,.erp-search-picker-status,.erp-search-picker-footer{flex-shrink:0}
.erp-search-picker table{width:100%;min-width:550px;margin:0;table-layout:auto}
.erp-search-picker thead{position:sticky;top:0;z-index:1;background:var(--bs-body-bg,#eef5f7)}
.erp-search-picker th,.erp-search-picker td{padding:9px 12px;vertical-align:middle;overflow-wrap:anywhere;white-space:normal}
.erp-search-picker th:first-child,.erp-search-picker td:first-child{width:58px;min-width:58px;text-align:center}
.erp-search-picker tbody tr{cursor:pointer}
.erp-search-picker input[type=checkbox],.erp-search-picker input[type=radio]{width:18px;height:18px;vertical-align:middle;accent-color:#087f79;cursor:pointer}
.erp-search-picker-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:12px 16px}
.erp-search-picker-footer input{width:68px}
.erp-search-picker-footer>span{font-size:.9rem}
.erp-search-picker.erp-search-picker--compact{width:min(580px,96vw);max-width:96vw;height:min(660px,91vh);max-height:91vh}
.erp-search-picker--compact .erp-search-picker-footer{gap:6px;padding:8px 12px}
@media(max-width:640px){.erp-search-picker{width:98vw;max-width:98vw;height:96vh;max-height:96vh}.erp-search-picker-toolbar{flex-wrap:wrap;padding:10px}.erp-search-picker-toolbar input{flex-basis:100%}.erp-search-picker-footer{padding:10px;gap:6px}.erp-search-picker-footer button{font-size:.85rem;padding:6px 9px}.erp-search-picker-head{padding:10px}}
