.stop-order-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  grid-column: 1 / -1;
  min-width: 0;
}
.stop-order-fields label,
.stop-order-fields input {
  min-width: 0;
  max-width: 100%;
}
.stop-order-fields > small {
  grid-column: 1 / -1;
  white-space: normal;
}
.desktop-record-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.desktop-record-leverage {
  display: table;
  margin-top: 4px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--line);
  color: inherit;
  font-size: 11px;
  line-height: 1.4;
}
.desktop-record-stops .position-stops {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: inherit;
}
.position-stop-values {
  display: grid;
  gap: 3px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

/* Override the shared chart SVG sizing for this inline edit icon. */
.desktop-record-stops .position-stops > svg {
  width: 12px;
  height: 12px;
  min-width: 12px;
  max-width: 12px;
  display: block;
}
