/* A. S. Bookbinding ERP V38.46 — visible select menus and multi-transaction editing */
:root{color-scheme:light}
#modal select,#modal select option{color-scheme:light!important;background:#fff!important;color:#1b3348!important}
.pf3846-select-shell{position:relative;min-width:0;width:100%}
#modal #modalBody select.pf3846-native-select{position:absolute!important;left:0!important;top:0!important;width:1px!important;max-width:1px!important;height:1px!important;min-width:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important;padding:0!important;border:0!important}
.pf3846-select-input{width:100%!important;padding-right:38px!important;background:#fff!important;color:#1b3348!important;cursor:text}
.pf3846-select-toggle{position:absolute!important;right:5px!important;top:50%!important;transform:translateY(-50%)!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;display:grid!important;place-items:center!important;border:0!important;background:transparent!important;color:#4c657a!important;z-index:2}
.pf3846-select-popup{position:fixed;z-index:50000;display:none;overflow:auto;padding:5px;border:1px solid #b9ccda;border-radius:9px;background:#fff!important;color:#1b3348!important;box-shadow:0 18px 48px rgba(15,39,63,.32)}
.pf3846-select-popup.open{display:block}
.pf3846-select-option{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;padding:8px 10px;border:0;border-radius:6px;background:#fff!important;color:#1b3348!important;text-align:left;font-size:12px;white-space:normal}
.pf3846-select-option:hover,.pf3846-select-option.active{background:#e9f4fc!important;color:#0c4f7b!important}
.pf3846-select-option.selected{font-weight:800;background:#f1f7fb!important}
.pf3846-select-empty{padding:12px;color:#66798a;background:#fff}
.pf3846-edit-queue{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;padding:10px 12px;border:1px solid #bcd7e8;border-left:4px solid #176fbe;border-radius:9px;background:#f1f8fd}
.pf3846-edit-queue>div:first-child{display:grid;gap:2px}.pf3846-edit-queue b{color:#173b58}.pf3846-edit-queue span{font-size:10px;color:#60778a}
.pf3846-bulkbar{display:grid;gap:9px;margin:0 0 10px;padding:10px;border:1px solid #c9dce9;border-radius:10px;background:#f5f9fc}
.pf3846-bulk-title{display:flex;justify-content:space-between;gap:12px;align-items:center}.pf3846-bulk-title span{font-size:11px;font-weight:800;color:#176fbe}
.pf3846-bulk-fields{display:grid;grid-template-columns:minmax(150px,1fr) minmax(160px,1fr) minmax(160px,1fr) auto auto;gap:7px;align-items:center}
.pf3846-bulk-fields>*{min-width:0!important;width:100%!important}
.pf-pro-compare-transactions table th:first-child,.pf-pro-compare-transactions table td:first-child{width:36px;text-align:center}
.pf-pro-compare-transactions input[type=checkbox]{width:18px!important;height:18px!important}
@media(max-width:1050px){.pf3846-bulk-fields{grid-template-columns:1fr 1fr}.pf3846-bulk-fields button{width:100%!important}}
@media(max-width:620px){.pf3846-bulk-fields{grid-template-columns:1fr}.pf3846-edit-queue{display:grid}.pf3846-edit-queue .toolbar{display:grid;grid-template-columns:1fr 1fr}.pf3846-edit-queue .toolbar button:last-child{grid-column:1/-1}}
