#purchase-controls-list{margin:18px 0;padding:14px;border:1px solid #ccd9de;border-radius:9px}#purchase-controls-list>p{margin:8px 0}#purchase-receipt-dialog{width:min(1200px,calc(100vw - 24px));max-height:94dvh;overflow:auto}#purchase-receipt-dialog h3{margin:22px 0 12px}#purchase-receipt-dialog table{min-width:680px}#purchase-receipt-dialog .table-wrap{max-width:100%;overflow:auto}#purchase-receipt-dialog td input{width:140px;min-height:38px}#purchase-receipt-dialog td select{min-width:150px;min-height:38px}.purchase-confirmed-control{margin:10px 0;border:1px solid #dce2ed;border-radius:8px;padding:12px}.purchase-confirmed-control summary,#purchase-receipt-new>summary{cursor:pointer;min-height:40px;font-weight:600}#purchase-receipt-form>.po-item-fields,#purchase-receipt-form>.table-wrap{margin:16px 0}#purchase-receipt-form .po-header-block{padding:14px;border:1px solid #ccd9de;border-radius:9px}#purchase-receipt-form .po-header-block p{margin-bottom:12px}.po-item-purchases{margin-top:16px;border:1px solid #dce2ed;border-radius:8px;padding:12px}.po-item-purchases label{display:flex;align-items:center;gap:8px}.po-item-purchases input[type=checkbox]{width:18px;height:18px;flex:none}.po-item-purchases p{margin:8px 0}@media(max-width:700px){#purchase-controls-list .panel-head{flex-direction:column;gap:10px}#purchase-receipt-dialog{padding:12px}#purchase-receipt-dialog input,#purchase-receipt-dialog select{font-size:16px;min-height:44px}#purchase-receipt-dialog .detail-head{gap:8px}.po-item-purchases label{min-height:44px}}

#purchase-receipt-error:empty{display:none}#purchase-receipt-error{font-size:14px;line-height:1.5;overflow-wrap:anywhere;padding:12px;margin:12px 0;border-radius:6px;background:#eff5f5}#purchase-receipt-error[data-error=true]{background:#fff1ed;color:#9d271b;border:1px solid #e9aea2}

#pr-correction-label{display:block;margin:16px 0}#pr-correction-reason{width:100%;min-height:80px;resize:vertical}.receipt-reversed{color:#8a4520;background:#fff5e9;padding:10px;border-radius:6px}#pr-correction-label[hidden],#pr-correction-cancel[hidden]{display:none!important}

#pr-reversal-dialog{width:min(540px,calc(100vw - 24px));max-width:calc(100vw - 24px);box-sizing:border-box;max-height:90dvh;overflow:auto;padding:20px;border:1px solid #ccd5df;border-radius:12px}#pr-reversal-dialog label{display:grid;gap:8px}#pr-reversal-reason{width:100%;box-sizing:border-box;min-height:80px}#pr-reversal-error{color:#a12e25}.purchase-confirmed-control [data-pr-reverse]{margin:8px}

#purchase-receipt-start{margin:16px 0;min-height:44px;max-width:100%;white-space:normal}#purchase-receipt-start[hidden],#purchase-receipt-new[hidden]{display:none!important}

.receipt-payment-only #purchase-receipt-form>:is(.table-wrap,.po-item-fields),.receipt-payment-only #purchase-receipt-form>label:has(#pr-control-item),.receipt-payment-only #pr-payment-route{display:none!important}.purchase-confirmed-control [data-pr-payment]{margin:8px;min-height:44px}

#purchase-receipt-complete-note{font-size:12px;line-height:1.5;color:#b42318;margin:14px 0 6px}#purchase-receipt-complete-note[hidden]{display:none!important}
#purchase-receipt-complete-note{margin-bottom:3px}#purchase-receipt-complete-note:not([hidden])+#purchase-receipt-start{margin-top:0}

.purchase-financial-status{display:block;margin-top:4px;color:#607084;font-size:12px}

button.purchase-row-action:not(:disabled){font-weight:800}
