/* V175: one purchase task per view. Scoped to the purchase panels and submenu. */

#erpPurchasesNav {
  min-width:0;
  margin:0;
  border:0;
  color:var(--sidebar-muted,#60748e);
}
#erpPurchasesNav>summary {
  display:grid;
  grid-template-columns:25px minmax(0,1fr) 12px;
  align-items:center;
  gap:8px;
  min-height:37px;
  padding:8px 9px;
  border-radius:8px;
  color:inherit;
  font-size:11px;
  font-weight:500;
  line-height:1.4;
  list-style:none;
  cursor:pointer;
}
#erpPurchasesNav>summary::marker { content:""; }
#erpPurchasesNav>summary::-webkit-details-marker { display:none; }
#erpPurchasesNav>summary .nav-icon { width:25px;font-size:13px; }
#erpPurchasesNav .erp-purchases-chevron {
  display:grid;
  place-items:center;
  width:12px;
  margin-left:auto;
  font-size:13px;
  line-height:1;
  transform:rotate(-90deg);
  transition:transform .14s ease;
}
#erpPurchasesNav[open]>summary .erp-purchases-chevron { transform:rotate(0); }
#erpPurchasesNav>summary:hover,
#erpPurchasesNav[open]>summary { background:#edf3fd;color:#174bac; }
#erpPurchasesNav .erp-purchases-submenu {
  display:grid;
  gap:3px;
  min-width:0;
  margin:3px 0 5px 20px;
  padding:3px 0 3px 7px;
  border-left:1px solid #dbe6f6;
}
#erpPurchasesNav .erp-purchases-submenu .nav-item {
  display:flex;
  align-items:center;
  gap:7px;
  width:100%;
  min-width:0;
  min-height:35px;
  padding:7px 8px;
  border:1px solid transparent;
  border-radius:6px!important;
  font-size:11px;
  line-height:1.4;
  white-space:normal;
  text-align:left;
}
#erpPurchasesNav .erp-purchases-submenu .nav-icon { flex:0 0 16px;width:16px; }
#erpPurchasesNav .erp-purchases-submenu .nav-item.active {
  border-color:#cbdcf6!important;
  background:#e8f0ff!important;
  color:#174bac!important;
  box-shadow:none!important;
  font-weight:600;
}
#erpPurchasesNav .erp-purchases-submenu .nav-item.active .nav-icon {
  color:inherit!important;
  filter:none!important;
}
#erpPurchasesNav :is(summary,.nav-item):focus-visible {
  outline:2px solid #3776d2!important;
  outline-offset:2px;
}
body.sx-premium #erpPurchasesNav>summary { color:#3a5275; }
body.sx-premium #erpPurchasesNav>summary:hover,
body.sx-premium #erpPurchasesNav[open]>summary { color:#174bac; }

:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) {
  --erp-purchases-line:#dce5f1;
  --erp-purchases-ink:#183353;
  --erp-purchases-muted:#60748e;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0;
  align-self:start;
}
body.sx-premium #crmView :is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) {
  border:1px solid var(--erp-purchases-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel)>.panel-head {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  min-width:0;
  padding:14px 18px;
}
body.sx-premium #crmView :is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel)>.panel-head {
  padding:14px 18px;
  border-radius:9px 9px 0 0!important;
  background:#f9fbfe!important;
}
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel)>.panel-head>div:first-child {
  min-width:0;
  flex:1 1 200px;
}
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .panel-head h3 {
  margin:2px 0 0;
  font-size:15px;
  line-height:1.4;
}
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .panel-head .hint {
  margin:4px 0 0;
  max-width:780px;
  color:var(--erp-purchases-muted);
}
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel)>.erp-content {
  width:100%;
  min-width:0;
  padding:16px 18px;
}
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-actions .btn {
  margin:0;
  white-space:normal;
}
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-count {
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:27px;
  padding:4px 8px;
  border:1px solid #dbe6f6;
  border-radius:5px;
  background:#edf3ff;
  color:#315b9a;
  font-size:11px;
  line-height:1.4;
  font-weight:500;
  font-variant-numeric:tabular-nums;
}
:is(#erpNewEntryPanel,#erpPurchaseOrdersPanel) .erp-form {
  width:100%;
  min-width:0;
  max-width:100%;
  gap:5px;
}
:is(#erpNewEntryPanel,#erpPurchaseOrdersPanel) .erp-form-row {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 18px;
  min-width:0;
}
:is(#erpNewEntryPanel,#erpPurchaseOrdersPanel) .erp-form-row>div { min-width:0; }
:is(#erpNewEntryPanel,#erpPurchaseOrdersPanel) .erp-purchases-step {
  min-width:0;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--erp-purchases-line);
}
:is(#erpNewEntryPanel,#erpPurchaseOrdersPanel) .erp-purchases-step:first-child {
  margin-top:0;
  padding-top:0;
  border-top:0;
}
:is(#erpNewEntryPanel,#erpPurchaseOrdersPanel) .erp-purchases-step h4 {
  margin:0 0 8px;
  color:var(--erp-purchases-ink);
  font-size:13px;
  line-height:1.5;
}
:is(#erpNewEntryPanel,#erpPurchaseOrdersPanel) .erp-purchases-step>.hint { margin:5px 0 10px; }
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-table-wrap {
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overscroll-behavior-x:contain;
}
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-table :is(th,td) {
  padding:10px;
  line-height:1.45;
}
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-table th { text-align:left; }
#erpNewEntryPanel .erp-invoice-ocr-box { margin:0 0 10px;padding:14px; }
body.sx-premium #crmView #erpNewEntryPanel .erp-invoice-ocr-box {
  border-radius:8px!important;
  background:#f7faff!important;
  box-shadow:none!important;
}
#erpNewEntryPanel .erp-invoice-ocr-head { gap:16px; }
#erpNewEntryPanel .erp-invoice-ocr-head>div { min-width:0;flex:1; }
#erpNewEntryPanel .erp-invoice-ocr-head h4 { margin:2px 0 5px;font-size:14px; }
#erpNewEntryPanel .erp-invoice-ocr-head .hint { max-width:900px;font-size:11px;line-height:1.6; }
#erpNewEntryPanel .erp-invoice-ocr-file { margin:0;align-self:flex-start; }
#erpNewEntryPanel #erpInvoiceOcrReview {
  position:relative;
  min-width:0;
  max-width:100%;
  max-height:48vh;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  border:1px solid #dce5f1;
  border-radius:6px;
  background:#fff;
}
#erpNewEntryPanel #erpInvoiceOcrReview .erp-ocr-table {
  width:100%;
  min-width:780px;
  margin:0;
  border-collapse:separate;
  border-spacing:0;
}
#erpNewEntryPanel #erpInvoiceOcrReview .erp-ocr-table thead th {
  position:sticky;
  top:0;
  z-index:2;
  border-bottom:1px solid #ccd9eb;
  background:#f0f5fc!important;
  color:#365477;
  font-size:10px;
  font-weight:600;
}
#erpNewEntryPanel #erpInvoiceOcrReview .erp-ocr-table td:last-child { min-width:180px; }
#erpNewEntryPanel .erp-ocr-kpis { gap:6px; }
#erpNewEntryPanel .erp-ocr-kpis span { padding:5px 8px;font-size:10px; }
#erpNewEntryPanel #erpInvoiceProductResults:empty { display:none; }
#erpNewEntryPanel .erp-check-line { margin:14px 0 5px;line-height:1.6; }
#erpNewEntryPanel .erp-check-line input { margin-top:3px; }
#erpNewEntryPanel .erp-warning { margin:8px 0;font-size:11px; }
#erpNewEntryPanel #erpInvoiceSave { margin-top:10px;min-height:38px; }

