/* ========================================================================== 
   DPX v0.6.8 — authoritative patch-to-v0.6.8-4 overrides.
   Loaded after every previous stylesheet so the seven approved changes remain
   isolated from older responsive patches.
   ========================================================================== */

/* Patch 1 + 2 — PC administrator Historical Orders. */
@media (min-width: 901px) and (min-height: 601px) {
  /* Keep the compact blue stack label and white value in separate grid tracks.
     Older layered CSS could let the two text runs occupy the same pixels. */
  html body.desktop-tab-layout.user-admin #ledgerTable .ledger-stack-line,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-stack-line {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) !important;
    align-items: baseline !important;
    column-gap: 6px !important;
    min-width: 0 !important;
  }
  html body.desktop-tab-layout.user-admin #ledgerTable .ledger-stack-line b,
  html body.desktop-tab-layout.user-admin #ledgerTable .ledger-stack-line em,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-stack-line b,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-stack-line em {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  html body.desktop-tab-layout.user-admin #ledgerTable .ledger-stack-line b,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-stack-line b {
    white-space: nowrap !important;
  }
  html body.desktop-tab-layout.user-admin #ledgerTable .ledger-stack-line em,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-stack-line em {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  html body.desktop-tab-layout.user-admin #ledgerTable .ledger-col-closeReason,
  html body.desktop-tab-layout.user-admin #ledgerTable .reason-cell,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-closeReason,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .reason-cell {
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
  }
  html body.desktop-tab-layout.user-admin #ledgerTable .dpx-ledger-reason-text,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .dpx-ledger-reason-text {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    white-space: normal !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    line-height: 1.18 !important;
    max-height: 2.36em !important;
  }
}

/* Patch 3 — PC normal-user first ledger column: remove unused horizontal area. */
@media (min-width: 901px) and (min-height: 601px) {
  html body.desktop-tab-layout.user-normal.non-admin-ledger #ledgerTableWrap #ledgerTable .ledger-col-tradeSide {
    width: 8% !important;
    min-width: 112px !important;
    max-width: 132px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  /* Give recovered width to Reason rather than leaving a blank table gutter. */
  html body.desktop-tab-layout.user-normal.non-admin-ledger #ledgerTableWrap #ledgerTable .ledger-col-closeReason,
  html body.desktop-tab-layout.user-normal.non-admin-ledger #ledgerTableWrap #ledgerTable .reason-cell {
    width: 25% !important;
  }
}

/* Patch 7 — shared Signal Flip Control presentation. The section lives inside
   Auto Trade Setting, which the existing phone layout moves into Settings. */
.signal-flip-control {
  box-sizing: border-box;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(83, 153, 209, .32);
  border-radius: 9px;
  background: rgba(5, 19, 34, .28);
}
.signal-flip-control-title,
.flip-diagnostic-heading {
  color: #a9cdeb;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.signal-flip-control-title { margin-bottom: 9px; font-size: 12px; }
.signal-flip-control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 10px;
  align-items: end;
}
.signal-flip-control-grid > label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #b8cce0;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 700;
}
.signal-flip-control-grid > label > .text-input,
.signal-flip-control-grid > label > .select-input {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
}
.signal-flip-control-grid > label.checkbox-field {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 38px;
}
.signal-flip-control-grid > label.checkbox-field > span { align-self: center; }
.flip-diagnostic-panel { margin-top: 10px; }
.flip-diagnostic-heading { margin-bottom: 5px; font-size: 10px; }
.flip-diagnostic-log {
  box-sizing: border-box;
  min-height: 68px !important;
  max-height: 142px !important;
  overflow: auto !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
}

