.pm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}.pm-stat{background:#fff;border:1px solid #e3eaf2;border-radius:12px;padding:18px}.pm-stat span{display:block;color:#64748b;font-size:13px}.pm-stat strong{font-size:27px;color:#172b4d}.pm-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.pm-toolbar input{min-width:240px}.pm-toolbar input,.pm-toolbar select{padding:10px;border:1px solid #d6dfeb;border-radius:8px;background:#fff}.pm-product{display:flex;gap:10px;align-items:center;min-width:190px}.pm-product img,.pm-placeholder{width:42px;height:42px;object-fit:contain;border-radius:7px;background:#eef2fa;display:grid;place-items:center;color:#6480a8}.pm-product b{display:block;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#offerTable small,.pm-dialog small{display:block;color:#718096;font-size:11px;margin-top:5px}#offerTable td{padding:14px 12px}#offerTable{width:100%}.pm-issue{background:#f3f6fb!important;color:#47648b!important;white-space:nowrap}.pm-pagination{display:flex;gap:16px;justify-content:flex-end;align-items:center;margin-top:12px}.pm-dialog{width:min(1080px,94vw);max-height:90vh;border:0;border-radius:16px;padding:0;box-shadow:0 24px 90px #10284850;color:#22334d}.pm-dialog::backdrop{background:#0f213777}.pm-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 26px;background:#f4f7fc;position:sticky;top:0;z-index:2;border-bottom:1px solid #e3eaf2}.pm-dialog-head h3{margin:0}.pm-dialog-head p{font-size:12px;color:#64748b;margin:8px 20px 0 0}.pm-dialog-body{padding:22px 26px}.pm-dialog fieldset{border:1px solid #dfe7f1;border-radius:10px;margin:0 0 20px;padding:18px}.pm-dialog legend{font-weight:600;color:#254875;padding:0 8px}.pm-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pm-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#4d627e;min-width:0}.pm-fields input,.pm-fields select{width:100%;box-sizing:border-box;border:1px solid #d2dce9;padding:10px;border-radius:7px;background:#fff;color:#1c3554}.pm-fields input:focus,.pm-fields select:focus{outline:2px solid #a6c7ff}.pm-help{font-size:12px;line-height:1.8;color:#64748b;margin:0 0 14px}.pm-dialog details{border-bottom:1px solid #e2e8f0;padding:12px 0}.pm-dialog summary{cursor:pointer;font-weight:600}.pm-dialog pre{font-size:12px;white-space:pre-wrap;word-break:break-word;max-height:260px;overflow:auto;background:#f5f7fa;padding:14px}.pm-inner-scroll{max-height:300px;overflow:auto;margin:12px 0}.pm-inner-scroll table{width:100%}.pm-inner-scroll th{position:sticky;top:0;background:#eff4fa}.pm-inner-scroll td{font-size:12px;vertical-align:top;padding:10px}.pm-name{max-width:320px;white-space:normal!important;word-break:break-word}.pm-form-actions{display:flex;justify-content:flex-end;gap:10px;margin:12px 0 24px}.pm-subsection{border-top:1px solid #e1e8f2;margin-top:25px;padding-top:20px}.pm-subsection>h4{margin:0 0 12px}.pm-linkrow{display:flex;gap:20px;margin:14px 0}.pm-file{cursor:pointer;padding:10px 14px;background:#eaf1fb;border-radius:8px;font-size:13px;color:#315480}.pm-file input{display:none}.pm-check{display:flex;gap:8px;margin:14px 0;font-size:13px}.pm-dialog button:disabled{opacity:.5}.product-scope{font-size:12px;color:#64748b;line-height:1.8}@media(max-width:1000px){.pm-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.pm-fields{grid-template-columns:1fr}.pm-dialog-body,.pm-dialog-head{padding:16px}.pm-toolbar input{min-width:0;width:100%}}
.pm-upload-row{display:flex;align-items:center;gap:18px;margin-top:20px}.pm-upload-row img{width:96px;height:96px;object-fit:contain;border:1px solid #dfe7f1;border-radius:10px;background:#fff}.pm-upload-row img[hidden]{display:none}.pm-upload-row .pm-help{margin:12px 0 0}.pm-upload-row .pm-file{display:inline-block}
.pm-image-editor{margin-top:18px;padding-top:16px;border-top:1px solid #e3eaf2}.pm-image-heading{font-size:13px;font-weight:600;color:#254875}.pm-image-editor .pm-upload-row{margin-top:10px;align-items:flex-start}.pm-image-controls{flex:1;min-width:0}.pm-image-input-row{display:flex;align-items:flex-end;gap:12px}.pm-image-input-row>label:first-child{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px;font-size:12px;color:#4d627e}.pm-image-input-row input[name=image_url]{width:100%;box-sizing:border-box;border:1px solid #d2dce9;padding:10px;border-radius:7px;color:#1c3554}.pm-image-input-row .pm-file{white-space:nowrap;flex-shrink:0}.pm-image-controls .pm-help{margin:8px 0 0}@media(max-width:600px){.pm-image-input-row{align-items:stretch;flex-direction:column}.pm-image-input-row .pm-file{align-self:flex-start}.pm-image-editor .pm-upload-row{flex-direction:column}}
 #packagingForm .pm-fields{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:640px){#packagingForm .pm-fields{grid-template-columns:1fr}}
.pm-cost-batch-dialog{box-sizing:border-box;width:min(1120px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90vh;margin:auto!important;inset:0;overflow:hidden}.pm-cost-batch-dialog[open]{display:flex;flex-direction:column}.pm-cost-batch-dialog .pm-dialog-head{flex-shrink:0;padding:18px 22px}.pm-cost-batch-dialog .pm-dialog-body{min-height:0;overflow-y:auto;padding:16px 22px}.pm-cost-batch-dialog .pm-inner-scroll{max-height:45vh!important;overflow:auto;scrollbar-gutter:stable}.pm-cost-batch-dialog table{table-layout:fixed;min-width:720px;width:100%}.pm-cost-batch-dialog th,.pm-cost-batch-dialog td{white-space:normal!important;overflow-wrap:anywhere;font-size:12px;padding:10px 8px}.pm-cost-batch-dialog th:nth-child(1){width:14%}.pm-cost-batch-dialog th:nth-child(2){width:12%}.pm-cost-batch-dialog th:nth-child(3){width:7%}.pm-cost-batch-dialog th:nth-child(4),.pm-cost-batch-dialog th:nth-child(5),.pm-cost-batch-dialog th:nth-child(6){width:12%}.pm-cost-batch-dialog th:last-child{width:31%}.pm-cost-batch-dialog .pm-form-actions{position:sticky;bottom:-16px;background:#fff;margin:12px 0 0;padding:12px 0;border-top:1px solid #e3eaf2}.pm-cost-batch-dialog [data-status]{line-height:1.7;font-size:13px;margin:0 0 12px}.pm-cost-batch-dialog .pm-fields{grid-template-columns:minmax(160px,1fr) minmax(200px,2fr)}@media(max-width:600px){.pm-cost-batch-dialog .pm-fields{grid-template-columns:1fr}.pm-cost-batch-dialog .pm-dialog-body{padding:14px}}
