/* Physical supplier returns: reserved stock, reviewed handover and separate tax evidence. */
.pr-view{max-width:1600px}.pr-heading h1{color:#244e3c;letter-spacing:-1px}.pr-heading-actions{display:flex;gap:8px;flex-wrap:wrap}.pr-status{min-height:16px;color:#7a9184;font-size:11px;line-height:1.6}.pr-status.is-error{color:#b35649}.pr-status.is-success{color:#2e8055}.pr-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:18px 0 22px}.pr-metric{display:flex;gap:16px;align-items:center;padding:22px}.pr-metric-icon,.pr-dialog-icon{display:grid;place-items:center;flex:0 0 auto;width:43px;height:43px;border-radius:12px;background:#e4f2e9;color:#458667;font-size:23px}.pr-metric div{display:grid;gap:8px;min-width:0}.pr-metric div>span{font-size:9px;text-transform:uppercase;letter-spacing:.65px;color:#839a8c;font-weight:800}.pr-metric strong{font-size:26px;color:#2a543e;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.pr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.pr-toolbar .search-field{max-width:510px;flex:1}.pr-toolbar>p{font-size:10px;color:#8ca093;margin:0}.pr-panel{padding:0;margin-bottom:22px;overflow:hidden}.pr-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:23px 23px 19px}.pr-panel-heading h2{margin:0;font-size:21px;color:#315b43;letter-spacing:-.5px}.pr-panel-heading p{margin:7px 0 0;color:#8ca193;font-size:11px;line-height:1.6}.pr-history-filter{min-width:130px;color:#789584;font-size:10px}.pr-history-filter select{min-height:35px;font-size:11px}.pr-table-scroll{overflow:auto;max-width:100%;scrollbar-width:thin;scrollbar-color:#c5dacd transparent;overscroll-behavior:contain}.pr-view table{width:100%;min-width:1130px;border-collapse:collapse;table-layout:auto;font-size:11px}.pr-view th{padding:14px 15px;border-block:1px solid #e3ede6;background:#f4f9f5;color:#8aa192;font-size:8px;font-weight:800;letter-spacing:.55px;text-transform:uppercase;text-align:left;white-space:nowrap}.pr-view td{padding:17px 15px;border-bottom:1px solid #e9f0eb;color:#718c7b;line-height:1.5;vertical-align:top;font-variant-numeric:tabular-nums}.pr-view td strong{display:block;color:#3c654a;font-size:11px}.pr-view td small{display:block;color:#9aada0;font-size:9px;line-height:1.6;margin-top:4px}.pr-view td:nth-child(2){min-width:160px}.pr-view td:nth-child(4){min-width:145px}.pr-view td:nth-child(9){max-width:200px;overflow-wrap:anywhere}.pr-view td:nth-child(6),.pr-view td:nth-child(7){white-space:nowrap}.pr-row-actions{display:grid;gap:7px;justify-items:start}.pr-link,.pr-return-button{border:1px solid #cedfd4;border-radius:6px;padding:7px 9px;color:#55866a;background:#f6fbf7;font-size:9px;font-weight:750;white-space:nowrap;cursor:pointer}.pr-link:hover,.pr-return-button:hover{border-color:#98c8ab;background:#e9f6ed}.pr-link:disabled,.pr-return-button:disabled{opacity:.45;cursor:not-allowed}.pr-cancel-link{padding:0;border:0;color:#ac8170;background:transparent;font-size:9px;cursor:pointer}.pr-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:18px;font-size:9px;font-weight:800;background:#fff1d8;color:#ab8645;white-space:nowrap}.pr-badge.is-completed{color:#3d8a62;background:#e6f5ec}.pr-badge.is-cancelled{color:#8a9590;background:#f0f3f1}.pr-empty{padding:28px 20px!important;color:#91a698!important;text-align:left;white-space:normal;line-height:1.7}.pr-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 22px;color:#98aa9d;font-size:10px}.pr-pager>div{display:flex;gap:7px}.pr-pager .button{min-height:30px;padding:6px 10px;font-size:10px}.pr-footnote{color:#9caf9f;font-size:10px;line-height:1.7;margin:10px 0 20px}.pr-reserved-note{display:block;margin-top:5px;color:#a28754!important;font-size:9px!important}.pr-dialog{width:min(620px,calc(100vw - 28px));max-height:calc(100vh - 32px);padding:0;border:1px solid #d4e5da;border-radius:18px;color:#477357;background:#fff;box-shadow:0 25px 80px #153b2940}.pr-dialog--small{width:min(540px,calc(100vw - 28px))}.pr-dialog::backdrop{background:#17392a70;backdrop-filter:blur(3px)}.pr-dialog-heading{display:flex;gap:15px;align-items:center;padding:24px 25px 18px}.pr-dialog-heading>div{flex:1}.pr-dialog-heading h2{margin:3px 0 0;font-size:24px;font-weight:650;letter-spacing:-.7px;color:#315e44}.pr-dialog-heading .eyebrow{font-size:9px;margin:0}.pr-identity{display:grid;gap:7px;margin:0 25px 18px;padding:16px;border:1px solid #d8e6dd;border-radius:12px;background:#fbfdfb}.pr-identity strong{color:#3c654a;font-size:15px}.pr-identity span,.pr-identity small{font-size:10px;color:#90a597;line-height:1.6}.pr-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0 25px 17px}.pr-form-grid label{font-size:10px;line-height:1.6;color:#7e9788}.pr-form-grid input,.pr-form-grid select{min-height:42px;font-size:13px}.pr-form-grid textarea{min-height:90px;padding:12px;border:1px solid #d4e2d8;border-radius:9px;resize:vertical;font:12px inherit;color:#416b4d}.pr-form-grid small{font-size:9px;color:#9caf9f}.pr-span-2{grid-column:1/-1}.pr-form-grid .pr-form-grid{padding:12px;border:1px dashed #d8e4dc;border-radius:9px}.pr-review{display:flex!important;align-items:flex-start;gap:9px!important;font-size:10px!important;color:#829888!important}.pr-review input{width:15px;height:15px;min-height:15px!important;flex:0 0 auto;margin:3px 0 0;accent-color:#3c895c}.pr-info-note{margin:0 25px 17px;padding:13px 15px;border-radius:10px;border:1px solid #dcebe1;background:#f2f9f4;color:#81998a;font-size:10px;line-height:1.7}.pr-warning{margin:0 25px 17px;padding:11px 13px;border-radius:9px;color:#a48b56;background:#fff7e6;font-size:10px;line-height:1.6}.pr-dialog .pr-status{margin:0 25px 13px}.pr-quantity-summary{margin:0;color:#6e927a;font-size:11px;line-height:1.6}.pr-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:5px 25px 25px}.pr-dialog-actions .button{font-size:11px}.pr-view .button{font-size:11px}.pr-tax-note{display:block;margin-top:7px;color:#9b9675;font-size:9px;line-height:1.5}.pr-dialog[open] [inert]{opacity:.8}
@media(max-width:1000px){.pr-metrics{gap:10px}.pr-metric{padding:18px 14px;gap:10px}.pr-metric strong{font-size:23px}.pr-metric-icon{width:35px;height:35px;font-size:20px}.pr-toolbar{align-items:flex-start}.pr-toolbar>p{max-width:220px}.pr-panel-heading{padding:20px}.pr-heading-actions{margin-top:9px}}
@media(max-width:650px){.pr-metrics{grid-template-columns:1fr;gap:9px}.pr-metric{padding:16px}.pr-metric strong{font-size:23px}.pr-toolbar{flex-wrap:wrap;gap:10px}.pr-toolbar .search-field{flex-basis:100%;max-width:none}.pr-toolbar>p{max-width:none}.pr-heading-actions{width:100%}.pr-heading-actions .button{flex:1}.pr-panel-heading{padding:18px 15px}.pr-panel-heading h2{font-size:18px}.pr-panel-heading p{font-size:10px}.pr-history-filter{min-width:105px}.pr-pager{padding:12px 15px}.pr-dialog-heading{padding:20px 18px 16px;gap:10px}.pr-dialog-heading h2{font-size:20px}.pr-dialog-icon{width:36px;height:36px;font-size:21px}.pr-identity{margin-inline:18px}.pr-form-grid{padding-inline:18px;grid-template-columns:1fr}.pr-span-2{grid-column:auto}.pr-info-note,.pr-warning,.pr-dialog .pr-status{margin-inline:18px}.pr-dialog-actions{padding-inline:18px;flex-wrap:wrap}.pr-dialog-actions .button{flex:1;white-space:normal}}
/* Keep the pending handover actions visible while invoice details scroll. */
.pr-scroll-hint{margin:0 23px 12px;color:#91a698;font-size:10px;line-height:1.6}.pr-pending-table th:last-child,.pr-pending-table td:last-child:not([colspan]){position:sticky;right:0;z-index:2;min-width:150px;border-left:1px solid #dbe8df;background:#fff;box-shadow:-8px 0 12px -10px #254d3b70}.pr-pending-table th:last-child{z-index:3;background:#f4f9f5}.pr-pending-table .pr-row-actions{position:relative}.pr-pending-table td:last-child:not([colspan]){white-space:nowrap}@media(max-width:650px){.pr-scroll-hint{margin-inline:15px}.pr-pending-table th:last-child,.pr-pending-table td:last-child:not([colspan]){min-width:137px}}
