.modal.diamond-review{width:min(1600px,96vw)!important;max-width:1600px!important;max-height:94vh!important;padding:24px!important;position:relative;color:#183548}.diamond-review h2{margin:0 36px 14px 0;font-size:21px}.p2-brandline{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}.p2-brandline strong{font-size:19px}.p2-owner{background:#e7f0f5;border-radius:14px;padding:6px 12px;font-weight:bold}.p2-document-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.diamond-review label{font-size:12px;color:#4d6478}.p2-document-summary input,.p2-exceptions input:not([type=checkbox]){display:block;width:100%;box-sizing:border-box;padding:9px;margin-top:6px;border:1px solid #cbd9e3;border-radius:6px;background:white}.p2-item-grid{max-height:36vh;overflow:auto!important;border:1px solid #dce5eb;border-radius:7px;margin-bottom:10px}.p2-item-grid table{width:max-content;min-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.p2-item-grid th{position:sticky;top:0;z-index:1;background:#edf3f7;white-space:nowrap;padding:11px 9px}.p2-item-grid td{padding:8px;border-bottom:1px solid #e8eef2}.p2-item-grid input{width:115px;padding:8px;border:1px solid #ccd9e3;border-radius:4px;box-sizing:border-box}.p2-item-grid th:nth-child(3),.p2-item-grid td:nth-child(3) input{min-width:220px}.p2-item-grid td:nth-child(10) input{width:165px}.p2-item-grid input[readonly]{background:#f4f7f9;color:#526a7c}.p2-item-grid input[aria-invalid=true]{border:2px solid #b23d26;background:#fff3ee}.p2-verification{display:flex;flex-direction:column;gap:10px;margin:16px 0}.p2-verification label,.p2-exceptions label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px;font-size:13px}.p2-exceptions{border-left:3px solid #d99a32;background:#fff8eb;padding:12px 16px;margin:12px 0;display:grid;gap:9px}.p2-exceptions h3{margin:0;font-size:14px}.p2-exceptions p{margin:0;font-size:12px}.p2-total-strip{font-weight:bold;border-top:1px solid #dce5eb;padding:13px 0}.p2-source-notes{font-size:12px;color:#8e5112}.p2-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #dce5eb;padding-top:14px}#p2-result{white-space:pre-line;color:#a43222;font-size:13px;margin-bottom:12px}#p2-close{position:absolute;top:16px;right:18px;background:transparent;border:0;font-size:25px;color:#506c80;cursor:pointer}@media(max-width:900px){.p2-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.p2-actions .action{flex:1}}
.p2-item-grid td:nth-child(5) input,.p2-item-grid td:nth-child(6) input,.p2-item-grid td:nth-child(n+11) input{text-align:right;font-variant-numeric:tabular-nums}.p2-item-grid th:nth-child(5),.p2-item-grid th:nth-child(6),.p2-item-grid th:nth-child(n+11){text-align:right}
.diamond-review input[type=checkbox]{width:16px!important;min-width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important;padding:0!important}.diamond-review .p2-verification label,.diamond-review .p2-exceptions label:has(input[type=checkbox]){justify-content:flex-start!important;gap:9px!important;margin:0!important;line-height:1.5}.p2-scroll-hint{font-size:11px;color:#637a8b;margin:0 0 10px}
#modalBack:has(.diamond-review){z-index:700}.diamond-review .p2-actions{position:sticky;bottom:-24px;background:white;z-index:2;padding-bottom:4px}
.diamond-review .p2-item-grid table{width:1500px;min-width:100%;table-layout:fixed}.diamond-review .p2-item-grid th{white-space:normal;line-height:1.3}.diamond-review .p2-item-grid td input,.diamond-review .p2-item-grid td:nth-child(3) input,.diamond-review .p2-item-grid td:nth-child(10) input{width:100%;min-width:0}.diamond-review .p2-item-grid th:nth-child(3){min-width:0}

.diamond-review .p2-item-grid table{width:2380px}.diamond-review .p2-item-grid select{width:100%;min-width:110px;padding:8px;border:1px solid #ccd9e3;border-radius:4px;background:white}.diamond-review .p2-item-grid select[aria-invalid=true]{border:2px solid #b23d26;background:#fff3ee}.diamond-review .p2-item-grid th,.diamond-review .p2-item-grid td input[data-p2-field]{text-align:left}.diamond-review .p2-item-grid td input:is([data-p2-field=carat],[data-p2-field=quantity],[data-p2-field=cost_per_ct],[data-p2-field=supplier_cost],[data-p2-field=sale_per_ct],[data-p2-selling-total]),.diamond-review .p2-item-grid th:is([data-p2-column=carat],[data-p2-column=quantity],[data-p2-column=cost_per_ct],[data-p2-column=supplier_cost],[data-p2-column=sale_per_ct],[data-p2-column=total_selling_price]){text-align:right;font-variant-numeric:tabular-nums}.diamond-review .p2-total-strip{display:flex;flex-wrap:wrap;gap:12px 24px}

.jewelry-review .p2-document-summary select{display:block;width:100%;box-sizing:border-box;padding:9px;margin-top:6px;border:1px solid #cbd9e3;border-radius:6px;background:white}.jewelry-review #j3-grid table{width:2390px}.jewelry-review #j3-grid td input{width:100%;min-width:0;text-align:left}.jewelry-review #j3-grid td input:is([data-j3-field=ctw],[data-j3-field=quantity],[data-j3-field=cost],[data-j3-field=sale_price],[data-j3-computed=total_cost],[data-j3-computed=total_selling_price]){text-align:right;font-variant-numeric:tabular-nums}.jewelry-review #j3-close{position:absolute;top:16px;right:18px;background:transparent;border:0;font-size:25px;color:#506c80;cursor:pointer}.jewelry-review #j3-result{white-space:pre-line;color:#a43222;font-size:13px}.jewelry-review #j3-history{font-size:12px;margin-bottom:12px}.jewelry-review .p2-actions{position:sticky;bottom:-24px;background:white}.jewelry-review .p2-item-grid input[readonly]{background:#f4f7f9}

.jewelry-review #j3-grid textarea{width:100%;min-width:170px;box-sizing:border-box;resize:vertical;padding:8px;border:1px solid #ccd9e3;border-radius:4px;font:inherit;font-size:12px;background:#f4f7f9;color:#526a7c}

.diamond-review .p2-exceptions[hidden]{display:none!important}.jewelry-review #j3-grid table{width:2440px}.jewelry-review #j3-grid textarea{min-width:220px;white-space:pre;overflow:auto}


.receiving-intake[hidden]{display:none!important}.receiving-intake input[type=file]{display:block;width:100%;min-width:0}.receiving-intake .tiny{display:block;overflow-wrap:anywhere}.receiving-intake [role=alert]{white-space:pre-line;color:#914026}.receiving-intake #j3-existing-actions:empty,.receiving-intake #p2-existing-actions:empty{display:none}.jewelry-review #j3-grid table{width:2620px}
.jewelry-review [data-j3-reason-for][hidden]{display:none!important}.jewelry-review [data-j3-reason-for]{display:block;margin-top:7px}.jewelry-review [data-j3-reason-for] input{margin-top:4px}
