.lookup-field{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:stretch;min-width:0}
.lookup-field>select{grid-column:1;width:100%;min-width:0;border-right:0!important}
.lookup-more{grid-column:2;margin:0!important;min-width:34px!important;height:auto!important;padding:0 7px!important;border:1px solid #8a8886!important;background:#f3f2f1!important;color:#323130!important;font-size:20px!important;font-weight:700!important;line-height:1!important}
.lookup-more:hover,.lookup-more[aria-expanded="true"]{background:#e5f1fb!important;color:#0067b8!important}
.lookup-panel{position:fixed;z-index:1000;width:360px;max-width:calc(100vw - 20px);padding:9px;background:#fff;border:1px solid #8a8886;box-shadow:0 6px 18px #0003}
.lookup-panel[hidden]{display:none}
.lookup-search{width:100%;margin:0 0 7px!important}
.lookup-actions{display:flex;gap:6px;margin-bottom:7px}
.lookup-actions button{padding:5px 9px;background:#f3f2f1;color:#323130;border:1px solid #c8c6c4;font-weight:500}
.lookup-list{max-height:280px;overflow:auto;border-top:1px solid #edebe9}
.lookup-option{display:block;width:100%;padding:7px 9px;text-align:left;border:0;border-bottom:1px solid #edebe9;border-radius:0;background:#fff;color:#242424;font-weight:400;white-space:normal}
.lookup-option:hover,.lookup-option[aria-selected="true"]{background:#e5f1fb;color:#005a9e}
.lookup-empty{padding:14px;color:#605e5c;text-align:center}
.invoice-grid .lookup-field{min-width:150px}
@media(max-width:700px){.lookup-panel{width:min(92vw,520px);max-width:92vw}}
