.proc-table{overflow:auto;margin:16px 0;background:#fff;border:1px solid #dbe5eb;border-radius:12px}.proc-table table{width:100%;border-collapse:collapse;min-width:700px}.proc-table th{background:#edf3f6;text-align:left;color:#24475b;padding:12px}.proc-table td{padding:12px;border-bottom:1px solid #edf1f4;vertical-align:top}.proc-table small{display:block;color:#607d8b;max-width:350px;white-space:pre-wrap}.proc-allocation{display:grid;grid-template-columns:160px minmax(220px,1fr) 110px 65px;gap:8px;margin:10px 0}.proc-receive{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px;border-bottom:1px solid #e5edf2}.proc-receive input{width:120px}.proc-images{display:flex;gap:10px;margin:10px 0}.proc-images img{width:90px;height:90px;object-fit:contain}.proc-files{display:flex;gap:8px;flex-wrap:wrap}.proc-import{padding:12px;background:#f1f6f9;border-radius:10px}.proc-import pre{white-space:pre-wrap;max-height:220px;overflow:auto}.proc-order-row{margin:10px 0;padding:15px}#page-procurement .mini-actions{flex-wrap:wrap}#page-procurement .cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:18px 0}@media(max-width:700px){.proc-allocation{grid-template-columns:1fr 1fr}.proc-allocation [data-project]{grid-column:1/-1}.proc-receive{align-items:flex-start}.proc-receive span{max-width:65%}#page-procurement .page-head{display:block}#page-procurement .mini-actions{margin-top:12px}}
.purchase-photo-editor{border:1px dashed #8caab8;border-radius:8px;padding:12px;margin-top:12px;background:#f7fafb;outline-offset:3px}
.purchase-photo-editor small{display:block;color:var(--muted);margin:5px 0}.purchase-photo-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.purchase-photo-thumb{position:relative;display:inline-block;width:84px;height:84px}.purchase-photo-thumb img{width:100%;height:100%;object-fit:contain;border:1px solid #d0dce2;border-radius:5px;background:#fff}
.purchase-photo-thumb button{position:absolute;right:0;top:0;border:0;border-radius:50%;background:#a93636;color:#fff;padding:0;width:24px;height:24px}
.purchase-photo-picker{position:relative;display:inline-block;padding:8px 12px;border:1px solid #9bb4c1;border-radius:5px;cursor:pointer;background:#fff}.purchase-photo-picker[hidden]{display:none}
.purchase-photo-picker input{position:absolute;width:1px;height:1px;opacity:0;padding:0;border:0}.purchase-photo-error{color:#a93636;font-size:13px}.proc-item-photos{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0}.proc-item-photos img{width:62px;height:62px;object-fit:contain;border:1px solid #d0dce2;border-radius:4px}
.goods-arrival-choice{padding:18px;min-width:0}.goods-arrival-choice .flow-work-options{margin:14px 0}.goods-arrival-choice button{min-height:44px;white-space:normal}.goods-arrival-choice .error:empty{display:none}#page-procurement [data-simple-task="receive"]+[data-goods-unassigned]{margin-top:10px}@media(max-width:650px){.goods-arrival-choice .flow-work-options{grid-template-columns:1fr}.goods-arrival-choice>button{width:100%}}
.proc-allocation{grid-template-columns:minmax(130px,160px) minmax(0,1fr) minmax(75px,110px) 65px;align-items:start;min-width:0}
.proc-allocation>*{min-width:0;max-width:100%}.procurement-form,.proc-order-row,.proc-order-row>.form-grid,.procurement-form>label{min-width:0}
#modalBody .procurement-form>.wide,#modalBody #purchaseRows{grid-column:1/-1;width:100%;min-width:0}
.proc-project-picker{display:grid;gap:7px;min-width:0;max-width:100%;width:100%;font-weight:normal}
.proc-project-picker [data-project][hidden],.proc-project-picker [hidden]{display:none!important}
.proc-project-picker input{width:100%;min-width:0;font-size:16px}.proc-project-picker small{white-space:normal;overflow-wrap:anywhere}
.proc-project-results{display:block;width:100%;min-width:0;max-height:min(300px,35dvh);overflow:auto;overscroll-behavior:contain;border:1px solid #9bb5c2;border-radius:7px;background:#fff}
.proc-project-results>button{display:block;width:100%;min-height:44px;text-align:left;padding:10px;white-space:normal;overflow-wrap:anywhere;border:0;border-bottom:1px solid #dbe5eb;border-radius:0;font-size:14px;line-height:1.6;color:#183a4d;background:#fff}
.proc-project-results>button:hover,.proc-project-results>button:focus{background:#eaf4f4;outline:2px solid #16836e;outline-offset:-2px}.proc-project-results>button[aria-selected=true]{background:#e6f3ee;font-weight:600}
.proc-project-results>button>strong,.proc-project-results>button>small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere}.proc-project-results>button>small{font-size:12px;color:#526d7c;-webkit-line-clamp:1;margin-top:3px}
.proc-project-picker details{min-width:0;padding:7px 9px;background:#f0f7f5;border:1px solid #c4ddd5;border-radius:6px;font-size:13px}.proc-project-picker summary{overflow-wrap:anywhere;cursor:pointer;line-height:1.6}.proc-project-picker [data-project-full]{display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding-top:8px}.proc-project-picker [data-project-clear]{justify-self:start;font-size:12px;min-height:36px}.proc-project-picker [data-project-error]:empty{display:none}.proc-project-picker.is-disabled{opacity:.65}
@media(max-width:700px){.proc-allocation{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.proc-allocation>.proc-project-picker{grid-column:1/-1}.proc-project-results{max-height:min(260px,34dvh)}}
