/* RMPT e-POS V13 · Purchase Orders / Supplier Fulfilment */
.v13-page-head{align-items:center}.v13-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}.v13-metrics article{background:#fff;border:1px solid #d6e0e8;border-radius:12px;padding:14px 16px}.v13-metrics span{display:block;color:#667085;font-size:12px;font-weight:700}.v13-metrics strong{display:block;margin-top:6px;font-size:25px;color:#11243b}.v13-table td small{display:block;color:#697586;margin-top:3px}.v13-status{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#edf2f6;color:#344054;font-size:11px;font-weight:800;text-transform:capitalize;white-space:nowrap}.v13-dispatched,.v13-open{background:#e8f3ff;color:#175cd3}.v13-accepted,.v13-part_received{background:#fff4d9;color:#9a6700}.v13-closed,.v13-received{background:#e9f8ef;color:#087443}.v13-cancelled{background:#fff0f0;color:#b42318}.v13-filter .search{min-width:320px;flex:1}.v13-delivery-list{display:grid;gap:8px}.v13-delivery-row{width:100%;border:1px solid #d6e0e8;background:#fff;border-radius:10px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.v13-delivery-row:hover{border-color:#278c99;background:#f8fcfd}.v13-delivery-row span>b,.v13-delivery-row span>small{display:block}.v13-delivery-row small{color:#667085;margin-top:2px}.v13-delivery-head,.v13-po-open-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:14px}.v13-delivery-head h3{margin:7px 0 2px}.v13-delivery-head p,.v13-po-open-head p{color:#667085}.v13-delivery-head>div:last-child{text-align:right}.v13-delivery-head strong{display:block;font-size:24px;margin-bottom:8px}.v13-accept-qty{width:86px}.v13-linked{font-weight:700;color:#087443}.v13-history{border-top:1px solid #e4e9ee;margin-top:14px;padding-top:12px}.v13-history h4{margin:0 0 8px}.v13-history>div{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #f0f2f4}.v13-history span{color:#667085}.v13-delivery-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}.v13-note{border:1px solid #bfe3e8;background:#f2fbfc;border-radius:10px;padding:11px 13px;margin-bottom:14px}.v13-note b,.v13-note span{display:block}.v13-note span{color:#5f6f7f;margin-top:2px}.v13-inline{display:grid;grid-template-columns:1fr 90px auto;gap:8px}.v13-search-results{position:relative;display:grid;max-height:260px;overflow:auto;border-radius:8px}.v13-search-results button,.v13-picker button{border:0;border-bottom:1px solid #e5e9ee;background:#fff;padding:9px 11px;display:flex;justify-content:space-between;text-align:left;cursor:pointer}.v13-search-results button:hover,.v13-picker button:hover{background:#f3fafb}.v13-search-results b,.v13-search-results small,.v13-picker b,.v13-picker small{display:block}.v13-search-results small,.v13-picker small{color:#667085}.v13-po-lines,.v13-fulfil-line,.v13-extra-line{display:grid;gap:7px}.v13-po-lines>div,.v13-fulfil-line,.v13-extra-line{display:grid;grid-template-columns:1fr 110px auto;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #e7ebef}.v13-po-lines b,.v13-po-lines small,.v13-fulfil-line b,.v13-fulfil-line small,.v13-extra-line b,.v13-extra-line small{display:block}.v13-po-lines small,.v13-fulfil-line small,.v13-extra-line small{color:#667085}.v13-empty-inline{color:#667085;padding:10px 0}.v13-subsection{border-top:1px solid #e4e9ee;margin-top:15px;padding-top:12px}.v13-subsection h4{margin:0 0 9px}.v13-order-cards{display:grid;gap:10px;padding:14px}.v13-order-cards article{border:1px solid #d6e0e8;border-radius:12px;padding:14px;display:flex;justify-content:space-between;align-items:center}.v13-order-cards h3{margin:7px 0 3px}.v13-order-cards p{margin:0;color:#667085}.v13-tabs{display:flex;gap:7px;margin:0 0 10px}.v13-tabs button{border:1px solid #cfd8e1;background:#fff;border-radius:9px;padding:9px 14px;font-weight:800;cursor:pointer;color:#344054}.v13-tabs button.active{background:#173a56;border-color:#173a56;color:#fff}.v13-extra-head{display:flex;align-items:center;justify-content:space-between;margin-top:16px}.v13-extra-head h4{margin:0}.v13-invoice-grid{margin-top:16px;border-top:1px solid #e5e9ee;padding-top:14px}.v13-supplier-transfers{margin-bottom:14px;border:1px solid #a9d8df}.v13-supplier-transfers .card-head{gap:15px;align-items:center}.v13-supplier-transfers .card-head p{margin:2px 0 0;color:#667085}.v13-scan{display:flex;gap:7px;min-width:min(460px,48vw)}.v13-scan input{flex:1}.v13-print{background:#fff}.btn.primary{background:#146b78;border-color:#146b78;color:#fff}.btn.primary:hover{background:#0f5661}.btn.soft{border-color:#b8c6d2;background:#f7f9fb;color:#18324b}.btn.soft:hover{background:#edf3f6}.btn.red{background:#b42318;border-color:#b42318;color:#fff}.btn{font-weight:750}
@media(max-width:900px){.v13-metrics{grid-template-columns:repeat(2,1fr)}.v13-supplier-transfers .card-head{align-items:stretch;flex-direction:column}.v13-scan{min-width:0;width:100%}.v13-inline{grid-template-columns:1fr 76px}.v13-inline .btn{grid-column:1/-1}.v13-delivery-head{flex-direction:column}.v13-delivery-head>div:last-child{text-align:left}}
.v13-receive-scan{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;margin:0 0 10px}.v13-receive-scan input{min-width:260px}.v13-receive-scan span{font-size:12px;font-weight:800;color:#146b78;min-width:72px;text-align:right}
@media(max-width:760px){.v13-receive-scan{grid-template-columns:1fr auto}.v13-receive-scan span{grid-column:1/-1;text-align:left}}
