.search-select .dropdown-menu{min-width:220px;width:100%;z-index:1080}.search-select-portal{position:fixed!important;right:auto!important;bottom:auto!important;transform:none!important;min-width:0!important;z-index:1080;overflow:hidden;box-shadow:0 6px 20px #0002}.select-options{max-height:230px;overflow-y:auto;overscroll-behavior:contain}.select-options .dropdown-item{white-space:normal;overflow-wrap:anywhere}.select-options .dropdown-item[hidden]{display:none!important}.search-select-toggle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ow-thumb{width:105px;height:58px;object-fit:contain;cursor:zoom-in}.ow-wide{overflow-x:auto}.ow-note{white-space:normal;min-width:200px;max-width:320px}.ow-edit-notes{white-space:normal;width:280px;min-width:280px;max-width:280px}.ow-edit-notes textarea{min-height:38px;max-height:120px;resize:vertical}.ow-edit-notes .ow-custom{display:flex;flex-wrap:wrap}.ow-edit-notes .ow-custom>div{width:100%}.ow-edit-notes .ow-custom .form-control{padding:.35rem .6rem}.ow-savebar{position:sticky;bottom:10px;z-index:8;box-shadow:0 3px 12px #0001}#purchase-modal .modal-body,#ow-peek-modal .modal-body{max-height:calc(100dvh - 190px);overflow-y:auto}#purchase-modal form,#ops-modal form{display:flex;flex-direction:column;min-height:0;overflow:hidden}#purchase-modal .modal-content,#ops-modal .modal-content{max-height:calc(100dvh - 40px)}#purchase-modal .modal-header,#purchase-modal .modal-footer,#ops-modal .modal-header,#ops-modal .modal-footer{flex-shrink:0}#ow-results th{position:sticky;top:0;z-index:2;background:var(--vz-light)}#ow-peek-modal .modal-dialog{max-width:95vw}

.ow-wide table:not(.screen-configured-table) thead th:first-child,.ow-wide table:not(.screen-configured-table) tbody td:first-child{position:sticky;left:0;min-width:40px;background:var(--vz-secondary-bg,#fff);z-index:2}.ow-wide table:not(.screen-configured-table) thead th:nth-child(2),.ow-wide table:not(.screen-configured-table) tbody td:nth-child(2){position:sticky;left:40px;min-width:125px;background:var(--vz-secondary-bg,#fff);z-index:2}
.catalog-image-preview{border:0;border-radius:8px;padding:18px;max-width:95vw;width:900px;max-height:90dvh;background:var(--vz-secondary-bg,#fff);color:var(--vz-body-color,#212529);box-shadow:0 12px 50px #0005}.catalog-image-preview::backdrop{background:#0009}.catalog-image-preview img{display:block;width:100%;max-height:calc(90dvh - 90px);object-fit:contain}.cp-thumb{cursor:zoom-in}
.ow-product-picker #ow-results{position:relative;min-height:360px;}
.ow-product-picker .ow-result-scroll{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;}
.ow-picker-table{min-width:100%;width:max-content;}
.ow-picker-table th,.ow-picker-table td{white-space:nowrap;}
.ow-picker-table .ow-picker-description{white-space:pre-wrap;min-width:230px;max-width:420px;overflow-wrap:anywhere;}
.oi-read-text{max-height:220px;overflow:auto;white-space:pre-wrap;font-size:12px;}
#order-management{position:sticky;top:var(--management-top,116px);z-index:90;}
#order-management.is-stuck>.card{box-shadow:0 4px 16px #0002;margin-bottom:12px;}
#order-management.is-stuck .card-header{padding:6px 12px;min-height:0;}
#order-management.is-stuck .card-header h5{font-size:13px;}
#order-management.is-stuck .card-body{padding:7px 12px;}
#order-management.is-stuck .btn{height:28px!important;min-height:28px!important;padding-top:3px!important;padding-bottom:3px!important;font-size:11px;}
#order-management.is-stuck .alert{padding:6px 10px;margin-bottom:6px!important;font-size:12px;}
.order-list-controls{position:sticky;top:var(--management-top,116px);z-index:990;background:var(--vz-card-bg,#fff);}
.order-list-controls.is-stuck{box-shadow:0 3px 12px #0002;}
.order-list-controls.is-stuck>.card-header{padding:8px 12px;}
.order-list-controls.is-stuck>.card-header h5{font-size:13px;}
.order-list-controls.is-stuck>.border-bottom{padding:6px 12px!important;}
.order-list-controls.is-stuck .btn{height:28px!important;min-height:28px!important;font-size:11px;padding-top:3px!important;padding-bottom:3px!important;}
.workspace-sticky-header{position:fixed;z-index:89;overflow:hidden;background:var(--vz-card-bg,#fff);box-shadow:0 3px 8px #0002;}
.workspace-sticky-header[hidden]{display:none;}
.workspace-sticky-header th{background:var(--vz-light,#f3f6f9);}
.ops-event-scroll{max-height:340px;overflow:auto;}
.ops-event-table{font-size:12px;}
.ops-event-table th,.ops-event-table td{padding:7px 10px;}
.ops-event-table thead th{position:sticky;top:0;z-index:3;background:var(--vz-light,#f3f6f9);}
.ops-event-name{font-weight:600;min-width:180px;}
.ops-event-note{width:100%;min-width:260px;white-space:pre-wrap;overflow-wrap:anywhere;}
.modal .table-responsive thead th,.ow-result-scroll thead th,.mp-invoice-table-scroll thead th{position:sticky;top:0;z-index:3;background:var(--vz-light,#f3f6f9);}
#order-import-modal .modal-dialog{max-width:1280px;}
#order-import-modal .oi-source-name{min-width:240px;resize:vertical;}
#order-import-modal #oi-lines .table-responsive{max-height:440px;overflow:auto;}
#order-import-modal #oi-lines thead{position:sticky;top:0;z-index:2;}
#order-import-modal #oi-lines td:first-child{min-width:280px;}
#order-import-modal #oi-lines td:nth-child(2){min-width:260px;max-width:350px;}
#order-import-modal #oi-models{max-height:120px;overflow:auto;}
@media(min-width:1200px){
 .ow-product-picker{align-items:stretch;}
 .ow-product-picker>.ow-picker-filters,.ow-product-picker>.ow-picker-products{display:flex;}
 .ow-product-picker .ow-filter-card,.ow-product-picker .ow-results-card{width:100%;min-height:420px;}
 .ow-product-picker .ow-results-card{display:flex;flex-direction:column;}
 .ow-product-picker .ow-results-card>.card-header{flex-shrink:0;}
 .ow-product-picker #ow-results{flex:1;min-height:0;}
}

.ow-detail-tools .form-control,.ow-detail-tools .form-select{width:160px;min-height:30px;font-size:12px}.ow-detail-tools .ow-detail-search{width:200px}.ow-detail-tools .btn{min-height:30px}

.ow-wide .ow-detail-table [data-line-column="index"]{width:38px!important;min-width:38px!important;max-width:38px!important;padding-left:8px;padding-right:8px;text-align:center}.ow-wide .ow-detail-table [data-line-column="selection"]{width:36px!important;min-width:36px!important;max-width:36px!important}.ow-wide .ow-detail-table [data-line-column="index"]{left:36px}.ow-detail-table [data-line-column="quantity"]{text-align:center;min-width:76px;font-weight:600}.ow-detail-table [data-line-column="allocation_quantity"]{text-align:center;min-width:110px}

.ow-detail-table tr[data-production-stage="contacted"]{--vz-table-bg:#f1f5fb;--vz-table-striped-bg:#eaf0f8}.ow-detail-table tr[data-production-stage="in_production"]{--vz-table-bg:#edf4ff;--vz-table-striped-bg:#e6effc}.ow-detail-table tr[data-production-stage="in_assembly"]{--vz-table-bg:#fff8e8;--vz-table-striped-bg:#fff1d4}.ow-detail-table tr[data-production-stage="ready"]{--vz-table-bg:#edf8f1;--vz-table-striped-bg:#e3f3e9}.ow-detail-table tr[data-production-stage="shipped"]{--vz-table-bg:#eaf7f8;--vz-table-striped-bg:#def0f2}.ow-detail-table tr[data-production-stage="mixed"]{--vz-table-bg:#f4effb;--vz-table-striped-bg:#ede6f8}.ow-detail-table tr[data-production-stage]:not([data-production-stage="waiting"])>td{background-color:var(--vz-table-bg)!important;box-shadow:none!important}

.purchase-status-tabs .purchase-firm-select{margin-left:auto;width:220px;max-width:100%;min-width:0}.purchase-status-tabs .search-select-toggle{height:32px;min-height:32px;padding:5px 32px 5px 10px;font-size:12px;line-height:20px}.purchase-list-actions{margin-left:auto}@media(max-width:575.98px){.purchase-status-tabs .purchase-firm-select{margin-left:0;width:100%}.purchase-list-actions{margin-left:0}}

.oa-order-images.oa-model-gallery{display:inline-flex;flex-direction:column;align-items:center;gap:4px;width:120px;max-width:100%;vertical-align:middle;white-space:normal}.oa-model-gallery>img{width:120px;max-width:100%;height:48px;object-fit:contain}.oa-image-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0}.oa-image-controls .oa-image-next{width:26px!important;min-width:26px!important;height:26px;padding:0;flex:0 0 26px}.oa-image-controls small{font-size:11px;white-space:nowrap}
@media(max-width:767px){.oa-image-controls .oa-image-next{width:44px!important;min-width:44px!important;height:44px}}
#ow-one-off-dialog>form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}
#ow-one-off-dialog>form>.ex-output-panel-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}
@media(min-width:768px){#ow-one-off-dialog[open]{height:90dvh}}
.purchase-filter-bar{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;max-width:100%;min-width:0;overflow-x:auto;padding-bottom:4px;overscroll-behavior-x:contain}
.purchase-filter-bar>.search{flex:1 0 220px;width:auto;margin:0}
.purchase-filter-bar>.purchase-grouping-control{flex:0 0 190px;width:190px;min-width:0;margin:0}
.purchase-filter-bar>.purchase-status-tabs{flex:0 0 auto;flex-wrap:nowrap;margin:0}
.purchase-filter-bar>.purchase-firm-select,.purchase-filter-bar>#purchase-firm-filter{flex:0 0 210px;width:210px;margin:0}
.purchase-filter-bar .search-select{width:100%;min-width:0}
.purchase-filter-bar :is(input.form-control,.form-select,.search-select-toggle,.purchase-filter){height:36px!important;min-height:36px!important;max-height:36px!important;margin-top:0;margin-bottom:0}
.purchase-filter-bar .purchase-filter{flex:0 0 auto;min-width:68px!important;white-space:nowrap;padding:5px 10px}
@media(max-width:767.98px){.purchase-filter-bar :is(input.form-control,.form-select,.search-select-toggle,.purchase-filter){height:42px!important;min-height:42px!important;max-height:42px!important}}