/* Patches 4–6 — phone portrait. */
@media (max-width: 600px) and (orientation: portrait) {
  /* Entry + Adjust use the same bounded, touch-scrollable lower panel behavior
     already proven for Settings. */
  body.phone-tab-layout.phone-tab-entry .phone-tab-panels,
  body.phone-tab-layout.phone-tab-adjust .phone-tab-panels {
    min-height: 0 !important;
    overflow: hidden !important;
  }
  body.phone-tab-layout.phone-tab-entry #phoneEntryPanel[aria-hidden="false"],
  body.phone-tab-layout.phone-tab-adjust #phoneAdjustPanel[aria-hidden="false"] {
    box-sizing: border-box !important;
    display: block !important;
    height: 330px !important;
    min-height: 260px !important;
    max-height: 330px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    overscroll-behavior-y: contain !important;
    scrollbar-width: thin !important;
    padding-bottom: max(26px, env(safe-area-inset-bottom)) !important;
  }
  body.phone-tab-layout.phone-tab-entry #phoneEntryPanel[aria-hidden="false"]::-webkit-scrollbar,
  body.phone-tab-layout.phone-tab-adjust #phoneAdjustPanel[aria-hidden="false"]::-webkit-scrollbar {
    display: block !important;
    width: 4px !important;
  }
  body.phone-tab-layout #phoneEntryPanel .auto-rule-card,
  body.phone-tab-layout #phoneAdjustPanel .auto-rule-card,
  body.phone-tab-layout #phoneEntryPanel .logic-field,
  body.phone-tab-layout #phoneAdjustPanel .logic-field {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  /* Patch 4: make the editable Entry/Adjust condition values less visually full.
     The smaller value text leaves a clear tap target inside each input without
     changing the saved values, dimensions, or six-horizon layout. */
  html body#dpxRoot.phone-tab-layout #phoneEntryPanel .horizon-param-grid .text-input,
  html body#dpxRoot.phone-tab-layout #phoneAdjustPanel .horizon-param-grid .text-input {
    font-size: 12px !important;
    -webkit-text-size-adjust: none !important;
    text-size-adjust: none !important;
    padding-left: 4px !important;
    padding-right: 9px !important;
  }

  /* Smaller generated-logic text + deliberate lower padding creates a clear blank
     click target when an administrator switches the field to Edit Logic. */
  html body#dpxRoot.phone-tab-layout #phoneEntryPanel .condition-input,
  html body#dpxRoot.phone-tab-layout #phoneAdjustPanel .condition-input {
    box-sizing: border-box !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    padding: 7px 7px 28px !important;
    font-size: 11px !important;
    -webkit-text-size-adjust: none !important;
    text-size-adjust: none !important;
    line-height: 1.14 !important;
    overflow-y: auto !important;
    white-space: pre-wrap !important;
    cursor: text !important;
    touch-action: pan-y !important;
  }

  /* Patch 5: administrator Reason header and every value/log begin at left. */
  html body.phone-tab-layout.user-admin.dpx-phone-ledger-admin #ledgerTable .ledger-col-closeReason,
  html body.phone-tab-layout.user-admin.dpx-phone-ledger-admin #ledgerTable .reason-cell,
  html body.phone-tab-layout.user-admin.dpx-phone-ledger-admin #ledgerTable .reason-cell .dpx-ledger-reason-text,
  html body.phone-tab-layout.user-admin.dpx-phone-ledger-admin #ledgerTable .reason-cell .dpx-ledger-settle,
  html body.phone-tab-layout.user-admin.dpx-phone-ledger-admin #ledgerTable .reason-cell .broker-pending {
    text-align: left !important;
    justify-content: flex-start !important;
    justify-items: start !important;
    margin-left: 0 !important;
    padding-left: 3px !important;
    text-indent: 0 !important;
  }
  html body.phone-tab-layout.user-admin.dpx-phone-ledger-admin #ledgerTable .dpx-ledger-reason-text {
    display: block !important;
    width: 100% !important;
  }

  /* Patch 6: shift the normal-user Reason boundary visibly left while retaining
     enough width for signed two-decimal P&L values. Reason keeps its own fixed
     width, so the change cannot overlap the preceding column. */
  html body.phone-tab-layout.user-normal.non-admin-ledger.dpx-phone-ledger-user #ledgerTable .ledger-col-pnl,
  html body.phone-tab-layout.user-normal.non-admin-ledger.dpx-phone-ledger-user #ledgerTable td.ledger-col-pnl {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
  html body.phone-tab-layout.user-normal.non-admin-ledger.dpx-phone-ledger-user #ledgerTable .ledger-col-closeReason,
  html body.phone-tab-layout.user-normal.non-admin-ledger.dpx-phone-ledger-user #ledgerTable .reason-cell {
    width: 196px !important;
    min-width: 196px !important;
    max-width: 196px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  .signal-flip-control { margin-top: 8px; padding: 8px; }
  .signal-flip-control-title { font-size: 10px; }
  .signal-flip-control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .signal-flip-control-grid > label { font-size: 9px; }
  .signal-flip-control-grid > label > .text-input,
  .signal-flip-control-grid > label > .select-input {
    min-height: 31px !important;
    height: 31px !important;
    padding: 3px 5px !important;
    font-size: 10px !important;
  }
  .signal-flip-control-grid > label.checkbox-field { min-height: 31px; }
  .flip-diagnostic-log {
    min-height: 78px !important;
    max-height: 150px !important;
    font-size: 8.5px !important;
  }
}

