/* Same searchable choice pattern as consolidated receipts, scoped to purchase orders. */
.purchase-order-modal .po-vendor-field{min-width:0;position:relative}
.purchase-order-modal .po-vendor-picker{position:relative;display:block;min-width:0;width:100%}
.purchase-order-modal .po-vendor-picker [data-po-vendor-id]{display:none!important}
.purchase-order-modal .po-vendor-search{display:block;width:100%;min-width:0;padding-right:38px!important;border-radius:7px;box-sizing:border-box}
.purchase-order-modal .po-vendor-toggle{position:absolute;top:50%;right:4px;display:grid;place-items:center;width:30px;height:30px;min-height:0;padding:6px;transform:translateY(-50%);border:0;border-radius:5px;background:transparent;color:#71859d;cursor:pointer}
.purchase-order-modal .po-vendor-toggle svg{width:17px;height:17px;pointer-events:none}
.purchase-order-modal .po-vendor-toggle:hover{background:#e9f7f5;color:#008b8c}
.purchase-order-modal .po-vendor-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:60;max-height:250px;overflow-y:auto;overscroll-behavior:contain;padding:5px;border:1px solid #d6e4ed;border-radius:8px;background:#fff;box-shadow:0 10px 28px #142f4b24;scrollbar-width:thin}
.purchase-order-modal .po-vendor-options[hidden]{display:none!important}
.purchase-order-modal .po-vendor-drop-up .po-vendor-options{top:auto;bottom:calc(100% + 5px)}
.purchase-order-modal .po-vendor-options [role=option]{display:block;width:100%;min-height:35px;height:auto;margin:0;padding:8px 10px;border:0;border-radius:5px;background:transparent;color:#20364d;font:inherit;font-size:12px;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.purchase-order-modal .po-vendor-options [role=option] span{display:block;color:inherit;font:inherit;font-weight:500}
.purchase-order-modal .po-vendor-options [role=option] small{display:block;margin-top:3px;color:#7b8da3;font-size:10px}
.purchase-order-modal .po-vendor-options [role=option]:hover,.purchase-order-modal .po-vendor-options .po-vendor-active{background:#e8f7f4;color:#008789}
.purchase-order-modal .po-vendor-options [aria-selected=true]{font-weight:700;color:#008a8c;background:#f0faf8}
.purchase-order-modal .po-vendor-empty{margin:0;padding:14px 10px;color:#7e8fa6;font-size:12px;line-height:1.5}
.purchase-order-modal .po-vendor-toggle:focus-visible,.purchase-order-modal .po-vendor-search:focus-visible{outline:2px solid #009c9b;outline-offset:2px}
@media(max-width:800px){.purchase-order-modal .po-vendor-search{min-height:42px;padding-right:42px!important;font-size:16px}.purchase-order-modal .po-vendor-toggle{right:4px;width:34px;height:34px}.purchase-order-modal .po-vendor-options [role=option]{min-height:42px;padding:10px 11px;font-size:14px}.purchase-order-modal .po-vendor-options{max-height:min(250px,34dvh)}}
