/* Purchase invoices (24 October). The form borrows the manual-order table (nom-*),
   so only what is particular to buying lives here. */

/* The product picker under the search box - one pick adds one line. */
.pur-pick{margin:0 0 10px}

.pur-w-cost{width:110px}
.pur-cost-input{width:96px}

/* How far this line's price is from the cost the product carries now. Posting makes
   this price the cost, so a jump is worth seeing before the button is pressed. */
.pur-cost-move{display:inline-block;margin-inline-start:6px;padding:0 6px;border-radius:20px;font-size:10px;font-weight:700;line-height:1.6}
.pur-cost-move.is-up{background:var(--danger-l);color:var(--danger)}
.pur-cost-move.is-down{background:var(--success-l);color:var(--success)}

/* A draft has no number until it posts. */
.pur-draft-no{color:var(--muted);font-weight:600}

/* Purchase returns (25 October). The reason is picked per line from a fixed list. */
.pur-reason{width:150px;padding:5px 8px;border:1px solid var(--border);border-radius:8px;font-size:12px;font-family:inherit;background:var(--card)}
.pur-reason.is-missing{border-color:var(--danger)}
.pur-w-num{width:74px}
.pur-w-reason{width:166px}
/* Shelf lower than what could still go back - the shelf is the limit, and it says so. */
.pur-short{color:var(--warning);font-weight:700}
/* Rows that open a document. */
.pur-row-link{cursor:pointer}
.pur-row-link:hover td{background:var(--bg)}