/* Phone landscape follows DPX's deliberate desktop layout; keep the new block
   compact so all controls remain reachable without changing that behavior. */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 1100px) {
  .signal-flip-control-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .signal-flip-control { padding: 7px; }
  .flip-diagnostic-log { max-height: 100px !important; }
}

/* ========================================================================== 
   DPX v0.6.8 — patch-to-v0.6.8-10 final Historical Orders corrections.
   These overrides are intentionally last and affect only the three approved
   ledger layout items in patch list -10.
   ========================================================================== */

/* Patches 1 + 2 — PC administrator Historical Orders. */
@media (min-width: 901px) and (min-height: 601px) {
  /* Patch 1: approximately four times the last v0.6.8 Reason allocation
     (270px -> 1080px). All logs begin at the left. */
  html body.desktop-tab-layout.user-admin #ledgerTable .ledger-col-closeReason,
  html body.desktop-tab-layout.user-admin #ledgerTable .reason-cell,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-closeReason,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .reason-cell {
    width: 1080px !important;
    min-width: 1080px !important;
    max-width: 1080px !important;
    text-align: left !important;
    justify-content: flex-start !important;
    justify-items: start !important;
  }
  html body.desktop-tab-layout.user-admin #ledgerTable th.ledger-col-closeReason,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable th.ledger-col-closeReason {
    text-align: left !important;
  }
  html body.desktop-tab-layout.user-admin #ledgerTable .dpx-ledger-reason-text,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .dpx-ledger-reason-text {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    max-height: none !important;
    text-overflow: clip !important;
  }
  /* Ordinary reason logs remain one line. */
  html body.desktop-tab-layout.user-admin #ledgerTable .dpx-ledger-reason-single,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .dpx-ledger-reason-single {
    white-space: nowrap !important;
    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  /* Only flip logs may wrap; the wider column is sized so the longest normal
     flip message remains within two visible lines without clamping/cutting. */
  html body.desktop-tab-layout.user-admin #ledgerTable .dpx-ledger-reason-flip,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .dpx-ledger-reason-flip {
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.18 !important;
  }

  /* Patch 2: give the two Orig/Adj price stacks and timestamp stack enough
     horizontal room for the complete values instead of hiding their tails. */
  html body.desktop-tab-layout.user-admin #ledgerTable .ledger-col-origAdjSl,
  html body.desktop-tab-layout.user-admin #ledgerTable .orig-adj-sl-cell,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-origAdjSl,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .orig-adj-sl-cell {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }
  html body.desktop-tab-layout.user-admin #ledgerTable .ledger-col-origAdjTarget,
  html body.desktop-tab-layout.user-admin #ledgerTable .orig-adj-target-cell,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-origAdjTarget,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .orig-adj-target-cell {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }
  html body.desktop-tab-layout.user-admin #ledgerTable .ledger-col-createdSettled,
  html body.desktop-tab-layout.user-admin #ledgerTable .created-settled-cell,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-createdSettled,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .created-settled-cell {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
  }
  html body.desktop-tab-layout.user-admin #ledgerTable .orig-adj-sl-cell .ledger-stack-line em,
  html body.desktop-tab-layout.user-admin #ledgerTable .orig-adj-target-cell .ledger-stack-line em,
  html body.desktop-tab-layout.user-admin #ledgerTable .created-settled-cell .ledger-stack-line em,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .orig-adj-sl-cell .ledger-stack-line em,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .orig-adj-target-cell .ledger-stack-line em,
  html body.desktop-tab-layout.admin-unlocked #ledgerTable .created-settled-cell .ledger-stack-line em {
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