:is(#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-filters {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:10px 14px;
  min-width:0;
  padding:0 0 14px;
  margin:0 0 14px;
  border-bottom:1px solid var(--erp-purchases-line);
}
:is(#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-filters>label {
  display:flex;
  flex:1 1 190px;
  flex-direction:column;
  gap:6px;
  min-width:0;
  margin:0;
  font-size:11px;
  color:var(--erp-purchases-muted);
}
:is(#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-filters>label:first-child { flex:2 1 280px; }
:is(#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-filters>:is(input,select) {
  flex:1 1 190px;
  min-width:0;
  width:auto;
}
:is(#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-filters .btn { margin:0; }
:is(#erpEntries,#erpOrders) { min-width:0;max-width:100%; }
:is(#erpEntries,#erpOrders) .erp-order {
  border:1px solid #dce5f1;
  border-radius:7px;
  padding:12px 14px;
  margin:0 0 10px;
  background:#fff;
  box-shadow:none;
}
:is(#erpEntries,#erpOrders) .erp-order:last-child { margin-bottom:0; }
:is(#erpEntries,#erpOrders) .erp-order-head { align-items:center;gap:12px; }
:is(#erpEntries,#erpOrders) .erp-order-head>div:first-child { flex:1;overflow-wrap:anywhere; }
:is(#erpEntries,#erpOrders) .erp-order-head>.btn { flex:none;margin:0; }
:is(#erpEntries,#erpOrders) .erp-order-detail { max-width:100%;overflow-x:auto; }
:is(#erpEntries,#erpOrders) .erp-invoice-meta { line-height:1.5; }
:is(#erpEntries,#erpOrders) .erp-invoice-card { border-left:3px solid #aec4e6; }
#erpEntries .erp-entry-receipt {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 16px;
  padding:12px 14px;
  margin:0 0 10px;
  border:1px solid #dce5f1;
  border-left:3px solid #aec4e6;
  border-radius:7px;
  background:#fff;
  font-size:12px;
  color:#183353;
}
#erpEntries .erp-entry-receipt>div:first-child { flex:1 1 220px;min-width:0;overflow-wrap:anywhere; }
#erpEntries .erp-entry-receipt strong { font-size:12px;font-weight:600; }
#erpEntries .erp-entry-receipt small { display:block;margin-top:4px;color:#60748e;line-height:1.5; }
#erpEntries .erp-entry-receipt>b { white-space:nowrap;font-variant-numeric:tabular-nums; }
#erpEntries .erp-entry-receipt .btn { flex:none;margin:0; }
#erpPurchaseOrdersPanel #erpOrderCreatePanel {
  min-width:0;
  max-width:100%;
  padding:15px 18px;
  border-bottom:1px solid #dce5f1;
  background:#f8fbff;
}
#erpPurchaseOrdersPanel #erpOrderCreatePanel h4 { margin:0 0 8px;font-size:14px; }
#erpPurchaseOrdersPanel #erpOrderCreateToggle[aria-expanded="true"] {
  border-color:#b7cbea!important;
  background:#eaf1fd!important;
  color:#2457a5!important;
  box-shadow:none!important;
}
#erpPurchaseOrdersPanel .erp-receive { border:1px solid #dce5f1;background:#f8fbff;padding:12px; }
#erpPurchaseOrdersPanel .erp-receive h4 { margin:0 0 8px; }
#erpPurchaseOrdersPanel .erp-order-actions { gap:7px; }
body.sx-premium #crmView :is(#erpEntriesPanel,#erpPurchaseOrdersPanel) .empty-list {
  margin:0;
  padding:22px 16px!important;
  border-radius:7px!important;
  font-size:12px;
}

/* Visibility always wins over panel and layout rules, including premium styles. */
:is(#erpPurchasesNav,#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel,#erpOrderCreatePanel).hidden,
:is(#erpPurchasesNav,#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel,#erpOrderCreatePanel)[hidden],
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .hidden,
:is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) [hidden] { display:none!important; }

@media(max-width:680px) {
  :is(#erpNewEntryPanel,#erpPurchaseOrdersPanel) .erp-form-row { grid-template-columns:minmax(0,1fr);gap:0; }
  :is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel)>.panel-head,
  body.sx-premium #crmView :is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel)>.panel-head { padding:12px 13px;gap:10px; }
  :is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel)>.erp-content { padding:13px; }
  :is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-actions { justify-content:flex-start;width:100%; }
  :is(#erpNewEntryPanel,#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-actions .btn { flex:1 1 150px; }
  :is(#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-filters { align-items:stretch;gap:10px; }
  :is(#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-filters>:is(label,input,select) { flex:1 1 100%; }
  :is(#erpEntriesPanel,#erpPurchaseOrdersPanel) .erp-purchases-filters .btn { width:100%; }
  :is(#erpEntries,#erpOrders) .erp-order { padding:11px; }
  :is(#erpEntries,#erpOrders) .erp-order-head { align-items:flex-start; }
  :is(#erpEntries,#erpOrders) .erp-invoice-meta { grid-template-columns:minmax(0,1fr); }
  #erpNewEntryPanel .erp-invoice-ocr-box { padding:11px; }
  #erpNewEntryPanel .erp-invoice-ocr-head { flex-direction:column;gap:11px; }
  #erpNewEntryPanel .erp-invoice-ocr-file { width:100%;text-align:center; }
  #erpNewEntryPanel #erpInvoiceSave { width:100%; }
  #erpPurchaseOrdersPanel #erpOrderCreatePanel { padding:13px; }
  #erpPurchaseOrdersPanel .erp-receive label { flex-wrap:wrap;align-items:flex-start; }
  #erpPurchaseOrdersPanel .erp-receive [data-erp-receipt-ref] { width:100%;min-width:0; }
  #erpEntries .erp-entry-receipt { padding:11px; }
}
@media(prefers-reduced-motion:reduce) {
  #erpPurchasesNav .erp-purchases-chevron { transition:none; }
}

/* V182: keep supplier reasons and the explicit alternate purchase action readable. */
#erpSupplyAddModal .erp-supply-catalog-card { flex-direction:column;align-items:stretch;gap:8px; }
#erpSupplyAddModal .erp-supply-catalog-card>div:first-child { overflow-wrap:anywhere; }
#erpSupplyAddModal .erp-supply-catalog-cost { flex-wrap:wrap;justify-content:space-between;white-space:normal;gap:8px; }
#erpSupplyAddModal .erp-supply-catalog-cost>div { flex:1 1 11rem;min-width:0; }
#erpSupplyAddModal .erp-supply-catalog-cost .btn { max-width:100%;white-space:normal; }
#erpSupplyQuickCatalog .erp-supply-quick-item { flex-wrap:wrap;align-items:flex-start; }
#erpSupplyQuickCatalog .erp-supply-quick-item>div { flex:1 1 220px; }
#erpSupplyQuickCatalog .erp-supply-quick-item small { white-space:normal;overflow:visible;text-overflow:clip; }
#erpSupplyQuickCatalog .erp-supply-quick-item .btn { max-width:100%;white-space:normal; }

/* V183: preserve purchase drafts and make corrections visible beside the captured work. */
#erpSupplyDraftTools {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
  margin:12px 0;padding:13px 15px;border:1px solid #cbdde7;border-radius:8px;background:#f3f8fb;
}
#erpSupplyDraftTools>div:first-child { display:grid;gap:5px;flex:1 1 260px;min-width:0; }
#erpSupplyDraftStatus { font-size:12px;line-height:1.5;overflow-wrap:anywhere; }
#erpSupplyDraftTools .erp-supply-draft-actions { display:flex;flex-wrap:wrap;gap:8px; }
#erpSupplyDraftTools .btn { white-space:normal; }
#erpSupplyDraftTools .erp-supply-draft-conflict { flex:1 1 100%;border-top:1px solid #cbdde7;padding-top:10px;line-height:1.5; }
#erpSupplyDraftTools .erp-supply-draft-conflict p { margin:0 0 9px;overflow-wrap:anywhere; }
#erpSupplyValidation {
  margin:12px 0;padding:14px 16px;border:1px solid #efb7ac;border-radius:8px;
  color:#783527;background:#fff6f2;font-size:13px;line-height:1.5;
}
#erpSupplyValidation>p { margin:5px 0 10px; }
#erpSupplyValidation ul { display:grid;gap:8px;list-style:none;margin:0;padding:0;max-height:340px;overflow:auto; }
#erpSupplyValidation li { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #f3d6cf; }
#erpSupplyValidation li>span { flex:1;min-width:0;overflow-wrap:anywhere; }
#erpSupplyValidation .btn { flex:0 0 auto;white-space:normal; }
#erpSupplyRows .erp-supply-invalid>td { background:#fff6f2!important; }
#erpSupplyRows input[aria-invalid="true"] { border:2px solid #bd4831!important;box-shadow:0 0 0 1px #fff3ee; }
#erpSupplyRows .erp-supply-orphan-note { display:block;font-weight:700;color:#8b5b13; }
#erpSupplyRows .erp-supply-orphan-row small { white-space:normal; }
#erpSupplyRows [data-remove-orphan-sku] { white-space:normal; }
#erpSupplyRows .erp-supply-allocation { display:block;max-width:160px;margin-top:5px;font-size:11px;line-height:1.4;white-space:normal;color:#52657b; }
#erpSupplyRows .erp-supply-allocation:empty { display:none; }
#erpSupplyValidation li.erp-supply-issue-product { display:grid;gap:6px; }
#erpSupplyValidation li.erp-supply-issue-product>div { display:grid;gap:7px; }
#erpSupplyValidation .erp-supply-issue-field { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;width:100%; }
#erpSupplyValidation .erp-supply-issue-field>span { flex:1;min-width:0;overflow-wrap:anywhere; }
#erpSupplyDraftTools.hidden,#erpSupplyDraftTools .hidden,#erpSupplyDraftTools [hidden],#erpSupplyValidation.hidden { display:none!important; }
@media(max-width:680px) {
  #erpSupplyDraftTools { align-items:stretch;padding:12px; }
  #erpSupplyDraftTools .erp-supply-draft-actions { flex:1 1 100%; }
  #erpSupplyDraftTools .erp-supply-draft-actions .btn { flex:1 1 130px; }
  #erpSupplyValidation { padding:12px; }
  #erpSupplyValidation li { flex-wrap:wrap;gap:8px; }
  #erpSupplyValidation li>span { flex-basis:100%; }
  #erpSupplyValidation .erp-supply-issue-field { flex-wrap:wrap;gap:8px; }
  #erpSupplyValidation .erp-supply-issue-field>span { flex-basis:100%; }
}

/* V186: pending data can be saved; only invalid values block the draft. */
#erpSupplyOrderForm .erp-supply-view-switch .btn.active { background:#eaf3fa;color:#244d6b;border-color:#bed3e2; }
#erpSupplyValidation.erp-supply-pending { color:#234b67;border-color:#bbd7e6;background:#f1f8fc; }
#erpSupplyValidation .erp-supply-pending-notes { line-height:1.5; }
#erpSupplyValidation .erp-supply-pending-notes p { margin:6px 0 0; }
#erpSupplyValidation>ul+.erp-supply-pending-notes { margin-top:14px;padding:12px;border-radius:6px;background:#f1f8fc;color:#234b67;border:1px solid #bbd7e6; }
#erpPurchaseOrdersPanel .erp-order-highlight { border-color:#347fa3;box-shadow:0 0 0 2px #347fa324; }
#erpPurchaseOrdersPanel .erp-po-total { font-weight:650;line-height:1.5; }
#erpPurchaseOrdersPanel .erp-po-pending-pill { display:inline-block;max-width:100%;margin:7px 0 0;padding:5px 9px;border-radius:6px;background:#eef5fa;color:#24516e;font-size:12px;font-weight:650;white-space:normal;overflow-wrap:anywhere; }
#erpPurchaseOrdersPanel .erp-po-draft-editor { margin:16px 0;padding:18px;border:1px solid #d0dfe8;border-radius:10px;background:#f9fcfe; }
#erpPurchaseOrdersPanel .erp-po-editor-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap; }
#erpPurchaseOrdersPanel .erp-po-editor-heading h4 { margin:0; }
#erpPurchaseOrdersPanel .erp-po-editor-heading .erp-po-pending-pill { margin:0; }
#erpPurchaseOrdersPanel .erp-po-draft-editor label { display:grid;gap:7px;min-width:0; }
#erpPurchaseOrdersPanel .erp-po-draft-editor input,#erpPurchaseOrdersPanel .erp-po-draft-editor textarea { box-sizing:border-box;width:100%;min-width:0; }
#erpPurchaseOrdersPanel [data-erp-po-draft-cost] { min-width:112px;max-width:190px; }
#erpPurchaseOrdersPanel .erp-po-draft-summary { padding:12px;background:#eef5fa;color:#244760;border-radius:6px;line-height:1.6; }
#erpPurchaseOrdersPanel .erp-po-save-notice { color:#245a40;line-height:1.5; }
#erpPurchaseOrdersPanel .erp-po-conflict { padding:13px;background:#fff8ed;border:1px solid #ebce9e;border-radius:7px;color:#79501a;line-height:1.5; }
#erpPurchaseOrdersPanel .erp-po-conflict p { margin:6px 0; }
#erpPurchaseOrdersPanel .erp-po-conflict details { padding:10px 0; }
#erpPurchaseOrdersPanel .erp-po-conflict ul { padding-left:20px;max-height:240px;overflow:auto; }
#erpPurchaseOrdersPanel .erp-po-conflict .btn { white-space:normal; }
#erpPurchaseOrdersPanel .erp-po-confirm { padding:14px 0;border-top:1px solid #dbe4ed; }
#erpPurchaseOrdersPanel .erp-po-confirm .hint { margin-top:0; }
#erpPurchaseOrdersPanel .erp-po-draft-editor .form-error { line-height:1.6;overflow-wrap:anywhere; }
@media(max-width:680px) {
 #erpPurchaseOrdersPanel .erp-po-draft-editor { padding:12px; }
 #erpPurchaseOrdersPanel .erp-po-draft-editor .erp-table { min-width:480px; }
 #erpPurchaseOrdersPanel .erp-po-draft-editor>button,#erpPurchaseOrdersPanel .erp-po-confirm>button { width:100%;white-space:normal; }
 #erpPurchaseOrdersPanel .erp-po-conflict .erp-order-actions { flex-direction:column;align-items:stretch; }
}
