.purchase-dialog{width:min(47rem,calc(100% - 24px))}
.purchase-dialog header,.purchase-dialog form,.purchase-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.purchase-dialog header{justify-content:space-between;align-items:center;margin-bottom:12px}
.purchase-dialog header h2{margin-bottom:0}
.purchase-dialog form label,.purchase-actions label{flex:1 1 11rem}
.purchase-dialog form input{margin-bottom:0}
.purchase-dialog form button,.purchase-actions button{margin-bottom:0}
.purchase-dialog hr{border:0;border-top:1px solid #dfe5ef;margin:14px 0}
.purchase-dialog h3{margin:11px 0 5px}
.purchase-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:8px 0;border-bottom:1px solid #dfe5ef}
.purchase-row>div{flex:1 1 12rem;min-width:0}
.purchase-dialog .purchase-choice-order{display:flex;align-items:start;gap:7px;padding:5px 0}
.purchase-dialog .purchase-choice-order input{width:auto;margin:4px 0 0}
#purchase-orders{max-height:18rem;overflow:auto;padding-right:4px}
#purchase-note:empty{display:none}