/* Patch 3 — normal user on a rotated phone. Rotated phones intentionally use
   the PC column set, so widen Created/Settled there rather than phoneMadeDone. */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 1100px) {
  html body#dpxRoot.desktop-tab-layout.user-normal.non-admin-ledger #ledgerTableWrap table#ledgerTable .ledger-col-createdSettled,
  html body#dpxRoot.desktop-tab-layout.user-normal.non-admin-ledger #ledgerTableWrap table#ledgerTable .created-settled-cell {
    width: 19% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

/* ========================================================================== 
   DPX v0.6.8 — PC administrator Historical Orders minimum column spacing.
   Requested from the 2026-08-08 PC-admin screenshot only. Keep every existing
   column width/content rule intact; add a small real table gutter so adjacent
   values cannot visually touch or paint into the next column.
   ========================================================================== */
@media (min-width: 901px) and (min-height: 601px) {
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable {
    border-collapse: separate !important;
    border-spacing: 10px 0 !important;
  }

  /* Keep the last v0.6.8 PC-admin price/timestamp allocations authoritative.
     The #dpxRoot specificity prevents older compact-layout rules from shrinking
     these three cells back until their visible values touch the next column. */
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .ledger-col-origAdjSl,
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .orig-adj-sl-cell,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-origAdjSl,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .orig-adj-sl-cell {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .ledger-col-origAdjTarget,
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .orig-adj-target-cell,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-origAdjTarget,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .orig-adj-target-cell {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .ledger-col-createdSettled,
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .created-settled-cell,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-createdSettled,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .created-settled-cell {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
  }
}


/* ========================================================================== 
   DPX v0.6.8 — PC administrator Historical Orders compact minimum spacing.
   2026-08-08 correction: remove the excessive blank area introduced by the
   previous protective widths, keep complete values visible, and let columns
   shift left when the administrator hides %/Diff price details.
   PC administrator desktop only.
   ========================================================================== */
@media (min-width: 901px) and (min-height: 601px) {
  /* Four pixels is the deliberate visual gutter. Cell padding still provides
     internal breathing room, so adjacent values do not touch or overlap. */
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable {
    border-collapse: separate !important;
    border-spacing: 4px 0 !important;
  }

  /* Details shown: fit the complete longest expected Orig/Adj strings while
     removing the large unused areas visible in the PC-admin screenshot. */
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .ledger-col-origAdjSl,
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .orig-adj-sl-cell,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-origAdjSl,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .orig-adj-sl-cell {
    width: 224px !important;
    min-width: 224px !important;
    max-width: 224px !important;
  }
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .ledger-col-origAdjTarget,
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .orig-adj-target-cell,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-origAdjTarget,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .orig-adj-target-cell {
    width: 238px !important;
    min-width: 238px !important;
    max-width: 238px !important;
  }
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .ledger-col-createdSettled,
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .created-settled-cell,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .ledger-col-createdSettled,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .created-settled-cell {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
  }

  /* Use natural max-content tracks inside these stacks so the value cannot
     overlap the blue label; the fixed cell widths above were sized for both. */
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .orig-adj-sl-cell .ledger-stack-line,
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .orig-adj-target-cell .ledger-stack-line,
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable .created-settled-cell .ledger-stack-line,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .orig-adj-sl-cell .ledger-stack-line,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .orig-adj-target-cell .ledger-stack-line,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable .created-settled-cell .ledger-stack-line {
    grid-template-columns: max-content max-content !important;
    column-gap: 4px !important;
  }

  /* Hide %/Diff: the rendered values become price-only, so shrink only the two
     price columns. Because the table uses fixed per-column widths, every column
     after them moves left automatically while the same 4px gutter remains. */
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable.dpx-admin-price-details-hidden .ledger-col-origAdjSl,
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable.dpx-admin-price-details-hidden .orig-adj-sl-cell,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable.dpx-admin-price-details-hidden .ledger-col-origAdjSl,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable.dpx-admin-price-details-hidden .orig-adj-sl-cell {
    width: 152px !important;
    min-width: 152px !important;
    max-width: 152px !important;
  }
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable.dpx-admin-price-details-hidden .ledger-col-origAdjTarget,
  html body#dpxRoot.desktop-tab-layout.user-admin #ledgerTable.dpx-admin-price-details-hidden .orig-adj-target-cell,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable.dpx-admin-price-details-hidden .ledger-col-origAdjTarget,
  html body#dpxRoot.desktop-tab-layout.admin-unlocked #ledgerTable.dpx-admin-price-details-hidden .orig-adj-target-cell {
    width: 158px !important;
    min-width: 158px !important;
    max-width: 158px !important;
  }
}
