.purchase-filters{display:flex;align-items:center;gap:8px;padding:12px 16px}.purchase-filters input{min-width:280px}.purchase-filters input,.purchase-filters select{height:38px;border:1px solid #c8d1d5;background:#fff;padding:0 10px}.purchase-filters button{height:38px;border:0;background:var(--nav);color:#fff;padding:0 16px}.purchase-filters a{color:var(--green);font-weight:700}.purchase-supplier-groups{display:grid;gap:12px}.purchase-supplier-group>summary{cursor:pointer;display:flex;justify-content:space-between;padding:14px 16px;background:#dce9e4;border:1px solid #bfd1ca;font-weight:700}.purchase-supplier-group .data-section{border-top:0}.purchase-metrics{margin-bottom:14px}.purchase-line-forms{display:grid}.purchase-line-form{position:relative;padding:16px;border-bottom:1px solid var(--line)}.purchase-line-fields{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px}.purchase-line-fields .form-field label{display:block;margin-bottom:5px;color:var(--muted);font-size:11px}.purchase-line-fields input,.purchase-line-fields select{width:100%;height:38px;border:1px solid #c8d1d5;padding:0 8px;background:#fff}.line-remove-button{margin-top:10px;border:1px solid #d1aaa4;background:#fff;color:var(--red);padding:6px 10px}.delete-field{display:none}.form-help{margin:10px 0 0;color:var(--muted);font-size:12px}.goods-receipt-table input,.goods-receipt-table select{height:36px;border:1px solid #c8d1d5;background:#fff;padding:0 8px}.goods-receipt-table input[type="number"]{width:82px}.goods-receipt-table input[type="text"]{display:block;margin-top:5px;width:130px}.goods-receipt-table td small{white-space:normal}.inline-check{display:flex;align-items:center;gap:6px}.purchase-schedule-group{margin-bottom:12px}.purchase-schedule-group>summary{cursor:pointer;display:flex;justify-content:space-between;padding:12px 16px;background:#edf3f0;border:1px solid #cad8d2;font-weight:700}.purchase-schedule-group .data-section{border-top:0}.status-partially_received,.status-partial{background:#fff1d7;color:var(--amber)}.status-completed{background:#e5f3ed;color:var(--green)}.status-closed,.status-short_closed{background:#eef0f1;color:#53616a}
@media(max-width:760px){.purchase-filters{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.purchase-filters input{grid-column:1/-1;min-width:0;width:100%}.purchase-line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-detail-lines th,.purchase-detail-lines td,.purchase-receipts th,.purchase-receipts td{padding:10px 9px}.goods-receipt-table select{min-width:190px}}
