.procurement-drawer{width:min(1580px,calc(100vw - 36px))}.procurement-drawer .drawer-body{padding:20px}.purchase-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:14px}.purchase-toolbar h3{margin:0 0 5px}.purchase-toolbar p{margin:0;color:#6b7b70;font-size:12px}.purchase-toolbar>div:last-child{display:flex;gap:9px;flex-shrink:0}.purchase-totals{display:flex;gap:35px;flex-wrap:wrap;padding:14px 19px;background:#edf4e9;border:1px solid #d5e1d0;border-radius:8px 8px 0 0;font-size:12px}.purchase-totals b{margin-left:10px;font-size:16px}.purchase-table-wrap{overflow:auto;background:white;border:1px solid #d5e1d0;border-top:0}.purchase-table{min-width:1300px;width:100%;table-layout:fixed}.purchase-table th{font-size:11px;padding:12px 8px;white-space:normal}.purchase-table th:nth-child(1){width:33px}.purchase-table th:nth-child(2){width:240px}.purchase-table th:nth-child(3){width:190px}.purchase-table th:nth-child(4){width:155px}.purchase-table th:nth-child(5){width:140px}.purchase-table th:nth-child(6){width:130px}.purchase-table th:nth-last-child(3){width:95px}.purchase-table th:nth-last-child(2){width:155px}.purchase-table th:last-child{width:40px}.purchase-table td{padding:13px 8px;max-width:none!important;width:auto!important;vertical-align:top}.purchase-table td input,.purchase-table td select{font-size:12px;margin-top:0;padding:9px 8px;height:37px}.purchase-table td input[type=checkbox]{margin-top:10px;height:auto}.purchase-table td .source-name{font-size:10px;line-height:1.4;color:#859083;display:block;margin-top:5px;max-height:30px;overflow:hidden}.purchase-table td .order-open{font-size:12px;font-weight:550;line-height:1.5;margin-bottom:9px}.purchase-table td [data-p-field=titleDisplay]{border-color:transparent;border-bottom-color:#e5eae1;background:#fafbf8;margin-top:8px;height:28px;font-size:10px}.purchase-table td small{display:block;line-height:1.45;font-size:10px;margin-top:7px;color:#7b877a}.purchase-table td [data-p-row-status]{display:block;font-size:10px;line-height:1.5;color:#587c4a;min-height:15px;margin-top:7px}.purchase-table td [data-p-row-status].error{color:#b45245}.purchase-fx{display:flex;gap:4px;margin-top:6px}.purchase-fx input{width:80px}.purchase-fx button{padding:3px 6px;font-size:9px;white-space:nowrap}.purchase-table td strong{font-size:13px;display:block;padding-top:10px}.purchase-save-bar{display:flex;justify-content:space-between;gap:15px;background:#f0f4ed;border:1px solid #d5e1d0;border-top:0;padding:11px 16px;border-radius:0 0 8px 8px;margin-bottom:22px;font-size:12px;color:#44633d}.purchase-save-bar small{font-size:10px;color:#768772}.supplier-picker{position:fixed;z-index:40;background:white;box-shadow:0 9px 30px #203b3230;border:1px solid #b9cfb5;border-radius:8px;max-height:290px;overflow:auto;padding:5px}.supplier-picker button{border:0;background:white;color:#29452e;display:block;width:100%;text-align:left;font-size:12px;padding:10px}.supplier-picker button:hover,.supplier-picker button:focus{background:#eff7e9}.supplier-picker small{display:block;color:#84917e;font-size:10px;margin-top:4px}.supplier-picker .new{border-top:1px solid #e2e9df;color:#4a6a40}.supplier-picker p{padding:10px;font-size:12px}.purchase-invoice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.purchase-invoice{padding:17px;border:1px solid #d7e1d1;border-radius:7px;background:#fafcf8}.purchase-invoice .actions{margin:10px 0}.invoice-file{display:block;font-size:11px;margin:6px 0;overflow-wrap:anywhere}.purchase-documents .panel-heading{align-items:flex-start}.purchase-documents .panel-heading>div:last-child{display:flex;gap:8px;flex-shrink:0}.purchase-documents .panel-heading h3{margin:0}.purchase-review{padding:18px;background:#f4f5eb;border:1px solid #e1dec1;border-radius:8px}.purchase-review.issues{background:#fff5f1;border-color:#e6c9bd}.purchase-review.matched{background:#edf5e9;border-color:#cadfc0}.purchase-review .finding{font-size:12px;margin:7px 0}.finding.error{color:#a74c3a}.finding.warning{color:#8a702c}.finding.ok{color:#4e753d}.invoice-line-choices{max-height:220px;overflow:auto;border:1px solid #dce5d6;border-radius:5px;padding:10px}.invoice-line-choices label{margin:8px 0;font-size:12px}#purchase-file-form{border-top:1px solid #dae3d4;margin-top:22px;padding-top:20px}#purchase-file-form button{margin-top:15px}.order-relations{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0;font-size:11px}.order-relations a,.order-relations button{border:1px solid #d5e1ce;border-radius:4px;background:#f4f8f0;color:#527047;font-size:10px;padding:4px 7px;text-decoration:none}.drawer-relations{padding:0 26px 12px;background:white}.source-name{font-size:11px;color:#81907e;display:block;line-height:1.5;margin:4px 0}.purchase-cell-actions{display:flex;gap:5px;margin-top:9px}.purchase-cell-actions button{font-size:10px;padding:5px 8px}.purchase-documents .help{margin:5px 0 12px}.invoice-rows-label{font-size:11px;color:#697e60}
@media(max-width:750px){.procurement-drawer{width:100vw}.purchase-toolbar{align-items:flex-start}.purchase-toolbar>div:last-child{flex-direction:column}.purchase-totals{gap:12px;justify-content:space-between}.purchase-totals span{font-size:10px}.purchase-totals b{display:block;margin:4px 0 0;font-size:14px}.purchase-invoice-grid{grid-template-columns:1fr}.purchase-documents .panel-heading{flex-direction:column}.purchase-documents .panel-heading>div:last-child{flex-wrap:wrap}.purchase-save-bar{flex-direction:column}.drawer-tabs{gap:15px;overflow:auto}.drawer-tabs button{white-space:nowrap}.supplier-picker{max-height:230px}.purchase-table td:first-child,.purchase-table th:first-child{position:sticky;left:0;background:#f7faf4;z-index:1}}
.order-open,.source-name{overflow-wrap:anywhere}.drawer-relations>.text-button{padding:3px 0;font-size:10px}.purchase-toolbar>div:last-child{flex-wrap:wrap;max-width:410px;justify-content:flex-end}
.purchase-table[data-country=AM]{min-width:1130px}.purchase-table[data-country=AM] th:nth-child(2){width:220px}.purchase-table[data-country=AM] th:nth-child(3){width:175px}.purchase-table[data-country=AM] th:nth-child(4){width:145px}.purchase-table[data-country=AM] th:nth-last-child(2){width:130px}
.procurement-drawer .drawer-heading{padding:17px 25px}.procurement-drawer .drawer-relations{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;padding-bottom:9px}.procurement-drawer .drawer-relations>.source-name{flex-basis:100%;margin:0;font-size:10px}.procurement-drawer .drawer-relations .order-relations{margin:0}.purchase-toolbar>div:last-child{max-width:none}.procurement-drawer .drawer-body{padding-top:16px}
